diff --git a/src/App.vue b/src/App.vue index 6cb911a..e91c530 100644 --- a/src/App.vue +++ b/src/App.vue @@ -4,7 +4,7 @@ - + diff --git a/src/components/vue-xq-test/vue-signal-gaudy.vue b/src/components/vue-xq-test/vue-signal-gaudy.vue index 83760b8..ef365bb 100644 --- a/src/components/vue-xq-test/vue-signal-gaudy.vue +++ b/src/components/vue-xq-test/vue-signal-gaudy.vue @@ -82,7 +82,7 @@ {{ modeName }} --> - + diff --git a/src/components/vue-xq-test/vue-synthesize-table.vue b/src/components/vue-xq-test/vue-synthesize-table.vue index 8ce2072..e7d0395 100644 --- a/src/components/vue-xq-test/vue-synthesize-table.vue +++ b/src/components/vue-xq-test/vue-synthesize-table.vue @@ -486,38 +486,6 @@ const objectSpanMethods = ({ row, columnIndex }: SpanMethodProps) => { }; }; -const objectSpanMethod = ({ row, columnIndex }: SpanMethodProps) => { - if (columnIndex === 0) { - // 查找当前行对应的楼层数据 - const floor = floorData.find((f) => f.floorName === row.floorName); - - if (floor) { - // 找到该楼层下第一个设备的索引 - const firstEquipmentIndex = floor.equipments.findIndex((e) => e.id === row.id); - - if (firstEquipmentIndex === 0) { - // 如果是第一个设备,合并该楼层的所有行 - return { - rowspan: floor.equipments.length, - colspan: 1 - }; - } else { - // 如果不是第一个设备,不显示(被合并) - return { - rowspan: 0, - colspan: 0 - }; - } - } - } - - // 其他列不合并 - return { - rowspan: 1, - colspan: 1 - }; -}; - // 将嵌套数据展开为表格数据 const tableData = computed(() => { return floorData.flatMap((floor) => diff --git a/src/layout/view_index.vue b/src/layout/view_index.vue index cbef7d2..e858181 100644 --- a/src/layout/view_index.vue +++ b/src/layout/view_index.vue @@ -2,10 +2,9 @@
- - + + + @@ -86,7 +85,7 @@ let initArr: any[] = [ { id: 'testOverview', label: '智能锁控' }, { id: 'testOverview', label: '智能联动' } ]; - +// TODO 需要修改保存到pinia中 const isCollapse = ref(false); const asideWidth = ref('14%'); diff --git a/webVue/assets/floor-9dacccdc.css b/webVue/assets/floor-9dacccdc.css deleted file mode 100644 index 6af0049..0000000 --- a/webVue/assets/floor-9dacccdc.css +++ /dev/null @@ -1 +0,0 @@ -.vertical-radio-group[data-v-67a3c190]{display:flex;flex-direction:column;gap:5px;align-items:flex-start} diff --git a/webVue/assets/floor-e48b0d0d.js b/webVue/assets/floor-e48b0d0d.js deleted file mode 100644 index 5ce88c3..0000000 --- a/webVue/assets/floor-e48b0d0d.js +++ /dev/null @@ -1 +0,0 @@ -import{d as q,aP as N,r as C,x as y,$ as R,Z as S,a as b,g as m,h as p,w as _,av as M,F as k,aw as F,O as r,I as d,as as v,o as J,b as L,q as x,t as D,A as T,X as U,i as $,Y as A,_ as O}from"./index-9847718b.js";import{u as E}from"./index-fd059ba6.js";import{M as G}from"./index-868f5209.js";const X={class:"drawer-footer"},Y=q({name:"PreviewIndex",__name:"floor",setup(Z){const g=N();console.log("参数:",g.query.screen);let u=C(!1),V=y([]),a=C("-1");U();const w=C(),h=(s,e)=>{console.log(s,e),s=="test-dialog"&&d.success(`获取到了id:${e}`)};function I(s){const e={};for(const o in s)s[o]&&typeof s[o]=="object"&&"val"in s[o]&&(e[o]=s[o].val);return e}function P(){var l;let s=r.canvasCfg,e=r.gridCfg,o=A(r.done_json);r.done_json.forEach(c=>{const n=I(c.props);o.forEach(i=>{i.id===c.id&&(i.props=n)})});let t={canvasCfg:s,gridCfg:e,json:o};console.log("endJson:",t),(l=w.value)==null||l.setImportJson(t)}async function j(){var e;let s={menuType:g.query.screen};try{const o=await F.model_getModelData_post(s);if(o.code==200){const t=o.data,{canvasCfg:l,gridCfg:c,importDoneJson:n}=E(t),i=n.map(f=>f.props?{...f,props:y(f.props||{})}:{...f,props:y(f.props||{})});console.log("processedImportDoneJson:",i),(e=w.value)==null||e.setNewImportJson({canvasCfg:l,gridCfg:c,json:i}),r.group_ids.has(g.query.screen)&&r.group_ids.delete(g.query.screen),d.success("数据模型加载成功")}else d.error(`数据模型加载失败: ${o.code} - ${o.message}`)}catch(o){console.error("请求错误:",o),d.error("网络请求失败")}}R(()=>{console.log("view卸载完毕")}),S(()=>{console.log("view挂载完毕"),j()});function B(){console.log("选中:",a.value,a),(!a.value||a.value=="-1")&&d.warning("请先选择一个模型文件"),V.forEach(s=>{s.id==a.value&&fetch(`/dataModes/${s.name}`).then(e=>e.json()).then(e=>{console.log("文件内容:",e);const{canvasCfg:o,gridCfg:t,importDoneJson:l}=E(e);r.canvasCfg=o,r.gridCfg=t,r.setGlobalStoreDoneJson(l),P()}).catch(e=>{d.error("获取文件错误:",e)})})}return(s,e)=>{const o=v("el-radio"),t=v("el-radio-group"),l=v("el-button"),c=v("el-drawer");return J(),b(k,null,[m(p(G),{ref_key:"MtPreviewRef",ref:w,onOnEventCallBack:h},null,512),m(c,{modelValue:p(u),"onUpdate:modelValue":e[1]||(e[1]=n=>M(u)?u.value=n:u=n),modal:!1,title:"数据模型文件","modal-penetrable":""},{footer:_(()=>[L("div",X,[m(l,{onClick:B},{default:_(()=>[...e[2]||(e[2]=[x("加载模型11",-1)])]),_:1})])]),default:_(()=>[m(t,{class:"vertical-radio-group",modelValue:p(a),"onUpdate:modelValue":e[0]||(e[0]=n=>M(a)?a.value=n:a=n)},{default:_(()=>[x(D(p(u))+" ",1),(J(!0),b(k,null,T(p(V),n=>(J(),$(o,{key:n.id,label:n.id},{default:_(()=>[x(D(n.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])],64)}}});const Q=O(Y,[["__scopeId","data-v-67a3c190"]]);export{Q as default}; diff --git a/webVue/assets/globalMessage-6b7e4986.css b/webVue/assets/globalMessage-6b7e4986.css deleted file mode 100644 index 07fd79f..0000000 --- a/webVue/assets/globalMessage-6b7e4986.css +++ /dev/null @@ -1 +0,0 @@ -.vertical-radio-group[data-v-bdccb96b]{display:flex;flex-direction:column;gap:5px;align-items:flex-start} diff --git a/webVue/assets/globalMessage-c4d3facd.js b/webVue/assets/globalMessage-c4d3facd.js deleted file mode 100644 index c36b5cf..0000000 --- a/webVue/assets/globalMessage-c4d3facd.js +++ /dev/null @@ -1 +0,0 @@ -import{d as m,aP as v,r as M,$ as b,Z as y,aw as w,x as p,O as c,I as a,i as J,h as x,o as k,_ as q}from"./index-9847718b.js";import{u as C}from"./index-fd059ba6.js";import{M as D}from"./index-868f5209.js";const I=m({name:"globalMessage",__name:"globalMessage",setup(h){const r=v();console.log("参数11:",r.query.screen);const l=M(),u=(n,o)=>{console.log(n,o),n=="test-dialog"&&a.success(`获取到了id:${o}`)};b(()=>{console.log("view卸载完毕")}),y(()=>{d()});async function d(){var o;let n={menuType:r.query.screen};try{const s=await w.model_getModelData_post(n);if(s.code==200){const _=await s.data,{canvasCfg:g,gridCfg:i,importDoneJson:f}=C(_),t=f.map(e=>e.props?{...e,props:p(e.props||{})}:{...e,props:p(e.props||{})});console.log("processedImportDoneJson:",t),(o=l.value)==null||o.setNewImportJson({canvasCfg:g,gridCfg:i,json:t}),c.group_ids.has(r.query.screen)&&c.group_ids.delete(r.query.screen),c.group_ids.set(r.query.screen,t.map(e=>e.id)),a.success("数据模型加载成功")}else a.error(`数据模型加载失败: ${s.code} - ${s.message}`)}catch(s){console.error("请求错误:",s),a.error("网络请求失败")}}return(n,o)=>(k(),J(x(D),{ref_key:"MtPreviewRef",ref:l,onOnEventCallBack:u},null,512))}});const $=q(I,[["__scopeId","data-v-bdccb96b"]]);export{$ as default}; diff --git a/webVue/assets/homeExceptionFacility-39dc115d.js b/webVue/assets/homeExceptionFacility-39dc115d.js deleted file mode 100644 index f7f34c0..0000000 --- a/webVue/assets/homeExceptionFacility-39dc115d.js +++ /dev/null @@ -1 +0,0 @@ -import{d as g,aP as v,r as y,$ as w,Z as x,aw as M,x as l,O as c,I as a,i as h,h as E,o as J,_ as k}from"./index-9847718b.js";import{u as C}from"./index-fd059ba6.js";import{M as D}from"./index-868f5209.js";const I=g({__name:"homeExceptionFacility",setup(q){const n=v(),p=y(),d=(r,o)=>{console.log(r,o),r=="test-dialog"&&a.success(`获取到了id:${o}`)};w(()=>{console.log("view卸载完毕")}),x(()=>{i()});async function i(){var o;let r={menuType:n.query.screen};try{const s=await M.model_getModelData_post(r);if(s.code==200){const u=await s.data,{canvasCfg:_,gridCfg:f,importDoneJson:m}=C(u),t=m.map(e=>e.props?{...e,props:l(e.props||{})}:{...e,props:l(e.props||{})});console.log("processedImportDoneJson:",t),(o=p.value)==null||o.setNewImportJson({canvasCfg:_,gridCfg:f,json:t}),c.group_ids.has(n.query.screen)&&c.group_ids.delete(n.query.screen),c.group_ids.set(n.query.screen,t.map(e=>e.id)),a.success("数据模型加载成功")}else a.error(`数据模型加载失败: ${s.code} - ${s.message}`)}catch(s){console.error("请求错误:",s),a.error("网络请求失败")}}return(r,o)=>(J(),h(E(D),{ref_key:"MtPreviewRef",ref:p,onOnEventCallBack:d},null,512))}});const b=k(I,[["__scopeId","data-v-d872abad"]]);export{b as default}; diff --git a/webVue/assets/homeExceptionFacility-5fec4994.css b/webVue/assets/homeExceptionFacility-5fec4994.css deleted file mode 100644 index c7c842f..0000000 --- a/webVue/assets/homeExceptionFacility-5fec4994.css +++ /dev/null @@ -1 +0,0 @@ -.vertical-radio-group[data-v-d872abad]{display:flex;flex-direction:column;gap:5px;align-items:flex-start} diff --git a/webVue/assets/homeOverrunMessage-0e75fc3b.js b/webVue/assets/homeOverrunMessage-0e75fc3b.js deleted file mode 100644 index 66e280d..0000000 --- a/webVue/assets/homeOverrunMessage-0e75fc3b.js +++ /dev/null @@ -1 +0,0 @@ -import{d as g,aP as v,r as M,$ as w,Z as y,aw as h,x as u,O as c,I as a,i as J,h as x,o as O,_ as k}from"./index-9847718b.js";import{u as C}from"./index-fd059ba6.js";import{M as D}from"./index-868f5209.js";const I=g({name:"homeOverrunMessage",__name:"homeOverrunMessage",setup(q){const n=v(),p=M(),l=(r,o)=>{console.log(r,o),r=="test-dialog"&&a.success(`获取到了id:${o}`)};w(()=>{console.log("view卸载完毕")}),y(()=>{d()});async function d(){var o;let r={menuType:n.query.screen};try{const s=await h.model_getModelData_post(r);if(s.code==200){const _=await s.data,{canvasCfg:f,gridCfg:i,importDoneJson:m}=C(_),t=m.map(e=>e.props?{...e,props:u(e.props||{})}:{...e,props:u(e.props||{})});console.log("processedImportDoneJson:",t),(o=p.value)==null||o.setNewImportJson({canvasCfg:f,gridCfg:i,json:t}),c.group_ids.has(n.query.screen)&&c.group_ids.delete(n.query.screen),c.group_ids.set(n.query.screen,t.map(e=>e.id)),a.success("数据模型加载成功")}else a.error(`数据模型加载失败: ${s.code} - ${s.message}`)}catch(s){console.error("请求错误:",s),a.error("网络请求失败")}}return(r,o)=>(O(),J(x(D),{ref_key:"MtPreviewRef",ref:p,onOnEventCallBack:l},null,512))}});const $=k(I,[["__scopeId","data-v-436f0bc5"]]);export{$ as default}; diff --git a/webVue/assets/homeOverrunMessage-ebd2f52c.css b/webVue/assets/homeOverrunMessage-ebd2f52c.css deleted file mode 100644 index de9639f..0000000 --- a/webVue/assets/homeOverrunMessage-ebd2f52c.css +++ /dev/null @@ -1 +0,0 @@ -.vertical-radio-group[data-v-436f0bc5]{display:flex;flex-direction:column;gap:5px;align-items:flex-start} diff --git a/webVue/assets/host-60fa1e0a.js b/webVue/assets/host-60fa1e0a.js deleted file mode 100644 index 3a022b6..0000000 --- a/webVue/assets/host-60fa1e0a.js +++ /dev/null @@ -1 +0,0 @@ -import{d as B,aP as N,r as C,x as y,$ as R,Z as S,a as b,g as m,h as _,w as g,av as h,F as M,aw as F,O as a,I as i,as as v,o as J,b as L,q as x,t as k,A as T,X as U,i as $,Y as A,_ as O}from"./index-9847718b.js";import{u as D}from"./index-fd059ba6.js";import{M as G}from"./index-868f5209.js";const X={class:"drawer-footer"},Y=B({name:"PreviewIndex",__name:"host",setup(Z){const f=N();console.log("参数:",f.query.screen);let p=C(!1),V=y([]),r=C("-1");U();const w=C(),E=(s,e)=>{console.log(s,e),s=="test-dialog"&&i.success(`获取到了id:${e}`)};function I(s){const e={};for(const o in s)s[o]&&typeof s[o]=="object"&&"val"in s[o]&&(e[o]=s[o].val);return e}function P(){var l;let s=a.canvasCfg,e=a.gridCfg,o=A(a.done_json);a.done_json.forEach(c=>{const n=I(c.props);o.forEach(u=>{u.id===c.id&&(u.props=n)})});let t={canvasCfg:s,gridCfg:e,json:o};console.log("endJson:",t),(l=w.value)==null||l.setImportJson(t)}async function j(){var e;let s={menuType:f.query.screen};try{const o=await F.model_getModelData_post(s);if(o.code==200){const t=o.data,{canvasCfg:l,gridCfg:c,importDoneJson:n}=D(t),u=n.map(d=>d.props?{...d,props:y(d.props||{})}:{...d,props:y(d.props||{})});console.log("processedImportDoneJson:",u),(e=w.value)==null||e.setNewImportJson({canvasCfg:l,gridCfg:c,json:u}),a.group_ids.has(f.query.screen)&&a.group_ids.delete(f.query.screen),a.group_ids.set(f.query.screen,u.map(d=>d.id)),i.success("数据模型加载成功")}else i.error(`数据模型加载失败: ${o.code} - ${o.message}`)}catch(o){console.error("请求错误:",o),i.error("网络请求失败")}}R(()=>{console.log("view卸载完毕")}),S(()=>{console.log("view挂载完毕"),j()});function q(){console.log("选中:",r.value,r),(!r.value||r.value=="-1")&&i.warning("请先选择一个模型文件"),V.forEach(s=>{s.id==r.value&&fetch(`/dataModes/${s.name}`).then(e=>e.json()).then(e=>{console.log("文件内容:",e);const{canvasCfg:o,gridCfg:t,importDoneJson:l}=D(e);a.canvasCfg=o,a.gridCfg=t,a.setGlobalStoreDoneJson(l),P()}).catch(e=>{i.error("获取文件错误:",e)})})}return(s,e)=>{const o=v("el-radio"),t=v("el-radio-group"),l=v("el-button"),c=v("el-drawer");return J(),b(M,null,[m(_(G),{ref_key:"MtPreviewRef",ref:w,onOnEventCallBack:E},null,512),m(c,{modelValue:_(p),"onUpdate:modelValue":e[1]||(e[1]=n=>h(p)?p.value=n:p=n),modal:!1,title:"数据模型文件","modal-penetrable":""},{footer:g(()=>[L("div",X,[m(l,{onClick:q},{default:g(()=>[...e[2]||(e[2]=[x("加载模型11",-1)])]),_:1})])]),default:g(()=>[m(t,{class:"vertical-radio-group",modelValue:_(r),"onUpdate:modelValue":e[0]||(e[0]=n=>h(r)?r.value=n:r=n)},{default:g(()=>[x(k(_(p))+" ",1),(J(!0),b(M,null,T(_(V),n=>(J(),$(o,{key:n.id,label:n.id},{default:g(()=>[x(k(n.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])],64)}}});const Q=O(Y,[["__scopeId","data-v-d0f0d48f"]]);export{Q as default}; diff --git a/webVue/assets/host-bce9ed75.css b/webVue/assets/host-bce9ed75.css deleted file mode 100644 index 65e67f8..0000000 --- a/webVue/assets/host-bce9ed75.css +++ /dev/null @@ -1 +0,0 @@ -.vertical-radio-group[data-v-d0f0d48f]{display:flex;flex-direction:column;gap:5px;align-items:flex-start} diff --git a/webVue/assets/index-00692901.js b/webVue/assets/index-00692901.js deleted file mode 100644 index 5d747f8..0000000 --- a/webVue/assets/index-00692901.js +++ /dev/null @@ -1 +0,0 @@ -import{d as D,r as p,x as N,$ as I,Z as O,a as M,q as u,t as v,h as i,b as j,g as f,w as c,av as C,F as y,O as s,Y as R,as as g,o as x,A as F,X as U,I as w,i as L,_ as T}from"./index-9847718b.js";import{u as $}from"./index-fd059ba6.js";import{M as q}from"./index-868f5209.js";const A={class:"drawer-footer"},G=D({name:"PreviewIndex",__name:"index",setup(X){let l=p(!1),m=N([]),a=p("-1"),E=U();function J(){fetch("/dataModes/index.json").then(o=>o.json()).then(o=>{m=Object.assign(o)}).catch(o=>{console.error("获取JSON文件错误:",o)})}const b=p(),B=(o,e)=>{console.log(o,e),o=="test-dialog"&&w.success(`获取到了id:${e}`)};function P(o){const e={};for(const n in o)o[n]&&typeof o[n]=="object"&&"val"in o[n]&&(e[n]=o[n].val);return e}function k(){var d;let o=s.canvasCfg,e=s.gridCfg,n=R(s.done_json);s.done_json.forEach(_=>{const t=P(_.props);n.forEach(V=>{V.id===_.id&&(V.props=t)})});let r={canvasCfg:o,gridCfg:e,json:n};console.log("endJson:",r),(d=b.value)==null||d.setImportJson(r)}I(()=>{console.log("view卸载完毕")}),O(()=>{console.log("view挂载完毕"),J(),k()});function S(){console.log("选中:",a.value,a),(!a.value||a.value=="-1")&&w.warning("请先选择一个模型文件"),m.forEach(o=>{o.id==a.value&&fetch(`/dataModes/${o.name}`).then(e=>e.json()).then(e=>{console.log("文件内容:",e);const{canvasCfg:n,gridCfg:r,importDoneJson:d}=$(e);s.canvasCfg=n,s.gridCfg=r,s.setGlobalStoreDoneJson(d),k()}).catch(e=>{w.error("获取文件错误:",e)})})}function h(){console.log("test3:",s)}return(o,e)=>{const n=g("el-button"),r=g("el-radio"),d=g("el-radio-group"),_=g("el-drawer");return x(),M(y,null,[u(v(i(E))+" ",1),j("button",{onClick:h},"查看pina数据"),f(n,{type:"primary",onClick:e[0]||(e[0]=t=>C(l)?l.value=!0:l=!0)},{default:c(()=>[...e[3]||(e[3]=[u(" 数据文件222 ",-1)])]),_:1}),f(i(q),{ref_key:"MtPreviewRef",ref:b,onOnEventCallBack:B},null,512),f(_,{modelValue:i(l),"onUpdate:modelValue":e[2]||(e[2]=t=>C(l)?l.value=t:l=t),modal:!1,title:"数据模型文件","modal-penetrable":""},{footer:c(()=>[j("div",A,[f(n,{onClick:S},{default:c(()=>[...e[4]||(e[4]=[u("加载模型11",-1)])]),_:1})])]),default:c(()=>[f(d,{class:"vertical-radio-group",modelValue:i(a),"onUpdate:modelValue":e[1]||(e[1]=t=>C(a)?a.value=t:a=t)},{default:c(()=>[u(v(i(l))+" ",1),(x(!0),M(y,null,F(i(m),t=>(x(),L(r,{key:t.id,label:t.id},{default:c(()=>[u(v(t.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])],64)}}});const H=T(G,[["__scopeId","data-v-d1648c7a"]]);export{H as default}; diff --git a/webVue/assets/index-05e1f753.css b/webVue/assets/index-05e1f753.css deleted file mode 100644 index 2e5f1d1..0000000 --- a/webVue/assets/index-05e1f753.css +++ /dev/null @@ -1 +0,0 @@ -.common-layout[data-v-635be2c1]{height:100vh;display:flex;align-items:center;justify-content:center}.layout-container[data-v-635be2c1]{width:100%;height:100vh;display:flex;flex-direction:column}.header-part[data-v-635be2c1]{height:18.75vh;background-color:#b3c0d1;display:flex;align-items:center;justify-content:center;font-size:36px;font-weight:700;color:#333}.main-part[data-v-635be2c1]{height:74.21875vh;background-color:#e9eef3;display:flex;align-items:center;justify-content:center;font-size:18px;color:#333}.footer-part[data-v-635be2c1]{height:7.03125vh;background-color:#d3dce6;padding:0!important;margin:0!important;color:#333;margin-top:0}.footer-part-col[data-v-635be2c1]{height:100%;background-color:#333;color:#606266;border:3px solid rgb(206,12,12);border-radius:4px;display:flex;align-items:center;justify-content:center;font-size:12px;font-weight:700} diff --git a/webVue/assets/index-22b0f6c3.css b/webVue/assets/index-22b0f6c3.css deleted file mode 100644 index 51acb9e..0000000 --- a/webVue/assets/index-22b0f6c3.css +++ /dev/null @@ -1 +0,0 @@ -.vertical-radio-group[data-v-d1648c7a]{display:flex;flex-direction:column;gap:5px;align-items:flex-start} diff --git a/webVue/assets/index-5f239c23.js b/webVue/assets/index-5f239c23.js deleted file mode 100644 index 9e68d53..0000000 --- a/webVue/assets/index-5f239c23.js +++ /dev/null @@ -1 +0,0 @@ -import{d as q,aP as N,r as C,x,$ as R,Z as S,a as b,g as m,h as p,w as _,av as M,F as k,aw as F,O as r,I as c,as as v,o as y,b as L,q as J,t as D,A as T,X as U,i as $,Y as A,_ as O}from"./index-9847718b.js";import{u as E}from"./index-fd059ba6.js";import{M as G}from"./index-868f5209.js";const X={class:"drawer-footer"},Y=q({name:"PreviewIndex",__name:"index",setup(Z){const g=N();console.log("参数:",g.query.screen);let i=C(!1),V=x([]),a=C("-1");U();const w=C(),h=(n,e)=>{console.log(n,e),n=="test-dialog"&&c.success(`获取到了id:${e}`)};function I(n){const e={};for(const o in n)n[o]&&typeof n[o]=="object"&&"val"in n[o]&&(e[o]=n[o].val);return e}function P(){var l;let n=r.canvasCfg,e=r.gridCfg,o=A(r.done_json);r.done_json.forEach(d=>{const s=I(d.props);o.forEach(u=>{u.id===d.id&&(u.props=s)})});let t={canvasCfg:n,gridCfg:e,json:o};console.log("endJson:",t),(l=w.value)==null||l.setImportJson(t)}async function j(){var e;let n={menuType:g.query.screen};try{const o=await F.model_getModelData_post(n);if(o.code==200){const t=await o.data,{canvasCfg:l,gridCfg:d,importDoneJson:s}=E(t),u=s.map(f=>f.props?{...f,props:x(f.props||{})}:{...f,props:x(f.props||{})});console.log("processedImportDoneJson:",u),(e=w.value)==null||e.setNewImportJson({canvasCfg:l,gridCfg:d,json:u}),r.group_ids.has(g.query.screen)&&r.group_ids.delete(g.query.screen),c.success("数据模型加载成功")}else c.error(`数据模型加载失败: ${o.code} - ${o.message}`)}catch(o){console.error("请求错误:",o),c.error("网络请求失败")}}R(()=>{console.log("view卸载完毕")}),S(()=>{console.log("view挂载完毕"),j()});function B(){console.log("选中:",a.value,a),(!a.value||a.value=="-1")&&c.warning("请先选择一个模型文件"),V.forEach(n=>{n.id==a.value&&fetch(`/dataModes/${n.name}`).then(e=>e.json()).then(e=>{console.log("文件内容:",e);const{canvasCfg:o,gridCfg:t,importDoneJson:l}=E(e);r.canvasCfg=o,r.gridCfg=t,r.setGlobalStoreDoneJson(l),P()}).catch(e=>{c.error("获取文件错误:",e)})})}return(n,e)=>{const o=v("el-radio"),t=v("el-radio-group"),l=v("el-button"),d=v("el-drawer");return y(),b(k,null,[m(p(G),{ref_key:"MtPreviewRef",ref:w,onOnEventCallBack:h},null,512),m(d,{modelValue:p(i),"onUpdate:modelValue":e[1]||(e[1]=s=>M(i)?i.value=s:i=s),modal:!1,title:"数据模型文件","modal-penetrable":""},{footer:_(()=>[L("div",X,[m(l,{onClick:B},{default:_(()=>[...e[2]||(e[2]=[J("加载模型11",-1)])]),_:1})])]),default:_(()=>[m(t,{class:"vertical-radio-group",modelValue:p(a),"onUpdate:modelValue":e[0]||(e[0]=s=>M(a)?a.value=s:a=s)},{default:_(()=>[J(D(p(i))+" ",1),(y(!0),b(k,null,T(p(V),s=>(y(),$(o,{key:s.id,label:s.id},{default:_(()=>[J(D(s.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])],64)}}});const Q=O(Y,[["__scopeId","data-v-28d8a977"]]);export{Q as default}; diff --git a/webVue/assets/index-6e6b3d7b.css b/webVue/assets/index-6e6b3d7b.css deleted file mode 100644 index 4a4ab09..0000000 --- a/webVue/assets/index-6e6b3d7b.css +++ /dev/null @@ -1 +0,0 @@ -.vertical-radio-group[data-v-91993da2]{display:flex;flex-direction:column;gap:5px;align-items:flex-start} diff --git a/webVue/assets/index-868f5209.js b/webVue/assets/index-868f5209.js deleted file mode 100644 index 2e211fd..0000000 --- a/webVue/assets/index-868f5209.js +++ /dev/null @@ -1 +0,0 @@ -import{d as J,Q as P,r as l,x as R,I as S,aY as j,aZ as V,Z as N,o as Z,a as T,g as i,w as Y,b as z,n as U,h as W,B as K,a_ as _,a$ as L,_ as Q}from"./index-9847718b.js";import{u as w,_ as q,a as F}from"./index-fd059ba6.js";const G={class:"mt-preview"},H=J({__name:"index",props:{exportJson:{},canZoom:{type:Boolean,default:!0},canDrag:{type:Boolean,default:!0},showPopover:{type:Boolean,default:!0}},emits:["onEventCallBack"],setup(h,{expose:C,emit:D}){P(e=>({bd32cc0c:`scale(${o.value.scale})`,v2fe7abe4:o.value.width+"px",v17da5d89:o.value.height+"px",v27bf1846:o.value.color,v87ebe69c:"url("+o.value.img+")"}));const r=h,I=D,f=l(),o=l({width:1920,height:1080,scale:1,color:"",img:"",guide:!0,adsorp:!0,adsorp_diff:3,transform_origin:{x:0,y:0},drag_offset:{x:0,y:0}}),c=l({enabled:!0,align:!0,size:10}),t=l([]),v=l(),g=l(),n=R({begin_left:0,begin_top:0,left:0,top:0}),M=({scrollLeft:e,scrollTop:a})=>{n.left=e,n.top=a},b=e=>{var a;r.canDrag&&((a=g.value)==null||a.onMouseDown(e))},x=()=>{n.begin_left=n.left,n.begin_top=n.top},B=(e,a)=>{var p,m;let s=n.begin_left-e,u=n.begin_top-a;(p=v.value)==null||p.setScrollLeft(s),(m=v.value)==null||m.setScrollTop(u)},y=()=>{},d=(e,a,s)=>_(e,a,s,t.value),A=e=>{e.forEach(a=>{_(a.id,a.key,a.val,t.value)})},E=(e,a,s)=>L(e,a,t.value),$=e=>{e.ctrlKey&&r.canZoom&&(e.preventDefault(),e.stopPropagation(),e.deltaY>0?o.value.scale=(o.value.scale*10-1)/10:e.deltaY<0&&(o.value.scale=(o.value.scale*10+1)/10))},k=(e,a,s)=>{setTimeout(()=>{d(e,a,s)},0)};return window.$mtElMessage=S,window.$mtElMessageBox=j,window.$setItemAttrByID=(e,a,s)=>k(e,a,s),window.$getItemAttrByID=E,window.$previewCompareVal=V,window.$mtEventCallBack=(e,a,...s)=>I("onEventCallBack",e,a,...s),N(()=>{if(r.exportJson){const{canvasCfg:e,gridCfg:a,importDoneJson:s}=w(r.exportJson);o.value=e,c.value=a,t.value=s,console.log("@@importDoneJson:",s)}}),C({setItemAttrByID:d,setImportJson:e=>{const{canvasCfg:a,gridCfg:s,importDoneJson:u}=w(e);return o.value=a,c.value=s,t.value=e.json,t.value=u,!0},setItemAttrs:A,setNewImportJson:e=>(o.value=e.canvasCfg,c.value=e.gridCfg,t.value=e.json,!0)}),(e,a)=>(Z(),T("div",G,[i(W(K),{ref_key:"elScrollbarRef",ref:v,class:"w-1/1 h-1/1","max-height":o.value.height,onScroll:M},{default:Y(()=>[z("div",{ref_key:"canvasAreaRef",ref:f,class:U(`canvasArea ${r.canDrag?"cursor-grab":""} `),onMousedown:b,onWheel:$},[i(q,{"done-json":t.value,"canvas-cfg":o.value,"grid-cfg":c.value,"show-ghost-dom":!1,"canvas-dom":f.value,"global-lock":!1,"preivew-mode":!0,"show-popover":r.showPopover},null,8,["done-json","canvas-cfg","grid-cfg","canvas-dom","show-popover"])],34),i(F,{ref_key:"dragCanvasRef",ref:g,"scale-ratio":o.value.scale,onDragCanvasMouseDown:x,onDragCanvasMouseMove:B,onDragCanvasMouseUp:y},null,8,["scale-ratio"])]),_:1},8,["max-height"])]))}}),oe=Q(H,[["__scopeId","data-v-464d64c1"]]);export{oe as M}; diff --git a/webVue/assets/index-9847718b.js b/webVue/assets/index-9847718b.js deleted file mode 100644 index eca0604..0000000 --- a/webVue/assets/index-9847718b.js +++ /dev/null @@ -1,5443 +0,0 @@ -(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const g of document.querySelectorAll('link[rel="modulepreload"]'))i(g);new MutationObserver(g=>{for(const $ of g)if($.type==="childList")for(const V of $.addedNodes)V.tagName==="LINK"&&V.rel==="modulepreload"&&i(V)}).observe(document,{childList:!0,subtree:!0});function r(g){const $={};return g.integrity&&($.integrity=g.integrity),g.referrerPolicy&&($.referrerPolicy=g.referrerPolicy),g.crossOrigin==="use-credentials"?$.credentials="include":g.crossOrigin==="anonymous"?$.credentials="omit":$.credentials="same-origin",$}function i(g){if(g.ep)return;g.ep=!0;const $=r(g);fetch(g.href,$)}})();/** -* @vue/shared v3.5.26 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function makeMap(n){const t=Object.create(null);for(const r of n.split(","))t[r]=1;return r=>r in t}const EMPTY_OBJ$1={},EMPTY_ARR=[],NOOP=()=>{},NO=()=>!1,isOn=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&(n.charCodeAt(2)>122||n.charCodeAt(2)<97),isModelListener=n=>n.startsWith("onUpdate:"),extend$2=Object.assign,remove$1=(n,t)=>{const r=n.indexOf(t);r>-1&&n.splice(r,1)},hasOwnProperty$h=Object.prototype.hasOwnProperty,hasOwn$1=(n,t)=>hasOwnProperty$h.call(n,t),isArray$5=Array.isArray,isMap$2=n=>toTypeString(n)==="[object Map]",isSet$2=n=>toTypeString(n)==="[object Set]",isDate$1=n=>toTypeString(n)==="[object Date]",isFunction$4=n=>typeof n=="function",isString$2=n=>typeof n=="string",isSymbol$1=n=>typeof n=="symbol",isObject$6=n=>n!==null&&typeof n=="object",isPromise=n=>(isObject$6(n)||isFunction$4(n))&&isFunction$4(n.then)&&isFunction$4(n.catch),objectToString$1=Object.prototype.toString,toTypeString=n=>objectToString$1.call(n),toRawType=n=>toTypeString(n).slice(8,-1),isPlainObject$3=n=>toTypeString(n)==="[object Object]",isIntegerKey=n=>isString$2(n)&&n!=="NaN"&&n[0]!=="-"&&""+parseInt(n,10)===n,isReservedProp=makeMap(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cacheStringFunction=n=>{const t=Object.create(null);return r=>t[r]||(t[r]=n(r))},camelizeRE=/-\w/g,camelize=cacheStringFunction(n=>n.replace(camelizeRE,t=>t.slice(1).toUpperCase())),hyphenateRE=/\B([A-Z])/g,hyphenate=cacheStringFunction(n=>n.replace(hyphenateRE,"-$1").toLowerCase()),capitalize$1=cacheStringFunction(n=>n.charAt(0).toUpperCase()+n.slice(1)),toHandlerKey=cacheStringFunction(n=>n?`on${capitalize$1(n)}`:""),hasChanged=(n,t)=>!Object.is(n,t),invokeArrayFns=(n,...t)=>{for(let r=0;r{Object.defineProperty(n,t,{configurable:!0,enumerable:!1,writable:i,value:r})},looseToNumber$1=n=>{const t=parseFloat(n);return isNaN(t)?n:t},toNumber$1=n=>{const t=isString$2(n)?Number(n):NaN;return isNaN(t)?n:t};let _globalThis;const getGlobalThis=()=>_globalThis||(_globalThis=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function normalizeStyle$1(n){if(isArray$5(n)){const t={};for(let r=0;r{if(r){const i=r.split(propertyDelimiterRE);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function stringifyStyle(n){if(!n)return"";if(isString$2(n))return n;let t="";for(const r in n){const i=n[r];if(isString$2(i)||typeof i=="number"){const g=r.startsWith("--")?r:hyphenate(r);t+=`${g}:${i};`}}return t}function normalizeClass(n){let t="";if(isString$2(n))t=n;else if(isArray$5(n))for(let r=0;r/="'\u0009\u000a\u000c\u0020]/,attrValidationCache={};function isSSRSafeAttrName(n){if(attrValidationCache.hasOwnProperty(n))return attrValidationCache[n];const t=unsafeAttrCharRE.test(n);return t&&console.error(`unsafe attribute name: ${n}`),attrValidationCache[n]=!t}const propsToAttrMap={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"};function isRenderableAttrValue(n){if(n==null)return!1;const t=typeof n;return t==="string"||t==="number"||t==="boolean"}const escapeRE=/["'&<>]/;function escapeHtml(n){const t=""+n,r=escapeRE.exec(t);if(!r)return t;let i="",g,$,V=0;for($=r.index;$||--!>|looseEqual(r,t))}const isRef$1=n=>!!(n&&n.__v_isRef===!0),toDisplayString=n=>isString$2(n)?n:n==null?"":isArray$5(n)||isObject$6(n)&&(n.toString===objectToString$1||!isFunction$4(n.toString))?isRef$1(n)?toDisplayString(n.value):JSON.stringify(n,replacer,2):String(n),replacer=(n,t)=>isRef$1(t)?replacer(n,t.value):isMap$2(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[i,g],$)=>(r[stringifySymbol(i,$)+" =>"]=g,r),{})}:isSet$2(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>stringifySymbol(r))}:isSymbol$1(t)?stringifySymbol(t):isObject$6(t)&&!isArray$5(t)&&!isPlainObject$3(t)?String(t):t,stringifySymbol=(n,t="")=>{var r;return isSymbol$1(n)?`Symbol(${(r=n.description)!=null?r:t})`:n};function normalizeCssVarValue(n){return n==null?"initial":typeof n=="string"?n===""?" ":n:String(n)}/** -* @vue/reactivity v3.5.26 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let activeEffectScope;class EffectScope{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=activeEffectScope,!t&&activeEffectScope&&(this.index=(activeEffectScope.scopes||(activeEffectScope.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t0&&--this._on===0&&(activeEffectScope=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,i;for(r=0,i=this.effects.length;r0)return;if(batchedComputed){let t=batchedComputed;for(batchedComputed=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let n;for(;batchedSub;){let t=batchedSub;for(batchedSub=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(i){n||(n=i)}t=r}}if(n)throw n}function prepareDeps(n){for(let t=n.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function cleanupDeps(n){let t,r=n.depsTail,i=r;for(;i;){const g=i.prevDep;i.version===-1?(i===r&&(r=g),removeSub(i),removeDep(i)):t=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=g}n.deps=t,n.depsTail=r}function isDirty(n){for(let t=n.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(refreshComputed(t.dep.computed)||t.dep.version!==t.version))return!0;return!!n._dirty}function refreshComputed(n){if(n.flags&4&&!(n.flags&16)||(n.flags&=-17,n.globalVersion===globalVersion)||(n.globalVersion=globalVersion,!n.isSSR&&n.flags&128&&(!n.deps&&!n._dirty||!isDirty(n))))return;n.flags|=2;const t=n.dep,r=activeSub,i=shouldTrack;activeSub=n,shouldTrack=!0;try{prepareDeps(n);const g=n.fn(n._value);(t.version===0||hasChanged(g,n._value))&&(n.flags|=128,n._value=g,t.version++)}catch(g){throw t.version++,g}finally{activeSub=r,shouldTrack=i,cleanupDeps(n),n.flags&=-3}}function removeSub(n,t=!1){const{dep:r,prevSub:i,nextSub:g}=n;if(i&&(i.nextSub=g,n.prevSub=void 0),g&&(g.prevSub=i,n.nextSub=void 0),r.subs===n&&(r.subs=i,!i&&r.computed)){r.computed.flags&=-5;for(let $=r.computed.deps;$;$=$.nextDep)removeSub($,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function removeDep(n){const{prevDep:t,nextDep:r}=n;t&&(t.nextDep=r,n.prevDep=void 0),r&&(r.prevDep=t,n.nextDep=void 0)}let shouldTrack=!0;const trackStack=[];function pauseTracking(){trackStack.push(shouldTrack),shouldTrack=!1}function resetTracking(){const n=trackStack.pop();shouldTrack=n===void 0?!0:n}function cleanupEffect(n){const{cleanup:t}=n;if(n.cleanup=void 0,t){const r=activeSub;activeSub=void 0;try{t()}finally{activeSub=r}}}let globalVersion=0,Link$1=class{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}};class Dep{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(!activeSub||!shouldTrack||activeSub===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==activeSub)r=this.activeLink=new Link$1(activeSub,this),activeSub.deps?(r.prevDep=activeSub.depsTail,activeSub.depsTail.nextDep=r,activeSub.depsTail=r):activeSub.deps=activeSub.depsTail=r,addSub(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const i=r.nextDep;i.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=i),r.prevDep=activeSub.depsTail,r.nextDep=void 0,activeSub.depsTail.nextDep=r,activeSub.depsTail=r,activeSub.deps===r&&(activeSub.deps=i)}return r}trigger(t){this.version++,globalVersion++,this.notify(t)}notify(t){startBatch();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{endBatch()}}}function addSub(n){if(n.dep.sc++,n.sub.flags&4){const t=n.dep.computed;if(t&&!n.dep.subs){t.flags|=20;for(let i=t.deps;i;i=i.nextDep)addSub(i)}const r=n.dep.subs;r!==n&&(n.prevSub=r,r&&(r.nextSub=n)),n.dep.subs=n}}const targetMap=new WeakMap,ITERATE_KEY=Symbol(""),MAP_KEY_ITERATE_KEY=Symbol(""),ARRAY_ITERATE_KEY=Symbol("");function track(n,t,r){if(shouldTrack&&activeSub){let i=targetMap.get(n);i||targetMap.set(n,i=new Map);let g=i.get(r);g||(i.set(r,g=new Dep),g.map=i,g.key=r),g.track()}}function trigger(n,t,r,i,g,$){const V=targetMap.get(n);if(!V){globalVersion++;return}const re=ie=>{ie&&ie.trigger()};if(startBatch(),t==="clear")V.forEach(re);else{const ie=isArray$5(n),ae=ie&&isIntegerKey(r);if(ie&&r==="length"){const oe=Number(i);V.forEach((le,ue)=>{(ue==="length"||ue===ARRAY_ITERATE_KEY||!isSymbol$1(ue)&&ue>=oe)&&re(le)})}else switch((r!==void 0||V.has(void 0))&&re(V.get(r)),ae&&re(V.get(ARRAY_ITERATE_KEY)),t){case"add":ie?ae&&re(V.get("length")):(re(V.get(ITERATE_KEY)),isMap$2(n)&&re(V.get(MAP_KEY_ITERATE_KEY)));break;case"delete":ie||(re(V.get(ITERATE_KEY)),isMap$2(n)&&re(V.get(MAP_KEY_ITERATE_KEY)));break;case"set":isMap$2(n)&&re(V.get(ITERATE_KEY));break}}endBatch()}function getDepFromReactive(n,t){const r=targetMap.get(n);return r&&r.get(t)}function reactiveReadArray(n){const t=toRaw(n);return t===n?t:(track(t,"iterate",ARRAY_ITERATE_KEY),isShallow(n)?t:t.map(toReactive$1))}function shallowReadArray(n){return track(n=toRaw(n),"iterate",ARRAY_ITERATE_KEY),n}function toWrapped(n,t){return isReadonly(n)?isReactive(n)?toReadonly(toReactive$1(t)):toReadonly(t):toReactive$1(t)}const arrayInstrumentations={__proto__:null,[Symbol.iterator](){return iterator$2(this,Symbol.iterator,n=>toWrapped(this,n))},concat(...n){return reactiveReadArray(this).concat(...n.map(t=>isArray$5(t)?reactiveReadArray(t):t))},entries(){return iterator$2(this,"entries",n=>(n[1]=toWrapped(this,n[1]),n))},every(n,t){return apply$1(this,"every",n,t,void 0,arguments)},filter(n,t){return apply$1(this,"filter",n,t,r=>r.map(i=>toWrapped(this,i)),arguments)},find(n,t){return apply$1(this,"find",n,t,r=>toWrapped(this,r),arguments)},findIndex(n,t){return apply$1(this,"findIndex",n,t,void 0,arguments)},findLast(n,t){return apply$1(this,"findLast",n,t,r=>toWrapped(this,r),arguments)},findLastIndex(n,t){return apply$1(this,"findLastIndex",n,t,void 0,arguments)},forEach(n,t){return apply$1(this,"forEach",n,t,void 0,arguments)},includes(...n){return searchProxy(this,"includes",n)},indexOf(...n){return searchProxy(this,"indexOf",n)},join(n){return reactiveReadArray(this).join(n)},lastIndexOf(...n){return searchProxy(this,"lastIndexOf",n)},map(n,t){return apply$1(this,"map",n,t,void 0,arguments)},pop(){return noTracking(this,"pop")},push(...n){return noTracking(this,"push",n)},reduce(n,...t){return reduce$1(this,"reduce",n,t)},reduceRight(n,...t){return reduce$1(this,"reduceRight",n,t)},shift(){return noTracking(this,"shift")},some(n,t){return apply$1(this,"some",n,t,void 0,arguments)},splice(...n){return noTracking(this,"splice",n)},toReversed(){return reactiveReadArray(this).toReversed()},toSorted(n){return reactiveReadArray(this).toSorted(n)},toSpliced(...n){return reactiveReadArray(this).toSpliced(...n)},unshift(...n){return noTracking(this,"unshift",n)},values(){return iterator$2(this,"values",n=>toWrapped(this,n))}};function iterator$2(n,t,r){const i=shallowReadArray(n),g=i[t]();return i!==n&&!isShallow(n)&&(g._next=g.next,g.next=()=>{const $=g._next();return $.done||($.value=r($.value)),$}),g}const arrayProto$2=Array.prototype;function apply$1(n,t,r,i,g,$){const V=shallowReadArray(n),re=V!==n&&!isShallow(n),ie=V[t];if(ie!==arrayProto$2[t]){const le=ie.apply(n,$);return re?toReactive$1(le):le}let ae=r;V!==n&&(re?ae=function(le,ue){return r.call(this,toWrapped(n,le),ue,n)}:r.length>2&&(ae=function(le,ue){return r.call(this,le,ue,n)}));const oe=ie.call(V,ae,i);return re&&g?g(oe):oe}function reduce$1(n,t,r,i){const g=shallowReadArray(n);let $=r;return g!==n&&(isShallow(n)?r.length>3&&($=function(V,re,ie){return r.call(this,V,re,ie,n)}):$=function(V,re,ie){return r.call(this,V,toWrapped(n,re),ie,n)}),g[t]($,...i)}function searchProxy(n,t,r){const i=toRaw(n);track(i,"iterate",ARRAY_ITERATE_KEY);const g=i[t](...r);return(g===-1||g===!1)&&isProxy(r[0])?(r[0]=toRaw(r[0]),i[t](...r)):g}function noTracking(n,t,r=[]){pauseTracking(),startBatch();const i=toRaw(n)[t].apply(n,r);return endBatch(),resetTracking(),i}const isNonTrackableKeys=makeMap("__proto__,__v_isRef,__isVue"),builtInSymbols=new Set(Object.getOwnPropertyNames(Symbol).filter(n=>n!=="arguments"&&n!=="caller").map(n=>Symbol[n]).filter(isSymbol$1));function hasOwnProperty$g(n){isSymbol$1(n)||(n=String(n));const t=toRaw(this);return track(t,"has",n),t.hasOwnProperty(n)}class BaseReactiveHandler{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,i){if(r==="__v_skip")return t.__v_skip;const g=this._isReadonly,$=this._isShallow;if(r==="__v_isReactive")return!g;if(r==="__v_isReadonly")return g;if(r==="__v_isShallow")return $;if(r==="__v_raw")return i===(g?$?shallowReadonlyMap:readonlyMap:$?shallowReactiveMap:reactiveMap).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const V=isArray$5(t);if(!g){let ie;if(V&&(ie=arrayInstrumentations[r]))return ie;if(r==="hasOwnProperty")return hasOwnProperty$g}const re=Reflect.get(t,r,isRef(t)?t:i);if((isSymbol$1(r)?builtInSymbols.has(r):isNonTrackableKeys(r))||(g||track(t,"get",r),$))return re;if(isRef(re)){const ie=V&&isIntegerKey(r)?re:re.value;return g&&isObject$6(ie)?readonly(ie):ie}return isObject$6(re)?g?readonly(re):reactive(re):re}}class MutableReactiveHandler extends BaseReactiveHandler{constructor(t=!1){super(!1,t)}set(t,r,i,g){let $=t[r];const V=isArray$5(t)&&isIntegerKey(r);if(!this._isShallow){const ae=isReadonly($);if(!isShallow(i)&&!isReadonly(i)&&($=toRaw($),i=toRaw(i)),!V&&isRef($)&&!isRef(i))return ae||($.value=i),!0}const re=V?Number(r)n,getProto=n=>Reflect.getPrototypeOf(n);function createIterableMethod(n,t,r){return function(...i){const g=this.__v_raw,$=toRaw(g),V=isMap$2($),re=n==="entries"||n===Symbol.iterator&&V,ie=n==="keys"&&V,ae=g[n](...i),oe=r?toShallow:t?toReadonly:toReactive$1;return!t&&track($,"iterate",ie?MAP_KEY_ITERATE_KEY:ITERATE_KEY),{next(){const{value:le,done:ue}=ae.next();return ue?{value:le,done:ue}:{value:re?[oe(le[0]),oe(le[1])]:oe(le),done:ue}},[Symbol.iterator](){return this}}}}function createReadonlyMethod(n){return function(...t){return n==="delete"?!1:n==="clear"?void 0:this}}function createInstrumentations(n,t){const r={get(g){const $=this.__v_raw,V=toRaw($),re=toRaw(g);n||(hasChanged(g,re)&&track(V,"get",g),track(V,"get",re));const{has:ie}=getProto(V),ae=t?toShallow:n?toReadonly:toReactive$1;if(ie.call(V,g))return ae($.get(g));if(ie.call(V,re))return ae($.get(re));$!==V&&$.get(g)},get size(){const g=this.__v_raw;return!n&&track(toRaw(g),"iterate",ITERATE_KEY),g.size},has(g){const $=this.__v_raw,V=toRaw($),re=toRaw(g);return n||(hasChanged(g,re)&&track(V,"has",g),track(V,"has",re)),g===re?$.has(g):$.has(g)||$.has(re)},forEach(g,$){const V=this,re=V.__v_raw,ie=toRaw(re),ae=t?toShallow:n?toReadonly:toReactive$1;return!n&&track(ie,"iterate",ITERATE_KEY),re.forEach((oe,le)=>g.call($,ae(oe),ae(le),V))}};return extend$2(r,n?{add:createReadonlyMethod("add"),set:createReadonlyMethod("set"),delete:createReadonlyMethod("delete"),clear:createReadonlyMethod("clear")}:{add(g){!t&&!isShallow(g)&&!isReadonly(g)&&(g=toRaw(g));const $=toRaw(this);return getProto($).has.call($,g)||($.add(g),trigger($,"add",g,g)),this},set(g,$){!t&&!isShallow($)&&!isReadonly($)&&($=toRaw($));const V=toRaw(this),{has:re,get:ie}=getProto(V);let ae=re.call(V,g);ae||(g=toRaw(g),ae=re.call(V,g));const oe=ie.call(V,g);return V.set(g,$),ae?hasChanged($,oe)&&trigger(V,"set",g,$):trigger(V,"add",g,$),this},delete(g){const $=toRaw(this),{has:V,get:re}=getProto($);let ie=V.call($,g);ie||(g=toRaw(g),ie=V.call($,g)),re&&re.call($,g);const ae=$.delete(g);return ie&&trigger($,"delete",g,void 0),ae},clear(){const g=toRaw(this),$=g.size!==0,V=g.clear();return $&&trigger(g,"clear",void 0,void 0),V}}),["keys","values","entries",Symbol.iterator].forEach(g=>{r[g]=createIterableMethod(g,n,t)}),r}function createInstrumentationGetter(n,t){const r=createInstrumentations(n,t);return(i,g,$)=>g==="__v_isReactive"?!n:g==="__v_isReadonly"?n:g==="__v_raw"?i:Reflect.get(hasOwn$1(r,g)&&g in i?r:i,g,$)}const mutableCollectionHandlers={get:createInstrumentationGetter(!1,!1)},shallowCollectionHandlers={get:createInstrumentationGetter(!1,!0)},readonlyCollectionHandlers={get:createInstrumentationGetter(!0,!1)},shallowReadonlyCollectionHandlers={get:createInstrumentationGetter(!0,!0)},reactiveMap=new WeakMap,shallowReactiveMap=new WeakMap,readonlyMap=new WeakMap,shallowReadonlyMap=new WeakMap;function targetTypeMap(n){switch(n){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function getTargetType(n){return n.__v_skip||!Object.isExtensible(n)?0:targetTypeMap(toRawType(n))}function reactive(n){return isReadonly(n)?n:createReactiveObject(n,!1,mutableHandlers,mutableCollectionHandlers,reactiveMap)}function shallowReactive(n){return createReactiveObject(n,!1,shallowReactiveHandlers,shallowCollectionHandlers,shallowReactiveMap)}function readonly(n){return createReactiveObject(n,!0,readonlyHandlers,readonlyCollectionHandlers,readonlyMap)}function shallowReadonly(n){return createReactiveObject(n,!0,shallowReadonlyHandlers,shallowReadonlyCollectionHandlers,shallowReadonlyMap)}function createReactiveObject(n,t,r,i,g){if(!isObject$6(n)||n.__v_raw&&!(t&&n.__v_isReactive))return n;const $=getTargetType(n);if($===0)return n;const V=g.get(n);if(V)return V;const re=new Proxy(n,$===2?i:r);return g.set(n,re),re}function isReactive(n){return isReadonly(n)?isReactive(n.__v_raw):!!(n&&n.__v_isReactive)}function isReadonly(n){return!!(n&&n.__v_isReadonly)}function isShallow(n){return!!(n&&n.__v_isShallow)}function isProxy(n){return n?!!n.__v_raw:!1}function toRaw(n){const t=n&&n.__v_raw;return t?toRaw(t):n}function markRaw(n){return!hasOwn$1(n,"__v_skip")&&Object.isExtensible(n)&&def(n,"__v_skip",!0),n}const toReactive$1=n=>isObject$6(n)?reactive(n):n,toReadonly=n=>isObject$6(n)?readonly(n):n;function isRef(n){return n?n.__v_isRef===!0:!1}function ref(n){return createRef(n,!1)}function shallowRef(n){return createRef(n,!0)}function createRef(n,t){return isRef(n)?n:new RefImpl(n,t)}class RefImpl{constructor(t,r){this.dep=new Dep,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:toRaw(t),this._value=r?t:toReactive$1(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,i=this.__v_isShallow||isShallow(t)||isReadonly(t);t=i?t:toRaw(t),hasChanged(t,r)&&(this._rawValue=t,this._value=i?t:toReactive$1(t),this.dep.trigger())}}function triggerRef(n){n.dep&&n.dep.trigger()}function unref(n){return isRef(n)?n.value:n}const shallowUnwrapHandlers={get:(n,t,r)=>t==="__v_raw"?n:unref(Reflect.get(n,t,r)),set:(n,t,r,i)=>{const g=n[t];return isRef(g)&&!isRef(r)?(g.value=r,!0):Reflect.set(n,t,r,i)}};function proxyRefs(n){return isReactive(n)?n:new Proxy(n,shallowUnwrapHandlers)}class CustomRefImpl{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Dep,{get:i,set:g}=t(r.track.bind(r),r.trigger.bind(r));this._get=i,this._set=g}get value(){return this._value=this._get()}set value(t){this._set(t)}}function customRef(n){return new CustomRefImpl(n)}function toRefs(n){const t=isArray$5(n)?new Array(n.length):{};for(const r in n)t[r]=propertyToRef(n,r);return t}class ObjectRefImpl{constructor(t,r,i){this._object=t,this._key=r,this._defaultValue=i,this.__v_isRef=!0,this._value=void 0,this._raw=toRaw(t);let g=!0,$=t;if(!isArray$5(t)||!isIntegerKey(String(r)))do g=!isProxy($)||isShallow($);while(g&&($=$.__v_raw));this._shallow=g}get value(){let t=this._object[this._key];return this._shallow&&(t=unref(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&isRef(this._raw[this._key])){const r=this._object[this._key];if(isRef(r)){r.value=t;return}}this._object[this._key]=t}get dep(){return getDepFromReactive(this._raw,this._key)}}class GetterRefImpl{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 toRef$1(n,t,r){return isRef(n)?n:isFunction$4(n)?new GetterRefImpl(n):isObject$6(n)&&arguments.length>1?propertyToRef(n,t,r):ref(n)}function propertyToRef(n,t,r){return new ObjectRefImpl(n,t,r)}class ComputedRefImpl{constructor(t,r,i){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Dep(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=globalVersion-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=i}notify(){if(this.flags|=16,!(this.flags&8)&&activeSub!==this)return batch(this,!0),!0}get value(){const t=this.dep.track();return refreshComputed(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function computed$1(n,t,r=!1){let i,g;return isFunction$4(n)?i=n:(i=n.get,g=n.set),new ComputedRefImpl(i,g,r)}const INITIAL_WATCHER_VALUE={},cleanupMap=new WeakMap;let activeWatcher;function onWatcherCleanup(n,t=!1,r=activeWatcher){if(r){let i=cleanupMap.get(r);i||cleanupMap.set(r,i=[]),i.push(n)}}function watch$1(n,t,r=EMPTY_OBJ$1){const{immediate:i,deep:g,once:$,scheduler:V,augmentJob:re,call:ie}=r,ae=Ne=>g?Ne:isShallow(Ne)||g===!1||g===0?traverse(Ne,1):traverse(Ne);let oe,le,ue,de,he=!1,pe=!1;if(isRef(n)?(le=()=>n.value,he=isShallow(n)):isReactive(n)?(le=()=>ae(n),he=!0):isArray$5(n)?(pe=!0,he=n.some(Ne=>isReactive(Ne)||isShallow(Ne)),le=()=>n.map(Ne=>{if(isRef(Ne))return Ne.value;if(isReactive(Ne))return ae(Ne);if(isFunction$4(Ne))return ie?ie(Ne,2):Ne()})):isFunction$4(n)?t?le=ie?()=>ie(n,2):n:le=()=>{if(ue){pauseTracking();try{ue()}finally{resetTracking()}}const Ne=activeWatcher;activeWatcher=oe;try{return ie?ie(n,3,[de]):n(de)}finally{activeWatcher=Ne}}:le=NOOP,t&&g){const Ne=le,Oe=g===!0?1/0:g;le=()=>traverse(Ne(),Oe)}const _e=getCurrentScope(),Ce=()=>{oe.stop(),_e&&_e.active&&remove$1(_e.effects,oe)};if($&&t){const Ne=t;t=(...Oe)=>{Ne(...Oe),Ce()}}let xe=pe?new Array(n.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Ie=Ne=>{if(!(!(oe.flags&1)||!oe.dirty&&!Ne))if(t){const Oe=oe.run();if(g||he||(pe?Oe.some(($e,Ve)=>hasChanged($e,xe[Ve])):hasChanged(Oe,xe))){ue&&ue();const $e=activeWatcher;activeWatcher=oe;try{const Ve=[Oe,xe===INITIAL_WATCHER_VALUE?void 0:pe&&xe[0]===INITIAL_WATCHER_VALUE?[]:xe,de];xe=Oe,ie?ie(t,3,Ve):t(...Ve)}finally{activeWatcher=$e}}}else oe.run()};return re&&re(Ie),oe=new ReactiveEffect(le),oe.scheduler=V?()=>V(Ie,!1):Ie,de=Ne=>onWatcherCleanup(Ne,!1,oe),ue=oe.onStop=()=>{const Ne=cleanupMap.get(oe);if(Ne){if(ie)ie(Ne,4);else for(const Oe of Ne)Oe();cleanupMap.delete(oe)}},t?i?Ie(!0):xe=oe.run():V?V(Ie.bind(null,!0),!0):oe.run(),Ce.pause=oe.pause.bind(oe),Ce.resume=oe.resume.bind(oe),Ce.stop=Ce,Ce}function traverse(n,t=1/0,r){if(t<=0||!isObject$6(n)||n.__v_skip||(r=r||new Map,(r.get(n)||0)>=t))return n;if(r.set(n,t),t--,isRef(n))traverse(n.value,t,r);else if(isArray$5(n))for(let i=0;i{traverse(i,t,r)});else if(isPlainObject$3(n)){for(const i in n)traverse(n[i],t,r);for(const i of Object.getOwnPropertySymbols(n))Object.prototype.propertyIsEnumerable.call(n,i)&&traverse(n[i],t,r)}return n}/** -* @vue/runtime-core v3.5.26 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const stack=[];function pushWarningContext$1(n){stack.push(n)}function popWarningContext$1(){stack.pop()}let isWarning=!1;function warn$1(n,...t){if(isWarning)return;isWarning=!0,pauseTracking();const r=stack.length?stack[stack.length-1].component:null,i=r&&r.appContext.config.warnHandler,g=getComponentTrace();if(i)callWithErrorHandling(i,r,11,[n+t.map($=>{var V,re;return(re=(V=$.toString)==null?void 0:V.call($))!=null?re:JSON.stringify($)}).join(""),r&&r.proxy,g.map(({vnode:$})=>`at <${formatComponentName(r,$.type)}>`).join(` -`),g]);else{const $=[`[Vue warn]: ${n}`,...t];g.length&&$.push(` -`,...formatTrace(g)),console.warn(...$)}resetTracking(),isWarning=!1}function getComponentTrace(){let n=stack[stack.length-1];if(!n)return[];const t=[];for(;n;){const r=t[0];r&&r.vnode===n?r.recurseCount++:t.push({vnode:n,recurseCount:0});const i=n.component&&n.component.parent;n=i&&i.vnode}return t}function formatTrace(n){const t=[];return n.forEach((r,i)=>{t.push(...i===0?[]:[` -`],...formatTraceEntry(r))}),t}function formatTraceEntry({vnode:n,recurseCount:t}){const r=t>0?`... (${t} recursive calls)`:"",i=n.component?n.component.parent==null:!1,g=` at <${formatComponentName(n.component,n.type,i)}`,$=">"+r;return n.props?[g,...formatProps(n.props),$]:[g+$]}function formatProps(n){const t=[],r=Object.keys(n);return r.slice(0,3).forEach(i=>{t.push(...formatProp(i,n[i]))}),r.length>3&&t.push(" ..."),t}function formatProp(n,t,r){return isString$2(t)?(t=JSON.stringify(t),r?t:[`${n}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?r?t:[`${n}=${t}`]:isRef(t)?(t=formatProp(n,toRaw(t.value),!0),r?t:[`${n}=Ref<`,t,">"]):isFunction$4(t)?[`${n}=fn${t.name?`<${t.name}>`:""}`]:(t=toRaw(t),r?t:[`${n}=`,t])}function callWithErrorHandling(n,t,r,i){try{return i?n(...i):n()}catch(g){handleError(g,t,r)}}function callWithAsyncErrorHandling(n,t,r,i){if(isFunction$4(n)){const g=callWithErrorHandling(n,t,r,i);return g&&isPromise(g)&&g.catch($=>{handleError($,t,r)}),g}if(isArray$5(n)){const g=[];for(let $=0;$>>1,g=queue[i],$=getId$1(g);$=getId$1(r)?queue.push(n):queue.splice(findInsertionIndex$1(t),0,n),n.flags|=1,queueFlush()}}function queueFlush(){currentFlushPromise||(currentFlushPromise=resolvedPromise.then(flushJobs))}function queuePostFlushCb(n){isArray$5(n)?pendingPostFlushCbs.push(...n):activePostFlushCbs&&n.id===-1?activePostFlushCbs.splice(postFlushIndex+1,0,n):n.flags&1||(pendingPostFlushCbs.push(n),n.flags|=1),queueFlush()}function flushPreFlushCbs(n,t,r=flushIndex+1){for(;rgetId$1(r)-getId$1(i));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...t);return}for(activePostFlushCbs=t,postFlushIndex=0;postFlushIndexn.id==null?n.flags&2?-1:1/0:n.id;function flushJobs(n){const t=NOOP;try{for(flushIndex=0;flushIndex{i._d&&setBlockTracking(-1);const $=setCurrentRenderingInstance$1(t);let V;try{V=n(...g)}finally{setCurrentRenderingInstance$1($),i._d&&setBlockTracking(1)}return V};return i._n=!0,i._c=!0,i._d=!0,i}function withDirectives(n,t){if(currentRenderingInstance===null)return n;const r=getComponentPublicInstance(currentRenderingInstance),i=n.dirs||(n.dirs=[]);for(let g=0;g1)return r&&isFunction$4(t)?t.call(i&&i.proxy):t}}function hasInjectionContext(){return!!(getCurrentInstance()||currentApp)}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(n,t){return doWatch(n,null,t)}function watch(n,t,r){return doWatch(n,t,r)}function doWatch(n,t,r=EMPTY_OBJ$1){const{immediate:i,deep:g,flush:$,once:V}=r,re=extend$2({},r),ie=t&&i||!t&&$!=="post";let ae;if(isInSSRComponentSetup){if($==="sync"){const de=useSSRContext();ae=de.__watcherHandles||(de.__watcherHandles=[])}else if(!ie){const de=()=>{};return de.stop=NOOP,de.resume=NOOP,de.pause=NOOP,de}}const oe=currentInstance;re.call=(de,he,pe)=>callWithAsyncErrorHandling(de,oe,he,pe);let le=!1;$==="post"?re.scheduler=de=>{queuePostRenderEffect(de,oe&&oe.suspense)}:$!=="sync"&&(le=!0,re.scheduler=(de,he)=>{he?de():queueJob(de)}),re.augmentJob=de=>{t&&(de.flags|=4),le&&(de.flags|=2,oe&&(de.id=oe.uid,de.i=oe))};const ue=watch$1(n,t,re);return isInSSRComponentSetup&&(ae?ae.push(ue):ie&&ue()),ue}function instanceWatch(n,t,r){const i=this.proxy,g=isString$2(n)?n.includes(".")?createPathGetter(i,n):()=>i[n]:n.bind(i,i);let $;isFunction$4(t)?$=t:($=t.handler,r=t);const V=setCurrentInstance(this),re=doWatch(g,$.bind(i),r);return V(),re}function createPathGetter(n,t){const r=t.split(".");return()=>{let i=n;for(let g=0;gn.__isTeleport,isTeleportDisabled=n=>n&&(n.disabled||n.disabled===""),isTeleportDeferred=n=>n&&(n.defer||n.defer===""),isTargetSVG=n=>typeof SVGElement<"u"&&n instanceof SVGElement,isTargetMathML=n=>typeof MathMLElement=="function"&&n instanceof MathMLElement,resolveTarget=(n,t)=>{const r=n&&n.to;return isString$2(r)?t?t(r):null:r},TeleportImpl={name:"Teleport",__isTeleport:!0,process(n,t,r,i,g,$,V,re,ie,ae){const{mc:oe,pc:le,pbc:ue,o:{insert:de,querySelector:he,createText:pe,createComment:_e}}=ae,Ce=isTeleportDisabled(t.props);let{shapeFlag:xe,children:Ie,dynamicChildren:Ne}=t;if(n==null){const Oe=t.el=pe(""),$e=t.anchor=pe("");de(Oe,r,i),de($e,r,i);const Ve=(Fe,ze)=>{xe&16&&oe(Ie,Fe,ze,g,$,V,re,ie)},Ue=()=>{const Fe=t.target=resolveTarget(t.props,he),ze=prepareAnchor(Fe,t,pe,de);Fe&&(V!=="svg"&&isTargetSVG(Fe)?V="svg":V!=="mathml"&&isTargetMathML(Fe)&&(V="mathml"),g&&g.isCE&&(g.ce._teleportTargets||(g.ce._teleportTargets=new Set)).add(Fe),Ce||(Ve(Fe,ze),updateCssVars(t,!1)))};Ce&&(Ve(r,$e),updateCssVars(t,!0)),isTeleportDeferred(t.props)?(t.el.__isMounted=!1,queuePostRenderEffect(()=>{Ue(),delete t.el.__isMounted},$)):Ue()}else{if(isTeleportDeferred(t.props)&&n.el.__isMounted===!1){queuePostRenderEffect(()=>{TeleportImpl.process(n,t,r,i,g,$,V,re,ie,ae)},$);return}t.el=n.el,t.targetStart=n.targetStart;const Oe=t.anchor=n.anchor,$e=t.target=n.target,Ve=t.targetAnchor=n.targetAnchor,Ue=isTeleportDisabled(n.props),Fe=Ue?r:$e,ze=Ue?Oe:Ve;if(V==="svg"||isTargetSVG($e)?V="svg":(V==="mathml"||isTargetMathML($e))&&(V="mathml"),Ne?(ue(n.dynamicChildren,Ne,Fe,g,$,V,re),traverseStaticChildren(n,t,!0)):ie||le(n,t,Fe,ze,g,$,V,re,!1),Ce)Ue?t.props&&n.props&&t.props.to!==n.props.to&&(t.props.to=n.props.to):moveTeleport(t,r,Oe,ae,1);else if((t.props&&t.props.to)!==(n.props&&n.props.to)){const Pt=t.target=resolveTarget(t.props,he);Pt&&moveTeleport(t,Pt,null,ae,0)}else Ue&&moveTeleport(t,$e,Ve,ae,1);updateCssVars(t,Ce)}},remove(n,t,r,{um:i,o:{remove:g}},$){const{shapeFlag:V,children:re,anchor:ie,targetStart:ae,targetAnchor:oe,target:le,props:ue}=n;if(le&&(g(ae),g(oe)),$&&g(ie),V&16){const de=$||!isTeleportDisabled(ue);for(let he=0;he{n.isMounted=!0}),onBeforeUnmount(()=>{n.isUnmounting=!0}),n}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},recursiveGetSubtree=n=>{const t=n.subTree;return t.component?recursiveGetSubtree(t.component):t},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(n,{slots:t}){const r=getCurrentInstance(),i=useTransitionState();return()=>{const g=t.default&&getTransitionRawChildren(t.default(),!0);if(!g||!g.length)return;const $=findNonCommentChild(g),V=toRaw(n),{mode:re}=V;if(i.isLeaving)return emptyPlaceholder($);const ie=getInnerChild$1($);if(!ie)return emptyPlaceholder($);let ae=resolveTransitionHooks(ie,V,i,r,le=>ae=le);ie.type!==Comment&&setTransitionHooks(ie,ae);let oe=r.subTree&&getInnerChild$1(r.subTree);if(oe&&oe.type!==Comment&&!isSameVNodeType(oe,ie)&&recursiveGetSubtree(r).type!==Comment){let le=resolveTransitionHooks(oe,V,i,r);if(setTransitionHooks(oe,le),re==="out-in"&&ie.type!==Comment)return i.isLeaving=!0,le.afterLeave=()=>{i.isLeaving=!1,r.job.flags&8||r.update(),delete le.afterLeave,oe=void 0},emptyPlaceholder($);re==="in-out"&&ie.type!==Comment?le.delayLeave=(ue,de,he)=>{const pe=getLeavingNodesForType(i,oe);pe[String(oe.key)]=oe,ue[leaveCbKey]=()=>{de(),ue[leaveCbKey]=void 0,delete ae.delayedLeave,oe=void 0},ae.delayedLeave=()=>{he(),delete ae.delayedLeave,oe=void 0}}:oe=void 0}else oe&&(oe=void 0);return $}}};function findNonCommentChild(n){let t=n[0];if(n.length>1){for(const r of n)if(r.type!==Comment){t=r;break}}return t}const BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(n,t){const{leavingVNodes:r}=n;let i=r.get(t.type);return i||(i=Object.create(null),r.set(t.type,i)),i}function resolveTransitionHooks(n,t,r,i,g){const{appear:$,mode:V,persisted:re=!1,onBeforeEnter:ie,onEnter:ae,onAfterEnter:oe,onEnterCancelled:le,onBeforeLeave:ue,onLeave:de,onAfterLeave:he,onLeaveCancelled:pe,onBeforeAppear:_e,onAppear:Ce,onAfterAppear:xe,onAppearCancelled:Ie}=t,Ne=String(n.key),Oe=getLeavingNodesForType(r,n),$e=(Fe,ze)=>{Fe&&callWithAsyncErrorHandling(Fe,i,9,ze)},Ve=(Fe,ze)=>{const Pt=ze[1];$e(Fe,ze),isArray$5(Fe)?Fe.every(qe=>qe.length<=1)&&Pt():Fe.length<=1&&Pt()},Ue={mode:V,persisted:re,beforeEnter(Fe){let ze=ie;if(!r.isMounted)if($)ze=_e||ie;else return;Fe[leaveCbKey]&&Fe[leaveCbKey](!0);const Pt=Oe[Ne];Pt&&isSameVNodeType(n,Pt)&&Pt.el[leaveCbKey]&&Pt.el[leaveCbKey](),$e(ze,[Fe])},enter(Fe){let ze=ae,Pt=oe,qe=le;if(!r.isMounted)if($)ze=Ce||ae,Pt=xe||oe,qe=Ie||le;else return;let Et=!1;const kt=Fe[enterCbKey$1]=At=>{Et||(Et=!0,At?$e(qe,[Fe]):$e(Pt,[Fe]),Ue.delayedLeave&&Ue.delayedLeave(),Fe[enterCbKey$1]=void 0)};ze?Ve(ze,[Fe,kt]):kt()},leave(Fe,ze){const Pt=String(n.key);if(Fe[enterCbKey$1]&&Fe[enterCbKey$1](!0),r.isUnmounting)return ze();$e(ue,[Fe]);let qe=!1;const Et=Fe[leaveCbKey]=kt=>{qe||(qe=!0,ze(),kt?$e(pe,[Fe]):$e(he,[Fe]),Fe[leaveCbKey]=void 0,Oe[Pt]===n&&delete Oe[Pt])};Oe[Pt]=n,de?Ve(de,[Fe,Et]):Et()},clone(Fe){const ze=resolveTransitionHooks(Fe,t,r,i,g);return g&&g(ze),ze}};return Ue}function emptyPlaceholder(n){if(isKeepAlive(n))return n=cloneVNode(n),n.children=null,n}function getInnerChild$1(n){if(!isKeepAlive(n))return isTeleport(n.type)&&n.children?findNonCommentChild(n.children):n;if(n.component)return n.component.subTree;const{shapeFlag:t,children:r}=n;if(r){if(t&16)return r[0];if(t&32&&isFunction$4(r.default))return r.default()}}function setTransitionHooks(n,t){n.shapeFlag&6&&n.component?(n.transition=t,setTransitionHooks(n.component.subTree,t)):n.shapeFlag&128?(n.ssContent.transition=t.clone(n.ssContent),n.ssFallback.transition=t.clone(n.ssFallback)):n.transition=t}function getTransitionRawChildren(n,t=!1,r){let i=[],g=0;for(let $=0;$1)for(let $=0;$extend$2({name:n.name},t,{setup:n}))():n}function markAsyncBoundary(n){n.ids=[n.ids[0]+n.ids[2]+++"-",0,0]}const pendingSetRefMap=new WeakMap;function setRef(n,t,r,i,g=!1){if(isArray$5(n)){n.forEach((he,pe)=>setRef(he,t&&(isArray$5(t)?t[pe]:t),r,i,g));return}if(isAsyncWrapper(i)&&!g){i.shapeFlag&512&&i.type.__asyncResolved&&i.component.subTree.component&&setRef(n,t,r,i.component.subTree);return}const $=i.shapeFlag&4?getComponentPublicInstance(i.component):i.el,V=g?null:$,{i:re,r:ie}=n,ae=t&&t.r,oe=re.refs===EMPTY_OBJ$1?re.refs={}:re.refs,le=re.setupState,ue=toRaw(le),de=le===EMPTY_OBJ$1?NO:he=>hasOwn$1(ue,he);if(ae!=null&&ae!==ie){if(invalidatePendingSetRef(t),isString$2(ae))oe[ae]=null,de(ae)&&(le[ae]=null);else if(isRef(ae)){ae.value=null;const he=t;he.k&&(oe[he.k]=null)}}if(isFunction$4(ie))callWithErrorHandling(ie,re,12,[V,oe]);else{const he=isString$2(ie),pe=isRef(ie);if(he||pe){const _e=()=>{if(n.f){const Ce=he?de(ie)?le[ie]:oe[ie]:ie.value;if(g)isArray$5(Ce)&&remove$1(Ce,$);else if(isArray$5(Ce))Ce.includes($)||Ce.push($);else if(he)oe[ie]=[$],de(ie)&&(le[ie]=oe[ie]);else{const xe=[$];ie.value=xe,n.k&&(oe[n.k]=xe)}}else he?(oe[ie]=V,de(ie)&&(le[ie]=V)):pe&&(ie.value=V,n.k&&(oe[n.k]=V))};if(V){const Ce=()=>{_e(),pendingSetRefMap.delete(n)};Ce.id=-1,pendingSetRefMap.set(n,Ce),queuePostRenderEffect(Ce,r)}else invalidatePendingSetRef(n),_e()}}}function invalidatePendingSetRef(n){const t=pendingSetRefMap.get(n);t&&(t.flags|=8,pendingSetRefMap.delete(n))}getGlobalThis().requestIdleCallback;getGlobalThis().cancelIdleCallback;const isAsyncWrapper=n=>!!n.type.__asyncLoader,isKeepAlive=n=>n.type.__isKeepAlive;function onActivated(n,t){registerKeepAliveHook(n,"a",t)}function onDeactivated(n,t){registerKeepAliveHook(n,"da",t)}function registerKeepAliveHook(n,t,r=currentInstance){const i=n.__wdc||(n.__wdc=()=>{let g=r;for(;g;){if(g.isDeactivated)return;g=g.parent}return n()});if(injectHook(t,i,r),r){let g=r.parent;for(;g&&g.parent;)isKeepAlive(g.parent.vnode)&&injectToKeepAliveRoot(i,t,r,g),g=g.parent}}function injectToKeepAliveRoot(n,t,r,i){const g=injectHook(t,n,i,!0);onUnmounted(()=>{remove$1(i[t],g)},r)}function injectHook(n,t,r=currentInstance,i=!1){if(r){const g=r[n]||(r[n]=[]),$=t.__weh||(t.__weh=(...V)=>{pauseTracking();const re=setCurrentInstance(r),ie=callWithAsyncErrorHandling(t,r,n,V);return re(),resetTracking(),ie});return i?g.unshift($):g.push($),$}}const createHook=n=>(t,r=currentInstance)=>{(!isInSSRComponentSetup||n==="sp")&&injectHook(n,(...i)=>t(...i),r)},onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(n,t=currentInstance){injectHook("ec",n,t)}const COMPONENTS="components",DIRECTIVES="directives";function resolveComponent(n,t){return resolveAsset(COMPONENTS,n,!0,t)||n}const NULL_DYNAMIC_COMPONENT=Symbol.for("v-ndc");function resolveDynamicComponent(n){return isString$2(n)?resolveAsset(COMPONENTS,n,!1)||n:n||NULL_DYNAMIC_COMPONENT}function resolveDirective(n){return resolveAsset(DIRECTIVES,n)}function resolveAsset(n,t,r=!0,i=!1){const g=currentRenderingInstance||currentInstance;if(g){const $=g.type;if(n===COMPONENTS){const re=getComponentName($,!1);if(re&&(re===t||re===camelize(t)||re===capitalize$1(camelize(t))))return $}const V=resolve(g[n]||$[n],t)||resolve(g.appContext[n],t);return!V&&i?$:V}}function resolve(n,t){return n&&(n[t]||n[camelize(t)]||n[capitalize$1(camelize(t))])}function renderList(n,t,r,i){let g;const $=r&&r[i],V=isArray$5(n);if(V||isString$2(n)){const re=V&&isReactive(n);let ie=!1,ae=!1;re&&(ie=!isShallow(n),ae=isReadonly(n),n=shallowReadArray(n)),g=new Array(n.length);for(let oe=0,le=n.length;oet(re,ie,void 0,$&&$[ie]));else{const re=Object.keys(n);g=new Array(re.length);for(let ie=0,ae=re.length;ie{const $=i.fn(...g);return $&&($.key=i.key),$}:i.fn)}return n}function renderSlot(n,t,r={},i,g){if(currentRenderingInstance.ce||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.ce){const ae=Object.keys(r).length>0;return t!=="default"&&(r.name=t),openBlock(),createBlock(Fragment,null,[createVNode$1("slot",r,i&&i())],ae?-2:64)}let $=n[t];$&&$._c&&($._d=!1),openBlock();const V=$&&ensureValidVNode$1($(r)),re=r.key||V&&V.key,ie=createBlock(Fragment,{key:(re&&!isSymbol$1(re)?re:`_${t}`)+(!V&&i?"_fb":"")},V||(i?i():[]),V&&n._===1?64:-2);return!g&&ie.scopeId&&(ie.slotScopeIds=[ie.scopeId+"-s"]),$&&$._c&&($._d=!0),ie}function ensureValidVNode$1(n){return n.some(t=>isVNode(t)?!(t.type===Comment||t.type===Fragment&&!ensureValidVNode$1(t.children)):!0)?n:null}function toHandlers(n,t){const r={};for(const i in n)r[t&&/[A-Z]/.test(i)?`on:${i}`:toHandlerKey(i)]=n[i];return r}const getPublicInstance=n=>n?isStatefulComponent(n)?getComponentPublicInstance(n):getPublicInstance(n.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:n=>n,$el:n=>n.vnode.el,$data:n=>n.data,$props:n=>n.props,$attrs:n=>n.attrs,$slots:n=>n.slots,$refs:n=>n.refs,$parent:n=>getPublicInstance(n.parent),$root:n=>getPublicInstance(n.root),$host:n=>n.ce,$emit:n=>n.emit,$options:n=>resolveMergedOptions(n),$forceUpdate:n=>n.f||(n.f=()=>{queueJob(n.update)}),$nextTick:n=>n.n||(n.n=nextTick.bind(n.proxy)),$watch:n=>instanceWatch.bind(n)}),hasSetupBinding=(n,t)=>n!==EMPTY_OBJ$1&&!n.__isScriptSetup&&hasOwn$1(n,t),PublicInstanceProxyHandlers={get({_:n},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:i,data:g,props:$,accessCache:V,type:re,appContext:ie}=n;if(t[0]!=="$"){const ue=V[t];if(ue!==void 0)switch(ue){case 1:return i[t];case 2:return g[t];case 4:return r[t];case 3:return $[t]}else{if(hasSetupBinding(i,t))return V[t]=1,i[t];if(g!==EMPTY_OBJ$1&&hasOwn$1(g,t))return V[t]=2,g[t];if(hasOwn$1($,t))return V[t]=3,$[t];if(r!==EMPTY_OBJ$1&&hasOwn$1(r,t))return V[t]=4,r[t];shouldCacheAccess&&(V[t]=0)}}const ae=publicPropertiesMap[t];let oe,le;if(ae)return t==="$attrs"&&track(n.attrs,"get",""),ae(n);if((oe=re.__cssModules)&&(oe=oe[t]))return oe;if(r!==EMPTY_OBJ$1&&hasOwn$1(r,t))return V[t]=4,r[t];if(le=ie.config.globalProperties,hasOwn$1(le,t))return le[t]},set({_:n},t,r){const{data:i,setupState:g,ctx:$}=n;return hasSetupBinding(g,t)?(g[t]=r,!0):i!==EMPTY_OBJ$1&&hasOwn$1(i,t)?(i[t]=r,!0):hasOwn$1(n.props,t)||t[0]==="$"&&t.slice(1)in n?!1:($[t]=r,!0)},has({_:{data:n,setupState:t,accessCache:r,ctx:i,appContext:g,props:$,type:V}},re){let ie;return!!(r[re]||n!==EMPTY_OBJ$1&&re[0]!=="$"&&hasOwn$1(n,re)||hasSetupBinding(t,re)||hasOwn$1($,re)||hasOwn$1(i,re)||hasOwn$1(publicPropertiesMap,re)||hasOwn$1(g.config.globalProperties,re)||(ie=V.__cssModules)&&ie[re])},defineProperty(n,t,r){return r.get!=null?n._.accessCache[t]=0:hasOwn$1(r,"value")&&this.set(n,t,r.value,null),Reflect.defineProperty(n,t,r)}};function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(n){const t=getCurrentInstance();return t.setupContext||(t.setupContext=createSetupContext(t))}function normalizePropsOrEmits(n){return isArray$5(n)?n.reduce((t,r)=>(t[r]=null,t),{}):n}let shouldCacheAccess=!0;function applyOptions(n){const t=resolveMergedOptions(n),r=n.proxy,i=n.ctx;shouldCacheAccess=!1,t.beforeCreate&&callHook$1(t.beforeCreate,n,"bc");const{data:g,computed:$,methods:V,watch:re,provide:ie,inject:ae,created:oe,beforeMount:le,mounted:ue,beforeUpdate:de,updated:he,activated:pe,deactivated:_e,beforeDestroy:Ce,beforeUnmount:xe,destroyed:Ie,unmounted:Ne,render:Oe,renderTracked:$e,renderTriggered:Ve,errorCaptured:Ue,serverPrefetch:Fe,expose:ze,inheritAttrs:Pt,components:qe,directives:Et,filters:kt}=t;if(ae&&resolveInjections(ae,i,null),V)for(const Lt in V){const jt=V[Lt];isFunction$4(jt)&&(i[Lt]=jt.bind(r))}if(g){const Lt=g.call(r,r);isObject$6(Lt)&&(n.data=reactive(Lt))}if(shouldCacheAccess=!0,$)for(const Lt in $){const jt=$[Lt],hn=isFunction$4(jt)?jt.bind(r,r):isFunction$4(jt.get)?jt.get.bind(r,r):NOOP,vn=!isFunction$4(jt)&&isFunction$4(jt.set)?jt.set.bind(r):NOOP,_n=computed({get:hn,set:vn});Object.defineProperty(i,Lt,{enumerable:!0,configurable:!0,get:()=>_n.value,set:wn=>_n.value=wn})}if(re)for(const Lt in re)createWatcher(re[Lt],i,r,Lt);if(ie){const Lt=isFunction$4(ie)?ie.call(r):ie;Reflect.ownKeys(Lt).forEach(jt=>{provide(jt,Lt[jt])})}oe&&callHook$1(oe,n,"c");function Dt(Lt,jt){isArray$5(jt)?jt.forEach(hn=>Lt(hn.bind(r))):jt&&Lt(jt.bind(r))}if(Dt(onBeforeMount,le),Dt(onMounted,ue),Dt(onBeforeUpdate,de),Dt(onUpdated,he),Dt(onActivated,pe),Dt(onDeactivated,_e),Dt(onErrorCaptured,Ue),Dt(onRenderTracked,$e),Dt(onRenderTriggered,Ve),Dt(onBeforeUnmount,xe),Dt(onUnmounted,Ne),Dt(onServerPrefetch,Fe),isArray$5(ze))if(ze.length){const Lt=n.exposed||(n.exposed={});ze.forEach(jt=>{Object.defineProperty(Lt,jt,{get:()=>r[jt],set:hn=>r[jt]=hn,enumerable:!0})})}else n.exposed||(n.exposed={});Oe&&n.render===NOOP&&(n.render=Oe),Pt!=null&&(n.inheritAttrs=Pt),qe&&(n.components=qe),Et&&(n.directives=Et),Fe&&markAsyncBoundary(n)}function resolveInjections(n,t,r=NOOP){isArray$5(n)&&(n=normalizeInject(n));for(const i in n){const g=n[i];let $;isObject$6(g)?"default"in g?$=inject(g.from||i,g.default,!0):$=inject(g.from||i):$=inject(g),isRef($)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>$.value,set:V=>$.value=V}):t[i]=$}}function callHook$1(n,t,r){callWithAsyncErrorHandling(isArray$5(n)?n.map(i=>i.bind(t.proxy)):n.bind(t.proxy),t,r)}function createWatcher(n,t,r,i){let g=i.includes(".")?createPathGetter(r,i):()=>r[i];if(isString$2(n)){const $=t[n];isFunction$4($)&&watch(g,$)}else if(isFunction$4(n))watch(g,n.bind(r));else if(isObject$6(n))if(isArray$5(n))n.forEach($=>createWatcher($,t,r,i));else{const $=isFunction$4(n.handler)?n.handler.bind(r):t[n.handler];isFunction$4($)&&watch(g,$,n)}}function resolveMergedOptions(n){const t=n.type,{mixins:r,extends:i}=t,{mixins:g,optionsCache:$,config:{optionMergeStrategies:V}}=n.appContext,re=$.get(t);let ie;return re?ie=re:!g.length&&!r&&!i?ie=t:(ie={},g.length&&g.forEach(ae=>mergeOptions$2(ie,ae,V,!0)),mergeOptions$2(ie,t,V)),isObject$6(t)&&$.set(t,ie),ie}function mergeOptions$2(n,t,r,i=!1){const{mixins:g,extends:$}=t;$&&mergeOptions$2(n,$,r,!0),g&&g.forEach(V=>mergeOptions$2(n,V,r,!0));for(const V in t)if(!(i&&V==="expose")){const re=internalOptionMergeStrats[V]||r&&r[V];n[V]=re?re(n[V],t[V]):t[V]}return n}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(n,t){return t?n?function(){return extend$2(isFunction$4(n)?n.call(this,this):n,isFunction$4(t)?t.call(this,this):t)}:t:n}function mergeInject(n,t){return mergeObjectOptions(normalizeInject(n),normalizeInject(t))}function normalizeInject(n){if(isArray$5(n)){const t={};for(let r=0;rt==="modelValue"||t==="model-value"?n.modelModifiers:n[`${t}Modifiers`]||n[`${camelize(t)}Modifiers`]||n[`${hyphenate(t)}Modifiers`];function emit(n,t,...r){if(n.isUnmounted)return;const i=n.vnode.props||EMPTY_OBJ$1;let g=r;const $=t.startsWith("update:"),V=$&&getModelModifiers(i,t.slice(7));V&&(V.trim&&(g=r.map(oe=>isString$2(oe)?oe.trim():oe)),V.number&&(g=r.map(looseToNumber$1)));let re,ie=i[re=toHandlerKey(t)]||i[re=toHandlerKey(camelize(t))];!ie&&$&&(ie=i[re=toHandlerKey(hyphenate(t))]),ie&&callWithAsyncErrorHandling(ie,n,6,g);const ae=i[re+"Once"];if(ae){if(!n.emitted)n.emitted={};else if(n.emitted[re])return;n.emitted[re]=!0,callWithAsyncErrorHandling(ae,n,6,g)}}const mixinEmitsCache=new WeakMap;function normalizeEmitsOptions(n,t,r=!1){const i=r?mixinEmitsCache:t.emitsCache,g=i.get(n);if(g!==void 0)return g;const $=n.emits;let V={},re=!1;if(!isFunction$4(n)){const ie=ae=>{const oe=normalizeEmitsOptions(ae,t,!0);oe&&(re=!0,extend$2(V,oe))};!r&&t.mixins.length&&t.mixins.forEach(ie),n.extends&&ie(n.extends),n.mixins&&n.mixins.forEach(ie)}return!$&&!re?(isObject$6(n)&&i.set(n,null),null):(isArray$5($)?$.forEach(ie=>V[ie]=null):extend$2(V,$),isObject$6(n)&&i.set(n,V),V)}function isEmitListener(n,t){return!n||!isOn(t)?!1:(t=t.slice(2).replace(/Once$/,""),hasOwn$1(n,t[0].toLowerCase()+t.slice(1))||hasOwn$1(n,hyphenate(t))||hasOwn$1(n,t))}function markAttrsAccessed(){}function renderComponentRoot$1(n){const{type:t,vnode:r,proxy:i,withProxy:g,propsOptions:[$],slots:V,attrs:re,emit:ie,render:ae,renderCache:oe,props:le,data:ue,setupState:de,ctx:he,inheritAttrs:pe}=n,_e=setCurrentRenderingInstance$1(n);let Ce,xe;try{if(r.shapeFlag&4){const Ne=g||i,Oe=Ne;Ce=normalizeVNode$1(ae.call(Oe,Ne,oe,le,de,ue,he)),xe=re}else{const Ne=t;Ce=normalizeVNode$1(Ne.length>1?Ne(le,{attrs:re,slots:V,emit:ie}):Ne(le,null)),xe=t.props?re:getFunctionalFallthrough(re)}}catch(Ne){blockStack.length=0,handleError(Ne,n,1),Ce=createVNode$1(Comment)}let Ie=Ce;if(xe&&pe!==!1){const Ne=Object.keys(xe),{shapeFlag:Oe}=Ie;Ne.length&&Oe&7&&($&&Ne.some(isModelListener)&&(xe=filterModelListeners(xe,$)),Ie=cloneVNode(Ie,xe,!1,!0))}return r.dirs&&(Ie=cloneVNode(Ie,null,!1,!0),Ie.dirs=Ie.dirs?Ie.dirs.concat(r.dirs):r.dirs),r.transition&&setTransitionHooks(Ie,r.transition),Ce=Ie,setCurrentRenderingInstance$1(_e),Ce}const getFunctionalFallthrough=n=>{let t;for(const r in n)(r==="class"||r==="style"||isOn(r))&&((t||(t={}))[r]=n[r]);return t},filterModelListeners=(n,t)=>{const r={};for(const i in n)(!isModelListener(i)||!(i.slice(9)in t))&&(r[i]=n[i]);return r};function shouldUpdateComponent(n,t,r){const{props:i,children:g,component:$}=n,{props:V,children:re,patchFlag:ie}=t,ae=$.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&ie>=0){if(ie&1024)return!0;if(ie&16)return i?hasPropsChanged(i,V,ae):!!V;if(ie&8){const oe=t.dynamicProps;for(let le=0;leObject.create(internalObjectProto),isInternalObject=n=>Object.getPrototypeOf(n)===internalObjectProto;function initProps$1(n,t,r,i=!1){const g={},$=createInternalObject();n.propsDefaults=Object.create(null),setFullProps(n,t,g,$);for(const V in n.propsOptions[0])V in g||(g[V]=void 0);r?n.props=i?g:shallowReactive(g):n.type.props?n.props=g:n.props=$,n.attrs=$}function updateProps$2(n,t,r,i){const{props:g,attrs:$,vnode:{patchFlag:V}}=n,re=toRaw(g),[ie]=n.propsOptions;let ae=!1;if((i||V>0)&&!(V&16)){if(V&8){const oe=n.vnode.dynamicProps;for(let le=0;le{ie=!0;const[ue,de]=normalizePropsOptions(le,t,!0);extend$2(V,ue),de&&re.push(...de)};!r&&t.mixins.length&&t.mixins.forEach(oe),n.extends&&oe(n.extends),n.mixins&&n.mixins.forEach(oe)}if(!$&&!ie)return isObject$6(n)&&i.set(n,EMPTY_ARR),EMPTY_ARR;if(isArray$5($))for(let oe=0;oe<$.length;oe++){const le=camelize($[oe]);validatePropName(le)&&(V[le]=EMPTY_OBJ$1)}else if($)for(const oe in $){const le=camelize(oe);if(validatePropName(le)){const ue=$[oe],de=V[le]=isArray$5(ue)||isFunction$4(ue)?{type:ue}:extend$2({},ue),he=de.type;let pe=!1,_e=!0;if(isArray$5(he))for(let Ce=0;Cen==="_"||n==="_ctx"||n==="$stable",normalizeSlotValue=n=>isArray$5(n)?n.map(normalizeVNode$1):[normalizeVNode$1(n)],normalizeSlot$1=(n,t,r)=>{if(t._n)return t;const i=withCtx((...g)=>normalizeSlotValue(t(...g)),r);return i._c=!1,i},normalizeObjectSlots=(n,t,r)=>{const i=n._ctx;for(const g in n){if(isInternalKey(g))continue;const $=n[g];if(isFunction$4($))t[g]=normalizeSlot$1(g,$,i);else if($!=null){const V=normalizeSlotValue($);t[g]=()=>V}}},normalizeVNodeSlots=(n,t)=>{const r=normalizeSlotValue(t);n.slots.default=()=>r},assignSlots=(n,t,r)=>{for(const i in t)(r||!isInternalKey(i))&&(n[i]=t[i])},initSlots=(n,t,r)=>{const i=n.slots=createInternalObject();if(n.vnode.shapeFlag&32){const g=t._;g?(assignSlots(i,t,r),r&&def(i,"_",g,!0)):normalizeObjectSlots(t,i)}else t&&normalizeVNodeSlots(n,t)},updateSlots=(n,t,r)=>{const{vnode:i,slots:g}=n;let $=!0,V=EMPTY_OBJ$1;if(i.shapeFlag&32){const re=t._;re?r&&re===1?$=!1:assignSlots(g,t,r):($=!t.$stable,normalizeObjectSlots(t,g)),V=t}else t&&(normalizeVNodeSlots(n,t),V={default:1});if($)for(const re in g)!isInternalKey(re)&&V[re]==null&&delete g[re]},queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(n){return baseCreateRenderer(n)}function baseCreateRenderer(n,t){const r=getGlobalThis();r.__VUE__=!0;const{insert:i,remove:g,patchProp:$,createElement:V,createText:re,createComment:ie,setText:ae,setElementText:oe,parentNode:le,nextSibling:ue,setScopeId:de=NOOP,insertStaticContent:he}=n,pe=(Nn,Pn,On,Hn=null,Xn=null,In=null,or=void 0,Qn=null,Zn=!!Pn.dynamicChildren)=>{if(Nn===Pn)return;Nn&&!isSameVNodeType(Nn,Pn)&&(Hn=En(Nn),wn(Nn,Xn,In,!0),Nn=null),Pn.patchFlag===-2&&(Zn=!1,Pn.dynamicChildren=null);const{type:Gn,ref:Rn,shapeFlag:Mn}=Pn;switch(Gn){case Text$1:_e(Nn,Pn,On,Hn);break;case Comment:Ce(Nn,Pn,On,Hn);break;case Static:Nn==null&&xe(Pn,On,Hn,or);break;case Fragment:qe(Nn,Pn,On,Hn,Xn,In,or,Qn,Zn);break;default:Mn&1?Oe(Nn,Pn,On,Hn,Xn,In,or,Qn,Zn):Mn&6?Et(Nn,Pn,On,Hn,Xn,In,or,Qn,Zn):(Mn&64||Mn&128)&&Gn.process(Nn,Pn,On,Hn,Xn,In,or,Qn,Zn,An)}Rn!=null&&Xn?setRef(Rn,Nn&&Nn.ref,In,Pn||Nn,!Pn):Rn==null&&Nn&&Nn.ref!=null&&setRef(Nn.ref,null,In,Nn,!0)},_e=(Nn,Pn,On,Hn)=>{if(Nn==null)i(Pn.el=re(Pn.children),On,Hn);else{const Xn=Pn.el=Nn.el;Pn.children!==Nn.children&&ae(Xn,Pn.children)}},Ce=(Nn,Pn,On,Hn)=>{Nn==null?i(Pn.el=ie(Pn.children||""),On,Hn):Pn.el=Nn.el},xe=(Nn,Pn,On,Hn)=>{[Nn.el,Nn.anchor]=he(Nn.children,Pn,On,Hn,Nn.el,Nn.anchor)},Ie=({el:Nn,anchor:Pn},On,Hn)=>{let Xn;for(;Nn&&Nn!==Pn;)Xn=ue(Nn),i(Nn,On,Hn),Nn=Xn;i(Pn,On,Hn)},Ne=({el:Nn,anchor:Pn})=>{let On;for(;Nn&&Nn!==Pn;)On=ue(Nn),g(Nn),Nn=On;g(Pn)},Oe=(Nn,Pn,On,Hn,Xn,In,or,Qn,Zn)=>{if(Pn.type==="svg"?or="svg":Pn.type==="math"&&(or="mathml"),Nn==null)$e(Pn,On,Hn,Xn,In,or,Qn,Zn);else{const Gn=Nn.el&&Nn.el._isVueCE?Nn.el:null;try{Gn&&Gn._beginPatch(),Fe(Nn,Pn,Xn,In,or,Qn,Zn)}finally{Gn&&Gn._endPatch()}}},$e=(Nn,Pn,On,Hn,Xn,In,or,Qn)=>{let Zn,Gn;const{props:Rn,shapeFlag:Mn,transition:Bn,dirs:qn}=Nn;if(Zn=Nn.el=V(Nn.type,In,Rn&&Rn.is,Rn),Mn&8?oe(Zn,Nn.children):Mn&16&&Ue(Nn.children,Zn,null,Hn,Xn,resolveChildrenNamespace(Nn,In),or,Qn),qn&&invokeDirectiveHook(Nn,null,Hn,"created"),Ve(Zn,Nn,Nn.scopeId,or,Hn),Rn){for(const jn in Rn)jn!=="value"&&!isReservedProp(jn)&&$(Zn,jn,null,Rn[jn],In,Hn);"value"in Rn&&$(Zn,"value",null,Rn.value,In),(Gn=Rn.onVnodeBeforeMount)&&invokeVNodeHook(Gn,Hn,Nn)}qn&&invokeDirectiveHook(Nn,null,Hn,"beforeMount");const zn=needTransition(Xn,Bn);zn&&Bn.beforeEnter(Zn),i(Zn,Pn,On),((Gn=Rn&&Rn.onVnodeMounted)||zn||qn)&&queuePostRenderEffect(()=>{Gn&&invokeVNodeHook(Gn,Hn,Nn),zn&&Bn.enter(Zn),qn&&invokeDirectiveHook(Nn,null,Hn,"mounted")},Xn)},Ve=(Nn,Pn,On,Hn,Xn)=>{if(On&&de(Nn,On),Hn)for(let In=0;In{for(let Gn=Zn;Gn{const Qn=Pn.el=Nn.el;let{patchFlag:Zn,dynamicChildren:Gn,dirs:Rn}=Pn;Zn|=Nn.patchFlag&16;const Mn=Nn.props||EMPTY_OBJ$1,Bn=Pn.props||EMPTY_OBJ$1;let qn;if(On&&toggleRecurse(On,!1),(qn=Bn.onVnodeBeforeUpdate)&&invokeVNodeHook(qn,On,Pn,Nn),Rn&&invokeDirectiveHook(Pn,Nn,On,"beforeUpdate"),On&&toggleRecurse(On,!0),(Mn.innerHTML&&Bn.innerHTML==null||Mn.textContent&&Bn.textContent==null)&&oe(Qn,""),Gn?ze(Nn.dynamicChildren,Gn,Qn,On,Hn,resolveChildrenNamespace(Pn,Xn),In):or||jt(Nn,Pn,Qn,null,On,Hn,resolveChildrenNamespace(Pn,Xn),In,!1),Zn>0){if(Zn&16)Pt(Qn,Mn,Bn,On,Xn);else if(Zn&2&&Mn.class!==Bn.class&&$(Qn,"class",null,Bn.class,Xn),Zn&4&&$(Qn,"style",Mn.style,Bn.style,Xn),Zn&8){const zn=Pn.dynamicProps;for(let jn=0;jn{qn&&invokeVNodeHook(qn,On,Pn,Nn),Rn&&invokeDirectiveHook(Pn,Nn,On,"updated")},Hn)},ze=(Nn,Pn,On,Hn,Xn,In,or)=>{for(let Qn=0;Qn{if(Pn!==On){if(Pn!==EMPTY_OBJ$1)for(const In in Pn)!isReservedProp(In)&&!(In in On)&&$(Nn,In,Pn[In],null,Xn,Hn);for(const In in On){if(isReservedProp(In))continue;const or=On[In],Qn=Pn[In];or!==Qn&&In!=="value"&&$(Nn,In,Qn,or,Xn,Hn)}"value"in On&&$(Nn,"value",Pn.value,On.value,Xn)}},qe=(Nn,Pn,On,Hn,Xn,In,or,Qn,Zn)=>{const Gn=Pn.el=Nn?Nn.el:re(""),Rn=Pn.anchor=Nn?Nn.anchor:re("");let{patchFlag:Mn,dynamicChildren:Bn,slotScopeIds:qn}=Pn;qn&&(Qn=Qn?Qn.concat(qn):qn),Nn==null?(i(Gn,On,Hn),i(Rn,On,Hn),Ue(Pn.children||[],On,Rn,Xn,In,or,Qn,Zn)):Mn>0&&Mn&64&&Bn&&Nn.dynamicChildren&&Nn.dynamicChildren.length===Bn.length?(ze(Nn.dynamicChildren,Bn,On,Xn,In,or,Qn),(Pn.key!=null||Xn&&Pn===Xn.subTree)&&traverseStaticChildren(Nn,Pn,!0)):jt(Nn,Pn,On,Rn,Xn,In,or,Qn,Zn)},Et=(Nn,Pn,On,Hn,Xn,In,or,Qn,Zn)=>{Pn.slotScopeIds=Qn,Nn==null?Pn.shapeFlag&512?Xn.ctx.activate(Pn,On,Hn,or,Zn):kt(Pn,On,Hn,Xn,In,or,Zn):At(Nn,Pn,Zn)},kt=(Nn,Pn,On,Hn,Xn,In,or)=>{const Qn=Nn.component=createComponentInstance$1(Nn,Hn,Xn);if(isKeepAlive(Nn)&&(Qn.ctx.renderer=An),setupComponent$1(Qn,!1,or),Qn.asyncDep){if(Xn&&Xn.registerDep(Qn,Dt,or),!Nn.el){const Zn=Qn.subTree=createVNode$1(Comment);Ce(null,Zn,Pn,On),Nn.placeholder=Zn.el}}else Dt(Qn,Nn,Pn,On,Xn,In,or)},At=(Nn,Pn,On)=>{const Hn=Pn.component=Nn.component;if(shouldUpdateComponent(Nn,Pn,On))if(Hn.asyncDep&&!Hn.asyncResolved){Lt(Hn,Pn,On);return}else Hn.next=Pn,Hn.update();else Pn.el=Nn.el,Hn.vnode=Pn},Dt=(Nn,Pn,On,Hn,Xn,In,or)=>{const Qn=()=>{if(Nn.isMounted){let{next:Mn,bu:Bn,u:qn,parent:zn,vnode:jn}=Nn;{const rr=locateNonHydratedAsyncRoot(Nn);if(rr){Mn&&(Mn.el=jn.el,Lt(Nn,Mn,or)),rr.asyncDep.then(()=>{Nn.isUnmounted||Qn()});return}}let tr=Mn,hr;toggleRecurse(Nn,!1),Mn?(Mn.el=jn.el,Lt(Nn,Mn,or)):Mn=jn,Bn&&invokeArrayFns(Bn),(hr=Mn.props&&Mn.props.onVnodeBeforeUpdate)&&invokeVNodeHook(hr,zn,Mn,jn),toggleRecurse(Nn,!0);const ir=renderComponentRoot$1(Nn),pr=Nn.subTree;Nn.subTree=ir,pe(pr,ir,le(pr.el),En(pr),Nn,Xn,In),Mn.el=ir.el,tr===null&&updateHOCHostEl(Nn,ir.el),qn&&queuePostRenderEffect(qn,Xn),(hr=Mn.props&&Mn.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(hr,zn,Mn,jn),Xn)}else{let Mn;const{el:Bn,props:qn}=Pn,{bm:zn,m:jn,parent:tr,root:hr,type:ir}=Nn,pr=isAsyncWrapper(Pn);if(toggleRecurse(Nn,!1),zn&&invokeArrayFns(zn),!pr&&(Mn=qn&&qn.onVnodeBeforeMount)&&invokeVNodeHook(Mn,tr,Pn),toggleRecurse(Nn,!0),Bn&&Ln){const rr=()=>{Nn.subTree=renderComponentRoot$1(Nn),Ln(Bn,Nn.subTree,Nn,Xn,null)};pr&&ir.__asyncHydrate?ir.__asyncHydrate(Bn,Nn,rr):rr()}else{hr.ce&&hr.ce._def.shadowRoot!==!1&&hr.ce._injectChildStyle(ir);const rr=Nn.subTree=renderComponentRoot$1(Nn);pe(null,rr,On,Hn,Nn,Xn,In),Pn.el=rr.el}if(jn&&queuePostRenderEffect(jn,Xn),!pr&&(Mn=qn&&qn.onVnodeMounted)){const rr=Pn;queuePostRenderEffect(()=>invokeVNodeHook(Mn,tr,rr),Xn)}(Pn.shapeFlag&256||tr&&isAsyncWrapper(tr.vnode)&&tr.vnode.shapeFlag&256)&&Nn.a&&queuePostRenderEffect(Nn.a,Xn),Nn.isMounted=!0,Pn=On=Hn=null}};Nn.scope.on();const Zn=Nn.effect=new ReactiveEffect(Qn);Nn.scope.off();const Gn=Nn.update=Zn.run.bind(Zn),Rn=Nn.job=Zn.runIfDirty.bind(Zn);Rn.i=Nn,Rn.id=Nn.uid,Zn.scheduler=()=>queueJob(Rn),toggleRecurse(Nn,!0),Gn()},Lt=(Nn,Pn,On)=>{Pn.component=Nn;const Hn=Nn.vnode.props;Nn.vnode=Pn,Nn.next=null,updateProps$2(Nn,Pn.props,Hn,On),updateSlots(Nn,Pn.children,On),pauseTracking(),flushPreFlushCbs(Nn),resetTracking()},jt=(Nn,Pn,On,Hn,Xn,In,or,Qn,Zn=!1)=>{const Gn=Nn&&Nn.children,Rn=Nn?Nn.shapeFlag:0,Mn=Pn.children,{patchFlag:Bn,shapeFlag:qn}=Pn;if(Bn>0){if(Bn&128){vn(Gn,Mn,On,Hn,Xn,In,or,Qn,Zn);return}else if(Bn&256){hn(Gn,Mn,On,Hn,Xn,In,or,Qn,Zn);return}}qn&8?(Rn&16&&Tn(Gn,Xn,In),Mn!==Gn&&oe(On,Mn)):Rn&16?qn&16?vn(Gn,Mn,On,Hn,Xn,In,or,Qn,Zn):Tn(Gn,Xn,In,!0):(Rn&8&&oe(On,""),qn&16&&Ue(Mn,On,Hn,Xn,In,or,Qn,Zn))},hn=(Nn,Pn,On,Hn,Xn,In,or,Qn,Zn)=>{Nn=Nn||EMPTY_ARR,Pn=Pn||EMPTY_ARR;const Gn=Nn.length,Rn=Pn.length,Mn=Math.min(Gn,Rn);let Bn;for(Bn=0;BnRn?Tn(Nn,Xn,In,!0,!1,Mn):Ue(Pn,On,Hn,Xn,In,or,Qn,Zn,Mn)},vn=(Nn,Pn,On,Hn,Xn,In,or,Qn,Zn)=>{let Gn=0;const Rn=Pn.length;let Mn=Nn.length-1,Bn=Rn-1;for(;Gn<=Mn&&Gn<=Bn;){const qn=Nn[Gn],zn=Pn[Gn]=Zn?cloneIfMounted(Pn[Gn]):normalizeVNode$1(Pn[Gn]);if(isSameVNodeType(qn,zn))pe(qn,zn,On,null,Xn,In,or,Qn,Zn);else break;Gn++}for(;Gn<=Mn&&Gn<=Bn;){const qn=Nn[Mn],zn=Pn[Bn]=Zn?cloneIfMounted(Pn[Bn]):normalizeVNode$1(Pn[Bn]);if(isSameVNodeType(qn,zn))pe(qn,zn,On,null,Xn,In,or,Qn,Zn);else break;Mn--,Bn--}if(Gn>Mn){if(Gn<=Bn){const qn=Bn+1,zn=qnBn)for(;Gn<=Mn;)wn(Nn[Gn],Xn,In,!0),Gn++;else{const qn=Gn,zn=Gn,jn=new Map;for(Gn=zn;Gn<=Bn;Gn++){const er=Pn[Gn]=Zn?cloneIfMounted(Pn[Gn]):normalizeVNode$1(Pn[Gn]);er.key!=null&&jn.set(er.key,Gn)}let tr,hr=0;const ir=Bn-zn+1;let pr=!1,rr=0;const lr=new Array(ir);for(Gn=0;Gn=ir){wn(er,Xn,In,!0);continue}let Fn;if(er.key!=null)Fn=jn.get(er.key);else for(tr=zn;tr<=Bn;tr++)if(lr[tr-zn]===0&&isSameVNodeType(er,Pn[tr])){Fn=tr;break}Fn===void 0?wn(er,Xn,In,!0):(lr[Fn-zn]=Gn+1,Fn>=rr?rr=Fn:pr=!0,pe(er,Pn[Fn],On,null,Xn,In,or,Qn,Zn),hr++)}const Yn=pr?getSequence(lr):EMPTY_ARR;for(tr=Yn.length-1,Gn=ir-1;Gn>=0;Gn--){const er=zn+Gn,Fn=Pn[er],cr=Pn[er+1],Un=er+1{const{el:In,type:or,transition:Qn,children:Zn,shapeFlag:Gn}=Nn;if(Gn&6){_n(Nn.component.subTree,Pn,On,Hn);return}if(Gn&128){Nn.suspense.move(Pn,On,Hn);return}if(Gn&64){or.move(Nn,Pn,On,An);return}if(or===Fragment){i(In,Pn,On);for(let Mn=0;MnQn.enter(In),Xn);else{const{leave:Mn,delayLeave:Bn,afterLeave:qn}=Qn,zn=()=>{Nn.ctx.isUnmounted?g(In):i(In,Pn,On)},jn=()=>{In._isLeaving&&In[leaveCbKey](!0),Mn(In,()=>{zn(),qn&&qn()})};Bn?Bn(In,zn,jn):jn()}else i(In,Pn,On)},wn=(Nn,Pn,On,Hn=!1,Xn=!1)=>{const{type:In,props:or,ref:Qn,children:Zn,dynamicChildren:Gn,shapeFlag:Rn,patchFlag:Mn,dirs:Bn,cacheIndex:qn}=Nn;if(Mn===-2&&(Xn=!1),Qn!=null&&(pauseTracking(),setRef(Qn,null,On,Nn,!0),resetTracking()),qn!=null&&(Pn.renderCache[qn]=void 0),Rn&256){Pn.ctx.deactivate(Nn);return}const zn=Rn&1&&Bn,jn=!isAsyncWrapper(Nn);let tr;if(jn&&(tr=or&&or.onVnodeBeforeUnmount)&&invokeVNodeHook(tr,Pn,Nn),Rn&6)Sn(Nn.component,On,Hn);else{if(Rn&128){Nn.suspense.unmount(On,Hn);return}zn&&invokeDirectiveHook(Nn,null,Pn,"beforeUnmount"),Rn&64?Nn.type.remove(Nn,Pn,On,An,Hn):Gn&&!Gn.hasOnce&&(In!==Fragment||Mn>0&&Mn&64)?Tn(Gn,Pn,On,!1,!0):(In===Fragment&&Mn&384||!Xn&&Rn&16)&&Tn(Zn,Pn,On),Hn&&bn(Nn)}(jn&&(tr=or&&or.onVnodeUnmounted)||zn)&&queuePostRenderEffect(()=>{tr&&invokeVNodeHook(tr,Pn,Nn),zn&&invokeDirectiveHook(Nn,null,Pn,"unmounted")},On)},bn=Nn=>{const{type:Pn,el:On,anchor:Hn,transition:Xn}=Nn;if(Pn===Fragment){Cn(On,Hn);return}if(Pn===Static){Ne(Nn);return}const In=()=>{g(On),Xn&&!Xn.persisted&&Xn.afterLeave&&Xn.afterLeave()};if(Nn.shapeFlag&1&&Xn&&!Xn.persisted){const{leave:or,delayLeave:Qn}=Xn,Zn=()=>or(On,In);Qn?Qn(Nn.el,In,Zn):Zn()}else In()},Cn=(Nn,Pn)=>{let On;for(;Nn!==Pn;)On=ue(Nn),g(Nn),Nn=On;g(Pn)},Sn=(Nn,Pn,On)=>{const{bum:Hn,scope:Xn,job:In,subTree:or,um:Qn,m:Zn,a:Gn}=Nn;invalidateMount(Zn),invalidateMount(Gn),Hn&&invokeArrayFns(Hn),Xn.stop(),In&&(In.flags|=8,wn(or,Nn,Pn,On)),Qn&&queuePostRenderEffect(Qn,Pn),queuePostRenderEffect(()=>{Nn.isUnmounted=!0},Pn)},Tn=(Nn,Pn,On,Hn=!1,Xn=!1,In=0)=>{for(let or=In;or{if(Nn.shapeFlag&6)return En(Nn.component.subTree);if(Nn.shapeFlag&128)return Nn.suspense.next();const Pn=ue(Nn.anchor||Nn.el),On=Pn&&Pn[TeleportEndKey];return On?ue(On):Pn};let kn=!1;const $n=(Nn,Pn,On)=>{let Hn;Nn==null?Pn._vnode&&(wn(Pn._vnode,null,null,!0),Hn=Pn._vnode.component):pe(Pn._vnode||null,Nn,Pn,null,null,null,On),Pn._vnode=Nn,kn||(kn=!0,flushPreFlushCbs(Hn),flushPostFlushCbs(),kn=!1)},An={p:pe,um:wn,m:_n,r:bn,mt:kt,mc:Ue,pc:jt,pbc:ze,n:En,o:n};let xn,Ln;return t&&([xn,Ln]=t(An)),{render:$n,hydrate:xn,createApp:createAppAPI($n,xn)}}function resolveChildrenNamespace({type:n,props:t},r){return r==="svg"&&n==="foreignObject"||r==="mathml"&&n==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function toggleRecurse({effect:n,job:t},r){r?(n.flags|=32,t.flags|=4):(n.flags&=-33,t.flags&=-5)}function needTransition(n,t){return(!n||n&&!n.pendingBranch)&&t&&!t.persisted}function traverseStaticChildren(n,t,r=!1){const i=n.children,g=t.children;if(isArray$5(i)&&isArray$5(g))for(let $=0;$>1,n[r[re]]0&&(t[i]=r[$-1]),r[$]=i)}}for($=r.length,V=r[$-1];$-- >0;)r[$]=V,V=t[V];return r}function locateNonHydratedAsyncRoot(n){const t=n.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:locateNonHydratedAsyncRoot(t)}function invalidateMount(n){if(n)for(let t=0;tn.__isSuspense;function queueEffectWithSuspense(n,t){t&&t.pendingBranch?isArray$5(n)?t.effects.push(...n):t.effects.push(n):queuePostFlushCb(n)}const Fragment=Symbol.for("v-fgt"),Text$1=Symbol.for("v-txt"),Comment=Symbol.for("v-cmt"),Static=Symbol.for("v-stc"),blockStack=[];let currentBlock=null;function openBlock(n=!1){blockStack.push(currentBlock=n?null:[])}function closeBlock(){blockStack.pop(),currentBlock=blockStack[blockStack.length-1]||null}let isBlockTreeEnabled=1;function setBlockTracking(n,t=!1){isBlockTreeEnabled+=n,n<0&¤tBlock&&t&&(currentBlock.hasOnce=!0)}function setupBlock(n){return n.dynamicChildren=isBlockTreeEnabled>0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(n),n}function createElementBlock(n,t,r,i,g,$){return setupBlock(createBaseVNode(n,t,r,i,g,$,!0))}function createBlock(n,t,r,i,g){return setupBlock(createVNode$1(n,t,r,i,g,!0))}function isVNode(n){return n?n.__v_isVNode===!0:!1}function isSameVNodeType(n,t){return n.type===t.type&&n.key===t.key}const normalizeKey=({key:n})=>n??null,normalizeRef=({ref:n,ref_key:t,ref_for:r})=>(typeof n=="number"&&(n=""+n),n!=null?isString$2(n)||isRef(n)||isFunction$4(n)?{i:currentRenderingInstance,r:n,k:t,f:!!r}:n:null);function createBaseVNode(n,t=null,r=null,i=0,g=null,$=n===Fragment?0:1,V=!1,re=!1){const ie={__v_isVNode:!0,__v_skip:!0,type:n,props:t,key:t&&normalizeKey(t),ref:t&&normalizeRef(t),scopeId:currentScopeId,slotScopeIds:null,children:r,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:$,patchFlag:i,dynamicProps:g,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return re?(normalizeChildren(ie,r),$&128&&n.normalize(ie)):r&&(ie.shapeFlag|=isString$2(r)?8:16),isBlockTreeEnabled>0&&!V&¤tBlock&&(ie.patchFlag>0||$&6)&&ie.patchFlag!==32&¤tBlock.push(ie),ie}const createVNode$1=_createVNode;function _createVNode(n,t=null,r=null,i=0,g=null,$=!1){if((!n||n===NULL_DYNAMIC_COMPONENT)&&(n=Comment),isVNode(n)){const re=cloneVNode(n,t,!0);return r&&normalizeChildren(re,r),isBlockTreeEnabled>0&&!$&¤tBlock&&(re.shapeFlag&6?currentBlock[currentBlock.indexOf(n)]=re:currentBlock.push(re)),re.patchFlag=-2,re}if(isClassComponent(n)&&(n=n.__vccOpts),t){t=guardReactiveProps(t);let{class:re,style:ie}=t;re&&!isString$2(re)&&(t.class=normalizeClass(re)),isObject$6(ie)&&(isProxy(ie)&&!isArray$5(ie)&&(ie=extend$2({},ie)),t.style=normalizeStyle$1(ie))}const V=isString$2(n)?1:isSuspense(n)?128:isTeleport(n)?64:isObject$6(n)?4:isFunction$4(n)?2:0;return createBaseVNode(n,t,r,i,g,V,$,!0)}function guardReactiveProps(n){return n?isProxy(n)||isInternalObject(n)?extend$2({},n):n:null}function cloneVNode(n,t,r=!1,i=!1){const{props:g,ref:$,patchFlag:V,children:re,transition:ie}=n,ae=t?mergeProps(g||{},t):g,oe={__v_isVNode:!0,__v_skip:!0,type:n.type,props:ae,key:ae&&normalizeKey(ae),ref:t&&t.ref?r&&$?isArray$5($)?$.concat(normalizeRef(t)):[$,normalizeRef(t)]:normalizeRef(t):$,scopeId:n.scopeId,slotScopeIds:n.slotScopeIds,children:re,target:n.target,targetStart:n.targetStart,targetAnchor:n.targetAnchor,staticCount:n.staticCount,shapeFlag:n.shapeFlag,patchFlag:t&&n.type!==Fragment?V===-1?16:V|16:V,dynamicProps:n.dynamicProps,dynamicChildren:n.dynamicChildren,appContext:n.appContext,dirs:n.dirs,transition:ie,component:n.component,suspense:n.suspense,ssContent:n.ssContent&&cloneVNode(n.ssContent),ssFallback:n.ssFallback&&cloneVNode(n.ssFallback),placeholder:n.placeholder,el:n.el,anchor:n.anchor,ctx:n.ctx,ce:n.ce};return ie&&i&&setTransitionHooks(oe,ie.clone(oe)),oe}function createTextVNode(n=" ",t=0){return createVNode$1(Text$1,null,n,t)}function createCommentVNode(n="",t=!1){return t?(openBlock(),createBlock(Comment,null,n)):createVNode$1(Comment,null,n)}function normalizeVNode$1(n){return n==null||typeof n=="boolean"?createVNode$1(Comment):isArray$5(n)?createVNode$1(Fragment,null,n.slice()):isVNode(n)?cloneIfMounted(n):createVNode$1(Text$1,null,String(n))}function cloneIfMounted(n){return n.el===null&&n.patchFlag!==-1||n.memo?n:cloneVNode(n)}function normalizeChildren(n,t){let r=0;const{shapeFlag:i}=n;if(t==null)t=null;else if(isArray$5(t))r=16;else if(typeof t=="object")if(i&65){const g=t.default;g&&(g._c&&(g._d=!1),normalizeChildren(n,g()),g._c&&(g._d=!0));return}else{r=32;const g=t._;!g&&!isInternalObject(t)?t._ctx=currentRenderingInstance:g===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?t._=1:(t._=2,n.patchFlag|=1024))}else isFunction$4(t)?(t={default:t,_ctx:currentRenderingInstance},r=32):(t=String(t),i&64?(r=16,t=[createTextVNode(t)]):r=8);n.children=t,n.shapeFlag|=r}function mergeProps(...n){const t={};for(let r=0;rcurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const n=getGlobalThis(),t=(r,i)=>{let g;return(g=n[r])||(g=n[r]=[]),g.push(i),$=>{g.length>1?g.forEach(V=>V($)):g[0]($)}};internalSetCurrentInstance=t("__VUE_INSTANCE_SETTERS__",r=>currentInstance=r),setInSSRSetupState=t("__VUE_SSR_SETTERS__",r=>isInSSRComponentSetup=r)}const setCurrentInstance=n=>{const t=currentInstance;return internalSetCurrentInstance(n),n.scope.on(),()=>{n.scope.off(),internalSetCurrentInstance(t)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(n){return n.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent$1(n,t=!1,r=!1){t&&setInSSRSetupState(t);const{props:i,children:g}=n.vnode,$=isStatefulComponent(n);initProps$1(n,i,$,t),initSlots(n,g,r||t);const V=$?setupStatefulComponent(n,t):void 0;return t&&setInSSRSetupState(!1),V}function setupStatefulComponent(n,t){const r=n.type;n.accessCache=Object.create(null),n.proxy=new Proxy(n.ctx,PublicInstanceProxyHandlers);const{setup:i}=r;if(i){pauseTracking();const g=n.setupContext=i.length>1?createSetupContext(n):null,$=setCurrentInstance(n),V=callWithErrorHandling(i,n,0,[n.props,g]),re=isPromise(V);if(resetTracking(),$(),(re||n.sp)&&!isAsyncWrapper(n)&&markAsyncBoundary(n),re){if(V.then(unsetCurrentInstance,unsetCurrentInstance),t)return V.then(ie=>{handleSetupResult(n,ie,t)}).catch(ie=>{handleError(ie,n,0)});n.asyncDep=V}else handleSetupResult(n,V,t)}else finishComponentSetup(n,t)}function handleSetupResult(n,t,r){isFunction$4(t)?n.type.__ssrInlineRender?n.ssrRender=t:n.render=t:isObject$6(t)&&(n.setupState=proxyRefs(t)),finishComponentSetup(n,r)}let compile;function finishComponentSetup(n,t,r){const i=n.type;if(!n.render){if(!t&&compile&&!i.render){const g=i.template||resolveMergedOptions(n).template;if(g){const{isCustomElement:$,compilerOptions:V}=n.appContext.config,{delimiters:re,compilerOptions:ie}=i,ae=extend$2(extend$2({isCustomElement:$,delimiters:re},V),ie);i.render=compile(g,ae)}}n.render=i.render||NOOP}{const g=setCurrentInstance(n);pauseTracking();try{applyOptions(n)}finally{resetTracking(),g()}}}const attrsProxyHandlers={get(n,t){return track(n,"get",""),n[t]}};function createSetupContext(n){const t=r=>{n.exposed=r||{}};return{attrs:new Proxy(n.attrs,attrsProxyHandlers),slots:n.slots,emit:n.emit,expose:t}}function getComponentPublicInstance(n){return n.exposed?n.exposeProxy||(n.exposeProxy=new Proxy(proxyRefs(markRaw(n.exposed)),{get(t,r){if(r in t)return t[r];if(r in publicPropertiesMap)return publicPropertiesMap[r](n)},has(t,r){return r in t||r in publicPropertiesMap}})):n.proxy}const classifyRE=/(?:^|[-_])\w/g,classify=n=>n.replace(classifyRE,t=>t.toUpperCase()).replace(/[-_]/g,"");function getComponentName(n,t=!0){return isFunction$4(n)?n.displayName||n.name:n.name||t&&n.__name}function formatComponentName(n,t,r=!1){let i=getComponentName(t);if(!i&&t.__file){const g=t.__file.match(/([^/\\]+)\.\w+$/);g&&(i=g[1])}if(!i&&n){const g=$=>{for(const V in $)if($[V]===t)return V};i=g(n.components)||n.parent&&g(n.parent.type.components)||g(n.appContext.components)}return i?classify(i):r?"App":"Anonymous"}function isClassComponent(n){return isFunction$4(n)&&"__vccOpts"in n}const computed=(n,t)=>computed$1(n,t,isInSSRComponentSetup);function h$1(n,t,r){try{setBlockTracking(-1);const i=arguments.length;return i===2?isObject$6(t)&&!isArray$5(t)?isVNode(t)?createVNode$1(n,null,[t]):createVNode$1(n,t):createVNode$1(n,null,t):(i>3?r=Array.prototype.slice.call(arguments,2):i===3&&isVNode(r)&&(r=[r]),createVNode$1(n,t,r))}finally{setBlockTracking(1)}}const version$1="3.5.26",warn$2=NOOP,_ssrUtils={createComponentInstance:createComponentInstance$1,setupComponent:setupComponent$1,renderComponentRoot:renderComponentRoot$1,setCurrentRenderingInstance:setCurrentRenderingInstance$1,isVNode,normalizeVNode:normalizeVNode$1,getComponentPublicInstance,ensureValidVNode:ensureValidVNode$1,pushWarningContext:pushWarningContext$1,popWarningContext:popWarningContext$1},ssrUtils=_ssrUtils;/** -* @vue/runtime-dom v3.5.26 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let policy;const tt$1=typeof window<"u"&&window.trustedTypes;if(tt$1)try{policy=tt$1.createPolicy("vue",{createHTML:n=>n})}catch{}const unsafeToTrustedHTML=policy?n=>policy.createHTML(n):n=>n,svgNS="http://www.w3.org/2000/svg",mathmlNS="http://www.w3.org/1998/Math/MathML",doc=typeof document<"u"?document:null,templateContainer=doc&&doc.createElement("template"),nodeOps={insert:(n,t,r)=>{t.insertBefore(n,r||null)},remove:n=>{const t=n.parentNode;t&&t.removeChild(n)},createElement:(n,t,r,i)=>{const g=t==="svg"?doc.createElementNS(svgNS,n):t==="mathml"?doc.createElementNS(mathmlNS,n):r?doc.createElement(n,{is:r}):doc.createElement(n);return n==="select"&&i&&i.multiple!=null&&g.setAttribute("multiple",i.multiple),g},createText:n=>doc.createTextNode(n),createComment:n=>doc.createComment(n),setText:(n,t)=>{n.nodeValue=t},setElementText:(n,t)=>{n.textContent=t},parentNode:n=>n.parentNode,nextSibling:n=>n.nextSibling,querySelector:n=>doc.querySelector(n),setScopeId(n,t){n.setAttribute(t,"")},insertStaticContent(n,t,r,i,g,$){const V=r?r.previousSibling:t.lastChild;if(g&&(g===$||g.nextSibling))for(;t.insertBefore(g.cloneNode(!0),r),!(g===$||!(g=g.nextSibling)););else{templateContainer.innerHTML=unsafeToTrustedHTML(i==="svg"?`${n}`:i==="mathml"?`${n}`:n);const re=templateContainer.content;if(i==="svg"||i==="mathml"){const ie=re.firstChild;for(;ie.firstChild;)re.appendChild(ie.firstChild);re.removeChild(ie)}t.insertBefore(re,r)}return[V?V.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},TRANSITION="transition",ANIMATION="animation",vtcKey=Symbol("_vtc"),DOMTransitionPropsValidators={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},TransitionPropsValidators=extend$2({},BaseTransitionPropsValidators,DOMTransitionPropsValidators),decorate$1=n=>(n.displayName="Transition",n.props=TransitionPropsValidators,n),Transition=decorate$1((n,{slots:t})=>h$1(BaseTransition,resolveTransitionProps(n),t)),callHook=(n,t=[])=>{isArray$5(n)?n.forEach(r=>r(...t)):n&&n(...t)},hasExplicitCallback=n=>n?isArray$5(n)?n.some(t=>t.length>1):n.length>1:!1;function resolveTransitionProps(n){const t={};for(const qe in n)qe in DOMTransitionPropsValidators||(t[qe]=n[qe]);if(n.css===!1)return t;const{name:r="v",type:i,duration:g,enterFromClass:$=`${r}-enter-from`,enterActiveClass:V=`${r}-enter-active`,enterToClass:re=`${r}-enter-to`,appearFromClass:ie=$,appearActiveClass:ae=V,appearToClass:oe=re,leaveFromClass:le=`${r}-leave-from`,leaveActiveClass:ue=`${r}-leave-active`,leaveToClass:de=`${r}-leave-to`}=n,he=normalizeDuration(g),pe=he&&he[0],_e=he&&he[1],{onBeforeEnter:Ce,onEnter:xe,onEnterCancelled:Ie,onLeave:Ne,onLeaveCancelled:Oe,onBeforeAppear:$e=Ce,onAppear:Ve=xe,onAppearCancelled:Ue=Ie}=t,Fe=(qe,Et,kt,At)=>{qe._enterCancelled=At,removeTransitionClass(qe,Et?oe:re),removeTransitionClass(qe,Et?ae:V),kt&&kt()},ze=(qe,Et)=>{qe._isLeaving=!1,removeTransitionClass(qe,le),removeTransitionClass(qe,de),removeTransitionClass(qe,ue),Et&&Et()},Pt=qe=>(Et,kt)=>{const At=qe?Ve:xe,Dt=()=>Fe(Et,qe,kt);callHook(At,[Et,Dt]),nextFrame(()=>{removeTransitionClass(Et,qe?ie:$),addTransitionClass(Et,qe?oe:re),hasExplicitCallback(At)||whenTransitionEnds(Et,i,pe,Dt)})};return extend$2(t,{onBeforeEnter(qe){callHook(Ce,[qe]),addTransitionClass(qe,$),addTransitionClass(qe,V)},onBeforeAppear(qe){callHook($e,[qe]),addTransitionClass(qe,ie),addTransitionClass(qe,ae)},onEnter:Pt(!1),onAppear:Pt(!0),onLeave(qe,Et){qe._isLeaving=!0;const kt=()=>ze(qe,Et);addTransitionClass(qe,le),qe._enterCancelled?(addTransitionClass(qe,ue),forceReflow(qe)):(forceReflow(qe),addTransitionClass(qe,ue)),nextFrame(()=>{qe._isLeaving&&(removeTransitionClass(qe,le),addTransitionClass(qe,de),hasExplicitCallback(Ne)||whenTransitionEnds(qe,i,_e,kt))}),callHook(Ne,[qe,kt])},onEnterCancelled(qe){Fe(qe,!1,void 0,!0),callHook(Ie,[qe])},onAppearCancelled(qe){Fe(qe,!0,void 0,!0),callHook(Ue,[qe])},onLeaveCancelled(qe){ze(qe),callHook(Oe,[qe])}})}function normalizeDuration(n){if(n==null)return null;if(isObject$6(n))return[NumberOf(n.enter),NumberOf(n.leave)];{const t=NumberOf(n);return[t,t]}}function NumberOf(n){return toNumber$1(n)}function addTransitionClass(n,t){t.split(/\s+/).forEach(r=>r&&n.classList.add(r)),(n[vtcKey]||(n[vtcKey]=new Set)).add(t)}function removeTransitionClass(n,t){t.split(/\s+/).forEach(i=>i&&n.classList.remove(i));const r=n[vtcKey];r&&(r.delete(t),r.size||(n[vtcKey]=void 0))}function nextFrame(n){requestAnimationFrame(()=>{requestAnimationFrame(n)})}let endId=0;function whenTransitionEnds(n,t,r,i){const g=n._endId=++endId,$=()=>{g===n._endId&&i()};if(r!=null)return setTimeout($,r);const{type:V,timeout:re,propCount:ie}=getTransitionInfo(n,t);if(!V)return i();const ae=V+"end";let oe=0;const le=()=>{n.removeEventListener(ae,ue),$()},ue=de=>{de.target===n&&++oe>=ie&&le()};setTimeout(()=>{oe(r[he]||"").split(", "),g=i(`${TRANSITION}Delay`),$=i(`${TRANSITION}Duration`),V=getTimeout(g,$),re=i(`${ANIMATION}Delay`),ie=i(`${ANIMATION}Duration`),ae=getTimeout(re,ie);let oe=null,le=0,ue=0;t===TRANSITION?V>0&&(oe=TRANSITION,le=V,ue=$.length):t===ANIMATION?ae>0&&(oe=ANIMATION,le=ae,ue=ie.length):(le=Math.max(V,ae),oe=le>0?V>ae?TRANSITION:ANIMATION:null,ue=oe?oe===TRANSITION?$.length:ie.length:0);const de=oe===TRANSITION&&/\b(?:transform|all)(?:,|$)/.test(i(`${TRANSITION}Property`).toString());return{type:oe,timeout:le,propCount:ue,hasTransform:de}}function getTimeout(n,t){for(;n.lengthtoMs(r)+toMs(n[i])))}function toMs(n){return n==="auto"?0:Number(n.slice(0,-1).replace(",","."))*1e3}function forceReflow(n){return(n?n.ownerDocument:document).body.offsetHeight}function patchClass(n,t,r){const i=n[vtcKey];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?n.removeAttribute("class"):r?n.setAttribute("class",t):n.className=t}const vShowOriginalDisplay=Symbol("_vod"),vShowHidden=Symbol("_vsh"),vShow={name:"show",beforeMount(n,{value:t},{transition:r}){n[vShowOriginalDisplay]=n.style.display==="none"?"":n.style.display,r&&t?r.beforeEnter(n):setDisplay(n,t)},mounted(n,{value:t},{transition:r}){r&&t&&r.enter(n)},updated(n,{value:t,oldValue:r},{transition:i}){!t!=!r&&(i?t?(i.beforeEnter(n),setDisplay(n,!0),i.enter(n)):i.leave(n,()=>{setDisplay(n,!1)}):setDisplay(n,t))},beforeUnmount(n,{value:t}){setDisplay(n,t)}};function setDisplay(n,t){n.style.display=t?n[vShowOriginalDisplay]:"none",n[vShowHidden]=!t}function initVShowForSSR(){vShow.getSSRProps=({value:n})=>{if(!n)return{style:{display:"none"}}}}const CSS_VAR_TEXT=Symbol("");function useCssVars(n){const t=getCurrentInstance();if(!t)return;const r=t.ut=(g=n(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach($=>setVarsOnNode($,g))},i=()=>{const g=n(t.proxy);t.ce?setVarsOnNode(t.ce,g):setVarsOnVNode(t.subTree,g),r(g)};onBeforeUpdate(()=>{queuePostFlushCb(i)}),onMounted(()=>{watch(i,NOOP,{flush:"post"});const g=new MutationObserver(i);g.observe(t.subTree.el.parentNode,{childList:!0}),onUnmounted(()=>g.disconnect())})}function setVarsOnVNode(n,t){if(n.shapeFlag&128){const r=n.suspense;n=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{setVarsOnVNode(r.activeBranch,t)})}for(;n.component;)n=n.component.subTree;if(n.shapeFlag&1&&n.el)setVarsOnNode(n.el,t);else if(n.type===Fragment)n.children.forEach(r=>setVarsOnVNode(r,t));else if(n.type===Static){let{el:r,anchor:i}=n;for(;r&&(setVarsOnNode(r,t),r!==i);)r=r.nextSibling}}function setVarsOnNode(n,t){if(n.nodeType===1){const r=n.style;let i="";for(const g in t){const $=normalizeCssVarValue(t[g]);r.setProperty(`--${g}`,$),i+=`--${g}: ${$};`}r[CSS_VAR_TEXT]=i}}const displayRE=/(?:^|;)\s*display\s*:/;function patchStyle(n,t,r){const i=n.style,g=isString$2(r);let $=!1;if(r&&!g){if(t)if(isString$2(t))for(const V of t.split(";")){const re=V.slice(0,V.indexOf(":")).trim();r[re]==null&&setStyle$1(i,re,"")}else for(const V in t)r[V]==null&&setStyle$1(i,V,"");for(const V in r)V==="display"&&($=!0),setStyle$1(i,V,r[V])}else if(g){if(t!==r){const V=i[CSS_VAR_TEXT];V&&(r+=";"+V),i.cssText=r,$=displayRE.test(r)}}else t&&n.removeAttribute("style");vShowOriginalDisplay in n&&(n[vShowOriginalDisplay]=$?i.display:"",n[vShowHidden]&&(i.display="none"))}const importantRE=/\s*!important$/;function setStyle$1(n,t,r){if(isArray$5(r))r.forEach(i=>setStyle$1(n,t,i));else if(r==null&&(r=""),t.startsWith("--"))n.setProperty(t,r);else{const i=autoPrefix(n,t);importantRE.test(r)?n.setProperty(hyphenate(i),r.replace(importantRE,""),"important"):n[i]=r}}const prefixes=["Webkit","Moz","ms"],prefixCache={};function autoPrefix(n,t){const r=prefixCache[t];if(r)return r;let i=camelize(t);if(i!=="filter"&&i in n)return prefixCache[t]=i;i=capitalize$1(i);for(let g=0;gcachedNow||(p$1.then(()=>cachedNow=0),cachedNow=Date.now());function createInvoker(n,t){const r=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=r.attached)return;callWithAsyncErrorHandling(patchStopImmediatePropagation(i,r.value),t,5,[i])};return r.value=n,r.attached=getNow(),r}function patchStopImmediatePropagation(n,t){if(isArray$5(t)){const r=n.stopImmediatePropagation;return n.stopImmediatePropagation=()=>{r.call(n),n._stopped=!0},t.map(i=>g=>!g._stopped&&i&&i(g))}else return t}const isNativeOn=n=>n.charCodeAt(0)===111&&n.charCodeAt(1)===110&&n.charCodeAt(2)>96&&n.charCodeAt(2)<123,patchProp=(n,t,r,i,g,$)=>{const V=g==="svg";t==="class"?patchClass(n,i,V):t==="style"?patchStyle(n,r,i):isOn(t)?isModelListener(t)||patchEvent(n,t,r,i,$):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):shouldSetAsProp(n,t,i,V))?(patchDOMProp(n,t,i),!n.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&patchAttr(n,t,i,V,$,t!=="value")):n._isVueCE&&(/[A-Z]/.test(t)||!isString$2(i))?patchDOMProp(n,camelize(t),i,$,t):(t==="true-value"?n._trueValue=i:t==="false-value"&&(n._falseValue=i),patchAttr(n,t,i,V))};function shouldSetAsProp(n,t,r,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in n&&isNativeOn(t)&&isFunction$4(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&n.tagName==="IFRAME"||t==="form"||t==="list"&&n.tagName==="INPUT"||t==="type"&&n.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const g=n.tagName;if(g==="IMG"||g==="VIDEO"||g==="CANVAS"||g==="SOURCE")return!1}return isNativeOn(t)&&isString$2(r)?!1:t in n}const positionMap=new WeakMap,newPositionMap=new WeakMap,moveCbKey=Symbol("_moveCb"),enterCbKey=Symbol("_enterCb"),decorate=n=>(delete n.props.mode,n),TransitionGroupImpl=decorate({name:"TransitionGroup",props:extend$2({},TransitionPropsValidators,{tag:String,moveClass:String}),setup(n,{slots:t}){const r=getCurrentInstance(),i=useTransitionState();let g,$;return onUpdated(()=>{if(!g.length)return;const V=n.moveClass||`${n.name||"v"}-move`;if(!hasCSSTransform(g[0].el,r.vnode.el,V)){g=[];return}g.forEach(callPendingCbs),g.forEach(recordPosition);const re=g.filter(applyTranslation);forceReflow(r.vnode.el),re.forEach(ie=>{const ae=ie.el,oe=ae.style;addTransitionClass(ae,V),oe.transform=oe.webkitTransform=oe.transitionDuration="";const le=ae[moveCbKey]=ue=>{ue&&ue.target!==ae||(!ue||ue.propertyName.endsWith("transform"))&&(ae.removeEventListener("transitionend",le),ae[moveCbKey]=null,removeTransitionClass(ae,V))};ae.addEventListener("transitionend",le)}),g=[]}),()=>{const V=toRaw(n),re=resolveTransitionProps(V);let ie=V.tag||Fragment;if(g=[],$)for(let ae=0;ae<$.length;ae++){const oe=$[ae];oe.el&&oe.el instanceof Element&&(g.push(oe),setTransitionHooks(oe,resolveTransitionHooks(oe,re,i,r)),positionMap.set(oe,{left:oe.el.offsetLeft,top:oe.el.offsetTop}))}$=t.default?getTransitionRawChildren(t.default()):[];for(let ae=0;ae<$.length;ae++){const oe=$[ae];oe.key!=null&&setTransitionHooks(oe,resolveTransitionHooks(oe,re,i,r))}return createVNode$1(ie,null,$)}}}),TransitionGroup=TransitionGroupImpl;function callPendingCbs(n){const t=n.el;t[moveCbKey]&&t[moveCbKey](),t[enterCbKey]&&t[enterCbKey]()}function recordPosition(n){newPositionMap.set(n,{left:n.el.offsetLeft,top:n.el.offsetTop})}function applyTranslation(n){const t=positionMap.get(n),r=newPositionMap.get(n),i=t.left-r.left,g=t.top-r.top;if(i||g){const $=n.el.style;return $.transform=$.webkitTransform=`translate(${i}px,${g}px)`,$.transitionDuration="0s",n}}function hasCSSTransform(n,t,r){const i=n.cloneNode(),g=n[vtcKey];g&&g.forEach(re=>{re.split(/\s+/).forEach(ie=>ie&&i.classList.remove(ie))}),r.split(/\s+/).forEach(re=>re&&i.classList.add(re)),i.style.display="none";const $=t.nodeType===1?t:t.parentNode;$.appendChild(i);const{hasTransform:V}=getTransitionInfo(i);return $.removeChild(i),V}const getModelAssigner=n=>{const t=n.props["onUpdate:modelValue"]||!1;return isArray$5(t)?r=>invokeArrayFns(t,r):t};function onCompositionStart(n){n.target.composing=!0}function onCompositionEnd(n){const t=n.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const assignKey=Symbol("_assign");function castValue(n,t,r){return t&&(n=n.trim()),r&&(n=looseToNumber$1(n)),n}const vModelText={created(n,{modifiers:{lazy:t,trim:r,number:i}},g){n[assignKey]=getModelAssigner(g);const $=i||g.props&&g.props.type==="number";addEventListener$1(n,t?"change":"input",V=>{V.target.composing||n[assignKey](castValue(n.value,r,$))}),(r||$)&&addEventListener$1(n,"change",()=>{n.value=castValue(n.value,r,$)}),t||(addEventListener$1(n,"compositionstart",onCompositionStart),addEventListener$1(n,"compositionend",onCompositionEnd),addEventListener$1(n,"change",onCompositionEnd))},mounted(n,{value:t}){n.value=t??""},beforeUpdate(n,{value:t,oldValue:r,modifiers:{lazy:i,trim:g,number:$}},V){if(n[assignKey]=getModelAssigner(V),n.composing)return;const re=($||n.type==="number")&&!/^0\d/.test(n.value)?looseToNumber$1(n.value):n.value,ie=t??"";re!==ie&&(document.activeElement===n&&n.type!=="range"&&(i&&t===r||g&&n.value.trim()===ie)||(n.value=ie))}},vModelCheckbox={deep:!0,created(n,t,r){n[assignKey]=getModelAssigner(r),addEventListener$1(n,"change",()=>{const i=n._modelValue,g=getValue$2(n),$=n.checked,V=n[assignKey];if(isArray$5(i)){const re=looseIndexOf(i,g),ie=re!==-1;if($&&!ie)V(i.concat(g));else if(!$&&ie){const ae=[...i];ae.splice(re,1),V(ae)}}else if(isSet$2(i)){const re=new Set(i);$?re.add(g):re.delete(g),V(re)}else V(getCheckboxValue(n,$))})},mounted:setChecked,beforeUpdate(n,t,r){n[assignKey]=getModelAssigner(r),setChecked(n,t,r)}};function setChecked(n,{value:t,oldValue:r},i){n._modelValue=t;let g;if(isArray$5(t))g=looseIndexOf(t,i.props.value)>-1;else if(isSet$2(t))g=t.has(i.props.value);else{if(t===r)return;g=looseEqual(t,getCheckboxValue(n,!0))}n.checked!==g&&(n.checked=g)}const vModelRadio={created(n,{value:t},r){n.checked=looseEqual(t,r.props.value),n[assignKey]=getModelAssigner(r),addEventListener$1(n,"change",()=>{n[assignKey](getValue$2(n))})},beforeUpdate(n,{value:t,oldValue:r},i){n[assignKey]=getModelAssigner(i),t!==r&&(n.checked=looseEqual(t,i.props.value))}};function getValue$2(n){return"_value"in n?n._value:n.value}function getCheckboxValue(n,t){const r=t?"_trueValue":"_falseValue";return r in n?n[r]:t}function initVModelForSSR(){vModelText.getSSRProps=({value:n})=>({value:n}),vModelRadio.getSSRProps=({value:n},t)=>{if(t.props&&looseEqual(t.props.value,n))return{checked:!0}},vModelCheckbox.getSSRProps=({value:n},t)=>{if(isArray$5(n)){if(t.props&&looseIndexOf(n,t.props.value)>-1)return{checked:!0}}else if(isSet$2(n)){if(t.props&&n.has(t.props.value))return{checked:!0}}else if(n)return{checked:!0}}}const systemModifiers=["ctrl","shift","alt","meta"],modifierGuards={stop:n=>n.stopPropagation(),prevent:n=>n.preventDefault(),self:n=>n.target!==n.currentTarget,ctrl:n=>!n.ctrlKey,shift:n=>!n.shiftKey,alt:n=>!n.altKey,meta:n=>!n.metaKey,left:n=>"button"in n&&n.button!==0,middle:n=>"button"in n&&n.button!==1,right:n=>"button"in n&&n.button!==2,exact:(n,t)=>systemModifiers.some(r=>n[`${r}Key`]&&!t.includes(r))},withModifiers=(n,t)=>{const r=n._withMods||(n._withMods={}),i=t.join(".");return r[i]||(r[i]=(g,...$)=>{for(let V=0;V{const r=n._withKeys||(n._withKeys={}),i=t.join(".");return r[i]||(r[i]=g=>{if(!("key"in g))return;const $=hyphenate(g.key);if(t.some(V=>V===$||keyNames[V]===$))return n(g)})},rendererOptions=extend$2({patchProp},nodeOps);let renderer;function ensureRenderer(){return renderer||(renderer=createRenderer(rendererOptions))}const render$1=(...n)=>{ensureRenderer().render(...n)},createApp=(...n)=>{const t=ensureRenderer().createApp(...n),{mount:r}=t;return t.mount=i=>{const g=normalizeContainer(i);if(!g)return;const $=t._component;!isFunction$4($)&&!$.render&&!$.template&&($.template=g.innerHTML),g.nodeType===1&&(g.textContent="");const V=r(g,!1,resolveRootNamespace(g));return g instanceof Element&&(g.removeAttribute("v-cloak"),g.setAttribute("data-v-app","")),V},t};function resolveRootNamespace(n){if(n instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&n instanceof MathMLElement)return"mathml"}function normalizeContainer(n){return isString$2(n)?document.querySelector(n):n}let ssrDirectiveInitialized=!1;const initDirectivesForSSR=()=>{ssrDirectiveInitialized||(ssrDirectiveInitialized=!0,initVModelForSSR(),initVShowForSSR())},__vite_glob_0_0=`\r - \r - \r - \r -`,__vite_glob_0_1=`\r -\r - \r - G\r - ~\r -`,__vite_glob_0_2=`\r -\r - \r - \r -`,__vite_glob_0_3=`\r -\r - \r -`,__vite_glob_1_0=`\r - \r - \r - \r -`,__vite_glob_1_1=`\r -\r - \r - \r - \r -`,__vite_glob_1_2=`\r -\r - \r - \r - \r - \r -`,__vite_glob_1_3=`\r -\r -\r -\r -\r -\r -\r -\r -\r -\r -`,__vite_glob_1_4=`\r -\r - \r - \r - \r - \r - \r - \r - \r - \r -`,__vite_glob_1_5=`\r -\r - \r - \r -`,__vite_glob_1_6=`\r -\r - \r -`,__vite_glob_1_7=`\r -\r - \r - \r - \r - \r -`,__vite_glob_1_8=`\r -\r -\r -\r -\r -\r -\r -\r -\r -`,__vite_glob_1_9=`\r -\r -\r -\r -\r -\r -\r -`,__vite_glob_1_10=`\r -\r -\r -\r -\r -\r -\r -\r -\r -`,__vite_glob_1_11=`\r -\r -\r -\r -\r -\r -\r -\r -\r -\r -`,__vite_glob_1_12=`\r -\r -\r -\r -\r -\r -\r -\r -\r -`,index$2="",__uno="",cssVars$1="";if(typeof window<"u"){let n=function(){var t=document.body,r=document.getElementById("___mt__edit__icons__dom__");r||(r=document.createElementNS("http://www.w3.org/2000/svg","svg"),r.style.position="absolute",r.style.width="0",r.style.height="0",r.id="___mt__edit__icons__dom__",r.setAttribute("xmlns","http://www.w3.org/2000/svg"),r.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),r.innerHTML=`\r - \r -\r - \r -\r - \r -\r - \r -\r - \r -\r - \r -\r - \r - \r - \r - \r -\r - \r - \r - \r -\r - \r -`,t.insertBefore(r,t.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",n):n()}const animate="",custom_ani="",autoDestroyMouseMove=(n,t)=>{const r=()=>{document.removeEventListener("mousemove",n),document.removeEventListener("touchmove",n),document.removeEventListener("mouseup",r),document.removeEventListener("touchend",r),document.removeEventListener("mouseleave",r),t&&t()};document.addEventListener("mousemove",n),document.addEventListener("touchmove",n),document.addEventListener("mouseup",r),document.addEventListener("touchend",r),document.addEventListener("mouseleave",r)},alignToGrid$1=(n,t=1)=>{const r=Math.floor(n/t);return n%t>=t/2?(r+1)*t:r*t},calcGrid=(n,t=1)=>{const r=Math.abs(n)%t,i=n>0?t:-t;let g=0;return r>t/2?g=i*Math.ceil(Math.abs(n)/t):g=i*Math.floor(Math.abs(n)/t),g};function getXY(n){let t=0,r=0;if(isTouchEvent$1(n)){const i=n.targetTouches[0];t=i.pageX,r=i.pageY}else t=n.clientX,r=n.clientY;return{clientX:t,clientY:r}}function isTouchEvent$1(n){const t=Object.prototype.toString.call(n);return t.substring(8,t.length-1)==="TouchEvent"}const getLength=(n,t)=>Math.sqrt(n*n+t*t),degToRadian=n=>n*Math.PI/180,cos=n=>Math.cos(degToRadian(n)),sin=n=>Math.sin(degToRadian(n)),getNewStyle=(n,t,r,i,g,$,V)=>{let{width:re,height:ie,centerX:ae,centerY:oe,rotateAngle:le}=t;const ue=re<0?-1:1,de=ie<0?-1:1;switch(re=Math.abs(re),ie=Math.abs(ie),n){case"r":{const he=setWidthAndDeltaW(re,r,$);re=he.width,r=he.deltaW,g?(i=r/g,ie=re/g,ae+=r/2*cos(le)-i/2*sin(le),oe+=r/2*sin(le)+i/2*cos(le)):(ae+=r/2*cos(le),oe+=r/2*sin(le));break}case"tr":{i=-i;const he=setWidthAndDeltaW(re,r,$);re=he.width,r=he.deltaW;const pe=setHeightAndDeltaH(ie,i,V);ie=pe.height,i=pe.deltaH,g&&(r=i*g,re=ie*g),ae+=r/2*cos(le)+i/2*sin(le),oe+=r/2*sin(le)-i/2*cos(le);break}case"br":{const he=setWidthAndDeltaW(re,r,$);re=he.width,r=he.deltaW;const pe=setHeightAndDeltaH(ie,i,V);ie=pe.height,i=pe.deltaH,g&&(r=i*g,re=ie*g),ae+=r/2*cos(le)-i/2*sin(le),oe+=r/2*sin(le)+i/2*cos(le);break}case"bc":{const he=setHeightAndDeltaH(ie,i,V);ie=he.height,i=he.deltaH,g?(r=i*g,re=ie*g,ae+=r/2*cos(le)-i/2*sin(le),oe+=r/2*sin(le)+i/2*cos(le)):(ae-=i/2*sin(le),oe+=i/2*cos(le));break}case"bl":{r=-r;const he=setWidthAndDeltaW(re,r,$);re=he.width,r=he.deltaW;const pe=setHeightAndDeltaH(ie,i,V);ie=pe.height,i=pe.deltaH,g&&(ie=re/g,i=r/g),ae-=r/2*cos(le)+i/2*sin(le),oe-=r/2*sin(le)-i/2*cos(le);break}case"l":{r=-r;const he=setWidthAndDeltaW(re,r,$);re=he.width,r=he.deltaW,g?(ie=re/g,i=r/g,ae-=r/2*cos(le)+i/2*sin(le),oe-=r/2*sin(le)-i/2*cos(le)):(ae-=r/2*cos(le),oe-=r/2*sin(le));break}case"tl":{r=-r,i=-i;const he=setWidthAndDeltaW(re,r,$);re=he.width,r=he.deltaW;const pe=setHeightAndDeltaH(ie,i,V);ie=pe.height,i=pe.deltaH,g&&(re=ie*g,r=i*g),ae-=r/2*cos(le)-i/2*sin(le),oe-=r/2*sin(le)+i/2*cos(le);break}case"tc":{i=-i;const he=setHeightAndDeltaH(ie,i,V);ie=he.height,i=he.deltaH,g?(re=ie*g,r=i*g,ae+=r/2*cos(le)+i/2*sin(le),oe+=r/2*sin(le)-i/2*cos(le)):(ae+=i/2*sin(le),oe-=i/2*cos(le));break}}return{position:{centerX:ae,centerY:oe},size:{width:re*ue,height:ie*de}}},setHeightAndDeltaH=(n,t,r)=>{const i=n+t;return i>r?n=i:(t=r-n,n=r),{height:n,deltaH:t}},setWidthAndDeltaW=(n,t,r)=>{const i=n+t;return i>r?n=i:(t=r-n,n=r),{width:n,deltaW:t}},centerToTL=({centerX:n,centerY:t,width:r,height:i,angle:g})=>({top:t-i/2,left:n-r/2,width:r,height:i,angle:g}),formatData=(n,t,r)=>{const{width:i,height:g}=n;return{width:Math.abs(i),height:Math.abs(g),left:t-Math.abs(i)/2,top:r-Math.abs(g)/2}},randomString$1=n=>{n=n||10;const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t.length;let i="";for(let g=0;g{dzrStore.dzr_copy_info=n},showDzrCopy:(n,t)=>{dzrStore.setDzrCopyInfo({...dzrStore.dzr_copy_info,show:!0,value:n,gen_id:t})},hideDzrCopy:()=>{dzrStore.setDzrCopyInfo({...dzrStore.dzr_copy_info,show:!1})}}),_hoisted_1$1G=["id","onMousedown","onTouchstartPassive"],_sfc_main$34=defineComponent({__name:"resize-handle",props:{itemInfo:{},targetDom:{},scaleRatio:{default:1},gridAlignSize:{default:1},genId:{},useProportionalScaling:{type:Boolean,default:!1}},emits:["update:itemInfo","onResizeDone","onResizeMove"],setup(n,{emit:t}){const r=n,i=computed(()=>({tl:{left:"0px",top:"0px",cursor:$(0)},tc:{left:r.itemInfo.width/2+"px",top:"0px",cursor:$(45)},tr:{left:r.itemInfo.width+"px",top:"0px",cursor:$(90)},l:{left:"0px",top:r.itemInfo.height/2+"px",cursor:$(315)},r:{left:r.itemInfo.width+"px",top:r.itemInfo.height/2+"px",cursor:$(135)},bl:{left:"0px",top:r.itemInfo.height+"px",cursor:$(270)},bc:{left:r.itemInfo.width/2+"px",top:r.itemInfo.height+"px",cursor:$(225)},br:{left:r.itemInfo.width+"px",top:r.itemInfo.height+"px",cursor:$(180)}})),g=[{start:338,end:23,cursor:"nw"},{start:23,end:68,cursor:"n"},{start:68,end:113,cursor:"ne"},{start:293,end:338,cursor:"w"},{start:113,end:158,cursor:"e"},{start:248,end:293,cursor:"sw"},{start:203,end:248,cursor:"s"},{start:158,end:203,cursor:"se"}],$=ae=>{const oe=(ae+r.itemInfo.angle)%360,le=g.find(ue=>ue.start<=oe&&ue.end>oe);return le?le.cursor+"-resize":"nw-resize"},V=t,re=ref({...r.itemInfo}),ie=(ae,oe)=>{ae.stopPropagation(),re.value={...r.itemInfo};const{clientX:le,clientY:ue}=getXY(ae),{width:de,height:he,left:pe,top:_e}=r.itemInfo,Ce=pe+de/2,xe=_e+he/2,Ie={width:de,height:he,centerX:Ce,centerY:xe,rotateAngle:r.itemInfo.angle};autoDestroyMouseMove(Oe=>{Oe.preventDefault(),dzrStore.showDzrCopy({...re.value},r.genId);const{clientX:$e,clientY:Ve}=getXY(Oe),Ue=($e-le)/r.scaleRatio,Fe=(Ve-ue)/r.scaleRatio,ze=Math.atan2(Fe,Ue),Pt=getLength(Ue,Fe),qe=ze-degToRadian(Ie.rotateAngle),Et=Pt*Math.cos(qe),kt=Pt*Math.sin(qe),At=r.useProportionalScaling||Oe.shiftKey?Ie.width/Ie.height:void 0,{position:{centerX:Dt,centerY:Lt},size:{width:jt,height:hn}}=getNewStyle(oe,{...Ie,rotateAngle:Ie.rotateAngle},Et,kt,At,1,1),vn=centerToTL({centerX:Dt,centerY:Lt,width:jt,height:hn,angle:r.itemInfo.angle}),_n=formatData(vn,Dt,Lt),wn=calcGrid(_n.width,r.gridAlignSize),bn=calcGrid(_n.height,r.gridAlignSize);V("update:itemInfo",{...r.itemInfo,..._n,left:calcGrid(_n.left,r.gridAlignSize),top:calcGrid(_n.top,r.gridAlignSize),width:wn,height:bn}),V("onResizeMove",{width:wn,height:bn})},()=>{dzrStore.hideDzrCopy(),V("onResizeDone")})};return(ae,oe)=>(openBlock(),createElementBlock("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(i.value,(le,ue)=>(openBlock(),createElementBlock("div",{key:ue,id:`resize_${ue}`,style:normalizeStyle$1(le),class:"mt-dzr-resize mt-dzr-resize-point touch-none",onMousedown:de=>ie(de,ue),onTouchstartPassive:de=>ie(de,ue)},null,44,_hoisted_1$1G))),128))]))}}),resizeHandle_vue_vue_type_style_index_0_scoped_ea13326c_lang="",_export_sfc$1=(n,t)=>{const r=n.__vccOpts||n;for(const[i,g]of t)r[i]=g;return r},ResizeHandle=_export_sfc$1(_sfc_main$34,[["__scopeId","data-v-ea13326c"]]),_sfc_main$33=defineComponent({__name:"rotate-handle",props:{itemInfo:{},targetDom:{},genId:{}},emits:["update:itemInfo","onRotateDone","onRotateMove"],setup(n,{emit:t}){const r=n,i=t,g=ref({...r.itemInfo}),$=ref(!1),V=re=>{if(re.stopPropagation(),!r.targetDom){console.error("target_dom is null");return}const ie=r.targetDom.getBoundingClientRect();if(!ie){console.error("boundingClientRect is null");return}const{clientX:ae,clientY:oe}=getXY(re);g.value={...r.itemInfo},dzrStore.hideDzrCopy();const le=r.itemInfo.angle,ue=ie.left+ie.width/2,de=ie.top+ie.height/2;$.value=!0,autoDestroyMouseMove(pe=>{if(!$.value)return;const{clientX:_e,clientY:Ce}=getXY(pe);dzrStore.showDzrCopy({...g.value},r.genId);const xe=Math.atan2(oe-de,ae-ue)/(Math.PI/180),Ie=Math.atan2(Ce-de,_e-ue)/(Math.PI/180),Ne=alignToGrid$1(le+Ie-xe);i("update:itemInfo",{...r.itemInfo,left:alignToGrid$1(r.itemInfo.left),top:alignToGrid$1(r.itemInfo.top),angle:Ne}),i("onRotateMove",{angle:Ne})},()=>{dzrStore.hideDzrCopy(),$.value=!1,i("onRotateDone")})};return(re,ie)=>(openBlock(),createElementBlock("div",{class:"mt-dzr-rotate touch-none",onMousedown:V,onTouchstartPassive:V},[...ie[0]||(ie[0]=[createBaseVNode("svg",{viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg"},[createBaseVNode("path",{d:"M929 849a30 30 0 0 1-30-30v-83.137a447.514 447.514 0 0 1-70.921 92.209C722.935 933.225 578.442 975.008 442 953.482a444.917 444.917 0 0 1-241.139-120.591 30 30 0 1 1 37.258-47.01l0.231-0.231A385.175 385.175 0 0 0 442 892.625v-0.006c120.855 22.123 250.206-13.519 343.656-106.975a386.646 386.646 0 0 0 70.6-96.653h-87.247a30 30 0 0 1 0-60H929a30 30 0 0 1 30 30V819a30 30 0 0 1-30 30zM512 392a120 120 0 1 1-120 120 120 120 0 0 1 120-120z m293.005-147.025a29.87 29.87 0 0 1-19.117-6.882l-0.232 0.231A386.5 386.5 0 0 0 689.478 168h-0.011c-145.646-75.182-329.021-51.747-451.117 70.35a386.615 386.615 0 0 0-70.6 96.65H255a30 30 0 0 1 0 60H95a30 30 0 0 1-30-30V205a30 30 0 0 1 60 0v83.129a447.534 447.534 0 0 1 70.923-92.206C317.981 73.866 493.048 37.2 647 85.836v-0.045a444.883 444.883 0 0 1 176.143 105.291 30 30 0 0 1-18.138 53.893z",fill:"#06B7FF"})],-1)])],32))}}),rotateHandle_vue_vue_type_style_index_0_scoped_c2cb7cf8_lang="",RotateHandle=_export_sfc$1(_sfc_main$33,[["__scopeId","data-v-c2cb7cf8"]]),_sfc_main$32={},_hoisted_1$1F={class:"w-1/1 h-1/1 select-none"};function _sfc_render$m(n,t){return openBlock(),createElementBlock("div",_hoisted_1$1F,[renderSlot(n.$slots,"default")])}const renderItem=_export_sfc$1(_sfc_main$32,[["render",_sfc_render$m]]),_hoisted_1$1E=["id"],_hoisted_2$$={key:0},_sfc_main$31=defineComponent({__name:"index",props:{id:{default:randomString$1(16)},modelValue:{default:()=>({left:0,top:0,width:0,height:0,angle:0})},scaleRatio:{default:1},hide:{type:Boolean,default:!1},grid:{default:()=>({enabled:!1,align:!1,size:10})},resize:{type:Boolean,default:!0},rotate:{type:Boolean,default:!0},lock:{type:Boolean,default:!1},active:{type:Boolean,default:!1},useProportionalScaling:{type:Boolean,default:!1},showGhostDom:{type:Boolean,default:!0},class:{},disabled:{type:Boolean,default:!1},adsorp_diff:{default:()=>({x:0,y:0})}},emits:["update:modelValue","mousedown","onItemMove","moveMouseUp","onMouseEnter","onMouseLeave","onResizeMove","onResizeDone","onRotateDone","onRightClick","onRotateMove"],setup(n,{emit:t}){const r=n,i=t,g=ref(),$=randomString$1(16),V=ref({...r.modelValue}),re=ref({...r.modelValue}),ie=Ie=>{const{width:Ne,height:Oe,left:$e,top:Ve,angle:Ue}=Ie;return{width:Ne+"px",height:Oe+"px",left:$e+"px",top:Ve+"px",transform:`rotate(${Ue}deg)`}},ae=computed(()=>!r.grid.align||!r.grid.enabled?1:r.grid.size),oe=computed({get:()=>re.value,set:Ie=>{re.value=Ie,i("update:modelValue",Ie)}}),le=Ie=>{if(i("mousedown",Ie),r.lock||r.disabled)return;const{clientX:Ne,clientY:Oe}=getXY(Ie);V.value={...r.modelValue},re.value={...r.modelValue},dzrStore.hideDzrCopy();const{left:$e,top:Ve}=r.modelValue,{clientWidth:Ue,clientHeight:Fe}=g.value.parentElement,ze=0,Pt=0,qe=Ue-r.modelValue.width,Et=Fe-r.modelValue.height;let kt=$e,At=Ve;autoDestroyMouseMove(Lt=>{dzrStore.showDzrCopy({...V.value},$);const{clientX:jt,clientY:hn}=getXY(Lt),vn=(jt-Ne)/r.scaleRatio,_n=(hn-Oe)/r.scaleRatio,wn=alignToGrid$1($e+vn,ae.value),bn=alignToGrid$1(Ve+_n,ae.value);kt=wnqe?qe:wn,At=bnEt?Et:bn,re.value={...re.value,left:kt,top:At},i("onItemMove",{move_length:{x:wn-$e,y:bn-Ve},new_lt:{left:kt,top:At},move_binfo:{id:r.id,left:kt,top:At,width:re.value.width,height:re.value.height,angle:re.value.angle}}),nextTick(()=>{var Tn,En;const Cn=((Tn=r.adsorp_diff)==null?void 0:Tn.x)??0,Sn=((En=r.adsorp_diff)==null?void 0:En.y)??0;Cn==0&&Sn==0||(kt+=Cn,At+=Sn,re.value={...re.value,left:kt,top:At},i("onItemMove",{new_lt:{left:kt,top:At},move_binfo:{id:r.id,left:kt,top:At,width:re.value.width,height:re.value.height,angle:re.value.angle}}))})},()=>{nextTick(()=>{dzrStore.hideDzrCopy(),i("moveMouseUp"),i("update:modelValue",{...r.modelValue,left:kt,top:At})})})},ue=Ie=>{i("onMouseEnter",Ie)},de=Ie=>{i("onMouseLeave",Ie)},he=Ie=>{i("onResizeMove",Ie)},pe=()=>{i("onResizeDone")},_e=()=>{i("onRotateDone")},Ce=Ie=>{i("onRotateMove",Ie)},xe=Ie=>{i("onRightClick",Ie)};return watch(()=>r.modelValue,Ie=>{re.value=Ie},{deep:!0}),(Ie,Ne)=>(openBlock(),createElementBlock(Fragment,null,[unref(dzrStore).dzr_copy_info.show&&unref(dzrStore).dzr_copy_info.gen_id==unref($)&&r.showGhostDom?(openBlock(),createElementBlock("div",{key:0,class:"absolute select-none opacity-30",style:normalizeStyle$1([{outline:"1px solid #06b7ff"},ie(unref(dzrStore).dzr_copy_info.value)])},[createVNode$1(renderItem,null,{default:withCtx(()=>[renderSlot(Ie.$slots,"default",{},void 0,!0)]),_:3})],4)):createCommentVNode("",!0),r.hide?createCommentVNode("",!0):(openBlock(),createElementBlock("div",{key:1,id:r.id,ref_key:"dzrRef",ref:g,class:normalizeClass(`${r.class} absolute select-none touch-none ${r.lock?"opacity-50":""} ${r.active&&r.modelValue.width!=0&&r.modelValue.height!=0?"dzr-active":""}`),onMousedown:le,onTouchstartPassive:le,onMouseenter:ue,onMouseleave:de,onContextmenu:withModifiers(xe,["right","prevent"]),style:normalizeStyle$1(ie(re.value))},[createVNode$1(renderItem,null,{default:withCtx(()=>[renderSlot(Ie.$slots,"default",{},void 0,!0)]),_:3}),r.resize&&!r.lock&&r.active&&!r.disabled?(openBlock(),createElementBlock("div",_hoisted_2$$,[createVNode$1(ResizeHandle,{"item-info":oe.value,"onUpdate:itemInfo":Ne[0]||(Ne[0]=Oe=>oe.value=Oe),"target-dom":g.value,"scale-ratio":r.scaleRatio,"grid-align-size":ae.value,"gen-id":unref($),"use-proportional-scaling":r.useProportionalScaling,onOnResizeDone:pe,onOnResizeMove:Ne[1]||(Ne[1]=Oe=>he(Oe))},null,8,["item-info","target-dom","scale-ratio","grid-align-size","gen-id","use-proportional-scaling"])])):createCommentVNode("",!0),r.rotate&&!r.lock&&r.active&&!r.disabled?(openBlock(),createBlock(RotateHandle,{key:1,"item-info":oe.value,"onUpdate:itemInfo":Ne[2]||(Ne[2]=Oe=>oe.value=Oe),"target-dom":g.value,"gen-id":unref($),onOnRotateDone:_e,onOnRotateMove:Ne[3]||(Ne[3]=Oe=>Ce(Oe))},null,8,["item-info","target-dom","gen-id"])):createCommentVNode("",!0)],46,_hoisted_1$1E))],64))}}),index_vue_vue_type_style_index_0_scoped_a8334372_lang="";function computedEager(n,t){var r;const i=shallowRef();return watchEffect(()=>{i.value=n()},{...t,flush:(r=t==null?void 0:t.flush)!=null?r:"sync"}),readonly(i)}function tryOnScopeDispose(n){return getCurrentScope()?(onScopeDispose(n),!0):!1}function toValue(n){return typeof n=="function"?n():unref(n)}function toReactive(n){if(!isRef(n))return reactive(n);const t=new Proxy({},{get(r,i,g){return unref(Reflect.get(n.value,i,g))},set(r,i,g){return isRef(n.value[i])&&!isRef(g)?n.value[i].value=g:n.value[i]=g,!0},deleteProperty(r,i){return Reflect.deleteProperty(n.value,i)},has(r,i){return Reflect.has(n.value,i)},ownKeys(){return Object.keys(n.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}});return reactive(t)}function reactiveComputed(n){return toReactive(computed(n))}const isClient=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const isDef$1=n=>typeof n<"u",notNullish=n=>n!=null,toString$2=Object.prototype.toString,isObject$5=n=>toString$2.call(n)==="[object Object]",clamp$4=(n,t,r)=>Math.min(r,Math.max(t,n)),noop$5=()=>{},isIOS=getIsIOS();function getIsIOS(){var n,t;return isClient&&((n=window==null?void 0:window.navigator)==null?void 0:n.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function createFilterWrapper(n,t){function r(...i){return new Promise((g,$)=>{Promise.resolve(n(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(g).catch($)})}return r}const bypassFilter=n=>n();function debounceFilter(n,t={}){let r,i,g=noop$5;const $=re=>{clearTimeout(re),g(),g=noop$5};return re=>{const ie=toValue(n),ae=toValue(t.maxWait);return r&&$(r),ie<=0||ae!==void 0&&ae<=0?(i&&($(i),i=null),Promise.resolve(re())):new Promise((oe,le)=>{g=t.rejectOnCancel?le:oe,ae&&!i&&(i=setTimeout(()=>{r&&$(r),i=null,oe(re())},ae)),r=setTimeout(()=>{i&&$(i),i=null,oe(re())},ie)})}}function throttleFilter(...n){let t=0,r,i=!0,g=noop$5,$,V,re,ie,ae;!isRef(n[0])&&typeof n[0]=="object"?{delay:V,trailing:re=!0,leading:ie=!0,rejectOnCancel:ae=!1}=n[0]:[V,re=!0,ie=!0,ae=!1]=n;const oe=()=>{r&&(clearTimeout(r),r=void 0,g(),g=noop$5)};return ue=>{const de=toValue(V),he=Date.now()-t,pe=()=>$=ue();return oe(),de<=0?(t=Date.now(),pe()):(he>de&&(ie||!i)?(t=Date.now(),pe()):re&&($=new Promise((_e,Ce)=>{g=ae?Ce:_e,r=setTimeout(()=>{t=Date.now(),i=!0,_e(pe()),oe()},Math.max(0,de-he))})),!ie&&!r&&(r=setTimeout(()=>i=!0,de)),i=!1,$)}}function pausableFilter(n=bypassFilter){const t=ref(!0);function r(){t.value=!1}function i(){t.value=!0}const g=(...$)=>{t.value&&n(...$)};return{isActive:readonly(t),pause:r,resume:i,eventFilter:g}}function getLifeCycleTarget(n){return n||getCurrentInstance()}function toRef(...n){if(n.length!==1)return toRef$1(...n);const t=n[0];return typeof t=="function"?readonly(customRef(()=>({get:t,set:noop$5}))):ref(t)}function useDebounceFn(n,t=200,r={}){return createFilterWrapper(debounceFilter(t,r),n)}function refDebounced(n,t=200,r={}){const i=ref(n.value),g=useDebounceFn(()=>{i.value=n.value},t,r);return watch(n,()=>g()),i}function useThrottleFn(n,t=200,r=!1,i=!0,g=!1){return createFilterWrapper(throttleFilter(t,r,i,g),n)}function watchWithFilter(n,t,r={}){const{eventFilter:i=bypassFilter,...g}=r;return watch(n,createFilterWrapper(i,t),g)}function watchPausable(n,t,r={}){const{eventFilter:i,...g}=r,{eventFilter:$,pause:V,resume:re,isActive:ie}=pausableFilter(i);return{stop:watchWithFilter(n,t,{...g,eventFilter:$}),pause:V,resume:re,isActive:ie}}function tryOnMounted(n,t=!0,r){getLifeCycleTarget()?onMounted(n,r):t?n():nextTick(n)}function useTimeoutFn(n,t,r={}){const{immediate:i=!0}=r,g=ref(!1);let $=null;function V(){$&&(clearTimeout($),$=null)}function re(){g.value=!1,V()}function ie(...ae){V(),g.value=!0,$=setTimeout(()=>{g.value=!1,$=null,n(...ae)},toValue(t))}return i&&(g.value=!0,isClient&&ie()),tryOnScopeDispose(re),{isPending:readonly(g),start:ie,stop:re}}function useToggle(n=!1,t={}){const{truthyValue:r=!0,falsyValue:i=!1}=t,g=isRef(n),$=ref(n);function V(re){if(arguments.length)return $.value=re,$.value;{const ie=toValue(r);return $.value=$.value===ie?toValue(i):ie,$.value}}return g?V:[$,V]}function unrefElement(n){var t;const r=toValue(n);return(t=r==null?void 0:r.$el)!=null?t:r}const defaultWindow=isClient?window:void 0,defaultDocument=isClient?window.document:void 0;function useEventListener(...n){let t,r,i,g;if(typeof n[0]=="string"||Array.isArray(n[0])?([r,i,g]=n,t=defaultWindow):[t,r,i,g]=n,!t)return noop$5;Array.isArray(r)||(r=[r]),Array.isArray(i)||(i=[i]);const $=[],V=()=>{$.forEach(oe=>oe()),$.length=0},re=(oe,le,ue,de)=>(oe.addEventListener(le,ue,de),()=>oe.removeEventListener(le,ue,de)),ie=watch(()=>[unrefElement(t),toValue(g)],([oe,le])=>{if(V(),!oe)return;const ue=isObject$5(le)?{...le}:le;$.push(...r.flatMap(de=>i.map(he=>re(oe,de,he,ue))))},{immediate:!0,flush:"post"}),ae=()=>{ie(),V()};return tryOnScopeDispose(ae),ae}let _iOSWorkaround=!1;function onClickOutside(n,t,r={}){const{window:i=defaultWindow,ignore:g=[],capture:$=!0,detectIframe:V=!1}=r;if(!i)return noop$5;isIOS&&!_iOSWorkaround&&(_iOSWorkaround=!0,Array.from(i.document.body.children).forEach(ue=>ue.addEventListener("click",noop$5)),i.document.documentElement.addEventListener("click",noop$5));let re=!0;const ie=ue=>g.some(de=>{if(typeof de=="string")return Array.from(i.document.querySelectorAll(de)).some(he=>he===ue.target||ue.composedPath().includes(he));{const he=unrefElement(de);return he&&(ue.target===he||ue.composedPath().includes(he))}}),oe=[useEventListener(i,"click",ue=>{const de=unrefElement(n);if(!(!de||de===ue.target||ue.composedPath().includes(de))){if(ue.detail===0&&(re=!ie(ue)),!re){re=!0;return}t(ue)}},{passive:!0,capture:$}),useEventListener(i,"pointerdown",ue=>{const de=unrefElement(n);re=!ie(ue)&&!!(de&&!ue.composedPath().includes(de))},{passive:!0}),V&&useEventListener(i,"blur",ue=>{setTimeout(()=>{var de;const he=unrefElement(n);((de=i.document.activeElement)==null?void 0:de.tagName)==="IFRAME"&&!(he!=null&&he.contains(i.document.activeElement))&&t(ue)},0)})].filter(Boolean);return()=>oe.forEach(ue=>ue())}function useMounted(){const n=ref(!1),t=getCurrentInstance();return t&&onMounted(()=>{n.value=!0},t),n}function useSupported(n){const t=useMounted();return computed(()=>(t.value,!!n()))}function useMutationObserver(n,t,r={}){const{window:i=defaultWindow,...g}=r;let $;const V=useSupported(()=>i&&"MutationObserver"in i),re=()=>{$&&($.disconnect(),$=void 0)},ie=computed(()=>{const ue=toValue(n),de=(Array.isArray(ue)?ue:[ue]).map(unrefElement).filter(notNullish);return new Set(de)}),ae=watch(()=>ie.value,ue=>{re(),V.value&&ue.size&&($=new MutationObserver(t),ue.forEach(de=>$.observe(de,g)))},{immediate:!0,flush:"post"}),oe=()=>$==null?void 0:$.takeRecords(),le=()=>{re(),ae()};return tryOnScopeDispose(le),{isSupported:V,stop:le,takeRecords:oe}}function useActiveElement(n={}){var t;const{window:r=defaultWindow,deep:i=!0,triggerOnRemoval:g=!1}=n,$=(t=n.document)!=null?t:r==null?void 0:r.document,V=()=>{var ae;let oe=$==null?void 0:$.activeElement;if(i)for(;oe!=null&&oe.shadowRoot;)oe=(ae=oe==null?void 0:oe.shadowRoot)==null?void 0:ae.activeElement;return oe},re=ref(),ie=()=>{re.value=V()};return r&&(useEventListener(r,"blur",ae=>{ae.relatedTarget===null&&ie()},!0),useEventListener(r,"focus",ie,!0)),g&&useMutationObserver($,ae=>{ae.filter(oe=>oe.removedNodes.length).map(oe=>Array.from(oe.removedNodes)).flat().forEach(oe=>{oe===re.value&&ie()})},{childList:!0,subtree:!0}),ie(),re}function useMediaQuery(n,t={}){const{window:r=defaultWindow}=t,i=useSupported(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function");let g;const $=ref(!1),V=ae=>{$.value=ae.matches},re=()=>{g&&("removeEventListener"in g?g.removeEventListener("change",V):g.removeListener(V))},ie=watchEffect(()=>{i.value&&(re(),g=r.matchMedia(toValue(n)),"addEventListener"in g?g.addEventListener("change",V):g.addListener(V),$.value=g.matches)});return tryOnScopeDispose(()=>{ie(),re(),g=void 0}),$}function cloneFnJSON(n){return JSON.parse(JSON.stringify(n))}const _global$1=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},globalKey="__vueuse_ssr_handlers__",handlers=getHandlers();function getHandlers(){return globalKey in _global$1||(_global$1[globalKey]=_global$1[globalKey]||{}),_global$1[globalKey]}function getSSRHandler(n,t){return handlers[n]||t}function guessSerializerType(n){return n==null?"any":n instanceof Set?"set":n instanceof Map?"map":n instanceof Date?"date":typeof n=="boolean"?"boolean":typeof n=="string"?"string":typeof n=="object"?"object":Number.isNaN(n)?"any":"number"}const StorageSerializers={boolean:{read:n=>n==="true",write:n=>String(n)},object:{read:n=>JSON.parse(n),write:n=>JSON.stringify(n)},number:{read:n=>Number.parseFloat(n),write:n=>String(n)},any:{read:n=>n,write:n=>String(n)},string:{read:n=>n,write:n=>String(n)},map:{read:n=>new Map(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n.entries()))},set:{read:n=>new Set(JSON.parse(n)),write:n=>JSON.stringify(Array.from(n))},date:{read:n=>new Date(n),write:n=>n.toISOString()}},customStorageEventName="vueuse-storage";function useStorage(n,t,r,i={}){var g;const{flush:$="pre",deep:V=!0,listenToStorageChanges:re=!0,writeDefaults:ie=!0,mergeDefaults:ae=!1,shallow:oe,window:le=defaultWindow,eventFilter:ue,onError:de=ze=>{console.error(ze)},initOnMounted:he}=i,pe=(oe?shallowRef:ref)(typeof t=="function"?t():t);if(!r)try{r=getSSRHandler("getDefaultStorage",()=>{var ze;return(ze=defaultWindow)==null?void 0:ze.localStorage})()}catch(ze){de(ze)}if(!r)return pe;const _e=toValue(t),Ce=guessSerializerType(_e),xe=(g=i.serializer)!=null?g:StorageSerializers[Ce],{pause:Ie,resume:Ne}=watchPausable(pe,()=>$e(pe.value),{flush:$,deep:V,eventFilter:ue});le&&re&&tryOnMounted(()=>{useEventListener(le,"storage",Ue),useEventListener(le,customStorageEventName,Fe),he&&Ue()}),he||Ue();function Oe(ze,Pt){le&&le.dispatchEvent(new CustomEvent(customStorageEventName,{detail:{key:n,oldValue:ze,newValue:Pt,storageArea:r}}))}function $e(ze){try{const Pt=r.getItem(n);if(ze==null)Oe(Pt,null),r.removeItem(n);else{const qe=xe.write(ze);Pt!==qe&&(r.setItem(n,qe),Oe(Pt,qe))}}catch(Pt){de(Pt)}}function Ve(ze){const Pt=ze?ze.newValue:r.getItem(n);if(Pt==null)return ie&&_e!=null&&r.setItem(n,xe.write(_e)),_e;if(!ze&&ae){const qe=xe.read(Pt);return typeof ae=="function"?ae(qe,_e):Ce==="object"&&!Array.isArray(qe)?{..._e,...qe}:qe}else return typeof Pt!="string"?Pt:xe.read(Pt)}function Ue(ze){if(!(ze&&ze.storageArea!==r)){if(ze&&ze.key==null){pe.value=_e;return}if(!(ze&&ze.key!==n)){Ie();try{(ze==null?void 0:ze.newValue)!==xe.write(pe.value)&&(pe.value=Ve(ze))}catch(Pt){de(Pt)}finally{ze?nextTick(Ne):Ne()}}}}function Fe(ze){Ue(ze.detail)}return pe}function usePreferredDark(n){return useMediaQuery("(prefers-color-scheme: dark)",n)}function useColorMode(n={}){const{selector:t="html",attribute:r="class",initialValue:i="auto",window:g=defaultWindow,storage:$,storageKey:V="vueuse-color-scheme",listenToStorageChanges:re=!0,storageRef:ie,emitAuto:ae,disableTransition:oe=!0}=n,le={auto:"",light:"light",dark:"dark",...n.modes||{}},ue=usePreferredDark({window:g}),de=computed(()=>ue.value?"dark":"light"),he=ie||(V==null?toRef(i):useStorage(V,i,$,{window:g,listenToStorageChanges:re})),pe=computed(()=>he.value==="auto"?de.value:he.value),_e=getSSRHandler("updateHTMLAttrs",(Ne,Oe,$e)=>{const Ve=typeof Ne=="string"?g==null?void 0:g.document.querySelector(Ne):unrefElement(Ne);if(!Ve)return;let Ue;if(oe){Ue=g.document.createElement("style");const Fe="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";Ue.appendChild(document.createTextNode(Fe)),g.document.head.appendChild(Ue)}if(Oe==="class"){const Fe=$e.split(/\s/g);Object.values(le).flatMap(ze=>(ze||"").split(/\s/g)).filter(Boolean).forEach(ze=>{Fe.includes(ze)?Ve.classList.add(ze):Ve.classList.remove(ze)})}else Ve.setAttribute(Oe,$e);oe&&(g.getComputedStyle(Ue).opacity,document.head.removeChild(Ue))});function Ce(Ne){var Oe;_e(t,r,(Oe=le[Ne])!=null?Oe:Ne)}function xe(Ne){n.onChanged?n.onChanged(Ne,Ce):Ce(Ne)}watch(pe,xe,{flush:"post",immediate:!0}),tryOnMounted(()=>xe(pe.value));const Ie=computed({get(){return ae?he.value:pe.value},set(Ne){he.value=Ne}});try{return Object.assign(Ie,{store:he,system:de,state:pe})}catch{return Ie}}function useCssVar(n,t,r={}){const{window:i=defaultWindow,initialValue:g="",observe:$=!1}=r,V=ref(g),re=computed(()=>{var ae;return unrefElement(t)||((ae=i==null?void 0:i.document)==null?void 0:ae.documentElement)});function ie(){var ae;const oe=toValue(n),le=toValue(re);if(le&&i){const ue=(ae=i.getComputedStyle(le).getPropertyValue(oe))==null?void 0:ae.trim();V.value=ue||g}}return $&&useMutationObserver(re,ie,{attributeFilter:["style","class"],window:i}),watch([re,()=>toValue(n)],ie,{immediate:!0}),watch(V,ae=>{var oe;(oe=re.value)!=null&&oe.style&&re.value.style.setProperty(toValue(n),ae)}),V}function useDark(n={}){const{valueDark:t="dark",valueLight:r="",window:i=defaultWindow}=n,g=useColorMode({...n,onChanged:(re,ie)=>{var ae;n.onChanged?(ae=n.onChanged)==null||ae.call(n,re==="dark",ie,re):ie(re)},modes:{dark:t,light:r}}),$=computed(()=>g.system?g.system.value:usePreferredDark({window:i}).value?"dark":"light");return computed({get(){return g.value==="dark"},set(re){const ie=re?"dark":"light";$.value===ie?g.value="auto":g.value=ie}})}function useDocumentVisibility(n={}){const{document:t=defaultDocument}=n;if(!t)return ref("visible");const r=ref(t.visibilityState);return useEventListener(t,"visibilitychange",()=>{r.value=t.visibilityState}),r}function useResizeObserver(n,t,r={}){const{window:i=defaultWindow,...g}=r;let $;const V=useSupported(()=>i&&"ResizeObserver"in i),re=()=>{$&&($.disconnect(),$=void 0)},ie=computed(()=>Array.isArray(n)?n.map(le=>unrefElement(le)):[unrefElement(n)]),ae=watch(ie,le=>{if(re(),V.value&&i){$=new ResizeObserver(t);for(const ue of le)ue&&$.observe(ue,g)}},{immediate:!0,flush:"post"}),oe=()=>{re(),ae()};return tryOnScopeDispose(oe),{isSupported:V,stop:oe}}function useElementBounding(n,t={}){const{reset:r=!0,windowResize:i=!0,windowScroll:g=!0,immediate:$=!0}=t,V=ref(0),re=ref(0),ie=ref(0),ae=ref(0),oe=ref(0),le=ref(0),ue=ref(0),de=ref(0);function he(){const pe=unrefElement(n);if(!pe){r&&(V.value=0,re.value=0,ie.value=0,ae.value=0,oe.value=0,le.value=0,ue.value=0,de.value=0);return}const _e=pe.getBoundingClientRect();V.value=_e.height,re.value=_e.bottom,ie.value=_e.left,ae.value=_e.right,oe.value=_e.top,le.value=_e.width,ue.value=_e.x,de.value=_e.y}return useResizeObserver(n,he),watch(()=>unrefElement(n),pe=>!pe&&he()),useMutationObserver(n,he,{attributeFilter:["style","class"]}),g&&useEventListener("scroll",he,{capture:!0,passive:!0}),i&&useEventListener("resize",he,{passive:!0}),tryOnMounted(()=>{$&&he()}),{height:V,bottom:re,left:ie,right:ae,top:oe,width:le,x:ue,y:de,update:he}}function useElementSize(n,t={width:0,height:0},r={}){const{window:i=defaultWindow,box:g="content-box"}=r,$=computed(()=>{var le,ue;return(ue=(le=unrefElement(n))==null?void 0:le.namespaceURI)==null?void 0:ue.includes("svg")}),V=ref(t.width),re=ref(t.height),{stop:ie}=useResizeObserver(n,([le])=>{const ue=g==="border-box"?le.borderBoxSize:g==="content-box"?le.contentBoxSize:le.devicePixelContentBoxSize;if(i&&$.value){const de=unrefElement(n);if(de){const he=de.getBoundingClientRect();V.value=he.width,re.value=he.height}}else if(ue){const de=Array.isArray(ue)?ue:[ue];V.value=de.reduce((he,{inlineSize:pe})=>he+pe,0),re.value=de.reduce((he,{blockSize:pe})=>he+pe,0)}else V.value=le.contentRect.width,re.value=le.contentRect.height},r);tryOnMounted(()=>{const le=unrefElement(n);le&&(V.value="offsetWidth"in le?le.offsetWidth:t.width,re.value="offsetHeight"in le?le.offsetHeight:t.height)});const ae=watch(()=>unrefElement(n),le=>{V.value=le?t.width:0,re.value=le?t.height:0});function oe(){ie(),ae()}return{width:V,height:re,stop:oe}}function useIntersectionObserver(n,t,r={}){const{root:i,rootMargin:g="0px",threshold:$=.1,window:V=defaultWindow,immediate:re=!0}=r,ie=useSupported(()=>V&&"IntersectionObserver"in V),ae=computed(()=>{const he=toValue(n);return(Array.isArray(he)?he:[he]).map(unrefElement).filter(notNullish)});let oe=noop$5;const le=ref(re),ue=ie.value?watch(()=>[ae.value,unrefElement(i),le.value],([he,pe])=>{if(oe(),!le.value||!he.length)return;const _e=new IntersectionObserver(t,{root:unrefElement(pe),rootMargin:g,threshold:$});he.forEach(Ce=>Ce&&_e.observe(Ce)),oe=()=>{_e.disconnect(),oe=noop$5}},{immediate:re,flush:"post"}):noop$5,de=()=>{oe(),ue(),le.value=!1};return tryOnScopeDispose(de),{isSupported:ie,isActive:le,pause(){oe(),le.value=!1},resume(){le.value=!0},stop:de}}const eventHandlers=["fullscreenchange","webkitfullscreenchange","webkitendfullscreen","mozfullscreenchange","MSFullscreenChange"];function useFullscreen(n,t={}){const{document:r=defaultDocument,autoExit:i=!1}=t,g=computed(()=>{var Ce;return(Ce=unrefElement(n))!=null?Ce:r==null?void 0:r.querySelector("html")}),$=ref(!1),V=computed(()=>["requestFullscreen","webkitRequestFullscreen","webkitEnterFullscreen","webkitEnterFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].find(Ce=>r&&Ce in r||g.value&&Ce in g.value)),re=computed(()=>["exitFullscreen","webkitExitFullscreen","webkitExitFullScreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].find(Ce=>r&&Ce in r||g.value&&Ce in g.value)),ie=computed(()=>["fullScreen","webkitIsFullScreen","webkitDisplayingFullscreen","mozFullScreen","msFullscreenElement"].find(Ce=>r&&Ce in r||g.value&&Ce in g.value)),ae=["fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement"].find(Ce=>r&&Ce in r),oe=useSupported(()=>g.value&&r&&V.value!==void 0&&re.value!==void 0&&ie.value!==void 0),le=()=>ae?(r==null?void 0:r[ae])===g.value:!1,ue=()=>{if(ie.value){if(r&&r[ie.value]!=null)return r[ie.value];{const Ce=g.value;if((Ce==null?void 0:Ce[ie.value])!=null)return!!Ce[ie.value]}}return!1};async function de(){if(!(!oe.value||!$.value)){if(re.value)if((r==null?void 0:r[re.value])!=null)await r[re.value]();else{const Ce=g.value;(Ce==null?void 0:Ce[re.value])!=null&&await Ce[re.value]()}$.value=!1}}async function he(){if(!oe.value||$.value)return;ue()&&await de();const Ce=g.value;V.value&&(Ce==null?void 0:Ce[V.value])!=null&&(await Ce[V.value](),$.value=!0)}async function pe(){await($.value?de():he())}const _e=()=>{const Ce=ue();(!Ce||Ce&&le())&&($.value=Ce)};return useEventListener(r,eventHandlers,_e,!1),useEventListener(()=>unrefElement(g),eventHandlers,_e,!1),i&&tryOnScopeDispose(de),{isSupported:oe,isFullscreen:$,enter:he,exit:de,toggle:pe}}function useLocalStorage(n,t,r={}){const{window:i=defaultWindow}=r;return useStorage(n,t,i==null?void 0:i.localStorage,r)}function useVModel(n,t,r,i={}){var g,$,V;const{clone:re=!1,passive:ie=!1,eventName:ae,deep:oe=!1,defaultValue:le,shouldEmit:ue}=i,de=getCurrentInstance(),he=r||(de==null?void 0:de.emit)||((g=de==null?void 0:de.$emit)==null?void 0:g.bind(de))||((V=($=de==null?void 0:de.proxy)==null?void 0:$.$emit)==null?void 0:V.bind(de==null?void 0:de.proxy));let pe=ae;t||(t="modelValue"),pe=pe||`update:${t.toString()}`;const _e=Ie=>re?typeof re=="function"?re(Ie):cloneFnJSON(Ie):Ie,Ce=()=>isDef$1(n[t])?_e(n[t]):le,xe=Ie=>{ue?ue(Ie)&&he(pe,Ie):he(pe,Ie)};if(ie){const Ie=Ce(),Ne=ref(Ie);let Oe=!1;return watch(()=>n[t],$e=>{Oe||(Oe=!0,Ne.value=_e($e),nextTick(()=>Oe=!1))}),watch(Ne,$e=>{!Oe&&($e!==n[t]||oe)&&xe($e)},{deep:oe}),Ne}else return computed({get(){return Ce()},set(Ie){xe(Ie)}})}function useWindowFocus(n={}){const{window:t=defaultWindow}=n;if(!t)return ref(!1);const r=ref(t.document.hasFocus());return useEventListener(t,"blur",()=>{r.value=!1}),useEventListener(t,"focus",()=>{r.value=!0}),r}function useWindowSize(n={}){const{window:t=defaultWindow,initialWidth:r=Number.POSITIVE_INFINITY,initialHeight:i=Number.POSITIVE_INFINITY,listenOrientation:g=!0,includeScrollbar:$=!0}=n,V=ref(r),re=ref(i),ie=()=>{t&&($?(V.value=t.innerWidth,re.value=t.innerHeight):(V.value=t.document.documentElement.clientWidth,re.value=t.document.documentElement.clientHeight))};if(ie(),tryOnMounted(ie),useEventListener("resize",ie,{passive:!0}),g){const ae=useMediaQuery("(orientation: portrait)");watch(ae,()=>ie())}return{width:V,height:re}}const version="2.13.1",INSTALLED_KEY=Symbol("INSTALLED_KEY"),configProviderContextKey=Symbol(),defaultNamespace="el",statePrefix="is-",_bem=(n,t,r,i,g)=>{let $=`${n}-${t}`;return r&&($+=`-${r}`),i&&($+=`__${i}`),g&&($+=`--${g}`),$},namespaceContextKey=Symbol("namespaceContextKey"),useGetDerivedNamespace=n=>{const t=n||(getCurrentInstance()?inject(namespaceContextKey,ref(defaultNamespace)):ref(defaultNamespace));return computed(()=>unref(t)||defaultNamespace)},useNamespace=(n,t)=>{const r=useGetDerivedNamespace(t);return{namespace:r,b:(pe="")=>_bem(r.value,n,pe,"",""),e:pe=>pe?_bem(r.value,n,"",pe,""):"",m:pe=>pe?_bem(r.value,n,"","",pe):"",be:(pe,_e)=>pe&&_e?_bem(r.value,n,pe,_e,""):"",em:(pe,_e)=>pe&&_e?_bem(r.value,n,"",pe,_e):"",bm:(pe,_e)=>pe&&_e?_bem(r.value,n,pe,"",_e):"",bem:(pe,_e,Ce)=>pe&&_e&&Ce?_bem(r.value,n,pe,_e,Ce):"",is:(pe,..._e)=>{const Ce=_e.length>=1?_e[0]:!0;return pe&&Ce?`${statePrefix}${pe}`:""},cssVar:pe=>{const _e={};for(const Ce in pe)pe[Ce]&&(_e[`--${r.value}-${Ce}`]=pe[Ce]);return _e},cssVarName:pe=>`--${r.value}-${pe}`,cssVarBlock:pe=>{const _e={};for(const Ce in pe)pe[Ce]&&(_e[`--${r.value}-${n}-${Ce}`]=pe[Ce]);return _e},cssVarBlockName:pe=>`--${r.value}-${n}-${pe}`}};var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global;const freeGlobal$1=freeGlobal;var freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal$1||freeSelf||Function("return this")();const root$1=root;var Symbol$1=root$1.Symbol;const Symbol$2=Symbol$1;var objectProto$h=Object.prototype,hasOwnProperty$f=objectProto$h.hasOwnProperty,nativeObjectToString$1=objectProto$h.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(n){var t=hasOwnProperty$f.call(n,symToStringTag$1),r=n[symToStringTag$1];try{n[symToStringTag$1]=void 0;var i=!0}catch{}var g=nativeObjectToString$1.call(n);return i&&(t?n[symToStringTag$1]=r:delete n[symToStringTag$1]),g}var objectProto$g=Object.prototype,nativeObjectToString=objectProto$g.toString;function objectToString(n){return nativeObjectToString.call(n)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(n){return n==null?n===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(n)?getRawTag(n):objectToString(n)}function isObjectLike(n){return n!=null&&typeof n=="object"}var symbolTag$3="[object Symbol]";function isSymbol(n){return typeof n=="symbol"||isObjectLike(n)&&baseGetTag(n)==symbolTag$3}function arrayMap(n,t){for(var r=-1,i=n==null?0:n.length,g=Array(i);++r0){if(++t>=HOT_COUNT)return arguments[0]}else t=0;return n.apply(void 0,arguments)}}function constant(n){return function(){return n}}var defineProperty=function(){try{var n=getNative(Object,"defineProperty");return n({},"",{}),n}catch{}}();const defineProperty$1=defineProperty;var baseSetToString=defineProperty$1?function(n,t){return defineProperty$1(n,"toString",{configurable:!0,enumerable:!1,value:constant(t),writable:!0})}:identity$1;const baseSetToString$1=baseSetToString;var setToString=shortOut(baseSetToString$1);const setToString$1=setToString;function arrayEach(n,t){for(var r=-1,i=n==null?0:n.length;++r-1}var MAX_SAFE_INTEGER$1=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(n,t){var r=typeof n;return t=t??MAX_SAFE_INTEGER$1,!!t&&(r=="number"||r!="symbol"&&reIsUint.test(n))&&n>-1&&n%1==0&&n-1&&n%1==0&&n<=MAX_SAFE_INTEGER}function isArrayLike$1(n){return n!=null&&isLength(n.length)&&!isFunction$3(n)}function isIterateeCall(n,t,r){if(!isObject$4(r))return!1;var i=typeof t;return(i=="number"?isArrayLike$1(r)&&isIndex(t,r.length):i=="string"&&t in r)?eq(r[t],n):!1}function createAssigner(n){return baseRest(function(t,r){var i=-1,g=r.length,$=g>1?r[g-1]:void 0,V=g>2?r[2]:void 0;for($=n.length>3&&typeof $=="function"?(g--,$):void 0,V&&isIterateeCall(r[0],r[1],V)&&($=g<3?void 0:$,g=1),t=Object(t);++i-1}function listCacheSet(n,t){var r=this.__data__,i=assocIndexOf(r,n);return i<0?(++this.size,r.push([n,t])):r[i][1]=t,this}function ListCache(n){var t=-1,r=n==null?0:n.length;for(this.clear();++t0&&r(re)?t>1?baseFlatten(re,t-1,r,i,g):arrayPush(g,re):i||(g[g.length]=re)}return g}function flatten$1(n){var t=n==null?0:n.length;return t?baseFlatten(n,1):[]}function flatRest(n){return setToString$1(overRest(n,void 0,flatten$1),n+"")}var getPrototype=overArg(Object.getPrototypeOf,Object);const getPrototype$1=getPrototype;var objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$6=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$6=objectProto$6.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(n){if(!isObjectLike(n)||baseGetTag(n)!=objectTag$3)return!1;var t=getPrototype$1(n);if(t===null)return!0;var r=hasOwnProperty$6.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&funcToString.call(r)==objectCtorString}function baseSlice(n,t,r){var i=-1,g=n.length;t<0&&(t=-t>g?0:g+t),r=r>g?g:r,r<0&&(r+=g),g=t>r?0:r-t>>>0,t>>>=0;for(var $=Array(g);++i=t?n:t)),n}function clamp$3(n,t,r){return r===void 0&&(r=t,t=void 0),r!==void 0&&(r=toNumber(r),r=r===r?r:0),t!==void 0&&(t=toNumber(t),t=t===t?t:0),baseClamp(toNumber(n),t,r)}function stackClear(){this.__data__=new ListCache,this.size=0}function stackDelete(n){var t=this.__data__,r=t.delete(n);return this.size=t.size,r}function stackGet(n){return this.__data__.get(n)}function stackHas(n){return this.__data__.has(n)}var LARGE_ARRAY_SIZE$1=200;function stackSet(n,t){var r=this.__data__;if(r instanceof ListCache){var i=r.__data__;if(!Map$2||i.lengthre))return!1;var ae=$.get(n),oe=$.get(t);if(ae&&oe)return ae==t&&oe==n;var le=-1,ue=!0,de=r&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for($.set(n,t),$.set(t,n);++le=t||Ve<0||le&&Ue>=$}function Ce(){var $e=now$2();if(_e($e))return xe($e);re=setTimeout(Ce,pe($e))}function xe($e){return re=void 0,ue&&i?de($e):(i=g=void 0,V)}function Ie(){re!==void 0&&clearTimeout(re),ae=0,i=ie=g=re=void 0}function Ne(){return re===void 0?V:xe(now$2())}function Oe(){var $e=now$2(),Ve=_e($e);if(i=arguments,g=this,ie=$e,Ve){if(re===void 0)return he(ie);if(le)return clearTimeout(re),re=setTimeout(Ce,t),de(ie)}return re===void 0&&(re=setTimeout(Ce,t)),V}return Oe.cancel=Ie,Oe.flush=Ne,Oe}function assignMergeValue(n,t,r){(r!==void 0&&!eq(n[t],r)||r===void 0&&!(t in n))&&baseAssignValue(n,t,r)}function isArrayLikeObject(n){return isObjectLike(n)&&isArrayLike$1(n)}function safeGet(n,t){if(!(t==="constructor"&&typeof n[t]=="function")&&t!="__proto__")return n[t]}function toPlainObject(n){return copyObject(n,keysIn(n))}function baseMergeDeep(n,t,r,i,g,$,V){var re=safeGet(n,r),ie=safeGet(t,r),ae=V.get(ie);if(ae){assignMergeValue(n,r,ae);return}var oe=$?$(re,ie,r+"",n,t,V):void 0,le=oe===void 0;if(le){var ue=isArray$4(ie),de=!ue&&isBuffer$2(ie),he=!ue&&!de&&isTypedArray$4(ie);oe=ie,ue||de||he?isArray$4(re)?oe=re:isArrayLikeObject(re)?oe=copyArray$1(re):de?(le=!1,oe=cloneBuffer(ie,!0)):he?(le=!1,oe=cloneTypedArray(ie,!0)):oe=[]:isPlainObject$2(ie)||isArguments$1(ie)?(oe=re,isArguments$1(re)?oe=toPlainObject(re):(!isObject$4(re)||isFunction$3(re))&&(oe=initCloneObject(ie))):le=!1}le&&(V.set(ie,oe),g(oe,ie,i,$,V),V.delete(ie)),assignMergeValue(n,r,oe)}function baseMerge(n,t,r,i,g){n!==t&&baseFor$1(t,function($,V){if(g||(g=new Stack),isObject$4($))baseMergeDeep(n,t,V,r,baseMerge,i,g);else{var re=i?i(safeGet(n,V),$,V+"",n,t,g):void 0;re===void 0&&(re=$),assignMergeValue(n,V,re)}},keysIn)}function arrayIncludesWith(n,t,r){for(var i=-1,g=n==null?0:n.length;++i1),$}),copyObject(n,getAllKeysIn(n),r),i&&(r=baseClone(r,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var g=t.length;g--;)baseUnset(r,t[g]);return r});const omit$1=omit;function baseSet(n,t,r,i){if(!isObject$4(n))return n;t=castPath(t,n);for(var g=-1,$=t.length,V=$-1,re=n;re!=null&&++g<$;){var ie=toKey(t[g]),ae=r;if(ie==="__proto__"||ie==="constructor"||ie==="prototype")return n;if(g!=V){var oe=re[ie];ae=i?i(oe,ie,re):void 0,ae===void 0&&(ae=isObject$4(oe)?oe:isIndex(t[g+1])?[]:{})}assignValue(re,ie,ae),re=re[ie]}return n}function basePickBy(n,t,r){for(var i=-1,g=t.length,$={};++i=LARGE_ARRAY_SIZE){var ae=t?null:createSet$1(n);if(ae)return setToArray(ae);V=!1,g=cacheHas,ie=new SetCache}else ie=t?[]:re;e:for(;++i<$;){var oe=n[i],le=t?t(oe):oe;if(oe=r||oe!==0?oe:0,V&&le===le){for(var ue=ie.length;ue--;)if(ie[ue]===le)continue e;t&&ie.push(le),re.push(oe)}else g(ie,le,r)||(ie!==re&&ie.push(le),re.push(oe))}return re}var union=baseRest(function(n){return baseUniq(baseFlatten(n,1,isArrayLikeObject,!0))});const union$1=union,isUndefined$1=n=>n===void 0,isBoolean$1=n=>typeof n=="boolean",isNumber$2=n=>typeof n=="number",isEmpty=n=>!n&&n!==0||isArray$5(n)&&n.length===0||isObject$6(n)&&!Object.keys(n).length,isElement$1=n=>typeof Element>"u"?!1:n instanceof Element,isPropAbsent=n=>isNil(n),isStringNumber=n=>isString$2(n)?!Number.isNaN(Number(n)):!1,isWindow=n=>n===window;class ElementPlusError extends Error{constructor(t){super(t),this.name="ElementPlusError"}}function throwError$1(n,t){throw new ElementPlusError(`[${n}] ${t}`)}function debugWarn(n,t){}const initial={current:0},zIndex=ref(0),defaultInitialZIndex=2e3,ZINDEX_INJECTION_KEY=Symbol("elZIndexContextKey"),zIndexContextKey=Symbol("zIndexContextKey"),useZIndex=n=>{const t=getCurrentInstance()?inject(ZINDEX_INJECTION_KEY,initial):initial,r=n||(getCurrentInstance()?inject(zIndexContextKey,void 0):void 0),i=computed(()=>{const V=unref(r);return isNumber$2(V)?V:defaultInitialZIndex}),g=computed(()=>i.value+zIndex.value),$=()=>(t.current++,zIndex.value=t.current,g.value);return!isClient&&inject(ZINDEX_INJECTION_KEY),{initialZIndex:i,currentZIndex:g,nextZIndex:$}};var English={name:"en",el:{breadcrumb:{label:"Breadcrumb"},colorpicker:{confirm:"OK",clear:"Clear",defaultLabel:"color picker",description:"current color is {color}. press enter to select a new color.",alphaLabel:"pick alpha value",alphaDescription:"alpha {alpha}, current color is {color}",hueLabel:"pick hue value",hueDescription:"hue {hue}, current color is {color}",svLabel:"pick saturation and brightness value",svDescription:"saturation {saturation}, brightness {brightness}, current color is {color}",predefineDescription:"select {value} as the color"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",dateTablePrompt:"Use the arrow keys and enter to select the day of the month",monthTablePrompt:"Use the arrow keys and enter to select the month",yearTablePrompt:"Use the arrow keys and enter to select the year",selectedDate:"Selected date",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},weeksFull:{sun:"Sunday",mon:"Monday",tue:"Tuesday",wed:"Wednesday",thu:"Thursday",fri:"Friday",sat:"Saturday"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},inputNumber:{decrease:"decrease number",increase:"increase number"},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},mention:{loading:"Loading"},dropdown:{toggleDropdown:"Toggle Dropdown"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:"",page:"Page",prev:"Go to previous page",next:"Go to next page",currentPage:"page {pager}",prevPages:"Previous {pager} pages",nextPages:"Next {pager} pages",deprecationWarning:"Deprecated usages detected, please refer to the el-pagination documentation for more details"},dialog:{close:"Close this dialog"},drawer:{close:"Close this dialog"},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input",close:"Close this dialog"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},slider:{defaultLabel:"slider between {min} and {max}",defaultRangeStartLabel:"pick start value",defaultRangeEndLabel:"pick end value"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum",selectAllLabel:"Select all rows",selectRowLabel:"Select this row",expandRowLabel:"Expand this row",collapseRowLabel:"Collapse this row",sortLabel:"Sort by {column}",filterLabel:"Filter by {column}"},tag:{close:"Close this tag"},tour:{next:"Next",previous:"Previous",finish:"Finish",close:"Close this dialog"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"},carousel:{leftArrow:"Carousel arrow left",rightArrow:"Carousel arrow right",indicator:"Carousel switch to index {index}"}}};const buildTranslator=n=>(t,r)=>translate$1(t,r,unref(n)),translate$1=(n,t,r)=>get$1(r,n,n).replace(/\{(\w+)\}/g,(i,g)=>{var $;return`${($=t==null?void 0:t[g])!=null?$:`{${g}}`}`}),buildLocaleContext=n=>{const t=computed(()=>unref(n).name),r=isRef(n)?n:ref(n);return{lang:t,locale:r,t:buildTranslator(n)}},localeContextKey=Symbol("localeContextKey"),useLocale=n=>{const t=n||inject(localeContextKey,ref());return buildLocaleContext(computed(()=>t.value||English))},epPropKey="__epPropKey",definePropType=n=>n,isEpProp=n=>isObject$6(n)&&!!n[epPropKey],buildProp=(n,t)=>{if(!isObject$6(n)||isEpProp(n))return n;const{values:r,required:i,default:g,type:$,validator:V}=n,ie={type:$,required:!!i,validator:r||V?ae=>{let oe=!1,le=[];if(r&&(le=Array.from(r),hasOwn$1(n,"default")&&le.push(g),oe||(oe=le.includes(ae))),V&&(oe||(oe=V(ae))),!oe&&le.length>0){const ue=[...new Set(le)].map(de=>JSON.stringify(de)).join(", ");warn$2(`Invalid prop: validation failed${t?` for prop "${t}"`:""}. Expected one of [${ue}], got value ${JSON.stringify(ae)}.`)}return oe}:void 0,[epPropKey]:!0};return hasOwn$1(n,"default")&&(ie.default=g),ie},buildProps=n=>fromPairs(Object.entries(n).map(([t,r])=>[t,buildProp(r,t)])),componentSizes=["","default","small","large"],useSizeProp=buildProp({type:String,values:componentSizes,required:!1}),SIZE_INJECTION_KEY=Symbol("size"),useGlobalSize=()=>{const n=inject(SIZE_INJECTION_KEY,{});return computed(()=>unref(n.size)||"")},emptyValuesContextKey=Symbol("emptyValuesContextKey"),DEFAULT_EMPTY_VALUES=["",void 0,null],DEFAULT_VALUE_ON_CLEAR=void 0,useEmptyValuesProps=buildProps({emptyValues:Array,valueOnClear:{type:definePropType([String,Number,Boolean,Function]),default:void 0,validator:n=>(n=isFunction$4(n)?n():n,isArray$5(n)?n.every(t=>!t):!n)}}),useEmptyValues=(n,t)=>{const r=getCurrentInstance()?inject(emptyValuesContextKey,ref({})):ref({}),i=computed(()=>n.emptyValues||r.value.emptyValues||DEFAULT_EMPTY_VALUES),g=computed(()=>isFunction$4(n.valueOnClear)?n.valueOnClear():n.valueOnClear!==void 0?n.valueOnClear:isFunction$4(r.value.valueOnClear)?r.value.valueOnClear():r.value.valueOnClear!==void 0?r.value.valueOnClear:t!==void 0?t:DEFAULT_VALUE_ON_CLEAR),$=V=>{let re=!0;return isArray$5(V)?re=i.value.some(ie=>isEqual$1(V,ie)):re=i.value.includes(V),re};return $(g.value),{emptyValues:i,valueOnClear:g,isEmptyValue:$}},keysOf=n=>Object.keys(n),entriesOf=n=>Object.entries(n),getProp=(n,t,r)=>({get value(){return get$1(n,t,r)},set value(i){set$1(n,t,i)}}),globalConfig=ref();function useGlobalConfig(n,t=void 0){const r=getCurrentInstance()?inject(configProviderContextKey,globalConfig):globalConfig;return n?computed(()=>{var i,g;return(g=(i=r.value)==null?void 0:i[n])!=null?g:t}):r}function useGlobalComponentSettings(n,t){const r=useGlobalConfig(),i=useNamespace(n,computed(()=>{var re;return((re=r.value)==null?void 0:re.namespace)||defaultNamespace})),g=useLocale(computed(()=>{var re;return(re=r.value)==null?void 0:re.locale})),$=useZIndex(computed(()=>{var re;return((re=r.value)==null?void 0:re.zIndex)||defaultInitialZIndex})),V=computed(()=>{var re;return unref(t)||((re=r.value)==null?void 0:re.size)||""});return provideGlobalConfig(computed(()=>unref(r)||{})),{ns:i,locale:g,zIndex:$,size:V}}const provideGlobalConfig=(n,t,r=!1)=>{var i;const g=!!getCurrentInstance(),$=g?useGlobalConfig():void 0,V=(i=t==null?void 0:t.provide)!=null?i:g?provide:void 0;if(!V)return;const re=computed(()=>{const ie=unref(n);return $!=null&&$.value?mergeConfig$1($.value,ie):ie});return V(configProviderContextKey,re),V(localeContextKey,computed(()=>re.value.locale)),V(namespaceContextKey,computed(()=>re.value.namespace)),V(zIndexContextKey,computed(()=>re.value.zIndex)),V(SIZE_INJECTION_KEY,{size:computed(()=>re.value.size||"")}),V(emptyValuesContextKey,computed(()=>({emptyValues:re.value.emptyValues,valueOnClear:re.value.valueOnClear}))),(r||!globalConfig.value)&&(globalConfig.value=re.value),re},mergeConfig$1=(n,t)=>{const r=[...new Set([...keysOf(n),...keysOf(t)])],i={};for(const g of r)i[g]=t[g]!==void 0?t[g]:n[g];return i},makeInstaller=(n=[])=>({version,install:(r,i)=>{r[INSTALLED_KEY]||(r[INSTALLED_KEY]=!0,n.forEach(g=>r.use(g)),i&&provideGlobalConfig(i,r,!0))}}),teleportProps=buildProps({to:{type:definePropType([String,Object]),required:!0},disabled:Boolean});var _export_sfc=(n,t)=>{const r=n.__vccOpts||n;for(const[i,g]of t)r[i]=g;return r};const _sfc_main$30=defineComponent({__name:"teleport",props:teleportProps,setup(n){return(t,r)=>t.disabled?renderSlot(t.$slots,"default",{key:0}):(openBlock(),createBlock(Teleport$1,{key:1,to:t.to},[renderSlot(t.$slots,"default")],8,["to"]))}});var Teleport=_export_sfc(_sfc_main$30,[["__file","/home/runner/work/element-plus/element-plus/packages/components/teleport/src/teleport.vue"]]);const withInstall=(n,t)=>{if(n.install=r=>{for(const i of[n,...Object.values(t??{})])r.component(i.name,i)},t)for(const[r,i]of Object.entries(t))n[r]=i;return n},withInstallFunction=(n,t)=>(n.install=r=>{n._context=r._context,r.config.globalProperties[t]=n},n),withInstallDirective=(n,t)=>(n.install=r=>{r.directive(t,n)},n),withNoopInstall=n=>(n.install=NOOP,n),ElTeleport=withInstall(Teleport),UPDATE_MODEL_EVENT="update:modelValue",CHANGE_EVENT="change",INPUT_EVENT="input",affixProps=buildProps({zIndex:{type:definePropType([Number,String]),default:100},target:{type:String,default:""},offset:{type:Number,default:0},position:{type:String,values:["top","bottom"],default:"top"},teleported:Boolean,appendTo:{type:teleportProps.to.type,default:"body"}}),affixEmits={scroll:({scrollTop:n,fixed:t})=>isNumber$2(n)&&isBoolean$1(t),[CHANGE_EVENT]:n=>isBoolean$1(n)};function easeInOutCubic(n,t,r,i){const g=r-t;return n/=i/2,n<1?g/2*n*n*n+t:g/2*((n-=2)*n*n+2)+t}const rAF=n=>isClient?window.requestAnimationFrame(n):setTimeout(n,16),cAF=n=>isClient?window.cancelAnimationFrame(n):clearTimeout(n),classNameToArray=(n="")=>n.split(" ").filter(t=>!!t.trim()),hasClass=(n,t)=>{if(!n||!t)return!1;if(t.includes(" "))throw new Error("className should not contain space.");return n.classList.contains(t)},addClass=(n,t)=>{!n||!t.trim()||n.classList.add(...classNameToArray(t))},removeClass=(n,t)=>{!n||!t.trim()||n.classList.remove(...classNameToArray(t))},getStyle$1=(n,t)=>{var r;if(!isClient||!n||!t)return"";let i=camelize(t);i==="float"&&(i="cssFloat");try{const g=n.style[i];if(g)return g;const $=(r=document.defaultView)==null?void 0:r.getComputedStyle(n,"");return $?$[i]:""}catch{return n.style[i]}},setStyle=(n,t,r)=>{if(!(!n||!t))if(isObject$6(t))entriesOf(t).forEach(([i,g])=>setStyle(n,i,g));else{const i=camelize(t);n.style[i]=r}};function addUnit(n,t="px"){if(!n&&n!==0)return"";if(isNumber$2(n)||isStringNumber(n))return`${n}${t}`;if(isString$2(n))return n}const isScroll=(n,t)=>{if(!isClient)return!1;const r={undefined:"overflow",true:"overflow-y",false:"overflow-x"}[String(t)],i=getStyle$1(n,r);return["scroll","auto","overlay"].some(g=>i.includes(g))},getScrollContainer=(n,t)=>{if(!isClient)return;let r=n;for(;r;){if([window,document,document.documentElement].includes(r))return window;if(isScroll(r,t))return r;r=r.parentNode}return r};let scrollBarWidth;const getScrollBarWidth=n=>{var t;if(!isClient)return 0;if(scrollBarWidth!==void 0)return scrollBarWidth;const r=document.createElement("div");r.className=`${n}-scrollbar__wrap`,r.style.visibility="hidden",r.style.width="100px",r.style.position="absolute",r.style.top="-9999px",document.body.appendChild(r);const i=r.offsetWidth;r.style.overflow="scroll";const g=document.createElement("div");g.style.width="100%",r.appendChild(g);const $=g.offsetWidth;return(t=r.parentNode)==null||t.removeChild(r),scrollBarWidth=i-$,scrollBarWidth};function scrollIntoView(n,t){if(!isClient)return;if(!t){n.scrollTop=0;return}const r=[];let i=t.offsetParent;for(;i!==null&&n!==i&&n.contains(i);)r.push(i),i=i.offsetParent;const g=t.offsetTop+r.reduce((ie,ae)=>ie+ae.offsetTop,0),$=g+t.offsetHeight,V=n.scrollTop,re=V+n.clientHeight;gre&&(n.scrollTop=$-n.clientHeight)}function animateScrollTo(n,t,r,i,g){const $=Date.now();let V;const re=()=>{const ae=Date.now()-$,oe=easeInOutCubic(ae>i?i:ae,t,r,i);isWindow(n)?n.scrollTo(window.pageXOffset,oe):n.scrollTop=oe,ae{V&&cAF(V)}}const getScrollElement=(n,t)=>isWindow(t)?n.ownerDocument.documentElement:t,getScrollTop=n=>isWindow(n)?window.scrollY:n.scrollTop,COMPONENT_NAME$o="ElAffix",_sfc_main$2$=defineComponent({name:COMPONENT_NAME$o,__name:"affix",props:affixProps,emits:affixEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useNamespace("affix"),V=shallowRef(),re=shallowRef(),ie=shallowRef(),{height:ae}=useWindowSize(),{height:oe,width:le,top:ue,bottom:de,left:he,update:pe}=useElementBounding(re,{windowScroll:!1}),_e=useElementBounding(V),Ce=ref(!1),xe=ref(0),Ie=ref(0),Ne=computed(()=>!i.teleported||!Ce.value),Oe=computed(()=>({height:Ce.value?`${oe.value}px`:"",width:Ce.value?`${le.value}px`:""})),$e=computed(()=>{if(!Ce.value)return{};const ze=addUnit(i.offset);return{height:`${oe.value}px`,width:`${le.value}px`,top:i.position==="top"?ze:"",bottom:i.position==="bottom"?ze:"",left:i.teleported?`${he.value}px`:"",transform:Ie.value?`translateY(${Ie.value}px)`:"",zIndex:i.zIndex}}),Ve=()=>{if(!ie.value)return;xe.value=ie.value instanceof Window?document.documentElement.scrollTop:ie.value.scrollTop||0;const{position:ze,target:Pt,offset:qe}=i,Et=qe+oe.value;if(ze==="top")if(Pt){const kt=_e.bottom.value-Et;Ce.value=qe>ue.value&&_e.bottom.value>0,Ie.value=kt<0?kt:0}else Ce.value=qe>ue.value;else if(Pt){const kt=ae.value-_e.top.value-Et;Ce.value=ae.value-qe_e.top.value,Ie.value=kt<0?-kt:0}else Ce.value=ae.value-qe{if(!Ce.value){pe();return}Ce.value=!1,await nextTick(),pe(),Ce.value=!0},Fe=async()=>{pe(),await nextTick(),g("scroll",{scrollTop:xe.value,fixed:Ce.value})};return watch(Ce,ze=>g(CHANGE_EVENT,ze)),onMounted(()=>{var ze;i.target?(V.value=(ze=document.querySelector(i.target))!=null?ze:void 0,V.value||throwError$1(COMPONENT_NAME$o,`Target does not exist: ${i.target}`)):V.value=document.documentElement,ie.value=getScrollContainer(re.value,!0),pe()}),useEventListener(ie,"scroll",Fe),watchEffect(Ve),t({update:Ve,updateRoot:Ue}),(ze,Pt)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:re,class:normalizeClass(unref($).b()),style:normalizeStyle$1(Oe.value)},[createVNode$1(unref(ElTeleport),{disabled:Ne.value,to:ze.appendTo},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass({[unref($).m("fixed")]:Ce.value}),style:normalizeStyle$1($e.value)},[renderSlot(ze.$slots,"default")],6)]),_:3},8,["disabled","to"])],6))}});var Affix=_export_sfc(_sfc_main$2$,[["__file","/home/runner/work/element-plus/element-plus/packages/components/affix/src/affix.vue"]]);const ElAffix=withInstall(Affix),iconProps=buildProps({size:{type:definePropType([Number,String])},color:{type:String}}),_sfc_main$2_=defineComponent({name:"ElIcon",inheritAttrs:!1,__name:"icon",props:iconProps,setup(n){const t=n,r=useNamespace("icon"),i=computed(()=>{const{size:g,color:$}=t,V=addUnit(g);return!V&&!$?{}:{fontSize:V,"--color":$}});return(g,$)=>(openBlock(),createElementBlock("i",mergeProps({class:unref(r).b(),style:i.value},g.$attrs),[renderSlot(g.$slots,"default")],16))}});var Icon=_export_sfc(_sfc_main$2_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/icon/src/icon.vue"]]);const ElIcon=withInstall(Icon);/*! Element Plus Icons Vue v2.3.2 */var _sfc_main$2Z=defineComponent({name:"AddLocation",__name:"add-location",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M544 384h96a32 32 0 1 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0z"})]))}}),add_location_default=_sfc_main$2Z,_sfc_main2=defineComponent({name:"Aim",__name:"aim",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M512 96a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V128a32 32 0 0 1 32-32m0 576a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V704a32 32 0 0 1 32-32M96 512a32 32 0 0 1 32-32h192a32 32 0 0 1 0 64H128a32 32 0 0 1-32-32m576 0a32 32 0 0 1 32-32h192a32 32 0 1 1 0 64H704a32 32 0 0 1-32-32"})]))}}),aim_default=_sfc_main2,_sfc_main3=defineComponent({name:"AlarmClock",__name:"alarm-clock",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 832a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"m292.288 824.576 55.424 32-48 83.136a32 32 0 1 1-55.424-32zm439.424 0-55.424 32 48 83.136a32 32 0 1 0 55.424-32zM512 512h160a32 32 0 1 1 0 64H480a32 32 0 0 1-32-32V320a32 32 0 0 1 64 0zM90.496 312.256A160 160 0 0 1 312.32 90.496l-46.848 46.848a96 96 0 0 0-128 128L90.56 312.256zm835.264 0A160 160 0 0 0 704 90.496l46.848 46.848a96 96 0 0 1 128 128z"})]))}}),alarm_clock_default=_sfc_main3,_sfc_main4=defineComponent({name:"Apple",__name:"apple",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M599.872 203.776a189.4 189.4 0 0 1 64.384-4.672l2.624.128c31.168 1.024 51.2 4.096 79.488 16.32 37.632 16.128 74.496 45.056 111.488 89.344 96.384 115.264 82.752 372.8-34.752 521.728-7.68 9.728-32 41.6-30.72 39.936a427 427 0 0 1-30.08 35.776c-31.232 32.576-65.28 49.216-110.08 50.048-31.36.64-53.568-5.312-84.288-18.752l-6.528-2.88c-20.992-9.216-30.592-11.904-47.296-11.904-18.112 0-28.608 2.88-51.136 12.672l-6.464 2.816c-28.416 12.224-48.32 18.048-76.16 19.2-74.112 2.752-116.928-38.08-180.672-132.16-96.64-142.08-132.608-349.312-55.04-486.4 46.272-81.92 129.92-133.632 220.672-135.04 32.832-.576 60.288 6.848 99.648 22.72 27.136 10.88 34.752 13.76 37.376 14.272 16.256-20.16 27.776-36.992 34.56-50.24 13.568-26.304 27.2-59.968 40.704-100.8a32 32 0 1 1 60.8 20.224c-12.608 37.888-25.408 70.4-38.528 97.664m-51.52 78.08c-14.528 17.792-31.808 37.376-51.904 58.816a32 32 0 1 1-46.72-43.776l12.288-13.248c-28.032-11.2-61.248-26.688-95.68-26.112-70.4 1.088-135.296 41.6-171.648 105.792C121.6 492.608 176 684.16 247.296 788.992c34.816 51.328 76.352 108.992 130.944 106.944 52.48-2.112 72.32-34.688 135.872-34.688s81.28 34.688 136.96 33.536c56.448-1.088 75.776-39.04 126.848-103.872 107.904-136.768 107.904-362.752 35.776-449.088-72.192-86.272-124.672-84.096-151.68-85.12-41.472-4.288-81.6 12.544-113.664 25.152"})]))}}),apple_default=_sfc_main4,_sfc_main5=defineComponent({name:"ArrowDownBold",__name:"arrow-down-bold",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M104.704 338.752a64 64 0 0 1 90.496 0l316.8 316.8 316.8-316.8a64 64 0 0 1 90.496 90.496L557.248 791.296a64 64 0 0 1-90.496 0L104.704 429.248a64 64 0 0 1 0-90.496"})]))}}),arrow_down_bold_default=_sfc_main5,_sfc_main6=defineComponent({name:"ArrowDown",__name:"arrow-down",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M831.872 340.864 512 652.672 192.128 340.864a30.59 30.59 0 0 0-42.752 0 29.12 29.12 0 0 0 0 41.6L489.664 714.24a32 32 0 0 0 44.672 0l340.288-331.712a29.12 29.12 0 0 0 0-41.728 30.59 30.59 0 0 0-42.752 0z"})]))}}),arrow_down_default=_sfc_main6,_sfc_main7=defineComponent({name:"ArrowLeftBold",__name:"arrow-left-bold",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M685.248 104.704a64 64 0 0 1 0 90.496L368.448 512l316.8 316.8a64 64 0 0 1-90.496 90.496L232.704 557.248a64 64 0 0 1 0-90.496l362.048-362.048a64 64 0 0 1 90.496 0"})]))}}),arrow_left_bold_default=_sfc_main7,_sfc_main8=defineComponent({name:"ArrowLeft",__name:"arrow-left",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M609.408 149.376 277.76 489.6a32 32 0 0 0 0 44.672l331.648 340.352a29.12 29.12 0 0 0 41.728 0 30.59 30.59 0 0 0 0-42.752L339.264 511.936l311.872-319.872a30.59 30.59 0 0 0 0-42.688 29.12 29.12 0 0 0-41.728 0"})]))}}),arrow_left_default=_sfc_main8,_sfc_main9=defineComponent({name:"ArrowRightBold",__name:"arrow-right-bold",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M338.752 104.704a64 64 0 0 0 0 90.496l316.8 316.8-316.8 316.8a64 64 0 0 0 90.496 90.496l362.048-362.048a64 64 0 0 0 0-90.496L429.248 104.704a64 64 0 0 0-90.496 0"})]))}}),arrow_right_bold_default=_sfc_main9,_sfc_main10=defineComponent({name:"ArrowRight",__name:"arrow-right",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M340.864 149.312a30.59 30.59 0 0 0 0 42.752L652.736 512 340.864 831.872a30.59 30.59 0 0 0 0 42.752 29.12 29.12 0 0 0 41.728 0L714.24 534.336a32 32 0 0 0 0-44.672L382.592 149.376a29.12 29.12 0 0 0-41.728 0z"})]))}}),arrow_right_default=_sfc_main10,_sfc_main11=defineComponent({name:"ArrowUpBold",__name:"arrow-up-bold",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M104.704 685.248a64 64 0 0 0 90.496 0l316.8-316.8 316.8 316.8a64 64 0 0 0 90.496-90.496L557.248 232.704a64 64 0 0 0-90.496 0L104.704 594.752a64 64 0 0 0 0 90.496"})]))}}),arrow_up_bold_default=_sfc_main11,_sfc_main12=defineComponent({name:"ArrowUp",__name:"arrow-up",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m488.832 344.32-339.84 356.672a32 32 0 0 0 0 44.16l.384.384a29.44 29.44 0 0 0 42.688 0l320-335.872 319.872 335.872a29.44 29.44 0 0 0 42.688 0l.384-.384a32 32 0 0 0 0-44.16L535.168 344.32a32 32 0 0 0-46.336 0"})]))}}),arrow_up_default=_sfc_main12,_sfc_main13=defineComponent({name:"Avatar",__name:"avatar",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M628.736 528.896A416 416 0 0 1 928 928H96a415.87 415.87 0 0 1 299.264-399.104L512 704zM720 304a208 208 0 1 1-416 0 208 208 0 0 1 416 0"})]))}}),avatar_default=_sfc_main13,_sfc_main14=defineComponent({name:"Back",__name:"back",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 480h640a32 32 0 1 1 0 64H224a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"m237.248 512 265.408 265.344a32 32 0 0 1-45.312 45.312l-288-288a32 32 0 0 1 0-45.312l288-288a32 32 0 1 1 45.312 45.312z"})]))}}),back_default=_sfc_main14,_sfc_main15=defineComponent({name:"Baseball",__name:"baseball",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M195.2 828.8a448 448 0 1 1 633.6-633.6 448 448 0 0 1-633.6 633.6m45.248-45.248a384 384 0 1 0 543.104-543.104 384 384 0 0 0-543.104 543.104"}),createBaseVNode("path",{fill:"currentColor",d:"M497.472 96.896c22.784 4.672 44.416 9.472 64.896 14.528a256.128 256.128 0 0 0 350.208 350.208c5.056 20.48 9.856 42.112 14.528 64.896A320.128 320.128 0 0 1 497.472 96.896M108.48 491.904a320.128 320.128 0 0 1 423.616 423.68c-23.04-3.648-44.992-7.424-65.728-11.52a256.128 256.128 0 0 0-346.496-346.432 1737 1737 0 0 1-11.392-65.728"})]))}}),baseball_default=_sfc_main15,_sfc_main16=defineComponent({name:"Basketball",__name:"basketball",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M778.752 788.224a382.46 382.46 0 0 0 116.032-245.632 256.51 256.51 0 0 0-241.728-13.952 762.9 762.9 0 0 1 125.696 259.584m-55.04 44.224a699.65 699.65 0 0 0-125.056-269.632 256.13 256.13 0 0 0-56.064 331.968 382.7 382.7 0 0 0 181.12-62.336m-254.08 61.248A320.13 320.13 0 0 1 557.76 513.6a716 716 0 0 0-48.192-48.128 320.13 320.13 0 0 1-379.264 88.384 382.4 382.4 0 0 0 110.144 229.696 382.4 382.4 0 0 0 229.184 110.08zM129.28 481.088a256.13 256.13 0 0 0 331.072-56.448 699.65 699.65 0 0 0-268.8-124.352 382.66 382.66 0 0 0-62.272 180.8m106.56-235.84a762.9 762.9 0 0 1 258.688 125.056 256.51 256.51 0 0 0-13.44-241.088A382.46 382.46 0 0 0 235.84 245.248m318.08-114.944c40.576 89.536 37.76 193.92-8.448 281.344a780 780 0 0 1 66.176 66.112 320.83 320.83 0 0 1 282.112-8.128 382.4 382.4 0 0 0-110.144-229.12 382.4 382.4 0 0 0-229.632-110.208zM828.8 828.8a448 448 0 1 1-633.6-633.6 448 448 0 0 1 633.6 633.6"})]))}}),basketball_default=_sfc_main16,_sfc_main17=defineComponent({name:"BellFilled",__name:"bell-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 832a128 128 0 0 1-256 0zm192-64H134.4a38.4 38.4 0 0 1 0-76.8H192V448c0-154.88 110.08-284.16 256.32-313.6a64 64 0 1 1 127.36 0A320.13 320.13 0 0 1 832 448v243.2h57.6a38.4 38.4 0 0 1 0 76.8z"})]))}}),bell_filled_default=_sfc_main17,_sfc_main18=defineComponent({name:"Bell",__name:"bell",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a64 64 0 0 1 64 64v64H448v-64a64 64 0 0 1 64-64"}),createBaseVNode("path",{fill:"currentColor",d:"M256 768h512V448a256 256 0 1 0-512 0zm256-640a320 320 0 0 1 320 320v384H192V448a320 320 0 0 1 320-320"}),createBaseVNode("path",{fill:"currentColor",d:"M96 768h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32m352 128h128a64 64 0 0 1-128 0"})]))}}),bell_default=_sfc_main18,_sfc_main19=defineComponent({name:"Bicycle",__name:"bicycle",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),createBaseVNode("path",{fill:"currentColor",d:"M288 672h320q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"}),createBaseVNode("path",{fill:"currentColor",d:"M480 192a32 32 0 0 1 0-64h160a32 32 0 0 1 31.04 24.256l96 384a32 32 0 0 1-62.08 15.488L615.04 192zM96 384a32 32 0 0 1 0-64h128a32 32 0 0 1 30.336 21.888l64 192a32 32 0 1 1-60.672 20.224L200.96 384z"}),createBaseVNode("path",{fill:"currentColor",d:"m373.376 599.808-42.752-47.616 320-288 42.752 47.616z"})]))}}),bicycle_default=_sfc_main19,_sfc_main20=defineComponent({name:"BottomLeft",__name:"bottom-left",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768h416a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V352a32 32 0 0 1 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M246.656 822.656a32 32 0 0 1-45.312-45.312l544-544a32 32 0 0 1 45.312 45.312z"})]))}}),bottom_left_default=_sfc_main20,_sfc_main21=defineComponent({name:"BottomRight",__name:"bottom-right",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 768a32 32 0 1 0 0 64h448a32 32 0 0 0 32-32V352a32 32 0 0 0-64 0v416z"}),createBaseVNode("path",{fill:"currentColor",d:"M777.344 822.656a32 32 0 0 0 45.312-45.312l-544-544a32 32 0 0 0-45.312 45.312z"})]))}}),bottom_right_default=_sfc_main21,_sfc_main22=defineComponent({name:"Bottom",__name:"bottom",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 805.888V168a32 32 0 1 0-64 0v637.888L246.656 557.952a30.72 30.72 0 0 0-45.312 0 35.52 35.52 0 0 0 0 48.064l288 306.048a30.72 30.72 0 0 0 45.312 0l288-306.048a35.52 35.52 0 0 0 0-48 30.72 30.72 0 0 0-45.312 0L544 805.824z"})]))}}),bottom_default=_sfc_main22,_sfc_main23=defineComponent({name:"Bowl",__name:"bowl",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M714.432 704a351.74 351.74 0 0 0 148.16-256H161.408a351.74 351.74 0 0 0 148.16 256zM288 766.592A415.68 415.68 0 0 1 96 416a32 32 0 0 1 32-32h768a32 32 0 0 1 32 32 415.68 415.68 0 0 1-192 350.592V832a64 64 0 0 1-64 64H352a64 64 0 0 1-64-64zM493.248 320h-90.496l254.4-254.4a32 32 0 1 1 45.248 45.248zm187.328 0h-128l269.696-155.712a32 32 0 0 1 32 55.424zM352 768v64h320v-64z"})]))}}),bowl_default=_sfc_main23,_sfc_main24=defineComponent({name:"Box",__name:"box",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M317.056 128 128 344.064V896h768V344.064L706.944 128zm-14.528-64h418.944a32 32 0 0 1 24.064 10.88l206.528 236.096A32 32 0 0 1 960 332.032V928a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V332.032a32 32 0 0 1 7.936-21.12L278.4 75.008A32 32 0 0 1 302.528 64"}),createBaseVNode("path",{fill:"currentColor",d:"M64 320h896v64H64z"}),createBaseVNode("path",{fill:"currentColor",d:"M448 327.872V640h128V327.872L526.08 128h-28.16zM448 64h128l64 256v352a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V320z"})]))}}),box_default=_sfc_main24,_sfc_main25=defineComponent({name:"Briefcase",__name:"briefcase",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 320V128h384v192h192v192H128V320zM128 576h768v320H128zm256-256h256.064V192H384z"})]))}}),briefcase_default=_sfc_main25,_sfc_main26=defineComponent({name:"BrushFilled",__name:"brush-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M608 704v160a96 96 0 0 1-192 0V704h-96a128 128 0 0 1-128-128h640a128 128 0 0 1-128 128zM192 512V128.064h640V512z"})]))}}),brush_filled_default=_sfc_main26,_sfc_main27=defineComponent({name:"Brush",__name:"brush",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 448H128v192a64 64 0 0 0 64 64h192v192h256V704h192a64 64 0 0 0 64-64zm-770.752-64c0-47.552 5.248-90.24 15.552-128 14.72-54.016 42.496-107.392 83.2-160h417.28l-15.36 70.336L736 96h211.2c-24.832 42.88-41.92 96.256-51.2 160a664 664 0 0 0-6.144 128H960v256a128 128 0 0 1-128 128H704v160a32 32 0 0 1-32 32H352a32 32 0 0 1-32-32V768H192A128 128 0 0 1 64 640V384zm64 0h636.544c-2.048-45.824.256-91.584 6.848-137.216 4.48-30.848 10.688-59.776 18.688-86.784h-96.64l-221.12 141.248L561.92 160H256.512c-25.856 37.888-43.776 75.456-53.952 112.832-8.768 32.064-13.248 69.12-13.312 111.168"})]))}}),brush_default=_sfc_main27,_sfc_main28=defineComponent({name:"Burger",__name:"burger",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 512a32 32 0 0 0-32 32v64a32 32 0 0 0 30.08 32H864a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32zm736-58.56A96 96 0 0 1 960 544v64a96 96 0 0 1-51.968 85.312L855.36 833.6a96 96 0 0 1-89.856 62.272H258.496A96 96 0 0 1 168.64 833.6l-52.608-140.224A96 96 0 0 1 64 608v-64a96 96 0 0 1 64-90.56V448a384 384 0 1 1 768 5.44M832 448a320 320 0 0 0-640 0zM512 704H188.352l40.192 107.136a32 32 0 0 0 29.952 20.736h507.008a32 32 0 0 0 29.952-20.736L835.648 704z"})]))}}),burger_default=_sfc_main28,_sfc_main29=defineComponent({name:"Calendar",__name:"calendar",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v512h768V192H768v32a32 32 0 1 1-64 0v-32H320v32a32 32 0 0 1-64 0v-32H128v128h768v64zm192-256h384V96a32 32 0 1 1 64 0v32h160a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h160V96a32 32 0 0 1 64 0zm-32 384h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 0 1 0 64h-64a32 32 0 0 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m192-192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64m0 192h64a32 32 0 1 1 0 64h-64a32 32 0 1 1 0-64"})]))}}),calendar_default=_sfc_main29,_sfc_main30=defineComponent({name:"CameraFilled",__name:"camera-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 224a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h704a64 64 0 0 0 64-64V288a64 64 0 0 0-64-64H748.416l-46.464-92.672A64 64 0 0 0 644.736 96H379.328a64 64 0 0 0-57.216 35.392L275.776 224zm352 435.2a115.2 115.2 0 1 0 0-230.4 115.2 115.2 0 0 0 0 230.4m0 140.8a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),camera_filled_default=_sfc_main30,_sfc_main31=defineComponent({name:"Camera",__name:"camera",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 256H128v576h768zm-199.424-64-32.064-64h-304.96l-32 64zM96 192h160l46.336-92.608A64 64 0 0 1 359.552 64h304.96a64 64 0 0 1 57.216 35.328L768.192 192H928a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32m416 512a160 160 0 1 0 0-320 160 160 0 0 0 0 320m0 64a224 224 0 1 1 0-448 224 224 0 0 1 0 448"})]))}}),camera_default=_sfc_main31,_sfc_main32=defineComponent({name:"CaretBottom",__name:"caret-bottom",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m192 384 320 384 320-384z"})]))}}),caret_bottom_default=_sfc_main32,_sfc_main33=defineComponent({name:"CaretLeft",__name:"caret-left",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M672 192 288 511.936 672 832z"})]))}}),caret_left_default=_sfc_main33,_sfc_main34=defineComponent({name:"CaretRight",__name:"caret-right",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 192v640l384-320.064z"})]))}}),caret_right_default=_sfc_main34,_sfc_main35=defineComponent({name:"CaretTop",__name:"caret-top",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 320 192 704h639.936z"})]))}}),caret_top_default=_sfc_main35,_sfc_main36=defineComponent({name:"Cellphone",__name:"cellphone",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 128a64 64 0 0 0-64 64v640a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h512a128 128 0 0 1 128 128v640a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V192A128 128 0 0 1 256 64m128 128h256a32 32 0 1 1 0 64H384a32 32 0 0 1 0-64m128 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),cellphone_default=_sfc_main36,_sfc_main37=defineComponent({name:"ChatDotRound",__name:"chat-dot-round",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 563.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),chat_dot_round_default=_sfc_main37,_sfc_main38=defineComponent({name:"ChatDotSquare",__name:"chat-dot-square",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 499.2a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m192 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4m-384 0a51.2 51.2 0 1 1 0-102.4 51.2 51.2 0 0 1 0 102.4"})]))}}),chat_dot_square_default=_sfc_main38,_sfc_main39=defineComponent({name:"ChatLineRound",__name:"chat-line-round",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 135.296-45.12 23.68 11.84C388.096 849.536 448.576 864 512 864c211.84 0 384-166.784 384-352S723.84 160 512 160 128 326.784 128 512c0 69.12 24.96 139.264 70.848 199.232l22.08 28.8-46.272 115.584zm-45.248 82.56A32 32 0 0 1 89.6 896l58.368-145.92C94.72 680.32 64 596.864 64 512 64 299.904 256 96 512 96s448 203.904 448 416-192 416-448 416a461.06 461.06 0 0 1-206.912-48.384l-175.616 58.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M352 576h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m32-192h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),chat_line_round_default=_sfc_main39,_sfc_main40=defineComponent({name:"ChatLineSquare",__name:"chat-line-square",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 826.88 273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"}),createBaseVNode("path",{fill:"currentColor",d:"M352 512h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m0-192h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),chat_line_square_default=_sfc_main40,_sfc_main41=defineComponent({name:"ChatRound",__name:"chat-round",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m174.72 855.68 130.048-43.392 23.424 11.392C382.4 849.984 444.352 864 512 864c223.744 0 384-159.872 384-352 0-192.832-159.104-352-384-352S128 319.168 128 512a341.12 341.12 0 0 0 69.248 204.288l21.632 28.8-44.16 110.528zm-45.248 82.56A32 32 0 0 1 89.6 896l56.512-141.248A405.12 405.12 0 0 1 64 512C64 299.904 235.648 96 512 96s448 203.904 448 416-173.44 416-448 416c-79.68 0-150.848-17.152-211.712-46.72l-170.88 56.96z"})]))}}),chat_round_default=_sfc_main41,_sfc_main42=defineComponent({name:"ChatSquare",__name:"chat-square",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.536 736H800a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64H224a64 64 0 0 0-64 64v570.88zM296 800 147.968 918.4A32 32 0 0 1 96 893.44V256a128 128 0 0 1 128-128h576a128 128 0 0 1 128 128v416a128 128 0 0 1-128 128z"})]))}}),chat_square_default=_sfc_main42,_sfc_main43=defineComponent({name:"Check",__name:"check",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M406.656 706.944 195.84 496.256a32 32 0 1 0-45.248 45.248l256 256 512-512a32 32 0 0 0-45.248-45.248L406.592 706.944z"})]))}}),check_default=_sfc_main43,_sfc_main44=defineComponent({name:"Checked",__name:"checked",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160.064v64H704zM311.616 537.28l-45.312 45.248L447.36 763.52l316.8-316.8-45.312-45.184L447.36 673.024zM384 192V96h256v96z"})]))}}),checked_default=_sfc_main44,_sfc_main45=defineComponent({name:"Cherry",__name:"cherry",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M261.056 449.6c13.824-69.696 34.88-128.96 63.36-177.728 23.744-40.832 61.12-88.64 112.256-143.872H320a32 32 0 0 1 0-64h384a32 32 0 1 1 0 64H554.752c14.912 39.168 41.344 86.592 79.552 141.76 47.36 68.48 84.8 106.752 106.304 114.304a224 224 0 1 1-84.992 14.784c-22.656-22.912-47.04-53.76-73.92-92.608-38.848-56.128-67.008-105.792-84.352-149.312-55.296 58.24-94.528 107.52-117.76 147.2-23.168 39.744-41.088 88.768-53.568 147.072a224.064 224.064 0 1 1-64.96-1.6M288 832a160 160 0 1 0 0-320 160 160 0 0 0 0 320m448-64a160 160 0 1 0 0-320 160 160 0 0 0 0 320"})]))}}),cherry_default=_sfc_main45,_sfc_main46=defineComponent({name:"Chicken",__name:"chicken",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M349.952 716.992 478.72 588.16a106.7 106.7 0 0 1-26.176-19.072 106.7 106.7 0 0 1-19.072-26.176L304.704 671.744c.768 3.072 1.472 6.144 2.048 9.216l2.048 31.936 31.872 1.984c3.136.64 6.208 1.28 9.28 2.112m57.344 33.152a128 128 0 1 1-216.32 114.432l-1.92-32-32-1.92a128 128 0 1 1 114.432-216.32L416.64 469.248c-2.432-101.44 58.112-239.104 149.056-330.048 107.328-107.328 231.296-85.504 316.8 0 85.44 85.44 107.328 209.408 0 316.8-91.008 90.88-228.672 151.424-330.112 149.056L407.296 750.08zm90.496-226.304c49.536 49.536 233.344-7.04 339.392-113.088 78.208-78.208 63.232-163.072 0-226.304-63.168-63.232-148.032-78.208-226.24 0C504.896 290.496 448.32 474.368 497.792 523.84M244.864 708.928a64 64 0 1 0-59.84 59.84l56.32-3.52zm8.064 127.68a64 64 0 1 0 59.84-59.84l-56.32 3.52z"})]))}}),chicken_default=_sfc_main46,_sfc_main47=defineComponent({name:"ChromeFilled",__name:"chrome-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M938.67 512.01c0-44.59-6.82-87.6-19.54-128H682.67a212.37 212.37 0 0 1 42.67 128c.06 38.71-10.45 76.7-30.42 109.87l-182.91 316.8c235.65-.01 426.66-191.02 426.66-426.67"}),createBaseVNode("path",{fill:"currentColor",d:"M576.79 401.63a127.9 127.9 0 0 0-63.56-17.6c-22.36-.22-44.39 5.43-63.89 16.38s-35.79 26.82-47.25 46.02a128 128 0 0 0-2.16 127.44l1.24 2.13a127.9 127.9 0 0 0 46.36 46.61 127.9 127.9 0 0 0 63.38 17.44c22.29.2 44.24-5.43 63.68-16.33a127.94 127.94 0 0 0 47.16-45.79v-.01l1.11-1.92a127.98 127.98 0 0 0 .29-127.46 127.96 127.96 0 0 0-46.36-46.91"}),createBaseVNode("path",{fill:"currentColor",d:"M394.45 333.96A213.34 213.34 0 0 1 512 298.67h369.58A426.5 426.5 0 0 0 512 85.34a425.6 425.6 0 0 0-171.74 35.98 425.6 425.6 0 0 0-142.62 102.22l118.14 204.63a213.4 213.4 0 0 1 78.67-94.21m117.56 604.72H512zm-97.25-236.73a213.3 213.3 0 0 1-89.54-86.81L142.48 298.6c-36.35 62.81-57.13 135.68-57.13 213.42 0 203.81 142.93 374.22 333.95 416.55h.04l118.19-204.71a213.3 213.3 0 0 1-122.77-21.91"})]))}}),chrome_filled_default=_sfc_main47,_sfc_main48=defineComponent({name:"CircleCheckFilled",__name:"circle-check-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),circle_check_filled_default=_sfc_main48,_sfc_main49=defineComponent({name:"CircleCheck",__name:"circle-check",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M745.344 361.344a32 32 0 0 1 45.312 45.312l-288 288a32 32 0 0 1-45.312 0l-160-160a32 32 0 1 1 45.312-45.312L480 626.752z"})]))}}),circle_check_default=_sfc_main49,_sfc_main50=defineComponent({name:"CircleCloseFilled",__name:"circle-close-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 393.664L407.936 353.6a38.4 38.4 0 1 0-54.336 54.336L457.664 512 353.6 616.064a38.4 38.4 0 1 0 54.336 54.336L512 566.336 616.064 670.4a38.4 38.4 0 1 0 54.336-54.336L566.336 512 670.4 407.936a38.4 38.4 0 1 0-54.336-54.336z"})]))}}),circle_close_filled_default=_sfc_main50,_sfc_main51=defineComponent({name:"CircleClose",__name:"circle-close",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m466.752 512-90.496-90.496a32 32 0 0 1 45.248-45.248L512 466.752l90.496-90.496a32 32 0 1 1 45.248 45.248L557.248 512l90.496 90.496a32 32 0 1 1-45.248 45.248L512 557.248l-90.496 90.496a32 32 0 0 1-45.248-45.248z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_close_default=_sfc_main51,_sfc_main52=defineComponent({name:"CirclePlusFilled",__name:"circle-plus-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-38.4 409.6H326.4a38.4 38.4 0 1 0 0 76.8h147.2v147.2a38.4 38.4 0 0 0 76.8 0V550.4h147.2a38.4 38.4 0 0 0 0-76.8H550.4V326.4a38.4 38.4 0 1 0-76.8 0z"})]))}}),circle_plus_filled_default=_sfc_main52,_sfc_main53=defineComponent({name:"CirclePlus",__name:"circle-plus",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"M480 672V352a32 32 0 1 1 64 0v320a32 32 0 0 1-64 0"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),circle_plus_default=_sfc_main53,_sfc_main54=defineComponent({name:"Clock",__name:"clock",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M480 256a32 32 0 0 1 32 32v256a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32"})]))}}),clock_default=_sfc_main54,_sfc_main55=defineComponent({name:"CloseBold",__name:"close-bold",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M195.2 195.2a64 64 0 0 1 90.496 0L512 421.504 738.304 195.2a64 64 0 0 1 90.496 90.496L602.496 512 828.8 738.304a64 64 0 0 1-90.496 90.496L512 602.496 285.696 828.8a64 64 0 0 1-90.496-90.496L421.504 512 195.2 285.696a64 64 0 0 1 0-90.496"})]))}}),close_bold_default=_sfc_main55,_sfc_main56=defineComponent({name:"Close",__name:"close",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"})]))}}),close_default=_sfc_main56,_sfc_main57=defineComponent({name:"Cloudy",__name:"cloudy",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M598.4 831.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 831.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 381.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"})]))}}),cloudy_default=_sfc_main57,_sfc_main58=defineComponent({name:"CoffeeCup",__name:"coffee-cup",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 192a192 192 0 1 1-8 383.808A256.13 256.13 0 0 1 512 768H320A256 256 0 0 1 64 512V160a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v256a128 128 0 1 0 0-256M96 832h640a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-640v320a192 192 0 0 0 192 192h192a192 192 0 0 0 192-192V192z"})]))}}),coffee_cup_default=_sfc_main58,_sfc_main59=defineComponent({name:"Coffee",__name:"coffee",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M822.592 192h14.272a32 32 0 0 1 31.616 26.752l21.312 128A32 32 0 0 1 858.24 384h-49.344l-39.04 546.304A32 32 0 0 1 737.92 960H285.824a32 32 0 0 1-32-29.696L214.912 384H165.76a32 32 0 0 1-31.552-37.248l21.312-128A32 32 0 0 1 187.136 192h14.016l-6.72-93.696A32 32 0 0 1 226.368 64h571.008a32 32 0 0 1 31.936 34.304zm-64.128 0 4.544-64H260.736l4.544 64zm-548.16 128H820.48l-10.688-64H214.208l-10.688 64zm68.736 64 36.544 512H708.16l36.544-512z"})]))}}),coffee_default=_sfc_main59,_sfc_main60=defineComponent({name:"Coin",__name:"coin",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m161.92 580.736 29.888 58.88C171.328 659.776 160 681.728 160 704c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 615.808 928 657.664 928 704c0 129.728-188.544 224-416 224S96 833.728 96 704c0-46.592 24.32-88.576 65.92-123.264"}),createBaseVNode("path",{fill:"currentColor",d:"m161.92 388.736 29.888 58.88C171.328 467.84 160 489.792 160 512c0 82.304 155.328 160 352 160s352-77.696 352-160c0-22.272-11.392-44.16-31.808-64.32l30.464-58.432C903.936 423.808 928 465.664 928 512c0 129.728-188.544 224-416 224S96 641.728 96 512c0-46.592 24.32-88.576 65.92-123.264"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544c-227.456 0-416-94.272-416-224S284.544 96 512 96s416 94.272 416 224-188.544 224-416 224m0-64c196.672 0 352-77.696 352-160S708.672 160 512 160s-352 77.696-352 160 155.328 160 352 160"})]))}}),coin_default=_sfc_main60,_sfc_main61=defineComponent({name:"ColdDrink",__name:"cold-drink",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 64a192 192 0 1 1-69.952 370.88L480 725.376V896h96a32 32 0 1 1 0 64H320a32 32 0 1 1 0-64h96V725.376L76.8 273.536a64 64 0 0 1-12.8-38.4v-10.688a32 32 0 0 1 32-32h71.808l-65.536-83.84a32 32 0 0 1 50.432-39.424l96.256 123.264h337.728A192.06 192.06 0 0 1 768 64M656.896 192.448H800a32 32 0 0 1 32 32v10.624a64 64 0 0 1-12.8 38.4l-80.448 107.2a128 128 0 1 0-81.92-188.16v-.064zm-357.888 64 129.472 165.76a32 32 0 0 1-50.432 39.36l-160.256-205.12H144l304 404.928 304-404.928z"})]))}}),cold_drink_default=_sfc_main61,_sfc_main62=defineComponent({name:"CollectionTag",__name:"collection-tag",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 128v698.88l196.032-156.864a96 96 0 0 1 119.936 0L768 826.816V128zm-32-64h576a32 32 0 0 1 32 32v797.44a32 32 0 0 1-51.968 24.96L531.968 720a32 32 0 0 0-39.936 0L243.968 918.4A32 32 0 0 1 192 893.44V96a32 32 0 0 1 32-32"})]))}}),collection_tag_default=_sfc_main62,_sfc_main63=defineComponent({name:"Collection",__name:"collection",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 736h640V128H256a64 64 0 0 0-64 64zm64-672h608a32 32 0 0 1 32 32v672a32 32 0 0 1-32 32H160l-32 57.536V192A128 128 0 0 1 256 64"}),createBaseVNode("path",{fill:"currentColor",d:"M240 800a48 48 0 1 0 0 96h592v-96zm0-64h656v160a64 64 0 0 1-64 64H240a112 112 0 0 1 0-224m144-608v250.88l96-76.8 96 76.8V128zm-64-64h320v381.44a32 32 0 0 1-51.968 24.96L480 384l-108.032 86.4A32 32 0 0 1 320 445.44z"})]))}}),collection_default=_sfc_main63,_sfc_main64=defineComponent({name:"Comment",__name:"comment",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M736 504a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112m-224 0a56 56 0 1 1 0-112 56 56 0 0 1 0 112M128 128v640h192v160l224-160h352V128z"})]))}}),comment_default=_sfc_main64,_sfc_main65=defineComponent({name:"Compass",__name:"compass",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M725.888 315.008C676.48 428.672 624 513.28 568.576 568.64c-55.424 55.424-139.968 107.904-253.568 157.312a12.8 12.8 0 0 1-16.896-16.832c49.536-113.728 102.016-198.272 157.312-253.632 55.36-55.296 139.904-107.776 253.632-157.312a12.8 12.8 0 0 1 16.832 16.832"})]))}}),compass_default=_sfc_main65,_sfc_main66=defineComponent({name:"Connection",__name:"connection",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 384v64H448a128 128 0 0 0-128 128v128a128 128 0 0 0 128 128h320a128 128 0 0 0 128-128V576a128 128 0 0 0-64-110.848V394.88c74.56 26.368 128 97.472 128 181.056v128a192 192 0 0 1-192 192H448a192 192 0 0 1-192-192V576a192 192 0 0 1 192-192z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 640v-64h192a128 128 0 0 0 128-128V320a128 128 0 0 0-128-128H256a128 128 0 0 0-128 128v128a128 128 0 0 0 64 110.848v70.272A192.06 192.06 0 0 1 64 448V320a192 192 0 0 1 192-192h320a192 192 0 0 1 192 192v128a192 192 0 0 1-192 192z"})]))}}),connection_default=_sfc_main66,_sfc_main67=defineComponent({name:"Coordinate",__name:"coordinate",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 512h64v320h-64z"}),createBaseVNode("path",{fill:"currentColor",d:"M192 896h640a64 64 0 0 0-64-64H256a64 64 0 0 0-64 64m64-128h512a128 128 0 0 1 128 128v64H128v-64a128 128 0 0 1 128-128m256-256a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"})]))}}),coordinate_default=_sfc_main67,_sfc_main68=defineComponent({name:"CopyDocument",__name:"copy-document",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 832a128 128 0 0 1-128 128H192A128 128 0 0 1 64 832V384a128 128 0 0 1 128-128v64a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 128a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V192a64 64 0 0 0-64-64zm0-64h448a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H384a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64"})]))}}),copy_document_default=_sfc_main68,_sfc_main69=defineComponent({name:"Cpu",__name:"cpu",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 256a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h384a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h384a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128H320a128 128 0 0 1-128-128V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m-320 0a32 32 0 0 1 32 32v128h-64V96a32 32 0 0 1 32-32m160 896a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m160 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32m-320 0a32 32 0 0 1-32-32V800h64v128a32 32 0 0 1-32 32M64 512a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0-160a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m0 320a32 32 0 0 1 32-32h128v64H96a32 32 0 0 1-32-32m896-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0-160a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32m0 320a32 32 0 0 1-32 32H800v-64h128a32 32 0 0 1 32 32"})]))}}),cpu_default=_sfc_main69,_sfc_main70=defineComponent({name:"CreditCard",__name:"credit-card",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 324.096c0-42.368-2.496-55.296-9.536-68.48a52.35 52.35 0 0 0-22.144-22.08c-13.12-7.04-26.048-9.536-68.416-9.536H228.096c-42.368 0-55.296 2.496-68.48 9.536a52.35 52.35 0 0 0-22.08 22.144c-7.04 13.12-9.536 26.048-9.536 68.416v375.808c0 42.368 2.496 55.296 9.536 68.48a52.35 52.35 0 0 0 22.144 22.08c13.12 7.04 26.048 9.536 68.416 9.536h567.808c42.368 0 55.296-2.496 68.48-9.536a52.35 52.35 0 0 0 22.08-22.144c7.04-13.12 9.536-26.048 9.536-68.416zm64 0v375.808c0 57.088-5.952 77.76-17.088 98.56-11.136 20.928-27.52 37.312-48.384 48.448S852.928 864 795.968 864H228.032c-57.088 0-77.76-5.952-98.56-17.088a116.3 116.3 0 0 1-48.448-48.384c-11.136-20.864-17.088-41.6-17.088-98.56V324.032c0-57.088 5.952-77.76 17.088-98.56 11.136-20.928 27.52-37.312 48.384-48.448s41.6-17.088 98.56-17.088H795.84c57.088 0 77.76 5.952 98.56 17.088 20.928 11.136 37.312 27.52 48.448 48.384s17.088 41.6 17.088 98.56z"}),createBaseVNode("path",{fill:"currentColor",d:"M64 320h896v64H64zm0 128h896v64H64zm128 192h256v64H192z"})]))}}),credit_card_default=_sfc_main70,_sfc_main71=defineComponent({name:"Crop",__name:"crop",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768h672a32 32 0 1 1 0 64H224a32 32 0 0 1-32-32V96a32 32 0 0 1 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M832 224v704a32 32 0 1 1-64 0V256H96a32 32 0 0 1 0-64h704a32 32 0 0 1 32 32"})]))}}),crop_default=_sfc_main71,_sfc_main72=defineComponent({name:"DArrowLeft",__name:"d-arrow-left",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M529.408 149.376a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L259.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L197.76 534.272a32 32 0 0 1 0-44.672zm256 0a29.12 29.12 0 0 1 41.728 0 30.59 30.59 0 0 1 0 42.688L515.264 511.936l311.872 319.936a30.59 30.59 0 0 1-.512 43.264 29.12 29.12 0 0 1-41.216-.512L453.76 534.272a32 32 0 0 1 0-44.672z"})]))}}),d_arrow_left_default=_sfc_main72,_sfc_main73=defineComponent({name:"DArrowRight",__name:"d-arrow-right",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M452.864 149.312a29.12 29.12 0 0 1 41.728.064L826.24 489.664a32 32 0 0 1 0 44.672L494.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L764.736 512 452.864 192a30.59 30.59 0 0 1 0-42.688m-256 0a29.12 29.12 0 0 1 41.728.064L570.24 489.664a32 32 0 0 1 0 44.672L238.592 874.624a29.12 29.12 0 0 1-41.728 0 30.59 30.59 0 0 1 0-42.752L508.736 512 196.864 192a30.59 30.59 0 0 1 0-42.688"})]))}}),d_arrow_right_default=_sfc_main73,_sfc_main74=defineComponent({name:"DCaret",__name:"d-caret",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 128 288 320H224zM224 576h576L512 896z"})]))}}),d_caret_default=_sfc_main74,_sfc_main75=defineComponent({name:"DataAnalysis",__name:"data-analysis",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m665.216 768 110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32l110.848-192H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32zM832 192H192v512h640zM352 448a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0v-64a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v128a32 32 0 0 1-64 0V416a32 32 0 0 1 32-32m160-64a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V352a32 32 0 0 1 32-32"})]))}}),data_analysis_default=_sfc_main75,_sfc_main76=defineComponent({name:"DataBoard",__name:"data-board",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M32 128h960v64H32z"}),createBaseVNode("path",{fill:"currentColor",d:"M192 192v512h640V192zm-64-64h768v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),createBaseVNode("path",{fill:"currentColor",d:"M322.176 960H248.32l144.64-250.56 55.424 32zm453.888 0h-73.856L576 741.44l55.424-32z"})]))}}),data_board_default=_sfc_main76,_sfc_main77=defineComponent({name:"DataLine",__name:"data-line",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M359.168 768H160a32 32 0 0 1-32-32V192H64a32 32 0 0 1 0-64h896a32 32 0 1 1 0 64h-64v544a32 32 0 0 1-32 32H665.216l110.848 192h-73.856L591.36 768H433.024L322.176 960H248.32zM832 192H192v512h640zM342.656 534.656a32 32 0 1 1-45.312-45.312L444.992 341.76l125.44 94.08L679.04 300.032a32 32 0 1 1 49.92 39.936L581.632 524.224 451.008 426.24 342.656 534.592z"})]))}}),data_line_default=_sfc_main77,_sfc_main78=defineComponent({name:"DeleteFilled",__name:"delete-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 192V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64H96a32 32 0 0 1 0-64zm64 0h192v-64H416zM192 960a32 32 0 0 1-32-32V256h704v672a32 32 0 0 1-32 32zm224-192a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32m192 0a32 32 0 0 0 32-32V416a32 32 0 0 0-64 0v320a32 32 0 0 0 32 32"})]))}}),delete_filled_default=_sfc_main78,_sfc_main79=defineComponent({name:"DeleteLocation",__name:"delete-location",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M384 384h256q32 0 32 32t-32 32H384q-32 0-32-32t32-32"})]))}}),delete_location_default=_sfc_main79,_sfc_main80=defineComponent({name:"Delete",__name:"delete",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 256H96a32 32 0 0 1 0-64h256V95.936a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V192h256a32 32 0 1 1 0 64h-64v672a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32zm448-64v-64H416v64zM224 896h576V256H224zm192-128a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32m192 0a32 32 0 0 1-32-32V416a32 32 0 0 1 64 0v320a32 32 0 0 1-32 32"})]))}}),delete_default=_sfc_main80,_sfc_main81=defineComponent({name:"Dessert",__name:"dessert",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 416v-48a144 144 0 0 1 168.64-141.888 224.128 224.128 0 0 1 430.72 0A144 144 0 0 1 896 368v48a384 384 0 0 1-352 382.72V896h-64v-97.28A384 384 0 0 1 128 416m287.104-32.064h193.792a143.81 143.81 0 0 1 58.88-132.736 160.064 160.064 0 0 0-311.552 0 143.81 143.81 0 0 1 58.88 132.8zm-72.896 0a72 72 0 1 0-140.48 0zm339.584 0h140.416a72 72 0 1 0-140.48 0zM512 736a320 320 0 0 0 318.4-288.064H193.6A320 320 0 0 0 512 736M384 896.064h256a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64"})]))}}),dessert_default=_sfc_main81,_sfc_main82=defineComponent({name:"Discount",__name:"discount",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 704h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0L224 318.336zm0 64v128h576V768zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),discount_default=_sfc_main82,_sfc_main83=defineComponent({name:"DishDot",__name:"dish-dot",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m384.064 274.56.064-50.688A128 128 0 0 1 512.128 96c70.528 0 127.68 57.152 127.68 127.68v50.752A448.19 448.19 0 0 1 955.392 768H68.544A448.19 448.19 0 0 1 384 274.56zM96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64m32-128h768a384 384 0 1 0-768 0m447.808-448v-32.32a63.68 63.68 0 0 0-63.68-63.68 64 64 0 0 0-64 63.936V256z"})]))}}),dish_dot_default=_sfc_main83,_sfc_main84=defineComponent({name:"Dish",__name:"dish",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 257.152V192h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64h-96v65.152A448 448 0 0 1 955.52 768H68.48A448 448 0 0 1 480 257.152M128 704h768a384 384 0 1 0-768 0M96 832h832a32 32 0 1 1 0 64H96a32 32 0 1 1 0-64"})]))}}),dish_default=_sfc_main84,_sfc_main85=defineComponent({name:"DocumentAdd",__name:"document-add",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m320 512V448h64v128h128v64H544v128h-64V640H352v-64z"})]))}}),document_add_default=_sfc_main85,_sfc_main86=defineComponent({name:"DocumentChecked",__name:"document-checked",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m318.4 582.144 180.992-180.992L704.64 510.4 478.4 736.64 320 578.304l45.248-45.312z"})]))}}),document_checked_default=_sfc_main86,_sfc_main87=defineComponent({name:"DocumentCopy",__name:"document-copy",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 320v576h576V320zm-32-64h640a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32M960 96v704a32 32 0 0 1-32 32h-96v-64h64V128H384v64h-64V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32M256 672h320v64H256zm0-192h320v64H256z"})]))}}),document_copy_default=_sfc_main87,_sfc_main88=defineComponent({name:"DocumentDelete",__name:"document-delete",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m308.992 546.304-90.496-90.624 45.248-45.248 90.56 90.496 90.496-90.432 45.248 45.248-90.496 90.56 90.496 90.496-45.248 45.248-90.496-90.496-90.56 90.496-45.248-45.248z"})]))}}),document_delete_default=_sfc_main88,_sfc_main89=defineComponent({name:"DocumentRemove",__name:"document-remove",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M805.504 320 640 154.496V320zM832 384H576V128H192v768h640zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m192 512h320v64H352z"})]))}}),document_remove_default=_sfc_main89,_sfc_main90=defineComponent({name:"Document",__name:"document",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H576V128H192v768h640zm-26.496-64L640 154.496V320zM160 64h480l256 256v608a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h160v64H320zm0 384h384v64H320z"})]))}}),document_default=_sfc_main90,_sfc_main91=defineComponent({name:"Download",__name:"download",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-253.696 236.288-236.352 45.248 45.248L508.8 704 192 387.2l45.248-45.248L480 584.704V128h64z"})]))}}),download_default=_sfc_main91,_sfc_main92=defineComponent({name:"Drizzling",__name:"drizzling",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672M959.552 480a256 256 0 0 1-256 256h-400A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M288 800h64v64h-64zm192 0h64v64h-64zm-96 96h64v64h-64zm192 0h64v64h-64zm96-96h64v64h-64z"})]))}}),drizzling_default=_sfc_main92,_sfc_main93=defineComponent({name:"EditPen",__name:"edit-pen",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m199.04 672.64 193.984 112 224-387.968-193.92-112-224 388.032zm-23.872 60.16 32.896 148.288 144.896-45.696zM455.04 229.248l193.92 112 56.704-98.112-193.984-112zM104.32 708.8l384-665.024 304.768 175.936L409.152 884.8h.064l-248.448 78.336zm384 254.272v-64h448v64z"})]))}}),edit_pen_default=_sfc_main93,_sfc_main94=defineComponent({name:"Edit",__name:"edit",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 512a32 32 0 1 1 64 0v352a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h352a32 32 0 0 1 0 64H192v640h640z"}),createBaseVNode("path",{fill:"currentColor",d:"m469.952 554.24 52.8-7.552L847.104 222.4a32 32 0 1 0-45.248-45.248L477.44 501.44l-7.552 52.8zm422.4-422.4a96 96 0 0 1 0 135.808l-331.84 331.84a32 32 0 0 1-18.112 9.088L436.8 623.68a32 32 0 0 1-36.224-36.224l15.104-105.6a32 32 0 0 1 9.024-18.112l331.904-331.84a96 96 0 0 1 135.744 0z"})]))}}),edit_default=_sfc_main94,_sfc_main95=defineComponent({name:"ElemeFilled",__name:"eleme-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 64h672c61.824 0 112 50.176 112 112v672a112 112 0 0 1-112 112H176A112 112 0 0 1 64 848V176c0-61.824 50.176-112 112-112m150.528 173.568c-152.896 99.968-196.544 304.064-97.408 456.96a330.69 330.69 0 0 0 456.96 96.64c9.216-5.888 17.6-11.776 25.152-18.56a18.24 18.24 0 0 0 4.224-24.32L700.352 724.8a47.55 47.55 0 0 0-65.536-14.272A234.56 234.56 0 0 1 310.592 641.6C240 533.248 271.104 387.968 379.456 316.48a234.3 234.3 0 0 1 276.352 15.168c1.664.832 2.56 2.56 3.392 4.224 5.888 8.384 3.328 19.328-5.12 25.216L456.832 489.6a47.55 47.55 0 0 0-14.336 65.472l16 24.384c5.888 8.384 16.768 10.88 25.216 5.056l308.224-199.936a19.584 19.584 0 0 0 6.72-23.488v-.896c-4.992-9.216-10.048-17.6-15.104-26.88-99.968-151.168-304.064-194.88-456.96-95.744zM786.88 504.704l-62.208 40.32c-8.32 5.888-10.88 16.768-4.992 25.216L760 632.32c5.888 8.448 16.768 11.008 25.152 5.12l31.104-20.16a55.36 55.36 0 0 0 16-76.48l-20.224-31.04a19.52 19.52 0 0 0-25.152-5.12z"})]))}}),eleme_filled_default=_sfc_main95,_sfc_main96=defineComponent({name:"Eleme",__name:"eleme",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M300.032 188.8c174.72-113.28 408-63.36 522.24 109.44 5.76 10.56 11.52 20.16 17.28 30.72v.96a22.4 22.4 0 0 1-7.68 26.88l-352.32 228.48c-9.6 6.72-22.08 3.84-28.8-5.76l-18.24-27.84a54.336 54.336 0 0 1 16.32-74.88l225.6-146.88c9.6-6.72 12.48-19.2 5.76-28.8-.96-1.92-1.92-3.84-3.84-4.8a267.84 267.84 0 0 0-315.84-17.28c-123.84 81.6-159.36 247.68-78.72 371.52a268.096 268.096 0 0 0 370.56 78.72 54.336 54.336 0 0 1 74.88 16.32l17.28 26.88c5.76 9.6 3.84 21.12-4.8 27.84-8.64 7.68-18.24 14.4-28.8 21.12a377.92 377.92 0 0 1-522.24-110.4c-113.28-174.72-63.36-408 111.36-522.24m526.08 305.28a22.336 22.336 0 0 1 28.8 5.76l23.04 35.52a63.23 63.23 0 0 1-18.24 87.36l-35.52 23.04c-9.6 6.72-22.08 3.84-28.8-5.76l-46.08-71.04c-6.72-9.6-3.84-22.08 5.76-28.8z"})]))}}),eleme_default=_sfc_main96,_sfc_main97=defineComponent({name:"ElementPlus",__name:"element-plus",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M839.7 734.7c0 33.3-17.9 41-17.9 41S519.7 949.8 499.2 960c-10.2 5.1-20.5 5.1-30.7 0 0 0-314.9-184.3-325.1-192-5.1-5.1-10.2-12.8-12.8-20.5V368.6c0-17.9 20.5-28.2 20.5-28.2L466 158.6q19.2-7.65 38.4 0s279 161.3 309.8 179.2c17.9 7.7 28.2 25.6 25.6 46.1-.1-5-.1 317.5-.1 350.8M714.2 371.2c-64-35.8-217.6-125.4-217.6-125.4-7.7-5.1-20.5-5.1-30.7 0L217.6 389.1s-17.9 10.2-17.9 23v297c0 5.1 5.1 12.8 7.7 17.9 7.7 5.1 256 148.5 256 148.5 7.7 5.1 17.9 5.1 25.6 0 15.4-7.7 250.9-145.9 250.9-145.9s12.8-5.1 12.8-30.7v-74.2l-276.5 169v-64c0-17.9 7.7-30.7 20.5-46.1L745 535c5.1-7.7 10.2-20.5 10.2-30.7v-66.6l-279 169v-69.1c0-15.4 5.1-30.7 17.9-38.4zM919 135.7c0-5.1-5.1-7.7-7.7-7.7h-58.9V66.6c0-5.1-5.1-5.1-10.2-5.1l-30.7 5.1c-5.1 0-5.1 2.6-5.1 5.1V128h-56.3c-5.1 0-5.1 5.1-7.7 5.1v38.4h69.1v64c0 5.1 5.1 5.1 10.2 5.1l30.7-5.1c5.1 0 5.1-2.6 5.1-5.1v-56.3h64z"})]))}}),element_plus_default=_sfc_main97,_sfc_main98=defineComponent({name:"Expand",__name:"expand",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192h768v128H128zm0 256h512v128H128zm0 256h768v128H128zm576-352 192 160-192 128z"})]))}}),expand_default=_sfc_main98,_sfc_main99=defineComponent({name:"Failed",__name:"failed",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m557.248 608 135.744-135.744-45.248-45.248-135.68 135.744-135.808-135.68-45.248 45.184L466.752 608l-135.68 135.68 45.184 45.312L512 653.248l135.744 135.744 45.248-45.248L557.312 608zM704 192h160v736H160V192h160v64h384zm-320 0V96h256v96z"})]))}}),failed_default=_sfc_main99,_sfc_main100=defineComponent({name:"Female",__name:"female",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 640a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M512 640q32 0 32 32v256q0 32-32 32t-32-32V672q0-32 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M352 800h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32"})]))}}),female_default=_sfc_main100,_sfc_main101=defineComponent({name:"Files",__name:"files",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384v448h768V384zm-32-64h832a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32m64-128h704v64H160zm96-128h512v64H256z"})]))}}),files_default=_sfc_main101,_sfc_main102=defineComponent({name:"Film",__name:"film",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M320 288V128h64v352h256V128h64v160h160v64H704v128h160v64H704v128h160v64H704v160h-64V544H384v352h-64V736H128v-64h192V544H128v-64h192V352H128v-64z"})]))}}),film_default=_sfc_main102,_sfc_main103=defineComponent({name:"Filter",__name:"filter",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 523.392V928a32 32 0 0 0 46.336 28.608l192-96A32 32 0 0 0 640 832V523.392l280.768-343.104a32 32 0 1 0-49.536-40.576l-288 352A32 32 0 0 0 576 512v300.224l-128 64V512a32 32 0 0 0-7.232-20.288L195.52 192H704a32 32 0 1 0 0-64H128a32 32 0 0 0-24.768 52.288z"})]))}}),filter_default=_sfc_main103,_sfc_main104=defineComponent({name:"Finished",__name:"finished",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M280.768 753.728 691.456 167.04a32 32 0 1 1 52.416 36.672L314.24 817.472a32 32 0 0 1-45.44 7.296l-230.4-172.8a32 32 0 0 1 38.4-51.2zM736 448a32 32 0 1 1 0-64h192a32 32 0 1 1 0 64zM608 640a32 32 0 0 1 0-64h319.936a32 32 0 1 1 0 64zM480 832a32 32 0 1 1 0-64h447.936a32 32 0 1 1 0 64z"})]))}}),finished_default=_sfc_main104,_sfc_main105=defineComponent({name:"FirstAidKit",__name:"first-aid-kit",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 256a64 64 0 0 0-64 64v448a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V320a64 64 0 0 0-64-64zm0-64h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M544 512h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64h96v-96a32 32 0 0 1 64 0zM352 128v64h320v-64zm-32-64h384a32 32 0 0 1 32 32v128a32 32 0 0 1-32 32H320a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"})]))}}),first_aid_kit_default=_sfc_main105,_sfc_main106=defineComponent({name:"Flag",__name:"flag",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 128h608L736 384l160 256H288v320h-96V64h96z"})]))}}),flag_default=_sfc_main106,_sfc_main107=defineComponent({name:"Fold",__name:"fold",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 192H128v128h768zm0 256H384v128h512zm0 256H128v128h768zM320 384 128 512l192 128z"})]))}}),fold_default=_sfc_main107,_sfc_main108=defineComponent({name:"FolderAdd",__name:"folder-add",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m384 416V416h64v128h128v64H544v128h-64V608H352v-64z"})]))}}),folder_add_default=_sfc_main108,_sfc_main109=defineComponent({name:"FolderChecked",__name:"folder-checked",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m414.08 502.144 180.992-180.992L736.32 494.4 510.08 720.64l-158.4-158.336 45.248-45.312z"})]))}}),folder_checked_default=_sfc_main109,_sfc_main110=defineComponent({name:"FolderDelete",__name:"folder-delete",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m370.752 448-90.496-90.496 45.248-45.248L512 530.752l90.496-90.496 45.248 45.248L557.248 576l90.496 90.496-45.248 45.248L512 621.248l-90.496 90.496-45.248-45.248z"})]))}}),folder_delete_default=_sfc_main110,_sfc_main111=defineComponent({name:"FolderOpened",__name:"folder-opened",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M878.08 448H241.92l-96 384h636.16zM832 384v-64H485.76L357.504 192H128v448l57.92-231.744A32 32 0 0 1 216.96 384zm-24.96 512H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h287.872l128.384 128H864a32 32 0 0 1 32 32v96h23.04a32 32 0 0 1 31.04 39.744l-112 448A32 32 0 0 1 807.04 896"})]))}}),folder_opened_default=_sfc_main111,_sfc_main112=defineComponent({name:"FolderRemove",__name:"folder-remove",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32m256 416h320v64H352z"})]))}}),folder_remove_default=_sfc_main112,_sfc_main113=defineComponent({name:"Folder",__name:"folder",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 192v640h768V320H485.76L357.504 192zm-32-64h287.872l128.384 128H928a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32"})]))}}),folder_default=_sfc_main113,_sfc_main114=defineComponent({name:"Food",__name:"food",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 352.576V352a288 288 0 0 1 491.072-204.224 192 192 0 0 1 274.24 204.48 64 64 0 0 1 57.216 74.24C921.6 600.512 850.048 710.656 736 756.992V800a96 96 0 0 1-96 96H384a96 96 0 0 1-96-96v-43.008c-114.048-46.336-185.6-156.48-214.528-330.496A64 64 0 0 1 128 352.64zm64-.576h64a160 160 0 0 1 320 0h64a224 224 0 0 0-448 0m128 0h192a96 96 0 0 0-192 0m439.424 0h68.544A128.256 128.256 0 0 0 704 192c-15.36 0-29.952 2.688-43.52 7.616 11.328 18.176 20.672 37.76 27.84 58.304A64.128 64.128 0 0 1 759.424 352M672 768H352v32a32 32 0 0 0 32 32h256a32 32 0 0 0 32-32zm-342.528-64h365.056c101.504-32.64 165.76-124.928 192.896-288H136.576c27.136 163.072 91.392 255.36 192.896 288"})]))}}),food_default=_sfc_main114,_sfc_main115=defineComponent({name:"Football",__name:"football",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-64a384 384 0 1 0 0-768 384 384 0 0 0 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"M186.816 268.288c16-16.384 31.616-31.744 46.976-46.08 17.472 30.656 39.808 58.112 65.984 81.28l-32.512 56.448a386 386 0 0 1-80.448-91.648m653.696-5.312a385.9 385.9 0 0 1-83.776 96.96l-32.512-56.384a322.9 322.9 0 0 0 68.48-85.76c15.552 14.08 31.488 29.12 47.808 45.184M465.984 445.248l11.136-63.104a323.6 323.6 0 0 0 69.76 0l11.136 63.104a388 388 0 0 1-92.032 0m-62.72-12.8A381.8 381.8 0 0 1 320 396.544l32-55.424a320 320 0 0 0 62.464 27.712l-11.2 63.488zm300.8-35.84a381.8 381.8 0 0 1-83.328 35.84l-11.2-63.552A320 320 0 0 0 672 341.184l32 55.424zm-520.768 364.8a385.9 385.9 0 0 1 83.968-97.28l32.512 56.32c-26.88 23.936-49.856 52.352-67.52 84.032-16-13.44-32.32-27.712-48.96-43.072m657.536.128a1443 1443 0 0 1-49.024 43.072 321.4 321.4 0 0 0-67.584-84.16l32.512-56.32c33.216 27.456 61.696 60.352 84.096 97.408M465.92 578.752a388 388 0 0 1 92.032 0l-11.136 63.104a323.6 323.6 0 0 0-69.76 0zm-62.72 12.8 11.2 63.552a320 320 0 0 0-62.464 27.712L320 627.392a381.8 381.8 0 0 1 83.264-35.84zm300.8 35.84-32 55.424a318.3 318.3 0 0 0-62.528-27.712l11.2-63.488c29.44 8.64 57.28 20.736 83.264 35.776z"})]))}}),football_default=_sfc_main115,_sfc_main116=defineComponent({name:"ForkSpoon",__name:"fork-spoon",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 410.304V96a32 32 0 0 1 64 0v314.304a96 96 0 0 0 64-90.56V96a32 32 0 0 1 64 0v223.744a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.544a160 160 0 0 1-128-156.8V96a32 32 0 0 1 64 0v223.744a96 96 0 0 0 64 90.56M672 572.48C581.184 552.128 512 446.848 512 320c0-141.44 85.952-256 192-256s192 114.56 192 256c0 126.848-69.184 232.128-160 252.48V928a32 32 0 1 1-64 0zM704 512c66.048 0 128-82.56 128-192s-61.952-192-128-192-128 82.56-128 192 61.952 192 128 192"})]))}}),fork_spoon_default=_sfc_main116,_sfc_main117=defineComponent({name:"Fries",__name:"fries",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M608 224v-64a32 32 0 0 0-64 0v336h26.88A64 64 0 0 0 608 484.096zm101.12 160A64 64 0 0 0 672 395.904V384h64V224a32 32 0 1 0-64 0v160zm74.88 0a92.928 92.928 0 0 1 91.328 110.08l-60.672 323.584A96 96 0 0 1 720.32 896H303.68a96 96 0 0 1-94.336-78.336L148.672 494.08A92.928 92.928 0 0 1 240 384h-16V224a96 96 0 0 1 188.608-25.28A95.74 95.74 0 0 1 480 197.44V160a96 96 0 0 1 188.608-25.28A96 96 0 0 1 800 224v160zM670.784 512a128 128 0 0 1-99.904 48H453.12a128 128 0 0 1-99.84-48H352v-1.536a128 128 0 0 1-9.984-14.976L314.88 448H240a28.928 28.928 0 0 0-28.48 34.304L241.088 640h541.824l29.568-157.696A28.928 28.928 0 0 0 784 448h-74.88l-27.136 47.488A132 132 0 0 1 672 510.464V512zM480 288a32 32 0 0 0-64 0v196.096A64 64 0 0 0 453.12 496H480zm-128 96V224a32 32 0 0 0-64 0v160zh-37.12A64 64 0 0 1 352 395.904zm-98.88 320 19.072 101.888A32 32 0 0 0 303.68 832h416.64a32 32 0 0 0 31.488-26.112L770.88 704z"})]))}}),fries_default=_sfc_main117,_sfc_main118=defineComponent({name:"FullScreen",__name:"full-screen",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m160 96.064 192 .192a32 32 0 0 1 0 64l-192-.192V352a32 32 0 0 1-64 0V96h64zm0 831.872V928H96V672a32 32 0 1 1 64 0v191.936l192-.192a32 32 0 1 1 0 64zM864 96.064V96h64v256a32 32 0 1 1-64 0V160.064l-192 .192a32 32 0 1 1 0-64zm0 831.872-192-.192a32 32 0 0 1 0-64l192 .192V672a32 32 0 1 1 64 0v256h-64z"})]))}}),full_screen_default=_sfc_main118,_sfc_main119=defineComponent({name:"GobletFull",__name:"goblet-full",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 320h512c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320m503.936 64H264.064a256.128 256.128 0 0 0 495.872 0M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4"})]))}}),goblet_full_default=_sfc_main119,_sfc_main120=defineComponent({name:"GobletSquareFull",__name:"goblet-square-full",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 270.912c10.048 6.72 22.464 14.912 28.992 18.624a220.16 220.16 0 0 0 114.752 30.72c30.592 0 49.408-9.472 91.072-41.152l.64-.448c52.928-40.32 82.368-55.04 132.288-54.656 55.552.448 99.584 20.8 142.72 57.408l1.536 1.28V128H256zm.96 76.288C266.368 482.176 346.88 575.872 512 576c157.44.064 237.952-85.056 253.248-209.984a952 952 0 0 1-40.192-35.712c-32.704-27.776-63.36-41.92-101.888-42.24-31.552-.256-50.624 9.28-93.12 41.6l-.576.448c-52.096 39.616-81.024 54.208-129.792 54.208-54.784 0-100.48-13.376-142.784-37.056zM480 638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96z"})]))}}),goblet_square_full_default=_sfc_main120,_sfc_main121=defineComponent({name:"GobletSquare",__name:"goblet-square",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 638.912V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.848C250.624 623.424 192 442.496 192 319.68V96a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v224c0 122.816-58.624 303.68-288 318.912M256 319.68c0 149.568 80 256.192 256 256.256C688.128 576 768 469.568 768 320V128H256z"})]))}}),goblet_square_default=_sfc_main121,_sfc_main122=defineComponent({name:"Goblet",__name:"goblet",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 638.4V896h96a32 32 0 1 1 0 64H384a32 32 0 1 1 0-64h96V638.4A320 320 0 0 1 192 320c0-85.632 21.312-170.944 64-256h512c42.688 64.32 64 149.632 64 256a320 320 0 0 1-288 318.4M256 320a256 256 0 1 0 512 0c0-78.592-12.608-142.4-36.928-192h-434.24C269.504 192.384 256 256.256 256 320"})]))}}),goblet_default=_sfc_main122,_sfc_main123=defineComponent({name:"GoldMedal",__name:"gold-medal",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m772.13 452.84 53.86-351.81c1.32-10.01-1.17-18.68-7.49-26.02S804.35 64 795.01 64H228.99v-.01h-.06c-9.33 0-17.15 3.67-23.49 11.01s-8.83 16.01-7.49 26.02l53.87 351.89C213.54 505.73 193.59 568.09 192 640c2 90.67 33.17 166.17 93.5 226.5S421.33 957.99 512 960c90.67-2 166.17-33.17 226.5-93.5 60.33-60.34 91.49-135.83 93.5-226.5-1.59-71.94-21.56-134.32-59.87-187.16M640.01 128h117.02l-39.01 254.02c-20.75-10.64-40.74-19.73-59.94-27.28-5.92-3-11.95-5.8-18.08-8.41V128zM576 128v198.76c-13.18-2.58-26.74-4.43-40.67-5.55-8.07-.8-15.85-1.2-23.33-1.2-10.54 0-21.09.66-31.64 1.96a360 360 0 0 0-32.36 4.79V128zm-192 0h.04v218.3c-6.22 2.66-12.34 5.5-18.36 8.56-19.13 7.54-39.02 16.6-59.66 27.16L267.01 128zm308.99 692.99c-48 48-108.33 73-180.99 75.01-72.66-2.01-132.99-27.01-180.99-75.01S258.01 712.66 256 640c2.01-72.66 27.01-132.99 75.01-180.99 19.67-19.67 41.41-35.47 65.22-47.41 38.33-15.04 71.15-23.92 98.44-26.65 5.07-.41 10.2-.7 15.39-.88.63-.01 1.28-.03 1.91-.03.66 0 1.35.03 2.02.04 5.11.17 10.15.46 15.13.86 27.4 2.71 60.37 11.65 98.91 26.79 23.71 11.93 45.36 27.69 64.96 47.29 48 48 73 108.33 75.01 180.99-2.01 72.65-27.01 132.98-75.01 180.98"}),createBaseVNode("path",{fill:"currentColor",d:"M544 480H416v64h64v192h-64v64h192v-64h-64z"})]))}}),gold_medal_default=_sfc_main123,_sfc_main124=defineComponent({name:"GoodsFilled",__name:"goods-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 352h640l64 544H128zm128 224h64V448h-64zm320 0h64V448h-64zM384 288h-64a192 192 0 1 1 384 0h-64a128 128 0 1 0-256 0"})]))}}),goods_filled_default=_sfc_main124,_sfc_main125=defineComponent({name:"Goods",__name:"goods",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 288v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4h131.072a32 32 0 0 1 31.808 28.8l57.6 576a32 32 0 0 1-31.808 35.2H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320zm64 0h256v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4zm-64 64H217.92l-51.2 512h690.56l-51.264-512H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0z"})]))}}),goods_default=_sfc_main125,_sfc_main126=defineComponent({name:"Grape",__name:"grape",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 195.2a160 160 0 0 1 96 60.8 160 160 0 1 1 146.24 254.976 160 160 0 0 1-128 224 160 160 0 1 1-292.48 0 160 160 0 0 1-128-224A160 160 0 1 1 384 256a160 160 0 0 1 96-60.8V128h-64a32 32 0 0 1 0-64h192a32 32 0 0 1 0 64h-64zM512 448a96 96 0 1 0 0-192 96 96 0 0 0 0 192m-256 0a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128 224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192m128-224a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),grape_default=_sfc_main126,_sfc_main127=defineComponent({name:"Grid",__name:"grid",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 384v256H384V384zm64 0h192v256H704zm-64 512H384V704h256zm64 0V704h192v192zm-64-768v192H384V128zm64 0h192v192H704zM320 384v256H128V384zm0 512H128V704h192zm0-768v192H128V128z"})]))}}),grid_default=_sfc_main127,_sfc_main128=defineComponent({name:"Guide",__name:"guide",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 608h-64V416h64zm0 160v160a32 32 0 0 1-32 32H416a32 32 0 0 1-32-32V768h64v128h128V768zM384 608V416h64v192zm256-352h-64V128H448v128h-64V96a32 32 0 0 1 32-32h192a32 32 0 0 1 32 32z"}),createBaseVNode("path",{fill:"currentColor",d:"m220.8 256-71.232 80 71.168 80H768V256zm-14.4-64H800a32 32 0 0 1 32 32v224a32 32 0 0 1-32 32H206.4a32 32 0 0 1-23.936-10.752l-99.584-112a32 32 0 0 1 0-42.496l99.584-112A32 32 0 0 1 206.4 192m678.784 496-71.104 80H266.816V608h547.2zm-56.768-144H234.88a32 32 0 0 0-32 32v224a32 32 0 0 0 32 32h593.6a32 32 0 0 0 23.936-10.752l99.584-112a32 32 0 0 0 0-42.496l-99.584-112A32 32 0 0 0 828.48 544z"})]))}}),guide_default=_sfc_main128,_sfc_main129=defineComponent({name:"Handbag",__name:"handbag",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M887.01 264.99c-6-5.99-13.67-8.99-23.01-8.99H704c-1.34-54.68-20.01-100.01-56-136s-81.32-54.66-136-56c-54.68 1.34-100.01 20.01-136 56s-54.66 81.32-56 136H160c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.67-8.99 23.01v640c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V288c0-9.35-2.99-17.02-8.99-23.01M421.5 165.5c24.32-24.34 54.49-36.84 90.5-37.5 35.99.68 66.16 13.18 90.5 37.5s36.84 54.49 37.5 90.5H384c.68-35.99 13.18-66.16 37.5-90.5M832 896H192V320h128v128h64V320h256v128h64V320h128z"})]))}}),handbag_default=_sfc_main129,_sfc_main130=defineComponent({name:"Headset",__name:"headset",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M896 529.152V512a384 384 0 1 0-768 0v17.152A128 128 0 0 1 320 640v128a128 128 0 1 1-256 0V512a448 448 0 1 1 896 0v256a128 128 0 1 1-256 0V640a128 128 0 0 1 192-110.848M896 640a64 64 0 0 0-128 0v128a64 64 0 0 0 128 0zm-768 0v128a64 64 0 0 0 128 0V640a64 64 0 1 0-128 0"})]))}}),headset_default=_sfc_main130,_sfc_main131=defineComponent({name:"HelpFilled",__name:"help-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M926.784 480H701.312A192.51 192.51 0 0 0 544 322.688V97.216A416.064 416.064 0 0 1 926.784 480m0 64A416.064 416.064 0 0 1 544 926.784V701.312A192.51 192.51 0 0 0 701.312 544zM97.28 544h225.472A192.51 192.51 0 0 0 480 701.312v225.472A416.064 416.064 0 0 1 97.216 544zm0-64A416.064 416.064 0 0 1 480 97.216v225.472A192.51 192.51 0 0 0 322.688 480H97.216z"})]))}}),help_filled_default=_sfc_main131,_sfc_main132=defineComponent({name:"Help",__name:"help",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m759.936 805.248-90.944-91.008A254.9 254.9 0 0 1 512 768a254.9 254.9 0 0 1-156.992-53.76l-90.944 91.008A382.46 382.46 0 0 0 512 896c94.528 0 181.12-34.176 247.936-90.752m45.312-45.312A382.46 382.46 0 0 0 896 512c0-94.528-34.176-181.12-90.752-247.936l-91.008 90.944C747.904 398.4 768 452.864 768 512s-20.096 113.6-53.76 156.992zm-45.312-541.184A382.46 382.46 0 0 0 512 128c-94.528 0-181.12 34.176-247.936 90.752l90.944 91.008A254.9 254.9 0 0 1 512 256c59.136 0 113.6 20.096 156.992 53.76zm-541.184 45.312A382.46 382.46 0 0 0 128 512c0 94.528 34.176 181.12 90.752 247.936l91.008-90.944A254.9 254.9 0 0 1 256 512c0-59.136 20.096-113.6 53.76-156.992zm417.28 394.496a194.6 194.6 0 0 0 22.528-22.528C686.912 602.56 704 559.232 704 512a191.23 191.23 0 0 0-67.968-146.56A191.3 191.3 0 0 0 512 320a191.23 191.23 0 0 0-146.56 67.968C337.088 421.44 320 464.768 320 512a191.23 191.23 0 0 0 67.968 146.56C421.44 686.912 464.768 704 512 704c47.296 0 90.56-17.088 124.032-45.44M512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),help_default=_sfc_main132,_sfc_main133=defineComponent({name:"Hide",__name:"hide",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M876.8 156.8c0-9.6-3.2-16-9.6-22.4s-12.8-9.6-22.4-9.6-16 3.2-22.4 9.6L736 220.8c-64-32-137.6-51.2-224-60.8-160 16-288 73.6-377.6 176S0 496 0 512s48 73.6 134.4 176c22.4 25.6 44.8 48 73.6 67.2l-86.4 89.6c-6.4 6.4-9.6 12.8-9.6 22.4s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6 16-3.2 22.4-9.6l704-710.4c3.2-6.4 6.4-12.8 6.4-22.4m-646.4 528Q115.2 579.2 76.8 512q43.2-72 153.6-172.8C304 272 400 230.4 512 224c64 3.2 124.8 19.2 176 44.8l-54.4 54.4C598.4 300.8 560 288 512 288c-64 0-115.2 22.4-160 64s-64 96-64 160c0 48 12.8 89.6 35.2 124.8L256 707.2c-9.6-6.4-19.2-16-25.6-22.4m140.8-96Q352 555.2 352 512c0-44.8 16-83.2 48-112s67.2-48 112-48c28.8 0 54.4 6.4 73.6 19.2zM889.599 336c-12.8-16-28.8-28.8-41.6-41.6l-48 48c73.6 67.2 124.8 124.8 150.4 169.6q-43.2 72-153.6 172.8c-73.6 67.2-172.8 108.8-284.8 115.2-51.2-3.2-99.2-12.8-140.8-28.8l-48 48c57.6 22.4 118.4 38.4 188.8 44.8 160-16 288-73.6 377.6-176S1024 528 1024 512s-48.001-73.6-134.401-176"}),createBaseVNode("path",{fill:"currentColor",d:"M511.998 672c-12.8 0-25.6-3.2-38.4-6.4l-51.2 51.2c28.8 12.8 57.6 19.2 89.6 19.2 64 0 115.2-22.4 160-64 41.6-41.6 64-96 64-160 0-32-6.4-64-19.2-89.6l-51.2 51.2c3.2 12.8 6.4 25.6 6.4 38.4 0 44.8-16 83.2-48 112s-67.2 48-112 48"})]))}}),hide_default=_sfc_main133,_sfc_main134=defineComponent({name:"Histogram",__name:"histogram",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 896V128h192v768zm-288 0V448h192v448zm576 0V320h192v576z"})]))}}),histogram_default=_sfc_main134,_sfc_main135=defineComponent({name:"HomeFilled",__name:"home-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128 128 447.936V896h255.936V640H640v256h255.936V447.936z"})]))}}),home_filled_default=_sfc_main135,_sfc_main136=defineComponent({name:"HotWater",__name:"hot-water",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M273.067 477.867h477.866V409.6H273.067zm0 68.266v51.2A187.733 187.733 0 0 0 460.8 785.067h102.4a187.733 187.733 0 0 0 187.733-187.734v-51.2zm-34.134-204.8h546.134a34.133 34.133 0 0 1 34.133 34.134v221.866a256 256 0 0 1-256 256H460.8a256 256 0 0 1-256-256V375.467a34.133 34.133 0 0 1 34.133-34.134M512 34.133a34.133 34.133 0 0 1 34.133 34.134v170.666a34.133 34.133 0 0 1-68.266 0V68.267A34.133 34.133 0 0 1 512 34.133M375.467 102.4a34.133 34.133 0 0 1 34.133 34.133v102.4a34.133 34.133 0 0 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.134-34.133m273.066 0a34.133 34.133 0 0 1 34.134 34.133v102.4a34.133 34.133 0 1 1-68.267 0v-102.4a34.133 34.133 0 0 1 34.133-34.133M170.667 921.668h682.666a34.133 34.133 0 1 1 0 68.267H170.667a34.133 34.133 0 1 1 0-68.267"})]))}}),hot_water_default=_sfc_main136,_sfc_main137=defineComponent({name:"House",__name:"house",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 413.952V896h640V413.952L512 147.328zM139.52 374.4l352-293.312a32 32 0 0 1 40.96 0l352 293.312A32 32 0 0 1 896 398.976V928a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V398.976a32 32 0 0 1 11.52-24.576"})]))}}),house_default=_sfc_main137,_sfc_main138=defineComponent({name:"IceCreamRound",__name:"ice-cream-round",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m308.352 489.344 226.304 226.304a32 32 0 0 0 45.248 0L783.552 512A192 192 0 1 0 512 240.448L308.352 444.16a32 32 0 0 0 0 45.248zm135.744 226.304L308.352 851.392a96 96 0 0 1-135.744-135.744l135.744-135.744-45.248-45.248a96 96 0 0 1 0-135.808L466.752 195.2A256 256 0 0 1 828.8 557.248L625.152 760.96a96 96 0 0 1-135.808 0l-45.248-45.248zM398.848 670.4 353.6 625.152 217.856 760.896a32 32 0 0 0 45.248 45.248zm248.96-384.64a32 32 0 0 1 0 45.248L466.624 512a32 32 0 1 1-45.184-45.248l180.992-181.056a32 32 0 0 1 45.248 0zm90.496 90.496a32 32 0 0 1 0 45.248L557.248 602.496A32 32 0 1 1 512 557.248l180.992-180.992a32 32 0 0 1 45.312 0"})]))}}),ice_cream_round_default=_sfc_main138,_sfc_main139=defineComponent({name:"IceCreamSquare",__name:"ice-cream-square",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 640h256a32 32 0 0 0 32-32V160a32 32 0 0 0-32-32H352a32 32 0 0 0-32 32v448a32 32 0 0 0 32 32zm192 64v160a96 96 0 0 1-192 0V704h-64a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96h320a96 96 0 0 1 96 96v448a96 96 0 0 1-96 96zm-64 0h-64v160a32 32 0 1 0 64 0z"})]))}}),ice_cream_square_default=_sfc_main139,_sfc_main140=defineComponent({name:"IceCream",__name:"ice-cream",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128.64 448a208 208 0 0 1 193.536-191.552 224 224 0 0 1 445.248 15.488A208.13 208.13 0 0 1 894.784 448H896L548.8 983.68a32 32 0 0 1-53.248.704L128 448zm64.256 0h286.208a144 144 0 0 0-286.208 0m351.36 0h286.272a144 144 0 0 0-286.272 0m-294.848 64 271.808 396.608L778.24 512zM511.68 352.64a207.87 207.87 0 0 1 189.184-96.192 160 160 0 0 0-314.752 5.632c52.608 12.992 97.28 46.08 125.568 90.56"})]))}}),ice_cream_default=_sfc_main140,_sfc_main141=defineComponent({name:"IceDrink",__name:"ice-drink",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 448v128h239.68l16.064-128zm-64 0H256.256l16.064 128H448zm64-255.36V384h247.744A256.13 256.13 0 0 0 512 192.64m-64 8.064A256.45 256.45 0 0 0 264.256 384H448zm64-72.064A320.13 320.13 0 0 1 825.472 384H896a32 32 0 1 1 0 64h-64v1.92l-56.96 454.016A64 64 0 0 1 711.552 960H312.448a64 64 0 0 1-63.488-56.064L192 449.92V448h-64a32 32 0 0 1 0-64h70.528A320.38 320.38 0 0 1 448 135.04V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H544a32 32 0 0 0-32 32zM743.68 640H280.32l32.128 256h399.104z"})]))}}),ice_drink_default=_sfc_main141,_sfc_main142=defineComponent({name:"IceTea",__name:"ice-tea",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M197.696 259.648a320.128 320.128 0 0 1 628.608 0A96 96 0 0 1 896 352v64a96 96 0 0 1-71.616 92.864l-49.408 395.072A64 64 0 0 1 711.488 960H312.512a64 64 0 0 1-63.488-56.064l-49.408-395.072A96 96 0 0 1 128 416v-64a96 96 0 0 1 69.696-92.352M264.064 256h495.872a256.128 256.128 0 0 0-495.872 0m495.424 256H264.512l48 384h398.976zM224 448h576a32 32 0 0 0 32-32v-64a32 32 0 0 0-32-32H224a32 32 0 0 0-32 32v64a32 32 0 0 0 32 32m160 192h64v64h-64zm192 64h64v64h-64zm-128 64h64v64h-64zm64-192h64v64h-64z"})]))}}),ice_tea_default=_sfc_main142,_sfc_main143=defineComponent({name:"InfoFilled",__name:"info-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896.064A448 448 0 0 1 512 64m67.2 275.072c33.28 0 60.288-23.104 60.288-57.344s-27.072-57.344-60.288-57.344c-33.28 0-60.16 23.104-60.16 57.344s26.88 57.344 60.16 57.344M590.912 699.2c0-6.848 2.368-24.64 1.024-34.752l-52.608 60.544c-10.88 11.456-24.512 19.392-30.912 17.28a12.99 12.99 0 0 1-8.256-14.72l87.68-276.992c7.168-35.136-12.544-67.2-54.336-71.296-44.096 0-108.992 44.736-148.48 101.504 0 6.784-1.28 23.68.064 33.792l52.544-60.608c10.88-11.328 23.552-19.328 29.952-17.152a12.8 12.8 0 0 1 7.808 16.128L388.48 728.576c-10.048 32.256 8.96 63.872 55.04 71.04 67.84 0 107.904-43.648 147.456-100.416z"})]))}}),info_filled_default=_sfc_main143,_sfc_main144=defineComponent({name:"Iphone",__name:"iphone",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 768v96.064a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64V768zm0-64h576V160a64 64 0 0 0-64-64H288a64 64 0 0 0-64 64zm32 288a96 96 0 0 1-96-96V128a96 96 0 0 1 96-96h512a96 96 0 0 1 96 96v768a96 96 0 0 1-96 96zm304-144a48 48 0 1 1-96 0 48 48 0 0 1 96 0"})]))}}),iphone_default=_sfc_main144,_sfc_main145=defineComponent({name:"Key",__name:"key",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 456.064V96a32 32 0 0 1 32-32.064L672 64a32 32 0 0 1 0 64H512v128h160a32 32 0 0 1 0 64H512v128a256 256 0 1 1-64 8.064M512 896a192 192 0 1 0 0-384 192 192 0 0 0 0 384"})]))}}),key_default=_sfc_main145,_sfc_main146=defineComponent({name:"KnifeFork",__name:"knife-fork",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 410.56V96a32 32 0 0 1 64 0v314.56A96 96 0 0 0 384 320V96a32 32 0 0 1 64 0v224a160 160 0 0 1-128 156.8V928a32 32 0 1 1-64 0V476.8A160 160 0 0 1 128 320V96a32 32 0 0 1 64 0v224a96 96 0 0 0 64 90.56m384-250.24V544h126.72c-3.328-78.72-12.928-147.968-28.608-207.744-14.336-54.528-46.848-113.344-98.112-175.872zM640 608v320a32 32 0 1 1-64 0V64h64c85.312 89.472 138.688 174.848 160 256s32 177.152 32 288z"})]))}}),knife_fork_default=_sfc_main146,_sfc_main147=defineComponent({name:"Lightning",__name:"lightning",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 671.36v64.128A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 736 734.016v-64.768a192 192 0 0 0 3.328-377.92l-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 91.968 70.464 167.36 160.256 175.232z"}),createBaseVNode("path",{fill:"currentColor",d:"M416 736a32 32 0 0 1-27.776-47.872l128-224a32 32 0 1 1 55.552 31.744L471.168 672H608a32 32 0 0 1 27.776 47.872l-128 224a32 32 0 1 1-55.68-31.744L552.96 736z"})]))}}),lightning_default=_sfc_main147,_sfc_main148=defineComponent({name:"Link",__name:"link",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M715.648 625.152 670.4 579.904l90.496-90.56c75.008-74.944 85.12-186.368 22.656-248.896-62.528-62.464-173.952-52.352-248.96 22.656L444.16 353.6l-45.248-45.248 90.496-90.496c100.032-99.968 251.968-110.08 339.456-22.656 87.488 87.488 77.312 239.424-22.656 339.456l-90.496 90.496zm-90.496 90.496-90.496 90.496C434.624 906.112 282.688 916.224 195.2 828.8c-87.488-87.488-77.312-239.424 22.656-339.456l90.496-90.496 45.248 45.248-90.496 90.56c-75.008 74.944-85.12 186.368-22.656 248.896 62.528 62.464 173.952 52.352 248.96-22.656l90.496-90.496zm0-362.048 45.248 45.248L398.848 670.4 353.6 625.152z"})]))}}),link_default=_sfc_main148,_sfc_main149=defineComponent({name:"List",__name:"list",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 192h160v736H160V192h160v64h384zM288 512h448v-64H288zm0 256h448v-64H288zm96-576V96h256v96z"})]))}}),list_default=_sfc_main149,_sfc_main150=defineComponent({name:"Loading",__name:"loading",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a32 32 0 0 1 32 32v192a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 640a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V736a32 32 0 0 1 32-32m448-192a32 32 0 0 1-32 32H736a32 32 0 1 1 0-64h192a32 32 0 0 1 32 32m-640 0a32 32 0 0 1-32 32H96a32 32 0 0 1 0-64h192a32 32 0 0 1 32 32M195.2 195.2a32 32 0 0 1 45.248 0L376.32 331.008a32 32 0 0 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m452.544 452.544a32 32 0 0 1 45.248 0L828.8 783.552a32 32 0 0 1-45.248 45.248L647.744 692.992a32 32 0 0 1 0-45.248M828.8 195.264a32 32 0 0 1 0 45.184L692.992 376.32a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0m-452.544 452.48a32 32 0 0 1 0 45.248L240.448 828.8a32 32 0 0 1-45.248-45.248l135.808-135.808a32 32 0 0 1 45.248 0"})]))}}),loading_default=_sfc_main150,_sfc_main151=defineComponent({name:"LocationFilled",__name:"location-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 928c23.936 0 117.504-68.352 192.064-153.152C803.456 661.888 864 535.808 864 416c0-189.632-155.84-320-352-320S160 226.368 160 416c0 120.32 60.544 246.4 159.936 359.232C394.432 859.84 488 928 512 928m0-435.2a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 140.8a204.8 204.8 0 1 1 0-409.6 204.8 204.8 0 0 1 0 409.6"})]))}}),location_filled_default=_sfc_main151,_sfc_main152=defineComponent({name:"LocationInformation",__name:"location-information",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 896h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),location_information_default=_sfc_main152,_sfc_main153=defineComponent({name:"Location",__name:"location",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a96 96 0 1 0 0-192 96 96 0 0 0 0 192m0 64a160 160 0 1 1 0-320 160 160 0 0 1 0 320"})]))}}),location_default=_sfc_main153,_sfc_main154=defineComponent({name:"Lock",__name:"lock",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m192-160v-64a192 192 0 1 0-384 0v64zM512 64a256 256 0 0 1 256 256v128H256V320A256 256 0 0 1 512 64"})]))}}),lock_default=_sfc_main154,_sfc_main155=defineComponent({name:"Lollipop",__name:"lollipop",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M513.28 448a64 64 0 1 1 76.544 49.728A96 96 0 0 0 768 448h64a160 160 0 0 1-320 0zm-126.976-29.696a256 256 0 1 0 43.52-180.48A256 256 0 0 1 832 448h-64a192 192 0 0 0-381.696-29.696m105.664 249.472L285.696 874.048a96 96 0 0 1-135.68-135.744l206.208-206.272a320 320 0 1 1 135.744 135.744m-54.464-36.032a322 322 0 0 1-45.248-45.248L195.2 783.552a32 32 0 1 0 45.248 45.248l197.056-197.12z"})]))}}),lollipop_default=_sfc_main155,_sfc_main156=defineComponent({name:"MagicStick",__name:"magic-stick",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64h64v192h-64zm0 576h64v192h-64zM160 480v-64h192v64zm576 0v-64h192v64zM249.856 199.04l45.248-45.184L430.848 289.6 385.6 334.848 249.856 199.104zM657.152 606.4l45.248-45.248 135.744 135.744-45.248 45.248zM114.048 923.2 68.8 877.952l316.8-316.8 45.248 45.248zM702.4 334.848 657.152 289.6l135.744-135.744 45.248 45.248z"})]))}}),magic_stick_default=_sfc_main156,_sfc_main157=defineComponent({name:"Magnet",__name:"magnet",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 320V192H704v320a192 192 0 1 1-384 0V192H192v128h128v64H192v128a320 320 0 0 0 640 0V384H704v-64zM640 512V128h256v384a384 384 0 1 1-768 0V128h256v384a128 128 0 1 0 256 0"})]))}}),magnet_default=_sfc_main157,_sfc_main158=defineComponent({name:"Male",__name:"male",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M399.5 849.5a225 225 0 1 0 0-450 225 225 0 0 0 0 450m0 56.25a281.25 281.25 0 1 1 0-562.5 281.25 281.25 0 0 1 0 562.5m253.125-787.5h225q28.125 0 28.125 28.125T877.625 174.5h-225q-28.125 0-28.125-28.125t28.125-28.125"}),createBaseVNode("path",{fill:"currentColor",d:"M877.625 118.25q28.125 0 28.125 28.125v225q0 28.125-28.125 28.125T849.5 371.375v-225q0-28.125 28.125-28.125"}),createBaseVNode("path",{fill:"currentColor",d:"M604.813 458.9 565.1 419.131l292.613-292.668 39.825 39.824z"})]))}}),male_default=_sfc_main158,_sfc_main159=defineComponent({name:"Management",__name:"management",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 128v288l96-96 96 96V128h128v768H320V128zm-448 0h128v768H128z"})]))}}),management_default=_sfc_main159,_sfc_main160=defineComponent({name:"MapLocation",__name:"map-location",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M800 416a288 288 0 1 0-576 0c0 118.144 94.528 272.128 288 456.576C705.472 688.128 800 534.144 800 416M512 960C277.312 746.688 160 565.312 160 416a352 352 0 0 1 704 0c0 149.312-117.312 330.688-352 544"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256m345.6 192L960 960H672v-64H352v64H64l102.4-256zm-68.928 0H235.328l-76.8 192h706.944z"})]))}}),map_location_default=_sfc_main160,_sfc_main161=defineComponent({name:"Medal",__name:"medal",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M576 128H448v200a286.7 286.7 0 0 1 64-8c19.52 0 40.832 2.688 64 8zm64 0v219.648c24.448 9.088 50.56 20.416 78.4 33.92L757.44 128zm-256 0H266.624l39.04 253.568c27.84-13.504 53.888-24.832 78.336-33.92zM229.312 64h565.376a32 32 0 0 1 31.616 36.864L768 480c-113.792-64-199.104-96-256-96s-142.208 32-256 96l-58.304-379.136A32 32 0 0 1 229.312 64"})]))}}),medal_default=_sfc_main161,_sfc_main162=defineComponent({name:"Memo",__name:"memo",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 320h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"}),createBaseVNode("path",{fill:"currentColor",d:"M887.01 72.99C881.01 67 873.34 64 864 64H160c-9.35 0-17.02 3-23.01 8.99C131 78.99 128 86.66 128 96v832c0 9.35 2.99 17.02 8.99 23.01S150.66 960 160 960h704c9.35 0 17.02-2.99 23.01-8.99S896 937.34 896 928V96c0-9.35-3-17.02-8.99-23.01M192 896V128h96v768zm640 0H352V128h480z"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32m0 192h192c21.33 0 32-10.67 32-32s-10.67-32-32-32H480c-21.33 0-32 10.67-32 32s10.67 32 32 32"})]))}}),memo_default=_sfc_main162,_sfc_main163=defineComponent({name:"Menu",__name:"menu",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 448a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V160.064a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32V416a32 32 0 0 1-32 32zM160 896a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h256a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zm448 0a32 32 0 0 1-32-32V608a32 32 0 0 1 32-32h255.936a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32z"})]))}}),menu_default=_sfc_main163,_sfc_main164=defineComponent({name:"MessageBox",__name:"message-box",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 384h448v64H288zm96-128h256v64H384zM131.456 512H384v128h256V512h252.544L721.856 192H302.144zM896 576H704v128H320V576H128v256h768zM275.776 128h472.448a32 32 0 0 1 28.608 17.664l179.84 359.552A32 32 0 0 1 960 519.552V864a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V519.552a32 32 0 0 1 3.392-14.336l179.776-359.552A32 32 0 0 1 275.776 128"})]))}}),message_box_default=_sfc_main164,_sfc_main165=defineComponent({name:"Message",__name:"message",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 224v512a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V224zm0-64h768a64 64 0 0 1 64 64v512a128 128 0 0 1-128 128H192A128 128 0 0 1 64 736V224a64 64 0 0 1 64-64"}),createBaseVNode("path",{fill:"currentColor",d:"M904 224 656.512 506.88a192 192 0 0 1-289.024 0L120 224zm-698.944 0 210.56 240.704a128 128 0 0 0 192.704 0L818.944 224z"})]))}}),message_default=_sfc_main165,_sfc_main166=defineComponent({name:"Mic",__name:"mic",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 704h160a64 64 0 0 0 64-64v-32h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-96h-96a32 32 0 0 1 0-64h96v-32a64 64 0 0 0-64-64H384a64 64 0 0 0-64 64v32h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v96h96a32 32 0 0 1 0 64h-96v32a64 64 0 0 0 64 64zm64 64v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768h-96a128 128 0 0 1-128-128V192A128 128 0 0 1 384 64h256a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128z"})]))}}),mic_default=_sfc_main166,_sfc_main167=defineComponent({name:"Microphone",__name:"microphone",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128a128 128 0 0 0-128 128v256a128 128 0 1 0 256 0V256a128 128 0 0 0-128-128m0-64a192 192 0 0 1 192 192v256a192 192 0 1 1-384 0V256A192 192 0 0 1 512 64m-32 832v-64a288 288 0 0 1-288-288v-32a32 32 0 0 1 64 0v32a224 224 0 0 0 224 224h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64z"})]))}}),microphone_default=_sfc_main167,_sfc_main168=defineComponent({name:"MilkTea",__name:"milk-tea",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M416 128V96a96 96 0 0 1 96-96h128a32 32 0 1 1 0 64H512a32 32 0 0 0-32 32v32h320a96 96 0 0 1 11.712 191.296l-39.68 581.056A64 64 0 0 1 708.224 960H315.776a64 64 0 0 1-63.872-59.648l-39.616-581.056A96 96 0 0 1 224 128zM276.48 320l39.296 576h392.448l4.8-70.784a224.064 224.064 0 0 1 30.016-439.808L747.52 320zM224 256h576a32 32 0 1 0 0-64H224a32 32 0 0 0 0 64m493.44 503.872 21.12-309.12a160 160 0 0 0-21.12 309.12"})]))}}),milk_tea_default=_sfc_main168,_sfc_main169=defineComponent({name:"Minus",__name:"minus",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 544h768a32 32 0 1 0 0-64H128a32 32 0 0 0 0 64"})]))}}),minus_default=_sfc_main169,_sfc_main170=defineComponent({name:"Money",__name:"money",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 640v192h640V384H768v-64h150.976c14.272 0 19.456 1.472 24.64 4.288a29.06 29.06 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64v493.952c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H233.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096c-2.688-5.184-4.224-10.368-4.224-24.576V640z"}),createBaseVNode("path",{fill:"currentColor",d:"M768 192H128v448h640zm64-22.976v493.952c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096C65.536 682.432 64 677.248 64 663.04V169.024c0-14.272 1.472-19.456 4.288-24.64a29.06 29.06 0 0 1 12.096-12.16C85.568 129.536 90.752 128 104.96 128h685.952c14.272 0 19.456 1.472 24.64 4.288a29.06 29.06 0 0 1 12.16 12.096c2.752 5.184 4.224 10.368 4.224 24.64z"}),createBaseVNode("path",{fill:"currentColor",d:"M448 576a160 160 0 1 1 0-320 160 160 0 0 1 0 320m0-64a96 96 0 1 0 0-192 96 96 0 0 0 0 192"})]))}}),money_default=_sfc_main170,_sfc_main171=defineComponent({name:"Monitor",__name:"monitor",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 768v128h192a32 32 0 1 1 0 64H288a32 32 0 1 1 0-64h192V768H192A128 128 0 0 1 64 640V256a128 128 0 0 1 128-128h640a128 128 0 0 1 128 128v384a128 128 0 0 1-128 128zM192 192a64 64 0 0 0-64 64v384a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V256a64 64 0 0 0-64-64z"})]))}}),monitor_default=_sfc_main171,_sfc_main172=defineComponent({name:"MoonNight",__name:"moon-night",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 512a448 448 0 0 1 215.872-383.296A384 384 0 0 0 213.76 640h188.8A448.3 448.3 0 0 1 384 512M171.136 704a448 448 0 0 1 636.992-575.296A384 384 0 0 0 499.328 704h-328.32z"}),createBaseVNode("path",{fill:"currentColor",d:"M32 640h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m128 128h384a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m160 127.68 224 .256a32 32 0 0 1 32 32V928a32 32 0 0 1-32 32l-224-.384a32 32 0 0 1-32-32v-.064a32 32 0 0 1 32-32z"})]))}}),moon_night_default=_sfc_main172,_sfc_main173=defineComponent({name:"Moon",__name:"moon",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M240.448 240.448a384 384 0 1 0 559.424 525.696 448 448 0 0 1-542.016-542.08 391 391 0 0 0-17.408 16.384m181.056 362.048a384 384 0 0 0 525.632 16.384A448 448 0 1 1 405.056 76.8a384 384 0 0 0 16.448 525.696"})]))}}),moon_default=_sfc_main173,_sfc_main174=defineComponent({name:"MoreFilled",__name:"more-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224m336 0a112 112 0 1 1 0 224 112 112 0 0 1 0-224"})]))}}),more_filled_default=_sfc_main174,_sfc_main175=defineComponent({name:"More",__name:"more",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M176 416a112 112 0 1 0 0 224 112 112 0 0 0 0-224m0 64a48 48 0 1 1 0 96 48 48 0 0 1 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96m336-64a112 112 0 1 1 0 224 112 112 0 0 1 0-224m0 64a48 48 0 1 0 0 96 48 48 0 0 0 0-96"})]))}}),more_default=_sfc_main175,_sfc_main176=defineComponent({name:"MostlyCloudy",__name:"mostly-cloudy",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M737.216 357.952 704 349.824l-11.776-32a192.064 192.064 0 0 0-367.424 23.04l-8.96 39.04-39.04 8.96A192.064 192.064 0 0 0 320 768h368a207.81 207.81 0 0 0 207.808-208 208.32 208.32 0 0 0-158.592-202.048m15.168-62.208A272.32 272.32 0 0 1 959.744 560a271.81 271.81 0 0 1-271.552 272H320a256 256 0 0 1-57.536-505.536 256.128 256.128 0 0 1 489.92-30.72"})]))}}),mostly_cloudy_default=_sfc_main176,_sfc_main177=defineComponent({name:"Mouse",__name:"mouse",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M438.144 256c-68.352 0-92.736 4.672-117.76 18.112q-30.144 16.128-46.272 46.272C260.672 345.408 256 369.792 256 438.144v275.712c0 68.352 4.672 92.736 18.112 117.76q16.128 30.144 46.272 46.272C345.408 891.328 369.792 896 438.144 896h147.712c68.352 0 92.736-4.672 117.76-18.112q30.144-16.128 46.272-46.272C763.328 806.592 768 782.208 768 713.856V438.144c0-68.352-4.672-92.736-18.112-117.76a110.46 110.46 0 0 0-46.272-46.272C678.592 260.672 654.208 256 585.856 256zm0-64h147.712c85.568 0 116.608 8.96 147.904 25.6 31.36 16.768 55.872 41.344 72.576 72.64C823.104 321.536 832 352.576 832 438.08v275.84c0 85.504-8.96 116.544-25.6 147.84a174.46 174.46 0 0 1-72.64 72.576C702.464 951.104 671.424 960 585.92 960H438.08c-85.504 0-116.544-8.96-147.84-25.6a174.46 174.46 0 0 1-72.64-72.704c-16.768-31.296-25.664-62.336-25.664-147.84v-275.84c0-85.504 8.96-116.544 25.6-147.84a174.46 174.46 0 0 1 72.768-72.576c31.232-16.704 62.272-25.6 147.776-25.6z"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320q32 0 32 32v128q0 32-32 32t-32-32V352q0-32 32-32m32-96a32 32 0 0 1-64 0v-64a32 32 0 0 0-32-32h-96a32 32 0 0 1 0-64h96a96 96 0 0 1 96 96z"})]))}}),mouse_default=_sfc_main177,_sfc_main178=defineComponent({name:"Mug",__name:"mug",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M736 800V160H160v640a64 64 0 0 0 64 64h448a64 64 0 0 0 64-64m64-544h63.552a96 96 0 0 1 96 96v224a96 96 0 0 1-96 96H800v128a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V128a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 64v288h63.552a32 32 0 0 0 32-32V352a32 32 0 0 0-32-32z"})]))}}),mug_default=_sfc_main178,_sfc_main179=defineComponent({name:"MuteNotification",__name:"mute-notification",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m241.216 832 63.616-64H768V448c0-42.368-10.24-82.304-28.48-117.504l46.912-47.232C815.36 331.392 832 387.84 832 448v320h96a32 32 0 1 1 0 64zm-90.24 0H96a32 32 0 1 1 0-64h96V448a320.13 320.13 0 0 1 256-313.6V128a64 64 0 1 1 128 0v6.4a319.55 319.55 0 0 1 171.648 97.088l-45.184 45.44A256 256 0 0 0 256 448v278.336L151.04 832zM448 896h128a64 64 0 0 1-128 0"}),createBaseVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z"})]))}}),mute_notification_default=_sfc_main179,_sfc_main180=defineComponent({name:"Mute",__name:"mute",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m412.16 592.128-45.44 45.44A191.23 191.23 0 0 1 320 512V256a192 192 0 1 1 384 0v44.352l-64 64V256a128 128 0 1 0-256 0v256c0 30.336 10.56 58.24 28.16 80.128m51.968 38.592A128 128 0 0 0 640 512v-57.152l64-64V512a192 192 0 0 1-287.68 166.528zM314.88 779.968l46.144-46.08A223 223 0 0 0 480 768h64a224 224 0 0 0 224-224v-32a32 32 0 1 1 64 0v32a288 288 0 0 1-288 288v64h64a32 32 0 1 1 0 64H416a32 32 0 1 1 0-64h64v-64c-61.44 0-118.4-19.2-165.12-52.032M266.752 737.6A286.98 286.98 0 0 1 192 544v-32a32 32 0 0 1 64 0v32c0 56.832 21.184 108.8 56.064 148.288z"}),createBaseVNode("path",{fill:"currentColor",d:"M150.72 859.072a32 32 0 0 1-45.44-45.056l704-708.544a32 32 0 0 1 45.44 45.056z"})]))}}),mute_default=_sfc_main180,_sfc_main181=defineComponent({name:"NoSmoking",__name:"no-smoking",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M440.256 576H256v128h56.256l-64 64H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32h280.256zm143.488 128H704V583.744L775.744 512H928a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H519.744zM768 576v128h128V576zm-29.696-207.552 45.248 45.248-497.856 497.856-45.248-45.248zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),no_smoking_default=_sfc_main181,_sfc_main182=defineComponent({name:"Notebook",__name:"notebook",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M672 128h64v768h-64zM96 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32m0 192h128q32 0 32 32t-32 32H96q-32 0-32-32t32-32"})]))}}),notebook_default=_sfc_main182,_sfc_main183=defineComponent({name:"Notification",__name:"notification",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128v64H256a64 64 0 0 0-64 64v512a64 64 0 0 0 64 64h512a64 64 0 0 0 64-64V512h64v256a128 128 0 0 1-128 128H256a128 128 0 0 1-128-128V256a128 128 0 0 1 128-128z"}),createBaseVNode("path",{fill:"currentColor",d:"M768 384a128 128 0 1 0 0-256 128 128 0 0 0 0 256m0 64a192 192 0 1 1 0-384 192 192 0 0 1 0 384"})]))}}),notification_default=_sfc_main183,_sfc_main184=defineComponent({name:"Odometer",__name:"odometer",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M192 512a320 320 0 1 1 640 0 32 32 0 1 1-64 0 256 256 0 1 0-512 0 32 32 0 0 1-64 0"}),createBaseVNode("path",{fill:"currentColor",d:"M570.432 627.84A96 96 0 1 1 509.568 608l60.992-187.776A32 32 0 1 1 631.424 440l-60.992 187.776zM502.08 734.464a32 32 0 1 0 19.84-60.928 32 32 0 0 0-19.84 60.928"})]))}}),odometer_default=_sfc_main184,_sfc_main185=defineComponent({name:"OfficeBuilding",__name:"office-building",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v704h384V128zm-32-64h448a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M256 256h256v64H256zm0 192h256v64H256zm0 192h256v64H256zm384-128h128v64H640zm0 128h128v64H640zM64 832h896v64H64z"}),createBaseVNode("path",{fill:"currentColor",d:"M640 384v448h192V384zm-32-64h256a32 32 0 0 1 32 32v512a32 32 0 0 1-32 32H608a32 32 0 0 1-32-32V352a32 32 0 0 1 32-32"})]))}}),office_building_default=_sfc_main185,_sfc_main186=defineComponent({name:"Open",__name:"open",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36"}),createBaseVNode("path",{fill:"currentColor",d:"M694.044 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),open_default=_sfc_main186,_sfc_main187=defineComponent({name:"Operation",__name:"operation",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M389.44 768a96.064 96.064 0 0 1 181.12 0H896v64H570.56a96.064 96.064 0 0 1-181.12 0H128v-64zm192-288a96.064 96.064 0 0 1 181.12 0H896v64H762.56a96.064 96.064 0 0 1-181.12 0H128v-64zm-320-288a96.064 96.064 0 0 1 181.12 0H896v64H442.56a96.064 96.064 0 0 1-181.12 0H128v-64z"})]))}}),operation_default=_sfc_main187,_sfc_main188=defineComponent({name:"Opportunity",__name:"opportunity",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 960v-64h192.064v64zm448-544a350.66 350.66 0 0 1-128.32 271.424C665.344 719.04 640 763.776 640 813.504V832H320v-14.336c0-48-19.392-95.36-57.216-124.992a351.55 351.55 0 0 1-128.448-344.256c25.344-136.448 133.888-248.128 269.76-276.48A352.384 352.384 0 0 1 832 416m-544 32c0-132.288 75.904-224 192-224v-64c-154.432 0-256 122.752-256 288z"})]))}}),opportunity_default=_sfc_main188,_sfc_main189=defineComponent({name:"Orange",__name:"orange",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 894.72a382.34 382.34 0 0 0 215.936-89.472L577.024 622.272c-10.24 6.016-21.248 10.688-33.024 13.696v258.688zm261.248-134.784A382.34 382.34 0 0 0 894.656 544H635.968c-3.008 11.776-7.68 22.848-13.696 33.024zM894.656 480a382.34 382.34 0 0 0-89.408-215.936L622.272 446.976c6.016 10.24 10.688 21.248 13.696 33.024zm-134.72-261.248A382.34 382.34 0 0 0 544 129.344v258.688c11.776 3.008 22.848 7.68 33.024 13.696zM480 129.344a382.34 382.34 0 0 0-215.936 89.408l182.912 182.976c10.24-6.016 21.248-10.688 33.024-13.696zm-261.248 134.72A382.34 382.34 0 0 0 129.344 480h258.688c3.008-11.776 7.68-22.848 13.696-33.024zM129.344 544a382.34 382.34 0 0 0 89.408 215.936l182.976-182.912A127.2 127.2 0 0 1 388.032 544zm134.72 261.248A382.34 382.34 0 0 0 480 894.656V635.968a127.2 127.2 0 0 1-33.024-13.696zM512 960a448 448 0 1 1 0-896 448 448 0 0 1 0 896m0-384a64 64 0 1 0 0-128 64 64 0 0 0 0 128"})]))}}),orange_default=_sfc_main189,_sfc_main190=defineComponent({name:"Paperclip",__name:"paperclip",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M602.496 240.448A192 192 0 1 1 874.048 512l-316.8 316.8A256 256 0 0 1 195.2 466.752L602.496 59.456l45.248 45.248L240.448 512A192 192 0 0 0 512 783.552l316.8-316.8a128 128 0 1 0-181.056-181.056L353.6 579.904a32 32 0 1 0 45.248 45.248l294.144-294.144 45.312 45.248L444.096 670.4a96 96 0 1 1-135.744-135.744z"})]))}}),paperclip_default=_sfc_main190,_sfc_main191=defineComponent({name:"PartlyCloudy",__name:"partly-cloudy",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M598.4 895.872H328.192a256 256 0 0 1-34.496-510.528A352 352 0 1 1 598.4 895.872m-271.36-64h272.256a288 288 0 1 0-248.512-417.664L335.04 445.44l-34.816 3.584a192 192 0 0 0 26.88 382.848z"}),createBaseVNode("path",{fill:"currentColor",d:"M139.84 501.888a256 256 0 1 1 417.856-277.12c-17.728 2.176-38.208 8.448-61.504 18.816A192 192 0 1 0 189.12 460.48a6004 6004 0 0 0-49.28 41.408"})]))}}),partly_cloudy_default=_sfc_main191,_sfc_main192=defineComponent({name:"Pear",__name:"pear",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M542.336 258.816a443 443 0 0 0-9.024 25.088 32 32 0 1 1-60.8-20.032l1.088-3.328a162.69 162.69 0 0 0-122.048 131.392l-17.088 102.72-20.736 15.36C256.192 552.704 224 610.88 224 672c0 120.576 126.4 224 288 224s288-103.424 288-224c0-61.12-32.192-119.296-89.728-161.92l-20.736-15.424-17.088-102.72a162.69 162.69 0 0 0-130.112-133.12m-40.128-66.56c7.936-15.552 16.576-30.08 25.92-43.776 23.296-33.92 49.408-59.776 78.528-77.12a32 32 0 1 1 32.704 55.04c-20.544 12.224-40.064 31.552-58.432 58.304a317 317 0 0 0-9.792 15.104 226.69 226.69 0 0 1 164.48 181.568l12.8 77.248C819.456 511.36 864 587.392 864 672c0 159.04-157.568 288-352 288S160 831.04 160 672c0-84.608 44.608-160.64 115.584-213.376l12.8-77.248a226.624 226.624 0 0 1 213.76-189.184z"})]))}}),pear_default=_sfc_main192,_sfc_main193=defineComponent({name:"PhoneFilled",__name:"phone-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M199.232 125.568 90.624 379.008a32 32 0 0 0 6.784 35.2l512.384 512.384a32 32 0 0 0 35.2 6.784l253.44-108.608a32 32 0 0 0 10.048-52.032L769.6 633.92a32 32 0 0 0-36.928-5.952l-130.176 65.088-271.488-271.552 65.024-130.176a32 32 0 0 0-5.952-36.928L251.2 115.52a32 32 0 0 0-51.968 10.048"})]))}}),phone_filled_default=_sfc_main193,_sfc_main194=defineComponent({name:"Phone",__name:"phone",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M79.36 432.256 591.744 944.64a32 32 0 0 0 35.2 6.784l253.44-108.544a32 32 0 0 0 9.984-52.032l-153.856-153.92a32 32 0 0 0-36.928-6.016l-69.888 34.944L358.08 394.24l35.008-69.888a32 32 0 0 0-5.952-36.928L233.152 133.568a32 32 0 0 0-52.032 10.048L72.512 397.056a32 32 0 0 0 6.784 35.2zm60.48-29.952 81.536-190.08L325.568 316.48l-24.64 49.216-20.608 41.216 32.576 32.64 271.552 271.552 32.64 32.64 41.216-20.672 49.28-24.576 104.192 104.128-190.08 81.472zM512 320v-64a256 256 0 0 1 256 256h-64a192 192 0 0 0-192-192m0-192V64a448 448 0 0 1 448 448h-64a384 384 0 0 0-384-384"})]))}}),phone_default=_sfc_main194,_sfc_main195=defineComponent({name:"PictureFilled",__name:"picture-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M96 896a32 32 0 0 1-32-32V160a32 32 0 0 1 32-32h832a32 32 0 0 1 32 32v704a32 32 0 0 1-32 32zm315.52-228.48-68.928-68.928a32 32 0 0 0-45.248 0L128 768.064h778.688l-242.112-290.56a32 32 0 0 0-49.216 0L458.752 665.408a32 32 0 0 1-47.232 2.112M256 384a96 96 0 1 0 192.064-.064A96 96 0 0 0 256 384"})]))}}),picture_filled_default=_sfc_main195,_sfc_main196=defineComponent({name:"PictureRounded",__name:"picture-rounded",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 128a384 384 0 1 0 0 768 384 384 0 0 0 0-768m0-64a448 448 0 1 1 0 896 448 448 0 0 1 0-896"}),createBaseVNode("path",{fill:"currentColor",d:"M640 288q64 0 64 64t-64 64-64-64 64-64M214.656 790.656l-45.312-45.312 185.664-185.6a96 96 0 0 1 123.712-10.24l138.24 98.688a32 32 0 0 0 39.872-2.176L906.688 422.4l42.624 47.744L699.52 693.696a96 96 0 0 1-119.808 6.592l-138.24-98.752a32 32 0 0 0-41.152 3.456l-185.664 185.6z"})]))}}),picture_rounded_default=_sfc_main196,_sfc_main197=defineComponent({name:"Picture",__name:"picture",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 160v704h704V160zm-32-64h768a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H128a32 32 0 0 1-32-32V128a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M384 288q64 0 64 64t-64 64-64-64 64-64M185.408 876.992l-50.816-38.912L350.72 556.032a96 96 0 0 1 134.592-17.856l1.856 1.472 122.88 99.136a32 32 0 0 0 44.992-4.864l216-269.888 49.92 39.936-215.808 269.824-.256.32a96 96 0 0 1-135.04 14.464l-122.88-99.072-.64-.512a32 32 0 0 0-44.8 5.952z"})]))}}),picture_default=_sfc_main197,_sfc_main198=defineComponent({name:"PieChart",__name:"pie-chart",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 68.48v64.832A384.128 384.128 0 0 0 512 896a384.13 384.13 0 0 0 378.688-320h64.768A448.128 448.128 0 0 1 64 512 448.13 448.13 0 0 1 448 68.48"}),createBaseVNode("path",{fill:"currentColor",d:"M576 97.28V448h350.72A384.064 384.064 0 0 0 576 97.28M512 64V33.152A448 448 0 0 1 990.848 512H512z"})]))}}),pie_chart_default=_sfc_main198,_sfc_main199=defineComponent({name:"Place",__name:"place",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512"}),createBaseVNode("path",{fill:"currentColor",d:"M512 512a32 32 0 0 1 32 32v256a32 32 0 1 1-64 0V544a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M384 649.088v64.96C269.76 732.352 192 771.904 192 800c0 37.696 139.904 96 320 96s320-58.304 320-96c0-28.16-77.76-67.648-192-85.952v-64.96C789.12 671.04 896 730.368 896 800c0 88.32-171.904 160-384 160s-384-71.68-384-160c0-69.696 106.88-128.96 256-150.912"})]))}}),place_default=_sfc_main199,_sfc_main200=defineComponent({name:"Platform",__name:"platform",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M448 832v-64h128v64h192v64H256v-64zM128 704V128h768v576z"})]))}}),platform_default=_sfc_main200,_sfc_main201=defineComponent({name:"Plus",__name:"plus",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 480V128a32 32 0 0 1 64 0v352h352a32 32 0 1 1 0 64H544v352a32 32 0 1 1-64 0V544H128a32 32 0 0 1 0-64z"})]))}}),plus_default=_sfc_main201,_sfc_main202=defineComponent({name:"Pointer",__name:"pointer",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M511.552 128c-35.584 0-64.384 28.8-64.384 64.448v516.48L274.048 570.88a94.27 94.27 0 0 0-112.896-3.456 44.416 44.416 0 0 0-8.96 62.208L332.8 870.4A64 64 0 0 0 384 896h512V575.232a64 64 0 0 0-45.632-61.312l-205.952-61.76A96 96 0 0 1 576 360.192V192.448C576 156.8 547.2 128 511.552 128M359.04 556.8l24.128 19.2V192.448a128.448 128.448 0 1 1 256.832 0v167.744a32 32 0 0 0 22.784 30.656l206.016 61.76A128 128 0 0 1 960 575.232V896a64 64 0 0 1-64 64H384a128 128 0 0 1-102.4-51.2L101.056 668.032A108.416 108.416 0 0 1 128 512.512a158.27 158.27 0 0 1 185.984 8.32z"})]))}}),pointer_default=_sfc_main202,_sfc_main203=defineComponent({name:"Position",__name:"position",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m249.6 417.088 319.744 43.072 39.168 310.272L845.12 178.88zm-129.024 47.168a32 32 0 0 1-7.68-61.44l777.792-311.04a32 32 0 0 1 41.6 41.6l-310.336 775.68a32 32 0 0 1-61.44-7.808L512 516.992z"})]))}}),position_default=_sfc_main203,_sfc_main204=defineComponent({name:"Postcard",__name:"postcard",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 224a32 32 0 0 0-32 32v512a32 32 0 0 0 32 32h704a32 32 0 0 0 32-32V256a32 32 0 0 0-32-32zm0-64h704a96 96 0 0 1 96 96v512a96 96 0 0 1-96 96H160a96 96 0 0 1-96-96V256a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M704 320a64 64 0 1 1 0 128 64 64 0 0 1 0-128M288 448h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32m0 128h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),postcard_default=_sfc_main204,_sfc_main205=defineComponent({name:"Pouring",__name:"pouring",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m739.328 291.328-35.2-6.592-12.8-33.408a192.064 192.064 0 0 0-365.952 23.232l-9.92 40.896-41.472 7.04a176.32 176.32 0 0 0-146.24 173.568c0 97.28 78.72 175.936 175.808 175.936h400a192 192 0 0 0 35.776-380.672M959.552 480a256 256 0 0 1-256 256h-400A239.81 239.81 0 0 1 63.744 496.192a240.32 240.32 0 0 1 199.488-236.8 256.128 256.128 0 0 1 487.872-30.976A256.064 256.064 0 0 1 959.552 480M224 800a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32m192 0a32 32 0 0 1 32 32v96a32 32 0 1 1-64 0v-96a32 32 0 0 1 32-32"})]))}}),pouring_default=_sfc_main205,_sfc_main206=defineComponent({name:"Present",__name:"present",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 896V640H192v-64h288V320H192v576zm64 0h288V320H544v256h288v64H544zM128 256h768v672a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32z"}),createBaseVNode("path",{fill:"currentColor",d:"M96 256h832q32 0 32 32t-32 32H96q-32 0-32-32t32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M416 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M608 256a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),present_default=_sfc_main206,_sfc_main207=defineComponent({name:"PriceTag",__name:"price-tag",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 318.336V896h576V318.336L552.512 115.84a64 64 0 0 0-81.024 0zM593.024 66.304l259.2 212.096A32 32 0 0 1 864 303.168V928a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V303.168a32 32 0 0 1 11.712-24.768l259.2-212.096a128 128 0 0 1 162.112 0"}),createBaseVNode("path",{fill:"currentColor",d:"M512 448a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"})]))}}),price_tag_default=_sfc_main207,_sfc_main208=defineComponent({name:"Printer",__name:"printer",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 768H105.024c-14.272 0-19.456-1.472-24.64-4.288a29.06 29.06 0 0 1-12.16-12.096C65.536 746.432 64 741.248 64 727.04V379.072c0-42.816 4.48-58.304 12.8-73.984 8.384-15.616 20.672-27.904 36.288-36.288 15.68-8.32 31.168-12.8 73.984-12.8H256V64h512v192h68.928c42.816 0 58.304 4.48 73.984 12.8 15.616 8.384 27.904 20.672 36.288 36.288 8.32 15.68 12.8 31.168 12.8 73.984v347.904c0 14.272-1.472 19.456-4.288 24.64a29.06 29.06 0 0 1-12.096 12.16c-5.184 2.752-10.368 4.224-24.64 4.224H768v192H256zm64-192v320h384V576zm-64 128V512h512v192h128V379.072c0-29.376-1.408-36.48-5.248-43.776a23.3 23.3 0 0 0-10.048-10.048c-7.232-3.84-14.4-5.248-43.776-5.248H187.072c-29.376 0-36.48 1.408-43.776 5.248a23.3 23.3 0 0 0-10.048 10.048c-3.84 7.232-5.248 14.4-5.248 43.776V704zm64-448h384V128H320zm-64 128h64v64h-64zm128 0h64v64h-64z"})]))}}),printer_default=_sfc_main208,_sfc_main209=defineComponent({name:"Promotion",__name:"promotion",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m64 448 832-320-128 704-446.08-243.328L832 192 242.816 545.472zm256 512V657.024L512 768z"})]))}}),promotion_default=_sfc_main209,_sfc_main210=defineComponent({name:"QuartzWatch",__name:"quartz-watch",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M422.02 602.01v-.03c-6.68-5.99-14.35-8.83-23.01-8.51q-13.005.48-22.5 10.02c-6.33 6.36-9.5 13.7-9.5 22.02s3 15.82 8.99 22.5c8.68 8.68 19.02 11.35 31.01 8s19.49-10.85 22.5-22.5.51-22.15-7.49-31.49zM384 512c0-9.35-3-17.02-8.99-23.01-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01m6.53-82.49c11.65 3.01 22.15.51 31.49-7.49h.04c5.99-6.68 8.83-14.34 8.51-23.01s-3.66-16.16-10.02-22.5c-6.36-6.33-13.7-9.5-22.02-9.5s-15.82 3-22.5 8.99c-8.68 8.69-11.35 19.02-8 31.01q5.025 17.985 22.5 22.5m242.94 0q17.505-4.545 22.02-22.02c3.01-11.65.51-22.15-7.49-31.49h.01c-6.68-5.99-14.18-8.99-22.5-8.99s-15.66 3.16-22.02 9.5q-9.54 9.51-10.02 22.5c-.32 8.66 2.52 16.33 8.51 23.01 9.32 8.02 19.82 10.52 31.49 7.49M512 640c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m183.01-151.01c-6-5.99-13.66-8.99-23.01-8.99s-17.02 3-23.01 8.99c-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.66 8.99 23.01 8.99s17.02-3 23.01-8.99c5.99-6 8.99-13.67 8.99-23.01 0-9.35-3-17.02-8.99-23.01"}),createBaseVNode("path",{fill:"currentColor",d:"M832 512c-2-90.67-33.17-166.17-93.5-226.5-20.43-20.42-42.6-37.49-66.5-51.23V64H352v170.26c-23.9 13.74-46.07 30.81-66.5 51.24-60.33 60.33-91.49 135.83-93.5 226.5 2 90.67 33.17 166.17 93.5 226.5 20.43 20.43 42.6 37.5 66.5 51.24V960h320V789.74c23.9-13.74 46.07-30.81 66.5-51.24 60.33-60.34 91.49-135.83 93.5-226.5M416 128h192v78.69c-29.85-9.03-61.85-13.93-96-14.69-34.15.75-66.15 5.65-96 14.68zm192 768H416v-78.68c29.85 9.03 61.85 13.93 96 14.68 34.15-.75 66.15-5.65 96-14.68zm-96-128c-72.66-2.01-132.99-27.01-180.99-75.01S258.01 584.66 256 512c2.01-72.66 27.01-132.99 75.01-180.99S439.34 258.01 512 256c72.66 2.01 132.99 27.01 180.99 75.01S765.99 439.34 768 512c-2.01 72.66-27.01 132.99-75.01 180.99S584.66 765.99 512 768"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320c-9.35 0-17.02 3-23.01 8.99-5.99 6-8.99 13.66-8.99 23.01s3 17.02 8.99 23.01c6 5.99 13.67 8.99 23.01 8.99 9.35 0 17.02-3 23.01-8.99 5.99-6 8.99-13.66 8.99-23.01s-3-17.02-8.99-23.01c-6-5.99-13.66-8.99-23.01-8.99m112.99 273.5c-8.66-.32-16.33 2.52-23.01 8.51-7.98 9.32-10.48 19.82-7.49 31.49s10.49 19.17 22.5 22.5 22.35.66 31.01-8v.04c5.99-6.68 8.99-14.18 8.99-22.5s-3.16-15.66-9.5-22.02-13.84-9.7-22.5-10.02"})]))}}),quartz_watch_default=_sfc_main210,_sfc_main211=defineComponent({name:"QuestionFilled",__name:"question-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m23.744 191.488c-52.096 0-92.928 14.784-123.2 44.352-30.976 29.568-45.76 70.4-45.76 122.496h80.256c0-29.568 5.632-52.8 17.6-68.992 13.376-19.712 35.2-28.864 66.176-28.864 23.936 0 42.944 6.336 56.32 19.712 12.672 13.376 19.712 31.68 19.712 54.912 0 17.6-6.336 34.496-19.008 49.984l-8.448 9.856c-45.76 40.832-73.216 70.4-82.368 89.408-9.856 19.008-14.08 42.24-14.08 68.992v9.856h80.96v-9.856c0-16.896 3.52-31.68 10.56-45.76 6.336-12.672 15.488-24.64 28.16-35.2 33.792-29.568 54.208-48.576 60.544-55.616 16.896-22.528 26.048-51.392 26.048-86.592q0-64.416-42.24-101.376c-28.16-25.344-65.472-37.312-111.232-37.312m-12.672 406.208a54.27 54.27 0 0 0-38.72 14.784 49.4 49.4 0 0 0-15.488 38.016c0 15.488 4.928 28.16 15.488 38.016A54.85 54.85 0 0 0 523.072 768c15.488 0 28.16-4.928 38.72-14.784a51.52 51.52 0 0 0 16.192-38.72 51.97 51.97 0 0 0-15.488-38.016 55.94 55.94 0 0 0-39.424-14.784"})]))}}),question_filled_default=_sfc_main211,_sfc_main212=defineComponent({name:"Rank",__name:"rank",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m186.496 544 41.408 41.344a32 32 0 1 1-45.248 45.312l-96-96a32 32 0 0 1 0-45.312l96-96a32 32 0 1 1 45.248 45.312L186.496 480h290.816V186.432l-41.472 41.472a32 32 0 1 1-45.248-45.184l96-96.128a32 32 0 0 1 45.312 0l96 96.064a32 32 0 0 1-45.248 45.184l-41.344-41.28V480H832l-41.344-41.344a32 32 0 0 1 45.248-45.312l96 96a32 32 0 0 1 0 45.312l-96 96a32 32 0 0 1-45.248-45.312L832 544H541.312v293.44l41.344-41.28a32 32 0 1 1 45.248 45.248l-96 96a32 32 0 0 1-45.312 0l-96-96a32 32 0 1 1 45.312-45.248l41.408 41.408V544z"})]))}}),rank_default=_sfc_main212,_sfc_main213=defineComponent({name:"ReadingLamp",__name:"reading-lamp",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 896h320q32 0 32 32t-32 32H352q-32 0-32-32t32-32m-44.672-768-99.52 448h608.384l-99.52-448zm-25.6-64h460.608a32 32 0 0 1 31.232 25.088l113.792 512A32 32 0 0 1 856.128 640H167.872a32 32 0 0 1-31.232-38.912l113.792-512A32 32 0 0 1 281.664 64z"}),createBaseVNode("path",{fill:"currentColor",d:"M672 576q32 0 32 32v128q0 32-32 32t-32-32V608q0-32 32-32m-192-.064h64V960h-64z"})]))}}),reading_lamp_default=_sfc_main213,_sfc_main214=defineComponent({name:"Reading",__name:"reading",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 863.36 384-54.848v-638.72L525.568 222.72a96 96 0 0 1-27.136 0L128 169.792v638.72zM137.024 106.432l370.432 52.928a32 32 0 0 0 9.088 0l370.432-52.928A64 64 0 0 1 960 169.792v638.72a64 64 0 0 1-54.976 63.36l-388.48 55.488a32 32 0 0 1-9.088 0l-388.48-55.488A64 64 0 0 1 64 808.512v-638.72a64 64 0 0 1 73.024-63.36"}),createBaseVNode("path",{fill:"currentColor",d:"M480 192h64v704h-64z"})]))}}),reading_default=_sfc_main214,_sfc_main215=defineComponent({name:"RefreshLeft",__name:"refresh-left",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M289.088 296.704h92.992a32 32 0 0 1 0 64H232.96a32 32 0 0 1-32-32V179.712a32 32 0 0 1 64 0v50.56a384 384 0 0 1 643.84 282.88 384 384 0 0 1-383.936 384 384 384 0 0 1-384-384h64a320 320 0 1 0 640 0 320 320 0 0 0-555.712-216.448z"})]))}}),refresh_left_default=_sfc_main215,_sfc_main216=defineComponent({name:"RefreshRight",__name:"refresh-right",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M784.512 230.272v-50.56a32 32 0 1 1 64 0v149.056a32 32 0 0 1-32 32H667.52a32 32 0 1 1 0-64h92.992A320 320 0 1 0 524.8 833.152a320 320 0 0 0 320-320h64a384 384 0 0 1-384 384 384 384 0 0 1-384-384 384 384 0 0 1 643.712-282.88"})]))}}),refresh_right_default=_sfc_main216,_sfc_main217=defineComponent({name:"Refresh",__name:"refresh",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M771.776 794.88A384 384 0 0 1 128 512h64a320 320 0 0 0 555.712 216.448H654.72a32 32 0 1 1 0-64h149.056a32 32 0 0 1 32 32v148.928a32 32 0 1 1-64 0v-50.56zM276.288 295.616h92.992a32 32 0 0 1 0 64H220.16a32 32 0 0 1-32-32V178.56a32 32 0 0 1 64 0v50.56A384 384 0 0 1 896.128 512h-64a320 320 0 0 0-555.776-216.384z"})]))}}),refresh_default=_sfc_main217,_sfc_main218=defineComponent({name:"Refrigerator",__name:"refrigerator",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 448h512V160a32 32 0 0 0-32-32H288a32 32 0 0 0-32 32zm0 64v352a32 32 0 0 0 32 32h448a32 32 0 0 0 32-32V512zm32-448h448a96 96 0 0 1 96 96v704a96 96 0 0 1-96 96H288a96 96 0 0 1-96-96V160a96 96 0 0 1 96-96m32 224h64v96h-64zm0 288h64v96h-64z"})]))}}),refrigerator_default=_sfc_main218,_sfc_main219=defineComponent({name:"RemoveFilled",__name:"remove-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896M288 512a38.4 38.4 0 0 0 38.4 38.4h371.2a38.4 38.4 0 0 0 0-76.8H326.4A38.4 38.4 0 0 0 288 512"})]))}}),remove_filled_default=_sfc_main219,_sfc_main220=defineComponent({name:"Remove",__name:"remove",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 480h320a32 32 0 1 1 0 64H352a32 32 0 0 1 0-64"}),createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"})]))}}),remove_default=_sfc_main220,_sfc_main221=defineComponent({name:"Right",__name:"right",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M754.752 480H160a32 32 0 1 0 0 64h594.752L521.344 777.344a32 32 0 0 0 45.312 45.312l288-288a32 32 0 0 0 0-45.312l-288-288a32 32 0 1 0-45.312 45.312z"})]))}}),right_default=_sfc_main221,_sfc_main222=defineComponent({name:"ScaleToOriginal",__name:"scale-to-original",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M813.176 180.706a60.235 60.235 0 0 1 60.236 60.235v481.883a60.235 60.235 0 0 1-60.236 60.235H210.824a60.235 60.235 0 0 1-60.236-60.235V240.94a60.235 60.235 0 0 1 60.236-60.235h602.352zm0-60.235H210.824A120.47 120.47 0 0 0 90.353 240.94v481.883a120.47 120.47 0 0 0 120.47 120.47h602.353a120.47 120.47 0 0 0 120.471-120.47V240.94a120.47 120.47 0 0 0-120.47-120.47zm-120.47 180.705a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 0 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118m-361.412 0a30.12 30.12 0 0 0-30.118 30.118v301.177a30.118 30.118 0 1 0 60.236 0V331.294a30.12 30.12 0 0 0-30.118-30.118M512 361.412a30.12 30.12 0 0 0-30.118 30.117v30.118a30.118 30.118 0 0 0 60.236 0V391.53A30.12 30.12 0 0 0 512 361.412M512 512a30.12 30.12 0 0 0-30.118 30.118v30.117a30.118 30.118 0 0 0 60.236 0v-30.117A30.12 30.12 0 0 0 512 512"})]))}}),scale_to_original_default=_sfc_main222,_sfc_main223=defineComponent({name:"School",__name:"school",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 128v704h576V128zm-32-64h640a32 32 0 0 1 32 32v768a32 32 0 0 1-32 32H192a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M64 832h896v64H64zm256-640h128v96H320z"}),createBaseVNode("path",{fill:"currentColor",d:"M384 832h256v-64a128 128 0 1 0-256 0zm128-256a192 192 0 0 1 192 192v128H320V768a192 192 0 0 1 192-192M320 384h128v96H320zm256-192h128v96H576zm0 192h128v96H576z"})]))}}),school_default=_sfc_main223,_sfc_main224=defineComponent({name:"Scissor",__name:"scissor",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512.064 578.368-106.88 152.768a160 160 0 1 1-23.36-78.208L472.96 522.56 196.864 128.256a32 32 0 1 1 52.48-36.736l393.024 561.344a160 160 0 1 1-23.36 78.208l-106.88-152.704zm54.4-189.248 208.384-297.6a32 32 0 0 1 52.48 36.736l-221.76 316.672-39.04-55.808zm-376.32 425.856a96 96 0 1 0 110.144-157.248 96 96 0 0 0-110.08 157.248zm643.84 0a96 96 0 1 0-110.08-157.248 96 96 0 0 0 110.08 157.248"})]))}}),scissor_default=_sfc_main224,_sfc_main225=defineComponent({name:"Search",__name:"search",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704"})]))}}),search_default=_sfc_main225,_sfc_main226=defineComponent({name:"Select",__name:"select",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M77.248 415.04a64 64 0 0 1 90.496 0l226.304 226.304L846.528 188.8a64 64 0 1 1 90.56 90.496l-543.04 543.04-316.8-316.8a64 64 0 0 1 0-90.496"})]))}}),select_default=_sfc_main226,_sfc_main227=defineComponent({name:"Sell",__name:"sell",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4h256zm201.408 483.84L768 698.496V928a32 32 0 1 1-64 0V698.496l-73.344 73.344a32 32 0 1 1-45.248-45.248l128-128a32 32 0 0 1 45.248 0l128 128a32 32 0 1 1-45.248 45.248"})]))}}),sell_default=_sfc_main227,_sfc_main228=defineComponent({name:"SemiSelect",__name:"semi-select",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 448h768q64 0 64 64t-64 64H128q-64 0-64-64t64-64"})]))}}),semi_select_default=_sfc_main228,_sfc_main229=defineComponent({name:"Service",__name:"service",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M864 409.6a192 192 0 0 1-37.888 349.44A256.064 256.064 0 0 1 576 960h-96a32 32 0 1 1 0-64h96a192.06 192.06 0 0 0 181.12-128H736a32 32 0 0 1-32-32V416a32 32 0 0 1 32-32h32c10.368 0 20.544.832 30.528 2.432a288 288 0 0 0-573.056 0A193 193 0 0 1 256 384h32a32 32 0 0 1 32 32v320a32 32 0 0 1-32 32h-32a192 192 0 0 1-96-358.4 352 352 0 0 1 704 0M256 448a128 128 0 1 0 0 256zm640 128a128 128 0 0 0-128-128v256a128 128 0 0 0 128-128"})]))}}),service_default=_sfc_main229,_sfc_main230=defineComponent({name:"SetUp",__name:"set-up",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 160a64 64 0 0 0-64 64v576a64 64 0 0 0 64 64h576a64 64 0 0 0 64-64V224a64 64 0 0 0-64-64zm0-64h576a128 128 0 0 1 128 128v576a128 128 0 0 1-128 128H224A128 128 0 0 1 96 800V224A128 128 0 0 1 224 96"}),createBaseVNode("path",{fill:"currentColor",d:"M384 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M480 320h256q32 0 32 32t-32 32H480q-32 0-32-32t32-32m160 416a64 64 0 1 0 0-128 64 64 0 0 0 0 128m0 64a128 128 0 1 1 0-256 128 128 0 0 1 0 256"}),createBaseVNode("path",{fill:"currentColor",d:"M288 640h256q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),set_up_default=_sfc_main230,_sfc_main231=defineComponent({name:"Setting",__name:"setting",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M600.704 64a32 32 0 0 1 30.464 22.208l35.2 109.376c14.784 7.232 28.928 15.36 42.432 24.512l112.384-24.192a32 32 0 0 1 34.432 15.36L944.32 364.8a32 32 0 0 1-4.032 37.504l-77.12 85.12a357 357 0 0 1 0 49.024l77.12 85.248a32 32 0 0 1 4.032 37.504l-88.704 153.6a32 32 0 0 1-34.432 15.296L708.8 803.904c-13.44 9.088-27.648 17.28-42.368 24.512l-35.264 109.376A32 32 0 0 1 600.704 960H423.296a32 32 0 0 1-30.464-22.208L357.696 828.48a352 352 0 0 1-42.56-24.64l-112.32 24.256a32 32 0 0 1-34.432-15.36L79.68 659.2a32 32 0 0 1 4.032-37.504l77.12-85.248a357 357 0 0 1 0-48.896l-77.12-85.248A32 32 0 0 1 79.68 364.8l88.704-153.6a32 32 0 0 1 34.432-15.296l112.32 24.256c13.568-9.152 27.776-17.408 42.56-24.64l35.2-109.312A32 32 0 0 1 423.232 64H600.64zm-23.424 64H446.72l-36.352 113.088-24.512 11.968a294 294 0 0 0-34.816 20.096l-22.656 15.36-116.224-25.088-65.28 113.152 79.68 88.192-1.92 27.136a293 293 0 0 0 0 40.192l1.92 27.136-79.808 88.192 65.344 113.152 116.224-25.024 22.656 15.296a294 294 0 0 0 34.816 20.096l24.512 11.968L446.72 896h130.688l36.48-113.152 24.448-11.904a288 288 0 0 0 34.752-20.096l22.592-15.296 116.288 25.024 65.28-113.152-79.744-88.192 1.92-27.136a293 293 0 0 0 0-40.256l-1.92-27.136 79.808-88.128-65.344-113.152-116.288 24.96-22.592-15.232a288 288 0 0 0-34.752-20.096l-24.448-11.904L577.344 128zM512 320a192 192 0 1 1 0 384 192 192 0 0 1 0-384m0 64a128 128 0 1 0 0 256 128 128 0 0 0 0-256"})]))}}),setting_default=_sfc_main231,_sfc_main232=defineComponent({name:"Share",__name:"share",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m679.872 348.8-301.76 188.608a127.8 127.8 0 0 1 5.12 52.16l279.936 104.96a128 128 0 1 1-22.464 59.904l-279.872-104.96a128 128 0 1 1-16.64-166.272l301.696-188.608a128 128 0 1 1 33.92 54.272z"})]))}}),share_default=_sfc_main232,_sfc_main233=defineComponent({name:"Ship",__name:"ship",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 386.88V448h405.568a32 32 0 0 1 30.72 40.768l-76.48 267.968A192 192 0 0 1 687.168 896H336.832a192 192 0 0 1-184.64-139.264L75.648 488.768A32 32 0 0 1 106.368 448H448V117.888a32 32 0 0 1 47.36-28.096l13.888 7.616L512 96v2.88l231.68 126.4a32 32 0 0 1-2.048 57.216zm0-70.272 144.768-65.792L512 171.84zM512 512H148.864l18.24 64H856.96l18.24-64zM185.408 640l28.352 99.2A128 128 0 0 0 336.832 832h350.336a128 128 0 0 0 123.072-92.8l28.352-99.2z"})]))}}),ship_default=_sfc_main233,_sfc_main234=defineComponent({name:"Shop",__name:"shop",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 704h64v192H256V704h64v64h384zm188.544-152.192C894.528 559.616 896 567.616 896 576a96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0 96 96 0 1 1-192 0c0-8.384 1.408-16.384 3.392-24.192L192 128h640z"})]))}}),shop_default=_sfc_main234,_sfc_main235=defineComponent({name:"ShoppingBag",__name:"shopping-bag",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 320v96a32 32 0 0 1-32 32h-32V320H384v128h-32a32 32 0 0 1-32-32v-96H192v576h640V320zm-384-64a192 192 0 1 1 384 0h160a32 32 0 0 1 32 32v640a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32zm64 0h256a128 128 0 1 0-256 0"}),createBaseVNode("path",{fill:"currentColor",d:"M192 704h640v64H192z"})]))}}),shopping_bag_default=_sfc_main235,_sfc_main236=defineComponent({name:"ShoppingCartFull",__name:"shopping-cart-full",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44z"}),createBaseVNode("path",{fill:"currentColor",d:"M699.648 256 608 145.984 516.352 256zm-140.8-151.04a64 64 0 0 1 98.304 0L836.352 320H379.648z"})]))}}),shopping_cart_full_default=_sfc_main236,_sfc_main237=defineComponent({name:"ShoppingCart",__name:"shopping-cart",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M432 928a48 48 0 1 1 0-96 48 48 0 0 1 0 96m320 0a48 48 0 1 1 0-96 48 48 0 0 1 0 96M96 128a32 32 0 0 1 0-64h160a32 32 0 0 1 31.36 25.728L320.64 256H928a32 32 0 0 1 31.296 38.72l-96 448A32 32 0 0 1 832 768H384a32 32 0 0 1-31.36-25.728L229.76 128zm314.24 576h395.904l82.304-384H333.44z"})]))}}),shopping_cart_default=_sfc_main237,_sfc_main238=defineComponent({name:"ShoppingTrolley",__name:"shopping-trolley",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M368 833c-13.3 0-24.5 4.5-33.5 13.5S321 866.7 321 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S415 893.3 415 880s-4.5-24.5-13.5-33.5S381.3 833 368 833m439-193c7.4 0 13.8-2.2 19.5-6.5S836 623.3 838 616l112-448c2-10-.2-19.2-6.5-27.5S929 128 919 128H96c-9.3 0-17 3-23 9s-9 13.7-9 23 3 17 9 23 13.7 9 23 9h96v576h672c9.3 0 17-3 23-9s9-13.7 9-23-3-17-9-23-13.7-9-23-9H256v-64zM256 192h622l-96 384H256zm432 641c-13.3 0-24.5 4.5-33.5 13.5S641 866.7 641 880s4.5 24.5 13.5 33.5 20.2 13.8 33.5 14.5c13.3-.7 24.5-5.5 33.5-14.5S735 893.3 735 880s-4.5-24.5-13.5-33.5S701.3 833 688 833"})]))}}),shopping_trolley_default=_sfc_main238,_sfc_main239=defineComponent({name:"Smoking",__name:"smoking",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 576v128h640V576zm-32-64h704a32 32 0 0 1 32 32v192a32 32 0 0 1-32 32H224a32 32 0 0 1-32-32V544a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M704 576h64v128h-64zM256 64h64v320h-64zM128 192h64v192h-64zM64 512h64v256H64z"})]))}}),smoking_default=_sfc_main239,_sfc_main240=defineComponent({name:"Soccer",__name:"soccer",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M418.496 871.04 152.256 604.8c-16.512 94.016-2.368 178.624 42.944 224 44.928 44.928 129.344 58.752 223.296 42.24m72.32-18.176a573.06 573.06 0 0 0 224.832-137.216 573.1 573.1 0 0 0 137.216-224.832L533.888 171.84a578.56 578.56 0 0 0-227.52 138.496A567.7 567.7 0 0 0 170.432 532.48zM871.04 418.496c16.512-93.952 2.688-178.368-42.24-223.296-44.544-44.544-128.704-58.048-222.592-41.536zM149.952 874.048c-112.96-112.96-88.832-408.96 111.168-608.96C461.056 65.152 760.96 36.928 874.048 149.952c113.024 113.024 86.784 411.008-113.152 610.944s-497.92 226.112-610.944 113.152m452.544-497.792 22.656-22.656a32 32 0 0 1 45.248 45.248l-22.656 22.656 45.248 45.248A32 32 0 1 1 647.744 512l-45.248-45.248L557.248 512l45.248 45.248a32 32 0 1 1-45.248 45.248L512 557.248l-45.248 45.248L512 647.744a32 32 0 1 1-45.248 45.248l-45.248-45.248-22.656 22.656a32 32 0 1 1-45.248-45.248l22.656-22.656-45.248-45.248A32 32 0 1 1 376.256 512l45.248 45.248L466.752 512l-45.248-45.248a32 32 0 1 1 45.248-45.248L512 466.752l45.248-45.248L512 376.256a32 32 0 0 1 45.248-45.248z"})]))}}),soccer_default=_sfc_main240,_sfc_main241=defineComponent({name:"SoldOut",__name:"sold-out",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 288h131.072a32 32 0 0 1 31.808 28.8L886.4 512h-64.384l-16-160H704v96a32 32 0 1 1-64 0v-96H384v96a32 32 0 0 1-64 0v-96H217.92l-51.2 512H512v64H131.328a32 32 0 0 1-31.808-35.2l57.6-576a32 32 0 0 1 31.808-28.8H320v-22.336C320 154.688 405.504 64 512 64s192 90.688 192 201.664v22.4zm-64 0v-22.336C640 189.248 582.272 128 512 128s-128 61.248-128 137.664v22.4h256zm201.408 476.16a32 32 0 1 1 45.248 45.184l-128 128a32 32 0 0 1-45.248 0l-128-128a32 32 0 1 1 45.248-45.248L704 837.504V608a32 32 0 1 1 64 0v229.504l73.408-73.408z"})]))}}),sold_out_default=_sfc_main241,_sfc_main242=defineComponent({name:"SortDown",__name:"sort-down",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M576 96v709.568L333.312 562.816A32 32 0 1 0 288 608l297.408 297.344A32 32 0 0 0 640 882.688V96a32 32 0 0 0-64 0"})]))}}),sort_down_default=_sfc_main242,_sfc_main243=defineComponent({name:"SortUp",__name:"sort-up",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 141.248V928a32 32 0 1 0 64 0V218.56l242.688 242.688A32 32 0 1 0 736 416L438.592 118.656A32 32 0 0 0 384 141.248"})]))}}),sort_up_default=_sfc_main243,_sfc_main244=defineComponent({name:"Sort",__name:"sort",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M384 96a32 32 0 0 1 64 0v786.752a32 32 0 0 1-54.592 22.656L95.936 608a32 32 0 0 1 0-45.312h.128a32 32 0 0 1 45.184 0L384 805.632zm192 45.248a32 32 0 0 1 54.592-22.592L928.064 416a32 32 0 0 1 0 45.312h-.128a32 32 0 0 1-45.184 0L640 218.496V928a32 32 0 1 1-64 0z"})]))}}),sort_default=_sfc_main244,_sfc_main245=defineComponent({name:"Stamp",__name:"stamp",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M624 475.968V640h144a128 128 0 0 1 128 128H128a128 128 0 0 1 128-128h144V475.968a192 192 0 1 1 224 0M128 896v-64h768v64z"})]))}}),stamp_default=_sfc_main245,_sfc_main246=defineComponent({name:"StarFilled",__name:"star-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M313.6 924.48a70.4 70.4 0 0 1-74.152-5.365 70.4 70.4 0 0 1-27.992-68.875l37.888-220.928L88.96 472.96a70.4 70.4 0 0 1 3.788-104.225A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 100.246-28.595 70.4 70.4 0 0 1 25.962 28.595l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),star_filled_default=_sfc_main246,_sfc_main247=defineComponent({name:"Star",__name:"star",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m512 747.84 228.16 119.936a6.4 6.4 0 0 0 9.28-6.72l-43.52-254.08 184.512-179.904a6.4 6.4 0 0 0-3.52-10.88l-255.104-37.12L517.76 147.904a6.4 6.4 0 0 0-11.52 0L392.192 379.072l-255.104 37.12a6.4 6.4 0 0 0-3.52 10.88L318.08 606.976l-43.584 254.08a6.4 6.4 0 0 0 9.28 6.72zM313.6 924.48a70.4 70.4 0 0 1-102.144-74.24l37.888-220.928L88.96 472.96A70.4 70.4 0 0 1 128 352.896l221.76-32.256 99.2-200.96a70.4 70.4 0 0 1 126.208 0l99.2 200.96 221.824 32.256a70.4 70.4 0 0 1 39.04 120.064L774.72 629.376l37.888 220.928a70.4 70.4 0 0 1-102.144 74.24L512 820.096l-198.4 104.32z"})]))}}),star_default=_sfc_main247,_sfc_main248=defineComponent({name:"Stopwatch",__name:"stopwatch",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a384 384 0 1 0 0-768 384 384 0 0 0 0 768m0 64a448 448 0 1 1 0-896 448 448 0 0 1 0 896"}),createBaseVNode("path",{fill:"currentColor",d:"M672 234.88c-39.168 174.464-80 298.624-122.688 372.48-64 110.848-202.624 30.848-138.624-80C453.376 453.44 540.48 355.968 672 234.816z"})]))}}),stopwatch_default=_sfc_main248,_sfc_main249=defineComponent({name:"SuccessFilled",__name:"success-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m-55.808 536.384-99.52-99.584a38.4 38.4 0 1 0-54.336 54.336l126.72 126.72a38.27 38.27 0 0 0 54.336 0l262.4-262.464a38.4 38.4 0 1 0-54.272-54.336z"})]))}}),success_filled_default=_sfc_main249,_sfc_main250=defineComponent({name:"Sugar",__name:"sugar",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m801.728 349.184 4.48 4.48a128 128 0 0 1 0 180.992L534.656 806.144a128 128 0 0 1-181.056 0l-4.48-4.48-19.392 109.696a64 64 0 0 1-108.288 34.176L78.464 802.56a64 64 0 0 1 34.176-108.288l109.76-19.328-4.544-4.544a128 128 0 0 1 0-181.056l271.488-271.488a128 128 0 0 1 181.056 0l4.48 4.48 19.392-109.504a64 64 0 0 1 108.352-34.048l142.592 143.04a64 64 0 0 1-34.24 108.16zm-548.8 198.72h447.168v2.24l60.8-60.8a63.8 63.8 0 0 0 18.752-44.416h-426.88l-89.664 89.728a64 64 0 0 0-10.24 13.248zm0 64q4.128 7.104 10.176 13.248l135.744 135.744a64 64 0 0 0 90.496 0L638.4 611.904zm490.048-230.976L625.152 263.104a64 64 0 0 0-90.496 0L416.768 380.928zM123.712 757.312l142.976 142.976 24.32-137.6a25.6 25.6 0 0 0-29.696-29.632zm633.6-633.344-24.32 137.472a25.6 25.6 0 0 0 29.632 29.632l137.28-24.064-142.656-143.04z"})]))}}),sugar_default=_sfc_main250,_sfc_main251=defineComponent({name:"SuitcaseLine",__name:"suitcase-line",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M922.5 229.5c-24.32-24.34-54.49-36.84-90.5-37.5H704v-64c-.68-17.98-7.02-32.98-19.01-44.99S658.01 64.66 640 64H384c-17.98.68-32.98 7.02-44.99 19.01S320.66 110 320 128v64H192c-35.99.68-66.16 13.18-90.5 37.5S64.66 283.99 64 320v448c.68 35.99 13.18 66.16 37.5 90.5s54.49 36.84 90.5 37.5h640c35.99-.68 66.16-13.18 90.5-37.5s36.84-54.49 37.5-90.5V320c-.68-35.99-13.18-66.16-37.5-90.5M384 128h256v64H384zM256 832h-64c-17.98-.68-32.98-7.02-44.99-19.01S128.66 786.01 128 768V448h128zm448 0H320V448h384zm192-64c-.68 17.98-7.02 32.98-19.01 44.99S850.01 831.34 832 832h-64V448h128zm0-384H128v-64c.69-17.98 7.02-32.98 19.01-44.99S173.99 256.66 192 256h640c17.98.69 32.98 7.02 44.99 19.01S895.34 301.99 896 320z"})]))}}),suitcase_line_default=_sfc_main251,_sfc_main252=defineComponent({name:"Suitcase",__name:"suitcase",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 384h768v-64a64 64 0 0 0-64-64H192a64 64 0 0 0-64 64zm0 64v320a64 64 0 0 0 64 64h640a64 64 0 0 0 64-64V448zm64-256h640a128 128 0 0 1 128 128v448a128 128 0 0 1-128 128H192A128 128 0 0 1 64 768V320a128 128 0 0 1 128-128"}),createBaseVNode("path",{fill:"currentColor",d:"M384 128v64h256v-64zm0-64h256a64 64 0 0 1 64 64v64a64 64 0 0 1-64 64H384a64 64 0 0 1-64-64v-64a64 64 0 0 1 64-64"})]))}}),suitcase_default=_sfc_main252,_sfc_main253=defineComponent({name:"Sunny",__name:"sunny",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 704a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m0-704a32 32 0 0 1 32 32v64a32 32 0 0 1-64 0V96a32 32 0 0 1 32-32m0 768a32 32 0 0 1 32 32v64a32 32 0 1 1-64 0v-64a32 32 0 0 1 32-32M195.2 195.2a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 1 1-45.248 45.248L195.2 240.448a32 32 0 0 1 0-45.248m543.104 543.104a32 32 0 0 1 45.248 0l45.248 45.248a32 32 0 0 1-45.248 45.248l-45.248-45.248a32 32 0 0 1 0-45.248M64 512a32 32 0 0 1 32-32h64a32 32 0 0 1 0 64H96a32 32 0 0 1-32-32m768 0a32 32 0 0 1 32-32h64a32 32 0 1 1 0 64h-64a32 32 0 0 1-32-32M195.2 828.8a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248L240.448 828.8a32 32 0 0 1-45.248 0m543.104-543.104a32 32 0 0 1 0-45.248l45.248-45.248a32 32 0 0 1 45.248 45.248l-45.248 45.248a32 32 0 0 1-45.248 0"})]))}}),sunny_default=_sfc_main253,_sfc_main254=defineComponent({name:"Sunrise",__name:"sunrise",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M32 768h960a32 32 0 1 1 0 64H32a32 32 0 1 1 0-64m129.408-96a352 352 0 0 1 701.184 0h-64.32a288 288 0 0 0-572.544 0zM512 128a32 32 0 0 1 32 32v96a32 32 0 0 1-64 0v-96a32 32 0 0 1 32-32m407.296 168.704a32 32 0 0 1 0 45.248l-67.84 67.84a32 32 0 1 1-45.248-45.248l67.84-67.84a32 32 0 0 1 45.248 0m-814.592 0a32 32 0 0 1 45.248 0l67.84 67.84a32 32 0 1 1-45.248 45.248l-67.84-67.84a32 32 0 0 1 0-45.248"})]))}}),sunrise_default=_sfc_main254,_sfc_main255=defineComponent({name:"Sunset",__name:"sunset",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M82.56 640a448 448 0 1 1 858.88 0h-67.2a384 384 0 1 0-724.288 0zM32 704h960q32 0 32 32t-32 32H32q-32 0-32-32t32-32m256 128h448q32 0 32 32t-32 32H288q-32 0-32-32t32-32"})]))}}),sunset_default=_sfc_main255,_sfc_main256=defineComponent({name:"SwitchButton",__name:"switch-button",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M352 159.872V230.4a352 352 0 1 0 320 0v-70.528A416.128 416.128 0 0 1 512 960a416 416 0 0 1-160-800.128"}),createBaseVNode("path",{fill:"currentColor",d:"M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"})]))}}),switch_button_default=_sfc_main256,_sfc_main257=defineComponent({name:"SwitchFilled",__name:"switch-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M247.47 358.4v.04c.07 19.17 7.72 37.53 21.27 51.09s31.92 21.2 51.09 21.27c39.86 0 72.41-32.6 72.41-72.4s-32.6-72.36-72.41-72.36-72.36 32.55-72.36 72.36"}),createBaseVNode("path",{fill:"currentColor",d:"M492.38 128H324.7c-52.16 0-102.19 20.73-139.08 57.61a196.66 196.66 0 0 0-57.61 139.08V698.7c-.01 25.84 5.08 51.42 14.96 75.29s24.36 45.56 42.63 63.83 39.95 32.76 63.82 42.65a196.7 196.7 0 0 0 75.28 14.98h167.68c3.03 0 5.46-2.43 5.46-5.42V133.42c.6-2.99-1.83-5.42-5.46-5.42m-56.11 705.88H324.7c-17.76.13-35.36-3.33-51.75-10.18s-31.22-16.94-43.61-29.67c-25.3-25.35-39.81-59.1-39.81-95.32V324.69c-.13-17.75 3.33-35.35 10.17-51.74a131.7 131.7 0 0 1 29.64-43.62c25.39-25.3 59.14-39.81 95.36-39.81h111.57zm402.12-647.67a196.66 196.66 0 0 0-139.08-57.61H580.48c-3.03 0-4.82 2.43-4.82 4.82v757.16c-.6 2.99 1.79 5.42 5.42 5.42h118.23a196.7 196.7 0 0 0 139.08-57.61A196.66 196.66 0 0 0 896 699.31V325.29a196.7 196.7 0 0 0-57.61-139.08m-111.3 441.92c-42.83 0-77.82-34.99-77.82-77.82s34.98-77.82 77.82-77.82c42.83 0 77.82 34.99 77.82 77.82s-34.99 77.82-77.82 77.82"})]))}}),switch_filled_default=_sfc_main257,_sfc_main258=defineComponent({name:"Switch",__name:"switch",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M118.656 438.656a32 32 0 0 1 0-45.248L416 96l4.48-3.776A32 32 0 0 1 461.248 96l3.712 4.48a32.064 32.064 0 0 1-3.712 40.832L218.56 384H928a32 32 0 1 1 0 64H141.248a32 32 0 0 1-22.592-9.344M64 608a32 32 0 0 1 32-32h786.752a32 32 0 0 1 22.656 54.592L608 928l-4.48 3.776a32.064 32.064 0 0 1-40.832-49.024L805.632 640H96a32 32 0 0 1-32-32"})]))}}),switch_default=_sfc_main258,_sfc_main259=defineComponent({name:"TakeawayBox",__name:"takeaway-box",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M832 384H192v448h640zM96 320h832V128H96zm800 64v480a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V384H64a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h896a32 32 0 0 1 32 32v256a32 32 0 0 1-32 32zM416 512h192a32 32 0 0 1 0 64H416a32 32 0 0 1 0-64"})]))}}),takeaway_box_default=_sfc_main259,_sfc_main260=defineComponent({name:"Ticket",__name:"ticket",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 832H64V640a128 128 0 1 0 0-256V192h576v160h64V192h256v192a128 128 0 1 0 0 256v192H704V672h-64zm0-416v192h64V416z"})]))}}),ticket_default=_sfc_main260,_sfc_main261=defineComponent({name:"Tickets",__name:"tickets",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M192 128v768h640V128zm-32-64h704a32 32 0 0 1 32 32v832a32 32 0 0 1-32 32H160a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32m160 448h384v64H320zm0-192h192v64H320zm0 384h384v64H320z"})]))}}),tickets_default=_sfc_main261,_sfc_main262=defineComponent({name:"Timer",__name:"timer",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 896a320 320 0 1 0 0-640 320 320 0 0 0 0 640m0 64a384 384 0 1 1 0-768 384 384 0 0 1 0 768"}),createBaseVNode("path",{fill:"currentColor",d:"M512 320a32 32 0 0 1 32 32l-.512 224a32 32 0 1 1-64 0L480 352a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M448 576a64 64 0 1 0 128 0 64 64 0 1 0-128 0m96-448v128h-64V128h-96a32 32 0 0 1 0-64h256a32 32 0 1 1 0 64z"})]))}}),timer_default=_sfc_main262,_sfc_main263=defineComponent({name:"ToiletPaper",__name:"toilet-paper",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M595.2 128H320a192 192 0 0 0-192 192v576h384V352c0-90.496 32.448-171.2 83.2-224M736 64c123.712 0 224 128.96 224 288S859.712 640 736 640H576v320H64V320A256 256 0 0 1 320 64zM576 352v224h160c84.352 0 160-97.28 160-224s-75.648-224-160-224-160 97.28-160 224"}),createBaseVNode("path",{fill:"currentColor",d:"M736 448c-35.328 0-64-43.008-64-96s28.672-96 64-96 64 43.008 64 96-28.672 96-64 96"})]))}}),toilet_paper_default=_sfc_main263,_sfc_main264=defineComponent({name:"Tools",__name:"tools",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M764.416 254.72a351.7 351.7 0 0 1 86.336 149.184H960v192.064H850.752a351.7 351.7 0 0 1-86.336 149.312l54.72 94.72-166.272 96-54.592-94.72a352.64 352.64 0 0 1-172.48 0L371.136 936l-166.272-96 54.72-94.72a351.7 351.7 0 0 1-86.336-149.312H64v-192h109.248a351.7 351.7 0 0 1 86.336-149.312L204.8 160l166.208-96h.192l54.656 94.592a352.64 352.64 0 0 1 172.48 0L652.8 64h.128L819.2 160l-54.72 94.72zM704 499.968a192 192 0 1 0-384 0 192 192 0 0 0 384 0"})]))}}),tools_default=_sfc_main264,_sfc_main265=defineComponent({name:"TopLeft",__name:"top-left",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M256 256h416a32 32 0 1 0 0-64H224a32 32 0 0 0-32 32v448a32 32 0 0 0 64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M246.656 201.344a32 32 0 0 0-45.312 45.312l544 544a32 32 0 0 0 45.312-45.312z"})]))}}),top_left_default=_sfc_main265,_sfc_main266=defineComponent({name:"TopRight",__name:"top-right",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M768 256H353.6a32 32 0 1 1 0-64H800a32 32 0 0 1 32 32v448a32 32 0 0 1-64 0z"}),createBaseVNode("path",{fill:"currentColor",d:"M777.344 201.344a32 32 0 0 1 45.312 45.312l-544 544a32 32 0 0 1-45.312-45.312z"})]))}}),top_right_default=_sfc_main266,_sfc_main267=defineComponent({name:"Top",__name:"top",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M572.235 205.282v600.365a30.118 30.118 0 1 1-60.235 0V205.282L292.382 438.633a28.913 28.913 0 0 1-42.646 0 33.43 33.43 0 0 1 0-45.236l271.058-288.045a28.913 28.913 0 0 1 42.647 0L834.5 393.397a33.43 33.43 0 0 1 0 45.176 28.913 28.913 0 0 1-42.647 0l-219.618-233.23z"})]))}}),top_default=_sfc_main267,_sfc_main268=defineComponent({name:"TrendCharts",__name:"trend-charts",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128 896V128h768v768zm291.712-327.296 128 102.4 180.16-201.792-47.744-42.624-139.84 156.608-128-102.4-180.16 201.792 47.744 42.624zM816 352a48 48 0 1 0-96 0 48 48 0 0 0 96 0"})]))}}),trend_charts_default=_sfc_main268,_sfc_main269=defineComponent({name:"TrophyBase",__name:"trophy-base",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M918.4 201.6c-6.4-6.4-12.8-9.6-22.4-9.6H768V96c0-9.6-3.2-16-9.6-22.4S745.6 64 736 64H288c-9.6 0-16 3.2-22.4 9.6S256 86.4 256 96v96H128c-9.6 0-16 3.2-22.4 9.6S96 217.6 96 224c3.2 108.8 25.6 185.6 64 224 34.4 34.4 77.56 55.65 127.65 61.99 10.91 20.44 24.78 39.25 41.95 56.41 40.86 40.86 91 65.47 150.4 71.9V768h-96c-9.6 0-16 3.2-22.4 9.6S352 790.4 352 800s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6h256c9.6 0 16-3.2 22.4-9.6s9.6-12.8 9.6-22.4-3.2-16-9.6-22.4-12.8-9.6-22.4-9.6h-96V637.26c59.4-7.71 109.54-30.01 150.4-70.86 17.2-17.2 31.51-36.06 42.81-56.55 48.93-6.51 90.02-27.7 126.79-61.85 38.4-38.4 60.8-112 64-224 0-6.4-3.2-16-9.6-22.4M256 438.4c-19.2-6.4-35.2-19.2-51.2-35.2-22.4-22.4-35.2-70.4-41.6-147.2H256zm390.4 80C608 553.6 566.4 576 512 576s-99.2-19.2-134.4-57.6S320 438.4 320 384V128h384v256q0 81.6-57.6 134.4m172.8-115.2c-16 16-32 25.6-51.2 35.2V256h92.8c-6.4 76.8-19.2 124.8-41.6 147.2M768 896H256c-9.6 0-16 3.2-22.4 9.6S224 918.4 224 928s3.2 16 9.6 22.4 12.8 9.6 22.4 9.6h512c9.6 0 16-3.2 22.4-9.6s9.6-12.8 9.6-22.4-3.2-16-9.6-22.4-12.8-9.6-22.4-9.6"})]))}}),trophy_base_default=_sfc_main269,_sfc_main270=defineComponent({name:"Trophy",__name:"trophy",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M480 896V702.08A256.26 256.26 0 0 1 264.064 512h-32.64a96 96 0 0 1-91.968-68.416L93.632 290.88a76.8 76.8 0 0 1 73.6-98.88H256V96a32 32 0 0 1 32-32h448a32 32 0 0 1 32 32v96h88.768a76.8 76.8 0 0 1 73.6 98.88L884.48 443.52A96 96 0 0 1 792.576 512h-32.64A256.26 256.26 0 0 1 544 702.08V896h128a32 32 0 1 1 0 64H352a32 32 0 1 1 0-64zm224-448V128H320v320a192 192 0 1 0 384 0m64 0h24.576a32 32 0 0 0 30.656-22.784l45.824-152.768A12.8 12.8 0 0 0 856.768 256H768zm-512 0V256h-88.768a12.8 12.8 0 0 0-12.288 16.448l45.824 152.768A32 32 0 0 0 231.424 448z"})]))}}),trophy_default=_sfc_main270,_sfc_main271=defineComponent({name:"TurnOff",__name:"turn-off",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M329.956 257.138a254.862 254.862 0 0 0 0 509.724h364.088a254.862 254.862 0 0 0 0-509.724zm0-72.818h364.088a327.68 327.68 0 1 1 0 655.36H329.956a327.68 327.68 0 1 1 0-655.36"}),createBaseVNode("path",{fill:"currentColor",d:"M329.956 621.227a109.227 109.227 0 1 0 0-218.454 109.227 109.227 0 0 0 0 218.454m0 72.817a182.044 182.044 0 1 1 0-364.088 182.044 182.044 0 0 1 0 364.088"})]))}}),turn_off_default=_sfc_main271,_sfc_main272=defineComponent({name:"Umbrella",__name:"umbrella",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M320 768a32 32 0 1 1 64 0 64 64 0 0 0 128 0V512H64a448 448 0 1 1 896 0H576v256a128 128 0 1 1-256 0m570.688-320a384.128 384.128 0 0 0-757.376 0z"})]))}}),umbrella_default=_sfc_main272,_sfc_main273=defineComponent({name:"Unlock",__name:"unlock",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M224 448a32 32 0 0 0-32 32v384a32 32 0 0 0 32 32h576a32 32 0 0 0 32-32V480a32 32 0 0 0-32-32zm0-64h576a96 96 0 0 1 96 96v384a96 96 0 0 1-96 96H224a96 96 0 0 1-96-96V480a96 96 0 0 1 96-96"}),createBaseVNode("path",{fill:"currentColor",d:"M512 544a32 32 0 0 1 32 32v192a32 32 0 1 1-64 0V576a32 32 0 0 1 32-32m178.304-295.296A192.064 192.064 0 0 0 320 320v64h352l96 38.4V448H256V320a256 256 0 0 1 493.76-95.104z"})]))}}),unlock_default=_sfc_main273,_sfc_main274=defineComponent({name:"UploadFilled",__name:"upload-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M544 864V672h128L512 480 352 672h128v192H320v-1.6c-5.376.32-10.496 1.6-16 1.6A240 240 0 0 1 64 624c0-123.136 93.12-223.488 212.608-237.248A239.81 239.81 0 0 1 512 192a239.87 239.87 0 0 1 235.456 194.752c119.488 13.76 212.48 114.112 212.48 237.248a240 240 0 0 1-240 240c-5.376 0-10.56-1.28-16-1.6v1.6z"})]))}}),upload_filled_default=_sfc_main274,_sfc_main275=defineComponent({name:"Upload",__name:"upload",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 832h704a32 32 0 1 1 0 64H160a32 32 0 1 1 0-64m384-578.304V704h-64V247.296L237.248 490.048 192 444.8 508.8 128l316.8 316.8-45.312 45.248z"})]))}}),upload_default=_sfc_main275,_sfc_main276=defineComponent({name:"UserFilled",__name:"user-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M288 320a224 224 0 1 0 448 0 224 224 0 1 0-448 0m544 608H160a32 32 0 0 1-32-32v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 0 1-32 32z"})]))}}),user_filled_default=_sfc_main276,_sfc_main277=defineComponent({name:"User",__name:"user",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 512a192 192 0 1 0 0-384 192 192 0 0 0 0 384m0 64a256 256 0 1 1 0-512 256 256 0 0 1 0 512m320 320v-96a96 96 0 0 0-96-96H288a96 96 0 0 0-96 96v96a32 32 0 1 1-64 0v-96a160 160 0 0 1 160-160h448a160 160 0 0 1 160 160v96a32 32 0 1 1-64 0"})]))}}),user_default=_sfc_main277,_sfc_main278=defineComponent({name:"Van",__name:"van",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M128.896 736H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h576a32 32 0 0 1 32 32v96h164.544a32 32 0 0 1 31.616 27.136l54.144 352A32 32 0 0 1 922.688 736h-91.52a144 144 0 1 1-286.272 0H415.104a144 144 0 1 1-286.272 0zm23.36-64a143.872 143.872 0 0 1 239.488 0H568.32c17.088-25.6 42.24-45.376 71.744-55.808V256H128v416zm655.488 0h77.632l-19.648-128H704v64.896A144 144 0 0 1 807.744 672m48.128-192-14.72-96H704v96zM688 832a80 80 0 1 0 0-160 80 80 0 0 0 0 160m-416 0a80 80 0 1 0 0-160 80 80 0 0 0 0 160"})]))}}),van_default=_sfc_main278,_sfc_main279=defineComponent({name:"VideoCameraFilled",__name:"video-camera-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m768 576 192-64v320l-192-64v96a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V480a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zM192 768v64h384v-64zm192-480a160 160 0 0 1 320 0 160 160 0 0 1-320 0m64 0a96 96 0 1 0 192.064-.064A96 96 0 0 0 448 288m-320 32a128 128 0 1 1 256.064.064A128 128 0 0 1 128 320m64 0a64 64 0 1 0 128 0 64 64 0 0 0-128 0"})]))}}),video_camera_filled_default=_sfc_main279,_sfc_main280=defineComponent({name:"VideoCamera",__name:"video-camera",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M704 768V256H128v512zm64-416 192-96v512l-192-96v128a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V224a32 32 0 0 1 32-32h640a32 32 0 0 1 32 32zm0 71.552v176.896l128 64V359.552zM192 320h192v64H192z"})]))}}),video_camera_default=_sfc_main280,_sfc_main281=defineComponent({name:"VideoPause",__name:"video-pause",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-96-544q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32m192 0q32 0 32 32v256q0 32-32 32t-32-32V384q0-32 32-32"})]))}}),video_pause_default=_sfc_main281,_sfc_main282=defineComponent({name:"VideoPlay",__name:"video-play",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m-48-247.616L668.608 512 464 375.616zm10.624-342.656 249.472 166.336a48 48 0 0 1 0 79.872L474.624 718.272A48 48 0 0 1 400 678.336V345.6a48 48 0 0 1 74.624-39.936z"})]))}}),video_play_default=_sfc_main282,_sfc_main283=defineComponent({name:"View",__name:"view",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 160c320 0 512 352 512 352S832 864 512 864 0 512 0 512s192-352 512-352m0 64c-225.28 0-384.128 208.064-436.8 288 52.608 79.872 211.456 288 436.8 288 225.28 0 384.128-208.064 436.8-288-52.608-79.872-211.456-288-436.8-288m0 64a224 224 0 1 1 0 448 224 224 0 0 1 0-448m0 64a160.19 160.19 0 0 0-160 160c0 88.192 71.744 160 160 160s160-71.808 160-160-71.744-160-160-160"})]))}}),view_default=_sfc_main283,_sfc_main284=defineComponent({name:"WalletFilled",__name:"wallet-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M688 512a112 112 0 1 0 0 224h208v160H128V352h768v160zm32 160h-32a48 48 0 0 1 0-96h32a48 48 0 0 1 0 96m-80-544 128 160H384z"})]))}}),wallet_filled_default=_sfc_main284,_sfc_main285=defineComponent({name:"Wallet",__name:"wallet",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M640 288h-64V128H128v704h384v32a32 32 0 0 0 32 32H96a32 32 0 0 1-32-32V96a32 32 0 0 1 32-32h512a32 32 0 0 1 32 32z"}),createBaseVNode("path",{fill:"currentColor",d:"M128 320v512h768V320zm-32-64h832a32 32 0 0 1 32 32v576a32 32 0 0 1-32 32H96a32 32 0 0 1-32-32V288a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M704 640a64 64 0 1 1 0-128 64 64 0 0 1 0 128"})]))}}),wallet_default=_sfc_main285,_sfc_main286=defineComponent({name:"WarnTriangleFilled",__name:"warn-triangle-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg","xml:space":"preserve",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M928.99 755.83 574.6 203.25c-12.89-20.16-36.76-32.58-62.6-32.58s-49.71 12.43-62.6 32.58L95.01 755.83c-12.91 20.12-12.9 44.91.01 65.03 12.92 20.12 36.78 32.51 62.59 32.49h708.78c25.82.01 49.68-12.37 62.59-32.49s12.92-44.91.01-65.03M554.67 768h-85.33v-85.33h85.33zm0-426.67v298.66h-85.33V341.32z"})]))}}),warn_triangle_filled_default=_sfc_main286,_sfc_main287=defineComponent({name:"WarningFilled",__name:"warning-filled",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 192a58.43 58.43 0 0 0-58.24 63.744l23.36 256.384a35.072 35.072 0 0 0 69.76 0l23.296-256.384A58.43 58.43 0 0 0 512 256m0 512a51.2 51.2 0 1 0 0-102.4 51.2 51.2 0 0 0 0 102.4"})]))}}),warning_filled_default=_sfc_main287,_sfc_main288=defineComponent({name:"Warning",__name:"warning",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 64a448 448 0 1 1 0 896 448 448 0 0 1 0-896m0 832a384 384 0 0 0 0-768 384 384 0 0 0 0 768m48-176a48 48 0 1 1-96 0 48 48 0 0 1 96 0m-48-464a32 32 0 0 1 32 32v288a32 32 0 0 1-64 0V288a32 32 0 0 1 32-32"})]))}}),warning_default=_sfc_main288,_sfc_main289=defineComponent({name:"Watch",__name:"watch",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M512 768a256 256 0 1 0 0-512 256 256 0 0 0 0 512m0 64a320 320 0 1 1 0-640 320 320 0 0 1 0 640"}),createBaseVNode("path",{fill:"currentColor",d:"M480 352a32 32 0 0 1 32 32v160a32 32 0 0 1-64 0V384a32 32 0 0 1 32-32"}),createBaseVNode("path",{fill:"currentColor",d:"M480 512h128q32 0 32 32t-32 32H480q-32 0-32-32t32-32m128-256V128H416v128h-64V64h320v192zM416 768v128h192V768h64v192H352V768z"})]))}}),watch_default=_sfc_main289,_sfc_main290=defineComponent({name:"Watermelon",__name:"watermelon",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m683.072 600.32-43.648 162.816-61.824-16.512 53.248-198.528L576 493.248l-158.4 158.4-45.248-45.248 158.4-158.4-55.616-55.616-198.528 53.248-16.512-61.824 162.816-43.648L282.752 200A384 384 0 0 0 824 741.248zm231.552 141.056a448 448 0 1 1-632-632z"})]))}}),watermelon_default=_sfc_main290,_sfc_main291=defineComponent({name:"WindPower",__name:"wind-power",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"M160 64q32 0 32 32v832q0 32-32 32t-32-32V96q0-32 32-32m416 354.624 128-11.584V168.96l-128-11.52v261.12zm-64 5.824V151.552L320 134.08V160h-64V64l616.704 56.064A96 96 0 0 1 960 215.68v144.64a96 96 0 0 1-87.296 95.616L256 512V224h64v217.92zm256-23.232 98.88-8.96A32 32 0 0 0 896 360.32V215.68a32 32 0 0 0-29.12-31.872l-98.88-8.96z"})]))}}),wind_power_default=_sfc_main291,_sfc_main292=defineComponent({name:"ZoomIn",__name:"zoom-in",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704m-32-384v-96a32 32 0 0 1 64 0v96h96a32 32 0 0 1 0 64h-96v96a32 32 0 0 1-64 0v-96h-96a32 32 0 0 1 0-64z"})]))}}),zoom_in_default=_sfc_main292,_sfc_main293=defineComponent({name:"ZoomOut",__name:"zoom-out",setup(n){return(t,r)=>(openBlock(),createElementBlock("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1024 1024"},[createBaseVNode("path",{fill:"currentColor",d:"m795.904 750.72 124.992 124.928a32 32 0 0 1-45.248 45.248L750.656 795.904a416 416 0 1 1 45.248-45.248zM480 832a352 352 0 1 0 0-704 352 352 0 0 0 0 704M352 448h256a32 32 0 0 1 0 64H352a32 32 0 0 1 0-64"})]))}}),zoom_out_default=_sfc_main293;const ElementPlusIconsVue=Object.freeze(Object.defineProperty({__proto__:null,AddLocation:add_location_default,Aim:aim_default,AlarmClock:alarm_clock_default,Apple:apple_default,ArrowDown:arrow_down_default,ArrowDownBold:arrow_down_bold_default,ArrowLeft:arrow_left_default,ArrowLeftBold:arrow_left_bold_default,ArrowRight:arrow_right_default,ArrowRightBold:arrow_right_bold_default,ArrowUp:arrow_up_default,ArrowUpBold:arrow_up_bold_default,Avatar:avatar_default,Back:back_default,Baseball:baseball_default,Basketball:basketball_default,Bell:bell_default,BellFilled:bell_filled_default,Bicycle:bicycle_default,Bottom:bottom_default,BottomLeft:bottom_left_default,BottomRight:bottom_right_default,Bowl:bowl_default,Box:box_default,Briefcase:briefcase_default,Brush:brush_default,BrushFilled:brush_filled_default,Burger:burger_default,Calendar:calendar_default,Camera:camera_default,CameraFilled:camera_filled_default,CaretBottom:caret_bottom_default,CaretLeft:caret_left_default,CaretRight:caret_right_default,CaretTop:caret_top_default,Cellphone:cellphone_default,ChatDotRound:chat_dot_round_default,ChatDotSquare:chat_dot_square_default,ChatLineRound:chat_line_round_default,ChatLineSquare:chat_line_square_default,ChatRound:chat_round_default,ChatSquare:chat_square_default,Check:check_default,Checked:checked_default,Cherry:cherry_default,Chicken:chicken_default,ChromeFilled:chrome_filled_default,CircleCheck:circle_check_default,CircleCheckFilled:circle_check_filled_default,CircleClose:circle_close_default,CircleCloseFilled:circle_close_filled_default,CirclePlus:circle_plus_default,CirclePlusFilled:circle_plus_filled_default,Clock:clock_default,Close:close_default,CloseBold:close_bold_default,Cloudy:cloudy_default,Coffee:coffee_default,CoffeeCup:coffee_cup_default,Coin:coin_default,ColdDrink:cold_drink_default,Collection:collection_default,CollectionTag:collection_tag_default,Comment:comment_default,Compass:compass_default,Connection:connection_default,Coordinate:coordinate_default,CopyDocument:copy_document_default,Cpu:cpu_default,CreditCard:credit_card_default,Crop:crop_default,DArrowLeft:d_arrow_left_default,DArrowRight:d_arrow_right_default,DCaret:d_caret_default,DataAnalysis:data_analysis_default,DataBoard:data_board_default,DataLine:data_line_default,Delete:delete_default,DeleteFilled:delete_filled_default,DeleteLocation:delete_location_default,Dessert:dessert_default,Discount:discount_default,Dish:dish_default,DishDot:dish_dot_default,Document:document_default,DocumentAdd:document_add_default,DocumentChecked:document_checked_default,DocumentCopy:document_copy_default,DocumentDelete:document_delete_default,DocumentRemove:document_remove_default,Download:download_default,Drizzling:drizzling_default,Edit:edit_default,EditPen:edit_pen_default,Eleme:eleme_default,ElemeFilled:eleme_filled_default,ElementPlus:element_plus_default,Expand:expand_default,Failed:failed_default,Female:female_default,Files:files_default,Film:film_default,Filter:filter_default,Finished:finished_default,FirstAidKit:first_aid_kit_default,Flag:flag_default,Fold:fold_default,Folder:folder_default,FolderAdd:folder_add_default,FolderChecked:folder_checked_default,FolderDelete:folder_delete_default,FolderOpened:folder_opened_default,FolderRemove:folder_remove_default,Food:food_default,Football:football_default,ForkSpoon:fork_spoon_default,Fries:fries_default,FullScreen:full_screen_default,Goblet:goblet_default,GobletFull:goblet_full_default,GobletSquare:goblet_square_default,GobletSquareFull:goblet_square_full_default,GoldMedal:gold_medal_default,Goods:goods_default,GoodsFilled:goods_filled_default,Grape:grape_default,Grid:grid_default,Guide:guide_default,Handbag:handbag_default,Headset:headset_default,Help:help_default,HelpFilled:help_filled_default,Hide:hide_default,Histogram:histogram_default,HomeFilled:home_filled_default,HotWater:hot_water_default,House:house_default,IceCream:ice_cream_default,IceCreamRound:ice_cream_round_default,IceCreamSquare:ice_cream_square_default,IceDrink:ice_drink_default,IceTea:ice_tea_default,InfoFilled:info_filled_default,Iphone:iphone_default,Key:key_default,KnifeFork:knife_fork_default,Lightning:lightning_default,Link:link_default,List:list_default,Loading:loading_default,Location:location_default,LocationFilled:location_filled_default,LocationInformation:location_information_default,Lock:lock_default,Lollipop:lollipop_default,MagicStick:magic_stick_default,Magnet:magnet_default,Male:male_default,Management:management_default,MapLocation:map_location_default,Medal:medal_default,Memo:memo_default,Menu:menu_default,Message:message_default,MessageBox:message_box_default,Mic:mic_default,Microphone:microphone_default,MilkTea:milk_tea_default,Minus:minus_default,Money:money_default,Monitor:monitor_default,Moon:moon_default,MoonNight:moon_night_default,More:more_default,MoreFilled:more_filled_default,MostlyCloudy:mostly_cloudy_default,Mouse:mouse_default,Mug:mug_default,Mute:mute_default,MuteNotification:mute_notification_default,NoSmoking:no_smoking_default,Notebook:notebook_default,Notification:notification_default,Odometer:odometer_default,OfficeBuilding:office_building_default,Open:open_default,Operation:operation_default,Opportunity:opportunity_default,Orange:orange_default,Paperclip:paperclip_default,PartlyCloudy:partly_cloudy_default,Pear:pear_default,Phone:phone_default,PhoneFilled:phone_filled_default,Picture:picture_default,PictureFilled:picture_filled_default,PictureRounded:picture_rounded_default,PieChart:pie_chart_default,Place:place_default,Platform:platform_default,Plus:plus_default,Pointer:pointer_default,Position:position_default,Postcard:postcard_default,Pouring:pouring_default,Present:present_default,PriceTag:price_tag_default,Printer:printer_default,Promotion:promotion_default,QuartzWatch:quartz_watch_default,QuestionFilled:question_filled_default,Rank:rank_default,Reading:reading_default,ReadingLamp:reading_lamp_default,Refresh:refresh_default,RefreshLeft:refresh_left_default,RefreshRight:refresh_right_default,Refrigerator:refrigerator_default,Remove:remove_default,RemoveFilled:remove_filled_default,Right:right_default,ScaleToOriginal:scale_to_original_default,School:school_default,Scissor:scissor_default,Search:search_default,Select:select_default,Sell:sell_default,SemiSelect:semi_select_default,Service:service_default,SetUp:set_up_default,Setting:setting_default,Share:share_default,Ship:ship_default,Shop:shop_default,ShoppingBag:shopping_bag_default,ShoppingCart:shopping_cart_default,ShoppingCartFull:shopping_cart_full_default,ShoppingTrolley:shopping_trolley_default,Smoking:smoking_default,Soccer:soccer_default,SoldOut:sold_out_default,Sort:sort_default,SortDown:sort_down_default,SortUp:sort_up_default,Stamp:stamp_default,Star:star_default,StarFilled:star_filled_default,Stopwatch:stopwatch_default,SuccessFilled:success_filled_default,Sugar:sugar_default,Suitcase:suitcase_default,SuitcaseLine:suitcase_line_default,Sunny:sunny_default,Sunrise:sunrise_default,Sunset:sunset_default,Switch:switch_default,SwitchButton:switch_button_default,SwitchFilled:switch_filled_default,TakeawayBox:takeaway_box_default,Ticket:ticket_default,Tickets:tickets_default,Timer:timer_default,ToiletPaper:toilet_paper_default,Tools:tools_default,Top:top_default,TopLeft:top_left_default,TopRight:top_right_default,TrendCharts:trend_charts_default,Trophy:trophy_default,TrophyBase:trophy_base_default,TurnOff:turn_off_default,Umbrella:umbrella_default,Unlock:unlock_default,Upload:upload_default,UploadFilled:upload_filled_default,User:user_default,UserFilled:user_filled_default,Van:van_default,VideoCamera:video_camera_default,VideoCameraFilled:video_camera_filled_default,VideoPause:video_pause_default,VideoPlay:video_play_default,View:view_default,Wallet:wallet_default,WalletFilled:wallet_filled_default,WarnTriangleFilled:warn_triangle_filled_default,Warning:warning_default,WarningFilled:warning_filled_default,Watch:watch_default,Watermelon:watermelon_default,WindPower:wind_power_default,ZoomIn:zoom_in_default,ZoomOut:zoom_out_default},Symbol.toStringTag,{value:"Module"})),iconPropType=definePropType([String,Object,Function]),CloseComponents={Close:close_default},TypeComponents={Close:close_default,SuccessFilled:success_filled_default,InfoFilled:info_filled_default,WarningFilled:warning_filled_default,CircleCloseFilled:circle_close_filled_default},TypeComponentsMap={primary:info_filled_default,success:success_filled_default,warning:warning_filled_default,error:circle_close_filled_default,info:info_filled_default},ValidateComponentsMap={validating:loading_default,success:circle_check_default,error:circle_close_default},alertEffects=["light","dark"],alertProps=buildProps({title:{type:String,default:""},description:{type:String,default:""},type:{type:String,values:keysOf(TypeComponentsMap),default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean,effect:{type:String,values:alertEffects,default:"light"},showAfter:Number,hideAfter:Number,autoClose:Number}),alertEmits={close:n=>n instanceof MouseEvent};var PatchFlags=(n=>(n[n.TEXT=1]="TEXT",n[n.CLASS=2]="CLASS",n[n.STYLE=4]="STYLE",n[n.PROPS=8]="PROPS",n[n.FULL_PROPS=16]="FULL_PROPS",n[n.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",n[n.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",n[n.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",n[n.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",n[n.NEED_PATCH=512]="NEED_PATCH",n[n.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",n[n.HOISTED=-1]="HOISTED",n[n.BAIL=-2]="BAIL",n))(PatchFlags||{});function isFragment(n){return isVNode(n)&&n.type===Fragment}function isComment(n){return isVNode(n)&&n.type===Comment}function isValidElementNode(n){return isVNode(n)&&!isFragment(n)&&!isComment(n)}const getNormalizedProps=n=>{if(!isVNode(n))return{};const t=n.props||{},r=(isVNode(n.type)?n.type.props:void 0)||{},i={};return Object.keys(r).forEach(g=>{hasOwn$1(r[g],"default")&&(i[g]=r[g].default)}),Object.keys(t).forEach(g=>{i[camelize(g)]=t[g]}),i},flattedChildren=n=>{const t=isArray$5(n)?n:[n],r=[];return t.forEach(i=>{var g;isArray$5(i)?r.push(...flattedChildren(i)):isVNode(i)&&((g=i.component)!=null&&g.subTree)?r.push(i,...flattedChildren(i.component.subTree)):isVNode(i)&&isArray$5(i.children)?r.push(...flattedChildren(i.children)):isVNode(i)&&i.shapeFlag===2?r.push(...flattedChildren(i.type())):r.push(i)}),r},_sfc_main$2Y=defineComponent({name:"ElAlert",__name:"alert",props:alertProps,emits:alertEmits,setup(n,{emit:t}){const{Close:r}=TypeComponents,i=n,g=t,$=useSlots(),V=useNamespace("alert"),re=ref(!0),ie=computed(()=>TypeComponentsMap[i.type]),ae=computed(()=>{var le;if(i.description)return!0;const ue=(le=$.default)==null?void 0:le.call($);return ue?flattedChildren(ue).some(he=>!isComment(he)):!1}),oe=le=>{re.value=!1,g("close",le)};return i.showAfter||i.hideAfter||i.autoClose,(le,ue)=>(openBlock(),createBlock(Transition,{name:unref(V).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{class:normalizeClass([unref(V).b(),unref(V).m(le.type),unref(V).is("center",le.center),unref(V).is(le.effect)]),role:"alert"},[le.showIcon&&(le.$slots.icon||ie.value)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(V).e("icon"),unref(V).is("big",ae.value)])},{default:withCtx(()=>[renderSlot(le.$slots,"icon",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(ie.value)))])]),_:3},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(V).e("content"))},[le.title||le.$slots.title?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass([unref(V).e("title"),{"with-description":ae.value}])},[renderSlot(le.$slots,"title",{},()=>[createTextVNode(toDisplayString(le.title),1)])],2)):createCommentVNode("v-if",!0),ae.value?(openBlock(),createElementBlock("p",{key:1,class:normalizeClass(unref(V).e("description"))},[renderSlot(le.$slots,"default",{},()=>[createTextVNode(toDisplayString(le.description),1)])],2)):createCommentVNode("v-if",!0),le.closable?(openBlock(),createElementBlock(Fragment,{key:2},[le.closeText?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(V).e("close-btn"),unref(V).is("customed")]),onClick:oe},toDisplayString(le.closeText),3)):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(V).e("close-btn")),onClick:oe},{default:withCtx(()=>[createVNode$1(unref(r))]),_:1},8,["class"]))],64)):createCommentVNode("v-if",!0)],2)],2),[[vShow,re.value]])]),_:3},8,["name"]))}});var Alert=_export_sfc(_sfc_main$2Y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/alert/src/alert.vue"]]);const ElAlert=withInstall(Alert),isFirefox=()=>isClient&&/firefox/i.test(window.navigator.userAgent),isAndroid=()=>isClient&&/android/i.test(window.navigator.userAgent);let hiddenTextarea;const HIDDEN_STYLE={height:"0",visibility:"hidden",overflow:isFirefox()?"":"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},CONTEXT_STYLE=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],looseToNumber=n=>{const t=Number.parseFloat(n);return Number.isNaN(t)?n:t};function calculateNodeStyling(n){const t=window.getComputedStyle(n),r=t.getPropertyValue("box-sizing"),i=Number.parseFloat(t.getPropertyValue("padding-bottom"))+Number.parseFloat(t.getPropertyValue("padding-top")),g=Number.parseFloat(t.getPropertyValue("border-bottom-width"))+Number.parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:CONTEXT_STYLE.map(V=>[V,t.getPropertyValue(V)]),paddingSize:i,borderSize:g,boxSizing:r}}function calcTextareaHeight(n,t=1,r){var i,g;hiddenTextarea||(hiddenTextarea=document.createElement("textarea"),((i=n.parentNode)!=null?i:document.body).appendChild(hiddenTextarea));const{paddingSize:$,borderSize:V,boxSizing:re,contextStyle:ie}=calculateNodeStyling(n);ie.forEach(([ue,de])=>hiddenTextarea==null?void 0:hiddenTextarea.style.setProperty(ue,de)),Object.entries(HIDDEN_STYLE).forEach(([ue,de])=>hiddenTextarea==null?void 0:hiddenTextarea.style.setProperty(ue,de,"important")),hiddenTextarea.value=n.value||n.placeholder||"";let ae=hiddenTextarea.scrollHeight;const oe={};re==="border-box"?ae=ae+V:re==="content-box"&&(ae=ae-$),hiddenTextarea.value="";const le=hiddenTextarea.scrollHeight-$;if(isNumber$2(t)){let ue=le*t;re==="border-box"&&(ue=ue+$+V),ae=Math.max(ue,ae),oe.minHeight=`${ue}px`}if(isNumber$2(r)){let ue=le*r;re==="border-box"&&(ue=ue+$+V),ae=Math.min(ue,ae)}return oe.height=`${ae}px`,(g=hiddenTextarea.parentNode)==null||g.removeChild(hiddenTextarea),hiddenTextarea=void 0,oe}const mutable=n=>n,ariaProps=buildProps({ariaLabel:String,ariaOrientation:{type:String,values:["horizontal","vertical","undefined"]},ariaControls:String}),useAriaProps=n=>pick$1(ariaProps,n),inputProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:{type:Boolean,default:void 0},modelValue:{type:definePropType([String,Number,Object]),default:""},modelModifiers:{type:definePropType(Object),default:()=>({})},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},type:{type:definePropType(String),default:"text"},resize:{type:String,values:["none","both","horizontal","vertical"]},autosize:{type:definePropType([Boolean,Object]),default:!1},autocomplete:{type:definePropType(String),default:"off"},formatter:{type:Function},parser:{type:Function},placeholder:{type:String},form:{type:String},readonly:Boolean,clearable:Boolean,clearIcon:{type:iconPropType,default:circle_close_default},showPassword:Boolean,showWordLimit:Boolean,wordLimitPosition:{type:String,values:["inside","outside"],default:"inside"},suffixIcon:{type:iconPropType},prefixIcon:{type:iconPropType},containerRole:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:definePropType([Object,Array,String]),default:()=>mutable({})},autofocus:Boolean,rows:{type:Number,default:2},...useAriaProps(["ariaLabel"]),inputmode:{type:definePropType(String),default:void 0},name:String}),inputEmits={[UPDATE_MODEL_EVENT]:n=>isString$2(n),input:n=>isString$2(n),change:(n,t)=>isString$2(n)&&(t instanceof Event||t===void 0),focus:n=>n instanceof FocusEvent,blur:n=>n instanceof FocusEvent,clear:()=>!0,mouseleave:n=>n instanceof MouseEvent,mouseenter:n=>n instanceof MouseEvent,keydown:n=>n instanceof Event,compositionstart:n=>n instanceof CompositionEvent,compositionupdate:n=>n instanceof CompositionEvent,compositionend:n=>n instanceof CompositionEvent},DEFAULT_EXCLUDE_KEYS=["class","style"],LISTENER_PREFIX=/^on[A-Z]/,useAttrs=(n={})=>{const{excludeListeners:t=!1,excludeKeys:r}=n,i=computed(()=>((r==null?void 0:r.value)||[]).concat(DEFAULT_EXCLUDE_KEYS)),g=getCurrentInstance();return computed(g?()=>{var $;return fromPairs(Object.entries(($=g.proxy)==null?void 0:$.$attrs).filter(([V])=>!i.value.includes(V)&&!(t&&LISTENER_PREFIX.test(V))))}:()=>({}))},defaultIdInjection={prefix:Math.floor(Math.random()*1e4),current:0},ID_INJECTION_KEY=Symbol("elIdInjection"),useIdInjection=()=>getCurrentInstance()?inject(ID_INJECTION_KEY,defaultIdInjection):defaultIdInjection,useId=n=>{const t=useIdInjection(),r=useGetDerivedNamespace();return computedEager(()=>unref(n)||`${r.value}-id-${t.prefix}-${t.current++}`)},formContextKey=Symbol("formContextKey"),formItemContextKey=Symbol("formItemContextKey"),useFormItem=()=>{const n=inject(formContextKey,void 0),t=inject(formItemContextKey,void 0);return{form:n,formItem:t}},useFormItemInputId=(n,{formItemContext:t,disableIdGeneration:r,disableIdManagement:i})=>{r||(r=ref(!1)),i||(i=ref(!1));const g=getCurrentInstance(),$=()=>{let ae=g==null?void 0:g.parent;for(;ae;){if(ae.type.name==="ElFormItem")return!1;if(ae.type.name==="ElLabelWrap")return!0;ae=ae.parent}return!1},V=ref();let re;const ie=computed(()=>{var ae;return!!(!(n.label||n.ariaLabel)&&t&&t.inputIds&&((ae=t.inputIds)==null?void 0:ae.length)<=1)});return onMounted(()=>{re=watch([toRef$1(n,"id"),r],([ae,oe])=>{const le=ae??(oe?void 0:useId().value);le!==V.value&&(t!=null&&t.removeInputId&&!$()&&(V.value&&t.removeInputId(V.value),!(i!=null&&i.value)&&!oe&&le&&t.addInputId(le)),V.value=le)},{immediate:!0})}),onUnmounted(()=>{re&&re(),t!=null&&t.removeInputId&&V.value&&t.removeInputId(V.value)}),{isLabeledByFormItem:ie,inputId:V}},useProp=n=>{const t=getCurrentInstance();return computed(()=>{var r,i;return(i=(r=t==null?void 0:t.proxy)==null?void 0:r.$props)==null?void 0:i[n]})},useFormSize=(n,t={})=>{const r=ref(void 0),i=t.prop?r:useProp("size"),g=t.global?r:useGlobalSize(),$=t.form?{size:void 0}:inject(formContextKey,void 0),V=t.formItem?{size:void 0}:inject(formItemContextKey,void 0);return computed(()=>i.value||unref(n)||(V==null?void 0:V.size)||($==null?void 0:$.size)||g.value||"")},useFormDisabled=n=>{const t=useProp("disabled"),r=inject(formContextKey,void 0);return computed(()=>{var i,g,$;return($=(g=(i=t.value)!=null?i:unref(n))!=null?g:r==null?void 0:r.disabled)!=null?$:!1})},FOCUSABLE_ELEMENT_SELECTORS='a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])',isHTMLElement$1=n=>typeof Element>"u"?!1:n instanceof Element,isVisible=n=>getComputedStyle(n).position==="fixed"?!1:n.offsetParent!==null,obtainAllFocusableElements$1=n=>Array.from(n.querySelectorAll(FOCUSABLE_ELEMENT_SELECTORS)).filter(t=>isFocusable(t)&&isVisible(t)),isFocusable=n=>{if(n.tabIndex>0||n.tabIndex===0&&n.getAttribute("tabIndex")!==null)return!0;if(n.tabIndex<0||n.hasAttribute("disabled")||n.getAttribute("aria-disabled")==="true")return!1;switch(n.nodeName){case"A":return!!n.href&&n.rel!=="ignore";case"INPUT":return!(n.type==="hidden"||n.type==="file");case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},triggerEvent=function(n,t,...r){let i;t.includes("mouse")||t.includes("click")?i="MouseEvents":t.includes("key")?i="KeyboardEvent":i="HTMLEvents";const g=document.createEvent(i);return g.initEvent(t,...r),n.dispatchEvent(g),n},isLeaf=n=>!n.getAttribute("aria-owns"),getSibling=(n,t,r)=>{const{parentNode:i}=n;if(!i)return null;const g=i.querySelectorAll(r),$=Array.prototype.indexOf.call(g,n);return g[$+t]||null},focusElement=(n,t)=>{if(!n||!n.focus)return;let r=!1;isHTMLElement$1(n)&&!isFocusable(n)&&!n.getAttribute("tabindex")&&(n.setAttribute("tabindex","-1"),r=!0),n.focus(t),isHTMLElement$1(n)&&r&&n.removeAttribute("tabindex")},focusNode=n=>{n&&(focusElement(n),!isLeaf(n)&&n.click())};function useFocusController(n,{disabled:t,beforeFocus:r,afterFocus:i,beforeBlur:g,afterBlur:$}={}){const V=getCurrentInstance(),{emit:re}=V,ie=shallowRef(),ae=ref(!1),oe=de=>{const he=isFunction$4(r)?r(de):!1;unref(t)||ae.value||he||(ae.value=!0,re("focus",de),i==null||i())},le=de=>{var he;const pe=isFunction$4(g)?g(de):!1;unref(t)||de.relatedTarget&&((he=ie.value)!=null&&he.contains(de.relatedTarget))||pe||(ae.value=!1,re("blur",de),$==null||$())},ue=de=>{var he,pe;unref(t)||isFocusable(de.target)||(he=ie.value)!=null&&he.contains(document.activeElement)&&ie.value!==document.activeElement||(pe=n.value)==null||pe.focus()};return watch([ie,()=>unref(t)],([de,he])=>{de&&(he?de.removeAttribute("tabindex"):de.setAttribute("tabindex","-1"))}),useEventListener(ie,"focus",oe,!0),useEventListener(ie,"blur",le,!0),useEventListener(ie,"click",ue,!0),{isFocused:ae,wrapperRef:ie,handleFocus:oe,handleBlur:le}}const isKorean=n=>/([\uAC00-\uD7AF\u3130-\u318F])+/gi.test(n);function useComposition({afterComposition:n,emit:t}){const r=ref(!1),i=re=>{t==null||t("compositionstart",re),r.value=!0},g=re=>{var ie;t==null||t("compositionupdate",re);const ae=(ie=re.target)==null?void 0:ie.value,oe=ae[ae.length-1]||"";r.value=!isKorean(oe)},$=re=>{t==null||t("compositionend",re),r.value&&(r.value=!1,nextTick(()=>n(re)))};return{isComposing:r,handleComposition:re=>{re.type==="compositionend"?$(re):g(re)},handleCompositionStart:i,handleCompositionUpdate:g,handleCompositionEnd:$}}function useCursor(n){let t;function r(){if(n.value==null)return;const{selectionStart:g,selectionEnd:$,value:V}=n.value;if(g==null||$==null)return;const re=V.slice(0,Math.max(0,g)),ie=V.slice(Math.max(0,$));t={selectionStart:g,selectionEnd:$,value:V,beforeTxt:re,afterTxt:ie}}function i(){if(n.value==null||t==null)return;const{value:g}=n.value,{beforeTxt:$,afterTxt:V,selectionStart:re}=t;if($==null||V==null||re==null)return;let ie=g.length;if(g.endsWith(V))ie=g.length-V.length;else if(g.startsWith($))ie=$.length;else{const ae=$[re-1],oe=g.indexOf(ae,re-1);oe!==-1&&(ie=oe+1)}n.value.setSelectionRange(ie,ie)}return[r,i]}const _hoisted_1$1D=["id","name","minlength","maxlength","type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder","form","autofocus","role","inputmode"],_hoisted_2$_=["id","name","minlength","maxlength","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form","autofocus","rows","role"],COMPONENT_NAME$n="ElInput",_sfc_main$2X=defineComponent({name:COMPONENT_NAME$n,inheritAttrs:!1,__name:"input",props:inputProps,emits:inputEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useAttrs$1(),V=useAttrs(),re=useSlots(),ie=computed(()=>[i.type==="textarea"?_e.b():pe.b(),pe.m(de.value),pe.is("disabled",he.value),pe.is("exceed",bn.value),{[pe.b("group")]:re.prepend||re.append,[pe.m("prefix")]:re.prefix||i.prefixIcon,[pe.m("suffix")]:re.suffix||i.suffixIcon||i.clearable||i.showPassword,[pe.bm("suffix","password-clear")]:hn.value&&vn.value,[pe.b("hidden")]:i.type==="hidden"},$.class]),ae=computed(()=>[pe.e("wrapper"),pe.is("focus",Fe.value)]),{form:oe,formItem:le}=useFormItem(),{inputId:ue}=useFormItemInputId(i,{formItemContext:le}),de=useFormSize(),he=useFormDisabled(),pe=useNamespace("input"),_e=useNamespace("textarea"),Ce=shallowRef(),xe=shallowRef(),Ie=ref(!1),Ne=ref(!1),Oe=ref(),$e=shallowRef(i.inputStyle),Ve=computed(()=>Ce.value||xe.value),{wrapperRef:Ue,isFocused:Fe,handleFocus:ze,handleBlur:Pt}=useFocusController(Ve,{disabled:he,afterBlur(){var zn;i.validateEvent&&((zn=le==null?void 0:le.validate)==null||zn.call(le,"blur").catch(jn=>void 0))}}),qe=computed(()=>{var zn;return(zn=oe==null?void 0:oe.statusIcon)!=null?zn:!1}),Et=computed(()=>(le==null?void 0:le.validateState)||""),kt=computed(()=>Et.value&&ValidateComponentsMap[Et.value]),At=computed(()=>Ne.value?view_default:hide_default),Dt=computed(()=>[$.style]),Lt=computed(()=>[i.inputStyle,$e.value,{resize:i.resize}]),jt=computed(()=>isNil(i.modelValue)?"":String(i.modelValue)),hn=computed(()=>i.clearable&&!he.value&&!i.readonly&&!!jt.value&&(Fe.value||Ie.value)),vn=computed(()=>i.showPassword&&!he.value&&!!jt.value),_n=computed(()=>i.showWordLimit&&!!i.maxlength&&(i.type==="text"||i.type==="textarea")&&!he.value&&!i.readonly&&!i.showPassword),wn=computed(()=>jt.value.length),bn=computed(()=>!!_n.value&&wn.value>Number(i.maxlength)),Cn=computed(()=>!!re.suffix||!!i.suffixIcon||hn.value||i.showPassword||_n.value||!!Et.value&&qe.value),Sn=computed(()=>!!Object.keys(i.modelModifiers).length),[Tn,En]=useCursor(Ce);useResizeObserver(xe,zn=>{if(An(),!_n.value||i.resize!=="both"&&i.resize!=="horizontal")return;const jn=zn[0],{width:tr}=jn.contentRect;Oe.value={right:`calc(100% - ${tr+22-10}px)`}});const kn=()=>{const{type:zn,autosize:jn}=i;if(!(!isClient||zn!=="textarea"||!xe.value))if(jn){const tr=isObject$6(jn)?jn.minRows:void 0,hr=isObject$6(jn)?jn.maxRows:void 0,ir=calcTextareaHeight(xe.value,tr,hr);$e.value={overflowY:"hidden",...ir},nextTick(()=>{xe.value.offsetHeight,$e.value=ir})}else $e.value={minHeight:calcTextareaHeight(xe.value).minHeight}},An=(zn=>{let jn=!1;return()=>{var tr;if(jn||!i.autosize)return;((tr=xe.value)==null?void 0:tr.offsetParent)===null||(setTimeout(zn),jn=!0)}})(kn),xn=()=>{const zn=Ve.value,jn=i.formatter?i.formatter(jt.value):jt.value;!zn||zn.value===jn||i.type==="file"||(zn.value=jn)},Ln=zn=>{const{trim:jn,number:tr}=i.modelModifiers;return jn&&(zn=zn.trim()),tr&&(zn=`${looseToNumber(zn)}`),i.formatter&&i.parser&&(zn=i.parser(zn)),zn},Nn=async zn=>{if(On.value)return;const{lazy:jn}=i.modelModifiers;let{value:tr}=zn.target;if(jn){g(INPUT_EVENT,tr);return}if(tr=Ln(tr),String(tr)===jt.value){i.formatter&&xn();return}Tn(),g(UPDATE_MODEL_EVENT,tr),g(INPUT_EVENT,tr),await nextTick(),(i.formatter&&i.parser||!Sn.value)&&xn(),En()},Pn=async zn=>{let{value:jn}=zn.target;jn=Ln(jn),i.modelModifiers.lazy&&g(UPDATE_MODEL_EVENT,jn),g(CHANGE_EVENT,jn,zn),await nextTick(),xn()},{isComposing:On,handleCompositionStart:Hn,handleCompositionUpdate:Xn,handleCompositionEnd:In}=useComposition({emit:g,afterComposition:Nn}),or=()=>{Ne.value=!Ne.value},Qn=()=>{var zn;return(zn=Ve.value)==null?void 0:zn.focus()},Zn=()=>{var zn;return(zn=Ve.value)==null?void 0:zn.blur()},Gn=zn=>{Ie.value=!1,g("mouseleave",zn)},Rn=zn=>{Ie.value=!0,g("mouseenter",zn)},Mn=zn=>{g("keydown",zn)},Bn=()=>{var zn;(zn=Ve.value)==null||zn.select()},qn=()=>{g(UPDATE_MODEL_EVENT,""),g(CHANGE_EVENT,""),g("clear"),g(INPUT_EVENT,"")};return watch(()=>i.modelValue,()=>{var zn;nextTick(()=>kn()),i.validateEvent&&((zn=le==null?void 0:le.validate)==null||zn.call(le,"change").catch(jn=>void 0))}),watch(jt,zn=>{if(!Ve.value)return;const{trim:jn,number:tr}=i.modelModifiers,hr=Ve.value.value,ir=(tr||i.type==="number")&&!/^0\d/.test(hr)?`${looseToNumber(hr)}`:hr;ir!==zn&&(document.activeElement===Ve.value&&Ve.value.type!=="range"&&jn&&ir.trim()===zn||xn())}),watch(()=>i.type,async()=>{await nextTick(),xn(),kn()}),onMounted(()=>{!i.formatter&&i.parser,xn(),nextTick(kn)}),t({input:Ce,textarea:xe,ref:Ve,textareaStyle:Lt,autosize:toRef$1(i,"autosize"),isComposing:On,focus:Qn,blur:Zn,select:Bn,clear:qn,resizeTextarea:kn}),(zn,jn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([ie.value,{[unref(pe).bm("group","append")]:zn.$slots.append,[unref(pe).bm("group","prepend")]:zn.$slots.prepend}]),style:normalizeStyle$1(Dt.value),onMouseenter:Rn,onMouseleave:Gn},[createCommentVNode(" input "),zn.type!=="textarea"?(openBlock(),createElementBlock(Fragment,{key:0},[createCommentVNode(" prepend slot "),zn.$slots.prepend?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(pe).be("group","prepend"))},[renderSlot(zn.$slots,"prepend")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"wrapperRef",ref:Ue,class:normalizeClass(ae.value)},[createCommentVNode(" prefix slot "),zn.$slots.prefix||zn.prefixIcon?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(pe).e("prefix"))},[createBaseVNode("span",{class:normalizeClass(unref(pe).e("prefix-inner"))},[renderSlot(zn.$slots,"prefix"),zn.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(pe).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(zn.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("input",mergeProps({id:unref(ue),ref_key:"input",ref:Ce,class:unref(pe).e("inner")},unref(V),{name:zn.name,minlength:zn.minlength,maxlength:zn.maxlength,type:zn.showPassword?Ne.value?"text":"password":zn.type,disabled:unref(he),readonly:zn.readonly,autocomplete:zn.autocomplete,tabindex:zn.tabindex,"aria-label":zn.ariaLabel,placeholder:zn.placeholder,style:zn.inputStyle,form:zn.form,autofocus:zn.autofocus,role:zn.containerRole,inputmode:zn.inputmode,onCompositionstart:jn[0]||(jn[0]=(...tr)=>unref(Hn)&&unref(Hn)(...tr)),onCompositionupdate:jn[1]||(jn[1]=(...tr)=>unref(Xn)&&unref(Xn)(...tr)),onCompositionend:jn[2]||(jn[2]=(...tr)=>unref(In)&&unref(In)(...tr)),onInput:Nn,onChange:Pn,onKeydown:Mn}),null,16,_hoisted_1$1D),createCommentVNode(" suffix slot "),Cn.value?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(pe).e("suffix"))},[createBaseVNode("span",{class:normalizeClass(unref(pe).e("suffix-inner"))},[!hn.value||!vn.value||!_n.value?(openBlock(),createElementBlock(Fragment,{key:0},[renderSlot(zn.$slots,"suffix"),zn.suffixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(pe).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(zn.suffixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0),hn.value?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(pe).e("icon"),unref(pe).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:qn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(zn.clearIcon)))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0),vn.value?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(pe).e("icon"),unref(pe).e("password")]),onClick:or,onMousedown:withModifiers(unref(NOOP),["prevent"]),onMouseup:withModifiers(unref(NOOP),["prevent"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(At.value)))]),_:1},8,["class","onMousedown","onMouseup"])):createCommentVNode("v-if",!0),_n.value?(openBlock(),createElementBlock("span",{key:3,class:normalizeClass([unref(pe).e("count"),unref(pe).is("outside",zn.wordLimitPosition==="outside")])},[createBaseVNode("span",{class:normalizeClass(unref(pe).e("count-inner"))},toDisplayString(wn.value)+" / "+toDisplayString(zn.maxlength),3)],2)):createCommentVNode("v-if",!0),Et.value&&kt.value&&qe.value?(openBlock(),createBlock(unref(ElIcon),{key:4,class:normalizeClass([unref(pe).e("icon"),unref(pe).e("validateIcon"),unref(pe).is("loading",Et.value==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(kt.value)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)):createCommentVNode("v-if",!0)],2),createCommentVNode(" append slot "),zn.$slots.append?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(pe).be("group","append"))},[renderSlot(zn.$slots,"append")],2)):createCommentVNode("v-if",!0)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" textarea "),createBaseVNode("textarea",mergeProps({id:unref(ue),ref_key:"textarea",ref:xe,class:[unref(_e).e("inner"),unref(pe).is("focus",unref(Fe))]},unref(V),{name:zn.name,minlength:zn.minlength,maxlength:zn.maxlength,tabindex:zn.tabindex,disabled:unref(he),readonly:zn.readonly,autocomplete:zn.autocomplete,style:Lt.value,"aria-label":zn.ariaLabel,placeholder:zn.placeholder,form:zn.form,autofocus:zn.autofocus,rows:zn.rows,role:zn.containerRole,onCompositionstart:jn[3]||(jn[3]=(...tr)=>unref(Hn)&&unref(Hn)(...tr)),onCompositionupdate:jn[4]||(jn[4]=(...tr)=>unref(Xn)&&unref(Xn)(...tr)),onCompositionend:jn[5]||(jn[5]=(...tr)=>unref(In)&&unref(In)(...tr)),onInput:Nn,onFocus:jn[6]||(jn[6]=(...tr)=>unref(ze)&&unref(ze)(...tr)),onBlur:jn[7]||(jn[7]=(...tr)=>unref(Pt)&&unref(Pt)(...tr)),onChange:Pn,onKeydown:Mn}),null,16,_hoisted_2$_),_n.value?(openBlock(),createElementBlock("span",{key:0,style:normalizeStyle$1(Oe.value),class:normalizeClass([unref(pe).e("count"),unref(pe).is("outside",zn.wordLimitPosition==="outside")])},toDisplayString(wn.value)+" / "+toDisplayString(zn.maxlength),7)):createCommentVNode("v-if",!0)],64))],38))}});var Input=_export_sfc(_sfc_main$2X,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input/src/input.vue"]]);const ElInput=withInstall(Input),GAP=4,BAR_MAP={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}},renderThumbStyle$1=({move:n,size:t,bar:r})=>({[r.size]:t,transform:`translate${r.axis}(${n}%)`}),scrollbarContextKey=Symbol("scrollbarContextKey"),thumbProps=buildProps({vertical:Boolean,size:String,move:Number,ratio:{type:Number,required:!0},always:Boolean}),COMPONENT_NAME$m="Thumb",_sfc_main$2W=defineComponent({__name:"thumb",props:thumbProps,setup(n){const t=n,r=inject(scrollbarContextKey),i=useNamespace("scrollbar");r||throwError$1(COMPONENT_NAME$m,"can not inject scrollbar context");const g=ref(),$=ref(),V=ref({}),re=ref(!1);let ie=!1,ae=!1,oe=0,le=0,ue=isClient?document.onselectstart:null;const de=computed(()=>BAR_MAP[t.vertical?"vertical":"horizontal"]),he=computed(()=>renderThumbStyle$1({size:t.size,move:t.move,bar:de.value})),pe=computed(()=>g.value[de.value.offset]**2/r.wrapElement[de.value.scrollSize]/t.ratio/$.value[de.value.offset]),_e=Ue=>{var Fe;if(Ue.stopPropagation(),Ue.ctrlKey||[1,2].includes(Ue.button))return;(Fe=window.getSelection())==null||Fe.removeAllRanges(),xe(Ue);const ze=Ue.currentTarget;ze&&(V.value[de.value.axis]=ze[de.value.offset]-(Ue[de.value.client]-ze.getBoundingClientRect()[de.value.direction]))},Ce=Ue=>{if(!$.value||!g.value||!r.wrapElement)return;const Fe=Math.abs(Ue.target.getBoundingClientRect()[de.value.direction]-Ue[de.value.client]),ze=$.value[de.value.offset]/2,Pt=(Fe-ze)*100*pe.value/g.value[de.value.offset];r.wrapElement[de.value.scroll]=Pt*r.wrapElement[de.value.scrollSize]/100},xe=Ue=>{Ue.stopImmediatePropagation(),ie=!0,oe=r.wrapElement.scrollHeight,le=r.wrapElement.scrollWidth,document.addEventListener("mousemove",Ie),document.addEventListener("mouseup",Ne),ue=document.onselectstart,document.onselectstart=()=>!1},Ie=Ue=>{if(!g.value||!$.value||ie===!1)return;const Fe=V.value[de.value.axis];if(!Fe)return;const ze=(g.value.getBoundingClientRect()[de.value.direction]-Ue[de.value.client])*-1,Pt=$.value[de.value.offset]-Fe,qe=(ze-Pt)*100*pe.value/g.value[de.value.offset];de.value.scroll==="scrollLeft"?r.wrapElement[de.value.scroll]=qe*le/100:r.wrapElement[de.value.scroll]=qe*oe/100},Ne=()=>{ie=!1,V.value[de.value.axis]=0,document.removeEventListener("mousemove",Ie),document.removeEventListener("mouseup",Ne),Ve(),ae&&(re.value=!1)},Oe=()=>{ae=!1,re.value=!!t.size},$e=()=>{ae=!0,re.value=ie};onBeforeUnmount(()=>{Ve(),document.removeEventListener("mouseup",Ne)});const Ve=()=>{document.onselectstart!==ue&&(document.onselectstart=ue)};return useEventListener(toRef$1(r,"scrollbarElement"),"mousemove",Oe),useEventListener(toRef$1(r,"scrollbarElement"),"mouseleave",$e),(Ue,Fe)=>(openBlock(),createBlock(Transition,{name:unref(i).b("fade"),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{ref_key:"instance",ref:g,class:normalizeClass([unref(i).e("bar"),unref(i).is(de.value.key)]),onMousedown:Ce,onClick:Fe[0]||(Fe[0]=withModifiers(()=>{},["stop"]))},[createBaseVNode("div",{ref_key:"thumb",ref:$,class:normalizeClass(unref(i).e("thumb")),style:normalizeStyle$1(he.value),onMousedown:_e},null,38)],34),[[vShow,Ue.always||re.value]])]),_:1},8,["name"]))}});var Thumb=_export_sfc(_sfc_main$2W,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/thumb.vue"]]);const barProps=buildProps({always:{type:Boolean,default:!0},minSize:{type:Number,required:!0}}),_sfc_main$2V=defineComponent({__name:"bar",props:barProps,setup(n,{expose:t}){const r=n,i=inject(scrollbarContextKey),g=ref(0),$=ref(0),V=ref(""),re=ref(""),ie=ref(1),ae=ref(1);return t({handleScroll:ue=>{if(ue){const de=ue.offsetHeight-GAP,he=ue.offsetWidth-GAP;$.value=ue.scrollTop*100/de*ie.value,g.value=ue.scrollLeft*100/he*ae.value}},update:()=>{const ue=i==null?void 0:i.wrapElement;if(!ue)return;const de=ue.offsetHeight-GAP,he=ue.offsetWidth-GAP,pe=de**2/ue.scrollHeight,_e=he**2/ue.scrollWidth,Ce=Math.max(pe,r.minSize),xe=Math.max(_e,r.minSize);ie.value=pe/(de-pe)/(Ce/(de-Ce)),ae.value=_e/(he-_e)/(xe/(he-xe)),re.value=Ce+GAP(openBlock(),createElementBlock(Fragment,null,[createVNode$1(Thumb,{move:g.value,ratio:ae.value,size:V.value,always:ue.always},null,8,["move","ratio","size","always"]),createVNode$1(Thumb,{move:$.value,ratio:ie.value,size:re.value,vertical:"",always:ue.always},null,8,["move","ratio","size","always"])],64))}});var Bar=_export_sfc(_sfc_main$2V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/bar.vue"]]);const scrollbarProps=buildProps({distance:{type:Number,default:0},height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:Boolean,wrapStyle:{type:definePropType([String,Object,Array]),default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array,Object],default:""},noresize:Boolean,tag:{type:String,default:"div"},always:Boolean,minSize:{type:Number,default:20},tabindex:{type:[String,Number],default:void 0},id:String,role:String,...useAriaProps(["ariaLabel","ariaOrientation"])}),scrollbarEmits={"end-reached":n=>["left","right","top","bottom"].includes(n),scroll:({scrollTop:n,scrollLeft:t})=>[n,t].every(isNumber$2)},_hoisted_1$1C=["tabindex"],COMPONENT_NAME$l="ElScrollbar",_sfc_main$2U=defineComponent({name:COMPONENT_NAME$l,__name:"scrollbar",props:scrollbarProps,emits:scrollbarEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useNamespace("scrollbar");let V,re,ie,ae=0,oe=0,le="";const ue={bottom:!1,top:!1,right:!1,left:!1},de=ref(),he=ref(),pe=ref(),_e=ref(),Ce=computed(()=>{const qe={},Et=addUnit(i.height),kt=addUnit(i.maxHeight);return Et&&(qe.height=Et),kt&&(qe.maxHeight=kt),[i.wrapStyle,qe]}),xe=computed(()=>[i.wrapClass,$.e("wrap"),{[$.em("wrap","hidden-default")]:!i.native}]),Ie=computed(()=>[$.e("view"),i.viewClass]),Ne=qe=>{var Et;return(Et=ue[qe])!=null?Et:!1},Oe={top:"bottom",bottom:"top",left:"right",right:"left"},$e=qe=>{const Et=Oe[le];if(!Et)return;const kt=qe[le],At=qe[Et];kt&&!ue[le]&&(ue[le]=!0),!At&&ue[Et]&&(ue[Et]=!1)},Ve=()=>{var qe;if(he.value){(qe=_e.value)==null||qe.handleScroll(he.value);const Et=ae,kt=oe;ae=he.value.scrollTop,oe=he.value.scrollLeft;const At={bottom:ae+he.value.clientHeight>=he.value.scrollHeight-i.distance,top:ae<=i.distance&&Et!==0,right:oe+he.value.clientWidth>=he.value.scrollWidth-i.distance&&kt!==oe,left:oe<=i.distance&&kt!==0};if(g("scroll",{scrollTop:ae,scrollLeft:oe}),Et!==ae&&(le=ae>Et?"bottom":"top"),kt!==oe&&(le=oe>kt?"right":"left"),i.distance>0){if(Ne(le))return;$e(At)}At[le]&&g("end-reached",le)}};function Ue(qe,Et){isObject$6(qe)?he.value.scrollTo(qe):isNumber$2(qe)&&isNumber$2(Et)&&he.value.scrollTo(qe,Et)}const Fe=qe=>{isNumber$2(qe)&&(he.value.scrollTop=qe)},ze=qe=>{isNumber$2(qe)&&(he.value.scrollLeft=qe)},Pt=()=>{var qe;(qe=_e.value)==null||qe.update(),ue[le]=!1};return watch(()=>i.noresize,qe=>{qe?(V==null||V(),re==null||re(),ie==null||ie()):({stop:V}=useResizeObserver(pe,Pt),{stop:re}=useResizeObserver(he,Pt),ie=useEventListener("resize",Pt))},{immediate:!0}),watch(()=>[i.maxHeight,i.height],()=>{i.native||nextTick(()=>{var qe;Pt(),he.value&&((qe=_e.value)==null||qe.handleScroll(he.value))})}),provide(scrollbarContextKey,reactive({scrollbarElement:de,wrapElement:he})),onActivated(()=>{he.value&&(he.value.scrollTop=ae,he.value.scrollLeft=oe)}),onMounted(()=>{i.native||nextTick(()=>{Pt()})}),onUpdated(()=>Pt()),t({wrapRef:he,update:Pt,scrollTo:Ue,setScrollTop:Fe,setScrollLeft:ze,handleScroll:Ve}),(qe,Et)=>(openBlock(),createElementBlock("div",{ref_key:"scrollbarRef",ref:de,class:normalizeClass(unref($).b())},[createBaseVNode("div",{ref_key:"wrapRef",ref:he,class:normalizeClass(xe.value),style:normalizeStyle$1(Ce.value),tabindex:qe.tabindex,onScroll:Ve},[(openBlock(),createBlock(resolveDynamicComponent(qe.tag),{id:qe.id,ref_key:"resizeRef",ref:pe,class:normalizeClass(Ie.value),style:normalizeStyle$1(qe.viewStyle),role:qe.role,"aria-label":qe.ariaLabel,"aria-orientation":qe.ariaOrientation},{default:withCtx(()=>[renderSlot(qe.$slots,"default")]),_:3},8,["id","class","style","role","aria-label","aria-orientation"]))],46,_hoisted_1$1C),qe.native?createCommentVNode("v-if",!0):(openBlock(),createBlock(Bar,{key:0,ref_key:"barRef",ref:_e,always:qe.always,"min-size":qe.minSize},null,8,["always","min-size"]))],2))}});var Scrollbar=_export_sfc(_sfc_main$2U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/scrollbar/src/scrollbar.vue"]]);const ElScrollbar=withInstall(Scrollbar),POPPER_INJECTION_KEY=Symbol("popper"),POPPER_CONTENT_INJECTION_KEY=Symbol("popperContent"),roleTypes=["dialog","grid","group","listbox","menu","navigation","tooltip","tree"],popperProps=buildProps({role:{type:String,values:roleTypes,default:"tooltip"}}),_sfc_main$2T=defineComponent({name:"ElPopper",inheritAttrs:!1,__name:"popper",props:popperProps,setup(n,{expose:t}){const r=n,i=ref(),g=ref(),$=ref(),V=ref(),re=computed(()=>r.role),ie={triggerRef:i,popperInstanceRef:g,contentRef:$,referenceRef:V,role:re};return t(ie),provide(POPPER_INJECTION_KEY,ie),(ae,oe)=>renderSlot(ae.$slots,"default")}});var Popper=_export_sfc(_sfc_main$2T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/popper.vue"]]);const _sfc_main$2S=defineComponent({name:"ElPopperArrow",inheritAttrs:!1,__name:"arrow",setup(n,{expose:t}){const r=useNamespace("popper"),{arrowRef:i,arrowStyle:g}=inject(POPPER_CONTENT_INJECTION_KEY,void 0);return onBeforeUnmount(()=>{i.value=void 0}),t({arrowRef:i}),($,V)=>(openBlock(),createElementBlock("span",{ref_key:"arrowRef",ref:i,class:normalizeClass(unref(r).e("arrow")),style:normalizeStyle$1(unref(g)),"data-popper-arrow":""},null,6))}});var ElPopperArrow=_export_sfc(_sfc_main$2S,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/arrow.vue"]]);const popperTriggerProps=buildProps({virtualRef:{type:definePropType(Object)},virtualTriggering:Boolean,onMouseenter:{type:definePropType(Function)},onMouseleave:{type:definePropType(Function)},onClick:{type:definePropType(Function)},onKeydown:{type:definePropType(Function)},onFocus:{type:definePropType(Function)},onBlur:{type:definePropType(Function)},onContextmenu:{type:definePropType(Function)},id:String,open:Boolean}),FORWARD_REF_INJECTION_KEY=Symbol("elForwardRef"),useForwardRef=n=>{provide(FORWARD_REF_INJECTION_KEY,{setForwardRef:r=>{n.value=r}})},useForwardRefDirective=n=>({mounted(t){n(t)},updated(t){n(t)},unmounted(){n(null)}}),NAME="ElOnlyChild",OnlyChild=defineComponent({name:NAME,setup(n,{slots:t,attrs:r}){var i;const g=inject(FORWARD_REF_INJECTION_KEY),$=useForwardRefDirective((i=g==null?void 0:g.setForwardRef)!=null?i:NOOP);return()=>{var V;const re=(V=t.default)==null?void 0:V.call(t,r);if(!re)return null;const[ie,ae]=findFirstLegitChild(re);return ie?withDirectives(cloneVNode(ie,r),[[$]]):null}}});function findFirstLegitChild(n){if(!n)return[null,0];const t=n,r=t.filter(i=>i.type!==Comment).length;for(const i of t){if(isObject$6(i))switch(i.type){case Comment:continue;case Text$1:case"svg":return[wrapTextContent(i),r];case Fragment:return findFirstLegitChild(i.children);default:return[i,r]}return[wrapTextContent(i),r]}return[null,0]}function wrapTextContent(n){const t=useNamespace("only-child");return createVNode$1("span",{class:t.e("content")},[n])}const _sfc_main$2R=defineComponent({name:"ElPopperTrigger",inheritAttrs:!1,__name:"trigger",props:popperTriggerProps,setup(n,{expose:t}){const r=n,{role:i,triggerRef:g}=inject(POPPER_INJECTION_KEY,void 0);useForwardRef(g);const $=computed(()=>re.value?r.id:void 0),V=computed(()=>{if(i&&i.value==="tooltip")return r.open&&r.id?r.id:void 0}),re=computed(()=>{if(i&&i.value!=="tooltip")return i.value}),ie=computed(()=>re.value?`${r.open}`:void 0);let ae;const oe=["onMouseenter","onMouseleave","onClick","onKeydown","onFocus","onBlur","onContextmenu"];return onMounted(()=>{watch(()=>r.virtualRef,le=>{le&&(g.value=unrefElement(le))},{immediate:!0}),watch(g,(le,ue)=>{ae==null||ae(),ae=void 0,isElement$1(ue)&&oe.forEach(de=>{const he=r[de];he&&ue.removeEventListener(de.slice(2).toLowerCase(),he,["onFocus","onBlur"].includes(de))}),isElement$1(le)&&(oe.forEach(de=>{const he=r[de];he&&le.addEventListener(de.slice(2).toLowerCase(),he,["onFocus","onBlur"].includes(de))}),isFocusable(le)&&(ae=watch([$,V,re,ie],de=>{["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach((he,pe)=>{isNil(de[pe])?le.removeAttribute(he):le.setAttribute(he,de[pe])})},{immediate:!0}))),isElement$1(ue)&&isFocusable(ue)&&["aria-controls","aria-describedby","aria-haspopup","aria-expanded"].forEach(de=>ue.removeAttribute(de))},{immediate:!0})}),onBeforeUnmount(()=>{if(ae==null||ae(),ae=void 0,g.value&&isElement$1(g.value)){const le=g.value;oe.forEach(ue=>{const de=r[ue];de&&le.removeEventListener(ue.slice(2).toLowerCase(),de,["onFocus","onBlur"].includes(ue))}),g.value=void 0}}),t({triggerRef:g}),(le,ue)=>le.virtualTriggering?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(OnlyChild),mergeProps({key:0},le.$attrs,{"aria-controls":$.value,"aria-describedby":V.value,"aria-expanded":ie.value,"aria-haspopup":re.value}),{default:withCtx(()=>[renderSlot(le.$slots,"default")]),_:3},16,["aria-controls","aria-describedby","aria-expanded","aria-haspopup"]))}});var ElPopperTrigger=_export_sfc(_sfc_main$2R,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/trigger.vue"]]);const FOCUS_AFTER_TRAPPED="focus-trap.focus-after-trapped",FOCUS_AFTER_RELEASED="focus-trap.focus-after-released",FOCUSOUT_PREVENTED="focus-trap.focusout-prevented",FOCUS_AFTER_TRAPPED_OPTS={cancelable:!0,bubbles:!1},FOCUSOUT_PREVENTED_OPTS={cancelable:!0,bubbles:!1},ON_TRAP_FOCUS_EVT="focusAfterTrapped",ON_RELEASE_FOCUS_EVT="focusAfterReleased",FOCUS_TRAP_INJECTION_KEY=Symbol("elFocusTrap"),focusReason=ref(),lastUserFocusTimestamp=ref(0),lastAutomatedFocusTimestamp=ref(0);let focusReasonUserCount=0;const obtainAllFocusableElements=n=>{const t=[],r=document.createTreeWalker(n,NodeFilter.SHOW_ELEMENT,{acceptNode:i=>{const g=i.tagName==="INPUT"&&i.type==="hidden";return i.disabled||i.hidden||g?NodeFilter.FILTER_SKIP:i.tabIndex>=0||i===document.activeElement?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t},getVisibleElement=(n,t)=>{for(const r of n)if(!isHidden(r,t))return r},isHidden=(n,t)=>{if(getComputedStyle(n).visibility==="hidden")return!0;for(;n;){if(t&&n===t)return!1;if(getComputedStyle(n).display==="none")return!0;n=n.parentElement}return!1},getEdges=n=>{const t=obtainAllFocusableElements(n),r=getVisibleElement(t,n),i=getVisibleElement(t.reverse(),n);return[r,i]},isSelectable=n=>n instanceof HTMLInputElement&&"select"in n,tryFocus=(n,t)=>{if(n){const r=document.activeElement;focusElement(n,{preventScroll:!0}),lastAutomatedFocusTimestamp.value=window.performance.now(),n!==r&&isSelectable(n)&&t&&n.select()}};function removeFromStack(n,t){const r=[...n],i=n.indexOf(t);return i!==-1&&r.splice(i,1),r}const createFocusableStack=()=>{let n=[];return{push:i=>{const g=n[0];g&&i!==g&&g.pause(),n=removeFromStack(n,i),n.unshift(i)},remove:i=>{var g,$;n=removeFromStack(n,i),($=(g=n[0])==null?void 0:g.resume)==null||$.call(g)}}},focusFirstDescendant=(n,t=!1)=>{const r=document.activeElement;for(const i of n)if(tryFocus(i,t),document.activeElement!==r)return},focusableStack=createFocusableStack(),isFocusCausedByUserEvent=()=>lastUserFocusTimestamp.value>lastAutomatedFocusTimestamp.value,notifyFocusReasonPointer=()=>{focusReason.value="pointer",lastUserFocusTimestamp.value=window.performance.now()},notifyFocusReasonKeydown=()=>{focusReason.value="keyboard",lastUserFocusTimestamp.value=window.performance.now()},useFocusReason=()=>(onMounted(()=>{focusReasonUserCount===0&&(document.addEventListener("mousedown",notifyFocusReasonPointer),document.addEventListener("touchstart",notifyFocusReasonPointer),document.addEventListener("keydown",notifyFocusReasonKeydown)),focusReasonUserCount++}),onBeforeUnmount(()=>{focusReasonUserCount--,focusReasonUserCount<=0&&(document.removeEventListener("mousedown",notifyFocusReasonPointer),document.removeEventListener("touchstart",notifyFocusReasonPointer),document.removeEventListener("keydown",notifyFocusReasonKeydown))}),{focusReason,lastUserFocusTimestamp,lastAutomatedFocusTimestamp}),createFocusOutPreventedEvent=n=>new CustomEvent(FOCUSOUT_PREVENTED,{...FOCUSOUT_PREVENTED_OPTS,detail:n}),EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace",numpadEnter:"NumpadEnter",pageUp:"PageUp",pageDown:"PageDown",home:"Home",end:"End"},composeEventHandlers=(n,t,{checkForDefaultPrevented:r=!0}={})=>g=>{const $=n==null?void 0:n(g);if(r===!1||!$)return t==null?void 0:t(g)},whenMouse=n=>t=>t.pointerType==="mouse"?n(t):void 0,getEventCode=n=>{if(n.code&&n.code!=="Unidentified")return n.code;const t=getEventKey(n);if(t){if(Object.values(EVENT_CODE).includes(t))return t;switch(t){case" ":return EVENT_CODE.space;default:return""}}return""},getEventKey=n=>{let t=n.key&&n.key!=="Unidentified"?n.key:"";if(!t&&n.type==="keyup"&&isAndroid()){const r=n.target;t=r.value.charAt(r.selectionStart-1)}return t};let registeredEscapeHandlers=[];const cachedHandler=n=>{getEventCode(n)===EVENT_CODE.esc&®isteredEscapeHandlers.forEach(r=>r(n))},useEscapeKeydown=n=>{onMounted(()=>{registeredEscapeHandlers.length===0&&document.addEventListener("keydown",cachedHandler),isClient&®isteredEscapeHandlers.push(n)}),onBeforeUnmount(()=>{registeredEscapeHandlers=registeredEscapeHandlers.filter(t=>t!==n),registeredEscapeHandlers.length===0&&isClient&&document.removeEventListener("keydown",cachedHandler)})},_sfc_main$2Q=defineComponent({name:"ElFocusTrap",inheritAttrs:!1,props:{loop:Boolean,trapped:Boolean,focusTrapEl:Object,focusStartEl:{type:[Object,String],default:"first"}},emits:[ON_TRAP_FOCUS_EVT,ON_RELEASE_FOCUS_EVT,"focusin","focusout","focusout-prevented","release-requested"],setup(n,{emit:t}){const r=ref();let i,g;const{focusReason:$}=useFocusReason();useEscapeKeydown(he=>{n.trapped&&!V.paused&&t("release-requested",he)});const V={paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}},re=he=>{if(!n.loop&&!n.trapped||V.paused)return;const{altKey:pe,ctrlKey:_e,metaKey:Ce,currentTarget:xe,shiftKey:Ie}=he,{loop:Ne}=n,$e=getEventCode(he)===EVENT_CODE.tab&&!pe&&!_e&&!Ce,Ve=document.activeElement;if($e&&Ve){const Ue=xe,[Fe,ze]=getEdges(Ue);if(Fe&&ze){if(!Ie&&Ve===ze){const qe=createFocusOutPreventedEvent({focusReason:$.value});t("focusout-prevented",qe),qe.defaultPrevented||(he.preventDefault(),Ne&&tryFocus(Fe,!0))}else if(Ie&&[Fe,Ue].includes(Ve)){const qe=createFocusOutPreventedEvent({focusReason:$.value});t("focusout-prevented",qe),qe.defaultPrevented||(he.preventDefault(),Ne&&tryFocus(ze,!0))}}else if(Ve===Ue){const qe=createFocusOutPreventedEvent({focusReason:$.value});t("focusout-prevented",qe),qe.defaultPrevented||he.preventDefault()}}};provide(FOCUS_TRAP_INJECTION_KEY,{focusTrapRef:r,onKeydown:re}),watch(()=>n.focusTrapEl,he=>{he&&(r.value=he)},{immediate:!0}),watch([r],([he],[pe])=>{he&&(he.addEventListener("keydown",re),he.addEventListener("focusin",oe),he.addEventListener("focusout",le)),pe&&(pe.removeEventListener("keydown",re),pe.removeEventListener("focusin",oe),pe.removeEventListener("focusout",le))});const ie=he=>{t(ON_TRAP_FOCUS_EVT,he)},ae=he=>t(ON_RELEASE_FOCUS_EVT,he),oe=he=>{const pe=unref(r);if(!pe)return;const _e=he.target,Ce=he.relatedTarget,xe=_e&&pe.contains(_e);n.trapped||Ce&&pe.contains(Ce)||(i=Ce),xe&&t("focusin",he),!V.paused&&n.trapped&&(xe?g=_e:tryFocus(g,!0))},le=he=>{const pe=unref(r);if(!(V.paused||!pe))if(n.trapped){const _e=he.relatedTarget;!isNil(_e)&&!pe.contains(_e)&&setTimeout(()=>{if(!V.paused&&n.trapped){const Ce=createFocusOutPreventedEvent({focusReason:$.value});t("focusout-prevented",Ce),Ce.defaultPrevented||tryFocus(g,!0)}},0)}else{const _e=he.target;_e&&pe.contains(_e)||t("focusout",he)}};async function ue(){await nextTick();const he=unref(r);if(he){focusableStack.push(V);const pe=he.contains(document.activeElement)?i:document.activeElement;if(i=pe,!he.contains(pe)){const Ce=new Event(FOCUS_AFTER_TRAPPED,FOCUS_AFTER_TRAPPED_OPTS);he.addEventListener(FOCUS_AFTER_TRAPPED,ie),he.dispatchEvent(Ce),Ce.defaultPrevented||nextTick(()=>{let xe=n.focusStartEl;isString$2(xe)||(tryFocus(xe),document.activeElement!==xe&&(xe="first")),xe==="first"&&focusFirstDescendant(obtainAllFocusableElements(he),!0),(document.activeElement===pe||xe==="container")&&tryFocus(he)})}}}function de(){const he=unref(r);if(he){he.removeEventListener(FOCUS_AFTER_TRAPPED,ie);const pe=new CustomEvent(FOCUS_AFTER_RELEASED,{...FOCUS_AFTER_TRAPPED_OPTS,detail:{focusReason:$.value}});he.addEventListener(FOCUS_AFTER_RELEASED,ae),he.dispatchEvent(pe),!pe.defaultPrevented&&($.value=="keyboard"||!isFocusCausedByUserEvent()||he.contains(document.activeElement))&&tryFocus(i??document.body),he.removeEventListener(FOCUS_AFTER_RELEASED,ae),focusableStack.remove(V),i=null,g=null}}return onMounted(()=>{n.trapped&&ue(),watch(()=>n.trapped,he=>{he?ue():de()})}),onBeforeUnmount(()=>{n.trapped&&de(),r.value&&(r.value.removeEventListener("keydown",re),r.value.removeEventListener("focusin",oe),r.value.removeEventListener("focusout",le),r.value=void 0),i=null,g=null}),{onKeydown:re}}});function _sfc_render$l(n,t,r,i,g,$){return renderSlot(n.$slots,"default",{handleKeydown:n.onKeydown})}var ElFocusTrap=_export_sfc(_sfc_main$2Q,[["render",_sfc_render$l],["__file","/home/runner/work/element-plus/element-plus/packages/components/focus-trap/src/focus-trap.vue"]]),E$2="top",R="bottom",W="right",P$2="left",me="auto",G=[E$2,R,W,P$2],U$2="start",J="end",Xe="clippingParents",je="viewport",K="popper",Ye="reference",De=G.reduce(function(n,t){return n.concat([t+"-"+U$2,t+"-"+J])},[]),Ee=[].concat(G,[me]).reduce(function(n,t){return n.concat([t,t+"-"+U$2,t+"-"+J])},[]),Ge="beforeRead",Je="read",Ke="afterRead",Qe="beforeMain",Ze="main",et="afterMain",tt="beforeWrite",nt="write",rt$1="afterWrite",ot=[Ge,Je,Ke,Qe,Ze,et,tt,nt,rt$1];function C$1(n){return n?(n.nodeName||"").toLowerCase():null}function H$1(n){if(n==null)return window;if(n.toString()!=="[object Window]"){var t=n.ownerDocument;return t&&t.defaultView||window}return n}function Q(n){var t=H$1(n).Element;return n instanceof t||n instanceof Element}function B$1(n){var t=H$1(n).HTMLElement;return n instanceof t||n instanceof HTMLElement}function Pe(n){if(typeof ShadowRoot>"u")return!1;var t=H$1(n).ShadowRoot;return n instanceof t||n instanceof ShadowRoot}function Mt(n){var t=n.state;Object.keys(t.elements).forEach(function(r){var i=t.styles[r]||{},g=t.attributes[r]||{},$=t.elements[r];!B$1($)||!C$1($)||(Object.assign($.style,i),Object.keys(g).forEach(function(V){var re=g[V];re===!1?$.removeAttribute(V):$.setAttribute(V,re===!0?"":re)}))})}function Rt(n){var t=n.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(i){var g=t.elements[i],$=t.attributes[i]||{},V=Object.keys(t.styles.hasOwnProperty(i)?t.styles[i]:r[i]),re=V.reduce(function(ie,ae){return ie[ae]="",ie},{});!B$1(g)||!C$1(g)||(Object.assign(g.style,re),Object.keys($).forEach(function(ie){g.removeAttribute(ie)}))})}}var Ae={name:"applyStyles",enabled:!0,phase:"write",fn:Mt,effect:Rt,requires:["computeStyles"]};function q(n){return n.split("-")[0]}var X$1=Math.max,ve=Math.min,Z=Math.round;function ee(n,t){t===void 0&&(t=!1);var r=n.getBoundingClientRect(),i=1,g=1;if(B$1(n)&&t){var $=n.offsetHeight,V=n.offsetWidth;V>0&&(i=Z(r.width)/V||1),$>0&&(g=Z(r.height)/$||1)}return{width:r.width/i,height:r.height/g,top:r.top/g,right:r.right/i,bottom:r.bottom/g,left:r.left/i,x:r.left/i,y:r.top/g}}function ke(n){var t=ee(n),r=n.offsetWidth,i=n.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:n.offsetLeft,y:n.offsetTop,width:r,height:i}}function it(n,t){var r=t.getRootNode&&t.getRootNode();if(n.contains(t))return!0;if(r&&Pe(r)){var i=t;do{if(i&&n.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function N$1(n){return H$1(n).getComputedStyle(n)}function Wt(n){return["table","td","th"].indexOf(C$1(n))>=0}function I$1(n){return((Q(n)?n.ownerDocument:n.document)||window.document).documentElement}function ge(n){return C$1(n)==="html"?n:n.assignedSlot||n.parentNode||(Pe(n)?n.host:null)||I$1(n)}function at(n){return!B$1(n)||N$1(n).position==="fixed"?null:n.offsetParent}function Bt(n){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1,r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&B$1(n)){var i=N$1(n);if(i.position==="fixed")return null}var g=ge(n);for(Pe(g)&&(g=g.host);B$1(g)&&["html","body"].indexOf(C$1(g))<0;){var $=N$1(g);if($.transform!=="none"||$.perspective!=="none"||$.contain==="paint"||["transform","perspective"].indexOf($.willChange)!==-1||t&&$.willChange==="filter"||t&&$.filter&&$.filter!=="none")return g;g=g.parentNode}return null}function se(n){for(var t=H$1(n),r=at(n);r&&Wt(r)&&N$1(r).position==="static";)r=at(r);return r&&(C$1(r)==="html"||C$1(r)==="body"&&N$1(r).position==="static")?t:r||Bt(n)||t}function Le(n){return["top","bottom"].indexOf(n)>=0?"x":"y"}function fe(n,t,r){return X$1(n,ve(t,r))}function St(n,t,r){var i=fe(n,t,r);return i>r?r:i}function st(){return{top:0,right:0,bottom:0,left:0}}function ft(n){return Object.assign({},st(),n)}function ct(n,t){return t.reduce(function(r,i){return r[i]=n,r},{})}var Tt=function(n,t){return n=typeof n=="function"?n(Object.assign({},t.rects,{placement:t.placement})):n,ft(typeof n!="number"?n:ct(n,G))};function Ht(n){var t,r=n.state,i=n.name,g=n.options,$=r.elements.arrow,V=r.modifiersData.popperOffsets,re=q(r.placement),ie=Le(re),ae=[P$2,W].indexOf(re)>=0,oe=ae?"height":"width";if(!(!$||!V)){var le=Tt(g.padding,r),ue=ke($),de=ie==="y"?E$2:P$2,he=ie==="y"?R:W,pe=r.rects.reference[oe]+r.rects.reference[ie]-V[ie]-r.rects.popper[oe],_e=V[ie]-r.rects.reference[ie],Ce=se($),xe=Ce?ie==="y"?Ce.clientHeight||0:Ce.clientWidth||0:0,Ie=pe/2-_e/2,Ne=le[de],Oe=xe-ue[oe]-le[he],$e=xe/2-ue[oe]/2+Ie,Ve=fe(Ne,$e,Oe),Ue=ie;r.modifiersData[i]=(t={},t[Ue]=Ve,t.centerOffset=Ve-$e,t)}}function Ct(n){var t=n.state,r=n.options,i=r.element,g=i===void 0?"[data-popper-arrow]":i;g!=null&&(typeof g=="string"&&(g=t.elements.popper.querySelector(g),!g)||!it(t.elements.popper,g)||(t.elements.arrow=g))}var pt={name:"arrow",enabled:!0,phase:"main",fn:Ht,effect:Ct,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function te(n){return n.split("-")[1]}var qt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Vt(n){var t=n.x,r=n.y,i=window,g=i.devicePixelRatio||1;return{x:Z(t*g)/g||0,y:Z(r*g)/g||0}}function ut(n){var t,r=n.popper,i=n.popperRect,g=n.placement,$=n.variation,V=n.offsets,re=n.position,ie=n.gpuAcceleration,ae=n.adaptive,oe=n.roundOffsets,le=n.isFixed,ue=V.x,de=ue===void 0?0:ue,he=V.y,pe=he===void 0?0:he,_e=typeof oe=="function"?oe({x:de,y:pe}):{x:de,y:pe};de=_e.x,pe=_e.y;var Ce=V.hasOwnProperty("x"),xe=V.hasOwnProperty("y"),Ie=P$2,Ne=E$2,Oe=window;if(ae){var $e=se(r),Ve="clientHeight",Ue="clientWidth";if($e===H$1(r)&&($e=I$1(r),N$1($e).position!=="static"&&re==="absolute"&&(Ve="scrollHeight",Ue="scrollWidth")),$e=$e,g===E$2||(g===P$2||g===W)&&$===J){Ne=R;var Fe=le&&$e===Oe&&Oe.visualViewport?Oe.visualViewport.height:$e[Ve];pe-=Fe-i.height,pe*=ie?1:-1}if(g===P$2||(g===E$2||g===R)&&$===J){Ie=W;var ze=le&&$e===Oe&&Oe.visualViewport?Oe.visualViewport.width:$e[Ue];de-=ze-i.width,de*=ie?1:-1}}var Pt=Object.assign({position:re},ae&&qt),qe=oe===!0?Vt({x:de,y:pe}):{x:de,y:pe};if(de=qe.x,pe=qe.y,ie){var Et;return Object.assign({},Pt,(Et={},Et[Ne]=xe?"0":"",Et[Ie]=Ce?"0":"",Et.transform=(Oe.devicePixelRatio||1)<=1?"translate("+de+"px, "+pe+"px)":"translate3d("+de+"px, "+pe+"px, 0)",Et))}return Object.assign({},Pt,(t={},t[Ne]=xe?pe+"px":"",t[Ie]=Ce?de+"px":"",t.transform="",t))}function Nt(n){var t=n.state,r=n.options,i=r.gpuAcceleration,g=i===void 0?!0:i,$=r.adaptive,V=$===void 0?!0:$,re=r.roundOffsets,ie=re===void 0?!0:re,ae={placement:q(t.placement),variation:te(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:g,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ut(Object.assign({},ae,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:V,roundOffsets:ie})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ut(Object.assign({},ae,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:ie})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Me={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Nt,data:{}},ye={passive:!0};function It(n){var t=n.state,r=n.instance,i=n.options,g=i.scroll,$=g===void 0?!0:g,V=i.resize,re=V===void 0?!0:V,ie=H$1(t.elements.popper),ae=[].concat(t.scrollParents.reference,t.scrollParents.popper);return $&&ae.forEach(function(oe){oe.addEventListener("scroll",r.update,ye)}),re&&ie.addEventListener("resize",r.update,ye),function(){$&&ae.forEach(function(oe){oe.removeEventListener("scroll",r.update,ye)}),re&&ie.removeEventListener("resize",r.update,ye)}}var Re={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:It,data:{}},_t={left:"right",right:"left",bottom:"top",top:"bottom"};function be(n){return n.replace(/left|right|bottom|top/g,function(t){return _t[t]})}var zt={start:"end",end:"start"};function lt$1(n){return n.replace(/start|end/g,function(t){return zt[t]})}function We(n){var t=H$1(n),r=t.pageXOffset,i=t.pageYOffset;return{scrollLeft:r,scrollTop:i}}function Be(n){return ee(I$1(n)).left+We(n).scrollLeft}function Ft(n){var t=H$1(n),r=I$1(n),i=t.visualViewport,g=r.clientWidth,$=r.clientHeight,V=0,re=0;return i&&(g=i.width,$=i.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(V=i.offsetLeft,re=i.offsetTop)),{width:g,height:$,x:V+Be(n),y:re}}function Ut(n){var t,r=I$1(n),i=We(n),g=(t=n.ownerDocument)==null?void 0:t.body,$=X$1(r.scrollWidth,r.clientWidth,g?g.scrollWidth:0,g?g.clientWidth:0),V=X$1(r.scrollHeight,r.clientHeight,g?g.scrollHeight:0,g?g.clientHeight:0),re=-i.scrollLeft+Be(n),ie=-i.scrollTop;return N$1(g||r).direction==="rtl"&&(re+=X$1(r.clientWidth,g?g.clientWidth:0)-$),{width:$,height:V,x:re,y:ie}}function Se(n){var t=N$1(n),r=t.overflow,i=t.overflowX,g=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+g+i)}function dt(n){return["html","body","#document"].indexOf(C$1(n))>=0?n.ownerDocument.body:B$1(n)&&Se(n)?n:dt(ge(n))}function ce(n,t){var r;t===void 0&&(t=[]);var i=dt(n),g=i===((r=n.ownerDocument)==null?void 0:r.body),$=H$1(i),V=g?[$].concat($.visualViewport||[],Se(i)?i:[]):i,re=t.concat(V);return g?re:re.concat(ce(ge(V)))}function Te(n){return Object.assign({},n,{left:n.x,top:n.y,right:n.x+n.width,bottom:n.y+n.height})}function Xt(n){var t=ee(n);return t.top=t.top+n.clientTop,t.left=t.left+n.clientLeft,t.bottom=t.top+n.clientHeight,t.right=t.left+n.clientWidth,t.width=n.clientWidth,t.height=n.clientHeight,t.x=t.left,t.y=t.top,t}function ht(n,t){return t===je?Te(Ft(n)):Q(t)?Xt(t):Te(Ut(I$1(n)))}function Yt(n){var t=ce(ge(n)),r=["absolute","fixed"].indexOf(N$1(n).position)>=0,i=r&&B$1(n)?se(n):n;return Q(i)?t.filter(function(g){return Q(g)&&it(g,i)&&C$1(g)!=="body"}):[]}function Gt(n,t,r){var i=t==="clippingParents"?Yt(n):[].concat(t),g=[].concat(i,[r]),$=g[0],V=g.reduce(function(re,ie){var ae=ht(n,ie);return re.top=X$1(ae.top,re.top),re.right=ve(ae.right,re.right),re.bottom=ve(ae.bottom,re.bottom),re.left=X$1(ae.left,re.left),re},ht(n,$));return V.width=V.right-V.left,V.height=V.bottom-V.top,V.x=V.left,V.y=V.top,V}function mt(n){var t=n.reference,r=n.element,i=n.placement,g=i?q(i):null,$=i?te(i):null,V=t.x+t.width/2-r.width/2,re=t.y+t.height/2-r.height/2,ie;switch(g){case E$2:ie={x:V,y:t.y-r.height};break;case R:ie={x:V,y:t.y+t.height};break;case W:ie={x:t.x+t.width,y:re};break;case P$2:ie={x:t.x-r.width,y:re};break;default:ie={x:t.x,y:t.y}}var ae=g?Le(g):null;if(ae!=null){var oe=ae==="y"?"height":"width";switch($){case U$2:ie[ae]=ie[ae]-(t[oe]/2-r[oe]/2);break;case J:ie[ae]=ie[ae]+(t[oe]/2-r[oe]/2);break}}return ie}function ne(n,t){t===void 0&&(t={});var r=t,i=r.placement,g=i===void 0?n.placement:i,$=r.boundary,V=$===void 0?Xe:$,re=r.rootBoundary,ie=re===void 0?je:re,ae=r.elementContext,oe=ae===void 0?K:ae,le=r.altBoundary,ue=le===void 0?!1:le,de=r.padding,he=de===void 0?0:de,pe=ft(typeof he!="number"?he:ct(he,G)),_e=oe===K?Ye:K,Ce=n.rects.popper,xe=n.elements[ue?_e:oe],Ie=Gt(Q(xe)?xe:xe.contextElement||I$1(n.elements.popper),V,ie),Ne=ee(n.elements.reference),Oe=mt({reference:Ne,element:Ce,strategy:"absolute",placement:g}),$e=Te(Object.assign({},Ce,Oe)),Ve=oe===K?$e:Ne,Ue={top:Ie.top-Ve.top+pe.top,bottom:Ve.bottom-Ie.bottom+pe.bottom,left:Ie.left-Ve.left+pe.left,right:Ve.right-Ie.right+pe.right},Fe=n.modifiersData.offset;if(oe===K&&Fe){var ze=Fe[g];Object.keys(Ue).forEach(function(Pt){var qe=[W,R].indexOf(Pt)>=0?1:-1,Et=[E$2,R].indexOf(Pt)>=0?"y":"x";Ue[Pt]+=ze[Et]*qe})}return Ue}function Jt(n,t){t===void 0&&(t={});var r=t,i=r.placement,g=r.boundary,$=r.rootBoundary,V=r.padding,re=r.flipVariations,ie=r.allowedAutoPlacements,ae=ie===void 0?Ee:ie,oe=te(i),le=oe?re?De:De.filter(function(he){return te(he)===oe}):G,ue=le.filter(function(he){return ae.indexOf(he)>=0});ue.length===0&&(ue=le);var de=ue.reduce(function(he,pe){return he[pe]=ne(n,{placement:pe,boundary:g,rootBoundary:$,padding:V})[q(pe)],he},{});return Object.keys(de).sort(function(he,pe){return de[he]-de[pe]})}function Kt(n){if(q(n)===me)return[];var t=be(n);return[lt$1(n),t,lt$1(t)]}function Qt(n){var t=n.state,r=n.options,i=n.name;if(!t.modifiersData[i]._skip){for(var g=r.mainAxis,$=g===void 0?!0:g,V=r.altAxis,re=V===void 0?!0:V,ie=r.fallbackPlacements,ae=r.padding,oe=r.boundary,le=r.rootBoundary,ue=r.altBoundary,de=r.flipVariations,he=de===void 0?!0:de,pe=r.allowedAutoPlacements,_e=t.options.placement,Ce=q(_e),xe=Ce===_e,Ie=ie||(xe||!he?[be(_e)]:Kt(_e)),Ne=[_e].concat(Ie).reduce(function(Cn,Sn){return Cn.concat(q(Sn)===me?Jt(t,{placement:Sn,boundary:oe,rootBoundary:le,padding:ae,flipVariations:he,allowedAutoPlacements:pe}):Sn)},[]),Oe=t.rects.reference,$e=t.rects.popper,Ve=new Map,Ue=!0,Fe=Ne[0],ze=0;ze=0,At=kt?"width":"height",Dt=ne(t,{placement:Pt,boundary:oe,rootBoundary:le,altBoundary:ue,padding:ae}),Lt=kt?Et?W:P$2:Et?R:E$2;Oe[At]>$e[At]&&(Lt=be(Lt));var jt=be(Lt),hn=[];if($&&hn.push(Dt[qe]<=0),re&&hn.push(Dt[Lt]<=0,Dt[jt]<=0),hn.every(function(Cn){return Cn})){Fe=Pt,Ue=!1;break}Ve.set(Pt,hn)}if(Ue)for(var vn=he?3:1,_n=function(Cn){var Sn=Ne.find(function(Tn){var En=Ve.get(Tn);if(En)return En.slice(0,Cn).every(function(kn){return kn})});if(Sn)return Fe=Sn,"break"},wn=vn;wn>0;wn--){var bn=_n(wn);if(bn==="break")break}t.placement!==Fe&&(t.modifiersData[i]._skip=!0,t.placement=Fe,t.reset=!0)}}var vt={name:"flip",enabled:!0,phase:"main",fn:Qt,requiresIfExists:["offset"],data:{_skip:!1}};function gt(n,t,r){return r===void 0&&(r={x:0,y:0}),{top:n.top-t.height-r.y,right:n.right-t.width+r.x,bottom:n.bottom-t.height+r.y,left:n.left-t.width-r.x}}function yt(n){return[E$2,W,R,P$2].some(function(t){return n[t]>=0})}function Zt(n){var t=n.state,r=n.name,i=t.rects.reference,g=t.rects.popper,$=t.modifiersData.preventOverflow,V=ne(t,{elementContext:"reference"}),re=ne(t,{altBoundary:!0}),ie=gt(V,i),ae=gt(re,g,$),oe=yt(ie),le=yt(ae);t.modifiersData[r]={referenceClippingOffsets:ie,popperEscapeOffsets:ae,isReferenceHidden:oe,hasPopperEscaped:le},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":oe,"data-popper-escaped":le})}var bt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Zt};function en(n,t,r){var i=q(n),g=[P$2,E$2].indexOf(i)>=0?-1:1,$=typeof r=="function"?r(Object.assign({},t,{placement:n})):r,V=$[0],re=$[1];return V=V||0,re=(re||0)*g,[P$2,W].indexOf(i)>=0?{x:re,y:V}:{x:V,y:re}}function tn(n){var t=n.state,r=n.options,i=n.name,g=r.offset,$=g===void 0?[0,0]:g,V=Ee.reduce(function(oe,le){return oe[le]=en(le,t.rects,$),oe},{}),re=V[t.placement],ie=re.x,ae=re.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=ie,t.modifiersData.popperOffsets.y+=ae),t.modifiersData[i]=V}var wt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:tn};function nn(n){var t=n.state,r=n.name;t.modifiersData[r]=mt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var He={name:"popperOffsets",enabled:!0,phase:"read",fn:nn,data:{}};function rn(n){return n==="x"?"y":"x"}function on(n){var t=n.state,r=n.options,i=n.name,g=r.mainAxis,$=g===void 0?!0:g,V=r.altAxis,re=V===void 0?!1:V,ie=r.boundary,ae=r.rootBoundary,oe=r.altBoundary,le=r.padding,ue=r.tether,de=ue===void 0?!0:ue,he=r.tetherOffset,pe=he===void 0?0:he,_e=ne(t,{boundary:ie,rootBoundary:ae,padding:le,altBoundary:oe}),Ce=q(t.placement),xe=te(t.placement),Ie=!xe,Ne=Le(Ce),Oe=rn(Ne),$e=t.modifiersData.popperOffsets,Ve=t.rects.reference,Ue=t.rects.popper,Fe=typeof pe=="function"?pe(Object.assign({},t.rects,{placement:t.placement})):pe,ze=typeof Fe=="number"?{mainAxis:Fe,altAxis:Fe}:Object.assign({mainAxis:0,altAxis:0},Fe),Pt=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,qe={x:0,y:0};if($e){if($){var Et,kt=Ne==="y"?E$2:P$2,At=Ne==="y"?R:W,Dt=Ne==="y"?"height":"width",Lt=$e[Ne],jt=Lt+_e[kt],hn=Lt-_e[At],vn=de?-Ue[Dt]/2:0,_n=xe===U$2?Ve[Dt]:Ue[Dt],wn=xe===U$2?-Ue[Dt]:-Ve[Dt],bn=t.elements.arrow,Cn=de&&bn?ke(bn):{width:0,height:0},Sn=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:st(),Tn=Sn[kt],En=Sn[At],kn=fe(0,Ve[Dt],Cn[Dt]),$n=Ie?Ve[Dt]/2-vn-kn-Tn-ze.mainAxis:_n-kn-Tn-ze.mainAxis,An=Ie?-Ve[Dt]/2+vn+kn+En+ze.mainAxis:wn+kn+En+ze.mainAxis,xn=t.elements.arrow&&se(t.elements.arrow),Ln=xn?Ne==="y"?xn.clientTop||0:xn.clientLeft||0:0,Nn=(Et=Pt==null?void 0:Pt[Ne])!=null?Et:0,Pn=Lt+$n-Nn-Ln,On=Lt+An-Nn,Hn=fe(de?ve(jt,Pn):jt,Lt,de?X$1(hn,On):hn);$e[Ne]=Hn,qe[Ne]=Hn-Lt}if(re){var Xn,In=Ne==="x"?E$2:P$2,or=Ne==="x"?R:W,Qn=$e[Oe],Zn=Oe==="y"?"height":"width",Gn=Qn+_e[In],Rn=Qn-_e[or],Mn=[E$2,P$2].indexOf(Ce)!==-1,Bn=(Xn=Pt==null?void 0:Pt[Oe])!=null?Xn:0,qn=Mn?Gn:Qn-Ve[Zn]-Ue[Zn]-Bn+ze.altAxis,zn=Mn?Qn+Ve[Zn]+Ue[Zn]-Bn-ze.altAxis:Rn,jn=de&&Mn?St(qn,Qn,zn):fe(de?qn:Gn,Qn,de?zn:Rn);$e[Oe]=jn,qe[Oe]=jn-Qn}t.modifiersData[i]=qe}}var xt={name:"preventOverflow",enabled:!0,phase:"main",fn:on,requiresIfExists:["offset"]};function an(n){return{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}}function sn(n){return n===H$1(n)||!B$1(n)?We(n):an(n)}function fn(n){var t=n.getBoundingClientRect(),r=Z(t.width)/n.offsetWidth||1,i=Z(t.height)/n.offsetHeight||1;return r!==1||i!==1}function cn(n,t,r){r===void 0&&(r=!1);var i=B$1(t),g=B$1(t)&&fn(t),$=I$1(t),V=ee(n,g),re={scrollLeft:0,scrollTop:0},ie={x:0,y:0};return(i||!i&&!r)&&((C$1(t)!=="body"||Se($))&&(re=sn(t)),B$1(t)?(ie=ee(t,!0),ie.x+=t.clientLeft,ie.y+=t.clientTop):$&&(ie.x=Be($))),{x:V.left+re.scrollLeft-ie.x,y:V.top+re.scrollTop-ie.y,width:V.width,height:V.height}}function pn(n){var t=new Map,r=new Set,i=[];n.forEach(function($){t.set($.name,$)});function g($){r.add($.name);var V=[].concat($.requires||[],$.requiresIfExists||[]);V.forEach(function(re){if(!r.has(re)){var ie=t.get(re);ie&&g(ie)}}),i.push($)}return n.forEach(function($){r.has($.name)||g($)}),i}function un(n){var t=pn(n);return ot.reduce(function(r,i){return r.concat(t.filter(function(g){return g.phase===i}))},[])}function ln(n){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(n())})})),t}}function dn(n){var t=n.reduce(function(r,i){var g=r[i.name];return r[i.name]=g?Object.assign({},g,i,{options:Object.assign({},g.options,i.options),data:Object.assign({},g.data,i.data)}):i,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function $t(){for(var n=arguments.length,t=new Array(n),r=0;r({})},strategy:{type:String,values:POSITIONING_STRATEGIES,default:"absolute"}}),popperContentProps=buildProps({...popperCoreConfigProps,...popperArrowProps,id:String,style:{type:definePropType([String,Array,Object])},className:{type:definePropType([String,Array,Object])},effect:{type:definePropType(String),default:"dark"},visible:Boolean,enterable:{type:Boolean,default:!0},pure:Boolean,focusOnShow:Boolean,trapping:Boolean,popperClass:{type:definePropType([String,Array,Object])},popperStyle:{type:definePropType([String,Array,Object])},referenceEl:{type:definePropType(Object)},triggerTargetEl:{type:definePropType(Object)},stopPopperMouseEvent:{type:Boolean,default:!0},virtualTriggering:Boolean,zIndex:Number,...useAriaProps(["ariaLabel"]),loop:Boolean}),popperContentEmits={mouseenter:n=>n instanceof MouseEvent,mouseleave:n=>n instanceof MouseEvent,focus:()=>!0,blur:()=>!0,close:()=>!0},usePopperContentFocusTrap=(n,t)=>{const r=ref(!1),i=ref(),g=()=>{t("focus")},$=ae=>{var oe;((oe=ae.detail)==null?void 0:oe.focusReason)!=="pointer"&&(i.value="first",t("blur"))},V=ae=>{n.visible&&!r.value&&(ae.target&&(i.value=ae.target),r.value=!0)},re=ae=>{n.trapping||(ae.detail.focusReason==="pointer"&&ae.preventDefault(),r.value=!1)},ie=()=>{r.value=!1,t("close")};return onBeforeUnmount(()=>{i.value=void 0}),{focusStartRef:i,trapped:r,onFocusAfterReleased:$,onFocusAfterTrapped:g,onFocusInTrap:V,onFocusoutPrevented:re,onReleaseRequested:ie}},buildPopperOptions=(n,t=[])=>{const{placement:r,strategy:i,popperOptions:g}=n,$={placement:r,strategy:i,...g,modifiers:[...genModifiers(n),...t]};return deriveExtraModifiers($,g==null?void 0:g.modifiers),$},unwrapMeasurableEl=n=>{if(isClient)return unrefElement(n)};function genModifiers(n){const{offset:t,gpuAcceleration:r,fallbackPlacements:i}=n;return[{name:"offset",options:{offset:[0,t??12]}},{name:"preventOverflow",options:{padding:{top:0,bottom:0,left:0,right:0}}},{name:"flip",options:{padding:5,fallbackPlacements:i}},{name:"computeStyles",options:{gpuAcceleration:r}}]}function deriveExtraModifiers(n,t){t&&(n.modifiers=[...n.modifiers,...t??[]])}const usePopper=(n,t,r={})=>{const i={name:"updateState",enabled:!0,phase:"write",fn:({state:ie})=>{const ae=deriveState(ie);Object.assign(V.value,ae)},requires:["computeStyles"]},g=computed(()=>{const{onFirstUpdate:ie,placement:ae,strategy:oe,modifiers:le}=unref(r);return{onFirstUpdate:ie,placement:ae||"bottom",strategy:oe||"absolute",modifiers:[...le||[],i,{name:"applyStyles",enabled:!1}]}}),$=shallowRef(),V=ref({styles:{popper:{position:unref(g).strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),re=()=>{$.value&&($.value.destroy(),$.value=void 0)};return watch(g,ie=>{const ae=unref($);ae&&ae.setOptions(ie)},{deep:!0}),watch([n,t],([ie,ae])=>{re(),!(!ie||!ae)&&($.value=yn(ie,ae,unref(g)))}),onBeforeUnmount(()=>{re()}),{state:computed(()=>{var ie;return{...((ie=unref($))==null?void 0:ie.state)||{}}}),styles:computed(()=>unref(V).styles),attributes:computed(()=>unref(V).attributes),update:()=>{var ie;return(ie=unref($))==null?void 0:ie.update()},forceUpdate:()=>{var ie;return(ie=unref($))==null?void 0:ie.forceUpdate()},instanceRef:computed(()=>unref($))}};function deriveState(n){const t=Object.keys(n.elements),r=fromPairs(t.map(g=>[g,n.styles[g]||{}])),i=fromPairs(t.map(g=>[g,n.attributes[g]]));return{styles:r,attributes:i}}const DEFAULT_ARROW_OFFSET=0,usePopperContent=n=>{const{popperInstanceRef:t,contentRef:r,triggerRef:i,role:g}=inject(POPPER_INJECTION_KEY,void 0),$=ref(),V=computed(()=>n.arrowOffset),re=computed(()=>({name:"eventListeners",enabled:!!n.visible})),ie=computed(()=>{var Ce;const xe=unref($),Ie=(Ce=unref(V))!=null?Ce:DEFAULT_ARROW_OFFSET;return{name:"arrow",enabled:!isUndefined$2(xe),options:{element:xe,padding:Ie}}}),ae=computed(()=>({onFirstUpdate:()=>{he()},...buildPopperOptions(n,[unref(ie),unref(re)])})),oe=computed(()=>unwrapMeasurableEl(n.referenceEl)||unref(i)),{attributes:le,state:ue,styles:de,update:he,forceUpdate:pe,instanceRef:_e}=usePopper(oe,r,ae);return watch(_e,Ce=>t.value=Ce,{flush:"sync"}),onMounted(()=>{watch(()=>{var Ce,xe;return(xe=(Ce=unref(oe))==null?void 0:Ce.getBoundingClientRect)==null?void 0:xe.call(Ce)},()=>{he()})}),onBeforeUnmount(()=>{t.value=void 0}),{attributes:le,arrowRef:$,contentRef:r,instanceRef:_e,state:ue,styles:de,role:g,forceUpdate:pe,update:he}},usePopperContentDOM=(n,{attributes:t,styles:r,role:i})=>{const{nextZIndex:g}=useZIndex(),$=useNamespace("popper"),V=computed(()=>unref(t).popper),re=ref(isNumber$2(n.zIndex)?n.zIndex:g()),ie=computed(()=>[$.b(),$.is("pure",n.pure),$.is(n.effect),n.popperClass]),ae=computed(()=>[{zIndex:unref(re)},unref(r).popper,n.popperStyle||{}]),oe=computed(()=>i.value==="dialog"?"false":void 0),le=computed(()=>unref(r).arrow||{});return{ariaModal:oe,arrowStyle:le,contentAttrs:V,contentClass:ie,contentStyle:ae,contentZIndex:re,updateZIndex:()=>{re.value=isNumber$2(n.zIndex)?n.zIndex:g()}}},_sfc_main$2P=defineComponent({name:"ElPopperContent",__name:"content",props:popperContentProps,emits:popperContentEmits,setup(n,{expose:t,emit:r}){const i=r,g=n,{focusStartRef:$,trapped:V,onFocusAfterReleased:re,onFocusAfterTrapped:ie,onFocusInTrap:ae,onFocusoutPrevented:oe,onReleaseRequested:le}=usePopperContentFocusTrap(g,i),{attributes:ue,arrowRef:de,contentRef:he,styles:pe,instanceRef:_e,role:Ce,update:xe}=usePopperContent(g),{ariaModal:Ie,arrowStyle:Ne,contentAttrs:Oe,contentClass:$e,contentStyle:Ve,updateZIndex:Ue}=usePopperContentDOM(g,{styles:pe,attributes:ue,role:Ce}),Fe=inject(formItemContextKey,void 0);provide(POPPER_CONTENT_INJECTION_KEY,{arrowStyle:Ne,arrowRef:de}),Fe&&provide(formItemContextKey,{...Fe,addInputId:NOOP,removeInputId:NOOP});let ze;const Pt=(Et=!0)=>{xe(),Et&&Ue()},qe=()=>{Pt(!1),g.visible&&g.focusOnShow?V.value=!0:g.visible===!1&&(V.value=!1)};return onMounted(()=>{watch(()=>g.triggerTargetEl,(Et,kt)=>{ze==null||ze(),ze=void 0;const At=unref(Et||he.value),Dt=unref(kt||he.value);isElement$1(At)&&(ze=watch([Ce,()=>g.ariaLabel,Ie,()=>g.id],Lt=>{["role","aria-label","aria-modal","id"].forEach((jt,hn)=>{isNil(Lt[hn])?At.removeAttribute(jt):At.setAttribute(jt,Lt[hn])})},{immediate:!0})),Dt!==At&&isElement$1(Dt)&&["role","aria-label","aria-modal","id"].forEach(Lt=>{Dt.removeAttribute(Lt)})},{immediate:!0}),watch(()=>g.visible,qe,{immediate:!0})}),onBeforeUnmount(()=>{ze==null||ze(),ze=void 0,he.value=void 0}),t({popperContentRef:he,popperInstanceRef:_e,updatePopper:Pt,contentStyle:Ve}),(Et,kt)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"contentRef",ref:he},unref(Oe),{style:unref(Ve),class:unref($e),tabindex:"-1",onMouseenter:kt[0]||(kt[0]=At=>Et.$emit("mouseenter",At)),onMouseleave:kt[1]||(kt[1]=At=>Et.$emit("mouseleave",At))}),[createVNode$1(unref(ElFocusTrap),{loop:Et.loop,trapped:unref(V),"trap-on-focus-in":!0,"focus-trap-el":unref(he),"focus-start-el":unref($),onFocusAfterTrapped:unref(ie),onFocusAfterReleased:unref(re),onFocusin:unref(ae),onFocusoutPrevented:unref(oe),onReleaseRequested:unref(le)},{default:withCtx(()=>[renderSlot(Et.$slots,"default")]),_:3},8,["loop","trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusin","onFocusoutPrevented","onReleaseRequested"])],16))}});var ElPopperContent=_export_sfc(_sfc_main$2P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popper/src/content.vue"]]);const ElPopper=withInstall(Popper),TOOLTIP_INJECTION_KEY=Symbol("elTooltip");function useTimeout(){let n;const t=(i,g)=>{r(),n=window.setTimeout(i,g)},r=()=>window.clearTimeout(n);return tryOnScopeDispose(()=>r()),{registerTimeout:t,cancelTimeout:r}}const useDelayedToggleProps=buildProps({showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0}}),useDelayedToggle=({showAfter:n,hideAfter:t,autoClose:r,open:i,close:g})=>{const{registerTimeout:$}=useTimeout(),{registerTimeout:V,cancelTimeout:re}=useTimeout();return{onOpen:(oe,le=unref(n))=>{$(()=>{i(oe);const ue=unref(r);isNumber$2(ue)&&ue>0&&V(()=>{g(oe)},ue)},le)},onClose:(oe,le=unref(t))=>{re(),$(()=>{g(oe)},le)}}},useTooltipContentProps=buildProps({...useDelayedToggleProps,...popperContentProps,appendTo:{type:teleportProps.to.type},content:{type:String,default:""},rawContent:Boolean,persistent:Boolean,visible:{type:definePropType(Boolean),default:null},transition:String,teleported:{type:Boolean,default:!0},disabled:Boolean,...useAriaProps(["ariaLabel"])}),useTooltipTriggerProps=buildProps({...popperTriggerProps,disabled:Boolean,trigger:{type:definePropType([String,Array]),default:"hover"},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.numpadEnter,EVENT_CODE.space]},focusOnTarget:Boolean}),_prop=buildProp({type:definePropType(Boolean),default:null}),_event=buildProp({type:definePropType(Function)}),createModelToggleComposable=n=>{const t=`update:${n}`,r=`onUpdate:${n}`,i=[t],g={[n]:_prop,[r]:_event};return{useModelToggle:({indicator:V,toggleReason:re,shouldHideWhenRouteChanges:ie,shouldProceed:ae,onShow:oe,onHide:le})=>{const ue=getCurrentInstance(),{emit:de}=ue,he=ue.props,pe=computed(()=>isFunction$4(he[r])),_e=computed(()=>he[n]===null),Ce=Ve=>{V.value!==!0&&(V.value=!0,re&&(re.value=Ve),isFunction$4(oe)&&oe(Ve))},xe=Ve=>{V.value!==!1&&(V.value=!1,re&&(re.value=Ve),isFunction$4(le)&&le(Ve))},Ie=Ve=>{if(he.disabled===!0||isFunction$4(ae)&&!ae())return;const Ue=pe.value&&isClient;Ue&&de(t,!0),(_e.value||!Ue)&&Ce(Ve)},Ne=Ve=>{if(he.disabled===!0||!isClient)return;const Ue=pe.value&&isClient;Ue&&de(t,!1),(_e.value||!Ue)&&xe(Ve)},Oe=Ve=>{isBoolean$1(Ve)&&(he.disabled&&Ve?pe.value&&de(t,!1):V.value!==Ve&&(Ve?Ce():xe()))},$e=()=>{V.value?Ne():Ie()};return watch(()=>he[n],Oe),ie&&ue.appContext.config.globalProperties.$route!==void 0&&watch(()=>({...ue.proxy.$route}),()=>{ie.value&&V.value&&Ne()}),onMounted(()=>{Oe(he[n])}),{hide:Ne,show:Ie,toggle:$e,hasUpdateHandler:pe}},useModelToggleProps:g,useModelToggleEmits:i}};createModelToggleComposable("modelValue");const{useModelToggleProps:useTooltipModelToggleProps,useModelToggleEmits:useTooltipModelToggleEmits,useModelToggle:useTooltipModelToggle}=createModelToggleComposable("visible"),useTooltipProps=buildProps({...popperProps,...useTooltipModelToggleProps,...useTooltipContentProps,...useTooltipTriggerProps,...popperArrowProps,showArrow:{type:Boolean,default:!0}}),tooltipEmits=[...useTooltipModelToggleEmits,"before-show","before-hide","show","hide","open","close"],isTriggerType=(n,t)=>isArray$5(n)?n.includes(t):n===t,whenTrigger=(n,t,r)=>i=>{isTriggerType(unref(n),t)&&r(i)},_sfc_main$2O=defineComponent({name:"ElTooltipTrigger",__name:"trigger",props:useTooltipTriggerProps,setup(n,{expose:t}){const r=n,i=useNamespace("tooltip"),{controlled:g,id:$,open:V,onOpen:re,onClose:ie,onToggle:ae}=inject(TOOLTIP_INJECTION_KEY,void 0),oe=ref(null),le=()=>{if(unref(g)||r.disabled)return!0},ue=toRef$1(r,"trigger"),de=composeEventHandlers(le,whenTrigger(ue,"hover",Ne=>{re(Ne),r.focusOnTarget&&Ne.target&&nextTick(()=>{focusElement(Ne.target,{preventScroll:!0})})})),he=composeEventHandlers(le,whenTrigger(ue,"hover",ie)),pe=composeEventHandlers(le,whenTrigger(ue,"click",Ne=>{Ne.button===0&&ae(Ne)})),_e=composeEventHandlers(le,whenTrigger(ue,"focus",re)),Ce=composeEventHandlers(le,whenTrigger(ue,"focus",ie)),xe=composeEventHandlers(le,whenTrigger(ue,"contextmenu",Ne=>{Ne.preventDefault(),ae(Ne)})),Ie=composeEventHandlers(le,Ne=>{const Oe=getEventCode(Ne);r.triggerKeys.includes(Oe)&&(Ne.preventDefault(),ae(Ne))});return t({triggerRef:oe}),(Ne,Oe)=>(openBlock(),createBlock(unref(ElPopperTrigger),{id:unref($),"virtual-ref":Ne.virtualRef,open:unref(V),"virtual-triggering":Ne.virtualTriggering,class:normalizeClass(unref(i).e("trigger")),onBlur:unref(Ce),onClick:unref(pe),onContextmenu:unref(xe),onFocus:unref(_e),onMouseenter:unref(de),onMouseleave:unref(he),onKeydown:unref(Ie)},{default:withCtx(()=>[renderSlot(Ne.$slots,"default")]),_:3},8,["id","virtual-ref","open","virtual-triggering","class","onBlur","onClick","onContextmenu","onFocus","onMouseenter","onMouseleave","onKeydown"]))}});var ElTooltipTrigger=_export_sfc(_sfc_main$2O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/trigger.vue"]]);const usePopperContainerId=()=>{const n=useGetDerivedNamespace(),t=useIdInjection(),r=computed(()=>`${n.value}-popper-container-${t.prefix}`),i=computed(()=>`#${r.value}`);return{id:r,selector:i}},createContainer=n=>{const t=document.createElement("div");return t.id=n,document.body.appendChild(t),t},usePopperContainer=()=>{const{id:n,selector:t}=usePopperContainerId();return onBeforeMount(()=>{isClient&&(document.body.querySelector(t.value)||createContainer(n.value))}),{id:n,selector:t}},unique=n=>[...new Set(n)],extractFirst=n=>isArray$5(n)?n[0]:n,castArray=n=>!n&&n!==0?[]:isArray$5(n)?n:[n],_sfc_main$2N=defineComponent({name:"ElTooltipContent",inheritAttrs:!1,__name:"content",props:useTooltipContentProps,setup(n,{expose:t}){const r=n,{selector:i}=usePopperContainerId(),g=useNamespace("tooltip"),$=ref(),V=computedEager(()=>{var jt;return(jt=$.value)==null?void 0:jt.popperContentRef});let re;const{controlled:ie,id:ae,open:oe,trigger:le,onClose:ue,onOpen:de,onShow:he,onHide:pe,onBeforeShow:_e,onBeforeHide:Ce}=inject(TOOLTIP_INJECTION_KEY,void 0),xe=computed(()=>r.transition||`${g.namespace.value}-fade-in-linear`),Ie=computed(()=>r.persistent);onBeforeUnmount(()=>{re==null||re()});const Ne=computed(()=>unref(Ie)?!0:unref(oe)),Oe=computed(()=>r.disabled?!1:unref(oe)),$e=computed(()=>r.appendTo||i.value),Ve=computed(()=>{var jt;return(jt=r.style)!=null?jt:{}}),Ue=ref(!0),Fe=()=>{pe(),Lt()&&focusElement(document.body,{preventScroll:!0}),Ue.value=!0},ze=()=>{if(unref(ie))return!0},Pt=composeEventHandlers(ze,()=>{r.enterable&&isTriggerType(unref(le),"hover")&&de()}),qe=composeEventHandlers(ze,()=>{isTriggerType(unref(le),"hover")&&ue()}),Et=()=>{var jt,hn;(hn=(jt=$.value)==null?void 0:jt.updatePopper)==null||hn.call(jt),_e==null||_e()},kt=()=>{Ce==null||Ce()},At=()=>{he()},Dt=()=>{r.virtualTriggering||ue()},Lt=jt=>{var hn;const vn=(hn=$.value)==null?void 0:hn.popperContentRef,_n=(jt==null?void 0:jt.relatedTarget)||document.activeElement;return vn==null?void 0:vn.contains(_n)};return watch(()=>unref(oe),jt=>{jt?(Ue.value=!1,re=onClickOutside(V,()=>{if(unref(ie))return;castArray(unref(le)).every(vn=>vn!=="hover"&&vn!=="focus")&&ue()},{detectIframe:!0})):re==null||re()},{flush:"post"}),watch(()=>r.content,()=>{var jt,hn;(hn=(jt=$.value)==null?void 0:jt.updatePopper)==null||hn.call(jt)}),t({contentRef:$,isFocusInsideContent:Lt}),(jt,hn)=>(openBlock(),createBlock(unref(ElTeleport),{disabled:!jt.teleported,to:$e.value},{default:withCtx(()=>[Ne.value||!Ue.value?(openBlock(),createBlock(Transition,{key:0,name:xe.value,appear:!Ie.value,onAfterLeave:Fe,onBeforeEnter:Et,onAfterEnter:At,onBeforeLeave:kt,persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(unref(ElPopperContent),mergeProps({id:unref(ae),ref_key:"contentRef",ref:$},jt.$attrs,{"aria-label":jt.ariaLabel,"aria-hidden":Ue.value,"boundaries-padding":jt.boundariesPadding,"fallback-placements":jt.fallbackPlacements,"gpu-acceleration":jt.gpuAcceleration,offset:jt.offset,placement:jt.placement,"popper-options":jt.popperOptions,"arrow-offset":jt.arrowOffset,strategy:jt.strategy,effect:jt.effect,enterable:jt.enterable,pure:jt.pure,"popper-class":jt.popperClass,"popper-style":[jt.popperStyle,Ve.value],"reference-el":jt.referenceEl,"trigger-target-el":jt.triggerTargetEl,visible:Oe.value,"z-index":jt.zIndex,loop:jt.loop,onMouseenter:unref(Pt),onMouseleave:unref(qe),onBlur:Dt,onClose:unref(ue)}),{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3},16,["id","aria-label","aria-hidden","boundaries-padding","fallback-placements","gpu-acceleration","offset","placement","popper-options","arrow-offset","strategy","effect","enterable","pure","popper-class","popper-style","reference-el","trigger-target-el","visible","z-index","loop","onMouseenter","onMouseleave","onClose"]),[[vShow,Oe.value]])]),_:3},8,["name","appear"])):createCommentVNode("v-if",!0)]),_:3},8,["disabled","to"]))}});var ElTooltipContent=_export_sfc(_sfc_main$2N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/content.vue"]]);const _hoisted_1$1B=["innerHTML"],_hoisted_2$Z={key:1},_sfc_main$2M=defineComponent({name:"ElTooltip",__name:"tooltip",props:useTooltipProps,emits:tooltipEmits,setup(n,{expose:t,emit:r}){const i=n,g=r;usePopperContainer();const $=useNamespace("tooltip"),V=useId(),re=ref(),ie=ref(),ae=()=>{var Ne;const Oe=unref(re);Oe&&((Ne=Oe.popperInstanceRef)==null||Ne.update())},oe=ref(!1),le=ref(),{show:ue,hide:de,hasUpdateHandler:he}=useTooltipModelToggle({indicator:oe,toggleReason:le}),{onOpen:pe,onClose:_e}=useDelayedToggle({showAfter:toRef$1(i,"showAfter"),hideAfter:toRef$1(i,"hideAfter"),autoClose:toRef$1(i,"autoClose"),open:ue,close:de}),Ce=computed(()=>isBoolean$1(i.visible)&&!he.value),xe=computed(()=>[$.b(),i.popperClass]);provide(TOOLTIP_INJECTION_KEY,{controlled:Ce,id:V,open:readonly(oe),trigger:toRef$1(i,"trigger"),onOpen:pe,onClose:_e,onToggle:Ne=>{unref(oe)?_e(Ne):pe(Ne)},onShow:()=>{g("show",le.value)},onHide:()=>{g("hide",le.value)},onBeforeShow:()=>{g("before-show",le.value)},onBeforeHide:()=>{g("before-hide",le.value)},updatePopper:ae}),watch(()=>i.disabled,Ne=>{Ne&&oe.value&&(oe.value=!1)});const Ie=Ne=>{var Oe;return(Oe=ie.value)==null?void 0:Oe.isFocusInsideContent(Ne)};return onDeactivated(()=>oe.value&&de()),onBeforeUnmount(()=>{le.value=void 0}),t({popperRef:re,contentRef:ie,isFocusInsideContent:Ie,updatePopper:ae,onOpen:pe,onClose:_e,hide:de}),(Ne,Oe)=>(openBlock(),createBlock(unref(ElPopper),{ref_key:"popperRef",ref:re,role:Ne.role},{default:withCtx(()=>[createVNode$1(ElTooltipTrigger,{disabled:Ne.disabled,trigger:Ne.trigger,"trigger-keys":Ne.triggerKeys,"virtual-ref":Ne.virtualRef,"virtual-triggering":Ne.virtualTriggering,"focus-on-target":Ne.focusOnTarget},{default:withCtx(()=>[Ne.$slots.default?renderSlot(Ne.$slots,"default",{key:0}):createCommentVNode("v-if",!0)]),_:3},8,["disabled","trigger","trigger-keys","virtual-ref","virtual-triggering","focus-on-target"]),createVNode$1(ElTooltipContent,{ref_key:"contentRef",ref:ie,"aria-label":Ne.ariaLabel,"boundaries-padding":Ne.boundariesPadding,content:Ne.content,disabled:Ne.disabled,effect:Ne.effect,enterable:Ne.enterable,"fallback-placements":Ne.fallbackPlacements,"hide-after":Ne.hideAfter,"gpu-acceleration":Ne.gpuAcceleration,offset:Ne.offset,persistent:Ne.persistent,"popper-class":xe.value,"popper-style":Ne.popperStyle,placement:Ne.placement,"popper-options":Ne.popperOptions,"arrow-offset":Ne.arrowOffset,pure:Ne.pure,"raw-content":Ne.rawContent,"reference-el":Ne.referenceEl,"trigger-target-el":Ne.triggerTargetEl,"show-after":Ne.showAfter,strategy:Ne.strategy,teleported:Ne.teleported,transition:Ne.transition,"virtual-triggering":Ne.virtualTriggering,"z-index":Ne.zIndex,"append-to":Ne.appendTo,loop:Ne.loop},{default:withCtx(()=>[renderSlot(Ne.$slots,"content",{},()=>[Ne.rawContent?(openBlock(),createElementBlock("span",{key:0,innerHTML:Ne.content},null,8,_hoisted_1$1B)):(openBlock(),createElementBlock("span",_hoisted_2$Z,toDisplayString(Ne.content),1))]),Ne.showArrow?(openBlock(),createBlock(unref(ElPopperArrow),{key:0})):createCommentVNode("v-if",!0)]),_:3},8,["aria-label","boundaries-padding","content","disabled","effect","enterable","fallback-placements","hide-after","gpu-acceleration","offset","persistent","popper-class","popper-style","placement","popper-options","arrow-offset","pure","raw-content","reference-el","trigger-target-el","show-after","strategy","teleported","transition","virtual-triggering","z-index","append-to","loop"])]),_:3},8,["role"]))}});var Tooltip=_export_sfc(_sfc_main$2M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tooltip/src/tooltip.vue"]]);const ElTooltip=withInstall(Tooltip),autocompleteProps=buildProps({...inputProps,valueKey:{type:String,default:"value"},modelValue:{type:[String,Number],default:""},debounce:{type:Number,default:300},placement:{type:definePropType(String),values:["top","top-start","top-end","bottom","bottom-start","bottom-end"],default:"bottom-start"},fetchSuggestions:{type:definePropType([Function,Array]),default:NOOP},popperClass:useTooltipContentProps.popperClass,popperStyle:useTooltipContentProps.popperStyle,triggerOnFocus:{type:Boolean,default:!0},selectWhenUnmatched:Boolean,hideLoading:Boolean,teleported:useTooltipContentProps.teleported,appendTo:useTooltipContentProps.appendTo,highlightFirstItem:Boolean,fitInputWidth:Boolean,loopNavigation:{type:Boolean,default:!0}}),autocompleteEmits={[UPDATE_MODEL_EVENT]:n=>isString$2(n)||isNumber$2(n),[INPUT_EVENT]:n=>isString$2(n)||isNumber$2(n),[CHANGE_EVENT]:n=>isString$2(n)||isNumber$2(n),focus:n=>n instanceof FocusEvent,blur:n=>n instanceof FocusEvent,clear:()=>!0,select:n=>isObject$6(n)},_hoisted_1$1A=["aria-expanded","aria-owns"],_hoisted_2$Y={key:0},_hoisted_3$q=["id","aria-selected","onClick"],COMPONENT_NAME$k="ElAutocomplete",_sfc_main$2L=defineComponent({name:COMPONENT_NAME$k,inheritAttrs:!1,__name:"autocomplete",props:autocompleteProps,emits:autocompleteEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=computed(()=>pick$1(i,Object.keys(inputProps))),V=useAttrs$1(),re=useFormDisabled(),ie=useNamespace("autocomplete"),ae=ref(),oe=ref(),le=ref(),ue=ref();let de=!1,he=!1;const pe=ref([]),_e=ref(-1),Ce=ref(""),xe=ref(!1),Ie=ref(!1),Ne=ref(!1),Oe=useId(),$e=computed(()=>V.style),Ve=computed(()=>(pe.value.length>0||Ne.value)&&xe.value),Ue=computed(()=>!i.hideLoading&&Ne.value),Fe=computed(()=>ae.value?Array.from(ae.value.$el.querySelectorAll("input")):[]),ze=()=>{Ve.value&&(Ce.value=`${ae.value.$el.offsetWidth}px`)},Pt=()=>{_e.value=-1},qe=async xn=>{if(Ie.value)return;const Ln=Nn=>{Ne.value=!1,!Ie.value&&(isArray$5(Nn)?(pe.value=Nn,_e.value=i.highlightFirstItem?0:-1):throwError$1(COMPONENT_NAME$k,"autocomplete suggestions must be an array"))};if(Ne.value=!0,isArray$5(i.fetchSuggestions))Ln(i.fetchSuggestions);else{const Nn=await i.fetchSuggestions(xn,Ln);isArray$5(Nn)&&Ln(Nn)}},Et=computed(()=>i.debounce),kt=useDebounceFn(qe,Et),At=xn=>{const Ln=!!xn;if(g(INPUT_EVENT,xn),g(UPDATE_MODEL_EVENT,xn),Ie.value=!1,xe.value||(xe.value=Ln),!i.triggerOnFocus&&!xn){Ie.value=!0,pe.value=[];return}kt(xn)},Dt=xn=>{var Ln;re.value||(((Ln=xn.target)==null?void 0:Ln.tagName)!=="INPUT"||Fe.value.includes(document.activeElement))&&(xe.value=!0)},Lt=xn=>{g(CHANGE_EVENT,xn)},jt=xn=>{var Ln;if(he)he=!1;else{xe.value=!0,g("focus",xn);const Nn=(Ln=i.modelValue)!=null?Ln:"";i.triggerOnFocus&&!de&&kt(String(Nn))}},hn=xn=>{setTimeout(()=>{var Ln;if((Ln=le.value)!=null&&Ln.isFocusInsideContent()){he=!0;return}xe.value&&bn(),g("blur",xn)})},vn=()=>{xe.value=!1,g(UPDATE_MODEL_EVENT,""),g("clear")},_n=async()=>{var xn;(xn=ae.value)!=null&&xn.isComposing||(Ve.value&&_e.value>=0&&_e.value{Ve.value&&(xn.preventDefault(),xn.stopPropagation(),bn())},bn=()=>{xe.value=!1},Cn=()=>{var xn;(xn=ae.value)==null||xn.focus()},Sn=()=>{var xn;(xn=ae.value)==null||xn.blur()},Tn=async xn=>{g(INPUT_EVENT,xn[i.valueKey]),g(UPDATE_MODEL_EVENT,xn[i.valueKey]),g("select",xn),pe.value=[],_e.value=-1},En=xn=>{var Ln,Nn;if(!Ve.value||Ne.value)return;if(xn<0){if(!i.loopNavigation){_e.value=-1;return}xn=pe.value.length-1}xn>=pe.value.length&&(xn=i.loopNavigation?0:pe.value.length-1);const[Pn,On]=kn(),Hn=On[xn],Xn=Pn.scrollTop,{offsetTop:In,scrollHeight:or}=Hn;In+or>Xn+Pn.clientHeight&&(Pn.scrollTop=In+or-Pn.clientHeight),In{const xn=oe.value.querySelector(`.${ie.be("suggestion","wrap")}`),Ln=xn.querySelectorAll(`.${ie.be("suggestion","list")} li`);return[xn,Ln]},$n=onClickOutside(ue,()=>{var xn;(xn=le.value)!=null&&xn.isFocusInsideContent()||Ve.value&&bn()}),An=xn=>{switch(getEventCode(xn)){case EVENT_CODE.up:xn.preventDefault(),En(_e.value-1);break;case EVENT_CODE.down:xn.preventDefault(),En(_e.value+1);break;case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:xn.preventDefault(),_n();break;case EVENT_CODE.tab:bn();break;case EVENT_CODE.esc:wn(xn);break;case EVENT_CODE.home:xn.preventDefault(),En(0);break;case EVENT_CODE.end:xn.preventDefault(),En(pe.value.length-1);break;case EVENT_CODE.pageUp:xn.preventDefault(),En(Math.max(0,_e.value-10));break;case EVENT_CODE.pageDown:xn.preventDefault(),En(Math.min(pe.value.length-1,_e.value+10));break}};return onBeforeUnmount(()=>{$n==null||$n()}),onMounted(()=>{var xn;const Ln=(xn=ae.value)==null?void 0:xn.ref;Ln&&([{key:"role",value:"textbox"},{key:"aria-autocomplete",value:"list"},{key:"aria-controls",value:Oe.value},{key:"aria-activedescendant",value:`${Oe.value}-item-${_e.value}`}].forEach(({key:Nn,value:Pn})=>Ln.setAttribute(Nn,Pn)),de=Ln.hasAttribute("readonly"))}),t({highlightedIndex:_e,activated:xe,loading:Ne,inputRef:ae,popperRef:le,suggestions:pe,handleSelect:Tn,handleKeyEnter:_n,focus:Cn,blur:Sn,close:bn,highlight:En,getData:qe}),(xn,Ln)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popperRef",ref:le,visible:Ve.value,placement:xn.placement,"fallback-placements":["bottom-start","top-start"],"popper-class":[unref(ie).e("popper"),xn.popperClass],"popper-style":xn.popperStyle,teleported:xn.teleported,"append-to":xn.appendTo,"gpu-acceleration":!1,pure:"","manual-mode":"",effect:"light",trigger:"click",transition:`${unref(ie).namespace.value}-zoom-in-top`,persistent:"",role:"listbox",onBeforeShow:ze,onHide:Pt},{content:withCtx(()=>[createBaseVNode("div",{ref_key:"regionRef",ref:oe,class:normalizeClass([unref(ie).b("suggestion"),unref(ie).is("loading",Ue.value)]),style:normalizeStyle$1({[xn.fitInputWidth?"width":"minWidth"]:Ce.value,outline:"none"}),role:"region"},[xn.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(ie).be("suggestion","header")),onClick:Ln[0]||(Ln[0]=withModifiers(()=>{},["stop"]))},[renderSlot(xn.$slots,"header")],2)):createCommentVNode("v-if",!0),createVNode$1(unref(ElScrollbar),{id:unref(Oe),tag:"ul","wrap-class":unref(ie).be("suggestion","wrap"),"view-class":unref(ie).be("suggestion","list"),role:"listbox"},{default:withCtx(()=>[Ue.value?(openBlock(),createElementBlock("li",_hoisted_2$Y,[renderSlot(xn.$slots,"loading",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(ie).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])])])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(pe.value,(Nn,Pn)=>(openBlock(),createElementBlock("li",{id:`${unref(Oe)}-item-${Pn}`,key:Pn,class:normalizeClass({highlighted:_e.value===Pn}),role:"option","aria-selected":_e.value===Pn,onClick:On=>Tn(Nn)},[renderSlot(xn.$slots,"default",{item:Nn},()=>[createTextVNode(toDisplayString(Nn[xn.valueKey]),1)])],10,_hoisted_3$q))),128))]),_:3},8,["id","wrap-class","view-class"]),xn.$slots.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ie).be("suggestion","footer")),onClick:Ln[1]||(Ln[1]=withModifiers(()=>{},["stop"]))},[renderSlot(xn.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6)]),default:withCtx(()=>[createBaseVNode("div",{ref_key:"listboxRef",ref:ue,class:normalizeClass([unref(ie).b(),xn.$attrs.class]),style:normalizeStyle$1($e.value),role:"combobox","aria-haspopup":"listbox","aria-expanded":Ve.value,"aria-owns":unref(Oe)},[createVNode$1(unref(ElInput),mergeProps({ref_key:"inputRef",ref:ae},mergeProps($.value,xn.$attrs),{"model-value":xn.modelValue,disabled:unref(re),onInput:At,onChange:Lt,onFocus:jt,onBlur:hn,onClear:vn,onKeydown:An,onMousedown:Dt}),createSlots({_:2},[xn.$slots.prepend?{name:"prepend",fn:withCtx(()=>[renderSlot(xn.$slots,"prepend")]),key:"0"}:void 0,xn.$slots.append?{name:"append",fn:withCtx(()=>[renderSlot(xn.$slots,"append")]),key:"1"}:void 0,xn.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(xn.$slots,"prefix")]),key:"2"}:void 0,xn.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(xn.$slots,"suffix")]),key:"3"}:void 0]),1040,["model-value","disabled"])],14,_hoisted_1$1A)]),_:3},8,["visible","placement","popper-class","popper-style","teleported","append-to","transition"]))}});var Autocomplete=_export_sfc(_sfc_main$2L,[["__file","/home/runner/work/element-plus/element-plus/packages/components/autocomplete/src/autocomplete.vue"]]);const ElAutocomplete=withInstall(Autocomplete),avatarProps=buildProps({size:{type:[Number,String],values:componentSizes,validator:n=>isNumber$2(n)},shape:{type:String,values:["circle","square"]},icon:{type:iconPropType},src:{type:String,default:""},alt:String,srcSet:String,fit:{type:definePropType(String),default:"cover"}}),avatarEmits={error:n=>n instanceof Event},avatarGroupContextKey=Symbol("avatarGroupContextKey"),_hoisted_1$1z=["src","alt","srcset"],_sfc_main$2K=defineComponent({name:"ElAvatar",__name:"avatar",props:avatarProps,emits:avatarEmits,setup(n,{emit:t}){const r=n,i=t,g=inject(avatarGroupContextKey,void 0),$=useNamespace("avatar"),V=ref(!1),re=computed(()=>{var de;return(de=r.size)!=null?de:g==null?void 0:g.size}),ie=computed(()=>{var de,he;return(he=(de=r.shape)!=null?de:g==null?void 0:g.shape)!=null?he:"circle"}),ae=computed(()=>{const{icon:de}=r,he=[$.b()];return isString$2(re.value)&&he.push($.m(re.value)),de&&he.push($.m("icon")),ie.value&&he.push($.m(ie.value)),he}),oe=computed(()=>isNumber$2(re.value)?$.cssVarBlock({size:addUnit(re.value)}):void 0),le=computed(()=>({objectFit:r.fit}));watch(()=>r.src,()=>V.value=!1);function ue(de){V.value=!0,i("error",de)}return(de,he)=>(openBlock(),createElementBlock("span",{class:normalizeClass(ae.value),style:normalizeStyle$1(oe.value)},[(de.src||de.srcSet)&&!V.value?(openBlock(),createElementBlock("img",{key:0,src:de.src,alt:de.alt,srcset:de.srcSet,style:normalizeStyle$1(le.value),onError:ue},null,44,_hoisted_1$1z)):de.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(de.icon)))]),_:1})):renderSlot(de.$slots,"default",{key:2})],6))}});var Avatar=_export_sfc(_sfc_main$2K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/avatar/src/avatar.vue"]]);const avatarGroupProps=buildProps({size:avatarProps.size,shape:avatarProps.shape,collapseAvatars:Boolean,collapseAvatarsTooltip:Boolean,maxCollapseAvatars:{type:Number,default:1},effect:{type:definePropType(String),default:"light"},placement:{type:definePropType(String),values:Ee,default:"top"},popperClass:useTooltipContentProps.popperClass,popperStyle:useTooltipContentProps.popperStyle,collapseClass:String,collapseStyle:{type:definePropType([String,Array,Object])}});var AvatarGroup=defineComponent({name:"ElAvatarGroup",props:avatarGroupProps,setup(n,{slots:t}){const r=useNamespace("avatar-group");return provide(avatarGroupContextKey,reactive({size:toRef$1(n,"size"),shape:toRef$1(n,"shape")})),()=>{var i,g;const $=flattedChildren((g=(i=t.default)==null?void 0:i.call(t))!=null?g:[]);let V=$;if(n.collapseAvatars&&$.length>n.maxCollapseAvatars){V=$.slice(0,n.maxCollapseAvatars);const ie=$.slice(n.maxCollapseAvatars);V.push(createVNode$1(ElTooltip,{popperClass:n.popperClass,popperStyle:n.popperStyle,placement:n.placement,effect:n.effect,disabled:!n.collapseAvatarsTooltip},{default:()=>createVNode$1(Avatar,{size:n.size,shape:n.shape,class:n.collapseClass,style:n.collapseStyle},{default:()=>[createTextVNode("+ "),ie.length]}),content:()=>createVNode$1("div",{class:r.e("collapse-avatars")},[ie.map((ae,oe)=>{var le;return isVNode(ae)?cloneVNode(ae,{key:(le=ae.key)!=null?le:oe}):ae})])}))}return createVNode$1("div",{class:r.b()},[V])}}});const ElAvatar=withInstall(Avatar,{AvatarGroup}),ElAvatarGroup=withNoopInstall(AvatarGroup),backtopProps={visibilityHeight:{type:Number,default:200},target:{type:String,default:""},right:{type:Number,default:40},bottom:{type:Number,default:40}},backtopEmits={click:n=>n instanceof MouseEvent},useBackTop=(n,t,r)=>{const i=shallowRef(),g=shallowRef(),$=ref(!1),V=()=>{i.value&&($.value=i.value.scrollTop>=n.visibilityHeight)},re=ae=>{var oe;(oe=i.value)==null||oe.scrollTo({top:0,behavior:"smooth"}),t("click",ae)},ie=useThrottleFn(V,300,!0);return useEventListener(g,"scroll",ie),onMounted(()=>{var ae;g.value=document,i.value=document.documentElement,n.target&&(i.value=(ae=document.querySelector(n.target))!=null?ae:void 0,i.value||throwError$1(r,`target does not exist: ${n.target}`),g.value=i.value),V()}),{visible:$,handleClick:re}},COMPONENT_NAME$j="ElBacktop",_sfc_main$2J=defineComponent({name:COMPONENT_NAME$j,__name:"backtop",props:backtopProps,emits:backtopEmits,setup(n,{emit:t}){const r=n,i=t,g=useNamespace("backtop"),{handleClick:$,visible:V}=useBackTop(r,i,COMPONENT_NAME$j),re=computed(()=>({right:`${r.right}px`,bottom:`${r.bottom}px`}));return(ie,ae)=>(openBlock(),createBlock(Transition,{name:`${unref(g).namespace.value}-fade-in`},{default:withCtx(()=>[unref(V)?(openBlock(),createElementBlock("div",{key:0,style:normalizeStyle$1(re.value),class:normalizeClass(unref(g).b()),onClick:ae[0]||(ae[0]=withModifiers((...oe)=>unref($)&&unref($)(...oe),["stop"]))},[renderSlot(ie.$slots,"default",{},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(g).e("icon"))},{default:withCtx(()=>[createVNode$1(unref(caret_top_default))]),_:1},8,["class"])])],6)):createCommentVNode("v-if",!0)]),_:3},8,["name"]))}});var Backtop=_export_sfc(_sfc_main$2J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/backtop/src/backtop.vue"]]);const ElBacktop=withInstall(Backtop),badgeProps=buildProps({value:{type:[String,Number],default:""},max:{type:Number,default:99},isDot:Boolean,hidden:Boolean,type:{type:String,values:["primary","success","warning","info","danger"],default:"danger"},showZero:{type:Boolean,default:!0},color:String,badgeStyle:{type:definePropType([String,Object,Array])},offset:{type:definePropType(Array),default:[0,0]},badgeClass:{type:String}}),_sfc_main$2I=defineComponent({name:"ElBadge",__name:"badge",props:badgeProps,setup(n,{expose:t}){const r=n,i=useNamespace("badge"),g=computed(()=>r.isDot?"":isNumber$2(r.value)&&isNumber$2(r.max)?r.max{var V;return[{backgroundColor:r.color,marginRight:addUnit(-r.offset[0]),marginTop:addUnit(r.offset[1])},(V=r.badgeStyle)!=null?V:{}]});return t({content:g}),(V,re)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(i).b())},[renderSlot(V.$slots,"default"),createVNode$1(Transition,{name:`${unref(i).namespace.value}-zoom-in-center`,persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("sup",{class:normalizeClass([unref(i).e("content"),unref(i).em("content",V.type),unref(i).is("fixed",!!V.$slots.default),unref(i).is("dot",V.isDot),unref(i).is("hide-zero",!V.showZero&&V.value===0),V.badgeClass]),style:normalizeStyle$1($.value)},[renderSlot(V.$slots,"content",{value:g.value},()=>[createTextVNode(toDisplayString(g.value),1)])],6),[[vShow,!V.hidden&&(g.value||V.isDot||V.$slots.content)]])]),_:3},8,["name"])],2))}});var Badge=_export_sfc(_sfc_main$2I,[["__file","/home/runner/work/element-plus/element-plus/packages/components/badge/src/badge.vue"]]);const ElBadge=withInstall(Badge),breadcrumbKey=Symbol("breadcrumbKey"),breadcrumbProps=buildProps({separator:{type:String,default:"/"},separatorIcon:{type:iconPropType}}),_hoisted_1$1y=["aria-label"],_sfc_main$2H=defineComponent({name:"ElBreadcrumb",__name:"breadcrumb",props:breadcrumbProps,setup(n){const{t}=useLocale(),r=n,i=useNamespace("breadcrumb"),g=ref();return provide(breadcrumbKey,r),onMounted(()=>{const $=g.value.querySelectorAll(`.${i.e("item")}`);$.length&&$[$.length-1].setAttribute("aria-current","page")}),($,V)=>(openBlock(),createElementBlock("div",{ref_key:"breadcrumb",ref:g,class:normalizeClass(unref(i).b()),"aria-label":unref(t)("el.breadcrumb.label"),role:"navigation"},[renderSlot($.$slots,"default")],10,_hoisted_1$1y))}});var Breadcrumb=_export_sfc(_sfc_main$2H,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb.vue"]]);const breadcrumbItemProps=buildProps({to:{type:definePropType([String,Object]),default:""},replace:Boolean}),_sfc_main$2G=defineComponent({name:"ElBreadcrumbItem",__name:"breadcrumb-item",props:breadcrumbItemProps,setup(n){const t=n,r=getCurrentInstance(),i=inject(breadcrumbKey,void 0),g=useNamespace("breadcrumb"),$=r.appContext.config.globalProperties.$router,V=()=>{!t.to||!$||(t.replace?$.replace(t.to):$.push(t.to))};return(re,ie)=>{var ae,oe;return openBlock(),createElementBlock("span",{class:normalizeClass(unref(g).e("item"))},[createBaseVNode("span",{class:normalizeClass([unref(g).e("inner"),unref(g).is("link",!!re.to)]),role:"link",onClick:V},[renderSlot(re.$slots,"default")],2),(ae=unref(i))!=null&&ae.separatorIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(g).e("separator"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(unref(i).separatorIcon)))]),_:1},8,["class"])):(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref(g).e("separator")),role:"presentation"},toDisplayString((oe=unref(i))==null?void 0:oe.separator),3))],2)}}});var BreadcrumbItem=_export_sfc(_sfc_main$2G,[["__file","/home/runner/work/element-plus/element-plus/packages/components/breadcrumb/src/breadcrumb-item.vue"]]);const ElBreadcrumb=withInstall(Breadcrumb,{BreadcrumbItem}),ElBreadcrumbItem=withNoopInstall(BreadcrumbItem),buttonGroupContextKey=Symbol("buttonGroupContextKey"),useDeprecated=({from:n,replacement:t,scope:r,version:i,ref:g,type:$="API"},V)=>{watch(()=>unref(V),re=>{},{immediate:!0})},useButton=(n,t)=>{useDeprecated({from:"type.text",replacement:"link",version:"3.0.0",scope:"props",ref:"https://element-plus.org/en-US/component/button.html#button-attributes"},computed(()=>n.type==="text"));const r=inject(buttonGroupContextKey,void 0),i=useGlobalConfig("button"),{form:g}=useFormItem(),$=useFormSize(computed(()=>r==null?void 0:r.size)),V=useFormDisabled(),re=ref(),ie=useSlots(),ae=computed(()=>{var Ce;return n.type||(r==null?void 0:r.type)||((Ce=i.value)==null?void 0:Ce.type)||""}),oe=computed(()=>{var Ce,xe,Ie;return(Ie=(xe=n.autoInsertSpace)!=null?xe:(Ce=i.value)==null?void 0:Ce.autoInsertSpace)!=null?Ie:!1}),le=computed(()=>{var Ce,xe,Ie;return(Ie=(xe=n.plain)!=null?xe:(Ce=i.value)==null?void 0:Ce.plain)!=null?Ie:!1}),ue=computed(()=>{var Ce,xe,Ie;return(Ie=(xe=n.round)!=null?xe:(Ce=i.value)==null?void 0:Ce.round)!=null?Ie:!1}),de=computed(()=>{var Ce,xe,Ie;return(Ie=(xe=n.text)!=null?xe:(Ce=i.value)==null?void 0:Ce.text)!=null?Ie:!1}),he=computed(()=>n.tag==="button"?{ariaDisabled:V.value||n.loading,disabled:V.value||n.loading,autofocus:n.autofocus,type:n.nativeType}:{}),pe=computed(()=>{var Ce;const xe=(Ce=ie.default)==null?void 0:Ce.call(ie);if(oe.value&&(xe==null?void 0:xe.length)===1){const Ie=xe[0];if((Ie==null?void 0:Ie.type)===Text$1){const Ne=Ie.children;return/^\p{Unified_Ideograph}{2}$/u.test(Ne.trim())}}return!1});return{_disabled:V,_size:$,_type:ae,_ref:re,_props:he,_plain:le,_round:ue,_text:de,shouldAddSpace:pe,handleClick:Ce=>{if(V.value||n.loading){Ce.stopPropagation();return}n.nativeType==="reset"&&(g==null||g.resetFields()),t("click",Ce)}}},buttonTypes=["default","primary","success","warning","info","danger","text",""],buttonNativeTypes=["button","submit","reset"],buttonProps=buildProps({size:useSizeProp,disabled:{type:Boolean,default:void 0},type:{type:String,values:buttonTypes,default:""},icon:{type:iconPropType},nativeType:{type:String,values:buttonNativeTypes,default:"button"},loading:Boolean,loadingIcon:{type:iconPropType,default:()=>loading_default},plain:{type:Boolean,default:void 0},text:{type:Boolean,default:void 0},link:Boolean,bg:Boolean,autofocus:Boolean,round:{type:Boolean,default:void 0},circle:Boolean,color:String,dark:Boolean,autoInsertSpace:{type:Boolean,default:void 0},tag:{type:definePropType([String,Object]),default:"button"}}),buttonEmits={click:n=>n instanceof MouseEvent};function bound01(n,t){isOnePointZero(n)&&(n="100%");var r=isPercentage(n);return n=t===360?n:Math.min(t,Math.max(0,parseFloat(n))),r&&(n=parseInt(String(n*t),10)/100),Math.abs(n-t)<1e-6?1:(t===360?n=(n<0?n%t+t:n%t)/parseFloat(String(t)):n=n%t/parseFloat(String(t)),n)}function clamp01(n){return Math.min(1,Math.max(0,n))}function isOnePointZero(n){return typeof n=="string"&&n.indexOf(".")!==-1&&parseFloat(n)===1}function isPercentage(n){return typeof n=="string"&&n.indexOf("%")!==-1}function boundAlpha(n){return n=parseFloat(n),(isNaN(n)||n<0||n>1)&&(n=1),n}function convertToPercentage(n){return n<=1?"".concat(Number(n)*100,"%"):n}function pad2(n){return n.length===1?"0"+n:String(n)}function rgbToRgb(n,t,r){return{r:bound01(n,255)*255,g:bound01(t,255)*255,b:bound01(r,255)*255}}function rgbToHsl(n,t,r){n=bound01(n,255),t=bound01(t,255),r=bound01(r,255);var i=Math.max(n,t,r),g=Math.min(n,t,r),$=0,V=0,re=(i+g)/2;if(i===g)V=0,$=0;else{var ie=i-g;switch(V=re>.5?ie/(2-i-g):ie/(i+g),i){case n:$=(t-r)/ie+(t1&&(r-=1),r<1/6?n+(t-n)*(6*r):r<1/2?t:r<2/3?n+(t-n)*(2/3-r)*6:n}function hslToRgb(n,t,r){var i,g,$;if(n=bound01(n,360),t=bound01(t,100),r=bound01(r,100),t===0)g=r,$=r,i=r;else{var V=r<.5?r*(1+t):r+t-r*t,re=2*r-V;i=hue2rgb$1(re,V,n+1/3),g=hue2rgb$1(re,V,n),$=hue2rgb$1(re,V,n-1/3)}return{r:i*255,g:g*255,b:$*255}}function rgbToHsv(n,t,r){n=bound01(n,255),t=bound01(t,255),r=bound01(r,255);var i=Math.max(n,t,r),g=Math.min(n,t,r),$=0,V=i,re=i-g,ie=i===0?0:re/i;if(i===g)$=0;else{switch(i){case n:$=(t-r)/re+(t>16,g:(n&65280)>>8,b:n&255}}var names={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 inputToRGB(n){var t={r:0,g:0,b:0},r=1,i=null,g=null,$=null,V=!1,re=!1;return typeof n=="string"&&(n=stringInputToObject(n)),typeof n=="object"&&(isValidCSSUnit(n.r)&&isValidCSSUnit(n.g)&&isValidCSSUnit(n.b)?(t=rgbToRgb(n.r,n.g,n.b),V=!0,re=String(n.r).substr(-1)==="%"?"prgb":"rgb"):isValidCSSUnit(n.h)&&isValidCSSUnit(n.s)&&isValidCSSUnit(n.v)?(i=convertToPercentage(n.s),g=convertToPercentage(n.v),t=hsvToRgb(n.h,i,g),V=!0,re="hsv"):isValidCSSUnit(n.h)&&isValidCSSUnit(n.s)&&isValidCSSUnit(n.l)&&(i=convertToPercentage(n.s),$=convertToPercentage(n.l),t=hslToRgb(n.h,i,$),V=!0,re="hsl"),Object.prototype.hasOwnProperty.call(n,"a")&&(r=n.a)),r=boundAlpha(r),{ok:V,format:n.format||re,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:r}}var CSS_INTEGER="[-\\+]?\\d+%?",CSS_NUMBER="[-\\+]?\\d*\\.\\d+%?",CSS_UNIT="(?:".concat(CSS_NUMBER,")|(?:").concat(CSS_INTEGER,")"),PERMISSIVE_MATCH3="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),PERMISSIVE_MATCH4="[\\s|\\(]+(".concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")[,|\\s]+(").concat(CSS_UNIT,")\\s*\\)?"),matchers={CSS_UNIT:new RegExp(CSS_UNIT),rgb:new RegExp("rgb"+PERMISSIVE_MATCH3),rgba:new RegExp("rgba"+PERMISSIVE_MATCH4),hsl:new RegExp("hsl"+PERMISSIVE_MATCH3),hsla:new RegExp("hsla"+PERMISSIVE_MATCH4),hsv:new RegExp("hsv"+PERMISSIVE_MATCH3),hsva:new RegExp("hsva"+PERMISSIVE_MATCH4),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 stringInputToObject(n){if(n=n.trim().toLowerCase(),n.length===0)return!1;var t=!1;if(names[n])n=names[n],t=!0;else if(n==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var r=matchers.rgb.exec(n);return r?{r:r[1],g:r[2],b:r[3]}:(r=matchers.rgba.exec(n),r?{r:r[1],g:r[2],b:r[3],a:r[4]}:(r=matchers.hsl.exec(n),r?{h:r[1],s:r[2],l:r[3]}:(r=matchers.hsla.exec(n),r?{h:r[1],s:r[2],l:r[3],a:r[4]}:(r=matchers.hsv.exec(n),r?{h:r[1],s:r[2],v:r[3]}:(r=matchers.hsva.exec(n),r?{h:r[1],s:r[2],v:r[3],a:r[4]}:(r=matchers.hex8.exec(n),r?{r:parseIntFromHex(r[1]),g:parseIntFromHex(r[2]),b:parseIntFromHex(r[3]),a:convertHexToDecimal(r[4]),format:t?"name":"hex8"}:(r=matchers.hex6.exec(n),r?{r:parseIntFromHex(r[1]),g:parseIntFromHex(r[2]),b:parseIntFromHex(r[3]),format:t?"name":"hex"}:(r=matchers.hex4.exec(n),r?{r:parseIntFromHex(r[1]+r[1]),g:parseIntFromHex(r[2]+r[2]),b:parseIntFromHex(r[3]+r[3]),a:convertHexToDecimal(r[4]+r[4]),format:t?"name":"hex8"}:(r=matchers.hex3.exec(n),r?{r:parseIntFromHex(r[1]+r[1]),g:parseIntFromHex(r[2]+r[2]),b:parseIntFromHex(r[3]+r[3]),format:t?"name":"hex"}:!1)))))))))}function isValidCSSUnit(n){return!!matchers.CSS_UNIT.exec(String(n))}var TinyColor=function(){function n(t,r){t===void 0&&(t=""),r===void 0&&(r={});var i;if(t instanceof n)return t;typeof t=="number"&&(t=numberInputToObject(t)),this.originalInput=t;var g=inputToRGB(t);this.originalInput=t,this.r=g.r,this.g=g.g,this.b=g.b,this.a=g.a,this.roundA=Math.round(100*this.a)/100,this.format=(i=r.format)!==null&&i!==void 0?i:g.format,this.gradientType=r.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=g.ok}return n.prototype.isDark=function(){return this.getBrightness()<128},n.prototype.isLight=function(){return!this.isDark()},n.prototype.getBrightness=function(){var t=this.toRgb();return(t.r*299+t.g*587+t.b*114)/1e3},n.prototype.getLuminance=function(){var t=this.toRgb(),r,i,g,$=t.r/255,V=t.g/255,re=t.b/255;return $<=.03928?r=$/12.92:r=Math.pow(($+.055)/1.055,2.4),V<=.03928?i=V/12.92:i=Math.pow((V+.055)/1.055,2.4),re<=.03928?g=re/12.92:g=Math.pow((re+.055)/1.055,2.4),.2126*r+.7152*i+.0722*g},n.prototype.getAlpha=function(){return this.a},n.prototype.setAlpha=function(t){return this.a=boundAlpha(t),this.roundA=Math.round(100*this.a)/100,this},n.prototype.isMonochrome=function(){var t=this.toHsl().s;return t===0},n.prototype.toHsv=function(){var t=rgbToHsv(this.r,this.g,this.b);return{h:t.h*360,s:t.s,v:t.v,a:this.a}},n.prototype.toHsvString=function(){var t=rgbToHsv(this.r,this.g,this.b),r=Math.round(t.h*360),i=Math.round(t.s*100),g=Math.round(t.v*100);return this.a===1?"hsv(".concat(r,", ").concat(i,"%, ").concat(g,"%)"):"hsva(".concat(r,", ").concat(i,"%, ").concat(g,"%, ").concat(this.roundA,")")},n.prototype.toHsl=function(){var t=rgbToHsl(this.r,this.g,this.b);return{h:t.h*360,s:t.s,l:t.l,a:this.a}},n.prototype.toHslString=function(){var t=rgbToHsl(this.r,this.g,this.b),r=Math.round(t.h*360),i=Math.round(t.s*100),g=Math.round(t.l*100);return this.a===1?"hsl(".concat(r,", ").concat(i,"%, ").concat(g,"%)"):"hsla(".concat(r,", ").concat(i,"%, ").concat(g,"%, ").concat(this.roundA,")")},n.prototype.toHex=function(t){return t===void 0&&(t=!1),rgbToHex(this.r,this.g,this.b,t)},n.prototype.toHexString=function(t){return t===void 0&&(t=!1),"#"+this.toHex(t)},n.prototype.toHex8=function(t){return t===void 0&&(t=!1),rgbaToHex(this.r,this.g,this.b,this.a,t)},n.prototype.toHex8String=function(t){return t===void 0&&(t=!1),"#"+this.toHex8(t)},n.prototype.toHexShortString=function(t){return t===void 0&&(t=!1),this.a===1?this.toHexString(t):this.toHex8String(t)},n.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},n.prototype.toRgbString=function(){var t=Math.round(this.r),r=Math.round(this.g),i=Math.round(this.b);return this.a===1?"rgb(".concat(t,", ").concat(r,", ").concat(i,")"):"rgba(".concat(t,", ").concat(r,", ").concat(i,", ").concat(this.roundA,")")},n.prototype.toPercentageRgb=function(){var t=function(r){return"".concat(Math.round(bound01(r,255)*100),"%")};return{r:t(this.r),g:t(this.g),b:t(this.b),a:this.a}},n.prototype.toPercentageRgbString=function(){var t=function(r){return Math.round(bound01(r,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,")")},n.prototype.toName=function(){if(this.a===0)return"transparent";if(this.a<1)return!1;for(var t="#"+rgbToHex(this.r,this.g,this.b,!1),r=0,i=Object.entries(names);r=0,$=!r&&g&&(t.startsWith("hex")||t==="name");return $?t==="name"&&this.a===0?this.toName():this.toRgbString():(t==="rgb"&&(i=this.toRgbString()),t==="prgb"&&(i=this.toPercentageRgbString()),(t==="hex"||t==="hex6")&&(i=this.toHexString()),t==="hex3"&&(i=this.toHexString(!0)),t==="hex4"&&(i=this.toHex8String(!0)),t==="hex8"&&(i=this.toHex8String()),t==="name"&&(i=this.toName()),t==="hsl"&&(i=this.toHslString()),t==="hsv"&&(i=this.toHsvString()),i||this.toHexString())},n.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},n.prototype.clone=function(){return new n(this.toString())},n.prototype.lighten=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l+=t/100,r.l=clamp01(r.l),new n(r)},n.prototype.brighten=function(t){t===void 0&&(t=10);var r=this.toRgb();return r.r=Math.max(0,Math.min(255,r.r-Math.round(255*-(t/100)))),r.g=Math.max(0,Math.min(255,r.g-Math.round(255*-(t/100)))),r.b=Math.max(0,Math.min(255,r.b-Math.round(255*-(t/100)))),new n(r)},n.prototype.darken=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.l-=t/100,r.l=clamp01(r.l),new n(r)},n.prototype.tint=function(t){return t===void 0&&(t=10),this.mix("white",t)},n.prototype.shade=function(t){return t===void 0&&(t=10),this.mix("black",t)},n.prototype.desaturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s-=t/100,r.s=clamp01(r.s),new n(r)},n.prototype.saturate=function(t){t===void 0&&(t=10);var r=this.toHsl();return r.s+=t/100,r.s=clamp01(r.s),new n(r)},n.prototype.greyscale=function(){return this.desaturate(100)},n.prototype.spin=function(t){var r=this.toHsl(),i=(r.h+t)%360;return r.h=i<0?360+i:i,new n(r)},n.prototype.mix=function(t,r){r===void 0&&(r=50);var i=this.toRgb(),g=new n(t).toRgb(),$=r/100,V={r:(g.r-i.r)*$+i.r,g:(g.g-i.g)*$+i.g,b:(g.b-i.b)*$+i.b,a:(g.a-i.a)*$+i.a};return new n(V)},n.prototype.analogous=function(t,r){t===void 0&&(t=6),r===void 0&&(r=30);var i=this.toHsl(),g=360/r,$=[this];for(i.h=(i.h-(g*t>>1)+720)%360;--t;)i.h=(i.h+g)%360,$.push(new n(i));return $},n.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new n(t)},n.prototype.monochromatic=function(t){t===void 0&&(t=6);for(var r=this.toHsv(),i=r.h,g=r.s,$=r.v,V=[],re=1/t;t--;)V.push(new n({h:i,s:g,v:$})),$=($+re)%1;return V},n.prototype.splitcomplement=function(){var t=this.toHsl(),r=t.h;return[this,new n({h:(r+72)%360,s:t.s,l:t.l}),new n({h:(r+216)%360,s:t.s,l:t.l})]},n.prototype.onBackground=function(t){var r=this.toRgb(),i=new n(t).toRgb(),g=r.a+i.a*(1-r.a);return new n({r:(r.r*r.a+i.r*i.a*(1-r.a))/g,g:(r.g*r.a+i.g*i.a*(1-r.a))/g,b:(r.b*r.a+i.b*i.a*(1-r.a))/g,a:g})},n.prototype.triad=function(){return this.polyad(3)},n.prototype.tetrad=function(){return this.polyad(4)},n.prototype.polyad=function(t){for(var r=this.toHsl(),i=r.h,g=[this],$=360/t,V=1;V{let i={},g=n.color;if(g){const $=g.match(/var\((.*?)\)/);$&&(g=window.getComputedStyle(window.document.documentElement).getPropertyValue($[1]));const V=new TinyColor(g),re=n.dark?V.tint(20).toString():darken(V,20);if(n.plain)i=r.cssVarBlock({"bg-color":n.dark?darken(V,90):V.tint(90).toString(),"text-color":g,"border-color":n.dark?darken(V,50):V.tint(50).toString(),"hover-text-color":`var(${r.cssVarName("color-white")})`,"hover-bg-color":g,"hover-border-color":g,"active-bg-color":re,"active-text-color":`var(${r.cssVarName("color-white")})`,"active-border-color":re}),t.value&&(i[r.cssVarBlockName("disabled-bg-color")]=n.dark?darken(V,90):V.tint(90).toString(),i[r.cssVarBlockName("disabled-text-color")]=n.dark?darken(V,50):V.tint(50).toString(),i[r.cssVarBlockName("disabled-border-color")]=n.dark?darken(V,80):V.tint(80).toString());else{const ie=n.dark?darken(V,30):V.tint(30).toString(),ae=V.isDark()?`var(${r.cssVarName("color-white")})`:`var(${r.cssVarName("color-black")})`;if(i=r.cssVarBlock({"bg-color":g,"text-color":ae,"border-color":g,"hover-bg-color":ie,"hover-text-color":ae,"hover-border-color":ie,"active-bg-color":re,"active-border-color":re}),t.value){const oe=n.dark?darken(V,50):V.tint(50).toString();i[r.cssVarBlockName("disabled-bg-color")]=oe,i[r.cssVarBlockName("disabled-text-color")]=n.dark?"rgba(255, 255, 255, 0.5)":`var(${r.cssVarName("color-white")})`,i[r.cssVarBlockName("disabled-border-color")]=oe}}}return i})}const _sfc_main$2F=defineComponent({name:"ElButton",__name:"button",props:buttonProps,emits:buttonEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useButtonCustomStyle(i),V=useNamespace("button"),{_ref:re,_size:ie,_type:ae,_disabled:oe,_props:le,_plain:ue,_round:de,_text:he,shouldAddSpace:pe,handleClick:_e}=useButton(i,g),Ce=computed(()=>[V.b(),V.m(ae.value),V.m(ie.value),V.is("disabled",oe.value),V.is("loading",i.loading),V.is("plain",ue.value),V.is("round",de.value),V.is("circle",i.circle),V.is("text",he.value),V.is("link",i.link),V.is("has-bg",i.bg)]);return t({ref:re,size:ie,type:ae,disabled:oe,shouldAddSpace:pe}),(xe,Ie)=>(openBlock(),createBlock(resolveDynamicComponent(xe.tag),mergeProps({ref_key:"_ref",ref:re},unref(le),{class:Ce.value,style:unref($),onClick:unref(_e)}),{default:withCtx(()=>[xe.loading?(openBlock(),createElementBlock(Fragment,{key:0},[xe.$slots.loading?renderSlot(xe.$slots,"loading",{key:0}):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(unref(V).is("loading"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.loadingIcon)))]),_:1},8,["class"]))],64)):xe.icon||xe.$slots.icon?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[xe.icon?(openBlock(),createBlock(resolveDynamicComponent(xe.icon),{key:0})):renderSlot(xe.$slots,"icon",{key:1})]),_:3})):createCommentVNode("v-if",!0),xe.$slots.default?(openBlock(),createElementBlock("span",{key:2,class:normalizeClass({[unref(V).em("text","expand")]:unref(pe)})},[renderSlot(xe.$slots,"default")],2)):createCommentVNode("v-if",!0)]),_:3},16,["class","style","onClick"]))}});var Button=_export_sfc(_sfc_main$2F,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button.vue"]]);const buttonGroupProps={size:buttonProps.size,type:buttonProps.type,direction:{type:definePropType(String),values:["horizontal","vertical"],default:"horizontal"}},_sfc_main$2E=defineComponent({name:"ElButtonGroup",__name:"button-group",props:buttonGroupProps,setup(n){const t=n;provide(buttonGroupContextKey,reactive({size:toRef$1(t,"size"),type:toRef$1(t,"type")}));const r=useNamespace("button");return(i,g)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).b("group"),unref(r).bm("group",t.direction)])},[renderSlot(i.$slots,"default")],2))}});var ButtonGroup=_export_sfc(_sfc_main$2E,[["__file","/home/runner/work/element-plus/element-plus/packages/components/button/src/button-group.vue"]]);const ElButton=withInstall(Button,{ButtonGroup}),ElButtonGroup$1=withNoopInstall(ButtonGroup);var commonjsGlobal=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function getDefaultExportFromCjs(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}var dayjs_min={exports:{}};(function(n,t){(function(r,i){n.exports=i()})(commonjsGlobal,function(){var r=1e3,i=6e4,g=36e5,$="millisecond",V="second",re="minute",ie="hour",ae="day",oe="week",le="month",ue="quarter",de="year",he="date",pe="Invalid Date",_e=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,Ce=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,xe={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(kt){var At=["th","st","nd","rd"],Dt=kt%100;return"["+kt+(At[(Dt-20)%10]||At[Dt]||At[0])+"]"}},Ie=function(kt,At,Dt){var Lt=String(kt);return!Lt||Lt.length>=At?kt:""+Array(At+1-Lt.length).join(Dt)+kt},Ne={s:Ie,z:function(kt){var At=-kt.utcOffset(),Dt=Math.abs(At),Lt=Math.floor(Dt/60),jt=Dt%60;return(At<=0?"+":"-")+Ie(Lt,2,"0")+":"+Ie(jt,2,"0")},m:function kt(At,Dt){if(At.date()1)return kt(vn[0])}else{var _n=At.name;$e[_n]=At,jt=_n}return!Lt&&jt&&(Oe=jt),jt||!Lt&&Oe},ze=function(kt,At){if(Ue(kt))return kt.clone();var Dt=typeof At=="object"?At:{};return Dt.date=kt,Dt.args=arguments,new qe(Dt)},Pt=Ne;Pt.l=Fe,Pt.i=Ue,Pt.w=function(kt,At){return ze(kt,{locale:At.$L,utc:At.$u,x:At.$x,$offset:At.$offset})};var qe=function(){function kt(Dt){this.$L=Fe(Dt.locale,null,!0),this.parse(Dt),this.$x=this.$x||Dt.x||{},this[Ve]=!0}var At=kt.prototype;return At.parse=function(Dt){this.$d=function(Lt){var jt=Lt.date,hn=Lt.utc;if(jt===null)return new Date(NaN);if(Pt.u(jt))return new Date;if(jt instanceof Date)return new Date(jt);if(typeof jt=="string"&&!/Z$/i.test(jt)){var vn=jt.match(_e);if(vn){var _n=vn[2]-1||0,wn=(vn[7]||"0").substring(0,3);return hn?new Date(Date.UTC(vn[1],_n,vn[3]||1,vn[4]||0,vn[5]||0,vn[6]||0,wn)):new Date(vn[1],_n,vn[3]||1,vn[4]||0,vn[5]||0,vn[6]||0,wn)}}return new Date(jt)}(Dt),this.init()},At.init=function(){var Dt=this.$d;this.$y=Dt.getFullYear(),this.$M=Dt.getMonth(),this.$D=Dt.getDate(),this.$W=Dt.getDay(),this.$H=Dt.getHours(),this.$m=Dt.getMinutes(),this.$s=Dt.getSeconds(),this.$ms=Dt.getMilliseconds()},At.$utils=function(){return Pt},At.isValid=function(){return this.$d.toString()!==pe},At.isSame=function(Dt,Lt){var jt=ze(Dt);return this.startOf(Lt)<=jt&&jt<=this.endOf(Lt)},At.isAfter=function(Dt,Lt){return ze(Dt)[n>0?n-1:void 0,n,nArray.from(Array.from({length:n}).keys()),extractDateFormat=n=>n.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim(),extractTimeFormat=n=>n.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?Y{2,4}/g,"").trim(),dateEquals=function(n,t){const r=isDate$1(n),i=isDate$1(t);return r&&i?n.getTime()===t.getTime():!r&&!i?n===t:!1},valueEquals=function(n,t){const r=isArray$5(n),i=isArray$5(t);return r&&i?n.length!==t.length?!1:n.every((g,$)=>dateEquals(g,t[$])):!r&&!i?dateEquals(n,t):!1},parseDate$1=function(n,t,r){const i=isEmpty(t)||t==="x"?dayjs(n).locale(r):dayjs(n,t).locale(r);return i.isValid()?i:void 0},formatter=function(n,t,r){return isEmpty(t)?n:t==="x"?+n:dayjs(n).locale(r).format(t)},makeList=(n,t)=>{var r;const i=[],g=t==null?void 0:t();for(let $=0;$isArray$5(n)?n.map(t=>t.toDate()):n.toDate(),getPrevMonthLastDays=(n,t)=>{const r=n.subtract(1,"month").endOf("month").date();return rangeArr(t).map((i,g)=>r-(t-g-1))},getMonthDays=n=>{const t=n.daysInMonth();return rangeArr(t).map((r,i)=>i+1)},toNestedArr=n=>rangeArr(n.length/7).map(t=>{const r=t*7;return n.slice(r,r+7)}),dateTableProps=buildProps({selectedDay:{type:definePropType(Object)},range:{type:definePropType(Array)},date:{type:definePropType(Object),required:!0},hideHeader:{type:Boolean}}),dateTableEmits={pick:n=>isObject$6(n)};var localeData$1={exports:{}};(function(n,t){(function(r,i){n.exports=i()})(commonjsGlobal,function(){return function(r,i,g){var $=i.prototype,V=function(le){return le&&(le.indexOf?le:le.s)},re=function(le,ue,de,he,pe){var _e=le.name?le:le.$locale(),Ce=V(_e[ue]),xe=V(_e[de]),Ie=Ce||xe.map(function(Oe){return Oe.slice(0,he)});if(!pe)return Ie;var Ne=_e.weekStart;return Ie.map(function(Oe,$e){return Ie[($e+(Ne||0))%7]})},ie=function(){return g.Ls[g.locale()]},ae=function(le,ue){return le.formats[ue]||function(de){return de.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(he,pe,_e){return pe||_e.slice(1)})}(le.formats[ue.toUpperCase()])},oe=function(){var le=this;return{months:function(ue){return ue?ue.format("MMMM"):re(le,"months")},monthsShort:function(ue){return ue?ue.format("MMM"):re(le,"monthsShort","months",3)},firstDayOfWeek:function(){return le.$locale().weekStart||0},weekdays:function(ue){return ue?ue.format("dddd"):re(le,"weekdays")},weekdaysMin:function(ue){return ue?ue.format("dd"):re(le,"weekdaysMin","weekdays",2)},weekdaysShort:function(ue){return ue?ue.format("ddd"):re(le,"weekdaysShort","weekdays",3)},longDateFormat:function(ue){return ae(le.$locale(),ue)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};$.localeData=function(){return oe.bind(this)()},g.localeData=function(){var le=ie();return{firstDayOfWeek:function(){return le.weekStart||0},weekdays:function(){return g.weekdays()},weekdaysShort:function(){return g.weekdaysShort()},weekdaysMin:function(){return g.weekdaysMin()},months:function(){return g.months()},monthsShort:function(){return g.monthsShort()},longDateFormat:function(ue){return ae(le,ue)},meridiem:le.meridiem,ordinal:le.ordinal}},g.months=function(){return re(ie(),"months")},g.monthsShort=function(){return re(ie(),"monthsShort","months",3)},g.weekdays=function(le){return re(ie(),"weekdays",null,null,le)},g.weekdaysShort=function(le){return re(ie(),"weekdaysShort","weekdays",3,le)},g.weekdaysMin=function(le){return re(ie(),"weekdaysMin","weekdays",2,le)}}})})(localeData$1);var localeDataExports=localeData$1.exports;const localeData=getDefaultExportFromCjs(localeDataExports),datePickTypes=["year","years","month","months","date","dates","week","datetime","datetimerange","daterange","monthrange","yearrange"],WEEK_DAYS=["sun","mon","tue","wed","thu","fri","sat"],useDateTable=(n,t)=>{dayjs.extend(localeData);const r=dayjs.localeData().firstDayOfWeek(),{t:i,lang:g}=useLocale(),$=dayjs().locale(g.value),V=computed(()=>!!n.range&&!!n.range.length),re=computed(()=>{let ue=[];if(V.value){const[de,he]=n.range,pe=rangeArr(he.date()-de.date()+1).map(xe=>({text:de.date()+xe,type:"current"}));let _e=pe.length%7;_e=_e===0?0:7-_e;const Ce=rangeArr(_e).map((xe,Ie)=>({text:Ie+1,type:"next"}));ue=pe.concat(Ce)}else{const de=n.date.startOf("month").day(),he=getPrevMonthLastDays(n.date,(de-r+7)%7).map(xe=>({text:xe,type:"prev"})),pe=getMonthDays(n.date).map(xe=>({text:xe,type:"current"}));ue=[...he,...pe];const _e=7-(ue.length%7||7),Ce=rangeArr(_e).map((xe,Ie)=>({text:Ie+1,type:"next"}));ue=ue.concat(Ce)}return toNestedArr(ue)}),ie=computed(()=>{const ue=r;return ue===0?WEEK_DAYS.map(de=>i(`el.datepicker.weeks.${de}`)):WEEK_DAYS.slice(ue).concat(WEEK_DAYS.slice(0,ue)).map(de=>i(`el.datepicker.weeks.${de}`))}),ae=(ue,de)=>{switch(de){case"prev":return n.date.startOf("month").subtract(1,"month").date(ue);case"next":return n.date.startOf("month").add(1,"month").date(ue);case"current":return n.date.date(ue)}};return{now:$,isInRange:V,rows:re,weekDays:ie,getFormattedDate:ae,handlePickDay:({text:ue,type:de})=>{const he=ae(ue,de);t("pick",he)},getSlotData:({text:ue,type:de})=>{const he=ae(ue,de);return{isSelected:he.isSame(n.selectedDay),type:`${de}-month`,day:he.format("YYYY-MM-DD"),date:he.toDate()}}}},_hoisted_1$1x={key:0},_hoisted_2$X=["onClick"],_sfc_main$2D=defineComponent({name:"DateTable",__name:"date-table",props:dateTableProps,emits:dateTableEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,{isInRange:$,now:V,rows:re,weekDays:ie,getFormattedDate:ae,handlePickDay:oe,getSlotData:le}=useDateTable(i,g),ue=useNamespace("calendar-table"),de=useNamespace("calendar-day"),he=({text:pe,type:_e})=>{const Ce=[_e];if(_e==="current"){const xe=ae(pe,_e);xe.isSame(i.selectedDay,"day")&&Ce.push(de.is("selected")),xe.isSame(V,"day")&&Ce.push(de.is("today"))}return Ce};return t({getFormattedDate:ae}),(pe,_e)=>(openBlock(),createElementBlock("table",{class:normalizeClass([unref(ue).b(),unref(ue).is("range",unref($))]),cellspacing:"0",cellpadding:"0"},[pe.hideHeader?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("thead",_hoisted_1$1x,[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ie),Ce=>(openBlock(),createElementBlock("th",{key:Ce,scope:"col"},toDisplayString(Ce),1))),128))])])),createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(re),(Ce,xe)=>(openBlock(),createElementBlock("tr",{key:xe,class:normalizeClass({[unref(ue).e("row")]:!0,[unref(ue).em("row","hide-border")]:xe===0&&pe.hideHeader})},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ce,(Ie,Ne)=>(openBlock(),createElementBlock("td",{key:Ne,class:normalizeClass(he(Ie)),onClick:Oe=>unref(oe)(Ie)},[createBaseVNode("div",{class:normalizeClass(unref(de).b())},[renderSlot(pe.$slots,"date-cell",{data:unref(le)(Ie)},()=>[createBaseVNode("span",null,toDisplayString(Ie.text),1)])],2)],10,_hoisted_2$X))),128))],2))),128))])],2))}});var DateTable$1=_export_sfc(_sfc_main$2D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/date-table.vue"]]);const adjacentMonth=(n,t)=>{const r=n.endOf("month"),i=t.startOf("month"),$=r.isSame(i,"week")?i.add(1,"week"):i;return[[n,r],[$.startOf("week"),t]]},threeConsecutiveMonth=(n,t)=>{const r=n.endOf("month"),i=n.add(1,"month").startOf("month"),g=r.isSame(i,"week")?i.add(1,"week"):i,$=g.endOf("month"),V=t.startOf("month"),re=$.isSame(V,"week")?V.add(1,"week"):V;return[[n,r],[g.startOf("week"),$],[re.startOf("week"),t]]},useCalendar=(n,t,r)=>{const{lang:i}=useLocale(),g=ref(),$=dayjs().locale(i.value),V=computed({get(){return n.modelValue?ie.value:g.value},set(Ce){if(!Ce)return;g.value=Ce;const xe=Ce.toDate();t(INPUT_EVENT,xe),t(UPDATE_MODEL_EVENT,xe)}}),re=computed(()=>{if(!n.range||!isArray$5(n.range)||n.range.length!==2||n.range.some(Ne=>!isDate$1(Ne)))return[];const Ce=n.range.map(Ne=>dayjs(Ne).locale(i.value)),[xe,Ie]=Ce;return xe.isAfter(Ie)?[]:xe.isSame(Ie,"month")?de(xe,Ie):xe.add(1,"month").month()!==Ie.month()?[]:de(xe,Ie)}),ie=computed(()=>n.modelValue?dayjs(n.modelValue).locale(i.value):V.value||(re.value.length?re.value[0][0]:$)),ae=computed(()=>ie.value.subtract(1,"month").date(1)),oe=computed(()=>ie.value.add(1,"month").date(1)),le=computed(()=>ie.value.subtract(1,"year").date(1)),ue=computed(()=>ie.value.add(1,"year").date(1)),de=(Ce,xe)=>{const Ie=Ce.startOf("week"),Ne=xe.endOf("week"),Oe=Ie.get("month"),$e=Ne.get("month");return Oe===$e?[[Ie,Ne]]:(Oe+1)%12===$e?adjacentMonth(Ie,Ne):Oe+2===$e||(Oe+1)%11===$e?threeConsecutiveMonth(Ie,Ne):[]},he=Ce=>{V.value=Ce},pe=Ce=>{const Ie={"prev-month":ae.value,"next-month":oe.value,"prev-year":le.value,"next-year":ue.value,today:$}[Ce];Ie.isSame(ie.value,"day")||he(Ie)};return{calculateValidatedDateRange:de,date:ie,realSelectedDay:V,pickDay:he,selectDate:pe,validatedRange:re,handleDateChange:Ce=>{Ce==="today"?pe("today"):he(Ce)}}},isValidRange$1=n=>isArray$5(n)&&n.length===2&&n.every(t=>isDate$1(t)),calendarProps=buildProps({modelValue:{type:Date},range:{type:definePropType(Array),validator:isValidRange$1},controllerType:{type:String,values:["button","select"],default:"button"},formatter:{type:definePropType(Function)}}),calendarEmits={[UPDATE_MODEL_EVENT]:n=>isDate$1(n),[INPUT_EVENT]:n=>isDate$1(n)},tagProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"},closable:Boolean,disableTransitions:Boolean,hit:Boolean,color:String,size:{type:String,values:componentSizes},effect:{type:String,values:["dark","light","plain"],default:"light"},round:Boolean}),tagEmits={close:n=>n instanceof MouseEvent,click:n=>n instanceof MouseEvent},_hoisted_1$1w=["aria-label"],_hoisted_2$W=["aria-label"],_sfc_main$2C=defineComponent({name:"ElTag",__name:"tag",props:tagProps,emits:tagEmits,setup(n,{emit:t}){const r=n,i=t,g=useFormSize(),{t:$}=useLocale(),V=useNamespace("tag"),re=computed(()=>{const{type:le,hit:ue,effect:de,closable:he,round:pe}=r;return[V.b(),V.is("closable",he),V.m(le||"primary"),V.m(g.value),V.m(de),V.is("hit",ue),V.is("round",pe)]}),ie=le=>{i("close",le)},ae=le=>{i("click",le)},oe=le=>{var ue,de,he;(he=(de=(ue=le==null?void 0:le.component)==null?void 0:ue.subTree)==null?void 0:de.component)!=null&&he.bum&&(le.component.subTree.component.bum=null)};return(le,ue)=>le.disableTransitions?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(re.value),style:normalizeStyle$1({backgroundColor:le.color}),onClick:ae},[createBaseVNode("span",{class:normalizeClass(unref(V).e("content"))},[renderSlot(le.$slots,"default")],2),le.closable?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref($)("el.tag.close"),class:normalizeClass(unref(V).e("close")),type:"button",onClick:withModifiers(ie,["stop"])},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1})],10,_hoisted_1$1w)):createCommentVNode("v-if",!0)],6)):(openBlock(),createBlock(Transition,{key:1,name:`${unref(V).namespace.value}-zoom-in-center`,appear:"",onVnodeMounted:oe},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(re.value),style:normalizeStyle$1({backgroundColor:le.color}),onClick:ae},[createBaseVNode("span",{class:normalizeClass(unref(V).e("content"))},[renderSlot(le.$slots,"default")],2),le.closable?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref($)("el.tag.close"),class:normalizeClass(unref(V).e("close")),type:"button",onClick:withModifiers(ie,["stop"])},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1})],10,_hoisted_2$W)):createCommentVNode("v-if",!0)],6)]),_:3},8,["name"]))}});var Tag=_export_sfc(_sfc_main$2C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tag/src/tag.vue"]]);const ElTag=withInstall(Tag),defaultProps$4={label:"label",value:"value",disabled:"disabled",options:"options"};function useProps(n){const t=ref({...defaultProps$4,...n.props});let r={...n.props};return watch(()=>n.props,re=>{isEqual$1(re,r)||(t.value={...defaultProps$4,...re},r={...re})},{deep:!0}),{aliasProps:t,getLabel:re=>get$1(re,t.value.label),getValue:re=>get$1(re,t.value.value),getDisabled:re=>get$1(re,t.value.disabled),getOptions:re=>get$1(re,t.value.options)}}const selectGroupKey=Symbol("ElSelectGroup"),selectKey=Symbol("ElSelect"),COMPONENT_NAME$i="ElOption",optionProps=buildProps({value:{type:[String,Number,Boolean,Object],required:!0},label:{type:[String,Number]},created:Boolean,disabled:Boolean}),escapeStringRegexp=(n="")=>n.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d"),capitalize=n=>capitalize$1(n);function useOption$1(n,t){const r=inject(selectKey);r||throwError$1(COMPONENT_NAME$i,"usage: ");const i=inject(selectGroupKey,{disabled:!1}),g=computed(()=>oe(castArray$1(r.props.modelValue),n.value)),$=computed(()=>{var de;if(r.props.multiple){const he=castArray$1((de=r.props.modelValue)!=null?de:[]);return!g.value&&he.length>=r.props.multipleLimit&&r.props.multipleLimit>0}else return!1}),V=computed(()=>{var de;return(de=n.label)!=null?de:isObject$6(n.value)?"":n.value}),re=computed(()=>n.value||n.label||""),ie=computed(()=>n.disabled||t.groupDisabled||$.value),ae=getCurrentInstance(),oe=(de=[],he)=>{if(isObject$6(n.value)){const pe=r.props.valueKey;return de&&de.some(_e=>toRaw(get$1(_e,pe))===get$1(he,pe))}else return de&&de.includes(he)},le=()=>{ie.value||(r.states.hoveringIndex=r.optionsArray.indexOf(ae.proxy))},ue=de=>{const he=new RegExp(escapeStringRegexp(de),"i");t.visible=he.test(String(V.value))||n.created};return watch(()=>V.value,()=>{!n.created&&!r.props.remote&&r.setSelected()}),watch(()=>n.value,(de,he)=>{const{remote:pe,valueKey:_e}=r.props;if((pe?de!==he:!isEqual$1(de,he))&&(r.onOptionDestroy(he,ae.proxy),r.onOptionCreate(ae.proxy)),!n.created&&!pe){if(_e&&isObject$6(de)&&isObject$6(he)&&de[_e]===he[_e])return;r.setSelected()}}),watch(()=>i.disabled,()=>{t.groupDisabled=i.disabled},{immediate:!0}),{select:r,currentLabel:V,currentValue:re,itemSelected:g,isDisabled:ie,hoverItem:le,updateOption:ue}}const _sfc_main$2B=defineComponent({name:COMPONENT_NAME$i,componentName:COMPONENT_NAME$i,props:optionProps,setup(n){const t=useNamespace("select"),r=useId(),i=computed(()=>[t.be("dropdown","item"),t.is("disabled",unref(re)),t.is("selected",unref(V)),t.is("hovering",unref(ue))]),g=reactive({index:-1,groupDisabled:!1,visible:!0,hover:!1}),{currentLabel:$,itemSelected:V,isDisabled:re,select:ie,hoverItem:ae,updateOption:oe}=useOption$1(n,g),{visible:le,hover:ue}=toRefs(g),de=getCurrentInstance().proxy;ie.onOptionCreate(de),onBeforeUnmount(()=>{const pe=de.value;nextTick(()=>{const{selected:_e}=ie.states,Ce=_e.some(xe=>xe.value===de.value);ie.states.cachedOptions.get(pe)===de&&!Ce&&ie.states.cachedOptions.delete(pe)}),ie.onOptionDestroy(pe,de)});function he(){re.value||ie.handleOptionSelect(de)}return{ns:t,id:r,containerKls:i,currentLabel:$,itemSelected:V,isDisabled:re,select:ie,visible:le,hover:ue,states:g,hoverItem:ae,updateOption:oe,selectOptionClick:he}}}),_hoisted_1$1v=["id","aria-disabled","aria-selected"];function _sfc_render$k(n,t,r,i,g,$){return withDirectives((openBlock(),createElementBlock("li",{id:n.id,class:normalizeClass(n.containerKls),role:"option","aria-disabled":n.isDisabled||void 0,"aria-selected":n.itemSelected,onMousemove:t[0]||(t[0]=(...V)=>n.hoverItem&&n.hoverItem(...V)),onClick:t[1]||(t[1]=withModifiers((...V)=>n.selectOptionClick&&n.selectOptionClick(...V),["stop"]))},[renderSlot(n.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(n.currentLabel),1)])],42,_hoisted_1$1v)),[[vShow,n.visible]])}var Option=_export_sfc(_sfc_main$2B,[["render",_sfc_render$k],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option.vue"]]);const MINIMUM_INPUT_WIDTH=11,BORDER_HORIZONTAL_WIDTH=2,_sfc_main$2A=defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const n=inject(selectKey),t=useNamespace("select"),r=computed(()=>n.props.popperClass),i=computed(()=>n.props.multiple),g=computed(()=>n.props.fitInputWidth),$=ref("");function V(){var re;const ie=(re=n.selectRef)==null?void 0:re.offsetWidth;ie?$.value=`${ie-BORDER_HORIZONTAL_WIDTH}px`:$.value=""}return onMounted(()=>{V(),useResizeObserver(n.selectRef,V)}),{ns:t,minWidth:$,popperClass:r,isMultiple:i,isFitInputWidth:g}}});function _sfc_render$j(n,t,r,i,g,$){return openBlock(),createElementBlock("div",{class:normalizeClass([n.ns.b("dropdown"),n.ns.is("multiple",n.isMultiple),n.popperClass]),style:normalizeStyle$1({[n.isFitInputWidth?"width":"minWidth"]:n.minWidth})},[n.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(n.ns.be("dropdown","header"))},[renderSlot(n.$slots,"header")],2)):createCommentVNode("v-if",!0),renderSlot(n.$slots,"default"),n.$slots.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(n.ns.be("dropdown","footer"))},[renderSlot(n.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6)}var ElSelectMenu$1=_export_sfc(_sfc_main$2A,[["render",_sfc_render$j],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select-dropdown.vue"]]);const useSelect$2=(n,t)=>{const{t:r}=useLocale(),i=useSlots(),g=useId(),$=useNamespace("select"),V=useNamespace("input"),re=reactive({inputValue:"",options:new Map,cachedOptions:new Map,optionValues:[],selected:[],selectionWidth:0,collapseItemWidth:0,selectedLabel:"",hoveringIndex:-1,previousQuery:null,inputHovering:!1,menuVisibleOnFocus:!1,isBeforeHide:!1}),ie=ref(),ae=ref(),oe=ref(),le=ref(),ue=ref(),de=ref(),he=ref(),pe=ref(),_e=ref(),Ce=ref(),xe=ref(),Ie=ref(!1),Ne=ref(),Oe=ref(!1),{form:$e,formItem:Ve}=useFormItem(),{inputId:Ue}=useFormItemInputId(n,{formItemContext:Ve}),{valueOnClear:Fe,isEmptyValue:ze}=useEmptyValues(n),{isComposing:Pt,handleCompositionStart:qe,handleCompositionUpdate:Et,handleCompositionEnd:kt}=useComposition({afterComposition:ar=>hr(ar)}),At=useFormDisabled(),{wrapperRef:Dt,isFocused:Lt,handleBlur:jt}=useFocusController(ue,{disabled:At,afterFocus(){n.automaticDropdown&&!Ie.value&&(Ie.value=!0,re.menuVisibleOnFocus=!0)},beforeBlur(ar){var wr,Mr;return((wr=oe.value)==null?void 0:wr.isFocusInsideContent(ar))||((Mr=le.value)==null?void 0:Mr.isFocusInsideContent(ar))},afterBlur(){var ar;Ie.value=!1,re.menuVisibleOnFocus=!1,n.validateEvent&&((ar=Ve==null?void 0:Ve.validate)==null||ar.call(Ve,"blur").catch(wr=>void 0))}}),hn=computed(()=>isArray$5(n.modelValue)?n.modelValue.length>0:!ze(n.modelValue)),vn=computed(()=>{var ar;return(ar=$e==null?void 0:$e.statusIcon)!=null?ar:!1}),_n=computed(()=>n.clearable&&!At.value&&hn.value&&(Lt.value||re.inputHovering)),wn=computed(()=>n.remote&&n.filterable&&!n.remoteShowSuffix?"":n.suffixIcon),bn=computed(()=>$.is("reverse",!!(wn.value&&Ie.value))),Cn=computed(()=>(Ve==null?void 0:Ve.validateState)||""),Sn=computed(()=>Cn.value&&ValidateComponentsMap[Cn.value]),Tn=computed(()=>n.remote?n.debounce:0),En=computed(()=>n.remote&&!re.inputValue&&re.options.size===0),kn=computed(()=>n.loading?n.loadingText||r("el.select.loading"):n.filterable&&re.inputValue&&re.options.size>0&&$n.value===0?n.noMatchText||r("el.select.noMatch"):re.options.size===0?n.noDataText||r("el.select.noData"):null),$n=computed(()=>An.value.filter(ar=>ar.visible).length),An=computed(()=>{const ar=Array.from(re.options.values()),wr=[];return re.optionValues.forEach(Mr=>{const Rr=ar.findIndex(Dr=>Dr.value===Mr);Rr>-1&&wr.push(ar[Rr])}),wr.length>=ar.length?wr:ar}),xn=computed(()=>Array.from(re.cachedOptions.values())),Ln=computed(()=>{const ar=An.value.filter(wr=>!wr.created).some(wr=>wr.currentLabel===re.inputValue);return n.filterable&&n.allowCreate&&re.inputValue!==""&&!ar}),Nn=()=>{n.filterable&&isFunction$4(n.filterMethod)||n.filterable&&n.remote&&isFunction$4(n.remoteMethod)||An.value.forEach(ar=>{var wr;(wr=ar.updateOption)==null||wr.call(ar,re.inputValue)})},Pn=useFormSize(),On=computed(()=>["small"].includes(Pn.value)?"small":"default"),Hn=computed({get(){return Ie.value&&(n.loading||!En.value||n.remote&&!!i.empty)&&(!Oe.value||!isEmpty(re.previousQuery))},set(ar){Ie.value=ar}}),Xn=computed(()=>{if(n.multiple&&!isUndefined$1(n.modelValue))return castArray$1(n.modelValue).length===0&&!re.inputValue;const ar=isArray$5(n.modelValue)?n.modelValue[0]:n.modelValue;return n.filterable||isUndefined$1(ar)?!re.inputValue:!0}),In=computed(()=>{var ar;const wr=(ar=n.placeholder)!=null?ar:r("el.select.placeholder");return n.multiple||!hn.value?wr:re.selectedLabel}),or=computed(()=>isIOS?null:"mouseenter");watch(()=>n.modelValue,(ar,wr)=>{n.multiple&&n.filterable&&!n.reserveKeyword&&(re.inputValue="",Qn("")),Gn(),!isEqual$1(ar,wr)&&n.validateEvent&&(Ve==null||Ve.validate("change").catch(Mr=>void 0))},{flush:"post",deep:!0}),watch(()=>Ie.value,ar=>{ar?Qn(re.inputValue):(re.inputValue="",re.previousQuery=null,re.isBeforeHide=!0)}),watch(()=>re.options.entries(),()=>{isClient&&(Gn(),n.defaultFirstOption&&(n.filterable||n.remote)&&$n.value&&Zn())},{flush:"post"}),watch([()=>re.hoveringIndex,An],([ar])=>{isNumber$2(ar)&&ar>-1?Ne.value=An.value[ar]||{}:Ne.value={},An.value.forEach(wr=>{wr.hover=Ne.value===wr})}),watchEffect(()=>{re.isBeforeHide||Nn()});const Qn=ar=>{re.previousQuery===ar||Pt.value||(re.previousQuery=ar,n.filterable&&isFunction$4(n.filterMethod)?n.filterMethod(ar):n.filterable&&n.remote&&isFunction$4(n.remoteMethod)&&n.remoteMethod(ar),n.defaultFirstOption&&(n.filterable||n.remote)&&$n.value?nextTick(Zn):nextTick(Mn))},Zn=()=>{const ar=An.value.filter(Dr=>Dr.visible&&!Dr.disabled&&!Dr.states.groupDisabled),wr=ar.find(Dr=>Dr.created),Mr=ar[0],Rr=An.value.map(Dr=>Dr.value);re.hoveringIndex=cr(Rr,wr||Mr)},Gn=()=>{if(n.multiple)re.selectedLabel="";else{const wr=isArray$5(n.modelValue)?n.modelValue[0]:n.modelValue,Mr=Rn(wr);re.selectedLabel=Mr.currentLabel,re.selected=[Mr];return}const ar=[];isUndefined$1(n.modelValue)||castArray$1(n.modelValue).forEach(wr=>{ar.push(Rn(wr))}),re.selected=ar},Rn=ar=>{let wr;const Mr=isPlainObject$3(ar);for(let Gr=re.cachedOptions.size-1;Gr>=0;Gr--){const Hr=xn.value[Gr];if(Mr?get$1(Hr.value,n.valueKey)===get$1(ar,n.valueKey):Hr.value===ar){wr={index:An.value.filter(Dn=>!Dn.created).indexOf(Hr),value:ar,currentLabel:Hr.currentLabel,get isDisabled(){return Hr.isDisabled}};break}}if(wr)return wr;const Rr=Mr?ar.label:ar??"";return{index:-1,value:ar,currentLabel:Rr}},Mn=()=>{const ar=re.selected.length;if(ar>0){const wr=re.selected[ar-1];re.hoveringIndex=An.value.findIndex(Mr=>zr(wr)===zr(Mr))}else re.hoveringIndex=-1},Bn=()=>{re.selectionWidth=Number.parseFloat(window.getComputedStyle(ae.value).width)},qn=()=>{re.collapseItemWidth=Ce.value.getBoundingClientRect().width},zn=()=>{var ar,wr;(wr=(ar=oe.value)==null?void 0:ar.updatePopper)==null||wr.call(ar)},jn=()=>{var ar,wr;(wr=(ar=le.value)==null?void 0:ar.updatePopper)==null||wr.call(ar)},tr=()=>{re.inputValue.length>0&&!Ie.value&&(Ie.value=!0),Qn(re.inputValue)},hr=ar=>{if(re.inputValue=ar.target.value,n.remote)Oe.value=!0,ir();else return tr()},ir=useDebounceFn(()=>{tr(),Oe.value=!1},Tn),pr=ar=>{isEqual$1(n.modelValue,ar)||t(CHANGE_EVENT,ar)},rr=ar=>findLastIndex(ar,wr=>{const Mr=re.cachedOptions.get(wr);return!(Mr!=null&&Mr.disabled)&&!(Mr!=null&&Mr.states.groupDisabled)}),lr=ar=>{const wr=getEventCode(ar);if(n.multiple&&wr!==EVENT_CODE.delete&&ar.target.value.length<=0){const Mr=castArray$1(n.modelValue).slice(),Rr=rr(Mr);if(Rr<0)return;const Dr=Mr[Rr];Mr.splice(Rr,1),t(UPDATE_MODEL_EVENT,Mr),pr(Mr),t("remove-tag",Dr)}},Yn=(ar,wr)=>{const Mr=re.selected.indexOf(wr);if(Mr>-1&&!At.value){const Rr=castArray$1(n.modelValue).slice();Rr.splice(Mr,1),t(UPDATE_MODEL_EVENT,Rr),pr(Rr),t("remove-tag",wr.value)}ar.stopPropagation(),Jn()},er=ar=>{ar.stopPropagation();const wr=n.multiple?[]:Fe.value;if(n.multiple)for(const Mr of re.selected)Mr.isDisabled&&wr.push(Mr.value);t(UPDATE_MODEL_EVENT,wr),pr(wr),re.hoveringIndex=-1,Ie.value=!1,t("clear"),Jn()},Fn=ar=>{var wr;if(n.multiple){const Mr=castArray$1((wr=n.modelValue)!=null?wr:[]).slice(),Rr=cr(Mr,ar);Rr>-1?Mr.splice(Rr,1):(n.multipleLimit<=0||Mr.length{Un(ar)})},cr=(ar,wr)=>isUndefined$1(wr)?-1:isObject$6(wr.value)?ar.findIndex(Mr=>isEqual$1(get$1(Mr,n.valueKey),zr(wr))):ar.indexOf(wr.value),Un=ar=>{var wr,Mr,Rr,Dr,Gr;const Hr=isArray$5(ar)?ar[ar.length-1]:ar;let Qr=null;if(!isNil(Hr==null?void 0:Hr.value)){const Dn=An.value.filter(nr=>nr.value===Hr.value);Dn.length>0&&(Qr=Dn[0].$el)}if(oe.value&&Qr){const Dn=(Dr=(Rr=(Mr=(wr=oe.value)==null?void 0:wr.popperRef)==null?void 0:Mr.contentRef)==null?void 0:Rr.querySelector)==null?void 0:Dr.call(Rr,`.${$.be("dropdown","wrap")}`);Dn&&scrollIntoView(Dn,Qr)}(Gr=xe.value)==null||Gr.handleScroll()},gr=ar=>{re.options.set(ar.value,ar),re.cachedOptions.set(ar.value,ar)},vr=(ar,wr)=>{re.options.get(ar)===wr&&re.options.delete(ar)},yr=computed(()=>{var ar,wr;return(wr=(ar=oe.value)==null?void 0:ar.popperRef)==null?void 0:wr.contentRef}),Wn=()=>{re.isBeforeHide=!1,nextTick(()=>{var ar;(ar=xe.value)==null||ar.update(),Un(re.selected)})},Jn=()=>{var ar;(ar=ue.value)==null||ar.focus()},sr=()=>{var ar;if(Ie.value){Ie.value=!1,nextTick(()=>{var wr;return(wr=ue.value)==null?void 0:wr.blur()});return}(ar=ue.value)==null||ar.blur()},Sr=ar=>{er(ar)},Tr=ar=>{if(Ie.value=!1,Lt.value){const wr=new FocusEvent("blur",ar);nextTick(()=>jt(wr))}},fr=()=>{re.inputValue.length>0?re.inputValue="":Ie.value=!1},_r=ar=>{var wr;At.value||n.filterable&&Ie.value&&ar&&!((wr=he.value)!=null&&wr.contains(ar.target))||(isIOS&&(re.inputHovering=!0),re.menuVisibleOnFocus?re.menuVisibleOnFocus=!1:Ie.value=!Ie.value)},Cr=()=>{if(!Ie.value)_r();else{const ar=An.value[re.hoveringIndex];ar&&!ar.isDisabled&&Fn(ar)}},zr=ar=>isObject$6(ar.value)?get$1(ar.value,n.valueKey):ar.value,Ur=computed(()=>An.value.filter(ar=>ar.visible).every(ar=>ar.isDisabled)),jr=computed(()=>n.multiple?n.collapseTags?re.selected.slice(0,n.maxCollapseTags):re.selected:[]),ai=computed(()=>n.multiple?n.collapseTags?re.selected.slice(n.maxCollapseTags):[]:[]),ti=ar=>{if(!Ie.value){Ie.value=!0;return}if(!(re.options.size===0||$n.value===0||Pt.value)&&!Ur.value){ar==="next"?(re.hoveringIndex++,re.hoveringIndex===re.options.size&&(re.hoveringIndex=0)):ar==="prev"&&(re.hoveringIndex--,re.hoveringIndex<0&&(re.hoveringIndex=re.options.size-1));const wr=An.value[re.hoveringIndex];(wr.isDisabled||!wr.visible)&&ti(ar),nextTick(()=>Un(Ne.value))}},ri=(ar,wr,Mr,Rr)=>{for(let Dr=wr;Dr>=0&&Dr{var Mr;const Rr=re.options.size;if(Rr===0)return;const Dr=clamp$3(ar,0,Rr-1),Gr=An.value,Hr=wr==="up"?-1:1,Qr=(Mr=ri(Gr,Dr,Hr,Rr))!=null?Mr:ri(Gr,Dr-Hr,-Hr,Rr);Qr!=null&&(re.hoveringIndex=Qr,nextTick(()=>Un(Ne.value)))},ii=ar=>{const wr=getEventCode(ar);let Mr=!0;switch(wr){case EVENT_CODE.up:ti("prev");break;case EVENT_CODE.down:ti("next");break;case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:Pt.value||Cr();break;case EVENT_CODE.esc:fr();break;case EVENT_CODE.backspace:Mr=!1,lr(ar);return;case EVENT_CODE.home:if(!Ie.value)return;Wr(0,"down");break;case EVENT_CODE.end:if(!Ie.value)return;Wr(re.options.size-1,"up");break;case EVENT_CODE.pageUp:if(!Ie.value)return;Wr(re.hoveringIndex-10,"up");break;case EVENT_CODE.pageDown:if(!Ie.value)return;Wr(re.hoveringIndex+10,"down");break;default:Mr=!1;break}Mr&&(ar.preventDefault(),ar.stopPropagation())},si=()=>{if(!ae.value)return 0;const ar=window.getComputedStyle(ae.value);return Number.parseFloat(ar.gap||"6px")},li=computed(()=>{const ar=si(),wr=n.filterable?ar+MINIMUM_INPUT_WIDTH:0;return{maxWidth:`${Ce.value&&n.maxCollapseTags===1?re.selectionWidth-re.collapseItemWidth-ar-wr:re.selectionWidth-wr}px`}}),ni=computed(()=>({maxWidth:`${re.selectionWidth}px`})),ci=ar=>{t("popup-scroll",ar)};useResizeObserver(ae,Bn),useResizeObserver(Dt,zn),useResizeObserver(_e,jn),useResizeObserver(Ce,qn);let Jr;return watch(()=>Hn.value,ar=>{ar?Jr=useResizeObserver(pe,zn).stop:(Jr==null||Jr(),Jr=void 0),t("visible-change",ar)}),onMounted(()=>{Gn()}),{inputId:Ue,contentId:g,nsSelect:$,nsInput:V,states:re,isFocused:Lt,expanded:Ie,optionsArray:An,hoverOption:Ne,selectSize:Pn,filteredOptionsCount:$n,updateTooltip:zn,updateTagTooltip:jn,debouncedOnInputChange:ir,onInput:hr,deletePrevTag:lr,deleteTag:Yn,deleteSelected:er,handleOptionSelect:Fn,scrollToOption:Un,hasModelValue:hn,shouldShowPlaceholder:Xn,currentPlaceholder:In,mouseEnterEventName:or,needStatusIcon:vn,showClearBtn:_n,iconComponent:wn,iconReverse:bn,validateState:Cn,validateIcon:Sn,showNewOption:Ln,updateOptions:Nn,collapseTagSize:On,setSelected:Gn,selectDisabled:At,emptyText:kn,handleCompositionStart:qe,handleCompositionUpdate:Et,handleCompositionEnd:kt,handleKeydown:ii,onOptionCreate:gr,onOptionDestroy:vr,handleMenuEnter:Wn,focus:Jn,blur:sr,handleClearClick:Sr,handleClickOutside:Tr,handleEsc:fr,toggleMenu:_r,selectOption:Cr,getValueKey:zr,navigateOptions:ti,dropdownMenuVisible:Hn,showTagList:jr,collapseTagList:ai,popupScroll:ci,getOption:Rn,tagStyle:li,collapseTagStyle:ni,popperRef:yr,inputRef:ue,tooltipRef:oe,tagTooltipRef:le,prefixRef:de,suffixRef:he,selectRef:ie,wrapperRef:Dt,selectionRef:ae,scrollbarRef:xe,menuRef:pe,tagMenuRef:_e,collapseItemRef:Ce}};var ElOptions=defineComponent({name:"ElOptions",setup(n,{slots:t}){const r=inject(selectKey);let i=[];return()=>{var g,$;const V=(g=t.default)==null?void 0:g.call(t),re=[];function ie(ae){isArray$5(ae)&&ae.forEach(oe=>{var le,ue,de,he;const pe=(le=(oe==null?void 0:oe.type)||{})==null?void 0:le.name;pe==="ElOptionGroup"?ie(!isString$2(oe.children)&&!isArray$5(oe.children)&&isFunction$4((ue=oe.children)==null?void 0:ue.default)?(de=oe.children)==null?void 0:de.default():oe.children):pe==="ElOption"?re.push((he=oe.props)==null?void 0:he.value):isArray$5(oe.children)&&ie(oe.children)})}return V.length&&ie(($=V[0])==null?void 0:$.children),isEqual$1(re,i)||(i=re,r&&(r.states.optionValues=re)),V}}});const selectProps=buildProps({name:String,id:String,modelValue:{type:definePropType([Array,String,Number,Boolean,Object]),default:void 0},autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:useSizeProp,effect:{type:definePropType(String),default:"light"},disabled:{type:Boolean,default:void 0},clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},popperStyle:{type:definePropType([String,Object])},popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},loadingText:String,noMatchText:String,noDataText:String,remoteMethod:{type:definePropType(Function)},filterMethod:{type:definePropType(Function)},multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:{type:Boolean,default:!0},valueKey:{type:String,default:"value"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},clearIcon:{type:iconPropType,default:circle_close_default},fitInputWidth:Boolean,suffixIcon:{type:iconPropType,default:arrow_down_default},tagType:{...tagProps.type,default:"info"},tagEffect:{...tagProps.effect,default:"light"},validateEvent:{type:Boolean,default:!0},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},offset:{type:Number,default:12},placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},tabindex:{type:[String,Number],default:0},appendTo:useTooltipContentProps.appendTo,options:{type:definePropType(Array)},props:{type:definePropType(Object),default:()=>defaultProps$4},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])});UPDATE_MODEL_EVENT+"",CHANGE_EVENT+"",scrollbarEmits.scroll;const _sfc_main$2z=defineComponent({name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:Boolean},setup(n){const t=useNamespace("select"),r=ref(),i=getCurrentInstance(),g=ref([]);provide(selectGroupKey,reactive({...toRefs(n)}));const $=computed(()=>g.value.some(ae=>ae.visible===!0)),V=ae=>{var oe;return ae.type.name==="ElOption"&&!!((oe=ae.component)!=null&&oe.proxy)},re=ae=>{const oe=castArray$1(ae),le=[];return oe.forEach(ue=>{var de;isVNode(ue)&&(V(ue)?le.push(ue.component.proxy):isArray$5(ue.children)&&ue.children.length?le.push(...re(ue.children)):(de=ue.component)!=null&&de.subTree&&le.push(...re(ue.component.subTree)))}),le},ie=()=>{g.value=re(i.subTree)};return onMounted(()=>{ie()}),useMutationObserver(r,ie,{attributes:!0,subtree:!0,childList:!0}),{groupRef:r,visible:$,ns:t}}});function _sfc_render$i(n,t,r,i,g,$){return withDirectives((openBlock(),createElementBlock("ul",{ref:"groupRef",class:normalizeClass(n.ns.be("group","wrap"))},[createBaseVNode("li",{class:normalizeClass(n.ns.be("group","title"))},toDisplayString(n.label),3),createBaseVNode("li",null,[createBaseVNode("ul",{class:normalizeClass(n.ns.b("group"))},[renderSlot(n.$slots,"default")],2)])],2)),[[vShow,n.visible]])}var OptionGroup=_export_sfc(_sfc_main$2z,[["render",_sfc_render$i],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/option-group.vue"]]);const nodeList=new Map;if(isClient){let n;document.addEventListener("mousedown",t=>n=t),document.addEventListener("mouseup",t=>{if(n){for(const r of nodeList.values())for(const{documentHandler:i}of r)i(t,n);n=void 0}})}function createDocumentHandler(n,t){let r=[];return isArray$5(t.arg)?r=t.arg:isElement$1(t.arg)&&r.push(t.arg),function(i,g){const $=t.instance.popperRef,V=i.target,re=g==null?void 0:g.target,ie=!t||!t.instance,ae=!V||!re,oe=n.contains(V)||n.contains(re),le=n===V,ue=r.length&&r.some(he=>he==null?void 0:he.contains(V))||r.length&&r.includes(re),de=$&&($.contains(V)||$.contains(re));ie||ae||oe||le||ue||de||t.value(i,g)}}const ClickOutside={beforeMount(n,t){nodeList.has(n)||nodeList.set(n,[]),nodeList.get(n).push({documentHandler:createDocumentHandler(n,t),bindingFn:t.value})},updated(n,t){nodeList.has(n)||nodeList.set(n,[]);const r=nodeList.get(n),i=r.findIndex($=>$.bindingFn===t.oldValue),g={documentHandler:createDocumentHandler(n,t),bindingFn:t.value};i>=0?r.splice(i,1,g):r.push(g)},unmounted(n){nodeList.delete(n)}};function useCalcInputWidth(){const n=shallowRef(),t=ref(0),r=computed(()=>({minWidth:`${Math.max(t.value,MINIMUM_INPUT_WIDTH)}px`}));return useResizeObserver(n,()=>{var g,$;t.value=($=(g=n.value)==null?void 0:g.getBoundingClientRect().width)!=null?$:0}),{calculatorRef:n,calculatorWidth:t,inputStyle:r}}const COMPONENT_NAME$h="ElSelect",warnHandlerMap=new WeakMap,createSelectWarnHandler=n=>(...t)=>{var r,i;const g=t[0];if(!g||g.includes('Slot "default" invoked outside of the render function')&&((r=t[2])!=null&&r.includes("ElTreeSelect")))return;const $=(i=warnHandlerMap.get(n))==null?void 0:i.originalWarnHandler;if($){$(...t);return}console.warn(...t)},getWarnHandlerRecord=n=>{let t=warnHandlerMap.get(n);return t||(t={originalWarnHandler:n.config.warnHandler,handler:createSelectWarnHandler(n),count:0},warnHandlerMap.set(n,t)),t},_sfc_main$2y=defineComponent({name:COMPONENT_NAME$h,componentName:COMPONENT_NAME$h,components:{ElSelectMenu:ElSelectMenu$1,ElOption:Option,ElOptions,ElOptionGroup:OptionGroup,ElTag,ElScrollbar,ElTooltip,ElIcon},directives:{ClickOutside},props:selectProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur","popup-scroll"],setup(n,{emit:t,slots:r}){const i=getCurrentInstance(),g=getWarnHandlerRecord(i.appContext);g.count+=1,i.appContext.config.warnHandler=g.handler;const $=computed(()=>{const{modelValue:xe,multiple:Ie}=n,Ne=Ie?[]:void 0;return isArray$5(xe)?Ie?xe:Ne:Ie?Ne:xe}),V=reactive({...toRefs(n),modelValue:$}),re=useSelect$2(V,t),{calculatorRef:ie,inputStyle:ae}=useCalcInputWidth(),{getLabel:oe,getValue:le,getOptions:ue,getDisabled:de}=useProps(n),he=xe=>({label:oe(xe),value:le(xe),disabled:de(xe)}),pe=xe=>xe.reduce((Ie,Ne)=>(Ie.push(Ne),Ne.children&&Ne.children.length>0&&Ie.push(...pe(Ne.children)),Ie),[]),_e=xe=>{flattedChildren(xe||[]).forEach(Ne=>{var Oe;if(isObject$6(Ne)&&(Ne.type.name==="ElOption"||Ne.type.name==="ElTree")){const $e=Ne.type.name;if($e==="ElTree"){const Ve=((Oe=Ne.props)==null?void 0:Oe.data)||[];pe(Ve).forEach(Fe=>{Fe.currentLabel=Fe.label||(isObject$6(Fe.value)?"":Fe.value),re.onOptionCreate(Fe)})}else if($e==="ElOption"){const Ve={...Ne.props};Ve.currentLabel=Ve.label||(isObject$6(Ve.value)?"":Ve.value),re.onOptionCreate(Ve)}}})};watch(()=>{var xe;return[(xe=r.default)==null?void 0:xe.call(r),$.value]},()=>{var xe;n.persistent||re.expanded.value||(re.states.options.clear(),_e((xe=r.default)==null?void 0:xe.call(r)))},{immediate:!0}),provide(selectKey,reactive({props:V,states:re.states,selectRef:re.selectRef,optionsArray:re.optionsArray,setSelected:re.setSelected,handleOptionSelect:re.handleOptionSelect,onOptionCreate:re.onOptionCreate,onOptionDestroy:re.onOptionDestroy}));const Ce=computed(()=>n.multiple?re.states.selected.map(xe=>xe.currentLabel):re.states.selectedLabel);return onBeforeUnmount(()=>{const xe=warnHandlerMap.get(i.appContext);xe&&(xe.count-=1,xe.count<=0&&(i.appContext.config.warnHandler=xe.originalWarnHandler,warnHandlerMap.delete(i.appContext)))}),{...re,modelValue:$,selectedLabel:Ce,calculatorRef:ie,inputStyle:ae,getLabel:oe,getValue:le,getOptions:ue,getDisabled:de,getOptionProps:he}}}),_hoisted_1$1u=["id","name","disabled","autocomplete","tabindex","readonly","aria-activedescendant","aria-controls","aria-expanded","aria-label"],_hoisted_2$V=["textContent"],_hoisted_3$p={key:1};function _sfc_render$h(n,t,r,i,g,$){const V=resolveComponent("el-tag"),re=resolveComponent("el-tooltip"),ie=resolveComponent("el-icon"),ae=resolveComponent("el-option"),oe=resolveComponent("el-option-group"),le=resolveComponent("el-options"),ue=resolveComponent("el-scrollbar"),de=resolveComponent("el-select-menu"),he=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",mergeProps({ref:"selectRef",class:[n.nsSelect.b(),n.nsSelect.m(n.selectSize)]},{[toHandlerKey(n.mouseEnterEventName)]:t[11]||(t[11]=pe=>n.states.inputHovering=!0)},{onMouseleave:t[12]||(t[12]=pe=>n.states.inputHovering=!1)}),[createVNode$1(re,{ref:"tooltipRef",visible:n.dropdownMenuVisible,placement:n.placement,teleported:n.teleported,"popper-class":[n.nsSelect.e("popper"),n.popperClass],"popper-style":n.popperStyle,"popper-options":n.popperOptions,"fallback-placements":n.fallbackPlacements,effect:n.effect,pure:"",trigger:"click",transition:`${n.nsSelect.namespace.value}-zoom-in-top`,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,persistent:n.persistent,"append-to":n.appendTo,"show-arrow":n.showArrow,offset:n.offset,onBeforeShow:n.handleMenuEnter,onHide:t[10]||(t[10]=pe=>n.states.isBeforeHide=!1)},{default:withCtx(()=>{var pe;return[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([n.nsSelect.e("wrapper"),n.nsSelect.is("focused",n.isFocused),n.nsSelect.is("hovering",n.states.inputHovering),n.nsSelect.is("filterable",n.filterable),n.nsSelect.is("disabled",n.selectDisabled)]),onClick:t[7]||(t[7]=withModifiers((..._e)=>n.toggleMenu&&n.toggleMenu(..._e),["prevent"]))},[n.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(n.nsSelect.e("prefix"))},[renderSlot(n.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([n.nsSelect.e("selection"),n.nsSelect.is("near",n.multiple&&!n.$slots.prefix&&!!n.states.selected.length)])},[n.multiple?renderSlot(n.$slots,"tag",{key:0,data:n.states.selected,deleteTag:n.deleteTag,selectDisabled:n.selectDisabled},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.showTagList,_e=>(openBlock(),createElementBlock("div",{key:n.getValueKey(_e),class:normalizeClass(n.nsSelect.e("selected-item"))},[createVNode$1(V,{closable:!n.selectDisabled&&!_e.isDisabled,size:n.collapseTagSize,type:n.tagType,effect:n.tagEffect,"disable-transitions":"",style:normalizeStyle$1(n.tagStyle),onClose:Ce=>n.deleteTag(Ce,_e)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(n.nsSelect.e("tags-text"))},[renderSlot(n.$slots,"label",{index:_e.index,label:_e.currentLabel,value:_e.value},()=>[createTextVNode(toDisplayString(_e.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),n.collapseTags&&n.states.selected.length>n.maxCollapseTags?(openBlock(),createBlock(re,{key:0,ref:"tagTooltipRef",disabled:n.dropdownMenuVisible||!n.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:n.effect,placement:"bottom","popper-class":n.popperClass,"popper-style":n.popperStyle,teleported:n.teleported,"popper-options":n.popperOptions},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(n.nsSelect.e("selected-item"))},[createVNode$1(V,{closable:!1,size:n.collapseTagSize,type:n.tagType,effect:n.tagEffect,"disable-transitions":"",style:normalizeStyle$1(n.collapseTagStyle)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(n.nsSelect.e("tags-text"))}," + "+toDisplayString(n.states.selected.length-n.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(n.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.collapseTagList,_e=>(openBlock(),createElementBlock("div",{key:n.getValueKey(_e),class:normalizeClass(n.nsSelect.e("selected-item"))},[createVNode$1(V,{class:"in-tooltip",closable:!n.selectDisabled&&!_e.isDisabled,size:n.collapseTagSize,type:n.tagType,effect:n.tagEffect,"disable-transitions":"",onClose:Ce=>n.deleteTag(Ce,_e)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(n.nsSelect.e("tags-text"))},[renderSlot(n.$slots,"label",{index:_e.index,label:_e.currentLabel,value:_e.value},()=>[createTextVNode(toDisplayString(_e.currentLabel),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported","popper-options"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([n.nsSelect.e("selected-item"),n.nsSelect.e("input-wrapper"),n.nsSelect.is("hidden",!n.filterable||n.selectDisabled)])},[withDirectives(createBaseVNode("input",{id:n.inputId,ref:"inputRef","onUpdate:modelValue":t[0]||(t[0]=_e=>n.states.inputValue=_e),type:"text",name:n.name,class:normalizeClass([n.nsSelect.e("input"),n.nsSelect.is(n.selectSize)]),disabled:n.selectDisabled,autocomplete:n.autocomplete,style:normalizeStyle$1(n.inputStyle),tabindex:n.tabindex,role:"combobox",readonly:!n.filterable,spellcheck:"false","aria-activedescendant":((pe=n.hoverOption)==null?void 0:pe.id)||"","aria-controls":n.contentId,"aria-expanded":n.dropdownMenuVisible,"aria-label":n.ariaLabel,"aria-autocomplete":"none","aria-haspopup":"listbox",onKeydown:t[1]||(t[1]=(..._e)=>n.handleKeydown&&n.handleKeydown(..._e)),onCompositionstart:t[2]||(t[2]=(..._e)=>n.handleCompositionStart&&n.handleCompositionStart(..._e)),onCompositionupdate:t[3]||(t[3]=(..._e)=>n.handleCompositionUpdate&&n.handleCompositionUpdate(..._e)),onCompositionend:t[4]||(t[4]=(..._e)=>n.handleCompositionEnd&&n.handleCompositionEnd(..._e)),onInput:t[5]||(t[5]=(..._e)=>n.onInput&&n.onInput(..._e)),onClick:t[6]||(t[6]=withModifiers((..._e)=>n.toggleMenu&&n.toggleMenu(..._e),["stop"]))},null,46,_hoisted_1$1u),[[vModelText,n.states.inputValue]]),n.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(n.nsSelect.e("input-calculator")),textContent:toDisplayString(n.states.inputValue)},null,10,_hoisted_2$V)):createCommentVNode("v-if",!0)],2),n.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([n.nsSelect.e("selected-item"),n.nsSelect.e("placeholder"),n.nsSelect.is("transparent",!n.hasModelValue||n.expanded&&!n.states.inputValue)])},[n.hasModelValue?renderSlot(n.$slots,"label",{key:0,index:n.getOption(n.modelValue).index,label:n.currentPlaceholder,value:n.modelValue},()=>[createBaseVNode("span",null,toDisplayString(n.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",_hoisted_3$p,toDisplayString(n.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(n.nsSelect.e("suffix"))},[n.iconComponent&&!n.showClearBtn?(openBlock(),createBlock(ie,{key:0,class:normalizeClass([n.nsSelect.e("caret"),n.nsSelect.e("icon"),n.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),n.showClearBtn&&n.clearIcon?(openBlock(),createBlock(ie,{key:1,class:normalizeClass([n.nsSelect.e("caret"),n.nsSelect.e("icon"),n.nsSelect.e("clear")]),onClick:n.handleClearClick},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),n.validateState&&n.validateIcon&&n.needStatusIcon?(openBlock(),createBlock(ie,{key:2,class:normalizeClass([n.nsInput.e("icon"),n.nsInput.e("validateIcon"),n.nsInput.is("loading",n.validateState==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]}),content:withCtx(()=>[createVNode$1(de,{ref:"menuRef"},{default:withCtx(()=>[n.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(n.nsSelect.be("dropdown","header")),onClick:t[8]||(t[8]=withModifiers(()=>{},["stop"]))},[renderSlot(n.$slots,"header")],2)):createCommentVNode("v-if",!0),withDirectives(createVNode$1(ue,{id:n.contentId,ref:"scrollbarRef",tag:"ul","wrap-class":n.nsSelect.be("dropdown","wrap"),"view-class":n.nsSelect.be("dropdown","list"),class:normalizeClass([n.nsSelect.is("empty",n.filteredOptionsCount===0)]),role:"listbox","aria-label":n.ariaLabel,"aria-orientation":"vertical",onScroll:n.popupScroll},{default:withCtx(()=>[n.showNewOption?(openBlock(),createBlock(ae,{key:0,value:n.states.inputValue,created:!0},null,8,["value"])):createCommentVNode("v-if",!0),createVNode$1(le,null,{default:withCtx(()=>[renderSlot(n.$slots,"default",{},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.options,(pe,_e)=>{var Ce;return openBlock(),createElementBlock(Fragment,{key:_e},[(Ce=n.getOptions(pe))!=null&&Ce.length?(openBlock(),createBlock(oe,{key:0,label:n.getLabel(pe),disabled:n.getDisabled(pe)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.getOptions(pe),xe=>(openBlock(),createBlock(ae,mergeProps({key:n.getValue(xe)},{ref_for:!0},n.getOptionProps(xe)),null,16))),128))]),_:2},1032,["label","disabled"])):(openBlock(),createBlock(ae,mergeProps({key:1,ref_for:!0},n.getOptionProps(pe)),null,16))],64)}),128))])]),_:3})]),_:3},8,["id","wrap-class","view-class","class","aria-label","onScroll"]),[[vShow,n.states.options.size>0&&!n.loading]]),n.$slots.loading&&n.loading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(n.nsSelect.be("dropdown","loading"))},[renderSlot(n.$slots,"loading")],2)):n.loading||n.filteredOptionsCount===0?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(n.nsSelect.be("dropdown","empty"))},[renderSlot(n.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(n.emptyText),1)])],2)):createCommentVNode("v-if",!0),n.$slots.footer?(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(n.nsSelect.be("dropdown","footer")),onClick:t[9]||(t[9]=withModifiers(()=>{},["stop"]))},[renderSlot(n.$slots,"footer")],2)):createCommentVNode("v-if",!0)]),_:3},512)]),_:3},8,["visible","placement","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],16)),[[he,n.handleClickOutside,n.popperRef]])}var Select$1=_export_sfc(_sfc_main$2y,[["render",_sfc_render$h],["__file","/home/runner/work/element-plus/element-plus/packages/components/select/src/select.vue"]]);const ElSelect=withInstall(Select$1,{Option,OptionGroup}),ElOption=withNoopInstall(Option),ElOptionGroup=withNoopInstall(OptionGroup),selectControllerProps=buildProps({date:{type:definePropType(Object),required:!0},formatter:{type:definePropType(Function)}}),selectControllerEmits={"date-change":n=>isObject$6(n)||isString$2(n)},_sfc_main$2x=defineComponent({name:"SelectController",__name:"select-controller",props:selectControllerProps,emits:selectControllerEmits,setup(n,{emit:t}){const r=n,i=t,g=useNamespace("calendar-select"),{t:$,lang:V}=useLocale(),re=Array.from({length:12},(he,pe)=>{const _e=pe+1,Ce=isFunction$4(r.formatter)?r.formatter(_e,"month"):_e;return{value:_e,label:Ce}}),ie=computed(()=>r.date.year()),ae=computed(()=>r.date.month()+1),oe=computed(()=>{const he=[];for(let pe=-10;pe<10;pe++){const _e=ie.value+pe;if(_e>0){const Ce=isFunction$4(r.formatter)?r.formatter(_e,"year"):_e;he.push({value:_e,label:Ce})}}return he}),le=he=>{i("date-change",dayjs(new Date(he,ae.value-1,1)).locale(V.value))},ue=he=>{i("date-change",dayjs(new Date(ie.value,he-1,1)).locale(V.value))},de=()=>{i("date-change","today")};return(he,pe)=>(openBlock(),createElementBlock(Fragment,null,[createVNode$1(unref(ElSelect),{"model-value":ie.value,size:"small",class:normalizeClass(unref(g).e("year")),"validate-event":!1,options:oe.value,onChange:le},null,8,["model-value","class","options"]),createVNode$1(unref(ElSelect),{"model-value":ae.value,size:"small",class:normalizeClass(unref(g).e("month")),"validate-event":!1,options:unref(re),onChange:ue},null,8,["model-value","class","options"]),createVNode$1(unref(ElButton),{size:"small",onClick:de},{default:withCtx(()=>[createTextVNode(toDisplayString(unref($)("el.datepicker.today")),1)]),_:1})],64))}});var SelectController=_export_sfc(_sfc_main$2x,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/select-controller.vue"]]);const COMPONENT_NAME$g="ElCalendar",_sfc_main$2w=defineComponent({name:COMPONENT_NAME$g,__name:"calendar",props:calendarProps,emits:calendarEmits,setup(n,{expose:t,emit:r}){const i=useNamespace("calendar"),g=n,$=r,{calculateValidatedDateRange:V,date:re,pickDay:ie,realSelectedDay:ae,selectDate:oe,validatedRange:le,handleDateChange:ue}=useCalendar(g,$),{t:de}=useLocale(),he=computed(()=>{const pe=`el.datepicker.month${re.value.format("M")}`;return`${re.value.year()} ${de("el.datepicker.year")} ${de(pe)}`});return t({selectedDay:ae,pickDay:ie,selectDate:oe,calculateValidatedDateRange:V}),(pe,_e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(i).b())},[createBaseVNode("div",{class:normalizeClass(unref(i).e("header"))},[renderSlot(pe.$slots,"header",{date:he.value},()=>[createBaseVNode("div",{class:normalizeClass(unref(i).e("title"))},toDisplayString(he.value),3),unref(le).length===0&&pe.controllerType==="button"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).e("button-group"))},[createVNode$1(unref(ElButtonGroup$1),null,{default:withCtx(()=>[createVNode$1(unref(ElButton),{size:"small",onClick:_e[0]||(_e[0]=Ce=>unref(oe)("prev-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(de)("el.datepicker.prevMonth")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:_e[1]||(_e[1]=Ce=>unref(oe)("today"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(de)("el.datepicker.today")),1)]),_:1}),createVNode$1(unref(ElButton),{size:"small",onClick:_e[2]||(_e[2]=Ce=>unref(oe)("next-month"))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(de)("el.datepicker.nextMonth")),1)]),_:1})]),_:1})],2)):unref(le).length===0&&pe.controllerType==="select"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(i).e("select-controller"))},[createVNode$1(SelectController,{date:unref(re),formatter:pe.formatter,onDateChange:unref(ue)},null,8,["date","formatter","onDateChange"])],2)):createCommentVNode("v-if",!0)])],2),unref(le).length===0?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).e("body"))},[createVNode$1(DateTable$1,{date:unref(re),"selected-day":unref(ae),onPick:unref(ie)},createSlots({_:2},[pe.$slots["date-cell"]?{name:"date-cell",fn:withCtx(Ce=>[renderSlot(pe.$slots,"date-cell",normalizeProps(guardReactiveProps(Ce)))]),key:"0"}:void 0]),1032,["date","selected-day","onPick"])],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(i).e("body"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(le),(Ce,xe)=>(openBlock(),createBlock(DateTable$1,{key:xe,date:Ce[0],"selected-day":unref(ae),range:Ce,"hide-header":xe!==0,onPick:unref(ie)},createSlots({_:2},[pe.$slots["date-cell"]?{name:"date-cell",fn:withCtx(Ie=>[renderSlot(pe.$slots,"date-cell",mergeProps({ref_for:!0},Ie))]),key:"0"}:void 0]),1032,["date","selected-day","range","hide-header","onPick"]))),128))],2))],2))}});var Calendar=_export_sfc(_sfc_main$2w,[["__file","/home/runner/work/element-plus/element-plus/packages/components/calendar/src/calendar.vue"]]);const ElCalendar=withInstall(Calendar),cardProps=buildProps({header:{type:String,default:""},footer:{type:String,default:""},bodyStyle:{type:definePropType([String,Object,Array]),default:""},headerClass:String,bodyClass:String,footerClass:String,shadow:{type:String,values:["always","hover","never"],default:void 0}}),_sfc_main$2v=defineComponent({name:"ElCard",__name:"card",props:cardProps,setup(n){const t=useGlobalConfig("card"),r=useNamespace("card");return(i,g)=>{var $;return openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).b(),unref(r).is(`${i.shadow||(($=unref(t))==null?void 0:$.shadow)||"always"}-shadow`)])},[i.$slots.header||i.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(r).e("header"),i.headerClass])},[renderSlot(i.$slots,"header",{},()=>[createTextVNode(toDisplayString(i.header),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([unref(r).e("body"),i.bodyClass]),style:normalizeStyle$1(i.bodyStyle)},[renderSlot(i.$slots,"default")],6),i.$slots.footer||i.footer?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(r).e("footer"),i.footerClass])},[renderSlot(i.$slots,"footer",{},()=>[createTextVNode(toDisplayString(i.footer),1)])],2)):createCommentVNode("v-if",!0)],2)}}});var Card=_export_sfc(_sfc_main$2v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/card/src/card.vue"]]);const ElCard=withInstall(Card),carouselProps=buildProps({initialIndex:{type:Number,default:0},height:{type:String,default:""},trigger:{type:String,values:["hover","click"],default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:{type:String,values:["","none","outside"],default:""},arrow:{type:String,values:["always","hover","never"],default:"hover"},type:{type:String,values:["","card"],default:""},cardScale:{type:Number,default:.83},loop:{type:Boolean,default:!0},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},pauseOnHover:{type:Boolean,default:!0},motionBlur:Boolean}),carouselEmits={change:(n,t)=>[n,t].every(isNumber$2)},carouselContextKey=Symbol("carouselContextKey"),CAROUSEL_ITEM_NAME="ElCarouselItem",getOrderedChildren=(n,t,r)=>flattedChildren(n.subTree).filter($=>{var V;return isVNode($)&&((V=$.type)==null?void 0:V.name)===t&&!!$.component}).map($=>$.component.uid).map($=>r[$]).filter($=>!!$),useOrderedChildren=(n,t)=>{const r=shallowRef({}),i=shallowRef([]),g=new WeakMap,$=oe=>{r.value[oe.uid]=oe,triggerRef(r),onMounted(()=>{const le=oe.getVnode().el,ue=le.parentNode;if(!g.has(ue)){g.set(ue,[]);const de=ue.insertBefore.bind(ue);ue.insertBefore=(he,pe)=>(g.get(ue).some(Ce=>he===Ce||pe===Ce)&&triggerRef(r),de(he,pe))}g.get(ue).push(le)})},V=oe=>{delete r.value[oe.uid],triggerRef(r);const le=oe.getVnode().el,ue=le.parentNode,de=g.get(ue),he=de.indexOf(le);de.splice(he,1)},re=()=>{i.value=getOrderedChildren(n,t,r.value)},ie=oe=>oe.render();return{children:i,addChild:$,removeChild:V,ChildrenSorter:defineComponent({setup(oe,{slots:le}){return()=>(re(),le.default?h$1(ie,{render:le.default}):null)}})}},THROTTLE_TIME=300,useCarousel=(n,t,r)=>{const{children:i,addChild:g,removeChild:$,ChildrenSorter:V}=useOrderedChildren(getCurrentInstance(),CAROUSEL_ITEM_NAME),re=useSlots(),ie=ref(-1),ae=ref(null),oe=ref(!1),le=ref(),ue=ref(0),de=ref(!0),he=computed(()=>n.arrow!=="never"&&!unref(Ce)),pe=computed(()=>i.value.some(Sn=>Sn.props.label.toString().length>0)),_e=computed(()=>n.type==="card"),Ce=computed(()=>n.direction==="vertical"),xe=computed(()=>n.height!=="auto"?{height:n.height}:{height:`${ue.value}px`,overflow:"hidden"}),Ie=throttle$3(Sn=>{Fe(Sn)},THROTTLE_TIME,{trailing:!0}),Ne=throttle$3(Sn=>{Lt(Sn)},THROTTLE_TIME),Oe=Sn=>de.value?ie.value<=1?Sn<=1:Sn>1:!0;function $e(){ae.value&&(clearInterval(ae.value),ae.value=null)}function Ve(){n.interval<=0||!n.autoplay||ae.value||(ae.value=setInterval(()=>Ue(),n.interval))}const Ue=()=>{ie.value$n.props.name===Sn);kn.length>0&&(Sn=i.value.indexOf(kn[0]))}if(Sn=Number(Sn),Number.isNaN(Sn)||Sn!==Math.floor(Sn))return;const Tn=i.value.length,En=ie.value;Sn<0?ie.value=n.loop?Tn-1:0:Sn>=Tn?ie.value=n.loop?0:Tn-1:ie.value=Sn,En===ie.value&&ze(En),vn()}function ze(Sn){i.value.forEach((Tn,En)=>{Tn.translateItem(En,ie.value,Sn)})}function Pt(Sn,Tn){var En,kn,$n,An;const xn=unref(i),Ln=xn.length;if(Ln===0||!Sn.states.inStage)return!1;const Nn=Tn+1,Pn=Tn-1,On=Ln-1,Hn=xn[On].states.active,Xn=xn[0].states.active,In=(kn=(En=xn[Nn])==null?void 0:En.states)==null?void 0:kn.active,or=(An=($n=xn[Pn])==null?void 0:$n.states)==null?void 0:An.active;return Tn===On&&Xn||In?"left":Tn===0&&Hn||or?"right":!1}function qe(){oe.value=!0,n.pauseOnHover&&$e()}function Et(){oe.value=!1,Ve()}function kt(Sn){unref(Ce)||i.value.forEach((Tn,En)=>{Sn===Pt(Tn,En)&&(Tn.states.hover=!0)})}function At(){unref(Ce)||i.value.forEach(Sn=>{Sn.states.hover=!1})}function Dt(Sn){ie.value=Sn}function Lt(Sn){n.trigger==="hover"&&Sn!==ie.value&&(ie.value=Sn)}function jt(){Fe(ie.value-1)}function hn(){Fe(ie.value+1)}function vn(){$e(),n.pauseOnHover||Ve()}function _n(Sn){n.height==="auto"&&(ue.value=Sn)}function wn(){var Sn;const Tn=(Sn=re.default)==null?void 0:Sn.call(re);if(!Tn)return null;const kn=flattedChildren(Tn).filter($n=>isVNode($n)&&$n.type.name===CAROUSEL_ITEM_NAME);return(kn==null?void 0:kn.length)===2&&n.loop&&!_e.value?(de.value=!0,kn):(de.value=!1,null)}watch(()=>ie.value,(Sn,Tn)=>{ze(Tn),de.value&&(Sn=Sn%2,Tn=Tn%2),Tn>-1&&t(CHANGE_EVENT,Sn,Tn)});const bn=computed({get:()=>de.value?ie.value%2:ie.value,set:Sn=>ie.value=Sn});watch(()=>n.autoplay,Sn=>{Sn?Ve():$e()}),watch(()=>n.loop,()=>{Fe(ie.value)}),watch(()=>n.interval,()=>{vn()});const Cn=shallowRef();return onMounted(()=>{watch(()=>i.value,()=>{i.value.length>0&&Fe(n.initialIndex)},{immediate:!0}),Cn.value=useResizeObserver(le.value,()=>{ze()}),Ve()}),onBeforeUnmount(()=>{$e(),le.value&&Cn.value&&Cn.value.stop()}),provide(carouselContextKey,{root:le,isCardType:_e,isVertical:Ce,items:i,loop:n.loop,cardScale:n.cardScale,addItem:g,removeItem:$,setActiveItem:Fe,setContainerHeight:_n}),{root:le,activeIndex:ie,exposeActiveIndex:bn,arrowDisplay:he,hasLabel:pe,hover:oe,isCardType:_e,items:i,isVertical:Ce,containerStyle:xe,isItemsTwoLength:de,handleButtonEnter:kt,handleButtonLeave:At,handleIndicatorClick:Dt,handleMouseEnter:qe,handleMouseLeave:Et,setActiveItem:Fe,prev:jt,next:hn,PlaceholderItem:wn,isTwoLengthShow:Oe,ItemsSorter:V,throttledArrowClick:Ie,throttledIndicatorHover:Ne}},_hoisted_1$1t=["aria-label"],_hoisted_2$U=["aria-label"],_hoisted_3$o=["onMouseenter","onClick"],_hoisted_4$i=["aria-label"],_hoisted_5$a={key:0},_hoisted_6$4={key:2,xmlns:"http://www.w3.org/2000/svg",version:"1.1",style:{display:"none"}},COMPONENT_NAME$f="ElCarousel",_sfc_main$2u=defineComponent({name:COMPONENT_NAME$f,__name:"carousel",props:carouselProps,emits:carouselEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,{root:$,activeIndex:V,exposeActiveIndex:re,arrowDisplay:ie,hasLabel:ae,hover:oe,isCardType:le,items:ue,isVertical:de,containerStyle:he,handleButtonEnter:pe,handleButtonLeave:_e,handleIndicatorClick:Ce,handleMouseEnter:xe,handleMouseLeave:Ie,setActiveItem:Ne,prev:Oe,next:$e,PlaceholderItem:Ve,isTwoLengthShow:Ue,ItemsSorter:Fe,throttledArrowClick:ze,throttledIndicatorHover:Pt}=useCarousel(i,g),qe=useNamespace("carousel"),{t:Et}=useLocale(),kt=computed(()=>{const jt=[qe.b(),qe.m(i.direction)];return unref(le)&&jt.push(qe.m("card")),jt}),At=computed(()=>{const jt=[qe.e("indicators"),qe.em("indicators",i.direction)];return unref(ae)&&jt.push(qe.em("indicators","labels")),i.indicatorPosition==="outside"&&jt.push(qe.em("indicators","outside")),unref(de)&&jt.push(qe.em("indicators","right")),jt});function Dt(jt){if(!i.motionBlur)return;const hn=unref(de)?`${qe.namespace.value}-transitioning-vertical`:`${qe.namespace.value}-transitioning`;jt.currentTarget.classList.add(hn)}function Lt(jt){if(!i.motionBlur)return;const hn=unref(de)?`${qe.namespace.value}-transitioning-vertical`:`${qe.namespace.value}-transitioning`;jt.currentTarget.classList.remove(hn)}return t({activeIndex:re,setActiveItem:Ne,prev:Oe,next:$e}),(jt,hn)=>(openBlock(),createElementBlock("div",{ref_key:"root",ref:$,class:normalizeClass(kt.value),onMouseenter:hn[6]||(hn[6]=withModifiers((...vn)=>unref(xe)&&unref(xe)(...vn),["stop"])),onMouseleave:hn[7]||(hn[7]=withModifiers((...vn)=>unref(Ie)&&unref(Ie)(...vn),["stop"]))},[unref(ie)?(openBlock(),createBlock(Transition,{key:0,name:"carousel-arrow-left",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(qe).e("arrow"),unref(qe).em("arrow","left")]),"aria-label":unref(Et)("el.carousel.leftArrow"),onMouseenter:hn[0]||(hn[0]=vn=>unref(pe)("left")),onMouseleave:hn[1]||(hn[1]=(...vn)=>unref(_e)&&unref(_e)(...vn)),onClick:hn[2]||(hn[2]=withModifiers(vn=>unref(ze)(unref(V)-1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],42,_hoisted_1$1t),[[vShow,(jt.arrow==="always"||unref(oe))&&(jt.loop||unref(V)>0)]])]),_:1})):createCommentVNode("v-if",!0),unref(ie)?(openBlock(),createBlock(Transition,{key:1,name:"carousel-arrow-right",persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(qe).e("arrow"),unref(qe).em("arrow","right")]),"aria-label":unref(Et)("el.carousel.rightArrow"),onMouseenter:hn[3]||(hn[3]=vn=>unref(pe)("right")),onMouseleave:hn[4]||(hn[4]=(...vn)=>unref(_e)&&unref(_e)(...vn)),onClick:hn[5]||(hn[5]=withModifiers(vn=>unref(ze)(unref(V)+1),["stop"]))},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],42,_hoisted_2$U),[[vShow,(jt.arrow==="always"||unref(oe))&&(jt.loop||unref(V)[jt.indicatorPosition!=="none"?(openBlock(),createElementBlock("ul",{key:0,class:normalizeClass(At.value)},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ue),(vn,_n)=>withDirectives((openBlock(),createElementBlock("li",{key:_n,class:normalizeClass([unref(qe).e("indicator"),unref(qe).em("indicator",jt.direction),unref(qe).is("active",_n===unref(V))]),onMouseenter:wn=>unref(Pt)(_n),onClick:withModifiers(wn=>unref(Ce)(_n),["stop"])},[createBaseVNode("button",{class:normalizeClass(unref(qe).e("button")),"aria-label":unref(Et)("el.carousel.indicator",{index:_n+1})},[unref(ae)?(openBlock(),createElementBlock("span",_hoisted_5$a,toDisplayString(vn.props.label),1)):createCommentVNode("v-if",!0)],10,_hoisted_4$i)],42,_hoisted_3$o)),[[vShow,unref(Ue)(_n)]])),128))],2)):createCommentVNode("v-if",!0)]),_:1}),jt.motionBlur?(openBlock(),createElementBlock("svg",_hoisted_6$4,[...hn[8]||(hn[8]=[createBaseVNode("defs",null,[createBaseVNode("filter",{id:"elCarouselHorizontal"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"12,0"})]),createBaseVNode("filter",{id:"elCarouselVertical"},[createBaseVNode("feGaussianBlur",{in:"SourceGraphic",stdDeviation:"0,10"})])],-1)])])):createCommentVNode("v-if",!0)],34))}});var Carousel=_export_sfc(_sfc_main$2u,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel.vue"]]);const carouselItemProps=buildProps({name:{type:String,default:""},label:{type:[String,Number],default:""}}),useCarouselItem=n=>{const t=inject(carouselContextKey),r=getCurrentInstance(),i=ref(),g=ref(!1),$=ref(0),V=ref(1),re=ref(!1),ie=ref(!1),ae=ref(!1),oe=ref(!1),{isCardType:le,isVertical:ue,cardScale:de}=t;function he(Ne,Oe,$e){const Ve=$e-1,Ue=Oe-1,Fe=Oe+1,ze=$e/2;return Oe===0&&Ne===Ve?-1:Oe===Ve&&Ne===0?$e:Ne=ze?$e+1:Ne>Fe&&Ne-Oe>=ze?-2:Ne}function pe(Ne,Oe){var $e,Ve;const Ue=unref(ue)?(($e=t.root.value)==null?void 0:$e.offsetHeight)||0:((Ve=t.root.value)==null?void 0:Ve.offsetWidth)||0;return ae.value?Ue*((2-de)*(Ne-Oe)+1)/4:Ne{var Ve;const Ue=unref(le),Fe=(Ve=t.items.value.length)!=null?Ve:Number.NaN,ze=Ne===Oe;!Ue&&!isUndefined$1($e)&&(oe.value=ze||Ne===$e),!ze&&Fe>2&&t.loop&&(Ne=he(Ne,Oe,Fe));const Pt=unref(ue);re.value=ze,Ue?(ae.value=Math.round(Math.abs(Ne-Oe))<=1,$.value=pe(Ne,Oe),V.value=unref(re)?1:de):$.value=_e(Ne,Oe,Pt),ie.value=!0,ze&&i.value&&t.setContainerHeight(i.value.offsetHeight)};function xe(){if(t&&unref(le)){const Ne=t.items.value.findIndex(({uid:Oe})=>Oe===r.uid);t.setActiveItem(Ne)}}const Ie={props:n,states:reactive({hover:g,translate:$,scale:V,active:re,ready:ie,inStage:ae,animating:oe}),uid:r.uid,getVnode:()=>r.vnode,translateItem:Ce};return t.addItem(Ie),onBeforeUnmount(()=>{t.removeItem(Ie)}),{carouselItemRef:i,active:re,animating:oe,hover:g,inStage:ae,isVertical:ue,translate:$,isCardType:le,scale:V,ready:ie,handleItemClick:xe}},_sfc_main$2t=defineComponent({name:CAROUSEL_ITEM_NAME,__name:"carousel-item",props:carouselItemProps,setup(n){const t=n,r=useNamespace("carousel"),{carouselItemRef:i,active:g,animating:$,hover:V,inStage:re,isVertical:ie,translate:ae,isCardType:oe,scale:le,ready:ue,handleItemClick:de}=useCarouselItem(t),he=computed(()=>[r.e("item"),r.is("active",g.value),r.is("in-stage",re.value),r.is("hover",V.value),r.is("animating",$.value),{[r.em("item","card")]:oe.value,[r.em("item","card-vertical")]:oe.value&&ie.value}]),pe=computed(()=>{const Ce=`${`translate${unref(ie)?"Y":"X"}`}(${unref(ae)}px)`,xe=`scale(${unref(le)})`;return{transform:[Ce,xe].join(" ")}});return(_e,Ce)=>withDirectives((openBlock(),createElementBlock("div",{ref_key:"carouselItemRef",ref:i,class:normalizeClass(he.value),style:normalizeStyle$1(pe.value),onClick:Ce[0]||(Ce[0]=(...xe)=>unref(de)&&unref(de)(...xe))},[unref(oe)?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("mask"))},null,2)),[[vShow,!unref(g)]]):createCommentVNode("v-if",!0),renderSlot(_e.$slots,"default")],6)),[[vShow,unref(ue)]])}});var CarouselItem=_export_sfc(_sfc_main$2t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/carousel/src/carousel-item.vue"]]);const ElCarousel=withInstall(Carousel,{CarouselItem}),ElCarouselItem=withNoopInstall(CarouselItem),checkboxProps={modelValue:{type:[Number,String,Boolean],default:void 0},label:{type:[String,Boolean,Number,Object],default:void 0},value:{type:[String,Boolean,Number,Object],default:void 0},indeterminate:Boolean,disabled:{type:Boolean,default:void 0},checked:Boolean,name:{type:String,default:void 0},trueValue:{type:[String,Number],default:void 0},falseValue:{type:[String,Number],default:void 0},trueLabel:{type:[String,Number],default:void 0},falseLabel:{type:[String,Number],default:void 0},id:{type:String,default:void 0},border:Boolean,size:useSizeProp,tabindex:[String,Number],validateEvent:{type:Boolean,default:!0},ariaLabel:String,...useAriaProps(["ariaControls"])},checkboxEmits={[UPDATE_MODEL_EVENT]:n=>isString$2(n)||isNumber$2(n)||isBoolean$1(n),change:n=>isString$2(n)||isNumber$2(n)||isBoolean$1(n)},checkboxGroupContextKey=Symbol("checkboxGroupContextKey"),useCheckboxDisabled=({model:n,isChecked:t})=>{const r=inject(checkboxGroupContextKey,void 0),i=inject(formContextKey,void 0),g=computed(()=>{var V,re;const ie=(V=r==null?void 0:r.max)==null?void 0:V.value,ae=(re=r==null?void 0:r.min)==null?void 0:re.value;return!isUndefined$1(ie)&&n.value.length>=ie&&!t.value||!isUndefined$1(ae)&&n.value.length<=ae&&t.value});return{isDisabled:useFormDisabled(computed(()=>{var V,re;return r===void 0?(V=i==null?void 0:i.disabled)!=null?V:g.value:((re=r.disabled)==null?void 0:re.value)||g.value})),isLimitDisabled:g}},useCheckboxEvent=(n,{model:t,isLimitExceeded:r,hasOwnLabel:i,isDisabled:g,isLabeledByFormItem:$})=>{const V=inject(checkboxGroupContextKey,void 0),{formItem:re}=useFormItem(),{emit:ie}=getCurrentInstance();function ae(he){var pe,_e,Ce,xe;return[!0,n.trueValue,n.trueLabel].includes(he)?(_e=(pe=n.trueValue)!=null?pe:n.trueLabel)!=null?_e:!0:(xe=(Ce=n.falseValue)!=null?Ce:n.falseLabel)!=null?xe:!1}function oe(he,pe){ie(CHANGE_EVENT,ae(he),pe)}function le(he){if(r.value)return;const pe=he.target;ie(CHANGE_EVENT,ae(pe.checked),he)}async function ue(he){r.value||!i.value&&!g.value&&$.value&&(he.composedPath().some(Ce=>Ce.tagName==="LABEL")||(t.value=ae([!1,n.falseValue,n.falseLabel].includes(t.value)),await nextTick(),oe(t.value,he)))}const de=computed(()=>(V==null?void 0:V.validateEvent)||n.validateEvent);return watch(()=>n.modelValue,()=>{de.value&&(re==null||re.validate("change").catch(he=>void 0))}),{handleChange:le,onClickRoot:ue}},useCheckboxModel=n=>{const t=ref(!1),{emit:r}=getCurrentInstance(),i=inject(checkboxGroupContextKey,void 0),g=computed(()=>isUndefined$1(i)===!1),$=ref(!1),V=computed({get(){var re,ie;return g.value?(re=i==null?void 0:i.modelValue)==null?void 0:re.value:(ie=n.modelValue)!=null?ie:t.value},set(re){var ie,ae;g.value&&isArray$5(re)?($.value=((ie=i==null?void 0:i.max)==null?void 0:ie.value)!==void 0&&re.length>(i==null?void 0:i.max.value)&&re.length>V.value.length,$.value===!1&&((ae=i==null?void 0:i.changeEvent)==null||ae.call(i,re))):(r(UPDATE_MODEL_EVENT,re),t.value=re)}});return{model:V,isGroup:g,isLimitExceeded:$}},useCheckboxStatus=(n,t,{model:r})=>{const i=inject(checkboxGroupContextKey,void 0),g=ref(!1),$=computed(()=>isPropAbsent(n.value)?n.label:n.value),V=computed(()=>{const oe=r.value;return isBoolean$1(oe)?oe:isArray$5(oe)?isObject$6($.value)?oe.map(toRaw).some(le=>isEqual$1(le,$.value)):oe.map(toRaw).includes($.value):oe!=null?oe===n.trueValue||oe===n.trueLabel:!!oe}),re=useFormSize(computed(()=>{var oe;return(oe=i==null?void 0:i.size)==null?void 0:oe.value}),{prop:!0}),ie=useFormSize(computed(()=>{var oe;return(oe=i==null?void 0:i.size)==null?void 0:oe.value})),ae=computed(()=>!!t.default||!isPropAbsent($.value));return{checkboxButtonSize:re,isChecked:V,isFocused:g,checkboxSize:ie,hasOwnLabel:ae,actualValue:$}},useCheckbox=(n,t)=>{const{formItem:r}=useFormItem(),{model:i,isGroup:g,isLimitExceeded:$}=useCheckboxModel(n),{isFocused:V,isChecked:re,checkboxButtonSize:ie,checkboxSize:ae,hasOwnLabel:oe,actualValue:le}=useCheckboxStatus(n,t,{model:i}),{isDisabled:ue}=useCheckboxDisabled({model:i,isChecked:re}),{inputId:de,isLabeledByFormItem:he}=useFormItemInputId(n,{formItemContext:r,disableIdGeneration:oe,disableIdManagement:g}),{handleChange:pe,onClickRoot:_e}=useCheckboxEvent(n,{model:i,isLimitExceeded:$,hasOwnLabel:oe,isDisabled:ue,isLabeledByFormItem:he});return(()=>{function xe(){var Ie,Ne;isArray$5(i.value)&&!i.value.includes(le.value)?i.value.push(le.value):i.value=(Ne=(Ie=n.trueValue)!=null?Ie:n.trueLabel)!=null?Ne:!0}n.checked&&xe()})(),useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>g.value&&isPropAbsent(n.value))),useDeprecated({from:"true-label",replacement:"true-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!n.trueLabel)),useDeprecated({from:"false-label",replacement:"false-value",version:"3.0.0",scope:"el-checkbox",ref:"https://element-plus.org/en-US/component/checkbox.html"},computed(()=>!!n.falseLabel)),{inputId:de,isLabeledByFormItem:he,isChecked:re,isDisabled:ue,isFocused:V,checkboxButtonSize:ie,checkboxSize:ae,hasOwnLabel:oe,model:i,actualValue:le,handleChange:pe,onClickRoot:_e}},_hoisted_1$1s=["id","indeterminate","name","tabindex","disabled"],_sfc_main$2s=defineComponent({name:"ElCheckbox",__name:"checkbox",props:checkboxProps,emits:checkboxEmits,setup(n){const t=n,r=useSlots(),{inputId:i,isLabeledByFormItem:g,isChecked:$,isDisabled:V,isFocused:re,checkboxSize:ie,hasOwnLabel:ae,model:oe,actualValue:le,handleChange:ue,onClickRoot:de}=useCheckbox(t,r),he=computed(()=>{var xe,Ie,Ne,Oe;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(Ie=(xe=t.trueValue)!=null?xe:t.trueLabel)!=null?Ie:!0,"false-value":(Oe=(Ne=t.falseValue)!=null?Ne:t.falseLabel)!=null?Oe:!1}:{value:le.value}}),pe=useNamespace("checkbox"),_e=computed(()=>[pe.b(),pe.m(ie.value),pe.is("disabled",V.value),pe.is("bordered",t.border),pe.is("checked",$.value)]),Ce=computed(()=>[pe.e("input"),pe.is("disabled",V.value),pe.is("checked",$.value),pe.is("indeterminate",t.indeterminate),pe.is("focus",re.value)]);return(xe,Ie)=>(openBlock(),createBlock(resolveDynamicComponent(!unref(ae)&&unref(g)?"span":"label"),{for:!unref(ae)&&unref(g)?null:unref(i),class:normalizeClass(_e.value),"aria-controls":xe.indeterminate?xe.ariaControls:null,"aria-checked":xe.indeterminate?"mixed":void 0,"aria-label":xe.ariaLabel,onClick:unref(de)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(Ce.value)},[withDirectives(createBaseVNode("input",mergeProps({id:unref(i),"onUpdate:modelValue":Ie[0]||(Ie[0]=Ne=>isRef(oe)?oe.value=Ne:null),class:unref(pe).e("original"),type:"checkbox",indeterminate:xe.indeterminate,name:xe.name,tabindex:xe.tabindex,disabled:unref(V)},he.value,{onChange:Ie[1]||(Ie[1]=(...Ne)=>unref(ue)&&unref(ue)(...Ne)),onFocus:Ie[2]||(Ie[2]=Ne=>re.value=!0),onBlur:Ie[3]||(Ie[3]=Ne=>re.value=!1),onClick:Ie[4]||(Ie[4]=withModifiers(()=>{},["stop"]))}),null,16,_hoisted_1$1s),[[vModelCheckbox,unref(oe)]]),createBaseVNode("span",{class:normalizeClass(unref(pe).e("inner"))},null,2)],2),unref(ae)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(pe).e("label"))},[renderSlot(xe.$slots,"default"),xe.$slots.default?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(xe.label),1)],64))],2)):createCommentVNode("v-if",!0)]),_:3},8,["for","class","aria-controls","aria-checked","aria-label","onClick"]))}});var Checkbox=_export_sfc(_sfc_main$2s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox.vue"]]);const _hoisted_1$1r=["name","tabindex","disabled"],_sfc_main$2r=defineComponent({name:"ElCheckboxButton",__name:"checkbox-button",props:checkboxProps,emits:checkboxEmits,setup(n){const t=n,r=useSlots(),{isFocused:i,isChecked:g,isDisabled:$,checkboxButtonSize:V,model:re,actualValue:ie,handleChange:ae}=useCheckbox(t,r),oe=computed(()=>{var pe,_e,Ce,xe;return t.trueValue||t.falseValue||t.trueLabel||t.falseLabel?{"true-value":(_e=(pe=t.trueValue)!=null?pe:t.trueLabel)!=null?_e:!0,"false-value":(xe=(Ce=t.falseValue)!=null?Ce:t.falseLabel)!=null?xe:!1}:{value:ie.value}}),le=inject(checkboxGroupContextKey,void 0),ue=useNamespace("checkbox"),de=computed(()=>{var pe,_e,Ce,xe;const Ie=(_e=(pe=le==null?void 0:le.fill)==null?void 0:pe.value)!=null?_e:"";return{backgroundColor:Ie,borderColor:Ie,color:(xe=(Ce=le==null?void 0:le.textColor)==null?void 0:Ce.value)!=null?xe:"",boxShadow:Ie?`-1px 0 0 0 ${Ie}`:void 0}}),he=computed(()=>[ue.b("button"),ue.bm("button",V.value),ue.is("disabled",$.value),ue.is("checked",g.value),ue.is("focus",i.value)]);return(pe,_e)=>(openBlock(),createElementBlock("label",{class:normalizeClass(he.value)},[withDirectives(createBaseVNode("input",mergeProps({"onUpdate:modelValue":_e[0]||(_e[0]=Ce=>isRef(re)?re.value=Ce:null),class:unref(ue).be("button","original"),type:"checkbox",name:pe.name,tabindex:pe.tabindex,disabled:unref($)},oe.value,{onChange:_e[1]||(_e[1]=(...Ce)=>unref(ae)&&unref(ae)(...Ce)),onFocus:_e[2]||(_e[2]=Ce=>i.value=!0),onBlur:_e[3]||(_e[3]=Ce=>i.value=!1),onClick:_e[4]||(_e[4]=withModifiers(()=>{},["stop"]))}),null,16,_hoisted_1$1r),[[vModelCheckbox,unref(re)]]),pe.$slots.default||pe.label?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(ue).be("button","inner")),style:normalizeStyle$1(unref(g)?de.value:void 0)},[renderSlot(pe.$slots,"default",{},()=>[createTextVNode(toDisplayString(pe.label),1)])],6)):createCommentVNode("v-if",!0)],2))}});var CheckboxButton=_export_sfc(_sfc_main$2r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-button.vue"]]);const checkboxGroupProps=buildProps({modelValue:{type:definePropType(Array),default:()=>[]},disabled:{type:Boolean,default:void 0},min:Number,max:Number,size:useSizeProp,fill:String,textColor:String,tag:{type:String,default:"div"},validateEvent:{type:Boolean,default:!0},options:{type:definePropType(Array)},props:{type:definePropType(Object),default:()=>checkboxDefaultProps},type:{type:String,values:["checkbox","button"],default:"checkbox"},...useAriaProps(["ariaLabel"])}),checkboxGroupEmits={[UPDATE_MODEL_EVENT]:n=>isArray$5(n),change:n=>isArray$5(n)},checkboxDefaultProps={label:"label",value:"value",disabled:"disabled"},_sfc_main$2q=defineComponent({name:"ElCheckboxGroup",__name:"checkbox-group",props:checkboxGroupProps,emits:checkboxGroupEmits,setup(n,{emit:t}){const r=n,i=t,g=useNamespace("checkbox"),$=useFormDisabled(),{formItem:V}=useFormItem(),{inputId:re,isLabeledByFormItem:ie}=useFormItemInputId(r,{formItemContext:V}),ae=async he=>{i(UPDATE_MODEL_EVENT,he),await nextTick(),i(CHANGE_EVENT,he)},oe=computed({get(){return r.modelValue},set(he){ae(he)}}),le=computed(()=>({...checkboxDefaultProps,...r.props})),ue=he=>{const{label:pe,value:_e,disabled:Ce}=le.value,xe={label:he[pe],value:he[_e],disabled:he[Ce]};return{...omit$1(he,[pe,_e,Ce]),...xe}},de=computed(()=>r.type==="button"?CheckboxButton:Checkbox);return provide(checkboxGroupContextKey,{...pick$1(toRefs(r),["size","min","max","validateEvent","fill","textColor"]),disabled:$,modelValue:oe,changeEvent:ae}),watch(()=>r.modelValue,(he,pe)=>{r.validateEvent&&!isEqual$1(he,pe)&&(V==null||V.validate("change").catch(_e=>void 0))}),(he,pe)=>{var _e;return openBlock(),createBlock(resolveDynamicComponent(he.tag),{id:unref(re),class:normalizeClass(unref(g).b("group")),role:"group","aria-label":unref(ie)?void 0:he.ariaLabel||"checkbox-group","aria-labelledby":unref(ie)?(_e=unref(V))==null?void 0:_e.labelId:void 0},{default:withCtx(()=>[renderSlot(he.$slots,"default",{},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(he.options,(Ce,xe)=>(openBlock(),createBlock(resolveDynamicComponent(de.value),mergeProps({key:xe},{ref_for:!0},ue(Ce)),null,16))),128))])]),_:3},8,["id","class","aria-label","aria-labelledby"])}}});var CheckboxGroup=_export_sfc(_sfc_main$2q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/checkbox/src/checkbox-group.vue"]]);const ElCheckbox=withInstall(Checkbox,{CheckboxButton,CheckboxGroup}),ElCheckboxButton=withNoopInstall(CheckboxButton),ElCheckboxGroup=withNoopInstall(CheckboxGroup),radioPropsBase=buildProps({modelValue:{type:[String,Number,Boolean],default:void 0},size:useSizeProp,disabled:{type:Boolean,default:void 0},label:{type:[String,Number,Boolean],default:void 0},value:{type:[String,Number,Boolean],default:void 0},name:{type:String,default:void 0}}),radioProps=buildProps({...radioPropsBase,border:Boolean}),radioEmits={[UPDATE_MODEL_EVENT]:n=>isString$2(n)||isNumber$2(n)||isBoolean$1(n),[CHANGE_EVENT]:n=>isString$2(n)||isNumber$2(n)||isBoolean$1(n)},radioGroupKey=Symbol("radioGroupKey"),useRadio=(n,t)=>{const r=ref(),i=inject(radioGroupKey,void 0),g=computed(()=>!!i),$=computed(()=>isPropAbsent(n.value)?n.label:n.value),V=computed({get(){return g.value?i.modelValue:n.modelValue},set(le){g.value?i.changeEvent(le):t&&t(UPDATE_MODEL_EVENT,le),r.value.checked=n.modelValue===$.value}}),re=useFormSize(computed(()=>i==null?void 0:i.size)),ie=useFormDisabled(computed(()=>i==null?void 0:i.disabled)),ae=ref(!1),oe=computed(()=>ie.value||g.value&&V.value!==$.value?-1:0);return useDeprecated({from:"label act as value",replacement:"value",version:"3.0.0",scope:"el-radio",ref:"https://element-plus.org/en-US/component/radio.html"},computed(()=>g.value&&isPropAbsent(n.value))),{radioRef:r,isGroup:g,radioGroup:i,focus:ae,size:re,disabled:ie,tabIndex:oe,modelValue:V,actualValue:$}},_hoisted_1$1q=["value","name","disabled","checked"],_sfc_main$2p=defineComponent({name:"ElRadio",__name:"radio",props:radioProps,emits:radioEmits,setup(n,{emit:t}){const r=n,i=t,g=useNamespace("radio"),{radioRef:$,radioGroup:V,focus:re,size:ie,disabled:ae,modelValue:oe,actualValue:le}=useRadio(r,i);function ue(){nextTick(()=>i(CHANGE_EVENT,oe.value))}return(de,he)=>{var pe;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(g).b(),unref(g).is("disabled",unref(ae)),unref(g).is("focus",unref(re)),unref(g).is("bordered",de.border),unref(g).is("checked",unref(oe)===unref(le)),unref(g).m(unref(ie))])},[createBaseVNode("span",{class:normalizeClass([unref(g).e("input"),unref(g).is("disabled",unref(ae)),unref(g).is("checked",unref(oe)===unref(le))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:$,"onUpdate:modelValue":he[0]||(he[0]=_e=>isRef(oe)?oe.value=_e:null),class:normalizeClass(unref(g).e("original")),value:unref(le),name:de.name||((pe=unref(V))==null?void 0:pe.name),disabled:unref(ae),checked:unref(oe)===unref(le),type:"radio",onFocus:he[1]||(he[1]=_e=>re.value=!0),onBlur:he[2]||(he[2]=_e=>re.value=!1),onChange:ue,onClick:he[3]||(he[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$1q),[[vModelRadio,unref(oe)]]),createBaseVNode("span",{class:normalizeClass(unref(g).e("inner"))},null,2)],2),createBaseVNode("span",{class:normalizeClass(unref(g).e("label")),onKeydown:he[4]||(he[4]=withModifiers(()=>{},["stop"]))},[renderSlot(de.$slots,"default",{},()=>[createTextVNode(toDisplayString(de.label),1)])],34)],2)}}});var Radio=_export_sfc(_sfc_main$2p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio.vue"]]);const radioButtonProps=buildProps({...radioPropsBase}),_hoisted_1$1p=["value","name","disabled"],_sfc_main$2o=defineComponent({name:"ElRadioButton",__name:"radio-button",props:radioButtonProps,setup(n){const t=n,r=useNamespace("radio"),{radioRef:i,focus:g,size:$,disabled:V,modelValue:re,radioGroup:ie,actualValue:ae}=useRadio(t),oe=computed(()=>({backgroundColor:(ie==null?void 0:ie.fill)||"",borderColor:(ie==null?void 0:ie.fill)||"",boxShadow:ie!=null&&ie.fill?`-1px 0 0 0 ${ie.fill}`:"",color:(ie==null?void 0:ie.textColor)||""}));return(le,ue)=>{var de;return openBlock(),createElementBlock("label",{class:normalizeClass([unref(r).b("button"),unref(r).is("active",unref(re)===unref(ae)),unref(r).is("disabled",unref(V)),unref(r).is("focus",unref(g)),unref(r).bm("button",unref($))])},[withDirectives(createBaseVNode("input",{ref_key:"radioRef",ref:i,"onUpdate:modelValue":ue[0]||(ue[0]=he=>isRef(re)?re.value=he:null),class:normalizeClass(unref(r).be("button","original-radio")),value:unref(ae),type:"radio",name:le.name||((de=unref(ie))==null?void 0:de.name),disabled:unref(V),onFocus:ue[1]||(ue[1]=he=>g.value=!0),onBlur:ue[2]||(ue[2]=he=>g.value=!1),onClick:ue[3]||(ue[3]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_1$1p),[[vModelRadio,unref(re)]]),createBaseVNode("span",{class:normalizeClass(unref(r).be("button","inner")),style:normalizeStyle$1(unref(re)===unref(ae)?oe.value:{}),onKeydown:ue[4]||(ue[4]=withModifiers(()=>{},["stop"]))},[renderSlot(le.$slots,"default",{},()=>[createTextVNode(toDisplayString(le.label),1)])],38)],2)}}});var RadioButton=_export_sfc(_sfc_main$2o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-button.vue"]]);const radioGroupProps=buildProps({id:{type:String,default:void 0},size:useSizeProp,disabled:{type:Boolean,default:void 0},modelValue:{type:[String,Number,Boolean],default:void 0},fill:{type:String,default:""},textColor:{type:String,default:""},name:{type:String,default:void 0},validateEvent:{type:Boolean,default:!0},options:{type:definePropType(Array)},props:{type:definePropType(Object),default:()=>radioDefaultProps},type:{type:String,values:["radio","button"],default:"radio"},...useAriaProps(["ariaLabel"])}),radioGroupEmits=radioEmits,radioDefaultProps={label:"label",value:"value",disabled:"disabled"},_hoisted_1$1o=["id","aria-label","aria-labelledby"],_sfc_main$2n=defineComponent({name:"ElRadioGroup",__name:"radio-group",props:radioGroupProps,emits:radioGroupEmits,setup(n,{emit:t}){const r=n,i=t,g=useNamespace("radio"),$=useId(),V=ref(),{formItem:re}=useFormItem(),{inputId:ie,isLabeledByFormItem:ae}=useFormItemInputId(r,{formItemContext:re}),oe=pe=>{i(UPDATE_MODEL_EVENT,pe),nextTick(()=>i(CHANGE_EVENT,pe))};onMounted(()=>{const pe=V.value.querySelectorAll("[type=radio]"),_e=pe[0];!Array.from(pe).some(Ce=>Ce.checked)&&_e&&(_e.tabIndex=0)});const le=computed(()=>r.name||$.value),ue=computed(()=>({...radioDefaultProps,...r.props})),de=pe=>{const{label:_e,value:Ce,disabled:xe}=ue.value,Ie={label:pe[_e],value:pe[Ce],disabled:pe[xe]};return{...omit$1(pe,[_e,Ce,xe]),...Ie}},he=computed(()=>r.type==="button"?RadioButton:Radio);return provide(radioGroupKey,reactive({...toRefs(r),changeEvent:oe,name:le})),watch(()=>r.modelValue,(pe,_e)=>{r.validateEvent&&!isEqual$1(pe,_e)&&(re==null||re.validate("change").catch(Ce=>void 0))}),(pe,_e)=>(openBlock(),createElementBlock("div",{id:unref(ie),ref_key:"radioGroupRef",ref:V,class:normalizeClass(unref(g).b("group")),role:"radiogroup","aria-label":unref(ae)?void 0:pe.ariaLabel||"radio-group","aria-labelledby":unref(ae)?unref(re).labelId:void 0},[renderSlot(pe.$slots,"default",{},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(pe.options,(Ce,xe)=>(openBlock(),createBlock(resolveDynamicComponent(he.value),mergeProps({key:xe},{ref_for:!0},de(Ce)),null,16))),128))])],10,_hoisted_1$1o))}});var RadioGroup=_export_sfc(_sfc_main$2n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/radio/src/radio-group.vue"]]);const ElRadio=withInstall(Radio,{RadioButton,RadioGroup}),ElRadioGroup=withNoopInstall(RadioGroup),ElRadioButton=withNoopInstall(RadioButton),CASCADER_PANEL_INJECTION_KEY=Symbol();function isVNodeEmpty(n){return!!(isArray$5(n)?n.every(({type:t})=>t===Comment):(n==null?void 0:n.type)===Comment)}var NodeContent$1=defineComponent({name:"NodeContent",props:{node:{type:Object,required:!0}},setup(n){const t=useNamespace("cascader-node"),{renderLabelFn:r}=inject(CASCADER_PANEL_INJECTION_KEY),{node:i}=n,{data:g,label:$}=i,V=()=>{const re=r==null?void 0:r({node:i,data:g});return isVNodeEmpty(re)?$:re??$};return()=>createVNode$1("span",{class:t.e("label")},[V()])}});const _hoisted_1$1n=["id","aria-haspopup","aria-owns","aria-expanded","tabindex"],_sfc_main$2m=defineComponent({name:"ElCascaderNode",__name:"node",props:{node:{type:Object,required:!0},menuId:String},emits:["expand"],setup(n,{emit:t}){const r=n,i=t,g=inject(CASCADER_PANEL_INJECTION_KEY),$=useNamespace("cascader-node"),V=computed(()=>g.isHoverMenu),re=computed(()=>g.config.multiple),ie=computed(()=>g.config.checkStrictly),ae=computed(()=>g.config.showPrefix),oe=computed(()=>{var Fe;return(Fe=g.checkedNodes[0])==null?void 0:Fe.uid}),le=computed(()=>r.node.isDisabled),ue=computed(()=>r.node.isLeaf),de=computed(()=>ie.value&&!ue.value||!le.value),he=computed(()=>_e(g.expandingNode)),pe=computed(()=>ie.value&&g.checkedNodes.some(_e)),_e=Fe=>{var ze;const{level:Pt,uid:qe}=r.node;return((ze=Fe==null?void 0:Fe.pathNodes[Pt-1])==null?void 0:ze.uid)===qe},Ce=()=>{he.value||g.expandNode(r.node)},xe=Fe=>{const{node:ze}=r;Fe!==ze.checked&&g.handleCheckChange(ze,Fe)},Ie=()=>{g.lazyLoad(r.node,()=>{ue.value||Ce()})},Ne=Fe=>{V.value&&(Oe(),!ue.value&&i("expand",Fe))},Oe=()=>{const{node:Fe}=r;!de.value||Fe.loading||(Fe.loaded?Ce():Ie())},$e=()=>{ue.value&&!le.value&&!ie.value&&!re.value?Ue(!0):(g.config.checkOnClickNode&&(re.value||ie.value)||ue.value&&g.config.checkOnClickLeaf)&&!le.value?Ve(!r.node.checked):V.value||Oe()},Ve=Fe=>{ie.value?(xe(Fe),r.node.loaded&&Ce()):Ue(Fe)},Ue=Fe=>{r.node.loaded?(xe(Fe),!ie.value&&Ce()):Ie()};return(Fe,ze)=>(openBlock(),createElementBlock("li",{id:`${n.menuId}-${n.node.uid}`,role:"menuitem","aria-haspopup":!ue.value,"aria-owns":ue.value?void 0:n.menuId,"aria-expanded":he.value,tabindex:de.value?-1:void 0,class:normalizeClass([unref($).b(),unref($).is("selectable",ie.value),unref($).is("active",n.node.checked),unref($).is("disabled",!de.value),he.value&&"in-active-path",pe.value&&"in-checked-path"]),onMouseenter:Ne,onFocus:Ne,onClick:$e},[createCommentVNode(" prefix "),re.value&&ae.value?(openBlock(),createBlock(unref(ElCheckbox),{key:0,"model-value":n.node.checked,indeterminate:n.node.indeterminate,disabled:le.value,onClick:ze[0]||(ze[0]=withModifiers(()=>{},["stop"])),"onUpdate:modelValue":Ve},null,8,["model-value","indeterminate","disabled"])):ie.value&&ae.value?(openBlock(),createBlock(unref(ElRadio),{key:1,"model-value":oe.value,label:n.node.uid,disabled:le.value,"onUpdate:modelValue":Ve,onClick:ze[1]||(ze[1]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[createCommentVNode(` - Add an empty element to avoid render label, - do not use empty fragment here for https://github.com/vuejs/vue-next/pull/2485 - `),ze[2]||(ze[2]=createBaseVNode("span",null,null,-1))]),_:1},8,["model-value","label","disabled"])):ue.value&&n.node.checked?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref($).e("prefix"))},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createCommentVNode(" content "),createVNode$1(unref(NodeContent$1),{node:n.node},null,8,["node"]),createCommentVNode(" postfix "),ue.value?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:3},[n.node.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref($).is("loading"),unref($).e("postfix")])},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])):(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass(["arrow-right",unref($).e("postfix")])},{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1},8,["class"]))],64))],42,_hoisted_1$1n))}});var ElCascaderNode=_export_sfc(_sfc_main$2m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/node.vue"]]);const _sfc_main$2l=defineComponent({name:"ElCascaderMenu",__name:"menu",props:{nodes:{type:Array,required:!0},index:{type:Number,required:!0}},setup(n){const t=n,r=getCurrentInstance(),i=useNamespace("cascader-menu"),{t:g}=useLocale(),$=useId();let V,re;const ie=inject(CASCADER_PANEL_INJECTION_KEY),ae=ref(),oe=computed(()=>!t.nodes.length),le=computed(()=>!ie.initialLoaded),ue=computed(()=>`${$.value}-${t.index}`),de=Ce=>{V=Ce.target},he=Ce=>{var xe;if(!(!ie.isHoverMenu||!V||!ae.value))if(V.contains(Ce.target)){pe();const Ie=r.vnode.el,{left:Ne}=Ie.getBoundingClientRect(),{offsetWidth:Oe,offsetHeight:$e}=Ie,Ve=Ce.clientX-Ne,Ue=V.offsetTop,Fe=Ue+V.offsetHeight,ze=((xe=Ie.querySelector(`.${i.e("wrap")}`))==null?void 0:xe.scrollTop)||0;ae.value.innerHTML=` - - - `}else re||(re=window.setTimeout(_e,ie.config.hoverThreshold))},pe=()=>{re&&(clearTimeout(re),re=void 0)},_e=()=>{ae.value&&(ae.value.innerHTML="",pe())};return(Ce,xe)=>(openBlock(),createBlock(unref(ElScrollbar),{key:ue.value,tag:"ul",role:"menu",class:normalizeClass(unref(i).b()),"wrap-class":unref(i).e("wrap"),"view-class":[unref(i).e("list"),unref(i).is("empty",oe.value)],onMousemove:he,onMouseleave:_e},{default:withCtx(()=>{var Ie;return[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.nodes,Ne=>(openBlock(),createBlock(ElCascaderNode,{key:Ne.uid,node:Ne,"menu-id":ue.value,onExpand:de},null,8,["node","menu-id"]))),128)),le.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).e("empty-text"))},[createVNode$1(unref(ElIcon),{size:"14",class:normalizeClass(unref(i).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"]),createTextVNode(" "+toDisplayString(unref(g)("el.cascader.loading")),1)],2)):oe.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(i).e("empty-text"))},[renderSlot(Ce.$slots,"empty",{},()=>[createTextVNode(toDisplayString(unref(g)("el.cascader.noData")),1)])],2)):(Ie=unref(ie))!=null&&Ie.isHoverMenu?(openBlock(),createElementBlock(Fragment,{key:2},[createCommentVNode(" eslint-disable vue/html-self-closing "),(openBlock(),createElementBlock("svg",{ref_key:"hoverZone",ref:ae,class:normalizeClass(unref(i).e("hover-zone"))},null,2))],2112)):createCommentVNode("v-if",!0),createCommentVNode(" eslint-enable vue/html-self-closing ")]}),_:3},8,["class","wrap-class","view-class"]))}});var ElCascaderMenu=_export_sfc(_sfc_main$2l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/menu.vue"]]);let uid=0;const calculatePathNodes=n=>{const t=[n];let{parent:r}=n;for(;r;)t.unshift(r),r=r.parent;return t};let Node$2=class mi{constructor(t,r,i,g=!1){this.data=t,this.config=r,this.parent=i,this.root=g,this.uid=uid++,this.checked=!1,this.indeterminate=!1,this.loading=!1;const{value:$,label:V,children:re}=r,ie=t[re],ae=calculatePathNodes(this);this.level=g?0:i?i.level+1:1,this.value=t[$],this.label=t[V],this.pathNodes=ae,this.pathValues=ae.map(oe=>oe.value),this.pathLabels=ae.map(oe=>oe.label),this.childrenData=ie,this.children=(ie||[]).map(oe=>new mi(oe,r,this)),this.loaded=!r.lazy||this.isLeaf||!isEmpty(ie),this.text=""}get isDisabled(){const{data:t,parent:r,config:i}=this,{disabled:g,checkStrictly:$}=i;return(isFunction$4(g)?g(t,this):!!t[g])||!$&&!!(r!=null&&r.isDisabled)}get isLeaf(){const{data:t,config:r,childrenData:i,loaded:g}=this,{lazy:$,leaf:V}=r,re=isFunction$4(V)?V(t,this):t[V];return isUndefined$1(re)?$&&!g?!1:!(isArray$5(i)&&i.length):!!re}get valueByOption(){return this.config.emitPath?this.pathValues:this.value}appendChild(t){const{childrenData:r,children:i}=this,g=new mi(t,this.config,this);return isArray$5(r)?r.push(t):this.childrenData=[t],i.push(g),g}calcText(t,r){const i=t?this.pathLabels.join(r):this.label;return this.text=i,i}broadcast(t){this.children.forEach(r=>{var i;r&&(r.broadcast(t),(i=r.onParentCheck)==null||i.call(r,t))})}emit(){var t;const{parent:r}=this;r&&((t=r.onChildCheck)==null||t.call(r),r.emit())}onParentCheck(t){this.isDisabled||this.setCheckState(t)}onChildCheck(){const{children:t}=this,r=t.filter(g=>!g.isDisabled),i=r.length?r.every(g=>g.checked):!1;this.setCheckState(i)}setCheckState(t){const r=this.children.length,i=this.children.reduce((g,$)=>{const V=$.checked?1:$.indeterminate?.5:0;return g+V},0);this.checked=this.loaded&&this.children.filter(g=>!g.isDisabled).every(g=>g.loaded&&g.checked)&&t,this.indeterminate=this.loaded&&i!==r&&i>0}doCheck(t){if(this.checked===t)return;const{checkStrictly:r,multiple:i}=this.config;r||!i?this.checked=t:(this.broadcast(t),this.setCheckState(t),this.emit())}};const flatNodes=(n,t)=>n.reduce((r,i)=>(i.isLeaf?r.push(i):(!t&&r.push(i),r=r.concat(flatNodes(i.children,t))),r),[]);class Store{constructor(t,r){this.config=r;const i=(t||[]).map(g=>new Node$2(g,this.config));this.nodes=i,this.allNodes=flatNodes(i,!1),this.leafNodes=flatNodes(i,!0)}getNodes(){return this.nodes}getFlattedNodes(t){return t?this.leafNodes:this.allNodes}appendNode(t,r){const i=r?r.appendChild(t):new Node$2(t,this.config);r||this.nodes.push(i),this.appendAllNodesAndLeafNodes(i)}appendNodes(t,r){t.length>0?t.forEach(i=>this.appendNode(i,r)):r&&r.isLeaf&&this.leafNodes.push(r)}appendAllNodesAndLeafNodes(t){this.allNodes.push(t),t.isLeaf&&this.leafNodes.push(t),t.children&&t.children.forEach(r=>{this.appendAllNodesAndLeafNodes(r)})}getNodeByValue(t,r=!1){return isPropAbsent(t)?null:this.getFlattedNodes(r).find(g=>isEqual$1(g.value,t)||isEqual$1(g.pathValues,t))||null}getSameNode(t){return t&&this.getFlattedNodes(!1).find(({value:i,level:g})=>isEqual$1(t.value,i)&&t.level===g)||null}}const CommonProps=buildProps({modelValue:{type:definePropType([Number,String,Array,Object])},options:{type:definePropType(Array),default:()=>[]},props:{type:definePropType(Object),default:()=>({})}}),DefaultProps={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:NOOP,value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500,checkOnClickNode:!1,checkOnClickLeaf:!0,showPrefix:!0},cascaderPanelProps=buildProps({...CommonProps,border:{type:Boolean,default:!0},renderLabel:{type:Function}}),emitChangeFn$2=n=>!0,cascaderPanelEmits={[UPDATE_MODEL_EVENT]:emitChangeFn$2,[CHANGE_EVENT]:emitChangeFn$2,close:()=>!0,"expand-change":n=>n},useCascaderConfig=n=>computed(()=>({...DefaultProps,...n.props})),getMenuIndex=n=>{if(!n)return 0;const t=n.id.split("-");return Number(t[t.length-2])},checkNode=n=>{if(!n)return;const t=n.querySelector("input");t?t.click():isLeaf(n)&&n.click()},sortByOriginalOrder=(n,t)=>{const r=t.slice(0),i=r.map($=>$.uid),g=n.reduce(($,V)=>{const re=i.indexOf(V.uid);return re>-1&&($.push(V),r.splice(re,1),i.splice(re,1)),$},[]);return g.push(...r),g},_sfc_main$2k=defineComponent({name:"ElCascaderPanel",__name:"index",props:cascaderPanelProps,emits:cascaderPanelEmits,setup(n,{expose:t,emit:r}){const i=n,g=r;let $=!1;const V=useNamespace("cascader"),re=useCascaderConfig(i),ie=useSlots();let ae;const oe=ref(!0),le=ref(!1),ue=ref([]),de=ref(),he=ref([]),pe=ref(),_e=ref([]),Ce=computed(()=>re.value.expandTrigger==="hover"),xe=computed(()=>i.renderLabel||ie.default),Ie=()=>{const{options:Lt}=i,jt=re.value;$=!1,ae=new Store(Lt,jt),he.value=[ae.getNodes()],jt.lazy&&isEmpty(i.options)?(oe.value=!1,Ne(void 0,hn=>{hn&&(ae=new Store(hn,jt),he.value=[ae.getNodes()]),oe.value=!0,qe(!1,!0)})):qe(!1,!0)},Ne=(Lt,jt)=>{const hn=re.value;Lt=Lt||new Node$2({},hn,void 0,!0),Lt.loading=!0;const vn=wn=>{const bn=Lt,Cn=bn.root?null:bn;bn.loading=!1,bn.loaded=!0,bn.childrenData=bn.childrenData||[],wn&&(ae==null||ae.appendNodes(wn,Cn)),wn&&(jt==null||jt(wn)),Lt.level===0&&(le.value=!0)},_n=()=>{Lt.loading=!1,Lt.loaded=!1,Lt.level===0&&(oe.value=!0)};hn.lazyLoad(Lt,vn,_n)},Oe=(Lt,jt)=>{var hn;const{level:vn}=Lt,_n=he.value.slice(0,vn);let wn;Lt.isLeaf?wn=Lt.pathNodes[vn-2]:(wn=Lt,_n.push(Lt.children)),((hn=pe.value)==null?void 0:hn.uid)!==(wn==null?void 0:wn.uid)&&(pe.value=Lt,he.value=_n,!jt&&g("expand-change",(Lt==null?void 0:Lt.pathValues)||[]))},$e=(Lt,jt,hn=!0)=>{const{checkStrictly:vn,multiple:_n}=re.value,wn=_e.value[0];$=!0,!_n&&(wn==null||wn.doCheck(!1)),Lt.doCheck(jt),Pt(),hn&&!_n&&!vn&&g("close"),!hn&&!_n&&Ve(Lt)},Ve=Lt=>{Lt&&(Lt=Lt.parent,Ve(Lt),Lt&&Oe(Lt))},Ue=Lt=>ae==null?void 0:ae.getFlattedNodes(Lt),Fe=Lt=>{var jt;return(jt=Ue(Lt))==null?void 0:jt.filter(({checked:hn})=>hn!==!1)},ze=()=>{_e.value.forEach(Lt=>Lt.doCheck(!1)),Pt(),he.value=he.value.slice(0,1),pe.value=void 0,g("expand-change",[])},Pt=()=>{var Lt;const{checkStrictly:jt,multiple:hn}=re.value,vn=_e.value,_n=Fe(!jt),wn=sortByOriginalOrder(vn,_n),bn=wn.map(Cn=>Cn.valueByOption);_e.value=wn,de.value=hn?bn:(Lt=bn[0])!=null?Lt:null},qe=(Lt=!1,jt=!1)=>{const{modelValue:hn}=i,{lazy:vn,multiple:_n,checkStrictly:wn}=re.value,bn=!wn;if(!(!oe.value||$||!jt&&isEqual$1(hn,de.value)))if(vn&&!Lt){const Sn=unique(flattenDeep(castArray(hn))).map(Tn=>ae==null?void 0:ae.getNodeByValue(Tn)).filter(Tn=>!!Tn&&!Tn.loaded&&!Tn.loading);Sn.length?Sn.forEach(Tn=>{Ne(Tn,()=>qe(!1,jt))}):qe(!0,jt)}else{const Cn=_n?castArray(hn):[hn],Sn=unique(Cn.map(Tn=>ae==null?void 0:ae.getNodeByValue(Tn,bn)));Et(Sn,jt),de.value=cloneDeep(hn??void 0)}},Et=(Lt,jt=!0)=>{const{checkStrictly:hn}=re.value,vn=_e.value,_n=Lt.filter(Cn=>!!Cn&&(hn||Cn.isLeaf)),wn=ae==null?void 0:ae.getSameNode(pe.value),bn=jt&&wn||_n[0];bn?bn.pathNodes.forEach(Cn=>Oe(Cn,!0)):pe.value=void 0,vn.forEach(Cn=>Cn.doCheck(!1)),reactive(_n).forEach(Cn=>Cn.doCheck(!0)),_e.value=_n,nextTick(kt)},kt=()=>{isClient&&ue.value.forEach(Lt=>{const jt=Lt==null?void 0:Lt.$el;if(jt){const hn=jt.querySelector(`.${V.namespace.value}-scrollbar__wrap`);let vn=jt.querySelector(`.${V.b("node")}.in-active-path`);if(!vn){const _n=jt.querySelectorAll(`.${V.b("node")}.${V.is("active")}`);vn=_n[_n.length-1]}scrollIntoView(hn,vn)}})},At=Lt=>{const jt=Lt.target,hn=getEventCode(Lt);switch(hn){case EVENT_CODE.up:case EVENT_CODE.down:{Lt.preventDefault();const vn=hn===EVENT_CODE.up?-1:1;focusNode(getSibling(jt,vn,`.${V.b("node")}[tabindex="-1"]`));break}case EVENT_CODE.left:{Lt.preventDefault();const vn=ue.value[getMenuIndex(jt)-1],_n=vn==null?void 0:vn.$el.querySelector(`.${V.b("node")}[aria-expanded="true"]`);focusNode(_n);break}case EVENT_CODE.right:{Lt.preventDefault();const vn=ue.value[getMenuIndex(jt)+1],_n=vn==null?void 0:vn.$el.querySelector(`.${V.b("node")}[tabindex="-1"]`);focusNode(_n);break}case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:checkNode(jt);break}};provide(CASCADER_PANEL_INJECTION_KEY,reactive({config:re,expandingNode:pe,checkedNodes:_e,isHoverMenu:Ce,initialLoaded:oe,renderLabelFn:xe,lazyLoad:Ne,expandNode:Oe,handleCheckChange:$e})),watch(re,(Lt,jt)=>{isEqual$1(Lt,jt)||Ie()},{immediate:!0}),watch(()=>i.options,Ie,{deep:!0}),watch(()=>i.modelValue,()=>{$=!1,qe()},{deep:!0}),watch(()=>de.value,Lt=>{isEqual$1(Lt,i.modelValue)||(g(UPDATE_MODEL_EVENT,Lt),g(CHANGE_EVENT,Lt))});const Dt=()=>{le.value||Ie()};return onBeforeUpdate(()=>ue.value=[]),onMounted(()=>!isEmpty(i.modelValue)&&qe()),t({menuList:ue,menus:he,checkedNodes:_e,handleKeyDown:At,handleCheckChange:$e,getFlattedNodes:Ue,getCheckedNodes:Fe,clearCheckedNodes:ze,calculateCheckedValue:Pt,scrollToExpandingNode:kt,loadLazyRootNodes:Dt}),(Lt,jt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(V).b("panel"),unref(V).is("bordered",Lt.border)]),onKeydown:At},[(openBlock(!0),createElementBlock(Fragment,null,renderList(he.value,(hn,vn)=>(openBlock(),createBlock(ElCascaderMenu,{key:vn,ref_for:!0,ref:_n=>ue.value[vn]=_n,index:vn,nodes:[...hn]},{empty:withCtx(()=>[renderSlot(Lt.$slots,"empty")]),_:3},8,["index","nodes"]))),128))],34))}});var CascaderPanel=_export_sfc(_sfc_main$2k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader-panel/src/index.vue"]]);const ElCascaderPanel=withInstall(CascaderPanel),cascaderProps=buildProps({...CommonProps,size:useSizeProp,placeholder:String,disabled:{type:Boolean,default:void 0},clearable:Boolean,clearIcon:{type:iconPropType,default:circle_close_default},filterable:Boolean,filterMethod:{type:definePropType(Function),default:(n,t)=>n.text.includes(t)},separator:{type:String,default:" / "},showAllLevels:{type:Boolean,default:!0},collapseTags:Boolean,maxCollapseTags:{type:Number,default:1},collapseTagsTooltip:Boolean,maxCollapseTagsTooltipHeight:{type:[String,Number]},debounce:{type:Number,default:300},beforeFilter:{type:definePropType(Function),default:()=>!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","bottom","top-start","top","right","left"]},popperClass:useTooltipContentProps.popperClass,popperStyle:useTooltipContentProps.popperStyle,teleported:useTooltipContentProps.teleported,effect:{type:definePropType(String),default:"light"},tagType:{...tagProps.type,default:"info"},tagEffect:{...tagProps.effect,default:"light"},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},showCheckedStrategy:{type:String,values:["parent","child"],default:"child"},checkOnClickNode:Boolean,showPrefix:{type:Boolean,default:!0},...useEmptyValuesProps}),emitChangeFn$1=n=>!0,cascaderEmits={[UPDATE_MODEL_EVENT]:emitChangeFn$1,[CHANGE_EVENT]:emitChangeFn$1,focus:n=>n instanceof FocusEvent,blur:n=>n instanceof FocusEvent,clear:()=>!0,visibleChange:n=>isBoolean$1(n),expandChange:n=>!!n,removeTag:n=>!!n},_hoisted_1$1m=["placeholder"],_hoisted_2$T=["onClick"],_sfc_main$2j=defineComponent({name:"ElCascader",__name:"cascader",props:cascaderProps,emits:cascaderEmits,setup(n,{expose:t,emit:r}){const i={modifiers:[{name:"arrowPosition",enabled:!0,phase:"main",fn:({state:Wn})=>{const{modifiersData:Jn,placement:sr}=Wn;["right","left","bottom","top"].includes(sr)||Jn.arrow&&(Jn.arrow.x=35)},requires:["arrow"]}]},g=n,$=r,V=useAttrs$1(),re=useSlots();let ie=0,ae=0;const oe=useNamespace("cascader"),le=useNamespace("input"),ue={small:7,default:11,large:15},{t:de}=useLocale(),{formItem:he}=useFormItem(),pe=useFormDisabled(),{valueOnClear:_e}=useEmptyValues(g),{isComposing:Ce,handleComposition:xe}=useComposition({afterComposition(Wn){var Jn;const sr=(Jn=Wn.target)==null?void 0:Jn.value;Un(sr)}}),Ie=ref(),Ne=ref(),Oe=ref(),$e=ref(),Ve=ref(),Ue=ref(),Fe=ref(!1),ze=ref(!1),Pt=ref(!1),qe=ref(""),Et=ref(""),kt=ref([]),At=ref([]),Dt=computed(()=>g.props.multiple?g.collapseTags?kt.value.slice(0,g.maxCollapseTags):kt.value:[]),Lt=computed(()=>g.props.multiple?g.collapseTags?kt.value.slice(g.maxCollapseTags):[]:[]),jt=computed(()=>V.style),hn=computed(()=>{var Wn;return(Wn=g.placeholder)!=null?Wn:de("el.cascader.placeholder")}),vn=computed(()=>Et.value||kt.value.length>0||Ce.value?"":hn.value),_n=useFormSize(),wn=computed(()=>_n.value==="small"?"small":"default"),bn=computed(()=>!!g.props.multiple),Cn=computed(()=>!g.filterable||bn.value),Sn=computed(()=>bn.value?Et.value:qe.value),Tn=computed(()=>{var Wn;return((Wn=Ve.value)==null?void 0:Wn.checkedNodes)||[]}),{wrapperRef:En,isFocused:kn,handleBlur:$n}=useFocusController(Oe,{disabled:pe,beforeBlur(Wn){var Jn,sr;return((Jn=Ie.value)==null?void 0:Jn.isFocusInsideContent(Wn))||((sr=Ne.value)==null?void 0:sr.isFocusInsideContent(Wn))},afterBlur(){var Wn;g.validateEvent&&((Wn=he==null?void 0:he.validate)==null||Wn.call(he,"blur").catch(Jn=>void 0))}}),An=computed(()=>!g.clearable||pe.value||Pt.value||!ze.value&&!kn.value?!1:!!Tn.value.length),xn=computed(()=>{const{showAllLevels:Wn,separator:Jn}=g,sr=Tn.value;return sr.length?bn.value?"":sr[0].calcText(Wn,Jn):""}),Ln=computed(()=>(he==null?void 0:he.validateState)||""),Nn=computed({get(){return cloneDeep(g.modelValue)},set(Wn){const Jn=Wn??_e.value;$(UPDATE_MODEL_EVENT,Jn),$(CHANGE_EVENT,Jn),g.validateEvent&&(he==null||he.validate("change").catch(sr=>void 0))}}),Pn=computed(()=>[oe.b(),oe.m(_n.value),oe.is("disabled",pe.value),V.class]),On=computed(()=>[le.e("icon"),"icon-arrow-down",oe.is("reverse",Fe.value)]),Hn=computed(()=>oe.is("focus",kn.value)),Xn=computed(()=>{var Wn,Jn;return(Jn=(Wn=Ie.value)==null?void 0:Wn.popperRef)==null?void 0:Jn.contentRef}),In=Wn=>{if(kn.value){const Jn=new FocusEvent("blur",Wn);$n(Jn)}or(!1)},or=Wn=>{var Jn,sr;pe.value||(Wn=Wn??!Fe.value,Wn!==Fe.value&&(Fe.value=Wn,(sr=(Jn=Oe.value)==null?void 0:Jn.input)==null||sr.setAttribute("aria-expanded",`${Wn}`),Wn?(Qn(),Ve.value&&nextTick(Ve.value.scrollToExpandingNode)):g.filterable&&rr(),$("visibleChange",Wn)))},Qn=()=>{nextTick(()=>{var Wn;(Wn=Ie.value)==null||Wn.updatePopper()})},Zn=()=>{Pt.value=!1},Gn=Wn=>{const{showAllLevels:Jn,separator:sr}=g;return{node:Wn,key:Wn.uid,text:Wn.calcText(Jn,sr),hitState:!1,closable:!pe.value&&!Wn.isDisabled}},Rn=Wn=>{var Jn;const sr=Wn.node;sr.doCheck(!1),(Jn=Ve.value)==null||Jn.calculateCheckedValue(),$("removeTag",sr.valueByOption)},Mn=()=>{switch(g.showCheckedStrategy){case"child":return Tn.value;case"parent":{const Wn=tr(!1),Jn=Wn.map(Sr=>Sr.value);return Wn.filter(Sr=>!Sr.parent||!Jn.includes(Sr.parent.value))}default:return[]}},Bn=()=>{if(!bn.value)return;const Wn=Mn(),Jn=[];Wn.forEach(sr=>Jn.push(Gn(sr))),kt.value=Jn},qn=()=>{var Wn,Jn;const{filterMethod:sr,showAllLevels:Sr,separator:Tr}=g,fr=(Jn=(Wn=Ve.value)==null?void 0:Wn.getFlattedNodes(!g.props.checkStrictly))==null?void 0:Jn.filter(_r=>_r.isDisabled?!1:(_r.calcText(Sr,Tr),sr(_r,Sn.value)));bn.value&&kt.value.forEach(_r=>{_r.hitState=!1}),Pt.value=!0,At.value=fr,Qn()},zn=()=>{var Wn;let Jn;Pt.value&&Ue.value?Jn=Ue.value.$el.querySelector(`.${oe.e("suggestion-item")}`):Jn=(Wn=Ve.value)==null?void 0:Wn.$el.querySelector(`.${oe.b("node")}[tabindex="-1"]`),Jn&&(Jn.focus(),!Pt.value&&Jn.click())},jn=()=>{var Wn,Jn,sr;const Sr=(Wn=Oe.value)==null?void 0:Wn.input,Tr=$e.value,fr=(Jn=Ue.value)==null?void 0:Jn.$el;if(!(!isClient||!Sr)){if(fr){const _r=fr.querySelector(`.${oe.e("suggestion-list")}`);_r.style.minWidth=`${Sr.offsetWidth}px`}if(Tr){const{offsetHeight:_r}=Tr,Cr=kt.value.length>0?`${Math.max(_r,ie)-2}px`:`${ie}px`;if(Sr.style.height=Cr,re.prefix){const zr=(sr=Oe.value)==null?void 0:sr.$el.querySelector(`.${le.e("prefix")}`);let Ur=0;zr&&(Ur=zr.offsetWidth,Ur>0&&(Ur+=ue[_n.value||"default"])),Tr.style.left=`${Ur}px`}else Tr.style.left="0";Qn()}}},tr=Wn=>{var Jn;return(Jn=Ve.value)==null?void 0:Jn.getCheckedNodes(Wn)},hr=Wn=>{Qn(),$("expandChange",Wn)},ir=Wn=>{if(Ce.value)return;switch(getEventCode(Wn)){case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:or();break;case EVENT_CODE.down:or(!0),nextTick(zn),Wn.preventDefault();break;case EVENT_CODE.esc:Fe.value===!0&&(Wn.preventDefault(),Wn.stopPropagation(),or(!1));break;case EVENT_CODE.tab:or(!1);break}},pr=()=>{var Wn;(Wn=Ve.value)==null||Wn.clearCheckedNodes(),!Fe.value&&g.filterable&&rr(),or(!1),$("clear")},rr=()=>{const{value:Wn}=xn;qe.value=Wn,Et.value=Wn},lr=Wn=>{var Jn,sr;const{checked:Sr}=Wn;bn.value?(Jn=Ve.value)==null||Jn.handleCheckChange(Wn,!Sr,!1):(!Sr&&((sr=Ve.value)==null||sr.handleCheckChange(Wn,!0,!1)),or(!1))},Yn=Wn=>{const Jn=Wn.target,sr=getEventCode(Wn);switch(sr){case EVENT_CODE.up:case EVENT_CODE.down:{Wn.preventDefault();const Sr=sr===EVENT_CODE.up?-1:1;focusNode(getSibling(Jn,Sr,`.${oe.e("suggestion-item")}[tabindex="-1"]`));break}case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:Jn.click();break}},er=()=>{const Wn=kt.value[kt.value.length-1];ae=Et.value?0:ae+1,!(!Wn||!ae||g.collapseTags&&kt.value.length>1)&&(Wn.hitState?Rn(Wn):Wn.hitState=!0)},Fn=computed(()=>g.debounce),cr=useDebounceFn(()=>{const{value:Wn}=Sn;if(!Wn)return;const Jn=g.beforeFilter(Wn);isPromise(Jn)?Jn.then(qn).catch(()=>{}):Jn!==!1?qn():Zn()},Fn),Un=(Wn,Jn)=>{!Fe.value&&or(!0),!(Jn!=null&&Jn.isComposing)&&(Wn?cr():Zn())},gr=Wn=>Number.parseFloat(useCssVar(le.cssVarName("input-height"),Wn).value)-2,vr=()=>{var Wn;(Wn=Oe.value)==null||Wn.focus()},yr=()=>{var Wn;(Wn=Oe.value)==null||Wn.blur()};return watch(Pt,Qn),watch([Tn,pe,()=>g.collapseTags,()=>g.maxCollapseTags],Bn),watch(kt,()=>{nextTick(()=>jn())}),watch(_n,async()=>{await nextTick();const Wn=Oe.value.input;ie=gr(Wn)||ie,jn()}),watch(xn,rr,{immediate:!0}),watch(()=>Fe.value,Wn=>{var Jn;Wn&&g.props.lazy&&g.props.lazyLoad&&((Jn=Ve.value)==null||Jn.loadLazyRootNodes())}),onMounted(()=>{const Wn=Oe.value.input,Jn=gr(Wn);ie=Wn.offsetHeight||Jn,useResizeObserver(Wn,jn)}),t({getCheckedNodes:tr,cascaderPanelRef:Ve,togglePopperVisible:or,contentRef:Xn,presentText:xn,focus:vr,blur:yr}),(Wn,Jn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"tooltipRef",ref:Ie,visible:Fe.value,teleported:Wn.teleported,"popper-class":[unref(oe).e("dropdown"),Wn.popperClass],"popper-style":Wn.popperStyle,"popper-options":i,"fallback-placements":Wn.fallbackPlacements,"stop-popper-mouse-event":!1,"gpu-acceleration":!1,placement:Wn.placement,transition:`${unref(oe).namespace.value}-zoom-in-top`,effect:Wn.effect,pure:"",persistent:Wn.persistent,onHide:Zn},{default:withCtx(()=>[withDirectives((openBlock(),createElementBlock("div",{ref_key:"wrapperRef",ref:En,class:normalizeClass(Pn.value),style:normalizeStyle$1(jt.value),onClick:Jn[8]||(Jn[8]=()=>or(Cn.value?void 0:!0)),onKeydown:ir,onMouseenter:Jn[9]||(Jn[9]=sr=>ze.value=!0),onMouseleave:Jn[10]||(Jn[10]=sr=>ze.value=!1)},[createVNode$1(unref(ElInput),{ref_key:"inputRef",ref:Oe,modelValue:qe.value,"onUpdate:modelValue":Jn[1]||(Jn[1]=sr=>qe.value=sr),placeholder:vn.value,readonly:Cn.value,disabled:unref(pe),"validate-event":!1,size:unref(_n),class:normalizeClass(Hn.value),tabindex:bn.value&&Wn.filterable&&!unref(pe)?-1:void 0,onCompositionstart:unref(xe),onCompositionupdate:unref(xe),onCompositionend:unref(xe),onInput:Un},createSlots({suffix:withCtx(()=>[An.value?(openBlock(),createBlock(unref(ElIcon),{key:"clear",class:normalizeClass([unref(le).e("icon"),"icon-circle-close"]),onClick:withModifiers(pr,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Wn.clearIcon)))]),_:1},8,["class"])):(openBlock(),createBlock(unref(ElIcon),{key:"arrow-down",class:normalizeClass(On.value),onClick:Jn[0]||(Jn[0]=withModifiers(sr=>or(),["stop"]))},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]))]),_:2},[Wn.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(Wn.$slots,"prefix")]),key:"0"}:void 0]),1032,["modelValue","placeholder","readonly","disabled","size","class","tabindex","onCompositionstart","onCompositionupdate","onCompositionend"]),bn.value?(openBlock(),createElementBlock("div",{key:0,ref_key:"tagWrapper",ref:$e,class:normalizeClass([unref(oe).e("tags"),unref(oe).is("validate",!!Ln.value)])},[renderSlot(Wn.$slots,"tag",{data:kt.value,deleteTag:Rn},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Dt.value,sr=>(openBlock(),createBlock(unref(ElTag),{key:sr.key,type:Wn.tagType,size:wn.value,effect:Wn.tagEffect,hit:sr.hitState,closable:sr.closable,"disable-transitions":"",onClose:Sr=>Rn(sr)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(sr.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))),128))]),Wn.collapseTags&&kt.value.length>Wn.maxCollapseTags?(openBlock(),createBlock(unref(ElTooltip),{key:0,ref_key:"tagTooltipRef",ref:Ne,disabled:Fe.value||!Wn.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],placement:"bottom","popper-class":Wn.popperClass,"popper-style":Wn.popperStyle,effect:Wn.effect,persistent:Wn.persistent},{default:withCtx(()=>[createVNode$1(unref(ElTag),{closable:!1,size:wn.value,type:Wn.tagType,effect:Wn.tagEffect,"disable-transitions":""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(unref(oe).e("tags-text"))}," + "+toDisplayString(kt.value.length-Wn.maxCollapseTags),3)]),_:1},8,["size","type","effect"])]),content:withCtx(()=>[createVNode$1(unref(ElScrollbar),{"max-height":Wn.maxCollapseTagsTooltipHeight},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(oe).e("collapse-tags"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Lt.value,(sr,Sr)=>(openBlock(),createElementBlock("div",{key:Sr,class:normalizeClass(unref(oe).e("collapse-tag"))},[(openBlock(),createBlock(unref(ElTag),{key:sr.key,class:"in-tooltip",type:Wn.tagType,size:wn.value,effect:Wn.tagEffect,hit:sr.hitState,closable:sr.closable,"disable-transitions":"",onClose:Tr=>Rn(sr)},{default:withCtx(()=>[createBaseVNode("span",null,toDisplayString(sr.text),1)]),_:2},1032,["type","size","effect","hit","closable","onClose"]))],2))),128))],2)]),_:1},8,["max-height"])]),_:1},8,["disabled","popper-class","popper-style","effect","persistent"])):createCommentVNode("v-if",!0),Wn.filterable&&!unref(pe)?withDirectives((openBlock(),createElementBlock("input",{key:1,"onUpdate:modelValue":Jn[2]||(Jn[2]=sr=>Et.value=sr),type:"text",class:normalizeClass(unref(oe).e("search-input")),placeholder:xn.value?"":hn.value,onInput:Jn[3]||(Jn[3]=sr=>Un(Et.value,sr)),onClick:Jn[4]||(Jn[4]=withModifiers(sr=>or(!0),["stop"])),onKeydown:withKeys(er,["delete"]),onCompositionstart:Jn[5]||(Jn[5]=(...sr)=>unref(xe)&&unref(xe)(...sr)),onCompositionupdate:Jn[6]||(Jn[6]=(...sr)=>unref(xe)&&unref(xe)(...sr)),onCompositionend:Jn[7]||(Jn[7]=(...sr)=>unref(xe)&&unref(xe)(...sr))},null,42,_hoisted_1$1m)),[[vModelText,Et.value]]):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38)),[[unref(ClickOutside),In,Xn.value]])]),content:withCtx(()=>[Wn.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(oe).e("header")),onClick:Jn[11]||(Jn[11]=withModifiers(()=>{},["stop"]))},[renderSlot(Wn.$slots,"header")],2)):createCommentVNode("v-if",!0),withDirectives(createVNode$1(unref(ElCascaderPanel),{ref_key:"cascaderPanelRef",ref:Ve,modelValue:Nn.value,"onUpdate:modelValue":Jn[12]||(Jn[12]=sr=>Nn.value=sr),options:Wn.options,props:g.props,border:!1,"render-label":Wn.$slots.default,onExpandChange:hr,onClose:Jn[13]||(Jn[13]=sr=>Wn.$nextTick(()=>or(!1)))},{empty:withCtx(()=>[renderSlot(Wn.$slots,"empty")]),_:3},8,["modelValue","options","props","render-label"]),[[vShow,!Pt.value]]),Wn.filterable?withDirectives((openBlock(),createBlock(unref(ElScrollbar),{key:1,ref_key:"suggestionPanel",ref:Ue,tag:"ul",class:normalizeClass(unref(oe).e("suggestion-panel")),"view-class":unref(oe).e("suggestion-list"),onKeydown:Yn},{default:withCtx(()=>[At.value.length?(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(At.value,sr=>(openBlock(),createElementBlock("li",{key:sr.uid,class:normalizeClass([unref(oe).e("suggestion-item"),unref(oe).is("checked",sr.checked)]),tabindex:-1,onClick:Sr=>lr(sr)},[renderSlot(Wn.$slots,"suggestion-item",{item:sr},()=>[createBaseVNode("span",null,toDisplayString(sr.text),1),sr.checked?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_2$T))),128)):renderSlot(Wn.$slots,"empty",{key:1},()=>[createBaseVNode("li",{class:normalizeClass(unref(oe).e("empty-text"))},toDisplayString(unref(de)("el.cascader.noMatch")),3)])]),_:3},8,["class","view-class"])),[[vShow,Pt.value]]):createCommentVNode("v-if",!0),Wn.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(oe).e("footer")),onClick:Jn[14]||(Jn[14]=withModifiers(()=>{},["stop"]))},[renderSlot(Wn.$slots,"footer")],2)):createCommentVNode("v-if",!0)]),_:3},8,["visible","teleported","popper-class","popper-style","fallback-placements","placement","transition","effect","persistent"]))}});var Cascader=_export_sfc(_sfc_main$2j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/cascader/src/cascader.vue"]]);const ElCascader=withInstall(Cascader),checkTagProps=buildProps({checked:Boolean,disabled:Boolean,type:{type:String,values:["primary","success","info","warning","danger"],default:"primary"}}),checkTagEmits={"update:checked":n=>isBoolean$1(n),[CHANGE_EVENT]:n=>isBoolean$1(n)},_sfc_main$2i=defineComponent({name:"ElCheckTag",__name:"check-tag",props:checkTagProps,emits:checkTagEmits,setup(n,{emit:t}){const r=n,i=t,g=useNamespace("check-tag"),$=computed(()=>[g.b(),g.is("checked",r.checked),g.is("disabled",r.disabled),g.m(r.type||"primary")]),V=()=>{if(r.disabled)return;const re=!r.checked;i(CHANGE_EVENT,re),i("update:checked",re)};return(re,ie)=>(openBlock(),createElementBlock("span",{class:normalizeClass($.value),onClick:V},[renderSlot(re.$slots,"default")],2))}});var CheckTag=_export_sfc(_sfc_main$2i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/check-tag/src/check-tag.vue"]]);const ElCheckTag=withInstall(CheckTag),colProps=buildProps({tag:{type:String,default:"div"},span:{type:Number,default:24},offset:{type:Number,default:0},pull:{type:Number,default:0},push:{type:Number,default:0},xs:{type:definePropType([Number,Object]),default:()=>mutable({})},sm:{type:definePropType([Number,Object]),default:()=>mutable({})},md:{type:definePropType([Number,Object]),default:()=>mutable({})},lg:{type:definePropType([Number,Object]),default:()=>mutable({})},xl:{type:definePropType([Number,Object]),default:()=>mutable({})}}),rowContextKey=Symbol("rowContextKey"),_sfc_main$2h=defineComponent({name:"ElCol",__name:"col",props:colProps,setup(n){const t=n,{gutter:r}=inject(rowContextKey,{gutter:computed(()=>0)}),i=useNamespace("col"),g=computed(()=>{const V={};return r.value&&(V.paddingLeft=V.paddingRight=`${r.value/2}px`),V}),$=computed(()=>{const V=[];return["span","offset","pull","push"].forEach(ae=>{const oe=t[ae];isNumber$2(oe)&&(ae==="span"?V.push(i.b(`${t[ae]}`)):oe>0&&V.push(i.b(`${ae}-${t[ae]}`)))}),["xs","sm","md","lg","xl"].forEach(ae=>{isNumber$2(t[ae])?V.push(i.b(`${ae}-${t[ae]}`)):isObject$6(t[ae])&&Object.entries(t[ae]).forEach(([oe,le])=>{V.push(oe!=="span"?i.b(`${ae}-${oe}-${le}`):i.b(`${ae}-${le}`))})}),r.value&&V.push(i.is("guttered")),[i.b(),V]});return(V,re)=>(openBlock(),createBlock(resolveDynamicComponent(V.tag),{class:normalizeClass($.value),style:normalizeStyle$1(g.value)},{default:withCtx(()=>[renderSlot(V.$slots,"default")]),_:3},8,["class","style"]))}});var Col=_export_sfc(_sfc_main$2h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/col/src/col.vue"]]);const ElCol=withInstall(Col),emitChangeFn=n=>isNumber$2(n)||isString$2(n)||isArray$5(n),collapseProps=buildProps({accordion:Boolean,modelValue:{type:definePropType([Array,String,Number]),default:()=>mutable([])},expandIconPosition:{type:definePropType([String]),default:"right"},beforeCollapse:{type:definePropType(Function)}}),collapseEmits={[UPDATE_MODEL_EVENT]:emitChangeFn,[CHANGE_EVENT]:emitChangeFn},collapseContextKey=Symbol("collapseContextKey"),SCOPE$5="ElCollapse",useCollapse=(n,t)=>{const r=ref(castArray$1(n.modelValue)),i=V=>{r.value=V;const re=n.accordion?r.value[0]:r.value;t(UPDATE_MODEL_EVENT,re),t(CHANGE_EVENT,re)},g=V=>{if(n.accordion)i([r.value[0]===V?"":V]);else{const re=[...r.value],ie=re.indexOf(V);ie>-1?re.splice(ie,1):re.push(V),i(re)}},$=async V=>{const{beforeCollapse:re}=n;if(!re){g(V);return}const ie=re(V);[isPromise(ie),isBoolean$1(ie)].includes(!0)||throwError$1(SCOPE$5,"beforeCollapse must return type `Promise` or `boolean`"),isPromise(ie)?ie.then(oe=>{oe!==!1&&g(V)}).catch(oe=>{}):ie&&g(V)};return watch(()=>n.modelValue,()=>r.value=castArray$1(n.modelValue),{deep:!0}),provide(collapseContextKey,{activeNames:r,handleItemClick:$}),{activeNames:r,setActiveNames:i}},useCollapseDOM=n=>{const t=useNamespace("collapse");return{rootKls:computed(()=>[t.b(),t.b(`icon-position-${n.expandIconPosition}`)])}},_sfc_main$2g=defineComponent({name:"ElCollapse",__name:"collapse",props:collapseProps,emits:collapseEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,{activeNames:$,setActiveNames:V}=useCollapse(i,g),{rootKls:re}=useCollapseDOM(i);return t({activeNames:$,setActiveNames:V}),(ie,ae)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(re))},[renderSlot(ie.$slots,"default")],2))}});var Collapse=_export_sfc(_sfc_main$2g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse.vue"]]);const _sfc_main$2f=defineComponent({name:"ElCollapseTransition",__name:"collapse-transition",setup(n){const t=useNamespace("collapse-transition"),r=g=>{g.style.maxHeight="",g.style.overflow=g.dataset.oldOverflow,g.style.paddingTop=g.dataset.oldPaddingTop,g.style.paddingBottom=g.dataset.oldPaddingBottom},i={beforeEnter(g){g.dataset||(g.dataset={}),g.dataset.oldPaddingTop=g.style.paddingTop,g.dataset.oldPaddingBottom=g.style.paddingBottom,g.style.height&&(g.dataset.elExistsHeight=g.style.height),g.style.maxHeight=0,g.style.paddingTop=0,g.style.paddingBottom=0},enter(g){requestAnimationFrame(()=>{g.dataset.oldOverflow=g.style.overflow,g.dataset.elExistsHeight?g.style.maxHeight=g.dataset.elExistsHeight:g.scrollHeight!==0?g.style.maxHeight=`${g.scrollHeight}px`:g.style.maxHeight=0,g.style.paddingTop=g.dataset.oldPaddingTop,g.style.paddingBottom=g.dataset.oldPaddingBottom,g.style.overflow="hidden"})},afterEnter(g){g.style.maxHeight="",g.style.overflow=g.dataset.oldOverflow},enterCancelled(g){r(g)},beforeLeave(g){g.dataset||(g.dataset={}),g.dataset.oldPaddingTop=g.style.paddingTop,g.dataset.oldPaddingBottom=g.style.paddingBottom,g.dataset.oldOverflow=g.style.overflow,g.style.maxHeight=`${g.scrollHeight}px`,g.style.overflow="hidden"},leave(g){g.scrollHeight!==0&&(g.style.maxHeight=0,g.style.paddingTop=0,g.style.paddingBottom=0)},afterLeave(g){r(g)},leaveCancelled(g){r(g)}};return(g,$)=>(openBlock(),createBlock(Transition,mergeProps({name:unref(t).b()},toHandlers(i)),{default:withCtx(()=>[renderSlot(g.$slots,"default")]),_:3},16,["name"]))}});var CollapseTransition=_export_sfc(_sfc_main$2f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse-transition/src/collapse-transition.vue"]]);const ElCollapseTransition=withInstall(CollapseTransition),collapseItemProps=buildProps({title:{type:String,default:""},name:{type:definePropType([String,Number]),default:void 0},icon:{type:iconPropType,default:arrow_right_default},disabled:Boolean}),useCollapseItem=n=>{const t=inject(collapseContextKey),{namespace:r}=useNamespace("collapse"),i=ref(!1),g=ref(!1),$=useIdInjection(),V=computed(()=>$.current++),re=computed(()=>{var ue;return(ue=n.name)!=null?ue:`${r.value}-id-${$.prefix}-${unref(V)}`}),ie=computed(()=>t==null?void 0:t.activeNames.value.includes(unref(re)));return{focusing:i,id:V,isActive:ie,handleFocus:()=>{setTimeout(()=>{g.value?g.value=!1:i.value=!0},50)},handleHeaderClick:ue=>{if(n.disabled)return;const de=ue.target;de!=null&&de.closest("input, textarea, select")||(t==null||t.handleItemClick(unref(re)),i.value=!1,g.value=!0)},handleEnterClick:ue=>{const de=ue.target;de!=null&&de.closest("input, textarea, select")||(ue.preventDefault(),t==null||t.handleItemClick(unref(re)))}}},useCollapseItemDOM=(n,{focusing:t,isActive:r,id:i})=>{const g=useNamespace("collapse"),$=computed(()=>[g.b("item"),g.is("active",unref(r)),g.is("disabled",n.disabled)]),V=computed(()=>[g.be("item","header"),g.is("active",unref(r)),{focusing:unref(t)&&!n.disabled}]),re=computed(()=>[g.be("item","arrow"),g.is("active",unref(r))]),ie=computed(()=>[g.be("item","title")]),ae=computed(()=>g.be("item","wrap")),oe=computed(()=>g.be("item","content")),le=computed(()=>g.b(`content-${unref(i)}`)),ue=computed(()=>g.b(`head-${unref(i)}`));return{itemTitleKls:ie,arrowKls:re,headKls:V,rootKls:$,itemWrapperKls:ae,itemContentKls:oe,scopedContentId:le,scopedHeadId:ue}},_hoisted_1$1l=["id","aria-expanded","aria-controls","aria-describedby","tabindex","aria-disabled"],_hoisted_2$S=["id","aria-hidden","aria-labelledby"],_sfc_main$2e=defineComponent({name:"ElCollapseItem",__name:"collapse-item",props:collapseItemProps,setup(n,{expose:t}){const r=n,{focusing:i,id:g,isActive:$,handleFocus:V,handleHeaderClick:re,handleEnterClick:ie}=useCollapseItem(r),{arrowKls:ae,headKls:oe,rootKls:le,itemTitleKls:ue,itemWrapperKls:de,itemContentKls:he,scopedContentId:pe,scopedHeadId:_e}=useCollapseItemDOM(r,{focusing:i,isActive:$,id:g});return t({isActive:$}),(Ce,xe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(le))},[createBaseVNode("div",{id:unref(_e),class:normalizeClass(unref(oe)),"aria-expanded":unref($),"aria-controls":unref(pe),"aria-describedby":unref(pe),tabindex:Ce.disabled?void 0:0,"aria-disabled":Ce.disabled,role:"button",onClick:xe[0]||(xe[0]=(...Ie)=>unref(re)&&unref(re)(...Ie)),onKeydown:xe[1]||(xe[1]=withKeys(withModifiers((...Ie)=>unref(ie)&&unref(ie)(...Ie),["stop"]),["space","enter"])),onFocus:xe[2]||(xe[2]=(...Ie)=>unref(V)&&unref(V)(...Ie)),onBlur:xe[3]||(xe[3]=Ie=>i.value=!1)},[createBaseVNode("span",{class:normalizeClass(unref(ue))},[renderSlot(Ce.$slots,"title",{isActive:unref($)},()=>[createTextVNode(toDisplayString(Ce.title),1)])],2),renderSlot(Ce.$slots,"icon",{isActive:unref($)},()=>[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(ae))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ce.icon)))]),_:1},8,["class"])])],42,_hoisted_1$1l),createVNode$1(unref(ElCollapseTransition),null,{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:unref(pe),role:"region",class:normalizeClass(unref(de)),"aria-hidden":!unref($),"aria-labelledby":unref(_e)},[createBaseVNode("div",{class:normalizeClass(unref(he))},[renderSlot(Ce.$slots,"default")],2)],10,_hoisted_2$S),[[vShow,unref($)]])]),_:3})],2))}});var CollapseItem=_export_sfc(_sfc_main$2e,[["__file","/home/runner/work/element-plus/element-plus/packages/components/collapse/src/collapse-item.vue"]]);const ElCollapse=withInstall(Collapse,{CollapseItem}),ElCollapseItem=withNoopInstall(CollapseItem),alphaSliderProps=buildProps({color:{type:definePropType(Object),required:!0},vertical:Boolean,disabled:Boolean}),hueSliderProps=alphaSliderProps;let isDragging=!1;function draggable(n,t){if(!isClient)return;const r=function($){var V;(V=t.drag)==null||V.call(t,$)},i=function($){var V;document.removeEventListener("mousemove",r),document.removeEventListener("mouseup",i),document.removeEventListener("touchmove",r),document.removeEventListener("touchend",i),document.onselectstart=null,document.ondragstart=null,isDragging=!1,(V=t.end)==null||V.call(t,$)},g=function($){var V;isDragging||(document.onselectstart=()=>!1,document.ondragstart=()=>!1,document.addEventListener("mousemove",r),document.addEventListener("mouseup",i),document.addEventListener("touchmove",r),document.addEventListener("touchend",i),isDragging=!0,(V=t.start)==null||V.call(t,$))};n.addEventListener("mousedown",g),n.addEventListener("touchstart",g,{passive:!1})}const getOffsetTop=n=>{let t=0,r=n;for(;r;)t+=r.offsetTop,r=r.offsetParent;return t},getOffsetTopDistance=(n,t)=>Math.abs(getOffsetTop(n)-getOffsetTop(t)),getClientXY=n=>{let t,r;return n.type==="touchend"?(r=n.changedTouches[0].clientY,t=n.changedTouches[0].clientX):n.type.startsWith("touch")?(r=n.touches[0].clientY,t=n.touches[0].clientX):(r=n.clientY,t=n.clientX),{clientX:t,clientY:r}},useSlider=(n,{key:t,minValue:r,maxValue:i})=>{const g=getCurrentInstance(),$=shallowRef(),V=shallowRef(),re=computed(()=>n.color.get(t));function ie(ue){var de;if(n.disabled)return;ue.target!==$.value&&ae(ue),(de=$.value)==null||de.focus()}function ae(ue){if(!V.value||!$.value||n.disabled)return;const he=g.vnode.el.getBoundingClientRect(),{clientX:pe,clientY:_e}=getClientXY(ue);let Ce;if(n.vertical){let xe=_e-he.top;xe=Math.max($.value.offsetHeight/2,xe),xe=Math.min(xe,he.height-$.value.offsetHeight/2),Ce=Math.round((xe-$.value.offsetHeight/2)/(he.height-$.value.offsetHeight)*i)}else{let xe=pe-he.left;xe=Math.max($.value.offsetWidth/2,xe),xe=Math.min(xe,he.width-$.value.offsetWidth/2),Ce=Math.round((xe-$.value.offsetWidth/2)/(he.width-$.value.offsetWidth)*i)}n.color.set(t,Ce)}function oe(ue){if(n.disabled)return;const{shiftKey:de}=ue,he=getEventCode(ue),pe=de?10:1,_e=t==="hue"?-1:1;let Ce=!0;switch(he){case EVENT_CODE.left:case EVENT_CODE.down:le(-pe*_e);break;case EVENT_CODE.right:case EVENT_CODE.up:le(pe*_e);break;case EVENT_CODE.home:n.color.set(t,t==="hue"?i:r);break;case EVENT_CODE.end:n.color.set(t,t==="hue"?r:i);break;case EVENT_CODE.pageDown:le(-4*_e);break;case EVENT_CODE.pageUp:le(4*_e);break;default:Ce=!1;break}Ce&&ue.preventDefault()}function le(ue){let de=re.value+ue;de=dei?i:de,n.color.set(t,de)}return{thumb:$,bar:V,currentValue:re,handleDrag:ae,handleClick:ie,handleKeydown:oe}},useSliderDOM=(n,{namespace:t,maxValue:r,bar:i,thumb:g,currentValue:$,handleDrag:V,getBackground:re})=>{const ie=getCurrentInstance(),ae=useNamespace(t),oe=ref(0),le=ref(0),ue=ref();function de(){if(!g.value||n.vertical)return 0;const Oe=ie.vnode.el,$e=$.value;return Oe?Math.round($e*(Oe.offsetWidth-g.value.offsetWidth/2)/r):0}function he(){if(!g.value)return 0;const Oe=ie.vnode.el;if(!n.vertical)return 0;const $e=$.value;return Oe?Math.round($e*(Oe.offsetHeight-g.value.offsetHeight/2)/r):0}function pe(){oe.value=de(),le.value=he(),ue.value=re==null?void 0:re()}onMounted(()=>{if(!i.value||!g.value)return;const Oe={drag:$e=>{V($e)},end:$e=>{V($e)}};draggable(i.value,Oe),draggable(g.value,Oe),pe()}),watch($,()=>pe()),watch(()=>n.color.value,()=>pe());const _e=computed(()=>[ae.b(),ae.is("vertical",n.vertical),ae.is("disabled",n.disabled)]),Ce=computed(()=>ae.e("bar")),xe=computed(()=>ae.e("thumb")),Ie=computed(()=>({background:ue.value})),Ne=computed(()=>({left:addUnit(oe.value),top:addUnit(le.value)}));return{rootKls:_e,barKls:Ce,barStyle:Ie,thumbKls:xe,thumbStyle:Ne,thumbLeft:oe,thumbTop:le,update:pe}},_hoisted_1$1k=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],minValue$1=0,maxValue$1=100,_sfc_main$2d=defineComponent({name:"ElColorAlphaSlider",__name:"alpha-slider",props:alphaSliderProps,setup(n,{expose:t}){const r=n,{currentValue:i,bar:g,thumb:$,handleDrag:V,handleClick:re,handleKeydown:ie}=useSlider(r,{key:"alpha",minValue:minValue$1,maxValue:maxValue$1}),{rootKls:ae,barKls:oe,barStyle:le,thumbKls:ue,thumbStyle:de,update:he}=useSliderDOM(r,{namespace:"color-alpha-slider",maxValue:maxValue$1,currentValue:i,bar:g,thumb:$,handleDrag:V,getBackground:xe}),{t:pe}=useLocale(),_e=computed(()=>pe("el.colorpicker.alphaLabel")),Ce=computed(()=>pe("el.colorpicker.alphaDescription",{alpha:i.value,color:r.color.value}));function xe(){if(r.color&&r.color.value){const{r:Ie,g:Ne,b:Oe}=r.color.toRgb();return`linear-gradient(to right, rgba(${Ie}, ${Ne}, ${Oe}, 0) 0%, rgba(${Ie}, ${Ne}, ${Oe}, 1) 100%)`}return""}return t({update:he,bar:g,thumb:$}),(Ie,Ne)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ae))},[createBaseVNode("div",{ref_key:"bar",ref:g,class:normalizeClass(unref(oe)),style:normalizeStyle$1(unref(le)),onClick:Ne[0]||(Ne[0]=(...Oe)=>unref(re)&&unref(re)(...Oe))},null,6),createBaseVNode("div",{ref_key:"thumb",ref:$,class:normalizeClass(unref(ue)),style:normalizeStyle$1(unref(de)),"aria-label":_e.value,"aria-valuenow":unref(i),"aria-valuetext":Ce.value,"aria-orientation":Ie.vertical?"vertical":"horizontal","aria-valuemin":minValue$1,"aria-valuemax":maxValue$1,role:"slider",tabindex:Ie.disabled?void 0:0,"aria-disabled":Ie.disabled,onKeydown:Ne[1]||(Ne[1]=(...Oe)=>unref(ie)&&unref(ie)(...Oe))},null,46,_hoisted_1$1k)],2))}});var AlphaSlider=_export_sfc(_sfc_main$2d,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker-panel/src/components/alpha-slider.vue"]]);const _hoisted_1$1j=["aria-label","aria-valuenow","aria-valuetext","aria-orientation","tabindex","aria-disabled"],minValue=0,maxValue=360,_sfc_main$2c=defineComponent({name:"ElColorHueSlider",__name:"hue-slider",props:hueSliderProps,setup(n,{expose:t}){const r=n,{currentValue:i,bar:g,thumb:$,handleDrag:V,handleClick:re,handleKeydown:ie}=useSlider(r,{key:"hue",minValue,maxValue}),{rootKls:ae,barKls:oe,thumbKls:le,thumbStyle:ue,thumbTop:de,update:he}=useSliderDOM(r,{namespace:"color-hue-slider",maxValue,currentValue:i,bar:g,thumb:$,handleDrag:V}),{t:pe}=useLocale(),_e=computed(()=>pe("el.colorpicker.hueLabel")),Ce=computed(()=>pe("el.colorpicker.hueDescription",{hue:i.value,color:r.color.value}));return t({bar:g,thumb:$,thumbTop:de,update:he}),(xe,Ie)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ae))},[createBaseVNode("div",{ref_key:"bar",ref:g,class:normalizeClass(unref(oe)),onClick:Ie[0]||(Ie[0]=(...Ne)=>unref(re)&&unref(re)(...Ne))},null,2),createBaseVNode("div",{ref_key:"thumb",ref:$,class:normalizeClass(unref(le)),style:normalizeStyle$1(unref(ue)),"aria-label":_e.value,"aria-valuenow":unref(i),"aria-valuetext":Ce.value,"aria-orientation":xe.vertical?"vertical":"horizontal","aria-valuemin":minValue,"aria-valuemax":maxValue,role:"slider",tabindex:xe.disabled?void 0:0,"aria-disabled":xe.disabled,onKeydown:Ie[1]||(Ie[1]=(...Ne)=>unref(ie)&&unref(ie)(...Ne))},null,46,_hoisted_1$1j)],2))}});var HueSlider=_export_sfc(_sfc_main$2c,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker-panel/src/components/hue-slider.vue"]]);const predefineProps=buildProps({colors:{type:definePropType(Array),required:!0},color:{type:definePropType(Object),required:!0},enableAlpha:{type:Boolean,required:!0},disabled:Boolean}),colorPickerPanelProps=buildProps({modelValue:{type:definePropType(String),default:void 0},border:{type:Boolean,default:!0},showAlpha:Boolean,colorFormat:String,disabled:Boolean,predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0}}),colorPickerPanelEmits={[UPDATE_MODEL_EVENT]:n=>isString$2(n)||isNil(n)},ROOT_COMMON_COLOR_INJECTION_KEY=Symbol("colorCommonPickerKey"),colorPickerPanelContextKey=Symbol("colorPickerPanelContextKey");let Color$1=class{constructor(t={}){this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this._tiny=new TinyColor,this._isValid=!1,this.enableAlpha=!1,this.format="",this.value="";for(const r in t)hasOwn$1(t,r)&&(this[r]=t[r]);t.value?this.fromString(t.value):this.doOnChange()}set(t,r){if(arguments.length===1&&typeof t=="object"){for(const i in t)hasOwn$1(t,i)&&this.set(i,t[i]);return}this[`_${t}`]=r,this._isValid=!0,this.doOnChange()}get(t){return["hue","saturation","value","alpha"].includes(t)?Math.round(this[`_${t}`]):this[`_${t}`]}toRgb(){return this._isValid?this._tiny.toRgb():{r:255,g:255,b:255,a:0}}fromString(t){const r=new TinyColor(t);if(this._isValid=r.isValid,r.isValid){const{h:i,s:g,v:$,a:V}=r.toHsv();this._hue=i,this._saturation=g*100,this._value=$*100,this._alpha=V*100}else this._hue=0,this._saturation=100,this._value=100,this._alpha=100;this.doOnChange()}clear(){this._isValid=!1,this.value="",this._hue=0,this._saturation=100,this._value=100,this._alpha=100}compare(t){const r=new TinyColor({h:t._hue,s:t._saturation/100,v:t._value/100,a:t._alpha/100});return this._tiny.equals(r)}doOnChange(){const{_hue:t,_saturation:r,_value:i,_alpha:g,format:$,enableAlpha:V}=this;let re=$||(V?"rgb":"hex");$==="hex"&&V&&(re="hex8"),this._tiny=new TinyColor({h:t,s:r/100,v:i/100,a:g/100}),this.value=this._isValid?this._tiny.toString(re):""}};const usePredefine=n=>{const{currentColor:t}=inject(colorPickerPanelContextKey),r=ref(g(n.colors,n.color));watch(()=>t.value,$=>{const V=new Color$1({value:$,enableAlpha:n.enableAlpha});r.value.forEach(re=>{re.selected=V.compare(re)})}),watchEffect(()=>{r.value=g(n.colors,n.color)});function i($){n.color.fromString(n.colors[$])}function g($,V){return $.map(re=>{const ie=new Color$1({value:re,enableAlpha:n.enableAlpha});return ie.selected=ie.compare(V),ie})}return{rgbaColors:r,handleSelect:i}},usePredefineDOM=n=>{const t=useNamespace("color-predefine"),r=computed(()=>[t.b(),t.is("disabled",n.disabled)]),i=computed(()=>t.e("colors"));function g($){return[t.e("color-selector"),t.is("alpha",$.get("alpha")<100),{selected:$.selected}]}return{rootKls:r,colorsKls:i,colorSelectorKls:g}},_hoisted_1$1i=["disabled","aria-label","onClick"],_sfc_main$2b=defineComponent({name:"ElColorPredefine",__name:"predefine",props:predefineProps,setup(n){const t=n,{rgbaColors:r,handleSelect:i}=usePredefine(t),{rootKls:g,colorsKls:$,colorSelectorKls:V}=usePredefineDOM(t),{t:re}=useLocale(),ie=ae=>re("el.colorpicker.predefineDescription",{value:ae});return(ae,oe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(g))},[createBaseVNode("div",{class:normalizeClass(unref($))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(r),(le,ue)=>(openBlock(),createElementBlock("button",{key:ae.colors[ue],type:"button",disabled:ae.disabled,"aria-label":ie(le.value),class:normalizeClass(unref(V)(le)),onClick:de=>unref(i)(ue)},[createBaseVNode("div",{style:normalizeStyle$1({backgroundColor:le.value})},null,4)],10,_hoisted_1$1i))),128))],2)],2))}});var Predefine=_export_sfc(_sfc_main$2b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker-panel/src/components/predefine.vue"]]);const svPanelProps=buildProps({color:{type:definePropType(Object),required:!0},disabled:Boolean}),useSvPanel=n=>{const t=getCurrentInstance(),r=ref(),i=ref(0),g=ref(0),$=ref("hsl(0, 100%, 50%)"),V=computed(()=>n.color.get("saturation")),re=computed(()=>n.color.get("value")),ie=computed(()=>n.color.get("hue"));function ae(he){var pe;if(n.disabled)return;he.target!==r.value&&oe(he),(pe=r.value)==null||pe.focus({preventScroll:!0})}function oe(he){if(n.disabled)return;const _e=t.vnode.el.getBoundingClientRect(),{clientX:Ce,clientY:xe}=getClientXY(he);let Ie=Ce-_e.left,Ne=xe-_e.top;Ie=Math.max(0,Ie),Ie=Math.min(Ie,_e.width),Ne=Math.max(0,Ne),Ne=Math.min(Ne,_e.height),g.value=Ie,i.value=Ne,n.color.set({saturation:Ie/_e.width*100,value:100-Ne/_e.height*100})}function le(he){if(n.disabled)return;const{shiftKey:pe}=he,_e=getEventCode(he),Ce=pe?10:1;let xe=!0;switch(_e){case EVENT_CODE.left:ue(-Ce);break;case EVENT_CODE.right:ue(Ce);break;case EVENT_CODE.up:de(Ce);break;case EVENT_CODE.down:de(-Ce);break;default:xe=!1;break}xe&&he.preventDefault()}function ue(he){let pe=V.value+he;pe=pe<0?0:pe>100?100:pe,n.color.set("saturation",pe)}function de(he){let pe=re.value+he;pe=pe<0?0:pe>100?100:pe,n.color.set("value",pe)}return{cursorRef:r,cursorTop:i,cursorLeft:g,background:$,saturation:V,brightness:re,hue:ie,handleClick:ae,handleDrag:oe,handleKeydown:le}},useSvPanelDOM=(n,{cursorTop:t,cursorLeft:r,background:i,handleDrag:g})=>{const $=getCurrentInstance(),V=useNamespace("color-svpanel");function re(){const ue=n.color.get("saturation"),de=n.color.get("value"),he=$.vnode.el,{clientWidth:pe,clientHeight:_e}=he;r.value=ue*pe/100,t.value=(100-de)*_e/100,i.value=`hsl(${n.color.get("hue")}, 100%, 50%)`}onMounted(()=>{draggable($.vnode.el,{drag:ue=>{g(ue)},end:ue=>{g(ue)}}),re()}),watch([()=>n.color.get("hue"),()=>n.color.get("value"),()=>n.color.value],()=>re());const ie=computed(()=>V.b()),ae=computed(()=>V.e("cursor")),oe=computed(()=>({backgroundColor:i.value})),le=computed(()=>({top:addUnit(t.value),left:addUnit(r.value)}));return{rootKls:ie,cursorKls:ae,rootStyle:oe,cursorStyle:le,update:re}},_hoisted_1$1h=["tabindex","aria-disabled","aria-label","aria-valuenow","aria-valuetext"],_sfc_main$2a=defineComponent({name:"ElSvPanel",__name:"sv-panel",props:svPanelProps,setup(n,{expose:t}){const r=n,{cursorRef:i,cursorTop:g,cursorLeft:$,background:V,saturation:re,brightness:ie,handleClick:ae,handleDrag:oe,handleKeydown:le}=useSvPanel(r),{rootKls:ue,cursorKls:de,rootStyle:he,cursorStyle:pe,update:_e}=useSvPanelDOM(r,{cursorTop:g,cursorLeft:$,background:V,handleDrag:oe}),{t:Ce}=useLocale(),xe=computed(()=>Ce("el.colorpicker.svLabel")),Ie=computed(()=>Ce("el.colorpicker.svDescription",{saturation:re.value,brightness:ie.value,color:r.color.value}));return t({update:_e}),(Ne,Oe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ue)),style:normalizeStyle$1(unref(he)),onClick:Oe[1]||(Oe[1]=(...$e)=>unref(ae)&&unref(ae)(...$e))},[createBaseVNode("div",{ref_key:"cursorRef",ref:i,class:normalizeClass(unref(de)),style:normalizeStyle$1(unref(pe)),tabindex:Ne.disabled?void 0:0,"aria-disabled":Ne.disabled,role:"slider","aria-valuemin":"0,0","aria-valuemax":"100,100","aria-label":xe.value,"aria-valuenow":`${unref(re)},${unref(ie)}`,"aria-valuetext":Ie.value,onKeydown:Oe[0]||(Oe[0]=(...$e)=>unref(le)&&unref(le)(...$e))},null,46,_hoisted_1$1h)],6))}});var SvPanel=_export_sfc(_sfc_main$2a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker-panel/src/components/sv-panel.vue"]]);const useCommonColor=(n,t)=>{const r=reactive(new Color$1({enableAlpha:n.showAlpha,format:n.colorFormat||"",value:n.modelValue}));return watch(()=>[n.colorFormat,n.showAlpha],()=>{r.enableAlpha=n.showAlpha,r.format=n.colorFormat||r.format,r.doOnChange(),t(UPDATE_MODEL_EVENT,r.value)}),{color:r}},_sfc_main$29=defineComponent({name:"ElColorPickerPanel",__name:"color-picker-panel",props:colorPickerPanelProps,emits:colorPickerPanelEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useNamespace("color-picker-panel"),{formItem:V}=useFormItem(),re=useFormDisabled(),ie=ref(),ae=ref(),oe=ref(),le=ref(),ue=ref(""),{color:de}=inject(ROOT_COMMON_COLOR_INJECTION_KEY,()=>useCommonColor(i,g),!0);function he(){de.fromString(ue.value),de.value!==ue.value&&(ue.value=de.value)}function pe(){var Ce;i.validateEvent&&((Ce=V==null?void 0:V.validate)==null||Ce.call(V,"blur").catch(xe=>void 0))}function _e(){var Ce,xe,Ie;(Ce=ie.value)==null||Ce.update(),(xe=ae.value)==null||xe.update(),(Ie=oe.value)==null||Ie.update()}return onMounted(()=>{i.modelValue&&(ue.value=de.value),nextTick(_e)}),watch(()=>i.modelValue,Ce=>{Ce!==de.value&&(Ce?de.fromString(Ce):de.clear())}),watch(()=>de.value,Ce=>{g(UPDATE_MODEL_EVENT,Ce),ue.value=Ce,i.validateEvent&&(V==null||V.validate("change").catch(xe=>void 0))}),provide(colorPickerPanelContextKey,{currentColor:computed(()=>de.value)}),t({color:de,inputRef:le,update:_e}),(Ce,xe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($).b(),unref($).is("disabled",unref(re)),unref($).is("border",Ce.border)]),onFocusout:pe},[createBaseVNode("div",{class:normalizeClass(unref($).e("wrapper"))},[createVNode$1(HueSlider,{ref_key:"hueRef",ref:ie,class:"hue-slider",color:unref(de),vertical:"",disabled:unref(re)},null,8,["color","disabled"]),createVNode$1(SvPanel,{ref_key:"svRef",ref:ae,color:unref(de),disabled:unref(re)},null,8,["color","disabled"])],2),Ce.showAlpha?(openBlock(),createBlock(AlphaSlider,{key:0,ref_key:"alphaRef",ref:oe,color:unref(de),disabled:unref(re)},null,8,["color","disabled"])):createCommentVNode("v-if",!0),Ce.predefine?(openBlock(),createBlock(Predefine,{key:1,ref:"predefine","enable-alpha":Ce.showAlpha,color:unref(de),colors:Ce.predefine,disabled:unref(re)},null,8,["enable-alpha","color","colors","disabled"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref($).e("footer"))},[createVNode$1(unref(ElInput),{ref_key:"inputRef",ref:le,modelValue:ue.value,"onUpdate:modelValue":xe[0]||(xe[0]=Ie=>ue.value=Ie),"validate-event":!1,size:"small",disabled:unref(re),onChange:he},null,8,["modelValue","disabled"]),renderSlot(Ce.$slots,"footer")],2)],34))}});var ColorPickerPanel=_export_sfc(_sfc_main$29,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker-panel/src/color-picker-panel.vue"]]);const ElColorPickerPanel=withInstall(ColorPickerPanel),colorPickerProps=buildProps({persistent:{type:Boolean,default:!0},modelValue:{type:definePropType(String),default:void 0},id:String,showAlpha:Boolean,colorFormat:String,disabled:{type:Boolean,default:void 0},clearable:{type:Boolean,default:!0},size:useSizeProp,popperClass:useTooltipContentProps.popperClass,popperStyle:useTooltipContentProps.popperStyle,tabindex:{type:[String,Number],default:0},teleported:useTooltipContentProps.teleported,appendTo:useTooltipContentProps.appendTo,predefine:{type:definePropType(Array)},validateEvent:{type:Boolean,default:!0},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),colorPickerEmits={[UPDATE_MODEL_EVENT]:n=>isString$2(n)||isNil(n),[CHANGE_EVENT]:n=>isString$2(n)||isNil(n),activeChange:n=>isString$2(n)||isNil(n),focus:n=>n instanceof FocusEvent,blur:n=>n instanceof FocusEvent,clear:()=>!0},_hoisted_1$1g=["id","aria-label","aria-labelledby","aria-description","aria-disabled","tabindex"],_sfc_main$28=defineComponent({name:"ElColorPicker",__name:"color-picker",props:colorPickerProps,emits:colorPickerEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,{t:$}=useLocale(),V=useNamespace("color"),{formItem:re}=useFormItem(),ie=useFormSize(),ae=useFormDisabled(),{valueOnClear:oe,isEmptyValue:le}=useEmptyValues(i,null),ue=useCommonColor(i,g),{inputId:de,isLabeledByFormItem:he}=useFormItemInputId(i,{formItemContext:re}),pe=ref(),_e=ref(),Ce=ref(),xe=ref(!1),Ie=ref(!1);let Ne=!0;const{isFocused:Oe,handleFocus:$e,handleBlur:Ve}=useFocusController(_e,{disabled:ae,beforeBlur(An){var xn;return(xn=pe.value)==null?void 0:xn.isFocusInsideContent(An)},afterBlur(){var An;Dt(!1),vn(),i.validateEvent&&((An=re==null?void 0:re.validate)==null||An.call(re,"blur").catch(xn=>void 0))}}),Ue=reactiveComputed(()=>{var An,xn;return(xn=(An=Ce.value)==null?void 0:An.color)!=null?xn:ue.color}),Fe=computed(()=>pick$1(i,Object.keys(colorPickerPanelProps))),ze=computed(()=>!i.modelValue&&!Ie.value?"transparent":At(Ue,i.showAlpha)),Pt=computed(()=>!i.modelValue&&!Ie.value?"":Ue.value),qe=computed(()=>he.value?void 0:i.ariaLabel||$("el.colorpicker.defaultLabel")),Et=computed(()=>he.value?re==null?void 0:re.labelId:void 0),kt=computed(()=>[V.b("picker"),V.is("disabled",ae.value),V.bm("picker",ie.value),V.is("focused",Oe.value)]);function At(An,xn){const{r:Ln,g:Nn,b:Pn,a:On}=An.toRgb();return xn?`rgba(${Ln}, ${Nn}, ${Pn}, ${On})`:`rgb(${Ln}, ${Nn}, ${Pn})`}function Dt(An){xe.value=An}const Lt=debounce(Dt,100,{leading:!0});function jt(){ae.value||Dt(!0)}function hn(){Lt(!1),vn()}function vn(){nextTick(()=>{i.modelValue?Ue.fromString(i.modelValue):(Ue.value="",nextTick(()=>{Ie.value=!1}))})}function _n(){ae.value||(xe.value&&vn(),Lt(!xe.value))}function wn(){const An=le(Ue.value)?oe.value:Ue.value;g(UPDATE_MODEL_EVENT,An),g(CHANGE_EVENT,An),i.validateEvent&&(re==null||re.validate("change").catch(xn=>void 0)),Lt(!1),nextTick(()=>{const xn=new Color$1({enableAlpha:i.showAlpha,format:i.colorFormat||"",value:i.modelValue});Ue.compare(xn)||vn()})}function bn(){Lt(!1),g(UPDATE_MODEL_EVENT,oe.value),g(CHANGE_EVENT,oe.value),i.modelValue!==oe.value&&i.validateEvent&&(re==null||re.validate("change").catch(An=>void 0)),vn(),g("clear")}function Cn(){var An,xn;(xn=(An=Ce==null?void 0:Ce.value)==null?void 0:An.inputRef)==null||xn.focus()}function Sn(){xe.value&&(hn(),Oe.value&&kn())}function Tn(An){An.preventDefault(),An.stopPropagation(),Dt(!1),vn()}function En(An){switch(getEventCode(An)){case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:case EVENT_CODE.space:An.preventDefault(),An.stopPropagation(),jt();break;case EVENT_CODE.esc:Tn(An);break}}function kn(){_e.value.focus()}function $n(){_e.value.blur()}return watch(()=>Pt.value,An=>{Ne&&g("activeChange",An),Ne=!0}),watch(()=>Ue.value,()=>{!i.modelValue&&!Ie.value&&(Ie.value=!0)}),watch(()=>i.modelValue,An=>{An?An&&An!==Ue.value&&(Ne=!1,Ue.fromString(An)):Ie.value=!1}),watch(()=>xe.value,()=>{Ce.value&&nextTick(Ce.value.update)}),provide(ROOT_COMMON_COLOR_INJECTION_KEY,ue),t({color:Ue,show:jt,hide:hn,focus:kn,blur:$n}),(An,xn)=>(openBlock(),createBlock(unref(ElTooltip),{ref_key:"popper",ref:pe,visible:xe.value,"show-arrow":!1,"fallback-placements":["bottom","top","right","left"],offset:0,"gpu-acceleration":!1,"popper-class":[unref(V).be("picker","panel"),An.popperClass],"popper-style":An.popperStyle,"stop-popper-mouse-event":!1,pure:"",loop:"",role:"dialog",effect:"light",trigger:"click",teleported:An.teleported,transition:`${unref(V).namespace.value}-zoom-in-top`,persistent:An.persistent,"append-to":An.appendTo,onShow:Cn,onHide:xn[2]||(xn[2]=Ln=>Dt(!1))},{content:withCtx(()=>[withDirectives((openBlock(),createBlock(unref(ElColorPickerPanel),mergeProps({ref_key:"pickerPanelRef",ref:Ce},Fe.value,{border:!1,"validate-event":!1,onKeydown:withKeys(Tn,["esc"])}),{footer:withCtx(()=>[createBaseVNode("div",null,[An.clearable?(openBlock(),createBlock(unref(ElButton),{key:0,class:normalizeClass(unref(V).be("footer","link-btn")),text:"",size:"small",onClick:bn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref($)("el.colorpicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElButton),{plain:"",size:"small",class:normalizeClass(unref(V).be("footer","btn")),onClick:wn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref($)("el.colorpicker.confirm")),1)]),_:1},8,["class"])])]),_:1},16)),[[unref(ClickOutside),Sn,_e.value]])]),default:withCtx(()=>[createBaseVNode("div",mergeProps({id:unref(de),ref_key:"triggerRef",ref:_e},An.$attrs,{class:kt.value,role:"button","aria-label":qe.value,"aria-labelledby":Et.value,"aria-description":unref($)("el.colorpicker.description",{color:An.modelValue||""}),"aria-disabled":unref(ae),tabindex:unref(ae)?void 0:An.tabindex,onKeydown:En,onFocus:xn[0]||(xn[0]=(...Ln)=>unref($e)&&unref($e)(...Ln)),onBlur:xn[1]||(xn[1]=(...Ln)=>unref(Ve)&&unref(Ve)(...Ln))}),[createBaseVNode("div",{class:normalizeClass(unref(V).be("picker","trigger")),onClick:_n},[createBaseVNode("span",{class:normalizeClass([unref(V).be("picker","color"),unref(V).is("alpha",An.showAlpha)])},[createBaseVNode("span",{class:normalizeClass(unref(V).be("picker","color-inner")),style:normalizeStyle$1({backgroundColor:ze.value})},[withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(V).be("picker","icon"),unref(V).is("icon-arrow-down")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"]),[[vShow,An.modelValue||Ie.value]]),withDirectives(createVNode$1(unref(ElIcon),{class:normalizeClass([unref(V).be("picker","empty"),unref(V).is("icon-close")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"]),[[vShow,!An.modelValue&&!Ie.value]])],6)],2)],2)],16,_hoisted_1$1g)]),_:1},8,["visible","popper-class","popper-style","teleported","transition","persistent","append-to"]))}});var ColorPicker=_export_sfc(_sfc_main$28,[["__file","/home/runner/work/element-plus/element-plus/packages/components/color-picker/src/color-picker.vue"]]);const ElColorPicker=withInstall(ColorPicker),configProviderProps=buildProps({a11y:{type:Boolean,default:!0},locale:{type:definePropType(Object)},size:useSizeProp,button:{type:definePropType(Object)},card:{type:definePropType(Object)},dialog:{type:definePropType(Object)},link:{type:definePropType(Object)},experimentalFeatures:{type:definePropType(Object)},keyboardNavigation:{type:Boolean,default:!0},message:{type:definePropType(Object)},zIndex:Number,namespace:{type:String,default:"el"},...useEmptyValuesProps}),messageConfig={placement:"top"},ConfigProvider=defineComponent({name:"ElConfigProvider",props:configProviderProps,setup(n,{slots:t}){const r=provideGlobalConfig(n);return watch(()=>n.message,i=>{var g,$;Object.assign(messageConfig,($=(g=r==null?void 0:r.value)==null?void 0:g.message)!=null?$:{},i??{})},{immediate:!0,deep:!0}),()=>renderSlot(t,"default",{config:r==null?void 0:r.value})}}),ElConfigProvider=withInstall(ConfigProvider),_sfc_main$27=defineComponent({name:"ElContainer",__name:"container",props:buildProps({direction:{type:String,values:["horizontal","vertical"]}}),setup(n){const t=n,r=useSlots(),i=useNamespace("container"),g=computed(()=>t.direction==="vertical"?!0:t.direction==="horizontal"?!1:r&&r.default?r.default().some(V=>{const re=V.type.name;return re==="ElHeader"||re==="ElFooter"}):!1);return($,V)=>(openBlock(),createElementBlock("section",{class:normalizeClass([unref(i).b(),unref(i).is("vertical",g.value)])},[renderSlot($.$slots,"default")],2))}});var Container=_export_sfc(_sfc_main$27,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/container.vue"]]);const _sfc_main$26=defineComponent({name:"ElAside",__name:"aside",props:{width:{type:String,default:null}},setup(n){const t=n,r=useNamespace("aside"),i=computed(()=>t.width?r.cssVarBlock({width:t.width}):{});return(g,$)=>(openBlock(),createElementBlock("aside",{class:normalizeClass(unref(r).b()),style:normalizeStyle$1(i.value)},[renderSlot(g.$slots,"default")],6))}});var Aside=_export_sfc(_sfc_main$26,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/aside.vue"]]);const _sfc_main$25=defineComponent({name:"ElFooter",__name:"footer",props:{height:{type:String,default:null}},setup(n){const t=n,r=useNamespace("footer"),i=computed(()=>t.height?r.cssVarBlock({height:t.height}):{});return(g,$)=>(openBlock(),createElementBlock("footer",{class:normalizeClass(unref(r).b()),style:normalizeStyle$1(i.value)},[renderSlot(g.$slots,"default")],6))}});var Footer$2=_export_sfc(_sfc_main$25,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/footer.vue"]]);const _sfc_main$24=defineComponent({name:"ElHeader",__name:"header",props:{height:{type:String,default:null}},setup(n){const t=n,r=useNamespace("header"),i=computed(()=>t.height?r.cssVarBlock({height:t.height}):{});return(g,$)=>(openBlock(),createElementBlock("header",{class:normalizeClass(unref(r).b()),style:normalizeStyle$1(i.value)},[renderSlot(g.$slots,"default")],6))}});var Header$2=_export_sfc(_sfc_main$24,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/header.vue"]]);const _sfc_main$23=defineComponent({name:"ElMain",__name:"main",setup(n){const t=useNamespace("main");return(r,i)=>(openBlock(),createElementBlock("main",{class:normalizeClass(unref(t).b())},[renderSlot(r.$slots,"default")],2))}});var Main=_export_sfc(_sfc_main$23,[["__file","/home/runner/work/element-plus/element-plus/packages/components/container/src/main.vue"]]);const ElContainer=withInstall(Container,{Aside,Footer:Footer$2,Header:Header$2,Main}),ElAside=withNoopInstall(Aside),ElFooter=withNoopInstall(Footer$2),ElHeader=withNoopInstall(Header$2),ElMain=withNoopInstall(Main);var customParseFormat$1={exports:{}};(function(n,t){(function(r,i){n.exports=i()})(commonjsGlobal,function(){var r={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"},i=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,g=/\d/,$=/\d\d/,V=/\d\d?/,re=/\d*[^-_:/,()\s\d]+/,ie={},ae=function(_e){return(_e=+_e)+(_e>68?1900:2e3)},oe=function(_e){return function(Ce){this[_e]=+Ce}},le=[/[+-]\d\d:?(\d\d)?|Z/,function(_e){(this.zone||(this.zone={})).offset=function(Ce){if(!Ce||Ce==="Z")return 0;var xe=Ce.match(/([+-]|\d\d)/g),Ie=60*xe[1]+(+xe[2]||0);return Ie===0?0:xe[0]==="+"?-Ie:Ie}(_e)}],ue=function(_e){var Ce=ie[_e];return Ce&&(Ce.indexOf?Ce:Ce.s.concat(Ce.f))},de=function(_e,Ce){var xe,Ie=ie.meridiem;if(Ie){for(var Ne=1;Ne<=24;Ne+=1)if(_e.indexOf(Ie(Ne,0,Ce))>-1){xe=Ne>12;break}}else xe=_e===(Ce?"pm":"PM");return xe},he={A:[re,function(_e){this.afternoon=de(_e,!1)}],a:[re,function(_e){this.afternoon=de(_e,!0)}],Q:[g,function(_e){this.month=3*(_e-1)+1}],S:[g,function(_e){this.milliseconds=100*+_e}],SS:[$,function(_e){this.milliseconds=10*+_e}],SSS:[/\d{3}/,function(_e){this.milliseconds=+_e}],s:[V,oe("seconds")],ss:[V,oe("seconds")],m:[V,oe("minutes")],mm:[V,oe("minutes")],H:[V,oe("hours")],h:[V,oe("hours")],HH:[V,oe("hours")],hh:[V,oe("hours")],D:[V,oe("day")],DD:[$,oe("day")],Do:[re,function(_e){var Ce=ie.ordinal,xe=_e.match(/\d+/);if(this.day=xe[0],Ce)for(var Ie=1;Ie<=31;Ie+=1)Ce(Ie).replace(/\[|\]/g,"")===_e&&(this.day=Ie)}],w:[V,oe("week")],ww:[$,oe("week")],M:[V,oe("month")],MM:[$,oe("month")],MMM:[re,function(_e){var Ce=ue("months"),xe=(ue("monthsShort")||Ce.map(function(Ie){return Ie.slice(0,3)})).indexOf(_e)+1;if(xe<1)throw new Error;this.month=xe%12||xe}],MMMM:[re,function(_e){var Ce=ue("months").indexOf(_e)+1;if(Ce<1)throw new Error;this.month=Ce%12||Ce}],Y:[/[+-]?\d+/,oe("year")],YY:[$,function(_e){this.year=ae(_e)}],YYYY:[/\d{4}/,oe("year")],Z:le,ZZ:le};function pe(_e){var Ce,xe;Ce=_e,xe=ie&&ie.formats;for(var Ie=(_e=Ce.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(ze,Pt,qe){var Et=qe&&qe.toUpperCase();return Pt||xe[qe]||r[qe]||xe[Et].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(kt,At,Dt){return At||Dt.slice(1)})})).match(i),Ne=Ie.length,Oe=0;Oe-1)return new Date((jt==="X"?1e3:1)*Lt);var _n=pe(jt)(Lt),wn=_n.year,bn=_n.month,Cn=_n.day,Sn=_n.hours,Tn=_n.minutes,En=_n.seconds,kn=_n.milliseconds,$n=_n.zone,An=_n.week,xn=new Date,Ln=Cn||(wn||bn?1:xn.getDate()),Nn=wn||xn.getFullYear(),Pn=0;wn&&!bn||(Pn=bn>0?bn-1:xn.getMonth());var On,Hn=Sn||0,Xn=Tn||0,In=En||0,or=kn||0;return $n?new Date(Date.UTC(Nn,Pn,Ln,Hn,Xn,In,or+60*$n.offset*1e3)):hn?new Date(Date.UTC(Nn,Pn,Ln,Hn,Xn,In,or)):(On=new Date(Nn,Pn,Ln,Hn,Xn,In,or),An&&(On=vn(On).week(An).toDate()),On)}catch{return new Date("")}}($e,Fe,Ve,xe),this.init(),Et&&Et!==!0&&(this.$L=this.locale(Et).$L),qe&&$e!=this.format(Fe)&&(this.$d=new Date("")),ie={}}else if(Fe instanceof Array)for(var kt=Fe.length,At=1;At<=kt;At+=1){Ue[1]=Fe[At-1];var Dt=xe.apply(this,Ue);if(Dt.isValid()){this.$d=Dt.$d,this.$L=Dt.$L,this.init();break}At===kt&&(this.$d=new Date(""))}else Ne.call(this,Oe)}}})})(customParseFormat$1);var customParseFormatExports=customParseFormat$1.exports;const customParseFormat=getDefaultExportFromCjs(customParseFormatExports),timeUnits$1=["hours","minutes","seconds"],PICKER_BASE_INJECTION_KEY="EP_PICKER_BASE",PICKER_POPPER_OPTIONS_INJECTION_KEY="ElPopperOptions",ROOT_COMMON_PICKER_INJECTION_KEY=Symbol("commonPickerContextKey"),DEFAULT_FORMATS_TIME="HH:mm:ss",DEFAULT_FORMATS_DATE="YYYY-MM-DD",DEFAULT_FORMATS_DATEPICKER={date:DEFAULT_FORMATS_DATE,dates:DEFAULT_FORMATS_DATE,week:"gggg[w]ww",year:"YYYY",years:"YYYY",month:"YYYY-MM",months:"YYYY-MM",datetime:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`,monthrange:"YYYY-MM",yearrange:"YYYY",daterange:DEFAULT_FORMATS_DATE,datetimerange:`${DEFAULT_FORMATS_DATE} ${DEFAULT_FORMATS_TIME}`},useCommonPicker=(n,t)=>{const{lang:r}=useLocale(),i=ref(!1),g=ref(!1),$=ref(null),V=computed(()=>{const{modelValue:he}=n;return!he||isArray$5(he)&&!he.filter(Boolean).length}),re=he=>{if(!valueEquals(n.modelValue,he)){let pe;isArray$5(he)?pe=he.map(Ce=>formatter(Ce,n.valueFormat,r.value)):he&&(pe=formatter(he,n.valueFormat,r.value)),t(UPDATE_MODEL_EVENT,he&&pe,r.value)}},ie=computed(()=>{var he;let pe;if(V.value?ae.value.getDefaultValue&&(pe=ae.value.getDefaultValue()):isArray$5(n.modelValue)?pe=n.modelValue.map(_e=>parseDate$1(_e,n.valueFormat,r.value)):pe=parseDate$1((he=n.modelValue)!=null?he:"",n.valueFormat,r.value),ae.value.getRangeAvailableTime){const _e=ae.value.getRangeAvailableTime(pe);isEqual$1(_e,pe)||(pe=_e,V.value||re(dayOrDaysToDate(pe)))}return isArray$5(pe)&&pe.some(_e=>!_e)&&(pe=[]),pe}),ae=ref({});return{parsedValue:ie,pickerActualVisible:g,pickerOptions:ae,pickerVisible:i,userInput:$,valueIsEmpty:V,emitInput:re,onCalendarChange:he=>{t("calendar-change",he)},onPanelChange:(he,pe,_e)=>{t("panel-change",he,pe,_e)},onPick:(he="",pe=!1)=>{i.value=pe;let _e;isArray$5(he)?_e=he.map(Ce=>Ce.toDate()):_e=he&&he.toDate(),$.value=null,re(_e)},onSetPickerOption:he=>{ae.value[he[0]]=he[1],ae.value.panelReady=!0}}},disabledTimeListsProps=buildProps({disabledHours:{type:definePropType(Function)},disabledMinutes:{type:definePropType(Function)},disabledSeconds:{type:definePropType(Function)}}),timePanelSharedProps=buildProps({visible:Boolean,actualVisible:{type:Boolean,default:void 0},format:{type:String,default:""}}),timePickerDefaultProps=buildProps({automaticDropdown:{type:Boolean,default:!0},id:{type:definePropType([Array,String])},name:{type:definePropType([Array,String])},popperClass:useTooltipContentProps.popperClass,popperStyle:useTooltipContentProps.popperStyle,format:String,valueFormat:String,dateFormat:String,timeFormat:String,type:{type:String,default:""},clearable:{type:Boolean,default:!0},clearIcon:{type:definePropType([String,Object]),default:circle_close_default},editable:{type:Boolean,default:!0},prefixIcon:{type:definePropType([String,Object]),default:""},size:useSizeProp,readonly:Boolean,disabled:{type:Boolean,default:void 0},placeholder:{type:String,default:""},popperOptions:{type:definePropType(Object),default:()=>({})},modelValue:{type:definePropType([Date,Array,String,Number]),default:""},rangeSeparator:{type:String,default:"-"},startPlaceholder:String,endPlaceholder:String,defaultValue:{type:definePropType([Date,Array])},defaultTime:{type:definePropType([Date,Array])},isRange:Boolean,...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,tabindex:{type:definePropType([String,Number]),default:0},validateEvent:{type:Boolean,default:!0},unlinkPanels:Boolean,placement:{type:definePropType(String),values:Ee,default:"bottom"},fallbackPlacements:{type:definePropType(Array),default:["bottom","top","right","left"]},...useEmptyValuesProps,...useAriaProps(["ariaLabel"]),showNow:{type:Boolean,default:!0},showConfirm:{type:Boolean,default:!0},showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean}),timePickerRangeTriggerProps=buildProps({id:{type:definePropType(Array)},name:{type:definePropType(Array)},modelValue:{type:definePropType([Array,String])},startPlaceholder:String,endPlaceholder:String,disabled:Boolean}),_hoisted_1$1f=["id","name","placeholder","value","disabled"],_hoisted_2$R=["id","name","placeholder","value","disabled"],_sfc_main$22=defineComponent({name:"PickerRangeTrigger",inheritAttrs:!1,__name:"picker-range-trigger",props:timePickerRangeTriggerProps,emits:["mouseenter","mouseleave","click","touchstart","focus","blur","startInput","endInput","startChange","endChange"],setup(n,{expose:t,emit:r}){const i=n,g=r,{formItem:$}=useFormItem(),{inputId:V}=useFormItemInputId(reactive({id:computed(()=>{var Ue;return(Ue=i.id)==null?void 0:Ue[0]})}),{formItemContext:$}),re=useAttrs(),ie=useNamespace("date"),ae=useNamespace("range"),oe=ref(),le=ref(),{wrapperRef:ue,isFocused:de}=useFocusController(oe,{disabled:computed(()=>i.disabled)}),he=Ue=>{g("click",Ue)},pe=Ue=>{g("mouseenter",Ue)},_e=Ue=>{g("mouseleave",Ue)},Ce=Ue=>{g("touchstart",Ue)},xe=Ue=>{g("startInput",Ue)},Ie=Ue=>{g("endInput",Ue)},Ne=Ue=>{g("startChange",Ue)},Oe=Ue=>{g("endChange",Ue)};return t({focus:()=>{var Ue;(Ue=oe.value)==null||Ue.focus()},blur:()=>{var Ue,Fe;(Ue=oe.value)==null||Ue.blur(),(Fe=le.value)==null||Fe.blur()}}),(Ue,Fe)=>(openBlock(),createElementBlock("div",{ref_key:"wrapperRef",ref:ue,class:normalizeClass([unref(ie).is("active",unref(de)),Ue.$attrs.class]),style:normalizeStyle$1(Ue.$attrs.style),onClick:he,onMouseenter:pe,onMouseleave:_e,onTouchstartPassive:Ce},[renderSlot(Ue.$slots,"prefix"),createBaseVNode("input",mergeProps(unref(re),{id:unref(V),ref_key:"inputRef",ref:oe,name:Ue.name&&Ue.name[0],placeholder:Ue.startPlaceholder,value:Ue.modelValue&&Ue.modelValue[0],class:unref(ae).b("input"),disabled:Ue.disabled,onInput:xe,onChange:Ne}),null,16,_hoisted_1$1f),renderSlot(Ue.$slots,"range-separator"),createBaseVNode("input",mergeProps(unref(re),{id:Ue.id&&Ue.id[1],ref_key:"endInputRef",ref:le,name:Ue.name&&Ue.name[1],placeholder:Ue.endPlaceholder,value:Ue.modelValue&&Ue.modelValue[1],class:unref(ae).b("input"),disabled:Ue.disabled,onInput:Ie,onChange:Oe}),null,16,_hoisted_2$R),renderSlot(Ue.$slots,"suffix")],38))}});var PickerRangeTrigger=_export_sfc(_sfc_main$22,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker-range-trigger.vue"]]);const _sfc_main$21=defineComponent({name:"Picker",__name:"picker",props:timePickerDefaultProps,emits:[UPDATE_MODEL_EVENT,CHANGE_EVENT,"focus","blur","clear","calendar-change","panel-change","visible-change","keydown"],setup(n,{expose:t,emit:r}){const i=n,g=r,$=useAttrs$1(),V=useNamespace("date"),re=useNamespace("input"),ie=useNamespace("range"),{formItem:ae}=useFormItem(),oe=inject(PICKER_POPPER_OPTIONS_INJECTION_KEY,{}),le=useEmptyValues(i,null),ue=ref(),de=ref(),he=ref(null);let pe=!1;const _e=useFormDisabled(),Ce=useCommonPicker(i,g),{parsedValue:xe,pickerActualVisible:Ie,userInput:Ne,pickerVisible:Oe,pickerOptions:$e,valueIsEmpty:Ve,emitInput:Ue,onPick:Fe,onSetPickerOption:ze,onCalendarChange:Pt,onPanelChange:qe}=Ce,{isFocused:Et,handleFocus:kt,handleBlur:At}=useFocusController(de,{disabled:_e,beforeFocus(){return i.readonly},afterFocus(){i.automaticDropdown&&(Oe.value=!0)},beforeBlur(Fn){var cr;return!pe&&((cr=ue.value)==null?void 0:cr.isFocusInsideContent(Fn))},afterBlur(){Bn(),Oe.value=!1,pe=!1,i.validateEvent&&(ae==null||ae.validate("blur").catch(Fn=>void 0))}}),Dt=ref(!1),Lt=computed(()=>[V.b("editor"),V.bm("editor",i.type),re.e("wrapper"),V.is("disabled",_e.value),V.is("active",Oe.value),ie.b("editor"),Gn?ie.bm("editor",Gn.value):"",$.class]),jt=computed(()=>[re.e("icon"),ie.e("close-icon"),On.value?"":ie.em("close-icon","hidden")]);watch(Oe,Fn=>{Fn?nextTick(()=>{Fn&&(he.value=i.modelValue)}):(Ne.value=null,nextTick(()=>{hn(i.modelValue)}))});const hn=(Fn,cr)=>{(cr||!valueEquals(Fn,he.value))&&(g(CHANGE_EVENT,Fn),cr&&(he.value=Fn),i.validateEvent&&(ae==null||ae.validate("change").catch(Un=>void 0)))},vn=Fn=>{g("keydown",Fn)},_n=computed(()=>de.value?Array.from(de.value.$el.querySelectorAll("input")):[]),wn=(Fn,cr,Un)=>{const gr=_n.value;gr.length&&(!Un||Un==="min"?(gr[0].setSelectionRange(Fn,cr),gr[0].focus()):Un==="max"&&(gr[1].setSelectionRange(Fn,cr),gr[1].focus()))},bn=()=>{Ie.value=!0},Cn=()=>{g("visible-change",!0)},Sn=()=>{Ie.value=!1,Oe.value=!1,g("visible-change",!1)},Tn=()=>{Oe.value=!0},En=()=>{Oe.value=!1},kn=computed(()=>{const Fn=zn(xe.value);return isArray$5(Ne.value)?[Ne.value[0]||Fn&&Fn[0]||"",Ne.value[1]||Fn&&Fn[1]||""]:Ne.value!==null?Ne.value:!An.value&&Ve.value||!Oe.value&&Ve.value?"":Fn?xn.value||Ln.value||Nn.value?Fn.join(", "):Fn:""}),$n=computed(()=>i.type.includes("time")),An=computed(()=>i.type.startsWith("time")),xn=computed(()=>i.type==="dates"),Ln=computed(()=>i.type==="months"),Nn=computed(()=>i.type==="years"),Pn=computed(()=>i.prefixIcon||($n.value?clock_default:calendar_default)),On=computed(()=>i.clearable&&!_e.value&&!i.readonly&&!Ve.value&&(Dt.value||Et.value)),Hn=Fn=>{i.readonly||_e.value||(On.value&&(Fn==null||Fn.stopPropagation(),$e.value.handleClear?$e.value.handleClear():Ue(le.valueOnClear.value),hn(le.valueOnClear.value,!0),Sn()),g("clear"))},Xn=async Fn=>{var cr;i.readonly||_e.value||(((cr=Fn.target)==null?void 0:cr.tagName)!=="INPUT"||Et.value||!i.automaticDropdown)&&(Oe.value=!0)},In=()=>{i.readonly||_e.value||!Ve.value&&i.clearable&&(Dt.value=!0)},or=()=>{Dt.value=!1},Qn=Fn=>{var cr;i.readonly||_e.value||(((cr=Fn.touches[0].target)==null?void 0:cr.tagName)!=="INPUT"||Et.value||!i.automaticDropdown)&&(Oe.value=!0)},Zn=computed(()=>i.type.includes("range")),Gn=useFormSize(),Rn=computed(()=>{var Fn,cr;return(cr=(Fn=unref(ue))==null?void 0:Fn.popperRef)==null?void 0:cr.contentRef}),Mn=onClickOutside(de,Fn=>{const cr=unref(Rn),Un=unrefElement(de);cr&&(Fn.target===cr||Fn.composedPath().includes(cr))||Fn.target===Un||Un&&Fn.composedPath().includes(Un)||(Oe.value=!1)});onBeforeUnmount(()=>{Mn==null||Mn()});const Bn=()=>{if(Ne.value){const Fn=qn(kn.value);Fn&&(jn(Fn)&&Ue(dayOrDaysToDate(Fn)),Ne.value=null)}Ne.value===""&&(Ue(le.valueOnClear.value),hn(le.valueOnClear.value,!0),Ne.value=null)},qn=Fn=>Fn?$e.value.parseUserInput(Fn):null,zn=Fn=>Fn?isArray$5(Fn)?Fn.map(Un=>Un.format(i.format)):Fn.format(i.format):null,jn=Fn=>$e.value.isValidValue(Fn),tr=async Fn=>{if(i.readonly||_e.value)return;const cr=getEventCode(Fn);if(vn(Fn),cr===EVENT_CODE.esc){Oe.value===!0&&(Oe.value=!1,Fn.preventDefault(),Fn.stopPropagation());return}if(cr===EVENT_CODE.down&&($e.value.handleFocusPicker&&(Fn.preventDefault(),Fn.stopPropagation()),Oe.value===!1&&(Oe.value=!0,await nextTick()),$e.value.handleFocusPicker)){$e.value.handleFocusPicker();return}if(cr===EVENT_CODE.tab){pe=!0;return}if(cr===EVENT_CODE.enter||cr===EVENT_CODE.numpadEnter){Oe.value?(Ne.value===null||Ne.value===""||jn(qn(kn.value)))&&(Bn(),Oe.value=!1):Oe.value=!0,Fn.preventDefault(),Fn.stopPropagation();return}if(Ne.value){Fn.stopPropagation();return}$e.value.handleKeydownInput&&$e.value.handleKeydownInput(Fn)},hr=Fn=>{Ne.value=Fn,Oe.value||(Oe.value=!0)},ir=Fn=>{const cr=Fn.target;Ne.value?Ne.value=[cr.value,Ne.value[1]]:Ne.value=[cr.value,null]},pr=Fn=>{const cr=Fn.target;Ne.value?Ne.value=[Ne.value[0],cr.value]:Ne.value=[null,cr.value]},rr=()=>{var Fn;const cr=Ne.value,Un=qn(cr&&cr[0]),gr=unref(xe);if(Un&&Un.isValid()){Ne.value=[zn(Un),((Fn=kn.value)==null?void 0:Fn[1])||null];const vr=[Un,gr&&(gr[1]||null)];jn(vr)&&(Ue(dayOrDaysToDate(vr)),Ne.value=null)}},lr=()=>{var Fn;const cr=unref(Ne),Un=qn(cr&&cr[1]),gr=unref(xe);if(Un&&Un.isValid()){Ne.value=[((Fn=unref(kn))==null?void 0:Fn[0])||null,zn(Un)];const vr=[gr&&gr[0],Un];jn(vr)&&(Ue(dayOrDaysToDate(vr)),Ne.value=null)}},Yn=()=>{var Fn;(Fn=de.value)==null||Fn.focus()},er=()=>{var Fn;(Fn=de.value)==null||Fn.blur()};return provide(PICKER_BASE_INJECTION_KEY,{props:i,emptyValues:le}),provide(ROOT_COMMON_PICKER_INJECTION_KEY,Ce),t({focus:Yn,blur:er,handleOpen:Tn,handleClose:En,onPick:Fe}),(Fn,cr)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"refPopper",ref:ue,visible:unref(Oe),effect:"light",pure:"",trigger:"click"},Fn.$attrs,{role:"dialog",teleported:"",transition:`${unref(V).namespace.value}-zoom-in-top`,"popper-class":[`${unref(V).namespace.value}-picker__popper`,Fn.popperClass],"popper-style":Fn.popperStyle,"popper-options":unref(oe),"fallback-placements":Fn.fallbackPlacements,"gpu-acceleration":!1,placement:Fn.placement,"stop-popper-mouse-event":!1,"hide-after":0,persistent:"",onBeforeShow:bn,onShow:Cn,onHide:Sn}),{default:withCtx(()=>[Zn.value?(openBlock(),createBlock(PickerRangeTrigger,{key:1,id:Fn.id,ref_key:"inputRef",ref:de,"model-value":kn.value,name:Fn.name,disabled:unref(_e),readonly:!Fn.editable||Fn.readonly,"start-placeholder":Fn.startPlaceholder,"end-placeholder":Fn.endPlaceholder,class:normalizeClass(Lt.value),style:normalizeStyle$1(Fn.$attrs.style),"aria-label":Fn.ariaLabel,tabindex:Fn.tabindex,autocomplete:"off",role:"combobox",onClick:Xn,onFocus:unref(kt),onBlur:unref(At),onStartInput:ir,onStartChange:rr,onEndInput:pr,onEndChange:lr,onMousedown:Xn,onMouseenter:In,onMouseleave:or,onTouchstartPassive:Qn,onKeydown:tr},{prefix:withCtx(()=>[Pn.value?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(re).e("icon"),unref(ie).e("icon")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Pn.value)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),"range-separator":withCtx(()=>[renderSlot(Fn.$slots,"range-separator",{},()=>[createBaseVNode("span",{class:normalizeClass(unref(ie).b("separator"))},toDisplayString(Fn.rangeSeparator),3)])]),suffix:withCtx(()=>[Fn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(jt.value),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:Hn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fn.clearIcon)))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),_:3},8,["id","model-value","name","disabled","readonly","start-placeholder","end-placeholder","class","style","aria-label","tabindex","onFocus","onBlur"])):(openBlock(),createBlock(unref(ElInput),{key:0,id:Fn.id,ref_key:"inputRef",ref:de,"container-role":"combobox","model-value":kn.value,name:Fn.name,size:unref(Gn),disabled:unref(_e),placeholder:Fn.placeholder,class:normalizeClass([unref(V).b("editor"),unref(V).bm("editor",Fn.type),unref(V).is("focus",unref(Oe)),Fn.$attrs.class]),style:normalizeStyle$1(Fn.$attrs.style),readonly:!Fn.editable||Fn.readonly||xn.value||Ln.value||Nn.value||Fn.type==="week","aria-label":Fn.ariaLabel,tabindex:Fn.tabindex,"validate-event":!1,onInput:hr,onFocus:unref(kt),onBlur:unref(At),onKeydown:tr,onChange:Bn,onMousedown:Xn,onMouseenter:In,onMouseleave:or,onTouchstartPassive:Qn,onClick:cr[0]||(cr[0]=withModifiers(()=>{},["stop"]))},{prefix:withCtx(()=>[Pn.value?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(re).e("icon")),onMousedown:withModifiers(Xn,["prevent"]),onTouchstartPassive:Qn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Pn.value)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),suffix:withCtx(()=>[On.value&&Fn.clearIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(`${unref(re).e("icon")} clear-icon`),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:Hn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fn.clearIcon)))]),_:1},8,["class","onMousedown"])):createCommentVNode("v-if",!0)]),_:1},8,["id","model-value","name","size","disabled","placeholder","class","style","readonly","aria-label","tabindex","onFocus","onBlur"]))]),content:withCtx(()=>[renderSlot(Fn.$slots,"default",{visible:unref(Oe),actualVisible:unref(Ie),parsedValue:unref(xe),format:Fn.format,dateFormat:Fn.dateFormat,timeFormat:Fn.timeFormat,unlinkPanels:Fn.unlinkPanels,type:Fn.type,defaultValue:Fn.defaultValue,showNow:Fn.showNow,showConfirm:Fn.showConfirm,showFooter:Fn.showFooter,showWeekNumber:Fn.showWeekNumber,onPick:cr[1]||(cr[1]=(...Un)=>unref(Fe)&&unref(Fe)(...Un)),onSelectRange:wn,onSetPickerOption:cr[2]||(cr[2]=(...Un)=>unref(ze)&&unref(ze)(...Un)),onCalendarChange:cr[3]||(cr[3]=(...Un)=>unref(Pt)&&unref(Pt)(...Un)),onClear:Hn,onPanelChange:cr[4]||(cr[4]=(...Un)=>unref(qe)&&unref(qe)(...Un)),onMousedown:cr[5]||(cr[5]=withModifiers(()=>{},["stop"]))})]),_:3},16,["visible","transition","popper-class","popper-style","popper-options","fallback-placements","placement"]))}});var CommonPicker=_export_sfc(_sfc_main$21,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/common/picker.vue"]]);const panelTimePickerProps=buildProps({...timePanelSharedProps,datetimeRole:String,parsedValue:{type:definePropType(Object)}}),useTimePanel=({getAvailableHours:n,getAvailableMinutes:t,getAvailableSeconds:r})=>{const i=(V,re,ie,ae)=>{const oe={hour:n,minute:t,second:r};let le=V;return["hour","minute","second"].forEach(ue=>{if(oe[ue]){let de;const he=oe[ue];switch(ue){case"minute":{de=he(le.hour(),re,ae);break}case"second":{de=he(le.hour(),le.minute(),re,ae);break}default:{de=he(re,ae);break}}if(de!=null&&de.length&&!de.includes(le[ue]())){const pe=ie?0:de.length-1;le=le[ue](de[pe])}}}),le},g={};return{timePickerOptions:g,getAvailableTime:i,onSetOption:([V,re])=>{g[V]=re}}},makeAvailableArr=n=>{const t=(i,g)=>i||g,r=i=>i!==!0;return n.map(t).filter(r)},getTimeLists=(n,t,r)=>({getHoursList:(V,re)=>makeList(24,n&&(()=>n==null?void 0:n(V,re))),getMinutesList:(V,re,ie)=>makeList(60,t&&(()=>t==null?void 0:t(V,re,ie))),getSecondsList:(V,re,ie,ae)=>makeList(60,r&&(()=>r==null?void 0:r(V,re,ie,ae)))}),buildAvailableTimeSlotGetter=(n,t,r)=>{const{getHoursList:i,getMinutesList:g,getSecondsList:$}=getTimeLists(n,t,r);return{getAvailableHours:(ae,oe)=>makeAvailableArr(i(ae,oe)),getAvailableMinutes:(ae,oe,le)=>makeAvailableArr(g(ae,oe,le)),getAvailableSeconds:(ae,oe,le,ue)=>makeAvailableArr($(ae,oe,le,ue))}},useOldValue=n=>{const t=ref(n.parsedValue);return watch(()=>n.visible,r=>{r||(t.value=n.parsedValue)}),t},basicTimeSpinnerProps=buildProps({role:{type:String,required:!0},spinnerDate:{type:definePropType(Object),required:!0},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:definePropType(String),default:""},...disabledTimeListsProps}),REPEAT_INTERVAL=100,REPEAT_DELAY=600,SCOPE$4="_RepeatClick",vRepeatClick={beforeMount(n,t){const r=t.value,{interval:i=REPEAT_INTERVAL,delay:g=REPEAT_DELAY}=isFunction$4(r)?{}:r;let $,V;const re=()=>isFunction$4(r)?r():r.handler(),ie=()=>{V&&(clearTimeout(V),V=void 0),$&&(clearInterval($),$=void 0)},ae=oe=>{oe.button===0&&(ie(),re(),document.addEventListener("mouseup",ie,{once:!0}),V=setTimeout(()=>{$=setInterval(()=>{re()},i)},g))};n[SCOPE$4]={start:ae,clear:ie},n.addEventListener("mousedown",ae)},unmounted(n){if(!n[SCOPE$4])return;const{start:t,clear:r}=n[SCOPE$4];t&&n.removeEventListener("mousedown",t),r&&(r(),document.removeEventListener("mouseup",r)),n[SCOPE$4]=null}},_hoisted_1$1e=["onClick"],_hoisted_2$Q=["onMouseenter"],_sfc_main$20=defineComponent({__name:"basic-time-spinner",props:basicTimeSpinnerProps,emits:[CHANGE_EVENT,"select-range","set-option"],setup(n,{emit:t}){const r=n,i=inject(PICKER_BASE_INJECTION_KEY),{isRange:g,format:$}=i.props,V=t,re=useNamespace("time"),{getHoursList:ie,getMinutesList:ae,getSecondsList:oe}=getTimeLists(r.disabledHours,r.disabledMinutes,r.disabledSeconds);let le=!1;const ue=ref(),de=ref(),he=ref(),pe=ref(),_e={hours:de,minutes:he,seconds:pe},Ce=computed(()=>r.showSeconds?timeUnits$1:timeUnits$1.slice(0,2)),xe=computed(()=>{const{spinnerDate:bn}=r,Cn=bn.hour(),Sn=bn.minute(),Tn=bn.second();return{hours:Cn,minutes:Sn,seconds:Tn}}),Ie=computed(()=>{const{hours:bn,minutes:Cn}=unref(xe),{role:Sn,spinnerDate:Tn}=r,En=g?void 0:Tn;return{hours:ie(Sn,En),minutes:ae(bn,Sn,En),seconds:oe(bn,Cn,Sn,En)}}),Ne=computed(()=>{const{hours:bn,minutes:Cn,seconds:Sn}=unref(xe);return{hours:buildTimeList(bn,23),minutes:buildTimeList(Cn,59),seconds:buildTimeList(Sn,59)}}),Oe=debounce(bn=>{le=!1,Ue(bn)},200),$e=bn=>{if(!!!r.amPmMode)return"";const Sn=r.amPmMode==="A";let Tn=bn<12?" am":" pm";return Sn&&(Tn=Tn.toUpperCase()),Tn},Ve=bn=>{let Cn=[0,0];const Sn=$||DEFAULT_FORMATS_TIME,Tn=Sn.indexOf("HH"),En=Sn.indexOf("mm"),kn=Sn.indexOf("ss");switch(bn){case"hours":Tn!==-1&&(Cn=[Tn,Tn+2]);break;case"minutes":En!==-1&&(Cn=[En,En+2]);break;case"seconds":kn!==-1&&(Cn=[kn,kn+2]);break}const[$n,An]=Cn;V("select-range",$n,An),ue.value=bn},Ue=bn=>{Pt(bn,unref(xe)[bn])},Fe=()=>{Ue("hours"),Ue("minutes"),Ue("seconds")},ze=bn=>bn.querySelector(`.${re.namespace.value}-scrollbar__wrap`),Pt=(bn,Cn)=>{if(r.arrowControl)return;const Sn=unref(_e[bn]);Sn&&Sn.$el&&(ze(Sn.$el).scrollTop=Math.max(0,Cn*qe(bn)))},qe=bn=>{const Cn=unref(_e[bn]),Sn=Cn==null?void 0:Cn.$el.querySelector("li");return Sn&&Number.parseFloat(getStyle$1(Sn,"height"))||0},Et=()=>{At(1)},kt=()=>{At(-1)},At=bn=>{ue.value||Ve("hours");const Cn=ue.value,Sn=unref(xe)[Cn],Tn=ue.value==="hours"?24:60,En=Dt(Cn,Sn,bn,Tn);Lt(Cn,En),Pt(Cn,En),nextTick(()=>Ve(Cn))},Dt=(bn,Cn,Sn,Tn)=>{let En=(Cn+Sn+Tn)%Tn;const kn=unref(Ie)[bn];for(;kn[En]&&En!==Cn;)En=(En+Sn+Tn)%Tn;return En},Lt=(bn,Cn)=>{if(unref(Ie)[bn][Cn])return;const{hours:En,minutes:kn,seconds:$n}=unref(xe);let An;switch(bn){case"hours":An=r.spinnerDate.hour(Cn).minute(kn).second($n);break;case"minutes":An=r.spinnerDate.hour(En).minute(Cn).second($n);break;case"seconds":An=r.spinnerDate.hour(En).minute(kn).second(Cn);break}V(CHANGE_EVENT,An)},jt=(bn,{value:Cn,disabled:Sn})=>{Sn||(Lt(bn,Cn),Ve(bn),Pt(bn,Cn))},hn=bn=>{const Cn=unref(_e[bn]);if(!Cn)return;le=!0,Oe(bn);const Sn=Math.min(Math.round((ze(Cn.$el).scrollTop-(vn(bn)*.5-10)/qe(bn)+3)/qe(bn)),bn==="hours"?23:59);Lt(bn,Sn)},vn=bn=>unref(_e[bn]).$el.offsetHeight,_n=()=>{const bn=Cn=>{const Sn=unref(_e[Cn]);Sn&&Sn.$el&&(ze(Sn.$el).onscroll=()=>{hn(Cn)})};bn("hours"),bn("minutes"),bn("seconds")};onMounted(()=>{nextTick(()=>{!r.arrowControl&&_n(),Fe(),r.role==="start"&&Ve("hours")})});const wn=(bn,Cn)=>{_e[Cn].value=bn??void 0};return V("set-option",[`${r.role}_scrollDown`,At]),V("set-option",[`${r.role}_emitSelectRange`,Ve]),watch(()=>r.spinnerDate,()=>{le||Fe()}),(bn,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(re).b("spinner"),{"has-seconds":bn.showSeconds}])},[bn.arrowControl?createCommentVNode("v-if",!0):(openBlock(!0),createElementBlock(Fragment,{key:0},renderList(Ce.value,Sn=>(openBlock(),createBlock(unref(ElScrollbar),{key:Sn,ref_for:!0,ref:Tn=>wn(Tn,Sn),class:normalizeClass(unref(re).be("spinner","wrapper")),"wrap-style":"max-height: inherit;","view-class":unref(re).be("spinner","list"),noresize:"",tag:"ul",onMouseenter:Tn=>Ve(Sn),onMousemove:Tn=>Ue(Sn)},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ie.value[Sn],(Tn,En)=>(openBlock(),createElementBlock("li",{key:En,class:normalizeClass([unref(re).be("spinner","item"),unref(re).is("active",En===xe.value[Sn]),unref(re).is("disabled",Tn)]),onClick:kn=>jt(Sn,{value:En,disabled:Tn})},[Sn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(bn.amPmMode?En%12||12:En)).slice(-2))+toDisplayString($e(En)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+En).slice(-2)),1)],64))],10,_hoisted_1$1e))),128))]),_:2},1032,["class","view-class","onMouseenter","onMousemove"]))),128)),bn.arrowControl?(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(Ce.value,Sn=>(openBlock(),createElementBlock("div",{key:Sn,class:normalizeClass([unref(re).be("spinner","wrapper"),unref(re).is("arrow")]),onMouseenter:Tn=>Ve(Sn)},[withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-up",unref(re).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_up_default))]),_:1},8,["class"])),[[unref(vRepeatClick),kt]]),withDirectives((openBlock(),createBlock(unref(ElIcon),{class:normalizeClass(["arrow-down",unref(re).be("spinner","arrow")])},{default:withCtx(()=>[createVNode$1(unref(arrow_down_default))]),_:1},8,["class"])),[[unref(vRepeatClick),Et]]),createBaseVNode("ul",{class:normalizeClass(unref(re).be("spinner","list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ne.value[Sn],(Tn,En)=>(openBlock(),createElementBlock("li",{key:En,class:normalizeClass([unref(re).be("spinner","item"),unref(re).is("active",Tn===xe.value[Sn]),unref(re).is("disabled",Ie.value[Sn][Tn])])},[unref(isNumber$2)(Tn)?(openBlock(),createElementBlock(Fragment,{key:0},[Sn==="hours"?(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(("0"+(bn.amPmMode?Tn%12||12:Tn)).slice(-2))+toDisplayString($e(Tn)),1)],64)):(openBlock(),createElementBlock(Fragment,{key:1},[createTextVNode(toDisplayString(("0"+Tn).slice(-2)),1)],64))],64)):createCommentVNode("v-if",!0)],2))),128))],2)],42,_hoisted_2$Q))),128)):createCommentVNode("v-if",!0)],2))}});var TimeSpinner=_export_sfc(_sfc_main$20,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/basic-time-spinner.vue"]]);const _sfc_main$1$=defineComponent({__name:"panel-time-pick",props:panelTimePickerProps,emits:["pick","select-range","set-picker-option"],setup(n,{emit:t}){const r=n,i=t,g=inject(PICKER_BASE_INJECTION_KEY),{arrowControl:$,disabledHours:V,disabledMinutes:re,disabledSeconds:ie,defaultValue:ae}=g.props,{getAvailableHours:oe,getAvailableMinutes:le,getAvailableSeconds:ue}=buildAvailableTimeSlotGetter(V,re,ie),de=useNamespace("time"),{t:he,lang:pe}=useLocale(),_e=ref([0,2]),Ce=useOldValue(r),xe=computed(()=>isUndefined$1(r.actualVisible)?`${de.namespace.value}-zoom-in-top`:""),Ie=computed(()=>r.format.includes("ss")),Ne=computed(()=>r.format.includes("A")?"A":r.format.includes("a")?"a":""),Oe=jt=>{const hn=dayjs(jt).locale(pe.value),vn=At(hn);return hn.isSame(vn)},$e=()=>{const jt=Ce.value;i("pick",jt,!1),nextTick(()=>{Ce.value=jt})},Ve=(jt=!1,hn=!1)=>{hn||i("pick",r.parsedValue,jt)},Ue=jt=>{if(!r.visible)return;const hn=At(jt).millisecond(0);i("pick",hn,!0)},Fe=(jt,hn)=>{i("select-range",jt,hn),_e.value=[jt,hn]},ze=jt=>{const hn=r.format,vn=hn.indexOf("HH"),_n=hn.indexOf("mm"),wn=hn.indexOf("ss"),bn=[],Cn=[];vn!==-1&&(bn.push(vn),Cn.push("hours")),_n!==-1&&(bn.push(_n),Cn.push("minutes")),wn!==-1&&Ie.value&&(bn.push(wn),Cn.push("seconds"));const Tn=(bn.indexOf(_e.value[0])+jt+bn.length)%bn.length;qe.start_emitSelectRange(Cn[Tn])},Pt=jt=>{const hn=getEventCode(jt),{left:vn,right:_n,up:wn,down:bn}=EVENT_CODE;if([vn,_n].includes(hn)){ze(hn===vn?-1:1),jt.preventDefault();return}if([wn,bn].includes(hn)){const Cn=hn===wn?-1:1;qe.start_scrollDown(Cn),jt.preventDefault();return}},{timePickerOptions:qe,onSetOption:Et,getAvailableTime:kt}=useTimePanel({getAvailableHours:oe,getAvailableMinutes:le,getAvailableSeconds:ue}),At=jt=>kt(jt,r.datetimeRole||"",!0),Dt=jt=>jt?dayjs(jt,r.format).locale(pe.value):null,Lt=()=>dayjs(ae).locale(pe.value);return i("set-picker-option",["isValidValue",Oe]),i("set-picker-option",["parseUserInput",Dt]),i("set-picker-option",["handleKeydownInput",Pt]),i("set-picker-option",["getRangeAvailableTime",At]),i("set-picker-option",["getDefaultValue",Lt]),(jt,hn)=>(openBlock(),createBlock(Transition,{name:xe.value},{default:withCtx(()=>[jt.actualVisible||jt.visible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(de).b("panel"))},[createBaseVNode("div",{class:normalizeClass([unref(de).be("panel","content"),{"has-seconds":Ie.value}])},[createVNode$1(TimeSpinner,{ref:"spinner",role:jt.datetimeRole||"start","arrow-control":unref($),"show-seconds":Ie.value,"am-pm-mode":Ne.value,"spinner-date":jt.parsedValue,"disabled-hours":unref(V),"disabled-minutes":unref(re),"disabled-seconds":unref(ie),onChange:Ue,onSetOption:unref(Et),onSelectRange:Fe},null,8,["role","arrow-control","show-seconds","am-pm-mode","spinner-date","disabled-hours","disabled-minutes","disabled-seconds","onSetOption"])],2),createBaseVNode("div",{class:normalizeClass(unref(de).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(de).be("panel","btn"),"cancel"]),onClick:$e},toDisplayString(unref(he)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(de).be("panel","btn"),"confirm"]),onClick:hn[0]||(hn[0]=vn=>Ve())},toDisplayString(unref(he)("el.datepicker.confirm")),3)],2)],2)):createCommentVNode("v-if",!0)]),_:1},8,["name"]))}});var TimePickPanel=_export_sfc(_sfc_main$1$,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-pick.vue"]]);const panelTimeRangeProps=buildProps({...timePanelSharedProps,parsedValue:{type:definePropType(Array)}}),_hoisted_1$1d=["disabled"],_sfc_main$1_=defineComponent({__name:"panel-time-range",props:panelTimeRangeProps,emits:["pick","select-range","set-picker-option"],setup(n,{emit:t}){const r=n,i=t,g=(xn,Ln)=>{const Nn=[];for(let Pn=xn;Pn<=Ln;Pn++)Nn.push(Pn);return Nn},{t:$,lang:V}=useLocale(),re=useNamespace("time"),ie=useNamespace("picker"),ae=inject(PICKER_BASE_INJECTION_KEY),{arrowControl:oe,disabledHours:le,disabledMinutes:ue,disabledSeconds:de,defaultValue:he}=ae.props,pe=computed(()=>[re.be("range-picker","body"),re.be("panel","content"),re.is("arrow",oe),Oe.value?"has-seconds":""]),_e=computed(()=>[re.be("range-picker","body"),re.be("panel","content"),re.is("arrow",oe),Oe.value?"has-seconds":""]),Ce=computed(()=>r.parsedValue[0]),xe=computed(()=>r.parsedValue[1]),Ie=useOldValue(r),Ne=()=>{const xn=Ie.value;i("pick",xn,!1),nextTick(()=>{Ie.value=xn})},Oe=computed(()=>r.format.includes("ss")),$e=computed(()=>r.format.includes("A")?"A":r.format.includes("a")?"a":""),Ve=(xn=!1)=>{i("pick",[Ce.value,xe.value],xn)},Ue=xn=>{Pt(xn.millisecond(0),xe.value)},Fe=xn=>{Pt(Ce.value,xn.millisecond(0))},ze=xn=>{const Ln=xn.map(Pn=>dayjs(Pn).locale(V.value)),Nn=wn(Ln);return Ln[0].isSame(Nn[0])&&Ln[1].isSame(Nn[1])},Pt=(xn,Ln)=>{r.visible&&i("pick",[xn,Ln],!0)},qe=computed(()=>Ce.value>xe.value),Et=ref([0,2]),kt=(xn,Ln)=>{i("select-range",xn,Ln,"min"),Et.value=[xn,Ln]},At=computed(()=>Oe.value?11:8),Dt=(xn,Ln)=>{i("select-range",xn,Ln,"max");const Nn=unref(At);Et.value=[xn+Nn,Ln+Nn]},Lt=xn=>{const Ln=Oe.value?[0,3,6,11,14,17]:[0,3,8,11],Nn=["hours","minutes"].concat(Oe.value?["seconds"]:[]),On=(Ln.indexOf(Et.value[0])+xn+Ln.length)%Ln.length,Hn=Ln.length/2;On{const Ln=getEventCode(xn),{left:Nn,right:Pn,up:On,down:Hn}=EVENT_CODE;if([Nn,Pn].includes(Ln)){Lt(Ln===Nn?-1:1),xn.preventDefault();return}if([On,Hn].includes(Ln)){const Xn=Ln===On?-1:1,In=Et.value[0]{const Nn=le?le(xn):[],Pn=xn==="start",Hn=(Ln||(Pn?xe.value:Ce.value)).hour(),Xn=Pn?g(Hn+1,23):g(0,Hn-1);return union$1(Nn,Xn)},vn=(xn,Ln,Nn)=>{const Pn=ue?ue(xn,Ln):[],On=Ln==="start",Hn=Nn||(On?xe.value:Ce.value),Xn=Hn.hour();if(xn!==Xn)return Pn;const In=Hn.minute(),or=On?g(In+1,59):g(0,In-1);return union$1(Pn,or)},_n=(xn,Ln,Nn,Pn)=>{const On=de?de(xn,Ln,Nn):[],Hn=Nn==="start",Xn=Pn||(Hn?xe.value:Ce.value),In=Xn.hour(),or=Xn.minute();if(xn!==In||Ln!==or)return On;const Qn=Xn.second(),Zn=Hn?g(Qn+1,59):g(0,Qn-1);return union$1(On,Zn)},wn=([xn,Ln])=>[En(xn,"start",!0,Ln),En(Ln,"end",!1,xn)],{getAvailableHours:bn,getAvailableMinutes:Cn,getAvailableSeconds:Sn}=buildAvailableTimeSlotGetter(hn,vn,_n),{timePickerOptions:Tn,getAvailableTime:En,onSetOption:kn}=useTimePanel({getAvailableHours:bn,getAvailableMinutes:Cn,getAvailableSeconds:Sn}),$n=xn=>xn?isArray$5(xn)?xn.map(Ln=>dayjs(Ln,r.format).locale(V.value)):dayjs(xn,r.format).locale(V.value):null,An=()=>{if(isArray$5(he))return he.map(Ln=>dayjs(Ln).locale(V.value));const xn=dayjs(he).locale(V.value);return[xn,xn.add(60,"m")]};return i("set-picker-option",["parseUserInput",$n]),i("set-picker-option",["isValidValue",ze]),i("set-picker-option",["handleKeydownInput",jt]),i("set-picker-option",["getDefaultValue",An]),i("set-picker-option",["getRangeAvailableTime",wn]),(xn,Ln)=>xn.actualVisible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(re).b("range-picker"),unref(ie).b("panel")])},[createBaseVNode("div",{class:normalizeClass(unref(re).be("range-picker","content"))},[createBaseVNode("div",{class:normalizeClass(unref(re).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(re).be("range-picker","header"))},toDisplayString(unref($)("el.datepicker.startTime")),3),createBaseVNode("div",{class:normalizeClass(pe.value)},[createVNode$1(TimeSpinner,{ref:"minSpinner",role:"start","show-seconds":Oe.value,"am-pm-mode":$e.value,"arrow-control":unref(oe),"spinner-date":Ce.value,"disabled-hours":hn,"disabled-minutes":vn,"disabled-seconds":_n,onChange:Ue,onSetOption:unref(kn),onSelectRange:kt},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2),createBaseVNode("div",{class:normalizeClass(unref(re).be("range-picker","cell"))},[createBaseVNode("div",{class:normalizeClass(unref(re).be("range-picker","header"))},toDisplayString(unref($)("el.datepicker.endTime")),3),createBaseVNode("div",{class:normalizeClass(_e.value)},[createVNode$1(TimeSpinner,{ref:"maxSpinner",role:"end","show-seconds":Oe.value,"am-pm-mode":$e.value,"arrow-control":unref(oe),"spinner-date":xe.value,"disabled-hours":hn,"disabled-minutes":vn,"disabled-seconds":_n,onChange:Fe,onSetOption:unref(kn),onSelectRange:Dt},null,8,["show-seconds","am-pm-mode","arrow-control","spinner-date","onSetOption"])],2)],2)],2),createBaseVNode("div",{class:normalizeClass(unref(re).be("panel","footer"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(re).be("panel","btn"),"cancel"]),onClick:Ln[0]||(Ln[0]=Nn=>Ne())},toDisplayString(unref($)("el.datepicker.cancel")),3),createBaseVNode("button",{type:"button",class:normalizeClass([unref(re).be("panel","btn"),"confirm"]),disabled:qe.value,onClick:Ln[1]||(Ln[1]=Nn=>Ve())},toDisplayString(unref($)("el.datepicker.confirm")),11,_hoisted_1$1d)],2)],2)):createCommentVNode("v-if",!0)}});var TimeRangePanel=_export_sfc(_sfc_main$1_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-picker/src/time-picker-com/panel-time-range.vue"]]);dayjs.extend(customParseFormat);var TimePicker=defineComponent({name:"ElTimePicker",install:null,props:{...timePickerDefaultProps,isRange:Boolean},emits:[UPDATE_MODEL_EVENT],setup(n,t){const r=ref(),[i,g]=n.isRange?["timerange",TimeRangePanel]:["time",TimePickPanel],$=V=>t.emit(UPDATE_MODEL_EVENT,V);return provide(PICKER_POPPER_OPTIONS_INJECTION_KEY,n.popperOptions),t.expose({focus:()=>{var V;(V=r.value)==null||V.focus()},blur:()=>{var V;(V=r.value)==null||V.blur()},handleOpen:()=>{var V;(V=r.value)==null||V.handleOpen()},handleClose:()=>{var V;(V=r.value)==null||V.handleClose()}}),()=>{var V;const re=(V=n.format)!=null?V:DEFAULT_FORMATS_TIME;return createVNode$1(CommonPicker,mergeProps(n,{ref:r,type:i,format:re,"onUpdate:modelValue":$}),{default:ie=>createVNode$1(g,ie,null)})}}});const ElTimePicker=withInstall(TimePicker);var advancedFormat$1={exports:{}};(function(n,t){(function(r,i){n.exports=i()})(commonjsGlobal,function(){return function(r,i){var g=i.prototype,$=g.format;g.format=function(V){var re=this,ie=this.$locale();if(!this.isValid())return $.bind(this)(V);var ae=this.$utils(),oe=(V||"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(le){switch(le){case"Q":return Math.ceil((re.$M+1)/3);case"Do":return ie.ordinal(re.$D);case"gggg":return re.weekYear();case"GGGG":return re.isoWeekYear();case"wo":return ie.ordinal(re.week(),"W");case"w":case"ww":return ae.s(re.week(),le==="w"?1:2,"0");case"W":case"WW":return ae.s(re.isoWeek(),le==="W"?1:2,"0");case"k":case"kk":return ae.s(String(re.$H===0?24:re.$H),le==="k"?1:2,"0");case"X":return Math.floor(re.$d.getTime()/1e3);case"x":return re.$d.getTime();case"z":return"["+re.offsetName()+"]";case"zzz":return"["+re.offsetName("long")+"]";default:return le}});return $.bind(this)(oe)}}})})(advancedFormat$1);var advancedFormatExports=advancedFormat$1.exports;const advancedFormat=getDefaultExportFromCjs(advancedFormatExports);var weekOfYear$1={exports:{}};(function(n,t){(function(r,i){n.exports=i()})(commonjsGlobal,function(){var r="week",i="year";return function(g,$,V){var re=$.prototype;re.week=function(ie){if(ie===void 0&&(ie=null),ie!==null)return this.add(7*(ie-this.week()),"day");var ae=this.$locale().yearStart||1;if(this.month()===11&&this.date()>25){var oe=V(this).startOf(i).add(1,i).date(ae),le=V(this).endOf(r);if(oe.isBefore(le))return 1}var ue=V(this).startOf(i).date(ae).startOf(r).subtract(1,"millisecond"),de=this.diff(ue,r,!0);return de<0?V(this).startOf("week").week():Math.ceil(de)},re.weeks=function(ie){return ie===void 0&&(ie=null),this.week(ie)}}})})(weekOfYear$1);var weekOfYearExports=weekOfYear$1.exports;const weekOfYear=getDefaultExportFromCjs(weekOfYearExports);var weekYear$1={exports:{}};(function(n,t){(function(r,i){n.exports=i()})(commonjsGlobal,function(){return function(r,i){i.prototype.weekYear=function(){var g=this.month(),$=this.week(),V=this.year();return $===1&&g===11?V+1:g===0&&$>=52?V-1:V}}})})(weekYear$1);var weekYearExports=weekYear$1.exports;const weekYear=getDefaultExportFromCjs(weekYearExports);var dayOfYear$1={exports:{}};(function(n,t){(function(r,i){n.exports=i()})(commonjsGlobal,function(){return function(r,i,g){i.prototype.dayOfYear=function($){var V=Math.round((g(this).startOf("day")-g(this).startOf("year"))/864e5)+1;return $==null?V:this.add($-V,"day")}}})})(dayOfYear$1);var dayOfYearExports=dayOfYear$1.exports;const dayOfYear=getDefaultExportFromCjs(dayOfYearExports);var isSameOrAfter$1={exports:{}};(function(n,t){(function(r,i){n.exports=i()})(commonjsGlobal,function(){return function(r,i){i.prototype.isSameOrAfter=function(g,$){return this.isSame(g,$)||this.isAfter(g,$)}}})})(isSameOrAfter$1);var isSameOrAfterExports=isSameOrAfter$1.exports;const isSameOrAfter=getDefaultExportFromCjs(isSameOrAfterExports);var isSameOrBefore$1={exports:{}};(function(n,t){(function(r,i){n.exports=i()})(commonjsGlobal,function(){return function(r,i){i.prototype.isSameOrBefore=function(g,$){return this.isSame(g,$)||this.isBefore(g,$)}}})})(isSameOrBefore$1);var isSameOrBeforeExports=isSameOrBefore$1.exports;const isSameOrBefore=getDefaultExportFromCjs(isSameOrBeforeExports),datePickerPanelProps=buildProps({valueFormat:String,dateFormat:String,timeFormat:String,disabled:{type:Boolean,default:void 0},modelValue:{type:definePropType([Date,Array,String,Number]),default:""},defaultValue:{type:definePropType([Date,Array])},defaultTime:{type:definePropType([Date,Array])},isRange:Boolean,...disabledTimeListsProps,disabledDate:{type:Function},cellClassName:{type:Function},shortcuts:{type:Array,default:()=>[]},arrowControl:Boolean,unlinkPanels:Boolean,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:Boolean,showWeekNumber:Boolean,type:{type:definePropType(String),default:"date"},clearable:{type:Boolean,default:!0},border:{type:Boolean,default:!0},editable:{type:Boolean,default:!0}}),ROOT_PICKER_INJECTION_KEY=Symbol("rootPickerContextKey"),ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY="ElIsDefaultFormat",selectionModes=["date","dates","year","years","month","months","week","range"],datePickerSharedProps=buildProps({cellClassName:{type:definePropType(Function)},disabledDate:{type:definePropType(Function)},date:{type:definePropType(Object),required:!0},minDate:{type:definePropType(Object)},maxDate:{type:definePropType(Object)},parsedValue:{type:definePropType([Object,Array])},rangeState:{type:definePropType(Object),default:()=>({endDate:null,selecting:!1})},disabled:Boolean}),panelSharedProps=buildProps({type:{type:definePropType(String),required:!0,values:datePickTypes},dateFormat:String,timeFormat:String,showNow:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},showWeekNumber:Boolean,border:Boolean,disabled:Boolean,editable:{type:Boolean,default:!0}}),panelRangeSharedProps=buildProps({unlinkPanels:Boolean,visible:{type:Boolean,default:!0},showConfirm:Boolean,showFooter:{type:Boolean,default:!0},border:Boolean,disabled:Boolean,parsedValue:{type:definePropType(Array)}}),selectionModeWithDefault=n=>({type:String,values:selectionModes,default:n}),panelDatePickProps=buildProps({...panelSharedProps,parsedValue:{type:definePropType([Object,Array])},visible:{type:Boolean,default:!0},format:{type:String,default:""}}),isValidRange=n=>{if(!isArray$5(n))return!1;const[t,r]=n;return dayjs.isDayjs(t)&&dayjs.isDayjs(r)&&dayjs(t).isValid()&&dayjs(r).isValid()&&t.isSameOrBefore(r)},getDefaultValue=(n,{lang:t,step:r=1,unit:i,unlinkPanels:g})=>{let $;if(isArray$5(n)){let[V,re]=n.map(ie=>dayjs(ie).locale(t));return g||(re=V.add(r,i)),[V,re]}else n?$=dayjs(n):$=dayjs();return $=$.locale(t),[$,$.add(r,i)]},buildPickerTable=(n,t,{columnIndexOffset:r,startDate:i,nextEndDate:g,now:$,unit:V,relativeDateGetter:re,setCellMetadata:ie,setRowMetadata:ae})=>{for(let oe=0;oe{const g=dayjs().locale(i).startOf("month").month(r).year(t).hour(n.hour()).minute(n.minute()).second(n.second()),$=g.daysInMonth();return rangeArr($).map(V=>g.add(V,"day").toDate())},getValidDateOfMonth=(n,t,r,i,g)=>{const $=dayjs().year(t).month(r).startOf("month").hour(n.hour()).minute(n.minute()).second(n.second()),V=datesInMonth(n,t,r,i).find(re=>!(g!=null&&g(re)));return V?dayjs(V).locale(i):$.locale(i)},getValidDateOfYear=(n,t,r)=>{const i=n.year();if(!(r!=null&&r(n.toDate())))return n.locale(t);const g=n.month();if(!datesInMonth(n,i,g,t).every(r))return getValidDateOfMonth(n,i,g,t,r);for(let $=0;$<12;$++)if(!datesInMonth(n,i,$,t).every(r))return getValidDateOfMonth(n,i,$,t,r);return n},correctlyParseUserInput=(n,t,r,i)=>{if(isArray$5(n))return n.map(g=>correctlyParseUserInput(g,t,r,i));if(isString$2(n)){const g=i!=null&&i.value?dayjs(n):dayjs(n,t);if(!g.isValid())return g}return dayjs(n,t).locale(r)},basicDateTableProps=buildProps({...datePickerSharedProps,showWeekNumber:Boolean,selectionMode:selectionModeWithDefault("date")}),basicDateTableEmits=["changerange","pick","select"],isNormalDay=(n="")=>["normal","today"].includes(n),useBasicDateTable=(n,t)=>{const{lang:r}=useLocale(),i=ref(),g=ref(),$=ref(),V=ref(),re=ref([[],[],[],[],[],[]]);let ie=!1;const ae=n.date.$locale().weekStart||7,oe=n.date.locale("en").localeData().weekdaysShort().map(hn=>hn.toLowerCase()),le=computed(()=>ae>3?7-ae:-ae),ue=computed(()=>{const hn=n.date.startOf("month");return hn.subtract(hn.day()||7,"day")}),de=computed(()=>oe.concat(oe).slice(ae,ae+7)),he=computed(()=>flatten$1(unref(Ne)).some(hn=>hn.isCurrent)),pe=computed(()=>{const hn=n.date.startOf("month"),vn=hn.day()||7,_n=hn.daysInMonth(),wn=hn.subtract(1,"month").daysInMonth();return{startOfMonthDay:vn,dateCountOfMonth:_n,dateCountOfLastMonth:wn}}),_e=computed(()=>n.selectionMode==="dates"?castArray(n.parsedValue):[]),Ce=(hn,{count:vn,rowIndex:_n,columnIndex:wn})=>{const{startOfMonthDay:bn,dateCountOfMonth:Cn,dateCountOfLastMonth:Sn}=unref(pe),Tn=unref(le);if(_n>=0&&_n<=1){const En=bn+Tn<0?7+bn+Tn:bn+Tn;if(wn+_n*7>=En)return hn.text=vn,!0;hn.text=Sn-(En-wn%7)+1+_n*7,hn.type="prev-month"}else return vn<=Cn?hn.text=vn:(hn.text=vn-Cn,hn.type="next-month"),!0;return!1},xe=(hn,{columnIndex:vn,rowIndex:_n},wn)=>{const{disabledDate:bn,cellClassName:Cn}=n,Sn=unref(_e),Tn=Ce(hn,{count:wn,rowIndex:_n,columnIndex:vn}),En=hn.dayjs.toDate();return hn.selected=Sn.find(kn=>kn.isSame(hn.dayjs,"day")),hn.isSelected=!!hn.selected,hn.isCurrent=$e(hn),hn.disabled=bn==null?void 0:bn(En),hn.customClass=Cn==null?void 0:Cn(En),Tn},Ie=hn=>{if(n.selectionMode==="week"){const[vn,_n]=n.showWeekNumber?[1,7]:[0,6],wn=jt(hn[vn+1]);hn[vn].inRange=wn,hn[vn].start=wn,hn[_n].inRange=wn,hn[_n].end=wn}},Ne=computed(()=>{const{minDate:hn,maxDate:vn,rangeState:_n,showWeekNumber:wn}=n,bn=unref(le),Cn=unref(re),Sn="day";let Tn=1;if(buildPickerTable({row:6,column:7},Cn,{startDate:hn,columnIndexOffset:wn?1:0,nextEndDate:_n.endDate||vn||_n.selecting&&hn||null,now:dayjs().locale(unref(r)).startOf(Sn),unit:Sn,relativeDateGetter:En=>unref(ue).add(En-bn,Sn),setCellMetadata:(...En)=>{xe(...En,Tn)&&(Tn+=1)},setRowMetadata:Ie}),wn)for(let En=0;En<6;En++)Cn[En][1].dayjs&&(Cn[En][0]={type:"week",text:Cn[En][1].dayjs.week()});return Cn});watch(()=>n.date,async()=>{var hn;(hn=unref(i))!=null&&hn.contains(document.activeElement)&&(await nextTick(),await Oe())});const Oe=async()=>{var hn;return(hn=unref(g))==null?void 0:hn.focus()},$e=hn=>n.selectionMode==="date"&&isNormalDay(hn.type)&&Ve(hn,n.parsedValue),Ve=(hn,vn)=>vn?dayjs(vn).locale(unref(r)).isSame(n.date.date(Number(hn.text)),"day"):!1,Ue=(hn,vn)=>{const _n=hn*7+(vn-(n.showWeekNumber?1:0))-unref(le);return unref(ue).add(_n,"day")},Fe=hn=>{var vn;if(!n.rangeState.selecting)return;let _n=hn.target;if(_n.tagName==="SPAN"&&(_n=(vn=_n.parentNode)==null?void 0:vn.parentNode),_n.tagName==="DIV"&&(_n=_n.parentNode),_n.tagName!=="TD")return;const wn=_n.parentNode.rowIndex-1,bn=_n.cellIndex;unref(Ne)[wn][bn].disabled||(wn!==unref($)||bn!==unref(V))&&($.value=wn,V.value=bn,t("changerange",{selecting:!0,endDate:Ue(wn,bn)}))},ze=hn=>!unref(he)&&(hn==null?void 0:hn.text)===1&&isNormalDay(hn.type)||hn.isCurrent,Pt=hn=>{ie||unref(he)||n.selectionMode!=="date"||Lt(hn,!0)},qe=hn=>{hn.target.closest("td")&&(ie=!0)},Et=hn=>{hn.target.closest("td")&&(ie=!1)},kt=hn=>{!n.rangeState.selecting||!n.minDate?(t("pick",{minDate:hn,maxDate:null}),t("select",!0)):(hn>=n.minDate?t("pick",{minDate:n.minDate,maxDate:hn}):t("pick",{minDate:hn,maxDate:n.minDate}),t("select",!1))},At=hn=>{const vn=hn.week(),_n=`${hn.year()}w${vn}`;t("pick",{year:hn.year(),week:vn,value:_n,date:hn.startOf("week")})},Dt=(hn,vn)=>{const _n=vn?castArray(n.parsedValue).filter(wn=>(wn==null?void 0:wn.valueOf())!==hn.valueOf()):castArray(n.parsedValue).concat([hn]);t("pick",_n)},Lt=(hn,vn=!1)=>{if(n.disabled)return;const _n=hn.target.closest("td");if(!_n)return;const wn=_n.parentNode.rowIndex-1,bn=_n.cellIndex,Cn=unref(Ne)[wn][bn];if(Cn.disabled||Cn.type==="week")return;const Sn=Ue(wn,bn);switch(n.selectionMode){case"range":{kt(Sn);break}case"date":{t("pick",Sn,vn);break}case"week":{At(Sn);break}case"dates":{Dt(Sn,!!Cn.selected);break}}},jt=hn=>{if(n.selectionMode!=="week")return!1;let vn=n.date.startOf("day");if(hn.type==="prev-month"&&(vn=vn.subtract(1,"month")),hn.type==="next-month"&&(vn=vn.add(1,"month")),vn=vn.date(Number.parseInt(hn.text,10)),n.parsedValue&&!isArray$5(n.parsedValue)){const _n=(n.parsedValue.day()-ae+7)%7-1;return n.parsedValue.subtract(_n,"day").isSame(vn,"day")}return!1};return{WEEKS:de,rows:Ne,tbodyRef:i,currentCellRef:g,focus:Oe,isCurrent:$e,isWeekActive:jt,isSelectedCell:ze,handlePickDate:Lt,handleMouseUp:Et,handleMouseDown:qe,handleMouseMove:Fe,handleFocus:Pt}},useBasicDateTableDOM=(n,{isCurrent:t,isWeekActive:r})=>{const i=useNamespace("date-table"),{t:g}=useLocale(),$=computed(()=>[i.b(),i.is("week-mode",n.selectionMode==="week"&&!n.disabled)]),V=computed(()=>g("el.datepicker.dateTablePrompt")),re=ae=>{const oe=[];return isNormalDay(ae.type)&&!ae.disabled?(oe.push("available"),ae.type==="today"&&oe.push("today")):oe.push(ae.type),t(ae)&&oe.push("current"),ae.inRange&&(isNormalDay(ae.type)||n.selectionMode==="week")&&(oe.push("in-range"),ae.start&&oe.push("start-date"),ae.end&&oe.push("end-date")),(ae.disabled||n.disabled)&&oe.push("disabled"),ae.selected&&oe.push("selected"),ae.customClass&&oe.push(ae.customClass),oe.join(" ")},ie=ae=>[i.e("row"),{current:r(ae)}];return{tableKls:$,tableLabel:V,weekHeaderClass:i.e("week-header"),getCellClasses:re,getRowKls:ie,t:g}},basicCellProps=buildProps({cell:{type:definePropType(Object)}});var ElDatePickerCell=defineComponent({name:"ElDatePickerCell",props:basicCellProps,setup(n){const t=useNamespace("date-table-cell"),{slots:r}=inject(ROOT_PICKER_INJECTION_KEY);return()=>{const{cell:i}=n;return renderSlot(r,"default",{...i},()=>{var g;return[createVNode$1("div",{class:t.b()},[createVNode$1("span",{class:t.e("text")},[(g=i==null?void 0:i.renderText)!=null?g:i==null?void 0:i.text])])]})}}});const _hoisted_1$1c=["aria-label"],_hoisted_2$P=["aria-label"],_hoisted_3$n=["aria-current","aria-selected","tabindex","aria-disabled"],_sfc_main$1Z=defineComponent({__name:"basic-date-table",props:basicDateTableProps,emits:basicDateTableEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,{WEEKS:$,rows:V,tbodyRef:re,currentCellRef:ie,focus:ae,isCurrent:oe,isWeekActive:le,isSelectedCell:ue,handlePickDate:de,handleMouseUp:he,handleMouseDown:pe,handleMouseMove:_e,handleFocus:Ce}=useBasicDateTable(i,g),{tableLabel:xe,tableKls:Ie,getCellClasses:Ne,getRowKls:Oe,weekHeaderClass:$e,t:Ve}=useBasicDateTableDOM(i,{isCurrent:oe,isWeekActive:le});let Ue=!1;return onBeforeUnmount(()=>{Ue=!0}),t({focus:ae}),(Fe,ze)=>(openBlock(),createElementBlock("table",{"aria-label":unref(xe),class:normalizeClass(unref(Ie)),cellspacing:"0",cellpadding:"0",role:"grid",onClick:ze[1]||(ze[1]=(...Pt)=>unref(de)&&unref(de)(...Pt)),onMousemove:ze[2]||(ze[2]=(...Pt)=>unref(_e)&&unref(_e)(...Pt)),onMousedown:ze[3]||(ze[3]=(...Pt)=>unref(pe)&&unref(pe)(...Pt)),onMouseup:ze[4]||(ze[4]=(...Pt)=>unref(he)&&unref(he)(...Pt))},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:re},[createBaseVNode("tr",null,[Fe.showWeekNumber?(openBlock(),createElementBlock("th",{key:0,scope:"col",class:normalizeClass(unref($e))},null,2)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref($),(Pt,qe)=>(openBlock(),createElementBlock("th",{key:qe,"aria-label":unref(Ve)("el.datepicker.weeksFull."+Pt),scope:"col"},toDisplayString(unref(Ve)("el.datepicker.weeks."+Pt)),9,_hoisted_2$P))),128))]),(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(V),(Pt,qe)=>(openBlock(),createElementBlock("tr",{key:qe,class:normalizeClass(unref(Oe)(Fe.showWeekNumber?Pt[2]:Pt[1]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Pt,(Et,kt)=>(openBlock(),createElementBlock("td",{key:`${qe}.${kt}`,ref_for:!0,ref:At=>!unref(Ue)&&unref(ue)(Et)&&(ie.value=At),class:normalizeClass(unref(Ne)(Et)),"aria-current":Et.isCurrent?"date":void 0,"aria-selected":Et.isCurrent,tabindex:Fe.disabled?void 0:unref(ue)(Et)?0:-1,"aria-disabled":Fe.disabled,onFocus:ze[0]||(ze[0]=(...At)=>unref(Ce)&&unref(Ce)(...At))},[createVNode$1(unref(ElDatePickerCell),{cell:Et},null,8,["cell"])],42,_hoisted_3$n))),128))],2))),128))],512)],42,_hoisted_1$1c))}});var DateTable=_export_sfc(_sfc_main$1Z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/basic-date-table.vue"]]);const basicMonthTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("month")}),_hoisted_1$1b=["aria-label"],_hoisted_2$O=["aria-selected","aria-label","tabindex","onKeydown"],_sfc_main$1Y=defineComponent({__name:"basic-month-table",props:basicMonthTableProps,emits:["changerange","pick","select"],setup(n,{expose:t,emit:r}){const i=n,g=r,$=useNamespace("month-table"),{t:V,lang:re}=useLocale(),ie=ref(),ae=ref(),oe=ref(i.date.locale("en").localeData().monthsShort().map(Ne=>Ne.toLowerCase())),le=ref([[],[],[]]),ue=ref(),de=ref(),he=computed(()=>{var Ne,Oe,$e;const Ve=le.value,Ue=dayjs().locale(re.value).startOf("month");for(let Fe=0;Fe<3;Fe++){const ze=Ve[Fe];for(let Pt=0;Pt<4;Pt++){const qe=ze[Pt]||(ze[Pt]={row:Fe,column:Pt,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0});qe.type="normal";const Et=Fe*4+Pt,kt=i.date.startOf("year").month(Et),At=i.rangeState.endDate||i.maxDate||i.rangeState.selecting&&i.minDate||null;qe.inRange=!!(i.minDate&&kt.isSameOrAfter(i.minDate,"month")&&At&&kt.isSameOrBefore(At,"month"))||!!(i.minDate&&kt.isSameOrBefore(i.minDate,"month")&&At&&kt.isSameOrAfter(At,"month")),(Ne=i.minDate)!=null&&Ne.isSameOrAfter(At)?(qe.start=!!(At&&kt.isSame(At,"month")),qe.end=i.minDate&&kt.isSame(i.minDate,"month")):(qe.start=!!(i.minDate&&kt.isSame(i.minDate,"month")),qe.end=!!(At&&kt.isSame(At,"month"))),Ue.isSame(kt)&&(qe.type="today");const Lt=kt.toDate();qe.text=Et,qe.disabled=((Oe=i.disabledDate)==null?void 0:Oe.call(i,Lt))||!1,qe.date=Lt,qe.customClass=($e=i.cellClassName)==null?void 0:$e.call(i,Lt),qe.dayjs=kt,qe.timestamp=kt.valueOf(),qe.isSelected=Ce(qe)}}return Ve}),pe=()=>{var Ne;(Ne=ae.value)==null||Ne.focus()},_e=Ne=>{const Oe={},$e=i.date.year(),Ve=new Date,Ue=Ne.text;return Oe.disabled=i.disabled||(i.disabledDate?datesInMonth(i.date,$e,Ue,re.value).every(i.disabledDate):!1),Oe.current=castArray(i.parsedValue).some(Fe=>dayjs.isDayjs(Fe)&&Fe.year()===$e&&Fe.month()===Ue),Oe.today=Ve.getFullYear()===$e&&Ve.getMonth()===Ue,Ne.customClass&&(Oe[Ne.customClass]=!0),Ne.inRange&&(Oe["in-range"]=!0,Ne.start&&(Oe["start-date"]=!0),Ne.end&&(Oe["end-date"]=!0)),Oe},Ce=Ne=>{const Oe=i.date.year(),$e=Ne.text;return castArray(i.date).some(Ve=>Ve.year()===Oe&&Ve.month()===$e)},xe=Ne=>{var Oe;if(!i.rangeState.selecting)return;let $e=Ne.target;if($e.tagName==="SPAN"&&($e=(Oe=$e.parentNode)==null?void 0:Oe.parentNode),$e.tagName==="DIV"&&($e=$e.parentNode),$e.tagName!=="TD")return;const Ve=$e.parentNode.rowIndex,Ue=$e.cellIndex;he.value[Ve][Ue].disabled||(Ve!==ue.value||Ue!==de.value)&&(ue.value=Ve,de.value=Ue,g("changerange",{selecting:!0,endDate:i.date.startOf("year").month(Ve*4+Ue)}))},Ie=Ne=>{var Oe;if(i.disabled)return;const $e=(Oe=Ne.target)==null?void 0:Oe.closest("td");if(($e==null?void 0:$e.tagName)!=="TD"||hasClass($e,"disabled"))return;const Ve=$e.cellIndex,Fe=$e.parentNode.rowIndex*4+Ve,ze=i.date.startOf("year").month(Fe);if(i.selectionMode==="months"){if(Ne.type==="keydown"){g("pick",castArray(i.parsedValue),!1);return}const Pt=getValidDateOfMonth(i.date,i.date.year(),Fe,re.value,i.disabledDate),qe=hasClass($e,"current")?castArray(i.parsedValue).filter(Et=>(Et==null?void 0:Et.year())!==Pt.year()||(Et==null?void 0:Et.month())!==Pt.month()):castArray(i.parsedValue).concat([dayjs(Pt)]);g("pick",qe)}else i.selectionMode==="range"?i.rangeState.selecting?(i.minDate&&ze>=i.minDate?g("pick",{minDate:i.minDate,maxDate:ze}):g("pick",{minDate:ze,maxDate:i.minDate}),g("select",!1)):(g("pick",{minDate:ze,maxDate:null}),g("select",!0)):g("pick",Fe)};return watch(()=>i.date,async()=>{var Ne,Oe;(Ne=ie.value)!=null&&Ne.contains(document.activeElement)&&(await nextTick(),(Oe=ae.value)==null||Oe.focus())}),t({focus:pe}),(Ne,Oe)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(V)("el.datepicker.monthTablePrompt"),class:normalizeClass(unref($).b()),onClick:Ie,onMousemove:xe},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:ie},[(openBlock(!0),createElementBlock(Fragment,null,renderList(he.value,($e,Ve)=>(openBlock(),createElementBlock("tr",{key:Ve},[(openBlock(!0),createElementBlock(Fragment,null,renderList($e,(Ue,Fe)=>(openBlock(),createElementBlock("td",{key:Fe,ref_for:!0,ref:ze=>Ue.isSelected&&(ae.value=ze),class:normalizeClass(_e(Ue)),"aria-selected":!!Ue.isSelected,"aria-label":unref(V)(`el.datepicker.month${+Ue.text+1}`),tabindex:Ue.isSelected?0:-1,onKeydown:[withKeys(withModifiers(Ie,["prevent","stop"]),["space"]),withKeys(withModifiers(Ie,["prevent","stop"]),["enter"])]},[createVNode$1(unref(ElDatePickerCell),{cell:{...Ue,renderText:unref(V)("el.datepicker.months."+oe.value[Ue.text])}},null,8,["cell"])],42,_hoisted_2$O))),128))]))),128))],512)],42,_hoisted_1$1b))}});var MonthTable=_export_sfc(_sfc_main$1Y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/basic-month-table.vue"]]);const basicYearTableProps=buildProps({...datePickerSharedProps,selectionMode:selectionModeWithDefault("year")}),_hoisted_1$1a=["aria-label"],_hoisted_2$N=["aria-selected","aria-label","tabindex","onKeydown"],_sfc_main$1X=defineComponent({__name:"basic-year-table",props:basicYearTableProps,emits:["changerange","pick","select"],setup(n,{expose:t,emit:r}){const i=(Oe,$e)=>{const Ve=dayjs(String(Oe)).locale($e).startOf("year"),Fe=Ve.endOf("year").dayOfYear();return rangeArr(Fe).map(ze=>Ve.add(ze,"day").toDate())},g=n,$=r,V=useNamespace("year-table"),{t:re,lang:ie}=useLocale(),ae=ref(),oe=ref(),le=computed(()=>Math.floor(g.date.year()/10)*10),ue=ref([[],[],[]]),de=ref(),he=ref(),pe=computed(()=>{var Oe,$e,Ve;const Ue=ue.value,Fe=dayjs().locale(ie.value).startOf("year");for(let ze=0;ze<3;ze++){const Pt=Ue[ze];for(let qe=0;qe<4&&!(ze*4+qe>=10);qe++){let Et=Pt[qe];Et||(Et={row:ze,column:qe,type:"normal",inRange:!1,start:!1,end:!1,text:-1,disabled:!1,isSelected:!1,customClass:void 0,date:void 0,dayjs:void 0,isCurrent:void 0,selected:void 0,renderText:void 0,timestamp:void 0}),Et.type="normal";const kt=ze*4+qe+le.value,At=dayjs().year(kt),Dt=g.rangeState.endDate||g.maxDate||g.rangeState.selecting&&g.minDate||null;Et.inRange=!!(g.minDate&&At.isSameOrAfter(g.minDate,"year")&&Dt&&At.isSameOrBefore(Dt,"year"))||!!(g.minDate&&At.isSameOrBefore(g.minDate,"year")&&Dt&&At.isSameOrAfter(Dt,"year")),(Oe=g.minDate)!=null&&Oe.isSameOrAfter(Dt)?(Et.start=!!(Dt&&At.isSame(Dt,"year")),Et.end=!!(g.minDate&&At.isSame(g.minDate,"year"))):(Et.start=!!(g.minDate&&At.isSame(g.minDate,"year")),Et.end=!!(Dt&&At.isSame(Dt,"year"))),Fe.isSame(At)&&(Et.type="today"),Et.text=kt;const jt=At.toDate();Et.disabled=(($e=g.disabledDate)==null?void 0:$e.call(g,jt))||!1,Et.date=jt,Et.customClass=(Ve=g.cellClassName)==null?void 0:Ve.call(g,jt),Et.dayjs=At,Et.timestamp=At.valueOf(),Et.isSelected=xe(Et),Pt[qe]=Et}}return Ue}),_e=()=>{var Oe;(Oe=oe.value)==null||Oe.focus()},Ce=Oe=>{const $e={},Ve=dayjs().locale(ie.value),Ue=Oe.text;return $e.disabled=g.disabled||(g.disabledDate?i(Ue,ie.value).every(g.disabledDate):!1),$e.today=Ve.year()===Ue,$e.current=castArray(g.parsedValue).some(Fe=>Fe.year()===Ue),Oe.customClass&&($e[Oe.customClass]=!0),Oe.inRange&&($e["in-range"]=!0,Oe.start&&($e["start-date"]=!0),Oe.end&&($e["end-date"]=!0)),$e},xe=Oe=>{const $e=Oe.text;return castArray(g.date).some(Ve=>Ve.year()===$e)},Ie=Oe=>{var $e;if(g.disabled)return;const Ve=($e=Oe.target)==null?void 0:$e.closest("td");if(!Ve||!Ve.textContent||hasClass(Ve,"disabled"))return;const Ue=Ve.cellIndex,ze=Ve.parentNode.rowIndex*4+Ue+le.value,Pt=dayjs().year(ze);if(g.selectionMode==="range")g.rangeState.selecting?(g.minDate&&Pt>=g.minDate?$("pick",{minDate:g.minDate,maxDate:Pt}):$("pick",{minDate:Pt,maxDate:g.minDate}),$("select",!1)):($("pick",{minDate:Pt,maxDate:null}),$("select",!0));else if(g.selectionMode==="years"){if(Oe.type==="keydown"){$("pick",castArray(g.parsedValue),!1);return}const qe=getValidDateOfYear(Pt.startOf("year"),ie.value,g.disabledDate),Et=hasClass(Ve,"current")?castArray(g.parsedValue).filter(kt=>(kt==null?void 0:kt.year())!==ze):castArray(g.parsedValue).concat([qe]);$("pick",Et)}else $("pick",ze)},Ne=Oe=>{var $e;if(!g.rangeState.selecting)return;const Ve=($e=Oe.target)==null?void 0:$e.closest("td");if(!Ve)return;const Ue=Ve.parentNode.rowIndex,Fe=Ve.cellIndex;pe.value[Ue][Fe].disabled||(Ue!==de.value||Fe!==he.value)&&(de.value=Ue,he.value=Fe,$("changerange",{selecting:!0,endDate:dayjs().year(le.value).add(Ue*4+Fe,"year")}))};return watch(()=>g.date,async()=>{var Oe,$e;(Oe=ae.value)!=null&&Oe.contains(document.activeElement)&&(await nextTick(),($e=oe.value)==null||$e.focus())}),t({focus:_e}),(Oe,$e)=>(openBlock(),createElementBlock("table",{role:"grid","aria-label":unref(re)("el.datepicker.yearTablePrompt"),class:normalizeClass(unref(V).b()),onClick:Ie,onMousemove:Ne},[createBaseVNode("tbody",{ref_key:"tbodyRef",ref:ae},[(openBlock(!0),createElementBlock(Fragment,null,renderList(pe.value,(Ve,Ue)=>(openBlock(),createElementBlock("tr",{key:Ue},[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ve,(Fe,ze)=>(openBlock(),createElementBlock("td",{key:`${Ue}_${ze}`,ref_for:!0,ref:Pt=>Fe.isSelected&&(oe.value=Pt),class:normalizeClass(["available",Ce(Fe)]),"aria-selected":Fe.isSelected,"aria-label":String(Fe.text),tabindex:Fe.isSelected?0:-1,onKeydown:[withKeys(withModifiers(Ie,["prevent","stop"]),["space"]),withKeys(withModifiers(Ie,["prevent","stop"]),["enter"])]},[createVNode$1(unref(ElDatePickerCell),{cell:Fe},null,8,["cell"])],42,_hoisted_2$N))),128))]))),128))],512)],42,_hoisted_1$1a))}});var YearTable=_export_sfc(_sfc_main$1X,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/basic-year-table.vue"]]);const _hoisted_1$19=["disabled","onClick"],_hoisted_2$M=["aria-label","disabled"],_hoisted_3$m=["aria-label","disabled"],_hoisted_4$h=["tabindex","aria-disabled"],_hoisted_5$9=["tabindex","aria-disabled"],_hoisted_6$3=["aria-label","disabled"],_hoisted_7$2=["aria-label","disabled"],_sfc_main$1W=defineComponent({__name:"panel-date-pick",props:panelDatePickProps,emits:["pick","set-picker-option","panel-change"],setup(n,{emit:t}){const r=(Yn,er,Fn)=>!0,i=n,g=t,$=useNamespace("picker-panel"),V=useNamespace("date-picker"),re=useAttrs$1(),ie=useSlots(),{t:ae,lang:oe}=useLocale(),le=inject(PICKER_BASE_INJECTION_KEY),ue=inject(ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY,void 0),{shortcuts:de,disabledDate:he,cellClassName:pe,defaultTime:_e}=le.props,Ce=toRef$1(le.props,"defaultValue"),xe=ref(),Ie=ref(dayjs().locale(oe.value)),Ne=ref(!1);let Oe=!1;const $e=computed(()=>dayjs(_e).locale(oe.value)),Ve=computed(()=>Ie.value.month()),Ue=computed(()=>Ie.value.year()),Fe=ref([]),ze=ref(null),Pt=ref(null),qe=Yn=>Fe.value.length>0?r(Yn,Fe.value,i.format||"HH:mm:ss"):!0,Et=Yn=>_e&&!In.value&&!Ne.value&&!Oe?$e.value.year(Yn.year()).month(Yn.month()).date(Yn.date()):$n.value?Yn.millisecond(0):Yn.startOf("day"),kt=(Yn,...er)=>{if(!Yn)g("pick",Yn,...er);else if(isArray$5(Yn)){const Fn=Yn.map(Et);g("pick",Fn,...er)}else g("pick",Et(Yn),...er);ze.value=null,Pt.value=null,Ne.value=!1,Oe=!1},At=async(Yn,er)=>{if(_n.value==="date"&&dayjs.isDayjs(Yn)){const Fn=extractFirst(i.parsedValue);let cr=Fn?Fn.year(Yn.year()).month(Yn.month()).date(Yn.date()):Yn;qe(cr)||(cr=Fe.value[0][0].year(Yn.year()).month(Yn.month()).date(Yn.date())),Ie.value=cr,kt(cr,$n.value||er)}else _n.value==="week"?kt(Yn.date):_n.value==="dates"&&kt(Yn,!0)},Dt=Yn=>{const er=Yn?"add":"subtract";Ie.value=Ie.value[er](1,"month"),lr("month")},Lt=Yn=>{const er=Ie.value,Fn=Yn?"add":"subtract";Ie.value=jt.value==="year"?er[Fn](10,"year"):er[Fn](1,"year"),lr("year")},jt=ref("date"),hn=computed(()=>{const Yn=ae("el.datepicker.year");if(jt.value==="year"){const er=Math.floor(Ue.value/10)*10;return Yn?`${er} ${Yn} - ${er+9} ${Yn}`:`${er} - ${er+9}`}return`${Ue.value} ${Yn}`}),vn=Yn=>{const er=isFunction$4(Yn.value)?Yn.value():Yn.value;if(er){Oe=!0,kt(dayjs(er).locale(oe.value));return}Yn.onClick&&Yn.onClick({attrs:re,slots:ie,emit:g})},_n=computed(()=>{const{type:Yn}=i;return["week","month","months","year","years","dates"].includes(Yn)?Yn:"date"}),wn=computed(()=>_n.value==="dates"||_n.value==="months"||_n.value==="years"),bn=computed(()=>_n.value==="date"?jt.value:_n.value),Cn=computed(()=>!!de.length),Sn=async(Yn,er)=>{_n.value==="month"?(Ie.value=getValidDateOfMonth(Ie.value,Ie.value.year(),Yn,oe.value,he),kt(Ie.value,!1)):_n.value==="months"?kt(Yn,er??!0):(Ie.value=getValidDateOfMonth(Ie.value,Ie.value.year(),Yn,oe.value,he),jt.value="date",["month","year","date","week"].includes(_n.value)&&(kt(Ie.value,!0),await nextTick(),hr())),lr("month")},Tn=async(Yn,er)=>{if(_n.value==="year"){const Fn=Ie.value.startOf("year").year(Yn);Ie.value=getValidDateOfYear(Fn,oe.value,he),kt(Ie.value,!1)}else if(_n.value==="years")kt(Yn,er??!0);else{const Fn=Ie.value.year(Yn);Ie.value=getValidDateOfYear(Fn,oe.value,he),jt.value="month",["month","year","date","week"].includes(_n.value)&&(kt(Ie.value,!0),await nextTick(),hr())}lr("year")},En=useFormDisabled(),kn=async Yn=>{En.value||(jt.value=Yn,await nextTick(),hr())},$n=computed(()=>i.type==="datetime"||i.type==="datetimerange"),An=computed(()=>{const Yn=$n.value||_n.value==="dates",er=_n.value==="years",Fn=_n.value==="months",cr=jt.value==="date",Un=jt.value==="year",gr=jt.value==="month";return Yn&&cr||er&&Un||Fn&&gr}),xn=computed(()=>!wn.value&&i.showNow||i.showConfirm),Ln=computed(()=>he?i.parsedValue?isArray$5(i.parsedValue)?he(i.parsedValue[0].toDate()):he(i.parsedValue.toDate()):!0:!1),Nn=()=>{if(wn.value)kt(i.parsedValue);else{let Yn=extractFirst(i.parsedValue);if(!Yn){const er=dayjs(_e).locale(oe.value),Fn=tr();Yn=er.year(Fn.year()).month(Fn.month()).date(Fn.date())}Ie.value=Yn,kt(Yn)}},Pn=computed(()=>he?he(dayjs().locale(oe.value).toDate()):!1),On=()=>{const er=dayjs().locale(oe.value).toDate();Ne.value=!0,(!he||!he(er))&&qe(er)&&(Ie.value=dayjs().locale(oe.value),kt(Ie.value))},Hn=computed(()=>i.timeFormat||extractTimeFormat(i.format)||DEFAULT_FORMATS_TIME),Xn=computed(()=>i.dateFormat||extractDateFormat(i.format)||DEFAULT_FORMATS_DATE),In=computed(()=>Pt.value?Pt.value:!i.parsedValue&&!Ce.value?void 0:(extractFirst(i.parsedValue)||Ie.value).format(Hn.value)),or=computed(()=>ze.value?ze.value:!i.parsedValue&&!Ce.value?void 0:(extractFirst(i.parsedValue)||Ie.value).format(Xn.value)),Qn=ref(!1),Zn=()=>{Qn.value=!0},Gn=()=>{Qn.value=!1},Rn=Yn=>({hour:Yn.hour(),minute:Yn.minute(),second:Yn.second(),year:Yn.year(),month:Yn.month(),date:Yn.date()}),Mn=(Yn,er,Fn)=>{const{hour:cr,minute:Un,second:gr}=Rn(Yn),vr=extractFirst(i.parsedValue),yr=vr?vr.hour(cr).minute(Un).second(gr):Yn;Ie.value=yr,kt(Ie.value,!0),Fn||(Qn.value=er)},Bn=Yn=>{const er=dayjs(Yn,Hn.value).locale(oe.value);if(er.isValid()&&qe(er)){const{year:Fn,month:cr,date:Un}=Rn(Ie.value);Ie.value=er.year(Fn).month(cr).date(Un),Pt.value=null,Qn.value=!1,kt(Ie.value,!0)}},qn=Yn=>{const er=correctlyParseUserInput(Yn,Xn.value,oe.value,ue);if(er.isValid()){if(he&&he(er.toDate()))return;const{hour:Fn,minute:cr,second:Un}=Rn(Ie.value);Ie.value=er.hour(Fn).minute(cr).second(Un),ze.value=null,kt(Ie.value,!0)}},zn=Yn=>dayjs.isDayjs(Yn)&&Yn.isValid()&&(he?!he(Yn.toDate()):!0),jn=Yn=>correctlyParseUserInput(Yn,i.format,oe.value,ue),tr=()=>{const Yn=dayjs(Ce.value).locale(oe.value);if(!Ce.value){const er=$e.value;return dayjs().hour(er.hour()).minute(er.minute()).second(er.second()).locale(oe.value)}return Yn},hr=()=>{var Yn;["week","month","year","date"].includes(_n.value)&&((Yn=xe.value)==null||Yn.focus())},ir=()=>{hr(),_n.value==="week"&&rr(EVENT_CODE.down)},pr=Yn=>{const er=getEventCode(Yn);[EVENT_CODE.up,EVENT_CODE.down,EVENT_CODE.left,EVENT_CODE.right,EVENT_CODE.home,EVENT_CODE.end,EVENT_CODE.pageUp,EVENT_CODE.pageDown].includes(er)&&(rr(er),Yn.stopPropagation(),Yn.preventDefault()),[EVENT_CODE.enter,EVENT_CODE.space,EVENT_CODE.numpadEnter].includes(er)&&ze.value===null&&Pt.value===null&&(Yn.preventDefault(),kt(Ie.value,!1))},rr=Yn=>{var er;const{up:Fn,down:cr,left:Un,right:gr,home:vr,end:yr,pageUp:Wn,pageDown:Jn}=EVENT_CODE,sr={year:{[Fn]:-4,[cr]:4,[Un]:-1,[gr]:1,offset:(Tr,fr)=>Tr.setFullYear(Tr.getFullYear()+fr)},month:{[Fn]:-4,[cr]:4,[Un]:-1,[gr]:1,offset:(Tr,fr)=>Tr.setMonth(Tr.getMonth()+fr)},week:{[Fn]:-1,[cr]:1,[Un]:-1,[gr]:1,offset:(Tr,fr)=>Tr.setDate(Tr.getDate()+fr*7)},date:{[Fn]:-7,[cr]:7,[Un]:-1,[gr]:1,[vr]:Tr=>-Tr.getDay(),[yr]:Tr=>-Tr.getDay()+6,[Wn]:Tr=>-new Date(Tr.getFullYear(),Tr.getMonth(),0).getDate(),[Jn]:Tr=>new Date(Tr.getFullYear(),Tr.getMonth()+1,0).getDate(),offset:(Tr,fr)=>Tr.setDate(Tr.getDate()+fr)}},Sr=Ie.value.toDate();for(;Math.abs(Ie.value.diff(Sr,"year",!0))<1;){const Tr=sr[bn.value];if(!Tr)return;if(Tr.offset(Sr,isFunction$4(Tr[Yn])?Tr[Yn](Sr):(er=Tr[Yn])!=null?er:0),he&&he(Sr))break;const fr=dayjs(Sr).locale(oe.value);Ie.value=fr,g("pick",fr,!0);break}},lr=Yn=>{g("panel-change",Ie.value.toDate(),Yn,jt.value)};return watch(()=>_n.value,Yn=>{if(["month","year"].includes(Yn)){jt.value=Yn;return}else if(Yn==="years"){jt.value="year";return}else if(Yn==="months"){jt.value="month";return}jt.value="date"},{immediate:!0}),watch(()=>Ce.value,Yn=>{Yn&&(Ie.value=tr())},{immediate:!0}),watch(()=>i.parsedValue,Yn=>{if(Yn){if(wn.value||isArray$5(Yn))return;Ie.value=Yn}else Ie.value=tr()},{immediate:!0}),g("set-picker-option",["isValidValue",zn]),g("set-picker-option",["parseUserInput",jn]),g("set-picker-option",["handleFocusPicker",ir]),(Yn,er)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($).b(),unref(V).b(),unref($).is("border",Yn.border),unref($).is("disabled",unref(En)),{"has-sidebar":Yn.$slots.sidebar||Cn.value,"has-time":$n.value}])},[createBaseVNode("div",{class:normalizeClass(unref($).e("body-wrapper"))},[renderSlot(Yn.$slots,"sidebar",{class:normalizeClass(unref($).e("sidebar"))}),Cn.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(de),(Fn,cr)=>(openBlock(),createElementBlock("button",{key:cr,type:"button",disabled:unref(En),class:normalizeClass(unref($).e("shortcut")),onClick:Un=>vn(Fn)},toDisplayString(Fn.text),11,_hoisted_1$19))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref($).e("body"))},[$n.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(V).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(ae)("el.datepicker.selectDate"),"model-value":or.value,size:"small","validate-event":!1,disabled:unref(En),readonly:!Yn.editable,onInput:er[0]||(er[0]=Fn=>ze.value=Fn),onChange:qn},null,8,["placeholder","model-value","disabled","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(V).e("editor-wrap"))},[createVNode$1(unref(ElInput),{placeholder:unref(ae)("el.datepicker.selectTime"),"model-value":In.value,size:"small","validate-event":!1,disabled:unref(En),readonly:!Yn.editable,onFocus:Zn,onInput:er[1]||(er[1]=Fn=>Pt.value=Fn),onChange:Bn},null,8,["placeholder","model-value","disabled","readonly"]),createVNode$1(unref(TimePickPanel),{visible:Qn.value,format:Hn.value,"parsed-value":Ie.value,onPick:Mn},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),Gn]])],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{class:normalizeClass([unref(V).e("header"),(jt.value==="year"||jt.value==="month")&&unref(V).em("header","bordered")])},[createBaseVNode("span",{class:normalizeClass(unref(V).e("prev-btn"))},[createBaseVNode("button",{type:"button","aria-label":unref(ae)("el.datepicker.prevYear"),class:normalizeClass(["d-arrow-left",unref($).e("icon-btn")]),disabled:unref(En),onClick:er[2]||(er[2]=Fn=>Lt(!1))},[renderSlot(Yn.$slots,"prev-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})])],10,_hoisted_2$M),withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(ae)("el.datepicker.prevMonth"),class:normalizeClass([unref($).e("icon-btn"),"arrow-left"]),disabled:unref(En),onClick:er[3]||(er[3]=Fn=>Dt(!1))},[renderSlot(Yn.$slots,"prev-month",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})])],10,_hoisted_3$m),[[vShow,jt.value==="date"]])],2),createBaseVNode("span",{role:"button",class:normalizeClass(unref(V).e("header-label")),"aria-live":"polite",tabindex:Yn.disabled?void 0:0,"aria-disabled":Yn.disabled,onKeydown:er[4]||(er[4]=withKeys(Fn=>kn("year"),["enter"])),onClick:er[5]||(er[5]=Fn=>kn("year"))},toDisplayString(hn.value),43,_hoisted_4$h),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:Yn.disabled?void 0:0,"aria-disabled":Yn.disabled,class:normalizeClass([unref(V).e("header-label"),{active:jt.value==="month"}]),onKeydown:er[6]||(er[6]=withKeys(Fn=>kn("month"),["enter"])),onClick:er[7]||(er[7]=Fn=>kn("month"))},toDisplayString(unref(ae)(`el.datepicker.month${Ve.value+1}`)),43,_hoisted_5$9),[[vShow,jt.value==="date"]]),createBaseVNode("span",{class:normalizeClass(unref(V).e("next-btn"))},[withDirectives(createBaseVNode("button",{type:"button","aria-label":unref(ae)("el.datepicker.nextMonth"),class:normalizeClass([unref($).e("icon-btn"),"arrow-right"]),disabled:unref(En),onClick:er[8]||(er[8]=Fn=>Dt(!0))},[renderSlot(Yn.$slots,"next-month",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})])],10,_hoisted_6$3),[[vShow,jt.value==="date"]]),createBaseVNode("button",{type:"button","aria-label":unref(ae)("el.datepicker.nextYear"),class:normalizeClass([unref($).e("icon-btn"),"d-arrow-right"]),disabled:unref(En),onClick:er[9]||(er[9]=Fn=>Lt(!0))},[renderSlot(Yn.$slots,"next-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})])],10,_hoisted_7$2)],2)],2),[[vShow,jt.value!=="time"]]),createBaseVNode("div",{class:normalizeClass(unref($).e("content")),onKeydown:pr},[jt.value==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"currentViewRef",ref:xe,"selection-mode":_n.value,date:Ie.value,"parsed-value":Yn.parsedValue,"disabled-date":unref(he),disabled:unref(En),"cell-class-name":unref(pe),"show-week-number":Yn.showWeekNumber,onPick:At},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name","show-week-number"])):createCommentVNode("v-if",!0),jt.value==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"currentViewRef",ref:xe,"selection-mode":_n.value,date:Ie.value,"disabled-date":unref(he),disabled:unref(En),"parsed-value":Yn.parsedValue,"cell-class-name":unref(pe),onPick:Tn},null,8,["selection-mode","date","disabled-date","disabled","parsed-value","cell-class-name"])):createCommentVNode("v-if",!0),jt.value==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"currentViewRef",ref:xe,"selection-mode":_n.value,date:Ie.value,"parsed-value":Yn.parsedValue,"disabled-date":unref(he),disabled:unref(En),"cell-class-name":unref(pe),onPick:Sn},null,8,["selection-mode","date","parsed-value","disabled-date","disabled","cell-class-name"])):createCommentVNode("v-if",!0)],34)],2)],2),Yn.showFooter&&An.value&&xn.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($).e("footer"))},[withDirectives(createVNode$1(unref(ElButton),{text:"",size:"small",class:normalizeClass(unref($).e("link-btn")),disabled:Pn.value,onClick:On},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(ae)("el.datepicker.now")),1)]),_:1},8,["class","disabled"]),[[vShow,!wn.value&&Yn.showNow]]),Yn.showConfirm?(openBlock(),createBlock(unref(ElButton),{key:0,plain:"",size:"small",class:normalizeClass(unref($).e("link-btn")),disabled:Ln.value,onClick:Nn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(ae)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],2))}});var DatePickPanel=_export_sfc(_sfc_main$1W,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/panel-date-pick.vue"]]);const panelDateRangeProps=buildProps({...panelSharedProps,...panelRangeSharedProps}),useShortcut=n=>{const{emit:t}=getCurrentInstance(),r=useAttrs$1(),i=useSlots();return $=>{const V=isFunction$4($.value)?$.value():$.value;if(V){t("pick",[dayjs(V[0]).locale(n.value),dayjs(V[1]).locale(n.value)]);return}$.onClick&&$.onClick({attrs:r,slots:i,emit:t})}},useRangePicker=(n,{defaultValue:t,defaultTime:r,leftDate:i,rightDate:g,step:$,unit:V,sortDates:re})=>{const{emit:ie}=getCurrentInstance(),{pickerNs:ae}=inject(ROOT_PICKER_INJECTION_KEY),oe=useNamespace("date-range-picker"),{t:le,lang:ue}=useLocale(),de=useShortcut(ue),he=ref(),pe=ref(),_e=ref({endDate:null,selecting:!1}),Ce=$e=>{_e.value=$e},xe=($e=!1)=>{const Ve=unref(he),Ue=unref(pe);isValidRange([Ve,Ue])&&ie("pick",[Ve,Ue],$e)},Ie=$e=>{_e.value.selecting=$e,$e||(_e.value.endDate=null)},Ne=$e=>{if(isArray$5($e)&&$e.length===2){const[Ve,Ue]=$e;he.value=Ve,i.value=Ve,pe.value=Ue,re(unref(he),unref(pe))}else Oe()},Oe=()=>{let[$e,Ve]=getDefaultValue(unref(t),{lang:unref(ue),step:$,unit:V,unlinkPanels:n.unlinkPanels});const Ue=ze=>ze.diff(ze.startOf("d"),"ms"),Fe=unref(r);if(Fe){let ze=0,Pt=0;if(isArray$5(Fe)){const[qe,Et]=Fe.map(dayjs);ze=Ue(qe),Pt=Ue(Et)}else{const qe=Ue(dayjs(Fe));ze=qe,Pt=qe}$e=$e.startOf("d").add(ze,"ms"),Ve=Ve.startOf("d").add(Pt,"ms")}he.value=void 0,pe.value=void 0,i.value=$e,g.value=Ve};return watch(t,$e=>{$e&&Oe()},{immediate:!0}),watch(()=>n.parsedValue,$e=>{(!($e!=null&&$e.length)||!isEqual$1($e,[he.value,pe.value]))&&Ne($e)},{immediate:!0}),watch(()=>n.visible,()=>{n.visible&&Ne(n.parsedValue)},{immediate:!0}),{minDate:he,maxDate:pe,rangeState:_e,lang:ue,ppNs:ae,drpNs:oe,handleChangeRange:Ce,handleRangeConfirm:xe,handleShortcutClick:de,onSelect:Ie,parseValue:Ne,t:le}},usePanelDateRange=(n,t,r,i)=>{const g=ref("date"),$=ref(),V=ref("date"),re=ref(),ie=inject(PICKER_BASE_INJECTION_KEY),{disabledDate:ae}=ie.props,{t:oe,lang:le}=useLocale(),ue=computed(()=>r.value.year()),de=computed(()=>r.value.month()),he=computed(()=>i.value.year()),pe=computed(()=>i.value.month());function _e($e,Ve){const Ue=oe("el.datepicker.year");if($e.value==="year"){const Fe=Math.floor(Ve.value/10)*10;return Ue?`${Fe} ${Ue} - ${Fe+9} ${Ue}`:`${Fe} - ${Fe+9}`}return`${Ve.value} ${Ue}`}function Ce($e){$e==null||$e.focus()}async function xe($e,Ve){if(n.disabled)return;const Ue=$e==="left"?g:V,Fe=$e==="left"?$:re;Ue.value=Ve,await nextTick(),Ce(Fe.value)}async function Ie($e,Ve,Ue){if(n.disabled)return;const Fe=Ve==="left",ze=Fe?r:i,Pt=Fe?i:r,qe=Fe?g:V,Et=Fe?$:re;if($e==="year"){const kt=ze.value.year(Ue);ze.value=getValidDateOfYear(kt,le.value,ae)}$e==="month"&&(ze.value=getValidDateOfMonth(ze.value,ze.value.year(),Ue,le.value,ae)),n.unlinkPanels||(Pt.value=Ve==="left"?ze.value.add(1,"month"):ze.value.subtract(1,"month")),qe.value=$e==="year"?"month":"date",await nextTick(),Ce(Et.value),Ne($e)}function Ne($e){t("panel-change",[r.value.toDate(),i.value.toDate()],$e)}function Oe($e,Ve,Ue){const Fe=Ue?"add":"subtract";return $e==="year"?Ve[Fe](10,"year"):Ve[Fe](1,"year")}return{leftCurrentView:g,rightCurrentView:V,leftCurrentViewRef:$,rightCurrentViewRef:re,leftYear:ue,rightYear:he,leftMonth:de,rightMonth:pe,leftYearLabel:computed(()=>_e(g,ue)),rightYearLabel:computed(()=>_e(V,he)),showLeftPicker:$e=>xe("left",$e),showRightPicker:$e=>xe("right",$e),handleLeftYearPick:$e=>Ie("year","left",$e),handleRightYearPick:$e=>Ie("year","right",$e),handleLeftMonthPick:$e=>Ie("month","left",$e),handleRightMonthPick:$e=>Ie("month","right",$e),handlePanelChange:Ne,adjustDateByView:Oe}},_hoisted_1$18=["disabled","onClick"],_hoisted_2$L=["aria-label","disabled"],_hoisted_3$l=["aria-label","disabled"],_hoisted_4$g=["disabled","aria-label"],_hoisted_5$8=["disabled","aria-label"],_hoisted_6$2=["tabindex","aria-disabled"],_hoisted_7$1=["tabindex","aria-disabled"],_hoisted_8$1=["disabled","aria-label"],_hoisted_9$1=["disabled","aria-label"],_hoisted_10$1=["aria-label","disabled"],_hoisted_11$1=["disabled","aria-label"],_hoisted_12$1=["tabindex","aria-disabled"],_hoisted_13$1=["tabindex","aria-disabled"],unit$2="month",_sfc_main$1V=defineComponent({__name:"panel-date-range",props:panelDateRangeProps,emits:["pick","set-picker-option","calendar-change","panel-change","clear"],setup(n,{emit:t}){const r=n,i=t,g=inject(PICKER_BASE_INJECTION_KEY),$=inject(ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY,void 0),{disabledDate:V,cellClassName:re,defaultTime:ie,clearable:ae}=g.props,oe=toRef$1(g.props,"format"),le=toRef$1(g.props,"shortcuts"),ue=toRef$1(g.props,"defaultValue"),{lang:de}=useLocale(),he=ref(dayjs().locale(de.value)),pe=ref(dayjs().locale(de.value).add(1,unit$2)),{minDate:_e,maxDate:Ce,rangeState:xe,ppNs:Ie,drpNs:Ne,handleChangeRange:Oe,handleRangeConfirm:$e,handleShortcutClick:Ve,onSelect:Ue,parseValue:Fe,t:ze}=useRangePicker(r,{defaultValue:ue,defaultTime:ie,leftDate:he,rightDate:pe,unit:unit$2,sortDates:Tr});watch(()=>r.visible,fr=>{!fr&&xe.value.selecting&&(Fe(r.parsedValue),Ue(!1))});const Pt=ref({min:null,max:null}),qe=ref({min:null,max:null}),{leftCurrentView:Et,rightCurrentView:kt,leftCurrentViewRef:At,rightCurrentViewRef:Dt,leftYear:Lt,rightYear:jt,leftMonth:hn,rightMonth:vn,leftYearLabel:_n,rightYearLabel:wn,showLeftPicker:bn,showRightPicker:Cn,handleLeftYearPick:Sn,handleRightYearPick:Tn,handleLeftMonthPick:En,handleRightMonthPick:kn,handlePanelChange:$n,adjustDateByView:An}=usePanelDateRange(r,i,he,pe),xn=computed(()=>!!le.value.length),Ln=computed(()=>Pt.value.min!==null?Pt.value.min:_e.value?_e.value.format(Xn.value):""),Nn=computed(()=>Pt.value.max!==null?Pt.value.max:Ce.value||_e.value?(Ce.value||_e.value).format(Xn.value):""),Pn=computed(()=>qe.value.min!==null?qe.value.min:_e.value?_e.value.format(Hn.value):""),On=computed(()=>qe.value.max!==null?qe.value.max:Ce.value||_e.value?(Ce.value||_e.value).format(Hn.value):""),Hn=computed(()=>r.timeFormat||extractTimeFormat(oe.value||"")||DEFAULT_FORMATS_TIME),Xn=computed(()=>r.dateFormat||extractDateFormat(oe.value||"")||DEFAULT_FORMATS_DATE),In=fr=>isValidRange(fr)&&(V?!V(fr[0].toDate())&&!V(fr[1].toDate()):!0),or=()=>{he.value=An(Et.value,he.value,!1),r.unlinkPanels||(pe.value=he.value.add(1,"month")),$n("year")},Qn=()=>{he.value=he.value.subtract(1,"month"),r.unlinkPanels||(pe.value=he.value.add(1,"month")),$n("month")},Zn=()=>{r.unlinkPanels?pe.value=An(kt.value,pe.value,!0):(he.value=An(kt.value,he.value,!0),pe.value=he.value.add(1,"month")),$n("year")},Gn=()=>{r.unlinkPanels?pe.value=pe.value.add(1,"month"):(he.value=he.value.add(1,"month"),pe.value=he.value.add(1,"month")),$n("month")},Rn=()=>{he.value=An(Et.value,he.value,!0),$n("year")},Mn=()=>{he.value=he.value.add(1,"month"),$n("month")},Bn=()=>{pe.value=An(kt.value,pe.value,!1),$n("year")},qn=()=>{pe.value=pe.value.subtract(1,"month"),$n("month")},zn=computed(()=>{const fr=(hn.value+1)%12,_r=hn.value+1>=12?1:0;return r.unlinkPanels&&new Date(Lt.value+_r,fr)r.unlinkPanels&&jt.value*12+vn.value-(Lt.value*12+hn.value+1)>=12),tr=useFormDisabled(),hr=computed(()=>!(_e.value&&Ce.value&&!xe.value.selecting&&isValidRange([_e.value,Ce.value])&&!tr.value)),ir=computed(()=>r.type==="datetime"||r.type==="datetimerange"),pr=(fr,_r)=>{if(fr)return ie?dayjs(ie[_r]||ie).locale(de.value).year(fr.year()).month(fr.month()).date(fr.date()):fr},rr=(fr,_r=!0)=>{const Cr=fr.minDate,zr=fr.maxDate,Ur=pr(Cr,0),jr=pr(zr,1);Ce.value===jr&&_e.value===Ur||(i("calendar-change",[Cr.toDate(),zr&&zr.toDate()]),Ce.value=jr,_e.value=Ur,!ir.value&&_r&&(_r=!Ur||!jr),$e(_r))},lr=ref(!1),Yn=ref(!1),er=()=>{lr.value=!1},Fn=()=>{Yn.value=!1},cr=(fr,_r)=>{Pt.value[_r]=fr;const Cr=dayjs(fr,Xn.value).locale(de.value);if(Cr.isValid()){if(V&&V(Cr.toDate()))return;_r==="min"?(he.value=Cr,_e.value=(_e.value||he.value).year(Cr.year()).month(Cr.month()).date(Cr.date()),!r.unlinkPanels&&(!Ce.value||Ce.value.isBefore(_e.value))&&(pe.value=Cr.add(1,"month"),Ce.value=_e.value.add(1,"month"))):(pe.value=Cr,Ce.value=(Ce.value||pe.value).year(Cr.year()).month(Cr.month()).date(Cr.date()),!r.unlinkPanels&&(!_e.value||_e.value.isAfter(Ce.value))&&(he.value=Cr.subtract(1,"month"),_e.value=Ce.value.subtract(1,"month"))),Tr(_e.value,Ce.value),$e(!0)}},Un=(fr,_r)=>{Pt.value[_r]=null},gr=(fr,_r)=>{qe.value[_r]=fr;const Cr=dayjs(fr,Hn.value).locale(de.value);Cr.isValid()&&(_r==="min"?(lr.value=!0,_e.value=(_e.value||he.value).hour(Cr.hour()).minute(Cr.minute()).second(Cr.second()),he.value=_e.value):(Yn.value=!0,Ce.value=(Ce.value||pe.value).hour(Cr.hour()).minute(Cr.minute()).second(Cr.second()),pe.value=Ce.value))},vr=(fr,_r)=>{qe.value[_r]=null,_r==="min"?(he.value=_e.value,lr.value=!1,(!Ce.value||Ce.value.isBefore(_e.value))&&(Ce.value=_e.value)):(pe.value=Ce.value,Yn.value=!1,Ce.value&&Ce.value.isBefore(_e.value)&&(_e.value=Ce.value)),$e(!0)},yr=(fr,_r,Cr)=>{qe.value.min||(fr&&(_e.value=(_e.value||he.value).hour(fr.hour()).minute(fr.minute()).second(fr.second())),Cr||(lr.value=_r),(!Ce.value||Ce.value.isBefore(_e.value))&&(Ce.value=_e.value,pe.value=fr,nextTick(()=>{Fe(r.parsedValue)})),$e(!0))},Wn=(fr,_r,Cr)=>{qe.value.max||(fr&&(Ce.value=(Ce.value||pe.value).hour(fr.hour()).minute(fr.minute()).second(fr.second())),Cr||(Yn.value=_r),Ce.value&&Ce.value.isBefore(_e.value)&&(_e.value=Ce.value),$e(!0))},Jn=()=>{sr(),i("clear")},sr=()=>{let fr=null;g!=null&&g.emptyValues&&(fr=g.emptyValues.valueOnClear.value),he.value=getDefaultValue(unref(ue),{lang:unref(de),unit:"month",unlinkPanels:r.unlinkPanels})[0],pe.value=he.value.add(1,"month"),Ce.value=void 0,_e.value=void 0,$e(!0),i("pick",fr)},Sr=fr=>correctlyParseUserInput(fr,oe.value||"",de.value,$);function Tr(fr,_r){if(r.unlinkPanels&&_r){const Cr=(fr==null?void 0:fr.year())||0,zr=(fr==null?void 0:fr.month())||0,Ur=_r.year(),jr=_r.month();pe.value=Cr===Ur&&zr===jr?_r.add(1,unit$2):_r}else pe.value=he.value.add(1,unit$2),_r&&(pe.value=pe.value.hour(_r.hour()).minute(_r.minute()).second(_r.second()))}return i("set-picker-option",["isValidValue",In]),i("set-picker-option",["parseUserInput",Sr]),i("set-picker-option",["handleClear",sr]),(fr,_r)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ie).b(),unref(Ne).b(),unref(Ie).is("border",fr.border),unref(Ie).is("disabled",unref(tr)),{"has-sidebar":fr.$slots.sidebar||xn.value,"has-time":ir.value}])},[createBaseVNode("div",{class:normalizeClass(unref(Ie).e("body-wrapper"))},[renderSlot(fr.$slots,"sidebar",{class:normalizeClass(unref(Ie).e("sidebar"))}),xn.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(le.value,(Cr,zr)=>(openBlock(),createElementBlock("button",{key:zr,type:"button",disabled:unref(tr),class:normalizeClass(unref(Ie).e("shortcut")),onClick:Ur=>unref(Ve)(Cr)},toDisplayString(Cr.text),11,_hoisted_1$18))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ie).e("body"))},[ir.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ne).e("time-header"))},[createBaseVNode("span",{class:normalizeClass(unref(Ne).e("editors-wrap"))},[createBaseVNode("span",{class:normalizeClass(unref(Ne).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",disabled:unref(xe).selecting||unref(tr),placeholder:unref(ze)("el.datepicker.startDate"),class:normalizeClass(unref(Ne).e("editor")),"model-value":Ln.value,"validate-event":!1,readonly:!fr.editable,onInput:_r[0]||(_r[0]=Cr=>cr(Cr,"min")),onChange:_r[1]||(_r[1]=Cr=>Un(Cr,"min"))},null,8,["disabled","placeholder","class","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ne).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(Ne).e("editor")),disabled:unref(xe).selecting||unref(tr),placeholder:unref(ze)("el.datepicker.startTime"),"model-value":Pn.value,"validate-event":!1,readonly:!fr.editable,onFocus:_r[2]||(_r[2]=Cr=>lr.value=!0),onInput:_r[3]||(_r[3]=Cr=>gr(Cr,"min")),onChange:_r[4]||(_r[4]=Cr=>vr(Cr,"min"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode$1(unref(TimePickPanel),{visible:lr.value,format:Hn.value,"datetime-role":"start","parsed-value":unref(_e)||he.value,onPick:yr},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),er]])],2),createBaseVNode("span",null,[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),createBaseVNode("span",{class:normalizeClass([unref(Ne).e("editors-wrap"),"is-right"])},[createBaseVNode("span",{class:normalizeClass(unref(Ne).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(Ne).e("editor")),disabled:unref(xe).selecting||unref(tr),placeholder:unref(ze)("el.datepicker.endDate"),"model-value":Nn.value,readonly:!unref(_e)||!fr.editable,"validate-event":!1,onInput:_r[5]||(_r[5]=Cr=>cr(Cr,"max")),onChange:_r[6]||(_r[6]=Cr=>Un(Cr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"])],2),withDirectives((openBlock(),createElementBlock("span",{class:normalizeClass(unref(Ne).e("time-picker-wrap"))},[createVNode$1(unref(ElInput),{size:"small",class:normalizeClass(unref(Ne).e("editor")),disabled:unref(xe).selecting||unref(tr),placeholder:unref(ze)("el.datepicker.endTime"),"model-value":On.value,readonly:!unref(_e)||!fr.editable,"validate-event":!1,onFocus:_r[7]||(_r[7]=Cr=>unref(_e)&&(Yn.value=!0)),onInput:_r[8]||(_r[8]=Cr=>gr(Cr,"max")),onChange:_r[9]||(_r[9]=Cr=>vr(Cr,"max"))},null,8,["class","disabled","placeholder","model-value","readonly"]),createVNode$1(unref(TimePickPanel),{"datetime-role":"end",visible:Yn.value,format:Hn.value,"parsed-value":unref(Ce)||pe.value,onPick:Wn},null,8,["visible","format","parsed-value"])],2)),[[unref(ClickOutside),Fn]])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([[unref(Ie).e("content"),unref(Ne).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(Ne).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ie).e("icon-btn"),"d-arrow-left"]),"aria-label":unref(ze)("el.datepicker.prevYear"),disabled:unref(tr),onClick:or},[renderSlot(fr.$slots,"prev-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})])],10,_hoisted_2$L),withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ie).e("icon-btn"),"arrow-left"]),"aria-label":unref(ze)("el.datepicker.prevMonth"),disabled:unref(tr),onClick:Qn},[renderSlot(fr.$slots,"prev-month",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})])],10,_hoisted_3$l),[[vShow,unref(Et)==="date"]]),fr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!jn.value||unref(tr),class:normalizeClass([[unref(Ie).e("icon-btn"),unref(Ie).is("disabled",!jn.value||unref(tr))],"d-arrow-right"]),"aria-label":unref(ze)("el.datepicker.nextYear"),onClick:Rn},[renderSlot(fr.$slots,"next-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})])],10,_hoisted_4$g)):createCommentVNode("v-if",!0),fr.unlinkPanels&&unref(Et)==="date"?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!zn.value||unref(tr),class:normalizeClass([[unref(Ie).e("icon-btn"),unref(Ie).is("disabled",!zn.value||unref(tr))],"arrow-right"]),"aria-label":unref(ze)("el.datepicker.nextMonth"),onClick:Mn},[renderSlot(fr.$slots,"next-month",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})])],10,_hoisted_5$8)):createCommentVNode("v-if",!0),createBaseVNode("div",null,[createBaseVNode("span",{role:"button",class:normalizeClass(unref(Ne).e("header-label")),"aria-live":"polite",tabindex:fr.disabled?void 0:0,"aria-disabled":fr.disabled,onKeydown:_r[10]||(_r[10]=withKeys(Cr=>unref(bn)("year"),["enter"])),onClick:_r[11]||(_r[11]=Cr=>unref(bn)("year"))},toDisplayString(unref(_n)),43,_hoisted_6$2),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:fr.disabled?void 0:0,"aria-disabled":fr.disabled,class:normalizeClass([unref(Ne).e("header-label"),{active:unref(Et)==="month"}]),onKeydown:_r[12]||(_r[12]=withKeys(Cr=>unref(bn)("month"),["enter"])),onClick:_r[13]||(_r[13]=Cr=>unref(bn)("month"))},toDisplayString(unref(ze)(`el.datepicker.month${he.value.month()+1}`)),43,_hoisted_7$1),[[vShow,unref(Et)==="date"]])])],2),unref(Et)==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"leftCurrentViewRef",ref:At,"selection-mode":"range",date:he.value,"min-date":unref(_e),"max-date":unref(Ce),"range-state":unref(xe),"disabled-date":unref(V),"cell-class-name":unref(re),"show-week-number":fr.showWeekNumber,disabled:unref(tr),onChangerange:unref(Oe),onPick:rr,onSelect:unref(Ue)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):createCommentVNode("v-if",!0),unref(Et)==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"leftCurrentViewRef",ref:At,"selection-mode":"year",date:he.value,"disabled-date":unref(V),"parsed-value":fr.parsedValue,disabled:unref(tr),onPick:unref(Sn)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):createCommentVNode("v-if",!0),unref(Et)==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"leftCurrentViewRef",ref:At,"selection-mode":"month",date:he.value,"parsed-value":fr.parsedValue,"disabled-date":unref(V),disabled:unref(tr),onPick:unref(En)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{class:normalizeClass([[unref(Ie).e("content"),unref(Ne).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(Ne).e("header"))},[fr.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!jn.value||unref(tr),class:normalizeClass([unref(Ie).e("icon-btn"),"d-arrow-left"]),"aria-label":unref(ze)("el.datepicker.prevYear"),onClick:Bn},[renderSlot(fr.$slots,"prev-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})])],10,_hoisted_8$1)):createCommentVNode("v-if",!0),fr.unlinkPanels&&unref(kt)==="date"?(openBlock(),createElementBlock("button",{key:1,type:"button",disabled:!zn.value||unref(tr),class:normalizeClass([unref(Ie).e("icon-btn"),"arrow-left"]),"aria-label":unref(ze)("el.datepicker.prevMonth"),onClick:qn},[renderSlot(fr.$slots,"prev-month",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})])],10,_hoisted_9$1)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button","aria-label":unref(ze)("el.datepicker.nextYear"),class:normalizeClass([unref(Ie).e("icon-btn"),"d-arrow-right"]),disabled:unref(tr),onClick:Zn},[renderSlot(fr.$slots,"next-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})])],10,_hoisted_10$1),withDirectives(createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ie).e("icon-btn"),"arrow-right"]),disabled:unref(tr),"aria-label":unref(ze)("el.datepicker.nextMonth"),onClick:Gn},[renderSlot(fr.$slots,"next-month",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})])],10,_hoisted_11$1),[[vShow,unref(kt)==="date"]]),createBaseVNode("div",null,[createBaseVNode("span",{role:"button",class:normalizeClass(unref(Ne).e("header-label")),"aria-live":"polite",tabindex:fr.disabled?void 0:0,"aria-disabled":fr.disabled,onKeydown:_r[14]||(_r[14]=withKeys(Cr=>unref(Cn)("year"),["enter"])),onClick:_r[15]||(_r[15]=Cr=>unref(Cn)("year"))},toDisplayString(unref(wn)),43,_hoisted_12$1),withDirectives(createBaseVNode("span",{role:"button","aria-live":"polite",tabindex:fr.disabled?void 0:0,"aria-disabled":fr.disabled,class:normalizeClass([unref(Ne).e("header-label"),{active:unref(kt)==="month"}]),onKeydown:_r[16]||(_r[16]=withKeys(Cr=>unref(Cn)("month"),["enter"])),onClick:_r[17]||(_r[17]=Cr=>unref(Cn)("month"))},toDisplayString(unref(ze)(`el.datepicker.month${pe.value.month()+1}`)),43,_hoisted_13$1),[[vShow,unref(kt)==="date"]])])],2),unref(kt)==="date"?(openBlock(),createBlock(DateTable,{key:0,ref_key:"rightCurrentViewRef",ref:Dt,"selection-mode":"range",date:pe.value,"min-date":unref(_e),"max-date":unref(Ce),"range-state":unref(xe),"disabled-date":unref(V),"cell-class-name":unref(re),"show-week-number":fr.showWeekNumber,disabled:unref(tr),onChangerange:unref(Oe),onPick:rr,onSelect:unref(Ue)},null,8,["date","min-date","max-date","range-state","disabled-date","cell-class-name","show-week-number","disabled","onChangerange","onSelect"])):createCommentVNode("v-if",!0),unref(kt)==="year"?(openBlock(),createBlock(YearTable,{key:1,ref_key:"rightCurrentViewRef",ref:Dt,"selection-mode":"year",date:pe.value,"disabled-date":unref(V),"parsed-value":fr.parsedValue,disabled:unref(tr),onPick:unref(Tn)},null,8,["date","disabled-date","parsed-value","disabled","onPick"])):createCommentVNode("v-if",!0),unref(kt)==="month"?(openBlock(),createBlock(MonthTable,{key:2,ref_key:"rightCurrentViewRef",ref:Dt,"selection-mode":"month",date:pe.value,"parsed-value":fr.parsedValue,"disabled-date":unref(V),disabled:unref(tr),onPick:unref(kn)},null,8,["date","parsed-value","disabled-date","disabled","onPick"])):createCommentVNode("v-if",!0)],2)],2)],2),fr.showFooter&&ir.value&&(fr.showConfirm||unref(ae))?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ie).e("footer"))},[unref(ae)?(openBlock(),createBlock(unref(ElButton),{key:0,text:"",size:"small",class:normalizeClass(unref(Ie).e("link-btn")),onClick:Jn},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(ze)("el.datepicker.clear")),1)]),_:1},8,["class"])):createCommentVNode("v-if",!0),fr.showConfirm?(openBlock(),createBlock(unref(ElButton),{key:1,plain:"",size:"small",class:normalizeClass(unref(Ie).e("link-btn")),disabled:hr.value,onClick:_r[18]||(_r[18]=Cr=>unref($e)(!1))},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(ze)("el.datepicker.confirm")),1)]),_:1},8,["class","disabled"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],2))}});var DateRangePickPanel=_export_sfc(_sfc_main$1V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/panel-date-range.vue"]]);const panelMonthRangeProps=buildProps({...panelRangeSharedProps}),panelMonthRangeEmits=["pick","set-picker-option","calendar-change"],useMonthRangeHeader=({unlinkPanels:n,leftDate:t,rightDate:r})=>{const{t:i}=useLocale(),g=()=>{t.value=t.value.subtract(1,"year"),n.value||(r.value=r.value.subtract(1,"year"))},$=()=>{n.value||(t.value=t.value.add(1,"year")),r.value=r.value.add(1,"year")},V=()=>{t.value=t.value.add(1,"year")},re=()=>{r.value=r.value.subtract(1,"year")},ie=computed(()=>`${t.value.year()} ${i("el.datepicker.year")}`),ae=computed(()=>`${r.value.year()} ${i("el.datepicker.year")}`),oe=computed(()=>t.value.year()),le=computed(()=>r.value.year()===t.value.year()?t.value.year()+1:r.value.year());return{leftPrevYear:g,rightNextYear:$,leftNextYear:V,rightPrevYear:re,leftLabel:ie,rightLabel:ae,leftYear:oe,rightYear:le}},_hoisted_1$17=["disabled","onClick"],_hoisted_2$K=["disabled"],_hoisted_3$k=["disabled"],_hoisted_4$f=["disabled"],_hoisted_5$7=["disabled"],unit$1="year",_sfc_main$1U=defineComponent({name:"DatePickerMonthRange",__name:"panel-month-range",props:panelMonthRangeProps,emits:panelMonthRangeEmits,setup(n,{emit:t}){const r=n,i=t,{lang:g}=useLocale(),$=inject(PICKER_BASE_INJECTION_KEY),V=inject(ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY,void 0),{shortcuts:re,disabledDate:ie,cellClassName:ae}=$.props,oe=toRef$1($.props,"format"),le=toRef$1($.props,"defaultValue"),ue=ref(dayjs().locale(g.value)),de=ref(dayjs().locale(g.value).add(1,unit$1)),{minDate:he,maxDate:pe,rangeState:_e,ppNs:Ce,drpNs:xe,handleChangeRange:Ie,handleRangeConfirm:Ne,handleShortcutClick:Oe,onSelect:$e,parseValue:Ve}=useRangePicker(r,{defaultValue:le,leftDate:ue,rightDate:de,unit:unit$1,sortDates:_n}),Ue=computed(()=>!!re.length),{leftPrevYear:Fe,rightNextYear:ze,leftNextYear:Pt,rightPrevYear:qe,leftLabel:Et,rightLabel:kt,leftYear:At,rightYear:Dt}=useMonthRangeHeader({unlinkPanels:toRef$1(r,"unlinkPanels"),leftDate:ue,rightDate:de}),Lt=computed(()=>r.unlinkPanels&&Dt.value>At.value+1),jt=(bn,Cn=!0)=>{const Sn=bn.minDate,Tn=bn.maxDate;pe.value===Tn&&he.value===Sn||(i("calendar-change",[Sn.toDate(),Tn&&Tn.toDate()]),pe.value=Tn,he.value=Sn,Cn&&Ne())},hn=()=>{let bn=null;$!=null&&$.emptyValues&&(bn=$.emptyValues.valueOnClear.value),ue.value=getDefaultValue(unref(le),{lang:unref(g),unit:"year",unlinkPanels:r.unlinkPanels})[0],de.value=ue.value.add(1,"year"),i("pick",bn)},vn=bn=>correctlyParseUserInput(bn,oe.value,g.value,V);function _n(bn,Cn){if(r.unlinkPanels&&Cn){const Sn=(bn==null?void 0:bn.year())||0,Tn=Cn.year();de.value=Sn===Tn?Cn.add(1,unit$1):Cn}else de.value=ue.value.add(1,unit$1)}const wn=useFormDisabled();return watch(()=>r.visible,bn=>{!bn&&_e.value.selecting&&(Ve(r.parsedValue),$e(!1))}),i("set-picker-option",["isValidValue",isValidRange]),i("set-picker-option",["parseUserInput",vn]),i("set-picker-option",["handleClear",hn]),(bn,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(Ce).b(),unref(xe).b(),unref(Ce).is("border",bn.border),unref(Ce).is("disabled",unref(wn)),{"has-sidebar":!!bn.$slots.sidebar||Ue.value}])},[createBaseVNode("div",{class:normalizeClass(unref(Ce).e("body-wrapper"))},[renderSlot(bn.$slots,"sidebar",{class:normalizeClass(unref(Ce).e("sidebar"))}),Ue.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ce).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(re),(Sn,Tn)=>(openBlock(),createElementBlock("button",{key:Tn,type:"button",class:normalizeClass(unref(Ce).e("shortcut")),disabled:unref(wn),onClick:En=>unref(Oe)(Sn)},toDisplayString(Sn.text),11,_hoisted_1$17))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ce).e("body"))},[createBaseVNode("div",{class:normalizeClass([[unref(Ce).e("content"),unref(xe).e("content")],"is-left"])},[createBaseVNode("div",{class:normalizeClass(unref(xe).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ce).e("icon-btn"),"d-arrow-left"]),disabled:unref(wn),onClick:Cn[0]||(Cn[0]=(...Sn)=>unref(Fe)&&unref(Fe)(...Sn))},[renderSlot(bn.$slots,"prev-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})])],10,_hoisted_2$K),bn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!Lt.value||unref(wn),class:normalizeClass([[unref(Ce).e("icon-btn"),unref(Ce).is("disabled",!Lt.value||unref(wn))],"d-arrow-right"]),onClick:Cn[1]||(Cn[1]=(...Sn)=>unref(Pt)&&unref(Pt)(...Sn))},[renderSlot(bn.$slots,"next-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})])],10,_hoisted_3$k)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(Et)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:ue.value,"min-date":unref(he),"max-date":unref(pe),"range-state":unref(_e),"disabled-date":unref(ie),disabled:unref(wn),"cell-class-name":unref(ae),onChangerange:unref(Ie),onPick:jt,onSelect:unref($e)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass([[unref(Ce).e("content"),unref(xe).e("content")],"is-right"])},[createBaseVNode("div",{class:normalizeClass(unref(xe).e("header"))},[bn.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!Lt.value||unref(wn),class:normalizeClass([[unref(Ce).e("icon-btn"),unref(Ce).is("disabled",!Lt.value||unref(wn))],"d-arrow-left"]),onClick:Cn[2]||(Cn[2]=(...Sn)=>unref(qe)&&unref(qe)(...Sn))},[renderSlot(bn.$slots,"prev-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})])],10,_hoisted_4$f)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass([unref(Ce).e("icon-btn"),"d-arrow-right"]),disabled:unref(wn),onClick:Cn[3]||(Cn[3]=(...Sn)=>unref(ze)&&unref(ze)(...Sn))},[renderSlot(bn.$slots,"next-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})])],10,_hoisted_5$7),createBaseVNode("div",null,toDisplayString(unref(kt)),1)],2),createVNode$1(MonthTable,{"selection-mode":"range",date:de.value,"min-date":unref(he),"max-date":unref(pe),"range-state":unref(_e),"disabled-date":unref(ie),disabled:unref(wn),"cell-class-name":unref(ae),onChangerange:unref(Ie),onPick:jt,onSelect:unref($e)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});var MonthRangePickPanel=_export_sfc(_sfc_main$1U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/panel-month-range.vue"]]);const panelYearRangeProps=buildProps({...panelRangeSharedProps}),panelYearRangeEmits=["pick","set-picker-option","calendar-change"],useYearRangeHeader=({unlinkPanels:n,leftDate:t,rightDate:r})=>{const i=()=>{t.value=t.value.subtract(10,"year"),n.value||(r.value=r.value.subtract(10,"year"))},g=()=>{n.value||(t.value=t.value.add(10,"year")),r.value=r.value.add(10,"year")},$=()=>{t.value=t.value.add(10,"year")},V=()=>{r.value=r.value.subtract(10,"year")},re=computed(()=>{const le=Math.floor(t.value.year()/10)*10;return`${le}-${le+9}`}),ie=computed(()=>{const le=Math.floor(r.value.year()/10)*10;return`${le}-${le+9}`}),ae=computed(()=>Math.floor(t.value.year()/10)*10+9),oe=computed(()=>Math.floor(r.value.year()/10)*10);return{leftPrevYear:i,rightNextYear:g,leftNextYear:$,rightPrevYear:V,leftLabel:re,rightLabel:ie,leftYear:ae,rightYear:oe}},_hoisted_1$16=["disabled","onClick"],_hoisted_2$J=["disabled"],_hoisted_3$j=["disabled"],_hoisted_4$e=["disabled"],_hoisted_5$6=["disabled"],step=10,unit="year",_sfc_main$1T=defineComponent({name:"DatePickerYearRange",__name:"panel-year-range",props:panelYearRangeProps,emits:panelYearRangeEmits,setup(n,{emit:t}){const r=n,i=t,{lang:g}=useLocale(),$=ref(dayjs().locale(g.value)),V=ref(dayjs().locale(g.value).add(step,unit)),re=inject(ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY,void 0),ie=inject(PICKER_BASE_INJECTION_KEY),{shortcuts:ae,disabledDate:oe,cellClassName:le}=ie.props,ue=toRef$1(ie.props,"format"),de=toRef$1(ie.props,"defaultValue"),{minDate:he,maxDate:pe,rangeState:_e,ppNs:Ce,drpNs:xe,handleChangeRange:Ie,handleRangeConfirm:Ne,handleShortcutClick:Oe,onSelect:$e,parseValue:Ve}=useRangePicker(r,{defaultValue:de,leftDate:$,rightDate:V,step,unit,sortDates:Tn}),{leftPrevYear:Ue,rightNextYear:Fe,leftNextYear:ze,rightPrevYear:Pt,leftLabel:qe,rightLabel:Et,leftYear:kt,rightYear:At}=useYearRangeHeader({unlinkPanels:toRef$1(r,"unlinkPanels"),leftDate:$,rightDate:V}),Dt=useFormDisabled(),Lt=computed(()=>!!ae.length),jt=computed(()=>[Ce.b(),xe.b(),Ce.is("border",r.border),Ce.is("disabled",Dt.value),{"has-sidebar":!!useSlots().sidebar||Lt.value}]),hn=computed(()=>({content:[Ce.e("content"),xe.e("content"),"is-left"],arrowLeftBtn:[Ce.e("icon-btn"),"d-arrow-left"],arrowRightBtn:[Ce.e("icon-btn"),Ce.is("disabled",!_n.value||Dt.value),"d-arrow-right"]})),vn=computed(()=>({content:[Ce.e("content"),xe.e("content"),"is-right"],arrowLeftBtn:[Ce.e("icon-btn"),Ce.is("disabled",!_n.value||Dt.value),"d-arrow-left"],arrowRightBtn:[Ce.e("icon-btn"),"d-arrow-right"]})),_n=computed(()=>r.unlinkPanels&&At.value>kt.value+1),wn=(En,kn=!0)=>{const $n=En.minDate,An=En.maxDate;pe.value===An&&he.value===$n||(i("calendar-change",[$n.toDate(),An&&An.toDate()]),pe.value=An,he.value=$n,kn&&Ne())},bn=En=>correctlyParseUserInput(En,ue.value,g.value,re),Cn=En=>isValidRange(En)&&(oe?!oe(En[0].toDate())&&!oe(En[1].toDate()):!0),Sn=()=>{let En=null;ie!=null&&ie.emptyValues&&(En=ie.emptyValues.valueOnClear.value);const kn=getDefaultValue(unref(de),{lang:unref(g),step,unit,unlinkPanels:r.unlinkPanels});$.value=kn[0],V.value=kn[1],i("pick",En)};function Tn(En,kn){if(r.unlinkPanels&&kn){const $n=(En==null?void 0:En.year())||0,An=kn.year();V.value=$n+step>An?kn.add(step,unit):kn}else V.value=$.value.add(step,unit)}return watch(()=>r.visible,En=>{!En&&_e.value.selecting&&(Ve(r.parsedValue),$e(!1))}),i("set-picker-option",["isValidValue",Cn]),i("set-picker-option",["parseUserInput",bn]),i("set-picker-option",["handleClear",Sn]),(En,kn)=>(openBlock(),createElementBlock("div",{class:normalizeClass(jt.value)},[createBaseVNode("div",{class:normalizeClass(unref(Ce).e("body-wrapper"))},[renderSlot(En.$slots,"sidebar",{class:normalizeClass(unref(Ce).e("sidebar"))}),Lt.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(Ce).e("sidebar"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(ae),($n,An)=>(openBlock(),createElementBlock("button",{key:An,type:"button",class:normalizeClass(unref(Ce).e("shortcut")),disabled:unref(Dt),onClick:xn=>unref(Oe)($n)},toDisplayString($n.text),11,_hoisted_1$16))),128))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(Ce).e("body"))},[createBaseVNode("div",{class:normalizeClass(hn.value.content)},[createBaseVNode("div",{class:normalizeClass(unref(xe).e("header"))},[createBaseVNode("button",{type:"button",class:normalizeClass(hn.value.arrowLeftBtn),disabled:unref(Dt),onClick:kn[0]||(kn[0]=(...$n)=>unref(Ue)&&unref(Ue)(...$n))},[renderSlot(En.$slots,"prev-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})])],10,_hoisted_2$J),En.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!_n.value||unref(Dt),class:normalizeClass(hn.value.arrowRightBtn),onClick:kn[1]||(kn[1]=(...$n)=>unref(ze)&&unref(ze)(...$n))},[renderSlot(En.$slots,"next-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})])],10,_hoisted_3$j)):createCommentVNode("v-if",!0),createBaseVNode("div",null,toDisplayString(unref(qe)),1)],2),createVNode$1(YearTable,{"selection-mode":"range",date:$.value,"min-date":unref(he),"max-date":unref(pe),"range-state":unref(_e),"disabled-date":unref(oe),disabled:unref(Dt),"cell-class-name":unref(le),onChangerange:unref(Ie),onPick:wn,onSelect:unref($e)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2),createBaseVNode("div",{class:normalizeClass(vn.value.content)},[createBaseVNode("div",{class:normalizeClass(unref(xe).e("header"))},[En.unlinkPanels?(openBlock(),createElementBlock("button",{key:0,type:"button",disabled:!_n.value||unref(Dt),class:normalizeClass(vn.value.arrowLeftBtn),onClick:kn[2]||(kn[2]=(...$n)=>unref(Pt)&&unref(Pt)(...$n))},[renderSlot(En.$slots,"prev-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_left_default))]),_:1})])],10,_hoisted_4$e)):createCommentVNode("v-if",!0),createBaseVNode("button",{type:"button",class:normalizeClass(vn.value.arrowRightBtn),disabled:unref(Dt),onClick:kn[3]||(kn[3]=(...$n)=>unref(Fe)&&unref(Fe)(...$n))},[renderSlot(En.$slots,"next-year",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(d_arrow_right_default))]),_:1})])],10,_hoisted_5$6),createBaseVNode("div",null,toDisplayString(unref(Et)),1)],2),createVNode$1(YearTable,{"selection-mode":"range",date:V.value,"min-date":unref(he),"max-date":unref(pe),"range-state":unref(_e),"disabled-date":unref(oe),disabled:unref(Dt),"cell-class-name":unref(le),onChangerange:unref(Ie),onPick:wn,onSelect:unref($e)},null,8,["date","min-date","max-date","range-state","disabled-date","disabled","cell-class-name","onChangerange","onSelect"])],2)],2)],2)],2))}});var YearRangePickPanel=_export_sfc(_sfc_main$1T,[["__file","/home/runner/work/element-plus/element-plus/packages/components/date-picker-panel/src/date-picker-com/panel-year-range.vue"]]);const getPanel=function(n){switch(n){case"daterange":case"datetimerange":return DateRangePickPanel;case"monthrange":return MonthRangePickPanel;case"yearrange":return YearRangePickPanel;default:return DatePickPanel}};function _isSlot$7(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!isVNode(n)}dayjs.extend(localeData);dayjs.extend(advancedFormat);dayjs.extend(customParseFormat);dayjs.extend(weekOfYear);dayjs.extend(weekYear);dayjs.extend(dayOfYear);dayjs.extend(isSameOrAfter);dayjs.extend(isSameOrBefore);var DatePickerPanel=defineComponent({name:"ElDatePickerPanel",install:null,inheritAttrs:!1,props:datePickerPanelProps,emits:[UPDATE_MODEL_EVENT,"calendar-change","panel-change","visible-change","clear"],setup(n,{slots:t,emit:r,attrs:i}){const g=useNamespace("picker-panel"),$=inject(PICKER_BASE_INJECTION_KEY,void 0);if(isUndefined$1($)){const le=reactive({...toRefs(n)});provide(PICKER_BASE_INJECTION_KEY,{props:le})}provide(ROOT_PICKER_INJECTION_KEY,{slots:t,pickerNs:g});const{parsedValue:V,onCalendarChange:re,onPanelChange:ie,onSetPickerOption:ae,onPick:oe}=inject(ROOT_COMMON_PICKER_INJECTION_KEY,()=>useCommonPicker(n,r),!0);return()=>{const le=getPanel(n.type);return createVNode$1(le,mergeProps(omit$1(i,"onPick"),n,{parsedValue:V.value,"onSet-picker-option":ae,"onCalendar-change":re,"onPanel-change":ie,onClear:()=>r("clear"),onPick:oe}),_isSlot$7(t)?t:{default:()=>[t]})}}});const ElDatePickerPanel=withInstall(DatePickerPanel),datePickerProps=buildProps({...timePickerDefaultProps,type:{type:definePropType(String),default:"date"}});function _isSlot$6(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!isVNode(n)}var DatePicker=defineComponent({name:"ElDatePicker",install:null,props:datePickerProps,emits:[UPDATE_MODEL_EVENT],setup(n,{expose:t,emit:r,slots:i}){const g=computed(()=>!n.format);provide(ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY,g),provide(PICKER_POPPER_OPTIONS_INJECTION_KEY,reactive(toRef$1(n,"popperOptions")));const $=ref();t({focus:()=>{var ie;(ie=$.value)==null||ie.focus()},blur:()=>{var ie;(ie=$.value)==null||ie.blur()},handleOpen:()=>{var ie;(ie=$.value)==null||ie.handleOpen()},handleClose:()=>{var ie;(ie=$.value)==null||ie.handleClose()}});const re=ie=>{r(UPDATE_MODEL_EVENT,ie)};return()=>{var ie;const ae=(ie=n.format)!=null?ie:DEFAULT_FORMATS_DATEPICKER[n.type]||DEFAULT_FORMATS_DATE;return createVNode$1(CommonPicker,mergeProps(n,{format:ae,type:n.type,ref:$,"onUpdate:modelValue":re}),{default:oe=>createVNode$1(ElDatePickerPanel,mergeProps({disabled:n.disabled,editable:n.editable,border:!1},oe),_isSlot$6(i)?i:{default:()=>[i]}),"range-separator":i["range-separator"]})}}});const ElDatePicker=withInstall(DatePicker),descriptionsKey=Symbol("elDescriptions");var ElDescriptionsCell=defineComponent({name:"ElDescriptionsCell",props:{cell:{type:Object},tag:{type:String,default:"td"},type:{type:String}},setup(){return{descriptions:inject(descriptionsKey,{})}},render(){var n,t,r,i;const g=getNormalizedProps(this.cell),$=(((n=this.cell)==null?void 0:n.dirs)||[]).map(Ne=>{const{dir:Oe,arg:$e,modifiers:Ve,value:Ue}=Ne;return[Oe,Ue,$e,Ve]}),{border:V,direction:re}=this.descriptions,ie=re==="vertical",ae=()=>{var Ne,Oe,$e;return(($e=(Oe=(Ne=this.cell)==null?void 0:Ne.children)==null?void 0:Oe.label)==null?void 0:$e.call(Oe))||g.label},oe=()=>{var Ne,Oe,$e;return($e=(Oe=(Ne=this.cell)==null?void 0:Ne.children)==null?void 0:Oe.default)==null?void 0:$e.call(Oe)},le=g.span,ue=g.rowspan,de=g.align?`is-${g.align}`:"",he=g.labelAlign?`is-${g.labelAlign}`:de,pe=g.className,_e=g.labelClassName,Ce=this.type==="label"&&(r=(t=g.labelWidth)!=null?t:this.descriptions.labelWidth)!=null?r:g.width,xe={width:addUnit(Ce),minWidth:addUnit(g.minWidth)},Ie=useNamespace("descriptions");switch(this.type){case"label":return withDirectives(h$1(this.tag,{style:xe,class:[Ie.e("cell"),Ie.e("label"),Ie.is("bordered-label",V),Ie.is("vertical-label",ie),he,_e],colSpan:ie?le:1,rowspan:ie?1:ue},ae()),$);case"content":return withDirectives(h$1(this.tag,{style:xe,class:[Ie.e("cell"),Ie.e("content"),Ie.is("bordered-content",V),Ie.is("vertical-content",ie),de,pe],colSpan:ie?le:le*2-1,rowspan:ie?ue*2-1:ue},oe()),$);default:{const Ne=ae(),Oe={},$e=addUnit((i=g.labelWidth)!=null?i:this.descriptions.labelWidth);return $e&&(Oe.width=$e,Oe.display="inline-block"),withDirectives(h$1("td",{style:xe,class:[Ie.e("cell"),de],colSpan:le,rowspan:ue},[isNil(Ne)?void 0:h$1("span",{style:Oe,class:[Ie.e("label"),_e]},Ne),h$1("span",{class:[Ie.e("content"),pe]},oe())]),$)}}}});const descriptionsRowProps=buildProps({row:{type:definePropType(Array),default:()=>[]}}),_hoisted_1$15={key:1},_sfc_main$1S=defineComponent({name:"ElDescriptionsRow",__name:"descriptions-row",props:descriptionsRowProps,setup(n){const t=inject(descriptionsKey,{});return(r,i)=>unref(t).direction==="vertical"?(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(r.row,(g,$)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr1-${$}`,cell:g,tag:"th",type:"label"},null,8,["cell"]))),128))]),createBaseVNode("tr",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(r.row,(g,$)=>(openBlock(),createBlock(unref(ElDescriptionsCell),{key:`tr2-${$}`,cell:g,tag:"td",type:"content"},null,8,["cell"]))),128))])],64)):(openBlock(),createElementBlock("tr",_hoisted_1$15,[(openBlock(!0),createElementBlock(Fragment,null,renderList(r.row,(g,$)=>(openBlock(),createElementBlock(Fragment,{key:`tr3-${$}`},[unref(t).border?(openBlock(),createElementBlock(Fragment,{key:0},[createVNode$1(unref(ElDescriptionsCell),{cell:g,tag:"td",type:"label"},null,8,["cell"]),createVNode$1(unref(ElDescriptionsCell),{cell:g,tag:"td",type:"content"},null,8,["cell"])],64)):(openBlock(),createBlock(unref(ElDescriptionsCell),{key:1,cell:g,tag:"td",type:"both"},null,8,["cell"]))],64))),128))]))}});var ElDescriptionsRow=_export_sfc(_sfc_main$1S,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/descriptions-row.vue"]]);const descriptionProps=buildProps({border:Boolean,column:{type:Number,default:3},direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},size:useSizeProp,title:{type:String,default:""},extra:{type:String,default:""},labelWidth:{type:[String,Number]}}),COMPONENT_NAME$e="ElDescriptionsItem",_sfc_main$1R=defineComponent({name:"ElDescriptions",__name:"description",props:descriptionProps,setup(n){const t=n,r=useNamespace("descriptions"),i=useFormSize(),g=useSlots();provide(descriptionsKey,t);const $=computed(()=>[r.b(),r.m(i.value)]),V=(ie,ae,oe,le=!1)=>(ie.props||(ie.props={}),ae>oe&&(ie.props.span=oe),le&&(ie.props.span=ae),ie),re=()=>{if(!g.default)return[];const ie=flattedChildren(g.default()).filter(he=>{var pe;return((pe=he==null?void 0:he.type)==null?void 0:pe.name)===COMPONENT_NAME$e}),ae=[];let oe=[],le=t.column,ue=0;const de=[];return ie.forEach((he,pe)=>{var _e,Ce,xe;const Ie=((_e=he.props)==null?void 0:_e.span)||1,Ne=((Ce=he.props)==null?void 0:Ce.rowspan)||1,Oe=ae.length;if(de[Oe]||(de[Oe]=0),Ne>1)for(let $e=1;$e0&&(le-=de[Oe],de[Oe]=0),pele?le:Ie),pe===ie.length-1){const $e=t.column-ue%t.column;oe.push(V(he,$e,le,!0)),ae.push(oe);return}Ie(openBlock(),createElementBlock("div",{class:normalizeClass($.value)},[ie.title||ie.extra||ie.$slots.title||ie.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(r).e("title"))},[renderSlot(ie.$slots,"title",{},()=>[createTextVNode(toDisplayString(ie.title),1)])],2),createBaseVNode("div",{class:normalizeClass(unref(r).e("extra"))},[renderSlot(ie.$slots,"extra",{},()=>[createTextVNode(toDisplayString(ie.extra),1)])],2)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(r).e("body"))},[createBaseVNode("table",{class:normalizeClass([unref(r).e("table"),unref(r).is("bordered",ie.border)])},[createBaseVNode("tbody",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(re(),(oe,le)=>(openBlock(),createBlock(ElDescriptionsRow,{key:le,row:oe},null,8,["row"]))),128))])],2)],2)],2))}});var Descriptions=_export_sfc(_sfc_main$1R,[["__file","/home/runner/work/element-plus/element-plus/packages/components/descriptions/src/description.vue"]]);const columnAlignment=["left","center","right"],descriptionItemProps=buildProps({label:{type:String,default:""},span:{type:Number,default:1},rowspan:{type:Number,default:1},width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},labelWidth:{type:[String,Number]},align:{type:String,values:columnAlignment,default:"left"},labelAlign:{type:String,values:columnAlignment},className:{type:String,default:""},labelClassName:{type:String,default:""}}),DescriptionItem=defineComponent({name:COMPONENT_NAME$e,props:descriptionItemProps}),ElDescriptions=withInstall(Descriptions,{DescriptionsItem:DescriptionItem}),ElDescriptionsItem=withNoopInstall(DescriptionItem),useSameTarget=n=>{if(!n)return{onClick:NOOP,onMousedown:NOOP,onMouseup:NOOP};let t=!1,r=!1;return{onClick:V=>{t&&r&&n(V),t=r=!1},onMousedown:V=>{t=V.target===V.currentTarget},onMouseup:V=>{r=V.target===V.currentTarget}}},overlayProps=buildProps({mask:{type:Boolean,default:!0},customMaskEvent:Boolean,overlayClass:{type:definePropType([String,Array,Object])},zIndex:{type:definePropType([String,Number])}}),overlayEmits={click:n=>n instanceof MouseEvent},BLOCK="overlay";var Overlay$2=defineComponent({name:"ElOverlay",props:overlayProps,emits:overlayEmits,setup(n,{slots:t,emit:r}){const i=useNamespace(BLOCK),g=ie=>{r("click",ie)},{onClick:$,onMousedown:V,onMouseup:re}=useSameTarget(n.customMaskEvent?void 0:g);return()=>n.mask?createVNode$1("div",{class:[i.b(),n.overlayClass],style:{zIndex:n.zIndex},onClick:$,onMousedown:V,onMouseup:re},[renderSlot(t,"default")],PatchFlags.STYLE|PatchFlags.CLASS|PatchFlags.PROPS,["onClick","onMouseup","onMousedown"]):h$1("div",{class:n.overlayClass,style:{zIndex:n.zIndex,position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}},[renderSlot(t,"default")])}});const ElOverlay=Overlay$2,dialogInjectionKey=Symbol("dialogInjectionKey"),DEFAULT_DIALOG_TRANSITION="dialog-fade",dialogContentProps=buildProps({center:Boolean,alignCenter:{type:Boolean,default:void 0},closeIcon:{type:iconPropType},draggable:{type:Boolean,default:void 0},overflow:{type:Boolean,default:void 0},fullscreen:Boolean,headerClass:String,bodyClass:String,footerClass:String,showClose:{type:Boolean,default:!0},title:{type:String,default:""},ariaLevel:{type:String,default:"2"}}),dialogContentEmits={close:()=>!0},useDraggable=(n,t,r,i)=>{const g={offsetX:0,offsetY:0},$=ref(!1),V=(ue,de)=>{if(n.value){const{offsetX:he,offsetY:pe}=g,_e=n.value.getBoundingClientRect(),Ce=_e.left,xe=_e.top,Ie=_e.width,Ne=_e.height,Oe=document.documentElement.clientWidth,$e=document.documentElement.clientHeight,Ve=-Ce+he,Ue=-xe+pe,Fe=Oe-Ce-Ie+he,ze=$e-xe-(Ne<$e?Ne:0)+pe;i!=null&&i.value||(ue=Math.min(Math.max(ue,Ve),Fe),de=Math.min(Math.max(de,Ue),ze)),g.offsetX=ue,g.offsetY=de,n.value.style.transform=`translate(${addUnit(ue)}, ${addUnit(de)})`}},re=ue=>{const de=ue.clientX,he=ue.clientY,{offsetX:pe,offsetY:_e}=g,Ce=Ie=>{$.value||($.value=!0);const Ne=pe+Ie.clientX-de,Oe=_e+Ie.clientY-he;V(Ne,Oe)},xe=()=>{$.value=!1,document.removeEventListener("mousemove",Ce),document.removeEventListener("mouseup",xe)};document.addEventListener("mousemove",Ce),document.addEventListener("mouseup",xe)},ie=()=>{t.value&&n.value&&(t.value.addEventListener("mousedown",re),window.addEventListener("resize",le))},ae=()=>{t.value&&n.value&&(t.value.removeEventListener("mousedown",re),window.removeEventListener("resize",le))},oe=()=>{g.offsetX=0,g.offsetY=0,n.value&&(n.value.style.transform="")},le=()=>{const{offsetX:ue,offsetY:de}=g;V(ue,de)};return onMounted(()=>{watchEffect(()=>{r.value?ie():ae()})}),onBeforeUnmount(()=>{ae()}),{isDragging:$,resetPosition:oe,updatePosition:le}},composeRefs=(...n)=>t=>{n.forEach(r=>{r.value=t})},_hoisted_1$14=["aria-level"],_hoisted_2$I=["aria-label"],_hoisted_3$i=["id"],_sfc_main$1Q=defineComponent({name:"ElDialogContent",__name:"dialog-content",props:dialogContentProps,emits:dialogContentEmits,setup(n,{expose:t}){const{t:r}=useLocale(),{Close:i}=CloseComponents,g=n,{dialogRef:$,headerRef:V,bodyId:re,ns:ie,style:ae}=inject(dialogInjectionKey),{focusTrapRef:oe}=inject(FOCUS_TRAP_INJECTION_KEY),le=composeRefs(oe,$),ue=computed(()=>!!g.draggable),de=computed(()=>!!g.overflow),{resetPosition:he,updatePosition:pe,isDragging:_e}=useDraggable($,V,ue,de),Ce=computed(()=>[ie.b(),ie.is("fullscreen",g.fullscreen),ie.is("draggable",ue.value),ie.is("dragging",_e.value),ie.is("align-center",!!g.alignCenter),{[ie.m("center")]:g.center}]);return t({resetPosition:he,updatePosition:pe}),(xe,Ie)=>(openBlock(),createElementBlock("div",{ref:unref(le),class:normalizeClass(Ce.value),style:normalizeStyle$1(unref(ae)),tabindex:"-1"},[createBaseVNode("header",{ref_key:"headerRef",ref:V,class:normalizeClass([unref(ie).e("header"),xe.headerClass,{"show-close":xe.showClose}])},[renderSlot(xe.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading","aria-level":xe.ariaLevel,class:normalizeClass(unref(ie).e("title"))},toDisplayString(xe.title),11,_hoisted_1$14)]),xe.showClose?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref(r)("el.dialog.close"),class:normalizeClass(unref(ie).e("headerbtn")),type:"button",onClick:Ie[0]||(Ie[0]=Ne=>xe.$emit("close"))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(ie).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.closeIcon||unref(i))))]),_:1},8,["class"])],10,_hoisted_2$I)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{id:unref(re),class:normalizeClass([unref(ie).e("body"),xe.bodyClass])},[renderSlot(xe.$slots,"default")],10,_hoisted_3$i),xe.$slots.footer?(openBlock(),createElementBlock("footer",{key:0,class:normalizeClass([unref(ie).e("footer"),xe.footerClass])},[renderSlot(xe.$slots,"footer")],2)):createCommentVNode("v-if",!0)],6))}});var ElDialogContent=_export_sfc(_sfc_main$1Q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog-content.vue"]]);const dialogProps=buildProps({...dialogContentProps,appendToBody:Boolean,appendTo:{type:teleportProps.to.type,default:"body"},beforeClose:{type:definePropType(Function)},destroyOnClose:Boolean,closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},modal:{type:Boolean,default:!0},modalPenetrable:Boolean,openDelay:{type:Number,default:0},closeDelay:{type:Number,default:0},top:{type:String},modelValue:Boolean,modalClass:String,headerClass:String,bodyClass:String,footerClass:String,width:{type:[String,Number]},zIndex:{type:Number},trapFocus:Boolean,headerAriaLevel:{type:String,default:"2"},transition:{type:definePropType([String,Object]),default:void 0}}),dialogEmits={open:()=>!0,opened:()=>!0,close:()=>!0,closed:()=>!0,[UPDATE_MODEL_EVENT]:n=>isBoolean$1(n),openAutoFocus:()=>!0,closeAutoFocus:()=>!0},useLockscreen=(n,t={})=>{isRef(n)||throwError$1("[useLockscreen]","You need to pass a ref param to this function");const r=t.ns||useNamespace("popup"),i=computed(()=>r.bm("parent","hidden"));let g=0,$=!1,V="0",re=!1;const ie=()=>{re||(re=!0,setTimeout(()=>{typeof document>"u"||$&&document&&(document.body.style.width=V,removeClass(document.body,i.value))},200))};watch(n,ae=>{if(!ae){ie();return}re=!1,$=!hasClass(document.body,i.value),$&&(V=document.body.style.width,addClass(document.body,i.value)),g=getScrollBarWidth(r.namespace.value);const oe=document.documentElement.clientHeight0&&(oe||le==="scroll")&&$&&(document.body.style.width=`calc(100% - ${g}px)`)}),onScopeDispose(()=>ie())},useDialog=(n,t)=>{var r;const g=getCurrentInstance().emit,{nextZIndex:$}=useZIndex();let V="";const re=useId(),ie=useId(),ae=ref(!1),oe=ref(!1),le=ref(!1),ue=ref((r=n.zIndex)!=null?r:$()),de=ref(!1);let he,pe;const _e=useGlobalConfig(),Ce=computed(()=>{var wn,bn;return(bn=(wn=_e.value)==null?void 0:wn.namespace)!=null?bn:defaultNamespace}),xe=computed(()=>{var wn;return(wn=_e.value)==null?void 0:wn.dialog}),Ie=computed(()=>{const wn={},bn=`--${Ce.value}-dialog`;if(!n.fullscreen){n.top&&(wn[`${bn}-margin-top`]=n.top);const Cn=addUnit(n.width);Cn&&(wn[`${bn}-width`]=Cn)}return wn}),Ne=computed(()=>{var wn,bn,Cn;return((Cn=(bn=n.draggable)!=null?bn:(wn=xe.value)==null?void 0:wn.draggable)!=null?Cn:!1)&&!n.fullscreen}),Oe=computed(()=>{var wn,bn,Cn;return(Cn=(bn=n.alignCenter)!=null?bn:(wn=xe.value)==null?void 0:wn.alignCenter)!=null?Cn:!1}),$e=computed(()=>{var wn,bn,Cn;return(Cn=(bn=n.overflow)!=null?bn:(wn=xe.value)==null?void 0:wn.overflow)!=null?Cn:!1}),Ve=computed(()=>Oe.value?{display:"flex"}:{}),Ue=computed(()=>{var wn,bn,Cn;const Sn=(Cn=(bn=n.transition)!=null?bn:(wn=xe.value)==null?void 0:wn.transition)!=null?Cn:DEFAULT_DIALOG_TRANSITION,Tn={name:Sn,onAfterEnter:Fe,onBeforeLeave:Pt,onAfterLeave:ze};if(isObject$6(Sn)){const En={...Sn},kn=($n,An)=>xn=>{isArray$5($n)?$n.forEach(Ln=>{isFunction$4(Ln)&&Ln(xn)}):isFunction$4($n)&&$n(xn),An()};return En.onAfterEnter=kn(En.onAfterEnter,Fe),En.onBeforeLeave=kn(En.onBeforeLeave,Pt),En.onAfterLeave=kn(En.onAfterLeave,ze),En.name||(En.name=DEFAULT_DIALOG_TRANSITION),En}return Tn});function Fe(){g("opened")}function ze(){g("closed"),g(UPDATE_MODEL_EVENT,!1),n.destroyOnClose&&(le.value=!1),de.value=!1}function Pt(){de.value=!0,g("close")}function qe(){pe==null||pe(),he==null||he(),n.openDelay&&n.openDelay>0?{stop:he}=useTimeoutFn(()=>Dt(),n.openDelay):Dt()}function Et(){he==null||he(),pe==null||pe(),n.closeDelay&&n.closeDelay>0?{stop:pe}=useTimeoutFn(()=>Lt(),n.closeDelay):Lt()}function kt(){function wn(bn){bn||(oe.value=!0,ae.value=!1)}n.beforeClose?n.beforeClose(wn):Et()}function At(){n.closeOnClickModal&&kt()}function Dt(){isClient&&(ae.value=!0)}function Lt(){ae.value=!1}function jt(){g("openAutoFocus")}function hn(){g("closeAutoFocus")}function vn(wn){var bn;((bn=wn.detail)==null?void 0:bn.focusReason)==="pointer"&&wn.preventDefault()}n.lockScroll&&useLockscreen(ae);function _n(){n.closeOnPressEscape&&kt()}return watch(()=>n.zIndex,()=>{var wn;ue.value=(wn=n.zIndex)!=null?wn:$()}),watch(()=>n.modelValue,wn=>{var bn;wn?(oe.value=!1,de.value=!1,qe(),le.value=!0,ue.value=(bn=n.zIndex)!=null?bn:$(),nextTick(()=>{g("open"),t.value&&(t.value.parentElement.scrollTop=0,t.value.parentElement.scrollLeft=0,t.value.scrollTop=0)})):ae.value&&Et()}),watch(()=>n.fullscreen,wn=>{t.value&&(wn?(V=t.value.style.transform,t.value.style.transform=""):t.value.style.transform=V)}),onMounted(()=>{n.modelValue&&(ae.value=!0,le.value=!0,qe())}),{afterEnter:Fe,afterLeave:ze,beforeLeave:Pt,handleClose:kt,onModalClick:At,close:Et,doClose:Lt,onOpenAutoFocus:jt,onCloseAutoFocus:hn,onCloseRequested:_n,onFocusoutPrevented:vn,titleId:re,bodyId:ie,closed:oe,style:Ie,overlayDialogStyle:Ve,rendered:le,visible:ae,zIndex:ue,transitionConfig:Ue,_draggable:Ne,_alignCenter:Oe,_overflow:$e,closing:de}},_hoisted_1$13=["aria-label","aria-labelledby","aria-describedby"],_sfc_main$1P=defineComponent({name:"ElDialog",inheritAttrs:!1,__name:"dialog",props:dialogProps,emits:dialogEmits,setup(n,{expose:t}){const r=n,i=useSlots();useDeprecated({scope:"el-dialog",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/dialog.html#slots"},computed(()=>!!i.title));const g=useNamespace("dialog"),$=ref(),V=ref(),re=ref(),{visible:ie,titleId:ae,bodyId:oe,style:le,overlayDialogStyle:ue,rendered:de,transitionConfig:he,zIndex:pe,_draggable:_e,_alignCenter:Ce,_overflow:xe,handleClose:Ie,onModalClick:Ne,onOpenAutoFocus:Oe,onCloseAutoFocus:$e,onCloseRequested:Ve,onFocusoutPrevented:Ue,closing:Fe}=useDialog(r,$);provide(dialogInjectionKey,{dialogRef:$,headerRef:V,bodyId:oe,ns:g,rendered:de,style:le});const ze=useSameTarget(Ne),Pt=computed(()=>r.modalPenetrable&&!r.modal&&!r.fullscreen);return t({visible:ie,dialogContentRef:re,resetPosition:()=>{var Et;(Et=re.value)==null||Et.resetPosition()},handleClose:Ie}),(Et,kt)=>(openBlock(),createBlock(unref(ElTeleport),{to:Et.appendTo,disabled:Et.appendTo!=="body"?!1:!Et.appendToBody},{default:withCtx(()=>[createVNode$1(Transition,mergeProps(unref(he),{persisted:""}),{default:withCtx(()=>{var At;return[withDirectives(createVNode$1(unref(ElOverlay),{"custom-mask-event":"",mask:Et.modal,"overlay-class":[(At=Et.modalClass)!=null?At:"",`${unref(g).namespace.value}-modal-dialog`,unref(g).is("penetrable",Pt.value)],"z-index":unref(pe)},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-modal":"true","aria-label":Et.title||void 0,"aria-labelledby":Et.title?void 0:unref(ae),"aria-describedby":unref(oe),class:normalizeClass([`${unref(g).namespace.value}-overlay-dialog`,unref(g).is("closing",unref(Fe))]),style:normalizeStyle$1(unref(ue)),onClick:kt[0]||(kt[0]=(...Dt)=>unref(ze).onClick&&unref(ze).onClick(...Dt)),onMousedown:kt[1]||(kt[1]=(...Dt)=>unref(ze).onMousedown&&unref(ze).onMousedown(...Dt)),onMouseup:kt[2]||(kt[2]=(...Dt)=>unref(ze).onMouseup&&unref(ze).onMouseup(...Dt))},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(ie),"focus-start-el":"container",onFocusAfterTrapped:unref(Oe),onFocusAfterReleased:unref($e),onFocusoutPrevented:unref(Ue),onReleaseRequested:unref(Ve)},{default:withCtx(()=>[unref(de)?(openBlock(),createBlock(ElDialogContent,mergeProps({key:0,ref_key:"dialogContentRef",ref:re},Et.$attrs,{center:Et.center,"align-center":unref(Ce),"close-icon":Et.closeIcon,draggable:unref(_e),overflow:unref(xe),fullscreen:Et.fullscreen,"header-class":Et.headerClass,"body-class":Et.bodyClass,"footer-class":Et.footerClass,"show-close":Et.showClose,title:Et.title,"aria-level":Et.headerAriaLevel,onClose:unref(Ie)}),createSlots({header:withCtx(()=>[Et.$slots.title?renderSlot(Et.$slots,"title",{key:1}):renderSlot(Et.$slots,"header",{key:0,close:unref(Ie),titleId:unref(ae),titleClass:unref(g).e("title")})]),default:withCtx(()=>[renderSlot(Et.$slots,"default")]),_:2},[Et.$slots.footer?{name:"footer",fn:withCtx(()=>[renderSlot(Et.$slots,"footer")]),key:"0"}:void 0]),1040,["center","align-center","close-icon","draggable","overflow","fullscreen","header-class","body-class","footer-class","show-close","title","aria-level","onClose"])):createCommentVNode("v-if",!0)]),_:3},8,["trapped","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])],46,_hoisted_1$13)]),_:3},8,["mask","overlay-class","z-index"]),[[vShow,unref(ie)]])]}),_:3},16)]),_:3},8,["to","disabled"]))}});var Dialog=_export_sfc(_sfc_main$1P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/dialog/src/dialog.vue"]]);const ElDialog=withInstall(Dialog),dividerProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},contentPosition:{type:String,values:["left","center","right"],default:"center"},borderStyle:{type:definePropType(String),default:"solid"}}),_sfc_main$1O=defineComponent({name:"ElDivider",__name:"divider",props:dividerProps,setup(n){const t=n,r=useNamespace("divider"),i=computed(()=>r.cssVar({"border-style":t.borderStyle}));return(g,$)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).b(),unref(r).m(g.direction)]),style:normalizeStyle$1(i.value),role:"separator"},[g.$slots.default&&g.direction!=="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(r).e("text"),unref(r).is(g.contentPosition)])},[renderSlot(g.$slots,"default")],2)):createCommentVNode("v-if",!0)],6))}});var Divider=_export_sfc(_sfc_main$1O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);const ElDivider=withInstall(Divider),drawerProps=buildProps({...dialogProps,direction:{type:String,default:"rtl",values:["ltr","rtl","ttb","btt"]},resizable:Boolean,size:{type:[String,Number],default:"30%"},withHeader:{type:Boolean,default:!0},modalFade:{type:Boolean,default:!0},headerAriaLevel:{type:String,default:"2"}}),drawerEmits={...dialogEmits,"resize-start":(n,t)=>n instanceof MouseEvent&&typeof t=="number",resize:(n,t)=>n instanceof MouseEvent&&typeof t=="number","resize-end":(n,t)=>n instanceof MouseEvent&&typeof t=="number"};function useResizable(n,t,r){const{width:i,height:g}=useWindowSize(),$=computed(()=>["ltr","rtl"].includes(n.direction)),V=computed(()=>["ltr","ttb"].includes(n.direction)?1:-1),re=computed(()=>$.value?i.value:g.value),ie=computed(()=>clamp$4(ae.value+V.value*oe.value,4,re.value)),ae=ref(0),oe=ref(0),le=ref(!1),ue=ref(!1);let de=[],he=[];const pe=()=>{var Ne;const Oe=(Ne=t.value)==null?void 0:Ne.closest('[aria-modal="true"]');return Oe?$.value?Oe.offsetWidth:Oe.offsetHeight:100};watch(()=>[n.size,n.resizable],()=>{ue.value=!1,ae.value=0,oe.value=0,xe()});const _e=Ne=>{n.resizable&&(ue.value||(ae.value=pe(),ue.value=!0),de=[Ne.pageX,Ne.pageY],le.value=!0,r("resize-start",Ne,ae.value),he.push(useEventListener(window,"mouseup",xe),useEventListener(window,"mousemove",Ce)))},Ce=Ne=>{const{pageX:Oe,pageY:$e}=Ne,Ve=Oe-de[0],Ue=$e-de[1];oe.value=$.value?Ve:Ue,r("resize",Ne,ie.value)},xe=Ne=>{le.value&&(de=[],ae.value=ie.value,oe.value=0,le.value=!1,he.forEach(Oe=>Oe==null?void 0:Oe()),he=[],Ne&&r("resize-end",Ne,ae.value))},Ie=useEventListener(t,"mousedown",_e);return onBeforeUnmount(()=>{Ie(),xe()}),{size:computed(()=>ue.value?`${ie.value}px`:addUnit(n.size)),isResizing:le,isHorizontal:$}}const _hoisted_1$12=["aria-label","aria-labelledby","aria-describedby"],_hoisted_2$H=["id","aria-level"],_hoisted_3$h=["aria-label"],_hoisted_4$d=["id"],_sfc_main$1N=defineComponent({name:"ElDrawer",inheritAttrs:!1,__name:"drawer",props:drawerProps,emits:drawerEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useSlots();useDeprecated({scope:"el-drawer",from:"the title slot",replacement:"the header slot",version:"3.0.0",ref:"https://element-plus.org/en-US/component/drawer.html#slots"},computed(()=>!!$.title));const V=ref(),re=ref(),ie=ref(),ae=useNamespace("drawer"),{t:oe}=useLocale(),{afterEnter:le,afterLeave:ue,beforeLeave:de,visible:he,rendered:pe,titleId:_e,bodyId:Ce,zIndex:xe,onModalClick:Ie,onOpenAutoFocus:Ne,onCloseAutoFocus:Oe,onFocusoutPrevented:$e,onCloseRequested:Ve,handleClose:Ue}=useDialog(i,V),{isHorizontal:Fe,size:ze,isResizing:Pt}=useResizable(i,ie,g),qe=computed(()=>i.modalPenetrable&&!i.modal);return t({handleClose:Ue,afterEnter:le,afterLeave:ue}),(Et,kt)=>(openBlock(),createBlock(unref(ElTeleport),{to:Et.appendTo,disabled:Et.appendTo!=="body"?!1:!Et.appendToBody},{default:withCtx(()=>[createVNode$1(Transition,{name:unref(ae).b("fade"),onAfterEnter:unref(le),onAfterLeave:unref(ue),onBeforeLeave:unref(de),persisted:""},{default:withCtx(()=>{var At;return[withDirectives(createVNode$1(unref(ElOverlay),{mask:Et.modal,"overlay-class":[unref(ae).is("drawer"),(At=Et.modalClass)!=null?At:"",`${unref(ae).namespace.value}-modal-drawer`,unref(ae).is("penetrable",qe.value)],"z-index":unref(xe),onClick:unref(Ie)},{default:withCtx(()=>[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:unref(he),"focus-trap-el":V.value,"focus-start-el":re.value,onFocusAfterTrapped:unref(Ne),onFocusAfterReleased:unref(Oe),onFocusoutPrevented:unref($e),onReleaseRequested:unref(Ve)},{default:withCtx(()=>[createBaseVNode("div",mergeProps({ref_key:"drawerRef",ref:V,"aria-modal":"true","aria-label":Et.title||void 0,"aria-labelledby":Et.title?void 0:unref(_e),"aria-describedby":unref(Ce)},Et.$attrs,{class:[unref(ae).b(),Et.direction,unref(he)&&"open",unref(ae).is("dragging",unref(Pt))],style:{[unref(Fe)?"width":"height"]:unref(ze)},role:"dialog",onClick:kt[1]||(kt[1]=withModifiers(()=>{},["stop"]))}),[createBaseVNode("span",{ref_key:"focusStartRef",ref:re,class:normalizeClass(unref(ae).e("sr-focus")),tabindex:"-1"},null,2),Et.withHeader?(openBlock(),createElementBlock("header",{key:0,class:normalizeClass([unref(ae).e("header"),Et.headerClass])},[Et.$slots.title?renderSlot(Et.$slots,"title",{key:1},()=>[createCommentVNode(" DEPRECATED SLOT ")]):renderSlot(Et.$slots,"header",{key:0,close:unref(Ue),titleId:unref(_e),titleClass:unref(ae).e("title")},()=>[createBaseVNode("span",{id:unref(_e),role:"heading","aria-level":Et.headerAriaLevel,class:normalizeClass(unref(ae).e("title"))},toDisplayString(Et.title),11,_hoisted_2$H)]),Et.showClose?(openBlock(),createElementBlock("button",{key:2,"aria-label":unref(oe)("el.drawer.close"),class:normalizeClass(unref(ae).e("close-btn")),type:"button",onClick:kt[0]||(kt[0]=(...Dt)=>unref(Ue)&&unref(Ue)(...Dt))},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(ae).e("close"))},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])],10,_hoisted_3$h)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),unref(pe)?(openBlock(),createElementBlock("div",{key:1,id:unref(Ce),class:normalizeClass([unref(ae).e("body"),Et.bodyClass])},[renderSlot(Et.$slots,"default")],10,_hoisted_4$d)):createCommentVNode("v-if",!0),Et.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass([unref(ae).e("footer"),Et.footerClass])},[renderSlot(Et.$slots,"footer")],2)):createCommentVNode("v-if",!0),Et.resizable?(openBlock(),createElementBlock("div",{key:3,ref_key:"draggerRef",ref:ie,style:normalizeStyle$1({zIndex:unref(xe)}),class:normalizeClass(unref(ae).e("dragger"))},null,6)):createCommentVNode("v-if",!0)],16,_hoisted_1$12)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onFocusAfterTrapped","onFocusAfterReleased","onFocusoutPrevented","onReleaseRequested"])]),_:3},8,["mask","overlay-class","z-index","onClick"]),[[vShow,unref(he)]])]}),_:3},8,["name","onAfterEnter","onAfterLeave","onBeforeLeave"])]),_:3},8,["to","disabled"]))}});var Drawer=_export_sfc(_sfc_main$1N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/drawer/src/drawer.vue"]]);const ElDrawer=withInstall(Drawer),_sfc_main$1M=defineComponent({inheritAttrs:!1});function _sfc_render$g(n,t,r,i,g,$){return renderSlot(n.$slots,"default")}var Collection=_export_sfc(_sfc_main$1M,[["render",_sfc_render$g],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection.vue"]]);const _sfc_main$1L=defineComponent({name:"ElCollectionItem",inheritAttrs:!1});function _sfc_render$f(n,t,r,i,g,$){return renderSlot(n.$slots,"default")}var CollectionItem=_export_sfc(_sfc_main$1L,[["render",_sfc_render$f],["__file","/home/runner/work/element-plus/element-plus/packages/components/collection/src/collection-item.vue"]]);const COLLECTION_ITEM_SIGN="data-el-collection-item",createCollectionWithScope=n=>{const t=`El${n}Collection`,r=`${t}Item`,i=Symbol(t),g=Symbol(r),$=Object.assign({},Collection,{name:t,setup(){const re=ref(),ie=new Map;provide(i,{itemMap:ie,getItems:()=>{const oe=unref(re);if(!oe)return[];const le=Array.from(oe.querySelectorAll(`[${COLLECTION_ITEM_SIGN}]`));return[...ie.values()].sort((de,he)=>le.indexOf(de.ref)-le.indexOf(he.ref))},collectionRef:re})}}),V=Object.assign({},CollectionItem,{name:r,setup(re,{attrs:ie}){const ae=ref(),oe=inject(i,void 0);provide(g,{collectionItemRef:ae}),onMounted(()=>{const le=unref(ae);le&&oe.itemMap.set(le,{ref:le,...ie})}),onBeforeUnmount(()=>{const le=unref(ae);oe.itemMap.delete(le)})}});return{COLLECTION_INJECTION_KEY:i,COLLECTION_ITEM_INJECTION_KEY:g,ElCollection:$,ElCollectionItem:V}},rovingFocusGroupProps=buildProps({style:{type:definePropType([String,Array,Object])},currentTabId:{type:definePropType(String)},defaultCurrentTabId:String,loop:Boolean,dir:{type:String,values:["ltr","rtl"],default:"ltr"},orientation:{type:definePropType(String)},onBlur:Function,onFocus:Function,onMousedown:Function}),{ElCollection,ElCollectionItem,COLLECTION_INJECTION_KEY,COLLECTION_ITEM_INJECTION_KEY}=createCollectionWithScope("RovingFocusGroup"),ROVING_FOCUS_GROUP_INJECTION_KEY=Symbol("elRovingFocusGroup"),ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY=Symbol("elRovingFocusGroupItem"),MAP_KEY_TO_FOCUS_INTENT={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"},getDirectionAwareKey=(n,t)=>{if(t!=="rtl")return n;switch(n){case EVENT_CODE.right:return EVENT_CODE.left;case EVENT_CODE.left:return EVENT_CODE.right;default:return n}},getFocusIntent=(n,t,r)=>{const i=getEventCode(n),g=getDirectionAwareKey(i,r);if(!(t==="vertical"&&[EVENT_CODE.left,EVENT_CODE.right].includes(g))&&!(t==="horizontal"&&[EVENT_CODE.up,EVENT_CODE.down].includes(g)))return MAP_KEY_TO_FOCUS_INTENT[g]},reorderArray=(n,t)=>n.map((r,i)=>n[(i+t)%n.length]),focusFirst=n=>{const{activeElement:t}=document;for(const r of n)if(r===t||(r.focus(),t!==document.activeElement))return},CURRENT_TAB_ID_CHANGE_EVT="currentTabIdChange",ENTRY_FOCUS_EVT="rovingFocusGroup.entryFocus",EVT_OPTS={bubbles:!1,cancelable:!0},_sfc_main$1K=defineComponent({name:"ElRovingFocusGroupImpl",inheritAttrs:!1,props:rovingFocusGroupProps,emits:[CURRENT_TAB_ID_CHANGE_EVT,"entryFocus"],setup(n,{emit:t}){var r;const i=ref((r=n.currentTabId||n.defaultCurrentTabId)!=null?r:null),g=ref(!1),$=ref(!1),V=ref(),{getItems:re}=inject(COLLECTION_INJECTION_KEY,void 0),ie=computed(()=>[{outline:"none"},n.style]),ae=_e=>{t(CURRENT_TAB_ID_CHANGE_EVT,_e)},oe=()=>{g.value=!0},le=composeEventHandlers(_e=>{var Ce;(Ce=n.onMousedown)==null||Ce.call(n,_e)},()=>{$.value=!0}),ue=composeEventHandlers(_e=>{var Ce;(Ce=n.onFocus)==null||Ce.call(n,_e)},_e=>{const Ce=!unref($),{target:xe,currentTarget:Ie}=_e;if(xe===Ie&&Ce&&!unref(g)){const Ne=new Event(ENTRY_FOCUS_EVT,EVT_OPTS);if(Ie==null||Ie.dispatchEvent(Ne),!Ne.defaultPrevented){const Oe=re().filter(ze=>ze.focusable),$e=Oe.find(ze=>ze.active),Ve=Oe.find(ze=>ze.id===unref(i)),Fe=[$e,Ve,...Oe].filter(Boolean).map(ze=>ze.ref);focusFirst(Fe)}}$.value=!1}),de=composeEventHandlers(_e=>{var Ce;(Ce=n.onBlur)==null||Ce.call(n,_e)},()=>{g.value=!1}),he=(..._e)=>{t("entryFocus",..._e)},pe=_e=>{const Ce=getFocusIntent(_e);if(Ce){_e.preventDefault();let Ie=re().filter(Ne=>Ne.focusable).map(Ne=>Ne.ref);switch(Ce){case"last":{Ie.reverse();break}case"prev":case"next":{Ce==="prev"&&Ie.reverse();const Ne=Ie.indexOf(_e.currentTarget);Ie=n.loop?reorderArray(Ie,Ne+1):Ie.slice(Ne+1);break}}nextTick(()=>{focusFirst(Ie)})}};provide(ROVING_FOCUS_GROUP_INJECTION_KEY,{currentTabbedId:readonly(i),loop:toRef$1(n,"loop"),tabIndex:computed(()=>unref(g)?-1:0),rovingFocusGroupRef:V,rovingFocusGroupRootStyle:ie,orientation:toRef$1(n,"orientation"),dir:toRef$1(n,"dir"),onItemFocus:ae,onItemShiftTab:oe,onBlur:de,onFocus:ue,onMousedown:le,onKeydown:pe}),watch(()=>n.currentTabId,_e=>{i.value=_e??null}),useEventListener(V,ENTRY_FOCUS_EVT,he)}});function _sfc_render$e(n,t,r,i,g,$){return renderSlot(n.$slots,"default")}var ElRovingFocusGroupImpl=_export_sfc(_sfc_main$1K,[["render",_sfc_render$e],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group-impl.vue"]]);const _sfc_main$1J=defineComponent({name:"ElRovingFocusGroup",components:{ElFocusGroupCollection:ElCollection,ElRovingFocusGroupImpl}});function _sfc_render$d(n,t,r,i,g,$){const V=resolveComponent("el-roving-focus-group-impl"),re=resolveComponent("el-focus-group-collection");return openBlock(),createBlock(re,null,{default:withCtx(()=>[createVNode$1(V,normalizeProps(guardReactiveProps(n.$attrs)),{default:withCtx(()=>[renderSlot(n.$slots,"default")]),_:3},16)]),_:3})}var ElRovingFocusGroup=_export_sfc(_sfc_main$1J,[["render",_sfc_render$d],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-group.vue"]]);const dropdownProps=buildProps({trigger:{...useTooltipTriggerProps.trigger,type:definePropType([String,Array])},triggerKeys:{type:definePropType(Array),default:()=>[EVENT_CODE.enter,EVENT_CODE.numpadEnter,EVENT_CODE.space,EVENT_CODE.down]},virtualTriggering:useTooltipTriggerProps.virtualTriggering,virtualRef:useTooltipTriggerProps.virtualRef,effect:{...useTooltipContentProps.effect,default:"light"},type:{type:definePropType(String)},placement:{type:definePropType(String),default:"bottom"},popperOptions:{type:definePropType(Object),default:()=>({})},id:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},loop:{type:Boolean,default:!0},showArrow:{type:Boolean,default:!0},showTimeout:{type:Number,default:150},hideTimeout:{type:Number,default:150},tabindex:{type:definePropType([Number,String]),default:0},maxHeight:{type:definePropType([Number,String]),default:""},popperClass:useTooltipContentProps.popperClass,popperStyle:useTooltipContentProps.popperStyle,disabled:Boolean,role:{type:String,values:roleTypes,default:"menu"},buttonProps:{type:definePropType(Object)},teleported:useTooltipContentProps.teleported,appendTo:useTooltipContentProps.appendTo,persistent:{type:Boolean,default:!0}}),dropdownItemProps=buildProps({command:{type:[Object,String,Number],default:()=>({})},disabled:Boolean,divided:Boolean,textValue:String,icon:{type:iconPropType}}),dropdownMenuProps=buildProps({onKeydown:{type:definePropType(Function)}}),DROPDOWN_INJECTION_KEY=Symbol("elDropdown"),DROPDOWN_INSTANCE_INJECTION_KEY="elDropdown",{ButtonGroup:ElButtonGroup}=ElButton,_sfc_main$1I=defineComponent({name:"ElDropdown",components:{ElButton,ElButtonGroup,ElScrollbar,ElTooltip,ElRovingFocusGroup,ElOnlyChild:OnlyChild,ElIcon,ArrowDown:arrow_down_default},props:dropdownProps,emits:["visible-change","click","command"],setup(n,{emit:t}){const r=getCurrentInstance(),i=useNamespace("dropdown"),{t:g}=useLocale(),$=ref(),V=ref(),re=ref(),ie=ref(),ae=ref(null),oe=ref(null),le=ref(!1),ue=computed(()=>({maxHeight:addUnit(n.maxHeight)})),de=computed(()=>[i.m(Ne.value)]),he=computed(()=>castArray$1(n.trigger)),pe=useId().value,_e=computed(()=>n.id||pe);function Ce(){var Et;(Et=re.value)==null||Et.onClose(void 0,0)}function xe(){var Et;(Et=re.value)==null||Et.onClose()}function Ie(){var Et;(Et=re.value)==null||Et.onOpen()}const Ne=useFormSize();function Oe(...Et){t("command",...Et)}function $e(){}function Ve(){const Et=unref(ie);he.value.includes("hover")&&(Et==null||Et.focus({preventScroll:!0})),oe.value=null}function Ue(Et){oe.value=Et}function Fe(){t("visible-change",!0)}function ze(Et){var kt;le.value=(Et==null?void 0:Et.type)==="keydown",(kt=ie.value)==null||kt.focus()}function Pt(){t("visible-change",!1)}return provide(DROPDOWN_INJECTION_KEY,{contentRef:ie,role:computed(()=>n.role),triggerId:_e,isUsingKeyboard:le,onItemEnter:$e,onItemLeave:Ve,handleClose:xe}),provide(DROPDOWN_INSTANCE_INJECTION_KEY,{instance:r,dropdownSize:Ne,handleClick:Ce,commandHandler:Oe,trigger:toRef$1(n,"trigger"),hideOnClick:toRef$1(n,"hideOnClick")}),{t:g,ns:i,scrollbar:ae,wrapStyle:ue,dropdownTriggerKls:de,dropdownSize:Ne,triggerId:_e,currentTabId:oe,handleCurrentTabIdChange:Ue,handlerMainButtonClick:Et=>{t("click",Et)},handleClose:xe,handleOpen:Ie,handleBeforeShowTooltip:Fe,handleShowTooltip:ze,handleBeforeHideTooltip:Pt,popperRef:re,contentRef:ie,triggeringElementRef:$,referenceElementRef:V}}});function _sfc_render$c(n,t,r,i,g,$){var V;const re=resolveComponent("el-roving-focus-group"),ie=resolveComponent("el-scrollbar"),ae=resolveComponent("el-only-child"),oe=resolveComponent("el-tooltip"),le=resolveComponent("el-button"),ue=resolveComponent("arrow-down"),de=resolveComponent("el-icon"),he=resolveComponent("el-button-group");return openBlock(),createElementBlock("div",{class:normalizeClass([n.ns.b(),n.ns.is("disabled",n.disabled)])},[createVNode$1(oe,{ref:"popperRef",role:n.role,effect:n.effect,"fallback-placements":["bottom","top"],"popper-options":n.popperOptions,"gpu-acceleration":!1,placement:n.placement,"popper-class":[n.ns.e("popper"),n.popperClass],"popper-style":n.popperStyle,trigger:n.trigger,"trigger-keys":n.triggerKeys,"trigger-target-el":n.contentRef,"show-arrow":n.showArrow,"show-after":n.trigger==="hover"?n.showTimeout:0,"hide-after":n.trigger==="hover"?n.hideTimeout:0,"virtual-ref":(V=n.virtualRef)!=null?V:n.triggeringElementRef,"virtual-triggering":n.virtualTriggering||n.splitButton,disabled:n.disabled,transition:`${n.ns.namespace.value}-zoom-in-top`,teleported:n.teleported,"append-to":n.appendTo,pure:"","focus-on-target":"",persistent:n.persistent,onBeforeShow:n.handleBeforeShowTooltip,onShow:n.handleShowTooltip,onBeforeHide:n.handleBeforeHideTooltip},createSlots({content:withCtx(()=>[createVNode$1(ie,{ref:"scrollbar","wrap-style":n.wrapStyle,tag:"div","view-class":n.ns.e("list")},{default:withCtx(()=>[createVNode$1(re,{loop:n.loop,"current-tab-id":n.currentTabId,orientation:"horizontal",onCurrentTabIdChange:n.handleCurrentTabIdChange},{default:withCtx(()=>[renderSlot(n.$slots,"dropdown")]),_:3},8,["loop","current-tab-id","onCurrentTabIdChange"])]),_:3},8,["wrap-style","view-class"])]),_:2},[n.splitButton?void 0:{name:"default",fn:withCtx(()=>[createVNode$1(ae,{id:n.triggerId,ref:"triggeringElementRef",role:"button",tabindex:n.tabindex},{default:withCtx(()=>[renderSlot(n.$slots,"default")]),_:3},8,["id","tabindex"])]),key:"0"}]),1032,["role","effect","popper-options","placement","popper-class","popper-style","trigger","trigger-keys","trigger-target-el","show-arrow","show-after","hide-after","virtual-ref","virtual-triggering","disabled","transition","teleported","append-to","persistent","onBeforeShow","onShow","onBeforeHide"]),n.splitButton?(openBlock(),createBlock(he,{key:0},{default:withCtx(()=>[createVNode$1(le,mergeProps({ref:"referenceElementRef"},n.buttonProps,{size:n.dropdownSize,type:n.type,disabled:n.disabled,tabindex:n.tabindex,onClick:n.handlerMainButtonClick}),{default:withCtx(()=>[renderSlot(n.$slots,"default")]),_:3},16,["size","type","disabled","tabindex","onClick"]),createVNode$1(le,mergeProps({id:n.triggerId,ref:"triggeringElementRef"},n.buttonProps,{role:"button",size:n.dropdownSize,type:n.type,class:n.ns.e("caret-button"),disabled:n.disabled,tabindex:n.tabindex,"aria-label":n.t("el.dropdown.toggleDropdown")}),{default:withCtx(()=>[createVNode$1(de,{class:normalizeClass(n.ns.e("icon"))},{default:withCtx(()=>[createVNode$1(ue)]),_:1},8,["class"])]),_:1},16,["id","size","type","class","disabled","tabindex","aria-label"])]),_:3})):createCommentVNode("v-if",!0)],2)}var Dropdown=_export_sfc(_sfc_main$1I,[["render",_sfc_render$c],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown.vue"]]);const _sfc_main$1H=defineComponent({components:{ElRovingFocusCollectionItem:ElCollectionItem},props:{focusable:{type:Boolean,default:!0},active:Boolean},emits:["mousedown","focus","keydown"],setup(n,{emit:t}){const{currentTabbedId:r,onItemFocus:i,onItemShiftTab:g,onKeydown:$}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),V=useId(),re=ref(),ie=composeEventHandlers(ue=>{t("mousedown",ue)},ue=>{n.focusable?i(unref(V)):ue.preventDefault()}),ae=composeEventHandlers(ue=>{t("focus",ue)},()=>{i(unref(V))}),oe=composeEventHandlers(ue=>{t("keydown",ue)},ue=>{const{shiftKey:de,target:he,currentTarget:pe}=ue;if(getEventCode(ue)===EVENT_CODE.tab&&de){g();return}he===pe&&$(ue)}),le=computed(()=>r.value===unref(V));return provide(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,{rovingFocusGroupItemRef:re,tabIndex:computed(()=>unref(le)?0:-1),handleMousedown:ie,handleFocus:ae,handleKeydown:oe}),{id:V,handleKeydown:oe,handleFocus:ae,handleMousedown:ie}}});function _sfc_render$b(n,t,r,i,g,$){const V=resolveComponent("el-roving-focus-collection-item");return openBlock(),createBlock(V,{id:n.id,focusable:n.focusable,active:n.active},{default:withCtx(()=>[renderSlot(n.$slots,"default")]),_:3},8,["id","focusable","active"])}var ElRovingFocusItem=_export_sfc(_sfc_main$1H,[["render",_sfc_render$b],["__file","/home/runner/work/element-plus/element-plus/packages/components/roving-focus-group/src/roving-focus-item.vue"]]);const _sfc_main$1G=defineComponent({name:"DropdownItemImpl",components:{ElIcon},props:dropdownItemProps,emits:["pointermove","pointerleave","click","clickimpl"],setup(n,{emit:t}){const r=useNamespace("dropdown"),{role:i}=inject(DROPDOWN_INJECTION_KEY,void 0),{collectionItemRef:g}=inject(COLLECTION_ITEM_INJECTION_KEY,void 0),{rovingFocusGroupItemRef:$,tabIndex:V,handleFocus:re,handleKeydown:ie,handleMousedown:ae}=inject(ROVING_FOCUS_GROUP_ITEM_INJECTION_KEY,void 0),oe=composeRefs(g,$),le=computed(()=>i.value==="menu"?"menuitem":i.value==="navigation"?"link":"button"),ue=composeEventHandlers(de=>{const he=getEventCode(de);if([EVENT_CODE.enter,EVENT_CODE.numpadEnter,EVENT_CODE.space].includes(he))return de.preventDefault(),de.stopImmediatePropagation(),t("clickimpl",de),!0},ie);return{ns:r,itemRef:oe,dataset:{[COLLECTION_ITEM_SIGN]:""},role:le,tabIndex:V,handleFocus:re,handleKeydown:ue,handleMousedown:ae}}}),_hoisted_1$11=["aria-disabled","tabindex","role"];function _sfc_render$a(n,t,r,i,g,$){const V=resolveComponent("el-icon");return openBlock(),createElementBlock(Fragment,null,[n.divided?(openBlock(),createElementBlock("li",{key:0,role:"separator",class:normalizeClass(n.ns.bem("menu","item","divided"))},null,2)):createCommentVNode("v-if",!0),createBaseVNode("li",mergeProps({ref:n.itemRef},{...n.dataset,...n.$attrs},{"aria-disabled":n.disabled,class:[n.ns.be("menu","item"),n.ns.is("disabled",n.disabled)],tabindex:n.tabIndex,role:n.role,onClick:t[0]||(t[0]=re=>n.$emit("clickimpl",re)),onFocus:t[1]||(t[1]=(...re)=>n.handleFocus&&n.handleFocus(...re)),onKeydown:t[2]||(t[2]=withModifiers((...re)=>n.handleKeydown&&n.handleKeydown(...re),["self"])),onMousedown:t[3]||(t[3]=(...re)=>n.handleMousedown&&n.handleMousedown(...re)),onPointermove:t[4]||(t[4]=re=>n.$emit("pointermove",re)),onPointerleave:t[5]||(t[5]=re=>n.$emit("pointerleave",re))}),[n.icon||n.$slots.icon?(openBlock(),createBlock(V,{key:0},{default:withCtx(()=>[renderSlot(n.$slots,"icon",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(n.icon)))])]),_:3})):createCommentVNode("v-if",!0),renderSlot(n.$slots,"default")],16,_hoisted_1$11)],64)}var ElDropdownItemImpl=_export_sfc(_sfc_main$1G,[["render",_sfc_render$a],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item-impl.vue"]]);const useDropdown=()=>{const n=inject(DROPDOWN_INSTANCE_INJECTION_KEY,{}),t=computed(()=>n==null?void 0:n.dropdownSize);return{elDropdown:n,_elDropdownSize:t}},_sfc_main$1F=defineComponent({name:"ElDropdownItem",components:{ElRovingFocusItem,ElDropdownItemImpl},inheritAttrs:!1,props:dropdownItemProps,emits:["pointermove","pointerleave","click"],setup(n,{emit:t,attrs:r}){const{elDropdown:i}=useDropdown(),g=getCurrentInstance(),{onItemEnter:$,onItemLeave:V}=inject(DROPDOWN_INJECTION_KEY,void 0),re=composeEventHandlers(le=>(t("pointermove",le),le.defaultPrevented),whenMouse(le=>{if(n.disabled){V(le);return}const ue=le.currentTarget;ue===document.activeElement||ue.contains(document.activeElement)||($(le),le.defaultPrevented||ue==null||ue.focus({preventScroll:!0}))})),ie=composeEventHandlers(le=>(t("pointerleave",le),le.defaultPrevented),whenMouse(V)),ae=composeEventHandlers(le=>{if(!n.disabled)return t("click",le),le.type!=="keydown"&&le.defaultPrevented},le=>{var ue,de,he;if(n.disabled){le.stopImmediatePropagation();return}(ue=i==null?void 0:i.hideOnClick)!=null&&ue.value&&((de=i.handleClick)==null||de.call(i)),(he=i.commandHandler)==null||he.call(i,n.command,g,le)}),oe=computed(()=>({...n,...r}));return{handleClick:ae,handlePointerMove:re,handlePointerLeave:ie,propsAndAttrs:oe}}});function _sfc_render$9(n,t,r,i,g,$){const V=resolveComponent("el-dropdown-item-impl"),re=resolveComponent("el-roving-focus-item");return openBlock(),createBlock(re,{focusable:!n.disabled},{default:withCtx(()=>[createVNode$1(V,mergeProps(n.propsAndAttrs,{onPointerleave:n.handlePointerLeave,onPointermove:n.handlePointerMove,onClickimpl:n.handleClick}),createSlots({default:withCtx(()=>[renderSlot(n.$slots,"default")]),_:2},[n.$slots.icon?{name:"icon",fn:withCtx(()=>[renderSlot(n.$slots,"icon")]),key:"0"}:void 0]),1040,["onPointerleave","onPointermove","onClickimpl"])]),_:3},8,["focusable"])}var DropdownItem=_export_sfc(_sfc_main$1F,[["render",_sfc_render$9],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-item.vue"]]);const _sfc_main$1E=defineComponent({name:"ElDropdownMenu",props:dropdownMenuProps,setup(n){const t=useNamespace("dropdown"),{_elDropdownSize:r}=useDropdown(),i=r.value,{contentRef:g,role:$,triggerId:V,isUsingKeyboard:re,handleClose:ie}=inject(DROPDOWN_INJECTION_KEY,void 0),{rovingFocusGroupRef:ae,rovingFocusGroupRootStyle:oe,onBlur:le,onFocus:ue,onKeydown:de,onMousedown:he}=inject(ROVING_FOCUS_GROUP_INJECTION_KEY,void 0),{collectionRef:pe}=inject(COLLECTION_INJECTION_KEY,void 0),_e=computed(()=>[t.b("menu"),t.bm("menu",i==null?void 0:i.value)]),Ce=composeRefs(g,ae,pe),xe=composeEventHandlers(Ne=>{var Oe;(Oe=n.onKeydown)==null||Oe.call(n,Ne)},Ne=>{const{currentTarget:Oe,target:$e}=Ne,Ve=getEventCode(Ne);if(Oe.contains($e),EVENT_CODE.tab===Ve)return ie();de(Ne)});function Ie(Ne){re.value&&ue(Ne)}return{size:i,rovingFocusGroupRootStyle:oe,dropdownKls:_e,role:$,triggerId:V,dropdownListWrapperRef:Ce,handleKeydown:xe,onBlur:le,handleFocus:Ie,onMousedown:he}}}),_hoisted_1$10=["role","aria-labelledby"];function _sfc_render$8(n,t,r,i,g,$){return openBlock(),createElementBlock("ul",{ref:n.dropdownListWrapperRef,class:normalizeClass(n.dropdownKls),style:normalizeStyle$1(n.rovingFocusGroupRootStyle),tabindex:-1,role:n.role,"aria-labelledby":n.triggerId,onFocusin:t[0]||(t[0]=(...V)=>n.handleFocus&&n.handleFocus(...V)),onFocusout:t[1]||(t[1]=(...V)=>n.onBlur&&n.onBlur(...V)),onKeydown:t[2]||(t[2]=withModifiers((...V)=>n.handleKeydown&&n.handleKeydown(...V),["self"])),onMousedown:t[3]||(t[3]=withModifiers((...V)=>n.onMousedown&&n.onMousedown(...V),["self"]))},[renderSlot(n.$slots,"default")],46,_hoisted_1$10)}var DropdownMenu=_export_sfc(_sfc_main$1E,[["render",_sfc_render$8],["__file","/home/runner/work/element-plus/element-plus/packages/components/dropdown/src/dropdown-menu.vue"]]);const ElDropdown=withInstall(Dropdown,{DropdownItem,DropdownMenu}),ElDropdownItem=withNoopInstall(DropdownItem),ElDropdownMenu=withNoopInstall(DropdownMenu),_hoisted_1$$={viewBox:"0 0 79 86",version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink"},_hoisted_2$G=["id"],_hoisted_3$g=["stop-color"],_hoisted_4$c=["stop-color"],_hoisted_5$5=["id"],_hoisted_6$1=["stop-color"],_hoisted_7=["stop-color"],_hoisted_8=["id"],_hoisted_9={stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},_hoisted_10={transform:"translate(-1268.000000, -535.000000)"},_hoisted_11={transform:"translate(1268.000000, 535.000000)"},_hoisted_12=["fill"],_hoisted_13=["fill"],_hoisted_14={transform:"translate(34.500000, 31.500000) scale(-1, 1) rotate(-25.000000) translate(-34.500000, -31.500000) translate(7.000000, 10.000000)"},_hoisted_15=["fill"],_hoisted_16=["fill"],_hoisted_17=["fill"],_hoisted_18=["fill"],_hoisted_19=["fill"],_hoisted_20={transform:"translate(53.000000, 45.000000)"},_hoisted_21=["fill","xlink:href"],_hoisted_22=["fill","mask"],_hoisted_23=["fill"],_sfc_main$1D=defineComponent({name:"ImgEmpty",__name:"img-empty",setup(n){const t=useNamespace("empty"),r=useId();return(i,g)=>(openBlock(),createElementBlock("svg",_hoisted_1$$,[createBaseVNode("defs",null,[createBaseVNode("linearGradient",{id:`linearGradient-1-${unref(r)}`,x1:"38.8503086%",y1:"0%",x2:"61.1496914%",y2:"100%"},[createBaseVNode("stop",{"stop-color":`var(${unref(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_3$g),createBaseVNode("stop",{"stop-color":`var(${unref(t).cssVarBlockName("fill-color-4")})`,offset:"100%"},null,8,_hoisted_4$c)],8,_hoisted_2$G),createBaseVNode("linearGradient",{id:`linearGradient-2-${unref(r)}`,x1:"0%",y1:"9.5%",x2:"100%",y2:"90.5%"},[createBaseVNode("stop",{"stop-color":`var(${unref(t).cssVarBlockName("fill-color-1")})`,offset:"0%"},null,8,_hoisted_6$1),createBaseVNode("stop",{"stop-color":`var(${unref(t).cssVarBlockName("fill-color-6")})`,offset:"100%"},null,8,_hoisted_7)],8,_hoisted_5$5),createBaseVNode("rect",{id:`path-3-${unref(r)}`,x:"0",y:"0",width:"17",height:"36"},null,8,_hoisted_8)]),createBaseVNode("g",_hoisted_9,[createBaseVNode("g",_hoisted_10,[createBaseVNode("g",_hoisted_11,[createBaseVNode("path",{d:"M39.5,86 C61.3152476,86 79,83.9106622 79,81.3333333 C79,78.7560045 57.3152476,78 35.5,78 C13.6847524,78 0,78.7560045 0,81.3333333 C0,83.9106622 17.6847524,86 39.5,86 Z",fill:`var(${unref(t).cssVarBlockName("fill-color-3")})`},null,8,_hoisted_12),createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-7")})`,transform:"translate(27.500000, 51.500000) scale(1, -1) translate(-27.500000, -51.500000) ",points:"13 58 53 58 42 45 2 45"},null,8,_hoisted_13),createBaseVNode("g",_hoisted_14,[createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-7")})`,transform:"translate(11.500000, 5.000000) scale(1, -1) translate(-11.500000, -5.000000) ",points:"2.84078316e-14 3 18 3 23 7 5 7"},null,8,_hoisted_15),createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-5")})`,points:"-3.69149156e-15 7 38 7 38 43 -3.69149156e-15 43"},null,8,_hoisted_16),createBaseVNode("rect",{fill:`url(#linearGradient-1-${unref(r)})`,transform:"translate(46.500000, 25.000000) scale(-1, 1) translate(-46.500000, -25.000000) ",x:"38",y:"7",width:"17",height:"36"},null,8,_hoisted_17),createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-2")})`,transform:"translate(39.500000, 3.500000) scale(-1, 1) translate(-39.500000, -3.500000) ",points:"24 7 41 7 55 -3.63806207e-12 38 -3.63806207e-12"},null,8,_hoisted_18)]),createBaseVNode("rect",{fill:`url(#linearGradient-2-${unref(r)})`,x:"13",y:"45",width:"40",height:"36"},null,8,_hoisted_19),createBaseVNode("g",_hoisted_20,[createBaseVNode("use",{fill:`var(${unref(t).cssVarBlockName("fill-color-8")})`,transform:"translate(8.500000, 18.000000) scale(-1, 1) translate(-8.500000, -18.000000) ","xlink:href":`#path-3-${unref(r)}`},null,8,_hoisted_21),createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-9")})`,mask:`url(#mask-4-${unref(r)})`,transform:"translate(12.000000, 9.000000) scale(-1, 1) translate(-12.000000, -9.000000) ",points:"7 0 24 0 20 18 7 16.5"},null,8,_hoisted_22)]),createBaseVNode("polygon",{fill:`var(${unref(t).cssVarBlockName("fill-color-2")})`,transform:"translate(66.000000, 51.500000) scale(-1, 1) translate(-66.000000, -51.500000) ",points:"62 45 79 45 70 58 53 58"},null,8,_hoisted_23)])])])]))}});var ImgEmpty=_export_sfc(_sfc_main$1D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/img-empty.vue"]]);const emptyProps=buildProps({image:{type:String,default:""},imageSize:Number,description:{type:String,default:""}}),_hoisted_1$_=["src"],_hoisted_2$F={key:1},_sfc_main$1C=defineComponent({name:"ElEmpty",__name:"empty",props:emptyProps,setup(n){const t=n,{t:r}=useLocale(),i=useNamespace("empty"),g=computed(()=>t.description||r("el.table.emptyText")),$=computed(()=>({width:addUnit(t.imageSize)}));return(V,re)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(i).b())},[createBaseVNode("div",{class:normalizeClass(unref(i).e("image")),style:normalizeStyle$1($.value)},[V.image?(openBlock(),createElementBlock("img",{key:0,src:V.image,ondragstart:"return false"},null,8,_hoisted_1$_)):renderSlot(V.$slots,"image",{key:1},()=>[createVNode$1(ImgEmpty)])],6),createBaseVNode("div",{class:normalizeClass(unref(i).e("description"))},[V.$slots.description?renderSlot(V.$slots,"description",{key:0}):(openBlock(),createElementBlock("p",_hoisted_2$F,toDisplayString(g.value),1))],2),V.$slots.default?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).e("bottom"))},[renderSlot(V.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var Empty$1=_export_sfc(_sfc_main$1C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/empty/src/empty.vue"]]);const ElEmpty=withInstall(Empty$1),formMetaProps=buildProps({size:{type:String,values:componentSizes},disabled:Boolean}),formProps=buildProps({...formMetaProps,model:Object,rules:{type:definePropType(Object)},labelPosition:{type:String,values:["left","right","top"],default:"right"},requireAsteriskPosition:{type:String,values:["left","right"],default:"left"},labelWidth:{type:[String,Number],default:""},labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:Boolean,scrollToError:Boolean,scrollIntoViewOptions:{type:definePropType([Object,Boolean]),default:!0}}),formEmits={validate:(n,t,r)=>(isArray$5(n)||isString$2(n))&&isBoolean$1(t)&&isString$2(r)};function useFormLabelWidth(){const n=ref([]),t=computed(()=>{if(!n.value.length)return"0";const $=Math.max(...n.value);return $?`${$}px`:""});function r($){const V=n.value.indexOf($);return V===-1&&t.value,V}function i($,V){if($&&V){const re=r(V);n.value.splice(re,1,$)}else $&&n.value.push($)}function g($){const V=r($);V>-1&&n.value.splice(V,1)}return{autoLabelWidth:t,registerLabelWidth:i,deregisterLabelWidth:g}}const filterFields=(n,t)=>{const r=castArray$1(t).map(i=>isArray$5(i)?i.join("."):i);return r.length>0?n.filter(i=>i.propString&&r.includes(i.propString)):n},COMPONENT_NAME$d="ElForm",_sfc_main$1B=defineComponent({name:COMPONENT_NAME$d,__name:"form",props:formProps,emits:formEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=ref(),V=reactive([]),re=useFormSize(),ie=useNamespace("form"),ae=computed(()=>{const{labelPosition:$e,inline:Ve}=i;return[ie.b(),ie.m(re.value||"default"),{[ie.m(`label-${$e}`)]:$e,[ie.m("inline")]:Ve}]}),oe=$e=>filterFields(V,[$e])[0],le=$e=>{V.push($e)},ue=$e=>{$e.prop&&V.splice(V.indexOf($e),1)},de=$e=>{i.model&&$e&&V.forEach(Ve=>{if(Ve.prop&&has($e,Ve.prop)){const Ue=getProp($e,Ve.prop).value;Ve.setInitialValue(Ue)}})},he=($e=[])=>{i.model&&filterFields(V,$e).forEach(Ve=>Ve.resetField())},pe=($e=[])=>{filterFields(V,$e).forEach(Ve=>Ve.clearValidate())},_e=computed(()=>!!i.model),Ce=$e=>{if(V.length===0)return[];const Ve=filterFields(V,$e);return Ve.length?Ve:[]},xe=async $e=>Ne(void 0,$e),Ie=async($e=[])=>{if(!_e.value)return!1;const Ve=Ce($e);if(Ve.length===0)return!0;let Ue={};for(const Fe of Ve)try{await Fe.validate(""),Fe.validateState==="error"&&!Fe.error&&Fe.resetField()}catch(ze){Ue={...Ue,...ze}}return Object.keys(Ue).length===0?!0:Promise.reject(Ue)},Ne=async($e=[],Ve)=>{let Ue=!1;const Fe=!isFunction$4(Ve);try{return Ue=await Ie($e),Ue===!0&&await(Ve==null?void 0:Ve(Ue)),Ue}catch(ze){if(ze instanceof Error)throw ze;const Pt=ze;if(i.scrollToError&&$.value){const qe=$.value.querySelector(`.${ie.b()}-item.is-error`);qe==null||qe.scrollIntoView(i.scrollIntoViewOptions)}return!Ue&&await(Ve==null?void 0:Ve(!1,Pt)),Fe&&Promise.reject(Pt)}},Oe=$e=>{var Ve;const Ue=oe($e);Ue&&((Ve=Ue.$el)==null||Ve.scrollIntoView(i.scrollIntoViewOptions))};return watch(()=>i.rules,()=>{i.validateOnRuleChange&&xe().catch($e=>void 0)},{deep:!0,flush:"post"}),provide(formContextKey,reactive({...toRefs(i),emit:g,resetFields:he,clearValidate:pe,validateField:Ne,getField:oe,addField:le,removeField:ue,setInitialValues:de,...useFormLabelWidth()})),t({validate:xe,validateField:Ne,resetFields:he,clearValidate:pe,scrollToField:Oe,getField:oe,fields:V,setInitialValues:de}),($e,Ve)=>(openBlock(),createElementBlock("form",{ref_key:"formRef",ref:$,class:normalizeClass(ae.value)},[renderSlot($e.$slots,"default")],2))}});var Form=_export_sfc(_sfc_main$1B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form.vue"]]);function _extends(){return _extends=Object.assign?Object.assign.bind():function(n){for(var t=1;t"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function _construct(n,t,r){return _isNativeReflectConstruct()?_construct=Reflect.construct.bind():_construct=function(g,$,V){var re=[null];re.push.apply(re,$);var ie=Function.bind.apply(g,re),ae=new ie;return V&&_setPrototypeOf(ae,V.prototype),ae},_construct.apply(null,arguments)}function _isNativeFunction(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function _wrapNativeSuper(n){var t=typeof Map=="function"?new Map:void 0;return _wrapNativeSuper=function(i){if(i===null||!_isNativeFunction(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(i))return t.get(i);t.set(i,g)}function g(){return _construct(i,arguments,_getPrototypeOf(this).constructor)}return g.prototype=Object.create(i.prototype,{constructor:{value:g,enumerable:!1,writable:!0,configurable:!0}}),_setPrototypeOf(g,i)},_wrapNativeSuper(n)}var formatRegExp=/%[sdj%]/g,warning=function(){};typeof process<"u"&&process.env;function convertFieldsError(n){if(!n||!n.length)return null;var t={};return n.forEach(function(r){var i=r.field;t[i]=t[i]||[],t[i].push(r)}),t}function format$1(n){for(var t=arguments.length,r=new Array(t>1?t-1:0),i=1;i=$)return re;switch(re){case"%s":return String(r[g++]);case"%d":return Number(r[g++]);case"%j":try{return JSON.stringify(r[g++])}catch{return"[Circular]"}break;default:return re}});return V}return n}function isNativeStringType(n){return n==="string"||n==="url"||n==="hex"||n==="email"||n==="date"||n==="pattern"}function isEmptyValue(n,t){return!!(n==null||t==="array"&&Array.isArray(n)&&!n.length||isNativeStringType(t)&&typeof n=="string"&&!n)}function asyncParallelArray(n,t,r){var i=[],g=0,$=n.length;function V(re){i.push.apply(i,re||[]),g++,g===$&&r(i)}n.forEach(function(re){t(re,V)})}function asyncSerialArray(n,t,r){var i=0,g=n.length;function $(V){if(V&&V.length){r(V);return}var re=i;i=i+1,re()\[\]\\.,;:\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},types={integer:function(t){return types.number(t)&&parseInt(t,10)===t},float:function(t){return types.number(t)&&!types.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch{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"&&!types.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&t.length<=320&&!!t.match(pattern$2.email)},url:function(t){return typeof t=="string"&&t.length<=2048&&!!t.match(getUrlRegex())},hex:function(t){return typeof t=="string"&&!!t.match(pattern$2.hex)}},type$1=function(t,r,i,g,$){if(t.required&&r===void 0){required$1(t,r,i,g,$);return}var V=["integer","float","array","regexp","object","method","email","number","date","url","hex"],re=t.type;V.indexOf(re)>-1?types[re](r)||g.push(format$1($.messages.types[re],t.fullField,t.type)):re&&typeof r!==t.type&&g.push(format$1($.messages.types[re],t.fullField,t.type))},range=function(t,r,i,g,$){var V=typeof t.len=="number",re=typeof t.min=="number",ie=typeof t.max=="number",ae=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,oe=r,le=null,ue=typeof r=="number",de=typeof r=="string",he=Array.isArray(r);if(ue?le="number":de?le="string":he&&(le="array"),!le)return!1;he&&(oe=r.length),de&&(oe=r.replace(ae,"_").length),V?oe!==t.len&&g.push(format$1($.messages[le].len,t.fullField,t.len)):re&&!ie&&oet.max?g.push(format$1($.messages[le].max,t.fullField,t.max)):re&&ie&&(oet.max)&&g.push(format$1($.messages[le].range,t.fullField,t.min,t.max))},ENUM$1="enum",enumerable$1=function(t,r,i,g,$){t[ENUM$1]=Array.isArray(t[ENUM$1])?t[ENUM$1]:[],t[ENUM$1].indexOf(r)===-1&&g.push(format$1($.messages[ENUM$1],t.fullField,t[ENUM$1].join(", ")))},pattern$1=function(t,r,i,g,$){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(r)||g.push(format$1($.messages.pattern.mismatch,t.fullField,r,t.pattern));else if(typeof t.pattern=="string"){var V=new RegExp(t.pattern);V.test(r)||g.push(format$1($.messages.pattern.mismatch,t.fullField,r,t.pattern))}}},rules={required:required$1,whitespace,type:type$1,range,enum:enumerable$1,pattern:pattern$1},string=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r,"string")&&!t.required)return i();rules.required(t,r,g,V,$,"string"),isEmptyValue(r,"string")||(rules.type(t,r,g,V,$),rules.range(t,r,g,V,$),rules.pattern(t,r,g,V,$),t.whitespace===!0&&rules.whitespace(t,r,g,V,$))}i(V)},method=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r)&&!t.required)return i();rules.required(t,r,g,V,$),r!==void 0&&rules.type(t,r,g,V,$)}i(V)},number=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(r===""&&(r=void 0),isEmptyValue(r)&&!t.required)return i();rules.required(t,r,g,V,$),r!==void 0&&(rules.type(t,r,g,V,$),rules.range(t,r,g,V,$))}i(V)},_boolean=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r)&&!t.required)return i();rules.required(t,r,g,V,$),r!==void 0&&rules.type(t,r,g,V,$)}i(V)},regexp$1=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r)&&!t.required)return i();rules.required(t,r,g,V,$),isEmptyValue(r)||rules.type(t,r,g,V,$)}i(V)},integer=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r)&&!t.required)return i();rules.required(t,r,g,V,$),r!==void 0&&(rules.type(t,r,g,V,$),rules.range(t,r,g,V,$))}i(V)},floatFn=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r)&&!t.required)return i();rules.required(t,r,g,V,$),r!==void 0&&(rules.type(t,r,g,V,$),rules.range(t,r,g,V,$))}i(V)},array=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(r==null&&!t.required)return i();rules.required(t,r,g,V,$,"array"),r!=null&&(rules.type(t,r,g,V,$),rules.range(t,r,g,V,$))}i(V)},object=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r)&&!t.required)return i();rules.required(t,r,g,V,$),r!==void 0&&rules.type(t,r,g,V,$)}i(V)},ENUM="enum",enumerable=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r)&&!t.required)return i();rules.required(t,r,g,V,$),r!==void 0&&rules[ENUM](t,r,g,V,$)}i(V)},pattern=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r,"string")&&!t.required)return i();rules.required(t,r,g,V,$),isEmptyValue(r,"string")||rules.pattern(t,r,g,V,$)}i(V)},date=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r,"date")&&!t.required)return i();if(rules.required(t,r,g,V,$),!isEmptyValue(r,"date")){var ie;r instanceof Date?ie=r:ie=new Date(r),rules.type(t,ie,g,V,$),ie&&rules.range(t,ie.getTime(),g,V,$)}}i(V)},required=function(t,r,i,g,$){var V=[],re=Array.isArray(r)?"array":typeof r;rules.required(t,r,g,V,$,re),i(V)},type=function(t,r,i,g,$){var V=t.type,re=[],ie=t.required||!t.required&&g.hasOwnProperty(t.field);if(ie){if(isEmptyValue(r,V)&&!t.required)return i();rules.required(t,r,g,re,$,V),isEmptyValue(r,V)||rules.type(t,r,g,re,$)}i(re)},any=function(t,r,i,g,$){var V=[],re=t.required||!t.required&&g.hasOwnProperty(t.field);if(re){if(isEmptyValue(r)&&!t.required)return i();rules.required(t,r,g,V,$)}i(V)},validators$2={string,method,number,boolean:_boolean,regexp:regexp$1,integer,float:floatFn,array,object,enum:enumerable,pattern,date,url:type,hex:type,email:type,required,any};function newMessages(){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 messages=newMessages(),Schema=function(){function n(r){this.rules=null,this._messages=messages,this.define(r)}var t=n.prototype;return t.define=function(i){var g=this;if(!i)throw new Error("Cannot configure a schema with no rules");if(typeof i!="object"||Array.isArray(i))throw new Error("Rules must be an object");this.rules={},Object.keys(i).forEach(function($){var V=i[$];g.rules[$]=Array.isArray(V)?V:[V]})},t.messages=function(i){return i&&(this._messages=deepMerge(newMessages(),i)),this._messages},t.validate=function(i,g,$){var V=this;g===void 0&&(g={}),$===void 0&&($=function(){});var re=i,ie=g,ae=$;if(typeof ie=="function"&&(ae=ie,ie={}),!this.rules||Object.keys(this.rules).length===0)return ae&&ae(null,re),Promise.resolve(re);function oe(pe){var _e=[],Ce={};function xe(Ne){if(Array.isArray(Ne)){var Oe;_e=(Oe=_e).concat.apply(Oe,Ne)}else _e.push(Ne)}for(var Ie=0;Ie");const g=useNamespace("form"),$=ref(),V=ref(0),re=()=>{var oe;if((oe=$.value)!=null&&oe.firstElementChild){const le=window.getComputedStyle($.value.firstElementChild).width;return Math.ceil(Number.parseFloat(le))}else return 0},ie=(oe="update")=>{nextTick(()=>{t.default&&n.isAutoWidth&&(oe==="update"?V.value=re():oe==="remove"&&(r==null||r.deregisterLabelWidth(V.value)))})},ae=()=>ie("update");return onMounted(()=>{ae()}),onBeforeUnmount(()=>{ie("remove")}),onUpdated(()=>ae()),watch(V,(oe,le)=>{n.updateAll&&(r==null||r.registerLabelWidth(oe,le))}),useResizeObserver(computed(()=>{var oe,le;return(le=(oe=$.value)==null?void 0:oe.firstElementChild)!=null?le:null}),ae),()=>{var oe,le;if(!t)return null;const{isAutoWidth:ue}=n;if(ue){const de=r==null?void 0:r.autoLabelWidth,he=i==null?void 0:i.hasLabel,pe={};if(he&&de&&de!=="auto"){const _e=Math.max(0,Number.parseInt(de,10)-V.value),xe=(i.labelPosition||r.labelPosition)==="left"?"marginRight":"marginLeft";_e&&(pe[xe]=`${_e}px`)}return createVNode$1("div",{ref:$,class:[g.be("item","label-wrap")],style:pe},[(oe=t.default)==null?void 0:oe.call(t)])}else return createVNode$1(Fragment,{ref:$},[(le=t.default)==null?void 0:le.call(t)])}}});const _hoisted_1$Z=["role","aria-labelledby"],_sfc_main$1A=defineComponent({name:"ElFormItem",__name:"form-item",props:formItemProps,setup(n,{expose:t}){const r=n,i=useSlots(),g=inject(formContextKey,void 0),$=inject(formItemContextKey,void 0),V=useFormSize(void 0,{formItem:!1}),re=useNamespace("form-item"),ie=useId().value,ae=ref([]),oe=ref(""),le=refDebounced(oe,100),ue=ref(""),de=ref();let he,pe=!1;const _e=computed(()=>r.labelPosition||(g==null?void 0:g.labelPosition)),Ce=computed(()=>{var $n;return _e.value==="top"?{}:{width:addUnit(($n=r.labelWidth)!=null?$n:g==null?void 0:g.labelWidth)}}),xe=computed(()=>{var $n;if(_e.value==="top"||g!=null&&g.inline)return{};if(!r.label&&!r.labelWidth&&ze)return{};const An=addUnit(($n=r.labelWidth)!=null?$n:g==null?void 0:g.labelWidth);return!r.label&&!i.label?{marginLeft:An}:{}}),Ie=computed(()=>[re.b(),re.m(V.value),re.is("error",oe.value==="error"),re.is("validating",oe.value==="validating"),re.is("success",oe.value==="success"),re.is("required",At.value||r.required),re.is("no-asterisk",g==null?void 0:g.hideRequiredAsterisk),(g==null?void 0:g.requireAsteriskPosition)==="right"?"asterisk-right":"asterisk-left",{[re.m("feedback")]:g==null?void 0:g.statusIcon,[re.m(`label-${_e.value}`)]:_e.value}]),Ne=computed(()=>isBoolean$1(r.inlineMessage)?r.inlineMessage:(g==null?void 0:g.inlineMessage)||!1),Oe=computed(()=>[re.e("error"),{[re.em("error","inline")]:Ne.value}]),$e=computed(()=>r.prop?isArray$5(r.prop)?r.prop.join("."):r.prop:""),Ve=computed(()=>!!(r.label||i.label)),Ue=computed(()=>{var $n;return($n=r.for)!=null?$n:ae.value.length===1?ae.value[0]:void 0}),Fe=computed(()=>!Ue.value&&Ve.value),ze=!!$,Pt=computed(()=>{const $n=g==null?void 0:g.model;if(!(!$n||!r.prop))return getProp($n,r.prop).value}),qe=computed(()=>{const{required:$n}=r,An=[];r.rules&&An.push(...castArray$1(r.rules));const xn=g==null?void 0:g.rules;if(xn&&r.prop){const Ln=getProp(xn,r.prop).value;Ln&&An.push(...castArray$1(Ln))}if($n!==void 0){const Ln=An.map((Nn,Pn)=>[Nn,Pn]).filter(([Nn])=>"required"in Nn);if(Ln.length>0)for(const[Nn,Pn]of Ln)Nn.required!==$n&&(An[Pn]={...Nn,required:$n});else An.push({required:$n})}return An}),Et=computed(()=>qe.value.length>0),kt=$n=>qe.value.filter(xn=>!xn.trigger||!$n?!0:isArray$5(xn.trigger)?xn.trigger.includes($n):xn.trigger===$n).map(({trigger:xn,...Ln})=>Ln),At=computed(()=>qe.value.some($n=>$n.required)),Dt=computed(()=>{var $n;return le.value==="error"&&r.showMessage&&(($n=g==null?void 0:g.showMessage)!=null?$n:!0)}),Lt=computed(()=>`${r.label||""}${(g==null?void 0:g.labelSuffix)||""}`),jt=$n=>{oe.value=$n},hn=$n=>{var An,xn;const{errors:Ln,fields:Nn}=$n;(!Ln||!Nn)&&console.error($n),jt("error"),ue.value=Ln?(xn=(An=Ln==null?void 0:Ln[0])==null?void 0:An.message)!=null?xn:`${r.prop} is required`:"",g==null||g.emit("validate",r.prop,!1,ue.value)},vn=()=>{jt("success"),g==null||g.emit("validate",r.prop,!0,"")},_n=async $n=>{const An=$e.value;return new Schema({[An]:$n}).validate({[An]:Pt.value},{firstFields:!0}).then(()=>(vn(),!0)).catch(Ln=>(hn(Ln),Promise.reject(Ln)))},wn=async($n,An)=>{if(pe||!r.prop)return!1;const xn=isFunction$4(An);if(!Et.value)return An==null||An(!1),!1;const Ln=kt($n);return Ln.length===0?(An==null||An(!0),!0):(jt("validating"),_n(Ln).then(()=>(An==null||An(!0),!0)).catch(Nn=>{const{fields:Pn}=Nn;return An==null||An(!1,Pn),xn?!1:Promise.reject(Pn)}))},bn=()=>{jt(""),ue.value="",pe=!1},Cn=async()=>{const $n=g==null?void 0:g.model;if(!$n||!r.prop)return;const An=getProp($n,r.prop);pe=!0,An.value=clone$3(he),await nextTick(),bn(),pe=!1},Sn=$n=>{ae.value.includes($n)||ae.value.push($n)},Tn=$n=>{ae.value=ae.value.filter(An=>An!==$n)},En=$n=>{he=clone$3($n)};watch(()=>r.error,$n=>{ue.value=$n||"",jt($n?"error":"")},{immediate:!0}),watch(()=>r.validateStatus,$n=>jt($n||""));const kn=reactive({...toRefs(r),$el:de,size:V,validateMessage:ue,validateState:oe,labelId:ie,inputIds:ae,isGroup:Fe,hasLabel:Ve,fieldValue:Pt,addInputId:Sn,removeInputId:Tn,resetField:Cn,clearValidate:bn,validate:wn,propString:$e,setInitialValue:En});return provide(formItemContextKey,kn),onMounted(()=>{r.prop&&(g==null||g.addField(kn),he=clone$3(Pt.value))}),onBeforeUnmount(()=>{g==null||g.removeField(kn)}),t({size:V,validateMessage:ue,validateState:oe,validate:wn,clearValidate:bn,resetField:Cn,setInitialValue:En}),($n,An)=>{var xn;return openBlock(),createElementBlock("div",{ref_key:"formItemRef",ref:de,class:normalizeClass(Ie.value),role:Fe.value?"group":void 0,"aria-labelledby":Fe.value?unref(ie):void 0},[createVNode$1(unref(FormLabelWrap),{"is-auto-width":Ce.value.width==="auto","update-all":((xn=unref(g))==null?void 0:xn.labelWidth)==="auto"},{default:withCtx(()=>[$n.label||$n.$slots.label?(openBlock(),createBlock(resolveDynamicComponent(Ue.value?"label":"div"),{key:0,id:unref(ie),for:Ue.value,class:normalizeClass(unref(re).e("label")),style:normalizeStyle$1(Ce.value)},{default:withCtx(()=>[renderSlot($n.$slots,"label",{label:Lt.value},()=>[createTextVNode(toDisplayString(Lt.value),1)])]),_:3},8,["id","for","class","style"])):createCommentVNode("v-if",!0)]),_:3},8,["is-auto-width","update-all"]),createBaseVNode("div",{class:normalizeClass(unref(re).e("content")),style:normalizeStyle$1(xe.value)},[renderSlot($n.$slots,"default"),createVNode$1(TransitionGroup,{name:`${unref(re).namespace.value}-zoom-in-top`},{default:withCtx(()=>[Dt.value?renderSlot($n.$slots,"error",{key:0,error:ue.value},()=>[createBaseVNode("div",{class:normalizeClass(Oe.value)},toDisplayString(ue.value),3)]):createCommentVNode("v-if",!0)]),_:3},8,["name"])],6)],10,_hoisted_1$Z)}}});var FormItem=_export_sfc(_sfc_main$1A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/form/src/form-item.vue"]]);const ElForm=withInstall(Form,{FormItem}),ElFormItem=withNoopInstall(FormItem),imageViewerProps=buildProps({urlList:{type:definePropType(Array),default:()=>mutable([])},zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},hideOnClickModal:Boolean,teleported:Boolean,closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:definePropType(String)}}),imageViewerEmits={close:()=>!0,error:n=>n instanceof Event,switch:n=>isNumber$2(n),rotate:n=>isNumber$2(n)},_hoisted_1$Y=["src","crossorigin"],_sfc_main$1z=defineComponent({name:"ElImageViewer",__name:"image-viewer",props:imageViewerProps,emits:imageViewerEmits,setup(n,{expose:t,emit:r}){var i;const g={CONTAIN:{name:"contain",icon:markRaw(full_screen_default)},ORIGINAL:{name:"original",icon:markRaw(scale_to_original_default)}},$=n,V=r;let re;const{t:ie}=useLocale(),ae=useNamespace("image-viewer"),{nextZIndex:oe}=useZIndex(),le=ref(),ue=ref(),de=effectScope(),he=computed(()=>{const{scale:An,minScale:xn,maxScale:Ln}=$;return clamp$4(An,xn,Ln)}),pe=ref(!0),_e=ref(!1),Ce=ref(!1),xe=ref($.initialIndex),Ie=shallowRef(g.CONTAIN),Ne=ref({scale:he.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}),Oe=ref((i=$.zIndex)!=null?i:oe());useLockscreen(Ce,{ns:ae});const $e=computed(()=>{const{urlList:An}=$;return An.length<=1}),Ve=computed(()=>xe.value===0),Ue=computed(()=>xe.value===$.urlList.length-1),Fe=computed(()=>$.urlList[xe.value]),ze=computed(()=>[ae.e("btn"),ae.e("prev"),ae.is("disabled",!$.infinite&&Ve.value)]),Pt=computed(()=>[ae.e("btn"),ae.e("next"),ae.is("disabled",!$.infinite&&Ue.value)]),qe=computed(()=>{const{scale:An,deg:xn,offsetX:Ln,offsetY:Nn,enableTransition:Pn}=Ne.value;let On=Ln/An,Hn=Nn/An;const Xn=xn*Math.PI/180,In=Math.cos(Xn),or=Math.sin(Xn);On=On*In+Hn*or,Hn=Hn*In-Ln/An*or;const Qn={transform:`scale(${An}) rotate(${xn}deg) translate(${On}px, ${Hn}px)`,transition:Pn?"transform .3s":""};return Ie.value.name===g.CONTAIN.name&&(Qn.maxWidth=Qn.maxHeight="100%"),Qn}),Et=computed(()=>`${xe.value+1} / ${$.urlList.length}`);function kt(){Dt(),re==null||re(),Ce.value=!1,V("close")}function At(){const An=throttle$3(Ln=>{switch(getEventCode(Ln)){case EVENT_CODE.esc:$.closeOnPressEscape&&kt();break;case EVENT_CODE.space:wn();break;case EVENT_CODE.left:Cn();break;case EVENT_CODE.up:Tn("zoomIn");break;case EVENT_CODE.right:Sn();break;case EVENT_CODE.down:Tn("zoomOut");break}}),xn=throttle$3(Ln=>{const Nn=Ln.deltaY||Ln.deltaX;Tn(Nn<0?"zoomIn":"zoomOut",{zoomRate:$.zoomRate,enableTransition:!1})});de.run(()=>{useEventListener(document,"keydown",An),useEventListener(le,"wheel",xn)})}function Dt(){de.stop()}function Lt(){pe.value=!1}function jt(An){_e.value=!0,pe.value=!1,V("error",An),An.target.alt=ie("el.image.error")}function hn(An){if(pe.value||An.button!==0||!le.value)return;Ne.value.enableTransition=!1;const{offsetX:xn,offsetY:Ln}=Ne.value,Nn=An.pageX,Pn=An.pageY,On=throttle$3(In=>{Ne.value={...Ne.value,offsetX:xn+In.pageX-Nn,offsetY:Ln+In.pageY-Pn}}),Hn=useEventListener(document,"mousemove",On),Xn=useEventListener(document,"mouseup",()=>{Hn(),Xn()});An.preventDefault()}function vn(An){if(pe.value||!le.value||An.touches.length!==1)return;Ne.value.enableTransition=!1;const{offsetX:xn,offsetY:Ln}=Ne.value,{pageX:Nn,pageY:Pn}=An.touches[0],On=throttle$3(In=>{const or=In.touches[0];Ne.value={...Ne.value,offsetX:xn+or.pageX-Nn,offsetY:Ln+or.pageY-Pn}}),Hn=useEventListener(document,"touchmove",On),Xn=useEventListener(document,"touchend",()=>{Hn(),Xn()});An.preventDefault()}function _n(){Ne.value={scale:he.value,deg:0,offsetX:0,offsetY:0,enableTransition:!1}}function wn(){if(pe.value||_e.value)return;const An=keysOf(g),xn=Object.values(g),Ln=Ie.value.name,Pn=(xn.findIndex(On=>On.name===Ln)+1)%An.length;Ie.value=g[An[Pn]],_n()}function bn(An){_e.value=!1;const xn=$.urlList.length;xe.value=(An+xn)%xn}function Cn(){Ve.value&&!$.infinite||bn(xe.value-1)}function Sn(){Ue.value&&!$.infinite||bn(xe.value+1)}function Tn(An,xn={}){if(pe.value||_e.value)return;const{minScale:Ln,maxScale:Nn}=$,{zoomRate:Pn,rotateDeg:On,enableTransition:Hn}={zoomRate:$.zoomRate,rotateDeg:90,enableTransition:!0,...xn};switch(An){case"zoomOut":Ne.value.scale>Ln&&(Ne.value.scale=Number.parseFloat((Ne.value.scale/Pn).toFixed(3)));break;case"zoomIn":Ne.value.scale0)return An.preventDefault(),!1}}return watch(()=>he.value,An=>{Ne.value.scale=An}),watch(Fe,()=>{nextTick(()=>{const An=ue.value;An!=null&&An.complete||(pe.value=!0)})}),watch(xe,An=>{_n(),V("switch",An)}),onMounted(()=>{Ce.value=!0,At(),re=useEventListener("wheel",$n,{passive:!1})}),t({setActiveItem:bn}),(An,xn)=>(openBlock(),createBlock(unref(ElTeleport),{to:"body",disabled:!An.teleported},{default:withCtx(()=>[createVNode$1(Transition,{name:"viewer-fade",appear:""},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"wrapper",ref:le,tabindex:-1,class:normalizeClass(unref(ae).e("wrapper")),style:normalizeStyle$1({zIndex:Oe.value})},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:"","focus-trap-el":le.value,"focus-start-el":"container",onFocusoutPrevented:En,onReleaseRequested:kn},{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(ae).e("mask")),onClick:xn[0]||(xn[0]=withModifiers(Ln=>An.hideOnClickModal&&kt(),["self"]))},null,2),createCommentVNode(" CLOSE "),createBaseVNode("span",{class:normalizeClass([unref(ae).e("btn"),unref(ae).e("close")]),onClick:kt},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1})],2),createCommentVNode(" ARROW "),$e.value?createCommentVNode("v-if",!0):(openBlock(),createElementBlock(Fragment,{key:0},[createBaseVNode("span",{class:normalizeClass(ze.value),onClick:Cn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1})],2),createBaseVNode("span",{class:normalizeClass(Pt.value),onClick:Sn},[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})],2)],64)),An.$slots.progress||An.showProgress?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(ae).e("btn"),unref(ae).e("progress")])},[renderSlot(An.$slots,"progress",{activeIndex:xe.value,total:An.urlList.length},()=>[createTextVNode(toDisplayString(Et.value),1)])],2)):createCommentVNode("v-if",!0),createCommentVNode(" ACTIONS "),createBaseVNode("div",{class:normalizeClass([unref(ae).e("btn"),unref(ae).e("actions")])},[createBaseVNode("div",{class:normalizeClass(unref(ae).e("actions__inner"))},[renderSlot(An.$slots,"toolbar",{actions:Tn,prev:Cn,next:Sn,reset:wn,activeIndex:xe.value,setActiveItem:bn},()=>[createVNode$1(unref(ElIcon),{onClick:xn[1]||(xn[1]=Ln=>Tn("zoomOut"))},{default:withCtx(()=>[createVNode$1(unref(zoom_out_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:xn[2]||(xn[2]=Ln=>Tn("zoomIn"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(ae).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:wn},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ie.value.icon)))]),_:1}),createBaseVNode("i",{class:normalizeClass(unref(ae).e("actions__divider"))},null,2),createVNode$1(unref(ElIcon),{onClick:xn[3]||(xn[3]=Ln=>Tn("anticlockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_left_default))]),_:1}),createVNode$1(unref(ElIcon),{onClick:xn[4]||(xn[4]=Ln=>Tn("clockwise"))},{default:withCtx(()=>[createVNode$1(unref(refresh_right_default))]),_:1})])],2)],2),createCommentVNode(" CANVAS "),createBaseVNode("div",{class:normalizeClass(unref(ae).e("canvas"))},[_e.value&&An.$slots["viewer-error"]?renderSlot(An.$slots,"viewer-error",{key:0,activeIndex:xe.value,src:Fe.value}):(openBlock(),createElementBlock("img",{ref_key:"imgRef",ref:ue,key:Fe.value,src:Fe.value,style:normalizeStyle$1(qe.value),class:normalizeClass(unref(ae).e("img")),crossorigin:An.crossorigin,onLoad:Lt,onError:jt,onMousedown:hn,onTouchstart:vn},null,46,_hoisted_1$Y))],2),renderSlot(An.$slots,"default")]),_:3},8,["focus-trap-el"])],6)]),_:3})]),_:3},8,["disabled"]))}});var ImageViewer=_export_sfc(_sfc_main$1z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image-viewer/src/image-viewer.vue"]]);const ElImageViewer=withInstall(ImageViewer),imageProps=buildProps({hideOnClickModal:Boolean,src:{type:String,default:""},fit:{type:String,values:["","contain","cover","fill","none","scale-down"],default:""},loading:{type:String,values:["eager","lazy"]},lazy:Boolean,scrollContainer:{type:definePropType([String,Object])},previewSrcList:{type:definePropType(Array),default:()=>mutable([])},previewTeleported:Boolean,zIndex:{type:Number},initialIndex:{type:Number,default:0},infinite:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},zoomRate:{type:Number,default:1.2},scale:{type:Number,default:1},minScale:{type:Number,default:.2},maxScale:{type:Number,default:7},showProgress:Boolean,crossorigin:{type:definePropType(String)}}),imageEmits={load:n=>n instanceof Event,error:n=>n instanceof Event,switch:n=>isNumber$2(n),close:()=>!0,show:()=>!0},_hoisted_1$X=["src","loading","crossorigin"],_hoisted_2$E={key:0},_sfc_main$1y=defineComponent({name:"ElImage",inheritAttrs:!1,__name:"image",props:imageProps,emits:imageEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,{t:$}=useLocale(),V=useNamespace("image"),re=useAttrs$1(),ie=computed(()=>fromPairs(Object.entries(re).filter(([Lt])=>/^(data-|on[A-Z])/i.test(Lt)||["id","style"].includes(Lt)))),ae=useAttrs({excludeListeners:!0,excludeKeys:computed(()=>Object.keys(ie.value))}),oe=ref(),le=ref(!1),ue=ref(!0),de=ref(!1),he=ref(),pe=ref(),_e=isClient&&"loading"in HTMLImageElement.prototype;let Ce;const xe=computed(()=>[V.e("inner"),Ne.value&&V.e("preview"),ue.value&&V.is("loading")]),Ie=computed(()=>{const{fit:Lt}=i;return isClient&&Lt?{objectFit:Lt}:{}}),Ne=computed(()=>{const{previewSrcList:Lt}=i;return isArray$5(Lt)&&Lt.length>0}),Oe=computed(()=>{const{previewSrcList:Lt,initialIndex:jt}=i;let hn=jt;return jt>Lt.length-1&&(hn=0),hn}),$e=computed(()=>i.loading==="eager"?!1:!_e&&i.loading==="lazy"||i.lazy),Ve=()=>{isClient&&(ue.value=!0,le.value=!1,oe.value=i.src)};function Ue(Lt){ue.value=!1,le.value=!1,g("load",Lt)}function Fe(Lt){ue.value=!1,le.value=!0,g("error",Lt)}function ze(Lt){Lt&&(Ve(),Et())}const Pt=useThrottleFn(ze,200,!0);async function qe(){var Lt;if(!isClient)return;await nextTick();const{scrollContainer:jt}=i;if(isElement$1(jt))pe.value=jt;else if(isString$2(jt)&&jt!=="")pe.value=(Lt=document.querySelector(jt))!=null?Lt:void 0;else if(he.value){const vn=getScrollContainer(he.value);pe.value=isWindow(vn)?void 0:vn}const{stop:hn}=useIntersectionObserver(he,([vn])=>{Pt(vn.isIntersecting)},{root:pe});Ce=hn}function Et(){!isClient||!Pt||(Ce==null||Ce(),pe.value=void 0,Ce=void 0)}function kt(){Ne.value&&(de.value=!0,g("show"))}function At(){de.value=!1,g("close")}function Dt(Lt){g("switch",Lt)}return watch(()=>i.src,()=>{$e.value?(ue.value=!0,le.value=!1,Et(),qe()):Ve()}),onMounted(()=>{$e.value?qe():Ve()}),t({showPreview:kt}),(Lt,jt)=>(openBlock(),createElementBlock("div",mergeProps({ref_key:"container",ref:he},ie.value,{class:[unref(V).b(),Lt.$attrs.class]}),[le.value?renderSlot(Lt.$slots,"error",{key:0},()=>[createBaseVNode("div",{class:normalizeClass(unref(V).e("error"))},toDisplayString(unref($)("el.image.error")),3)]):(openBlock(),createElementBlock(Fragment,{key:1},[oe.value!==void 0?(openBlock(),createElementBlock("img",mergeProps({key:0},unref(ae),{src:oe.value,loading:Lt.loading,style:Ie.value,class:xe.value,crossorigin:Lt.crossorigin,onClick:kt,onLoad:Ue,onError:Fe}),null,16,_hoisted_1$X)):createCommentVNode("v-if",!0),ue.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(V).e("wrapper"))},[renderSlot(Lt.$slots,"placeholder",{},()=>[createBaseVNode("div",{class:normalizeClass(unref(V).e("placeholder"))},null,2)])],2)):createCommentVNode("v-if",!0)],64)),Ne.value?(openBlock(),createElementBlock(Fragment,{key:2},[de.value?(openBlock(),createBlock(unref(ElImageViewer),{key:0,"z-index":Lt.zIndex,"initial-index":Oe.value,infinite:Lt.infinite,"zoom-rate":Lt.zoomRate,"min-scale":Lt.minScale,"max-scale":Lt.maxScale,"show-progress":Lt.showProgress,"url-list":Lt.previewSrcList,scale:Lt.scale,crossorigin:Lt.crossorigin,"hide-on-click-modal":Lt.hideOnClickModal,teleported:Lt.previewTeleported,"close-on-press-escape":Lt.closeOnPressEscape,onClose:At,onSwitch:Dt},createSlots({toolbar:withCtx(hn=>[renderSlot(Lt.$slots,"toolbar",normalizeProps(guardReactiveProps(hn)))]),default:withCtx(()=>[Lt.$slots.viewer?(openBlock(),createElementBlock("div",_hoisted_2$E,[renderSlot(Lt.$slots,"viewer")])):createCommentVNode("v-if",!0)]),_:2},[Lt.$slots.progress?{name:"progress",fn:withCtx(hn=>[renderSlot(Lt.$slots,"progress",normalizeProps(guardReactiveProps(hn)))]),key:"0"}:void 0,Lt.$slots["viewer-error"]?{name:"viewer-error",fn:withCtx(hn=>[renderSlot(Lt.$slots,"viewer-error",normalizeProps(guardReactiveProps(hn)))]),key:"1"}:void 0]),1032,["z-index","initial-index","infinite","zoom-rate","min-scale","max-scale","show-progress","url-list","scale","crossorigin","hide-on-click-modal","teleported","close-on-press-escape"])):createCommentVNode("v-if",!0)],64)):createCommentVNode("v-if",!0)],16))}});var Image$1=_export_sfc(_sfc_main$1y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/image/src/image.vue"]]);const ElImage=withInstall(Image$1),inputNumberProps=buildProps({id:{type:String,default:void 0},step:{type:Number,default:1},stepStrictly:Boolean,max:{type:Number,default:Number.MAX_SAFE_INTEGER},min:{type:Number,default:Number.MIN_SAFE_INTEGER},modelValue:{type:[Number,null]},readonly:Boolean,disabled:{type:Boolean,default:void 0},size:useSizeProp,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:"",values:["","right"]},valueOnClear:{type:definePropType([String,Number,null]),validator:n=>n===null||isNumber$2(n)||["min","max"].includes(n),default:null},name:String,placeholder:String,precision:{type:Number,validator:n=>n>=0&&n===Number.parseInt(`${n}`,10)},validateEvent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"]),inputmode:{type:definePropType(String),default:void 0},align:{type:definePropType(String),default:"center"},disabledScientific:Boolean}),inputNumberEmits={[CHANGE_EVENT]:(n,t)=>t!==n,blur:n=>n instanceof FocusEvent,focus:n=>n instanceof FocusEvent,[INPUT_EVENT]:n=>isNumber$2(n)||isNil(n),[UPDATE_MODEL_EVENT]:n=>isNumber$2(n)||isNil(n)},_hoisted_1$W=["aria-label"],_hoisted_2$D=["aria-label"],_sfc_main$1x=defineComponent({name:"ElInputNumber",__name:"input-number",props:inputNumberProps,emits:inputNumberEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,{t:$}=useLocale(),V=useNamespace("input-number"),re=ref(),ie=reactive({currentValue:i.modelValue,userInput:null}),{formItem:ae}=useFormItem(),oe=computed(()=>isNumber$2(i.modelValue)&&i.modelValue<=i.min),le=computed(()=>isNumber$2(i.modelValue)&&i.modelValue>=i.max),ue=computed(()=>{const Lt=xe(i.step);return isUndefined$1(i.precision)?Math.max(xe(i.modelValue),Lt):(Lt>i.precision,i.precision)}),de=computed(()=>i.controls&&i.controlsPosition==="right"),he=useFormSize(),pe=useFormDisabled(),_e=computed(()=>{if(ie.userInput!==null)return ie.userInput;let Lt=ie.currentValue;if(isNil(Lt))return"";if(isNumber$2(Lt)){if(Number.isNaN(Lt))return"";isUndefined$1(i.precision)||(Lt=Lt.toFixed(i.precision))}return Lt}),Ce=(Lt,jt)=>{if(isUndefined$1(jt)&&(jt=ue.value),jt===0)return Math.round(Lt);let hn=String(Lt);const vn=hn.indexOf(".");if(vn===-1||!hn.replace(".","").split("")[vn+jt])return Lt;const bn=hn.length;return hn.charAt(bn-1)==="5"&&(hn=`${hn.slice(0,Math.max(0,bn-1))}6`),Number.parseFloat(Number(hn).toFixed(jt))},xe=Lt=>{if(isNil(Lt))return 0;const jt=Lt.toString(),hn=jt.indexOf(".");let vn=0;return hn!==-1&&(vn=jt.length-hn-1),vn},Ie=(Lt,jt=1)=>isNumber$2(Lt)?Lt>=Number.MAX_SAFE_INTEGER&&jt===1||Lt<=Number.MIN_SAFE_INTEGER&&jt===-1?Lt:Ce(Lt+i.step*jt):ie.currentValue,Ne=Lt=>{const jt=getEventCode(Lt),hn=getEventKey(Lt);if(i.disabledScientific&&["e","E"].includes(hn)){Lt.preventDefault();return}switch(jt){case EVENT_CODE.up:{Lt.preventDefault(),Oe();break}case EVENT_CODE.down:{Lt.preventDefault(),$e();break}}},Oe=()=>{if(i.readonly||pe.value||le.value)return;const Lt=Number(_e.value)||0,jt=Ie(Lt);Ue(jt),g(INPUT_EVENT,ie.currentValue),At()},$e=()=>{if(i.readonly||pe.value||oe.value)return;const Lt=Number(_e.value)||0,jt=Ie(Lt,-1);Ue(jt),g(INPUT_EVENT,ie.currentValue),At()},Ve=(Lt,jt)=>{const{max:hn,min:vn,step:_n,precision:wn,stepStrictly:bn,valueOnClear:Cn}=i;hnhn||Snhn?hn:vn,jt&&g(UPDATE_MODEL_EVENT,Sn)),Sn},Ue=(Lt,jt=!0)=>{var hn;const vn=ie.currentValue,_n=Ve(Lt);if(!jt){g(UPDATE_MODEL_EVENT,_n);return}ie.userInput=null,!(vn===_n&&Lt)&&(g(UPDATE_MODEL_EVENT,_n),vn!==_n&&g(CHANGE_EVENT,_n,vn),i.validateEvent&&((hn=ae==null?void 0:ae.validate)==null||hn.call(ae,"change").catch(wn=>void 0)),ie.currentValue=_n)},Fe=Lt=>{ie.userInput=Lt;const jt=Lt===""?null:Number(Lt);g(INPUT_EVENT,jt),Ue(jt,!1)},ze=Lt=>{const jt=Lt!==""?Number(Lt):"";(isNumber$2(jt)&&!Number.isNaN(jt)||Lt==="")&&Ue(jt),At(),ie.userInput=null},Pt=()=>{var Lt,jt;(jt=(Lt=re.value)==null?void 0:Lt.focus)==null||jt.call(Lt)},qe=()=>{var Lt,jt;(jt=(Lt=re.value)==null?void 0:Lt.blur)==null||jt.call(Lt)},Et=Lt=>{g("focus",Lt)},kt=Lt=>{var jt,hn;ie.userInput=null,ie.currentValue===null&&((jt=re.value)!=null&&jt.input)&&(re.value.input.value=""),g("blur",Lt),i.validateEvent&&((hn=ae==null?void 0:ae.validate)==null||hn.call(ae,"blur").catch(vn=>void 0))},At=()=>{ie.currentValue!==i.modelValue&&(ie.currentValue=i.modelValue)},Dt=Lt=>{document.activeElement===Lt.target&&Lt.preventDefault()};return watch(()=>i.modelValue,(Lt,jt)=>{const hn=Ve(Lt,!0);ie.userInput===null&&hn!==jt&&(ie.currentValue=hn)},{immediate:!0}),watch(()=>i.precision,()=>{ie.currentValue=Ve(i.modelValue)}),onMounted(()=>{var Lt;const{min:jt,max:hn,modelValue:vn}=i,_n=(Lt=re.value)==null?void 0:Lt.input;if(_n.setAttribute("role","spinbutton"),Number.isFinite(hn)?_n.setAttribute("aria-valuemax",String(hn)):_n.removeAttribute("aria-valuemax"),Number.isFinite(jt)?_n.setAttribute("aria-valuemin",String(jt)):_n.removeAttribute("aria-valuemin"),_n.setAttribute("aria-valuenow",ie.currentValue||ie.currentValue===0?String(ie.currentValue):""),_n.setAttribute("aria-disabled",String(pe.value)),!isNumber$2(vn)&&vn!=null){let wn=Number(vn);Number.isNaN(wn)&&(wn=null),g(UPDATE_MODEL_EVENT,wn)}_n.addEventListener("wheel",Dt,{passive:!1})}),onUpdated(()=>{var Lt,jt;const hn=(Lt=re.value)==null?void 0:Lt.input;hn==null||hn.setAttribute("aria-valuenow",`${(jt=ie.currentValue)!=null?jt:""}`)}),t({focus:Pt,blur:qe}),(Lt,jt)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(V).b(),unref(V).m(unref(he)),unref(V).is("disabled",unref(pe)),unref(V).is("without-controls",!Lt.controls),unref(V).is("controls-right",de.value),unref(V).is(Lt.align,!!Lt.align)]),onDragstart:jt[0]||(jt[0]=withModifiers(()=>{},["prevent"]))},[Lt.controls?withDirectives((openBlock(),createElementBlock("span",{key:0,role:"button","aria-label":unref($)("el.inputNumber.decrease"),class:normalizeClass([unref(V).e("decrease"),unref(V).is("disabled",oe.value)]),onKeydown:withKeys($e,["enter"])},[renderSlot(Lt.$slots,"decrease-icon",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[de.value?(openBlock(),createBlock(unref(arrow_down_default),{key:0})):(openBlock(),createBlock(unref(minus_default),{key:1}))]),_:1})])],42,_hoisted_1$W)),[[unref(vRepeatClick),$e]]):createCommentVNode("v-if",!0),Lt.controls?withDirectives((openBlock(),createElementBlock("span",{key:1,role:"button","aria-label":unref($)("el.inputNumber.increase"),class:normalizeClass([unref(V).e("increase"),unref(V).is("disabled",le.value)]),onKeydown:withKeys(Oe,["enter"])},[renderSlot(Lt.$slots,"increase-icon",{},()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[de.value?(openBlock(),createBlock(unref(arrow_up_default),{key:0})):(openBlock(),createBlock(unref(plus_default),{key:1}))]),_:1})])],42,_hoisted_2$D)),[[unref(vRepeatClick),Oe]]):createCommentVNode("v-if",!0),createVNode$1(unref(ElInput),{id:Lt.id,ref_key:"input",ref:re,type:"number",step:Lt.step,"model-value":_e.value,placeholder:Lt.placeholder,readonly:Lt.readonly,disabled:unref(pe),size:unref(he),max:Lt.max,min:Lt.min,name:Lt.name,"aria-label":Lt.ariaLabel,"validate-event":!1,inputmode:Lt.inputmode,onKeydown:Ne,onBlur:kt,onFocus:Et,onInput:Fe,onChange:ze},createSlots({_:2},[Lt.$slots.prefix?{name:"prefix",fn:withCtx(()=>[renderSlot(Lt.$slots,"prefix")]),key:"0"}:void 0,Lt.$slots.suffix?{name:"suffix",fn:withCtx(()=>[renderSlot(Lt.$slots,"suffix")]),key:"1"}:void 0]),1032,["id","step","model-value","placeholder","readonly","disabled","size","max","min","name","aria-label","inputmode"])],34))}});var InputNumber=_export_sfc(_sfc_main$1x,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-number/src/input-number.vue"]]);const ElInputNumber=withInstall(InputNumber),inputTagProps=buildProps({modelValue:{type:definePropType(Array)},max:Number,tagType:{...tagProps.type,default:"info"},tagEffect:tagProps.effect,trigger:{type:definePropType(String),default:EVENT_CODE.enter},draggable:Boolean,delimiter:{type:[String,RegExp],default:""},size:useSizeProp,clearable:Boolean,clearIcon:{type:iconPropType,default:circle_close_default},disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},readonly:Boolean,autofocus:Boolean,id:{type:String,default:void 0},tabindex:{type:[String,Number],default:0},maxlength:{type:[String,Number]},minlength:{type:[String,Number]},placeholder:String,autocomplete:{type:definePropType(String),default:"off"},saveOnBlur:{type:Boolean,default:!0},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},ariaLabel:String}),inputTagEmits={[UPDATE_MODEL_EVENT]:n=>isArray$5(n)||isUndefined$1(n),[CHANGE_EVENT]:n=>isArray$5(n)||isUndefined$1(n),[INPUT_EVENT]:n=>isString$2(n),"add-tag":n=>isString$2(n)||isArray$5(n),"remove-tag":(n,t)=>isString$2(n)&&isNumber$2(t),"drag-tag":(n,t,r)=>isNumber$2(n)&&isNumber$2(t)&&isString$2(r),focus:n=>n instanceof FocusEvent,blur:n=>n instanceof FocusEvent,clear:()=>!0};function useInputTag({props:n,emit:t,formItem:r}){const i=useFormDisabled(),g=useFormSize(),$=shallowRef(),V=ref(),re=ref(),ie=computed(()=>["small"].includes(g.value)?"small":"default"),ae=computed(()=>{var At;return(At=n.modelValue)!=null&&At.length?void 0:n.placeholder}),oe=computed(()=>!(n.readonly||i.value)),le=computed(()=>{var At,Dt;return isUndefined$1(n.max)?!1:((Dt=(At=n.modelValue)==null?void 0:At.length)!=null?Dt:0)>=n.max}),ue=computed(()=>{var At;return n.collapseTags?(At=n.modelValue)==null?void 0:At.slice(0,n.maxCollapseTags):n.modelValue}),de=computed(()=>{var At;return n.collapseTags?(At=n.modelValue)==null?void 0:At.slice(n.maxCollapseTags):[]}),he=At=>{var Dt;const Lt=[...(Dt=n.modelValue)!=null?Dt:[],...castArray$1(At)];t(UPDATE_MODEL_EVENT,Lt),t(CHANGE_EVENT,Lt),t("add-tag",At),V.value=void 0},pe=At=>{var Dt,Lt;const jt=At.split(n.delimiter).filter(hn=>hn&&hn!==At);if(n.max){const hn=n.max-((Lt=(Dt=n.modelValue)==null?void 0:Dt.length)!=null?Lt:0);jt.splice(hn)}return jt.length===1?jt[0]:jt},_e=At=>{if(le.value){V.value=void 0;return}if(!Pt.value){if(n.delimiter&&V.value){const Dt=pe(V.value);Dt.length&&he(Dt)}t(INPUT_EVENT,At.target.value)}},Ce=At=>{var Dt;if(Pt.value)return;switch(getEventCode(At)){case n.trigger:At.preventDefault(),At.stopPropagation(),Ie();break;case EVENT_CODE.numpadEnter:n.trigger===EVENT_CODE.enter&&(At.preventDefault(),At.stopPropagation(),Ie());break;case EVENT_CODE.backspace:!V.value&&((Dt=n.modelValue)!=null&&Dt.length)&&(At.preventDefault(),At.stopPropagation(),Ne(n.modelValue.length-1));break}},xe=At=>{if(Pt.value||!isAndroid())return;switch(getEventCode(At)){case EVENT_CODE.space:n.trigger===EVENT_CODE.space&&(At.preventDefault(),At.stopPropagation(),Ie());break}},Ie=()=>{var At;const Dt=(At=V.value)==null?void 0:At.trim();!Dt||le.value||he(Dt)},Ne=At=>{var Dt;const Lt=((Dt=n.modelValue)!=null?Dt:[]).slice(),[jt]=Lt.splice(At,1);t(UPDATE_MODEL_EVENT,Lt),t(CHANGE_EVENT,Lt),t("remove-tag",jt,At)},Oe=()=>{V.value=void 0,t(UPDATE_MODEL_EVENT,void 0),t(CHANGE_EVENT,void 0),t("clear")},$e=(At,Dt,Lt)=>{var jt;const hn=((jt=n.modelValue)!=null?jt:[]).slice(),[vn]=hn.splice(At,1),_n=Dt>At&&Lt==="before"?-1:Dt{var At;(At=$.value)==null||At.focus()},Ue=()=>{var At;(At=$.value)==null||At.blur()},{wrapperRef:Fe,isFocused:ze}=useFocusController($,{disabled:i,beforeBlur(At){var Dt;return(Dt=re.value)==null?void 0:Dt.isFocusInsideContent(At)},afterBlur(){var At;n.saveOnBlur?Ie():V.value=void 0,n.validateEvent&&((At=r==null?void 0:r.validate)==null||At.call(r,"blur").catch(Dt=>void 0))}}),{isComposing:Pt,handleCompositionStart:qe,handleCompositionUpdate:Et,handleCompositionEnd:kt}=useComposition({afterComposition:_e});return watch(()=>n.modelValue,()=>{var At;n.validateEvent&&((At=r==null?void 0:r.validate)==null||At.call(r,CHANGE_EVENT).catch(Dt=>void 0))}),{inputRef:$,wrapperRef:Fe,tagTooltipRef:re,isFocused:ze,isComposing:Pt,inputValue:V,size:g,tagSize:ie,placeholder:ae,closable:oe,disabled:i,inputLimit:le,showTagList:ue,collapseTagList:de,handleDragged:$e,handleInput:_e,handleKeydown:Ce,handleKeyup:xe,handleAddTag:Ie,handleRemoveTag:Ne,handleClear:Oe,handleCompositionStart:qe,handleCompositionUpdate:Et,handleCompositionEnd:kt,focus:Ve,blur:Ue}}function useHovering(){const n=ref(!1);return{hovering:n,handleMouseEnter:()=>{n.value=!0},handleMouseLeave:()=>{n.value=!1}}}function useDragTag({wrapperRef:n,handleDragged:t,afterDragged:r}){const i=useNamespace("input-tag"),g=shallowRef(),$=ref(!1);let V,re,ie,ae;function oe(he){return`.${i.e("inner")} .${i.namespace.value}-tag:nth-child(${he+1})`}function le(he,pe){V=pe,re=n.value.querySelector(oe(pe)),re&&(re.style.opacity="0.5"),he.dataTransfer.effectAllowed="move"}function ue(he,pe){if(ie=pe,he.preventDefault(),he.dataTransfer.dropEffect="move",isUndefined$1(V)||V===pe){$.value=!1;return}const _e=n.value.querySelector(oe(pe)).getBoundingClientRect(),Ce=V+1!==pe,xe=V-1!==pe,Ie=he.clientX-_e.left,Ne=Ce?xe?.5:1:-1,Oe=xe?Ce?.5:0:1;Ie<=_e.width*Ne?ae="before":Ie>_e.width*Oe?ae="after":ae=void 0;const $e=n.value.querySelector(`.${i.e("inner")}`),Ve=$e.getBoundingClientRect(),Ue=Number.parseFloat(getStyle$1($e,"gap"))/2,Fe=_e.top-Ve.top;let ze=-9999;if(ae==="before")ze=Math.max(_e.left-Ve.left-Ue,Math.floor(-Ue/2));else if(ae==="after"){const Pt=_e.right-Ve.left;ze=Pt+(Ve.width===Pt?Math.floor(Ue/2):Ue)}setStyle(g.value,{top:`${Fe}px`,left:`${ze}px`}),$.value=!!ae}function de(he){he.preventDefault(),re&&(re.style.opacity=""),ae&&!isUndefined$1(V)&&!isUndefined$1(ie)&&V!==ie&&t(V,ie,ae),$.value=!1,V=void 0,re=null,ie=void 0,ae=void 0,r==null||r()}return{dropIndicatorRef:g,showDropIndicator:$,handleDragStart:le,handleDragOver:ue,handleDragEnd:de}}function useInputTagDom({props:n,isFocused:t,hovering:r,disabled:i,inputValue:g,size:$,validateState:V,validateIcon:re,needStatusIcon:ie}){const ae=useAttrs$1(),oe=useSlots(),le=useNamespace("input-tag"),ue=useNamespace("input"),de=ref(),he=ref(),pe=computed(()=>[le.b(),le.is("focused",t.value),le.is("hovering",r.value),le.is("disabled",i.value),le.m($.value),le.e("wrapper"),ae.class]),_e=computed(()=>[ae.style]),Ce=computed(()=>{var Fe,ze;return[le.e("inner"),le.is("draggable",n.draggable),le.is("left-space",!((Fe=n.modelValue)!=null&&Fe.length)&&!oe.prefix),le.is("right-space",!((ze=n.modelValue)!=null&&ze.length)&&!Ie.value)]}),xe=computed(()=>{var Fe;return n.clearable&&!i.value&&!n.readonly&&(((Fe=n.modelValue)==null?void 0:Fe.length)||g.value)&&(t.value||r.value)}),Ie=computed(()=>oe.suffix||xe.value||V.value&&re.value&&ie.value),Ne=reactive({innerWidth:0,collapseItemWidth:0}),Oe=()=>{if(!he.value)return 0;const Fe=window.getComputedStyle(he.value);return Number.parseFloat(Fe.gap||"6px")},$e=()=>{Ne.innerWidth=Number.parseFloat(window.getComputedStyle(he.value).width)},Ve=()=>{Ne.collapseItemWidth=de.value.getBoundingClientRect().width},Ue=computed(()=>{if(!n.collapseTags)return{};const Fe=Oe(),ze=Fe+MINIMUM_INPUT_WIDTH,Pt=de.value&&n.maxCollapseTags===1?Ne.innerWidth-Ne.collapseItemWidth-Fe-ze:Ne.innerWidth-ze;return{maxWidth:`${Math.max(Pt,0)}px`}});return useResizeObserver(he,$e),useResizeObserver(de,Ve),{ns:le,nsInput:ue,containerKls:pe,containerStyle:_e,innerKls:Ce,showClear:xe,showSuffix:Ie,tagStyle:Ue,collapseItemRef:de,innerRef:he}}const _hoisted_1$V=["id","minlength","maxlength","disabled","readonly","autocomplete","tabindex","placeholder","autofocus","ariaLabel"],_hoisted_2$C=["textContent"],_sfc_main$1w=defineComponent({name:"ElInputTag",inheritAttrs:!1,__name:"input-tag",props:inputTagProps,emits:inputTagEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useAttrs(),V=useSlots(),{form:re,formItem:ie}=useFormItem(),{inputId:ae}=useFormItemInputId(i,{formItemContext:ie}),oe=computed(()=>{var Qn;return(Qn=re==null?void 0:re.statusIcon)!=null?Qn:!1}),le=computed(()=>(ie==null?void 0:ie.validateState)||""),ue=computed(()=>le.value&&ValidateComponentsMap[le.value]),{inputRef:de,wrapperRef:he,tagTooltipRef:pe,isFocused:_e,inputValue:Ce,size:xe,tagSize:Ie,placeholder:Ne,closable:Oe,disabled:$e,showTagList:Ve,collapseTagList:Ue,handleDragged:Fe,handleInput:ze,handleKeydown:Pt,handleKeyup:qe,handleRemoveTag:Et,handleClear:kt,handleCompositionStart:At,handleCompositionUpdate:Dt,handleCompositionEnd:Lt,focus:jt,blur:hn}=useInputTag({props:i,emit:g,formItem:ie}),{hovering:vn,handleMouseEnter:_n,handleMouseLeave:wn}=useHovering(),{calculatorRef:bn,inputStyle:Cn}=useCalcInputWidth(),{dropIndicatorRef:Sn,showDropIndicator:Tn,handleDragStart:En,handleDragOver:kn,handleDragEnd:$n}=useDragTag({wrapperRef:he,handleDragged:Fe,afterDragged:jt}),{ns:An,nsInput:xn,containerKls:Ln,containerStyle:Nn,innerKls:Pn,showClear:On,showSuffix:Hn,tagStyle:Xn,collapseItemRef:In,innerRef:or}=useInputTagDom({props:i,hovering:vn,isFocused:_e,inputValue:Ce,disabled:$e,size:xe,validateState:le,validateIcon:ue,needStatusIcon:oe});return t({focus:jt,blur:hn}),(Qn,Zn)=>(openBlock(),createElementBlock("div",{ref_key:"wrapperRef",ref:he,class:normalizeClass(unref(Ln)),style:normalizeStyle$1(unref(Nn)),onMouseenter:Zn[8]||(Zn[8]=(...Gn)=>unref(_n)&&unref(_n)(...Gn)),onMouseleave:Zn[9]||(Zn[9]=(...Gn)=>unref(wn)&&unref(wn)(...Gn))},[unref(V).prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(An).e("prefix"))},[renderSlot(Qn.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref_key:"innerRef",ref:or,class:normalizeClass(unref(Pn))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ve),(Gn,Rn)=>(openBlock(),createBlock(unref(ElTag),{key:Rn,size:unref(Ie),closable:unref(Oe),type:Qn.tagType,effect:Qn.tagEffect,draggable:unref(Oe)&&Qn.draggable,style:normalizeStyle$1(unref(Xn)),"disable-transitions":"",onClose:Mn=>unref(Et)(Rn),onDragstart:Mn=>unref(En)(Mn,Rn),onDragover:Mn=>unref(kn)(Mn,Rn),onDragend:unref($n),onDrop:Zn[0]||(Zn[0]=withModifiers(()=>{},["stop"]))},{default:withCtx(()=>[renderSlot(Qn.$slots,"tag",{value:Gn,index:Rn},()=>[createTextVNode(toDisplayString(Gn),1)])]),_:2},1032,["size","closable","type","effect","draggable","style","onClose","onDragstart","onDragover","onDragend"]))),128)),Qn.collapseTags&&Qn.modelValue&&Qn.modelValue.length>Qn.maxCollapseTags?(openBlock(),createBlock(unref(ElTooltip),{key:0,ref_key:"tagTooltipRef",ref:pe,disabled:!Qn.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:Qn.tagEffect,placement:"bottom"},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"collapseItemRef",ref:In},[createVNode$1(unref(ElTag),{closable:!1,size:unref(Ie),type:Qn.tagType,effect:Qn.tagEffect,"disable-transitions":""},{default:withCtx(()=>[createTextVNode(" + "+toDisplayString(Qn.modelValue.length-Qn.maxCollapseTags),1)]),_:1},8,["size","type","effect"])],512)]),content:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(An).e("input-tag-list"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ue),(Gn,Rn)=>(openBlock(),createBlock(unref(ElTag),{key:Rn,size:unref(Ie),closable:unref(Oe),type:Qn.tagType,effect:Qn.tagEffect,"disable-transitions":"",onClose:Mn=>unref(Et)(Rn+Qn.maxCollapseTags)},{default:withCtx(()=>[renderSlot(Qn.$slots,"tag",{value:Gn,index:Rn+Qn.maxCollapseTags},()=>[createTextVNode(toDisplayString(Gn),1)])]),_:2},1032,["size","closable","type","effect","onClose"]))),128))],2)]),_:3},8,["disabled","effect"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(An).e("input-wrapper"))},[withDirectives(createBaseVNode("input",mergeProps({id:unref(ae),ref_key:"inputRef",ref:de,"onUpdate:modelValue":Zn[1]||(Zn[1]=Gn=>isRef(Ce)?Ce.value=Gn:null)},unref($),{type:"text",minlength:Qn.minlength,maxlength:Qn.maxlength,disabled:unref($e),readonly:Qn.readonly,autocomplete:Qn.autocomplete,tabindex:Qn.tabindex,placeholder:unref(Ne),autofocus:Qn.autofocus,ariaLabel:Qn.ariaLabel,class:unref(An).e("input"),style:unref(Cn),onCompositionstart:Zn[2]||(Zn[2]=(...Gn)=>unref(At)&&unref(At)(...Gn)),onCompositionupdate:Zn[3]||(Zn[3]=(...Gn)=>unref(Dt)&&unref(Dt)(...Gn)),onCompositionend:Zn[4]||(Zn[4]=(...Gn)=>unref(Lt)&&unref(Lt)(...Gn)),onInput:Zn[5]||(Zn[5]=(...Gn)=>unref(ze)&&unref(ze)(...Gn)),onKeydown:Zn[6]||(Zn[6]=(...Gn)=>unref(Pt)&&unref(Pt)(...Gn)),onKeyup:Zn[7]||(Zn[7]=(...Gn)=>unref(qe)&&unref(qe)(...Gn))}),null,16,_hoisted_1$V),[[vModelText,unref(Ce)]]),createBaseVNode("span",{ref_key:"calculatorRef",ref:bn,"aria-hidden":"true",class:normalizeClass(unref(An).e("input-calculator")),textContent:toDisplayString(unref(Ce))},null,10,_hoisted_2$C)],2),withDirectives(createBaseVNode("div",{ref_key:"dropIndicatorRef",ref:Sn,class:normalizeClass(unref(An).e("drop-indicator"))},null,2),[[vShow,unref(Tn)]])],2),unref(Hn)?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(An).e("suffix"))},[renderSlot(Qn.$slots,"suffix"),unref(On)?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(An).e("icon"),unref(An).e("clear")]),onMousedown:withModifiers(unref(NOOP),["prevent"]),onClick:unref(kt)},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Qn.clearIcon)))]),_:1},8,["class","onMousedown","onClick"])):createCommentVNode("v-if",!0),le.value&&ue.value&&oe.value?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(xn).e("icon"),unref(xn).e("validateIcon"),unref(xn).is("loading",le.value==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ue.value)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0)],38))}});var InputTag=_export_sfc(_sfc_main$1w,[["__file","/home/runner/work/element-plus/element-plus/packages/components/input-tag/src/input-tag.vue"]]);const ElInputTag=withInstall(InputTag),linkProps=buildProps({type:{type:String,values:["primary","success","warning","info","danger","default"],default:void 0},underline:{type:[Boolean,String],values:[!0,!1,"always","never","hover"],default:void 0},disabled:Boolean,href:{type:String,default:""},target:{type:String,default:"_self"},icon:{type:iconPropType}}),linkEmits={click:n=>n instanceof MouseEvent},_hoisted_1$U=["href","target"],_sfc_main$1v=defineComponent({name:"ElLink",__name:"link",props:linkProps,emits:linkEmits,setup(n,{emit:t}){const r=n,i=t,g=useGlobalConfig("link");useDeprecated({scope:"el-link",from:"The underline option (boolean)",replacement:"'always' | 'hover' | 'never'",version:"3.0.0",ref:"https://element-plus.org/en-US/component/link.html#underline"},computed(()=>isBoolean$1(r.underline)));const $=useNamespace("link"),V=computed(()=>{var ae,oe,le;return[$.b(),$.m((le=(oe=r.type)!=null?oe:(ae=g.value)==null?void 0:ae.type)!=null?le:"default"),$.is("disabled",r.disabled),$.is("underline",re.value==="always"),$.is("hover-underline",re.value==="hover"&&!r.disabled)]}),re=computed(()=>{var ae,oe,le;return isBoolean$1(r.underline)?r.underline?"hover":"never":(le=(oe=r.underline)!=null?oe:(ae=g.value)==null?void 0:ae.underline)!=null?le:"hover"});function ie(ae){r.disabled||i("click",ae)}return(ae,oe)=>(openBlock(),createElementBlock("a",{class:normalizeClass(V.value),href:ae.disabled||!ae.href?void 0:ae.href,target:ae.disabled||!ae.href?void 0:ae.target,onClick:ie},[ae.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(ae.icon)))]),_:1})):createCommentVNode("v-if",!0),ae.$slots.default?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(unref($).e("inner"))},[renderSlot(ae.$slots,"default")],2)):createCommentVNode("v-if",!0),ae.$slots.icon?renderSlot(ae.$slots,"icon",{key:2}):createCommentVNode("v-if",!0)],10,_hoisted_1$U))}});var Link=_export_sfc(_sfc_main$1v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/link/src/link.vue"]]);const ElLink=withInstall(Link);let SubMenu$1=class{constructor(t,r){this.parent=t,this.domNode=r,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(t){t===this.subMenuItems.length?t=0:t<0&&(t=this.subMenuItems.length-1),this.subMenuItems[t].focus(),this.subIndex=t}addListeners(){const t=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,r=>{r.addEventListener("keydown",i=>{const g=getEventCode(i);let $=!1;switch(g){case EVENT_CODE.down:{this.gotoSubIndex(this.subIndex+1),$=!0;break}case EVENT_CODE.up:{this.gotoSubIndex(this.subIndex-1),$=!0;break}case EVENT_CODE.tab:{triggerEvent(t,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:case EVENT_CODE.space:{$=!0,i.currentTarget.click();break}}return $&&(i.preventDefault(),i.stopPropagation()),!1})})}},MenuItem$1=class{constructor(t,r){this.domNode=t,this.submenu=null,this.submenu=null,this.init(r)}init(t){this.domNode.setAttribute("tabindex","0");const r=this.domNode.querySelector(`.${t}-menu`);r&&(this.submenu=new SubMenu$1(this,r)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",t=>{const r=getEventCode(t);let i=!1;switch(r){case EVENT_CODE.down:{triggerEvent(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),i=!0;break}case EVENT_CODE.up:{triggerEvent(t.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),i=!0;break}case EVENT_CODE.tab:{triggerEvent(t.currentTarget,"mouseleave");break}case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:case EVENT_CODE.space:{i=!0,t.currentTarget.click();break}}i&&t.preventDefault()})}},Menu$1=class{constructor(t,r){this.domNode=t,this.init(r)}init(t){const r=this.domNode.childNodes;Array.from(r).forEach(i=>{i.nodeType===1&&new MenuItem$1(i,t)})}};const _sfc_main$1u=defineComponent({name:"ElMenuCollapseTransition",__name:"menu-collapse-transition",setup(n){const t=useNamespace("menu"),r={onBeforeEnter:i=>i.style.opacity="0.2",onEnter(i,g){addClass(i,`${t.namespace.value}-opacity-transition`),i.style.opacity="1",g()},onAfterEnter(i){removeClass(i,`${t.namespace.value}-opacity-transition`),i.style.opacity=""},onBeforeLeave(i){i.dataset||(i.dataset={}),hasClass(i,t.m("collapse"))?(removeClass(i,t.m("collapse")),i.dataset.oldOverflow=i.style.overflow,i.dataset.scrollWidth=i.clientWidth.toString(),addClass(i,t.m("collapse"))):(addClass(i,t.m("collapse")),i.dataset.oldOverflow=i.style.overflow,i.dataset.scrollWidth=i.clientWidth.toString(),removeClass(i,t.m("collapse"))),i.style.width=`${i.scrollWidth}px`,i.style.overflow="hidden"},onLeave(i){addClass(i,"horizontal-collapse-transition"),i.style.width=`${i.dataset.scrollWidth}px`}};return(i,g)=>(openBlock(),createBlock(Transition,mergeProps({mode:"out-in"},r),{default:withCtx(()=>[renderSlot(i.$slots,"default")]),_:3},16))}});var ElMenuCollapseTransition=_export_sfc(_sfc_main$1u,[["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-collapse-transition.vue"]]);function useMenu(n,t){const r=computed(()=>{let g=n.parent;const $=[t.value];for(;g.type.name!=="ElMenu";)g.props.index&&$.unshift(g.props.index),g=g.parent;return $});return{parentMenu:computed(()=>{let g=n.parent;for(;g&&!["ElMenu","ElSubMenu"].includes(g.type.name);)g=g.parent;return g}),indexPath:r}}function useMenuColor(n){return computed(()=>{const r=n.backgroundColor;return r?new TinyColor(r).shade(20).toString():""})}const useMenuCssVar=(n,t)=>{const r=useNamespace("menu");return computed(()=>r.cssVarBlock({"text-color":n.textColor||"","hover-text-color":n.textColor||"","bg-color":n.backgroundColor||"","hover-bg-color":useMenuColor(n).value||"","active-color":n.activeTextColor||"",level:`${t}`}))},MENU_INJECTION_KEY="rootMenu",SUB_MENU_INJECTION_KEY="subMenu:",subMenuProps=buildProps({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:definePropType([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:iconPropType},expandOpenIcon:{type:iconPropType},collapseCloseIcon:{type:iconPropType},collapseOpenIcon:{type:iconPropType}}),COMPONENT_NAME$b="ElSubMenu";var SubMenu=defineComponent({name:COMPONENT_NAME$b,props:subMenuProps,setup(n,{slots:t,expose:r}){const i=getCurrentInstance(),{indexPath:g,parentMenu:$}=useMenu(i,computed(()=>n.index)),V=useNamespace("menu"),re=useNamespace("sub-menu"),ie=inject(MENU_INJECTION_KEY);ie||throwError$1(COMPONENT_NAME$b,"can not inject root menu");const ae=inject(`${SUB_MENU_INJECTION_KEY}${$.value.uid}`);ae||throwError$1(COMPONENT_NAME$b,"can not inject sub menu");const oe=ref({}),le=ref({});let ue;const de=ref(!1),he=ref(),pe=ref(),_e=computed(()=>ae.level===0),Ce=computed(()=>Ue.value==="horizontal"&&_e.value?"bottom-start":"right-start"),xe=computed(()=>Ue.value==="horizontal"&&_e.value||Ue.value==="vertical"&&!ie.props.collapse?n.expandCloseIcon&&n.expandOpenIcon?$e.value?n.expandOpenIcon:n.expandCloseIcon:arrow_down_default:n.collapseCloseIcon&&n.collapseOpenIcon?$e.value?n.collapseOpenIcon:n.collapseCloseIcon:arrow_right_default),Ie=computed(()=>{const wn=n.teleported;return isUndefined$1(wn)?_e.value:wn}),Ne=computed(()=>ie.props.collapse?`${V.namespace.value}-zoom-in-left`:`${V.namespace.value}-zoom-in-top`),Oe=computed(()=>Ue.value==="horizontal"&&_e.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),$e=computed(()=>ie.openedMenus.includes(n.index)),Ve=computed(()=>[...Object.values(oe.value),...Object.values(le.value)].some(({active:wn})=>wn)),Ue=computed(()=>ie.props.mode),Fe=computed(()=>ie.props.persistent),ze=reactive({index:n.index,indexPath:g,active:Ve}),Pt=useMenuCssVar(ie.props,ae.level+1),qe=computed(()=>{var wn;return(wn=n.popperOffset)!=null?wn:ie.props.popperOffset}),Et=computed(()=>{var wn;return(wn=n.popperClass)!=null?wn:ie.props.popperClass}),kt=computed(()=>{var wn;return(wn=n.popperStyle)!=null?wn:ie.props.popperStyle}),At=computed(()=>{var wn;return(wn=n.showTimeout)!=null?wn:ie.props.showTimeout}),Dt=computed(()=>{var wn;return(wn=n.hideTimeout)!=null?wn:ie.props.hideTimeout}),Lt=()=>{var wn,bn,Cn;return(Cn=(bn=(wn=pe.value)==null?void 0:wn.popperRef)==null?void 0:bn.popperInstanceRef)==null?void 0:Cn.destroy()},jt=wn=>{wn||Lt()},hn=()=>{ie.props.menuTrigger==="hover"&&ie.props.mode==="horizontal"||ie.props.collapse&&ie.props.mode==="vertical"||n.disabled||ie.handleSubMenuClick({index:n.index,indexPath:g.value,active:Ve.value})},vn=(wn,bn=At.value)=>{var Cn;if(wn.type!=="focus"){if(ie.props.menuTrigger==="click"&&ie.props.mode==="horizontal"||!ie.props.collapse&&ie.props.mode==="vertical"||n.disabled){ae.mouseInChild.value=!0;return}ae.mouseInChild.value=!0,ue==null||ue(),{stop:ue}=useTimeoutFn(()=>{ie.openMenu(n.index,g.value)},bn),Ie.value&&((Cn=$.value.vnode.el)==null||Cn.dispatchEvent(new MouseEvent("mouseenter"))),wn.type==="mouseenter"&&wn.target&&nextTick(()=>{focusElement(wn.target,{preventScroll:!0})})}},_n=(wn=!1)=>{var bn;if(ie.props.menuTrigger==="click"&&ie.props.mode==="horizontal"||!ie.props.collapse&&ie.props.mode==="vertical"){ae.mouseInChild.value=!1;return}ue==null||ue(),ae.mouseInChild.value=!1,{stop:ue}=useTimeoutFn(()=>!de.value&&ie.closeMenu(n.index,g.value),Dt.value),Ie.value&&wn&&((bn=ae.handleMouseleave)==null||bn.call(ae,!0))};watch(()=>ie.props.collapse,wn=>jt(!!wn));{const wn=Cn=>{le.value[Cn.index]=Cn},bn=Cn=>{delete le.value[Cn.index]};provide(`${SUB_MENU_INJECTION_KEY}${i.uid}`,{addSubMenu:wn,removeSubMenu:bn,handleMouseleave:_n,mouseInChild:de,level:ae.level+1})}return r({opened:$e}),onMounted(()=>{ie.addSubMenu(ze),ae.addSubMenu(ze)}),onBeforeUnmount(()=>{ae.removeSubMenu(ze),ie.removeSubMenu(ze)}),()=>{var wn;const bn=[(wn=t.title)==null?void 0:wn.call(t),h$1(ElIcon,{class:re.e("icon-arrow"),style:{transform:$e.value?n.expandCloseIcon&&n.expandOpenIcon||n.collapseCloseIcon&&n.collapseOpenIcon&&ie.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>isString$2(xe.value)?h$1(i.appContext.components[xe.value]):h$1(xe.value)})],Cn=ie.isMenuPopup?h$1(ElTooltip,{ref:pe,visible:$e.value,effect:"light",pure:!0,offset:qe.value,showArrow:!1,persistent:Fe.value,popperClass:Et.value,popperStyle:kt.value,placement:Ce.value,teleported:Ie.value,fallbackPlacements:Oe.value,transition:Ne.value,gpuAcceleration:!1},{content:()=>{var Sn;return h$1("div",{class:[V.m(Ue.value),V.m("popup-container"),Et.value],onMouseenter:Tn=>vn(Tn,100),onMouseleave:()=>_n(!0),onFocus:Tn=>vn(Tn,100)},[h$1("ul",{class:[V.b(),V.m("popup"),V.m(`popup-${Ce.value}`)],style:Pt.value},[(Sn=t.default)==null?void 0:Sn.call(t)])])},default:()=>h$1("div",{class:re.e("title"),onClick:hn},bn)}):h$1(Fragment,{},[h$1("div",{class:re.e("title"),ref:he,onClick:hn},bn),h$1(ElCollapseTransition,{},{default:()=>{var Sn;return withDirectives(h$1("ul",{role:"menu",class:[V.b(),V.m("inline")],style:Pt.value},[(Sn=t.default)==null?void 0:Sn.call(t)]),[[vShow,$e.value]])}})]);return h$1("li",{class:[re.b(),re.is("active",Ve.value),re.is("opened",$e.value),re.is("disabled",n.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:$e.value,onMouseenter:vn,onMouseleave:()=>_n(),onFocus:vn},[Cn])}}});const menuProps=buildProps({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:definePropType(Array),default:()=>mutable([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:iconPropType,default:()=>more_default},popperEffect:{type:definePropType(String),default:"dark"},popperClass:String,popperStyle:{type:definePropType([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),checkIndexPath=n=>isArray$5(n)&&n.every(t=>isString$2(t)),menuEmits={close:(n,t)=>isString$2(n)&&checkIndexPath(t),open:(n,t)=>isString$2(n)&&checkIndexPath(t),select:(n,t,r,i)=>isString$2(n)&&checkIndexPath(t)&&isObject$6(r)&&(isUndefined$1(i)||i instanceof Promise)},DEFAULT_MORE_ITEM_WIDTH=64;var Menu=defineComponent({name:"ElMenu",props:menuProps,emits:menuEmits,setup(n,{emit:t,slots:r,expose:i}){const g=getCurrentInstance(),$=g.appContext.config.globalProperties.$router,V=ref(),re=ref(),ie=useNamespace("menu"),ae=useNamespace("sub-menu");let oe=DEFAULT_MORE_ITEM_WIDTH;const le=ref(-1),ue=ref(n.defaultOpeneds&&!n.collapse?n.defaultOpeneds.slice(0):[]),de=ref(n.defaultActive),he=ref({}),pe=ref({}),_e=computed(()=>n.mode==="horizontal"||n.mode==="vertical"&&n.collapse),Ce=()=>{const Lt=de.value&&he.value[de.value];if(!Lt||n.mode==="horizontal"||n.collapse)return;Lt.indexPath.forEach(hn=>{const vn=pe.value[hn];vn&&xe(hn,vn.indexPath)})},xe=(Lt,jt)=>{ue.value.includes(Lt)||(n.uniqueOpened&&(ue.value=ue.value.filter(hn=>jt.includes(hn))),ue.value.push(Lt),t("open",Lt,jt))},Ie=Lt=>{const jt=ue.value.indexOf(Lt);jt!==-1&&ue.value.splice(jt,1)},Ne=(Lt,jt)=>{Ie(Lt),t("close",Lt,jt)},Oe=({index:Lt,indexPath:jt})=>{ue.value.includes(Lt)?Ne(Lt,jt):xe(Lt,jt)},$e=Lt=>{(n.mode==="horizontal"||n.collapse)&&(ue.value=[]);const{index:jt,indexPath:hn}=Lt;if(!(isNil(jt)||isNil(hn)))if(n.router&&$){const vn=Lt.route||jt,_n=$.push(vn).then(wn=>(wn||(de.value=jt),wn));t("select",jt,hn,{index:jt,indexPath:hn,route:vn},_n)}else de.value=jt,t("select",jt,hn,{index:jt,indexPath:hn})},Ve=Lt=>{var jt;const hn=he.value,vn=hn[Lt]||de.value&&hn[de.value]||hn[n.defaultActive];de.value=(jt=vn==null?void 0:vn.index)!=null?jt:Lt},Ue=Lt=>{const jt=getComputedStyle(Lt),hn=Number.parseInt(jt.marginLeft,10),vn=Number.parseInt(jt.marginRight,10);return Lt.offsetWidth+hn+vn||0},Fe=()=>{if(!V.value)return-1;const Lt=Array.from(V.value.childNodes).filter(Cn=>Cn.nodeName!=="#comment"&&(Cn.nodeName!=="#text"||Cn.nodeValue)),jt=getComputedStyle(V.value),hn=Number.parseInt(jt.paddingLeft,10),vn=Number.parseInt(jt.paddingRight,10),_n=V.value.clientWidth-hn-vn;let wn=0,bn=0;return Lt.forEach((Cn,Sn)=>{wn+=Ue(Cn),wn<=_n-oe&&(bn=Sn+1)}),bn===Lt.length?-1:bn},ze=Lt=>pe.value[Lt].indexPath,Pt=(Lt,jt=33.34)=>{let hn;return()=>{hn&&clearTimeout(hn),hn=setTimeout(()=>{Lt()},jt)}};let qe=!0;const Et=()=>{const Lt=unrefElement(re);if(Lt&&(oe=Ue(Lt)||DEFAULT_MORE_ITEM_WIDTH),le.value===Fe())return;const jt=()=>{le.value=-1,nextTick(()=>{le.value=Fe()})};qe?jt():Pt(jt)(),qe=!1};watch(()=>n.defaultActive,Lt=>{he.value[Lt]||(de.value=""),Ve(Lt)}),watch(()=>n.collapse,Lt=>{Lt&&(ue.value=[])}),watch(he.value,Ce);let kt;watchEffect(()=>{n.mode==="horizontal"&&n.ellipsis?kt=useResizeObserver(V,Et).stop:kt==null||kt()});const At=ref(!1);{const Lt=_n=>{pe.value[_n.index]=_n},jt=_n=>{delete pe.value[_n.index]};provide(MENU_INJECTION_KEY,reactive({props:n,openedMenus:ue,items:he,subMenus:pe,activeIndex:de,isMenuPopup:_e,addMenuItem:_n=>{he.value[_n.index]=_n},removeMenuItem:_n=>{delete he.value[_n.index]},addSubMenu:Lt,removeSubMenu:jt,openMenu:xe,closeMenu:Ne,handleMenuItemClick:$e,handleSubMenuClick:Oe})),provide(`${SUB_MENU_INJECTION_KEY}${g.uid}`,{addSubMenu:Lt,removeSubMenu:jt,mouseInChild:At,level:0})}onMounted(()=>{n.mode==="horizontal"&&new Menu$1(g.vnode.el,ie.namespace.value)}),i({open:jt=>{const{indexPath:hn}=pe.value[jt];hn.forEach(vn=>xe(vn,hn))},close:Ie,updateActiveIndex:Ve,handleResize:Et});const Dt=useMenuCssVar(n,0);return()=>{var Lt,jt;let hn=(jt=(Lt=r.default)==null?void 0:Lt.call(r))!=null?jt:[];const vn=[];if(n.mode==="horizontal"&&V.value){const bn=flattedChildren(hn).filter(Tn=>(Tn==null?void 0:Tn.shapeFlag)!==8),Cn=le.value===-1?bn:bn.slice(0,le.value),Sn=le.value===-1?[]:bn.slice(le.value);Sn!=null&&Sn.length&&n.ellipsis&&(hn=Cn,vn.push(h$1(SubMenu,{ref:re,index:"sub-menu-more",class:ae.e("hide-arrow"),popperOffset:n.popperOffset},{title:()=>h$1(ElIcon,{class:ae.e("icon-more")},{default:()=>h$1(n.ellipsisIcon)}),default:()=>Sn})))}const _n=n.closeOnClickOutside?[[ClickOutside,()=>{ue.value.length&&(At.value||(ue.value.forEach(bn=>t("close",bn,ze(bn))),ue.value=[]))}]]:[],wn=withDirectives(h$1("ul",{key:String(n.collapse),role:"menubar",ref:V,style:Dt.value,class:{[ie.b()]:!0,[ie.m(n.mode)]:!0,[ie.m("collapse")]:n.collapse}},[...hn,...vn]),_n);return n.collapseTransition&&n.mode==="vertical"?h$1(ElMenuCollapseTransition,()=>wn):wn}}});const menuItemProps=buildProps({index:{type:definePropType([String,null]),default:null},route:{type:definePropType([String,Object])},disabled:Boolean}),menuItemEmits={click:n=>isString$2(n.index)&&isArray$5(n.indexPath)},COMPONENT_NAME$a="ElMenuItem",_sfc_main$1t=defineComponent({name:COMPONENT_NAME$a,__name:"menu-item",props:menuItemProps,emits:menuItemEmits,setup(n,{expose:t,emit:r}){const i=n,g=r;isPropAbsent(i.index)&&void 0;const $=getCurrentInstance(),V=inject(MENU_INJECTION_KEY),re=useNamespace("menu"),ie=useNamespace("menu-item");V||throwError$1(COMPONENT_NAME$a,"can not inject root menu");const{parentMenu:ae,indexPath:oe}=useMenu($,toRef$1(i,"index")),le=inject(`${SUB_MENU_INJECTION_KEY}${ae.value.uid}`);le||throwError$1(COMPONENT_NAME$a,"can not inject sub menu");const ue=computed(()=>i.index===V.activeIndex),de=reactive({index:i.index,indexPath:oe,active:ue}),he=()=>{i.disabled||(V.handleMenuItemClick({index:i.index,indexPath:oe.value,route:i.route}),g("click",de))};return onMounted(()=>{le.addSubMenu(de),V.addMenuItem(de)}),onBeforeUnmount(()=>{le.removeSubMenu(de),V.removeMenuItem(de)}),t({parentMenu:ae,rootMenu:V,active:ue,nsMenu:re,nsMenuItem:ie,handleClick:he}),(pe,_e)=>(openBlock(),createElementBlock("li",{class:normalizeClass([unref(ie).b(),unref(ie).is("active",ue.value),unref(ie).is("disabled",pe.disabled)]),role:"menuitem",tabindex:"-1",onClick:he},[unref(ae).type.name==="ElMenu"&&unref(V).props.collapse&&pe.$slots.title?(openBlock(),createBlock(unref(ElTooltip),{key:0,effect:unref(V).props.popperEffect,placement:"right","fallback-placements":["left"],"popper-class":unref(V).props.popperClass,"popper-style":unref(V).props.popperStyle,persistent:unref(V).props.persistent,"focus-on-target":""},{content:withCtx(()=>[renderSlot(pe.$slots,"title")]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(unref(re).be("tooltip","trigger"))},[renderSlot(pe.$slots,"default")],2)]),_:3},8,["effect","popper-class","popper-style","persistent"])):(openBlock(),createElementBlock(Fragment,{key:1},[renderSlot(pe.$slots,"default"),renderSlot(pe.$slots,"title")],64))],2))}});var MenuItem=_export_sfc(_sfc_main$1t,[["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item.vue"]]);const menuItemGroupProps={title:String},_sfc_main$1s=defineComponent({name:"ElMenuItemGroup",__name:"menu-item-group",props:menuItemGroupProps,setup(n){const t=useNamespace("menu-item-group");return(r,i)=>(openBlock(),createElementBlock("li",{class:normalizeClass(unref(t).b())},[createBaseVNode("div",{class:normalizeClass(unref(t).e("title"))},[r.$slots.title?renderSlot(r.$slots,"title",{key:1}):(openBlock(),createElementBlock(Fragment,{key:0},[createTextVNode(toDisplayString(r.title),1)],64))],2),createBaseVNode("ul",null,[renderSlot(r.$slots,"default")])],2))}});var MenuItemGroup=_export_sfc(_sfc_main$1s,[["__file","/home/runner/work/element-plus/element-plus/packages/components/menu/src/menu-item-group.vue"]]);const ElMenu=withInstall(Menu,{MenuItem,MenuItemGroup,SubMenu}),ElMenuItem=withNoopInstall(MenuItem),ElMenuItemGroup=withNoopInstall(MenuItemGroup),ElSubMenu=withNoopInstall(SubMenu),pageHeaderProps=buildProps({icon:{type:iconPropType,default:()=>back_default},title:String,content:{type:String,default:""}}),pageHeaderEmits={back:()=>!0},_hoisted_1$T=["aria-label"],_sfc_main$1r=defineComponent({name:"ElPageHeader",__name:"page-header",props:pageHeaderProps,emits:pageHeaderEmits,setup(n,{emit:t}){const r=t,{t:i}=useLocale(),g=useNamespace("page-header");function $(){r("back")}return(V,re)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(g).b(),unref(g).is("contentful",!!V.$slots.default),{[unref(g).m("has-breadcrumb")]:!!V.$slots.breadcrumb,[unref(g).m("has-extra")]:!!V.$slots.extra}])},[V.$slots.breadcrumb?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(g).e("breadcrumb"))},[renderSlot(V.$slots,"breadcrumb")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(g).e("header"))},[createBaseVNode("div",{class:normalizeClass(unref(g).e("left"))},[createBaseVNode("div",{class:normalizeClass(unref(g).e("back")),role:"button",tabindex:"0",onClick:$},[V.icon||V.$slots.icon?(openBlock(),createElementBlock("div",{key:0,"aria-label":V.title||unref(i)("el.pageHeader.title"),class:normalizeClass(unref(g).e("icon"))},[renderSlot(V.$slots,"icon",{},()=>[V.icon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(V.icon)))]),_:1})):createCommentVNode("v-if",!0)])],10,_hoisted_1$T)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(g).e("title"))},[renderSlot(V.$slots,"title",{},()=>[createTextVNode(toDisplayString(V.title||unref(i)("el.pageHeader.title")),1)])],2)],2),createVNode$1(unref(ElDivider),{direction:"vertical"}),createBaseVNode("div",{class:normalizeClass(unref(g).e("content"))},[renderSlot(V.$slots,"content",{},()=>[createTextVNode(toDisplayString(V.content),1)])],2)],2),V.$slots.extra?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(g).e("extra"))},[renderSlot(V.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2),V.$slots.default?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(g).e("main"))},[renderSlot(V.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var PageHeader=_export_sfc(_sfc_main$1r,[["__file","/home/runner/work/element-plus/element-plus/packages/components/page-header/src/page-header.vue"]]);const ElPageHeader=withInstall(PageHeader),elPaginationKey=Symbol("elPaginationKey"),paginationPrevProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},prevText:{type:String},prevIcon:{type:iconPropType}}),paginationPrevEmits={click:n=>n instanceof MouseEvent},_hoisted_1$S=["disabled","aria-label","aria-disabled"],_hoisted_2$B={key:0},_sfc_main$1q=defineComponent({name:"ElPaginationPrev",__name:"prev",props:paginationPrevProps,emits:paginationPrevEmits,setup(n){const t=n,{t:r}=useLocale(),i=computed(()=>t.disabled||t.currentPage<=1);return(g,$)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-prev",disabled:i.value,"aria-label":g.prevText||unref(r)("el.pagination.prev"),"aria-disabled":i.value,onClick:$[0]||($[0]=V=>g.$emit("click",V))},[g.prevText?(openBlock(),createElementBlock("span",_hoisted_2$B,toDisplayString(g.prevText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(g.prevIcon)))]),_:1}))],8,_hoisted_1$S))}});var Prev=_export_sfc(_sfc_main$1q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/prev.vue"]]);const paginationNextProps=buildProps({disabled:Boolean,currentPage:{type:Number,default:1},pageCount:{type:Number,default:50},nextText:{type:String},nextIcon:{type:iconPropType}}),_hoisted_1$R=["disabled","aria-label","aria-disabled"],_hoisted_2$A={key:0},_sfc_main$1p=defineComponent({name:"ElPaginationNext",__name:"next",props:paginationNextProps,emits:["click"],setup(n){const t=n,{t:r}=useLocale(),i=computed(()=>t.disabled||t.currentPage===t.pageCount||t.pageCount===0);return(g,$)=>(openBlock(),createElementBlock("button",{type:"button",class:"btn-next",disabled:i.value,"aria-label":g.nextText||unref(r)("el.pagination.next"),"aria-disabled":i.value,onClick:$[0]||($[0]=V=>g.$emit("click",V))},[g.nextText?(openBlock(),createElementBlock("span",_hoisted_2$A,toDisplayString(g.nextText),1)):(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(g.nextIcon)))]),_:1}))],8,_hoisted_1$R))}});var Next=_export_sfc(_sfc_main$1p,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/next.vue"]]);const usePagination=()=>inject(elPaginationKey,{}),paginationSizesProps=buildProps({pageSize:{type:Number,required:!0},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String},popperStyle:{type:definePropType([String,Object])},disabled:Boolean,teleported:Boolean,size:{type:String,values:componentSizes},appendSizeTo:String}),_sfc_main$1o=defineComponent({name:"ElPaginationSizes",__name:"sizes",props:paginationSizesProps,emits:["page-size-change"],setup(n,{emit:t}){const r=n,i=t,{t:g}=useLocale(),$=useNamespace("pagination"),V=usePagination(),re=ref(r.pageSize);watch(()=>r.pageSizes,(oe,le)=>{if(!isEqual$1(oe,le)&&isArray$5(oe)){const ue=oe.includes(r.pageSize)?r.pageSize:r.pageSizes[0];i("page-size-change",ue)}}),watch(()=>r.pageSize,oe=>{re.value=oe});const ie=computed(()=>r.pageSizes);function ae(oe){var le;oe!==re.value&&(re.value=oe,(le=V.handleSizeChange)==null||le.call(V,Number(oe)))}return(oe,le)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref($).e("sizes"))},[createVNode$1(unref(ElSelect),{"model-value":re.value,disabled:oe.disabled,"popper-class":oe.popperClass,"popper-style":oe.popperStyle,size:oe.size,teleported:oe.teleported,"validate-event":!1,"append-to":oe.appendSizeTo,onChange:ae},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(ie.value,ue=>(openBlock(),createBlock(unref(ElOption),{key:ue,value:ue,label:ue+unref(g)("el.pagination.pagesize")},null,8,["value","label"]))),128))]),_:1},8,["model-value","disabled","popper-class","popper-style","size","teleported","append-to"])],2))}});var Sizes=_export_sfc(_sfc_main$1o,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/sizes.vue"]]);const paginationJumperProps=buildProps({size:{type:String,values:componentSizes}}),_hoisted_1$Q=["disabled"],_sfc_main$1n=defineComponent({name:"ElPaginationJumper",__name:"jumper",props:paginationJumperProps,setup(n){const{t}=useLocale(),r=useNamespace("pagination"),{pageCount:i,disabled:g,currentPage:$,changeEvent:V}=usePagination(),re=ref(),ie=computed(()=>{var le;return(le=re.value)!=null?le:$==null?void 0:$.value});function ae(le){re.value=le?+le:""}function oe(le){le=Math.trunc(+le),V==null||V(le),re.value=void 0}return(le,ue)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(r).e("jump")),disabled:unref(g)},[createBaseVNode("span",{class:normalizeClass([unref(r).e("goto")])},toDisplayString(unref(t)("el.pagination.goto")),3),createVNode$1(unref(ElInput),{size:le.size,class:normalizeClass([unref(r).e("editor"),unref(r).is("in-pagination")]),min:1,max:unref(i),disabled:unref(g),"model-value":ie.value,"validate-event":!1,"aria-label":unref(t)("el.pagination.page"),type:"number","onUpdate:modelValue":ae,onChange:oe},null,8,["size","class","max","disabled","model-value","aria-label"]),createBaseVNode("span",{class:normalizeClass([unref(r).e("classifier")])},toDisplayString(unref(t)("el.pagination.pageClassifier")),3)],10,_hoisted_1$Q))}});var Jumper=_export_sfc(_sfc_main$1n,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/jumper.vue"]]);const paginationTotalProps=buildProps({total:{type:Number,default:1e3}}),_hoisted_1$P=["disabled"],_sfc_main$1m=defineComponent({name:"ElPaginationTotal",__name:"total",props:paginationTotalProps,setup(n){const{t}=useLocale(),r=useNamespace("pagination"),{disabled:i}=usePagination();return(g,$)=>(openBlock(),createElementBlock("span",{class:normalizeClass(unref(r).e("total")),disabled:unref(i)},toDisplayString(unref(t)("el.pagination.total",{total:g.total})),11,_hoisted_1$P))}});var Total=_export_sfc(_sfc_main$1m,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/total.vue"]]);const paginationPagerProps=buildProps({currentPage:{type:Number,default:1},pageCount:{type:Number,required:!0},pagerCount:{type:Number,default:7},disabled:Boolean}),_hoisted_1$O=["aria-current","aria-label","tabindex"],_hoisted_2$z=["tabindex","aria-label"],_hoisted_3$f=["aria-current","aria-label","tabindex"],_hoisted_4$b=["tabindex","aria-label"],_hoisted_5$4=["aria-current","aria-label","tabindex"],_sfc_main$1l=defineComponent({name:"ElPaginationPager",__name:"pager",props:paginationPagerProps,emits:[CHANGE_EVENT],setup(n,{emit:t}){const r=n,i=t,g=useNamespace("pager"),$=useNamespace("icon"),{t:V}=useLocale(),re=ref(!1),ie=ref(!1),ae=ref(!1),oe=ref(!1),le=ref(!1),ue=ref(!1),de=computed(()=>{const Oe=r.pagerCount,$e=(Oe-1)/2,Ve=Number(r.currentPage),Ue=Number(r.pageCount);let Fe=!1,ze=!1;Ue>Oe&&(Ve>Oe-$e&&(Fe=!0),Ve["more","btn-quickprev",$.b(),g.is("disabled",r.disabled)]),pe=computed(()=>["more","btn-quicknext",$.b(),g.is("disabled",r.disabled)]),_e=computed(()=>r.disabled?-1:0);watch(()=>[r.pageCount,r.pagerCount,r.currentPage],([Oe,$e,Ve])=>{const Ue=($e-1)/2;let Fe=!1,ze=!1;Oe>$e&&(Fe=Ve>$e-Ue,ze=VeUe&&(Ve=Ue)),Ve!==Fe&&i(CHANGE_EVENT,Ve)}return(Oe,$e)=>(openBlock(),createElementBlock("ul",{class:normalizeClass(unref(g).b()),onClick:Ne,onKeyup:withKeys(Ie,["enter"])},[Oe.pageCount>0?(openBlock(),createElementBlock("li",{key:0,class:normalizeClass([[unref(g).is("active",Oe.currentPage===1),unref(g).is("disabled",Oe.disabled)],"number"]),"aria-current":Oe.currentPage===1,"aria-label":unref(V)("el.pagination.currentPage",{pager:1}),tabindex:_e.value}," 1 ",10,_hoisted_1$O)):createCommentVNode("v-if",!0),re.value?(openBlock(),createElementBlock("li",{key:1,class:normalizeClass(he.value),tabindex:_e.value,"aria-label":unref(V)("el.pagination.prevPages",{pager:Oe.pagerCount-2}),onMouseenter:$e[0]||($e[0]=Ve=>Ce(!0)),onMouseleave:$e[1]||($e[1]=Ve=>ae.value=!1),onFocus:$e[2]||($e[2]=Ve=>xe(!0)),onBlur:$e[3]||($e[3]=Ve=>le.value=!1)},[(ae.value||le.value)&&!Oe.disabled?(openBlock(),createBlock(unref(d_arrow_left_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_2$z)):createCommentVNode("v-if",!0),(openBlock(!0),createElementBlock(Fragment,null,renderList(de.value,Ve=>(openBlock(),createElementBlock("li",{key:Ve,class:normalizeClass([[unref(g).is("active",Oe.currentPage===Ve),unref(g).is("disabled",Oe.disabled)],"number"]),"aria-current":Oe.currentPage===Ve,"aria-label":unref(V)("el.pagination.currentPage",{pager:Ve}),tabindex:_e.value},toDisplayString(Ve),11,_hoisted_3$f))),128)),ie.value?(openBlock(),createElementBlock("li",{key:2,class:normalizeClass(pe.value),tabindex:_e.value,"aria-label":unref(V)("el.pagination.nextPages",{pager:Oe.pagerCount-2}),onMouseenter:$e[4]||($e[4]=Ve=>Ce()),onMouseleave:$e[5]||($e[5]=Ve=>oe.value=!1),onFocus:$e[6]||($e[6]=Ve=>xe()),onBlur:$e[7]||($e[7]=Ve=>ue.value=!1)},[(oe.value||ue.value)&&!Oe.disabled?(openBlock(),createBlock(unref(d_arrow_right_default),{key:0})):(openBlock(),createBlock(unref(more_filled_default),{key:1}))],42,_hoisted_4$b)):createCommentVNode("v-if",!0),Oe.pageCount>1?(openBlock(),createElementBlock("li",{key:3,class:normalizeClass([[unref(g).is("active",Oe.currentPage===Oe.pageCount),unref(g).is("disabled",Oe.disabled)],"number"]),"aria-current":Oe.currentPage===Oe.pageCount,"aria-label":unref(V)("el.pagination.currentPage",{pager:Oe.pageCount}),tabindex:_e.value},toDisplayString(Oe.pageCount),11,_hoisted_5$4)):createCommentVNode("v-if",!0)],34))}});var Pager=_export_sfc(_sfc_main$1l,[["__file","/home/runner/work/element-plus/element-plus/packages/components/pagination/src/components/pager.vue"]]);const isAbsent=n=>typeof n!="number",paginationProps=buildProps({pageSize:Number,defaultPageSize:Number,total:Number,pageCount:Number,pagerCount:{type:Number,validator:n=>isNumber$2(n)&&Math.trunc(n)===n&&n>4&&n<22&&n%2===1,default:7},currentPage:Number,defaultCurrentPage:Number,layout:{type:String,default:["prev","pager","next","jumper","->","total"].join(", ")},pageSizes:{type:definePropType(Array),default:()=>mutable([10,20,30,40,50,100])},popperClass:{type:String,default:""},popperStyle:{type:definePropType([String,Object])},prevText:{type:String,default:""},prevIcon:{type:iconPropType,default:()=>arrow_left_default},nextText:{type:String,default:""},nextIcon:{type:iconPropType,default:()=>arrow_right_default},teleported:{type:Boolean,default:!0},small:Boolean,size:useSizeProp,background:Boolean,disabled:Boolean,hideOnSinglePage:Boolean,appendSizeTo:String}),paginationEmits={"update:current-page":n=>isNumber$2(n),"update:page-size":n=>isNumber$2(n),"size-change":n=>isNumber$2(n),change:(n,t)=>isNumber$2(n)&&isNumber$2(t),"current-change":n=>isNumber$2(n),"prev-click":n=>isNumber$2(n),"next-click":n=>isNumber$2(n)},componentName="ElPagination";var Pagination=defineComponent({name:componentName,props:paginationProps,emits:paginationEmits,setup(n,{emit:t,slots:r}){const{t:i}=useLocale(),g=useNamespace("pagination"),$=getCurrentInstance().vnode.props||{},V=useGlobalSize(),re=computed(()=>{var Oe;return n.small?"small":(Oe=n.size)!=null?Oe:V.value});useDeprecated({from:"small",replacement:"size",version:"3.0.0",scope:"el-pagination",ref:"https://element-plus.org/zh-CN/component/pagination.html"},computed(()=>!!n.small));const ie="onUpdate:currentPage"in $||"onUpdate:current-page"in $||"onCurrentChange"in $,ae="onUpdate:pageSize"in $||"onUpdate:page-size"in $||"onSizeChange"in $,oe=computed(()=>{if(isAbsent(n.total)&&isAbsent(n.pageCount)||!isAbsent(n.currentPage)&&!ie)return!1;if(n.layout.includes("sizes")){if(isAbsent(n.pageCount)){if(!isAbsent(n.total)&&!isAbsent(n.pageSize)&&!ae)return!1}else if(!ae)return!1}return!0}),le=ref(isAbsent(n.defaultPageSize)?10:n.defaultPageSize),ue=ref(isAbsent(n.defaultCurrentPage)?1:n.defaultCurrentPage),de=computed({get(){return isAbsent(n.pageSize)?le.value:n.pageSize},set(Oe){isAbsent(n.pageSize)&&(le.value=Oe),ae&&(t("update:page-size",Oe),t("size-change",Oe))}}),he=computed(()=>{let Oe=0;return isAbsent(n.pageCount)?isAbsent(n.total)||(Oe=Math.max(1,Math.ceil(n.total/de.value))):Oe=n.pageCount,Oe}),pe=computed({get(){return isAbsent(n.currentPage)?ue.value:n.currentPage},set(Oe){let $e=Oe;Oe<1?$e=1:Oe>he.value&&($e=he.value),isAbsent(n.currentPage)&&(ue.value=$e),ie&&(t("update:current-page",$e),t("current-change",$e))}});watch(he,Oe=>{pe.value>Oe&&(pe.value=Oe)}),watch([pe,de],Oe=>{t(CHANGE_EVENT,...Oe)},{flush:"post"});function _e(Oe){pe.value=Oe}function Ce(Oe){de.value=Oe;const $e=he.value;pe.value>$e&&(pe.value=$e)}function xe(){n.disabled||(pe.value-=1,t("prev-click",pe.value))}function Ie(){n.disabled||(pe.value+=1,t("next-click",pe.value))}function Ne(Oe,$e){Oe&&(Oe.props||(Oe.props={}),Oe.props.class=[Oe.props.class,$e].join(" "))}return provide(elPaginationKey,{pageCount:he,disabled:computed(()=>n.disabled),currentPage:pe,changeEvent:_e,handleSizeChange:Ce}),()=>{var Oe,$e;if(!oe.value)return i("el.pagination.deprecationWarning"),null;if(!n.layout||n.hideOnSinglePage&&he.value<=1)return null;const Ve=[],Ue=[],Fe=h$1("div",{class:g.e("rightwrapper")},Ue),ze={prev:h$1(Prev,{disabled:n.disabled,currentPage:pe.value,prevText:n.prevText,prevIcon:n.prevIcon,onClick:xe}),jumper:h$1(Jumper,{size:re.value}),pager:h$1(Pager,{currentPage:pe.value,pageCount:he.value,pagerCount:n.pagerCount,onChange:_e,disabled:n.disabled}),next:h$1(Next,{disabled:n.disabled,currentPage:pe.value,pageCount:he.value,nextText:n.nextText,nextIcon:n.nextIcon,onClick:Ie}),sizes:h$1(Sizes,{pageSize:de.value,pageSizes:n.pageSizes,popperClass:n.popperClass,popperStyle:n.popperStyle,disabled:n.disabled,teleported:n.teleported,size:re.value,appendSizeTo:n.appendSizeTo}),slot:($e=(Oe=r==null?void 0:r.default)==null?void 0:Oe.call(r))!=null?$e:null,total:h$1(Total,{total:isAbsent(n.total)?0:n.total})},Pt=n.layout.split(",").map(Et=>Et.trim());let qe=!1;return Pt.forEach(Et=>{if(Et==="->"){qe=!0;return}qe?Ue.push(ze[Et]):Ve.push(ze[Et])}),Ne(Ve[0],g.is("first")),Ne(Ve[Ve.length-1],g.is("last")),qe&&Ue.length>0&&(Ne(Ue[0],g.is("first")),Ne(Ue[Ue.length-1],g.is("last")),Ve.push(Fe)),h$1("div",{class:[g.b(),g.is("background",n.background),g.m(re.value)]},Ve)}}});const ElPagination=withInstall(Pagination),popconfirmProps=buildProps({title:String,confirmButtonText:String,cancelButtonText:String,confirmButtonType:{type:String,values:buttonTypes,default:"primary"},cancelButtonType:{type:String,values:buttonTypes,default:"text"},icon:{type:iconPropType,default:()=>question_filled_default},iconColor:{type:String,default:"#f90"},hideIcon:Boolean,hideAfter:{type:Number,default:200},effect:{...useTooltipContentProps.effect,default:"light"},teleported:useTooltipContentProps.teleported,persistent:useTooltipContentProps.persistent,width:{type:[String,Number],default:150},virtualTriggering:useTooltipTriggerProps.virtualTriggering,virtualRef:useTooltipTriggerProps.virtualRef}),popconfirmEmits={confirm:n=>n instanceof MouseEvent,cancel:n=>n instanceof MouseEvent},_sfc_main$1k=defineComponent({name:"ElPopconfirm",__name:"popconfirm",props:popconfirmProps,emits:popconfirmEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,{t:$}=useLocale(),V=useNamespace("popconfirm"),re=ref(),ie=ref(),ae=computed(()=>{var Ce;return(Ce=unref(re))==null?void 0:Ce.popperRef}),oe=()=>{var Ce,xe;(xe=(Ce=ie.value)==null?void 0:Ce.focus)==null||xe.call(Ce)},le=()=>{var Ce,xe;(xe=(Ce=re.value)==null?void 0:Ce.onClose)==null||xe.call(Ce)},ue=computed(()=>({width:addUnit(i.width)})),de=Ce=>{g("confirm",Ce),le()},he=Ce=>{g("cancel",Ce),le()},pe=computed(()=>i.confirmButtonText||$("el.popconfirm.confirmButtonText")),_e=computed(()=>i.cancelButtonText||$("el.popconfirm.cancelButtonText"));return t({popperRef:ae,hide:le}),(Ce,xe)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:re,trigger:"click",effect:Ce.effect},Ce.$attrs,{"virtual-triggering":Ce.virtualTriggering,"virtual-ref":Ce.virtualRef,"popper-class":`${unref(V).namespace.value}-popover`,"popper-style":ue.value,teleported:Ce.teleported,"fallback-placements":["bottom","top","right","left"],"hide-after":Ce.hideAfter,persistent:Ce.persistent,loop:"",onShow:oe}),{content:withCtx(()=>[createBaseVNode("div",{ref_key:"rootRef",ref:ie,tabindex:"-1",class:normalizeClass(unref(V).b())},[createBaseVNode("div",{class:normalizeClass(unref(V).e("main"))},[!Ce.hideIcon&&Ce.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(V).e("icon")),style:normalizeStyle$1({color:Ce.iconColor})},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ce.icon)))]),_:1},8,["class","style"])):createCommentVNode("v-if",!0),createTextVNode(" "+toDisplayString(Ce.title),1)],2),createBaseVNode("div",{class:normalizeClass(unref(V).e("action"))},[renderSlot(Ce.$slots,"actions",{confirm:de,cancel:he},()=>[createVNode$1(unref(ElButton),{size:"small",type:Ce.cancelButtonType==="text"?"":Ce.cancelButtonType,text:Ce.cancelButtonType==="text",onClick:he},{default:withCtx(()=>[createTextVNode(toDisplayString(_e.value),1)]),_:1},8,["type","text"]),createVNode$1(unref(ElButton),{size:"small",type:Ce.confirmButtonType==="text"?"":Ce.confirmButtonType,text:Ce.confirmButtonType==="text",onClick:de},{default:withCtx(()=>[createTextVNode(toDisplayString(pe.value),1)]),_:1},8,["type","text"])])],2)],2)]),default:withCtx(()=>[Ce.$slots.reference?renderSlot(Ce.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["effect","virtual-triggering","virtual-ref","popper-class","popper-style","teleported","hide-after","persistent"]))}});var Popconfirm=_export_sfc(_sfc_main$1k,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popconfirm/src/popconfirm.vue"]]);const ElPopconfirm=withInstall(Popconfirm),popoverProps=buildProps({trigger:useTooltipTriggerProps.trigger,triggerKeys:useTooltipTriggerProps.triggerKeys,placement:dropdownProps.placement,disabled:useTooltipTriggerProps.disabled,visible:useTooltipContentProps.visible,transition:useTooltipContentProps.transition,popperOptions:dropdownProps.popperOptions,tabindex:dropdownProps.tabindex,content:useTooltipContentProps.content,popperStyle:useTooltipContentProps.popperStyle,popperClass:useTooltipContentProps.popperClass,enterable:{...useTooltipContentProps.enterable,default:!0},effect:{...useTooltipContentProps.effect,default:"light"},teleported:useTooltipContentProps.teleported,appendTo:useTooltipContentProps.appendTo,title:String,width:{type:[String,Number],default:150},offset:{type:Number,default:void 0},showAfter:{type:Number,default:0},hideAfter:{type:Number,default:200},autoClose:{type:Number,default:0},showArrow:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},"onUpdate:visible":{type:Function}}),popoverEmits={"update:visible":n=>isBoolean$1(n),"before-enter":()=>!0,"before-leave":()=>!0,"after-enter":()=>!0,"after-leave":()=>!0},updateEventKeyRaw="onUpdate:visible",_sfc_main$1j=defineComponent({name:"ElPopover",__name:"popover",props:popoverProps,emits:popoverEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=computed(()=>i[updateEventKeyRaw]),V=useNamespace("popover"),re=ref(),ie=computed(()=>{var Ce;return(Ce=unref(re))==null?void 0:Ce.popperRef}),ae=computed(()=>[{width:addUnit(i.width)},i.popperStyle]),oe=computed(()=>[V.b(),i.popperClass,{[V.m("plain")]:!!i.content}]),le=computed(()=>i.transition===`${V.namespace.value}-fade-in-linear`),ue=()=>{var Ce;(Ce=re.value)==null||Ce.hide()},de=()=>{g("before-enter")},he=()=>{g("before-leave")},pe=()=>{g("after-enter")},_e=()=>{g("update:visible",!1),g("after-leave")};return t({popperRef:ie,hide:ue}),(Ce,xe)=>(openBlock(),createBlock(unref(ElTooltip),mergeProps({ref_key:"tooltipRef",ref:re},Ce.$attrs,{trigger:Ce.trigger,"trigger-keys":Ce.triggerKeys,placement:Ce.placement,disabled:Ce.disabled,visible:Ce.visible,transition:Ce.transition,"popper-options":Ce.popperOptions,tabindex:Ce.tabindex,content:Ce.content,offset:Ce.offset,"show-after":Ce.showAfter,"hide-after":Ce.hideAfter,"auto-close":Ce.autoClose,"show-arrow":Ce.showArrow,"aria-label":Ce.title,effect:Ce.effect,enterable:Ce.enterable,"popper-class":oe.value,"popper-style":ae.value,teleported:Ce.teleported,"append-to":Ce.appendTo,persistent:Ce.persistent,"gpu-acceleration":le.value,"onUpdate:visible":$.value,onBeforeShow:de,onBeforeHide:he,onShow:pe,onHide:_e}),{content:withCtx(()=>[Ce.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(V).e("title")),role:"title"},toDisplayString(Ce.title),3)):createCommentVNode("v-if",!0),renderSlot(Ce.$slots,"default",{},()=>[createTextVNode(toDisplayString(Ce.content),1)])]),default:withCtx(()=>[Ce.$slots.reference?renderSlot(Ce.$slots,"reference",{key:0}):createCommentVNode("v-if",!0)]),_:3},16,["trigger","trigger-keys","placement","disabled","visible","transition","popper-options","tabindex","content","offset","show-after","hide-after","auto-close","show-arrow","aria-label","effect","enterable","popper-class","popper-style","teleported","append-to","persistent","gpu-acceleration","onUpdate:visible"]))}});var Popover=_export_sfc(_sfc_main$1j,[["__file","/home/runner/work/element-plus/element-plus/packages/components/popover/src/popover.vue"]]);const attachEvents=(n,t)=>{const r=t.arg||t.value,i=r==null?void 0:r.popperRef;i&&(i.triggerRef=n)};var PopoverDirective={mounted(n,t){attachEvents(n,t)},updated(n,t){attachEvents(n,t)}};const VPopover="popover",ElPopoverDirective=withInstallDirective(PopoverDirective,VPopover),ElPopover=withInstall(Popover,{directive:ElPopoverDirective}),progressProps=buildProps({type:{type:String,default:"line",values:["line","circle","dashboard"]},percentage:{type:Number,default:0,validator:n=>n>=0&&n<=100},status:{type:String,default:"",values:["","success","exception","warning"]},indeterminate:Boolean,duration:{type:Number,default:3},strokeWidth:{type:Number,default:6},strokeLinecap:{type:definePropType(String),default:"round"},textInside:Boolean,width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:definePropType([String,Array,Function]),default:""},striped:Boolean,stripedFlow:Boolean,format:{type:definePropType(Function),default:n=>`${n}%`}}),_hoisted_1$N=["aria-valuenow"],_hoisted_2$y={viewBox:"0 0 100 100"},_hoisted_3$e=["d","stroke","stroke-linecap","stroke-width"],_hoisted_4$a=["d","stroke","opacity","stroke-linecap","stroke-width"],_hoisted_5$3={key:0},_sfc_main$1i=defineComponent({name:"ElProgress",__name:"progress",props:progressProps,setup(n){const t={success:"#13ce66",exception:"#ff4949",warning:"#e6a23c",default:"#20a0ff"},r=n,i=useNamespace("progress"),g=computed(()=>{const Ie={width:`${r.percentage}%`,animationDuration:`${r.duration}s`},Ne=xe(r.percentage);return Ne.includes("gradient")?Ie.background=Ne:Ie.backgroundColor=Ne,Ie}),$=computed(()=>(r.strokeWidth/r.width*100).toFixed(1)),V=computed(()=>["circle","dashboard"].includes(r.type)?Number.parseInt(`${50-Number.parseFloat($.value)/2}`,10):0),re=computed(()=>{const Ie=V.value,Ne=r.type==="dashboard";return` - M 50 50 - m 0 ${Ne?"":"-"}${Ie} - a ${Ie} ${Ie} 0 1 1 0 ${Ne?"-":""}${Ie*2} - a ${Ie} ${Ie} 0 1 1 0 ${Ne?"":"-"}${Ie*2} - `}),ie=computed(()=>2*Math.PI*V.value),ae=computed(()=>r.type==="dashboard"?.75:1),oe=computed(()=>`${-1*ie.value*(1-ae.value)/2}px`),le=computed(()=>({strokeDasharray:`${ie.value*ae.value}px, ${ie.value}px`,strokeDashoffset:oe.value})),ue=computed(()=>({strokeDasharray:`${ie.value*ae.value*(r.percentage/100)}px, ${ie.value}px`,strokeDashoffset:oe.value,transition:"stroke-dasharray 0.6s ease 0s, stroke 0.6s ease, opacity ease 0.6s"})),de=computed(()=>{let Ie;return r.color?Ie=xe(r.percentage):Ie=t[r.status]||t.default,Ie}),he=computed(()=>r.status==="warning"?warning_filled_default:r.type==="line"?r.status==="success"?circle_check_default:circle_close_default:r.status==="success"?check_default:close_default),pe=computed(()=>r.type==="line"?12+r.strokeWidth*.4:r.width*.111111+2),_e=computed(()=>r.format(r.percentage));function Ce(Ie){const Ne=100/Ie.length;return Ie.map(($e,Ve)=>isString$2($e)?{color:$e,percentage:(Ve+1)*Ne}:$e).sort(($e,Ve)=>$e.percentage-Ve.percentage)}const xe=Ie=>{var Ne;const{color:Oe}=r;if(isFunction$4(Oe))return Oe(Ie);if(isString$2(Oe))return Oe;{const $e=Ce(Oe);for(const Ve of $e)if(Ve.percentage>Ie)return Ve.color;return(Ne=$e[$e.length-1])==null?void 0:Ne.color}};return(Ie,Ne)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(i).b(),unref(i).m(Ie.type),unref(i).is(Ie.status),{[unref(i).m("without-text")]:!Ie.showText,[unref(i).m("text-inside")]:Ie.textInside}]),role:"progressbar","aria-valuenow":Ie.percentage,"aria-valuemin":"0","aria-valuemax":"100"},[Ie.type==="line"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).b("bar"))},[createBaseVNode("div",{class:normalizeClass(unref(i).be("bar","outer")),style:normalizeStyle$1({height:`${Ie.strokeWidth}px`})},[createBaseVNode("div",{class:normalizeClass([unref(i).be("bar","inner"),{[unref(i).bem("bar","inner","indeterminate")]:Ie.indeterminate},{[unref(i).bem("bar","inner","striped")]:Ie.striped},{[unref(i).bem("bar","inner","striped-flow")]:Ie.stripedFlow}]),style:normalizeStyle$1(g.value)},[(Ie.showText||Ie.$slots.default)&&Ie.textInside?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).be("bar","innerText"))},[renderSlot(Ie.$slots,"default",{percentage:Ie.percentage},()=>[createBaseVNode("span",null,toDisplayString(_e.value),1)])],2)):createCommentVNode("v-if",!0)],6)],6)],2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(i).b("circle")),style:normalizeStyle$1({height:`${Ie.width}px`,width:`${Ie.width}px`})},[(openBlock(),createElementBlock("svg",_hoisted_2$y,[createBaseVNode("path",{class:normalizeClass(unref(i).be("circle","track")),d:re.value,stroke:`var(${unref(i).cssVarName("fill-color-light")}, #e5e9f2)`,"stroke-linecap":Ie.strokeLinecap,"stroke-width":$.value,fill:"none",style:normalizeStyle$1(le.value)},null,14,_hoisted_3$e),createBaseVNode("path",{class:normalizeClass(unref(i).be("circle","path")),d:re.value,stroke:de.value,fill:"none",opacity:Ie.percentage?1:0,"stroke-linecap":Ie.strokeLinecap,"stroke-width":$.value,style:normalizeStyle$1(ue.value)},null,14,_hoisted_4$a)]))],6)),(Ie.showText||Ie.$slots.default)&&!Ie.textInside?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(i).e("text")),style:normalizeStyle$1({fontSize:`${pe.value}px`})},[renderSlot(Ie.$slots,"default",{percentage:Ie.percentage},()=>[Ie.status?(openBlock(),createBlock(unref(ElIcon),{key:1},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(he.value)))]),_:1})):(openBlock(),createElementBlock("span",_hoisted_5$3,toDisplayString(_e.value),1))])],6)):createCommentVNode("v-if",!0)],10,_hoisted_1$N))}});var Progress=_export_sfc(_sfc_main$1i,[["__file","/home/runner/work/element-plus/element-plus/packages/components/progress/src/progress.vue"]]);const ElProgress=withInstall(Progress),rateProps=buildProps({modelValue:{type:Number,default:0},id:{type:String,default:void 0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:definePropType([Array,Object]),default:()=>mutable(["","",""])},voidColor:{type:String,default:""},disabledVoidColor:{type:String,default:""},icons:{type:definePropType([Array,Object]),default:()=>[star_filled_default,star_filled_default,star_filled_default]},voidIcon:{type:iconPropType,default:()=>star_default},disabledVoidIcon:{type:iconPropType,default:()=>star_filled_default},disabled:{type:Boolean,default:void 0},allowHalf:Boolean,showText:Boolean,showScore:Boolean,textColor:{type:String,default:""},texts:{type:definePropType(Array),default:()=>mutable(["Extremely bad","Disappointed","Fair","Satisfied","Surprise"])},scoreTemplate:{type:String,default:"{value}"},size:useSizeProp,clearable:Boolean,...useAriaProps(["ariaLabel"])}),rateEmits={[CHANGE_EVENT]:n=>isNumber$2(n),[UPDATE_MODEL_EVENT]:n=>isNumber$2(n)},_hoisted_1$M=["id","aria-label","aria-labelledby","aria-valuenow","aria-valuetext","aria-valuemax"],_hoisted_2$x=["onMousemove","onClick"],_sfc_main$1h=defineComponent({name:"ElRate",__name:"rate",props:rateProps,emits:rateEmits,setup(n,{expose:t,emit:r}){function i(jt,hn){const vn=bn=>isObject$6(bn),_n=Object.keys(hn).map(bn=>+bn).filter(bn=>{const Cn=hn[bn];return(vn(Cn)?Cn.excluded:!1)?jtbn-Cn),wn=hn[_n[0]];return vn(wn)&&wn.value||wn}const g=n,$=r,V=inject(formItemContextKey,void 0),re=useFormSize(),ie=useNamespace("rate"),{inputId:ae,isLabeledByFormItem:oe}=useFormItemInputId(g,{formItemContext:V}),le=ref(g.modelValue),ue=ref(-1),de=ref(!0),he=ref([]),pe=computed(()=>he.value.map(jt=>jt.$el.clientWidth)),_e=computed(()=>[ie.b(),ie.m(re.value)]),Ce=useFormDisabled(),xe=computed(()=>ie.cssVarBlock({"void-color":g.voidColor,"disabled-void-color":g.disabledVoidColor,"fill-color":$e.value})),Ie=computed(()=>{let jt="";return g.showScore?jt=g.scoreTemplate.replace(/\{\s*value\s*\}/,Ce.value?`${g.modelValue}`:`${le.value}`):g.showText&&(jt=g.texts[Math.ceil(le.value)-1]),jt}),Ne=computed(()=>g.modelValue*100-Math.floor(g.modelValue)*100),Oe=computed(()=>isArray$5(g.colors)?{[g.lowThreshold]:g.colors[0],[g.highThreshold]:{value:g.colors[1],excluded:!0},[g.max]:g.colors[2]}:g.colors),$e=computed(()=>{const jt=i(le.value,Oe.value);return isObject$6(jt)?"":jt}),Ve=computed(()=>{let jt="";return Ce.value?jt=`${Ne.value}%`:g.allowHalf&&(jt="50%"),{color:$e.value,width:jt}}),Ue=computed(()=>{let jt=isArray$5(g.icons)?[...g.icons]:{...g.icons};return jt=markRaw(jt),isArray$5(jt)?{[g.lowThreshold]:jt[0],[g.highThreshold]:{value:jt[1],excluded:!0},[g.max]:jt[2]}:jt}),Fe=computed(()=>i(g.modelValue,Ue.value)),ze=computed(()=>Ce.value?isString$2(g.disabledVoidIcon)?g.disabledVoidIcon:markRaw(g.disabledVoidIcon):isString$2(g.voidIcon)?g.voidIcon:markRaw(g.voidIcon)),Pt=computed(()=>i(le.value,Ue.value));function qe(jt){const hn=Ce.value&&Ne.value>0&&jt-1g.modelValue,vn=g.allowHalf&&de.value&&jt-.5<=le.value&&jt>le.value;return hn||vn}function Et(jt){g.clearable&&jt===g.modelValue&&(jt=0),$(UPDATE_MODEL_EVENT,jt),g.modelValue!==jt&&$(CHANGE_EVENT,jt)}function kt(jt){Ce.value||(g.allowHalf&&de.value?Et(le.value):Et(jt))}function At(jt){if(Ce.value)return;const hn=getEventCode(jt),vn=g.allowHalf?.5:1;let _n=le.value;switch(hn){case EVENT_CODE.up:case EVENT_CODE.right:_n+=vn;break;case EVENT_CODE.left:case EVENT_CODE.down:_n-=vn;break}if(_n=clamp$3(_n,0,g.max),_n!==le.value)return jt.stopPropagation(),jt.preventDefault(),$(UPDATE_MODEL_EVENT,_n),$(CHANGE_EVENT,_n),_n}function Dt(jt,hn){Ce.value||(g.allowHalf&&hn?(de.value=hn.offsetX*2<=pe.value[jt-1],le.value=de.value?jt-.5:jt):le.value=jt,ue.value=jt)}function Lt(){Ce.value||(g.allowHalf&&(de.value=g.modelValue!==Math.floor(g.modelValue)),le.value=g.modelValue,ue.value=-1)}return watch(()=>g.modelValue,jt=>{le.value=jt,de.value=g.modelValue!==Math.floor(g.modelValue)}),g.modelValue||$(UPDATE_MODEL_EVENT,0),t({setCurrentValue:Dt,resetCurrentValue:Lt}),(jt,hn)=>{var vn;return openBlock(),createElementBlock("div",{id:unref(ae),class:normalizeClass([_e.value,unref(ie).is("disabled",unref(Ce))]),role:"slider","aria-label":unref(oe)?void 0:jt.ariaLabel||"rating","aria-labelledby":unref(oe)?(vn=unref(V))==null?void 0:vn.labelId:void 0,"aria-valuenow":le.value,"aria-valuetext":Ie.value||void 0,"aria-valuemin":"0","aria-valuemax":jt.max,tabindex:"0",style:normalizeStyle$1(xe.value),onKeydown:At},[(openBlock(!0),createElementBlock(Fragment,null,renderList(jt.max,(_n,wn)=>(openBlock(),createElementBlock("span",{key:wn,class:normalizeClass(unref(ie).e("item")),onMousemove:bn=>Dt(_n,bn),onMouseleave:Lt,onClick:bn=>kt(_n)},[createVNode$1(unref(ElIcon),{ref_for:!0,ref_key:"iconRefs",ref:he,class:normalizeClass([unref(ie).e("icon"),{hover:ue.value===_n},unref(ie).is("active",_n<=le.value),unref(ie).is("focus-visible",_n===Math.ceil(le.value||1))])},{default:withCtx(()=>[withDirectives((openBlock(),createBlock(resolveDynamicComponent(Pt.value),null,null,512)),[[vShow,!qe(_n)&&_n<=le.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(ze.value),null,null,512)),[[vShow,!qe(_n)&&_n>le.value]]),withDirectives((openBlock(),createBlock(resolveDynamicComponent(ze.value),{class:normalizeClass([unref(ie).em("decimal","box")])},null,8,["class"])),[[vShow,qe(_n)]]),withDirectives(createVNode$1(unref(ElIcon),{style:normalizeStyle$1(Ve.value),class:normalizeClass([unref(ie).e("icon"),unref(ie).e("decimal")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Fe.value)))]),_:1},8,["style","class"]),[[vShow,qe(_n)]])]),_:2},1032,["class"])],42,_hoisted_2$x))),128)),jt.showText||jt.showScore?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref(ie).e("text")),style:normalizeStyle$1({color:jt.textColor})},toDisplayString(Ie.value),7)):createCommentVNode("v-if",!0)],46,_hoisted_1$M)}}});var Rate=_export_sfc(_sfc_main$1h,[["__file","/home/runner/work/element-plus/element-plus/packages/components/rate/src/rate.vue"]]);const ElRate=withInstall(Rate),IconMap={primary:"icon-primary",success:"icon-success",warning:"icon-warning",error:"icon-error",info:"icon-info"},IconComponentMap={[IconMap.primary]:info_filled_default,[IconMap.success]:circle_check_filled_default,[IconMap.warning]:warning_filled_default,[IconMap.error]:circle_close_filled_default,[IconMap.info]:info_filled_default},resultProps=buildProps({title:{type:String,default:""},subTitle:{type:String,default:""},icon:{type:String,values:["primary","success","warning","info","error"],default:"info"}}),_sfc_main$1g=defineComponent({name:"ElResult",__name:"result",props:resultProps,setup(n){const t=n,r=useNamespace("result"),i=computed(()=>{const g=t.icon,$=g&&IconMap[g]?IconMap[g]:"icon-info",V=IconComponentMap[$]||IconComponentMap["icon-info"];return{class:$,component:V}});return(g,$)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(r).b())},[createBaseVNode("div",{class:normalizeClass(unref(r).e("icon"))},[renderSlot(g.$slots,"icon",{},()=>[i.value.component?(openBlock(),createBlock(resolveDynamicComponent(i.value.component),{key:0,class:normalizeClass(i.value.class)},null,8,["class"])):createCommentVNode("v-if",!0)])],2),g.title||g.$slots.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("title"))},[renderSlot(g.$slots,"title",{},()=>[createBaseVNode("p",null,toDisplayString(g.title),1)])],2)):createCommentVNode("v-if",!0),g.subTitle||g.$slots["sub-title"]?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(r).e("subtitle"))},[renderSlot(g.$slots,"sub-title",{},()=>[createBaseVNode("p",null,toDisplayString(g.subTitle),1)])],2)):createCommentVNode("v-if",!0),g.$slots.extra?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref(r).e("extra"))},[renderSlot(g.$slots,"extra")],2)):createCommentVNode("v-if",!0)],2))}});var Result=_export_sfc(_sfc_main$1g,[["__file","/home/runner/work/element-plus/element-plus/packages/components/result/src/result.vue"]]);const ElResult=withInstall(Result),RowJustify=["start","center","end","space-around","space-between","space-evenly"],RowAlign=["top","middle","bottom"],rowProps=buildProps({tag:{type:String,default:"div"},gutter:{type:Number,default:0},justify:{type:String,values:RowJustify,default:"start"},align:{type:String,values:RowAlign}}),_sfc_main$1f=defineComponent({name:"ElRow",__name:"row",props:rowProps,setup(n){const t=n,r=useNamespace("row"),i=computed(()=>t.gutter);provide(rowContextKey,{gutter:i});const g=computed(()=>{const V={};return t.gutter&&(V.marginRight=V.marginLeft=`-${t.gutter/2}px`),V}),$=computed(()=>[r.b(),r.is(`justify-${t.justify}`,t.justify!=="start"),r.is(`align-${t.align}`,!!t.align)]);return(V,re)=>(openBlock(),createBlock(resolveDynamicComponent(V.tag),{class:normalizeClass($.value),style:normalizeStyle$1(g.value)},{default:withCtx(()=>[renderSlot(V.$slots,"default")]),_:3},8,["class","style"]))}});var Row$2=_export_sfc(_sfc_main$1f,[["__file","/home/runner/work/element-plus/element-plus/packages/components/row/src/row.vue"]]);const ElRow=withInstall(Row$2),_sfc_main$1e=defineComponent({props:{item:{type:Object,required:!0},style:{type:Object},height:Number},setup(){return{ns:useNamespace("select")}}});function _sfc_render$7(n,t,r,i,g,$){return openBlock(),createElementBlock("div",{class:normalizeClass(n.ns.be("group","title")),style:normalizeStyle$1({...n.style,lineHeight:`${n.height}px`})},toDisplayString(n.item.label),7)}var GroupItem=_export_sfc(_sfc_main$1e,[["render",_sfc_render$7],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/group-item.vue"]]);function useOption(n,{emit:t}){return{hoverItem:()=>{n.disabled||t("hover",n.index)},selectOptionClick:()=>{n.disabled||t("select",n.item,n.index)}}}const selectV2Props=buildProps({allowCreate:Boolean,autocomplete:{type:definePropType(String),default:"none"},automaticDropdown:Boolean,clearable:Boolean,clearIcon:{type:iconPropType,default:circle_close_default},effect:{type:definePropType(String),default:"light"},collapseTags:Boolean,collapseTagsTooltip:Boolean,maxCollapseTags:{type:Number,default:1},defaultFirstOption:Boolean,disabled:{type:Boolean,default:void 0},estimatedOptionHeight:{type:Number,default:void 0},filterable:Boolean,filterMethod:{type:definePropType(Function)},height:{type:Number,default:274},itemHeight:{type:Number,default:34},id:String,loading:Boolean,loadingText:String,modelValue:{type:definePropType([Array,String,Number,Boolean,Object]),default:void 0},multiple:Boolean,multipleLimit:{type:Number,default:0},name:String,noDataText:String,noMatchText:String,remoteMethod:{type:definePropType(Function)},reserveKeyword:{type:Boolean,default:!0},options:{type:definePropType(Array),required:!0},placeholder:{type:String},teleported:useTooltipContentProps.teleported,persistent:{type:Boolean,default:!0},popperClass:useTooltipContentProps.popperClass,popperStyle:useTooltipContentProps.popperStyle,popperOptions:{type:definePropType(Object),default:()=>({})},remote:Boolean,debounce:{type:Number,default:300},size:useSizeProp,props:{type:definePropType(Object),default:()=>defaultProps$4},valueKey:{type:String,default:"value"},scrollbarAlwaysOn:Boolean,validateEvent:{type:Boolean,default:!0},offset:{type:Number,default:12},remoteShowSuffix:Boolean,showArrow:{type:Boolean,default:!0},placement:{type:definePropType(String),values:Ee,default:"bottom-start"},fallbackPlacements:{type:definePropType(Array),default:["bottom-start","top-start","right","left"]},tagType:{...tagProps.type,default:"info"},tagEffect:{...tagProps.effect,default:"light"},tabindex:{type:[String,Number],default:0},appendTo:useTooltipContentProps.appendTo,fitInputWidth:{type:[Boolean,Number],default:!0,validator(n){return isBoolean$1(n)||isNumber$2(n)}},suffixIcon:{type:iconPropType,default:arrow_down_default},...useEmptyValuesProps,...useAriaProps(["ariaLabel"])}),optionV2Props=buildProps({data:Array,disabled:Boolean,hovering:Boolean,item:{type:definePropType(Object),required:!0},index:Number,style:Object,selected:Boolean,created:Boolean}),selectV2Emits={[UPDATE_MODEL_EVENT]:n=>!0,[CHANGE_EVENT]:n=>!0,"remove-tag":n=>!0,"visible-change":n=>!0,focus:n=>n instanceof FocusEvent,blur:n=>n instanceof FocusEvent,clear:()=>!0},optionV2Emits={hover:n=>isNumber$2(n),select:(n,t)=>!0},selectV2InjectionKey=Symbol("ElSelectV2Injection"),_sfc_main$1d=defineComponent({props:optionV2Props,emits:optionV2Emits,setup(n,{emit:t}){const r=inject(selectV2InjectionKey),i=useNamespace("select"),{hoverItem:g,selectOptionClick:$}=useOption(n,{emit:t}),{getLabel:V}=useProps(r.props),re=r.contentId;return{ns:i,contentId:re,hoverItem:g,selectOptionClick:$,getLabel:V}}}),_hoisted_1$L=["id","aria-selected","aria-disabled"];function _sfc_render$6(n,t,r,i,g,$){return openBlock(),createElementBlock("li",{id:`${n.contentId}-${n.index}`,role:"option","aria-selected":n.selected,"aria-disabled":n.disabled||void 0,style:normalizeStyle$1(n.style),class:normalizeClass([n.ns.be("dropdown","item"),n.ns.is("selected",n.selected),n.ns.is("disabled",n.disabled),n.ns.is("created",n.created),n.ns.is("hovering",n.hovering)]),onMousemove:t[0]||(t[0]=(...V)=>n.hoverItem&&n.hoverItem(...V)),onClick:t[1]||(t[1]=withModifiers((...V)=>n.selectOptionClick&&n.selectOptionClick(...V),["stop"]))},[renderSlot(n.$slots,"default",{item:n.item,index:n.index,disabled:n.disabled},()=>[createBaseVNode("span",null,toDisplayString(n.getLabel(n.item)),1)])],46,_hoisted_1$L)}var OptionItem=_export_sfc(_sfc_main$1d,[["render",_sfc_render$6],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/option-item.vue"]]),safeIsNaN=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function isEqual(n,t){return!!(n===t||safeIsNaN(n)&&safeIsNaN(t))}function areInputsEqual(n,t){if(n.length!==t.length)return!1;for(var r=0;r{const t=getCurrentInstance().proxy.$props;return computed(()=>{const r=(i,g,$)=>({});return t.perfMode?memoize(r):memoizeOne(r)})},DEFAULT_DYNAMIC_LIST_ITEM_SIZE=50,ITEM_RENDER_EVT="itemRendered",SCROLL_EVT="scroll",FORWARD="forward",BACKWARD="backward",AUTO_ALIGNMENT="auto",SMART_ALIGNMENT="smart",START_ALIGNMENT="start",CENTERED_ALIGNMENT="center",END_ALIGNMENT="end",HORIZONTAL="horizontal",VERTICAL="vertical",LTR="ltr",RTL="rtl",RTL_OFFSET_NAG="negative",RTL_OFFSET_POS_ASC="positive-ascending",RTL_OFFSET_POS_DESC="positive-descending",ScrollbarDirKey={[HORIZONTAL]:"left",[VERTICAL]:"top"},SCROLLBAR_MIN_SIZE=20,useWheel=({atEndEdge:n,atStartEdge:t,layout:r},i)=>{let g,$=0;const V=ie=>ie<0&&t.value||ie>0&&n.value;return{hasReachedEdge:V,onWheel:ie=>{cAF(g);let{deltaX:ae,deltaY:oe}=ie;ie.shiftKey&&oe!==0&&(ae=oe,oe=0);const le=r.value===HORIZONTAL?ae:oe;V(le)||($+=le,!isFirefox()&&le!==0&&ie.preventDefault(),g=rAF(()=>{i($),$=0}))}}},itemSize$1=buildProp({type:definePropType([Number,Function]),required:!0}),estimatedItemSize=buildProp({type:Number}),cache=buildProp({type:Number,default:2}),direction=buildProp({type:String,values:["ltr","rtl"],default:"ltr"}),initScrollOffset=buildProp({type:Number,default:0}),total$1=buildProp({type:Number,required:!0}),layout$1=buildProp({type:String,values:["horizontal","vertical"],default:VERTICAL}),virtualizedProps=buildProps({className:{type:String,default:""},containerElement:{type:definePropType([String,Object]),default:"div"},data:{type:definePropType(Array),default:()=>mutable([])},direction,height:{type:[String,Number],required:!0},innerElement:{type:[String,Object],default:"div"},innerProps:{type:definePropType(Object),default:()=>({})},style:{type:definePropType([Object,String,Array])},useIsScrolling:Boolean,width:{type:[Number,String],required:!1},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),virtualizedListProps=buildProps({cache,estimatedItemSize,layout:layout$1,initScrollOffset,total:total$1,itemSize:itemSize$1,...virtualizedProps}),scrollbarSize={type:Number,default:6},startGap={type:Number,default:0},endGap={type:Number,default:2},virtualizedGridProps=buildProps({columnCache:cache,columnWidth:itemSize$1,estimatedColumnWidth:estimatedItemSize,estimatedRowHeight:estimatedItemSize,initScrollLeft:initScrollOffset,initScrollTop:initScrollOffset,itemKey:{type:definePropType(Function),default:({columnIndex:n,rowIndex:t})=>`${t}:${n}`},rowCache:cache,rowHeight:itemSize$1,totalColumn:total$1,totalRow:total$1,hScrollbarSize:scrollbarSize,vScrollbarSize:scrollbarSize,scrollbarStartGap:startGap,scrollbarEndGap:endGap,role:String,...virtualizedProps}),virtualizedScrollbarProps=buildProps({alwaysOn:Boolean,class:String,layout:layout$1,total:total$1,ratio:{type:Number,required:!0},clientSize:{type:Number,required:!0},scrollFrom:{type:Number,required:!0},scrollbarSize,startGap,endGap,visible:Boolean}),getScrollDir=(n,t)=>nn===LTR||n===RTL||n===HORIZONTAL,isRTL$1=n=>n===RTL;let cachedRTLResult=null;function getRTLOffsetType(n=!1){if(cachedRTLResult===null||n){const t=document.createElement("div"),r=t.style;r.width="50px",r.height="50px",r.overflow="scroll",r.direction="rtl";const i=document.createElement("div"),g=i.style;return g.width="100px",g.height="100px",t.appendChild(i),document.body.appendChild(t),t.scrollLeft>0?cachedRTLResult=RTL_OFFSET_POS_DESC:(t.scrollLeft=1,t.scrollLeft===0?cachedRTLResult=RTL_OFFSET_NAG:cachedRTLResult=RTL_OFFSET_POS_ASC),document.body.removeChild(t),cachedRTLResult}return cachedRTLResult}function renderThumbStyle({move:n,size:t,bar:r},i){const g={},$=`translate${r.axis}(${n}px)`;return g[r.size]=t,g.transform=$,i==="horizontal"?g.height="100%":g.width="100%",g}const ScrollBar=defineComponent({name:"ElVirtualScrollBar",props:virtualizedScrollbarProps,emits:["scroll","start-move","stop-move"],setup(n,{emit:t}){const r=computed(()=>n.startGap+n.endGap),i=useNamespace("virtual-scrollbar"),g=useNamespace("scrollbar"),$=ref(),V=ref();let re=null,ie=null;const ae=reactive({isDragging:!1,traveled:0}),oe=computed(()=>BAR_MAP[n.layout]),le=computed(()=>n.clientSize-unref(r)),ue=computed(()=>({position:"absolute",width:`${HORIZONTAL===n.layout?le.value:n.scrollbarSize}px`,height:`${HORIZONTAL===n.layout?n.scrollbarSize:le.value}px`,[ScrollbarDirKey[n.layout]]:"2px",right:"2px",bottom:"2px",borderRadius:"4px"})),de=computed(()=>{const $e=n.ratio;if($e>=100)return Number.POSITIVE_INFINITY;if($e>=50)return $e*le.value/100;const Ve=le.value/3;return Math.floor(Math.min(Math.max($e*le.value/100,SCROLLBAR_MIN_SIZE),Ve))}),he=computed(()=>{if(!Number.isFinite(de.value))return{display:"none"};const $e=`${de.value}px`;return renderThumbStyle({bar:oe.value,size:$e,move:ae.traveled},n.layout)}),pe=computed(()=>Math.ceil(n.clientSize-de.value-unref(r))),_e=()=>{window.addEventListener("mousemove",Ne),window.addEventListener("mouseup",Ie);const $e=unref(V);$e&&(ie=document.onselectstart,document.onselectstart=()=>!1,$e.addEventListener("touchmove",Ne,{passive:!0}),$e.addEventListener("touchend",Ie))},Ce=()=>{window.removeEventListener("mousemove",Ne),window.removeEventListener("mouseup",Ie),document.onselectstart=ie,ie=null;const $e=unref(V);$e&&($e.removeEventListener("touchmove",Ne),$e.removeEventListener("touchend",Ie))},xe=$e=>{$e.stopImmediatePropagation(),!($e.ctrlKey||[1,2].includes($e.button))&&(ae.isDragging=!0,ae[oe.value.axis]=$e.currentTarget[oe.value.offset]-($e[oe.value.client]-$e.currentTarget.getBoundingClientRect()[oe.value.direction]),t("start-move"),_e())},Ie=()=>{ae.isDragging=!1,ae[oe.value.axis]=0,t("stop-move"),Ce()},Ne=$e=>{const{isDragging:Ve}=ae;if(!Ve||!V.value||!$.value)return;const Ue=ae[oe.value.axis];if(!Ue)return;cAF(re);const Fe=($.value.getBoundingClientRect()[oe.value.direction]-$e[oe.value.client])*-1,ze=V.value[oe.value.offset]-Ue,Pt=Fe-ze;re=rAF(()=>{ae.traveled=Math.max(0,Math.min(Pt,pe.value)),t("scroll",Pt,pe.value)})},Oe=$e=>{const Ve=Math.abs($e.target.getBoundingClientRect()[oe.value.direction]-$e[oe.value.client]),Ue=V.value[oe.value.offset]/2,Fe=Ve-Ue;ae.traveled=Math.max(0,Math.min(Fe,pe.value)),t("scroll",Fe,pe.value)};return watch(()=>n.scrollFrom,$e=>{ae.isDragging||(ae.traveled=Math.ceil($e*pe.value))}),onBeforeUnmount(()=>{Ce()}),()=>h$1("div",{role:"presentation",ref:$,class:[i.b(),n.class,(n.alwaysOn||ae.isDragging)&&"always-on"],style:ue.value,onMousedown:withModifiers(Oe,["stop","prevent"]),onTouchstartPrevent:xe},h$1("div",{ref:V,class:g.e("thumb"),style:he.value,onMousedown:xe},[]))}}),createList=({name:n,getOffset:t,getItemSize:r,getItemOffset:i,getEstimatedTotalSize:g,getStartIndexForOffset:$,getStopIndexForStartIndex:V,initCache:re,clearCache:ie,validateProps:ae})=>defineComponent({name:n??"ElVirtualList",props:virtualizedListProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(oe,{emit:le,expose:ue}){ae(oe);const de=getCurrentInstance(),he=useNamespace("vl"),pe=ref(re(oe,de)),_e=useCache(),Ce=ref(),xe=ref(),Ie=ref(),Ne=ref({isScrolling:!1,scrollDir:"forward",scrollOffset:isNumber$2(oe.initScrollOffset)?oe.initScrollOffset:0,updateRequested:!1,isScrollbarDragging:!1,scrollbarAlwaysOn:oe.scrollbarAlwaysOn}),Oe=computed(()=>{const{total:bn,cache:Cn}=oe,{isScrolling:Sn,scrollDir:Tn,scrollOffset:En}=unref(Ne);if(bn===0)return[0,0,0,0];const kn=$(oe,En,unref(pe)),$n=V(oe,kn,En,unref(pe)),An=!Sn||Tn===BACKWARD?Math.max(1,Cn):1,xn=!Sn||Tn===FORWARD?Math.max(1,Cn):1;return[Math.max(0,kn-An),Math.max(0,Math.min(bn-1,$n+xn)),kn,$n]}),$e=computed(()=>g(oe,unref(pe))),Ve=computed(()=>isHorizontal(oe.layout)),Ue=computed(()=>[{position:"relative",[`overflow-${Ve.value?"x":"y"}`]:"scroll",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:oe.direction,height:isNumber$2(oe.height)?`${oe.height}px`:oe.height,width:isNumber$2(oe.width)?`${oe.width}px`:oe.width},oe.style]),Fe=computed(()=>{const bn=unref($e),Cn=unref(Ve);return{height:Cn?"100%":`${bn}px`,pointerEvents:unref(Ne).isScrolling?"none":void 0,width:Cn?`${bn}px`:"100%",margin:0,boxSizing:"border-box"}}),ze=computed(()=>Ve.value?oe.width:oe.height),{onWheel:Pt}=useWheel({atStartEdge:computed(()=>Ne.value.scrollOffset<=0),atEndEdge:computed(()=>Ne.value.scrollOffset>=$e.value),layout:computed(()=>oe.layout)},bn=>{var Cn,Sn;(Sn=(Cn=Ie.value).onMouseUp)==null||Sn.call(Cn),Lt(Math.min(Ne.value.scrollOffset+bn,$e.value-ze.value))});useEventListener(Ce,"wheel",Pt,{passive:!1});const qe=()=>{const{total:bn}=oe;if(bn>0){const[En,kn,$n,An]=unref(Oe);le(ITEM_RENDER_EVT,En,kn,$n,An)}const{scrollDir:Cn,scrollOffset:Sn,updateRequested:Tn}=unref(Ne);le(SCROLL_EVT,Cn,Sn,Tn)},Et=bn=>{const{clientHeight:Cn,scrollHeight:Sn,scrollTop:Tn}=bn.currentTarget,En=unref(Ne);if(En.scrollOffset===Tn)return;const kn=Math.max(0,Math.min(Tn,Sn-Cn));Ne.value={...En,isScrolling:!0,scrollDir:getScrollDir(En.scrollOffset,kn),scrollOffset:kn,updateRequested:!1},nextTick(vn)},kt=bn=>{const{clientWidth:Cn,scrollLeft:Sn,scrollWidth:Tn}=bn.currentTarget,En=unref(Ne);if(En.scrollOffset===Sn)return;const{direction:kn}=oe;let $n=Sn;if(kn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{$n=-Sn;break}case RTL_OFFSET_POS_DESC:{$n=Tn-Cn-Sn;break}}$n=Math.max(0,Math.min($n,Tn-Cn)),Ne.value={...En,isScrolling:!0,scrollDir:getScrollDir(En.scrollOffset,$n),scrollOffset:$n,updateRequested:!1},nextTick(vn)},At=bn=>{unref(Ve)?kt(bn):Et(bn),qe()},Dt=(bn,Cn)=>{const Sn=($e.value-ze.value)/Cn*bn;Lt(Math.min($e.value-ze.value,Sn))},Lt=bn=>{bn=Math.max(bn,0),bn!==unref(Ne).scrollOffset&&(Ne.value={...unref(Ne),scrollOffset:bn,scrollDir:getScrollDir(unref(Ne).scrollOffset,bn),updateRequested:!0},nextTick(vn))},jt=(bn,Cn=AUTO_ALIGNMENT)=>{const{scrollOffset:Sn}=unref(Ne);bn=Math.max(0,Math.min(bn,oe.total-1)),Lt(t(oe,bn,Cn,Sn,unref(pe)))},hn=bn=>{const{direction:Cn,itemSize:Sn,layout:Tn}=oe,En=_e.value(ie&&Sn,ie&&Tn,ie&&Cn);let kn;if(hasOwn$1(En,String(bn)))kn=En[bn];else{const $n=i(oe,bn,unref(pe)),An=r(oe,bn,unref(pe)),xn=unref(Ve),Ln=Cn===RTL,Nn=xn?$n:0;En[bn]=kn={position:"absolute",left:Ln?void 0:`${Nn}px`,right:Ln?`${Nn}px`:void 0,top:xn?0:`${$n}px`,height:xn?"100%":`${An}px`,width:xn?`${An}px`:"100%"}}return kn},vn=()=>{Ne.value.isScrolling=!1,nextTick(()=>{_e.value(-1,null,null)})},_n=()=>{const bn=Ce.value;bn&&(bn.scrollTop=0)};onMounted(()=>{if(!isClient)return;const{initScrollOffset:bn}=oe,Cn=unref(Ce);isNumber$2(bn)&&Cn&&(unref(Ve)?Cn.scrollLeft=bn:Cn.scrollTop=bn),qe()}),onUpdated(()=>{const{direction:bn,layout:Cn}=oe,{scrollOffset:Sn,updateRequested:Tn}=unref(Ne),En=unref(Ce);if(Tn&&En)if(Cn===HORIZONTAL)if(bn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{En.scrollLeft=-Sn;break}case RTL_OFFSET_POS_ASC:{En.scrollLeft=Sn;break}default:{const{clientWidth:kn,scrollWidth:$n}=En;En.scrollLeft=$n-kn-Sn;break}}else En.scrollLeft=Sn;else En.scrollTop=Sn}),onActivated(()=>{unref(Ce).scrollTop=unref(Ne).scrollOffset});const wn={ns:he,clientSize:ze,estimatedTotalSize:$e,windowStyle:Ue,windowRef:Ce,innerRef:xe,innerStyle:Fe,itemsToRender:Oe,scrollbarRef:Ie,states:Ne,getItemStyle:hn,onScroll:At,onScrollbarScroll:Dt,onWheel:Pt,scrollTo:Lt,scrollToItem:jt,resetScrollTop:_n};return ue({windowRef:Ce,innerRef:xe,getItemStyleCache:_e,scrollTo:Lt,scrollToItem:jt,resetScrollTop:_n,states:Ne}),wn},render(oe){var le;const{$slots:ue,className:de,clientSize:he,containerElement:pe,data:_e,getItemStyle:Ce,innerElement:xe,itemsToRender:Ie,innerStyle:Ne,layout:Oe,total:$e,onScroll:Ve,onScrollbarScroll:Ue,states:Fe,useIsScrolling:ze,windowStyle:Pt,ns:qe}=oe,[Et,kt]=Ie,At=resolveDynamicComponent(pe),Dt=resolveDynamicComponent(xe),Lt=[];if($e>0)for(let _n=Et;_n<=kt;_n++)Lt.push(h$1(Fragment,{key:_n},(le=ue.default)==null?void 0:le.call(ue,{data:_e,index:_n,isScrolling:ze?Fe.isScrolling:void 0,style:Ce(_n)})));const jt=[h$1(Dt,mergeProps(oe.innerProps,{style:Ne,ref:"innerRef"}),isString$2(Dt)?Lt:{default:()=>Lt})],hn=h$1(ScrollBar,{ref:"scrollbarRef",clientSize:he,layout:Oe,onScroll:Ue,ratio:he*100/this.estimatedTotalSize,scrollFrom:Fe.scrollOffset/(this.estimatedTotalSize-he),total:$e,alwaysOn:Fe.scrollbarAlwaysOn}),vn=h$1(At,{class:[qe.e("window"),de],style:Pt,onScroll:Ve,ref:"windowRef",key:0},isString$2(At)?[jt]:{default:()=>[jt]});return h$1("div",{key:0,class:[qe.e("wrapper"),Fe.scrollbarAlwaysOn?"always-on":""]},[vn,hn])}}),FixedSizeList=createList({name:"ElFixedSizeList",getItemOffset:({itemSize:n},t)=>t*n,getItemSize:({itemSize:n})=>n,getEstimatedTotalSize:({total:n,itemSize:t})=>t*n,getOffset:({height:n,total:t,itemSize:r,layout:i,width:g},$,V,re)=>{const ie=isHorizontal(i)?g:n,ae=Math.max(0,t*r-ie),oe=Math.min(ae,$*r),le=Math.max(0,($+1)*r-ie);switch(V===SMART_ALIGNMENT&&(re>=le-ie&&re<=oe+ie?V=AUTO_ALIGNMENT:V=CENTERED_ALIGNMENT),V){case START_ALIGNMENT:return oe;case END_ALIGNMENT:return le;case CENTERED_ALIGNMENT:{const ue=Math.round(le+(oe-le)/2);return ueae+Math.floor(ie/2)?ae:ue}case AUTO_ALIGNMENT:default:return re>=le&&re<=oe?re:reMath.max(0,Math.min(n-1,Math.floor(r/t))),getStopIndexForStartIndex:({height:n,total:t,itemSize:r,layout:i,width:g},$,V)=>{const re=$*r,ie=isHorizontal(i)?g:n,ae=Math.ceil((ie+V-re)/r);return Math.max(0,Math.min(t-1,$+ae-1))},initCache(){},clearCache:!0,validateProps(){}}),getItemFromCache$1=(n,t,r)=>{const{itemSize:i}=n,{items:g,lastVisitedIndex:$}=r;if(t>$){let V=0;if($>=0){const re=g[$];V=re.offset+re.size}for(let re=$+1;re<=t;re++){const ie=i(re);g[re]={offset:V,size:ie},V+=ie}r.lastVisitedIndex=t}return g[t]},findItem$1=(n,t,r)=>{const{items:i,lastVisitedIndex:g}=t;return(g>0?i[g].offset:0)>=r?bs$1(n,t,0,g,r):es$1(n,t,Math.max(0,g),r)},bs$1=(n,t,r,i,g)=>{for(;r<=i;){const $=r+Math.floor((i-r)/2),V=getItemFromCache$1(n,$,t).offset;if(V===g)return $;Vg&&(i=$-1)}return Math.max(0,r-1)},es$1=(n,t,r,i)=>{const{total:g}=n;let $=1;for(;r{let g=0;if(i>=n&&(i=n-1),i>=0){const re=t[i];g=re.offset+re.size}const V=(n-i-1)*r;return g+V},DynamicSizeList=createList({name:"ElDynamicSizeList",getItemOffset:(n,t,r)=>getItemFromCache$1(n,t,r).offset,getItemSize:(n,t,{items:r})=>r[t].size,getEstimatedTotalSize,getOffset:(n,t,r,i,g)=>{const{height:$,layout:V,width:re}=n,ie=isHorizontal(V)?re:$,ae=getItemFromCache$1(n,t,g),oe=getEstimatedTotalSize(n,g),le=Math.max(0,Math.min(oe-ie,ae.offset)),ue=Math.max(0,ae.offset-ie+ae.size);switch(r===SMART_ALIGNMENT&&(i>=ue-ie&&i<=le+ie?r=AUTO_ALIGNMENT:r=CENTERED_ALIGNMENT),r){case START_ALIGNMENT:return le;case END_ALIGNMENT:return ue;case CENTERED_ALIGNMENT:return Math.round(ue+(le-ue)/2);case AUTO_ALIGNMENT:default:return i>=ue&&i<=le?i:ifindItem$1(n,r,t),getStopIndexForStartIndex:(n,t,r,i)=>{const{height:g,total:$,layout:V,width:re}=n,ie=isHorizontal(V)?re:g,ae=getItemFromCache$1(n,t,i),oe=r+ie;let le=ae.offset+ae.size,ue=t;for(;ue<$-1&&le{var $,V;r.lastVisitedIndex=Math.min(r.lastVisitedIndex,i-1),($=t.exposed)==null||$.getItemStyleCache(-1),g&&((V=t.proxy)==null||V.$forceUpdate())},r},clearCache:!1,validateProps:({itemSize:n})=>{}}),props={loading:Boolean,data:{type:Array,required:!0},hoveringIndex:Number,width:Number,id:String,ariaLabel:String};var ElSelectMenu=defineComponent({name:"ElSelectDropdown",props,setup(n,{slots:t,expose:r}){const i=inject(selectV2InjectionKey),g=useNamespace("select"),{getLabel:$,getValue:V,getDisabled:re}=useProps(i.props),ie=ref([]),ae=ref(),oe=computed(()=>n.data.length);watch(()=>oe.value,()=>{var Pt,qe;(qe=(Pt=i.tooltipRef.value)==null?void 0:Pt.updatePopper)==null||qe.call(Pt)});const le=computed(()=>isUndefined$1(i.props.estimatedOptionHeight)),ue=computed(()=>le.value?{itemSize:i.props.itemHeight}:{estimatedSize:i.props.estimatedOptionHeight,itemSize:Pt=>ie.value[Pt]}),de=(Pt=[],qe)=>{const{props:{valueKey:Et}}=i;return isObject$6(qe)?Pt&&Pt.some(kt=>toRaw(get$1(kt,Et))===get$1(qe,Et)):Pt.includes(qe)},he=(Pt,qe)=>{if(isObject$6(qe)){const{valueKey:Et}=i.props;return get$1(Pt,Et)===get$1(qe,Et)}else return Pt===qe},pe=(Pt,qe)=>i.props.multiple?de(Pt,V(qe)):he(Pt,V(qe)),_e=(Pt,qe)=>{const{disabled:Et,multiple:kt,multipleLimit:At}=i.props;return Et||!qe&&(kt?At>0&&Pt.length>=At:!1)},Ce=Pt=>n.hoveringIndex===Pt;r({listRef:ae,isSized:le,isItemDisabled:_e,isItemHovering:Ce,isItemSelected:pe,scrollToItem:Pt=>{const qe=ae.value;qe&&qe.scrollToItem(Pt)},resetScrollTop:()=>{const Pt=ae.value;Pt&&Pt.resetScrollTop()}});const Oe=Pt=>{const{index:qe,data:Et,style:kt}=Pt,At=unref(le),{itemSize:Dt,estimatedSize:Lt}=unref(ue),{modelValue:jt}=i.props,{onSelect:hn,onHover:vn}=i,_n=Et[qe];if(_n.type==="Group")return createVNode$1(GroupItem,{item:_n,style:kt,height:At?Dt:Lt},null);const wn=pe(jt,_n),bn=_e(jt,wn),Cn=Ce(qe);return createVNode$1(OptionItem,mergeProps(Pt,{selected:wn,disabled:re(_n)||bn,created:!!_n.created,hovering:Cn,item:_n,onSelect:hn,onHover:vn}),{default:Sn=>{var Tn;return((Tn=t.default)==null?void 0:Tn.call(t,Sn))||createVNode$1("span",null,[$(_n)])}})},{onKeyboardNavigate:$e,onKeyboardSelect:Ve}=i,Ue=()=>{$e("forward")},Fe=()=>{$e("backward")},ze=Pt=>{const qe=getEventCode(Pt),{tab:Et,esc:kt,down:At,up:Dt,enter:Lt,numpadEnter:jt}=EVENT_CODE;switch([kt,At,Dt,Lt,jt].includes(qe)&&(Pt.preventDefault(),Pt.stopPropagation()),qe){case Et:case kt:break;case At:Ue();break;case Dt:Fe();break;case Lt:case jt:Ve();break}};return()=>{var Pt,qe,Et,kt;const{data:At,width:Dt}=n,{height:Lt,multiple:jt,scrollbarAlwaysOn:hn}=i.props,vn=computed(()=>isIOS?!0:hn),_n=unref(le)?FixedSizeList:DynamicSizeList;return createVNode$1("div",{class:[g.b("dropdown"),g.is("multiple",jt)],style:{width:`${Dt}px`}},[(Pt=t.header)==null?void 0:Pt.call(t),((qe=t.loading)==null?void 0:qe.call(t))||((Et=t.empty)==null?void 0:Et.call(t))||createVNode$1(_n,mergeProps({ref:ae},unref(ue),{className:g.be("dropdown","list"),scrollbarAlwaysOn:vn.value,data:At,height:Lt,width:Dt,total:At.length,innerElement:"ul",innerProps:{id:n.id,role:"listbox","aria-label":n.ariaLabel,"aria-orientation":"vertical"},onKeydown:ze}),{default:wn=>createVNode$1(Oe,wn,null)}),(kt=t.footer)==null?void 0:kt.call(t)])}}});function useAllowCreate(n,t){const{aliasProps:r,getLabel:i,getValue:g}=useProps(n),$=ref(0),V=ref(),re=computed(()=>n.allowCreate&&n.filterable);watch(()=>n.options,de=>{const he=new Set(de.map(pe=>i(pe)));t.createdOptions=t.createdOptions.filter(pe=>!he.has(i(pe)))});function ie(de){const he=pe=>i(pe)===de;return n.options&&n.options.some(he)||t.createdOptions.some(he)}function ae(de){re.value&&(n.multiple&&de.created?$.value++:V.value=de)}function oe(de){if(re.value)if(de&&de.length>0){if(ie(de)){t.createdOptions=t.createdOptions.filter(pe=>i(pe)!==t.previousQuery);return}const he={[r.value.value]:de,[r.value.label]:de,created:!0,[r.value.disabled]:!1};t.createdOptions.length>=$.value?t.createdOptions[$.value]=he:t.createdOptions.push(he)}else if(n.multiple)t.createdOptions.length=$.value;else{const he=V.value;t.createdOptions.length=0,he&&he.created&&t.createdOptions.push(he)}}function le(de){if(!re.value||!de||!de.created||de.created&&n.reserveKeyword&&t.inputValue===i(de))return;const he=t.createdOptions.findIndex(pe=>g(pe)===g(de));~he&&(t.createdOptions.splice(he,1),$.value--)}function ue(){re.value&&(t.createdOptions.length=0,$.value=0)}return{createNewOption:oe,removeNewOption:le,selectNewOption:ae,clearAllNewOption:ue}}const useSelect$1=(n,t)=>{const{t:r}=useLocale(),i=useSlots(),g=useNamespace("select"),$=useNamespace("input"),{form:V,formItem:re}=useFormItem(),{inputId:ie}=useFormItemInputId(n,{formItemContext:re}),{aliasProps:ae,getLabel:oe,getValue:le,getDisabled:ue,getOptions:de}=useProps(n),{valueOnClear:he,isEmptyValue:pe}=useEmptyValues(n),_e=reactive({inputValue:"",cachedOptions:[],createdOptions:[],hoveringIndex:-1,inputHovering:!1,selectionWidth:0,collapseItemWidth:0,previousQuery:null,previousValue:void 0,selectedLabel:"",menuVisibleOnFocus:!1,isBeforeHide:!1}),Ce=ref(-1),xe=ref(!1),Ie=ref(),Ne=ref(),Oe=ref(),$e=ref(),Ve=ref(),Ue=ref(),Fe=ref(),ze=ref(),Pt=ref(),qe=ref(),{isComposing:Et,handleCompositionStart:kt,handleCompositionEnd:At,handleCompositionUpdate:Dt}=useComposition({afterComposition:Vn=>Rr(Vn)}),Lt=useFormDisabled(),{wrapperRef:jt,isFocused:hn,handleBlur:vn}=useFocusController(Ve,{disabled:Lt,afterFocus(){n.automaticDropdown&&!Cn.value&&(Cn.value=!0,_e.menuVisibleOnFocus=!0)},beforeBlur(Vn){var Kn,dr;return((Kn=Oe.value)==null?void 0:Kn.isFocusInsideContent(Vn))||((dr=$e.value)==null?void 0:dr.isFocusInsideContent(Vn))},afterBlur(){var Vn;Cn.value=!1,_e.menuVisibleOnFocus=!1,n.validateEvent&&((Vn=re==null?void 0:re.validate)==null||Vn.call(re,"blur").catch(Kn=>void 0))}}),_n=computed(()=>In("")),wn=computed(()=>n.loading?!1:n.options.length>0||_e.createdOptions.length>0),bn=ref([]),Cn=ref(!1),Sn=computed(()=>{var Vn;return(Vn=V==null?void 0:V.statusIcon)!=null?Vn:!1}),Tn=computed(()=>{const Vn=bn.value.length*n.itemHeight;return Vn>n.height?n.height:Vn}),En=computed(()=>n.multiple?isArray$5(n.modelValue)&&n.modelValue.length>0:!pe(n.modelValue)),kn=computed(()=>n.clearable&&!Lt.value&&En.value&&(hn.value||_e.inputHovering)),$n=computed(()=>n.remote&&n.filterable&&!n.remoteShowSuffix?"":n.suffixIcon),An=computed(()=>$n.value&&g.is("reverse",Cn.value)),xn=computed(()=>(re==null?void 0:re.validateState)||""),Ln=computed(()=>{if(xn.value)return ValidateComponentsMap[xn.value]}),Nn=computed(()=>n.remote?n.debounce:0),Pn=computed(()=>n.remote&&!_e.inputValue&&!wn.value),On=computed(()=>n.loading?n.loadingText||r("el.select.loading"):n.filterable&&_e.inputValue&&wn.value&&bn.value.length===0?n.noMatchText||r("el.select.noMatch"):wn.value?null:n.noDataText||r("el.select.noData")),Hn=computed(()=>n.filterable&&isFunction$4(n.filterMethod)),Xn=computed(()=>n.filterable&&n.remote&&isFunction$4(n.remoteMethod)),In=Vn=>{const Kn=new RegExp(escapeStringRegexp(Vn),"i"),dr=mr=>Hn.value||Xn.value?!0:Vn?Kn.test(oe(mr)||""):!0;return n.loading?[]:[..._e.createdOptions,...n.options].reduce((mr,br)=>{const Er=de(br);if(isArray$5(Er)){const xr=Er.filter(dr);xr.length>0&&mr.push({label:oe(br),type:"Group"},...xr)}else(n.remote||dr(br))&&mr.push(br);return mr},[])},or=()=>{bn.value=In(_e.inputValue)},Qn=computed(()=>{const Vn=new Map;return _n.value.forEach((Kn,dr)=>{Vn.set(_r(le(Kn)),{option:Kn,index:dr})}),Vn}),Zn=computed(()=>{const Vn=new Map;return bn.value.forEach((Kn,dr)=>{Vn.set(_r(le(Kn)),{option:Kn,index:dr})}),Vn}),Gn=computed(()=>bn.value.every(Vn=>ue(Vn))),Rn=useFormSize(),Mn=computed(()=>Rn.value==="small"?"small":"default"),Bn=()=>{var Vn;if(isNumber$2(n.fitInputWidth)){Ce.value=n.fitInputWidth;return}const Kn=((Vn=Ie.value)==null?void 0:Vn.offsetWidth)||200;!n.fitInputWidth&&wn.value?nextTick(()=>{Ce.value=Math.max(Kn,qn())}):Ce.value=Kn},qn=()=>{var Vn,Kn;const mr=document.createElement("canvas").getContext("2d"),br=g.be("dropdown","item"),xr=(((Kn=(Vn=ze.value)==null?void 0:Vn.listRef)==null?void 0:Kn.innerRef)||document).querySelector(`.${br}`);if(xr===null||mr===null)return 0;const Nr=getComputedStyle(xr),Ar=Number.parseFloat(Nr.paddingLeft)+Number.parseFloat(Nr.paddingRight);return mr.font=`bold ${Nr.font.replace(new RegExp(`\\b${Nr.fontWeight}\\b`),"")}`,bn.value.reduce((Ir,Vr)=>{const Fr=mr.measureText(oe(Vr));return Math.max(Fr.width,Ir)},0)+Ar},zn=()=>{if(!Ne.value)return 0;const Vn=window.getComputedStyle(Ne.value);return Number.parseFloat(Vn.gap||"6px")},jn=computed(()=>{const Vn=zn(),Kn=n.filterable?Vn+MINIMUM_INPUT_WIDTH:0;return{maxWidth:`${qe.value&&n.maxCollapseTags===1?_e.selectionWidth-_e.collapseItemWidth-Vn-Kn:_e.selectionWidth-Kn}px`}}),tr=computed(()=>({maxWidth:`${_e.selectionWidth}px`})),hr=computed(()=>isArray$5(n.modelValue)?n.modelValue.length===0&&!_e.inputValue:n.filterable?!_e.inputValue:!0),ir=computed(()=>{var Vn;const Kn=(Vn=n.placeholder)!=null?Vn:r("el.select.placeholder");return n.multiple||!En.value?Kn:_e.selectedLabel}),pr=computed(()=>{var Vn,Kn;return(Kn=(Vn=Oe.value)==null?void 0:Vn.popperRef)==null?void 0:Kn.contentRef}),rr=computed(()=>{if(n.multiple){const Vn=n.modelValue.length;if(Vn>0&&Zn.value.has(n.modelValue[Vn-1])){const{index:Kn}=Zn.value.get(n.modelValue[Vn-1]);return Kn}}else if(!pe(n.modelValue)&&Zn.value.has(n.modelValue)){const{index:Vn}=Zn.value.get(n.modelValue);return Vn}return-1}),lr=computed({get(){return Cn.value&&(n.loading||!Pn.value||n.remote&&!!i.empty)&&(!xe.value||!isEmpty(_e.previousQuery))},set(Vn){Cn.value=Vn}}),Yn=computed(()=>n.multiple?n.collapseTags?_e.cachedOptions.slice(0,n.maxCollapseTags):_e.cachedOptions:[]),er=computed(()=>n.multiple?n.collapseTags?_e.cachedOptions.slice(n.maxCollapseTags):[]:[]),{createNewOption:Fn,removeNewOption:cr,selectNewOption:Un,clearAllNewOption:gr}=useAllowCreate(n,_e),vr=Vn=>{var Kn;Lt.value||n.filterable&&Cn.value&&Vn&&!((Kn=Fe.value)!=null&&Kn.contains(Vn.target))||(_e.menuVisibleOnFocus?_e.menuVisibleOnFocus=!1:Cn.value=!Cn.value)},yr=()=>{_e.inputValue.length>0&&!Cn.value&&(Cn.value=!0),Fn(_e.inputValue),nextTick(()=>{Jn(_e.inputValue)})},Wn=useDebounceFn(()=>{yr(),xe.value=!1},Nn),Jn=Vn=>{_e.previousQuery===Vn||Et.value||(_e.previousQuery=Vn,n.filterable&&isFunction$4(n.filterMethod)?n.filterMethod(Vn):n.filterable&&n.remote&&isFunction$4(n.remoteMethod)&&n.remoteMethod(Vn),n.defaultFirstOption&&(n.filterable||n.remote)&&bn.value.length?nextTick(sr):nextTick(Mr))},sr=()=>{const Vn=bn.value.filter(mr=>!mr.disabled&&mr.type!=="Group"),Kn=Vn.find(mr=>mr.created),dr=Vn[0];_e.hoveringIndex=fr(bn.value,Kn||dr)},Sr=Vn=>{isEqual$1(n.modelValue,Vn)||t(CHANGE_EVENT,Vn)},Tr=Vn=>{t(UPDATE_MODEL_EVENT,Vn),Sr(Vn),_e.previousValue=n.multiple?String(Vn):Vn,nextTick(()=>{if(n.multiple&&isArray$5(n.modelValue)){const Kn=_e.cachedOptions.slice(),dr=n.modelValue.map(mr=>Qr(mr,Kn));isEqual$1(_e.cachedOptions,dr)||(_e.cachedOptions=dr)}else nr(!0)})},fr=(Vn=[],Kn)=>{if(!isObject$6(Kn))return Vn.indexOf(Kn);const dr=n.valueKey;let mr=-1;return Vn.some((br,Er)=>get$1(br,dr)===get$1(Kn,dr)?(mr=Er,!0):!1),mr},_r=Vn=>isObject$6(Vn)?get$1(Vn,n.valueKey):Vn,Cr=()=>{Bn()},zr=()=>{_e.selectionWidth=Number.parseFloat(window.getComputedStyle(Ne.value).width)},Ur=()=>{_e.collapseItemWidth=qe.value.getBoundingClientRect().width},jr=()=>{var Vn,Kn;(Kn=(Vn=Oe.value)==null?void 0:Vn.updatePopper)==null||Kn.call(Vn)},ai=()=>{var Vn,Kn;(Kn=(Vn=$e.value)==null?void 0:Vn.updatePopper)==null||Kn.call(Vn)},ti=Vn=>{const Kn=le(Vn);if(n.multiple){let dr=n.modelValue.slice();const mr=fr(dr,Kn);mr>-1?(dr=[...dr.slice(0,mr),...dr.slice(mr+1)],_e.cachedOptions.splice(mr,1),cr(Vn)):(n.multipleLimit<=0||dr.length{let dr=n.modelValue.slice();const mr=fr(dr,le(Kn));mr>-1&&!Lt.value&&(dr=[...n.modelValue.slice(0,mr),...n.modelValue.slice(mr+1)],_e.cachedOptions.splice(mr,1),Tr(dr),t("remove-tag",le(Kn)),cr(Kn)),Vn.stopPropagation(),Wr()},Wr=()=>{var Vn;(Vn=Ve.value)==null||Vn.focus()},ii=()=>{var Vn;if(Cn.value){Cn.value=!1,nextTick(()=>{var Kn;return(Kn=Ve.value)==null?void 0:Kn.blur()});return}(Vn=Ve.value)==null||Vn.blur()},si=()=>{_e.inputValue.length>0?_e.inputValue="":Cn.value=!1},li=Vn=>findLastIndex(Vn,Kn=>!_e.cachedOptions.some(dr=>le(dr)===Kn&&ue(dr))),ni=Vn=>{const Kn=getEventCode(Vn);if(n.multiple&&Kn!==EVENT_CODE.delete&&_e.inputValue.length===0){Vn.preventDefault();const dr=n.modelValue.slice(),mr=li(dr);if(mr<0)return;const br=dr[mr];dr.splice(mr,1);const Er=_e.cachedOptions[mr];_e.cachedOptions.splice(mr,1),cr(Er),Tr(dr),t("remove-tag",br)}},ci=()=>{let Vn;isArray$5(n.modelValue)?Vn=[]:Vn=he.value,_e.selectedLabel="",Cn.value=!1,Tr(Vn),t("clear"),gr(),Wr()},Jr=(Vn,Kn=void 0)=>{const dr=bn.value;if(!["forward","backward"].includes(Vn)||Lt.value||dr.length<=0||Gn.value||Et.value)return;if(!Cn.value)return vr();isUndefined$1(Kn)&&(Kn=_e.hoveringIndex);let mr=-1;Vn==="forward"?(mr=Kn+1,mr>=dr.length&&(mr=0)):Vn==="backward"&&(mr=Kn-1,(mr<0||mr>=dr.length)&&(mr=dr.length-1));const br=dr[mr];if(ue(br)||br.type==="Group")return Jr(Vn,mr);_e.hoveringIndex=mr,Hr(mr)},ar=()=>{if(Cn.value)~_e.hoveringIndex&&bn.value[_e.hoveringIndex]&&ti(bn.value[_e.hoveringIndex]);else return vr()},wr=Vn=>{_e.hoveringIndex=Vn??-1},Mr=()=>{if(!n.multiple)_e.hoveringIndex=bn.value.findIndex(Vn=>_r(le(Vn))===_r(n.modelValue));else{const Vn=n.modelValue.length;if(Vn>0){const Kn=n.modelValue[Vn-1];_e.hoveringIndex=bn.value.findIndex(dr=>_r(Kn)===_r(le(dr)))}else _e.hoveringIndex=-1}},Rr=Vn=>{if(_e.inputValue=Vn.target.value,n.remote)xe.value=!0,Wn();else return yr()},Dr=Vn=>{if(Cn.value=!1,hn.value){const Kn=new FocusEvent("blur",Vn);vn(Kn)}},Gr=()=>(_e.isBeforeHide=!1,nextTick(()=>{~rr.value&&Hr(rr.value)})),Hr=Vn=>{ze.value.scrollToItem(Vn)},Qr=(Vn,Kn)=>{const dr=_r(Vn);if(Qn.value.has(dr)){const{option:mr}=Qn.value.get(dr);return mr}if(Kn&&Kn.length){const mr=Kn.find(br=>_r(le(br))===dr);if(mr)return mr}return{[ae.value.value]:Vn,[ae.value.label]:Vn}},Dn=Vn=>{var Kn,dr;return(dr=(Kn=Qn.value.get(le(Vn)))==null?void 0:Kn.index)!=null?dr:-1},nr=(Vn=!1)=>{if(n.multiple)if(n.modelValue.length>0){const Kn=_e.cachedOptions.slice();_e.cachedOptions.length=0,_e.previousValue=n.modelValue.toString();for(const dr of n.modelValue){const mr=Qr(dr,Kn);_e.cachedOptions.push(mr)}}else _e.cachedOptions=[],_e.previousValue=void 0;else if(En.value){_e.previousValue=n.modelValue;const Kn=bn.value,dr=Kn.findIndex(mr=>_r(le(mr))===_r(n.modelValue));~dr?_e.selectedLabel=oe(Kn[dr]):(!_e.selectedLabel||Vn)&&(_e.selectedLabel=_r(n.modelValue))}else _e.selectedLabel="",_e.previousValue=void 0;gr(),Bn()};watch(()=>n.fitInputWidth,()=>{Bn()}),watch(Cn,Vn=>{Vn?(n.persistent||Bn(),Jn("")):(_e.inputValue="",_e.previousQuery=null,_e.isBeforeHide=!0,Fn(""))}),watch(()=>n.modelValue,(Vn,Kn)=>{var dr;(!Vn||isArray$5(Vn)&&Vn.length===0||n.multiple&&!isEqual$1(Vn.toString(),_e.previousValue)||!n.multiple&&_r(Vn)!==_r(_e.previousValue))&&nr(!0),!isEqual$1(Vn,Kn)&&n.validateEvent&&((dr=re==null?void 0:re.validate)==null||dr.call(re,"change").catch(br=>void 0))},{deep:!0}),watch(()=>n.options,()=>{const Vn=Ve.value;(!Vn||Vn&&document.activeElement!==Vn)&&nr()},{deep:!0,flush:"post"}),watch(()=>bn.value,()=>(Bn(),ze.value&&nextTick(ze.value.resetScrollTop))),watchEffect(()=>{_e.isBeforeHide||or()}),watchEffect(()=>{const{valueKey:Vn,options:Kn}=n,dr=new Map;for(const mr of Kn){const br=le(mr);let Er=br;if(isObject$6(Er)&&(Er=get$1(br,Vn)),dr.get(Er))break;dr.set(Er,!0)}}),onMounted(()=>{nr()}),useResizeObserver(Ie,Cr),useResizeObserver(Ne,zr),useResizeObserver(jt,jr),useResizeObserver(Pt,ai),useResizeObserver(qe,Ur);let ur;return watch(()=>lr.value,Vn=>{Vn?ur=useResizeObserver(ze,jr).stop:(ur==null||ur(),ur=void 0),t("visible-change",Vn)}),{inputId:ie,collapseTagSize:Mn,currentPlaceholder:ir,expanded:Cn,emptyText:On,popupHeight:Tn,debounce:Nn,allOptions:_n,allOptionsValueMap:Qn,filteredOptions:bn,iconComponent:$n,iconReverse:An,tagStyle:jn,collapseTagStyle:tr,popperSize:Ce,dropdownMenuVisible:lr,hasModelValue:En,shouldShowPlaceholder:hr,selectDisabled:Lt,selectSize:Rn,needStatusIcon:Sn,showClearBtn:kn,states:_e,isFocused:hn,nsSelect:g,nsInput:$,inputRef:Ve,menuRef:ze,tagMenuRef:Pt,tooltipRef:Oe,tagTooltipRef:$e,selectRef:Ie,wrapperRef:jt,selectionRef:Ne,prefixRef:Ue,suffixRef:Fe,collapseItemRef:qe,popperRef:pr,validateState:xn,validateIcon:Ln,showTagList:Yn,collapseTagList:er,debouncedOnInputChange:Wn,deleteTag:ri,getLabel:oe,getValue:le,getDisabled:ue,getValueKey:_r,getIndex:Dn,handleClear:ci,handleClickOutside:Dr,handleDel:ni,handleEsc:si,focus:Wr,blur:ii,handleMenuEnter:Gr,handleResize:Cr,resetSelectionWidth:zr,updateTooltip:jr,updateTagTooltip:ai,updateOptions:or,toggleMenu:vr,scrollTo:Hr,onInput:Rr,onKeyboardNavigate:Jr,onKeyboardSelect:ar,onSelect:ti,onHover:wr,handleCompositionStart:kt,handleCompositionEnd:At,handleCompositionUpdate:Dt}},_sfc_main$1c=defineComponent({name:"ElSelectV2",components:{ElSelectMenu,ElTag,ElTooltip,ElIcon},directives:{ClickOutside},props:selectV2Props,emits:selectV2Emits,setup(n,{emit:t}){const r=computed(()=>{const{modelValue:ie,multiple:ae}=n,oe=ae?[]:void 0;return isArray$5(ie)?ae?ie:oe:ae?oe:ie}),i=useSelect$1(reactive({...toRefs(n),modelValue:r}),t),{calculatorRef:g,inputStyle:$}=useCalcInputWidth(),V=useId();provide(selectV2InjectionKey,{props:reactive({...toRefs(n),height:i.popupHeight,modelValue:r}),expanded:i.expanded,tooltipRef:i.tooltipRef,contentId:V,onSelect:i.onSelect,onHover:i.onHover,onKeyboardNavigate:i.onKeyboardNavigate,onKeyboardSelect:i.onKeyboardSelect});const re=computed(()=>n.multiple?i.states.cachedOptions.map(ie=>i.getLabel(ie)):i.states.selectedLabel);return{...i,modelValue:r,selectedLabel:re,calculatorRef:g,inputStyle:$,contentId:V,BORDER_HORIZONTAL_WIDTH}}}),_hoisted_1$K=["id","autocomplete","tabindex","aria-expanded","aria-label","disabled","aria-controls","aria-activedescendant","readonly","name"],_hoisted_2$w=["textContent"],_hoisted_3$d={key:1};function _sfc_render$5(n,t,r,i,g,$){const V=resolveComponent("el-tag"),re=resolveComponent("el-tooltip"),ie=resolveComponent("el-icon"),ae=resolveComponent("el-select-menu"),oe=resolveDirective("click-outside");return withDirectives((openBlock(),createElementBlock("div",{ref:"selectRef",class:normalizeClass([n.nsSelect.b(),n.nsSelect.m(n.selectSize)]),onMouseenter:t[15]||(t[15]=le=>n.states.inputHovering=!0),onMouseleave:t[16]||(t[16]=le=>n.states.inputHovering=!1)},[createVNode$1(re,{ref:"tooltipRef",visible:n.dropdownMenuVisible,teleported:n.teleported,"popper-class":[n.nsSelect.e("popper"),n.popperClass],"popper-style":n.popperStyle,"gpu-acceleration":!1,"stop-popper-mouse-event":!1,"popper-options":n.popperOptions,"fallback-placements":n.fallbackPlacements,effect:n.effect,placement:n.placement,pure:"",transition:`${n.nsSelect.namespace.value}-zoom-in-top`,trigger:"click",persistent:n.persistent,"append-to":n.appendTo,"show-arrow":n.showArrow,offset:n.offset,onBeforeShow:n.handleMenuEnter,onHide:t[14]||(t[14]=le=>n.states.isBeforeHide=!1)},{default:withCtx(()=>{var le,ue;return[createBaseVNode("div",{ref:"wrapperRef",class:normalizeClass([n.nsSelect.e("wrapper"),n.nsSelect.is("focused",n.isFocused),n.nsSelect.is("hovering",n.states.inputHovering),n.nsSelect.is("filterable",n.filterable),n.nsSelect.is("disabled",n.selectDisabled)]),onClick:t[11]||(t[11]=withModifiers((...de)=>n.toggleMenu&&n.toggleMenu(...de),["prevent"]))},[n.$slots.prefix?(openBlock(),createElementBlock("div",{key:0,ref:"prefixRef",class:normalizeClass(n.nsSelect.e("prefix"))},[renderSlot(n.$slots,"prefix")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"selectionRef",class:normalizeClass([n.nsSelect.e("selection"),n.nsSelect.is("near",n.multiple&&!n.$slots.prefix&&!!n.modelValue.length)])},[n.multiple?renderSlot(n.$slots,"tag",{key:0,data:n.states.cachedOptions,deleteTag:n.deleteTag,selectDisabled:n.selectDisabled},()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.showTagList,de=>(openBlock(),createElementBlock("div",{key:n.getValueKey(n.getValue(de)),class:normalizeClass(n.nsSelect.e("selected-item"))},[createVNode$1(V,{closable:!n.selectDisabled&&!n.getDisabled(de),size:n.collapseTagSize,type:n.tagType,effect:n.tagEffect,"disable-transitions":"",style:normalizeStyle$1(n.tagStyle),onClose:he=>n.deleteTag(he,de)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(n.nsSelect.e("tags-text"))},[renderSlot(n.$slots,"label",{index:n.getIndex(de),label:n.getLabel(de),value:n.getValue(de)},()=>[createTextVNode(toDisplayString(n.getLabel(de)),1)])],2)]),_:2},1032,["closable","size","type","effect","style","onClose"])],2))),128)),n.collapseTags&&n.modelValue.length>n.maxCollapseTags?(openBlock(),createBlock(re,{key:0,ref:"tagTooltipRef",disabled:n.dropdownMenuVisible||!n.collapseTagsTooltip,"fallback-placements":["bottom","top","right","left"],effect:n.effect,placement:"bottom","popper-class":n.popperClass,"popper-style":n.popperStyle,teleported:n.teleported,"popper-options":n.popperOptions},{default:withCtx(()=>[createBaseVNode("div",{ref:"collapseItemRef",class:normalizeClass(n.nsSelect.e("selected-item"))},[createVNode$1(V,{closable:!1,size:n.collapseTagSize,type:n.tagType,effect:n.tagEffect,style:normalizeStyle$1(n.collapseTagStyle),"disable-transitions":""},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(n.nsSelect.e("tags-text"))}," + "+toDisplayString(n.modelValue.length-n.maxCollapseTags),3)]),_:1},8,["size","type","effect","style"])],2)]),content:withCtx(()=>[createBaseVNode("div",{ref:"tagMenuRef",class:normalizeClass(n.nsSelect.e("selection"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.collapseTagList,de=>(openBlock(),createElementBlock("div",{key:n.getValueKey(n.getValue(de)),class:normalizeClass(n.nsSelect.e("selected-item"))},[createVNode$1(V,{class:"in-tooltip",closable:!n.selectDisabled&&!n.getDisabled(de),size:n.collapseTagSize,type:n.tagType,effect:n.tagEffect,"disable-transitions":"",onClose:he=>n.deleteTag(he,de)},{default:withCtx(()=>[createBaseVNode("span",{class:normalizeClass(n.nsSelect.e("tags-text"))},[renderSlot(n.$slots,"label",{index:n.getIndex(de),label:n.getLabel(de),value:n.getValue(de)},()=>[createTextVNode(toDisplayString(n.getLabel(de)),1)])],2)]),_:2},1032,["closable","size","type","effect","onClose"])],2))),128))],2)]),_:3},8,["disabled","effect","popper-class","popper-style","teleported","popper-options"])):createCommentVNode("v-if",!0)]):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([n.nsSelect.e("selected-item"),n.nsSelect.e("input-wrapper"),n.nsSelect.is("hidden",!n.filterable||n.selectDisabled)])},[withDirectives(createBaseVNode("input",{id:n.inputId,ref:"inputRef","onUpdate:modelValue":t[0]||(t[0]=de=>n.states.inputValue=de),style:normalizeStyle$1(n.inputStyle),autocomplete:n.autocomplete,tabindex:n.tabindex,"aria-autocomplete":"none","aria-haspopup":"listbox",autocapitalize:"off","aria-expanded":n.expanded,"aria-label":n.ariaLabel,class:normalizeClass([n.nsSelect.e("input"),n.nsSelect.is(n.selectSize)]),disabled:n.selectDisabled,role:"combobox","aria-controls":n.contentId,"aria-activedescendant":n.states.hoveringIndex>=0?`${n.contentId}-${n.states.hoveringIndex}`:"",readonly:!n.filterable,spellcheck:"false",type:"text",name:n.name,onInput:t[1]||(t[1]=(...de)=>n.onInput&&n.onInput(...de)),onCompositionstart:t[2]||(t[2]=(...de)=>n.handleCompositionStart&&n.handleCompositionStart(...de)),onCompositionupdate:t[3]||(t[3]=(...de)=>n.handleCompositionUpdate&&n.handleCompositionUpdate(...de)),onCompositionend:t[4]||(t[4]=(...de)=>n.handleCompositionEnd&&n.handleCompositionEnd(...de)),onKeydown:[t[5]||(t[5]=withKeys(withModifiers(de=>n.onKeyboardNavigate("backward"),["stop","prevent"]),["up"])),t[6]||(t[6]=withKeys(withModifiers(de=>n.onKeyboardNavigate("forward"),["stop","prevent"]),["down"])),t[7]||(t[7]=withKeys(withModifiers((...de)=>n.onKeyboardSelect&&n.onKeyboardSelect(...de),["stop","prevent"]),["enter"])),t[8]||(t[8]=withKeys(withModifiers((...de)=>n.handleEsc&&n.handleEsc(...de),["stop","prevent"]),["esc"])),t[9]||(t[9]=withKeys(withModifiers((...de)=>n.handleDel&&n.handleDel(...de),["stop"]),["delete"]))],onClick:t[10]||(t[10]=withModifiers((...de)=>n.toggleMenu&&n.toggleMenu(...de),["stop"]))},null,46,_hoisted_1$K),[[vModelText,n.states.inputValue]]),n.filterable?(openBlock(),createElementBlock("span",{key:0,ref:"calculatorRef","aria-hidden":"true",class:normalizeClass(n.nsSelect.e("input-calculator")),textContent:toDisplayString(n.states.inputValue)},null,10,_hoisted_2$w)):createCommentVNode("v-if",!0)],2),n.shouldShowPlaceholder?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([n.nsSelect.e("selected-item"),n.nsSelect.e("placeholder"),n.nsSelect.is("transparent",!n.hasModelValue||n.expanded&&!n.states.inputValue)])},[n.hasModelValue?renderSlot(n.$slots,"label",{key:0,index:(ue=(le=n.allOptionsValueMap.get(n.modelValue))==null?void 0:le.index)!=null?ue:-1,label:n.currentPlaceholder,value:n.modelValue},()=>[createBaseVNode("span",null,toDisplayString(n.currentPlaceholder),1)]):(openBlock(),createElementBlock("span",_hoisted_3$d,toDisplayString(n.currentPlaceholder),1))],2)):createCommentVNode("v-if",!0)],2),createBaseVNode("div",{ref:"suffixRef",class:normalizeClass(n.nsSelect.e("suffix"))},[n.iconComponent?withDirectives((openBlock(),createBlock(ie,{key:0,class:normalizeClass([n.nsSelect.e("caret"),n.nsInput.e("icon"),n.iconReverse])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.iconComponent)))]),_:1},8,["class"])),[[vShow,!n.showClearBtn]]):createCommentVNode("v-if",!0),n.showClearBtn&&n.clearIcon?(openBlock(),createBlock(ie,{key:1,class:normalizeClass([n.nsSelect.e("caret"),n.nsInput.e("icon"),n.nsSelect.e("clear")]),onClick:withModifiers(n.handleClear,["prevent","stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.clearIcon)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),n.validateState&&n.validateIcon&&n.needStatusIcon?(openBlock(),createBlock(ie,{key:2,class:normalizeClass([n.nsInput.e("icon"),n.nsInput.e("validateIcon"),n.nsInput.is("loading",n.validateState==="validating")])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.validateIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],2)]}),content:withCtx(()=>[createVNode$1(ae,{id:n.contentId,ref:"menuRef",data:n.filteredOptions,width:n.popperSize-n.BORDER_HORIZONTAL_WIDTH,"hovering-index":n.states.hoveringIndex,"scrollbar-always-on":n.scrollbarAlwaysOn,"aria-label":n.ariaLabel},createSlots({default:withCtx(le=>[renderSlot(n.$slots,"default",normalizeProps(guardReactiveProps(le)))]),_:2},[n.$slots.header?{name:"header",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(n.nsSelect.be("dropdown","header")),onClick:t[12]||(t[12]=withModifiers(()=>{},["stop"]))},[renderSlot(n.$slots,"header")],2)]),key:"0"}:void 0,n.$slots.loading&&n.loading?{name:"loading",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(n.nsSelect.be("dropdown","loading"))},[renderSlot(n.$slots,"loading")],2)]),key:"1"}:n.loading||n.filteredOptions.length===0?{name:"empty",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(n.nsSelect.be("dropdown","empty"))},[renderSlot(n.$slots,"empty",{},()=>[createBaseVNode("span",null,toDisplayString(n.emptyText),1)])],2)]),key:"2"}:void 0,n.$slots.footer?{name:"footer",fn:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(n.nsSelect.be("dropdown","footer")),onClick:t[13]||(t[13]=withModifiers(()=>{},["stop"]))},[renderSlot(n.$slots,"footer")],2)]),key:"3"}:void 0]),1032,["id","data","width","hovering-index","scrollbar-always-on","aria-label"])]),_:3},8,["visible","teleported","popper-class","popper-style","popper-options","fallback-placements","effect","placement","transition","persistent","append-to","show-arrow","offset","onBeforeShow"])],34)),[[oe,n.handleClickOutside,n.popperRef]])}var Select=_export_sfc(_sfc_main$1c,[["render",_sfc_render$5],["__file","/home/runner/work/element-plus/element-plus/packages/components/select-v2/src/select.vue"]]);const ElSelectV2=withInstall(Select),skeletonProps=buildProps({animated:Boolean,count:{type:Number,default:1},rows:{type:Number,default:3},loading:{type:Boolean,default:!0},throttle:{type:definePropType([Number,Object])}}),skeletonItemProps=buildProps({variant:{type:String,values:["circle","rect","h1","h3","text","caption","p","image","button"],default:"text"}}),_sfc_main$1b=defineComponent({name:"ElSkeletonItem",__name:"skeleton-item",props:skeletonItemProps,setup(n){const t=useNamespace("skeleton");return(r,i)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(t).e("item"),unref(t).e(r.variant)])},[r.variant==="image"?(openBlock(),createBlock(unref(picture_filled_default),{key:0})):createCommentVNode("v-if",!0)],2))}});var SkeletonItem=_export_sfc(_sfc_main$1b,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton-item.vue"]]);const useThrottleRender=(n,t=0)=>{if(t===0)return n;const r=isObject$6(t)&&!!t.initVal,i=ref(r);let g=null;const $=re=>{if(isUndefined$1(re)){i.value=n.value;return}g&&clearTimeout(g),g=setTimeout(()=>{i.value=n.value},re)},V=re=>{re==="leading"?isNumber$2(t)?$(t):$(t.leading):isObject$6(t)?$(t.trailing):i.value=!1};return onMounted(()=>V("leading")),watch(()=>n.value,re=>{V(re?"leading":"trailing")}),i},_sfc_main$1a=defineComponent({name:"ElSkeleton",__name:"skeleton",props:skeletonProps,setup(n,{expose:t}){const r=n,i=useNamespace("skeleton"),g=useThrottleRender(toRef$1(r,"loading"),r.throttle);return t({uiLoading:g}),($,V)=>unref(g)?(openBlock(),createElementBlock("div",mergeProps({key:0,class:[unref(i).b(),unref(i).is("animated",$.animated)]},$.$attrs),[(openBlock(!0),createElementBlock(Fragment,null,renderList($.count,re=>(openBlock(),createElementBlock(Fragment,{key:re},[unref(g)?renderSlot($.$slots,"template",{key:re},()=>[createVNode$1(SkeletonItem,{class:normalizeClass(unref(i).is("first")),variant:"p"},null,8,["class"]),(openBlock(!0),createElementBlock(Fragment,null,renderList($.rows,ie=>(openBlock(),createBlock(SkeletonItem,{key:ie,class:normalizeClass([unref(i).e("paragraph"),unref(i).is("last",ie===$.rows&&$.rows>1)]),variant:"p"},null,8,["class"]))),128))]):createCommentVNode("v-if",!0)],64))),128))],16)):renderSlot($.$slots,"default",normalizeProps(mergeProps({key:1},$.$attrs)))}});var Skeleton$1=_export_sfc(_sfc_main$1a,[["__file","/home/runner/work/element-plus/element-plus/packages/components/skeleton/src/skeleton.vue"]]);const ElSkeleton=withInstall(Skeleton$1,{SkeletonItem}),ElSkeletonItem=withNoopInstall(SkeletonItem),sliderContextKey=Symbol("sliderContextKey"),sliderProps=buildProps({modelValue:{type:definePropType([Number,Array]),default:0},id:{type:String,default:void 0},min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},showInput:Boolean,showInputControls:{type:Boolean,default:!0},size:useSizeProp,inputSize:useSizeProp,showStops:Boolean,showTooltip:{type:Boolean,default:!0},formatTooltip:{type:definePropType(Function),default:void 0},disabled:{type:Boolean,default:void 0},range:Boolean,vertical:Boolean,height:String,rangeStartLabel:{type:String,default:void 0},rangeEndLabel:{type:String,default:void 0},formatValueText:{type:definePropType(Function),default:void 0},tooltipClass:{type:String,default:void 0},placement:{type:String,values:Ee,default:"top"},marks:{type:definePropType(Object)},validateEvent:{type:Boolean,default:!0},persistent:{type:Boolean,default:!0},...useAriaProps(["ariaLabel"])}),isValidValue$1=n=>isNumber$2(n)||isArray$5(n)&&n.every(isNumber$2),sliderEmits={[UPDATE_MODEL_EVENT]:isValidValue$1,[INPUT_EVENT]:isValidValue$1,[CHANGE_EVENT]:isValidValue$1},sliderButtonProps=buildProps({modelValue:{type:Number,default:0},vertical:Boolean,tooltipClass:String,placement:{type:String,values:Ee,default:"top"}}),sliderButtonEmits={[UPDATE_MODEL_EVENT]:n=>isNumber$2(n)},useTooltip=(n,t,r)=>{const i=ref(),g=ref(!1),$=computed(()=>t.value instanceof Function),V=computed(()=>$.value&&t.value(n.modelValue)||n.modelValue),re=debounce(()=>{r.value&&(g.value=!0)},50),ie=debounce(()=>{r.value&&(g.value=!1)},50);return{tooltip:i,tooltipVisible:g,formatValue:V,displayTooltip:re,hideTooltip:ie}},useSliderButton=(n,t,r)=>{const{disabled:i,min:g,max:$,step:V,showTooltip:re,persistent:ie,precision:ae,sliderSize:oe,formatTooltip:le,emitChange:ue,resetSize:de,updateDragging:he}=inject(sliderContextKey),{tooltip:pe,tooltipVisible:_e,formatValue:Ce,displayTooltip:xe,hideTooltip:Ie}=useTooltip(n,le,re),Ne=ref(),Oe=computed(()=>`${(n.modelValue-g.value)/($.value-g.value)*100}%`),$e=computed(()=>n.vertical?{bottom:Oe.value}:{left:Oe.value}),Ve=()=>{t.hovering=!0,xe()},Ue=()=>{t.hovering=!1,t.dragging||Ie()},Fe=bn=>{i.value||(bn.preventDefault(),hn(bn),window.addEventListener("mousemove",vn),window.addEventListener("touchmove",vn),window.addEventListener("mouseup",_n),window.addEventListener("touchend",_n),window.addEventListener("contextmenu",_n),Ne.value.focus())},ze=bn=>{i.value||(t.newPosition=Number.parseFloat(Oe.value)+bn/($.value-g.value)*100,wn(t.newPosition),ue())},Pt=()=>{ze(-V.value)},qe=()=>{ze(V.value)},Et=()=>{ze(-V.value*4)},kt=()=>{ze(V.value*4)},At=()=>{i.value||(wn(0),ue())},Dt=()=>{i.value||(wn(100),ue())},Lt=bn=>{const Cn=getEventCode(bn);let Sn=!0;switch(Cn){case EVENT_CODE.left:case EVENT_CODE.down:Pt();break;case EVENT_CODE.right:case EVENT_CODE.up:qe();break;case EVENT_CODE.home:At();break;case EVENT_CODE.end:Dt();break;case EVENT_CODE.pageDown:Et();break;case EVENT_CODE.pageUp:kt();break;default:Sn=!1;break}Sn&&bn.preventDefault()},jt=bn=>{let Cn,Sn;return bn.type.startsWith("touch")?(Sn=bn.touches[0].clientY,Cn=bn.touches[0].clientX):(Sn=bn.clientY,Cn=bn.clientX),{clientX:Cn,clientY:Sn}},hn=bn=>{t.dragging=!0,t.isClick=!0;const{clientX:Cn,clientY:Sn}=jt(bn);n.vertical?t.startY=Sn:t.startX=Cn,t.startPosition=Number.parseFloat(Oe.value),t.newPosition=t.startPosition},vn=bn=>{if(t.dragging){t.isClick=!1,xe(),de();let Cn;const{clientX:Sn,clientY:Tn}=jt(bn);n.vertical?(t.currentY=Tn,Cn=(t.startY-t.currentY)/oe.value*100):(t.currentX=Sn,Cn=(t.currentX-t.startX)/oe.value*100),t.newPosition=t.startPosition+Cn,wn(t.newPosition)}},_n=()=>{t.dragging&&(setTimeout(()=>{t.dragging=!1,t.hovering||Ie(),t.isClick||wn(t.newPosition),ue()},0),window.removeEventListener("mousemove",vn),window.removeEventListener("touchmove",vn),window.removeEventListener("mouseup",_n),window.removeEventListener("touchend",_n),window.removeEventListener("contextmenu",_n))},wn=async bn=>{if(bn===null||Number.isNaN(+bn))return;bn=clamp$3(bn,0,100);const Cn=Math.floor(($.value-g.value)/V.value),Sn=Cn*V.value/($.value-g.value)*100,Tn=Sn+(100-Sn)/2;let En;if(bnt.dragging,bn=>{he(bn)}),useEventListener(Ne,"touchstart",Fe,{passive:!1}),{disabled:i,button:Ne,tooltip:pe,tooltipVisible:_e,showTooltip:re,persistent:ie,wrapperStyle:$e,formatValue:Ce,handleMouseEnter:Ve,handleMouseLeave:Ue,onButtonDown:Fe,onKeyDown:Lt,setPosition:wn}},_hoisted_1$J=["tabindex"],_sfc_main$19=defineComponent({name:"ElSliderButton",__name:"button",props:sliderButtonProps,emits:sliderButtonEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useNamespace("slider"),V=reactive({hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:0,oldValue:i.modelValue}),re=computed(()=>le.value?ue.value:!1),{disabled:ie,button:ae,tooltip:oe,showTooltip:le,persistent:ue,tooltipVisible:de,wrapperStyle:he,formatValue:pe,handleMouseEnter:_e,handleMouseLeave:Ce,onButtonDown:xe,onKeyDown:Ie,setPosition:Ne}=useSliderButton(i,V,g),{hovering:Oe,dragging:$e}=toRefs(V);return t({onButtonDown:xe,onKeyDown:Ie,setPosition:Ne,hovering:Oe,dragging:$e}),(Ve,Ue)=>(openBlock(),createElementBlock("div",{ref_key:"button",ref:ae,class:normalizeClass([unref($).e("button-wrapper"),{hover:unref(Oe),dragging:unref($e)}]),style:normalizeStyle$1(unref(he)),tabindex:unref(ie)?void 0:0,onMouseenter:Ue[0]||(Ue[0]=(...Fe)=>unref(_e)&&unref(_e)(...Fe)),onMouseleave:Ue[1]||(Ue[1]=(...Fe)=>unref(Ce)&&unref(Ce)(...Fe)),onMousedown:Ue[2]||(Ue[2]=(...Fe)=>unref(xe)&&unref(xe)(...Fe)),onFocus:Ue[3]||(Ue[3]=(...Fe)=>unref(_e)&&unref(_e)(...Fe)),onBlur:Ue[4]||(Ue[4]=(...Fe)=>unref(Ce)&&unref(Ce)(...Fe)),onKeydown:Ue[5]||(Ue[5]=(...Fe)=>unref(Ie)&&unref(Ie)(...Fe))},[createVNode$1(unref(ElTooltip),{ref_key:"tooltip",ref:oe,visible:unref(de),placement:Ve.placement,"fallback-placements":["top","bottom","right","left"],"stop-popper-mouse-event":!1,"popper-class":Ve.tooltipClass,disabled:!unref(le),persistent:re.value},{content:withCtx(()=>[createBaseVNode("span",null,toDisplayString(unref(pe)),1)]),default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass([unref($).e("button"),{hover:unref(Oe),dragging:unref($e)}])},null,2)]),_:1},8,["visible","placement","popper-class","disabled","persistent"])],46,_hoisted_1$J))}});var SliderButton=_export_sfc(_sfc_main$19,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/button.vue"]]);const sliderMarkerProps=buildProps({mark:{type:definePropType([String,Object]),default:void 0}});var SliderMarker=defineComponent({name:"ElSliderMarker",props:sliderMarkerProps,setup(n){const t=useNamespace("slider"),r=computed(()=>isString$2(n.mark)?n.mark:n.mark.label),i=computed(()=>isString$2(n.mark)?void 0:n.mark.style);return()=>h$1("div",{class:t.e("marks-text"),style:i.value},r.value)}});const useSlide=(n,t,r)=>{const{formItem:i}=useFormItem(),g=shallowRef(),$=ref(),V=ref(),re={firstButton:$,secondButton:V},ie=useFormDisabled(),ae=computed(()=>Math.min(t.firstValue,t.secondValue)),oe=computed(()=>Math.max(t.firstValue,t.secondValue)),le=computed(()=>n.range?`${100*(oe.value-ae.value)/(n.max-n.min)}%`:`${100*(t.firstValue-n.min)/(n.max-n.min)}%`),ue=computed(()=>n.range?`${100*(ae.value-n.min)/(n.max-n.min)}%`:"0%"),de=computed(()=>n.vertical?{height:n.height}:{}),he=computed(()=>n.vertical?{height:le.value,bottom:ue.value}:{width:le.value,left:ue.value}),pe=()=>{if(g.value){const Pt=g.value.getBoundingClientRect();t.sliderSize=Pt[n.vertical?"height":"width"]}},_e=Pt=>{const qe=n.min+Pt*(n.max-n.min)/100;if(!n.range)return $;let Et;return Math.abs(ae.value-qe)t.secondValue?"firstButton":"secondButton",re[Et]},Ce=Pt=>{const qe=_e(Pt);return qe.value.setPosition(Pt),qe},xe=Pt=>{t.firstValue=Pt??n.min,Ne(n.range?[ae.value,oe.value]:Pt??n.min)},Ie=Pt=>{t.secondValue=Pt,n.range&&Ne([ae.value,oe.value])},Ne=Pt=>{r(UPDATE_MODEL_EVENT,Pt),r(INPUT_EVENT,Pt)},Oe=async()=>{await nextTick(),r(CHANGE_EVENT,n.range?[ae.value,oe.value]:n.modelValue)},$e=Pt=>{var qe,Et,kt,At,Dt,Lt;if(ie.value||t.dragging)return;pe();let jt=0;if(n.vertical){const hn=(kt=(Et=(qe=Pt.touches)==null?void 0:qe.item(0))==null?void 0:Et.clientY)!=null?kt:Pt.clientY;jt=(g.value.getBoundingClientRect().bottom-hn)/t.sliderSize*100}else{const hn=(Lt=(Dt=(At=Pt.touches)==null?void 0:At.item(0))==null?void 0:Dt.clientX)!=null?Lt:Pt.clientX,vn=g.value.getBoundingClientRect().left;jt=(hn-vn)/t.sliderSize*100}if(!(jt<0||jt>100))return Ce(jt)};return{elFormItem:i,slider:g,firstButton:$,secondButton:V,sliderDisabled:ie,minValue:ae,maxValue:oe,runwayStyle:de,barStyle:he,resetSize:pe,setPosition:Ce,emitChange:Oe,onSliderWrapperPrevent:Pt=>{var qe,Et;((qe=re.firstButton.value)!=null&&qe.dragging||(Et=re.secondButton.value)!=null&&Et.dragging)&&Pt.preventDefault()},onSliderClick:Pt=>{$e(Pt)&&Oe()},onSliderDown:async Pt=>{const qe=$e(Pt);qe&&(await nextTick(),qe.value.onButtonDown(Pt))},onSliderMarkerDown:Pt=>{if(ie.value||t.dragging)return;Ce(Pt)&&Oe()},setFirstValue:xe,setSecondValue:Ie}},useStops=(n,t,r,i)=>({stops:computed(()=>{if(!n.showStops||n.min>n.max)return[];if(n.step===0)return[];const V=Math.ceil((n.max-n.min)/n.step),re=100*n.step/(n.max-n.min),ie=Array.from({length:V-1}).map((ae,oe)=>(oe+1)*re);return n.range?ie.filter(ae=>ae<100*(r.value-n.min)/(n.max-n.min)||ae>100*(i.value-n.min)/(n.max-n.min)):ie.filter(ae=>ae>100*(t.firstValue-n.min)/(n.max-n.min))}),getStopStyle:V=>n.vertical?{bottom:`${V}%`}:{left:`${V}%`}}),useMarks=n=>computed(()=>n.marks?Object.keys(n.marks).map(Number.parseFloat).sort((r,i)=>r-i).filter(r=>r<=n.max&&r>=n.min).map(r=>({point:r,position:(r-n.min)*100/(n.max-n.min),mark:n.marks[r]})):[]),useWatch=(n,t,r,i,g,$)=>{const V=ae=>{g(UPDATE_MODEL_EVENT,ae),g(INPUT_EVENT,ae)},re=()=>n.range?![r.value,i.value].every((ae,oe)=>ae===t.oldValue[oe]):n.modelValue!==t.oldValue,ie=()=>{var ae,oe;n.min>n.max&&throwError$1("Slider","min should not be greater than max.");const le=n.modelValue;n.range&&isArray$5(le)?le[1]n.max?V([n.max,n.max]):le[0]n.max?V([le[0],n.max]):(t.firstValue=le[0],t.secondValue=le[1],re()&&(n.validateEvent&&((ae=$==null?void 0:$.validate)==null||ae.call($,"change").catch(ue=>void 0)),t.oldValue=le.slice())):!n.range&&isNumber$2(le)&&!Number.isNaN(le)&&(len.max?V(n.max):(t.firstValue=le,re()&&(n.validateEvent&&((oe=$==null?void 0:$.validate)==null||oe.call($,"change").catch(ue=>void 0)),t.oldValue=le)))};ie(),watch(()=>t.dragging,ae=>{ae||ie()}),watch(()=>n.modelValue,(ae,oe)=>{t.dragging||isArray$5(ae)&&isArray$5(oe)&&ae.every((le,ue)=>le===oe[ue])&&t.firstValue===ae[0]&&t.secondValue===ae[1]||ie()},{deep:!0}),watch(()=>[n.min,n.max],()=>{ie()})},useLifecycle=(n,t,r)=>{const i=ref();return onMounted(async()=>{n.range?(isArray$5(n.modelValue)?(t.firstValue=Math.max(n.min,n.modelValue[0]),t.secondValue=Math.min(n.max,n.modelValue[1])):(t.firstValue=n.min,t.secondValue=n.max),t.oldValue=[t.firstValue,t.secondValue]):(!isNumber$2(n.modelValue)||Number.isNaN(n.modelValue)?t.firstValue=n.min:t.firstValue=Math.min(n.max,Math.max(n.min,n.modelValue)),t.oldValue=t.firstValue),useEventListener(window,"resize",r),await nextTick(),r()}),{sliderWrapper:i}},_hoisted_1$I=["id","role","aria-label","aria-labelledby"],_hoisted_2$v={key:1},_sfc_main$18=defineComponent({name:"ElSlider",__name:"slider",props:sliderProps,emits:sliderEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useNamespace("slider"),{t:V}=useLocale(),re=reactive({firstValue:0,secondValue:0,oldValue:0,dragging:!1,sliderSize:1}),{elFormItem:ie,slider:ae,firstButton:oe,secondButton:le,sliderDisabled:ue,minValue:de,maxValue:he,runwayStyle:pe,barStyle:_e,resetSize:Ce,emitChange:xe,onSliderWrapperPrevent:Ie,onSliderClick:Ne,onSliderDown:Oe,onSliderMarkerDown:$e,setFirstValue:Ve,setSecondValue:Ue}=useSlide(i,re,g),{stops:Fe,getStopStyle:ze}=useStops(i,re,de,he),{inputId:Pt,isLabeledByFormItem:qe}=useFormItemInputId(i,{formItemContext:ie}),Et=useFormSize(),kt=computed(()=>i.inputSize||Et.value),At=computed(()=>i.ariaLabel||V("el.slider.defaultLabel",{min:i.min,max:i.max})),Dt=computed(()=>i.range?i.rangeStartLabel||V("el.slider.defaultRangeStartLabel"):At.value),Lt=computed(()=>i.formatValueText?i.formatValueText(Cn.value):`${Cn.value}`),jt=computed(()=>i.rangeEndLabel||V("el.slider.defaultRangeEndLabel")),hn=computed(()=>i.formatValueText?i.formatValueText(Sn.value):`${Sn.value}`),vn=computed(()=>[$.b(),$.m(Et.value),$.is("vertical",i.vertical),{[$.m("with-input")]:i.showInput}]),_n=useMarks(i);useWatch(i,re,de,he,g,ie);const wn=computed(()=>{const kn=[i.min,i.max,i.step].map($n=>{const An=`${$n}`.split(".")[1];return An?An.length:0});return Math.max.apply(null,kn)}),{sliderWrapper:bn}=useLifecycle(i,re,Ce),{firstValue:Cn,secondValue:Sn,sliderSize:Tn}=toRefs(re),En=kn=>{re.dragging=kn};return useEventListener(bn,"touchstart",Ie,{passive:!1}),useEventListener(bn,"touchmove",Ie,{passive:!1}),provide(sliderContextKey,{...toRefs(i),sliderSize:Tn,disabled:ue,precision:wn,emitChange:xe,resetSize:Ce,updateDragging:En}),t({onSliderClick:Ne}),(kn,$n)=>{var An,xn;return openBlock(),createElementBlock("div",{id:kn.range?unref(Pt):void 0,ref_key:"sliderWrapper",ref:bn,class:normalizeClass(vn.value),role:kn.range?"group":void 0,"aria-label":kn.range&&!unref(qe)?At.value:void 0,"aria-labelledby":kn.range&&unref(qe)?(An=unref(ie))==null?void 0:An.labelId:void 0},[createBaseVNode("div",{ref_key:"slider",ref:ae,class:normalizeClass([unref($).e("runway"),{"show-input":kn.showInput&&!kn.range},unref($).is("disabled",unref(ue))]),style:normalizeStyle$1(unref(pe)),onMousedown:$n[0]||($n[0]=(...Ln)=>unref(Oe)&&unref(Oe)(...Ln)),onTouchstartPassive:$n[1]||($n[1]=(...Ln)=>unref(Oe)&&unref(Oe)(...Ln))},[createBaseVNode("div",{class:normalizeClass(unref($).e("bar")),style:normalizeStyle$1(unref(_e))},null,6),createVNode$1(SliderButton,{id:kn.range?void 0:unref(Pt),ref_key:"firstButton",ref:oe,"model-value":unref(Cn),vertical:kn.vertical,"tooltip-class":kn.tooltipClass,placement:kn.placement,role:"slider","aria-label":kn.range||!unref(qe)?Dt.value:void 0,"aria-labelledby":!kn.range&&unref(qe)?(xn=unref(ie))==null?void 0:xn.labelId:void 0,"aria-valuemin":kn.min,"aria-valuemax":kn.range?unref(Sn):kn.max,"aria-valuenow":unref(Cn),"aria-valuetext":Lt.value,"aria-orientation":kn.vertical?"vertical":"horizontal","aria-disabled":unref(ue),"onUpdate:modelValue":unref(Ve)},null,8,["id","model-value","vertical","tooltip-class","placement","aria-label","aria-labelledby","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"]),kn.range?(openBlock(),createBlock(SliderButton,{key:0,ref_key:"secondButton",ref:le,"model-value":unref(Sn),vertical:kn.vertical,"tooltip-class":kn.tooltipClass,placement:kn.placement,role:"slider","aria-label":jt.value,"aria-valuemin":unref(Cn),"aria-valuemax":kn.max,"aria-valuenow":unref(Sn),"aria-valuetext":hn.value,"aria-orientation":kn.vertical?"vertical":"horizontal","aria-disabled":unref(ue),"onUpdate:modelValue":unref(Ue)},null,8,["model-value","vertical","tooltip-class","placement","aria-label","aria-valuemin","aria-valuemax","aria-valuenow","aria-valuetext","aria-orientation","aria-disabled","onUpdate:modelValue"])):createCommentVNode("v-if",!0),kn.showStops?(openBlock(),createElementBlock("div",_hoisted_2$v,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Fe),(Ln,Nn)=>(openBlock(),createElementBlock("div",{key:Nn,class:normalizeClass(unref($).e("stop")),style:normalizeStyle$1(unref(ze)(Ln))},null,6))),128))])):createCommentVNode("v-if",!0),unref(_n).length>0?(openBlock(),createElementBlock(Fragment,{key:2},[createBaseVNode("div",null,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_n),(Ln,Nn)=>(openBlock(),createElementBlock("div",{key:Nn,style:normalizeStyle$1(unref(ze)(Ln.position)),class:normalizeClass([unref($).e("stop"),unref($).e("marks-stop")])},null,6))),128))]),createBaseVNode("div",{class:normalizeClass(unref($).e("marks"))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(_n),(Ln,Nn)=>(openBlock(),createBlock(unref(SliderMarker),{key:Nn,mark:Ln.mark,style:normalizeStyle$1(unref(ze)(Ln.position)),onMousedown:withModifiers(Pn=>unref($e)(Ln.position),["stop"])},null,8,["mark","style","onMousedown"]))),128))],2)],64)):createCommentVNode("v-if",!0)],38),kn.showInput&&!kn.range?(openBlock(),createBlock(unref(ElInputNumber),{key:0,ref:"input","model-value":unref(Cn),class:normalizeClass(unref($).e("input")),step:kn.step,disabled:unref(ue),controls:kn.showInputControls,min:kn.min,max:kn.max,precision:wn.value,size:kt.value,"onUpdate:modelValue":unref(Ve),onChange:unref(xe)},null,8,["model-value","class","step","disabled","controls","min","max","precision","size","onUpdate:modelValue","onChange"])):createCommentVNode("v-if",!0)],10,_hoisted_1$I)}}});var Slider=_export_sfc(_sfc_main$18,[["__file","/home/runner/work/element-plus/element-plus/packages/components/slider/src/slider.vue"]]);const ElSlider=withInstall(Slider),spaceItemProps=buildProps({prefixCls:{type:String}}),SpaceItem=defineComponent({name:"ElSpaceItem",props:spaceItemProps,setup(n,{slots:t}){const r=useNamespace("space"),i=computed(()=>`${n.prefixCls||r.b()}__item`);return()=>h$1("div",{class:i.value},renderSlot(t,"default"))}}),SIZE_MAP={small:8,default:12,large:16};function useSpace(n){const t=useNamespace("space"),r=computed(()=>[t.b(),t.m(n.direction),n.class]),i=ref(0),g=ref(0),$=computed(()=>{const re=n.wrap||n.fill?{flexWrap:"wrap"}:{},ie={alignItems:n.alignment},ae={rowGap:`${g.value}px`,columnGap:`${i.value}px`};return[re,ie,ae,n.style]}),V=computed(()=>n.fill?{flexGrow:1,minWidth:`${n.fillRatio}%`}:{});return watchEffect(()=>{const{size:re="small",wrap:ie,direction:ae,fill:oe}=n;if(isArray$5(re)){const[le=0,ue=0]=re;i.value=le,g.value=ue}else{let le;isNumber$2(re)?le=re:le=SIZE_MAP[re||"small"]||SIZE_MAP.small,(ie||oe)&&ae==="horizontal"?i.value=g.value=le:ae==="horizontal"?(i.value=le,g.value=0):(g.value=le,i.value=0)}}),{classes:r,containerStyle:$,itemStyle:V}}const spaceProps=buildProps({direction:{type:String,values:["horizontal","vertical"],default:"horizontal"},class:{type:definePropType([String,Object,Array]),default:""},style:{type:definePropType([String,Array,Object]),default:""},alignment:{type:definePropType(String),default:"center"},prefixCls:{type:String},spacer:{type:definePropType([Object,String,Number,Array]),default:null,validator:n=>isVNode(n)||isNumber$2(n)||isString$2(n)},wrap:Boolean,fill:Boolean,fillRatio:{type:Number,default:100},size:{type:[String,Array,Number],values:componentSizes,validator:n=>isNumber$2(n)||isArray$5(n)&&n.length===2&&n.every(isNumber$2)}}),Space=defineComponent({name:"ElSpace",props:spaceProps,setup(n,{slots:t}){const{classes:r,containerStyle:i,itemStyle:g}=useSpace(n);function $(V,re="",ie=[]){const{prefixCls:ae}=n;return V.forEach((oe,le)=>{isFragment(oe)?isArray$5(oe.children)&&oe.children.forEach((ue,de)=>{isFragment(ue)&&isArray$5(ue.children)?$(ue.children,`${re+de}-`,ie):isVNode(ue)&&(ue==null?void 0:ue.type)===Comment?ie.push(ue):ie.push(createVNode$1(SpaceItem,{style:g.value,prefixCls:ae,key:`nested-${re+de}`},{default:()=>[ue]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}):isValidElementNode(oe)&&ie.push(createVNode$1(SpaceItem,{style:g.value,prefixCls:ae,key:`LoopKey${re+le}`},{default:()=>[oe]},PatchFlags.PROPS|PatchFlags.STYLE,["style","prefixCls"]))}),ie}return()=>{var V;const{spacer:re,direction:ie}=n,ae=renderSlot(t,"default",{key:0},()=>[]);if(((V=ae.children)!=null?V:[]).length===0)return null;if(isArray$5(ae.children)){let oe=$(ae.children);if(re){const le=oe.length-1;oe=oe.reduce((ue,de,he)=>{const pe=[...ue,de];return he!==le&&pe.push(createVNode$1("span",{style:[g.value,ie==="vertical"?"width: 100%":null],key:he},[isVNode(re)?re:createTextVNode(re,PatchFlags.TEXT)],PatchFlags.STYLE)),pe},[])}return createVNode$1("div",{class:r.value,style:i.value},oe,PatchFlags.STYLE|PatchFlags.CLASS)}return ae.children}}}),ElSpace=withInstall(Space),statisticProps=buildProps({decimalSeparator:{type:String,default:"."},groupSeparator:{type:String,default:","},precision:{type:Number,default:0},formatter:Function,value:{type:definePropType([Number,Object]),default:0},prefix:String,suffix:String,title:String,valueStyle:{type:definePropType([String,Object,Array])}}),_sfc_main$17=defineComponent({name:"ElStatistic",__name:"statistic",props:statisticProps,setup(n,{expose:t}){const r=n,i=useNamespace("statistic"),g=computed(()=>{const{value:$,formatter:V,precision:re,decimalSeparator:ie,groupSeparator:ae}=r;if(isFunction$4(V))return V($);if(!isNumber$2($)||Number.isNaN($))return $;let[oe,le=""]=String($).split(".");return le=le.padEnd(re,"0").slice(0,re>0?re:0),oe=oe.replace(/\B(?=(\d{3})+(?!\d))/g,ae),[oe,le].join(le?ie:"")});return t({displayValue:g}),($,V)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(i).b())},[$.$slots.title||$.title?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).e("head"))},[renderSlot($.$slots,"title",{},()=>[createTextVNode(toDisplayString($.title),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(i).e("content"))},[$.$slots.prefix||$.prefix?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).e("prefix"))},[renderSlot($.$slots,"prefix",{},()=>[createBaseVNode("span",null,toDisplayString($.prefix),1)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(i).e("number")),style:normalizeStyle$1($.valueStyle)},toDisplayString(g.value),7),$.$slots.suffix||$.suffix?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(i).e("suffix"))},[renderSlot($.$slots,"suffix",{},()=>[createBaseVNode("span",null,toDisplayString($.suffix),1)])],2)):createCommentVNode("v-if",!0)],2)],2))}});var Statistic=_export_sfc(_sfc_main$17,[["__file","/home/runner/work/element-plus/element-plus/packages/components/statistic/src/statistic.vue"]]);const ElStatistic=withInstall(Statistic),countdownProps=buildProps({format:{type:String,default:"HH:mm:ss"},prefix:String,suffix:String,title:String,value:{type:definePropType([Number,Object]),default:0},valueStyle:{type:definePropType([String,Object,Array])}}),countdownEmits={finish:()=>!0,[CHANGE_EVENT]:n=>isNumber$2(n)},timeUnits=[["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]],getTime$1=n=>isNumber$2(n)?new Date(n).getTime():n.valueOf(),formatTime$1=(n,t)=>{let r=n;const i=/\[([^\]]*)]/g;return timeUnits.reduce(($,[V,re])=>{const ie=new RegExp(`${V}+(?![^\\[\\]]*\\])`,"g");if(ie.test($)){const ae=Math.floor(r/re);return r-=ae*re,$.replace(ie,oe=>String(ae).padStart(oe.length,"0"))}return $},t).replace(i,"$1")},_sfc_main$16=defineComponent({name:"ElCountdown",__name:"countdown",props:countdownProps,emits:countdownEmits,setup(n,{expose:t,emit:r}){const i=n,g=r;let $;const V=ref(0),re=computed(()=>formatTime$1(V.value,i.format)),ie=le=>formatTime$1(le,i.format),ae=()=>{$&&(cAF($),$=void 0)},oe=()=>{const le=getTime$1(i.value),ue=()=>{let de=le-Date.now();g(CHANGE_EVENT,de),de<=0?(de=0,ae(),g("finish")):$=rAF(ue),V.value=de};$=rAF(ue)};return onMounted(()=>{V.value=getTime$1(i.value)-Date.now(),watch(()=>[i.value,i.format],()=>{ae(),oe()},{immediate:!0})}),onBeforeUnmount(()=>{ae()}),t({displayValue:re}),(le,ue)=>(openBlock(),createBlock(unref(ElStatistic),{value:V.value,title:le.title,prefix:le.prefix,suffix:le.suffix,"value-style":le.valueStyle,formatter:ie},createSlots({_:2},[renderList(le.$slots,(de,he)=>({name:he,fn:withCtx(()=>[renderSlot(le.$slots,he)])}))]),1032,["value","title","prefix","suffix","value-style"]))}});var Countdown=_export_sfc(_sfc_main$16,[["__file","/home/runner/work/element-plus/element-plus/packages/components/countdown/src/countdown.vue"]]);const ElCountdown=withInstall(Countdown),stepsProps=buildProps({space:{type:[Number,String],default:""},active:{type:Number,default:0},direction:{type:String,default:"horizontal",values:["horizontal","vertical"]},alignCenter:{type:Boolean},simple:{type:Boolean},finishStatus:{type:String,values:["wait","process","finish","error","success"],default:"finish"},processStatus:{type:String,values:["wait","process","finish","error","success"],default:"process"}}),stepsEmits={[CHANGE_EVENT]:(n,t)=>[n,t].every(isNumber$2)},STEPS_INJECTION_KEY="ElSteps",_sfc_main$15=defineComponent({name:"ElSteps",__name:"steps",props:stepsProps,emits:stepsEmits,setup(n,{emit:t}){const r=n,i=t,g=useNamespace("steps"),{children:$,addChild:V,removeChild:re,ChildrenSorter:ie}=useOrderedChildren(getCurrentInstance(),"ElStep");return watch($,()=>{$.value.forEach((ae,oe)=>{ae.setIndex(oe)})}),provide(STEPS_INJECTION_KEY,{props:r,steps:$,addStep:V,removeStep:re}),watch(()=>r.active,(ae,oe)=>{i(CHANGE_EVENT,ae,oe)}),(ae,oe)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(g).b(),unref(g).m(ae.simple?"simple":ae.direction)])},[renderSlot(ae.$slots,"default"),createVNode$1(unref(ie))],2))}});var Steps=_export_sfc(_sfc_main$15,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/steps.vue"]]);const stepProps=buildProps({title:{type:String,default:""},icon:{type:iconPropType},description:{type:String,default:""},status:{type:String,values:["","wait","process","finish","error","success"],default:""}}),_sfc_main$14=defineComponent({name:"ElStep",__name:"item",props:stepProps,setup(n){const t=n,r=useNamespace("step"),i=ref(-1),g=ref({}),$=ref(""),V=inject(STEPS_INJECTION_KEY),re=getCurrentInstance();let ie=0,ae=0;onMounted(()=>{watch([()=>V.props.active,()=>V.props.processStatus,()=>V.props.finishStatus],([Ue],[Fe])=>{ae=Fe||0,ie=Ue-ae,$e(Ue)},{immediate:!0})});const oe=computed(()=>t.status||$.value),le=computed(()=>{const Ue=V.steps.value[i.value-1];return Ue?Ue.internalStatus.value:"wait"}),ue=computed(()=>V.props.alignCenter),de=computed(()=>V.props.direction==="vertical"),he=computed(()=>V.props.simple),pe=computed(()=>V.steps.value.length),_e=computed(()=>{var Ue;return((Ue=V.steps.value[pe.value-1])==null?void 0:Ue.uid)===re.uid}),Ce=computed(()=>he.value?"":V.props.space),xe=computed(()=>[r.b(),r.is(he.value?"simple":V.props.direction),r.is("flex",_e.value&&!Ce.value&&!ue.value),r.is("center",ue.value&&!de.value&&!he.value)]),Ie=computed(()=>{const Ue={flexBasis:isNumber$2(Ce.value)?`${Ce.value}px`:Ce.value?Ce.value:`${100/(pe.value-(ue.value?0:1))}%`};return de.value||_e.value&&(Ue.maxWidth=`${100/pe.value}%`),Ue}),Ne=Ue=>{i.value=Ue},Oe=Ue=>{const Fe=Ue==="wait",Pt={transitionDelay:`${Math.abs(ie)===1?0:ie>0?(i.value+1-ae)*150:-(i.value+1-V.props.active)*150}ms`},qe=Ue===V.props.processStatus||Fe?0:100;Pt.borderWidth=qe&&!he.value?"1px":0,Pt[V.props.direction==="vertical"?"height":"width"]=`${qe}%`,g.value=Pt},$e=Ue=>{Ue>i.value?$.value=V.props.finishStatus:Ue===i.value&&le.value!=="error"?$.value=V.props.processStatus:$.value="wait";const Fe=V.steps.value[i.value-1];Fe&&Fe.calcProgress($.value)},Ve={uid:re.uid,getVnode:()=>re.vnode,currentStatus:oe,internalStatus:$,setIndex:Ne,calcProgress:Oe};return V.addStep(Ve),onBeforeUnmount(()=>{V.removeStep(Ve)}),(Ue,Fe)=>(openBlock(),createElementBlock("div",{style:normalizeStyle$1(Ie.value),class:normalizeClass(xe.value)},[createCommentVNode(" icon & line "),createBaseVNode("div",{class:normalizeClass([unref(r).e("head"),unref(r).is(oe.value)])},[he.value?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("line"))},[createBaseVNode("i",{class:normalizeClass(unref(r).e("line-inner")),style:normalizeStyle$1(g.value)},null,6)],2)),createBaseVNode("div",{class:normalizeClass([unref(r).e("icon"),unref(r).is(Ue.icon||Ue.$slots.icon?"icon":"text")])},[renderSlot(Ue.$slots,"icon",{},()=>[Ue.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(r).e("icon-inner"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ue.icon)))]),_:1},8,["class"])):oe.value==="success"?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(r).e("icon-inner"),unref(r).is("status")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):oe.value==="error"?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass([unref(r).e("icon-inner"),unref(r).is("status")])},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class"])):he.value?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:3,class:normalizeClass(unref(r).e("icon-inner"))},toDisplayString(i.value+1),3))])],2)],2),createCommentVNode(" title & description "),createBaseVNode("div",{class:normalizeClass(unref(r).e("main"))},[createBaseVNode("div",{class:normalizeClass([unref(r).e("title"),unref(r).is(oe.value)])},[renderSlot(Ue.$slots,"title",{},()=>[createTextVNode(toDisplayString(Ue.title),1)])],2),he.value?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(r).e("arrow"))},null,2)):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(r).e("description"),unref(r).is(oe.value)])},[renderSlot(Ue.$slots,"description",{},()=>[createTextVNode(toDisplayString(Ue.description),1)])],2))],2)],6))}});var Step=_export_sfc(_sfc_main$14,[["__file","/home/runner/work/element-plus/element-plus/packages/components/steps/src/item.vue"]]);const ElSteps=withInstall(Steps,{Step}),ElStep=withNoopInstall(Step),isValidComponentSize=n=>["",...componentSizes].includes(n),switchProps=buildProps({modelValue:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:void 0},loading:Boolean,size:{type:String,validator:isValidComponentSize},width:{type:[String,Number],default:""},inlinePrompt:Boolean,inactiveActionIcon:{type:iconPropType},activeActionIcon:{type:iconPropType},activeIcon:{type:iconPropType},inactiveIcon:{type:iconPropType},activeText:{type:String,default:""},inactiveText:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},validateEvent:{type:Boolean,default:!0},beforeChange:{type:definePropType(Function)},id:String,tabindex:{type:[String,Number]},...useAriaProps(["ariaLabel"])}),switchEmits={[UPDATE_MODEL_EVENT]:n=>isBoolean$1(n)||isString$2(n)||isNumber$2(n),[CHANGE_EVENT]:n=>isBoolean$1(n)||isString$2(n)||isNumber$2(n),[INPUT_EVENT]:n=>isBoolean$1(n)||isString$2(n)||isNumber$2(n)},_hoisted_1$H=["id","aria-checked","aria-disabled","aria-label","name","true-value","false-value","disabled","tabindex"],_hoisted_2$u=["aria-hidden"],_hoisted_3$c={key:1},_hoisted_4$9={key:1},_hoisted_5$2=["aria-hidden"],COMPONENT_NAME$9="ElSwitch",_sfc_main$13=defineComponent({name:COMPONENT_NAME$9,__name:"switch",props:switchProps,emits:switchEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,{formItem:$}=useFormItem(),V=useFormSize(),re=useNamespace("switch"),{inputId:ie}=useFormItemInputId(i,{formItemContext:$}),ae=useFormDisabled(computed(()=>{if(i.loading)return!0})),oe=ref(i.modelValue!==!1),le=shallowRef(),ue=computed(()=>[re.b(),re.m(V.value),re.is("disabled",ae.value),re.is("checked",Ce.value)]),de=computed(()=>[re.e("label"),re.em("label","left"),re.is("active",!Ce.value)]),he=computed(()=>[re.e("label"),re.em("label","right"),re.is("active",Ce.value)]),pe=computed(()=>({width:addUnit(i.width)}));watch(()=>i.modelValue,()=>{oe.value=!0});const _e=computed(()=>oe.value?i.modelValue:!1),Ce=computed(()=>_e.value===i.activeValue);[i.activeValue,i.inactiveValue].includes(_e.value)||(g(UPDATE_MODEL_EVENT,i.inactiveValue),g(CHANGE_EVENT,i.inactiveValue),g(INPUT_EVENT,i.inactiveValue)),watch(Ce,Oe=>{var $e;le.value.checked=Oe,i.validateEvent&&(($e=$==null?void 0:$.validate)==null||$e.call($,"change").catch(Ve=>void 0))});const xe=()=>{const Oe=Ce.value?i.inactiveValue:i.activeValue;g(UPDATE_MODEL_EVENT,Oe),g(CHANGE_EVENT,Oe),g(INPUT_EVENT,Oe),nextTick(()=>{le.value.checked=Ce.value})},Ie=()=>{if(ae.value)return;const{beforeChange:Oe}=i;if(!Oe){xe();return}const $e=Oe();[isPromise($e),isBoolean$1($e)].includes(!0)||throwError$1(COMPONENT_NAME$9,"beforeChange must return type `Promise` or `boolean`"),isPromise($e)?$e.then(Ue=>{Ue&&xe()}).catch(Ue=>{}):$e&&xe()},Ne=()=>{var Oe,$e;($e=(Oe=le.value)==null?void 0:Oe.focus)==null||$e.call(Oe)};return onMounted(()=>{le.value.checked=Ce.value}),t({focus:Ne,checked:Ce}),(Oe,$e)=>(openBlock(),createElementBlock("div",{class:normalizeClass(ue.value),onClick:withModifiers(Ie,["prevent"])},[createBaseVNode("input",{id:unref(ie),ref_key:"input",ref:le,class:normalizeClass(unref(re).e("input")),type:"checkbox",role:"switch","aria-checked":Ce.value,"aria-disabled":unref(ae),"aria-label":Oe.ariaLabel,name:Oe.name,"true-value":Oe.activeValue,"false-value":Oe.inactiveValue,disabled:unref(ae),tabindex:Oe.tabindex,onChange:xe,onKeydown:withKeys(Ie,["enter"])},null,42,_hoisted_1$H),!Oe.inlinePrompt&&(Oe.inactiveIcon||Oe.inactiveText||Oe.$slots.inactive)?(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(de.value)},[renderSlot(Oe.$slots,"inactive",{},()=>[Oe.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Oe.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!Oe.inactiveIcon&&Oe.inactiveText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":Ce.value},toDisplayString(Oe.inactiveText),9,_hoisted_2$u)):createCommentVNode("v-if",!0)])],2)):createCommentVNode("v-if",!0),createBaseVNode("span",{class:normalizeClass(unref(re).e("core")),style:normalizeStyle$1(pe.value)},[Oe.inlinePrompt?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(re).e("inner"))},[Ce.value?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(re).e("inner-wrapper"))},[renderSlot(Oe.$slots,"active",{},()=>[Oe.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Oe.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!Oe.activeIcon&&Oe.activeText?(openBlock(),createElementBlock("span",_hoisted_4$9,toDisplayString(Oe.activeText),1)):createCommentVNode("v-if",!0)])],2)):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(re).e("inner-wrapper"))},[renderSlot(Oe.$slots,"inactive",{},()=>[Oe.inactiveIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Oe.inactiveIcon)))]),_:1})):createCommentVNode("v-if",!0),!Oe.inactiveIcon&&Oe.inactiveText?(openBlock(),createElementBlock("span",_hoisted_3$c,toDisplayString(Oe.inactiveText),1)):createCommentVNode("v-if",!0)])],2))],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(re).e("action"))},[Oe.loading?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(re).is("loading"))},{default:withCtx(()=>[createVNode$1(unref(loading_default))]),_:1},8,["class"])):Ce.value?renderSlot(Oe.$slots,"active-action",{key:1},()=>[Oe.activeActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Oe.activeActionIcon)))]),_:1})):createCommentVNode("v-if",!0)]):Ce.value?createCommentVNode("v-if",!0):renderSlot(Oe.$slots,"inactive-action",{key:2},()=>[Oe.inactiveActionIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Oe.inactiveActionIcon)))]),_:1})):createCommentVNode("v-if",!0)])],2)],6),!Oe.inlinePrompt&&(Oe.activeIcon||Oe.activeText||Oe.$slots.active)?(openBlock(),createElementBlock("span",{key:1,class:normalizeClass(he.value)},[renderSlot(Oe.$slots,"active",{},()=>[Oe.activeIcon?(openBlock(),createBlock(unref(ElIcon),{key:0},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Oe.activeIcon)))]),_:1})):createCommentVNode("v-if",!0),!Oe.activeIcon&&Oe.activeText?(openBlock(),createElementBlock("span",{key:1,"aria-hidden":!Ce.value},toDisplayString(Oe.activeText),9,_hoisted_5$2)):createCommentVNode("v-if",!0)])],2)):createCommentVNode("v-if",!0)],2))}});var Switch=_export_sfc(_sfc_main$13,[["__file","/home/runner/work/element-plus/element-plus/packages/components/switch/src/switch.vue"]]);const ElSwitch=withInstall(Switch),getCell=function(n){var t;return(t=n.target)==null?void 0:t.closest("td")},orderBy=function(n,t,r,i,g){if(!t&&!i&&(!g||isArray$5(g)&&!g.length))return n;isString$2(r)?r=r==="descending"?-1:1:r=r&&r<0?-1:1;const $=i?null:function(re,ie){return g?flatMap(castArray$1(g),ae=>isString$2(ae)?get$1(re,ae):ae(re,ie,n)):(t!=="$key"&&isObject$6(re)&&"$value"in re&&(re=re.$value),[isObject$6(re)?t?get$1(re,t):null:re])},V=function(re,ie){var ae,oe,le,ue,de,he;if(i)return i(re.value,ie.value);for(let pe=0,_e=(oe=(ae=re.key)==null?void 0:ae.length)!=null?oe:0;pe<_e;pe++){if(((le=re.key)==null?void 0:le[pe])<((ue=ie.key)==null?void 0:ue[pe]))return-1;if(((de=re.key)==null?void 0:de[pe])>((he=ie.key)==null?void 0:he[pe]))return 1}return 0};return n.map((re,ie)=>({value:re,index:ie,key:$?$(re,ie):null})).sort((re,ie)=>{let ae=V(re,ie);return ae||(ae=re.index-ie.index),ae*+r}).map(re=>re.value)},getColumnById=function(n,t){let r=null;return n.columns.forEach(i=>{i.id===t&&(r=i)}),r},getColumnByKey=function(n,t){let r=null;for(let i=0;i{if(!n)throw new Error("Row is required when get row identity");if(isString$2(t)){if(!t.includes("."))return`${n[t]}`;const r=t.split(".");let i=n;for(const g of r)i=i[g];return`${i}`}else if(isFunction$4(t))return t.call(null,n);return""},getKeysMap=function(n,t,r=!1,i="children"){const g=n||[],$={};return g.forEach((V,re)=>{if($[getRowIdentity(V,t)]={row:V,index:re},r){const ie=V[i];isArray$5(ie)&&Object.assign($,getKeysMap(ie,t,!0,i))}}),$};function mergeOptions$1(n,t){const r={};let i;for(i in n)r[i]=n[i];for(i in t)if(hasOwn$1(t,i)){const g=t[i];isUndefined$1(g)||(r[i]=g)}return r}function parseWidth(n){return n===""||isUndefined$1(n)||(n=Number.parseInt(n,10),Number.isNaN(n)&&(n="")),n}function parseMinWidth(n){return n===""||isUndefined$1(n)||(n=parseWidth(n),Number.isNaN(n)&&(n=80)),n}function parseHeight(n){return isNumber$2(n)?n:isString$2(n)?/^\d+(?:px)?$/.test(n)?Number.parseInt(n,10):n:null}function compose(...n){return n.length===0?t=>t:n.length===1?n[0]:n.reduce((t,r)=>(...i)=>t(r(...i)))}function toggleRowStatus(n,t,r,i,g,$,V){let re=$??0,ie=!1;const oe=(()=>{if(!V)return n.indexOf(t);const pe=getRowIdentity(t,V);return n.findIndex(_e=>getRowIdentity(_e,V)===pe)})(),le=oe!==-1,ue=g==null?void 0:g.call(null,t,re),de=pe=>{pe==="add"?n.push(t):n.splice(oe,1),ie=!0},he=pe=>{let _e=0;const Ce=(i==null?void 0:i.children)&&pe[i.children];return Ce&&isArray$5(Ce)&&(_e+=Ce.length,Ce.forEach(xe=>{_e+=he(xe)})),_e};return(!g||ue)&&(isBoolean$1(r)?r&&!le?de("add"):!r&&le&&de("remove"):de(le?"remove":"add")),!(i!=null&&i.checkStrictly)&&(i!=null&&i.children)&&isArray$5(t[i.children])&&t[i.children].forEach(pe=>{const _e=toggleRowStatus(n,pe,r??!le,i,g,re+1,V);re+=he(pe)+1,_e&&(ie=_e)}),ie}function walkTreeNode(n,t,r="children",i="hasChildren",g=!1){const $=re=>!(isArray$5(re)&&re.length);function V(re,ie,ae){t(re,ie,ae),ie.forEach(oe=>{if(oe[i]&&g){t(oe,null,ae+1);return}const le=oe[r];$(le)||V(oe,le,ae+1)})}n.forEach(re=>{if(re[i]&&g){t(re,null,0);return}const ie=re[r];$(ie)||V(re,ie,0)})}const getTableOverflowTooltipProps=(n,t,r,i)=>{const g={strategy:"fixed",...n.popperOptions},$=isFunction$4(i==null?void 0:i.tooltipFormatter)?i.tooltipFormatter({row:r,column:i,cellValue:getProp(r,i.property).value}):void 0;return isVNode($)?{slotContent:$,content:null,...n,popperOptions:g}:{slotContent:null,content:$??t,...n,popperOptions:g}};let removePopper=null;function createTablePopper(n,t,r,i,g,$){var V;const re=getTableOverflowTooltipProps(n,t,r,i),ie={...re,slotContent:void 0};if((removePopper==null?void 0:removePopper.trigger)===g){const he=(V=removePopper.vm)==null?void 0:V.component;merge$3(he==null?void 0:he.props,ie),he&&re.slotContent&&(he.slots.content=()=>[re.slotContent]);return}removePopper==null||removePopper();const ae=$==null?void 0:$.refs.tableWrapper,oe=ae==null?void 0:ae.dataset.prefix,le=createVNode$1(ElTooltip,{virtualTriggering:!0,virtualRef:g,appendTo:ae,placement:"top",transition:"none",offset:0,hideAfter:0,...ie},re.slotContent?{content:()=>re.slotContent}:void 0);le.appContext={...$.appContext,...$};const ue=document.createElement("div");render$1(le,ue),le.component.exposed.onOpen();const de=ae==null?void 0:ae.querySelector(`.${oe}-scrollbar__wrap`);removePopper=()=>{var he,pe;(pe=(he=le.component)==null?void 0:he.exposed)!=null&&pe.onClose&&le.component.exposed.onClose(),render$1(null,ue);const _e=removePopper;de==null||de.removeEventListener("scroll",_e),_e.trigger=void 0,_e.vm=void 0,removePopper=null},removePopper.trigger=g??void 0,removePopper.vm=le,de==null||de.addEventListener("scroll",removePopper)}function getCurrentColumns(n){return n.children?flatMap(n.children,getCurrentColumns):[n]}function getColSpan(n,t){return n+t.colSpan}const isFixedColumn=(n,t,r,i)=>{let g=0,$=n;const V=r.states.columns.value;if(i){const ie=getCurrentColumns(i[n]);g=V.slice(0,V.indexOf(ie[0])).reduce(getColSpan,0),$=g+ie.reduce(getColSpan,0)-1}else g=n;let re;switch(t){case"left":$=V.length-r.states.rightFixedLeafColumnsLength.value&&(re="right");break;default:$=V.length-r.states.rightFixedLeafColumnsLength.value&&(re="right")}return re?{direction:re,start:g,after:$}:{}},getFixedColumnsClass=(n,t,r,i,g,$=0)=>{const V=[],{direction:re,start:ie,after:ae}=isFixedColumn(t,r,i,g);if(re){const oe=re==="left";V.push(`${n}-fixed-column--${re}`),oe&&ae+$===i.states.fixedLeafColumnsLength.value-1?V.push("is-last-column"):!oe&&ie-$===i.states.columns.value.length-i.states.rightFixedLeafColumnsLength.value&&V.push("is-first-column")}return V};function getOffset$1(n,t){return n+(isNull(t.realWidth)||Number.isNaN(t.realWidth)?Number(t.width):t.realWidth)}const getFixedColumnOffset=(n,t,r,i)=>{const{direction:g,start:$=0,after:V=0}=isFixedColumn(n,t,r,i);if(!g)return;const re={},ie=g==="left",ae=r.states.columns.value;return ie?re.left=ae.slice(0,$).reduce(getOffset$1,0):re.right=ae.slice(V+1).reverse().reduce(getOffset$1,0),re},ensurePosition=(n,t)=>{n&&(Number.isNaN(n[t])||(n[t]=`${n[t]}px`))};function ensureValidVNode(n){return n.some(t=>isVNode(t)?!(t.type===Comment||t.type===Fragment&&!ensureValidVNode(t.children)):!0)?n:null}function useExpand(n){const t=getCurrentInstance(),r=ref(!1),i=ref([]);return{updateExpandRows:()=>{const ie=n.data.value||[],ae=n.rowKey.value;if(r.value)i.value=ie.slice();else if(ae){const oe=getKeysMap(i.value,ae);i.value=ie.reduce((le,ue)=>{const de=getRowIdentity(ue,ae);return oe[de]&&le.push(ue),le},[])}else i.value=[]},toggleRowExpansion:(ie,ae)=>{toggleRowStatus(i.value,ie,ae,void 0,void 0,void 0,n.rowKey.value)&&t.emit("expand-change",ie,i.value.slice())},setExpandRowKeys:ie=>{t.store.assertRowKey();const ae=n.data.value||[],oe=n.rowKey.value,le=getKeysMap(ae,oe);i.value=ie.reduce((ue,de)=>{const he=le[de];return he&&ue.push(he.row),ue},[])},isRowExpanded:ie=>{const ae=n.rowKey.value;return ae?!!getKeysMap(i.value,ae)[getRowIdentity(ie,ae)]:i.value.includes(ie)},states:{expandRows:i,defaultExpandAll:r}}}function useCurrent(n){const t=getCurrentInstance(),r=ref(null),i=ref(null),g=ae=>{t.store.assertRowKey(),r.value=ae,V(ae)},$=()=>{r.value=null},V=ae=>{var oe;const{data:le,rowKey:ue}=n,de=i.value;let he=null;ue.value&&(he=(oe=(unref(le)||[]).find(pe=>getRowIdentity(pe,ue.value)===ae))!=null?oe:null),i.value=he??null,t.emit("current-change",i.value,de)};return{setCurrentRowKey:g,restoreCurrentRowKey:$,setCurrentRowByKey:V,updateCurrentRow:ae=>{const oe=i.value;if(ae&&ae!==oe){i.value=ae,t.emit("current-change",i.value,oe);return}!ae&&oe&&(i.value=null,t.emit("current-change",null,oe))},updateCurrentRowData:()=>{const ae=n.rowKey.value,oe=n.data.value||[],le=i.value;if(le&&!oe.includes(le))if(ae){const ue=getRowIdentity(le,ae);V(ue)}else i.value=null,t.emit("current-change",null,le);else r.value&&(V(r.value),$())},states:{_currentRowKey:r,currentRow:i}}}function useTree$2(n){const t=ref([]),r=ref({}),i=ref(16),g=ref(!1),$=ref({}),V=ref("hasChildren"),re=ref("children"),ie=ref(!1),ae=getCurrentInstance(),oe=computed(()=>{if(!n.rowKey.value)return{};const Ne=n.data.value||[];return ue(Ne)}),le=computed(()=>{const Ne=n.rowKey.value,Oe=Object.keys($.value),$e={};return Oe.length&&Oe.forEach(Ve=>{if($.value[Ve].length){const Ue={children:[]};$.value[Ve].forEach(Fe=>{const ze=getRowIdentity(Fe,Ne);Ue.children.push(ze),Fe[V.value]&&!$e[ze]&&($e[ze]={children:[]})}),$e[Ve]=Ue}}),$e}),ue=Ne=>{const Oe=n.rowKey.value,$e={};return walkTreeNode(Ne,(Ve,Ue,Fe)=>{const ze=getRowIdentity(Ve,Oe);isArray$5(Ue)?$e[ze]={children:Ue.map(Pt=>getRowIdentity(Pt,Oe)),level:Fe}:g.value&&($e[ze]={children:[],lazy:!0,level:Fe})},re.value,V.value,g.value),$e},de=(Ne=!1,Oe)=>{var $e,Ve;Oe||(Oe=($e=ae.store)==null?void 0:$e.states.defaultExpandAll.value);const Ue=oe.value,Fe=le.value,ze=Object.keys(Ue),Pt={};if(ze.length){const qe=unref(r),Et=[],kt=(Dt,Lt)=>{if(Ne)return t.value?Oe||t.value.includes(Lt):!!(Oe||Dt!=null&&Dt.expanded);{const jt=Oe||t.value&&t.value.includes(Lt);return!!(Dt!=null&&Dt.expanded||jt)}};ze.forEach(Dt=>{const Lt=qe[Dt],jt={...Ue[Dt]};if(jt.expanded=kt(Lt,Dt),jt.lazy){const{loaded:hn=!1,loading:vn=!1}=Lt||{};jt.loaded=!!hn,jt.loading=!!vn,Et.push(Dt)}Pt[Dt]=jt});const At=Object.keys(Fe);g.value&&At.length&&Et.length&&At.forEach(Dt=>{var Lt;const jt=qe[Dt],hn=Fe[Dt].children;if(Et.includes(Dt)){if(((Lt=Pt[Dt].children)==null?void 0:Lt.length)!==0)throw new Error("[ElTable]children must be an empty array.");Pt[Dt].children=hn}else{const{loaded:vn=!1,loading:_n=!1}=jt||{};Pt[Dt]={lazy:!0,loaded:!!vn,loading:!!_n,expanded:kt(jt,Dt),children:hn,level:void 0}}})}r.value=Pt,(Ve=ae.store)==null||Ve.updateTableScrollY()};watch(()=>t.value,()=>{de(!0)}),watch(()=>oe.value,()=>{de()}),watch(()=>le.value,()=>{de()});const he=Ne=>{t.value=Ne,de()},pe=Ne=>g.value&&Ne&&"loaded"in Ne&&!Ne.loaded,_e=(Ne,Oe)=>{ae.store.assertRowKey();const $e=n.rowKey.value,Ve=getRowIdentity(Ne,$e),Ue=Ve&&r.value[Ve];if(Ve&&Ue&&"expanded"in Ue){const Fe=Ue.expanded;Oe=isUndefined$1(Oe)?!Ue.expanded:Oe,r.value[Ve].expanded=Oe,Fe!==Oe&&ae.emit("expand-change",Ne,Oe),Oe&&pe(Ue)&&xe(Ne,Ve,Ue),ae.store.updateTableScrollY()}},Ce=Ne=>{ae.store.assertRowKey();const Oe=n.rowKey.value,$e=getRowIdentity(Ne,Oe),Ve=r.value[$e];pe(Ve)?xe(Ne,$e,Ve):_e(Ne,void 0)},xe=(Ne,Oe,$e)=>{const{load:Ve}=ae.props;Ve&&!r.value[Oe].loaded&&(r.value[Oe].loading=!0,Ve(Ne,$e,Ue=>{if(!isArray$5(Ue))throw new TypeError("[ElTable] data must be an array");r.value[Oe].loading=!1,r.value[Oe].loaded=!0,r.value[Oe].expanded=!0,Ue.length&&($.value[Oe]=Ue),ae.emit("expand-change",Ne,!0)}))};return{loadData:xe,loadOrToggle:Ce,toggleTreeExpansion:_e,updateTreeExpandKeys:he,updateTreeData:de,updateKeyChildren:(Ne,Oe)=>{const{lazy:$e,rowKey:Ve}=ae.props;if($e){if(!Ve)throw new Error("[Table] rowKey is required in updateKeyChild");$.value[Ne]&&($.value[Ne]=Oe)}},normalize:ue,states:{expandRowKeys:t,treeData:r,indent:i,lazy:g,lazyTreeNodeMap:$,lazyColumnIdentifier:V,childrenColumnName:re,checkStrictly:ie}}}const sortData=(n,t)=>{const r=t.sortingColumn;return!r||isString$2(r.sortable)?n:orderBy(n,t.sortProp,t.sortOrder,r.sortMethod,r.sortBy)},doFlattenColumns=n=>{const t=[];return n.forEach(r=>{r.children&&r.children.length>0?t.push.apply(t,doFlattenColumns(r.children)):t.push(r)}),t};function useWatcher$1(){var n;const t=getCurrentInstance(),{size:r}=toRefs((n=t.proxy)==null?void 0:n.$props),i=ref(null),g=ref([]),$=ref([]),V=ref(!1),re=ref([]),ie=ref([]),ae=ref([]),oe=ref([]),le=ref([]),ue=ref([]),de=ref([]),he=ref([]),pe=[],_e=ref(0),Ce=ref(0),xe=ref(0),Ie=ref(!1),Ne=ref([]),Oe=ref(!1),$e=ref(!1),Ve=ref(null),Ue=ref({}),Fe=ref(null),ze=ref(null),Pt=ref(null),qe=ref(null),Et=ref(null),kt=computed(()=>i.value?getKeysMap(Ne.value,i.value):void 0);watch(g,()=>{var ir;t.state&&(jt(!1),t.props.tableLayout==="auto"&&((ir=t.refs.tableHeaderRef)==null||ir.updateFixedColumnStyle()))},{deep:!0});const At=()=>{if(!i.value)throw new Error("[ElTable] prop row-key is required")},Dt=ir=>{var pr;(pr=ir.children)==null||pr.forEach(rr=>{rr.fixed=ir.fixed,Dt(rr)})},Lt=()=>{re.value.forEach(Fn=>{Dt(Fn)}),oe.value=re.value.filter(Fn=>[!0,"left"].includes(Fn.fixed));const ir=re.value.find(Fn=>Fn.type==="selection");let pr;ir&&ir.fixed!=="right"&&!oe.value.includes(ir)&&re.value.indexOf(ir)===0&&oe.value.length&&(oe.value.unshift(ir),pr=!0),le.value=re.value.filter(Fn=>Fn.fixed==="right");const rr=re.value.filter(Fn=>(pr?Fn.type!=="selection":!0)&&!Fn.fixed);ie.value=Array.from(oe.value).concat(rr).concat(le.value);const lr=doFlattenColumns(rr),Yn=doFlattenColumns(oe.value),er=doFlattenColumns(le.value);_e.value=lr.length,Ce.value=Yn.length,xe.value=er.length,ae.value=Array.from(Yn).concat(lr).concat(er),V.value=oe.value.length>0||le.value.length>0},jt=(ir,pr=!1)=>{ir&&Lt(),pr?t.state.doLayout():t.state.debouncedUpdateLayout()},hn=ir=>kt.value?!!kt.value[getRowIdentity(ir,i.value)]:Ne.value.includes(ir),vn=()=>{Ie.value=!1;const ir=Ne.value;Ne.value=[],ir.length&&t.emit("selection-change",[])},_n=()=>{var ir,pr;let rr;if(i.value){rr=[];const lr=(pr=(ir=t==null?void 0:t.store)==null?void 0:ir.states)==null?void 0:pr.childrenColumnName.value,Yn=getKeysMap(g.value,i.value,!0,lr);for(const er in kt.value)hasOwn$1(kt.value,er)&&!Yn[er]&&rr.push(kt.value[er].row)}else rr=Ne.value.filter(lr=>!g.value.includes(lr));if(rr.length){const lr=Ne.value.filter(Yn=>!rr.includes(Yn));Ne.value=lr,t.emit("selection-change",lr.slice())}},wn=()=>(Ne.value||[]).slice(),bn=(ir,pr,rr=!0,lr=!1)=>{var Yn,er,Fn,cr;const Un={children:(er=(Yn=t==null?void 0:t.store)==null?void 0:Yn.states)==null?void 0:er.childrenColumnName.value,checkStrictly:(cr=(Fn=t==null?void 0:t.store)==null?void 0:Fn.states)==null?void 0:cr.checkStrictly.value};if(toggleRowStatus(Ne.value,ir,pr,Un,lr?void 0:Ve.value,g.value.indexOf(ir),i.value)){const vr=(Ne.value||[]).slice();rr&&t.emit("select",vr,ir),t.emit("selection-change",vr)}},Cn=()=>{var ir,pr;const rr=$e.value?!Ie.value:!(Ie.value||Ne.value.length);Ie.value=rr;let lr=!1,Yn=0;const er=(pr=(ir=t==null?void 0:t.store)==null?void 0:ir.states)==null?void 0:pr.rowKey.value,{childrenColumnName:Fn}=t.store.states,cr={children:Fn.value,checkStrictly:!1};g.value.forEach((Un,gr)=>{const vr=gr+Yn;toggleRowStatus(Ne.value,Un,rr,cr,Ve.value,vr,er)&&(lr=!0),Yn+=Tn(getRowIdentity(Un,er))}),lr&&t.emit("selection-change",Ne.value?Ne.value.slice():[]),t.emit("select-all",(Ne.value||[]).slice())},Sn=()=>{var ir;if(((ir=g.value)==null?void 0:ir.length)===0){Ie.value=!1;return}const{childrenColumnName:pr}=t.store.states;let rr=0,lr=0;const Yn=Fn=>{var cr;for(const Un of Fn){const gr=Ve.value&&Ve.value.call(null,Un,rr);if(hn(Un))lr++;else if(!Ve.value||gr)return!1;if(rr++,(cr=Un[pr.value])!=null&&cr.length&&!Yn(Un[pr.value]))return!1}return!0},er=Yn(g.value||[]);Ie.value=lr===0?!1:er},Tn=ir=>{var pr;if(!t||!t.store)return 0;const{treeData:rr}=t.store.states;let lr=0;const Yn=(pr=rr.value[ir])==null?void 0:pr.children;return Yn&&(lr+=Yn.length,Yn.forEach(er=>{lr+=Tn(er)})),lr},En=(ir,pr)=>{const rr={};return castArray$1(ir).forEach(lr=>{Ue.value[lr.id]=pr,rr[lr.columnKey||lr.id]=pr}),rr},kn=(ir,pr,rr)=>{ze.value&&ze.value!==ir&&(ze.value.order=null),ze.value=ir,Pt.value=pr,qe.value=rr},$n=()=>{let ir=unref($);Object.keys(Ue.value).forEach(pr=>{const rr=Ue.value[pr];if(!rr||rr.length===0)return;const lr=getColumnById({columns:ae.value},pr);lr&&lr.filterMethod&&(ir=ir.filter(Yn=>rr.some(er=>lr.filterMethod.call(null,er,Yn,lr))))}),Fe.value=ir},An=()=>{var ir;g.value=sortData((ir=Fe.value)!=null?ir:[],{sortingColumn:ze.value,sortProp:Pt.value,sortOrder:qe.value})},xn=(ir=void 0)=>{ir!=null&&ir.filter||$n(),An()},Ln=ir=>{const{tableHeaderRef:pr}=t.refs;if(!pr)return;const rr=Object.assign({},pr.filterPanels),lr=Object.keys(rr);if(lr.length)if(isString$2(ir)&&(ir=[ir]),isArray$5(ir)){const Yn=ir.map(er=>getColumnByKey({columns:ae.value},er));lr.forEach(er=>{const Fn=Yn.find(cr=>cr.id===er);Fn&&(Fn.filteredValue=[])}),t.store.commit("filterChange",{column:Yn,values:[],silent:!0,multi:!0})}else lr.forEach(Yn=>{const er=ae.value.find(Fn=>Fn.id===Yn);er&&(er.filteredValue=[])}),Ue.value={},t.store.commit("filterChange",{column:{},values:[],silent:!0})},Nn=()=>{ze.value&&(kn(null,null,null),t.store.commit("changeSortCondition",{silent:!0}))},{setExpandRowKeys:Pn,toggleRowExpansion:On,updateExpandRows:Hn,states:Xn,isRowExpanded:In}=useExpand({data:g,rowKey:i}),{updateTreeExpandKeys:or,toggleTreeExpansion:Qn,updateTreeData:Zn,updateKeyChildren:Gn,loadOrToggle:Rn,states:Mn}=useTree$2({data:g,rowKey:i}),{updateCurrentRowData:Bn,updateCurrentRow:qn,setCurrentRowKey:zn,states:jn}=useCurrent({data:g,rowKey:i});return{assertRowKey:At,updateColumns:Lt,scheduleLayout:jt,isSelected:hn,clearSelection:vn,cleanSelection:_n,getSelectionRows:wn,toggleRowSelection:bn,_toggleAllSelection:Cn,toggleAllSelection:null,updateAllSelected:Sn,updateFilters:En,updateCurrentRow:qn,updateSort:kn,execFilter:$n,execSort:An,execQuery:xn,clearFilter:Ln,clearSort:Nn,toggleRowExpansion:On,setExpandRowKeysAdapter:ir=>{Pn(ir),or(ir)},setCurrentRowKey:zn,toggleRowExpansionAdapter:(ir,pr)=>{ae.value.some(({type:lr})=>lr==="expand")?On(ir,pr):Qn(ir,pr)},isRowExpanded:In,updateExpandRows:Hn,updateCurrentRowData:Bn,loadOrToggle:Rn,updateTreeData:Zn,updateKeyChildren:Gn,states:{tableSize:r,rowKey:i,data:g,_data:$,isComplex:V,_columns:re,originColumns:ie,columns:ae,fixedColumns:oe,rightFixedColumns:le,leafColumns:ue,fixedLeafColumns:de,rightFixedLeafColumns:he,updateOrderFns:pe,leafColumnsLength:_e,fixedLeafColumnsLength:Ce,rightFixedLeafColumnsLength:xe,isAllSelected:Ie,selection:Ne,reserveSelection:Oe,selectOnIndeterminate:$e,selectable:Ve,filters:Ue,filteredData:Fe,sortingColumn:ze,sortProp:Pt,sortOrder:qe,hoverRow:Et,...Xn,...Mn,...jn}}}function replaceColumn(n,t){return n.map(r=>{var i;return r.id===t.id?t:((i=r.children)!=null&&i.length&&(r.children=replaceColumn(r.children,t)),r)})}function sortColumn(n){n.forEach(t=>{var r,i;t.no=(r=t.getColumnIndex)==null?void 0:r.call(t),(i=t.children)!=null&&i.length&&sortColumn(t.children)}),n.sort((t,r)=>t.no-r.no)}function useStore(){const n=getCurrentInstance(),t=useWatcher$1(),r=useNamespace("table"),{t:i}=useLocale();return{ns:r,t:i,...t,mutations:{setData(re,ie){const ae=unref(re._data)!==ie;re.data.value=ie,re._data.value=ie,n.store.execQuery(),n.store.updateCurrentRowData(),n.store.updateExpandRows(),n.store.updateTreeData(n.store.states.defaultExpandAll.value),unref(re.reserveSelection)?n.store.assertRowKey():ae?n.store.clearSelection():n.store.cleanSelection(),n.store.updateAllSelected(),n.$ready&&n.store.scheduleLayout()},insertColumn(re,ie,ae,oe){var le;const ue=unref(re._columns);let de=[];ae?(ae&&!ae.children&&(ae.children=[]),(le=ae.children)==null||le.push(ie),de=replaceColumn(ue,ae)):(ue.push(ie),de=ue),sortColumn(de),re._columns.value=de,re.updateOrderFns.push(oe),ie.type==="selection"&&(re.selectable.value=ie.selectable,re.reserveSelection.value=ie.reserveSelection),n.$ready&&(n.store.updateColumns(),n.store.scheduleLayout())},updateColumnOrder(re,ie){var ae;((ae=ie.getColumnIndex)==null?void 0:ae.call(ie))!==ie.no&&(sortColumn(re._columns.value),n.$ready&&n.store.updateColumns())},removeColumn(re,ie,ae,oe){var le;const ue=unref(re._columns)||[];if(ae)(le=ae.children)==null||le.splice(ae.children.findIndex(he=>he.id===ie.id),1),nextTick(()=>{var he;((he=ae.children)==null?void 0:he.length)===0&&delete ae.children}),re._columns.value=replaceColumn(ue,ae);else{const he=ue.indexOf(ie);he>-1&&(ue.splice(he,1),re._columns.value=ue)}const de=re.updateOrderFns.indexOf(oe);de>-1&&re.updateOrderFns.splice(de,1),n.$ready&&(n.store.updateColumns(),n.store.scheduleLayout())},sort(re,ie){const{prop:ae,order:oe,init:le}=ie;if(ae){const ue=unref(re.columns).find(de=>de.property===ae);ue&&(ue.order=oe,n.store.updateSort(ue,ae,oe),n.store.commit("changeSortCondition",{init:le}))}},changeSortCondition(re,ie){const{sortingColumn:ae,sortProp:oe,sortOrder:le}=re,ue=unref(ae),de=unref(oe),he=unref(le);isNull(he)&&(re.sortingColumn.value=null,re.sortProp.value=null);const pe={filter:!0};n.store.execQuery(pe),(!ie||!(ie.silent||ie.init))&&n.emit("sort-change",{column:ue,prop:de,order:he}),n.store.updateTableScrollY()},filterChange(re,ie){const{column:ae,values:oe,silent:le}=ie,ue=n.store.updateFilters(ae,oe);n.store.execQuery(),le||n.emit("filter-change",ue),n.store.updateTableScrollY()},toggleAllSelection(){var re,ie;(ie=(re=n.store).toggleAllSelection)==null||ie.call(re)},rowSelectedChanged(re,ie){n.store.toggleRowSelection(ie),n.store.updateAllSelected()},setHoverRow(re,ie){re.hoverRow.value=ie},setCurrentRow(re,ie){n.store.updateCurrentRow(ie)}},commit:function(re,...ie){const ae=n.store.mutations;if(ae[re])ae[re].apply(n,[n.store.states,...ie]);else throw new Error(`Action not found: ${re}`)},updateTableScrollY:function(){nextTick(()=>n.layout.updateScrollY.apply(n.layout))}}}const InitialStateMap={rowKey:"rowKey",defaultExpandAll:"defaultExpandAll",selectOnIndeterminate:"selectOnIndeterminate",indent:"indent",lazy:"lazy","treeProps.hasChildren":{key:"lazyColumnIdentifier",default:"hasChildren"},"treeProps.children":{key:"childrenColumnName",default:"children"},"treeProps.checkStrictly":{key:"checkStrictly",default:!1}};function createStore(n,t){if(!n)throw new Error("Table is required.");const r=useStore();return r.toggleAllSelection=debounce(r._toggleAllSelection,10),Object.keys(InitialStateMap).forEach(i=>{handleValue(getArrKeysValue(t,i),i,r)}),proxyTableProps(r,t),r}function proxyTableProps(n,t){Object.keys(InitialStateMap).forEach(r=>{watch(()=>getArrKeysValue(t,r),i=>{handleValue(i,r,n)})})}function handleValue(n,t,r){let i=n,g=InitialStateMap[t];isObject$6(g)&&(i=i||g.default,g=g.key),r.states[g].value=i}function getArrKeysValue(n,t){if(t.includes(".")){const r=t.split(".");let i=n;return r.forEach(g=>{i=i[g]}),i}else return n[t]}class TableLayout{constructor(t){this.observers=[],this.table=null,this.store=null,this.columns=[],this.fit=!0,this.showHeader=!0,this.height=ref(null),this.scrollX=ref(!1),this.scrollY=ref(!1),this.bodyWidth=ref(null),this.fixedWidth=ref(null),this.rightFixedWidth=ref(null),this.gutterWidth=0;for(const r in t)hasOwn$1(t,r)&&(isRef(this[r])?this[r].value=t[r]:this[r]=t[r]);if(!this.table)throw new Error("Table is required for Table Layout");if(!this.store)throw new Error("Store is required for Table Layout")}updateScrollY(){const t=this.height.value;if(isNull(t))return!1;const r=this.table.refs.scrollBarRef;if(this.table.vnode.el&&(r!=null&&r.wrapRef)){let i=!0;const g=this.scrollY.value;return i=r.wrapRef.scrollHeight>r.wrapRef.clientHeight,this.scrollY.value=i,g!==i}return!1}setHeight(t,r="height"){if(!isClient)return;const i=this.table.vnode.el;if(t=parseHeight(t),this.height.value=Number(t),!i&&(t||t===0)){nextTick(()=>this.setHeight(t,r));return}i&&isNumber$2(t)?(i.style[r]=`${t}px`,this.updateElsHeight()):i&&isString$2(t)&&(i.style[r]=t,this.updateElsHeight())}setMaxHeight(t){this.setHeight(t,"max-height")}getFlattenColumns(){const t=[];return this.table.store.states.columns.value.forEach(i=>{i.isColumnGroup?t.push.apply(t,i.columns):t.push(i)}),t}updateElsHeight(){this.updateScrollY(),this.notifyObservers("scrollable")}headerDisplayNone(t){if(!t)return!0;let r=t;for(;r.tagName!=="DIV";){if(getComputedStyle(r).display==="none")return!0;r=r.parentElement}return!1}updateColumnsWidth(){var t;if(!isClient)return;const r=this.fit,i=(t=this.table.vnode.el)==null?void 0:t.clientWidth;let g=0;const $=this.getFlattenColumns(),V=$.filter(ae=>!isNumber$2(ae.width));if($.forEach(ae=>{isNumber$2(ae.width)&&ae.realWidth&&(ae.realWidth=null)}),V.length>0&&r){if($.forEach(ae=>{g+=Number(ae.width||ae.minWidth||80)}),g<=i){this.scrollX.value=!1;const ae=i-g;if(V.length===1)V[0].realWidth=Number(V[0].minWidth||80)+ae;else{const oe=V.reduce((de,he)=>de+Number(he.minWidth||80),0),le=ae/oe;let ue=0;V.forEach((de,he)=>{if(he===0)return;const pe=Math.floor(Number(de.minWidth||80)*le);ue+=pe,de.realWidth=Number(de.minWidth||80)+pe}),V[0].realWidth=Number(V[0].minWidth||80)+ae-ue}}else this.scrollX.value=!0,V.forEach(ae=>{ae.realWidth=Number(ae.minWidth)});this.bodyWidth.value=Math.max(g,i),this.table.state.resizeState.value.width=this.bodyWidth.value}else $.forEach(ae=>{!ae.width&&!ae.minWidth?ae.realWidth=80:ae.realWidth=Number(ae.width||ae.minWidth),g+=ae.realWidth}),this.scrollX.value=g>i,this.bodyWidth.value=g;const re=this.store.states.fixedColumns.value;if(re.length>0){let ae=0;re.forEach(oe=>{ae+=Number(oe.realWidth||oe.width)}),this.fixedWidth.value=ae}const ie=this.store.states.rightFixedColumns.value;if(ie.length>0){let ae=0;ie.forEach(oe=>{ae+=Number(oe.realWidth||oe.width)}),this.rightFixedWidth.value=ae}this.notifyObservers("columns")}addObserver(t){this.observers.push(t)}removeObserver(t){const r=this.observers.indexOf(t);r!==-1&&this.observers.splice(r,1)}notifyObservers(t){this.observers.forEach(i=>{var g,$;switch(t){case"columns":(g=i.state)==null||g.onColumnsChange(this);break;case"scrollable":($=i.state)==null||$.onScrollableChange(this);break;default:throw new Error(`Table Layout don't have event ${t}.`)}})}}const _sfc_main$12=defineComponent({name:"ElTableFilterPanel",components:{ElCheckbox,ElCheckboxGroup,ElScrollbar,ElTooltip,ElIcon,ArrowDown:arrow_down_default,ArrowUp:arrow_up_default},props:{placement:{type:String,default:"bottom-start"},store:{type:Object},column:{type:Object},upDataColumn:{type:Function},appendTo:useTooltipContentProps.appendTo},setup(n){const t=getCurrentInstance(),{t:r}=useLocale(),i=useNamespace("table-filter"),g=t==null?void 0:t.parent;n.column&&!g.filterPanels.value[n.column.id]&&(g.filterPanels.value[n.column.id]=t);const $=ref(null),V=ref(null),re=ref(0),ie=computed(()=>n.column&&n.column.filters),ae=computed(()=>n.column&&n.column.filterClassName?`${i.b()} ${n.column.filterClassName}`:i.b()),oe=computed({get:()=>{var Ve;return(((Ve=n.column)==null?void 0:Ve.filteredValue)||[])[0]},set:Ve=>{le.value&&(isPropAbsent(Ve)?le.value.splice(0,1):le.value.splice(0,1,Ve))}}),le=computed({get(){return n.column?n.column.filteredValue||[]:[]},set(Ve){var Ue;n.column&&((Ue=n.upDataColumn)==null||Ue.call(n,"filteredValue",Ve))}}),ue=computed(()=>n.column?n.column.filterMultiple:!0),de=Ve=>Ve.value===oe.value,he=()=>{var Ve;(Ve=$.value)==null||Ve.onClose()},pe=()=>{xe(le.value),he()},_e=()=>{le.value=[],xe(le.value),he()},Ce=(Ve,Ue)=>{oe.value=Ve,re.value=Ue,isPropAbsent(Ve)?xe([]):xe(le.value),he()},xe=Ve=>{var Ue,Fe;(Ue=n.store)==null||Ue.commit("filterChange",{column:n.column,values:Ve}),(Fe=n.store)==null||Fe.updateAllSelected()},Ie=()=>{var Ve,Ue;(Ve=V.value)==null||Ve.focus(),!ue.value&&Oe(),n.column&&((Ue=n.upDataColumn)==null||Ue.call(n,"filterOpened",!0))},Ne=()=>{var Ve;n.column&&((Ve=n.upDataColumn)==null||Ve.call(n,"filterOpened",!1))},Oe=()=>{if(isPropAbsent(oe)){re.value=0;return}const Ve=(ie.value||[]).findIndex(Ue=>Ue.value===oe.value);re.value=Ve>=0?Ve+1:0};return{multiple:ue,filterClassName:ae,filteredValue:le,filterValue:oe,filters:ie,handleConfirm:pe,handleReset:_e,handleSelect:Ce,isPropAbsent,isActive:de,t:r,ns:i,tooltipRef:$,rootRef:V,checkedIndex:re,handleShowTooltip:Ie,handleHideTooltip:Ne,handleKeydown:Ve=>{var Ue,Fe;const ze=getEventCode(Ve),Pt=(ie.value?ie.value.length:0)+1;let qe=re.value,Et=!0;switch(ze){case EVENT_CODE.down:case EVENT_CODE.right:qe=(qe+1)%Pt;break;case EVENT_CODE.up:case EVENT_CODE.left:qe=(qe-1+Pt)%Pt;break;case EVENT_CODE.tab:he(),Et=!1;break;case EVENT_CODE.enter:case EVENT_CODE.space:if(qe===0)Ce(null,0);else{const kt=(ie.value||[])[qe-1];kt.value&&Ce(kt.value,qe)}break;default:Et=!1;break}Et&&Ve.preventDefault(),re.value=qe,(Fe=(Ue=V.value)==null?void 0:Ue.querySelector(`.${i.e("list-item")}:nth-child(${qe+1})`))==null||Fe.focus()}}}}),_hoisted_1$G=["disabled"],_hoisted_2$t=["tabindex","aria-checked"],_hoisted_3$b=["tabindex","aria-checked","onClick"],_hoisted_4$8=["aria-label"];function _sfc_render$4(n,t,r,i,g,$){const V=resolveComponent("el-checkbox"),re=resolveComponent("el-checkbox-group"),ie=resolveComponent("el-scrollbar"),ae=resolveComponent("arrow-up"),oe=resolveComponent("arrow-down"),le=resolveComponent("el-icon"),ue=resolveComponent("el-tooltip");return openBlock(),createBlock(ue,{ref:"tooltipRef",offset:0,placement:n.placement,"show-arrow":!1,trigger:"click",role:"dialog",teleported:"",effect:"light",pure:"",loop:"","popper-class":n.filterClassName,persistent:"","append-to":n.appendTo,onShow:n.handleShowTooltip,onHide:n.handleHideTooltip},{content:withCtx(()=>[n.multiple?(openBlock(),createElementBlock("div",{key:0,ref:"rootRef",tabindex:"-1",class:normalizeClass(n.ns.e("multiple"))},[createBaseVNode("div",{class:normalizeClass(n.ns.e("content"))},[createVNode$1(ie,{"wrap-class":n.ns.e("wrap")},{default:withCtx(()=>[createVNode$1(re,{modelValue:n.filteredValue,"onUpdate:modelValue":t[0]||(t[0]=de=>n.filteredValue=de),class:normalizeClass(n.ns.e("checkbox-group"))},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.filters,de=>(openBlock(),createBlock(V,{key:de.value,value:de.value},{default:withCtx(()=>[createTextVNode(toDisplayString(de.text),1)]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue","class"])]),_:1},8,["wrap-class"])],2),createBaseVNode("div",{class:normalizeClass(n.ns.e("bottom"))},[createBaseVNode("button",{class:normalizeClass(n.ns.is("disabled",n.filteredValue.length===0)),disabled:n.filteredValue.length===0,type:"button",onClick:t[1]||(t[1]=(...de)=>n.handleConfirm&&n.handleConfirm(...de))},toDisplayString(n.t("el.table.confirmFilter")),11,_hoisted_1$G),createBaseVNode("button",{type:"button",onClick:t[2]||(t[2]=(...de)=>n.handleReset&&n.handleReset(...de))},toDisplayString(n.t("el.table.resetFilter")),1)],2)],2)):(openBlock(),createElementBlock("ul",{key:1,ref:"rootRef",tabindex:"-1",role:"radiogroup",class:normalizeClass(n.ns.e("list")),onKeydown:t[4]||(t[4]=(...de)=>n.handleKeydown&&n.handleKeydown(...de))},[createBaseVNode("li",{role:"radio",class:normalizeClass([n.ns.e("list-item"),n.ns.is("active",n.isPropAbsent(n.filterValue))]),tabindex:n.checkedIndex===0?0:-1,"aria-checked":n.isPropAbsent(n.filterValue),onClick:t[3]||(t[3]=de=>n.handleSelect(null,0))},toDisplayString(n.t("el.table.clearFilter")),11,_hoisted_2$t),(openBlock(!0),createElementBlock(Fragment,null,renderList(n.filters,(de,he)=>(openBlock(),createElementBlock("li",{key:de.value,role:"radio",class:normalizeClass([n.ns.e("list-item"),n.ns.is("active",n.isActive(de))]),tabindex:n.checkedIndex===he+1?0:-1,"aria-checked":n.isActive(de),onClick:pe=>n.handleSelect(de.value,he+1)},toDisplayString(de.text),11,_hoisted_3$b))),128))],34))]),default:withCtx(()=>{var de;return[createBaseVNode("button",{type:"button",class:normalizeClass(`${n.ns.namespace.value}-table__column-filter-trigger`),"aria-label":n.t("el.table.filterLabel",{column:((de=n.column)==null?void 0:de.label)||""})},[createVNode$1(le,null,{default:withCtx(()=>[renderSlot(n.$slots,"filter-icon",{},()=>{var he;return[(he=n.column)!=null&&he.filterOpened?(openBlock(),createBlock(ae,{key:0})):(openBlock(),createBlock(oe,{key:1}))]})]),_:3})],10,_hoisted_4$8)]}),_:3},8,["placement","popper-class","append-to","onShow","onHide"])}var FilterPanel=_export_sfc(_sfc_main$12,[["render",_sfc_render$4],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/filter-panel.vue"]]);function useLayoutObserver(n){const t=getCurrentInstance();onBeforeMount(()=>{r.value.addObserver(t)}),onMounted(()=>{i(r.value),g(r.value)}),onUpdated(()=>{i(r.value),g(r.value)}),onUnmounted(()=>{r.value.removeObserver(t)});const r=computed(()=>{const $=n.layout;if(!$)throw new Error("Can not find table layout.");return $}),i=$=>{var V;const re=((V=n.vnode.el)==null?void 0:V.querySelectorAll("colgroup > col"))||[];if(!re.length)return;const ie=$.getFlattenColumns(),ae={};ie.forEach(oe=>{ae[oe.id]=oe});for(let oe=0,le=re.length;oe{var V,re;const ie=((V=n.vnode.el)==null?void 0:V.querySelectorAll("colgroup > col[name=gutter]"))||[];for(let oe=0,le=ie.length;oe{pe.stopPropagation()},$=(pe,_e)=>{!_e.filters&&_e.sortable?he(pe,_e,!1):_e.filterable&&!_e.sortable&&g(pe),i==null||i.emit("header-click",_e,pe)},V=(pe,_e)=>{i==null||i.emit("header-contextmenu",_e,pe)},re=ref(null),ie=ref(!1),ae=ref(),oe=(pe,_e)=>{var Ce,xe;if(isClient&&!(_e.children&&_e.children.length>0)&&re.value&&n.border&&re.value.id===_e.id){ie.value=!0;const Ie=i;t("set-drag-visible",!0);const Ne=Ie==null?void 0:Ie.vnode.el,Oe=Ne==null?void 0:Ne.getBoundingClientRect().left,$e=(xe=(Ce=r==null?void 0:r.vnode)==null?void 0:Ce.el)==null?void 0:xe.querySelector(`th.${_e.id}`),Ve=$e.getBoundingClientRect(),Ue=Ve.left-Oe+30;addClass($e,"noclick"),ae.value={startMouseLeft:pe.clientX,startLeft:Ve.right-Oe,startColumnLeft:Ve.left-Oe,tableLeft:Oe};const Fe=Ie==null?void 0:Ie.refs.resizeProxy;Fe.style.left=`${ae.value.startLeft}px`,document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};const ze=qe=>{const Et=qe.clientX-ae.value.startMouseLeft,kt=ae.value.startLeft+Et;Fe.style.left=`${Math.max(Ue,kt)}px`},Pt=()=>{if(ie.value){const{startColumnLeft:qe,startLeft:Et}=ae.value,At=Number.parseInt(Fe.style.left,10)-qe;_e.width=_e.realWidth=At,Ie==null||Ie.emit("header-dragend",_e.width,Et-qe,_e,pe),requestAnimationFrame(()=>{n.store.scheduleLayout(!1,!0)}),document.body.style.cursor="",ie.value=!1,re.value=null,ae.value=void 0,t("set-drag-visible",!1)}document.removeEventListener("mousemove",ze),document.removeEventListener("mouseup",Pt),document.onselectstart=null,document.ondragstart=null,setTimeout(()=>{removeClass($e,"noclick")},0)};document.addEventListener("mousemove",ze),document.addEventListener("mouseup",Pt)}},le=(pe,_e)=>{var Ce;if(!n.border||_e.children&&_e.children.length>0)return;const xe=pe.target,Ie=isElement$1(xe)?xe.closest("th"):null;if(!Ie)return;const Ne=hasClass(Ie,"is-sortable");if(Ne){const ze=ie.value?"col-resize":"";Ie.style.cursor=ze;const Pt=Ie.querySelector(".caret-wrapper");Pt&&(Pt.style.cursor=ze)}if(!_e.resizable||ie.value){re.value=null;return}const Oe=Ie.getBoundingClientRect(),$e=((Ce=Ie.parentNode)==null?void 0:Ce.lastElementChild)===Ie,Ve=n.allowDragLastColumn||!$e,Ue=Oe.width>12&&Oe.right-pe.clientX<8&&Ve,Fe=Ue?"col-resize":"";document.body.style.cursor=Fe,re.value=Ue?_e:null,Ne&&(Ie.style.cursor=Fe)},ue=()=>{!isClient||ie.value||(document.body.style.cursor="")},de=({order:pe,sortOrders:_e})=>{if(pe==="")return _e[0];const Ce=_e.indexOf(pe||null);return _e[Ce>_e.length-2?0:Ce+1]},he=(pe,_e,Ce)=>{var xe;pe.stopPropagation();const Ie=_e.order===Ce?null:Ce||de(_e),Ne=(xe=pe.target)==null?void 0:xe.closest("th");if(Ne&&hasClass(Ne,"noclick")){removeClass(Ne,"noclick");return}if(!_e.sortable)return;const Oe=pe.currentTarget;if(["ascending","descending"].some(ze=>hasClass(Oe,ze)&&!_e.sortOrders.includes(ze)))return;const $e=n.store.states;let Ve=$e.sortProp.value,Ue;const Fe=$e.sortingColumn.value;(Fe!==_e||Fe===_e&&isNull(Fe.order))&&(Fe&&(Fe.order=null),$e.sortingColumn.value=_e,Ve=_e.property),Ie?Ue=_e.order=Ie:Ue=_e.order=null,$e.sortProp.value=Ve,$e.sortOrder.value=Ue,i==null||i.store.commit("changeSortCondition")};return{handleHeaderClick:$,handleHeaderContextMenu:V,handleMouseDown:oe,handleMouseMove:le,handleMouseOut:ue,handleSortClick:he,handleFilterClick:g}}function useStyle$2(n){const t=inject(TABLE_INJECTION_KEY),r=useNamespace("table");return{getHeaderRowStyle:re=>{const ie=t==null?void 0:t.props.headerRowStyle;return isFunction$4(ie)?ie.call(null,{rowIndex:re}):ie},getHeaderRowClass:re=>{const ie=[],ae=t==null?void 0:t.props.headerRowClassName;return isString$2(ae)?ie.push(ae):isFunction$4(ae)&&ie.push(ae.call(null,{rowIndex:re})),ie.join(" ")},getHeaderCellStyle:(re,ie,ae,oe)=>{var le;let ue=(le=t==null?void 0:t.props.headerCellStyle)!=null?le:{};isFunction$4(ue)&&(ue=ue.call(null,{rowIndex:re,columnIndex:ie,row:ae,column:oe}));const de=getFixedColumnOffset(ie,oe.fixed,n.store,ae);return ensurePosition(de,"left"),ensurePosition(de,"right"),Object.assign({},ue,de)},getHeaderCellClass:(re,ie,ae,oe)=>{const le=getFixedColumnsClass(r.b(),ie,oe.fixed,n.store,ae),ue=[oe.id,oe.order,oe.headerAlign,oe.className,oe.labelClassName,...le];oe.children||ue.push("is-leaf"),oe.sortable&&ue.push("is-sortable");const de=t==null?void 0:t.props.headerCellClassName;return isString$2(de)?ue.push(de):isFunction$4(de)&&ue.push(de.call(null,{rowIndex:re,columnIndex:ie,row:ae,column:oe})),ue.push(r.e("cell")),ue.filter(he=>!!he).join(" ")}}}const getAllColumns=n=>{const t=[];return n.forEach(r=>{r.children?(t.push(r),t.push.apply(t,getAllColumns(r.children))):t.push(r)}),t},convertToRows=n=>{let t=1;const r=($,V)=>{if(V&&($.level=V.level+1,t<$.level&&(t=$.level)),$.children){let re=0;$.children.forEach(ie=>{r(ie,$),re+=ie.colSpan}),$.colSpan=re}else $.colSpan=1};n.forEach($=>{$.level=1,r($,void 0)});const i=[];for(let $=0;${$.children?($.rowSpan=1,$.children.forEach(V=>V.isSubColumn=!0)):$.rowSpan=t-$.level+1,i[$.level-1].push($)}),i};function useUtils$1(n){const t=inject(TABLE_INJECTION_KEY),r=computed(()=>convertToRows(n.store.states.originColumns.value));return{isGroup:computed(()=>{const $=r.value.length>1;return $&&t&&(t.state.isGroup.value=!0),$}),toggleAllSelection:$=>{$.stopPropagation(),t==null||t.store.commit("toggleAllSelection")},columnRows:r}}var TableHeader=defineComponent({name:"ElTableHeader",components:{ElCheckbox},props:{fixed:{type:String,default:""},store:{required:!0,type:Object},border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})},appendFilterPanelTo:{type:String},allowDragLastColumn:{type:Boolean}},setup(n,{emit:t}){const r=getCurrentInstance(),i=inject(TABLE_INJECTION_KEY),g=useNamespace("table"),$=ref({}),{onColumnsChange:V,onScrollableChange:re}=useLayoutObserver(i),ie=(i==null?void 0:i.props.tableLayout)==="auto",ae=reactive(new Map),oe=ref();let le;const ue=()=>{le=setTimeout(()=>{ae.size>0&&(ae.forEach((qe,Et)=>{const kt=oe.value.querySelector(`.${Et.replace(/\s/g,".")}`);if(kt){const At=kt.getBoundingClientRect().width;qe.width=At||qe.width}}),ae.clear())})};watch(ae,ue),onBeforeUnmount(()=>{le&&(clearTimeout(le),le=void 0)}),onMounted(async()=>{await nextTick(),await nextTick();const{prop:qe,order:Et}=n.defaultSort;i==null||i.store.commit("sort",{prop:qe,order:Et,init:!0}),ue()});const{handleHeaderClick:de,handleHeaderContextMenu:he,handleMouseDown:pe,handleMouseMove:_e,handleMouseOut:Ce,handleSortClick:xe,handleFilterClick:Ie}=useEvent(n,t),{getHeaderRowStyle:Ne,getHeaderRowClass:Oe,getHeaderCellStyle:$e,getHeaderCellClass:Ve}=useStyle$2(n),{isGroup:Ue,toggleAllSelection:Fe,columnRows:ze}=useUtils$1(n),{t:Pt}=useLocale();return r.state={onColumnsChange:V,onScrollableChange:re},r.filterPanels=$,{ns:g,t:Pt,filterPanels:$,onColumnsChange:V,onScrollableChange:re,columnRows:ze,getHeaderRowClass:Oe,getHeaderRowStyle:Ne,getHeaderCellClass:Ve,getHeaderCellStyle:$e,handleHeaderClick:de,handleHeaderContextMenu:he,handleMouseDown:pe,handleMouseMove:_e,handleMouseOut:Ce,handleSortClick:xe,handleFilterClick:Ie,isGroup:Ue,toggleAllSelection:Fe,saveIndexSelection:ae,isTableLayoutAuto:ie,theadRef:oe,updateFixedColumnStyle:ue}},render(){const{ns:n,t,isGroup:r,columnRows:i,getHeaderCellStyle:g,getHeaderCellClass:$,getHeaderRowClass:V,getHeaderRowStyle:re,handleHeaderClick:ie,handleHeaderContextMenu:ae,handleMouseDown:oe,handleMouseMove:le,handleSortClick:ue,handleMouseOut:de,store:he,$parent:pe,saveIndexSelection:_e,isTableLayoutAuto:Ce}=this;let xe=1;return h$1("thead",{ref:"theadRef",class:n.is("group",r)},i.map((Ie,Ne)=>h$1("tr",{class:V(Ne),key:Ne,style:re(Ne)},Ie.map((Oe,$e)=>{Oe.rowSpan>xe&&(xe=Oe.rowSpan);const Ve=$(Ne,$e,Ie,Oe);return Ce&&Oe.fixed&&_e.set(Ve,Oe),h$1("th",{class:Ve,colspan:Oe.colSpan,key:`${Oe.id}-thead`,rowspan:Oe.rowSpan,scope:Oe.colSpan>1?"colgroup":"col",ariaSort:Oe.sortable?Oe.order:void 0,style:g(Ne,$e,Ie,Oe),onClick:Ue=>{var Fe;(Fe=Ue.currentTarget)!=null&&Fe.classList.contains("noclick")||ie(Ue,Oe)},onContextmenu:Ue=>ae(Ue,Oe),onMousedown:Ue=>oe(Ue,Oe),onMousemove:Ue=>le(Ue,Oe),onMouseout:de},[h$1("div",{class:["cell",Oe.filteredValue&&Oe.filteredValue.length>0?"highlight":""]},[Oe.renderHeader?Oe.renderHeader({column:Oe,$index:$e,store:he,_self:pe}):Oe.label,Oe.sortable&&h$1("button",{type:"button",class:"caret-wrapper","aria-label":t("el.table.sortLabel",{column:Oe.label||""}),onClick:Ue=>ue(Ue,Oe)},[h$1("i",{onClick:Ue=>ue(Ue,Oe,"ascending"),class:"sort-caret ascending"}),h$1("i",{onClick:Ue=>ue(Ue,Oe,"descending"),class:"sort-caret descending"})]),Oe.filterable&&h$1(FilterPanel,{store:he,placement:Oe.filterPlacement||"bottom-start",appendTo:pe==null?void 0:pe.appendFilterPanelTo,column:Oe,upDataColumn:(Ue,Fe)=>{Oe[Ue]=Fe}},{"filter-icon":()=>Oe.renderFilterIcon?Oe.renderFilterIcon({filterOpened:Oe.filterOpened}):null})])])}))))}});function isGreaterThan(n,t,r=.03){return n-t>r}function useEvents(n){const t=inject(TABLE_INJECTION_KEY),r=ref(""),i=ref(h$1("div")),g=(he,pe,_e)=>{var Ce,xe,Ie;const Ne=t,Oe=getCell(he);let $e=null;const Ve=(Ce=Ne==null?void 0:Ne.vnode.el)==null?void 0:Ce.dataset.prefix;Oe&&($e=getColumnByCell({columns:(Ie=(xe=n.store)==null?void 0:xe.states.columns.value)!=null?Ie:[]},Oe,Ve),$e&&(Ne==null||Ne.emit(`cell-${_e}`,pe,$e,Oe,he))),Ne==null||Ne.emit(`row-${_e}`,pe,$e,he)},$=(he,pe)=>{g(he,pe,"dblclick")},V=(he,pe)=>{var _e;(_e=n.store)==null||_e.commit("setCurrentRow",pe),g(he,pe,"click")},re=(he,pe)=>{g(he,pe,"contextmenu")},ie=debounce(he=>{var pe;(pe=n.store)==null||pe.commit("setHoverRow",he)},30),ae=debounce(()=>{var he;(he=n.store)==null||he.commit("setHoverRow",null)},30),oe=he=>{const pe=window.getComputedStyle(he,null),_e=Number.parseInt(pe.paddingLeft,10)||0,Ce=Number.parseInt(pe.paddingRight,10)||0,xe=Number.parseInt(pe.paddingTop,10)||0,Ie=Number.parseInt(pe.paddingBottom,10)||0;return{left:_e,right:Ce,top:xe,bottom:Ie}},le=(he,pe,_e)=>{var Ce;let xe=(Ce=pe==null?void 0:pe.target)==null?void 0:Ce.parentNode;for(;he>1&&(xe=xe==null?void 0:xe.nextSibling,!(!xe||xe.nodeName!=="TR"));)_e(xe,"hover-row hover-fixed-row"),he--};return{handleDoubleClick:$,handleClick:V,handleContextMenu:re,handleMouseEnter:ie,handleMouseLeave:ae,handleCellMouseEnter:(he,pe,_e)=>{var Ce,xe,Ie,Ne,Oe,$e,Ve,Ue,Fe;if(!t)return;const ze=t,Pt=getCell(he),qe=(Ce=ze==null?void 0:ze.vnode.el)==null?void 0:Ce.dataset.prefix;let Et=null;if(Pt){if(Et=getColumnByCell({columns:(Ie=(xe=n.store)==null?void 0:xe.states.columns.value)!=null?Ie:[]},Pt,qe),!Et)return;Pt.rowSpan>1&&le(Pt.rowSpan,he,addClass);const Tn=ze.hoverState={cell:Pt,column:Et,row:pe};ze==null||ze.emit("cell-mouse-enter",Tn.row,Tn.column,Tn.cell,he)}if(!_e){((Ne=removePopper)==null?void 0:Ne.trigger)===Pt&&((Oe=removePopper)==null||Oe());return}const kt=he.target.querySelector(".cell");if(!(hasClass(kt,`${qe}-tooltip`)&&kt.childNodes.length&&(($e=kt.textContent)!=null&&$e.trim())))return;const At=document.createRange();At.setStart(kt,0),At.setEnd(kt,kt.childNodes.length);const{width:Dt,height:Lt}=At.getBoundingClientRect(),{width:jt,height:hn}=kt.getBoundingClientRect(),{top:vn,left:_n,right:wn,bottom:bn}=oe(kt),Cn=_n+wn,Sn=vn+bn;isGreaterThan(Dt+Cn,jt)||isGreaterThan(Lt+Sn,hn)||isGreaterThan(kt.scrollWidth,jt)?createTablePopper(_e,(Ve=(Pt==null?void 0:Pt.innerText)||(Pt==null?void 0:Pt.textContent))!=null?Ve:"",pe,Et,Pt,ze):((Ue=removePopper)==null?void 0:Ue.trigger)===Pt&&((Fe=removePopper)==null||Fe())},handleCellMouseLeave:he=>{const pe=getCell(he);if(!pe)return;pe.rowSpan>1&&le(pe.rowSpan,he,removeClass);const _e=t==null?void 0:t.hoverState;t==null||t.emit("cell-mouse-leave",_e==null?void 0:_e.row,_e==null?void 0:_e.column,_e==null?void 0:_e.cell,he)},tooltipContent:r,tooltipTrigger:i}}function useStyles$1(n){const t=inject(TABLE_INJECTION_KEY),r=useNamespace("table");return{getRowStyle:(ae,oe)=>{const le=t==null?void 0:t.props.rowStyle;return isFunction$4(le)?le.call(null,{row:ae,rowIndex:oe}):le||null},getRowClass:(ae,oe,le)=>{var ue;const de=[r.e("row")];t!=null&&t.props.highlightCurrentRow&&ae===((ue=n.store)==null?void 0:ue.states.currentRow.value)&&de.push("current-row"),n.stripe&&le%2===1&&de.push(r.em("row","striped"));const he=t==null?void 0:t.props.rowClassName;return isString$2(he)?de.push(he):isFunction$4(he)&&de.push(he.call(null,{row:ae,rowIndex:oe})),de},getCellStyle:(ae,oe,le,ue)=>{const de=t==null?void 0:t.props.cellStyle;let he=de??{};isFunction$4(de)&&(he=de.call(null,{rowIndex:ae,columnIndex:oe,row:le,column:ue}));const pe=getFixedColumnOffset(oe,n==null?void 0:n.fixed,n.store);return ensurePosition(pe,"left"),ensurePosition(pe,"right"),Object.assign({},he,pe)},getCellClass:(ae,oe,le,ue,de)=>{const he=getFixedColumnsClass(r.b(),oe,n==null?void 0:n.fixed,n.store,void 0,de),pe=[ue.id,ue.align,ue.className,...he],_e=t==null?void 0:t.props.cellClassName;return isString$2(_e)?pe.push(_e):isFunction$4(_e)&&pe.push(_e.call(null,{rowIndex:ae,columnIndex:oe,row:le,column:ue})),pe.push(r.e("cell")),pe.filter(Ce=>!!Ce).join(" ")},getSpan:(ae,oe,le,ue)=>{let de=1,he=1;const pe=t==null?void 0:t.props.spanMethod;if(isFunction$4(pe)){const _e=pe({row:ae,column:oe,rowIndex:le,columnIndex:ue});isArray$5(_e)?(de=_e[0],he=_e[1]):isObject$6(_e)&&(de=_e.rowspan,he=_e.colspan)}return{rowspan:de,colspan:he}},getColspanRealWidth:(ae,oe,le)=>{if(oe<1)return ae[le].realWidth;const ue=ae.map(({realWidth:de,width:he})=>de||he).slice(le,le+oe);return Number(ue.reduce((de,he)=>Number(de)+Number(he),-1))}}}const _hoisted_1$F=["colspan","rowspan"],_sfc_main$11=defineComponent({name:"TableTdWrapper",__name:"td-wrapper",props:{colspan:{type:Number,default:1},rowspan:{type:Number,default:1}},setup(n){return(t,r)=>(openBlock(),createElementBlock("td",{colspan:n.colspan,rowspan:n.rowspan},[renderSlot(t.$slots,"default")],8,_hoisted_1$F))}});var TdWrapper=_export_sfc(_sfc_main$11,[["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table-body/td-wrapper.vue"]]);function useRender$1(n){const t=inject(TABLE_INJECTION_KEY),r=useNamespace("table"),{handleDoubleClick:i,handleClick:g,handleContextMenu:$,handleMouseEnter:V,handleMouseLeave:re,handleCellMouseEnter:ie,handleCellMouseLeave:ae,tooltipContent:oe,tooltipTrigger:le}=useEvents(n),{getRowStyle:ue,getRowClass:de,getCellStyle:he,getCellClass:pe,getSpan:_e,getColspanRealWidth:Ce}=useStyles$1(n);let xe=-1;const Ie=computed(()=>{var Ue;return(Ue=n.store)==null?void 0:Ue.states.columns.value.findIndex(({type:Fe})=>Fe==="default")}),Ne=(Ue,Fe)=>{var ze;const Pt=(ze=t==null?void 0:t.props)==null?void 0:ze.rowKey;return Pt?getRowIdentity(Ue,Pt):Fe},Oe=(Ue,Fe,ze,Pt=!1)=>{const{tooltipEffect:qe,tooltipOptions:Et,store:kt}=n,{indent:At,columns:Dt}=kt.states,Lt=[];let jt=!0;return ze&&(Lt.push(r.em("row",`level-${ze.level}`)),jt=!!ze.display),Fe===0&&(xe=-1),n.stripe&&jt&&xe++,Lt.push(...de(Ue,Fe,xe)),h$1("tr",{style:[jt?null:{display:"none"},ue(Ue,Fe)],class:Lt,key:Ne(Ue,Fe),onDblclick:vn=>i(vn,Ue),onClick:vn=>g(vn,Ue),onContextmenu:vn=>$(vn,Ue),onMouseenter:()=>V(Fe),onMouseleave:re},Dt.value.map((vn,_n)=>{const{rowspan:wn,colspan:bn}=_e(Ue,vn,Fe,_n);if(!wn||!bn)return null;const Cn=Object.assign({},vn);Cn.realWidth=Ce(Dt.value,bn,_n);const Sn={store:kt,_self:n.context||t,column:Cn,row:Ue,$index:Fe,cellIndex:_n,expanded:Pt};_n===Ie.value&&ze&&(Sn.treeNode={indent:ze.level&&ze.level*At.value,level:ze.level},isBoolean$1(ze.expanded)&&(Sn.treeNode.expanded=ze.expanded,"loading"in ze&&(Sn.treeNode.loading=ze.loading),"noLazyChildren"in ze&&(Sn.treeNode.noLazyChildren=ze.noLazyChildren)));const Tn=`${Ne(Ue,Fe)},${_n}`,En=Cn.columnKey||Cn.rawColumnKey||"",kn=vn.showOverflowTooltip&&merge$3({effect:qe},Et,vn.showOverflowTooltip);return h$1(TdWrapper,{style:he(Fe,_n,Ue,vn),class:pe(Fe,_n,Ue,vn,bn-1),key:`${En}${Tn}`,rowspan:wn,colspan:bn,onMouseenter:$n=>ie($n,Ue,kn),onMouseleave:ae},{default:()=>$e(_n,vn,Sn)})}))},$e=(Ue,Fe,ze)=>Fe.renderCell(ze);return{wrappedRowRender:(Ue,Fe)=>{const ze=n.store,{isRowExpanded:Pt,assertRowKey:qe}=ze,{treeData:Et,lazyTreeNodeMap:kt,childrenColumnName:At,rowKey:Dt}=ze.states,Lt=ze.states.columns.value;if(Lt.some(({type:hn})=>hn==="expand")){const hn=Pt(Ue),vn=Oe(Ue,Fe,void 0,hn),_n=t==null?void 0:t.renderExpanded;if(!_n)return console.error("[Element Error]renderExpanded is required."),vn;const wn=[[vn]];return(t.props.preserveExpandedContent||hn)&&wn[0].push(h$1("tr",{key:`expanded-row__${vn.key}`,style:{display:hn?"":"none"}},[h$1("td",{colspan:Lt.length,class:`${r.e("cell")} ${r.e("expanded-cell")}`},[_n({row:Ue,$index:Fe,store:ze,expanded:hn})])])),wn}else if(Object.keys(Et.value).length){qe();const hn=getRowIdentity(Ue,Dt.value);let vn=Et.value[hn],_n=null;vn&&(_n={expanded:vn.expanded,level:vn.level,display:!0,noLazyChildren:void 0,loading:void 0},isBoolean$1(vn.lazy)&&(_n&&isBoolean$1(vn.loaded)&&vn.loaded&&(_n.noLazyChildren=!(vn.children&&vn.children.length)),_n.loading=vn.loading));const wn=[Oe(Ue,Fe,_n??void 0)];if(vn){let bn=0;const Cn=(Tn,En)=>{Tn&&Tn.length&&En&&Tn.forEach(kn=>{const $n={display:En.display&&En.expanded,level:En.level+1,expanded:!1,noLazyChildren:!1,loading:!1},An=getRowIdentity(kn,Dt.value);if(isPropAbsent(An))throw new Error("For nested data item, row-key is required.");if(vn={...Et.value[An]},vn&&($n.expanded=vn.expanded,vn.level=vn.level||$n.level,vn.display=!!(vn.expanded&&$n.display),isBoolean$1(vn.lazy)&&(isBoolean$1(vn.loaded)&&vn.loaded&&($n.noLazyChildren=!(vn.children&&vn.children.length)),$n.loading=vn.loading)),bn++,wn.push(Oe(kn,Fe+bn,$n)),vn){const xn=kt.value[An]||kn[At.value];Cn(xn,vn)}})};vn.display=!0;const Sn=kt.value[hn]||Ue[At.value];Cn(Sn,vn)}return wn}else return Oe(Ue,Fe,void 0)},tooltipContent:oe,tooltipTrigger:le}}const defaultProps$3={store:{required:!0,type:Object},stripe:Boolean,tooltipEffect:String,tooltipOptions:{type:Object},context:{default:()=>({}),type:Object},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:{type:String,default:""},highlight:Boolean};var TableBody=defineComponent({name:"ElTableBody",props:defaultProps$3,setup(n){var t;const r=getCurrentInstance(),i=inject(TABLE_INJECTION_KEY),g=useNamespace("table"),{wrappedRowRender:$,tooltipContent:V,tooltipTrigger:re}=useRender$1(n),{onColumnsChange:ie,onScrollableChange:ae}=useLayoutObserver(i),oe=[];return watch((t=n.store)==null?void 0:t.states.hoverRow,(le,ue)=>{var de,he;const pe=r==null?void 0:r.vnode.el,_e=Array.from((pe==null?void 0:pe.children)||[]).filter(Ie=>Ie==null?void 0:Ie.classList.contains(`${g.e("row")}`));let Ce=le;const xe=(de=_e[Ce])==null?void 0:de.childNodes;if(xe!=null&&xe.length){let Ie=0;Array.from(xe).reduce((Oe,$e,Ve)=>{var Ue,Fe;return((Ue=xe[Ve])==null?void 0:Ue.colSpan)>1&&(Ie=(Fe=xe[Ve])==null?void 0:Fe.colSpan),$e.nodeName!=="TD"&&Ie===0&&Oe.push(Ve),Ie>0&&Ie--,Oe},[]).forEach(Oe=>{var $e;for(Ce=le;Ce>0;){const Ve=($e=_e[Ce-1])==null?void 0:$e.childNodes;if(Ve[Oe]&&Ve[Oe].nodeName==="TD"&&Ve[Oe].rowSpan>1){addClass(Ve[Oe],"hover-cell"),oe.push(Ve[Oe]);break}Ce--}})}else oe.forEach(Ie=>removeClass(Ie,"hover-cell")),oe.length=0;!((he=n.store)!=null&&he.states.isComplex.value)||!isClient||rAF(()=>{const Ie=_e[ue],Ne=_e[le];Ie&&!Ie.classList.contains("hover-fixed-row")&&removeClass(Ie,"hover-row"),Ne&&addClass(Ne,"hover-row")})}),onUnmounted(()=>{var le;(le=removePopper)==null||le()}),{ns:g,onColumnsChange:ie,onScrollableChange:ae,wrappedRowRender:$,tooltipContent:V,tooltipTrigger:re}},render(){const{wrappedRowRender:n,store:t}=this,r=(t==null?void 0:t.states.data.value)||[];return h$1("tbody",{tabIndex:-1},[r.reduce((i,g)=>i.concat(n(g,i.length)),[])])}});function useMapState(){const n=inject(TABLE_INJECTION_KEY),t=n==null?void 0:n.store,r=computed(()=>{var re;return(re=t==null?void 0:t.states.fixedLeafColumnsLength.value)!=null?re:0}),i=computed(()=>{var re;return(re=t==null?void 0:t.states.rightFixedColumns.value.length)!=null?re:0}),g=computed(()=>{var re;return(re=t==null?void 0:t.states.columns.value.length)!=null?re:0}),$=computed(()=>{var re;return(re=t==null?void 0:t.states.fixedColumns.value.length)!=null?re:0}),V=computed(()=>{var re;return(re=t==null?void 0:t.states.rightFixedColumns.value.length)!=null?re:0});return{leftFixedLeafCount:r,rightFixedLeafCount:i,columnsCount:g,leftFixedCount:$,rightFixedCount:V,columns:computed(()=>{var re;return(re=t==null?void 0:t.states.columns.value)!=null?re:[]})}}function useStyle$1(n){const{columns:t}=useMapState(),r=useNamespace("table");return{getCellClasses:($,V)=>{const re=$[V],ie=[r.e("cell"),re.id,re.align,re.labelClassName,...getFixedColumnsClass(r.b(),V,re.fixed,n.store)];return re.className&&ie.push(re.className),re.children||ie.push(r.is("leaf")),ie},getCellStyles:($,V)=>{const re=getFixedColumnOffset(V,$.fixed,n.store);return ensurePosition(re,"left"),ensurePosition(re,"right"),re},columns:t}}var TableFooter=defineComponent({name:"ElTableFooter",props:{fixed:{type:String,default:""},store:{required:!0,type:Object},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:()=>({prop:"",order:""})}},setup(n){const t=inject(TABLE_INJECTION_KEY),r=useNamespace("table"),{getCellClasses:i,getCellStyles:g,columns:$}=useStyle$1(n),{onScrollableChange:V,onColumnsChange:re}=useLayoutObserver(t);return{ns:r,onScrollableChange:V,onColumnsChange:re,getCellClasses:i,getCellStyles:g,columns:$}},render(){const{columns:n,getCellStyles:t,getCellClasses:r,summaryMethod:i,sumText:g}=this,$=this.store.states.data.value;let V=[];return i?V=i({columns:n,data:$}):n.forEach((re,ie)=>{if(ie===0){V[ie]=g;return}const ae=$.map(de=>Number(de[re.property])),oe=[];let le=!0;ae.forEach(de=>{if(!Number.isNaN(+de)){le=!1;const he=`${de}`.split(".")[1];oe.push(he?he.length:0)}});const ue=Math.max.apply(null,oe);le?V[ie]="":V[ie]=ae.reduce((de,he)=>{const pe=Number(he);return Number.isNaN(+pe)?de:Number.parseFloat((de+he).toFixed(Math.min(ue,20)))},0)}),h$1(h$1("tfoot",[h$1("tr",{},[...n.map((re,ie)=>h$1("td",{key:ie,colspan:re.colSpan,rowspan:re.rowSpan,class:r(n,ie),style:t(re,ie)},[h$1("div",{class:["cell",re.labelClassName]},[V[ie]])]))])]))}});function useUtils(n){return{setCurrentRow:le=>{n.commit("setCurrentRow",le)},getSelectionRows:()=>n.getSelectionRows(),toggleRowSelection:(le,ue,de=!0)=>{n.toggleRowSelection(le,ue,!1,de),n.updateAllSelected()},clearSelection:()=>{n.clearSelection()},clearFilter:le=>{n.clearFilter(le)},toggleAllSelection:()=>{n.commit("toggleAllSelection")},toggleRowExpansion:(le,ue)=>{n.toggleRowExpansionAdapter(le,ue)},clearSort:()=>{n.clearSort()},sort:(le,ue)=>{n.commit("sort",{prop:le,order:ue})},updateKeyChildren:(le,ue)=>{n.updateKeyChildren(le,ue)}}}function useStyle(n,t,r,i){const g=ref(!1),$=ref(null),V=ref(!1),re=Lt=>{V.value=Lt},ie=ref({width:null,height:null,headerHeight:null}),ae=ref(!1),oe={display:"inline-block",verticalAlign:"middle"},le=ref(),ue=ref(0),de=ref(0),he=ref(0),pe=ref(0),_e=ref(0);watch(()=>n.height,Lt=>{t.setHeight(Lt??null)},{immediate:!0}),watch(()=>n.maxHeight,Lt=>{t.setMaxHeight(Lt??null)},{immediate:!0}),watch(()=>[n.currentRowKey,r.states.rowKey],([Lt,jt])=>{!unref(jt)||!unref(Lt)||r.setCurrentRowKey(`${Lt}`)},{immediate:!0}),watch(()=>n.data,Lt=>{i.store.commit("setData",Lt)},{immediate:!0,deep:!0}),watchEffect(()=>{n.expandRowKeys&&r.setExpandRowKeysAdapter(n.expandRowKeys)});const Ce=()=>{i.store.commit("setHoverRow",null),i.hoverState&&(i.hoverState=null)},xe=(Lt,jt)=>{const{pixelX:hn,pixelY:vn}=jt;Math.abs(hn)>=Math.abs(vn)&&(i.refs.bodyWrapper.scrollLeft+=jt.pixelX/5)},Ie=computed(()=>n.height||n.maxHeight||r.states.fixedColumns.value.length>0||r.states.rightFixedColumns.value.length>0),Ne=computed(()=>({width:t.bodyWidth.value?`${t.bodyWidth.value}px`:""})),Oe=()=>{Ie.value&&t.updateElsHeight(),t.updateColumnsWidth(),!(typeof window>"u")&&requestAnimationFrame(Fe)};onMounted(async()=>{await nextTick(),r.updateColumns(),ze(),requestAnimationFrame(Oe);const Lt=i.vnode.el,jt=i.refs.headerWrapper;n.flexible&&Lt&&Lt.parentElement&&(Lt.parentElement.style.minWidth="0"),ie.value={width:le.value=Lt.offsetWidth,height:Lt.offsetHeight,headerHeight:n.showHeader&&jt?jt.offsetHeight:null},r.states.columns.value.forEach(hn=>{hn.filteredValue&&hn.filteredValue.length&&i.store.commit("filterChange",{column:hn,values:hn.filteredValue,silent:!0})}),i.$ready=!0});const $e=(Lt,jt)=>{if(!Lt)return;const hn=Array.from(Lt.classList).filter(vn=>!vn.startsWith("is-scrolling-"));hn.push(t.scrollX.value?jt:"is-scrolling-none"),Lt.className=hn.join(" ")},Ve=Lt=>{const{tableWrapper:jt}=i.refs;$e(jt,Lt)},Ue=Lt=>{const{tableWrapper:jt}=i.refs;return!!(jt&&jt.classList.contains(Lt))},Fe=function(){if(!i.refs.scrollBarRef)return;if(!t.scrollX.value){const Cn="is-scrolling-none";Ue(Cn)||Ve(Cn);return}const Lt=i.refs.scrollBarRef.wrapRef;if(!Lt)return;const{scrollLeft:jt,offsetWidth:hn,scrollWidth:vn}=Lt,{headerWrapper:_n,footerWrapper:wn}=i.refs;_n&&(_n.scrollLeft=jt),wn&&(wn.scrollLeft=jt);const bn=vn-hn-1;jt>=bn?Ve("is-scrolling-right"):Ve(jt===0?"is-scrolling-left":"is-scrolling-middle")},ze=()=>{i.refs.scrollBarRef&&(i.refs.scrollBarRef.wrapRef&&useEventListener(i.refs.scrollBarRef.wrapRef,"scroll",Fe,{passive:!0}),n.fit?useResizeObserver(i.vnode.el,Pt):useEventListener(window,"resize",Pt),useResizeObserver(i.refs.tableInnerWrapper,()=>{var Lt,jt;Pt(),(jt=(Lt=i.refs)==null?void 0:Lt.scrollBarRef)==null||jt.update()}))},Pt=()=>{var Lt,jt,hn,vn;const _n=i.vnode.el;if(!i.$ready||!_n)return;let wn=!1;const{width:bn,height:Cn,headerHeight:Sn}=ie.value,Tn=le.value=_n.offsetWidth;bn!==Tn&&(wn=!0);const En=_n.offsetHeight;(n.height||Ie.value)&&Cn!==En&&(wn=!0);const kn=n.tableLayout==="fixed"?i.refs.headerWrapper:(Lt=i.refs.tableHeaderRef)==null?void 0:Lt.$el;n.showHeader&&(kn==null?void 0:kn.offsetHeight)!==Sn&&(wn=!0),ue.value=((jt=i.refs.tableWrapper)==null?void 0:jt.scrollHeight)||0,he.value=(kn==null?void 0:kn.scrollHeight)||0,pe.value=((hn=i.refs.footerWrapper)==null?void 0:hn.offsetHeight)||0,_e.value=((vn=i.refs.appendWrapper)==null?void 0:vn.offsetHeight)||0,de.value=ue.value-he.value-pe.value-_e.value,wn&&(ie.value={width:Tn,height:En,headerHeight:n.showHeader&&(kn==null?void 0:kn.offsetHeight)||0},Oe())},qe=useFormSize(),Et=computed(()=>{const{bodyWidth:Lt,scrollY:jt,gutterWidth:hn}=t;return Lt.value?`${Lt.value-(jt.value?hn:0)}px`:""}),kt=computed(()=>n.maxHeight?"fixed":n.tableLayout),At=computed(()=>{if(n.data&&n.data.length)return;let Lt="100%";n.height&&de.value&&(Lt=`${de.value}px`);const jt=le.value;return{width:jt?`${jt}px`:"",height:Lt}}),Dt=computed(()=>n.height?{height:"100%"}:n.maxHeight?Number.isNaN(Number(n.maxHeight))?{maxHeight:`calc(${n.maxHeight} - ${he.value+pe.value}px)`}:{maxHeight:`${+n.maxHeight-he.value-pe.value}px`}:{});return{isHidden:g,renderExpanded:$,setDragVisible:re,isGroup:ae,handleMouseLeave:Ce,handleHeaderFooterMousewheel:xe,tableSize:qe,emptyBlockStyle:At,resizeProxyVisible:V,bodyWidth:Et,resizeState:ie,doLayout:Oe,tableBodyStyles:Ne,tableLayout:kt,scrollbarViewStyle:oe,scrollbarStyle:Dt}}function useKeyRender(n){let t;const r=()=>{const g=n.vnode.el.querySelector(".hidden-columns"),$={childList:!0,subtree:!0},V=n.store.states.updateOrderFns;t=new MutationObserver(()=>{V.forEach(re=>re())}),t.observe(g,$)};onMounted(()=>{r()}),onUnmounted(()=>{t==null||t.disconnect()})}var defaultProps$2={data:{type:Array,default:()=>[]},size:useSizeProp,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,tooltipOptions:Object,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0},indent:{type:Number,default:16},treeProps:{type:Object,default:()=>({hasChildren:"hasChildren",children:"children",checkStrictly:!1})},lazy:Boolean,load:Function,style:{type:[String,Object,Array],default:()=>({})},className:{type:String,default:""},tableLayout:{type:String,default:"fixed"},scrollbarAlwaysOn:Boolean,flexible:Boolean,showOverflowTooltip:[Boolean,Object],tooltipFormatter:Function,appendFilterPanelTo:String,scrollbarTabindex:{type:[Number,String],default:void 0},allowDragLastColumn:{type:Boolean,default:!0},preserveExpandedContent:Boolean,nativeScrollbar:Boolean};function hColgroup(n){const t=n.tableLayout==="auto";let r=n.columns||[];t&&r.every(({width:g})=>isUndefined$1(g))&&(r=[]);const i=g=>{const $={key:`${n.tableLayout}_${g.id}`,style:{},name:void 0};return t?$.style={width:`${g.width}px`}:$.name=g.id,$};return h$1("colgroup",{},r.map(g=>h$1("col",i(g))))}hColgroup.props=["columns","tableLayout"];const useScrollbar$1=()=>{const n=ref(),t=($,V)=>{const re=n.value;re&&re.scrollTo($,V)},r=($,V)=>{const re=n.value;re&&isNumber$2(V)&&["Top","Left"].includes($)&&re[`setScroll${$}`](V)};return{scrollBarRef:n,scrollTo:t,setScrollTop:$=>r("Top",$),setScrollLeft:$=>r("Left",$)}};var v=!1,o,f,s,u,d,N,l,p,m$1,w$1,D$1,x$1,E$1,M,F;function a(){if(!v){v=!0;var n=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(n),r=/(Mac OS X)|(Windows)|(Linux)/.exec(n);if(x$1=/\b(iPhone|iP[ao]d)/.exec(n),E$1=/\b(iP[ao]d)/.exec(n),w$1=/Android/i.exec(n),M=/FBAN\/\w+;/i.exec(n),F=/Mobile/i.exec(n),D$1=!!/Win64/.exec(n),t){o=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,o&&document&&document.documentMode&&(o=document.documentMode);var i=/(?:Trident\/(\d+.\d+))/.exec(n);N=i?parseFloat(i[1])+4:o,f=t[2]?parseFloat(t[2]):NaN,s=t[3]?parseFloat(t[3]):NaN,u=t[4]?parseFloat(t[4]):NaN,u?(t=/(?:Chrome\/(\d+\.\d+))/.exec(n),d=t&&t[1]?parseFloat(t[1]):NaN):d=NaN}else o=f=s=d=u=NaN;if(r){if(r[1]){var g=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(n);l=g?parseFloat(g[1].replace("_",".")):!0}else l=!1;p=!!r[2],m$1=!!r[3]}else l=p=m$1=!1}}var _$1={ie:function(){return a()||o},ieCompatibilityMode:function(){return a()||N>o},ie64:function(){return _$1.ie()&&D$1},firefox:function(){return a()||f},opera:function(){return a()||s},webkit:function(){return a()||u},safari:function(){return _$1.webkit()},chrome:function(){return a()||d},windows:function(){return a()||p},osx:function(){return a()||l},linux:function(){return a()||m$1},iphone:function(){return a()||x$1},mobile:function(){return a()||x$1||E$1||w$1||F},nativeApp:function(){return a()||M},android:function(){return a()||w$1},ipad:function(){return a()||E$1}},A$1=_$1,c=!!(typeof window<"u"&&window.document&&window.document.createElement),U$1={canUseDOM:c,canUseWorkers:typeof Worker<"u",canUseEventListeners:c&&!!(window.addEventListener||window.attachEvent),canUseViewport:c&&!!window.screen,isInWorker:!c},h=U$1,X;h.canUseDOM&&(X=document.implementation&&document.implementation.hasFeature&&document.implementation.hasFeature("","")!==!0);function S$1(n,t){if(!h.canUseDOM||t&&!("addEventListener"in document))return!1;var r="on"+n,i=r in document;if(!i){var g=document.createElement("div");g.setAttribute(r,"return;"),i=typeof g[r]=="function"}return!i&&X&&n==="wheel"&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}var b$1=S$1,O=10,I=40,P$1=800;function T$1(n){var t=0,r=0,i=0,g=0;return"detail"in n&&(r=n.detail),"wheelDelta"in n&&(r=-n.wheelDelta/120),"wheelDeltaY"in n&&(r=-n.wheelDeltaY/120),"wheelDeltaX"in n&&(t=-n.wheelDeltaX/120),"axis"in n&&n.axis===n.HORIZONTAL_AXIS&&(t=r,r=0),i=t*O,g=r*O,"deltaY"in n&&(g=n.deltaY),"deltaX"in n&&(i=n.deltaX),(i||g)&&n.deltaMode&&(n.deltaMode==1?(i*=I,g*=I):(i*=P$1,g*=P$1)),i&&!t&&(t=i<1?-1:1),g&&!r&&(r=g<1?-1:1),{spinX:t,spinY:r,pixelX:i,pixelY:g}}T$1.getEventType=function(){return A$1.firefox()?"DOMMouseScroll":b$1("wheel")?"wheel":"mousewheel"};var Y=T$1;/** -* Checks if an event is supported in the current execution environment. -* -* NOTE: This will not work correctly for non-generic events such as `change`, -* `reset`, `load`, `error`, and `select`. -* -* Borrows from Modernizr. -* -* @param {string} eventNameSuffix Event name, e.g. "click". -* @param {?boolean} capture Check if the capture phase is supported. -* @return {boolean} True if the event is supported. -* @internal -* @license Modernizr 3.0.0pre (Custom Build) | MIT -*/const SCOPE$3="_Mousewheel",mousewheel=function(n,t){if(n&&n.addEventListener){removeWheelHandler(n);const r=function(i){const g=Y(i);t&&Reflect.apply(t,this,[i,g])};n[SCOPE$3]={wheelHandler:r},n.addEventListener("wheel",r,{passive:!0})}},removeWheelHandler=n=>{var t;(t=n[SCOPE$3])!=null&&t.wheelHandler&&(n.removeEventListener("wheel",n[SCOPE$3].wheelHandler),n[SCOPE$3]=null)},Mousewheel={beforeMount(n,t){mousewheel(n,t.value)},unmounted(n){removeWheelHandler(n)},updated(n,t){t.value!==t.oldValue&&mousewheel(n,t.value)}};let tableIdSeed=1;const _sfc_main$10=defineComponent({name:"ElTable",directives:{Mousewheel},components:{TableHeader,TableBody,TableFooter,ElScrollbar,hColgroup},props:defaultProps$2,emits:["select","select-all","selection-change","cell-mouse-enter","cell-mouse-leave","cell-contextmenu","cell-click","cell-dblclick","row-click","row-contextmenu","row-dblclick","header-click","header-contextmenu","sort-change","filter-change","current-change","header-dragend","expand-change","scroll"],setup(n){const{t}=useLocale(),r=useNamespace("table"),i=getCurrentInstance();provide(TABLE_INJECTION_KEY,i);const g=createStore(i,n);i.store=g;const $=new TableLayout({store:i.store,table:i,fit:n.fit,showHeader:n.showHeader});i.layout=$;const V=computed(()=>(g.states.data.value||[]).length===0),{setCurrentRow:re,getSelectionRows:ie,toggleRowSelection:ae,clearSelection:oe,clearFilter:le,toggleAllSelection:ue,toggleRowExpansion:de,clearSort:he,sort:pe,updateKeyChildren:_e}=useUtils(g),{isHidden:Ce,renderExpanded:xe,setDragVisible:Ie,isGroup:Ne,handleMouseLeave:Oe,handleHeaderFooterMousewheel:$e,tableSize:Ve,emptyBlockStyle:Ue,resizeProxyVisible:Fe,bodyWidth:ze,resizeState:Pt,doLayout:qe,tableBodyStyles:Et,tableLayout:kt,scrollbarViewStyle:At,scrollbarStyle:Dt}=useStyle(n,$,g,i),{scrollBarRef:Lt,scrollTo:jt,setScrollLeft:hn,setScrollTop:vn}=useScrollbar$1(),_n=debounce(qe,50),wn=`${r.namespace.value}-table_${tableIdSeed++}`;i.tableId=wn,i.state={isGroup:Ne,resizeState:Pt,doLayout:qe,debouncedUpdateLayout:_n};const bn=computed(()=>{var Tn;return(Tn=n.sumText)!=null?Tn:t("el.table.sumText")}),Cn=computed(()=>{var Tn;return(Tn=n.emptyText)!=null?Tn:t("el.table.emptyText")}),Sn=computed(()=>convertToRows(g.states.originColumns.value)[0]);return useKeyRender(i),onBeforeUnmount(()=>{_n.cancel()}),{ns:r,layout:$,store:g,columns:Sn,handleHeaderFooterMousewheel:$e,handleMouseLeave:Oe,tableId:wn,tableSize:Ve,isHidden:Ce,isEmpty:V,renderExpanded:xe,resizeProxyVisible:Fe,resizeState:Pt,isGroup:Ne,bodyWidth:ze,tableBodyStyles:Et,emptyBlockStyle:Ue,debouncedUpdateLayout:_n,setCurrentRow:re,getSelectionRows:ie,toggleRowSelection:ae,clearSelection:oe,clearFilter:le,toggleAllSelection:ue,toggleRowExpansion:de,clearSort:he,doLayout:qe,sort:pe,updateKeyChildren:_e,t,setDragVisible:Ie,context:i,computedSumText:bn,computedEmptyText:Cn,tableLayout:kt,scrollbarViewStyle:At,scrollbarStyle:Dt,scrollBarRef:Lt,scrollTo:jt,setScrollLeft:hn,setScrollTop:vn,allowDragLastColumn:n.allowDragLastColumn}}}),_hoisted_1$E=["data-prefix"],_hoisted_2$s={ref:"hiddenColumns",class:"hidden-columns"};function _sfc_render$3(n,t,r,i,g,$){const V=resolveComponent("hColgroup"),re=resolveComponent("table-header"),ie=resolveComponent("table-body"),ae=resolveComponent("table-footer"),oe=resolveComponent("el-scrollbar"),le=resolveDirective("mousewheel");return openBlock(),createElementBlock("div",{ref:"tableWrapper",class:normalizeClass([{[n.ns.m("fit")]:n.fit,[n.ns.m("striped")]:n.stripe,[n.ns.m("border")]:n.border||n.isGroup,[n.ns.m("hidden")]:n.isHidden,[n.ns.m("group")]:n.isGroup,[n.ns.m("fluid-height")]:n.maxHeight,[n.ns.m("scrollable-x")]:n.layout.scrollX.value,[n.ns.m("scrollable-y")]:n.layout.scrollY.value,[n.ns.m("enable-row-hover")]:!n.store.states.isComplex.value,[n.ns.m("enable-row-transition")]:(n.store.states.data.value||[]).length!==0&&(n.store.states.data.value||[]).length<100,"has-footer":n.showSummary},n.ns.m(n.tableSize),n.className,n.ns.b(),n.ns.m(`layout-${n.tableLayout}`)]),style:normalizeStyle$1(n.style),"data-prefix":n.ns.namespace.value,onMouseleave:t[1]||(t[1]=(...ue)=>n.handleMouseLeave&&n.handleMouseLeave(...ue))},[createBaseVNode("div",{ref:"tableInnerWrapper",class:normalizeClass(n.ns.e("inner-wrapper"))},[createBaseVNode("div",_hoisted_2$s,[renderSlot(n.$slots,"default")],512),n.showHeader&&n.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:0,ref:"headerWrapper",class:normalizeClass(n.ns.e("header-wrapper"))},[createBaseVNode("table",{ref:"tableHeader",class:normalizeClass(n.ns.e("header")),style:normalizeStyle$1(n.tableBodyStyles),border:"0",cellpadding:"0",cellspacing:"0"},[createVNode$1(V,{columns:n.store.states.columns.value,"table-layout":n.tableLayout},null,8,["columns","table-layout"]),createVNode$1(re,{ref:"tableHeaderRef",border:n.border,"default-sort":n.defaultSort,store:n.store,"append-filter-panel-to":n.appendFilterPanelTo,"allow-drag-last-column":n.allowDragLastColumn,onSetDragVisible:n.setDragVisible},null,8,["border","default-sort","store","append-filter-panel-to","allow-drag-last-column","onSetDragVisible"])],6)],2)),[[le,n.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),createBaseVNode("div",{ref:"bodyWrapper",class:normalizeClass(n.ns.e("body-wrapper"))},[createVNode$1(oe,{ref:"scrollBarRef","view-style":n.scrollbarViewStyle,"wrap-style":n.scrollbarStyle,always:n.scrollbarAlwaysOn,tabindex:n.scrollbarTabindex,native:n.nativeScrollbar,onScroll:t[0]||(t[0]=ue=>n.$emit("scroll",ue))},{default:withCtx(()=>[createBaseVNode("table",{ref:"tableBody",class:normalizeClass(n.ns.e("body")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1({width:n.bodyWidth,tableLayout:n.tableLayout})},[createVNode$1(V,{columns:n.store.states.columns.value,"table-layout":n.tableLayout},null,8,["columns","table-layout"]),n.showHeader&&n.tableLayout==="auto"?(openBlock(),createBlock(re,{key:0,ref:"tableHeaderRef",class:normalizeClass(n.ns.e("body-header")),border:n.border,"default-sort":n.defaultSort,store:n.store,"append-filter-panel-to":n.appendFilterPanelTo,onSetDragVisible:n.setDragVisible},null,8,["class","border","default-sort","store","append-filter-panel-to","onSetDragVisible"])):createCommentVNode("v-if",!0),createVNode$1(ie,{context:n.context,highlight:n.highlightCurrentRow,"row-class-name":n.rowClassName,"tooltip-effect":n.tooltipEffect,"tooltip-options":n.tooltipOptions,"row-style":n.rowStyle,store:n.store,stripe:n.stripe},null,8,["context","highlight","row-class-name","tooltip-effect","tooltip-options","row-style","store","stripe"]),n.showSummary&&n.tableLayout==="auto"?(openBlock(),createBlock(ae,{key:1,class:normalizeClass(n.ns.e("body-footer")),border:n.border,"default-sort":n.defaultSort,store:n.store,"sum-text":n.computedSumText,"summary-method":n.summaryMethod},null,8,["class","border","default-sort","store","sum-text","summary-method"])):createCommentVNode("v-if",!0)],6),n.isEmpty?(openBlock(),createElementBlock("div",{key:0,ref:"emptyBlock",style:normalizeStyle$1(n.emptyBlockStyle),class:normalizeClass(n.ns.e("empty-block"))},[createBaseVNode("span",{class:normalizeClass(n.ns.e("empty-text"))},[renderSlot(n.$slots,"empty",{},()=>[createTextVNode(toDisplayString(n.computedEmptyText),1)])],2)],6)):createCommentVNode("v-if",!0),n.$slots.append?(openBlock(),createElementBlock("div",{key:1,ref:"appendWrapper",class:normalizeClass(n.ns.e("append-wrapper"))},[renderSlot(n.$slots,"append")],2)):createCommentVNode("v-if",!0)]),_:3},8,["view-style","wrap-style","always","tabindex","native"])],2),n.showSummary&&n.tableLayout==="fixed"?withDirectives((openBlock(),createElementBlock("div",{key:1,ref:"footerWrapper",class:normalizeClass(n.ns.e("footer-wrapper"))},[createBaseVNode("table",{class:normalizeClass(n.ns.e("footer")),cellspacing:"0",cellpadding:"0",border:"0",style:normalizeStyle$1(n.tableBodyStyles)},[createVNode$1(V,{columns:n.store.states.columns.value,"table-layout":n.tableLayout},null,8,["columns","table-layout"]),createVNode$1(ae,{border:n.border,"default-sort":n.defaultSort,store:n.store,"sum-text":n.computedSumText,"summary-method":n.summaryMethod},null,8,["border","default-sort","store","sum-text","summary-method"])],6)],2)),[[vShow,!n.isEmpty],[le,n.handleHeaderFooterMousewheel]]):createCommentVNode("v-if",!0),n.border||n.isGroup?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(n.ns.e("border-left-patch"))},null,2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{ref:"resizeProxy",class:normalizeClass(n.ns.e("column-resize-proxy"))},null,2),[[vShow,n.resizeProxyVisible]])],46,_hoisted_1$E)}var Table$1=_export_sfc(_sfc_main$10,[["render",_sfc_render$3],["__file","/home/runner/work/element-plus/element-plus/packages/components/table/src/table.vue"]]);const defaultClassNames={selection:"table-column--selection",expand:"table__expand-column"},cellStarts={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:""},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},getDefaultClassName=n=>defaultClassNames[n]||"",cellForced={selection:{renderHeader({store:n}){var t;function r(){return n.states.data.value&&n.states.data.value.length===0}return h$1(ElCheckbox,{disabled:r(),size:n.states.tableSize.value,indeterminate:n.states.selection.value.length>0&&!n.states.isAllSelected.value,"onUpdate:modelValue":(t=n.toggleAllSelection)!=null?t:void 0,modelValue:n.states.isAllSelected.value,ariaLabel:n.t("el.table.selectAllLabel")})},renderCell({row:n,column:t,store:r,$index:i}){return h$1(ElCheckbox,{disabled:t.selectable?!t.selectable.call(null,n,i):!1,size:r.states.tableSize.value,onChange:()=>{r.commit("rowSelectedChanged",n)},onClick:g=>g.stopPropagation(),modelValue:r.isSelected(n),ariaLabel:r.t("el.table.selectRowLabel")})},sortable:!1,resizable:!1},index:{renderHeader({column:n}){return n.label||"#"},renderCell({column:n,$index:t}){let r=t+1;const i=n.index;return isNumber$2(i)?r=t+i:isFunction$4(i)&&(r=i(t)),h$1("div",{},[r])},sortable:!1},expand:{renderHeader({column:n}){return n.label||""},renderCell({column:n,row:t,store:r,expanded:i}){const{ns:g}=r,$=[g.e("expand-icon")];!n.renderExpand&&i&&$.push(g.em("expand-icon","expanded"));const V=function(re){re.stopPropagation(),r.toggleRowExpansion(t)};return h$1("button",{type:"button","aria-label":r.t(i?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":i,class:$,onClick:V},{default:()=>n.renderExpand?[n.renderExpand({expanded:i})]:[h$1(ElIcon,null,{default:()=>[h$1(arrow_right_default)]})]})},sortable:!1,resizable:!1}};function defaultRenderCell({row:n,column:t,$index:r}){var i;const g=t.property,$=g&&getProp(n,g).value;return t&&t.formatter?t.formatter(n,t,$,r):((i=$==null?void 0:$.toString)==null?void 0:i.call($))||""}function treeCellPrefix({row:n,treeNode:t,store:r},i=!1){const{ns:g}=r;if(!t)return i?[h$1("span",{class:g.e("placeholder")})]:null;const $=[],V=function(re){re.stopPropagation(),!t.loading&&r.loadOrToggle(n)};if(t.indent&&$.push(h$1("span",{class:g.e("indent"),style:{"padding-left":`${t.indent}px`}})),isBoolean$1(t.expanded)&&!t.noLazyChildren){const re=[g.e("expand-icon"),t.expanded?g.em("expand-icon","expanded"):""];let ie=arrow_right_default;t.loading&&(ie=loading_default),$.push(h$1("button",{type:"button","aria-label":r.t(t.expanded?"el.table.collapseRowLabel":"el.table.expandRowLabel"),"aria-expanded":t.expanded,class:re,onClick:V},{default:()=>[h$1(ElIcon,{class:g.is("loading",t.loading)},{default:()=>[h$1(ie)]})]}))}else $.push(h$1("span",{class:g.e("placeholder")}));return $}function getAllAliases(n,t){return n.reduce((r,i)=>(r[i]=i,r),t)}function useWatcher(n,t){const r=getCurrentInstance();return{registerComplexWatchers:()=>{const $=["fixed"],V={realWidth:"width",realMinWidth:"minWidth"},re=getAllAliases($,V);Object.keys(re).forEach(ie=>{const ae=V[ie];hasOwn$1(t,ae)&&watch(()=>t[ae],oe=>{let le=oe;ae==="width"&&ie==="realWidth"&&(le=parseWidth(oe)),ae==="minWidth"&&ie==="realMinWidth"&&(le=parseMinWidth(oe)),r.columnConfig.value[ae]=le,r.columnConfig.value[ie]=le;const ue=ae==="fixed";n.value.store.scheduleLayout(ue)})})},registerNormalWatchers:()=>{const $=["label","filters","filterMultiple","filteredValue","sortable","index","formatter","className","labelClassName","filterClassName","showOverflowTooltip","tooltipFormatter","resizable"],V=["showOverflowTooltip"],re={property:"prop",align:"realAlign",headerAlign:"realHeaderAlign"},ie=getAllAliases($,re);Object.keys(ie).forEach(ae=>{const oe=re[ae];hasOwn$1(t,oe)&&watch(()=>t[oe],le=>{r.columnConfig.value[ae]=le,(ae==="filters"||ae==="filterMethod")&&(r.columnConfig.value.filterable=!!(r.columnConfig.value.filters||r.columnConfig.value.filterMethod))})}),V.forEach(ae=>{hasOwn$1(n.value.props,ae)&&watch(()=>n.value.props[ae],oe=>{r.columnConfig.value.type!=="selection"&&isUndefined$1(t[ae])&&(r.columnConfig.value[ae]=oe)})})}}}function useRender(n,t,r){const i=getCurrentInstance(),g=ref(""),$=ref(!1),V=ref(),re=ref(),ie=useNamespace("table");watchEffect(()=>{V.value=n.align?`is-${n.align}`:null,V.value}),watchEffect(()=>{re.value=n.headerAlign?`is-${n.headerAlign}`:V.value,re.value});const ae=computed(()=>{let Ne=i.vnode.vParent||i.parent;for(;Ne&&!Ne.tableId&&!Ne.columnId;)Ne=Ne.vnode.vParent||Ne.parent;return Ne}),oe=computed(()=>{const{store:Ne}=i.parent;if(!Ne)return!1;const{treeData:Oe}=Ne.states,$e=Oe.value;return $e&&Object.keys($e).length>0}),le=ref(parseWidth(n.width)),ue=ref(parseMinWidth(n.minWidth)),de=Ne=>(le.value&&(Ne.width=le.value),ue.value&&(Ne.minWidth=ue.value),!le.value&&ue.value&&(Ne.width=void 0),Ne.minWidth||(Ne.minWidth=80),Ne.realWidth=Number(isUndefined$1(Ne.width)?Ne.minWidth:Ne.width),Ne),he=Ne=>{const Oe=Ne.type,$e=cellForced[Oe]||{};Object.keys($e).forEach(Ue=>{const Fe=$e[Ue];Ue!=="className"&&!isUndefined$1(Fe)&&(Ne[Ue]=Fe)});const Ve=getDefaultClassName(Oe);if(Ve){const Ue=`${unref(ie.namespace)}-${Ve}`;Ne.className=Ne.className?`${Ne.className} ${Ue}`:Ue}return Ne},pe=Ne=>{isArray$5(Ne)?Ne.forEach($e=>Oe($e)):Oe(Ne);function Oe($e){var Ve;((Ve=$e==null?void 0:$e.type)==null?void 0:Ve.name)==="ElTableColumn"&&($e.vParent=i)}};return{columnId:g,realAlign:V,isSubColumn:$,realHeaderAlign:re,columnOrTableParent:ae,setColumnWidth:de,setColumnForcedProps:he,setColumnRenders:Ne=>{n.renderHeader||Ne.type!=="selection"&&(Ne.renderHeader=$e=>{if(i.columnConfig.value.label,t.header){const Ve=t.header($e);if(ensureValidVNode(Ve))return h$1(Fragment,Ve)}return createTextVNode(Ne.label)}),t["filter-icon"]&&(Ne.renderFilterIcon=$e=>renderSlot(t,"filter-icon",$e)),t.expand&&(Ne.renderExpand=$e=>renderSlot(t,"expand",$e));let Oe=Ne.renderCell;return Ne.type==="expand"?(Ne.renderCell=$e=>h$1("div",{class:"cell"},[Oe($e)]),r.value.renderExpanded=$e=>t.default?t.default($e):t.default):(Oe=Oe||defaultRenderCell,Ne.renderCell=$e=>{let Ve=null;if(t.default){const Et=t.default($e);Ve=Et.some(kt=>kt.type!==Comment)?Et:Oe($e)}else Ve=Oe($e);const{columns:Ue}=r.value.store.states,Fe=Ue.value.findIndex(Et=>Et.type==="default"),ze=oe.value&&$e.cellIndex===Fe,Pt=treeCellPrefix($e,ze),qe={class:"cell",style:{}};return Ne.showOverflowTooltip&&(qe.class=`${qe.class} ${unref(ie.namespace)}-tooltip`,qe.style={width:`${($e.column.realWidth||Number($e.column.width))-1}px`}),pe(Ve),h$1("div",qe,[Pt,Ve])}),Ne},getPropsData:(...Ne)=>Ne.reduce((Oe,$e)=>(isArray$5($e)&&$e.forEach(Ve=>{Oe[Ve]=n[Ve]}),Oe),{}),getColumnElIndex:(Ne,Oe)=>Array.prototype.indexOf.call(Ne,Oe),updateColumnOrder:()=>{r.value.store.commit("updateColumnOrder",i.columnConfig.value)}}}var defaultProps$1={type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{type:[String,Number],default:""},minWidth:{type:[String,Number],default:""},renderHeader:Function,sortable:{type:[Boolean,String],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},columnKey:String,align:String,headerAlign:String,showOverflowTooltip:{type:[Boolean,Object],default:void 0},tooltipFormatter:Function,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},filterClassName:String,index:[Number,Function],sortOrders:{type:Array,default:()=>["ascending","descending",null],validator:n=>n.every(t=>["ascending","descending",null].includes(t))}};let columnIdSeed=1;var ElTableColumn$1=defineComponent({name:"ElTableColumn",components:{ElCheckbox},props:defaultProps$1,setup(n,{slots:t}){const r=getCurrentInstance(),i=ref({}),g=computed(()=>{let Ie=r.parent;for(;Ie&&!Ie.tableId;)Ie=Ie.parent;return Ie}),{registerNormalWatchers:$,registerComplexWatchers:V}=useWatcher(g,n),{columnId:re,isSubColumn:ie,realHeaderAlign:ae,columnOrTableParent:oe,setColumnWidth:le,setColumnForcedProps:ue,setColumnRenders:de,getPropsData:he,getColumnElIndex:pe,realAlign:_e,updateColumnOrder:Ce}=useRender(n,t,g),xe=oe.value;re.value=`${"tableId"in xe&&xe.tableId||"columnId"in xe&&xe.columnId}_column_${columnIdSeed++}`,onBeforeMount(()=>{ie.value=g.value!==xe;const Ie=n.type||"default",Ne=n.sortable===""?!0:n.sortable,Oe=Ie==="selection"?!1:isUndefined$1(n.showOverflowTooltip)?xe.props.showOverflowTooltip:n.showOverflowTooltip,$e=isUndefined$1(n.tooltipFormatter)?xe.props.tooltipFormatter:n.tooltipFormatter,Ve={...cellStarts[Ie],id:re.value,type:Ie,property:n.prop||n.property,align:_e,headerAlign:ae,showOverflowTooltip:Oe,tooltipFormatter:$e,filterable:n.filters||n.filterMethod,filteredValue:[],filterPlacement:"",filterClassName:"",isColumnGroup:!1,isSubColumn:!1,filterOpened:!1,sortable:Ne,index:n.index,rawColumnKey:r.vnode.key};let qe=he(["columnKey","label","className","labelClassName","type","renderHeader","formatter","fixed","resizable"],["sortMethod","sortBy","sortOrders"],["selectable","reserveSelection"],["filterMethod","filters","filterMultiple","filterOpened","filteredValue","filterPlacement","filterClassName"]);qe=mergeOptions$1(Ve,qe),qe=compose(de,le,ue)(qe),i.value=qe,$(),V()}),onMounted(()=>{var Ie,Ne;const Oe=oe.value,$e=ie.value?(Ie=Oe.vnode.el)==null?void 0:Ie.children:(Ne=Oe.refs.hiddenColumns)==null?void 0:Ne.children,Ve=()=>pe($e||[],r.vnode.el);i.value.getColumnIndex=Ve,Ve()>-1&&g.value.store.commit("insertColumn",i.value,ie.value?"columnConfig"in Oe&&Oe.columnConfig.value:null,Ce)}),onBeforeUnmount(()=>{const Ie=i.value.getColumnIndex;(Ie?Ie():-1)>-1&&g.value.store.commit("removeColumn",i.value,ie.value?"columnConfig"in xe&&xe.columnConfig.value:null,Ce)}),r.columnId=re.value,r.columnConfig=i},render(){var n,t,r;try{const i=(t=(n=this.$slots).default)==null?void 0:t.call(n,{row:{},column:{},$index:-1}),g=[];if(isArray$5(i))for(const V of i)((r=V.type)==null?void 0:r.name)==="ElTableColumn"||V.shapeFlag&2?g.push(V):V.type===Fragment&&isArray$5(V.children)&&V.children.forEach(re=>{(re==null?void 0:re.patchFlag)!==1024&&!isString$2(re==null?void 0:re.children)&&g.push(re)});return h$1("div",g)}catch{return h$1("div",[])}}});const ElTable=withInstall(Table$1,{TableColumn:ElTableColumn$1}),ElTableColumn=withNoopInstall(ElTableColumn$1);var SortOrder=(n=>(n.ASC="asc",n.DESC="desc",n))(SortOrder||{}),Alignment=(n=>(n.LEFT="left",n.CENTER="center",n.RIGHT="right",n))(Alignment||{}),FixedDir=(n=>(n.LEFT="left",n.RIGHT="right",n))(FixedDir||{});const oppositeOrderMap={asc:"desc",desc:"asc"},placeholderSign=Symbol("placeholder"),calcColumnStyle=(n,t,r)=>{var i,g,$;const V={flexGrow:0,flexShrink:0,...r?{}:{flexGrow:(i=n.flexGrow)!=null?i:0,flexShrink:(g=n.flexShrink)!=null?g:1}},re={...($=n.style)!=null?$:{},...V,flexBasis:"auto",width:n.width};return t||(n.maxWidth&&(re.maxWidth=n.maxWidth),n.minWidth&&(re.minWidth=n.minWidth)),re};function useColumns(n,t,r){const i=computed(()=>unref(t).map((_e,Ce)=>{var xe,Ie;return{..._e,key:(Ie=(xe=_e.key)!=null?xe:_e.dataKey)!=null?Ie:Ce}})),g=computed(()=>unref(i).filter(_e=>!_e.hidden)),$=computed(()=>unref(g).filter(_e=>_e.fixed==="left"||_e.fixed===!0)),V=computed(()=>unref(g).filter(_e=>_e.fixed==="right")),re=computed(()=>unref(g).filter(_e=>!_e.fixed)),ie=computed(()=>{const _e=[];return unref($).forEach(Ce=>{_e.push({...Ce,placeholderSign})}),unref(re).forEach(Ce=>{_e.push(Ce)}),unref(V).forEach(Ce=>{_e.push({...Ce,placeholderSign})}),_e}),ae=computed(()=>unref($).length||unref(V).length),oe=computed(()=>unref(i).reduce((_e,Ce)=>(_e[Ce.key]=calcColumnStyle(Ce,unref(r),n.fixed),_e),{})),le=computed(()=>unref(g).reduce((_e,Ce)=>_e+Ce.width,0)),ue=_e=>unref(i).find(Ce=>Ce.key===_e),de=_e=>unref(oe)[_e],he=(_e,Ce)=>{_e.width=Ce};function pe(_e){var Ce;const{key:xe}=_e.currentTarget.dataset;if(!xe)return;const{sortState:Ie,sortBy:Ne}=n;let Oe=SortOrder.ASC;isObject$6(Ie)?Oe=oppositeOrderMap[Ie[xe]]:Oe=oppositeOrderMap[Ne.order],(Ce=n.onColumnSort)==null||Ce.call(n,{column:ue(xe),key:xe,order:Oe})}return{columns:i,columnsStyles:oe,columnsTotalWidth:le,fixedColumnsOnLeft:$,fixedColumnsOnRight:V,hasFixedColumns:ae,mainColumns:ie,normalColumns:re,visibleColumns:g,getColumn:ue,getColumnStyle:de,updateColumnWidth:he,onColumnSorted:pe}}const useScrollbar=(n,{mainTableRef:t,leftTableRef:r,rightTableRef:i,onMaybeEndReached:g})=>{const $=ref({scrollLeft:0,scrollTop:0});function V(de){var he,pe,_e;const{scrollTop:Ce}=de;(he=t.value)==null||he.scrollTo(de),(pe=r.value)==null||pe.scrollToTop(Ce),(_e=i.value)==null||_e.scrollToTop(Ce)}function re(de){$.value=de,V(de)}function ie(de){$.value.scrollTop=de,V(unref($))}function ae(de){var he,pe;$.value.scrollLeft=de,(pe=(he=t.value)==null?void 0:he.scrollTo)==null||pe.call(he,unref($))}function oe(de){var he;re(de),(he=n.onScroll)==null||he.call(n,de)}function le({scrollTop:de}){const{scrollTop:he}=unref($);de!==he&&ie(de)}function ue(de,he="auto"){var pe;(pe=t.value)==null||pe.scrollToRow(de,he)}return watch(()=>unref($).scrollTop,(de,he)=>{de>he&&g()}),{scrollPos:$,scrollTo:re,scrollToLeft:ae,scrollToTop:ie,scrollToRow:ue,onScroll:oe,onVerticalScroll:le}},useRow=(n,{mainTableRef:t,leftTableRef:r,rightTableRef:i,tableInstance:g,ns:$,isScrolling:V})=>{const re=getCurrentInstance(),{emit:ie}=re,ae=shallowRef(!1),oe=ref(n.defaultExpandedRowKeys||[]),le=ref(-1),ue=shallowRef(null),de=ref({}),he=ref({}),pe=shallowRef({}),_e=shallowRef({}),Ce=shallowRef({}),xe=computed(()=>isNumber$2(n.estimatedRowHeight));function Ie(ze){var Pt;(Pt=n.onRowsRendered)==null||Pt.call(n,ze),ze.rowCacheEnd>unref(le)&&(le.value=ze.rowCacheEnd)}function Ne({hovered:ze,rowKey:Pt}){if(V.value)return;g.vnode.el.querySelectorAll(`[rowkey="${String(Pt)}"]`).forEach(kt=>{ze?kt.classList.add($.is("hovered")):kt.classList.remove($.is("hovered"))})}function Oe({expanded:ze,rowData:Pt,rowIndex:qe,rowKey:Et}){var kt,At;const Dt=[...unref(oe)],Lt=Dt.indexOf(Et);ze?Lt===-1&&Dt.push(Et):Lt>-1&&Dt.splice(Lt,1),oe.value=Dt,ie("update:expandedRowKeys",Dt),(kt=n.onRowExpand)==null||kt.call(n,{expanded:ze,rowData:Pt,rowIndex:qe,rowKey:Et}),(At=n.onExpandedRowsChange)==null||At.call(n,Dt),g.vnode.el.querySelector(`.${$.is("hovered")}[rowkey="${String(Et)}"]`)&&nextTick(()=>Ne({hovered:!0,rowKey:Et}))}const $e=debounce(()=>{var ze,Pt,qe,Et;ae.value=!0,de.value={...unref(de),...unref(he)},Ve(unref(ue),!1),he.value={},ue.value=null,(ze=t.value)==null||ze.forceUpdate(),(Pt=r.value)==null||Pt.forceUpdate(),(qe=i.value)==null||qe.forceUpdate(),(Et=re.proxy)==null||Et.$forceUpdate(),ae.value=!1},0);function Ve(ze,Pt=!1){unref(xe)&&[t,r,i].forEach(qe=>{const Et=unref(qe);Et&&Et.resetAfterRowIndex(ze,Pt)})}function Ue(ze,Pt,qe){const Et=unref(ue);(Et===null||Et>qe)&&(ue.value=qe),he.value[ze]=Pt}function Fe({rowKey:ze,height:Pt,rowIndex:qe},Et){Et?Et===FixedDir.RIGHT?Ce.value[ze]=Pt:pe.value[ze]=Pt:_e.value[ze]=Pt;const kt=Math.max(...[pe,Ce,_e].map(At=>At.value[ze]||0));unref(de)[ze]!==kt&&(Ue(ze,kt,qe),$e())}return{expandedRowKeys:oe,lastRenderedRowIndex:le,isDynamic:xe,isResetting:ae,rowHeights:de,resetAfterIndex:Ve,onRowExpanded:Oe,onRowHovered:Ne,onRowsRendered:Ie,onRowHeightChange:Fe}},useData=(n,{expandedRowKeys:t,lastRenderedRowIndex:r,resetAfterIndex:i})=>{const g=ref({}),$=computed(()=>{const re={},{data:ie,rowKey:ae}=n,oe=unref(t);if(!oe||!oe.length)return ie;const le=[],ue=new Set;oe.forEach(he=>ue.add(he));let de=ie.slice();for(de.forEach(he=>re[he[ae]]=0);de.length>0;){const he=de.shift();le.push(he),ue.has(he[ae])&&isArray$5(he.children)&&he.children.length>0&&(de=[...he.children,...de],he.children.forEach(pe=>re[pe[ae]]=re[he[ae]]+1))}return g.value=re,le}),V=computed(()=>{const{data:re,expandColumnKey:ie}=n;return ie?unref($):re});return watch(V,(re,ie)=>{re!==ie&&(r.value=-1,i(0,!0))}),{data:V,depthMap:g}},sumReducer=(n,t)=>n+t,sum=n=>isArray$5(n)?n.reduce(sumReducer,0):n,tryCall=(n,t,r={})=>isFunction$4(n)?n(t):n??r,enforceUnit=n=>(["width","maxWidth","minWidth","height"].forEach(t=>{n[t]=addUnit(n[t])}),n),componentToSlot=n=>isVNode(n)?t=>h$1(n,t):n,useStyles=(n,{columnsTotalWidth:t,rowsHeight:r,fixedColumnsOnLeft:i,fixedColumnsOnRight:g})=>{const $=computed(()=>{const{fixed:Ce,width:xe,vScrollbarSize:Ie}=n,Ne=xe-Ie;return Ce?Math.max(Math.round(unref(t)),Ne):Ne}),V=computed(()=>{const{height:Ce=0,maxHeight:xe=0,footerHeight:Ie,hScrollbarSize:Ne}=n;if(xe>0){const Oe=unref(ue),$e=unref(r),Ue=unref(le)+Oe+$e+Ne;return Math.min(Ue,xe-Ie)}return Ce-Ie}),re=computed(()=>{const{maxHeight:Ce}=n,xe=unref(V);if(isNumber$2(Ce)&&Ce>0)return xe;const Ie=unref(r)+unref(le)+unref(ue);return Math.min(xe,Ie)}),ie=Ce=>Ce.width,ae=computed(()=>sum(unref(i).map(ie))),oe=computed(()=>sum(unref(g).map(ie))),le=computed(()=>sum(n.headerHeight)),ue=computed(()=>{var Ce;return(((Ce=n.fixedData)==null?void 0:Ce.length)||0)*n.rowHeight}),de=computed(()=>unref(V)-unref(le)-unref(ue)),he=computed(()=>{const{style:Ce={},height:xe,width:Ie}=n;return enforceUnit({...Ce,height:xe,width:Ie})}),pe=computed(()=>enforceUnit({height:n.footerHeight})),_e=computed(()=>({top:addUnit(unref(le)),bottom:addUnit(n.footerHeight),width:addUnit(n.width)}));return{bodyWidth:$,fixedTableHeight:re,mainTableHeight:V,leftTableWidth:ae,rightTableWidth:oe,windowHeight:de,footerHeight:pe,emptyStyle:_e,rootStyle:he,headerHeight:le}};function useTable(n){const t=ref(),r=ref(),i=ref(),{columns:g,columnsStyles:$,columnsTotalWidth:V,fixedColumnsOnLeft:re,fixedColumnsOnRight:ie,hasFixedColumns:ae,mainColumns:oe,onColumnSorted:le}=useColumns(n,toRef$1(n,"columns"),toRef$1(n,"fixed")),{scrollTo:ue,scrollToLeft:de,scrollToTop:he,scrollToRow:pe,onScroll:_e,onVerticalScroll:Ce,scrollPos:xe}=useScrollbar(n,{mainTableRef:t,leftTableRef:r,rightTableRef:i,onMaybeEndReached:Nn}),Ie=useNamespace("table-v2"),Ne=getCurrentInstance(),Oe=shallowRef(!1),{expandedRowKeys:$e,lastRenderedRowIndex:Ve,isDynamic:Ue,isResetting:Fe,rowHeights:ze,resetAfterIndex:Pt,onRowExpanded:qe,onRowHeightChange:Et,onRowHovered:kt,onRowsRendered:At}=useRow(n,{mainTableRef:t,leftTableRef:r,rightTableRef:i,tableInstance:Ne,ns:Ie,isScrolling:Oe}),{data:Dt,depthMap:Lt}=useData(n,{expandedRowKeys:$e,lastRenderedRowIndex:Ve,resetAfterIndex:Pt}),jt=computed(()=>{const{estimatedRowHeight:Pn,rowHeight:On}=n,Hn=unref(Dt);return isNumber$2(Pn)?Object.values(unref(ze)).reduce((Xn,In)=>Xn+In,0):Hn.length*On}),{bodyWidth:hn,fixedTableHeight:vn,mainTableHeight:_n,leftTableWidth:wn,rightTableWidth:bn,windowHeight:Cn,footerHeight:Sn,emptyStyle:Tn,rootStyle:En,headerHeight:kn}=useStyles(n,{columnsTotalWidth:V,fixedColumnsOnLeft:re,fixedColumnsOnRight:ie,rowsHeight:jt}),$n=ref(),An=computed(()=>{const Pn=unref(Dt).length===0;return isArray$5(n.fixedData)?n.fixedData.length===0&&Pn:Pn});function xn(Pn){const{estimatedRowHeight:On,rowHeight:Hn,rowKey:Xn}=n;return On?unref(ze)[unref(Dt)[Pn][Xn]]||On:Hn}const Ln=ref(!1);function Nn(){const{onEndReached:Pn}=n;if(!Pn)return;const{scrollTop:On}=unref(xe),Hn=unref(jt),Xn=unref(Cn),In=Hn-(On+Xn)+n.hScrollbarSize;!Ln.value&&unref(Ve)>=0&&Hn<=On+unref(_n)-unref(kn)?(Ln.value=!0,Pn(In)):Ln.value=!1}return watch(()=>unref(jt),()=>Ln.value=!1),watch(()=>n.expandedRowKeys,Pn=>$e.value=Pn,{deep:!0}),{columns:g,containerRef:$n,mainTableRef:t,leftTableRef:r,rightTableRef:i,isDynamic:Ue,isResetting:Fe,isScrolling:Oe,hasFixedColumns:ae,columnsStyles:$,columnsTotalWidth:V,data:Dt,expandedRowKeys:$e,depthMap:Lt,fixedColumnsOnLeft:re,fixedColumnsOnRight:ie,mainColumns:oe,bodyWidth:hn,emptyStyle:Tn,rootStyle:En,footerHeight:Sn,mainTableHeight:_n,fixedTableHeight:vn,leftTableWidth:wn,rightTableWidth:bn,showEmpty:An,getRowHeight:xn,onColumnSorted:le,onRowHovered:kt,onRowExpanded:qe,onRowsRendered:At,onRowHeightChange:Et,scrollTo:ue,scrollToLeft:de,scrollToTop:he,scrollToRow:pe,onScroll:_e,onVerticalScroll:Ce}}const TableV2InjectionKey=Symbol("tableV2"),TABLE_V2_GRID_INJECTION_KEY="tableV2GridScrollLeft",classType=String,columns={type:definePropType(Array),required:!0},fixedDataType={type:definePropType(Array)},dataType={...fixedDataType,required:!0},expandColumnKey=String,expandKeys={type:definePropType(Array),default:()=>mutable([])},requiredNumber={type:Number,required:!0},rowKey={type:definePropType([String,Number,Symbol]),default:"id"},styleType={type:definePropType(Object)},tableV2RowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},depth:Number,expandColumnKey,estimatedRowHeight:{...virtualizedGridProps.estimatedRowHeight,default:void 0},isScrolling:Boolean,onRowExpand:{type:definePropType(Function)},onRowHover:{type:definePropType(Function)},onRowHeightChange:{type:definePropType(Function)},rowData:{type:definePropType(Object),required:!0},rowEventHandlers:{type:definePropType(Object)},rowIndex:{type:Number,required:!0},rowKey,style:{type:definePropType(Object)}}),requiredNumberType={type:Number,required:!0},tableV2HeaderProps=buildProps({class:String,columns,fixedHeaderData:{type:definePropType(Array)},headerData:{type:definePropType(Array),required:!0},headerHeight:{type:definePropType([Number,Array]),default:50},rowWidth:requiredNumberType,rowHeight:{type:Number,default:50},height:requiredNumberType,width:requiredNumberType}),tableV2GridProps=buildProps({columns,data:dataType,fixedData:fixedDataType,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,width:requiredNumber,height:requiredNumber,headerWidth:requiredNumber,headerHeight:tableV2HeaderProps.headerHeight,bodyWidth:requiredNumber,rowHeight:requiredNumber,cache:virtualizedListProps.cache,useIsScrolling:Boolean,scrollbarAlwaysOn:virtualizedGridProps.scrollbarAlwaysOn,scrollbarStartGap:virtualizedGridProps.scrollbarStartGap,scrollbarEndGap:virtualizedGridProps.scrollbarEndGap,class:classType,style:styleType,containerStyle:styleType,getRowHeight:{type:definePropType(Function),required:!0},rowKey:tableV2RowProps.rowKey,onRowsRendered:{type:definePropType(Function)},onScroll:{type:definePropType(Function)}}),tableV2Props=buildProps({cache:tableV2GridProps.cache,estimatedRowHeight:tableV2RowProps.estimatedRowHeight,rowKey,headerClass:{type:definePropType([String,Function])},headerProps:{type:definePropType([Object,Function])},headerCellProps:{type:definePropType([Object,Function])},headerHeight:tableV2HeaderProps.headerHeight,footerHeight:{type:Number,default:0},rowClass:{type:definePropType([String,Function])},rowProps:{type:definePropType([Object,Function])},rowHeight:{type:Number,default:50},cellProps:{type:definePropType([Object,Function])},columns,data:dataType,dataGetter:{type:definePropType(Function)},fixedData:fixedDataType,expandColumnKey:tableV2RowProps.expandColumnKey,expandedRowKeys:expandKeys,defaultExpandedRowKeys:expandKeys,class:classType,fixed:Boolean,style:{type:definePropType(Object)},width:requiredNumber,height:requiredNumber,maxHeight:Number,useIsScrolling:Boolean,indentSize:{type:Number,default:12},iconSize:{type:Number,default:12},hScrollbarSize:virtualizedGridProps.hScrollbarSize,vScrollbarSize:virtualizedGridProps.vScrollbarSize,scrollbarAlwaysOn:virtualizedScrollbarProps.alwaysOn,sortBy:{type:definePropType(Object),default:()=>({})},sortState:{type:definePropType(Object),default:void 0},onColumnSort:{type:definePropType(Function)},onExpandedRowsChange:{type:definePropType(Function)},onEndReached:{type:definePropType(Function)},onRowExpand:tableV2RowProps.onRowExpand,onScroll:tableV2GridProps.onScroll,onRowsRendered:tableV2GridProps.onRowsRendered,rowEventHandlers:tableV2RowProps.rowEventHandlers}),COMPONENT_NAME$8="ElTableV2Header",TableV2Header=defineComponent({name:COMPONENT_NAME$8,props:tableV2HeaderProps,setup(n,{slots:t,expose:r}){const i=useNamespace("table-v2"),g=inject(TABLE_V2_GRID_INJECTION_KEY),$=ref(),V=computed(()=>enforceUnit({width:n.width,height:n.height})),re=computed(()=>enforceUnit({width:n.rowWidth,height:n.height})),ie=computed(()=>castArray$1(unref(n.headerHeight))),ae=ue=>{const de=unref($);nextTick(()=>{de!=null&&de.scroll&&de.scroll({left:ue})})},oe=()=>{const ue=i.e("fixed-header-row"),{columns:de,fixedHeaderData:he,rowHeight:pe}=n;return he==null?void 0:he.map((_e,Ce)=>{var xe;const Ie=enforceUnit({height:pe,width:"100%"});return(xe=t.fixed)==null?void 0:xe.call(t,{class:ue,columns:de,rowData:_e,rowIndex:-(Ce+1),style:Ie})})},le=()=>{const ue=i.e("dynamic-header-row"),{columns:de}=n;return unref(ie).map((he,pe)=>{var _e;const Ce=enforceUnit({width:"100%",height:he});return(_e=t.dynamic)==null?void 0:_e.call(t,{class:ue,columns:de,headerIndex:pe,style:Ce})})};return onUpdated(()=>{g!=null&&g.value&&ae(g.value)}),r({scrollToLeft:ae}),()=>{if(!(n.height<=0))return createVNode$1("div",{ref:$,class:n.class,style:unref(V),role:"rowgroup"},[createVNode$1("div",{style:unref(re),class:i.e("header")},[le(),oe()])])}}});var Header$1=TableV2Header;const useGridWheel=({atXEndEdge:n,atXStartEdge:t,atYEndEdge:r,atYStartEdge:i},g)=>{let $=null,V=0,re=0;const ie=(oe,le)=>{const ue=oe<0&&t.value||oe>0&&n.value,de=le<0&&i.value||le>0&&r.value;return ue||de};return{hasReachedEdge:ie,onWheel:oe=>{cAF($);let le=oe.deltaX,ue=oe.deltaY;Math.abs(le)>Math.abs(ue)?ue=0:le=0,oe.shiftKey&&ue!==0&&(le=ue,ue=0),!ie(le,ue)&&(V+=le,re+=ue,oe.preventDefault(),$=rAF(()=>{g(V,re),V=0,re=0}))}}},useGridTouch=(n,t,r,i,g,$,V)=>{const re=ref(0),ie=ref(0);let ae,oe=0,le=0;const ue=he=>{cAF(ae),re.value=he.touches[0].clientX,ie.value=he.touches[0].clientY,oe=0,le=0},de=he=>{he.preventDefault(),cAF(ae),oe+=re.value-he.touches[0].clientX,le+=ie.value-he.touches[0].clientY,re.value=he.touches[0].clientX,ie.value=he.touches[0].clientY,ae=rAF(()=>{const pe=i.value-unref($),_e=g.value-unref(V),Ce=Math.min(t.value.scrollLeft+oe,pe),xe=Math.min(t.value.scrollTop+le,_e);r({scrollLeft:Ce,scrollTop:xe}),oe=0,le=0})};return useEventListener(n,"touchstart",ue,{passive:!0}),useEventListener(n,"touchmove",de,{passive:!1}),{touchStartX:re,touchStartY:ie,handleTouchStart:ue,handleTouchMove:de}},createGrid=({name:n,clearCache:t,getColumnPosition:r,getColumnStartIndexForOffset:i,getColumnStopIndexForStartIndex:g,getEstimatedTotalHeight:$,getEstimatedTotalWidth:V,getColumnOffset:re,getRowOffset:ie,getRowPosition:ae,getRowStartIndexForOffset:oe,getRowStopIndexForStartIndex:le,initCache:ue,injectToInstance:de,validateProps:he})=>defineComponent({name:n??"ElVirtualList",props:virtualizedGridProps,emits:[ITEM_RENDER_EVT,SCROLL_EVT],setup(pe,{emit:_e,expose:Ce,slots:xe}){const Ie=useNamespace("vl");he(pe);const Ne=getCurrentInstance(),Oe=ref(ue(pe,Ne));de==null||de(Ne,Oe);const $e=ref(),Ve=ref(),Ue=ref(),Fe=ref(),ze=ref({isScrolling:!1,scrollLeft:isNumber$2(pe.initScrollLeft)?pe.initScrollLeft:0,scrollTop:isNumber$2(pe.initScrollTop)?pe.initScrollTop:0,updateRequested:!1,xAxisScrollDir:FORWARD,yAxisScrollDir:FORWARD}),Pt=useCache(),qe=computed(()=>Number.parseInt(`${pe.height}`,10)),Et=computed(()=>Number.parseInt(`${pe.width}`,10)),kt=computed(()=>{const{totalColumn:Zn,totalRow:Gn,columnCache:Rn}=pe,{isScrolling:Mn,xAxisScrollDir:Bn,scrollLeft:qn}=unref(ze);if(Zn===0||Gn===0)return[0,0,0,0];const zn=i(pe,qn,unref(Oe)),jn=g(pe,zn,qn,unref(Oe)),tr=!Mn||Bn===BACKWARD?Math.max(1,Rn):1,hr=!Mn||Bn===FORWARD?Math.max(1,Rn):1;return[Math.max(0,zn-tr),Math.max(0,Math.min(Zn-1,jn+hr)),zn,jn]}),At=computed(()=>{const{totalColumn:Zn,totalRow:Gn,rowCache:Rn}=pe,{isScrolling:Mn,yAxisScrollDir:Bn,scrollTop:qn}=unref(ze);if(Zn===0||Gn===0)return[0,0,0,0];const zn=oe(pe,qn,unref(Oe)),jn=le(pe,zn,qn,unref(Oe)),tr=!Mn||Bn===BACKWARD?Math.max(1,Rn):1,hr=!Mn||Bn===FORWARD?Math.max(1,Rn):1;return[Math.max(0,zn-tr),Math.max(0,Math.min(Gn-1,jn+hr)),zn,jn]}),Dt=computed(()=>$(pe,unref(Oe))),Lt=computed(()=>V(pe,unref(Oe))),jt=computed(()=>{var Zn;return[{position:"relative",overflow:"hidden",WebkitOverflowScrolling:"touch",willChange:"transform"},{direction:pe.direction,height:isNumber$2(pe.height)?`${pe.height}px`:pe.height,width:isNumber$2(pe.width)?`${pe.width}px`:pe.width},(Zn=pe.style)!=null?Zn:{}]}),hn=computed(()=>{const Zn=`${unref(Lt)}px`;return{height:`${unref(Dt)}px`,pointerEvents:unref(ze).isScrolling?"none":void 0,width:Zn,margin:0,boxSizing:"border-box"}}),vn=()=>{const{totalColumn:Zn,totalRow:Gn}=pe;if(Zn>0&&Gn>0){const[jn,tr,hr,ir]=unref(kt),[pr,rr,lr,Yn]=unref(At);_e(ITEM_RENDER_EVT,{columnCacheStart:jn,columnCacheEnd:tr,rowCacheStart:pr,rowCacheEnd:rr,columnVisibleStart:hr,columnVisibleEnd:ir,rowVisibleStart:lr,rowVisibleEnd:Yn})}const{scrollLeft:Rn,scrollTop:Mn,updateRequested:Bn,xAxisScrollDir:qn,yAxisScrollDir:zn}=unref(ze);_e(SCROLL_EVT,{xAxisScrollDir:qn,scrollLeft:Rn,yAxisScrollDir:zn,scrollTop:Mn,updateRequested:Bn})},_n=Zn=>{const{clientHeight:Gn,clientWidth:Rn,scrollHeight:Mn,scrollLeft:Bn,scrollTop:qn,scrollWidth:zn}=Zn.currentTarget,jn=unref(ze);if(jn.scrollTop===qn&&jn.scrollLeft===Bn)return;let tr=Bn;if(isRTL$1(pe.direction))switch(getRTLOffsetType()){case RTL_OFFSET_NAG:tr=-Bn;break;case RTL_OFFSET_POS_DESC:tr=zn-Rn-Bn;break}ze.value={...jn,isScrolling:!0,scrollLeft:tr,scrollTop:Math.max(0,Math.min(qn,Mn-Gn)),updateRequested:!0,xAxisScrollDir:getScrollDir(jn.scrollLeft,tr),yAxisScrollDir:getScrollDir(jn.scrollTop,qn)},nextTick(()=>Ln()),Nn(),vn()},wn=(Zn,Gn)=>{const Rn=unref(qe),Mn=(Dt.value-Rn)/Gn*Zn;Sn({scrollTop:Math.min(Dt.value-Rn,Mn)})},bn=(Zn,Gn)=>{const Rn=unref(Et),Mn=(Lt.value-Rn)/Gn*Zn;Sn({scrollLeft:Math.min(Lt.value-Rn,Mn)})},{onWheel:Cn}=useGridWheel({atXStartEdge:computed(()=>ze.value.scrollLeft<=0),atXEndEdge:computed(()=>ze.value.scrollLeft>=Lt.value-unref(Et)),atYStartEdge:computed(()=>ze.value.scrollTop<=0),atYEndEdge:computed(()=>ze.value.scrollTop>=Dt.value-unref(qe))},(Zn,Gn)=>{var Rn,Mn,Bn,qn;(Mn=(Rn=Ve.value)==null?void 0:Rn.onMouseUp)==null||Mn.call(Rn),(qn=(Bn=Ue.value)==null?void 0:Bn.onMouseUp)==null||qn.call(Bn);const zn=unref(Et),jn=unref(qe);Sn({scrollLeft:Math.min(ze.value.scrollLeft+Zn,Lt.value-zn),scrollTop:Math.min(ze.value.scrollTop+Gn,Dt.value-jn)})});useEventListener($e,"wheel",Cn,{passive:!1});const Sn=({scrollLeft:Zn=ze.value.scrollLeft,scrollTop:Gn=ze.value.scrollTop})=>{Zn=Math.max(Zn,0),Gn=Math.max(Gn,0);const Rn=unref(ze);Gn===Rn.scrollTop&&Zn===Rn.scrollLeft||(ze.value={...Rn,xAxisScrollDir:getScrollDir(Rn.scrollLeft,Zn),yAxisScrollDir:getScrollDir(Rn.scrollTop,Gn),scrollLeft:Zn,scrollTop:Gn,updateRequested:!0},nextTick(()=>Ln()),Nn(),vn())},{touchStartX:Tn,touchStartY:En,handleTouchStart:kn,handleTouchMove:$n}=useGridTouch($e,ze,Sn,Lt,Dt,Et,qe),An=(Zn=0,Gn=0,Rn=AUTO_ALIGNMENT)=>{const Mn=unref(ze);Gn=Math.max(0,Math.min(Gn,pe.totalColumn-1)),Zn=Math.max(0,Math.min(Zn,pe.totalRow-1));const Bn=getScrollBarWidth(Ie.namespace.value),qn=unref(Oe),zn=$(pe,qn),jn=V(pe,qn);Sn({scrollLeft:re(pe,Gn,Rn,Mn.scrollLeft,qn,jn>pe.width?Bn:0),scrollTop:ie(pe,Zn,Rn,Mn.scrollTop,qn,zn>pe.height?Bn:0)})},xn=(Zn,Gn)=>{const{columnWidth:Rn,direction:Mn,rowHeight:Bn}=pe,qn=Pt.value(t&&Rn,t&&Bn,t&&Mn),zn=`${Zn},${Gn}`;if(hasOwn$1(qn,zn))return qn[zn];{const[,jn]=r(pe,Gn,unref(Oe)),tr=unref(Oe),hr=isRTL$1(Mn),[ir,pr]=ae(pe,Zn,tr),[rr]=r(pe,Gn,tr);return qn[zn]={position:"absolute",left:hr?void 0:`${jn}px`,right:hr?`${jn}px`:void 0,top:`${pr}px`,height:`${ir}px`,width:`${rr}px`},qn[zn]}},Ln=()=>{ze.value.isScrolling=!1,nextTick(()=>{Pt.value(-1,null,null)})};onMounted(()=>{if(!isClient)return;const{initScrollLeft:Zn,initScrollTop:Gn}=pe,Rn=unref($e);Rn&&(isNumber$2(Zn)&&(Rn.scrollLeft=Zn),isNumber$2(Gn)&&(Rn.scrollTop=Gn)),vn()});const Nn=()=>{const{direction:Zn}=pe,{scrollLeft:Gn,scrollTop:Rn,updateRequested:Mn}=unref(ze),Bn=unref($e);if(Mn&&Bn){if(Zn===RTL)switch(getRTLOffsetType()){case RTL_OFFSET_NAG:{Bn.scrollLeft=-Gn;break}case RTL_OFFSET_POS_ASC:{Bn.scrollLeft=Gn;break}default:{const{clientWidth:qn,scrollWidth:zn}=Bn;Bn.scrollLeft=zn-qn-Gn;break}}else Bn.scrollLeft=Math.max(0,Gn);Bn.scrollTop=Math.max(0,Rn)}},{resetAfterColumnIndex:Pn,resetAfterRowIndex:On,resetAfter:Hn}=Ne.proxy;Ce({windowRef:$e,innerRef:Fe,getItemStyleCache:Pt,touchStartX:Tn,touchStartY:En,handleTouchStart:kn,handleTouchMove:$n,scrollTo:Sn,scrollToItem:An,states:ze,resetAfterColumnIndex:Pn,resetAfterRowIndex:On,resetAfter:Hn});const Xn=()=>{const{scrollbarAlwaysOn:Zn,scrollbarStartGap:Gn,scrollbarEndGap:Rn,totalColumn:Mn,totalRow:Bn}=pe,qn=unref(Et),zn=unref(qe),jn=unref(Lt),tr=unref(Dt),{scrollLeft:hr,scrollTop:ir}=unref(ze),pr=h$1(ScrollBar,{ref:Ve,alwaysOn:Zn,startGap:Gn,endGap:Rn,class:Ie.e("horizontal"),clientSize:qn,layout:"horizontal",onScroll:bn,ratio:qn*100/jn,scrollFrom:hr/(jn-qn),total:Bn,visible:!0}),rr=h$1(ScrollBar,{ref:Ue,alwaysOn:Zn,startGap:Gn,endGap:Rn,class:Ie.e("vertical"),clientSize:zn,layout:"vertical",onScroll:wn,ratio:zn*100/tr,scrollFrom:ir/(tr-zn),total:Mn,visible:!0});return{horizontalScrollbar:pr,verticalScrollbar:rr}},In=()=>{var Zn;const[Gn,Rn]=unref(kt),[Mn,Bn]=unref(At),{data:qn,totalColumn:zn,totalRow:jn,useIsScrolling:tr,itemKey:hr}=pe,ir=[];if(jn>0&&zn>0)for(let pr=Mn;pr<=Bn;pr++)for(let rr=Gn;rr<=Rn;rr++){const lr=hr({columnIndex:rr,data:qn,rowIndex:pr});ir.push(h$1(Fragment,{key:lr},(Zn=xe.default)==null?void 0:Zn.call(xe,{columnIndex:rr,data:qn,isScrolling:tr?unref(ze).isScrolling:void 0,style:xn(pr,rr),rowIndex:pr})))}return ir},or=()=>{const Zn=resolveDynamicComponent(pe.innerElement),Gn=In();return[h$1(Zn,mergeProps(pe.innerProps,{style:unref(hn),ref:Fe}),isString$2(Zn)?Gn:{default:()=>Gn})]};return()=>{const Zn=resolveDynamicComponent(pe.containerElement),{horizontalScrollbar:Gn,verticalScrollbar:Rn}=Xn(),Mn=or();return h$1("div",{key:0,class:Ie.e("wrapper"),role:pe.role},[h$1(Zn,{class:pe.className,style:unref(jt),onScroll:_n,ref:$e},isString$2(Zn)?Mn:{default:()=>Mn}),Gn,Rn])}}}),{max:max$3,min:min$3,floor:floor$1}=Math,ACCESS_SIZER_KEY_MAP={column:"columnWidth",row:"rowHeight"},ACCESS_LAST_VISITED_KEY_MAP={column:"lastVisitedColumnIndex",row:"lastVisitedRowIndex"},getItemFromCache=(n,t,r,i)=>{const[g,$,V]=[r[i],n[ACCESS_SIZER_KEY_MAP[i]],r[ACCESS_LAST_VISITED_KEY_MAP[i]]];if(t>V){let re=0;if(V>=0){const ie=g[V];re=ie.offset+ie.size}for(let ie=V+1;ie<=t;ie++){const ae=$(ie);g[ie]={offset:re,size:ae},re+=ae}r[ACCESS_LAST_VISITED_KEY_MAP[i]]=t}return g[t]},bs=(n,t,r,i,g,$)=>{for(;r<=i;){const V=r+floor$1((i-r)/2),re=getItemFromCache(n,V,t,$).offset;if(re===g)return V;re{const $=g==="column"?n.totalColumn:n.totalRow;let V=1;for(;r<$&&getItemFromCache(n,r,t,g).offset{const[g,$]=[t[i],t[ACCESS_LAST_VISITED_KEY_MAP[i]]];return($>0?g[$].offset:0)>=r?bs(n,t,0,$,r,i):es(n,t,max$3(0,$),r,i)},getEstimatedTotalHeight=({totalRow:n},{estimatedRowHeight:t,lastVisitedRowIndex:r,row:i})=>{let g=0;if(r>=n&&(r=n-1),r>=0){const re=i[r];g=re.offset+re.size}const V=(n-r-1)*t;return g+V},getEstimatedTotalWidth=({totalColumn:n},{column:t,estimatedColumnWidth:r,lastVisitedColumnIndex:i})=>{let g=0;if(i>n&&(i=n-1),i>=0){const re=t[i];g=re.offset+re.size}const V=(n-i-1)*r;return g+V},ACCESS_ESTIMATED_SIZE_KEY_MAP={column:getEstimatedTotalWidth,row:getEstimatedTotalHeight},getOffset=(n,t,r,i,g,$,V)=>{const[re,ie]=[$==="row"?n.height:n.width,ACCESS_ESTIMATED_SIZE_KEY_MAP[$]],ae=getItemFromCache(n,t,g,$),oe=ie(n,g),le=max$3(0,min$3(oe-re,ae.offset)),ue=max$3(0,ae.offset-re+V+ae.size);switch(r===SMART_ALIGNMENT&&(i>=ue-re&&i<=le+re?r=AUTO_ALIGNMENT:r=CENTERED_ALIGNMENT),r){case START_ALIGNMENT:return le;case END_ALIGNMENT:return ue;case CENTERED_ALIGNMENT:return Math.round(ue+(le-ue)/2);case AUTO_ALIGNMENT:default:return i>=ue&&i<=le?i:ue>le||i{const i=getItemFromCache(n,t,r,"column");return[i.size,i.offset]},getRowPosition:(n,t,r)=>{const i=getItemFromCache(n,t,r,"row");return[i.size,i.offset]},getColumnOffset:(n,t,r,i,g,$)=>getOffset(n,t,r,i,g,"column",$),getRowOffset:(n,t,r,i,g,$)=>getOffset(n,t,r,i,g,"row",$),getColumnStartIndexForOffset:(n,t,r)=>findItem(n,r,t,"column"),getColumnStopIndexForStartIndex:(n,t,r,i)=>{const g=getItemFromCache(n,t,i,"column"),$=r+n.width;let V=g.offset+g.size,re=t;for(;refindItem(n,r,t,"row"),getRowStopIndexForStartIndex:(n,t,r,i)=>{const{totalRow:g,height:$}=n,V=getItemFromCache(n,t,i,"row"),re=r+$;let ie=V.size+V.offset,ae=t;for(;ae{const r=({columnIndex:$,rowIndex:V},re)=>{var ie,ae;re=isUndefined$1(re)?!0:re,isNumber$2($)&&(t.value.lastVisitedColumnIndex=Math.min(t.value.lastVisitedColumnIndex,$-1)),isNumber$2(V)&&(t.value.lastVisitedRowIndex=Math.min(t.value.lastVisitedRowIndex,V-1)),(ie=n.exposed)==null||ie.getItemStyleCache.value(-1,null,null),re&&((ae=n.proxy)==null||ae.$forceUpdate())},i=($,V)=>{r({columnIndex:$},V)},g=($,V)=>{r({rowIndex:$},V)};Object.assign(n.proxy,{resetAfterColumnIndex:i,resetAfterRowIndex:g,resetAfter:r})},initCache:({estimatedColumnWidth:n=DEFAULT_DYNAMIC_LIST_ITEM_SIZE,estimatedRowHeight:t=DEFAULT_DYNAMIC_LIST_ITEM_SIZE})=>({column:{},estimatedColumnWidth:n,estimatedRowHeight:t,lastVisitedColumnIndex:-1,lastVisitedRowIndex:-1,row:{}}),clearCache:!1,validateProps:({columnWidth:n,rowHeight:t})=>{}}),FixedSizeGrid=createGrid({name:"ElFixedSizeGrid",getColumnPosition:({columnWidth:n},t)=>[n,t*n],getRowPosition:({rowHeight:n},t)=>[n,t*n],getEstimatedTotalHeight:({totalRow:n,rowHeight:t})=>t*n,getEstimatedTotalWidth:({totalColumn:n,columnWidth:t})=>t*n,getColumnOffset:({totalColumn:n,columnWidth:t,width:r},i,g,$,V,re)=>{r=Number(r);const ie=Math.max(0,n*t-r),ae=Math.min(ie,i*t),oe=Math.max(0,i*t-r+re+t);switch(g==="smart"&&($>=oe-r&&$<=ae+r?g=AUTO_ALIGNMENT:g=CENTERED_ALIGNMENT),g){case START_ALIGNMENT:return ae;case END_ALIGNMENT:return oe;case CENTERED_ALIGNMENT:{const le=Math.round(oe+(ae-oe)/2);return leie+Math.floor(r/2)?ie:le}case AUTO_ALIGNMENT:default:return $>=oe&&$<=ae?$:oe>ae||${t=Number(t);const ie=Math.max(0,r*n-t),ae=Math.min(ie,i*n),oe=Math.max(0,i*n-t+re+n);switch(g===SMART_ALIGNMENT&&($>=oe-t&&$<=ae+t?g=AUTO_ALIGNMENT:g=CENTERED_ALIGNMENT),g){case START_ALIGNMENT:return ae;case END_ALIGNMENT:return oe;case CENTERED_ALIGNMENT:{const le=Math.round(oe+(ae-oe)/2);return leie+Math.floor(t/2)?ie:le}case AUTO_ALIGNMENT:default:return $>=oe&&$<=ae?$:oe>ae||$Math.max(0,Math.min(t-1,Math.floor(r/n))),getColumnStopIndexForStartIndex:({columnWidth:n,totalColumn:t,width:r},i,g)=>{const $=i*n,V=Math.ceil((r+g-$)/n);return Math.max(0,Math.min(t-1,i+V-1))},getRowStartIndexForOffset:({rowHeight:n,totalRow:t},r)=>Math.max(0,Math.min(t-1,Math.floor(r/n))),getRowStopIndexForStartIndex:({rowHeight:n,totalRow:t,height:r},i,g)=>{const $=i*n,V=Math.ceil((r+g-$)/n);return Math.max(0,Math.min(t-1,i+V-1))},initCache:()=>{},clearCache:!0,validateProps:({columnWidth:n,rowHeight:t})=>{}}),COMPONENT_NAME$7="ElTableV2Grid",useTableGrid=n=>{const t=ref(),r=ref(),i=ref(0),g=computed(()=>{const{data:_e,rowHeight:Ce,estimatedRowHeight:xe}=n;if(!xe)return _e.length*Ce}),$=computed(()=>{const{fixedData:_e,rowHeight:Ce}=n;return((_e==null?void 0:_e.length)||0)*Ce}),V=computed(()=>sum(n.headerHeight)),re=computed(()=>{const{height:_e}=n;return Math.max(0,_e-unref(V)-unref($))}),ie=computed(()=>unref(V)+unref($)>0),ae=({data:_e,rowIndex:Ce})=>_e[Ce][n.rowKey];function oe({rowCacheStart:_e,rowCacheEnd:Ce,rowVisibleStart:xe,rowVisibleEnd:Ie}){var Ne;(Ne=n.onRowsRendered)==null||Ne.call(n,{rowCacheStart:_e,rowCacheEnd:Ce,rowVisibleStart:xe,rowVisibleEnd:Ie})}function le(_e,Ce){var xe;(xe=r.value)==null||xe.resetAfterRowIndex(_e,Ce)}function ue(_e,Ce){const xe=unref(t),Ie=unref(r);isObject$6(_e)?(xe==null||xe.scrollToLeft(_e.scrollLeft),i.value=_e.scrollLeft,Ie==null||Ie.scrollTo(_e)):(xe==null||xe.scrollToLeft(_e),i.value=_e,Ie==null||Ie.scrollTo({scrollLeft:_e,scrollTop:Ce}))}function de(_e){var Ce;(Ce=unref(r))==null||Ce.scrollTo({scrollTop:_e})}function he(_e,Ce){const xe=unref(r);if(!xe)return;const Ie=i.value;xe.scrollToItem(_e,0,Ce),Ie&&ue({scrollLeft:Ie})}function pe(){var _e,Ce;(_e=unref(r))==null||_e.$forceUpdate(),(Ce=unref(t))==null||Ce.$forceUpdate()}return watch(()=>n.bodyWidth,()=>{var _e;isNumber$2(n.estimatedRowHeight)&&((_e=r.value)==null||_e.resetAfter({columnIndex:0},!1))}),{bodyRef:r,forceUpdate:pe,fixedRowHeight:$,gridHeight:re,hasHeader:ie,headerHeight:V,headerRef:t,totalHeight:g,itemKey:ae,onItemRendered:oe,resetAfterRowIndex:le,scrollTo:ue,scrollToTop:de,scrollToRow:he,scrollLeft:i}},TableGrid=defineComponent({name:COMPONENT_NAME$7,props:tableV2GridProps,setup(n,{slots:t,expose:r}){const{ns:i}=inject(TableV2InjectionKey),{bodyRef:g,fixedRowHeight:$,gridHeight:V,hasHeader:re,headerRef:ie,headerHeight:ae,totalHeight:oe,forceUpdate:le,itemKey:ue,onItemRendered:de,resetAfterRowIndex:he,scrollTo:pe,scrollToTop:_e,scrollToRow:Ce,scrollLeft:xe}=useTableGrid(n);provide(TABLE_V2_GRID_INJECTION_KEY,xe),onActivated(async()=>{var Ne;await nextTick();const Oe=(Ne=g.value)==null?void 0:Ne.states.scrollTop;Oe&&_e(Math.round(Oe)+1)}),r({forceUpdate:le,totalHeight:oe,scrollTo:pe,scrollToTop:_e,scrollToRow:Ce,resetAfterRowIndex:he});const Ie=()=>n.bodyWidth;return()=>{const{cache:Ne,columns:Oe,data:$e,fixedData:Ve,useIsScrolling:Ue,scrollbarAlwaysOn:Fe,scrollbarEndGap:ze,scrollbarStartGap:Pt,style:qe,rowHeight:Et,bodyWidth:kt,estimatedRowHeight:At,headerWidth:Dt,height:Lt,width:jt,getRowHeight:hn,onScroll:vn}=n,_n=isNumber$2(At),wn=_n?DynamicSizeGrid:FixedSizeGrid,bn=unref(ae);return createVNode$1("div",{role:"table",class:[i.e("table"),n.class],style:qe},[createVNode$1(wn,{ref:g,data:$e,useIsScrolling:Ue,itemKey:ue,columnCache:0,columnWidth:_n?Ie:kt,totalColumn:1,totalRow:$e.length,rowCache:Ne,rowHeight:_n?hn:Et,width:jt,height:unref(V),class:i.e("body"),role:"rowgroup",scrollbarStartGap:Pt,scrollbarEndGap:ze,scrollbarAlwaysOn:Fe,onScroll:vn,onItemRendered:de,perfMode:!1},{default:Cn=>{var Sn;const Tn=$e[Cn.rowIndex];return(Sn=t.row)==null?void 0:Sn.call(t,{...Cn,columns:Oe,rowData:Tn})}}),unref(re)&&createVNode$1(Header$1,{ref:ie,class:i.e("header-wrapper"),columns:Oe,headerData:$e,headerHeight:n.headerHeight,fixedHeaderData:Ve,rowWidth:Dt,rowHeight:Et,width:jt,height:Math.min(bn+unref($),Lt)},{dynamic:t.header,fixed:t.row})])}}});var Table=TableGrid;function _isSlot$5(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!isVNode(n)}const MainTable=(n,{slots:t})=>{const{mainTableRef:r,...i}=n;return createVNode$1(Table,mergeProps({ref:r},i),_isSlot$5(t)?t:{default:()=>[t]})};var MainTable$1=MainTable;function _isSlot$4(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!isVNode(n)}const LeftTable=(n,{slots:t})=>{if(!n.columns.length)return;const{leftTableRef:r,...i}=n;return createVNode$1(Table,mergeProps({ref:r},i),_isSlot$4(t)?t:{default:()=>[t]})};var LeftTable$1=LeftTable;function _isSlot$3(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!isVNode(n)}const RightTable=(n,{slots:t})=>{if(!n.columns.length)return;const{rightTableRef:r,...i}=n;return createVNode$1(Table,mergeProps({ref:r},i),_isSlot$3(t)?t:{default:()=>[t]})};var RightTable$1=RightTable;const useTableRow=n=>{const{isScrolling:t}=inject(TableV2InjectionKey),r=ref(!1),i=ref(),g=computed(()=>isNumber$2(n.estimatedRowHeight)&&n.rowIndex>=0),$=(ie=!1)=>{const ae=unref(i);if(!ae)return;const{columns:oe,onRowHeightChange:le,rowKey:ue,rowIndex:de,style:he}=n,{height:pe}=ae.getBoundingClientRect();r.value=!0,nextTick(()=>{if(ie||pe!==Number.parseInt(he.height)){const _e=oe[0],Ce=(_e==null?void 0:_e.placeholderSign)===placeholderSign;le==null||le({rowKey:ue,height:pe,rowIndex:de},_e&&!Ce&&_e.fixed)}})},V=computed(()=>{const{rowData:ie,rowIndex:ae,rowKey:oe,onRowHover:le}=n,ue=n.rowEventHandlers||{},de={};return Object.entries(ue).forEach(([he,pe])=>{isFunction$4(pe)&&(de[he]=_e=>{pe({event:_e,rowData:ie,rowIndex:ae,rowKey:oe})})}),le&&[{name:"onMouseleave",hovered:!1},{name:"onMouseenter",hovered:!0}].forEach(({name:he,hovered:pe})=>{const _e=de[he];de[he]=Ce=>{le({event:Ce,hovered:pe,rowData:ie,rowIndex:ae,rowKey:oe}),_e==null||_e(Ce)}}),de}),re=ie=>{const{onRowExpand:ae,rowData:oe,rowIndex:le,rowKey:ue}=n;ae==null||ae({expanded:ie,rowData:oe,rowIndex:le,rowKey:ue})};return onMounted(()=>{unref(g)&&$(!0)}),{isScrolling:t,measurable:g,measured:r,rowRef:i,eventHandlers:V,onExpand:re}},COMPONENT_NAME$6="ElTableV2TableRow",TableV2Row=defineComponent({name:COMPONENT_NAME$6,props:tableV2RowProps,setup(n,{expose:t,slots:r,attrs:i}){const{eventHandlers:g,isScrolling:$,measurable:V,measured:re,rowRef:ie,onExpand:ae}=useTableRow(n);return t({onExpand:ae}),()=>{const{columns:oe,columnsStyles:le,expandColumnKey:ue,depth:de,rowData:he,rowIndex:pe,style:_e}=n;let Ce=oe.map((xe,Ie)=>{const Ne=isArray$5(he.children)&&he.children.length>0&&xe.key===ue;return r.cell({column:xe,columns:oe,columnIndex:Ie,depth:de,style:le[xe.key],rowData:he,rowIndex:pe,isScrolling:unref($),expandIconProps:Ne?{rowData:he,rowIndex:pe,onExpand:ae}:void 0})});if(r.row&&(Ce=r.row({cells:Ce.map(xe=>isArray$5(xe)&&xe.length===1?xe[0]:xe),style:_e,columns:oe,depth:de,rowData:he,rowIndex:pe,isScrolling:unref($)})),unref(V)){const{height:xe,...Ie}=_e||{},Ne=unref(re);return createVNode$1("div",mergeProps({ref:ie,class:n.class,style:Ne?_e:Ie,role:"row"},i,unref(g)),[Ce])}return createVNode$1("div",mergeProps(i,{ref:ie,class:n.class,style:_e,role:"row"},unref(g)),[Ce])}}});var Row$1=TableV2Row;function _isSlot$2(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!isVNode(n)}const RowRenderer=(n,{slots:t})=>{const{columns:r,columnsStyles:i,depthMap:g,expandColumnKey:$,expandedRowKeys:V,estimatedRowHeight:re,hasFixedColumns:ie,rowData:ae,rowIndex:oe,style:le,isScrolling:ue,rowProps:de,rowClass:he,rowKey:pe,rowEventHandlers:_e,ns:Ce,onRowHovered:xe,onRowExpanded:Ie}=n,Ne=tryCall(he,{columns:r,rowData:ae,rowIndex:oe},""),Oe=tryCall(de,{columns:r,rowData:ae,rowIndex:oe}),$e=ae[pe],Ve=g[$e]||0,Ue=!!$,Fe=oe<0,ze=[Ce.e("row"),Ne,Ce.is("expanded",Ue&&V.includes($e)),Ce.is("fixed",!Ve&&Fe),Ce.is("customized",!!t.row),{[Ce.e(`row-depth-${Ve}`)]:Ue&&oe>=0}],Pt=ie?xe:void 0,qe={...Oe,columns:r,columnsStyles:i,class:ze,depth:Ve,expandColumnKey:$,estimatedRowHeight:Fe?void 0:re,isScrolling:ue,rowIndex:oe,rowData:ae,rowKey:$e,rowEventHandlers:_e,style:le};return createVNode$1(Row$1,mergeProps(qe,{onRowExpand:Ie,onMouseenter:At=>{Pt==null||Pt({hovered:!0,rowKey:$e,event:At,rowData:ae,rowIndex:oe})},onMouseleave:At=>{Pt==null||Pt({hovered:!1,rowKey:$e,event:At,rowData:ae,rowIndex:oe})},rowkey:$e}),_isSlot$2(t)?t:{default:()=>[t]})};var Row=RowRenderer;const TableV2Cell=(n,{slots:t})=>{var r;const{cellData:i,style:g}=n,$=((r=i==null?void 0:i.toString)==null?void 0:r.call(i))||"",V=renderSlot(t,"default",n,()=>[$]);return createVNode$1("div",{class:n.class,title:$,style:g},[V])};TableV2Cell.displayName="ElTableV2Cell";TableV2Cell.inheritAttrs=!1;var TableCell=TableV2Cell;const ExpandIcon=n=>{const{expanded:t,expandable:r,onExpand:i,style:g,size:$,ariaLabel:V}=n,re={onClick:r?()=>i(!t):void 0,ariaLabel:V,ariaExpanded:t,class:n.class};return createVNode$1("button",mergeProps(re,{type:"button"}),[createVNode$1(ElIcon,{size:$,style:g},{default:()=>[createVNode$1(arrow_right_default,null,null)]})])};ExpandIcon.inheritAttrs=!1;var ExpandIcon$1=ExpandIcon;const CellRenderer=({columns:n,column:t,columnIndex:r,depth:i,expandIconProps:g,isScrolling:$,rowData:V,rowIndex:re,style:ie,expandedRowKeys:ae,ns:oe,t:le,cellProps:ue,expandColumnKey:de,indentSize:he,iconSize:pe,rowKey:_e},{slots:Ce})=>{const xe=enforceUnit(ie);if(t.placeholderSign===placeholderSign)return createVNode$1("div",{class:oe.em("row-cell","placeholder"),style:xe},null);const{cellRenderer:Ie,dataKey:Ne,dataGetter:Oe}=t,$e=isFunction$4(Oe)?Oe({columns:n,column:t,columnIndex:r,rowData:V,rowIndex:re}):get$1(V,Ne??""),Ve=tryCall(ue,{cellData:$e,columns:n,column:t,columnIndex:r,rowIndex:re,rowData:V}),Ue={class:oe.e("cell-text"),columns:n,column:t,columnIndex:r,cellData:$e,isScrolling:$,rowData:V,rowIndex:re},Fe=componentToSlot(Ie),ze=Fe?Fe(Ue):renderSlot(Ce,"default",Ue,()=>[createVNode$1(TableCell,Ue,null)]),Pt=[oe.e("row-cell"),t.class,t.align===Alignment.CENTER&&oe.is("align-center"),t.align===Alignment.RIGHT&&oe.is("align-right")],qe=re>=0&&de&&t.key===de,Et=re>=0&&ae.includes(V[_e]);let kt;const At=`margin-inline-start: ${i*he}px;`;return qe&&(isObject$6(g)?kt=createVNode$1(ExpandIcon$1,mergeProps(g,{class:[oe.e("expand-icon"),oe.is("expanded",Et)],size:pe,expanded:Et,ariaLabel:le(Et?"el.table.collapseRowLabel":"el.table.expandRowLabel"),style:At,expandable:!0}),null):kt=createVNode$1("div",{style:[At,`width: ${pe}px; height: ${pe}px;`].join(" ")},null)),createVNode$1("div",mergeProps({class:Pt,style:xe},Ve,{role:"cell"}),[kt,ze])};CellRenderer.inheritAttrs=!1;var Cell=CellRenderer;const tableV2HeaderRowProps=buildProps({class:String,columns,columnsStyles:{type:definePropType(Object),required:!0},headerIndex:Number,style:{type:definePropType(Object)}}),TableV2HeaderRow=defineComponent({name:"ElTableV2HeaderRow",props:tableV2HeaderRowProps,setup(n,{slots:t}){return()=>{const{columns:r,columnsStyles:i,headerIndex:g,style:$}=n;let V=r.map((re,ie)=>t.cell({columns:r,column:re,columnIndex:ie,headerIndex:g,style:i[re.key]}));return t.header&&(V=t.header({cells:V.map(re=>isArray$5(re)&&re.length===1?re[0]:re),columns:r,headerIndex:g})),createVNode$1("div",{class:n.class,style:$,role:"row"},[V])}}});var HeaderRow=TableV2HeaderRow;function _isSlot$1(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!isVNode(n)}const HeaderRenderer=({columns:n,columnsStyles:t,headerIndex:r,style:i,headerClass:g,headerProps:$,ns:V},{slots:re})=>{const ie={columns:n,headerIndex:r},ae=[V.e("header-row"),tryCall(g,ie,""),V.is("customized",!!re.header)],oe={...tryCall($,ie),columnsStyles:t,class:ae,columns:n,headerIndex:r,style:i};return createVNode$1(HeaderRow,oe,_isSlot$1(re)?re:{default:()=>[re]})};var Header=HeaderRenderer;const HeaderCell$1=(n,{slots:t})=>renderSlot(t,"default",n,()=>{var r,i;return[createVNode$1("div",{class:n.class,title:(r=n.column)==null?void 0:r.title},[(i=n.column)==null?void 0:i.title])]});HeaderCell$1.displayName="ElTableV2HeaderCell";HeaderCell$1.inheritAttrs=!1;var HeaderCell$1$1=HeaderCell$1;const SortIcon=n=>{const{sortOrder:t}=n;return createVNode$1("button",{type:"button","aria-label":n.ariaLabel,class:n.class},[createVNode$1(ElIcon,{size:14},{default:()=>[t===SortOrder.ASC?createVNode$1(sort_up_default,null,null):createVNode$1(sort_down_default,null,null)]})])};var SortIcon$1=SortIcon;const HeaderCellRenderer=(n,{slots:t})=>{const{column:r,ns:i,t:g,style:$,onColumnSorted:V}=n,re=enforceUnit($);if(r.placeholderSign===placeholderSign)return createVNode$1("div",{class:i.em("header-row-cell","placeholder"),style:re},null);const{headerCellRenderer:ie,headerClass:ae,sortable:oe}=r,le={...n,class:i.e("header-cell-text")},ue=componentToSlot(ie),de=ue?ue(le):renderSlot(t,"default",le,()=>[createVNode$1(HeaderCell$1$1,le,null)]),{sortBy:he,sortState:pe,headerCellProps:_e}=n;let Ce,xe,Ie;if(pe){const $e=pe[r.key];Ce=!!oppositeOrderMap[$e],xe=Ce?$e:SortOrder.ASC}else Ce=r.key===he.key,xe=Ce?he.order:SortOrder.ASC;xe===SortOrder.ASC?Ie="ascending":xe===SortOrder.DESC?Ie="descending":Ie=void 0;const Ne=[i.e("header-cell"),tryCall(ae,n,""),r.align===Alignment.CENTER&&i.is("align-center"),r.align===Alignment.RIGHT&&i.is("align-right"),oe&&i.is("sortable")],Oe={...tryCall(_e,n),onClick:r.sortable?V:void 0,ariaSort:oe?Ie:void 0,class:Ne,style:re,"data-key":r.key};return createVNode$1("div",mergeProps(Oe,{role:"columnheader"}),[de,oe&&createVNode$1(SortIcon$1,{class:[i.e("sort-icon"),Ce&&i.is("sorting")],sortOrder:xe,ariaLabel:g("el.table.sortLabel",{column:r.title||""})},null)])};var HeaderCell=HeaderCellRenderer;const Footer$1=(n,{slots:t})=>{var r;return createVNode$1("div",{class:n.class,style:n.style},[(r=t.default)==null?void 0:r.call(t)])};Footer$1.displayName="ElTableV2Footer";var Footer$1$1=Footer$1;const Footer=(n,{slots:t})=>{const r=renderSlot(t,"default",{},()=>[createVNode$1(ElEmpty,null,null)]);return createVNode$1("div",{class:n.class,style:n.style},[r])};Footer.displayName="ElTableV2Empty";var Empty=Footer;const Overlay=(n,{slots:t})=>{var r;return createVNode$1("div",{class:n.class,style:n.style},[(r=t.default)==null?void 0:r.call(t)])};Overlay.displayName="ElTableV2Overlay";var Overlay$1=Overlay;function _isSlot(n){return typeof n=="function"||Object.prototype.toString.call(n)==="[object Object]"&&!isVNode(n)}const COMPONENT_NAME$5="ElTableV2",TableV2=defineComponent({name:COMPONENT_NAME$5,props:tableV2Props,setup(n,{slots:t,expose:r}){const i=useNamespace("table-v2"),{t:g}=useLocale(),{columnsStyles:$,fixedColumnsOnLeft:V,fixedColumnsOnRight:re,mainColumns:ie,mainTableHeight:ae,fixedTableHeight:oe,leftTableWidth:le,rightTableWidth:ue,data:de,depthMap:he,expandedRowKeys:pe,hasFixedColumns:_e,mainTableRef:Ce,leftTableRef:xe,rightTableRef:Ie,isDynamic:Ne,isResetting:Oe,isScrolling:$e,bodyWidth:Ve,emptyStyle:Ue,rootStyle:Fe,footerHeight:ze,showEmpty:Pt,scrollTo:qe,scrollToLeft:Et,scrollToTop:kt,scrollToRow:At,getRowHeight:Dt,onColumnSorted:Lt,onRowHeightChange:jt,onRowHovered:hn,onRowExpanded:vn,onRowsRendered:_n,onScroll:wn,onVerticalScroll:bn}=useTable(n);return r({scrollTo:qe,scrollToLeft:Et,scrollToTop:kt,scrollToRow:At}),provide(TableV2InjectionKey,{ns:i,isResetting:Oe,isScrolling:$e}),()=>{const{cache:Cn,cellProps:Sn,estimatedRowHeight:Tn,expandColumnKey:En,fixedData:kn,headerHeight:$n,headerClass:An,headerProps:xn,headerCellProps:Ln,sortBy:Nn,sortState:Pn,rowHeight:On,rowClass:Hn,rowEventHandlers:Xn,rowKey:In,rowProps:or,scrollbarAlwaysOn:Qn,indentSize:Zn,iconSize:Gn,useIsScrolling:Rn,vScrollbarSize:Mn,width:Bn}=n,qn=unref(de),zn={cache:Cn,class:i.e("main"),columns:unref(ie),data:qn,fixedData:kn,estimatedRowHeight:Tn,bodyWidth:unref(Ve),headerHeight:$n,headerWidth:unref(Ve),height:unref(ae),mainTableRef:Ce,rowKey:In,rowHeight:On,scrollbarAlwaysOn:Qn,scrollbarStartGap:2,scrollbarEndGap:Mn,useIsScrolling:Rn,width:Bn,getRowHeight:Dt,onRowsRendered:_n,onScroll:wn},jn=unref(le),tr=unref(oe),hr={cache:Cn,class:i.e("left"),columns:unref(V),data:qn,fixedData:kn,estimatedRowHeight:Tn,leftTableRef:xe,rowHeight:On,bodyWidth:jn,headerWidth:jn,headerHeight:$n,height:tr,rowKey:In,scrollbarAlwaysOn:Qn,scrollbarStartGap:2,scrollbarEndGap:Mn,useIsScrolling:Rn,width:jn,getRowHeight:Dt,onScroll:bn},ir=unref(ue),pr={cache:Cn,class:i.e("right"),columns:unref(re),data:qn,fixedData:kn,estimatedRowHeight:Tn,rightTableRef:Ie,rowHeight:On,bodyWidth:ir,headerWidth:ir,headerHeight:$n,height:tr,rowKey:In,scrollbarAlwaysOn:Qn,scrollbarStartGap:2,scrollbarEndGap:Mn,width:ir,style:`${i.cssVarName("table-scrollbar-size")}: ${Mn}px`,useIsScrolling:Rn,getRowHeight:Dt,onScroll:bn},rr=unref($),lr={ns:i,depthMap:unref(he),columnsStyles:rr,expandColumnKey:En,expandedRowKeys:unref(pe),estimatedRowHeight:Tn,hasFixedColumns:unref(_e),rowProps:or,rowClass:Hn,rowKey:In,rowEventHandlers:Xn,onRowHovered:hn,onRowExpanded:vn,onRowHeightChange:jt},Yn={cellProps:Sn,expandColumnKey:En,indentSize:Zn,iconSize:Gn,rowKey:In,expandedRowKeys:unref(pe),ns:i,t:g},er={ns:i,headerClass:An,headerProps:xn,columnsStyles:rr},Fn={ns:i,t:g,sortBy:Nn,sortState:Pn,headerCellProps:Ln,onColumnSorted:Lt},cr={row:vr=>createVNode$1(Row,mergeProps(vr,lr),{row:t.row,cell:yr=>{let Wn;return t.cell?createVNode$1(Cell,mergeProps(yr,Yn,{style:rr[yr.column.key]}),_isSlot(Wn=t.cell(yr))?Wn:{default:()=>[Wn]}):createVNode$1(Cell,mergeProps(yr,Yn,{style:rr[yr.column.key]}),null)}}),header:vr=>createVNode$1(Header,mergeProps(vr,er),{header:t.header,cell:yr=>{let Wn;return t["header-cell"]?createVNode$1(HeaderCell,mergeProps(yr,Fn,{style:rr[yr.column.key]}),_isSlot(Wn=t["header-cell"](yr))?Wn:{default:()=>[Wn]}):createVNode$1(HeaderCell,mergeProps(yr,Fn,{style:rr[yr.column.key]}),null)}})},Un=[n.class,i.b(),i.e("root"),i.is("dynamic",unref(Ne))],gr={class:i.e("footer"),style:unref(ze)};return createVNode$1("div",{class:Un,style:unref(Fe)},[createVNode$1(MainTable$1,zn,_isSlot(cr)?cr:{default:()=>[cr]}),createVNode$1(LeftTable$1,hr,_isSlot(cr)?cr:{default:()=>[cr]}),createVNode$1(RightTable$1,pr,_isSlot(cr)?cr:{default:()=>[cr]}),t.footer&&createVNode$1(Footer$1$1,gr,{default:t.footer}),unref(Pt)&&createVNode$1(Empty,{class:i.e("empty"),style:unref(Ue)},{default:t.empty}),t.overlay&&createVNode$1(Overlay$1,{class:i.e("overlay")},{default:t.overlay})])}}});var TableV2$1=TableV2;const autoResizerProps=buildProps({disableWidth:Boolean,disableHeight:Boolean,onResize:{type:definePropType(Function)}}),useAutoResize=n=>{const t=ref(),r=ref(0),i=ref(0);let g;return onMounted(()=>{g=useResizeObserver(t,([$])=>{const{width:V,height:re}=$.contentRect,{paddingLeft:ie,paddingRight:ae,paddingTop:oe,paddingBottom:le}=getComputedStyle($.target),ue=Number.parseInt(ie)||0,de=Number.parseInt(ae)||0,he=Number.parseInt(oe)||0,pe=Number.parseInt(le)||0;r.value=V-ue-de,i.value=re-he-pe}).stop}),onBeforeUnmount(()=>{g==null||g()}),watch([r,i],([$,V])=>{var re;(re=n.onResize)==null||re.call(n,{width:$,height:V})}),{sizer:t,width:r,height:i}},AutoResizer=defineComponent({name:"ElAutoResizer",props:autoResizerProps,setup(n,{slots:t}){const r=useNamespace("auto-resizer"),{height:i,width:g,sizer:$}=useAutoResize(n),V={width:"100%",height:"100%"};return()=>{var re;return createVNode$1("div",{ref:$,class:r.b(),style:V},[(re=t.default)==null?void 0:re.call(t,{height:i.value,width:g.value})])}}});var AutoResizer$1=AutoResizer;const ElTableV2=withInstall(TableV2$1),ElAutoResizer=withInstall(AutoResizer$1),tabsRootContextKey=Symbol("tabsRootContextKey"),tabBarProps=buildProps({tabs:{type:definePropType(Array),default:()=>mutable([])},tabRefs:{type:definePropType(Object),default:()=>mutable({})}}),COMPONENT_NAME$4="ElTabBar",_sfc_main$$=defineComponent({name:COMPONENT_NAME$4,__name:"tab-bar",props:tabBarProps,setup(n,{expose:t}){const r=n,i=inject(tabsRootContextKey);i||throwError$1(COMPONENT_NAME$4,"");const g=useNamespace("tabs"),$=ref(),V=ref(),re=computed(()=>{var de;return isUndefined$1(i.props.defaultValue)||!!((de=V.value)!=null&&de.transform)}),ie=()=>{let de=0,he=0;const pe=["top","bottom"].includes(i.props.tabPosition)?"width":"height",_e=pe==="width"?"x":"y",Ce=_e==="x"?"left":"top";return r.tabs.every(xe=>{if(isUndefined$1(xe.paneName))return!1;const Ie=r.tabRefs[xe.paneName];if(!Ie)return!1;if(!xe.active)return!0;de=Ie[`offset${capitalize(Ce)}`],he=Ie[`client${capitalize(pe)}`];const Ne=window.getComputedStyle(Ie);return pe==="width"&&(he-=Number.parseFloat(Ne.paddingLeft)+Number.parseFloat(Ne.paddingRight),de+=Number.parseFloat(Ne.paddingLeft)),!1}),{[pe]:`${he}px`,transform:`translate${capitalize(_e)}(${de}px)`}},ae=()=>V.value=ie(),oe=[],le=()=>{oe.forEach(de=>de.stop()),oe.length=0,Object.values(r.tabRefs).forEach(de=>{oe.push(useResizeObserver(de,ae))})};watch(()=>r.tabs,async()=>{await nextTick(),ae(),le()},{immediate:!0});const ue=useResizeObserver($,()=>ae());return onBeforeUnmount(()=>{oe.forEach(de=>de.stop()),oe.length=0,ue.stop()}),t({ref:$,update:ae}),(de,he)=>re.value?(openBlock(),createElementBlock("div",{key:0,ref_key:"barRef",ref:$,class:normalizeClass([unref(g).e("active-bar"),unref(g).is(unref(i).props.tabPosition)]),style:normalizeStyle$1(V.value)},null,6)):createCommentVNode("v-if",!0)}});var TabBar=_export_sfc(_sfc_main$$,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-bar.vue"]]);const tabNavProps=buildProps({panes:{type:definePropType(Array),default:()=>mutable([])},currentName:{type:[String,Number],default:""},editable:Boolean,type:{type:String,values:["card","border-card",""],default:""},stretch:Boolean,tabindex:{type:[String,Number],default:void 0}}),tabNavEmits={tabClick:(n,t,r)=>r instanceof Event,tabRemove:(n,t)=>t instanceof Event},COMPONENT_NAME$3="ElTabNav",TabNav=defineComponent({name:COMPONENT_NAME$3,props:tabNavProps,emits:tabNavEmits,setup(n,{expose:t,emit:r}){const i=inject(tabsRootContextKey);i||throwError$1(COMPONENT_NAME$3,"");const g=useNamespace("tabs"),$=useDocumentVisibility(),V=useWindowFocus(),re=ref(),ie=ref(),ae=ref(),oe=ref({}),le=ref(),ue=ref(!1),de=ref(0),he=ref(!1),pe=ref(!0),_e=shallowRef(),Ce=computed(()=>["top","bottom"].includes(i.props.tabPosition)),xe=computed(()=>Ce.value?"width":"height"),Ie=computed(()=>({transform:`translate${xe.value==="width"?"X":"Y"}(-${de.value}px)`})),{width:Ne,height:Oe}=useElementSize(re),{width:$e,height:Ve}=useElementSize(ie,{width:0,height:0},{box:"border-box"}),Ue=computed(()=>Ce.value?Ne.value:Oe.value),Fe=computed(()=>Ce.value?$e.value:Ve.value),{onWheel:ze}=useWheel({atStartEdge:computed(()=>de.value<=0),atEndEdge:computed(()=>Fe.value-de.value<=Ue.value),layout:computed(()=>Ce.value?"horizontal":"vertical")},vn=>{de.value=clamp$3(de.value+vn,0,Fe.value-Ue.value)}),Pt=()=>{if(!re.value)return;const vn=re.value[`offset${capitalize(xe.value)}`],_n=de.value;if(!_n)return;const wn=_n>vn?_n-vn:0;de.value=wn},qe=()=>{if(!re.value||!ie.value)return;const vn=ie.value[`offset${capitalize(xe.value)}`],_n=re.value[`offset${capitalize(xe.value)}`],wn=de.value;if(vn-wn<=_n)return;const bn=vn-wn>_n*2?wn+_n:vn-_n;de.value=bn},Et=async()=>{const vn=ie.value;if(!ue.value||!ae.value||!re.value||!vn)return;await nextTick();const _n=oe.value[n.currentName];if(!_n)return;const wn=re.value,bn=_n.getBoundingClientRect(),Cn=wn.getBoundingClientRect(),Sn=Ce.value?vn.offsetWidth-Cn.width:vn.offsetHeight-Cn.height,Tn=de.value;let En=Tn;Ce.value?(bn.leftCn.right&&(En=Tn+bn.right-Cn.right)):(bn.topCn.bottom&&(En=Tn+(bn.bottom-Cn.bottom))),En=Math.max(En,0),de.value=Math.min(En,Sn)},kt=()=>{var vn;if(!ie.value||!re.value)return;n.stretch&&((vn=le.value)==null||vn.update());const _n=ie.value[`offset${capitalize(xe.value)}`],wn=re.value[`offset${capitalize(xe.value)}`],bn=de.value;wn<_n?(ue.value=ue.value||{},ue.value.prev=bn,ue.value.next=bn+wn<_n,_n-bn0&&(de.value=0))},At=vn=>{const _n=getEventCode(vn);let wn=0;switch(_n){case EVENT_CODE.left:case EVENT_CODE.up:wn=-1;break;case EVENT_CODE.right:case EVENT_CODE.down:wn=1;break;default:return}const bn=Array.from(vn.currentTarget.querySelectorAll("[role=tab]:not(.is-disabled)"));let Sn=bn.indexOf(vn.target)+wn;Sn<0?Sn=bn.length-1:Sn>=bn.length&&(Sn=0),bn[Sn].focus({preventScroll:!0}),bn[Sn].click(),Dt()},Dt=()=>{pe.value&&(he.value=!0)},Lt=()=>he.value=!1,jt=(vn,_n)=>{oe.value[_n]=vn},hn=async()=>{await nextTick();const vn=oe.value[n.currentName];vn==null||vn.focus({preventScroll:!0})};return watch($,vn=>{vn==="hidden"?pe.value=!1:vn==="visible"&&setTimeout(()=>pe.value=!0,50)}),watch(V,vn=>{vn?setTimeout(()=>pe.value=!0,50):pe.value=!1}),useResizeObserver(ae,()=>{rAF(kt)}),onMounted(()=>setTimeout(()=>Et(),0)),onUpdated(()=>kt()),t({scrollToActiveTab:Et,removeFocus:Lt,focusActiveTab:hn,tabListRef:ie,tabBarRef:le,scheduleRender:()=>triggerRef(_e)}),()=>{const vn=ue.value?[createVNode$1("span",{class:[g.e("nav-prev"),g.is("disabled",!ue.value.prev)],onClick:Pt},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_left_default,null,null)]})]),createVNode$1("span",{class:[g.e("nav-next"),g.is("disabled",!ue.value.next)],onClick:qe},[createVNode$1(ElIcon,null,{default:()=>[createVNode$1(arrow_right_default,null,null)]})])]:null,_n=n.panes.map((wn,bn)=>{var Cn,Sn,Tn,En,kn;const $n=wn.uid,An=wn.props.disabled,xn=(Sn=(Cn=wn.props.name)!=null?Cn:wn.index)!=null?Sn:`${bn}`,Ln=!An&&(wn.isClosable||wn.props.closable!==!1&&n.editable);wn.index=`${bn}`;const Nn=Ln?createVNode$1(ElIcon,{class:"is-icon-close",onClick:Hn=>r("tabRemove",wn,Hn)},{default:()=>[createVNode$1(close_default,null,null)]}):null,Pn=((En=(Tn=wn.slots).label)==null?void 0:En.call(Tn))||wn.props.label,On=!An&&wn.active?(kn=n.tabindex)!=null?kn:i.props.tabindex:-1;return createVNode$1("div",{ref:Hn=>jt(Hn,xn),class:[g.e("item"),g.is(i.props.tabPosition),g.is("active",wn.active),g.is("disabled",An),g.is("closable",Ln),g.is("focus",he.value)],id:`tab-${xn}`,key:`tab-${$n}`,"aria-controls":`pane-${xn}`,role:"tab","aria-selected":wn.active,tabindex:On,onFocus:()=>Dt(),onBlur:()=>Lt(),onClick:Hn=>{Lt(),r("tabClick",wn,xn,Hn)},onKeydown:Hn=>{const Xn=getEventCode(Hn);Ln&&(Xn===EVENT_CODE.delete||Xn===EVENT_CODE.backspace)&&r("tabRemove",wn,Hn)}},[Pn,Nn])});return _e.value,createVNode$1("div",{ref:ae,class:[g.e("nav-wrap"),g.is("scrollable",!!ue.value),g.is(i.props.tabPosition)]},[vn,createVNode$1("div",{class:g.e("nav-scroll"),ref:re},[n.panes.length>0?createVNode$1("div",{class:[g.e("nav"),g.is(i.props.tabPosition),g.is("stretch",n.stretch&&["top","bottom"].includes(i.props.tabPosition))],ref:ie,style:Ie.value,role:"tablist",onKeydown:At,onWheel:ze},[n.type?null:createVNode$1(TabBar,{ref:le,tabs:[...n.panes],tabRefs:oe.value},null),_n]):null])])}}}),tabsProps=buildProps({type:{type:String,values:["card","border-card",""],default:""},closable:Boolean,addable:Boolean,modelValue:{type:[String,Number]},defaultValue:{type:[String,Number]},editable:Boolean,tabPosition:{type:String,values:["top","right","bottom","left"],default:"top"},beforeLeave:{type:definePropType(Function),default:()=>!0},stretch:Boolean,tabindex:{type:[String,Number],default:0}}),isPaneName=n=>isString$2(n)||isNumber$2(n),tabsEmits={[UPDATE_MODEL_EVENT]:n=>isPaneName(n),tabClick:(n,t)=>t instanceof Event,tabChange:n=>isPaneName(n),edit:(n,t)=>["remove","add"].includes(t),tabRemove:n=>isPaneName(n),tabAdd:()=>!0},Tabs=defineComponent({name:"ElTabs",props:tabsProps,emits:tabsEmits,setup(n,{emit:t,slots:r,expose:i}){var g;const $=useNamespace("tabs"),V=computed(()=>["left","right"].includes(n.tabPosition)),{children:re,addChild:ie,removeChild:ae,ChildrenSorter:oe}=useOrderedChildren(getCurrentInstance(),"ElTabPane"),le=ref(),ue=ref((g=isUndefined$1(n.modelValue)?n.defaultValue:n.modelValue)!=null?g:"0"),de=async(Ie,Ne=!1)=>{var Oe,$e,Ve,Ue;if(!(ue.value===Ie||isUndefined$1(Ie)))try{let Fe;if(n.beforeLeave){const ze=n.beforeLeave(Ie,ue.value);Fe=ze instanceof Promise?await ze:ze}else Fe=!0;if(Fe!==!1){const ze=(Oe=re.value.find(Pt=>Pt.paneName===ue.value))==null?void 0:Oe.isFocusInsidePane();ue.value=Ie,Ne&&(t(UPDATE_MODEL_EVENT,Ie),t("tabChange",Ie)),(Ve=($e=le.value)==null?void 0:$e.removeFocus)==null||Ve.call($e),ze&&((Ue=le.value)==null||Ue.focusActiveTab())}}catch{}},he=(Ie,Ne,Oe)=>{Ie.props.disabled||(t("tabClick",Ie,Oe),de(Ne,!0))},pe=(Ie,Ne)=>{Ie.props.disabled||isUndefined$1(Ie.props.name)||(Ne.stopPropagation(),t("edit",Ie.props.name,"remove"),t("tabRemove",Ie.props.name))},_e=()=>{t("edit",void 0,"add"),t("tabAdd")},Ce=Ie=>{const Ne=getEventCode(Ie);[EVENT_CODE.enter,EVENT_CODE.numpadEnter].includes(Ne)&&_e()},xe=Ie=>{const Ne=Ie.el.firstChild,Oe=["bottom","right"].includes(n.tabPosition)?Ie.children[0].el:Ie.children[1].el;Ne!==Oe&&Ne.before(Oe)};return watch(()=>n.modelValue,Ie=>de(Ie)),watch(ue,async()=>{var Ie;await nextTick(),(Ie=le.value)==null||Ie.scrollToActiveTab()}),provide(tabsRootContextKey,{props:n,currentName:ue,registerPane:ie,unregisterPane:ae,nav$:le}),i({currentName:ue,get tabNavRef(){return omit$1(le.value,["scheduleRender"])}}),()=>{const Ie=r["add-icon"],Ne=n.editable||n.addable?createVNode$1("div",{class:[$.e("new-tab"),V.value&&$.e("new-tab-vertical")],tabindex:n.tabindex,onClick:_e,onKeydown:Ce},[Ie?renderSlot(r,"add-icon"):createVNode$1(ElIcon,{class:$.is("icon-plus")},{default:()=>[createVNode$1(plus_default,null,null)]})]):null,Oe=()=>createVNode$1(TabNav,{ref:le,currentName:ue.value,editable:n.editable,type:n.type,panes:re.value,stretch:n.stretch,onTabClick:he,onTabRemove:pe},null),$e=createVNode$1("div",{class:[$.e("header"),V.value&&$.e("header-vertical"),$.is(n.tabPosition)]},[createVNode$1(oe,null,{default:Oe,$stable:!0}),Ne]),Ve=createVNode$1("div",{class:$.e("content")},[renderSlot(r,"default")]);return createVNode$1("div",{class:[$.b(),$.m(n.tabPosition),{[$.m("card")]:n.type==="card",[$.m("border-card")]:n.type==="border-card"}],onVnodeMounted:xe,onVnodeUpdated:xe},[Ve,$e])}}}),tabPaneProps=buildProps({label:{type:String,default:""},name:{type:[String,Number]},closable:{type:Boolean,default:void 0},disabled:Boolean,lazy:Boolean}),_hoisted_1$D=["id","aria-hidden","aria-labelledby"],COMPONENT_NAME$2="ElTabPane",_sfc_main$_=defineComponent({name:COMPONENT_NAME$2,__name:"tab-pane",props:tabPaneProps,setup(n){const t=n,r=getCurrentInstance(),i=useSlots(),g=inject(tabsRootContextKey);g||throwError$1(COMPONENT_NAME$2,"usage: ");const $=useNamespace("tab-pane"),V=ref(),re=ref(),ie=computed(()=>{var pe;return(pe=t.closable)!=null?pe:g.props.closable}),ae=computed(()=>{var pe;return g.currentName.value===((pe=t.name)!=null?pe:re.value)}),oe=ref(ae.value),le=computed(()=>{var pe;return(pe=t.name)!=null?pe:re.value}),ue=computed(()=>!t.lazy||oe.value||ae.value),de=()=>{var pe;return(pe=V.value)==null?void 0:pe.contains(document.activeElement)};watch(ae,pe=>{pe&&(oe.value=!0)});const he=reactive({uid:r.uid,getVnode:()=>r.vnode,slots:i,props:t,paneName:le,active:ae,index:re,isClosable:ie,isFocusInsidePane:de});return g.registerPane(he),onBeforeUnmount(()=>{g.unregisterPane(he)}),onBeforeUpdate(()=>{var pe;i.label&&((pe=g.nav$.value)==null||pe.scheduleRender())}),(pe,_e)=>ue.value?withDirectives((openBlock(),createElementBlock("div",{key:0,id:`pane-${le.value}`,ref_key:"paneRef",ref:V,class:normalizeClass(unref($).b()),role:"tabpanel","aria-hidden":!ae.value,"aria-labelledby":`tab-${le.value}`},[renderSlot(pe.$slots,"default")],10,_hoisted_1$D)),[[vShow,ae.value]]):createCommentVNode("v-if",!0)}});var TabPane=_export_sfc(_sfc_main$_,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tabs/src/tab-pane.vue"]]);const ElTabs=withInstall(Tabs,{TabPane}),ElTabPane=withNoopInstall(TabPane),textProps=buildProps({type:{type:String,values:["primary","success","info","warning","danger",""],default:""},size:{type:String,values:componentSizes,default:""},truncated:Boolean,lineClamp:{type:[String,Number]},tag:{type:String,default:"span"}}),_sfc_main$Z=defineComponent({name:"ElText",__name:"text",props:textProps,setup(n){const t=n,r=ref(),i=useFormSize(),g=useNamespace("text"),$=computed(()=>[g.b(),g.m(t.type),g.m(i.value),g.is("truncated",t.truncated),g.is("line-clamp",!isUndefined$1(t.lineClamp))]),V=()=>{var re,ie,ae,oe,le,ue,de;if(useAttrs$1().title)return;let pe=!1;const _e=((re=r.value)==null?void 0:re.textContent)||"";if(t.truncated){const Ce=(ie=r.value)==null?void 0:ie.offsetWidth,xe=(ae=r.value)==null?void 0:ae.scrollWidth;Ce&&xe&&xe>Ce&&(pe=!0)}else if(!isUndefined$1(t.lineClamp)){const Ce=(oe=r.value)==null?void 0:oe.offsetHeight,xe=(le=r.value)==null?void 0:le.scrollHeight;Ce&&xe&&xe>Ce&&(pe=!0)}pe?(ue=r.value)==null||ue.setAttribute("title",_e):(de=r.value)==null||de.removeAttribute("title")};return onMounted(V),onUpdated(V),(re,ie)=>(openBlock(),createBlock(resolveDynamicComponent(re.tag),{ref_key:"textRef",ref:r,class:normalizeClass($.value),style:normalizeStyle$1({"-webkit-line-clamp":re.lineClamp})},{default:withCtx(()=>[renderSlot(re.$slots,"default")]),_:3},8,["class","style"]))}});var Text=_export_sfc(_sfc_main$Z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/text/src/text.vue"]]);const ElText=withInstall(Text),timeSelectProps=buildProps({format:{type:String,default:"HH:mm"},modelValue:{type:definePropType(String)},disabled:{type:Boolean,default:void 0},editable:{type:Boolean,default:!0},effect:{type:definePropType(String),default:"light"},clearable:{type:Boolean,default:!0},size:useSizeProp,placeholder:String,start:{type:String,default:"09:00"},end:{type:String,default:"18:00"},step:{type:String,default:"00:30"},minTime:{type:definePropType(String)},maxTime:{type:definePropType(String)},includeEndTime:Boolean,name:String,prefixIcon:{type:definePropType([String,Object]),default:()=>clock_default},clearIcon:{type:definePropType([String,Object]),default:()=>circle_close_default},popperClass:{type:String,default:""},popperStyle:{type:definePropType([String,Object])},...useEmptyValuesProps}),parseTime=n=>{const t=(n||"").split(":");if(t.length>=2){let r=Number.parseInt(t[0],10);const i=Number.parseInt(t[1],10),g=n.toUpperCase();return g.includes("AM")&&r===12?r=0:g.includes("PM")&&r!==12&&(r+=12),{hours:r,minutes:i}}return null},compareTime=(n,t)=>{const r=parseTime(n);if(!r)return-1;const i=parseTime(t);if(!i)return-1;const g=r.minutes+r.hours*60,$=i.minutes+i.hours*60;return g===$?0:g>$?1:-1},padTime=n=>`${n}`.padStart(2,"0"),formatTime=n=>`${padTime(n.hours)}:${padTime(n.minutes)}`,nextTime=(n,t)=>{const r=parseTime(n);if(!r)return"";const i=parseTime(t);if(!i)return"";const g={hours:r.hours,minutes:r.minutes};return g.minutes+=i.minutes,g.hours+=i.hours,g.hours+=Math.floor(g.minutes/60),g.minutes=g.minutes%60,formatTime(g)},_sfc_main$Y=defineComponent({name:"ElTimeSelect",__name:"time-select",props:timeSelectProps,emits:[CHANGE_EVENT,"blur","focus","clear",UPDATE_MODEL_EVENT],setup(n,{expose:t}){dayjs.extend(customParseFormat);const{Option:r}=ElSelect,i=n,g=useNamespace("input"),$=ref(),V=useFormDisabled(),{lang:re}=useLocale(),ie=computed(()=>i.modelValue),ae=computed(()=>{const Ce=parseTime(i.start);return Ce?formatTime(Ce):null}),oe=computed(()=>{const Ce=parseTime(i.end);return Ce?formatTime(Ce):null}),le=computed(()=>{const Ce=parseTime(i.step);return Ce?formatTime(Ce):null}),ue=computed(()=>{const Ce=parseTime(i.minTime||"");return Ce?formatTime(Ce):null}),de=computed(()=>{const Ce=parseTime(i.maxTime||"");return Ce?formatTime(Ce):null}),he=computed(()=>{var Ce;const xe=[],Ie=(Ne,Oe)=>{xe.push({value:Ne,disabled:compareTime(Oe,ue.value||"-1:-1")<=0||compareTime(Oe,de.value||"100:100")>=0})};if(i.start&&i.end&&i.step){let Ne=ae.value,Oe;for(;Ne&&oe.value&&compareTime(Ne,oe.value)<=0;)Oe=dayjs(Ne,"HH:mm").locale(re.value).format(i.format),Ie(Oe,Ne),Ne=nextTime(Ne,le.value);if(i.includeEndTime&&oe.value&&((Ce=xe[xe.length-1])==null?void 0:Ce.value)!==oe.value){const $e=dayjs(oe.value,"HH:mm").locale(re.value).format(i.format);Ie($e,oe.value)}}return xe});return t({blur:()=>{var Ce,xe;(xe=(Ce=$.value)==null?void 0:Ce.blur)==null||xe.call(Ce)},focus:()=>{var Ce,xe;(xe=(Ce=$.value)==null?void 0:Ce.focus)==null||xe.call(Ce)}}),(Ce,xe)=>(openBlock(),createBlock(unref(ElSelect),{ref_key:"select",ref:$,"model-value":ie.value,disabled:unref(V),clearable:Ce.clearable,"clear-icon":Ce.clearIcon,size:Ce.size,effect:Ce.effect,placeholder:Ce.placeholder,"default-first-option":"",filterable:Ce.editable,"empty-values":Ce.emptyValues,"value-on-clear":Ce.valueOnClear,"popper-class":Ce.popperClass,"popper-style":Ce.popperStyle,"onUpdate:modelValue":xe[0]||(xe[0]=Ie=>Ce.$emit(unref(UPDATE_MODEL_EVENT),Ie)),onChange:xe[1]||(xe[1]=Ie=>Ce.$emit(unref(CHANGE_EVENT),Ie)),onBlur:xe[2]||(xe[2]=Ie=>Ce.$emit("blur",Ie)),onFocus:xe[3]||(xe[3]=Ie=>Ce.$emit("focus",Ie)),onClear:xe[4]||(xe[4]=()=>Ce.$emit("clear"))},{prefix:withCtx(()=>[Ce.prefixIcon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(g).e("prefix-icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ce.prefixIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)]),default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(he.value,Ie=>(openBlock(),createBlock(unref(r),{key:Ie.value,label:Ie.value,value:Ie.value,disabled:Ie.disabled},null,8,["label","value","disabled"]))),128))]),_:1},8,["model-value","disabled","clearable","clear-icon","size","effect","placeholder","filterable","empty-values","value-on-clear","popper-class","popper-style"]))}});var TimeSelect=_export_sfc(_sfc_main$Y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/time-select/src/time-select.vue"]]);const ElTimeSelect=withInstall(TimeSelect),TIMELINE_INJECTION_KEY="timeline",timelineProps=buildProps({mode:{type:String,values:["start","alternate","alternate-reverse","end"],default:"start"},reverse:Boolean}),Timeline$1=defineComponent({name:"ElTimeline",props:timelineProps,setup(n,{slots:t}){const r=useNamespace("timeline");provide(TIMELINE_INJECTION_KEY,{props:n,slots:t});const i=computed(()=>[r.b(),r.is(n.mode)]);return()=>{var g,$;const V=flattedChildren(($=(g=t.default)==null?void 0:g.call(t))!=null?$:[]);return h$1("ul",{class:i.value},n.reverse?V.reverse():V)}}}),timelineItemProps=buildProps({timestamp:{type:String,default:""},hideTimestamp:Boolean,center:Boolean,placement:{type:String,values:["top","bottom"],default:"bottom"},type:{type:String,values:["primary","success","warning","danger","info"],default:""},color:{type:String,default:""},size:{type:String,values:["normal","large"],default:"normal"},icon:{type:iconPropType},hollow:Boolean}),_sfc_main$X=defineComponent({name:"ElTimelineItem",__name:"timeline-item",props:timelineItemProps,setup(n){const t=n,{props:r}=inject(TIMELINE_INJECTION_KEY),i=useNamespace("timeline-item"),g=computed(()=>[i.e("node"),i.em("node",t.size||""),i.em("node",t.type||""),i.is("hollow",t.hollow)]),$=computed(()=>[i.b(),{[i.e("center")]:t.center},i.is(r.mode)]);return(V,re)=>(openBlock(),createElementBlock("li",{class:normalizeClass($.value)},[createBaseVNode("div",{class:normalizeClass(unref(i).e("tail"))},null,2),V.$slots.dot?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(g.value),style:normalizeStyle$1({backgroundColor:V.color})},[V.icon?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(i).e("icon"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(V.icon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],6)),V.$slots.dot?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(i).e("dot"))},[renderSlot(V.$slots,"dot")],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(i).e("wrapper"))},[!V.hideTimestamp&&V.placement==="top"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(i).e("timestamp"),unref(i).is("top")])},toDisplayString(V.timestamp),3)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(i).e("content"))},[renderSlot(V.$slots,"default")],2),!V.hideTimestamp&&V.placement==="bottom"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(i).e("timestamp"),unref(i).is("bottom")])},toDisplayString(V.timestamp),3)):createCommentVNode("v-if",!0)],2)],2))}});var TimelineItem=_export_sfc(_sfc_main$X,[["__file","/home/runner/work/element-plus/element-plus/packages/components/timeline/src/timeline-item.vue"]]);const ElTimeline=withInstall(Timeline$1,{TimelineItem}),ElTimelineItem=withNoopInstall(TimelineItem),LEFT_CHECK_CHANGE_EVENT="left-check-change",RIGHT_CHECK_CHANGE_EVENT="right-check-change",transferProps=buildProps({data:{type:definePropType(Array),default:()=>[]},titles:{type:definePropType(Array),default:()=>[]},buttonTexts:{type:definePropType(Array),default:()=>[]},filterPlaceholder:String,filterMethod:{type:definePropType(Function)},leftDefaultChecked:{type:definePropType(Array),default:()=>[]},rightDefaultChecked:{type:definePropType(Array),default:()=>[]},renderContent:{type:definePropType(Function)},modelValue:{type:definePropType(Array),default:()=>[]},format:{type:definePropType(Object),default:()=>({})},filterable:Boolean,props:{type:definePropType(Object),default:()=>mutable({label:"label",key:"key",disabled:"disabled"})},targetOrder:{type:String,values:["original","push","unshift"],default:"original"},validateEvent:{type:Boolean,default:!0}}),transferCheckedChangeFn=(n,t)=>[n,t].every(isArray$5)||isArray$5(n)&&isNil(t),transferEmits={[CHANGE_EVENT]:(n,t,r)=>[n,r].every(isArray$5)&&["left","right"].includes(t),[UPDATE_MODEL_EVENT]:n=>isArray$5(n),[LEFT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn,[RIGHT_CHECK_CHANGE_EVENT]:transferCheckedChangeFn},CHECKED_CHANGE_EVENT="checked-change",transferPanelProps=buildProps({data:transferProps.data,optionRender:{type:definePropType(Function)},placeholder:String,title:String,filterable:Boolean,format:transferProps.format,filterMethod:transferProps.filterMethod,defaultChecked:transferProps.leftDefaultChecked,props:transferProps.props}),transferPanelEmits={[CHECKED_CHANGE_EVENT]:transferCheckedChangeFn},usePropsAlias=n=>{const t={label:"label",key:"key",disabled:"disabled"};return computed(()=>({...t,...n.props}))},useCheck$1=(n,t,r)=>{const i=usePropsAlias(n),g=computed(()=>n.data.filter(oe=>isFunction$4(n.filterMethod)?n.filterMethod(t.query,oe):String(oe[i.value.label]||oe[i.value.key]).toLowerCase().includes(t.query.toLowerCase()))),$=computed(()=>g.value.filter(oe=>!oe[i.value.disabled])),V=computed(()=>{const oe=t.checked.length,le=n.data.length,{noChecked:ue,hasChecked:de}=n.format;return ue&&de?oe>0?de.replace(/\${checked}/g,oe.toString()).replace(/\${total}/g,le.toString()):ue.replace(/\${total}/g,le.toString()):`${oe}/${le}`}),re=computed(()=>{const oe=t.checked.length;return oe>0&&oe<$.value.length}),ie=()=>{const oe=$.value.map(le=>le[i.value.key]);t.allChecked=oe.length>0&&oe.every(le=>t.checked.includes(le))},ae=oe=>{t.checked=oe?$.value.map(le=>le[i.value.key]):[]};return watch(()=>t.checked,(oe,le)=>{if(ie(),t.checkChangeByUser){const ue=oe.concat(le).filter(de=>!oe.includes(de)||!le.includes(de));r(CHECKED_CHANGE_EVENT,oe,ue)}else r(CHECKED_CHANGE_EVENT,oe),t.checkChangeByUser=!0}),watch($,()=>{ie()}),watch(()=>n.data,()=>{const oe=[],le=g.value.map(ue=>ue[i.value.key]);t.checked.forEach(ue=>{le.includes(ue)&&oe.push(ue)}),t.checkChangeByUser=!1,t.checked=oe}),watch(()=>n.defaultChecked,(oe,le)=>{if(le&&oe.length===le.length&&oe.every(he=>le.includes(he)))return;const ue=[],de=$.value.map(he=>he[i.value.key]);oe.forEach(he=>{de.includes(he)&&ue.push(he)}),t.checkChangeByUser=!1,t.checked=ue},{immediate:!0}),{filteredData:g,checkableData:$,checkedSummary:V,isIndeterminate:re,updateAllChecked:ie,handleAllCheckedChange:ae}},_sfc_main$W=defineComponent({name:"ElTransferPanel",__name:"transfer-panel",props:transferPanelProps,emits:transferPanelEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useSlots(),V=({option:Ne})=>Ne,{t:re}=useLocale(),ie=useNamespace("transfer"),ae=reactive({checked:[],allChecked:!1,query:"",checkChangeByUser:!0}),oe=usePropsAlias(i),{filteredData:le,checkedSummary:ue,isIndeterminate:de,handleAllCheckedChange:he}=useCheck$1(i,ae,g),pe=computed(()=>!isEmpty(ae.query)&&isEmpty(le.value)),_e=computed(()=>!isEmpty($.default()[0].children)),{checked:Ce,allChecked:xe,query:Ie}=toRefs(ae);return t({query:Ie}),(Ne,Oe)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(ie).b("panel"))},[createBaseVNode("p",{class:normalizeClass(unref(ie).be("panel","header"))},[createVNode$1(unref(ElCheckbox),{modelValue:unref(xe),"onUpdate:modelValue":Oe[0]||(Oe[0]=$e=>isRef(xe)?xe.value=$e:null),indeterminate:unref(de),"validate-event":!1,onChange:unref(he)},{default:withCtx(()=>[createTextVNode(toDisplayString(Ne.title)+" ",1),createBaseVNode("span",null,toDisplayString(unref(ue)),1)]),_:1},8,["modelValue","indeterminate","onChange"])],2),createBaseVNode("div",{class:normalizeClass([unref(ie).be("panel","body"),unref(ie).is("with-footer",_e.value)])},[Ne.filterable?(openBlock(),createBlock(unref(ElInput),{key:0,modelValue:unref(Ie),"onUpdate:modelValue":Oe[1]||(Oe[1]=$e=>isRef(Ie)?Ie.value=$e:null),class:normalizeClass(unref(ie).be("panel","filter")),size:"default",placeholder:Ne.placeholder,"prefix-icon":unref(search_default),clearable:"","validate-event":!1},null,8,["modelValue","class","placeholder","prefix-icon"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(unref(ElCheckboxGroup),{modelValue:unref(Ce),"onUpdate:modelValue":Oe[2]||(Oe[2]=$e=>isRef(Ce)?Ce.value=$e:null),"validate-event":!1,class:normalizeClass([unref(ie).is("filterable",Ne.filterable),unref(ie).be("panel","list")])},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(le),$e=>(openBlock(),createBlock(unref(ElCheckbox),{key:$e[unref(oe).key],class:normalizeClass(unref(ie).be("panel","item")),value:$e[unref(oe).key],disabled:$e[unref(oe).disabled],"validate-event":!1},{default:withCtx(()=>{var Ve;return[createVNode$1(V,{option:(Ve=Ne.optionRender)==null?void 0:Ve.call(Ne,$e)},null,8,["option"])]}),_:2},1032,["class","value","disabled"]))),128))]),_:1},8,["modelValue","class"]),[[vShow,!pe.value&&!unref(isEmpty)(Ne.data)]]),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(ie).be("panel","empty"))},[renderSlot(Ne.$slots,"empty",{},()=>[createTextVNode(toDisplayString(pe.value?unref(re)("el.transfer.noMatch"):unref(re)("el.transfer.noData")),1)])],2),[[vShow,pe.value||unref(isEmpty)(Ne.data)]])],2),_e.value?(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(ie).be("panel","footer"))},[renderSlot(Ne.$slots,"default")],2)):createCommentVNode("v-if",!0)],2))}});var TransferPanel=_export_sfc(_sfc_main$W,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer-panel.vue"]]);const useComputedData=n=>{const t=usePropsAlias(n),r=computed(()=>n.data.reduce(($,V)=>($[V[t.value.key]]=V)&&$,{})),i=computed(()=>n.data.filter($=>!n.modelValue.includes($[t.value.key]))),g=computed(()=>n.targetOrder==="original"?n.data.filter($=>n.modelValue.includes($[t.value.key])):n.modelValue.reduce(($,V)=>{const re=r.value[V];return re&&$.push(re),$},[]));return{sourceData:i,targetData:g}},useMove=(n,t,r)=>{const i=usePropsAlias(n),g=(re,ie,ae)=>{r(UPDATE_MODEL_EVENT,re),r(CHANGE_EVENT,re,ie,ae)};return{addToLeft:()=>{const re=n.modelValue.slice();t.rightChecked.forEach(ie=>{const ae=re.indexOf(ie);ae>-1&&re.splice(ae,1)}),g(re,"left",t.rightChecked)},addToRight:()=>{let re=n.modelValue.slice();const ie=n.data.filter(ae=>{const oe=ae[i.value.key];return t.leftChecked.includes(oe)&&!n.modelValue.includes(oe)}).map(ae=>ae[i.value.key]);re=n.targetOrder==="unshift"?ie.concat(re):re.concat(ie),n.targetOrder==="original"&&(re=n.data.filter(ae=>re.includes(ae[i.value.key])).map(ae=>ae[i.value.key])),g(re,"right",t.leftChecked)}}},useCheckedChange=(n,t)=>({onSourceCheckedChange:(g,$)=>{n.leftChecked=g,$&&t(LEFT_CHECK_CHANGE_EVENT,g,$)},onTargetCheckedChange:(g,$)=>{n.rightChecked=g,$&&t(RIGHT_CHECK_CHANGE_EVENT,g,$)}}),_hoisted_1$C={key:0},_hoisted_2$r={key:0},_sfc_main$V=defineComponent({name:"ElTransfer",__name:"transfer",props:transferProps,emits:transferEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useSlots(),{t:V}=useLocale(),re=useNamespace("transfer"),{formItem:ie}=useFormItem(),ae=reactive({leftChecked:[],rightChecked:[]}),oe=usePropsAlias(i),{sourceData:le,targetData:ue}=useComputedData(i),{onSourceCheckedChange:de,onTargetCheckedChange:he}=useCheckedChange(ae,g),{addToLeft:pe,addToRight:_e}=useMove(i,ae,g),Ce=ref(),xe=ref(),Ie=Fe=>{switch(Fe){case"left":Ce.value.query="";break;case"right":xe.value.query="";break}},Ne=computed(()=>i.buttonTexts.length===2),Oe=computed(()=>i.titles[0]||V("el.transfer.titles.0")),$e=computed(()=>i.titles[1]||V("el.transfer.titles.1")),Ve=computed(()=>i.filterPlaceholder||V("el.transfer.filterPlaceholder"));watch(()=>i.modelValue,()=>{var Fe;i.validateEvent&&((Fe=ie==null?void 0:ie.validate)==null||Fe.call(ie,"change").catch(ze=>void 0))});const Ue=computed(()=>Fe=>{var ze;if(i.renderContent)return i.renderContent(h$1,Fe);const Pt=(((ze=$.default)==null?void 0:ze.call($,{option:Fe}))||[]).filter(qe=>qe.type!==Comment);return Pt.length?Pt:h$1("span",Fe[oe.value.label]||Fe[oe.value.key])});return t({clearQuery:Ie,leftPanel:Ce,rightPanel:xe}),(Fe,ze)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(re).b())},[createVNode$1(TransferPanel,{ref_key:"leftPanel",ref:Ce,data:unref(le),"option-render":Ue.value,placeholder:Ve.value,title:Oe.value,filterable:Fe.filterable,format:Fe.format,"filter-method":Fe.filterMethod,"default-checked":Fe.leftDefaultChecked,props:i.props,onCheckedChange:unref(de)},{empty:withCtx(()=>[renderSlot(Fe.$slots,"left-empty")]),default:withCtx(()=>[renderSlot(Fe.$slots,"left-footer")]),_:3},8,["data","option-render","placeholder","title","filterable","format","filter-method","default-checked","props","onCheckedChange"]),createBaseVNode("div",{class:normalizeClass(unref(re).e("buttons"))},[createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(re).e("button"),unref(re).is("with-texts",Ne.value)]),disabled:unref(isEmpty)(ae.rightChecked),onClick:unref(pe)},{default:withCtx(()=>[createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_left_default))]),_:1}),unref(isUndefined$1)(Fe.buttonTexts[0])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_1$C,toDisplayString(Fe.buttonTexts[0]),1))]),_:1},8,["class","disabled","onClick"]),createVNode$1(unref(ElButton),{type:"primary",class:normalizeClass([unref(re).e("button"),unref(re).is("with-texts",Ne.value)]),disabled:unref(isEmpty)(ae.leftChecked),onClick:unref(_e)},{default:withCtx(()=>[unref(isUndefined$1)(Fe.buttonTexts[1])?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",_hoisted_2$r,toDisplayString(Fe.buttonTexts[1]),1)),createVNode$1(unref(ElIcon),null,{default:withCtx(()=>[createVNode$1(unref(arrow_right_default))]),_:1})]),_:1},8,["class","disabled","onClick"])],2),createVNode$1(TransferPanel,{ref_key:"rightPanel",ref:xe,data:unref(ue),"option-render":Ue.value,placeholder:Ve.value,filterable:Fe.filterable,format:Fe.format,"filter-method":Fe.filterMethod,title:$e.value,"default-checked":Fe.rightDefaultChecked,props:i.props,onCheckedChange:unref(he)},{empty:withCtx(()=>[renderSlot(Fe.$slots,"right-empty")]),default:withCtx(()=>[renderSlot(Fe.$slots,"right-footer")]),_:3},8,["data","option-render","placeholder","filterable","format","filter-method","title","default-checked","props","onCheckedChange"])],2))}});var Transfer=_export_sfc(_sfc_main$V,[["__file","/home/runner/work/element-plus/element-plus/packages/components/transfer/src/transfer.vue"]]);const ElTransfer=withInstall(Transfer),NODE_KEY="$treeNodeId",markNodeData=function(n,t){!t||t[NODE_KEY]||Object.defineProperty(t,NODE_KEY,{value:n.id,enumerable:!1,configurable:!1,writable:!1})},getNodeKey=(n,t)=>t==null?void 0:t[n||NODE_KEY],handleCurrentChange=(n,t,r)=>{const i=n.value.currentNode;r();const g=n.value.currentNode;i!==g&&t("current-change",g?g.data:null,g)},getChildState=n=>{let t=!0,r=!0,i=!0,g=!0;for(let $=0,V=n.length;${r.canFocus=t,setCanFocus(r.childNodes,t)})};let nodeIdSeed=0,Node$1=class hi{constructor(t){this.isLeafByUser=void 0,this.isLeaf=void 0,this.isEffectivelyChecked=!1,this.id=nodeIdSeed++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0,this.isCurrent=!1,this.canFocus=!1;for(const r in t)hasOwn$1(t,r)&&(this[r]=t[r]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1)}initialize(){var t;const r=this.store;if(!r)throw new Error("[Node]store is required!");r.registerNode(this);const i=r.props;if(i&&typeof i.isLeaf<"u"){const V=getPropertyFromData(this,"isLeaf");isBoolean$1(V)&&(this.isLeafByUser=V)}if(r.lazy!==!0&&this.data?(this.setData(this.data),r.defaultExpandAll&&(this.expanded=!0,this.canFocus=!0)):this.level>0&&r.lazy&&r.defaultExpandAll&&!this.isLeafByUser&&this.expand(),isArray$5(this.data)||markNodeData(this,this.data),!this.data)return;const g=r.defaultExpandedKeys,$=r.key;$&&!isNil(this.key)&&g&&g.includes(this.key)&&this.expand(null,r.autoExpandParent),$&&r.currentNodeKey!==void 0&&this.key===r.currentNodeKey&&(r.currentNode&&(r.currentNode.isCurrent=!1),r.currentNode=this,r.currentNode.isCurrent=!0),r.lazy&&r._initDefaultCheckedNode(this),this.updateLeafState(),(this.level===1||((t=this.parent)==null?void 0:t.expanded)===!0)&&(this.canFocus=!0)}setData(t){isArray$5(t)||markNodeData(this,t),this.data=t,this.childNodes=[];let r;this.level===0&&isArray$5(this.data)?r=this.data:r=getPropertyFromData(this,"children")||[];for(let i=0,g=r.length;i-1)return t.childNodes[r+1]}return null}get previousSibling(){const t=this.parent;if(t){const r=t.childNodes.indexOf(this);if(r>-1)return r>0?t.childNodes[r-1]:null}return null}contains(t,r=!0){return(this.childNodes||[]).some(i=>i===t||r&&i.contains(t))}remove(){const t=this.parent;t&&t.removeChild(this)}insertChild(t,r,i){if(!t)throw new Error("InsertChild error: child is required.");if(!(t instanceof hi)){if(!i){const g=this.getChildren(!0);g!=null&&g.includes(t.data)||(isUndefined$1(r)||r<0?g==null||g.push(t.data):g==null||g.splice(r,0,t.data))}Object.assign(t,{parent:this,store:this.store}),t=reactive(new hi(t)),t instanceof hi&&t.initialize()}t.level=this.level+1,isUndefined$1(r)||r<0?this.childNodes.push(t):this.childNodes.splice(r,0,t),this.updateLeafState()}insertBefore(t,r){let i;r&&(i=this.childNodes.indexOf(r)),this.insertChild(t,i)}insertAfter(t,r){let i;r&&(i=this.childNodes.indexOf(r),i!==-1&&(i+=1)),this.insertChild(t,i)}removeChild(t){const r=this.getChildren()||[],i=r.indexOf(t.data);i>-1&&r.splice(i,1);const g=this.childNodes.indexOf(t);g>-1&&(this.store&&this.store.deregisterNode(t),t.parent=null,this.childNodes.splice(g,1)),this.updateLeafState()}removeChildByData(t){const r=this.childNodes.find(i=>i.data===t);r&&this.removeChild(r)}expand(t,r){const i=()=>{if(r){let g=this.parent;for(;g&&g.level>0;)g.expanded=!0,g=g.parent}this.expanded=!0,t&&t(),setCanFocus(this.childNodes,!0)};this.shouldLoadData()?this.loadData(g=>{isArray$5(g)&&(this.checked?this.setChecked(!0,!0):this.store.checkStrictly||reInitChecked(this),i())}):i()}doCreateChildren(t,r={}){t.forEach(i=>{this.insertChild(Object.assign({data:i},r),void 0,!0)})}collapse(){this.expanded=!1,setCanFocus(this.childNodes,!1)}shouldLoadData(){return!!(this.store.lazy===!0&&this.store.load&&!this.loaded)}updateLeafState(){if(this.store.lazy===!0&&this.loaded!==!0&&typeof this.isLeafByUser<"u"){this.isLeaf=this.isLeafByUser,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}const t=this.childNodes;if(!this.store.lazy||this.store.lazy===!0&&this.loaded===!0){this.isLeaf=!t||t.length===0,this.isEffectivelyChecked=this.isLeaf&&this.disabled;return}this.isLeaf=!1}setChecked(t,r,i,g){if(this.indeterminate=t==="half",this.checked=t===!0,this.isEffectivelyChecked=!this.childNodes.length&&(this.disabled||this.checked),this.store.checkStrictly)return;if(!(this.shouldLoadData()&&!this.store.checkDescendants)){const V=()=>{if(r){const re=this.childNodes;for(let le=0,ue=re.length;le{V(),reInitChecked(this)},{checked:t!==!1});return}else V()}const $=this.parent;!$||$.level===0||i||reInitChecked($)}getChildren(t=!1){if(this.level===0)return this.data;const r=this.data;if(!r)return null;const i=this.store.props;let g="children";return i&&(g=i.children||"children"),isUndefined$1(r[g])&&(r[g]=null),t&&!r[g]&&(r[g]=[]),r[g]}updateChildren(){const t=this.getChildren()||[],r=this.childNodes.map($=>$.data),i={},g=[];t.forEach(($,V)=>{const re=$[NODE_KEY];!!re&&r.some(ae=>(ae==null?void 0:ae[NODE_KEY])===re)?i[re]={index:V,data:$}:g.push({index:V,data:$})}),this.store.lazy||r.forEach($=>{i[$==null?void 0:$[NODE_KEY]]||this.removeChildByData($)}),g.forEach(({index:$,data:V})=>{this.insertChild({data:V},$)}),this.updateLeafState()}loadData(t,r={}){if(this.store.lazy===!0&&this.store.load&&!this.loaded&&(!this.loading||Object.keys(r).length)){this.loading=!0;const i=$=>{this.childNodes=[],this.doCreateChildren($,r),this.loaded=!0,this.loading=!1,this.updateLeafState(),t&&t.call(this,$)},g=()=>{this.loading=!1};this.store.load(this,i,g)}else t&&t.call(this)}eachNode(t){const r=[this];for(;r.length;){const i=r.shift();r.unshift(...i.childNodes),t(i)}}reInitChecked(){this.store.checkStrictly||reInitChecked(this)}};class TreeStore{constructor(t){this.lazy=!1,this.checkStrictly=!1,this.autoExpandParent=!1,this.defaultExpandAll=!1,this.checkDescendants=!1,this.currentNode=null,this.currentNodeKey=null;for(const r in t)hasOwn$1(t,r)&&(this[r]=t[r]);this.nodesMap={}}initialize(){if(this.root=new Node$1({data:this.data,store:this}),this.root.initialize(),this.lazy&&this.load){const t=this.load;t(this.root,r=>{this.root.doCreateChildren(r),this._initDefaultCheckedNodes()},NOOP)}else this._initDefaultCheckedNodes()}filter(t){const r=this.filterNodeMethod,i=this.lazy,g=async function($){const V=$.root?$.root.childNodes:$.childNodes;for(const[re,ie]of V.entries())ie.visible=!!(r!=null&&r.call(ie,t,ie.data,ie)),re%80===0&&re>0&&await nextTick(),await g(ie);if(!$.visible&&V.length){let re=!0;re=!V.some(ie=>ie.visible),$.root?$.root.visible=re===!1:$.visible=re===!1}t&&$.visible&&!$.isLeaf&&(!i||$.loaded)&&$.expand()};g(this)}setData(t){t!==this.root.data?(this.nodesMap={},this.root.setData(t),this._initDefaultCheckedNodes(),this.setCurrentNodeKey(this.currentNodeKey)):this.root.updateChildren()}getNode(t){if(t instanceof Node$1)return t;const r=isObject$6(t)?getNodeKey(this.key,t):t;return this.nodesMap[r]||null}insertBefore(t,r){var i;const g=this.getNode(r);(i=g.parent)==null||i.insertBefore({data:t},g)}insertAfter(t,r){var i;const g=this.getNode(r);(i=g.parent)==null||i.insertAfter({data:t},g)}remove(t){const r=this.getNode(t);r&&r.parent&&(r===this.currentNode&&(this.currentNode=null),r.parent.removeChild(r))}append(t,r){const i=isPropAbsent(r)?this.root:this.getNode(r);i&&i.insertChild({data:t})}_initDefaultCheckedNodes(){const t=this.defaultCheckedKeys||[],r=this.nodesMap;t.forEach(i=>{const g=r[i];g&&g.setChecked(!0,!this.checkStrictly)})}_initDefaultCheckedNode(t){const r=this.defaultCheckedKeys||[];!isNil(t.key)&&r.includes(t.key)&&t.setChecked(!0,!this.checkStrictly)}setDefaultCheckedKey(t){t!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=t,this._initDefaultCheckedNodes())}registerNode(t){const r=this.key;if(!(!t||!t.data))if(!r)this.nodesMap[t.id]=t;else{const i=t.key;isNil(i)||(this.nodesMap[i]=t)}}deregisterNode(t){!this.key||!t||!t.data||(t.childNodes.forEach(i=>{this.deregisterNode(i)}),delete this.nodesMap[t.key])}getCheckedNodes(t=!1,r=!1){const i=[],g=function($){($.root?$.root.childNodes:$.childNodes).forEach(re=>{(re.checked||r&&re.indeterminate)&&(!t||t&&re.isLeaf)&&i.push(re.data),g(re)})};return g(this),i}getCheckedKeys(t=!1){return this.getCheckedNodes(t).map(r=>(r||{})[this.key])}getHalfCheckedNodes(){const t=[],r=function(i){(i.root?i.root.childNodes:i.childNodes).forEach($=>{$.indeterminate&&t.push($.data),r($)})};return r(this),t}getHalfCheckedKeys(){return this.getHalfCheckedNodes().map(t=>(t||{})[this.key])}_getAllNodes(){const t=[],r=this.nodesMap;for(const i in r)hasOwn$1(r,i)&&t.push(r[i]);return t}updateChildren(t,r){const i=this.nodesMap[t];if(!i)return;const g=i.childNodes;for(let $=g.length-1;$>=0;$--){const V=g[$];this.remove(V.data)}for(let $=0,V=r.length;$ie.level-ae.level),$=Object.create(null),V=Object.keys(i);g.forEach(ie=>ie.setChecked(!1,!1));const re=ie=>{ie.childNodes.forEach(ae=>{var oe;$[ae.data[t]]=!0,(oe=ae.childNodes)!=null&&oe.length&&re(ae)})};for(let ie=0,ae=g.length;ie{_e.isLeaf||_e.setChecked(!1,!1),de(_e)})};de(oe)}}}setCheckedNodes(t,r=!1){const i=this.key,g={};t.forEach($=>{g[($||{})[i]]=!0}),this._setCheckedKeys(i,r,g)}setCheckedKeys(t,r=!1){this.defaultCheckedKeys=t;const i=this.key,g={};t.forEach($=>{g[$]=!0}),this._setCheckedKeys(i,r,g)}setDefaultExpandedKeys(t){t=t||[],this.defaultExpandedKeys=t,t.forEach(r=>{const i=this.getNode(r);i&&i.expand(null,this.autoExpandParent)})}setChecked(t,r,i){const g=this.getNode(t);g&&g.setChecked(!!r,i)}getCurrentNode(){return this.currentNode}setCurrentNode(t){const r=this.currentNode;r&&(r.isCurrent=!1),this.currentNode=t,this.currentNode.isCurrent=!0}setUserCurrentNode(t,r=!0){var i;const g=t[this.key],$=this.nodesMap[g];this.setCurrentNode($),r&&this.currentNode&&this.currentNode.level>1&&((i=this.currentNode.parent)==null||i.expand(null,!0))}setCurrentNodeKey(t,r=!0){var i;if(this.currentNodeKey=t,isPropAbsent(t)){this.currentNode&&(this.currentNode.isCurrent=!1),this.currentNode=null;return}const g=this.getNode(t);g&&(this.setCurrentNode(g),r&&this.currentNode&&this.currentNode.level>1&&((i=this.currentNode.parent)==null||i.expand(null,!0)))}}const ROOT_TREE_INJECTION_KEY$1="RootTree",NODE_INSTANCE_INJECTION_KEY="NodeInstance",TREE_NODE_MAP_INJECTION_KEY="TreeNodeMap",_sfc_main$U=defineComponent({name:"ElTreeNodeContent",props:{node:{type:Object,required:!0},renderContent:Function},setup(n){const t=useNamespace("tree"),r=inject(NODE_INSTANCE_INJECTION_KEY),i=inject(ROOT_TREE_INJECTION_KEY$1);return()=>{const g=n.node,{data:$,store:V}=g;return n.renderContent?n.renderContent(h$1,{_self:r,node:g,data:$,store:V}):renderSlot(i.ctx.slots,"default",{node:g,data:$},()=>[h$1(ElText,{tag:"span",truncated:!0,class:t.be("node","label")},()=>[g.label])])}}});var NodeContent=_export_sfc(_sfc_main$U,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node-content.vue"]]);function useNodeExpandEventBroadcast(n){const t=inject(TREE_NODE_MAP_INJECTION_KEY,null);let r={treeNodeExpand:i=>{var g;n.node!==i&&((g=n.node)==null||g.collapse())},children:new Set};return t&&t.children.add(r),onBeforeUnmount(()=>{t&&t.children.delete(r),r=null}),provide(TREE_NODE_MAP_INJECTION_KEY,r),{broadcastExpanded:i=>{if(n.accordion)for(const g of r.children)g.treeNodeExpand(i)}}}const dragEventsKey=Symbol("dragEvents");function useDragNodeHandler({props:n,ctx:t,el$:r,dropIndicator$:i,store:g}){const $=useNamespace("tree"),V=ref({showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0,dropType:null});return provide(dragEventsKey,{treeNodeDragStart:({event:oe,treeNode:le})=>{if(oe.dataTransfer){if(isFunction$4(n.allowDrag)&&!n.allowDrag(le.node))return oe.preventDefault(),!1;oe.dataTransfer.effectAllowed="move";try{oe.dataTransfer.setData("text/plain","")}catch{}V.value.draggingNode=le,t.emit("node-drag-start",le.node,oe)}},treeNodeDragOver:({event:oe,treeNode:le})=>{if(!oe.dataTransfer)return;const ue=le,de=V.value.dropNode;de&&de.node.id!==ue.node.id&&removeClass(de.$el,$.is("drop-inner"));const he=V.value.draggingNode;if(!he||!ue)return;let pe=!0,_e=!0,Ce=!0,xe=!0;isFunction$4(n.allowDrop)&&(pe=n.allowDrop(he.node,ue.node,"prev"),xe=_e=n.allowDrop(he.node,ue.node,"inner"),Ce=n.allowDrop(he.node,ue.node,"next")),oe.dataTransfer.dropEffect=_e||pe||Ce?"move":"none",(pe||_e||Ce)&&(de==null?void 0:de.node.id)!==ue.node.id&&(de&&t.emit("node-drag-leave",he.node,de.node,oe),t.emit("node-drag-enter",he.node,ue.node,oe)),pe||_e||Ce?V.value.dropNode=ue:V.value.dropNode=null,ue.node.nextSibling===he.node&&(Ce=!1),ue.node.previousSibling===he.node&&(pe=!1),ue.node.contains(he.node,!1)&&(_e=!1),(he.node===ue.node||he.node.contains(ue.node))&&(pe=!1,_e=!1,Ce=!1);const Ie=ue.$el,Ne=Ie.querySelector(`.${$.be("node","content")}`).getBoundingClientRect(),Oe=r.value.getBoundingClientRect(),$e=r.value.scrollTop;let Ve;const Ue=pe?_e?.25:Ce?.45:1:Number.NEGATIVE_INFINITY,Fe=Ce?_e?.75:pe?.55:0:Number.POSITIVE_INFINITY;let ze=-9999;const Pt=oe.clientY-Ne.top;PtNe.height*Fe?Ve="after":_e?Ve="inner":Ve="none";const qe=Ie.querySelector(`.${$.be("node","expand-icon")}`).getBoundingClientRect(),Et=i.value;Ve==="before"?ze=qe.top-Oe.top+$e:Ve==="after"&&(ze=qe.bottom-Oe.top+$e),Et.style.top=`${ze}px`,Et.style.left=`${qe.right-Oe.left}px`,Ve==="inner"?addClass(Ie,$.is("drop-inner")):removeClass(Ie,$.is("drop-inner")),V.value.showDropIndicator=Ve==="before"||Ve==="after",V.value.allowDrop=V.value.showDropIndicator||xe,V.value.dropType=Ve,t.emit("node-drag-over",he.node,ue.node,oe)},treeNodeDragEnd:oe=>{var le,ue;const{draggingNode:de,dropType:he,dropNode:pe}=V.value;if(oe.preventDefault(),oe.dataTransfer&&(oe.dataTransfer.dropEffect="move"),de!=null&&de.node.data&&pe){const _e={data:de.node.data};he!=="none"&&de.node.remove(),he==="before"?(le=pe.node.parent)==null||le.insertBefore(_e,pe.node):he==="after"?(ue=pe.node.parent)==null||ue.insertAfter(_e,pe.node):he==="inner"&&pe.node.insertChild(_e),he!=="none"&&(g.value.registerNode(_e),g.value.key&&de.node.eachNode(Ce=>{var xe;(xe=g.value.nodesMap[Ce.data[g.value.key]])==null||xe.setChecked(Ce.checked,!g.value.checkStrictly)})),removeClass(pe.$el,$.is("drop-inner")),t.emit("node-drag-end",de.node,pe.node,he,oe),he!=="none"&&t.emit("node-drop",de.node,pe.node,he,oe)}de&&!pe&&t.emit("node-drag-end",de.node,null,he,oe),V.value.showDropIndicator=!1,V.value.draggingNode=null,V.value.dropNode=null,V.value.allowDrop=!0}}),{dragState:V}}const _sfc_main$T=defineComponent({name:"ElTreeNode",components:{ElCollapseTransition,ElCheckbox,NodeContent,ElIcon,Loading:loading_default},props:{node:{type:Node$1,default:()=>({})},props:{type:Object,default:()=>({})},accordion:Boolean,renderContent:Function,renderAfterExpand:Boolean,showCheckbox:Boolean},emits:["node-expand"],setup(n,t){const r=useNamespace("tree"),{broadcastExpanded:i}=useNodeExpandEventBroadcast(n),g=inject(ROOT_TREE_INJECTION_KEY$1),$=ref(!1),V=ref(!1),re=ref(),ie=ref(),ae=ref(),oe=inject(dragEventsKey),le=getCurrentInstance();provide(NODE_INSTANCE_INJECTION_KEY,le),n.node.expanded&&($.value=!0,V.value=!0);const ue=g.props.props.children||"children";watch(()=>{var Fe;const ze=(Fe=n.node.data)==null?void 0:Fe[ue];return ze&&[...ze]},()=>{n.node.updateChildren()}),watch(()=>n.node.indeterminate,Fe=>{pe(n.node.checked,Fe)}),watch(()=>n.node.checked,Fe=>{pe(Fe,n.node.indeterminate)}),watch(()=>n.node.childNodes.length,()=>n.node.reInitChecked()),watch(()=>n.node.expanded,Fe=>{nextTick(()=>$.value=Fe),Fe&&(V.value=!0)});const de=Fe=>getNodeKey(g.props.nodeKey,Fe.data),he=Fe=>{const ze=n.props.class;if(!ze)return{};let Pt;if(isFunction$4(ze)){const{data:qe}=Fe;Pt=ze(qe,Fe)}else Pt=ze;return isString$2(Pt)?{[Pt]:!0}:Pt},pe=(Fe,ze)=>{(re.value!==Fe||ie.value!==ze)&&g.ctx.emit("check-change",n.node.data,Fe,ze),re.value=Fe,ie.value=ze},_e=Fe=>{handleCurrentChange(g.store,g.ctx.emit,()=>{var ze;if((ze=g==null?void 0:g.props)==null?void 0:ze.nodeKey){const qe=de(n.node);g.store.value.setCurrentNodeKey(qe)}else g.store.value.setCurrentNode(n.node)}),g.currentNode.value=n.node,g.props.expandOnClickNode&&xe(),(g.props.checkOnClickNode||n.node.isLeaf&&g.props.checkOnClickLeaf&&n.showCheckbox)&&!n.node.disabled&&Ie(!n.node.checked),g.ctx.emit("node-click",n.node.data,n.node,le,Fe)},Ce=Fe=>{var ze;(ze=g.instance.vnode.props)!=null&&ze.onNodeContextmenu&&(Fe.stopPropagation(),Fe.preventDefault()),g.ctx.emit("node-contextmenu",Fe,n.node.data,n.node,le)},xe=()=>{n.node.isLeaf||($.value?(g.ctx.emit("node-collapse",n.node.data,n.node,le),n.node.collapse()):n.node.expand(()=>{t.emit("node-expand",n.node.data,n.node,le)}))},Ie=Fe=>{const ze=g==null?void 0:g.props.checkStrictly,Pt=n.node.childNodes;!ze&&Pt.length&&(Fe=Pt.some(qe=>!qe.isEffectivelyChecked)),n.node.setChecked(Fe,!ze),nextTick(()=>{const qe=g.store.value;g.ctx.emit("check",n.node.data,{checkedNodes:qe.getCheckedNodes(),checkedKeys:qe.getCheckedKeys(),halfCheckedNodes:qe.getHalfCheckedNodes(),halfCheckedKeys:qe.getHalfCheckedKeys()})})};return{ns:r,node$:ae,tree:g,expanded:$,childNodeRendered:V,oldChecked:re,oldIndeterminate:ie,getNodeKey:de,getNodeClass:he,handleSelectChange:pe,handleClick:_e,handleContextMenu:Ce,handleExpandIconClick:xe,handleCheckChange:Ie,handleChildNodeExpand:(Fe,ze,Pt)=>{i(ze),g.ctx.emit("node-expand",Fe,ze,Pt)},handleDragStart:Fe=>{g.props.draggable&&oe.treeNodeDragStart({event:Fe,treeNode:n})},handleDragOver:Fe=>{Fe.preventDefault(),g.props.draggable&&oe.treeNodeDragOver({event:Fe,treeNode:{$el:ae.value,node:n.node}})},handleDrop:Fe=>{Fe.preventDefault()},handleDragEnd:Fe=>{g.props.draggable&&oe.treeNodeDragEnd(Fe)},CaretRight:caret_right_default}}}),_hoisted_1$B=["aria-expanded","aria-disabled","aria-checked","draggable","data-key"],_hoisted_2$q=["aria-expanded"];function _sfc_render$2(n,t,r,i,g,$){const V=resolveComponent("el-icon"),re=resolveComponent("el-checkbox"),ie=resolveComponent("loading"),ae=resolveComponent("node-content"),oe=resolveComponent("el-tree-node"),le=resolveComponent("el-collapse-transition");return withDirectives((openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([n.ns.b("node"),n.ns.is("expanded",n.expanded),n.ns.is("current",n.node.isCurrent),n.ns.is("hidden",!n.node.visible),n.ns.is("focusable",!n.node.disabled),n.ns.is("checked",!n.node.disabled&&n.node.checked),n.getNodeClass(n.node)]),role:"treeitem",tabindex:"-1","aria-expanded":n.expanded,"aria-disabled":n.node.disabled,"aria-checked":n.node.checked,draggable:n.tree.props.draggable,"data-key":n.getNodeKey(n.node),onClick:t[2]||(t[2]=withModifiers((...ue)=>n.handleClick&&n.handleClick(...ue),["stop"])),onContextmenu:t[3]||(t[3]=(...ue)=>n.handleContextMenu&&n.handleContextMenu(...ue)),onDragstart:t[4]||(t[4]=withModifiers((...ue)=>n.handleDragStart&&n.handleDragStart(...ue),["stop"])),onDragover:t[5]||(t[5]=withModifiers((...ue)=>n.handleDragOver&&n.handleDragOver(...ue),["stop"])),onDragend:t[6]||(t[6]=withModifiers((...ue)=>n.handleDragEnd&&n.handleDragEnd(...ue),["stop"])),onDrop:t[7]||(t[7]=withModifiers((...ue)=>n.handleDrop&&n.handleDrop(...ue),["stop"]))},[createBaseVNode("div",{class:normalizeClass(n.ns.be("node","content")),style:normalizeStyle$1({paddingLeft:(n.node.level-1)*n.tree.props.indent+"px"})},[n.tree.props.icon||n.CaretRight?(openBlock(),createBlock(V,{key:0,class:normalizeClass([n.ns.be("node","expand-icon"),n.ns.is("leaf",n.node.isLeaf),{expanded:!n.node.isLeaf&&n.expanded}]),onClick:withModifiers(n.handleExpandIconClick,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.tree.props.icon||n.CaretRight)))]),_:1},8,["class","onClick"])):createCommentVNode("v-if",!0),n.showCheckbox?(openBlock(),createBlock(re,{key:1,"model-value":n.node.checked,indeterminate:n.node.indeterminate,disabled:!!n.node.disabled,onClick:t[0]||(t[0]=withModifiers(()=>{},["stop"])),onChange:n.handleCheckChange},null,8,["model-value","indeterminate","disabled","onChange"])):createCommentVNode("v-if",!0),n.node.loading?(openBlock(),createBlock(V,{key:2,class:normalizeClass([n.ns.be("node","loading-icon"),n.ns.is("loading")])},{default:withCtx(()=>[createVNode$1(ie)]),_:1},8,["class"])):createCommentVNode("v-if",!0),createVNode$1(ae,{node:n.node,"render-content":n.renderContent},null,8,["node","render-content"])],6),createVNode$1(le,null,{default:withCtx(()=>[!n.renderAfterExpand||n.childNodeRendered?withDirectives((openBlock(),createElementBlock("div",{key:0,class:normalizeClass(n.ns.be("node","children")),role:"group","aria-expanded":n.expanded,onClick:t[1]||(t[1]=withModifiers(()=>{},["stop"]))},[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.node.childNodes,ue=>(openBlock(),createBlock(oe,{key:n.getNodeKey(ue),"render-content":n.renderContent,"render-after-expand":n.renderAfterExpand,"show-checkbox":n.showCheckbox,node:ue,accordion:n.accordion,props:n.props,onNodeExpand:n.handleChildNodeExpand},null,8,["render-content","render-after-expand","show-checkbox","node","accordion","props","onNodeExpand"]))),128))],10,_hoisted_2$q)),[[vShow,n.expanded]]):createCommentVNode("v-if",!0)]),_:1})],42,_hoisted_1$B)),[[vShow,n.node.visible]])}var ElTreeNode$1=_export_sfc(_sfc_main$T,[["render",_sfc_render$2],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree-node.vue"]]);function useKeydown({el$:n},t){const r=useNamespace("tree");onMounted(()=>{$()}),onUpdated(()=>{var V;(V=n.value)==null||V.querySelectorAll("input[type=checkbox]").forEach(re=>{re.setAttribute("tabindex","-1")})});function i(V,re){var ie,ae;const oe=t.value.getNode(V[re].dataset.key);return oe.canFocus&&oe.visible&&(((ie=oe.parent)==null?void 0:ie.expanded)||((ae=oe.parent)==null?void 0:ae.level)===0)}useEventListener(n,"keydown",V=>{const re=V.target;if(!re.className.includes(r.b("node")))return;const ie=getEventCode(V),ae=Array.from(n.value.querySelectorAll(`.${r.is("focusable")}[role=treeitem]`)),oe=ae.indexOf(re);let le;if([EVENT_CODE.up,EVENT_CODE.down].includes(ie)){if(V.preventDefault(),ie===EVENT_CODE.up){le=oe===-1?0:oe!==0?oe-1:ae.length-1;const de=le;for(;!i(ae,le);){if(le--,le===de){le=-1;break}le<0&&(le=ae.length-1)}}else{le=oe===-1?0:oe=ae.length&&(le=0)}}le!==-1&&ae[le].focus()}[EVENT_CODE.left,EVENT_CODE.right].includes(ie)&&(V.preventDefault(),re.click());const ue=re.querySelector('[type="checkbox"]');[EVENT_CODE.enter,EVENT_CODE.numpadEnter,EVENT_CODE.space].includes(ie)&&ue&&(V.preventDefault(),ue.click())});const $=()=>{var V;if(!n.value)return;const re=Array.from(n.value.querySelectorAll(`.${r.is("focusable")}[role=treeitem]`));Array.from(n.value.querySelectorAll("input[type=checkbox]")).forEach(oe=>{oe.setAttribute("tabindex","-1")});const ae=n.value.querySelectorAll(`.${r.is("checked")}[role=treeitem]`);if(ae.length){ae[0].setAttribute("tabindex","0");return}(V=re[0])==null||V.setAttribute("tabindex","0")}}const treeProps$1=buildProps({data:{type:definePropType(Array),default:()=>[]},emptyText:{type:String},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},checkDescendants:Boolean,autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:{type:Array},defaultExpandedKeys:{type:Array},currentNodeKey:{type:[String,Number]},renderContent:{type:definePropType(Function)},showCheckbox:Boolean,draggable:Boolean,allowDrag:{type:definePropType(Function)},allowDrop:{type:definePropType(Function)},props:{type:Object,default:()=>({children:"children",label:"label",disabled:"disabled"})},lazy:Boolean,highlightCurrent:Boolean,load:{type:Function},filterNodeMethod:{type:Function},accordion:Boolean,indent:{type:Number,default:18},icon:{type:iconPropType}}),treeEmits$1={"check-change":(n,t,r)=>n&&isBoolean$1(t)&&isBoolean$1(r),"current-change":(n,t)=>!0,"node-click":(n,t,r,i)=>n&&t&&i instanceof Event,"node-contextmenu":(n,t,r,i)=>n instanceof Event&&t&&r,"node-collapse":(n,t,r)=>n&&t,"node-expand":(n,t,r)=>n&&t,check:(n,t)=>n&&t,"node-drag-start":(n,t)=>n&&t,"node-drag-end":(n,t,r,i)=>n&&i,"node-drop":(n,t,r,i)=>n&&t&&i,"node-drag-leave":(n,t,r)=>n&&t&&r,"node-drag-enter":(n,t,r)=>n&&t&&r,"node-drag-over":(n,t,r)=>n&&t&&r},_sfc_main$S=defineComponent({name:"ElTree",components:{ElTreeNode:ElTreeNode$1},props:treeProps$1,emits:treeEmits$1,setup(n,t){const{t:r}=useLocale(),i=useNamespace("tree"),g=ref(new TreeStore({key:n.nodeKey,data:n.data,lazy:n.lazy,props:n.props,load:n.load,currentNodeKey:n.currentNodeKey,checkStrictly:n.checkStrictly,checkDescendants:n.checkDescendants,defaultCheckedKeys:n.defaultCheckedKeys,defaultExpandedKeys:n.defaultExpandedKeys,autoExpandParent:n.autoExpandParent,defaultExpandAll:n.defaultExpandAll,filterNodeMethod:n.filterNodeMethod}));g.value.initialize();const $=ref(g.value.root),V=ref(null),re=ref(null),ie=ref(null),{broadcastExpanded:ae}=useNodeExpandEventBroadcast(n),{dragState:oe}=useDragNodeHandler({props:n,ctx:t,el$:re,dropIndicator$:ie,store:g});useKeydown({el$:re},g);const le=getCurrentInstance(),ue=computed(()=>{let vn=le==null?void 0:le.parent;for(;vn;){if(vn.type.name==="ElTreeSelect")return!0;vn=vn.parent}return!1}),de=computed(()=>{const{childNodes:vn}=$.value;return(!vn||vn.length===0||vn.every(({visible:_n})=>!_n))&&!ue.value});watch(()=>n.currentNodeKey,vn=>{g.value.setCurrentNodeKey(vn??null)}),watch(()=>n.defaultCheckedKeys,(vn,_n)=>{isEqual$1(vn,_n)||g.value.setDefaultCheckedKey(vn??[])}),watch(()=>n.defaultExpandedKeys,vn=>{g.value.setDefaultExpandedKeys(vn??[])}),watch(()=>n.data,vn=>{g.value.setData(vn)},{deep:!0}),watch(()=>n.checkStrictly,vn=>{g.value.checkStrictly=vn});const he=vn=>{if(!n.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");g.value.filter(vn)},pe=vn=>getNodeKey(n.nodeKey,vn.data),_e=vn=>{if(!n.nodeKey)throw new Error(`[Tree] nodeKey is required in ${vn}`)},Ce=vn=>{_e("getNodePath");const _n=g.value.getNode(vn);if(!_n)return[];const wn=[_n.data];let bn=_n.parent;for(;bn&&bn!==$.value;)wn.push(bn.data),bn=bn.parent;return wn.reverse()},xe=(vn,_n)=>g.value.getCheckedNodes(vn,_n),Ie=vn=>g.value.getCheckedKeys(vn),Ne=()=>{const vn=g.value.getCurrentNode();return vn?vn.data:null},Oe=()=>{_e("getCurrentKey");const vn=Ne();return vn?vn[n.nodeKey]:null},$e=(vn,_n)=>{_e("setCheckedNodes"),g.value.setCheckedNodes(vn,_n)},Ve=(vn,_n)=>{_e("setCheckedKeys"),g.value.setCheckedKeys(vn,_n)},Ue=(vn,_n,wn)=>{g.value.setChecked(vn,_n,wn)},Fe=()=>g.value.getHalfCheckedNodes(),ze=()=>g.value.getHalfCheckedKeys(),Pt=(vn,_n=!0)=>{_e("setCurrentNode"),handleCurrentChange(g,t.emit,()=>{ae(vn),g.value.setUserCurrentNode(vn,_n)})},qe=(vn=null,_n=!0)=>{_e("setCurrentKey"),handleCurrentChange(g,t.emit,()=>{ae(),g.value.setCurrentNodeKey(vn,_n)})},Et=vn=>g.value.getNode(vn),kt=vn=>{g.value.remove(vn)},At=(vn,_n)=>{g.value.append(vn,_n)},Dt=(vn,_n)=>{g.value.insertBefore(vn,_n)},Lt=(vn,_n)=>{g.value.insertAfter(vn,_n)},jt=(vn,_n,wn)=>{ae(_n),t.emit("node-expand",vn,_n,wn)},hn=(vn,_n)=>{_e("updateKeyChild"),g.value.updateChildren(vn,_n)};return provide(ROOT_TREE_INJECTION_KEY$1,{ctx:t,props:n,store:g,root:$,currentNode:V,instance:le}),provide(formItemContextKey,void 0),{ns:i,store:g,root:$,currentNode:V,dragState:oe,el$:re,dropIndicator$:ie,isEmpty:de,filter:he,getNodeKey:pe,getNodePath:Ce,getCheckedNodes:xe,getCheckedKeys:Ie,getCurrentNode:Ne,getCurrentKey:Oe,setCheckedNodes:$e,setCheckedKeys:Ve,setChecked:Ue,getHalfCheckedNodes:Fe,getHalfCheckedKeys:ze,setCurrentNode:Pt,setCurrentKey:qe,t:r,getNode:Et,remove:kt,append:At,insertBefore:Dt,insertAfter:Lt,handleNodeExpand:jt,updateKeyChildren:hn}}});function _sfc_render$1(n,t,r,i,g,$){const V=resolveComponent("el-tree-node");return openBlock(),createElementBlock("div",{ref:"el$",class:normalizeClass([n.ns.b(),n.ns.is("dragging",!!n.dragState.draggingNode),n.ns.is("drop-not-allow",!n.dragState.allowDrop),n.ns.is("drop-inner",n.dragState.dropType==="inner"),{[n.ns.m("highlight-current")]:n.highlightCurrent}]),role:"tree"},[(openBlock(!0),createElementBlock(Fragment,null,renderList(n.root.childNodes,re=>(openBlock(),createBlock(V,{key:n.getNodeKey(re),node:re,props:n.props,accordion:n.accordion,"render-after-expand":n.renderAfterExpand,"show-checkbox":n.showCheckbox,"render-content":n.renderContent,onNodeExpand:n.handleNodeExpand},null,8,["node","props","accordion","render-after-expand","show-checkbox","render-content","onNodeExpand"]))),128)),n.isEmpty?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(n.ns.e("empty-block"))},[renderSlot(n.$slots,"empty",{},()=>{var re;return[createBaseVNode("span",{class:normalizeClass(n.ns.e("empty-text"))},toDisplayString((re=n.emptyText)!=null?re:n.t("el.tree.emptyText")),3)]})],2)):createCommentVNode("v-if",!0),withDirectives(createBaseVNode("div",{ref:"dropIndicator$",class:normalizeClass(n.ns.e("drop-indicator"))},null,2),[[vShow,n.dragState.showDropIndicator]])],2)}var Tree=_export_sfc(_sfc_main$S,[["render",_sfc_render$1],["__file","/home/runner/work/element-plus/element-plus/packages/components/tree/src/tree.vue"]]);const ElTree=withInstall(Tree),useSelect=(n,{attrs:t,emit:r},{select:i,tree:g,key:$})=>{const V=useNamespace("tree-select");watch(()=>n.data,()=>{n.filterable&&nextTick(()=>{var ae,oe;(oe=g.value)==null||oe.filter((ae=i.value)==null?void 0:ae.states.inputValue)})},{flush:"post"});const re=ae=>{var oe;const le=ae.at(-1);if(le.expanded&&le.childNodes.at(-1))re([le.childNodes.at(-1)]);else{const ue=(oe=g.value.el$)==null?void 0:oe.querySelector(`[data-key="${ae.at(-1).key}"]`);ue==null||ue.focus({preventScroll:!0});return}};return onMounted(()=>{useEventListener(()=>{var ae;return(ae=i.value)==null?void 0:ae.$el},"keydown",async ae=>{const oe=getEventCode(ae),{dropdownMenuVisible:le}=i.value;[EVENT_CODE.down,EVENT_CODE.up].includes(oe)&&le&&(await nextTick(),setTimeout(()=>{var ue,de,he;if(EVENT_CODE.up===oe){const pe=g.value.store.root.childNodes;re(pe);return}(he=(de=(ue=i.value.optionsArray[i.value.states.hoveringIndex].$el)==null?void 0:ue.parentNode)==null?void 0:de.parentNode)==null||he.focus({preventScroll:!0})}))},{capture:!0})}),{...pick$1(toRefs(n),Object.keys(ElSelect.props)),...t,class:computed(()=>t.class),style:computed(()=>t.style),"onUpdate:modelValue":ae=>r(UPDATE_MODEL_EVENT,ae),valueKey:$,popperClass:computed(()=>{const ae=[V.e("popper")];return n.popperClass&&ae.push(n.popperClass),ae.join(" ")}),filterMethod:(ae="")=>{var oe;n.filterMethod?n.filterMethod(ae):n.remoteMethod?n.remoteMethod(ae):(oe=g.value)==null||oe.filter(ae)}}},component=defineComponent({extends:ElOption,setup(n,t){const r=ElOption.setup(n,t);delete r.selectOptionClick;const i=getCurrentInstance().proxy;return nextTick(()=>{r.select.states.cachedOptions.get(i.value)||r.select.onOptionCreate(i)}),watch(()=>t.attrs.visible,g=>{nextTick(()=>{r.states.visible=g})},{immediate:!0}),r},methods:{selectOptionClick(){this.$el.parentElement.click()}}});function isValidValue(n){return n||n===0}function isValidArray(n){return isArray$5(n)&&n.length}function toValidArray(n){return isArray$5(n)?n:isValidValue(n)?[n]:[]}function treeFind(n,t,r,i,g){for(let $=0;${watch([()=>n.modelValue,$],()=>{n.showCheckbox&&nextTick(()=>{const ue=$.value;ue&&!isEqual$1(ue.getCheckedKeys(),toValidArray(n.modelValue))&&ue.setCheckedKeys(toValidArray(n.modelValue))})},{immediate:!0,deep:!0});const re=computed(()=>({value:V.value,label:"label",children:"children",disabled:"disabled",isLeaf:"isLeaf",...n.props})),ie=(ue,de)=>{var he;const pe=re.value[ue];return isFunction$4(pe)?pe(de,(he=$.value)==null?void 0:he.getNode(ie("value",de))):de[pe]},ae=toValidArray(n.modelValue).map(ue=>treeFind(n.data||[],de=>ie("value",de)===ue,de=>ie("children",de),(de,he,pe,_e)=>_e&&ie("value",_e))).filter(ue=>isValidValue(ue)),oe=computed(()=>{if(!n.renderAfterExpand&&!n.lazy)return[];const ue=[];return treeEach(n.data.concat(n.cacheData),de=>{const he=ie("value",de);ue.push({value:he,currentLabel:ie("label",de),isDisabled:ie("disabled",de)})},de=>ie("children",de)),ue}),le=()=>{var ue;return(ue=$.value)==null?void 0:ue.getCheckedKeys().filter(de=>{var he;const pe=(he=$.value)==null?void 0:he.getNode(de);return!isNil(pe)&&isEmpty(pe.childNodes)})};return{...pick$1(toRefs(n),Object.keys(ElTree.props)),...t,nodeKey:V,expandOnClickNode:computed(()=>!n.checkStrictly&&n.expandOnClickNode),defaultExpandedKeys:computed(()=>n.defaultExpandedKeys?n.defaultExpandedKeys.concat(ae):ae),renderContent:(ue,{node:de,data:he,store:pe})=>ue(component,{value:ie("value",he),label:ie("label",he),disabled:ie("disabled",he),visible:de.visible},n.renderContent?()=>n.renderContent(ue,{node:de,data:he,store:pe}):r.default?()=>r.default({node:de,data:he,store:pe}):void 0),filterNodeMethod:(ue,de,he)=>n.filterNodeMethod?n.filterNodeMethod(ue,de,he):ue?new RegExp(escapeStringRegexp(ue),"i").test(ie("label",de)||""):!0,onNodeClick:(ue,de,he)=>{var pe,_e,Ce;if((pe=t.onNodeClick)==null||pe.call(t,ue,de,he),!(n.showCheckbox&&n.checkOnClickNode))if(!n.showCheckbox&&(n.checkStrictly||de.isLeaf)){if(!ie("disabled",ue)){const xe=(_e=g.value)==null?void 0:_e.states.options.get(ie("value",ue));(Ce=g.value)==null||Ce.handleOptionSelect(xe)}}else n.expandOnClickNode&&he.proxy.handleExpandIconClick()},onCheck:(ue,de)=>{var he;if(!n.showCheckbox)return;const pe=ie("value",ue),_e={};treeEach([$.value.store.root],Ne=>_e[Ne.key]=Ne,Ne=>Ne.childNodes);const Ce=de.checkedKeys,xe=n.multiple?toValidArray(n.modelValue).filter(Ne=>!(Ne in _e)&&!Ce.includes(Ne)):[],Ie=xe.concat(Ce);if(n.checkStrictly)i(UPDATE_MODEL_EVENT,n.multiple?Ie:Ie.includes(pe)?pe:void 0);else if(n.multiple){const Ne=le();i(UPDATE_MODEL_EVENT,xe.concat(Ne))}else{const Ne=treeFind([ue],Ve=>!isValidArray(ie("children",Ve))&&!ie("disabled",Ve),Ve=>ie("children",Ve)),Oe=Ne?ie("value",Ne):void 0,$e=isValidValue(n.modelValue)&&!!treeFind([ue],Ve=>ie("value",Ve)===n.modelValue,Ve=>ie("children",Ve));i(UPDATE_MODEL_EVENT,Oe===n.modelValue||$e?void 0:Oe)}nextTick(()=>{var Ne;const Oe=toValidArray(n.modelValue);$.value.setCheckedKeys(Oe),(Ne=t.onCheck)==null||Ne.call(t,ue,{checkedKeys:$.value.getCheckedKeys(),checkedNodes:$.value.getCheckedNodes(),halfCheckedKeys:$.value.getHalfCheckedKeys(),halfCheckedNodes:$.value.getHalfCheckedNodes()})}),(he=g.value)==null||he.focus()},onNodeExpand:(ue,de,he)=>{var pe;(pe=t.onNodeExpand)==null||pe.call(t,ue,de,he),nextTick(()=>{if(!n.checkStrictly&&n.lazy&&n.multiple&&de.checked){const _e={},Ce=$.value.getCheckedKeys();treeEach([$.value.store.root],Ne=>_e[Ne.key]=Ne,Ne=>Ne.childNodes);const xe=toValidArray(n.modelValue).filter(Ne=>!(Ne in _e)&&!Ce.includes(Ne)),Ie=le();i(UPDATE_MODEL_EVENT,xe.concat(Ie))}})},cacheOptions:oe}};var CacheOptions=defineComponent({props:{data:{type:Array,default:()=>[]}},setup(n){const t=inject(selectKey);return watch(()=>n.data,()=>{var r;n.data.forEach(g=>{t.states.cachedOptions.has(g.value)||t.states.cachedOptions.set(g.value,g)});const i=((r=t.selectRef)==null?void 0:r.querySelectorAll("input"))||[];isClient&&!Array.from(i).includes(document.activeElement)&&t.setSelected()},{flush:"post",immediate:!0}),()=>{}}});const _sfc_main$R=defineComponent({name:"ElTreeSelect",inheritAttrs:!1,props:{...selectProps,...treeProps$1,cacheData:{type:Array,default:()=>[]}},setup(n,t){const{slots:r,expose:i}=t,g=ref(),$=ref(),V=computed(()=>n.nodeKey||n.valueKey||"value"),re=useSelect(n,t,{select:g,tree:$,key:V}),{cacheOptions:ie,...ae}=useTree$1(n,t,{select:g,tree:$,key:V}),oe=reactive({});return i(oe),onMounted(()=>{Object.assign(oe,{...pick$1($.value,["filter","updateKeyChildren","getCheckedNodes","setCheckedNodes","getCheckedKeys","setCheckedKeys","setChecked","getHalfCheckedNodes","getHalfCheckedKeys","getCurrentKey","getCurrentNode","setCurrentKey","setCurrentNode","getNode","remove","append","insertBefore","insertAfter"]),...pick$1(g.value,["focus","blur","selectedLabel"]),treeRef:$.value,selectRef:g.value})}),()=>h$1(ElSelect,reactive({...re,ref:le=>g.value=le}),{...r,default:()=>[h$1(CacheOptions,{data:ie.value}),h$1(ElTree,reactive({...ae,ref:le=>$.value=le}))]})}});var TreeSelect=_export_sfc(_sfc_main$R,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-select/src/tree-select.vue"]]);const ElTreeSelect=withInstall(TreeSelect),ROOT_TREE_INJECTION_KEY=Symbol(),EMPTY_NODE={key:-1,level:-1,data:{}};var TreeOptionsEnum=(n=>(n.KEY="id",n.LABEL="label",n.CHILDREN="children",n.DISABLED="disabled",n.CLASS="",n))(TreeOptionsEnum||{}),SetOperationEnum=(n=>(n.ADD="add",n.DELETE="delete",n))(SetOperationEnum||{});const itemSize={type:Number,default:26},treeProps=buildProps({data:{type:definePropType(Array),default:()=>mutable([])},emptyText:{type:String},height:{type:Number,default:200},props:{type:definePropType(Object),default:()=>mutable({children:"children",label:"label",disabled:"disabled",value:"id",class:""})},highlightCurrent:Boolean,showCheckbox:Boolean,defaultCheckedKeys:{type:definePropType(Array),default:()=>mutable([])},checkStrictly:Boolean,defaultExpandedKeys:{type:definePropType(Array),default:()=>mutable([])},indent:{type:Number,default:16},itemSize,icon:{type:iconPropType},expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkOnClickLeaf:{type:Boolean,default:!0},currentNodeKey:{type:definePropType([String,Number])},accordion:Boolean,filterMethod:{type:definePropType(Function)},perfMode:{type:Boolean,default:!0},scrollbarAlwaysOn:Boolean}),treeNodeProps=buildProps({node:{type:definePropType(Object),default:()=>mutable(EMPTY_NODE)},expanded:Boolean,checked:Boolean,indeterminate:Boolean,showCheckbox:Boolean,disabled:Boolean,current:Boolean,hiddenExpandIcon:Boolean,itemSize}),treeNodeContentProps=buildProps({node:{type:definePropType(Object),required:!0}}),NODE_CLICK="node-click",NODE_DROP="node-drop",NODE_EXPAND="node-expand",NODE_COLLAPSE="node-collapse",CURRENT_CHANGE="current-change",NODE_CHECK="check",NODE_CHECK_CHANGE="check-change",NODE_CONTEXTMENU="node-contextmenu",treeEmits={[NODE_CLICK]:(n,t,r)=>n&&t&&r,[NODE_DROP]:(n,t,r)=>n&&t&&r,[NODE_EXPAND]:(n,t)=>n&&t,[NODE_COLLAPSE]:(n,t)=>n&&t,[CURRENT_CHANGE]:(n,t)=>n&&t,[NODE_CHECK]:(n,t)=>n&&t,[NODE_CHECK_CHANGE]:(n,t)=>n&&isBoolean$1(t),[NODE_CONTEXTMENU]:(n,t,r)=>n&&t&&r},treeNodeEmits={click:(n,t)=>!!(n&&t),drop:(n,t)=>!!(n&&t),toggle:n=>!!n,check:(n,t)=>n&&isBoolean$1(t)};function useCheck(n,t){const r=ref(new Set),i=ref(new Set),{emit:g}=getCurrentInstance();watch([()=>t.value,()=>n.defaultCheckedKeys],()=>nextTick(()=>{xe(n.defaultCheckedKeys)}),{immediate:!0});const $=()=>{if(!t.value||!n.showCheckbox||n.checkStrictly)return;const{levelTreeNodeMap:Ie,maxLevel:Ne}=t.value,Oe=r.value,$e=new Set;for(let Ve=Ne;Ve>=1;--Ve){const Ue=Ie.get(Ve);Ue&&Ue.forEach(Fe=>{const ze=Fe.children;let Pt=!Fe.isLeaf||Fe.disabled||Oe.has(Fe.key);if(ze){let qe=!0,Et=!1;for(const kt of ze){const At=kt.key;if(kt.isEffectivelyChecked||(Pt=!1),Oe.has(At))Et=!0;else if($e.has(At)){qe=!1,Et=!0;break}else qe=!1}qe?Oe.add(Fe.key):Et?($e.add(Fe.key),Oe.delete(Fe.key)):(Oe.delete(Fe.key),$e.delete(Fe.key))}Fe.isEffectivelyChecked=Pt})}i.value=$e},V=Ie=>r.value.has(Ie.key),re=Ie=>i.value.has(Ie.key),ie=(Ie,Ne,Oe=!0,$e=!0)=>{const Ve=r.value,Ue=Ie.children;!n.checkStrictly&&Oe&&(Ue!=null&&Ue.length)&&(Ne=Ue.some(ze=>!ze.isEffectivelyChecked));const Fe=(ze,Pt)=>{Ve[Pt?SetOperationEnum.ADD:SetOperationEnum.DELETE](ze.key);const qe=ze.children;!n.checkStrictly&&qe&&qe.forEach(Et=>{(!Et.disabled||Et.children)&&Fe(Et,Pt)})};Fe(Ie,Ne),$e&&$(),Oe&&ae(Ie,Ne)},ae=(Ie,Ne)=>{const{checkedNodes:Oe,checkedKeys:$e}=he(),{halfCheckedNodes:Ve,halfCheckedKeys:Ue}=pe();g(NODE_CHECK,Ie.data,{checkedKeys:$e,checkedNodes:Oe,halfCheckedKeys:Ue,halfCheckedNodes:Ve}),g(NODE_CHECK_CHANGE,Ie.data,Ne)};function oe(Ie=!1){return he(Ie).checkedKeys}function le(Ie=!1){return he(Ie).checkedNodes}function ue(){return pe().halfCheckedKeys}function de(){return pe().halfCheckedNodes}function he(Ie=!1){const Ne=[],Oe=[];if(t!=null&&t.value&&n.showCheckbox){const{treeNodeMap:$e}=t.value;r.value.forEach(Ve=>{const Ue=$e.get(Ve);Ue&&(!Ie||Ie&&Ue.isLeaf)&&(Oe.push(Ve),Ne.push(Ue.data))})}return{checkedKeys:Oe,checkedNodes:Ne}}function pe(){const Ie=[],Ne=[];if(t!=null&&t.value&&n.showCheckbox){const{treeNodeMap:Oe}=t.value;i.value.forEach($e=>{const Ve=Oe.get($e);Ve&&(Ne.push($e),Ie.push(Ve.data))})}return{halfCheckedNodes:Ie,halfCheckedKeys:Ne}}function _e(Ie){r.value.clear(),i.value.clear(),nextTick(()=>{xe(Ie)})}function Ce(Ie,Ne){if(t!=null&&t.value&&n.showCheckbox){const Oe=t.value.treeNodeMap.get(Ie);Oe&&ie(Oe,Ne,!1)}}function xe(Ie){if(t!=null&&t.value){const{treeNodeMap:Ne}=t.value;if(n.showCheckbox&&Ne&&(Ie==null?void 0:Ie.length)>0){for(const Oe of Ie){const $e=Ne.get(Oe);$e&&!V($e)&&ie($e,!0,!1,!1)}$()}}}return{updateCheckedKeys:$,toggleCheckbox:ie,isChecked:V,isIndeterminate:re,getCheckedKeys:oe,getCheckedNodes:le,getHalfCheckedKeys:ue,getHalfCheckedNodes:de,setChecked:Ce,setCheckedKeys:_e}}function useFilter(n,t){const r=ref(new Set([])),i=ref(new Set([])),g=computed(()=>isFunction$4(n.filterMethod));function $(re){var ie;if(!g.value)return;const ae=new Set,oe=i.value,le=r.value,ue=[],de=((ie=t.value)==null?void 0:ie.treeNodes)||[],he=n.filterMethod;le.clear();function pe(_e){_e.forEach(Ce=>{ue.push(Ce),he!=null&&he(re,Ce.data,Ce)?ue.forEach(Ie=>{ae.add(Ie.key),Ie.expanded=!0}):(Ce.expanded=!1,Ce.isLeaf&&le.add(Ce.key));const xe=Ce.children;if(xe&&pe(xe),!Ce.isLeaf){if(!ae.has(Ce.key))le.add(Ce.key);else if(xe){let Ie=!0;for(const Ne of xe)if(!le.has(Ne.key)){Ie=!1;break}Ie?oe.add(Ce.key):oe.delete(Ce.key)}}ue.pop()})}return pe(de),ae}function V(re){return i.value.has(re.key)}return{hiddenExpandIconKeySet:i,hiddenNodeKeySet:r,doFilter:$,isForceHiddenExpandIcon:V}}function useTree(n,t){const r=ref(new Set),i=ref(),g=shallowRef(),$=ref(),{isIndeterminate:V,isChecked:re,toggleCheckbox:ie,getCheckedKeys:ae,getCheckedNodes:oe,getHalfCheckedKeys:le,getHalfCheckedNodes:ue,setChecked:de,setCheckedKeys:he}=useCheck(n,g),{doFilter:pe,hiddenNodeKeySet:_e,isForceHiddenExpandIcon:Ce}=useFilter(n,g),xe=computed(()=>{var xn;return((xn=n.props)==null?void 0:xn.value)||TreeOptionsEnum.KEY}),Ie=computed(()=>{var xn;return((xn=n.props)==null?void 0:xn.children)||TreeOptionsEnum.CHILDREN}),Ne=computed(()=>{var xn;return((xn=n.props)==null?void 0:xn.disabled)||TreeOptionsEnum.DISABLED}),Oe=computed(()=>{var xn;return((xn=n.props)==null?void 0:xn.label)||TreeOptionsEnum.LABEL}),$e=computed(()=>{var xn;const Ln=r.value,Nn=_e.value,Pn=[],On=((xn=g.value)==null?void 0:xn.treeNodes)||[],Hn=[];for(let Xn=On.length-1;Xn>=0;--Xn)Hn.push(On[Xn]);for(;Hn.length;){const Xn=Hn.pop();if(!Nn.has(Xn.key)&&(Pn.push(Xn),Xn.children&&Ln.has(Xn.key)))for(let In=Xn.children.length-1;In>=0;--In)Hn.push(Xn.children[In])}return Pn}),Ve=computed(()=>$e.value.length>0);function Ue(xn){const Ln=new Map,Nn=new Map;let Pn=1;function On(Xn,In=1,or=void 0){var Qn;const Zn=[];for(const Gn of Xn){const Rn=Pt(Gn),Mn={level:In,key:Rn,data:Gn};Mn.label=Et(Gn),Mn.parent=or;const Bn=ze(Gn);Mn.disabled=qe(Gn),Mn.isLeaf=!Bn||Bn.length===0,Mn.expanded=r.value.has(Rn),Bn&&Bn.length&&(Mn.children=On(Bn,In+1,Mn)),Zn.push(Mn),Ln.set(Rn,Mn),Nn.has(In)||Nn.set(In,[]),(Qn=Nn.get(In))==null||Qn.push(Mn)}return In>Pn&&(Pn=In),Zn}const Hn=On(xn);return{treeNodeMap:Ln,levelTreeNodeMap:Nn,maxLevel:Pn,treeNodes:Hn}}function Fe(xn){const Ln=pe(xn);Ln&&(r.value=Ln)}function ze(xn){return xn[Ie.value]}function Pt(xn){return xn?xn[xe.value]:""}function qe(xn){return xn[Ne.value]}function Et(xn){return xn[Oe.value]}function kt(xn){r.value.has(xn.key)?_n(xn):vn(xn)}function At(xn){const Ln=new Set,Nn=g.value.treeNodeMap;r.value.forEach(Pn=>{const On=Nn.get(Pn);r.value.delete(On.key),On.expanded=!1}),xn.forEach(Pn=>{let On=Nn.get(Pn);for(;On&&!Ln.has(On.key);)Ln.add(On.key),On.expanded=!0,On=On.parent}),r.value=Ln}function Dt(xn,Ln){t(NODE_CLICK,xn.data,xn,Ln),jt(xn),n.expandOnClickNode&&kt(xn),n.showCheckbox&&(n.checkOnClickNode||xn.isLeaf&&n.checkOnClickLeaf)&&!xn.disabled&&ie(xn,!re(xn),!0)}function Lt(xn,Ln){t(NODE_DROP,xn.data,xn,Ln)}function jt(xn){bn(xn)||(i.value=xn.key,t(CURRENT_CHANGE,xn.data,xn))}function hn(xn,Ln){ie(xn,Ln)}function vn(xn){const Ln=r.value;if(g.value&&n.accordion){const{treeNodeMap:Pn}=g.value;Ln.forEach(On=>{const Hn=Pn.get(On);xn&&xn.level===(Hn==null?void 0:Hn.level)&&(Ln.delete(On),Hn.expanded=!1)})}Ln.add(xn.key);const Nn=kn(xn.key);Nn&&(Nn.expanded=!0,t(NODE_EXPAND,Nn.data,Nn))}function _n(xn){r.value.delete(xn.key);const Ln=kn(xn.key);Ln&&(Ln.expanded=!1,t(NODE_COLLAPSE,Ln.data,Ln))}function wn(xn){return!!xn.disabled}function bn(xn){const Ln=i.value;return Ln!==void 0&&Ln===xn.key}function Cn(){var xn,Ln;if(i.value)return(Ln=(xn=g.value)==null?void 0:xn.treeNodeMap.get(i.value))==null?void 0:Ln.data}function Sn(){return i.value}function Tn(xn){i.value=xn}function En(xn){g.value=Ue(xn)}function kn(xn){var Ln;const Nn=isObject$6(xn)?Pt(xn):xn;return(Ln=g.value)==null?void 0:Ln.treeNodeMap.get(Nn)}function $n(xn,Ln="auto"){const Nn=kn(xn);Nn&&$.value&&$.value.scrollToItem($e.value.indexOf(Nn),Ln)}function An(xn){var Ln;(Ln=$.value)==null||Ln.scrollTo(xn)}return watch(()=>n.currentNodeKey,xn=>{i.value=xn},{immediate:!0}),watch(()=>n.defaultExpandedKeys,xn=>{r.value=new Set(xn)},{immediate:!0}),watch(()=>n.data,xn=>{En(xn)},{immediate:!0}),{tree:g,flattenTree:$e,isNotEmpty:Ve,listRef:$,getKey:Pt,getChildren:ze,toggleExpand:kt,toggleCheckbox:ie,isChecked:re,isIndeterminate:V,isDisabled:wn,isCurrent:bn,isForceHiddenExpandIcon:Ce,handleNodeClick:Dt,handleNodeDrop:Lt,handleNodeCheck:hn,getCurrentNode:Cn,getCurrentKey:Sn,setCurrentKey:Tn,getCheckedKeys:ae,getCheckedNodes:oe,getHalfCheckedKeys:le,getHalfCheckedNodes:ue,setChecked:de,setCheckedKeys:he,filter:Fe,setData:En,getNode:kn,expandNode:vn,collapseNode:_n,setExpandedKeys:At,scrollToNode:$n,scrollTo:An}}var ElNodeContent=defineComponent({name:"ElTreeNodeContent",props:treeNodeContentProps,setup(n){const t=inject(ROOT_TREE_INJECTION_KEY),r=useNamespace("tree");return()=>{const i=n.node,{data:g}=i;return t!=null&&t.ctx.slots.default?t.ctx.slots.default({node:i,data:g}):h$1(ElText,{tag:"span",truncated:!0,class:r.be("node","label")},()=>[i==null?void 0:i.label])}}});const _hoisted_1$A=["aria-expanded","aria-disabled","aria-checked","data-key"],_sfc_main$Q=defineComponent({name:"ElTreeNode",__name:"tree-node",props:treeNodeProps,emits:treeNodeEmits,setup(n,{emit:t}){const r=n,i=t,g=inject(ROOT_TREE_INJECTION_KEY),$=useNamespace("tree"),V=computed(()=>{var he;return(he=g==null?void 0:g.props.indent)!=null?he:16}),re=computed(()=>{var he;return(he=g==null?void 0:g.props.icon)!=null?he:caret_right_default}),ie=he=>{const pe=g==null?void 0:g.props.props.class;if(!pe)return{};let _e;if(isFunction$4(pe)){const{data:Ce}=he;_e=pe(Ce,he)}else _e=pe;return isString$2(_e)?{[_e]:!0}:_e},ae=he=>{i("click",r.node,he)},oe=he=>{i("drop",r.node,he)},le=()=>{i("toggle",r.node)},ue=he=>{i("check",r.node,he)},de=he=>{var pe,_e,Ce,xe;(Ce=(_e=(pe=g==null?void 0:g.instance)==null?void 0:pe.vnode)==null?void 0:_e.props)!=null&&Ce.onNodeContextmenu&&(he.stopPropagation(),he.preventDefault()),g==null||g.ctx.emit(NODE_CONTEXTMENU,he,(xe=r.node)==null?void 0:xe.data,r.node)};return(he,pe)=>{var _e,Ce,xe;return openBlock(),createElementBlock("div",{ref:"node$",class:normalizeClass([unref($).b("node"),unref($).is("expanded",he.expanded),unref($).is("current",he.current),unref($).is("focusable",!he.disabled),unref($).is("checked",!he.disabled&&he.checked),ie(he.node)]),role:"treeitem",tabindex:"-1","aria-expanded":he.expanded,"aria-disabled":he.disabled,"aria-checked":he.checked,"data-key":(_e=he.node)==null?void 0:_e.key,onClick:withModifiers(ae,["stop"]),onContextmenu:de,onDragover:pe[1]||(pe[1]=withModifiers(()=>{},["prevent"])),onDragenter:pe[2]||(pe[2]=withModifiers(()=>{},["prevent"])),onDrop:withModifiers(oe,["stop"])},[createBaseVNode("div",{class:normalizeClass(unref($).be("node","content")),style:normalizeStyle$1({paddingLeft:`${(he.node.level-1)*V.value}px`,height:he.itemSize+"px"})},[re.value?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref($).is("leaf",!!((Ce=he.node)!=null&&Ce.isLeaf)),unref($).is("hidden",he.hiddenExpandIcon),{expanded:!((xe=he.node)!=null&&xe.isLeaf)&&he.expanded},unref($).be("node","expand-icon")]),onClick:withModifiers(le,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(re.value)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),he.showCheckbox?(openBlock(),createBlock(unref(ElCheckbox),{key:1,"model-value":he.checked,indeterminate:he.indeterminate,disabled:he.disabled,onChange:ue,onClick:pe[0]||(pe[0]=withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate","disabled"])):createCommentVNode("v-if",!0),createVNode$1(unref(ElNodeContent),{node:{...he.node,expanded:he.expanded}},null,8,["node"])],6)],42,_hoisted_1$A)}}});var ElTreeNode=_export_sfc(_sfc_main$Q,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree-node.vue"]]);const _sfc_main$P=defineComponent({name:"ElTreeV2",__name:"tree",props:treeProps,emits:treeEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useSlots(),V=computed(()=>i.itemSize);provide(ROOT_TREE_INJECTION_KEY,{ctx:{emit:g,slots:$},props:i,instance:getCurrentInstance()}),provide(formItemContextKey,void 0);const{t:re}=useLocale(),ie=useNamespace("tree"),{flattenTree:ae,isNotEmpty:oe,listRef:le,toggleExpand:ue,isIndeterminate:de,isChecked:he,isDisabled:pe,isCurrent:_e,isForceHiddenExpandIcon:Ce,handleNodeClick:xe,handleNodeDrop:Ie,handleNodeCheck:Ne,toggleCheckbox:Oe,getCurrentNode:$e,getCurrentKey:Ve,setCurrentKey:Ue,getCheckedKeys:Fe,getCheckedNodes:ze,getHalfCheckedKeys:Pt,getHalfCheckedNodes:qe,setChecked:Et,setCheckedKeys:kt,filter:At,setData:Dt,getNode:Lt,expandNode:jt,collapseNode:hn,setExpandedKeys:vn,scrollToNode:_n,scrollTo:wn}=useTree(i,g);return t({toggleCheckbox:Oe,getCurrentNode:$e,getCurrentKey:Ve,setCurrentKey:Ue,getCheckedKeys:Fe,getCheckedNodes:ze,getHalfCheckedKeys:Pt,getHalfCheckedNodes:qe,setChecked:Et,setCheckedKeys:kt,filter:At,setData:Dt,getNode:Lt,expandNode:jt,collapseNode:hn,setExpandedKeys:vn,scrollToNode:_n,scrollTo:wn}),(bn,Cn)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(ie).b(),{[unref(ie).m("highlight-current")]:bn.highlightCurrent}]),role:"tree"},[unref(oe)?(openBlock(),createBlock(unref(FixedSizeList),{key:0,ref_key:"listRef",ref:le,"class-name":unref(ie).b("virtual-list"),data:unref(ae),total:unref(ae).length,height:bn.height,"item-size":V.value,"perf-mode":bn.perfMode,"scrollbar-always-on":bn.scrollbarAlwaysOn},{default:withCtx(({data:Sn,index:Tn,style:En})=>[(openBlock(),createBlock(ElTreeNode,{key:Sn[Tn].key,style:normalizeStyle$1(En),node:Sn[Tn],expanded:Sn[Tn].expanded,"show-checkbox":bn.showCheckbox,checked:unref(he)(Sn[Tn]),indeterminate:unref(de)(Sn[Tn]),"item-size":V.value,disabled:unref(pe)(Sn[Tn]),current:unref(_e)(Sn[Tn]),"hidden-expand-icon":unref(Ce)(Sn[Tn]),onClick:unref(xe),onToggle:unref(ue),onCheck:unref(Ne),onDrop:unref(Ie)},null,8,["style","node","expanded","show-checkbox","checked","indeterminate","item-size","disabled","current","hidden-expand-icon","onClick","onToggle","onCheck","onDrop"]))]),_:1},8,["class-name","data","total","height","item-size","perf-mode","scrollbar-always-on"])):(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref(ie).e("empty-block"))},[renderSlot(bn.$slots,"empty",{},()=>{var Sn;return[createBaseVNode("span",{class:normalizeClass(unref(ie).e("empty-text"))},toDisplayString((Sn=bn.emptyText)!=null?Sn:unref(re)("el.tree.emptyText")),3)]})],2))],2))}});var TreeV2=_export_sfc(_sfc_main$P,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tree-v2/src/tree.vue"]]);const ElTreeV2=withInstall(TreeV2),uploadContextKey=Symbol("uploadContextKey"),SCOPE$2="ElUpload";class UploadAjaxError extends Error{constructor(t,r,i,g){super(t),this.name="UploadAjaxError",this.status=r,this.method=i,this.url=g}}function getError(n,t,r){let i;return r.response?i=`${r.response.error||r.response}`:r.responseText?i=`${r.responseText}`:i=`fail to ${t.method} ${n} ${r.status}`,new UploadAjaxError(i,r.status,t.method,n)}function getBody(n){const t=n.responseText||n.response;if(!t)return t;try{return JSON.parse(t)}catch{return t}}const ajaxUpload=n=>{typeof XMLHttpRequest>"u"&&throwError$1(SCOPE$2,"XMLHttpRequest is undefined");const t=new XMLHttpRequest,r=n.action;t.upload&&t.upload.addEventListener("progress",$=>{const V=$;V.percent=$.total>0?$.loaded/$.total*100:0,n.onProgress(V)});const i=new FormData;if(n.data)for(const[$,V]of Object.entries(n.data))isArray$5(V)&&V.length?i.append($,...V):i.append($,V);i.append(n.filename,n.file,n.file.name),t.addEventListener("error",()=>{n.onError(getError(r,n,t))}),t.addEventListener("load",()=>{if(t.status<200||t.status>=300)return n.onError(getError(r,n,t));n.onSuccess(getBody(t))}),t.open(n.method,r,!0),n.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);const g=n.headers||{};if(g instanceof Headers)g.forEach(($,V)=>t.setRequestHeader(V,$));else for(const[$,V]of Object.entries(g))isNil(V)||t.setRequestHeader($,String(V));return t.send(i),t},uploadListTypes=["text","picture","picture-card"];let fileId=1;const genFileId=()=>Date.now()+fileId++,uploadBaseProps=buildProps({action:{type:String,default:"#"},headers:{type:definePropType(Object)},method:{type:String,default:"post"},data:{type:definePropType([Object,Function,Promise]),default:()=>mutable({})},multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:{type:String,default:""},fileList:{type:definePropType(Array),default:()=>mutable([])},autoUpload:{type:Boolean,default:!0},listType:{type:String,values:uploadListTypes,default:"text"},httpRequest:{type:definePropType(Function),default:ajaxUpload},disabled:{type:Boolean,default:void 0},limit:Number,directory:Boolean}),uploadProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},beforeRemove:{type:definePropType(Function)},onRemove:{type:definePropType(Function),default:NOOP},onChange:{type:definePropType(Function),default:NOOP},onPreview:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP},crossorigin:{type:definePropType(String)}}),uploadListProps=buildProps({files:{type:definePropType(Array),default:()=>mutable([])},disabled:{type:Boolean,default:void 0},handlePreview:{type:definePropType(Function),default:NOOP},listType:{type:String,values:uploadListTypes,default:"text"},crossorigin:{type:definePropType(String)}}),uploadListEmits={remove:n=>!!n},_hoisted_1$z=["tabindex","aria-disabled","onKeydown"],_hoisted_2$p=["src","crossorigin"],_hoisted_3$a=["onClick"],_hoisted_4$7=["title"],_hoisted_5$1=["onClick"],_hoisted_6=["onClick"],_sfc_main$O=defineComponent({name:"ElUploadList",__name:"upload-list",props:uploadListProps,emits:uploadListEmits,setup(n,{emit:t}){const r=n,i=t,{t:g}=useLocale(),$=useNamespace("upload"),V=useNamespace("icon"),re=useNamespace("list"),ie=useFormDisabled(),ae=ref(!1),oe=computed(()=>[$.b("list"),$.bm("list",r.listType),$.is("disabled",ie.value)]),le=ue=>{i("remove",ue)};return(ue,de)=>(openBlock(),createBlock(TransitionGroup,{tag:"ul",class:normalizeClass(oe.value),name:unref(re).b()},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(ue.files,(he,pe)=>(openBlock(),createElementBlock("li",{key:he.uid||he.name,class:normalizeClass([unref($).be("list","item"),unref($).is(he.status),{focusing:ae.value}]),tabindex:unref(ie)?void 0:0,"aria-disabled":unref(ie),role:"button",onKeydown:withKeys(_e=>!unref(ie)&&le(he),["delete"]),onFocus:de[0]||(de[0]=_e=>ae.value=!0),onBlur:de[1]||(de[1]=_e=>ae.value=!1),onClick:de[2]||(de[2]=_e=>ae.value=!1)},[renderSlot(ue.$slots,"default",{file:he,index:pe},()=>[ue.listType==="picture"||he.status!=="uploading"&&ue.listType==="picture-card"?(openBlock(),createElementBlock("img",{key:0,class:normalizeClass(unref($).be("list","item-thumbnail")),src:he.url,crossorigin:ue.crossorigin,alt:""},null,10,_hoisted_2$p)):createCommentVNode("v-if",!0),he.status==="uploading"||ue.listType!=="picture-card"?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref($).be("list","item-info"))},[createBaseVNode("a",{class:normalizeClass(unref($).be("list","item-name")),onClick:withModifiers(_e=>ue.handlePreview(he),["prevent"])},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(V).m("document"))},{default:withCtx(()=>[createVNode$1(unref(document_default))]),_:1},8,["class"]),createBaseVNode("span",{class:normalizeClass(unref($).be("list","item-file-name")),title:he.name},toDisplayString(he.name),11,_hoisted_4$7)],10,_hoisted_3$a),he.status==="uploading"?(openBlock(),createBlock(unref(ElProgress),{key:0,type:ue.listType==="picture-card"?"circle":"line","stroke-width":ue.listType==="picture-card"?6:2,percentage:Number(he.percentage),style:normalizeStyle$1(ue.listType==="picture-card"?"":"margin-top: 0.5rem")},null,8,["type","stroke-width","percentage","style"])):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("label",{class:normalizeClass(unref($).be("list","item-status-label"))},[ue.listType==="text"?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(V).m("upload-success"),unref(V).m("circle-check")])},{default:withCtx(()=>[createVNode$1(unref(circle_check_default))]),_:1},8,["class"])):["picture-card","picture"].includes(ue.listType)?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(V).m("upload-success"),unref(V).m("check")])},{default:withCtx(()=>[createVNode$1(unref(check_default))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2),unref(ie)?createCommentVNode("v-if",!0):(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(V).m("close")),onClick:_e=>le(he)},{default:withCtx(()=>[createVNode$1(unref(close_default))]),_:1},8,["class","onClick"])),createCommentVNode(" Due to close btn only appears when li gets focused disappears after li gets blurred, thus keyboard navigation can never reach close btn"),createCommentVNode(" This is a bug which needs to be fixed "),createCommentVNode(" TODO: Fix the incorrect navigation interaction "),unref(ie)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("i",{key:3,class:normalizeClass(unref(V).m("close-tip"))},toDisplayString(unref(g)("el.upload.deleteTip")),3)),ue.listType==="picture-card"?(openBlock(),createElementBlock("span",{key:4,class:normalizeClass(unref($).be("list","item-actions"))},[createBaseVNode("span",{class:normalizeClass(unref($).be("list","item-preview")),onClick:_e=>ue.handlePreview(he)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(V).m("zoom-in"))},{default:withCtx(()=>[createVNode$1(unref(zoom_in_default))]),_:1},8,["class"])],10,_hoisted_5$1),unref(ie)?createCommentVNode("v-if",!0):(openBlock(),createElementBlock("span",{key:0,class:normalizeClass(unref($).be("list","item-delete")),onClick:_e=>le(he)},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(V).m("delete"))},{default:withCtx(()=>[createVNode$1(unref(delete_default))]),_:1},8,["class"])],10,_hoisted_6))],2)):createCommentVNode("v-if",!0)])],42,_hoisted_1$z))),128)),renderSlot(ue.$slots,"append")]),_:3},8,["class","name"]))}});var UploadList=_export_sfc(_sfc_main$O,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-list.vue"]]);const uploadDraggerProps=buildProps({disabled:{type:Boolean,default:void 0},directory:Boolean}),uploadDraggerEmits={file:n=>isArray$5(n)},COMPONENT_NAME$1="ElUploadDrag",_sfc_main$N=defineComponent({name:COMPONENT_NAME$1,__name:"upload-dragger",props:uploadDraggerProps,emits:uploadDraggerEmits,setup(n,{emit:t}){const r=n,i=t;inject(uploadContextKey)||throwError$1(COMPONENT_NAME$1,"usage: ");const $=useNamespace("upload"),V=ref(!1),re=useFormDisabled(),ie=de=>new Promise((he,pe)=>de.file(he,pe)),ae=async de=>{try{if(de.isFile){const he=await ie(de);return he.isDirectory=!1,[he]}if(de.isDirectory){const he=de.createReader(),pe=()=>new Promise((Ne,Oe)=>he.readEntries(Ne,Oe)),_e=[];let Ce=await pe();for(;Ce.length>0;)_e.push(...Ce),Ce=await pe();const xe=_e.map(Ne=>ae(Ne).catch(()=>[])),Ie=await Promise.all(xe);return flatten$1(Ie)}}catch{return[]}return[]},oe=async de=>{if(re.value)return;V.value=!1,de.stopPropagation();const he=Array.from(de.dataTransfer.files),pe=de.dataTransfer.items||[];if(r.directory){const _e=Array.from(pe).map(xe=>{var Ie;return(Ie=xe==null?void 0:xe.webkitGetAsEntry)==null?void 0:Ie.call(xe)}).filter(xe=>xe),Ce=await Promise.all(_e.map(ae));i("file",flatten$1(Ce));return}he.forEach((_e,Ce)=>{var xe;const Ie=pe[Ce],Ne=(xe=Ie==null?void 0:Ie.webkitGetAsEntry)==null?void 0:xe.call(Ie);Ne&&(_e.isDirectory=Ne.isDirectory)}),i("file",he)},le=()=>{re.value||(V.value=!0)},ue=de=>{de.currentTarget.contains(de.relatedTarget)||(V.value=!1)};return(de,he)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref($).b("dragger"),unref($).is("dragover",V.value)]),onDrop:withModifiers(oe,["prevent"]),onDragover:withModifiers(le,["prevent"]),onDragleave:withModifiers(ue,["prevent"])},[renderSlot(de.$slots,"default")],34))}});var UploadDragger=_export_sfc(_sfc_main$N,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-dragger.vue"]]);const uploadContentProps=buildProps({...uploadBaseProps,beforeUpload:{type:definePropType(Function),default:NOOP},onRemove:{type:definePropType(Function),default:NOOP},onStart:{type:definePropType(Function),default:NOOP},onSuccess:{type:definePropType(Function),default:NOOP},onProgress:{type:definePropType(Function),default:NOOP},onError:{type:definePropType(Function),default:NOOP},onExceed:{type:definePropType(Function),default:NOOP}}),_hoisted_1$y=["tabindex","aria-disabled","onKeydown"],_hoisted_2$o=["name","disabled","multiple","accept","webkitdirectory"],_sfc_main$M=defineComponent({name:"ElUploadContent",inheritAttrs:!1,__name:"upload-content",props:uploadContentProps,setup(n,{expose:t}){const r=n,i=useNamespace("upload"),g=useFormDisabled(),$=shallowRef({}),V=shallowRef(),re=pe=>{if(pe.length===0)return;const{autoUpload:_e,limit:Ce,fileList:xe,multiple:Ie,onStart:Ne,onExceed:Oe}=r;if(Ce&&xe.length+pe.length>Ce){Oe(pe,xe);return}Ie||(pe=pe.slice(0,1));for(const $e of pe){const Ve=$e;Ve.uid=genFileId(),Ne(Ve),_e&&ie(Ve)}},ie=async pe=>{if(V.value.value="",!r.beforeUpload)return oe(pe);let _e,Ce={};try{const Ie=r.data,Ne=r.beforeUpload(pe);Ce=isPlainObject$3(r.data)?cloneDeep(r.data):r.data,_e=await Ne,isPlainObject$3(r.data)&&isEqual$1(Ie,Ce)&&(Ce=cloneDeep(r.data))}catch{_e=!1}if(_e===!1){r.onRemove(pe);return}let xe=pe;_e instanceof Blob&&(_e instanceof File?xe=_e:xe=new File([_e],pe.name,{type:pe.type})),oe(Object.assign(xe,{uid:pe.uid}),Ce)},ae=async(pe,_e)=>isFunction$4(pe)?pe(_e):pe,oe=async(pe,_e)=>{const{headers:Ce,data:xe,method:Ie,withCredentials:Ne,name:Oe,action:$e,onProgress:Ve,onSuccess:Ue,onError:Fe,httpRequest:ze}=r;try{_e=await ae(_e??xe,pe)}catch{r.onRemove(pe);return}const{uid:Pt}=pe,qe={headers:Ce||{},withCredentials:Ne,file:pe,data:_e,method:Ie,filename:Oe,action:$e,onProgress:kt=>{Ve(kt,pe)},onSuccess:kt=>{Ue(kt,pe),delete $.value[Pt]},onError:kt=>{Fe(kt,pe),delete $.value[Pt]}},Et=ze(qe);$.value[Pt]=Et,Et instanceof Promise&&Et.then(qe.onSuccess,qe.onError)},le=pe=>{const _e=pe.target.files;_e&&re(Array.from(_e))},ue=()=>{g.value||(V.value.value="",V.value.click())},de=()=>{ue()};return t({abort:pe=>{entriesOf($.value).filter(pe?([Ce])=>String(pe.uid)===Ce:()=>!0).forEach(([Ce,xe])=>{xe instanceof XMLHttpRequest&&xe.abort(),delete $.value[Ce]})},upload:ie}),(pe,_e)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(i).b(),unref(i).m(pe.listType),unref(i).is("drag",pe.drag),unref(i).is("disabled",unref(g))]),tabindex:unref(g)?void 0:0,"aria-disabled":unref(g),role:"button",onClick:ue,onKeydown:withKeys(withModifiers(de,["self"]),["enter","space"])},[pe.drag?(openBlock(),createBlock(UploadDragger,{key:0,disabled:unref(g),directory:pe.directory,onFile:re},{default:withCtx(()=>[renderSlot(pe.$slots,"default")]),_:3},8,["disabled","directory"])):renderSlot(pe.$slots,"default",{key:1}),createBaseVNode("input",{ref_key:"inputRef",ref:V,class:normalizeClass(unref(i).e("input")),name:pe.name,disabled:unref(g),multiple:pe.multiple,accept:pe.accept,webkitdirectory:pe.directory,type:"file",onChange:le,onClick:_e[0]||(_e[0]=withModifiers(()=>{},["stop"]))},null,42,_hoisted_2$o)],42,_hoisted_1$y))}});var UploadContent=_export_sfc(_sfc_main$M,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload-content.vue"]]);const SCOPE$1="ElUpload",revokeFileObjectURL=n=>{var t;(t=n.url)!=null&&t.startsWith("blob:")&&URL.revokeObjectURL(n.url)},useHandlers=(n,t)=>{const r=useVModel(n,"fileList",void 0,{passive:!0}),i=he=>r.value.find(pe=>pe.uid===he.uid);function g(he){var pe;(pe=t.value)==null||pe.abort(he)}function $(he=["ready","uploading","success","fail"]){r.value=r.value.filter(pe=>!he.includes(pe.status))}function V(he){r.value=r.value.filter(pe=>pe.uid!==he.uid)}const re=he=>{nextTick(()=>n.onChange(he,r.value))},ie=(he,pe)=>{const _e=i(pe);_e&&(console.error(he),_e.status="fail",V(_e),n.onError(he,_e,r.value),re(_e))},ae=(he,pe)=>{const _e=i(pe);_e&&(n.onProgress(he,_e,r.value),_e.status="uploading",_e.percentage=Math.round(he.percent))},oe=(he,pe)=>{const _e=i(pe);_e&&(_e.status="success",_e.response=he,n.onSuccess(he,_e,r.value),re(_e))},le=he=>{isNil(he.uid)&&(he.uid=genFileId());const pe={name:he.name,percentage:0,status:"ready",size:he.size,raw:he,uid:he.uid};if(n.listType==="picture-card"||n.listType==="picture")try{pe.url=URL.createObjectURL(he)}catch(_e){_e.message,n.onError(_e,pe,r.value)}r.value=[...r.value,pe],re(pe)},ue=async he=>{const pe=he instanceof File?i(he):he;pe||throwError$1(SCOPE$1,"file to be removed not found");const _e=Ce=>{g(Ce),V(Ce),n.onRemove(Ce,r.value),revokeFileObjectURL(Ce)};n.beforeRemove?await n.beforeRemove(pe,r.value)!==!1&&_e(pe):_e(pe)};function de(){r.value.filter(({status:he})=>he==="ready").forEach(({raw:he})=>{var pe;return he&&((pe=t.value)==null?void 0:pe.upload(he))})}return watch(()=>n.listType,he=>{he!=="picture-card"&&he!=="picture"||(r.value=r.value.map(pe=>{const{raw:_e,url:Ce}=pe;if(!Ce&&_e)try{pe.url=URL.createObjectURL(_e)}catch(xe){n.onError(xe,pe,r.value)}return pe}))}),watch(r,he=>{for(const pe of he)pe.uid||(pe.uid=genFileId()),pe.status||(pe.status="success")},{immediate:!0,deep:!0}),{uploadFiles:r,abort:g,clearFiles:$,handleError:ie,handleProgress:ae,handleStart:le,handleSuccess:oe,handleRemove:ue,submit:de,revokeFileObjectURL}},_sfc_main$L=defineComponent({name:"ElUpload",__name:"upload",props:uploadProps,setup(n,{expose:t}){const r=n,i=useFormDisabled(),g=shallowRef(),{abort:$,submit:V,clearFiles:re,uploadFiles:ie,handleStart:ae,handleError:oe,handleRemove:le,handleSuccess:ue,handleProgress:de,revokeFileObjectURL:he}=useHandlers(r,g),pe=computed(()=>r.listType==="picture-card"),_e=computed(()=>({...r,fileList:ie.value,onStart:ae,onProgress:de,onSuccess:ue,onError:oe,onRemove:le}));return onBeforeUnmount(()=>{ie.value.forEach(he)}),provide(uploadContextKey,{accept:toRef$1(r,"accept")}),t({abort:$,submit:V,clearFiles:re,handleStart:ae,handleRemove:le}),(Ce,xe)=>(openBlock(),createElementBlock("div",null,[pe.value&&Ce.showFileList?(openBlock(),createBlock(UploadList,{key:0,disabled:unref(i),"list-type":Ce.listType,files:unref(ie),crossorigin:Ce.crossorigin,"handle-preview":Ce.onPreview,onRemove:unref(le)},createSlots({append:withCtx(()=>[createVNode$1(UploadContent,mergeProps({ref_key:"uploadRef",ref:g},_e.value),{default:withCtx(()=>[Ce.$slots.trigger?renderSlot(Ce.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Ce.$slots.trigger&&Ce.$slots.default?renderSlot(Ce.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)]),_:2},[Ce.$slots.file?{name:"default",fn:withCtx(({file:Ie,index:Ne})=>[renderSlot(Ce.$slots,"file",{file:Ie,index:Ne})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0),!pe.value||pe.value&&!Ce.showFileList?(openBlock(),createBlock(UploadContent,mergeProps({key:1,ref_key:"uploadRef",ref:g},_e.value),{default:withCtx(()=>[Ce.$slots.trigger?renderSlot(Ce.$slots,"trigger",{key:0}):createCommentVNode("v-if",!0),!Ce.$slots.trigger&&Ce.$slots.default?renderSlot(Ce.$slots,"default",{key:1}):createCommentVNode("v-if",!0)]),_:3},16)):createCommentVNode("v-if",!0),Ce.$slots.trigger?renderSlot(Ce.$slots,"default",{key:2}):createCommentVNode("v-if",!0),renderSlot(Ce.$slots,"tip"),!pe.value&&Ce.showFileList?(openBlock(),createBlock(UploadList,{key:3,disabled:unref(i),"list-type":Ce.listType,files:unref(ie),crossorigin:Ce.crossorigin,"handle-preview":Ce.onPreview,onRemove:unref(le)},createSlots({_:2},[Ce.$slots.file?{name:"default",fn:withCtx(({file:Ie,index:Ne})=>[renderSlot(Ce.$slots,"file",{file:Ie,index:Ne})]),key:"0"}:void 0]),1032,["disabled","list-type","files","crossorigin","handle-preview","onRemove"])):createCommentVNode("v-if",!0)]))}});var Upload=_export_sfc(_sfc_main$L,[["__file","/home/runner/work/element-plus/element-plus/packages/components/upload/src/upload.vue"]]);const ElUpload=withInstall(Upload),watermarkProps=buildProps({zIndex:{type:Number,default:9},rotate:{type:Number,default:-22},width:Number,height:Number,image:String,content:{type:definePropType([String,Array]),default:"Element Plus"},font:{type:definePropType(Object)},gap:{type:definePropType(Array),default:()=>[100,100]},offset:{type:definePropType(Array)}});function toLowercaseSeparator(n){return n.replace(/([A-Z])/g,"-$1").toLowerCase()}function getStyleStr(n){return Object.keys(n).map(t=>`${toLowercaseSeparator(t)}: ${n[t]};`).join(" ")}function getPixelRatio(){return window.devicePixelRatio||1}const reRendering=(n,t)=>{let r=!1;return n.removedNodes.length&&t&&(r=Array.from(n.removedNodes).includes(t)),n.type==="attributes"&&n.target===t&&(r=!0),r},TEXT_ALIGN_RATIO_MAP={left:[0,.5],start:[0,.5],center:[.5,0],right:[1,-.5],end:[1,-.5]};function prepareCanvas(n,t,r=1){const i=document.createElement("canvas"),g=i.getContext("2d"),$=n*r,V=t*r;return i.setAttribute("width",`${$}px`),i.setAttribute("height",`${V}px`),g.save(),[g,i,$,V]}function useClips(){function n(t,r,i,g,$,V,re,ie,ae){const[oe,le,ue,de]=prepareCanvas(g,$,i);let he=0;if(t instanceof HTMLImageElement)oe.drawImage(t,0,0,ue,de);else{const{color:bn,fontSize:Cn,fontStyle:Sn,fontWeight:Tn,fontFamily:En,textAlign:kn,textBaseline:$n}=V,An=Number(Cn)*i;oe.font=`${Sn} normal ${Tn} ${An}px/${$}px ${En}`,oe.fillStyle=bn,oe.textAlign=kn,oe.textBaseline=$n;const xn=isArray$5(t)?t:[t];if($n!=="top"&&xn[0]){const Ln=oe.measureText(xn[0]);oe.textBaseline="top";const Nn=oe.measureText(xn[0]);he=Ln.actualBoundingBoxAscent-Nn.actualBoundingBoxAscent}xn==null||xn.forEach((Ln,Nn)=>{const[Pn,On]=TEXT_ALIGN_RATIO_MAP[kn];oe.fillText(Ln??"",ue*Pn+ae*On,Nn*(An+V.fontGap*i))})}const pe=Math.PI/180*Number(r),_e=Math.max(g,$),[Ce,xe,Ie]=prepareCanvas(_e,_e,i);Ce.translate(Ie/2,Ie/2),Ce.rotate(pe),ue>0&&de>0&&Ce.drawImage(le,-ue/2,-de/2);function Ne(bn,Cn){const Sn=bn*Math.cos(pe)-Cn*Math.sin(pe),Tn=bn*Math.sin(pe)+Cn*Math.cos(pe);return[Sn,Tn]}let Oe=0,$e=0,Ve=0,Ue=0;const Fe=ue/2,ze=de/2;[[0-Fe,0-ze],[0+Fe,0-ze],[0+Fe,0+ze],[0-Fe,0+ze]].forEach(([bn,Cn])=>{const[Sn,Tn]=Ne(bn,Cn);Oe=Math.min(Oe,Sn),$e=Math.max($e,Sn),Ve=Math.min(Ve,Tn),Ue=Math.max(Ue,Tn)});const qe=Oe+Ie/2,Et=Ve+Ie/2,kt=$e-Oe,At=Ue-Ve,Dt=re*i,Lt=ie*i,jt=(kt+Dt)*2,hn=At+Lt,[vn,_n]=prepareCanvas(jt,hn);function wn(bn=0,Cn=0){vn.drawImage(xe,qe,Et,kt,At,bn,Cn+he,kt,At)}return wn(),wn(kt+Dt,-At/2-Lt/2),wn(kt+Dt,+At/2+Lt/2),[_n.toDataURL(),jt/i,hn/i]}return n}const _sfc_main$K=defineComponent({name:"ElWatermark",__name:"watermark",props:watermarkProps,setup(n){const t={position:"relative"},r=n,i=computed(()=>{var Pt,qe;return(qe=(Pt=r.font)==null?void 0:Pt.fontGap)!=null?qe:3}),g=computed(()=>{var Pt,qe;return(qe=(Pt=r.font)==null?void 0:Pt.color)!=null?qe:"rgba(0,0,0,.15)"}),$=computed(()=>{var Pt,qe;return(qe=(Pt=r.font)==null?void 0:Pt.fontSize)!=null?qe:16}),V=computed(()=>{var Pt,qe;return(qe=(Pt=r.font)==null?void 0:Pt.fontWeight)!=null?qe:"normal"}),re=computed(()=>{var Pt,qe;return(qe=(Pt=r.font)==null?void 0:Pt.fontStyle)!=null?qe:"normal"}),ie=computed(()=>{var Pt,qe;return(qe=(Pt=r.font)==null?void 0:Pt.fontFamily)!=null?qe:"sans-serif"}),ae=computed(()=>{var Pt,qe;return(qe=(Pt=r.font)==null?void 0:Pt.textAlign)!=null?qe:"center"}),oe=computed(()=>{var Pt,qe;return(qe=(Pt=r.font)==null?void 0:Pt.textBaseline)!=null?qe:"hanging"}),le=computed(()=>r.gap[0]),ue=computed(()=>r.gap[1]),de=computed(()=>le.value/2),he=computed(()=>ue.value/2),pe=computed(()=>{var Pt,qe;return(qe=(Pt=r.offset)==null?void 0:Pt[0])!=null?qe:de.value}),_e=computed(()=>{var Pt,qe;return(qe=(Pt=r.offset)==null?void 0:Pt[1])!=null?qe:he.value}),Ce=()=>{const Pt={zIndex:r.zIndex,position:"absolute",left:0,top:0,width:"100%",height:"100%",pointerEvents:"none",backgroundRepeat:"repeat"};let qe=pe.value-de.value,Et=_e.value-he.value;return qe>0&&(Pt.left=`${qe}px`,Pt.width=`calc(100% - ${qe}px)`,qe=0),Et>0&&(Pt.top=`${Et}px`,Pt.height=`calc(100% - ${Et}px)`,Et=0),Pt.backgroundPosition=`${qe}px ${Et}px`,Pt},xe=shallowRef(null),Ie=shallowRef(),Ne=ref(!1),Oe=()=>{Ie.value&&(Ie.value.remove(),Ie.value=void 0)},$e=(Pt,qe)=>{var Et;xe.value&&Ie.value&&(Ne.value=!0,Ie.value.setAttribute("style",getStyleStr({...Ce(),backgroundImage:`url('${Pt}')`,backgroundSize:`${Math.floor(qe)}px`})),(Et=xe.value)==null||Et.append(Ie.value),setTimeout(()=>{Ne.value=!1}))},Ve=Pt=>{let qe=120,Et=64,kt=0;const{image:At,content:Dt,width:Lt,height:jt,rotate:hn}=r;if(!At&&Pt.measureText){Pt.font=`${Number($.value)}px ${ie.value}`;const vn=isArray$5(Dt)?Dt:[Dt];let _n=0,wn=0;vn.forEach(Cn=>{const{width:Sn,fontBoundingBoxAscent:Tn,fontBoundingBoxDescent:En,actualBoundingBoxAscent:kn,actualBoundingBoxDescent:$n}=Pt.measureText(Cn),An=isUndefined$1(Tn)?kn+$n:Tn+En;Sn>_n&&(_n=Math.ceil(Sn)),An>wn&&(wn=Math.ceil(An))}),qe=_n,Et=wn*vn.length+(vn.length-1)*i.value;const bn=Math.PI/180*Number(hn);kt=Math.ceil(Math.abs(Math.sin(bn)*Et)/2),qe+=kt}return[Lt??qe,jt??Et,kt]},Ue=useClips(),Fe=()=>{const qe=document.createElement("canvas").getContext("2d"),Et=r.image,kt=r.content,At=r.rotate;if(qe){Ie.value||(Ie.value=document.createElement("div"));const Dt=getPixelRatio(),[Lt,jt,hn]=Ve(qe),vn=_n=>{const[wn,bn]=Ue(_n||"",At,Dt,Lt,jt,{color:g.value,fontSize:$.value,fontStyle:re.value,fontWeight:V.value,fontFamily:ie.value,fontGap:i.value,textAlign:ae.value,textBaseline:oe.value},le.value,ue.value,hn);$e(wn,bn)};if(Et){const _n=new Image;_n.onload=()=>{vn(_n)},_n.onerror=()=>{vn(kt)},_n.crossOrigin="anonymous",_n.referrerPolicy="no-referrer",_n.src=Et}else vn(kt)}};return onMounted(()=>{Fe()}),watch(()=>r,()=>{Fe()},{deep:!0,flush:"post"}),onBeforeUnmount(()=>{Oe()}),useMutationObserver(xe,Pt=>{Ne.value||Pt.forEach(qe=>{reRendering(qe,Ie.value)&&(Oe(),Fe())})},{attributes:!0,subtree:!0,childList:!0}),(Pt,qe)=>(openBlock(),createElementBlock("div",{ref_key:"containerRef",ref:xe,style:normalizeStyle$1([t])},[renderSlot(Pt.$slots,"default")],4))}});var Watermark=_export_sfc(_sfc_main$K,[["__file","/home/runner/work/element-plus/element-plus/packages/components/watermark/src/watermark.vue"]]);const ElWatermark=withInstall(Watermark),maskProps=buildProps({zIndex:{type:Number,default:1001},visible:Boolean,fill:{type:String,default:"rgba(0,0,0,0.5)"},pos:{type:definePropType(Object)},targetAreaClickable:{type:Boolean,default:!0}}),min$2=Math.min,max$2=Math.max,round$3=Math.round,floor=Math.floor,createCoords=n=>({x:n,y:n}),oppositeSideMap={left:"right",right:"left",bottom:"top",top:"bottom"},oppositeAlignmentMap={start:"end",end:"start"};function clamp$2(n,t,r){return max$2(n,min$2(t,r))}function evaluate(n,t){return typeof n=="function"?n(t):n}function getSide(n){return n.split("-")[0]}function getAlignment(n){return n.split("-")[1]}function getOppositeAxis(n){return n==="x"?"y":"x"}function getAxisLength(n){return n==="y"?"height":"width"}const yAxisSides=new Set(["top","bottom"]);function getSideAxis(n){return yAxisSides.has(getSide(n))?"y":"x"}function getAlignmentAxis(n){return getOppositeAxis(getSideAxis(n))}function getAlignmentSides(n,t,r){r===void 0&&(r=!1);const i=getAlignment(n),g=getAlignmentAxis(n),$=getAxisLength(g);let V=g==="x"?i===(r?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[$]>t.floating[$]&&(V=getOppositePlacement(V)),[V,getOppositePlacement(V)]}function getExpandedPlacements(n){const t=getOppositePlacement(n);return[getOppositeAlignmentPlacement(n),t,getOppositeAlignmentPlacement(t)]}function getOppositeAlignmentPlacement(n){return n.replace(/start|end/g,t=>oppositeAlignmentMap[t])}const lrPlacement=["left","right"],rlPlacement=["right","left"],tbPlacement=["top","bottom"],btPlacement=["bottom","top"];function getSideList(n,t,r){switch(n){case"top":case"bottom":return r?t?rlPlacement:lrPlacement:t?lrPlacement:rlPlacement;case"left":case"right":return t?tbPlacement:btPlacement;default:return[]}}function getOppositeAxisPlacements(n,t,r,i){const g=getAlignment(n);let $=getSideList(getSide(n),r==="start",i);return g&&($=$.map(V=>V+"-"+g),t&&($=$.concat($.map(getOppositeAlignmentPlacement)))),$}function getOppositePlacement(n){return n.replace(/left|right|bottom|top/g,t=>oppositeSideMap[t])}function expandPaddingObject(n){return{top:0,right:0,bottom:0,left:0,...n}}function getPaddingObject(n){return typeof n!="number"?expandPaddingObject(n):{top:n,right:n,bottom:n,left:n}}function rectToClientRect(n){const{x:t,y:r,width:i,height:g}=n;return{width:i,height:g,top:r,left:t,right:t+i,bottom:r+g,x:t,y:r}}function computeCoordsFromPlacement(n,t,r){let{reference:i,floating:g}=n;const $=getSideAxis(t),V=getAlignmentAxis(t),re=getAxisLength(V),ie=getSide(t),ae=$==="y",oe=i.x+i.width/2-g.width/2,le=i.y+i.height/2-g.height/2,ue=i[re]/2-g[re]/2;let de;switch(ie){case"top":de={x:oe,y:i.y-g.height};break;case"bottom":de={x:oe,y:i.y+i.height};break;case"right":de={x:i.x+i.width,y:le};break;case"left":de={x:i.x-g.width,y:le};break;default:de={x:i.x,y:i.y}}switch(getAlignment(t)){case"start":de[V]-=ue*(r&&ae?-1:1);break;case"end":de[V]+=ue*(r&&ae?-1:1);break}return de}const computePosition$1=async(n,t,r)=>{const{placement:i="bottom",strategy:g="absolute",middleware:$=[],platform:V}=r,re=$.filter(Boolean),ie=await(V.isRTL==null?void 0:V.isRTL(t));let ae=await V.getElementRects({reference:n,floating:t,strategy:g}),{x:oe,y:le}=computeCoordsFromPlacement(ae,i,ie),ue=i,de={},he=0;for(let pe=0;pe({name:"arrow",options:n,async fn(t){const{x:r,y:i,placement:g,rects:$,platform:V,elements:re,middlewareData:ie}=t,{element:ae,padding:oe=0}=evaluate(n,t)||{};if(ae==null)return{};const le=getPaddingObject(oe),ue={x:r,y:i},de=getAlignmentAxis(g),he=getAxisLength(de),pe=await V.getDimensions(ae),_e=de==="y",Ce=_e?"top":"left",xe=_e?"bottom":"right",Ie=_e?"clientHeight":"clientWidth",Ne=$.reference[he]+$.reference[de]-ue[de]-$.floating[he],Oe=ue[de]-$.reference[de],$e=await(V.getOffsetParent==null?void 0:V.getOffsetParent(ae));let Ve=$e?$e[Ie]:0;(!Ve||!await(V.isElement==null?void 0:V.isElement($e)))&&(Ve=re.floating[Ie]||$.floating[he]);const Ue=Ne/2-Oe/2,Fe=Ve/2-pe[he]/2-1,ze=min$2(le[Ce],Fe),Pt=min$2(le[xe],Fe),qe=ze,Et=Ve-pe[he]-Pt,kt=Ve/2-pe[he]/2+Ue,At=clamp$2(qe,kt,Et),Dt=!ie.arrow&&getAlignment(g)!=null&&kt!==At&&$.reference[he]/2-(ktkt<=0)){var Pt,qe;const kt=(((Pt=$.flip)==null?void 0:Pt.index)||0)+1,At=Ve[kt];if(At&&(!(le==="alignment"?xe!==getSideAxis(At):!1)||ze.every(jt=>getSideAxis(jt.placement)===xe?jt.overflows[0]>0:!0)))return{data:{index:kt,overflows:ze},reset:{placement:At}};let Dt=(qe=ze.filter(Lt=>Lt.overflows[0]<=0).sort((Lt,jt)=>Lt.overflows[1]-jt.overflows[1])[0])==null?void 0:qe.placement;if(!Dt)switch(de){case"bestFit":{var Et;const Lt=(Et=ze.filter(jt=>{if($e){const hn=getSideAxis(jt.placement);return hn===xe||hn==="y"}return!0}).map(jt=>[jt.placement,jt.overflows.filter(hn=>hn>0).reduce((hn,vn)=>hn+vn,0)]).sort((jt,hn)=>jt[1]-hn[1])[0])==null?void 0:Et[0];Lt&&(Dt=Lt);break}case"initialPlacement":Dt=re;break}if(g!==Dt)return{reset:{placement:Dt}}}return{}}}},originSides=new Set(["left","top"]);async function convertValueToCoords(n,t){const{placement:r,platform:i,elements:g}=n,$=await(i.isRTL==null?void 0:i.isRTL(g.floating)),V=getSide(r),re=getAlignment(r),ie=getSideAxis(r)==="y",ae=originSides.has(V)?-1:1,oe=$&&ie?-1:1,le=evaluate(t,n);let{mainAxis:ue,crossAxis:de,alignmentAxis:he}=typeof le=="number"?{mainAxis:le,crossAxis:0,alignmentAxis:null}:{mainAxis:le.mainAxis||0,crossAxis:le.crossAxis||0,alignmentAxis:le.alignmentAxis};return re&&typeof he=="number"&&(de=re==="end"?he*-1:he),ie?{x:de*oe,y:ue*ae}:{x:ue*ae,y:de*oe}}const offset$1=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(t){var r,i;const{x:g,y:$,placement:V,middlewareData:re}=t,ie=await convertValueToCoords(t,n);return V===((r=re.offset)==null?void 0:r.placement)&&(i=re.arrow)!=null&&i.alignmentOffset?{}:{x:g+ie.x,y:$+ie.y,data:{...ie,placement:V}}}}},shift$1=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(t){const{x:r,y:i,placement:g}=t,{mainAxis:$=!0,crossAxis:V=!1,limiter:re={fn:_e=>{let{x:Ce,y:xe}=_e;return{x:Ce,y:xe}}},...ie}=evaluate(n,t),ae={x:r,y:i},oe=await detectOverflow$1(t,ie),le=getSideAxis(getSide(g)),ue=getOppositeAxis(le);let de=ae[ue],he=ae[le];if($){const _e=ue==="y"?"top":"left",Ce=ue==="y"?"bottom":"right",xe=de+oe[_e],Ie=de-oe[Ce];de=clamp$2(xe,de,Ie)}if(V){const _e=le==="y"?"top":"left",Ce=le==="y"?"bottom":"right",xe=he+oe[_e],Ie=he-oe[Ce];he=clamp$2(xe,he,Ie)}const pe=re.fn({...t,[ue]:de,[le]:he});return{...pe,data:{x:pe.x-r,y:pe.y-i,enabled:{[ue]:$,[le]:V}}}}}};function hasWindow(){return typeof window<"u"}function getNodeName(n){return isNode(n)?(n.nodeName||"").toLowerCase():"#document"}function getWindow(n){var t;return(n==null||(t=n.ownerDocument)==null?void 0:t.defaultView)||window}function getDocumentElement(n){var t;return(t=(isNode(n)?n.ownerDocument:n.document)||window.document)==null?void 0:t.documentElement}function isNode(n){return hasWindow()?n instanceof Node||n instanceof getWindow(n).Node:!1}function isElement(n){return hasWindow()?n instanceof Element||n instanceof getWindow(n).Element:!1}function isHTMLElement(n){return hasWindow()?n instanceof HTMLElement||n instanceof getWindow(n).HTMLElement:!1}function isShadowRoot(n){return!hasWindow()||typeof ShadowRoot>"u"?!1:n instanceof ShadowRoot||n instanceof getWindow(n).ShadowRoot}const invalidOverflowDisplayValues=new Set(["inline","contents"]);function isOverflowElement(n){const{overflow:t,overflowX:r,overflowY:i,display:g}=getComputedStyle$3(n);return/auto|scroll|overlay|hidden|clip/.test(t+i+r)&&!invalidOverflowDisplayValues.has(g)}const tableElements=new Set(["table","td","th"]);function isTableElement(n){return tableElements.has(getNodeName(n))}const topLayerSelectors=[":popover-open",":modal"];function isTopLayer(n){return topLayerSelectors.some(t=>{try{return n.matches(t)}catch{return!1}})}const transformProperties=["transform","translate","scale","rotate","perspective"],willChangeValues=["transform","translate","scale","rotate","perspective","filter"],containValues=["paint","layout","strict","content"];function isContainingBlock(n){const t=isWebKit(),r=isElement(n)?getComputedStyle$3(n):n;return transformProperties.some(i=>r[i]?r[i]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||willChangeValues.some(i=>(r.willChange||"").includes(i))||containValues.some(i=>(r.contain||"").includes(i))}function getContainingBlock(n){let t=getParentNode(n);for(;isHTMLElement(t)&&!isLastTraversableNode(t);){if(isContainingBlock(t))return t;if(isTopLayer(t))return null;t=getParentNode(t)}return null}function isWebKit(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const lastTraversableNodeNames=new Set(["html","body","#document"]);function isLastTraversableNode(n){return lastTraversableNodeNames.has(getNodeName(n))}function getComputedStyle$3(n){return getWindow(n).getComputedStyle(n)}function getNodeScroll(n){return isElement(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function getParentNode(n){if(getNodeName(n)==="html")return n;const t=n.assignedSlot||n.parentNode||isShadowRoot(n)&&n.host||getDocumentElement(n);return isShadowRoot(t)?t.host:t}function getNearestOverflowAncestor(n){const t=getParentNode(n);return isLastTraversableNode(t)?n.ownerDocument?n.ownerDocument.body:n.body:isHTMLElement(t)&&isOverflowElement(t)?t:getNearestOverflowAncestor(t)}function getOverflowAncestors(n,t,r){var i;t===void 0&&(t=[]),r===void 0&&(r=!0);const g=getNearestOverflowAncestor(n),$=g===((i=n.ownerDocument)==null?void 0:i.body),V=getWindow(g);if($){const re=getFrameElement(V);return t.concat(V,V.visualViewport||[],isOverflowElement(g)?g:[],re&&r?getOverflowAncestors(re):[])}return t.concat(g,getOverflowAncestors(g,[],r))}function getFrameElement(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function getCssDimensions(n){const t=getComputedStyle$3(n);let r=parseFloat(t.width)||0,i=parseFloat(t.height)||0;const g=isHTMLElement(n),$=g?n.offsetWidth:r,V=g?n.offsetHeight:i,re=round$3(r)!==$||round$3(i)!==V;return re&&(r=$,i=V),{width:r,height:i,$:re}}function unwrapElement(n){return isElement(n)?n:n.contextElement}function getScale(n){const t=unwrapElement(n);if(!isHTMLElement(t))return createCoords(1);const r=t.getBoundingClientRect(),{width:i,height:g,$}=getCssDimensions(t);let V=($?round$3(r.width):r.width)/i,re=($?round$3(r.height):r.height)/g;return(!V||!Number.isFinite(V))&&(V=1),(!re||!Number.isFinite(re))&&(re=1),{x:V,y:re}}const noOffsets=createCoords(0);function getVisualOffsets(n){const t=getWindow(n);return!isWebKit()||!t.visualViewport?noOffsets:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function shouldAddVisualOffsets(n,t,r){return t===void 0&&(t=!1),!r||t&&r!==getWindow(n)?!1:t}function getBoundingClientRect(n,t,r,i){t===void 0&&(t=!1),r===void 0&&(r=!1);const g=n.getBoundingClientRect(),$=unwrapElement(n);let V=createCoords(1);t&&(i?isElement(i)&&(V=getScale(i)):V=getScale(n));const re=shouldAddVisualOffsets($,r,i)?getVisualOffsets($):createCoords(0);let ie=(g.left+re.x)/V.x,ae=(g.top+re.y)/V.y,oe=g.width/V.x,le=g.height/V.y;if($){const ue=getWindow($),de=i&&isElement(i)?getWindow(i):i;let he=ue,pe=getFrameElement(he);for(;pe&&i&&de!==he;){const _e=getScale(pe),Ce=pe.getBoundingClientRect(),xe=getComputedStyle$3(pe),Ie=Ce.left+(pe.clientLeft+parseFloat(xe.paddingLeft))*_e.x,Ne=Ce.top+(pe.clientTop+parseFloat(xe.paddingTop))*_e.y;ie*=_e.x,ae*=_e.y,oe*=_e.x,le*=_e.y,ie+=Ie,ae+=Ne,he=getWindow(pe),pe=getFrameElement(he)}}return rectToClientRect({width:oe,height:le,x:ie,y:ae})}function getWindowScrollBarX(n,t){const r=getNodeScroll(n).scrollLeft;return t?t.left+r:getBoundingClientRect(getDocumentElement(n)).left+r}function getHTMLOffset(n,t){const r=n.getBoundingClientRect(),i=r.left+t.scrollLeft-getWindowScrollBarX(n,r),g=r.top+t.scrollTop;return{x:i,y:g}}function convertOffsetParentRelativeRectToViewportRelativeRect(n){let{elements:t,rect:r,offsetParent:i,strategy:g}=n;const $=g==="fixed",V=getDocumentElement(i),re=t?isTopLayer(t.floating):!1;if(i===V||re&&$)return r;let ie={scrollLeft:0,scrollTop:0},ae=createCoords(1);const oe=createCoords(0),le=isHTMLElement(i);if((le||!le&&!$)&&((getNodeName(i)!=="body"||isOverflowElement(V))&&(ie=getNodeScroll(i)),isHTMLElement(i))){const de=getBoundingClientRect(i);ae=getScale(i),oe.x=de.x+i.clientLeft,oe.y=de.y+i.clientTop}const ue=V&&!le&&!$?getHTMLOffset(V,ie):createCoords(0);return{width:r.width*ae.x,height:r.height*ae.y,x:r.x*ae.x-ie.scrollLeft*ae.x+oe.x+ue.x,y:r.y*ae.y-ie.scrollTop*ae.y+oe.y+ue.y}}function getClientRects(n){return Array.from(n.getClientRects())}function getDocumentRect(n){const t=getDocumentElement(n),r=getNodeScroll(n),i=n.ownerDocument.body,g=max$2(t.scrollWidth,t.clientWidth,i.scrollWidth,i.clientWidth),$=max$2(t.scrollHeight,t.clientHeight,i.scrollHeight,i.clientHeight);let V=-r.scrollLeft+getWindowScrollBarX(n);const re=-r.scrollTop;return getComputedStyle$3(i).direction==="rtl"&&(V+=max$2(t.clientWidth,i.clientWidth)-g),{width:g,height:$,x:V,y:re}}const SCROLLBAR_MAX=25;function getViewportRect(n,t){const r=getWindow(n),i=getDocumentElement(n),g=r.visualViewport;let $=i.clientWidth,V=i.clientHeight,re=0,ie=0;if(g){$=g.width,V=g.height;const oe=isWebKit();(!oe||oe&&t==="fixed")&&(re=g.offsetLeft,ie=g.offsetTop)}const ae=getWindowScrollBarX(i);if(ae<=0){const oe=i.ownerDocument,le=oe.body,ue=getComputedStyle(le),de=oe.compatMode==="CSS1Compat"&&parseFloat(ue.marginLeft)+parseFloat(ue.marginRight)||0,he=Math.abs(i.clientWidth-le.clientWidth-de);he<=SCROLLBAR_MAX&&($-=he)}else ae<=SCROLLBAR_MAX&&($+=ae);return{width:$,height:V,x:re,y:ie}}const absoluteOrFixed=new Set(["absolute","fixed"]);function getInnerBoundingClientRect(n,t){const r=getBoundingClientRect(n,!0,t==="fixed"),i=r.top+n.clientTop,g=r.left+n.clientLeft,$=isHTMLElement(n)?getScale(n):createCoords(1),V=n.clientWidth*$.x,re=n.clientHeight*$.y,ie=g*$.x,ae=i*$.y;return{width:V,height:re,x:ie,y:ae}}function getClientRectFromClippingAncestor(n,t,r){let i;if(t==="viewport")i=getViewportRect(n,r);else if(t==="document")i=getDocumentRect(getDocumentElement(n));else if(isElement(t))i=getInnerBoundingClientRect(t,r);else{const g=getVisualOffsets(n);i={x:t.x-g.x,y:t.y-g.y,width:t.width,height:t.height}}return rectToClientRect(i)}function hasFixedPositionAncestor(n,t){const r=getParentNode(n);return r===t||!isElement(r)||isLastTraversableNode(r)?!1:getComputedStyle$3(r).position==="fixed"||hasFixedPositionAncestor(r,t)}function getClippingElementAncestors(n,t){const r=t.get(n);if(r)return r;let i=getOverflowAncestors(n,[],!1).filter(re=>isElement(re)&&getNodeName(re)!=="body"),g=null;const $=getComputedStyle$3(n).position==="fixed";let V=$?getParentNode(n):n;for(;isElement(V)&&!isLastTraversableNode(V);){const re=getComputedStyle$3(V),ie=isContainingBlock(V);!ie&&re.position==="fixed"&&(g=null),($?!ie&&!g:!ie&&re.position==="static"&&!!g&&absoluteOrFixed.has(g.position)||isOverflowElement(V)&&!ie&&hasFixedPositionAncestor(n,V))?i=i.filter(oe=>oe!==V):g=re,V=getParentNode(V)}return t.set(n,i),i}function getClippingRect(n){let{element:t,boundary:r,rootBoundary:i,strategy:g}=n;const V=[...r==="clippingAncestors"?isTopLayer(t)?[]:getClippingElementAncestors(t,this._c):[].concat(r),i],re=V[0],ie=V.reduce((ae,oe)=>{const le=getClientRectFromClippingAncestor(t,oe,g);return ae.top=max$2(le.top,ae.top),ae.right=min$2(le.right,ae.right),ae.bottom=min$2(le.bottom,ae.bottom),ae.left=max$2(le.left,ae.left),ae},getClientRectFromClippingAncestor(t,re,g));return{width:ie.right-ie.left,height:ie.bottom-ie.top,x:ie.left,y:ie.top}}function getDimensions(n){const{width:t,height:r}=getCssDimensions(n);return{width:t,height:r}}function getRectRelativeToOffsetParent(n,t,r){const i=isHTMLElement(t),g=getDocumentElement(t),$=r==="fixed",V=getBoundingClientRect(n,!0,$,t);let re={scrollLeft:0,scrollTop:0};const ie=createCoords(0);function ae(){ie.x=getWindowScrollBarX(g)}if(i||!i&&!$)if((getNodeName(t)!=="body"||isOverflowElement(g))&&(re=getNodeScroll(t)),i){const de=getBoundingClientRect(t,!0,$,t);ie.x=de.x+t.clientLeft,ie.y=de.y+t.clientTop}else g&&ae();$&&!i&&g&&ae();const oe=g&&!i&&!$?getHTMLOffset(g,re):createCoords(0),le=V.left+re.scrollLeft-ie.x-oe.x,ue=V.top+re.scrollTop-ie.y-oe.y;return{x:le,y:ue,width:V.width,height:V.height}}function isStaticPositioned(n){return getComputedStyle$3(n).position==="static"}function getTrueOffsetParent(n,t){if(!isHTMLElement(n)||getComputedStyle$3(n).position==="fixed")return null;if(t)return t(n);let r=n.offsetParent;return getDocumentElement(n)===r&&(r=r.ownerDocument.body),r}function getOffsetParent(n,t){const r=getWindow(n);if(isTopLayer(n))return r;if(!isHTMLElement(n)){let g=getParentNode(n);for(;g&&!isLastTraversableNode(g);){if(isElement(g)&&!isStaticPositioned(g))return g;g=getParentNode(g)}return r}let i=getTrueOffsetParent(n,t);for(;i&&isTableElement(i)&&isStaticPositioned(i);)i=getTrueOffsetParent(i,t);return i&&isLastTraversableNode(i)&&isStaticPositioned(i)&&!isContainingBlock(i)?r:i||getContainingBlock(n)||r}const getElementRects=async function(n){const t=this.getOffsetParent||getOffsetParent,r=this.getDimensions,i=await r(n.floating);return{reference:getRectRelativeToOffsetParent(n.reference,await t(n.floating),n.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function isRTL(n){return getComputedStyle$3(n).direction==="rtl"}const platform$3={convertOffsetParentRelativeRectToViewportRelativeRect,getDocumentElement,getClippingRect,getOffsetParent,getElementRects,getClientRects,getDimensions,getScale,isElement,isRTL};function rectsAreEqual(n,t){return n.x===t.x&&n.y===t.y&&n.width===t.width&&n.height===t.height}function observeMove(n,t){let r=null,i;const g=getDocumentElement(n);function $(){var re;clearTimeout(i),(re=r)==null||re.disconnect(),r=null}function V(re,ie){re===void 0&&(re=!1),ie===void 0&&(ie=1),$();const ae=n.getBoundingClientRect(),{left:oe,top:le,width:ue,height:de}=ae;if(re||t(),!ue||!de)return;const he=floor(le),pe=floor(g.clientWidth-(oe+ue)),_e=floor(g.clientHeight-(le+de)),Ce=floor(oe),Ie={rootMargin:-he+"px "+-pe+"px "+-_e+"px "+-Ce+"px",threshold:max$2(0,min$2(1,ie))||1};let Ne=!0;function Oe($e){const Ve=$e[0].intersectionRatio;if(Ve!==ie){if(!Ne)return V();Ve?V(!1,Ve):i=setTimeout(()=>{V(!1,1e-7)},1e3)}Ve===1&&!rectsAreEqual(ae,n.getBoundingClientRect())&&V(),Ne=!1}try{r=new IntersectionObserver(Oe,{...Ie,root:g.ownerDocument})}catch{r=new IntersectionObserver(Oe,Ie)}r.observe(n)}return V(!0),$}function autoUpdate(n,t,r,i){i===void 0&&(i={});const{ancestorScroll:g=!0,ancestorResize:$=!0,elementResize:V=typeof ResizeObserver=="function",layoutShift:re=typeof IntersectionObserver=="function",animationFrame:ie=!1}=i,ae=unwrapElement(n),oe=g||$?[...ae?getOverflowAncestors(ae):[],...getOverflowAncestors(t)]:[];oe.forEach(Ce=>{g&&Ce.addEventListener("scroll",r,{passive:!0}),$&&Ce.addEventListener("resize",r)});const le=ae&&re?observeMove(ae,r):null;let ue=-1,de=null;V&&(de=new ResizeObserver(Ce=>{let[xe]=Ce;xe&&xe.target===ae&&de&&(de.unobserve(t),cancelAnimationFrame(ue),ue=requestAnimationFrame(()=>{var Ie;(Ie=de)==null||Ie.observe(t)})),r()}),ae&&!ie&&de.observe(ae),de.observe(t));let he,pe=ie?getBoundingClientRect(n):null;ie&&_e();function _e(){const Ce=getBoundingClientRect(n);pe&&!rectsAreEqual(pe,Ce)&&r(),pe=Ce,he=requestAnimationFrame(_e)}return r(),()=>{var Ce;oe.forEach(xe=>{g&&xe.removeEventListener("scroll",r),$&&xe.removeEventListener("resize",r)}),le==null||le(),(Ce=de)==null||Ce.disconnect(),de=null,ie&&cancelAnimationFrame(he)}}const detectOverflow=detectOverflow$1,offset=offset$1,shift=shift$1,flip=flip$1,arrow=arrow$1,computePosition=(n,t,r)=>{const i=new Map,g={platform:platform$3,...r},$={...g.platform,_c:i};return computePosition$1(n,t,{...g,platform:$})},useTarget=(n,t,r,i,g)=>{const $=ref(null),V=()=>{let le;return isString$2(n.value)?le=document.querySelector(n.value):isFunction$4(n.value)?le=n.value():le=n.value,le},re=()=>{const le=V();if(!le||!t.value){$.value=null;return}isInViewPort(le)||le.scrollIntoView(g.value);const{left:ue,top:de,width:he,height:pe}=le.getBoundingClientRect();$.value={left:ue,top:de,width:he,height:pe,radius:0}};onMounted(()=>{watch([t,n],()=>{re()},{immediate:!0}),window.addEventListener("resize",re)}),onBeforeUnmount(()=>{window.removeEventListener("resize",re)});const ie=le=>{var ue;return(ue=isArray$5(r.value.offset)?r.value.offset[le]:r.value.offset)!=null?ue:6},ae=computed(()=>{var le;if(!$.value)return $.value;const ue=ie(0),de=ie(1),he=((le=r.value)==null?void 0:le.radius)||2;return{left:$.value.left-ue,top:$.value.top-de,width:$.value.width+ue*2,height:$.value.height+de*2,radius:he}}),oe=computed(()=>{const le=V();return!i.value||!le||!window.DOMRect?le||void 0:{getBoundingClientRect(){var ue,de,he,pe;return window.DOMRect.fromRect({width:((ue=ae.value)==null?void 0:ue.width)||0,height:((de=ae.value)==null?void 0:de.height)||0,x:((he=ae.value)==null?void 0:he.left)||0,y:((pe=ae.value)==null?void 0:pe.top)||0})}}});return{mergedPosInfo:ae,triggerTarget:oe}},tourKey=Symbol("ElTour");function isInViewPort(n){const t=window.innerWidth||document.documentElement.clientWidth,r=window.innerHeight||document.documentElement.clientHeight,{top:i,right:g,bottom:$,left:V}=n.getBoundingClientRect();return i>=0&&V>=0&&g<=t&&$<=r}const useFloating=(n,t,r,i,g,$,V,re)=>{const ie=ref(),ae=ref(),oe=ref({}),le={x:ie,y:ae,placement:i,strategy:g,middlewareData:oe},ue=computed(()=>{const Ce=[offset(unref($)),flip(),shift(),overflowMiddleware()];return unref(re)&&unref(r)&&Ce.push(arrow({element:unref(r)})),Ce}),de=async()=>{if(!isClient)return;const Ce=unref(n),xe=unref(t);if(!Ce||!xe)return;const Ie=await computePosition(Ce,xe,{placement:unref(i),strategy:unref(g),middleware:unref(ue)});keysOf(le).forEach(Ne=>{le[Ne].value=Ie[Ne]})},he=computed(()=>{if(!unref(n))return{position:"fixed",top:"50%",left:"50%",transform:"translate3d(-50%, -50%, 0)",maxWidth:"100vw",zIndex:unref(V)};const{overflow:Ce}=unref(oe);return{position:unref(g),zIndex:unref(V),top:unref(ae)!=null?`${unref(ae)}px`:"",left:unref(ie)!=null?`${unref(ie)}px`:"",maxWidth:Ce!=null&&Ce.maxWidth?`${Ce==null?void 0:Ce.maxWidth}px`:""}}),pe=computed(()=>{if(!unref(re))return{};const{arrow:Ce}=unref(oe);return{left:(Ce==null?void 0:Ce.x)!=null?`${Ce==null?void 0:Ce.x}px`:"",top:(Ce==null?void 0:Ce.y)!=null?`${Ce==null?void 0:Ce.y}px`:""}});let _e;return onMounted(()=>{const Ce=unref(n),xe=unref(t);Ce&&xe&&(_e=autoUpdate(Ce,xe,de)),watchEffect(()=>{de()})}),onBeforeUnmount(()=>{_e&&_e()}),{update:de,contentStyle:he,arrowStyle:pe}},overflowMiddleware=()=>({name:"overflow",async fn(n){const t=await detectOverflow(n);let r=0;return t.left>0&&(r=t.left),t.right>0&&(r=t.right),{data:{maxWidth:n.rects.floating.width-r}}}}),_hoisted_1$x={style:{width:"100%",height:"100%"}},_hoisted_2$n=["d"],_sfc_main$J=defineComponent({name:"ElTourMask",inheritAttrs:!1,__name:"mask",props:maskProps,setup(n){const t=n,{ns:r}=inject(tourKey),i=computed(()=>{var oe,le;return(le=(oe=t.pos)==null?void 0:oe.radius)!=null?le:2}),g=computed(()=>{const oe=i.value,le=`a${oe},${oe} 0 0 1`;return{topRight:`${le} ${oe},${oe}`,bottomRight:`${le} ${-oe},${oe}`,bottomLeft:`${le} ${-oe},${-oe}`,topLeft:`${le} ${oe},${-oe}`}}),{width:$,height:V}=useWindowSize(),re=computed(()=>{const oe=$.value,le=V.value,ue=g.value,de=`M${oe},0 L0,0 L0,${le} L${oe},${le} L${oe},0 Z`,he=i.value;return t.pos?`${de} M${t.pos.left+he},${t.pos.top} h${t.pos.width-he*2} ${ue.topRight} v${t.pos.height-he*2} ${ue.bottomRight} h${-t.pos.width+he*2} ${ue.bottomLeft} v${-t.pos.height+he*2} ${ue.topLeft} z`:de}),ie=computed(()=>({position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:t.zIndex,pointerEvents:t.pos&&t.targetAreaClickable?"none":"auto"})),ae=computed(()=>({fill:t.fill,pointerEvents:"auto",cursor:"auto"}));return useLockscreen(toRef$1(t,"visible"),{ns:r}),(oe,le)=>oe.visible?(openBlock(),createElementBlock("div",mergeProps({key:0,class:unref(r).e("mask"),style:ie.value},oe.$attrs),[(openBlock(),createElementBlock("svg",_hoisted_1$x,[createBaseVNode("path",{class:normalizeClass(unref(r).e("hollow")),style:normalizeStyle$1(ae.value),d:re.value},null,14,_hoisted_2$n)]))],16)):createCommentVNode("v-if",!0)}});var ElTourMask=_export_sfc(_sfc_main$J,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tour/src/mask.vue"]]);const tourStrategies=["absolute","fixed"],tourPlacements=["top-start","top-end","top","bottom-start","bottom-end","bottom","left-start","left-end","left","right-start","right-end","right"],tourContentProps=buildProps({placement:{type:definePropType(String),values:tourPlacements,default:"bottom"},reference:{type:definePropType(Object),default:null},strategy:{type:definePropType(String),values:tourStrategies,default:"absolute"},offset:{type:Number,default:10},showArrow:Boolean,zIndex:{type:Number,default:2001}}),tourContentEmits={close:()=>!0},_hoisted_1$w=["data-side"],_sfc_main$I=defineComponent({name:"ElTourContent",__name:"content",props:tourContentProps,emits:tourContentEmits,setup(n,{emit:t}){const r=n,i=t,g=ref(r.placement),$=ref(r.strategy),V=ref(null),re=ref(null);watch(()=>r.placement,()=>{g.value=r.placement});const{contentStyle:ie,arrowStyle:ae}=useFloating(toRef$1(r,"reference"),V,re,g,$,toRef$1(r,"offset"),toRef$1(r,"zIndex"),toRef$1(r,"showArrow")),oe=computed(()=>g.value.split("-")[0]),{ns:le}=inject(tourKey),ue=()=>{i("close")},de=he=>{he.detail.focusReason==="pointer"&&he.preventDefault()};return(he,pe)=>(openBlock(),createElementBlock("div",{ref_key:"contentRef",ref:V,style:normalizeStyle$1(unref(ie)),class:normalizeClass(unref(le).e("content")),"data-side":oe.value,tabindex:"-1"},[createVNode$1(unref(ElFocusTrap),{loop:"",trapped:"","focus-start-el":"container","focus-trap-el":V.value||void 0,onReleaseRequested:ue,onFocusoutPrevented:de},{default:withCtx(()=>[renderSlot(he.$slots,"default")]),_:3},8,["focus-trap-el"]),he.showArrow?(openBlock(),createElementBlock("span",{key:0,ref_key:"arrowRef",ref:re,style:normalizeStyle$1(unref(ae)),class:normalizeClass(unref(le).e("arrow"))},null,6)):createCommentVNode("v-if",!0)],14,_hoisted_1$w))}});var ElTourContent=_export_sfc(_sfc_main$I,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tour/src/content.vue"]]),ElTourSteps=defineComponent({name:"ElTourSteps",props:{current:{type:Number,default:0}},emits:["update-total"],setup(n,{slots:t,emit:r}){let i=0;return()=>{var g,$;const V=(g=t.default)==null?void 0:g.call(t),re=[];let ie=0;function ae(oe){isArray$5(oe)&&oe.forEach(le=>{var ue;((ue=(le==null?void 0:le.type)||{})==null?void 0:ue.name)==="ElTourStep"&&(re.push(le),ie+=1)})}return V.length&&ae(flattedChildren(($=V[0])==null?void 0:$.children)),i!==ie&&(i=ie,r("update-total",ie)),re.length?re[n.current]:null}}});const tourProps=buildProps({modelValue:Boolean,current:{type:Number,default:0},showArrow:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeIcon:{type:iconPropType},placement:tourContentProps.placement,contentStyle:{type:definePropType([Object])},mask:{type:definePropType([Boolean,Object]),default:!0},gap:{type:definePropType(Object),default:()=>({offset:6,radius:2})},zIndex:{type:Number},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:()=>({block:"center"})},type:{type:definePropType(String)},appendTo:{type:teleportProps.to.type,default:"body"},closeOnPressEscape:{type:Boolean,default:!0},targetAreaClickable:{type:Boolean,default:!0}}),tourEmits={[UPDATE_MODEL_EVENT]:n=>isBoolean$1(n),"update:current":n=>isNumber$2(n),close:n=>isNumber$2(n),finish:()=>!0,change:n=>isNumber$2(n)},_sfc_main$H=defineComponent({name:"ElTour",inheritAttrs:!1,__name:"tour",props:tourProps,emits:tourEmits,setup(n,{emit:t}){const r=n,i=t,g=useNamespace("tour"),$=ref(0),V=ref(),re=useVModel(r,"current",i,{passive:!0}),ie=computed(()=>{var ze;return(ze=V.value)==null?void 0:ze.target}),ae=computed(()=>[g.b(),Ce.value==="primary"?g.m("primary"):""]),oe=computed(()=>{var ze;return((ze=V.value)==null?void 0:ze.placement)||r.placement}),le=computed(()=>{var ze,Pt;return(Pt=(ze=V.value)==null?void 0:ze.contentStyle)!=null?Pt:r.contentStyle}),ue=computed(()=>{var ze,Pt;return(Pt=(ze=V.value)==null?void 0:ze.mask)!=null?Pt:r.mask}),de=computed(()=>!!ue.value&&r.modelValue),he=computed(()=>isBoolean$1(ue.value)?void 0:ue.value),pe=computed(()=>{var ze,Pt;return!!ie.value&&((Pt=(ze=V.value)==null?void 0:ze.showArrow)!=null?Pt:r.showArrow)}),_e=computed(()=>{var ze,Pt;return(Pt=(ze=V.value)==null?void 0:ze.scrollIntoViewOptions)!=null?Pt:r.scrollIntoViewOptions}),Ce=computed(()=>{var ze,Pt;return(Pt=(ze=V.value)==null?void 0:ze.type)!=null?Pt:r.type}),{nextZIndex:xe}=useZIndex(),Ie=xe(),Ne=computed(()=>{var ze;return(ze=r.zIndex)!=null?ze:Ie}),{mergedPosInfo:Oe,triggerTarget:$e}=useTarget(ie,toRef$1(r,"modelValue"),toRef$1(r,"gap"),ue,_e);watch(()=>r.modelValue,ze=>{ze||(re.value=0)});const Ve=()=>{r.closeOnPressEscape&&(i(UPDATE_MODEL_EVENT,!1),i("close",re.value))},Ue=ze=>{$.value=ze},Fe=useSlots();return provide(tourKey,{currentStep:V,current:re,total:$,showClose:toRef$1(r,"showClose"),closeIcon:toRef$1(r,"closeIcon"),mergedType:Ce,ns:g,slots:Fe,updateModelValue(ze){i(UPDATE_MODEL_EVENT,ze)},onClose(){i("close",re.value)},onFinish(){i("finish")},onChange(){i(CHANGE_EVENT,re.value)}}),(ze,Pt)=>(openBlock(),createElementBlock(Fragment,null,[createVNode$1(unref(ElTeleport),{to:ze.appendTo},{default:withCtx(()=>{var qe,Et;return[createBaseVNode("div",mergeProps({class:ae.value},ze.$attrs),[createVNode$1(ElTourMask,{visible:de.value,fill:(qe=he.value)==null?void 0:qe.color,style:normalizeStyle$1((Et=he.value)==null?void 0:Et.style),pos:unref(Oe),"z-index":Ne.value,"target-area-clickable":ze.targetAreaClickable},null,8,["visible","fill","style","pos","z-index","target-area-clickable"]),ze.modelValue?(openBlock(),createBlock(ElTourContent,{key:unref(re),reference:unref($e),placement:oe.value,"show-arrow":pe.value,"z-index":Ne.value,style:normalizeStyle$1(le.value),onClose:Ve},{default:withCtx(()=>[createVNode$1(unref(ElTourSteps),{current:unref(re),onUpdateTotal:Ue},{default:withCtx(()=>[renderSlot(ze.$slots,"default")]),_:3},8,["current"])]),_:3},8,["reference","placement","show-arrow","z-index","style"])):createCommentVNode("v-if",!0)],16)]}),_:3},8,["to"]),createCommentVNode(" just for IDE "),createCommentVNode("v-if",!0)],64))}});var Tour=_export_sfc(_sfc_main$H,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tour/src/tour.vue"]]);const tourStepProps=buildProps({target:{type:definePropType([String,Object,Function])},title:String,description:String,showClose:{type:Boolean,default:void 0},closeIcon:{type:iconPropType},showArrow:{type:Boolean,default:void 0},placement:tourContentProps.placement,mask:{type:definePropType([Boolean,Object]),default:void 0},contentStyle:{type:definePropType([Object])},prevButtonProps:{type:definePropType(Object)},nextButtonProps:{type:definePropType(Object)},scrollIntoViewOptions:{type:definePropType([Boolean,Object]),default:void 0},type:{type:definePropType(String)}}),tourStepEmits={close:()=>!0},_hoisted_1$v=["aria-label"],_sfc_main$G=defineComponent({name:"ElTourStep",__name:"step",props:tourStepProps,emits:tourStepEmits,setup(n,{emit:t}){const r=n,i=t,{Close:g}=CloseComponents,{t:$}=useLocale(),{currentStep:V,current:re,total:ie,showClose:ae,closeIcon:oe,mergedType:le,ns:ue,slots:de,updateModelValue:he,onClose:pe,onFinish:_e,onChange:Ce}=inject(tourKey);watch(r,ze=>{V.value=ze},{immediate:!0});const xe=computed(()=>{var ze;return(ze=r.showClose)!=null?ze:ae.value}),Ie=computed(()=>{var ze,Pt;return(Pt=(ze=r.closeIcon)!=null?ze:oe.value)!=null?Pt:g}),Ne=ze=>{if(ze)return omit$1(ze,["children","onClick"])},Oe=()=>{var ze,Pt;re.value-=1,(ze=r.prevButtonProps)!=null&&ze.onClick&&((Pt=r.prevButtonProps)==null||Pt.onClick()),Ce()},$e=()=>{var ze;re.value>=ie.value-1?Ve():re.value+=1,(ze=r.nextButtonProps)!=null&&ze.onClick&&r.nextButtonProps.onClick(),Ce()},Ve=()=>{Ue(),_e()},Ue=()=>{he(!1),pe(),i("close")},Fe=ze=>{const Pt=ze.target;if(Pt!=null&&Pt.isContentEditable)return;switch(getEventCode(ze)){case EVENT_CODE.left:ze.preventDefault(),re.value>0&&Oe();break;case EVENT_CODE.right:ze.preventDefault(),$e();break}};return onMounted(()=>{window.addEventListener("keydown",Fe)}),onBeforeUnmount(()=>{window.removeEventListener("keydown",Fe)}),(ze,Pt)=>(openBlock(),createElementBlock(Fragment,null,[xe.value?(openBlock(),createElementBlock("button",{key:0,"aria-label":unref($)("el.tour.close"),class:normalizeClass(unref(ue).e("closebtn")),type:"button",onClick:Ue},[createVNode$1(unref(ElIcon),{class:normalizeClass(unref(ue).e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ie.value)))]),_:1},8,["class"])],10,_hoisted_1$v)):createCommentVNode("v-if",!0),createBaseVNode("header",{class:normalizeClass([unref(ue).e("header"),{"show-close":unref(ae)}])},[renderSlot(ze.$slots,"header",{},()=>[createBaseVNode("span",{role:"heading",class:normalizeClass(unref(ue).e("title"))},toDisplayString(ze.title),3)])],2),createBaseVNode("div",{class:normalizeClass(unref(ue).e("body"))},[renderSlot(ze.$slots,"default",{},()=>[createBaseVNode("span",null,toDisplayString(ze.description),1)])],2),createBaseVNode("footer",{class:normalizeClass(unref(ue).e("footer"))},[createBaseVNode("div",{class:normalizeClass(unref(ue).b("indicators"))},[unref(de).indicators?(openBlock(),createBlock(resolveDynamicComponent(unref(de).indicators),{key:0,current:unref(re),total:unref(ie)},null,8,["current","total"])):(openBlock(!0),createElementBlock(Fragment,{key:1},renderList(unref(ie),(qe,Et)=>(openBlock(),createElementBlock("span",{key:qe,class:normalizeClass([unref(ue).b("indicator"),unref(ue).is("active",Et===unref(re))])},null,2))),128))],2),createBaseVNode("div",{class:normalizeClass(unref(ue).b("buttons"))},[unref(re)>0?(openBlock(),createBlock(unref(ElButton),mergeProps({key:0,size:"small",type:unref(le)},Ne(ze.prevButtonProps),{onClick:Oe}),{default:withCtx(()=>{var qe,Et;return[createTextVNode(toDisplayString((Et=(qe=ze.prevButtonProps)==null?void 0:qe.children)!=null?Et:unref($)("el.tour.previous")),1)]}),_:1},16,["type"])):createCommentVNode("v-if",!0),unref(re)<=unref(ie)-1?(openBlock(),createBlock(unref(ElButton),mergeProps({key:1,size:"small",type:unref(le)==="primary"?"default":"primary"},Ne(ze.nextButtonProps),{onClick:$e}),{default:withCtx(()=>{var qe,Et;return[createTextVNode(toDisplayString((Et=(qe=ze.nextButtonProps)==null?void 0:qe.children)!=null?Et:unref(re)===unref(ie)-1?unref($)("el.tour.finish"):unref($)("el.tour.next")),1)]}),_:1},16,["type"])):createCommentVNode("v-if",!0)],2)],2)],64))}});var TourStep=_export_sfc(_sfc_main$G,[["__file","/home/runner/work/element-plus/element-plus/packages/components/tour/src/step.vue"]]);const ElTour=withInstall(Tour,{TourStep}),ElTourStep=withNoopInstall(TourStep),anchorProps=buildProps({container:{type:definePropType([String,Object])},offset:{type:Number,default:0},bound:{type:Number,default:15},duration:{type:Number,default:300},marker:{type:Boolean,default:!0},type:{type:definePropType(String),default:"default"},direction:{type:definePropType(String),default:"vertical"},selectScrollTop:Boolean}),anchorEmits={change:n=>isString$2(n),click:(n,t)=>n instanceof MouseEvent&&(isString$2(t)||isUndefined$1(t))},anchorKey=Symbol("anchor"),getElement=n=>{if(!isClient||n==="")return null;if(isString$2(n))try{return document.querySelector(n)}catch{return null}return n};function throttleByRaf(n){let t=0;const r=(...i)=>{t&&cAF(t),t=rAF(()=>{n(...i),t=0})};return r.cancel=()=>{cAF(t),t=0},r}const _sfc_main$F=defineComponent({name:"ElAnchor",__name:"anchor",props:anchorProps,emits:anchorEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useSlots(),V=ref(""),re=ref({}),ie=ref(null),ae=ref(null),oe=ref(),le={};let ue=!1,de=0;const he=useNamespace("anchor"),pe=computed(()=>[he.b(),i.type==="underline"?he.m("underline"):"",he.m(i.direction)]),_e=qe=>{le[qe.href]=qe.el},Ce=qe=>{delete le[qe]},xe=qe=>{V.value!==qe&&(V.value=qe,g(CHANGE_EVENT,qe))};let Ie=null,Ne="";const Oe=qe=>{if(!oe.value)return;const Et=getElement(qe);if(!Et)return;if(Ie){if(Ne===qe)return;Ie()}Ne=qe,ue=!0;const kt=getScrollElement(Et,oe.value),At=getOffsetTopDistance(Et,kt),Dt=kt.scrollHeight-kt.clientHeight,Lt=Math.min(At-i.offset,Dt);Ie=animateScrollTo(oe.value,de,Lt,i.duration,()=>{setTimeout(()=>{ue=!1,Ne=""},20)})},$e=qe=>{qe&&(xe(qe),Oe(qe))},Ve=(qe,Et)=>{g("click",qe,Et),$e(Et)},Ue=throttleByRaf(()=>{oe.value&&(de=getScrollTop(oe.value));const qe=Fe();ue||isUndefined$1(qe)||xe(qe)}),Fe=()=>{if(!oe.value)return;const qe=getScrollTop(oe.value),Et=[];for(const kt of Object.keys(le)){const At=getElement(kt);if(!At)continue;const Dt=getScrollElement(At,oe.value),Lt=getOffsetTopDistance(At,Dt);Et.push({top:Lt-i.offset-i.bound,href:kt})}Et.sort((kt,At)=>kt.top-At.top);for(let kt=0;ktqe))return At.href}},ze=()=>{const qe=getElement(i.container);!qe||isWindow(qe)?oe.value=window:oe.value=qe};useEventListener(oe,"scroll",Ue);const Pt=()=>{nextTick(()=>{if(!ie.value||!ae.value||!V.value){re.value={};return}const qe=le[V.value];if(!qe){re.value={};return}const Et=ie.value.getBoundingClientRect(),kt=ae.value.getBoundingClientRect(),At=qe.getBoundingClientRect();if(i.direction==="horizontal"){const Dt=At.left-Et.left;re.value={left:`${Dt}px`,width:`${At.width}px`,opacity:1}}else{const Dt=At.top-Et.top+(At.height-kt.height)/2;re.value={top:`${Dt}px`,opacity:1}}})};return watch(V,Pt),watch(()=>{var qe;return(qe=$.default)==null?void 0:qe.call($)},Pt),onMounted(()=>{ze();const qe=decodeURIComponent(window.location.hash);getElement(qe)?$e(qe):Ue()}),watch(()=>i.container,()=>{ze()}),provide(anchorKey,{ns:he,direction:i.direction,currentAnchor:V,addLink:_e,removeLink:Ce,handleClick:Ve}),t({scrollTo:$e}),(qe,Et)=>(openBlock(),createElementBlock("div",{ref_key:"anchorRef",ref:ie,class:normalizeClass(pe.value)},[qe.marker?(openBlock(),createElementBlock("div",{key:0,ref_key:"markerRef",ref:ae,class:normalizeClass(unref(he).e("marker")),style:normalizeStyle$1(re.value)},null,6)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(he).e("list"))},[renderSlot(qe.$slots,"default")],2)],2))}});var Anchor=_export_sfc(_sfc_main$F,[["__file","/home/runner/work/element-plus/element-plus/packages/components/anchor/src/anchor.vue"]]);const anchorLinkProps=buildProps({title:String,href:String}),_hoisted_1$u=["href"],_sfc_main$E=defineComponent({name:"ElAnchorLink",__name:"anchor-link",props:anchorLinkProps,setup(n){const t=n,r=ref(null),{ns:i,direction:g,currentAnchor:$,addLink:V,removeLink:re,handleClick:ie}=inject(anchorKey),ae=computed(()=>[i.e("link"),i.is("active",$.value===t.href)]),oe=le=>{ie(le,t.href)};return watch(()=>t.href,(le,ue)=>{nextTick(()=>{ue&&re(ue),le&&V({href:le,el:r.value})})}),onMounted(()=>{const{href:le}=t;le&&V({href:le,el:r.value})}),onBeforeUnmount(()=>{const{href:le}=t;le&&re(le)}),(le,ue)=>(openBlock(),createElementBlock("div",{class:normalizeClass(unref(i).e("item"))},[createBaseVNode("a",{ref_key:"linkRef",ref:r,class:normalizeClass(ae.value),href:le.href,onClick:oe},[renderSlot(le.$slots,"default",{},()=>[createTextVNode(toDisplayString(le.title),1)])],10,_hoisted_1$u),le.$slots["sub-link"]&&unref(g)==="vertical"?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref(i).e("list"))},[renderSlot(le.$slots,"sub-link")],2)):createCommentVNode("v-if",!0)],2))}});var AnchorLink=_export_sfc(_sfc_main$E,[["__file","/home/runner/work/element-plus/element-plus/packages/components/anchor/src/anchor-link.vue"]]);const ElAnchor=withInstall(Anchor,{AnchorLink}),ElAnchorLink=withNoopInstall(AnchorLink),defaultProps={label:"label",value:"value",disabled:"disabled"},segmentedProps=buildProps({direction:{type:definePropType(String),default:"horizontal"},options:{type:definePropType(Array),default:()=>[]},modelValue:{type:[String,Number,Boolean],default:void 0},props:{type:definePropType(Object),default:()=>defaultProps},block:Boolean,size:useSizeProp,disabled:{type:Boolean,default:void 0},validateEvent:{type:Boolean,default:!0},id:String,name:String,...useAriaProps(["ariaLabel"])}),segmentedEmits={[UPDATE_MODEL_EVENT]:n=>isString$2(n)||isNumber$2(n)||isBoolean$1(n),[CHANGE_EVENT]:n=>isString$2(n)||isNumber$2(n)||isBoolean$1(n)},_hoisted_1$t=["id","aria-label","aria-labelledby"],_hoisted_2$m=["name","disabled","checked","onChange"],_sfc_main$D=defineComponent({name:"ElSegmented",__name:"segmented",props:segmentedProps,emits:segmentedEmits,setup(n,{emit:t}){const r=n,i=t,g=useNamespace("segmented"),$=useId(),V=useFormSize(),re=useFormDisabled(),{formItem:ie}=useFormItem(),{inputId:ae,isLabeledByFormItem:oe}=useFormItemInputId(r,{formItemContext:ie}),le=ref(null),ue=useActiveElement(),de=reactive({isInit:!1,width:0,height:0,translateX:0,translateY:0,focusVisible:!1}),he=(qe,Et)=>{const kt=Ce(Et);i(UPDATE_MODEL_EVENT,kt),i(CHANGE_EVENT,kt),qe.target.checked=kt===r.modelValue},pe=computed(()=>({...defaultProps,...r.props})),_e=qe=>qe,Ce=qe=>isObject$6(qe)?qe[pe.value.value]:qe,xe=qe=>isObject$6(qe)?qe[pe.value.label]:qe,Ie=qe=>!!(re.value||isObject$6(qe)&&qe[pe.value.disabled]),Ne=qe=>r.modelValue===Ce(qe),Oe=qe=>r.options.find(Et=>Ce(Et)===qe),$e=qe=>[g.e("item"),g.is("selected",Ne(qe)),g.is("disabled",Ie(qe))],Ve=()=>{if(!le.value)return;const qe=le.value.querySelector(".is-selected"),Et=le.value.querySelector(".is-selected input");if(!qe||!Et){de.width=0,de.height=0,de.translateX=0,de.translateY=0,de.focusVisible=!1;return}de.isInit=!0,r.direction==="vertical"?(de.height=qe.offsetHeight,de.translateY=qe.offsetTop):(de.width=qe.offsetWidth,de.translateX=qe.offsetLeft);try{de.focusVisible=Et.matches(":focus-visible")}catch{}},Ue=computed(()=>[g.b(),g.m(V.value),g.is("block",r.block)]),Fe=computed(()=>({width:r.direction==="vertical"?"100%":`${de.width}px`,height:r.direction==="vertical"?`${de.height}px`:"100%",transform:r.direction==="vertical"?`translateY(${de.translateY}px)`:`translateX(${de.translateX}px)`,display:de.isInit?"block":"none"})),ze=computed(()=>[g.e("item-selected"),g.is("disabled",Ie(Oe(r.modelValue))),g.is("focus-visible",de.focusVisible)]),Pt=computed(()=>r.name||$.value);return useResizeObserver(le,Ve),watch(ue,Ve),watch(()=>r.modelValue,()=>{var qe;Ve(),r.validateEvent&&((qe=ie==null?void 0:ie.validate)==null||qe.call(ie,"change").catch(Et=>void 0))},{flush:"post"}),(qe,Et)=>qe.options.length?(openBlock(),createElementBlock("div",{key:0,id:unref(ae),ref_key:"segmentedRef",ref:le,class:normalizeClass(Ue.value),role:"radiogroup","aria-label":unref(oe)?void 0:qe.ariaLabel||"segmented","aria-labelledby":unref(oe)?unref(ie).labelId:void 0},[createBaseVNode("div",{class:normalizeClass([unref(g).e("group"),unref(g).m(qe.direction)])},[createBaseVNode("div",{style:normalizeStyle$1(Fe.value),class:normalizeClass(ze.value)},null,6),(openBlock(!0),createElementBlock(Fragment,null,renderList(qe.options,(kt,At)=>(openBlock(),createElementBlock("label",{key:At,class:normalizeClass($e(kt))},[createBaseVNode("input",{class:normalizeClass(unref(g).e("item-input")),type:"radio",name:Pt.value,disabled:Ie(kt),checked:Ne(kt),onChange:Dt=>he(Dt,kt)},null,42,_hoisted_2$m),createBaseVNode("div",{class:normalizeClass(unref(g).e("item-label"))},[renderSlot(qe.$slots,"default",{item:_e(kt)},()=>[createTextVNode(toDisplayString(xe(kt)),1)])],2)],2))),128))],2)],10,_hoisted_1$t)):createCommentVNode("v-if",!0)}});var Segmented=_export_sfc(_sfc_main$D,[["__file","/home/runner/work/element-plus/element-plus/packages/components/segmented/src/segmented.vue"]]);const ElSegmented=withInstall(Segmented),filterOption=(n,t)=>{const r=n.toLowerCase();return(t.label||t.value||"").toLowerCase().includes(r)},getMentionCtx=(n,t,r)=>{const{selectionEnd:i}=n;if(i===null)return;const g=n.value,$=castArray$1(t);let V=-1,re;for(let ie=i-1;ie>=0;--ie){const ae=g[ie];if(ae===r||ae===` -`||ae==="\r"){V=ie;continue}if($.includes(ae)){const oe=V===-1?i:V;re={pattern:g.slice(ie+1,oe),start:ie+1,end:oe,prefix:ae,prefixIndex:ie,splitIndex:V,selectionEnd:i};break}}return re},getCursorPosition=(n,t={debug:!1,useSelectionEnd:!1})=>{const r=n.selectionStart!==null?n.selectionStart:0,i=n.selectionEnd!==null?n.selectionEnd:0,g=t.useSelectionEnd?i:r,$=["direction","boxSizing","width","height","overflowX","overflowY","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderStyle","paddingTop","paddingRight","paddingBottom","paddingLeft","fontStyle","fontVariant","fontWeight","fontStretch","fontSize","fontSizeAdjust","lineHeight","fontFamily","textAlign","textTransform","textIndent","textDecoration","letterSpacing","wordSpacing","tabSize","MozTabSize"];if(t.debug){const ue=document.querySelector("#input-textarea-caret-position-mirror-div");ue!=null&&ue.parentNode&&ue.parentNode.removeChild(ue)}const V=document.createElement("div");V.id="input-textarea-caret-position-mirror-div",document.body.appendChild(V);const re=V.style,ie=window.getComputedStyle(n),ae=n.nodeName==="INPUT";re.whiteSpace=ae?"nowrap":"pre-wrap",ae||(re.wordWrap="break-word"),re.position="absolute",t.debug||(re.visibility="hidden"),$.forEach(ue=>{if(ae&&ue==="lineHeight")if(ie.boxSizing==="border-box"){const de=Number.parseInt(ie.height),he=Number.parseInt(ie.paddingTop)+Number.parseInt(ie.paddingBottom)+Number.parseInt(ie.borderTopWidth)+Number.parseInt(ie.borderBottomWidth),pe=he+Number.parseInt(ie.lineHeight);de>pe?re.lineHeight=`${de-he}px`:de===pe?re.lineHeight=ie.lineHeight:re.lineHeight="0"}else re.lineHeight=ie.height;else re[ue]=ie[ue]}),isFirefox()?n.scrollHeight>Number.parseInt(ie.height)&&(re.overflowY="scroll"):re.overflow="hidden",V.textContent=n.value.slice(0,Math.max(0,g)),ae&&V.textContent&&(V.textContent=V.textContent.replace(/\s/g," "));const oe=document.createElement("span");oe.textContent=n.value.slice(Math.max(0,g))||".",oe.style.position="relative",oe.style.left=`${-n.scrollLeft}px`,oe.style.top=`${-n.scrollTop}px`,V.appendChild(oe);const le={top:oe.offsetTop+Number.parseInt(ie.borderTopWidth),left:oe.offsetLeft+Number.parseInt(ie.borderLeftWidth),height:Number.parseInt(ie.fontSize)*1.5};return t.debug?oe.style.backgroundColor="#aaa":document.body.removeChild(V),le.left>=n.clientWidth&&(le.left=n.clientWidth),le},mentionProps=buildProps({...inputProps,options:{type:definePropType(Array),default:()=>[]},prefix:{type:definePropType([String,Array]),default:"@",validator:n=>isString$2(n)?n.length===1:n.every(t=>isString$2(t)&&t.length===1)},split:{type:String,default:" ",validator:n=>n.length===1},filterOption:{type:definePropType([Boolean,Function]),default:()=>filterOption,validator:n=>n===!1?!0:isFunction$4(n)},placement:{type:definePropType(String),default:"bottom"},showArrow:Boolean,offset:{type:Number,default:0},whole:Boolean,checkIsWhole:{type:definePropType(Function)},modelValue:String,loading:Boolean,popperClass:useTooltipContentProps.popperClass,popperStyle:useTooltipContentProps.popperStyle,popperOptions:{type:definePropType(Object),default:()=>({})},props:{type:definePropType(Object),default:()=>mentionDefaultProps}}),mentionEmits={[UPDATE_MODEL_EVENT]:n=>isString$2(n),"whole-remove":(n,t)=>isString$2(n)&&isString$2(t),input:n=>isString$2(n),search:(n,t)=>isString$2(n)&&isString$2(t),select:(n,t)=>isObject$6(n)&&isString$2(t),focus:n=>n instanceof FocusEvent,blur:n=>n instanceof FocusEvent},mentionDefaultProps={value:"value",label:"label",disabled:"disabled"},mentionDropdownProps=buildProps({options:{type:definePropType(Array),default:()=>[]},loading:Boolean,disabled:Boolean,contentId:String,ariaLabel:String}),mentionDropdownEmits={select:n=>isString$2(n.value)},_hoisted_1$s=["id","aria-disabled","aria-selected","onMousemove","onClick"],_sfc_main$C=defineComponent({name:"ElMentionDropdown",__name:"mention-dropdown",props:mentionDropdownProps,emits:mentionDropdownEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=useNamespace("mention"),{t:V}=useLocale(),re=ref(-1),ie=ref(),ae=ref(),oe=ref(),le=(Ne,Oe)=>[$.be("dropdown","item"),$.is("hovering",re.value===Oe),$.is("disabled",Ne.disabled||i.disabled)],ue=Ne=>{Ne.disabled||i.disabled||g("select",Ne)},de=Ne=>{re.value=Ne},he=computed(()=>i.disabled||i.options.every(Ne=>Ne.disabled)),pe=computed(()=>i.options[re.value]),_e=()=>{pe.value&&g("select",pe.value)},Ce=Ne=>{const{options:Oe}=i;if(Oe.length===0||he.value)return;Ne==="next"?(re.value++,re.value===Oe.length&&(re.value=0)):Ne==="prev"&&(re.value--,re.value<0&&(re.value=Oe.length-1));const $e=Oe[re.value];if($e.disabled){Ce(Ne);return}nextTick(()=>xe($e))},xe=Ne=>{var Oe,$e,Ve,Ue;const{options:Fe}=i,ze=Fe.findIndex(qe=>qe.value===Ne.value),Pt=(Oe=ae.value)==null?void 0:Oe[ze];if(Pt){const qe=(Ve=($e=oe.value)==null?void 0:$e.querySelector)==null?void 0:Ve.call($e,`.${$.be("dropdown","wrap")}`);qe&&scrollIntoView(qe,Pt)}(Ue=ie.value)==null||Ue.handleScroll()};return watch(()=>i.options,()=>{he.value||i.options.length===0?re.value=-1:re.value=0},{immediate:!0}),t({hoveringIndex:re,navigateOptions:Ce,selectHoverOption:_e,hoverOption:pe}),(Ne,Oe)=>(openBlock(),createElementBlock("div",{ref_key:"dropdownRef",ref:oe,class:normalizeClass(unref($).b("dropdown"))},[Ne.$slots.header?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass(unref($).be("dropdown","header"))},[renderSlot(Ne.$slots,"header")],2)):createCommentVNode("v-if",!0),withDirectives(createVNode$1(unref(ElScrollbar),{id:Ne.contentId,ref_key:"scrollbarRef",ref:ie,tag:"ul","wrap-class":unref($).be("dropdown","wrap"),"view-class":unref($).be("dropdown","list"),role:"listbox","aria-label":Ne.ariaLabel,"aria-orientation":"vertical"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(Ne.options,($e,Ve)=>(openBlock(),createElementBlock("li",{id:`${Ne.contentId}-${Ve}`,ref_for:!0,ref_key:"optionRefs",ref:ae,key:Ve,class:normalizeClass(le($e,Ve)),role:"option","aria-disabled":$e.disabled||Ne.disabled||void 0,"aria-selected":re.value===Ve,onMousemove:Ue=>de(Ve),onClick:withModifiers(Ue=>ue($e),["stop"])},[renderSlot(Ne.$slots,"label",{item:$e,index:Ve},()=>{var Ue;return[createBaseVNode("span",null,toDisplayString((Ue=$e.label)!=null?Ue:$e.value),1)]})],42,_hoisted_1$s))),128))]),_:3},8,["id","wrap-class","view-class","aria-label"]),[[vShow,Ne.options.length>0&&!Ne.loading]]),Ne.loading?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(unref($).be("dropdown","loading"))},[renderSlot(Ne.$slots,"loading",{},()=>[createTextVNode(toDisplayString(unref(V)("el.mention.loading")),1)])],2)):createCommentVNode("v-if",!0),Ne.$slots.footer?(openBlock(),createElementBlock("div",{key:2,class:normalizeClass(unref($).be("dropdown","footer"))},[renderSlot(Ne.$slots,"footer")],2)):createCommentVNode("v-if",!0)],2))}});var ElMentionDropdown=_export_sfc(_sfc_main$C,[["__file","/home/runner/work/element-plus/element-plus/packages/components/mention/src/mention-dropdown.vue"]]);const _sfc_main$B=defineComponent({name:"ElMention",inheritAttrs:!1,__name:"mention",props:mentionProps,emits:mentionEmits,setup(n,{expose:t,emit:r}){const i=n,g=r,$=computed(()=>pick$1(i,Object.keys(inputProps))),V=useNamespace("mention"),re=useFormDisabled(),ie=useId(),ae=ref(),oe=ref(),le=ref(),ue=ref(!1),de=ref(),he=ref(),pe=computed(()=>i.showArrow?i.placement:`${i.placement}-start`),_e=computed(()=>i.showArrow?["bottom","top"]:["bottom-start","top-start"]),Ce=computed(()=>({...mentionDefaultProps,...i.props})),xe=Lt=>{const jt={label:Lt[Ce.value.label],value:Lt[Ce.value.value],disabled:Lt[Ce.value.disabled]};return{...Lt,...jt}},Ie=computed(()=>i.options.map(xe)),Ne=computed(()=>{const{filterOption:Lt}=i;return!he.value||!Lt?Ie.value:Ie.value.filter(jt=>Lt(he.value.pattern,jt))}),Oe=computed(()=>ue.value&&(!!Ne.value.length||i.loading)),$e=computed(()=>{var Lt;return`${ie.value}-${(Lt=le.value)==null?void 0:Lt.hoveringIndex}`}),Ve=Lt=>{g(UPDATE_MODEL_EVENT,Lt),g(INPUT_EVENT,Lt),kt()},Ue=Lt=>{var jt,hn,vn,_n;if((jt=ae.value)!=null&&jt.isComposing)return;const wn=getEventCode(Lt);switch(wn){case EVENT_CODE.left:case EVENT_CODE.right:kt();break;case EVENT_CODE.up:case EVENT_CODE.down:if(!ue.value)return;Lt.preventDefault(),(hn=le.value)==null||hn.navigateOptions(wn===EVENT_CODE.up?"prev":"next");break;case EVENT_CODE.enter:case EVENT_CODE.numpadEnter:if(!ue.value){i.type!=="textarea"&&kt();return}Lt.preventDefault(),(vn=le.value)!=null&&vn.hoverOption?(_n=le.value)==null||_n.selectHoverOption():ue.value=!1;break;case EVENT_CODE.esc:if(!ue.value)return;Lt.preventDefault(),ue.value=!1;break;case EVENT_CODE.backspace:if(i.whole&&he.value){const{splitIndex:bn,selectionEnd:Cn,pattern:Sn,prefixIndex:Tn,prefix:En}=he.value,kn=Et();if(!kn)return;const $n=kn.value,An=Ie.value.find(Ln=>Ln.value===Sn);if((isFunction$4(i.checkIsWhole)?i.checkIsWhole(Sn,En):An)&&bn!==-1&&bn+1===Cn){Lt.preventDefault();const Ln=$n.slice(0,Tn)+$n.slice(bn+1);g(UPDATE_MODEL_EVENT,Ln),g(INPUT_EVENT,Ln),g("whole-remove",Sn,En);const Nn=Tn;nextTick(()=>{kn.selectionStart=Nn,kn.selectionEnd=Nn,Dt()})}}}},{wrapperRef:Fe}=useFocusController(ae,{disabled:re,afterFocus(){kt()},beforeBlur(Lt){var jt;return(jt=oe.value)==null?void 0:jt.isFocusInsideContent(Lt)},afterBlur(){ue.value=!1}}),ze=()=>{kt()},Pt=Lt=>i.options.find(jt=>Lt.value===jt[Ce.value.value]),qe=Lt=>{if(!he.value)return;const jt=Et();if(!jt)return;const hn=jt.value,{split:vn}=i,_n=hn.slice(he.value.end),wn=_n.startsWith(vn),bn=`${Lt.value}${wn?"":vn}`,Cn=hn.slice(0,he.value.start)+bn+_n;g(UPDATE_MODEL_EVENT,Cn),g(INPUT_EVENT,Cn),g("select",Pt(Lt),he.value.prefix);const Sn=he.value.start+bn.length+(wn?1:0);nextTick(()=>{jt.selectionStart=Sn,jt.selectionEnd=Sn,jt.focus(),Dt()})},Et=()=>{var Lt,jt;return i.type==="textarea"?(Lt=ae.value)==null?void 0:Lt.textarea:(jt=ae.value)==null?void 0:jt.input},kt=()=>{setTimeout(()=>{At(),Dt(),nextTick(()=>{var Lt;return(Lt=oe.value)==null?void 0:Lt.updatePopper()})},0)},At=()=>{const Lt=Et();if(!Lt)return;const jt=getCursorPosition(Lt),hn=Lt.getBoundingClientRect(),vn=Fe.value.getBoundingClientRect();de.value={position:"absolute",width:0,height:`${jt.height}px`,left:`${jt.left+hn.left-vn.left}px`,top:`${jt.top+hn.top-vn.top}px`}},Dt=()=>{const Lt=Et();if(document.activeElement!==Lt){ue.value=!1;return}const{prefix:jt,split:hn}=i;if(he.value=getMentionCtx(Lt,jt,hn),he.value&&he.value.splitIndex===-1){ue.value=!0,g("search",he.value.pattern,he.value.prefix);return}ue.value=!1};return t({input:ae,tooltip:oe,dropdownVisible:Oe}),(Lt,jt)=>(openBlock(),createElementBlock("div",{ref_key:"wrapperRef",ref:Fe,class:normalizeClass(unref(V).b())},[createVNode$1(unref(ElInput),mergeProps(mergeProps($.value,Lt.$attrs),{ref_key:"elInputRef",ref:ae,"model-value":Lt.modelValue,disabled:unref(re),role:Oe.value?"combobox":void 0,"aria-activedescendant":Oe.value?$e.value||"":void 0,"aria-controls":Oe.value?unref(ie):void 0,"aria-expanded":Oe.value||void 0,"aria-label":Lt.ariaLabel,"aria-autocomplete":Oe.value?"none":void 0,"aria-haspopup":Oe.value?"listbox":void 0,onInput:Ve,onKeydown:Ue,onMousedown:ze}),createSlots({_:2},[renderList(Lt.$slots,(hn,vn)=>({name:vn,fn:withCtx(_n=>[renderSlot(Lt.$slots,vn,normalizeProps(guardReactiveProps(_n)))])}))]),1040,["model-value","disabled","role","aria-activedescendant","aria-controls","aria-expanded","aria-label","aria-autocomplete","aria-haspopup"]),createVNode$1(unref(ElTooltip),{ref_key:"tooltipRef",ref:oe,visible:Oe.value,"popper-class":[unref(V).e("popper"),Lt.popperClass],"popper-style":Lt.popperStyle,"popper-options":Lt.popperOptions,placement:pe.value,"fallback-placements":_e.value,effect:"light",pure:"",offset:Lt.offset,"show-arrow":Lt.showArrow},{default:withCtx(()=>[createBaseVNode("div",{style:normalizeStyle$1(de.value)},null,4)]),content:withCtx(()=>[createVNode$1(ElMentionDropdown,{ref_key:"dropdownRef",ref:le,options:Ne.value,disabled:unref(re),loading:Lt.loading,"content-id":unref(ie),"aria-label":Lt.ariaLabel,onSelect:qe,onClick:jt[0]||(jt[0]=withModifiers(hn=>{var vn;return(vn=ae.value)==null?void 0:vn.focus()},["stop"]))},createSlots({_:2},[renderList(Lt.$slots,(hn,vn)=>({name:vn,fn:withCtx(_n=>[renderSlot(Lt.$slots,vn,normalizeProps(guardReactiveProps(_n)))])}))]),1032,["options","disabled","loading","content-id","aria-label"])]),_:3},8,["visible","popper-class","popper-style","popper-options","placement","fallback-placements","offset","show-arrow"])],2))}});var Mention=_export_sfc(_sfc_main$B,[["__file","/home/runner/work/element-plus/element-plus/packages/components/mention/src/mention.vue"]]);const ElMention=withInstall(Mention),splitterProps=buildProps({layout:{type:String,default:"horizontal",values:["horizontal","vertical"]},lazy:Boolean}),splitterEmits={resizeStart:(n,t)=>!0,resize:(n,t)=>!0,resizeEnd:(n,t)=>!0,collapse:(n,t,r)=>!0},splitterRootContextKey=Symbol("splitterRootContextKey");function useContainer(n){const t=ref(),{width:r,height:i}=useElementSize(t),g=computed(()=>n.value==="horizontal"?r.value:i.value);return{containerEl:t,containerSize:g}}function getPct(n){return Number(n.slice(0,-1))/100}function getPx(n){return Number(n.slice(0,-2))}function isPct(n){return isString$2(n)&&n.endsWith("%")}function isPx(n){return isString$2(n)&&n.endsWith("px")}function useSize(n,t){const r=computed(()=>n.value.map(re=>re.size)),i=computed(()=>n.value.length),g=ref([]);watch([r,i,t],()=>{var re;let ie=[],ae=0;for(let le=0;lele+(ue||0),0);if(oe>1||!ae){const le=1/oe;ie=ie.map(ue=>ue===void 0?0:ue*le)}else{const le=(1-oe)/ae;ie=ie.map(ue=>ue===void 0?le:ue)}g.value=ie});const $=re=>re*t.value,V=computed(()=>g.value.map($));return{percentSizes:g,pxSizes:V}}function useResize(n,t,r,i){const g=_e=>_e*t.value||0;function $(_e,Ce){return isPct(_e)?g(getPct(_e)):isPx(_e)?getPx(_e):_e??Ce}const V=ref(0),re=ref(null);let ie=[],ae=NOOP;const oe=computed(()=>n.value.map(_e=>[_e.min,_e.max]));watch(i,()=>{if(V.value){const _e=new MouseEvent("mouseup",{bubbles:!0});window.dispatchEvent(_e)}});const le=_e=>{V.value=0,re.value={index:_e,confirmed:!1},ie=r.value},ue=(_e,Ce)=>{var xe,Ie;let Ne=null;if((!re.value||!re.value.confirmed)&&Ce!==0){if(Ce>0)Ne=_e,re.value={index:_e,confirmed:!0};else for(let Et=_e;Et>=0;Et-=1)if(ie[Et]>0){Ne=Et,re.value={index:Et,confirmed:!0};break}}const Oe=(Ie=Ne??((xe=re.value)==null?void 0:xe.index))!=null?Ie:_e,$e=[...ie],Ve=Oe+1,Ue=$(oe.value[Oe][0],0),Fe=$(oe.value[Ve][0],0),ze=$(oe.value[Oe][1],t.value||0),Pt=$(oe.value[Ve][1],t.value||0);let qe=Ce;$e[Oe]+qeze&&(qe=ze-$e[Oe]),$e[Ve]-qe>Pt&&(qe=$e[Ve]-Pt),$e[Oe]+=qe,$e[Ve]-=qe,V.value=qe,ae=()=>{n.value.forEach((Et,kt)=>{Et.size=$e[kt]}),ae=NOOP},i.value||ae()},de=()=>{i.value&&ae(),V.value=0,re.value=null,ie=[]},he=[];return{lazyOffset:V,onMoveStart:le,onMoving:ue,onMoveEnd:de,movingIndex:re,onCollapse:(_e,Ce)=>{he.length||he.push(...r.value);const xe=r.value,Ie=Ce==="start"?_e:_e+1,Ne=Ce==="start"?_e+1:_e,Oe=xe[Ie],$e=xe[Ne];if(Oe!==0&&$e!==0)xe[Ie]=0,xe[Ne]+=Oe,he[_e]=Oe;else{const Ve=Oe+$e,Ue=he[_e],Fe=Ve-Ue;xe[Ne]=Ue,xe[Ie]=Fe}n.value.forEach((Ve,Ue)=>{Ve.size=xe[Ue]})}}}const _sfc_main$A=defineComponent({name:"ElSplitter",__name:"splitter",props:splitterProps,emits:splitterEmits,setup(n,{emit:t}){const r=useNamespace("splitter"),i=t,g=n,$=toRef$1(g,"layout"),V=toRef$1(g,"lazy"),{containerEl:re,containerSize:ie}=useContainer($),{removeChild:ae,children:oe,addChild:le,ChildrenSorter:ue}=useOrderedChildren(getCurrentInstance(),"ElSplitterPanel");watch(oe,()=>{_e.value=null,oe.value.forEach((ze,Pt)=>{ze.setIndex(Pt)})});const{percentSizes:de,pxSizes:he}=useSize(oe,ie),{lazyOffset:pe,movingIndex:_e,onMoveStart:Ce,onMoving:xe,onMoveEnd:Ie,onCollapse:Ne}=useResize(oe,ie,he,V),Oe=computed(()=>({[r.cssVarBlockName("bar-offset")]:V.value?`${pe.value}px`:void 0}));return provide(splitterRootContextKey,reactive({panels:oe,percentSizes:de,pxSizes:he,layout:$,lazy:V,movingIndex:_e,containerSize:ie,onMoveStart:ze=>{Ce(ze),i("resizeStart",ze,he.value)},onMoving:(ze,Pt)=>{xe(ze,Pt),V.value||i("resize",ze,he.value)},onMoveEnd:async ze=>{Ie(),await nextTick(),i("resizeEnd",ze,he.value)},onCollapse:(ze,Pt)=>{Ne(ze,Pt),i("collapse",ze,Pt,he.value)},registerPanel:le,unregisterPanel:ae})),(ze,Pt)=>(openBlock(),createElementBlock("div",{ref_key:"containerEl",ref:re,class:normalizeClass([unref(r).b(),unref(r).e($.value)]),style:normalizeStyle$1(Oe.value)},[renderSlot(ze.$slots,"default"),createVNode$1(unref(ue)),createCommentVNode(" Prevent iframe touch events from breaking "),unref(_e)?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(r).e("mask"),unref(r).e(`mask-${$.value}`)])},null,2)):createCommentVNode("v-if",!0)],6))}});var Splitter=_export_sfc(_sfc_main$A,[["__file","/home/runner/work/element-plus/element-plus/packages/components/splitter/src/splitter.vue"]]);function getCollapsible(n){return n&&isObject$6(n)?n:{start:!!n,end:!!n}}function isCollapsible(n,t,r,i){return!!(n!=null&&n.collapsible.end&&t>0||r!=null&&r.collapsible.start&&i===0&&t>0)}const _sfc_main$z=defineComponent({name:"ElSplitterBar",__name:"split-bar",props:{index:{type:Number,required:!0},layout:{type:String,values:["horizontal","vertical"],default:"horizontal"},resizable:{type:Boolean,default:!0},lazy:Boolean,startCollapsible:Boolean,endCollapsible:Boolean},emits:["moveStart","moving","moveEnd","collapse"],setup(n,{emit:t}){const r=useNamespace("splitter-bar"),i=n,g=t,$=computed(()=>i.layout==="horizontal"),V=computed(()=>$.value?{width:0}:{height:0}),re=computed(()=>({width:$.value?"16px":"100%",height:$.value?"100%":"16px",cursor:i.resizable?$.value?"ew-resize":"ns-resize":"auto",touchAction:"none"})),ie=computed(()=>{const xe=r.e("dragger");return{[`${xe}-horizontal`]:$.value,[`${xe}-vertical`]:!$.value,[`${xe}-active`]:!!ae.value}}),ae=ref(null),oe=xe=>{i.resizable&&(ae.value=[xe.pageX,xe.pageY],g("moveStart",i.index),window.addEventListener("mouseup",he),window.addEventListener("mousemove",ue))},le=xe=>{if(i.resizable&&xe.touches.length===1){xe.preventDefault();const Ie=xe.touches[0];ae.value=[Ie.pageX,Ie.pageY],g("moveStart",i.index),window.addEventListener("touchend",pe),window.addEventListener("touchmove",de)}},ue=xe=>{const{pageX:Ie,pageY:Ne}=xe,Oe=Ie-ae.value[0],$e=Ne-ae.value[1],Ve=$.value?Oe:$e;g("moving",i.index,Ve)},de=xe=>{if(xe.touches.length===1){xe.preventDefault();const Ie=xe.touches[0],Ne=Ie.pageX-ae.value[0],Oe=Ie.pageY-ae.value[1],$e=$.value?Ne:Oe;g("moving",i.index,$e)}},he=()=>{ae.value=null,window.removeEventListener("mouseup",he),window.removeEventListener("mousemove",ue),g("moveEnd",i.index)},pe=()=>{ae.value=null,window.removeEventListener("touchend",pe),window.removeEventListener("touchmove",de),g("moveEnd",i.index)},_e=computed(()=>$.value?arrow_left_default:arrow_up_default),Ce=computed(()=>$.value?arrow_right_default:arrow_down_default);return(xe,Ie)=>(openBlock(),createElementBlock("div",{class:normalizeClass([unref(r).b()]),style:normalizeStyle$1(V.value)},[n.startCollapsible?(openBlock(),createElementBlock("div",{key:0,class:normalizeClass([unref(r).e("collapse-icon"),unref(r).e(`${n.layout}-collapse-icon-start`)]),onClick:Ie[0]||(Ie[0]=Ne=>g("collapse",n.index,"start"))},[renderSlot(xe.$slots,"start-collapsible",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(_e.value),{style:{width:"12px",height:"12px"}}))])],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass([unref(r).e("dragger"),ie.value,unref(r).is("disabled",!n.resizable),unref(r).is("lazy",n.resizable&&n.lazy)]),style:normalizeStyle$1(re.value),onMousedown:oe,onTouchstart:le},null,38),n.endCollapsible?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass([unref(r).e("collapse-icon"),unref(r).e(`${n.layout}-collapse-icon-end`)]),onClick:Ie[1]||(Ie[1]=Ne=>g("collapse",n.index,"end"))},[renderSlot(xe.$slots,"end-collapsible",{},()=>[(openBlock(),createBlock(resolveDynamicComponent(Ce.value),{style:{width:"12px",height:"12px"}}))])],2)):createCommentVNode("v-if",!0)],6))}});var SplitBar=_export_sfc(_sfc_main$z,[["__file","/home/runner/work/element-plus/element-plus/packages/components/splitter/src/split-bar.vue"]]);const splitterPanelProps=buildProps({min:{type:[String,Number]},max:{type:[String,Number]},size:{type:[String,Number]},resizable:{type:Boolean,default:!0},collapsible:Boolean}),splitterPanelEmits={"update:size":n=>typeof n=="number"||typeof n=="string"},COMPONENT_NAME="ElSplitterPanel",_sfc_main$y=defineComponent({name:COMPONENT_NAME,__name:"split-panel",props:splitterPanelProps,emits:splitterPanelEmits,setup(n,{expose:t,emit:r}){const i=useNamespace("splitter-panel"),g=n,$=r,V=inject(splitterRootContextKey);V||throwError$1(COMPONENT_NAME,"usage: ");const{panels:re,layout:ie,lazy:ae,containerSize:oe,pxSizes:le}=toRefs(V),{registerPanel:ue,unregisterPanel:de,onCollapse:he,onMoveEnd:pe,onMoveStart:_e,onMoving:Ce}=V,xe=ref(),Ie=getCurrentInstance(),Ne=Ie.uid,Oe=ref(0),$e=computed(()=>re.value[Oe.value]),Ve=jt=>{Oe.value=jt},Ue=computed(()=>{var jt;return $e.value&&(jt=le.value[Oe.value])!=null?jt:0}),Fe=computed(()=>{var jt;return $e.value&&(jt=le.value[Oe.value+1])!=null?jt:0}),ze=computed(()=>$e.value?re.value[Oe.value+1]:null),Pt=computed(()=>{var jt;return ze.value?g.resizable&&((jt=ze.value)==null?void 0:jt.resizable)&&(Ue.value!==0||!g.min)&&(Fe.value!==0||!ze.value.min):!1}),qe=computed(()=>$e.value?Oe.value!==re.value.length-1:!1),Et=computed(()=>isCollapsible($e.value,Ue.value,ze.value,Fe.value)),kt=computed(()=>isCollapsible(ze.value,Fe.value,$e.value,Ue.value));function At(jt){return isPct(jt)?getPct(jt)*oe.value||0:isPx(jt)?getPx(jt):jt??0}let Dt=!1;watch(()=>g.size,()=>{if(!Dt&&$e.value){if(!oe.value){$e.value.size=g.size;return}const jt=At(g.size),hn=At(g.max),vn=At(g.min),_n=Math.min(Math.max(jt,vn||0),hn||jt);_n!==jt&&$("update:size",_n),$e.value.size=_n}}),watch(()=>{var jt;return(jt=$e.value)==null?void 0:jt.size},jt=>{jt!==g.size&&(Dt=!0,$("update:size",jt),nextTick(()=>Dt=!1))}),watch(()=>g.resizable,jt=>{$e.value&&($e.value.resizable=jt)});const Lt=reactive({el:xe.value,uid:Ne,getVnode:()=>Ie.vnode,setIndex:Ve,...g,collapsible:computed(()=>getCollapsible(g.collapsible))});return ue(Lt),onBeforeUnmount(()=>de(Lt)),t({splitterPanelRef:xe}),(jt,hn)=>(openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",mergeProps({ref_key:"panelEl",ref:xe,class:[unref(i).b()],style:{flexBasis:`${Ue.value}px`}},jt.$attrs),[renderSlot(jt.$slots,"default")],16),qe.value?(openBlock(),createBlock(SplitBar,{key:0,index:Oe.value,layout:unref(ie),lazy:unref(ae),resizable:Pt.value,"start-collapsible":Et.value,"end-collapsible":kt.value,onMoveStart:unref(_e),onMoving:unref(Ce),onMoveEnd:unref(pe),onCollapse:unref(he)},{"start-collapsible":withCtx(()=>[renderSlot(jt.$slots,"start-collapsible")]),"end-collapsible":withCtx(()=>[renderSlot(jt.$slots,"end-collapsible")]),_:3},8,["index","layout","lazy","resizable","start-collapsible","end-collapsible","onMoveStart","onMoving","onMoveEnd","onCollapse"])):createCommentVNode("v-if",!0)],64))}});var SplitPanel=_export_sfc(_sfc_main$y,[["__file","/home/runner/work/element-plus/element-plus/packages/components/splitter/src/split-panel.vue"]]);const ElSplitter=withInstall(Splitter,{SplitPanel}),ElSplitterPanel=withNoopInstall(SplitPanel);var Components=[ElAffix,ElAlert,ElAutocomplete,ElAutoResizer,ElAvatar,ElAvatarGroup,ElBacktop,ElBadge,ElBreadcrumb,ElBreadcrumbItem,ElButton,ElButtonGroup$1,ElCalendar,ElCard,ElCarousel,ElCarouselItem,ElCascader,ElCascaderPanel,ElCheckTag,ElCheckbox,ElCheckboxButton,ElCheckboxGroup,ElCol,ElCollapse,ElCollapseItem,ElCollapseTransition,ElColorPickerPanel,ElColorPicker,ElConfigProvider,ElContainer,ElAside,ElFooter,ElHeader,ElMain,ElDatePicker,ElDatePickerPanel,ElDescriptions,ElDescriptionsItem,ElDialog,ElDivider,ElDrawer,ElDropdown,ElDropdownItem,ElDropdownMenu,ElEmpty,ElForm,ElFormItem,ElIcon,ElImage,ElImageViewer,ElInput,ElInputNumber,ElInputTag,ElLink,ElMenu,ElMenuItem,ElMenuItemGroup,ElSubMenu,ElPageHeader,ElPagination,ElPopconfirm,ElPopover,ElPopper,ElProgress,ElRadio,ElRadioButton,ElRadioGroup,ElRate,ElResult,ElRow,ElScrollbar,ElSelect,ElOption,ElOptionGroup,ElSelectV2,ElSkeleton,ElSkeletonItem,ElSlider,ElSpace,ElStatistic,ElCountdown,ElSteps,ElStep,ElSwitch,ElTable,ElTableColumn,ElTableV2,ElTabs,ElTabPane,ElTag,ElText,ElTimePicker,ElTimeSelect,ElTimeline,ElTimelineItem,ElTooltip,ElTransfer,ElTree,ElTreeSelect,ElTreeV2,ElUpload,ElWatermark,ElTour,ElTourStep,ElAnchor,ElAnchorLink,ElSegmented,ElMention,ElSplitter,ElSplitterPanel];const SCOPE="ElInfiniteScroll",CHECK_INTERVAL=50,DEFAULT_DELAY=200,DEFAULT_DISTANCE=0,attributes={delay:{type:Number,default:DEFAULT_DELAY},distance:{type:Number,default:DEFAULT_DISTANCE},disabled:{type:Boolean,default:!1},immediate:{type:Boolean,default:!0}},getScrollOptions=(n,t)=>Object.entries(attributes).reduce((r,[i,g])=>{var $,V;const{type:re,default:ie}=g,ae=n.getAttribute(`infinite-scroll-${i}`);let oe=(V=($=t[ae])!=null?$:ae)!=null?V:ie;return oe=oe==="false"?!1:oe,oe=re(oe),r[i]=Number.isNaN(oe)?ie:oe,r},{}),destroyObserver=n=>{const{observer:t}=n[SCOPE];t&&(t.disconnect(),delete n[SCOPE].observer)},handleScroll$1=(n,t)=>{const{container:r,containerEl:i,instance:g,observer:$,lastScrollTop:V}=n[SCOPE],{disabled:re,distance:ie}=getScrollOptions(n,g),{clientHeight:ae,scrollHeight:oe,scrollTop:le}=i,ue=le-V;if(n[SCOPE].lastScrollTop=le,$||re||ue<0)return;let de=!1;if(r===n)de=oe-(ae+le)<=ie;else{const{clientTop:he,scrollHeight:pe}=n,_e=getOffsetTopDistance(n,i);de=le+ae>=_e+he+pe-ie}de&&t.call(g)};function checkFull(n,t){const{containerEl:r,instance:i}=n[SCOPE],{disabled:g}=getScrollOptions(n,i);g||r.clientHeight===0||(r.scrollHeight<=r.clientHeight?t.call(i):destroyObserver(n))}const InfiniteScroll={async mounted(n,t){const{instance:r,value:i}=t;useDeprecated({scope:SCOPE,from:"the directive v-infinite-scroll",replacement:"the el-scrollbar infinite scroll",version:"3.0.0",ref:"https://element-plus.org/en-US/component/scrollbar#infinite-scroll"},!0),isFunction$4(i)||throwError$1(SCOPE,"'v-infinite-scroll' binding value must be a function"),await nextTick();const{delay:g,immediate:$}=getScrollOptions(n,r),V=getScrollContainer(n,!0),re=V===window?document.documentElement:V,ie=throttle$3(handleScroll$1.bind(null,n,i),g);if(V){if(n[SCOPE]={instance:r,container:V,containerEl:re,delay:g,cb:i,onScroll:ie,lastScrollTop:re.scrollTop},$){const ae=new MutationObserver(throttle$3(checkFull.bind(null,n,i),CHECK_INTERVAL));n[SCOPE].observer=ae,ae.observe(n,{childList:!0,subtree:!0}),checkFull(n,i)}V.addEventListener("scroll",ie)}},unmounted(n){if(!n[SCOPE])return;const{container:t,onScroll:r}=n[SCOPE];t==null||t.removeEventListener("scroll",r),destroyObserver(n)},async updated(n){if(!n[SCOPE])await nextTick();else{const{containerEl:t,cb:r,observer:i}=n[SCOPE];t.clientHeight&&i&&checkFull(n,r)}}},_InfiniteScroll=InfiniteScroll;_InfiniteScroll.install=n=>{n.directive("InfiniteScroll",_InfiniteScroll)};const ElInfiniteScroll=_InfiniteScroll;function createLoadingComponent(n,t){let r;const i=ref(!1),g=reactive({...n,originalPosition:"",originalOverflow:"",visible:!1});function $(de){g.text=de}function V(){const de=g.parent,he=ue.ns;if(!de.vLoadingAddClassList){let pe=de.getAttribute("loading-number");pe=Number.parseInt(pe)-1,pe?de.setAttribute("loading-number",pe.toString()):(removeClass(de,he.bm("parent","relative")),de.removeAttribute("loading-number")),removeClass(de,he.bm("parent","hidden"))}re(),le.unmount()}function re(){var de,he;(he=(de=ue.$el)==null?void 0:de.parentNode)==null||he.removeChild(ue.$el)}function ie(){var de;n.beforeClose&&!n.beforeClose()||(i.value=!0,clearTimeout(r),r=setTimeout(ae,400),g.visible=!1,(de=n.closed)==null||de.call(n))}function ae(){if(!i.value)return;const de=g.parent;i.value=!1,de.vLoadingAddClassList=void 0,V()}const le=createApp(defineComponent({name:"ElLoading",setup(de,{expose:he}){const{ns:pe,zIndex:_e}=useGlobalComponentSettings("loading");return he({ns:pe,zIndex:_e}),()=>{const Ce=g.spinner||g.svg,xe=h$1("svg",{class:"circular",viewBox:g.svgViewBox?g.svgViewBox:"0 0 50 50",...Ce?{innerHTML:Ce}:{}},[h$1("circle",{class:"path",cx:"25",cy:"25",r:"20",fill:"none"})]),Ie=g.text?h$1("p",{class:pe.b("text")},[g.text]):void 0;return h$1(Transition,{name:pe.b("fade"),onAfterLeave:ae},{default:withCtx(()=>[withDirectives(createVNode$1("div",{style:{backgroundColor:g.background||""},class:[pe.b("mask"),g.customClass,pe.is("fullscreen",g.fullscreen)]},[h$1("div",{class:pe.b("spinner")},[xe,Ie])]),[[vShow,g.visible]])])})}}}));Object.assign(le._context,t??{});const ue=le.mount(document.createElement("div"));return{...toRefs(g),setText:$,removeElLoadingChild:re,close:ie,handleAfterLeave:ae,vm:ue,get $el(){return ue.$el}}}let fullscreenInstance;const Loading=function(n={},t){if(!isClient)return;const r=resolveOptions(n);if(r.fullscreen&&fullscreenInstance)return fullscreenInstance;const i=createLoadingComponent({...r,closed:()=>{var $;($=r.closed)==null||$.call(r),r.fullscreen&&(fullscreenInstance=void 0)}},t??Loading._context);addStyle(r,r.parent,i),addClassList(r,r.parent,i),r.parent.vLoadingAddClassList=()=>addClassList(r,r.parent,i);let g=r.parent.getAttribute("loading-number");return g?g=`${Number.parseInt(g)+1}`:g="1",r.parent.setAttribute("loading-number",g),r.parent.appendChild(i.$el),nextTick(()=>i.visible.value=r.visible),r.fullscreen&&(fullscreenInstance=i),i},resolveOptions=n=>{var t,r,i,g;let $;return isString$2(n.target)?$=(t=document.querySelector(n.target))!=null?t:document.body:$=n.target||document.body,{parent:$===document.body||n.body?document.body:$,background:n.background||"",svg:n.svg||"",svgViewBox:n.svgViewBox||"",spinner:n.spinner||!1,text:n.text||"",fullscreen:$===document.body&&((r=n.fullscreen)!=null?r:!0),lock:(i=n.lock)!=null?i:!1,customClass:n.customClass||"",visible:(g=n.visible)!=null?g:!0,beforeClose:n.beforeClose,closed:n.closed,target:$}},addStyle=async(n,t,r)=>{const{nextZIndex:i}=r.vm.zIndex||r.vm._.exposed.zIndex,g={};if(n.fullscreen)r.originalPosition.value=getStyle$1(document.body,"position"),r.originalOverflow.value=getStyle$1(document.body,"overflow"),g.zIndex=i();else if(n.parent===document.body){r.originalPosition.value=getStyle$1(document.body,"position"),await nextTick();for(const $ of["top","left"]){const V=$==="top"?"scrollTop":"scrollLeft";g[$]=`${n.target.getBoundingClientRect()[$]+document.body[V]+document.documentElement[V]-Number.parseInt(getStyle$1(document.body,`margin-${$}`),10)}px`}for(const $ of["height","width"])g[$]=`${n.target.getBoundingClientRect()[$]}px`}else r.originalPosition.value=getStyle$1(t,"position");for(const[$,V]of Object.entries(g))r.$el.style[$]=V},addClassList=(n,t,r)=>{const i=r.vm.ns||r.vm._.exposed.ns;["absolute","fixed","sticky"].includes(r.originalPosition.value)?removeClass(t,i.bm("parent","relative")):addClass(t,i.bm("parent","relative")),n.fullscreen&&n.lock?addClass(t,i.bm("parent","hidden")):removeClass(t,i.bm("parent","hidden"))};Loading._context=null;const INSTANCE_KEY=Symbol("ElLoading"),getAttributeName=n=>`element-loading-${hyphenate(n)}`,createInstance$1=(n,t)=>{var r,i,g,$;const V=t.instance,re=de=>isObject$6(t.value)?t.value[de]:void 0,ie=de=>{const he=isString$2(de)&&(V==null?void 0:V[de])||de;return ref(he)},ae=de=>ie(re(de)||n.getAttribute(getAttributeName(de))),oe=(r=re("fullscreen"))!=null?r:t.modifiers.fullscreen,le={text:ae("text"),svg:ae("svg"),svgViewBox:ae("svgViewBox"),spinner:ae("spinner"),background:ae("background"),customClass:ae("customClass"),fullscreen:oe,target:(i=re("target"))!=null?i:oe?void 0:n,body:(g=re("body"))!=null?g:t.modifiers.body,lock:($=re("lock"))!=null?$:t.modifiers.lock},ue=Loading(le);ue._context=vLoading._context,n[INSTANCE_KEY]={options:le,instance:ue}},updateOptions=(n,t)=>{for(const r of Object.keys(n))isRef(n[r])&&(n[r].value=t[r])},vLoading={mounted(n,t){t.value&&createInstance$1(n,t)},updated(n,t){const r=n[INSTANCE_KEY];if(!t.value){r==null||r.instance.close(),n[INSTANCE_KEY]=null;return}r?updateOptions(r.options,isObject$6(t.value)?t.value:{text:n.getAttribute(getAttributeName("text")),svg:n.getAttribute(getAttributeName("svg")),svgViewBox:n.getAttribute(getAttributeName("svgViewBox")),spinner:n.getAttribute(getAttributeName("spinner")),background:n.getAttribute(getAttributeName("background")),customClass:n.getAttribute(getAttributeName("customClass"))}):createInstance$1(n,t)},unmounted(n){var t;(t=n[INSTANCE_KEY])==null||t.instance.close(),n[INSTANCE_KEY]=null}};vLoading._context=null;const ElLoading={install(n){Loading._context=n._context,vLoading._context=n._context,n.directive("loading",vLoading),n.config.globalProperties.$loading=Loading},directive:vLoading,service:Loading},messageTypes=["primary","success","info","warning","error"],messagePlacement=["top","top-left","top-right","bottom","bottom-left","bottom-right"],MESSAGE_DEFAULT_PLACEMENT="top",messageDefaults=mutable({customClass:"",dangerouslyUseHTMLString:!1,duration:3e3,icon:void 0,id:"",message:"",onClose:void 0,showClose:!1,type:"info",plain:!1,offset:16,placement:void 0,zIndex:0,grouping:!1,repeatNum:1,appendTo:isClient?document.body:void 0}),messageProps=buildProps({customClass:{type:String,default:messageDefaults.customClass},dangerouslyUseHTMLString:{type:Boolean,default:messageDefaults.dangerouslyUseHTMLString},duration:{type:Number,default:messageDefaults.duration},icon:{type:iconPropType,default:messageDefaults.icon},id:{type:String,default:messageDefaults.id},message:{type:definePropType([String,Object,Function]),default:messageDefaults.message},onClose:{type:definePropType(Function),default:messageDefaults.onClose},showClose:{type:Boolean,default:messageDefaults.showClose},type:{type:String,values:messageTypes,default:messageDefaults.type},plain:{type:Boolean,default:messageDefaults.plain},offset:{type:Number,default:messageDefaults.offset},placement:{type:String,values:messagePlacement,default:messageDefaults.placement},zIndex:{type:Number,default:messageDefaults.zIndex},grouping:{type:Boolean,default:messageDefaults.grouping},repeatNum:{type:Number,default:messageDefaults.repeatNum}}),messageEmits={destroy:()=>!0},placementInstances=shallowReactive({}),getOrCreatePlacementInstances=n=>(placementInstances[n]||(placementInstances[n]=shallowReactive([])),placementInstances[n]),getInstance=(n,t)=>{const r=placementInstances[t]||[],i=r.findIndex(V=>V.id===n),g=r[i];let $;return i>0&&($=r[i-1]),{current:g,prev:$}},getLastOffset=(n,t)=>{const{prev:r}=getInstance(n,t);return r?r.vm.exposed.bottom.value:0},getOffsetOrSpace=(n,t,r)=>(placementInstances[r]||[]).findIndex($=>$.id===n)>0?16:t,_hoisted_1$r=["id"],_hoisted_2$l=["innerHTML"],_sfc_main$x=defineComponent({name:"ElMessage",__name:"message",props:messageProps,emits:messageEmits,setup(n,{expose:t,emit:r}){const{Close:i}=TypeComponents,g=n,$=r,V=ref(!1),{ns:re,zIndex:ie}=useGlobalComponentSettings("message"),{currentZIndex:ae,nextZIndex:oe}=ie,le=ref(),ue=ref(!1),de=ref(0);let he;const pe=computed(()=>g.type?g.type==="error"?"danger":g.type:"info"),_e=computed(()=>{const Et=g.type;return{[re.bm("icon",Et)]:Et&&TypeComponentsMap[Et]}}),Ce=computed(()=>g.icon||TypeComponentsMap[g.type]||""),xe=computed(()=>g.placement||MESSAGE_DEFAULT_PLACEMENT),Ie=computed(()=>getLastOffset(g.id,xe.value)),Ne=computed(()=>getOffsetOrSpace(g.id,g.offset,xe.value)+Ie.value),Oe=computed(()=>de.value+Ne.value),$e=computed(()=>xe.value.includes("left")?re.is("left"):xe.value.includes("right")?re.is("right"):re.is("center")),Ve=computed(()=>xe.value.startsWith("top")?"top":"bottom"),Ue=computed(()=>({[Ve.value]:`${Ne.value}px`,zIndex:ae.value}));function Fe(){g.duration!==0&&({stop:he}=useTimeoutFn(()=>{Pt()},g.duration))}function ze(){he==null||he()}function Pt(){ue.value=!1,nextTick(()=>{var Et;V.value||((Et=g.onClose)==null||Et.call(g),$("destroy"))})}function qe(Et){getEventCode(Et)===EVENT_CODE.esc&&Pt()}return onMounted(()=>{Fe(),oe(),ue.value=!0}),watch(()=>g.repeatNum,()=>{ze(),Fe()}),useEventListener(document,"keydown",qe),useResizeObserver(le,()=>{de.value=le.value.getBoundingClientRect().height}),t({visible:ue,bottom:Oe,close:Pt}),(Et,kt)=>(openBlock(),createBlock(Transition,{name:unref(re).b("fade"),onBeforeEnter:kt[0]||(kt[0]=At=>V.value=!0),onBeforeLeave:Et.onClose,onAfterLeave:kt[1]||(kt[1]=At=>Et.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:Et.id,ref_key:"messageRef",ref:le,class:normalizeClass([unref(re).b(),{[unref(re).m(Et.type)]:Et.type},unref(re).is("closable",Et.showClose),unref(re).is("plain",Et.plain),unref(re).is("bottom",Ve.value==="bottom"),$e.value,Et.customClass]),style:normalizeStyle$1(Ue.value),role:"alert",onMouseenter:ze,onMouseleave:Fe},[Et.repeatNum>1?(openBlock(),createBlock(unref(ElBadge),{key:0,value:Et.repeatNum,type:pe.value,class:normalizeClass(unref(re).e("badge"))},null,8,["value","type","class"])):createCommentVNode("v-if",!0),Ce.value?(openBlock(),createBlock(unref(ElIcon),{key:1,class:normalizeClass([unref(re).e("icon"),_e.value])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(Ce.value)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),renderSlot(Et.$slots,"default",{},()=>[Et.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{class:normalizeClass(unref(re).e("content")),innerHTML:Et.message},null,10,_hoisted_2$l)],2112)):(openBlock(),createElementBlock("p",{key:0,class:normalizeClass(unref(re).e("content"))},toDisplayString(Et.message),3))]),Et.showClose?(openBlock(),createBlock(unref(ElIcon),{key:2,class:normalizeClass(unref(re).e("closeBtn")),onClick:withModifiers(Pt,["stop"])},{default:withCtx(()=>[createVNode$1(unref(i))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],46,_hoisted_1$r),[[vShow,ue.value]])]),_:3},8,["name","onBeforeLeave"]))}});var MessageConstructor=_export_sfc(_sfc_main$x,[["__file","/home/runner/work/element-plus/element-plus/packages/components/message/src/message.vue"]]);let seed$1=1;const normalizeAppendTo=n=>{if(!n.appendTo)n.appendTo=document.body;else if(isString$2(n.appendTo)){let r=document.querySelector(n.appendTo);isElement$1(r)||(r=document.body),n.appendTo=r}},normalizePlacement=n=>{!n.placement&&isString$2(messageConfig.placement)&&messageConfig.placement&&(n.placement=messageConfig.placement),n.placement||(n.placement=MESSAGE_DEFAULT_PLACEMENT),messagePlacement.includes(n.placement)||(`${n.placement}${MESSAGE_DEFAULT_PLACEMENT}`,n.placement=MESSAGE_DEFAULT_PLACEMENT)},normalizeOptions=n=>{const t=!n||isString$2(n)||isVNode(n)||isFunction$4(n)?{message:n}:n,r={...messageDefaults,...t};return normalizeAppendTo(r),normalizePlacement(r),isBoolean$1(messageConfig.grouping)&&!r.grouping&&(r.grouping=messageConfig.grouping),isNumber$2(messageConfig.duration)&&r.duration===3e3&&(r.duration=messageConfig.duration),isNumber$2(messageConfig.offset)&&r.offset===16&&(r.offset=messageConfig.offset),isBoolean$1(messageConfig.showClose)&&!r.showClose&&(r.showClose=messageConfig.showClose),isBoolean$1(messageConfig.plain)&&!r.plain&&(r.plain=messageConfig.plain),r},closeMessage=n=>{const t=n.props.placement||MESSAGE_DEFAULT_PLACEMENT,r=placementInstances[t],i=r.indexOf(n);if(i===-1)return;r.splice(i,1);const{handler:g}=n;g.close()},createMessage=({appendTo:n,...t},r)=>{const i=`message_${seed$1++}`,g=t.onClose,$=document.createElement("div"),V={...t,id:i,onClose:()=>{g==null||g(),closeMessage(oe)},onDestroy:()=>{render$1(null,$)}},re=createVNode$1(MessageConstructor,V,isFunction$4(V.message)||isVNode(V.message)?{default:isFunction$4(V.message)?V.message:()=>V.message}:null);re.appContext=r||message._context,render$1(re,$),n.appendChild($.firstElementChild);const ie=re.component,oe={id:i,vnode:re,vm:ie,handler:{close:()=>{ie.exposed.close()}},props:re.component.props};return oe},message=(n={},t)=>{if(!isClient)return{close:()=>{}};const r=normalizeOptions(n),i=getOrCreatePlacementInstances(r.placement||MESSAGE_DEFAULT_PLACEMENT);if(r.grouping&&i.length){const $=i.find(({vnode:V})=>{var re;return((re=V.props)==null?void 0:re.message)===r.message});if($)return $.props.repeatNum+=1,$.props.type=r.type,$.handler}if(isNumber$2(messageConfig.max)&&i.length>=messageConfig.max)return{close:()=>{}};const g=createMessage(r,t);return i.push(g),g.handler};messageTypes.forEach(n=>{message[n]=(t={},r)=>{const i=normalizeOptions(t);return message({...i,type:n},r)}});function closeAll$1(n){for(const t in placementInstances)if(hasOwn$1(placementInstances,t)){const r=[...placementInstances[t]];for(const i of r)(!n||n===i.props.type)&&i.handler.close()}}function closeAllByPlacement(n){if(!placementInstances[n])return;[...placementInstances[n]].forEach(r=>r.handler.close())}message.closeAll=closeAll$1;message.closeAllByPlacement=closeAllByPlacement;message._context=null;const ElMessage=withInstallFunction(message,"$message"),FOCUSABLE_CHILDREN="_trap-focus-children",FOCUS_STACK=[],FOCUS_HANDLER=n=>{if(FOCUS_STACK.length===0)return;const t=getEventCode(n),r=FOCUS_STACK[FOCUS_STACK.length-1][FOCUSABLE_CHILDREN];if(r.length>0&&t===EVENT_CODE.tab){if(r.length===1){n.preventDefault(),document.activeElement!==r[0]&&r[0].focus();return}const i=n.shiftKey,g=n.target===r[0],$=n.target===r[r.length-1];g&&i&&(n.preventDefault(),r[r.length-1].focus()),$&&!i&&(n.preventDefault(),r[0].focus())}},TrapFocus={beforeMount(n){n[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(n),FOCUS_STACK.push(n),FOCUS_STACK.length<=1&&document.addEventListener("keydown",FOCUS_HANDLER)},updated(n){nextTick(()=>{n[FOCUSABLE_CHILDREN]=obtainAllFocusableElements$1(n)})},unmounted(){FOCUS_STACK.shift(),FOCUS_STACK.length===0&&document.removeEventListener("keydown",FOCUS_HANDLER)}},_sfc_main$w=defineComponent({name:"ElMessageBox",directives:{TrapFocus},components:{ElButton,ElFocusTrap,ElInput,ElOverlay,ElIcon,...TypeComponents},inheritAttrs:!1,props:{buttonSize:{type:String,validator:isValidComponentSize},modal:{type:Boolean,default:!0},lockScroll:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},closeOnHashChange:{type:Boolean,default:!0},center:Boolean,draggable:Boolean,overflow:Boolean,roundButton:Boolean,container:{type:String,default:"body"},boxType:{type:String,default:""}},emits:["vanish","action"],setup(n,{emit:t}){const{locale:r,zIndex:i,ns:g,size:$}=useGlobalComponentSettings("message-box",computed(()=>n.buttonSize)),{t:V}=r,{nextZIndex:re}=i,ie=ref(!1),ae=reactive({autofocus:!0,beforeClose:null,callback:null,cancelButtonText:"",cancelButtonClass:"",confirmButtonText:"",confirmButtonClass:"",cancelButtonType:"",confirmButtonType:"primary",customClass:"",customStyle:{},dangerouslyUseHTMLString:!1,distinguishCancelAndClose:!1,icon:"",closeIcon:"",inputPattern:null,inputPlaceholder:"",inputType:"text",inputValue:"",inputValidator:void 0,inputErrorMessage:"",message:"",modalFade:!0,modalClass:"",showCancelButton:!1,showConfirmButton:!0,type:"",title:void 0,showInput:!1,action:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonLoadingIcon:markRaw(loading_default),cancelButtonLoadingIcon:markRaw(loading_default),confirmButtonDisabled:!1,editorErrorMessage:"",validateError:!1,zIndex:re()}),oe=computed(()=>{const Lt=ae.type;return{[g.bm("icon",Lt)]:Lt&&TypeComponentsMap[Lt]}}),le=useId(),ue=useId(),de=computed(()=>{const Lt=ae.type;return ae.icon||Lt&&TypeComponentsMap[Lt]||""}),he=computed(()=>!!ae.message),pe=ref(),_e=ref(),Ce=ref(),xe=ref(),Ie=ref(),Ne=computed(()=>ae.confirmButtonClass);watch(()=>ae.inputValue,async Lt=>{await nextTick(),n.boxType==="prompt"&&Lt&&Et()},{immediate:!0}),watch(()=>ie.value,Lt=>{var jt,hn;Lt&&(n.boxType!=="prompt"&&(ae.autofocus?Ce.value=(hn=(jt=Ie.value)==null?void 0:jt.$el)!=null?hn:pe.value:Ce.value=pe.value),ae.zIndex=re()),n.boxType==="prompt"&&(Lt?nextTick().then(()=>{var vn;xe.value&&xe.value.$el&&(ae.autofocus?Ce.value=(vn=kt())!=null?vn:pe.value:Ce.value=pe.value)}):(ae.editorErrorMessage="",ae.validateError=!1))});const Oe=computed(()=>n.draggable),$e=computed(()=>n.overflow),{isDragging:Ve}=useDraggable(pe,_e,Oe,$e);onMounted(async()=>{await nextTick(),n.closeOnHashChange&&window.addEventListener("hashchange",Ue)}),onBeforeUnmount(()=>{n.closeOnHashChange&&window.removeEventListener("hashchange",Ue)});function Ue(){ie.value&&(ie.value=!1,nextTick(()=>{ae.action&&t("action",ae.action)}))}const Fe=()=>{n.closeOnClickModal&&qe(ae.distinguishCancelAndClose?"close":"cancel")},ze=useSameTarget(Fe),Pt=Lt=>{if(ae.inputType!=="textarea")return Lt.preventDefault(),qe("confirm")},qe=Lt=>{var jt;n.boxType==="prompt"&&Lt==="confirm"&&!Et()||(ae.action=Lt,ae.beforeClose?(jt=ae.beforeClose)==null||jt.call(ae,Lt,ae,Ue):Ue())},Et=()=>{if(n.boxType==="prompt"){const Lt=ae.inputPattern;if(Lt&&!Lt.test(ae.inputValue||""))return ae.editorErrorMessage=ae.inputErrorMessage||V("el.messagebox.error"),ae.validateError=!0,!1;const jt=ae.inputValidator;if(isFunction$4(jt)){const hn=jt(ae.inputValue);if(hn===!1)return ae.editorErrorMessage=ae.inputErrorMessage||V("el.messagebox.error"),ae.validateError=!0,!1;if(isString$2(hn))return ae.editorErrorMessage=hn,ae.validateError=!0,!1}}return ae.editorErrorMessage="",ae.validateError=!1,!0},kt=()=>{var Lt,jt;const hn=(Lt=xe.value)==null?void 0:Lt.$refs;return(jt=hn==null?void 0:hn.input)!=null?jt:hn==null?void 0:hn.textarea},At=()=>{qe("close")},Dt=()=>{n.closeOnPressEscape&&At()};return n.lockScroll&&useLockscreen(ie,{ns:g}),{...toRefs(ae),ns:g,overlayEvent:ze,visible:ie,hasMessage:he,typeClass:oe,contentId:le,inputId:ue,btnSize:$,iconComponent:de,confirmButtonClasses:Ne,rootRef:pe,focusStartRef:Ce,headerRef:_e,inputRef:xe,isDragging:Ve,confirmRef:Ie,doClose:Ue,handleClose:At,onCloseRequested:Dt,handleWrapperClick:Fe,handleInputEnter:Pt,handleAction:qe,t:V}}}),_hoisted_1$q=["aria-label","aria-describedby"],_hoisted_2$k=["aria-label"],_hoisted_3$9=["id"];function _sfc_render(n,t,r,i,g,$){const V=resolveComponent("el-icon"),re=resolveComponent("el-input"),ie=resolveComponent("el-button"),ae=resolveComponent("el-focus-trap"),oe=resolveComponent("el-overlay");return openBlock(),createBlock(Transition,{name:"fade-in-linear",onAfterLeave:t[11]||(t[11]=le=>n.$emit("vanish")),persisted:""},{default:withCtx(()=>[withDirectives(createVNode$1(oe,{"z-index":n.zIndex,"overlay-class":[n.ns.is("message-box"),n.modalClass],mask:n.modal},{default:withCtx(()=>[createBaseVNode("div",{role:"dialog","aria-label":n.title,"aria-modal":"true","aria-describedby":n.showInput?void 0:n.contentId,class:normalizeClass(`${n.ns.namespace.value}-overlay-message-box`),onClick:t[8]||(t[8]=(...le)=>n.overlayEvent.onClick&&n.overlayEvent.onClick(...le)),onMousedown:t[9]||(t[9]=(...le)=>n.overlayEvent.onMousedown&&n.overlayEvent.onMousedown(...le)),onMouseup:t[10]||(t[10]=(...le)=>n.overlayEvent.onMouseup&&n.overlayEvent.onMouseup(...le))},[createVNode$1(ae,{loop:"",trapped:n.visible,"focus-trap-el":n.rootRef,"focus-start-el":n.focusStartRef,onReleaseRequested:n.onCloseRequested},{default:withCtx(()=>[createBaseVNode("div",{ref:"rootRef",class:normalizeClass([n.ns.b(),n.customClass,n.ns.is("draggable",n.draggable),n.ns.is("dragging",n.isDragging),{[n.ns.m("center")]:n.center}]),style:normalizeStyle$1(n.customStyle),tabindex:"-1",onClick:t[7]||(t[7]=withModifiers(()=>{},["stop"]))},[n.title!==null&&n.title!==void 0?(openBlock(),createElementBlock("div",{key:0,ref:"headerRef",class:normalizeClass([n.ns.e("header"),{"show-close":n.showClose}])},[createBaseVNode("div",{class:normalizeClass(n.ns.e("title"))},[n.iconComponent&&n.center?(openBlock(),createBlock(V,{key:0,class:normalizeClass([n.ns.e("status"),n.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("span",null,toDisplayString(n.title),1)],2),n.showClose?(openBlock(),createElementBlock("button",{key:0,type:"button",class:normalizeClass(n.ns.e("headerbtn")),"aria-label":n.t("el.messagebox.close"),onClick:t[0]||(t[0]=le=>n.handleAction(n.distinguishCancelAndClose?"close":"cancel")),onKeydown:t[1]||(t[1]=withKeys(withModifiers(le=>n.handleAction(n.distinguishCancelAndClose?"close":"cancel"),["prevent"]),["enter"]))},[createVNode$1(V,{class:normalizeClass(n.ns.e("close"))},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.closeIcon||"close")))]),_:1},8,["class"])],42,_hoisted_2$k)):createCommentVNode("v-if",!0)],2)):createCommentVNode("v-if",!0),createBaseVNode("div",{id:n.contentId,class:normalizeClass(n.ns.e("content"))},[createBaseVNode("div",{class:normalizeClass(n.ns.e("container"))},[n.iconComponent&&!n.center&&n.hasMessage?(openBlock(),createBlock(V,{key:0,class:normalizeClass([n.ns.e("status"),n.typeClass])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(n.iconComponent)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),n.hasMessage?(openBlock(),createElementBlock("div",{key:1,class:normalizeClass(n.ns.e("message"))},[renderSlot(n.$slots,"default",{},()=>[n.dangerouslyUseHTMLString?(openBlock(),createBlock(resolveDynamicComponent(n.showInput?"label":"p"),{key:1,for:n.showInput?n.inputId:void 0,innerHTML:n.message},null,8,["for","innerHTML"])):(openBlock(),createBlock(resolveDynamicComponent(n.showInput?"label":"p"),{key:0,for:n.showInput?n.inputId:void 0,textContent:toDisplayString(n.message)},null,8,["for","textContent"]))])],2)):createCommentVNode("v-if",!0)],2),withDirectives(createBaseVNode("div",{class:normalizeClass(n.ns.e("input"))},[createVNode$1(re,{id:n.inputId,ref:"inputRef",modelValue:n.inputValue,"onUpdate:modelValue":t[2]||(t[2]=le=>n.inputValue=le),type:n.inputType,placeholder:n.inputPlaceholder,"aria-invalid":n.validateError,class:normalizeClass({invalid:n.validateError}),onKeydown:withKeys(n.handleInputEnter,["enter"])},null,8,["id","modelValue","type","placeholder","aria-invalid","class","onKeydown"]),createBaseVNode("div",{class:normalizeClass(n.ns.e("errormsg")),style:normalizeStyle$1({visibility:n.editorErrorMessage?"visible":"hidden"})},toDisplayString(n.editorErrorMessage),7)],2),[[vShow,n.showInput]])],10,_hoisted_3$9),createBaseVNode("div",{class:normalizeClass(n.ns.e("btns"))},[n.showCancelButton?(openBlock(),createBlock(ie,{key:0,type:n.cancelButtonType==="text"?"":n.cancelButtonType,text:n.cancelButtonType==="text",loading:n.cancelButtonLoading,"loading-icon":n.cancelButtonLoadingIcon,class:normalizeClass([n.cancelButtonClass]),round:n.roundButton,size:n.btnSize,onClick:t[3]||(t[3]=le=>n.handleAction("cancel")),onKeydown:t[4]||(t[4]=withKeys(withModifiers(le=>n.handleAction("cancel"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(n.cancelButtonText||n.t("el.messagebox.cancel")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","size"])):createCommentVNode("v-if",!0),withDirectives(createVNode$1(ie,{ref:"confirmRef",type:n.confirmButtonType==="text"?"":n.confirmButtonType,text:n.confirmButtonType==="text",loading:n.confirmButtonLoading,"loading-icon":n.confirmButtonLoadingIcon,class:normalizeClass([n.confirmButtonClasses]),round:n.roundButton,disabled:n.confirmButtonDisabled,size:n.btnSize,onClick:t[5]||(t[5]=le=>n.handleAction("confirm")),onKeydown:t[6]||(t[6]=withKeys(withModifiers(le=>n.handleAction("confirm"),["prevent"]),["enter"]))},{default:withCtx(()=>[createTextVNode(toDisplayString(n.confirmButtonText||n.t("el.messagebox.confirm")),1)]),_:1},8,["type","text","loading","loading-icon","class","round","disabled","size"]),[[vShow,n.showConfirmButton]])],2)],6)]),_:3},8,["trapped","focus-trap-el","focus-start-el","onReleaseRequested"])],42,_hoisted_1$q)]),_:3},8,["z-index","overlay-class","mask"]),[[vShow,n.visible]])]),_:3})}var MessageBoxConstructor=_export_sfc(_sfc_main$w,[["render",_sfc_render],["__file","/home/runner/work/element-plus/element-plus/packages/components/message-box/src/index.vue"]]);const messageInstance=new Map,getAppendToElement=n=>{let t=document.body;return n.appendTo&&(isString$2(n.appendTo)&&(t=document.querySelector(n.appendTo)),isElement$1(n.appendTo)&&(t=n.appendTo),isElement$1(t)||(t=document.body)),t},initInstance=(n,t,r=null)=>{const i=createVNode$1(MessageBoxConstructor,n,isFunction$4(n.message)||isVNode(n.message)?{default:isFunction$4(n.message)?n.message:()=>n.message}:null);return i.appContext=r,render$1(i,t),getAppendToElement(n).appendChild(t.firstElementChild),i.component},genContainer=()=>document.createElement("div"),showMessage=(n,t)=>{const r=genContainer();n.onVanish=()=>{render$1(null,r),messageInstance.delete(g)},n.onAction=$=>{const V=messageInstance.get(g);let re;n.showInput?re={value:g.inputValue,action:$}:re=$,n.callback?n.callback(re,i.proxy):$==="cancel"||$==="close"?n.distinguishCancelAndClose&&$!=="cancel"?V.reject("close"):V.reject("cancel"):V.resolve(re)};const i=initInstance(n,r,t),g=i.proxy;for(const $ in n)hasOwn$1(n,$)&&!hasOwn$1(g.$props,$)&&($==="closeIcon"&&isObject$6(n[$])?g[$]=markRaw(n[$]):g[$]=n[$]);return g.visible=!0,g};function MessageBox(n,t=null){if(!isClient)return Promise.reject();let r;return isString$2(n)||isVNode(n)?n={message:n}:r=n.callback,new Promise((i,g)=>{const $=showMessage(n,t??MessageBox._context);messageInstance.set($,{options:n,callback:r,resolve:i,reject:g})})}const MESSAGE_BOX_VARIANTS=["alert","confirm","prompt"],MESSAGE_BOX_DEFAULT_OPTS={alert:{closeOnPressEscape:!1,closeOnClickModal:!1},confirm:{showCancelButton:!0},prompt:{showCancelButton:!0,showInput:!0}};MESSAGE_BOX_VARIANTS.forEach(n=>{MessageBox[n]=messageBoxFactory(n)});function messageBoxFactory(n){return(t,r,i,g)=>{let $="";return isObject$6(r)?(i=r,$=""):isUndefined$1(r)?$="":$=r,MessageBox(Object.assign({title:$,message:t,type:"",...MESSAGE_BOX_DEFAULT_OPTS[n]},i,{boxType:n}),g)}}MessageBox.close=()=>{messageInstance.forEach((n,t)=>{t.doClose()}),messageInstance.clear()};MessageBox._context=null;const _MessageBox=MessageBox;_MessageBox.install=n=>{_MessageBox._context=n._context,n.config.globalProperties.$msgbox=_MessageBox,n.config.globalProperties.$messageBox=_MessageBox,n.config.globalProperties.$alert=_MessageBox.alert,n.config.globalProperties.$confirm=_MessageBox.confirm,n.config.globalProperties.$prompt=_MessageBox.prompt};const ElMessageBox=_MessageBox,notificationTypes=["primary","success","info","warning","error"],notificationProps=buildProps({customClass:{type:String,default:""},dangerouslyUseHTMLString:Boolean,duration:{type:Number,default:4500},icon:{type:iconPropType},id:{type:String,default:""},message:{type:definePropType([String,Object,Function]),default:""},offset:{type:Number,default:0},onClick:{type:definePropType(Function),default:()=>{}},onClose:{type:definePropType(Function),required:!0},position:{type:String,values:["top-right","top-left","bottom-right","bottom-left"],default:"top-right"},showClose:{type:Boolean,default:!0},title:{type:String,default:""},type:{type:String,values:[...notificationTypes,""],default:""},zIndex:Number,closeIcon:{type:iconPropType,default:close_default}}),notificationEmits={destroy:()=>!0},_hoisted_1$p=["id"],_hoisted_2$j=["textContent"],_hoisted_3$8={key:0},_hoisted_4$6=["innerHTML"],_sfc_main$v=defineComponent({name:"ElNotification",__name:"notification",props:notificationProps,emits:notificationEmits,setup(n,{expose:t}){const r=n,{ns:i,zIndex:g}=useGlobalComponentSettings("notification"),{nextZIndex:$,currentZIndex:V}=g,re=ref(!1);let ie;const ae=computed(()=>{const xe=r.type;return xe&&TypeComponentsMap[r.type]?i.m(xe):""}),oe=computed(()=>r.type&&TypeComponentsMap[r.type]||r.icon),le=computed(()=>r.position.endsWith("right")?"right":"left"),ue=computed(()=>r.position.startsWith("top")?"top":"bottom"),de=computed(()=>{var xe;return{[ue.value]:`${r.offset}px`,zIndex:(xe=r.zIndex)!=null?xe:V.value}});function he(){r.duration>0&&({stop:ie}=useTimeoutFn(()=>{re.value&&_e()},r.duration))}function pe(){ie==null||ie()}function _e(){re.value=!1}function Ce(xe){switch(getEventCode(xe)){case EVENT_CODE.delete:case EVENT_CODE.backspace:pe();break;case EVENT_CODE.esc:re.value&&_e();break;default:he();break}}return onMounted(()=>{he(),$(),re.value=!0}),useEventListener(document,"keydown",Ce),t({visible:re,close:_e}),(xe,Ie)=>(openBlock(),createBlock(Transition,{name:unref(i).b("fade"),onBeforeLeave:xe.onClose,onAfterLeave:Ie[1]||(Ie[1]=Ne=>xe.$emit("destroy")),persisted:""},{default:withCtx(()=>[withDirectives(createBaseVNode("div",{id:xe.id,class:normalizeClass([unref(i).b(),xe.customClass,le.value]),style:normalizeStyle$1(de.value),role:"alert",onMouseenter:pe,onMouseleave:he,onClick:Ie[0]||(Ie[0]=(...Ne)=>xe.onClick&&xe.onClick(...Ne))},[oe.value?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass([unref(i).e("icon"),ae.value])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(oe.value)))]),_:1},8,["class"])):createCommentVNode("v-if",!0),createBaseVNode("div",{class:normalizeClass(unref(i).e("group"))},[createBaseVNode("h2",{class:normalizeClass(unref(i).e("title")),textContent:toDisplayString(xe.title)},null,10,_hoisted_2$j),withDirectives(createBaseVNode("div",{class:normalizeClass(unref(i).e("content")),style:normalizeStyle$1(xe.title?void 0:{margin:0})},[renderSlot(xe.$slots,"default",{},()=>[xe.dangerouslyUseHTMLString?(openBlock(),createElementBlock(Fragment,{key:1},[createCommentVNode(" Caution here, message could've been compromised, never use user's input as message "),createBaseVNode("p",{innerHTML:xe.message},null,8,_hoisted_4$6)],2112)):(openBlock(),createElementBlock("p",_hoisted_3$8,toDisplayString(xe.message),1))])],6),[[vShow,xe.message]]),xe.showClose?(openBlock(),createBlock(unref(ElIcon),{key:0,class:normalizeClass(unref(i).e("closeBtn")),onClick:withModifiers(_e,["stop"])},{default:withCtx(()=>[(openBlock(),createBlock(resolveDynamicComponent(xe.closeIcon)))]),_:1},8,["class"])):createCommentVNode("v-if",!0)],2)],46,_hoisted_1$p),[[vShow,re.value]])]),_:3},8,["name","onBeforeLeave"]))}});var NotificationConstructor=_export_sfc(_sfc_main$v,[["__file","/home/runner/work/element-plus/element-plus/packages/components/notification/src/notification.vue"]]);const notifications={"top-left":[],"top-right":[],"bottom-left":[],"bottom-right":[]},GAP_SIZE=16;let seed=1;const notify=function(n={},t){if(!isClient)return{close:()=>{}};(isString$2(n)||isVNode(n))&&(n={message:n});const r=n.position||"top-right";let i=n.offset||0;notifications[r].forEach(({vm:oe})=>{var le;i+=(((le=oe.el)==null?void 0:le.offsetHeight)||0)+GAP_SIZE}),i+=GAP_SIZE;const g=`notification_${seed++}`,$=n.onClose,V={...n,offset:i,id:g,onClose:()=>{close(g,r,$)}};let re=document.body;isElement$1(n.appendTo)?re=n.appendTo:isString$2(n.appendTo)&&(re=document.querySelector(n.appendTo)),isElement$1(re)||(re=document.body);const ie=document.createElement("div"),ae=createVNode$1(NotificationConstructor,V,isFunction$4(V.message)?V.message:isVNode(V.message)?()=>V.message:null);return ae.appContext=isUndefined$1(t)?notify._context:t,ae.props.onDestroy=()=>{render$1(null,ie)},render$1(ae,ie),notifications[r].push({vm:ae}),re.appendChild(ie.firstElementChild),{close:()=>{ae.component.exposed.visible.value=!1}}};notificationTypes.forEach(n=>{notify[n]=(t={},r)=>((isString$2(t)||isVNode(t))&&(t={message:t}),notify({...t,type:n},r))});function close(n,t,r){const i=notifications[t],g=i.findIndex(({vm:ae})=>{var oe;return((oe=ae.component)==null?void 0:oe.props.id)===n});if(g===-1)return;const{vm:$}=i[g];if(!$)return;r==null||r($);const V=$.el.offsetHeight,re=t.split("-")[0];i.splice(g,1);const ie=i.length;if(!(ie<1))for(let ae=g;ae{t.component.exposed.visible.value=!1})}function updateOffsets(n="top-right"){var t,r,i,g;let $=((i=(r=(t=notifications[n][0])==null?void 0:t.vm.component)==null?void 0:r.props)==null?void 0:i.offset)||0;for(const{vm:V}of notifications[n])V.component.props.offset=$,$+=(((g=V.el)==null?void 0:g.offsetHeight)||0)+GAP_SIZE}notify.closeAll=closeAll;notify.updateOffsets=updateOffsets;notify._context=null;const ElNotification=withInstallFunction(notify,"$notify");var Plugins=[ElInfiniteScroll,ElLoading,ElMessage,ElMessageBox,ElNotification,ElPopoverDirective],installer=makeInstaller([...Components,...Plugins]);const API_CONFIG={NGINX:"http://localhost:8099",LOCAL:"http://localhost:8080"},BASE_URL=API_CONFIG.LOCAL,buildApiUrl=n=>`${BASE_URL}${n}`,modelApi={fileStorage_deleteFileById_get(n){return fetch(buildApiUrl("/fileStorage/deleteFileById")+"?"+Object.keys(n).map(t=>t+"="+n[t]).join("&"),{method:"GET",headers:{"Content-Type":"application/json",Accept:"*/*"}}).then(t=>{if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return t.json()})},fileStorage_editFileNameById_post(n){return fetch(buildApiUrl("/fileStorage/editFileNameById"),{method:"POST",headers:{"Content-Type":"application/json",Accept:"*/*"},body:JSON.stringify(n)}).then(t=>{if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return t.json()})},fileStorage_file_list_post(n){return fetch(buildApiUrl("/fileStorage/file/list"),{method:"POST",headers:{"Content-Type":"application/json",Accept:"*/*"},body:JSON.stringify(n)}).then(t=>{if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return t.json()})},node_nrt_get(){return fetch(buildApiUrl("/node/nrt"),{method:"GET",headers:{"Content-Type":"application/json",Accept:"*/*"}})},model_getModelData_post(n){return fetch(buildApiUrl("/data/model/getModelData"),{method:"POST",headers:{"Content-Type":"application/json",Accept:"*/*"},body:JSON.stringify(n)}).then(t=>{if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return t.json()})},saveOrUpdate_modelData_post(n){return fetch(buildApiUrl("/data/model/saveOrUpdate/modelData"),{method:"POST",headers:{"Content-Type":"application/json",Accept:"*/*"},body:JSON.stringify(n)}).then(t=>{if(!t.ok)throw new Error(`HTTP error! status: ${t.status}`);return t.json()})}},index_vue_vue_type_style_index_0_scoped_067c540e_lang="",globalStore=reactive({intention:"none",create_item_info:null,selected_items_id:[],done_json:[],group_ids:new Map,canvasCfg:{width:1920,height:1080,scale:1,color:"",img:"",guide:!0,adsorp:!0,adsorp_diff:5,transform_origin:{x:0,y:0},drag_offset:{x:0,y:0}},gridCfg:{enabled:!0,align:!0,size:10},guideCfg:{x:{display:!1,top:0},y:{display:!1,left:0}},lock:!1,real_time_data:{show:!1,text:""},adsorp_diff:{x:0,y:0},refreshGroupForId:(n,t,r)=>{var g;if(!globalStore.done_json.some($=>$.id===r))return!1;if(globalStore.group_ids.size===0)return globalStore.group_ids.set(n,[r]),!0;if(globalStore.group_ids.has(t)){const $=globalStore.group_ids.get(t)||[];$.some(re=>re===r)&&$.splice($.indexOf(r),1),((g=globalStore.group_ids.get(t))==null?void 0:g.length)===0&&globalStore.group_ids.delete(t)}if(!globalStore.group_ids.has(n))globalStore.group_ids.set(n,[r]);else{const $=globalStore.group_ids.get(n)||[];return $.some(re=>re===r)||$.push(r),!0}return!0},refreshGroupForIds:(n,t)=>{const r=globalStore.done_json;console.log(r)},setIntention:n=>{globalStore.intention=n},setCreateItemInfo:n=>{globalStore.create_item_info=n},setGlobalStoreDoneJson:n=>{globalStore.done_json=n},cancelAllSelect:()=>{const n=[...globalStore.done_json].map(t=>(t.active&&(t.active=!1),t));globalStore.setGlobalStoreDoneJson(n),globalStore.selected_items_id=[]},refreshSelectedItemsId:()=>{globalStore.selected_items_id=globalStore.done_json.filter(n=>n.active).map(n=>n.id)},deleteSelectedItems:()=>{const n=[...globalStore.done_json].filter(t=>!globalStore.selected_items_id.includes(t.id));globalStore.setGlobalStoreDoneJson(n),globalStore.selected_items_id=[]},setSingleSelect:n=>{globalStore.done_json.forEach(t=>{t.id===n?t.active=!0:t.active=!1}),globalStore.selected_items_id=[n]},setSelectItems:n=>{globalStore.done_json.forEach(t=>{n.includes(t.id)?t.active=!0:t.active=!1}),globalStore.selected_items_id=n},setRealTimeData:n=>{globalStore.real_time_data=n},setCustomMap:n=>{globalStore.group_ids=n}}),useUpdateSysLineRect=(n,t,r)=>{n.forEach(i=>{const g=document.querySelector(`#${i.id} g .real`).getBoundingClientRect(),$=t.getBoundingClientRect(),V=((g==null?void 0:g.left)-($==null?void 0:$.left))/r,re=((g==null?void 0:g.top)-($==null?void 0:$.top))/r,ie=V-i.binfo.left,ae=re-i.binfo.top;i.binfo.left=V,i.binfo.top=re,i.binfo.width=(g==null?void 0:g.width)/r,i.binfo.height=(g==null?void 0:g.height)/r,i.props.point_position={...i.props.point_position,val:i.props.point_position.val.map(oe=>({x:oe.x-ie,y:oe.y-ae}))}})},useUpdateSysLine=(n,t,r,i,g)=>{const $=[...t];n.forEach(V=>{if(!V.props.bind_anchors.val.start&&!V.props.bind_anchors.val.end)return;const re=document.querySelector(`#${V.id} g .real`).getBoundingClientRect(),ie=r.getBoundingClientRect(),ae=((re==null?void 0:re.left)-(ie==null?void 0:ie.left))/i,oe=((re==null?void 0:re.top)-(ie==null?void 0:ie.top))/i;if(V.props.bind_anchors.val.start){const le=$.find(ue=>ue.id===V.props.bind_anchors.val.start.id);if(le){const ue=le.id===(g==null?void 0:g.id)?g:le.binfo,{topLeft:de,topRight:he,bottomLeft:pe,bottomRight:_e}=getRectCoordinate(ue),{topCenter:Ce,bottomCenter:xe,leftCenter:Ie,rightCenter:Ne}=getRectCenterCoordinate(de,he,pe,_e),Oe=Ce.x,$e=Ie.y,Ve=Math.PI/180*le.binfo.angle;if(V.props.bind_anchors.val.start.type==="tc"){const ze=rotatePoint(Ce.x,Ce.y,Oe,$e,Ve);V.props.point_position.val[0]={x:ze.x-V.binfo.left,y:ze.y-V.binfo.top}}else if(V.props.bind_anchors.val.start.type==="bc"){const ze=rotatePoint(xe.x,xe.y,Oe,$e,Ve);V.props.point_position.val[0]={x:ze.x-V.binfo.left,y:ze.y-V.binfo.top}}else if(V.props.bind_anchors.val.start.type==="lc"){const ze=rotatePoint(Ie.x,Ie.y,Oe,$e,Ve);V.props.point_position.val[0]={x:ze.x-V.binfo.left,y:ze.y-V.binfo.top}}else if(V.props.bind_anchors.val.start.type==="rc"){const ze=rotatePoint(Ne.x,Ne.y,Oe,$e,Ve);V.props.point_position.val[0]={x:ze.x-V.binfo.left,y:ze.y-V.binfo.top}}const Ue=ae-V.binfo.left,Fe=oe-V.binfo.top;V.binfo={...V.binfo,left:ae,top:oe,width:(re==null?void 0:re.width)/i,height:(re==null?void 0:re.height)/i},V.props.point_position={...V.props.point_position,val:V.props.point_position.val.map(ze=>({x:ze.x-Ue,y:ze.y-Fe}))}}else V.props.bind_anchors.val.start=null}if(V.props.bind_anchors.val.end){const le=$.find(ue=>ue.id===V.props.bind_anchors.val.end.id);if(le){const ue=le.id===(g==null?void 0:g.id)?g:le.binfo,{topLeft:de,topRight:he,bottomLeft:pe,bottomRight:_e}=getRectCoordinate(ue),{topCenter:Ce,bottomCenter:xe,leftCenter:Ie,rightCenter:Ne}=getRectCenterCoordinate(de,he,pe,_e),Oe=Ce.x,$e=Ie.y,Ve=Math.PI/180*le.binfo.angle;if(V.props.bind_anchors.val.end.type==="tc"){const ze=rotatePoint(Ce.x,Ce.y,Oe,$e,Ve);V.props.point_position.val[V.props.point_position.val.length-1]={x:ze.x-V.binfo.left,y:ze.y-V.binfo.top}}else if(V.props.bind_anchors.val.end.type==="bc"){const ze=rotatePoint(xe.x,xe.y,Oe,$e,Ve);V.props.point_position.val[V.props.point_position.val.length-1]={x:ze.x-V.binfo.left,y:ze.y-V.binfo.top}}else if(V.props.bind_anchors.val.end.type==="lc"){const ze=rotatePoint(Ie.x,Ie.y,Oe,$e,Ve);V.props.point_position.val[V.props.point_position.val.length-1]={x:ze.x-V.binfo.left,y:ze.y-V.binfo.top}}else if(V.props.bind_anchors.val.end.type==="rc"){const ze=rotatePoint(Ne.x,Ne.y,Oe,$e,Ve);V.props.point_position.val[V.props.point_position.val.length-1]={x:ze.x-V.binfo.left,y:ze.y-V.binfo.top}}const Ue=ae-V.binfo.left,Fe=oe-V.binfo.top;V.binfo={...V.binfo,left:ae,top:oe,width:(re==null?void 0:re.width)/i,height:(re==null?void 0:re.height)/i},V.props.point_position={...V.props.point_position,val:V.props.point_position.val.map(ze=>({x:ze.x-Ue,y:ze.y-Fe}))}}else V.props.bind_anchors.val.end=null}}),nextTick(()=>{useUpdateSysLineRect(n,r,i)})},createGroupInfo=(n,t,r)=>{let i=1/0,g=1/0,$=-1/0,V=-1/0;const re=t.getBoundingClientRect();n.forEach(ae=>{const oe=document.getElementById(ae.id).getBoundingClientRect();i=Math.min(i,(oe.left-re.left)/r),$=Math.max($,(oe.right-re.left)/r),g=Math.min(g,(oe.top-re.top)/r),V=Math.max(V,(oe.bottom-re.top)/r)});const ie={left:i,top:g,width:$-i,height:V-g,angle:0};return n.forEach(ae=>{ae.binfo.left=ae.binfo.left-i,ae.binfo.top=ae.binfo.top-g,ae.binfo={width:100*(ae.binfo.width/ie.width),height:100*(ae.binfo.height/ie.height),left:100*(ae.binfo.left/ie.width),top:100*(ae.binfo.top/ie.height),angle:ae.binfo.angle||0},ae.active=!1}),{id:"group-"+randomString(),title:"组合",type:"group",binfo:ie,resize:!0,rotate:!0,lock:!1,active:!0,hide:!1,use_proportional_scaling:!0,props:{},common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"},children:[...n],events:[],tag:"group"}},cancelGroup=(n,t,r,i)=>{const g=t.getBoundingClientRect();return n.children.map(V=>{const re=document.getElementById(V.id).getBoundingClientRect(),ie={x:re.left-g.left+re.width/2,y:re.top-g.top+re.height/2},ae=alignToGrid(n.binfo.width*(V.binfo.width/100),i),oe=alignToGrid(n.binfo.height*(V.binfo.height/100),i),le={width:ae,height:oe,left:ie.x/r-ae/2,top:ie.y/r-oe/2,angle:(V.binfo.angle||0)+(n.binfo.angle||0)};return{...V,active:!0,binfo:le}})},svgToSymbol=(n,t)=>{const r=new DOMParser().parseFromString(n,"image/svg+xml").children[0];let i="0",g="0";const $=r.getAttribute("viewBox"),V=document.createElementNS("http://www.w3.org/2000/svg","symbol");if($){const[,,re,ie]=$.split(" ");V.setAttributeNS(null,"viewBox",$),i=re,g=ie}else i=r.getAttribute("width")||"0",g=r.getAttribute("height")||"0",V.setAttributeNS(null,"viewBox","0 0 "+i+" "+g);return V.setAttributeNS(null,"id",t),V.innerHTML=r.innerHTML.replace("stroke:currentColor","").replace("stroke: currentColor","").replace('stroke="currentColor"',""),{symbol_str:V.outerHTML,width:i,height:g}},symbolGenSvg=(n,t,r,i,g)=>` - ${t} - - -`,svgToImgSrc=n=>"data:image/svg+xml;utf8,"+encodeURIComponent(n),genDomPropstr=n=>{let t="";for(const r in n)t+=` ${r}="${n[r].val}"`;return t},randomString=n=>{n=n||10;const t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",r=t.length;let i="";for(let g=0;gnew Promise(function(t,r){const i=new FileReader;let g="";i.readAsDataURL(n),i.onload=function(){g=i.result??""},i.onerror=function($){r($)},i.onloadend=function(){t(g)}}),alignToGrid=(n,t=1)=>{const r=Math.floor(n/t);return n%t>=t/2?(r+1)*t:r*t},objectDeepClone=(n,t={})=>n?JSON.parse(JSON.stringify(n)):t,prosToVBind=n=>{let t={};for(const r in n)t={...t,[r]:n[r].val};return t},calculateGuideY=(n,t,r,i,g)=>{for(let $=0;$Math.abs(xe.left-V)Math.abs(xe.left-(V+ie/2))Math.abs(xe.left-re)Math.abs(xe.left+xe.width/2-V)Math.abs(xe.left+xe.width/2-(V+ie/2))Math.abs(xe.left+xe.width/2-re)Math.abs(xe.right-re)Math.abs(xe.right-(V+ie/2))Math.abs(xe.right-V){for(let $=0;$Math.abs(xe.top-V)Math.abs(xe.top-(V+ie/2))Math.abs(xe.top-re)Math.abs(xe.top+xe.height/2-V)Math.abs(xe.top+xe.height/2-(V+ie/2))Math.abs(xe.top+xe.height/2-re)Math.abs(xe.bottom-re)Math.abs(xe.bottom-(V+ie/2))Math.abs(xe.bottom-V){let i="";for(let g=0;g({x:(n+r)/2,y:(t+i)/2}),rotatePoint=(n,t,r,i,g)=>{const $=r+(n-r)*Math.cos(g)-(t-i)*Math.sin(g),V=i+(n-r)*Math.sin(g)+(t-i)*Math.cos(g);return{x:$,y:V}},getRectCoordinate=n=>{const t={x:n.left,y:n.top},r={x:n.left+n.width,y:n.top},i={x:n.left,y:n.top+n.height},g={x:n.left+n.width,y:n.top+n.height};return{topLeft:t,topRight:r,bottomLeft:i,bottomRight:g}},getRectCenterCoordinate=(n,t,r,i)=>{const g={x:(n.x+t.x)/2,y:(n.y+t.y)/2},$={x:(r.x+i.x)/2,y:(r.y+i.y)/2},V={x:(n.x+r.x)/2,y:(n.y+r.y)/2},re={x:(t.x+i.x)/2,y:(t.y+i.y)/2};return{topCenter:g,bottomCenter:$,leftCenter:V,rightCenter:re}},handleAlign=(n,t,r,i,g)=>{switch(n){case"left":{const V=Math.min(...t.filter(re=>re.type!=="sys-line").map(re=>re.binfo.left));t.filter(re=>re.type!=="sys-line").forEach(re=>{re.binfo.left=V});break}case"horizontally":{const V=t.filter(re=>re.type!=="sys-line")[0].binfo.left+t[0].binfo.width/2;t.filter(re=>re.type!=="sys-line").forEach(re=>{re.binfo.left=V-re.binfo.width/2});break}case"right":{const V=Math.max(...t.filter(re=>re.type!=="sys-line").map(re=>re.binfo.left+re.binfo.width));t.filter(re=>re.type!=="sys-line").forEach(re=>{re.binfo.left=V-re.binfo.width});break}case"top":{const V=Math.min(...t.filter(re=>re.type!=="sys-line").map(re=>re.binfo.top));t.filter(re=>re.type!=="sys-line").forEach(re=>{re.binfo.top=V});break}case"vertically":{const V=t.filter(re=>re.type!=="sys-line")[0].binfo.top+t[0].binfo.height/2;t.filter(re=>re.type!=="sys-line").forEach(re=>{re.binfo.top=V-re.binfo.height/2});break}case"bottom":{const V=Math.max(...t.filter(re=>re.type!=="sys-line").map(re=>re.binfo.top+re.binfo.height));t.filter(re=>re.type!=="sys-line").forEach(re=>{re.binfo.top=V-re.binfo.height});break}case"horizontal-distribution":{t.sort((ae,oe)=>ae.binfo.left+ae.binfo.width/2-oe.binfo.left+oe.binfo.width/2);const V=t[t.length-1],re=t[0],ie=(V.binfo.left+V.binfo.width/2-(re.binfo.left+re.binfo.width/2))/(t.length-1);t.forEach((ae,oe)=>{if(oe==0||oe==t.length-1)return;const le=re.binfo.left+re.binfo.width/2+ie*oe;ae.binfo={...ae.binfo,left:le-ae.binfo.width/2}});break}case"vertical-distribution":{t.sort((ae,oe)=>ae.binfo.top+ae.binfo.height/2-oe.binfo.top+oe.binfo.height/2);const V=t[t.length-1],re=t[0],ie=(V.binfo.top+V.binfo.height/2-(re.binfo.top+re.binfo.height/2))/(t.length-1);t.forEach((ae,oe)=>{if(oe==0||oe==t.length-1)return;const le=re.binfo.top+re.binfo.height/2+ie*oe;ae.binfo={...ae.binfo,top:le-ae.binfo.height/2}});break}}const $=g.filter(V=>V.type==="sys-line");return useUpdateSysLine($,t,r,i),t},setItemAttr=(id,key,val,json_arr)=>new Promise(res=>{const find_item=json_arr.find(n=>n.id===id);find_item||res({status:!1,msg:"要设置的id不存在"}),eval(`find_item.${key} = val;`),res({status:!0,msg:"操作成功"})}),getItemAttr=(id,key,json_arr)=>{const find_item=json_arr.find(n=>n.id===id);return find_item?eval(`find_item.${key}`):null},previewCompareVal=(n,t,r)=>t==="="?String(n)==String(r):t===">"?Number(n)>Number(r):t==="<"?Number(n){const t={};n.events.forEach(i=>{let g="";if(i.action==="changeAttr"){if(i.change_attr.length<1)return;i.change_attr.forEach($=>{!$.target_id||!$.target_attr||$.target_value===void 0||(!i.trigger_rule||!i.trigger_rule.trigger_id||!i.trigger_rule.trigger_attr||i.trigger_rule.value===void 0||!i.trigger_rule.operator?typeof $.target_value=="boolean"?g+=`$setItemAttrByID('${$.target_id}', '${$.target_attr}', ${$.target_value});`:g+=`$setItemAttrByID('${$.target_id}', '${$.target_attr}', '${$.target_value}');`:typeof $.target_value=="boolean"?g+=`if($previewCompareVal($getItemAttrByID('${i.trigger_rule.trigger_id}', '${i.trigger_rule.trigger_attr}'), '${i.trigger_rule.operator}', '${i.trigger_rule.value}')){$setItemAttrByID('${$.target_id}', '${$.target_attr}', ${$.target_value})};`:g+=`if($previewCompareVal($getItemAttrByID('${i.trigger_rule.trigger_id}', '${i.trigger_rule.trigger_attr}'), '${i.trigger_rule.operator}', '${i.trigger_rule.value}')){$setItemAttrByID('${$.target_id}', '${$.target_attr}', '${$.target_value}')};`)})}else i.action==="customCode"&&(!i.trigger_rule||!i.trigger_rule.trigger_id||!i.trigger_rule.trigger_attr||i.trigger_rule.value===void 0||!i.trigger_rule.operator?g+=i.custom_code+";":g+=`if($previewCompareVal($getItemAttrByID('${i.trigger_rule.trigger_id}', '${i.trigger_rule.trigger_attr}'), '${i.trigger_rule.operator}', '${i.trigger_rule.value}')){${i.custom_code}};`);Object.prototype.hasOwnProperty.call(t,i.type)?t[i.type]+=g:t[i.type]=g});let r={};for(const i in t)r={...r,[i]:()=>dynamicEvent(t[i])(n)};return r},dynamicEvent=n=>{try{return new Function("$item_info",n)}catch(t){return console.error(t),new Function("$item_info",`console.error('${t}')`)}},index_vue_vue_type_style_index_0_lang$2="",sysComponentItems=[{id:"sys-line",title:"自由连线",type:"sys-line",thumbnail:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTQgMThhMiAyIDAgMSAwIDQgMGEyIDIgMCAxIDAtNCAwTTE2IDZhMiAyIDAgMSAwIDQgMGEyIDIgMCAxIDAtNCAwTTcuNSAxNi41bDktOSIvPjwvc3ZnPg==",props:{stroke:{title:"线条颜色",type:"color",val:"#ff0000"},"stroke-width":{title:"线条宽度",type:"number",val:2},"marker-start":{title:"起点箭头",type:"switch",val:!1},"marker-end":{title:"终点箭头",type:"switch",val:!0},point_position:{title:"点坐标",type:"jsonEdit",val:[{x:0,y:0},{x:100,y:0}],disabled:!0},ani_type:{title:"动画类型",type:"select",val:"none",options:[{label:"无",value:"none"},{label:"电流",value:"electricity"},{label:"轨迹",value:"track"},{label:"水珠",value:"waterdrop"}]},ani_dur:{title:"持续时间",type:"number",val:20},ani_color:{title:"动画颜色",type:"color",val:"#0a7ae2"},ani_reverse:{title:"动画反转",type:"switch",val:!1},ani_play:{title:"动画播放",type:"switch",val:!0},bind_anchors:{title:"锚点绑定",type:"jsonEdit",val:{start:null,end:null},disabled:!0}},common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"}},{id:"sys-line-vertical",title:"自由连线-竖线",type:"sys-line",thumbnail:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMiIgZD0iTTQgMThhMiAyIDAgMSAwIDQgMGEyIDIgMCAxIDAtNCAwTTE2IDZhMiAyIDAgMSAwIDQgMGEyIDIgMCAxIDAtNCAwTTcuNSAxNi41bDktOSIvPjwvc3ZnPg==",props:{stroke:{title:"线条颜色",type:"color",val:"#ff0000"},"stroke-width":{title:"线条宽度",type:"number",val:2},"marker-start":{title:"起点箭头",type:"switch",val:!1},"marker-end":{title:"终点箭头",type:"switch",val:!0},point_position:{title:"点坐标",type:"jsonEdit",val:[{x:0,y:0},{x:0,y:100}],disabled:!0},ani_type:{title:"动画类型",type:"select",val:"none",options:[{label:"无",value:"none"},{label:"电流",value:"electricity"},{label:"轨迹",value:"track"},{label:"水珠",value:"waterdrop"}]},ani_dur:{title:"持续时间",type:"number",val:20},ani_color:{title:"动画颜色",type:"color",val:"#0a7ae2"},ani_reverse:{title:"动画反转",type:"switch",val:!1},ani_play:{title:"动画播放",type:"switch",val:!0},bind_anchors:{title:"锚点绑定",type:"jsonEdit",val:{start:null,end:null},disabled:!0}},common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"}},{id:"text-vue",title:"文字",type:"vue",thumbnail:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIzMiIgZD0ibTMyIDQxNS41bDEyMC0zMjBsMTIwIDMyMG0tNDItMTEySDc0bTI1Mi02NGMxMi4xOS0yOC42OSA0MS00OCA3NC00OGgwYzQ2IDAgODAgMzIgODAgODB2MTQ0Ii8+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIzMiIgZD0iTTMyMCAzNTguNWMwIDM2IDI2Ljg2IDU4IDYwIDU4YzU0IDAgMTAwLTI3IDEwMC0xMDZ2LTE1Yy0yMCAwLTU4IDEtOTIgNWMtMzIuNzcgMy44Ni02OCAxOS02OCA1OCIvPjwvc3ZnPg==",props:{text:{title:"文字内容",type:"input",val:"文字"},fontFamily:{title:"字体",type:"select",val:"黑体",options:[{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{title:"文字大小",type:"number",val:18},fill:{title:"文字颜色",type:"color",val:"#FFF700"},vertical:{title:"竖排展示",type:"switch",val:!1}},common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"}},{id:"card-vue",title:"卡片",type:"vue",thumbnail:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMTYgMTYiPjxnIGZpbGw9ImN1cnJlbnRDb2xvciI+PHBhdGggZD0iTTE0LjUgM2EuNS41IDAgMCAxIC41LjV2OWEuNS41IDAgMCAxLS41LjVoLTEzYS41LjUgMCAwIDEtLjUtLjV2LTlhLjUuNSAwIDAgMSAuNS0uNXptLTEzLTFBMS41IDEuNSAwIDAgMCAwIDMuNXY5QTEuNSAxLjUgMCAwIDAgMS41IDE0aDEzYTEuNSAxLjUgMCAwIDAgMS41LTEuNXYtOUExLjUgMS41IDAgMCAwIDE0LjUgMnoiLz48cGF0aCBkPSJNMyA1LjVhLjUuNSAwIDAgMSAuNS0uNWg5YS41LjUgMCAwIDEgMCAxaC05YS41LjUgMCAwIDEtLjUtLjVNMyA4YS41LjUgMCAwIDEgLjUtLjVoOWEuNS41IDAgMCAxIDAgMWgtOUEuNS41IDAgMCAxIDMgOG0wIDIuNWEuNS41IDAgMCAxIC41LS41aDZhLjUuNSAwIDAgMSAwIDFoLTZhLjUuNSAwIDAgMS0uNS0uNSIvPjwvZz48L3N2Zz4=",props:{shadow:{title:"阴影显示时机",type:"select",val:"always",options:[{label:"总是显示",value:"always"},{label:"鼠标悬浮",value:"hover"},{label:"不显示",value:"never"}]},backGroundColor:{title:"背景颜色",type:"color",val:"#ffffff"},boxShadow:{title:"阴影颜色",type:"color",val:"#ffffff"}},common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"}},{id:"now-time-vue",title:"当前时间",type:"vue",thumbnail:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgNTEyIDUxMiI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgc3Ryb2tlLXdpZHRoPSIzMiIgZD0iTTI1NiA2NEMxNTAgNjQgNjQgMTUwIDY0IDI1NnM4NiAxOTIgMTkyIDE5MnMxOTItODYgMTkyLTE5MlMzNjIgNjQgMjU2IDY0WiIvPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iY3VycmVudENvbG9yIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS13aWR0aD0iMzIiIGQ9Ik0yNTYgMTI4djE0NGg5NiIvPjwvc3ZnPg==",props:{fontColor:{title:"文字颜色",type:"color",val:"#000000"},dateSize:{title:"日期文字大小",type:"number",val:12},weekSize:{title:"星期文字大小",type:"number",val:12},timeSize:{title:"时间文字大小",type:"number",val:24}},common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"}},{id:"kv-vue",title:"键值对",type:"vue",thumbnail:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjAgMjAiPjxwYXRoIGZpbGw9ImN1cnJlbnRDb2xvciIgZD0iTTMgNmEzIDMgMCAwIDEgMy0zaDhhMyAzIDAgMCAxIDMgM3Y4YTMgMyAwIDAgMS0zIDNINmEzIDMgMCAwIDEtMy0zem0zLTJhMiAyIDAgMCAwLTIgMnYzLjVoNS41VjR6bTMuNSA2LjVINFYxNGEyIDIgMCAwIDAgMiAyaDMuNXptMSAwVjE2SDE0YTIgMiAwIDAgMCAyLTJ2LTMuNXptNS41LTFWNmEyIDIgMCAwIDAtMi0yaC0zLjV2NS41eiIvPjwvc3ZnPg==",props:{border:{title:"边框",type:"switch",val:!0},fontFamily:{title:"字体",type:"select",val:"黑体",options:[{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{title:"文字大小",type:"number",val:18},label:{title:"键名",type:"input",val:"键名"},labelWidth:{title:"键名宽度",type:"number",val:50},value:{title:"键值",type:"input",val:"键值"},valueWidth:{title:"键值宽度",type:"number",val:50},color:{title:"文字颜色",type:"color",val:"#FFF700"},borderColor:{title:"边框颜色",type:"color",val:"#000000"}},common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"}},{id:"sys-button-vue",title:"按钮",type:"vue",thumbnail:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdmlld0JveD0iMCAwIDIwIDIwIj48cGF0aCBmaWxsPSJjdXJyZW50Q29sb3IiIGQ9Ik0yIDhhMyAzIDAgMCAxIDMtM2gxMGEzIDMgMCAwIDEgMyAzdjNhMyAzIDAgMCAxLTMgM0g1YTMgMyAwIDAgMS0zLTNWOFptNyAxLjVhLjUuNSAwIDAgMCAuNS41SDE0YS41LjUgMCAwIDAgMC0xSDkuNWEuNS41IDAgMCAwLS41LjVabS0xIDBhMS41IDEuNSAwIDEgMC0zIDBhMS41IDEuNSAwIDAgMCAzIDBaIi8+PC9zdmc+",props:{text:{title:"按钮文本",type:"input",val:"按钮文本"},type:{title:"按钮类型",type:"select",val:"",options:[{value:"",label:"默认"},{value:"primary",label:"主要"},{value:"success",label:"成功"},{value:"warning",label:"警告"},{value:"danger",label:"危险"}]},round:{title:"圆角",type:"switch",val:!1}},common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"}}],configStore=reactive({sysComponent:sysComponentItems,lineRenderOffset:10}),leftAsideStore=reactive({config:new Map([["本地文件",[]],["系统组件",configStore.sysComponent]]),registerConfig:(n,t)=>{if(n=="本地文件"||n=="系统组件"){ElMessage.info(`title:${n}已被系统占用,请更换名称!`);return}leftAsideStore.config.has(n)&&ElMessage.info(`title:${n}已存在,已经将其配置覆盖`);const r=t.map(i=>{if(i.type=="svg"){const{symbol_str:g,width:$,height:V}=svgToSymbol(i.svg,i.id);return{...i,symbol:{symbol_id:i.id,symbol_str:g,width:$,height:V},common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"}}}return{...i,common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"}}});leftAsideStore.config.set(n,r)}}),index_vue_vue_type_style_index_0_scoped_d359f9ac_lang="",index_vue_vue_type_style_index_0_scoped_d5d8fc1c_lang="";/** -* @vue/server-renderer v3.5.26 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/const shouldIgnoreProp=makeMap(",key,ref,innerHTML,textContent,ref_key,ref_for");function ssrRenderAttrs(n,t){let r="";for(const i in n){if(shouldIgnoreProp(i)||isOn(i)||t==="textarea"&&i==="value")continue;const g=n[i];i==="class"?r+=` class="${ssrRenderClass(g)}"`:i==="style"?r+=` style="${ssrRenderStyle(g)}"`:i==="className"?r+=` class="${String(g)}"`:r+=ssrRenderDynamicAttr(i,g,t)}return r}function ssrRenderDynamicAttr(n,t,r){if(!isRenderableAttrValue(t))return"";const i=r&&(r.indexOf("-")>0||isSVGTag(r))?n:propsToAttrMap[n]||n.toLowerCase();return isBooleanAttr(i)?includeBooleanAttr(t)?` ${i}`:"":isSSRSafeAttrName(i)?t===""?` ${i}`:` ${i}="${escapeHtml(t)}"`:(console.warn(`[@vue/server-renderer] Skipped rendering unsafe attribute name: ${i}`),"")}function ssrRenderClass(n){return escapeHtml(normalizeClass(n))}function ssrRenderStyle(n){if(!n)return"";if(isString$2(n))return escapeHtml(n);const t=normalizeStyle$1(ssrResetCssVars(n));return escapeHtml(stringifyStyle(t))}function ssrResetCssVars(n){if(!isArray$5(n)&&isObject$6(n)){const t={};for(const r in n)r.startsWith(":--")?t[r.slice(1)]=normalizeCssVarValue(n[r]):t[r]=n[r];return t}return n}function ssrRenderTeleport(n,t,r,i,g){n("");const $=g.appContext.provides[ssrContextKey],V=$.__teleportBuffers||($.__teleportBuffers={}),re=V[r]||(V[r]=[]),ie=re.length;let ae;if(i)t(n),ae="";else{const{getBuffer:oe,push:le}=createBuffer();le(""),t(le),le(""),ae=oe()}re.splice(ie,0,ae),n("")}{const n=getGlobalThis(),t=(r,i)=>{let g;return(g=n[r])||(g=n[r]=[]),g.push(i),$=>{g.length>1?g.forEach(V=>V($)):g[0]($)}};t("__VUE_INSTANCE_SETTERS__",r=>r),t("__VUE_SSR_SETTERS__",r=>r)}function ssrCompile(n,t){throw new Error("On-the-fly template compilation is not supported in the ESM build of @vue/server-renderer. All templates must be pre-compiled into render functions.")}const{createComponentInstance,setCurrentRenderingInstance,setupComponent,renderComponentRoot,normalizeVNode,pushWarningContext,popWarningContext}=ssrUtils;function createBuffer(){let n=!1;const t=[];return{getBuffer(){return t},push(r){const i=isString$2(r);if(n&&i){t[t.length-1]+=r;return}t.push(r),n=i,(isPromise(r)||isArray$5(r)&&r.hasAsync)&&(t.hasAsync=!0)}}}function renderComponentVNode(n,t=null,r){const i=n.component=createComponentInstance(n,t,null),g=setupComponent(i,!0),$=isPromise(g);let V=i.sp;return $||V?Promise.resolve(g).then(()=>{if($&&(V=i.sp),V)return Promise.all(V.map(ie=>ie.call(i.proxy)))}).catch(NOOP).then(()=>renderComponentSubTree(i,r)):renderComponentSubTree(i,r)}function renderComponentSubTree(n,t){const r=n.type,{getBuffer:i,push:g}=createBuffer();if(isFunction$4(r)){let $=renderComponentRoot(n);if(!r.props)for(const V in n.attrs)V.startsWith("data-v-")&&(($.props||($.props={}))[V]="");renderVNode(g,n.subTree=$,n,t)}else{(!n.render||n.render===NOOP)&&!n.ssrRender&&!r.ssrRender&&isString$2(r.template)&&(r.ssrRender=ssrCompile(r.template));const $=n.ssrRender||r.ssrRender;if($){let V=n.inheritAttrs!==!1?n.attrs:void 0,re=!1,ie=n;for(;;){const oe=ie.vnode.scopeId;oe&&(re||(V={...V},re=!0),V[oe]="");const le=ie.parent;if(le&&le.subTree&&le.subTree===ie.vnode)ie=le;else break}if(t){re||(V={...V});const oe=t.trim().split(" ");for(let le=0;le"))}return i()}function renderVNode(n,t,r,i){const{type:g,shapeFlag:$,children:V,dirs:re,props:ie}=t;switch(re&&(t.props=applySSRDirectives(t,ie,re)),g){case Text$1:n(escapeHtml(V));break;case Comment:n(V?``:"");break;case Static:n(V);break;case Fragment:t.slotScopeIds&&(i=(i?i+" ":"")+t.slotScopeIds.join(" ")),n(""),renderVNodeChildren(n,V,r,i),n("");break;default:$&1?renderElementVNode(n,t,r,i):$&6?n(renderComponentVNode(t,r,i)):$&64?renderTeleportVNode(n,t,r,i):$&128&&renderVNode(n,t.ssContent,r,i)}}function renderVNodeChildren(n,t,r,i){for(let g=0;g"),!isVoidTag(g)){let ue=!1;$&&($.innerHTML?(ue=!0,n($.innerHTML)):$.textContent?(ue=!0,n(escapeHtml($.textContent))):g==="textarea"&&$.value&&(ue=!0,n(escapeHtml($.value)))),ue||(re&8?n(escapeHtml(V)):re&16&&renderVNodeChildren(n,V,r,i)),n(``)}}function applySSRDirectives(n,t,r){const i=[];for(let g=0;g{renderVNodeChildren(V,t.children,r,i)},g,$||$==="",r)}const{isVNode:isVNode$1}=ssrUtils;function nestedUnrollBuffer(n,t,r){if(!n.hasAsync)return t+unrollBufferSync$1(n);let i=t;for(let g=r;g(n[g]=re,nestedUnrollBuffer(n,i,g)));const V=nestedUnrollBuffer($,i,0);if(isPromise(V))return V.then(re=>(n[g]=re,nestedUnrollBuffer(n,"",g)));i=V}return i}function unrollBuffer$1(n){return nestedUnrollBuffer(n,"",0)}function unrollBufferSync$1(n){let t="";for(let r=0;rn}),t);const r=createVNode$1(n._component,n._props);r.appContext=n._context,n.provide(ssrContextKey,t);const i=await renderComponentVNode(r),g=await unrollBuffer$1(i);if(await resolveTeleports(t),t.__watcherHandles)for(const $ of t.__watcherHandles)$();return g}async function resolveTeleports(n){if(n.__teleportBuffers){n.teleports=n.teleports||{};for(const t in n.__teleportBuffers)n.teleports[t]=await unrollBuffer$1(await Promise.all([n.__teleportBuffers[t]]))}}initDirectivesForSSR();const cacheStore=reactive({boundingBox:[],setBoundingBox:n=>{cacheStore.boundingBox=n},adsorbPoint:[],setAdsorbPoint(n){cacheStore.adsorbPoint=n},copy:[],setCopy(n){cacheStore.copy=n},history:[[]],historyIndex:0,addHistory(n){nextTick(()=>{cacheStore.historyIndex+120&&(cacheStore.history.shift(),cacheStore.historyIndex=cacheStore.history.length-1)})}}),index_vue_vue_type_style_index_0_scoped_cef6b2df_lang="",index_vue_vue_type_style_index_0_lang$1="",index_vue_vue_type_style_index_0_scroped_true_lang="",index_vue_vue_type_style_index_0_scoped_e248ab51_lang="",index_vue_vue_type_style_index_0_scoped_3704de4f_lang="",index_vue_vue_type_style_index_0_scoped_e515623d_lang="",contextMenuStore=reactive({menuInfo:{display:!1,left:0,top:0,info:{selectAll:{title:"全选",hot_key:"Ctrl + A",enable:!1},copy:{title:"复制",hot_key:"Ctrl + C",enable:!1},paste:{title:"粘贴",hot_key:"Ctrl + V",enable:!1},delete:{title:"删除",hot_key:"Delete",enable:!1},group:{title:"组合",hot_key:"Ctrl + G",enable:!1},ungroup:{title:"取消组合",hot_key:"Ctrl + U",enable:!1},moveTop:{title:"置顶",hot_key:"Ctrl + Right",enable:!1},moveUp:{title:"上移",hot_key:"Ctrl + Up",enable:!1},moveDown:{title:"下移",hot_key:"Ctrl + Down",enable:!1},moveBottom:{title:"置底",hot_key:"Ctrl + Left",enable:!1}}},setMenuInfo:n=>{contextMenuStore.menuInfo=n},setDisplayItem:n=>{for(const t in contextMenuStore.menuInfo.info)contextMenuStore.menuInfo.info[t].enable=!1;n.forEach(t=>{contextMenuStore.menuInfo.info[t].enable=!0})}}),index_vue_vue_type_style_index_0_scoped_306a5bcf_lang="";var ace$2={exports:{}};(function(n,t){(function(){var r="ace",i=function(){return this}();!i&&typeof window<"u"&&(i=window);var g=function(oe,le,ue){if(typeof oe!="string"){g.original?g.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(ue=le),g.modules[oe]||(g.payloads[oe]=ue,g.modules[oe]=null)};g.modules={},g.payloads={};var $=function(oe,le,ue){if(typeof le=="string"){var de=ie(oe,le);if(de!=null)return ue&&ue(),de}else if(Object.prototype.toString.call(le)==="[object Array]"){for(var he=[],pe=0,_e=le.length;pe<_e;++pe){var Ce=ie(oe,le[pe]);if(Ce==null&&V.original)return;he.push(Ce)}return ue&&ue.apply(null,he)||!0}},V=function(oe,le){var ue=$("",oe,le);return ue==null&&V.original?V.original.apply(this,arguments):ue},re=function(oe,le){if(le.indexOf("!")!==-1){var ue=le.split("!");return re(oe,ue[0])+"!"+re(oe,ue[1])}if(le.charAt(0)=="."){var de=oe.split("/").slice(0,-1).join("/");for(le=de+"/"+le;le.indexOf(".")!==-1&&he!=le;){var he=le;le=le.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return le},ie=function(oe,le){le=re(oe,le);var ue=g.modules[le];if(!ue){if(ue=g.payloads[le],typeof ue=="function"){var de={},he={id:le,uri:"",exports:de,packaged:!0},pe=function(Ce,xe){return $(le,Ce,xe)},_e=ue(pe,de,he);de=_e||he.exports,g.modules[le]=de,delete g.payloads[le]}ue=g.modules[le]=de||ue}return ue};function ae(oe){var le=i;oe&&(i[oe]||(i[oe]={}),le=i[oe]),(!le.define||!le.define.packaged)&&(g.original=le.define,le.define=g,le.define.packaged=!0),(!le.require||!le.require.packaged)&&(V.original=le.require,le.require=V,le.require.packaged=!0)}ae(r)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(r,i,g){function $(V,re,ie){Object.defineProperty(V,re,{value:ie,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||$(String.prototype,"startsWith",function(V,re){return re=re||0,this.lastIndexOf(V,re)===re}),String.prototype.endsWith||$(String.prototype,"endsWith",function(V,re){var ie=this;(re===void 0||re>ie.length)&&(re=ie.length),re-=V.length;var ae=ie.indexOf(V,re);return ae!==-1&&ae===re}),String.prototype.repeat||$(String.prototype,"repeat",function(V){for(var re="",ie=this;V>0;)V&1&&(re+=ie),(V>>=1)&&(ie+=ie);return re}),String.prototype.includes||$(String.prototype,"includes",function(V,re){return this.indexOf(V,re)!=-1}),Object.assign||(Object.assign=function(V){if(V==null)throw new TypeError("Cannot convert undefined or null to object");for(var re=Object(V),ie=1;ie>>0,ae=arguments[1],oe=ae>>0,le=oe<0?Math.max(ie+oe,0):Math.min(oe,ie),ue=arguments[2],de=ue===void 0?ie:ue>>0,he=de<0?Math.max(ie+de,0):Math.min(de,ie);le0;)ie&1&&(ae+=re),(ie>>=1)&&(re+=re);return ae};var $=/^\s\s*/,V=/\s\s*$/;i.stringTrimLeft=function(re){return re.replace($,"")},i.stringTrimRight=function(re){return re.replace(V,"")},i.copyObject=function(re){var ie={};for(var ae in re)ie[ae]=re[ae];return ie},i.copyArray=function(re){for(var ie=[],ae=0,oe=re.length;ae65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(r,i,g){i.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},i.getOS=function(){return i.isMac?i.OS.MAC:i.isLinux?i.OS.LINUX:i.OS.WINDOWS};var $=typeof navigator=="object"?navigator:{},V=(/mac|win|linux/i.exec($.platform)||["other"])[0].toLowerCase(),re=$.userAgent||"",ie=$.appName||"";i.isWin=V=="win",i.isMac=V=="mac",i.isLinux=V=="linux",i.isIE=ie=="Microsoft Internet Explorer"||ie.indexOf("MSAppHost")>=0?parseFloat((re.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((re.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),i.isOldIE=i.isIE&&i.isIE<9,i.isGecko=i.isMozilla=re.match(/ Gecko\/\d+/),i.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",i.isWebKit=parseFloat(re.split("WebKit/")[1])||void 0,i.isChrome=parseFloat(re.split(" Chrome/")[1])||void 0,i.isSafari=parseFloat(re.split(" Safari/")[1])&&!i.isChrome||void 0,i.isEdge=parseFloat(re.split(" Edge/")[1])||void 0,i.isAIR=re.indexOf("AdobeAIR")>=0,i.isAndroid=re.indexOf("Android")>=0,i.isChromeOS=re.indexOf(" CrOS ")>=0,i.isIOS=/iPad|iPhone|iPod/.test(re)&&!window.MSStream,i.isIOS&&(i.isMac=!0),i.isMobile=i.isIOS||i.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(r,i,g){var $=r("./useragent"),V="http://www.w3.org/1999/xhtml";i.buildDom=function ue(de,he,pe){if(typeof de=="string"&&de){var _e=document.createTextNode(de);return he&&he.appendChild(_e),_e}if(!Array.isArray(de))return de&&de.appendChild&&he&&he.appendChild(de),de;if(typeof de[0]!="string"||!de[0]){for(var Ce=[],xe=0;xe"u")){if(ie){if(he)ae();else if(he===!1)return ie.push([ue,de])}if(!re){var pe=he;!he||!he.getRootNode?pe=document:(pe=he.getRootNode(),(!pe||pe==he)&&(pe=document));var _e=pe.ownerDocument||pe;if(de&&i.hasCssString(de,pe))return null;de&&(ue+=` -/*# sourceURL=ace/css/`+de+" */");var Ce=i.createElement("style");Ce.appendChild(_e.createTextNode(ue)),de&&(Ce.id=de),pe==_e&&(pe=i.getDocumentHead(_e)),pe.insertBefore(Ce,pe.firstChild)}}}if(i.importCssString=oe,i.importCssStylsheet=function(ue,de){i.buildDom(["link",{rel:"stylesheet",href:ue}],i.getDocumentHead(de))},i.$fixPositionBug=function(ue){var de=ue.getBoundingClientRect();if(ue.style.left){var he=parseFloat(ue.style.left),pe=+de.left;Math.abs(he-pe)>1&&(ue.style.left=2*he-pe+"px")}if(ue.style.right){var he=parseFloat(ue.style.right),pe=window.innerWidth-de.right;Math.abs(he-pe)>1&&(ue.style.right=2*he-pe+"px")}if(ue.style.top){var he=parseFloat(ue.style.top),pe=+de.top;Math.abs(he-pe)>1&&(ue.style.top=2*he-pe+"px")}if(ue.style.bottom){var he=parseFloat(ue.style.bottom),pe=window.innerHeight-de.bottom;Math.abs(he-pe)>1&&(ue.style.bottom=2*he-pe+"px")}},i.scrollbarWidth=function(ue){var de=i.createElement("ace_inner");de.style.width="100%",de.style.minWidth="0px",de.style.height="200px",de.style.display="block";var he=i.createElement("ace_outer"),pe=he.style;pe.position="absolute",pe.left="-10000px",pe.overflow="hidden",pe.width="200px",pe.minWidth="0px",pe.height="150px",pe.display="block",he.appendChild(de);var _e=ue&&ue.documentElement||document&&document.documentElement;if(!_e)return 0;_e.appendChild(he);var Ce=de.offsetWidth;pe.overflow="scroll";var xe=de.offsetWidth;return Ce===xe&&(xe=he.clientWidth),_e.removeChild(he),Ce-xe},i.computedStyle=function(ue,de){return window.getComputedStyle(ue,"")||{}},i.setStyle=function(ue,de,he){ue[de]!==he&&(ue[de]=he)},i.HAS_CSS_ANIMATION=!1,i.HAS_CSS_TRANSFORMS=!1,i.HI_DPI=$.isWin?typeof window<"u"&&window.devicePixelRatio>=1.5:!0,$.isChromeOS&&(i.HI_DPI=!1),typeof document<"u"){var le=document.createElement("div");i.HI_DPI&&le.style.transform!==void 0&&(i.HAS_CSS_TRANSFORMS=!0),!$.isEdge&&typeof le.style.animationName<"u"&&(i.HAS_CSS_ANIMATION=!0),le=null}i.HAS_CSS_TRANSFORMS?i.translate=function(ue,de,he){ue.style.transform="translate("+Math.round(de)+"px, "+Math.round(he)+"px)"}:i.translate=function(ue,de,he){ue.style.top=Math.round(he)+"px",ue.style.left=Math.round(de)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(r,i,g){/* -* based on code from: -* -* @license RequireJS text 0.25.0 Copyright (c) 2010-2011, The Dojo Foundation All Rights Reserved. -* Available via the MIT or new BSD license. -* see: http://github.com/jrburke/requirejs for details -*/var $=r("./dom");i.get=function(V,re){var ie=new XMLHttpRequest;ie.open("GET",V,!0),ie.onreadystatechange=function(){ie.readyState===4&&re(ie.responseText)},ie.send(null)},i.loadScript=function(V,re){var ie=$.getDocumentHead(),ae=document.createElement("script");ae.src=V,ie.appendChild(ae),ae.onload=ae.onreadystatechange=function(oe,le){(le||!ae.readyState||ae.readyState=="loaded"||ae.readyState=="complete")&&(ae=ae.onload=ae.onreadystatechange=null,le||re())}},i.qualifyURL=function(V){var re=document.createElement("a");return re.href=V,re.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(r,i,g){i.inherits=function($,V){$.super_=V,$.prototype=Object.create(V.prototype,{constructor:{value:$,enumerable:!1,writable:!0,configurable:!0}})},i.mixin=function($,V){for(var re in V)$[re]=V[re];return $},i.implement=function($,V){i.mixin($,V)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(r,i,g){var $={},V=function(){this.propagationStopped=!0},re=function(){this.defaultPrevented=!0};$._emit=$._dispatchEvent=function(ie,ae){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var oe=this._eventRegistry[ie]||[],le=this._defaultHandlers[ie];if(!(!oe.length&&!le)){(typeof ae!="object"||!ae)&&(ae={}),ae.type||(ae.type=ie),ae.stopPropagation||(ae.stopPropagation=V),ae.preventDefault||(ae.preventDefault=re),oe=oe.slice();for(var ue=0;ue1&&(Ce=pe[pe.length-2]);var Ie=ae[he+"Path"];return Ie==null?Ie=ae.basePath:_e=="/"&&(he=_e=""),Ie&&Ie.slice(-1)!="/"&&(Ie+="/"),Ie+he+_e+Ce+this.get("suffix")},i.setModuleUrl=function(de,he){return ae.$moduleUrls[de]=he};var oe=function(de,he){if(de==="ace/theme/textmate"||de==="./theme/textmate")return he(null,r("./theme/textmate"));if(le)return le(de,he);console.error("loader is not configured")},le;i.setLoader=function(de){le=de},i.dynamicModules=Object.create(null),i.$loading={},i.$loaded={},i.loadModule=function(de,he){var pe;if(Array.isArray(de))var _e=de[0],Ce=de[1];else if(typeof de=="string")var Ce=de;var xe=function(Ie){if(Ie&&!i.$loading[Ce])return he&&he(Ie);if(i.$loading[Ce]||(i.$loading[Ce]=[]),i.$loading[Ce].push(he),!(i.$loading[Ce].length>1)){var Ne=function(){oe(Ce,function(Oe,$e){$e&&(i.$loaded[Ce]=$e),i._emit("load.module",{name:Ce,module:$e});var Ve=i.$loading[Ce];i.$loading[Ce]=null,Ve.forEach(function(Ue){Ue&&Ue($e)})})};if(!i.get("packaged"))return Ne();V.loadScript(i.moduleUrl(Ce,_e),Ne),ue()}};if(i.dynamicModules[Ce])i.dynamicModules[Ce]().then(function(Ie){Ie.default?xe(Ie.default):xe(Ie)});else{try{pe=this.$require(Ce)}catch{}xe(pe||i.$loaded[Ce])}},i.$require=function(de){if(typeof g.require=="function"){var he="require";return g[he](de)}},i.setModuleLoader=function(de,he){i.dynamicModules[de]=he};var ue=function(){!ae.basePath&&!ae.workerPath&&!ae.modePath&&!ae.themePath&&!Object.keys(ae.$moduleUrls).length&&(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),ue=function(){})};i.version="1.43.5"}),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],function(r,i,g){r("./lib/fixoldbrowsers");var $=r("./config");$.setLoader(function(ae,oe){r([ae],function(le){oe(null,le)})});var V=function(){return this||typeof window<"u"&&window}();g.exports=function(ae){$.init=re,$.$require=r,ae.require=r},re(!0);function re(ae){if(!(!V||!V.document)){$.set("packaged",ae||r.packaged||g.packaged||V.define&&(void 0).packaged);var oe={},le="",ue=document.currentScript||document._currentScript,de=ue&&ue.ownerDocument||document;ue&&ue.src&&(le=ue.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var he=de.getElementsByTagName("script"),pe=0;pe ["+this.end.row+"/"+this.end.column+"]"},V.prototype.contains=function(re,ie){return this.compare(re,ie)==0},V.prototype.compareRange=function(re){var ie,ae=re.end,oe=re.start;return ie=this.compare(ae.row,ae.column),ie==1?(ie=this.compare(oe.row,oe.column),ie==1?2:ie==0?1:0):ie==-1?-2:(ie=this.compare(oe.row,oe.column),ie==-1?-1:ie==1?42:0)},V.prototype.comparePoint=function(re){return this.compare(re.row,re.column)},V.prototype.containsRange=function(re){return this.comparePoint(re.start)==0&&this.comparePoint(re.end)==0},V.prototype.intersects=function(re){var ie=this.compareRange(re);return ie==-1||ie==0||ie==1},V.prototype.isEnd=function(re,ie){return this.end.row==re&&this.end.column==ie},V.prototype.isStart=function(re,ie){return this.start.row==re&&this.start.column==ie},V.prototype.setStart=function(re,ie){typeof re=="object"?(this.start.column=re.column,this.start.row=re.row):(this.start.row=re,this.start.column=ie)},V.prototype.setEnd=function(re,ie){typeof re=="object"?(this.end.column=re.column,this.end.row=re.row):(this.end.row=re,this.end.column=ie)},V.prototype.inside=function(re,ie){return this.compare(re,ie)==0?!(this.isEnd(re,ie)||this.isStart(re,ie)):!1},V.prototype.insideStart=function(re,ie){return this.compare(re,ie)==0?!this.isEnd(re,ie):!1},V.prototype.insideEnd=function(re,ie){return this.compare(re,ie)==0?!this.isStart(re,ie):!1},V.prototype.compare=function(re,ie){return!this.isMultiLine()&&re===this.start.row?iethis.end.column?1:0:rethis.end.row?1:this.start.row===re?ie>=this.start.column?0:-1:this.end.row===re?ie<=this.end.column?0:1:0},V.prototype.compareStart=function(re,ie){return this.start.row==re&&this.start.column==ie?-1:this.compare(re,ie)},V.prototype.compareEnd=function(re,ie){return this.end.row==re&&this.end.column==ie?1:this.compare(re,ie)},V.prototype.compareInside=function(re,ie){return this.end.row==re&&this.end.column==ie?1:this.start.row==re&&this.start.column==ie?-1:this.compare(re,ie)},V.prototype.clipRows=function(re,ie){if(this.end.row>ie)var ae={row:ie+1,column:0};else if(this.end.rowie)var oe={row:ie+1,column:0};else if(this.start.row1?(Ue++,Ue>4&&(Ue=1)):Ue=1,V.isIE){var At=Math.abs(kt.clientX-Fe)>5||Math.abs(kt.clientY-ze)>5;(!Pt||At)&&(Ue=1),Pt&&clearTimeout(Pt),Pt=setTimeout(function(){Pt=null},Ne[Ue-1]||600),Ue==1&&(Fe=kt.clientX,ze=kt.clientY)}if(kt._clicks=Ue,Oe[$e]("mousedown",kt),Ue>4)Ue=0;else if(Ue>1)return Oe[$e](qe[Ue],kt)}Array.isArray(Ie)||(Ie=[Ie]),Ie.forEach(function(kt){de(kt,"mousedown",Et,Ve)})};function pe(Ie){return 0|(Ie.ctrlKey?1:0)|(Ie.altKey?2:0)|(Ie.shiftKey?4:0)|(Ie.metaKey?8:0)}i.getModifierString=function(Ie){return $.KEY_MODS[pe(Ie)]};function _e(Ie,Ne,Oe){var $e=pe(Ne);if(!Oe&&Ne.code&&(Oe=$.$codeToKeyCode[Ne.code]||Oe),!V.isMac&&re){if(Ne.getModifierState&&(Ne.getModifierState("OS")||Ne.getModifierState("Win"))&&($e|=8),re.altGr)if((3&$e)!=3)re.altGr=0;else return;if(Oe===18||Oe===17){var Ve=Ne.location;if(Oe===17&&Ve===1)re[Oe]==1&&(ie=Ne.timeStamp);else if(Oe===18&&$e===3&&Ve===2){var Ue=Ne.timeStamp-ie;Ue<50&&(re.altGr=!0)}}}if(Oe in $.MODIFIER_KEYS&&(Oe=-1),!(!$e&&Oe===13&&Ne.location===3&&(Ie(Ne,$e,-Oe),Ne.defaultPrevented))){if(V.isChromeOS&&$e&8){if(Ie(Ne,$e,Oe),Ne.defaultPrevented)return;$e&=-9}return!$e&&!(Oe in $.FUNCTION_KEYS)&&!(Oe in $.PRINTABLE_KEYS)?!1:Ie(Ne,$e,Oe)}}i.addCommandKeyListener=function(Ie,Ne,Oe){var $e=null;de(Ie,"keydown",function(Ve){re[Ve.keyCode]=(re[Ve.keyCode]||0)+1;var Ue=_e(Ne,Ve,Ve.keyCode);return $e=Ve.defaultPrevented,Ue},Oe),de(Ie,"keypress",function(Ve){$e&&(Ve.ctrlKey||Ve.altKey||Ve.shiftKey||Ve.metaKey)&&(i.stopEvent(Ve),$e=null)},Oe),de(Ie,"keyup",function(Ve){re[Ve.keyCode]=null},Oe),re||(Ce(),de(window,"focus",Ce))};function Ce(){re=Object.create(null)}if(typeof window=="object"&&window.postMessage&&!V.isOldIE){var xe=1;i.nextTick=function(Ie,Ne){Ne=Ne||window;var Oe="zero-timeout-message-"+xe++,$e=function(Ve){Ve.data==Oe&&(i.stopPropagation(Ve),he(Ne,"message",$e),Ie())};de(Ne,"message",$e),Ne.postMessage(Oe,"*")}}i.$idleBlocked=!1,i.onIdle=function(Ie,Ne){return setTimeout(function Oe(){i.$idleBlocked?setTimeout(Oe,100):Ie()},Ne)},i.$idleBlockId=null,i.blockIdle=function(Ie){i.$idleBlockId&&clearTimeout(i.$idleBlockId),i.$idleBlocked=!0,i.$idleBlockId=setTimeout(function(){i.$idleBlocked=!1},Ie||100)},i.nextFrame=typeof window=="object"&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),i.nextFrame?i.nextFrame=i.nextFrame.bind(window):i.nextFrame=function(Ie){setTimeout(Ie,17)}}),ace.define("ace/clipboard",["require","exports","module"],function(r,i,g){var $;g.exports={lineMode:!1,pasteCancelled:function(){return $&&$>Date.now()-50?!0:$=!1},cancel:function(){$=Date.now()}}}),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],function(r,i,g){var $=r("../lib/event"),V=r("../config").nls,re=r("../lib/useragent"),ie=r("../lib/dom"),ae=r("../lib/lang"),oe=r("../clipboard"),le=re.isChrome<18,ue=re.isIE,de=re.isChrome>63,he=400,pe=r("../lib/keys"),_e=pe.KEY_MODS,Ce=re.isIOS,xe=Ce?/\s/:/\n/,Ie=re.isMobile,Ne=function(){function Oe($e,Ve){var Ue=this;this.host=Ve,this.text=ie.createElement("textarea"),this.text.className="ace_text-input",this.text.setAttribute("wrap","off"),this.text.setAttribute("autocomplete","off"),this.text.setAttribute("autocorrect","off"),this.text.setAttribute("autocapitalize","off"),this.text.setAttribute("spellcheck","false"),this.text.style.opacity="0",$e.insertBefore(this.text,$e.firstChild),this.copied=!1,this.pasted=!1,this.inComposition=!1,this.sendingText=!1,this.tempStyle="",Ie||(this.text.style.fontSize="1px"),this.commandMode=!1,this.ignoreFocusEvents=!1,this.lastValue="",this.lastSelectionStart=0,this.lastSelectionEnd=0,this.lastRestoreEnd=0,this.rowStart=Number.MAX_SAFE_INTEGER,this.rowEnd=Number.MIN_SAFE_INTEGER,this.numberOfExtraLines=0;try{this.$isFocused=document.activeElement===this.text}catch{}this.cancelComposition=this.cancelComposition.bind(this),this.setAriaOptions({role:"textbox"}),$.addListener(this.text,"blur",function(Fe){Ue.ignoreFocusEvents||(Ve.onBlur(Fe),Ue.$isFocused=!1)},Ve),$.addListener(this.text,"focus",function(Fe){if(!Ue.ignoreFocusEvents){if(Ue.$isFocused=!0,re.isEdge)try{if(!document.hasFocus())return}catch{}Ve.onFocus(Fe),re.isEdge?setTimeout(Ue.resetSelection.bind(Ue)):Ue.resetSelection()}},Ve),this.$focusScroll=!1,Ve.on("beforeEndOperation",function(){var Fe=Ve.curOp,ze=Fe&&Fe.command&&Fe.command.name;if(ze!="insertstring"){var Pt=ze&&(Fe.docChanged||Fe.selectionChanged);Ue.inComposition&&Pt&&(Ue.lastValue=Ue.text.value="",Ue.onCompositionEnd()),Ue.resetSelection()}}),Ve.on("changeSelection",this.setAriaLabel.bind(this)),this.resetSelection=Ce?this.$resetSelectionIOS:this.$resetSelection,this.$isFocused&&Ve.onFocus(),this.inputHandler=null,this.afterContextMenu=!1,$.addCommandKeyListener(this.text,function(Fe,ze,Pt){if(!Ue.inComposition)return Ve.onCommandKey(Fe,ze,Pt)},Ve),$.addListener(this.text,"select",this.onSelect.bind(this),Ve),$.addListener(this.text,"input",this.onInput.bind(this),Ve),$.addListener(this.text,"cut",this.onCut.bind(this),Ve),$.addListener(this.text,"copy",this.onCopy.bind(this),Ve),$.addListener(this.text,"paste",this.onPaste.bind(this),Ve),(!("oncut"in this.text)||!("oncopy"in this.text)||!("onpaste"in this.text))&&$.addListener($e,"keydown",function(Fe){if(!(re.isMac&&!Fe.metaKey||!Fe.ctrlKey))switch(Fe.keyCode){case 67:Ue.onCopy(Fe);break;case 86:Ue.onPaste(Fe);break;case 88:Ue.onCut(Fe);break}},Ve),this.syncComposition=ae.delayedCall(this.onCompositionUpdate.bind(this),50).schedule.bind(null,null),$.addListener(this.text,"compositionstart",this.onCompositionStart.bind(this),Ve),$.addListener(this.text,"compositionupdate",this.onCompositionUpdate.bind(this),Ve),$.addListener(this.text,"keyup",this.onKeyup.bind(this),Ve),$.addListener(this.text,"keydown",this.syncComposition.bind(this),Ve),$.addListener(this.text,"compositionend",this.onCompositionEnd.bind(this),Ve),this.closeTimeout,$.addListener(this.text,"mouseup",this.$onContextMenu.bind(this),Ve),$.addListener(this.text,"mousedown",function(Fe){Fe.preventDefault(),Ue.onContextMenuClose()},Ve),$.addListener(Ve.renderer.scroller,"contextmenu",this.$onContextMenu.bind(this),Ve),$.addListener(this.text,"contextmenu",this.$onContextMenu.bind(this),Ve),Ce&&this.addIosSelectionHandler($e,Ve,this.text)}return Oe.prototype.addIosSelectionHandler=function($e,Ve,Ue){var Fe=this,ze=null,Pt=!1;Ue.addEventListener("keydown",function(Et){ze&&clearTimeout(ze),Pt=!0},!0),Ue.addEventListener("keyup",function(Et){ze=setTimeout(function(){Pt=!1},100)},!0);var qe=function(Et){if(document.activeElement===Ue&&!(Pt||Fe.inComposition||Ve.$mouseHandler.isMousePressed)&&!Fe.copied){var kt=Ue.selectionStart,At=Ue.selectionEnd,Dt=null,Lt=0;if(kt==0?Dt=pe.up:kt==1?Dt=pe.home:At>Fe.lastSelectionEnd&&Fe.lastValue[At]==` -`?Dt=pe.end:ktFe.lastSelectionEnd&&Fe.lastValue.slice(0,At).split(` -`).length>2?Dt=pe.down:At>Fe.lastSelectionEnd&&Fe.lastValue[At-1]==" "?(Dt=pe.right,Lt=_e.option):(At>Fe.lastSelectionEnd||At==Fe.lastSelectionEnd&&Fe.lastSelectionEnd!=Fe.lastSelectionStart&&kt==At)&&(Dt=pe.right),kt!==At&&(Lt|=_e.shift),Dt){var jt=Ve.onCommandKey({},Lt,Dt);if(!jt&&Ve.commands){Dt=pe.keyCodeToString(Dt);var hn=Ve.commands.findKeyCommand(Lt,Dt);hn&&Ve.execCommand(hn)}Fe.lastSelectionStart=kt,Fe.lastSelectionEnd=At,Fe.resetSelection("")}}};document.addEventListener("selectionchange",qe),Ve.on("destroy",function(){document.removeEventListener("selectionchange",qe)})},Oe.prototype.onContextMenuClose=function(){var $e=this;clearTimeout(this.closeTimeout),this.closeTimeout=setTimeout(function(){$e.tempStyle&&($e.text.style.cssText=$e.tempStyle,$e.tempStyle=""),$e.host.renderer.$isMousePressed=!1,$e.host.renderer.$keepTextAreaAtCursor&&$e.host.renderer.$moveTextAreaToCursor()},0)},Oe.prototype.$onContextMenu=function($e){this.host.textInput.onContextMenu($e),this.onContextMenuClose()},Oe.prototype.onKeyup=function($e){$e.keyCode==27&&this.text.value.lengthhe+100||xe.test(Ue)||Ie&&this.lastSelectionStart<1&&this.lastSelectionStart==this.lastSelectionEnd)&&this.resetSelection()},Oe.prototype.sendText=function($e,Ve){if(this.afterContextMenu&&(this.afterContextMenu=!1),this.pasted)return this.resetSelection(),$e&&this.host.onPaste($e),this.pasted=!1,"";for(var Ue=this.text.selectionStart,Fe=this.text.selectionEnd,ze=this.lastSelectionStart,Pt=this.lastValue.length-this.lastSelectionEnd,qe=$e,Et=$e.length-Ue,kt=$e.length-Fe,At=0;ze>0&&this.lastValue[At]==$e[At];)At++,ze--;for(qe=qe.slice(At),At=1;Pt>0&&this.lastValue.length-At>this.lastSelectionStart-1&&this.lastValue[this.lastValue.length-At]==$e[$e.length-At];)At++,Pt--;Et-=At-1,kt-=At-1;var Dt=qe.length-At+1;if(Dt<0&&(ze=-Dt,Dt=0),qe=qe.slice(0,Dt),!Ve&&!qe&&!Et&&!ze&&!Pt&&!kt)return"";this.sendingText=!0;var Lt=!1;return re.isAndroid&&qe==". "&&(qe=" ",Lt=!0),qe&&!ze&&!Pt&&!Et&&!kt||this.commandMode?this.host.onTextInput(qe):this.host.onTextInput(qe,{extendLeft:ze,extendRight:Pt,restoreStart:Et,restoreEnd:kt}),this.sendingText=!1,this.lastValue=$e,this.lastSelectionStart=Ue,this.lastSelectionEnd=Fe,this.lastRestoreEnd=kt,Lt?` -`:qe},Oe.prototype.onSelect=function($e){var Ve=this;if(!this.inComposition){var Ue=function(Fe){return Fe.selectionStart===0&&Fe.selectionEnd>=Ve.lastValue.length&&Fe.value===Ve.lastValue&&Ve.lastValue&&Fe.selectionEnd!==Ve.lastSelectionEnd};this.copied?this.copied=!1:Ue(this.text)?(this.host.selectAll(),this.resetSelection()):Ie&&this.text.selectionStart!=this.lastSelectionStart&&this.resetSelection()}},Oe.prototype.$resetSelectionIOS=function($e){if(!(!this.$isFocused||this.copied&&!$e||this.sendingText)){$e||($e="");var Ve=` - ab`+$e+`cde fg -`;Ve!=this.text.value&&(this.text.value=this.lastValue=Ve);var Ue=4,Fe=4+($e.length||(this.host.selection.isEmpty()?0:1));(this.lastSelectionStart!=Ue||this.lastSelectionEnd!=Fe)&&this.text.setSelectionRange(Ue,Fe),this.lastSelectionStart=Ue,this.lastSelectionEnd=Fe}},Oe.prototype.$resetSelection=function(){var $e=this;if(!(this.inComposition||this.sendingText)&&!(!this.$isFocused&&!this.afterContextMenu)){this.inComposition=!0;var Ve=0,Ue=0,Fe="",ze=function(hn,vn){for(var _n=vn,wn=1;wn<=hn-$e.rowStart&&wn<2*$e.numberOfExtraLines+1;wn++)_n+=$e.host.session.getLine(hn-wn).length+1;return _n};if(this.host.session){var Pt=this.host.selection,qe=Pt.getRange(),Et=Pt.cursor.row;Et===this.rowEnd+1?(this.rowStart=this.rowEnd+1,this.rowEnd=this.rowStart+2*this.numberOfExtraLines):Et===this.rowStart-1?(this.rowEnd=this.rowStart-1,this.rowStart=this.rowEnd-2*this.numberOfExtraLines):(Etthis.rowEnd+1)&&(this.rowStart=Et>this.numberOfExtraLines?Et-this.numberOfExtraLines:0,this.rowEnd=Et>this.numberOfExtraLines?Et+this.numberOfExtraLines:2*this.numberOfExtraLines);for(var kt=[],At=this.rowStart;At<=this.rowEnd;At++)kt.push(this.host.session.getLine(At));if(Fe=kt.join(` -`),Ve=ze(qe.start.row,qe.start.column),Ue=ze(qe.end.row,qe.end.column),qe.start.rowthis.rowEnd){var Lt=this.host.session.getLine(this.rowEnd+1);Ue=qe.end.row>this.rowEnd+1?Lt.length:qe.end.column,Ue+=Fe.length+1,Fe=Fe+` -`+Lt}else Ie&&Et>0&&(Fe=` -`+Fe,Ue+=1,Ve+=1);Fe.length>he&&(Ve1),ue.preventDefault()},le.prototype.startSelect=function(ue,de){ue=ue||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var he=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?he.selection.selectToPosition(ue):de||he.selection.moveToPosition(ue),de||this.select(),he.setStyle("ace_selecting"),this.setState("select"))},le.prototype.select=function(){var ue,de=this.editor,he=de.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var pe=this.$clickSelection.comparePoint(he);if(pe==-1)ue=this.$clickSelection.end;else if(pe==1)ue=this.$clickSelection.start;else{var _e=oe(this.$clickSelection,he,de.session);he=_e.cursor,ue=_e.anchor}de.selection.setSelectionAnchor(ue.row,ue.column)}de.selection.selectToPosition(he),de.renderer.scrollCursorIntoView()},le.prototype.extendSelectionBy=function(ue){var de,he=this.editor,pe=he.renderer.screenToTextCoordinates(this.x,this.y),_e=he.selection[ue](pe.row,pe.column);if(this.$clickSelection){var Ce=this.$clickSelection.comparePoint(_e.start),xe=this.$clickSelection.comparePoint(_e.end);if(Ce==-1&&xe<=0)de=this.$clickSelection.end,(_e.end.row!=pe.row||_e.end.column!=pe.column)&&(pe=_e.start);else if(xe==1&&Ce>=0)de=this.$clickSelection.start,(_e.start.row!=pe.row||_e.start.column!=pe.column)&&(pe=_e.end);else if(Ce==-1&&xe==1)pe=_e.end,de=_e.start;else{var Ie=oe(this.$clickSelection,pe,he.session);pe=Ie.cursor,de=Ie.anchor}he.selection.setSelectionAnchor(de.row,de.column)}he.selection.selectToPosition(pe),he.renderer.scrollCursorIntoView()},le.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},le.prototype.focusWait=function(){var ue=ae(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y),de=Date.now();(ue>V||de-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},le.prototype.onDoubleClick=function(ue){var de=ue.getDocumentPosition(),he=this.editor,pe=he.session,_e=pe.getBracketRange(de);_e?(_e.isEmpty()&&(_e.start.column--,_e.end.column++),this.setState("select")):(_e=he.selection.getWordRange(de.row,de.column),this.setState("selectByWords")),this.$clickSelection=_e,this.select()},le.prototype.onTripleClick=function(ue){var de=ue.getDocumentPosition(),he=this.editor;this.setState("selectByLines");var pe=he.getSelectionRange();pe.isMultiLine()&&pe.contains(de.row,de.column)?(this.$clickSelection=he.selection.getLineRange(pe.start.row),this.$clickSelection.end=he.selection.getLineRange(pe.end.row).end):this.$clickSelection=he.selection.getLineRange(de.row),this.select()},le.prototype.onQuadClick=function(ue){var de=this.editor;de.selectAll(),this.$clickSelection=de.getSelectionRange(),this.setState("selectAll")},le.prototype.onMouseWheel=function(ue){if(!ue.getAccelKey()){ue.getShiftKey()&&ue.wheelY&&!ue.wheelX&&(ue.wheelX=ue.wheelY,ue.wheelY=0);var de=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var he=this.$lastScroll,pe=ue.domEvent.timeStamp,_e=pe-he.t,Ce=_e?ue.wheelX/_e:he.vx,xe=_e?ue.wheelY/_e:he.vy;_e=1&&de.renderer.isScrollableBy(ue.wheelX*ue.speed,0)&&(Ne=!0),Ie<=1&&de.renderer.isScrollableBy(0,ue.wheelY*ue.speed)&&(Ne=!0),Ne)he.allowed=pe;else if(pe-he.allowedre.clientHeight;ie||V.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(r,i,g){var $=this&&this.__extends||function(){var pe=function(_e,Ce){return pe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(xe,Ie){xe.__proto__=Ie}||function(xe,Ie){for(var Ne in Ie)Object.prototype.hasOwnProperty.call(Ie,Ne)&&(xe[Ne]=Ie[Ne])},pe(_e,Ce)};return function(_e,Ce){if(typeof Ce!="function"&&Ce!==null)throw new TypeError("Class extends value "+String(Ce)+" is not a constructor or null");pe(_e,Ce);function xe(){this.constructor=_e}_e.prototype=Ce===null?Object.create(Ce):(xe.prototype=Ce.prototype,new xe)}}(),V=this&&this.__values||function(pe){var _e=typeof Symbol=="function"&&Symbol.iterator,Ce=_e&&pe[_e],xe=0;if(Ce)return Ce.call(pe);if(pe&&typeof pe.length=="number")return{next:function(){return pe&&xe>=pe.length&&(pe=void 0),{value:pe&&pe[xe++],done:!pe}}};throw new TypeError(_e?"Object is not iterable.":"Symbol.iterator is not defined.")},re=r("./lib/dom");r("./lib/event");var ie=r("./range").Range,ae=r("./lib/scroll").preventParentScroll,oe="ace_tooltip",le=function(){function pe(_e){this.isOpen=!1,this.$element=null,this.$parentNode=_e}return pe.prototype.$init=function(){return this.$element=re.createElement("div"),this.$element.className=oe,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},pe.prototype.getElement=function(){return this.$element||this.$init()},pe.prototype.setText=function(_e){this.getElement().textContent=_e},pe.prototype.setHtml=function(_e){this.getElement().innerHTML=_e},pe.prototype.setPosition=function(_e,Ce){this.getElement().style.left=_e+"px",this.getElement().style.top=Ce+"px"},pe.prototype.setClassName=function(_e){re.addCssClass(this.getElement(),_e)},pe.prototype.setTheme=function(_e){this.theme&&(this.theme.isDark&&re.removeCssClass(this.getElement(),"ace_dark"),this.theme.cssClass&&re.removeCssClass(this.getElement(),this.theme.cssClass)),_e.isDark&&re.addCssClass(this.getElement(),"ace_dark"),_e.cssClass&&re.addCssClass(this.getElement(),_e.cssClass),this.theme={isDark:_e.isDark,cssClass:_e.cssClass}},pe.prototype.show=function(_e,Ce,xe){_e!=null&&this.setText(_e),Ce!=null&&xe!=null&&this.setPosition(Ce,xe),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},pe.prototype.hide=function(_e){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=oe,this.isOpen=!1)},pe.prototype.getHeight=function(){return this.getElement().offsetHeight},pe.prototype.getWidth=function(){return this.getElement().offsetWidth},pe.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},pe}(),ue=function(){function pe(){this.popups=[]}return pe.prototype.addPopup=function(_e){this.popups.push(_e),this.updatePopups()},pe.prototype.removePopup=function(_e){var Ce=this.popups.indexOf(_e);Ce!==-1&&(this.popups.splice(Ce,1),this.updatePopups())},pe.prototype.updatePopups=function(){var _e,Ce,xe,Ie;this.popups.sort(function(qe,Et){return Et.priority-qe.priority});var Ne=[];try{for(var Oe=V(this.popups),$e=Oe.next();!$e.done;$e=Oe.next()){var Ve=$e.value,Ue=!0;try{for(var Fe=(xe=void 0,V(Ne)),ze=Fe.next();!ze.done;ze=Fe.next()){var Pt=ze.value;if(this.doPopupsOverlap(Pt,Ve)){Ue=!1;break}}}catch(qe){xe={error:qe}}finally{try{ze&&!ze.done&&(Ie=Fe.return)&&Ie.call(Fe)}finally{if(xe)throw xe.error}}Ue?Ne.push(Ve):Ve.hide()}}catch(qe){_e={error:qe}}finally{try{$e&&!$e.done&&(Ce=Oe.return)&&Ce.call(Oe)}finally{if(_e)throw _e.error}}},pe.prototype.doPopupsOverlap=function(_e,Ce){var xe=_e.getElement().getBoundingClientRect(),Ie=Ce.getElement().getBoundingClientRect();return xe.leftIe.left&&xe.topIe.top},pe}(),de=new ue;i.popupManager=de,i.Tooltip=le;var he=function(pe){$(_e,pe);function _e(Ce){Ce===void 0&&(Ce=document.body);var xe=pe.call(this,Ce)||this;xe.timeout=void 0,xe.lastT=0,xe.idleTime=350,xe.lastEvent=void 0,xe.onMouseOut=xe.onMouseOut.bind(xe),xe.onMouseMove=xe.onMouseMove.bind(xe),xe.waitForHover=xe.waitForHover.bind(xe),xe.hide=xe.hide.bind(xe);var Ie=xe.getElement();return Ie.style.whiteSpace="pre-wrap",Ie.style.pointerEvents="auto",Ie.addEventListener("mouseout",xe.onMouseOut),Ie.tabIndex=-1,Ie.addEventListener("blur",(function(){Ie.contains(document.activeElement)||this.hide()}).bind(xe)),Ie.addEventListener("wheel",ae),xe}return _e.prototype.addToEditor=function(Ce){Ce.on("mousemove",this.onMouseMove),Ce.on("mousedown",this.hide);var xe=Ce.renderer.getMouseEventTarget();xe&&typeof xe.removeEventListener=="function"&&xe.addEventListener("mouseout",this.onMouseOut,!0)},_e.prototype.removeFromEditor=function(Ce){Ce.off("mousemove",this.onMouseMove),Ce.off("mousedown",this.hide);var xe=Ce.renderer.getMouseEventTarget();xe&&typeof xe.removeEventListener=="function"&&xe.removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},_e.prototype.onMouseMove=function(Ce,xe){this.lastEvent=Ce,this.lastT=Date.now();var Ie=xe.$mouseHandler.isMousePressed;if(this.isOpen){var Ne=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(Ne.row,Ne.column)||Ie||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||Ie||(this.lastEvent=Ce,this.timeout=setTimeout(this.waitForHover,this.idleTime))},_e.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var Ce=Date.now()-this.lastT;if(this.idleTime-Ce>10){this.timeout=setTimeout(this.waitForHover,this.idleTime-Ce);return}this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor)},_e.prototype.isOutsideOfText=function(Ce){var xe=Ce.editor,Ie=Ce.getDocumentPosition(),Ne=xe.session.getLine(Ie.row);if(Ie.column==Ne.length){var Oe=xe.renderer.pixelToScreenCoordinates(Ce.clientX,Ce.clientY),$e=xe.session.documentToScreenPosition(Ie.row,Ie.column);if($e.column!=Oe.column||$e.row!=Oe.row)return!0}return!1},_e.prototype.setDataProvider=function(Ce){this.$gatherData=Ce},_e.prototype.showForRange=function(Ce,xe,Ie,Ne){if(!(Ne&&Ne!=this.lastEvent)&&!(this.isOpen&&document.activeElement==this.getElement())){var Oe=Ce.renderer;this.isOpen||(de.addPopup(this),this.$registerCloseEvents(),this.setTheme(Oe.theme)),this.isOpen=!0,this.range=ie.fromPoints(xe.start,xe.end);var $e=Oe.textToScreenCoordinates(xe.start.row,xe.start.column),Ve=Oe.scroller.getBoundingClientRect();$e.pageX=he.length&&(he=void 0),{value:he&&he[Ce++],done:!he}}};throw new TypeError(pe?"Object is not iterable.":"Symbol.iterator is not defined.")},re=r("../lib/dom"),ie=r("./mouse_event").MouseEvent,ae=r("../tooltip").HoverTooltip,oe=r("../config").nls,le=r("../range").Range;function ue(he){var pe=he.editor,_e=pe.renderer.$gutterLayer;he.$tooltip=new de(pe),he.$tooltip.addToEditor(pe),he.$tooltip.setDataProvider(function(Ce,xe){var Ie=Ce.getDocumentPosition().row;he.$tooltip.showTooltip(Ie)}),he.editor.setDefaultHandler("guttermousedown",function(Ce){if(!(!pe.isFocused()||Ce.getButton()!=0)){var xe=_e.getRegion(Ce);if(xe!="foldWidgets"){var Ie=Ce.getDocumentPosition().row,Ne=pe.session.selection;if(Ce.getShiftKey())Ne.selectTo(Ie,0);else{if(Ce.domEvent.detail==2)return pe.selectAll(),Ce.preventDefault();he.$clickSelection=pe.selection.getLineRange(Ie)}return he.setState("selectByLines"),he.captureMouse(Ce),Ce.preventDefault()}}})}i.GutterHandler=ue;var de=function(he){$(pe,he);function pe(_e){var Ce=he.call(this,_e.container)||this;Ce.id="gt"+ ++pe.$uid,Ce.editor=_e,Ce.visibleTooltipRow;var xe=Ce.getElement();return xe.setAttribute("role","tooltip"),xe.setAttribute("id",Ce.id),xe.style.pointerEvents="auto",Ce.idleTime=50,Ce.onDomMouseMove=Ce.onDomMouseMove.bind(Ce),Ce.onDomMouseOut=Ce.onDomMouseOut.bind(Ce),Ce.setClassName("ace_gutter-tooltip"),Ce}return pe.prototype.onDomMouseMove=function(_e){var Ce=new ie(_e,this.editor);this.onMouseMove(Ce,this.editor)},pe.prototype.onDomMouseOut=function(_e){var Ce=new ie(_e,this.editor);this.onMouseOut(Ce)},pe.prototype.addToEditor=function(_e){var Ce=_e.renderer.$gutter;Ce.addEventListener("mousemove",this.onDomMouseMove),Ce.addEventListener("mouseout",this.onDomMouseOut),he.prototype.addToEditor.call(this,_e)},pe.prototype.removeFromEditor=function(_e){var Ce=_e.renderer.$gutter;Ce.removeEventListener("mousemove",this.onDomMouseMove),Ce.removeEventListener("mouseout",this.onDomMouseOut),he.prototype.removeFromEditor.call(this,_e)},pe.prototype.destroy=function(){this.editor&&this.removeFromEditor(this.editor),he.prototype.destroy.call(this)},Object.defineProperty(pe,"annotationLabels",{get:function(){return{error:{singular:oe("gutter-tooltip.aria-label.error.singular","error"),plural:oe("gutter-tooltip.aria-label.error.plural","errors")},security:{singular:oe("gutter-tooltip.aria-label.security.singular","security finding"),plural:oe("gutter-tooltip.aria-label.security.plural","security findings")},warning:{singular:oe("gutter-tooltip.aria-label.warning.singular","warning"),plural:oe("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:oe("gutter-tooltip.aria-label.info.singular","information message"),plural:oe("gutter-tooltip.aria-label.info.plural","information messages")},hint:{singular:oe("gutter-tooltip.aria-label.hint.singular","suggestion"),plural:oe("gutter-tooltip.aria-label.hint.plural","suggestions")}}},enumerable:!1,configurable:!0}),pe.prototype.showTooltip=function(_e){var Ce,xe=this.editor.renderer.$gutterLayer,Ie=xe.$annotations[_e],Ne;Ie?Ne={displayText:Array.from(Ie.displayText),type:Array.from(Ie.type)}:Ne={displayText:[],type:[]};var Oe=xe.session.getFoldLine(_e);if(Oe&&xe.$showFoldedAnnotations){for(var $e={error:[],security:[],warning:[],info:[],hint:[]},Ve={error:1,security:2,warning:3,info:4,hint:5},Ue,Fe=_e+1;Fe<=Oe.end.row;Fe++)if(xe.$annotations[Fe])for(var ze=0;ze2)return xe.childNodes[2]}},pe.prototype.$findCellByRow=function(_e){return this.editor.renderer.$gutterLayer.$lines.cells.find(function(Ce){return Ce.row===_e})},pe.prototype.hide=function(_e){if(this.isOpen){if(this.$element.removeAttribute("aria-live"),this.visibleTooltipRow!=null){var Ce=this.$findLinkedAnnotationNode(this.visibleTooltipRow);Ce&&Ce.removeAttribute("aria-describedby")}this.visibleTooltipRow=void 0,this.editor._signal("hideGutterTooltip",this),he.prototype.hide.call(this,_e)}},pe.annotationsToSummaryString=function(_e){var Ce,xe,Ie=[],Ne=["error","security","warning","info","hint"];try{for(var Oe=V(Ne),$e=Oe.next();!$e.done;$e=Oe.next()){var Ve=$e.value;if(_e[Ve].length){var Ue=_e[Ve].length===1?pe.annotationLabels[Ve].singular:pe.annotationLabels[Ve].plural;Ie.push("".concat(_e[Ve].length," ").concat(Ue))}}}catch(Fe){Ce={error:Fe}}finally{try{$e&&!$e.done&&(xe=Oe.return)&&xe.call(Oe)}finally{if(Ce)throw Ce.error}}return Ie.join(", ")},pe.prototype.isOutsideOfText=function(_e){var Ce=_e.editor,xe=Ce.renderer.$gutter.getBoundingClientRect();return!(_e.clientX>=xe.left&&_e.clientX<=xe.right&&_e.clientY>=xe.top&&_e.clientY<=xe.bottom)},pe}(ae);de.$uid=0,i.GutterTooltip=de}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(r,i,g){var $=r("../lib/dom"),V=r("../lib/event"),re=r("../lib/useragent"),ie=200,ae=200,oe=5;function le(de){var he=de.editor,pe=$.createElement("div");pe.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",pe.textContent=" ";var _e=["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"];_e.forEach(function(bn){de[bn]=this[bn]},this),he.on("mousedown",this.onMouseDown.bind(de));var Ce=he.container,xe,Ie,Ne,Oe,$e,Ve,Ue=0,Fe,ze,Pt,qe,Et;this.onDragStart=function(bn){if(this.cancelDrag||!Ce.draggable){var Cn=this;return setTimeout(function(){Cn.startSelect(),Cn.captureMouse(bn)},0),bn.preventDefault()}$e=he.getSelectionRange();var Sn=bn.dataTransfer;Sn.effectAllowed=he.getReadOnly()?"copy":"copyMove",he.container.appendChild(pe),Sn.setDragImage&&Sn.setDragImage(pe,0,0),setTimeout(function(){he.container.removeChild(pe)}),Sn.clearData(),Sn.setData("Text",he.session.getTextRange()),ze=!0,this.setState("drag")},this.onDragEnd=function(bn){if(Ce.draggable=!1,ze=!1,this.setState(null),!he.getReadOnly()){var Cn=bn.dataTransfer.dropEffect;!Fe&&Cn=="move"&&he.session.remove(he.getSelectionRange()),he.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(bn){if(!(he.getReadOnly()||!_n(bn.dataTransfer)))return Ie=bn.clientX,Ne=bn.clientY,xe||Lt(),Ue++,bn.dataTransfer.dropEffect=Fe=wn(bn),V.preventDefault(bn)},this.onDragOver=function(bn){if(!(he.getReadOnly()||!_n(bn.dataTransfer)))return Ie=bn.clientX,Ne=bn.clientY,xe||(Lt(),Ue++),hn!==null&&(hn=null),bn.dataTransfer.dropEffect=Fe=wn(bn),V.preventDefault(bn)},this.onDragLeave=function(bn){if(Ue--,Ue<=0&&xe)return jt(),Fe=null,V.preventDefault(bn)},this.onDrop=function(bn){if(Ve){var Cn=bn.dataTransfer;if(ze)switch(Fe){case"move":$e.contains(Ve.row,Ve.column)?$e={start:Ve,end:Ve}:$e=he.moveText($e,Ve);break;case"copy":$e=he.moveText($e,Ve,!0);break}else{var Sn=Cn.getData("Text");$e={start:Ve,end:he.session.insert(Ve,Sn)},he.focus(),Fe=null}return jt(),V.preventDefault(bn)}},V.addListener(Ce,"dragstart",this.onDragStart.bind(de),he),V.addListener(Ce,"dragend",this.onDragEnd.bind(de),he),V.addListener(Ce,"dragenter",this.onDragEnter.bind(de),he),V.addListener(Ce,"dragover",this.onDragOver.bind(de),he),V.addListener(Ce,"dragleave",this.onDragLeave.bind(de),he),V.addListener(Ce,"drop",this.onDrop.bind(de),he);function kt(bn,Cn){var Sn=Date.now(),Tn=!Cn||bn.row!=Cn.row,En=!Cn||bn.column!=Cn.column;if(!qe||Tn||En)he.moveCursorToPosition(bn),qe=Sn,Et={x:Ie,y:Ne};else{var kn=ue(Et.x,Et.y,Ie,Ne);kn>oe?qe=null:Sn-qe>=ae&&(he.renderer.scrollCursorIntoView(),qe=null)}}function At(bn,Cn){var Sn=Date.now(),Tn=he.renderer.layerConfig.lineHeight,En=he.renderer.layerConfig.characterWidth,kn=he.renderer.scroller.getBoundingClientRect(),$n={x:{left:Ie-kn.left,right:kn.right-Ie},y:{top:Ne-kn.top,bottom:kn.bottom-Ne}},An=Math.min($n.x.left,$n.x.right),xn=Math.min($n.y.top,$n.y.bottom),Ln={row:bn.row,column:bn.column};An/En<=2&&(Ln.column+=$n.x.left<$n.x.right?-3:2),xn/Tn<=1&&(Ln.row+=$n.y.top<$n.y.bottom?-1:1);var Nn=bn.row!=Ln.row,Pn=bn.column!=Ln.column,On=!Cn||bn.row!=Cn.row;Nn||Pn&&!On?Pt?Sn-Pt>=ie&&he.renderer.scrollCursorIntoView(Ln):Pt=Sn:Pt=null}function Dt(){var bn=Ve;Ve=he.renderer.screenToTextCoordinates(Ie,Ne),kt(Ve,bn),At(Ve,bn)}function Lt(){$e=he.selection.toOrientedRange(),xe=he.session.addMarker($e,"ace_selection",he.getSelectionStyle()),he.clearSelection(),he.isFocused()&&he.renderer.$cursorLayer.setBlinking(!1),clearInterval(Oe),Dt(),Oe=setInterval(Dt,20),Ue=0,V.addListener(document,"mousemove",vn)}function jt(){clearInterval(Oe),he.session.removeMarker(xe),xe=null,he.selection.fromOrientedRange($e),he.isFocused()&&!ze&&he.$resetCursorStyle(),$e=null,Ve=null,Ue=0,Pt=null,qe=null,V.removeListener(document,"mousemove",vn)}var hn=null;function vn(){hn==null&&(hn=setTimeout(function(){hn!=null&&xe&&jt()},20))}function _n(bn){var Cn=bn.types;return!Cn||Array.prototype.some.call(Cn,function(Sn){return Sn=="text/plain"||Sn=="Text"})}function wn(bn){var Cn=["copy","copymove","all","uninitialized"],Sn=["move","copymove","linkmove","all","uninitialized"],Tn=re.isMac?bn.altKey:bn.ctrlKey,En="uninitialized";try{En=bn.dataTransfer.effectAllowed.toLowerCase()}catch{}var kn="none";return Tn&&Cn.indexOf(En)>=0?kn="copy":Sn.indexOf(En)>=0?kn="move":Cn.indexOf(En)>=0&&(kn="copy"),kn}}(function(){this.dragWait=function(){var de=Date.now()-this.mousedownEvent.time;de>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var de=this.editor.container;de.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(de){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var de=this.editor,he=de.container;he.draggable=!0,de.renderer.$cursorLayer.setBlinking(!1),de.setStyle("ace_dragging");var pe=re.isWin?"default":"move";de.renderer.setCursorStyle(pe),this.setState("dragReady")},this.onMouseDrag=function(de){var he=this.editor.container;if(re.isIE&&this.state=="dragReady"){var pe=ue(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);pe>3&&he.dragDrop()}if(this.state==="dragWait"){var pe=ue(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);pe>0&&(he.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(de){if(this.$dragEnabled){this.mousedownEvent=de;var he=this.editor,pe=de.inSelection(),_e=de.getButton(),Ce=de.domEvent.detail||1;if(Ce===1&&_e===0&&pe){if(de.editor.inMultiSelectMode&&(de.getAccelKey()||de.getShiftKey()))return;this.mousedownEvent.time=Date.now();var xe=de.domEvent.target||de.domEvent.srcElement;if("unselectable"in xe&&(xe.unselectable="on"),he.getDragDelay()){if(re.isWebKit){this.cancelDrag=!0;var Ie=he.container;Ie.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(de,this.onMouseDrag.bind(this)),de.defaultPrevented=!0}}}}).call(le.prototype);function ue(de,he,pe,_e){return Math.sqrt(Math.pow(pe-de,2)+Math.pow(_e-he,2))}i.DragdropHandler=le}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(r,i,g){var $=r("./mouse_event").MouseEvent,V=r("../lib/event"),re=r("../lib/dom");i.addTouchListeners=function(ie,ae){var oe="scroll",le,ue,de,he,pe,_e,Ce=0,xe,Ie=0,Ne=0,Oe=0,$e,Ve;function Ue(){var kt=window.navigator&&window.navigator.clipboard,At=!1,Dt=function(){var hn=ae.getCopyText(),vn=ae.session.getUndoManager().hasUndo();Ve.replaceChild(re.buildDom(At?["span",!hn&&Lt("selectall")&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],hn&&Lt("copy")&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],hn&&Lt("cut")&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],kt&&Lt("paste")&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],vn&&Lt("undo")&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],Lt("find")&&["span",{class:"ace_mobile-button",action:"find"},"Find"],Lt("openCommandPalette")&&["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),Ve.firstChild)},Lt=function(hn){return ae.commands.canExecute(hn,ae)},jt=function(hn){var vn=hn.target.getAttribute("action");if(vn=="more"||!At)return At=!At,Dt();vn=="paste"?kt.readText().then(function(_n){ae.execCommand(vn,_n)}):vn&&((vn=="cut"||vn=="copy")&&(kt?kt.writeText(ae.getCopyText()):document.execCommand("copy")),ae.execCommand(vn)),Ve.firstChild.style.display="none",At=!1,vn!="openCommandPalette"&&ae.focus()};Ve=re.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(hn){oe="menu",hn.stopPropagation(),hn.preventDefault(),ae.textInput.focus()},ontouchend:function(hn){hn.stopPropagation(),hn.preventDefault(),jt(hn)},onclick:jt},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],ae.container)}function Fe(){if(!ae.getOption("enableMobileMenu")){Ve&&ze();return}Ve||Ue();var kt=ae.selection.cursor,At=ae.renderer.textToScreenCoordinates(kt.row,kt.column),Dt=ae.renderer.textToScreenCoordinates(0,0).pageX,Lt=ae.renderer.scrollLeft,jt=ae.container.getBoundingClientRect();Ve.style.top=At.pageY-jt.top-3+"px",At.pageX-jt.left=2?ae.selection.getLineRange(xe.row):ae.session.getBracketRange(xe);kt&&!kt.isEmpty()?ae.selection.setRange(kt):ae.selection.selectWord(),oe="wait"}V.addListener(ie,"contextmenu",function(kt){if($e){var At=ae.textInput.getElement();At.focus()}},ae),V.addListener(ie,"touchstart",function(kt){var At=kt.touches;if(pe||At.length>1){clearTimeout(pe),pe=null,de=-1,oe="zoom";return}$e=ae.$mouseHandler.isMousePressed=!0;var Dt=ae.renderer.layerConfig.lineHeight,Lt=ae.renderer.layerConfig.lineHeight,jt=kt.timeStamp;he=jt;var hn=At[0],vn=hn.clientX,_n=hn.clientY;Math.abs(le-vn)+Math.abs(ue-_n)>Dt&&(de=-1),le=kt.clientX=vn,ue=kt.clientY=_n,Ne=Oe=0;var wn=new $(kt,ae);if(xe=wn.getDocumentPosition(),jt-de<500&&At.length==1&&!Ce)Ie++,kt.preventDefault(),kt.button=0,qe();else{Ie=0;var bn=ae.selection.cursor,Cn=ae.selection.isEmpty()?bn:ae.selection.anchor,Sn=ae.renderer.$cursorLayer.getPixelPosition(bn,!0),Tn=ae.renderer.$cursorLayer.getPixelPosition(Cn,!0),En=ae.renderer.scroller.getBoundingClientRect(),kn=ae.renderer.layerConfig.offset,$n=ae.renderer.scrollLeft,An=function(Nn,Pn){return Nn=Nn/Lt,Pn=Pn/Dt-.75,Nn*Nn+Pn*Pn};if(kt.clientXLn?"cursor":"anchor"),Ln<3.5?oe="anchor":xn<3.5?oe="cursor":oe="scroll",pe=setTimeout(Pt,450)}de=jt},ae),V.addListener(ie,"touchend",function(kt){$e=ae.$mouseHandler.isMousePressed=!1,_e&&clearInterval(_e),oe=="zoom"?(oe="",Ce=0):pe?(ae.selection.moveToPosition(xe),Ce=0,Fe()):oe=="scroll"?(Et(),ze()):Fe(),clearTimeout(pe),pe=null},ae),V.addListener(ie,"touchmove",function(kt){pe&&(clearTimeout(pe),pe=null);var At=kt.touches;if(!(At.length>1||oe=="zoom")){var Dt=At[0],Lt=le-Dt.clientX,jt=ue-Dt.clientY;if(oe=="wait")if(Lt*Lt+jt*jt>4)oe="cursor";else return kt.preventDefault();le=Dt.clientX,ue=Dt.clientY,kt.clientX=Dt.clientX,kt.clientY=Dt.clientY;var hn=kt.timeStamp,vn=hn-he;if(he=hn,oe=="scroll"){var _n=new $(kt,ae);_n.speed=1,_n.wheelX=Lt,_n.wheelY=jt,10*Math.abs(Lt)0)if(Ln==16){for(On=Pn;On-1){for(On=Pn;On=0&&Tn[In]==$e;In--)Cn[In]=$}}}function vn(bn,Cn,Sn){if(!(V=bn){for(kn=En+1;kn=bn;)kn++;for($n=En,An=kn-1;$n=Cn.length||(kn=Sn[Tn-1])!=_e&&kn!=Ce||($n=Cn[Tn+1])!=_e&&$n!=Ce?xe:(re&&($n=Ce),$n==kn?$n:xe);case Ue:return kn=Tn>0?Sn[Tn-1]:Ie,kn==_e&&Tn+10&&Sn[Tn-1]==_e)return _e;if(re)return xe;for(xn=Tn+1,An=Cn.length;xn=1425&&Ln<=2303||Ln==64286;if(kn=Cn[xn],Nn&&(kn==pe||kn==Oe))return pe}return Tn<1||(kn=Cn[Tn-1])==Ie?xe:Sn[Tn-1];case Ie:return re=!1,ie=!0,$;case Ne:return ae=!0,xe;case Pt:case qe:case kt:case At:case Et:re=!1;case Dt:return xe}}function wn(bn){var Cn=bn.charCodeAt(0),Sn=Cn>>8;return Sn==0?Cn>191?he:Lt[Cn]:Sn==5?/[\u0591-\u05f4]/.test(bn)?pe:he:Sn==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(bn)?ze:/[\u0660-\u0669\u066b-\u066c]/.test(bn)?Ce:Cn==1642?Fe:/[\u06f0-\u06f9]/.test(bn)?_e:Oe:Sn==32&&Cn<=8287?jt[Cn&255]:Sn==254&&Cn>=65136?Oe:xe}i.L=he,i.R=pe,i.EN=_e,i.ON_R=3,i.AN=4,i.R_H=5,i.B=6,i.RLE=7,i.DOT="·",i.doBidiReorder=function(bn,Cn,Sn){if(bn.length<2)return{};var Tn=bn.split(""),En=new Array(Tn.length),kn=new Array(Tn.length),$n=[];$=Sn?de:ue,hn(Tn,$n,Tn.length,Cn);for(var An=0;AnOe&&Cn[An]0&&Tn[An-1]==="ل"&&/\u0622|\u0623|\u0625|\u0627/.test(Tn[An])&&($n[An-1]=$n[An]=i.R_H,An++);Tn[Tn.length-1]===i.DOT&&($n[Tn.length-1]=i.B),Tn[0]==="‫"&&($n[0]=i.RLE);for(var An=0;An=0&&(oe=this.session.$docRowCache[ue])}return oe},ae.prototype.getSplitIndex=function(){var oe=0,le=this.session.$screenRowCache;if(le.length)for(var ue,de=this.session.$getRowCacheIndex(le,this.currentRow);this.currentRow-oe>0&&(ue=this.session.$getRowCacheIndex(le,this.currentRow-oe-1),ue===de);)de=ue,oe++;else oe=this.currentRow;return oe},ae.prototype.updateRowLine=function(oe,le){oe===void 0&&(oe=this.getDocumentRow());var ue=oe===this.session.getLength()-1,de=ue?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(oe),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var he=this.session.$wrapData[oe];he&&(le===void 0&&(le=this.getSplitIndex()),le>0&&he.length?(this.wrapIndent=he.indent,this.wrapOffset=this.wrapIndent*this.charWidths[$.L],this.line=lele?this.session.getOverwrite()?oe:oe-1:le,de=$.getVisualFromLogicalIdx(ue,this.bidiMap),he=this.bidiMap.bidiLevels,pe=0;!this.session.getOverwrite()&&oe<=le&&he[de]%2!==0&&de++;for(var _e=0;_ele&&he[de]%2===0&&(pe+=this.charWidths[he[de]]),this.wrapIndent&&(pe+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(pe+=this.rtlLineOffset),pe},ae.prototype.getSelections=function(oe,le){var ue=this.bidiMap,de=ue.bidiLevels,he,pe=[],_e=0,Ce=Math.min(oe,le)-this.wrapIndent,xe=Math.max(oe,le)-this.wrapIndent,Ie=!1,Ne=!1,Oe=0;this.wrapIndent&&(_e+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var $e,Ve=0;Ve=Ce&&$ede+_e/2;){if(de+=_e,he===pe.length-1){_e=0;break}_e=this.charWidths[pe[++he]]}return he>0&&pe[he-1]%2!==0&&pe[he]%2===0?(ue0&&pe[he-1]%2===0&&pe[he]%2!==0?le=1+(ue>de?this.bidiMap.logicalFromVisual[he]:this.bidiMap.logicalFromVisual[he-1]):this.isRtlDir&&he===pe.length-1&&_e===0&&pe[he-1]%2===0||!this.isRtlDir&&he===0&&pe[he]%2!==0?le=1+this.bidiMap.logicalFromVisual[he]:(he>0&&pe[he-1]%2!==0&&_e!==0&&he--,le=this.bidiMap.logicalFromVisual[he]),le===0&&this.isRtlDir&&le++,le+this.wrapIndent},ae}();i.BidiHandler=ie}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(r,i,g){var $=r("./lib/oop"),V=r("./lib/lang"),re=r("./lib/event_emitter").EventEmitter,ie=r("./range").Range,ae=function(){function oe(le){this.session=le,this.doc=le.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var ue=this;this.cursor.on("change",function(de){ue.$cursorChanged=!0,ue.$silent||ue._emit("changeCursor"),!ue.$isEmpty&&!ue.$silent&&ue._emit("changeSelection"),!ue.$keepDesiredColumnOnChange&&de.old.column!=de.value.column&&(ue.$desiredColumn=null)}),this.anchor.on("change",function(){ue.$anchorChanged=!0,!ue.$isEmpty&&!ue.$silent&&ue._emit("changeSelection")})}return oe.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},oe.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},oe.prototype.getCursor=function(){return this.lead.getPosition()},oe.prototype.setAnchor=function(le,ue){this.$isEmpty=!1,this.anchor.setPosition(le,ue)},oe.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},oe.prototype.getSelectionLead=function(){return this.lead.getPosition()},oe.prototype.isBackwards=function(){var le=this.anchor,ue=this.lead;return le.row>ue.row||le.row==ue.row&&le.column>ue.column},oe.prototype.getRange=function(){var le=this.anchor,ue=this.lead;return this.$isEmpty?ie.fromPoints(ue,ue):this.isBackwards()?ie.fromPoints(ue,le):ie.fromPoints(le,ue)},oe.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},oe.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},oe.prototype.setRange=function(le,ue){var de=ue?le.end:le.start,he=ue?le.start:le.end;this.$setSelection(de.row,de.column,he.row,he.column)},oe.prototype.$setSelection=function(le,ue,de,he){if(!this.$silent){var pe=this.$isEmpty,_e=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(le,ue),this.cursor.setPosition(de,he),this.$isEmpty=!ie.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||pe!=this.$isEmpty||_e)&&this._emit("changeSelection")}},oe.prototype.$moveSelection=function(le){var ue=this.lead;this.$isEmpty&&this.setSelectionAnchor(ue.row,ue.column),le.call(this)},oe.prototype.selectTo=function(le,ue){this.$moveSelection(function(){this.moveCursorTo(le,ue)})},oe.prototype.selectToPosition=function(le){this.$moveSelection(function(){this.moveCursorToPosition(le)})},oe.prototype.moveTo=function(le,ue){this.clearSelection(),this.moveCursorTo(le,ue)},oe.prototype.moveToPosition=function(le){this.clearSelection(),this.moveCursorToPosition(le)},oe.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},oe.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},oe.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},oe.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},oe.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},oe.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},oe.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},oe.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},oe.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},oe.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},oe.prototype.getWordRange=function(le,ue){if(typeof ue>"u"){var de=le||this.lead;le=de.row,ue=de.column}return this.session.getWordRange(le,ue)},oe.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},oe.prototype.selectAWord=function(){var le=this.getCursor(),ue=this.session.getAWordRange(le.row,le.column);this.setSelectionRange(ue)},oe.prototype.getLineRange=function(le,ue){var de=typeof le=="number"?le:this.lead.row,he,pe=this.session.getFoldLine(de);return pe?(de=pe.start.row,he=pe.end.row):he=de,ue===!0?new ie(de,0,he,this.session.getLine(he).length):new ie(de,0,he+1,0)},oe.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},oe.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},oe.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},oe.prototype.wouldMoveIntoSoftTab=function(le,ue,de){var he=le.column,pe=le.column+ue;return de<0&&(he=le.column-ue,pe=le.column),this.session.isTabStop(le)&&this.doc.getLine(le.row).slice(he,pe).split(" ").length-1==ue},oe.prototype.moveCursorLeft=function(){var le=this.lead.getPosition(),ue;if(ue=this.session.getFoldAt(le.row,le.column,-1))this.moveCursorTo(ue.start.row,ue.start.column);else if(le.column===0)le.row>0&&this.moveCursorTo(le.row-1,this.doc.getLine(le.row-1).length);else{var de=this.session.getTabSize();this.wouldMoveIntoSoftTab(le,de,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-de):this.moveCursorBy(0,-1)}},oe.prototype.moveCursorRight=function(){var le=this.lead.getPosition(),ue;if(ue=this.session.getFoldAt(le.row,le.column,1))this.moveCursorTo(ue.end.row,ue.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(ue.column=he)}}this.moveCursorTo(ue.row,ue.column)},oe.prototype.moveCursorFileEnd=function(){var le=this.doc.getLength()-1,ue=this.doc.getLine(le).length;this.moveCursorTo(le,ue)},oe.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},oe.prototype.moveCursorLongWordRight=function(){var le=this.lead.row,ue=this.lead.column,de=this.doc.getLine(le),he=de.substring(ue);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var pe=this.session.getFoldAt(le,ue,1);if(pe){this.moveCursorTo(pe.end.row,pe.end.column);return}if(this.session.nonTokenRe.exec(he)&&(ue+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,he=de.substring(ue)),ue>=de.length){this.moveCursorTo(le,de.length),this.moveCursorRight(),le0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(pe)&&(ue-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(le,ue)},oe.prototype.$shortWordEndIndex=function(le){var ue=0,de,he=/\s/,pe=this.session.tokenRe;if(pe.lastIndex=0,this.session.tokenRe.exec(le))ue=this.session.tokenRe.lastIndex;else{for(;(de=le[ue])&&he.test(de);)ue++;if(ue<1){for(pe.lastIndex=0;(de=le[ue])&&!pe.test(de);)if(pe.lastIndex=0,ue++,he.test(de))if(ue>2){ue--;break}else{for(;(de=le[ue])&&he.test(de);)ue++;if(ue>2)break}}}return pe.lastIndex=0,ue},oe.prototype.moveCursorShortWordRight=function(){var le=this.lead.row,ue=this.lead.column,de=this.doc.getLine(le),he=de.substring(ue),pe=this.session.getFoldAt(le,ue,1);if(pe)return this.moveCursorTo(pe.end.row,pe.end.column);if(ue==de.length){var _e=this.doc.getLength();do le++,he=this.doc.getLine(le);while(le<_e&&/^\s*$/.test(he));/^\s+/.test(he)||(he=""),ue=0}var Ce=this.$shortWordEndIndex(he);this.moveCursorTo(le,ue+Ce)},oe.prototype.moveCursorShortWordLeft=function(){var le=this.lead.row,ue=this.lead.column,de;if(de=this.session.getFoldAt(le,ue,-1))return this.moveCursorTo(de.start.row,de.start.column);var he=this.session.getLine(le).substring(0,ue);if(ue===0){do le--,he=this.doc.getLine(le);while(le>0&&/^\s*$/.test(he));ue=he.length,/\s+$/.test(he)||(he="")}var pe=V.stringReverse(he),_e=this.$shortWordEndIndex(pe);return this.moveCursorTo(le,ue-_e)},oe.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},oe.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},oe.prototype.moveCursorBy=function(le,ue){var de=this.session.documentToScreenPosition(this.lead.row,this.lead.column),he;if(ue===0&&(le!==0&&(this.session.$bidiHandler.isBidiRow(de.row,this.lead.row)?(he=this.session.$bidiHandler.getPosLeft(de.column),de.column=Math.round(he/this.session.$bidiHandler.charWidths[0])):he=de.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?de.column=this.$desiredColumn:this.$desiredColumn=de.column),le!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var pe=this.session.lineWidgets[this.lead.row];le<0?le-=pe.rowsAbove||0:le>0&&(le+=pe.rowCount-(pe.rowsAbove||0))}var _e=this.session.screenToDocumentPosition(de.row+le,de.column,he);le!==0&&ue===0&&_e.row===this.lead.row&&(_e.column,this.lead.column),this.moveCursorTo(_e.row,_e.column+ue,ue===0)},oe.prototype.moveCursorToPosition=function(le){this.moveCursorTo(le.row,le.column)},oe.prototype.moveCursorTo=function(le,ue,de){var he=this.session.getFoldAt(le,ue,1);he&&(le=he.start.row,ue=he.start.column),this.$keepDesiredColumnOnChange=!0;var pe=this.session.getLine(le);/[\uDC00-\uDFFF]/.test(pe.charAt(ue))&&pe.charAt(ue-1)&&(this.lead.row==le&&this.lead.column==ue+1?ue=ue-1:ue=ue+1),this.lead.setPosition(le,ue),this.$keepDesiredColumnOnChange=!1,de||(this.$desiredColumn=null)},oe.prototype.moveCursorToScreen=function(le,ue,de){var he=this.session.screenToDocumentPosition(le,ue);this.moveCursorTo(he.row,he.column,de)},oe.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},oe.prototype.fromOrientedRange=function(le){this.setSelectionRange(le,le.cursor==le.start),this.$desiredColumn=le.desiredColumn||this.$desiredColumn},oe.prototype.toOrientedRange=function(le){var ue=this.getRange();return le?(le.start.column=ue.start.column,le.start.row=ue.start.row,le.end.column=ue.end.column,le.end.row=ue.end.row):le=ue,le.cursor=this.isBackwards()?le.start:le.end,le.desiredColumn=this.$desiredColumn,le},oe.prototype.getRangeOfMovements=function(le){var ue=this.getCursor();try{le(this);var de=this.getCursor();return ie.fromPoints(ue,de)}catch{return ie.fromPoints(ue,ue)}finally{this.moveCursorToPosition(ue)}},oe.prototype.toJSON=function(){if(this.rangeCount)var le=this.ranges.map(function(ue){var de=ue.clone();return de.isBackwards=ue.cursor==ue.start,de});else{var le=this.getRange();le.isBackwards=this.isBackwards()}return le},oe.prototype.fromJSON=function(le){if(le.start==null)if(this.rangeList&&le.length>1){this.toSingleRange(le[0]);for(var ue=le.length;ue--;){var de=ie.fromPoints(le[ue].start,le[ue].end);le[ue].isBackwards&&(de.cursor=de.start),this.addRange(de,!0)}return}else le=le[0];this.rangeList&&this.toSingleRange(le),this.setSelectionRange(le,le.isBackwards)},oe.prototype.isEqual=function(le){if((le.length||this.rangeCount)&&le.length!=this.rangeCount)return!1;if(!le.length||!this.ranges)return this.getRange().isEqual(le);for(var ue=this.ranges.length;ue--;)if(!this.ranges[ue].isEqual(le[ue]))return!1;return!0},oe}();ae.prototype.setSelectionAnchor=ae.prototype.setAnchor,ae.prototype.getSelectionAnchor=ae.prototype.getAnchor,ae.prototype.setSelectionRange=ae.prototype.setRange,$.implement(ae.prototype,re),i.Selection=ae}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(r,i,g){var $=r("./lib/report_error").reportError,V=2e3,re=function(){function ie(ae){this.splitRegex,this.states=ae,this.regExps={},this.matchMappings={};for(var oe in this.states){for(var le=this.states[oe],ue=[],de=0,he=this.matchMappings[oe]={defaultToken:"text"},pe="g",_e=[],Ce=0;Ce1?xe.onMatch=this.$applyToken:xe.onMatch=xe.token),Ne>1&&(/\\\d/.test(xe.regex)?Ie=xe.regex.replace(/\\([0-9]+)/g,function(Oe,$e){return"\\"+(parseInt($e,10)+de+1)}):(Ne=1,Ie=this.removeCapturingGroups(xe.regex)),!xe.splitRegex&&typeof xe.token!="string"&&_e.push(xe)),he[de]=Ce,de+=Ne,ue.push(Ie),xe.onMatch||(xe.onMatch=null)}}ue.length||(he[0]=0,ue.push("$")),_e.forEach(function(Oe){Oe.splitRegex=this.createSplitterRegexp(Oe.regex,pe)},this),this.regExps[oe]=new RegExp("("+ue.join(")|(")+")|($)",pe)}}return ie.prototype.$setMaxTokenCount=function(ae){V=ae|0},ie.prototype.$applyToken=function(ae){var oe=this.splitRegex.exec(ae).slice(1),le=this.token.apply(this,oe);if(typeof le=="string")return[{type:le,value:ae}];for(var ue=[],de=0,he=le.length;dexe){var Fe=ae.substring(xe,Ue-Ve.length);Ne.type==Oe?Ne.value+=Fe:(Ne.type&&Ce.push(Ne),Ne={type:Oe,value:Fe})}for(var ze=0;ze<_e.length-2;ze++)if(_e[ze+1]!==void 0){$e=de[he[ze]],$e.onMatch?Oe=$e.onMatch(Ve,ue,le,ae):Oe=$e.token,$e.next&&(typeof $e.next=="string"?ue=$e.next:ue=$e.next(ue,le),de=this.states[ue],de||(this.reportError("state doesn't exist",ue),ue="start",de=this.states[ue]),he=this.matchMappings[ue],xe=Ue,pe=this.regExps[ue],pe.lastIndex=Ue),$e.consumeLineEnd&&(xe=Ue);break}if(Ve){if(typeof Oe=="string")(!$e||$e.merge!==!1)&&Ne.type===Oe?Ne.value+=Ve:(Ne.type&&Ce.push(Ne),Ne={type:Oe,value:Ve});else if(Oe){Ne.type&&Ce.push(Ne),Ne={type:null,value:""};for(var ze=0;zeV){for(Ie>2*ae.length&&this.reportError("infinite loop with in ace tokenizer",{startState:oe,line:ae});xe1&&le[0]!==ue&&le.unshift("#tmp",ue),{tokens:Ce,state:le.length?le:ue}},ie}();re.prototype.reportError=$,i.Tokenizer=re}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(r,i,g){var $=r("../lib/deep_copy").deepCopy,V;V=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}},(function(){this.addRules=function(ae,oe){if(!oe){for(var le in ae)this.$rules[le]=ae[le];return}for(var le in ae){for(var ue=ae[le],de=0;de=this.$rowTokens.length;){if(this.$row+=1,ie||(ie=this.$session.getLength()),this.$row>=ie)return this.$row=ie-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},re.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},re.prototype.getCurrentTokenRow=function(){return this.$row},re.prototype.getCurrentTokenColumn=function(){var ie=this.$rowTokens,ae=this.$tokenIndex,oe=ie[ae].start;if(oe!==void 0)return oe;for(oe=0;ae>0;)ae-=1,oe+=ie[ae].value.length;return oe},re.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},re.prototype.getCurrentTokenRange=function(){var ie=this.$rowTokens[this.$tokenIndex],ae=this.getCurrentTokenColumn();return new $(this.$row,ae,this.$row,ae+ie.value.length)},re}();i.TokenIterator=V}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(r,i,g){var $=r("../../lib/oop"),V=r("../behaviour").Behaviour,re=r("../../token_iterator").TokenIterator,ie=r("../../lib/lang"),ae=["text","paren.rparen","rparen","paren","punctuation.operator"],oe=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],le,ue={},de={'"':'"',"'":"'"},he=function(Ce){var xe=-1;if(Ce.multiSelect&&(xe=Ce.selection.index,ue.rangeCount!=Ce.multiSelect.rangeCount&&(ue={rangeCount:Ce.multiSelect.rangeCount})),ue[xe])return le=ue[xe];le=ue[xe]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},pe=function(Ce,xe,Ie,Ne){var Oe=Ce.end.row-Ce.start.row;return{text:Ie+xe+Ne,selection:[0,Ce.start.column+1,Oe,Ce.end.column+(Oe?0:1)]}},_e;_e=function(Ce){Ce=Ce||{},this.add("braces","insertion",function(xe,Ie,Ne,Oe,$e){var Ve=Ne.getCursorPosition(),Ue=Oe.doc.getLine(Ve.row);if($e=="{"){he(Ne);var Fe=Ne.getSelectionRange(),ze=Oe.doc.getTextRange(Fe),Pt=Oe.getTokenAt(Ve.row,Ve.column);if(ze!==""&&ze!=="{"&&Ne.getWrapBehavioursEnabled())return pe(Fe,ze,"{","}");if(Pt&&/(?:string)\.quasi|\.xml/.test(Pt.type)){var qe=[/tag\-(?:open|name)/,/attribute\-name/];return qe.some(function(hn){return hn.test(Pt.type)})||/(string)\.quasi/.test(Pt.type)&&Pt.value[Ve.column-Pt.start-1]!=="$"?void 0:(_e.recordAutoInsert(Ne,Oe,"}"),{text:"{}",selection:[1,1]})}else if(_e.isSaneInsertion(Ne,Oe))return/[\]\}\)]/.test(Ue[Ve.column])||Ne.inMultiSelectMode||Ce.braces?(_e.recordAutoInsert(Ne,Oe,"}"),{text:"{}",selection:[1,1]}):(_e.recordMaybeInsert(Ne,Oe,"{"),{text:"{",selection:[1,1]})}else if($e=="}"){he(Ne);var Et=Ue.substring(Ve.column,Ve.column+1);if(Et=="}"){var kt=Oe.$findOpeningBracket("}",{column:Ve.column+1,row:Ve.row});if(kt!==null&&_e.isAutoInsertedClosing(Ve,Ue,$e))return _e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}else if($e==` -`||$e==`\r -`){he(Ne);var At="";_e.isMaybeInsertedClosing(Ve,Ue)&&(At=ie.stringRepeat("}",le.maybeInsertedBrackets),_e.clearMaybeInsertedClosing());var Et=Ue.substring(Ve.column,Ve.column+1);if(Et==="}"){var Dt=Oe.findMatchingBracket({row:Ve.row,column:Ve.column+1},"}");if(!Dt)return null;var Lt=this.$getIndent(Oe.getLine(Dt.row))}else if(At)var Lt=this.$getIndent(Ue);else{_e.clearMaybeInsertedClosing();return}var jt=Lt+Oe.getTabString();return{text:` -`+jt+` -`+Lt+At,selection:[1,jt.length,1,jt.length]}}else _e.clearMaybeInsertedClosing()}),this.add("braces","deletion",function(xe,Ie,Ne,Oe,$e){var Ve=Oe.doc.getTextRange($e);if(!$e.isMultiLine()&&Ve=="{"){he(Ne);var Ue=Oe.doc.getLine($e.start.row),Fe=Ue.substring($e.end.column,$e.end.column+1);if(Fe=="}")return $e.end.column++,$e;le.maybeInsertedBrackets--}}),this.add("parens","insertion",function(xe,Ie,Ne,Oe,$e){if($e=="("){he(Ne);var Ve=Ne.getSelectionRange(),Ue=Oe.doc.getTextRange(Ve);if(Ue!==""&&Ne.getWrapBehavioursEnabled())return pe(Ve,Ue,"(",")");if(_e.isSaneInsertion(Ne,Oe))return _e.recordAutoInsert(Ne,Oe,")"),{text:"()",selection:[1,1]}}else if($e==")"){he(Ne);var Fe=Ne.getCursorPosition(),ze=Oe.doc.getLine(Fe.row),Pt=ze.substring(Fe.column,Fe.column+1);if(Pt==")"){var qe=Oe.$findOpeningBracket(")",{column:Fe.column+1,row:Fe.row});if(qe!==null&&_e.isAutoInsertedClosing(Fe,ze,$e))return _e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("parens","deletion",function(xe,Ie,Ne,Oe,$e){var Ve=Oe.doc.getTextRange($e);if(!$e.isMultiLine()&&Ve=="("){he(Ne);var Ue=Oe.doc.getLine($e.start.row),Fe=Ue.substring($e.start.column+1,$e.start.column+2);if(Fe==")")return $e.end.column++,$e}}),this.add("brackets","insertion",function(xe,Ie,Ne,Oe,$e){if($e=="["){he(Ne);var Ve=Ne.getSelectionRange(),Ue=Oe.doc.getTextRange(Ve);if(Ue!==""&&Ne.getWrapBehavioursEnabled())return pe(Ve,Ue,"[","]");if(_e.isSaneInsertion(Ne,Oe))return _e.recordAutoInsert(Ne,Oe,"]"),{text:"[]",selection:[1,1]}}else if($e=="]"){he(Ne);var Fe=Ne.getCursorPosition(),ze=Oe.doc.getLine(Fe.row),Pt=ze.substring(Fe.column,Fe.column+1);if(Pt=="]"){var qe=Oe.$findOpeningBracket("]",{column:Fe.column+1,row:Fe.row});if(qe!==null&&_e.isAutoInsertedClosing(Fe,ze,$e))return _e.popAutoInsertedClosing(),{text:"",selection:[1,1]}}}}),this.add("brackets","deletion",function(xe,Ie,Ne,Oe,$e){var Ve=Oe.doc.getTextRange($e);if(!$e.isMultiLine()&&Ve=="["){he(Ne);var Ue=Oe.doc.getLine($e.start.row),Fe=Ue.substring($e.start.column+1,$e.start.column+2);if(Fe=="]")return $e.end.column++,$e}}),this.add("string_dquotes","insertion",function(xe,Ie,Ne,Oe,$e){var Ve=Oe.$mode.$quotes||de;if($e.length==1&&Ve[$e]){if(this.lineCommentStart&&this.lineCommentStart.indexOf($e)!=-1)return;he(Ne);var Ue=$e,Fe=Ne.getSelectionRange(),ze=Oe.doc.getTextRange(Fe);if(ze!==""&&(ze.length!=1||!Ve[ze])&&Ne.getWrapBehavioursEnabled())return pe(Fe,ze,Ue,Ue);if(!ze){var Pt=Ne.getCursorPosition(),qe=Oe.doc.getLine(Pt.row),Et=qe.substring(Pt.column-1,Pt.column),kt=qe.substring(Pt.column,Pt.column+1),At=Oe.getTokenAt(Pt.row,Pt.column),Dt=Oe.getTokenAt(Pt.row,Pt.column+1);if(Et=="\\"&&At&&/escape/.test(At.type))return null;var Lt=At&&/string|escape/.test(At.type),jt=!Dt||/string|escape/.test(Dt.type),hn;if(kt==Ue)hn=Lt!==jt,hn&&/string\.end/.test(Dt.type)&&(hn=!1);else{if(Lt&&!jt||Lt&&jt)return null;var vn=Oe.$mode.tokenRe;vn.lastIndex=0;var _n=vn.test(Et);vn.lastIndex=0;var wn=vn.test(kt),bn=Oe.$mode.$pairQuotesAfter,Cn=bn&&bn[Ue]&&bn[Ue].test(Et);if(!Cn&&_n||wn||kt&&!/[\s;,.})\]\\]/.test(kt))return null;var Sn=qe[Pt.column-2];if(Et==Ue&&(Sn==Ue||vn.test(Sn)))return null;hn=!0}return{text:hn?Ue+Ue:"",selection:[1,1]}}}}),this.add("string_dquotes","deletion",function(xe,Ie,Ne,Oe,$e){var Ve=Oe.$mode.$quotes||de,Ue=Oe.doc.getTextRange($e);if(!$e.isMultiLine()&&Ve.hasOwnProperty(Ue)){he(Ne);var Fe=Oe.doc.getLine($e.start.row),ze=Fe.substring($e.start.column+1,$e.start.column+2);if(ze==Ue)return $e.end.column++,$e}}),Ce.closeDocComment!==!1&&this.add("doc comment end","insertion",function(xe,Ie,Ne,Oe,$e){if(xe==="doc-start"&&($e===` -`||$e===`\r -`)&&Ne.selection.isEmpty()){var Ve=Ne.getCursorPosition();if(Ve.column===0)return;for(var Ue=Oe.doc.getLine(Ve.row),Fe=Oe.doc.getLine(Ve.row+1),ze=Oe.getTokens(Ve.row),Pt=0,qe=0;qe=Ve.column){if(Pt===Ve.column){if(!/\.doc/.test(Et.type))return;if(/\*\//.test(Et.value)){var kt=ze[qe+1];if(!kt||!/\.doc/.test(kt.type))return}}var At=Ve.column-(Pt-Et.value.length),Dt=Et.value.indexOf("*/"),Lt=Et.value.indexOf("/**",Dt>-1?Dt+2:0);if(Lt!==-1&&At>Lt&&At=Dt&&At<=Lt||!/\.doc/.test(Et.type))return;break}}var jt=this.$getIndent(Ue);if(/\s*\*/.test(Fe))return/^\s*\*/.test(Ue)?{text:$e+jt+"* ",selection:[1,2+jt.length,1,2+jt.length]}:{text:$e+jt+" * ",selection:[1,3+jt.length,1,3+jt.length]};if(/\/\*\*/.test(Ue.substring(0,Ve.column)))return{text:$e+jt+" * "+$e+" "+jt+"*/",selection:[1,4+jt.length,1,4+jt.length]}}})},_e.isSaneInsertion=function(Ce,xe){var Ie=Ce.getCursorPosition(),Ne=new re(xe,Ie.row,Ie.column);if(!this.$matchTokenType(Ne.getCurrentToken()||"text",ae)){if(/[)}\]]/.test(Ce.session.getLine(Ie.row)[Ie.column]))return!0;var Oe=new re(xe,Ie.row,Ie.column+1);if(!this.$matchTokenType(Oe.getCurrentToken()||"text",ae))return!1}return Ne.stepForward(),Ne.getCurrentTokenRow()!==Ie.row||this.$matchTokenType(Ne.getCurrentToken()||"text",oe)},_e.$matchTokenType=function(Ce,xe){return xe.indexOf(Ce.type||Ce)>-1},_e.recordAutoInsert=function(Ce,xe,Ie){var Ne=Ce.getCursorPosition(),Oe=xe.doc.getLine(Ne.row);this.isAutoInsertedClosing(Ne,Oe,le.autoInsertedLineEnd[0])||(le.autoInsertedBrackets=0),le.autoInsertedRow=Ne.row,le.autoInsertedLineEnd=Ie+Oe.substr(Ne.column),le.autoInsertedBrackets++},_e.recordMaybeInsert=function(Ce,xe,Ie){var Ne=Ce.getCursorPosition(),Oe=xe.doc.getLine(Ne.row);this.isMaybeInsertedClosing(Ne,Oe)||(le.maybeInsertedBrackets=0),le.maybeInsertedRow=Ne.row,le.maybeInsertedLineStart=Oe.substr(0,Ne.column)+Ie,le.maybeInsertedLineEnd=Oe.substr(Ne.column),le.maybeInsertedBrackets++},_e.isAutoInsertedClosing=function(Ce,xe,Ie){return le.autoInsertedBrackets>0&&Ce.row===le.autoInsertedRow&&Ie===le.autoInsertedLineEnd[0]&&xe.substr(Ce.column)===le.autoInsertedLineEnd},_e.isMaybeInsertedClosing=function(Ce,xe){return le.maybeInsertedBrackets>0&&Ce.row===le.maybeInsertedRow&&xe.substr(Ce.column)===le.maybeInsertedLineEnd&&xe.substr(0,Ce.column)==le.maybeInsertedLineStart},_e.popAutoInsertedClosing=function(){le.autoInsertedLineEnd=le.autoInsertedLineEnd.substr(1),le.autoInsertedBrackets--},_e.clearMaybeInsertedClosing=function(){le&&(le.maybeInsertedBrackets=0,le.maybeInsertedRow=-1)},$.inherits(_e,V),i.CstyleBehaviour=_e}),ace.define("ace/unicode",["require","exports","module"],function(r,i,g){for(var $=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],V=0,re=[],ie=0;ie<$.length;ie+=2)re.push(V+=$[ie]),$[ie+1]&&re.push(45,V+=$[ie+1]);i.wordChars=String.fromCharCode.apply(null,re)}),ace.define("ace/mode/text",["require","exports","module","ace/config","ace/tokenizer","ace/mode/text_highlight_rules","ace/mode/behaviour/cstyle","ace/unicode","ace/lib/lang","ace/token_iterator","ace/range"],function(r,i,g){var $=r("../config"),V=r("../tokenizer").Tokenizer,re=r("./text_highlight_rules").TextHighlightRules,ie=r("./behaviour/cstyle").CstyleBehaviour,ae=r("../unicode"),oe=r("../lib/lang"),le=r("../token_iterator").TokenIterator,ue=r("../range").Range,de;de=function(){this.HighlightRules=re},(function(){this.$defaultBehaviour=new ie,this.tokenRe=new RegExp("^["+ae.wordChars+"\\$_]+","g"),this.nonTokenRe=new RegExp("^(?:[^"+ae.wordChars+"\\$_]|\\s])+","g"),this.getTokenizer=function(){return this.$tokenizer||(this.$highlightRules=this.$highlightRules||new this.HighlightRules(this.$highlightRuleConfig),this.$tokenizer=new V(this.$highlightRules.getRules())),this.$tokenizer},this.lineCommentStart="",this.blockComment="",this.toggleCommentLines=function(he,pe,_e,Ce){var xe=pe.doc,Ie=!0,Ne=!0,Oe=1/0,$e=pe.getTabSize(),Ve=!1;if(this.lineCommentStart){if(Array.isArray(this.lineCommentStart))var ze=this.lineCommentStart.map(oe.escapeRegExp).join("|"),Ue=this.lineCommentStart[0];else var ze=oe.escapeRegExp(this.lineCommentStart),Ue=this.lineCommentStart;ze=new RegExp("^(\\s*)(?:"+ze+") ?"),Ve=pe.getUseSoftTabs();var Et=function(wn,bn){var Cn=wn.match(ze);if(Cn){var Sn=Cn[1].length,Tn=Cn[0].length;!Dt(wn,Sn,Tn)&&Cn[0][Tn-1]==" "&&Tn--,xe.removeInLine(bn,Sn,Tn)}},At=Ue+" ",qe=function(wn,bn){(!Ie||/\S/.test(wn))&&(Dt(wn,Oe,Oe)?xe.insertInLine({row:bn,column:Oe},At):xe.insertInLine({row:bn,column:Oe},Ue))},kt=function(wn,bn){return ze.test(wn)},Dt=function(wn,bn,Cn){for(var Sn=0;bn--&&wn.charAt(bn)==" ";)Sn++;if(Sn%$e!=0)return!1;for(var Sn=0;wn.charAt(Cn++)==" ";)Sn++;return $e>2?Sn%$e!=$e-1:Sn%$e==0}}else{if(!this.blockComment)return!1;var Ue=this.blockComment.start,Fe=this.blockComment.end,ze=new RegExp("^(\\s*)(?:"+oe.escapeRegExp(Ue)+")"),Pt=new RegExp("(?:"+oe.escapeRegExp(Fe)+")\\s*$"),qe=function(hn,vn){kt(hn,vn)||(!Ie||/\S/.test(hn))&&(xe.insertInLine({row:vn,column:hn.length},Fe),xe.insertInLine({row:vn,column:Oe},Ue))},Et=function(hn,vn){var _n;(_n=hn.match(Pt))&&xe.removeInLine(vn,hn.length-_n[0].length,hn.length),(_n=hn.match(ze))&&xe.removeInLine(vn,_n[1].length,_n[0].length)},kt=function(hn,vn){if(ze.test(hn))return!0;for(var _n=pe.getTokens(vn),wn=0;wn<_n.length;wn++)if(_n[wn].type==="comment")return!0}}function Lt(hn){for(var vn=_e;vn<=Ce;vn++)hn(xe.getLine(vn),vn)}var jt=1/0;Lt(function(hn,vn){var _n=hn.search(/\S/);_n!==-1?(_nhn.length&&(jt=hn.length)}),Oe==1/0&&(Oe=jt,Ie=!1,Ne=!1),Ve&&Oe%$e!=0&&(Oe=Math.floor(Oe/$e)*$e),Lt(Ne?Et:qe)},this.toggleBlockComment=function(he,pe,_e,Ce){var xe=this.blockComment;if(xe){!xe.start&&xe[0]&&(xe=xe[0]);var Ie=new le(pe,Ce.row,Ce.column),Ne=Ie.getCurrentToken();pe.selection;var Oe=pe.selection.toOrientedRange(),$e,Ve;if(Ne&&/comment/.test(Ne.type)){for(var Ue,Fe;Ne&&/comment/.test(Ne.type);){var ze=Ne.value.indexOf(xe.start);if(ze!=-1){var Pt=Ie.getCurrentTokenRow(),qe=Ie.getCurrentTokenColumn()+ze;Ue=new ue(Pt,qe,Pt,qe+xe.start.length);break}Ne=Ie.stepBackward()}for(var Ie=new le(pe,Ce.row,Ce.column),Ne=Ie.getCurrentToken();Ne&&/comment/.test(Ne.type);){var ze=Ne.value.indexOf(xe.end);if(ze!=-1){var Pt=Ie.getCurrentTokenRow(),qe=Ie.getCurrentTokenColumn()+ze;Fe=new ue(Pt,qe,Pt,qe+xe.end.length);break}Ne=Ie.stepForward()}Fe&&pe.remove(Fe),Ue&&(pe.remove(Ue),$e=Ue.start.row,Ve=-xe.start.length)}else Ve=xe.start.length,$e=_e.start.row,pe.insert(_e.end,xe.end),pe.insert(_e.start,xe.start);Oe.start.row==$e&&(Oe.start.column+=Ve),Oe.end.row==$e&&(Oe.end.column+=Ve),pe.selection.fromOrientedRange(Oe)}},this.getNextLineIndent=function(he,pe,_e){return this.$getIndent(pe)},this.checkOutdent=function(he,pe,_e){return!1},this.autoOutdent=function(he,pe,_e){},this.$getIndent=function(he){return he.match(/^\s*/)[0]},this.createWorker=function(he){return null},this.createModeDelegates=function(he){this.$embeds=[],this.$modes={};for(var pe in he)if(he[pe]){var _e=he[pe],Ce=_e.prototype.$id,xe=$.$modes[Ce];xe||($.$modes[Ce]=xe=new _e),$.$modes[pe]||($.$modes[pe]=xe),this.$embeds.push(pe),this.$modes[pe]=xe}for(var Ie=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],Ne=function($e){(function(Ve){var Ue=Ie[$e],Fe=Ve[Ue];Ve[Ie[$e]]=function(){return this.$delegator(Ue,arguments,Fe)}})(Oe)},Oe=this,pe=0;peae[oe].column&&oe++,de.unshift(oe,0),ae.splice.apply(ae,de),this.$updateRows()}}},re.prototype.$updateRows=function(){var ie=this.session.lineWidgets;if(ie){var ae=!0;ie.forEach(function(oe,le){if(oe)for(ae=!1,oe.row=le;oe.$oldWidget;)oe.$oldWidget.row=le,oe=oe.$oldWidget}),ae&&(this.session.lineWidgets=null)}},re.prototype.$registerLineWidget=function(ie){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var ae=this.session.lineWidgets[ie.row];return ae&&(ie.$oldWidget=ae,ae.el&&ae.el.parentNode&&(ae.el.parentNode.removeChild(ae.el),ae._inDocument=!1)),this.session.lineWidgets[ie.row]=ie,ie},re.prototype.addLineWidget=function(ie){if(this.$registerLineWidget(ie),ie.session=this.session,!this.editor)return ie;var ae=this.editor.renderer;ie.html&&!ie.el&&(ie.el=$.createElement("div"),ie.el.innerHTML=ie.html),ie.text&&!ie.el&&(ie.el=$.createElement("div"),ie.el.textContent=ie.text),ie.el&&($.addCssClass(ie.el,"ace_lineWidgetContainer"),ie.className&&$.addCssClass(ie.el,ie.className),ie.el.style.position="absolute",ie.el.style.zIndex="5",ae.container.appendChild(ie.el),ie._inDocument=!0,ie.coverGutter||(ie.el.style.zIndex="3"),ie.pixelHeight==null&&(ie.pixelHeight=ie.el.offsetHeight)),ie.rowCount==null&&(ie.rowCount=ie.pixelHeight/ae.layerConfig.lineHeight);var oe=this.session.getFoldAt(ie.row,0);if(ie.$fold=oe,oe){var le=this.session.lineWidgets;ie.row==oe.end.row&&!le[oe.start.row]?le[oe.start.row]=ie:ie.hidden=!0}return this.session._emit("changeFold",{data:{start:{row:ie.row}}}),this.$updateRows(),this.renderWidgets(null,ae),this.onWidgetChanged(ie),ie},re.prototype.removeLineWidget=function(ie){if(ie._inDocument=!1,ie.session=null,ie.el&&ie.el.parentNode&&ie.el.parentNode.removeChild(ie.el),ie.editor&&ie.editor.destroy)try{ie.editor.destroy()}catch{}if(this.session.lineWidgets){var ae=this.session.lineWidgets[ie.row];if(ae==ie)this.session.lineWidgets[ie.row]=ie.$oldWidget,ie.$oldWidget&&this.onWidgetChanged(ie.$oldWidget);else for(;ae;){if(ae.$oldWidget==ie){ae.$oldWidget=ie.$oldWidget;break}ae=ae.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:ie.row}}}),this.$updateRows()},re.prototype.getWidgetsAtRow=function(ie){for(var ae=this.session.lineWidgets,oe=ae&&ae[ie],le=[];oe;)le.push(oe),oe=oe.$oldWidget;return le},re.prototype.onWidgetChanged=function(ie){this.session._changedWidgets.push(ie),this.editor&&this.editor.renderer.updateFull()},re.prototype.measureWidgets=function(ie,ae){var oe=this.session._changedWidgets,le=ae.layerConfig;if(!(!oe||!oe.length)){for(var ue=1/0,de=0;de0&&!le[ue];)ue--;this.firstRow=oe.firstRow,this.lastRow=oe.lastRow,ae.$cursorLayer.config=oe;for(var he=ue;he<=de;he++){var pe=le[he];if(!(!pe||!pe.el)){if(pe.hidden){pe.el.style.top=-100-(pe.pixelHeight||0)+"px";continue}pe._inDocument||(pe._inDocument=!0,ae.container.appendChild(pe.el));var _e=ae.$cursorLayer.getPixelPosition({row:he,column:0},!0).top;pe.coverLine||(_e+=oe.lineHeight*this.session.getRowLineCount(pe.row)),pe.el.style.top=_e-oe.offset+"px";var Ce=pe.coverGutter?0:ae.gutterWidth;pe.fixedWidth||(Ce-=ae.scrollLeft),pe.el.style.left=Ce+"px",pe.fullWidth&&pe.screenWidth&&(pe.el.style.minWidth=oe.width+2*oe.padding+"px"),pe.fixedWidth?pe.el.style.right=ae.scrollBar.getWidth()+"px":pe.el.style.right=""}}}},re}();i.LineWidgets=V}),ace.define("ace/apply_delta",["require","exports","module"],function(r,i,g){i.applyDelta=function($,V,re){var ie=V.start.row,ae=V.start.column,oe=$[ie]||"";switch(V.action){case"insert":var le=V.lines;if(le.length===1)$[ie]=oe.substring(0,ae)+V.lines[0]+oe.substring(ae);else{var ue=[ie,1].concat(V.lines);$.splice.apply($,ue),$[ie]=oe.substring(0,ae)+$[ie],$[ie+V.lines.length-1]+=oe.substring(ae)}break;case"remove":var de=V.end.column,he=V.end.row;ie===he?$[ie]=oe.substring(0,ae)+oe.substring(de):$.splice(ie,he-ie+1,oe.substring(0,ae)+$[he].substring(de));break}}}),ace.define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(r,i,g){var $=r("./lib/oop"),V=r("./lib/event_emitter").EventEmitter,re=function(){function oe(le,ue,de){this.$onChange=this.onChange.bind(this),this.attach(le),typeof ue!="number"?this.setPosition(ue.row,ue.column):this.setPosition(ue,de)}return oe.prototype.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},oe.prototype.getDocument=function(){return this.document},oe.prototype.onChange=function(le){if(!(le.start.row==le.end.row&&le.start.row!=this.row)&&!(le.start.row>this.row)){var ue=ae(le,{row:this.row,column:this.column},this.$insertRight);this.setPosition(ue.row,ue.column,!0)}},oe.prototype.setPosition=function(le,ue,de){var he;if(de?he={row:le,column:ue}:he=this.$clipPositionToDocument(le,ue),!(this.row==he.row&&this.column==he.column)){var pe={row:this.row,column:this.column};this.row=he.row,this.column=he.column,this._signal("change",{old:pe,value:he})}},oe.prototype.detach=function(){this.document.off("change",this.$onChange)},oe.prototype.attach=function(le){this.document=le||this.document,this.document.on("change",this.$onChange)},oe.prototype.$clipPositionToDocument=function(le,ue){var de={};return le>=this.document.getLength()?(de.row=Math.max(0,this.document.getLength()-1),de.column=this.document.getLine(de.row).length):le<0?(de.row=0,de.column=0):(de.row=le,de.column=Math.min(this.document.getLine(de.row).length,Math.max(0,ue))),ue<0&&(de.column=0),de},oe}();re.prototype.$insertRight=!1,$.implement(re.prototype,V);function ie(oe,le,ue){var de=ue?oe.column<=le.column:oe.column=he&&(ue=he-1,de=void 0);var pe=this.getLine(ue);return de==null&&(de=pe.length),de=Math.min(Math.max(de,0),pe.length),{row:ue,column:de}},le.prototype.clonePos=function(ue){return{row:ue.row,column:ue.column}},le.prototype.pos=function(ue,de){return{row:ue,column:de}},le.prototype.$clipPosition=function(ue){var de=this.getLength();return ue.row>=de?(ue.row=Math.max(0,de-1),ue.column=this.getLine(de-1).length):(ue.row=Math.max(0,ue.row),ue.column=Math.min(Math.max(ue.column,0),this.getLine(ue.row).length)),ue},le.prototype.insertFullLines=function(ue,de){ue=Math.min(Math.max(ue,0),this.getLength());var he=0;ue0,pe=de=0&&this.applyDelta({start:this.pos(ue,this.getLine(ue).length),end:this.pos(ue+1,0),action:"remove",lines:["",""]})},le.prototype.replace=function(ue,de){if(ue instanceof ie||(ue=ie.fromPoints(ue.start,ue.end)),de.length===0&&ue.isEmpty())return ue.start;if(de==this.getTextRange(ue))return ue.end;this.remove(ue);var he;return de?he=this.insert(ue.start,de):he=ue.start,he},le.prototype.applyDeltas=function(ue){for(var de=0;de=0;de--)this.revertDelta(ue[de])},le.prototype.applyDelta=function(ue,de){var he=ue.action=="insert";(he?ue.lines.length<=1&&!ue.lines[0]:!ie.comparePoints(ue.start,ue.end))||(he&&ue.lines.length>2e4?this.$splitAndapplyLargeDelta(ue,2e4):(V(this.$lines,ue,de),this._signal("change",ue)))},le.prototype.$safeApplyDelta=function(ue){var de=this.$lines.length;(ue.action=="remove"&&ue.start.row20){le.running=setTimeout(le.$worker,20);break}}le.currentLine=de,he==-1&&(he=de),_e<=he&&le.fireUpdateEvent(_e,he)}}}return ie.prototype.setTokenizer=function(ae){this.tokenizer=ae,this.lines=[],this.states=[],this.start(0)},ie.prototype.setDocument=function(ae){this.doc=ae,this.lines=[],this.states=[],this.stop()},ie.prototype.fireUpdateEvent=function(ae,oe){var le={first:ae,last:oe};this._signal("update",{data:le})},ie.prototype.start=function(ae){this.currentLine=Math.min(ae||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},ie.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},ie.prototype.$updateOnChange=function(ae){var oe=ae.start.row,le=ae.end.row-oe;if(le===0)this.lines[oe]=null;else if(ae.action=="remove")this.lines.splice(oe,le+1,null),this.states.splice(oe,le+1,null);else{var ue=Array(le+1);ue.unshift(oe,1),this.lines.splice.apply(this.lines,ue),this.states.splice.apply(this.states,ue)}this.currentLine=Math.min(oe,this.currentLine,this.doc.getLength()),this.stop()},ie.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},ie.prototype.getTokens=function(ae){return this.lines[ae]||this.$tokenizeRow(ae)},ie.prototype.getState=function(ae){return this.currentLine==ae&&this.$tokenizeRow(ae),this.states[ae]||"start"},ie.prototype.$tokenizeRow=function(ae){var oe=this.doc.getLine(ae),le=this.states[ae-1],ue=this.tokenizer.getLineTokens(oe,le,ae);return this.states[ae]+""!=ue.state+""?(this.states[ae]=ue.state,this.lines[ae+1]=null,this.currentLine>ae+1&&(this.currentLine=ae+1)):this.currentLine==ae&&(this.currentLine=ae+1),this.lines[ae]=ue.tokens},ie.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},ie}();$.implement(re.prototype,V),i.BackgroundTokenizer=re}),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],function(r,i,g){var $=r("./lib/lang"),V=r("./range").Range,re=function(){function ie(ae,oe,le){le===void 0&&(le="text"),this.setRegexp(ae),this.clazz=oe,this.type=le,this.docLen=0}return ie.prototype.setRegexp=function(ae){this.regExp+""!=ae+""&&(this.regExp=ae,this.cache=[])},ie.prototype.update=function(ae,oe,le,ue){if(this.regExp){for(var de=ue.firstRow,he=ue.lastRow,pe={},_e=le.$editor&&le.$editor.$search,Ce=_e&&_e.$isMultilineSearch(le.$editor.getLastSearchOptions()),xe=de;xe<=he;xe++){var Ie=this.cache[xe];if(Ie==null||le.getValue().length!=this.docLen){if(Ce){Ie=[];var Ne=_e.$multiLineForward(le,this.regExp,xe,he);if(Ne){var Oe=Ne.endRow<=he?Ne.endRow-1:he;Oe>xe&&(xe=Oe),Ie.push(new V(Ne.startRow,Ne.startCol,Ne.endRow,Ne.endCol))}Ie.length>this.MAX_RANGES&&(Ie=Ie.slice(0,this.MAX_RANGES))}else Ie=$.getMatchOffsets(le.getLine(xe),this.regExp),Ie.length>this.MAX_RANGES&&(Ie=Ie.slice(0,this.MAX_RANGES)),Ie=Ie.map(function(Fe){return new V(xe,Fe.offset,xe,Fe.offset+Fe.length)});this.cache[xe]=Ie.length?Ie:""}if(Ie.length!==0)for(var $e=Ie.length;$e--;){var Ve=Ie[$e].toScreenRange(le),Ue=Ve.toString();pe[Ue]||(pe[Ue]=!0,oe.drawSingleLineMarker(ae,Ve,this.clazz,ue))}}this.docLen=le.getValue().length}},ie}();re.prototype.MAX_RANGES=500,i.SearchHighlight=re}),ace.define("ace/undomanager",["require","exports","module","ace/range"],function(r,i,g){var $=function(){function Oe(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return Oe.prototype.addSession=function($e){this.$session=$e},Oe.prototype.add=function($e,Ve,Ue){if(!this.$fromUndo&&$e!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),Ve===!1||!this.lastDeltas){this.lastDeltas=[];var Fe=this.$undoStack.length;Fe>this.$undoDepth-1&&this.$undoStack.splice(0,Fe-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),$e.id=this.$rev=++this.$maxRev}($e.action=="remove"||$e.action=="insert")&&(this.$lastDelta=$e),this.lastDeltas.push($e)}},Oe.prototype.addSelection=function($e,Ve){this.selections.push({value:$e,rev:Ve||this.$rev})},Oe.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},Oe.prototype.markIgnored=function($e,Ve){Ve==null&&(Ve=this.$rev+1);for(var Ue=this.$undoStack,Fe=Ue.length;Fe--;){var ze=Ue[Fe][0];if(ze.id<=$e)break;ze.id0},Oe.prototype.canRedo=function(){return this.$redoStack.length>0},Oe.prototype.bookmark=function($e){$e==null&&($e=this.$rev),this.mark=$e},Oe.prototype.isAtBookmark=function(){return this.$rev===this.mark},Oe.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},Oe.prototype.fromJSON=function($e){this.reset(),this.$undoStack=$e.$undoStack,this.$redoStack=$e.$redoStack},Oe.prototype.$prettyPrint=function($e){return $e?le($e):le(this.$undoStack)+` ---- -`+le(this.$redoStack)},Oe}();$.prototype.hasUndo=$.prototype.canUndo,$.prototype.hasRedo=$.prototype.canRedo,$.prototype.isClean=$.prototype.isAtBookmark,$.prototype.markClean=$.prototype.bookmark;function V(Oe,$e){for(var Ve=$e;Ve--;){var Ue=Oe[Ve];if(Ue&&!Ue[0].ignore){for(;Ve<$e-1;){var Fe=he(Oe[Ve],Oe[Ve+1]);Oe[Ve]=Fe[0],Oe[Ve+1]=Fe[1],Ve++}return!0}}}var re=r("./range").Range,ie=re.comparePoints;re.comparePoints;function ae(Oe){return{row:Oe.row,column:Oe.column}}function oe(Oe){return{start:ae(Oe.start),end:ae(Oe.end),action:Oe.action,lines:Oe.lines.slice()}}function le(Oe){if(Oe=Oe||this,Array.isArray(Oe))return Oe.map(le).join(` -`);var $e="";return Oe.action?($e=Oe.action=="insert"?"+":"-",$e+="["+Oe.lines+"]"):Oe.value&&(Array.isArray(Oe.value)?$e=Oe.value.map(ue).join(` -`):$e=ue(Oe.value)),Oe.start&&($e+=ue(Oe)),(Oe.id||Oe.rev)&&($e+=" ("+(Oe.id||Oe.rev)+")"),$e}function ue(Oe){return Oe.start.row+":"+Oe.start.column+"=>"+Oe.end.row+":"+Oe.end.column}function de(Oe,$e){var Ve=Oe.action=="insert",Ue=$e.action=="insert";if(Ve&&Ue)if(ie($e.start,Oe.end)>=0)_e($e,Oe,-1);else if(ie($e.start,Oe.start)<=0)_e(Oe,$e,1);else return null;else if(Ve&&!Ue)if(ie($e.start,Oe.end)>=0)_e($e,Oe,-1);else if(ie($e.end,Oe.start)<=0)_e(Oe,$e,-1);else return null;else if(!Ve&&Ue)if(ie($e.start,Oe.start)>=0)_e($e,Oe,1);else if(ie($e.start,Oe.start)<=0)_e(Oe,$e,1);else return null;else if(!Ve&&!Ue)if(ie($e.start,Oe.start)>=0)_e($e,Oe,1);else if(ie($e.end,Oe.start)<=0)_e(Oe,$e,-1);else return null;return[$e,Oe]}function he(Oe,$e){for(var Ve=Oe.length;Ve--;)for(var Ue=0;Ue<$e.length;Ue++)if(!de(Oe[Ve],$e[Ue])){for(;Ve=0?_e(Oe,$e,-1):(ie(Oe.start,$e.start)<=0||_e(Oe,re.fromPoints($e.start,Oe.start),-1),_e($e,Oe,1));else if(!Ve&&Ue)ie($e.start,Oe.end)>=0?_e($e,Oe,-1):(ie($e.start,Oe.start)<=0||_e($e,re.fromPoints(Oe.start,$e.start),-1),_e(Oe,$e,1));else if(!Ve&&!Ue)if(ie($e.start,Oe.end)>=0)_e($e,Oe,-1);else if(ie($e.end,Oe.start)<=0)_e(Oe,$e,-1);else{var Fe,ze;return ie(Oe.start,$e.start)<0&&(Fe=Oe,Oe=xe(Oe,$e.start)),ie(Oe.end,$e.end)>0&&(ze=xe(Oe,$e.end)),Ce($e.end,Oe.start,Oe.end,-1),ze&&!Fe&&(Oe.lines=ze.lines,Oe.start=ze.start,Oe.end=ze.end,ze=Oe),[$e,Fe,ze].filter(Boolean)}return[$e,Oe]}function _e(Oe,$e,Ve){Ce(Oe.start,$e.start,$e.end,Ve),Ce(Oe.end,$e.start,$e.end,Ve)}function Ce(Oe,$e,Ve,Ue){Oe.row==(Ue==1?$e:Ve).row&&(Oe.column+=Ue*(Ve.column-$e.column)),Oe.row+=Ue*(Ve.row-$e.row)}function xe(Oe,$e){var Ve=Oe.lines,Ue=Oe.end;Oe.end=ae($e);var Fe=Oe.end.row-Oe.start.row,ze=Ve.splice(Fe,Ve.length),Pt=Fe?$e.column:$e.column-Oe.start.column;Ve.push(ze[0].substring(0,Pt)),ze[0]=ze[0].substr(Pt);var qe={start:ae($e),end:Ue,lines:ze,action:Oe.action};return qe}function Ie(Oe,$e){$e=oe($e);for(var Ve=Oe.length;Ve--;){for(var Ue=Oe[Ve],Fe=0;Fethis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(ie),this.folds.sort(function(ae,oe){return-ae.range.compareEnd(oe.start.row,oe.start.column)}),this.range.compareEnd(ie.start.row,ie.start.column)>0?(this.end.row=ie.end.row,this.end.column=ie.end.column):this.range.compareStart(ie.end.row,ie.end.column)<0&&(this.start.row=ie.start.row,this.start.column=ie.start.column)}else if(ie.start.row==this.end.row)this.folds.push(ie),this.end.row=ie.end.row,this.end.column=ie.end.column;else if(ie.end.row==this.start.row)this.folds.unshift(ie),this.start.row=ie.start.row,this.start.column=ie.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");ie.foldLine=this},re.prototype.containsRow=function(ie){return ie>=this.start.row&&ie<=this.end.row},re.prototype.walk=function(ie,ae,oe){var le=0,ue=this.folds,de,he,pe,_e=!0;ae==null&&(ae=this.end.row,oe=this.end.column);for(var Ce=0;Ce0)){var _e=V(ae,he.start);return pe===0?oe&&_e!==0?-de-2:de:_e>0||_e===0&&!oe?de:-de-1}}return-de-1},ie.prototype.add=function(ae){var oe=!ae.isEmpty(),le=this.pointIndex(ae.start,oe);le<0&&(le=-le-1);var ue=this.pointIndex(ae.end,oe,le);return ue<0?ue=-ue-1:ue++,this.ranges.splice(le,ue-le,ae)},ie.prototype.addList=function(ae){for(var oe=[],le=ae.length;le--;)oe.push.apply(oe,this.add(ae[le]));return oe},ie.prototype.substractPoint=function(ae){var oe=this.pointIndex(ae);if(oe>=0)return this.ranges.splice(oe,1)},ie.prototype.merge=function(){var ae=[],oe=this.ranges;oe=oe.sort(function(pe,_e){return V(pe.start,_e.start)});for(var le=oe[0],ue,de=1;de=0},ie.prototype.containsPoint=function(ae){return this.pointIndex(ae)>=0},ie.prototype.rangeAtPoint=function(ae){var oe=this.pointIndex(ae);if(oe>=0)return this.ranges[oe]},ie.prototype.clipRows=function(ae,oe){var le=this.ranges;if(le[0].start.row>oe||le[le.length-1].start.row=ue)break}if(ae.action=="insert")for(var xe=de-ue,Ie=-oe.column+le.column;pe<_e;pe++){var Ce=he[pe];if(Ce.start.row>ue)break;if(Ce.start.row==ue&&Ce.start.column>=oe.column&&(Ce.start.column==oe.column&&this.$bias<=0||(Ce.start.column+=Ie,Ce.start.row+=xe)),Ce.end.row==ue&&Ce.end.column>=oe.column){if(Ce.end.column==oe.column&&this.$bias<0)continue;Ce.end.column==oe.column&&Ie>0&&pe<_e-1&&Ce.end.column>Ce.start.column&&Ce.end.column==he[pe+1].start.column&&(Ce.end.column-=Ie),Ce.end.column+=Ie,Ce.end.row+=xe}}else for(var xe=ue-de,Ie=oe.column-le.column;pe<_e;pe++){var Ce=he[pe];if(Ce.start.row>de)break;Ce.end.rowoe.column)&&(Ce.end.column=oe.column,Ce.end.row=oe.row):(Ce.end.column+=Ie,Ce.end.row+=xe):Ce.end.row>de&&(Ce.end.row+=xe),Ce.start.rowoe.column)&&(Ce.start.column=oe.column,Ce.start.row=oe.row):(Ce.start.column+=Ie,Ce.start.row+=xe):Ce.start.row>de&&(Ce.start.row+=xe)}if(xe!=0&&pe<_e)for(;pe<_e;pe++){var Ce=he[pe];Ce.start.row+=xe,Ce.end.row+=xe}},ie}();re.prototype.comparePoints=V,i.RangeList=re}),ace.define("ace/edit_session/fold",["require","exports","module","ace/range_list"],function(r,i,g){var $=this&&this.__extends||function(){var ue=function(de,he){return ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(pe,_e){pe.__proto__=_e}||function(pe,_e){for(var Ce in _e)Object.prototype.hasOwnProperty.call(_e,Ce)&&(pe[Ce]=_e[Ce])},ue(de,he)};return function(de,he){if(typeof he!="function"&&he!==null)throw new TypeError("Class extends value "+String(he)+" is not a constructor or null");ue(de,he);function pe(){this.constructor=de}de.prototype=he===null?Object.create(he):(pe.prototype=he.prototype,new pe)}}(),V=r("../range_list").RangeList,re=function(ue){$(de,ue);function de(he,pe){var _e=ue.call(this)||this;return _e.foldLine=null,_e.placeholder=pe,_e.range=he,_e.start=he.start,_e.end=he.end,_e.sameRow=he.start.row==he.end.row,_e.subFolds=_e.ranges=[],_e}return de.prototype.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},de.prototype.setFoldLine=function(he){this.foldLine=he,this.subFolds.forEach(function(pe){pe.setFoldLine(he)})},de.prototype.clone=function(){var he=this.range.clone(),pe=new de(he,this.placeholder);return this.subFolds.forEach(function(_e){pe.subFolds.push(_e.clone())}),pe.collapseChildren=this.collapseChildren,pe},de.prototype.addSubFold=function(he){if(!this.range.isEqual(he)){ae(he,this.start);for(var Ie=he.start.row,Ne=he.start.column,pe=0,_e=-1;pe=le)return pe;if(pe.end.row>le)return null}return null},this.getNextFoldLine=function(le,ue){var de=this.$foldData,he=0;for(ue&&(he=de.indexOf(ue)),he==-1&&(he=0),he;he=le)return pe}return null},this.getFoldedRowCount=function(le,ue){for(var de=this.$foldData,he=ue-le+1,pe=0;pe=ue){xe=le?he-=ue-xe:he=0);break}else Ce>=le&&(xe>=le?he-=Ce-xe:he-=Ce-le+1)}return he},this.$addFoldLine=function(le){return this.$foldData.push(le),this.$foldData.sort(function(ue,de){return ue.start.row-de.start.row}),le},this.addFold=function(le,ue){var de=this.$foldData,he=!1,pe;le instanceof re?pe=le:(pe=new re(ue,le),pe.collapseChildren=ue.collapseChildren),this.$clipRangeToDocument(pe.range);var _e=pe.start.row,Ce=pe.start.column,xe=pe.end.row,Ie=pe.end.column,Ne=this.getFoldAt(_e,Ce,1),Oe=this.getFoldAt(xe,Ie,-1);if(Ne&&Oe==Ne)return Ne.addSubFold(pe);Ne&&!Ne.range.isStart(_e,Ce)&&this.removeFold(Ne),Oe&&!Oe.range.isEnd(xe,Ie)&&this.removeFold(Oe);var $e=this.getFoldsInRange(pe.range);$e.length>0&&(this.removeFolds($e),pe.collapseChildren||$e.forEach(function(ze){pe.addSubFold(ze)}));for(var Ve=0;Ve0&&this.foldAll(le.start.row+1,le.end.row,le.collapseChildren-1),le.subFolds=[]},this.expandFolds=function(le){le.forEach(function(ue){this.expandFold(ue)},this)},this.unfold=function(le,ue){var de,he;if(le==null)de=new $(0,0,this.getLength(),0),ue==null&&(ue=!0);else if(typeof le=="number")de=new $(le,0,le,this.getLine(le).length);else if("row"in le)de=$.fromPoints(le,le);else{if(Array.isArray(le))return he=[],le.forEach(function(_e){he=he.concat(this.unfold(_e))},this),he;de=le}he=this.getFoldsInRangeList(de);for(var pe=he;he.length==1&&$.comparePoints(he[0].start,de.start)<0&&$.comparePoints(he[0].end,de.end)>0;)this.expandFolds(he),he=this.getFoldsInRangeList(de);if(ue!=!1?this.removeFolds(he):this.expandFolds(he),pe.length)return pe},this.isRowFolded=function(le,ue){return!!this.getFoldLine(le,ue)},this.getRowFoldEnd=function(le,ue){var de=this.getFoldLine(le,ue);return de?de.end.row:le},this.getRowFoldStart=function(le,ue){var de=this.getFoldLine(le,ue);return de?de.start.row:le},this.getFoldDisplayLine=function(le,ue,de,he,pe){he==null&&(he=le.start.row),pe==null&&(pe=0),ue==null&&(ue=le.end.row),de==null&&(de=this.getLine(ue).length);var _e=this.doc,Ce="";return le.walk(function(xe,Ie,Ne,Oe){if(!(IeNe)break;while(pe&&Ce.test(pe.type));pe=he.stepBackward()}else pe=he.getCurrentToken();return xe.end.row=he.getCurrentTokenRow(),xe.end.column=he.getCurrentTokenColumn(),xe.start.row==xe.end.row&&xe.start.column>xe.end.column?void 0:xe}},this.foldAll=function(le,ue,de,he){de==null&&(de=1e5);var pe=this.foldWidgets;if(pe){ue=ue||this.getLength(),le=le||0;for(var _e=le;_e=le&&(_e=Ce.end.row,Ce.collapseChildren=de,this.addFold("...",Ce))}}},this.foldToLevel=function(le){for(this.foldAll();le-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var le=this;this.foldAll(null,null,null,function(ue){for(var de=le.getTokens(ue),he=0;he=0;){var _e=de[he];if(_e==null&&(_e=de[he]=this.getFoldWidget(he)),_e=="start"){var Ce=this.getFoldWidgetRange(he);if(pe||(pe=Ce),Ce&&Ce.end.row>=le)break}he--}return{range:he!==-1&&Ce,firstRange:pe}},this.onFoldWidgetClick=function(le,ue){ue instanceof ae&&(ue=ue.domEvent);var de={children:ue.shiftKey,all:ue.ctrlKey||ue.metaKey,siblings:ue.altKey},he=this.$toggleFoldWidget(le,de);if(!he){var pe=ue.target||ue.srcElement;pe&&/ace_fold-widget/.test(pe.className)&&(pe.className+=" ace_invalid")}},this.$toggleFoldWidget=function(le,ue){if(this.getFoldWidget){var de=this.getFoldWidget(le),he=this.getLine(le),pe=de==="end"?-1:1,_e=this.getFoldAt(le,pe===-1?0:he.length,pe);if(_e)return ue.children||ue.all?this.removeFold(_e):this.expandFold(_e),_e;var Ce=this.getFoldWidgetRange(le,!0);if(Ce&&!Ce.isMultiLine()&&(_e=this.getFoldAt(Ce.start.row,Ce.start.column,1),_e&&Ce.isEqual(_e.range)))return this.removeFold(_e),_e;if(ue.siblings){var xe=this.getParentFoldRangeData(le);if(xe.range)var Ie=xe.range.start.row+1,Ne=xe.range.end.row;this.foldAll(Ie,Ne,ue.all?1e4:0)}else ue.children?(Ne=Ce?Ce.end.row:this.getLength(),this.foldAll(le+1,Ne,ue.all?1e4:0)):Ce&&(ue.all&&(Ce.collapseChildren=1e4),this.addFold("...",Ce));return Ce}},this.toggleFoldWidget=function(le){var ue=this.selection.getCursor().row;ue=this.getRowFoldStart(ue);var de=this.$toggleFoldWidget(ue,{});if(!de){var he=this.getParentFoldRangeData(ue,!0);if(de=he.range||he.firstRange,de){ue=de.start.row;var pe=this.getFoldAt(ue,this.getLine(ue).length,1);pe?this.removeFold(pe):this.addFold("...",de)}}},this.updateFoldWidgets=function(le){var ue=le.start.row,de=le.end.row-ue;if(de===0)this.foldWidgets[ue]=null;else if(le.action=="remove")this.foldWidgets.splice(ue,de+1,null);else{var he=Array(de+1);he.unshift(ue,1),this.foldWidgets.splice.apply(this.foldWidgets,he)}},this.tokenizerUpdateFoldWidgets=function(le){var ue=le.data;ue.first!=ue.last&&this.foldWidgets.length>ue.first&&this.foldWidgets.splice(ue.first,this.foldWidgets.length)}}i.Folding=oe}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(r,i,g){var $=r("../token_iterator").TokenIterator,V=r("../range").Range;function re(){this.findMatchingBracket=function(ie,ae){if(ie.column==0)return null;var oe=ae||this.getLine(ie.row).charAt(ie.column-1);if(oe=="")return null;var le=oe.match(/([\(\[\{])|([\)\]\}])/);return le?le[1]?this.$findClosingBracket(le[1],ie):this.$findOpeningBracket(le[2],ie):null},this.getBracketRange=function(ie){var ae=this.getLine(ie.row),oe=!0,le,ue=ae.charAt(ie.column-1),de=ue&&ue.match(/([\(\[\{])|([\)\]\}])/);if(de||(ue=ae.charAt(ie.column),ie={row:ie.row,column:ie.column+1},de=ue&&ue.match(/([\(\[\{])|([\)\]\}])/),oe=!1),!de)return null;if(de[1]){var he=this.$findClosingBracket(de[1],ie);if(!he)return null;le=V.fromPoints(ie,he),oe||(le.end.column++,le.start.column--),le.cursor=le.end}else{var he=this.$findOpeningBracket(de[2],ie);if(!he)return null;le=V.fromPoints(he,ie),oe||(le.start.column++,le.end.column--),le.cursor=le.start}return le},this.getMatchingBracketRanges=function(ie,ae){var oe=this.getLine(ie.row),le=/([\(\[\{])|([\)\]\}])/,ue=!ae&&oe.charAt(ie.column-1),de=ue&&ue.match(le);if(de||(ue=(ae===void 0||ae)&&oe.charAt(ie.column),ie={row:ie.row,column:ie.column+1},de=ue&&ue.match(le)),!de)return null;var he=new V(ie.row,ie.column-1,ie.row,ie.column),pe=de[1]?this.$findClosingBracket(de[1],ie):this.$findOpeningBracket(de[2],ie);if(!pe)return[he];var _e=new V(pe.row,pe.column,pe.row,pe.column+1);return[he,_e]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(ie,ae,oe){var le=this.$brackets[ie],ue=1,de=new $(this,ae.row,ae.column),he=de.getCurrentToken();if(he||(he=de.stepForward()),!!he){oe||(oe=new RegExp("(\\.?"+he.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var pe=ae.column-de.getCurrentTokenColumn()-2,_e=he.value;;){for(;pe>=0;){var Ce=_e.charAt(pe);if(Ce==le){if(ue-=1,ue==0)return{row:de.getCurrentTokenRow(),column:pe+de.getCurrentTokenColumn()}}else Ce==ie&&(ue+=1);pe-=1}do he=de.stepBackward();while(he&&!oe.test(he.type));if(he==null)break;_e=he.value,pe=_e.length-1}return null}},this.$findClosingBracket=function(ie,ae,oe){var le=this.$brackets[ie],ue=1,de=new $(this,ae.row,ae.column),he=de.getCurrentToken();if(he||(he=de.stepForward()),!!he){oe||(oe=new RegExp("(\\.?"+he.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var pe=ae.column-de.getCurrentTokenColumn();;){for(var _e=he.value,Ce=_e.length;pe"?le=!0:ae.type.indexOf("tag-name")!==-1&&(oe=!0));while(ae&&!oe);return ae},this.$findClosingTag=function(ie,ae){var oe,le=ae.value,ue=ae.value,de=0,he=new V(ie.getCurrentTokenRow(),ie.getCurrentTokenColumn(),ie.getCurrentTokenRow(),ie.getCurrentTokenColumn()+1);ae=ie.stepForward();var pe=new V(ie.getCurrentTokenRow(),ie.getCurrentTokenColumn(),ie.getCurrentTokenRow(),ie.getCurrentTokenColumn()+ae.value.length),_e=!1;do{if(oe=ae,oe.type.indexOf("tag-close")!==-1&&!_e){var Ce=new V(ie.getCurrentTokenRow(),ie.getCurrentTokenColumn(),ie.getCurrentTokenRow(),ie.getCurrentTokenColumn()+1);_e=!0}if(ae=ie.stepForward(),ae){if(ae.value===">"&&!_e){var Ce=new V(ie.getCurrentTokenRow(),ie.getCurrentTokenColumn(),ie.getCurrentTokenRow(),ie.getCurrentTokenColumn()+1);_e=!0}if(ae.type.indexOf("tag-name")!==-1){if(le=ae.value,ue===le){if(oe.value==="<")de++;else if(oe.value==="")var Ne=new V(ie.getCurrentTokenRow(),ie.getCurrentTokenColumn(),ie.getCurrentTokenRow(),ie.getCurrentTokenColumn()+1);else return}}}else if(ue===le&&ae.value==="/>"&&(de--,de<0))var xe=new V(ie.getCurrentTokenRow(),ie.getCurrentTokenColumn(),ie.getCurrentTokenRow(),ie.getCurrentTokenColumn()+2),Ie=xe,Ne=Ie,Ce=new V(pe.end.row,pe.end.column,pe.end.row,pe.end.column+1)}}while(ae&&de>=0);if(he&&Ce&&xe&&Ne&&pe&&Ie)return{openTag:new V(he.start.row,he.start.column,Ce.end.row,Ce.end.column),closeTag:new V(xe.start.row,xe.start.column,Ne.end.row,Ne.end.column),openTagName:pe,closeTagName:Ie}},this.$findOpeningTag=function(ie,ae){var oe=ie.getCurrentToken(),le=ae.value,ue=0,de=ie.getCurrentTokenRow(),he=ie.getCurrentTokenColumn(),pe=he+2,_e=new V(de,he,de,pe);ie.stepForward();var Ce=new V(ie.getCurrentTokenRow(),ie.getCurrentTokenColumn(),ie.getCurrentTokenRow(),ie.getCurrentTokenColumn()+ae.value.length);if(ae.type.indexOf("tag-close")===-1&&(ae=ie.stepForward()),!(!ae||ae.value!==">")){var xe=new V(ie.getCurrentTokenRow(),ie.getCurrentTokenColumn(),ie.getCurrentTokenRow(),ie.getCurrentTokenColumn()+1);ie.stepBackward(),ie.stepBackward();do if(ae=oe,de=ie.getCurrentTokenRow(),he=ie.getCurrentTokenColumn(),pe=he+ae.value.length,oe=ie.stepBackward(),ae){if(ae.type.indexOf("tag-name")!==-1){if(le===ae.value)if(oe.value==="<"){if(ue++,ue>0){var Ie=new V(de,he,de,pe),Ne=new V(ie.getCurrentTokenRow(),ie.getCurrentTokenColumn(),ie.getCurrentTokenRow(),ie.getCurrentTokenColumn()+1);do ae=ie.stepForward();while(ae&&ae.value!==">");var Oe=new V(ie.getCurrentTokenRow(),ie.getCurrentTokenColumn(),ie.getCurrentTokenRow(),ie.getCurrentTokenColumn()+1)}}else oe.value===""){for(var $e=0,Ve=oe;Ve;){if(Ve.type.indexOf("tag-name")!==-1&&Ve.value===le){ue--;break}else if(Ve.value==="<")break;Ve=ie.stepBackward(),$e++}for(var Ue=0;Ue<$e;Ue++)ie.stepForward()}}while(oe&&ue<=0);if(Ne&&Oe&&_e&&xe&&Ie&&Ce)return{openTag:new V(Ne.start.row,Ne.start.column,Oe.end.row,Oe.end.column),closeTag:new V(_e.start.row,_e.start.column,xe.end.row,xe.end.column),openTagName:Ie,closeTagName:Ce}}}}i.BracketMatch=re}),ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/bidihandler","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/line_widgets","ace/document","ace/background_tokenizer","ace/search_highlight","ace/undomanager","ace/edit_session/folding","ace/edit_session/bracket_match"],function(r,i,g){var $=r("./lib/oop"),V=r("./lib/lang"),re=r("./bidihandler").BidiHandler,ie=r("./config"),ae=r("./lib/event_emitter").EventEmitter,oe=r("./selection").Selection,le=r("./mode/text").Mode,ue=r("./range").Range,de=r("./line_widgets").LineWidgets,he=r("./document").Document,pe=r("./background_tokenizer").BackgroundTokenizer,_e=r("./search_highlight").SearchHighlight,Ce=r("./undomanager").UndoManager,xe=function(){function qe(Et,kt){this.doc,this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$editor=null,this.prevOp={},this.$foldData=[],this.id="session"+ ++qe.$uid,this.$foldData.toString=function(){return this.join(` -`)},this.$gutterCustomWidgets={},this.bgTokenizer=new pe(new le().getTokenizer(),this);var At=this;this.bgTokenizer.on("update",function(Dt){At._signal("tokenizerUpdate",Dt)}),this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),(typeof Et!="object"||!Et.getLine)&&(Et=new he(Et)),this.setDocument(Et),this.selection=new oe(this),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.selection.on("changeCursor",this.$onSelectionChange),this.$bidiHandler=new re(this),ie.resetOptions(this),this.setMode(kt),ie._signal("session",this),this.destroyed=!1,this.$initOperationListeners()}return qe.prototype.$initOperationListeners=function(){var Et=this;this.curOp=null,this.on("change",function(){Et.curOp||(Et.startOperation(),Et.curOp.selectionBefore=Et.$lastSel),Et.curOp.docChanged=!0},!0),this.on("changeSelection",function(){Et.curOp||(Et.startOperation(),Et.curOp.selectionBefore=Et.$lastSel),Et.curOp.selectionChanged=!0},!0),this.$operationResetTimer=V.delayedCall(this.endOperation.bind(this,!0))},qe.prototype.startOperation=function(Et){if(this.curOp){if(!Et||this.curOp.command)return;this.prevOp=this.curOp}Et||(Et={}),this.$operationResetTimer.schedule(),this.curOp={command:Et.command||{},args:Et.args},this.curOp.selectionBefore=this.selection.toJSON(),this._signal("startOperation",Et)},qe.prototype.endOperation=function(Et){if(this.curOp){if(Et&&Et.returnValue===!1){this.curOp=null,this._signal("endOperation",Et);return}if(Et==!0&&this.curOp.command&&this.curOp.command.name=="mouse")return;var kt=this.selection.toJSON();this.curOp.selectionAfter=kt,this.$lastSel=this.selection.toJSON(),this.getUndoManager().addSelection(kt),this._signal("beforeEndOperation"),this.prevOp=this.curOp,this.curOp=null,this._signal("endOperation",Et)}},qe.prototype.setDocument=function(Et){this.doc&&this.doc.off("change",this.$onChange),this.doc=Et,Et.on("change",this.$onChange,!0),this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},qe.prototype.getDocument=function(){return this.doc},Object.defineProperty(qe.prototype,"widgetManager",{get:function(){var Et=new de(this);return this.widgetManager=Et,this.$editor&&Et.attach(this.$editor),Et},set:function(Et){Object.defineProperty(this,"widgetManager",{writable:!0,enumerable:!0,configurable:!0,value:Et})},enumerable:!1,configurable:!0}),qe.prototype.$resetRowCache=function(Et){if(!Et){this.$docRowCache=[],this.$screenRowCache=[];return}var kt=this.$docRowCache.length,At=this.$getRowCacheIndex(this.$docRowCache,Et)+1;kt>At&&(this.$docRowCache.splice(At,kt),this.$screenRowCache.splice(At,kt))},qe.prototype.$getRowCacheIndex=function(Et,kt){for(var At=0,Dt=Et.length-1;At<=Dt;){var Lt=At+Dt>>1,jt=Et[Lt];if(kt>jt)At=Lt+1;else if(kt=kt));jt++);return Dt=At[jt],Dt?(Dt.index=jt,Dt.start=Lt-Dt.value.length,Dt):null},qe.prototype.setUndoManager=function(Et){if(this.$undoManager=Et,this.$informUndoManager&&this.$informUndoManager.cancel(),Et){var kt=this;Et.addSession(this),this.$syncInformUndoManager=function(){kt.$informUndoManager.cancel(),kt.mergeUndoDeltas=!1},this.$informUndoManager=V.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},qe.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},qe.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},qe.prototype.getTabString=function(){return this.getUseSoftTabs()?V.stringRepeat(" ",this.getTabSize()):" "},qe.prototype.setUseSoftTabs=function(Et){this.setOption("useSoftTabs",Et)},qe.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},qe.prototype.setTabSize=function(Et){this.setOption("tabSize",Et)},qe.prototype.getTabSize=function(){return this.$tabSize},qe.prototype.isTabStop=function(Et){return this.$useSoftTabs&&Et.column%this.$tabSize===0},qe.prototype.setNavigateWithinSoftTabs=function(Et){this.setOption("navigateWithinSoftTabs",Et)},qe.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},qe.prototype.setOverwrite=function(Et){this.setOption("overwrite",Et)},qe.prototype.getOverwrite=function(){return this.$overwrite},qe.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},qe.prototype.addGutterDecoration=function(Et,kt){this.$decorations[Et]||(this.$decorations[Et]=""),this.$decorations[Et]+=" "+kt,this._signal("changeBreakpoint",{})},qe.prototype.removeGutterCustomWidget=function(Et){this.$editor&&this.$editor.renderer.$gutterLayer.$removeCustomWidget(Et)},qe.prototype.addGutterCustomWidget=function(Et,kt){this.$editor&&this.$editor.renderer.$gutterLayer.$addCustomWidget(Et,kt)},qe.prototype.removeGutterDecoration=function(Et,kt){this.$decorations[Et]=(this.$decorations[Et]||"").replace(" "+kt,""),this._signal("changeBreakpoint",{})},qe.prototype.getBreakpoints=function(){return this.$breakpoints},qe.prototype.setBreakpoints=function(Et){this.$breakpoints=[];for(var kt=0;kt0&&(Dt=!!At.charAt(kt-1).match(this.tokenRe)),Dt||(Dt=!!At.charAt(kt).match(this.tokenRe)),Dt)var Lt=this.tokenRe;else if(/^\s+$/.test(At.slice(kt-1,kt+1)))var Lt=/\s/;else var Lt=this.nonTokenRe;var jt=kt;if(jt>0){do jt--;while(jt>=0&&At.charAt(jt).match(Lt));jt++}for(var hn=kt;hnEt&&(Et=kt.screenWidth)}),this.lineWidgetWidth=Et},qe.prototype.$computeWidth=function(Et){if(this.$modified||Et){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var kt=this.doc.getAllLines(),At=this.$rowLengthCache,Dt=0,Lt=0,jt=this.$foldData[Lt],hn=jt?jt.start.row:1/0,vn=kt.length,_n=0;_nhn){if(_n=jt.end.row+1,_n>=vn)break;jt=this.$foldData[Lt++],hn=jt?jt.start.row:1/0}At[_n]==null&&(At[_n]=this.$getStringScreenWidth(kt[_n])[0]),At[_n]>Dt&&(Dt=At[_n])}this.screenWidth=Dt}},qe.prototype.getLine=function(Et){return this.doc.getLine(Et)},qe.prototype.getLines=function(Et,kt){return this.doc.getLines(Et,kt)},qe.prototype.getLength=function(){return this.doc.getLength()},qe.prototype.getTextRange=function(Et){return this.doc.getTextRange(Et||this.selection.getRange())},qe.prototype.insert=function(Et,kt){return this.doc.insert(Et,kt)},qe.prototype.remove=function(Et){return this.doc.remove(Et)},qe.prototype.removeFullLines=function(Et,kt){return this.doc.removeFullLines(Et,kt)},qe.prototype.undoChanges=function(Et,kt){if(Et.length){this.$fromUndo=!0;for(var At=Et.length-1;At!=-1;At--){var Dt=Et[At];Dt.action=="insert"||Dt.action=="remove"?this.doc.revertDelta(Dt):Dt.folds&&this.addFolds(Dt.folds)}!kt&&this.$undoSelect&&(Et.selectionBefore?this.selection.fromJSON(Et.selectionBefore):this.selection.setRange(this.$getUndoSelection(Et,!0))),this.$fromUndo=!1}},qe.prototype.redoChanges=function(Et,kt){if(Et.length){this.$fromUndo=!0;for(var At=0;AtEt.end.column&&(jt.start.column+=vn),jt.end.row==Et.end.row&&jt.end.column>Et.end.column&&(jt.end.column+=vn)),hn&&jt.start.row>=Et.end.row&&(jt.start.row+=hn,jt.end.row+=hn)}if(jt.end=this.insert(jt.start,Dt),Lt.length){var _n=Et.start,wn=jt.start,hn=wn.row-_n.row,vn=wn.column-_n.column;this.addFolds(Lt.map(function(Sn){return Sn=Sn.clone(),Sn.start.row==_n.row&&(Sn.start.column+=vn),Sn.end.row==_n.row&&(Sn.end.column+=vn),Sn.start.row+=hn,Sn.end.row+=hn,Sn}))}return jt},qe.prototype.indentRows=function(Et,kt,At){At=At.replace(/\t/g,this.getTabString());for(var Dt=Et;Dt<=kt;Dt++)this.doc.insertInLine({row:Dt,column:0},At)},qe.prototype.outdentRows=function(Et){for(var kt=Et.collapseRows(),At=new ue(0,0,0,0),Dt=this.getTabSize(),Lt=kt.start.row;Lt<=kt.end.row;++Lt){var jt=this.getLine(Lt);At.start.row=Lt,At.end.row=Lt;for(var hn=0;hn0){var Dt=this.getRowFoldEnd(kt+At);if(Dt>this.doc.getLength()-1)return 0;var Lt=Dt-kt}else{Et=this.$clipRowToDocument(Et),kt=this.$clipRowToDocument(kt);var Lt=kt-Et+1}var jt=new ue(Et,0,kt,Number.MAX_VALUE),hn=this.getFoldsInRange(jt).map(function(_n){return _n=_n.clone(),_n.start.row+=Lt,_n.end.row+=Lt,_n}),vn=At==0?this.doc.getLines(Et,kt):this.doc.removeFullLines(Et,kt);return this.doc.insertFullLines(Et+Lt,vn),hn.length&&this.addFolds(hn),Lt},qe.prototype.moveLinesUp=function(Et,kt){return this.$moveLines(Et,kt,-1)},qe.prototype.moveLinesDown=function(Et,kt){return this.$moveLines(Et,kt,1)},qe.prototype.duplicateLines=function(Et,kt){return this.$moveLines(Et,kt,0)},qe.prototype.$clipRowToDocument=function(Et){return Math.max(0,Math.min(Et,this.doc.getLength()-1))},qe.prototype.$clipColumnToRow=function(Et,kt){return kt<0?0:Math.min(this.doc.getLine(Et).length,kt)},qe.prototype.$clipPositionToDocument=function(Et,kt){if(kt=Math.max(0,kt),Et<0)Et=0,kt=0;else{var At=this.doc.getLength();Et>=At?(Et=At-1,kt=this.doc.getLine(At-1).length):kt=Math.min(this.doc.getLine(Et).length,kt)}return{row:Et,column:kt}},qe.prototype.$clipRangeToDocument=function(Et){Et.start.row<0?(Et.start.row=0,Et.start.column=0):Et.start.column=this.$clipColumnToRow(Et.start.row,Et.start.column);var kt=this.doc.getLength()-1;return Et.end.row>kt?(Et.end.row=kt,Et.end.column=this.doc.getLine(kt).length):Et.end.column=this.$clipColumnToRow(Et.end.row,Et.end.column),Et},qe.prototype.setUseWrapMode=function(Et){if(Et!=this.$useWrapMode){if(this.$useWrapMode=Et,this.$modified=!0,this.$resetRowCache(0),Et){var kt=this.getLength();this.$wrapData=Array(kt),this.$updateWrapData(0,kt-1)}this._signal("changeWrapMode")}},qe.prototype.getUseWrapMode=function(){return this.$useWrapMode},qe.prototype.setWrapLimitRange=function(Et,kt){(this.$wrapLimitRange.min!==Et||this.$wrapLimitRange.max!==kt)&&(this.$wrapLimitRange={min:Et,max:kt},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},qe.prototype.adjustWrapLimit=function(Et,kt){var At=this.$wrapLimitRange;At.max<0&&(At={min:kt,max:kt});var Dt=this.$constrainWrapLimit(Et,At.min,At.max);return Dt!=this.$wrapLimit&&Dt>1?(this.$wrapLimit=Dt,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},qe.prototype.$constrainWrapLimit=function(Et,kt,At){return kt&&(Et=Math.max(kt,Et)),At&&(Et=Math.min(At,Et)),Et},qe.prototype.getWrapLimit=function(){return this.$wrapLimit},qe.prototype.setWrapLimit=function(Et){this.setWrapLimitRange(Et,Et)},qe.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},qe.prototype.$updateInternalDataOnChange=function(Et){var kt=this.$useWrapMode,At=Et.action,Dt=Et.start,Lt=Et.end,jt=Dt.row,hn=Lt.row,vn=hn-jt,_n=null;if(this.$updating=!0,vn!=0)if(At==="remove"){this[kt?"$wrapData":"$rowLengthCache"].splice(jt,vn);var wn=this.$foldData;_n=this.getFoldsInRange(Et),this.removeFolds(_n);var bn=this.getFoldLine(Lt.row),Cn=0;if(bn){bn.addRemoveChars(Lt.row,Lt.column,Dt.column-Lt.column),bn.shiftRow(-vn);var Sn=this.getFoldLine(jt);Sn&&Sn!==bn&&(Sn.merge(bn),bn=Sn),Cn=wn.indexOf(bn)+1}for(Cn;Cn=Lt.row&&bn.shiftRow(-vn)}hn=jt}else{var Tn=Array(vn);Tn.unshift(jt,0);var En=kt?this.$wrapData:this.$rowLengthCache;En.splice.apply(En,Tn);var wn=this.$foldData,bn=this.getFoldLine(jt),Cn=0;if(bn){var kn=bn.range.compareInside(Dt.row,Dt.column);kn==0?(bn=bn.split(Dt.row,Dt.column),bn&&(bn.shiftRow(vn),bn.addRemoveChars(hn,0,Lt.column-Dt.column))):kn==-1&&(bn.addRemoveChars(jt,0,Lt.column-Dt.column),bn.shiftRow(vn)),Cn=wn.indexOf(bn)+1}for(Cn;Cn=jt&&bn.shiftRow(vn)}}else{vn=Math.abs(Et.start.column-Et.end.column),At==="remove"&&(_n=this.getFoldsInRange(Et),this.removeFolds(_n),vn=-vn);var bn=this.getFoldLine(jt);bn&&bn.addRemoveChars(jt,Dt.column,vn)}return kt&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,kt?this.$updateWrapData(jt,hn):this.$updateRowLengthCache(jt,hn),_n},qe.prototype.$updateRowLengthCache=function(Et,kt){this.$rowLengthCache[Et]=null,this.$rowLengthCache[kt]=null},qe.prototype.$updateWrapData=function(Et,kt){var At=this.doc.getAllLines(),Dt=this.getTabSize(),Lt=this.$wrapData,jt=this.$wrapLimit,hn,vn,_n=Et;for(kt=Math.min(kt,At.length-1);_n<=kt;)vn=this.getFoldLine(_n,vn),vn?(hn=[],vn.walk((function(wn,bn,Cn,Sn){var Tn;if(wn!=null){Tn=this.$getDisplayTokens(wn,hn.length),Tn[0]=Oe;for(var En=1;Enkt-Sn;){var Tn=jt+kt-Sn;if(Et[Tn-1]>=Ue&&Et[Tn]>=Ue){Cn(Tn);continue}if(Et[Tn]==Oe||Et[Tn]==$e){for(Tn;Tn!=jt-1&&Et[Tn]!=Oe;Tn--);if(Tn>jt){Cn(Tn);continue}for(Tn=jt+kt,Tn;Tn>2)),jt-1);Tn>En&&Et[Tn]En&&Et[Tn]En&&Et[Tn]==Ve;)Tn--}else for(;Tn>En&&Et[Tn]En){Cn(++Tn);continue}Tn=jt+kt,Et[Tn]==Ne&&Tn--,Cn(Tn-Sn)}return Dt},qe.prototype.$getDisplayTokens=function(Et,kt){var At=[],Dt;kt=kt||0;for(var Lt=0;Lt39&&jt<48||jt>57&&jt<64?At.push(Ve):jt>=4352&&Pt(jt)?At.push(Ie,Ne):At.push(Ie)}return At},qe.prototype.$getStringScreenWidth=function(Et,kt,At){if(kt==0)return[0,0];kt==null&&(kt=1/0),At=At||0;var Dt,Lt;for(Lt=0;Lt=4352&&Pt(Dt)?At+=2:At+=1,!(At>kt));Lt++);return[At,Lt]},qe.prototype.getRowLength=function(Et){var kt=1;return this.lineWidgets&&(kt+=this.lineWidgets[Et]&&this.lineWidgets[Et].rowCount||0),!this.$useWrapMode||!this.$wrapData[Et]?kt:this.$wrapData[Et].length+kt},qe.prototype.getRowLineCount=function(Et){return!this.$useWrapMode||!this.$wrapData[Et]?1:this.$wrapData[Et].length+1},qe.prototype.getRowWrapIndent=function(Et){if(this.$useWrapMode){var kt=this.screenToDocumentPosition(Et,Number.MAX_VALUE),At=this.$wrapData[kt.row];return At.length&&At[0]=0)var vn=wn[bn],Lt=this.$docRowCache[bn],Sn=Et>wn[Cn-1];else var Sn=!Cn;for(var Tn=this.getLength()-1,En=this.getNextFoldLine(Lt),kn=En?En.start.row:1/0;vn<=Et&&(_n=this.getRowLength(Lt),!(vn+_n>Et||Lt>=Tn));)vn+=_n,Lt++,Lt>kn&&(Lt=En.end.row+1,En=this.getNextFoldLine(Lt,En),kn=En?En.start.row:1/0),Sn&&(this.$docRowCache.push(Lt),this.$screenRowCache.push(vn));if(En&&En.start.row<=Lt)Dt=this.getFoldDisplayLine(En),Lt=En.start.row;else{if(vn+_n<=Et||Lt>Tn)return{row:Tn,column:this.getLine(Tn).length};Dt=this.getLine(Lt),En=null}var $n=0,An=Math.floor(Et-vn);if(this.$useWrapMode){var xn=this.$wrapData[Lt];xn&&(hn=xn[An],An>0&&xn.length&&($n=xn.indent,jt=xn[An-1]||xn[xn.length-1],Dt=Dt.substring(jt)))}return At!==void 0&&this.$bidiHandler.isBidiRow(vn+An,Lt,An)&&(kt=this.$bidiHandler.offsetToCol(At)),jt+=this.$getStringScreenWidth(Dt,kt-$n)[1],this.$useWrapMode&&jt>=hn&&(jt=hn-1),En?En.idxToPosition(jt):{row:Lt,column:jt}},qe.prototype.documentToScreenPosition=function(Et,kt){if(typeof kt>"u")var At=this.$clipPositionToDocument(Et.row,Et.column);else At=this.$clipPositionToDocument(Et,kt);Et=At.row,kt=At.column;var Dt=0,Lt=null,jt=null;jt=this.getFoldAt(Et,kt,1),jt&&(Et=jt.start.row,kt=jt.start.column);var hn,vn=0,_n=this.$docRowCache,wn=this.$getRowCacheIndex(_n,Et),bn=_n.length;if(bn&&wn>=0)var vn=_n[wn],Dt=this.$screenRowCache[wn],Cn=Et>_n[bn-1];else var Cn=!bn;for(var Sn=this.getNextFoldLine(vn),Tn=Sn?Sn.start.row:1/0;vn=Tn){if(hn=Sn.end.row+1,hn>Et)break;Sn=this.getNextFoldLine(hn,Sn),Tn=Sn?Sn.start.row:1/0}else hn=vn+1;Dt+=this.getRowLength(vn),vn=hn,Cn&&(this.$docRowCache.push(vn),this.$screenRowCache.push(Dt))}var En="";Sn&&vn>=Tn?(En=this.getFoldDisplayLine(Sn,Et,kt),Lt=Sn.start.row):(En=this.getLine(Et).substring(0,kt),Lt=Et);var kn=0;if(this.$useWrapMode){var $n=this.$wrapData[Lt];if($n){for(var An=0;En.length>=$n[An];)Dt++,An++;En=En.substring($n[An-1]||0,En.length),kn=An>0?$n.indent:0}}return this.lineWidgets&&this.lineWidgets[vn]&&this.lineWidgets[vn].rowsAbove&&(Dt+=this.lineWidgets[vn].rowsAbove),{row:Dt,column:kn+this.$getStringScreenWidth(En)[0]}},qe.prototype.documentToScreenColumn=function(Et,kt){return this.documentToScreenPosition(Et,kt).column},qe.prototype.documentToScreenRow=function(Et,kt){return this.documentToScreenPosition(Et,kt).row},qe.prototype.getScreenLength=function(){var Et=0,kt=null;if(this.$useWrapMode)for(var Lt=this.$wrapData.length,jt=0,Dt=0,kt=this.$foldData[Dt++],hn=kt?kt.start.row:1/0;jthn&&(jt=kt.end.row+1,kt=this.$foldData[Dt++],hn=kt?kt.start.row:1/0)}else{Et=this.getLength();for(var At=this.$foldData,Dt=0;DtAt));jt++);return[Dt,jt]})},qe.prototype.getPrecedingCharacter=function(){var Et=this.selection.getCursor();if(Et.column===0)return Et.row===0?"":this.doc.getNewLineCharacter();var kt=this.getLine(Et.row);return kt[Et.column-1]},qe.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.endOperation(),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection&&(this.selection.off("changeCursor",this.$onSelectionChange),this.selection.off("changeSelection",this.$onSelectionChange)),this.selection.detach()},qe}();xe.$uid=0,xe.prototype.$modes=ie.$modes,xe.prototype.getValue=xe.prototype.toString,xe.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},xe.prototype.$overwrite=!1,xe.prototype.$mode=null,xe.prototype.$modeId=null,xe.prototype.$scrollTop=0,xe.prototype.$scrollLeft=0,xe.prototype.$wrapLimit=80,xe.prototype.$useWrapMode=!1,xe.prototype.$wrapLimitRange={min:null,max:null},xe.prototype.lineWidgets=null,xe.prototype.isFullWidth=Pt,$.implement(xe.prototype,ae);var Ie=1,Ne=2,Oe=3,$e=4,Ve=9,Ue=10,Fe=11,ze=12;function Pt(qe){return qe<4352?!1:qe>=4352&&qe<=4447||qe>=4515&&qe<=4519||qe>=4602&&qe<=4607||qe>=9001&&qe<=9002||qe>=11904&&qe<=11929||qe>=11931&&qe<=12019||qe>=12032&&qe<=12245||qe>=12272&&qe<=12283||qe>=12288&&qe<=12350||qe>=12353&&qe<=12438||qe>=12441&&qe<=12543||qe>=12549&&qe<=12589||qe>=12593&&qe<=12686||qe>=12688&&qe<=12730||qe>=12736&&qe<=12771||qe>=12784&&qe<=12830||qe>=12832&&qe<=12871||qe>=12880&&qe<=13054||qe>=13056&&qe<=19903||qe>=19968&&qe<=42124||qe>=42128&&qe<=42182||qe>=43360&&qe<=43388||qe>=44032&&qe<=55203||qe>=55216&&qe<=55238||qe>=55243&&qe<=55291||qe>=63744&&qe<=64255||qe>=65040&&qe<=65049||qe>=65072&&qe<=65106||qe>=65108&&qe<=65126||qe>=65128&&qe<=65131||qe>=65281&&qe<=65376||qe>=65504&&qe<=65510}r("./edit_session/folding").Folding.call(xe.prototype),r("./edit_session/bracket_match").BracketMatch.call(xe.prototype),ie.defineOptions(xe.prototype,"session",{wrap:{set:function(qe){if(!qe||qe=="off"?qe=!1:qe=="free"?qe=!0:qe=="printMargin"?qe=-1:typeof qe=="string"&&(qe=parseInt(qe,10)||!1),this.$wrap!=qe)if(this.$wrap=qe,!qe)this.setUseWrapMode(!1);else{var Et=typeof qe=="number"?qe:null;this.setWrapLimitRange(Et,Et),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(qe){qe=qe=="auto"?this.$mode.type!="text":qe!="text",qe!=this.$wrapAsCode&&(this.$wrapAsCode=qe,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(qe){this.$useWorker=qe,this.$stopWorker(),qe&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(qe){qe=parseInt(qe),qe>0&&this.$tabSize!==qe&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=qe,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(qe){this.setFoldStyle(qe)},handlesSet:!0},overwrite:{set:function(qe){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(qe){this.doc.setNewLineMode(qe)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(qe){this.setMode(qe)},get:function(){return this.$modeId},handlesSet:!0}}),i.EditSession=xe}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(r,i,g){var $=r("./lib/lang"),V=r("./lib/oop"),re=r("./range").Range,ie=function(){function ue(){this.$options={}}return ue.prototype.set=function(de){return V.mixin(this.$options,de),this},ue.prototype.getOptions=function(){return $.copyObject(this.$options)},ue.prototype.setOptions=function(de){this.$options=de},ue.prototype.find=function(de){var he=this.$options,pe=this.$matchIterator(de,he);if(!pe)return!1;var _e=null;return pe.forEach(function(Ce,xe,Ie,Ne){return _e=new re(Ce,xe,Ie,Ne),xe==Ne&&he.start&&he.start.start&&he.skipCurrent!=!1&&_e.isEqual(he.start)?(_e=null,!1):!0}),_e},ue.prototype.findAll=function(de){var he=this.$options;if(!he.needle)return[];this.$assembleRegExp(he);var pe=he.range,_e=pe?de.getLines(pe.start.row,pe.end.row):de.doc.getAllLines(),Ce=[],xe=he.re;if(he.$isMultiLine){var Ie=xe.length,Ne=_e.length-Ie,Oe;e:for(var $e=xe.offset||0;$e<=Ne;$e++){for(var Ve=0;Veze||(Ce.push(Oe=new re($e,ze,$e+Ie-1,Pt)),Ie>2&&($e=$e+Ie-2))}}else for(var qe,Et=0;Et<_e.length;Et++)if(this.$isMultilineSearch(he)){var kt=_e.length-1;if(qe=this.$multiLineForward(de,xe,Et,kt),qe){var At=qe.endRow<=kt?qe.endRow-1:kt;At>Et&&(Et=At),Ce.push(new re(qe.startRow,qe.startCol,qe.endRow,qe.endCol))}}else{qe=$.getMatchOffsets(_e[Et],xe);for(var Ve=0;Vejt&&Ce[Ve].end.row==hn;)Ve--;for(Ce=Ce.slice(Et,Ve+1),Et=0,Ve=Ce.length;Et=Ce){pe+="\\";break}var Ie=de.charCodeAt(_e);switch(Ie){case he.Backslash:pe+="\\";break;case he.n:pe+=` -`;break;case he.t:pe+=" ";break}continue}if(xe===he.DollarSign){if(_e++,_e>=Ce){pe+="$";break}var Ne=de.charCodeAt(_e);if(Ne===he.DollarSign){pe+="$$";continue}if(Ne===he.Digit0||Ne===he.Ampersand){pe+="$&";continue}if(he.Digit1<=Ne&&Ne<=he.Digit9){pe+="$"+de[_e];continue}}pe+=de[_e]}return pe||de},ue.prototype.replace=function(de,he){var pe=this.$options,_e=this.$assembleRegExp(pe);if(pe.$isMultiLine)return he;if(_e){var Ce=this.$isMultilineSearch(pe);Ce&&(de=de.replace(/\r\n|\r|\n/g,` -`));var xe=_e.exec(de);if(!xe||!Ce&&xe[0].length!=de.length)return null;if(he=pe.regExp?this.parseReplaceString(he):he.replace(/\$/g,"$$$$"),he=de.replace(_e,he),pe.preserveCase){he=he.split("");for(var Ie=Math.min(de.length,de.length);Ie--;){var Ne=de[Ie];Ne&&Ne.toLowerCase()!=Ne?he[Ie]=he[Ie].toUpperCase():he[Ie]=he[Ie].toLowerCase()}he=he.join("")}return he}},ue.prototype.$assembleRegExp=function(de,he){if(de.needle instanceof RegExp)return de.re=de.needle;var pe=de.needle;if(!de.needle)return de.re=!1;de.regExp||(pe=$.escapeRegExp(pe));var _e=de.caseSensitive?"gm":"gmi";try{new RegExp(pe,"u"),de.$supportsUnicodeFlag=!0,_e+="u"}catch{de.$supportsUnicodeFlag=!1}if(de.wholeWord&&(pe=ae(pe,de)),de.$isMultiLine=!he&&/[\n\r]/.test(pe),de.$isMultiLine)return de.re=this.$assembleMultilineRegExp(pe,_e);try{var Ce=new RegExp(pe,_e)}catch{Ce=!1}return de.re=Ce},ue.prototype.$assembleMultilineRegExp=function(de,he){for(var pe=de.replace(/\r\n|\r|\n/g,`$ -^`).split(` -`),_e=[],Ce=0;Ce_e);Ne++){var Oe=de.getLine(Ie++);Ce=Ce==null?Oe:Ce+` -`+Oe}var $e=he.exec(Ce);if(he.lastIndex=0,$e){var Ve=Ce.slice(0,$e.index).split(` -`),Ue=$e[0].split(` -`),Fe=pe+Ve.length-1,ze=Ve[Ve.length-1].length,Pt=Fe+Ue.length-1,qe=Ue.length==1?ze+Ue[0].length:Ue[Ue.length-1].length;return{startRow:Fe,startCol:ze,endRow:Pt,endCol:qe}}}return null},ue.prototype.$multiLineBackward=function(de,he,pe,_e,Ce){for(var xe,Ie=le(de,_e),Ne=de.getLine(_e).length-pe,Oe=_e;Oe>=Ce;){for(var $e=0;$e=Ce;$e++){var Ve=de.getLine(Oe--);xe=xe==null?Ve:Ve+` -`+xe}var Ue=oe(xe,he,Ne);if(Ue){var Fe=xe.slice(0,Ue.index).split(` -`),ze=Ue[0].split(` -`),Pt=Oe+Fe.length,qe=Fe[Fe.length-1].length,Et=Pt+ze.length-1,kt=ze.length==1?qe+ze[0].length:ze[ze.length-1].length;return{startRow:Pt,startCol:qe,endRow:Et,endCol:kt}}}return null},ue.prototype.$matchIterator=function(de,he){var pe=this.$assembleRegExp(he);if(!pe)return!1;var _e=this.$isMultilineSearch(he),Ce=this.$multiLineForward,xe=this.$multiLineBackward,Ie=he.backwards==!0,Ne=he.skipCurrent!=!1,Oe=pe.unicode,$e=he.range,Ve=he.start;Ve||(Ve=$e?$e[Ie?"end":"start"]:de.selection.getRange()),Ve.start&&(Ve=Ve[Ne!=Ie?"end":"start"]);var Ue=$e?$e.start.row:0,Fe=$e?$e.end.row:de.getLength()-1;if(Ie)var ze=function(Et){var kt=Ve.row;if(!qe(kt,Ve.column,Et)){for(kt--;kt>=Ue;kt--)if(qe(kt,Number.MAX_VALUE,Et))return;if(he.wrap!=!1){for(kt=Fe,Ue=Ve.row;kt>=Ue;kt--)if(qe(kt,Number.MAX_VALUE,Et))return}}};else var ze=function(kt){var At=Ve.row;if(!qe(At,Ve.column,kt)){for(At=At+1;At<=Fe;At++)if(qe(At,0,kt))return;if(he.wrap!=!1){for(At=Ue,Fe=Ve.row;At<=Fe;At++)if(qe(At,0,kt))return}}};if(he.$isMultiLine)var Pt=pe.length,qe=function(Et,kt,At){var Dt=Ie?Et-Pt+1:Et;if(!(Dt<0||Dt+Pt>de.getLength())){var Lt=de.getLine(Dt),jt=Lt.search(pe[0]);if(!(!Ie&&jtkt)&&At(Dt,jt,Dt+Pt-1,vn))return!0}}};else if(Ie)var qe=function(kt,At,Dt){if(_e){var Lt=xe(de,pe,At,kt,Ue);if(!Lt)return!1;if(Dt(Lt.startRow,Lt.startCol,Lt.endRow,Lt.endCol))return!0}else{var jt=de.getLine(kt),hn=[],vn,_n=0;for(pe.lastIndex=0;vn=pe.exec(jt);){var wn=vn[0].length;if(_n=vn.index,!wn){if(_n>=jt.length)break;pe.lastIndex=_n+=$.skipEmptyMatch(jt,_n,Oe)}if(vn.index+wn>At)break;hn.push(vn.index,wn)}for(var bn=hn.length-1;bn>=0;bn-=2){var Cn=hn[bn-1],wn=hn[bn];if(Dt(kt,Cn,kt,Cn+wn))return!0}}};else var qe=function(kt,At,Dt){if(pe.lastIndex=At,_e){var Lt=Ce(de,pe,kt,Fe);if(Lt){var jt=Lt.endRow<=Fe?Lt.endRow-1:Fe;jt>kt&&(kt=jt)}if(!Lt)return!1;if(Dt(Lt.startRow,Lt.startCol,Lt.endRow,Lt.endCol))return!0}else for(var hn=de.getLine(kt),vn,_n;_n=pe.exec(hn);){var wn=_n[0].length;if(vn=_n.index,Dt(kt,vn,kt,vn+wn))return!0;if(!wn&&(pe.lastIndex=vn+=$.skipEmptyMatch(hn,vn,Oe),vn>=hn.length))return!1}};return{forEach:ze}},ue}();function ae(ue,de){var he=$.supportsLookbehind();function pe(Ie,Ne){Ne===void 0&&(Ne=!0);var Oe=he&&de.$supportsUnicodeFlag?new RegExp("[\\p{L}\\p{N}_]","u"):new RegExp("\\w");return Oe.test(Ie)||de.regExp?he&&de.$supportsUnicodeFlag?Ne?"(?<=^|[^\\p{L}\\p{N}_])":"(?=[^\\p{L}\\p{N}_]|$)":"\\b":""}var _e=Array.from(ue),Ce=_e[0],xe=_e[_e.length-1];return pe(Ce)+ue+pe(xe,!1)}function oe(ue,de,he){for(var pe=null,_e=0;_e<=ue.length;){de.lastIndex=_e;var Ce=de.exec(ue);if(!Ce)break;var xe=Ce.index+Ce[0].length;if(xe>ue.length-he)break;(!pe||xe>pe.index+pe[0].length)&&(pe=Ce),_e=Ce.index+1}return pe}function le(ue,de){var he=5e3,pe={row:de,column:0},_e=ue.doc.positionToIndex(pe),Ce=_e+he,xe=ue.doc.indexToPosition(Ce),Ie=xe.row;return Ie+1}i.Search=ie}),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],function(r,i,g){var $=this&&this.__extends||function(){var ue=function(de,he){return ue=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(pe,_e){pe.__proto__=_e}||function(pe,_e){for(var Ce in _e)Object.prototype.hasOwnProperty.call(_e,Ce)&&(pe[Ce]=_e[Ce])},ue(de,he)};return function(de,he){if(typeof he!="function"&&he!==null)throw new TypeError("Class extends value "+String(he)+" is not a constructor or null");ue(de,he);function pe(){this.constructor=de}de.prototype=he===null?Object.create(he):(pe.prototype=he.prototype,new pe)}}(),V=r("../lib/keys"),re=r("../lib/useragent"),ie=V.KEY_MODS,ae=function(){function ue(de,he){this.$init(de,he,!1)}return ue.prototype.$init=function(de,he,pe){this.platform=he||(re.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(de),this.$singleCommand=pe},ue.prototype.addCommand=function(de){this.commands[de.name]&&this.removeCommand(de),this.commands[de.name]=de,de.bindKey&&this._buildKeyHash(de)},ue.prototype.removeCommand=function(de,he){var pe=de&&(typeof de=="string"?de:de.name);de=this.commands[pe],he||delete this.commands[pe];var _e=this.commandKeyBinding;for(var Ce in _e){var xe=_e[Ce];if(xe==de)delete _e[Ce];else if(Array.isArray(xe)){var Ie=xe.indexOf(de);Ie!=-1&&(xe.splice(Ie,1),xe.length==1&&(_e[Ce]=xe[0]))}}},ue.prototype.bindKey=function(de,he,pe){if(typeof de=="object"&&de&&(pe==null&&(pe=de.position),de=de[this.platform]),!!de){if(typeof he=="function")return this.addCommand({exec:he,bindKey:de,name:he.name||de});de.split("|").forEach(function(_e){var Ce="";if(_e.indexOf(" ")!=-1){var xe=_e.split(/\s+/);_e=xe.pop(),xe.forEach(function(Oe){var $e=this.parseKeys(Oe),Ve=ie[$e.hashId]+$e.key;Ce+=(Ce?" ":"")+Ve,this._addCommandToBinding(Ce,"chainKeys")},this),Ce+=" "}var Ie=this.parseKeys(_e),Ne=ie[Ie.hashId]+Ie.key;this._addCommandToBinding(Ce+Ne,he,pe)},this)}},ue.prototype._addCommandToBinding=function(de,he,pe){var _e=this.commandKeyBinding,Ce;if(!he)delete _e[de];else if(!_e[de]||this.$singleCommand)_e[de]=he;else{Array.isArray(_e[de])?(Ce=_e[de].indexOf(he))!=-1&&_e[de].splice(Ce,1):_e[de]=[_e[de]],typeof pe!="number"&&(pe=oe(he));var xe=_e[de];for(Ce=0;Cepe)break}xe.splice(Ce,0,he)}},ue.prototype.addCommands=function(de){de&&Object.keys(de).forEach(function(he){var pe=de[he];if(pe){if(typeof pe=="string")return this.bindKey(pe,he);typeof pe=="function"&&(pe={exec:pe}),typeof pe=="object"&&(pe.name||(pe.name=he),this.addCommand(pe))}},this)},ue.prototype.removeCommands=function(de){Object.keys(de).forEach(function(he){this.removeCommand(de[he])},this)},ue.prototype.bindKeys=function(de){Object.keys(de).forEach(function(he){this.bindKey(he,de[he])},this)},ue.prototype._buildKeyHash=function(de){this.bindKey(de.bindKey,de)},ue.prototype.parseKeys=function(de){var he=de.toLowerCase().split(/[\-\+]([\-\+])?/).filter(function(Ne){return Ne}),pe=he.pop(),_e=V[pe];if(V.FUNCTION_KEYS[_e])pe=V.FUNCTION_KEYS[_e].toLowerCase();else if(he.length){if(he.length==1&&he[0]=="shift")return{key:pe.toUpperCase(),hashId:-1}}else return{key:pe,hashId:-1};for(var Ce=0,xe=he.length;xe--;){var Ie=V.KEY_MODS[he[xe]];if(Ie==null)return typeof console<"u"&&console.error("invalid modifier "+he[xe]+" in "+de),!1;Ce|=Ie}return{key:pe,hashId:Ce}},ue.prototype.findKeyCommand=function(de,he){var pe=ie[de]+he;return this.commandKeyBinding[pe]},ue.prototype.handleKeyboard=function(de,he,pe,_e){if(!(_e<0)){var Ce=ie[he]+pe,xe=this.commandKeyBinding[Ce];return de.$keyChain&&(de.$keyChain+=" "+Ce,xe=this.commandKeyBinding[de.$keyChain]||xe),xe&&(xe=="chainKeys"||xe[xe.length-1]=="chainKeys")?(de.$keyChain=de.$keyChain||Ce,{command:"null"}):(de.$keyChain&&((!he||he==4)&&pe.length==1?de.$keyChain=de.$keyChain.slice(0,-Ce.length-1):(he==-1||_e>0)&&(de.$keyChain="")),{command:xe})}},ue.prototype.getStatusText=function(de,he){return he.$keyChain||""},ue}();function oe(ue){return typeof ue=="object"&&ue.bindKey&&ue.bindKey.position||(ue.isDefault?-100:0)}var le=function(ue){$(de,ue);function de(he,pe){var _e=ue.call(this,he,pe)||this;return _e.$singleCommand=!0,_e}return de}(ae);le.call=function(ue,de,he){ae.prototype.$init.call(ue,de,he,!0)},ae.call=function(ue,de,he){ae.prototype.$init.call(ue,de,he,!1)},i.HashHandler=le,i.MultiHashHandler=ae}),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],function(r,i,g){var $=this&&this.__extends||function(){var oe=function(le,ue){return oe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(de,he){de.__proto__=he}||function(de,he){for(var pe in he)Object.prototype.hasOwnProperty.call(he,pe)&&(de[pe]=he[pe])},oe(le,ue)};return function(le,ue){if(typeof ue!="function"&&ue!==null)throw new TypeError("Class extends value "+String(ue)+" is not a constructor or null");oe(le,ue);function de(){this.constructor=le}le.prototype=ue===null?Object.create(ue):(de.prototype=ue.prototype,new de)}}(),V=r("../lib/oop"),re=r("../keyboard/hash_handler").MultiHashHandler,ie=r("../lib/event_emitter").EventEmitter,ae=function(oe){$(le,oe);function le(ue,de){var he=oe.call(this,de,ue)||this;return he.byName=he.commands,he.setDefaultHandler("exec",function(pe){return pe.args?pe.command.exec(pe.editor,pe.args,pe.event,!1):pe.command.exec(pe.editor,{},pe.event,!0)}),he}return le.prototype.exec=function(ue,de,he){if(Array.isArray(ue)){for(var pe=ue.length;pe--;)if(this.exec(ue[pe],de,he))return!0;return!1}typeof ue=="string"&&(ue=this.commands[ue]);var _e={editor:de,command:ue,args:he};return this.canExecute(ue,de)?(_e.returnValue=this._emit("exec",_e),this._signal("afterExec",_e),_e.returnValue!==!1):(this._signal("commandUnavailable",_e),!1)},le.prototype.canExecute=function(ue,de){return typeof ue=="string"&&(ue=this.commands[ue]),!(!ue||de&&de.$readOnly&&!ue.readOnly||this.$checkCommandState!=!1&&ue.isAvailable&&!ue.isAvailable(de))},le.prototype.toggleRecording=function(ue){if(!this.$inReplay)return ue&&ue._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=(function(de){this.macro.push([de.command,de.args])}).bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},le.prototype.replay=function(ue){if(!(this.$inReplay||!this.macro)){if(this.recording)return this.toggleRecording(ue);try{this.$inReplay=!0,this.macro.forEach(function(de){typeof de=="string"?this.exec(de,ue):this.exec(de[0],ue,de[1])},this)}finally{this.$inReplay=!1}}},le.prototype.trimMacro=function(ue){return ue.map(function(de){return typeof de[0]!="string"&&(de[0]=de[0].name),de[1]||(de=de[0]),de})},le}(re);V.implement(ae.prototype,ie),i.CommandManager=ae}),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],function(r,i,g){var $=r("../lib/lang"),V=r("../config"),re=r("../range").Range;function ie(oe,le){return{win:oe,mac:le}}i.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:ie("Ctrl-,","Command-,"),exec:function(oe){V.loadModule("ace/ext/settings_menu",function(le){le.init(oe),oe.showSettingsMenu()})},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:ie("Alt-E","F4"),exec:function(oe){V.loadModule("ace/ext/error_marker",function(le){le.showErrorMarker(oe,1)})},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:ie("Alt-Shift-E","Shift-F4"),exec:function(oe){V.loadModule("ace/ext/error_marker",function(le){le.showErrorMarker(oe,-1)})},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:ie("Ctrl-A","Command-A"),exec:function(oe){oe.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:ie(null,"Ctrl-L"),exec:function(oe){oe.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:ie("Ctrl-L","Command-L"),exec:function(oe,le){typeof le=="number"&&!isNaN(le)&&oe.gotoLine(le),oe.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:ie("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(oe){oe.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:ie("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(oe){oe.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:ie("F2","F2"),exec:function(oe){oe.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:ie("Alt-F2","Alt-F2"),exec:function(oe){oe.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:ie(null,"Ctrl-Command-Option-0"),exec:function(oe){oe.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:ie(null,"Ctrl-Command-Option-0"),exec:function(oe){oe.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:ie("Alt-0","Command-Option-0"),exec:function(oe){oe.session.foldAll(),oe.session.unfold(oe.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:ie("Alt-Shift-0","Command-Option-Shift-0"),exec:function(oe){oe.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:ie("Ctrl-K","Command-G"),exec:function(oe){oe.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:ie("Ctrl-Shift-K","Command-Shift-G"),exec:function(oe){oe.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:ie("Alt-K","Ctrl-G"),exec:function(oe){oe.selection.isEmpty()?oe.selection.selectWord():oe.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:ie("Alt-Shift-K","Ctrl-Shift-G"),exec:function(oe){oe.selection.isEmpty()?oe.selection.selectWord():oe.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:ie("Ctrl-F","Command-F"),exec:function(oe){V.loadModule("ace/ext/searchbox",function(le){le.Search(oe)})},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(oe){oe.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:ie("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(oe){oe.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:ie("Ctrl-Home","Command-Home|Command-Up"),exec:function(oe){oe.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:ie("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(oe){oe.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:ie("Up","Up|Ctrl-P"),exec:function(oe,le){oe.navigateUp(le.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:ie("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(oe){oe.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:ie("Ctrl-End","Command-End|Command-Down"),exec:function(oe){oe.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:ie("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(oe){oe.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:ie("Down","Down|Ctrl-N"),exec:function(oe,le){oe.navigateDown(le.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:ie("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(oe){oe.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:ie("Ctrl-Left","Option-Left"),exec:function(oe){oe.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:ie("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(oe){oe.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:ie("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(oe){oe.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:ie("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(oe){oe.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:ie("Left","Left|Ctrl-B"),exec:function(oe,le){oe.navigateLeft(le.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:ie("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(oe){oe.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:ie("Ctrl-Right","Option-Right"),exec:function(oe){oe.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:ie("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(oe){oe.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:ie("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(oe){oe.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:ie("Shift-Right","Shift-Right"),exec:function(oe){oe.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:ie("Right","Right|Ctrl-F"),exec:function(oe,le){oe.navigateRight(le.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(oe){oe.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:ie(null,"Option-PageDown"),exec:function(oe){oe.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:ie("PageDown","PageDown|Ctrl-V"),exec:function(oe){oe.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(oe){oe.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:ie(null,"Option-PageUp"),exec:function(oe){oe.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(oe){oe.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:ie("Ctrl-Up",null),exec:function(oe){oe.renderer.scrollBy(0,-2*oe.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:ie("Ctrl-Down",null),exec:function(oe){oe.renderer.scrollBy(0,2*oe.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(oe){oe.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(oe){oe.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:ie("Ctrl-Alt-E","Command-Option-E"),exec:function(oe){oe.commands.toggleRecording(oe)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:ie("Ctrl-Shift-E","Command-Shift-E"),exec:function(oe){oe.commands.replay(oe)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:ie("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(oe){oe.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:ie("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(oe){oe.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:ie("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(oe){oe.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:ie(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(oe){},readOnly:!0},{name:"cut",description:"Cut",exec:function(oe){var le=oe.$copyWithEmptySelection&&oe.selection.isEmpty(),ue=le?oe.selection.getLineRange():oe.selection.getRange();oe._emit("cut",ue),ue.isEmpty()||oe.session.remove(ue),oe.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(oe,le){oe.$handlePaste(le)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:ie("Ctrl-D","Command-D"),exec:function(oe){oe.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:ie("Ctrl-Shift-D","Command-Shift-D"),exec:function(oe){oe.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:ie("Ctrl-Alt-S","Command-Alt-S"),exec:function(oe){oe.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:ie("Ctrl-/","Command-/"),exec:function(oe){oe.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:ie("Ctrl-Shift-/","Command-Shift-/"),exec:function(oe){oe.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:ie("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(oe){oe.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:ie("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(oe){oe.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:ie("Ctrl-H","Command-Option-F"),exec:function(oe){V.loadModule("ace/ext/searchbox",function(le){le.Search(oe,!0)})}},{name:"undo",description:"Undo",bindKey:ie("Ctrl-Z","Command-Z"),exec:function(oe){oe.undo()}},{name:"redo",description:"Redo",bindKey:ie("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(oe){oe.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:ie("Alt-Shift-Up","Command-Option-Up"),exec:function(oe){oe.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:ie("Alt-Up","Option-Up"),exec:function(oe){oe.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:ie("Alt-Shift-Down","Command-Option-Down"),exec:function(oe){oe.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:ie("Alt-Down","Option-Down"),exec:function(oe){oe.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:ie("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(oe){oe.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:ie("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(oe){oe.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:ie("Shift-Delete",null),exec:function(oe){if(oe.selection.isEmpty())oe.remove("left");else return!1},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:ie("Alt-Backspace","Command-Backspace"),exec:function(oe){oe.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:ie("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(oe){oe.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:ie("Ctrl-Shift-Backspace",null),exec:function(oe){var le=oe.selection.getRange();le.start.column=0,oe.session.remove(le)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:ie("Ctrl-Shift-Delete",null),exec:function(oe){var le=oe.selection.getRange();le.end.column=Number.MAX_VALUE,oe.session.remove(le)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:ie("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(oe){oe.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:ie("Ctrl-Delete","Alt-Delete"),exec:function(oe){oe.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:ie("Shift-Tab","Shift-Tab"),exec:function(oe){oe.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:ie("Tab","Tab"),exec:function(oe){oe.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:ie("Ctrl-[","Ctrl-["),exec:function(oe){oe.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:ie("Ctrl-]","Ctrl-]"),exec:function(oe){oe.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(oe,le){oe.insert(le)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(oe,le){oe.insert($.stringRepeat(le.text||"",le.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:ie(null,"Ctrl-O"),exec:function(oe){oe.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:ie("Alt-Shift-X","Ctrl-T"),exec:function(oe){oe.transposeLetters()},multiSelectAction:function(oe){oe.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:ie("Ctrl-U","Ctrl-U"),exec:function(oe){oe.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:ie("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(oe){oe.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:ie(null,null),exec:function(oe){oe.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:ie("Ctrl-Shift-L","Command-Shift-L"),exec:function(oe){var le=oe.selection.getRange();le.start.column=le.end.column=0,le.end.row++,oe.selection.setRange(le,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:ie("Ctrl+F3","F3"),exec:function(oe){oe.openLink()}},{name:"joinlines",description:"Join lines",bindKey:ie(null,null),exec:function(oe){for(var le=oe.selection.isBackwards(),ue=le?oe.selection.getSelectionLead():oe.selection.getSelectionAnchor(),de=le?oe.selection.getSelectionAnchor():oe.selection.getSelectionLead(),he=oe.session.doc.getLine(ue.row).length,pe=oe.session.doc.getTextRange(oe.selection.getRange()),_e=pe.replace(/\n\s*/," ").length,Ce=oe.session.doc.getLine(ue.row),xe=ue.row+1;xe<=de.row+1;xe++){var Ie=$.stringTrimLeft($.stringTrimRight(oe.session.doc.getLine(xe)));Ie.length!==0&&(Ie=" "+Ie),Ce+=Ie}de.row+10?(oe.selection.moveCursorTo(ue.row,ue.column),oe.selection.selectTo(ue.row,ue.column+_e)):(he=oe.session.doc.getLine(ue.row).length>he?he+1:he,oe.selection.moveCursorTo(ue.row,he))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:ie(null,null),exec:function(oe){var le=oe.session.doc.getLength()-1,ue=oe.session.doc.getLine(le).length,de=oe.selection.rangeList.ranges,he=[];de.length<1&&(de=[oe.selection.getRange()]);for(var pe=0;pe0||ae+oe=0&&this.$isCustomWidgetVisible(ae-oe))return ae-oe;if(ae+oe<=this.lines.getLength()-1&&this.$isCustomWidgetVisible(ae+oe))return ae+oe;if(ae-oe>=0&&this.$isFoldWidgetVisible(ae-oe))return ae-oe;if(ae+oe<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(ae+oe))return ae+oe}return null},ie.prototype.$findNearestAnnotation=function(ae){if(this.$isAnnotationVisible(ae))return ae;for(var oe=0;ae-oe>0||ae+oe=0&&this.$isAnnotationVisible(ae-oe))return ae-oe;if(ae+oe<=this.lines.getLength()-1&&this.$isAnnotationVisible(ae+oe))return ae+oe}return null},ie.prototype.$focusFoldWidget=function(ae){if(ae!=null){var oe=this.$getFoldWidget(ae);oe.classList.add(this.editor.renderer.keyboardFocusClassName),oe.focus()}},ie.prototype.$focusCustomWidget=function(ae){if(ae!=null){var oe=this.$getCustomWidget(ae);oe&&(oe.classList.add(this.editor.renderer.keyboardFocusClassName),oe.focus())}},ie.prototype.$focusAnnotation=function(ae){if(ae!=null){var oe=this.$getAnnotation(ae);oe.classList.add(this.editor.renderer.keyboardFocusClassName),oe.focus()}},ie.prototype.$blurFoldWidget=function(ae){var oe=this.$getFoldWidget(ae);oe.classList.remove(this.editor.renderer.keyboardFocusClassName),oe.blur()},ie.prototype.$blurCustomWidget=function(ae){var oe=this.$getCustomWidget(ae);oe&&(oe.classList.remove(this.editor.renderer.keyboardFocusClassName),oe.blur())},ie.prototype.$blurAnnotation=function(ae){var oe=this.$getAnnotation(ae);oe.classList.remove(this.editor.renderer.keyboardFocusClassName),oe.blur()},ie.prototype.$moveFoldWidgetUp=function(){for(var ae=this.activeRowIndex;ae>0;)if(ae--,this.$isFoldWidgetVisible(ae)||this.$isCustomWidgetVisible(ae)){this.$blurFoldWidget(this.activeRowIndex),this.$blurCustomWidget(this.activeRowIndex),this.activeRowIndex=ae,this.$isFoldWidgetVisible(ae)?this.$focusFoldWidget(this.activeRowIndex):this.$focusCustomWidget(this.activeRowIndex);return}},ie.prototype.$moveFoldWidgetDown=function(){for(var ae=this.activeRowIndex;ae0;)if(ae--,this.$isAnnotationVisible(ae)){this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=ae,this.$focusAnnotation(this.activeRowIndex);return}},ie.prototype.$moveAnnotationDown=function(){for(var ae=this.activeRowIndex;ae=kt.length&&(kt=void 0),{value:kt&&kt[Lt++],done:!kt}}};throw new TypeError(At?"Object is not iterable.":"Symbol.iterator is not defined.")},V=r("./lib/oop"),re=r("./lib/dom"),ie=r("./lib/lang"),ae=r("./lib/useragent"),oe=r("./keyboard/textinput").TextInput,le=r("./mouse/mouse_handler").MouseHandler,ue=r("./mouse/fold_handler").FoldHandler,de=r("./keyboard/keybinding").KeyBinding,he=r("./edit_session").EditSession,pe=r("./search").Search,_e=r("./range").Range,Ce=r("./lib/event_emitter").EventEmitter,xe=r("./commands/command_manager").CommandManager,Ie=r("./commands/default_commands").commands,Ne=r("./config"),Oe=r("./token_iterator").TokenIterator,$e=r("./keyboard/gutter_handler").GutterKeyboardHandler,Ve=r("./config").nls,Ue=r("./clipboard"),Fe=r("./lib/keys"),ze=r("./lib/event"),Pt=r("./tooltip").HoverTooltip,qe=function(){function kt(At,Dt,Lt){this.id="editor"+ ++kt.$uid,this.session,this.$toDestroy=[];var jt=At.getContainerElement();this.container=jt,this.renderer=At,this.commands=new xe(ae.isMac?"mac":"win",Ie),typeof document=="object"&&(this.textInput=new oe(At.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new le(this),new ue(this)),this.keyBinding=new de(this),this.$search=new pe().set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=ie.delayedCall((function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}).bind(this)),this.on("change",function(hn,vn){vn._$emitInputEvent.schedule(31)}),this.setSession(Dt||Lt&&Lt.session||new he("")),Ne.resetOptions(this),Lt&&this.setOptions(Lt),Ne._signal("editor",this)}return kt.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0)},kt.prototype.startOperation=function(At){this.session.startOperation(At)},kt.prototype.endOperation=function(At){this.session.endOperation(At)},kt.prototype.onStartOperation=function(At){this.curOp=this.session.curOp,this.curOp.scrollTop=this.renderer.scrollTop,this.prevOp=this.session.prevOp,At||(this.previousCommand=null)},kt.prototype.onEndOperation=function(At){if(this.curOp&&this.session){if(At&&At.returnValue===!1){this.curOp=null;return}if(this._signal("beforeEndOperation"),!this.curOp)return;var Dt=this.curOp.command,Lt=Dt&&Dt.scrollIntoView;if(Lt){switch(Lt){case"center-animate":Lt="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var jt=this.selection.getRange(),hn=this.renderer.layerConfig;(jt.start.row>=hn.lastRow||jt.end.row<=hn.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead);break}Lt=="animate"&&this.renderer.animateScrolling(this.curOp.scrollTop)}this.$lastSel=this.session.selection.toJSON(),this.prevOp=this.curOp,this.curOp=null}},kt.prototype.$historyTracker=function(At){if(this.$mergeUndoDeltas){var Dt=this.prevOp,Lt=this.$mergeableCommands,jt=Dt.command&&At.command.name==Dt.command.name;if(At.command.name=="insertstring"){var hn=At.args;this.mergeNextCommand===void 0&&(this.mergeNextCommand=!0),jt=jt&&this.mergeNextCommand&&(!/\s/.test(hn)||/\s/.test(Dt.args)),this.mergeNextCommand=!0}else jt=jt&&Lt.indexOf(At.command.name)!==-1;this.$mergeUndoDeltas!="always"&&Date.now()-this.sequenceStartTime>2e3&&(jt=!1),jt?this.session.mergeUndoDeltas=!0:Lt.indexOf(At.command.name)!==-1&&(this.sequenceStartTime=Date.now())}},kt.prototype.setKeyboardHandler=function(At,Dt){if(At&&typeof At=="string"&&At!="ace"){this.$keybindingId=At;var Lt=this;Ne.loadModule(["keybinding",At],function(jt){Lt.$keybindingId==At&&Lt.keyBinding.setKeyboardHandler(jt&&jt.handler),Dt&&Dt()})}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(At),Dt&&Dt()},kt.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},kt.prototype.setSession=function(At){if(this.session!=At){this.curOp&&this.endOperation(),this.curOp={};var Dt=this.session;if(Dt){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange),this.session.off("startOperation",this.$onStartOperation),this.session.off("endOperation",this.$onEndOperation);var Lt=this.session.getSelection();Lt.off("changeCursor",this.$onCursorChange),Lt.off("changeSelection",this.$onSelectionChange)}this.session=At,At?(this.$onDocumentChange=this.onDocumentChange.bind(this),At.on("change",this.$onDocumentChange),this.renderer.setSession(At),this.$onChangeMode=this.onChangeMode.bind(this),At.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),At.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),At.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),At.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),At.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),At.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=At.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.$onStartOperation=this.onStartOperation.bind(this),this.session.on("startOperation",this.$onStartOperation),this.$onEndOperation=this.onEndOperation.bind(this),this.session.on("endOperation",this.$onEndOperation),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(At)),this._signal("changeSession",{session:At,oldSession:Dt}),this.curOp=null,Dt&&Dt._signal("changeEditor",{oldEditor:this}),Dt&&(Dt.$editor=null),At&&At._signal("changeEditor",{editor:this}),At&&(At.$editor=this),At&&!At.destroyed&&At.bgTokenizer.scheduleStart()}},kt.prototype.getSession=function(){return this.session},kt.prototype.setValue=function(At,Dt){return this.session.doc.setValue(At),Dt?Dt==1?this.navigateFileEnd():Dt==-1&&this.navigateFileStart():this.selectAll(),At},kt.prototype.getValue=function(){return this.session.getValue()},kt.prototype.getSelection=function(){return this.selection},kt.prototype.resize=function(At){this.renderer.onResize(At)},kt.prototype.setTheme=function(At,Dt){this.renderer.setTheme(At,Dt)},kt.prototype.getTheme=function(){return this.renderer.getTheme()},kt.prototype.setStyle=function(At,Dt){this.renderer.setStyle(At,Dt)},kt.prototype.unsetStyle=function(At){this.renderer.unsetStyle(At)},kt.prototype.getFontSize=function(){return this.getOption("fontSize")||re.computedStyle(this.container).fontSize},kt.prototype.setFontSize=function(At){this.setOption("fontSize",At)},kt.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var At=this;this.$highlightPending=!0,setTimeout(function(){At.$highlightPending=!1;var Dt=At.session;if(!(!Dt||Dt.destroyed)){Dt.$bracketHighlight&&(Dt.$bracketHighlight.markerIds.forEach(function(Sn){Dt.removeMarker(Sn)}),Dt.$bracketHighlight=null);var Lt=At.getCursorPosition(),jt=At.getKeyboardHandler(),hn=jt&&jt.$getDirectionForHighlight&&jt.$getDirectionForHighlight(At),vn=Dt.getMatchingBracketRanges(Lt,hn);if(!vn){var _n=new Oe(Dt,Lt.row,Lt.column),wn=_n.getCurrentToken();if(wn&&/\b(?:tag-open|tag-name)/.test(wn.type)){var bn=Dt.getMatchingTags(Lt);bn&&(vn=[bn.openTagName.isEmpty()?bn.openTag:bn.openTagName,bn.closeTagName.isEmpty()?bn.closeTag:bn.closeTagName])}}if(!vn&&Dt.$mode.getMatching&&(vn=Dt.$mode.getMatching(At.session)),!vn){At.getHighlightIndentGuides()&&At.renderer.$textLayer.$highlightIndentGuide();return}var Cn="ace_bracket";Array.isArray(vn)?vn.length==1&&(Cn="ace_error_bracket"):vn=[vn],vn.length==2&&(_e.comparePoints(vn[0].end,vn[1].start)==0?vn=[_e.fromPoints(vn[0].start,vn[1].end)]:_e.comparePoints(vn[0].start,vn[1].end)==0&&(vn=[_e.fromPoints(vn[1].start,vn[0].end)])),Dt.$bracketHighlight={ranges:vn,markerIds:vn.map(function(Sn){return Dt.addMarker(Sn,Cn,"text")})},At.getHighlightIndentGuides()&&At.renderer.$textLayer.$highlightIndentGuide()}},50)}},kt.prototype.focus=function(){this.textInput.focus()},kt.prototype.isFocused=function(){return this.textInput.isFocused()},kt.prototype.blur=function(){this.textInput.blur()},kt.prototype.onFocus=function(At){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",At))},kt.prototype.onBlur=function(At){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",At))},kt.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},kt.prototype.onDocumentChange=function(At){var Dt=this.session.$useWrapMode,Lt=At.start.row==At.end.row?At.end.row:1/0;this.renderer.updateLines(At.start.row,Lt,Dt),this._signal("change",At),this.$cursorChange()},kt.prototype.onTokenizerUpdate=function(At){var Dt=At.data;this.renderer.updateLines(Dt.first,Dt.last)},kt.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},kt.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},kt.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},kt.prototype.$updateHighlightActiveLine=function(){var At=this.getSession(),Dt;if(this.$highlightActiveLine&&((this.$selectionStyle!="line"||!this.selection.isMultiLine())&&(Dt=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(Dt=!1),this.renderer.$maxLines&&this.session.getLength()===1&&!(this.renderer.$minLines>1)&&(Dt=!1)),At.$highlightLineMarker&&!Dt)At.removeMarker(At.$highlightLineMarker.id),At.$highlightLineMarker=null;else if(!At.$highlightLineMarker&&Dt){var Lt=new _e(Dt.row,Dt.column,Dt.row,1/0);Lt.id=At.addMarker(Lt,"ace_active-line","screenLine"),At.$highlightLineMarker=Lt}else Dt&&(At.$highlightLineMarker.start.row=Dt.row,At.$highlightLineMarker.end.row=Dt.row,At.$highlightLineMarker.start.column=Dt.column,At._signal("changeBackMarker"))},kt.prototype.onSelectionChange=function(At){var Dt=this.session;if(Dt.$selectionMarker&&Dt.removeMarker(Dt.$selectionMarker),Dt.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var Lt=this.selection.getRange(),jt=this.getSelectionStyle();Dt.$selectionMarker=Dt.addMarker(Lt,"ace_selection",jt)}var hn=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(hn),this._signal("changeSelection")},kt.prototype.$getSelectionHighLightRegexp=function(){var At=this.session,Dt=this.getSelectionRange();if(!(Dt.isEmpty()||Dt.isMultiLine())){var Lt=Dt.start.column,jt=Dt.end.column,hn=At.getLine(Dt.start.row),vn=hn.substring(Lt,jt);if(!(vn.length>5e3||!/[\w\d]/.test(vn))){var _n=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:vn}),wn=hn.substring(Lt-1,jt+1);if(_n.test(wn))return _n}}},kt.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},kt.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},kt.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},kt.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},kt.prototype.onChangeMode=function(At){this.renderer.updateText(),this._emit("changeMode",At)},kt.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},kt.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},kt.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},kt.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},kt.prototype.getCopyText=function(){var At=this.getSelectedText(),Dt=this.session.doc.getNewLineCharacter(),Lt=!1;if(!At&&this.$copyWithEmptySelection){Lt=!0;for(var jt=this.selection.getAllRanges(),hn=0;hnSn.search(/\S|$/)){var wn=Sn.substr(hn.column).search(/\S|$/);Lt.doc.removeInLine(hn.row,hn.column,hn.column+wn)}}this.clearSelection();var bn=hn.column,Cn=Lt.getState(hn.row),Sn=Lt.getLine(hn.row),Tn=jt.checkOutdent(Cn,Sn,At);if(Lt.insert(hn,At),vn&&vn.selection&&(vn.selection.length==2?this.selection.setSelectionRange(new _e(hn.row,bn+vn.selection[0],hn.row,bn+vn.selection[1])):this.selection.setSelectionRange(new _e(hn.row+vn.selection[0],vn.selection[1],hn.row+vn.selection[2],vn.selection[3]))),this.$enableAutoIndent){if(Lt.getDocument().isNewLine(At)){var En=jt.getNextLineIndent(Cn,Sn.slice(0,hn.column),Lt.getTabString());Lt.insert({row:hn.row+1,column:0},En)}Tn&&jt.autoOutdent(Cn,Lt,hn.row)}},kt.prototype.autoIndent=function(){for(var At=this.session,Dt=At.getMode(),Lt=this.selection.isEmpty()?[new _e(0,0,At.doc.getLength()-1,0)]:this.selection.getAllRanges(),jt="",hn="",vn="",_n=At.getTabString(),wn=0;wn0&&(jt=At.getState(Sn-1),hn=At.getLine(Sn-1),vn=Dt.getNextLineIndent(jt,hn,_n));var Tn=At.getLine(Sn),En=Dt.$getIndent(Tn);if(vn!==En){if(En.length>0){var kn=new _e(Sn,0,Sn,En.length);At.remove(kn)}vn.length>0&&At.insert({row:Sn,column:0},vn)}Dt.autoOutdent(jt,At,Sn)}},kt.prototype.onTextInput=function(At,Dt){if(!Dt)return this.keyBinding.onTextInput(At);this.startOperation({command:{name:"insertstring"}});var Lt=this.applyComposition.bind(this,At,Dt);this.selection.rangeCount?this.forEachSelection(Lt):Lt(),this.endOperation()},kt.prototype.applyComposition=function(At,Dt){if(Dt.extendLeft||Dt.extendRight){var Lt=this.selection.getRange();Lt.start.column-=Dt.extendLeft,Lt.end.column+=Dt.extendRight,Lt.start.column<0&&(Lt.start.row--,Lt.start.column+=this.session.getLine(Lt.start.row).length+1),this.selection.setRange(Lt),!At&&!Lt.isEmpty()&&this.remove()}if((At||!this.selection.isEmpty())&&this.insert(At,!0),Dt.restoreStart||Dt.restoreEnd){var Lt=this.selection.getRange();Lt.start.column-=Dt.restoreStart,Lt.end.column-=Dt.restoreEnd,this.selection.setRange(Lt)}},kt.prototype.onCommandKey=function(At,Dt,Lt){return this.keyBinding.onCommandKey(At,Dt,Lt)},kt.prototype.setOverwrite=function(At){this.session.setOverwrite(At)},kt.prototype.getOverwrite=function(){return this.session.getOverwrite()},kt.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},kt.prototype.setScrollSpeed=function(At){this.setOption("scrollSpeed",At)},kt.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},kt.prototype.setDragDelay=function(At){this.setOption("dragDelay",At)},kt.prototype.getDragDelay=function(){return this.getOption("dragDelay")},kt.prototype.setSelectionStyle=function(At){this.setOption("selectionStyle",At)},kt.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},kt.prototype.setHighlightActiveLine=function(At){this.setOption("highlightActiveLine",At)},kt.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},kt.prototype.setHighlightGutterLine=function(At){this.setOption("highlightGutterLine",At)},kt.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},kt.prototype.setHighlightSelectedWord=function(At){this.setOption("highlightSelectedWord",At)},kt.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},kt.prototype.setAnimatedScroll=function(At){this.renderer.setAnimatedScroll(At)},kt.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},kt.prototype.setShowInvisibles=function(At){this.renderer.setShowInvisibles(At)},kt.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},kt.prototype.setDisplayIndentGuides=function(At){this.renderer.setDisplayIndentGuides(At)},kt.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},kt.prototype.setHighlightIndentGuides=function(At){this.renderer.setHighlightIndentGuides(At)},kt.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},kt.prototype.setShowPrintMargin=function(At){this.renderer.setShowPrintMargin(At)},kt.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},kt.prototype.setPrintMarginColumn=function(At){this.renderer.setPrintMarginColumn(At)},kt.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},kt.prototype.setReadOnly=function(At){this.setOption("readOnly",At)},kt.prototype.getReadOnly=function(){return this.getOption("readOnly")},kt.prototype.setBehavioursEnabled=function(At){this.setOption("behavioursEnabled",At)},kt.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},kt.prototype.setWrapBehavioursEnabled=function(At){this.setOption("wrapBehavioursEnabled",At)},kt.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},kt.prototype.setShowFoldWidgets=function(At){this.setOption("showFoldWidgets",At)},kt.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},kt.prototype.setFadeFoldWidgets=function(At){this.setOption("fadeFoldWidgets",At)},kt.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},kt.prototype.remove=function(At){this.selection.isEmpty()&&(At=="left"?this.selection.selectLeft():this.selection.selectRight());var Dt=this.getSelectionRange();if(this.getBehavioursEnabled()){var Lt=this.session,jt=Lt.getState(Dt.start.row),hn=Lt.getMode().transformAction(jt,"deletion",this,Lt,Dt);if(Dt.end.column===0){var vn=Lt.getTextRange(Dt);if(vn[vn.length-1]==` -`){var _n=Lt.getLine(Dt.end.row);/^\s+$/.test(_n)&&(Dt.end.column=_n.length)}}hn&&(Dt=hn)}this.session.remove(Dt),this.clearSelection()},kt.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},kt.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},kt.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},kt.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var At=this.getSelectionRange();At.start.column==At.end.column&&At.start.row==At.end.row&&(At.end.column=0,At.end.row++),this.session.remove(At),this.clearSelection()},kt.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var At=this.getCursorPosition();this.insert(` -`),this.moveCursorToPosition(At)},kt.prototype.setGhostText=function(At,Dt){this.renderer.setGhostText(At,Dt)},kt.prototype.removeGhostText=function(){this.renderer.removeGhostText()},kt.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var At=this.getCursorPosition(),Dt=At.column;if(Dt!==0){var Lt=this.session.getLine(At.row),jt,hn;Dtwn.toLowerCase()?1:0});for(var hn=new _e(0,0,0,0),jt=At.first;jt<=At.last;jt++){var vn=Dt.getLine(jt);hn.start.row=jt,hn.end.row=jt,hn.end.column=vn.length,Dt.replace(hn,Lt[jt-At.first])}},kt.prototype.toggleCommentLines=function(){var At=this.session.getState(this.getCursorPosition().row),Dt=this.$getSelectedRows();this.session.getMode().toggleCommentLines(At,this.session,Dt.first,Dt.last)},kt.prototype.toggleBlockComment=function(){var At=this.getCursorPosition(),Dt=this.session.getState(At.row),Lt=this.getSelectionRange();this.session.getMode().toggleBlockComment(Dt,this.session,Lt,At)},kt.prototype.getNumberAt=function(At,Dt){var Lt=/[\-]?[0-9]+(?:\.[0-9]+)?/g;Lt.lastIndex=0;for(var jt=this.session.getLine(At);Lt.lastIndex=Dt){var vn={value:hn[0],start:hn.index,end:hn.index+hn[0].length};return vn}}return null},kt.prototype.modifyNumber=function(At){var Dt=this.selection.getCursor().row,Lt=this.selection.getCursor().column,jt=new _e(Dt,Lt-1,Dt,Lt),hn=this.session.getTextRange(jt);if(!isNaN(parseFloat(hn))&&isFinite(hn)){var vn=this.getNumberAt(Dt,Lt);if(vn){var _n=vn.value.indexOf(".")>=0?vn.start+vn.value.indexOf(".")+1:vn.end,wn=vn.start+vn.value.length-_n,bn=parseFloat(vn.value);bn*=Math.pow(10,wn),_n!==vn.end&&Lt<_n?At*=Math.pow(10,vn.end-Lt-1):At*=Math.pow(10,vn.end-Lt),bn+=At,bn/=Math.pow(10,wn);var Cn=bn.toFixed(wn),Sn=new _e(Dt,vn.start,Dt,vn.end);this.session.replace(Sn,Cn),this.moveCursorTo(Dt,Math.max(vn.start+1,Lt+Cn.length-vn.value.length))}}else this.toggleWord()},kt.prototype.toggleWord=function(){var At=this.selection.getCursor().row,Dt=this.selection.getCursor().column;this.selection.selectWord();var Lt=this.getSelectedText(),jt=this.selection.getWordRange().start.column,hn=Lt.replace(/([a-z]+|[A-Z]+)(?=[A-Z_]|$)/g,"$1 ").split(/\s/),vn=Dt-jt-1;vn<0&&(vn=0);var _n=0,wn=0,bn=this;Lt.match(/[A-Za-z0-9_]+/)&&hn.forEach(function(Ln,Nn){wn=_n+Ln.length,vn>=_n&&vn<=wn&&(Lt=Ln,bn.selection.clearSelection(),bn.moveCursorTo(At,_n+jt),bn.selection.selectTo(At,wn+jt)),_n=wn});for(var Cn=this.$toggleWordPairs,Sn,Tn=0;Tn=wn&&_n<=bn&&En.match(/((?:https?|ftp):\/\/[\S]+)/)){Cn=En.replace(/[\s:.,'";}\]]+$/,"");break}wn=bn}}catch(kn){Lt={error:kn}}finally{try{Tn&&!Tn.done&&(jt=Sn.return)&&jt.call(Sn)}finally{if(Lt)throw Lt.error}}return Cn},kt.prototype.openLink=function(){var At=this.selection.getCursor(),Dt=this.findLinkAt(At.row,At.column);return Dt&&window.open(Dt,"_blank"),Dt!=null},kt.prototype.removeLines=function(){var At=this.$getSelectedRows();this.session.removeFullLines(At.first,At.last),this.clearSelection()},kt.prototype.duplicateSelection=function(){var At=this.selection,Dt=this.session,Lt=At.getRange(),jt=At.isBackwards();if(Lt.isEmpty()){var hn=Lt.start.row;Dt.duplicateLines(hn,hn)}else{var vn=jt?Lt.start:Lt.end,_n=Dt.insert(vn,Dt.getTextRange(Lt));Lt.start=vn,Lt.end=_n,At.setSelectionRange(Lt,jt)}},kt.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},kt.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},kt.prototype.moveText=function(At,Dt,Lt){return this.session.moveText(At,Dt,Lt)},kt.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},kt.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},kt.prototype.$moveLines=function(At,Dt){var Lt,jt,hn=this.selection;if(!hn.inMultiSelectMode||this.inVirtualSelectionMode){var vn=hn.toOrientedRange();Lt=this.$getSelectedRows(vn),jt=this.session.$moveLines(Lt.first,Lt.last,Dt?0:At),Dt&&At==-1&&(jt=0),vn.moveBy(jt,0),hn.fromOrientedRange(vn)}else{var _n=hn.rangeList.ranges;hn.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var wn=0,bn=0,Cn=_n.length,Sn=0;Snkn+1)break;kn=$n.last}for(Sn--,wn=this.session.$moveLines(En,kn,Dt?0:At),Dt&&At==-1&&(Tn=Sn+1);Tn<=Sn;)_n[Tn].moveBy(wn,0),Tn++;Dt||(wn=0),bn+=wn}hn.fromOrientedRange(hn.ranges[0]),hn.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},kt.prototype.$getSelectedRows=function(At){return At=(At||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(At.start.row),last:this.session.getRowFoldEnd(At.end.row)}},kt.prototype.onCompositionStart=function(At){this.renderer.showComposition(At)},kt.prototype.onCompositionUpdate=function(At){this.renderer.setCompositionText(At)},kt.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},kt.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},kt.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},kt.prototype.isRowVisible=function(At){return At>=this.getFirstVisibleRow()&&At<=this.getLastVisibleRow()},kt.prototype.isRowFullyVisible=function(At){return At>=this.renderer.getFirstFullyVisibleRow()&&At<=this.renderer.getLastFullyVisibleRow()},kt.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},kt.prototype.$moveByPage=function(At,Dt){var Lt=this.renderer,jt=this.renderer.layerConfig,hn=At*Math.floor(jt.height/jt.lineHeight);Dt===!0?this.selection.$moveSelection(function(){this.moveCursorBy(hn,0)}):Dt===!1&&(this.selection.moveCursorBy(hn,0),this.selection.clearSelection());var vn=Lt.scrollTop;Lt.scrollBy(0,hn*jt.lineHeight),Dt!=null&&Lt.scrollCursorIntoView(null,.5),Lt.animateScrolling(vn)},kt.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},kt.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},kt.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},kt.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},kt.prototype.scrollPageDown=function(){this.$moveByPage(1)},kt.prototype.scrollPageUp=function(){this.$moveByPage(-1)},kt.prototype.scrollToRow=function(At){this.renderer.scrollToRow(At)},kt.prototype.scrollToLine=function(At,Dt,Lt,jt){this.renderer.scrollToLine(At,Dt,Lt,jt)},kt.prototype.centerSelection=function(){var At=this.getSelectionRange(),Dt={row:Math.floor(At.start.row+(At.end.row-At.start.row)/2),column:Math.floor(At.start.column+(At.end.column-At.start.column)/2)};this.renderer.alignCursor(Dt,.5)},kt.prototype.getCursorPosition=function(){return this.selection.getCursor()},kt.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},kt.prototype.getSelectionRange=function(){return this.selection.getRange()},kt.prototype.selectAll=function(){this.selection.selectAll()},kt.prototype.clearSelection=function(){this.selection.clearSelection()},kt.prototype.moveCursorTo=function(At,Dt){this.selection.moveCursorTo(At,Dt)},kt.prototype.moveCursorToPosition=function(At){this.selection.moveCursorToPosition(At)},kt.prototype.jumpToMatching=function(At,Dt){var Lt=this.getCursorPosition(),jt=new Oe(this.session,Lt.row,Lt.column),hn=jt.getCurrentToken(),vn=0;hn&&hn.type.indexOf("tag-name")!==-1&&(hn=jt.stepBackward());var _n=hn||jt.stepForward();if(_n){var wn,bn=!1,Cn={},Sn=Lt.column-_n.start,Tn,En={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(_n.value.match(/[{}()\[\]]/g)){for(;Sn<_n.value.length&&!bn;Sn++)if(En[_n.value[Sn]])switch(Tn=En[_n.value[Sn]]+"."+_n.type.replace("rparen","lparen"),isNaN(Cn[Tn])&&(Cn[Tn]=0),_n.value[Sn]){case"(":case"[":case"{":Cn[Tn]++;break;case")":case"]":case"}":Cn[Tn]--,Cn[Tn]===-1&&(wn="bracket",bn=!0);break}}else _n.type.indexOf("tag-name")!==-1&&(isNaN(Cn[_n.value])&&(Cn[_n.value]=0),hn.value==="<"&&vn>1?Cn[_n.value]++:hn.value==="=0;--vn)this.$tryReplace(Lt[vn],At)&&jt++;return this.selection.setSelectionRange(hn),jt},kt.prototype.$tryReplace=function(At,Dt){var Lt=this.session.getTextRange(At);return Dt=this.$search.replace(Lt,Dt),Dt!==null?(At.end=this.session.replace(At,Dt),At):null},kt.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},kt.prototype.find=function(At,Dt,Lt){Dt||(Dt={}),typeof At=="string"||At instanceof RegExp?Dt.needle=At:typeof At=="object"&&V.mixin(Dt,At);var jt=this.selection.getRange();Dt.needle==null&&(At=this.session.getTextRange(jt)||this.$search.$options.needle,At||(jt=this.session.getWordRange(jt.start.row,jt.start.column),At=this.session.getTextRange(jt)),this.$search.set({needle:At})),this.$search.set(Dt),Dt.start||this.$search.set({start:jt});var hn=this.$search.find(this.session);if(Dt.preventScroll)return hn;if(hn)return this.revealRange(hn,Lt),hn;Dt.backwards?jt.start=jt.end:jt.end=jt.start,this.selection.setRange(jt)},kt.prototype.findNext=function(At,Dt){this.find({skipCurrent:!0,backwards:!1},At,Dt)},kt.prototype.findPrevious=function(At,Dt){this.find(At,{skipCurrent:!0,backwards:!0},Dt)},kt.prototype.revealRange=function(At,Dt){this.session.unfold(At),this.selection.setSelectionRange(At);var Lt=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(At.start,At.end,.5),Dt!==!1&&this.renderer.animateScrolling(Lt)},kt.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},kt.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},kt.prototype.destroy=function(){this.destroyed=!0,this.$toDestroy&&(this.$toDestroy.forEach(function(At){At.destroy()}),this.$toDestroy=[]),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},kt.prototype.setAutoScrollEditorIntoView=function(At){if(At){var Dt,Lt=this,jt=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var hn=this.$scrollAnchor;hn.style.cssText="position:absolute",this.container.insertBefore(hn,this.container.firstChild);var vn=this.on("changeSelection",function(){jt=!0}),_n=this.renderer.on("beforeRender",function(){jt&&(Dt=Lt.renderer.container.getBoundingClientRect())}),wn=this.renderer.on("afterRender",function(){if(jt&&Dt&&(Lt.isFocused()||Lt.searchBox&&Lt.searchBox.isFocused())){var bn=Lt.renderer,Cn=bn.$cursorLayer.$pixelPos,Sn=bn.layerConfig,Tn=Cn.top-Sn.offset;Cn.top>=0&&Tn+Dt.top<0?jt=!0:Cn.topwindow.innerHeight?jt=!1:jt=null,jt!=null&&(hn.style.top=Tn+"px",hn.style.left=Cn.left+"px",hn.style.height=Sn.lineHeight+"px",hn.scrollIntoView(jt)),jt=Dt=null}});this.setAutoScrollEditorIntoView=function(bn){bn||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",vn),this.renderer.off("afterRender",wn),this.renderer.off("beforeRender",_n))}}},kt.prototype.$resetCursorStyle=function(){var At=this.$cursorStyle||"ace",Dt=this.renderer.$cursorLayer;Dt&&(Dt.setSmoothBlinking(/smooth/.test(At)),Dt.isBlinking=!this.$readOnly&&At!="wide",re.setCssClass(Dt.element,"ace_slim-cursors",/slim/.test(At)))},kt.prototype.prompt=function(At,Dt,Lt){var jt=this;Ne.loadModule("ace/ext/prompt",function(hn){hn.prompt(jt,At,Dt,Lt)})},kt}();qe.$uid=0,qe.prototype.curOp=null,qe.prototype.prevOp={},qe.prototype.$mergeableCommands=["backspace","del","insertstring"],qe.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],V.implement(qe.prototype,Ce),Ne.defineOptions(qe.prototype,"editor",{selectionStyle:{set:function(kt){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:kt})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(kt){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(kt){var At=this;if(this.textInput.setReadOnly(kt),!this.destroyed){this.$resetCursorStyle(),this.$readOnlyCallback||(this.$readOnlyCallback=function(Lt){var jt=!1;if(Lt&&Lt.type=="keydown"){if(Lt&&Lt.key&&!Lt.ctrlKey&&!Lt.metaKey&&(Lt.key==" "&&Lt.preventDefault(),jt=Lt.key.length==1),!jt)return}else Lt&&Lt.type!=="exec"&&(jt=!0);if(jt){At.hoverTooltip||(At.hoverTooltip=new Pt);var hn=re.createElement("div");hn.textContent=Ve("editor.tooltip.disable-editing","Editing is disabled"),At.hoverTooltip.isOpen||At.hoverTooltip.showForRange(At,At.getSelectionRange(),hn)}else At.hoverTooltip&&At.hoverTooltip.isOpen&&At.hoverTooltip.hide()});var Dt=this.textInput.getElement();kt?(ze.addListener(Dt,"keydown",this.$readOnlyCallback,this),this.commands.on("exec",this.$readOnlyCallback),this.commands.on("commandUnavailable",this.$readOnlyCallback)):(ze.removeListener(Dt,"keydown",this.$readOnlyCallback),this.commands.off("exec",this.$readOnlyCallback),this.commands.off("commandUnavailable",this.$readOnlyCallback),this.hoverTooltip&&(this.hoverTooltip.destroy(),this.hoverTooltip=null))}},initialValue:!1},copyWithEmptySelection:{set:function(kt){this.textInput.setCopyWithEmptySelection(kt)},initialValue:!1},cursorStyle:{set:function(kt){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(kt){this.setAutoScrollEditorIntoView(kt)}},keyboardHandler:{set:function(kt){this.setKeyboardHandler(kt)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(kt){this.session.setValue(kt)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(kt){this.setSession(kt)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(kt){this.renderer.$gutterLayer.setShowLineNumbers(kt),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),kt&&this.$relativeLineNumbers?Et.attach(this):Et.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(kt){this.$showLineNumbers&&kt?Et.attach(this):Et.detach(this)}},placeholder:{set:function(kt){this.$updatePlaceholder||(this.$updatePlaceholder=(function(){var At=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(At&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),re.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!At&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),re.addCssClass(this.container,"ace_hasPlaceholder");var Dt=re.createElement("div");Dt.className="ace_placeholder",Dt.textContent=this.$placeholder||"",this.renderer.placeholderNode=Dt,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!At&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}).bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(kt){var At={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(jt){jt.blur(),jt.renderer.scroller.focus()},readOnly:!0},Dt=function(jt){if(jt.target==this.renderer.scroller&&jt.keyCode===Fe.enter){jt.preventDefault();var hn=this.getCursorPosition().row;this.isRowVisible(hn)||this.scrollToLine(hn,!0,!0),this.focus()}},Lt;kt?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(ae.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",Ve("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",Ve("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",Dt.bind(this)),this.commands.addCommand(At),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",Ve("editor.gutter.aria-roledescription","editor gutter")),this.renderer.$gutter.setAttribute("aria-label",Ve("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),Lt||(Lt=new $e(this)),Lt.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",Dt.bind(this)),this.commands.removeCommand(At),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),Lt&&Lt.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(kt){this.$textInputAriaLabel=kt},initialValue:""},enableMobileMenu:{set:function(kt){this.$enableMobileMenu=kt},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var Et={getText:function(kt,At){return(Math.abs(kt.selection.lead.row-At)||At+1+(At<9?"·":""))+""},getWidth:function(kt,At,Dt){return Math.max(At.toString().length,(Dt.lastRow+1).toString().length,2)*Dt.characterWidth},update:function(kt,At){At.renderer.$loop.schedule(At.renderer.CHANGE_GUTTER)},attach:function(kt){kt.renderer.$gutterLayer.$renderer=this,kt.on("changeSelection",this.update),this.update(null,kt)},detach:function(kt){kt.renderer.$gutterLayer.$renderer==this&&(kt.renderer.$gutterLayer.$renderer=null),kt.off("changeSelection",this.update),this.update(null,kt)}};i.Editor=qe}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(r,i,g){var $=r("../lib/dom"),V=function(){function re(ie,ae){this.element=ie,this.canvasHeight=ae||5e5,this.element.style.height=this.canvasHeight*2+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return re.prototype.moveContainer=function(ie){$.translate(this.element,0,-(ie.firstRowScreen*ie.lineHeight%this.canvasHeight)-ie.offset*this.$offsetCoefficient)},re.prototype.pageChanged=function(ie,ae){return Math.floor(ie.firstRowScreen*ie.lineHeight/this.canvasHeight)!==Math.floor(ae.firstRowScreen*ae.lineHeight/this.canvasHeight)},re.prototype.computeLineTop=function(ie,ae,oe){var le=ae.firstRowScreen*ae.lineHeight,ue=Math.floor(le/this.canvasHeight),de=oe.documentToScreenRow(ie,0)*ae.lineHeight;return de-ue*this.canvasHeight},re.prototype.computeLineHeight=function(ie,ae,oe){return ae.lineHeight*oe.getRowLineCount(ie)},re.prototype.getLength=function(){return this.cells.length},re.prototype.get=function(ie){return this.cells[ie]},re.prototype.shift=function(){this.$cacheCell(this.cells.shift())},re.prototype.pop=function(){this.$cacheCell(this.cells.pop())},re.prototype.push=function(ie){if(Array.isArray(ie)){this.cells.push.apply(this.cells,ie);for(var ae=$.createFragment(this.element),oe=0;oeIe&&($e=xe.end.row+1,xe=pe.getNextFoldLine($e,xe),Ie=xe?xe.start.row:1/0),$e>Ce){for(;this.$lines.getLength()>Oe+1;)this.$lines.pop();break}Ne=this.$lines.get(++Oe),Ne?Ne.row=$e:(Ne=this.$lines.createCell($e,he,this.session,ue),this.$lines.push(Ne)),this.$renderCell(Ne,he,xe,$e),$e++}this._signal("afterRender"),this.$updateGutterWidth(he),this.$showCursorMarker&&this.$highlightGutterLine&&this.$updateCursorMarker()},de.prototype.$updateGutterWidth=function(he){var pe=this.session,_e=pe.gutterRenderer||this.$renderer,Ce=pe.$firstLineNumber,xe=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||pe.$useWrapMode)&&(xe=pe.getLength()+Ce-1);var Ie=_e?_e.getWidth(pe,xe,he):xe.toString().length*he.characterWidth,Ne=this.$padding||this.$computePadding();Ie+=Ne.left+Ne.right,Ie!==this.gutterWidth&&!isNaN(Ie)&&(this.gutterWidth=Ie,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",Ie))},de.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var he=this.session.selection.getCursor();this.$cursorRow!==he.row&&(this.$cursorRow=he.row)}},de.prototype.updateLineHighlight=function(){if(this.$showCursorMarker&&this.$updateCursorMarker(),!!this.$highlightGutterLine){var he=this.session.selection.cursor.row;if(this.$cursorRow=he,!(this.$cursorCell&&this.$cursorCell.row==he)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var pe=this.$lines.cells;this.$cursorCell=null;for(var _e=0;_e=this.$cursorRow){if(Ce.row>this.$cursorRow){var xe=this.session.getFoldLine(this.$cursorRow);if(_e>0&&xe&&xe.start.row==pe[_e-1].row)Ce=pe[_e-1];else break}Ce.element.className="ace_gutter-active-line "+Ce.element.className,this.$cursorCell=Ce;break}}}}},de.prototype.$updateCursorMarker=function(){if(this.session){var he=this.session;this.$highlightElement||(this.$highlightElement=$.createElement("div"),this.$highlightElement.className="ace_gutter-cursor",this.$highlightElement.style.pointerEvents="none",this.element.appendChild(this.$highlightElement));var pe=he.selection.cursor,_e=this.config,Ce=this.$lines,xe=_e.firstRowScreen*_e.lineHeight,Ie=Math.floor(xe/Ce.canvasHeight),Ne=he.documentToScreenRow(pe)*_e.lineHeight,Oe=Ne-Ie*Ce.canvasHeight;$.setStyle(this.$highlightElement.style,"height",_e.lineHeight+"px"),$.setStyle(this.$highlightElement.style,"top",Oe+"px")}},de.prototype.scrollLines=function(he){var pe=this.config;if(this.config=he,this.$updateCursorRow(),this.$lines.pageChanged(pe,he))return this.update(he);this.$lines.moveContainer(he);var _e=Math.min(he.lastRow+he.gutterOffset,this.session.getLength()-1),Ce=this.oldLastRow;if(this.oldLastRow=_e,!pe||Ce0;xe--)this.$lines.shift();if(Ce>_e)for(var xe=this.session.getFoldedRowCount(_e+1,Ce);xe>0;xe--)this.$lines.pop();he.firstRowCe&&this.$lines.push(this.$renderLines(he,Ce+1,_e)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(he)},de.prototype.$renderLines=function(he,pe,_e){for(var Ce=[],xe=pe,Ie=this.session.getNextFoldLine(xe),Ne=Ie?Ie.start.row:1/0;xe>Ne&&(xe=Ie.end.row+1,Ie=this.session.getNextFoldLine(xe,Ie),Ne=Ie?Ie.start.row:1/0),!(xe>_e);){var Oe=this.$lines.createCell(xe,he,this.session,ue);this.$renderCell(Oe,he,Ie,xe),Ce.push(Oe),xe++}return Ce},de.prototype.$renderCell=function(he,pe,_e,Ce){var xe=he.element,Ie=this.session,Ne=xe.childNodes[0],Oe=xe.childNodes[1],$e=xe.childNodes[2],Ve=xe.childNodes[3],Ue=$e.firstChild,Fe=Ie.$firstLineNumber,ze=Ie.$breakpoints,Pt=Ie.$decorations,qe=Ie.gutterRenderer||this.$renderer,Et=this.$showFoldWidgets&&Ie.foldWidgets,kt=_e?_e.start.row:Number.MAX_VALUE,At=pe.lineHeight+"px",Dt=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",Lt=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",jt=(qe?qe.getText(Ie,Ce):Ce+Fe).toString();if(this.$highlightGutterLine&&(Ce==this.$cursorRow||_e&&Ce=kt&&this.$cursorRow<=_e.end.row)&&(Dt+="ace_gutter-active-line ",this.$cursorCell!=he&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=he)),ze[Ce]&&(Dt+=ze[Ce]),Pt[Ce]&&(Dt+=Pt[Ce]),this.$annotations[Ce]&&Ce!==kt&&(Dt+=this.$annotations[Ce].className),Et){var hn=Et[Ce];hn==null&&(hn=Et[Ce]=Ie.getFoldWidget(Ce))}if(hn){var vn="ace_fold-widget ace_"+hn,_n=hn=="start"&&Ce==kt&&Ce<_e.end.row;if(_n){vn+=" ace_closed";for(var wn="",bn=!1,Cn=Ce+1;Cn<=_e.end.row;Cn++)if(this.$annotations[Cn]){if(this.$annotations[Cn].className===" ace_error"){bn=!0,wn=" ace_error_fold";break}this.$annotations[Cn].className===" ace_security"?(bn=!0,wn=" ace_security_fold"):this.$annotations[Cn].className===" ace_warning"&&wn!==" ace_security_fold"&&(bn=!0,wn=" ace_warning_fold")}Dt+=wn}else vn+=" ace_open";Oe.className!=vn&&(Oe.className=vn),$.setStyle(Oe.style,"height",At),$.setStyle(Oe.style,"display","inline-block"),Oe.setAttribute("role","button"),Oe.setAttribute("tabindex","-1");var Sn=Ie.getFoldWidgetRange(Ce);Sn?Oe.setAttribute("aria-label",oe("gutter.code-folding.range.aria-label","Toggle code folding, rows $0 through $1",[Sn.start.row+1,Sn.end.row+1])):_e?Oe.setAttribute("aria-label",oe("gutter.code-folding.closed.aria-label","Toggle code folding, rows $0 through $1",[_e.start.row+1,_e.end.row+1])):Oe.setAttribute("aria-label",oe("gutter.code-folding.open.aria-label","Toggle code folding, row $0",[Ce+1])),_n?(Oe.setAttribute("aria-expanded","false"),Oe.setAttribute("title",oe("gutter.code-folding.closed.title","Unfold code"))):(Oe.setAttribute("aria-expanded","true"),Oe.setAttribute("title",oe("gutter.code-folding.open.title","Fold code")))}else Oe&&($.setStyle(Oe.style,"display","none"),Oe.setAttribute("tabindex","0"),Oe.removeAttribute("role"),Oe.removeAttribute("aria-label"));var Tn=this.session.$gutterCustomWidgets[Ce];if(Tn?this.$addCustomWidget(Ce,Tn,he):Ve&&this.$removeCustomWidget(Ce,he),bn&&this.$showFoldedAnnotations){$e.className="ace_gutter_annotation",Ue.className=Lt,Ue.className+=wn,$.setStyle(Ue.style,"height",At),$.setStyle($e.style,"display","block"),$.setStyle($e.style,"height",At);var En;switch(wn){case" ace_error_fold":En=oe("gutter.annotation.aria-label.error","Error, read annotations row $0",[jt]);break;case" ace_security_fold":En=oe("gutter.annotation.aria-label.security","Security finding, read annotations row $0",[jt]);break;case" ace_warning_fold":En=oe("gutter.annotation.aria-label.warning","Warning, read annotations row $0",[jt]);break}$e.setAttribute("aria-label",En),$e.setAttribute("tabindex","-1"),$e.setAttribute("role","button")}else if(this.$annotations[Ce]){$e.className="ace_gutter_annotation",Ue.className=Lt,this.$useSvgGutterIcons?Ue.className+=this.$annotations[Ce].className:xe.classList.add(this.$annotations[Ce].className.replace(" ","")),$.setStyle(Ue.style,"height",At),$.setStyle($e.style,"display","block"),$.setStyle($e.style,"height",At);var En;switch(this.$annotations[Ce].className){case" ace_error":En=oe("gutter.annotation.aria-label.error","Error, read annotations row $0",[jt]);break;case" ace_security":En=oe("gutter.annotation.aria-label.security","Security finding, read annotations row $0",[jt]);break;case" ace_warning":En=oe("gutter.annotation.aria-label.warning","Warning, read annotations row $0",[jt]);break;case" ace_info":En=oe("gutter.annotation.aria-label.info","Info, read annotations row $0",[jt]);break;case" ace_hint":En=oe("gutter.annotation.aria-label.hint","Suggestion, read annotations row $0",[jt]);break}$e.setAttribute("aria-label",En),$e.setAttribute("tabindex","-1"),$e.setAttribute("role","button")}else $.setStyle($e.style,"display","none"),$e.removeAttribute("aria-label"),$e.removeAttribute("role"),$e.setAttribute("tabindex","0");return jt!==Ne.data&&(Ne.data=jt),xe.className!=Dt&&(xe.className=Dt),$.setStyle(he.element.style,"height",this.$lines.computeLineHeight(Ce,pe,Ie)+"px"),$.setStyle(he.element.style,"top",this.$lines.computeLineTop(Ce,pe,Ie)+"px"),he.text=jt,$e.style.display==="none"&&Oe.style.display==="none"&&!Tn?he.element.setAttribute("aria-hidden",!0):he.element.setAttribute("aria-hidden",!1),he},de.prototype.setHighlightGutterLine=function(he){this.$highlightGutterLine=he,!he&&this.$highlightElement&&(this.$highlightElement.remove(),this.$highlightElement=null)},de.prototype.setShowLineNumbers=function(he){this.$renderer=!he&&{getWidth:function(){return 0},getText:function(){return""}}},de.prototype.getShowLineNumbers=function(){return this.$showLineNumbers},de.prototype.setShowFoldWidgets=function(he){he?$.addCssClass(this.element,"ace_folding-enabled"):$.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=he,this.$padding=null},de.prototype.getShowFoldWidgets=function(){return this.$showFoldWidgets},de.prototype.$hideFoldWidget=function(he,pe){var _e=pe||this.$getGutterCell(he);if(_e&&_e.element){var Ce=_e.element.childNodes[1];Ce&&$.setStyle(Ce.style,"display","none")}},de.prototype.$showFoldWidget=function(he,pe){var _e=pe||this.$getGutterCell(he);if(_e&&_e.element){var Ce=_e.element.childNodes[1];Ce&&this.session.foldWidgets&&this.session.foldWidgets[_e.row]&&$.setStyle(Ce.style,"display","inline-block")}},de.prototype.$getGutterCell=function(he){var pe=this.$lines.cells,_e=0,Ce=pe.length-1;if(!(hepe[Ce].row)){for(;_e<=Ce;){var xe=Math.floor((_e+Ce)/2),Ie=pe[xe];if(Ie.row>he)Ce=xe-1;else if(Ie.row_e.right-pe.right)return"foldWidgets"},de}();le.prototype.$fixedWidth=!1,le.prototype.$highlightGutterLine=!0,le.prototype.$renderer=void 0,le.prototype.$showLineNumbers=!0,le.prototype.$showFoldWidgets=!0,V.implement(le.prototype,ie);function ue(de){var he=document.createTextNode("");de.appendChild(he);var pe=$.createElement("span");de.appendChild(pe);var _e=$.createElement("span");de.appendChild(_e);var Ce=$.createElement("span");return _e.appendChild(Ce),de}i.Gutter=le}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(r,i,g){var $=r("../range").Range,V=r("../lib/dom"),re=function(){function ae(oe){this.element=V.createElement("div"),this.element.className="ace_layer ace_marker-layer",oe.appendChild(this.element)}return ae.prototype.setPadding=function(oe){this.$padding=oe},ae.prototype.setSession=function(oe){this.session=oe},ae.prototype.setMarkers=function(oe){this.markers=oe},ae.prototype.elt=function(oe,le){var ue=this.i!=-1&&this.element.childNodes[this.i];ue?this.i++:(ue=document.createElement("div"),this.element.appendChild(ue),this.i=-1),ue.style.cssText=le,ue.className=oe},ae.prototype.update=function(oe){if(oe){this.config=oe,this.i=0;var le;for(var ue in this.markers){var de=this.markers[ue];if(!de.range){de.update(le,this,this.session,oe);continue}var he=de.range.clipRows(oe.firstRow,oe.lastRow);if(!he.isEmpty())if(he=he.toScreenRange(this.session),de.renderer){var pe=this.$getTop(he.start.row,oe),_e=this.$padding+he.start.column*oe.characterWidth;de.renderer(le,he,_e,pe,oe)}else de.type=="fullLine"?this.drawFullLineMarker(le,he,de.clazz,oe):de.type=="screenLine"?this.drawScreenLineMarker(le,he,de.clazz,oe):he.isMultiLine()?de.type=="text"?this.drawTextMarker(le,he,de.clazz,oe):this.drawMultiLineMarker(le,he,de.clazz,oe):this.drawSingleLineMarker(le,he,de.clazz+" ace_start ace_br15",oe)}if(this.i!=-1)for(;this.iOe,xe==Ce),de,xe==Ce?0:1,he)},ae.prototype.drawMultiLineMarker=function(oe,le,ue,de,he){var pe=this.$padding,_e=de.lineHeight,Ce=this.$getTop(le.start.row,de),xe=pe+le.start.column*de.characterWidth;if(he=he||"",this.session.$bidiHandler.isBidiRow(le.start.row)){var Ie=le.clone();Ie.end.row=Ie.start.row,Ie.end.column=this.session.getLine(Ie.start.row).length,this.drawBidiSingleLineMarker(oe,Ie,ue+" ace_br1 ace_start",de,null,he)}else this.elt(ue+" ace_br1 ace_start","height:"+_e+"px;right:"+pe+"px;top:"+Ce+"px;left:"+xe+"px;"+(he||""));if(this.session.$bidiHandler.isBidiRow(le.end.row)){var Ie=le.clone();Ie.start.row=Ie.end.row,Ie.start.column=0,this.drawBidiSingleLineMarker(oe,Ie,ue+" ace_br12",de,null,he)}else{Ce=this.$getTop(le.end.row,de);var Ne=le.end.column*de.characterWidth;this.elt(ue+" ace_br12","height:"+_e+"px;width:"+Ne+"px;top:"+Ce+"px;left:"+pe+"px;"+(he||""))}if(_e=(le.end.row-le.start.row-1)*de.lineHeight,!(_e<=0)){Ce=this.$getTop(le.start.row+1,de);var Oe=(le.start.column?1:0)|(le.end.column?0:8);this.elt(ue+(Oe?" ace_br"+Oe:""),"height:"+_e+"px;right:"+pe+"px;top:"+Ce+"px;left:"+pe+"px;"+(he||""))}},ae.prototype.drawSingleLineMarker=function(oe,le,ue,de,he,pe){if(this.session.$bidiHandler.isBidiRow(le.start.row))return this.drawBidiSingleLineMarker(oe,le,ue,de,he,pe);var _e=de.lineHeight,Ce=(le.end.column+(he||0)-le.start.column)*de.characterWidth,xe=this.$getTop(le.start.row,de),Ie=this.$padding+le.start.column*de.characterWidth;this.elt(ue,"height:"+_e+"px;width:"+Ce+"px;top:"+xe+"px;left:"+Ie+"px;"+(pe||""))},ae.prototype.drawBidiSingleLineMarker=function(oe,le,ue,de,he,pe){var _e=de.lineHeight,Ce=this.$getTop(le.start.row,de),xe=this.$padding,Ie=this.session.$bidiHandler.getSelections(le.start.column,le.end.column);Ie.forEach(function(Ne){this.elt(ue,"height:"+_e+"px;width:"+(Ne.width+(he||0))+"px;top:"+Ce+"px;left:"+(xe+Ne.left)+"px;"+(pe||""))},this)},ae.prototype.drawFullLineMarker=function(oe,le,ue,de,he){var pe=this.$getTop(le.start.row,de),_e=de.lineHeight;le.start.row!=le.end.row&&(_e+=this.$getTop(le.end.row,de)-pe),this.elt(ue,"height:"+_e+"px;top:"+pe+"px;left:0;right:0;"+(he||""))},ae.prototype.drawScreenLineMarker=function(oe,le,ue,de,he){var pe=this.$getTop(le.start.row,de),_e=de.lineHeight;this.elt(ue,"height:"+_e+"px;top:"+pe+"px;left:0;right:0;"+(he||""))},ae}();re.prototype.$padding=0;function ie(ae,oe,le,ue){return(ae?1:0)|(oe?2:0)|(le?4:0)|(ue?8:0)}i.Marker=re}),ace.define("ace/layer/text_util",["require","exports","module"],function(r,i,g){var $=new Set(["text","rparen","lparen"]);i.isTextToken=function(V){return $.has(V)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(r,i,g){var $=r("../lib/oop"),V=r("../lib/dom"),re=r("../lib/lang"),ie=r("./lines").Lines,ae=r("../lib/event_emitter").EventEmitter,oe=r("../config").nls,le=r("./text_util").isTextToken,ue=function(){function de(he){this.dom=V,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",he.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new ie(this.element)}return de.prototype.$updateEolChar=function(){var he=this.session.doc,pe=he.getNewLineCharacter()==` -`&&he.getNewLineMode()!="windows",_e=pe?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=_e)return this.EOL_CHAR=_e,!0},de.prototype.setPadding=function(he){this.$padding=he,this.element.style.margin="0 "+he+"px"},de.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},de.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},de.prototype.$setFontMetrics=function(he){this.$fontMetrics=he,this.$fontMetrics.on("changeCharacterSize",(function(pe){this._signal("changeCharacterSize",pe)}).bind(this)),this.$pollSizeChanges()},de.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},de.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},de.prototype.setSession=function(he){this.session=he,he&&this.$computeTabString()},de.prototype.setShowInvisibles=function(he){return this.showInvisibles==he?!1:(this.showInvisibles=he,typeof he=="string"?(this.showSpaces=/tab/i.test(he),this.showTabs=/space/i.test(he),this.showEOL=/eol/i.test(he)):this.showSpaces=this.showTabs=this.showEOL=he,this.$computeTabString(),!0)},de.prototype.setDisplayIndentGuides=function(he){return this.displayIndentGuides==he?!1:(this.displayIndentGuides=he,this.$computeTabString(),!0)},de.prototype.setHighlightIndentGuides=function(he){return this.$highlightIndentGuides===he?!1:(this.$highlightIndentGuides=he,he)},de.prototype.$computeTabString=function(){var he=this.session.getTabSize();this.tabSize=he;for(var pe=this.$tabStrings=[0],_e=1;_eUe&&($e=Ve.end.row+1,Ve=this.session.getNextFoldLine($e,Ve),Ue=Ve?Ve.start.row:1/0),!($e>xe);){var Fe=Ie[Ne++];if(Fe){this.dom.removeChildren(Fe),this.$renderLine(Fe,$e,$e==Ue?Ve:!1),Oe&&(Fe.style.top=this.$lines.computeLineTop($e,he,this.session)+"px");var ze=he.lineHeight*this.session.getRowLength($e)+"px";Fe.style.height!=ze&&(Oe=!0,Fe.style.height=ze)}$e++}if(Oe)for(;Ne0;xe--)this.$lines.shift();if(pe.lastRow>he.lastRow)for(var xe=this.session.getFoldedRowCount(he.lastRow+1,pe.lastRow);xe>0;xe--)this.$lines.pop();he.firstRowpe.lastRow&&this.$lines.push(this.$renderLinesFragment(he,pe.lastRow+1,he.lastRow)),this.$highlightIndentGuide()},de.prototype.$renderLinesFragment=function(he,pe,_e){for(var Ce=[],xe=pe,Ie=this.session.getNextFoldLine(xe),Ne=Ie?Ie.start.row:1/0;xe>Ne&&(xe=Ie.end.row+1,Ie=this.session.getNextFoldLine(xe,Ie),Ne=Ie?Ie.start.row:1/0),!(xe>_e);){var Oe=this.$lines.createCell(xe,he,this.session),$e=Oe.element;this.dom.removeChildren($e),V.setStyle($e.style,"height",this.$lines.computeLineHeight(xe,he,this.session)+"px"),V.setStyle($e.style,"top",this.$lines.computeLineTop(xe,he,this.session)+"px"),this.$renderLine($e,xe,xe==Ne?Ie:!1),this.$useLineGroups()?$e.className="ace_line_group":$e.className="ace_line",Ce.push(Oe),xe++}return Ce},de.prototype.update=function(he){this.$lines.moveContainer(he),this.config=he;for(var pe=he.firstRow,_e=he.lastRow,Ce=this.$lines;Ce.getLength();)Ce.pop();Ce.push(this.$renderLinesFragment(he,pe,_e))},de.prototype.$renderToken=function(he,pe,_e,Ce){for(var xe=this,Ie=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069\u2060\u2061\u2062\u2063\u2064\u206A\u206B\u206B\u206C\u206D\u206E\u206F]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,Ne=this.dom.createFragment(this.element),Oe,$e=0;Oe=Ie.exec(Ce);){var Ve=Oe[1],Ue=Oe[2],Fe=Oe[3],ze=Oe[4],Pt=Oe[5];if(!(!xe.showSpaces&&Ue)){var qe=$e!=Oe.index?Ce.slice($e,Oe.index):"";if($e=Oe.index+Oe[0].length,qe&&Ne.appendChild(this.dom.createTextNode(qe,this.element)),Ve){var Et=xe.session.getScreenTabSize(pe+Oe.index),kt=xe.$tabStrings[Et].cloneNode(!0);kt.charCount=1,Ne.appendChild(kt),pe+=Et-1}else if(Ue)if(xe.showSpaces){var At=this.dom.createElement("span");At.className="ace_invisible ace_invisible_space",At.textContent=re.stringRepeat(xe.SPACE_CHAR,Ue.length),Ne.appendChild(At)}else Ne.appendChild(this.dom.createTextNode(Ue,this.element));else if(Fe){var At=this.dom.createElement("span");At.className="ace_invisible ace_invisible_space ace_invalid",At.textContent=re.stringRepeat(xe.SPACE_CHAR,Fe.length),Ne.appendChild(At)}else if(ze){pe+=1;var At=this.dom.createElement("span");At.style.width=xe.config.characterWidth*2+"px",At.className=xe.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",At.textContent=xe.showSpaces?xe.SPACE_CHAR:ze,Ne.appendChild(At)}else if(Pt){pe+=1;var At=this.dom.createElement("span");At.style.width=xe.config.characterWidth*2+"px",At.className="ace_cjk",At.textContent=Pt,Ne.appendChild(At)}}}if(Ne.appendChild(this.dom.createTextNode($e?Ce.slice($e):Ce,this.element)),le(_e.type))he.appendChild(Ne);else{var Dt="ace_"+_e.type.replace(/\./g," ace_"),At=this.dom.createElement("span");_e.type=="fold"&&(At.style.width=_e.value.length*this.config.characterWidth+"px",At.setAttribute("title",oe("inline-fold.closed.title","Unfold code"))),At.className=Dt,At.appendChild(Ne),he.appendChild(At)}return pe+Ce.length},de.prototype.renderIndentGuide=function(he,pe,_e){var Ce=pe.search(this.$indentGuideRe);if(Ce<=0||Ce>=_e)return pe;if(pe[0]==" "){Ce-=Ce%this.tabSize;for(var xe=Ce/this.tabSize,Ie=0;IeIe[Ne].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&he[pe.row]!==""&&pe.column===he[pe.row].length){this.$highlightIndentGuideMarker.dir=1;for(var Ne=pe.row+1;Ne0)Ce=he.element.childNodes[0];else return;var xe=Ce.childNodes;if(xe){var Ie=xe[pe-1];Ie&&Ie.classList&&Ie.classList.contains("ace_indent-guide")&&Ie.classList.add("ace_indent-guide-active")}}},de.prototype.$renderHighlightIndentGuide=function(){if(this.$lines){var he=this.$lines.cells;this.$clearActiveIndentGuide();var pe=this.$highlightIndentGuideMarker.indentLevel;if(pe!==0)if(this.$highlightIndentGuideMarker.dir===1)for(var _e=0;_e=this.$highlightIndentGuideMarker.start+1){if(Ce.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(Ce,pe)}}else for(var _e=he.length-1;_e>=0;_e--){var Ce=he[_e];if(this.$highlightIndentGuideMarker.end&&Ce.row=Ie;){Ne=this.$renderToken(Oe,Ne,Ve,Ue.substring(0,Ie-Ce)),Ue=Ue.substring(Ie-Ce),Ce=Ie,Oe=this.$createLineElement(),he.appendChild(Oe);var Fe=this.dom.createTextNode(re.stringRepeat(" ",_e.indent),this.element);Fe.charCount=0,Oe.appendChild(Fe),xe++,Ne=0,Ie=_e[xe]||Number.MAX_VALUE}Ue.length!=0&&(Ce+=Ue.length,Ne=this.$renderToken(Oe,Ne,Ve,Ue))}}_e[_e.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(Oe,Ne,null,"",!0)},de.prototype.$renderSimpleLine=function(he,pe){for(var _e=0,Ce=0;Cethis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(he,_e,xe,Ie);_e=this.$renderToken(he,_e,xe,Ie)}}},de.prototype.$renderOverflowMessage=function(he,pe,_e,Ce,xe){_e&&this.$renderToken(he,pe,_e,Ce.slice(0,this.MAX_LINE_LENGTH-pe));var Ie=this.dom.createElement("span");Ie.className="ace_inline_button ace_keyword ace_toggle_wrap",Ie.textContent=xe?"":"",he.appendChild(Ie)},de.prototype.$renderLine=function(he,pe,_e){if(!_e&&_e!=!1&&(_e=this.session.getFoldLine(pe)),_e)var Ce=this.$getFoldLineTokens(pe,_e);else var Ce=this.session.getTokens(pe);var xe=he;if(Ce.length){var Ie=this.session.getRowSplitData(pe);if(Ie&&Ie.length){this.$renderWrappedLine(he,Ce,Ie);var xe=he.lastChild}else{var xe=he;this.$useLineGroups()&&(xe=this.$createLineElement(),he.appendChild(xe)),this.$renderSimpleLine(xe,Ce)}}else this.$useLineGroups()&&(xe=this.$createLineElement(),he.appendChild(xe));if(this.showEOL&&xe){_e&&(pe=_e.end.row);var Ne=this.dom.createElement("span");Ne.className="ace_invisible ace_invisible_eol",Ne.textContent=pe==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,xe.appendChild(Ne)}},de.prototype.$getFoldLineTokens=function(he,pe){var _e=this.session,Ce=[];function xe(Ne,Oe,$e){for(var Ve=0,Ue=0;Ue+Ne[Ve].value.length$e-Oe&&(Fe=Fe.substring(0,$e-Oe)),Ce.push({type:Ne[Ve].type,value:Fe}),Ue=Oe+Fe.length,Ve+=1}for(;Ue<$e&&Ve$e?Ce.push({type:Ne[Ve].type,value:Fe.substring(0,$e-Ue)}):Ce.push(Ne[Ve]),Ue+=Fe.length,Ve+=1}}var Ie=_e.getTokens(he);return pe.walk(function(Ne,Oe,$e,Ve,Ue){Ne!=null?Ce.push({type:"fold",value:Ne}):(Ue&&(Ie=_e.getTokens(Oe)),Ie.length&&xe(Ie,Ve,$e))},pe.end.row,this.session.getLine(pe.end.row).length),Ce},de.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},de}();ue.prototype.EOF_CHAR="¶",ue.prototype.EOL_CHAR_LF="¬",ue.prototype.EOL_CHAR_CRLF="¤",ue.prototype.EOL_CHAR=ue.prototype.EOL_CHAR_LF,ue.prototype.TAB_CHAR="—",ue.prototype.SPACE_CHAR="·",ue.prototype.$padding=0,ue.prototype.MAX_LINE_LENGTH=1e4,ue.prototype.showInvisibles=!1,ue.prototype.showSpaces=!1,ue.prototype.showTabs=!1,ue.prototype.showEOL=!1,ue.prototype.displayIndentGuides=!0,ue.prototype.$highlightIndentGuides=!0,ue.prototype.$tabStrings=[],ue.prototype.destroy={},ue.prototype.onChangeTabSize=ue.prototype.$computeTabString,$.implement(ue.prototype,ae),i.Text=ue}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(r,i,g){var $=r("../lib/dom"),V=function(){function re(ie){this.element=$.createElement("div"),this.element.className="ace_layer ace_cursor-layer",ie.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),$.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return re.prototype.$updateOpacity=function(ie){for(var ae=this.cursors,oe=ae.length;oe--;)$.setStyle(ae[oe].style,"opacity",ie?"":"0")},re.prototype.$startCssAnimation=function(){for(var ie=this.cursors,ae=ie.length;ae--;)ie[ae].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout((function(){this.$isAnimating&&$.addCssClass(this.element,"ace_animate-blinking")}).bind(this))},re.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,$.removeCssClass(this.element,"ace_animate-blinking")},re.prototype.setPadding=function(ie){this.$padding=ie},re.prototype.setSession=function(ie){this.session=ie},re.prototype.setBlinking=function(ie){ie!=this.isBlinking&&(this.isBlinking=ie,this.restartTimer())},re.prototype.setBlinkInterval=function(ie){ie!=this.blinkInterval&&(this.blinkInterval=ie,this.restartTimer())},re.prototype.setSmoothBlinking=function(ie){ie!=this.smoothBlinking&&(this.smoothBlinking=ie,$.setCssClass(this.element,"ace_smooth-blinking",ie),this.$updateCursors(!0),this.restartTimer())},re.prototype.addCursor=function(){var ie=$.createElement("div");return ie.className="ace_cursor",this.element.appendChild(ie),this.cursors.push(ie),ie},re.prototype.removeCursor=function(){if(this.cursors.length>1){var ie=this.cursors.pop();return ie.parentNode.removeChild(ie),ie}},re.prototype.hideCursor=function(){this.isVisible=!1,$.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},re.prototype.showCursor=function(){this.isVisible=!0,$.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},re.prototype.restartTimer=function(){var ie=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,$.removeCssClass(this.element,"ace_smooth-blinking")),ie(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout((function(){this.$isSmoothBlinking&&$.addCssClass(this.element,"ace_smooth-blinking")}).bind(this))),$.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var ae=(function(){this.timeoutId=setTimeout(function(){ie(!1)},.6*this.blinkInterval)}).bind(this);this.intervalId=setInterval(function(){ie(!0),ae()},this.blinkInterval),ae()}},re.prototype.getPixelPosition=function(ie,ae){if(!this.config||!this.session)return{left:0,top:0};ie||(ie=this.session.selection.getCursor());var oe=this.session.documentToScreenPosition(ie),le=this.$padding+(this.session.$bidiHandler.isBidiRow(oe.row,ie.row)?this.session.$bidiHandler.getPosLeft(oe.column):oe.column*this.config.characterWidth),ue=(oe.row-(ae?this.config.firstRowScreen:0))*this.config.lineHeight;return{left:le,top:ue}},re.prototype.isCursorInView=function(ie,ae){return ie.top>=0&&ie.topie.height+ie.offset||de.top<0)&&oe>1)){var he=this.cursors[le++]||this.addCursor(),pe=he.style;this.drawCursor?this.drawCursor(he,de,ie,ae[oe],this.session):this.isCursorInView(de,ie)?($.setStyle(pe,"display","block"),$.translate(he,de.left,de.top),$.setStyle(pe,"width",Math.round(ie.characterWidth)+"px"),$.setStyle(pe,"height",ie.lineHeight+"px")):$.setStyle(pe,"display","none")}}for(;this.cursors.length>le;)this.removeCursor();var _e=this.session.getOverwrite();this.$setOverwrite(_e),this.$pixelPos=de,this.restartTimer()},re.prototype.$setOverwrite=function(ie){ie!=this.overwrite&&(this.overwrite=ie,ie?$.addCssClass(this.element,"ace_overwrite-cursors"):$.removeCssClass(this.element,"ace_overwrite-cursors"))},re.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},re}();V.prototype.$padding=0,V.prototype.drawCursor=null,i.Cursor=V}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(r,i,g){var $=this&&this.__extends||function(){var he=function(pe,_e){return he=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ce,xe){Ce.__proto__=xe}||function(Ce,xe){for(var Ie in xe)Object.prototype.hasOwnProperty.call(xe,Ie)&&(Ce[Ie]=xe[Ie])},he(pe,_e)};return function(pe,_e){if(typeof _e!="function"&&_e!==null)throw new TypeError("Class extends value "+String(_e)+" is not a constructor or null");he(pe,_e);function Ce(){this.constructor=pe}pe.prototype=_e===null?Object.create(_e):(Ce.prototype=_e.prototype,new Ce)}}(),V=r("./lib/oop"),re=r("./lib/dom"),ie=r("./lib/event"),ae=r("./lib/event_emitter").EventEmitter,oe=32768,le=function(){function he(pe,_e){this.element=re.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+_e,this.inner=re.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),pe.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,ie.addListener(this.element,"scroll",this.onScroll.bind(this)),ie.addListener(this.element,"mousedown",ie.preventDefault)}return he.prototype.setVisible=function(pe){this.element.style.display=pe?"":"none",this.isVisible=pe,this.coeff=1},he}();V.implement(le.prototype,ae);var ue=function(he){$(pe,he);function pe(_e,Ce){var xe=he.call(this,_e,"-v")||this;return xe.scrollTop=0,xe.scrollHeight=0,Ce.$scrollbarWidth=xe.width=re.scrollbarWidth(_e.ownerDocument),xe.inner.style.width=xe.element.style.width=(xe.width||15)+5+"px",xe.$minWidth=0,xe}return pe.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var _e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-_e)/(this.coeff-_e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},pe.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},pe.prototype.setHeight=function(_e){this.element.style.height=_e+"px"},pe.prototype.setScrollHeight=function(_e){this.scrollHeight=_e,_e>oe?(this.coeff=oe/_e,_e=oe):this.coeff!=1&&(this.coeff=1),this.inner.style.height=_e+"px"},pe.prototype.setScrollTop=function(_e){this.scrollTop!=_e&&(this.skipEvent=!0,this.scrollTop=_e,this.element.scrollTop=_e*this.coeff)},pe}(le);ue.prototype.setInnerHeight=ue.prototype.setScrollHeight;var de=function(he){$(pe,he);function pe(_e,Ce){var xe=he.call(this,_e,"-h")||this;return xe.scrollLeft=0,xe.height=Ce.$scrollbarWidth,xe.inner.style.height=xe.element.style.height=(xe.height||15)+5+"px",xe}return pe.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},pe.prototype.getHeight=function(){return this.isVisible?this.height:0},pe.prototype.setWidth=function(_e){this.element.style.width=_e+"px"},pe.prototype.setInnerWidth=function(_e){this.inner.style.width=_e+"px"},pe.prototype.setScrollWidth=function(_e){this.inner.style.width=_e+"px"},pe.prototype.setScrollLeft=function(_e){this.scrollLeft!=_e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=_e)},pe}(le);i.ScrollBar=ue,i.ScrollBarV=ue,i.ScrollBarH=de,i.VScrollBar=ue,i.HScrollBar=de}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(r,i,g){var $=this&&this.__extends||function(){var de=function(he,pe){return de=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(_e,Ce){_e.__proto__=Ce}||function(_e,Ce){for(var xe in Ce)Object.prototype.hasOwnProperty.call(Ce,xe)&&(_e[xe]=Ce[xe])},de(he,pe)};return function(he,pe){if(typeof pe!="function"&&pe!==null)throw new TypeError("Class extends value "+String(pe)+" is not a constructor or null");de(he,pe);function _e(){this.constructor=he}he.prototype=pe===null?Object.create(pe):(_e.prototype=pe.prototype,new _e)}}(),V=r("./lib/oop"),re=r("./lib/dom"),ie=r("./lib/event"),ae=r("./lib/event_emitter").EventEmitter;re.importCssString(`.ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{ - position: absolute; - background: rgba(128, 128, 128, 0.6); - -moz-box-sizing: border-box; - box-sizing: border-box; - border: 1px solid #bbb; - border-radius: 2px; - z-index: 8; -} -.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h { - position: absolute; - z-index: 6; - background: none; - overflow: hidden!important; -} -.ace_editor>.ace_sb-v { - z-index: 6; - right: 0; - top: 0; - width: 12px; -} -.ace_editor>.ace_sb-v div { - z-index: 8; - right: 0; - width: 100%; -} -.ace_editor>.ace_sb-h { - bottom: 0; - left: 0; - height: 12px; -} -.ace_editor>.ace_sb-h div { - bottom: 0; - height: 100%; -} -.ace_editor>.ace_sb_grabbed { - z-index: 8; - background: #000; -}`,"ace_scrollbar.css",!1);var oe=function(){function de(he,pe){this.element=re.createElement("div"),this.element.className="ace_sb"+pe,this.inner=re.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,he.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,ie.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return de.prototype.setVisible=function(he){this.element.style.display=he?"":"none",this.isVisible=he,this.coeff=1},de}();V.implement(oe.prototype,ae);var le=function(de){$(he,de);function he(pe,_e){var Ce=de.call(this,pe,"-v")||this;return Ce.scrollTop=0,Ce.scrollHeight=0,Ce.parent=pe,Ce.width=Ce.VScrollWidth,Ce.renderer=_e,Ce.inner.style.width=Ce.element.style.width=(Ce.width||15)+"px",Ce.$minWidth=0,Ce}return he.prototype.onMouseDown=function(pe,_e){if(pe==="mousedown"&&!(ie.getButton(_e)!==0||_e.detail===2)){if(_e.target===this.inner){var Ce=this,xe=_e.clientY,Ie=function(ze){xe=ze.clientY},Ne=function(){clearInterval(Ue)},Oe=_e.clientY,$e=this.thumbTop,Ve=function(){if(xe!==void 0){var ze=Ce.scrollTopFromThumbTop($e+xe-Oe);ze!==Ce.scrollTop&&Ce._emit("scroll",{data:ze})}};ie.capture(this.inner,Ie,Ne);var Ue=setInterval(Ve,20);return ie.preventDefault(_e)}var Fe=_e.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(Fe)}),ie.preventDefault(_e)}},he.prototype.getHeight=function(){return this.height},he.prototype.scrollTopFromThumbTop=function(pe){var _e=pe*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return _e=_e>>0,_e<0?_e=0:_e>this.pageHeight-this.viewHeight&&(_e=this.pageHeight-this.viewHeight),_e},he.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},he.prototype.setHeight=function(pe){this.height=Math.max(0,pe),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},he.prototype.setScrollHeight=function(pe,_e){this.pageHeight===pe&&!_e||(this.pageHeight=pe,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},he.prototype.setScrollTop=function(pe){this.scrollTop=pe,pe<0&&(pe=0),this.thumbTop=pe*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},he}(oe);le.prototype.setInnerHeight=le.prototype.setScrollHeight;var ue=function(de){$(he,de);function he(pe,_e){var Ce=de.call(this,pe,"-h")||this;return Ce.scrollLeft=0,Ce.scrollWidth=0,Ce.height=Ce.HScrollHeight,Ce.inner.style.height=Ce.element.style.height=(Ce.height||12)+"px",Ce.renderer=_e,Ce}return he.prototype.onMouseDown=function(pe,_e){if(pe==="mousedown"&&!(ie.getButton(_e)!==0||_e.detail===2)){if(_e.target===this.inner){var Ce=this,xe=_e.clientX,Ie=function(ze){xe=ze.clientX},Ne=function(){clearInterval(Ue)},Oe=_e.clientX,$e=this.thumbLeft,Ve=function(){if(xe!==void 0){var ze=Ce.scrollLeftFromThumbLeft($e+xe-Oe);ze!==Ce.scrollLeft&&Ce._emit("scroll",{data:ze})}};ie.capture(this.inner,Ie,Ne);var Ue=setInterval(Ve,20);return ie.preventDefault(_e)}var Fe=_e.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(Fe)}),ie.preventDefault(_e)}},he.prototype.getHeight=function(){return this.isVisible?this.height:0},he.prototype.scrollLeftFromThumbLeft=function(pe){var _e=pe*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return _e=_e>>0,_e<0?_e=0:_e>this.pageWidth-this.viewWidth&&(_e=this.pageWidth-this.viewWidth),_e},he.prototype.setWidth=function(pe){this.width=Math.max(0,pe),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},he.prototype.setScrollWidth=function(pe,_e){this.pageWidth===pe&&!_e||(this.pageWidth=pe,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},he.prototype.setScrollLeft=function(pe){this.scrollLeft=pe,pe<0&&(pe=0),this.thumbLeft=pe*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},he}(oe);ue.prototype.setInnerWidth=ue.prototype.setScrollWidth,i.ScrollBar=le,i.ScrollBarV=le,i.ScrollBarH=ue,i.VScrollBar=le,i.HScrollBar=ue}),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],function(r,i,g){var $=r("./lib/event"),V=function(){function re(ie,ae){this.onRender=ie,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=ae||window;var oe=this;this._flush=function(le){oe.pending=!1;var ue=oe.changes;if(ue&&($.blockIdle(100),oe.changes=0,oe.onRender(ue)),oe.changes){if(oe.$recursionLimit--<0)return;oe.schedule()}else oe.$recursionLimit=2}}return re.prototype.schedule=function(ie){this.changes=this.changes|ie,this.changes&&!this.pending&&($.nextFrame(this._flush),this.pending=!0)},re.prototype.clear=function(ie){var ae=this.changes;return this.changes=0,ae},re}();i.RenderLoop=V}),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],function(r,i,g){var $=r("../lib/oop"),V=r("../lib/dom"),re=r("../lib/lang"),ie=r("../lib/event"),ae=r("../lib/useragent"),oe=r("../lib/event_emitter").EventEmitter,le=512,ue=typeof ResizeObserver=="function",de=200,he=function(){function pe(_e){this.el=V.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=V.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=V.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),_e.appendChild(this.el),this.$measureNode.textContent=re.stringRepeat("X",le),this.$characterSize={width:0,height:0},ue?this.$addObserver():this.checkForSizeChanges()}return pe.prototype.$setMeasureNodeStyles=function(_e,Ce){_e.width=_e.height="auto",_e.left=_e.top="0px",_e.visibility="hidden",_e.position="absolute",_e.whiteSpace="pre",ae.isIE<8?_e["font-family"]="inherit":_e.font="inherit",_e.overflow=Ce?"hidden":"visible"},pe.prototype.checkForSizeChanges=function(_e){if(_e===void 0&&(_e=this.$measureSizes()),_e&&(this.$characterSize.width!==_e.width||this.$characterSize.height!==_e.height)){this.$measureNode.style.fontWeight="bold";var Ce=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=_e,this.charSizes=Object.create(null),this.allowBoldFonts=Ce&&Ce.width===_e.width&&Ce.height===_e.height,this._emit("changeCharacterSize",{data:_e})}},pe.prototype.$addObserver=function(){var _e=this;this.$observer=new window.ResizeObserver(function(Ce){_e.checkForSizeChanges()}),this.$observer.observe(this.$measureNode)},pe.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var _e=this;return this.$pollSizeChangesTimer=ie.onIdle(function Ce(){_e.checkForSizeChanges(),ie.onIdle(Ce,500)},500)},pe.prototype.setPolling=function(_e){_e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},pe.prototype.$measureSizes=function(_e){var Ce={height:(_e||this.$measureNode).clientHeight,width:(_e||this.$measureNode).clientWidth/le};return Ce.width===0||Ce.height===0?null:Ce},pe.prototype.$measureCharWidth=function(_e){this.$main.textContent=re.stringRepeat(_e,le);var Ce=this.$main.getBoundingClientRect();return Ce.width/le},pe.prototype.getCharacterWidth=function(_e){var Ce=this.charSizes[_e];return Ce===void 0&&(Ce=this.charSizes[_e]=this.$measureCharWidth(_e)/this.$characterSize.width),Ce},pe.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},pe.prototype.$getZoom=function(_e){return!_e||!_e.parentElement?1:(Number(window.getComputedStyle(_e).zoom)||1)*this.$getZoom(_e.parentElement)},pe.prototype.$initTransformMeasureNodes=function(){var _e=function(Ce,xe){return["div",{style:"position: absolute;top:"+Ce+"px;left:"+xe+"px;"}]};this.els=V.buildDom([_e(0,0),_e(de,0),_e(0,de),_e(de,de)],this.el)},pe.prototype.transformCoordinates=function(_e,Ce){if(_e){var xe=this.$getZoom(this.el);_e=$e(1/xe,_e)}function Ie(vn,_n,wn){var bn=vn[1]*_n[0]-vn[0]*_n[1];return[(-_n[1]*wn[0]+_n[0]*wn[1])/bn,(+vn[1]*wn[0]-vn[0]*wn[1])/bn]}function Ne(vn,_n){return[vn[0]-_n[0],vn[1]-_n[1]]}function Oe(vn,_n){return[vn[0]+_n[0],vn[1]+_n[1]]}function $e(vn,_n){return[vn*_n[0],vn*_n[1]]}this.els||this.$initTransformMeasureNodes();function Ve(vn){var _n=vn.getBoundingClientRect();return[_n.left,_n.top]}var Ue=Ve(this.els[0]),Fe=Ve(this.els[1]),ze=Ve(this.els[2]),Pt=Ve(this.els[3]),qe=Ie(Ne(Pt,Fe),Ne(Pt,ze),Ne(Oe(Fe,ze),Oe(Pt,Ue))),Et=$e(1+qe[0],Ne(Fe,Ue)),kt=$e(1+qe[1],Ne(ze,Ue));if(Ce){var At=Ce,Dt=qe[0]*At[0]/de+qe[1]*At[1]/de+1,Lt=Oe($e(At[0],Et),$e(At[1],kt));return Oe($e(1/Dt/de,Lt),Ue)}var jt=Ne(_e,Ue),hn=Ie(Ne(Et,$e(qe[0],jt)),Ne(kt,$e(qe[1],jt)),jt);return $e(de,hn)},pe}();he.prototype.$characterSize={width:0,height:0},$.implement(he.prototype,oe),i.FontMetrics=he}),ace.define("ace/css/editor-css",["require","exports","module"],function(r,i,g){g.exports=` -.ace_br1 {border-top-left-radius : 3px;} -.ace_br2 {border-top-right-radius : 3px;} -.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;} -.ace_br4 {border-bottom-right-radius: 3px;} -.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;} -.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;} -.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;} -.ace_br8 {border-bottom-left-radius : 3px;} -.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;} -.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;} -.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;} -.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} -.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} -.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} -.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;} - - -.ace_editor { - position: relative; - overflow: hidden; - padding: 0; - font: 12px/normal 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', 'Source Code Pro', 'source-code-pro', monospace; - direction: ltr; - text-align: left; - -webkit-tap-highlight-color: rgba(0, 0, 0, 0); - forced-color-adjust: none; -} - -.ace_scroller { - position: absolute; - overflow: hidden; - top: 0; - bottom: 0; - background-color: inherit; - -ms-user-select: none; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; - cursor: text; -} - -.ace_content { - position: absolute; - box-sizing: border-box; - min-width: 100%; - contain: style size layout; - font-variant-ligatures: no-common-ligatures; -} -.ace_invisible { - font-variant-ligatures: none; -} - -.ace_keyboard-focus:focus { - box-shadow: inset 0 0 0 2px #5E9ED6; - outline: none; -} - -.ace_dragging .ace_scroller:before{ - position: absolute; - top: 0; - left: 0; - right: 0; - bottom: 0; - content: ''; - background: rgba(250, 250, 250, 0.01); - z-index: 1000; -} -.ace_dragging.ace_dark .ace_scroller:before{ - background: rgba(0, 0, 0, 0.01); -} - -.ace_gutter { - position: absolute; - overflow : hidden; - width: auto; - top: 0; - bottom: 0; - left: 0; - cursor: default; - z-index: 4; - -ms-user-select: none; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; - contain: style size layout; -} - -.ace_gutter-active-line { - position: absolute; - left: 0; - right: 0; -} - -.ace_scroller.ace_scroll-left:after { - content: ""; - position: absolute; - top: 0; - right: 0; - bottom: 0; - left: 0; - box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset; - pointer-events: none; -} - -.ace_gutter-cell, .ace_gutter-cell_svg-icons { - position: absolute; - top: 0; - left: 0; - right: 0; - padding-left: 19px; - padding-right: 6px; - background-repeat: no-repeat; -} - -.ace_gutter-cell_svg-icons .ace_gutter_annotation { - margin-left: -14px; - float: left; -} - -.ace_gutter-cell .ace_gutter_annotation { - margin-left: -19px; - float: left; -} - -.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold, .ace_gutter-cell.ace_security, .ace_icon.ace_security, .ace_icon.ace_security_fold { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg=="); - background-repeat: no-repeat; - background-position: 2px center; -} - -.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg=="); - background-repeat: no-repeat; - background-position: 2px center; -} - -.ace_gutter-cell.ace_info, .ace_icon.ace_info, .ace_gutter-cell.ace_hint, .ace_icon.ace_hint { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII="); - background-repeat: no-repeat; - background-position: 2px center; -} - -.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info, .ace_dark .ace_gutter-cell.ace_hint, .ace_dark .ace_icon.ace_hint { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC"); -} - -.ace_icon_svg.ace_error { - -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+"); - background-color: crimson; -} -.ace_icon_svg.ace_security { - -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0iZGFya29yYW5nZSIgZmlsbD0ibm9uZSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogICAgICAgIDxwYXRoIGNsYXNzPSJzdHJva2UtbGluZWpvaW4tcm91bmQiIGQ9Ik04IDE0LjgzMDdDOCAxNC44MzA3IDIgMTIuOTA0NyAyIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOEM3Ljk4OTk5IDEuMzQ5MTggMTAuNjkgMy4yNjU0OCAxNCAzLjI2NTQ4VjguMDg5OTJDMTQgMTIuOTA0NyA4IDE0LjgzMDcgOCAxNC44MzA3WiIvPgogICAgICAgIDxwYXRoIGQ9Ik0yIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOCIvPgogICAgICAgIDxwYXRoIGQ9Ik0xMy45OSA4LjA4OTkyVjMuMjY1NDhDMTAuNjggMy4yNjU0OCA4IDEuMzQ5MTggOCAxLjM0OTE4Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggNFY5Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggMTBWMTIiLz4KICAgIDwvZz4KPC9zdmc+"); - background-color: crimson; -} -.ace_icon_svg.ace_warning { - -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg=="); - background-color: darkorange; -} -.ace_icon_svg.ace_info { - -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg=="); - background-color: royalblue; -} -.ace_icon_svg.ace_hint { - -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0ic2lsdmVyIiBmaWxsPSJub25lIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTYgMTRIMTAiLz4KICAgICAgICA8cGF0aCBkPSJNOCAxMUg5QzkgOS40NzAwMiAxMiA4LjU0MDAyIDEyIDUuNzYwMDJDMTIuMDIgNC40MDAwMiAxMS4zOSAzLjM2MDAyIDEwLjQzIDIuNjcwMDJDOSAxLjY0MDAyIDcuMDAwMDEgMS42NDAwMiA1LjU3MDAxIDIuNjcwMDJDNC42MTAwMSAzLjM2MDAyIDMuOTggNC40MDAwMiA0IDUuNzYwMDJDNCA4LjU0MDAyIDcuMDAwMDEgOS40NzAwMiA3LjAwMDAxIDExSDhaIi8+CiAgICA8L2c+Cjwvc3ZnPg=="); - background-color: silver; -} - -.ace_icon_svg.ace_error_fold { - -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4="); - background-color: crimson; -} -.ace_icon_svg.ace_security_fold { - -webkit-mask-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTcgMTQiIGZpbGw9Im5vbmUiPgogICAgPHBhdGggZD0iTTEwLjAwMDEgMTMuNjk5MkMxMC4wMDAxIDEzLjY5OTIgMTEuOTI0MSAxMy40NzYzIDEzIDEyLjY5OTJDMTQuNDEzOSAxMS42NzgxIDE2IDEwLjUgMTYuMTI1MSA2LjgxMTI2VjIuNTg5ODdDMTYuMTI1MSAyLjU0NzY4IDE2LjEyMjEgMi41MDYxOSAxNi4xMTY0IDIuNDY1NTlWMS43MTQ4NUgxNS4yNDE0TDE1LjIzMDcgMS43MTQ4NEwxNC42MjUxIDEuNjk5MjJWNi44MTEyM0MxNC42MjUxIDguNTEwNjEgMTQuNjI1MSA5LjQ2NDYxIDEyLjc4MjQgMTEuNzIxQzEyLjE1ODYgMTIuNDg0OCAxMC4wMDAxIDEzLjY5OTIgMTAuMDAwMSAxMy42OTkyWiIgZmlsbD0iY3JpbXNvbiIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuMzM2MDkgMC4zNjc0NzVDNy4wMzIxNCAwLjE1MjY1MiA2LjYyNTQ4IDAuMTUzNjE0IDYuMzIyNTMgMC4zNjk5OTdMNi4zMDg2OSAwLjM3OTU1NEM2LjI5NTUzIDAuMzg4NTg4IDYuMjczODggMC40MDMyNjYgNi4yNDQxNyAwLjQyMjc4OUM2LjE4NDcxIDAuNDYxODYgNi4wOTMyMSAwLjUyMDE3MSA1Ljk3MzEzIDAuNTkxMzczQzUuNzMyNTEgMC43MzQwNTkgNS4zNzk5IDAuOTI2ODY0IDQuOTQyNzkgMS4xMjAwOUM0LjA2MTQ0IDEuNTA5NyAyLjg3NTQxIDEuODgzNzcgMS41ODk4NCAxLjg4Mzc3SDAuNzE0ODQ0VjIuNzU4NzdWNi45ODAxNUMwLjcxNDg0NCA5LjQ5Mzc0IDIuMjg4NjYgMTEuMTk3MyAzLjcwMjU0IDEyLjIxODVDNC40MTg0NSAxMi43MzU1IDUuMTI4NzQgMTMuMTA1MyA1LjY1NzMzIDEzLjM0NTdDNS45MjI4NCAxMy40NjY0IDYuMTQ1NjYgMTMuNTU1OSA2LjMwNDY1IDEzLjYxNjFDNi4zODQyMyAxMy42NDYyIDYuNDQ4MDUgMTMuNjY5IDYuNDkzNDkgMTMuNjg0OEM2LjUxNjIyIDEzLjY5MjcgNi41MzQzOCAxMy42OTg5IDYuNTQ3NjQgMTMuNzAzM0w2LjU2MzgyIDEzLjcwODdMNi41NjkwOCAxMy43MTA0TDYuNTcwOTkgMTMuNzExTDYuODM5ODQgMTMuNzUzM0w2LjU3MjQyIDEzLjcxMTVDNi43NDYzMyAxMy43NjczIDYuOTMzMzUgMTMuNzY3MyA3LjEwNzI3IDEzLjcxMTVMNy4xMDg3IDEzLjcxMUw3LjExMDYxIDEzLjcxMDRMNy4xMTU4NyAxMy43MDg3TDcuMTMyMDUgMTMuNzAzM0M3LjE0NTMxIDEzLjY5ODkgNy4xNjM0NiAxMy42OTI3IDcuMTg2MTkgMTMuNjg0OEM3LjIzMTY0IDEzLjY2OSA3LjI5NTQ2IDEzLjY0NjIgNy4zNzUwMyAxMy42MTYxQzcuNTM0MDMgMTMuNTU1OSA3Ljc1Njg1IDEzLjQ2NjQgOC4wMjIzNiAxMy4zNDU3QzguNTUwOTUgMTMuMTA1MyA5LjI2MTIzIDEyLjczNTUgOS45NzcxNSAxMi4yMTg1QzExLjM5MSAxMS4xOTczIDEyLjk2NDggOS40OTM3NyAxMi45NjQ4IDYuOTgwMThWMi43NTg4QzEyLjk2NDggMi43MTY2IDEyLjk2MTkgMi42NzUxMSAxMi45NTYxIDIuNjM0NTFWMS44ODM3N0gxMi4wODExQzEyLjA3NzUgMS44ODM3NyAxMi4wNzQgMS44ODM3NyAxMi4wNzA0IDEuODgzNzdDMTAuNzk3OSAxLjg4MDA0IDkuNjE5NjIgMS41MTEwMiA4LjczODk0IDEuMTI0ODZDOC43MzUzNCAxLjEyMzI3IDguNzMxNzQgMS4xMjE2OCA4LjcyODE0IDEuMTIwMDlDOC4yOTEwMyAwLjkyNjg2NCA3LjkzODQyIDAuNzM0MDU5IDcuNjk3NzkgMC41OTEzNzNDNy41Nzc3MiAwLjUyMDE3MSA3LjQ4NjIyIDAuNDYxODYgNy40MjY3NiAwLjQyMjc4OUM3LjM5NzA1IDAuNDAzMjY2IDcuMzc1MzkgMC4zODg1ODggNy4zNjIyNCAwLjM3OTU1NEw3LjM0ODk2IDAuMzcwMzVDNy4zNDg5NiAwLjM3MDM1IDcuMzQ4NDcgMC4zNzAwMiA3LjM0NTYzIDAuMzc0MDU0TDcuMzM3NzkgMC4zNjg2NTlMNy4zMzYwOSAwLjM2NzQ3NVpNOC4wMzQ3MSAyLjcyNjkxQzguODYwNCAzLjA5MDYzIDkuOTYwNjYgMy40NjMwOSAxMS4yMDYxIDMuNTg5MDdWNi45ODAxNUgxMS4yMTQ4QzExLjIxNDggOC42Nzk1MyAxMC4xNjM3IDkuOTI1MDcgOC45NTI1NCAxMC43OTk4QzguMzU1OTUgMTEuMjMwNiA3Ljc1Mzc0IDExLjU0NTQgNy4yOTc5NiAxMS43NTI3QzcuMTE2NzEgMTEuODM1MSA2Ljk2MDYyIDExLjg5OTYgNi44Mzk4NCAxMS45NDY5QzYuNzE5MDYgMTEuODk5NiA2LjU2Mjk3IDExLjgzNTEgNi4zODE3MyAxMS43NTI3QzUuOTI1OTUgMTEuNTQ1NCA1LjMyMzczIDExLjIzMDYgNC43MjcxNSAxMC43OTk4QzMuNTE2MDMgOS45MjUwNyAyLjQ2NDg0IDguNjc5NTUgMi40NjQ4NCA2Ljk4MDE4VjMuNTg5MDlDMy43MTczOCAzLjQ2MjM5IDQuODIzMDggMy4wODYzOSA1LjY1MDMzIDIuNzIwNzFDNi4xNDIyOCAyLjUwMzI0IDYuNTQ0ODUgMi4yODUzNyA2LjgzMjU0IDIuMTE2MjRDNy4xMjE4MSAyLjI4NTM1IDcuNTI3IDIuNTAzNTIgOC4wMjE5NiAyLjcyMTMxQzguMDI2MiAyLjcyMzE3IDguMDMwNDUgMi43MjUwNCA4LjAzNDcxIDIuNzI2OTFaTTUuOTY0ODQgMy40MDE0N1Y3Ljc3NjQ3SDcuNzE0ODRWMy40MDE0N0g1Ljk2NDg0Wk01Ljk2NDg0IDEwLjQwMTVWOC42NTE0N0g3LjcxNDg0VjEwLjQwMTVINS45NjQ4NFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4="); - background-color: crimson; -} -.ace_icon_svg.ace_warning_fold { - -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4="); - background-color: darkorange; -} - -.ace_scrollbar { - contain: strict; - position: absolute; - right: 0; - bottom: 0; - z-index: 6; -} - -.ace_scrollbar-inner { - position: absolute; - cursor: text; - left: 0; - top: 0; -} - -.ace_scrollbar-v{ - overflow-x: hidden; - overflow-y: scroll; - top: 0; -} - -.ace_scrollbar-h { - overflow-x: scroll; - overflow-y: hidden; - left: 0; -} - -.ace_print-margin { - position: absolute; - height: 100%; -} - -.ace_text-input { - position: absolute; - z-index: 0; - width: 0.5em; - height: 1em; - opacity: 0; - background: transparent; - -moz-appearance: none; - appearance: none; - border: none; - resize: none; - outline: none; - overflow: hidden; - font: inherit; - padding: 0 1px; - margin: 0 -1px; - contain: strict; - -ms-user-select: text; - -moz-user-select: text; - -webkit-user-select: text; - user-select: text; - /*with \`pre-line\` chrome inserts   instead of space*/ - white-space: pre!important; -} -.ace_text-input.ace_composition { - background: transparent; - color: inherit; - z-index: 1000; - opacity: 1; -} -.ace_composition_placeholder { color: transparent } -.ace_composition_marker { - border-bottom: 1px solid; - position: absolute; - border-radius: 0; - margin-top: 1px; -} - -[ace_nocontext=true] { - transform: none!important; - filter: none!important; - clip-path: none!important; - mask : none!important; - contain: none!important; - perspective: none!important; - mix-blend-mode: initial!important; - z-index: auto; -} - -.ace_layer { - z-index: 1; - position: absolute; - overflow: hidden; - /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/ - word-wrap: normal; - white-space: pre; - height: 100%; - width: 100%; - box-sizing: border-box; - /* setting pointer-events: auto; on node under the mouse, which changes - during scroll, will break mouse wheel scrolling in Safari */ - pointer-events: none; -} - -.ace_gutter-layer { - position: relative; - width: auto; - text-align: right; - pointer-events: auto; - height: 1000000px; - contain: style size layout; -} - -.ace_text-layer { - font: inherit !important; - position: absolute; - height: 1000000px; - width: 1000000px; - contain: style size layout; -} - -.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group { - contain: style size layout; - position: absolute; - top: 0; - left: 0; - right: 0; -} - -.ace_hidpi .ace_text-layer, -.ace_hidpi .ace_gutter-layer, -.ace_hidpi .ace_content, -.ace_hidpi .ace_gutter { - contain: strict; -} -.ace_hidpi .ace_text-layer > .ace_line, -.ace_hidpi .ace_text-layer > .ace_line_group { - contain: strict; -} - -.ace_cjk { - display: inline-block; - text-align: center; -} - -.ace_cursor-layer { - z-index: 4; -} - -.ace_cursor { - z-index: 4; - position: absolute; - box-sizing: border-box; - border-left: 2px solid; - /* workaround for smooth cursor repaintng whole screen in chrome */ - transform: translatez(0); -} - -.ace_multiselect .ace_cursor { - border-left-width: 1px; -} - -.ace_slim-cursors .ace_cursor { - border-left-width: 1px; -} - -.ace_overwrite-cursors .ace_cursor { - border-left-width: 0; - border-bottom: 1px solid; -} - -.ace_hidden-cursors .ace_cursor { - opacity: 0.2; -} - -.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor { - opacity: 0; -} - -.ace_smooth-blinking .ace_cursor { - transition: opacity 0.18s; -} - -.ace_animate-blinking .ace_cursor { - animation-duration: 1000ms; - animation-timing-function: step-end; - animation-name: blink-ace-animate; - animation-iteration-count: infinite; -} - -.ace_animate-blinking.ace_smooth-blinking .ace_cursor { - animation-duration: 1000ms; - animation-timing-function: ease-in-out; - animation-name: blink-ace-animate-smooth; -} - -@keyframes blink-ace-animate { - from, to { opacity: 1; } - 60% { opacity: 0; } -} - -@keyframes blink-ace-animate-smooth { - from, to { opacity: 1; } - 45% { opacity: 1; } - 60% { opacity: 0; } - 85% { opacity: 0; } -} - -.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack { - position: absolute; - z-index: 3; -} - -.ace_marker-layer .ace_selection { - position: absolute; - z-index: 5; -} - -.ace_marker-layer .ace_bracket { - position: absolute; - z-index: 6; -} - -.ace_marker-layer .ace_error_bracket { - position: absolute; - border-bottom: 1px solid #DE5555; - border-radius: 0; -} - -.ace_marker-layer .ace_active-line { - position: absolute; - z-index: 2; -} - -.ace_marker-layer .ace_selected-word { - position: absolute; - z-index: 4; - box-sizing: border-box; -} - -.ace_line .ace_fold { - box-sizing: border-box; - - display: inline-block; - height: 11px; - margin-top: -2px; - vertical-align: middle; - - background-image: - url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="), - url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII="); - background-repeat: no-repeat, repeat-x; - background-position: center center, top left; - color: transparent; - - border: 1px solid black; - border-radius: 2px; - - cursor: pointer; - pointer-events: auto; -} - -.ace_dark .ace_fold { -} - -.ace_fold:hover{ - background-image: - url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="), - url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC"); -} - -.ace_tooltip { - background-color: #f5f5f5; - border: 1px solid gray; - border-radius: 1px; - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); - color: black; - padding: 3px 4px; - position: fixed; - z-index: 999999; - box-sizing: border-box; - cursor: default; - white-space: pre-wrap; - word-wrap: break-word; - line-height: normal; - font-style: normal; - font-weight: normal; - letter-spacing: normal; - pointer-events: none; - overflow: auto; - max-width: min(33em, 66vw); - overscroll-behavior: contain; -} -.ace_tooltip pre { - white-space: pre-wrap; -} - -.ace_tooltip.ace_dark { - background-color: #636363; - color: #fff; -} - -.ace_tooltip:focus { - outline: 1px solid #5E9ED6; -} - -.ace_icon { - display: inline-block; - width: 18px; - vertical-align: top; -} - -.ace_icon_svg { - display: inline-block; - width: 12px; - vertical-align: top; - -webkit-mask-repeat: no-repeat; - -webkit-mask-size: 12px; - -webkit-mask-position: center; -} - -.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons { - padding-right: 13px; -} - -.ace_fold-widget, .ace_custom-widget { - box-sizing: border-box; - - margin: 0 -12px 0 1px; - display: none; - width: 11px; - vertical-align: top; - - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg=="); - background-repeat: no-repeat; - background-position: center; - - border-radius: 3px; - - border: 1px solid transparent; - cursor: pointer; - pointer-events: auto; -} - -.ace_custom-widget { - background: none; -} - -.ace_folding-enabled .ace_fold-widget { - display: inline-block; -} - -.ace_fold-widget.ace_end { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg=="); -} - -.ace_fold-widget.ace_closed { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA=="); -} - -.ace_fold-widget:hover { - border: 1px solid rgba(0, 0, 0, 0.3); - background-color: rgba(255, 255, 255, 0.2); - box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7); -} - -.ace_fold-widget:active { - border: 1px solid rgba(0, 0, 0, 0.4); - background-color: rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8); -} -/** - * Dark version for fold widgets - */ -.ace_dark .ace_fold-widget { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC"); -} -.ace_dark .ace_fold-widget.ace_end { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg=="); -} -.ace_dark .ace_fold-widget.ace_closed { - background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg=="); -} -.ace_dark .ace_fold-widget:hover { - box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); - background-color: rgba(255, 255, 255, 0.1); -} -.ace_dark .ace_fold-widget:active { - box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2); -} - -.ace_inline_button { - border: 1px solid lightgray; - display: inline-block; - margin: -1px 8px; - padding: 0 5px; - pointer-events: auto; - cursor: pointer; -} -.ace_inline_button:hover { - border-color: gray; - background: rgba(200,200,200,0.2); - display: inline-block; - pointer-events: auto; -} - -.ace_fold-widget.ace_invalid { - background-color: #FFB4B4; - border-color: #DE5555; -} - -.ace_fade-fold-widgets .ace_fold-widget { - transition: opacity 0.4s ease 0.05s; - opacity: 0; -} - -.ace_fade-fold-widgets:hover .ace_fold-widget { - transition: opacity 0.05s ease 0.05s; - opacity:1; -} - -.ace_underline { - text-decoration: underline; -} - -.ace_bold { - font-weight: bold; -} - -.ace_nobold .ace_bold { - font-weight: normal; -} - -.ace_italic { - font-style: italic; -} - - -.ace_error-marker { - background-color: rgba(255, 0, 0,0.2); - position: absolute; - z-index: 9; -} - -.ace_highlight-marker { - background-color: rgba(255, 255, 0,0.2); - position: absolute; - z-index: 8; -} - -.ace_mobile-menu { - position: absolute; - line-height: 1.5; - border-radius: 4px; - -ms-user-select: none; - -moz-user-select: none; - -webkit-user-select: none; - user-select: none; - background: white; - box-shadow: 1px 3px 2px grey; - border: 1px solid #dcdcdc; - color: black; -} -.ace_dark > .ace_mobile-menu { - background: #333; - color: #ccc; - box-shadow: 1px 3px 2px grey; - border: 1px solid #444; - -} -.ace_mobile-button { - padding: 2px; - cursor: pointer; - overflow: hidden; -} -.ace_mobile-button:hover { - background-color: #eee; - opacity:1; -} -.ace_mobile-button:active { - background-color: #ddd; -} - -.ace_placeholder { - position: relative; - font-family: arial; - transform: scale(0.9); - transform-origin: left; - white-space: pre; - opacity: 0.7; - margin: 0 10px; - z-index: 1; -} - -.ace_ghost_text { - opacity: 0.5; - font-style: italic; -} - -.ace_ghost_text_container > div { - white-space: pre; -} - -.ghost_text_line_wrapped::after { - content: "↩"; - position: absolute; -} - -.ace_lineWidgetContainer.ace_ghost_text { - margin: 0px 4px -} - -.ace_screenreader-only { - position:absolute; - left:-10000px; - top:auto; - width:1px; - height:1px; - overflow:hidden; -} - -.ace_hidden_token { - display: none; -}`}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(r,i,g){var $=r("../lib/dom"),V=r("../lib/oop"),re=r("../lib/event_emitter").EventEmitter,ie=function(){function ae(oe,le){this.renderer=le,this.pixelRatio=1,this.maxHeight=le.layerConfig.maxHeight,this.lineHeight=le.layerConfig.lineHeight,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},this.setScrollBarV(oe)}return ae.prototype.$createCanvas=function(){this.canvas=$.createElement("canvas"),this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7",this.canvas.style.position="absolute"},ae.prototype.setScrollBarV=function(oe){this.$createCanvas(),this.scrollbarV=oe,oe.element.appendChild(this.canvas),this.setDimensions()},ae.prototype.$updateDecorators=function(oe){if(typeof this.canvas.getContext!="function")return;var le=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light;this.setDimensions(oe);var ue=this.canvas.getContext("2d");function de(Et,kt){return Et.prioritykt.priority?1:0}var he=this.renderer.session.$annotations;if(ue.clearRect(0,0,this.canvas.width,this.canvas.height),he){var pe={info:1,warning:2,error:3};he.forEach(function(Et){Et.priority=pe[Et.type]||null}),he=he.sort(de);for(var _e=0;_ethis.canvasHeight&&($e=this.canvasHeight-Ve);var Ue=$e-Ve,Fe=$e+Ve,ze=Fe-Ue;ue.fillStyle=le[he[_e].type]||null,ue.fillRect(0,Ue,Math.round(this.oneZoneWidth-1),ze)}}var Pt=this.renderer.session.selection.getCursor();if(Pt){var qe=Math.round(this.getVerticalOffsetForRow(Pt.row)*this.heightRatio);ue.fillStyle="rgba(0, 0, 0, 0.5)",ue.fillRect(0,qe,this.canvasWidth,2)}},ae.prototype.getVerticalOffsetForRow=function(oe){oe=oe|0;var le=this.renderer.session.documentToScreenRow(oe,0)*this.lineHeight;return le},ae.prototype.setDimensions=function(oe){oe=oe||this.renderer.layerConfig,this.maxHeight=oe.maxHeight,this.lineHeight=oe.lineHeight,this.canvasHeight=oe.height,this.canvasWidth=this.scrollbarV.width||this.canvasWidth,this.setZoneWidth(),this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.maxHeightze&&(this.$changedLines.firstRow=ze),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},Fe.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},Fe.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},Fe.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},Fe.prototype.updateFull=function(ze){ze?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},Fe.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},Fe.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},Fe.prototype.onResize=function(ze,Pt,qe,Et){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=ze?1:0;var kt=this.container;Et||(Et=kt.clientHeight||kt.scrollHeight),!Et&&this.$maxLines&&this.lineHeight>1&&(!kt.style.height||kt.style.height=="0px")&&(kt.style.height="1px",Et=kt.clientHeight||kt.scrollHeight),qe||(qe=kt.clientWidth||kt.scrollWidth);var At=this.$updateCachedSize(ze,Pt,qe,Et);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!qe&&!Et)return this.resizing=0;ze&&(this.$gutterLayer.$padding=null),ze?this.$renderChanges(At|this.$changes,!0):this.$loop.schedule(At|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},Fe.prototype.$updateCachedSize=function(ze,Pt,qe,Et){Et-=this.$extraHeight||0;var kt=0,At=this.$size,Dt={width:At.width,height:At.height,scrollerHeight:At.scrollerHeight,scrollerWidth:At.scrollerWidth};if(Et&&(ze||At.height!=Et)&&(At.height=Et,kt|=this.CHANGE_SIZE,At.scrollerHeight=At.height,this.$horizScroll&&(At.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(At.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",kt=kt|this.CHANGE_SCROLL),qe&&(ze||At.width!=qe)){kt|=this.CHANGE_SIZE,At.width=qe,Pt==null&&(Pt=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=Pt,V.setStyle(this.scrollBarH.element.style,"left",Pt+"px"),V.setStyle(this.scroller.style,"left",Pt+this.margin.left+"px"),At.scrollerWidth=Math.max(0,qe-Pt-this.scrollBarV.getWidth()-this.margin.h),V.setStyle(this.$gutter.style,"left",this.margin.left+"px");var Lt=this.scrollBarV.getWidth()+"px";V.setStyle(this.scrollBarH.element.style,"right",Lt),V.setStyle(this.scroller.style,"right",Lt),V.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(At.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||ze)&&(kt|=this.CHANGE_FULL)}return At.$dirty=!qe||!Et,kt&&this._signal("resize",Dt),kt},Fe.prototype.onGutterResize=function(ze){var Pt=this.$showGutter?ze:0;Pt!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,Pt,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},Fe.prototype.adjustWrapLimit=function(){var ze=this.$size.scrollerWidth-this.$padding*2,Pt=Math.floor(ze/this.characterWidth);return this.session.adjustWrapLimit(Pt,this.$showPrintMargin&&this.$printMarginColumn)},Fe.prototype.setAnimatedScroll=function(ze){this.setOption("animatedScroll",ze)},Fe.prototype.getAnimatedScroll=function(){return this.$animatedScroll},Fe.prototype.setShowInvisibles=function(ze){this.setOption("showInvisibles",ze),this.session.$bidiHandler.setShowInvisibles(ze)},Fe.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},Fe.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},Fe.prototype.setDisplayIndentGuides=function(ze){this.setOption("displayIndentGuides",ze)},Fe.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},Fe.prototype.setHighlightIndentGuides=function(ze){this.setOption("highlightIndentGuides",ze)},Fe.prototype.setShowPrintMargin=function(ze){this.setOption("showPrintMargin",ze)},Fe.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},Fe.prototype.setPrintMarginColumn=function(ze){this.setOption("printMarginColumn",ze)},Fe.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},Fe.prototype.getShowGutter=function(){return this.getOption("showGutter")},Fe.prototype.setShowGutter=function(ze){return this.setOption("showGutter",ze)},Fe.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},Fe.prototype.setFadeFoldWidgets=function(ze){this.setOption("fadeFoldWidgets",ze)},Fe.prototype.setHighlightGutterLine=function(ze){this.setOption("highlightGutterLine",ze)},Fe.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},Fe.prototype.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var ze=V.createElement("div");ze.className="ace_layer ace_print-margin-layer",this.$printMarginEl=V.createElement("div"),this.$printMarginEl.className="ace_print-margin",ze.appendChild(this.$printMarginEl),this.content.insertBefore(ze,this.content.firstChild)}var Pt=this.$printMarginEl.style;Pt.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",Pt.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},Fe.prototype.getContainerElement=function(){return this.container},Fe.prototype.getMouseEventTarget=function(){return this.scroller},Fe.prototype.getTextAreaContainer=function(){return this.container},Fe.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var ze=this.textarea.style,Pt=this.$composition;if(!this.$keepTextAreaAtCursor&&!Pt){V.translate(this.textarea,-100,0);return}var qe=this.$cursorLayer.$pixelPos;if(qe){Pt&&Pt.markerRange&&(qe=this.$cursorLayer.getPixelPosition(Pt.markerRange.start,!0));var Et=this.layerConfig,kt=qe.top,At=qe.left;kt-=Et.offset;var Dt=Pt&&Pt.useTextareaForIME||$e.isMobile?this.lineHeight:1;if(kt<0||kt>Et.height-Dt){V.translate(this.textarea,0,0);return}var Lt=1,jt=this.$size.height-Dt;if(!Pt)kt+=this.lineHeight;else if(Pt.useTextareaForIME){var hn=this.textarea.value;Lt=this.characterWidth*this.session.$getStringScreenWidth(hn)[0]}else kt+=this.lineHeight+2;At-=this.scrollLeft,At>this.$size.scrollerWidth-Lt&&(At=this.$size.scrollerWidth-Lt),At+=this.gutterWidth+this.margin.left,V.setStyle(ze,"height",Dt+"px"),V.setStyle(ze,"width",Lt+"px"),V.translate(this.textarea,Math.min(At,this.$size.scrollerWidth-Lt),Math.min(kt,jt))}}},Fe.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},Fe.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},Fe.prototype.getLastFullyVisibleRow=function(){var ze=this.layerConfig,Pt=ze.lastRow,qe=this.session.documentToScreenRow(Pt,0)*ze.lineHeight;return qe-this.session.getScrollTop()>ze.height-ze.lineHeight?Pt-1:Pt},Fe.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},Fe.prototype.setPadding=function(ze){this.$padding=ze,this.$textLayer.setPadding(ze),this.$cursorLayer.setPadding(ze),this.$markerFront.setPadding(ze),this.$markerBack.setPadding(ze),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},Fe.prototype.setScrollMargin=function(ze,Pt,qe,Et){var kt=this.scrollMargin;kt.top=ze|0,kt.bottom=Pt|0,kt.right=Et|0,kt.left=qe|0,kt.v=kt.top+kt.bottom,kt.h=kt.left+kt.right,kt.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-kt.top),this.updateFull()},Fe.prototype.setMargin=function(ze,Pt,qe,Et){var kt=this.margin;kt.top=ze|0,kt.bottom=Pt|0,kt.right=Et|0,kt.left=qe|0,kt.v=kt.top+kt.bottom,kt.h=kt.left+kt.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},Fe.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},Fe.prototype.setHScrollBarAlwaysVisible=function(ze){this.setOption("hScrollBarAlwaysVisible",ze)},Fe.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},Fe.prototype.setVScrollBarAlwaysVisible=function(ze){this.setOption("vScrollBarAlwaysVisible",ze)},Fe.prototype.$updateScrollBarV=function(){var ze=this.layerConfig.maxHeight,Pt=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(ze-=(Pt-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>ze-Pt&&(ze=this.scrollTop+Pt,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(ze+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},Fe.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},Fe.prototype.freeze=function(){this.$frozen=!0},Fe.prototype.unfreeze=function(){this.$frozen=!1},Fe.prototype.$renderChanges=function(ze,Pt){if(this.$changes&&(ze|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!ze&&!Pt){this.$changes|=ze;return}if(this.$size.$dirty)return this.$changes|=ze,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",ze),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var qe=this.layerConfig;if(ze&this.CHANGE_FULL||ze&this.CHANGE_SIZE||ze&this.CHANGE_TEXT||ze&this.CHANGE_LINES||ze&this.CHANGE_SCROLL||ze&this.CHANGE_H_SCROLL){if(ze|=this.$computeLayerConfig()|this.$loop.clear(),qe.firstRow!=this.layerConfig.firstRow&&qe.firstRowScreen==this.layerConfig.firstRowScreen){var Et=this.scrollTop+(qe.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;Et>0&&(this.scrollTop=Et,ze=ze|this.CHANGE_SCROLL,ze|=this.$computeLayerConfig()|this.$loop.clear())}qe=this.layerConfig,this.$updateScrollBarV(),ze&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),V.translate(this.content,-this.scrollLeft,-qe.offset);var kt=qe.width+2*this.$padding+"px",At=qe.minHeight+"px";V.setStyle(this.content.style,"width",kt),V.setStyle(this.content.style,"height",At)}if(ze&this.CHANGE_H_SCROLL&&(V.translate(this.content,-this.scrollLeft,-qe.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),ze&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(qe),this.$showGutter&&this.$gutterLayer.update(qe),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(qe),this.$markerBack.update(qe),this.$markerFront.update(qe),this.$cursorLayer.update(qe),this.$moveTextAreaToCursor(),this._signal("afterRender",ze);return}if(ze&this.CHANGE_SCROLL){this.$changedLines=null,ze&this.CHANGE_TEXT||ze&this.CHANGE_LINES?this.$textLayer.update(qe):this.$textLayer.scrollLines(qe),this.$showGutter&&(ze&this.CHANGE_GUTTER||ze&this.CHANGE_LINES?this.$gutterLayer.update(qe):this.$gutterLayer.scrollLines(qe)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(qe),this.$markerBack.update(qe),this.$markerFront.update(qe),this.$cursorLayer.update(qe),this.$moveTextAreaToCursor(),this._signal("afterRender",ze);return}ze&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(qe),this.$showGutter&&this.$gutterLayer.update(qe),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(qe)):ze&this.CHANGE_LINES?((this.$updateLines()||ze&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(qe),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(qe)):ze&this.CHANGE_TEXT||ze&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(qe),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(qe)):ze&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(qe),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(qe)),ze&this.CHANGE_CURSOR&&(this.$cursorLayer.update(qe),this.$moveTextAreaToCursor()),ze&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(qe),ze&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(qe),this._signal("afterRender",ze)},Fe.prototype.$autosize=function(){var ze=this.session.getScreenLength()*this.lineHeight,Pt=this.$maxLines*this.lineHeight,qe=Math.min(Pt,Math.max((this.$minLines||1)*this.lineHeight,ze))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(qe+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&qe>this.$maxPixelHeight&&(qe=this.$maxPixelHeight);var Et=qe<=2*this.lineHeight,kt=!Et&&ze>Pt;if(qe!=this.desiredHeight||this.$size.height!=this.desiredHeight||kt!=this.$vScroll){kt!=this.$vScroll&&(this.$vScroll=kt,this.scrollBarV.setVisible(kt));var At=this.container.clientWidth;this.container.style.height=qe+"px",this.$updateCachedSize(!0,this.$gutterWidth,At,qe),this.desiredHeight=qe,this._signal("autosize")}},Fe.prototype.$computeLayerConfig=function(){var ze=this.session,Pt=this.$size,qe=Pt.height<=2*this.lineHeight,Et=this.session.getScreenLength(),kt=Et*this.lineHeight,At=this.$getLongestLine(),Dt=!qe&&(this.$hScrollBarAlwaysVisible||Pt.scrollerWidth-At-2*this.$padding<0),Lt=this.$horizScroll!==Dt;Lt&&(this.$horizScroll=Dt,this.scrollBarH.setVisible(Dt));var jt=this.$vScroll;this.$maxLines&&this.lineHeight>1&&(this.$autosize(),qe=Pt.height<=2*this.lineHeight);var hn=Pt.scrollerHeight+this.lineHeight,vn=!this.$maxLines&&this.$scrollPastEnd?(Pt.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;kt+=vn;var _n=this.scrollMargin;this.session.setScrollTop(Math.max(-_n.top,Math.min(this.scrollTop,kt-Pt.scrollerHeight+_n.bottom))),this.session.setScrollLeft(Math.max(-_n.left,Math.min(this.scrollLeft,At+2*this.$padding-Pt.scrollerWidth+_n.right)));var wn=!qe&&(this.$vScrollBarAlwaysVisible||Pt.scrollerHeight-kt+vn<0||this.scrollTop>_n.top),bn=jt!==wn;bn&&(this.$vScroll=wn,this.scrollBarV.setVisible(wn));var Cn=this.scrollTop%this.lineHeight,Sn=Math.ceil(hn/this.lineHeight)-1,Tn=Math.max(0,Math.round((this.scrollTop-Cn)/this.lineHeight)),En=Tn+Sn,kn,$n,An=this.lineHeight;Tn=ze.screenToDocumentRow(Tn,0);var xn=ze.getFoldLine(Tn);xn&&(Tn=xn.start.row),kn=ze.documentToScreenRow(Tn,0),$n=ze.getRowLength(Tn)*An,En=Math.min(ze.screenToDocumentRow(En,0),ze.getLength()-1),hn=Pt.scrollerHeight+ze.getRowLength(En)*An+$n,Cn=this.scrollTop-kn*An,Cn<0&&kn>0&&(kn=Math.max(0,kn+Math.floor(Cn/An)),Cn=this.scrollTop-kn*An);var Ln=0;return(this.layerConfig.width!=At||Lt)&&(Ln=this.CHANGE_H_SCROLL),(Lt||bn)&&(Ln|=this.$updateCachedSize(!0,this.gutterWidth,Pt.width,Pt.height),this._signal("scrollbarVisibilityChanged"),bn&&(At=this.$getLongestLine())),this.layerConfig={width:At,padding:this.$padding,firstRow:Tn,firstRowScreen:kn,lastRow:En,lineHeight:An,characterWidth:this.characterWidth,minHeight:hn,maxHeight:kt,offset:Cn,gutterOffset:An?Math.max(0,Math.ceil((Cn+Pt.height-Pt.scrollerHeight)/An)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(At-this.$padding),Ln},Fe.prototype.$updateLines=function(){if(this.$changedLines){var ze=this.$changedLines.firstRow,Pt=this.$changedLines.lastRow;this.$changedLines=null;var qe=this.layerConfig;if(!(ze>qe.lastRow+1)&&!(Ptthis.$textLayer.MAX_LINE_LENGTH&&(ze=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(ze*this.characterWidth))},Fe.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},Fe.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},Fe.prototype.addGutterDecoration=function(ze,Pt){this.$gutterLayer.addGutterDecoration(ze,Pt)},Fe.prototype.removeGutterDecoration=function(ze,Pt){this.$gutterLayer.removeGutterDecoration(ze,Pt)},Fe.prototype.updateBreakpoints=function(ze){this._rows=ze,this.$loop.schedule(this.CHANGE_GUTTER)},Fe.prototype.setAnnotations=function(ze){this.$gutterLayer.setAnnotations(ze),this.$loop.schedule(this.CHANGE_GUTTER)},Fe.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},Fe.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},Fe.prototype.showCursor=function(){this.$cursorLayer.showCursor()},Fe.prototype.scrollSelectionIntoView=function(ze,Pt,qe){this.scrollCursorIntoView(ze,qe),this.scrollCursorIntoView(Pt,qe)},Fe.prototype.scrollCursorIntoView=function(ze,Pt,qe){if(this.$size.scrollerHeight!==0){var Et=this.$cursorLayer.getPixelPosition(ze),kt=Et.left,At=Et.top,Dt=qe&&qe.top||0,Lt=qe&&qe.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var jt=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;jt+Dt>At?(Pt&&jt+Dt>At+this.lineHeight&&(At-=Pt*this.$size.scrollerHeight),At===0&&(At=-this.scrollMargin.top),this.session.setScrollTop(At)):jt+this.$size.scrollerHeight-Lt=1-this.scrollMargin.top||Pt>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||ze<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||ze>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},Fe.prototype.pixelToScreenCoordinates=function(ze,Pt){var qe;if(this.$hasCssTransforms){qe={top:0,left:0};var Et=this.$fontMetrics.transformCoordinates([ze,Pt]);ze=Et[1]-this.gutterWidth-this.margin.left,Pt=Et[0]}else qe=this.scroller.getBoundingClientRect();var kt=ze+this.scrollLeft-qe.left-this.$padding,At=kt/this.characterWidth,Dt=Math.floor((Pt+this.scrollTop-qe.top)/this.lineHeight),Lt=this.$blockCursor?Math.floor(At):Math.round(At);return{row:Dt,column:Lt,side:At-Lt>0?1:-1,offsetX:kt}},Fe.prototype.screenToTextCoordinates=function(ze,Pt){var qe;if(this.$hasCssTransforms){qe={top:0,left:0};var Et=this.$fontMetrics.transformCoordinates([ze,Pt]);ze=Et[1]-this.gutterWidth-this.margin.left,Pt=Et[0]}else qe=this.scroller.getBoundingClientRect();var kt=ze+this.scrollLeft-qe.left-this.$padding,At=kt/this.characterWidth,Dt=this.$blockCursor?Math.floor(At):Math.round(At),Lt=Math.floor((Pt+this.scrollTop-qe.top)/this.lineHeight);return this.session.screenToDocumentPosition(Lt,Math.max(Dt,0),kt)},Fe.prototype.textToScreenCoordinates=function(ze,Pt){var qe=this.scroller.getBoundingClientRect(),Et=this.session.documentToScreenPosition(ze,Pt),kt=this.$padding+(this.session.$bidiHandler.isBidiRow(Et.row,ze)?this.session.$bidiHandler.getPosLeft(Et.column):Math.round(Et.column*this.characterWidth)),At=Et.row*this.lineHeight;return{pageX:qe.left+kt-this.scrollLeft,pageY:qe.top+At-this.scrollTop}},Fe.prototype.visualizeFocus=function(){V.addCssClass(this.container,"ace_focus")},Fe.prototype.visualizeBlur=function(){V.removeCssClass(this.container,"ace_focus")},Fe.prototype.showComposition=function(ze){this.$composition=ze,ze.cssText||(ze.cssText=this.textarea.style.cssText),ze.useTextareaForIME==null&&(ze.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(V.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):ze.markerId=this.session.addMarker(ze.markerRange,"ace_composition_marker","text")},Fe.prototype.setCompositionText=function(ze){var Pt=this.session.selection.cursor;this.addToken(ze,"composition_placeholder",Pt.row,Pt.column),this.$moveTextAreaToCursor()},Fe.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),V.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var ze=this.session.selection.cursor;this.removeExtraToken(ze.row,ze.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},Fe.prototype.setGhostText=function(ze,Pt){var qe=this.session.selection.cursor,Et=Pt||{row:qe.row,column:qe.column};this.removeGhostText();var kt=this.$calculateWrappedTextChunks(ze,Et);this.addToken(kt[0].text,"ghost_text",Et.row,Et.column),this.$ghostText={text:ze,position:{row:Et.row,column:Et.column}};var At=V.createElement("div");if(kt.length>1){var Dt=this.hideTokensAfterPosition(Et.row,Et.column),Lt;kt.slice(1).forEach(function(bn){var Cn=V.createElement("div"),Sn=V.createElement("span");Sn.className="ace_ghost_text",bn.wrapped&&(Cn.className="ghost_text_line_wrapped"),bn.text.length===0&&(bn.text=" "),Sn.appendChild(V.createTextNode(bn.text)),Cn.appendChild(Sn),At.appendChild(Cn),Lt=Cn}),Dt.forEach(function(bn){var Cn=V.createElement("span");Ve(bn.type)||(Cn.className="ace_"+bn.type.replace(/\./g," ace_")),Cn.appendChild(V.createTextNode(bn.value)),Lt.appendChild(Cn)}),this.$ghostTextWidget={el:At,row:Et.row,column:Et.column,className:"ace_ghost_text_container"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var jt=this.$cursorLayer.getPixelPosition(Et,!0),hn=this.container,vn=hn.getBoundingClientRect().height,_n=kt.length*this.lineHeight,wn=_n0){var hn=0;jt.push(kt[Dt].length);for(var vn=0;vn1||Math.abs(ze.$size.height-Et)>1?ze.$resizeTimer.delay():ze.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},Fe}();Ue.prototype.CHANGE_CURSOR=1,Ue.prototype.CHANGE_MARKER=2,Ue.prototype.CHANGE_GUTTER=4,Ue.prototype.CHANGE_SCROLL=8,Ue.prototype.CHANGE_LINES=16,Ue.prototype.CHANGE_TEXT=32,Ue.prototype.CHANGE_SIZE=64,Ue.prototype.CHANGE_MARKER_BACK=128,Ue.prototype.CHANGE_MARKER_FRONT=256,Ue.prototype.CHANGE_FULL=512,Ue.prototype.CHANGE_H_SCROLL=1024,Ue.prototype.$changes=0,Ue.prototype.$padding=null,Ue.prototype.$frozen=!1,Ue.prototype.STEPS=8,$.implement(Ue.prototype,Ie),ie.defineOptions(Ue.prototype,"renderer",{useResizeObserver:{set:function(Fe){!Fe&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):Fe&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(Fe){this.$textLayer.setShowInvisibles(Fe)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(Fe){typeof Fe=="number"&&(this.$printMarginColumn=Fe),this.$showPrintMargin=!!Fe,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(Fe){this.$gutter.style.display=Fe?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(Fe){this.$gutterLayer.$useSvgGutterIcons=Fe},initialValue:!1},showFoldedAnnotations:{set:function(Fe){this.$gutterLayer.$showFoldedAnnotations=Fe},initialValue:!1},fadeFoldWidgets:{set:function(Fe){V.setCssClass(this.$gutter,"ace_fade-fold-widgets",Fe)},initialValue:!1},showFoldWidgets:{set:function(Fe){this.$gutterLayer.setShowFoldWidgets(Fe),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(Fe){this.$textLayer.setDisplayIndentGuides(Fe)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(Fe){this.$textLayer.setHighlightIndentGuides(Fe)==!0?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(Fe){this.$gutterLayer.setHighlightGutterLine(Fe),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(Fe){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(Fe){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(Fe){typeof Fe=="number"&&(Fe=Fe+"px"),this.container.style.fontSize=Fe,this.updateFontSize()},initialValue:12},fontFamily:{set:function(Fe){this.container.style.fontFamily=Fe,this.updateFontSize()}},maxLines:{set:function(Fe){this.updateFull()}},minLines:{set:function(Fe){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(Fe){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(Fe){Fe=+Fe||0,this.$scrollPastEnd!=Fe&&(this.$scrollPastEnd=Fe,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(Fe){this.$gutterLayer.$fixedWidth=!!Fe,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(Fe){this.$updateCustomScrollbar(Fe)},initialValue:!1},theme:{set:function(Fe){this.setTheme(Fe)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!$e.isMobile&&!$e.isIE}}),i.VirtualRenderer=Ue}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(r,i,g){var $=r("../lib/oop"),V=r("../lib/net"),re=r("../lib/event_emitter").EventEmitter,ie=r("../config");function ae(de){var he="importScripts('"+V.qualifyURL(de)+"');";try{return new Blob([he],{type:"application/javascript"})}catch{var pe=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder,_e=new pe;return _e.append(he),_e.getBlob("application/javascript")}}function oe(de){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(ie.get("loadWorkerFromBlob")){var he=ae(de),pe=window.URL||window.webkitURL,_e=pe.createObjectURL(he);return new Worker(_e)}return new Worker(de)}var le=function(de){de.postMessage||(de=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=de,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){$.implement(this,re),this.$createWorkerFromOldConfig=function(de,he,pe,_e,Ce){if(r.nameToUrl&&!r.toUrl&&(r.toUrl=r.nameToUrl),ie.get("packaged")||!r.toUrl)_e=_e||ie.moduleUrl(he,"worker");else{var xe=this.$normalizePath;_e=_e||xe(r.toUrl("ace/worker/worker.js",null,"_"));var Ie={};de.forEach(function(Ne){Ie[Ne]=xe(r.toUrl(Ne,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=oe(_e),Ce&&this.send("importScripts",Ce),this.$worker.postMessage({init:!0,tlns:Ie,module:he,classname:pe}),this.$worker},this.onMessage=function(de){var he=de.data;switch(he.type){case"event":this._signal(he.name,{data:he.data});break;case"call":var pe=this.callbacks[he.id];pe&&(pe(he.data),delete this.callbacks[he.id]);break;case"error":this.reportError(he.data);break;case"log":window.console&&console.log&&console.log.apply(console,he.data);break}},this.reportError=function(de){window.console&&console.error&&console.error(de)},this.$normalizePath=function(de){return V.qualifyURL(de)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(de){de.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(de,he){this.$worker.postMessage({command:de,args:he})},this.call=function(de,he,pe){if(pe){var _e=this.callbackId++;this.callbacks[_e]=pe,he.push(_e)}this.send(de,he)},this.emit=function(de,he){try{he.data&&he.data.err&&(he.data.err={message:he.data.err.message,stack:he.data.err.stack,code:he.data.err.code}),this.$worker&&this.$worker.postMessage({event:de,data:{data:he.data}})}catch(pe){console.error(pe.stack)}},this.attachToDocument=function(de){this.$doc&&this.terminate(),this.$doc=de,this.call("setValue",[de.getValue()]),de.on("change",this.changeListener,!0)},this.changeListener=function(de){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),de.action=="insert"?this.deltaQueue.push(de.start,de.lines):this.deltaQueue.push(de.start,de.end)},this.$sendDeltaQueue=function(){var de=this.deltaQueue;de&&(this.deltaQueue=null,de.length>50&&de.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:de}))}}).call(le.prototype);var ue=function(de,he,pe){var _e=null,Ce=!1,xe=Object.create(re),Ie=[],Ne=new le({messageBuffer:Ie,terminate:function(){},postMessage:function($e){Ie.push($e),_e&&(Ce?setTimeout(Oe):Oe())}});Ne.setEmitSync=function($e){Ce=$e};var Oe=function(){var $e=Ie.shift();$e.command?_e[$e.command].apply(_e,$e.args):$e.event&&xe._signal($e.event,$e.data)};return xe.postMessage=function($e){Ne.onMessage({data:$e})},xe.callback=function($e,Ve){this.postMessage({type:"call",id:Ve,data:$e})},xe.emit=function($e,Ve){this.postMessage({type:"event",name:$e,data:Ve})},ie.loadModule(["worker",he],function($e){for(_e=new $e[pe](xe);Ie.length;)Oe()}),Ne};i.UIWorkerClient=ue,i.WorkerClient=le,i.createWorker=oe}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(r,i,g){var $=r("./range").Range,V=r("./lib/event_emitter").EventEmitter,re=r("./lib/oop"),ie=function(){function ae(oe,le,ue,de,he,pe){var _e=this;this.length=le,this.session=oe,this.doc=oe.getDocument(),this.mainClass=he,this.othersClass=pe,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=de,this.$onCursorChange=function(){setTimeout(function(){_e.onCursorChange()})},this.$pos=ue;var Ce=oe.getUndoManager().$undoStack||oe.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=Ce.length,this.setup(),oe.selection.on("changeCursor",this.$onCursorChange)}return ae.prototype.setup=function(){var oe=this,le=this.doc,ue=this.session;this.selectionBefore=ue.selection.toJSON(),ue.selection.inMultiSelectMode&&ue.selection.toSingleRange(),this.pos=le.createAnchor(this.$pos.row,this.$pos.column);var de=this.pos;de.$insertRight=!0,de.detach(),de.markerId=ue.addMarker(new $(de.row,de.column,de.row,de.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(he){var pe=le.createAnchor(he.row,he.column);pe.$insertRight=!0,pe.detach(),oe.others.push(pe)}),ue.setUndoSelect(!1)},ae.prototype.showOtherMarkers=function(){if(!this.othersActive){var oe=this.session,le=this;this.othersActive=!0,this.others.forEach(function(ue){ue.markerId=oe.addMarker(new $(ue.row,ue.column,ue.row,ue.column+le.length),le.othersClass,null,!1)})}},ae.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var oe=0;oe=this.pos.column&&le.start.column<=this.pos.column+this.length+1,he=le.start.column-this.pos.column;if(this.updateAnchors(oe),de&&(this.length+=ue),de&&!this.session.$fromUndo){if(oe.action==="insert")for(var pe=this.others.length-1;pe>=0;pe--){var _e=this.others[pe],Ce={row:_e.row,column:_e.column+he};this.doc.insertMergedLines(Ce,oe.lines)}else if(oe.action==="remove")for(var pe=this.others.length-1;pe>=0;pe--){var _e=this.others[pe],Ce={row:_e.row,column:_e.column+he};this.doc.remove(new $(Ce.row,Ce.column,Ce.row,Ce.column-ue))}}this.$updating=!1,this.updateMarkers()}},ae.prototype.updateAnchors=function(oe){this.pos.onChange(oe);for(var le=this.others.length;le--;)this.others[le].onChange(oe);this.updateMarkers()},ae.prototype.updateMarkers=function(){if(!this.$updating){var oe=this,le=this.session,ue=function(he,pe){le.removeMarker(he.markerId),he.markerId=le.addMarker(new $(he.row,he.column,he.row,he.column+oe.length),pe,null,!1)};ue(this.pos,this.mainClass);for(var de=this.others.length;de--;)ue(this.others[de],this.othersClass)}},ae.prototype.onCursorChange=function(oe){if(!(this.$updating||!this.session)){var le=this.session.selection.getCursor();le.row===this.pos.row&&le.column>=this.pos.column&&le.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",oe)):(this.hideOtherMarkers(),this._emit("cursorLeave",oe))}},ae.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},ae.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var oe=this.session.getUndoManager(),le=(oe.$undoStack||oe.$undostack).length-this.$undoStackDepth,ue=0;ue1?V.multiSelect.joinSelections():V.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(V){V.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(V){V.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(V){V.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],i.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(V){V.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(V){return V&&V.inMultiSelectMode}}];var $=r("../keyboard/hash_handler").HashHandler;i.keyboardHandler=new $(i.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(r,i,g){var $=r("./range_list").RangeList,V=r("./range").Range,re=r("./selection").Selection,ie=r("./mouse/multi_select_handler").onMouseDown,ae=r("./lib/event"),oe=r("./lib/lang"),le=r("./commands/multi_select_commands");i.commands=le.defaultCommands.concat(le.multiSelectCommands);var ue=r("./search").Search,de=new ue;function he(Ne,Oe,$e){return de.$options.wrap=!0,de.$options.needle=Oe,de.$options.backwards=$e==-1,de.find(Ne)}var pe=r("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(pe.prototype),(function(){this.ranges=null,this.rangeList=null,this.addRange=function(Ne,Oe){if(Ne){if(!this.inMultiSelectMode&&this.rangeCount===0){var $e=this.toOrientedRange();if(this.rangeList.add($e),this.rangeList.add(Ne),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),Oe||this.fromOrientedRange(Ne);this.rangeList.removeAll(),this.rangeList.add($e),this.$onAddRange($e)}Ne.cursor||(Ne.cursor=Ne.end);var Ve=this.rangeList.add(Ne);return this.$onAddRange(Ne),Ve.length&&this.$onRemoveRange(Ve),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),Oe||this.fromOrientedRange(Ne)}},this.toSingleRange=function(Ne){Ne=Ne||this.ranges[0];var Oe=this.rangeList.removeAll();Oe.length&&this.$onRemoveRange(Oe),Ne&&this.fromOrientedRange(Ne)},this.substractPoint=function(Ne){var Oe=this.rangeList.substractPoint(Ne);if(Oe)return this.$onRemoveRange(Oe),Oe[0]},this.mergeOverlappingRanges=function(){var Ne=this.rangeList.merge();Ne.length&&this.$onRemoveRange(Ne)},this.$onAddRange=function(Ne){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(Ne),this._signal("addRange",{range:Ne})},this.$onRemoveRange=function(Ne){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var Oe=this.rangeList.ranges.pop();Ne.push(Oe),this.rangeCount=0}for(var $e=Ne.length;$e--;){var Ve=this.ranges.indexOf(Ne[$e]);this.ranges.splice(Ve,1)}this._signal("removeRange",{ranges:Ne}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),Oe=Oe||this.ranges[0],Oe&&!Oe.isEqual(this.getRange())&&this.fromOrientedRange(Oe)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new $,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var Ne=this.ranges.length?this.ranges:[this.getRange()],Oe=[],$e=0;$e1){var Ne=this.rangeList.ranges,Oe=Ne[Ne.length-1],$e=V.fromPoints(Ne[0].start,Oe.end);this.toSingleRange(),this.setSelectionRange($e,Oe.cursor==Oe.start)}else{var Ve=this.session.documentToScreenPosition(this.cursor),Ue=this.session.documentToScreenPosition(this.anchor),Fe=this.rectangularRangeBlock(Ve,Ue);Fe.forEach(this.addRange,this)}},this.rectangularRangeBlock=function(Ne,Oe,$e){var Ve=[],Ue=Ne.column0;)hn--;if(hn>0)for(var vn=0;Ve[vn].isEmpty();)vn++;for(var _n=hn;_n>=vn;_n--)Ve[_n].isEmpty()&&Ve.splice(_n,1)}return Ve}}).call(re.prototype);var _e=r("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(Ne){Ne.cursor||(Ne.cursor=Ne.end);var Oe=this.getSelectionStyle();return Ne.marker=this.session.addMarker(Ne,"ace_selection",Oe),this.session.$selectionMarkers.push(Ne),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,Ne},this.removeSelectionMarker=function(Ne){if(Ne.marker){this.session.removeMarker(Ne.marker);var Oe=this.session.$selectionMarkers.indexOf(Ne);Oe!=-1&&this.session.$selectionMarkers.splice(Oe,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(Ne){for(var Oe=this.session.$selectionMarkers,$e=Ne.length;$e--;){var Ve=Ne[$e];if(Ve.marker){this.session.removeMarker(Ve.marker);var Ue=Oe.indexOf(Ve);Ue!=-1&&Oe.splice(Ue,1)}}this.session.selectionMarkerCount=Oe.length},this.$onAddRange=function(Ne){this.addSelectionMarker(Ne.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(Ne){this.removeSelectionMarkers(Ne.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(Ne){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(le.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(Ne){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(le.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(Ne){var Oe=Ne.command,$e=Ne.editor;if($e.multiSelect){if(Oe.multiSelectAction)Oe.multiSelectAction=="forEach"?Ve=$e.forEachSelection(Oe,Ne.args):Oe.multiSelectAction=="forEachLine"?Ve=$e.forEachSelection(Oe,Ne.args,!0):Oe.multiSelectAction=="single"?($e.exitMultiSelectMode(),Ve=Oe.exec($e,Ne.args||{})):Ve=Oe.multiSelectAction($e,Ne.args||{});else{var Ve=Oe.exec($e,Ne.args||{});$e.multiSelect.addRange($e.multiSelect.toOrientedRange()),$e.multiSelect.mergeOverlappingRanges()}return Ve}},this.forEachSelection=function(Ne,Oe,$e){if(!this.inVirtualSelectionMode){var Ve=$e&&$e.keepOrder,Ue=$e==!0||$e&&$e.$byLines,Fe=this.session,ze=this.selection,Pt=ze.rangeList,qe=(Ve?ze:Pt).ranges,Et;if(!qe.length)return Ne.exec?Ne.exec(this,Oe||{}):Ne(this,Oe||{});var kt=ze._eventRegistry;ze._eventRegistry={};var At=new re(Fe);this.inVirtualSelectionMode=!0;for(var Dt=qe.length;Dt--;){if(Ue)for(;Dt>0&&qe[Dt].start.row==qe[Dt-1].end.row;)Dt--;At.fromOrientedRange(qe[Dt]),At.index=Dt,this.selection=Fe.selection=At;var Lt=Ne.exec?Ne.exec(this,Oe||{}):Ne(this,Oe||{});!Et&&Lt!==void 0&&(Et=Lt),At.toOrientedRange(qe[Dt])}At.detach(),this.selection=Fe.selection=ze,this.inVirtualSelectionMode=!1,ze._eventRegistry=kt,ze.mergeOverlappingRanges(),ze.ranges[0]&&ze.fromOrientedRange(ze.ranges[0]);var jt=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),jt&&jt.from==jt.to&&this.renderer.animateScrolling(jt.from),Et}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var Ne="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var Oe=this.multiSelect.rangeList.ranges,$e=[],Ve=0;Ve0);ze<0&&(ze=0),Pt>=Et&&(Pt=Et-1)}var At=this.session.removeFullLines(ze,Pt);At=this.$reAlignText(At,qe),this.session.insert({row:ze,column:0},At.join(` -`)+` -`),qe||(Fe.start.column=0,Fe.end.column=At[At.length-1].length),this.selection.setRange(Fe)}else{Ue.forEach(function(hn){Oe.substractPoint(hn.cursor)});var Dt=0,Lt=1/0,jt=$e.map(function(hn){var vn=hn.cursor,_n=Ne.getLine(vn.row),wn=_n.substr(vn.column).search(/\S/g);return wn==-1&&(wn=0),vn.column>Dt&&(Dt=vn.column),wnbn?Ne.insert(_n,oe.stringRepeat(" ",wn-bn)):Ne.remove(new V(_n.row,_n.column,_n.row,_n.column-wn+bn)),hn.start.column=hn.end.column=Dt,hn.start.row=hn.end.row=_n.row,hn.cursor=hn.end}),Oe.fromOrientedRange($e[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(Ne,Oe){var $e=!0,Ve=!0,Ue,Fe,ze;return Ne.map(function(At){var Dt=At.match(/(\s*)(.*?)(\s*)([=:].*)/);return Dt?Ue==null?(Ue=Dt[1].length,Fe=Dt[2].length,ze=Dt[3].length,Dt):(Ue+Fe+ze!=Dt[1].length+Dt[2].length+Dt[3].length&&(Ve=!1),Ue!=Dt[1].length&&($e=!1),Ue>Dt[1].length&&(Ue=Dt[1].length),FeDt[3].length&&(ze=Dt[3].length),Dt):[At]}).map(Oe?qe:$e?Ve?Et:qe:kt);function Pt(At){return oe.stringRepeat(" ",At)}function qe(At){return At[2]?Pt(Ue)+At[2]+Pt(Fe-At[2].length+ze)+At[4].replace(/^([=:])\s+/,"$1 "):At[0]}function Et(At){return At[2]?Pt(Ue+Fe-At[2].length)+At[2]+Pt(ze)+At[4].replace(/^([=:])\s+/,"$1 "):At[0]}function kt(At){return At[2]?Pt(Ue)+At[2]+Pt(ze)+At[4].replace(/^([=:])\s+/,"$1 "):At[0]}}}).call(_e.prototype);function Ce(Ne,Oe){return Ne.row==Oe.row&&Ne.column==Oe.column}i.onSessionChange=function(Ne){var Oe=Ne.session;Oe&&!Oe.multiSelect&&(Oe.$selectionMarkers=[],Oe.selection.$initRangeList(),Oe.multiSelect=Oe.selection),this.multiSelect=Oe&&Oe.multiSelect;var $e=Ne.oldSession;$e&&($e.multiSelect.off("addRange",this.$onAddRange),$e.multiSelect.off("removeRange",this.$onRemoveRange),$e.multiSelect.off("multiSelect",this.$onMultiSelect),$e.multiSelect.off("singleSelect",this.$onSingleSelect),$e.multiSelect.lead.off("change",this.$checkMultiselectChange),$e.multiSelect.anchor.off("change",this.$checkMultiselectChange)),Oe&&(Oe.multiSelect.on("addRange",this.$onAddRange),Oe.multiSelect.on("removeRange",this.$onRemoveRange),Oe.multiSelect.on("multiSelect",this.$onMultiSelect),Oe.multiSelect.on("singleSelect",this.$onSingleSelect),Oe.multiSelect.lead.on("change",this.$checkMultiselectChange),Oe.multiSelect.anchor.on("change",this.$checkMultiselectChange)),Oe&&this.inMultiSelectMode!=Oe.selection.inMultiSelectMode&&(Oe.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function xe(Ne){Ne.$multiselectOnSessionChange||(Ne.$onAddRange=Ne.$onAddRange.bind(Ne),Ne.$onRemoveRange=Ne.$onRemoveRange.bind(Ne),Ne.$onMultiSelect=Ne.$onMultiSelect.bind(Ne),Ne.$onSingleSelect=Ne.$onSingleSelect.bind(Ne),Ne.$multiselectOnSessionChange=i.onSessionChange.bind(Ne),Ne.$checkMultiselectChange=Ne.$checkMultiselectChange.bind(Ne),Ne.$multiselectOnSessionChange(Ne),Ne.on("changeSession",Ne.$multiselectOnSessionChange),Ne.on("mousedown",ie),Ne.commands.addCommands(le.defaultCommands),Ie(Ne))}function Ie(Ne){if(!Ne.textInput)return;var Oe=Ne.textInput.getElement(),$e=!1;ae.addListener(Oe,"keydown",function(Ue){var Fe=Ue.keyCode==18&&!(Ue.ctrlKey||Ue.shiftKey||Ue.metaKey);Ne.$blockSelectEnabled&&Fe?$e||(Ne.renderer.setMouseCursor("crosshair"),$e=!0):$e&&Ve()},Ne),ae.addListener(Oe,"keyup",Ve,Ne),ae.addListener(Oe,"blur",Ve,Ne);function Ve(Ue){$e&&(Ne.renderer.setMouseCursor(""),$e=!1)}}i.MultiSelect=xe,r("./config").defineOptions(_e.prototype,"editor",{enableMultiselect:{set:function(Ne){xe(this),Ne?this.on("mousedown",ie):this.off("mousedown",ie)},value:!0},enableBlockSelect:{set:function(Ne){this.$blockSelectEnabled=Ne},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(r,i,g){var $=r("../../range").Range,V=i.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(re,ie,ae){var oe=re.getLine(ae);return this.foldingStartMarker.test(oe)?"start":ie=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(oe)?"end":""},this.getFoldWidgetRange=function(re,ie,ae){return null},this.indentationBlock=function(re,ie,ae){var oe=/\S/,le=re.getLine(ie),ue=le.search(oe);if(ue!=-1){for(var de=ae||le.length,he=re.getLength(),pe=ie,_e=ie;++iepe){var Ie=re.getLine(_e).length;return new $(pe,de,_e,Ie)}}},this.openingBracketBlock=function(re,ie,ae,oe,le){var ue={row:ae,column:oe+1},de=re.$findClosingBracket(ie,ue,le);if(de){var he=re.foldWidgets[de.row];return he==null&&(he=re.getFoldWidget(de.row)),he=="start"&&de.row>ue.row&&(de.row--,de.column=re.getLine(de.row).length),$.fromPoints(ue,de)}},this.closingBracketBlock=function(re,ie,ae,oe,le){var ue={row:ae,column:oe},de=re.$findOpeningBracket(ie,ue);if(de)return de.column++,ue.column--,$.fromPoints(de,ue)}}).call(V.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/lib/dom","ace/range","ace/config"],function(r,i,g){var $=r("../lib/dom"),V=r("../range").Range,re=r("../config").nls;function ie(oe,le,ue){for(var de=0,he=oe.length-1;de<=he;){var pe=de+he>>1,_e=ue(le,oe[pe]);if(_e>0)de=pe+1;else if(_e<0)he=pe-1;else return pe}return-(de+1)}function ae(oe,le,ue){var de=oe.getAnnotations().sort(V.comparePoints);if(de.length){var he=ie(de,{row:le,column:-1},V.comparePoints);he<0&&(he=-he-1),he>=de.length?he=ue>0?0:de.length-1:he===0&&ue<0&&(he=de.length-1);var pe=de[he];if(!(!pe||!ue)){if(pe.row===le){do pe=de[he+=ue];while(pe&&pe.row===le);if(!pe)return de.slice()}var _e=[];le=pe.row;do _e[ue<0?"unshift":"push"](pe),pe=de[he+=ue];while(pe&&pe.row==le);return _e.length&&_e}}}i.showErrorMarker=function(oe,le){var ue=oe.session,de=oe.getCursorPosition(),he=de.row,pe=ue.widgetManager.getWidgetsAtRow(he).filter(function(Ue){return Ue.type=="errorMarker"})[0];pe?pe.destroy():he-=le;var _e=ae(ue,he,le),Ce;if(_e){var xe=_e[0];de.column=(xe.pos&&typeof xe.column!="number"?xe.pos.sc:xe.column)||0,de.row=xe.row,Ce=oe.renderer.$gutterLayer.$annotations[de.row]}else{if(pe)return;Ce={displayText:[re("error-marker.good-state","Looks good!")],className:"ace_ok"}}oe.session.unfold(de.row),oe.selection.moveToPosition(de);var Ie={row:de.row,fixedWidth:!0,coverGutter:!0,el:$.createElement("div"),type:"errorMarker"},Ne=Ie.el.appendChild($.createElement("div")),Oe=Ie.el.appendChild($.createElement("div"));Oe.className="error_widget_arrow "+Ce.className;var $e=oe.renderer.$cursorLayer.getPixelPosition(de).left;Oe.style.left=$e+oe.renderer.gutterWidth-5+"px",Ie.el.className="error_widget_wrapper",Ne.className="error_widget "+Ce.className,Ce.displayText.forEach(function(Ue,Fe){Ne.appendChild($.createTextNode(Ue)),Fe0},n.prototype.connect_=function(){!isBrowser$1||this.connected_||(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),mutationObserverSupported?(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)},n.prototype.disconnect_=function(){!isBrowser$1||!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)},n.prototype.onTransitionEnd_=function(t){var r=t.propertyName,i=r===void 0?"":r,g=transitionKeys.some(function($){return!!~i.indexOf($)});g&&this.refresh()},n.getInstance=function(){return this.instance_||(this.instance_=new n),this.instance_},n.instance_=null,n}(),defineConfigurable=function(n,t){for(var r=0,i=Object.keys(t);r"u"||!(Element instanceof Object))){if(!(t instanceof getWindowOf(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)||(r.set(t,new ResizeObservation(t)),this.controller_.addObserver(this),this.controller_.refresh())}},n.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if(!(typeof Element>"u"||!(Element instanceof Object))){if(!(t instanceof getWindowOf(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var r=this.observations_;r.has(t)&&(r.delete(t),r.size||this.controller_.removeObserver(this))}},n.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},n.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(r){r.isActive()&&t.activeObservations_.push(r)})},n.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,r=this.activeObservations_.map(function(i){return new ResizeObserverEntry(i.target,i.broadcastRect())});this.callback_.call(t,r,t),this.clearActive()}},n.prototype.clearActive=function(){this.activeObservations_.splice(0)},n.prototype.hasActive=function(){return this.activeObservations_.length>0},n}(),observers=typeof WeakMap<"u"?new WeakMap:new MapShim,ResizeObserver$1=function(){function n(t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var r=ResizeObserverController.getInstance(),i=new ResizeObserverSPI(t,r,this);observers.set(this,i)}return n}();["observe","unobserve","disconnect"].forEach(function(n){ResizeObserver$1.prototype[n]=function(){var t;return(t=observers.get(this))[n].apply(t,arguments)}});var index$1=function(){return typeof global$1.ResizeObserver<"u"?global$1.ResizeObserver:ResizeObserver$1}();function formatTimestamp(n){const t=new Date(n),r=t.getFullYear(),i=String(t.getMonth()+1).padStart(2,"0"),g=String(t.getDate()).padStart(2,"0"),$=String(t.getHours()).padStart(2,"0"),V=String(t.getMinutes()).padStart(2,"0"),re=String(t.getSeconds()).padStart(2,"0");return`${r}-${i}-${g} ${$}:${V}:${re}`}function formatFilePath(n,t){if(t.startsWith("http"))return t;const r=n.endsWith("/")?n.slice(0,-1):n,i=t.startsWith("/")?t:"/"+t;return r+i}const imageModel_vue_vue_type_style_index_0_scoped_afca666c_lang="",selectItemPropsSetting_vue_vue_type_style_index_0_scoped_b6eb4910_lang="",commonAnimate_vue_vue_type_style_index_0_scoped_265139c8_lang="",themeMonokaiUrl="data:application/javascript;base64,YWNlLmRlZmluZSgiYWNlL3RoZW1lL21vbm9rYWktY3NzIixbInJlcXVpcmUiLCJleHBvcnRzIiwibW9kdWxlIl0sIGZ1bmN0aW9uKHJlcXVpcmUsIGV4cG9ydHMsIG1vZHVsZSl7bW9kdWxlLmV4cG9ydHMgPSAiLmFjZS1tb25va2FpIC5hY2VfZ3V0dGVyIHtcbiAgYmFja2dyb3VuZDogIzJGMzEyOTtcbiAgY29sb3I6ICM4RjkwOEFcbn1cblxuLmFjZS1tb25va2FpIC5hY2VfcHJpbnQtbWFyZ2luIHtcbiAgd2lkdGg6IDFweDtcbiAgYmFja2dyb3VuZDogIzU1NTY1MVxufVxuXG4uYWNlLW1vbm9rYWkge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjMjcyODIyO1xuICBjb2xvcjogI0Y4RjhGMlxufVxuXG4uYWNlLW1vbm9rYWkgLmFjZV9jdXJzb3Ige1xuICBjb2xvcjogI0Y4RjhGMFxufVxuXG4uYWNlLW1vbm9rYWkgLmFjZV9tYXJrZXItbGF5ZXIgLmFjZV9zZWxlY3Rpb24ge1xuICBiYWNrZ3JvdW5kOiAjNDk0ODNFXG59XG5cbi5hY2UtbW9ub2thaS5hY2VfbXVsdGlzZWxlY3QgLmFjZV9zZWxlY3Rpb24uYWNlX3N0YXJ0IHtcbiAgYm94LXNoYWRvdzogMCAwIDNweCAwcHggIzI3MjgyMjtcbn1cblxuLmFjZS1tb25va2FpIC5hY2VfbWFya2VyLWxheWVyIC5hY2Vfc3RlcCB7XG4gIGJhY2tncm91bmQ6IHJnYigxMDIsIDgyLCAwKVxufVxuXG4uYWNlLW1vbm9rYWkgLmFjZV9tYXJrZXItbGF5ZXIgLmFjZV9icmFja2V0IHtcbiAgbWFyZ2luOiAtMXB4IDAgMCAtMXB4O1xuICBib3JkZXI6IDFweCBzb2xpZCAjNDk0ODNFXG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX21hcmtlci1sYXllciAuYWNlX2FjdGl2ZS1saW5lIHtcbiAgYmFja2dyb3VuZDogIzIwMjAyMFxufVxuXG4uYWNlLW1vbm9rYWkgLmFjZV9ndXR0ZXItYWN0aXZlLWxpbmUge1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjMjcyNzI3XG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX21hcmtlci1sYXllciAuYWNlX3NlbGVjdGVkLXdvcmQge1xuICBib3JkZXI6IDFweCBzb2xpZCAjNDk0ODNFXG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX2ludmlzaWJsZSB7XG4gIGNvbG9yOiAjNTI1MjRkXG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX2VudGl0eS5hY2VfbmFtZS5hY2VfdGFnLFxuLmFjZS1tb25va2FpIC5hY2Vfa2V5d29yZCxcbi5hY2UtbW9ub2thaSAuYWNlX21ldGEuYWNlX3RhZyxcbi5hY2UtbW9ub2thaSAuYWNlX3N0b3JhZ2Uge1xuICBjb2xvcjogI0Y5MjY3MlxufVxuXG4uYWNlLW1vbm9rYWkgLmFjZV9wdW5jdHVhdGlvbixcbi5hY2UtbW9ub2thaSAuYWNlX3B1bmN0dWF0aW9uLmFjZV90YWcge1xuICBjb2xvcjogI2ZmZlxufVxuXG4uYWNlLW1vbm9rYWkgLmFjZV9jb25zdGFudC5hY2VfY2hhcmFjdGVyLFxuLmFjZS1tb25va2FpIC5hY2VfY29uc3RhbnQuYWNlX2xhbmd1YWdlLFxuLmFjZS1tb25va2FpIC5hY2VfY29uc3RhbnQuYWNlX251bWVyaWMsXG4uYWNlLW1vbm9rYWkgLmFjZV9jb25zdGFudC5hY2Vfb3RoZXIge1xuICBjb2xvcjogI0FFODFGRlxufVxuXG4uYWNlLW1vbm9rYWkgLmFjZV9pbnZhbGlkIHtcbiAgY29sb3I6ICNGOEY4RjA7XG4gIGJhY2tncm91bmQtY29sb3I6ICNGOTI2NzJcbn1cblxuLmFjZS1tb25va2FpIC5hY2VfaW52YWxpZC5hY2VfZGVwcmVjYXRlZCB7XG4gIGNvbG9yOiAjRjhGOEYwO1xuICBiYWNrZ3JvdW5kLWNvbG9yOiAjQUU4MUZGXG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX3N1cHBvcnQuYWNlX2NvbnN0YW50LFxuLmFjZS1tb25va2FpIC5hY2Vfc3VwcG9ydC5hY2VfZnVuY3Rpb24ge1xuICBjb2xvcjogIzY2RDlFRlxufVxuXG4uYWNlLW1vbm9rYWkgLmFjZV9mb2xkIHtcbiAgYmFja2dyb3VuZC1jb2xvcjogI0E2RTIyRTtcbiAgYm9yZGVyLWNvbG9yOiAjRjhGOEYyXG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX3N0b3JhZ2UuYWNlX3R5cGUsXG4uYWNlLW1vbm9rYWkgLmFjZV9zdXBwb3J0LmFjZV9jbGFzcyxcbi5hY2UtbW9ub2thaSAuYWNlX3N1cHBvcnQuYWNlX3R5cGUge1xuICBmb250LXN0eWxlOiBpdGFsaWM7XG4gIGNvbG9yOiAjNjZEOUVGXG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX2VudGl0eS5hY2VfbmFtZS5hY2VfZnVuY3Rpb24sXG4uYWNlLW1vbm9rYWkgLmFjZV9lbnRpdHkuYWNlX290aGVyLFxuLmFjZS1tb25va2FpIC5hY2VfZW50aXR5LmFjZV9vdGhlci5hY2VfYXR0cmlidXRlLW5hbWUsXG4uYWNlLW1vbm9rYWkgLmFjZV92YXJpYWJsZSB7XG4gIGNvbG9yOiAjQTZFMjJFXG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX3ZhcmlhYmxlLmFjZV9wYXJhbWV0ZXIge1xuICBmb250LXN0eWxlOiBpdGFsaWM7XG4gIGNvbG9yOiAjRkQ5NzFGXG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX3N0cmluZyB7XG4gIGNvbG9yOiAjRTZEQjc0XG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX2NvbW1lbnQge1xuICBjb2xvcjogIzc1NzE1RVxufVxuXG4uYWNlLW1vbm9rYWkgLmFjZV9pbmRlbnQtZ3VpZGUge1xuICBiYWNrZ3JvdW5kOiB1cmwoZGF0YTppbWFnZS9wbmc7YmFzZTY0LGlWQk9SdzBLR2dvQUFBQU5TVWhFVWdBQUFBRUFBQUFDQ0FZQUFBQ1pnYlluQUFBQUVrbEVRVlFJbVdQUTBGRDBaWEJ6ZC93UEFBalZBb3hlU2dOZUFBQUFBRWxGVGtTdVFtQ0MpIHJpZ2h0IHJlcGVhdC15XG59XG5cbi5hY2UtbW9ub2thaSAuYWNlX2luZGVudC1ndWlkZS1hY3RpdmUge1xuICBiYWNrZ3JvdW5kOiB1cmwoZGF0YTppbWFnZS9wbmc7YmFzZTY0LGlWQk9SdzBLR2dvQUFBQU5TVWhFVWdBQUFBRUFBQUFDQ0FZQUFBQ1pnYlluQUFBQUVrbEVRVlFJVzJQUTFkWDl6ekJ6NXN6L0FCQ2NCRkZlbnRMbEFBQUFBRWxGVGtTdVFtQ0MpIHJpZ2h0IHJlcGVhdC15O1xufVxuIjsKCn0pOwoKYWNlLmRlZmluZSgiYWNlL3RoZW1lL21vbm9rYWkiLFsicmVxdWlyZSIsImV4cG9ydHMiLCJtb2R1bGUiLCJhY2UvdGhlbWUvbW9ub2thaS1jc3MiLCJhY2UvbGliL2RvbSJdLCBmdW5jdGlvbihyZXF1aXJlLCBleHBvcnRzLCBtb2R1bGUpe2V4cG9ydHMuaXNEYXJrID0gdHJ1ZTsKZXhwb3J0cy5jc3NDbGFzcyA9ICJhY2UtbW9ub2thaSI7CmV4cG9ydHMuY3NzVGV4dCA9IHJlcXVpcmUoIi4vbW9ub2thaS1jc3MiKTsKdmFyIGRvbSA9IHJlcXVpcmUoIi4uL2xpYi9kb20iKTsKZG9tLmltcG9ydENzc1N0cmluZyhleHBvcnRzLmNzc1RleHQsIGV4cG9ydHMuY3NzQ2xhc3MsIGZhbHNlKTsKCn0pOyAgICAgICAgICAgICAgICAoZnVuY3Rpb24oKSB7CiAgICAgICAgICAgICAgICAgICAgYWNlLnJlcXVpcmUoWyJhY2UvdGhlbWUvbW9ub2thaSJdLCBmdW5jdGlvbihtKSB7CiAgICAgICAgICAgICAgICAgICAgICAgIGlmICh0eXBlb2YgbW9kdWxlID09ICJvYmplY3QiICYmIHR5cGVvZiBleHBvcnRzID09ICJvYmplY3QiICYmIG1vZHVsZSkgewogICAgICAgICAgICAgICAgICAgICAgICAgICAgbW9kdWxlLmV4cG9ydHMgPSBtOwogICAgICAgICAgICAgICAgICAgICAgICB9CiAgICAgICAgICAgICAgICAgICAgfSk7CiAgICAgICAgICAgICAgICB9KSgpOwogICAgICAgICAgICA=",workerBaseUrl="/webVue/assets/worker-base-78504947.js",modeJsonUrl="/webVue/assets/mode-json-812ca1e1.js",workerJsonUrl="/webVue/assets/worker-json-b183eeb3.js",snippetsJsonUrl="data:application/javascript;base64,CjsgICAgICAgICAgICAgICAgKGZ1bmN0aW9uKCkgewogICAgICAgICAgICAgICAgICAgIGFjZS5yZXF1aXJlKFsiYWNlL3NuaXBwZXRzL2pzb24iXSwgZnVuY3Rpb24obSkgewogICAgICAgICAgICAgICAgICAgICAgICBpZiAodHlwZW9mIG1vZHVsZSA9PSAib2JqZWN0IiAmJiB0eXBlb2YgZXhwb3J0cyA9PSAib2JqZWN0IiAmJiBtb2R1bGUpIHsKICAgICAgICAgICAgICAgICAgICAgICAgICAgIG1vZHVsZS5leHBvcnRzID0gbTsKICAgICAgICAgICAgICAgICAgICAgICAgfQogICAgICAgICAgICAgICAgICAgIH0pOwogICAgICAgICAgICAgICAgfSkoKTsKICAgICAgICAgICAg",modeJavascriptUrl="/webVue/assets/mode-javascript-839742b8.js",workerJavascriptUrl="/webVue/assets/worker-javascript-a6657d84.js",snippetsJavascriptUrl="/webVue/assets/javascript-adb9f602.js";var extLanguage_tools={exports:{}};(function(n,t){ace.define("ace/snippets",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/editor"],function(r,i,g){var $=r("./lib/dom"),V=r("./lib/oop"),re=r("./lib/event_emitter").EventEmitter,ie=r("./lib/lang"),ae=r("./range").Range,oe=r("./range_list").RangeList,le=r("./keyboard/hash_handler").HashHandler,ue=r("./tokenizer").Tokenizer,de=r("./clipboard"),he={CURRENT_WORD:function($e){return $e.session.getTextRange($e.session.getWordRange())},SELECTION:function($e,Ve,Ue){var Fe=$e.session.getTextRange();return Ue?Fe.replace(/\n\r?([ \t]*\S)/g,` -`+Ue+"$1"):Fe},CURRENT_LINE:function($e){return $e.session.getLine($e.getCursorPosition().row)},PREV_LINE:function($e){return $e.session.getLine($e.getCursorPosition().row-1)},LINE_INDEX:function($e){return $e.getCursorPosition().row},LINE_NUMBER:function($e){return $e.getCursorPosition().row+1},SOFT_TABS:function($e){return $e.session.getUseSoftTabs()?"YES":"NO"},TAB_SIZE:function($e){return $e.session.getTabSize()},CLIPBOARD:function($e){return de.getText&&de.getText()},FILENAME:function($e){return/[^/\\]*$/.exec(this.FILEPATH($e))[0]},FILENAME_BASE:function($e){return/[^/\\]*$/.exec(this.FILEPATH($e))[0].replace(/\.[^.]*$/,"")},DIRECTORY:function($e){return this.FILEPATH($e).replace(/[^/\\]*$/,"")},FILEPATH:function($e){return"/not implemented.txt"},WORKSPACE_NAME:function(){return"Unknown"},FULLNAME:function(){return"Unknown"},BLOCK_COMMENT_START:function($e){var Ve=$e.session.$mode||{};return Ve.blockComment&&Ve.blockComment.start||""},BLOCK_COMMENT_END:function($e){var Ve=$e.session.$mode||{};return Ve.blockComment&&Ve.blockComment.end||""},LINE_COMMENT:function($e){var Ve=$e.session.$mode||{};return Ve.lineCommentStart||""},CURRENT_YEAR:pe.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:pe.bind(null,{year:"2-digit"}),CURRENT_MONTH:pe.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:pe.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:pe.bind(null,{month:"short"}),CURRENT_DATE:pe.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:pe.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:pe.bind(null,{weekday:"short"}),CURRENT_HOUR:pe.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:pe.bind(null,{minute:"2-digit"}),CURRENT_SECOND:pe.bind(null,{second:"2-digit"})};he.SELECTED_TEXT=he.SELECTION;function pe($e){var Ve=new Date().toLocaleString("en-us",$e);return Ve.length==1?"0"+Ve:Ve}var _e=function(){function $e(){this.snippetMap={},this.snippetNameMap={},this.variables=he}return $e.prototype.getTokenizer=function(){return $e.$tokenizer||this.createTokenizer()},$e.prototype.createTokenizer=function(){function Ve(ze){return ze=ze.substr(1),/^\d+$/.test(ze)?[{tabstopId:parseInt(ze,10)}]:[{text:ze}]}function Ue(ze){return"(?:[^\\\\"+ze+"]|\\\\.)"}var Fe={regex:"/("+Ue("/")+"+)/",onMatch:function(ze,Pt,qe){var Et=qe[0];return Et.fmtString=!0,Et.guard=ze.slice(1,-1),Et.flag="",""},next:"formatString"};return $e.$tokenizer=new ue({start:[{regex:/\\./,onMatch:function(ze,Pt,qe){var Et=ze[1];return(Et=="}"&&qe.length||"`$\\".indexOf(Et)!=-1)&&(ze=Et),[ze]}},{regex:/}/,onMatch:function(ze,Pt,qe){return[qe.length?qe.shift():ze]}},{regex:/\$(?:\d+|\w+)/,onMatch:Ve},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(ze,Pt,qe){var Et=Ve(ze.substr(1));return qe.unshift(Et[0]),Et},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+Ue("\\|")+"*\\|",onMatch:function(ze,Pt,qe){var Et=ze.slice(1,-1).replace(/\\[,|\\]|,/g,function(kt){return kt.length==2?kt[1]:"\0"}).split("\0").map(function(kt){return{value:kt}});return qe[0].choices=Et,[Et[0]]},next:"start"},Fe,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(ze,Pt,qe){return qe.length&&qe[0].expectElse?(qe[0].expectElse=!1,qe[0].ifEnd={elseEnd:qe[0]},[qe[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(ze,Pt,qe){var Et=ze[1];return Et=="}"&&qe.length||"`$\\".indexOf(Et)!=-1?ze=Et:Et=="n"?ze=` -`:Et=="t"?ze=" ":"ulULE".indexOf(Et)!=-1&&(ze={changeCase:Et,local:Et>"a"}),[ze]}},{regex:"/\\w*}",onMatch:function(ze,Pt,qe){var Et=qe.shift();return Et&&(Et.flag=ze.slice(1,-1)),this.next=Et&&Et.tabstopId?"start":"",[Et||ze]},next:"start"},{regex:/\$(?:\d+|\w+)/,onMatch:function(ze,Pt,qe){return[{text:ze.slice(1)}]}},{regex:/\${\w+/,onMatch:function(ze,Pt,qe){var Et={text:ze.slice(2)};return qe.unshift(Et),[Et]},next:"formatStringVar"},{regex:/\n/,token:"newline",merge:!1},{regex:/}/,onMatch:function(ze,Pt,qe){var Et=qe.shift();return this.next=Et&&Et.tabstopId?"start":"",[Et||ze]},next:"start"}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(ze,Pt,qe){var Et=qe[0];return Et.formatFunction=ze.slice(2,-1),[qe.shift()]},next:"formatString"},Fe,{regex:/:[\?\-+]?/,onMatch:function(ze,Pt,qe){ze[1]=="+"&&(qe[0].ifEnd=qe[0]),ze[1]=="?"&&(qe[0].expectElse=!0)},next:"formatString"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"formatString"}]}),$e.$tokenizer},$e.prototype.tokenizeTmSnippet=function(Ve,Ue){return this.getTokenizer().getLineTokens(Ve,Ue).tokens.map(function(Fe){return Fe.value||Fe})},$e.prototype.getVariableValue=function(Ve,Ue,Fe){if(/^\d+$/.test(Ue))return(this.variables.__||{})[Ue]||"";if(/^[A-Z]\d+$/.test(Ue))return(this.variables[Ue[0]+"__"]||{})[Ue.substr(1)]||"";if(Ue=Ue.replace(/^TM_/,""),!this.variables.hasOwnProperty(Ue))return"";var ze=this.variables[Ue];return typeof ze=="function"&&(ze=this.variables[Ue](Ve,Ue,Fe)),ze??""},$e.prototype.tmStrFormat=function(Ve,Ue,Fe){if(!Ue.fmt)return Ve;var ze=Ue.flag||"",Pt=Ue.guard;Pt=new RegExp(Pt,ze.replace(/[^gim]/g,""));var qe=typeof Ue.fmt=="string"?this.tokenizeTmSnippet(Ue.fmt,"formatString"):Ue.fmt,Et=this,kt=Ve.replace(Pt,function(){var At=Et.variables.__;Et.variables.__=[].slice.call(arguments);for(var Dt=Et.resolveVariables(qe,Fe),Lt="E",jt=0;jt=0&&kt.splice(At,1)}}Ve.content?Pt(Ve):Array.isArray(Ve)&&Ve.forEach(Pt)},$e.prototype.parseSnippetFile=function(Ve){Ve=Ve.replace(/\r/g,"");for(var Ue=[],Fe={},ze=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm,Pt;Pt=ze.exec(Ve);){if(Pt[1])try{Fe=JSON.parse(Pt[1]),Ue.push(Fe)}catch{}if(Pt[4])Fe.content=Pt[4].replace(/^\t/gm,""),Ue.push(Fe),Fe={};else{var qe=Pt[2],Et=Pt[3];if(qe=="regex"){var kt=/\/((?:[^\/\\]|\\.)*)|$/g;Fe.guard=kt.exec(Et)[1],Fe.trigger=kt.exec(Et)[1],Fe.endTrigger=kt.exec(Et)[1],Fe.endGuard=kt.exec(Et)[1]}else qe=="snippet"?(Fe.tabTrigger=Et.match(/^\S*/)[0],Fe.name||(Fe.name=Et)):qe&&(Fe[qe]=Et)}}return Ue},$e.prototype.getSnippetByName=function(Ve,Ue){var Fe=this.snippetNameMap,ze;return this.getActiveScopes(Ue).some(function(Pt){var qe=Fe[Pt];return qe&&(ze=qe[Ve]),!!ze},this),ze},$e}();V.implement(_e.prototype,re);var Ce=function($e,Ve,Ue){Ue===void 0&&(Ue={});var Fe=$e.getCursorPosition(),ze=$e.session.getLine(Fe.row),Pt=$e.session.getTabString(),qe=ze.match(/^\s*/)[0];Fe.column1?(Cn=En[En.length-1].length,bn+=En.length-1):Cn+=Tn.length,Sn+=Tn}else Tn&&(Tn.start?Tn.end={row:bn,column:Cn}:Tn.start={row:bn,column:Cn})}),{text:Sn,tabstops:kt,tokens:Et}},xe=function(){function $e(Ve){if(this.index=0,this.ranges=[],this.tabstops=[],Ve.tabstopManager)return Ve.tabstopManager;Ve.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=ie.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(Ve)}return $e.prototype.attach=function(Ve){this.$openTabstops=null,this.selectedTabstop=null,this.editor=Ve,this.session=Ve.session,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},$e.prototype.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges.length=0,this.tabstops.length=0,this.selectedTabstop=null,this.editor.off("change",this.$onChange),this.editor.off("changeSelection",this.$onChangeSelection),this.editor.off("changeSession",this.$onChangeSession),this.editor.commands.off("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.session=null,this.editor=null},$e.prototype.onChange=function(Ve){for(var Ue=Ve.action[0]=="r",Fe=this.selectedTabstop||{},ze=Fe.parents||{},Pt=this.tabstops.slice(),qe=0;qe2&&(this.tabstops.length&&Et.push(Et.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,Et))},$e.prototype.addTabstopMarkers=function(Ve){var Ue=this.session;Ve.forEach(function(Fe){Fe.markerId||(Fe.markerId=Ue.addMarker(Fe,"ace_snippet-marker","text"))})},$e.prototype.removeTabstopMarkers=function(Ve){var Ue=this.session;Ve.forEach(function(Fe){Ue.removeMarker(Fe.markerId),Fe.markerId=null})},$e.prototype.updateTabstopMarkers=function(){if(this.selectedTabstop){var Ve=this.selectedTabstop.snippetId;this.selectedTabstop.index===0&&Ve--,this.tabstops.forEach(function(Ue){Ue.snippetId===Ve?this.addTabstopMarkers(Ue):this.removeTabstopMarkers(Ue)},this)}},$e.prototype.removeRange=function(Ve){var Ue=Ve.tabstop.indexOf(Ve);Ue!=-1&&Ve.tabstop.splice(Ue,1),Ue=this.ranges.indexOf(Ve),Ue!=-1&&this.ranges.splice(Ue,1),Ue=Ve.tabstop.rangeList.ranges.indexOf(Ve),Ue!=-1&&Ve.tabstop.splice(Ue,1),this.session.removeMarker(Ve.markerId),Ve.tabstop.length||(Ue=this.tabstops.indexOf(Ve.tabstop),Ue!=-1&&this.tabstops.splice(Ue,1),this.tabstops.length||this.detach())},$e}();xe.prototype.keyboardHandler=new le,xe.prototype.keyboardHandler.bindKeys({Tab:function($e){i.snippetManager&&i.snippetManager.expandWithTab($e)||($e.tabstopManager.tabNext(1),$e.renderer.scrollCursorIntoView())},"Shift-Tab":function($e){$e.tabstopManager.tabNext(-1),$e.renderer.scrollCursorIntoView()},Esc:function($e){$e.tabstopManager.detach()}});var Ie=function($e,Ve){$e.row==0&&($e.column+=Ve.column),$e.row+=Ve.row},Ne=function($e,Ve){$e.row==Ve.row&&($e.column-=Ve.column),$e.row-=Ve.row};$.importCssString(` -.ace_snippet-marker { - -moz-box-sizing: border-box; - box-sizing: border-box; - background: rgba(194, 193, 208, 0.09); - border: 1px dotted rgba(211, 208, 235, 0.62); - position: absolute; -}`,"snippets.css",!1),i.snippetManager=new _e;var Oe=r("./editor").Editor;(function(){this.insertSnippet=function($e,Ve){return i.snippetManager.insertSnippet(this,$e,Ve)},this.expandSnippet=function($e){return i.snippetManager.expandWithTab(this,$e)}}).call(Oe.prototype)}),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/config","ace/lib/useragent"],function(r,i,g){var $=r("../virtual_renderer").VirtualRenderer,V=r("../editor").Editor,re=r("../range").Range,ie=r("../lib/event"),ae=r("../lib/lang"),oe=r("../lib/dom"),le=r("../config").nls,ue=r("./../lib/useragent"),de=function(Ie){return"suggest-aria-id:".concat(Ie)},he=ue.isSafari?"menu":"listbox",pe=ue.isSafari?"menuitem":"option",_e=ue.isSafari?"aria-current":"aria-selected",Ce=function(Ie){var Ne=new $(Ie);Ne.$maxLines=4;var Oe=new V(Ne);return Oe.setHighlightActiveLine(!1),Oe.setShowPrintMargin(!1),Oe.renderer.setShowGutter(!1),Oe.renderer.setHighlightGutterLine(!1),Oe.$mouseHandler.$focusTimeout=0,Oe.$highlightTagPending=!0,Oe},xe=function(){function Ie(Ne){var Oe=oe.createElement("div"),$e=Ce(Oe);Ne&&Ne.appendChild(Oe),Oe.style.display="none",$e.renderer.content.style.cursor="default",$e.renderer.setStyle("ace_autocomplete"),$e.renderer.$textLayer.element.setAttribute("role",he),$e.renderer.$textLayer.element.setAttribute("aria-roledescription",le("autocomplete.popup.aria-roledescription","Autocomplete suggestions")),$e.renderer.$textLayer.element.setAttribute("aria-label",le("autocomplete.popup.aria-label","Autocomplete suggestions")),$e.renderer.textarea.setAttribute("aria-hidden","true"),$e.setOption("displayIndentGuides",!1),$e.setOption("dragDelay",150);var Ve=function(){};$e.focus=Ve,$e.$isFocused=!0,$e.renderer.$cursorLayer.restartTimer=Ve,$e.renderer.$cursorLayer.element.style.opacity="0",$e.renderer.$maxLines=8,$e.renderer.$keepTextAreaAtCursor=!1,$e.setHighlightActiveLine(!1),$e.session.highlight(""),$e.session.$searchHighlight.clazz="ace_highlight-marker",$e.on("mousedown",function(kt){var At=kt.getDocumentPosition();$e.selection.moveToPosition(At),ze.start.row=ze.end.row=At.row,kt.stop()});var Ue,Fe=new re(-1,0,-1,1/0),ze=new re(-1,0,-1,1/0);ze.id=$e.session.addMarker(ze,"ace_active-line","fullLine"),$e.setSelectOnHover=function(kt){kt?Fe.id&&($e.session.removeMarker(Fe.id),Fe.id=null):Fe.id=$e.session.addMarker(Fe,"ace_line-hover","fullLine")},$e.setSelectOnHover(!1),$e.on("mousemove",function(kt){if(!Ue){Ue=kt;return}if(!(Ue.x==kt.x&&Ue.y==kt.y)){Ue=kt,Ue.scrollTop=$e.renderer.scrollTop,$e.isMouseOver=!0;var At=Ue.getDocumentPosition().row;Fe.start.row!=At&&(Fe.id||$e.setRow(At),qe(At))}}),$e.renderer.on("beforeRender",function(){if(Ue&&Fe.start.row!=-1){Ue.$pos=null;var kt=Ue.getDocumentPosition().row;Fe.id||$e.setRow(kt),qe(kt,!0)}}),$e.renderer.on("afterRender",function(){for(var kt=$e.renderer.$textLayer,At=kt.config.firstRow,Dt=kt.config.lastRow;At<=Dt;At++){var Lt=kt.element.childNodes[At-kt.config.firstRow];Lt.setAttribute("role",pe),Lt.setAttribute("aria-roledescription",le("autocomplete.popup.item.aria-roledescription","item")),Lt.setAttribute("aria-setsize",$e.data.length),Lt.setAttribute("aria-describedby","doc-tooltip"),Lt.setAttribute("aria-posinset",At+1);var jt=$e.getData(At);if(jt){var hn="".concat(jt.caption||jt.value).concat(jt.meta?", ".concat(jt.meta):"");Lt.setAttribute("aria-label",hn)}var vn=Lt.querySelectorAll(".ace_completion-highlight");vn.forEach(function(_n){_n.setAttribute("role","mark")})}}),$e.renderer.on("afterRender",function(){var kt=$e.getRow(),At=$e.renderer.$textLayer,Dt=At.element.childNodes[kt-At.config.firstRow],Lt=document.activeElement;if(Dt!==$e.selectedNode&&$e.selectedNode&&(oe.removeCssClass($e.selectedNode,"ace_selected"),$e.selectedNode.removeAttribute(_e),$e.selectedNode.removeAttribute("id")),Lt.removeAttribute("aria-activedescendant"),$e.selectedNode=Dt,Dt){var jt=de(kt);oe.addCssClass(Dt,"ace_selected"),Dt.id=jt,At.element.setAttribute("aria-activedescendant",jt),Lt.setAttribute("aria-activedescendant",jt),Dt.setAttribute(_e,"true")}});var Pt=function(){qe(-1)},qe=function(kt,At){kt!==Fe.start.row&&(Fe.start.row=Fe.end.row=kt,At||$e.session._emit("changeBackMarker"),$e._emit("changeHoverMarker"))};$e.getHoveredRow=function(){return Fe.start.row},ie.addListener($e.container,"mouseout",function(){$e.isMouseOver=!1,Pt()}),$e.on("hide",Pt),$e.on("changeSelection",Pt),$e.session.doc.getLength=function(){return $e.data.length},$e.session.doc.getLine=function(kt){var At=$e.data[kt];return typeof At=="string"?At:At&&At.value||""};var Et=$e.session.bgTokenizer;return Et.$tokenizeRow=function(kt){var At=$e.data[kt],Dt=[];if(!At)return Dt;typeof At=="string"&&(At={value:At});var Lt=At.caption||At.value||At.name;function jt(Tn,En){Tn&&Dt.push({type:(At.className||"")+(En||""),value:Tn})}for(var hn=Lt.toLowerCase(),vn=($e.filterText||"").toLowerCase(),_n=0,wn=0,bn=0;bn<=vn.length;bn++)if(bn!=wn&&(At.matchMask&1<=bn?Dt="bottom":Dt="top"),Dt==="top"?(Cn.bottom=kt.top-this.$borderSize,Cn.top=Cn.bottom-bn):Dt==="bottom"&&(Cn.top=kt.top+At+this.$borderSize,Cn.bottom=Cn.top+bn);var En=Cn.top>=0&&Cn.bottom<=vn;if(!Lt&&!En)return!1;En?wn.$maxPixelHeight=null:Dt==="top"?wn.$maxPixelHeight=Tn:wn.$maxPixelHeight=Sn,Dt==="top"?(jt.style.top="",jt.style.bottom=vn+hn-Cn.bottom+"px",$e.isTopdown=!1):(jt.style.top=Cn.top+"px",jt.style.bottom="",$e.isTopdown=!0),jt.style.display="";var kn=kt.left;return kn+jt.offsetWidth>_n&&(kn=_n-jt.offsetWidth),jt.style.left=kn+"px",jt.style.right="",oe.$fixPositionBug(jt),$e.isOpen||($e.isOpen=!0,this._signal("show"),Ue=null),$e.anchorPos=kt,$e.anchor=Dt,!0},$e.show=function(kt,At,Dt){this.tryShow(kt,At,Dt?"bottom":void 0,!0)},$e.goTo=function(kt){var At=this.getRow(),Dt=this.session.getLength()-1;switch(kt){case"up":At=At<=0?Dt:At-1;break;case"down":At=At>=Dt?-1:At+1;break;case"start":At=0;break;case"end":At=Dt;break}this.setRow(At)},$e.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},$e.$imageSize=0,$e.$borderSize=1,$e}return Ie}();oe.importCssString(` -.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { - background-color: #CAD6FA; - z-index: 1; -} -.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line { - background-color: #3a674e; -} -.ace_editor.ace_autocomplete .ace_line-hover { - border: 1px solid #abbffe; - margin-top: -1px; - background: rgba(233,233,253,0.4); - position: absolute; - z-index: 2; -} -.ace_dark.ace_editor.ace_autocomplete .ace_line-hover { - border: 1px solid rgba(109, 150, 13, 0.8); - background: rgba(58, 103, 78, 0.62); -} -.ace_completion-meta { - opacity: 0.5; - margin-left: 0.9em; -} -.ace_completion-message { - margin-left: 0.9em; - color: blue; -} -.ace_editor.ace_autocomplete .ace_completion-highlight{ - color: #2d69c7; -} -.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{ - color: #93ca12; -} -.ace_editor.ace_autocomplete { - width: 300px; - z-index: 200000; - border: 1px lightgray solid; - position: fixed; - box-shadow: 2px 3px 5px rgba(0,0,0,.2); - line-height: 1.4; - background: #fefefe; - color: #111; -} -.ace_dark.ace_editor.ace_autocomplete { - border: 1px #484747 solid; - box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51); - line-height: 1.4; - background: #25282c; - color: #c1c1c1; -} -.ace_autocomplete .ace_text-layer { - width: calc(100% - 8px); -} -.ace_autocomplete .ace_line { - display: flex; - align-items: center; -} -.ace_autocomplete .ace_line > * { - min-width: 0; - flex: 0 0 auto; -} -.ace_autocomplete .ace_line .ace_ { - flex: 0 1 auto; - overflow: hidden; - text-overflow: ellipsis; -} -.ace_autocomplete .ace_completion-spacer { - flex: 1; -} -.ace_autocomplete.ace_loading:after { - content: ""; - position: absolute; - top: 0px; - height: 2px; - width: 8%; - background: blue; - z-index: 100; - animation: ace_progress 3s infinite linear; - animation-delay: 300ms; - transform: translateX(-100%) scaleX(1); -} -@keyframes ace_progress { - 0% { transform: translateX(-100%) scaleX(1) } - 50% { transform: translateX(625%) scaleX(2) } - 100% { transform: translateX(1500%) scaleX(3) } -} -@media (prefers-reduced-motion) { - .ace_autocomplete.ace_loading:after { - transform: translateX(625%) scaleX(2); - animation: none; - } -} -`,"autocompletion.css",!1),i.AcePopup=xe,i.$singleLineEditor=Ce,i.getAriaId=de}),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],function(r,i,g){var $=function(){function V(re){this.editor=re,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return V.prototype.setScreenReaderContent=function(re){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",(function(){var ae=this.popup.getRow(),oe=this.popup.renderer.$textLayer,le=oe.element.childNodes[ae-oe.config.firstRow];if(le){for(var ue="doc-tooltip ",de=0;de=0&&ie.test(V[oe]);oe--)ae.push(V[oe]);return ae.reverse().join("")},i.retrieveFollowingIdentifier=function(V,re,ie){ie=ie||$;for(var ae=[],oe=re;oe0)for(var $e=this.popup.getFirstVisibleRow();$e<=this.popup.getLastVisibleRow();$e++){var Ve=this.popup.getData($e);Ve&&(!Oe||Ve.hideInlinePreview)&&this.$seen(Ve)}},Ne.prototype.$onPopupShow=function(Oe){this.$onPopupChange(Oe),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},Ne.prototype.observeLayoutChanges=function(){if(!(this.$elements||!this.editor)){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var Oe=this.editor.container.parentNode,$e=[];Oe;)$e.push(Oe),Oe.addEventListener("scroll",this.onLayoutChange,{passive:!0}),Oe=Oe.parentNode;this.$elements=$e}},Ne.prototype.unObserveLayoutChanges=function(){var Oe=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach(function($e){$e.removeEventListener("scroll",Oe.onLayoutChange,{passive:!0})}),this.$elements=null},Ne.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},Ne.prototype.$updatePopupPosition=function(){var Oe=this.editor,$e=Oe.renderer,Ve=$e.layerConfig.lineHeight,Ue=$e.$cursorLayer.getPixelPosition(this.base,!0);Ue.left-=this.popup.getTextLeftOffset();var Fe=Oe.container.getBoundingClientRect();Ue.top+=Fe.top-$e.layerConfig.offset,Ue.left+=Fe.left-Oe.renderer.scrollLeft,Ue.left+=$e.gutterWidth;var ze={top:Ue.top,left:Ue.left};$e.$ghostText&&$e.$ghostTextWidget&&this.base.row===$e.$ghostText.position.row&&(ze.top+=$e.$ghostTextWidget.el.offsetHeight);var Pt=Oe.container.getBoundingClientRect().bottom-Ve,qe=Pt=1?(jt.left=Fe.right+1+"px",jt.right="",jt.maxWidth=ze*Lt+"px",jt.top=Fe.top+"px",jt.bottom="",jt.maxHeight=Math.min(window.innerHeight-qe-Fe.top,Pt)+"px"):Lt==Dt[1]||Dt[1]>=1?(jt.right=window.innerWidth-Fe.left+"px",jt.left="",jt.maxWidth=ze*Lt+"px",jt.top=Fe.top+"px",jt.bottom="",jt.maxHeight=Math.min(window.innerHeight-qe-Fe.top,Pt)+"px"):Lt==Dt[2]&&(jt.left=Fe.left+"px",jt.right="",jt.maxWidth=Math.min(ze,window.innerWidth-Fe.left)+"px",Ue.isTopdown?(jt.top=Fe.bottom+"px",jt.bottom="",jt.maxHeight=Math.min(window.innerHeight-qe-Fe.bottom,Pt)+"px"):(jt.top="",jt.bottom=window.innerHeight-Fe.top+"px",jt.maxHeight=Math.min(Fe.top,Pt)+"px")),le.$fixPositionBug(Ve)},Ne.prototype.hideDocTooltip=function(){if(this.tooltipTimer.cancel(),!!this.tooltipNode){var Oe=this.tooltipNode;!this.editor.isFocused()&&document.activeElement==Oe&&this.editor.focus(),this.tooltipNode=null,Oe.parentNode&&Oe.parentNode.removeChild(Oe)}},Ne.prototype.onTooltipClick=function(Oe){for(var $e=Oe.target;$e&&$e!=this.tooltipNode;){if($e.nodeName=="A"&&$e.href){$e.rel="noreferrer",$e.target="_blank";break}$e=$e.parentNode}},Ne.prototype.destroy=function(){if(this.detach(),this.popup){this.popup.destroy();var Oe=this.popup.container;Oe&&Oe.parentNode&&Oe.parentNode.removeChild(Oe)}this.editor&&this.editor.completer==this&&(this.editor.off("destroy",_e),this.editor.completer=null),this.inlineRenderer=this.popup=this.editor=null},Ne.for=function(Oe){return Oe.completer instanceof Ne||(Oe.completer&&(Oe.completer.destroy(),Oe.completer=null),de.get("sharedPopups")?(Ne.$sharedInstance||(Ne.$sharedInstance=new Ne),Oe.completer=Ne.$sharedInstance):(Oe.completer=new Ne,Oe.once("destroy",_e))),Oe.completer},Ne}();Ce.prototype.commands={Up:function(Ne){Ne.completer.goTo("up")},Down:function(Ne){Ne.completer.goTo("down")},"Ctrl-Up|Ctrl-Home":function(Ne){Ne.completer.goTo("start")},"Ctrl-Down|Ctrl-End":function(Ne){Ne.completer.goTo("end")},Esc:function(Ne){Ne.completer.detach()},Return:function(Ne){return Ne.completer.insertMatch()},"Shift-Return":function(Ne){Ne.completer.insertMatch(null,{deleteSuffix:!0})},Tab:function(Ne){var Oe=Ne.completer.insertMatch();if(!Oe&&!Ne.tabstopManager)Ne.completer.goTo("down");else return Oe},Backspace:function(Ne){Ne.execCommand("backspace");var Oe=ae.getCompletionPrefix(Ne);!Oe&&Ne.completer&&Ne.completer.detach()},PageUp:function(Ne){Ne.completer.popup.gotoPageUp()},PageDown:function(Ne){Ne.completer.popup.gotoPageDown()}},Ce.startCommand={name:"startAutocomplete",exec:function(Ne,Oe){var $e=Ce.for(Ne);$e.autoInsert=!1,$e.autoSelect=!0,$e.autoShown=!1,$e.showPopup(Ne,Oe),$e.cancelContextMenu()},bindKey:"Ctrl-Space|Ctrl-Shift-Space|Alt-Space"};var xe=function(){function Ne(Oe){this.initialPosition=Oe,this.active=!0}return Ne.prototype.insertByIndex=function(Oe,$e,Ve){return!this.completions||!this.completions.filtered?!1:this.insertMatch(Oe,this.completions.filtered[$e],Ve)},Ne.prototype.insertMatch=function(Oe,$e,Ve){if(!$e)return!1;if(Oe.startOperation({command:{name:"insertMatch"}}),$e.completer&&$e.completer.insertMatch)$e.completer.insertMatch(Oe,$e);else{if(!this.completions)return!1;var Ue=this.completions.filterText.length,Fe=0;if($e.range&&$e.range.start.row===$e.range.end.row&&(Ue-=this.initialPosition.prefix.length,Ue+=this.initialPosition.pos.column-$e.range.start.column,Fe+=$e.range.end.column-this.initialPosition.pos.column),Ue||Fe){var ze;Oe.selection.getAllRanges?ze=Oe.selection.getAllRanges():ze=[Oe.getSelectionRange()];for(var Pt=0,qe;qe=ze[Pt];Pt++)qe.start.column-=Ue,qe.end.column+=Fe,Oe.session.remove(qe)}$e.snippet?ue.insertSnippet(Oe,$e.snippet):this.$insertString(Oe,$e),$e.completer&&$e.completer.onInsert&&typeof $e.completer.onInsert=="function"&&$e.completer.onInsert(Oe,$e),$e.command&&$e.command==="startAutocomplete"&&Oe.execCommand($e.command)}return Oe.endOperation(),!0},Ne.prototype.$insertString=function(Oe,$e){var Ve=$e.value||$e;Oe.execCommand("insertstring",Ve)},Ne.prototype.gatherCompletions=function(Oe,$e){var Ve=Oe.getSession(),Ue=Oe.getCursorPosition(),Fe=ae.getCompletionPrefix(Oe),ze=[];this.completers=Oe.completers;var Pt=Oe.completers.length;return Oe.completers.forEach(function(qe,Et){qe.getCompletions(Oe,Ve,Ue,Fe,function(kt,At){qe.hideInlinePreview&&(At=At.map(function(Dt){return Object.assign(Dt,{hideInlinePreview:qe.hideInlinePreview})})),!kt&&At&&(ze=ze.concat(At)),$e(null,{prefix:ae.getCompletionPrefix(Oe),matches:ze,finished:--Pt===0})})}),!0},Ne.prototype.provideCompletions=function(Oe,$e,Ve){var Ue=(function(qe){var Et=qe.prefix,kt=qe.matches;this.completions=new Ie(kt),$e.exactMatch&&(this.completions.exactMatch=!0),$e.ignoreCaption&&(this.completions.ignoreCaption=!0),this.completions.setFilter(Et),(qe.finished||this.completions.filtered.length)&&Ve(null,this.completions,qe.finished)}).bind(this),Fe=!0,ze=null;if(this.gatherCompletions(Oe,(function(qe,Et){if(this.active){qe&&(Ve(qe,[],!0),this.detach());var kt=Et.prefix;if(kt.indexOf(Et.prefix)===0){if(Fe){ze=Et;return}Ue(Et)}}}).bind(this)),Fe=!1,ze){var Pt=ze;ze=null,Ue(Pt)}},Ne.prototype.detach=function(){this.active=!1,this.completers&&this.completers.forEach(function(Oe){typeof Oe.cancel=="function"&&Oe.cancel()})},Ne}(),Ie=function(){function Ne(Oe,$e){this.all=Oe,this.filtered=Oe,this.filterText=$e||"",this.exactMatch=!1,this.ignoreCaption=!1}return Ne.prototype.setFilter=function(Oe){if(Oe.length>this.filterText&&Oe.lastIndexOf(this.filterText,0)===0)var $e=this.filtered;else var $e=this.all;this.filterText=Oe,$e=this.filterCompletions($e,this.filterText),$e=$e.sort(function(Ue,Fe){return Fe.exactMatch-Ue.exactMatch||Fe.$score-Ue.$score||(Ue.caption||Ue.value).localeCompare(Fe.caption||Fe.value)});var Ve=null;$e=$e.filter(function(Ue){var Fe=Ue.snippet||Ue.caption||Ue.value;return Fe===Ve?!1:(Ve=Fe,!0)}),this.filtered=$e},Ne.prototype.filterCompletions=function(Oe,$e){var Ve=[],Ue=$e.toUpperCase(),Fe=$e.toLowerCase();e:for(var ze=0,Pt;Pt=Oe[ze];ze++){if(Pt.skipFilter){Pt.$score=Pt.score,Ve.push(Pt);continue}var qe=!this.ignoreCaption&&Pt.caption||Pt.value||Pt.snippet;if(qe){var Et=-1,kt=0,At=0,Dt,Lt;if(this.exactMatch){if($e!==qe.substr(0,$e.length))continue e}else{var jt=qe.toLowerCase().indexOf(Fe);if(jt>-1)At=jt;else for(var hn=0;hn<$e.length;hn++){var vn=qe.indexOf(Fe[hn],Et+1),_n=qe.indexOf(Ue[hn],Et+1);if(Dt=vn>=0&&(_n<0||vn<_n)?vn:_n,Dt<0)continue e;Lt=Dt-Et-1,Lt>0&&(Et===-1&&(At+=10),At+=Lt,kt=kt|1<ue)&&(Ce.range.start.row===pe?he++:(pe=Ce.range.start.row,he=0),!(he>200))){var xe=Ce.range.clipRows(le,ue);if(!(xe.start.row===xe.end.row&&xe.start.column===xe.end.column)){var Ie=xe.toScreenRange(ae);if(Ie.isEmpty()){de=ae.getNextFoldLine(xe.end.row,de),de&&de.end.row>xe.end.row&&(le=de.end.row);continue}this.markerType==="fullLine"?ie.drawFullLineMarker(re,Ie,Ce.className,oe):Ie.isMultiLine()?this.markerType==="line"?ie.drawMultiLineMarker(re,Ie,Ce.className,oe):ie.drawTextMarker(re,Ie,Ce.className,oe):ie.drawSingleLineMarker(re,Ie,Ce.className+" ace_br15",oe)}}}},V}();$.prototype.MAX_MARKERS=1e4,i.MarkerGroup=$}),ace.define("ace/autocomplete/text_completer",["require","exports","module","ace/range"],function(r,i,g){var $=r("../range").Range,V=/[^a-zA-Z_0-9\$\-\u00C0-\u1FFF\u2C00-\uD7FF\w]+/;function re(ae,oe){var le=ae.getTextRange($.fromPoints({row:0,column:0},oe));return le.split(V).length-1}function ie(ae,oe){var le=re(ae,oe),ue=ae.getValue().split(V),de=Object.create(null),he=ue[le];return ue.forEach(function(pe,_e){if(!(!pe||pe===he)){var Ce=Math.abs(le-_e),xe=ue.length-Ce;de[pe]?de[pe]=Math.max(xe,de[pe]):de[pe]=xe}}),de}i.getCompletions=function(ae,oe,le,ue,de){var he=ie(oe,le),pe=Object.keys(he);de(null,pe.map(function(_e){return{caption:_e,value:_e,score:he[_e],meta:"local"}}))}}),ace.define("ace/ext/language_tools",["require","exports","module","ace/snippets","ace/autocomplete","ace/config","ace/lib/lang","ace/autocomplete/util","ace/marker_group","ace/autocomplete/text_completer","ace/editor","ace/config"],function(r,i,g){var $=r("../snippets").snippetManager,V=r("../autocomplete").Autocomplete,re=r("../config"),ie=r("../lib/lang"),ae=r("../autocomplete/util"),oe=r("../marker_group").MarkerGroup,le=r("../autocomplete/text_completer"),ue={getCompletions:function(Fe,ze,Pt,qe,Et){if(ze.$mode.completer)return ze.$mode.completer.getCompletions(Fe,ze,Pt,qe,Et);var kt=Fe.session.getState(Pt.row),At=ze.$mode.getCompletions(kt,ze,Pt,qe);At=At.map(function(Dt){return Dt.completerId=ue.id,Dt}),Et(null,At)},id:"keywordCompleter"},de=function(Fe){var ze={};return Fe.replace(/\${(\d+)(:(.*?))?}/g,function(Pt,qe,Et,kt){return ze[qe]=kt||""}).replace(/\$(\d+?)/g,function(Pt,qe){return ze[qe]})},he={getCompletions:function(Fe,ze,Pt,qe,Et){var kt=[],At=ze.getTokenAt(Pt.row,Pt.column);At&&At.type.match(/(tag-name|tag-open|tag-whitespace|attribute-name|attribute-value)\.xml$/)?kt.push("html-tag"):kt=$.getActiveScopes(Fe);var Dt=$.snippetMap,Lt=[];kt.forEach(function(jt){for(var hn=Dt[jt]||[],vn=hn.length;vn--;){var _n=hn[vn],wn=_n.name||_n.tabTrigger;wn&&Lt.push({caption:wn,snippet:_n.content,meta:_n.tabTrigger&&!_n.name?_n.tabTrigger+"⇥ ":"snippet",completerId:he.id})}},this),Et(null,Lt)},getDocTooltip:function(Fe){Fe.snippet&&!Fe.docHTML&&(Fe.docHTML=["",ie.escapeHTML(Fe.caption),"","
",ie.escapeHTML(de(Fe.snippet))].join(""))},id:"snippetCompleter"},pe=[he,le,ue];i.setCompleters=function(Fe){pe.length=0,Fe&&pe.push.apply(pe,Fe)},i.addCompleter=function(Fe){pe.push(Fe)},i.textCompleter=le,i.keyWordCompleter=ue,i.snippetCompleter=he;var _e={name:"expandSnippet",exec:function(Fe){return $.expandWithTab(Fe)},bindKey:"Tab"},Ce=function(Fe,ze){xe(ze.session.$mode)},xe=function(Fe){typeof Fe=="string"&&(Fe=re.$modes[Fe]),Fe&&($.files||($.files={}),Ie(Fe.$id,Fe.snippetFileId),Fe.modes&&Fe.modes.forEach(xe))},Ie=function(Fe,ze){!ze||!Fe||$.files[Fe]||($.files[Fe]={},re.loadModule(ze,function(Pt){Pt&&($.files[Fe]=Pt,!Pt.snippets&&Pt.snippetText&&(Pt.snippets=$.parseSnippetFile(Pt.snippetText)),$.register(Pt.snippets||[],Pt.scope),Pt.includeScopes&&($.snippetMap[Pt.scope].includeScopes=Pt.includeScopes,Pt.includeScopes.forEach(function(qe){xe("ace/mode/"+qe)})))}))},Ne=function(Fe){var ze=Fe.editor,Pt=ze.completer&&ze.completer.activated;if(Fe.command.name==="backspace")Pt&&!ae.getCompletionPrefix(ze)&&ze.completer.detach();else if(Fe.command.name==="insertstring"&&!Pt){Oe=Fe;var qe=Fe.editor.$liveAutocompletionDelay;qe?$e.delay(qe):Ve(Fe)}},Oe,$e=ie.delayedCall(function(){Ve(Oe)},0),Ve=function(Fe){var ze=Fe.editor,Pt=ae.getCompletionPrefix(ze),qe=Fe.args,Et=ae.triggerAutocomplete(ze,qe);if(Pt&&Pt.length>=ze.$liveAutocompletionThreshold||Et){var kt=V.for(ze);kt.autoShown=!0,kt.showPopup(ze)}},Ue=r("../editor").Editor;r("../config").defineOptions(Ue.prototype,"editor",{enableBasicAutocompletion:{set:function(Fe){Fe?(V.for(this),this.completers||(this.completers=Array.isArray(Fe)?Fe:pe),this.commands.addCommand(V.startCommand)):this.commands.removeCommand(V.startCommand)},value:!1},enableLiveAutocompletion:{set:function(Fe){Fe?(this.completers||(this.completers=Array.isArray(Fe)?Fe:pe),this.commands.on("afterExec",Ne)):this.commands.off("afterExec",Ne)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(Fe){Fe?(this.commands.addCommand(_e),this.on("changeMode",Ce),Ce(null,this)):(this.commands.removeCommand(_e),this.off("changeMode",Ce))},value:!1}}),i.MarkerGroup=oe}),function(){ace.require(["ace/ext/language_tools"],function(r){n&&(n.exports=r)})}()})(extLanguage_tools);ace$1.config.setModuleUrl("ace/theme/monokai",themeMonokaiUrl);ace$1.config.setModuleUrl("ace/mode/base",workerBaseUrl);ace$1.config.setModuleUrl("ace/mode/json",modeJsonUrl);ace$1.config.setModuleUrl("ace/mode/json_worker",workerJsonUrl);ace$1.config.setModuleUrl("ace/snippets/json",snippetsJsonUrl);ace$1.config.setModuleUrl("ace/mode/javascript",modeJavascriptUrl);ace$1.config.setModuleUrl("ace/mode/javascript_worker",workerJavascriptUrl);ace$1.config.setModuleUrl("ace/snippets/javascript",snippetsJavascriptUrl);const langTools=ace$1.require("ace/ext/language_tools");langTools.addCompleter({getCompletions:function(n,t,r,i,g){if(i.length===0){g(null,[]);return}g(null,[{name:"$mtEventCallBack",value:"$mtEventCallBack(type,$item_info.id)",score:1e3,meta:"执行订阅回调函数"},{name:"$mtElMessage",value:'$mtElMessage.success("成功")',score:1e3,meta:"消息提示"},{name:"$mtElMessageBox",value:`$mtElMessageBox.alert('This is a message', 'Title', { - confirmButtonText: 'OK', - callback: (action) => { - console.log(action) - }, - })`,score:1e3,meta:"消息弹出框"},{name:"$item_info",value:"$item_info",score:1e3,meta:"回调函数中获取当前触发事件图形的信息"}])}});/*! - * pinia v3.0.4 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */let activePinia;const setActivePinia=n=>activePinia=n,piniaSymbol=Symbol();function isPlainObject$1(n){return n&&typeof n=="object"&&Object.prototype.toString.call(n)==="[object Object]"&&typeof n.toJSON!="function"}var MutationType;(function(n){n.direct="direct",n.patchObject="patch object",n.patchFunction="patch function"})(MutationType||(MutationType={}));function createPinia(){const n=effectScope(!0),t=n.run(()=>ref({}));let r=[],i=[];const g=markRaw({install($){setActivePinia(g),g._a=$,$.provide(piniaSymbol,g),$.config.globalProperties.$pinia=g,i.forEach(V=>r.push(V)),i=[]},use($){return this._a?r.push($):i.push($),this},_p:r,_a:null,_e:n,_s:new Map,state:t});return g}const noop$3=()=>{};function addSubscription(n,t,r,i=noop$3){n.add(t);const g=()=>{n.delete(t)&&i()};return!r&&getCurrentScope()&&onScopeDispose(g),g}function triggerSubscriptions(n,...t){n.forEach(r=>{r(...t)})}const fallbackRunWithContext=n=>n(),ACTION_MARKER=Symbol(),ACTION_NAME=Symbol();function mergeReactiveObjects(n,t){n instanceof Map&&t instanceof Map?t.forEach((r,i)=>n.set(i,r)):n instanceof Set&&t instanceof Set&&t.forEach(n.add,n);for(const r in t){if(!t.hasOwnProperty(r))continue;const i=t[r],g=n[r];isPlainObject$1(g)&&isPlainObject$1(i)&&n.hasOwnProperty(r)&&!isRef(i)&&!isReactive(i)?n[r]=mergeReactiveObjects(g,i):n[r]=i}return n}const skipHydrateSymbol=Symbol();function shouldHydrate(n){return!isPlainObject$1(n)||!Object.prototype.hasOwnProperty.call(n,skipHydrateSymbol)}const{assign:assign$1}=Object;function isComputed(n){return!!(isRef(n)&&n.effect)}function createOptionsStore(n,t,r,i){const{state:g,actions:$,getters:V}=t,re=r.state.value[n];let ie;function ae(){re||(r.state.value[n]=g?g():{});const oe=toRefs(r.state.value[n]);return assign$1(oe,$,Object.keys(V||{}).reduce((le,ue)=>(le[ue]=markRaw(computed(()=>{setActivePinia(r);const de=r._s.get(n);return V[ue].call(de,de)})),le),{}))}return ie=createSetupStore(n,ae,t,r,i,!0),ie}function createSetupStore(n,t,r={},i,g,$){let V;const re=assign$1({actions:{}},r),ie={deep:!0};let ae,oe,le=new Set,ue=new Set,de;const he=i.state.value[n];!$&&!he&&(i.state.value[n]={}),ref({});let pe;function _e(Ue){let Fe;ae=oe=!1,typeof Ue=="function"?(Ue(i.state.value[n]),Fe={type:MutationType.patchFunction,storeId:n,events:de}):(mergeReactiveObjects(i.state.value[n],Ue),Fe={type:MutationType.patchObject,payload:Ue,storeId:n,events:de});const ze=pe=Symbol();nextTick().then(()=>{pe===ze&&(ae=!0)}),oe=!0,triggerSubscriptions(le,Fe,i.state.value[n])}const Ce=$?function(){const{state:Fe}=r,ze=Fe?Fe():{};this.$patch(Pt=>{assign$1(Pt,ze)})}:noop$3;function xe(){V.stop(),le.clear(),ue.clear(),i._s.delete(n)}const Ie=(Ue,Fe="")=>{if(ACTION_MARKER in Ue)return Ue[ACTION_NAME]=Fe,Ue;const ze=function(){setActivePinia(i);const Pt=Array.from(arguments),qe=new Set,Et=new Set;function kt(Lt){qe.add(Lt)}function At(Lt){Et.add(Lt)}triggerSubscriptions(ue,{args:Pt,name:ze[ACTION_NAME],store:Oe,after:kt,onError:At});let Dt;try{Dt=Ue.apply(this&&this.$id===n?this:Oe,Pt)}catch(Lt){throw triggerSubscriptions(Et,Lt),Lt}return Dt instanceof Promise?Dt.then(Lt=>(triggerSubscriptions(qe,Lt),Lt)).catch(Lt=>(triggerSubscriptions(Et,Lt),Promise.reject(Lt))):(triggerSubscriptions(qe,Dt),Dt)};return ze[ACTION_MARKER]=!0,ze[ACTION_NAME]=Fe,ze},Ne={_p:i,$id:n,$onAction:addSubscription.bind(null,ue),$patch:_e,$reset:Ce,$subscribe(Ue,Fe={}){const ze=addSubscription(le,Ue,Fe.detached,()=>Pt()),Pt=V.run(()=>watch(()=>i.state.value[n],qe=>{(Fe.flush==="sync"?oe:ae)&&Ue({storeId:n,type:MutationType.direct,events:de},qe)},assign$1({},ie,Fe)));return ze},$dispose:xe},Oe=reactive(Ne);i._s.set(n,Oe);const Ve=(i._a&&i._a.runWithContext||fallbackRunWithContext)(()=>i._e.run(()=>(V=effectScope()).run(()=>t({action:Ie}))));for(const Ue in Ve){const Fe=Ve[Ue];if(isRef(Fe)&&!isComputed(Fe)||isReactive(Fe))$||(he&&shouldHydrate(Fe)&&(isRef(Fe)?Fe.value=he[Ue]:mergeReactiveObjects(Fe,he[Ue])),i.state.value[n][Ue]=Fe);else if(typeof Fe=="function"){const ze=Ie(Fe,Ue);Ve[Ue]=ze,re.actions[Ue]=Fe}}return assign$1(Oe,Ve),assign$1(toRaw(Oe),Ve),Object.defineProperty(Oe,"$state",{get:()=>i.state.value[n],set:Ue=>{_e(Fe=>{assign$1(Fe,Ue)})}}),i._p.forEach(Ue=>{assign$1(Oe,V.run(()=>Ue({store:Oe,app:i._a,pinia:i,options:re})))}),he&&$&&r.hydrate&&r.hydrate(Oe.$state,he),ae=!0,oe=!0,Oe}/*! #__NO_SIDE_EFFECTS__ */function defineStore(n,t,r){let i;const g=typeof t=="function";i=g?r:t;function $(V,re){const ie=hasInjectionContext();return V=V||(ie?inject(piniaSymbol,null):null),V&&setActivePinia(V),V=activePinia,V._s.has(n)||(g?createSetupStore(n,t,i,V):createOptionsStore(n,i,V)),V._s.get(n)}return $.$id=n,$}function storeToRefs(n){const t=toRaw(n),r={};for(const i in t){const g=t[i];g.effect?r[i]=computed({get:()=>n[i],set($){n[i]=$}}):(isRef(g)||isReactive(g))&&(r[i]=toRef$1(n,i))}return r}const useImgStore=defineStore("img",{state(){return{imgList:[]}},actions:{saveOrUpdateImage(n){const t=this.imgList.findIndex(r=>r.id===n.id);return t!==-1?this.imgList[t]=n:this.imgList.push(n),!0},getImageData(n){var t;return((t=this.imgList.find(r=>r.id===n))==null?void 0:t.uploadedImage)||""}}});function mitt(n){return{all:n=n||new Map,on:function(t,r){var i=n.get(t);i?i.push(r):n.set(t,[r])},off:function(t,r){var i=n.get(t);i&&(r?i.splice(i.indexOf(r)>>>0,1):n.set(t,[]))},emit:function(t,r){var i=n.get(t);i&&i.slice().map(function(g){g(r)}),(i=n.get("*"))&&i.slice().map(function(g){g(t,r)})}}}const emitter=mitt(),index_vue_vue_type_style_index_0_lang="",scriptRel="modulepreload",assetsURL=function(n){return"/webVue/"+n},seen={},__vitePreload=function n(t,r,i){if(!r||r.length===0)return t();const g=document.getElementsByTagName("link");return Promise.all(r.map($=>{if($=assetsURL($),$ in seen)return;seen[$]=!0;const V=$.endsWith(".css"),re=V?'[rel="stylesheet"]':"";if(!!i)for(let oe=g.length-1;oe>=0;oe--){const le=g[oe];if(le.href===$&&(!V||le.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${$}"]${re}`))return;const ae=document.createElement("link");if(ae.rel=V?"stylesheet":scriptRel,V||(ae.as="script",ae.crossOrigin=""),ae.href=$,document.head.appendChild(ae),V)return new Promise((oe,le)=>{ae.addEventListener("load",oe),ae.addEventListener("error",()=>le(new Error(`Unable to preload CSS for ${$}`)))})})).then(()=>t()).catch($=>{const V=new Event("vite:preloadError",{cancelable:!0});if(V.payload=$,window.dispatchEvent(V),!V.defaultPrevented)throw $})};/*! - * vue-router v4.6.4 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */const isBrowser=typeof document<"u";function isRouteComponent(n){return typeof n=="object"||"displayName"in n||"props"in n||"__vccOpts"in n}function isESModule(n){return n.__esModule||n[Symbol.toStringTag]==="Module"||n.default&&isRouteComponent(n.default)}const assign=Object.assign;function applyToParams(n,t){const r={};for(const i in t){const g=t[i];r[i]=isArray$2(g)?g.map(n):n(g)}return r}const noop$2=()=>{},isArray$2=Array.isArray;function mergeOptions(n,t){const r={};for(const i in n)r[i]=i in t?t[i]:n[i];return r}const HASH_RE=/#/g,AMPERSAND_RE=/&/g,SLASH_RE=/\//g,EQUAL_RE=/=/g,IM_RE=/\?/g,PLUS_RE=/\+/g,ENC_BRACKET_OPEN_RE=/%5B/g,ENC_BRACKET_CLOSE_RE=/%5D/g,ENC_CARET_RE=/%5E/g,ENC_BACKTICK_RE=/%60/g,ENC_CURLY_OPEN_RE=/%7B/g,ENC_PIPE_RE=/%7C/g,ENC_CURLY_CLOSE_RE=/%7D/g,ENC_SPACE_RE=/%20/g;function commonEncode(n){return n==null?"":encodeURI(""+n).replace(ENC_PIPE_RE,"|").replace(ENC_BRACKET_OPEN_RE,"[").replace(ENC_BRACKET_CLOSE_RE,"]")}function encodeHash(n){return commonEncode(n).replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryValue(n){return commonEncode(n).replace(PLUS_RE,"%2B").replace(ENC_SPACE_RE,"+").replace(HASH_RE,"%23").replace(AMPERSAND_RE,"%26").replace(ENC_BACKTICK_RE,"`").replace(ENC_CURLY_OPEN_RE,"{").replace(ENC_CURLY_CLOSE_RE,"}").replace(ENC_CARET_RE,"^")}function encodeQueryKey(n){return encodeQueryValue(n).replace(EQUAL_RE,"%3D")}function encodePath(n){return commonEncode(n).replace(HASH_RE,"%23").replace(IM_RE,"%3F")}function encodeParam(n){return encodePath(n).replace(SLASH_RE,"%2F")}function decode(n){if(n==null)return null;try{return decodeURIComponent(""+n)}catch{}return""+n}const TRAILING_SLASH_RE=/\/$/,removeTrailingSlash=n=>n.replace(TRAILING_SLASH_RE,"");function parseURL(n,t,r="/"){let i,g={},$="",V="";const re=t.indexOf("#");let ie=t.indexOf("?");return ie=re>=0&&ie>re?-1:ie,ie>=0&&(i=t.slice(0,ie),$=t.slice(ie,re>0?re:t.length),g=n($.slice(1))),re>=0&&(i=i||t.slice(0,re),V=t.slice(re,t.length)),i=resolveRelativePath(i??t,r),{fullPath:i+$+V,path:i,query:g,hash:decode(V)}}function stringifyURL(n,t){const r=t.query?n(t.query):"";return t.path+(r&&"?")+r+(t.hash||"")}function stripBase(n,t){return!t||!n.toLowerCase().startsWith(t.toLowerCase())?n:n.slice(t.length)||"/"}function isSameRouteLocation(n,t,r){const i=t.matched.length-1,g=r.matched.length-1;return i>-1&&i===g&&isSameRouteRecord(t.matched[i],r.matched[g])&&isSameRouteLocationParams(t.params,r.params)&&n(t.query)===n(r.query)&&t.hash===r.hash}function isSameRouteRecord(n,t){return(n.aliasOf||n)===(t.aliasOf||t)}function isSameRouteLocationParams(n,t){if(Object.keys(n).length!==Object.keys(t).length)return!1;for(var r in n)if(!isSameRouteLocationParamsValue(n[r],t[r]))return!1;return!0}function isSameRouteLocationParamsValue(n,t){return isArray$2(n)?isEquivalentArray(n,t):isArray$2(t)?isEquivalentArray(t,n):(n==null?void 0:n.valueOf())===(t==null?void 0:t.valueOf())}function isEquivalentArray(n,t){return isArray$2(t)?n.length===t.length&&n.every((r,i)=>r===t[i]):n.length===1&&n[0]===t}function resolveRelativePath(n,t){if(n.startsWith("/"))return n;if(!n)return t;const r=t.split("/"),i=n.split("/"),g=i[i.length-1];(g===".."||g===".")&&i.push("");let $=r.length-1,V,re;for(V=0;V1&&$--;else break;return r.slice(0,$).join("/")+"/"+i.slice(V).join("/")}const START_LOCATION_NORMALIZED={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let NavigationType=function(n){return n.pop="pop",n.push="push",n}({}),NavigationDirection=function(n){return n.back="back",n.forward="forward",n.unknown="",n}({});function normalizeBase(n){if(!n)if(isBrowser){const t=document.querySelector("base");n=t&&t.getAttribute("href")||"/",n=n.replace(/^\w+:\/\/[^\/]+/,"")}else n="/";return n[0]!=="/"&&n[0]!=="#"&&(n="/"+n),removeTrailingSlash(n)}const BEFORE_HASH_RE=/^[^#]+#/;function createHref(n,t){return n.replace(BEFORE_HASH_RE,"#")+t}function getElementPosition(n,t){const r=document.documentElement.getBoundingClientRect(),i=n.getBoundingClientRect();return{behavior:t.behavior,left:i.left-r.left-(t.left||0),top:i.top-r.top-(t.top||0)}}const computeScrollPosition=()=>({left:window.scrollX,top:window.scrollY});function scrollToPosition(n){let t;if("el"in n){const r=n.el,i=typeof r=="string"&&r.startsWith("#"),g=typeof r=="string"?i?document.getElementById(r.slice(1)):document.querySelector(r):r;if(!g)return;t=getElementPosition(g,n)}else t=n;"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 getScrollKey(n,t){return(history.state?history.state.position-t:-1)+n}const scrollPositions=new Map;function saveScrollPosition(n,t){scrollPositions.set(n,t)}function getSavedScrollPosition(n){const t=scrollPositions.get(n);return scrollPositions.delete(n),t}function isRouteLocation(n){return typeof n=="string"||n&&typeof n=="object"}function isRouteName(n){return typeof n=="string"||typeof n=="symbol"}let ErrorTypes=function(n){return n[n.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",n[n.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",n[n.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",n[n.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",n[n.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",n}({});const NavigationFailureSymbol=Symbol("");ErrorTypes.MATCHER_NOT_FOUND+"",ErrorTypes.NAVIGATION_GUARD_REDIRECT+"",ErrorTypes.NAVIGATION_ABORTED+"",ErrorTypes.NAVIGATION_CANCELLED+"",ErrorTypes.NAVIGATION_DUPLICATED+"";function createRouterError(n,t){return assign(new Error,{type:n,[NavigationFailureSymbol]:!0},t)}function isNavigationFailure(n,t){return n instanceof Error&&NavigationFailureSymbol in n&&(t==null||!!(n.type&t))}const propertiesToLog=["params","query","hash"];function stringifyRoute(n){if(typeof n=="string")return n;if(n.path!=null)return n.path;const t={};for(const r of propertiesToLog)r in n&&(t[r]=n[r]);return JSON.stringify(t,null,2)}function parseQuery(n){const t={};if(n===""||n==="?")return t;const r=(n[0]==="?"?n.slice(1):n).split("&");for(let i=0;ig&&encodeQueryValue(g)):[i&&encodeQueryValue(i)]).forEach(g=>{g!==void 0&&(t+=(t.length?"&":"")+r,g!=null&&(t+="="+g))})}return t}function normalizeQuery(n){const t={};for(const r in n){const i=n[r];i!==void 0&&(t[r]=isArray$2(i)?i.map(g=>g==null?null:""+g):i==null?i:""+i)}return t}const matchedRouteKey=Symbol(""),viewDepthKey=Symbol(""),routerKey=Symbol(""),routeLocationKey=Symbol(""),routerViewLocationKey=Symbol("");function useCallbacks(){let n=[];function t(i){return n.push(i),()=>{const g=n.indexOf(i);g>-1&&n.splice(g,1)}}function r(){n=[]}return{add:t,list:()=>n.slice(),reset:r}}function guardToPromiseFn(n,t,r,i,g,$=V=>V()){const V=i&&(i.enterCallbacks[g]=i.enterCallbacks[g]||[]);return()=>new Promise((re,ie)=>{const ae=ue=>{ue===!1?ie(createRouterError(ErrorTypes.NAVIGATION_ABORTED,{from:r,to:t})):ue instanceof Error?ie(ue):isRouteLocation(ue)?ie(createRouterError(ErrorTypes.NAVIGATION_GUARD_REDIRECT,{from:t,to:ue})):(V&&i.enterCallbacks[g]===V&&typeof ue=="function"&&V.push(ue),re())},oe=$(()=>n.call(i&&i.instances[g],t,r,ae));let le=Promise.resolve(oe);n.length<3&&(le=le.then(ae)),le.catch(ue=>ie(ue))})}function extractComponentsGuards(n,t,r,i,g=$=>$()){const $=[];for(const V of n)for(const re in V.components){let ie=V.components[re];if(!(t!=="beforeRouteEnter"&&!V.instances[re]))if(isRouteComponent(ie)){const ae=(ie.__vccOpts||ie)[t];ae&&$.push(guardToPromiseFn(ae,r,i,V,re,g))}else{let ae=ie();$.push(()=>ae.then(oe=>{if(!oe)throw new Error(`Couldn't resolve component "${re}" at "${V.path}"`);const le=isESModule(oe)?oe.default:oe;V.mods[re]=oe,V.components[re]=le;const ue=(le.__vccOpts||le)[t];return ue&&guardToPromiseFn(ue,r,i,V,re,g)()}))}}return $}function extractChangingRecords(n,t){const r=[],i=[],g=[],$=Math.max(t.matched.length,n.matched.length);for(let V=0;V<$;V++){const re=t.matched[V];re&&(n.matched.find(ae=>isSameRouteRecord(ae,re))?i.push(re):r.push(re));const ie=n.matched[V];ie&&(t.matched.find(ae=>isSameRouteRecord(ae,ie))||g.push(ie))}return[r,i,g]}/*! - * vue-router v4.6.4 - * (c) 2025 Eduardo San Martin Morote - * @license MIT - */let createBaseLocation=()=>location.protocol+"//"+location.host;function createCurrentLocation(n,t){const{pathname:r,search:i,hash:g}=t,$=n.indexOf("#");if($>-1){let V=g.includes(n.slice($))?n.slice($).length:1,re=g.slice(V);return re[0]!=="/"&&(re="/"+re),stripBase(re,"")}return stripBase(r,n)+i+g}function useHistoryListeners(n,t,r,i){let g=[],$=[],V=null;const re=({state:ue})=>{const de=createCurrentLocation(n,location),he=r.value,pe=t.value;let _e=0;if(ue){if(r.value=de,t.value=ue,V&&V===he){V=null;return}_e=pe?ue.position-pe.position:0}else i(de);g.forEach(Ce=>{Ce(r.value,he,{delta:_e,type:NavigationType.pop,direction:_e?_e>0?NavigationDirection.forward:NavigationDirection.back:NavigationDirection.unknown})})};function ie(){V=r.value}function ae(ue){g.push(ue);const de=()=>{const he=g.indexOf(ue);he>-1&&g.splice(he,1)};return $.push(de),de}function oe(){if(document.visibilityState==="hidden"){const{history:ue}=window;if(!ue.state)return;ue.replaceState(assign({},ue.state,{scroll:computeScrollPosition()}),"")}}function le(){for(const ue of $)ue();$=[],window.removeEventListener("popstate",re),window.removeEventListener("pagehide",oe),document.removeEventListener("visibilitychange",oe)}return window.addEventListener("popstate",re),window.addEventListener("pagehide",oe),document.addEventListener("visibilitychange",oe),{pauseListeners:ie,listen:ae,destroy:le}}function buildState(n,t,r,i=!1,g=!1){return{back:n,current:t,forward:r,replaced:i,position:window.history.length,scroll:g?computeScrollPosition():null}}function useHistoryStateNavigation(n){const{history:t,location:r}=window,i={value:createCurrentLocation(n,r)},g={value:t.state};g.value||$(i.value,{back:null,current:i.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function $(ie,ae,oe){const le=n.indexOf("#"),ue=le>-1?(r.host&&document.querySelector("base")?n:n.slice(le))+ie:createBaseLocation()+n+ie;try{t[oe?"replaceState":"pushState"](ae,"",ue),g.value=ae}catch(de){console.error(de),r[oe?"replace":"assign"](ue)}}function V(ie,ae){$(ie,assign({},t.state,buildState(g.value.back,ie,g.value.forward,!0),ae,{position:g.value.position}),!0),i.value=ie}function re(ie,ae){const oe=assign({},g.value,t.state,{forward:ie,scroll:computeScrollPosition()});$(oe.current,oe,!0),$(ie,assign({},buildState(i.value,ie,null),{position:oe.position+1},ae),!1),i.value=ie}return{location:i,state:g,push:re,replace:V}}function createWebHistory(n){n=normalizeBase(n);const t=useHistoryStateNavigation(n),r=useHistoryListeners(n,t.state,t.location,t.replace);function i($,V=!0){V||r.pauseListeners(),history.go($)}const g=assign({location:"",base:n,go:i,createHref:createHref.bind(null,n)},t,r);return Object.defineProperty(g,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(g,"state",{enumerable:!0,get:()=>t.state.value}),g}let TokenType=function(n){return n[n.Static=0]="Static",n[n.Param=1]="Param",n[n.Group=2]="Group",n}({});var TokenizerState=function(n){return n[n.Static=0]="Static",n[n.Param=1]="Param",n[n.ParamRegExp=2]="ParamRegExp",n[n.ParamRegExpEnd=3]="ParamRegExpEnd",n[n.EscapeNext=4]="EscapeNext",n}(TokenizerState||{});const ROOT_TOKEN={type:TokenType.Static,value:""},VALID_PARAM_RE=/[a-zA-Z0-9_]/;function tokenizePath(n){if(!n)return[[]];if(n==="/")return[[ROOT_TOKEN]];if(!n.startsWith("/"))throw new Error(`Invalid path "${n}"`);function t(de){throw new Error(`ERR (${r})/"${ae}": ${de}`)}let r=TokenizerState.Static,i=r;const g=[];let $;function V(){$&&g.push($),$=[]}let re=0,ie,ae="",oe="";function le(){ae&&(r===TokenizerState.Static?$.push({type:TokenType.Static,value:ae}):r===TokenizerState.Param||r===TokenizerState.ParamRegExp||r===TokenizerState.ParamRegExpEnd?($.length>1&&(ie==="*"||ie==="+")&&t(`A repeatable param (${ae}) must be alone in its segment. eg: '/:ids+.`),$.push({type:TokenType.Param,value:ae,regexp:oe,repeatable:ie==="*"||ie==="+",optional:ie==="*"||ie==="?"})):t("Invalid state to consume buffer"),ae="")}function ue(){ae+=ie}for(;ret.length?t.length===1&&t[0]===PathScore.Static+PathScore.Segment?1:-1:0}function comparePathParserScore(n,t){let r=0;const i=n.score,g=t.score;for(;r0&&t[t.length-1]<0}const PATH_PARSER_OPTIONS_DEFAULTS={strict:!1,end:!0,sensitive:!1};function createRouteRecordMatcher(n,t,r){const i=tokensToParser(tokenizePath(n.path),r),g=assign(i,{record:n,parent:t,children:[],alias:[]});return t&&!g.record.aliasOf==!t.record.aliasOf&&t.children.push(g),g}function createRouterMatcher(n,t){const r=[],i=new Map;t=mergeOptions(PATH_PARSER_OPTIONS_DEFAULTS,t);function g(le){return i.get(le)}function $(le,ue,de){const he=!de,pe=normalizeRouteRecord(le);pe.aliasOf=de&&de.record;const _e=mergeOptions(t,le),Ce=[pe];if("alias"in le){const Ne=typeof le.alias=="string"?[le.alias]:le.alias;for(const Oe of Ne)Ce.push(normalizeRouteRecord(assign({},pe,{components:de?de.record.components:pe.components,path:Oe,aliasOf:de?de.record:pe})))}let xe,Ie;for(const Ne of Ce){const{path:Oe}=Ne;if(ue&&Oe[0]!=="/"){const $e=ue.record.path,Ve=$e[$e.length-1]==="/"?"":"/";Ne.path=ue.record.path+(Oe&&Ve+Oe)}if(xe=createRouteRecordMatcher(Ne,ue,_e),de?de.alias.push(xe):(Ie=Ie||xe,Ie!==xe&&Ie.alias.push(xe),he&&le.name&&!isAliasRecord(xe)&&V(le.name)),isMatchable(xe)&&ie(xe),pe.children){const $e=pe.children;for(let Ve=0;Ve<$e.length;Ve++)$($e[Ve],xe,de&&de.children[Ve])}de=de||xe}return Ie?()=>{V(Ie)}:noop$2}function V(le){if(isRouteName(le)){const ue=i.get(le);ue&&(i.delete(le),r.splice(r.indexOf(ue),1),ue.children.forEach(V),ue.alias.forEach(V))}else{const ue=r.indexOf(le);ue>-1&&(r.splice(ue,1),le.record.name&&i.delete(le.record.name),le.children.forEach(V),le.alias.forEach(V))}}function re(){return r}function ie(le){const ue=findInsertionIndex(le,r);r.splice(ue,0,le),le.record.name&&!isAliasRecord(le)&&i.set(le.record.name,le)}function ae(le,ue){let de,he={},pe,_e;if("name"in le&&le.name){if(de=i.get(le.name),!de)throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND,{location:le});_e=de.record.name,he=assign(pickParams(ue.params,de.keys.filter(Ie=>!Ie.optional).concat(de.parent?de.parent.keys.filter(Ie=>Ie.optional):[]).map(Ie=>Ie.name)),le.params&&pickParams(le.params,de.keys.map(Ie=>Ie.name))),pe=de.stringify(he)}else if(le.path!=null)pe=le.path,de=r.find(Ie=>Ie.re.test(pe)),de&&(he=de.parse(pe),_e=de.record.name);else{if(de=ue.name?i.get(ue.name):r.find(Ie=>Ie.re.test(ue.path)),!de)throw createRouterError(ErrorTypes.MATCHER_NOT_FOUND,{location:le,currentLocation:ue});_e=de.record.name,he=assign({},ue.params,le.params),pe=de.stringify(he)}const Ce=[];let xe=de;for(;xe;)Ce.unshift(xe.record),xe=xe.parent;return{name:_e,path:pe,params:he,matched:Ce,meta:mergeMetaFields(Ce)}}n.forEach(le=>$(le));function oe(){r.length=0,i.clear()}return{addRoute:$,resolve:ae,removeRoute:V,clearRoutes:oe,getRoutes:re,getRecordMatcher:g}}function pickParams(n,t){const r={};for(const i of t)i in n&&(r[i]=n[i]);return r}function normalizeRouteRecord(n){const t={path:n.path,redirect:n.redirect,name:n.name,meta:n.meta||{},aliasOf:n.aliasOf,beforeEnter:n.beforeEnter,props:normalizeRecordProps(n),children:n.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in n?n.components||null:n.component&&{default:n.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function normalizeRecordProps(n){const t={},r=n.props||!1;if("component"in n)t.default=r;else for(const i in n.components)t[i]=typeof r=="object"?r[i]:r;return t}function isAliasRecord(n){for(;n;){if(n.record.aliasOf)return!0;n=n.parent}return!1}function mergeMetaFields(n){return n.reduce((t,r)=>assign(t,r.meta),{})}function findInsertionIndex(n,t){let r=0,i=t.length;for(;r!==i;){const $=r+i>>1;comparePathParserScore(n,t[$])<0?i=$:r=$+1}const g=getInsertionAncestor(n);return g&&(i=t.lastIndexOf(g,i-1)),i}function getInsertionAncestor(n){let t=n;for(;t=t.parent;)if(isMatchable(t)&&comparePathParserScore(n,t)===0)return t}function isMatchable({record:n}){return!!(n.name||n.components&&Object.keys(n.components).length||n.redirect)}function useLink(n){const t=inject(routerKey),r=inject(routeLocationKey),i=computed(()=>{const ie=unref(n.to);return t.resolve(ie)}),g=computed(()=>{const{matched:ie}=i.value,{length:ae}=ie,oe=ie[ae-1],le=r.matched;if(!oe||!le.length)return-1;const ue=le.findIndex(isSameRouteRecord.bind(null,oe));if(ue>-1)return ue;const de=getOriginalPath(ie[ae-2]);return ae>1&&getOriginalPath(oe)===de&&le[le.length-1].path!==de?le.findIndex(isSameRouteRecord.bind(null,ie[ae-2])):ue}),$=computed(()=>g.value>-1&&includesParams(r.params,i.value.params)),V=computed(()=>g.value>-1&&g.value===r.matched.length-1&&isSameRouteLocationParams(r.params,i.value.params));function re(ie={}){if(guardEvent(ie)){const ae=t[unref(n.replace)?"replace":"push"](unref(n.to)).catch(noop$2);return n.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>ae),ae}return Promise.resolve()}return{route:i,href:computed(()=>i.value.href),isActive:$,isExactActive:V,navigate:re}}function preferSingleVNode(n){return n.length===1?n[0]:n}const RouterLinkImpl=defineComponent({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,setup(n,{slots:t}){const r=reactive(useLink(n)),{options:i}=inject(routerKey),g=computed(()=>({[getLinkClass(n.activeClass,i.linkActiveClass,"router-link-active")]:r.isActive,[getLinkClass(n.exactActiveClass,i.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const $=t.default&&preferSingleVNode(t.default(r));return n.custom?$:h$1("a",{"aria-current":r.isExactActive?n.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:g.value},$)}}}),RouterLink=RouterLinkImpl;function guardEvent(n){if(!(n.metaKey||n.altKey||n.ctrlKey||n.shiftKey)&&!n.defaultPrevented&&!(n.button!==void 0&&n.button!==0)){if(n.currentTarget&&n.currentTarget.getAttribute){const t=n.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return n.preventDefault&&n.preventDefault(),!0}}function includesParams(n,t){for(const r in t){const i=t[r],g=n[r];if(typeof i=="string"){if(i!==g)return!1}else if(!isArray$2(g)||g.length!==i.length||i.some(($,V)=>$.valueOf()!==g[V].valueOf()))return!1}return!0}function getOriginalPath(n){return n?n.aliasOf?n.aliasOf.path:n.path:""}const getLinkClass=(n,t,r)=>n??t??r,RouterViewImpl=defineComponent({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(n,{attrs:t,slots:r}){const i=inject(routerViewLocationKey),g=computed(()=>n.route||i.value),$=inject(viewDepthKey,0),V=computed(()=>{let ae=unref($);const{matched:oe}=g.value;let le;for(;(le=oe[ae])&&!le.components;)ae++;return ae}),re=computed(()=>g.value.matched[V.value]);provide(viewDepthKey,computed(()=>V.value+1)),provide(matchedRouteKey,re),provide(routerViewLocationKey,g);const ie=ref();return watch(()=>[ie.value,re.value,n.name],([ae,oe,le],[ue,de,he])=>{oe&&(oe.instances[le]=ae,de&&de!==oe&&ae&&ae===ue&&(oe.leaveGuards.size||(oe.leaveGuards=de.leaveGuards),oe.updateGuards.size||(oe.updateGuards=de.updateGuards))),ae&&oe&&(!de||!isSameRouteRecord(oe,de)||!ue)&&(oe.enterCallbacks[le]||[]).forEach(pe=>pe(ae))},{flush:"post"}),()=>{const ae=g.value,oe=n.name,le=re.value,ue=le&&le.components[oe];if(!ue)return normalizeSlot(r.default,{Component:ue,route:ae});const de=le.props[oe],he=de?de===!0?ae.params:typeof de=="function"?de(ae):de:null,_e=h$1(ue,assign({},he,t,{onVnodeUnmounted:Ce=>{Ce.component.isUnmounted&&(le.instances[oe]=null)},ref:ie}));return normalizeSlot(r.default,{Component:_e,route:ae})||_e}}});function normalizeSlot(n,t){if(!n)return null;const r=n(t);return r.length===1?r[0]:r}const RouterView=RouterViewImpl;function createRouter(n){const t=createRouterMatcher(n.routes,n),r=n.parseQuery||parseQuery,i=n.stringifyQuery||stringifyQuery,g=n.history,$=useCallbacks(),V=useCallbacks(),re=useCallbacks(),ie=shallowRef(START_LOCATION_NORMALIZED);let ae=START_LOCATION_NORMALIZED;isBrowser&&n.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const oe=applyToParams.bind(null,En=>""+En),le=applyToParams.bind(null,encodeParam),ue=applyToParams.bind(null,decode);function de(En,kn){let $n,An;return isRouteName(En)?($n=t.getRecordMatcher(En),An=kn):An=En,t.addRoute(An,$n)}function he(En){const kn=t.getRecordMatcher(En);kn&&t.removeRoute(kn)}function pe(){return t.getRoutes().map(En=>En.record)}function _e(En){return!!t.getRecordMatcher(En)}function Ce(En,kn){if(kn=assign({},kn||ie.value),typeof En=="string"){const Pn=parseURL(r,En,kn.path),On=t.resolve({path:Pn.path},kn),Hn=g.createHref(Pn.fullPath);return assign(Pn,On,{params:ue(On.params),hash:decode(Pn.hash),redirectedFrom:void 0,href:Hn})}let $n;if(En.path!=null)$n=assign({},En,{path:parseURL(r,En.path,kn.path).path});else{const Pn=assign({},En.params);for(const On in Pn)Pn[On]==null&&delete Pn[On];$n=assign({},En,{params:le(Pn)}),kn.params=le(kn.params)}const An=t.resolve($n,kn),xn=En.hash||"";An.params=oe(ue(An.params));const Ln=stringifyURL(i,assign({},En,{hash:encodeHash(xn),path:An.path})),Nn=g.createHref(Ln);return assign({fullPath:Ln,hash:xn,query:i===stringifyQuery?normalizeQuery(En.query):En.query||{}},An,{redirectedFrom:void 0,href:Nn})}function xe(En){return typeof En=="string"?parseURL(r,En,ie.value.path):assign({},En)}function Ie(En,kn){if(ae!==En)return createRouterError(ErrorTypes.NAVIGATION_CANCELLED,{from:kn,to:En})}function Ne(En){return Ve(En)}function Oe(En){return Ne(assign(xe(En),{replace:!0}))}function $e(En,kn){const $n=En.matched[En.matched.length-1];if($n&&$n.redirect){const{redirect:An}=$n;let xn=typeof An=="function"?An(En,kn):An;return typeof xn=="string"&&(xn=xn.includes("?")||xn.includes("#")?xn=xe(xn):{path:xn},xn.params={}),assign({query:En.query,hash:En.hash,params:xn.path!=null?{}:En.params},xn)}}function Ve(En,kn){const $n=ae=Ce(En),An=ie.value,xn=En.state,Ln=En.force,Nn=En.replace===!0,Pn=$e($n,An);if(Pn)return Ve(assign(xe(Pn),{state:typeof Pn=="object"?assign({},xn,Pn.state):xn,force:Ln,replace:Nn}),kn||$n);const On=$n;On.redirectedFrom=kn;let Hn;return!Ln&&isSameRouteLocation(i,An,$n)&&(Hn=createRouterError(ErrorTypes.NAVIGATION_DUPLICATED,{to:On,from:An}),_n(An,An,!0,!1)),(Hn?Promise.resolve(Hn):ze(On,An)).catch(Xn=>isNavigationFailure(Xn)?isNavigationFailure(Xn,ErrorTypes.NAVIGATION_GUARD_REDIRECT)?Xn:vn(Xn):jt(Xn,On,An)).then(Xn=>{if(Xn){if(isNavigationFailure(Xn,ErrorTypes.NAVIGATION_GUARD_REDIRECT))return Ve(assign({replace:Nn},xe(Xn.to),{state:typeof Xn.to=="object"?assign({},xn,Xn.to.state):xn,force:Ln}),kn||On)}else Xn=qe(On,An,!0,Nn,xn);return Pt(On,An,Xn),Xn})}function Ue(En,kn){const $n=Ie(En,kn);return $n?Promise.reject($n):Promise.resolve()}function Fe(En){const kn=Cn.values().next().value;return kn&&typeof kn.runWithContext=="function"?kn.runWithContext(En):En()}function ze(En,kn){let $n;const[An,xn,Ln]=extractChangingRecords(En,kn);$n=extractComponentsGuards(An.reverse(),"beforeRouteLeave",En,kn);for(const Pn of An)Pn.leaveGuards.forEach(On=>{$n.push(guardToPromiseFn(On,En,kn))});const Nn=Ue.bind(null,En,kn);return $n.push(Nn),Tn($n).then(()=>{$n=[];for(const Pn of $.list())$n.push(guardToPromiseFn(Pn,En,kn));return $n.push(Nn),Tn($n)}).then(()=>{$n=extractComponentsGuards(xn,"beforeRouteUpdate",En,kn);for(const Pn of xn)Pn.updateGuards.forEach(On=>{$n.push(guardToPromiseFn(On,En,kn))});return $n.push(Nn),Tn($n)}).then(()=>{$n=[];for(const Pn of Ln)if(Pn.beforeEnter)if(isArray$2(Pn.beforeEnter))for(const On of Pn.beforeEnter)$n.push(guardToPromiseFn(On,En,kn));else $n.push(guardToPromiseFn(Pn.beforeEnter,En,kn));return $n.push(Nn),Tn($n)}).then(()=>(En.matched.forEach(Pn=>Pn.enterCallbacks={}),$n=extractComponentsGuards(Ln,"beforeRouteEnter",En,kn,Fe),$n.push(Nn),Tn($n))).then(()=>{$n=[];for(const Pn of V.list())$n.push(guardToPromiseFn(Pn,En,kn));return $n.push(Nn),Tn($n)}).catch(Pn=>isNavigationFailure(Pn,ErrorTypes.NAVIGATION_CANCELLED)?Pn:Promise.reject(Pn))}function Pt(En,kn,$n){re.list().forEach(An=>Fe(()=>An(En,kn,$n)))}function qe(En,kn,$n,An,xn){const Ln=Ie(En,kn);if(Ln)return Ln;const Nn=kn===START_LOCATION_NORMALIZED,Pn=isBrowser?history.state:{};$n&&(An||Nn?g.replace(En.fullPath,assign({scroll:Nn&&Pn&&Pn.scroll},xn)):g.push(En.fullPath,xn)),ie.value=En,_n(En,kn,$n,Nn),vn()}let Et;function kt(){Et||(Et=g.listen((En,kn,$n)=>{if(!Sn.listening)return;const An=Ce(En),xn=$e(An,Sn.currentRoute.value);if(xn){Ve(assign(xn,{replace:!0,force:!0}),An).catch(noop$2);return}ae=An;const Ln=ie.value;isBrowser&&saveScrollPosition(getScrollKey(Ln.fullPath,$n.delta),computeScrollPosition()),ze(An,Ln).catch(Nn=>isNavigationFailure(Nn,ErrorTypes.NAVIGATION_ABORTED|ErrorTypes.NAVIGATION_CANCELLED)?Nn:isNavigationFailure(Nn,ErrorTypes.NAVIGATION_GUARD_REDIRECT)?(Ve(assign(xe(Nn.to),{force:!0}),An).then(Pn=>{isNavigationFailure(Pn,ErrorTypes.NAVIGATION_ABORTED|ErrorTypes.NAVIGATION_DUPLICATED)&&!$n.delta&&$n.type===NavigationType.pop&&g.go(-1,!1)}).catch(noop$2),Promise.reject()):($n.delta&&g.go(-$n.delta,!1),jt(Nn,An,Ln))).then(Nn=>{Nn=Nn||qe(An,Ln,!1),Nn&&($n.delta&&!isNavigationFailure(Nn,ErrorTypes.NAVIGATION_CANCELLED)?g.go(-$n.delta,!1):$n.type===NavigationType.pop&&isNavigationFailure(Nn,ErrorTypes.NAVIGATION_ABORTED|ErrorTypes.NAVIGATION_DUPLICATED)&&g.go(-1,!1)),Pt(An,Ln,Nn)}).catch(noop$2)}))}let At=useCallbacks(),Dt=useCallbacks(),Lt;function jt(En,kn,$n){vn(En);const An=Dt.list();return An.length?An.forEach(xn=>xn(En,kn,$n)):console.error(En),Promise.reject(En)}function hn(){return Lt&&ie.value!==START_LOCATION_NORMALIZED?Promise.resolve():new Promise((En,kn)=>{At.add([En,kn])})}function vn(En){return Lt||(Lt=!En,kt(),At.list().forEach(([kn,$n])=>En?$n(En):kn()),At.reset()),En}function _n(En,kn,$n,An){const{scrollBehavior:xn}=n;if(!isBrowser||!xn)return Promise.resolve();const Ln=!$n&&getSavedScrollPosition(getScrollKey(En.fullPath,0))||(An||!$n)&&history.state&&history.state.scroll||null;return nextTick().then(()=>xn(En,kn,Ln)).then(Nn=>Nn&&scrollToPosition(Nn)).catch(Nn=>jt(Nn,En,kn))}const wn=En=>g.go(En);let bn;const Cn=new Set,Sn={currentRoute:ie,listening:!0,addRoute:de,removeRoute:he,clearRoutes:t.clearRoutes,hasRoute:_e,getRoutes:pe,resolve:Ce,options:n,push:Ne,replace:Oe,go:wn,back:()=>wn(-1),forward:()=>wn(1),beforeEach:$.add,beforeResolve:V.add,afterEach:re.add,onError:Dt.add,isReady:hn,install(En){En.component("RouterLink",RouterLink),En.component("RouterView",RouterView),En.config.globalProperties.$router=Sn,Object.defineProperty(En.config.globalProperties,"$route",{enumerable:!0,get:()=>unref(ie)}),isBrowser&&!bn&&ie.value===START_LOCATION_NORMALIZED&&(bn=!0,Ne(g.location).catch(An=>{}));const kn={};for(const An in START_LOCATION_NORMALIZED)Object.defineProperty(kn,An,{get:()=>ie.value[An],enumerable:!0});En.provide(routerKey,Sn),En.provide(routeLocationKey,shallowReactive(kn)),En.provide(routerViewLocationKey,ie);const $n=En.unmount;Cn.add(En),En.unmount=function(){Cn.delete(En),Cn.size<1&&(ae=START_LOCATION_NORMALIZED,Et&&Et(),Et=null,ie.value=START_LOCATION_NORMALIZED,bn=!1,Lt=!1),$n()}}};function Tn(En){return En.reduce((kn,$n)=>kn.then(()=>Fe($n)),Promise.resolve())}return Sn}function useRouter(){return inject(routerKey)}function useRoute(n){return inject(routeLocationKey)}const stairRouteNames=["homeOverview","fireControlIndex","securityIndex","monitoringIndex","environmentIndex","lightingIndex","waterSupplyIndex"],constantRoutes=[{path:"/",redirect:"/home",meta:{title:"编辑模式",hidden:!0,treeHidden:!0,bottomHidden:!0}},{path:"/edit",name:"edit",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"编辑模式",hidden:!0,treeHidden:!0,bottomHidden:!0}},{path:"/preview",name:"preview",component:()=>__vitePreload(()=>import("./index-00692901.js"),["assets/index-00692901.js","assets/index-fd059ba6.js","assets/index-868f5209.js","assets/index-22b0f6c3.css"]),meta:{title:"预览模式",hidden:!0,treeHidden:!0,bottomHidden:!0}},{path:"/test",name:"test",component:()=>__vitePreload(()=>import("./view_index-ed158ebd.js"),[]),meta:{title:"测试页面",hidden:!0,treeHidden:!0,bottomHidden:!0},children:[{path:"/test/overview",name:"testOverview",component:()=>__vitePreload(()=>import("./index-a46c5f9d.js"),[]),meta:{title:"测试页面",hidden:!0,treeHidden:!0,bottomHidden:!0}}]},{path:"/home",name:"home",component:()=>__vitePreload(()=>import("./view_index-ed158ebd.js"),[]),meta:{title:"全站总览项目",hidden:!1,treeHidden:!1,bottomHidden:!1},children:[{path:"/home/overview",name:"homeOverview",component:()=>__vitePreload(()=>import("./overview-dc287791.js"),["assets/overview-dc287791.js","assets/index-fd059ba6.js","assets/index-868f5209.js","assets/overview-22717ad9.css"]),meta:{title:"全站总览",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Connection"}},{path:"/home/globalMessage",name:"homeGlobalMessage",component:()=>__vitePreload(()=>import("./globalMessage-c4d3facd.js"),["assets/globalMessage-c4d3facd.js","assets/index-fd059ba6.js","assets/index-868f5209.js","assets/globalMessage-6b7e4986.css"]),meta:{title:"全站报文",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Connection"}},{path:"/home/exceedMessage",name:"homeExceedMessage",component:()=>__vitePreload(()=>import("./homeOverrunMessage-0e75fc3b.js"),["assets/homeOverrunMessage-0e75fc3b.js","assets/index-fd059ba6.js","assets/index-868f5209.js","assets/homeOverrunMessage-ebd2f52c.css"]),meta:{title:"越权信息",hidden:!0,treeHidden:!1,bottomHidden:!0}},{path:"/home/exceptionFacility",name:"homeExceptionFacility",component:()=>__vitePreload(()=>import("./homeExceptionFacility-39dc115d.js"),["assets/homeExceptionFacility-39dc115d.js","assets/index-fd059ba6.js","assets/index-868f5209.js","assets/homeExceptionFacility-5fec4994.css"]),meta:{title:"异常设备",hidden:!0,treeHidden:!1,bottomHidden:!0}}]},{path:"/fireControl",name:"fireControl",component:()=>__vitePreload(()=>import("./view_index-ed158ebd.js"),[]),meta:{title:"消防系统项目",hidden:!1,treeHidden:!1,bottomHidden:!1},children:[{path:"/fireControl/index",name:"fireControlIndex",component:()=>__vitePreload(()=>import("./index-ffae1f79.js"),["assets/index-ffae1f79.js","assets/index-fd059ba6.js","assets/index-868f5209.js","assets/index-6e6b3d7b.css"]),meta:{title:"消防系统",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Discount"}},{path:"/fireControl/alarm",name:"fireControlAlarm",meta:{title:"火警报警项目",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Bell"},children:[{path:"/fireControl/alarm/index",name:"fireControlAlarmIndex",component:()=>__vitePreload(()=>import("./index-5f239c23.js"),["assets/index-5f239c23.js","assets/index-fd059ba6.js","assets/index-868f5209.js","assets/index-f45bda72.css"]),meta:{title:"火灾报警",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Bell"}},{path:"/fireControl/alarm/host",name:"fireControlAlarmHost",component:()=>__vitePreload(()=>import("./host-60fa1e0a.js"),["assets/host-60fa1e0a.js","assets/index-fd059ba6.js","assets/index-868f5209.js","assets/host-bce9ed75.css"]),meta:{title:"火灾报警主机",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Crop"}},{path:"/fireControl/alarm/floor",name:"fireControlAlarmFloor",component:()=>__vitePreload(()=>import("./floor-e48b0d0d.js"),["assets/floor-e48b0d0d.js","assets/index-fd059ba6.js","assets/index-868f5209.js","assets/floor-9dacccdc.css"]),meta:{title:"生产综合楼 1 楼",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"OfficeBuilding"}}]},{path:"/fireControl/transformer",name:"fireControlTransformer",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"变压器排油注氮灭火项目",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"MagicStick"},children:[{path:"/fireControl/transformer/index",name:"fireControlTransformerIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"变压器排油注氮灭火",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"MagicStick"}},{path:"/fireFighting/transformer/host",name:"fireFightingTransformerHost",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"主机",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Monitor"}},{path:"/fireFighting/transformer/floor",name:"fireFightingTransformerFloor",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"2 号主变排油注氮灭火",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Brush"}}]},{path:"/fireFighting/fireCock",name:"fireFightingFireCock",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"消火栓系统",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Place"}},{path:"/fireFighting/configuration",name:"fireFightingConfiguration",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"灭火器配置",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Files"}},{path:"/fireFighting/indicate",name:"fireFightingIndicator",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"消防应急照明及疏散指示系统",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Sunset"}}]},{path:"/security",name:"security",meta:{title:"安全防范项目",hidden:!1,treeHidden:!1,bottomHidden:!1},children:[{path:"/security/index",name:"securityIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"安全防范",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"CircleCheck"}},{path:"/security/perimeter",name:"securityPerimeter",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"变电站周界",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Money"}},{path:"/security/infrared",name:"securityInfrared",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"室内红外双鉴",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"SetUp"}},{path:"/security/accessControl",name:"accessControl",meta:{title:"门禁控制项目",hidden:!1,treeHidden:!1,bottomHidden:!1},children:[{path:"/security/accessControl/index",name:"securityAccessControlIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"门禁控制",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Refrigerator"}},{path:"/security/accessControl/controller",name:"productionBuildingFirstController",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"生产综合楼一楼门禁控制器 项目",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"OfficeBuilding"}}]},{path:"/security/accessRecords",name:"accessRecords",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"门禁记录",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Document"}}]},{path:"/monitoring",name:"monitoring",meta:{title:"在线监测项目",hidden:!1,treeHidden:!1,bottomHidden:!1},children:[{path:"/monitoring/index",name:"monitoringIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"在线监测",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Notebook"}},{path:"/monitoring/oilChromatography",name:"oilChromatographyOnline",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"油色谱在线监测项目",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Postcard"},children:[{path:"/monitoring/oilChromatography/index",name:"oilChromatographyIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"油色谱在线监测",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Postcard"}},{path:"/monitoring/oilChromatography/no2",name:"no2MainTransformerOilChromatography",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"2 号主变油色谱",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"CollectionTag"}}]},{path:"/monitoring/partialDischarge",name:"mainTransformerPartialDischarge",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"主变局放在线监测项目",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Reading"},children:[{path:"/monitoring/partialDischarge/index",name:"monitoringPartialDischargeIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"主变局放在线监测",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Filter"}},{path:"/monitoring/partialDischarge/no2",name:"no2MainTransformerPartialDischarge",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"2 号主变局放",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"CollectionTag"}}]},{path:"/monitoring/gisDischarge",name:"gisPartialDischarge",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"GIS局放在线监测项目",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"PieChart"},children:[{path:"/monitoring/gisDischarge/index",name:"gisPartialDischargeIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"GIS局放在线监测",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Coin"}},{path:"/monitoring/gisDischarge/switch2215",name:"switch2215Interval",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"2215 开关间隔",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"CollectionTag"}}]},{path:"/monitoring/arrester",name:"arresterMonitoring",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"避雷器在线监测项目",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Lightning"},children:[{path:"/monitoring/arrester/index",name:"arresterMonitoringIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"避雷器在线监测",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Lightning"}},{path:"/monitoring/arrester/220kv",name:"arrester220kvMonitoring",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"220kV 避雷器在线监测",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"CollectionTag"}}]},{path:"/monitoring/sf6Pressure",name:"gisSf6Pressure",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"GIS气室SF6 压力监测项目",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"ChatSquare"},children:[{path:"/monitoring/sf6Pressure/index",name:"gisSf6PressureIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"GIS气室SF6 压力监测",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Finished"}},{path:"/monitoring/sf6Pressure/interval2245",name:"interval2245",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"2245 甲母联间隔",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"CollectionTag"}}]},{path:"/monitoring/sf6Leakage",name:"sf6Leakage",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"室内SF6 气体泄露监测",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Film"}}]},{path:"/environment",name:"environment",meta:{title:"环境监控项目",hidden:!1,treeHidden:!1,bottomHidden:!1},children:[{path:"/environment/index",name:"environmentIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"环境监控",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"MagicStick"}},{path:"/environment/weather",name:"substationWeather",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"站区气象监测",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Cloudy"}},{path:"/environment/acHeating",name:"buildingAcHeating",meta:{title:"生产综合楼空调暖通项目",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Sunrise"},children:[{path:"/environment/acHeating/index",name:"buildingAcHeatingIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"生产综合楼空调暖通",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Sunrise"}},{path:"/environment/acHeating/building",name:"productionBuilding",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"生产综合楼",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"OfficeBuilding"}}]},{path:"/environment/threshold",name:"thresholdSetting",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"阈值设置",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Operation"}}]},{path:"/lighting",name:"lighting",meta:{title:"照明控制项目",hidden:!1,treeHidden:!1,bottomHidden:!1},children:[{path:"/lighting/index",name:"lightingIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"照明控制",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Sunny"}},{path:"/lighting/acHeating",name:"buildingLightingAcHeating",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"生产综合楼1楼空调暖通",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Sunset"}},{path:"/lighting/linkage",name:"linkageConfiguration",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"联动配置",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Operation"}}]},{path:"/waterSupply",name:"waterSupply",meta:{title:"给排水系统项目",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Operation"},children:[{path:"/waterSupply/index",name:"waterSupplyIndex",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"给排水系统",hidden:!0,treeHidden:!1,bottomHidden:!0,menuIcon:"Pouring"}},{path:"/waterSupply/waterSupply",name:"waterSupplySystem",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"给水系统",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Place"}},{path:"/waterSupply/drainage",name:"drainageSystem",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"排水系统",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"MapLocation"}},{path:"/waterSupply/threshold",name:"waterThresholdSetting",component:()=>__vitePreload(()=>import("./index-bf960468.js"),["assets/index-bf960468.js","assets/index-fd059ba6.js","assets/index-05e1f753.css"]),meta:{title:"阈值设置",hidden:!1,treeHidden:!1,bottomHidden:!1,menuIcon:"Setting"}}]}],getBasePath=()=>"/webVue/",router=createRouter({history:createWebHistory(getBasePath()),routes:constantRoutes}),index_vue_vue_type_style_index_0_scoped_593f0dd0_lang="",index_vue_vue_type_style_index_0_scoped_464d64c1_lang="",menuDoCreateMenu_vue_vue_type_style_index_0_scoped_e2fcc64d_lang="",view_index_vue_vue_type_style_index_0_scoped_65c426ec_lang="";var zhCn={name:"zh-cn",el:{breadcrumb:{label:"面包屑"},colorpicker:{confirm:"确定",clear:"清空",defaultLabel:"颜色选择器",description:"当前颜色 {color},按 Enter 键选择新颜色",alphaLabel:"选择透明度的值",alphaDescription:"透明度 {alpha}, 当前颜色 {color}",hueLabel:"选择色相值",hueDescription:"色相 {hue}, 当前颜色 {color}",svLabel:"选择饱和度与明度的值",svDescription:"饱和度 {saturation}, 明度 {brightness}, 当前颜色 {color}",predefineDescription:"选择 {value} 作为颜色"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",dateTablePrompt:"使用方向键与 Enter 键可选择日期",monthTablePrompt:"使用方向键与 Enter 键可选择月份",yearTablePrompt:"使用方向键与 Enter 键可选择年份",selectedDate:"已选日期",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},weeksFull:{sun:"星期日",mon:"星期一",tue:"星期二",wed:"星期三",thu:"星期四",fri:"星期五",sat:"星期六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},inputNumber:{decrease:"减少数值",increase:"增加数值"},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},mention:{loading:"加载中"},dropdown:{toggleDropdown:"切换下拉选项"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择",noData:"暂无数据"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页",page:"页",prev:"上一页",next:"下一页",currentPage:"第 {pager} 页",prevPages:"向前 {pager} 页",nextPages:"向后 {pager} 页",deprecationWarning:"你使用了一些已被废弃的用法,请参考 el-pagination 的官方文档"},dialog:{close:"关闭此对话框"},drawer:{close:"关闭此对话框"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!",close:"关闭此对话框"},upload:{deleteTip:"按 Delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},slider:{defaultLabel:"滑块介于 {min} 至 {max}",defaultRangeStartLabel:"选择起始值",defaultRangeEndLabel:"选择结束值"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计",selectAllLabel:"选择所有行",selectRowLabel:"选择当前行",expandRowLabel:"展开当前行",collapseRowLabel:"收起当前行",sortLabel:"按 {column} 排序",filterLabel:"按 {column} 过滤"},tag:{close:"关闭此标签"},tour:{next:"下一步",previous:"上一步",finish:"结束导览",close:"关闭此对话框"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"},image:{error:"加载失败"},pageHeader:{title:"返回"},popconfirm:{confirmButtonText:"确定",cancelButtonText:"取消"},carousel:{leftArrow:"上一张幻灯片",rightArrow:"下一张幻灯片",indicator:"幻灯片切换至索引 {index}"}}};const _hoisted_1$o={style:{width:"100%",height:"100%"}},_hoisted_2$i={class:"my-button",style:{width:"100%",height:"100%"}},_sfc_main$u=defineComponent({__name:"my-test",props:{modelValue:String,fontFamily:String,testColor:String},setup(n){useCssVars(r=>({dbbe2a92:t.testColor,v1d98508d:t.fontFamily}));const t=n;return(r,i)=>(openBlock(),createElementBlock("div",_hoisted_1$o,[createBaseVNode("h2",_hoisted_2$i,toDisplayString(t.modelValue),1)]))}}),myTest_vue_vue_type_style_index_0_scoped_b19a711f_lang="",VueMyTest=_export_sfc$1(_sfc_main$u,[["__scopeId","data-v-b19a711f"]]),_hoisted_1$n={style:{width:"100%",height:"100%"}},_hoisted_2$h={class:"my-button",style:{width:"100%",height:"100%"}},_sfc_main$t=defineComponent({__name:"my-button",props:{text:String,bgColor:String,fontFamily:String},setup(n){useCssVars(r=>({be8de75e:t.bgColor,v2b3d1580:t.fontFamily}));const t=n;return(r,i)=>(openBlock(),createElementBlock("div",_hoisted_1$n,[createBaseVNode("button",_hoisted_2$h,toDisplayString(t.text),1)]))}}),myButton_vue_vue_type_style_index_0_scoped_305961da_lang="",VueMyButton=_export_sfc$1(_sfc_main$t,[["__scopeId","data-v-305961da"]]),_hoisted_1$m={class:"slider-demo-block"},_hoisted_2$g={class:"slider-demo-block"},_hoisted_3$7={class:"slider-demo-block"},_hoisted_4$5={class:"slider-demo-block"},_sfc_main$s=defineComponent({__name:"vue-instrument",props:{temperatureVal:{type:Number,default:12},humidityVal:{type:Number,default:12},windVal:{type:Number,default:12},rainVal:{type:Number,default:12}},setup(n){const t=n;let{temperatureVal:r,humidityVal:i,windVal:g,rainVal:$}=toRefs(t);const V=oe=>oe+" ℃",re=oe=>oe+" %RH",ie=oe=>oe/10+" m/s",ae=oe=>oe+" mm";return(oe,le)=>{const ue=resolveComponent("el-slider");return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",_hoisted_1$m,[le[4]||(le[4]=createBaseVNode("span",{class:"demonstration"},"温度",-1)),createVNode$1(ue,{modelValue:unref(r),"onUpdate:modelValue":le[0]||(le[0]=de=>isRef(r)?r.value=de:r=de),"format-tooltip":V,disabled:""},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_2$g,[le[5]||(le[5]=createBaseVNode("span",{class:"demonstration"},"湿度",-1)),createVNode$1(ue,{modelValue:unref(i),"onUpdate:modelValue":le[1]||(le[1]=de=>isRef(i)?i.value=de:i=de),"format-tooltip":re,disabled:""},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_3$7,[le[6]||(le[6]=createBaseVNode("span",{class:"demonstration"},"风力",-1)),createVNode$1(ue,{modelValue:unref(g),"onUpdate:modelValue":le[2]||(le[2]=de=>isRef(g)?g.value=de:g=de),"format-tooltip":ie,disabled:""},null,8,["modelValue"])]),createBaseVNode("div",_hoisted_4$5,[le[7]||(le[7]=createBaseVNode("span",{class:"demonstration"},"雨量",-1)),createVNode$1(ue,{modelValue:unref($),"onUpdate:modelValue":le[3]||(le[3]=de=>isRef($)?$.value=de:$=de),"format-tooltip":ae,disabled:""},null,8,["modelValue"])])],64)}}}),vueInstrument_vue_vue_type_style_index_0_scoped_2a7a3518_lang="",vueInstrument=_export_sfc$1(_sfc_main$s,[["__scopeId","data-v-2a7a3518"]]);function bind$2(n,t){return function(){return n.apply(t,arguments)}}const{toString}=Object.prototype,{getPrototypeOf}=Object,{iterator:iterator$1,toStringTag}=Symbol,kindOf=(n=>t=>{const r=toString.call(t);return n[r]||(n[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),kindOfTest=n=>(n=n.toLowerCase(),t=>kindOf(t)===n),typeOfTest=n=>t=>typeof t===n,{isArray:isArray$1}=Array,isUndefined=typeOfTest("undefined");function isBuffer(n){return n!==null&&!isUndefined(n)&&n.constructor!==null&&!isUndefined(n.constructor)&&isFunction$2(n.constructor.isBuffer)&&n.constructor.isBuffer(n)}const isArrayBuffer=kindOfTest("ArrayBuffer");function isArrayBufferView(n){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(n):t=n&&n.buffer&&isArrayBuffer(n.buffer),t}const isString$1=typeOfTest("string"),isFunction$2=typeOfTest("function"),isNumber$1=typeOfTest("number"),isObject$3=n=>n!==null&&typeof n=="object",isBoolean=n=>n===!0||n===!1,isPlainObject=n=>{if(kindOf(n)!=="object")return!1;const t=getPrototypeOf(n);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(toStringTag in n)&&!(iterator$1 in n)},isEmptyObject=n=>{if(!isObject$3(n)||isBuffer(n))return!1;try{return Object.keys(n).length===0&&Object.getPrototypeOf(n)===Object.prototype}catch{return!1}},isDate=kindOfTest("Date"),isFile=kindOfTest("File"),isBlob=kindOfTest("Blob"),isFileList=kindOfTest("FileList"),isStream=n=>isObject$3(n)&&isFunction$2(n.pipe),isFormData=n=>{let t;return n&&(typeof FormData=="function"&&n instanceof FormData||isFunction$2(n.append)&&((t=kindOf(n))==="formdata"||t==="object"&&isFunction$2(n.toString)&&n.toString()==="[object FormData]"))},isURLSearchParams=kindOfTest("URLSearchParams"),[isReadableStream,isRequest,isResponse,isHeaders]=["ReadableStream","Request","Response","Headers"].map(kindOfTest),trim$1=n=>n.trim?n.trim():n.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function forEach(n,t,{allOwnKeys:r=!1}={}){if(n===null||typeof n>"u")return;let i,g;if(typeof n!="object"&&(n=[n]),isArray$1(n))for(i=0,g=n.length;i0;)if(g=r[i],t===g.toLowerCase())return g;return null}const _global=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),isContextDefined=n=>!isUndefined(n)&&n!==_global;function merge$1(){const{caseless:n,skipUndefined:t}=isContextDefined(this)&&this||{},r={},i=(g,$)=>{const V=n&&findKey(r,$)||$;isPlainObject(r[V])&&isPlainObject(g)?r[V]=merge$1(r[V],g):isPlainObject(g)?r[V]=merge$1({},g):isArray$1(g)?r[V]=g.slice():(!t||!isUndefined(g))&&(r[V]=g)};for(let g=0,$=arguments.length;g<$;g++)arguments[g]&&forEach(arguments[g],i);return r}const extend$1=(n,t,r,{allOwnKeys:i}={})=>(forEach(t,(g,$)=>{r&&isFunction$2(g)?n[$]=bind$2(g,r):n[$]=g},{allOwnKeys:i}),n),stripBOM=n=>(n.charCodeAt(0)===65279&&(n=n.slice(1)),n),inherits$1=(n,t,r,i)=>{n.prototype=Object.create(t.prototype,i),n.prototype.constructor=n,Object.defineProperty(n,"super",{value:t.prototype}),r&&Object.assign(n.prototype,r)},toFlatObject=(n,t,r,i)=>{let g,$,V;const re={};if(t=t||{},n==null)return t;do{for(g=Object.getOwnPropertyNames(n),$=g.length;$-- >0;)V=g[$],(!i||i(V,n,t))&&!re[V]&&(t[V]=n[V],re[V]=!0);n=r!==!1&&getPrototypeOf(n)}while(n&&(!r||r(n,t))&&n!==Object.prototype);return t},endsWith=(n,t,r)=>{n=String(n),(r===void 0||r>n.length)&&(r=n.length),r-=t.length;const i=n.indexOf(t,r);return i!==-1&&i===r},toArray$1=n=>{if(!n)return null;if(isArray$1(n))return n;let t=n.length;if(!isNumber$1(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=n[t];return r},isTypedArray$2=(n=>t=>n&&t instanceof n)(typeof Uint8Array<"u"&&getPrototypeOf(Uint8Array)),forEachEntry=(n,t)=>{const i=(n&&n[iterator$1]).call(n);let g;for(;(g=i.next())&&!g.done;){const $=g.value;t.call(n,$[0],$[1])}},matchAll=(n,t)=>{let r;const i=[];for(;(r=n.exec(t))!==null;)i.push(r);return i},isHTMLForm=kindOfTest("HTMLFormElement"),toCamelCase$1=n=>n.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,i,g){return i.toUpperCase()+g}),hasOwnProperty=(({hasOwnProperty:n})=>(t,r)=>n.call(t,r))(Object.prototype),isRegExp=kindOfTest("RegExp"),reduceDescriptors=(n,t)=>{const r=Object.getOwnPropertyDescriptors(n),i={};forEach(r,(g,$)=>{let V;(V=t(g,$,n))!==!1&&(i[$]=V||g)}),Object.defineProperties(n,i)},freezeMethods=n=>{reduceDescriptors(n,(t,r)=>{if(isFunction$2(n)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const i=n[r];if(isFunction$2(i)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},toObjectSet=(n,t)=>{const r={},i=g=>{g.forEach($=>{r[$]=!0})};return isArray$1(n)?i(n):i(String(n).split(t)),r},noop$1=()=>{},toFiniteNumber=(n,t)=>n!=null&&Number.isFinite(n=+n)?n:t;function isSpecCompliantForm(n){return!!(n&&isFunction$2(n.append)&&n[toStringTag]==="FormData"&&n[iterator$1])}const toJSONObject=n=>{const t=new Array(10),r=(i,g)=>{if(isObject$3(i)){if(t.indexOf(i)>=0)return;if(isBuffer(i))return i;if(!("toJSON"in i)){t[g]=i;const $=isArray$1(i)?[]:{};return forEach(i,(V,re)=>{const ie=r(V,g+1);!isUndefined(ie)&&($[re]=ie)}),t[g]=void 0,$}}return i};return r(n,0)},isAsyncFn=kindOfTest("AsyncFunction"),isThenable=n=>n&&(isObject$3(n)||isFunction$2(n))&&isFunction$2(n.then)&&isFunction$2(n.catch),_setImmediate=((n,t)=>n?setImmediate:t?((r,i)=>(_global.addEventListener("message",({source:g,data:$})=>{g===_global&&$===r&&i.length&&i.shift()()},!1),g=>{i.push(g),_global.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",isFunction$2(_global.postMessage)),asap=typeof queueMicrotask<"u"?queueMicrotask.bind(_global):typeof process<"u"&&process.nextTick||_setImmediate,isIterable=n=>n!=null&&isFunction$2(n[iterator$1]),utils$1={isArray:isArray$1,isArrayBuffer,isBuffer,isFormData,isArrayBufferView,isString:isString$1,isNumber:isNumber$1,isBoolean,isObject:isObject$3,isPlainObject,isEmptyObject,isReadableStream,isRequest,isResponse,isHeaders,isUndefined,isDate,isFile,isBlob,isRegExp,isFunction:isFunction$2,isStream,isURLSearchParams,isTypedArray:isTypedArray$2,isFileList,forEach,merge:merge$1,extend:extend$1,trim:trim$1,stripBOM,inherits:inherits$1,toFlatObject,kindOf,kindOfTest,endsWith,toArray:toArray$1,forEachEntry,matchAll,isHTMLForm,hasOwnProperty,hasOwnProp:hasOwnProperty,reduceDescriptors,freezeMethods,toObjectSet,toCamelCase:toCamelCase$1,noop:noop$1,toFiniteNumber,findKey,global:_global,isContextDefined,isSpecCompliantForm,toJSONObject,isAsyncFn,isThenable,setImmediate:_setImmediate,asap,isIterable};function AxiosError(n,t,r,i,g){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=n,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),i&&(this.request=i),g&&(this.response=g,this.status=g.status?g.status:null)}utils$1.inherits(AxiosError,Error,{toJSON:function n(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:utils$1.toJSONObject(this.config),code:this.code,status:this.status}}});const prototype$1=AxiosError.prototype,descriptors={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(n=>{descriptors[n]={value:n}});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype$1,"isAxiosError",{value:!0});AxiosError.from=(n,t,r,i,g,$)=>{const V=Object.create(prototype$1);utils$1.toFlatObject(n,V,function(oe){return oe!==Error.prototype},ae=>ae!=="isAxiosError");const re=n&&n.message?n.message:"Error",ie=t==null&&n?n.code:t;return AxiosError.call(V,re,ie,r,i,g),n&&V.cause==null&&Object.defineProperty(V,"cause",{value:n,configurable:!0}),V.name=n&&n.name||"Error",$&&Object.assign(V,$),V};const httpAdapter=null;function isVisitable(n){return utils$1.isPlainObject(n)||utils$1.isArray(n)}function removeBrackets(n){return utils$1.endsWith(n,"[]")?n.slice(0,-2):n}function renderKey(n,t,r){return n?n.concat(t).map(function(g,$){return g=removeBrackets(g),!r&&$?"["+g+"]":g}).join(r?".":""):t}function isFlatArray(n){return utils$1.isArray(n)&&!n.some(isVisitable)}const predicates=utils$1.toFlatObject(utils$1,{},null,function n(t){return/^is[A-Z]/.test(t)});function toFormData(n,t,r){if(!utils$1.isObject(n))throw new TypeError("target must be an object");t=t||new FormData,r=utils$1.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(pe,_e){return!utils$1.isUndefined(_e[pe])});const i=r.metaTokens,g=r.visitor||oe,$=r.dots,V=r.indexes,ie=(r.Blob||typeof Blob<"u"&&Blob)&&utils$1.isSpecCompliantForm(t);if(!utils$1.isFunction(g))throw new TypeError("visitor must be a function");function ae(he){if(he===null)return"";if(utils$1.isDate(he))return he.toISOString();if(utils$1.isBoolean(he))return he.toString();if(!ie&&utils$1.isBlob(he))throw new AxiosError("Blob is not supported. Use a Buffer instead.");return utils$1.isArrayBuffer(he)||utils$1.isTypedArray(he)?ie&&typeof Blob=="function"?new Blob([he]):Buffer.from(he):he}function oe(he,pe,_e){let Ce=he;if(he&&!_e&&typeof he=="object"){if(utils$1.endsWith(pe,"{}"))pe=i?pe:pe.slice(0,-2),he=JSON.stringify(he);else if(utils$1.isArray(he)&&isFlatArray(he)||(utils$1.isFileList(he)||utils$1.endsWith(pe,"[]"))&&(Ce=utils$1.toArray(he)))return pe=removeBrackets(pe),Ce.forEach(function(Ie,Ne){!(utils$1.isUndefined(Ie)||Ie===null)&&t.append(V===!0?renderKey([pe],Ne,$):V===null?pe:pe+"[]",ae(Ie))}),!1}return isVisitable(he)?!0:(t.append(renderKey(_e,pe,$),ae(he)),!1)}const le=[],ue=Object.assign(predicates,{defaultVisitor:oe,convertValue:ae,isVisitable});function de(he,pe){if(!utils$1.isUndefined(he)){if(le.indexOf(he)!==-1)throw Error("Circular reference detected in "+pe.join("."));le.push(he),utils$1.forEach(he,function(Ce,xe){(!(utils$1.isUndefined(Ce)||Ce===null)&&g.call(t,Ce,utils$1.isString(xe)?xe.trim():xe,pe,ue))===!0&&de(Ce,pe?pe.concat(xe):[xe])}),le.pop()}}if(!utils$1.isObject(n))throw new TypeError("data must be an object");return de(n),t}function encode$1(n){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g,function(i){return t[i]})}function AxiosURLSearchParams(n,t){this._pairs=[],n&&toFormData(n,this,t)}const prototype=AxiosURLSearchParams.prototype;prototype.append=function n(t,r){this._pairs.push([t,r])};prototype.toString=function n(t){const r=t?function(i){return t.call(this,i,encode$1)}:encode$1;return this._pairs.map(function(g){return r(g[0])+"="+r(g[1])},"").join("&")};function encode(n){return encodeURIComponent(n).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function buildURL(n,t,r){if(!t)return n;const i=r&&r.encode||encode;utils$1.isFunction(r)&&(r={serialize:r});const g=r&&r.serialize;let $;if(g?$=g(t,r):$=utils$1.isURLSearchParams(t)?t.toString():new AxiosURLSearchParams(t,r).toString(i),$){const V=n.indexOf("#");V!==-1&&(n=n.slice(0,V)),n+=(n.indexOf("?")===-1?"?":"&")+$}return n}class InterceptorManager{constructor(){this.handlers=[]}use(t,r,i){return this.handlers.push({fulfilled:t,rejected:r,synchronous:i?i.synchronous:!1,runWhen:i?i.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){utils$1.forEach(this.handlers,function(i){i!==null&&t(i)})}}const InterceptorManager$1=InterceptorManager,transitionalDefaults={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},URLSearchParams$1=typeof URLSearchParams<"u"?URLSearchParams:AxiosURLSearchParams,FormData$1=typeof FormData<"u"?FormData:null,Blob$1=typeof Blob<"u"?Blob:null,platform$2={isBrowser:!0,classes:{URLSearchParams:URLSearchParams$1,FormData:FormData$1,Blob:Blob$1},protocols:["http","https","file","blob","url","data"]},hasBrowserEnv=typeof window<"u"&&typeof document<"u",_navigator=typeof navigator=="object"&&navigator||void 0,hasStandardBrowserEnv=hasBrowserEnv&&(!_navigator||["ReactNative","NativeScript","NS"].indexOf(_navigator.product)<0),hasStandardBrowserWebWorkerEnv=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),origin=hasBrowserEnv&&window.location.href||"http://localhost",utils=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv,hasStandardBrowserEnv,hasStandardBrowserWebWorkerEnv,navigator:_navigator,origin},Symbol.toStringTag,{value:"Module"})),platform$1={...utils,...platform$2};function toURLEncodedForm(n,t){return toFormData(n,new platform$1.classes.URLSearchParams,{visitor:function(r,i,g,$){return platform$1.isNode&&utils$1.isBuffer(r)?(this.append(i,r.toString("base64")),!1):$.defaultVisitor.apply(this,arguments)},...t})}function parsePropPath(n){return utils$1.matchAll(/\w+|\[(\w*)]/g,n).map(t=>t[0]==="[]"?"":t[1]||t[0])}function arrayToObject(n){const t={},r=Object.keys(n);let i;const g=r.length;let $;for(i=0;i=r.length;return V=!V&&utils$1.isArray(g)?g.length:V,ie?(utils$1.hasOwnProp(g,V)?g[V]=[g[V],i]:g[V]=i,!re):((!g[V]||!utils$1.isObject(g[V]))&&(g[V]=[]),t(r,i,g[V],$)&&utils$1.isArray(g[V])&&(g[V]=arrayToObject(g[V])),!re)}if(utils$1.isFormData(n)&&utils$1.isFunction(n.entries)){const r={};return utils$1.forEachEntry(n,(i,g)=>{t(parsePropPath(i),g,r,0)}),r}return null}function stringifySafely(n,t,r){if(utils$1.isString(n))try{return(t||JSON.parse)(n),utils$1.trim(n)}catch(i){if(i.name!=="SyntaxError")throw i}return(r||JSON.stringify)(n)}const defaults$1={transitional:transitionalDefaults,adapter:["xhr","http","fetch"],transformRequest:[function n(t,r){const i=r.getContentType()||"",g=i.indexOf("application/json")>-1,$=utils$1.isObject(t);if($&&utils$1.isHTMLForm(t)&&(t=new FormData(t)),utils$1.isFormData(t))return g?JSON.stringify(formDataToJSON(t)):t;if(utils$1.isArrayBuffer(t)||utils$1.isBuffer(t)||utils$1.isStream(t)||utils$1.isFile(t)||utils$1.isBlob(t)||utils$1.isReadableStream(t))return t;if(utils$1.isArrayBufferView(t))return t.buffer;if(utils$1.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let re;if($){if(i.indexOf("application/x-www-form-urlencoded")>-1)return toURLEncodedForm(t,this.formSerializer).toString();if((re=utils$1.isFileList(t))||i.indexOf("multipart/form-data")>-1){const ie=this.env&&this.env.FormData;return toFormData(re?{"files[]":t}:t,ie&&new ie,this.formSerializer)}}return $||g?(r.setContentType("application/json",!1),stringifySafely(t)):t}],transformResponse:[function n(t){const r=this.transitional||defaults$1.transitional,i=r&&r.forcedJSONParsing,g=this.responseType==="json";if(utils$1.isResponse(t)||utils$1.isReadableStream(t))return t;if(t&&utils$1.isString(t)&&(i&&!this.responseType||g)){const V=!(r&&r.silentJSONParsing)&&g;try{return JSON.parse(t,this.parseReviver)}catch(re){if(V)throw re.name==="SyntaxError"?AxiosError.from(re,AxiosError.ERR_BAD_RESPONSE,this,null,this.response):re}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform$1.classes.FormData,Blob:platform$1.classes.Blob},validateStatus:function n(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};utils$1.forEach(["delete","get","head","post","put","patch"],n=>{defaults$1.headers[n]={}});const defaults$2=defaults$1,ignoreDuplicateOf=utils$1.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),parseHeaders=n=>{const t={};let r,i,g;return n&&n.split(` -`).forEach(function(V){g=V.indexOf(":"),r=V.substring(0,g).trim().toLowerCase(),i=V.substring(g+1).trim(),!(!r||t[r]&&ignoreDuplicateOf[r])&&(r==="set-cookie"?t[r]?t[r].push(i):t[r]=[i]:t[r]=t[r]?t[r]+", "+i:i)}),t},$internals=Symbol("internals");function normalizeHeader(n){return n&&String(n).trim().toLowerCase()}function normalizeValue(n){return n===!1||n==null?n:utils$1.isArray(n)?n.map(normalizeValue):String(n)}function parseTokens(n){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=r.exec(n);)t[i[1]]=i[2];return t}const isValidHeaderName=n=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(n.trim());function matchHeaderValue(n,t,r,i,g){if(utils$1.isFunction(i))return i.call(this,t,r);if(g&&(t=r),!!utils$1.isString(t)){if(utils$1.isString(i))return t.indexOf(i)!==-1;if(utils$1.isRegExp(i))return i.test(t)}}function formatHeader(n){return n.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,i)=>r.toUpperCase()+i)}function buildAccessors(n,t){const r=utils$1.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(n,i+r,{value:function(g,$,V){return this[i].call(this,t,g,$,V)},configurable:!0})})}class AxiosHeaders{constructor(t){t&&this.set(t)}set(t,r,i){const g=this;function $(re,ie,ae){const oe=normalizeHeader(ie);if(!oe)throw new Error("header name must be a non-empty string");const le=utils$1.findKey(g,oe);(!le||g[le]===void 0||ae===!0||ae===void 0&&g[le]!==!1)&&(g[le||ie]=normalizeValue(re))}const V=(re,ie)=>utils$1.forEach(re,(ae,oe)=>$(ae,oe,ie));if(utils$1.isPlainObject(t)||t instanceof this.constructor)V(t,r);else if(utils$1.isString(t)&&(t=t.trim())&&!isValidHeaderName(t))V(parseHeaders(t),r);else if(utils$1.isObject(t)&&utils$1.isIterable(t)){let re={},ie,ae;for(const oe of t){if(!utils$1.isArray(oe))throw TypeError("Object iterator must return a key-value pair");re[ae=oe[0]]=(ie=re[ae])?utils$1.isArray(ie)?[...ie,oe[1]]:[ie,oe[1]]:oe[1]}V(re,r)}else t!=null&&$(r,t,i);return this}get(t,r){if(t=normalizeHeader(t),t){const i=utils$1.findKey(this,t);if(i){const g=this[i];if(!r)return g;if(r===!0)return parseTokens(g);if(utils$1.isFunction(r))return r.call(this,g,i);if(utils$1.isRegExp(r))return r.exec(g);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=normalizeHeader(t),t){const i=utils$1.findKey(this,t);return!!(i&&this[i]!==void 0&&(!r||matchHeaderValue(this,this[i],i,r)))}return!1}delete(t,r){const i=this;let g=!1;function $(V){if(V=normalizeHeader(V),V){const re=utils$1.findKey(i,V);re&&(!r||matchHeaderValue(i,i[re],re,r))&&(delete i[re],g=!0)}}return utils$1.isArray(t)?t.forEach($):$(t),g}clear(t){const r=Object.keys(this);let i=r.length,g=!1;for(;i--;){const $=r[i];(!t||matchHeaderValue(this,this[$],$,t,!0))&&(delete this[$],g=!0)}return g}normalize(t){const r=this,i={};return utils$1.forEach(this,(g,$)=>{const V=utils$1.findKey(i,$);if(V){r[V]=normalizeValue(g),delete r[$];return}const re=t?formatHeader($):String($).trim();re!==$&&delete r[$],r[re]=normalizeValue(g),i[re]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return utils$1.forEach(this,(i,g)=>{i!=null&&i!==!1&&(r[g]=t&&utils$1.isArray(i)?i.join(", "):i)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(` -`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const i=new this(t);return r.forEach(g=>i.set(g)),i}static accessor(t){const i=(this[$internals]=this[$internals]={accessors:{}}).accessors,g=this.prototype;function $(V){const re=normalizeHeader(V);i[re]||(buildAccessors(g,V),i[re]=!0)}return utils$1.isArray(t)?t.forEach($):$(t),this}}AxiosHeaders.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);utils$1.reduceDescriptors(AxiosHeaders.prototype,({value:n},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>n,set(i){this[r]=i}}});utils$1.freezeMethods(AxiosHeaders);const AxiosHeaders$1=AxiosHeaders;function transformData(n,t){const r=this||defaults$2,i=t||r,g=AxiosHeaders$1.from(i.headers);let $=i.data;return utils$1.forEach(n,function(re){$=re.call(r,$,g.normalize(),t?t.status:void 0)}),g.normalize(),$}function isCancel(n){return!!(n&&n.__CANCEL__)}function CanceledError(n,t,r){AxiosError.call(this,n??"canceled",AxiosError.ERR_CANCELED,t,r),this.name="CanceledError"}utils$1.inherits(CanceledError,AxiosError,{__CANCEL__:!0});function settle(n,t,r){const i=r.config.validateStatus;!r.status||!i||i(r.status)?n(r):t(new AxiosError("Request failed with status code "+r.status,[AxiosError.ERR_BAD_REQUEST,AxiosError.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function parseProtocol(n){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(n);return t&&t[1]||""}function speedometer(n,t){n=n||10;const r=new Array(n),i=new Array(n);let g=0,$=0,V;return t=t!==void 0?t:1e3,function(ie){const ae=Date.now(),oe=i[$];V||(V=ae),r[g]=ie,i[g]=ae;let le=$,ue=0;for(;le!==g;)ue+=r[le++],le=le%n;if(g=(g+1)%n,g===$&&($=($+1)%n),ae-V{r=oe,g=null,$&&(clearTimeout($),$=null),n(...ae)};return[(...ae)=>{const oe=Date.now(),le=oe-r;le>=i?V(ae,oe):(g=ae,$||($=setTimeout(()=>{$=null,V(g)},i-le)))},()=>g&&V(g)]}const progressEventReducer=(n,t,r=3)=>{let i=0;const g=speedometer(50,250);return throttle$1($=>{const V=$.loaded,re=$.lengthComputable?$.total:void 0,ie=V-i,ae=g(ie),oe=V<=re;i=V;const le={loaded:V,total:re,progress:re?V/re:void 0,bytes:ie,rate:ae||void 0,estimated:ae&&re&&oe?(re-V)/ae:void 0,event:$,lengthComputable:re!=null,[t?"download":"upload"]:!0};n(le)},r)},progressEventDecorator=(n,t)=>{const r=n!=null;return[i=>t[0]({lengthComputable:r,total:n,loaded:i}),t[1]]},asyncDecorator=n=>(...t)=>utils$1.asap(()=>n(...t)),isURLSameOrigin=platform$1.hasStandardBrowserEnv?((n,t)=>r=>(r=new URL(r,platform$1.origin),n.protocol===r.protocol&&n.host===r.host&&(t||n.port===r.port)))(new URL(platform$1.origin),platform$1.navigator&&/(msie|trident)/i.test(platform$1.navigator.userAgent)):()=>!0,cookies=platform$1.hasStandardBrowserEnv?{write(n,t,r,i,g,$,V){if(typeof document>"u")return;const re=[`${n}=${encodeURIComponent(t)}`];utils$1.isNumber(r)&&re.push(`expires=${new Date(r).toUTCString()}`),utils$1.isString(i)&&re.push(`path=${i}`),utils$1.isString(g)&&re.push(`domain=${g}`),$===!0&&re.push("secure"),utils$1.isString(V)&&re.push(`SameSite=${V}`),document.cookie=re.join("; ")},read(n){if(typeof document>"u")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+n+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(n){this.write(n,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function isAbsoluteURL(n){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(n)}function combineURLs(n,t){return t?n.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):n}function buildFullPath(n,t,r){let i=!isAbsoluteURL(t);return n&&(i||r==!1)?combineURLs(n,t):t}const headersToObject=n=>n instanceof AxiosHeaders$1?{...n}:n;function mergeConfig(n,t){t=t||{};const r={};function i(ae,oe,le,ue){return utils$1.isPlainObject(ae)&&utils$1.isPlainObject(oe)?utils$1.merge.call({caseless:ue},ae,oe):utils$1.isPlainObject(oe)?utils$1.merge({},oe):utils$1.isArray(oe)?oe.slice():oe}function g(ae,oe,le,ue){if(utils$1.isUndefined(oe)){if(!utils$1.isUndefined(ae))return i(void 0,ae,le,ue)}else return i(ae,oe,le,ue)}function $(ae,oe){if(!utils$1.isUndefined(oe))return i(void 0,oe)}function V(ae,oe){if(utils$1.isUndefined(oe)){if(!utils$1.isUndefined(ae))return i(void 0,ae)}else return i(void 0,oe)}function re(ae,oe,le){if(le in t)return i(ae,oe);if(le in n)return i(void 0,ae)}const ie={url:$,method:$,data:$,baseURL:V,transformRequest:V,transformResponse:V,paramsSerializer:V,timeout:V,timeoutMessage:V,withCredentials:V,withXSRFToken:V,adapter:V,responseType:V,xsrfCookieName:V,xsrfHeaderName:V,onUploadProgress:V,onDownloadProgress:V,decompress:V,maxContentLength:V,maxBodyLength:V,beforeRedirect:V,transport:V,httpAgent:V,httpsAgent:V,cancelToken:V,socketPath:V,responseEncoding:V,validateStatus:re,headers:(ae,oe,le)=>g(headersToObject(ae),headersToObject(oe),le,!0)};return utils$1.forEach(Object.keys({...n,...t}),function(oe){const le=ie[oe]||g,ue=le(n[oe],t[oe],oe);utils$1.isUndefined(ue)&&le!==re||(r[oe]=ue)}),r}const resolveConfig=n=>{const t=mergeConfig({},n);let{data:r,withXSRFToken:i,xsrfHeaderName:g,xsrfCookieName:$,headers:V,auth:re}=t;if(t.headers=V=AxiosHeaders$1.from(V),t.url=buildURL(buildFullPath(t.baseURL,t.url,t.allowAbsoluteUrls),n.params,n.paramsSerializer),re&&V.set("Authorization","Basic "+btoa((re.username||"")+":"+(re.password?unescape(encodeURIComponent(re.password)):""))),utils$1.isFormData(r)){if(platform$1.hasStandardBrowserEnv||platform$1.hasStandardBrowserWebWorkerEnv)V.setContentType(void 0);else if(utils$1.isFunction(r.getHeaders)){const ie=r.getHeaders(),ae=["content-type","content-length"];Object.entries(ie).forEach(([oe,le])=>{ae.includes(oe.toLowerCase())&&V.set(oe,le)})}}if(platform$1.hasStandardBrowserEnv&&(i&&utils$1.isFunction(i)&&(i=i(t)),i||i!==!1&&isURLSameOrigin(t.url))){const ie=g&&$&&cookies.read($);ie&&V.set(g,ie)}return t},isXHRAdapterSupported=typeof XMLHttpRequest<"u",xhrAdapter=isXHRAdapterSupported&&function(n){return new Promise(function(r,i){const g=resolveConfig(n);let $=g.data;const V=AxiosHeaders$1.from(g.headers).normalize();let{responseType:re,onUploadProgress:ie,onDownloadProgress:ae}=g,oe,le,ue,de,he;function pe(){de&&de(),he&&he(),g.cancelToken&&g.cancelToken.unsubscribe(oe),g.signal&&g.signal.removeEventListener("abort",oe)}let _e=new XMLHttpRequest;_e.open(g.method.toUpperCase(),g.url,!0),_e.timeout=g.timeout;function Ce(){if(!_e)return;const Ie=AxiosHeaders$1.from("getAllResponseHeaders"in _e&&_e.getAllResponseHeaders()),Oe={data:!re||re==="text"||re==="json"?_e.responseText:_e.response,status:_e.status,statusText:_e.statusText,headers:Ie,config:n,request:_e};settle(function(Ve){r(Ve),pe()},function(Ve){i(Ve),pe()},Oe),_e=null}"onloadend"in _e?_e.onloadend=Ce:_e.onreadystatechange=function(){!_e||_e.readyState!==4||_e.status===0&&!(_e.responseURL&&_e.responseURL.indexOf("file:")===0)||setTimeout(Ce)},_e.onabort=function(){_e&&(i(new AxiosError("Request aborted",AxiosError.ECONNABORTED,n,_e)),_e=null)},_e.onerror=function(Ne){const Oe=Ne&&Ne.message?Ne.message:"Network Error",$e=new AxiosError(Oe,AxiosError.ERR_NETWORK,n,_e);$e.event=Ne||null,i($e),_e=null},_e.ontimeout=function(){let Ne=g.timeout?"timeout of "+g.timeout+"ms exceeded":"timeout exceeded";const Oe=g.transitional||transitionalDefaults;g.timeoutErrorMessage&&(Ne=g.timeoutErrorMessage),i(new AxiosError(Ne,Oe.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,n,_e)),_e=null},$===void 0&&V.setContentType(null),"setRequestHeader"in _e&&utils$1.forEach(V.toJSON(),function(Ne,Oe){_e.setRequestHeader(Oe,Ne)}),utils$1.isUndefined(g.withCredentials)||(_e.withCredentials=!!g.withCredentials),re&&re!=="json"&&(_e.responseType=g.responseType),ae&&([ue,he]=progressEventReducer(ae,!0),_e.addEventListener("progress",ue)),ie&&_e.upload&&([le,de]=progressEventReducer(ie),_e.upload.addEventListener("progress",le),_e.upload.addEventListener("loadend",de)),(g.cancelToken||g.signal)&&(oe=Ie=>{_e&&(i(!Ie||Ie.type?new CanceledError(null,n,_e):Ie),_e.abort(),_e=null)},g.cancelToken&&g.cancelToken.subscribe(oe),g.signal&&(g.signal.aborted?oe():g.signal.addEventListener("abort",oe)));const xe=parseProtocol(g.url);if(xe&&platform$1.protocols.indexOf(xe)===-1){i(new AxiosError("Unsupported protocol "+xe+":",AxiosError.ERR_BAD_REQUEST,n));return}_e.send($||null)})},composeSignals=(n,t)=>{const{length:r}=n=n?n.filter(Boolean):[];if(t||r){let i=new AbortController,g;const $=function(ae){if(!g){g=!0,re();const oe=ae instanceof Error?ae:this.reason;i.abort(oe instanceof AxiosError?oe:new CanceledError(oe instanceof Error?oe.message:oe))}};let V=t&&setTimeout(()=>{V=null,$(new AxiosError(`timeout ${t} of ms exceeded`,AxiosError.ETIMEDOUT))},t);const re=()=>{n&&(V&&clearTimeout(V),V=null,n.forEach(ae=>{ae.unsubscribe?ae.unsubscribe($):ae.removeEventListener("abort",$)}),n=null)};n.forEach(ae=>ae.addEventListener("abort",$));const{signal:ie}=i;return ie.unsubscribe=()=>utils$1.asap(re),ie}},composeSignals$1=composeSignals,streamChunk=function*(n,t){let r=n.byteLength;if(!t||r{const g=readBytes(n,t);let $=0,V,re=ie=>{V||(V=!0,i&&i(ie))};return new ReadableStream({async pull(ie){try{const{done:ae,value:oe}=await g.next();if(ae){re(),ie.close();return}let le=oe.byteLength;if(r){let ue=$+=le;r(ue)}ie.enqueue(new Uint8Array(oe))}catch(ae){throw re(ae),ae}},cancel(ie){return re(ie),g.return()}},{highWaterMark:2})},DEFAULT_CHUNK_SIZE=64*1024,{isFunction:isFunction$1}=utils$1,globalFetchAPI=(({Request:n,Response:t})=>({Request:n,Response:t}))(utils$1.global),{ReadableStream:ReadableStream$1,TextEncoder}=utils$1.global,test=(n,...t)=>{try{return!!n(...t)}catch{return!1}},factory=n=>{n=utils$1.merge.call({skipUndefined:!0},globalFetchAPI,n);const{fetch:t,Request:r,Response:i}=n,g=t?isFunction$1(t):typeof fetch=="function",$=isFunction$1(r),V=isFunction$1(i);if(!g)return!1;const re=g&&isFunction$1(ReadableStream$1),ie=g&&(typeof TextEncoder=="function"?(he=>pe=>he.encode(pe))(new TextEncoder):async he=>new Uint8Array(await new r(he).arrayBuffer())),ae=$&&re&&test(()=>{let he=!1;const pe=new r(platform$1.origin,{body:new ReadableStream$1,method:"POST",get duplex(){return he=!0,"half"}}).headers.has("Content-Type");return he&&!pe}),oe=V&&re&&test(()=>utils$1.isReadableStream(new i("").body)),le={stream:oe&&(he=>he.body)};g&&["text","arrayBuffer","blob","formData","stream"].forEach(he=>{!le[he]&&(le[he]=(pe,_e)=>{let Ce=pe&&pe[he];if(Ce)return Ce.call(pe);throw new AxiosError(`Response type '${he}' is not supported`,AxiosError.ERR_NOT_SUPPORT,_e)})});const ue=async he=>{if(he==null)return 0;if(utils$1.isBlob(he))return he.size;if(utils$1.isSpecCompliantForm(he))return(await new r(platform$1.origin,{method:"POST",body:he}).arrayBuffer()).byteLength;if(utils$1.isArrayBufferView(he)||utils$1.isArrayBuffer(he))return he.byteLength;if(utils$1.isURLSearchParams(he)&&(he=he+""),utils$1.isString(he))return(await ie(he)).byteLength},de=async(he,pe)=>{const _e=utils$1.toFiniteNumber(he.getContentLength());return _e??ue(pe)};return async he=>{let{url:pe,method:_e,data:Ce,signal:xe,cancelToken:Ie,timeout:Ne,onDownloadProgress:Oe,onUploadProgress:$e,responseType:Ve,headers:Ue,withCredentials:Fe="same-origin",fetchOptions:ze}=resolveConfig(he),Pt=t||fetch;Ve=Ve?(Ve+"").toLowerCase():"text";let qe=composeSignals$1([xe,Ie&&Ie.toAbortSignal()],Ne),Et=null;const kt=qe&&qe.unsubscribe&&(()=>{qe.unsubscribe()});let At;try{if($e&&ae&&_e!=="get"&&_e!=="head"&&(At=await de(Ue,Ce))!==0){let _n=new r(pe,{method:"POST",body:Ce,duplex:"half"}),wn;if(utils$1.isFormData(Ce)&&(wn=_n.headers.get("content-type"))&&Ue.setContentType(wn),_n.body){const[bn,Cn]=progressEventDecorator(At,progressEventReducer(asyncDecorator($e)));Ce=trackStream(_n.body,DEFAULT_CHUNK_SIZE,bn,Cn)}}utils$1.isString(Fe)||(Fe=Fe?"include":"omit");const Dt=$&&"credentials"in r.prototype,Lt={...ze,signal:qe,method:_e.toUpperCase(),headers:Ue.normalize().toJSON(),body:Ce,duplex:"half",credentials:Dt?Fe:void 0};Et=$&&new r(pe,Lt);let jt=await($?Pt(Et,ze):Pt(pe,Lt));const hn=oe&&(Ve==="stream"||Ve==="response");if(oe&&(Oe||hn&&kt)){const _n={};["status","statusText","headers"].forEach(Sn=>{_n[Sn]=jt[Sn]});const wn=utils$1.toFiniteNumber(jt.headers.get("content-length")),[bn,Cn]=Oe&&progressEventDecorator(wn,progressEventReducer(asyncDecorator(Oe),!0))||[];jt=new i(trackStream(jt.body,DEFAULT_CHUNK_SIZE,bn,()=>{Cn&&Cn(),kt&&kt()}),_n)}Ve=Ve||"text";let vn=await le[utils$1.findKey(le,Ve)||"text"](jt,he);return!hn&&kt&&kt(),await new Promise((_n,wn)=>{settle(_n,wn,{data:vn,headers:AxiosHeaders$1.from(jt.headers),status:jt.status,statusText:jt.statusText,config:he,request:Et})})}catch(Dt){throw kt&&kt(),Dt&&Dt.name==="TypeError"&&/Load failed|fetch/i.test(Dt.message)?Object.assign(new AxiosError("Network Error",AxiosError.ERR_NETWORK,he,Et),{cause:Dt.cause||Dt}):AxiosError.from(Dt,Dt&&Dt.code,he,Et)}}},seedCache=new Map,getFetch=n=>{let t=n&&n.env||{};const{fetch:r,Request:i,Response:g}=t,$=[i,g,r];let V=$.length,re=V,ie,ae,oe=seedCache;for(;re--;)ie=$[re],ae=oe.get(ie),ae===void 0&&oe.set(ie,ae=re?new Map:factory(t)),oe=ae;return ae};getFetch();const knownAdapters={http:httpAdapter,xhr:xhrAdapter,fetch:{get:getFetch}};utils$1.forEach(knownAdapters,(n,t)=>{if(n){try{Object.defineProperty(n,"name",{value:t})}catch{}Object.defineProperty(n,"adapterName",{value:t})}});const renderReason=n=>`- ${n}`,isResolvedHandle=n=>utils$1.isFunction(n)||n===null||n===!1;function getAdapter(n,t){n=utils$1.isArray(n)?n:[n];const{length:r}=n;let i,g;const $={};for(let V=0;V`adapter ${ie} `+(ae===!1?"is not supported by the environment":"is not available in the build"));let re=r?V.length>1?`since : -`+V.map(renderReason).join(` -`):" "+renderReason(V[0]):"as no adapter specified";throw new AxiosError("There is no suitable adapter to dispatch the request "+re,"ERR_NOT_SUPPORT")}return g}const adapters={getAdapter,adapters:knownAdapters};function throwIfCancellationRequested(n){if(n.cancelToken&&n.cancelToken.throwIfRequested(),n.signal&&n.signal.aborted)throw new CanceledError(null,n)}function dispatchRequest(n){return throwIfCancellationRequested(n),n.headers=AxiosHeaders$1.from(n.headers),n.data=transformData.call(n,n.transformRequest),["post","put","patch"].indexOf(n.method)!==-1&&n.headers.setContentType("application/x-www-form-urlencoded",!1),adapters.getAdapter(n.adapter||defaults$2.adapter,n)(n).then(function(i){return throwIfCancellationRequested(n),i.data=transformData.call(n,n.transformResponse,i),i.headers=AxiosHeaders$1.from(i.headers),i},function(i){return isCancel(i)||(throwIfCancellationRequested(n),i&&i.response&&(i.response.data=transformData.call(n,n.transformResponse,i.response),i.response.headers=AxiosHeaders$1.from(i.response.headers))),Promise.reject(i)})}const VERSION$1="1.13.2",validators$1={};["object","boolean","number","function","string","symbol"].forEach((n,t)=>{validators$1[n]=function(i){return typeof i===n||"a"+(t<1?"n ":" ")+n}});const deprecatedWarnings={};validators$1.transitional=function n(t,r,i){function g($,V){return"[Axios v"+VERSION$1+"] Transitional option '"+$+"'"+V+(i?". "+i:"")}return($,V,re)=>{if(t===!1)throw new AxiosError(g(V," has been removed"+(r?" in "+r:"")),AxiosError.ERR_DEPRECATED);return r&&!deprecatedWarnings[V]&&(deprecatedWarnings[V]=!0,console.warn(g(V," has been deprecated since v"+r+" and will be removed in the near future"))),t?t($,V,re):!0}};validators$1.spelling=function n(t){return(r,i)=>(console.warn(`${i} is likely a misspelling of ${t}`),!0)};function assertOptions(n,t,r){if(typeof n!="object")throw new AxiosError("options must be an object",AxiosError.ERR_BAD_OPTION_VALUE);const i=Object.keys(n);let g=i.length;for(;g-- >0;){const $=i[g],V=t[$];if(V){const re=n[$],ie=re===void 0||V(re,$,n);if(ie!==!0)throw new AxiosError("option "+$+" must be "+ie,AxiosError.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new AxiosError("Unknown option "+$,AxiosError.ERR_BAD_OPTION)}}const validator={assertOptions,validators:validators$1},validators=validator.validators;class Axios{constructor(t){this.defaults=t||{},this.interceptors={request:new InterceptorManager$1,response:new InterceptorManager$1}}async request(t,r){try{return await this._request(t,r)}catch(i){if(i instanceof Error){let g={};Error.captureStackTrace?Error.captureStackTrace(g):g=new Error;const $=g.stack?g.stack.replace(/^.+\n/,""):"";try{i.stack?$&&!String(i.stack).endsWith($.replace(/^.+\n.+\n/,""))&&(i.stack+=` -`+$):i.stack=$}catch{}}throw i}}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=mergeConfig(this.defaults,r);const{transitional:i,paramsSerializer:g,headers:$}=r;i!==void 0&&validator.assertOptions(i,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},!1),g!=null&&(utils$1.isFunction(g)?r.paramsSerializer={serialize:g}:validator.assertOptions(g,{encode:validators.function,serialize:validators.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),validator.assertOptions(r,{baseUrl:validators.spelling("baseURL"),withXsrfToken:validators.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let V=$&&utils$1.merge($.common,$[r.method]);$&&utils$1.forEach(["delete","get","head","post","put","patch","common"],he=>{delete $[he]}),r.headers=AxiosHeaders$1.concat(V,$);const re=[];let ie=!0;this.interceptors.request.forEach(function(pe){typeof pe.runWhen=="function"&&pe.runWhen(r)===!1||(ie=ie&&pe.synchronous,re.unshift(pe.fulfilled,pe.rejected))});const ae=[];this.interceptors.response.forEach(function(pe){ae.push(pe.fulfilled,pe.rejected)});let oe,le=0,ue;if(!ie){const he=[dispatchRequest.bind(this),void 0];for(he.unshift(...re),he.push(...ae),ue=he.length,oe=Promise.resolve(r);le{if(!i._listeners)return;let $=i._listeners.length;for(;$-- >0;)i._listeners[$](g);i._listeners=null}),this.promise.then=g=>{let $;const V=new Promise(re=>{i.subscribe(re),$=re}).then(g);return V.cancel=function(){i.unsubscribe($)},V},t(function($,V,re){i.reason||(i.reason=new CanceledError($,V,re),r(i.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=i=>{t.abort(i)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new CancelToken(function(g){t=g}),cancel:t}}}const CancelToken$1=CancelToken;function spread(n){return function(r){return n.apply(null,r)}}function isAxiosError(n){return utils$1.isObject(n)&&n.isAxiosError===!0}const HttpStatusCode={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(HttpStatusCode).forEach(([n,t])=>{HttpStatusCode[t]=n});const HttpStatusCode$1=HttpStatusCode;function createInstance(n){const t=new Axios$1(n),r=bind$2(Axios$1.prototype.request,t);return utils$1.extend(r,Axios$1.prototype,t,{allOwnKeys:!0}),utils$1.extend(r,t,null,{allOwnKeys:!0}),r.create=function(g){return createInstance(mergeConfig(n,g))},r}const axios=createInstance(defaults$2);axios.Axios=Axios$1;axios.CanceledError=CanceledError;axios.CancelToken=CancelToken$1;axios.isCancel=isCancel;axios.VERSION=VERSION$1;axios.toFormData=toFormData;axios.AxiosError=AxiosError;axios.Cancel=axios.CanceledError;axios.all=function n(t){return Promise.all(t)};axios.spread=spread;axios.isAxiosError=isAxiosError;axios.mergeConfig=mergeConfig;axios.AxiosHeaders=AxiosHeaders$1;axios.formToJSON=n=>formDataToJSON(utils$1.isHTMLForm(n)?new FormData(n):n);axios.getAdapter=adapters.getAdapter;axios.HttpStatusCode=HttpStatusCode$1;axios.default=axios;const axios$1=axios,useDataMapStore=defineStore("dataMap",{state:()=>({dataMap:{},isLoading:!1,lastUpdate:null}),getters:{getDataMap:n=>n.dataMap,isDataLoaded:n=>Object.keys(n.dataMap).length>0,getDataMapById:n=>t=>n.dataMap[t]},actions:{setDataMap(n){this.dataMap=n,this.lastUpdate=new Date},updateDataMapEntry(n,t){this.dataMap[n]=t},clearDataMap(){this.dataMap={},this.lastUpdate=null},setLoading(n){this.isLoading=n}}}),_hoisted_1$l={class:"compact-table-container-wrapper"},_hoisted_2$f={class:"compact-table-container"},_hoisted_3$6={style:{"margin-top":"10px"},class:"compact-button-container"},_sfc_main$r=defineComponent({__name:"vue-table-only",props:{fontFamily:{type:String,default:"黑体"},fontSize:{type:Number,default:12},testColor:{type:String,default:"#ffffff"}},emits:["update:modelValue"],setup(n,{emit:t}){useCssVars(oe=>({v5623380e:$.testColor,v4c40a3d4:$.fontFamily,af771d1a:unref(V)}));let r=useDataMapStore();function i(oe){switch(oe){case 1:return"遥信";case 2:return"遥测";case 3:return"遥控";case 4:return"遥调";default:return"其他"}}const g=reactive([]),$=n;let V=computed({get(){return $.fontSize+"px"},set(oe){console.log("有人修改了fullName",oe)}});function re(oe){switch(oe){case 0:return"不可用/不在线";case 1:return"工作状态";case 2:return"取代/屏蔽";default:return"未知状态"}}function ie(oe){switch(oe){case-2e3:return"未初始化";case 0:return"分/复归";case 1:return"合/告警";case 5:return"联动关";case-10:return"预警/低限联动";case 10:return"报警/高限联动";case-20:return"低限告警";case 20:return"高限告警";default:return"未知区间状态"}}onMounted(()=>{ae()});async function ae(){try{const oe=await axios$1.get("/api/nrt");if(oe.data){r.setDataMap(oe.data);for(const le in oe.data){const ue=oe.data[le];let de=" - ",he=ue.double;if(ue.bType)switch(ue.bType){case 1:case 3:case 4:he>0?de="开":de="关";break;case 2:de=ue.double+ue.node.unit;break;default:de=" - ";break}ue.double!==void 0&&ue.double&&(de=ue.double+ue.node.unit),g.push({id:ue.id.toString(),name:ue.node.name,bType:i(ue.bType),dateValue:de,runState:re(ue.runState),sig:ie(ue.sig)})}}}catch(oe){console.error("请求失败:",oe)}}return(oe,le)=>{const ue=resolveComponent("el-table-column"),de=resolveComponent("el-table"),he=resolveComponent("el-button");return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",_hoisted_1$l,[createBaseVNode("div",_hoisted_2$f,[createVNode$1(de,{data:g,class:"compact-table",size:"small",height:"100%"},{default:withCtx(()=>[createVNode$1(ue,{type:"index",label:"序号"}),createVNode$1(ue,{prop:"id",label:"ID"}),createVNode$1(ue,{prop:"name",label:"名称"}),createVNode$1(ue,{prop:"bType",label:"类型"}),createVNode$1(ue,{prop:"dateValue",label:"遥值"}),createVNode$1(ue,{prop:"runState",label:"运行状态"}),createVNode$1(ue,{prop:"sig",label:"区间类型"})]),_:1},8,["data"])])]),createBaseVNode("div",_hoisted_3$6,[createVNode$1(he,{onClick:ae,size:"small"},{default:withCtx(()=>[...le[0]||(le[0]=[createTextVNode("获取数据",-1)])]),_:1})])],64)}}}),vueTableOnly_vue_vue_type_style_index_0_scoped_f850a34d_lang="",VueTableOnly=_export_sfc$1(_sfc_main$r,[["__scopeId","data-v-f850a34d"]]),_hoisted_1$k={class:"compact-table-container"},_hoisted_2$e={style:{"margin-top":"10px"},class:"compact-button-container"},_sfc_main$q=defineComponent({__name:"vue-table-complex",props:{fontFamily:{type:String,default:"黑体"},fontSize:{type:Number,default:12},testColor:{type:String,default:"#ffffff"}},setup(n){useCssVars(ie=>({a56ac982:unref(re),v0345aa7c:V.testColor,v38e411e2:V.fontFamily}));const t=useDataMapStore(),{dataMap:r}=storeToRefs(t);onMounted(()=>{$()}),onUnmounted(()=>{});function i(){return{config:null,data:[{groupName:"组名1001",temperatureId:10384,humidityId:10385},{groupName:"组名1002",temperatureId:11384,humidityId:11385},{groupName:"组名1003",temperatureId:12384,humidityId:12385},{groupName:"组名1004",temperatureId:13384,humidityId:13385}],headers:null,request:null,status:200,statusText:"test"}}const g=reactive([]);async function $(){i().data.forEach(ae=>{let oe="-";r.value[ae.humidityId]&&(oe=r.value[ae.humidityId].double+r.value[ae.humidityId].node.unit);let le="-";r.value[ae.temperatureId]&&(le=r.value[ae.temperatureId].double+r.value[ae.temperatureId].node.unit),g.push({groupName:ae.groupName,temperatureStr:oe,humidityStr:le})})}const V=n;let re=computed({get(){return V.fontSize+"px"},set(ie){console.log("有人修改了fullName",ie)}});return(ie,ae)=>{const oe=resolveComponent("el-table-column"),le=resolveComponent("el-table"),ue=resolveComponent("el-button");return openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",_hoisted_1$k,[createVNode$1(le,{ref:"singleTableRef",data:g,size:"small",style:{width:"100%"}},{default:withCtx(()=>[createVNode$1(oe,{type:"index",label:"序号"}),createVNode$1(oe,{prop:"groupName",label:"名称"}),createVNode$1(oe,{prop:"temperatureStr",label:"温度"}),createVNode$1(oe,{prop:"humidityStr",label:"湿度"})]),_:1},8,["data"])]),createBaseVNode("div",_hoisted_2$e,[createVNode$1(ue,{onClick:$,size:"small"},{default:withCtx(()=>[...ae[0]||(ae[0]=[createTextVNode("获取数据",-1)])]),_:1})])],64)}}}),vueTableComplex_vue_vue_type_style_index_0_scoped_e4bb72f7_lang="",VueTableComplex=_export_sfc$1(_sfc_main$q,[["__scopeId","data-v-e4bb72f7"]]),_hoisted_1$j={class:"main-img"},_hoisted_2$d={key:0,class:"no-img"},_hoisted_3$5={key:1,class:"img-container"},_hoisted_4$4=["src"],_sfc_main$p=defineComponent({__name:"vue-img",props:{definitionItemJson:{type:Object,default:()=>({})},moduleId:{type:String,default:""}},setup(n){const t=ref();useImgStore();const r=n;console.log("父传子1:",r.definitionItemJson.id),watch(()=>r.moduleId,($,V)=>{console.log("moduleId:",$,V),g($)});let i=ref();async function g($){let V={id:$};const re=await modelApi.fileStorage_file_list_post(V);re.data&&(re.data.list.forEach(ie=>{i.value=formatFilePath(BASE_URL,ie.filePath)}),console.log("imgUrl:",i))}return emitter.on("imgUpload:"+r.definitionItemJson.id,$=>{console.log("imgUpload:",$),t.value=$}),onUnmounted(()=>{console.log("组件卸载")}),onMounted(()=>{g(r.moduleId)}),($,V)=>{const re=resolveComponent("el-icon");return openBlock(),createElementBlock("div",_hoisted_1$j,[unref(i)?createCommentVNode("",!0):(openBlock(),createElementBlock("div",_hoisted_2$d,[createVNode$1(re,{size:200,class:"no-img-icon"},{default:withCtx(()=>[createVNode$1(unref(picture_default))]),_:1})])),unref(i)?(openBlock(),createElementBlock("div",_hoisted_3$5,[unref(i)?(openBlock(),createElementBlock("img",{key:0,draggable:"false",class:"display-img",src:unref(i)},null,8,_hoisted_4$4)):createCommentVNode("",!0)])):createCommentVNode("",!0)])}}}),vueImg_vue_vue_type_style_index_0_scoped_64175df9_lang="",VueImg=_export_sfc$1(_sfc_main$p,[["__scopeId","data-v-64175df9"]]),_hoisted_1$i={key:0,class:"cardBody"},_hoisted_2$c={key:1,class:"cardBody"},_hoisted_3$4={key:2,class:"cardBody"},_hoisted_4$3={class:"dialog-footer"},_sfc_main$o=defineComponent({__name:"vue-run-info",props:{fontFamily:{type:String,default:"Segoe UI"},fontSize:{type:Number,default:14},testColor:{type:String,default:"#000000"},testBool:{type:Boolean,default:!0},dataSource:{type:String,default:"--"}},setup(n){useCssVars(ae=>({e405c75a:r.testColor,c57b5b1e:r.fontFamily,v49457b4e:unref(ie)}));let t=ref(!1);const r=n,i=[{content:"灭火允许",timestamp:"2018-04-15"},{content:"手动启动",timestamp:"2018-04-16"},{content:"紧急停止",timestamp:"2018-04-17"},{content:"手动启动",timestamp:"2018-04-18"},{content:"灭火允许",timestamp:"2018-04-15"},{content:"手动启动",timestamp:"2018-04-16"},{content:"紧急停止",timestamp:"2018-04-17"},{content:"手动启动",timestamp:"2018-04-18"}];onMounted(()=>{re(r.dataSource)}),watch(()=>r.dataSource,(ae,oe)=>{re(ae)});let g=ref(!1),$=ref(!1),V=ref(!1);function re(ae){ae==="globalOverview"?(g.value=!0,$.value=!1,V.value=!1):ae==="fireExtinguishing"?(g.value=!1,$.value=!0,V.value=!1):ae==="firePolice"&&(g.value=!1,$.value=!1,V.value=!0)}let ie=computed({get(){return r.fontSize+"px"},set(ae){console.log("有人修改了fullName",ae)}});return(ae,oe)=>{const le=resolveComponent("el-col"),ue=resolveComponent("el-tag"),de=resolveComponent("el-row"),he=resolveComponent("el-divider"),pe=resolveComponent("el-text"),_e=resolveComponent("el-popover"),Ce=resolveComponent("el-button"),xe=resolveComponent("el-card"),Ie=resolveComponent("el-timeline-item"),Ne=resolveComponent("el-timeline"),Oe=resolveComponent("el-scrollbar"),$e=resolveComponent("el-dialog");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(xe,{class:"card"},{default:withCtx(()=>[oe[42]||(oe[42]=createBaseVNode("h2",{class:"cardHead"},"运行信息",-1)),unref(g)?(openBlock(),createElementBlock("div",_hoisted_1$i,[createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[3]||(oe[3]=[createTextVNode(" 设备状态: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[4]||(oe[4]=[createTextVNode("正常/中断",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[5]||(oe[5]=[createTextVNode(" 温度: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[6]||(oe[6]=[createTextVNode("23℃",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[7]||(oe[7]=[createTextVNode(" 湿度: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[8]||(oe[8]=[createTextVNode("45%RH",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[9]||(oe[9]=[createTextVNode(" 风力: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[10]||(oe[10]=[createTextVNode("三级(5m/s)",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[11]||(oe[11]=[createTextVNode(" 风向: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[12]||(oe[12]=[createTextVNode("东风",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[13]||(oe[13]=[createTextVNode(" 雨量: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[14]||(oe[14]=[createTextVNode("20mm",-1)])]),_:1})]),_:1})]),_:1})])):createCommentVNode("",!0),unref($)?(openBlock(),createElementBlock("div",_hoisted_2$c,[createVNode$1(de,{style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:24},{default:withCtx(()=>[...oe[15]||(oe[15]=[createTextVNode("火灾报警系统",-1)])]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:1},{default:withCtx(()=>[oe[17]||(oe[17]=createTextVNode("设备状态 ",-1)),createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[16]||(oe[16]=[createTextVNode("正常/故障",-1)])]),_:1})]),_:1}),createVNode$1(le,{span:8,offset:2},{default:withCtx(()=>[oe[19]||(oe[19]=createTextVNode("通信状态 ",-1)),createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[18]||(oe[18]=[createTextVNode("正常/中断",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:22,offset:1},{default:withCtx(()=>[...oe[20]||(oe[20]=[createTextVNode("火灾总告警 ",-1),createBaseVNode("div",{class:"blue-circle redBordered"},null,-1)])]),_:1})]),_:1}),createVNode$1(he,{style:{"margin-top":"10px","margin-bottom":"10px"}}),createVNode$1(de,{style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:24},{default:withCtx(()=>[...oe[21]||(oe[21]=[createTextVNode("2号主变灭火系统(排油注氮灭火)",-1)])]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:7,offset:1},{default:withCtx(()=>[oe[23]||(oe[23]=createTextVNode(" 启动方式 ",-1)),createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[22]||(oe[22]=[createTextVNode("自动/手动",-1)])]),_:1})]),_:1}),createVNode$1(le,{span:7,offset:1},{default:withCtx(()=>[oe[25]||(oe[25]=createTextVNode("设备状态 ",-1)),createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[24]||(oe[24]=[createTextVNode("正常/故障",-1)])]),_:1})]),_:1}),createVNode$1(le,{span:7,offset:1},{default:withCtx(()=>[oe[27]||(oe[27]=createTextVNode("通信状态 ",-1)),createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[26]||(oe[26]=[createTextVNode("正常/中断",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:7,offset:1},{default:withCtx(()=>[...oe[28]||(oe[28]=[createTextVNode("火灾总告警 ",-1),createBaseVNode("div",{class:"blue-circle redBordered"},null,-1)])]),_:1}),createVNode$1(le,{span:7,offset:1},{default:withCtx(()=>[createVNode$1(_e,{placement:"top",width:170,trigger:"hover",content:"查看灭火允许满足条件"},{reference:withCtx(()=>[createVNode$1(pe,{class:"mx-1",type:"primary"},{default:withCtx(()=>[...oe[29]||(oe[29]=[createTextVNode("灭火允许",-1)])]),_:1})]),_:1}),oe[30]||(oe[30]=createBaseVNode("div",{class:"blue-circle greenBordered"},null,-1))]),_:1}),createVNode$1(le,{span:7,offset:1,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(pe,{class:"mx-1",type:"primary",onClick:oe[0]||(oe[0]=Ve=>isRef(t)?t.value=!0:t=!0)},{default:withCtx(()=>[...oe[31]||(oe[31]=[createTextVNode("灭火动作",-1)])]),_:1}),oe[32]||(oe[32]=createBaseVNode("div",{class:"blue-circle redBordered"},null,-1))]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center","margin-top":"8px"}},{default:withCtx(()=>[createVNode$1(le,{span:5,offset:1},{default:withCtx(()=>[...oe[33]||(oe[33]=[createTextVNode("灭火手动操作",-1)])]),_:1}),createVNode$1(le,{span:12},{default:withCtx(()=>[createVNode$1(Ce,{type:"primary",size:"small"},{default:withCtx(()=>[...oe[34]||(oe[34]=[createTextVNode("手动启动",-1)])]),_:1}),createVNode$1(Ce,{type:"primary",size:"small"},{default:withCtx(()=>[...oe[35]||(oe[35]=[createTextVNode("紧急停止",-1)])]),_:1})]),_:1})]),_:1})])):createCommentVNode("",!0),unref(V)?(openBlock(),createElementBlock("div",_hoisted_3$4,[createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[36]||(oe[36]=[createTextVNode(" 设备状态: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[37]||(oe[37]=[createTextVNode("正常/故障",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[38]||(oe[38]=[createTextVNode(" 通信状态: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[39]||(oe[39]=[createTextVNode("正常/中断",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[40]||(oe[40]=[createTextVNode(" 电源状态:",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[41]||(oe[41]=[createTextVNode("主供电源工作",-1)])]),_:1})]),_:1})]),_:1})])):createCommentVNode("",!0)]),_:1}),createVNode$1($e,{modelValue:unref(t),"onUpdate:modelValue":oe[2]||(oe[2]=Ve=>isRef(t)?t.value=Ve:t=Ve),title:"灭火动作流程",style:{height:"60vh"},width:"45%","append-to-body":!0},{footer:withCtx(()=>[createBaseVNode("div",_hoisted_4$3,[createVNode$1(Ce,{onClick:oe[1]||(oe[1]=Ve=>isRef(t)?t.value=!1:t=!1)},{default:withCtx(()=>[...oe[43]||(oe[43]=[createTextVNode("退出",-1)])]),_:1})])]),default:withCtx(()=>[createVNode$1(Oe,{height:"42vh"},{default:withCtx(()=>[createVNode$1(Ne,{mode:"alternate-reverse"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(i,(Ve,Ue)=>createVNode$1(Ie,{key:Ue,center:"",timestamp:Ve.timestamp},{default:withCtx(()=>[createTextVNode(toDisplayString(Ve.content),1)]),_:2},1032,["timestamp"])),64))]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}}}),vueRunInfo_vue_vue_type_style_index_0_scoped_70b8fe40_lang="",VueRunInfo=_export_sfc$1(_sfc_main$o,[["__scopeId","data-v-70b8fe40"]]),_hoisted_1$h={class:"cardHead"},_sfc_main$n=defineComponent({__name:"vue-multi-type-info",props:{fontFamily:{type:String,default:"Segoe UI"},fontSize:{type:Number,default:14},testColor:{type:String,default:"#000000"},headline:{type:String,default:"自定义标题"}},setup(n){useCssVars(i=>({v61177bb2:t.testColor,eaa031c6:t.fontFamily,v53b045fa:unref(r)}));const t=n;console.log();let r=computed({get(){return t.fontSize+"px"},set(i){console.log("有人修改了fullName",i)}});return(i,g)=>{const $=resolveComponent("el-card");return openBlock(),createBlock($,{class:"card"},{header:withCtx(()=>[createBaseVNode("h2",_hoisted_1$h,toDisplayString(t.headline),1)]),default:withCtx(()=>[g[0]||(g[0]=createBaseVNode("div",{class:"cardBody"},[createBaseVNode("p",null,"2025-04-25 14:22:17 2号主变油色谱总烃超标"),createBaseVNode("p",null,"2018-03-21 15:28:11 220kV GIS室O2气体含量低报警(2号传感器O2浓度15%)"),createBaseVNode("p",null,"2018-04-25 14:22:17 2号主变油色谱总烃超标"),createBaseVNode("p",null,"2018-03-21 15:28:11 220kV GIS室O2气体含量低报警(2号传感器O2浓度15%)"),createBaseVNode("p",null,"2018-04-25 14:22:17 2号主变油色谱总烃超标"),createBaseVNode("p",null,"2018-03-21 15:28:11 220kV GIS室O2气体含量低报警(2号传感器O2浓度15%)")],-1))]),_:1})}}}),vueMultiTypeInfo_vue_vue_type_style_index_0_scoped_66cdf737_lang="",VueMultiTypeInfo=_export_sfc$1(_sfc_main$n,[["__scopeId","data-v-66cdf737"]]),_hoisted_1$g={class:"cell-item"},_hoisted_2$b={class:"cell-item"},_hoisted_3$3={class:"cell-item"},_hoisted_4$2={class:"cell-item"},_sfc_main$m=defineComponent({__name:"vue-signal-info",setup(n){return ref("default"),(t,r)=>{const i=resolveComponent("el-descriptions-item"),g=resolveComponent("el-icon"),$=resolveComponent("el-tag"),V=resolveComponent("el-descriptions");return openBlock(),createBlock(V,{class:"margin-top",column:1,size:"small",border:""},{default:withCtx(()=>[createVNode$1(i,{align:"center"},{label:withCtx(()=>[...r[0]||(r[0]=[createTextVNode(" 描述 ",-1)])]),default:withCtx(()=>[r[1]||(r[1]=createTextVNode(" 值 ",-1))]),_:1}),createVNode$1(i,{class:"tag-info"},{label:withCtx(()=>[createBaseVNode("div",_hoisted_1$g,[createVNode$1(g,{class:"iconStyle"},{default:withCtx(()=>[createVNode$1(unref(tickets_default))]),_:1}),r[2]||(r[2]=createTextVNode(" 灯光状态 ",-1))])]),default:withCtx(()=>[createVNode$1($,{size:"default",type:"success"},{default:withCtx(()=>[...r[3]||(r[3]=[createTextVNode("开启",-1)])]),_:1})]),_:1}),createVNode$1(i,null,{label:withCtx(()=>[createBaseVNode("div",_hoisted_2$b,[createVNode$1(g,{class:"iconStyle"},{default:withCtx(()=>[createVNode$1(unref(mostly_cloudy_default))]),_:1}),r[4]||(r[4]=createTextVNode(" 湿度 ",-1))])]),default:withCtx(()=>[r[5]||(r[5]=createTextVNode(" 80% ",-1))]),_:1}),createVNode$1(i,null,{label:withCtx(()=>[createBaseVNode("div",_hoisted_3$3,[createVNode$1(g,{class:"iconStyle"},{default:withCtx(()=>[createVNode$1(unref(sunrise_default))]),_:1}),r[6]||(r[6]=createTextVNode(" 温度 ",-1))])]),default:withCtx(()=>[r[7]||(r[7]=createTextVNode(" 36℃% ",-1))]),_:1}),createVNode$1(i,null,{label:withCtx(()=>[createBaseVNode("div",_hoisted_4$2,[createVNode$1(g,{class:"iconStyle"},{default:withCtx(()=>[createVNode$1(unref(house_default))]),_:1}),r[8]||(r[8]=createTextVNode(" 节点ID ",-1))])]),default:withCtx(()=>[r[9]||(r[9]=createTextVNode(" 2100210 ",-1))]),_:1})]),_:1})}}}),vueSignalInfo_vue_vue_type_style_index_0_scoped_0b8b6720_lang="",VueSignalInfo=_export_sfc$1(_sfc_main$m,[["__scopeId","data-v-0b8b6720"]]),useNodeByModelsStore=defineStore("nodeByModels",{state(){return{nodeMap:new Map}},actions:{saveOrUpdate(n,t){if(this.nodeMap.has(n)){const r=this.nodeMap.get(n);r.includes(t)||r.push(t)}else this.nodeMap.set(n,[t])},change(n,t,r){this.delete(t,r),this.saveOrUpdate(n,r)},delete(n,t){if(!this.nodeMap.has(n))return;const r=this.nodeMap.get(n);r&&r.includes(t)&&r.splice(r.indexOf(t),1),(r&&r.length===0||!r)&&this.nodeMap.delete(n)}}}),_hoisted_1$f={style:{display:"flex",gap:"10px","align-items":"center"}},_hoisted_2$a={class:"demo-rich-conent",style:{display:"flex",gap:"20px","flex-direction":"column"}},_sfc_main$l=defineComponent({__name:"vue-signal-gaudy",props:{moduleType:{type:String,default:"--"},moduleId:{type:String,default:"--"},definitionItemJson:{type:Object,default:()=>({})},location:{type:String,default:"bottom"}},setup(n){const t=useNodeByModelsStore();onMounted(()=>{ie(),oe()}),onUnmounted(()=>{ae(),console.log("组件卸载"),emitter.off(r.definitionItemJson.id)});const r=n;let i=ref(),g=ref(!1),$=ref(),V=ref();function re(le){const ue=window.globalData;return!ue||le==null||le==""||r.moduleId=="--"?(console.warn("globalData 未初始化"),null):ue instanceof Map?ue.get(le):ue[le]}function ie(){let le=re(r.moduleId);r.moduleId!==""&&r.moduleId!==void 0&&r.moduleId!=="--"&&le&&le&&(i.value=le.node.name,g.value=le.double==1,$.value=le.alarm,V.value=le.alarmable)}emitter.on(r.definitionItemJson.id,le=>{console.log("触发事件",le),ie()}),watch(()=>r.moduleId,(le,ue)=>{ie(),t.change(le,ue,r.definitionItemJson.id)});function ae(){r.moduleId==""||r.moduleId==null||r.moduleId=="--"||t.delete(r.moduleId,r.definitionItemJson.id)}function oe(){r.moduleId==""||r.moduleId==null||r.moduleId=="--"||t.saveOrUpdate(r.moduleId,r.definitionItemJson.id)}return(le,ue)=>{const de=resolveComponent("el-text"),he=resolveComponent("el-tag"),pe=resolveComponent("el-col"),_e=resolveComponent("el-row"),Ce=resolveComponent("el-icon"),xe=resolveComponent("el-statistic"),Ie=resolveComponent("el-popover");return openBlock(),createElementBlock(Fragment,null,[n.location==="top"?(openBlock(),createBlock(_e,{key:0},{default:withCtx(()=>[createVNode$1(pe,{span:24,class:"flex-center"},{default:withCtx(()=>[createVNode$1(he,{type:"primary",size:"small",style:{opacity:"0.9"}},{default:withCtx(()=>[createVNode$1(de,{type:"primary",style:{"max-width":"65px"},size:"small",truncated:""},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(i)),1)]),_:1})]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),createVNode$1(_e,{justify:"center"},{default:withCtx(()=>[n.location==="left"?(openBlock(),createBlock(pe,{key:0,span:12,class:"flex-center"},{default:withCtx(()=>[createVNode$1(he,{type:"primary",size:"small",style:{opacity:"0.9"}},{default:withCtx(()=>[createVNode$1(de,{type:"primary",style:{"max-width":"65px"},size:"small",truncated:""},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(i)),1)]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),createVNode$1(pe,{span:12,class:"flex-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$f,[createVNode$1(Ie,{width:300,disabled:!1,"popper-style":"box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;"},{reference:withCtx(()=>[createVNode$1(Ce,{class:normalizeClass(["iconStyle",unref($)?"blink-animation":""]),size:18,style:normalizeStyle$1({color:unref(g)?"rgb(166, 169, 173)":"rgb(247, 137, 137)"})},{default:withCtx(()=>[createVNode$1(unref(warning_filled_default))]),_:1},8,["class","style"])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_2$a,[createVNode$1(Ce,{class:"iconStyle",size:60,style:normalizeStyle$1({color:unref(g)?"rgb(146, 252, 40)":"rgb(252, 40, 40)"})},{default:withCtx(()=>[createVNode$1(unref(warning_filled_default))]),_:1},8,["style"]),createVNode$1(_e,{gutter:6},{default:withCtx(()=>[createVNode$1(pe,{span:12,xs:24,sm:12,md:6,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(xe,{title:"绑定ID",value:null},{suffix:withCtx(()=>[createVNode$1(he,{size:"default",type:"primary"},{default:withCtx(()=>[createTextVNode(toDisplayString(n.moduleId),1)]),_:1})]),_:1})]),_:1}),createVNode$1(pe,{span:12,xs:24,sm:12,md:12,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(xe,{title:"节点名称",value:null},{suffix:withCtx(()=>[createVNode$1(he,{size:"default",type:"success"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(i)),1)]),_:1})]),_:1})]),_:1}),createVNode$1(pe,{span:12,xs:24,sm:12,md:6,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(xe,{title:"类型",value:null},{suffix:withCtx(()=>[createVNode$1(he,{size:"default",type:"primary"},{default:withCtx(()=>[...ue[0]||(ue[0]=[createTextVNode("遥信",-1)])]),_:1})]),_:1})]),_:1})]),_:1}),createVNode$1(_e,{gutter:6},{default:withCtx(()=>[createVNode$1(pe,{span:12,xs:24,sm:12,md:6,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(xe,{title:"开关情况",value:null},{suffix:withCtx(()=>[createVNode$1(he,{size:"default",type:"primary"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(g)),1)]),_:1})]),_:1})]),_:1}),createVNode$1(pe,{span:12,xs:24,sm:12,md:12,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(xe,{title:"告警",value:null},{suffix:withCtx(()=>[createVNode$1(he,{size:"default",type:"primary"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref($)),1)]),_:1})]),_:1})]),_:1}),createVNode$1(pe,{span:12,xs:24,sm:12,md:6,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(xe,{title:"是否可告警",value:null},{suffix:withCtx(()=>[createVNode$1(he,{size:"default",type:"primary"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(V)),1)]),_:1})]),_:1})]),_:1})]),_:1})])]),_:1})])]),_:1}),n.location==="right"?(openBlock(),createBlock(pe,{key:1,span:12,class:"flex-center"},{default:withCtx(()=>[createVNode$1(he,{type:"primary",size:"small",style:{opacity:"0.9"}},{default:withCtx(()=>[createVNode$1(de,{type:"primary",style:{"max-width":"65px"},size:"small",truncated:""},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(i)),1)]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1}),n.location==="bottom"?(openBlock(),createBlock(_e,{key:1},{default:withCtx(()=>[createVNode$1(pe,{span:24,class:"flex-center"},{default:withCtx(()=>[createVNode$1(he,{type:"primary",size:"small",style:{opacity:"0.9"}},{default:withCtx(()=>[createVNode$1(de,{type:"primary",style:{"max-width":"65px"},size:"small",truncated:""},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(i)),1)]),_:1})]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)],64)}}}),vueSignalGaudy_vue_vue_type_style_index_0_scoped_27472338_lang="",vueSignalGaudy=_export_sfc$1(_sfc_main$l,[["__scopeId","data-v-27472338"]]),_hoisted_1$e={style:{display:"flex","align-items":"center"}},_hoisted_2$9={class:"demo-rich-conent",style:{display:"flex",gap:"2px","flex-direction":"column"}},_sfc_main$k=defineComponent({__name:"vue-switch-info",setup(n){const t=ref(!0);return(r,i)=>{const g=resolveComponent("el-switch"),$=resolveComponent("el-statistic"),V=resolveComponent("el-col"),re=resolveComponent("el-tag"),ie=resolveComponent("el-row"),ae=resolveComponent("el-popover");return openBlock(),createElementBlock("div",_hoisted_1$e,[createVNode$1(ae,{width:300,"popper-style":"box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;"},{reference:withCtx(()=>[createVNode$1(g,{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=oe=>t.value=oe),size:"large","active-text":"开","inactive-text":"关"},null,8,["modelValue"])]),default:withCtx(()=>[createBaseVNode("div",_hoisted_2$9,[createVNode$1(g,{modelValue:t.value,"onUpdate:modelValue":i[1]||(i[1]=oe=>t.value=oe),size:"large",disabled:""},null,8,["modelValue"]),createVNode$1(ie,{gutter:6},{default:withCtx(()=>[createVNode$1(V,{span:12,xs:24,sm:12,md:8,class:"elColInfo"},{default:withCtx(()=>[createVNode$1($,{title:"绑定ID",value:"1100101"})]),_:1}),createVNode$1(V,{span:12,xs:24,sm:12,md:8,class:"elColInfo"},{default:withCtx(()=>[createVNode$1($,{title:"状态",value:null},{suffix:withCtx(()=>[createVNode$1(re,{size:"default",type:"success"},{default:withCtx(()=>[...i[2]||(i[2]=[createTextVNode("开启",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(V,{span:12,xs:24,sm:12,md:8,class:"elColInfo"},{default:withCtx(()=>[createVNode$1($,{title:"类型",value:null},{suffix:withCtx(()=>[createVNode$1(re,{size:"default",type:"primary"},{default:withCtx(()=>[...i[3]||(i[3]=[createTextVNode("遥控",-1)])]),_:1})]),_:1})]),_:1})]),_:1})])]),_:1})])}}}),vueSwitchInfo_vue_vue_type_style_index_0_scoped_26d71982_lang="",VueSwitchInfo=_export_sfc$1(_sfc_main$k,[["__scopeId","data-v-26d71982"]]),_hoisted_1$d={style:{display:"flex",gap:"10px","align-items":"center"}},_hoisted_2$8={class:"demo-rich-conent",style:{display:"flex",gap:"2px","flex-direction":"column"}},_hoisted_3$2={class:"demo-progress"},_sfc_main$j=defineComponent({__name:"vue-num-info",props:{moduleType:{type:String,default:"--"},moduleId:{type:String,default:"--"},definitionItemJson:{type:Object,default:()=>({})},location:{type:String,default:"bottom"}},setup(n){const t=useNodeByModelsStore();onMounted(()=>{ae(),i()}),onUnmounted(()=>{console.log("组件卸载"),g(),emitter.off(r.definitionItemJson.id)});const r=n;console.log("itemjson:",r.definitionItemJson.id);function i(){r.moduleId==""||r.moduleId==null||r.moduleId=="--"||t.saveOrUpdate(r.moduleId,r.definitionItemJson.id)}function g(){r.moduleId==""||r.moduleId==null||r.moduleId=="--"||t.delete(r.moduleId,r.definitionItemJson.id)}watch(()=>r.moduleId,(de,he)=>{ae(),t.change(de,he,r.definitionItemJson.id)}),emitter.on(r.definitionItemJson.id,de=>{console.log("触发事件",de),ae()});let $=ref(),V=ref(),re=ref();function ie(de){const he=window.globalData;return!he||de==null||de==""||r.moduleId=="--"?(console.warn("globalData 未初始化"),null):he instanceof Map?he.get(de):he[de]}function ae(){let de=ie(r.moduleId);r.moduleId!==""&&r.moduleId!==void 0&&r.moduleId!=="--"&&de&&de&&(V.value=de.node.name,re.value=de.double,$.value=de.node.unit)}let oe=computed({get(){return re.value==null&&$.value==null?"--":re.value+""+$.value},set(){}});const le=()=>re.value==null&&$.value==null?"--":re.value+""+$.value,ue=[{color:"#f56c6c",percentage:20},{color:"#e6a23c",percentage:40},{color:"#5cb87a",percentage:60},{color:"#1989fa",percentage:80},{color:"#6f7ad3",percentage:100}];return(de,he)=>{const pe=resolveComponent("el-text"),_e=resolveComponent("el-tag"),Ce=resolveComponent("el-col"),xe=resolveComponent("el-row"),Ie=resolveComponent("el-progress"),Ne=resolveComponent("el-statistic"),Oe=resolveComponent("el-popover");return openBlock(),createElementBlock(Fragment,null,[n.location==="top"?(openBlock(),createBlock(xe,{key:0},{default:withCtx(()=>[createVNode$1(Ce,{span:24,class:"flex-center"},{default:withCtx(()=>[createVNode$1(_e,{type:"primary",size:"small",style:{opacity:"0.9"}},{default:withCtx(()=>[createVNode$1(pe,{type:"primary",style:{"max-width":"65px"},size:"small",truncated:""},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(V)),1)]),_:1})]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),createVNode$1(xe,{justify:"center"},{default:withCtx(()=>[n.location==="left"?(openBlock(),createBlock(Ce,{key:0,span:12,class:"flex-center"},{default:withCtx(()=>[createVNode$1(_e,{type:"primary",size:"small",style:{opacity:"0.9"}},{default:withCtx(()=>[createVNode$1(pe,{type:"primary",style:{"max-width":"65px"},size:"small",truncated:""},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(V)),1)]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0),createVNode$1(Ce,{span:12,class:"flex-center"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$d,[createVNode$1(Oe,{width:300,disabled:!0,"popper-style":"box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;"},{reference:withCtx(()=>[createVNode$1(pe,{style:{"font-weight":"bold","text-align":"center",display:"block"}},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(oe)),1)]),_:1})]),default:withCtx(()=>[createBaseVNode("div",_hoisted_2$8,[createBaseVNode("div",_hoisted_3$2,[createVNode$1(Ie,{type:"dashboard",width:100,percentage:unref(re),color:ue,format:le},null,8,["percentage"])]),createVNode$1(xe,{gutter:6},{default:withCtx(()=>[createVNode$1(Ce,{span:12,xs:24,sm:12,md:6,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(Ne,{title:"绑定ID",value:null},{suffix:withCtx(()=>[createVNode$1(_e,{size:"default",type:"primary"},{default:withCtx(()=>[createTextVNode(toDisplayString(n.moduleId),1)]),_:1})]),_:1})]),_:1}),createVNode$1(Ce,{span:12,xs:24,sm:12,md:12,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(Ne,{title:"节点名称",value:null},{suffix:withCtx(()=>[createVNode$1(_e,{size:"default",type:"success"},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(V)),1)]),_:1})]),_:1})]),_:1}),createVNode$1(Ce,{span:12,xs:24,sm:12,md:6,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(Ne,{title:"类型",value:null},{suffix:withCtx(()=>[createVNode$1(_e,{size:"default",type:"primary"},{default:withCtx(()=>[createTextVNode(toDisplayString(n.moduleType),1)]),_:1})]),_:1})]),_:1})]),_:1})])]),_:1})])]),_:1}),n.location==="right"?(openBlock(),createBlock(Ce,{key:1,span:12,class:"flex-center"},{default:withCtx(()=>[createVNode$1(_e,{type:"primary",size:"small",style:{opacity:"0.9"}},{default:withCtx(()=>[createVNode$1(pe,{type:"primary",style:{"max-width":"65px"},size:"small",truncated:""},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(V)),1)]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)]),_:1}),n.location==="bottom"?(openBlock(),createBlock(xe,{key:1},{default:withCtx(()=>[createVNode$1(Ce,{span:24,class:"flex-center"},{default:withCtx(()=>[createVNode$1(_e,{type:"primary",size:"small",style:{opacity:"0.9"}},{default:withCtx(()=>[createVNode$1(pe,{type:"primary",style:{"max-width":"65px",opacity:"1"},size:"small",truncated:""},{default:withCtx(()=>[createTextVNode(toDisplayString(unref(V)),1)]),_:1})]),_:1})]),_:1})]),_:1})):createCommentVNode("",!0)],64)}}}),vueNumInfo_vue_vue_type_style_index_0_scoped_f5a80d66_lang="",VueNumInfo=_export_sfc$1(_sfc_main$j,[["__scopeId","data-v-f5a80d66"]]),_hoisted_1$c={style:{display:"flex","align-items":"center"}},_hoisted_2$7={class:"demo-rich-conent",style:{display:"flex",gap:"2px","flex-direction":"column"}},_hoisted_3$1={class:"progress-container"},_hoisted_4$1={class:"input-button-row"},_sfc_main$i=defineComponent({__name:"vue-regulator",setup(n){const t=ref(5);return(r,i)=>{const g=resolveComponent("el-icon"),$=resolveComponent("el-input-number"),V=resolveComponent("el-button"),re=resolveComponent("el-button-group"),ie=resolveComponent("el-statistic"),ae=resolveComponent("el-col"),oe=resolveComponent("el-tag"),le=resolveComponent("el-row"),ue=resolveComponent("el-popover");return openBlock(),createElementBlock("div",_hoisted_1$c,[createVNode$1(ue,{width:300,"popper-style":"box-shadow: rgb(14 18 22 / 35%) 0px 10px 38px -10px, rgb(14 18 22 / 20%) 0px 10px 20px -15px; padding: 20px;"},{reference:withCtx(()=>[createVNode$1(g,{class:"iconStyle",size:30},{default:withCtx(()=>[createVNode$1(unref(switch_filled_default))]),_:1})]),default:withCtx(()=>[createBaseVNode("div",_hoisted_2$7,[createBaseVNode("div",_hoisted_3$1,[createBaseVNode("div",_hoisted_4$1,[createVNode$1($,{modelValue:t.value,"onUpdate:modelValue":i[0]||(i[0]=de=>t.value=de),step:2,class:"custom-input-number"},null,8,["modelValue"]),createVNode$1(re,{size:"small",direction:"horizontal"},{default:withCtx(()=>[createVNode$1(V,{type:"primary",icon:unref(check_default)},null,8,["icon"]),createVNode$1(V,{type:"primary",color:"rgb(177, 179, 184)",onClick:i[1]||(i[1]=de=>t.value=0),icon:unref(refresh_left_default)},null,8,["icon"])]),_:1})])]),createVNode$1(le,{gutter:6},{default:withCtx(()=>[createVNode$1(ae,{span:12,xs:24,sm:12,md:8,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(ie,{title:"绑定ID",value:"1100101"})]),_:1}),createVNode$1(ae,{span:12,xs:24,sm:12,md:8,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(ie,{title:"状态",value:null},{suffix:withCtx(()=>[createVNode$1(oe,{size:"default",type:"success"},{default:withCtx(()=>[...i[2]||(i[2]=[createTextVNode("开启",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(ae,{span:12,xs:24,sm:12,md:8,class:"elColInfo"},{default:withCtx(()=>[createVNode$1(ie,{title:"类型",value:null},{suffix:withCtx(()=>[createVNode$1(oe,{size:"default",type:"primary"},{default:withCtx(()=>[...i[3]||(i[3]=[createTextVNode("遥调",-1)])]),_:1})]),_:1})]),_:1})]),_:1})])]),_:1})])}}}),vueRegulator_vue_vue_type_style_index_0_scoped_f4fa7193_lang="",VueRegulator=_export_sfc$1(_sfc_main$i,[["__scopeId","data-v-f4fa7193"]]),_hoisted_1$b={style:{"margin-left":"2vh"}},_sfc_main$h=defineComponent({__name:"vue-base-table",props:{dataSource:{type:String,default:"--"}},setup(n){onMounted(()=>{V(t.dataSource)});const t=n;let r=ref(),i=ref(!1),g=ref(!1),$=ref(!1);const V=xe=>{switch(console.log("moduleId:",xe),xe){case"wholeSiteMessage":he.value=[],i.value=!0,g.value=!1,$.value=!1,r.value="/api/wholeSiteMessage",he.value=Ce;break;case"unitException":he.value=[],i.value=!1,g.value=!0,$.value=!1,r.value="/api/unitException",he.value=pe;break;case"unauthorized":he.value=[],i.value=!1,g.value=!1,$.value=!0,r.value="/api/unauthorized",he.value=_e;break}};watch(()=>t.dataSource,(xe,Ie)=>{console.log("moduleId:",xe,Ie),V(xe)});let re=ref(1),ie=ref(10),ae=ref(45);const oe=xe=>{console.log("size点击:",`${xe} items per page`)},le=xe=>{console.log("Current点击:",`current page: ${xe}`)},ue=reactive({fileId:null,fileName:null,fileDate:null}),de=({row:xe})=>xe.alarmLevel===1?"danger-row":xe.alarmLevel===2?"warning-row":"";let he=ref([]);const pe=[{inkanetName:"南河变电站",date:"2026-02-04 20:48:08",equipmentName:"3号感烟探头",eventContent:"生产综合楼1楼蓄电池室3号感烟探头报警,生",subsystem:"消防系统",operation:0},{inkanetName:"南河变电站",date:"2026-02-04 20:48:08",equipmentName:"3号感烟探头",eventContent:"生产综合楼1楼蓄电池室3号感烟探头报",subsystem:"消防系统",operation:0},{inkanetName:"南河变电站",date:"2026-02-04 20:48:08",equipmentName:"3号感烟探头",eventContent:"生产综合楼1楼蓄电池室3号感烟探头报警",subsystem:"消防系统",operation:0}],_e=[{inkanetName:"南河变电站",date:"2026-02-04 20:48:08",equipmentName:"3号感烟探头",eventContent:"生产综合楼1楼蓄电池室3号感烟探头报警,生产综合楼1楼蓄电池室3号感烟探头报警",offset:10,limit:"10-20",measurementValue:"10.0",subsystem:"消防系统",processingStructure:"成功",operation:0},{inkanetName:"南河变电站",date:"2026-02-04 20:48:08",equipmentName:"3号感烟探头",eventContent:"生产综合楼1楼蓄电池室3号感烟探头报警,生产综合楼1楼蓄电池室3号感烟探头报警",offset:10,limit:"10-20",measurementValue:"10.0",subsystem:"消防系统",processingStructure:"成功",operation:0},{inkanetName:"南河变电站",date:"2026-02-04 20:48:08",equipmentName:"3号感烟探头",eventContent:"生产综合楼1楼蓄电池室3号感烟探头报警,生产综合楼1楼蓄电池室3号感烟探头报警",offset:10,limit:"10-20",measurementValue:"10.0",subsystem:"消防系统",processingStructure:"成功",operation:0}],Ce=[{inkanetName:"南河变电站",date:"2026-02-04 20:48:08",equipmentName:"3号感烟探头",eventContent:"生产综合楼1楼蓄电池室3号感烟探头报警,生产综合楼1楼蓄电池室3号感烟探头报警",alarmLevel:1,subsystem:"消防系统",processingStructure:"成功",operation:0},{inkanetName:"南河变电站",date:"2026-01-27 15:28:08",equipmentName:"荣耀科技",eventContent:"荣耀科技打卡指纹识别告警",alarmLevel:3,subsystem:"指纹识别",processingStructure:"成功",operation:0},{inkanetName:"南河变电站",date:"2026-01-25 12:48:08",equipmentName:"电子围栏",eventContent:"电子围栏一区(东一)入侵告警",alarmLevel:2,subsystem:"安全防范",processingStructure:"成功",operation:1},{inkanetName:"南河变电站",date:"2026-01-26 15:28:08",equipmentName:"荣耀科技",eventContent:"荣耀科技研发部人脸识别告警",alarmLevel:3,subsystem:"人脸识别",processingStructure:"成功",operation:0},{inkanetName:"南河变电站",date:"2026-02-04 20:48:08",equipmentName:"3号感烟探头",eventContent:"生产综合楼1楼蓄电池室3号感烟探头报警",alarmLevel:3,subsystem:"消防系统",processingStructure:"成功",operation:0},{inkanetName:"南河变电站",date:"2026-01-27 15:28:08",equipmentName:"荣耀科技",eventContent:"荣耀科技打卡指纹识别告警",alarmLevel:3,subsystem:"指纹识别",processingStructure:"成功",operation:0},{inkanetName:"南河变电站",date:"2026-01-25 12:48:08",equipmentName:"电子围栏",eventContent:"电子围栏一区(东一)入侵告警",alarmLevel:3,subsystem:"安全防范",processingStructure:"成功",operation:1},{inkanetName:"南河变电站",date:"2026-01-26 15:28:08",equipmentName:"荣耀科技",eventContent:"荣耀科技研发部人脸识别告警",alarmLevel:3,subsystem:"人脸识别",processingStructure:"成功",operation:0},{inkanetName:"南河变电站",date:"2026-02-04 20:48:08",equipmentName:"3号感烟探头",eventContent:"生产综合楼1楼蓄电池室3号感烟探头报警",alarmLevel:3,subsystem:"消防系统",processingStructure:"成功",operation:0},{inkanetName:"南河变电站",date:"2026-01-27 15:28:08",equipmentName:"荣耀科技",eventContent:"荣耀科技打卡指纹识别告警",alarmLevel:3,subsystem:"指纹识别",processingStructure:"成功",operation:0}];return(xe,Ie)=>{const Ne=resolveComponent("el-input"),Oe=resolveComponent("el-form-item"),$e=resolveComponent("el-col"),Ve=resolveComponent("el-option"),Ue=resolveComponent("el-select"),Fe=resolveComponent("el-row"),ze=resolveComponent("el-date-picker"),Pt=resolveComponent("el-button"),qe=resolveComponent("el-form"),Et=resolveComponent("el-table-column"),kt=resolveComponent("el-tag"),At=resolveComponent("el-table"),Dt=resolveComponent("el-pagination");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(qe,{model:ue,"label-width":"auto",style:{"max-width":"100%","margin-left":"2vh"},inline:""},{default:withCtx(()=>[createVNode$1(Fe,{gutter:1},{default:withCtx(()=>[createVNode$1($e,{span:6},{default:withCtx(()=>[createVNode$1(Oe,{label:"设备名称"},{default:withCtx(()=>[createVNode$1(Ne,{modelValue:ue.fileName,"onUpdate:modelValue":Ie[0]||(Ie[0]=Lt=>ue.fileName=Lt),style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),createVNode$1($e,{span:6},{default:withCtx(()=>[createVNode$1(Oe,{label:"所属展柜"},{default:withCtx(()=>[createVNode$1(Ne,{modelValue:ue.fileName,"onUpdate:modelValue":Ie[1]||(Ie[1]=Lt=>ue.fileName=Lt)},null,8,["modelValue"])]),_:1})]),_:1}),createVNode$1($e,{span:6},{default:withCtx(()=>[createVNode$1(Oe,{label:"子系统",style:{width:"100%"}},{default:withCtx(()=>[createVNode$1(Ue,{modelValue:ue.fileId,"onUpdate:modelValue":Ie[2]||(Ie[2]=Lt=>ue.fileId=Lt),style:{width:"100%"}},{default:withCtx(()=>[createVNode$1(Ve,{label:"消防系统",value:"shanghai"}),createVNode$1(Ve,{label:"识别系统",value:"beijing"})]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),createVNode$1(Fe,{gutter:1},{default:withCtx(()=>[createVNode$1($e,{span:6,style:{display:"flex","align-items":"left"}},{default:withCtx(()=>[createVNode$1(Oe,{label:"告警级别",style:{width:"100%"}},{default:withCtx(()=>[createVNode$1(Ue,{modelValue:ue.fileDate,"onUpdate:modelValue":Ie[3]||(Ie[3]=Lt=>ue.fileDate=Lt),style:{width:"100%"}},{default:withCtx(()=>[createVNode$1(Ve,{label:"危急",value:"shanghai"}),createVNode$1(Ve,{label:"一般",value:"beijing"}),createVNode$1(Ve,{label:"正常",value:"chengdu"})]),_:1},8,["modelValue"])]),_:1})]),_:1}),createVNode$1($e,{span:8},{default:withCtx(()=>[createVNode$1(Oe,{label:"时间",style:{display:"flex","align-items":"left"}},{default:withCtx(()=>[createVNode$1(ze,{modelValue:ue.fileDate,"onUpdate:modelValue":Ie[4]||(Ie[4]=Lt=>ue.fileDate=Lt),type:"daterange","range-separator":"-","start-placeholder":"开始时间","end-placeholder":"结束时间",size:"default"},null,8,["modelValue"])]),_:1})]),_:1}),createVNode$1($e,{span:5}),createVNode$1($e,{span:5},{default:withCtx(()=>[createVNode$1(Pt,{type:"primary"},{default:withCtx(()=>[...Ie[7]||(Ie[7]=[createTextVNode("查询",-1)])]),_:1}),createVNode$1(Pt,{type:"info"},{default:withCtx(()=>[...Ie[8]||(Ie[8]=[createTextVNode("重置",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),createVNode$1(At,{data:unref(he),style:normalizeStyle$1([{width:"100%","margin-left":"2vh"},{"max-height":"470px"}]),"row-class-name":de,"header-cell-style":{color:"#3b3b3b "}},{default:withCtx(()=>[createVNode$1(Et,{type:"index",label:"序号",resizable:!1,"min-width":"60",align:"center"}),createVNode$1(Et,{prop:"inkanetName",label:"站端名称",resizable:!1,width:"180",align:"center"}),createVNode$1(Et,{prop:"date",label:"时间",resizable:!1,"min-width":"180",align:"center"}),createVNode$1(Et,{prop:"equipmentName",label:"设备名称",resizable:!1,"min-width":"180",align:"center"}),createVNode$1(Et,{prop:"eventContent",label:"事件内容",resizable:!1,"min-width":"280","show-overflow-tooltip":"",align:"center"}),unref($)?(openBlock(),createBlock(Et,{key:0,prop:"measurementValue",label:"当前测量值",resizable:!1,"min-width":"180","show-overflow-tooltip":"",align:"center"})):createCommentVNode("",!0),unref($)?(openBlock(),createBlock(Et,{key:1,prop:"limit",label:"越限范围",resizable:!1,"min-width":"180","show-overflow-tooltip":"",align:"center"})):createCommentVNode("",!0),unref($)?(openBlock(),createBlock(Et,{key:2,prop:"offset",label:"偏移量",resizable:!1,"min-width":"180","show-overflow-tooltip":"",align:"center"})):createCommentVNode("",!0),unref(i)?(openBlock(),createBlock(Et,{key:3,prop:"alarmLevel",label:"告警级别",resizable:!1,align:"center","min-width":"180"},{default:withCtx(Lt=>[Lt.row.alarmLevel===1?(openBlock(),createBlock(kt,{key:0,type:"danger"},{default:withCtx(()=>[...Ie[9]||(Ie[9]=[createTextVNode("危急",-1)])]),_:1})):Lt.row.alarmLevel===2?(openBlock(),createBlock(kt,{key:1,type:"warning"},{default:withCtx(()=>[...Ie[10]||(Ie[10]=[createTextVNode("一般",-1)])]),_:1})):(openBlock(),createBlock(kt,{key:2,type:"primary"},{default:withCtx(()=>[...Ie[11]||(Ie[11]=[createTextVNode("正常",-1)])]),_:1}))]),_:1})):createCommentVNode("",!0),createVNode$1(Et,{prop:"subsystem",label:"所属子系统",resizable:!1,"min-width":"180",align:"center"}),unref(i)||unref($)?(openBlock(),createBlock(Et,{key:4,prop:"processingStructure",label:"处理结果",resizable:!1,"min-width":"180",align:"center"})):createCommentVNode("",!0),createVNode$1(Et,{label:"操作",resizable:!1,align:"center","min-width":"180",fixed:"right"},{default:withCtx(Lt=>[Lt.row.operation===0?(openBlock(),createBlock(Pt,{key:0,type:"primary",size:"small"},{default:withCtx(()=>[...Ie[12]||(Ie[12]=[createTextVNode("确认",-1)])]),_:1})):(openBlock(),createBlock(kt,{key:1,type:"primary"},{default:withCtx(()=>[...Ie[13]||(Ie[13]=[createTextVNode("已解决",-1)])]),_:1}))]),_:1})]),_:1},8,["data"]),createBaseVNode("div",_hoisted_1$b,[createVNode$1(Dt,{"current-page":unref(re),"onUpdate:currentPage":Ie[5]||(Ie[5]=Lt=>isRef(re)?re.value=Lt:re=Lt),"page-size":unref(ie),"onUpdate:pageSize":Ie[6]||(Ie[6]=Lt=>isRef(ie)?ie.value=Lt:ie=Lt),"page-sizes":[10,15,20],"pager-count":3,size:"default",layout:",total,sizes,-> ,prev, pager, next",total:unref(ae),onSizeChange:oe,onCurrentChange:le},null,8,["current-page","page-size","total"])])],64)}}}),vueBaseTable_vue_vue_type_style_index_0_lang="";/** - * @license - * Copyright 2010-2025 Three.js Authors - * SPDX-License-Identifier: MIT - */const REVISION="182",MOUSE={LEFT:0,MIDDLE:1,RIGHT:2,ROTATE:0,DOLLY:1,PAN:2},TOUCH={ROTATE:0,PAN:1,DOLLY_PAN:2,DOLLY_ROTATE:3},CullFaceNone=0,CullFaceBack=1,CullFaceFront=2,PCFShadowMap=1,PCFSoftShadowMap=2,VSMShadowMap=3,FrontSide=0,BackSide=1,DoubleSide=2,NoBlending=0,NormalBlending=1,AdditiveBlending=2,SubtractiveBlending=3,MultiplyBlending=4,CustomBlending=5,AddEquation=100,SubtractEquation=101,ReverseSubtractEquation=102,MinEquation=103,MaxEquation=104,ZeroFactor=200,OneFactor=201,SrcColorFactor=202,OneMinusSrcColorFactor=203,SrcAlphaFactor=204,OneMinusSrcAlphaFactor=205,DstAlphaFactor=206,OneMinusDstAlphaFactor=207,DstColorFactor=208,OneMinusDstColorFactor=209,SrcAlphaSaturateFactor=210,ConstantColorFactor=211,OneMinusConstantColorFactor=212,ConstantAlphaFactor=213,OneMinusConstantAlphaFactor=214,NeverDepth=0,AlwaysDepth=1,LessDepth=2,LessEqualDepth=3,EqualDepth=4,GreaterEqualDepth=5,GreaterDepth=6,NotEqualDepth=7,MultiplyOperation=0,MixOperation=1,AddOperation=2,NoToneMapping=0,LinearToneMapping=1,ReinhardToneMapping=2,CineonToneMapping=3,ACESFilmicToneMapping=4,CustomToneMapping=5,AgXToneMapping=6,NeutralToneMapping=7,AttachedBindMode="attached",DetachedBindMode="detached",UVMapping=300,CubeReflectionMapping=301,CubeRefractionMapping=302,EquirectangularReflectionMapping=303,EquirectangularRefractionMapping=304,CubeUVReflectionMapping=306,RepeatWrapping=1e3,ClampToEdgeWrapping=1001,MirroredRepeatWrapping=1002,NearestFilter=1003,NearestMipmapNearestFilter=1004,NearestMipmapLinearFilter=1005,LinearFilter=1006,LinearMipmapNearestFilter=1007,LinearMipmapLinearFilter=1008,UnsignedByteType=1009,ByteType=1010,ShortType=1011,UnsignedShortType=1012,IntType=1013,UnsignedIntType=1014,FloatType=1015,HalfFloatType=1016,UnsignedShort4444Type=1017,UnsignedShort5551Type=1018,UnsignedInt248Type=1020,UnsignedInt5999Type=35902,UnsignedInt101111Type=35899,AlphaFormat=1021,RGBFormat=1022,RGBAFormat=1023,DepthFormat=1026,DepthStencilFormat=1027,RedFormat=1028,RedIntegerFormat=1029,RGFormat=1030,RGIntegerFormat=1031,RGBAIntegerFormat=1033,RGB_S3TC_DXT1_Format=33776,RGBA_S3TC_DXT1_Format=33777,RGBA_S3TC_DXT3_Format=33778,RGBA_S3TC_DXT5_Format=33779,RGB_PVRTC_4BPPV1_Format=35840,RGB_PVRTC_2BPPV1_Format=35841,RGBA_PVRTC_4BPPV1_Format=35842,RGBA_PVRTC_2BPPV1_Format=35843,RGB_ETC1_Format=36196,RGB_ETC2_Format=37492,RGBA_ETC2_EAC_Format=37496,R11_EAC_Format=37488,SIGNED_R11_EAC_Format=37489,RG11_EAC_Format=37490,SIGNED_RG11_EAC_Format=37491,RGBA_ASTC_4x4_Format=37808,RGBA_ASTC_5x4_Format=37809,RGBA_ASTC_5x5_Format=37810,RGBA_ASTC_6x5_Format=37811,RGBA_ASTC_6x6_Format=37812,RGBA_ASTC_8x5_Format=37813,RGBA_ASTC_8x6_Format=37814,RGBA_ASTC_8x8_Format=37815,RGBA_ASTC_10x5_Format=37816,RGBA_ASTC_10x6_Format=37817,RGBA_ASTC_10x8_Format=37818,RGBA_ASTC_10x10_Format=37819,RGBA_ASTC_12x10_Format=37820,RGBA_ASTC_12x12_Format=37821,RGBA_BPTC_Format=36492,RGB_BPTC_SIGNED_Format=36494,RGB_BPTC_UNSIGNED_Format=36495,RED_RGTC1_Format=36283,SIGNED_RED_RGTC1_Format=36284,RED_GREEN_RGTC2_Format=36285,SIGNED_RED_GREEN_RGTC2_Format=36286,InterpolateDiscrete=2300,InterpolateLinear=2301,InterpolateSmooth=2302,ZeroCurvatureEnding=2400,ZeroSlopeEnding=2401,WrapAroundEnding=2402,NormalAnimationBlendMode=2500,TrianglesDrawMode=0,TriangleStripDrawMode=1,TriangleFanDrawMode=2,BasicDepthPacking=3200,TangentSpaceNormalMap=0,ObjectSpaceNormalMap=1,NoColorSpace="",SRGBColorSpace="srgb",LinearSRGBColorSpace="srgb-linear",LinearTransfer="linear",SRGBTransfer="srgb",KeepStencilOp=7680,AlwaysStencilFunc=519,NeverCompare=512,LessCompare=513,EqualCompare=514,LessEqualCompare=515,GreaterCompare=516,NotEqualCompare=517,GreaterEqualCompare=518,AlwaysCompare=519,StaticDrawUsage=35044,GLSL3="300 es",WebGLCoordinateSystem=2e3,WebGPUCoordinateSystem=2001;function arrayNeedsUint32(n){for(let t=n.length-1;t>=0;--t)if(n[t]>=65535)return!0;return!1}function isTypedArray$1(n){return ArrayBuffer.isView(n)&&!(n instanceof DataView)}function createElementNS(n){return document.createElementNS("http://www.w3.org/1999/xhtml",n)}function createCanvasElement(){const n=createElementNS("canvas");return n.style.display="block",n}const _cache={};function log(...n){const t="THREE."+n.shift();console.log(t,...n)}function warn(...n){const t="THREE."+n.shift();console.warn(t,...n)}function error(...n){const t="THREE."+n.shift();console.error(t,...n)}function warnOnce(...n){const t=n.join(" ");t in _cache||(_cache[t]=!0,warn(...n))}function probeAsync(n,t,r){return new Promise(function(i,g){function $(){switch(n.clientWaitSync(t,n.SYNC_FLUSH_COMMANDS_BIT,0)){case n.WAIT_FAILED:g();break;case n.TIMEOUT_EXPIRED:setTimeout($,r);break;default:i()}}setTimeout($,r)})}class EventDispatcher{addEventListener(t,r){this._listeners===void 0&&(this._listeners={});const i=this._listeners;i[t]===void 0&&(i[t]=[]),i[t].indexOf(r)===-1&&i[t].push(r)}hasEventListener(t,r){const i=this._listeners;return i===void 0?!1:i[t]!==void 0&&i[t].indexOf(r)!==-1}removeEventListener(t,r){const i=this._listeners;if(i===void 0)return;const g=i[t];if(g!==void 0){const $=g.indexOf(r);$!==-1&&g.splice($,1)}}dispatchEvent(t){const r=this._listeners;if(r===void 0)return;const i=r[t.type];if(i!==void 0){t.target=this;const g=i.slice(0);for(let $=0,V=g.length;$>8&255]+_lut[n>>16&255]+_lut[n>>24&255]+"-"+_lut[t&255]+_lut[t>>8&255]+"-"+_lut[t>>16&15|64]+_lut[t>>24&255]+"-"+_lut[r&63|128]+_lut[r>>8&255]+"-"+_lut[r>>16&255]+_lut[r>>24&255]+_lut[i&255]+_lut[i>>8&255]+_lut[i>>16&255]+_lut[i>>24&255]).toLowerCase()}function clamp$1(n,t,r){return Math.max(t,Math.min(r,n))}function euclideanModulo(n,t){return(n%t+t)%t}function mapLinear(n,t,r,i,g){return i+(n-t)*(g-i)/(r-t)}function inverseLerp(n,t,r){return n!==t?(r-n)/(t-n):0}function lerp$1(n,t,r){return(1-r)*n+r*t}function damp(n,t,r,i){return lerp$1(n,t,1-Math.exp(-r*i))}function pingpong(n,t=1){return t-Math.abs(euclideanModulo(n,t*2)-t)}function smoothstep(n,t,r){return n<=t?0:n>=r?1:(n=(n-t)/(r-t),n*n*(3-2*n))}function smootherstep(n,t,r){return n<=t?0:n>=r?1:(n=(n-t)/(r-t),n*n*n*(n*(n*6-15)+10))}function randInt(n,t){return n+Math.floor(Math.random()*(t-n+1))}function randFloat(n,t){return n+Math.random()*(t-n)}function randFloatSpread(n){return n*(.5-Math.random())}function seededRandom(n){n!==void 0&&(_seed=n);let t=_seed+=1831565813;return t=Math.imul(t^t>>>15,t|1),t^=t+Math.imul(t^t>>>7,t|61),((t^t>>>14)>>>0)/4294967296}function degToRad(n){return n*DEG2RAD}function radToDeg(n){return n*RAD2DEG}function isPowerOfTwo(n){return(n&n-1)===0&&n!==0}function ceilPowerOfTwo(n){return Math.pow(2,Math.ceil(Math.log(n)/Math.LN2))}function floorPowerOfTwo(n){return Math.pow(2,Math.floor(Math.log(n)/Math.LN2))}function setQuaternionFromProperEuler(n,t,r,i,g){const $=Math.cos,V=Math.sin,re=$(r/2),ie=V(r/2),ae=$((t+i)/2),oe=V((t+i)/2),le=$((t-i)/2),ue=V((t-i)/2),de=$((i-t)/2),he=V((i-t)/2);switch(g){case"XYX":n.set(re*oe,ie*le,ie*ue,re*ae);break;case"YZY":n.set(ie*ue,re*oe,ie*le,re*ae);break;case"ZXZ":n.set(ie*le,ie*ue,re*oe,re*ae);break;case"XZX":n.set(re*oe,ie*he,ie*de,re*ae);break;case"YXY":n.set(ie*de,re*oe,ie*he,re*ae);break;case"ZYZ":n.set(ie*he,ie*de,re*oe,re*ae);break;default:warn("MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+g)}}function denormalize(n,t){switch(t.constructor){case Float32Array:return n;case Uint32Array:return n/4294967295;case Uint16Array:return n/65535;case Uint8Array:return n/255;case Int32Array:return Math.max(n/2147483647,-1);case Int16Array:return Math.max(n/32767,-1);case Int8Array:return Math.max(n/127,-1);default:throw new Error("Invalid component type.")}}function normalize$2(n,t){switch(t.constructor){case Float32Array:return n;case Uint32Array:return Math.round(n*4294967295);case Uint16Array:return Math.round(n*65535);case Uint8Array:return Math.round(n*255);case Int32Array:return Math.round(n*2147483647);case Int16Array:return Math.round(n*32767);case Int8Array:return Math.round(n*127);default:throw new Error("Invalid component type.")}}const MathUtils={DEG2RAD,RAD2DEG,generateUUID,clamp:clamp$1,euclideanModulo,mapLinear,inverseLerp,lerp:lerp$1,damp,pingpong,smoothstep,smootherstep,randInt,randFloat,randFloatSpread,seededRandom,degToRad,radToDeg,isPowerOfTwo,ceilPowerOfTwo,floorPowerOfTwo,setQuaternionFromProperEuler,normalize:normalize$2,denormalize};class Vector2{constructor(t=0,r=0){Vector2.prototype.isVector2=!0,this.x=t,this.y=r}get width(){return this.x}set width(t){this.x=t}get height(){return this.y}set height(t){this.y=t}set(t,r){return this.x=t,this.y=r,this}setScalar(t){return this.x=t,this.y=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setComponent(t,r){switch(t){case 0:this.x=r;break;case 1:this.y=r;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y)}copy(t){return this.x=t.x,this.y=t.y,this}add(t){return this.x+=t.x,this.y+=t.y,this}addScalar(t){return this.x+=t,this.y+=t,this}addVectors(t,r){return this.x=t.x+r.x,this.y=t.y+r.y,this}addScaledVector(t,r){return this.x+=t.x*r,this.y+=t.y*r,this}sub(t){return this.x-=t.x,this.y-=t.y,this}subScalar(t){return this.x-=t,this.y-=t,this}subVectors(t,r){return this.x=t.x-r.x,this.y=t.y-r.y,this}multiply(t){return this.x*=t.x,this.y*=t.y,this}multiplyScalar(t){return this.x*=t,this.y*=t,this}divide(t){return this.x/=t.x,this.y/=t.y,this}divideScalar(t){return this.multiplyScalar(1/t)}applyMatrix3(t){const r=this.x,i=this.y,g=t.elements;return this.x=g[0]*r+g[3]*i+g[6],this.y=g[1]*r+g[4]*i+g[7],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this}clamp(t,r){return this.x=clamp$1(this.x,t.x,r.x),this.y=clamp$1(this.y,t.y,r.y),this}clampScalar(t,r){return this.x=clamp$1(this.x,t,r),this.y=clamp$1(this.y,t,r),this}clampLength(t,r){const i=this.length();return this.divideScalar(i||1).multiplyScalar(clamp$1(i,t,r))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(t){return this.x*t.x+this.y*t.y}cross(t){return this.x*t.y-this.y*t.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(t){const r=Math.sqrt(this.lengthSq()*t.lengthSq());if(r===0)return Math.PI/2;const i=this.dot(t)/r;return Math.acos(clamp$1(i,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const r=this.x-t.x,i=this.y-t.y;return r*r+i*i}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,r){return this.x+=(t.x-this.x)*r,this.y+=(t.y-this.y)*r,this}lerpVectors(t,r,i){return this.x=t.x+(r.x-t.x)*i,this.y=t.y+(r.y-t.y)*i,this}equals(t){return t.x===this.x&&t.y===this.y}fromArray(t,r=0){return this.x=t[r],this.y=t[r+1],this}toArray(t=[],r=0){return t[r]=this.x,t[r+1]=this.y,t}fromBufferAttribute(t,r){return this.x=t.getX(r),this.y=t.getY(r),this}rotateAround(t,r){const i=Math.cos(r),g=Math.sin(r),$=this.x-t.x,V=this.y-t.y;return this.x=$*i-V*g+t.x,this.y=$*g+V*i+t.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class Quaternion{constructor(t=0,r=0,i=0,g=1){this.isQuaternion=!0,this._x=t,this._y=r,this._z=i,this._w=g}static slerpFlat(t,r,i,g,$,V,re){let ie=i[g+0],ae=i[g+1],oe=i[g+2],le=i[g+3],ue=$[V+0],de=$[V+1],he=$[V+2],pe=$[V+3];if(re<=0){t[r+0]=ie,t[r+1]=ae,t[r+2]=oe,t[r+3]=le;return}if(re>=1){t[r+0]=ue,t[r+1]=de,t[r+2]=he,t[r+3]=pe;return}if(le!==pe||ie!==ue||ae!==de||oe!==he){let _e=ie*ue+ae*de+oe*he+le*pe;_e<0&&(ue=-ue,de=-de,he=-he,pe=-pe,_e=-_e);let Ce=1-re;if(_e<.9995){const xe=Math.acos(_e),Ie=Math.sin(xe);Ce=Math.sin(Ce*xe)/Ie,re=Math.sin(re*xe)/Ie,ie=ie*Ce+ue*re,ae=ae*Ce+de*re,oe=oe*Ce+he*re,le=le*Ce+pe*re}else{ie=ie*Ce+ue*re,ae=ae*Ce+de*re,oe=oe*Ce+he*re,le=le*Ce+pe*re;const xe=1/Math.sqrt(ie*ie+ae*ae+oe*oe+le*le);ie*=xe,ae*=xe,oe*=xe,le*=xe}}t[r]=ie,t[r+1]=ae,t[r+2]=oe,t[r+3]=le}static multiplyQuaternionsFlat(t,r,i,g,$,V){const re=i[g],ie=i[g+1],ae=i[g+2],oe=i[g+3],le=$[V],ue=$[V+1],de=$[V+2],he=$[V+3];return t[r]=re*he+oe*le+ie*de-ae*ue,t[r+1]=ie*he+oe*ue+ae*le-re*de,t[r+2]=ae*he+oe*de+re*ue-ie*le,t[r+3]=oe*he-re*le-ie*ue-ae*de,t}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get w(){return this._w}set w(t){this._w=t,this._onChangeCallback()}set(t,r,i,g){return this._x=t,this._y=r,this._z=i,this._w=g,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(t){return this._x=t.x,this._y=t.y,this._z=t.z,this._w=t.w,this._onChangeCallback(),this}setFromEuler(t,r=!0){const i=t._x,g=t._y,$=t._z,V=t._order,re=Math.cos,ie=Math.sin,ae=re(i/2),oe=re(g/2),le=re($/2),ue=ie(i/2),de=ie(g/2),he=ie($/2);switch(V){case"XYZ":this._x=ue*oe*le+ae*de*he,this._y=ae*de*le-ue*oe*he,this._z=ae*oe*he+ue*de*le,this._w=ae*oe*le-ue*de*he;break;case"YXZ":this._x=ue*oe*le+ae*de*he,this._y=ae*de*le-ue*oe*he,this._z=ae*oe*he-ue*de*le,this._w=ae*oe*le+ue*de*he;break;case"ZXY":this._x=ue*oe*le-ae*de*he,this._y=ae*de*le+ue*oe*he,this._z=ae*oe*he+ue*de*le,this._w=ae*oe*le-ue*de*he;break;case"ZYX":this._x=ue*oe*le-ae*de*he,this._y=ae*de*le+ue*oe*he,this._z=ae*oe*he-ue*de*le,this._w=ae*oe*le+ue*de*he;break;case"YZX":this._x=ue*oe*le+ae*de*he,this._y=ae*de*le+ue*oe*he,this._z=ae*oe*he-ue*de*le,this._w=ae*oe*le-ue*de*he;break;case"XZY":this._x=ue*oe*le-ae*de*he,this._y=ae*de*le-ue*oe*he,this._z=ae*oe*he+ue*de*le,this._w=ae*oe*le+ue*de*he;break;default:warn("Quaternion: .setFromEuler() encountered an unknown order: "+V)}return r===!0&&this._onChangeCallback(),this}setFromAxisAngle(t,r){const i=r/2,g=Math.sin(i);return this._x=t.x*g,this._y=t.y*g,this._z=t.z*g,this._w=Math.cos(i),this._onChangeCallback(),this}setFromRotationMatrix(t){const r=t.elements,i=r[0],g=r[4],$=r[8],V=r[1],re=r[5],ie=r[9],ae=r[2],oe=r[6],le=r[10],ue=i+re+le;if(ue>0){const de=.5/Math.sqrt(ue+1);this._w=.25/de,this._x=(oe-ie)*de,this._y=($-ae)*de,this._z=(V-g)*de}else if(i>re&&i>le){const de=2*Math.sqrt(1+i-re-le);this._w=(oe-ie)/de,this._x=.25*de,this._y=(g+V)/de,this._z=($+ae)/de}else if(re>le){const de=2*Math.sqrt(1+re-i-le);this._w=($-ae)/de,this._x=(g+V)/de,this._y=.25*de,this._z=(ie+oe)/de}else{const de=2*Math.sqrt(1+le-i-re);this._w=(V-g)/de,this._x=($+ae)/de,this._y=(ie+oe)/de,this._z=.25*de}return this._onChangeCallback(),this}setFromUnitVectors(t,r){let i=t.dot(r)+1;return i<1e-8?(i=0,Math.abs(t.x)>Math.abs(t.z)?(this._x=-t.y,this._y=t.x,this._z=0,this._w=i):(this._x=0,this._y=-t.z,this._z=t.y,this._w=i)):(this._x=t.y*r.z-t.z*r.y,this._y=t.z*r.x-t.x*r.z,this._z=t.x*r.y-t.y*r.x,this._w=i),this.normalize()}angleTo(t){return 2*Math.acos(Math.abs(clamp$1(this.dot(t),-1,1)))}rotateTowards(t,r){const i=this.angleTo(t);if(i===0)return this;const g=Math.min(1,r/i);return this.slerp(t,g),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(t){return this._x*t._x+this._y*t._y+this._z*t._z+this._w*t._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let t=this.length();return t===0?(this._x=0,this._y=0,this._z=0,this._w=1):(t=1/t,this._x=this._x*t,this._y=this._y*t,this._z=this._z*t,this._w=this._w*t),this._onChangeCallback(),this}multiply(t){return this.multiplyQuaternions(this,t)}premultiply(t){return this.multiplyQuaternions(t,this)}multiplyQuaternions(t,r){const i=t._x,g=t._y,$=t._z,V=t._w,re=r._x,ie=r._y,ae=r._z,oe=r._w;return this._x=i*oe+V*re+g*ae-$*ie,this._y=g*oe+V*ie+$*re-i*ae,this._z=$*oe+V*ae+i*ie-g*re,this._w=V*oe-i*re-g*ie-$*ae,this._onChangeCallback(),this}slerp(t,r){if(r<=0)return this;if(r>=1)return this.copy(t);let i=t._x,g=t._y,$=t._z,V=t._w,re=this.dot(t);re<0&&(i=-i,g=-g,$=-$,V=-V,re=-re);let ie=1-r;if(re<.9995){const ae=Math.acos(re),oe=Math.sin(ae);ie=Math.sin(ie*ae)/oe,r=Math.sin(r*ae)/oe,this._x=this._x*ie+i*r,this._y=this._y*ie+g*r,this._z=this._z*ie+$*r,this._w=this._w*ie+V*r,this._onChangeCallback()}else this._x=this._x*ie+i*r,this._y=this._y*ie+g*r,this._z=this._z*ie+$*r,this._w=this._w*ie+V*r,this.normalize();return this}slerpQuaternions(t,r,i){return this.copy(t).slerp(r,i)}random(){const t=2*Math.PI*Math.random(),r=2*Math.PI*Math.random(),i=Math.random(),g=Math.sqrt(1-i),$=Math.sqrt(i);return this.set(g*Math.sin(t),g*Math.cos(t),$*Math.sin(r),$*Math.cos(r))}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._w===this._w}fromArray(t,r=0){return this._x=t[r],this._y=t[r+1],this._z=t[r+2],this._w=t[r+3],this._onChangeCallback(),this}toArray(t=[],r=0){return t[r]=this._x,t[r+1]=this._y,t[r+2]=this._z,t[r+3]=this._w,t}fromBufferAttribute(t,r){return this._x=t.getX(r),this._y=t.getY(r),this._z=t.getZ(r),this._w=t.getW(r),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class Vector3{constructor(t=0,r=0,i=0){Vector3.prototype.isVector3=!0,this.x=t,this.y=r,this.z=i}set(t,r,i){return i===void 0&&(i=this.z),this.x=t,this.y=r,this.z=i,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setComponent(t,r){switch(t){case 0:this.x=r;break;case 1:this.y=r;break;case 2:this.z=r;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this}addVectors(t,r){return this.x=t.x+r.x,this.y=t.y+r.y,this.z=t.z+r.z,this}addScaledVector(t,r){return this.x+=t.x*r,this.y+=t.y*r,this.z+=t.z*r,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this}subVectors(t,r){return this.x=t.x-r.x,this.y=t.y-r.y,this.z=t.z-r.z,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this}multiplyVectors(t,r){return this.x=t.x*r.x,this.y=t.y*r.y,this.z=t.z*r.z,this}applyEuler(t){return this.applyQuaternion(_quaternion$4.setFromEuler(t))}applyAxisAngle(t,r){return this.applyQuaternion(_quaternion$4.setFromAxisAngle(t,r))}applyMatrix3(t){const r=this.x,i=this.y,g=this.z,$=t.elements;return this.x=$[0]*r+$[3]*i+$[6]*g,this.y=$[1]*r+$[4]*i+$[7]*g,this.z=$[2]*r+$[5]*i+$[8]*g,this}applyNormalMatrix(t){return this.applyMatrix3(t).normalize()}applyMatrix4(t){const r=this.x,i=this.y,g=this.z,$=t.elements,V=1/($[3]*r+$[7]*i+$[11]*g+$[15]);return this.x=($[0]*r+$[4]*i+$[8]*g+$[12])*V,this.y=($[1]*r+$[5]*i+$[9]*g+$[13])*V,this.z=($[2]*r+$[6]*i+$[10]*g+$[14])*V,this}applyQuaternion(t){const r=this.x,i=this.y,g=this.z,$=t.x,V=t.y,re=t.z,ie=t.w,ae=2*(V*g-re*i),oe=2*(re*r-$*g),le=2*($*i-V*r);return this.x=r+ie*ae+V*le-re*oe,this.y=i+ie*oe+re*ae-$*le,this.z=g+ie*le+$*oe-V*ae,this}project(t){return this.applyMatrix4(t.matrixWorldInverse).applyMatrix4(t.projectionMatrix)}unproject(t){return this.applyMatrix4(t.projectionMatrixInverse).applyMatrix4(t.matrixWorld)}transformDirection(t){const r=this.x,i=this.y,g=this.z,$=t.elements;return this.x=$[0]*r+$[4]*i+$[8]*g,this.y=$[1]*r+$[5]*i+$[9]*g,this.z=$[2]*r+$[6]*i+$[10]*g,this.normalize()}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this}divideScalar(t){return this.multiplyScalar(1/t)}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this}clamp(t,r){return this.x=clamp$1(this.x,t.x,r.x),this.y=clamp$1(this.y,t.y,r.y),this.z=clamp$1(this.z,t.z,r.z),this}clampScalar(t,r){return this.x=clamp$1(this.x,t,r),this.y=clamp$1(this.y,t,r),this.z=clamp$1(this.z,t,r),this}clampLength(t,r){const i=this.length();return this.divideScalar(i||1).multiplyScalar(clamp$1(i,t,r))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,r){return this.x+=(t.x-this.x)*r,this.y+=(t.y-this.y)*r,this.z+=(t.z-this.z)*r,this}lerpVectors(t,r,i){return this.x=t.x+(r.x-t.x)*i,this.y=t.y+(r.y-t.y)*i,this.z=t.z+(r.z-t.z)*i,this}cross(t){return this.crossVectors(this,t)}crossVectors(t,r){const i=t.x,g=t.y,$=t.z,V=r.x,re=r.y,ie=r.z;return this.x=g*ie-$*re,this.y=$*V-i*ie,this.z=i*re-g*V,this}projectOnVector(t){const r=t.lengthSq();if(r===0)return this.set(0,0,0);const i=t.dot(this)/r;return this.copy(t).multiplyScalar(i)}projectOnPlane(t){return _vector$c.copy(this).projectOnVector(t),this.sub(_vector$c)}reflect(t){return this.sub(_vector$c.copy(t).multiplyScalar(2*this.dot(t)))}angleTo(t){const r=Math.sqrt(this.lengthSq()*t.lengthSq());if(r===0)return Math.PI/2;const i=this.dot(t)/r;return Math.acos(clamp$1(i,-1,1))}distanceTo(t){return Math.sqrt(this.distanceToSquared(t))}distanceToSquared(t){const r=this.x-t.x,i=this.y-t.y,g=this.z-t.z;return r*r+i*i+g*g}manhattanDistanceTo(t){return Math.abs(this.x-t.x)+Math.abs(this.y-t.y)+Math.abs(this.z-t.z)}setFromSpherical(t){return this.setFromSphericalCoords(t.radius,t.phi,t.theta)}setFromSphericalCoords(t,r,i){const g=Math.sin(r)*t;return this.x=g*Math.sin(i),this.y=Math.cos(r)*t,this.z=g*Math.cos(i),this}setFromCylindrical(t){return this.setFromCylindricalCoords(t.radius,t.theta,t.y)}setFromCylindricalCoords(t,r,i){return this.x=t*Math.sin(r),this.y=i,this.z=t*Math.cos(r),this}setFromMatrixPosition(t){const r=t.elements;return this.x=r[12],this.y=r[13],this.z=r[14],this}setFromMatrixScale(t){const r=this.setFromMatrixColumn(t,0).length(),i=this.setFromMatrixColumn(t,1).length(),g=this.setFromMatrixColumn(t,2).length();return this.x=r,this.y=i,this.z=g,this}setFromMatrixColumn(t,r){return this.fromArray(t.elements,r*4)}setFromMatrix3Column(t,r){return this.fromArray(t.elements,r*3)}setFromEuler(t){return this.x=t._x,this.y=t._y,this.z=t._z,this}setFromColor(t){return this.x=t.r,this.y=t.g,this.z=t.b,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z}fromArray(t,r=0){return this.x=t[r],this.y=t[r+1],this.z=t[r+2],this}toArray(t=[],r=0){return t[r]=this.x,t[r+1]=this.y,t[r+2]=this.z,t}fromBufferAttribute(t,r){return this.x=t.getX(r),this.y=t.getY(r),this.z=t.getZ(r),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const t=Math.random()*Math.PI*2,r=Math.random()*2-1,i=Math.sqrt(1-r*r);return this.x=i*Math.cos(t),this.y=r,this.z=i*Math.sin(t),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const _vector$c=new Vector3,_quaternion$4=new Quaternion;class Matrix3{constructor(t,r,i,g,$,V,re,ie,ae){Matrix3.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],t!==void 0&&this.set(t,r,i,g,$,V,re,ie,ae)}set(t,r,i,g,$,V,re,ie,ae){const oe=this.elements;return oe[0]=t,oe[1]=g,oe[2]=re,oe[3]=r,oe[4]=$,oe[5]=ie,oe[6]=i,oe[7]=V,oe[8]=ae,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(t){const r=this.elements,i=t.elements;return r[0]=i[0],r[1]=i[1],r[2]=i[2],r[3]=i[3],r[4]=i[4],r[5]=i[5],r[6]=i[6],r[7]=i[7],r[8]=i[8],this}extractBasis(t,r,i){return t.setFromMatrix3Column(this,0),r.setFromMatrix3Column(this,1),i.setFromMatrix3Column(this,2),this}setFromMatrix4(t){const r=t.elements;return this.set(r[0],r[4],r[8],r[1],r[5],r[9],r[2],r[6],r[10]),this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,r){const i=t.elements,g=r.elements,$=this.elements,V=i[0],re=i[3],ie=i[6],ae=i[1],oe=i[4],le=i[7],ue=i[2],de=i[5],he=i[8],pe=g[0],_e=g[3],Ce=g[6],xe=g[1],Ie=g[4],Ne=g[7],Oe=g[2],$e=g[5],Ve=g[8];return $[0]=V*pe+re*xe+ie*Oe,$[3]=V*_e+re*Ie+ie*$e,$[6]=V*Ce+re*Ne+ie*Ve,$[1]=ae*pe+oe*xe+le*Oe,$[4]=ae*_e+oe*Ie+le*$e,$[7]=ae*Ce+oe*Ne+le*Ve,$[2]=ue*pe+de*xe+he*Oe,$[5]=ue*_e+de*Ie+he*$e,$[8]=ue*Ce+de*Ne+he*Ve,this}multiplyScalar(t){const r=this.elements;return r[0]*=t,r[3]*=t,r[6]*=t,r[1]*=t,r[4]*=t,r[7]*=t,r[2]*=t,r[5]*=t,r[8]*=t,this}determinant(){const t=this.elements,r=t[0],i=t[1],g=t[2],$=t[3],V=t[4],re=t[5],ie=t[6],ae=t[7],oe=t[8];return r*V*oe-r*re*ae-i*$*oe+i*re*ie+g*$*ae-g*V*ie}invert(){const t=this.elements,r=t[0],i=t[1],g=t[2],$=t[3],V=t[4],re=t[5],ie=t[6],ae=t[7],oe=t[8],le=oe*V-re*ae,ue=re*ie-oe*$,de=ae*$-V*ie,he=r*le+i*ue+g*de;if(he===0)return this.set(0,0,0,0,0,0,0,0,0);const pe=1/he;return t[0]=le*pe,t[1]=(g*ae-oe*i)*pe,t[2]=(re*i-g*V)*pe,t[3]=ue*pe,t[4]=(oe*r-g*ie)*pe,t[5]=(g*$-re*r)*pe,t[6]=de*pe,t[7]=(i*ie-ae*r)*pe,t[8]=(V*r-i*$)*pe,this}transpose(){let t;const r=this.elements;return t=r[1],r[1]=r[3],r[3]=t,t=r[2],r[2]=r[6],r[6]=t,t=r[5],r[5]=r[7],r[7]=t,this}getNormalMatrix(t){return this.setFromMatrix4(t).invert().transpose()}transposeIntoArray(t){const r=this.elements;return t[0]=r[0],t[1]=r[3],t[2]=r[6],t[3]=r[1],t[4]=r[4],t[5]=r[7],t[6]=r[2],t[7]=r[5],t[8]=r[8],this}setUvTransform(t,r,i,g,$,V,re){const ie=Math.cos($),ae=Math.sin($);return this.set(i*ie,i*ae,-i*(ie*V+ae*re)+V+t,-g*ae,g*ie,-g*(-ae*V+ie*re)+re+r,0,0,1),this}scale(t,r){return this.premultiply(_m3.makeScale(t,r)),this}rotate(t){return this.premultiply(_m3.makeRotation(-t)),this}translate(t,r){return this.premultiply(_m3.makeTranslation(t,r)),this}makeTranslation(t,r){return t.isVector2?this.set(1,0,t.x,0,1,t.y,0,0,1):this.set(1,0,t,0,1,r,0,0,1),this}makeRotation(t){const r=Math.cos(t),i=Math.sin(t);return this.set(r,-i,0,i,r,0,0,0,1),this}makeScale(t,r){return this.set(t,0,0,0,r,0,0,0,1),this}equals(t){const r=this.elements,i=t.elements;for(let g=0;g<9;g++)if(r[g]!==i[g])return!1;return!0}fromArray(t,r=0){for(let i=0;i<9;i++)this.elements[i]=t[i+r];return this}toArray(t=[],r=0){const i=this.elements;return t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2],t[r+3]=i[3],t[r+4]=i[4],t[r+5]=i[5],t[r+6]=i[6],t[r+7]=i[7],t[r+8]=i[8],t}clone(){return new this.constructor().fromArray(this.elements)}}const _m3=new Matrix3,LINEAR_REC709_TO_XYZ=new Matrix3().set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),XYZ_TO_LINEAR_REC709=new Matrix3().set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715);function createColorManagement(){const n={enabled:!0,workingColorSpace:LinearSRGBColorSpace,spaces:{},convert:function(g,$,V){return this.enabled===!1||$===V||!$||!V||(this.spaces[$].transfer===SRGBTransfer&&(g.r=SRGBToLinear(g.r),g.g=SRGBToLinear(g.g),g.b=SRGBToLinear(g.b)),this.spaces[$].primaries!==this.spaces[V].primaries&&(g.applyMatrix3(this.spaces[$].toXYZ),g.applyMatrix3(this.spaces[V].fromXYZ)),this.spaces[V].transfer===SRGBTransfer&&(g.r=LinearToSRGB(g.r),g.g=LinearToSRGB(g.g),g.b=LinearToSRGB(g.b))),g},workingToColorSpace:function(g,$){return this.convert(g,this.workingColorSpace,$)},colorSpaceToWorking:function(g,$){return this.convert(g,$,this.workingColorSpace)},getPrimaries:function(g){return this.spaces[g].primaries},getTransfer:function(g){return g===NoColorSpace?LinearTransfer:this.spaces[g].transfer},getToneMappingMode:function(g){return this.spaces[g].outputColorSpaceConfig.toneMappingMode||"standard"},getLuminanceCoefficients:function(g,$=this.workingColorSpace){return g.fromArray(this.spaces[$].luminanceCoefficients)},define:function(g){Object.assign(this.spaces,g)},_getMatrix:function(g,$,V){return g.copy(this.spaces[$].toXYZ).multiply(this.spaces[V].fromXYZ)},_getDrawingBufferColorSpace:function(g){return this.spaces[g].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(g=this.workingColorSpace){return this.spaces[g].workingColorSpaceConfig.unpackColorSpace},fromWorkingColorSpace:function(g,$){return warnOnce("ColorManagement: .fromWorkingColorSpace() has been renamed to .workingToColorSpace()."),n.workingToColorSpace(g,$)},toWorkingColorSpace:function(g,$){return warnOnce("ColorManagement: .toWorkingColorSpace() has been renamed to .colorSpaceToWorking()."),n.colorSpaceToWorking(g,$)}},t=[.64,.33,.3,.6,.15,.06],r=[.2126,.7152,.0722],i=[.3127,.329];return n.define({[LinearSRGBColorSpace]:{primaries:t,whitePoint:i,transfer:LinearTransfer,toXYZ:LINEAR_REC709_TO_XYZ,fromXYZ:XYZ_TO_LINEAR_REC709,luminanceCoefficients:r,workingColorSpaceConfig:{unpackColorSpace:SRGBColorSpace},outputColorSpaceConfig:{drawingBufferColorSpace:SRGBColorSpace}},[SRGBColorSpace]:{primaries:t,whitePoint:i,transfer:SRGBTransfer,toXYZ:LINEAR_REC709_TO_XYZ,fromXYZ:XYZ_TO_LINEAR_REC709,luminanceCoefficients:r,outputColorSpaceConfig:{drawingBufferColorSpace:SRGBColorSpace}}}),n}const ColorManagement=createColorManagement();function SRGBToLinear(n){return n<.04045?n*.0773993808:Math.pow(n*.9478672986+.0521327014,2.4)}function LinearToSRGB(n){return n<.0031308?n*12.92:1.055*Math.pow(n,.41666)-.055}let _canvas;class ImageUtils{static getDataURL(t,r="image/png"){if(/^data:/i.test(t.src)||typeof HTMLCanvasElement>"u")return t.src;let i;if(t instanceof HTMLCanvasElement)i=t;else{_canvas===void 0&&(_canvas=createElementNS("canvas")),_canvas.width=t.width,_canvas.height=t.height;const g=_canvas.getContext("2d");t instanceof ImageData?g.putImageData(t,0,0):g.drawImage(t,0,0,t.width,t.height),i=_canvas}return i.toDataURL(r)}static sRGBToLinear(t){if(typeof HTMLImageElement<"u"&&t instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&t instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&t instanceof ImageBitmap){const r=createElementNS("canvas");r.width=t.width,r.height=t.height;const i=r.getContext("2d");i.drawImage(t,0,0,t.width,t.height);const g=i.getImageData(0,0,t.width,t.height),$=g.data;for(let V=0;V<$.length;V++)$[V]=SRGBToLinear($[V]/255)*255;return i.putImageData(g,0,0),r}else if(t.data){const r=t.data.slice(0);for(let i=0;i1),this.pmremVersion=0}get width(){return this.source.getSize(_tempVec3).x}get height(){return this.source.getSize(_tempVec3).y}get depth(){return this.source.getSize(_tempVec3).z}get image(){return this.source.data}set image(t=null){this.source.data=t}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}addUpdateRange(t,r){this.updateRanges.push({start:t,count:r})}clearUpdateRanges(){this.updateRanges.length=0}clone(){return new this.constructor().copy(this)}copy(t){return this.name=t.name,this.source=t.source,this.mipmaps=t.mipmaps.slice(0),this.mapping=t.mapping,this.channel=t.channel,this.wrapS=t.wrapS,this.wrapT=t.wrapT,this.magFilter=t.magFilter,this.minFilter=t.minFilter,this.anisotropy=t.anisotropy,this.format=t.format,this.internalFormat=t.internalFormat,this.type=t.type,this.offset.copy(t.offset),this.repeat.copy(t.repeat),this.center.copy(t.center),this.rotation=t.rotation,this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrix.copy(t.matrix),this.generateMipmaps=t.generateMipmaps,this.premultiplyAlpha=t.premultiplyAlpha,this.flipY=t.flipY,this.unpackAlignment=t.unpackAlignment,this.colorSpace=t.colorSpace,this.renderTarget=t.renderTarget,this.isRenderTargetTexture=t.isRenderTargetTexture,this.isArrayTexture=t.isArrayTexture,this.userData=JSON.parse(JSON.stringify(t.userData)),this.needsUpdate=!0,this}setValues(t){for(const r in t){const i=t[r];if(i===void 0){warn(`Texture.setValues(): parameter '${r}' has value of undefined.`);continue}const g=this[r];if(g===void 0){warn(`Texture.setValues(): property '${r}' does not exist.`);continue}g&&i&&g.isVector2&&i.isVector2||g&&i&&g.isVector3&&i.isVector3||g&&i&&g.isMatrix3&&i.isMatrix3?g.copy(i):this[r]=i}}toJSON(t){const r=t===void 0||typeof t=="string";if(!r&&t.textures[this.uuid]!==void 0)return t.textures[this.uuid];const i={metadata:{version:4.7,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(t).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(i.userData=this.userData),r||(t.textures[this.uuid]=i),i}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(t){if(this.mapping!==UVMapping)return t;if(t.applyMatrix3(this.matrix),t.x<0||t.x>1)switch(this.wrapS){case RepeatWrapping:t.x=t.x-Math.floor(t.x);break;case ClampToEdgeWrapping:t.x=t.x<0?0:1;break;case MirroredRepeatWrapping:Math.abs(Math.floor(t.x)%2)===1?t.x=Math.ceil(t.x)-t.x:t.x=t.x-Math.floor(t.x);break}if(t.y<0||t.y>1)switch(this.wrapT){case RepeatWrapping:t.y=t.y-Math.floor(t.y);break;case ClampToEdgeWrapping:t.y=t.y<0?0:1;break;case MirroredRepeatWrapping:Math.abs(Math.floor(t.y)%2)===1?t.y=Math.ceil(t.y)-t.y:t.y=t.y-Math.floor(t.y);break}return this.flipY&&(t.y=1-t.y),t}set needsUpdate(t){t===!0&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(t){t===!0&&this.pmremVersion++}}Texture.DEFAULT_IMAGE=null;Texture.DEFAULT_MAPPING=UVMapping;Texture.DEFAULT_ANISOTROPY=1;class Vector4{constructor(t=0,r=0,i=0,g=1){Vector4.prototype.isVector4=!0,this.x=t,this.y=r,this.z=i,this.w=g}get width(){return this.z}set width(t){this.z=t}get height(){return this.w}set height(t){this.w=t}set(t,r,i,g){return this.x=t,this.y=r,this.z=i,this.w=g,this}setScalar(t){return this.x=t,this.y=t,this.z=t,this.w=t,this}setX(t){return this.x=t,this}setY(t){return this.y=t,this}setZ(t){return this.z=t,this}setW(t){return this.w=t,this}setComponent(t,r){switch(t){case 0:this.x=r;break;case 1:this.y=r;break;case 2:this.z=r;break;case 3:this.w=r;break;default:throw new Error("index is out of range: "+t)}return this}getComponent(t){switch(t){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+t)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(t){return this.x=t.x,this.y=t.y,this.z=t.z,this.w=t.w!==void 0?t.w:1,this}add(t){return this.x+=t.x,this.y+=t.y,this.z+=t.z,this.w+=t.w,this}addScalar(t){return this.x+=t,this.y+=t,this.z+=t,this.w+=t,this}addVectors(t,r){return this.x=t.x+r.x,this.y=t.y+r.y,this.z=t.z+r.z,this.w=t.w+r.w,this}addScaledVector(t,r){return this.x+=t.x*r,this.y+=t.y*r,this.z+=t.z*r,this.w+=t.w*r,this}sub(t){return this.x-=t.x,this.y-=t.y,this.z-=t.z,this.w-=t.w,this}subScalar(t){return this.x-=t,this.y-=t,this.z-=t,this.w-=t,this}subVectors(t,r){return this.x=t.x-r.x,this.y=t.y-r.y,this.z=t.z-r.z,this.w=t.w-r.w,this}multiply(t){return this.x*=t.x,this.y*=t.y,this.z*=t.z,this.w*=t.w,this}multiplyScalar(t){return this.x*=t,this.y*=t,this.z*=t,this.w*=t,this}applyMatrix4(t){const r=this.x,i=this.y,g=this.z,$=this.w,V=t.elements;return this.x=V[0]*r+V[4]*i+V[8]*g+V[12]*$,this.y=V[1]*r+V[5]*i+V[9]*g+V[13]*$,this.z=V[2]*r+V[6]*i+V[10]*g+V[14]*$,this.w=V[3]*r+V[7]*i+V[11]*g+V[15]*$,this}divide(t){return this.x/=t.x,this.y/=t.y,this.z/=t.z,this.w/=t.w,this}divideScalar(t){return this.multiplyScalar(1/t)}setAxisAngleFromQuaternion(t){this.w=2*Math.acos(t.w);const r=Math.sqrt(1-t.w*t.w);return r<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=t.x/r,this.y=t.y/r,this.z=t.z/r),this}setAxisAngleFromRotationMatrix(t){let r,i,g,$;const ie=t.elements,ae=ie[0],oe=ie[4],le=ie[8],ue=ie[1],de=ie[5],he=ie[9],pe=ie[2],_e=ie[6],Ce=ie[10];if(Math.abs(oe-ue)<.01&&Math.abs(le-pe)<.01&&Math.abs(he-_e)<.01){if(Math.abs(oe+ue)<.1&&Math.abs(le+pe)<.1&&Math.abs(he+_e)<.1&&Math.abs(ae+de+Ce-3)<.1)return this.set(1,0,0,0),this;r=Math.PI;const Ie=(ae+1)/2,Ne=(de+1)/2,Oe=(Ce+1)/2,$e=(oe+ue)/4,Ve=(le+pe)/4,Ue=(he+_e)/4;return Ie>Ne&&Ie>Oe?Ie<.01?(i=0,g=.707106781,$=.707106781):(i=Math.sqrt(Ie),g=$e/i,$=Ve/i):Ne>Oe?Ne<.01?(i=.707106781,g=0,$=.707106781):(g=Math.sqrt(Ne),i=$e/g,$=Ue/g):Oe<.01?(i=.707106781,g=.707106781,$=0):($=Math.sqrt(Oe),i=Ve/$,g=Ue/$),this.set(i,g,$,r),this}let xe=Math.sqrt((_e-he)*(_e-he)+(le-pe)*(le-pe)+(ue-oe)*(ue-oe));return Math.abs(xe)<.001&&(xe=1),this.x=(_e-he)/xe,this.y=(le-pe)/xe,this.z=(ue-oe)/xe,this.w=Math.acos((ae+de+Ce-1)/2),this}setFromMatrixPosition(t){const r=t.elements;return this.x=r[12],this.y=r[13],this.z=r[14],this.w=r[15],this}min(t){return this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.z=Math.min(this.z,t.z),this.w=Math.min(this.w,t.w),this}max(t){return this.x=Math.max(this.x,t.x),this.y=Math.max(this.y,t.y),this.z=Math.max(this.z,t.z),this.w=Math.max(this.w,t.w),this}clamp(t,r){return this.x=clamp$1(this.x,t.x,r.x),this.y=clamp$1(this.y,t.y,r.y),this.z=clamp$1(this.z,t.z,r.z),this.w=clamp$1(this.w,t.w,r.w),this}clampScalar(t,r){return this.x=clamp$1(this.x,t,r),this.y=clamp$1(this.y,t,r),this.z=clamp$1(this.z,t,r),this.w=clamp$1(this.w,t,r),this}clampLength(t,r){const i=this.length();return this.divideScalar(i||1).multiplyScalar(clamp$1(i,t,r))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(t){return this.x*t.x+this.y*t.y+this.z*t.z+this.w*t.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(t){return this.normalize().multiplyScalar(t)}lerp(t,r){return this.x+=(t.x-this.x)*r,this.y+=(t.y-this.y)*r,this.z+=(t.z-this.z)*r,this.w+=(t.w-this.w)*r,this}lerpVectors(t,r,i){return this.x=t.x+(r.x-t.x)*i,this.y=t.y+(r.y-t.y)*i,this.z=t.z+(r.z-t.z)*i,this.w=t.w+(r.w-t.w)*i,this}equals(t){return t.x===this.x&&t.y===this.y&&t.z===this.z&&t.w===this.w}fromArray(t,r=0){return this.x=t[r],this.y=t[r+1],this.z=t[r+2],this.w=t[r+3],this}toArray(t=[],r=0){return t[r]=this.x,t[r+1]=this.y,t[r+2]=this.z,t[r+3]=this.w,t}fromBufferAttribute(t,r){return this.x=t.getX(r),this.y=t.getY(r),this.z=t.getZ(r),this.w=t.getW(r),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class RenderTarget extends EventDispatcher{constructor(t=1,r=1,i={}){super(),i=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:LinearFilter,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1,depth:1,multiview:!1},i),this.isRenderTarget=!0,this.width=t,this.height=r,this.depth=i.depth,this.scissor=new Vector4(0,0,t,r),this.scissorTest=!1,this.viewport=new Vector4(0,0,t,r);const g={width:t,height:r,depth:i.depth},$=new Texture(g);this.textures=[];const V=i.count;for(let re=0;re1);this.dispose()}this.viewport.set(0,0,t,r),this.scissor.set(0,0,t,r)}clone(){return new this.constructor().copy(this)}copy(t){this.width=t.width,this.height=t.height,this.depth=t.depth,this.scissor.copy(t.scissor),this.scissorTest=t.scissorTest,this.viewport.copy(t.viewport),this.textures.length=0;for(let r=0,i=t.textures.length;r=this.min.x&&t.x<=this.max.x&&t.y>=this.min.y&&t.y<=this.max.y&&t.z>=this.min.z&&t.z<=this.max.z}containsBox(t){return this.min.x<=t.min.x&&t.max.x<=this.max.x&&this.min.y<=t.min.y&&t.max.y<=this.max.y&&this.min.z<=t.min.z&&t.max.z<=this.max.z}getParameter(t,r){return r.set((t.x-this.min.x)/(this.max.x-this.min.x),(t.y-this.min.y)/(this.max.y-this.min.y),(t.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(t){return t.max.x>=this.min.x&&t.min.x<=this.max.x&&t.max.y>=this.min.y&&t.min.y<=this.max.y&&t.max.z>=this.min.z&&t.min.z<=this.max.z}intersectsSphere(t){return this.clampPoint(t.center,_vector$b),_vector$b.distanceToSquared(t.center)<=t.radius*t.radius}intersectsPlane(t){let r,i;return t.normal.x>0?(r=t.normal.x*this.min.x,i=t.normal.x*this.max.x):(r=t.normal.x*this.max.x,i=t.normal.x*this.min.x),t.normal.y>0?(r+=t.normal.y*this.min.y,i+=t.normal.y*this.max.y):(r+=t.normal.y*this.max.y,i+=t.normal.y*this.min.y),t.normal.z>0?(r+=t.normal.z*this.min.z,i+=t.normal.z*this.max.z):(r+=t.normal.z*this.max.z,i+=t.normal.z*this.min.z),r<=-t.constant&&i>=-t.constant}intersectsTriangle(t){if(this.isEmpty())return!1;this.getCenter(_center),_extents.subVectors(this.max,_center),_v0$2.subVectors(t.a,_center),_v1$7.subVectors(t.b,_center),_v2$4.subVectors(t.c,_center),_f0.subVectors(_v1$7,_v0$2),_f1.subVectors(_v2$4,_v1$7),_f2.subVectors(_v0$2,_v2$4);let r=[0,-_f0.z,_f0.y,0,-_f1.z,_f1.y,0,-_f2.z,_f2.y,_f0.z,0,-_f0.x,_f1.z,0,-_f1.x,_f2.z,0,-_f2.x,-_f0.y,_f0.x,0,-_f1.y,_f1.x,0,-_f2.y,_f2.x,0];return!satForAxes(r,_v0$2,_v1$7,_v2$4,_extents)||(r=[1,0,0,0,1,0,0,0,1],!satForAxes(r,_v0$2,_v1$7,_v2$4,_extents))?!1:(_triangleNormal.crossVectors(_f0,_f1),r=[_triangleNormal.x,_triangleNormal.y,_triangleNormal.z],satForAxes(r,_v0$2,_v1$7,_v2$4,_extents))}clampPoint(t,r){return r.copy(t).clamp(this.min,this.max)}distanceToPoint(t){return this.clampPoint(t,_vector$b).distanceTo(t)}getBoundingSphere(t){return this.isEmpty()?t.makeEmpty():(this.getCenter(t.center),t.radius=this.getSize(_vector$b).length()*.5),t}intersect(t){return this.min.max(t.min),this.max.min(t.max),this.isEmpty()&&this.makeEmpty(),this}union(t){return this.min.min(t.min),this.max.max(t.max),this}applyMatrix4(t){return this.isEmpty()?this:(_points[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(t),_points[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(t),_points[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(t),_points[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(t),_points[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(t),_points[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(t),_points[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(t),_points[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(t),this.setFromPoints(_points),this)}translate(t){return this.min.add(t),this.max.add(t),this}equals(t){return t.min.equals(this.min)&&t.max.equals(this.max)}toJSON(){return{min:this.min.toArray(),max:this.max.toArray()}}fromJSON(t){return this.min.fromArray(t.min),this.max.fromArray(t.max),this}}const _points=[new Vector3,new Vector3,new Vector3,new Vector3,new Vector3,new Vector3,new Vector3,new Vector3],_vector$b=new Vector3,_box$4=new Box3,_v0$2=new Vector3,_v1$7=new Vector3,_v2$4=new Vector3,_f0=new Vector3,_f1=new Vector3,_f2=new Vector3,_center=new Vector3,_extents=new Vector3,_triangleNormal=new Vector3,_testAxis=new Vector3;function satForAxes(n,t,r,i,g){for(let $=0,V=n.length-3;$<=V;$+=3){_testAxis.fromArray(n,$);const re=g.x*Math.abs(_testAxis.x)+g.y*Math.abs(_testAxis.y)+g.z*Math.abs(_testAxis.z),ie=t.dot(_testAxis),ae=r.dot(_testAxis),oe=i.dot(_testAxis);if(Math.max(-Math.max(ie,ae,oe),Math.min(ie,ae,oe))>re)return!1}return!0}const _box$3=new Box3,_v1$6=new Vector3,_v2$3=new Vector3;class Sphere{constructor(t=new Vector3,r=-1){this.isSphere=!0,this.center=t,this.radius=r}set(t,r){return this.center.copy(t),this.radius=r,this}setFromPoints(t,r){const i=this.center;r!==void 0?i.copy(r):_box$3.setFromPoints(t).getCenter(i);let g=0;for(let $=0,V=t.length;$this.radius*this.radius&&(r.sub(this.center).normalize(),r.multiplyScalar(this.radius).add(this.center)),r}getBoundingBox(t){return this.isEmpty()?(t.makeEmpty(),t):(t.set(this.center,this.center),t.expandByScalar(this.radius),t)}applyMatrix4(t){return this.center.applyMatrix4(t),this.radius=this.radius*t.getMaxScaleOnAxis(),this}translate(t){return this.center.add(t),this}expandByPoint(t){if(this.isEmpty())return this.center.copy(t),this.radius=0,this;_v1$6.subVectors(t,this.center);const r=_v1$6.lengthSq();if(r>this.radius*this.radius){const i=Math.sqrt(r),g=(i-this.radius)*.5;this.center.addScaledVector(_v1$6,g/i),this.radius+=g}return this}union(t){return t.isEmpty()?this:this.isEmpty()?(this.copy(t),this):(this.center.equals(t.center)===!0?this.radius=Math.max(this.radius,t.radius):(_v2$3.subVectors(t.center,this.center).setLength(t.radius),this.expandByPoint(_v1$6.copy(t.center).add(_v2$3)),this.expandByPoint(_v1$6.copy(t.center).sub(_v2$3))),this)}equals(t){return t.center.equals(this.center)&&t.radius===this.radius}clone(){return new this.constructor().copy(this)}toJSON(){return{radius:this.radius,center:this.center.toArray()}}fromJSON(t){return this.radius=t.radius,this.center.fromArray(t.center),this}}const _vector$a=new Vector3,_segCenter=new Vector3,_segDir=new Vector3,_diff=new Vector3,_edge1=new Vector3,_edge2=new Vector3,_normal$1=new Vector3;class Ray{constructor(t=new Vector3,r=new Vector3(0,0,-1)){this.origin=t,this.direction=r}set(t,r){return this.origin.copy(t),this.direction.copy(r),this}copy(t){return this.origin.copy(t.origin),this.direction.copy(t.direction),this}at(t,r){return r.copy(this.origin).addScaledVector(this.direction,t)}lookAt(t){return this.direction.copy(t).sub(this.origin).normalize(),this}recast(t){return this.origin.copy(this.at(t,_vector$a)),this}closestPointToPoint(t,r){r.subVectors(t,this.origin);const i=r.dot(this.direction);return i<0?r.copy(this.origin):r.copy(this.origin).addScaledVector(this.direction,i)}distanceToPoint(t){return Math.sqrt(this.distanceSqToPoint(t))}distanceSqToPoint(t){const r=_vector$a.subVectors(t,this.origin).dot(this.direction);return r<0?this.origin.distanceToSquared(t):(_vector$a.copy(this.origin).addScaledVector(this.direction,r),_vector$a.distanceToSquared(t))}distanceSqToSegment(t,r,i,g){_segCenter.copy(t).add(r).multiplyScalar(.5),_segDir.copy(r).sub(t).normalize(),_diff.copy(this.origin).sub(_segCenter);const $=t.distanceTo(r)*.5,V=-this.direction.dot(_segDir),re=_diff.dot(this.direction),ie=-_diff.dot(_segDir),ae=_diff.lengthSq(),oe=Math.abs(1-V*V);let le,ue,de,he;if(oe>0)if(le=V*ie-re,ue=V*re-ie,he=$*oe,le>=0)if(ue>=-he)if(ue<=he){const pe=1/oe;le*=pe,ue*=pe,de=le*(le+V*ue+2*re)+ue*(V*le+ue+2*ie)+ae}else ue=$,le=Math.max(0,-(V*ue+re)),de=-le*le+ue*(ue+2*ie)+ae;else ue=-$,le=Math.max(0,-(V*ue+re)),de=-le*le+ue*(ue+2*ie)+ae;else ue<=-he?(le=Math.max(0,-(-V*$+re)),ue=le>0?-$:Math.min(Math.max(-$,-ie),$),de=-le*le+ue*(ue+2*ie)+ae):ue<=he?(le=0,ue=Math.min(Math.max(-$,-ie),$),de=ue*(ue+2*ie)+ae):(le=Math.max(0,-(V*$+re)),ue=le>0?$:Math.min(Math.max(-$,-ie),$),de=-le*le+ue*(ue+2*ie)+ae);else ue=V>0?-$:$,le=Math.max(0,-(V*ue+re)),de=-le*le+ue*(ue+2*ie)+ae;return i&&i.copy(this.origin).addScaledVector(this.direction,le),g&&g.copy(_segCenter).addScaledVector(_segDir,ue),de}intersectSphere(t,r){_vector$a.subVectors(t.center,this.origin);const i=_vector$a.dot(this.direction),g=_vector$a.dot(_vector$a)-i*i,$=t.radius*t.radius;if(g>$)return null;const V=Math.sqrt($-g),re=i-V,ie=i+V;return ie<0?null:re<0?this.at(ie,r):this.at(re,r)}intersectsSphere(t){return t.radius<0?!1:this.distanceSqToPoint(t.center)<=t.radius*t.radius}distanceToPlane(t){const r=t.normal.dot(this.direction);if(r===0)return t.distanceToPoint(this.origin)===0?0:null;const i=-(this.origin.dot(t.normal)+t.constant)/r;return i>=0?i:null}intersectPlane(t,r){const i=this.distanceToPlane(t);return i===null?null:this.at(i,r)}intersectsPlane(t){const r=t.distanceToPoint(this.origin);return r===0||t.normal.dot(this.direction)*r<0}intersectBox(t,r){let i,g,$,V,re,ie;const ae=1/this.direction.x,oe=1/this.direction.y,le=1/this.direction.z,ue=this.origin;return ae>=0?(i=(t.min.x-ue.x)*ae,g=(t.max.x-ue.x)*ae):(i=(t.max.x-ue.x)*ae,g=(t.min.x-ue.x)*ae),oe>=0?($=(t.min.y-ue.y)*oe,V=(t.max.y-ue.y)*oe):($=(t.max.y-ue.y)*oe,V=(t.min.y-ue.y)*oe),i>V||$>g||(($>i||isNaN(i))&&(i=$),(V=0?(re=(t.min.z-ue.z)*le,ie=(t.max.z-ue.z)*le):(re=(t.max.z-ue.z)*le,ie=(t.min.z-ue.z)*le),i>ie||re>g)||((re>i||i!==i)&&(i=re),(ie=0?i:g,r)}intersectsBox(t){return this.intersectBox(t,_vector$a)!==null}intersectTriangle(t,r,i,g,$){_edge1.subVectors(r,t),_edge2.subVectors(i,t),_normal$1.crossVectors(_edge1,_edge2);let V=this.direction.dot(_normal$1),re;if(V>0){if(g)return null;re=1}else if(V<0)re=-1,V=-V;else return null;_diff.subVectors(this.origin,t);const ie=re*this.direction.dot(_edge2.crossVectors(_diff,_edge2));if(ie<0)return null;const ae=re*this.direction.dot(_edge1.cross(_diff));if(ae<0||ie+ae>V)return null;const oe=-re*_diff.dot(_normal$1);return oe<0?null:this.at(oe/V,$)}applyMatrix4(t){return this.origin.applyMatrix4(t),this.direction.transformDirection(t),this}equals(t){return t.origin.equals(this.origin)&&t.direction.equals(this.direction)}clone(){return new this.constructor().copy(this)}}class Matrix4{constructor(t,r,i,g,$,V,re,ie,ae,oe,le,ue,de,he,pe,_e){Matrix4.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],t!==void 0&&this.set(t,r,i,g,$,V,re,ie,ae,oe,le,ue,de,he,pe,_e)}set(t,r,i,g,$,V,re,ie,ae,oe,le,ue,de,he,pe,_e){const Ce=this.elements;return Ce[0]=t,Ce[4]=r,Ce[8]=i,Ce[12]=g,Ce[1]=$,Ce[5]=V,Ce[9]=re,Ce[13]=ie,Ce[2]=ae,Ce[6]=oe,Ce[10]=le,Ce[14]=ue,Ce[3]=de,Ce[7]=he,Ce[11]=pe,Ce[15]=_e,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return new Matrix4().fromArray(this.elements)}copy(t){const r=this.elements,i=t.elements;return r[0]=i[0],r[1]=i[1],r[2]=i[2],r[3]=i[3],r[4]=i[4],r[5]=i[5],r[6]=i[6],r[7]=i[7],r[8]=i[8],r[9]=i[9],r[10]=i[10],r[11]=i[11],r[12]=i[12],r[13]=i[13],r[14]=i[14],r[15]=i[15],this}copyPosition(t){const r=this.elements,i=t.elements;return r[12]=i[12],r[13]=i[13],r[14]=i[14],this}setFromMatrix3(t){const r=t.elements;return this.set(r[0],r[3],r[6],0,r[1],r[4],r[7],0,r[2],r[5],r[8],0,0,0,0,1),this}extractBasis(t,r,i){return this.determinant()===0?(t.set(1,0,0),r.set(0,1,0),i.set(0,0,1),this):(t.setFromMatrixColumn(this,0),r.setFromMatrixColumn(this,1),i.setFromMatrixColumn(this,2),this)}makeBasis(t,r,i){return this.set(t.x,r.x,i.x,0,t.y,r.y,i.y,0,t.z,r.z,i.z,0,0,0,0,1),this}extractRotation(t){if(t.determinant()===0)return this.identity();const r=this.elements,i=t.elements,g=1/_v1$5.setFromMatrixColumn(t,0).length(),$=1/_v1$5.setFromMatrixColumn(t,1).length(),V=1/_v1$5.setFromMatrixColumn(t,2).length();return r[0]=i[0]*g,r[1]=i[1]*g,r[2]=i[2]*g,r[3]=0,r[4]=i[4]*$,r[5]=i[5]*$,r[6]=i[6]*$,r[7]=0,r[8]=i[8]*V,r[9]=i[9]*V,r[10]=i[10]*V,r[11]=0,r[12]=0,r[13]=0,r[14]=0,r[15]=1,this}makeRotationFromEuler(t){const r=this.elements,i=t.x,g=t.y,$=t.z,V=Math.cos(i),re=Math.sin(i),ie=Math.cos(g),ae=Math.sin(g),oe=Math.cos($),le=Math.sin($);if(t.order==="XYZ"){const ue=V*oe,de=V*le,he=re*oe,pe=re*le;r[0]=ie*oe,r[4]=-ie*le,r[8]=ae,r[1]=de+he*ae,r[5]=ue-pe*ae,r[9]=-re*ie,r[2]=pe-ue*ae,r[6]=he+de*ae,r[10]=V*ie}else if(t.order==="YXZ"){const ue=ie*oe,de=ie*le,he=ae*oe,pe=ae*le;r[0]=ue+pe*re,r[4]=he*re-de,r[8]=V*ae,r[1]=V*le,r[5]=V*oe,r[9]=-re,r[2]=de*re-he,r[6]=pe+ue*re,r[10]=V*ie}else if(t.order==="ZXY"){const ue=ie*oe,de=ie*le,he=ae*oe,pe=ae*le;r[0]=ue-pe*re,r[4]=-V*le,r[8]=he+de*re,r[1]=de+he*re,r[5]=V*oe,r[9]=pe-ue*re,r[2]=-V*ae,r[6]=re,r[10]=V*ie}else if(t.order==="ZYX"){const ue=V*oe,de=V*le,he=re*oe,pe=re*le;r[0]=ie*oe,r[4]=he*ae-de,r[8]=ue*ae+pe,r[1]=ie*le,r[5]=pe*ae+ue,r[9]=de*ae-he,r[2]=-ae,r[6]=re*ie,r[10]=V*ie}else if(t.order==="YZX"){const ue=V*ie,de=V*ae,he=re*ie,pe=re*ae;r[0]=ie*oe,r[4]=pe-ue*le,r[8]=he*le+de,r[1]=le,r[5]=V*oe,r[9]=-re*oe,r[2]=-ae*oe,r[6]=de*le+he,r[10]=ue-pe*le}else if(t.order==="XZY"){const ue=V*ie,de=V*ae,he=re*ie,pe=re*ae;r[0]=ie*oe,r[4]=-le,r[8]=ae*oe,r[1]=ue*le+pe,r[5]=V*oe,r[9]=de*le-he,r[2]=he*le-de,r[6]=re*oe,r[10]=pe*le+ue}return r[3]=0,r[7]=0,r[11]=0,r[12]=0,r[13]=0,r[14]=0,r[15]=1,this}makeRotationFromQuaternion(t){return this.compose(_zero,t,_one)}lookAt(t,r,i){const g=this.elements;return _z.subVectors(t,r),_z.lengthSq()===0&&(_z.z=1),_z.normalize(),_x.crossVectors(i,_z),_x.lengthSq()===0&&(Math.abs(i.z)===1?_z.x+=1e-4:_z.z+=1e-4,_z.normalize(),_x.crossVectors(i,_z)),_x.normalize(),_y.crossVectors(_z,_x),g[0]=_x.x,g[4]=_y.x,g[8]=_z.x,g[1]=_x.y,g[5]=_y.y,g[9]=_z.y,g[2]=_x.z,g[6]=_y.z,g[10]=_z.z,this}multiply(t){return this.multiplyMatrices(this,t)}premultiply(t){return this.multiplyMatrices(t,this)}multiplyMatrices(t,r){const i=t.elements,g=r.elements,$=this.elements,V=i[0],re=i[4],ie=i[8],ae=i[12],oe=i[1],le=i[5],ue=i[9],de=i[13],he=i[2],pe=i[6],_e=i[10],Ce=i[14],xe=i[3],Ie=i[7],Ne=i[11],Oe=i[15],$e=g[0],Ve=g[4],Ue=g[8],Fe=g[12],ze=g[1],Pt=g[5],qe=g[9],Et=g[13],kt=g[2],At=g[6],Dt=g[10],Lt=g[14],jt=g[3],hn=g[7],vn=g[11],_n=g[15];return $[0]=V*$e+re*ze+ie*kt+ae*jt,$[4]=V*Ve+re*Pt+ie*At+ae*hn,$[8]=V*Ue+re*qe+ie*Dt+ae*vn,$[12]=V*Fe+re*Et+ie*Lt+ae*_n,$[1]=oe*$e+le*ze+ue*kt+de*jt,$[5]=oe*Ve+le*Pt+ue*At+de*hn,$[9]=oe*Ue+le*qe+ue*Dt+de*vn,$[13]=oe*Fe+le*Et+ue*Lt+de*_n,$[2]=he*$e+pe*ze+_e*kt+Ce*jt,$[6]=he*Ve+pe*Pt+_e*At+Ce*hn,$[10]=he*Ue+pe*qe+_e*Dt+Ce*vn,$[14]=he*Fe+pe*Et+_e*Lt+Ce*_n,$[3]=xe*$e+Ie*ze+Ne*kt+Oe*jt,$[7]=xe*Ve+Ie*Pt+Ne*At+Oe*hn,$[11]=xe*Ue+Ie*qe+Ne*Dt+Oe*vn,$[15]=xe*Fe+Ie*Et+Ne*Lt+Oe*_n,this}multiplyScalar(t){const r=this.elements;return r[0]*=t,r[4]*=t,r[8]*=t,r[12]*=t,r[1]*=t,r[5]*=t,r[9]*=t,r[13]*=t,r[2]*=t,r[6]*=t,r[10]*=t,r[14]*=t,r[3]*=t,r[7]*=t,r[11]*=t,r[15]*=t,this}determinant(){const t=this.elements,r=t[0],i=t[4],g=t[8],$=t[12],V=t[1],re=t[5],ie=t[9],ae=t[13],oe=t[2],le=t[6],ue=t[10],de=t[14],he=t[3],pe=t[7],_e=t[11],Ce=t[15],xe=ie*de-ae*ue,Ie=re*de-ae*le,Ne=re*ue-ie*le,Oe=V*de-ae*oe,$e=V*ue-ie*oe,Ve=V*le-re*oe;return r*(pe*xe-_e*Ie+Ce*Ne)-i*(he*xe-_e*Oe+Ce*$e)+g*(he*Ie-pe*Oe+Ce*Ve)-$*(he*Ne-pe*$e+_e*Ve)}transpose(){const t=this.elements;let r;return r=t[1],t[1]=t[4],t[4]=r,r=t[2],t[2]=t[8],t[8]=r,r=t[6],t[6]=t[9],t[9]=r,r=t[3],t[3]=t[12],t[12]=r,r=t[7],t[7]=t[13],t[13]=r,r=t[11],t[11]=t[14],t[14]=r,this}setPosition(t,r,i){const g=this.elements;return t.isVector3?(g[12]=t.x,g[13]=t.y,g[14]=t.z):(g[12]=t,g[13]=r,g[14]=i),this}invert(){const t=this.elements,r=t[0],i=t[1],g=t[2],$=t[3],V=t[4],re=t[5],ie=t[6],ae=t[7],oe=t[8],le=t[9],ue=t[10],de=t[11],he=t[12],pe=t[13],_e=t[14],Ce=t[15],xe=le*_e*ae-pe*ue*ae+pe*ie*de-re*_e*de-le*ie*Ce+re*ue*Ce,Ie=he*ue*ae-oe*_e*ae-he*ie*de+V*_e*de+oe*ie*Ce-V*ue*Ce,Ne=oe*pe*ae-he*le*ae+he*re*de-V*pe*de-oe*re*Ce+V*le*Ce,Oe=he*le*ie-oe*pe*ie-he*re*ue+V*pe*ue+oe*re*_e-V*le*_e,$e=r*xe+i*Ie+g*Ne+$*Oe;if($e===0)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const Ve=1/$e;return t[0]=xe*Ve,t[1]=(pe*ue*$-le*_e*$-pe*g*de+i*_e*de+le*g*Ce-i*ue*Ce)*Ve,t[2]=(re*_e*$-pe*ie*$+pe*g*ae-i*_e*ae-re*g*Ce+i*ie*Ce)*Ve,t[3]=(le*ie*$-re*ue*$-le*g*ae+i*ue*ae+re*g*de-i*ie*de)*Ve,t[4]=Ie*Ve,t[5]=(oe*_e*$-he*ue*$+he*g*de-r*_e*de-oe*g*Ce+r*ue*Ce)*Ve,t[6]=(he*ie*$-V*_e*$-he*g*ae+r*_e*ae+V*g*Ce-r*ie*Ce)*Ve,t[7]=(V*ue*$-oe*ie*$+oe*g*ae-r*ue*ae-V*g*de+r*ie*de)*Ve,t[8]=Ne*Ve,t[9]=(he*le*$-oe*pe*$-he*i*de+r*pe*de+oe*i*Ce-r*le*Ce)*Ve,t[10]=(V*pe*$-he*re*$+he*i*ae-r*pe*ae-V*i*Ce+r*re*Ce)*Ve,t[11]=(oe*re*$-V*le*$-oe*i*ae+r*le*ae+V*i*de-r*re*de)*Ve,t[12]=Oe*Ve,t[13]=(oe*pe*g-he*le*g+he*i*ue-r*pe*ue-oe*i*_e+r*le*_e)*Ve,t[14]=(he*re*g-V*pe*g-he*i*ie+r*pe*ie+V*i*_e-r*re*_e)*Ve,t[15]=(V*le*g-oe*re*g+oe*i*ie-r*le*ie-V*i*ue+r*re*ue)*Ve,this}scale(t){const r=this.elements,i=t.x,g=t.y,$=t.z;return r[0]*=i,r[4]*=g,r[8]*=$,r[1]*=i,r[5]*=g,r[9]*=$,r[2]*=i,r[6]*=g,r[10]*=$,r[3]*=i,r[7]*=g,r[11]*=$,this}getMaxScaleOnAxis(){const t=this.elements,r=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],i=t[4]*t[4]+t[5]*t[5]+t[6]*t[6],g=t[8]*t[8]+t[9]*t[9]+t[10]*t[10];return Math.sqrt(Math.max(r,i,g))}makeTranslation(t,r,i){return t.isVector3?this.set(1,0,0,t.x,0,1,0,t.y,0,0,1,t.z,0,0,0,1):this.set(1,0,0,t,0,1,0,r,0,0,1,i,0,0,0,1),this}makeRotationX(t){const r=Math.cos(t),i=Math.sin(t);return this.set(1,0,0,0,0,r,-i,0,0,i,r,0,0,0,0,1),this}makeRotationY(t){const r=Math.cos(t),i=Math.sin(t);return this.set(r,0,i,0,0,1,0,0,-i,0,r,0,0,0,0,1),this}makeRotationZ(t){const r=Math.cos(t),i=Math.sin(t);return this.set(r,-i,0,0,i,r,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(t,r){const i=Math.cos(r),g=Math.sin(r),$=1-i,V=t.x,re=t.y,ie=t.z,ae=$*V,oe=$*re;return this.set(ae*V+i,ae*re-g*ie,ae*ie+g*re,0,ae*re+g*ie,oe*re+i,oe*ie-g*V,0,ae*ie-g*re,oe*ie+g*V,$*ie*ie+i,0,0,0,0,1),this}makeScale(t,r,i){return this.set(t,0,0,0,0,r,0,0,0,0,i,0,0,0,0,1),this}makeShear(t,r,i,g,$,V){return this.set(1,i,$,0,t,1,V,0,r,g,1,0,0,0,0,1),this}compose(t,r,i){const g=this.elements,$=r._x,V=r._y,re=r._z,ie=r._w,ae=$+$,oe=V+V,le=re+re,ue=$*ae,de=$*oe,he=$*le,pe=V*oe,_e=V*le,Ce=re*le,xe=ie*ae,Ie=ie*oe,Ne=ie*le,Oe=i.x,$e=i.y,Ve=i.z;return g[0]=(1-(pe+Ce))*Oe,g[1]=(de+Ne)*Oe,g[2]=(he-Ie)*Oe,g[3]=0,g[4]=(de-Ne)*$e,g[5]=(1-(ue+Ce))*$e,g[6]=(_e+xe)*$e,g[7]=0,g[8]=(he+Ie)*Ve,g[9]=(_e-xe)*Ve,g[10]=(1-(ue+pe))*Ve,g[11]=0,g[12]=t.x,g[13]=t.y,g[14]=t.z,g[15]=1,this}decompose(t,r,i){const g=this.elements;if(t.x=g[12],t.y=g[13],t.z=g[14],this.determinant()===0)return i.set(1,1,1),r.identity(),this;let $=_v1$5.set(g[0],g[1],g[2]).length();const V=_v1$5.set(g[4],g[5],g[6]).length(),re=_v1$5.set(g[8],g[9],g[10]).length();this.determinant()<0&&($=-$),_m1$2.copy(this);const ae=1/$,oe=1/V,le=1/re;return _m1$2.elements[0]*=ae,_m1$2.elements[1]*=ae,_m1$2.elements[2]*=ae,_m1$2.elements[4]*=oe,_m1$2.elements[5]*=oe,_m1$2.elements[6]*=oe,_m1$2.elements[8]*=le,_m1$2.elements[9]*=le,_m1$2.elements[10]*=le,r.setFromRotationMatrix(_m1$2),i.x=$,i.y=V,i.z=re,this}makePerspective(t,r,i,g,$,V,re=WebGLCoordinateSystem,ie=!1){const ae=this.elements,oe=2*$/(r-t),le=2*$/(i-g),ue=(r+t)/(r-t),de=(i+g)/(i-g);let he,pe;if(ie)he=$/(V-$),pe=V*$/(V-$);else if(re===WebGLCoordinateSystem)he=-(V+$)/(V-$),pe=-2*V*$/(V-$);else if(re===WebGPUCoordinateSystem)he=-V/(V-$),pe=-V*$/(V-$);else throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+re);return ae[0]=oe,ae[4]=0,ae[8]=ue,ae[12]=0,ae[1]=0,ae[5]=le,ae[9]=de,ae[13]=0,ae[2]=0,ae[6]=0,ae[10]=he,ae[14]=pe,ae[3]=0,ae[7]=0,ae[11]=-1,ae[15]=0,this}makeOrthographic(t,r,i,g,$,V,re=WebGLCoordinateSystem,ie=!1){const ae=this.elements,oe=2/(r-t),le=2/(i-g),ue=-(r+t)/(r-t),de=-(i+g)/(i-g);let he,pe;if(ie)he=1/(V-$),pe=V/(V-$);else if(re===WebGLCoordinateSystem)he=-2/(V-$),pe=-(V+$)/(V-$);else if(re===WebGPUCoordinateSystem)he=-1/(V-$),pe=-$/(V-$);else throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+re);return ae[0]=oe,ae[4]=0,ae[8]=0,ae[12]=ue,ae[1]=0,ae[5]=le,ae[9]=0,ae[13]=de,ae[2]=0,ae[6]=0,ae[10]=he,ae[14]=pe,ae[3]=0,ae[7]=0,ae[11]=0,ae[15]=1,this}equals(t){const r=this.elements,i=t.elements;for(let g=0;g<16;g++)if(r[g]!==i[g])return!1;return!0}fromArray(t,r=0){for(let i=0;i<16;i++)this.elements[i]=t[i+r];return this}toArray(t=[],r=0){const i=this.elements;return t[r]=i[0],t[r+1]=i[1],t[r+2]=i[2],t[r+3]=i[3],t[r+4]=i[4],t[r+5]=i[5],t[r+6]=i[6],t[r+7]=i[7],t[r+8]=i[8],t[r+9]=i[9],t[r+10]=i[10],t[r+11]=i[11],t[r+12]=i[12],t[r+13]=i[13],t[r+14]=i[14],t[r+15]=i[15],t}}const _v1$5=new Vector3,_m1$2=new Matrix4,_zero=new Vector3(0,0,0),_one=new Vector3(1,1,1),_x=new Vector3,_y=new Vector3,_z=new Vector3,_matrix$2=new Matrix4,_quaternion$3=new Quaternion;class Euler{constructor(t=0,r=0,i=0,g=Euler.DEFAULT_ORDER){this.isEuler=!0,this._x=t,this._y=r,this._z=i,this._order=g}get x(){return this._x}set x(t){this._x=t,this._onChangeCallback()}get y(){return this._y}set y(t){this._y=t,this._onChangeCallback()}get z(){return this._z}set z(t){this._z=t,this._onChangeCallback()}get order(){return this._order}set order(t){this._order=t,this._onChangeCallback()}set(t,r,i,g=this._order){return this._x=t,this._y=r,this._z=i,this._order=g,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(t){return this._x=t._x,this._y=t._y,this._z=t._z,this._order=t._order,this._onChangeCallback(),this}setFromRotationMatrix(t,r=this._order,i=!0){const g=t.elements,$=g[0],V=g[4],re=g[8],ie=g[1],ae=g[5],oe=g[9],le=g[2],ue=g[6],de=g[10];switch(r){case"XYZ":this._y=Math.asin(clamp$1(re,-1,1)),Math.abs(re)<.9999999?(this._x=Math.atan2(-oe,de),this._z=Math.atan2(-V,$)):(this._x=Math.atan2(ue,ae),this._z=0);break;case"YXZ":this._x=Math.asin(-clamp$1(oe,-1,1)),Math.abs(oe)<.9999999?(this._y=Math.atan2(re,de),this._z=Math.atan2(ie,ae)):(this._y=Math.atan2(-le,$),this._z=0);break;case"ZXY":this._x=Math.asin(clamp$1(ue,-1,1)),Math.abs(ue)<.9999999?(this._y=Math.atan2(-le,de),this._z=Math.atan2(-V,ae)):(this._y=0,this._z=Math.atan2(ie,$));break;case"ZYX":this._y=Math.asin(-clamp$1(le,-1,1)),Math.abs(le)<.9999999?(this._x=Math.atan2(ue,de),this._z=Math.atan2(ie,$)):(this._x=0,this._z=Math.atan2(-V,ae));break;case"YZX":this._z=Math.asin(clamp$1(ie,-1,1)),Math.abs(ie)<.9999999?(this._x=Math.atan2(-oe,ae),this._y=Math.atan2(-le,$)):(this._x=0,this._y=Math.atan2(re,de));break;case"XZY":this._z=Math.asin(-clamp$1(V,-1,1)),Math.abs(V)<.9999999?(this._x=Math.atan2(ue,ae),this._y=Math.atan2(re,$)):(this._x=Math.atan2(-oe,de),this._y=0);break;default:warn("Euler: .setFromRotationMatrix() encountered an unknown order: "+r)}return this._order=r,i===!0&&this._onChangeCallback(),this}setFromQuaternion(t,r,i){return _matrix$2.makeRotationFromQuaternion(t),this.setFromRotationMatrix(_matrix$2,r,i)}setFromVector3(t,r=this._order){return this.set(t.x,t.y,t.z,r)}reorder(t){return _quaternion$3.setFromEuler(this),this.setFromQuaternion(_quaternion$3,t)}equals(t){return t._x===this._x&&t._y===this._y&&t._z===this._z&&t._order===this._order}fromArray(t){return this._x=t[0],this._y=t[1],this._z=t[2],t[3]!==void 0&&(this._order=t[3]),this._onChangeCallback(),this}toArray(t=[],r=0){return t[r]=this._x,t[r+1]=this._y,t[r+2]=this._z,t[r+3]=this._order,t}_onChange(t){return this._onChangeCallback=t,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}Euler.DEFAULT_ORDER="XYZ";class Layers{constructor(){this.mask=1}set(t){this.mask=(1<>>0}enable(t){this.mask|=1<1){for(let r=0;r1){for(let i=0;i0&&(g.userData=this.userData),g.layers=this.layers.mask,g.matrix=this.matrix.toArray(),g.up=this.up.toArray(),this.matrixAutoUpdate===!1&&(g.matrixAutoUpdate=!1),this.isInstancedMesh&&(g.type="InstancedMesh",g.count=this.count,g.instanceMatrix=this.instanceMatrix.toJSON(),this.instanceColor!==null&&(g.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(g.type="BatchedMesh",g.perObjectFrustumCulled=this.perObjectFrustumCulled,g.sortObjects=this.sortObjects,g.drawRanges=this._drawRanges,g.reservedRanges=this._reservedRanges,g.geometryInfo=this._geometryInfo.map(re=>({...re,boundingBox:re.boundingBox?re.boundingBox.toJSON():void 0,boundingSphere:re.boundingSphere?re.boundingSphere.toJSON():void 0})),g.instanceInfo=this._instanceInfo.map(re=>({...re})),g.availableInstanceIds=this._availableInstanceIds.slice(),g.availableGeometryIds=this._availableGeometryIds.slice(),g.nextIndexStart=this._nextIndexStart,g.nextVertexStart=this._nextVertexStart,g.geometryCount=this._geometryCount,g.maxInstanceCount=this._maxInstanceCount,g.maxVertexCount=this._maxVertexCount,g.maxIndexCount=this._maxIndexCount,g.geometryInitialized=this._geometryInitialized,g.matricesTexture=this._matricesTexture.toJSON(t),g.indirectTexture=this._indirectTexture.toJSON(t),this._colorsTexture!==null&&(g.colorsTexture=this._colorsTexture.toJSON(t)),this.boundingSphere!==null&&(g.boundingSphere=this.boundingSphere.toJSON()),this.boundingBox!==null&&(g.boundingBox=this.boundingBox.toJSON()));function $(re,ie){return re[ie.uuid]===void 0&&(re[ie.uuid]=ie.toJSON(t)),ie.uuid}if(this.isScene)this.background&&(this.background.isColor?g.background=this.background.toJSON():this.background.isTexture&&(g.background=this.background.toJSON(t).uuid)),this.environment&&this.environment.isTexture&&this.environment.isRenderTargetTexture!==!0&&(g.environment=this.environment.toJSON(t).uuid);else if(this.isMesh||this.isLine||this.isPoints){g.geometry=$(t.geometries,this.geometry);const re=this.geometry.parameters;if(re!==void 0&&re.shapes!==void 0){const ie=re.shapes;if(Array.isArray(ie))for(let ae=0,oe=ie.length;ae0){g.children=[];for(let re=0;re0){g.animations=[];for(let re=0;re0&&(i.geometries=re),ie.length>0&&(i.materials=ie),ae.length>0&&(i.textures=ae),oe.length>0&&(i.images=oe),le.length>0&&(i.shapes=le),ue.length>0&&(i.skeletons=ue),de.length>0&&(i.animations=de),he.length>0&&(i.nodes=he)}return i.object=g,i;function V(re){const ie=[];for(const ae in re){const oe=re[ae];delete oe.metadata,ie.push(oe)}return ie}}clone(t){return new this.constructor().copy(this,t)}copy(t,r=!0){if(this.name=t.name,this.up.copy(t.up),this.position.copy(t.position),this.rotation.order=t.rotation.order,this.quaternion.copy(t.quaternion),this.scale.copy(t.scale),this.matrix.copy(t.matrix),this.matrixWorld.copy(t.matrixWorld),this.matrixAutoUpdate=t.matrixAutoUpdate,this.matrixWorldAutoUpdate=t.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=t.matrixWorldNeedsUpdate,this.layers.mask=t.layers.mask,this.visible=t.visible,this.castShadow=t.castShadow,this.receiveShadow=t.receiveShadow,this.frustumCulled=t.frustumCulled,this.renderOrder=t.renderOrder,this.animations=t.animations.slice(),this.userData=JSON.parse(JSON.stringify(t.userData)),r===!0)for(let i=0;i0?g.multiplyScalar(1/Math.sqrt($)):g.set(0,0,0)}static getBarycoord(t,r,i,g,$){_v0$1$1.subVectors(g,r),_v1$3.subVectors(i,r),_v2$2.subVectors(t,r);const V=_v0$1$1.dot(_v0$1$1),re=_v0$1$1.dot(_v1$3),ie=_v0$1$1.dot(_v2$2),ae=_v1$3.dot(_v1$3),oe=_v1$3.dot(_v2$2),le=V*ae-re*re;if(le===0)return $.set(0,0,0),null;const ue=1/le,de=(ae*ie-re*oe)*ue,he=(V*oe-re*ie)*ue;return $.set(1-de-he,he,de)}static containsPoint(t,r,i,g){return this.getBarycoord(t,r,i,g,_v3$2)===null?!1:_v3$2.x>=0&&_v3$2.y>=0&&_v3$2.x+_v3$2.y<=1}static getInterpolation(t,r,i,g,$,V,re,ie){return this.getBarycoord(t,r,i,g,_v3$2)===null?(ie.x=0,ie.y=0,"z"in ie&&(ie.z=0),"w"in ie&&(ie.w=0),null):(ie.setScalar(0),ie.addScaledVector($,_v3$2.x),ie.addScaledVector(V,_v3$2.y),ie.addScaledVector(re,_v3$2.z),ie)}static getInterpolatedAttribute(t,r,i,g,$,V){return _v40.setScalar(0),_v41.setScalar(0),_v42.setScalar(0),_v40.fromBufferAttribute(t,r),_v41.fromBufferAttribute(t,i),_v42.fromBufferAttribute(t,g),V.setScalar(0),V.addScaledVector(_v40,$.x),V.addScaledVector(_v41,$.y),V.addScaledVector(_v42,$.z),V}static isFrontFacing(t,r,i,g){return _v0$1$1.subVectors(i,r),_v1$3.subVectors(t,r),_v0$1$1.cross(_v1$3).dot(g)<0}set(t,r,i){return this.a.copy(t),this.b.copy(r),this.c.copy(i),this}setFromPointsAndIndices(t,r,i,g){return this.a.copy(t[r]),this.b.copy(t[i]),this.c.copy(t[g]),this}setFromAttributeAndIndices(t,r,i,g){return this.a.fromBufferAttribute(t,r),this.b.fromBufferAttribute(t,i),this.c.fromBufferAttribute(t,g),this}clone(){return new this.constructor().copy(this)}copy(t){return this.a.copy(t.a),this.b.copy(t.b),this.c.copy(t.c),this}getArea(){return _v0$1$1.subVectors(this.c,this.b),_v1$3.subVectors(this.a,this.b),_v0$1$1.cross(_v1$3).length()*.5}getMidpoint(t){return t.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(t){return di.getNormal(this.a,this.b,this.c,t)}getPlane(t){return t.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(t,r){return di.getBarycoord(t,this.a,this.b,this.c,r)}getInterpolation(t,r,i,g,$){return di.getInterpolation(t,this.a,this.b,this.c,r,i,g,$)}containsPoint(t){return di.containsPoint(t,this.a,this.b,this.c)}isFrontFacing(t){return di.isFrontFacing(this.a,this.b,this.c,t)}intersectsBox(t){return t.intersectsTriangle(this)}closestPointToPoint(t,r){const i=this.a,g=this.b,$=this.c;let V,re;_vab.subVectors(g,i),_vac.subVectors($,i),_vap.subVectors(t,i);const ie=_vab.dot(_vap),ae=_vac.dot(_vap);if(ie<=0&&ae<=0)return r.copy(i);_vbp.subVectors(t,g);const oe=_vab.dot(_vbp),le=_vac.dot(_vbp);if(oe>=0&&le<=oe)return r.copy(g);const ue=ie*le-oe*ae;if(ue<=0&&ie>=0&&oe<=0)return V=ie/(ie-oe),r.copy(i).addScaledVector(_vab,V);_vcp.subVectors(t,$);const de=_vab.dot(_vcp),he=_vac.dot(_vcp);if(he>=0&&de<=he)return r.copy($);const pe=de*ae-ie*he;if(pe<=0&&ae>=0&&he<=0)return re=ae/(ae-he),r.copy(i).addScaledVector(_vac,re);const _e=oe*he-de*le;if(_e<=0&&le-oe>=0&&de-he>=0)return _vbc.subVectors($,g),re=(le-oe)/(le-oe+(de-he)),r.copy(g).addScaledVector(_vbc,re);const Ce=1/(_e+pe+ue);return V=pe*Ce,re=ue*Ce,r.copy(i).addScaledVector(_vab,V).addScaledVector(_vac,re)}equals(t){return t.a.equals(this.a)&&t.b.equals(this.b)&&t.c.equals(this.c)}};const _colorKeywords={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},_hslA={h:0,s:0,l:0},_hslB={h:0,s:0,l:0};function hue2rgb(n,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?n+(t-n)*6*r:r<1/2?t:r<2/3?n+(t-n)*6*(2/3-r):n}class Color{constructor(t,r,i){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(t,r,i)}set(t,r,i){if(r===void 0&&i===void 0){const g=t;g&&g.isColor?this.copy(g):typeof g=="number"?this.setHex(g):typeof g=="string"&&this.setStyle(g)}else this.setRGB(t,r,i);return this}setScalar(t){return this.r=t,this.g=t,this.b=t,this}setHex(t,r=SRGBColorSpace){return t=Math.floor(t),this.r=(t>>16&255)/255,this.g=(t>>8&255)/255,this.b=(t&255)/255,ColorManagement.colorSpaceToWorking(this,r),this}setRGB(t,r,i,g=ColorManagement.workingColorSpace){return this.r=t,this.g=r,this.b=i,ColorManagement.colorSpaceToWorking(this,g),this}setHSL(t,r,i,g=ColorManagement.workingColorSpace){if(t=euclideanModulo(t,1),r=clamp$1(r,0,1),i=clamp$1(i,0,1),r===0)this.r=this.g=this.b=i;else{const $=i<=.5?i*(1+r):i+r-i*r,V=2*i-$;this.r=hue2rgb(V,$,t+1/3),this.g=hue2rgb(V,$,t),this.b=hue2rgb(V,$,t-1/3)}return ColorManagement.colorSpaceToWorking(this,g),this}setStyle(t,r=SRGBColorSpace){function i($){$!==void 0&&parseFloat($)<1&&warn("Color: Alpha component of "+t+" will be ignored.")}let g;if(g=/^(\w+)\(([^\)]*)\)/.exec(t)){let $;const V=g[1],re=g[2];switch(V){case"rgb":case"rgba":if($=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(re))return i($[4]),this.setRGB(Math.min(255,parseInt($[1],10))/255,Math.min(255,parseInt($[2],10))/255,Math.min(255,parseInt($[3],10))/255,r);if($=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(re))return i($[4]),this.setRGB(Math.min(100,parseInt($[1],10))/100,Math.min(100,parseInt($[2],10))/100,Math.min(100,parseInt($[3],10))/100,r);break;case"hsl":case"hsla":if($=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(re))return i($[4]),this.setHSL(parseFloat($[1])/360,parseFloat($[2])/100,parseFloat($[3])/100,r);break;default:warn("Color: Unknown color model "+t)}}else if(g=/^\#([A-Fa-f\d]+)$/.exec(t)){const $=g[1],V=$.length;if(V===3)return this.setRGB(parseInt($.charAt(0),16)/15,parseInt($.charAt(1),16)/15,parseInt($.charAt(2),16)/15,r);if(V===6)return this.setHex(parseInt($,16),r);warn("Color: Invalid hex color "+t)}else if(t&&t.length>0)return this.setColorName(t,r);return this}setColorName(t,r=SRGBColorSpace){const i=_colorKeywords[t.toLowerCase()];return i!==void 0?this.setHex(i,r):warn("Color: Unknown color "+t),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(t){return this.r=t.r,this.g=t.g,this.b=t.b,this}copySRGBToLinear(t){return this.r=SRGBToLinear(t.r),this.g=SRGBToLinear(t.g),this.b=SRGBToLinear(t.b),this}copyLinearToSRGB(t){return this.r=LinearToSRGB(t.r),this.g=LinearToSRGB(t.g),this.b=LinearToSRGB(t.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(t=SRGBColorSpace){return ColorManagement.workingToColorSpace(_color.copy(this),t),Math.round(clamp$1(_color.r*255,0,255))*65536+Math.round(clamp$1(_color.g*255,0,255))*256+Math.round(clamp$1(_color.b*255,0,255))}getHexString(t=SRGBColorSpace){return("000000"+this.getHex(t).toString(16)).slice(-6)}getHSL(t,r=ColorManagement.workingColorSpace){ColorManagement.workingToColorSpace(_color.copy(this),r);const i=_color.r,g=_color.g,$=_color.b,V=Math.max(i,g,$),re=Math.min(i,g,$);let ie,ae;const oe=(re+V)/2;if(re===V)ie=0,ae=0;else{const le=V-re;switch(ae=oe<=.5?le/(V+re):le/(2-V-re),V){case i:ie=(g-$)/le+(g<$?6:0);break;case g:ie=($-i)/le+2;break;case $:ie=(i-g)/le+4;break}ie/=6}return t.h=ie,t.s=ae,t.l=oe,t}getRGB(t,r=ColorManagement.workingColorSpace){return ColorManagement.workingToColorSpace(_color.copy(this),r),t.r=_color.r,t.g=_color.g,t.b=_color.b,t}getStyle(t=SRGBColorSpace){ColorManagement.workingToColorSpace(_color.copy(this),t);const r=_color.r,i=_color.g,g=_color.b;return t!==SRGBColorSpace?`color(${t} ${r.toFixed(3)} ${i.toFixed(3)} ${g.toFixed(3)})`:`rgb(${Math.round(r*255)},${Math.round(i*255)},${Math.round(g*255)})`}offsetHSL(t,r,i){return this.getHSL(_hslA),this.setHSL(_hslA.h+t,_hslA.s+r,_hslA.l+i)}add(t){return this.r+=t.r,this.g+=t.g,this.b+=t.b,this}addColors(t,r){return this.r=t.r+r.r,this.g=t.g+r.g,this.b=t.b+r.b,this}addScalar(t){return this.r+=t,this.g+=t,this.b+=t,this}sub(t){return this.r=Math.max(0,this.r-t.r),this.g=Math.max(0,this.g-t.g),this.b=Math.max(0,this.b-t.b),this}multiply(t){return this.r*=t.r,this.g*=t.g,this.b*=t.b,this}multiplyScalar(t){return this.r*=t,this.g*=t,this.b*=t,this}lerp(t,r){return this.r+=(t.r-this.r)*r,this.g+=(t.g-this.g)*r,this.b+=(t.b-this.b)*r,this}lerpColors(t,r,i){return this.r=t.r+(r.r-t.r)*i,this.g=t.g+(r.g-t.g)*i,this.b=t.b+(r.b-t.b)*i,this}lerpHSL(t,r){this.getHSL(_hslA),t.getHSL(_hslB);const i=lerp$1(_hslA.h,_hslB.h,r),g=lerp$1(_hslA.s,_hslB.s,r),$=lerp$1(_hslA.l,_hslB.l,r);return this.setHSL(i,g,$),this}setFromVector3(t){return this.r=t.x,this.g=t.y,this.b=t.z,this}applyMatrix3(t){const r=this.r,i=this.g,g=this.b,$=t.elements;return this.r=$[0]*r+$[3]*i+$[6]*g,this.g=$[1]*r+$[4]*i+$[7]*g,this.b=$[2]*r+$[5]*i+$[8]*g,this}equals(t){return t.r===this.r&&t.g===this.g&&t.b===this.b}fromArray(t,r=0){return this.r=t[r],this.g=t[r+1],this.b=t[r+2],this}toArray(t=[],r=0){return t[r]=this.r,t[r+1]=this.g,t[r+2]=this.b,t}fromBufferAttribute(t,r){return this.r=t.getX(r),this.g=t.getY(r),this.b=t.getZ(r),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}const _color=new Color;Color.NAMES=_colorKeywords;let _materialId=0;class Material extends EventDispatcher{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:_materialId++}),this.uuid=generateUUID(),this.name="",this.type="Material",this.blending=NormalBlending,this.side=FrontSide,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.alphaHash=!1,this.blendSrc=SrcAlphaFactor,this.blendDst=OneMinusSrcAlphaFactor,this.blendEquation=AddEquation,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.blendColor=new Color(0,0,0),this.blendAlpha=0,this.depthFunc=LessEqualDepth,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=AlwaysStencilFunc,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=KeepStencilOp,this.stencilZFail=KeepStencilOp,this.stencilZPass=KeepStencilOp,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.forceSinglePass=!1,this.allowOverride=!0,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(t){this._alphaTest>0!=t>0&&this.version++,this._alphaTest=t}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(t){if(t!==void 0)for(const r in t){const i=t[r];if(i===void 0){warn(`Material: parameter '${r}' has value of undefined.`);continue}const g=this[r];if(g===void 0){warn(`Material: '${r}' is not a property of THREE.${this.type}.`);continue}g&&g.isColor?g.set(i):g&&g.isVector3&&i&&i.isVector3?g.copy(i):this[r]=i}}toJSON(t){const r=t===void 0||typeof t=="string";r&&(t={textures:{},images:{}});const i={metadata:{version:4.7,type:"Material",generator:"Material.toJSON"}};i.uuid=this.uuid,i.type=this.type,this.name!==""&&(i.name=this.name),this.color&&this.color.isColor&&(i.color=this.color.getHex()),this.roughness!==void 0&&(i.roughness=this.roughness),this.metalness!==void 0&&(i.metalness=this.metalness),this.sheen!==void 0&&(i.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(i.sheenColor=this.sheenColor.getHex()),this.sheenRoughness!==void 0&&(i.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(i.emissive=this.emissive.getHex()),this.emissiveIntensity!==void 0&&this.emissiveIntensity!==1&&(i.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(i.specular=this.specular.getHex()),this.specularIntensity!==void 0&&(i.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(i.specularColor=this.specularColor.getHex()),this.shininess!==void 0&&(i.shininess=this.shininess),this.clearcoat!==void 0&&(i.clearcoat=this.clearcoat),this.clearcoatRoughness!==void 0&&(i.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(i.clearcoatMap=this.clearcoatMap.toJSON(t).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(i.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(t).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(i.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(t).uuid,i.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.sheenColorMap&&this.sheenColorMap.isTexture&&(i.sheenColorMap=this.sheenColorMap.toJSON(t).uuid),this.sheenRoughnessMap&&this.sheenRoughnessMap.isTexture&&(i.sheenRoughnessMap=this.sheenRoughnessMap.toJSON(t).uuid),this.dispersion!==void 0&&(i.dispersion=this.dispersion),this.iridescence!==void 0&&(i.iridescence=this.iridescence),this.iridescenceIOR!==void 0&&(i.iridescenceIOR=this.iridescenceIOR),this.iridescenceThicknessRange!==void 0&&(i.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(i.iridescenceMap=this.iridescenceMap.toJSON(t).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(i.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(t).uuid),this.anisotropy!==void 0&&(i.anisotropy=this.anisotropy),this.anisotropyRotation!==void 0&&(i.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(i.anisotropyMap=this.anisotropyMap.toJSON(t).uuid),this.map&&this.map.isTexture&&(i.map=this.map.toJSON(t).uuid),this.matcap&&this.matcap.isTexture&&(i.matcap=this.matcap.toJSON(t).uuid),this.alphaMap&&this.alphaMap.isTexture&&(i.alphaMap=this.alphaMap.toJSON(t).uuid),this.lightMap&&this.lightMap.isTexture&&(i.lightMap=this.lightMap.toJSON(t).uuid,i.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(i.aoMap=this.aoMap.toJSON(t).uuid,i.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(i.bumpMap=this.bumpMap.toJSON(t).uuid,i.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(i.normalMap=this.normalMap.toJSON(t).uuid,i.normalMapType=this.normalMapType,i.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(i.displacementMap=this.displacementMap.toJSON(t).uuid,i.displacementScale=this.displacementScale,i.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(i.roughnessMap=this.roughnessMap.toJSON(t).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(i.metalnessMap=this.metalnessMap.toJSON(t).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(i.emissiveMap=this.emissiveMap.toJSON(t).uuid),this.specularMap&&this.specularMap.isTexture&&(i.specularMap=this.specularMap.toJSON(t).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(i.specularIntensityMap=this.specularIntensityMap.toJSON(t).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(i.specularColorMap=this.specularColorMap.toJSON(t).uuid),this.envMap&&this.envMap.isTexture&&(i.envMap=this.envMap.toJSON(t).uuid,this.combine!==void 0&&(i.combine=this.combine)),this.envMapRotation!==void 0&&(i.envMapRotation=this.envMapRotation.toArray()),this.envMapIntensity!==void 0&&(i.envMapIntensity=this.envMapIntensity),this.reflectivity!==void 0&&(i.reflectivity=this.reflectivity),this.refractionRatio!==void 0&&(i.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(i.gradientMap=this.gradientMap.toJSON(t).uuid),this.transmission!==void 0&&(i.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(i.transmissionMap=this.transmissionMap.toJSON(t).uuid),this.thickness!==void 0&&(i.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(i.thicknessMap=this.thicknessMap.toJSON(t).uuid),this.attenuationDistance!==void 0&&this.attenuationDistance!==1/0&&(i.attenuationDistance=this.attenuationDistance),this.attenuationColor!==void 0&&(i.attenuationColor=this.attenuationColor.getHex()),this.size!==void 0&&(i.size=this.size),this.shadowSide!==null&&(i.shadowSide=this.shadowSide),this.sizeAttenuation!==void 0&&(i.sizeAttenuation=this.sizeAttenuation),this.blending!==NormalBlending&&(i.blending=this.blending),this.side!==FrontSide&&(i.side=this.side),this.vertexColors===!0&&(i.vertexColors=!0),this.opacity<1&&(i.opacity=this.opacity),this.transparent===!0&&(i.transparent=!0),this.blendSrc!==SrcAlphaFactor&&(i.blendSrc=this.blendSrc),this.blendDst!==OneMinusSrcAlphaFactor&&(i.blendDst=this.blendDst),this.blendEquation!==AddEquation&&(i.blendEquation=this.blendEquation),this.blendSrcAlpha!==null&&(i.blendSrcAlpha=this.blendSrcAlpha),this.blendDstAlpha!==null&&(i.blendDstAlpha=this.blendDstAlpha),this.blendEquationAlpha!==null&&(i.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(i.blendColor=this.blendColor.getHex()),this.blendAlpha!==0&&(i.blendAlpha=this.blendAlpha),this.depthFunc!==LessEqualDepth&&(i.depthFunc=this.depthFunc),this.depthTest===!1&&(i.depthTest=this.depthTest),this.depthWrite===!1&&(i.depthWrite=this.depthWrite),this.colorWrite===!1&&(i.colorWrite=this.colorWrite),this.stencilWriteMask!==255&&(i.stencilWriteMask=this.stencilWriteMask),this.stencilFunc!==AlwaysStencilFunc&&(i.stencilFunc=this.stencilFunc),this.stencilRef!==0&&(i.stencilRef=this.stencilRef),this.stencilFuncMask!==255&&(i.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==KeepStencilOp&&(i.stencilFail=this.stencilFail),this.stencilZFail!==KeepStencilOp&&(i.stencilZFail=this.stencilZFail),this.stencilZPass!==KeepStencilOp&&(i.stencilZPass=this.stencilZPass),this.stencilWrite===!0&&(i.stencilWrite=this.stencilWrite),this.rotation!==void 0&&this.rotation!==0&&(i.rotation=this.rotation),this.polygonOffset===!0&&(i.polygonOffset=!0),this.polygonOffsetFactor!==0&&(i.polygonOffsetFactor=this.polygonOffsetFactor),this.polygonOffsetUnits!==0&&(i.polygonOffsetUnits=this.polygonOffsetUnits),this.linewidth!==void 0&&this.linewidth!==1&&(i.linewidth=this.linewidth),this.dashSize!==void 0&&(i.dashSize=this.dashSize),this.gapSize!==void 0&&(i.gapSize=this.gapSize),this.scale!==void 0&&(i.scale=this.scale),this.dithering===!0&&(i.dithering=!0),this.alphaTest>0&&(i.alphaTest=this.alphaTest),this.alphaHash===!0&&(i.alphaHash=!0),this.alphaToCoverage===!0&&(i.alphaToCoverage=!0),this.premultipliedAlpha===!0&&(i.premultipliedAlpha=!0),this.forceSinglePass===!0&&(i.forceSinglePass=!0),this.allowOverride===!1&&(i.allowOverride=!1),this.wireframe===!0&&(i.wireframe=!0),this.wireframeLinewidth>1&&(i.wireframeLinewidth=this.wireframeLinewidth),this.wireframeLinecap!=="round"&&(i.wireframeLinecap=this.wireframeLinecap),this.wireframeLinejoin!=="round"&&(i.wireframeLinejoin=this.wireframeLinejoin),this.flatShading===!0&&(i.flatShading=!0),this.visible===!1&&(i.visible=!1),this.toneMapped===!1&&(i.toneMapped=!1),this.fog===!1&&(i.fog=!1),Object.keys(this.userData).length>0&&(i.userData=this.userData);function g($){const V=[];for(const re in $){const ie=$[re];delete ie.metadata,V.push(ie)}return V}if(r){const $=g(t.textures),V=g(t.images);$.length>0&&(i.textures=$),V.length>0&&(i.images=V)}return i}clone(){return new this.constructor().copy(this)}copy(t){this.name=t.name,this.blending=t.blending,this.side=t.side,this.vertexColors=t.vertexColors,this.opacity=t.opacity,this.transparent=t.transparent,this.blendSrc=t.blendSrc,this.blendDst=t.blendDst,this.blendEquation=t.blendEquation,this.blendSrcAlpha=t.blendSrcAlpha,this.blendDstAlpha=t.blendDstAlpha,this.blendEquationAlpha=t.blendEquationAlpha,this.blendColor.copy(t.blendColor),this.blendAlpha=t.blendAlpha,this.depthFunc=t.depthFunc,this.depthTest=t.depthTest,this.depthWrite=t.depthWrite,this.stencilWriteMask=t.stencilWriteMask,this.stencilFunc=t.stencilFunc,this.stencilRef=t.stencilRef,this.stencilFuncMask=t.stencilFuncMask,this.stencilFail=t.stencilFail,this.stencilZFail=t.stencilZFail,this.stencilZPass=t.stencilZPass,this.stencilWrite=t.stencilWrite;const r=t.clippingPlanes;let i=null;if(r!==null){const g=r.length;i=new Array(g);for(let $=0;$!==g;++$)i[$]=r[$].clone()}return this.clippingPlanes=i,this.clipIntersection=t.clipIntersection,this.clipShadows=t.clipShadows,this.shadowSide=t.shadowSide,this.colorWrite=t.colorWrite,this.precision=t.precision,this.polygonOffset=t.polygonOffset,this.polygonOffsetFactor=t.polygonOffsetFactor,this.polygonOffsetUnits=t.polygonOffsetUnits,this.dithering=t.dithering,this.alphaTest=t.alphaTest,this.alphaHash=t.alphaHash,this.alphaToCoverage=t.alphaToCoverage,this.premultipliedAlpha=t.premultipliedAlpha,this.forceSinglePass=t.forceSinglePass,this.allowOverride=t.allowOverride,this.visible=t.visible,this.toneMapped=t.toneMapped,this.userData=JSON.parse(JSON.stringify(t.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(t){t===!0&&this.version++}}class MeshBasicMaterial extends Material{constructor(t){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new Color(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Euler,this.combine=MultiplyOperation,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",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.specularMap=t.specularMap,this.alphaMap=t.alphaMap,this.envMap=t.envMap,this.envMapRotation.copy(t.envMapRotation),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.fog=t.fog,this}}const _vector$9=new Vector3,_vector2$1=new Vector2;let _id$2=0;class BufferAttribute{constructor(t,r,i=!1){if(Array.isArray(t))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,Object.defineProperty(this,"id",{value:_id$2++}),this.name="",this.array=t,this.itemSize=r,this.count=t!==void 0?t.length/r:0,this.normalized=i,this.usage=StaticDrawUsage,this.updateRanges=[],this.gpuType=FloatType,this.version=0}onUploadCallback(){}set needsUpdate(t){t===!0&&this.version++}setUsage(t){return this.usage=t,this}addUpdateRange(t,r){this.updateRanges.push({start:t,count:r})}clearUpdateRanges(){this.updateRanges.length=0}copy(t){return this.name=t.name,this.array=new t.array.constructor(t.array),this.itemSize=t.itemSize,this.count=t.count,this.normalized=t.normalized,this.usage=t.usage,this.gpuType=t.gpuType,this}copyAt(t,r,i){t*=this.itemSize,i*=r.itemSize;for(let g=0,$=this.itemSize;g<$;g++)this.array[t+g]=r.array[i+g];return this}copyArray(t){return this.array.set(t),this}applyMatrix3(t){if(this.itemSize===2)for(let r=0,i=this.count;rr.count&&warn("BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry."),r.needsUpdate=!0}return this}computeBoundingBox(){this.boundingBox===null&&(this.boundingBox=new Box3);const t=this.attributes.position,r=this.morphAttributes.position;if(t&&t.isGLBufferAttribute){error("BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),this.boundingBox.set(new Vector3(-1/0,-1/0,-1/0),new Vector3(1/0,1/0,1/0));return}if(t!==void 0){if(this.boundingBox.setFromBufferAttribute(t),r)for(let i=0,g=r.length;i0&&(t.userData=this.userData),this.parameters!==void 0){const ie=this.parameters;for(const ae in ie)ie[ae]!==void 0&&(t[ae]=ie[ae]);return t}t.data={attributes:{}};const r=this.index;r!==null&&(t.data.index={type:r.array.constructor.name,array:Array.prototype.slice.call(r.array)});const i=this.attributes;for(const ie in i){const ae=i[ie];t.data.attributes[ie]=ae.toJSON(t.data)}const g={};let $=!1;for(const ie in this.morphAttributes){const ae=this.morphAttributes[ie],oe=[];for(let le=0,ue=ae.length;le0&&(g[ie]=oe,$=!0)}$&&(t.data.morphAttributes=g,t.data.morphTargetsRelative=this.morphTargetsRelative);const V=this.groups;V.length>0&&(t.data.groups=JSON.parse(JSON.stringify(V)));const re=this.boundingSphere;return re!==null&&(t.data.boundingSphere=re.toJSON()),t}clone(){return new this.constructor().copy(this)}copy(t){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const r={};this.name=t.name;const i=t.index;i!==null&&this.setIndex(i.clone());const g=t.attributes;for(const ae in g){const oe=g[ae];this.setAttribute(ae,oe.clone(r))}const $=t.morphAttributes;for(const ae in $){const oe=[],le=$[ae];for(let ue=0,de=le.length;ue0){const g=r[i[0]];if(g!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let $=0,V=g.length;$(t.far-t.near)**2))&&(_inverseMatrix$3.copy($).invert(),_ray$3.copy(t.ray).applyMatrix4(_inverseMatrix$3),!(i.boundingBox!==null&&_ray$3.intersectsBox(i.boundingBox)===!1)&&this._computeIntersections(t,r,_ray$3)))}_computeIntersections(t,r,i){let g;const $=this.geometry,V=this.material,re=$.index,ie=$.attributes.position,ae=$.attributes.uv,oe=$.attributes.uv1,le=$.attributes.normal,ue=$.groups,de=$.drawRange;if(re!==null)if(Array.isArray(V))for(let he=0,pe=ue.length;her.far?null:{distance:ae,point:_intersectionPointWorld.clone(),object:n}}function checkGeometryIntersection(n,t,r,i,g,$,V,re,ie,ae){n.getVertexPosition(re,_vA$1),n.getVertexPosition(ie,_vB$1),n.getVertexPosition(ae,_vC$1);const oe=checkIntersection$1(n,t,r,i,_vA$1,_vB$1,_vC$1,_intersectionPoint);if(oe){const le=new Vector3;Triangle$1.getBarycoord(_intersectionPoint,_vA$1,_vB$1,_vC$1,le),g&&(oe.uv=Triangle$1.getInterpolatedAttribute(g,re,ie,ae,le,new Vector2)),$&&(oe.uv1=Triangle$1.getInterpolatedAttribute($,re,ie,ae,le,new Vector2)),V&&(oe.normal=Triangle$1.getInterpolatedAttribute(V,re,ie,ae,le,new Vector3),oe.normal.dot(i.direction)>0&&oe.normal.multiplyScalar(-1));const ue={a:re,b:ie,c:ae,normal:new Vector3,materialIndex:0};Triangle$1.getNormal(_vA$1,_vB$1,_vC$1,ue.normal),oe.face=ue,oe.barycoord=le}return oe}class BoxGeometry extends BufferGeometry{constructor(t=1,r=1,i=1,g=1,$=1,V=1){super(),this.type="BoxGeometry",this.parameters={width:t,height:r,depth:i,widthSegments:g,heightSegments:$,depthSegments:V};const re=this;g=Math.floor(g),$=Math.floor($),V=Math.floor(V);const ie=[],ae=[],oe=[],le=[];let ue=0,de=0;he("z","y","x",-1,-1,i,r,t,V,$,0),he("z","y","x",1,-1,i,r,-t,V,$,1),he("x","z","y",1,1,t,i,r,g,V,2),he("x","z","y",1,-1,t,i,-r,g,V,3),he("x","y","z",1,-1,t,r,i,g,$,4),he("x","y","z",-1,-1,t,r,-i,g,$,5),this.setIndex(ie),this.setAttribute("position",new Float32BufferAttribute(ae,3)),this.setAttribute("normal",new Float32BufferAttribute(oe,3)),this.setAttribute("uv",new Float32BufferAttribute(le,2));function he(pe,_e,Ce,xe,Ie,Ne,Oe,$e,Ve,Ue,Fe){const ze=Ne/Ve,Pt=Oe/Ue,qe=Ne/2,Et=Oe/2,kt=$e/2,At=Ve+1,Dt=Ue+1;let Lt=0,jt=0;const hn=new Vector3;for(let vn=0;vn0?1:-1,oe.push(hn.x,hn.y,hn.z),le.push(wn/Ve),le.push(1-vn/Ue),Lt+=1}}for(let vn=0;vn0&&(r.defines=this.defines),r.vertexShader=this.vertexShader,r.fragmentShader=this.fragmentShader,r.lights=this.lights,r.clipping=this.clipping;const i={};for(const g in this.extensions)this.extensions[g]===!0&&(i[g]=!0);return Object.keys(i).length>0&&(r.extensions=i),r}}class Camera extends Object3D{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new Matrix4,this.projectionMatrix=new Matrix4,this.projectionMatrixInverse=new Matrix4,this.coordinateSystem=WebGLCoordinateSystem,this._reversedDepth=!1}get reversedDepth(){return this._reversedDepth}copy(t,r){return super.copy(t,r),this.matrixWorldInverse.copy(t.matrixWorldInverse),this.projectionMatrix.copy(t.projectionMatrix),this.projectionMatrixInverse.copy(t.projectionMatrixInverse),this.coordinateSystem=t.coordinateSystem,this}getWorldDirection(t){return super.getWorldDirection(t).negate()}updateMatrixWorld(t){super.updateMatrixWorld(t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(t,r){super.updateWorldMatrix(t,r),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return new this.constructor().copy(this)}}const _v3$1=new Vector3,_minTarget=new Vector2,_maxTarget=new Vector2;class PerspectiveCamera extends Camera{constructor(t=50,r=1,i=.1,g=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=t,this.zoom=1,this.near=i,this.far=g,this.focus=10,this.aspect=r,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(t,r){return super.copy(t,r),this.fov=t.fov,this.zoom=t.zoom,this.near=t.near,this.far=t.far,this.focus=t.focus,this.aspect=t.aspect,this.view=t.view===null?null:Object.assign({},t.view),this.filmGauge=t.filmGauge,this.filmOffset=t.filmOffset,this}setFocalLength(t){const r=.5*this.getFilmHeight()/t;this.fov=RAD2DEG*2*Math.atan(r),this.updateProjectionMatrix()}getFocalLength(){const t=Math.tan(DEG2RAD*.5*this.fov);return .5*this.getFilmHeight()/t}getEffectiveFOV(){return RAD2DEG*2*Math.atan(Math.tan(DEG2RAD*.5*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(t,r,i){_v3$1.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),r.set(_v3$1.x,_v3$1.y).multiplyScalar(-t/_v3$1.z),_v3$1.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),i.set(_v3$1.x,_v3$1.y).multiplyScalar(-t/_v3$1.z)}getViewSize(t,r){return this.getViewBounds(t,_minTarget,_maxTarget),r.subVectors(_maxTarget,_minTarget)}setViewOffset(t,r,i,g,$,V){this.aspect=t/r,this.view===null&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=t,this.view.fullHeight=r,this.view.offsetX=i,this.view.offsetY=g,this.view.width=$,this.view.height=V,this.updateProjectionMatrix()}clearViewOffset(){this.view!==null&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const t=this.near;let r=t*Math.tan(DEG2RAD*.5*this.fov)/this.zoom,i=2*r,g=this.aspect*i,$=-.5*g;const V=this.view;if(this.view!==null&&this.view.enabled){const ie=V.fullWidth,ae=V.fullHeight;$+=V.offsetX*g/ie,r-=V.offsetY*i/ae,g*=V.width/ie,i*=V.height/ae}const re=this.filmOffset;re!==0&&($+=t*re/this.getFilmWidth()),this.projectionMatrix.makePerspective($,$+g,r,r-i,t,this.far,this.coordinateSystem,this.reversedDepth),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(t){const r=super.toJSON(t);return r.object.fov=this.fov,r.object.zoom=this.zoom,r.object.near=this.near,r.object.far=this.far,r.object.focus=this.focus,r.object.aspect=this.aspect,this.view!==null&&(r.object.view=Object.assign({},this.view)),r.object.filmGauge=this.filmGauge,r.object.filmOffset=this.filmOffset,r}}const fov=-90,aspect=1;class CubeCamera extends Object3D{constructor(t,r,i){super(),this.type="CubeCamera",this.renderTarget=i,this.coordinateSystem=null,this.activeMipmapLevel=0;const g=new PerspectiveCamera(fov,aspect,t,r);g.layers=this.layers,this.add(g);const $=new PerspectiveCamera(fov,aspect,t,r);$.layers=this.layers,this.add($);const V=new PerspectiveCamera(fov,aspect,t,r);V.layers=this.layers,this.add(V);const re=new PerspectiveCamera(fov,aspect,t,r);re.layers=this.layers,this.add(re);const ie=new PerspectiveCamera(fov,aspect,t,r);ie.layers=this.layers,this.add(ie);const ae=new PerspectiveCamera(fov,aspect,t,r);ae.layers=this.layers,this.add(ae)}updateCoordinateSystem(){const t=this.coordinateSystem,r=this.children.concat(),[i,g,$,V,re,ie]=r;for(const ae of r)this.remove(ae);if(t===WebGLCoordinateSystem)i.up.set(0,1,0),i.lookAt(1,0,0),g.up.set(0,1,0),g.lookAt(-1,0,0),$.up.set(0,0,-1),$.lookAt(0,1,0),V.up.set(0,0,1),V.lookAt(0,-1,0),re.up.set(0,1,0),re.lookAt(0,0,1),ie.up.set(0,1,0),ie.lookAt(0,0,-1);else if(t===WebGPUCoordinateSystem)i.up.set(0,-1,0),i.lookAt(-1,0,0),g.up.set(0,-1,0),g.lookAt(1,0,0),$.up.set(0,0,1),$.lookAt(0,1,0),V.up.set(0,0,-1),V.lookAt(0,-1,0),re.up.set(0,-1,0),re.lookAt(0,0,1),ie.up.set(0,-1,0),ie.lookAt(0,0,-1);else throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+t);for(const ae of r)this.add(ae),ae.updateMatrixWorld()}update(t,r){this.parent===null&&this.updateMatrixWorld();const{renderTarget:i,activeMipmapLevel:g}=this;this.coordinateSystem!==t.coordinateSystem&&(this.coordinateSystem=t.coordinateSystem,this.updateCoordinateSystem());const[$,V,re,ie,ae,oe]=this.children,le=t.getRenderTarget(),ue=t.getActiveCubeFace(),de=t.getActiveMipmapLevel(),he=t.xr.enabled;t.xr.enabled=!1;const pe=i.texture.generateMipmaps;i.texture.generateMipmaps=!1,t.setRenderTarget(i,0,g),t.render(r,$),t.setRenderTarget(i,1,g),t.render(r,V),t.setRenderTarget(i,2,g),t.render(r,re),t.setRenderTarget(i,3,g),t.render(r,ie),t.setRenderTarget(i,4,g),t.render(r,ae),i.texture.generateMipmaps=pe,t.setRenderTarget(i,5,g),t.render(r,oe),t.setRenderTarget(le,ue,de),t.xr.enabled=he,i.texture.needsPMREMUpdate=!0}}class CubeTexture extends Texture{constructor(t=[],r=CubeReflectionMapping,i,g,$,V,re,ie,ae,oe){super(t,r,i,g,$,V,re,ie,ae,oe),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(t){this.image=t}}class WebGLCubeRenderTarget extends WebGLRenderTarget{constructor(t=1,r={}){super(t,t,r),this.isWebGLCubeRenderTarget=!0;const i={width:t,height:t,depth:1},g=[i,i,i,i,i,i];this.texture=new CubeTexture(g),this._setTextureOptions(r),this.texture.isRenderTargetTexture=!0}fromEquirectangularTexture(t,r){this.texture.type=r.type,this.texture.colorSpace=r.colorSpace,this.texture.generateMipmaps=r.generateMipmaps,this.texture.minFilter=r.minFilter,this.texture.magFilter=r.magFilter;const i={uniforms:{tEquirect:{value:null}},vertexShader:` - - varying vec3 vWorldDirection; - - vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); - - } - - void main() { - - vWorldDirection = transformDirection( position, modelMatrix ); - - #include - #include - - } - `,fragmentShader:` - - uniform sampler2D tEquirect; - - varying vec3 vWorldDirection; - - #include - - void main() { - - vec3 direction = normalize( vWorldDirection ); - - vec2 sampleUV = equirectUv( direction ); - - gl_FragColor = texture2D( tEquirect, sampleUV ); - - } - `},g=new BoxGeometry(5,5,5),$=new ShaderMaterial({name:"CubemapFromEquirect",uniforms:cloneUniforms(i.uniforms),vertexShader:i.vertexShader,fragmentShader:i.fragmentShader,side:BackSide,blending:NoBlending});$.uniforms.tEquirect.value=r;const V=new Mesh(g,$),re=r.minFilter;return r.minFilter===LinearMipmapLinearFilter&&(r.minFilter=LinearFilter),new CubeCamera(1,10,this).update(t,V),r.minFilter=re,V.geometry.dispose(),V.material.dispose(),this}clear(t,r=!0,i=!0,g=!0){const $=t.getRenderTarget();for(let V=0;V<6;V++)t.setRenderTarget(this,V),t.clear(r,i,g);t.setRenderTarget($)}}let Group$5=class extends Object3D{constructor(){super(),this.isGroup=!0,this.type="Group"}};const _moveEvent={type:"move"};class WebXRController{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return this._hand===null&&(this._hand=new Group$5,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return this._targetRay===null&&(this._targetRay=new Group$5,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new Vector3,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new Vector3),this._targetRay}getGripSpace(){return this._grip===null&&(this._grip=new Group$5,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new Vector3,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new Vector3),this._grip}dispatchEvent(t){return this._targetRay!==null&&this._targetRay.dispatchEvent(t),this._grip!==null&&this._grip.dispatchEvent(t),this._hand!==null&&this._hand.dispatchEvent(t),this}connect(t){if(t&&t.hand){const r=this._hand;if(r)for(const i of t.hand.values())this._getHandJoint(r,i)}return this.dispatchEvent({type:"connected",data:t}),this}disconnect(t){return this.dispatchEvent({type:"disconnected",data:t}),this._targetRay!==null&&(this._targetRay.visible=!1),this._grip!==null&&(this._grip.visible=!1),this._hand!==null&&(this._hand.visible=!1),this}update(t,r,i){let g=null,$=null,V=null;const re=this._targetRay,ie=this._grip,ae=this._hand;if(t&&r.session.visibilityState!=="visible-blurred"){if(ae&&t.hand){V=!0;for(const pe of t.hand.values()){const _e=r.getJointPose(pe,i),Ce=this._getHandJoint(ae,pe);_e!==null&&(Ce.matrix.fromArray(_e.transform.matrix),Ce.matrix.decompose(Ce.position,Ce.rotation,Ce.scale),Ce.matrixWorldNeedsUpdate=!0,Ce.jointRadius=_e.radius),Ce.visible=_e!==null}const oe=ae.joints["index-finger-tip"],le=ae.joints["thumb-tip"],ue=oe.position.distanceTo(le.position),de=.02,he=.005;ae.inputState.pinching&&ue>de+he?(ae.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:t.handedness,target:this})):!ae.inputState.pinching&&ue<=de-he&&(ae.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:t.handedness,target:this}))}else ie!==null&&t.gripSpace&&($=r.getPose(t.gripSpace,i),$!==null&&(ie.matrix.fromArray($.transform.matrix),ie.matrix.decompose(ie.position,ie.rotation,ie.scale),ie.matrixWorldNeedsUpdate=!0,$.linearVelocity?(ie.hasLinearVelocity=!0,ie.linearVelocity.copy($.linearVelocity)):ie.hasLinearVelocity=!1,$.angularVelocity?(ie.hasAngularVelocity=!0,ie.angularVelocity.copy($.angularVelocity)):ie.hasAngularVelocity=!1));re!==null&&(g=r.getPose(t.targetRaySpace,i),g===null&&$!==null&&(g=$),g!==null&&(re.matrix.fromArray(g.transform.matrix),re.matrix.decompose(re.position,re.rotation,re.scale),re.matrixWorldNeedsUpdate=!0,g.linearVelocity?(re.hasLinearVelocity=!0,re.linearVelocity.copy(g.linearVelocity)):re.hasLinearVelocity=!1,g.angularVelocity?(re.hasAngularVelocity=!0,re.angularVelocity.copy(g.angularVelocity)):re.hasAngularVelocity=!1,this.dispatchEvent(_moveEvent)))}return re!==null&&(re.visible=g!==null),ie!==null&&(ie.visible=$!==null),ae!==null&&(ae.visible=V!==null),this}_getHandJoint(t,r){if(t.joints[r.jointName]===void 0){const i=new Group$5;i.matrixAutoUpdate=!1,i.visible=!1,t.joints[r.jointName]=i,t.add(i)}return t.joints[r.jointName]}}class Scene extends Object3D{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new Euler,this.environmentIntensity=1,this.environmentRotation=new Euler,this.overrideMaterial=null,typeof __THREE_DEVTOOLS__<"u"&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(t,r){return super.copy(t,r),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,this.backgroundRotation.copy(t.backgroundRotation),this.environmentIntensity=t.environmentIntensity,this.environmentRotation.copy(t.environmentRotation),t.overrideMaterial!==null&&(this.overrideMaterial=t.overrideMaterial.clone()),this.matrixAutoUpdate=t.matrixAutoUpdate,this}toJSON(t){const r=super.toJSON(t);return this.fog!==null&&(r.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(r.object.backgroundBlurriness=this.backgroundBlurriness),this.backgroundIntensity!==1&&(r.object.backgroundIntensity=this.backgroundIntensity),r.object.backgroundRotation=this.backgroundRotation.toArray(),this.environmentIntensity!==1&&(r.object.environmentIntensity=this.environmentIntensity),r.object.environmentRotation=this.environmentRotation.toArray(),r}}class InterleavedBuffer{constructor(t,r){this.isInterleavedBuffer=!0,this.array=t,this.stride=r,this.count=t!==void 0?t.length/r:0,this.usage=StaticDrawUsage,this.updateRanges=[],this.version=0,this.uuid=generateUUID()}onUploadCallback(){}set needsUpdate(t){t===!0&&this.version++}setUsage(t){return this.usage=t,this}addUpdateRange(t,r){this.updateRanges.push({start:t,count:r})}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,r,i){t*=this.stride,i*=r.stride;for(let g=0,$=this.stride;g<$;g++)this.array[t+g]=r.array[i+g];return this}set(t,r=0){return this.array.set(t,r),this}clone(t){t.arrayBuffers===void 0&&(t.arrayBuffers={}),this.array.buffer._uuid===void 0&&(this.array.buffer._uuid=generateUUID()),t.arrayBuffers[this.array.buffer._uuid]===void 0&&(t.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const r=new this.array.constructor(t.arrayBuffers[this.array.buffer._uuid]),i=new this.constructor(r,this.stride);return i.setUsage(this.usage),i}onUpload(t){return this.onUploadCallback=t,this}toJSON(t){return t.arrayBuffers===void 0&&(t.arrayBuffers={}),this.array.buffer._uuid===void 0&&(this.array.buffer._uuid=generateUUID()),t.arrayBuffers[this.array.buffer._uuid]===void 0&&(t.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const _vector$7=new Vector3;class InterleavedBufferAttribute{constructor(t,r,i,g=!1){this.isInterleavedBufferAttribute=!0,this.name="",this.data=t,this.itemSize=r,this.offset=i,this.normalized=g}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(t){this.data.needsUpdate=t}applyMatrix4(t){for(let r=0,i=this.data.count;rt.far||r.push({distance:ie,point:_intersectPoint.clone(),uv:Triangle$1.getInterpolation(_intersectPoint,_vA,_vB,_vC,_uvA,_uvB,_uvC,new Vector2),face:null,object:this})}copy(t,r){return super.copy(t,r),t.center!==void 0&&this.center.copy(t.center),this.material=t.material,this}}function transformVertex(n,t,r,i,g,$){_alignedPosition.subVectors(n,r).addScalar(.5).multiply(i),g!==void 0?(_rotatedPosition.x=$*_alignedPosition.x-g*_alignedPosition.y,_rotatedPosition.y=g*_alignedPosition.x+$*_alignedPosition.y):_rotatedPosition.copy(_alignedPosition),n.copy(t),n.x+=_rotatedPosition.x,n.y+=_rotatedPosition.y,n.applyMatrix4(_viewWorldMatrix)}const _basePosition=new Vector3,_skinIndex=new Vector4,_skinWeight=new Vector4,_vector3=new Vector3,_matrix4=new Matrix4,_vertex=new Vector3,_sphere$5=new Sphere,_inverseMatrix$2=new Matrix4,_ray$2=new Ray;class SkinnedMesh extends Mesh{constructor(t,r){super(t,r),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode=AttachedBindMode,this.bindMatrix=new Matrix4,this.bindMatrixInverse=new Matrix4,this.boundingBox=null,this.boundingSphere=null}computeBoundingBox(){const t=this.geometry;this.boundingBox===null&&(this.boundingBox=new Box3),this.boundingBox.makeEmpty();const r=t.getAttribute("position");for(let i=0;i1?null:r.copy(t.start).addScaledVector(i,$)}intersectsLine(t){const r=this.distanceToPoint(t.start),i=this.distanceToPoint(t.end);return r<0&&i>0||i<0&&r>0}intersectsBox(t){return t.intersectsPlane(this)}intersectsSphere(t){return t.intersectsPlane(this)}coplanarPoint(t){return t.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(t,r){const i=r||_normalMatrix.getNormalMatrix(t),g=this.coplanarPoint(_vector1).applyMatrix4(t),$=this.normal.applyMatrix3(i).normalize();return this.constant=-g.dot($),this}translate(t){return this.constant-=t.dot(this.normal),this}equals(t){return t.normal.equals(this.normal)&&t.constant===this.constant}clone(){return new this.constructor().copy(this)}}const _sphere$3=new Sphere,_defaultSpriteCenter=new Vector2(.5,.5),_vector$6=new Vector3;class Frustum{constructor(t=new Plane,r=new Plane,i=new Plane,g=new Plane,$=new Plane,V=new Plane){this.planes=[t,r,i,g,$,V]}set(t,r,i,g,$,V){const re=this.planes;return re[0].copy(t),re[1].copy(r),re[2].copy(i),re[3].copy(g),re[4].copy($),re[5].copy(V),this}copy(t){const r=this.planes;for(let i=0;i<6;i++)r[i].copy(t.planes[i]);return this}setFromProjectionMatrix(t,r=WebGLCoordinateSystem,i=!1){const g=this.planes,$=t.elements,V=$[0],re=$[1],ie=$[2],ae=$[3],oe=$[4],le=$[5],ue=$[6],de=$[7],he=$[8],pe=$[9],_e=$[10],Ce=$[11],xe=$[12],Ie=$[13],Ne=$[14],Oe=$[15];if(g[0].setComponents(ae-V,de-oe,Ce-he,Oe-xe).normalize(),g[1].setComponents(ae+V,de+oe,Ce+he,Oe+xe).normalize(),g[2].setComponents(ae+re,de+le,Ce+pe,Oe+Ie).normalize(),g[3].setComponents(ae-re,de-le,Ce-pe,Oe-Ie).normalize(),i)g[4].setComponents(ie,ue,_e,Ne).normalize(),g[5].setComponents(ae-ie,de-ue,Ce-_e,Oe-Ne).normalize();else if(g[4].setComponents(ae-ie,de-ue,Ce-_e,Oe-Ne).normalize(),r===WebGLCoordinateSystem)g[5].setComponents(ae+ie,de+ue,Ce+_e,Oe+Ne).normalize();else if(r===WebGPUCoordinateSystem)g[5].setComponents(ie,ue,_e,Ne).normalize();else throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+r);return this}intersectsObject(t){if(t.boundingSphere!==void 0)t.boundingSphere===null&&t.computeBoundingSphere(),_sphere$3.copy(t.boundingSphere).applyMatrix4(t.matrixWorld);else{const r=t.geometry;r.boundingSphere===null&&r.computeBoundingSphere(),_sphere$3.copy(r.boundingSphere).applyMatrix4(t.matrixWorld)}return this.intersectsSphere(_sphere$3)}intersectsSprite(t){_sphere$3.center.set(0,0,0);const r=_defaultSpriteCenter.distanceTo(t.center);return _sphere$3.radius=.7071067811865476+r,_sphere$3.applyMatrix4(t.matrixWorld),this.intersectsSphere(_sphere$3)}intersectsSphere(t){const r=this.planes,i=t.center,g=-t.radius;for(let $=0;$<6;$++)if(r[$].distanceToPoint(i)0?t.max.x:t.min.x,_vector$6.y=g.normal.y>0?t.max.y:t.min.y,_vector$6.z=g.normal.z>0?t.max.z:t.min.z,g.distanceToPoint(_vector$6)<0)return!1}return!0}containsPoint(t){const r=this.planes;for(let i=0;i<6;i++)if(r[i].distanceToPoint(t)<0)return!1;return!0}clone(){return new this.constructor().copy(this)}}class LineBasicMaterial extends Material{constructor(t){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new Color(16777215),this.map=null,this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.linewidth=t.linewidth,this.linecap=t.linecap,this.linejoin=t.linejoin,this.fog=t.fog,this}}const _vStart=new Vector3,_vEnd=new Vector3,_inverseMatrix$1=new Matrix4,_ray$1=new Ray,_sphere$1=new Sphere,_intersectPointOnRay=new Vector3,_intersectPointOnSegment=new Vector3;let Line$2=class extends Object3D{constructor(t=new BufferGeometry,r=new LineBasicMaterial){super(),this.isLine=!0,this.type="Line",this.geometry=t,this.material=r,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.updateMorphTargets()}copy(t,r){return super.copy(t,r),this.material=Array.isArray(t.material)?t.material.slice():t.material,this.geometry=t.geometry,this}computeLineDistances(){const t=this.geometry;if(t.index===null){const r=t.attributes.position,i=[0];for(let g=1,$=r.count;g<$;g++)_vStart.fromBufferAttribute(r,g-1),_vEnd.fromBufferAttribute(r,g),i[g]=i[g-1],i[g]+=_vStart.distanceTo(_vEnd);t.setAttribute("lineDistance",new Float32BufferAttribute(i,1))}else warn("Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(t,r){const i=this.geometry,g=this.matrixWorld,$=t.params.Line.threshold,V=i.drawRange;if(i.boundingSphere===null&&i.computeBoundingSphere(),_sphere$1.copy(i.boundingSphere),_sphere$1.applyMatrix4(g),_sphere$1.radius+=$,t.ray.intersectsSphere(_sphere$1)===!1)return;_inverseMatrix$1.copy(g).invert(),_ray$1.copy(t.ray).applyMatrix4(_inverseMatrix$1);const re=$/((this.scale.x+this.scale.y+this.scale.z)/3),ie=re*re,ae=this.isLineSegments?2:1,oe=i.index,ue=i.attributes.position;if(oe!==null){const de=Math.max(0,V.start),he=Math.min(oe.count,V.start+V.count);for(let pe=de,_e=he-1;pe<_e;pe+=ae){const Ce=oe.getX(pe),xe=oe.getX(pe+1),Ie=checkIntersection(this,t,_ray$1,ie,Ce,xe,pe);Ie&&r.push(Ie)}if(this.isLineLoop){const pe=oe.getX(he-1),_e=oe.getX(de),Ce=checkIntersection(this,t,_ray$1,ie,pe,_e,he-1);Ce&&r.push(Ce)}}else{const de=Math.max(0,V.start),he=Math.min(ue.count,V.start+V.count);for(let pe=de,_e=he-1;pe<_e;pe+=ae){const Ce=checkIntersection(this,t,_ray$1,ie,pe,pe+1,pe);Ce&&r.push(Ce)}if(this.isLineLoop){const pe=checkIntersection(this,t,_ray$1,ie,he-1,de,he-1);pe&&r.push(pe)}}}updateMorphTargets(){const r=this.geometry.morphAttributes,i=Object.keys(r);if(i.length>0){const g=r[i[0]];if(g!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let $=0,V=g.length;$i)return;_intersectPointOnRay.applyMatrix4(n.matrixWorld);const ae=t.ray.origin.distanceTo(_intersectPointOnRay);if(!(aet.far))return{distance:ae,point:_intersectPointOnSegment.clone().applyMatrix4(n.matrixWorld),index:V,face:null,faceIndex:null,barycoord:null,object:n}}const _start=new Vector3,_end=new Vector3;class LineSegments extends Line$2{constructor(t,r){super(t,r),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const t=this.geometry;if(t.index===null){const r=t.attributes.position,i=[];for(let g=0,$=r.count;g<$;g+=2)_start.fromBufferAttribute(r,g),_end.fromBufferAttribute(r,g+1),i[g]=g===0?0:i[g-1],i[g+1]=i[g]+_start.distanceTo(_end);t.setAttribute("lineDistance",new Float32BufferAttribute(i,1))}else warn("LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}class LineLoop extends Line$2{constructor(t,r){super(t,r),this.isLineLoop=!0,this.type="LineLoop"}}class PointsMaterial extends Material{constructor(t){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new Color(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(t)}copy(t){return super.copy(t),this.color.copy(t.color),this.map=t.map,this.alphaMap=t.alphaMap,this.size=t.size,this.sizeAttenuation=t.sizeAttenuation,this.fog=t.fog,this}}const _inverseMatrix=new Matrix4,_ray$4=new Ray,_sphere=new Sphere,_position$2=new Vector3;class Points extends Object3D{constructor(t=new BufferGeometry,r=new PointsMaterial){super(),this.isPoints=!0,this.type="Points",this.geometry=t,this.material=r,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.updateMorphTargets()}copy(t,r){return super.copy(t,r),this.material=Array.isArray(t.material)?t.material.slice():t.material,this.geometry=t.geometry,this}raycast(t,r){const i=this.geometry,g=this.matrixWorld,$=t.params.Points.threshold,V=i.drawRange;if(i.boundingSphere===null&&i.computeBoundingSphere(),_sphere.copy(i.boundingSphere),_sphere.applyMatrix4(g),_sphere.radius+=$,t.ray.intersectsSphere(_sphere)===!1)return;_inverseMatrix.copy(g).invert(),_ray$4.copy(t.ray).applyMatrix4(_inverseMatrix);const re=$/((this.scale.x+this.scale.y+this.scale.z)/3),ie=re*re,ae=i.index,le=i.attributes.position;if(ae!==null){const ue=Math.max(0,V.start),de=Math.min(ae.count,V.start+V.count);for(let he=ue,pe=de;he0){const g=r[i[0]];if(g!==void 0){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let $=0,V=g.length;$g.far)return;$.push({distance:ae,distanceToRay:Math.sqrt(re),point:ie,index:t,face:null,faceIndex:null,barycoord:null,object:V})}}class CanvasTexture extends Texture{constructor(t,r,i,g,$,V,re,ie,ae){super(t,r,i,g,$,V,re,ie,ae),this.isCanvasTexture=!0,this.needsUpdate=!0}}class DepthTexture extends Texture{constructor(t,r,i=UnsignedIntType,g,$,V,re=NearestFilter,ie=NearestFilter,ae,oe=DepthFormat,le=1){if(oe!==DepthFormat&&oe!==DepthStencilFormat)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");const ue={width:t,height:r,depth:le};super(ue,g,$,V,re,ie,oe,i,ae),this.isDepthTexture=!0,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(t){return super.copy(t),this.source=new Source(Object.assign({},t.image)),this.compareFunction=t.compareFunction,this}toJSON(t){const r=super.toJSON(t);return this.compareFunction!==null&&(r.compareFunction=this.compareFunction),r}}class CubeDepthTexture extends DepthTexture{constructor(t,r=UnsignedIntType,i=CubeReflectionMapping,g,$,V=NearestFilter,re=NearestFilter,ie,ae=DepthFormat){const oe={width:t,height:t,depth:1},le=[oe,oe,oe,oe,oe,oe];super(t,t,r,i,g,$,V,re,ie,ae),this.image=le,this.isCubeDepthTexture=!0,this.isCubeTexture=!0}get images(){return this.image}set images(t){this.image=t}}class ExternalTexture extends Texture{constructor(t=null){super(),this.sourceTexture=t,this.isExternalTexture=!0}copy(t){return super.copy(t),this.sourceTexture=t.sourceTexture,this}}class CylinderGeometry extends BufferGeometry{constructor(t=1,r=1,i=1,g=32,$=1,V=!1,re=0,ie=Math.PI*2){super(),this.type="CylinderGeometry",this.parameters={radiusTop:t,radiusBottom:r,height:i,radialSegments:g,heightSegments:$,openEnded:V,thetaStart:re,thetaLength:ie};const ae=this;g=Math.floor(g),$=Math.floor($);const oe=[],le=[],ue=[],de=[];let he=0;const pe=[],_e=i/2;let Ce=0;xe(),V===!1&&(t>0&&Ie(!0),r>0&&Ie(!1)),this.setIndex(oe),this.setAttribute("position",new Float32BufferAttribute(le,3)),this.setAttribute("normal",new Float32BufferAttribute(ue,3)),this.setAttribute("uv",new Float32BufferAttribute(de,2));function xe(){const Ne=new Vector3,Oe=new Vector3;let $e=0;const Ve=(r-t)/i;for(let Ue=0;Ue<=$;Ue++){const Fe=[],ze=Ue/$,Pt=ze*(r-t)+t;for(let qe=0;qe<=g;qe++){const Et=qe/g,kt=Et*ie+re,At=Math.sin(kt),Dt=Math.cos(kt);Oe.x=Pt*At,Oe.y=-ze*i+_e,Oe.z=Pt*Dt,le.push(Oe.x,Oe.y,Oe.z),Ne.set(At,Ve,Dt).normalize(),ue.push(Ne.x,Ne.y,Ne.z),de.push(Et,1-ze),Fe.push(he++)}pe.push(Fe)}for(let Ue=0;Ue0||Fe!==0)&&(oe.push(ze,Pt,Et),$e+=3),(r>0||Fe!==$-1)&&(oe.push(Pt,qe,Et),$e+=3)}ae.addGroup(Ce,$e,0),Ce+=$e}function Ie(Ne){const Oe=he,$e=new Vector2,Ve=new Vector3;let Ue=0;const Fe=Ne===!0?t:r,ze=Ne===!0?1:-1;for(let qe=1;qe<=g;qe++)le.push(0,_e*ze,0),ue.push(0,ze,0),de.push(.5,.5),he++;const Pt=he;for(let qe=0;qe<=g;qe++){const kt=qe/g*ie+re,At=Math.cos(kt),Dt=Math.sin(kt);Ve.x=Fe*Dt,Ve.y=_e*ze,Ve.z=Fe*At,le.push(Ve.x,Ve.y,Ve.z),ue.push(0,ze,0),$e.x=At*.5+.5,$e.y=Dt*.5*ze+.5,de.push($e.x,$e.y),he++}for(let qe=0;qe0)&&de.push(Ie,Ne,$e),(Ce!==i-1||ie0!=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 dispersion(){return this._dispersion}set dispersion(t){this._dispersion>0!=t>0&&this.version++,this._dispersion=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.dispersion=t.dispersion,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 MeshDepthMaterial extends Material{constructor(t){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=BasicDepthPacking,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(t)}copy(t){return super.copy(t),this.depthPacking=t.depthPacking,this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this.wireframe=t.wireframe,this.wireframeLinewidth=t.wireframeLinewidth,this}}class MeshDistanceMaterial extends Material{constructor(t){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(t)}copy(t){return super.copy(t),this.map=t.map,this.alphaMap=t.alphaMap,this.displacementMap=t.displacementMap,this.displacementScale=t.displacementScale,this.displacementBias=t.displacementBias,this}}function convertArray(n,t){return!n||n.constructor===t?n:typeof t.BYTES_PER_ELEMENT=="number"?new t(n):Array.prototype.slice.call(n)}function getKeyframeOrder(n){function t(g,$){return n[g]-n[$]}const r=n.length,i=new Array(r);for(let g=0;g!==r;++g)i[g]=g;return i.sort(t),i}function sortedArray(n,t,r){const i=n.length,g=new n.constructor(i);for(let $=0,V=0;V!==i;++$){const re=r[$]*t;for(let ie=0;ie!==t;++ie)g[V++]=n[re+ie]}return g}function flattenJSON(n,t,r,i){let g=1,$=n[0];for(;$!==void 0&&$[i]===void 0;)$=n[g++];if($===void 0)return;let V=$[i];if(V!==void 0)if(Array.isArray(V))do V=$[i],V!==void 0&&(t.push($.time),r.push(...V)),$=n[g++];while($!==void 0);else if(V.toArray!==void 0)do V=$[i],V!==void 0&&(t.push($.time),V.toArray(r,r.length)),$=n[g++];while($!==void 0);else do V=$[i],V!==void 0&&(t.push($.time),r.push(V)),$=n[g++];while($!==void 0)}class Interpolant{constructor(t,r,i,g){this.parameterPositions=t,this._cachedIndex=0,this.resultBuffer=g!==void 0?g:new r.constructor(i),this.sampleValues=r,this.valueSize=i,this.settings=null,this.DefaultSettings_={}}evaluate(t){const r=this.parameterPositions;let i=this._cachedIndex,g=r[i],$=r[i-1];e:{t:{let V;n:{r:if(!(t=$)){const re=r[1];t=$)break t}V=i,i=0;break n}break e}for(;i>>1;tr;)--V;if(++V,$!==0||V!==g){$>=V&&(V=Math.max(V,1),$=V-1);const re=this.getValueSize();this.times=i.slice($,V),this.values=this.values.slice($*re,V*re)}return this}validate(){let t=!0;const r=this.getValueSize();r-Math.floor(r)!==0&&(error("KeyframeTrack: Invalid value size in track.",this),t=!1);const i=this.times,g=this.values,$=i.length;$===0&&(error("KeyframeTrack: Track is empty.",this),t=!1);let V=null;for(let re=0;re!==$;re++){const ie=i[re];if(typeof ie=="number"&&isNaN(ie)){error("KeyframeTrack: Time is not a valid number.",this,re,ie),t=!1;break}if(V!==null&&V>ie){error("KeyframeTrack: Out of order keys.",this,re,ie,V),t=!1;break}V=ie}if(g!==void 0&&isTypedArray$1(g))for(let re=0,ie=g.length;re!==ie;++re){const ae=g[re];if(isNaN(ae)){error("KeyframeTrack: Value is not a valid number.",this,re,ae),t=!1;break}}return t}optimize(){const t=this.times.slice(),r=this.values.slice(),i=this.getValueSize(),g=this.getInterpolation()===InterpolateSmooth,$=t.length-1;let V=1;for(let re=1;re<$;++re){let ie=!1;const ae=t[re],oe=t[re+1];if(ae!==oe&&(re!==1||ae!==t[0]))if(g)ie=!0;else{const le=re*i,ue=le-i,de=le+i;for(let he=0;he!==i;++he){const pe=r[le+he];if(pe!==r[ue+he]||pe!==r[de+he]){ie=!0;break}}}if(ie){if(re!==V){t[V]=t[re];const le=re*i,ue=V*i;for(let de=0;de!==i;++de)r[ue+de]=r[le+de]}++V}}if($>0){t[V]=t[$];for(let re=$*i,ie=V*i,ae=0;ae!==i;++ae)r[ie+ae]=r[re+ae];++V}return V!==t.length?(this.times=t.slice(0,V),this.values=r.slice(0,V*i)):(this.times=t,this.values=r),this}clone(){const t=this.times.slice(),r=this.values.slice(),i=this.constructor,g=new i(this.name,t,r);return g.createInterpolant=this.createInterpolant,g}}KeyframeTrack.prototype.ValueTypeName="";KeyframeTrack.prototype.TimeBufferType=Float32Array;KeyframeTrack.prototype.ValueBufferType=Float32Array;KeyframeTrack.prototype.DefaultInterpolation=InterpolateLinear;class BooleanKeyframeTrack extends KeyframeTrack{constructor(t,r,i){super(t,r,i)}}BooleanKeyframeTrack.prototype.ValueTypeName="bool";BooleanKeyframeTrack.prototype.ValueBufferType=Array;BooleanKeyframeTrack.prototype.DefaultInterpolation=InterpolateDiscrete;BooleanKeyframeTrack.prototype.InterpolantFactoryMethodLinear=void 0;BooleanKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=void 0;class ColorKeyframeTrack extends KeyframeTrack{constructor(t,r,i,g){super(t,r,i,g)}}ColorKeyframeTrack.prototype.ValueTypeName="color";class NumberKeyframeTrack extends KeyframeTrack{constructor(t,r,i,g){super(t,r,i,g)}}NumberKeyframeTrack.prototype.ValueTypeName="number";class QuaternionLinearInterpolant extends Interpolant{constructor(t,r,i,g){super(t,r,i,g)}interpolate_(t,r,i,g){const $=this.resultBuffer,V=this.sampleValues,re=this.valueSize,ie=(i-r)/(g-r);let ae=t*re;for(let oe=ae+re;ae!==oe;ae+=4)Quaternion.slerpFlat($,0,V,ae-re,V,ae,ie);return $}}class QuaternionKeyframeTrack extends KeyframeTrack{constructor(t,r,i,g){super(t,r,i,g)}InterpolantFactoryMethodLinear(t){return new QuaternionLinearInterpolant(this.times,this.values,this.getValueSize(),t)}}QuaternionKeyframeTrack.prototype.ValueTypeName="quaternion";QuaternionKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=void 0;class StringKeyframeTrack extends KeyframeTrack{constructor(t,r,i){super(t,r,i)}}StringKeyframeTrack.prototype.ValueTypeName="string";StringKeyframeTrack.prototype.ValueBufferType=Array;StringKeyframeTrack.prototype.DefaultInterpolation=InterpolateDiscrete;StringKeyframeTrack.prototype.InterpolantFactoryMethodLinear=void 0;StringKeyframeTrack.prototype.InterpolantFactoryMethodSmooth=void 0;class VectorKeyframeTrack extends KeyframeTrack{constructor(t,r,i,g){super(t,r,i,g)}}VectorKeyframeTrack.prototype.ValueTypeName="vector";class AnimationClip{constructor(t="",r=-1,i=[],g=NormalAnimationBlendMode){this.name=t,this.tracks=i,this.duration=r,this.blendMode=g,this.uuid=generateUUID(),this.userData={},this.duration<0&&this.resetDuration()}static parse(t){const r=[],i=t.tracks,g=1/(t.fps||1);for(let V=0,re=i.length;V!==re;++V)r.push(parseKeyframeTrack(i[V]).scale(g));const $=new this(t.name,t.duration,r,t.blendMode);return $.uuid=t.uuid,$.userData=JSON.parse(t.userData||"{}"),$}static toJSON(t){const r=[],i=t.tracks,g={name:t.name,duration:t.duration,tracks:r,uuid:t.uuid,blendMode:t.blendMode,userData:JSON.stringify(t.userData)};for(let $=0,V=i.length;$!==V;++$)r.push(KeyframeTrack.toJSON(i[$]));return g}static CreateFromMorphTargetSequence(t,r,i,g){const $=r.length,V=[];for(let re=0;re<$;re++){let ie=[],ae=[];ie.push((re+$-1)%$,re,(re+1)%$),ae.push(0,1,0);const oe=getKeyframeOrder(ie);ie=sortedArray(ie,1,oe),ae=sortedArray(ae,1,oe),!g&&ie[0]===0&&(ie.push($),ae.push(ae[0])),V.push(new NumberKeyframeTrack(".morphTargetInfluences["+r[re].name+"]",ie,ae).scale(1/i))}return new this(t,-1,V)}static findByName(t,r){let i=t;if(!Array.isArray(t)){const g=t;i=g.geometry&&g.geometry.animations||g.animations}for(let g=0;g1){const le=oe[1];let ue=g[le];ue||(g[le]=ue=[]),ue.push(ae)}}const V=[];for(const re in g)V.push(this.CreateFromMorphTargetSequence(re,g[re],r,i));return V}static parseAnimation(t,r){if(warn("AnimationClip: parseAnimation() is deprecated and will be removed with r185"),!t)return error("AnimationClip: No animation in JSONLoader data."),null;const i=function(le,ue,de,he,pe){if(de.length!==0){const _e=[],Ce=[];flattenJSON(de,_e,Ce,he),_e.length!==0&&pe.push(new le(ue,_e,Ce))}},g=[],$=t.name||"default",V=t.fps||30,re=t.blendMode;let ie=t.length||-1;const ae=t.hierarchy||[];for(let le=0;le{r&&r($),this.manager.itemEnd(t)},0),$;if(loading[t]!==void 0){loading[t].push({onLoad:r,onProgress:i,onError:g});return}loading[t]=[],loading[t].push({onLoad:r,onProgress:i,onError:g});const V=new Request(t,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin",signal:typeof AbortSignal.any=="function"?AbortSignal.any([this._abortController.signal,this.manager.abortController.signal]):this._abortController.signal}),re=this.mimeType,ie=this.responseType;fetch(V).then(ae=>{if(ae.status===200||ae.status===0){if(ae.status===0&&warn("FileLoader: HTTP Status 0 received."),typeof ReadableStream>"u"||ae.body===void 0||ae.body.getReader===void 0)return ae;const oe=loading[t],le=ae.body.getReader(),ue=ae.headers.get("X-File-Size")||ae.headers.get("Content-Length"),de=ue?parseInt(ue):0,he=de!==0;let pe=0;const _e=new ReadableStream({start(Ce){xe();function xe(){le.read().then(({done:Ie,value:Ne})=>{if(Ie)Ce.close();else{pe+=Ne.byteLength;const Oe=new ProgressEvent("progress",{lengthComputable:he,loaded:pe,total:de});for(let $e=0,Ve=oe.length;$e{Ce.error(Ie)})}}});return new Response(_e)}else throw new HttpError(`fetch for "${ae.url}" responded with ${ae.status}: ${ae.statusText}`,ae)}).then(ae=>{switch(ie){case"arraybuffer":return ae.arrayBuffer();case"blob":return ae.blob();case"document":return ae.text().then(oe=>new DOMParser().parseFromString(oe,re));case"json":return ae.json();default:if(re==="")return ae.text();{const le=/charset="?([^;"\s]*)"?/i.exec(re),ue=le&&le[1]?le[1].toLowerCase():void 0,de=new TextDecoder(ue);return ae.arrayBuffer().then(he=>de.decode(he))}}}).then(ae=>{Cache.add(`file:${t}`,ae);const oe=loading[t];delete loading[t];for(let le=0,ue=oe.length;le{const oe=loading[t];if(oe===void 0)throw this.manager.itemError(t),ae;delete loading[t];for(let le=0,ue=oe.length;le{this.manager.itemEnd(t)}),this.manager.itemStart(t)}setResponseType(t){return this.responseType=t,this}setMimeType(t){return this.mimeType=t,this}abort(){return this._abortController.abort(),this._abortController=new AbortController,this}}const _loading=new WeakMap;class ImageLoader extends Loader{constructor(t){super(t)}load(t,r,i,g){this.path!==void 0&&(t=this.path+t),t=this.manager.resolveURL(t);const $=this,V=Cache.get(`image:${t}`);if(V!==void 0){if(V.complete===!0)$.manager.itemStart(t),setTimeout(function(){r&&r(V),$.manager.itemEnd(t)},0);else{let le=_loading.get(V);le===void 0&&(le=[],_loading.set(V,le)),le.push({onLoad:r,onError:g})}return V}const re=createElementNS("img");function ie(){oe(),r&&r(this);const le=_loading.get(this)||[];for(let ue=0;ue"u"&&warn("ImageBitmapLoader: createImageBitmap() not supported."),typeof fetch>"u"&&warn("ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"},this._abortController=new AbortController}setOptions(t){return this.options=t,this}load(t,r,i,g){t===void 0&&(t=""),this.path!==void 0&&(t=this.path+t),t=this.manager.resolveURL(t);const $=this,V=Cache.get(`image-bitmap:${t}`);if(V!==void 0){if($.manager.itemStart(t),V.then){V.then(ae=>{if(_errorMap.has(V)===!0)g&&g(_errorMap.get(V)),$.manager.itemError(t),$.manager.itemEnd(t);else return r&&r(ae),$.manager.itemEnd(t),ae});return}return setTimeout(function(){r&&r(V),$.manager.itemEnd(t)},0),V}const re={};re.credentials=this.crossOrigin==="anonymous"?"same-origin":"include",re.headers=this.requestHeader,re.signal=typeof AbortSignal.any=="function"?AbortSignal.any([this._abortController.signal,this.manager.abortController.signal]):this._abortController.signal;const ie=fetch(t,re).then(function(ae){return ae.blob()}).then(function(ae){return createImageBitmap(ae,Object.assign($.options,{colorSpaceConversion:"none"}))}).then(function(ae){return Cache.add(`image-bitmap:${t}`,ae),r&&r(ae),$.manager.itemEnd(t),ae}).catch(function(ae){g&&g(ae),_errorMap.set(ie,ae),Cache.remove(`image-bitmap:${t}`),$.manager.itemError(t),$.manager.itemEnd(t)});Cache.add(`image-bitmap:${t}`,ie),$.manager.itemStart(t)}abort(){return this._abortController.abort(),this._abortController=new AbortController,this}}class ArrayCamera extends PerspectiveCamera{constructor(t=[]){super(),this.isArrayCamera=!0,this.isMultiViewCamera=!1,this.cameras=t}}const _RESERVED_CHARS_RE="\\[\\]\\.:\\/",_reservedRe=new RegExp("["+_RESERVED_CHARS_RE+"]","g"),_wordChar="[^"+_RESERVED_CHARS_RE+"]",_wordCharOrDot="[^"+_RESERVED_CHARS_RE.replace("\\.","")+"]",_directoryRe=/((?:WC+[\/:])*)/.source.replace("WC",_wordChar),_nodeRe=/(WCOD+)?/.source.replace("WCOD",_wordCharOrDot),_objectRe=/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",_wordChar),_propertyRe=/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",_wordChar),_trackRe=new RegExp("^"+_directoryRe+_nodeRe+_objectRe+_propertyRe+"$"),_supportedObjectNames=["material","materials","bones","map"];class Composite{constructor(t,r,i){const g=i||PropertyBinding.parseTrackName(r);this._targetGroup=t,this._bindings=t.subscribe_(r,g)}getValue(t,r){this.bind();const i=this._targetGroup.nCachedObjects_,g=this._bindings[i];g!==void 0&&g.getValue(t,r)}setValue(t,r){const i=this._bindings;for(let g=this._targetGroup.nCachedObjects_,$=i.length;g!==$;++g)i[g].setValue(t,r)}bind(){const t=this._bindings;for(let r=this._targetGroup.nCachedObjects_,i=t.length;r!==i;++r)t[r].bind()}unbind(){const t=this._bindings;for(let r=this._targetGroup.nCachedObjects_,i=t.length;r!==i;++r)t[r].unbind()}}class PropertyBinding{constructor(t,r,i){this.path=r,this.parsedPath=i||PropertyBinding.parseTrackName(r),this.node=PropertyBinding.findNode(t,this.parsedPath.nodeName),this.rootNode=t,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(t,r,i){return t&&t.isAnimationObjectGroup?new PropertyBinding.Composite(t,r,i):new PropertyBinding(t,r,i)}static sanitizeNodeName(t){return t.replace(/\s/g,"_").replace(_reservedRe,"")}static parseTrackName(t){const r=_trackRe.exec(t);if(r===null)throw new Error("PropertyBinding: Cannot parse trackName: "+t);const i={nodeName:r[2],objectName:r[3],objectIndex:r[4],propertyName:r[5],propertyIndex:r[6]},g=i.nodeName&&i.nodeName.lastIndexOf(".");if(g!==void 0&&g!==-1){const $=i.nodeName.substring(g+1);_supportedObjectNames.indexOf($)!==-1&&(i.nodeName=i.nodeName.substring(0,g),i.objectName=$)}if(i.propertyName===null||i.propertyName.length===0)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+t);return i}static findNode(t,r){if(r===void 0||r===""||r==="."||r===-1||r===t.name||r===t.uuid)return t;if(t.skeleton){const i=t.skeleton.getBoneByName(r);if(i!==void 0)return i}if(t.children){const i=function($){for(let V=0;V<$.length;V++){const re=$[V];if(re.name===r||re.uuid===r)return re;const ie=i(re.children);if(ie)return ie}return null},g=i(t.children);if(g)return g}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(t,r){t[r]=this.targetObject[this.propertyName]}_getValue_array(t,r){const i=this.resolvedProperty;for(let g=0,$=i.length;g!==$;++g)t[r++]=i[g]}_getValue_arrayElement(t,r){t[r]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(t,r){this.resolvedProperty.toArray(t,r)}_setValue_direct(t,r){this.targetObject[this.propertyName]=t[r]}_setValue_direct_setNeedsUpdate(t,r){this.targetObject[this.propertyName]=t[r],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(t,r){this.targetObject[this.propertyName]=t[r],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(t,r){const i=this.resolvedProperty;for(let g=0,$=i.length;g!==$;++g)i[g]=t[r++]}_setValue_array_setNeedsUpdate(t,r){const i=this.resolvedProperty;for(let g=0,$=i.length;g!==$;++g)i[g]=t[r++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(t,r){const i=this.resolvedProperty;for(let g=0,$=i.length;g!==$;++g)i[g]=t[r++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(t,r){this.resolvedProperty[this.propertyIndex]=t[r]}_setValue_arrayElement_setNeedsUpdate(t,r){this.resolvedProperty[this.propertyIndex]=t[r],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(t,r){this.resolvedProperty[this.propertyIndex]=t[r],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(t,r){this.resolvedProperty.fromArray(t,r)}_setValue_fromArray_setNeedsUpdate(t,r){this.resolvedProperty.fromArray(t,r),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(t,r){this.resolvedProperty.fromArray(t,r),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(t,r){this.bind(),this.getValue(t,r)}_setValue_unbound(t,r){this.bind(),this.setValue(t,r)}bind(){let t=this.node;const r=this.parsedPath,i=r.objectName,g=r.propertyName;let $=r.propertyIndex;if(t||(t=PropertyBinding.findNode(this.rootNode,r.nodeName),this.node=t),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!t){warn("PropertyBinding: No target node found for track: "+this.path+".");return}if(i){let ae=r.objectIndex;switch(i){case"materials":if(!t.material){error("PropertyBinding: Can not bind to material as node does not have a material.",this);return}if(!t.material.materials){error("PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);return}t=t.material.materials;break;case"bones":if(!t.skeleton){error("PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);return}t=t.skeleton.bones;for(let oe=0;oede.start-he.start);let ue=0;for(let de=1;de 0 - vec4 plane; - #ifdef ALPHA_TO_COVERAGE - float distanceToPlane, distanceGradient; - float clipOpacity = 1.0; - #pragma unroll_loop_start - for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w; - distanceGradient = fwidth( distanceToPlane ) / 2.0; - clipOpacity *= smoothstep( - distanceGradient, distanceGradient, distanceToPlane ); - if ( clipOpacity == 0.0 ) discard; - } - #pragma unroll_loop_end - #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES - float unionClipOpacity = 1.0; - #pragma unroll_loop_start - for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - distanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w; - distanceGradient = fwidth( distanceToPlane ) / 2.0; - unionClipOpacity *= 1.0 - smoothstep( - distanceGradient, distanceGradient, distanceToPlane ); - } - #pragma unroll_loop_end - clipOpacity *= 1.0 - unionClipOpacity; - #endif - diffuseColor.a *= clipOpacity; - if ( diffuseColor.a == 0.0 ) discard; - #else - #pragma unroll_loop_start - for ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - if ( dot( vClipPosition, plane.xyz ) > plane.w ) discard; - } - #pragma unroll_loop_end - #if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES - bool clipped = true; - #pragma unroll_loop_start - for ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) { - plane = clippingPlanes[ i ]; - clipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped; - } - #pragma unroll_loop_end - if ( clipped ) discard; - #endif - #endif -#endif`,clipping_planes_pars_fragment=`#if NUM_CLIPPING_PLANES > 0 - varying vec3 vClipPosition; - uniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ]; -#endif`,clipping_planes_pars_vertex=`#if NUM_CLIPPING_PLANES > 0 - varying vec3 vClipPosition; -#endif`,clipping_planes_vertex=`#if NUM_CLIPPING_PLANES > 0 - vClipPosition = - mvPosition.xyz; -#endif`,color_fragment=`#if defined( USE_COLOR_ALPHA ) - diffuseColor *= vColor; -#elif defined( USE_COLOR ) - diffuseColor.rgb *= vColor; -#endif`,color_pars_fragment=`#if defined( USE_COLOR_ALPHA ) - varying vec4 vColor; -#elif defined( USE_COLOR ) - varying vec3 vColor; -#endif`,color_pars_vertex=`#if defined( USE_COLOR_ALPHA ) - varying vec4 vColor; -#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR ) - varying vec3 vColor; -#endif`,color_vertex=`#if defined( USE_COLOR_ALPHA ) - vColor = vec4( 1.0 ); -#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR ) - vColor = vec3( 1.0 ); -#endif -#ifdef USE_COLOR - vColor *= color; -#endif -#ifdef USE_INSTANCING_COLOR - vColor.xyz *= instanceColor.xyz; -#endif -#ifdef USE_BATCHING_COLOR - vec3 batchingColor = getBatchingColor( getIndirectIndex( gl_DrawID ) ); - vColor.xyz *= batchingColor.xyz; -#endif`,common=`#define PI 3.141592653589793 -#define PI2 6.283185307179586 -#define PI_HALF 1.5707963267948966 -#define RECIPROCAL_PI 0.3183098861837907 -#define RECIPROCAL_PI2 0.15915494309189535 -#define EPSILON 1e-6 -#ifndef saturate -#define saturate( a ) clamp( a, 0.0, 1.0 ) -#endif -#define whiteComplement( a ) ( 1.0 - saturate( a ) ) -float pow2( const in float x ) { return x*x; } -vec3 pow2( const in vec3 x ) { return x*x; } -float pow3( const in float x ) { return x*x*x; } -float pow4( const in float x ) { float x2 = x*x; return x2*x2; } -float max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); } -float average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); } -highp float rand( const in vec2 uv ) { - const highp float a = 12.9898, b = 78.233, c = 43758.5453; - highp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI ); - return fract( sin( sn ) * c ); -} -#ifdef HIGH_PRECISION - float precisionSafeLength( vec3 v ) { return length( v ); } -#else - float precisionSafeLength( vec3 v ) { - float maxComponent = max3( abs( v ) ); - return length( v / maxComponent ) * maxComponent; - } -#endif -struct IncidentLight { - vec3 color; - vec3 direction; - bool visible; -}; -struct ReflectedLight { - vec3 directDiffuse; - vec3 directSpecular; - vec3 indirectDiffuse; - vec3 indirectSpecular; -}; -#ifdef USE_ALPHAHASH - varying vec3 vPosition; -#endif -vec3 transformDirection( in vec3 dir, in mat4 matrix ) { - return normalize( ( matrix * vec4( dir, 0.0 ) ).xyz ); -} -vec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) { - return normalize( ( vec4( dir, 0.0 ) * matrix ).xyz ); -} -bool isPerspectiveMatrix( mat4 m ) { - return m[ 2 ][ 3 ] == - 1.0; -} -vec2 equirectUv( in vec3 dir ) { - float u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5; - float v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5; - return vec2( u, v ); -} -vec3 BRDF_Lambert( const in vec3 diffuseColor ) { - return RECIPROCAL_PI * diffuseColor; -} -vec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) { - float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH ); - return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel ); -} -float F_Schlick( const in float f0, const in float f90, const in float dotVH ) { - float fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH ); - return f0 * ( 1.0 - fresnel ) + ( f90 * fresnel ); -} // validated`,cube_uv_reflection_fragment=`#ifdef ENVMAP_TYPE_CUBE_UV - #define cubeUV_minMipLevel 4.0 - #define cubeUV_minTileSize 16.0 - float getFace( vec3 direction ) { - vec3 absDirection = abs( direction ); - float face = - 1.0; - if ( absDirection.x > absDirection.z ) { - if ( absDirection.x > absDirection.y ) - face = direction.x > 0.0 ? 0.0 : 3.0; - else - face = direction.y > 0.0 ? 1.0 : 4.0; - } else { - if ( absDirection.z > absDirection.y ) - face = direction.z > 0.0 ? 2.0 : 5.0; - else - face = direction.y > 0.0 ? 1.0 : 4.0; - } - return face; - } - vec2 getUV( vec3 direction, float face ) { - vec2 uv; - if ( face == 0.0 ) { - uv = vec2( direction.z, direction.y ) / abs( direction.x ); - } else if ( face == 1.0 ) { - uv = vec2( - direction.x, - direction.z ) / abs( direction.y ); - } else if ( face == 2.0 ) { - uv = vec2( - direction.x, direction.y ) / abs( direction.z ); - } else if ( face == 3.0 ) { - uv = vec2( - direction.z, direction.y ) / abs( direction.x ); - } else if ( face == 4.0 ) { - uv = vec2( - direction.x, direction.z ) / abs( direction.y ); - } else { - uv = vec2( direction.x, direction.y ) / abs( direction.z ); - } - return 0.5 * ( uv + 1.0 ); - } - vec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) { - float face = getFace( direction ); - float filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 ); - mipInt = max( mipInt, cubeUV_minMipLevel ); - float faceSize = exp2( mipInt ); - highp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0; - if ( face > 2.0 ) { - uv.y += faceSize; - face -= 3.0; - } - uv.x += face * faceSize; - uv.x += filterInt * 3.0 * cubeUV_minTileSize; - uv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize ); - uv.x *= CUBEUV_TEXEL_WIDTH; - uv.y *= CUBEUV_TEXEL_HEIGHT; - #ifdef texture2DGradEXT - return texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb; - #else - return texture2D( envMap, uv ).rgb; - #endif - } - #define cubeUV_r0 1.0 - #define cubeUV_m0 - 2.0 - #define cubeUV_r1 0.8 - #define cubeUV_m1 - 1.0 - #define cubeUV_r4 0.4 - #define cubeUV_m4 2.0 - #define cubeUV_r5 0.305 - #define cubeUV_m5 3.0 - #define cubeUV_r6 0.21 - #define cubeUV_m6 4.0 - float roughnessToMip( float roughness ) { - float mip = 0.0; - if ( roughness >= cubeUV_r1 ) { - mip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0; - } else if ( roughness >= cubeUV_r4 ) { - mip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1; - } else if ( roughness >= cubeUV_r5 ) { - mip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4; - } else if ( roughness >= cubeUV_r6 ) { - mip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5; - } else { - mip = - 2.0 * log2( 1.16 * roughness ); } - return mip; - } - vec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) { - float mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP ); - float mipF = fract( mip ); - float mipInt = floor( mip ); - vec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt ); - if ( mipF == 0.0 ) { - return vec4( color0, 1.0 ); - } else { - vec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 ); - return vec4( mix( color0, color1, mipF ), 1.0 ); - } - } -#endif`,defaultnormal_vertex=`vec3 transformedNormal = objectNormal; -#ifdef USE_TANGENT - vec3 transformedTangent = objectTangent; -#endif -#ifdef USE_BATCHING - mat3 bm = mat3( batchingMatrix ); - transformedNormal /= vec3( dot( bm[ 0 ], bm[ 0 ] ), dot( bm[ 1 ], bm[ 1 ] ), dot( bm[ 2 ], bm[ 2 ] ) ); - transformedNormal = bm * transformedNormal; - #ifdef USE_TANGENT - transformedTangent = bm * transformedTangent; - #endif -#endif -#ifdef USE_INSTANCING - mat3 im = mat3( instanceMatrix ); - transformedNormal /= vec3( dot( im[ 0 ], im[ 0 ] ), dot( im[ 1 ], im[ 1 ] ), dot( im[ 2 ], im[ 2 ] ) ); - transformedNormal = im * transformedNormal; - #ifdef USE_TANGENT - transformedTangent = im * transformedTangent; - #endif -#endif -transformedNormal = normalMatrix * transformedNormal; -#ifdef FLIP_SIDED - transformedNormal = - transformedNormal; -#endif -#ifdef USE_TANGENT - transformedTangent = ( modelViewMatrix * vec4( transformedTangent, 0.0 ) ).xyz; - #ifdef FLIP_SIDED - transformedTangent = - transformedTangent; - #endif -#endif`,displacementmap_pars_vertex=`#ifdef USE_DISPLACEMENTMAP - uniform sampler2D displacementMap; - uniform float displacementScale; - uniform float displacementBias; -#endif`,displacementmap_vertex=`#ifdef USE_DISPLACEMENTMAP - transformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias ); -#endif`,emissivemap_fragment=`#ifdef USE_EMISSIVEMAP - vec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv ); - #ifdef DECODE_VIDEO_TEXTURE_EMISSIVE - emissiveColor = sRGBTransferEOTF( emissiveColor ); - #endif - totalEmissiveRadiance *= emissiveColor.rgb; -#endif`,emissivemap_pars_fragment=`#ifdef USE_EMISSIVEMAP - uniform sampler2D emissiveMap; -#endif`,colorspace_fragment="gl_FragColor = linearToOutputTexel( gl_FragColor );",colorspace_pars_fragment=`vec4 LinearTransferOETF( in vec4 value ) { - return value; -} -vec4 sRGBTransferEOTF( in vec4 value ) { - return vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a ); -} -vec4 sRGBTransferOETF( in vec4 value ) { - return vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a ); -}`,envmap_fragment=`#ifdef USE_ENVMAP - #ifdef ENV_WORLDPOS - vec3 cameraToFrag; - if ( isOrthographic ) { - cameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); - } else { - cameraToFrag = normalize( vWorldPosition - cameraPosition ); - } - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - #ifdef ENVMAP_MODE_REFLECTION - vec3 reflectVec = reflect( cameraToFrag, worldNormal ); - #else - vec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio ); - #endif - #else - vec3 reflectVec = vReflect; - #endif - #ifdef ENVMAP_TYPE_CUBE - vec4 envColor = textureCube( envMap, envMapRotation * vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) ); - #else - vec4 envColor = vec4( 0.0 ); - #endif - #ifdef ENVMAP_BLENDING_MULTIPLY - outgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity ); - #elif defined( ENVMAP_BLENDING_MIX ) - outgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity ); - #elif defined( ENVMAP_BLENDING_ADD ) - outgoingLight += envColor.xyz * specularStrength * reflectivity; - #endif -#endif`,envmap_common_pars_fragment=`#ifdef USE_ENVMAP - uniform float envMapIntensity; - uniform float flipEnvMap; - uniform mat3 envMapRotation; - #ifdef ENVMAP_TYPE_CUBE - uniform samplerCube envMap; - #else - uniform sampler2D envMap; - #endif -#endif`,envmap_pars_fragment=`#ifdef USE_ENVMAP - uniform float reflectivity; - #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) - #define ENV_WORLDPOS - #endif - #ifdef ENV_WORLDPOS - varying vec3 vWorldPosition; - uniform float refractionRatio; - #else - varying vec3 vReflect; - #endif -#endif`,envmap_pars_vertex=`#ifdef USE_ENVMAP - #if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT ) - #define ENV_WORLDPOS - #endif - #ifdef ENV_WORLDPOS - - varying vec3 vWorldPosition; - #else - varying vec3 vReflect; - uniform float refractionRatio; - #endif -#endif`,envmap_vertex=`#ifdef USE_ENVMAP - #ifdef ENV_WORLDPOS - vWorldPosition = worldPosition.xyz; - #else - vec3 cameraToVertex; - if ( isOrthographic ) { - cameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) ); - } else { - cameraToVertex = normalize( worldPosition.xyz - cameraPosition ); - } - vec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); - #ifdef ENVMAP_MODE_REFLECTION - vReflect = reflect( cameraToVertex, worldNormal ); - #else - vReflect = refract( cameraToVertex, worldNormal, refractionRatio ); - #endif - #endif -#endif`,fog_vertex=`#ifdef USE_FOG - vFogDepth = - mvPosition.z; -#endif`,fog_pars_vertex=`#ifdef USE_FOG - varying float vFogDepth; -#endif`,fog_fragment=`#ifdef USE_FOG - #ifdef FOG_EXP2 - float fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth ); - #else - float fogFactor = smoothstep( fogNear, fogFar, vFogDepth ); - #endif - gl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor ); -#endif`,fog_pars_fragment=`#ifdef USE_FOG - uniform vec3 fogColor; - varying float vFogDepth; - #ifdef FOG_EXP2 - uniform float fogDensity; - #else - uniform float fogNear; - uniform float fogFar; - #endif -#endif`,gradientmap_pars_fragment=`#ifdef USE_GRADIENTMAP - uniform sampler2D gradientMap; -#endif -vec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) { - float dotNL = dot( normal, lightDirection ); - vec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 ); - #ifdef USE_GRADIENTMAP - return vec3( texture2D( gradientMap, coord ).r ); - #else - vec2 fw = fwidth( coord ) * 0.5; - return mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) ); - #endif -}`,lightmap_pars_fragment=`#ifdef USE_LIGHTMAP - uniform sampler2D lightMap; - uniform float lightMapIntensity; -#endif`,lights_lambert_fragment=`LambertMaterial material; -material.diffuseColor = diffuseColor.rgb; -material.specularStrength = specularStrength;`,lights_lambert_pars_fragment=`varying vec3 vViewPosition; -struct LambertMaterial { - vec3 diffuseColor; - float specularStrength; -}; -void RE_Direct_Lambert( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometryNormal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_Lambert -#define RE_IndirectDiffuse RE_IndirectDiffuse_Lambert`,lights_pars_begin=`uniform bool receiveShadow; -uniform vec3 ambientLightColor; -#if defined( USE_LIGHT_PROBES ) - uniform vec3 lightProbe[ 9 ]; -#endif -vec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) { - float x = normal.x, y = normal.y, z = normal.z; - vec3 result = shCoefficients[ 0 ] * 0.886227; - result += shCoefficients[ 1 ] * 2.0 * 0.511664 * y; - result += shCoefficients[ 2 ] * 2.0 * 0.511664 * z; - result += shCoefficients[ 3 ] * 2.0 * 0.511664 * x; - result += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y; - result += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z; - result += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 ); - result += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z; - result += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y ); - return result; -} -vec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) { - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - vec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe ); - return irradiance; -} -vec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) { - vec3 irradiance = ambientLightColor; - return irradiance; -} -float getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) { - float distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 ); - if ( cutoffDistance > 0.0 ) { - distanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) ); - } - return distanceFalloff; -} -float getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) { - return smoothstep( coneCosine, penumbraCosine, angleCosine ); -} -#if NUM_DIR_LIGHTS > 0 - struct DirectionalLight { - vec3 direction; - vec3 color; - }; - uniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ]; - void getDirectionalLightInfo( const in DirectionalLight directionalLight, out IncidentLight light ) { - light.color = directionalLight.color; - light.direction = directionalLight.direction; - light.visible = true; - } -#endif -#if NUM_POINT_LIGHTS > 0 - struct PointLight { - vec3 position; - vec3 color; - float distance; - float decay; - }; - uniform PointLight pointLights[ NUM_POINT_LIGHTS ]; - void getPointLightInfo( const in PointLight pointLight, const in vec3 geometryPosition, out IncidentLight light ) { - vec3 lVector = pointLight.position - geometryPosition; - light.direction = normalize( lVector ); - float lightDistance = length( lVector ); - light.color = pointLight.color; - light.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay ); - light.visible = ( light.color != vec3( 0.0 ) ); - } -#endif -#if NUM_SPOT_LIGHTS > 0 - struct SpotLight { - vec3 position; - vec3 direction; - vec3 color; - float distance; - float decay; - float coneCos; - float penumbraCos; - }; - uniform SpotLight spotLights[ NUM_SPOT_LIGHTS ]; - void getSpotLightInfo( const in SpotLight spotLight, const in vec3 geometryPosition, out IncidentLight light ) { - vec3 lVector = spotLight.position - geometryPosition; - light.direction = normalize( lVector ); - float angleCos = dot( light.direction, spotLight.direction ); - float spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos ); - if ( spotAttenuation > 0.0 ) { - float lightDistance = length( lVector ); - light.color = spotLight.color * spotAttenuation; - light.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay ); - light.visible = ( light.color != vec3( 0.0 ) ); - } else { - light.color = vec3( 0.0 ); - light.visible = false; - } - } -#endif -#if NUM_RECT_AREA_LIGHTS > 0 - struct RectAreaLight { - vec3 color; - vec3 position; - vec3 halfWidth; - vec3 halfHeight; - }; - uniform sampler2D ltc_1; uniform sampler2D ltc_2; - uniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ]; -#endif -#if NUM_HEMI_LIGHTS > 0 - struct HemisphereLight { - vec3 direction; - vec3 skyColor; - vec3 groundColor; - }; - uniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ]; - vec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) { - float dotNL = dot( normal, hemiLight.direction ); - float hemiDiffuseWeight = 0.5 * dotNL + 0.5; - vec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight ); - return irradiance; - } -#endif`,envmap_physical_pars_fragment=`#ifdef USE_ENVMAP - vec3 getIBLIrradiance( const in vec3 normal ) { - #ifdef ENVMAP_TYPE_CUBE_UV - vec3 worldNormal = inverseTransformDirection( normal, viewMatrix ); - vec4 envMapColor = textureCubeUV( envMap, envMapRotation * worldNormal, 1.0 ); - return PI * envMapColor.rgb * envMapIntensity; - #else - return vec3( 0.0 ); - #endif - } - vec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) { - #ifdef ENVMAP_TYPE_CUBE_UV - vec3 reflectVec = reflect( - viewDir, normal ); - reflectVec = normalize( mix( reflectVec, normal, pow4( roughness ) ) ); - reflectVec = inverseTransformDirection( reflectVec, viewMatrix ); - vec4 envMapColor = textureCubeUV( envMap, envMapRotation * reflectVec, roughness ); - return envMapColor.rgb * envMapIntensity; - #else - return vec3( 0.0 ); - #endif - } - #ifdef USE_ANISOTROPY - vec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) { - #ifdef ENVMAP_TYPE_CUBE_UV - vec3 bentNormal = cross( bitangent, viewDir ); - bentNormal = normalize( cross( bentNormal, bitangent ) ); - bentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) ); - return getIBLRadiance( viewDir, bentNormal, roughness ); - #else - return vec3( 0.0 ); - #endif - } - #endif -#endif`,lights_toon_fragment=`ToonMaterial material; -material.diffuseColor = diffuseColor.rgb;`,lights_toon_pars_fragment=`varying vec3 vViewPosition; -struct ToonMaterial { - vec3 diffuseColor; -}; -void RE_Direct_Toon( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { - vec3 irradiance = getGradientIrradiance( geometryNormal, directLight.direction ) * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -void RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_Toon -#define RE_IndirectDiffuse RE_IndirectDiffuse_Toon`,lights_phong_fragment=`BlinnPhongMaterial material; -material.diffuseColor = diffuseColor.rgb; -material.specularColor = specular; -material.specularShininess = shininess; -material.specularStrength = specularStrength;`,lights_phong_pars_fragment=`varying vec3 vViewPosition; -struct BlinnPhongMaterial { - vec3 diffuseColor; - vec3 specularColor; - float specularShininess; - float specularStrength; -}; -void RE_Direct_BlinnPhong( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometryNormal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); - reflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometryViewDir, geometryNormal, material.specularColor, material.specularShininess ) * material.specularStrength; -} -void RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) { - reflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor ); -} -#define RE_Direct RE_Direct_BlinnPhong -#define RE_IndirectDiffuse RE_IndirectDiffuse_BlinnPhong`,lights_physical_fragment=`PhysicalMaterial material; -material.diffuseColor = diffuseColor.rgb; -material.diffuseContribution = diffuseColor.rgb * ( 1.0 - metalnessFactor ); -material.metalness = metalnessFactor; -vec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) ); -float geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z ); -material.roughness = max( roughnessFactor, 0.0525 );material.roughness += geometryRoughness; -material.roughness = min( material.roughness, 1.0 ); -#ifdef IOR - material.ior = ior; - #ifdef USE_SPECULAR - float specularIntensityFactor = specularIntensity; - vec3 specularColorFactor = specularColor; - #ifdef USE_SPECULAR_COLORMAP - specularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb; - #endif - #ifdef USE_SPECULAR_INTENSITYMAP - specularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a; - #endif - material.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor ); - #else - float specularIntensityFactor = 1.0; - vec3 specularColorFactor = vec3( 1.0 ); - material.specularF90 = 1.0; - #endif - material.specularColor = min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor; - material.specularColorBlended = mix( material.specularColor, diffuseColor.rgb, metalnessFactor ); -#else - material.specularColor = vec3( 0.04 ); - material.specularColorBlended = mix( material.specularColor, diffuseColor.rgb, metalnessFactor ); - material.specularF90 = 1.0; -#endif -#ifdef USE_CLEARCOAT - material.clearcoat = clearcoat; - material.clearcoatRoughness = clearcoatRoughness; - material.clearcoatF0 = vec3( 0.04 ); - material.clearcoatF90 = 1.0; - #ifdef USE_CLEARCOATMAP - material.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x; - #endif - #ifdef USE_CLEARCOAT_ROUGHNESSMAP - material.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y; - #endif - material.clearcoat = saturate( material.clearcoat ); material.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 ); - material.clearcoatRoughness += geometryRoughness; - material.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 ); -#endif -#ifdef USE_DISPERSION - material.dispersion = dispersion; -#endif -#ifdef USE_IRIDESCENCE - material.iridescence = iridescence; - material.iridescenceIOR = iridescenceIOR; - #ifdef USE_IRIDESCENCEMAP - material.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r; - #endif - #ifdef USE_IRIDESCENCE_THICKNESSMAP - material.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum; - #else - material.iridescenceThickness = iridescenceThicknessMaximum; - #endif -#endif -#ifdef USE_SHEEN - material.sheenColor = sheenColor; - #ifdef USE_SHEEN_COLORMAP - material.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb; - #endif - material.sheenRoughness = clamp( sheenRoughness, 0.0001, 1.0 ); - #ifdef USE_SHEEN_ROUGHNESSMAP - material.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a; - #endif -#endif -#ifdef USE_ANISOTROPY - #ifdef USE_ANISOTROPYMAP - mat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x ); - vec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb; - vec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b; - #else - vec2 anisotropyV = anisotropyVector; - #endif - material.anisotropy = length( anisotropyV ); - if( material.anisotropy == 0.0 ) { - anisotropyV = vec2( 1.0, 0.0 ); - } else { - anisotropyV /= material.anisotropy; - material.anisotropy = saturate( material.anisotropy ); - } - material.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) ); - material.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y; - material.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y; -#endif`,lights_physical_pars_fragment=`uniform sampler2D dfgLUT; -struct PhysicalMaterial { - vec3 diffuseColor; - vec3 diffuseContribution; - vec3 specularColor; - vec3 specularColorBlended; - float roughness; - float metalness; - float specularF90; - float dispersion; - #ifdef USE_CLEARCOAT - float clearcoat; - float clearcoatRoughness; - vec3 clearcoatF0; - float clearcoatF90; - #endif - #ifdef USE_IRIDESCENCE - float iridescence; - float iridescenceIOR; - float iridescenceThickness; - vec3 iridescenceFresnel; - vec3 iridescenceF0; - vec3 iridescenceFresnelDielectric; - vec3 iridescenceFresnelMetallic; - #endif - #ifdef USE_SHEEN - vec3 sheenColor; - float sheenRoughness; - #endif - #ifdef IOR - float ior; - #endif - #ifdef USE_TRANSMISSION - float transmission; - float transmissionAlpha; - float thickness; - float attenuationDistance; - vec3 attenuationColor; - #endif - #ifdef USE_ANISOTROPY - float anisotropy; - float alphaT; - vec3 anisotropyT; - vec3 anisotropyB; - #endif -}; -vec3 clearcoatSpecularDirect = vec3( 0.0 ); -vec3 clearcoatSpecularIndirect = vec3( 0.0 ); -vec3 sheenSpecularDirect = vec3( 0.0 ); -vec3 sheenSpecularIndirect = vec3(0.0 ); -vec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) { - float x = clamp( 1.0 - dotVH, 0.0, 1.0 ); - float x2 = x * x; - float x5 = clamp( x * x2 * x2, 0.0, 0.9999 ); - return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 ); -} -float V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) { - float a2 = pow2( alpha ); - float gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) ); - float gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) ); - return 0.5 / max( gv + gl, EPSILON ); -} -float D_GGX( const in float alpha, const in float dotNH ) { - float a2 = pow2( alpha ); - float denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0; - return RECIPROCAL_PI * a2 / pow2( denom ); -} -#ifdef USE_ANISOTROPY - float V_GGX_SmithCorrelated_Anisotropic( const in float alphaT, const in float alphaB, const in float dotTV, const in float dotBV, const in float dotTL, const in float dotBL, const in float dotNV, const in float dotNL ) { - float gv = dotNL * length( vec3( alphaT * dotTV, alphaB * dotBV, dotNV ) ); - float gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) ); - float v = 0.5 / ( gv + gl ); - return v; - } - float D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) { - float a2 = alphaT * alphaB; - highp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH ); - highp float v2 = dot( v, v ); - float w2 = a2 / v2; - return RECIPROCAL_PI * a2 * pow2 ( w2 ); - } -#endif -#ifdef USE_CLEARCOAT - vec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) { - vec3 f0 = material.clearcoatF0; - float f90 = material.clearcoatF90; - float roughness = material.clearcoatRoughness; - float alpha = pow2( roughness ); - vec3 halfDir = normalize( lightDir + viewDir ); - float dotNL = saturate( dot( normal, lightDir ) ); - float dotNV = saturate( dot( normal, viewDir ) ); - float dotNH = saturate( dot( normal, halfDir ) ); - float dotVH = saturate( dot( viewDir, halfDir ) ); - vec3 F = F_Schlick( f0, f90, dotVH ); - float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV ); - float D = D_GGX( alpha, dotNH ); - return F * ( V * D ); - } -#endif -vec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) { - vec3 f0 = material.specularColorBlended; - float f90 = material.specularF90; - float roughness = material.roughness; - float alpha = pow2( roughness ); - vec3 halfDir = normalize( lightDir + viewDir ); - float dotNL = saturate( dot( normal, lightDir ) ); - float dotNV = saturate( dot( normal, viewDir ) ); - float dotNH = saturate( dot( normal, halfDir ) ); - float dotVH = saturate( dot( viewDir, halfDir ) ); - vec3 F = F_Schlick( f0, f90, dotVH ); - #ifdef USE_IRIDESCENCE - F = mix( F, material.iridescenceFresnel, material.iridescence ); - #endif - #ifdef USE_ANISOTROPY - float dotTL = dot( material.anisotropyT, lightDir ); - float dotTV = dot( material.anisotropyT, viewDir ); - float dotTH = dot( material.anisotropyT, halfDir ); - float dotBL = dot( material.anisotropyB, lightDir ); - float dotBV = dot( material.anisotropyB, viewDir ); - float dotBH = dot( material.anisotropyB, halfDir ); - float V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL ); - float D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH ); - #else - float V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV ); - float D = D_GGX( alpha, dotNH ); - #endif - return F * ( V * D ); -} -vec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) { - const float LUT_SIZE = 64.0; - const float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE; - const float LUT_BIAS = 0.5 / LUT_SIZE; - float dotNV = saturate( dot( N, V ) ); - vec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) ); - uv = uv * LUT_SCALE + LUT_BIAS; - return uv; -} -float LTC_ClippedSphereFormFactor( const in vec3 f ) { - float l = length( f ); - return max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 ); -} -vec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) { - float x = dot( v1, v2 ); - float y = abs( x ); - float a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y; - float b = 3.4175940 + ( 4.1616724 + y ) * y; - float v = a / b; - float theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v; - return cross( v1, v2 ) * theta_sintheta; -} -vec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) { - vec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ]; - vec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ]; - vec3 lightNormal = cross( v1, v2 ); - if( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 ); - vec3 T1, T2; - T1 = normalize( V - N * dot( V, N ) ); - T2 = - cross( N, T1 ); - mat3 mat = mInv * transpose( mat3( T1, T2, N ) ); - vec3 coords[ 4 ]; - coords[ 0 ] = mat * ( rectCoords[ 0 ] - P ); - coords[ 1 ] = mat * ( rectCoords[ 1 ] - P ); - coords[ 2 ] = mat * ( rectCoords[ 2 ] - P ); - coords[ 3 ] = mat * ( rectCoords[ 3 ] - P ); - coords[ 0 ] = normalize( coords[ 0 ] ); - coords[ 1 ] = normalize( coords[ 1 ] ); - coords[ 2 ] = normalize( coords[ 2 ] ); - coords[ 3 ] = normalize( coords[ 3 ] ); - vec3 vectorFormFactor = vec3( 0.0 ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] ); - vectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] ); - float result = LTC_ClippedSphereFormFactor( vectorFormFactor ); - return vec3( result ); -} -#if defined( USE_SHEEN ) -float D_Charlie( float roughness, float dotNH ) { - float alpha = pow2( roughness ); - float invAlpha = 1.0 / alpha; - float cos2h = dotNH * dotNH; - float sin2h = max( 1.0 - cos2h, 0.0078125 ); - return ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI ); -} -float V_Neubelt( float dotNV, float dotNL ) { - return saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) ); -} -vec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) { - vec3 halfDir = normalize( lightDir + viewDir ); - float dotNL = saturate( dot( normal, lightDir ) ); - float dotNV = saturate( dot( normal, viewDir ) ); - float dotNH = saturate( dot( normal, halfDir ) ); - float D = D_Charlie( sheenRoughness, dotNH ); - float V = V_Neubelt( dotNV, dotNL ); - return sheenColor * ( D * V ); -} -#endif -float IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) { - float dotNV = saturate( dot( normal, viewDir ) ); - float r2 = roughness * roughness; - float rInv = 1.0 / ( roughness + 0.1 ); - float a = -1.9362 + 1.0678 * roughness + 0.4573 * r2 - 0.8469 * rInv; - float b = -0.6014 + 0.5538 * roughness - 0.4670 * r2 - 0.1255 * rInv; - float DG = exp( a * dotNV + b ); - return saturate( DG ); -} -vec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) { - float dotNV = saturate( dot( normal, viewDir ) ); - vec2 fab = texture2D( dfgLUT, vec2( roughness, dotNV ) ).rg; - return specularColor * fab.x + specularF90 * fab.y; -} -#ifdef USE_IRIDESCENCE -void computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { -#else -void computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) { -#endif - float dotNV = saturate( dot( normal, viewDir ) ); - vec2 fab = texture2D( dfgLUT, vec2( roughness, dotNV ) ).rg; - #ifdef USE_IRIDESCENCE - vec3 Fr = mix( specularColor, iridescenceF0, iridescence ); - #else - vec3 Fr = specularColor; - #endif - vec3 FssEss = Fr * fab.x + specularF90 * fab.y; - float Ess = fab.x + fab.y; - float Ems = 1.0 - Ess; - vec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; vec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg ); - singleScatter += FssEss; - multiScatter += Fms * Ems; -} -vec3 BRDF_GGX_Multiscatter( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) { - vec3 singleScatter = BRDF_GGX( lightDir, viewDir, normal, material ); - float dotNL = saturate( dot( normal, lightDir ) ); - float dotNV = saturate( dot( normal, viewDir ) ); - vec2 dfgV = texture2D( dfgLUT, vec2( material.roughness, dotNV ) ).rg; - vec2 dfgL = texture2D( dfgLUT, vec2( material.roughness, dotNL ) ).rg; - vec3 FssEss_V = material.specularColorBlended * dfgV.x + material.specularF90 * dfgV.y; - vec3 FssEss_L = material.specularColorBlended * dfgL.x + material.specularF90 * dfgL.y; - float Ess_V = dfgV.x + dfgV.y; - float Ess_L = dfgL.x + dfgL.y; - float Ems_V = 1.0 - Ess_V; - float Ems_L = 1.0 - Ess_L; - vec3 Favg = material.specularColorBlended + ( 1.0 - material.specularColorBlended ) * 0.047619; - vec3 Fms = FssEss_V * FssEss_L * Favg / ( 1.0 - Ems_V * Ems_L * Favg + EPSILON ); - float compensationFactor = Ems_V * Ems_L; - vec3 multiScatter = Fms * compensationFactor; - return singleScatter + multiScatter; -} -#if NUM_RECT_AREA_LIGHTS > 0 - void RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - vec3 normal = geometryNormal; - vec3 viewDir = geometryViewDir; - vec3 position = geometryPosition; - vec3 lightPos = rectAreaLight.position; - vec3 halfWidth = rectAreaLight.halfWidth; - vec3 halfHeight = rectAreaLight.halfHeight; - vec3 lightColor = rectAreaLight.color; - float roughness = material.roughness; - vec3 rectCoords[ 4 ]; - rectCoords[ 0 ] = lightPos + halfWidth - halfHeight; rectCoords[ 1 ] = lightPos - halfWidth - halfHeight; - rectCoords[ 2 ] = lightPos - halfWidth + halfHeight; - rectCoords[ 3 ] = lightPos + halfWidth + halfHeight; - vec2 uv = LTC_Uv( normal, viewDir, roughness ); - vec4 t1 = texture2D( ltc_1, uv ); - vec4 t2 = texture2D( ltc_2, uv ); - mat3 mInv = mat3( - vec3( t1.x, 0, t1.y ), - vec3( 0, 1, 0 ), - vec3( t1.z, 0, t1.w ) - ); - vec3 fresnel = ( material.specularColorBlended * t2.x + ( vec3( 1.0 ) - material.specularColorBlended ) * t2.y ); - reflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords ); - reflectedLight.directDiffuse += lightColor * material.diffuseContribution * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords ); - } -#endif -void RE_Direct_Physical( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - float dotNL = saturate( dot( geometryNormal, directLight.direction ) ); - vec3 irradiance = dotNL * directLight.color; - #ifdef USE_CLEARCOAT - float dotNLcc = saturate( dot( geometryClearcoatNormal, directLight.direction ) ); - vec3 ccIrradiance = dotNLcc * directLight.color; - clearcoatSpecularDirect += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometryViewDir, geometryClearcoatNormal, material ); - #endif - #ifdef USE_SHEEN - - sheenSpecularDirect += irradiance * BRDF_Sheen( directLight.direction, geometryViewDir, geometryNormal, material.sheenColor, material.sheenRoughness ); - - float sheenAlbedoV = IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness ); - float sheenAlbedoL = IBLSheenBRDF( geometryNormal, directLight.direction, material.sheenRoughness ); - - float sheenEnergyComp = 1.0 - max3( material.sheenColor ) * max( sheenAlbedoV, sheenAlbedoL ); - - irradiance *= sheenEnergyComp; - - #endif - reflectedLight.directSpecular += irradiance * BRDF_GGX_Multiscatter( directLight.direction, geometryViewDir, geometryNormal, material ); - reflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseContribution ); -} -void RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) { - vec3 diffuse = irradiance * BRDF_Lambert( material.diffuseContribution ); - #ifdef USE_SHEEN - float sheenAlbedo = IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness ); - float sheenEnergyComp = 1.0 - max3( material.sheenColor ) * sheenAlbedo; - diffuse *= sheenEnergyComp; - #endif - reflectedLight.indirectDiffuse += diffuse; -} -void RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) { - #ifdef USE_CLEARCOAT - clearcoatSpecularIndirect += clearcoatRadiance * EnvironmentBRDF( geometryClearcoatNormal, geometryViewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness ); - #endif - #ifdef USE_SHEEN - sheenSpecularIndirect += irradiance * material.sheenColor * IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness ) * RECIPROCAL_PI; - #endif - vec3 singleScatteringDielectric = vec3( 0.0 ); - vec3 multiScatteringDielectric = vec3( 0.0 ); - vec3 singleScatteringMetallic = vec3( 0.0 ); - vec3 multiScatteringMetallic = vec3( 0.0 ); - #ifdef USE_IRIDESCENCE - computeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnelDielectric, material.roughness, singleScatteringDielectric, multiScatteringDielectric ); - computeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.diffuseColor, material.specularF90, material.iridescence, material.iridescenceFresnelMetallic, material.roughness, singleScatteringMetallic, multiScatteringMetallic ); - #else - computeMultiscattering( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.roughness, singleScatteringDielectric, multiScatteringDielectric ); - computeMultiscattering( geometryNormal, geometryViewDir, material.diffuseColor, material.specularF90, material.roughness, singleScatteringMetallic, multiScatteringMetallic ); - #endif - vec3 singleScattering = mix( singleScatteringDielectric, singleScatteringMetallic, material.metalness ); - vec3 multiScattering = mix( multiScatteringDielectric, multiScatteringMetallic, material.metalness ); - vec3 totalScatteringDielectric = singleScatteringDielectric + multiScatteringDielectric; - vec3 diffuse = material.diffuseContribution * ( 1.0 - totalScatteringDielectric ); - vec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI; - vec3 indirectSpecular = radiance * singleScattering; - indirectSpecular += multiScattering * cosineWeightedIrradiance; - vec3 indirectDiffuse = diffuse * cosineWeightedIrradiance; - #ifdef USE_SHEEN - float sheenAlbedo = IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness ); - float sheenEnergyComp = 1.0 - max3( material.sheenColor ) * sheenAlbedo; - indirectSpecular *= sheenEnergyComp; - indirectDiffuse *= sheenEnergyComp; - #endif - reflectedLight.indirectSpecular += indirectSpecular; - reflectedLight.indirectDiffuse += indirectDiffuse; -} -#define RE_Direct RE_Direct_Physical -#define RE_Direct_RectArea RE_Direct_RectArea_Physical -#define RE_IndirectDiffuse RE_IndirectDiffuse_Physical -#define RE_IndirectSpecular RE_IndirectSpecular_Physical -float computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) { - return saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion ); -}`,lights_fragment_begin=` -vec3 geometryPosition = - vViewPosition; -vec3 geometryNormal = normal; -vec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition ); -vec3 geometryClearcoatNormal = vec3( 0.0 ); -#ifdef USE_CLEARCOAT - geometryClearcoatNormal = clearcoatNormal; -#endif -#ifdef USE_IRIDESCENCE - float dotNVi = saturate( dot( normal, geometryViewDir ) ); - if ( material.iridescenceThickness == 0.0 ) { - material.iridescence = 0.0; - } else { - material.iridescence = saturate( material.iridescence ); - } - if ( material.iridescence > 0.0 ) { - material.iridescenceFresnelDielectric = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor ); - material.iridescenceFresnelMetallic = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.diffuseColor ); - material.iridescenceFresnel = mix( material.iridescenceFresnelDielectric, material.iridescenceFresnelMetallic, material.metalness ); - material.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi ); - } -#endif -IncidentLight directLight; -#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct ) - PointLight pointLight; - #if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0 - PointLightShadow pointLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) { - pointLight = pointLights[ i ]; - getPointLightInfo( pointLight, geometryPosition, directLight ); - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS ) && ( defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_BASIC ) ) - pointLightShadow = pointLightShadows[ i ]; - directLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowIntensity, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0; - #endif - RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct ) - SpotLight spotLight; - vec4 spotColor; - vec3 spotLightCoord; - bool inSpotLightMap; - #if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0 - SpotLightShadow spotLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) { - spotLight = spotLights[ i ]; - getSpotLightInfo( spotLight, geometryPosition, directLight ); - #if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) - #define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX - #elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - #define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS - #else - #define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS ) - #endif - #if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS ) - spotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w; - inSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) ); - spotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy ); - directLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color; - #endif - #undef SPOT_LIGHT_MAP_INDEX - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - spotLightShadow = spotLightShadows[ i ]; - directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowIntensity, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; - #endif - RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct ) - DirectionalLight directionalLight; - #if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0 - DirectionalLightShadow directionalLightShadow; - #endif - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) { - directionalLight = directionalLights[ i ]; - getDirectionalLightInfo( directionalLight, directLight ); - #if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS ) - directionalLightShadow = directionalLightShadows[ i ]; - directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowIntensity, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; - #endif - RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea ) - RectAreaLight rectAreaLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) { - rectAreaLight = rectAreaLights[ i ]; - RE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); - } - #pragma unroll_loop_end -#endif -#if defined( RE_IndirectDiffuse ) - vec3 iblIrradiance = vec3( 0.0 ); - vec3 irradiance = getAmbientLightIrradiance( ambientLightColor ); - #if defined( USE_LIGHT_PROBES ) - irradiance += getLightProbeIrradiance( lightProbe, geometryNormal ); - #endif - #if ( NUM_HEMI_LIGHTS > 0 ) - #pragma unroll_loop_start - for ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) { - irradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal ); - } - #pragma unroll_loop_end - #endif -#endif -#if defined( RE_IndirectSpecular ) - vec3 radiance = vec3( 0.0 ); - vec3 clearcoatRadiance = vec3( 0.0 ); -#endif`,lights_fragment_maps=`#if defined( RE_IndirectDiffuse ) - #ifdef USE_LIGHTMAP - vec4 lightMapTexel = texture2D( lightMap, vLightMapUv ); - vec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity; - irradiance += lightMapIrradiance; - #endif - #if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV ) - iblIrradiance += getIBLIrradiance( geometryNormal ); - #endif -#endif -#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular ) - #ifdef USE_ANISOTROPY - radiance += getIBLAnisotropyRadiance( geometryViewDir, geometryNormal, material.roughness, material.anisotropyB, material.anisotropy ); - #else - radiance += getIBLRadiance( geometryViewDir, geometryNormal, material.roughness ); - #endif - #ifdef USE_CLEARCOAT - clearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness ); - #endif -#endif`,lights_fragment_end=`#if defined( RE_IndirectDiffuse ) - RE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); -#endif -#if defined( RE_IndirectSpecular ) - RE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight ); -#endif`,logdepthbuf_fragment=`#if defined( USE_LOGARITHMIC_DEPTH_BUFFER ) - gl_FragDepth = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5; -#endif`,logdepthbuf_pars_fragment=`#if defined( USE_LOGARITHMIC_DEPTH_BUFFER ) - uniform float logDepthBufFC; - varying float vFragDepth; - varying float vIsPerspective; -#endif`,logdepthbuf_pars_vertex=`#ifdef USE_LOGARITHMIC_DEPTH_BUFFER - varying float vFragDepth; - varying float vIsPerspective; -#endif`,logdepthbuf_vertex=`#ifdef USE_LOGARITHMIC_DEPTH_BUFFER - vFragDepth = 1.0 + gl_Position.w; - vIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) ); -#endif`,map_fragment=`#ifdef USE_MAP - vec4 sampledDiffuseColor = texture2D( map, vMapUv ); - #ifdef DECODE_VIDEO_TEXTURE - sampledDiffuseColor = sRGBTransferEOTF( sampledDiffuseColor ); - #endif - diffuseColor *= sampledDiffuseColor; -#endif`,map_pars_fragment=`#ifdef USE_MAP - uniform sampler2D map; -#endif`,map_particle_fragment=`#if defined( USE_MAP ) || defined( USE_ALPHAMAP ) - #if defined( USE_POINTS_UV ) - vec2 uv = vUv; - #else - vec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy; - #endif -#endif -#ifdef USE_MAP - diffuseColor *= texture2D( map, uv ); -#endif -#ifdef USE_ALPHAMAP - diffuseColor.a *= texture2D( alphaMap, uv ).g; -#endif`,map_particle_pars_fragment=`#if defined( USE_POINTS_UV ) - varying vec2 vUv; -#else - #if defined( USE_MAP ) || defined( USE_ALPHAMAP ) - uniform mat3 uvTransform; - #endif -#endif -#ifdef USE_MAP - uniform sampler2D map; -#endif -#ifdef USE_ALPHAMAP - uniform sampler2D alphaMap; -#endif`,metalnessmap_fragment=`float metalnessFactor = metalness; -#ifdef USE_METALNESSMAP - vec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv ); - metalnessFactor *= texelMetalness.b; -#endif`,metalnessmap_pars_fragment=`#ifdef USE_METALNESSMAP - uniform sampler2D metalnessMap; -#endif`,morphinstance_vertex=`#ifdef USE_INSTANCING_MORPH - float morphTargetInfluences[ MORPHTARGETS_COUNT ]; - float morphTargetBaseInfluence = texelFetch( morphTexture, ivec2( 0, gl_InstanceID ), 0 ).r; - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - morphTargetInfluences[i] = texelFetch( morphTexture, ivec2( i + 1, gl_InstanceID ), 0 ).r; - } -#endif`,morphcolor_vertex=`#if defined( USE_MORPHCOLORS ) - vColor *= morphTargetBaseInfluence; - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - #if defined( USE_COLOR_ALPHA ) - if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ]; - #elif defined( USE_COLOR ) - if ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ]; - #endif - } -#endif`,morphnormal_vertex=`#ifdef USE_MORPHNORMALS - objectNormal *= morphTargetBaseInfluence; - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - if ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ]; - } -#endif`,morphtarget_pars_vertex=`#ifdef USE_MORPHTARGETS - #ifndef USE_INSTANCING_MORPH - uniform float morphTargetBaseInfluence; - uniform float morphTargetInfluences[ MORPHTARGETS_COUNT ]; - #endif - uniform sampler2DArray morphTargetsTexture; - uniform ivec2 morphTargetsTextureSize; - vec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) { - int texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset; - int y = texelIndex / morphTargetsTextureSize.x; - int x = texelIndex - y * morphTargetsTextureSize.x; - ivec3 morphUV = ivec3( x, y, morphTargetIndex ); - return texelFetch( morphTargetsTexture, morphUV, 0 ); - } -#endif`,morphtarget_vertex=`#ifdef USE_MORPHTARGETS - transformed *= morphTargetBaseInfluence; - for ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) { - if ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ]; - } -#endif`,normal_fragment_begin=`float faceDirection = gl_FrontFacing ? 1.0 : - 1.0; -#ifdef FLAT_SHADED - vec3 fdx = dFdx( vViewPosition ); - vec3 fdy = dFdy( vViewPosition ); - vec3 normal = normalize( cross( fdx, fdy ) ); -#else - vec3 normal = normalize( vNormal ); - #ifdef DOUBLE_SIDED - normal *= faceDirection; - #endif -#endif -#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) - #ifdef USE_TANGENT - mat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal ); - #else - mat3 tbn = getTangentFrame( - vViewPosition, normal, - #if defined( USE_NORMALMAP ) - vNormalMapUv - #elif defined( USE_CLEARCOAT_NORMALMAP ) - vClearcoatNormalMapUv - #else - vUv - #endif - ); - #endif - #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED ) - tbn[0] *= faceDirection; - tbn[1] *= faceDirection; - #endif -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - #ifdef USE_TANGENT - mat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal ); - #else - mat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv ); - #endif - #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED ) - tbn2[0] *= faceDirection; - tbn2[1] *= faceDirection; - #endif -#endif -vec3 nonPerturbedNormal = normal;`,normal_fragment_maps=`#ifdef USE_NORMALMAP_OBJECTSPACE - normal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0; - #ifdef FLIP_SIDED - normal = - normal; - #endif - #ifdef DOUBLE_SIDED - normal = normal * faceDirection; - #endif - normal = normalize( normalMatrix * normal ); -#elif defined( USE_NORMALMAP_TANGENTSPACE ) - vec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0; - mapN.xy *= normalScale; - normal = normalize( tbn * mapN ); -#elif defined( USE_BUMPMAP ) - normal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection ); -#endif`,normal_pars_fragment=`#ifndef FLAT_SHADED - varying vec3 vNormal; - #ifdef USE_TANGENT - varying vec3 vTangent; - varying vec3 vBitangent; - #endif -#endif`,normal_pars_vertex=`#ifndef FLAT_SHADED - varying vec3 vNormal; - #ifdef USE_TANGENT - varying vec3 vTangent; - varying vec3 vBitangent; - #endif -#endif`,normal_vertex=`#ifndef FLAT_SHADED - vNormal = normalize( transformedNormal ); - #ifdef USE_TANGENT - vTangent = normalize( transformedTangent ); - vBitangent = normalize( cross( vNormal, vTangent ) * tangent.w ); - #endif -#endif`,normalmap_pars_fragment=`#ifdef USE_NORMALMAP - uniform sampler2D normalMap; - uniform vec2 normalScale; -#endif -#ifdef USE_NORMALMAP_OBJECTSPACE - uniform mat3 normalMatrix; -#endif -#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) ) - mat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) { - vec3 q0 = dFdx( eye_pos.xyz ); - vec3 q1 = dFdy( eye_pos.xyz ); - vec2 st0 = dFdx( uv.st ); - vec2 st1 = dFdy( uv.st ); - vec3 N = surf_norm; - vec3 q1perp = cross( q1, N ); - vec3 q0perp = cross( N, q0 ); - vec3 T = q1perp * st0.x + q0perp * st1.x; - vec3 B = q1perp * st0.y + q0perp * st1.y; - float det = max( dot( T, T ), dot( B, B ) ); - float scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det ); - return mat3( T * scale, B * scale, N ); - } -#endif`,clearcoat_normal_fragment_begin=`#ifdef USE_CLEARCOAT - vec3 clearcoatNormal = nonPerturbedNormal; -#endif`,clearcoat_normal_fragment_maps=`#ifdef USE_CLEARCOAT_NORMALMAP - vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0; - clearcoatMapN.xy *= clearcoatNormalScale; - clearcoatNormal = normalize( tbn2 * clearcoatMapN ); -#endif`,clearcoat_pars_fragment=`#ifdef USE_CLEARCOATMAP - uniform sampler2D clearcoatMap; -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - uniform sampler2D clearcoatNormalMap; - uniform vec2 clearcoatNormalScale; -#endif -#ifdef USE_CLEARCOAT_ROUGHNESSMAP - uniform sampler2D clearcoatRoughnessMap; -#endif`,iridescence_pars_fragment=`#ifdef USE_IRIDESCENCEMAP - uniform sampler2D iridescenceMap; -#endif -#ifdef USE_IRIDESCENCE_THICKNESSMAP - uniform sampler2D iridescenceThicknessMap; -#endif`,opaque_fragment=`#ifdef OPAQUE -diffuseColor.a = 1.0; -#endif -#ifdef USE_TRANSMISSION -diffuseColor.a *= material.transmissionAlpha; -#endif -gl_FragColor = vec4( outgoingLight, diffuseColor.a );`,packing=`vec3 packNormalToRGB( const in vec3 normal ) { - return normalize( normal ) * 0.5 + 0.5; -} -vec3 unpackRGBToNormal( const in vec3 rgb ) { - return 2.0 * rgb.xyz - 1.0; -} -const float PackUpscale = 256. / 255.;const float UnpackDownscale = 255. / 256.;const float ShiftRight8 = 1. / 256.; -const float Inv255 = 1. / 255.; -const vec4 PackFactors = vec4( 1.0, 256.0, 256.0 * 256.0, 256.0 * 256.0 * 256.0 ); -const vec2 UnpackFactors2 = vec2( UnpackDownscale, 1.0 / PackFactors.g ); -const vec3 UnpackFactors3 = vec3( UnpackDownscale / PackFactors.rg, 1.0 / PackFactors.b ); -const vec4 UnpackFactors4 = vec4( UnpackDownscale / PackFactors.rgb, 1.0 / PackFactors.a ); -vec4 packDepthToRGBA( const in float v ) { - if( v <= 0.0 ) - return vec4( 0., 0., 0., 0. ); - if( v >= 1.0 ) - return vec4( 1., 1., 1., 1. ); - float vuf; - float af = modf( v * PackFactors.a, vuf ); - float bf = modf( vuf * ShiftRight8, vuf ); - float gf = modf( vuf * ShiftRight8, vuf ); - return vec4( vuf * Inv255, gf * PackUpscale, bf * PackUpscale, af ); -} -vec3 packDepthToRGB( const in float v ) { - if( v <= 0.0 ) - return vec3( 0., 0., 0. ); - if( v >= 1.0 ) - return vec3( 1., 1., 1. ); - float vuf; - float bf = modf( v * PackFactors.b, vuf ); - float gf = modf( vuf * ShiftRight8, vuf ); - return vec3( vuf * Inv255, gf * PackUpscale, bf ); -} -vec2 packDepthToRG( const in float v ) { - if( v <= 0.0 ) - return vec2( 0., 0. ); - if( v >= 1.0 ) - return vec2( 1., 1. ); - float vuf; - float gf = modf( v * 256., vuf ); - return vec2( vuf * Inv255, gf ); -} -float unpackRGBAToDepth( const in vec4 v ) { - return dot( v, UnpackFactors4 ); -} -float unpackRGBToDepth( const in vec3 v ) { - return dot( v, UnpackFactors3 ); -} -float unpackRGToDepth( const in vec2 v ) { - return v.r * UnpackFactors2.r + v.g * UnpackFactors2.g; -} -vec4 pack2HalfToRGBA( const in vec2 v ) { - vec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) ); - return vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w ); -} -vec2 unpackRGBATo2Half( const in vec4 v ) { - return vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) ); -} -float viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) { - return ( viewZ + near ) / ( near - far ); -} -float orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) { - return depth * ( near - far ) - near; -} -float viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) { - return ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ ); -} -float perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) { - return ( near * far ) / ( ( far - near ) * depth - far ); -}`,premultiplied_alpha_fragment=`#ifdef PREMULTIPLIED_ALPHA - gl_FragColor.rgb *= gl_FragColor.a; -#endif`,project_vertex=`vec4 mvPosition = vec4( transformed, 1.0 ); -#ifdef USE_BATCHING - mvPosition = batchingMatrix * mvPosition; -#endif -#ifdef USE_INSTANCING - mvPosition = instanceMatrix * mvPosition; -#endif -mvPosition = modelViewMatrix * mvPosition; -gl_Position = projectionMatrix * mvPosition;`,dithering_fragment=`#ifdef DITHERING - gl_FragColor.rgb = dithering( gl_FragColor.rgb ); -#endif`,dithering_pars_fragment=`#ifdef DITHERING - vec3 dithering( vec3 color ) { - float grid_position = rand( gl_FragCoord.xy ); - vec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 ); - dither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position ); - return color + dither_shift_RGB; - } -#endif`,roughnessmap_fragment=`float roughnessFactor = roughness; -#ifdef USE_ROUGHNESSMAP - vec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv ); - roughnessFactor *= texelRoughness.g; -#endif`,roughnessmap_pars_fragment=`#ifdef USE_ROUGHNESSMAP - uniform sampler2D roughnessMap; -#endif`,shadowmap_pars_fragment=`#if NUM_SPOT_LIGHT_COORDS > 0 - varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; -#endif -#if NUM_SPOT_LIGHT_MAPS > 0 - uniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ]; -#endif -#ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - #if defined( SHADOWMAP_TYPE_PCF ) - uniform sampler2DShadow directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ]; - #else - uniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ]; - #endif - varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; - struct DirectionalLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - #if defined( SHADOWMAP_TYPE_PCF ) - uniform sampler2DShadow spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ]; - #else - uniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ]; - #endif - struct SpotLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - #if defined( SHADOWMAP_TYPE_PCF ) - uniform samplerCubeShadow pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ]; - #elif defined( SHADOWMAP_TYPE_BASIC ) - uniform samplerCube pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ]; - #endif - varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; - struct PointLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - float shadowCameraNear; - float shadowCameraFar; - }; - uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; - #endif - #if defined( SHADOWMAP_TYPE_PCF ) - float interleavedGradientNoise( vec2 position ) { - return fract( 52.9829189 * fract( dot( position, vec2( 0.06711056, 0.00583715 ) ) ) ); - } - vec2 vogelDiskSample( int sampleIndex, int samplesCount, float phi ) { - const float goldenAngle = 2.399963229728653; - float r = sqrt( ( float( sampleIndex ) + 0.5 ) / float( samplesCount ) ); - float theta = float( sampleIndex ) * goldenAngle + phi; - return vec2( cos( theta ), sin( theta ) ) * r; - } - #endif - #if defined( SHADOWMAP_TYPE_PCF ) - float getShadow( sampler2DShadow shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) { - float shadow = 1.0; - shadowCoord.xyz /= shadowCoord.w; - shadowCoord.z += shadowBias; - bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0; - bool frustumTest = inFrustum && shadowCoord.z <= 1.0; - if ( frustumTest ) { - vec2 texelSize = vec2( 1.0 ) / shadowMapSize; - float radius = shadowRadius * texelSize.x; - float phi = interleavedGradientNoise( gl_FragCoord.xy ) * 6.28318530718; - shadow = ( - texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 0, 5, phi ) * radius, shadowCoord.z ) ) + - texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 1, 5, phi ) * radius, shadowCoord.z ) ) + - texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 2, 5, phi ) * radius, shadowCoord.z ) ) + - texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 3, 5, phi ) * radius, shadowCoord.z ) ) + - texture( shadowMap, vec3( shadowCoord.xy + vogelDiskSample( 4, 5, phi ) * radius, shadowCoord.z ) ) - ) * 0.2; - } - return mix( 1.0, shadow, shadowIntensity ); - } - #elif defined( SHADOWMAP_TYPE_VSM ) - float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) { - float shadow = 1.0; - shadowCoord.xyz /= shadowCoord.w; - shadowCoord.z += shadowBias; - bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0; - bool frustumTest = inFrustum && shadowCoord.z <= 1.0; - if ( frustumTest ) { - vec2 distribution = texture2D( shadowMap, shadowCoord.xy ).rg; - float mean = distribution.x; - float variance = distribution.y * distribution.y; - #ifdef USE_REVERSED_DEPTH_BUFFER - float hard_shadow = step( mean, shadowCoord.z ); - #else - float hard_shadow = step( shadowCoord.z, mean ); - #endif - if ( hard_shadow == 1.0 ) { - shadow = 1.0; - } else { - variance = max( variance, 0.0000001 ); - float d = shadowCoord.z - mean; - float p_max = variance / ( variance + d * d ); - p_max = clamp( ( p_max - 0.3 ) / 0.65, 0.0, 1.0 ); - shadow = max( hard_shadow, p_max ); - } - } - return mix( 1.0, shadow, shadowIntensity ); - } - #else - float getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) { - float shadow = 1.0; - shadowCoord.xyz /= shadowCoord.w; - shadowCoord.z += shadowBias; - bool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0; - bool frustumTest = inFrustum && shadowCoord.z <= 1.0; - if ( frustumTest ) { - float depth = texture2D( shadowMap, shadowCoord.xy ).r; - #ifdef USE_REVERSED_DEPTH_BUFFER - shadow = step( depth, shadowCoord.z ); - #else - shadow = step( shadowCoord.z, depth ); - #endif - } - return mix( 1.0, shadow, shadowIntensity ); - } - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - #if defined( SHADOWMAP_TYPE_PCF ) - float getPointShadow( samplerCubeShadow shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) { - float shadow = 1.0; - vec3 lightToPosition = shadowCoord.xyz; - vec3 bd3D = normalize( lightToPosition ); - vec3 absVec = abs( lightToPosition ); - float viewSpaceZ = max( max( absVec.x, absVec.y ), absVec.z ); - if ( viewSpaceZ - shadowCameraFar <= 0.0 && viewSpaceZ - shadowCameraNear >= 0.0 ) { - float dp = ( shadowCameraFar * ( viewSpaceZ - shadowCameraNear ) ) / ( viewSpaceZ * ( shadowCameraFar - shadowCameraNear ) ); - dp += shadowBias; - float texelSize = shadowRadius / shadowMapSize.x; - vec3 absDir = abs( bd3D ); - vec3 tangent = absDir.x > absDir.z ? vec3( 0.0, 1.0, 0.0 ) : vec3( 1.0, 0.0, 0.0 ); - tangent = normalize( cross( bd3D, tangent ) ); - vec3 bitangent = cross( bd3D, tangent ); - float phi = interleavedGradientNoise( gl_FragCoord.xy ) * 6.28318530718; - shadow = ( - texture( shadowMap, vec4( bd3D + ( tangent * vogelDiskSample( 0, 5, phi ).x + bitangent * vogelDiskSample( 0, 5, phi ).y ) * texelSize, dp ) ) + - texture( shadowMap, vec4( bd3D + ( tangent * vogelDiskSample( 1, 5, phi ).x + bitangent * vogelDiskSample( 1, 5, phi ).y ) * texelSize, dp ) ) + - texture( shadowMap, vec4( bd3D + ( tangent * vogelDiskSample( 2, 5, phi ).x + bitangent * vogelDiskSample( 2, 5, phi ).y ) * texelSize, dp ) ) + - texture( shadowMap, vec4( bd3D + ( tangent * vogelDiskSample( 3, 5, phi ).x + bitangent * vogelDiskSample( 3, 5, phi ).y ) * texelSize, dp ) ) + - texture( shadowMap, vec4( bd3D + ( tangent * vogelDiskSample( 4, 5, phi ).x + bitangent * vogelDiskSample( 4, 5, phi ).y ) * texelSize, dp ) ) - ) * 0.2; - } - return mix( 1.0, shadow, shadowIntensity ); - } - #elif defined( SHADOWMAP_TYPE_BASIC ) - float getPointShadow( samplerCube shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) { - float shadow = 1.0; - vec3 lightToPosition = shadowCoord.xyz; - vec3 bd3D = normalize( lightToPosition ); - vec3 absVec = abs( lightToPosition ); - float viewSpaceZ = max( max( absVec.x, absVec.y ), absVec.z ); - if ( viewSpaceZ - shadowCameraFar <= 0.0 && viewSpaceZ - shadowCameraNear >= 0.0 ) { - float dp = ( shadowCameraFar * ( viewSpaceZ - shadowCameraNear ) ) / ( viewSpaceZ * ( shadowCameraFar - shadowCameraNear ) ); - dp += shadowBias; - float depth = textureCube( shadowMap, bd3D ).r; - #ifdef USE_REVERSED_DEPTH_BUFFER - shadow = step( depth, dp ); - #else - shadow = step( dp, depth ); - #endif - } - return mix( 1.0, shadow, shadowIntensity ); - } - #endif - #endif -#endif`,shadowmap_pars_vertex=`#if NUM_SPOT_LIGHT_COORDS > 0 - uniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ]; - varying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ]; -#endif -#ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - uniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ]; - varying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ]; - struct DirectionalLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ]; - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - struct SpotLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - }; - uniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ]; - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - uniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ]; - varying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ]; - struct PointLightShadow { - float shadowIntensity; - float shadowBias; - float shadowNormalBias; - float shadowRadius; - vec2 shadowMapSize; - float shadowCameraNear; - float shadowCameraFar; - }; - uniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ]; - #endif -#endif`,shadowmap_vertex=`#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 ) - vec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix ); - vec4 shadowWorldPosition; -#endif -#if defined( USE_SHADOWMAP ) - #if NUM_DIR_LIGHT_SHADOWS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { - shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 ); - vDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { - shadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 ); - vPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end - #endif -#endif -#if NUM_SPOT_LIGHT_COORDS > 0 - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) { - shadowWorldPosition = worldPosition; - #if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS ) - shadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias; - #endif - vSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition; - } - #pragma unroll_loop_end -#endif`,shadowmask_pars_fragment=`float getShadowMask() { - float shadow = 1.0; - #ifdef USE_SHADOWMAP - #if NUM_DIR_LIGHT_SHADOWS > 0 - DirectionalLightShadow directionalLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) { - directionalLight = directionalLightShadows[ i ]; - shadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowIntensity, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0; - } - #pragma unroll_loop_end - #endif - #if NUM_SPOT_LIGHT_SHADOWS > 0 - SpotLightShadow spotLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) { - spotLight = spotLightShadows[ i ]; - shadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowIntensity, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0; - } - #pragma unroll_loop_end - #endif - #if NUM_POINT_LIGHT_SHADOWS > 0 && ( defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_BASIC ) ) - PointLightShadow pointLight; - #pragma unroll_loop_start - for ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) { - pointLight = pointLightShadows[ i ]; - shadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowIntensity, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0; - } - #pragma unroll_loop_end - #endif - #endif - return shadow; -}`,skinbase_vertex=`#ifdef USE_SKINNING - mat4 boneMatX = getBoneMatrix( skinIndex.x ); - mat4 boneMatY = getBoneMatrix( skinIndex.y ); - mat4 boneMatZ = getBoneMatrix( skinIndex.z ); - mat4 boneMatW = getBoneMatrix( skinIndex.w ); -#endif`,skinning_pars_vertex=`#ifdef USE_SKINNING - uniform mat4 bindMatrix; - uniform mat4 bindMatrixInverse; - uniform highp sampler2D boneTexture; - mat4 getBoneMatrix( const in float i ) { - int size = textureSize( boneTexture, 0 ).x; - int j = int( i ) * 4; - int x = j % size; - int y = j / size; - vec4 v1 = texelFetch( boneTexture, ivec2( x, y ), 0 ); - vec4 v2 = texelFetch( boneTexture, ivec2( x + 1, y ), 0 ); - vec4 v3 = texelFetch( boneTexture, ivec2( x + 2, y ), 0 ); - vec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 ); - return mat4( v1, v2, v3, v4 ); - } -#endif`,skinning_vertex=`#ifdef USE_SKINNING - vec4 skinVertex = bindMatrix * vec4( transformed, 1.0 ); - vec4 skinned = vec4( 0.0 ); - skinned += boneMatX * skinVertex * skinWeight.x; - skinned += boneMatY * skinVertex * skinWeight.y; - skinned += boneMatZ * skinVertex * skinWeight.z; - skinned += boneMatW * skinVertex * skinWeight.w; - transformed = ( bindMatrixInverse * skinned ).xyz; -#endif`,skinnormal_vertex=`#ifdef USE_SKINNING - mat4 skinMatrix = mat4( 0.0 ); - skinMatrix += skinWeight.x * boneMatX; - skinMatrix += skinWeight.y * boneMatY; - skinMatrix += skinWeight.z * boneMatZ; - skinMatrix += skinWeight.w * boneMatW; - skinMatrix = bindMatrixInverse * skinMatrix * bindMatrix; - objectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz; - #ifdef USE_TANGENT - objectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz; - #endif -#endif`,specularmap_fragment=`float specularStrength; -#ifdef USE_SPECULARMAP - vec4 texelSpecular = texture2D( specularMap, vSpecularMapUv ); - specularStrength = texelSpecular.r; -#else - specularStrength = 1.0; -#endif`,specularmap_pars_fragment=`#ifdef USE_SPECULARMAP - uniform sampler2D specularMap; -#endif`,tonemapping_fragment=`#if defined( TONE_MAPPING ) - gl_FragColor.rgb = toneMapping( gl_FragColor.rgb ); -#endif`,tonemapping_pars_fragment=`#ifndef saturate -#define saturate( a ) clamp( a, 0.0, 1.0 ) -#endif -uniform float toneMappingExposure; -vec3 LinearToneMapping( vec3 color ) { - return saturate( toneMappingExposure * color ); -} -vec3 ReinhardToneMapping( vec3 color ) { - color *= toneMappingExposure; - return saturate( color / ( vec3( 1.0 ) + color ) ); -} -vec3 CineonToneMapping( vec3 color ) { - color *= toneMappingExposure; - color = max( vec3( 0.0 ), color - 0.004 ); - return pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) ); -} -vec3 RRTAndODTFit( vec3 v ) { - vec3 a = v * ( v + 0.0245786 ) - 0.000090537; - vec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081; - return a / b; -} -vec3 ACESFilmicToneMapping( vec3 color ) { - const mat3 ACESInputMat = mat3( - vec3( 0.59719, 0.07600, 0.02840 ), vec3( 0.35458, 0.90834, 0.13383 ), - vec3( 0.04823, 0.01566, 0.83777 ) - ); - const mat3 ACESOutputMat = mat3( - vec3( 1.60475, -0.10208, -0.00327 ), vec3( -0.53108, 1.10813, -0.07276 ), - vec3( -0.07367, -0.00605, 1.07602 ) - ); - color *= toneMappingExposure / 0.6; - color = ACESInputMat * color; - color = RRTAndODTFit( color ); - color = ACESOutputMat * color; - return saturate( color ); -} -const mat3 LINEAR_REC2020_TO_LINEAR_SRGB = mat3( - vec3( 1.6605, - 0.1246, - 0.0182 ), - vec3( - 0.5876, 1.1329, - 0.1006 ), - vec3( - 0.0728, - 0.0083, 1.1187 ) -); -const mat3 LINEAR_SRGB_TO_LINEAR_REC2020 = mat3( - vec3( 0.6274, 0.0691, 0.0164 ), - vec3( 0.3293, 0.9195, 0.0880 ), - vec3( 0.0433, 0.0113, 0.8956 ) -); -vec3 agxDefaultContrastApprox( vec3 x ) { - vec3 x2 = x * x; - vec3 x4 = x2 * x2; - return + 15.5 * x4 * x2 - - 40.14 * x4 * x - + 31.96 * x4 - - 6.868 * x2 * x - + 0.4298 * x2 - + 0.1191 * x - - 0.00232; -} -vec3 AgXToneMapping( vec3 color ) { - const mat3 AgXInsetMatrix = mat3( - vec3( 0.856627153315983, 0.137318972929847, 0.11189821299995 ), - vec3( 0.0951212405381588, 0.761241990602591, 0.0767994186031903 ), - vec3( 0.0482516061458583, 0.101439036467562, 0.811302368396859 ) - ); - const mat3 AgXOutsetMatrix = mat3( - vec3( 1.1271005818144368, - 0.1413297634984383, - 0.14132976349843826 ), - vec3( - 0.11060664309660323, 1.157823702216272, - 0.11060664309660294 ), - vec3( - 0.016493938717834573, - 0.016493938717834257, 1.2519364065950405 ) - ); - const float AgxMinEv = - 12.47393; const float AgxMaxEv = 4.026069; - color *= toneMappingExposure; - color = LINEAR_SRGB_TO_LINEAR_REC2020 * color; - color = AgXInsetMatrix * color; - color = max( color, 1e-10 ); color = log2( color ); - color = ( color - AgxMinEv ) / ( AgxMaxEv - AgxMinEv ); - color = clamp( color, 0.0, 1.0 ); - color = agxDefaultContrastApprox( color ); - color = AgXOutsetMatrix * color; - color = pow( max( vec3( 0.0 ), color ), vec3( 2.2 ) ); - color = LINEAR_REC2020_TO_LINEAR_SRGB * color; - color = clamp( color, 0.0, 1.0 ); - return color; -} -vec3 NeutralToneMapping( vec3 color ) { - const float StartCompression = 0.8 - 0.04; - const float Desaturation = 0.15; - color *= toneMappingExposure; - float x = min( color.r, min( color.g, color.b ) ); - float offset = x < 0.08 ? x - 6.25 * x * x : 0.04; - color -= offset; - float peak = max( color.r, max( color.g, color.b ) ); - if ( peak < StartCompression ) return color; - float d = 1. - StartCompression; - float newPeak = 1. - d * d / ( peak + d - StartCompression ); - color *= newPeak / peak; - float g = 1. - 1. / ( Desaturation * ( peak - newPeak ) + 1. ); - return mix( color, vec3( newPeak ), g ); -} -vec3 CustomToneMapping( vec3 color ) { return color; }`,transmission_fragment=`#ifdef USE_TRANSMISSION - material.transmission = transmission; - material.transmissionAlpha = 1.0; - material.thickness = thickness; - material.attenuationDistance = attenuationDistance; - material.attenuationColor = attenuationColor; - #ifdef USE_TRANSMISSIONMAP - material.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r; - #endif - #ifdef USE_THICKNESSMAP - material.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g; - #endif - vec3 pos = vWorldPosition; - vec3 v = normalize( cameraPosition - pos ); - vec3 n = inverseTransformDirection( normal, viewMatrix ); - vec4 transmitted = getIBLVolumeRefraction( - n, v, material.roughness, material.diffuseContribution, material.specularColorBlended, material.specularF90, - pos, modelMatrix, viewMatrix, projectionMatrix, material.dispersion, material.ior, material.thickness, - material.attenuationColor, material.attenuationDistance ); - material.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission ); - totalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission ); -#endif`,transmission_pars_fragment=`#ifdef USE_TRANSMISSION - uniform float transmission; - uniform float thickness; - uniform float attenuationDistance; - uniform vec3 attenuationColor; - #ifdef USE_TRANSMISSIONMAP - uniform sampler2D transmissionMap; - #endif - #ifdef USE_THICKNESSMAP - uniform sampler2D thicknessMap; - #endif - uniform vec2 transmissionSamplerSize; - uniform sampler2D transmissionSamplerMap; - uniform mat4 modelMatrix; - uniform mat4 projectionMatrix; - varying vec3 vWorldPosition; - float w0( float a ) { - return ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 ); - } - float w1( float a ) { - return ( 1.0 / 6.0 ) * ( a * a * ( 3.0 * a - 6.0 ) + 4.0 ); - } - float w2( float a ){ - return ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 ); - } - float w3( float a ) { - return ( 1.0 / 6.0 ) * ( a * a * a ); - } - float g0( float a ) { - return w0( a ) + w1( a ); - } - float g1( float a ) { - return w2( a ) + w3( a ); - } - float h0( float a ) { - return - 1.0 + w1( a ) / ( w0( a ) + w1( a ) ); - } - float h1( float a ) { - return 1.0 + w3( a ) / ( w2( a ) + w3( a ) ); - } - vec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) { - uv = uv * texelSize.zw + 0.5; - vec2 iuv = floor( uv ); - vec2 fuv = fract( uv ); - float g0x = g0( fuv.x ); - float g1x = g1( fuv.x ); - float h0x = h0( fuv.x ); - float h1x = h1( fuv.x ); - float h0y = h0( fuv.y ); - float h1y = h1( fuv.y ); - vec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy; - vec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy; - vec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy; - vec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy; - return g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) + - g1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) ); - } - vec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) { - vec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) ); - vec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) ); - vec2 fLodSizeInv = 1.0 / fLodSize; - vec2 cLodSizeInv = 1.0 / cLodSize; - vec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) ); - vec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) ); - return mix( fSample, cSample, fract( lod ) ); - } - vec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) { - vec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior ); - vec3 modelScale; - modelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) ); - modelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) ); - modelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) ); - return normalize( refractionVector ) * thickness * modelScale; - } - float applyIorToRoughness( const in float roughness, const in float ior ) { - return roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 ); - } - vec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) { - float lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior ); - return textureBicubic( transmissionSamplerMap, fragCoord.xy, lod ); - } - vec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) { - if ( isinf( attenuationDistance ) ) { - return vec3( 1.0 ); - } else { - vec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance; - vec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); return transmittance; - } - } - vec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor, - const in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix, - const in mat4 viewMatrix, const in mat4 projMatrix, const in float dispersion, const in float ior, const in float thickness, - const in vec3 attenuationColor, const in float attenuationDistance ) { - vec4 transmittedLight; - vec3 transmittance; - #ifdef USE_DISPERSION - float halfSpread = ( ior - 1.0 ) * 0.025 * dispersion; - vec3 iors = vec3( ior - halfSpread, ior, ior + halfSpread ); - for ( int i = 0; i < 3; i ++ ) { - vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, iors[ i ], modelMatrix ); - vec3 refractedRayExit = position + transmissionRay; - vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 ); - vec2 refractionCoords = ndcPos.xy / ndcPos.w; - refractionCoords += 1.0; - refractionCoords /= 2.0; - vec4 transmissionSample = getTransmissionSample( refractionCoords, roughness, iors[ i ] ); - transmittedLight[ i ] = transmissionSample[ i ]; - transmittedLight.a += transmissionSample.a; - transmittance[ i ] = diffuseColor[ i ] * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance )[ i ]; - } - transmittedLight.a /= 3.0; - #else - vec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix ); - vec3 refractedRayExit = position + transmissionRay; - vec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 ); - vec2 refractionCoords = ndcPos.xy / ndcPos.w; - refractionCoords += 1.0; - refractionCoords /= 2.0; - transmittedLight = getTransmissionSample( refractionCoords, roughness, ior ); - transmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance ); - #endif - vec3 attenuatedColor = transmittance * transmittedLight.rgb; - vec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness ); - float transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0; - return vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor ); - } -#endif`,uv_pars_fragment=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) - varying vec2 vUv; -#endif -#ifdef USE_MAP - varying vec2 vMapUv; -#endif -#ifdef USE_ALPHAMAP - varying vec2 vAlphaMapUv; -#endif -#ifdef USE_LIGHTMAP - varying vec2 vLightMapUv; -#endif -#ifdef USE_AOMAP - varying vec2 vAoMapUv; -#endif -#ifdef USE_BUMPMAP - varying vec2 vBumpMapUv; -#endif -#ifdef USE_NORMALMAP - varying vec2 vNormalMapUv; -#endif -#ifdef USE_EMISSIVEMAP - varying vec2 vEmissiveMapUv; -#endif -#ifdef USE_METALNESSMAP - varying vec2 vMetalnessMapUv; -#endif -#ifdef USE_ROUGHNESSMAP - varying vec2 vRoughnessMapUv; -#endif -#ifdef USE_ANISOTROPYMAP - varying vec2 vAnisotropyMapUv; -#endif -#ifdef USE_CLEARCOATMAP - varying vec2 vClearcoatMapUv; -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - varying vec2 vClearcoatNormalMapUv; -#endif -#ifdef USE_CLEARCOAT_ROUGHNESSMAP - varying vec2 vClearcoatRoughnessMapUv; -#endif -#ifdef USE_IRIDESCENCEMAP - varying vec2 vIridescenceMapUv; -#endif -#ifdef USE_IRIDESCENCE_THICKNESSMAP - varying vec2 vIridescenceThicknessMapUv; -#endif -#ifdef USE_SHEEN_COLORMAP - varying vec2 vSheenColorMapUv; -#endif -#ifdef USE_SHEEN_ROUGHNESSMAP - varying vec2 vSheenRoughnessMapUv; -#endif -#ifdef USE_SPECULARMAP - varying vec2 vSpecularMapUv; -#endif -#ifdef USE_SPECULAR_COLORMAP - varying vec2 vSpecularColorMapUv; -#endif -#ifdef USE_SPECULAR_INTENSITYMAP - varying vec2 vSpecularIntensityMapUv; -#endif -#ifdef USE_TRANSMISSIONMAP - uniform mat3 transmissionMapTransform; - varying vec2 vTransmissionMapUv; -#endif -#ifdef USE_THICKNESSMAP - uniform mat3 thicknessMapTransform; - varying vec2 vThicknessMapUv; -#endif`,uv_pars_vertex=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) - varying vec2 vUv; -#endif -#ifdef USE_MAP - uniform mat3 mapTransform; - varying vec2 vMapUv; -#endif -#ifdef USE_ALPHAMAP - uniform mat3 alphaMapTransform; - varying vec2 vAlphaMapUv; -#endif -#ifdef USE_LIGHTMAP - uniform mat3 lightMapTransform; - varying vec2 vLightMapUv; -#endif -#ifdef USE_AOMAP - uniform mat3 aoMapTransform; - varying vec2 vAoMapUv; -#endif -#ifdef USE_BUMPMAP - uniform mat3 bumpMapTransform; - varying vec2 vBumpMapUv; -#endif -#ifdef USE_NORMALMAP - uniform mat3 normalMapTransform; - varying vec2 vNormalMapUv; -#endif -#ifdef USE_DISPLACEMENTMAP - uniform mat3 displacementMapTransform; - varying vec2 vDisplacementMapUv; -#endif -#ifdef USE_EMISSIVEMAP - uniform mat3 emissiveMapTransform; - varying vec2 vEmissiveMapUv; -#endif -#ifdef USE_METALNESSMAP - uniform mat3 metalnessMapTransform; - varying vec2 vMetalnessMapUv; -#endif -#ifdef USE_ROUGHNESSMAP - uniform mat3 roughnessMapTransform; - varying vec2 vRoughnessMapUv; -#endif -#ifdef USE_ANISOTROPYMAP - uniform mat3 anisotropyMapTransform; - varying vec2 vAnisotropyMapUv; -#endif -#ifdef USE_CLEARCOATMAP - uniform mat3 clearcoatMapTransform; - varying vec2 vClearcoatMapUv; -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - uniform mat3 clearcoatNormalMapTransform; - varying vec2 vClearcoatNormalMapUv; -#endif -#ifdef USE_CLEARCOAT_ROUGHNESSMAP - uniform mat3 clearcoatRoughnessMapTransform; - varying vec2 vClearcoatRoughnessMapUv; -#endif -#ifdef USE_SHEEN_COLORMAP - uniform mat3 sheenColorMapTransform; - varying vec2 vSheenColorMapUv; -#endif -#ifdef USE_SHEEN_ROUGHNESSMAP - uniform mat3 sheenRoughnessMapTransform; - varying vec2 vSheenRoughnessMapUv; -#endif -#ifdef USE_IRIDESCENCEMAP - uniform mat3 iridescenceMapTransform; - varying vec2 vIridescenceMapUv; -#endif -#ifdef USE_IRIDESCENCE_THICKNESSMAP - uniform mat3 iridescenceThicknessMapTransform; - varying vec2 vIridescenceThicknessMapUv; -#endif -#ifdef USE_SPECULARMAP - uniform mat3 specularMapTransform; - varying vec2 vSpecularMapUv; -#endif -#ifdef USE_SPECULAR_COLORMAP - uniform mat3 specularColorMapTransform; - varying vec2 vSpecularColorMapUv; -#endif -#ifdef USE_SPECULAR_INTENSITYMAP - uniform mat3 specularIntensityMapTransform; - varying vec2 vSpecularIntensityMapUv; -#endif -#ifdef USE_TRANSMISSIONMAP - uniform mat3 transmissionMapTransform; - varying vec2 vTransmissionMapUv; -#endif -#ifdef USE_THICKNESSMAP - uniform mat3 thicknessMapTransform; - varying vec2 vThicknessMapUv; -#endif`,uv_vertex=`#if defined( USE_UV ) || defined( USE_ANISOTROPY ) - vUv = vec3( uv, 1 ).xy; -#endif -#ifdef USE_MAP - vMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy; -#endif -#ifdef USE_ALPHAMAP - vAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_LIGHTMAP - vLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_AOMAP - vAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_BUMPMAP - vBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_NORMALMAP - vNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_DISPLACEMENTMAP - vDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_EMISSIVEMAP - vEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_METALNESSMAP - vMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_ROUGHNESSMAP - vRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_ANISOTROPYMAP - vAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_CLEARCOATMAP - vClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_CLEARCOAT_NORMALMAP - vClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_CLEARCOAT_ROUGHNESSMAP - vClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_IRIDESCENCEMAP - vIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_IRIDESCENCE_THICKNESSMAP - vIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_SHEEN_COLORMAP - vSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_SHEEN_ROUGHNESSMAP - vSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_SPECULARMAP - vSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_SPECULAR_COLORMAP - vSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_SPECULAR_INTENSITYMAP - vSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_TRANSMISSIONMAP - vTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy; -#endif -#ifdef USE_THICKNESSMAP - vThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy; -#endif`,worldpos_vertex=`#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0 - vec4 worldPosition = vec4( transformed, 1.0 ); - #ifdef USE_BATCHING - worldPosition = batchingMatrix * worldPosition; - #endif - #ifdef USE_INSTANCING - worldPosition = instanceMatrix * worldPosition; - #endif - worldPosition = modelMatrix * worldPosition; -#endif`;const vertex$h=`varying vec2 vUv; -uniform mat3 uvTransform; -void main() { - vUv = ( uvTransform * vec3( uv, 1 ) ).xy; - gl_Position = vec4( position.xy, 1.0, 1.0 ); -}`,fragment$h=`uniform sampler2D t2D; -uniform float backgroundIntensity; -varying vec2 vUv; -void main() { - vec4 texColor = texture2D( t2D, vUv ); - #ifdef DECODE_VIDEO_TEXTURE - texColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w ); - #endif - texColor.rgb *= backgroundIntensity; - gl_FragColor = texColor; - #include - #include -}`,vertex$g=`varying vec3 vWorldDirection; -#include -void main() { - vWorldDirection = transformDirection( position, modelMatrix ); - #include - #include - gl_Position.z = gl_Position.w; -}`,fragment$g=`#ifdef ENVMAP_TYPE_CUBE - uniform samplerCube envMap; -#elif defined( ENVMAP_TYPE_CUBE_UV ) - uniform sampler2D envMap; -#endif -uniform float flipEnvMap; -uniform float backgroundBlurriness; -uniform float backgroundIntensity; -uniform mat3 backgroundRotation; -varying vec3 vWorldDirection; -#include -void main() { - #ifdef ENVMAP_TYPE_CUBE - vec4 texColor = textureCube( envMap, backgroundRotation * vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) ); - #elif defined( ENVMAP_TYPE_CUBE_UV ) - vec4 texColor = textureCubeUV( envMap, backgroundRotation * vWorldDirection, backgroundBlurriness ); - #else - vec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 ); - #endif - texColor.rgb *= backgroundIntensity; - gl_FragColor = texColor; - #include - #include -}`,vertex$f=`varying vec3 vWorldDirection; -#include -void main() { - vWorldDirection = transformDirection( position, modelMatrix ); - #include - #include - gl_Position.z = gl_Position.w; -}`,fragment$f=`uniform samplerCube tCube; -uniform float tFlip; -uniform float opacity; -varying vec3 vWorldDirection; -void main() { - vec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) ); - gl_FragColor = texColor; - gl_FragColor.a *= opacity; - #include - #include -}`,vertex$e=`#include -#include -#include -#include -#include -#include -#include -#include -varying vec2 vHighPrecisionZW; -void main() { - #include - #include - #include - #include - #ifdef USE_DISPLACEMENTMAP - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - vHighPrecisionZW = gl_Position.zw; -}`,fragment$e=`#if DEPTH_PACKING == 3200 - uniform float opacity; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -varying vec2 vHighPrecisionZW; -void main() { - vec4 diffuseColor = vec4( 1.0 ); - #include - #if DEPTH_PACKING == 3200 - diffuseColor.a = opacity; - #endif - #include - #include - #include - #include - #include - #ifdef USE_REVERSED_DEPTH_BUFFER - float fragCoordZ = vHighPrecisionZW[ 0 ] / vHighPrecisionZW[ 1 ]; - #else - float fragCoordZ = 0.5 * vHighPrecisionZW[ 0 ] / vHighPrecisionZW[ 1 ] + 0.5; - #endif - #if DEPTH_PACKING == 3200 - gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity ); - #elif DEPTH_PACKING == 3201 - gl_FragColor = packDepthToRGBA( fragCoordZ ); - #elif DEPTH_PACKING == 3202 - gl_FragColor = vec4( packDepthToRGB( fragCoordZ ), 1.0 ); - #elif DEPTH_PACKING == 3203 - gl_FragColor = vec4( packDepthToRG( fragCoordZ ), 0.0, 1.0 ); - #endif -}`,vertex$d=`#define DISTANCE -varying vec3 vWorldPosition; -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #ifdef USE_DISPLACEMENTMAP - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - vWorldPosition = worldPosition.xyz; -}`,fragment$d=`#define DISTANCE -uniform vec3 referencePosition; -uniform float nearDistance; -uniform float farDistance; -varying vec3 vWorldPosition; -#include -#include -#include -#include -#include -#include -#include -void main () { - vec4 diffuseColor = vec4( 1.0 ); - #include - #include - #include - #include - #include - float dist = length( vWorldPosition - referencePosition ); - dist = ( dist - nearDistance ) / ( farDistance - nearDistance ); - dist = saturate( dist ); - gl_FragColor = vec4( dist, 0.0, 0.0, 1.0 ); -}`,vertex$c=`varying vec3 vWorldDirection; -#include -void main() { - vWorldDirection = transformDirection( position, modelMatrix ); - #include - #include -}`,fragment$c=`uniform sampler2D tEquirect; -varying vec3 vWorldDirection; -#include -void main() { - vec3 direction = normalize( vWorldDirection ); - vec2 sampleUV = equirectUv( direction ); - gl_FragColor = texture2D( tEquirect, sampleUV ); - #include - #include -}`,vertex$b=`uniform float scale; -attribute float lineDistance; -varying float vLineDistance; -#include -#include -#include -#include -#include -#include -#include -void main() { - vLineDistance = scale * lineDistance; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include -}`,fragment$b=`uniform vec3 diffuse; -uniform float opacity; -uniform float dashSize; -uniform float totalSize; -varying float vLineDistance; -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - if ( mod( vLineDistance, totalSize ) > dashSize ) { - discard; - } - vec3 outgoingLight = vec3( 0.0 ); - #include - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include - #include -}`,vertex$a=`#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #if defined ( USE_ENVMAP ) || defined ( USE_SKINNING ) - #include - #include - #include - #include - #include - #endif - #include - #include - #include - #include - #include - #include - #include - #include - #include -}`,fragment$a=`uniform vec3 diffuse; -uniform float opacity; -#ifndef FLAT_SHADED - varying vec3 vNormal; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - #include - #include - #include - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - #ifdef USE_LIGHTMAP - vec4 lightMapTexel = texture2D( lightMap, vLightMapUv ); - reflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI; - #else - reflectedLight.indirectDiffuse += vec3( 1.0 ); - #endif - #include - reflectedLight.indirectDiffuse *= diffuseColor.rgb; - vec3 outgoingLight = reflectedLight.indirectDiffuse; - #include - #include - #include - #include - #include - #include - #include -}`,vertex$9=`#define LAMBERT -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include - #include -}`,fragment$9=`#define LAMBERT -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include - #include -}`,vertex$8=`#define MATCAP -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; -}`,fragment$8=`#define MATCAP -uniform vec3 diffuse; -uniform float opacity; -uniform sampler2D matcap; -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 viewDir = normalize( vViewPosition ); - vec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) ); - vec3 y = cross( viewDir, x ); - vec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5; - #ifdef USE_MATCAP - vec4 matcapColor = texture2D( matcap, uv ); - #else - vec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 ); - #endif - vec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb; - #include - #include - #include - #include - #include - #include -}`,vertex$7=`#define NORMAL -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) - varying vec3 vViewPosition; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) - vViewPosition = - mvPosition.xyz; -#endif -}`,fragment$7=`#define NORMAL -uniform float opacity; -#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE ) - varying vec3 vViewPosition; -#endif -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( 0.0, 0.0, 0.0, opacity ); - #include - #include - #include - #include - gl_FragColor = vec4( normalize( normal ) * 0.5 + 0.5, diffuseColor.a ); - #ifdef OPAQUE - gl_FragColor.a = 1.0; - #endif -}`,vertex$6=`#define PHONG -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include - #include -}`,fragment$6=`#define PHONG -uniform vec3 diffuse; -uniform vec3 emissive; -uniform vec3 specular; -uniform float shininess; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include - #include -}`,vertex$5=`#define STANDARD -varying vec3 vViewPosition; -#ifdef USE_TRANSMISSION - varying vec3 vWorldPosition; -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include -#ifdef USE_TRANSMISSION - vWorldPosition = worldPosition.xyz; -#endif -}`,fragment$5=`#define STANDARD -#ifdef PHYSICAL - #define IOR - #define USE_SPECULAR -#endif -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float roughness; -uniform float metalness; -uniform float opacity; -#ifdef IOR - uniform float ior; -#endif -#ifdef USE_SPECULAR - uniform float specularIntensity; - uniform vec3 specularColor; - #ifdef USE_SPECULAR_COLORMAP - uniform sampler2D specularColorMap; - #endif - #ifdef USE_SPECULAR_INTENSITYMAP - uniform sampler2D specularIntensityMap; - #endif -#endif -#ifdef USE_CLEARCOAT - uniform float clearcoat; - uniform float clearcoatRoughness; -#endif -#ifdef USE_DISPERSION - uniform float dispersion; -#endif -#ifdef USE_IRIDESCENCE - uniform float iridescence; - uniform float iridescenceIOR; - uniform float iridescenceThicknessMinimum; - uniform float iridescenceThicknessMaximum; -#endif -#ifdef USE_SHEEN - uniform vec3 sheenColor; - uniform float sheenRoughness; - #ifdef USE_SHEEN_COLORMAP - uniform sampler2D sheenColorMap; - #endif - #ifdef USE_SHEEN_ROUGHNESSMAP - uniform sampler2D sheenRoughnessMap; - #endif -#endif -#ifdef USE_ANISOTROPY - uniform vec2 anisotropyVector; - #ifdef USE_ANISOTROPYMAP - uniform sampler2D anisotropyMap; - #endif -#endif -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse; - vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular; - #include - vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance; - #ifdef USE_SHEEN - - outgoingLight = outgoingLight + sheenSpecularDirect + sheenSpecularIndirect; - - #endif - #ifdef USE_CLEARCOAT - float dotNVcc = saturate( dot( geometryClearcoatNormal, geometryViewDir ) ); - vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc ); - outgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + ( clearcoatSpecularDirect + clearcoatSpecularIndirect ) * material.clearcoat; - #endif - #include - #include - #include - #include - #include - #include -}`,vertex$4=`#define TOON -varying vec3 vViewPosition; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vViewPosition = - mvPosition.xyz; - #include - #include - #include -}`,fragment$4=`#define TOON -uniform vec3 diffuse; -uniform vec3 emissive; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) ); - vec3 totalEmissiveRadiance = emissive; - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - vec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance; - #include - #include - #include - #include - #include - #include -}`,vertex$3=`uniform float size; -uniform float scale; -#include -#include -#include -#include -#include -#include -#ifdef USE_POINTS_UV - varying vec2 vUv; - uniform mat3 uvTransform; -#endif -void main() { - #ifdef USE_POINTS_UV - vUv = ( uvTransform * vec3( uv, 1 ) ).xy; - #endif - #include - #include - #include - #include - #include - #include - gl_PointSize = size; - #ifdef USE_SIZEATTENUATION - bool isPerspective = isPerspectiveMatrix( projectionMatrix ); - if ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z ); - #endif - #include - #include - #include - #include -}`,fragment$3=`uniform vec3 diffuse; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - vec3 outgoingLight = vec3( 0.0 ); - #include - #include - #include - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include - #include -}`,vertex$2=`#include -#include -#include -#include -#include -#include -#include -void main() { - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include - #include -}`,fragment$2=`uniform vec3 color; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -void main() { - #include - gl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) ); - #include - #include - #include -}`,vertex$1=`uniform float rotation; -uniform vec2 center; -#include -#include -#include -#include -#include -void main() { - #include - vec4 mvPosition = modelViewMatrix[ 3 ]; - vec2 scale = vec2( length( modelMatrix[ 0 ].xyz ), length( modelMatrix[ 1 ].xyz ) ); - #ifndef USE_SIZEATTENUATION - bool isPerspective = isPerspectiveMatrix( projectionMatrix ); - if ( isPerspective ) scale *= - mvPosition.z; - #endif - vec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale; - vec2 rotatedPosition; - rotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y; - rotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y; - mvPosition.xy += rotatedPosition; - gl_Position = projectionMatrix * mvPosition; - #include - #include - #include -}`,fragment$1=`uniform vec3 diffuse; -uniform float opacity; -#include -#include -#include -#include -#include -#include -#include -#include -#include -void main() { - vec4 diffuseColor = vec4( diffuse, opacity ); - #include - vec3 outgoingLight = vec3( 0.0 ); - #include - #include - #include - #include - #include - outgoingLight = diffuseColor.rgb; - #include - #include - #include - #include -}`,ShaderChunk={alphahash_fragment,alphahash_pars_fragment,alphamap_fragment,alphamap_pars_fragment,alphatest_fragment,alphatest_pars_fragment,aomap_fragment,aomap_pars_fragment,batching_pars_vertex,batching_vertex,begin_vertex,beginnormal_vertex,bsdfs,iridescence_fragment,bumpmap_pars_fragment,clipping_planes_fragment,clipping_planes_pars_fragment,clipping_planes_pars_vertex,clipping_planes_vertex,color_fragment,color_pars_fragment,color_pars_vertex,color_vertex,common,cube_uv_reflection_fragment,defaultnormal_vertex,displacementmap_pars_vertex,displacementmap_vertex,emissivemap_fragment,emissivemap_pars_fragment,colorspace_fragment,colorspace_pars_fragment,envmap_fragment,envmap_common_pars_fragment,envmap_pars_fragment,envmap_pars_vertex,envmap_physical_pars_fragment,envmap_vertex,fog_vertex,fog_pars_vertex,fog_fragment,fog_pars_fragment,gradientmap_pars_fragment,lightmap_pars_fragment,lights_lambert_fragment,lights_lambert_pars_fragment,lights_pars_begin,lights_toon_fragment,lights_toon_pars_fragment,lights_phong_fragment,lights_phong_pars_fragment,lights_physical_fragment,lights_physical_pars_fragment,lights_fragment_begin,lights_fragment_maps,lights_fragment_end,logdepthbuf_fragment,logdepthbuf_pars_fragment,logdepthbuf_pars_vertex,logdepthbuf_vertex,map_fragment,map_pars_fragment,map_particle_fragment,map_particle_pars_fragment,metalnessmap_fragment,metalnessmap_pars_fragment,morphinstance_vertex,morphcolor_vertex,morphnormal_vertex,morphtarget_pars_vertex,morphtarget_vertex,normal_fragment_begin,normal_fragment_maps,normal_pars_fragment,normal_pars_vertex,normal_vertex,normalmap_pars_fragment,clearcoat_normal_fragment_begin,clearcoat_normal_fragment_maps,clearcoat_pars_fragment,iridescence_pars_fragment,opaque_fragment,packing,premultiplied_alpha_fragment,project_vertex,dithering_fragment,dithering_pars_fragment,roughnessmap_fragment,roughnessmap_pars_fragment,shadowmap_pars_fragment,shadowmap_pars_vertex,shadowmap_vertex,shadowmask_pars_fragment,skinbase_vertex,skinning_pars_vertex,skinning_vertex,skinnormal_vertex,specularmap_fragment,specularmap_pars_fragment,tonemapping_fragment,tonemapping_pars_fragment,transmission_fragment,transmission_pars_fragment,uv_pars_fragment,uv_pars_vertex,uv_vertex,worldpos_vertex,background_vert:vertex$h,background_frag:fragment$h,backgroundCube_vert:vertex$g,backgroundCube_frag:fragment$g,cube_vert:vertex$f,cube_frag:fragment$f,depth_vert:vertex$e,depth_frag:fragment$e,distance_vert:vertex$d,distance_frag:fragment$d,equirect_vert:vertex$c,equirect_frag:fragment$c,linedashed_vert:vertex$b,linedashed_frag:fragment$b,meshbasic_vert:vertex$a,meshbasic_frag:fragment$a,meshlambert_vert:vertex$9,meshlambert_frag:fragment$9,meshmatcap_vert:vertex$8,meshmatcap_frag:fragment$8,meshnormal_vert:vertex$7,meshnormal_frag:fragment$7,meshphong_vert:vertex$6,meshphong_frag:fragment$6,meshphysical_vert:vertex$5,meshphysical_frag:fragment$5,meshtoon_vert:vertex$4,meshtoon_frag:fragment$4,points_vert:vertex$3,points_frag:fragment$3,shadow_vert:vertex$2,shadow_frag:fragment$2,sprite_vert:vertex$1,sprite_frag:fragment$1},UniformsLib={common:{diffuse:{value:new Color(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new Matrix3},alphaMap:{value:null},alphaMapTransform:{value:new Matrix3},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new Matrix3}},envmap:{envMap:{value:null},envMapRotation:{value:new Matrix3},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98},dfgLUT:{value:null}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new Matrix3}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new Matrix3}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new Matrix3},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new Matrix3},normalScale:{value:new Vector2(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new Matrix3},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new Matrix3}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new Matrix3}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new Matrix3}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new Color(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new Color(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new Matrix3},alphaTest:{value:0},uvTransform:{value:new Matrix3}},sprite:{diffuse:{value:new Color(16777215)},opacity:{value:1},center:{value:new Vector2(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new Matrix3},alphaMap:{value:null},alphaMapTransform:{value:new Matrix3},alphaTest:{value:0}}},ShaderLib={basic:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.specularmap,UniformsLib.envmap,UniformsLib.aomap,UniformsLib.lightmap,UniformsLib.fog]),vertexShader:ShaderChunk.meshbasic_vert,fragmentShader:ShaderChunk.meshbasic_frag},lambert:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.specularmap,UniformsLib.envmap,UniformsLib.aomap,UniformsLib.lightmap,UniformsLib.emissivemap,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,UniformsLib.fog,UniformsLib.lights,{emissive:{value:new Color(0)}}]),vertexShader:ShaderChunk.meshlambert_vert,fragmentShader:ShaderChunk.meshlambert_frag},phong:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.specularmap,UniformsLib.envmap,UniformsLib.aomap,UniformsLib.lightmap,UniformsLib.emissivemap,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,UniformsLib.fog,UniformsLib.lights,{emissive:{value:new Color(0)},specular:{value:new Color(1118481)},shininess:{value:30}}]),vertexShader:ShaderChunk.meshphong_vert,fragmentShader:ShaderChunk.meshphong_frag},standard:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.envmap,UniformsLib.aomap,UniformsLib.lightmap,UniformsLib.emissivemap,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,UniformsLib.roughnessmap,UniformsLib.metalnessmap,UniformsLib.fog,UniformsLib.lights,{emissive:{value:new Color(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:ShaderChunk.meshphysical_vert,fragmentShader:ShaderChunk.meshphysical_frag},toon:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.aomap,UniformsLib.lightmap,UniformsLib.emissivemap,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,UniformsLib.gradientmap,UniformsLib.fog,UniformsLib.lights,{emissive:{value:new Color(0)}}]),vertexShader:ShaderChunk.meshtoon_vert,fragmentShader:ShaderChunk.meshtoon_frag},matcap:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,UniformsLib.fog,{matcap:{value:null}}]),vertexShader:ShaderChunk.meshmatcap_vert,fragmentShader:ShaderChunk.meshmatcap_frag},points:{uniforms:mergeUniforms([UniformsLib.points,UniformsLib.fog]),vertexShader:ShaderChunk.points_vert,fragmentShader:ShaderChunk.points_frag},dashed:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:ShaderChunk.linedashed_vert,fragmentShader:ShaderChunk.linedashed_frag},depth:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.displacementmap]),vertexShader:ShaderChunk.depth_vert,fragmentShader:ShaderChunk.depth_frag},normal:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.bumpmap,UniformsLib.normalmap,UniformsLib.displacementmap,{opacity:{value:1}}]),vertexShader:ShaderChunk.meshnormal_vert,fragmentShader:ShaderChunk.meshnormal_frag},sprite:{uniforms:mergeUniforms([UniformsLib.sprite,UniformsLib.fog]),vertexShader:ShaderChunk.sprite_vert,fragmentShader:ShaderChunk.sprite_frag},background:{uniforms:{uvTransform:{value:new Matrix3},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:ShaderChunk.background_vert,fragmentShader:ShaderChunk.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new Matrix3}},vertexShader:ShaderChunk.backgroundCube_vert,fragmentShader:ShaderChunk.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:ShaderChunk.cube_vert,fragmentShader:ShaderChunk.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:ShaderChunk.equirect_vert,fragmentShader:ShaderChunk.equirect_frag},distance:{uniforms:mergeUniforms([UniformsLib.common,UniformsLib.displacementmap,{referencePosition:{value:new Vector3},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:ShaderChunk.distance_vert,fragmentShader:ShaderChunk.distance_frag},shadow:{uniforms:mergeUniforms([UniformsLib.lights,UniformsLib.fog,{color:{value:new Color(0)},opacity:{value:1}}]),vertexShader:ShaderChunk.shadow_vert,fragmentShader:ShaderChunk.shadow_frag}};ShaderLib.physical={uniforms:mergeUniforms([ShaderLib.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new Matrix3},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new Matrix3},clearcoatNormalScale:{value:new Vector2(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new Matrix3},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new Matrix3},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new Matrix3},sheen:{value:0},sheenColor:{value:new Color(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new Matrix3},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new Matrix3},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new Matrix3},transmissionSamplerSize:{value:new Vector2},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new Matrix3},attenuationDistance:{value:0},attenuationColor:{value:new Color(0)},specularColor:{value:new Color(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new Matrix3},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new Matrix3},anisotropyVector:{value:new Vector2},anisotropyMap:{value:null},anisotropyMapTransform:{value:new Matrix3}}]),vertexShader:ShaderChunk.meshphysical_vert,fragmentShader:ShaderChunk.meshphysical_frag};const _rgb={r:0,b:0,g:0},_e1$1=new Euler,_m1$1=new Matrix4;function WebGLBackground(n,t,r,i,g,$,V){const re=new Color(0);let ie=$===!0?0:1,ae,oe,le=null,ue=0,de=null;function he(Ie){let Ne=Ie.isScene===!0?Ie.background:null;return Ne&&Ne.isTexture&&(Ne=(Ie.backgroundBlurriness>0?r:t).get(Ne)),Ne}function pe(Ie){let Ne=!1;const Oe=he(Ie);Oe===null?Ce(re,ie):Oe&&Oe.isColor&&(Ce(Oe,1),Ne=!0);const $e=n.xr.getEnvironmentBlendMode();$e==="additive"?i.buffers.color.setClear(0,0,0,1,V):$e==="alpha-blend"&&i.buffers.color.setClear(0,0,0,0,V),(n.autoClear||Ne)&&(i.buffers.depth.setTest(!0),i.buffers.depth.setMask(!0),i.buffers.color.setMask(!0),n.clear(n.autoClearColor,n.autoClearDepth,n.autoClearStencil))}function _e(Ie,Ne){const Oe=he(Ne);Oe&&(Oe.isCubeTexture||Oe.mapping===CubeUVReflectionMapping)?(oe===void 0&&(oe=new Mesh(new BoxGeometry(1,1,1),new ShaderMaterial({name:"BackgroundCubeMaterial",uniforms:cloneUniforms(ShaderLib.backgroundCube.uniforms),vertexShader:ShaderLib.backgroundCube.vertexShader,fragmentShader:ShaderLib.backgroundCube.fragmentShader,side:BackSide,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),oe.geometry.deleteAttribute("normal"),oe.geometry.deleteAttribute("uv"),oe.onBeforeRender=function($e,Ve,Ue){this.matrixWorld.copyPosition(Ue.matrixWorld)},Object.defineProperty(oe.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),g.update(oe)),_e1$1.copy(Ne.backgroundRotation),_e1$1.x*=-1,_e1$1.y*=-1,_e1$1.z*=-1,Oe.isCubeTexture&&Oe.isRenderTargetTexture===!1&&(_e1$1.y*=-1,_e1$1.z*=-1),oe.material.uniforms.envMap.value=Oe,oe.material.uniforms.flipEnvMap.value=Oe.isCubeTexture&&Oe.isRenderTargetTexture===!1?-1:1,oe.material.uniforms.backgroundBlurriness.value=Ne.backgroundBlurriness,oe.material.uniforms.backgroundIntensity.value=Ne.backgroundIntensity,oe.material.uniforms.backgroundRotation.value.setFromMatrix4(_m1$1.makeRotationFromEuler(_e1$1)),oe.material.toneMapped=ColorManagement.getTransfer(Oe.colorSpace)!==SRGBTransfer,(le!==Oe||ue!==Oe.version||de!==n.toneMapping)&&(oe.material.needsUpdate=!0,le=Oe,ue=Oe.version,de=n.toneMapping),oe.layers.enableAll(),Ie.unshift(oe,oe.geometry,oe.material,0,0,null)):Oe&&Oe.isTexture&&(ae===void 0&&(ae=new Mesh(new PlaneGeometry(2,2),new ShaderMaterial({name:"BackgroundMaterial",uniforms:cloneUniforms(ShaderLib.background.uniforms),vertexShader:ShaderLib.background.vertexShader,fragmentShader:ShaderLib.background.fragmentShader,side:FrontSide,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),ae.geometry.deleteAttribute("normal"),Object.defineProperty(ae.material,"map",{get:function(){return this.uniforms.t2D.value}}),g.update(ae)),ae.material.uniforms.t2D.value=Oe,ae.material.uniforms.backgroundIntensity.value=Ne.backgroundIntensity,ae.material.toneMapped=ColorManagement.getTransfer(Oe.colorSpace)!==SRGBTransfer,Oe.matrixAutoUpdate===!0&&Oe.updateMatrix(),ae.material.uniforms.uvTransform.value.copy(Oe.matrix),(le!==Oe||ue!==Oe.version||de!==n.toneMapping)&&(ae.material.needsUpdate=!0,le=Oe,ue=Oe.version,de=n.toneMapping),ae.layers.enableAll(),Ie.unshift(ae,ae.geometry,ae.material,0,0,null))}function Ce(Ie,Ne){Ie.getRGB(_rgb,getUnlitUniformColorSpace(n)),i.buffers.color.setClear(_rgb.r,_rgb.g,_rgb.b,Ne,V)}function xe(){oe!==void 0&&(oe.geometry.dispose(),oe.material.dispose(),oe=void 0),ae!==void 0&&(ae.geometry.dispose(),ae.material.dispose(),ae=void 0)}return{getClearColor:function(){return re},setClearColor:function(Ie,Ne=1){re.set(Ie),ie=Ne,Ce(re,ie)},getClearAlpha:function(){return ie},setClearAlpha:function(Ie){ie=Ie,Ce(re,ie)},render:pe,addToRenderList:_e,dispose:xe}}function WebGLBindingStates(n,t){const r=n.getParameter(n.MAX_VERTEX_ATTRIBS),i={},g=ue(null);let $=g,V=!1;function re(ze,Pt,qe,Et,kt){let At=!1;const Dt=le(Et,qe,Pt);$!==Dt&&($=Dt,ae($.object)),At=de(ze,Et,qe,kt),At&&he(ze,Et,qe,kt),kt!==null&&t.update(kt,n.ELEMENT_ARRAY_BUFFER),(At||V)&&(V=!1,Ne(ze,Pt,qe,Et),kt!==null&&n.bindBuffer(n.ELEMENT_ARRAY_BUFFER,t.get(kt).buffer))}function ie(){return n.createVertexArray()}function ae(ze){return n.bindVertexArray(ze)}function oe(ze){return n.deleteVertexArray(ze)}function le(ze,Pt,qe){const Et=qe.wireframe===!0;let kt=i[ze.id];kt===void 0&&(kt={},i[ze.id]=kt);let At=kt[Pt.id];At===void 0&&(At={},kt[Pt.id]=At);let Dt=At[Et];return Dt===void 0&&(Dt=ue(ie()),At[Et]=Dt),Dt}function ue(ze){const Pt=[],qe=[],Et=[];for(let kt=0;kt=0){const vn=kt[jt];let _n=At[jt];if(_n===void 0&&(jt==="instanceMatrix"&&ze.instanceMatrix&&(_n=ze.instanceMatrix),jt==="instanceColor"&&ze.instanceColor&&(_n=ze.instanceColor)),vn===void 0||vn.attribute!==_n||_n&&vn.data!==_n.data)return!0;Dt++}return $.attributesNum!==Dt||$.index!==Et}function he(ze,Pt,qe,Et){const kt={},At=Pt.attributes;let Dt=0;const Lt=qe.getAttributes();for(const jt in Lt)if(Lt[jt].location>=0){let vn=At[jt];vn===void 0&&(jt==="instanceMatrix"&&ze.instanceMatrix&&(vn=ze.instanceMatrix),jt==="instanceColor"&&ze.instanceColor&&(vn=ze.instanceColor));const _n={};_n.attribute=vn,vn&&vn.data&&(_n.data=vn.data),kt[jt]=_n,Dt++}$.attributes=kt,$.attributesNum=Dt,$.index=Et}function pe(){const ze=$.newAttributes;for(let Pt=0,qe=ze.length;Pt=0){let hn=kt[Lt];if(hn===void 0&&(Lt==="instanceMatrix"&&ze.instanceMatrix&&(hn=ze.instanceMatrix),Lt==="instanceColor"&&ze.instanceColor&&(hn=ze.instanceColor)),hn!==void 0){const vn=hn.normalized,_n=hn.itemSize,wn=t.get(hn);if(wn===void 0)continue;const bn=wn.buffer,Cn=wn.type,Sn=wn.bytesPerElement,Tn=Cn===n.INT||Cn===n.UNSIGNED_INT||hn.gpuType===IntType;if(hn.isInterleavedBufferAttribute){const En=hn.data,kn=En.stride,$n=hn.offset;if(En.isInstancedInterleavedBuffer){for(let An=0;An0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.HIGH_FLOAT).precision>0)return"highp";Ve="mediump"}return Ve==="mediump"&&n.getShaderPrecisionFormat(n.VERTEX_SHADER,n.MEDIUM_FLOAT).precision>0&&n.getShaderPrecisionFormat(n.FRAGMENT_SHADER,n.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}let ae=r.precision!==void 0?r.precision:"highp";const oe=ie(ae);oe!==ae&&(warn("WebGLRenderer:",ae,"not supported, using",oe,"instead."),ae=oe);const le=r.logarithmicDepthBuffer===!0,ue=r.reversedDepthBuffer===!0&&t.has("EXT_clip_control"),de=n.getParameter(n.MAX_TEXTURE_IMAGE_UNITS),he=n.getParameter(n.MAX_VERTEX_TEXTURE_IMAGE_UNITS),pe=n.getParameter(n.MAX_TEXTURE_SIZE),_e=n.getParameter(n.MAX_CUBE_MAP_TEXTURE_SIZE),Ce=n.getParameter(n.MAX_VERTEX_ATTRIBS),xe=n.getParameter(n.MAX_VERTEX_UNIFORM_VECTORS),Ie=n.getParameter(n.MAX_VARYING_VECTORS),Ne=n.getParameter(n.MAX_FRAGMENT_UNIFORM_VECTORS),Oe=n.getParameter(n.MAX_SAMPLES),$e=n.getParameter(n.SAMPLES);return{isWebGL2:!0,getMaxAnisotropy:$,getMaxPrecision:ie,textureFormatReadable:V,textureTypeReadable:re,precision:ae,logarithmicDepthBuffer:le,reversedDepthBuffer:ue,maxTextures:de,maxVertexTextures:he,maxTextureSize:pe,maxCubemapSize:_e,maxAttributes:Ce,maxVertexUniforms:xe,maxVaryings:Ie,maxFragmentUniforms:Ne,maxSamples:Oe,samples:$e}}function WebGLClipping(n){const t=this;let r=null,i=0,g=!1,$=!1;const V=new Plane,re=new Matrix3,ie={value:null,needsUpdate:!1};this.uniform=ie,this.numPlanes=0,this.numIntersection=0,this.init=function(le,ue){const de=le.length!==0||ue||i!==0||g;return g=ue,i=le.length,de},this.beginShadows=function(){$=!0,oe(null)},this.endShadows=function(){$=!1},this.setGlobalState=function(le,ue){r=oe(le,ue,0)},this.setState=function(le,ue,de){const he=le.clippingPlanes,pe=le.clipIntersection,_e=le.clipShadows,Ce=n.get(le);if(!g||he===null||he.length===0||$&&!_e)$?oe(null):ae();else{const xe=$?0:i,Ie=xe*4;let Ne=Ce.clippingState||null;ie.value=Ne,Ne=oe(he,ue,Ie,de);for(let Oe=0;Oe!==Ie;++Oe)Ne[Oe]=r[Oe];Ce.clippingState=Ne,this.numIntersection=pe?this.numPlanes:0,this.numPlanes+=xe}};function ae(){ie.value!==r&&(ie.value=r,ie.needsUpdate=i>0),t.numPlanes=i,t.numIntersection=0}function oe(le,ue,de,he){const pe=le!==null?le.length:0;let _e=null;if(pe!==0){if(_e=ie.value,he!==!0||_e===null){const Ce=de+pe*4,xe=ue.matrixWorldInverse;re.getNormalMatrix(xe),(_e===null||_e.length0){const ae=new WebGLCubeRenderTarget(ie.height);return ae.fromEquirectangularTexture(n,V),t.set(V,ae),V.addEventListener("dispose",g),r(ae.texture,V.mapping)}else return null}}return V}function g(V){const re=V.target;re.removeEventListener("dispose",g);const ie=t.get(re);ie!==void 0&&(t.delete(re),ie.dispose())}function $(){t=new WeakMap}return{get:i,dispose:$}}const LOD_MIN=4,EXTRA_LOD_SIGMA=[.125,.215,.35,.446,.526,.582],MAX_SAMPLES=20,GGX_SAMPLES=256,_flatCamera=new OrthographicCamera,_clearColor=new Color;let _oldTarget=null,_oldActiveCubeFace=0,_oldActiveMipmapLevel=0,_oldXrEnabled=!1;const _origin=new Vector3;class PMREMGenerator{constructor(t){this._renderer=t,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._sizeLods=[],this._sigmas=[],this._lodMeshes=[],this._backgroundBox=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._blurMaterial=null,this._ggxMaterial=null}fromScene(t,r=0,i=.1,g=100,$={}){const{size:V=256,position:re=_origin}=$;_oldTarget=this._renderer.getRenderTarget(),_oldActiveCubeFace=this._renderer.getActiveCubeFace(),_oldActiveMipmapLevel=this._renderer.getActiveMipmapLevel(),_oldXrEnabled=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(V);const ie=this._allocateTargets();return ie.depthBuffer=!0,this._sceneToCubeUV(t,i,g,ie,re),r>0&&this._blur(ie,0,0,r),this._applyPMREM(ie),this._cleanup(ie),ie}fromEquirectangular(t,r=null){return this._fromTexture(t,r)}fromCubemap(t,r=null){return this._fromTexture(t,r)}compileCubemapShader(){this._cubemapMaterial===null&&(this._cubemapMaterial=_getCubemapMaterial(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){this._equirectMaterial===null&&(this._equirectMaterial=_getEquirectMaterial(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),this._cubemapMaterial!==null&&this._cubemapMaterial.dispose(),this._equirectMaterial!==null&&this._equirectMaterial.dispose(),this._backgroundBox!==null&&(this._backgroundBox.geometry.dispose(),this._backgroundBox.material.dispose())}_setSize(t){this._lodMax=Math.floor(Math.log2(t)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){this._blurMaterial!==null&&this._blurMaterial.dispose(),this._ggxMaterial!==null&&this._ggxMaterial.dispose(),this._pingPongRenderTarget!==null&&this._pingPongRenderTarget.dispose();for(let t=0;t2?Oe:0,Oe,Oe),le.setRenderTarget(g),Ce&&le.render(pe,ie),le.render(t,ie)}le.toneMapping=de,le.autoClear=ue,t.background=xe}_textureToCubeUV(t,r){const i=this._renderer,g=t.mapping===CubeReflectionMapping||t.mapping===CubeRefractionMapping;g?(this._cubemapMaterial===null&&(this._cubemapMaterial=_getCubemapMaterial()),this._cubemapMaterial.uniforms.flipEnvMap.value=t.isRenderTargetTexture===!1?-1:1):this._equirectMaterial===null&&(this._equirectMaterial=_getEquirectMaterial());const $=g?this._cubemapMaterial:this._equirectMaterial,V=this._lodMeshes[0];V.material=$;const re=$.uniforms;re.envMap.value=t;const ie=this._cubeSize;_setViewport(r,0,0,3*ie,2*ie),i.setRenderTarget(r),i.render(V,_flatCamera)}_applyPMREM(t){const r=this._renderer,i=r.autoClear;r.autoClear=!1;const g=this._lodMeshes.length;for(let $=1;$he-LOD_MIN?i-he+LOD_MIN:0),Ce=4*(this._cubeSize-pe);ie.envMap.value=t.texture,ie.roughness.value=de,ie.mipInt.value=he-r,_setViewport($,_e,Ce,3*pe,2*pe),g.setRenderTarget($),g.render(re,_flatCamera),ie.envMap.value=$.texture,ie.roughness.value=0,ie.mipInt.value=he-i,_setViewport(t,_e,Ce,3*pe,2*pe),g.setRenderTarget(t),g.render(re,_flatCamera)}_blur(t,r,i,g,$){const V=this._pingPongRenderTarget;this._halfBlur(t,V,r,i,g,"latitudinal",$),this._halfBlur(V,t,i,i,g,"longitudinal",$)}_halfBlur(t,r,i,g,$,V,re){const ie=this._renderer,ae=this._blurMaterial;V!=="latitudinal"&&V!=="longitudinal"&&error("blur direction must be either latitudinal or longitudinal!");const oe=3,le=this._lodMeshes[g];le.material=ae;const ue=ae.uniforms,de=this._sizeLods[i]-1,he=isFinite($)?Math.PI/(2*de):2*Math.PI/(2*MAX_SAMPLES-1),pe=$/he,_e=isFinite($)?1+Math.floor(oe*pe):MAX_SAMPLES;_e>MAX_SAMPLES&&warn(`sigmaRadians, ${$}, is too large and will clip, as it requested ${_e} samples when the maximum is set to ${MAX_SAMPLES}`);const Ce=[];let xe=0;for(let Ve=0;VeIe-LOD_MIN?g-Ie+LOD_MIN:0),$e=4*(this._cubeSize-Ne);_setViewport(r,Oe,$e,3*Ne,2*Ne),ie.setRenderTarget(r),ie.render(le,_flatCamera)}}function _createPlanes(n){const t=[],r=[],i=[];let g=n;const $=n-LOD_MIN+1+EXTRA_LOD_SIGMA.length;for(let V=0;V<$;V++){const re=Math.pow(2,g);t.push(re);let ie=1/re;V>n-LOD_MIN?ie=EXTRA_LOD_SIGMA[V-n+LOD_MIN-1]:V===0&&(ie=0),r.push(ie);const ae=1/(re-2),oe=-ae,le=1+ae,ue=[oe,oe,le,oe,le,le,oe,oe,le,le,oe,le],de=6,he=6,pe=3,_e=2,Ce=1,xe=new Float32Array(pe*he*de),Ie=new Float32Array(_e*he*de),Ne=new Float32Array(Ce*he*de);for(let $e=0;$e2?0:-1,Fe=[Ve,Ue,0,Ve+2/3,Ue,0,Ve+2/3,Ue+1,0,Ve,Ue,0,Ve+2/3,Ue+1,0,Ve,Ue+1,0];xe.set(Fe,pe*he*$e),Ie.set(ue,_e*he*$e);const ze=[$e,$e,$e,$e,$e,$e];Ne.set(ze,Ce*he*$e)}const Oe=new BufferGeometry;Oe.setAttribute("position",new BufferAttribute(xe,pe)),Oe.setAttribute("uv",new BufferAttribute(Ie,_e)),Oe.setAttribute("faceIndex",new BufferAttribute(Ne,Ce)),i.push(new Mesh(Oe,null)),g>LOD_MIN&&g--}return{lodMeshes:i,sizeLods:t,sigmas:r}}function _createRenderTarget(n,t,r){const i=new WebGLRenderTarget(n,t,r);return i.texture.mapping=CubeUVReflectionMapping,i.texture.name="PMREM.cubeUv",i.scissorTest=!0,i}function _setViewport(n,t,r,i,g){n.viewport.set(t,r,i,g),n.scissor.set(t,r,i,g)}function _getGGXShader(n,t,r){return new ShaderMaterial({name:"PMREMGGXConvolution",defines:{GGX_SAMPLES,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/r,CUBEUV_MAX_MIP:`${n}.0`},uniforms:{envMap:{value:null},roughness:{value:0},mipInt:{value:0}},vertexShader:_getCommonVertexShader(),fragmentShader:` - - precision highp float; - precision highp int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - uniform float roughness; - uniform float mipInt; - - #define ENVMAP_TYPE_CUBE_UV - #include - - #define PI 3.14159265359 - - // Van der Corput radical inverse - float radicalInverse_VdC(uint bits) { - bits = (bits << 16u) | (bits >> 16u); - bits = ((bits & 0x55555555u) << 1u) | ((bits & 0xAAAAAAAAu) >> 1u); - bits = ((bits & 0x33333333u) << 2u) | ((bits & 0xCCCCCCCCu) >> 2u); - bits = ((bits & 0x0F0F0F0Fu) << 4u) | ((bits & 0xF0F0F0F0u) >> 4u); - bits = ((bits & 0x00FF00FFu) << 8u) | ((bits & 0xFF00FF00u) >> 8u); - return float(bits) * 2.3283064365386963e-10; // / 0x100000000 - } - - // Hammersley sequence - vec2 hammersley(uint i, uint N) { - return vec2(float(i) / float(N), radicalInverse_VdC(i)); - } - - // GGX VNDF importance sampling (Eric Heitz 2018) - // "Sampling the GGX Distribution of Visible Normals" - // https://jcgt.org/published/0007/04/01/ - vec3 importanceSampleGGX_VNDF(vec2 Xi, vec3 V, float roughness) { - float alpha = roughness * roughness; - - // Section 3.2: Transform view direction to hemisphere configuration - vec3 Vh = normalize(vec3(alpha * V.x, alpha * V.y, V.z)); - - // Section 4.1: Orthonormal basis - float lensq = Vh.x * Vh.x + Vh.y * Vh.y; - vec3 T1 = lensq > 0.0 ? vec3(-Vh.y, Vh.x, 0.0) / sqrt(lensq) : vec3(1.0, 0.0, 0.0); - vec3 T2 = cross(Vh, T1); - - // Section 4.2: Parameterization of projected area - float r = sqrt(Xi.x); - float phi = 2.0 * PI * Xi.y; - float t1 = r * cos(phi); - float t2 = r * sin(phi); - float s = 0.5 * (1.0 + Vh.z); - t2 = (1.0 - s) * sqrt(1.0 - t1 * t1) + s * t2; - - // Section 4.3: Reprojection onto hemisphere - vec3 Nh = t1 * T1 + t2 * T2 + sqrt(max(0.0, 1.0 - t1 * t1 - t2 * t2)) * Vh; - - // Section 3.4: Transform back to ellipsoid configuration - return normalize(vec3(alpha * Nh.x, alpha * Nh.y, max(0.0, Nh.z))); - } - - void main() { - vec3 N = normalize(vOutputDirection); - vec3 V = N; // Assume view direction equals normal for pre-filtering - - vec3 prefilteredColor = vec3(0.0); - float totalWeight = 0.0; - - // For very low roughness, just sample the environment directly - if (roughness < 0.001) { - gl_FragColor = vec4(bilinearCubeUV(envMap, N, mipInt), 1.0); - return; - } - - // Tangent space basis for VNDF sampling - vec3 up = abs(N.z) < 0.999 ? vec3(0.0, 0.0, 1.0) : vec3(1.0, 0.0, 0.0); - vec3 tangent = normalize(cross(up, N)); - vec3 bitangent = cross(N, tangent); - - for(uint i = 0u; i < uint(GGX_SAMPLES); i++) { - vec2 Xi = hammersley(i, uint(GGX_SAMPLES)); - - // For PMREM, V = N, so in tangent space V is always (0, 0, 1) - vec3 H_tangent = importanceSampleGGX_VNDF(Xi, vec3(0.0, 0.0, 1.0), roughness); - - // Transform H back to world space - vec3 H = normalize(tangent * H_tangent.x + bitangent * H_tangent.y + N * H_tangent.z); - vec3 L = normalize(2.0 * dot(V, H) * H - V); - - float NdotL = max(dot(N, L), 0.0); - - if(NdotL > 0.0) { - // Sample environment at fixed mip level - // VNDF importance sampling handles the distribution filtering - vec3 sampleColor = bilinearCubeUV(envMap, L, mipInt); - - // Weight by NdotL for the split-sum approximation - // VNDF PDF naturally accounts for the visible microfacet distribution - prefilteredColor += sampleColor * NdotL; - totalWeight += NdotL; - } - } - - if (totalWeight > 0.0) { - prefilteredColor = prefilteredColor / totalWeight; - } - - gl_FragColor = vec4(prefilteredColor, 1.0); - } - `,blending:NoBlending,depthTest:!1,depthWrite:!1})}function _getBlurShader(n,t,r){const i=new Float32Array(MAX_SAMPLES),g=new Vector3(0,1,0);return new ShaderMaterial({name:"SphericalGaussianBlur",defines:{n:MAX_SAMPLES,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/r,CUBEUV_MAX_MIP:`${n}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:i},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:g}},vertexShader:_getCommonVertexShader(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - uniform int samples; - uniform float weights[ n ]; - uniform bool latitudinal; - uniform float dTheta; - uniform float mipInt; - uniform vec3 poleAxis; - - #define ENVMAP_TYPE_CUBE_UV - #include - - vec3 getSample( float theta, vec3 axis ) { - - float cosTheta = cos( theta ); - // Rodrigues' axis-angle rotation - vec3 sampleDirection = vOutputDirection * cosTheta - + cross( axis, vOutputDirection ) * sin( theta ) - + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta ); - - return bilinearCubeUV( envMap, sampleDirection, mipInt ); - - } - - void main() { - - vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection ); - - if ( all( equal( axis, vec3( 0.0 ) ) ) ) { - - axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x ); - - } - - axis = normalize( axis ); - - gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 ); - gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis ); - - for ( int i = 1; i < n; i++ ) { - - if ( i >= samples ) { - - break; - - } - - float theta = dTheta * float( i ); - gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis ); - gl_FragColor.rgb += weights[ i ] * getSample( theta, axis ); - - } - - } - `,blending:NoBlending,depthTest:!1,depthWrite:!1})}function _getEquirectMaterial(){return new ShaderMaterial({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:_getCommonVertexShader(),fragmentShader:` - - precision mediump float; - precision mediump int; - - varying vec3 vOutputDirection; - - uniform sampler2D envMap; - - #include - - void main() { - - vec3 outputDirection = normalize( vOutputDirection ); - vec2 uv = equirectUv( outputDirection ); - - gl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 ); - - } - `,blending:NoBlending,depthTest:!1,depthWrite:!1})}function _getCubemapMaterial(){return new ShaderMaterial({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:_getCommonVertexShader(),fragmentShader:` - - precision mediump float; - precision mediump int; - - uniform float flipEnvMap; - - varying vec3 vOutputDirection; - - uniform samplerCube envMap; - - void main() { - - gl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) ); - - } - `,blending:NoBlending,depthTest:!1,depthWrite:!1})}function _getCommonVertexShader(){return` - - precision mediump float; - precision mediump int; - - attribute float faceIndex; - - varying vec3 vOutputDirection; - - // RH coordinate system; PMREM face-indexing convention - vec3 getDirection( vec2 uv, float face ) { - - uv = 2.0 * uv - 1.0; - - vec3 direction = vec3( uv, 1.0 ); - - if ( face == 0.0 ) { - - direction = direction.zyx; // ( 1, v, u ) pos x - - } else if ( face == 1.0 ) { - - direction = direction.xzy; - direction.xz *= -1.0; // ( -u, 1, -v ) pos y - - } else if ( face == 2.0 ) { - - direction.x *= -1.0; // ( -u, v, 1 ) pos z - - } else if ( face == 3.0 ) { - - direction = direction.zyx; - direction.xz *= -1.0; // ( -1, v, -u ) neg x - - } else if ( face == 4.0 ) { - - direction = direction.xzy; - direction.xy *= -1.0; // ( -u, -1, v ) neg y - - } else if ( face == 5.0 ) { - - direction.z *= -1.0; // ( u, v, -1 ) neg z - - } - - return direction; - - } - - void main() { - - vOutputDirection = getDirection( uv, faceIndex ); - gl_Position = vec4( position, 1.0 ); - - } - `}function WebGLCubeUVMaps(n){let t=new WeakMap,r=null;function i(re){if(re&&re.isTexture){const ie=re.mapping,ae=ie===EquirectangularReflectionMapping||ie===EquirectangularRefractionMapping,oe=ie===CubeReflectionMapping||ie===CubeRefractionMapping;if(ae||oe){let le=t.get(re);const ue=le!==void 0?le.texture.pmremVersion:0;if(re.isRenderTargetTexture&&re.pmremVersion!==ue)return r===null&&(r=new PMREMGenerator(n)),le=ae?r.fromEquirectangular(re,le):r.fromCubemap(re,le),le.texture.pmremVersion=re.pmremVersion,t.set(re,le),le.texture;if(le!==void 0)return le.texture;{const de=re.image;return ae&&de&&de.height>0||oe&&de&&g(de)?(r===null&&(r=new PMREMGenerator(n)),le=ae?r.fromEquirectangular(re):r.fromCubemap(re),le.texture.pmremVersion=re.pmremVersion,t.set(re,le),re.addEventListener("dispose",$),le.texture):null}}}return re}function g(re){let ie=0;const ae=6;for(let oe=0;oet.maxTextureSize&&(Oe=Math.ceil(Ne/t.maxTextureSize),Ne=t.maxTextureSize);const $e=new Float32Array(Ne*Oe*4*le),Ve=new DataArrayTexture($e,Ne,Oe,le);Ve.type=FloatType,Ve.needsUpdate=!0;const Ue=Ie*4;for(let ze=0;ze - #include - - void main() { - gl_FragColor = texture2D( tDiffuse, vUv ); - - #ifdef LINEAR_TONE_MAPPING - gl_FragColor.rgb = LinearToneMapping( gl_FragColor.rgb ); - #elif defined( REINHARD_TONE_MAPPING ) - gl_FragColor.rgb = ReinhardToneMapping( gl_FragColor.rgb ); - #elif defined( CINEON_TONE_MAPPING ) - gl_FragColor.rgb = CineonToneMapping( gl_FragColor.rgb ); - #elif defined( ACES_FILMIC_TONE_MAPPING ) - gl_FragColor.rgb = ACESFilmicToneMapping( gl_FragColor.rgb ); - #elif defined( AGX_TONE_MAPPING ) - gl_FragColor.rgb = AgXToneMapping( gl_FragColor.rgb ); - #elif defined( NEUTRAL_TONE_MAPPING ) - gl_FragColor.rgb = NeutralToneMapping( gl_FragColor.rgb ); - #elif defined( CUSTOM_TONE_MAPPING ) - gl_FragColor.rgb = CustomToneMapping( gl_FragColor.rgb ); - #endif - - #ifdef SRGB_TRANSFER - gl_FragColor = sRGBTransferOETF( gl_FragColor ); - #endif - }`,depthTest:!1,depthWrite:!1}),ae=new Mesh(re,ie),oe=new OrthographicCamera(-1,1,1,-1,0,1);let le=null,ue=null,de=!1,he,pe=null,_e=[],Ce=!1;this.setSize=function(xe,Ie){$.setSize(xe,Ie),V.setSize(xe,Ie);for(let Ne=0;Ne<_e.length;Ne++){const Oe=_e[Ne];Oe.setSize&&Oe.setSize(xe,Ie)}},this.setEffects=function(xe){_e=xe,Ce=_e.length>0&&_e[0].isRenderPass===!0;const Ie=$.width,Ne=$.height;for(let Oe=0;Oe<_e.length;Oe++){const $e=_e[Oe];$e.setSize&&$e.setSize(Ie,Ne)}},this.begin=function(xe,Ie){if(de||xe.toneMapping===NoToneMapping&&_e.length===0)return!1;if(pe=Ie,Ie!==null){const Ne=Ie.width,Oe=Ie.height;($.width!==Ne||$.height!==Oe)&&this.setSize(Ne,Oe)}return Ce===!1&&xe.setRenderTarget($),he=xe.toneMapping,xe.toneMapping=NoToneMapping,!0},this.hasRenderPass=function(){return Ce},this.end=function(xe,Ie){xe.toneMapping=he,de=!0;let Ne=$,Oe=V;for(let $e=0;$e<_e.length;$e++){const Ve=_e[$e];if(Ve.enabled!==!1&&(Ve.render(xe,Oe,Ne,Ie),Ve.needsSwap!==!1)){const Ue=Ne;Ne=Oe,Oe=Ue}}if(le!==xe.outputColorSpace||ue!==xe.toneMapping){le=xe.outputColorSpace,ue=xe.toneMapping,ie.defines={},ColorManagement.getTransfer(le)===SRGBTransfer&&(ie.defines.SRGB_TRANSFER="");const $e=toneMappingMap[ue];$e&&(ie.defines[$e]=""),ie.needsUpdate=!0}ie.uniforms.tDiffuse.value=Ne.texture,xe.setRenderTarget(pe),xe.render(ae,oe),pe=null,de=!1},this.isCompositing=function(){return de},this.dispose=function(){$.dispose(),V.dispose(),re.dispose(),ie.dispose()}}const emptyTexture=new Texture,emptyShadowTexture=new DepthTexture(1,1),emptyArrayTexture=new DataArrayTexture,empty3dTexture=new Data3DTexture,emptyCubeTexture=new CubeTexture,arrayCacheF32=[],arrayCacheI32=[],mat4array=new Float32Array(16),mat3array=new Float32Array(9),mat2array=new Float32Array(4);function flatten(n,t,r){const i=n[0];if(i<=0||i>0)return n;const g=t*r;let $=arrayCacheF32[g];if($===void 0&&($=new Float32Array(g),arrayCacheF32[g]=$),t!==0){i.toArray($,0);for(let V=1,re=0;V!==t;++V)re+=r,n[V].toArray($,re)}return $}function arraysEqual(n,t){if(n.length!==t.length)return!1;for(let r=0,i=n.length;r0&&(this.seq=g.concat($))}setValue(t,r,i,g){const $=this.map[r];$!==void 0&&$.setValue(t,i,g)}setOptional(t,r,i){const g=r[i];g!==void 0&&this.setValue(t,i,g)}static upload(t,r,i,g){for(let $=0,V=r.length;$!==V;++$){const re=r[$],ie=i[re.id];ie.needsUpdate!==!1&&re.setValue(t,ie.value,g)}}static seqWithValue(t,r){const i=[];for(let g=0,$=t.length;g!==$;++g){const V=t[g];V.id in r&&i.push(V)}return i}}function WebGLShader(n,t,r){const i=n.createShader(t);return n.shaderSource(i,r),n.compileShader(i),i}const COMPLETION_STATUS_KHR=37297;let programIdCount=0;function handleSource(n,t){const r=n.split(` -`),i=[],g=Math.max(t-6,0),$=Math.min(t+6,r.length);for(let V=g;V<$;V++){const re=V+1;i.push(`${re===t?">":" "} ${re}: ${r[V]}`)}return i.join(` -`)}const _m0=new Matrix3;function getEncodingComponents(n){ColorManagement._getMatrix(_m0,ColorManagement.workingColorSpace,n);const t=`mat3( ${_m0.elements.map(r=>r.toFixed(4))} )`;switch(ColorManagement.getTransfer(n)){case LinearTransfer:return[t,"LinearTransferOETF"];case SRGBTransfer:return[t,"sRGBTransferOETF"];default:return warn("WebGLProgram: Unsupported color space: ",n),[t,"LinearTransferOETF"]}}function getShaderErrors(n,t,r){const i=n.getShaderParameter(t,n.COMPILE_STATUS),$=(n.getShaderInfoLog(t)||"").trim();if(i&&$==="")return"";const V=/ERROR: 0:(\d+)/.exec($);if(V){const re=parseInt(V[1]);return r.toUpperCase()+` - -`+$+` - -`+handleSource(n.getShaderSource(t),re)}else return $}function getTexelEncodingFunction(n,t){const r=getEncodingComponents(t);return[`vec4 ${n}( vec4 value ) {`,` return ${r[1]}( vec4( value.rgb * ${r[0]}, value.a ) );`,"}"].join(` -`)}const toneMappingFunctions={[LinearToneMapping]:"Linear",[ReinhardToneMapping]:"Reinhard",[CineonToneMapping]:"Cineon",[ACESFilmicToneMapping]:"ACESFilmic",[AgXToneMapping]:"AgX",[NeutralToneMapping]:"Neutral",[CustomToneMapping]:"Custom"};function getToneMappingFunction(n,t){const r=toneMappingFunctions[t];return r===void 0?(warn("WebGLProgram: Unsupported toneMapping:",t),"vec3 "+n+"( vec3 color ) { return LinearToneMapping( color ); }"):"vec3 "+n+"( vec3 color ) { return "+r+"ToneMapping( color ); }"}const _v0$1=new Vector3;function getLuminanceFunction(){ColorManagement.getLuminanceCoefficients(_v0$1);const n=_v0$1.x.toFixed(4),t=_v0$1.y.toFixed(4),r=_v0$1.z.toFixed(4);return["float luminance( const in vec3 rgb ) {",` const vec3 weights = vec3( ${n}, ${t}, ${r} );`," return dot( weights, rgb );","}"].join(` -`)}function generateVertexExtensions(n){return[n.extensionClipCullDistance?"#extension GL_ANGLE_clip_cull_distance : require":"",n.extensionMultiDraw?"#extension GL_ANGLE_multi_draw : require":""].filter(filterEmptyLine).join(` -`)}function generateDefines(n){const t=[];for(const r in n){const i=n[r];i!==!1&&t.push("#define "+r+" "+i)}return t.join(` -`)}function fetchAttributeLocations(n,t){const r={},i=n.getProgramParameter(t,n.ACTIVE_ATTRIBUTES);for(let g=0;g/gm;function resolveIncludes(n){return n.replace(includePattern,includeReplacer)}const shaderChunkMap=new Map;function includeReplacer(n,t){let r=ShaderChunk[t];if(r===void 0){const i=shaderChunkMap.get(t);if(i!==void 0)r=ShaderChunk[i],warn('WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',t,i);else throw new Error("Can not resolve #include <"+t+">")}return resolveIncludes(r)}const unrollLoopPattern=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function unrollLoops(n){return n.replace(unrollLoopPattern,loopReplacer)}function loopReplacer(n,t,r,i){let g="";for(let $=parseInt(t);$0&&(_e+=` -`),Ce=["#define SHADER_TYPE "+r.shaderType,"#define SHADER_NAME "+r.shaderName,he].filter(filterEmptyLine).join(` -`),Ce.length>0&&(Ce+=` -`)):(_e=[generatePrecision(r),"#define SHADER_TYPE "+r.shaderType,"#define SHADER_NAME "+r.shaderName,he,r.extensionClipCullDistance?"#define USE_CLIP_DISTANCE":"",r.batching?"#define USE_BATCHING":"",r.batchingColor?"#define USE_BATCHING_COLOR":"",r.instancing?"#define USE_INSTANCING":"",r.instancingColor?"#define USE_INSTANCING_COLOR":"",r.instancingMorph?"#define USE_INSTANCING_MORPH":"",r.useFog&&r.fog?"#define USE_FOG":"",r.useFog&&r.fogExp2?"#define FOG_EXP2":"",r.map?"#define USE_MAP":"",r.envMap?"#define USE_ENVMAP":"",r.envMap?"#define "+oe:"",r.lightMap?"#define USE_LIGHTMAP":"",r.aoMap?"#define USE_AOMAP":"",r.bumpMap?"#define USE_BUMPMAP":"",r.normalMap?"#define USE_NORMALMAP":"",r.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",r.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",r.displacementMap?"#define USE_DISPLACEMENTMAP":"",r.emissiveMap?"#define USE_EMISSIVEMAP":"",r.anisotropy?"#define USE_ANISOTROPY":"",r.anisotropyMap?"#define USE_ANISOTROPYMAP":"",r.clearcoatMap?"#define USE_CLEARCOATMAP":"",r.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",r.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",r.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",r.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",r.specularMap?"#define USE_SPECULARMAP":"",r.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",r.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",r.roughnessMap?"#define USE_ROUGHNESSMAP":"",r.metalnessMap?"#define USE_METALNESSMAP":"",r.alphaMap?"#define USE_ALPHAMAP":"",r.alphaHash?"#define USE_ALPHAHASH":"",r.transmission?"#define USE_TRANSMISSION":"",r.transmissionMap?"#define USE_TRANSMISSIONMAP":"",r.thicknessMap?"#define USE_THICKNESSMAP":"",r.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",r.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",r.mapUv?"#define MAP_UV "+r.mapUv:"",r.alphaMapUv?"#define ALPHAMAP_UV "+r.alphaMapUv:"",r.lightMapUv?"#define LIGHTMAP_UV "+r.lightMapUv:"",r.aoMapUv?"#define AOMAP_UV "+r.aoMapUv:"",r.emissiveMapUv?"#define EMISSIVEMAP_UV "+r.emissiveMapUv:"",r.bumpMapUv?"#define BUMPMAP_UV "+r.bumpMapUv:"",r.normalMapUv?"#define NORMALMAP_UV "+r.normalMapUv:"",r.displacementMapUv?"#define DISPLACEMENTMAP_UV "+r.displacementMapUv:"",r.metalnessMapUv?"#define METALNESSMAP_UV "+r.metalnessMapUv:"",r.roughnessMapUv?"#define ROUGHNESSMAP_UV "+r.roughnessMapUv:"",r.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+r.anisotropyMapUv:"",r.clearcoatMapUv?"#define CLEARCOATMAP_UV "+r.clearcoatMapUv:"",r.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+r.clearcoatNormalMapUv:"",r.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+r.clearcoatRoughnessMapUv:"",r.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+r.iridescenceMapUv:"",r.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+r.iridescenceThicknessMapUv:"",r.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+r.sheenColorMapUv:"",r.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+r.sheenRoughnessMapUv:"",r.specularMapUv?"#define SPECULARMAP_UV "+r.specularMapUv:"",r.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+r.specularColorMapUv:"",r.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+r.specularIntensityMapUv:"",r.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+r.transmissionMapUv:"",r.thicknessMapUv?"#define THICKNESSMAP_UV "+r.thicknessMapUv:"",r.vertexTangents&&r.flatShading===!1?"#define USE_TANGENT":"",r.vertexColors?"#define USE_COLOR":"",r.vertexAlphas?"#define USE_COLOR_ALPHA":"",r.vertexUv1s?"#define USE_UV1":"",r.vertexUv2s?"#define USE_UV2":"",r.vertexUv3s?"#define USE_UV3":"",r.pointsUvs?"#define USE_POINTS_UV":"",r.flatShading?"#define FLAT_SHADED":"",r.skinning?"#define USE_SKINNING":"",r.morphTargets?"#define USE_MORPHTARGETS":"",r.morphNormals&&r.flatShading===!1?"#define USE_MORPHNORMALS":"",r.morphColors?"#define USE_MORPHCOLORS":"",r.morphTargetsCount>0?"#define MORPHTARGETS_TEXTURE_STRIDE "+r.morphTextureStride:"",r.morphTargetsCount>0?"#define MORPHTARGETS_COUNT "+r.morphTargetsCount:"",r.doubleSided?"#define DOUBLE_SIDED":"",r.flipSided?"#define FLIP_SIDED":"",r.shadowMapEnabled?"#define USE_SHADOWMAP":"",r.shadowMapEnabled?"#define "+ie:"",r.sizeAttenuation?"#define USE_SIZEATTENUATION":"",r.numLightProbes>0?"#define USE_LIGHT_PROBES":"",r.logarithmicDepthBuffer?"#define USE_LOGARITHMIC_DEPTH_BUFFER":"",r.reversedDepthBuffer?"#define USE_REVERSED_DEPTH_BUFFER":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;","#ifdef USE_INSTANCING"," attribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR"," attribute vec3 instanceColor;","#endif","#ifdef USE_INSTANCING_MORPH"," uniform sampler2D morphTexture;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1"," attribute vec2 uv1;","#endif","#ifdef USE_UV2"," attribute vec2 uv2;","#endif","#ifdef USE_UV3"," attribute vec2 uv3;","#endif","#ifdef USE_TANGENT"," attribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )"," attribute vec4 color;","#elif defined( USE_COLOR )"," attribute vec3 color;","#endif","#ifdef USE_SKINNING"," attribute vec4 skinIndex;"," attribute vec4 skinWeight;","#endif",` -`].filter(filterEmptyLine).join(` -`),Ce=[generatePrecision(r),"#define SHADER_TYPE "+r.shaderType,"#define SHADER_NAME "+r.shaderName,he,r.useFog&&r.fog?"#define USE_FOG":"",r.useFog&&r.fogExp2?"#define FOG_EXP2":"",r.alphaToCoverage?"#define ALPHA_TO_COVERAGE":"",r.map?"#define USE_MAP":"",r.matcap?"#define USE_MATCAP":"",r.envMap?"#define USE_ENVMAP":"",r.envMap?"#define "+ae:"",r.envMap?"#define "+oe:"",r.envMap?"#define "+le:"",ue?"#define CUBEUV_TEXEL_WIDTH "+ue.texelWidth:"",ue?"#define CUBEUV_TEXEL_HEIGHT "+ue.texelHeight:"",ue?"#define CUBEUV_MAX_MIP "+ue.maxMip+".0":"",r.lightMap?"#define USE_LIGHTMAP":"",r.aoMap?"#define USE_AOMAP":"",r.bumpMap?"#define USE_BUMPMAP":"",r.normalMap?"#define USE_NORMALMAP":"",r.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",r.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",r.emissiveMap?"#define USE_EMISSIVEMAP":"",r.anisotropy?"#define USE_ANISOTROPY":"",r.anisotropyMap?"#define USE_ANISOTROPYMAP":"",r.clearcoat?"#define USE_CLEARCOAT":"",r.clearcoatMap?"#define USE_CLEARCOATMAP":"",r.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",r.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",r.dispersion?"#define USE_DISPERSION":"",r.iridescence?"#define USE_IRIDESCENCE":"",r.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",r.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",r.specularMap?"#define USE_SPECULARMAP":"",r.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",r.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",r.roughnessMap?"#define USE_ROUGHNESSMAP":"",r.metalnessMap?"#define USE_METALNESSMAP":"",r.alphaMap?"#define USE_ALPHAMAP":"",r.alphaTest?"#define USE_ALPHATEST":"",r.alphaHash?"#define USE_ALPHAHASH":"",r.sheen?"#define USE_SHEEN":"",r.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",r.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",r.transmission?"#define USE_TRANSMISSION":"",r.transmissionMap?"#define USE_TRANSMISSIONMAP":"",r.thicknessMap?"#define USE_THICKNESSMAP":"",r.vertexTangents&&r.flatShading===!1?"#define USE_TANGENT":"",r.vertexColors||r.instancingColor||r.batchingColor?"#define USE_COLOR":"",r.vertexAlphas?"#define USE_COLOR_ALPHA":"",r.vertexUv1s?"#define USE_UV1":"",r.vertexUv2s?"#define USE_UV2":"",r.vertexUv3s?"#define USE_UV3":"",r.pointsUvs?"#define USE_POINTS_UV":"",r.gradientMap?"#define USE_GRADIENTMAP":"",r.flatShading?"#define FLAT_SHADED":"",r.doubleSided?"#define DOUBLE_SIDED":"",r.flipSided?"#define FLIP_SIDED":"",r.shadowMapEnabled?"#define USE_SHADOWMAP":"",r.shadowMapEnabled?"#define "+ie:"",r.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",r.numLightProbes>0?"#define USE_LIGHT_PROBES":"",r.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",r.decodeVideoTextureEmissive?"#define DECODE_VIDEO_TEXTURE_EMISSIVE":"",r.logarithmicDepthBuffer?"#define USE_LOGARITHMIC_DEPTH_BUFFER":"",r.reversedDepthBuffer?"#define USE_REVERSED_DEPTH_BUFFER":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",r.toneMapping!==NoToneMapping?"#define TONE_MAPPING":"",r.toneMapping!==NoToneMapping?ShaderChunk.tonemapping_pars_fragment:"",r.toneMapping!==NoToneMapping?getToneMappingFunction("toneMapping",r.toneMapping):"",r.dithering?"#define DITHERING":"",r.opaque?"#define OPAQUE":"",ShaderChunk.colorspace_pars_fragment,getTexelEncodingFunction("linearToOutputTexel",r.outputColorSpace),getLuminanceFunction(),r.useDepthPacking?"#define DEPTH_PACKING "+r.depthPacking:"",` -`].filter(filterEmptyLine).join(` -`)),V=resolveIncludes(V),V=replaceLightNums(V,r),V=replaceClippingPlaneNums(V,r),re=resolveIncludes(re),re=replaceLightNums(re,r),re=replaceClippingPlaneNums(re,r),V=unrollLoops(V),re=unrollLoops(re),r.isRawShaderMaterial!==!0&&(xe=`#version 300 es -`,_e=[de,"#define attribute in","#define varying out","#define texture2D texture"].join(` -`)+` -`+_e,Ce=["#define varying in",r.glslVersion===GLSL3?"":"layout(location = 0) out highp vec4 pc_fragColor;",r.glslVersion===GLSL3?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join(` -`)+` -`+Ce);const Ie=xe+_e+V,Ne=xe+Ce+re,Oe=WebGLShader(g,g.VERTEX_SHADER,Ie),$e=WebGLShader(g,g.FRAGMENT_SHADER,Ne);g.attachShader(pe,Oe),g.attachShader(pe,$e),r.index0AttributeName!==void 0?g.bindAttribLocation(pe,0,r.index0AttributeName):r.morphTargets===!0&&g.bindAttribLocation(pe,0,"position"),g.linkProgram(pe);function Ve(Pt){if(n.debug.checkShaderErrors){const qe=g.getProgramInfoLog(pe)||"",Et=g.getShaderInfoLog(Oe)||"",kt=g.getShaderInfoLog($e)||"",At=qe.trim(),Dt=Et.trim(),Lt=kt.trim();let jt=!0,hn=!0;if(g.getProgramParameter(pe,g.LINK_STATUS)===!1)if(jt=!1,typeof n.debug.onShaderError=="function")n.debug.onShaderError(g,pe,Oe,$e);else{const vn=getShaderErrors(g,Oe,"vertex"),_n=getShaderErrors(g,$e,"fragment");error("THREE.WebGLProgram: Shader Error "+g.getError()+" - VALIDATE_STATUS "+g.getProgramParameter(pe,g.VALIDATE_STATUS)+` - -Material Name: `+Pt.name+` -Material Type: `+Pt.type+` - -Program Info Log: `+At+` -`+vn+` -`+_n)}else At!==""?warn("WebGLProgram: Program Info Log:",At):(Dt===""||Lt==="")&&(hn=!1);hn&&(Pt.diagnostics={runnable:jt,programLog:At,vertexShader:{log:Dt,prefix:_e},fragmentShader:{log:Lt,prefix:Ce}})}g.deleteShader(Oe),g.deleteShader($e),Ue=new WebGLUniforms(g,pe),Fe=fetchAttributeLocations(g,pe)}let Ue;this.getUniforms=function(){return Ue===void 0&&Ve(this),Ue};let Fe;this.getAttributes=function(){return Fe===void 0&&Ve(this),Fe};let ze=r.rendererExtensionParallelShaderCompile===!1;return this.isReady=function(){return ze===!1&&(ze=g.getProgramParameter(pe,COMPLETION_STATUS_KHR)),ze},this.destroy=function(){i.releaseStatesOfProgram(this),g.deleteProgram(pe),this.program=void 0},this.type=r.shaderType,this.name=r.shaderName,this.id=programIdCount++,this.cacheKey=t,this.usedTimes=1,this.program=pe,this.vertexShader=Oe,this.fragmentShader=$e,this}let _id=0;class WebGLShaderCache{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(t){const r=t.vertexShader,i=t.fragmentShader,g=this._getShaderStage(r),$=this._getShaderStage(i),V=this._getShaderCacheForMaterial(t);return V.has(g)===!1&&(V.add(g),g.usedTimes++),V.has($)===!1&&(V.add($),$.usedTimes++),this}remove(t){const r=this.materialCache.get(t);for(const i of r)i.usedTimes--,i.usedTimes===0&&this.shaderCache.delete(i.code);return this.materialCache.delete(t),this}getVertexShaderID(t){return this._getShaderStage(t.vertexShader).id}getFragmentShaderID(t){return this._getShaderStage(t.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(t){const r=this.materialCache;let i=r.get(t);return i===void 0&&(i=new Set,r.set(t,i)),i}_getShaderStage(t){const r=this.shaderCache;let i=r.get(t);return i===void 0&&(i=new WebGLShaderStage(t),r.set(t,i)),i}}class WebGLShaderStage{constructor(t){this.id=_id++,this.code=t,this.usedTimes=0}}function WebGLPrograms(n,t,r,i,g,$,V){const re=new Layers,ie=new WebGLShaderCache,ae=new Set,oe=[],le=new Map,ue=g.logarithmicDepthBuffer;let de=g.precision;const he={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distance",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function pe(Fe){return ae.add(Fe),Fe===0?"uv":`uv${Fe}`}function _e(Fe,ze,Pt,qe,Et){const kt=qe.fog,At=Et.geometry,Dt=Fe.isMeshStandardMaterial?qe.environment:null,Lt=(Fe.isMeshStandardMaterial?r:t).get(Fe.envMap||Dt),jt=Lt&&Lt.mapping===CubeUVReflectionMapping?Lt.image.height:null,hn=he[Fe.type];Fe.precision!==null&&(de=g.getMaxPrecision(Fe.precision),de!==Fe.precision&&warn("WebGLProgram.getParameters:",Fe.precision,"not supported, using",de,"instead."));const vn=At.morphAttributes.position||At.morphAttributes.normal||At.morphAttributes.color,_n=vn!==void 0?vn.length:0;let wn=0;At.morphAttributes.position!==void 0&&(wn=1),At.morphAttributes.normal!==void 0&&(wn=2),At.morphAttributes.color!==void 0&&(wn=3);let bn,Cn,Sn,Tn;if(hn){const fr=ShaderLib[hn];bn=fr.vertexShader,Cn=fr.fragmentShader}else bn=Fe.vertexShader,Cn=Fe.fragmentShader,ie.update(Fe),Sn=ie.getVertexShaderID(Fe),Tn=ie.getFragmentShaderID(Fe);const En=n.getRenderTarget(),kn=n.state.buffers.depth.getReversed(),$n=Et.isInstancedMesh===!0,An=Et.isBatchedMesh===!0,xn=!!Fe.map,Ln=!!Fe.matcap,Nn=!!Lt,Pn=!!Fe.aoMap,On=!!Fe.lightMap,Hn=!!Fe.bumpMap,Xn=!!Fe.normalMap,In=!!Fe.displacementMap,or=!!Fe.emissiveMap,Qn=!!Fe.metalnessMap,Zn=!!Fe.roughnessMap,Gn=Fe.anisotropy>0,Rn=Fe.clearcoat>0,Mn=Fe.dispersion>0,Bn=Fe.iridescence>0,qn=Fe.sheen>0,zn=Fe.transmission>0,jn=Gn&&!!Fe.anisotropyMap,tr=Rn&&!!Fe.clearcoatMap,hr=Rn&&!!Fe.clearcoatNormalMap,ir=Rn&&!!Fe.clearcoatRoughnessMap,pr=Bn&&!!Fe.iridescenceMap,rr=Bn&&!!Fe.iridescenceThicknessMap,lr=qn&&!!Fe.sheenColorMap,Yn=qn&&!!Fe.sheenRoughnessMap,er=!!Fe.specularMap,Fn=!!Fe.specularColorMap,cr=!!Fe.specularIntensityMap,Un=zn&&!!Fe.transmissionMap,gr=zn&&!!Fe.thicknessMap,vr=!!Fe.gradientMap,yr=!!Fe.alphaMap,Wn=Fe.alphaTest>0,Jn=!!Fe.alphaHash,sr=!!Fe.extensions;let Sr=NoToneMapping;Fe.toneMapped&&(En===null||En.isXRRenderTarget===!0)&&(Sr=n.toneMapping);const Tr={shaderID:hn,shaderType:Fe.type,shaderName:Fe.name,vertexShader:bn,fragmentShader:Cn,defines:Fe.defines,customVertexShaderID:Sn,customFragmentShaderID:Tn,isRawShaderMaterial:Fe.isRawShaderMaterial===!0,glslVersion:Fe.glslVersion,precision:de,batching:An,batchingColor:An&&Et._colorsTexture!==null,instancing:$n,instancingColor:$n&&Et.instanceColor!==null,instancingMorph:$n&&Et.morphTexture!==null,outputColorSpace:En===null?n.outputColorSpace:En.isXRRenderTarget===!0?En.texture.colorSpace:LinearSRGBColorSpace,alphaToCoverage:!!Fe.alphaToCoverage,map:xn,matcap:Ln,envMap:Nn,envMapMode:Nn&&Lt.mapping,envMapCubeUVHeight:jt,aoMap:Pn,lightMap:On,bumpMap:Hn,normalMap:Xn,displacementMap:In,emissiveMap:or,normalMapObjectSpace:Xn&&Fe.normalMapType===ObjectSpaceNormalMap,normalMapTangentSpace:Xn&&Fe.normalMapType===TangentSpaceNormalMap,metalnessMap:Qn,roughnessMap:Zn,anisotropy:Gn,anisotropyMap:jn,clearcoat:Rn,clearcoatMap:tr,clearcoatNormalMap:hr,clearcoatRoughnessMap:ir,dispersion:Mn,iridescence:Bn,iridescenceMap:pr,iridescenceThicknessMap:rr,sheen:qn,sheenColorMap:lr,sheenRoughnessMap:Yn,specularMap:er,specularColorMap:Fn,specularIntensityMap:cr,transmission:zn,transmissionMap:Un,thicknessMap:gr,gradientMap:vr,opaque:Fe.transparent===!1&&Fe.blending===NormalBlending&&Fe.alphaToCoverage===!1,alphaMap:yr,alphaTest:Wn,alphaHash:Jn,combine:Fe.combine,mapUv:xn&&pe(Fe.map.channel),aoMapUv:Pn&&pe(Fe.aoMap.channel),lightMapUv:On&&pe(Fe.lightMap.channel),bumpMapUv:Hn&&pe(Fe.bumpMap.channel),normalMapUv:Xn&&pe(Fe.normalMap.channel),displacementMapUv:In&&pe(Fe.displacementMap.channel),emissiveMapUv:or&&pe(Fe.emissiveMap.channel),metalnessMapUv:Qn&&pe(Fe.metalnessMap.channel),roughnessMapUv:Zn&&pe(Fe.roughnessMap.channel),anisotropyMapUv:jn&&pe(Fe.anisotropyMap.channel),clearcoatMapUv:tr&&pe(Fe.clearcoatMap.channel),clearcoatNormalMapUv:hr&&pe(Fe.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:ir&&pe(Fe.clearcoatRoughnessMap.channel),iridescenceMapUv:pr&&pe(Fe.iridescenceMap.channel),iridescenceThicknessMapUv:rr&&pe(Fe.iridescenceThicknessMap.channel),sheenColorMapUv:lr&&pe(Fe.sheenColorMap.channel),sheenRoughnessMapUv:Yn&&pe(Fe.sheenRoughnessMap.channel),specularMapUv:er&&pe(Fe.specularMap.channel),specularColorMapUv:Fn&&pe(Fe.specularColorMap.channel),specularIntensityMapUv:cr&&pe(Fe.specularIntensityMap.channel),transmissionMapUv:Un&&pe(Fe.transmissionMap.channel),thicknessMapUv:gr&&pe(Fe.thicknessMap.channel),alphaMapUv:yr&&pe(Fe.alphaMap.channel),vertexTangents:!!At.attributes.tangent&&(Xn||Gn),vertexColors:Fe.vertexColors,vertexAlphas:Fe.vertexColors===!0&&!!At.attributes.color&&At.attributes.color.itemSize===4,pointsUvs:Et.isPoints===!0&&!!At.attributes.uv&&(xn||yr),fog:!!kt,useFog:Fe.fog===!0,fogExp2:!!kt&&kt.isFogExp2,flatShading:Fe.flatShading===!0&&Fe.wireframe===!1,sizeAttenuation:Fe.sizeAttenuation===!0,logarithmicDepthBuffer:ue,reversedDepthBuffer:kn,skinning:Et.isSkinnedMesh===!0,morphTargets:At.morphAttributes.position!==void 0,morphNormals:At.morphAttributes.normal!==void 0,morphColors:At.morphAttributes.color!==void 0,morphTargetsCount:_n,morphTextureStride:wn,numDirLights:ze.directional.length,numPointLights:ze.point.length,numSpotLights:ze.spot.length,numSpotLightMaps:ze.spotLightMap.length,numRectAreaLights:ze.rectArea.length,numHemiLights:ze.hemi.length,numDirLightShadows:ze.directionalShadowMap.length,numPointLightShadows:ze.pointShadowMap.length,numSpotLightShadows:ze.spotShadowMap.length,numSpotLightShadowsWithMaps:ze.numSpotLightShadowsWithMaps,numLightProbes:ze.numLightProbes,numClippingPlanes:V.numPlanes,numClipIntersection:V.numIntersection,dithering:Fe.dithering,shadowMapEnabled:n.shadowMap.enabled&&Pt.length>0,shadowMapType:n.shadowMap.type,toneMapping:Sr,decodeVideoTexture:xn&&Fe.map.isVideoTexture===!0&&ColorManagement.getTransfer(Fe.map.colorSpace)===SRGBTransfer,decodeVideoTextureEmissive:or&&Fe.emissiveMap.isVideoTexture===!0&&ColorManagement.getTransfer(Fe.emissiveMap.colorSpace)===SRGBTransfer,premultipliedAlpha:Fe.premultipliedAlpha,doubleSided:Fe.side===DoubleSide,flipSided:Fe.side===BackSide,useDepthPacking:Fe.depthPacking>=0,depthPacking:Fe.depthPacking||0,index0AttributeName:Fe.index0AttributeName,extensionClipCullDistance:sr&&Fe.extensions.clipCullDistance===!0&&i.has("WEBGL_clip_cull_distance"),extensionMultiDraw:(sr&&Fe.extensions.multiDraw===!0||An)&&i.has("WEBGL_multi_draw"),rendererExtensionParallelShaderCompile:i.has("KHR_parallel_shader_compile"),customProgramCacheKey:Fe.customProgramCacheKey()};return Tr.vertexUv1s=ae.has(1),Tr.vertexUv2s=ae.has(2),Tr.vertexUv3s=ae.has(3),ae.clear(),Tr}function Ce(Fe){const ze=[];if(Fe.shaderID?ze.push(Fe.shaderID):(ze.push(Fe.customVertexShaderID),ze.push(Fe.customFragmentShaderID)),Fe.defines!==void 0)for(const Pt in Fe.defines)ze.push(Pt),ze.push(Fe.defines[Pt]);return Fe.isRawShaderMaterial===!1&&(xe(ze,Fe),Ie(ze,Fe),ze.push(n.outputColorSpace)),ze.push(Fe.customProgramCacheKey),ze.join()}function xe(Fe,ze){Fe.push(ze.precision),Fe.push(ze.outputColorSpace),Fe.push(ze.envMapMode),Fe.push(ze.envMapCubeUVHeight),Fe.push(ze.mapUv),Fe.push(ze.alphaMapUv),Fe.push(ze.lightMapUv),Fe.push(ze.aoMapUv),Fe.push(ze.bumpMapUv),Fe.push(ze.normalMapUv),Fe.push(ze.displacementMapUv),Fe.push(ze.emissiveMapUv),Fe.push(ze.metalnessMapUv),Fe.push(ze.roughnessMapUv),Fe.push(ze.anisotropyMapUv),Fe.push(ze.clearcoatMapUv),Fe.push(ze.clearcoatNormalMapUv),Fe.push(ze.clearcoatRoughnessMapUv),Fe.push(ze.iridescenceMapUv),Fe.push(ze.iridescenceThicknessMapUv),Fe.push(ze.sheenColorMapUv),Fe.push(ze.sheenRoughnessMapUv),Fe.push(ze.specularMapUv),Fe.push(ze.specularColorMapUv),Fe.push(ze.specularIntensityMapUv),Fe.push(ze.transmissionMapUv),Fe.push(ze.thicknessMapUv),Fe.push(ze.combine),Fe.push(ze.fogExp2),Fe.push(ze.sizeAttenuation),Fe.push(ze.morphTargetsCount),Fe.push(ze.morphAttributeCount),Fe.push(ze.numDirLights),Fe.push(ze.numPointLights),Fe.push(ze.numSpotLights),Fe.push(ze.numSpotLightMaps),Fe.push(ze.numHemiLights),Fe.push(ze.numRectAreaLights),Fe.push(ze.numDirLightShadows),Fe.push(ze.numPointLightShadows),Fe.push(ze.numSpotLightShadows),Fe.push(ze.numSpotLightShadowsWithMaps),Fe.push(ze.numLightProbes),Fe.push(ze.shadowMapType),Fe.push(ze.toneMapping),Fe.push(ze.numClippingPlanes),Fe.push(ze.numClipIntersection),Fe.push(ze.depthPacking)}function Ie(Fe,ze){re.disableAll(),ze.instancing&&re.enable(0),ze.instancingColor&&re.enable(1),ze.instancingMorph&&re.enable(2),ze.matcap&&re.enable(3),ze.envMap&&re.enable(4),ze.normalMapObjectSpace&&re.enable(5),ze.normalMapTangentSpace&&re.enable(6),ze.clearcoat&&re.enable(7),ze.iridescence&&re.enable(8),ze.alphaTest&&re.enable(9),ze.vertexColors&&re.enable(10),ze.vertexAlphas&&re.enable(11),ze.vertexUv1s&&re.enable(12),ze.vertexUv2s&&re.enable(13),ze.vertexUv3s&&re.enable(14),ze.vertexTangents&&re.enable(15),ze.anisotropy&&re.enable(16),ze.alphaHash&&re.enable(17),ze.batching&&re.enable(18),ze.dispersion&&re.enable(19),ze.batchingColor&&re.enable(20),ze.gradientMap&&re.enable(21),Fe.push(re.mask),re.disableAll(),ze.fog&&re.enable(0),ze.useFog&&re.enable(1),ze.flatShading&&re.enable(2),ze.logarithmicDepthBuffer&&re.enable(3),ze.reversedDepthBuffer&&re.enable(4),ze.skinning&&re.enable(5),ze.morphTargets&&re.enable(6),ze.morphNormals&&re.enable(7),ze.morphColors&&re.enable(8),ze.premultipliedAlpha&&re.enable(9),ze.shadowMapEnabled&&re.enable(10),ze.doubleSided&&re.enable(11),ze.flipSided&&re.enable(12),ze.useDepthPacking&&re.enable(13),ze.dithering&&re.enable(14),ze.transmission&&re.enable(15),ze.sheen&&re.enable(16),ze.opaque&&re.enable(17),ze.pointsUvs&&re.enable(18),ze.decodeVideoTexture&&re.enable(19),ze.decodeVideoTextureEmissive&&re.enable(20),ze.alphaToCoverage&&re.enable(21),Fe.push(re.mask)}function Ne(Fe){const ze=he[Fe.type];let Pt;if(ze){const qe=ShaderLib[ze];Pt=UniformsUtils.clone(qe.uniforms)}else Pt=Fe.uniforms;return Pt}function Oe(Fe,ze){let Pt=le.get(ze);return Pt!==void 0?++Pt.usedTimes:(Pt=new WebGLProgram(n,ze,Fe,$),oe.push(Pt),le.set(ze,Pt)),Pt}function $e(Fe){if(--Fe.usedTimes===0){const ze=oe.indexOf(Fe);oe[ze]=oe[oe.length-1],oe.pop(),le.delete(Fe.cacheKey),Fe.destroy()}}function Ve(Fe){ie.remove(Fe)}function Ue(){ie.dispose()}return{getParameters:_e,getProgramCacheKey:Ce,getUniforms:Ne,acquireProgram:Oe,releaseProgram:$e,releaseShaderCache:Ve,programs:oe,dispose:Ue}}function WebGLProperties(){let n=new WeakMap;function t(V){return n.has(V)}function r(V){let re=n.get(V);return re===void 0&&(re={},n.set(V,re)),re}function i(V){n.delete(V)}function g(V,re,ie){n.get(V)[re]=ie}function $(){n=new WeakMap}return{has:t,get:r,remove:i,update:g,dispose:$}}function painterSortStable(n,t){return n.groupOrder!==t.groupOrder?n.groupOrder-t.groupOrder:n.renderOrder!==t.renderOrder?n.renderOrder-t.renderOrder:n.material.id!==t.material.id?n.material.id-t.material.id:n.z!==t.z?n.z-t.z:n.id-t.id}function reversePainterSortStable(n,t){return n.groupOrder!==t.groupOrder?n.groupOrder-t.groupOrder:n.renderOrder!==t.renderOrder?n.renderOrder-t.renderOrder:n.z!==t.z?t.z-n.z:n.id-t.id}function WebGLRenderList(){const n=[];let t=0;const r=[],i=[],g=[];function $(){t=0,r.length=0,i.length=0,g.length=0}function V(le,ue,de,he,pe,_e){let Ce=n[t];return Ce===void 0?(Ce={id:le.id,object:le,geometry:ue,material:de,groupOrder:he,renderOrder:le.renderOrder,z:pe,group:_e},n[t]=Ce):(Ce.id=le.id,Ce.object=le,Ce.geometry=ue,Ce.material=de,Ce.groupOrder=he,Ce.renderOrder=le.renderOrder,Ce.z=pe,Ce.group=_e),t++,Ce}function re(le,ue,de,he,pe,_e){const Ce=V(le,ue,de,he,pe,_e);de.transmission>0?i.push(Ce):de.transparent===!0?g.push(Ce):r.push(Ce)}function ie(le,ue,de,he,pe,_e){const Ce=V(le,ue,de,he,pe,_e);de.transmission>0?i.unshift(Ce):de.transparent===!0?g.unshift(Ce):r.unshift(Ce)}function ae(le,ue){r.length>1&&r.sort(le||painterSortStable),i.length>1&&i.sort(ue||reversePainterSortStable),g.length>1&&g.sort(ue||reversePainterSortStable)}function oe(){for(let le=t,ue=n.length;le=$.length?(V=new WebGLRenderList,$.push(V)):V=$[g],V}function r(){n=new WeakMap}return{get:t,dispose:r}}function UniformsCache(){const n={};return{get:function(t){if(n[t.id]!==void 0)return n[t.id];let r;switch(t.type){case"DirectionalLight":r={direction:new Vector3,color:new Color};break;case"SpotLight":r={position:new Vector3,direction:new Vector3,color:new Color,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":r={position:new Vector3,color:new Color,distance:0,decay:0};break;case"HemisphereLight":r={direction:new Vector3,skyColor:new Color,groundColor:new Color};break;case"RectAreaLight":r={color:new Color,position:new Vector3,halfWidth:new Vector3,halfHeight:new Vector3};break}return n[t.id]=r,r}}}function ShadowUniformsCache(){const n={};return{get:function(t){if(n[t.id]!==void 0)return n[t.id];let r;switch(t.type){case"DirectionalLight":r={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Vector2};break;case"SpotLight":r={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Vector2};break;case"PointLight":r={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new Vector2,shadowCameraNear:1,shadowCameraFar:1e3};break}return n[t.id]=r,r}}}let nextVersion=0;function shadowCastingAndTexturingLightsFirst(n,t){return(t.castShadow?2:0)-(n.castShadow?2:0)+(t.map?1:0)-(n.map?1:0)}function WebGLLights(n){const t=new UniformsCache,r=ShadowUniformsCache(),i={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let ae=0;ae<9;ae++)i.probe.push(new Vector3);const g=new Vector3,$=new Matrix4,V=new Matrix4;function re(ae){let oe=0,le=0,ue=0;for(let Fe=0;Fe<9;Fe++)i.probe[Fe].set(0,0,0);let de=0,he=0,pe=0,_e=0,Ce=0,xe=0,Ie=0,Ne=0,Oe=0,$e=0,Ve=0;ae.sort(shadowCastingAndTexturingLightsFirst);for(let Fe=0,ze=ae.length;Fe0&&(n.has("OES_texture_float_linear")===!0?(i.rectAreaLTC1=UniformsLib.LTC_FLOAT_1,i.rectAreaLTC2=UniformsLib.LTC_FLOAT_2):(i.rectAreaLTC1=UniformsLib.LTC_HALF_1,i.rectAreaLTC2=UniformsLib.LTC_HALF_2)),i.ambient[0]=oe,i.ambient[1]=le,i.ambient[2]=ue;const Ue=i.hash;(Ue.directionalLength!==de||Ue.pointLength!==he||Ue.spotLength!==pe||Ue.rectAreaLength!==_e||Ue.hemiLength!==Ce||Ue.numDirectionalShadows!==xe||Ue.numPointShadows!==Ie||Ue.numSpotShadows!==Ne||Ue.numSpotMaps!==Oe||Ue.numLightProbes!==Ve)&&(i.directional.length=de,i.spot.length=pe,i.rectArea.length=_e,i.point.length=he,i.hemi.length=Ce,i.directionalShadow.length=xe,i.directionalShadowMap.length=xe,i.pointShadow.length=Ie,i.pointShadowMap.length=Ie,i.spotShadow.length=Ne,i.spotShadowMap.length=Ne,i.directionalShadowMatrix.length=xe,i.pointShadowMatrix.length=Ie,i.spotLightMatrix.length=Ne+Oe-$e,i.spotLightMap.length=Oe,i.numSpotLightShadowsWithMaps=$e,i.numLightProbes=Ve,Ue.directionalLength=de,Ue.pointLength=he,Ue.spotLength=pe,Ue.rectAreaLength=_e,Ue.hemiLength=Ce,Ue.numDirectionalShadows=xe,Ue.numPointShadows=Ie,Ue.numSpotShadows=Ne,Ue.numSpotMaps=Oe,Ue.numLightProbes=Ve,i.version=nextVersion++)}function ie(ae,oe){let le=0,ue=0,de=0,he=0,pe=0;const _e=oe.matrixWorldInverse;for(let Ce=0,xe=ae.length;Ce=V.length?(re=new WebGLRenderState(n),V.push(re)):re=V[$],re}function i(){t=new WeakMap}return{get:r,dispose:i}}const vertex=`void main() { - gl_Position = vec4( position, 1.0 ); -}`,fragment=`uniform sampler2D shadow_pass; -uniform vec2 resolution; -uniform float radius; -void main() { - const float samples = float( VSM_SAMPLES ); - float mean = 0.0; - float squared_mean = 0.0; - float uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 ); - float uvStart = samples <= 1.0 ? 0.0 : - 1.0; - for ( float i = 0.0; i < samples; i ++ ) { - float uvOffset = uvStart + i * uvStride; - #ifdef HORIZONTAL_PASS - vec2 distribution = texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ).rg; - mean += distribution.x; - squared_mean += distribution.y * distribution.y + distribution.x * distribution.x; - #else - float depth = texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ).r; - mean += depth; - squared_mean += depth * depth; - #endif - } - mean = mean / samples; - squared_mean = squared_mean / samples; - float std_dev = sqrt( max( 0.0, squared_mean - mean * mean ) ); - gl_FragColor = vec4( mean, std_dev, 0.0, 1.0 ); -}`,_cubeDirections=[new Vector3(1,0,0),new Vector3(-1,0,0),new Vector3(0,1,0),new Vector3(0,-1,0),new Vector3(0,0,1),new Vector3(0,0,-1)],_cubeUps=[new Vector3(0,-1,0),new Vector3(0,-1,0),new Vector3(0,0,1),new Vector3(0,0,-1),new Vector3(0,-1,0),new Vector3(0,-1,0)],_projScreenMatrix=new Matrix4,_lightPositionWorld=new Vector3,_lookTarget=new Vector3;function WebGLShadowMap(n,t,r){let i=new Frustum;const g=new Vector2,$=new Vector2,V=new Vector4,re=new MeshDepthMaterial,ie=new MeshDistanceMaterial,ae={},oe=r.maxTextureSize,le={[FrontSide]:BackSide,[BackSide]:FrontSide,[DoubleSide]:DoubleSide},ue=new ShaderMaterial({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new Vector2},radius:{value:4}},vertexShader:vertex,fragmentShader:fragment}),de=ue.clone();de.defines.HORIZONTAL_PASS=1;const he=new BufferGeometry;he.setAttribute("position",new BufferAttribute(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const pe=new Mesh(he,ue),_e=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=PCFShadowMap;let Ce=this.type;this.render=function($e,Ve,Ue){if(_e.enabled===!1||_e.autoUpdate===!1&&_e.needsUpdate===!1||$e.length===0)return;$e.type===PCFSoftShadowMap&&(warn("WebGLShadowMap: PCFSoftShadowMap has been deprecated. Using PCFShadowMap instead."),$e.type=PCFShadowMap);const Fe=n.getRenderTarget(),ze=n.getActiveCubeFace(),Pt=n.getActiveMipmapLevel(),qe=n.state;qe.setBlending(NoBlending),qe.buffers.depth.getReversed()===!0?qe.buffers.color.setClear(0,0,0,0):qe.buffers.color.setClear(1,1,1,1),qe.buffers.depth.setTest(!0),qe.setScissorTest(!1);const Et=Ce!==this.type;Et&&Ve.traverse(function(kt){kt.material&&(Array.isArray(kt.material)?kt.material.forEach(At=>At.needsUpdate=!0):kt.material.needsUpdate=!0)});for(let kt=0,At=$e.length;ktoe||g.y>oe)&&(g.x>oe&&($.x=Math.floor(oe/jt.x),g.x=$.x*jt.x,Lt.mapSize.x=$.x),g.y>oe&&($.y=Math.floor(oe/jt.y),g.y=$.y*jt.y,Lt.mapSize.y=$.y)),Lt.map===null||Et===!0){if(Lt.map!==null&&(Lt.map.depthTexture!==null&&(Lt.map.depthTexture.dispose(),Lt.map.depthTexture=null),Lt.map.dispose()),this.type===VSMShadowMap){if(Dt.isPointLight){warn("WebGLShadowMap: VSM shadow maps are not supported for PointLights. Use PCF or BasicShadowMap instead.");continue}Lt.map=new WebGLRenderTarget(g.x,g.y,{format:RGFormat,type:HalfFloatType,minFilter:LinearFilter,magFilter:LinearFilter,generateMipmaps:!1}),Lt.map.texture.name=Dt.name+".shadowMap",Lt.map.depthTexture=new DepthTexture(g.x,g.y,FloatType),Lt.map.depthTexture.name=Dt.name+".shadowMapDepth",Lt.map.depthTexture.format=DepthFormat,Lt.map.depthTexture.compareFunction=null,Lt.map.depthTexture.minFilter=NearestFilter,Lt.map.depthTexture.magFilter=NearestFilter}else{Dt.isPointLight?(Lt.map=new WebGLCubeRenderTarget(g.x),Lt.map.depthTexture=new CubeDepthTexture(g.x,UnsignedIntType)):(Lt.map=new WebGLRenderTarget(g.x,g.y),Lt.map.depthTexture=new DepthTexture(g.x,g.y,UnsignedIntType)),Lt.map.depthTexture.name=Dt.name+".shadowMap",Lt.map.depthTexture.format=DepthFormat;const vn=n.state.buffers.depth.getReversed();this.type===PCFShadowMap?(Lt.map.depthTexture.compareFunction=vn?GreaterEqualCompare:LessEqualCompare,Lt.map.depthTexture.minFilter=LinearFilter,Lt.map.depthTexture.magFilter=LinearFilter):(Lt.map.depthTexture.compareFunction=null,Lt.map.depthTexture.minFilter=NearestFilter,Lt.map.depthTexture.magFilter=NearestFilter)}Lt.camera.updateProjectionMatrix()}const hn=Lt.map.isWebGLCubeRenderTarget?6:1;for(let vn=0;vn0||Ve.map&&Ve.alphaTest>0||Ve.alphaToCoverage===!0){const qe=ze.uuid,Et=Ve.uuid;let kt=ae[qe];kt===void 0&&(kt={},ae[qe]=kt);let At=kt[Et];At===void 0&&(At=ze.clone(),kt[Et]=At,Ve.addEventListener("dispose",Oe)),ze=At}if(ze.visible=Ve.visible,ze.wireframe=Ve.wireframe,Fe===VSMShadowMap?ze.side=Ve.shadowSide!==null?Ve.shadowSide:Ve.side:ze.side=Ve.shadowSide!==null?Ve.shadowSide:le[Ve.side],ze.alphaMap=Ve.alphaMap,ze.alphaTest=Ve.alphaToCoverage===!0?.5:Ve.alphaTest,ze.map=Ve.map,ze.clipShadows=Ve.clipShadows,ze.clippingPlanes=Ve.clippingPlanes,ze.clipIntersection=Ve.clipIntersection,ze.displacementMap=Ve.displacementMap,ze.displacementScale=Ve.displacementScale,ze.displacementBias=Ve.displacementBias,ze.wireframeLinewidth=Ve.wireframeLinewidth,ze.linewidth=Ve.linewidth,Ue.isPointLight===!0&&ze.isMeshDistanceMaterial===!0){const qe=n.properties.get(ze);qe.light=Ue}return ze}function Ne($e,Ve,Ue,Fe,ze){if($e.visible===!1)return;if($e.layers.test(Ve.layers)&&($e.isMesh||$e.isLine||$e.isPoints)&&($e.castShadow||$e.receiveShadow&&ze===VSMShadowMap)&&(!$e.frustumCulled||i.intersectsObject($e))){$e.modelViewMatrix.multiplyMatrices(Ue.matrixWorldInverse,$e.matrixWorld);const Et=t.update($e),kt=$e.material;if(Array.isArray(kt)){const At=Et.groups;for(let Dt=0,Lt=At.length;Dt=1):jt.indexOf("OpenGL ES")!==-1&&(Lt=parseFloat(/^OpenGL ES (\d)/.exec(jt)[1]),Dt=Lt>=2);let hn=null,vn={};const _n=n.getParameter(n.SCISSOR_BOX),wn=n.getParameter(n.VIEWPORT),bn=new Vector4().fromArray(_n),Cn=new Vector4().fromArray(wn);function Sn(Un,gr,vr,yr){const Wn=new Uint8Array(4),Jn=n.createTexture();n.bindTexture(Un,Jn),n.texParameteri(Un,n.TEXTURE_MIN_FILTER,n.NEAREST),n.texParameteri(Un,n.TEXTURE_MAG_FILTER,n.NEAREST);for(let sr=0;sr"u"?!1:/OculusBrowser/g.test(navigator.userAgent),ae=new Vector2,oe=new WeakMap;let le;const ue=new WeakMap;let de=!1;try{de=typeof OffscreenCanvas<"u"&&new OffscreenCanvas(1,1).getContext("2d")!==null}catch{}function he(Rn,Mn){return de?new OffscreenCanvas(Rn,Mn):createElementNS("canvas")}function pe(Rn,Mn,Bn){let qn=1;const zn=Gn(Rn);if((zn.width>Bn||zn.height>Bn)&&(qn=Bn/Math.max(zn.width,zn.height)),qn<1)if(typeof HTMLImageElement<"u"&&Rn instanceof HTMLImageElement||typeof HTMLCanvasElement<"u"&&Rn instanceof HTMLCanvasElement||typeof ImageBitmap<"u"&&Rn instanceof ImageBitmap||typeof VideoFrame<"u"&&Rn instanceof VideoFrame){const jn=Math.floor(qn*zn.width),tr=Math.floor(qn*zn.height);le===void 0&&(le=he(jn,tr));const hr=Mn?he(jn,tr):le;return hr.width=jn,hr.height=tr,hr.getContext("2d").drawImage(Rn,0,0,jn,tr),warn("WebGLRenderer: Texture has been resized from ("+zn.width+"x"+zn.height+") to ("+jn+"x"+tr+")."),hr}else return"data"in Rn&&warn("WebGLRenderer: Image in DataTexture is too big ("+zn.width+"x"+zn.height+")."),Rn;return Rn}function _e(Rn){return Rn.generateMipmaps}function Ce(Rn){n.generateMipmap(Rn)}function xe(Rn){return Rn.isWebGLCubeRenderTarget?n.TEXTURE_CUBE_MAP:Rn.isWebGL3DRenderTarget?n.TEXTURE_3D:Rn.isWebGLArrayRenderTarget||Rn.isCompressedArrayTexture?n.TEXTURE_2D_ARRAY:n.TEXTURE_2D}function Ie(Rn,Mn,Bn,qn,zn=!1){if(Rn!==null){if(n[Rn]!==void 0)return n[Rn];warn("WebGLRenderer: Attempt to use non-existing WebGL internal format '"+Rn+"'")}let jn=Mn;if(Mn===n.RED&&(Bn===n.FLOAT&&(jn=n.R32F),Bn===n.HALF_FLOAT&&(jn=n.R16F),Bn===n.UNSIGNED_BYTE&&(jn=n.R8)),Mn===n.RED_INTEGER&&(Bn===n.UNSIGNED_BYTE&&(jn=n.R8UI),Bn===n.UNSIGNED_SHORT&&(jn=n.R16UI),Bn===n.UNSIGNED_INT&&(jn=n.R32UI),Bn===n.BYTE&&(jn=n.R8I),Bn===n.SHORT&&(jn=n.R16I),Bn===n.INT&&(jn=n.R32I)),Mn===n.RG&&(Bn===n.FLOAT&&(jn=n.RG32F),Bn===n.HALF_FLOAT&&(jn=n.RG16F),Bn===n.UNSIGNED_BYTE&&(jn=n.RG8)),Mn===n.RG_INTEGER&&(Bn===n.UNSIGNED_BYTE&&(jn=n.RG8UI),Bn===n.UNSIGNED_SHORT&&(jn=n.RG16UI),Bn===n.UNSIGNED_INT&&(jn=n.RG32UI),Bn===n.BYTE&&(jn=n.RG8I),Bn===n.SHORT&&(jn=n.RG16I),Bn===n.INT&&(jn=n.RG32I)),Mn===n.RGB_INTEGER&&(Bn===n.UNSIGNED_BYTE&&(jn=n.RGB8UI),Bn===n.UNSIGNED_SHORT&&(jn=n.RGB16UI),Bn===n.UNSIGNED_INT&&(jn=n.RGB32UI),Bn===n.BYTE&&(jn=n.RGB8I),Bn===n.SHORT&&(jn=n.RGB16I),Bn===n.INT&&(jn=n.RGB32I)),Mn===n.RGBA_INTEGER&&(Bn===n.UNSIGNED_BYTE&&(jn=n.RGBA8UI),Bn===n.UNSIGNED_SHORT&&(jn=n.RGBA16UI),Bn===n.UNSIGNED_INT&&(jn=n.RGBA32UI),Bn===n.BYTE&&(jn=n.RGBA8I),Bn===n.SHORT&&(jn=n.RGBA16I),Bn===n.INT&&(jn=n.RGBA32I)),Mn===n.RGB&&(Bn===n.UNSIGNED_INT_5_9_9_9_REV&&(jn=n.RGB9_E5),Bn===n.UNSIGNED_INT_10F_11F_11F_REV&&(jn=n.R11F_G11F_B10F)),Mn===n.RGBA){const tr=zn?LinearTransfer:ColorManagement.getTransfer(qn);Bn===n.FLOAT&&(jn=n.RGBA32F),Bn===n.HALF_FLOAT&&(jn=n.RGBA16F),Bn===n.UNSIGNED_BYTE&&(jn=tr===SRGBTransfer?n.SRGB8_ALPHA8:n.RGBA8),Bn===n.UNSIGNED_SHORT_4_4_4_4&&(jn=n.RGBA4),Bn===n.UNSIGNED_SHORT_5_5_5_1&&(jn=n.RGB5_A1)}return(jn===n.R16F||jn===n.R32F||jn===n.RG16F||jn===n.RG32F||jn===n.RGBA16F||jn===n.RGBA32F)&&t.get("EXT_color_buffer_float"),jn}function Ne(Rn,Mn){let Bn;return Rn?Mn===null||Mn===UnsignedIntType||Mn===UnsignedInt248Type?Bn=n.DEPTH24_STENCIL8:Mn===FloatType?Bn=n.DEPTH32F_STENCIL8:Mn===UnsignedShortType&&(Bn=n.DEPTH24_STENCIL8,warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")):Mn===null||Mn===UnsignedIntType||Mn===UnsignedInt248Type?Bn=n.DEPTH_COMPONENT24:Mn===FloatType?Bn=n.DEPTH_COMPONENT32F:Mn===UnsignedShortType&&(Bn=n.DEPTH_COMPONENT16),Bn}function Oe(Rn,Mn){return _e(Rn)===!0||Rn.isFramebufferTexture&&Rn.minFilter!==NearestFilter&&Rn.minFilter!==LinearFilter?Math.log2(Math.max(Mn.width,Mn.height))+1:Rn.mipmaps!==void 0&&Rn.mipmaps.length>0?Rn.mipmaps.length:Rn.isCompressedTexture&&Array.isArray(Rn.image)?Mn.mipmaps.length:1}function $e(Rn){const Mn=Rn.target;Mn.removeEventListener("dispose",$e),Ue(Mn),Mn.isVideoTexture&&oe.delete(Mn)}function Ve(Rn){const Mn=Rn.target;Mn.removeEventListener("dispose",Ve),ze(Mn)}function Ue(Rn){const Mn=i.get(Rn);if(Mn.__webglInit===void 0)return;const Bn=Rn.source,qn=ue.get(Bn);if(qn){const zn=qn[Mn.__cacheKey];zn.usedTimes--,zn.usedTimes===0&&Fe(Rn),Object.keys(qn).length===0&&ue.delete(Bn)}i.remove(Rn)}function Fe(Rn){const Mn=i.get(Rn);n.deleteTexture(Mn.__webglTexture);const Bn=Rn.source,qn=ue.get(Bn);delete qn[Mn.__cacheKey],V.memory.textures--}function ze(Rn){const Mn=i.get(Rn);if(Rn.depthTexture&&(Rn.depthTexture.dispose(),i.remove(Rn.depthTexture)),Rn.isWebGLCubeRenderTarget)for(let qn=0;qn<6;qn++){if(Array.isArray(Mn.__webglFramebuffer[qn]))for(let zn=0;zn=g.maxTextures&&warn("WebGLTextures: Trying to use "+Rn+" texture units while this GPU supports only "+g.maxTextures),Pt+=1,Rn}function kt(Rn){const Mn=[];return Mn.push(Rn.wrapS),Mn.push(Rn.wrapT),Mn.push(Rn.wrapR||0),Mn.push(Rn.magFilter),Mn.push(Rn.minFilter),Mn.push(Rn.anisotropy),Mn.push(Rn.internalFormat),Mn.push(Rn.format),Mn.push(Rn.type),Mn.push(Rn.generateMipmaps),Mn.push(Rn.premultiplyAlpha),Mn.push(Rn.flipY),Mn.push(Rn.unpackAlignment),Mn.push(Rn.colorSpace),Mn.join()}function At(Rn,Mn){const Bn=i.get(Rn);if(Rn.isVideoTexture&&Qn(Rn),Rn.isRenderTargetTexture===!1&&Rn.isExternalTexture!==!0&&Rn.version>0&&Bn.__version!==Rn.version){const qn=Rn.image;if(qn===null)warn("WebGLRenderer: Texture marked for update but no image data found.");else if(qn.complete===!1)warn("WebGLRenderer: Texture marked for update but image is incomplete");else{Tn(Bn,Rn,Mn);return}}else Rn.isExternalTexture&&(Bn.__webglTexture=Rn.sourceTexture?Rn.sourceTexture:null);r.bindTexture(n.TEXTURE_2D,Bn.__webglTexture,n.TEXTURE0+Mn)}function Dt(Rn,Mn){const Bn=i.get(Rn);if(Rn.isRenderTargetTexture===!1&&Rn.version>0&&Bn.__version!==Rn.version){Tn(Bn,Rn,Mn);return}else Rn.isExternalTexture&&(Bn.__webglTexture=Rn.sourceTexture?Rn.sourceTexture:null);r.bindTexture(n.TEXTURE_2D_ARRAY,Bn.__webglTexture,n.TEXTURE0+Mn)}function Lt(Rn,Mn){const Bn=i.get(Rn);if(Rn.isRenderTargetTexture===!1&&Rn.version>0&&Bn.__version!==Rn.version){Tn(Bn,Rn,Mn);return}r.bindTexture(n.TEXTURE_3D,Bn.__webglTexture,n.TEXTURE0+Mn)}function jt(Rn,Mn){const Bn=i.get(Rn);if(Rn.isCubeDepthTexture!==!0&&Rn.version>0&&Bn.__version!==Rn.version){En(Bn,Rn,Mn);return}r.bindTexture(n.TEXTURE_CUBE_MAP,Bn.__webglTexture,n.TEXTURE0+Mn)}const hn={[RepeatWrapping]:n.REPEAT,[ClampToEdgeWrapping]:n.CLAMP_TO_EDGE,[MirroredRepeatWrapping]:n.MIRRORED_REPEAT},vn={[NearestFilter]:n.NEAREST,[NearestMipmapNearestFilter]:n.NEAREST_MIPMAP_NEAREST,[NearestMipmapLinearFilter]:n.NEAREST_MIPMAP_LINEAR,[LinearFilter]:n.LINEAR,[LinearMipmapNearestFilter]:n.LINEAR_MIPMAP_NEAREST,[LinearMipmapLinearFilter]:n.LINEAR_MIPMAP_LINEAR},_n={[NeverCompare]:n.NEVER,[AlwaysCompare]:n.ALWAYS,[LessCompare]:n.LESS,[LessEqualCompare]:n.LEQUAL,[EqualCompare]:n.EQUAL,[GreaterEqualCompare]:n.GEQUAL,[GreaterCompare]:n.GREATER,[NotEqualCompare]:n.NOTEQUAL};function wn(Rn,Mn){if(Mn.type===FloatType&&t.has("OES_texture_float_linear")===!1&&(Mn.magFilter===LinearFilter||Mn.magFilter===LinearMipmapNearestFilter||Mn.magFilter===NearestMipmapLinearFilter||Mn.magFilter===LinearMipmapLinearFilter||Mn.minFilter===LinearFilter||Mn.minFilter===LinearMipmapNearestFilter||Mn.minFilter===NearestMipmapLinearFilter||Mn.minFilter===LinearMipmapLinearFilter)&&warn("WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."),n.texParameteri(Rn,n.TEXTURE_WRAP_S,hn[Mn.wrapS]),n.texParameteri(Rn,n.TEXTURE_WRAP_T,hn[Mn.wrapT]),(Rn===n.TEXTURE_3D||Rn===n.TEXTURE_2D_ARRAY)&&n.texParameteri(Rn,n.TEXTURE_WRAP_R,hn[Mn.wrapR]),n.texParameteri(Rn,n.TEXTURE_MAG_FILTER,vn[Mn.magFilter]),n.texParameteri(Rn,n.TEXTURE_MIN_FILTER,vn[Mn.minFilter]),Mn.compareFunction&&(n.texParameteri(Rn,n.TEXTURE_COMPARE_MODE,n.COMPARE_REF_TO_TEXTURE),n.texParameteri(Rn,n.TEXTURE_COMPARE_FUNC,_n[Mn.compareFunction])),t.has("EXT_texture_filter_anisotropic")===!0){if(Mn.magFilter===NearestFilter||Mn.minFilter!==NearestMipmapLinearFilter&&Mn.minFilter!==LinearMipmapLinearFilter||Mn.type===FloatType&&t.has("OES_texture_float_linear")===!1)return;if(Mn.anisotropy>1||i.get(Mn).__currentAnisotropy){const Bn=t.get("EXT_texture_filter_anisotropic");n.texParameterf(Rn,Bn.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(Mn.anisotropy,g.getMaxAnisotropy())),i.get(Mn).__currentAnisotropy=Mn.anisotropy}}}function bn(Rn,Mn){let Bn=!1;Rn.__webglInit===void 0&&(Rn.__webglInit=!0,Mn.addEventListener("dispose",$e));const qn=Mn.source;let zn=ue.get(qn);zn===void 0&&(zn={},ue.set(qn,zn));const jn=kt(Mn);if(jn!==Rn.__cacheKey){zn[jn]===void 0&&(zn[jn]={texture:n.createTexture(),usedTimes:0},V.memory.textures++,Bn=!0),zn[jn].usedTimes++;const tr=zn[Rn.__cacheKey];tr!==void 0&&(zn[Rn.__cacheKey].usedTimes--,tr.usedTimes===0&&Fe(Mn)),Rn.__cacheKey=jn,Rn.__webglTexture=zn[jn].texture}return Bn}function Cn(Rn,Mn,Bn){return Math.floor(Math.floor(Rn/Bn)/Mn)}function Sn(Rn,Mn,Bn,qn){const jn=Rn.updateRanges;if(jn.length===0)r.texSubImage2D(n.TEXTURE_2D,0,0,0,Mn.width,Mn.height,Bn,qn,Mn.data);else{jn.sort((rr,lr)=>rr.start-lr.start);let tr=0;for(let rr=1;rr0){Un&&gr&&r.texStorage2D(n.TEXTURE_2D,yr,er,cr[0].width,cr[0].height);for(let Wn=0,Jn=cr.length;Wn0){const sr=getByteLength(Fn.width,Fn.height,Mn.format,Mn.type);for(const Sr of Mn.layerUpdates){const Tr=Fn.data.subarray(Sr*sr/Fn.data.BYTES_PER_ELEMENT,(Sr+1)*sr/Fn.data.BYTES_PER_ELEMENT);r.compressedTexSubImage3D(n.TEXTURE_2D_ARRAY,Wn,0,0,Sr,Fn.width,Fn.height,1,lr,Tr)}Mn.clearLayerUpdates()}else r.compressedTexSubImage3D(n.TEXTURE_2D_ARRAY,Wn,0,0,0,Fn.width,Fn.height,rr.depth,lr,Fn.data)}else r.compressedTexImage3D(n.TEXTURE_2D_ARRAY,Wn,er,Fn.width,Fn.height,rr.depth,0,Fn.data,0,0);else warn("WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()");else Un?vr&&r.texSubImage3D(n.TEXTURE_2D_ARRAY,Wn,0,0,0,Fn.width,Fn.height,rr.depth,lr,Yn,Fn.data):r.texImage3D(n.TEXTURE_2D_ARRAY,Wn,er,Fn.width,Fn.height,rr.depth,0,lr,Yn,Fn.data)}else{Un&&gr&&r.texStorage2D(n.TEXTURE_2D,yr,er,cr[0].width,cr[0].height);for(let Wn=0,Jn=cr.length;Wn0){const Wn=getByteLength(rr.width,rr.height,Mn.format,Mn.type);for(const Jn of Mn.layerUpdates){const sr=rr.data.subarray(Jn*Wn/rr.data.BYTES_PER_ELEMENT,(Jn+1)*Wn/rr.data.BYTES_PER_ELEMENT);r.texSubImage3D(n.TEXTURE_2D_ARRAY,0,0,0,Jn,rr.width,rr.height,1,lr,Yn,sr)}Mn.clearLayerUpdates()}else r.texSubImage3D(n.TEXTURE_2D_ARRAY,0,0,0,0,rr.width,rr.height,rr.depth,lr,Yn,rr.data)}else r.texImage3D(n.TEXTURE_2D_ARRAY,0,er,rr.width,rr.height,rr.depth,0,lr,Yn,rr.data);else if(Mn.isData3DTexture)Un?(gr&&r.texStorage3D(n.TEXTURE_3D,yr,er,rr.width,rr.height,rr.depth),vr&&r.texSubImage3D(n.TEXTURE_3D,0,0,0,0,rr.width,rr.height,rr.depth,lr,Yn,rr.data)):r.texImage3D(n.TEXTURE_3D,0,er,rr.width,rr.height,rr.depth,0,lr,Yn,rr.data);else if(Mn.isFramebufferTexture){if(gr)if(Un)r.texStorage2D(n.TEXTURE_2D,yr,er,rr.width,rr.height);else{let Wn=rr.width,Jn=rr.height;for(let sr=0;sr>=1,Jn>>=1}}else if(cr.length>0){if(Un&&gr){const Wn=Gn(cr[0]);r.texStorage2D(n.TEXTURE_2D,yr,er,Wn.width,Wn.height)}for(let Wn=0,Jn=cr.length;Wn0&&yr++;const Jn=Gn(lr[0]);r.texStorage2D(n.TEXTURE_CUBE_MAP,yr,cr,Jn.width,Jn.height)}for(let Jn=0;Jn<6;Jn++)if(rr){Un?vr&&r.texSubImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Jn,0,0,0,lr[Jn].width,lr[Jn].height,er,Fn,lr[Jn].data):r.texImage2D(n.TEXTURE_CUBE_MAP_POSITIVE_X+Jn,0,cr,lr[Jn].width,lr[Jn].height,0,er,Fn,lr[Jn].data);for(let sr=0;sr>jn),Yn=Math.max(1,Mn.height>>jn);zn===n.TEXTURE_3D||zn===n.TEXTURE_2D_ARRAY?r.texImage3D(zn,jn,ir,lr,Yn,Mn.depth,0,tr,hr,null):r.texImage2D(zn,jn,ir,lr,Yn,0,tr,hr,null)}r.bindFramebuffer(n.FRAMEBUFFER,Rn),or(Mn)?re.framebufferTexture2DMultisampleEXT(n.FRAMEBUFFER,qn,zn,rr.__webglTexture,0,In(Mn)):(zn===n.TEXTURE_2D||zn>=n.TEXTURE_CUBE_MAP_POSITIVE_X&&zn<=n.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&n.framebufferTexture2D(n.FRAMEBUFFER,qn,zn,rr.__webglTexture,jn),r.bindFramebuffer(n.FRAMEBUFFER,null)}function $n(Rn,Mn,Bn){if(n.bindRenderbuffer(n.RENDERBUFFER,Rn),Mn.depthBuffer){const qn=Mn.depthTexture,zn=qn&&qn.isDepthTexture?qn.type:null,jn=Ne(Mn.stencilBuffer,zn),tr=Mn.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT;or(Mn)?re.renderbufferStorageMultisampleEXT(n.RENDERBUFFER,In(Mn),jn,Mn.width,Mn.height):Bn?n.renderbufferStorageMultisample(n.RENDERBUFFER,In(Mn),jn,Mn.width,Mn.height):n.renderbufferStorage(n.RENDERBUFFER,jn,Mn.width,Mn.height),n.framebufferRenderbuffer(n.FRAMEBUFFER,tr,n.RENDERBUFFER,Rn)}else{const qn=Mn.textures;for(let zn=0;zn{delete Mn.__boundDepthTexture,delete Mn.__depthDisposeCallback,qn.removeEventListener("dispose",zn)};qn.addEventListener("dispose",zn),Mn.__depthDisposeCallback=zn}Mn.__boundDepthTexture=qn}if(Rn.depthTexture&&!Mn.__autoAllocateDepthBuffer)if(Bn)for(let qn=0;qn<6;qn++)An(Mn.__webglFramebuffer[qn],Rn,qn);else{const qn=Rn.texture.mipmaps;qn&&qn.length>0?An(Mn.__webglFramebuffer[0],Rn,0):An(Mn.__webglFramebuffer,Rn,0)}else if(Bn){Mn.__webglDepthbuffer=[];for(let qn=0;qn<6;qn++)if(r.bindFramebuffer(n.FRAMEBUFFER,Mn.__webglFramebuffer[qn]),Mn.__webglDepthbuffer[qn]===void 0)Mn.__webglDepthbuffer[qn]=n.createRenderbuffer(),$n(Mn.__webglDepthbuffer[qn],Rn,!1);else{const zn=Rn.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,jn=Mn.__webglDepthbuffer[qn];n.bindRenderbuffer(n.RENDERBUFFER,jn),n.framebufferRenderbuffer(n.FRAMEBUFFER,zn,n.RENDERBUFFER,jn)}}else{const qn=Rn.texture.mipmaps;if(qn&&qn.length>0?r.bindFramebuffer(n.FRAMEBUFFER,Mn.__webglFramebuffer[0]):r.bindFramebuffer(n.FRAMEBUFFER,Mn.__webglFramebuffer),Mn.__webglDepthbuffer===void 0)Mn.__webglDepthbuffer=n.createRenderbuffer(),$n(Mn.__webglDepthbuffer,Rn,!1);else{const zn=Rn.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,jn=Mn.__webglDepthbuffer;n.bindRenderbuffer(n.RENDERBUFFER,jn),n.framebufferRenderbuffer(n.FRAMEBUFFER,zn,n.RENDERBUFFER,jn)}}r.bindFramebuffer(n.FRAMEBUFFER,null)}function Ln(Rn,Mn,Bn){const qn=i.get(Rn);Mn!==void 0&&kn(qn.__webglFramebuffer,Rn,Rn.texture,n.COLOR_ATTACHMENT0,n.TEXTURE_2D,0),Bn!==void 0&&xn(Rn)}function Nn(Rn){const Mn=Rn.texture,Bn=i.get(Rn),qn=i.get(Mn);Rn.addEventListener("dispose",Ve);const zn=Rn.textures,jn=Rn.isWebGLCubeRenderTarget===!0,tr=zn.length>1;if(tr||(qn.__webglTexture===void 0&&(qn.__webglTexture=n.createTexture()),qn.__version=Mn.version,V.memory.textures++),jn){Bn.__webglFramebuffer=[];for(let hr=0;hr<6;hr++)if(Mn.mipmaps&&Mn.mipmaps.length>0){Bn.__webglFramebuffer[hr]=[];for(let ir=0;ir0){Bn.__webglFramebuffer=[];for(let hr=0;hr0&&or(Rn)===!1){Bn.__webglMultisampledFramebuffer=n.createFramebuffer(),Bn.__webglColorRenderbuffer=[],r.bindFramebuffer(n.FRAMEBUFFER,Bn.__webglMultisampledFramebuffer);for(let hr=0;hr0)for(let ir=0;ir0)for(let ir=0;ir0){if(or(Rn)===!1){const Mn=Rn.textures,Bn=Rn.width,qn=Rn.height;let zn=n.COLOR_BUFFER_BIT;const jn=Rn.stencilBuffer?n.DEPTH_STENCIL_ATTACHMENT:n.DEPTH_ATTACHMENT,tr=i.get(Rn),hr=Mn.length>1;if(hr)for(let pr=0;pr0?r.bindFramebuffer(n.DRAW_FRAMEBUFFER,tr.__webglFramebuffer[0]):r.bindFramebuffer(n.DRAW_FRAMEBUFFER,tr.__webglFramebuffer);for(let pr=0;pr0&&t.has("WEBGL_multisampled_render_to_texture")===!0&&Mn.__useRenderToTexture!==!1}function Qn(Rn){const Mn=V.render.frame;oe.get(Rn)!==Mn&&(oe.set(Rn,Mn),Rn.update())}function Zn(Rn,Mn){const Bn=Rn.colorSpace,qn=Rn.format,zn=Rn.type;return Rn.isCompressedTexture===!0||Rn.isVideoTexture===!0||Bn!==LinearSRGBColorSpace&&Bn!==NoColorSpace&&(ColorManagement.getTransfer(Bn)===SRGBTransfer?(qn!==RGBAFormat||zn!==UnsignedByteType)&&warn("WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):error("WebGLTextures: Unsupported texture color space:",Bn)),Mn}function Gn(Rn){return typeof HTMLImageElement<"u"&&Rn instanceof HTMLImageElement?(ae.width=Rn.naturalWidth||Rn.width,ae.height=Rn.naturalHeight||Rn.height):typeof VideoFrame<"u"&&Rn instanceof VideoFrame?(ae.width=Rn.displayWidth,ae.height=Rn.displayHeight):(ae.width=Rn.width,ae.height=Rn.height),ae}this.allocateTextureUnit=Et,this.resetTextureUnits=qe,this.setTexture2D=At,this.setTexture2DArray=Dt,this.setTexture3D=Lt,this.setTextureCube=jt,this.rebindTextures=Ln,this.setupRenderTarget=Nn,this.updateRenderTargetMipmap=Pn,this.updateMultisampleRenderTarget=Xn,this.setupDepthRenderbuffer=xn,this.setupFrameBufferTexture=kn,this.useMultisampledRTT=or,this.isReversedDepthBuffer=function(){return r.buffers.depth.getReversed()}}function WebGLUtils(n,t){function r(i,g=NoColorSpace){let $;const V=ColorManagement.getTransfer(g);if(i===UnsignedByteType)return n.UNSIGNED_BYTE;if(i===UnsignedShort4444Type)return n.UNSIGNED_SHORT_4_4_4_4;if(i===UnsignedShort5551Type)return n.UNSIGNED_SHORT_5_5_5_1;if(i===UnsignedInt5999Type)return n.UNSIGNED_INT_5_9_9_9_REV;if(i===UnsignedInt101111Type)return n.UNSIGNED_INT_10F_11F_11F_REV;if(i===ByteType)return n.BYTE;if(i===ShortType)return n.SHORT;if(i===UnsignedShortType)return n.UNSIGNED_SHORT;if(i===IntType)return n.INT;if(i===UnsignedIntType)return n.UNSIGNED_INT;if(i===FloatType)return n.FLOAT;if(i===HalfFloatType)return n.HALF_FLOAT;if(i===AlphaFormat)return n.ALPHA;if(i===RGBFormat)return n.RGB;if(i===RGBAFormat)return n.RGBA;if(i===DepthFormat)return n.DEPTH_COMPONENT;if(i===DepthStencilFormat)return n.DEPTH_STENCIL;if(i===RedFormat)return n.RED;if(i===RedIntegerFormat)return n.RED_INTEGER;if(i===RGFormat)return n.RG;if(i===RGIntegerFormat)return n.RG_INTEGER;if(i===RGBAIntegerFormat)return n.RGBA_INTEGER;if(i===RGB_S3TC_DXT1_Format||i===RGBA_S3TC_DXT1_Format||i===RGBA_S3TC_DXT3_Format||i===RGBA_S3TC_DXT5_Format)if(V===SRGBTransfer)if($=t.get("WEBGL_compressed_texture_s3tc_srgb"),$!==null){if(i===RGB_S3TC_DXT1_Format)return $.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(i===RGBA_S3TC_DXT1_Format)return $.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(i===RGBA_S3TC_DXT3_Format)return $.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(i===RGBA_S3TC_DXT5_Format)return $.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else return null;else if($=t.get("WEBGL_compressed_texture_s3tc"),$!==null){if(i===RGB_S3TC_DXT1_Format)return $.COMPRESSED_RGB_S3TC_DXT1_EXT;if(i===RGBA_S3TC_DXT1_Format)return $.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(i===RGBA_S3TC_DXT3_Format)return $.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(i===RGBA_S3TC_DXT5_Format)return $.COMPRESSED_RGBA_S3TC_DXT5_EXT}else return null;if(i===RGB_PVRTC_4BPPV1_Format||i===RGB_PVRTC_2BPPV1_Format||i===RGBA_PVRTC_4BPPV1_Format||i===RGBA_PVRTC_2BPPV1_Format)if($=t.get("WEBGL_compressed_texture_pvrtc"),$!==null){if(i===RGB_PVRTC_4BPPV1_Format)return $.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(i===RGB_PVRTC_2BPPV1_Format)return $.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(i===RGBA_PVRTC_4BPPV1_Format)return $.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(i===RGBA_PVRTC_2BPPV1_Format)return $.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}else return null;if(i===RGB_ETC1_Format||i===RGB_ETC2_Format||i===RGBA_ETC2_EAC_Format||i===R11_EAC_Format||i===SIGNED_R11_EAC_Format||i===RG11_EAC_Format||i===SIGNED_RG11_EAC_Format)if($=t.get("WEBGL_compressed_texture_etc"),$!==null){if(i===RGB_ETC1_Format||i===RGB_ETC2_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ETC2:$.COMPRESSED_RGB8_ETC2;if(i===RGBA_ETC2_EAC_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:$.COMPRESSED_RGBA8_ETC2_EAC;if(i===R11_EAC_Format)return $.COMPRESSED_R11_EAC;if(i===SIGNED_R11_EAC_Format)return $.COMPRESSED_SIGNED_R11_EAC;if(i===RG11_EAC_Format)return $.COMPRESSED_RG11_EAC;if(i===SIGNED_RG11_EAC_Format)return $.COMPRESSED_SIGNED_RG11_EAC}else return null;if(i===RGBA_ASTC_4x4_Format||i===RGBA_ASTC_5x4_Format||i===RGBA_ASTC_5x5_Format||i===RGBA_ASTC_6x5_Format||i===RGBA_ASTC_6x6_Format||i===RGBA_ASTC_8x5_Format||i===RGBA_ASTC_8x6_Format||i===RGBA_ASTC_8x8_Format||i===RGBA_ASTC_10x5_Format||i===RGBA_ASTC_10x6_Format||i===RGBA_ASTC_10x8_Format||i===RGBA_ASTC_10x10_Format||i===RGBA_ASTC_12x10_Format||i===RGBA_ASTC_12x12_Format)if($=t.get("WEBGL_compressed_texture_astc"),$!==null){if(i===RGBA_ASTC_4x4_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:$.COMPRESSED_RGBA_ASTC_4x4_KHR;if(i===RGBA_ASTC_5x4_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:$.COMPRESSED_RGBA_ASTC_5x4_KHR;if(i===RGBA_ASTC_5x5_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:$.COMPRESSED_RGBA_ASTC_5x5_KHR;if(i===RGBA_ASTC_6x5_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:$.COMPRESSED_RGBA_ASTC_6x5_KHR;if(i===RGBA_ASTC_6x6_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:$.COMPRESSED_RGBA_ASTC_6x6_KHR;if(i===RGBA_ASTC_8x5_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:$.COMPRESSED_RGBA_ASTC_8x5_KHR;if(i===RGBA_ASTC_8x6_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:$.COMPRESSED_RGBA_ASTC_8x6_KHR;if(i===RGBA_ASTC_8x8_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:$.COMPRESSED_RGBA_ASTC_8x8_KHR;if(i===RGBA_ASTC_10x5_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:$.COMPRESSED_RGBA_ASTC_10x5_KHR;if(i===RGBA_ASTC_10x6_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:$.COMPRESSED_RGBA_ASTC_10x6_KHR;if(i===RGBA_ASTC_10x8_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:$.COMPRESSED_RGBA_ASTC_10x8_KHR;if(i===RGBA_ASTC_10x10_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:$.COMPRESSED_RGBA_ASTC_10x10_KHR;if(i===RGBA_ASTC_12x10_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:$.COMPRESSED_RGBA_ASTC_12x10_KHR;if(i===RGBA_ASTC_12x12_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:$.COMPRESSED_RGBA_ASTC_12x12_KHR}else return null;if(i===RGBA_BPTC_Format||i===RGB_BPTC_SIGNED_Format||i===RGB_BPTC_UNSIGNED_Format)if($=t.get("EXT_texture_compression_bptc"),$!==null){if(i===RGBA_BPTC_Format)return V===SRGBTransfer?$.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:$.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(i===RGB_BPTC_SIGNED_Format)return $.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(i===RGB_BPTC_UNSIGNED_Format)return $.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}else return null;if(i===RED_RGTC1_Format||i===SIGNED_RED_RGTC1_Format||i===RED_GREEN_RGTC2_Format||i===SIGNED_RED_GREEN_RGTC2_Format)if($=t.get("EXT_texture_compression_rgtc"),$!==null){if(i===RED_RGTC1_Format)return $.COMPRESSED_RED_RGTC1_EXT;if(i===SIGNED_RED_RGTC1_Format)return $.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(i===RED_GREEN_RGTC2_Format)return $.COMPRESSED_RED_GREEN_RGTC2_EXT;if(i===SIGNED_RED_GREEN_RGTC2_Format)return $.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}else return null;return i===UnsignedInt248Type?n.UNSIGNED_INT_24_8:n[i]!==void 0?n[i]:null}return{convert:r}}const _occlusion_vertex=` -void main() { - - gl_Position = vec4( position, 1.0 ); - -}`,_occlusion_fragment=` -uniform sampler2DArray depthColor; -uniform float depthWidth; -uniform float depthHeight; - -void main() { - - vec2 coord = vec2( gl_FragCoord.x / depthWidth, gl_FragCoord.y / depthHeight ); - - if ( coord.x >= 1.0 ) { - - gl_FragDepth = texture( depthColor, vec3( coord.x - 1.0, coord.y, 1 ) ).r; - - } else { - - gl_FragDepth = texture( depthColor, vec3( coord.x, coord.y, 0 ) ).r; - - } - -}`;class WebXRDepthSensing{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(t,r){if(this.texture===null){const i=new ExternalTexture(t.texture);(t.depthNear!==r.depthNear||t.depthFar!==r.depthFar)&&(this.depthNear=t.depthNear,this.depthFar=t.depthFar),this.texture=i}}getMesh(t){if(this.texture!==null&&this.mesh===null){const r=t.cameras[0].viewport,i=new ShaderMaterial({vertexShader:_occlusion_vertex,fragmentShader:_occlusion_fragment,uniforms:{depthColor:{value:this.texture},depthWidth:{value:r.z},depthHeight:{value:r.w}}});this.mesh=new Mesh(new PlaneGeometry(20,20),i)}return this.mesh}reset(){this.texture=null,this.mesh=null}getDepthTexture(){return this.texture}}class WebXRManager extends EventDispatcher{constructor(t,r){super();const i=this;let g=null,$=1,V=null,re="local-floor",ie=1,ae=null,oe=null,le=null,ue=null,de=null,he=null;const pe=typeof XRWebGLBinding<"u",_e=new WebXRDepthSensing,Ce={},xe=r.getContextAttributes();let Ie=null,Ne=null;const Oe=[],$e=[],Ve=new Vector2;let Ue=null;const Fe=new PerspectiveCamera;Fe.viewport=new Vector4;const ze=new PerspectiveCamera;ze.viewport=new Vector4;const Pt=[Fe,ze],qe=new ArrayCamera;let Et=null,kt=null;this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(Tn){let En=Oe[Tn];return En===void 0&&(En=new WebXRController,Oe[Tn]=En),En.getTargetRaySpace()},this.getControllerGrip=function(Tn){let En=Oe[Tn];return En===void 0&&(En=new WebXRController,Oe[Tn]=En),En.getGripSpace()},this.getHand=function(Tn){let En=Oe[Tn];return En===void 0&&(En=new WebXRController,Oe[Tn]=En),En.getHandSpace()};function At(Tn){const En=$e.indexOf(Tn.inputSource);if(En===-1)return;const kn=Oe[En];kn!==void 0&&(kn.update(Tn.inputSource,Tn.frame,ae||V),kn.dispatchEvent({type:Tn.type,data:Tn.inputSource}))}function Dt(){g.removeEventListener("select",At),g.removeEventListener("selectstart",At),g.removeEventListener("selectend",At),g.removeEventListener("squeeze",At),g.removeEventListener("squeezestart",At),g.removeEventListener("squeezeend",At),g.removeEventListener("end",Dt),g.removeEventListener("inputsourceschange",Lt);for(let Tn=0;Tn=0&&($e[$n]=null,Oe[$n].disconnect(kn))}for(let En=0;En=$e.length){$e.push(kn),$n=xn;break}else if($e[xn]===null){$e[xn]=kn,$n=xn;break}if($n===-1)break}const An=Oe[$n];An&&An.connect(kn)}}const jt=new Vector3,hn=new Vector3;function vn(Tn,En,kn){jt.setFromMatrixPosition(En.matrixWorld),hn.setFromMatrixPosition(kn.matrixWorld);const $n=jt.distanceTo(hn),An=En.projectionMatrix.elements,xn=kn.projectionMatrix.elements,Ln=An[14]/(An[10]-1),Nn=An[14]/(An[10]+1),Pn=(An[9]+1)/An[5],On=(An[9]-1)/An[5],Hn=(An[8]-1)/An[0],Xn=(xn[8]+1)/xn[0],In=Ln*Hn,or=Ln*Xn,Qn=$n/(-Hn+Xn),Zn=Qn*-Hn;if(En.matrixWorld.decompose(Tn.position,Tn.quaternion,Tn.scale),Tn.translateX(Zn),Tn.translateZ(Qn),Tn.matrixWorld.compose(Tn.position,Tn.quaternion,Tn.scale),Tn.matrixWorldInverse.copy(Tn.matrixWorld).invert(),An[10]===-1)Tn.projectionMatrix.copy(En.projectionMatrix),Tn.projectionMatrixInverse.copy(En.projectionMatrixInverse);else{const Gn=Ln+Qn,Rn=Nn+Qn,Mn=In-Zn,Bn=or+($n-Zn),qn=Pn*Nn/Rn*Gn,zn=On*Nn/Rn*Gn;Tn.projectionMatrix.makePerspective(Mn,Bn,qn,zn,Gn,Rn),Tn.projectionMatrixInverse.copy(Tn.projectionMatrix).invert()}}function _n(Tn,En){En===null?Tn.matrixWorld.copy(Tn.matrix):Tn.matrixWorld.multiplyMatrices(En.matrixWorld,Tn.matrix),Tn.matrixWorldInverse.copy(Tn.matrixWorld).invert()}this.updateCamera=function(Tn){if(g===null)return;let En=Tn.near,kn=Tn.far;_e.texture!==null&&(_e.depthNear>0&&(En=_e.depthNear),_e.depthFar>0&&(kn=_e.depthFar)),qe.near=ze.near=Fe.near=En,qe.far=ze.far=Fe.far=kn,(Et!==qe.near||kt!==qe.far)&&(g.updateRenderState({depthNear:qe.near,depthFar:qe.far}),Et=qe.near,kt=qe.far),qe.layers.mask=Tn.layers.mask|6,Fe.layers.mask=qe.layers.mask&3,ze.layers.mask=qe.layers.mask&5;const $n=Tn.parent,An=qe.cameras;_n(qe,$n);for(let xn=0;xn0&&(_e.alphaTest.value=Ce.alphaTest);const xe=t.get(Ce),Ie=xe.envMap,Ne=xe.envMapRotation;Ie&&(_e.envMap.value=Ie,_e1.copy(Ne),_e1.x*=-1,_e1.y*=-1,_e1.z*=-1,Ie.isCubeTexture&&Ie.isRenderTargetTexture===!1&&(_e1.y*=-1,_e1.z*=-1),_e.envMapRotation.value.setFromMatrix4(_m1.makeRotationFromEuler(_e1)),_e.flipEnvMap.value=Ie.isCubeTexture&&Ie.isRenderTargetTexture===!1?-1:1,_e.reflectivity.value=Ce.reflectivity,_e.ior.value=Ce.ior,_e.refractionRatio.value=Ce.refractionRatio),Ce.lightMap&&(_e.lightMap.value=Ce.lightMap,_e.lightMapIntensity.value=Ce.lightMapIntensity,r(Ce.lightMap,_e.lightMapTransform)),Ce.aoMap&&(_e.aoMap.value=Ce.aoMap,_e.aoMapIntensity.value=Ce.aoMapIntensity,r(Ce.aoMap,_e.aoMapTransform))}function V(_e,Ce){_e.diffuse.value.copy(Ce.color),_e.opacity.value=Ce.opacity,Ce.map&&(_e.map.value=Ce.map,r(Ce.map,_e.mapTransform))}function re(_e,Ce){_e.dashSize.value=Ce.dashSize,_e.totalSize.value=Ce.dashSize+Ce.gapSize,_e.scale.value=Ce.scale}function ie(_e,Ce,xe,Ie){_e.diffuse.value.copy(Ce.color),_e.opacity.value=Ce.opacity,_e.size.value=Ce.size*xe,_e.scale.value=Ie*.5,Ce.map&&(_e.map.value=Ce.map,r(Ce.map,_e.uvTransform)),Ce.alphaMap&&(_e.alphaMap.value=Ce.alphaMap,r(Ce.alphaMap,_e.alphaMapTransform)),Ce.alphaTest>0&&(_e.alphaTest.value=Ce.alphaTest)}function ae(_e,Ce){_e.diffuse.value.copy(Ce.color),_e.opacity.value=Ce.opacity,_e.rotation.value=Ce.rotation,Ce.map&&(_e.map.value=Ce.map,r(Ce.map,_e.mapTransform)),Ce.alphaMap&&(_e.alphaMap.value=Ce.alphaMap,r(Ce.alphaMap,_e.alphaMapTransform)),Ce.alphaTest>0&&(_e.alphaTest.value=Ce.alphaTest)}function oe(_e,Ce){_e.specular.value.copy(Ce.specular),_e.shininess.value=Math.max(Ce.shininess,1e-4)}function le(_e,Ce){Ce.gradientMap&&(_e.gradientMap.value=Ce.gradientMap)}function ue(_e,Ce){_e.metalness.value=Ce.metalness,Ce.metalnessMap&&(_e.metalnessMap.value=Ce.metalnessMap,r(Ce.metalnessMap,_e.metalnessMapTransform)),_e.roughness.value=Ce.roughness,Ce.roughnessMap&&(_e.roughnessMap.value=Ce.roughnessMap,r(Ce.roughnessMap,_e.roughnessMapTransform)),Ce.envMap&&(_e.envMapIntensity.value=Ce.envMapIntensity)}function de(_e,Ce,xe){_e.ior.value=Ce.ior,Ce.sheen>0&&(_e.sheenColor.value.copy(Ce.sheenColor).multiplyScalar(Ce.sheen),_e.sheenRoughness.value=Ce.sheenRoughness,Ce.sheenColorMap&&(_e.sheenColorMap.value=Ce.sheenColorMap,r(Ce.sheenColorMap,_e.sheenColorMapTransform)),Ce.sheenRoughnessMap&&(_e.sheenRoughnessMap.value=Ce.sheenRoughnessMap,r(Ce.sheenRoughnessMap,_e.sheenRoughnessMapTransform))),Ce.clearcoat>0&&(_e.clearcoat.value=Ce.clearcoat,_e.clearcoatRoughness.value=Ce.clearcoatRoughness,Ce.clearcoatMap&&(_e.clearcoatMap.value=Ce.clearcoatMap,r(Ce.clearcoatMap,_e.clearcoatMapTransform)),Ce.clearcoatRoughnessMap&&(_e.clearcoatRoughnessMap.value=Ce.clearcoatRoughnessMap,r(Ce.clearcoatRoughnessMap,_e.clearcoatRoughnessMapTransform)),Ce.clearcoatNormalMap&&(_e.clearcoatNormalMap.value=Ce.clearcoatNormalMap,r(Ce.clearcoatNormalMap,_e.clearcoatNormalMapTransform),_e.clearcoatNormalScale.value.copy(Ce.clearcoatNormalScale),Ce.side===BackSide&&_e.clearcoatNormalScale.value.negate())),Ce.dispersion>0&&(_e.dispersion.value=Ce.dispersion),Ce.iridescence>0&&(_e.iridescence.value=Ce.iridescence,_e.iridescenceIOR.value=Ce.iridescenceIOR,_e.iridescenceThicknessMinimum.value=Ce.iridescenceThicknessRange[0],_e.iridescenceThicknessMaximum.value=Ce.iridescenceThicknessRange[1],Ce.iridescenceMap&&(_e.iridescenceMap.value=Ce.iridescenceMap,r(Ce.iridescenceMap,_e.iridescenceMapTransform)),Ce.iridescenceThicknessMap&&(_e.iridescenceThicknessMap.value=Ce.iridescenceThicknessMap,r(Ce.iridescenceThicknessMap,_e.iridescenceThicknessMapTransform))),Ce.transmission>0&&(_e.transmission.value=Ce.transmission,_e.transmissionSamplerMap.value=xe.texture,_e.transmissionSamplerSize.value.set(xe.width,xe.height),Ce.transmissionMap&&(_e.transmissionMap.value=Ce.transmissionMap,r(Ce.transmissionMap,_e.transmissionMapTransform)),_e.thickness.value=Ce.thickness,Ce.thicknessMap&&(_e.thicknessMap.value=Ce.thicknessMap,r(Ce.thicknessMap,_e.thicknessMapTransform)),_e.attenuationDistance.value=Ce.attenuationDistance,_e.attenuationColor.value.copy(Ce.attenuationColor)),Ce.anisotropy>0&&(_e.anisotropyVector.value.set(Ce.anisotropy*Math.cos(Ce.anisotropyRotation),Ce.anisotropy*Math.sin(Ce.anisotropyRotation)),Ce.anisotropyMap&&(_e.anisotropyMap.value=Ce.anisotropyMap,r(Ce.anisotropyMap,_e.anisotropyMapTransform))),_e.specularIntensity.value=Ce.specularIntensity,_e.specularColor.value.copy(Ce.specularColor),Ce.specularColorMap&&(_e.specularColorMap.value=Ce.specularColorMap,r(Ce.specularColorMap,_e.specularColorMapTransform)),Ce.specularIntensityMap&&(_e.specularIntensityMap.value=Ce.specularIntensityMap,r(Ce.specularIntensityMap,_e.specularIntensityMapTransform))}function he(_e,Ce){Ce.matcap&&(_e.matcap.value=Ce.matcap)}function pe(_e,Ce){const xe=t.get(Ce).light;_e.referencePosition.value.setFromMatrixPosition(xe.matrixWorld),_e.nearDistance.value=xe.shadow.camera.near,_e.farDistance.value=xe.shadow.camera.far}return{refreshFogUniforms:i,refreshMaterialUniforms:g}}function WebGLUniformsGroups(n,t,r,i){let g={},$={},V=[];const re=n.getParameter(n.MAX_UNIFORM_BUFFER_BINDINGS);function ie(xe,Ie){const Ne=Ie.program;i.uniformBlockBinding(xe,Ne)}function ae(xe,Ie){let Ne=g[xe.id];Ne===void 0&&(he(xe),Ne=oe(xe),g[xe.id]=Ne,xe.addEventListener("dispose",_e));const Oe=Ie.program;i.updateUBOMapping(xe,Oe);const $e=t.render.frame;$[xe.id]!==$e&&(ue(xe),$[xe.id]=$e)}function oe(xe){const Ie=le();xe.__bindingPointIndex=Ie;const Ne=n.createBuffer(),Oe=xe.__size,$e=xe.usage;return n.bindBuffer(n.UNIFORM_BUFFER,Ne),n.bufferData(n.UNIFORM_BUFFER,Oe,$e),n.bindBuffer(n.UNIFORM_BUFFER,null),n.bindBufferBase(n.UNIFORM_BUFFER,Ie,Ne),Ne}function le(){for(let xe=0;xe0&&(Ne+=Oe-$e),xe.__size=Ne,xe.__cache={},this}function pe(xe){const Ie={boundary:0,storage:0};return typeof xe=="number"||typeof xe=="boolean"?(Ie.boundary=4,Ie.storage=4):xe.isVector2?(Ie.boundary=8,Ie.storage=8):xe.isVector3||xe.isColor?(Ie.boundary=16,Ie.storage=12):xe.isVector4?(Ie.boundary=16,Ie.storage=16):xe.isMatrix3?(Ie.boundary=48,Ie.storage=48):xe.isMatrix4?(Ie.boundary=64,Ie.storage=64):xe.isTexture?warn("WebGLRenderer: Texture samplers can not be part of an uniforms group."):warn("WebGLRenderer: Unsupported uniform value type.",xe),Ie}function _e(xe){const Ie=xe.target;Ie.removeEventListener("dispose",_e);const Ne=V.indexOf(Ie.__bindingPointIndex);V.splice(Ne,1),n.deleteBuffer(g[Ie.id]),delete g[Ie.id],delete $[Ie.id]}function Ce(){for(const xe in g)n.deleteBuffer(g[xe]);V=[],g={},$={}}return{bind:ie,update:ae,dispose:Ce}}const DATA=new Uint16Array([12469,15057,12620,14925,13266,14620,13807,14376,14323,13990,14545,13625,14713,13328,14840,12882,14931,12528,14996,12233,15039,11829,15066,11525,15080,11295,15085,10976,15082,10705,15073,10495,13880,14564,13898,14542,13977,14430,14158,14124,14393,13732,14556,13410,14702,12996,14814,12596,14891,12291,14937,11834,14957,11489,14958,11194,14943,10803,14921,10506,14893,10278,14858,9960,14484,14039,14487,14025,14499,13941,14524,13740,14574,13468,14654,13106,14743,12678,14818,12344,14867,11893,14889,11509,14893,11180,14881,10751,14852,10428,14812,10128,14765,9754,14712,9466,14764,13480,14764,13475,14766,13440,14766,13347,14769,13070,14786,12713,14816,12387,14844,11957,14860,11549,14868,11215,14855,10751,14825,10403,14782,10044,14729,9651,14666,9352,14599,9029,14967,12835,14966,12831,14963,12804,14954,12723,14936,12564,14917,12347,14900,11958,14886,11569,14878,11247,14859,10765,14828,10401,14784,10011,14727,9600,14660,9289,14586,8893,14508,8533,15111,12234,15110,12234,15104,12216,15092,12156,15067,12010,15028,11776,14981,11500,14942,11205,14902,10752,14861,10393,14812,9991,14752,9570,14682,9252,14603,8808,14519,8445,14431,8145,15209,11449,15208,11451,15202,11451,15190,11438,15163,11384,15117,11274,15055,10979,14994,10648,14932,10343,14871,9936,14803,9532,14729,9218,14645,8742,14556,8381,14461,8020,14365,7603,15273,10603,15272,10607,15267,10619,15256,10631,15231,10614,15182,10535,15118,10389,15042,10167,14963,9787,14883,9447,14800,9115,14710,8665,14615,8318,14514,7911,14411,7507,14279,7198,15314,9675,15313,9683,15309,9712,15298,9759,15277,9797,15229,9773,15166,9668,15084,9487,14995,9274,14898,8910,14800,8539,14697,8234,14590,7790,14479,7409,14367,7067,14178,6621,15337,8619,15337,8631,15333,8677,15325,8769,15305,8871,15264,8940,15202,8909,15119,8775,15022,8565,14916,8328,14804,8009,14688,7614,14569,7287,14448,6888,14321,6483,14088,6171,15350,7402,15350,7419,15347,7480,15340,7613,15322,7804,15287,7973,15229,8057,15148,8012,15046,7846,14933,7611,14810,7357,14682,7069,14552,6656,14421,6316,14251,5948,14007,5528,15356,5942,15356,5977,15353,6119,15348,6294,15332,6551,15302,6824,15249,7044,15171,7122,15070,7050,14949,6861,14818,6611,14679,6349,14538,6067,14398,5651,14189,5311,13935,4958,15359,4123,15359,4153,15356,4296,15353,4646,15338,5160,15311,5508,15263,5829,15188,6042,15088,6094,14966,6001,14826,5796,14678,5543,14527,5287,14377,4985,14133,4586,13869,4257,15360,1563,15360,1642,15358,2076,15354,2636,15341,3350,15317,4019,15273,4429,15203,4732,15105,4911,14981,4932,14836,4818,14679,4621,14517,4386,14359,4156,14083,3795,13808,3437,15360,122,15360,137,15358,285,15355,636,15344,1274,15322,2177,15281,2765,15215,3223,15120,3451,14995,3569,14846,3567,14681,3466,14511,3305,14344,3121,14037,2800,13753,2467,15360,0,15360,1,15359,21,15355,89,15346,253,15325,479,15287,796,15225,1148,15133,1492,15008,1749,14856,1882,14685,1886,14506,1783,14324,1608,13996,1398,13702,1183]);let lut=null;function getDFGLUT(){return lut===null&&(lut=new DataTexture(DATA,16,16,RGFormat,HalfFloatType),lut.name="DFG_LUT",lut.minFilter=LinearFilter,lut.magFilter=LinearFilter,lut.wrapS=ClampToEdgeWrapping,lut.wrapT=ClampToEdgeWrapping,lut.generateMipmaps=!1,lut.needsUpdate=!0),lut}class WebGLRenderer{constructor(t={}){const{canvas:r=createCanvasElement(),context:i=null,depth:g=!0,stencil:$=!1,alpha:V=!1,antialias:re=!1,premultipliedAlpha:ie=!0,preserveDrawingBuffer:ae=!1,powerPreference:oe="default",failIfMajorPerformanceCaveat:le=!1,reversedDepthBuffer:ue=!1,outputBufferType:de=UnsignedByteType}=t;this.isWebGLRenderer=!0;let he;if(i!==null){if(typeof WebGLRenderingContext<"u"&&i instanceof WebGLRenderingContext)throw new Error("THREE.WebGLRenderer: WebGL 1 is not supported since r163.");he=i.getContextAttributes().alpha}else he=V;const pe=de,_e=new Set([RGBAIntegerFormat,RGIntegerFormat,RedIntegerFormat]),Ce=new Set([UnsignedByteType,UnsignedIntType,UnsignedShortType,UnsignedInt248Type,UnsignedShort4444Type,UnsignedShort5551Type]),xe=new Uint32Array(4),Ie=new Int32Array(4);let Ne=null,Oe=null;const $e=[],Ve=[];let Ue=null;this.domElement=r,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.toneMapping=NoToneMapping,this.toneMappingExposure=1,this.transmissionResolutionScale=1;const Fe=this;let ze=!1;this._outputColorSpace=SRGBColorSpace;let Pt=0,qe=0,Et=null,kt=-1,At=null;const Dt=new Vector4,Lt=new Vector4;let jt=null;const hn=new Color(0);let vn=0,_n=r.width,wn=r.height,bn=1,Cn=null,Sn=null;const Tn=new Vector4(0,0,_n,wn),En=new Vector4(0,0,_n,wn);let kn=!1;const $n=new Frustum;let An=!1,xn=!1;const Ln=new Matrix4,Nn=new Vector3,Pn=new Vector4,On={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};let Hn=!1;function Xn(){return Et===null?bn:1}let In=i;function or(Dn,nr){return r.getContext(Dn,nr)}try{const Dn={alpha:!0,depth:g,stencil:$,antialias:re,premultipliedAlpha:ie,preserveDrawingBuffer:ae,powerPreference:oe,failIfMajorPerformanceCaveat:le};if("setAttribute"in r&&r.setAttribute("data-engine",`three.js r${REVISION}`),r.addEventListener("webglcontextlost",Sr,!1),r.addEventListener("webglcontextrestored",Tr,!1),r.addEventListener("webglcontextcreationerror",fr,!1),In===null){const nr="webgl2";if(In=or(nr,Dn),In===null)throw or(nr)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}}catch(Dn){throw error("WebGLRenderer: "+Dn.message),Dn}let Qn,Zn,Gn,Rn,Mn,Bn,qn,zn,jn,tr,hr,ir,pr,rr,lr,Yn,er,Fn,cr,Un,gr,vr,yr,Wn;function Jn(){Qn=new WebGLExtensions(In),Qn.init(),vr=new WebGLUtils(In,Qn),Zn=new WebGLCapabilities(In,Qn,t,vr),Gn=new WebGLState(In,Qn),Zn.reversedDepthBuffer&&ue&&Gn.buffers.depth.setReversed(!0),Rn=new WebGLInfo(In),Mn=new WebGLProperties,Bn=new WebGLTextures(In,Qn,Gn,Mn,Zn,vr,Rn),qn=new WebGLCubeMaps(Fe),zn=new WebGLCubeUVMaps(Fe),jn=new WebGLAttributes(In),yr=new WebGLBindingStates(In,jn),tr=new WebGLGeometries(In,jn,Rn,yr),hr=new WebGLObjects(In,tr,jn,Rn),cr=new WebGLMorphtargets(In,Zn,Bn),Yn=new WebGLClipping(Mn),ir=new WebGLPrograms(Fe,qn,zn,Qn,Zn,yr,Yn),pr=new WebGLMaterials(Fe,Mn),rr=new WebGLRenderLists,lr=new WebGLRenderStates(Qn),Fn=new WebGLBackground(Fe,qn,zn,Gn,hr,he,ie),er=new WebGLShadowMap(Fe,hr,Zn),Wn=new WebGLUniformsGroups(In,Rn,Zn,Gn),Un=new WebGLBufferRenderer(In,Qn,Rn),gr=new WebGLIndexedBufferRenderer(In,Qn,Rn),Rn.programs=ir.programs,Fe.capabilities=Zn,Fe.extensions=Qn,Fe.properties=Mn,Fe.renderLists=rr,Fe.shadowMap=er,Fe.state=Gn,Fe.info=Rn}Jn(),pe!==UnsignedByteType&&(Ue=new WebGLOutput(pe,r.width,r.height,g,$));const sr=new WebXRManager(Fe,In);this.xr=sr,this.getContext=function(){return In},this.getContextAttributes=function(){return In.getContextAttributes()},this.forceContextLoss=function(){const Dn=Qn.get("WEBGL_lose_context");Dn&&Dn.loseContext()},this.forceContextRestore=function(){const Dn=Qn.get("WEBGL_lose_context");Dn&&Dn.restoreContext()},this.getPixelRatio=function(){return bn},this.setPixelRatio=function(Dn){Dn!==void 0&&(bn=Dn,this.setSize(_n,wn,!1))},this.getSize=function(Dn){return Dn.set(_n,wn)},this.setSize=function(Dn,nr,ur=!0){if(sr.isPresenting){warn("WebGLRenderer: Can't change size while VR device is presenting.");return}_n=Dn,wn=nr,r.width=Math.floor(Dn*bn),r.height=Math.floor(nr*bn),ur===!0&&(r.style.width=Dn+"px",r.style.height=nr+"px"),Ue!==null&&Ue.setSize(r.width,r.height),this.setViewport(0,0,Dn,nr)},this.getDrawingBufferSize=function(Dn){return Dn.set(_n*bn,wn*bn).floor()},this.setDrawingBufferSize=function(Dn,nr,ur){_n=Dn,wn=nr,bn=ur,r.width=Math.floor(Dn*ur),r.height=Math.floor(nr*ur),this.setViewport(0,0,Dn,nr)},this.setEffects=function(Dn){if(pe===UnsignedByteType){console.error("THREE.WebGLRenderer: setEffects() requires outputBufferType set to HalfFloatType or FloatType.");return}if(Dn){for(let nr=0;nr{function dr(){if(Vn.forEach(function(mr){Mn.get(mr).currentProgram.isReady()&&Vn.delete(mr)}),Vn.size===0){Kn(Dn);return}setTimeout(dr,10)}Qn.get("KHR_parallel_shader_compile")!==null?dr():setTimeout(dr,10)})};let jr=null;function ai(Dn){jr&&jr(Dn)}function ti(){Wr.stop()}function ri(){Wr.start()}const Wr=new WebGLAnimation;Wr.setAnimationLoop(ai),typeof self<"u"&&Wr.setContext(self),this.setAnimationLoop=function(Dn){jr=Dn,sr.setAnimationLoop(Dn),Dn===null?Wr.stop():Wr.start()},sr.addEventListener("sessionstart",ti),sr.addEventListener("sessionend",ri),this.render=function(Dn,nr){if(nr!==void 0&&nr.isCamera!==!0){error("WebGLRenderer.render: camera is not an instance of THREE.Camera.");return}if(ze===!0)return;const ur=sr.enabled===!0&&sr.isPresenting===!0,Vn=Ue!==null&&(Et===null||ur)&&Ue.begin(Fe,Et);if(Dn.matrixWorldAutoUpdate===!0&&Dn.updateMatrixWorld(),nr.parent===null&&nr.matrixWorldAutoUpdate===!0&&nr.updateMatrixWorld(),sr.enabled===!0&&sr.isPresenting===!0&&(Ue===null||Ue.isCompositing()===!1)&&(sr.cameraAutoUpdate===!0&&sr.updateCamera(nr),nr=sr.getCamera()),Dn.isScene===!0&&Dn.onBeforeRender(Fe,Dn,nr,Et),Oe=lr.get(Dn,Ve.length),Oe.init(nr),Ve.push(Oe),Ln.multiplyMatrices(nr.projectionMatrix,nr.matrixWorldInverse),$n.setFromProjectionMatrix(Ln,WebGLCoordinateSystem,nr.reversedDepth),xn=this.localClippingEnabled,An=Yn.init(this.clippingPlanes,xn),Ne=rr.get(Dn,$e.length),Ne.init(),$e.push(Ne),sr.enabled===!0&&sr.isPresenting===!0){const mr=Fe.xr.getDepthSensingMesh();mr!==null&&ii(mr,nr,-1/0,Fe.sortObjects)}ii(Dn,nr,0,Fe.sortObjects),Ne.finish(),Fe.sortObjects===!0&&Ne.sort(Cn,Sn),Hn=sr.enabled===!1||sr.isPresenting===!1||sr.hasDepthSensing()===!1,Hn&&Fn.addToRenderList(Ne,Dn),this.info.render.frame++,An===!0&&Yn.beginShadows();const Kn=Oe.state.shadowsArray;if(er.render(Kn,Dn,nr),An===!0&&Yn.endShadows(),this.info.autoReset===!0&&this.info.reset(),(Vn&&Ue.hasRenderPass())===!1){const mr=Ne.opaque,br=Ne.transmissive;if(Oe.setupLights(),nr.isArrayCamera){const Er=nr.cameras;if(br.length>0)for(let xr=0,Nr=Er.length;xr0&&li(mr,br,Dn,nr),Hn&&Fn.render(Dn),si(Ne,Dn,nr)}Et!==null&&qe===0&&(Bn.updateMultisampleRenderTarget(Et),Bn.updateRenderTargetMipmap(Et)),Vn&&Ue.end(Fe),Dn.isScene===!0&&Dn.onAfterRender(Fe,Dn,nr),yr.resetDefaultState(),kt=-1,At=null,Ve.pop(),Ve.length>0?(Oe=Ve[Ve.length-1],An===!0&&Yn.setGlobalState(Fe.clippingPlanes,Oe.state.camera)):Oe=null,$e.pop(),$e.length>0?Ne=$e[$e.length-1]:Ne=null};function ii(Dn,nr,ur,Vn){if(Dn.visible===!1)return;if(Dn.layers.test(nr.layers)){if(Dn.isGroup)ur=Dn.renderOrder;else if(Dn.isLOD)Dn.autoUpdate===!0&&Dn.update(nr);else if(Dn.isLight)Oe.pushLight(Dn),Dn.castShadow&&Oe.pushShadow(Dn);else if(Dn.isSprite){if(!Dn.frustumCulled||$n.intersectsSprite(Dn)){Vn&&Pn.setFromMatrixPosition(Dn.matrixWorld).applyMatrix4(Ln);const mr=hr.update(Dn),br=Dn.material;br.visible&&Ne.push(Dn,mr,br,ur,Pn.z,null)}}else if((Dn.isMesh||Dn.isLine||Dn.isPoints)&&(!Dn.frustumCulled||$n.intersectsObject(Dn))){const mr=hr.update(Dn),br=Dn.material;if(Vn&&(Dn.boundingSphere!==void 0?(Dn.boundingSphere===null&&Dn.computeBoundingSphere(),Pn.copy(Dn.boundingSphere.center)):(mr.boundingSphere===null&&mr.computeBoundingSphere(),Pn.copy(mr.boundingSphere.center)),Pn.applyMatrix4(Dn.matrixWorld).applyMatrix4(Ln)),Array.isArray(br)){const Er=mr.groups;for(let xr=0,Nr=Er.length;xr0&&ni(Kn,nr,ur),dr.length>0&&ni(dr,nr,ur),mr.length>0&&ni(mr,nr,ur),Gn.buffers.depth.setTest(!0),Gn.buffers.depth.setMask(!0),Gn.buffers.color.setMask(!0),Gn.setPolygonOffset(!1)}function li(Dn,nr,ur,Vn){if((ur.isScene===!0?ur.overrideMaterial:null)!==null)return;if(Oe.state.transmissionRenderTarget[Vn.id]===void 0){const $r=Qn.has("EXT_color_buffer_half_float")||Qn.has("EXT_color_buffer_float");Oe.state.transmissionRenderTarget[Vn.id]=new WebGLRenderTarget(1,1,{generateMipmaps:!0,type:$r?HalfFloatType:UnsignedByteType,minFilter:LinearMipmapLinearFilter,samples:Zn.samples,stencilBuffer:$,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:ColorManagement.workingColorSpace})}const dr=Oe.state.transmissionRenderTarget[Vn.id],mr=Vn.viewport||Dt;dr.setSize(mr.z*Fe.transmissionResolutionScale,mr.w*Fe.transmissionResolutionScale);const br=Fe.getRenderTarget(),Er=Fe.getActiveCubeFace(),xr=Fe.getActiveMipmapLevel();Fe.setRenderTarget(dr),Fe.getClearColor(hn),vn=Fe.getClearAlpha(),vn<1&&Fe.setClearColor(16777215,.5),Fe.clear(),Hn&&Fn.render(ur);const Nr=Fe.toneMapping;Fe.toneMapping=NoToneMapping;const Ar=Vn.viewport;if(Vn.viewport!==void 0&&(Vn.viewport=void 0),Oe.setupLightsView(Vn),An===!0&&Yn.setGlobalState(Fe.clippingPlanes,Vn),ni(Dn,ur,Vn),Bn.updateMultisampleRenderTarget(dr),Bn.updateRenderTargetMipmap(dr),Qn.has("WEBGL_multisampled_render_to_texture")===!1){let $r=!1;for(let Ir=0,Vr=nr.length;Ir0),Ar=!!ur.morphAttributes.position,$r=!!ur.morphAttributes.normal,Ir=!!ur.morphAttributes.color;let Vr=NoToneMapping;Vn.toneMapped&&(Et===null||Et.isXRRenderTarget===!0)&&(Vr=Fe.toneMapping);const Fr=ur.morphAttributes.position||ur.morphAttributes.normal||ur.morphAttributes.color,Or=Fr!==void 0?Fr.length:0,kr=Mn.get(Vn),Lr=Oe.state.lights;if(An===!0&&(xn===!0||Dn!==At)){const Kr=Dn===At&&Vn.id===kt;Yn.setState(Vn,Dn,Kr)}let Pr=!1;Vn.version===kr.__version?(kr.needsLights&&kr.lightsStateVersion!==Lr.state.version||kr.outputColorSpace!==br||Kn.isBatchedMesh&&kr.batching===!1||!Kn.isBatchedMesh&&kr.batching===!0||Kn.isBatchedMesh&&kr.batchingColor===!0&&Kn.colorTexture===null||Kn.isBatchedMesh&&kr.batchingColor===!1&&Kn.colorTexture!==null||Kn.isInstancedMesh&&kr.instancing===!1||!Kn.isInstancedMesh&&kr.instancing===!0||Kn.isSkinnedMesh&&kr.skinning===!1||!Kn.isSkinnedMesh&&kr.skinning===!0||Kn.isInstancedMesh&&kr.instancingColor===!0&&Kn.instanceColor===null||Kn.isInstancedMesh&&kr.instancingColor===!1&&Kn.instanceColor!==null||Kn.isInstancedMesh&&kr.instancingMorph===!0&&Kn.morphTexture===null||Kn.isInstancedMesh&&kr.instancingMorph===!1&&Kn.morphTexture!==null||kr.envMap!==Er||Vn.fog===!0&&kr.fog!==dr||kr.numClippingPlanes!==void 0&&(kr.numClippingPlanes!==Yn.numPlanes||kr.numIntersection!==Yn.numIntersection)||kr.vertexAlphas!==xr||kr.vertexTangents!==Nr||kr.morphTargets!==Ar||kr.morphNormals!==$r||kr.morphColors!==Ir||kr.toneMapping!==Vr||kr.morphTargetsCount!==Or)&&(Pr=!0):(Pr=!0,kr.__version=Vn.version);let qr=kr.currentProgram;Pr===!0&&(qr=Jr(Vn,nr,Kn));let ui=!1,Zr=!1,fi=!1;const Br=qr.getUniforms(),Yr=kr.uniforms;if(Gn.useProgram(qr.program)&&(ui=!0,Zr=!0,fi=!0),Vn.id!==kt&&(kt=Vn.id,Zr=!0),ui||At!==Dn){Gn.buffers.depth.getReversed()&&Dn.reversedDepth!==!0&&(Dn._reversedDepth=!0,Dn.updateProjectionMatrix()),Br.setValue(In,"projectionMatrix",Dn.projectionMatrix),Br.setValue(In,"viewMatrix",Dn.matrixWorldInverse);const Xr=Br.map.cameraPosition;Xr!==void 0&&Xr.setValue(In,Nn.setFromMatrixPosition(Dn.matrixWorld)),Zn.logarithmicDepthBuffer&&Br.setValue(In,"logDepthBufFC",2/(Math.log(Dn.far+1)/Math.LN2)),(Vn.isMeshPhongMaterial||Vn.isMeshToonMaterial||Vn.isMeshLambertMaterial||Vn.isMeshBasicMaterial||Vn.isMeshStandardMaterial||Vn.isShaderMaterial)&&Br.setValue(In,"isOrthographic",Dn.isOrthographicCamera===!0),At!==Dn&&(At=Dn,Zr=!0,fi=!0)}if(kr.needsLights&&(Lr.state.directionalShadowMap.length>0&&Br.setValue(In,"directionalShadowMap",Lr.state.directionalShadowMap,Bn),Lr.state.spotShadowMap.length>0&&Br.setValue(In,"spotShadowMap",Lr.state.spotShadowMap,Bn),Lr.state.pointShadowMap.length>0&&Br.setValue(In,"pointShadowMap",Lr.state.pointShadowMap,Bn)),Kn.isSkinnedMesh){Br.setOptional(In,Kn,"bindMatrix"),Br.setOptional(In,Kn,"bindMatrixInverse");const Kr=Kn.skeleton;Kr&&(Kr.boneTexture===null&&Kr.computeBoneTexture(),Br.setValue(In,"boneTexture",Kr.boneTexture,Bn))}Kn.isBatchedMesh&&(Br.setOptional(In,Kn,"batchingTexture"),Br.setValue(In,"batchingTexture",Kn._matricesTexture,Bn),Br.setOptional(In,Kn,"batchingIdTexture"),Br.setValue(In,"batchingIdTexture",Kn._indirectTexture,Bn),Br.setOptional(In,Kn,"batchingColorTexture"),Kn._colorsTexture!==null&&Br.setValue(In,"batchingColorTexture",Kn._colorsTexture,Bn));const ei=ur.morphAttributes;if((ei.position!==void 0||ei.normal!==void 0||ei.color!==void 0)&&cr.update(Kn,ur,qr),(Zr||kr.receiveShadow!==Kn.receiveShadow)&&(kr.receiveShadow=Kn.receiveShadow,Br.setValue(In,"receiveShadow",Kn.receiveShadow)),Vn.isMeshGouraudMaterial&&Vn.envMap!==null&&(Yr.envMap.value=Er,Yr.flipEnvMap.value=Er.isCubeTexture&&Er.isRenderTargetTexture===!1?-1:1),Vn.isMeshStandardMaterial&&Vn.envMap===null&&nr.environment!==null&&(Yr.envMapIntensity.value=nr.environmentIntensity),Yr.dfgLUT!==void 0&&(Yr.dfgLUT.value=getDFGLUT()),Zr&&(Br.setValue(In,"toneMappingExposure",Fe.toneMappingExposure),kr.needsLights&&Rr(Yr,fi),dr&&Vn.fog===!0&&pr.refreshFogUniforms(Yr,dr),pr.refreshMaterialUniforms(Yr,Vn,bn,wn,Oe.state.transmissionRenderTarget[Dn.id]),WebGLUniforms.upload(In,ar(kr),Yr,Bn)),Vn.isShaderMaterial&&Vn.uniformsNeedUpdate===!0&&(WebGLUniforms.upload(In,ar(kr),Yr,Bn),Vn.uniformsNeedUpdate=!1),Vn.isSpriteMaterial&&Br.setValue(In,"center",Kn.center),Br.setValue(In,"modelViewMatrix",Kn.modelViewMatrix),Br.setValue(In,"normalMatrix",Kn.normalMatrix),Br.setValue(In,"modelMatrix",Kn.matrixWorld),Vn.isShaderMaterial||Vn.isRawShaderMaterial){const Kr=Vn.uniformsGroups;for(let Xr=0,pi=Kr.length;Xr0&&Bn.useMultisampledRTT(Dn)===!1?Vn=Mn.get(Dn).__webglMultisampledFramebuffer:Array.isArray(xr)?Vn=xr[ur]:Vn=xr,Dt.copy(Dn.viewport),Lt.copy(Dn.scissor),jt=Dn.scissorTest}else Dt.copy(Tn).multiplyScalar(bn).floor(),Lt.copy(En).multiplyScalar(bn).floor(),jt=kn;if(ur!==0&&(Vn=Gr),Gn.bindFramebuffer(In.FRAMEBUFFER,Vn)&&Gn.drawBuffers(Dn,Vn),Gn.viewport(Dt),Gn.scissor(Lt),Gn.setScissorTest(jt),Kn){const br=Mn.get(Dn.texture);In.framebufferTexture2D(In.FRAMEBUFFER,In.COLOR_ATTACHMENT0,In.TEXTURE_CUBE_MAP_POSITIVE_X+nr,br.__webglTexture,ur)}else if(dr){const br=nr;for(let Er=0;Er=0&&nr<=Dn.width-Vn&&ur>=0&&ur<=Dn.height-Kn&&(Dn.textures.length>1&&In.readBuffer(In.COLOR_ATTACHMENT0+br),In.readPixels(nr,ur,Vn,Kn,vr.convert(Nr),vr.convert(Ar),dr))}finally{const xr=Et!==null?Mn.get(Et).__webglFramebuffer:null;Gn.bindFramebuffer(In.FRAMEBUFFER,xr)}}},this.readRenderTargetPixelsAsync=async function(Dn,nr,ur,Vn,Kn,dr,mr,br=0){if(!(Dn&&Dn.isWebGLRenderTarget))throw new Error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let Er=Mn.get(Dn).__webglFramebuffer;if(Dn.isWebGLCubeRenderTarget&&mr!==void 0&&(Er=Er[mr]),Er)if(nr>=0&&nr<=Dn.width-Vn&&ur>=0&&ur<=Dn.height-Kn){Gn.bindFramebuffer(In.FRAMEBUFFER,Er);const xr=Dn.textures[br],Nr=xr.format,Ar=xr.type;if(!Zn.textureFormatReadable(Nr))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.");if(!Zn.textureTypeReadable(Ar))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.");const $r=In.createBuffer();In.bindBuffer(In.PIXEL_PACK_BUFFER,$r),In.bufferData(In.PIXEL_PACK_BUFFER,dr.byteLength,In.STREAM_READ),Dn.textures.length>1&&In.readBuffer(In.COLOR_ATTACHMENT0+br),In.readPixels(nr,ur,Vn,Kn,vr.convert(Nr),vr.convert(Ar),0);const Ir=Et!==null?Mn.get(Et).__webglFramebuffer:null;Gn.bindFramebuffer(In.FRAMEBUFFER,Ir);const Vr=In.fenceSync(In.SYNC_GPU_COMMANDS_COMPLETE,0);return In.flush(),await probeAsync(In,Vr,4),In.bindBuffer(In.PIXEL_PACK_BUFFER,$r),In.getBufferSubData(In.PIXEL_PACK_BUFFER,0,dr),In.deleteBuffer($r),In.deleteSync(Vr),dr}else throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.")},this.copyFramebufferToTexture=function(Dn,nr=null,ur=0){const Vn=Math.pow(2,-ur),Kn=Math.floor(Dn.image.width*Vn),dr=Math.floor(Dn.image.height*Vn),mr=nr!==null?nr.x:0,br=nr!==null?nr.y:0;Bn.setTexture2D(Dn,0),In.copyTexSubImage2D(In.TEXTURE_2D,ur,0,0,mr,br,Kn,dr),Gn.unbindTexture()};const Hr=In.createFramebuffer(),Qr=In.createFramebuffer();this.copyTextureToTexture=function(Dn,nr,ur=null,Vn=null,Kn=0,dr=null){dr===null&&(Kn!==0?(warnOnce("WebGLRenderer: copyTextureToTexture function signature has changed to support src and dst mipmap levels."),dr=Kn,Kn=0):dr=0);let mr,br,Er,xr,Nr,Ar,$r,Ir,Vr;const Fr=Dn.isCompressedTexture?Dn.mipmaps[dr]:Dn.image;if(ur!==null)mr=ur.max.x-ur.min.x,br=ur.max.y-ur.min.y,Er=ur.isBox3?ur.max.z-ur.min.z:1,xr=ur.min.x,Nr=ur.min.y,Ar=ur.isBox3?ur.min.z:0;else{const ei=Math.pow(2,-Kn);mr=Math.floor(Fr.width*ei),br=Math.floor(Fr.height*ei),Dn.isDataArrayTexture?Er=Fr.depth:Dn.isData3DTexture?Er=Math.floor(Fr.depth*ei):Er=1,xr=0,Nr=0,Ar=0}Vn!==null?($r=Vn.x,Ir=Vn.y,Vr=Vn.z):($r=0,Ir=0,Vr=0);const Or=vr.convert(nr.format),kr=vr.convert(nr.type);let Lr;nr.isData3DTexture?(Bn.setTexture3D(nr,0),Lr=In.TEXTURE_3D):nr.isDataArrayTexture||nr.isCompressedArrayTexture?(Bn.setTexture2DArray(nr,0),Lr=In.TEXTURE_2D_ARRAY):(Bn.setTexture2D(nr,0),Lr=In.TEXTURE_2D),In.pixelStorei(In.UNPACK_FLIP_Y_WEBGL,nr.flipY),In.pixelStorei(In.UNPACK_PREMULTIPLY_ALPHA_WEBGL,nr.premultiplyAlpha),In.pixelStorei(In.UNPACK_ALIGNMENT,nr.unpackAlignment);const Pr=In.getParameter(In.UNPACK_ROW_LENGTH),qr=In.getParameter(In.UNPACK_IMAGE_HEIGHT),ui=In.getParameter(In.UNPACK_SKIP_PIXELS),Zr=In.getParameter(In.UNPACK_SKIP_ROWS),fi=In.getParameter(In.UNPACK_SKIP_IMAGES);In.pixelStorei(In.UNPACK_ROW_LENGTH,Fr.width),In.pixelStorei(In.UNPACK_IMAGE_HEIGHT,Fr.height),In.pixelStorei(In.UNPACK_SKIP_PIXELS,xr),In.pixelStorei(In.UNPACK_SKIP_ROWS,Nr),In.pixelStorei(In.UNPACK_SKIP_IMAGES,Ar);const Br=Dn.isDataArrayTexture||Dn.isData3DTexture,Yr=nr.isDataArrayTexture||nr.isData3DTexture;if(Dn.isDepthTexture){const ei=Mn.get(Dn),Kr=Mn.get(nr),Xr=Mn.get(ei.__renderTarget),pi=Mn.get(Kr.__renderTarget);Gn.bindFramebuffer(In.READ_FRAMEBUFFER,Xr.__webglFramebuffer),Gn.bindFramebuffer(In.DRAW_FRAMEBUFFER,pi.__webglFramebuffer);for(let oi=0;oiMath.PI&&(i-=_twoPI),g<-Math.PI?g+=_twoPI:g>Math.PI&&(g-=_twoPI),i<=g?this._spherical.theta=Math.max(i,Math.min(g,this._spherical.theta)):this._spherical.theta=this._spherical.theta>(i+g)/2?Math.max(i,this._spherical.theta):Math.min(g,this._spherical.theta)),this._spherical.phi=Math.max(this.minPolarAngle,Math.min(this.maxPolarAngle,this._spherical.phi)),this._spherical.makeSafe(),this.enableDamping===!0?this.target.addScaledVector(this._panOffset,this.dampingFactor):this.target.add(this._panOffset),this.target.sub(this.cursor),this.target.clampLength(this.minTargetRadius,this.maxTargetRadius),this.target.add(this.cursor);let $=!1;if(this.zoomToCursor&&this._performCursorZoom||this.object.isOrthographicCamera)this._spherical.radius=this._clampDistance(this._spherical.radius);else{const V=this._spherical.radius;this._spherical.radius=this._clampDistance(this._spherical.radius*this._scale),$=V!=this._spherical.radius}if(_v.setFromSpherical(this._spherical),_v.applyQuaternion(this._quatInverse),r.copy(this.target).add(_v),this.object.lookAt(this.target),this.enableDamping===!0?(this._sphericalDelta.theta*=1-this.dampingFactor,this._sphericalDelta.phi*=1-this.dampingFactor,this._panOffset.multiplyScalar(1-this.dampingFactor)):(this._sphericalDelta.set(0,0,0),this._panOffset.set(0,0,0)),this.zoomToCursor&&this._performCursorZoom){let V=null;if(this.object.isPerspectiveCamera){const re=_v.length();V=this._clampDistance(re*this._scale);const ie=re-V;this.object.position.addScaledVector(this._dollyDirection,ie),this.object.updateMatrixWorld(),$=!!ie}else if(this.object.isOrthographicCamera){const re=new Vector3(this._mouse.x,this._mouse.y,0);re.unproject(this.object);const ie=this.object.zoom;this.object.zoom=Math.max(this.minZoom,Math.min(this.maxZoom,this.object.zoom/this._scale)),this.object.updateProjectionMatrix(),$=ie!==this.object.zoom;const ae=new Vector3(this._mouse.x,this._mouse.y,0);ae.unproject(this.object),this.object.position.sub(ae).add(re),this.object.updateMatrixWorld(),V=_v.length()}else console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."),this.zoomToCursor=!1;V!==null&&(this.screenSpacePanning?this.target.set(0,0,-1).transformDirection(this.object.matrix).multiplyScalar(V).add(this.object.position):(_ray.origin.copy(this.object.position),_ray.direction.set(0,0,-1).transformDirection(this.object.matrix),Math.abs(this.object.up.dot(_ray.direction))<_TILT_LIMIT?this.object.lookAt(this.target):(_plane.setFromNormalAndCoplanarPoint(this.object.up,this.target),_ray.intersectPlane(_plane,this.target))))}else if(this.object.isOrthographicCamera){const V=this.object.zoom;this.object.zoom=Math.max(this.minZoom,Math.min(this.maxZoom,this.object.zoom/this._scale)),V!==this.object.zoom&&(this.object.updateProjectionMatrix(),$=!0)}return this._scale=1,this._performCursorZoom=!1,$||this._lastPosition.distanceToSquared(this.object.position)>_EPS||8*(1-this._lastQuaternion.dot(this.object.quaternion))>_EPS||this._lastTargetPosition.distanceToSquared(this.target)>_EPS?(this.dispatchEvent(_changeEvent),this._lastPosition.copy(this.object.position),this._lastQuaternion.copy(this.object.quaternion),this._lastTargetPosition.copy(this.target),!0):!1}_getAutoRotationAngle(t){return t!==null?_twoPI/60*this.autoRotateSpeed*t:_twoPI/60/60*this.autoRotateSpeed}_getZoomScale(t){const r=Math.abs(t*.01);return Math.pow(.95,this.zoomSpeed*r)}_rotateLeft(t){this._sphericalDelta.theta-=t}_rotateUp(t){this._sphericalDelta.phi-=t}_panLeft(t,r){_v.setFromMatrixColumn(r,0),_v.multiplyScalar(-t),this._panOffset.add(_v)}_panUp(t,r){this.screenSpacePanning===!0?_v.setFromMatrixColumn(r,1):(_v.setFromMatrixColumn(r,0),_v.crossVectors(this.object.up,_v)),_v.multiplyScalar(t),this._panOffset.add(_v)}_pan(t,r){const i=this.domElement;if(this.object.isPerspectiveCamera){const g=this.object.position;_v.copy(g).sub(this.target);let $=_v.length();$*=Math.tan(this.object.fov/2*Math.PI/180),this._panLeft(2*t*$/i.clientHeight,this.object.matrix),this._panUp(2*r*$/i.clientHeight,this.object.matrix)}else this.object.isOrthographicCamera?(this._panLeft(t*(this.object.right-this.object.left)/this.object.zoom/i.clientWidth,this.object.matrix),this._panUp(r*(this.object.top-this.object.bottom)/this.object.zoom/i.clientHeight,this.object.matrix)):(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled."),this.enablePan=!1)}_dollyOut(t){this.object.isPerspectiveCamera||this.object.isOrthographicCamera?this._scale/=t:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),this.enableZoom=!1)}_dollyIn(t){this.object.isPerspectiveCamera||this.object.isOrthographicCamera?this._scale*=t:(console.warn("WARNING: OrbitControls.js encountered an unknown camera type - dolly/zoom disabled."),this.enableZoom=!1)}_updateZoomParameters(t,r){if(!this.zoomToCursor)return;this._performCursorZoom=!0;const i=this.domElement.getBoundingClientRect(),g=t-i.left,$=r-i.top,V=i.width,re=i.height;this._mouse.x=g/V*2-1,this._mouse.y=-($/re)*2+1,this._dollyDirection.set(this._mouse.x,this._mouse.y,1).unproject(this.object).sub(this.object.position).normalize()}_clampDistance(t){return Math.max(this.minDistance,Math.min(this.maxDistance,t))}_handleMouseDownRotate(t){this._rotateStart.set(t.clientX,t.clientY)}_handleMouseDownDolly(t){this._updateZoomParameters(t.clientX,t.clientX),this._dollyStart.set(t.clientX,t.clientY)}_handleMouseDownPan(t){this._panStart.set(t.clientX,t.clientY)}_handleMouseMoveRotate(t){this._rotateEnd.set(t.clientX,t.clientY),this._rotateDelta.subVectors(this._rotateEnd,this._rotateStart).multiplyScalar(this.rotateSpeed);const r=this.domElement;this._rotateLeft(_twoPI*this._rotateDelta.x/r.clientHeight),this._rotateUp(_twoPI*this._rotateDelta.y/r.clientHeight),this._rotateStart.copy(this._rotateEnd),this.update()}_handleMouseMoveDolly(t){this._dollyEnd.set(t.clientX,t.clientY),this._dollyDelta.subVectors(this._dollyEnd,this._dollyStart),this._dollyDelta.y>0?this._dollyOut(this._getZoomScale(this._dollyDelta.y)):this._dollyDelta.y<0&&this._dollyIn(this._getZoomScale(this._dollyDelta.y)),this._dollyStart.copy(this._dollyEnd),this.update()}_handleMouseMovePan(t){this._panEnd.set(t.clientX,t.clientY),this._panDelta.subVectors(this._panEnd,this._panStart).multiplyScalar(this.panSpeed),this._pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd),this.update()}_handleMouseWheel(t){this._updateZoomParameters(t.clientX,t.clientY),t.deltaY<0?this._dollyIn(this._getZoomScale(t.deltaY)):t.deltaY>0&&this._dollyOut(this._getZoomScale(t.deltaY)),this.update()}_handleKeyDown(t){let r=!1;switch(t.code){case this.keys.UP:t.ctrlKey||t.metaKey||t.shiftKey?this.enableRotate&&this._rotateUp(_twoPI*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(0,this.keyPanSpeed),r=!0;break;case this.keys.BOTTOM:t.ctrlKey||t.metaKey||t.shiftKey?this.enableRotate&&this._rotateUp(-_twoPI*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(0,-this.keyPanSpeed),r=!0;break;case this.keys.LEFT:t.ctrlKey||t.metaKey||t.shiftKey?this.enableRotate&&this._rotateLeft(_twoPI*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(this.keyPanSpeed,0),r=!0;break;case this.keys.RIGHT:t.ctrlKey||t.metaKey||t.shiftKey?this.enableRotate&&this._rotateLeft(-_twoPI*this.keyRotateSpeed/this.domElement.clientHeight):this.enablePan&&this._pan(-this.keyPanSpeed,0),r=!0;break}r&&(t.preventDefault(),this.update())}_handleTouchStartRotate(t){if(this._pointers.length===1)this._rotateStart.set(t.pageX,t.pageY);else{const r=this._getSecondPointerPosition(t),i=.5*(t.pageX+r.x),g=.5*(t.pageY+r.y);this._rotateStart.set(i,g)}}_handleTouchStartPan(t){if(this._pointers.length===1)this._panStart.set(t.pageX,t.pageY);else{const r=this._getSecondPointerPosition(t),i=.5*(t.pageX+r.x),g=.5*(t.pageY+r.y);this._panStart.set(i,g)}}_handleTouchStartDolly(t){const r=this._getSecondPointerPosition(t),i=t.pageX-r.x,g=t.pageY-r.y,$=Math.sqrt(i*i+g*g);this._dollyStart.set(0,$)}_handleTouchStartDollyPan(t){this.enableZoom&&this._handleTouchStartDolly(t),this.enablePan&&this._handleTouchStartPan(t)}_handleTouchStartDollyRotate(t){this.enableZoom&&this._handleTouchStartDolly(t),this.enableRotate&&this._handleTouchStartRotate(t)}_handleTouchMoveRotate(t){if(this._pointers.length==1)this._rotateEnd.set(t.pageX,t.pageY);else{const i=this._getSecondPointerPosition(t),g=.5*(t.pageX+i.x),$=.5*(t.pageY+i.y);this._rotateEnd.set(g,$)}this._rotateDelta.subVectors(this._rotateEnd,this._rotateStart).multiplyScalar(this.rotateSpeed);const r=this.domElement;this._rotateLeft(_twoPI*this._rotateDelta.x/r.clientHeight),this._rotateUp(_twoPI*this._rotateDelta.y/r.clientHeight),this._rotateStart.copy(this._rotateEnd)}_handleTouchMovePan(t){if(this._pointers.length===1)this._panEnd.set(t.pageX,t.pageY);else{const r=this._getSecondPointerPosition(t),i=.5*(t.pageX+r.x),g=.5*(t.pageY+r.y);this._panEnd.set(i,g)}this._panDelta.subVectors(this._panEnd,this._panStart).multiplyScalar(this.panSpeed),this._pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd)}_handleTouchMoveDolly(t){const r=this._getSecondPointerPosition(t),i=t.pageX-r.x,g=t.pageY-r.y,$=Math.sqrt(i*i+g*g);this._dollyEnd.set(0,$),this._dollyDelta.set(0,Math.pow(this._dollyEnd.y/this._dollyStart.y,this.zoomSpeed)),this._dollyOut(this._dollyDelta.y),this._dollyStart.copy(this._dollyEnd);const V=(t.pageX+r.x)*.5,re=(t.pageY+r.y)*.5;this._updateZoomParameters(V,re)}_handleTouchMoveDollyPan(t){this.enableZoom&&this._handleTouchMoveDolly(t),this.enablePan&&this._handleTouchMovePan(t)}_handleTouchMoveDollyRotate(t){this.enableZoom&&this._handleTouchMoveDolly(t),this.enableRotate&&this._handleTouchMoveRotate(t)}_addPointer(t){this._pointers.push(t.pointerId)}_removePointer(t){delete this._pointerPositions[t.pointerId];for(let r=0;r1e4?1e4:n,{In:function(t){return Math.pow(t,n)},Out:function(t){return 1-Math.pow(1-t,n)},InOut:function(t){return t<.5?Math.pow(t*2,n)/2:(1-Math.pow(2-t*2,n))/2+.5}}}}),now=function(){return performance.now()},Group$4=function(){function n(){for(var t=[],r=0;r0;){this._tweensAddedDuringUpdate={};for(var g=0;g1?$(n[r],n[r-1],r-i):$(n[g],n[g+1>r?r:g+1],i-g)},Bezier:function(n,t){for(var r=0,i=n.length-1,g=Math.pow,$=Interpolation.Utils.Bernstein,V=0;V<=i;V++)r+=g(1-t,i-V)*g(t,V)*n[V]*$(i,V);return r},CatmullRom:function(n,t){var r=n.length-1,i=r*t,g=Math.floor(i),$=Interpolation.Utils.CatmullRom;return n[0]===n[r]?(t<0&&(g=Math.floor(i=r*(1+t))),$(n[(g-1+r)%r],n[g],n[(g+1)%r],n[(g+2)%r],i-g)):t<0?n[0]-($(n[0],n[0],n[1],n[1],-i)-n[0]):t>1?n[r]-($(n[r],n[r],n[r-1],n[r-1],i-r)-n[r]):$(n[g?g-1:0],n[g],n[r1;i--)r*=i;return n[t]=r,r}}(),CatmullRom:function(n,t,r,i,g){var $=(r-n)*.5,V=(i-t)*.5,re=g*g,ie=g*re;return(2*t-2*r+$+V)*ie+(-3*t+3*r-2*$-V)*re+$*g+t}}},Sequence=function(){function n(){}return n.nextId=function(){return n._nextId++},n._nextId=0,n}(),mainGroup=new Group$4,Tween$1=function(){function n(t,r){this._isPaused=!1,this._pauseStart=0,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._isDynamic=!1,this._initialRepeat=0,this._repeat=0,this._yoyo=!1,this._isPlaying=!1,this._reversed=!1,this._delayTime=0,this._startTime=0,this._easingFunction=Easing.Linear.None,this._interpolationFunction=Interpolation.Linear,this._chainedTweens=[],this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._id=Sequence.nextId(),this._isChainStopped=!1,this._propertiesAreSetUp=!1,this._goToEnd=!1,this._object=t,typeof r=="object"?(this._group=r,r.add(this)):r===!0&&(this._group=mainGroup,mainGroup.add(this))}return n.prototype.getId=function(){return this._id},n.prototype.isPlaying=function(){return this._isPlaying},n.prototype.isPaused=function(){return this._isPaused},n.prototype.getDuration=function(){return this._duration},n.prototype.to=function(t,r){if(r===void 0&&(r=1e3),this._isPlaying)throw new Error("Can not call Tween.to() while Tween is already started or paused. Stop the Tween first.");return this._valuesEnd=t,this._propertiesAreSetUp=!1,this._duration=r<0?0:r,this},n.prototype.duration=function(t){return t===void 0&&(t=1e3),this._duration=t<0?0:t,this},n.prototype.dynamic=function(t){return t===void 0&&(t=!1),this._isDynamic=t,this},n.prototype.start=function(t,r){if(t===void 0&&(t=now()),r===void 0&&(r=!1),this._isPlaying)return this;if(this._repeat=this._initialRepeat,this._reversed){this._reversed=!1;for(var i in this._valuesStartRepeat)this._swapEndStartRepeatValues(i),this._valuesStart[i]=this._valuesStartRepeat[i]}if(this._isPlaying=!0,this._isPaused=!1,this._onStartCallbackFired=!1,this._onEveryStartCallbackFired=!1,this._isChainStopped=!1,this._startTime=t,this._startTime+=this._delayTime,!this._propertiesAreSetUp||r){if(this._propertiesAreSetUp=!0,!this._isDynamic){var g={};for(var $ in this._valuesEnd)g[$]=this._valuesEnd[$];this._valuesEnd=g}this._setupProperties(this._object,this._valuesStart,this._valuesEnd,this._valuesStartRepeat,r)}return this},n.prototype.startFromCurrentValues=function(t){return this.start(t,!0)},n.prototype._setupProperties=function(t,r,i,g,$){for(var V in i){var re=t[V],ie=Array.isArray(re),ae=ie?"array":typeof re,oe=!ie&&Array.isArray(i[V]);if(!(ae==="undefined"||ae==="function")){if(oe){var le=i[V];if(le.length===0)continue;for(var ue=[re],de=0,he=le.length;de"u"||$)&&(r[V]=re),ie||(r[V]*=1),oe?g[V]=i[V].slice().reverse():g[V]=r[V]||0}}},n.prototype.stop=function(){return this._isChainStopped||(this._isChainStopped=!0,this.stopChainedTweens()),this._isPlaying?(this._isPlaying=!1,this._isPaused=!1,this._onStopCallback&&this._onStopCallback(this._object),this):this},n.prototype.end=function(){return this._goToEnd=!0,this.update(this._startTime+this._duration),this},n.prototype.pause=function(t){return t===void 0&&(t=now()),this._isPaused||!this._isPlaying?this:(this._isPaused=!0,this._pauseStart=t,this)},n.prototype.resume=function(t){return t===void 0&&(t=now()),!this._isPaused||!this._isPlaying?this:(this._isPaused=!1,this._startTime+=t-this._pauseStart,this._pauseStart=0,this)},n.prototype.stopChainedTweens=function(){for(var t=0,r=this._chainedTweens.length;tie)return 1;var pe=Math.trunc(V/re),_e=V-pe*re,Ce=Math.min(_e/i._duration,1);return Ce===0&&V===i._duration?1:Ce},oe=ae(),le=this._easingFunction(oe);if(this._updateProperties(this._object,this._valuesStart,this._valuesEnd,le),this._onUpdateCallback&&this._onUpdateCallback(this._object,oe),this._duration===0||V>=this._duration)if(this._repeat>0){var ue=Math.min(Math.trunc((V-this._duration)/re)+1,this._repeat);isFinite(this._repeat)&&(this._repeat-=ue);for($ in this._valuesStartRepeat)!this._yoyo&&typeof this._valuesEnd[$]=="string"&&(this._valuesStartRepeat[$]=this._valuesStartRepeat[$]+parseFloat(this._valuesEnd[$])),this._yoyo&&this._swapEndStartRepeatValues($),this._valuesStart[$]=this._valuesStartRepeat[$];return this._yoyo&&(this._reversed=!this._reversed),this._startTime+=re*ue,this._onRepeatCallback&&this._onRepeatCallback(this._object),this._onEveryStartCallbackFired=!1,!0}else{this._onCompleteCallback&&this._onCompleteCallback(this._object);for(var de=0,he=this._chainedTweens.length;de=2.0 are supported."));return}const ae=new GLTFParser($,{path:r||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});ae.fileLoader.setRequestHeader(this.requestHeader);for(let oe=0;oe=0&&re[le]===void 0&&console.warn('THREE.GLTFLoader: Unknown extension "'+le+'".')}}ae.setExtensions(V),ae.setPlugins(re),ae.parse(i,g)}parseAsync(t,r){const i=this;return new Promise(function(g,$){i.parse(t,r,g,$)})}}function GLTFRegistry(){let n={};return{get:function(t){return n[t]},add:function(t,r){n[t]=r},remove:function(t){delete n[t]},removeAll:function(){n={}}}}const EXTENSIONS={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_DISPERSION:"KHR_materials_dispersion",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 GLTFLightsExtension{constructor(t){this.parser=t,this.name=EXTENSIONS.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){const t=this.parser,r=this.parser.json.nodes||[];for(let i=0,g=r.length;i=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return r.loadTextureImage(t,$.source,V)}}class GLTFTextureWebPExtension{constructor(t){this.parser=t,this.name=EXTENSIONS.EXT_TEXTURE_WEBP}loadTexture(t){const r=this.name,i=this.parser,g=i.json,$=g.textures[t];if(!$.extensions||!$.extensions[r])return null;const V=$.extensions[r],re=g.images[V.source];let ie=i.textureLoader;if(re.uri){const ae=i.options.manager.getHandler(re.uri);ae!==null&&(ie=ae)}return i.loadTextureImage(t,V.source,ie)}}class GLTFTextureAVIFExtension{constructor(t){this.parser=t,this.name=EXTENSIONS.EXT_TEXTURE_AVIF}loadTexture(t){const r=this.name,i=this.parser,g=i.json,$=g.textures[t];if(!$.extensions||!$.extensions[r])return null;const V=$.extensions[r],re=g.images[V.source];let ie=i.textureLoader;if(re.uri){const ae=i.options.manager.getHandler(re.uri);ae!==null&&(ie=ae)}return i.loadTextureImage(t,V.source,ie)}}class GLTFMeshoptCompression{constructor(t){this.name=EXTENSIONS.EXT_MESHOPT_COMPRESSION,this.parser=t}loadBufferView(t){const r=this.parser.json,i=r.bufferViews[t];if(i.extensions&&i.extensions[this.name]){const g=i.extensions[this.name],$=this.parser.getDependency("buffer",g.buffer),V=this.parser.options.meshoptDecoder;if(!V||!V.supported){if(r.extensionsRequired&&r.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return $.then(function(re){const ie=g.byteOffset||0,ae=g.byteLength||0,oe=g.count,le=g.byteStride,ue=new Uint8Array(re,ie,ae);return V.decodeGltfBufferAsync?V.decodeGltfBufferAsync(oe,le,ue,g.mode,g.filter).then(function(de){return de.buffer}):V.ready.then(function(){const de=new ArrayBuffer(oe*le);return V.decodeGltfBuffer(new Uint8Array(de),oe,le,ue,g.mode,g.filter),de})})}else return null}}class GLTFMeshGpuInstancing{constructor(t){this.name=EXTENSIONS.EXT_MESH_GPU_INSTANCING,this.parser=t}createNodeMesh(t){const r=this.parser.json,i=r.nodes[t];if(!i.extensions||!i.extensions[this.name]||i.mesh===void 0)return null;const g=r.meshes[i.mesh];for(const ae of g.primitives)if(ae.mode!==WEBGL_CONSTANTS.TRIANGLES&&ae.mode!==WEBGL_CONSTANTS.TRIANGLE_STRIP&&ae.mode!==WEBGL_CONSTANTS.TRIANGLE_FAN&&ae.mode!==void 0)return null;const V=i.extensions[this.name].attributes,re=[],ie={};for(const ae in V)re.push(this.parser.getDependency("accessor",V[ae]).then(oe=>(ie[ae]=oe,ie[ae])));return re.length<1?null:(re.push(this.parser.createNodeMesh(t)),Promise.all(re).then(ae=>{const oe=ae.pop(),le=oe.isGroup?oe.children:[oe],ue=ae[0].count,de=[];for(const he of le){const pe=new Matrix4,_e=new Vector3,Ce=new Quaternion,xe=new Vector3(1,1,1),Ie=new InstancedMesh(he.geometry,he.material,ue);for(let Ne=0;Ne0||n.search(/^data\:image\/jpeg/)===0?"image/jpeg":n.search(/\.webp($|\?)/i)>0||n.search(/^data\:image\/webp/)===0?"image/webp":n.search(/\.ktx2($|\?)/i)>0||n.search(/^data\:image\/ktx2/)===0?"image/ktx2":"image/png"}const _identityMatrix=new Matrix4;class GLTFParser{constructor(t={},r={}){this.json=t,this.extensions={},this.plugins={},this.options=r,this.cache=new GLTFRegistry,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 i=!1,g=-1,$=!1,V=-1;if(typeof navigator<"u"){const re=navigator.userAgent;i=/^((?!chrome|android).)*safari/i.test(re)===!0;const ie=re.match(/Version\/(\d+)/);g=i&&ie?parseInt(ie[1],10):-1,$=re.indexOf("Firefox")>-1,V=$?re.match(/Firefox\/([0-9]+)\./)[1]:-1}typeof createImageBitmap>"u"||i&&g<17||$&&V<98?this.textureLoader=new TextureLoader(this.options.manager):this.textureLoader=new ImageBitmapLoader(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new FileLoader(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,r){const i=this,g=this.json,$=this.extensions;this.cache.removeAll(),this.nodeCache={},this._invokeAll(function(V){return V._markDefs&&V._markDefs()}),Promise.all(this._invokeAll(function(V){return V.beforeRoot&&V.beforeRoot()})).then(function(){return Promise.all([i.getDependencies("scene"),i.getDependencies("animation"),i.getDependencies("camera")])}).then(function(V){const re={scene:V[0][g.scene||0],scenes:V[0],animations:V[1],cameras:V[2],asset:g.asset,parser:i,userData:{}};return addUnknownExtensionsToUserData($,re,g),assignExtrasToUserData(re,g),Promise.all(i._invokeAll(function(ie){return ie.afterRoot&&ie.afterRoot(re)})).then(function(){for(const ie of re.scenes)ie.updateMatrixWorld();t(re)})}).catch(r)}_markDefs(){const t=this.json.nodes||[],r=this.json.skins||[],i=this.json.meshes||[];for(let g=0,$=r.length;g<$;g++){const V=r[g].joints;for(let re=0,ie=V.length;re{const ie=this.associations.get(V);ie!=null&&this.associations.set(re,ie);for(const[ae,oe]of V.children.entries())$(oe,re.children[ae])};return $(i,g),g.name+="_instance_"+t.uses[r]++,g}_invokeOne(t){const r=Object.values(this.plugins);r.push(this);for(let i=0;i=2&&_e.setY(Fe,$e[Ve*ie+1]),ie>=3&&_e.setZ(Fe,$e[Ve*ie+2]),ie>=4&&_e.setW(Fe,$e[Ve*ie+3]),ie>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}_e.normalized=he}return _e})}loadTexture(t){const r=this.json,i=this.options,$=r.textures[t].source,V=r.images[$];let re=this.textureLoader;if(V.uri){const ie=i.manager.getHandler(V.uri);ie!==null&&(re=ie)}return this.loadTextureImage(t,$,re)}loadTextureImage(t,r,i){const g=this,$=this.json,V=$.textures[t],re=$.images[r],ie=(re.uri||re.bufferView)+":"+V.sampler;if(this.textureCache[ie])return this.textureCache[ie];const ae=this.loadImageSource(r,i).then(function(oe){oe.flipY=!1,oe.name=V.name||re.name||"",oe.name===""&&typeof re.uri=="string"&&re.uri.startsWith("data:image/")===!1&&(oe.name=re.uri);const ue=($.samplers||{})[V.sampler]||{};return oe.magFilter=WEBGL_FILTERS[ue.magFilter]||LinearFilter,oe.minFilter=WEBGL_FILTERS[ue.minFilter]||LinearMipmapLinearFilter,oe.wrapS=WEBGL_WRAPPINGS[ue.wrapS]||RepeatWrapping,oe.wrapT=WEBGL_WRAPPINGS[ue.wrapT]||RepeatWrapping,oe.generateMipmaps=!oe.isCompressedTexture&&oe.minFilter!==NearestFilter&&oe.minFilter!==LinearFilter,g.associations.set(oe,{textures:t}),oe}).catch(function(){return null});return this.textureCache[ie]=ae,ae}loadImageSource(t,r){const i=this,g=this.json,$=this.options;if(this.sourceCache[t]!==void 0)return this.sourceCache[t].then(le=>le.clone());const V=g.images[t],re=self.URL||self.webkitURL;let ie=V.uri||"",ae=!1;if(V.bufferView!==void 0)ie=i.getDependency("bufferView",V.bufferView).then(function(le){ae=!0;const ue=new Blob([le],{type:V.mimeType});return ie=re.createObjectURL(ue),ie});else if(V.uri===void 0)throw new Error("THREE.GLTFLoader: Image "+t+" is missing URI and bufferView");const oe=Promise.resolve(ie).then(function(le){return new Promise(function(ue,de){let he=ue;r.isImageBitmapLoader===!0&&(he=function(pe){const _e=new Texture(pe);_e.needsUpdate=!0,ue(_e)}),r.load(LoaderUtils.resolveURL(le,$.path),he,void 0,de)})}).then(function(le){return ae===!0&&re.revokeObjectURL(ie),assignExtrasToUserData(le,V),le.userData.mimeType=V.mimeType||getImageURIMimeType(V.uri),le}).catch(function(le){throw console.error("THREE.GLTFLoader: Couldn't load texture",ie),le});return this.sourceCache[t]=oe,oe}assignTexture(t,r,i,g){const $=this;return this.getDependency("texture",i.index).then(function(V){if(!V)return null;if(i.texCoord!==void 0&&i.texCoord>0&&(V=V.clone(),V.channel=i.texCoord),$.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM]){const re=i.extensions!==void 0?i.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM]:void 0;if(re){const ie=$.associations.get(V);V=$.extensions[EXTENSIONS.KHR_TEXTURE_TRANSFORM].extendTexture(V,re),$.associations.set(V,ie)}}return g!==void 0&&(V.colorSpace=g),t[r]=V,V})}assignFinalMaterial(t){const r=t.geometry;let i=t.material;const g=r.attributes.tangent===void 0,$=r.attributes.color!==void 0,V=r.attributes.normal===void 0;if(t.isPoints){const re="PointsMaterial:"+i.uuid;let ie=this.cache.get(re);ie||(ie=new PointsMaterial,Material.prototype.copy.call(ie,i),ie.color.copy(i.color),ie.map=i.map,ie.sizeAttenuation=!1,this.cache.add(re,ie)),i=ie}else if(t.isLine){const re="LineBasicMaterial:"+i.uuid;let ie=this.cache.get(re);ie||(ie=new LineBasicMaterial,Material.prototype.copy.call(ie,i),ie.color.copy(i.color),ie.map=i.map,this.cache.add(re,ie)),i=ie}if(g||$||V){let re="ClonedMaterial:"+i.uuid+":";g&&(re+="derivative-tangents:"),$&&(re+="vertex-colors:"),V&&(re+="flat-shading:");let ie=this.cache.get(re);ie||(ie=i.clone(),$&&(ie.vertexColors=!0),V&&(ie.flatShading=!0),g&&(ie.normalScale&&(ie.normalScale.y*=-1),ie.clearcoatNormalScale&&(ie.clearcoatNormalScale.y*=-1)),this.cache.add(re,ie),this.associations.set(ie,this.associations.get(i))),i=ie}t.material=i}getMaterialType(){return MeshStandardMaterial}loadMaterial(t){const r=this,i=this.json,g=this.extensions,$=i.materials[t];let V;const re={},ie=$.extensions||{},ae=[];if(ie[EXTENSIONS.KHR_MATERIALS_UNLIT]){const le=g[EXTENSIONS.KHR_MATERIALS_UNLIT];V=le.getMaterialType(),ae.push(le.extendParams(re,$,r))}else{const le=$.pbrMetallicRoughness||{};if(re.color=new Color(1,1,1),re.opacity=1,Array.isArray(le.baseColorFactor)){const ue=le.baseColorFactor;re.color.setRGB(ue[0],ue[1],ue[2],LinearSRGBColorSpace),re.opacity=ue[3]}le.baseColorTexture!==void 0&&ae.push(r.assignTexture(re,"map",le.baseColorTexture,SRGBColorSpace)),re.metalness=le.metallicFactor!==void 0?le.metallicFactor:1,re.roughness=le.roughnessFactor!==void 0?le.roughnessFactor:1,le.metallicRoughnessTexture!==void 0&&(ae.push(r.assignTexture(re,"metalnessMap",le.metallicRoughnessTexture)),ae.push(r.assignTexture(re,"roughnessMap",le.metallicRoughnessTexture))),V=this._invokeOne(function(ue){return ue.getMaterialType&&ue.getMaterialType(t)}),ae.push(Promise.all(this._invokeAll(function(ue){return ue.extendMaterialParams&&ue.extendMaterialParams(t,re)})))}$.doubleSided===!0&&(re.side=DoubleSide);const oe=$.alphaMode||ALPHA_MODES.OPAQUE;if(oe===ALPHA_MODES.BLEND?(re.transparent=!0,re.depthWrite=!1):(re.transparent=!1,oe===ALPHA_MODES.MASK&&(re.alphaTest=$.alphaCutoff!==void 0?$.alphaCutoff:.5)),$.normalTexture!==void 0&&V!==MeshBasicMaterial&&(ae.push(r.assignTexture(re,"normalMap",$.normalTexture)),re.normalScale=new Vector2(1,1),$.normalTexture.scale!==void 0)){const le=$.normalTexture.scale;re.normalScale.set(le,le)}if($.occlusionTexture!==void 0&&V!==MeshBasicMaterial&&(ae.push(r.assignTexture(re,"aoMap",$.occlusionTexture)),$.occlusionTexture.strength!==void 0&&(re.aoMapIntensity=$.occlusionTexture.strength)),$.emissiveFactor!==void 0&&V!==MeshBasicMaterial){const le=$.emissiveFactor;re.emissive=new Color().setRGB(le[0],le[1],le[2],LinearSRGBColorSpace)}return $.emissiveTexture!==void 0&&V!==MeshBasicMaterial&&ae.push(r.assignTexture(re,"emissiveMap",$.emissiveTexture,SRGBColorSpace)),Promise.all(ae).then(function(){const le=new V(re);return $.name&&(le.name=$.name),assignExtrasToUserData(le,$),r.associations.set(le,{materials:t}),$.extensions&&addUnknownExtensionsToUserData(g,le,$),le})}createUniqueName(t){const r=PropertyBinding.sanitizeNodeName(t||"");return r in this.nodeNamesUsed?r+"_"+ ++this.nodeNamesUsed[r]:(this.nodeNamesUsed[r]=0,r)}loadGeometries(t){const r=this,i=this.extensions,g=this.primitiveCache;function $(re){return i[EXTENSIONS.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(re,r).then(function(ie){return addPrimitiveAttributes(ie,re,r)})}const V=[];for(let re=0,ie=t.length;re0&&updateMorphTargets(Ce,$),Ce.name=r.createUniqueName($.name||"mesh_"+t),assignExtrasToUserData(Ce,$),_e.extensions&&addUnknownExtensionsToUserData(g,Ce,_e),r.assignFinalMaterial(Ce),le.push(Ce)}for(let de=0,he=le.length;de1?oe=new Group$5:ae.length===1?oe=ae[0]:oe=new Object3D,oe!==ae[0])for(let le=0,ue=ae.length;le1){const le=g.associations.get(oe);g.associations.set(oe,{...le})}return g.associations.get(oe).nodes=t,oe}),this.nodeCache[t]}loadScene(t){const r=this.extensions,i=this.json.scenes[t],g=this,$=new Group$5;i.name&&($.name=g.createUniqueName(i.name)),assignExtrasToUserData($,i),i.extensions&&addUnknownExtensionsToUserData(r,$,i);const V=i.nodes||[],re=[];for(let ie=0,ae=V.length;ie{const le=new Map;for(const[ue,de]of g.associations)(ue instanceof Material||ue instanceof Texture)&&le.set(ue,de);return oe.traverse(ue=>{const de=g.associations.get(ue);de!=null&&le.set(ue,de)}),le};return g.associations=ae($),$})}_createAnimationTracks(t,r,i,g,$){const V=[],re=t.name?t.name:t.uuid,ie=[];PATH_PROPERTIES[$.path]===PATH_PROPERTIES.weights?t.traverse(function(ue){ue.morphTargetInfluences&&ie.push(ue.name?ue.name:ue.uuid)}):ie.push(re);let ae;switch(PATH_PROPERTIES[$.path]){case PATH_PROPERTIES.weights:ae=NumberKeyframeTrack;break;case PATH_PROPERTIES.rotation:ae=QuaternionKeyframeTrack;break;case PATH_PROPERTIES.translation:case PATH_PROPERTIES.scale:ae=VectorKeyframeTrack;break;default:switch(i.itemSize){case 1:ae=NumberKeyframeTrack;break;case 2:case 3:default:ae=VectorKeyframeTrack;break}break}const oe=g.interpolation!==void 0?INTERPOLATION[g.interpolation]:InterpolateLinear,le=this._getArrayFromAccessor(i);for(let ue=0,de=ie.length;ue{var Et;const{x:ze,y:Pt,z:qe}=Ue;(Et=i.value)==null||Et.position.set(ze,Pt,qe)}).start(),g.value=new OrbitControls(i.value,(Fe=r.value)==null?void 0:Fe.domElement),g.value.autoRotate=!1,g.value.autoRotateSpeed=1,g.value.dampingFactor=.2,g.value.rotateSpeed=.3,g.value.enableDamping=!0,g.value.enableRotate=!0,g.value.minDistance=10,g.value.maxPolarAngle=Math.PI*.5}function de(){const Ve=t.value;r.value=new WebGLRenderer({antialias:!0,alpha:!0}),r.value.setClearColor(new Color("#212d36")),r.value.setSize(Ve.clientWidth,Ve.clientHeight),r.value.shadowMap.enabled=!0}function he(){var Ve,Ue;requestAnimationFrame(he),i.value&&((Ve=r.value)==null||Ve.render(re,i.value)),(Ue=g.value)==null||Ue.update(),exports$1.update()}function pe(Ve){let Ue=$.get(Ve);return Ue||(Ue=new TextureLoader().load("/models/"+Ve),Ue.flipY=!1,Ue.wrapS=RepeatWrapping,Ue.wrapT=RepeatWrapping,$.set(Ve,Ue)),Ue}function _e(Ve,Ue,Fe){Ue?Ve.material=new MeshBasicMaterial({map:pe(Ue.name)}):Ve.material=new MeshBasicMaterial({color:Fe})}function Ce({name:Ve}){le.style.display="block",le.curCabinet.name=Ve,le.curCabinet.temperature=Math.round(Math.random()*100);const Ue=Math.ceil(200*Math.random());le.curCabinet.capacity=Ue,le.curCabinet.count=Ue-5}function xe(){le.style.display="none"}function Ie(Ve,Ue){le.style.left=Ve,le.style.top=Ue}function Ne(Ve,Ue){const Fe=r.value.domElement,{width:ze,height:Pt}=Fe;ae.set(Ve/ze*2-1,-(Ue/Pt)*2+1),i.value&&ie.setFromCamera(ae,i.value);const qe=ie.intersectObjects(V)[0];let Et=qe?qe.object:null;oe.value&&oe.value!==Et&&oe.value.material.setValues({map:$.get("cabinet.jpg")}),Et?(Ie(Ve,Ue),Et!==oe.value&&(oe.value=Et,Et.material.setValues({map:$.get("cabinet-hover.jpg")}),Ce(Et))):oe.value&&(oe.value=null,xe())}function Oe(Ve){const Fe=t.value.getBoundingClientRect(),ze=Ve.clientX-Fe.left,Pt=Ve.clientY-Fe.top;Ne(ze,Pt)}let $e=null;return onMounted(()=>{pe("cabinet-hover.jpg"),t.value.onmousemove=Oe,new GLTFLoader().load("/models/machineRoom.gltf",Ue=>{Ue.scene.children.forEach(Fe=>{if(console.log("obj",Fe),Fe instanceof Mesh){const{map:ze,color:Pt}=Fe.material;_e(Fe,ze,Pt),Fe.name.includes("cabinet")&&V.push(Fe)}}),re.add(...Ue.scene.children)}),de(),ue(),he(),$e=new ResizeObserver(()=>{const Ue=t.value;i.value.aspect=Ue.clientWidth/Ue.clientHeight,i.value.updateProjectionMatrix(),r.value.setSize(Ue.clientWidth,Ue.clientHeight)}),$e.observe(t.value)}),onUnmounted(()=>{$e&&($e.disconnect(),$e=null)}),watchEffect(()=>{var Ve;r.value&&((Ve=t.value)==null||Ve.append(r.value.domElement))}),(Ve,Ue)=>(openBlock(),createElementBlock(Fragment,null,[createBaseVNode("div",{id:"plane",style:normalizeStyle$1({left:le.style.left+"px",top:le.style.top+"px",display:le.style.display})},[createBaseVNode("p",null,"机柜名称:"+toDisplayString(le.curCabinet.name),1),createBaseVNode("p",null,"机柜温度:"+toDisplayString(le.curCabinet.temperature)+"°",1),createBaseVNode("p",null,"使用情况:"+toDisplayString(le.curCabinet.count)+"/"+toDisplayString(le.curCabinet.capacity),1)],4),createBaseVNode("div",{ref_key:"containerRef",ref:t,class:"container"},null,512)],64))}}),vueThreeMachine_vue_vue_type_style_index_0_scoped_72cea5bb_lang="",VueThreeMachine=_export_sfc$1(_sfc_main$g,[["__scopeId","data-v-72cea5bb"]]),_taskCache=new WeakMap;class DRACOLoader extends Loader{constructor(t){super(t),this.decoderPath="",this.decoderConfig={},this.decoderBinary=null,this.decoderPending=null,this.workerLimit=4,this.workerPool=[],this.workerNextTaskID=1,this.workerSourceURL="",this.defaultAttributeIDs={position:"POSITION",normal:"NORMAL",color:"COLOR",uv:"TEX_COORD"},this.defaultAttributeTypes={position:"Float32Array",normal:"Float32Array",color:"Float32Array",uv:"Float32Array"}}setDecoderPath(t){return this.decoderPath=t,this}setDecoderConfig(t){return this.decoderConfig=t,this}setWorkerLimit(t){return this.workerLimit=t,this}load(t,r,i,g){const $=new FileLoader(this.manager);$.setPath(this.path),$.setResponseType("arraybuffer"),$.setRequestHeader(this.requestHeader),$.setWithCredentials(this.withCredentials),$.load(t,V=>{this.parse(V,r,g)},i,g)}parse(t,r,i=()=>{}){this.decodeDracoFile(t,r,null,null,SRGBColorSpace,i).catch(i)}decodeDracoFile(t,r,i,g,$=LinearSRGBColorSpace,V=()=>{}){const re={attributeIDs:i||this.defaultAttributeIDs,attributeTypes:g||this.defaultAttributeTypes,useUniqueIDs:!!i,vertexColorSpace:$};return this.decodeGeometry(t,re).then(r).catch(V)}decodeGeometry(t,r){const i=JSON.stringify(r);if(_taskCache.has(t)){const ie=_taskCache.get(t);if(ie.key===i)return ie.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 g;const $=this.workerNextTaskID++,V=t.byteLength,re=this._getWorker($,V).then(ie=>(g=ie,new Promise((ae,oe)=>{g._callbacks[$]={resolve:ae,reject:oe},g.postMessage({type:"decode",id:$,taskConfig:r,buffer:t},[t])}))).then(ie=>this._createGeometry(ie.geometry));return re.catch(()=>!0).then(()=>{g&&$&&this._releaseTask(g,$)}),_taskCache.set(t,{key:i,promise:re}),re}_createGeometry(t){const r=new BufferGeometry;t.index&&r.setIndex(new BufferAttribute(t.index.array,1));for(let i=0;i{i.load(t,g,void 0,$)})}preload(){return this._initDecoder(),this}_initDecoder(){if(this.decoderPending)return this.decoderPending;const t=typeof WebAssembly!="object"||this.decoderConfig.type==="js",r=[];return t?r.push(this._loadLibrary("draco_decoder.js","text")):(r.push(this._loadLibrary("draco_wasm_wrapper.js","text")),r.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))),this.decoderPending=Promise.all(r).then(i=>{const g=i[0];t||(this.decoderConfig.wasmBinary=i[1]);const $=DRACOWorker.toString(),V=["/* draco decoder */",g,"","/* worker */",$.substring($.indexOf("{")+1,$.lastIndexOf("}"))].join(` -`);this.workerSourceURL=URL.createObjectURL(new Blob([V]))}),this.decoderPending}_getWorker(t,r){return this._initDecoder().then(()=>{if(this.workerPool.length$._taskLoad?-1:1});const i=this.workerPool[this.workerPool.length-1];return i._taskCosts[t]=r,i._taskLoad+=r,i})}_releaseTask(t,r){t._taskLoad-=t._taskCosts[r],delete t._callbacks[r],delete t._taskCosts[r]}debug(){console.log("Task load: ",this.workerPool.map(t=>t._taskLoad))}dispose(){for(let t=0;t{const le=oe.draco,ue=new le.Decoder;try{const de=r(le,ue,new Int8Array(ie),ae),he=de.attributes.map(pe=>pe.array.buffer);de.index&&he.push(de.index.array.buffer),self.postMessage({type:"decode",id:re.id,geometry:de},he)}catch(de){console.error(de),self.postMessage({type:"error",id:re.id,error:de.message})}finally{le.destroy(ue)}});break}};function r(V,re,ie,ae){const oe=ae.attributeIDs,le=ae.attributeTypes;let ue,de;const he=re.GetEncodedGeometryType(ie);if(he===V.TRIANGULAR_MESH)ue=new V.Mesh,de=re.DecodeArrayToMesh(ie,ie.byteLength,ue);else if(he===V.POINT_CLOUD)ue=new V.PointCloud,de=re.DecodeArrayToPointCloud(ie,ie.byteLength,ue);else throw new Error("THREE.DRACOLoader: Unexpected geometry type.");if(!de.ok()||ue.ptr===0)throw new Error("THREE.DRACOLoader: Decoding failed: "+de.error_msg());const pe={index:null,attributes:[]};for(const _e in oe){const Ce=self[le[_e]];let xe,Ie;if(ae.useUniqueIDs)Ie=oe[_e],xe=re.GetAttributeByUniqueId(ue,Ie);else{if(Ie=re.GetAttributeId(ue,V[oe[_e]]),Ie===-1)continue;xe=re.GetAttribute(ue,Ie)}const Ne=g(V,re,ue,_e,Ce,xe);_e==="color"&&(Ne.vertexColorSpace=ae.vertexColorSpace),pe.attributes.push(Ne)}return he===V.TRIANGULAR_MESH&&(pe.index=i(V,re,ue)),V.destroy(ue),pe}function i(V,re,ie){const oe=ie.num_faces()*3,le=oe*4,ue=V._malloc(le);re.GetTrianglesUInt32Array(ie,le,ue);const de=new Uint32Array(V.HEAPF32.buffer,ue,oe).slice();return V._free(ue),{array:de,itemSize:1}}function g(V,re,ie,ae,oe,le){const ue=ie.num_points(),de=le.num_components(),he=$(V,oe),pe=de*oe.BYTES_PER_ELEMENT,_e=Math.ceil(pe/4)*4,Ce=_e/oe.BYTES_PER_ELEMENT,xe=ue*pe,Ie=ue*_e,Ne=V._malloc(xe);re.GetAttributeDataArrayForAllPoints(ie,le,he,xe,Ne);const Oe=new oe(V.HEAPF32.buffer,Ne,xe/oe.BYTES_PER_ELEMENT);let $e;if(pe===_e)$e=Oe.slice();else{$e=new oe(Ie/oe.BYTES_PER_ELEMENT);let Ve=0;for(let Ue=0,Fe=Oe.length;Ue{const Ve=t.value;Ve.appendChild(g.domElement),i.aspect=Ve.clientWidth/Ve.clientHeight,i.updateProjectionMatrix(),g.setSize(Ve.clientWidth,Ve.clientHeight),xe=new ResizeObserver(()=>{i.aspect=Ve.clientWidth/Ve.clientHeight,i.updateProjectionMatrix(),g.setSize(Ve.clientWidth,Ve.clientHeight)}),xe.observe(Ve);const Ue=new GLTFLoader,Fe=new DRACOLoader;Ue.setDRACOLoader(Fe),Ue.load("/models/pipeline/new_model.glb",qe=>{qe.scene.children.forEach(Et=>{console.log(Et.name,Et),Et.name==="平面"&&(Et.position.set(Et.position.x,Et.position.y-45,Et.position.z),Et.material=new MeshStandardMaterial({color:new Color("#FFFFFF")})),Et.children&&Et.children.length>0&&Et.traverse(kt=>{if(kt.isMesh&&pe.includes(kt.name)){const At=new Box3().setFromObject(kt),Dt=new Vector3;kt.getWorldPosition(Dt);const Lt=new Sprite(ue.clone());Lt.scale.set(scaleFactor$1,scaleFactor$1,scaleFactor$1),Lt.position.set(Dt.x*.05,(Dt.y+At.min.y/4)*.05,Dt.z*.05),r.add(Lt)}})}),qe.scene.scale.set(.05,.05,.05),r.add(qe.scene)});const ze=new Raycaster,Pt=new Vector2;g.domElement.addEventListener("mousedown",qe=>{const Et=Ve.getBoundingClientRect(),kt=qe.clientX-Et.left,At=qe.clientY-Et.top;Pt.x=kt/Ve.clientWidth*2-1,Pt.y=-(At/Ve.clientHeight)*2+1,ze.setFromCamera(Pt,i);const Dt=ze.intersectObjects(r.children,!0);if(console.log(Dt),Dt.length>0)if(console.log("点击了物体",Dt[0].object.name),pe.includes(Dt[0].object.name)&&Dt[0].object.isMesh){const Lt=Dt[0].object;_e.value&&(_e.value.material=Ce.value),_e.value=Lt,Lt.material&&(Ce.value=Array.isArray(Lt.material)?Lt.material[0].clone():Lt.material.clone()),console.log(Dt[0]),Lt.material=new MeshStandardMaterial({color:new Color("#973939")})}else _e.value&&Ce.value&&(_e.value.material=Ce.value)}),he()}),onUnmounted(()=>{xe&&(xe.disconnect(),xe=null)}),(Ve,Ue)=>(openBlock(),createElementBlock("div",{ref_key:"containerRef",ref:t,class:"container"},null,512))}}),vueThreePipeline_vue_vue_type_style_index_0_scoped_969268fd_lang="",VueThreePipeline=_export_sfc$1(_sfc_main$f,[["__scopeId","data-v-969268fd"]]),_hoisted_1$a={class:"cardInfo"},_hoisted_2$6={class:"cardHead"},_sfc_main$e=defineComponent({__name:"vue-base-card-info",props:{fontFamily:{type:String,default:"Segoe UI"},fontSize:{type:Number,default:14},headline:{type:String,default:"自定义标题"}},setup(n){useCssVars($=>({ba69330a:t.fontFamily,v7cbe2458:unref(r)}));const t=n;let r=computed({get(){return t.fontSize+"px"},set($){console.log("有人修改了fullName",$)}});function i($,V){const re=[];for(let ie=0;ie<$.length;ie+=V)re.push($.slice(ie,ie+V));return re}ref("1");let g=reactive([{id:"1",name:"1号感烟",policeType:"1"},{id:"2",name:"2号感烟",policeType:"1"},{id:"3",name:"3号感烟",policeType:"2"},{id:"4",name:"4号感烟",policeType:"1"},{id:"5",name:"5号感烟",policeType:"1"},{id:"6",name:"6号感烟",policeType:"1"},{id:"7",name:"7号感烟",policeType:"1"},{id:"8",name:"8号感烟",policeType:"1"},{id:"9",name:"9号感烟",policeType:"1"},{id:"10",name:"10号感烟",policeType:"1"},{id:"11",name:"11号感烟",policeType:"1"},{id:"12",name:"12号感烟",policeType:"3"},{id:"13",name:"13号感烟",policeType:"2"},{id:"14",name:"14号感烟",policeType:"1"},{id:"15",name:"15号感烟",policeType:"1"},{id:"16",name:"16号感烟",policeType:"3"},{id:"17",name:"17号感烟",policeType:"1"},{id:"18",name:"18号感烟",policeType:"1"},{id:"19",name:"1号声光报警器",policeType:"1"},{id:"20",name:"2号声光报警器",policeType:"1"},{id:"21",name:"1号手报",policeType:"1"},{id:"22",name:"2号手报",policeType:"2"}]);return($,V)=>{const re=resolveComponent("el-tag"),ie=resolveComponent("el-col"),ae=resolveComponent("el-row"),oe=resolveComponent("el-card");return openBlock(),createElementBlock("div",_hoisted_1$a,[createVNode$1(oe,{shadow:"card"},{default:withCtx(()=>[createBaseVNode("h2",_hoisted_2$6,toDisplayString(n.headline),1),(openBlock(!0),createElementBlock(Fragment,null,renderList(i(unref(g),6),(le,ue)=>(openBlock(),createBlock(ae,{key:ue,gutter:10,class:"mb-4"},{default:withCtx(()=>[(openBlock(!0),createElementBlock(Fragment,null,renderList(le,(de,he)=>(openBlock(),createBlock(ie,{key:he,span:24/le.length},{default:withCtx(()=>[createBaseVNode("div",null,[de.policeType=="1"?(openBlock(),createBlock(re,{key:0,type:"primary"},{default:withCtx(()=>[createTextVNode(toDisplayString(de.name),1)]),_:2},1024)):de.policeType=="2"?(openBlock(),createBlock(re,{key:1,type:"warning"},{default:withCtx(()=>[createTextVNode(toDisplayString(de.name),1)]),_:2},1024)):(openBlock(),createBlock(re,{key:2,type:"danger"},{default:withCtx(()=>[createTextVNode(toDisplayString(de.name),1)]),_:2},1024))])]),_:2},1032,["span"]))),128))]),_:2},1024))),128))]),_:1})])}}}),vueBaseCardInfo_vue_vue_type_style_index_0_scoped_0f6e4aac_lang="",VueBaseCardInfo=_export_sfc$1(_sfc_main$e,[["__scopeId","data-v-0f6e4aac"]]),_hoisted_1$9={class:"cardBody"},_sfc_main$d=defineComponent({__name:"vue-photon-card",props:{fontFamily:{type:String,default:"Segoe UI"},fontSize:{type:Number,default:14},testColor:{type:String,default:"#000000"},testBool:{type:Boolean,default:!0}},setup(n){useCssVars(i=>({d1c97962:unref(r),v4ef2c8b2:t.testColor,v09fb9c1c:t.fontFamily,v2ecafa31:"computedSize"-1,v2ecaf2b0:"computedSize2"}));const t=n;let r=computed({get(){return t.fontSize+"px"},set(i){console.log("有人修改了fullName",i)}});return(i,g)=>{const $=resolveComponent("el-tag"),V=resolveComponent("el-col"),re=resolveComponent("el-row"),ie=resolveComponent("el-card");return openBlock(),createBlock(ie,{class:"card"},{default:withCtx(()=>[g[7]||(g[7]=createBaseVNode("h3",{class:"cardHead"},"光字牌",-1)),createBaseVNode("div",_hoisted_1$9,[createVNode$1(re,{gutter:0,style:{display:"flex","align-items":"center"},class:"row-spacing"},{default:withCtx(()=>[createVNode$1(V,{span:24,class:"full-width-col"},{default:withCtx(()=>[createVNode$1($,{type:"primary",size:"large",class:"full-width-tag"},{default:withCtx(()=>[...g[0]||(g[0]=[createTextVNode("生产综合楼1楼火灾报警",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(re,{gutter:0,style:{display:"flex","align-items":"center"},class:"row-spacing"},{default:withCtx(()=>[createVNode$1(V,{span:24,class:"full-width-col"},{default:withCtx(()=>[createVNode$1($,{type:"danger",size:"large",class:"full-width-tag blinking-tag"},{default:withCtx(()=>[...g[1]||(g[1]=[createTextVNode("生产综合楼2楼火灾报警",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(re,{gutter:0,style:{display:"flex","align-items":"center"},class:"row-spacing"},{default:withCtx(()=>[createVNode$1(V,{span:24,class:"full-width-col"},{default:withCtx(()=>[createVNode$1($,{type:"primary",size:"large",class:"full-width-tag"},{default:withCtx(()=>[...g[2]||(g[2]=[createTextVNode("220kV配电装置楼1楼火灾报警",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(re,{gutter:0,style:{display:"flex","align-items":"center"},class:"row-spacing"},{default:withCtx(()=>[createVNode$1(V,{span:24,class:"full-width-col"},{default:withCtx(()=>[createVNode$1($,{type:"primary",size:"large",class:"full-width-tag"},{default:withCtx(()=>[...g[3]||(g[3]=[createTextVNode("220kV配电装置楼2楼火灾报警",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(re,{gutter:0,style:{display:"flex","align-items":"center"},class:"row-spacing"},{default:withCtx(()=>[createVNode$1(V,{span:24,class:"full-width-col"},{default:withCtx(()=>[createVNode$1($,{type:"primary",size:"large",class:"full-width-tag"},{default:withCtx(()=>[...g[4]||(g[4]=[createTextVNode("主供电源故障",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(re,{gutter:0,style:{display:"flex","align-items":"center"},class:"row-spacing"},{default:withCtx(()=>[createVNode$1(V,{span:24,class:"full-width-col"},{default:withCtx(()=>[createVNode$1($,{type:"primary",size:"large",class:"full-width-tag"},{default:withCtx(()=>[...g[5]||(g[5]=[createTextVNode("备用电源故障",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(re,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(V,{span:24,class:"full-width-col"},{default:withCtx(()=>[createVNode$1($,{type:"primary",size:"large",class:"full-width-tag"},{default:withCtx(()=>[...g[6]||(g[6]=[createTextVNode("接地故障",-1)])]),_:1})]),_:1})]),_:1})])]),_:1})}}}),vuePhotonCard_vue_vue_type_style_index_0_scoped_e2138675_lang="",VuePhotonCard=_export_sfc$1(_sfc_main$d,[["__scopeId","data-v-e2138675"]]),_hoisted_1$8={class:"cardBody"},_hoisted_2$5={class:"dialog-footer"},_sfc_main$c=defineComponent({__name:"vue-essential-information",props:{fontFamily:{type:String,default:"Segoe UI"},fontSize:{type:Number,default:14},testColor:{type:String,default:"#000000"},testBool:{type:Boolean,default:!0},dataSource:{type:String,default:"--"}},setup(n){useCssVars(ae=>({v2a5a99be:r.testColor,v49c0d53a:r.fontFamily,v11e3f180:unref(ie)}));let t=ref(!1);const r=n,i=[{content:"灭火允许",timestamp:"2018-04-15"},{content:"手动启动",timestamp:"2018-04-16"},{content:"紧急停止",timestamp:"2018-04-17"},{content:"手动启动",timestamp:"2018-04-18"},{content:"灭火允许",timestamp:"2018-04-15"},{content:"手动启动",timestamp:"2018-04-16"},{content:"紧急停止",timestamp:"2018-04-17"},{content:"手动启动",timestamp:"2018-04-18"}];onMounted(()=>{re(r.dataSource)}),watch(()=>r.dataSource,(ae,oe)=>{re(ae)});let g=ref(!1),$=ref(!1),V=ref(!1);function re(ae){ae==="globalOverview"?(g.value=!0,$.value=!1,V.value=!1):ae==="fireExtinguishing"?(g.value=!1,$.value=!0,V.value=!1):ae==="firePolice"&&(g.value=!1,$.value=!1,V.value=!0)}let ie=computed({get(){return r.fontSize+"px"},set(ae){console.log("有人修改了fullName",ae)}});return(ae,oe)=>{const le=resolveComponent("el-col"),ue=resolveComponent("el-tag"),de=resolveComponent("el-row"),he=resolveComponent("el-card"),pe=resolveComponent("el-timeline-item"),_e=resolveComponent("el-timeline"),Ce=resolveComponent("el-scrollbar"),xe=resolveComponent("el-button"),Ie=resolveComponent("el-dialog");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(he,{class:"card"},{default:withCtx(()=>[oe[26]||(oe[26]=createBaseVNode("h2",{class:"cardHead"},"基本信息",-1)),createBaseVNode("div",_hoisted_1$8,[createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[2]||(oe[2]=[createTextVNode(" 名称 ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[3]||(oe[3]=[createTextVNode("火灾报警系统主机",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[4]||(oe[4]=[createTextVNode(" 产品型号: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[5]||(oe[5]=[createTextVNode("JB-QB-GST200",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[6]||(oe[6]=[createTextVNode(" 厂家: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[7]||(oe[7]=[createTextVNode("海湾公司",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[8]||(oe[8]=[createTextVNode(" 投运日期: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[9]||(oe[9]=[createTextVNode("2015-10-10",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[10]||(oe[10]=[createTextVNode(" 电源电压: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[11]||(oe[11]=[createTextVNode("220V AC",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[12]||(oe[12]=[createTextVNode(" 频率: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[13]||(oe[13]=[createTextVNode("50Hz",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[14]||(oe[14]=[createTextVNode(" 输出电压: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[15]||(oe[15]=[createTextVNode("24V DC",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[16]||(oe[16]=[createTextVNode(" 输出电流: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[17]||(oe[17]=[createTextVNode("5A",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[18]||(oe[18]=[createTextVNode(" 环境温度: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[19]||(oe[19]=[createTextVNode("-5℃ ~ 45℃",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[20]||(oe[20]=[createTextVNode(" 相对湿度: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[21]||(oe[21]=[createTextVNode("5% ~ 95%",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[22]||(oe[22]=[createTextVNode(" 维保单位: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[23]||(oe[23]=[createTextVNode("陕西消防科技有限公司",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(de,{gutter:0,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(le,{span:8,offset:4},{default:withCtx(()=>[...oe[24]||(oe[24]=[createTextVNode(" 联系电话: ",-1)])]),_:1}),createVNode$1(le,{span:4},{default:withCtx(()=>[createVNode$1(ue,{type:"primary"},{default:withCtx(()=>[...oe[25]||(oe[25]=[createTextVNode("188*****00 ",-1)])]),_:1})]),_:1})]),_:1})])]),_:1}),createVNode$1(Ie,{modelValue:unref(t),"onUpdate:modelValue":oe[1]||(oe[1]=Ne=>isRef(t)?t.value=Ne:t=Ne),title:"灭火动作流程",style:{height:"60vh"},width:"45%","append-to-body":!0},{footer:withCtx(()=>[createBaseVNode("div",_hoisted_2$5,[createVNode$1(xe,{onClick:oe[0]||(oe[0]=Ne=>isRef(t)?t.value=!1:t=!1)},{default:withCtx(()=>[...oe[27]||(oe[27]=[createTextVNode("退出",-1)])]),_:1})])]),default:withCtx(()=>[createVNode$1(Ce,{height:"42vh"},{default:withCtx(()=>[createVNode$1(_e,{mode:"alternate-reverse"},{default:withCtx(()=>[(openBlock(),createElementBlock(Fragment,null,renderList(i,(Ne,Oe)=>createVNode$1(pe,{key:Oe,center:"",timestamp:Ne.timestamp},{default:withCtx(()=>[createTextVNode(toDisplayString(Ne.content),1)]),_:2},1032,["timestamp"])),64))]),_:1})]),_:1})]),_:1},8,["modelValue"])],64)}}}),vueEssentialInformation_vue_vue_type_style_index_0_scoped_23c5c9c6_lang="",VueEssentialInformation=_export_sfc$1(_sfc_main$c,[["__scopeId","data-v-23c5c9c6"]]),_sfc_main$b=defineComponent({__name:"vue-assemble-table",props:{fontFamily:{type:String,default:"黑体"},fontSize:{type:Number,default:12},testColor:{type:String,default:"#ffffff"}},setup(n){useCssVars(g=>({v431b09c3:unref(i)}));const t=n;reactive({fileId:null,fileName:null,fileDate:null});const r=[{pilotLamp:"火灾",order:!1,explain:"未隔离系统中一个或多个设备启动了控制器的报警,变亮"},{pilotLamp:"故障",order:!1,explain:"系统发生一个或多个故障,变亮"},{pilotLamp:"隔离",order:!1,explain:"系统中任何设备或防区被隔离,变亮"},{pilotLamp:"主供电源",order:!0,explain:"交流电源接通时亮"},{pilotLamp:"备用电源",order:!1,explain:"交流电源不接通,且备用电源(直流24V)接通时,变亮"},{pilotLamp:"讯响器屏蔽",order:!1,explain:"外部讯响器发生故障时,变亮"},{pilotLamp:"测试模式",order:!1,explain:"控制板处于测试方式时,变亮"},{pilotLamp:"电源故障",order:!1,explain:"主电或备电发生故障,变亮"},{pilotLamp:"讯响器故障",order:!1,explain:"外部讯响器发生故障,变亮"},{pilotLamp:"接地故障",order:!1,explain:"控制回路发生直流接地时,此信号灯亮"},{pilotLamp:"系统故障",order:!1,explain:"控制器中主处理器发生故障,变亮"}];let i=computed({get(){return t.fontSize+"px"},set(g){console.log("有人修改了fullName",g)}});return(g,$)=>{const V=resolveComponent("el-text"),re=resolveComponent("el-col"),ie=resolveComponent("el-row"),ae=resolveComponent("el-table-column"),oe=resolveComponent("el-tag"),le=resolveComponent("el-table");return openBlock(),createElementBlock(Fragment,null,[createVNode$1(ie,{gutter:20,style:{display:"flex","align-items":"center"}},{default:withCtx(()=>[createVNode$1(re,{span:24,class:"centered-col"},{default:withCtx(()=>[createVNode$1(V,{class:"mx-1",size:"large",style:{"font-size":"16px","margin-bottom":"15px"}},{default:withCtx(()=>[...$[0]||($[0]=[createTextVNode("配置说明",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(ie,{gutter:20},{default:withCtx(()=>[createVNode$1(re,{span:24,class:"centered-col"},{default:withCtx(()=>[createVNode$1(le,{data:r,"header-cell-style":{color:"#3b3b3b "},style:{height:"200px"}},{default:withCtx(()=>[createVNode$1(ae,{type:"index",label:"序号",resizable:!1,"min-width":"60",align:"center"}),createVNode$1(ae,{prop:"pilotLamp",label:"指示灯",resizable:!1,width:"120",align:"center"}),createVNode$1(ae,{label:"正常时状态",resizable:!1,align:"center","min-width":"180"},{default:withCtx(ue=>[ue.row.order?(openBlock(),createBlock(oe,{key:1,type:"primary",style:normalizeStyle$1({fontSize:unref(i)})},{default:withCtx(()=>[...$[2]||($[2]=[createTextVNode("亮",-1)])]),_:1},8,["style"])):(openBlock(),createBlock(oe,{key:0,type:"info",style:normalizeStyle$1({fontSize:unref(i)})},{default:withCtx(()=>[...$[1]||($[1]=[createTextVNode("不亮",-1)])]),_:1},8,["style"]))]),_:1}),createVNode$1(ae,{prop:"explain",label:"说明",resizable:!1,"min-width":"280","show-overflow-tooltip":"",align:"left"})]),_:1})]),_:1})]),_:1})],64)}}}),vueAssembleTable_vue_vue_type_style_index_0_scoped_104bc5cc_lang="",VueAssembleTable=_export_sfc$1(_sfc_main$b,[["__scopeId","data-v-104bc5cc"]]),_sfc_main$a=defineComponent({__name:"vue-synthesize-table",setup(n){const t=[{floorName:"安全工器具室",equipments:[{id:"10010",name:"1号感烟探头",eState:0,currentState:0,operation:!0},{id:"10011",name:"2号感烟探头",eState:0,currentState:0,operation:!0}]},{floorName:"蓄电池室",equipments:[{id:"10012",name:"3号感烟探头",eState:1,currentState:1,operation:!1},{id:"10013",name:"4号感烟探头",eState:0,currentState:0,operation:!0}]},{floorName:"220kV保护室",equipments:[{id:"10014",name:"5号感烟探头",eState:0,currentState:2,operation:!1},{id:"10015",name:"6号感烟探头",eState:1,currentState:1,operation:!0}]},{floorName:"380kV配电室",equipments:[{id:"10016",name:"7号感烟探头",eState:0,currentState:0,operation:!1},{id:"10017",name:"8号感烟探头",eState:0,currentState:2,operation:!0}]},{floorName:"35kV高压室",equipments:[{id:"10018",name:"9号感烟探头",eState:1,currentState:1,operation:!1},{id:"10019",name:"10号感烟探头",eState:0,currentState:0,operation:!0}]},{floorName:"2号接地变室",equipments:[{id:"10020",name:"11号感烟探头",eState:0,currentState:2,operation:!1},{id:"10021",name:"12号感烟探头",eState:1,currentState:1,operation:!0}]},{floorName:"110kV电缆室",equipments:[{id:"10022",name:"13号感烟探头",eState:0,currentState:0,operation:!1},{id:"10023",name:"14号感烟探头",eState:0,currentState:0,operation:!0}]},{floorName:"2号站用变室",equipments:[{id:"10024",name:"15号感烟探头",eState:0,currentState:0,operation:!1},{id:"10025",name:"16号感烟探头",eState:0,currentState:0,operation:!0}]},{floorName:"生产综合楼1楼走廊",equipments:[{id:"10026",name:"17号感烟探头",eState:0,currentState:0,operation:!1},{id:"10027",name:"18号感烟探头",eState:0,currentState:0,operation:!0},{id:"10028",name:"1号声光报警器",eState:0,currentState:0,operation:!1},{id:"10029",name:"2号声光报警器",eState:0,currentState:0,operation:!0},{id:"10030",name:"1号手报",eState:0,currentState:0,operation:!1},{id:"10031",name:"2号手报",eState:0,currentState:0,operation:!0}]}],r=({row:g,columnIndex:$})=>{if($===0){const V=t.find(re=>re.floorName===g.floorName);if(V)return V.equipments.findIndex(ie=>ie.id===g.id)===0?{rowspan:V.equipments.length,colspan:1}:{rowspan:0,colspan:0}}return{rowspan:1,colspan:1}},i=computed(()=>t.flatMap(g=>g.equipments.map($=>({...$,floorName:g.floorName,address:$.address||g.floorName}))));return(g,$)=>{const V=resolveComponent("el-table-column"),re=resolveComponent("el-tag"),ie=resolveComponent("el-button"),ae=resolveComponent("el-table");return openBlock(),createElementBlock("div",null,[createVNode$1(ae,{data:i.value,border:"","span-method":r,style:{width:"100%","margin-top":"20px"},"max-height":"530"},{default:withCtx(()=>[createVNode$1(V,{prop:"floorName",label:"楼层"}),createVNode$1(V,{type:"index",label:"ID"}),createVNode$1(V,{prop:"name",label:"设备名称"}),createVNode$1(V,{prop:"id",label:"设备ID"}),createVNode$1(V,{label:"设备状态"},{default:withCtx(({row:oe})=>[createVNode$1(re,{type:oe.eState===0?"success":"warning"},{default:withCtx(()=>[createTextVNode(toDisplayString(oe.eState===0?"正常":"故障"),1)]),_:2},1032,["type"])]),_:1}),createVNode$1(V,{label:"当前状态"},{default:withCtx(({row:oe})=>[oe.currentState===0?(openBlock(),createBlock(re,{key:0,type:"success"},{default:withCtx(()=>[...$[0]||($[0]=[createTextVNode("运行",-1)])]),_:1})):oe.currentState===1?(openBlock(),createBlock(re,{key:1,type:"info"},{default:withCtx(()=>[...$[1]||($[1]=[createTextVNode("停止",-1)])]),_:1})):(openBlock(),createBlock(re,{key:2,type:"error"},{default:withCtx(()=>[...$[2]||($[2]=[createTextVNode("报警",-1)])]),_:1}))]),_:1}),createVNode$1(V,{label:"操作"},{default:withCtx(({row:oe})=>[oe.operation?(openBlock(),createBlock(ie,{key:0,type:"primary",class:"operation-btn"},{default:withCtx(()=>[...$[3]||($[3]=[createTextVNode(" 屏蔽 ",-1)])]),_:1})):(openBlock(),createBlock(ie,{key:1,type:"primary",class:"operation-btn"},{default:withCtx(()=>[...$[4]||($[4]=[createTextVNode(" 取消屏蔽 ",-1)])]),_:1}))]),_:1})]),_:1},8,["data"])])}}}),vueSynthesizeTable_vue_vue_type_style_index_0_scoped_424993ed_lang="",VueSynthesizeTable=_export_sfc$1(_sfc_main$a,[["__scopeId","data-v-424993ed"]]),_hoisted_1$7={class:"cardBody"},scaleFactor=5,_sfc_main$9=defineComponent({__name:"vue-three-smokeSiren",setup(n){var Ie,Ne,Oe,$e;const t=ref(),r=ref(),i=ref(!1),g=()=>{nextTick(()=>{if(r.value){const Ve=r.value.$el||r.value;i.value=Ve.scrollWidth>Ve.clientWidth}})},$=new Scene,V=new PerspectiveCamera(45,((Ie=t.value)==null?void 0:Ie.clientWidth)/((Ne=t.value)==null?void 0:Ne.clientHeight),.1,1e3);V.position.set(-40,20,30),V.lookAt($.position);const re=new WebGLRenderer({antialias:!0,alpha:!0,preserveDrawingBuffer:!0});re.setClearColor(new Color("#131519")),re.setSize((Oe=t.value)==null?void 0:Oe.clientWidth,($e=t.value)==null?void 0:$e.clientHeight),re.shadowMap.enabled=!0,re.setPixelRatio(window.devicePixelRatio||1);const ie=new OrbitControls(V,re.domElement);ie.autoRotate=!1,ie.autoRotateSpeed=5,ie.dampingFactor=.1,ie.enableDamping=!0,ie.enableRotate=!0,ie.minDistance=10,ie.maxPolarAngle=Math.PI*.5,$.add(new AxesHelper(20));const ae=new AmbientLight("#ffffff",1.8);$.add(ae);const oe=new DirectionalLight("#ffffff",1.8);$.add(oe),oe.position.set(20,20,10);const le=new PointLight("#ffffff",1.8,1800);$.add(le),le.position.set(0,40,0);const ue=document.createElement("canvas");ue.width=250,ue.height=250;const de=ue.getContext("2d");de&&(de.fillStyle="rgba(0,0,0,.7)",de.fillRect(0,0,200,100),de.fillStyle="white",de.font="21px 黑体",de.textAlign="center",de.textBaseline="middle",de.fillText("遥测:100111",100,30),de.fillText("温度:25℃",90,65));const he=new CanvasTexture(ue),pe=new SpriteMaterial({map:he}),_e=new Sprite(pe);_e.scale.set(scaleFactor,scaleFactor,scaleFactor),_e.position.set(-9.644502679789724,5.815449539931501+.5,21.66345220492572);function Ce(){requestAnimationFrame(Ce),ie.update(),re.render($,V)}ref(),ref();let xe=null;return onMounted(()=>{const Ve=t.value;Ve.appendChild(re.domElement),V.aspect=Ve.clientWidth/Ve.clientHeight,V.updateProjectionMatrix(),re.setSize(Ve.clientWidth,Ve.clientHeight),xe=new ResizeObserver(()=>{V.aspect=Ve.clientWidth/Ve.clientHeight,V.updateProjectionMatrix(),re.setSize(Ve.clientWidth,Ve.clientHeight)}),xe.observe(Ve);const Ue=new GLTFLoader,Fe=new DRACOLoader;Ue.setDRACOLoader(Fe),Ue.load("/models/smokeSiren/smokeSiren.glb",qe=>{console.log("3D:",qe),qe.scene.scale.set(1,1,1),$.add(qe.scene)});const ze=new Raycaster,Pt=new Vector2;re.domElement.addEventListener("mousedown",qe=>{const Et=Ve.getBoundingClientRect(),kt=qe.clientX-Et.left,At=qe.clientY-Et.top;Pt.x=kt/Ve.clientWidth*2-1,Pt.y=-(At/Ve.clientHeight)*2+1,ze.setFromCamera(Pt,V),ze.intersectObjects($.children,!0)}),Ce()}),onUnmounted(()=>{xe&&(xe.disconnect(),xe=null)}),(Ve,Ue)=>{const Fe=resolveComponent("el-col"),ze=resolveComponent("el-tag"),Pt=resolveComponent("el-row"),qe=resolveComponent("el-card");return openBlock(),createBlock(Pt,{class:"main-container"},{default:withCtx(()=>[createVNode$1(Fe,{span:10,style:{height:"100%"}},{default:withCtx(()=>[createBaseVNode("div",{ref_key:"containerRef",ref:t,class:"container"},null,512)]),_:1}),createVNode$1(Fe,{span:14,class:"info-col"},{default:withCtx(()=>[createVNode$1(qe,{class:"card","body-style":{padding:"10px"}},{default:withCtx(()=>[Ue[24]||(Ue[24]=createBaseVNode("h2",{class:"cardHead"},"单个装置基本信息",-1)),createBaseVNode("div",_hoisted_1$7,[createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[0]||(Ue[0]=[createTextVNode("厂家:",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[1]||(Ue[1]=[createTextVNode("海湾公司",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[2]||(Ue[2]=[createTextVNode("投运日期",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[3]||(Ue[3]=[createTextVNode("2014-08-08",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[4]||(Ue[4]=[createTextVNode("电源电压:",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[5]||(Ue[5]=[createTextVNode("220V AC",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[6]||(Ue[6]=[createTextVNode("布设位置",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[7]||(Ue[7]=[createTextVNode("35kV高压室",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[8]||(Ue[8]=[createTextVNode("供电电压",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[9]||(Ue[9]=[createTextVNode("18-30V DC",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[10]||(Ue[10]=[createTextVNode("输出电流:",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[11]||(Ue[11]=[createTextVNode("5A",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[12]||(Ue[12]=[createTextVNode("IP等级",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[13]||(Ue[13]=[createTextVNode("IP30",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[14]||(Ue[14]=[createTextVNode("相对湿度:",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[15]||(Ue[15]=[createTextVNode("5% ~ 95%",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[16]||(Ue[16]=[createTextVNode("接线方式",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[17]||(Ue[17]=[createTextVNode("两线制(L+、L-)",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[18]||(Ue[18]=[createTextVNode("尺寸(长x高x宽)",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[19]||(Ue[19]=[createTextVNode("350mm x 225mm x 125mm",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[20]||(Ue[20]=[createTextVNode("报警灵敏度范围",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{type:"primary"},{default:withCtx(()=>[...Ue[21]||(Ue[21]=[createTextVNode("0.005% 至 20%obs/m",-1)])]),_:1})]),_:1})]),_:1}),createVNode$1(Pt,{gutter:0,class:"info-row"},{default:withCtx(()=>[createVNode$1(Fe,{span:8},{default:withCtx(()=>[...Ue[22]||(Ue[22]=[createTextVNode("运行条件",-1)])]),_:1}),createVNode$1(Fe,{span:16},{default:withCtx(()=>[createVNode$1(ze,{ref_key:"conditionTagRef",ref:r,type:"primary",onMouseenter:g},{default:withCtx(()=>[...Ue[23]||(Ue[23]=[createTextVNode(" 探测器环境(-5°C至45°C) / 采样空气(-20°C至60°C) / 湿度(5%至95%RH) ",-1)])]),_:1},512)]),_:1})]),_:1})])]),_:1})]),_:1})]),_:1})}}}),vueThreeSmokeSiren_vue_vue_type_style_index_0_scoped_cc09b8dd_lang="",VueThreeSmokeSiren=_export_sfc$1(_sfc_main$9,[["__scopeId","data-v-cc09b8dd"]]),_hoisted_1$6={class:"scene-wrapper"},_hoisted_2$4={class:"control-buttons"},_sfc_main$8=defineComponent({__name:"vue-three-scene",setup(n){var _e,Ce,xe,Ie;const t=ref();ref(),ref(!1);const r=new Scene,i=new PerspectiveCamera(45,((_e=t.value)==null?void 0:_e.clientWidth)/((Ce=t.value)==null?void 0:Ce.clientHeight),.1,1e3);i.position.set(-50,45,-140),i.lookAt(r.position);const g=new AxesHelper(100);r.add(g);const $=new WebGLRenderer({antialias:!0,alpha:!0,preserveDrawingBuffer:!0});$.setClearColor(new Color("#131519")),$.setSize((xe=t.value)==null?void 0:xe.clientWidth,(Ie=t.value)==null?void 0:Ie.clientHeight),$.shadowMap.enabled=!0,$.setPixelRatio(window.devicePixelRatio||1);const V=new OrbitControls(i,$.domElement);V.autoRotate=!1,V.autoRotateSpeed=5,V.dampingFactor=.1,V.enableDamping=!0,V.enableRotate=!0,V.minDistance=10,V.maxPolarAngle=Math.PI*.5,r.add(new AxesHelper(20));const re=new AmbientLight("#ffffff",1.8);r.add(re);const ie=new DirectionalLight("#ffffff",1.8);r.add(ie),ie.position.set(20,20,10);const ae=new PointLight("#ffffff",1.8,1800);r.add(ae),ae.position.set(0,40,0);function oe(){requestAnimationFrame(oe),V.update(),$.render(r,i)}ref(),ref();let le=null,ue=[],de=[],he=[];function pe(Ne){Ne==="group_sd"?(ue.forEach(Oe=>{Oe.visible=!0}),de.forEach(Oe=>{Oe.visible=!1}),he.forEach(Oe=>{Oe.visible=!1})):Ne==="group_voice"?(de.forEach(Oe=>{Oe.visible=!0}),ue.forEach(Oe=>{Oe.visible=!1}),he.forEach(Oe=>{Oe.visible=!1})):Ne==="group_manual"?(he.forEach(Oe=>{Oe.visible=!0}),de.forEach(Oe=>{Oe.visible=!1}),ue.forEach(Oe=>{Oe.visible=!1})):Ne==="all"&&(ue.forEach(Oe=>{Oe.visible=!0}),de.forEach(Oe=>{Oe.visible=!0}),he.forEach(Oe=>{Oe.visible=!0}))}return onMounted(()=>{const Ne=t.value;Ne.appendChild($.domElement),i.aspect=Ne.clientWidth/Ne.clientHeight,i.updateProjectionMatrix(),$.setSize(Ne.clientWidth,Ne.clientHeight),le=new ResizeObserver(()=>{i.aspect=Ne.clientWidth/Ne.clientHeight,i.updateProjectionMatrix(),$.setSize(Ne.clientWidth,Ne.clientHeight)}),le.observe(Ne);const Oe=new GLTFLoader,$e=new DRACOLoader;Oe.setDRACOLoader($e),Oe.load("/models/scene/backe_edit_10.glb",Fe=>{console.log(Fe.scene.children),Fe.scene.children.forEach(ze=>{if(ze.name&&ze.name.includes("group_sd")?ue.push(ze):ze.name&&ze.name.includes("group_voice")?de.push(ze):ze.name&&ze.name.includes("group_manual")&&he.push(ze),ze.name&&ze.name.includes("group_sd_g"))if(ze&&typeof ze.updateWorldMatrix=="function")try{const Pt=new Box3().setFromObject(ze),qe=Pt.getSize(new Vector3),Et=Pt.getCenter(new Vector3),kt=Math.floor(Math.random()*9e3)+1e3,At=document.createElement("canvas");At.width=250,At.height=250;const Dt=At.getContext("2d");Dt&&(Dt.fillStyle="rgba(0,0,0,.7)",Dt.fillRect(0,0,200,100),Dt.fillStyle="white",Dt.font="21px 黑体",Dt.textAlign="center",Dt.textBaseline="middle");const Lt=5,jt=new CanvasTexture(At),hn=new SpriteMaterial({map:jt});Dt&&(Dt.fillText(`遥测:${kt}`,100,30),Dt.fillText("名称:烟感报警器",100,65));const vn=new Sprite(hn);vn.scale.set(Lt,Lt,Lt),vn.position.set(Et.x-.5,Et.y+qe.y*2/3,Et.z),ue.push(vn),r.add(vn)}catch(Pt){console.error("处理锥体时出错:",Pt)}else console.warn("无效的3D对象:",ze);if(ze.name&&ze.name.includes("group_voice_g"))if(ze&&typeof ze.updateWorldMatrix=="function")try{const Pt=new Box3().setFromObject(ze),qe=Pt.getSize(new Vector3),Et=Pt.getCenter(new Vector3),kt=Math.floor(Math.random()*9e3)+1e3,At=document.createElement("canvas");At.width=250,At.height=250;const Dt=At.getContext("2d");Dt&&(Dt.fillStyle="rgba(0,0,0,.7)",Dt.fillRect(0,0,200,100),Dt.fillStyle="white",Dt.font="21px 黑体",Dt.textAlign="center",Dt.textBaseline="middle");const Lt=5,jt=new CanvasTexture(At),hn=new SpriteMaterial({map:jt});Dt&&(Dt.fillText(`遥测:${kt}`,100,30),Dt.fillText("名称:光感报警器",100,65));const vn=new Sprite(hn);vn.scale.set(Lt,Lt,Lt),vn.position.set(Et.x-5,Et.y+qe.y*1/3,Et.z),de.push(vn),r.add(vn)}catch(Pt){console.error("处理锥体时出错:",Pt)}else console.warn("无效的3D对象:",ze);if(ze.name&&ze.name.includes("group_manual_g"))if(ze&&typeof ze.updateWorldMatrix=="function")try{const Pt=new Box3().setFromObject(ze),qe=Pt.getSize(new Vector3),Et=Pt.getCenter(new Vector3),kt=Math.floor(Math.random()*9e3)+1e3,At=document.createElement("canvas");At.width=250,At.height=250;const Dt=At.getContext("2d");Dt&&(Dt.fillStyle="rgba(0,0,0,.7)",Dt.fillRect(0,0,200,100),Dt.fillStyle="white",Dt.font="21px 黑体",Dt.textAlign="center",Dt.textBaseline="middle");const Lt=5,jt=new CanvasTexture(At),hn=new SpriteMaterial({map:jt});Dt&&(Dt.fillText(`遥测:${kt}`,100,30),Dt.fillText("名称:手动报警器",100,65));const vn=new Sprite(hn);vn.scale.set(Lt,Lt,Lt),vn.position.set(Et.x+5,Et.y+qe.y*1/3,Et.z-5),he.push(vn),r.add(vn)}catch(Pt){console.error("处理锥体时出错:",Pt)}else console.warn("无效的3D对象:",ze)}),Fe.scene.scale.set(1,1,1),r.add(Fe.scene)});const Ve=new Raycaster,Ue=new Vector2;$.domElement.addEventListener("mousedown",Fe=>{const ze=Ne.getBoundingClientRect(),Pt=Fe.clientX-ze.left,qe=Fe.clientY-ze.top;Ue.x=Pt/Ne.clientWidth*2-1,Ue.y=-(qe/Ne.clientHeight)*2+1,Ve.setFromCamera(Ue,i),Ve.intersectObjects(r.children,!0)}),oe()}),onUnmounted(()=>{le&&(le.disconnect(),le=null)}),(Ne,Oe)=>{const $e=resolveComponent("el-button");return openBlock(),createElementBlock("div",_hoisted_1$6,[createBaseVNode("div",{ref_key:"containerRef",ref:t,class:"container"},null,512),createBaseVNode("div",_hoisted_2$4,[createVNode$1($e,{type:"primary",onClick:Oe[0]||(Oe[0]=Ve=>pe("group_sd")),icon:unref(bell_default)},null,8,["icon"]),createVNode$1($e,{type:"danger",onClick:Oe[1]||(Oe[1]=Ve=>pe("group_voice")),icon:unref(magic_stick_default)},null,8,["icon"]),createVNode$1($e,{type:"warning",onClick:Oe[2]||(Oe[2]=Ve=>pe("group_manual")),icon:unref(star_default)},null,8,["icon"]),createVNode$1($e,{type:"warning",onClick:Oe[3]||(Oe[3]=Ve=>pe("all")),icon:unref(compass_default)},null,8,["icon"]),createVNode$1($e,{type:"warning",onClick:Oe[4]||(Oe[4]=Ve=>unref(i).position.set(-50,45,-140)),icon:unref(refresh_default)},null,8,["icon"])])])}}}),vueThreeScene_vue_vue_type_style_index_0_scoped_bb297a8b_lang="",VueThreeScene=_export_sfc$1(_sfc_main$8,[["__scopeId","data-v-bb297a8b"]]),_hoisted_1$5={class:"cardInfo"},_sfc_main$7=defineComponent({__name:"vue-host-machine",props:{fontFamily:{type:String,default:"Segoe UI"},fontSize:{type:Number,default:14},headline:{type:String,default:"自定义标题"}},setup(n){useCssVars(i=>({v46fe1561:t.fontFamily,v31b8363e:unref(r)}));const t=n;let r=computed({get(){return t.fontSize+"px"},set(i){console.log("有人修改了fullName",i)}});return(i,g)=>{const $=resolveComponent("el-tag"),V=resolveComponent("el-col"),re=resolveComponent("el-button"),ie=resolveComponent("el-row"),ae=resolveComponent("el-card");return openBlock(),createElementBlock("div",_hoisted_1$5,[createVNode$1(ae,{shadow:"card",style:{height:"100%"}},{default:withCtx(()=>[g[4]||(g[4]=createBaseVNode("h2",{class:"cardHead"},"主机",-1)),createVNode$1(ie,{gutter:20},{default:withCtx(()=>[createVNode$1(V,{span:6},{default:withCtx(()=>[createVNode$1($,{type:"success"},{default:withCtx(()=>[...g[0]||(g[0]=[createTextVNode("运行",-1)])]),_:1})]),_:1}),createVNode$1(V,{span:6},{default:withCtx(()=>[createVNode$1($,{type:"info"},{default:withCtx(()=>[...g[1]||(g[1]=[createTextVNode("报警",-1)])]),_:1})]),_:1}),createVNode$1(V,{span:6},{default:withCtx(()=>[createVNode$1(re,{key:"primary",type:"primary",size:"small",text:"",bg:""},{default:withCtx(()=>[...g[2]||(g[2]=[createTextVNode(" 自动启动 ",-1)])]),_:1})]),_:1}),createVNode$1(V,{span:6},{default:withCtx(()=>[createVNode$1(re,{key:"info",type:"info",size:"small",text:"",bg:""},{default:withCtx(()=>[...g[3]||(g[3]=[createTextVNode("手动启动",-1)])]),_:1})]),_:1})]),_:1})]),_:1})])}}}),vueHostMachine_vue_vue_type_style_index_0_scoped_c958c45e_lang="",VueHostMachine=_export_sfc$1(_sfc_main$7,[["__scopeId","data-v-c958c45e"]]),_hoisted_1$4={class:"scene-wrapper"},_hoisted_2$3={class:"control-buttons"},_sfc_main$6=defineComponent({__name:"vue-three-test",setup(n){var _e,Ce,xe,Ie;const t=ref();ref(),ref(!1);const r=new Scene,i=new PerspectiveCamera(45,((_e=t.value)==null?void 0:_e.clientWidth)/((Ce=t.value)==null?void 0:Ce.clientHeight),.1,1e3);i.position.set(-50,45,-140),i.lookAt(r.position);const g=new AxesHelper(100);r.add(g);const $=new WebGLRenderer({antialias:!0,alpha:!0,preserveDrawingBuffer:!0});$.setClearColor(new Color("#131519")),$.setSize((xe=t.value)==null?void 0:xe.clientWidth,(Ie=t.value)==null?void 0:Ie.clientHeight),$.shadowMap.enabled=!0,$.setPixelRatio(window.devicePixelRatio||1);const V=new OrbitControls(i,$.domElement);V.autoRotate=!1,V.autoRotateSpeed=5,V.dampingFactor=.1,V.enableDamping=!0,V.enableRotate=!0,V.minDistance=10,V.maxPolarAngle=Math.PI*.5,r.add(new AxesHelper(20));const re=new AmbientLight("#ffffff",1.8);r.add(re);const ie=new DirectionalLight("#ffffff",1.8);r.add(ie),ie.position.set(20,20,10);const ae=new PointLight("#ffffff",1.8,1800);r.add(ae),ae.position.set(0,40,0);function oe(){requestAnimationFrame(oe),V.update(),$.render(r,i)}ref(),ref();let le=null,ue=[],de=[],he=[];function pe(Ne){Ne==="group_sd"?(ue.forEach(Oe=>{Oe.visible=!0}),de.forEach(Oe=>{Oe.visible=!1}),he.forEach(Oe=>{Oe.visible=!1})):Ne==="group_voice"?(de.forEach(Oe=>{Oe.visible=!0}),ue.forEach(Oe=>{Oe.visible=!1}),he.forEach(Oe=>{Oe.visible=!1})):Ne==="group_manual"?(he.forEach(Oe=>{Oe.visible=!0}),de.forEach(Oe=>{Oe.visible=!1}),ue.forEach(Oe=>{Oe.visible=!1})):Ne==="all"&&(ue.forEach(Oe=>{Oe.visible=!0}),de.forEach(Oe=>{Oe.visible=!0}),he.forEach(Oe=>{Oe.visible=!0}))}return onMounted(()=>{const Ne=t.value;Ne.appendChild($.domElement),i.aspect=Ne.clientWidth/Ne.clientHeight,i.updateProjectionMatrix(),$.setSize(Ne.clientWidth,Ne.clientHeight),le=new ResizeObserver(()=>{i.aspect=Ne.clientWidth/Ne.clientHeight,i.updateProjectionMatrix(),$.setSize(Ne.clientWidth,Ne.clientHeight)}),le.observe(Ne);const Oe=new GLTFLoader,$e=new DRACOLoader;Oe.setDRACOLoader($e),Oe.load("/models/scene/test.glb",Fe=>{console.log(Fe.scene.children),Fe.scene.scale.set(1,1,1),r.add(Fe.scene)});const Ve=new Raycaster,Ue=new Vector2;$.domElement.addEventListener("mousedown",Fe=>{const ze=Ne.getBoundingClientRect(),Pt=Fe.clientX-ze.left,qe=Fe.clientY-ze.top;Ue.x=Pt/Ne.clientWidth*2-1,Ue.y=-(qe/Ne.clientHeight)*2+1,Ve.setFromCamera(Ue,i),Ve.intersectObjects(r.children,!0)}),oe()}),onUnmounted(()=>{le&&(le.disconnect(),le=null)}),(Ne,Oe)=>{const $e=resolveComponent("el-button");return openBlock(),createElementBlock("div",_hoisted_1$4,[createBaseVNode("div",{ref_key:"containerRef",ref:t,class:"container"},null,512),createBaseVNode("div",_hoisted_2$3,[createVNode$1($e,{type:"primary",onClick:Oe[0]||(Oe[0]=Ve=>pe("group_sd")),icon:unref(bell_default)},null,8,["icon"]),createVNode$1($e,{type:"danger",onClick:Oe[1]||(Oe[1]=Ve=>pe("group_voice")),icon:unref(magic_stick_default)},null,8,["icon"]),createVNode$1($e,{type:"warning",onClick:Oe[2]||(Oe[2]=Ve=>pe("group_manual")),icon:unref(star_default)},null,8,["icon"]),createVNode$1($e,{type:"warning",onClick:Oe[3]||(Oe[3]=Ve=>pe("all")),icon:unref(compass_default)},null,8,["icon"]),createVNode$1($e,{type:"warning",onClick:Oe[4]||(Oe[4]=Ve=>unref(i).position.set(-50,45,-140)),icon:unref(refresh_default)},null,8,["icon"])])])}}}),vueThreeTest_vue_vue_type_style_index_0_scoped_668e441c_lang="",VueThreeTest=_export_sfc$1(_sfc_main$6,[["__scopeId","data-v-668e441c"]]);function _assertThisInitialized(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function _inheritsLoose(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n,n.__proto__=t}/*! - * GSAP 3.14.2 - * https://gsap.com - * - * @license Copyright 2008-2025, GreenSock. All rights reserved. - * Subject to the terms at https://gsap.com/standard-license - * @author: Jack Doyle, jack@greensock.com -*/var _config={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},_defaults={duration:.5,overwrite:!1,delay:0},_suppressOverwrites,_reverting$1,_context,_bigNum$1=1e8,_tinyNum=1/_bigNum$1,_2PI=Math.PI*2,_HALF_PI=_2PI/4,_gsID=0,_sqrt=Math.sqrt,_cos=Math.cos,_sin=Math.sin,_isString=function n(t){return typeof t=="string"},_isFunction=function n(t){return typeof t=="function"},_isNumber=function n(t){return typeof t=="number"},_isUndefined=function n(t){return typeof t>"u"},_isObject=function n(t){return typeof t=="object"},_isNotFalse=function n(t){return t!==!1},_windowExists$1=function n(){return typeof window<"u"},_isFuncOrString=function n(t){return _isFunction(t)||_isString(t)},_isTypedArray=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},_isArray=Array.isArray,_randomExp=/random\([^)]+\)/g,_commaDelimExp=/,\s*/g,_strictNumExp=/(?:-?\.?\d|\.)+/gi,_numExp=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,_numWithUnitExp=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_complexStringNumExp=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_relExp=/[+-]=-?[.\d]+/,_delimitedValueExp=/[^,'"\[\]\s]+/gi,_unitExp=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,_globalTimeline,_win$1,_coreInitted,_doc$1,_globals={},_installScope={},_coreReady,_install=function n(t){return(_installScope=_merge(t,_globals))&&gsap},_missingPlugin=function n(t,r){return console.warn("Invalid property",t,"set to",r,"Missing plugin? gsap.registerPlugin()")},_warn=function n(t,r){return!r&&console.warn(t)},_addGlobal=function n(t,r){return t&&(_globals[t]=r)&&_installScope&&(_installScope[t]=r)||_globals},_emptyFunc=function n(){return 0},_startAtRevertConfig={suppressEvents:!0,isStart:!0,kill:!1},_revertConfigNoKill={suppressEvents:!0,kill:!1},_revertConfig={suppressEvents:!0},_reservedProps={},_lazyTweens=[],_lazyLookup={},_lastRenderedFrame,_plugins={},_effects={},_nextGCFrame=30,_harnessPlugins=[],_callbackNames="",_harness=function n(t){var r=t[0],i,g;if(_isObject(r)||_isFunction(r)||(t=[t]),!(i=(r._gsap||{}).harness)){for(g=_harnessPlugins.length;g--&&!_harnessPlugins[g].targetTest(r););i=_harnessPlugins[g]}for(g=t.length;g--;)t[g]&&(t[g]._gsap||(t[g]._gsap=new GSCache(t[g],i)))||t.splice(g,1);return t},_getCache=function n(t){return t._gsap||_harness(toArray(t))[0]._gsap},_getProperty=function n(t,r,i){return(i=t[r])&&_isFunction(i)?t[r]():_isUndefined(i)&&t.getAttribute&&t.getAttribute(r)||i},_forEachName=function n(t,r){return(t=t.split(",")).forEach(r)||t},_round=function n(t){return Math.round(t*1e5)/1e5||0},_roundPrecise=function n(t){return Math.round(t*1e7)/1e7||0},_parseRelative=function n(t,r){var i=r.charAt(0),g=parseFloat(r.substr(2));return t=parseFloat(t),i==="+"?t+g:i==="-"?t-g:i==="*"?t*g:t/g},_arrayContainsAny=function n(t,r){for(var i=r.length,g=0;t.indexOf(r[g])<0&&++gre;)V=V._prev;return V?(r._next=V._next,V._next=r):(r._next=t[i],t[i]=r),r._next?r._next._prev=r:t[g]=r,r._prev=V,r.parent=r._dp=t,r},_removeLinkedListItem=function n(t,r,i,g){i===void 0&&(i="_first"),g===void 0&&(g="_last");var $=r._prev,V=r._next;$?$._next=V:t[i]===r&&(t[i]=V),V?V._prev=$:t[g]===r&&(t[g]=$),r._next=r._prev=r.parent=null},_removeFromParent=function n(t,r){t.parent&&(!r||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},_uncache=function n(t,r){if(t&&(!r||r._end>t._dur||r._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},_recacheAncestors=function n(t){for(var r=t.parent;r&&r.parent;)r._dirty=1,r.totalDuration(),r=r.parent;return t},_rewindStartAt=function n(t,r,i,g){return t._startAt&&(_reverting$1?t._startAt.revert(_revertConfigNoKill):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(r,!0,g))},_hasNoPausedAncestors=function n(t){return!t||t._ts&&n(t.parent)},_elapsedCycleDuration=function n(t){return t._repeat?_animationCycle(t._tTime,t=t.duration()+t._rDelay)*t:0},_animationCycle=function n(t,r){var i=Math.floor(t=_roundPrecise(t/r));return t&&i===t?i-1:i},_parentToChildTotalTime=function n(t,r){return(t-r._start)*r._ts+(r._ts>=0?0:r._dirty?r.totalDuration():r._tDur)},_setEnd=function n(t){return t._end=_roundPrecise(t._start+(t._tDur/Math.abs(t._ts||t._rts||_tinyNum)||0))},_alignPlayhead=function n(t,r){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=_roundPrecise(i._time-(t._ts>0?r/t._ts:((t._dirty?t.totalDuration():t._tDur)-r)/-t._ts)),_setEnd(t),i._dirty||_uncache(i,t)),t},_postAddChecks=function n(t,r){var i;if((r._time||!r._dur&&r._initted||r._start_tinyNum)&&r.render(i,!0)),_uncache(t,r)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-_tinyNum}},_addToTimeline=function n(t,r,i,g){return r.parent&&_removeFromParent(r),r._start=_roundPrecise((_isNumber(i)?i:i||t!==_globalTimeline?_parsePosition(t,i,r):t._time)+r._delay),r._end=_roundPrecise(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),_addLinkedListItem(t,r,"_first","_last",t._sort?"_start":0),_isFromOrFromStart(r)||(t._recent=r),g||_postAddChecks(t,r),t._ts<0&&_alignPlayhead(t,t._tTime),t},_scrollTrigger=function n(t,r){return(_globals.ScrollTrigger||_missingPlugin("scrollTrigger",r))&&_globals.ScrollTrigger.create(r,t)},_attemptInitTween=function n(t,r,i,g,$){if(_initTween(t,r,$),!t._initted)return 1;if(!i&&t._pt&&!_reverting$1&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&_lastRenderedFrame!==_ticker.frame)return _lazyTweens.push(t),t._lazy=[$,g],1},_parentPlayheadIsBeforeStart=function n(t){var r=t.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||n(r))},_isFromOrFromStart=function n(t){var r=t.data;return r==="isFromStart"||r==="isStart"},_renderZeroDurationTween=function n(t,r,i,g){var $=t.ratio,V=r<0||!r&&(!t._start&&_parentPlayheadIsBeforeStart(t)&&!(!t._initted&&_isFromOrFromStart(t))||(t._ts<0||t._dp._ts<0)&&!_isFromOrFromStart(t))?0:1,re=t._rDelay,ie=0,ae,oe,le;if(re&&t._repeat&&(ie=_clamp(0,t._tDur,r),oe=_animationCycle(ie,re),t._yoyo&&oe&1&&(V=1-V),oe!==_animationCycle(t._tTime,re)&&($=1-V,t.vars.repeatRefresh&&t._initted&&t.invalidate())),V!==$||_reverting$1||g||t._zTime===_tinyNum||!r&&t._zTime){if(!t._initted&&_attemptInitTween(t,r,g,i,ie))return;for(le=t._zTime,t._zTime=r||(i?_tinyNum:0),i||(i=r&&!le),t.ratio=V,t._from&&(V=1-V),t._time=0,t._tTime=ie,ae=t._pt;ae;)ae.r(V,ae.d),ae=ae._next;r<0&&_rewindStartAt(t,r,i,!0),t._onUpdate&&!i&&_callback(t,"onUpdate"),ie&&t._repeat&&!i&&t.parent&&_callback(t,"onRepeat"),(r>=t._tDur||r<0)&&t.ratio===V&&(V&&_removeFromParent(t,1),!i&&!_reverting$1&&(_callback(t,V?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=r)},_findNextPauseTween=function n(t,r,i){var g;if(i>r)for(g=t._first;g&&g._start<=i;){if(g.data==="isPause"&&g._start>r)return g;g=g._next}else for(g=t._last;g&&g._start>=i;){if(g.data==="isPause"&&g._start0&&!g&&_alignPlayhead(t,t._tTime=t._tDur*re),t.parent&&_setEnd(t),i||_uncache(t.parent,t),t},_onUpdateTotalDuration=function n(t){return t instanceof Timeline?_uncache(t):_setDuration(t,t._dur)},_zeroPosition={_start:0,endTime:_emptyFunc,totalDuration:_emptyFunc},_parsePosition=function n(t,r,i){var g=t.labels,$=t._recent||_zeroPosition,V=t.duration()>=_bigNum$1?$.endTime(!1):t._dur,re,ie,ae;return _isString(r)&&(isNaN(r)||r in g)?(ie=r.charAt(0),ae=r.substr(-1)==="%",re=r.indexOf("="),ie==="<"||ie===">"?(re>=0&&(r=r.replace(/=/,"")),(ie==="<"?$._start:$.endTime($._repeat>=0))+(parseFloat(r.substr(1))||0)*(ae?(re<0?$:i).totalDuration()/100:1)):re<0?(r in g||(g[r]=V),g[r]):(ie=parseFloat(r.charAt(re-1)+r.substr(re+1)),ae&&i&&(ie=ie/100*(_isArray(i)?i[0]:i).totalDuration()),re>1?n(t,r.substr(0,re-1),i)+ie:V+ie)):r==null?V:+r},_createTweenType=function n(t,r,i){var g=_isNumber(r[1]),$=(g?2:1)+(t<2?0:1),V=r[$],re,ie;if(g&&(V.duration=r[1]),V.parent=i,t){for(re=V,ie=i;ie&&!("immediateRender"in re);)re=ie.vars.defaults||{},ie=_isNotFalse(ie.vars.inherit)&&ie.parent;V.immediateRender=_isNotFalse(re.immediateRender),t<2?V.runBackwards=1:V.startAt=r[$-1]}return new Tween(r[0],V,r[$+1])},_conditionalReturn=function n(t,r){return t||t===0?r(t):r},_clamp=function n(t,r,i){return ir?r:i},getUnit=function n(t,r){return!_isString(t)||!(r=_unitExp.exec(t))?"":r[1]},clamp=function n(t,r,i){return _conditionalReturn(i,function(g){return _clamp(t,r,g)})},_slice=[].slice,_isArrayLike=function n(t,r){return t&&_isObject(t)&&"length"in t&&(!r&&!t.length||t.length-1 in t&&_isObject(t[0]))&&!t.nodeType&&t!==_win$1},_flatten=function n(t,r,i){return i===void 0&&(i=[]),t.forEach(function(g){var $;return _isString(g)&&!r||_isArrayLike(g,1)?($=i).push.apply($,toArray(g)):i.push(g)})||i},toArray=function n(t,r,i){return _context&&!r&&_context.selector?_context.selector(t):_isString(t)&&!i&&(_coreInitted||!_wake())?_slice.call((r||_doc$1).querySelectorAll(t),0):_isArray(t)?_flatten(t,i):_isArrayLike(t)?_slice.call(t,0):t?[t]:[]},selector=function n(t){return t=toArray(t)[0]||_warn("Invalid scope")||{},function(r){var i=t.current||t.nativeElement||t;return toArray(r,i.querySelectorAll?i:i===t?_warn("Invalid scope")||_doc$1.createElement("div"):t)}},shuffle=function n(t){return t.sort(function(){return .5-Math.random()})},distribute=function n(t){if(_isFunction(t))return t;var r=_isObject(t)?t:{each:t},i=_parseEase(r.ease),g=r.from||0,$=parseFloat(r.base)||0,V={},re=g>0&&g<1,ie=isNaN(g)||re,ae=r.axis,oe=g,le=g;return _isString(g)?oe=le={center:.5,edges:.5,end:1}[g]||0:!re&&ie&&(oe=g[0],le=g[1]),function(ue,de,he){var pe=(he||r).length,_e=V[pe],Ce,xe,Ie,Ne,Oe,$e,Ve,Ue,Fe;if(!_e){if(Fe=r.grid==="auto"?0:(r.grid||[1,_bigNum$1])[1],!Fe){for(Ve=-_bigNum$1;Ve<(Ve=he[Fe++].getBoundingClientRect().left)&&FeVe&&(Ve=Oe),Oepe?pe-1:ae?ae==="y"?pe/Fe:Fe:Math.max(Fe,pe/Fe))||0)*(g==="edges"?-1:1),_e.b=pe<0?$-pe:$,_e.u=getUnit(r.amount||r.each)||0,i=i&&pe<0?_invertEase(i):i}return pe=(_e[ue]-_e.min)/_e.max||0,_roundPrecise(_e.b+(i?i(pe):pe)*_e.v)+_e.u}},_roundModifier=function n(t){var r=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var g=_roundPrecise(Math.round(parseFloat(i)/t)*t*r);return(g-g%1)/r+(_isNumber(i)?0:getUnit(i))}},snap=function n(t,r){var i=_isArray(t),g,$;return!i&&_isObject(t)&&(g=i=t.radius||_bigNum$1,t.values?(t=toArray(t.values),($=!_isNumber(t[0]))&&(g*=g)):t=_roundModifier(t.increment)),_conditionalReturn(r,i?_isFunction(t)?function(V){return $=t(V),Math.abs($-V)<=g?$:V}:function(V){for(var re=parseFloat($?V.x:V),ie=parseFloat($?V.y:0),ae=_bigNum$1,oe=0,le=t.length,ue,de;le--;)$?(ue=t[le].x-re,de=t[le].y-ie,ue=ue*ue+de*de):ue=Math.abs(t[le]-re),ueg?$-V:V)})},_replaceRandom=function n(t){return t.replace(_randomExp,function(r){var i=r.indexOf("[")+1,g=r.substring(i||7,i?r.indexOf("]"):r.length-1).split(_commaDelimExp);return random(i?g:+g[0],i?0:+g[1],+g[2]||1e-5)})},mapRange=function n(t,r,i,g,$){var V=r-t,re=g-i;return _conditionalReturn($,function(ie){return i+((ie-t)/V*re||0)})},interpolate=function n(t,r,i,g){var $=isNaN(t+r)?0:function(de){return(1-de)*t+de*r};if(!$){var V=_isString(t),re={},ie,ae,oe,le,ue;if(i===!0&&(g=1)&&(i=null),V)t={p:t},r={p:r};else if(_isArray(t)&&!_isArray(r)){for(oe=[],le=t.length,ue=le-2,ae=1;ae(re=Math.abs(re))&&(ie=V,$=re);return ie},_callback=function n(t,r,i){var g=t.vars,$=g[r],V=_context,re=t._ctx,ie,ae,oe;if($)return ie=g[r+"Params"],ae=g.callbackScope||t,i&&_lazyTweens.length&&_lazyRender(),re&&(_context=re),oe=ie?$.apply(ae,ie):$.call(ae),_context=V,oe},_interrupt=function n(t){return _removeFromParent(t),t.scrollTrigger&&t.scrollTrigger.kill(!!_reverting$1),t.progress()<1&&_callback(t,"onInterrupt"),t},_quickTween,_registerPluginQueue=[],_createPlugin=function n(t){if(t)if(t=!t.name&&t.default||t,_windowExists$1()||t.headless){var r=t.name,i=_isFunction(t),g=r&&!i&&t.init?function(){this._props=[]}:t,$={init:_emptyFunc,render:_renderPropTweens,add:_addPropTween,kill:_killPropTweensOf,modifier:_addPluginModifier,rawVars:0},V={targetTest:0,get:0,getSetter:_getSetter,aliases:{},register:0};if(_wake(),t!==g){if(_plugins[r])return;_setDefaults(g,_setDefaults(_copyExcluding(t,$),V)),_merge(g.prototype,_merge($,_copyExcluding(t,V))),_plugins[g.prop=r]=g,t.targetTest&&(_harnessPlugins.push(g),_reservedProps[r]=1),r=(r==="css"?"CSS":r.charAt(0).toUpperCase()+r.substr(1))+"Plugin"}_addGlobal(r,g),t.register&&t.register(gsap,g,PropTween)}else _registerPluginQueue.push(t)},_255=255,_colorLookup={aqua:[0,_255,_255],lime:[0,_255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,_255],navy:[0,0,128],white:[_255,_255,_255],olive:[128,128,0],yellow:[_255,_255,0],orange:[_255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[_255,0,0],pink:[_255,192,203],cyan:[0,_255,_255],transparent:[_255,_255,_255,0]},_hue=function n(t,r,i){return t+=t<0?1:t>1?-1:0,(t*6<1?r+(i-r)*t*6:t<.5?i:t*3<2?r+(i-r)*(2/3-t)*6:r)*_255+.5|0},splitColor=function n(t,r,i){var g=t?_isNumber(t)?[t>>16,t>>8&_255,t&_255]:0:_colorLookup.black,$,V,re,ie,ae,oe,le,ue,de,he;if(!g){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),_colorLookup[t])g=_colorLookup[t];else if(t.charAt(0)==="#"){if(t.length<6&&($=t.charAt(1),V=t.charAt(2),re=t.charAt(3),t="#"+$+$+V+V+re+re+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return g=parseInt(t.substr(1,6),16),[g>>16,g>>8&_255,g&_255,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),g=[t>>16,t>>8&_255,t&_255]}else if(t.substr(0,3)==="hsl"){if(g=he=t.match(_strictNumExp),!r)ie=+g[0]%360/360,ae=+g[1]/100,oe=+g[2]/100,V=oe<=.5?oe*(ae+1):oe+ae-oe*ae,$=oe*2-V,g.length>3&&(g[3]*=1),g[0]=_hue(ie+1/3,$,V),g[1]=_hue(ie,$,V),g[2]=_hue(ie-1/3,$,V);else if(~t.indexOf("="))return g=t.match(_numExp),i&&g.length<4&&(g[3]=1),g}else g=t.match(_strictNumExp)||_colorLookup.transparent;g=g.map(Number)}return r&&!he&&($=g[0]/_255,V=g[1]/_255,re=g[2]/_255,le=Math.max($,V,re),ue=Math.min($,V,re),oe=(le+ue)/2,le===ue?ie=ae=0:(de=le-ue,ae=oe>.5?de/(2-le-ue):de/(le+ue),ie=le===$?(V-re)/de+(Vt||Ce<0)&&(i+=Ce-r),g+=Ce,Oe=g-i,Ie=Oe-V,(Ie>0||xe)&&($e=++le.frame,ue=Oe-le.time*1e3,le.time=Oe=Oe/1e3,V+=Ie+(Ie>=$?4:$-Ie),Ne=1),xe||(ie=ae(pe)),Ne)for(de=0;de=Ce&&de--},_listeners:re},le}(),_wake=function n(){return!_tickerActive&&_ticker.wake()},_easeMap={},_customEaseExp=/^[\d.\-M][\d.\-,\s]/,_quotesExp=/["']/g,_parseObjectInString=function n(t){for(var r={},i=t.substr(1,t.length-3).split(":"),g=i[0],$=1,V=i.length,re,ie,ae;$1&&i.config?i.config.apply(null,~t.indexOf("{")?[_parseObjectInString(r[1])]:_valueInParentheses(t).split(",").map(_numericIfPossible)):_easeMap._CE&&_customEaseExp.test(t)?_easeMap._CE("",t):i},_invertEase=function n(t){return function(r){return 1-t(1-r)}},_propagateYoyoEase=function n(t,r){for(var i=t._first,g;i;)i instanceof Timeline?n(i,r):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==r&&(i.timeline?n(i.timeline,r):(g=i._ease,i._ease=i._yEase,i._yEase=g,i._yoyo=r)),i=i._next},_parseEase=function n(t,r){return t&&(_isFunction(t)?t:_easeMap[t]||_configEaseFromString(t))||r},_insertEase=function n(t,r,i,g){i===void 0&&(i=function(ie){return 1-r(1-ie)}),g===void 0&&(g=function(ie){return ie<.5?r(ie*2)/2:1-r((1-ie)*2)/2});var $={easeIn:r,easeOut:i,easeInOut:g},V;return _forEachName(t,function(re){_easeMap[re]=_globals[re]=$,_easeMap[V=re.toLowerCase()]=i;for(var ie in $)_easeMap[V+(ie==="easeIn"?".in":ie==="easeOut"?".out":".inOut")]=_easeMap[re+"."+ie]=$[ie]}),$},_easeInOutFromOut=function n(t){return function(r){return r<.5?(1-t(1-r*2))/2:.5+t((r-.5)*2)/2}},_configElastic=function n(t,r,i){var g=r>=1?r:1,$=(i||(t?.3:.45))/(r<1?r:1),V=$/_2PI*(Math.asin(1/g)||0),re=function(oe){return oe===1?1:g*Math.pow(2,-10*oe)*_sin((oe-V)*$)+1},ie=t==="out"?re:t==="in"?function(ae){return 1-re(1-ae)}:_easeInOutFromOut(re);return $=_2PI/$,ie.config=function(ae,oe){return n(t,ae,oe)},ie},_configBack=function n(t,r){r===void 0&&(r=1.70158);var i=function(V){return V?--V*V*((r+1)*V+r)+1:0},g=t==="out"?i:t==="in"?function($){return 1-i(1-$)}:_easeInOutFromOut(i);return g.config=function($){return n(t,$)},g};_forEachName("Linear,Quad,Cubic,Quart,Quint,Strong",function(n,t){var r=t<5?t+1:t;_insertEase(n+",Power"+(r-1),t?function(i){return Math.pow(i,r)}:function(i){return i},function(i){return 1-Math.pow(1-i,r)},function(i){return i<.5?Math.pow(i*2,r)/2:1-Math.pow((1-i)*2,r)/2})});_easeMap.Linear.easeNone=_easeMap.none=_easeMap.Linear.easeIn;_insertEase("Elastic",_configElastic("in"),_configElastic("out"),_configElastic());(function(n,t){var r=1/t,i=2*r,g=2.5*r,$=function(re){return re0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,_setDuration(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,g){if(_wake(),!arguments.length)return this._tTime;var $=this._dp;if($&&$.smoothChildTiming&&this._ts){for(_alignPlayhead(this,i),!$._dp||$.parent||_postAddChecks($,this);$&&$.parent;)$.parent._time!==$._start+($._ts>=0?$._tTime/$._ts:($.totalDuration()-$._tTime)/-$._ts)&&$.totalTime($._tTime,!0),$=$.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i0||!this._tDur&&!i)&&_addToTimeline(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!g||this._initted&&Math.abs(this._zTime)===_tinyNum||!this._initted&&this._dur&&i||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),_lazySafeRender(this,i,g)),this},t.time=function(i,g){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+_elapsedCycleDuration(this))%(this._dur+this._rDelay)||(i?this._dur:0),g):this._time},t.totalProgress=function(i,g){return arguments.length?this.totalTime(this.totalDuration()*i,g):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,g){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+_elapsedCycleDuration(this),g):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,g){var $=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*$,g):this._repeat?_animationCycle(this._tTime,$)+1:1},t.timeScale=function(i,g){if(!arguments.length)return this._rts===-_tinyNum?0:this._rts;if(this._rts===i)return this;var $=this.parent&&this._ts?_parentToChildTotalTime(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-_tinyNum?0:this._rts,this.totalTime(_clamp(-Math.abs(this._delay),this.totalDuration(),$),g!==!1),_setEnd(this),_recacheAncestors(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(_wake(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_tinyNum&&(this._tTime-=_tinyNum)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=_roundPrecise(i);var g=this.parent||this._dp;return g&&(g._sort||!this.parent)&&_addToTimeline(g,this,this._start-this._delay),this}return this._start},t.endTime=function(i){return this._start+(_isNotFalse(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var g=this.parent||this._dp;return g?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?_parentToChildTotalTime(g.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=_revertConfig);var g=_reverting$1;return _reverting$1=i,_isRevertWorthy(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),_reverting$1=g,this},t.globalTime=function(i){for(var g=this,$=arguments.length?i:g.rawTime();g;)$=g._start+$/(Math.abs(g._ts)||1),g=g._dp;return!this.parent&&this._sat?this._sat.globalTime(i):$},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,_onUpdateTotalDuration(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var g=this._time;return this._rDelay=i,_onUpdateTotalDuration(this),g?this.time(g):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,g){return this.totalTime(_parsePosition(this,i),_isNotFalse(g))},t.restart=function(i,g){return this.play().totalTime(i?-this._delay:0,_isNotFalse(g)),this._dur||(this._zTime=-_tinyNum),this},t.play=function(i,g){return i!=null&&this.seek(i,g),this.reversed(!1).paused(!1)},t.reverse=function(i,g){return i!=null&&this.seek(i||this.totalDuration(),g),this.reversed(!0).paused(!1)},t.pause=function(i,g){return i!=null&&this.seek(i,g),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-_tinyNum:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-_tinyNum,this},t.isActive=function(){var i=this.parent||this._dp,g=this._start,$;return!!(!i||this._ts&&this._initted&&i.isActive()&&($=i.rawTime(!0))>=g&&$1?(g?(V[i]=g,$&&(V[i+"Params"]=$),i==="onUpdate"&&(this._onUpdate=g)):delete V[i],this):V[i]},t.then=function(i){var g=this,$=g._prom;return new Promise(function(V){var re=_isFunction(i)?i:_passThrough,ie=function(){var oe=g.then;g.then=null,$&&$(),_isFunction(re)&&(re=re(g))&&(re.then||re===g)&&(g.then=oe),V(re),g.then=oe};g._initted&&g.totalProgress()===1&&g._ts>=0||!g._tTime&&g._ts<0?ie():g._prom=ie})},t.kill=function(){_interrupt(this)},n}();_setDefaults(Animation$2.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_tinyNum,_prom:0,_ps:!1,_rts:1});var Timeline=function(n){_inheritsLoose(t,n);function t(i,g){var $;return i===void 0&&(i={}),$=n.call(this,i)||this,$.labels={},$.smoothChildTiming=!!i.smoothChildTiming,$.autoRemoveChildren=!!i.autoRemoveChildren,$._sort=_isNotFalse(i.sortChildren),_globalTimeline&&_addToTimeline(i.parent||_globalTimeline,_assertThisInitialized($),g),i.reversed&&$.reverse(),i.paused&&$.paused(!0),i.scrollTrigger&&_scrollTrigger(_assertThisInitialized($),i.scrollTrigger),$}var r=t.prototype;return r.to=function(g,$,V){return _createTweenType(0,arguments,this),this},r.from=function(g,$,V){return _createTweenType(1,arguments,this),this},r.fromTo=function(g,$,V,re){return _createTweenType(2,arguments,this),this},r.set=function(g,$,V){return $.duration=0,$.parent=this,_inheritDefaults($).repeatDelay||($.repeat=0),$.immediateRender=!!$.immediateRender,new Tween(g,$,_parsePosition(this,V),1),this},r.call=function(g,$,V){return _addToTimeline(this,Tween.delayedCall(0,g,$),V)},r.staggerTo=function(g,$,V,re,ie,ae,oe){return V.duration=$,V.stagger=V.stagger||re,V.onComplete=ae,V.onCompleteParams=oe,V.parent=this,new Tween(g,V,_parsePosition(this,ie)),this},r.staggerFrom=function(g,$,V,re,ie,ae,oe){return V.runBackwards=1,_inheritDefaults(V).immediateRender=_isNotFalse(V.immediateRender),this.staggerTo(g,$,V,re,ie,ae,oe)},r.staggerFromTo=function(g,$,V,re,ie,ae,oe,le){return re.startAt=V,_inheritDefaults(re).immediateRender=_isNotFalse(re.immediateRender),this.staggerTo(g,$,re,ie,ae,oe,le)},r.render=function(g,$,V){var re=this._time,ie=this._dirty?this.totalDuration():this._tDur,ae=this._dur,oe=g<=0?0:_roundPrecise(g),le=this._zTime<0!=g<0&&(this._initted||!ae),ue,de,he,pe,_e,Ce,xe,Ie,Ne,Oe,$e,Ve;if(this!==_globalTimeline&&oe>ie&&g>=0&&(oe=ie),oe!==this._tTime||V||le){if(re!==this._time&&ae&&(oe+=this._time-re,g+=this._time-re),ue=oe,Ne=this._start,Ie=this._ts,Ce=!Ie,le&&(ae||(re=this._zTime),(g||!$)&&(this._zTime=g)),this._repeat){if($e=this._yoyo,_e=ae+this._rDelay,this._repeat<-1&&g<0)return this.totalTime(_e*100+g,$,V);if(ue=_roundPrecise(oe%_e),oe===ie?(pe=this._repeat,ue=ae):(Oe=_roundPrecise(oe/_e),pe=~~Oe,pe&&pe===Oe&&(ue=ae,pe--),ue>ae&&(ue=ae)),Oe=_animationCycle(this._tTime,_e),!re&&this._tTime&&Oe!==pe&&this._tTime-Oe*_e-this._dur<=0&&(Oe=pe),$e&&pe&1&&(ue=ae-ue,Ve=1),pe!==Oe&&!this._lock){var Ue=$e&&Oe&1,Fe=Ue===($e&&pe&1);if(pe=re&&g>=0)for(de=this._first;de;){if(he=de._next,(de._act||ue>=de._start)&&de._ts&&xe!==de){if(de.parent!==this)return this.render(g,$,V);if(de.render(de._ts>0?(ue-de._start)*de._ts:(de._dirty?de.totalDuration():de._tDur)+(ue-de._start)*de._ts,$,V),ue!==this._time||!this._ts&&!Ce){xe=0,he&&(oe+=this._zTime=-_tinyNum);break}}de=he}else{de=this._last;for(var ze=g<0?g:ue;de;){if(he=de._prev,(de._act||ze<=de._end)&&de._ts&&xe!==de){if(de.parent!==this)return this.render(g,$,V);if(de.render(de._ts>0?(ze-de._start)*de._ts:(de._dirty?de.totalDuration():de._tDur)+(ze-de._start)*de._ts,$,V||_reverting$1&&_isRevertWorthy(de)),ue!==this._time||!this._ts&&!Ce){xe=0,he&&(oe+=this._zTime=ze?-_tinyNum:_tinyNum);break}}de=he}}if(xe&&!$&&(this.pause(),xe.render(ue>=re?0:-_tinyNum)._zTime=ue>=re?1:-1,this._ts))return this._start=Ne,_setEnd(this),this.render(g,$,V);this._onUpdate&&!$&&_callback(this,"onUpdate",!0),(oe===ie&&this._tTime>=this.totalDuration()||!oe&&re)&&(Ne===this._start||Math.abs(Ie)!==Math.abs(this._ts))&&(this._lock||((g||!ae)&&(oe===ie&&this._ts>0||!oe&&this._ts<0)&&_removeFromParent(this,1),!$&&!(g<0&&!re)&&(oe||re||!ie)&&(_callback(this,oe===ie&&g>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(oe0)&&this._prom())))}return this},r.add=function(g,$){var V=this;if(_isNumber($)||($=_parsePosition(this,$,g)),!(g instanceof Animation$2)){if(_isArray(g))return g.forEach(function(re){return V.add(re,$)}),this;if(_isString(g))return this.addLabel(g,$);if(_isFunction(g))g=Tween.delayedCall(0,g);else return this}return this!==g?_addToTimeline(this,g,$):this},r.getChildren=function(g,$,V,re){g===void 0&&(g=!0),$===void 0&&($=!0),V===void 0&&(V=!0),re===void 0&&(re=-_bigNum$1);for(var ie=[],ae=this._first;ae;)ae._start>=re&&(ae instanceof Tween?$&&ie.push(ae):(V&&ie.push(ae),g&&ie.push.apply(ie,ae.getChildren(!0,$,V)))),ae=ae._next;return ie},r.getById=function(g){for(var $=this.getChildren(1,1,1),V=$.length;V--;)if($[V].vars.id===g)return $[V]},r.remove=function(g){return _isString(g)?this.removeLabel(g):_isFunction(g)?this.killTweensOf(g):(g.parent===this&&_removeLinkedListItem(this,g),g===this._recent&&(this._recent=this._last),_uncache(this))},r.totalTime=function(g,$){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=_roundPrecise(_ticker.time-(this._ts>0?g/this._ts:(this.totalDuration()-g)/-this._ts))),n.prototype.totalTime.call(this,g,$),this._forcing=0,this):this._tTime},r.addLabel=function(g,$){return this.labels[g]=_parsePosition(this,$),this},r.removeLabel=function(g){return delete this.labels[g],this},r.addPause=function(g,$,V){var re=Tween.delayedCall(0,$||_emptyFunc,V);return re.data="isPause",this._hasPause=1,_addToTimeline(this,re,_parsePosition(this,g))},r.removePause=function(g){var $=this._first;for(g=_parsePosition(this,g);$;)$._start===g&&$.data==="isPause"&&_removeFromParent($),$=$._next},r.killTweensOf=function(g,$,V){for(var re=this.getTweensOf(g,V),ie=re.length;ie--;)_overwritingTween!==re[ie]&&re[ie].kill(g,$);return this},r.getTweensOf=function(g,$){for(var V=[],re=toArray(g),ie=this._first,ae=_isNumber($),oe;ie;)ie instanceof Tween?_arrayContainsAny(ie._targets,re)&&(ae?(!_overwritingTween||ie._initted&&ie._ts)&&ie.globalTime(0)<=$&&ie.globalTime(ie.totalDuration())>$:!$||ie.isActive())&&V.push(ie):(oe=ie.getTweensOf(re,$)).length&&V.push.apply(V,oe),ie=ie._next;return V},r.tweenTo=function(g,$){$=$||{};var V=this,re=_parsePosition(V,g),ie=$,ae=ie.startAt,oe=ie.onStart,le=ie.onStartParams,ue=ie.immediateRender,de,he=Tween.to(V,_setDefaults({ease:$.ease||"none",lazy:!1,immediateRender:!1,time:re,overwrite:"auto",duration:$.duration||Math.abs((re-(ae&&"time"in ae?ae.time:V._time))/V.timeScale())||_tinyNum,onStart:function(){if(V.pause(),!de){var _e=$.duration||Math.abs((re-(ae&&"time"in ae?ae.time:V._time))/V.timeScale());he._dur!==_e&&_setDuration(he,_e,0,1).render(he._time,!0,!0),de=1}oe&&oe.apply(he,le||[])}},$));return ue?he.render(0):he},r.tweenFromTo=function(g,$,V){return this.tweenTo($,_setDefaults({startAt:{time:_parsePosition(this,g)}},V))},r.recent=function(){return this._recent},r.nextLabel=function(g){return g===void 0&&(g=this._time),_getLabelInDirection(this,_parsePosition(this,g))},r.previousLabel=function(g){return g===void 0&&(g=this._time),_getLabelInDirection(this,_parsePosition(this,g),1)},r.currentLabel=function(g){return arguments.length?this.seek(g,!0):this.previousLabel(this._time+_tinyNum)},r.shiftChildren=function(g,$,V){V===void 0&&(V=0);var re=this._first,ie=this.labels,ae;for(g=_roundPrecise(g);re;)re._start>=V&&(re._start+=g,re._end+=g),re=re._next;if($)for(ae in ie)ie[ae]>=V&&(ie[ae]+=g);return _uncache(this)},r.invalidate=function(g){var $=this._first;for(this._lock=0;$;)$.invalidate(g),$=$._next;return n.prototype.invalidate.call(this,g)},r.clear=function(g){g===void 0&&(g=!0);for(var $=this._first,V;$;)V=$._next,this.remove($),$=V;return this._dp&&(this._time=this._tTime=this._pTime=0),g&&(this.labels={}),_uncache(this)},r.totalDuration=function(g){var $=0,V=this,re=V._last,ie=_bigNum$1,ae,oe,le;if(arguments.length)return V.timeScale((V._repeat<0?V.duration():V.totalDuration())/(V.reversed()?-g:g));if(V._dirty){for(le=V.parent;re;)ae=re._prev,re._dirty&&re.totalDuration(),oe=re._start,oe>ie&&V._sort&&re._ts&&!V._lock?(V._lock=1,_addToTimeline(V,re,oe-re._delay,1)._lock=0):ie=oe,oe<0&&re._ts&&($-=oe,(!le&&!V._dp||le&&le.smoothChildTiming)&&(V._start+=_roundPrecise(oe/V._ts),V._time-=oe,V._tTime-=oe),V.shiftChildren(-oe,!1,-1/0),ie=0),re._end>$&&re._ts&&($=re._end),re=ae;_setDuration(V,V===_globalTimeline&&V._time>$?V._time:$,1,1),V._dirty=0}return V._tDur},t.updateRoot=function(g){if(_globalTimeline._ts&&(_lazySafeRender(_globalTimeline,_parentToChildTotalTime(g,_globalTimeline)),_lastRenderedFrame=_ticker.frame),_ticker.frame>=_nextGCFrame){_nextGCFrame+=_config.autoSleep||120;var $=_globalTimeline._first;if((!$||!$._ts)&&_config.autoSleep&&_ticker._listeners.length<2){for(;$&&!$._ts;)$=$._next;$||_ticker.sleep()}}},t}(Animation$2);_setDefaults(Timeline.prototype,{_lock:0,_hasPause:0,_forcing:0});var _addComplexStringPropTween=function n(t,r,i,g,$,V,re){var ie=new PropTween(this._pt,t,r,0,1,_renderComplexString,null,$),ae=0,oe=0,le,ue,de,he,pe,_e,Ce,xe;for(ie.b=i,ie.e=g,i+="",g+="",(Ce=~g.indexOf("random("))&&(g=_replaceRandom(g)),V&&(xe=[i,g],V(xe,t,r),i=xe[0],g=xe[1]),ue=i.match(_complexStringNumExp)||[];le=_complexStringNumExp.exec(g);)he=le[0],pe=g.substring(ae,le.index),de?de=(de+1)%5:pe.substr(-5)==="rgba("&&(de=1),he!==ue[oe++]&&(_e=parseFloat(ue[oe-1])||0,ie._pt={_next:ie._pt,p:pe||oe===1?pe:",",s:_e,c:he.charAt(1)==="="?_parseRelative(_e,he)-_e:parseFloat(he)-_e,m:de&&de<4?Math.round:0},ae=_complexStringNumExp.lastIndex);return ie.c=ae")}),Ne.duration();else{$e={};for(Ue in he)Ue==="ease"||Ue==="easeEach"||_parseKeyframe(Ue,he[Ue],$e,he.easeEach);for(Ue in $e)for(Et=$e[Ue].sort(function(Dt,Lt){return Dt.t-Lt.t}),qe=0,Oe=0;Oeie-_tinyNum&&!oe?ie:g<_tinyNum?0:g,ue,de,he,pe,_e,Ce,xe,Ie,Ne;if(!ae)_renderZeroDurationTween(this,g,$,V);else if(le!==this._tTime||!g||V||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==oe||this._lazy){if(ue=le,Ie=this.timeline,this._repeat){if(pe=ae+this._rDelay,this._repeat<-1&&oe)return this.totalTime(pe*100+g,$,V);if(ue=_roundPrecise(le%pe),le===ie?(he=this._repeat,ue=ae):(_e=_roundPrecise(le/pe),he=~~_e,he&&he===_e?(ue=ae,he--):ue>ae&&(ue=ae)),Ce=this._yoyo&&he&1,Ce&&(Ne=this._yEase,ue=ae-ue),_e=_animationCycle(this._tTime,pe),ue===re&&!V&&this._initted&&he===_e)return this._tTime=le,this;he!==_e&&(Ie&&this._yEase&&_propagateYoyoEase(Ie,Ce),this.vars.repeatRefresh&&!Ce&&!this._lock&&ue!==pe&&this._initted&&(this._lock=V=1,this.render(_roundPrecise(pe*he),!0).invalidate()._lock=0))}if(!this._initted){if(_attemptInitTween(this,oe?g:ue,V,$,le))return this._tTime=0,this;if(re!==this._time&&!(V&&this.vars.repeatRefresh&&he!==_e))return this;if(ae!==this._dur)return this.render(g,$,V)}if(this._tTime=le,this._time=ue,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=xe=(Ne||this._ease)(ue/ae),this._from&&(this.ratio=xe=1-xe),!re&&le&&!$&&!_e&&(_callback(this,"onStart"),this._tTime!==le))return this;for(de=this._pt;de;)de.r(xe,de.d),de=de._next;Ie&&Ie.render(g<0?g:Ie._dur*Ie._ease(ue/this._dur),$,V)||this._startAt&&(this._zTime=g),this._onUpdate&&!$&&(oe&&_rewindStartAt(this,g,$,V),_callback(this,"onUpdate")),this._repeat&&he!==_e&&this.vars.onRepeat&&!$&&this.parent&&_callback(this,"onRepeat"),(le===this._tDur||!le)&&this._tTime===le&&(oe&&!this._onUpdate&&_rewindStartAt(this,g,!0,!0),(g||!ae)&&(le===this._tDur&&this._ts>0||!le&&this._ts<0)&&_removeFromParent(this,1),!$&&!(oe&&!re)&&(le||re||Ce)&&(_callback(this,le===ie?"onComplete":"onReverseComplete",!0),this._prom&&!(le0)&&this._prom()))}return this},r.targets=function(){return this._targets},r.invalidate=function(g){return(!g||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(g),n.prototype.invalidate.call(this,g)},r.resetTo=function(g,$,V,re,ie){_tickerActive||_ticker.wake(),this._ts||this.play();var ae=Math.min(this._dur,(this._dp._time-this._start)*this._ts),oe;return this._initted||_initTween(this,ae),oe=this._ease(ae/this._dur),_updatePropTweens(this,g,$,V,re,oe,ae,ie)?this.resetTo(g,$,V,re,1):(_alignPlayhead(this,0),this.parent||_addLinkedListItem(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(g,$){if($===void 0&&($="all"),!g&&(!$||$==="all"))return this._lazy=this._pt=0,this.parent?_interrupt(this):this.scrollTrigger&&this.scrollTrigger.kill(!!_reverting$1),this;if(this.timeline){var V=this.timeline.totalDuration();return this.timeline.killTweensOf(g,$,_overwritingTween&&_overwritingTween.vars.overwrite!==!0)._first||_interrupt(this),this.parent&&V!==this.timeline.totalDuration()&&_setDuration(this,this._dur*this.timeline._tDur/V,0,1),this}var re=this._targets,ie=g?toArray(g):re,ae=this._ptLookup,oe=this._pt,le,ue,de,he,pe,_e,Ce;if((!$||$==="all")&&_arraysMatch(re,ie))return $==="all"&&(this._pt=0),_interrupt(this);for(le=this._op=this._op||[],$!=="all"&&(_isString($)&&(pe={},_forEachName($,function(xe){return pe[xe]=1}),$=pe),$=_addAliasesToVars(re,$)),Ce=re.length;Ce--;)if(~ie.indexOf(re[Ce])){ue=ae[Ce],$==="all"?(le[Ce]=$,he=ue,de={}):(de=le[Ce]=le[Ce]||{},he=$);for(pe in he)_e=ue&&ue[pe],_e&&((!("kill"in _e.d)||_e.d.kill(pe)===!0)&&_removeLinkedListItem(this,_e,"_pt"),delete ue[pe]),de!=="all"&&(de[pe]=1)}return this._initted&&!this._pt&&oe&&_interrupt(this),this},t.to=function(g,$){return new t(g,$,arguments[2])},t.from=function(g,$){return _createTweenType(1,arguments)},t.delayedCall=function(g,$,V,re){return new t($,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:g,onComplete:$,onReverseComplete:$,onCompleteParams:V,onReverseCompleteParams:V,callbackScope:re})},t.fromTo=function(g,$,V){return _createTweenType(2,arguments)},t.set=function(g,$){return $.duration=0,$.repeatDelay||($.repeat=0),new t(g,$)},t.killTweensOf=function(g,$,V){return _globalTimeline.killTweensOf(g,$,V)},t}(Animation$2);_setDefaults(Tween.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});_forEachName("staggerTo,staggerFrom,staggerFromTo",function(n){Tween[n]=function(){var t=new Timeline,r=_slice.call(arguments,0);return r.splice(n==="staggerFromTo"?5:4,0,0),t[n].apply(t,r)}});var _setterPlain=function n(t,r,i){return t[r]=i},_setterFunc=function n(t,r,i){return t[r](i)},_setterFuncWithParam=function n(t,r,i,g){return t[r](g.fp,i)},_setterAttribute=function n(t,r,i){return t.setAttribute(r,i)},_getSetter=function n(t,r){return _isFunction(t[r])?_setterFunc:_isUndefined(t[r])&&t.setAttribute?_setterAttribute:_setterPlain},_renderPlain=function n(t,r){return r.set(r.t,r.p,Math.round((r.s+r.c*t)*1e6)/1e6,r)},_renderBoolean=function n(t,r){return r.set(r.t,r.p,!!(r.s+r.c*t),r)},_renderComplexString=function n(t,r){var i=r._pt,g="";if(!t&&r.b)g=r.b;else if(t===1&&r.e)g=r.e;else{for(;i;)g=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+g,i=i._next;g+=r.c}r.set(r.t,r.p,g,r)},_renderPropTweens=function n(t,r){for(var i=r._pt;i;)i.r(t,i.d),i=i._next},_addPluginModifier=function n(t,r,i,g){for(var $=this._pt,V;$;)V=$._next,$.p===g&&$.modifier(t,r,i),$=V},_killPropTweensOf=function n(t){for(var r=this._pt,i,g;r;)g=r._next,r.p===t&&!r.op||r.op===t?_removeLinkedListItem(this,r,"_pt"):r.dep||(i=1),r=g;return!i},_setterWithModifier=function n(t,r,i,g){g.mSet(t,r,g.m.call(g.tween,i,g.mt),g)},_sortPropTweensByPriority=function n(t){for(var r=t._pt,i,g,$,V;r;){for(i=r._next,g=$;g&&g.pr>r.pr;)g=g._next;(r._prev=g?g._prev:V)?r._prev._next=r:$=r,(r._next=g)?g._prev=r:V=r,r=i}t._pt=$},PropTween=function(){function n(r,i,g,$,V,re,ie,ae,oe){this.t=i,this.s=$,this.c=V,this.p=g,this.r=re||_renderPlain,this.d=ie||this,this.set=ae||_setterPlain,this.pr=oe||0,this._next=r,r&&(r._prev=this)}var t=n.prototype;return t.modifier=function(i,g,$){this.mSet=this.mSet||this.set,this.set=_setterWithModifier,this.m=i,this.mt=$,this.tween=g},n}();_forEachName(_callbackNames+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",function(n){return _reservedProps[n]=1});_globals.TweenMax=_globals.TweenLite=Tween;_globals.TimelineLite=_globals.TimelineMax=Timeline;_globalTimeline=new Timeline({sortChildren:!1,defaults:_defaults,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});_config.stringFilter=_colorStringFilter;var _media=[],_listeners={},_emptyArray=[],_lastMediaTime=0,_contextID=0,_dispatch=function n(t){return(_listeners[t]||_emptyArray).map(function(r){return r()})},_onMediaChange=function n(){var t=Date.now(),r=[];t-_lastMediaTime>2&&(_dispatch("matchMediaInit"),_media.forEach(function(i){var g=i.queries,$=i.conditions,V,re,ie,ae;for(re in g)V=_win$1.matchMedia(g[re]).matches,V&&(ie=1),V!==$[re]&&($[re]=V,ae=1);ae&&(i.revert(),ie&&r.push(i))}),_dispatch("matchMediaRevert"),r.forEach(function(i){return i.onMatch(i,function(g){return i.add(null,g)})}),_lastMediaTime=t,_dispatch("matchMedia"))},Context=function(){function n(r,i){this.selector=i&&selector(i),this.data=[],this._r=[],this.isReverted=!1,this.id=_contextID++,r&&this.add(r)}var t=n.prototype;return t.add=function(i,g,$){_isFunction(i)&&($=g,g=i,i=_isFunction);var V=this,re=function(){var ae=_context,oe=V.selector,le;return ae&&ae!==V&&ae.data.push(V),$&&(V.selector=selector($)),_context=V,le=g.apply(V,arguments),_isFunction(le)&&V._r.push(le),_context=ae,V.selector=oe,V.isReverted=!1,le};return V.last=re,i===_isFunction?re(V,function(ie){return V.add(null,ie)}):i?V[i]=re:re},t.ignore=function(i){var g=_context;_context=null,i(this),_context=g},t.getTweens=function(){var i=[];return this.data.forEach(function(g){return g instanceof n?i.push.apply(i,g.getTweens()):g instanceof Tween&&!(g.parent&&g.parent.data==="nested")&&i.push(g)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,g){var $=this;if(i?function(){for(var re=$.getTweens(),ie=$.data.length,ae;ie--;)ae=$.data[ie],ae.data==="isFlip"&&(ae.revert(),ae.getChildren(!0,!0,!1).forEach(function(oe){return re.splice(re.indexOf(oe),1)}));for(re.map(function(oe){return{g:oe._dur||oe._delay||oe._sat&&!oe._sat.vars.immediateRender?oe.globalTime(0):-1/0,t:oe}}).sort(function(oe,le){return le.g-oe.g||-1/0}).forEach(function(oe){return oe.t.revert(i)}),ie=$.data.length;ie--;)ae=$.data[ie],ae instanceof Timeline?ae.data!=="nested"&&(ae.scrollTrigger&&ae.scrollTrigger.revert(),ae.kill()):!(ae instanceof Tween)&&ae.revert&&ae.revert(i);$._r.forEach(function(oe){return oe(i,$)}),$.isReverted=!0}():this.data.forEach(function(re){return re.kill&&re.kill()}),this.clear(),g)for(var V=_media.length;V--;)_media[V].id===this.id&&_media.splice(V,1)},t.revert=function(i){this.kill(i||{})},n}(),MatchMedia=function(){function n(r){this.contexts=[],this.scope=r,_context&&_context.data.push(this)}var t=n.prototype;return t.add=function(i,g,$){_isObject(i)||(i={matches:i});var V=new Context(0,$||this.scope),re=V.conditions={},ie,ae,oe;_context&&!V.selector&&(V.selector=_context.selector),this.contexts.push(V),g=V.add("onMatch",g),V.queries=i;for(ae in i)ae==="all"?oe=1:(ie=_win$1.matchMedia(i[ae]),ie&&(_media.indexOf(V)<0&&_media.push(V),(re[ae]=ie.matches)&&(oe=1),ie.addListener?ie.addListener(_onMediaChange):ie.addEventListener("change",_onMediaChange)));return oe&&g(V,function(le){return V.add(null,le)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(g){return g.kill(i,!0)})},n}(),_gsap={registerPlugin:function n(){for(var t=arguments.length,r=new Array(t),i=0;i1){var g=t.map(function(oe){return gsap.quickSetter(oe,r,i)}),$=g.length;return function(oe){for(var le=$;le--;)g[le](oe)}}t=t[0]||{};var V=_plugins[r],re=_getCache(t),ie=re.harness&&(re.harness.aliases||{})[r]||r,ae=V?function(oe){var le=new V;_quickTween._pt=0,le.init(t,i?oe+i:oe,_quickTween,0,[t]),le.render(1,le),_quickTween._pt&&_renderPropTweens(1,_quickTween)}:re.set(t,ie);return V?ae:function(oe){return ae(t,ie,i?oe+i:oe,re,1)}},quickTo:function n(t,r,i){var g,$=gsap.to(t,_setDefaults((g={},g[r]="+=0.1",g.paused=!0,g.stagger=0,g),i||{})),V=function(ie,ae,oe){return $.resetTo(r,ie,ae,oe)};return V.tween=$,V},isTweening:function n(t){return _globalTimeline.getTweensOf(t,!0).length>0},defaults:function n(t){return t&&t.ease&&(t.ease=_parseEase(t.ease,_defaults.ease)),_mergeDeep(_defaults,t||{})},config:function n(t){return _mergeDeep(_config,t||{})},registerEffect:function n(t){var r=t.name,i=t.effect,g=t.plugins,$=t.defaults,V=t.extendTimeline;(g||"").split(",").forEach(function(re){return re&&!_plugins[re]&&!_globals[re]&&_warn(r+" effect requires "+re+" plugin.")}),_effects[r]=function(re,ie,ae){return i(toArray(re),_setDefaults(ie||{},$),ae)},V&&(Timeline.prototype[r]=function(re,ie,ae){return this.add(_effects[r](re,_isObject(ie)?ie:(ae=ie)&&{},this),ae)})},registerEase:function n(t,r){_easeMap[t]=_parseEase(r)},parseEase:function n(t,r){return arguments.length?_parseEase(t,r):_easeMap},getById:function n(t){return _globalTimeline.getById(t)},exportRoot:function n(t,r){t===void 0&&(t={});var i=new Timeline(t),g,$;for(i.smoothChildTiming=_isNotFalse(t.smoothChildTiming),_globalTimeline.remove(i),i._dp=0,i._time=i._tTime=_globalTimeline._time,g=_globalTimeline._first;g;)$=g._next,(r||!(!g._dur&&g instanceof Tween&&g.vars.onComplete===g._targets[0]))&&_addToTimeline(i,g,g._start-g._delay),g=$;return _addToTimeline(_globalTimeline,i,0),i},context:function n(t,r){return t?new Context(t,r):_context},matchMedia:function n(t){return new MatchMedia(t)},matchMediaRefresh:function n(){return _media.forEach(function(t){var r=t.conditions,i,g;for(g in r)r[g]&&(r[g]=!1,i=1);i&&t.revert()})||_onMediaChange()},addEventListener:function n(t,r){var i=_listeners[t]||(_listeners[t]=[]);~i.indexOf(r)||i.push(r)},removeEventListener:function n(t,r){var i=_listeners[t],g=i&&i.indexOf(r);g>=0&&i.splice(g,1)},utils:{wrap,wrapYoyo,distribute,random,snap,normalize:normalize$1,getUnit,clamp,splitColor,toArray,selector,mapRange,pipe,unitize,interpolate,shuffle},install:_install,effects:_effects,ticker:_ticker,updateRoot:Timeline.updateRoot,plugins:_plugins,globalTimeline:_globalTimeline,core:{PropTween,globals:_addGlobal,Tween,Timeline,Animation:Animation$2,getCache:_getCache,_removeLinkedListItem,reverting:function n(){return _reverting$1},context:function n(t){return t&&_context&&(_context.data.push(t),t._ctx=_context),_context},suppressOverwrites:function n(t){return _suppressOverwrites=t}}};_forEachName("to,from,fromTo,delayedCall,set,killTweensOf",function(n){return _gsap[n]=Tween[n]});_ticker.add(Timeline.updateRoot);_quickTween=_gsap.to({},{duration:0});var _getPluginPropTween=function n(t,r){for(var i=t._pt;i&&i.p!==r&&i.op!==r&&i.fp!==r;)i=i._next;return i},_addModifiers=function n(t,r){var i=t._targets,g,$,V;for(g in r)for($=i.length;$--;)V=t._ptLookup[$][g],V&&(V=V.d)&&(V._pt&&(V=_getPluginPropTween(V,g)),V&&V.modifier&&V.modifier(r[g],t,i[$],g))},_buildModifierPlugin=function n(t,r){return{name:t,headless:1,rawVars:1,init:function(g,$,V){V._onInit=function(re){var ie,ae;if(_isString($)&&(ie={},_forEachName($,function(oe){return ie[oe]=1}),$=ie),r){ie={};for(ae in $)ie[ae]=r($[ae]);$=ie}_addModifiers(re,$)}}}},gsap=_gsap.registerPlugin({name:"attr",init:function n(t,r,i,g,$){var V,re,ie;this.tween=i;for(V in r)ie=t.getAttribute(V)||"",re=this.add(t,"setAttribute",(ie||0)+"",r[V],g,$,0,0,V),re.op=V,re.b=ie,this._props.push(V)},render:function n(t,r){for(var i=r._pt;i;)_reverting$1?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function n(t,r){for(var i=r.length;i--;)this.add(t,i,t[i]||0,r[i],0,0,0,0,0,1)}},_buildModifierPlugin("roundProps",_roundModifier),_buildModifierPlugin("modifiers"),_buildModifierPlugin("snap",snap))||_gsap;Tween.version=Timeline.version=gsap.version="3.14.2";_coreReady=1;_windowExists$1()&&_wake();_easeMap.Power0;_easeMap.Power1;_easeMap.Power2;_easeMap.Power3;_easeMap.Power4;_easeMap.Linear;_easeMap.Quad;_easeMap.Cubic;_easeMap.Quart;_easeMap.Quint;_easeMap.Strong;_easeMap.Elastic;_easeMap.Back;_easeMap.SteppedEase;_easeMap.Bounce;_easeMap.Sine;_easeMap.Expo;_easeMap.Circ;/*! - * CSSPlugin 3.14.2 - * https://gsap.com - * - * Copyright 2008-2025, GreenSock. All rights reserved. - * Subject to the terms at https://gsap.com/standard-license - * @author: Jack Doyle, jack@greensock.com -*/var _win,_doc,_docElement,_pluginInitted,_tempDiv,_recentSetterPlugin,_reverting,_windowExists=function n(){return typeof window<"u"},_transformProps={},_RAD2DEG=180/Math.PI,_DEG2RAD=Math.PI/180,_atan2=Math.atan2,_bigNum=1e8,_capsExp=/([A-Z])/g,_horizontalExp=/(left|right|width|margin|padding|x)/i,_complexExp=/[\s,\(]\S/,_propertyAliases={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_renderCSSProp=function n(t,r){return r.set(r.t,r.p,Math.round((r.s+r.c*t)*1e4)/1e4+r.u,r)},_renderPropWithEnd=function n(t,r){return r.set(r.t,r.p,t===1?r.e:Math.round((r.s+r.c*t)*1e4)/1e4+r.u,r)},_renderCSSPropWithBeginning=function n(t,r){return r.set(r.t,r.p,t?Math.round((r.s+r.c*t)*1e4)/1e4+r.u:r.b,r)},_renderCSSPropWithBeginningAndEnd=function n(t,r){return r.set(r.t,r.p,t===1?r.e:t?Math.round((r.s+r.c*t)*1e4)/1e4+r.u:r.b,r)},_renderRoundedCSSProp=function n(t,r){var i=r.s+r.c*t;r.set(r.t,r.p,~~(i+(i<0?-.5:.5))+r.u,r)},_renderNonTweeningValue=function n(t,r){return r.set(r.t,r.p,t?r.e:r.b,r)},_renderNonTweeningValueOnlyAtEnd=function n(t,r){return r.set(r.t,r.p,t!==1?r.b:r.e,r)},_setterCSSStyle=function n(t,r,i){return t.style[r]=i},_setterCSSProp=function n(t,r,i){return t.style.setProperty(r,i)},_setterTransform=function n(t,r,i){return t._gsap[r]=i},_setterScale=function n(t,r,i){return t._gsap.scaleX=t._gsap.scaleY=i},_setterScaleWithRender=function n(t,r,i,g,$){var V=t._gsap;V.scaleX=V.scaleY=i,V.renderTransform($,V)},_setterTransformWithRender=function n(t,r,i,g,$){var V=t._gsap;V[r]=i,V.renderTransform($,V)},_transformProp="transform",_transformOriginProp=_transformProp+"Origin",_saveStyle=function n(t,r){var i=this,g=this.target,$=g.style,V=g._gsap;if(t in _transformProps&&$){if(this.tfm=this.tfm||{},t!=="transform")t=_propertyAliases[t]||t,~t.indexOf(",")?t.split(",").forEach(function(re){return i.tfm[re]=_get(g,re)}):this.tfm[t]=V.x?V[t]:_get(g,t),t===_transformOriginProp&&(this.tfm.zOrigin=V.zOrigin);else return _propertyAliases.transform.split(",").forEach(function(re){return n.call(i,re,r)});if(this.props.indexOf(_transformProp)>=0)return;V.svg&&(this.svgo=g.getAttribute("data-svg-origin"),this.props.push(_transformOriginProp,r,"")),t=_transformProp}($||r)&&this.props.push(t,r,$[t])},_removeIndependentTransforms=function n(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},_revertStyle=function n(){var t=this.props,r=this.target,i=r.style,g=r._gsap,$,V;for($=0;$=0?_prefixes[V]:"")+t},_initCore=function n(){_windowExists()&&window.document&&(_win=window,_doc=_win.document,_docElement=_doc.documentElement,_tempDiv=_createElement("div")||{style:{}},_createElement("div"),_transformProp=_checkPropPrefix(_transformProp),_transformOriginProp=_transformProp+"Origin",_tempDiv.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",_supports3D=!!_checkPropPrefix("perspective"),_reverting=gsap.core.reverting,_pluginInitted=1)},_getReparentedCloneBBox=function n(t){var r=t.ownerSVGElement,i=_createElement("svg",r&&r.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),g=t.cloneNode(!0),$;g.style.display="block",i.appendChild(g),_docElement.appendChild(i);try{$=g.getBBox()}catch{}return i.removeChild(g),_docElement.removeChild(i),$},_getAttributeFallbacks=function n(t,r){for(var i=r.length;i--;)if(t.hasAttribute(r[i]))return t.getAttribute(r[i])},_getBBox=function n(t){var r,i;try{r=t.getBBox()}catch{r=_getReparentedCloneBBox(t),i=1}return r&&(r.width||r.height)||i||(r=_getReparentedCloneBBox(t)),r&&!r.width&&!r.x&&!r.y?{x:+_getAttributeFallbacks(t,["x","cx","x1"])||0,y:+_getAttributeFallbacks(t,["y","cy","y1"])||0,width:0,height:0}:r},_isSVG=function n(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&_getBBox(t))},_removeProperty=function n(t,r){if(r){var i=t.style,g;r in _transformProps&&r!==_transformOriginProp&&(r=_transformProp),i.removeProperty?(g=r.substr(0,2),(g==="ms"||r.substr(0,6)==="webkit")&&(r="-"+r),i.removeProperty(g==="--"?r:r.replace(_capsExp,"-$1").toLowerCase())):i.removeAttribute(r)}},_addNonTweeningPT=function n(t,r,i,g,$,V){var re=new PropTween(t._pt,r,i,0,1,V?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue);return t._pt=re,re.b=g,re.e=$,t._props.push(i),re},_nonConvertibleUnits={deg:1,rad:1,turn:1},_nonStandardLayouts={grid:1,flex:1},_convertToUnit=function n(t,r,i,g){var $=parseFloat(i)||0,V=(i+"").trim().substr(($+"").length)||"px",re=_tempDiv.style,ie=_horizontalExp.test(r),ae=t.tagName.toLowerCase()==="svg",oe=(ae?"client":"offset")+(ie?"Width":"Height"),le=100,ue=g==="px",de=g==="%",he,pe,_e,Ce;if(g===V||!$||_nonConvertibleUnits[g]||_nonConvertibleUnits[V])return $;if(V!=="px"&&!ue&&($=n(t,r,i,"px")),Ce=t.getCTM&&_isSVG(t),(de||V==="%")&&(_transformProps[r]||~r.indexOf("adius")))return he=Ce?t.getBBox()[ie?"width":"height"]:t[oe],_round(de?$/he*le:$/100*he);if(re[ie?"width":"height"]=le+(ue?V:g),pe=g!=="rem"&&~r.indexOf("adius")||g==="em"&&t.appendChild&&!ae?t:t.parentNode,Ce&&(pe=(t.ownerSVGElement||{}).parentNode),(!pe||pe===_doc||!pe.appendChild)&&(pe=_doc.body),_e=pe._gsap,_e&&de&&_e.width&&ie&&_e.time===_ticker.time&&!_e.uncache)return _round($/_e.width*le);if(de&&(r==="height"||r==="width")){var xe=t.style[r];t.style[r]=le+g,he=t[oe],xe?t.style[r]=xe:_removeProperty(t,r)}else(de||V==="%")&&!_nonStandardLayouts[_getComputedProperty(pe,"display")]&&(re.position=_getComputedProperty(t,"position")),pe===t&&(re.position="static"),pe.appendChild(_tempDiv),he=_tempDiv[oe],pe.removeChild(_tempDiv),re.position="absolute";return ie&&de&&(_e=_getCache(pe),_e.time=_ticker.time,_e.width=pe[oe]),_round(ue?he*$/le:he&&$?le/he*$:0)},_get=function n(t,r,i,g){var $;return _pluginInitted||_initCore(),r in _propertyAliases&&r!=="transform"&&(r=_propertyAliases[r],~r.indexOf(",")&&(r=r.split(",")[0])),_transformProps[r]&&r!=="transform"?($=_parseTransform(t,g),$=r!=="transformOrigin"?$[r]:$.svg?$.origin:_firstTwoOnly(_getComputedProperty(t,_transformOriginProp))+" "+$.zOrigin+"px"):($=t.style[r],(!$||$==="auto"||g||~($+"").indexOf("calc("))&&($=_specialProps[r]&&_specialProps[r](t,r,i)||_getComputedProperty(t,r)||_getProperty(t,r)||(r==="opacity"?1:0))),i&&!~($+"").trim().indexOf(" ")?_convertToUnit(t,r,$,i)+i:$},_tweenComplexCSSString=function n(t,r,i,g){if(!i||i==="none"){var $=_checkPropPrefix(r,t,1),V=$&&_getComputedProperty(t,$,1);V&&V!==i?(r=$,i=V):r==="borderColor"&&(i=_getComputedProperty(t,"borderTopColor"))}var re=new PropTween(this._pt,t.style,r,0,1,_renderComplexString),ie=0,ae=0,oe,le,ue,de,he,pe,_e,Ce,xe,Ie,Ne,Oe;if(re.b=i,re.e=g,i+="",g+="",g.substring(0,6)==="var(--"&&(g=_getComputedProperty(t,g.substring(4,g.indexOf(")")))),g==="auto"&&(pe=t.style[r],t.style[r]=g,g=_getComputedProperty(t,r)||g,pe?t.style[r]=pe:_removeProperty(t,r)),oe=[i,g],_colorStringFilter(oe),i=oe[0],g=oe[1],ue=i.match(_numWithUnitExp)||[],Oe=g.match(_numWithUnitExp)||[],Oe.length){for(;le=_numWithUnitExp.exec(g);)_e=le[0],xe=g.substring(ie,le.index),he?he=(he+1)%5:(xe.substr(-5)==="rgba("||xe.substr(-5)==="hsla(")&&(he=1),_e!==(pe=ue[ae++]||"")&&(de=parseFloat(pe)||0,Ne=pe.substr((de+"").length),_e.charAt(1)==="="&&(_e=_parseRelative(de,_e)+Ne),Ce=parseFloat(_e),Ie=_e.substr((Ce+"").length),ie=_numWithUnitExp.lastIndex-Ie.length,Ie||(Ie=Ie||_config.units[r]||Ne,ie===g.length&&(g+=Ie,re.e+=Ie)),Ne!==Ie&&(de=_convertToUnit(t,r,pe,Ie)||0),re._pt={_next:re._pt,p:xe||ae===1?xe:",",s:de,c:Ce-de,m:he&&he<4||r==="zIndex"?Math.round:0});re.c=ie-1;)re=$[ae],_transformProps[re]&&(ie=1,re=re==="transformOrigin"?_transformOriginProp:_transformProp),_removeProperty(i,re);ie&&(_removeProperty(i,_transformProp),V&&(V.svg&&i.removeAttribute("transform"),g.scale=g.rotate=g.translate="none",_parseTransform(i,1),V.uncache=1,_removeIndependentTransforms(g)))}},_specialProps={clearProps:function n(t,r,i,g,$){if($.data!=="isFromStart"){var V=t._pt=new PropTween(t._pt,r,i,0,0,_renderClearProps);return V.u=g,V.pr=-10,V.tween=$,t._props.push(i),1}}},_identity2DMatrix=[1,0,0,1,0,0],_rotationalProperties={},_isNullTransform=function n(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},_getComputedTransformMatrixAsArray=function n(t){var r=_getComputedProperty(t,_transformProp);return _isNullTransform(r)?_identity2DMatrix:r.substr(7).match(_numExp).map(_round)},_getMatrix=function n(t,r){var i=t._gsap||_getCache(t),g=t.style,$=_getComputedTransformMatrixAsArray(t),V,re,ie,ae;return i.svg&&t.getAttribute("transform")?(ie=t.transform.baseVal.consolidate().matrix,$=[ie.a,ie.b,ie.c,ie.d,ie.e,ie.f],$.join(",")==="1,0,0,1,0,0"?_identity2DMatrix:$):($===_identity2DMatrix&&!t.offsetParent&&t!==_docElement&&!i.svg&&(ie=g.display,g.display="block",V=t.parentNode,(!V||!t.offsetParent&&!t.getBoundingClientRect().width)&&(ae=1,re=t.nextElementSibling,_docElement.appendChild(t)),$=_getComputedTransformMatrixAsArray(t),ie?g.display=ie:_removeProperty(t,"display"),ae&&(re?V.insertBefore(t,re):V?V.appendChild(t):_docElement.removeChild(t))),r&&$.length>6?[$[0],$[1],$[4],$[5],$[12],$[13]]:$)},_applySVGOrigin=function n(t,r,i,g,$,V){var re=t._gsap,ie=$||_getMatrix(t,!0),ae=re.xOrigin||0,oe=re.yOrigin||0,le=re.xOffset||0,ue=re.yOffset||0,de=ie[0],he=ie[1],pe=ie[2],_e=ie[3],Ce=ie[4],xe=ie[5],Ie=r.split(" "),Ne=parseFloat(Ie[0])||0,Oe=parseFloat(Ie[1])||0,$e,Ve,Ue,Fe;i?ie!==_identity2DMatrix&&(Ve=de*_e-he*pe)&&(Ue=Ne*(_e/Ve)+Oe*(-pe/Ve)+(pe*xe-_e*Ce)/Ve,Fe=Ne*(-he/Ve)+Oe*(de/Ve)-(de*xe-he*Ce)/Ve,Ne=Ue,Oe=Fe):($e=_getBBox(t),Ne=$e.x+(~Ie[0].indexOf("%")?Ne/100*$e.width:Ne),Oe=$e.y+(~(Ie[1]||Ie[0]).indexOf("%")?Oe/100*$e.height:Oe)),g||g!==!1&&re.smooth?(Ce=Ne-ae,xe=Oe-oe,re.xOffset=le+(Ce*de+xe*pe)-Ce,re.yOffset=ue+(Ce*he+xe*_e)-xe):re.xOffset=re.yOffset=0,re.xOrigin=Ne,re.yOrigin=Oe,re.smooth=!!g,re.origin=r,re.originIsAbsolute=!!i,t.style[_transformOriginProp]="0px 0px",V&&(_addNonTweeningPT(V,re,"xOrigin",ae,Ne),_addNonTweeningPT(V,re,"yOrigin",oe,Oe),_addNonTweeningPT(V,re,"xOffset",le,re.xOffset),_addNonTweeningPT(V,re,"yOffset",ue,re.yOffset)),t.setAttribute("data-svg-origin",Ne+" "+Oe)},_parseTransform=function n(t,r){var i=t._gsap||new GSCache(t);if("x"in i&&!r&&!i.uncache)return i;var g=t.style,$=i.scaleX<0,V="px",re="deg",ie=getComputedStyle(t),ae=_getComputedProperty(t,_transformOriginProp)||"0",oe,le,ue,de,he,pe,_e,Ce,xe,Ie,Ne,Oe,$e,Ve,Ue,Fe,ze,Pt,qe,Et,kt,At,Dt,Lt,jt,hn,vn,_n,wn,bn,Cn,Sn;return oe=le=ue=pe=_e=Ce=xe=Ie=Ne=0,de=he=1,i.svg=!!(t.getCTM&&_isSVG(t)),ie.translate&&((ie.translate!=="none"||ie.scale!=="none"||ie.rotate!=="none")&&(g[_transformProp]=(ie.translate!=="none"?"translate3d("+(ie.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(ie.rotate!=="none"?"rotate("+ie.rotate+") ":"")+(ie.scale!=="none"?"scale("+ie.scale.split(" ").join(",")+") ":"")+(ie[_transformProp]!=="none"?ie[_transformProp]:"")),g.scale=g.rotate=g.translate="none"),Ve=_getMatrix(t,i.svg),i.svg&&(i.uncache?(jt=t.getBBox(),ae=i.xOrigin-jt.x+"px "+(i.yOrigin-jt.y)+"px",Lt=""):Lt=!r&&t.getAttribute("data-svg-origin"),_applySVGOrigin(t,Lt||ae,!!Lt||i.originIsAbsolute,i.smooth!==!1,Ve)),Oe=i.xOrigin||0,$e=i.yOrigin||0,Ve!==_identity2DMatrix&&(Pt=Ve[0],qe=Ve[1],Et=Ve[2],kt=Ve[3],oe=At=Ve[4],le=Dt=Ve[5],Ve.length===6?(de=Math.sqrt(Pt*Pt+qe*qe),he=Math.sqrt(kt*kt+Et*Et),pe=Pt||qe?_atan2(qe,Pt)*_RAD2DEG:0,xe=Et||kt?_atan2(Et,kt)*_RAD2DEG+pe:0,xe&&(he*=Math.abs(Math.cos(xe*_DEG2RAD))),i.svg&&(oe-=Oe-(Oe*Pt+$e*Et),le-=$e-(Oe*qe+$e*kt))):(Sn=Ve[6],bn=Ve[7],vn=Ve[8],_n=Ve[9],wn=Ve[10],Cn=Ve[11],oe=Ve[12],le=Ve[13],ue=Ve[14],Ue=_atan2(Sn,wn),_e=Ue*_RAD2DEG,Ue&&(Fe=Math.cos(-Ue),ze=Math.sin(-Ue),Lt=At*Fe+vn*ze,jt=Dt*Fe+_n*ze,hn=Sn*Fe+wn*ze,vn=At*-ze+vn*Fe,_n=Dt*-ze+_n*Fe,wn=Sn*-ze+wn*Fe,Cn=bn*-ze+Cn*Fe,At=Lt,Dt=jt,Sn=hn),Ue=_atan2(-Et,wn),Ce=Ue*_RAD2DEG,Ue&&(Fe=Math.cos(-Ue),ze=Math.sin(-Ue),Lt=Pt*Fe-vn*ze,jt=qe*Fe-_n*ze,hn=Et*Fe-wn*ze,Cn=kt*ze+Cn*Fe,Pt=Lt,qe=jt,Et=hn),Ue=_atan2(qe,Pt),pe=Ue*_RAD2DEG,Ue&&(Fe=Math.cos(Ue),ze=Math.sin(Ue),Lt=Pt*Fe+qe*ze,jt=At*Fe+Dt*ze,qe=qe*Fe-Pt*ze,Dt=Dt*Fe-At*ze,Pt=Lt,At=jt),_e&&Math.abs(_e)+Math.abs(pe)>359.9&&(_e=pe=0,Ce=180-Ce),de=_round(Math.sqrt(Pt*Pt+qe*qe+Et*Et)),he=_round(Math.sqrt(Dt*Dt+Sn*Sn)),Ue=_atan2(At,Dt),xe=Math.abs(Ue)>2e-4?Ue*_RAD2DEG:0,Ne=Cn?1/(Cn<0?-Cn:Cn):0),i.svg&&(Lt=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!_isNullTransform(_getComputedProperty(t,_transformProp)),Lt&&t.setAttribute("transform",Lt))),Math.abs(xe)>90&&Math.abs(xe)<270&&($?(de*=-1,xe+=pe<=0?180:-180,pe+=pe<=0?180:-180):(he*=-1,xe+=xe<=0?180:-180)),r=r||i.uncache,i.x=oe-((i.xPercent=oe&&(!r&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-oe)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+V,i.y=le-((i.yPercent=le&&(!r&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-le)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+V,i.z=ue+V,i.scaleX=_round(de),i.scaleY=_round(he),i.rotation=_round(pe)+re,i.rotationX=_round(_e)+re,i.rotationY=_round(Ce)+re,i.skewX=xe+re,i.skewY=Ie+re,i.transformPerspective=Ne+V,(i.zOrigin=parseFloat(ae.split(" ")[2])||!r&&i.zOrigin||0)&&(g[_transformOriginProp]=_firstTwoOnly(ae)),i.xOffset=i.yOffset=0,i.force3D=_config.force3D,i.renderTransform=i.svg?_renderSVGTransforms:_supports3D?_renderCSSTransforms:_renderNon3DTransforms,i.uncache=0,i},_firstTwoOnly=function n(t){return(t=t.split(" "))[0]+" "+t[1]},_addPxTranslate=function n(t,r,i){var g=getUnit(r);return _round(parseFloat(r)+parseFloat(_convertToUnit(t,"x",i+"px",g)))+g},_renderNon3DTransforms=function n(t,r){r.z="0px",r.rotationY=r.rotationX="0deg",r.force3D=0,_renderCSSTransforms(t,r)},_zeroDeg="0deg",_zeroPx="0px",_endParenthesis=") ",_renderCSSTransforms=function n(t,r){var i=r||this,g=i.xPercent,$=i.yPercent,V=i.x,re=i.y,ie=i.z,ae=i.rotation,oe=i.rotationY,le=i.rotationX,ue=i.skewX,de=i.skewY,he=i.scaleX,pe=i.scaleY,_e=i.transformPerspective,Ce=i.force3D,xe=i.target,Ie=i.zOrigin,Ne="",Oe=Ce==="auto"&&t&&t!==1||Ce===!0;if(Ie&&(le!==_zeroDeg||oe!==_zeroDeg)){var $e=parseFloat(oe)*_DEG2RAD,Ve=Math.sin($e),Ue=Math.cos($e),Fe;$e=parseFloat(le)*_DEG2RAD,Fe=Math.cos($e),V=_addPxTranslate(xe,V,Ve*Fe*-Ie),re=_addPxTranslate(xe,re,-Math.sin($e)*-Ie),ie=_addPxTranslate(xe,ie,Ue*Fe*-Ie+Ie)}_e!==_zeroPx&&(Ne+="perspective("+_e+_endParenthesis),(g||$)&&(Ne+="translate("+g+"%, "+$+"%) "),(Oe||V!==_zeroPx||re!==_zeroPx||ie!==_zeroPx)&&(Ne+=ie!==_zeroPx||Oe?"translate3d("+V+", "+re+", "+ie+") ":"translate("+V+", "+re+_endParenthesis),ae!==_zeroDeg&&(Ne+="rotate("+ae+_endParenthesis),oe!==_zeroDeg&&(Ne+="rotateY("+oe+_endParenthesis),le!==_zeroDeg&&(Ne+="rotateX("+le+_endParenthesis),(ue!==_zeroDeg||de!==_zeroDeg)&&(Ne+="skew("+ue+", "+de+_endParenthesis),(he!==1||pe!==1)&&(Ne+="scale("+he+", "+pe+_endParenthesis),xe.style[_transformProp]=Ne||"translate(0, 0)"},_renderSVGTransforms=function n(t,r){var i=r||this,g=i.xPercent,$=i.yPercent,V=i.x,re=i.y,ie=i.rotation,ae=i.skewX,oe=i.skewY,le=i.scaleX,ue=i.scaleY,de=i.target,he=i.xOrigin,pe=i.yOrigin,_e=i.xOffset,Ce=i.yOffset,xe=i.forceCSS,Ie=parseFloat(V),Ne=parseFloat(re),Oe,$e,Ve,Ue,Fe;ie=parseFloat(ie),ae=parseFloat(ae),oe=parseFloat(oe),oe&&(oe=parseFloat(oe),ae+=oe,ie+=oe),ie||ae?(ie*=_DEG2RAD,ae*=_DEG2RAD,Oe=Math.cos(ie)*le,$e=Math.sin(ie)*le,Ve=Math.sin(ie-ae)*-ue,Ue=Math.cos(ie-ae)*ue,ae&&(oe*=_DEG2RAD,Fe=Math.tan(ae-oe),Fe=Math.sqrt(1+Fe*Fe),Ve*=Fe,Ue*=Fe,oe&&(Fe=Math.tan(oe),Fe=Math.sqrt(1+Fe*Fe),Oe*=Fe,$e*=Fe)),Oe=_round(Oe),$e=_round($e),Ve=_round(Ve),Ue=_round(Ue)):(Oe=le,Ue=ue,$e=Ve=0),(Ie&&!~(V+"").indexOf("px")||Ne&&!~(re+"").indexOf("px"))&&(Ie=_convertToUnit(de,"x",V,"px"),Ne=_convertToUnit(de,"y",re,"px")),(he||pe||_e||Ce)&&(Ie=_round(Ie+he-(he*Oe+pe*Ve)+_e),Ne=_round(Ne+pe-(he*$e+pe*Ue)+Ce)),(g||$)&&(Fe=de.getBBox(),Ie=_round(Ie+g/100*Fe.width),Ne=_round(Ne+$/100*Fe.height)),Fe="matrix("+Oe+","+$e+","+Ve+","+Ue+","+Ie+","+Ne+")",de.setAttribute("transform",Fe),xe&&(de.style[_transformProp]=Fe)},_addRotationalPropTween=function n(t,r,i,g,$){var V=360,re=_isString($),ie=parseFloat($)*(re&&~$.indexOf("rad")?_RAD2DEG:1),ae=ie-g,oe=g+ae+"deg",le,ue;return re&&(le=$.split("_")[1],le==="short"&&(ae%=V,ae!==ae%(V/2)&&(ae+=ae<0?V:-V)),le==="cw"&&ae<0?ae=(ae+V*_bigNum)%V-~~(ae/V)*V:le==="ccw"&&ae>0&&(ae=(ae-V*_bigNum)%V-~~(ae/V)*V)),t._pt=ue=new PropTween(t._pt,r,i,g,ae,_renderPropWithEnd),ue.e=oe,ue.u="deg",t._props.push(i),ue},_assign=function n(t,r){for(var i in r)t[i]=r[i];return t},_addRawTransformPTs=function n(t,r,i){var g=_assign({},i._gsap),$="perspective,force3D,transformOrigin,svgOrigin",V=i.style,re,ie,ae,oe,le,ue,de,he;g.svg?(ae=i.getAttribute("transform"),i.setAttribute("transform",""),V[_transformProp]=r,re=_parseTransform(i,1),_removeProperty(i,_transformProp),i.setAttribute("transform",ae)):(ae=getComputedStyle(i)[_transformProp],V[_transformProp]=r,re=_parseTransform(i,1),V[_transformProp]=ae);for(ie in _transformProps)ae=g[ie],oe=re[ie],ae!==oe&&$.indexOf(ie)<0&&(de=getUnit(ae),he=getUnit(oe),le=de!==he?_convertToUnit(i,ie,ae,he):parseFloat(ae),ue=parseFloat(oe),t._pt=new PropTween(t._pt,re,ie,le,ue-le,_renderCSSProp),t._pt.u=he||0,t._props.push(ie));_assign(re,g)};_forEachName("padding,margin,Width,Radius",function(n,t){var r="Top",i="Right",g="Bottom",$="Left",V=(t<3?[r,i,g,$]:[r+$,r+i,g+i,g+$]).map(function(re){return t<2?n+re:"border"+re+n});_specialProps[t>1?"border"+n:n]=function(re,ie,ae,oe,le){var ue,de;if(arguments.length<4)return ue=V.map(function(he){return _get(re,he,ae)}),de=ue.join(" "),de.split(ue[0]).length===5?ue[0]:de;ue=(oe+"").split(" "),de={},V.forEach(function(he,pe){return de[he]=ue[pe]=ue[pe]||ue[(pe-1)/2|0]}),re.init(ie,de,le)}});var CSSPlugin={name:"css",register:_initCore,targetTest:function n(t){return t.style&&t.nodeType},init:function n(t,r,i,g,$){var V=this._props,re=t.style,ie=i.vars.startAt,ae,oe,le,ue,de,he,pe,_e,Ce,xe,Ie,Ne,Oe,$e,Ve,Ue,Fe;_pluginInitted||_initCore(),this.styles=this.styles||_getStyleSaver(t),Ue=this.styles.props,this.tween=i;for(pe in r)if(pe!=="autoRound"&&(oe=r[pe],!(_plugins[pe]&&_checkPlugin(pe,r,i,g,t,$)))){if(de=typeof oe,he=_specialProps[pe],de==="function"&&(oe=oe.call(i,g,t,$),de=typeof oe),de==="string"&&~oe.indexOf("random(")&&(oe=_replaceRandom(oe)),he)he(this,t,pe,oe,i)&&(Ve=1);else if(pe.substr(0,2)==="--")ae=(getComputedStyle(t).getPropertyValue(pe)+"").trim(),oe+="",_colorExp.lastIndex=0,_colorExp.test(ae)||(_e=getUnit(ae),Ce=getUnit(oe),Ce?_e!==Ce&&(ae=_convertToUnit(t,pe,ae,Ce)+Ce):_e&&(oe+=_e)),this.add(re,"setProperty",ae,oe,g,$,0,0,pe),V.push(pe),Ue.push(pe,0,re[pe]);else if(de!=="undefined"){if(ie&&pe in ie?(ae=typeof ie[pe]=="function"?ie[pe].call(i,g,t,$):ie[pe],_isString(ae)&&~ae.indexOf("random(")&&(ae=_replaceRandom(ae)),getUnit(ae+"")||ae==="auto"||(ae+=_config.units[pe]||getUnit(_get(t,pe))||""),(ae+"").charAt(1)==="="&&(ae=_get(t,pe))):ae=_get(t,pe),ue=parseFloat(ae),xe=de==="string"&&oe.charAt(1)==="="&&oe.substr(0,2),xe&&(oe=oe.substr(2)),le=parseFloat(oe),pe in _propertyAliases&&(pe==="autoAlpha"&&(ue===1&&_get(t,"visibility")==="hidden"&&le&&(ue=0),Ue.push("visibility",0,re.visibility),_addNonTweeningPT(this,re,"visibility",ue?"inherit":"hidden",le?"inherit":"hidden",!le)),pe!=="scale"&&pe!=="transform"&&(pe=_propertyAliases[pe],~pe.indexOf(",")&&(pe=pe.split(",")[0]))),Ie=pe in _transformProps,Ie){if(this.styles.save(pe),Fe=oe,de==="string"&&oe.substring(0,6)==="var(--"){if(oe=_getComputedProperty(t,oe.substring(4,oe.indexOf(")"))),oe.substring(0,5)==="calc("){var ze=t.style.perspective;t.style.perspective=oe,oe=_getComputedProperty(t,"perspective"),ze?t.style.perspective=ze:_removeProperty(t,"perspective")}le=parseFloat(oe)}if(Ne||(Oe=t._gsap,Oe.renderTransform&&!r.parseTransform||_parseTransform(t,r.parseTransform),$e=r.smoothOrigin!==!1&&Oe.smooth,Ne=this._pt=new PropTween(this._pt,re,_transformProp,0,1,Oe.renderTransform,Oe,0,-1),Ne.dep=1),pe==="scale")this._pt=new PropTween(this._pt,Oe,"scaleY",Oe.scaleY,(xe?_parseRelative(Oe.scaleY,xe+le):le)-Oe.scaleY||0,_renderCSSProp),this._pt.u=0,V.push("scaleY",pe),pe+="X";else if(pe==="transformOrigin"){Ue.push(_transformOriginProp,0,re[_transformOriginProp]),oe=_convertKeywordsToPercentages(oe),Oe.svg?_applySVGOrigin(t,oe,0,$e,0,this):(Ce=parseFloat(oe.split(" ")[2])||0,Ce!==Oe.zOrigin&&_addNonTweeningPT(this,Oe,"zOrigin",Oe.zOrigin,Ce),_addNonTweeningPT(this,re,pe,_firstTwoOnly(ae),_firstTwoOnly(oe)));continue}else if(pe==="svgOrigin"){_applySVGOrigin(t,oe,1,$e,0,this);continue}else if(pe in _rotationalProperties){_addRotationalPropTween(this,Oe,pe,ue,xe?_parseRelative(ue,xe+oe):oe);continue}else if(pe==="smoothOrigin"){_addNonTweeningPT(this,Oe,"smooth",Oe.smooth,oe);continue}else if(pe==="force3D"){Oe[pe]=oe;continue}else if(pe==="transform"){_addRawTransformPTs(this,oe,t);continue}}else pe in re||(pe=_checkPropPrefix(pe)||pe);if(Ie||(le||le===0)&&(ue||ue===0)&&!_complexExp.test(oe)&&pe in re)_e=(ae+"").substr((ue+"").length),le||(le=0),Ce=getUnit(oe)||(pe in _config.units?_config.units[pe]:_e),_e!==Ce&&(ue=_convertToUnit(t,pe,ae,Ce)),this._pt=new PropTween(this._pt,Ie?Oe:re,pe,ue,(xe?_parseRelative(ue,xe+le):le)-ue,!Ie&&(Ce==="px"||pe==="zIndex")&&r.autoRound!==!1?_renderRoundedCSSProp:_renderCSSProp),this._pt.u=Ce||0,Ie&&Fe!==oe?(this._pt.b=ae,this._pt.e=Fe,this._pt.r=_renderCSSPropWithBeginningAndEnd):_e!==Ce&&Ce!=="%"&&(this._pt.b=ae,this._pt.r=_renderCSSPropWithBeginning);else if(pe in re)_tweenComplexCSSString.call(this,t,pe,ae,xe?xe+oe:oe);else if(pe in t)this.add(t,pe,ae||t[pe],xe?xe+oe:oe,g,$);else if(pe!=="parseTransform"){_missingPlugin(pe,oe);continue}Ie||(pe in re?Ue.push(pe,0,re[pe]):typeof t[pe]=="function"?Ue.push(pe,2,t[pe]()):Ue.push(pe,1,ae||t[pe])),V.push(pe)}}Ve&&_sortPropTweensByPriority(this)},render:function n(t,r){if(r.tween._time||!_reverting())for(var i=r._pt;i;)i.r(t,i.d),i=i._next;else r.styles.revert()},get:_get,aliases:_propertyAliases,getSetter:function n(t,r,i){var g=_propertyAliases[r];return g&&g.indexOf(",")<0&&(r=g),r in _transformProps&&r!==_transformOriginProp&&(t._gsap.x||_get(t,"x"))?i&&_recentSetterPlugin===i?r==="scale"?_setterScale:_setterTransform:(_recentSetterPlugin=i||{})&&(r==="scale"?_setterScaleWithRender:_setterTransformWithRender):t.style&&!_isUndefined(t.style[r])?_setterCSSStyle:~r.indexOf("-")?_setterCSSProp:_getSetter(t,r)},core:{_removeProperty,_getMatrix}};gsap.utils.checkPrefix=_checkPropPrefix;gsap.core.getStyleSaver=_getStyleSaver;(function(n,t,r,i){var g=_forEachName(n+","+t+","+r,function($){_transformProps[$]=1});_forEachName(t,function($){_config.units[$]="deg",_rotationalProperties[$]=1}),_propertyAliases[g[13]]=n+","+t,_forEachName(i,function($){var V=$.split(":");_propertyAliases[V[1]]=g[V[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");_forEachName("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(n){_config.units[n]="px"});gsap.registerPlugin(CSSPlugin);var gsapWithCSS=gsap.registerPlugin(CSSPlugin)||gsap;gsapWithCSS.core.Tween;const _hoisted_1$3={class:"scene-wrapper"},_hoisted_2$2={class:"control-buttons"},_sfc_main$5=defineComponent({__name:"vue-three-groundFloor",setup(n){var Et,kt,At,Dt;const t=ref(),r=new Scene,i=new PerspectiveCamera(45,((Et=t.value)==null?void 0:Et.clientWidth)/((kt=t.value)==null?void 0:kt.clientHeight),.1,1e3);i.position.set(0,14,13.5),i.lookAt(0,0,0);const g=new AxesHelper(100);r.add(g);const $=new WebGLRenderer({antialias:!0,alpha:!0,preserveDrawingBuffer:!0});$.setClearColor(new Color("#131519")),$.setSize((At=t.value)==null?void 0:At.clientWidth,(Dt=t.value)==null?void 0:Dt.clientHeight),$.shadowMap.enabled=!0,$.setPixelRatio(window.devicePixelRatio||1);const V=new OrbitControls(i,$.domElement);V.autoRotate=!1,V.autoRotateSpeed=5,V.dampingFactor=.1,V.enableDamping=!0,V.enableRotate=!0,V.minDistance=10,V.maxPolarAngle=Math.PI*.5,r.add(new AxesHelper(20));const re=new AmbientLight("#ffffff",1.8);r.add(re);const ie=new DirectionalLight("#ffffff",1.8);r.add(ie),ie.position.set(20,20,10);const ae=new PointLight("#ffffff",1.8,1e3);r.add(ae),ae.position.set(0,40,0);let oe=[],le=[],ue=[],de=[],he=[],pe=[];const _e=new GLTFLoader,Ce=new TextureLoader,xe=new MeshBasicMaterial({color:4235007,transparent:!0,opacity:.3}),Ie=Ce.load("/models/texture/alpha.png"),Ne=new MeshBasicMaterial({color:4235007,alphaMap:Ie,transparent:!0});_e.load("/models/groundFloor/ground_floor06.gltf",Lt=>{Lt.scene.children.forEach(jt=>{var hn;if(jt.name.includes("area_oneFloor")){const vn=jt.geometry;vn.computeBoundingBox(),vn.center();const _n=((hn=vn.boundingBox)==null?void 0:hn.clone())||new Box3;jt.updateWorldMatrix(!0,!0),_n.applyMatrix4(jt.matrixWorld);const wn=new BoxHelper(jt,15790320);wn.material.transparent=!0,wn.material.opacity=.38,r.add(wn);const bn=new Vector3;jt.getWorldPosition(bn);const Cn=document.createElement("canvas"),Sn=window.devicePixelRatio||1;Cn.width=512*Sn,Cn.height=256*Sn,Cn.style.width="512px",Cn.style.height="256px";const Tn=Cn.getContext("2d");Tn&&(Tn.scale(Sn,Sn),Tn.fillStyle="rgba(0, 0, 0, 0)",Tn.fillRect(0,0,512,256),Tn.fillStyle="white",Tn.textAlign="center",Tn.textBaseline="middle",Tn.font="24px 微软雅黑, Arial, sans-serif",Tn.fillText($e(jt.name),256,128));const En=new CanvasTexture(Cn),kn=new SpriteMaterial({map:En}),$n=new Sprite(kn);$n.scale.set(4,2,1),$n.position.copy(bn),$n.position.y+=1.5,r.add($n),$n.visible=!1,wn.visible=!1,jt.visible=!1,oe.push($n),oe.push(wn),oe.push(jt),he.push(jt)}else if(jt.name.includes("acoustoOptic")){jt.visible=!1;let vn=jt.position;const _n=new SphereGeometry(1,13,8),wn=new Mesh(_n,xe);wn.position.set(vn.x,vn.y,vn.z),r.add(wn),wn.visible=!1,le.push(wn),le.push(jt),pe.push({meshName:jt.name,targetMesh:jt,geometry:wn,controller:Oe(wn)}),he.push(jt)}else if(jt.name.includes("manual")){let vn=jt.position;const _n=new SphereGeometry(1,28,14),wn=new Mesh(_n,xe);wn.position.set(vn.x,vn.y,vn.z),r.add(wn),jt.visible=!1,wn.visible=!1,ue.push(wn),ue.push(jt),pe.push({meshName:jt.name,targetMesh:jt,geometry:wn,controller:Oe(wn)}),he.push(jt)}else if(jt.name.includes("smokeDetecto")){jt.visible=!1;let vn=jt.position;const _n=new ConeGeometry(1.8,1.8,16,1,!0),wn=new Mesh(_n,Ne);wn.position.set(vn.x,vn.y-.8,vn.z+.028),r.add(wn),wn.visible=!1,de.push(wn),de.push(jt),pe.push({meshName:jt.name,targetMesh:jt,geometry:wn,controller:Oe(wn)}),he.push(jt)}}),r.add(Lt.scene)}),console.log("xxx:",pe);function Oe(Lt){if(!Lt.material){console.warn("对象没有材质属性:",Lt);return}const hn=(Array.isArray(Lt.material)?Lt.material:[Lt.material])[0];if(!("color"in hn)){console.warn("材质没有color属性:",hn);return}const vn=hn.clone(),_n=hn.clone();_n.color.set(15114812);const wn=hn.clone();wn.color.set(16084076);let bn=!1,Cn=!1;function Sn(){if(bn)return;bn=!0,Lt.material=_n,gsapWithCSS.timeline({repeat:-1,yoyo:!0}).to(Lt.material,{opacity:.7,duration:.5,ease:"sine.inOut"}).to(Lt.material,{opacity:.2,duration:.5,ease:"sine.inOut"})}function Tn(){if(Cn)return;Cn=!0,Lt.material=wn,gsapWithCSS.timeline({repeat:-1,yoyo:!0}).to(Lt.material,{opacity:.7,duration:.5,ease:"sine.inOut"}).to(Lt.material,{opacity:.2,duration:.5,ease:"sine.inOut"})}function En(){bn&&(bn=!1,Lt.visible=!0,Lt.material=vn)}return Lt.startAlarm=Sn,Lt.restore=En,Lt.startMalfunction=Tn,Lt}function $e(Lt){switch(Lt){case"area_oneFloor_35kV":return"35kV高压室";case"area_oneFloor_220kV":return"220kV维电器室";case"area_oneFloor_14":return"备品备件间";case"area_oneFloor_3":return"站用电柜室";case"area_oneFloor_13":return"110kV电镜间(一)";case"area_oneFloor_4":return"1站用变室";case"area_oneFloor_6":return"消弧线圈1室";case"area_oneFloor_7":return"消弧线圈2室";case"area_oneFloor_8":return"消弧线圈3室";case"area_oneFloor_9":return"2站用变室";case"area_oneFloor_10":return"110kV电镜间(二)";case"area_oneFloor_12":return"工具间";case"area_oneFloor_11":return"消弧线圈4室";default:return"未知"}}function Ve(){requestAnimationFrame(Ve),V.update(),$.render(r,i)}let Ue=null;const Fe=gsapWithCSS.timeline(),ze=gsapWithCSS.timeline();function Pt(Lt,jt){Fe.to(i.position,{x:Lt.x,y:Lt.y,z:Lt.z,duration:1,ease:"power2.inOut"}),ze.to(V.target,{x:jt.x,y:jt.y,z:jt.z,duration:1,ease:"power2.inOut"})}function qe(Lt){Pt(new Vector3(0,14,13.5),new Vector3(0,0,0)),Lt==="area_oneFloor"?(oe.forEach(jt=>{jt.visible=!0}),le.forEach(jt=>{jt.visible=!1}),ue.forEach(jt=>{jt.visible=!1}),de.forEach(jt=>{jt.visible=!1})):Lt==="acoustoOptic"?(oe.forEach(jt=>{jt.visible=!1}),le.forEach(jt=>{jt.visible=!0}),ue.forEach(jt=>{jt.visible=!1}),de.forEach(jt=>{jt.visible=!1})):Lt==="manual"?(oe.forEach(jt=>{jt.visible=!1}),le.forEach(jt=>{jt.visible=!1}),ue.forEach(jt=>{jt.visible=!0}),de.forEach(jt=>{jt.visible=!1})):Lt==="smokeDetector"?(oe.forEach(jt=>{jt.visible=!1}),le.forEach(jt=>{jt.visible=!1}),ue.forEach(jt=>{jt.visible=!1}),de.forEach(jt=>{jt.visible=!0})):Lt==="refresh"&&(oe.forEach(jt=>{jt.visible=!1}),le.forEach(jt=>{jt.visible=!1}),ue.forEach(jt=>{jt.visible=!1}),de.forEach(jt=>{jt.visible=!1}))}return onMounted(()=>{const Lt=t.value;Lt.appendChild($.domElement),i.aspect=Lt.clientWidth/Lt.clientHeight,i.updateProjectionMatrix(),$.setSize(Lt.clientWidth,Lt.clientHeight),Ue=new ResizeObserver(()=>{i.aspect=Lt.clientWidth/Lt.clientHeight,i.updateProjectionMatrix(),$.setSize(Lt.clientWidth,Lt.clientHeight)}),Ue.observe(Lt);const jt=new Raycaster,hn=new Vector2;$.domElement.addEventListener("click",vn=>{var Tn;const _n=Lt.getBoundingClientRect(),wn=vn.clientX-_n.left,bn=vn.clientY-_n.top;hn.x=wn/Lt.clientWidth*2-1,hn.y=-(bn/Lt.clientHeight)*2+1,jt.setFromCamera(hn,i);const Cn=[...he].filter(En=>En.visible),Sn=jt.intersectObjects(Cn,!0);if(Sn.length>0){let En,kn=0,$n=0,An=0,xn;Sn[0].object.name.includes("acoustoSon")||Sn[0].object.name.includes("manualSon")||Sn[0].object.name.includes("smokeSon")?(xn=Sn[0].object.parent,En=((Tn=Sn[0].object.parent)==null?void 0:Tn.position)||new Vector3(0,0,0),kn=-.3,$n=.5,An=.5):(xn=Sn[0].object,En=Sn[0].object.position,kn=-1,$n=3,An=3),console.log("点击了物体",xn),En&&Pt(new Vector3(En.x+kn,En.y+$n,En.z+An),new Vector3(En.x,En.y,En.z))}}),Ve()}),onUnmounted(()=>{Ue&&(Ue.disconnect(),Ue=null)}),(Lt,jt)=>{const hn=resolveComponent("el-button");return openBlock(),createElementBlock("div",_hoisted_1$3,[createBaseVNode("div",{ref_key:"containerRef",ref:t,class:"container"},null,512),createBaseVNode("div",_hoisted_2$2,[createVNode$1(hn,{type:"primary",onClick:jt[0]||(jt[0]=vn=>qe("area_oneFloor")),icon:unref(bell_default)},null,8,["icon"]),createVNode$1(hn,{type:"warning",onClick:jt[1]||(jt[1]=vn=>qe("smokeDetector")),icon:unref(compass_default)},null,8,["icon"]),createVNode$1(hn,{type:"warning",onClick:jt[2]||(jt[2]=vn=>qe("acoustoOptic")),icon:unref(magic_stick_default)},null,8,["icon"]),createVNode$1(hn,{type:"warning",onClick:jt[3]||(jt[3]=vn=>qe("manual")),icon:unref(star_default)},null,8,["icon"]),createVNode$1(hn,{type:"warning",onClick:jt[4]||(jt[4]=vn=>qe("refresh")),icon:unref(refresh_default)},null,8,["icon"]),createVNode$1(hn,{type:"warning",onClick:jt[5]||(jt[5]=vn=>unref(pe)[0].controller.startAlarm()),icon:unref(refresh_default)},null,8,["icon"]),createVNode$1(hn,{type:"warning",onClick:jt[6]||(jt[6]=vn=>unref(pe)[0].controller.restore()),icon:unref(refresh_default)},null,8,["icon"])])])}}}),vueThreeGroundFloor_vue_vue_type_style_index_0_scoped_7dbcf4e4_lang="",VueThreeGroundFloor=_export_sfc$1(_sfc_main$5,[["__scopeId","data-v-7dbcf4e4"]]),_sfc_main$4=defineComponent({__name:"App",setup(n){const t=getCurrentInstance();t==null||t.appContext.app.component("vue-my-button",VueMyButton),t==null||t.appContext.app.component("vue-my-input",VueMyTest),t==null||t.appContext.app.component("vue-my-instrument",vueInstrument),t==null||t.appContext.app.component("vue-my-tableOnly",VueTableOnly),t==null||t.appContext.app.component("vue-my-complex",VueTableComplex),t==null||t.appContext.app.component("vue-my-img",VueImg),t==null||t.appContext.app.component("vue-my-run-info",VueRunInfo),t==null||t.appContext.app.component("vue-my-multi-type-info",VueMultiTypeInfo),t==null||t.appContext.app.component("vue-my-signal-info",VueSignalInfo),t==null||t.appContext.app.component("vue-my-signal-gaudy",vueSignalGaudy),t==null||t.appContext.app.component("vue-my-switch-info",VueSwitchInfo),t==null||t.appContext.app.component("vue-my-num-info",VueNumInfo),t==null||t.appContext.app.component("vue-my-regulator",VueRegulator),t==null||t.appContext.app.component("vue-my-base-table",_sfc_main$h),t==null||t.appContext.app.component("vue-my-regulator",VueRegulator),t==null||t.appContext.app.component("vue-my-three-machine",VueThreeMachine),t==null||t.appContext.app.component("vue-my-three-pipeline",VueThreePipeline),t==null||t.appContext.app.component("vue-my-base-card-info",VueBaseCardInfo),t==null||t.appContext.app.component("vue-my-photon-card",VuePhotonCard),t==null||t.appContext.app.component("vue-my-essential-information",VueEssentialInformation),t==null||t.appContext.app.component("vue-my-assemble-table",VueAssembleTable),t==null||t.appContext.app.component("vue-my-synthesize-table",VueSynthesizeTable),t==null||t.appContext.app.component("vue-my-three-smoke-siren",VueThreeSmokeSiren),t==null||t.appContext.app.component("vue-my-three-scene",VueThreeScene),t==null||t.appContext.app.component("vue-my-host-machine",VueHostMachine),t==null||t.appContext.app.component("vue-my-three-test",VueThreeTest),t==null||t.appContext.app.component("vue-my-three-ground-floor",VueThreeGroundFloor);const r=Object.assign({"./assets/svgs/electrical/三绕组变压器.svg":__vite_glob_0_0,"./assets/svgs/electrical/交流发电机.svg":__vite_glob_0_1,"./assets/svgs/electrical/双绕组变压器.svg":__vite_glob_0_2,"./assets/svgs/electrical/手车02.svg":__vite_glob_0_3}),i=Object.assign({"./assets/svgs/electrical/stroke/三绕组自耦变压器.svg":__vite_glob_1_0,"./assets/svgs/electrical/stroke/手车01.svg":__vite_glob_1_1,"./assets/svgs/electrical/stroke/接地.svg":__vite_glob_1_2,"./assets/svgs/electrical/stroke/断路器-开关.svg":__vite_glob_1_3,"./assets/svgs/electrical/stroke/消弧线圈.svg":__vite_glob_1_4,"./assets/svgs/electrical/stroke/熔断器.svg":__vite_glob_1_5,"./assets/svgs/electrical/stroke/电动机.svg":__vite_glob_1_6,"./assets/svgs/electrical/stroke/电容器.svg":__vite_glob_1_7,"./assets/svgs/electrical/stroke/电抗器.svg":__vite_glob_1_8,"./assets/svgs/electrical/stroke/电缆终端头.svg":__vite_glob_1_9,"./assets/svgs/electrical/stroke/自动空气断路器.svg":__vite_glob_1_10,"./assets/svgs/electrical/stroke/跌落式熔断器.svg":__vite_glob_1_11,"./assets/svgs/electrical/stroke/隔离开关-刀闸.svg":__vite_glob_1_12}),g=[];for(const $ in r){const V=$.split("/").pop().split(".")[0];g.push({id:V,title:V,type:"svg",thumbnail:"data:image/svg+xml;utf8,"+encodeURIComponent(r[$]),svg:r[$],props:{fill:{type:"color",val:"#FF0000",title:"填充色"}}})}for(const $ in i){const V=$.split("/").pop().split(".")[0];g.push({id:V,title:V,type:"svg",thumbnail:"data:image/svg+xml;utf8,"+encodeURIComponent(i[$]),svg:i[$],props:{stroke:{type:"color",val:"#00ff00",title:"边框色"}}})}return leftAsideStore.registerConfig("电气符号",g),leftAsideStore.registerConfig("vue四遥组件",[{id:"vue-my-signal-info",title:"vue遥信01",type:"vue",thumbnail:"/svgs/info.svg",props:{}},{id:"vue-my-signal-gaudy",title:"vue遥信02",type:"vue",thumbnail:"/svgs/signal-gaudy.svg",props:{moduleType:{type:"inputTypeTag",val:"遥信",title:"四遥类型"},moduleId:{type:"inputSelectId",val:"",title:"绑定ID"},location:{type:"select",val:"bottom",title:"名称位置",options:[{value:"top",label:"上"},{value:"bottom",label:"下"},{value:"left",label:"左"},{value:"right",label:"右"}]}}},{id:"vue-my-switch-info",title:"vue遥控",type:"vue",thumbnail:"/svgs/switch-info.svg",props:{moduleType:{type:"inputTypeTag",val:"遥控",title:"四遥类型"},moduleId:{type:"inputSelectId",val:"",title:"绑定ID"}}},{id:"vue-my-num-info",title:"vue遥测",type:"vue",thumbnail:"/svgs/num-info.svg",props:{moduleType:{type:"inputTypeTag",val:"遥测",title:"四遥类型"},moduleId:{type:"inputSelectId",val:"--",title:"绑定ID"},location:{type:"select",val:"bottom",title:"名称位置",options:[{value:"top",label:"上"},{value:"bottom",label:"下"},{value:"left",label:"左"},{value:"right",label:"右"}]}}},{id:"vue-my-regulator",title:"vue遥调",type:"vue",thumbnail:"/svgs/regulator.svg",props:{moduleType:{type:"inputTypeTag",val:"遥测",title:"四遥类型"},moduleId:{type:"inputSelectId",val:"--",title:"绑定ID"}}}]),leftAsideStore.registerConfig("vue公共组件",[{id:"vue-my-input",title:"vue输入框",type:"vue",thumbnail:"/svgs/my-input.svg",props:{modelValue:{type:"input",val:"输入框",title:"文本"},fontFamily:{title:"字体",type:"select",val:"黑体",options:[{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},testColor:{type:"color",val:"#44B6E7",title:"文字颜色"}}},{id:"vue-my-tableOnly",title:"单一功能表单",type:"vue",thumbnail:"/svgs/table-only.svg",props:{fontFamily:{title:"字体",type:"select",val:"黑体",options:[{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{type:"number",val:12,title:"字体大小"},testColor:{type:"color",val:"#767676",title:"文字颜色"}}},{id:"vue-my-complex",title:"分组功能表单",type:"vue",thumbnail:"/svgs/table-only.svg",props:{fontFamily:{title:"字体",type:"select",val:"黑体",options:[{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{type:"number",val:12,title:"字体大小"},testColor:{type:"color",val:"#767676",title:"文字颜色"}}},{id:"vue-my-img",title:"vue图形组件",type:"vue",thumbnail:"/svgs/image.svg",props:{moduleId:{type:"upload",val:"--",title:"绑定"}}},{id:"vue-my-run-info",title:"vue运行信息",type:"vue",thumbnail:"/svgs/log.svg",props:{fontFamily:{title:"字体",type:"select",val:"Segoe UI",options:[{value:"Segoe UI",label:"Segoe UI"},{value:"微软雅黑",label:"微软雅黑"},{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{type:"number",val:14,title:"字体大小"},testColor:{type:"color",val:"#000000",title:"文字颜色"},dataSource:{title:"信息类型",type:"select",val:"--",options:[{value:"globalOverview",label:"全站总揽"},{value:"fireExtinguishing",label:"消防系统"},{value:"firePolice",label:"火灾报警主机"}]}}},{id:"vue-my-multi-type-info",title:"vue运行状态信息",type:"vue",thumbnail:"/svgs/log-sel.svg",props:{headline:{type:"input",val:"自定义标题",title:"标题"},fontFamily:{title:"字体",type:"select",val:"Segoe UI",options:[{value:"Segoe UI",label:"Segoe UI"},{value:"微软雅黑",label:"微软雅黑"},{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{type:"number",val:14,title:"字体大小"},dataSource:{type:"select",val:"ultraVires",title:"数据来源",options:[{value:"ultraVires",label:"越权信息"},{value:"linkage",label:"联动信息"},{value:"unitException",label:"异常设备"}]},testColor:{type:"color",val:"#000000",title:"文字颜色"}}},{id:"vue-my-base-table",title:"vue公共表格",type:"vue",thumbnail:"/svgs/table-base.svg",props:{dataSource:{title:"数据源",type:"select",val:"--",options:[{value:"wholeSiteMessage",label:"全站报文"},{value:"unitException",label:"异常设备"},{value:"unauthorized",label:"越权消息"}]}}}]),leftAsideStore.registerConfig("vue3D组件",[{id:"vue-my-three-machine",title:"3d机房",type:"vue",thumbnail:"/svgs/table-base.svg",props:{dataSource:{title:"数据源",type:"input",val:"--"}}},{id:"vue-my-three-pipeline",title:"3d管道",type:"vue",thumbnail:"/svgs/table-base.svg",props:{dataSource:{title:"数据源",type:"input",val:"--"}}},{id:"vue-my-three-smoke-siren",title:"3d烟感报警器+信息",type:"vue",thumbnail:"/svgs/table-only.svg",props:{dataSource:{title:"数据源",type:"input",val:"--"}}},{id:"vue-my-three-scene",title:"3d烟感报警器+楼层",type:"vue",thumbnail:"/svgs/table-only.svg",props:{dataSource:{title:"数据源",type:"input",val:"--"}}},{id:"vue-my-three-test",title:"3d-test",type:"vue",thumbnail:"/svgs/table-only.svg",props:{dataSource:{title:"数据源",type:"input",val:"--"}}},{id:"vue-my-three-ground-floor",title:"3d-生产综合楼一楼",type:"vue",thumbnail:"/svgs/table-only.svg",props:{dataSource:{title:"数据源",type:"input",val:"--"}}}]),leftAsideStore.registerConfig("vue组件",[{id:"vue-my-base-card-info",title:"火灾报警-火警卡片",type:"vue",thumbnail:"/svgs/table-base.svg",props:{fontFamily:{title:"字体",type:"select",val:"Segoe UI",options:[{value:"Segoe UI",label:"Segoe UI"},{value:"微软雅黑",label:"微软雅黑"},{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{type:"number",val:14,title:"字体大小"},headline:{type:"input",val:"自定义标题",title:"标题"}}},{id:"vue-my-photon-card",title:"火灾报警主机-光字牌",type:"vue",thumbnail:"/svgs/table-base.svg",props:{fontFamily:{title:"字体",type:"select",val:"Segoe UI",options:[{value:"Segoe UI",label:"Segoe UI"},{value:"微软雅黑",label:"微软雅黑"},{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{type:"number",val:14,title:"字体大小"},testColor:{type:"color",val:"#000000",title:"文字颜色"}}},{id:"vue-my-essential-information",title:"火灾报警主机-基本信息",type:"vue",thumbnail:"/svgs/table-base.svg",props:{fontFamily:{title:"字体",type:"select",val:"Segoe UI",options:[{value:"Segoe UI",label:"Segoe UI"},{value:"微软雅黑",label:"微软雅黑"},{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{type:"number",val:14,title:"字体大小"},testColor:{type:"color",val:"#000000",title:"文字颜色"}}},{id:"vue-my-assemble-table",title:"火灾报警主机-装配说明",type:"vue",thumbnail:"/svgs/table-base.svg",props:{fontFamily:{title:"字体",type:"select",val:"黑体",options:[{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{type:"number",val:12,title:"字体大小"},testColor:{type:"color",val:"#767676",title:"文字颜色"}}},{id:"vue-my-synthesize-table",title:"生产综合楼1楼-运行信息(表格)",type:"vue",thumbnail:"/svgs/table-only.svg",props:{fontFamily:{title:"字体",type:"select",val:"黑体",options:[{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{type:"number",val:12,title:"字体大小"},testColor:{type:"color",val:"#767676",title:"文字颜色"}}},{id:"vue-my-host-machine",title:"生产综合楼1楼-主机",type:"vue",thumbnail:"/svgs/table-only.svg",props:{fontFamily:{title:"字体",type:"select",val:"Segoe UI",options:[{value:"Segoe UI",label:"Segoe UI"},{value:"微软雅黑",label:"微软雅黑"},{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]},fontSize:{type:"number",val:14,title:"字体大小"},headline:{type:"input",val:"自定义标题",title:"标题"}}}]),leftAsideStore.registerConfig("开发测试用",[{id:"my-button",title:"我的按钮",type:"vue",thumbnail:"/svgs/my-button.svg",props:{text:{type:"input",val:"按钮",title:"文本"},bgColor:{type:"color",val:"#44B6E7",title:"背景色"},fontFamily:{title:"字体",type:"select",val:"黑体",options:[{value:"黑体",label:"黑体"},{value:"宋体",label:"宋体"}]}}},{id:"my-input",title:"我的输入框",type:"vue",thumbnail:"/svgs/my-input.svg",props:{modelValue:{type:"input",val:"输入框",title:"文本"}}},{id:"custom-demo",title:"自定义svg",type:"custom-svg",thumbnail:"/svgs/demo.svg",props:{circleFill:{type:"color",val:"#FF0000",title:"圆颜色"},pathFill1:{type:"color",val:"#00FF00",title:"线1颜色"},pathFill2:{type:"color",val:"#0000FF",title:"线2颜色"},pathFill3:{type:"color",val:"#FFFF00",title:"线3颜色"},showLine2:{type:"switch",val:!0,title:"显示线2"}}},{id:"pie-charts",title:"echarts饼图",type:"vue",thumbnail:"/svgs/pie-charts.svg",props:{title:{title:"标题",type:"input",val:"默认标题"},seriesName:{title:"详情",type:"input",val:"详情标题"},seriesData:{title:"数据",type:"jsonEdit",val:[{value:1048,name:"办公楼A"},{value:735,name:"办公楼B"},{value:580,name:"保安室"},{value:484,name:"地下车库"},{value:300,name:"食堂"}]}}}]),($,V)=>{const re=resolveComponent("router-view"),ie=resolveComponent("el-config-provider");return openBlock(),createBlock(ie,{locale:unref(zhCn)},{default:withCtx(()=>[createVNode$1(re)]),_:1},8,["locale"])}}}),main="",_hoisted_1$2={style:{width:"100%",height:"100%"}},_hoisted_2$1={class:"my-button",style:{width:"100%",height:"100%"}},_sfc_main$3=defineComponent({__name:"index",props:{text:String,bgColor:String,fontFamily:String},setup(n){useCssVars(r=>({v902168fe:t.bgColor,v5d004850:t.fontFamily}));const t=n;return(r,i)=>(openBlock(),createElementBlock("div",_hoisted_1$2,[createBaseVNode("button",_hoisted_2$1,toDisplayString(t.text),1)]))}}),index_vue_vue_type_style_index_0_scoped_fa696b76_lang="",MyButton=_export_sfc$1(_sfc_main$3,[["__scopeId","data-v-fa696b76"]]),_hoisted_1$1={style:{width:"100%",height:"100%"}},_sfc_main$2=defineComponent({__name:"index",props:["modelValue"],emits:["update:modelValue"],setup(n,{emit:t}){const r=n,i=t,g=computed({get:()=>r.modelValue,set:$=>{i("update:modelValue",$)}});return($,V)=>(openBlock(),createElementBlock("div",_hoisted_1$1,[createVNode$1(unref(ElInput),{modelValue:g.value,"onUpdate:modelValue":V[0]||(V[0]=re=>g.value=re),style:{width:"100%",height:"100%"}},null,8,["modelValue"])]))}}),_hoisted_1={width:"557",height:"554",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",version:"1.1"},_hoisted_2=["fill"],_hoisted_3=["fill"],_hoisted_4=["fill"],_hoisted_5=["fill"],_sfc_main$1=defineComponent({__name:"index",props:{id:String,circleFill:String,pathFill1:String,pathFill2:String,pathFill3:String,showLine2:Boolean},setup(n){const t=n;return(r,i)=>(openBlock(),createElementBlock("svg",_hoisted_1,[createBaseVNode("g",null,[createBaseVNode("path",{fill:t.circleFill,d:"m279,38.19467a238.80533,238.80533 0 1 1 -238.80533,238.80533a238.80533,238.80533 0 0 1 238.80533,-238.80533m0,-38.528a277.33333,277.33333 0 1 0 277.33333,277.33333a277.33333,277.33333 0 0 0 -277.33333,-277.33333z",id:"circle1"},null,8,_hoisted_2),createBaseVNode("path",{id:"line1",fill:t.pathFill1,d:"m436.15733,143.928a14.67733,14.67733 0 0 0 -12.8,7.44533a96,96 0 0 1 -137.10933,24.66134a125.09867,125.09867 0 0 0 -188.032,24.14933a14.208,14.208 0 0 0 -1.28,2.13333a5.80267,5.80267 0 0 0 -0.66133,1.408a14.656,14.656 0 0 0 24.14933,15.68a6.272,6.272 0 0 0 1.28,-1.49333a96.832,96.832 0 0 1 13.248,-16.49067a95.76533,95.76533 0 0 1 124.62933,-9.30133a125.07733,125.07733 0 0 0 189.26934,-26.176a5.824,5.824 0 0 0 0.68266,-1.49333a14.63467,14.63467 0 0 0 -13.44,-20.43734l0.064,-0.08533z"},null,8,_hoisted_3),t.showLine2?(openBlock(),createElementBlock("path",{key:0,id:"line2",fill:t.pathFill2,d:"m440.15733,239.928a14.67733,14.67733 0 0 0 -12.8,7.44533a96,96 0 0 1 -137.10933,24.66134a125.09867,125.09867 0 0 0 -188.032,24.14933a14.208,14.208 0 0 0 -1.28,2.13333a5.80267,5.80267 0 0 0 -0.66133,1.408a14.656,14.656 0 0 0 24.14933,15.68a6.272,6.272 0 0 0 1.28,-1.49333a96.832,96.832 0 0 1 13.248,-16.49067a95.76533,95.76533 0 0 1 124.62933,-9.30133a125.07733,125.07733 0 0 0 189.26934,-26.176a5.824,5.824 0 0 0 0.68266,-1.49333a14.63467,14.63467 0 0 0 -13.44,-20.43734l0.064,-0.08533z"},null,8,_hoisted_4)):createCommentVNode("",!0),createBaseVNode("path",{id:"line3",fill:t.pathFill3,d:"m444.15733,336.928a14.67733,14.67733 0 0 0 -12.8,7.44533a96,96 0 0 1 -137.10933,24.66134a125.09867,125.09867 0 0 0 -188.032,24.14933a14.208,14.208 0 0 0 -1.28,2.13333a5.80267,5.80267 0 0 0 -0.66133,1.408a14.656,14.656 0 0 0 24.14933,15.68a6.272,6.272 0 0 0 1.28,-1.49333a96.832,96.832 0 0 1 13.248,-16.49067a95.76533,95.76533 0 0 1 124.62933,-9.30133a125.07733,125.07733 0 0 0 189.26934,-26.176a5.824,5.824 0 0 0 0.68266,-1.49333a14.63467,14.63467 0 0 0 -13.44,-20.43734l0.064,-0.08533z"},null,8,_hoisted_5)])]))}});/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -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 extendStatics=function(n,t){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,i){r.__proto__=i}||function(r,i){for(var g in i)Object.prototype.hasOwnProperty.call(i,g)&&(r[g]=i[g])},extendStatics(n,t)};function __extends(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");extendStatics(n,t);function r(){this.constructor=n}n.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var Browser=function(){function n(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return n}(),Env=function(){function n(){this.browser=new Browser,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<"u"}return n}(),env=new Env;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(env.wxa=!0,env.touchEventsSupported=!0):typeof document>"u"&&typeof self<"u"?env.worker=!0:!env.hasGlobalWindow||"Deno"in window?(env.node=!0,env.svgSupported=!0):detect(navigator.userAgent,env);function detect(n,t){var r=t.browser,i=n.match(/Firefox\/([\d.]+)/),g=n.match(/MSIE\s([\d.]+)/)||n.match(/Trident\/.+?rv:(([\d.]+))/),$=n.match(/Edge?\/([\d.]+)/),V=/micromessenger/i.test(n);i&&(r.firefox=!0,r.version=i[1]),g&&(r.ie=!0,r.version=g[1]),$&&(r.edge=!0,r.version=$[1],r.newEdge=+$[1].split(".")[0]>18),V&&(r.weChat=!0),t.svgSupported=typeof SVGRect<"u",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document<"u";var re=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in re||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in re)&&!("OTransition"in re),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}const env$1=env;var DEFAULT_FONT_SIZE=12,DEFAULT_FONT_FAMILY="sans-serif",DEFAULT_FONT=DEFAULT_FONT_SIZE+"px "+DEFAULT_FONT_FAMILY,OFFSET=20,SCALE=100,defaultWidthMapStr="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function getTextWidthMap(n){var t={};if(typeof JSON>"u")return t;for(var r=0;r=0)re=V*r.length;else for(var ie=0;ie>1)%2;re.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[ie]+":0",g[ae]+":0",i[1-ie]+":auto",g[1-ae]+":auto",""].join("!important;"),n.appendChild(V),r.push(V)}return r}function preparePointerTransformer(n,t,r){for(var i=r?"invTrans":"trans",g=t[i],$=t.srcCoords,V=[],re=[],ie=!0,ae=0;ae<4;ae++){var oe=n[ae].getBoundingClientRect(),le=2*ae,ue=oe.left,de=oe.top;V.push(ue,de),ie=ie&&$&&ue===$[le]&&de===$[le+1],re.push(n[ae].offsetLeft,n[ae].offsetTop)}return ie&&g?g:(t.srcCoords=V,t[i]=r?buildTransformer(re,V):buildTransformer(V,re))}function isCanvasEl(n){return n.nodeName.toUpperCase()==="CANVAS"}var replaceReg=/([&<>"'])/g,replaceMap={"&":"&","<":"<",">":">",'"':""","'":"'"};function encodeHTML(n){return n==null?"":(n+"").replace(replaceReg,function(t,r){return replaceMap[r]})}var MOUSE_EVENT_REG=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,_calcOut=[],firefoxNotSupportOffsetXY=env$1.browser.firefox&&+env$1.browser.version.split(".")[0]<39;function clientToLocal(n,t,r,i){return r=r||{},i?calculateZrXY(n,t,r):firefoxNotSupportOffsetXY&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):calculateZrXY(n,t,r),r}function calculateZrXY(n,t,r){if(env$1.domSupported&&n.getBoundingClientRect){var i=t.clientX,g=t.clientY;if(isCanvasEl(n)){var $=n.getBoundingClientRect();r.zrX=i-$.left,r.zrY=g-$.top;return}else if(transformCoordWithViewport(_calcOut,n,i,g)){r.zrX=_calcOut[0],r.zrY=_calcOut[1];return}}r.zrX=r.zrY=0}function getNativeEvent(n){return n||window.event}function normalizeEvent(n,t,r){if(t=getNativeEvent(t),t.zrX!=null)return t;var i=t.type,g=i&&i.indexOf("touch")>=0;if(g){var V=i!=="touchend"?t.targetTouches[0]:t.changedTouches[0];V&&clientToLocal(n,V,t,r)}else{clientToLocal(n,t,t,r);var $=getWheelDeltaMayPolyfill(t);t.zrDelta=$?$/120:-(t.detail||0)/3}var re=t.button;return t.which==null&&re!==void 0&&MOUSE_EVENT_REG.test(t.type)&&(t.which=re&1?1:re&2?3:re&4?2:0),t}function getWheelDeltaMayPolyfill(n){var t=n.wheelDelta;if(t)return t;var r=n.deltaX,i=n.deltaY;if(r==null||i==null)return t;var g=Math.abs(i!==0?i:r),$=i>0?-1:i<0?1:r>0?-1:1;return 3*g*$}function addEventListener(n,t,r,i){n.addEventListener(t,r,i)}function removeEventListener(n,t,r,i){n.removeEventListener(t,r,i)}var stop=function(n){n.preventDefault(),n.stopPropagation(),n.cancelBubble=!0},GestureMgr=function(){function n(){this._track=[]}return n.prototype.recognize=function(t,r,i){return this._doTrack(t,r,i),this._recognize(t)},n.prototype.clear=function(){return this._track.length=0,this},n.prototype._doTrack=function(t,r,i){var g=t.touches;if(g){for(var $={points:[],touches:[],target:r,event:t},V=0,re=g.length;V1&&i&&i.length>1){var $=dist(i)/dist(g);!isFinite($)&&($=1),t.pinchScale=$;var V=center(i);return t.pinchX=V[0],t.pinchY=V[1],{type:"pinch",target:n[0].target,event:t}}}}};function create(){return[1,0,0,1,0,0]}function identity(n){return n[0]=1,n[1]=0,n[2]=0,n[3]=1,n[4]=0,n[5]=0,n}function copy(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4],n[5]=t[5],n}function mul(n,t,r){var i=t[0]*r[0]+t[2]*r[1],g=t[1]*r[0]+t[3]*r[1],$=t[0]*r[2]+t[2]*r[3],V=t[1]*r[2]+t[3]*r[3],re=t[0]*r[4]+t[2]*r[5]+t[4],ie=t[1]*r[4]+t[3]*r[5]+t[5];return n[0]=i,n[1]=g,n[2]=$,n[3]=V,n[4]=re,n[5]=ie,n}function translate(n,t,r){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n[4]=t[4]+r[0],n[5]=t[5]+r[1],n}function rotate(n,t,r,i){i===void 0&&(i=[0,0]);var g=t[0],$=t[2],V=t[4],re=t[1],ie=t[3],ae=t[5],oe=Math.sin(r),le=Math.cos(r);return n[0]=g*le+re*oe,n[1]=-g*oe+re*le,n[2]=$*le+ie*oe,n[3]=-$*oe+le*ie,n[4]=le*(V-i[0])+oe*(ae-i[1])+i[0],n[5]=le*(ae-i[1])-oe*(V-i[0])+i[1],n}function scale(n,t,r){var i=r[0],g=r[1];return n[0]=t[0]*i,n[1]=t[1]*g,n[2]=t[2]*i,n[3]=t[3]*g,n[4]=t[4]*i,n[5]=t[5]*g,n}function invert(n,t){var r=t[0],i=t[2],g=t[4],$=t[1],V=t[3],re=t[5],ie=r*V-$*i;return ie?(ie=1/ie,n[0]=V*ie,n[1]=-$*ie,n[2]=-i*ie,n[3]=r*ie,n[4]=(i*re-V*g)*ie,n[5]=($*g-r*re)*ie,n):null}var Point=function(){function n(t,r){this.x=t||0,this.y=r||0}return n.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},n.prototype.clone=function(){return new n(this.x,this.y)},n.prototype.set=function(t,r){return this.x=t,this.y=r,this},n.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},n.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},n.prototype.scale=function(t){this.x*=t,this.y*=t},n.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},n.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},n.prototype.dot=function(t){return this.x*t.x+this.y*t.y},n.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},n.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},n.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},n.prototype.distance=function(t){var r=this.x-t.x,i=this.y-t.y;return Math.sqrt(r*r+i*i)},n.prototype.distanceSquare=function(t){var r=this.x-t.x,i=this.y-t.y;return r*r+i*i},n.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},n.prototype.transform=function(t){if(t){var r=this.x,i=this.y;return this.x=t[0]*r+t[2]*i+t[4],this.y=t[1]*r+t[3]*i+t[5],this}},n.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},n.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},n.set=function(t,r,i){t.x=r,t.y=i},n.copy=function(t,r){t.x=r.x,t.y=r.y},n.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},n.lenSquare=function(t){return t.x*t.x+t.y*t.y},n.dot=function(t,r){return t.x*r.x+t.y*r.y},n.add=function(t,r,i){t.x=r.x+i.x,t.y=r.y+i.y},n.sub=function(t,r,i){t.x=r.x-i.x,t.y=r.y-i.y},n.scale=function(t,r,i){t.x=r.x*i,t.y=r.y*i},n.scaleAndAdd=function(t,r,i,g){t.x=r.x+i.x*g,t.y=r.y+i.y*g},n.lerp=function(t,r,i,g){var $=1-g;t.x=$*r.x+g*i.x,t.y=$*r.y+g*i.y},n}();const Point$1=Point;var mathMin$4=Math.min,mathMax$4=Math.max,lt=new Point$1,rb=new Point$1,lb=new Point$1,rt=new Point$1,minTv$1=new Point$1,maxTv$1=new Point$1,BoundingRect=function(){function n(t,r,i,g){i<0&&(t=t+i,i=-i),g<0&&(r=r+g,g=-g),this.x=t,this.y=r,this.width=i,this.height=g}return n.prototype.union=function(t){var r=mathMin$4(t.x,this.x),i=mathMin$4(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=mathMax$4(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=mathMax$4(t.y+t.height,this.y+this.height)-i:this.height=t.height,this.x=r,this.y=i},n.prototype.applyTransform=function(t){n.applyTransform(this,this,t)},n.prototype.calculateTransform=function(t){var r=this,i=t.width/r.width,g=t.height/r.height,$=create();return translate($,$,[-r.x,-r.y]),scale($,$,[i,g]),translate($,$,[t.x,t.y]),$},n.prototype.intersect=function(t,r){if(!t)return!1;t instanceof n||(t=n.create(t));var i=this,g=i.x,$=i.x+i.width,V=i.y,re=i.y+i.height,ie=t.x,ae=t.x+t.width,oe=t.y,le=t.y+t.height,ue=!($he&&(he=Ie,pe<_e?Point$1.set(maxTv$1,-pe,0):Point$1.set(maxTv$1,_e,0)):Iehe&&(he=Ne,Ce=i.x&&t<=i.x+i.width&&r>=i.y&&r<=i.y+i.height},n.prototype.clone=function(){return new n(this.x,this.y,this.width,this.height)},n.prototype.copy=function(t){n.copy(this,t)},n.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},n.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},n.prototype.isZero=function(){return this.width===0||this.height===0},n.create=function(t){return new n(t.x,t.y,t.width,t.height)},n.copy=function(t,r){t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height},n.applyTransform=function(t,r,i){if(!i){t!==r&&n.copy(t,r);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var g=i[0],$=i[3],V=i[4],re=i[5];t.x=r.x*g+V,t.y=r.y*$+re,t.width=r.width*g,t.height=r.height*$,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}lt.x=lb.x=r.x,lt.y=rt.y=r.y,rb.x=rt.x=r.x+r.width,rb.y=lb.y=r.y+r.height,lt.transform(i),rt.transform(i),rb.transform(i),lb.transform(i),t.x=mathMin$4(lt.x,rb.x,lb.x,rt.x),t.y=mathMin$4(lt.y,rb.y,lb.y,rt.y);var ie=mathMax$4(lt.x,rb.x,lb.x,rt.x),ae=mathMax$4(lt.y,rb.y,lb.y,rt.y);t.width=ie-t.x,t.height=ae-t.y},n}();const BoundingRect$1=BoundingRect;var SILENT="silent";function makeEventPacket(n,t,r){return{type:n,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:stopEvent}}function stopEvent(){stop(this.event)}var EmptyProxy=function(n){__extends(t,n);function t(){var r=n!==null&&n.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Eventful$1),HoveredResult=function(){function n(t,r){this.x=t,this.y=r}return n}(),handlerNames=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],tmpRect$1=new BoundingRect$1(0,0,0,0),Handler=function(n){__extends(t,n);function t(r,i,g,$,V){var re=n.call(this)||this;return re._hovered=new HoveredResult(0,0),re.storage=r,re.painter=i,re.painterRoot=$,re._pointerSize=V,g=g||new EmptyProxy,re.proxy=null,re.setHandlerProxy(g),re._draggingMgr=new Draggable$1(re),re}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(each$4(handlerNames,function(i){r.on&&r.on(i,this[i],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var i=r.zrX,g=r.zrY,$=isOutsideBoundary(this,i,g),V=this._hovered,re=V.target;re&&!re.__zr&&(V=this.findHover(V.x,V.y),re=V.target);var ie=this._hovered=$?new HoveredResult(i,g):this.findHover(i,g),ae=ie.target,oe=this.proxy;oe.setCursor&&oe.setCursor(ae?ae.cursor:"default"),re&&ae!==re&&this.dispatchToElement(V,"mouseout",r),this.dispatchToElement(ie,"mousemove",r),ae&&ae!==re&&this.dispatchToElement(ie,"mouseover",r)},t.prototype.mouseout=function(r){var i=r.zrEventControl;i!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),i!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new HoveredResult(0,0)},t.prototype.dispatch=function(r,i){var g=this[r];g&&g.call(this,i)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var i=this.proxy;i.setCursor&&i.setCursor(r)},t.prototype.dispatchToElement=function(r,i,g){r=r||{};var $=r.target;if(!($&&$.silent)){for(var V="on"+i,re=makeEventPacket(i,r,g);$&&($[V]&&(re.cancelBubble=!!$[V].call($,re)),$.trigger(i,re),$=$.__hostTarget?$.__hostTarget:$.parent,!re.cancelBubble););re.cancelBubble||(this.trigger(i,re),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(ie){typeof ie[V]=="function"&&ie[V].call(ie,re),ie.trigger&&ie.trigger(i,re)}))}},t.prototype.findHover=function(r,i,g){var $=this.storage.getDisplayList(),V=new HoveredResult(r,i);if(setHoverTarget($,V,r,i,g),this._pointerSize&&!V.target){for(var re=[],ie=this._pointerSize,ae=ie/2,oe=new BoundingRect$1(r-ae,i-ae,ie,ie),le=$.length-1;le>=0;le--){var ue=$[le];ue!==g&&!ue.ignore&&!ue.ignoreCoarsePointer&&(!ue.parent||!ue.parent.ignoreCoarsePointer)&&(tmpRect$1.copy(ue.getBoundingRect()),ue.transform&&tmpRect$1.applyTransform(ue.transform),tmpRect$1.intersect(oe)&&re.push(ue))}if(re.length)for(var de=4,he=Math.PI/12,pe=Math.PI*2,_e=0;_e4)return;this._downPoint=null}this.dispatchToElement($,n,t)}});function isHover(n,t,r){if(n[n.rectHover?"rectContain":"contain"](t,r)){for(var i=n,g=void 0,$=!1;i;){if(i.ignoreClip&&($=!0),!$){var V=i.getClipPath();if(V&&!V.contain(t,r))return!1}i.silent&&(g=!0);var re=i.__hostTarget;i=re||i.parent}return g?SILENT:!0}return!1}function setHoverTarget(n,t,r,i,g){for(var $=n.length-1;$>=0;$--){var V=n[$],re=void 0;if(V!==g&&!V.ignore&&(re=isHover(V,r,i))&&(!t.topTarget&&(t.topTarget=V),re!==SILENT)){t.target=V;break}}}function isOutsideBoundary(n,t,r){var i=n.painter;return t<0||t>i.getWidth()||r<0||r>i.getHeight()}const Handler$1=Handler;var DEFAULT_MIN_MERGE=32,DEFAULT_MIN_GALLOPING=7;function minRunLength(n){for(var t=0;n>=DEFAULT_MIN_MERGE;)t|=n&1,n>>=1;return n+t}function makeAscendingRun(n,t,r,i){var g=t+1;if(g===r)return 1;if(i(n[g++],n[t])<0){for(;g=0;)g++;return g-t}function reverseRun(n,t,r){for(r--;t>>1,g($,n[ie])<0?re=ie:V=ie+1;var ae=i-V;switch(ae){case 3:n[V+3]=n[V+2];case 2:n[V+2]=n[V+1];case 1:n[V+1]=n[V];break;default:for(;ae>0;)n[V+ae]=n[V+ae-1],ae--}n[V]=$}}function gallopLeft(n,t,r,i,g,$){var V=0,re=0,ie=1;if($(n,t[r+g])>0){for(re=i-g;ie0;)V=ie,ie=(ie<<1)+1,ie<=0&&(ie=re);ie>re&&(ie=re),V+=g,ie+=g}else{for(re=g+1;iere&&(ie=re);var ae=V;V=g-ie,ie=g-ae}for(V++;V>>1);$(n,t[r+oe])>0?V=oe+1:ie=oe}return ie}function gallopRight(n,t,r,i,g,$){var V=0,re=0,ie=1;if($(n,t[r+g])<0){for(re=g+1;iere&&(ie=re);var ae=V;V=g-ie,ie=g-ae}else{for(re=i-g;ie=0;)V=ie,ie=(ie<<1)+1,ie<=0&&(ie=re);ie>re&&(ie=re),V+=g,ie+=g}for(V++;V>>1);$(n,t[r+oe])<0?ie=oe:V=oe+1}return ie}function TimSort(n,t){var r=DEFAULT_MIN_GALLOPING,i,g,$=0,V=[];i=[],g=[];function re(de,he){i[$]=de,g[$]=he,$+=1}function ie(){for(;$>1;){var de=$-2;if(de>=1&&g[de-1]<=g[de]+g[de+1]||de>=2&&g[de-2]<=g[de]+g[de-1])g[de-1]g[de+1])break;oe(de)}}function ae(){for(;$>1;){var de=$-2;de>0&&g[de-1]=DEFAULT_MIN_GALLOPING||Ve>=DEFAULT_MIN_GALLOPING);if(Ue)break;Oe<0&&(Oe=0),Oe+=2}if(r=Oe,r<1&&(r=1),he===1){for(Ce=0;Ce<_e;Ce++)n[Ne+Ce]=n[Ie+Ce];n[Ne+_e]=V[xe]}else{if(he===0)throw new Error;for(Ce=0;Ce=0;Ce--)n[$e+Ce]=n[Oe+Ce];n[Ne]=V[Ie];return}for(var Ve=r;;){var Ue=0,Fe=0,ze=!1;do if(t(V[Ie],n[xe])<0){if(n[Ne--]=n[xe--],Ue++,Fe=0,--he===0){ze=!0;break}}else if(n[Ne--]=V[Ie--],Fe++,Ue=0,--_e===1){ze=!0;break}while((Ue|Fe)=0;Ce--)n[$e+Ce]=n[Oe+Ce];if(he===0){ze=!0;break}}if(n[Ne--]=V[Ie--],--_e===1){ze=!0;break}if(Fe=_e-gallopLeft(n[xe],V,0,_e,_e-1,t),Fe!==0){for(Ne-=Fe,Ie-=Fe,_e-=Fe,$e=Ne+1,Oe=Ie+1,Ce=0;Ce=DEFAULT_MIN_GALLOPING||Fe>=DEFAULT_MIN_GALLOPING);if(ze)break;Ve<0&&(Ve=0),Ve+=2}if(r=Ve,r<1&&(r=1),_e===1){for(Ne-=he,xe-=he,$e=Ne+1,Oe=xe+1,Ce=he-1;Ce>=0;Ce--)n[$e+Ce]=n[Oe+Ce];n[Ne]=V[Ie]}else{if(_e===0)throw new Error;for(Oe=Ne-(_e-1),Ce=0;Ce<_e;Ce++)n[Oe+Ce]=V[Ce]}}return{mergeRuns:ie,forceMergeRuns:ae,pushRun:re}}function sort(n,t,r,i){r||(r=0),i||(i=n.length);var g=i-r;if(!(g<2)){var $=0;if(gre&&(ie=re),binaryInsertionSort(n,r,r+ie,r+$,t),$=ie}V.pushRun(r,$),V.mergeRuns(),g-=$,r+=$}while(g!==0);V.forceMergeRuns()}}var REDRAW_BIT=1,STYLE_CHANGED_BIT=2,SHAPE_CHANGED_BIT=4,invalidZErrorLogged=!1;function logInvalidZError(){invalidZErrorLogged||(invalidZErrorLogged=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function shapeCompareFunc(n,t){return n.zlevel===t.zlevel?n.z===t.z?n.z2-t.z2:n.z-t.z:n.zlevel-t.zlevel}var Storage=function(){function n(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=shapeCompareFunc}return n.prototype.traverse=function(t,r){for(var i=0;i0&&(oe.__clipPaths=[]),isNaN(oe.z)&&(logInvalidZError(),oe.z=0),isNaN(oe.z2)&&(logInvalidZError(),oe.z2=0),isNaN(oe.zlevel)&&(logInvalidZError(),oe.zlevel=0),this._displayList[this._displayListLen++]=oe}var le=t.getDecalElement&&t.getDecalElement();le&&this._updateAndAddDisplayable(le,r,i);var ue=t.getTextGuideLine();ue&&this._updateAndAddDisplayable(ue,r,i);var de=t.getTextContent();de&&this._updateAndAddDisplayable(de,r,i)}},n.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},n.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,i=t.length;r=0&&this._roots.splice(g,1)},n.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},n.prototype.getRoots=function(){return this._roots},n.prototype.dispose=function(){this._displayList=null,this._roots=null},n}();const Storage$1=Storage;var requestAnimationFrame$2;requestAnimationFrame$2=env$1.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(n){return setTimeout(n,16)};const requestAnimationFrame$3=requestAnimationFrame$2;var easingFuncs={linear:function(n){return n},quadraticIn:function(n){return n*n},quadraticOut:function(n){return n*(2-n)},quadraticInOut:function(n){return(n*=2)<1?.5*n*n:-.5*(--n*(n-2)-1)},cubicIn:function(n){return n*n*n},cubicOut:function(n){return--n*n*n+1},cubicInOut:function(n){return(n*=2)<1?.5*n*n*n:.5*((n-=2)*n*n+2)},quarticIn:function(n){return n*n*n*n},quarticOut:function(n){return 1- --n*n*n*n},quarticInOut:function(n){return(n*=2)<1?.5*n*n*n*n:-.5*((n-=2)*n*n*n-2)},quinticIn:function(n){return n*n*n*n*n},quinticOut:function(n){return--n*n*n*n*n+1},quinticInOut:function(n){return(n*=2)<1?.5*n*n*n*n*n:.5*((n-=2)*n*n*n*n+2)},sinusoidalIn:function(n){return 1-Math.cos(n*Math.PI/2)},sinusoidalOut:function(n){return Math.sin(n*Math.PI/2)},sinusoidalInOut:function(n){return .5*(1-Math.cos(Math.PI*n))},exponentialIn:function(n){return n===0?0:Math.pow(1024,n-1)},exponentialOut:function(n){return n===1?1:1-Math.pow(2,-10*n)},exponentialInOut:function(n){return n===0?0:n===1?1:(n*=2)<1?.5*Math.pow(1024,n-1):.5*(-Math.pow(2,-10*(n-1))+2)},circularIn:function(n){return 1-Math.sqrt(1-n*n)},circularOut:function(n){return Math.sqrt(1- --n*n)},circularInOut:function(n){return(n*=2)<1?-.5*(Math.sqrt(1-n*n)-1):.5*(Math.sqrt(1-(n-=2)*n)+1)},elasticIn:function(n){var t,r=.1,i=.4;return n===0?0:n===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/i)))},elasticOut:function(n){var t,r=.1,i=.4;return n===0?0:n===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*n)*Math.sin((n-t)*(2*Math.PI)/i)+1)},elasticInOut:function(n){var t,r=.1,i=.4;return n===0?0:n===1?1:(!r||r<1?(r=1,t=i/4):t=i*Math.asin(1/r)/(2*Math.PI),(n*=2)<1?-.5*(r*Math.pow(2,10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/i)):r*Math.pow(2,-10*(n-=1))*Math.sin((n-t)*(2*Math.PI)/i)*.5+1)},backIn:function(n){var t=1.70158;return n*n*((t+1)*n-t)},backOut:function(n){var t=1.70158;return--n*n*((t+1)*n+t)+1},backInOut:function(n){var t=2.5949095;return(n*=2)<1?.5*(n*n*((t+1)*n-t)):.5*((n-=2)*n*((t+1)*n+t)+2)},bounceIn:function(n){return 1-easingFuncs.bounceOut(1-n)},bounceOut:function(n){return n<1/2.75?7.5625*n*n:n<2/2.75?7.5625*(n-=1.5/2.75)*n+.75:n<2.5/2.75?7.5625*(n-=2.25/2.75)*n+.9375:7.5625*(n-=2.625/2.75)*n+.984375},bounceInOut:function(n){return n<.5?easingFuncs.bounceIn(n*2)*.5:easingFuncs.bounceOut(n*2-1)*.5+.5}};const easingFuncs$1=easingFuncs;var mathPow=Math.pow,mathSqrt$3=Math.sqrt,EPSILON$3=1e-8,EPSILON_NUMERIC=1e-4,THREE_SQRT=mathSqrt$3(3),ONE_THIRD=1/3,_v0=create$1(),_v1=create$1(),_v2=create$1();function isAroundZero$1(n){return n>-EPSILON$3&&nEPSILON$3||n<-EPSILON$3}function cubicAt(n,t,r,i,g){var $=1-g;return $*$*($*n+3*g*t)+g*g*(g*i+3*$*r)}function cubicDerivativeAt(n,t,r,i,g){var $=1-g;return 3*(((t-n)*$+2*(r-t)*g)*$+(i-r)*g*g)}function cubicRootAt(n,t,r,i,g,$){var V=i+3*(t-r)-n,re=3*(r-t*2+n),ie=3*(t-n),ae=n-g,oe=re*re-3*V*ie,le=re*ie-9*V*ae,ue=ie*ie-3*re*ae,de=0;if(isAroundZero$1(oe)&&isAroundZero$1(le))if(isAroundZero$1(re))$[0]=0;else{var he=-ie/re;he>=0&&he<=1&&($[de++]=he)}else{var pe=le*le-4*oe*ue;if(isAroundZero$1(pe)){var _e=le/oe,he=-re/V+_e,Ce=-_e/2;he>=0&&he<=1&&($[de++]=he),Ce>=0&&Ce<=1&&($[de++]=Ce)}else if(pe>0){var xe=mathSqrt$3(pe),Ie=oe*re+1.5*V*(-le+xe),Ne=oe*re+1.5*V*(-le-xe);Ie<0?Ie=-mathPow(-Ie,ONE_THIRD):Ie=mathPow(Ie,ONE_THIRD),Ne<0?Ne=-mathPow(-Ne,ONE_THIRD):Ne=mathPow(Ne,ONE_THIRD);var he=(-re-(Ie+Ne))/(3*V);he>=0&&he<=1&&($[de++]=he)}else{var Oe=(2*oe*re-3*V*le)/(2*mathSqrt$3(oe*oe*oe)),$e=Math.acos(Oe)/3,Ve=mathSqrt$3(oe),Ue=Math.cos($e),he=(-re-2*Ve*Ue)/(3*V),Ce=(-re+Ve*(Ue+THREE_SQRT*Math.sin($e)))/(3*V),Fe=(-re+Ve*(Ue-THREE_SQRT*Math.sin($e)))/(3*V);he>=0&&he<=1&&($[de++]=he),Ce>=0&&Ce<=1&&($[de++]=Ce),Fe>=0&&Fe<=1&&($[de++]=Fe)}}return de}function cubicExtrema(n,t,r,i,g){var $=6*r-12*t+6*n,V=9*t+3*i-3*n-9*r,re=3*t-3*n,ie=0;if(isAroundZero$1(V)){if(isNotAroundZero$1($)){var ae=-re/$;ae>=0&&ae<=1&&(g[ie++]=ae)}}else{var oe=$*$-4*V*re;if(isAroundZero$1(oe))g[0]=-$/(2*V);else if(oe>0){var le=mathSqrt$3(oe),ae=(-$+le)/(2*V),ue=(-$-le)/(2*V);ae>=0&&ae<=1&&(g[ie++]=ae),ue>=0&&ue<=1&&(g[ie++]=ue)}}return ie}function cubicSubdivide(n,t,r,i,g,$){var V=(t-n)*g+n,re=(r-t)*g+t,ie=(i-r)*g+r,ae=(re-V)*g+V,oe=(ie-re)*g+re,le=(oe-ae)*g+ae;$[0]=n,$[1]=V,$[2]=ae,$[3]=le,$[4]=le,$[5]=oe,$[6]=ie,$[7]=i}function cubicProjectPoint(n,t,r,i,g,$,V,re,ie,ae,oe){var le,ue=.005,de=1/0,he,pe,_e,Ce;_v0[0]=ie,_v0[1]=ae;for(var xe=0;xe<1;xe+=.05)_v1[0]=cubicAt(n,r,g,V,xe),_v1[1]=cubicAt(t,i,$,re,xe),_e=distSquare(_v0,_v1),_e=0&&_e=0&&ae<=1&&(g[ie++]=ae)}}else{var oe=V*V-4*$*re;if(isAroundZero$1(oe)){var ae=-V/(2*$);ae>=0&&ae<=1&&(g[ie++]=ae)}else if(oe>0){var le=mathSqrt$3(oe),ae=(-V+le)/(2*$),ue=(-V-le)/(2*$);ae>=0&&ae<=1&&(g[ie++]=ae),ue>=0&&ue<=1&&(g[ie++]=ue)}}return ie}function quadraticExtremum(n,t,r){var i=n+r-2*t;return i===0?.5:(n-t)/i}function quadraticSubdivide(n,t,r,i,g){var $=(t-n)*i+n,V=(r-t)*i+t,re=(V-$)*i+$;g[0]=n,g[1]=$,g[2]=re,g[3]=re,g[4]=V,g[5]=r}function quadraticProjectPoint(n,t,r,i,g,$,V,re,ie){var ae,oe=.005,le=1/0;_v0[0]=V,_v0[1]=re;for(var ue=0;ue<1;ue+=.05){_v1[0]=quadraticAt(n,r,g,ue),_v1[1]=quadraticAt(t,i,$,ue);var de=distSquare(_v0,_v1);de=0&&de=1?1:cubicRootAt(0,i,$,1,ie,re)&&cubicAt(0,g,V,1,re[0])}}}var Clip=function(){function n(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||noop,this.ondestroy=t.ondestroy||noop,this.onrestart=t.onrestart||noop,t.easing&&this.setEasing(t.easing)}return n.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var i=this._life,g=t-this._startTime-this._pausedTime,$=g/i;$<0&&($=0),$=Math.min($,1);var V=this.easingFunc,re=V?V($):$;if(this.onframe(re),$===1)if(this.loop){var ie=g%i;this._startTime=t-ie,this._pausedTime=0,this.onrestart()}else return!0;return!1},n.prototype.pause=function(){this._paused=!0},n.prototype.resume=function(){this._paused=!1},n.prototype.setEasing=function(t){this.easing=t,this.easingFunc=isFunction(t)?t:easingFuncs$1[t]||createCubicEasingFunc(t)},n}();const Clip$1=Clip;var Entry=function(){function n(t){this.value=t}return n}(),LinkedList=function(){function n(){this._len=0}return n.prototype.insert=function(t){var r=new Entry(t);return this.insertEntry(r),r},n.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++},n.prototype.remove=function(t){var r=t.prev,i=t.next;r?r.next=i:this.head=i,i?i.prev=r:this.tail=r,t.next=t.prev=null,this._len--},n.prototype.len=function(){return this._len},n.prototype.clear=function(){this.head=this.tail=null,this._len=0},n}(),LRU=function(){function n(t){this._list=new LinkedList,this._maxSize=10,this._map={},this._maxSize=t}return n.prototype.put=function(t,r){var i=this._list,g=this._map,$=null;if(g[t]==null){var V=i.len(),re=this._lastRemovedEntry;if(V>=this._maxSize&&V>0){var ie=i.head;i.remove(ie),delete g[ie.key],$=ie.value,this._lastRemovedEntry=ie}re?re.value=r:re=new Entry(r),re.key=t,i.insertEntry(re),g[t]=re}return $},n.prototype.get=function(t){var r=this._map[t],i=this._list;if(r!=null)return r!==i.tail&&(i.remove(r),i.insertEntry(r)),r.value},n.prototype.clear=function(){this._list.clear(),this._map={}},n.prototype.len=function(){return this._list.len()},n}();const LRU$1=LRU;var kCSSColorTable={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 clampCssByte(n){return n=Math.round(n),n<0?0:n>255?255:n}function clampCssFloat(n){return n<0?0:n>1?1:n}function parseCssInt(n){var t=n;return t.length&&t.charAt(t.length-1)==="%"?clampCssByte(parseFloat(t)/100*255):clampCssByte(parseInt(t,10))}function parseCssFloat(n){var t=n;return t.length&&t.charAt(t.length-1)==="%"?clampCssFloat(parseFloat(t)/100):clampCssFloat(parseFloat(t))}function cssHueToRgb(n,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?n+(t-n)*r*6:r*2<1?t:r*3<2?n+(t-n)*(2/3-r)*6:n}function setRgba(n,t,r,i,g){return n[0]=t,n[1]=r,n[2]=i,n[3]=g,n}function copyRgba(n,t){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n[3]=t[3],n}var colorCache=new LRU$1(20),lastRemovedArr=null;function putToCache(n,t){lastRemovedArr&©Rgba(lastRemovedArr,t),lastRemovedArr=colorCache.put(n,lastRemovedArr||t.slice())}function parse(n,t){if(n){t=t||[];var r=colorCache.get(n);if(r)return copyRgba(t,r);n=n+"";var i=n.replace(/ /g,"").toLowerCase();if(i in kCSSColorTable)return copyRgba(t,kCSSColorTable[i]),putToCache(n,t),t;var g=i.length;if(i.charAt(0)==="#"){if(g===4||g===5){var $=parseInt(i.slice(1,4),16);if(!($>=0&&$<=4095)){setRgba(t,0,0,0,1);return}return setRgba(t,($&3840)>>4|($&3840)>>8,$&240|($&240)>>4,$&15|($&15)<<4,g===5?parseInt(i.slice(4),16)/15:1),putToCache(n,t),t}else if(g===7||g===9){var $=parseInt(i.slice(1,7),16);if(!($>=0&&$<=16777215)){setRgba(t,0,0,0,1);return}return setRgba(t,($&16711680)>>16,($&65280)>>8,$&255,g===9?parseInt(i.slice(7),16)/255:1),putToCache(n,t),t}return}var V=i.indexOf("("),re=i.indexOf(")");if(V!==-1&&re+1===g){var ie=i.substr(0,V),ae=i.substr(V+1,re-(V+1)).split(","),oe=1;switch(ie){case"rgba":if(ae.length!==4)return ae.length===3?setRgba(t,+ae[0],+ae[1],+ae[2],1):setRgba(t,0,0,0,1);oe=parseCssFloat(ae.pop());case"rgb":if(ae.length>=3)return setRgba(t,parseCssInt(ae[0]),parseCssInt(ae[1]),parseCssInt(ae[2]),ae.length===3?oe:parseCssFloat(ae[3])),putToCache(n,t),t;setRgba(t,0,0,0,1);return;case"hsla":if(ae.length!==4){setRgba(t,0,0,0,1);return}return ae[3]=parseCssFloat(ae[3]),hsla2rgba(ae,t),putToCache(n,t),t;case"hsl":if(ae.length!==3){setRgba(t,0,0,0,1);return}return hsla2rgba(ae,t),putToCache(n,t),t;default:return}}setRgba(t,0,0,0,1)}}function hsla2rgba(n,t){var r=(parseFloat(n[0])%360+360)%360/360,i=parseCssFloat(n[1]),g=parseCssFloat(n[2]),$=g<=.5?g*(i+1):g+i-g*i,V=g*2-$;return t=t||[],setRgba(t,clampCssByte(cssHueToRgb(V,$,r+1/3)*255),clampCssByte(cssHueToRgb(V,$,r)*255),clampCssByte(cssHueToRgb(V,$,r-1/3)*255),1),n.length===4&&(t[3]=n[3]),t}function lift(n,t){var r=parse(n);if(r){for(var i=0;i<3;i++)t<0?r[i]=r[i]*(1-t)|0:r[i]=(255-r[i])*t+r[i]|0,r[i]>255?r[i]=255:r[i]<0&&(r[i]=0);return stringify(r,r.length===4?"rgba":"rgb")}}function stringify(n,t){if(!(!n||!n.length)){var r=n[0]+","+n[1]+","+n[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+n[3]),t+"("+r+")"}}function lum(n,t){var r=parse(n);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}var liftedColorCache=new LRU$1(100);function liftColor(n){if(isString(n)){var t=liftedColorCache.get(n);return t||(t=lift(n,-.1),liftedColorCache.put(n,t)),t}else if(isGradientObject(n)){var r=extend({},n);return r.colorStops=map$1(n.colorStops,function(i){return{offset:i.offset,color:lift(i.color,-.1)}}),r}return n}var mathRound$1=Math.round;function normalizeColor(n){var t;if(!n||n==="transparent")n="none";else if(typeof n=="string"&&n.indexOf("rgba")>-1){var r=parse(n);r&&(n="rgb("+r[0]+","+r[1]+","+r[2]+")",t=r[3])}return{color:n,opacity:t??1}}var EPSILON$2=1e-4;function isAroundZero(n){return n-EPSILON$2}function round3(n){return mathRound$1(n*1e3)/1e3}function round4(n){return mathRound$1(n*1e4)/1e4}function getMatrixStr(n){return"matrix("+round3(n[0])+","+round3(n[1])+","+round3(n[2])+","+round3(n[3])+","+round4(n[4])+","+round4(n[5])+")"}var TEXT_ALIGN_TO_ANCHOR={left:"start",right:"end",center:"middle",middle:"middle"};function adjustTextY$1(n,t,r){return r==="top"?n+=t/2:r==="bottom"&&(n-=t/2),n}function hasShadow(n){return n&&(n.shadowBlur||n.shadowOffsetX||n.shadowOffsetY)}function getShadowKey(n){var t=n.style,r=n.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function isImagePattern(n){return n&&!!n.image}function isSVGPattern(n){return n&&!!n.svgElement}function isPattern(n){return isImagePattern(n)||isSVGPattern(n)}function isLinearGradient(n){return n.type==="linear"}function isRadialGradient(n){return n.type==="radial"}function isGradient(n){return n&&(n.type==="linear"||n.type==="radial")}function getIdURL(n){return"url(#"+n+")"}function getPathPrecision(n){var t=n.getGlobalScale(),r=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function getSRTTransformString(n){var t=n.x||0,r=n.y||0,i=(n.rotation||0)*RADIAN_TO_DEGREE,g=retrieve2(n.scaleX,1),$=retrieve2(n.scaleY,1),V=n.skewX||0,re=n.skewY||0,ie=[];return(t||r)&&ie.push("translate("+t+"px,"+r+"px)"),i&&ie.push("rotate("+i+")"),(g!==1||$!==1)&&ie.push("scale("+g+","+$+")"),(V||re)&&ie.push("skew("+mathRound$1(V*RADIAN_TO_DEGREE)+"deg, "+mathRound$1(re*RADIAN_TO_DEGREE)+"deg)"),ie.join(" ")}var encodeBase64=function(){return env$1.hasGlobalWindow&&isFunction(window.btoa)?function(n){return window.btoa(unescape(encodeURIComponent(n)))}:typeof Buffer<"u"?function(n){return Buffer.from(n).toString("base64")}:function(n){return null}}(),arraySlice=Array.prototype.slice;function interpolateNumber(n,t,r){return(t-n)*r+n}function interpolate1DArray(n,t,r,i){for(var g=t.length,$=0;$i?t:n,$=Math.min(r,i),V=g[$-1]||{color:[0,0,0,0],offset:0},re=$;reV;if(re)i.length=V;else for(var ie=$;ie=1},n.prototype.getAdditiveTrack=function(){return this._additiveTrack},n.prototype.addKeyframe=function(t,r,i){this._needsSort=!0;var g=this.keyframes,$=g.length,V=!1,re=VALUE_TYPE_UNKOWN,ie=r;if(isArrayLike(r)){var ae=guessArrayDim(r);re=ae,(ae===1&&!isNumber(r[0])||ae===2&&!isNumber(r[0][0]))&&(V=!0)}else if(isNumber(r)&&!eqNaN(r))re=VALUE_TYPE_NUMBER;else if(isString(r))if(!isNaN(+r))re=VALUE_TYPE_NUMBER;else{var oe=parse(r);oe&&(ie=oe,re=VALUE_TYPE_COLOR)}else if(isGradientObject(r)){var le=extend({},ie);le.colorStops=map$1(r.colorStops,function(de){return{offset:de.offset,color:parse(de.color)}}),isLinearGradient(r)?re=VALUE_TYPE_LINEAR_GRADIENT:isRadialGradient(r)&&(re=VALUE_TYPE_RADIAL_GRADIENT),ie=le}$===0?this.valType=re:(re!==this.valType||re===VALUE_TYPE_UNKOWN)&&(V=!0),this.discrete=this.discrete||V;var ue={time:t,value:ie,rawValue:r,percent:0};return i&&(ue.easing=i,ue.easingFunc=isFunction(i)?i:easingFuncs$1[i]||createCubicEasingFunc(i)),g.push(ue),ue},n.prototype.prepare=function(t,r){var i=this.keyframes;this._needsSort&&i.sort(function(pe,_e){return pe.time-_e.time});for(var g=this.valType,$=i.length,V=i[$-1],re=this.discrete,ie=isArrayValueType(g),ae=isGradientValueType(g),oe=0;oe<$;oe++){var le=i[oe],ue=le.value,de=V.value;le.percent=le.time/t,re||(ie&&oe!==$-1?fillArray(ue,de,g):ae&&fillColorStops(ue.colorStops,de.colorStops))}if(!re&&g!==VALUE_TYPE_RADIAL_GRADIENT&&r&&this.needsAnimate()&&r.needsAnimate()&&g===r.valType&&!r._finished){this._additiveTrack=r;for(var he=i[0].value,oe=0;oe<$;oe++)g===VALUE_TYPE_NUMBER?i[oe].additiveValue=i[oe].value-he:g===VALUE_TYPE_COLOR?i[oe].additiveValue=add1DArray([],i[oe].value,he,-1):isArrayValueType(g)&&(i[oe].additiveValue=g===VALUE_TYPE_1D_ARRAY?add1DArray([],i[oe].value,he,-1):add2DArray([],i[oe].value,he,-1))}},n.prototype.step=function(t,r){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var i=this._additiveTrack!=null,g=i?"additiveValue":"value",$=this.valType,V=this.keyframes,re=V.length,ie=this.propName,ae=$===VALUE_TYPE_COLOR,oe,le=this._lastFr,ue=Math.min,de,he;if(re===1)de=he=V[0];else{if(r<0)oe=0;else if(r=0&&!(V[oe].percent<=r);oe--);oe=ue(oe,re-2)}else{for(oe=le;oer);oe++);oe=ue(oe-1,re-2)}he=V[oe+1],de=V[oe]}if(de&&he){this._lastFr=oe,this._lastFrP=r;var _e=he.percent-de.percent,Ce=_e===0?1:ue((r-de.percent)/_e,1);he.easingFunc&&(Ce=he.easingFunc(Ce));var xe=i?this._additiveValue:ae?tmpRgba:t[ie];if((isArrayValueType($)||ae)&&!xe&&(xe=this._additiveValue=[]),this.discrete)t[ie]=Ce<1?de.rawValue:he.rawValue;else if(isArrayValueType($))$===VALUE_TYPE_1D_ARRAY?interpolate1DArray(xe,de[g],he[g],Ce):interpolate2DArray(xe,de[g],he[g],Ce);else if(isGradientValueType($)){var Ie=de[g],Ne=he[g],Oe=$===VALUE_TYPE_LINEAR_GRADIENT;t[ie]={type:Oe?"linear":"radial",x:interpolateNumber(Ie.x,Ne.x,Ce),y:interpolateNumber(Ie.y,Ne.y,Ce),colorStops:map$1(Ie.colorStops,function(Ve,Ue){var Fe=Ne.colorStops[Ue];return{offset:interpolateNumber(Ve.offset,Fe.offset,Ce),color:rgba2String(interpolate1DArray([],Ve.color,Fe.color,Ce))}}),global:Ne.global},Oe?(t[ie].x2=interpolateNumber(Ie.x2,Ne.x2,Ce),t[ie].y2=interpolateNumber(Ie.y2,Ne.y2,Ce)):t[ie].r=interpolateNumber(Ie.r,Ne.r,Ce)}else if(ae)interpolate1DArray(xe,de[g],he[g],Ce),i||(t[ie]=rgba2String(xe));else{var $e=interpolateNumber(de[g],he[g],Ce);i?this._additiveValue=$e:t[ie]=$e}i&&this._addToTarget(t)}}},n.prototype._addToTarget=function(t){var r=this.valType,i=this.propName,g=this._additiveValue;r===VALUE_TYPE_NUMBER?t[i]=t[i]+g:r===VALUE_TYPE_COLOR?(parse(t[i],tmpRgba),add1DArray(tmpRgba,tmpRgba,g,1),t[i]=rgba2String(tmpRgba)):r===VALUE_TYPE_1D_ARRAY?add1DArray(t[i],t[i],g,1):r===VALUE_TYPE_2D_ARRAY&&add2DArray(t[i],t[i],g,1)},n}(),Animator=function(){function n(t,r,i,g){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&g){logError("Can' use additive animation on looped animation.");return}this._additiveAnimators=g,this._allowDiscrete=i}return n.prototype.getMaxTime=function(){return this._maxTime},n.prototype.getDelay=function(){return this._delay},n.prototype.getLoop=function(){return this._loop},n.prototype.getTarget=function(){return this._target},n.prototype.changeTarget=function(t){this._target=t},n.prototype.when=function(t,r,i){return this.whenWithKeys(t,r,keys(r),i)},n.prototype.whenWithKeys=function(t,r,i,g){for(var $=this._tracks,V=0;V0&&ie.addKeyframe(0,cloneValue(ae),g),this._trackKeys.push(re)}ie.addKeyframe(t,cloneValue(r[re]),g)}return this._maxTime=Math.max(this._maxTime,t),this},n.prototype.pause=function(){this._clip.pause(),this._paused=!0},n.prototype.resume=function(){this._clip.resume(),this._paused=!1},n.prototype.isPaused=function(){return!!this._paused},n.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},n.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,i=0;i0)){this._started=1;for(var r=this,i=[],g=this._maxTime||0,$=0;$1){var re=V.pop();$.addKeyframe(re.time,t[g]),$.prepare(this._maxTime,$.getAdditiveTrack())}}}},n}();const Animator$1=Animator;function getTime(){return new Date().getTime()}var Animation=function(n){__extends(t,n);function t(r){var i=n.call(this)||this;return i._running=!1,i._time=0,i._pausedTime=0,i._pauseStart=0,i._paused=!1,r=r||{},i.stage=r.stage||{},i}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var i=r.getClip();i&&this.addClip(i)},t.prototype.removeClip=function(r){if(r.animation){var i=r.prev,g=r.next;i?i.next=g:this._head=g,g?g.prev=i:this._tail=i,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var i=r.getClip();i&&this.removeClip(i),r.animation=null},t.prototype.update=function(r){for(var i=getTime()-this._pausedTime,g=i-this._time,$=this._head;$;){var V=$.next,re=$.step(i,g);re&&($.ondestroy(),this.removeClip($)),$=V}this._time=i,r||(this.trigger("frame",g),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function i(){r._running&&(requestAnimationFrame$3(i),!r._paused&&r.update())}requestAnimationFrame$3(i)},t.prototype.start=function(){this._running||(this._time=getTime(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=getTime(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=getTime()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var i=r.next;r.prev=r.next=r.animation=null,r=i}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,i){i=i||{},this.start();var g=new Animator$1(r,i.loop);return this.addAnimator(g),g},t}(Eventful$1);const Animation$1=Animation;var TOUCH_CLICK_DELAY=300,globalEventSupported=env$1.domSupported,localNativeListenerNames=function(){var n=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},i=map$1(n,function(g){var $=g.replace("mouse","pointer");return r.hasOwnProperty($)?$:g});return{mouse:n,touch:t,pointer:i}}(),globalNativeListenerNames={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},wheelEventSupported=!1;function isPointerFromTouch(n){var t=n.pointerType;return t==="pen"||t==="touch"}function setTouchTimer(n){n.touching=!0,n.touchTimer!=null&&(clearTimeout(n.touchTimer),n.touchTimer=null),n.touchTimer=setTimeout(function(){n.touching=!1,n.touchTimer=null},700)}function markTouch(n){n&&(n.zrByTouch=!0)}function normalizeGlobalEvent(n,t){return normalizeEvent(n.dom,new FakeGlobalEvent(n,t),!0)}function isLocalEl(n,t){for(var r=t,i=!1;r&&r.nodeType!==9&&!(i=r.domBelongToZr||r!==t&&r===n.painterRoot);)r=r.parentNode;return i}var FakeGlobalEvent=function(){function n(t,r){this.stopPropagation=noop,this.stopImmediatePropagation=noop,this.preventDefault=noop,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return n}(),localDOMHandlers={mousedown:function(n){n=normalizeEvent(this.dom,n),this.__mayPointerCapture=[n.zrX,n.zrY],this.trigger("mousedown",n)},mousemove:function(n){n=normalizeEvent(this.dom,n);var t=this.__mayPointerCapture;t&&(n.zrX!==t[0]||n.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",n)},mouseup:function(n){n=normalizeEvent(this.dom,n),this.__togglePointerCapture(!1),this.trigger("mouseup",n)},mouseout:function(n){n=normalizeEvent(this.dom,n);var t=n.toElement||n.relatedTarget;isLocalEl(this,t)||(this.__pointerCapturing&&(n.zrEventControl="no_globalout"),this.trigger("mouseout",n))},wheel:function(n){wheelEventSupported=!0,n=normalizeEvent(this.dom,n),this.trigger("mousewheel",n)},mousewheel:function(n){wheelEventSupported||(n=normalizeEvent(this.dom,n),this.trigger("mousewheel",n))},touchstart:function(n){n=normalizeEvent(this.dom,n),markTouch(n),this.__lastTouchMoment=new Date,this.handler.processGesture(n,"start"),localDOMHandlers.mousemove.call(this,n),localDOMHandlers.mousedown.call(this,n)},touchmove:function(n){n=normalizeEvent(this.dom,n),markTouch(n),this.handler.processGesture(n,"change"),localDOMHandlers.mousemove.call(this,n)},touchend:function(n){n=normalizeEvent(this.dom,n),markTouch(n),this.handler.processGesture(n,"end"),localDOMHandlers.mouseup.call(this,n),+new Date-+this.__lastTouchMomentEPSILON$1||n<-EPSILON$1}var scaleTmp=[],tmpTransform=[],originTransform=create(),abs=Math.abs,Transformable=function(){function n(){}return n.prototype.getLocalTransform=function(t){return n.getLocalTransform(this,t)},n.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},n.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},n.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},n.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},n.prototype.needLocalTransform=function(){return isNotAroundZero(this.rotation)||isNotAroundZero(this.x)||isNotAroundZero(this.y)||isNotAroundZero(this.scaleX-1)||isNotAroundZero(this.scaleY-1)||isNotAroundZero(this.skewX)||isNotAroundZero(this.skewY)},n.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),i=this.transform;if(!(r||t)){i&&(mIdentity(i),this.invTransform=null);return}i=i||create(),r?this.getLocalTransform(i):mIdentity(i),t&&(r?mul(i,t,i):copy(i,t)),this.transform=i,this._resolveGlobalScaleRatio(i)},n.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(scaleTmp);var i=scaleTmp[0]<0?-1:1,g=scaleTmp[1]<0?-1:1,$=((scaleTmp[0]-i)*r+i)/scaleTmp[0]||0,V=((scaleTmp[1]-g)*r+g)/scaleTmp[1]||0;t[0]*=$,t[1]*=$,t[2]*=V,t[3]*=V}this.invTransform=this.invTransform||create(),invert(this.invTransform,t)},n.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},n.prototype.setLocalTransform=function(t){if(t){var r=t[0]*t[0]+t[1]*t[1],i=t[2]*t[2]+t[3]*t[3],g=Math.atan2(t[1],t[0]),$=Math.PI/2+g-Math.atan2(t[3],t[2]);i=Math.sqrt(i)*Math.cos($),r=Math.sqrt(r),this.skewX=$,this.skewY=0,this.rotation=-g,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=i,this.originX=0,this.originY=0}},n.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||create(),mul(tmpTransform,t.invTransform,r),r=tmpTransform);var i=this.originX,g=this.originY;(i||g)&&(originTransform[4]=i,originTransform[5]=g,mul(tmpTransform,r,originTransform),tmpTransform[4]-=i,tmpTransform[5]-=g,r=tmpTransform),this.setLocalTransform(r)}},n.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},n.prototype.transformCoordToLocal=function(t,r){var i=[t,r],g=this.invTransform;return g&&applyTransform$1(i,i,g),i},n.prototype.transformCoordToGlobal=function(t,r){var i=[t,r],g=this.transform;return g&&applyTransform$1(i,i,g),i},n.prototype.getLineScale=function(){var t=this.transform;return t&&abs(t[0]-1)>1e-10&&abs(t[3]-1)>1e-10?Math.sqrt(abs(t[0]*t[3]-t[2]*t[1])):1},n.prototype.copyTransform=function(t){copyTransform(this,t)},n.getLocalTransform=function(t,r){r=r||[];var i=t.originX||0,g=t.originY||0,$=t.scaleX,V=t.scaleY,re=t.anchorX,ie=t.anchorY,ae=t.rotation||0,oe=t.x,le=t.y,ue=t.skewX?Math.tan(t.skewX):0,de=t.skewY?Math.tan(-t.skewY):0;if(i||g||re||ie){var he=i+re,pe=g+ie;r[4]=-he*$-ue*pe*V,r[5]=-pe*V-de*he*$}else r[4]=r[5]=0;return r[0]=$,r[3]=V,r[1]=de*$,r[2]=ue*V,ae&&rotate(r,r,ae),r[4]+=i+oe,r[5]+=g+le,r},n.initDefaultProps=function(){var t=n.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}(),n}(),TRANSFORMABLE_PROPS=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function copyTransform(n,t){for(var r=0;r=0?parseFloat(n)/100*t:parseFloat(n):n}function calculateTextPosition(n,t,r){var i=t.position||"inside",g=t.distance!=null?t.distance:5,$=r.height,V=r.width,re=$/2,ie=r.x,ae=r.y,oe="left",le="top";if(i instanceof Array)ie+=parsePercent$1(i[0],r.width),ae+=parsePercent$1(i[1],r.height),oe=null,le=null;else switch(i){case"left":ie-=g,ae+=re,oe="right",le="middle";break;case"right":ie+=g+V,ae+=re,le="middle";break;case"top":ie+=V/2,ae-=g,oe="center",le="bottom";break;case"bottom":ie+=V/2,ae+=$+g,oe="center";break;case"inside":ie+=V/2,ae+=re,oe="center",le="middle";break;case"insideLeft":ie+=g,ae+=re,le="middle";break;case"insideRight":ie+=V-g,ae+=re,oe="right",le="middle";break;case"insideTop":ie+=V/2,ae+=g,oe="center";break;case"insideBottom":ie+=V/2,ae+=$-g,oe="center",le="bottom";break;case"insideTopLeft":ie+=g,ae+=g;break;case"insideTopRight":ie+=V-g,ae+=g,oe="right";break;case"insideBottomLeft":ie+=g,ae+=$-g,le="bottom";break;case"insideBottomRight":ie+=V-g,ae+=$-g,oe="right",le="bottom";break}return n=n||{},n.x=ie,n.y=ae,n.align=oe,n.verticalAlign=le,n}var PRESERVED_NORMAL_STATE="__zr_normal__",PRIMARY_STATES_KEYS$1=TRANSFORMABLE_PROPS.concat(["ignore"]),DEFAULT_ANIMATABLE_MAP=reduce(TRANSFORMABLE_PROPS,function(n,t){return n[t]=!0,n},{ignore:!1}),tmpTextPosCalcRes={},tmpBoundingRect=new BoundingRect$1(0,0,0,0),Element$1=function(){function n(t){this.id=guid(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return n.prototype._init=function(t){this.attr(t)},n.prototype.drift=function(t,r,i){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var g=this.transform;g||(g=this.transform=[1,0,0,1,0,0]),g[4]+=t,g[5]+=r,this.decomposeTransform(),this.markRedraw()},n.prototype.beforeUpdate=function(){},n.prototype.afterUpdate=function(){},n.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},n.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var i=this.textConfig,g=i.local,$=r.innerTransformable,V=void 0,re=void 0,ie=!1;$.parent=g?this:null;var ae=!1;if($.copyTransform(r),i.position!=null){var oe=tmpBoundingRect;i.layoutRect?oe.copy(i.layoutRect):oe.copy(this.getBoundingRect()),g||oe.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(tmpTextPosCalcRes,i,oe):calculateTextPosition(tmpTextPosCalcRes,i,oe),$.x=tmpTextPosCalcRes.x,$.y=tmpTextPosCalcRes.y,V=tmpTextPosCalcRes.align,re=tmpTextPosCalcRes.verticalAlign;var le=i.origin;if(le&&i.rotation!=null){var ue=void 0,de=void 0;le==="center"?(ue=oe.width*.5,de=oe.height*.5):(ue=parsePercent$1(le[0],oe.width),de=parsePercent$1(le[1],oe.height)),ae=!0,$.originX=-$.x+ue+(g?0:oe.x),$.originY=-$.y+de+(g?0:oe.y)}}i.rotation!=null&&($.rotation=i.rotation);var he=i.offset;he&&($.x+=he[0],$.y+=he[1],ae||($.originX=-he[0],$.originY=-he[1]));var pe=i.inside==null?typeof i.position=="string"&&i.position.indexOf("inside")>=0:i.inside,_e=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),Ce=void 0,xe=void 0,Ie=void 0;pe&&this.canBeInsideText()?(Ce=i.insideFill,xe=i.insideStroke,(Ce==null||Ce==="auto")&&(Ce=this.getInsideTextFill()),(xe==null||xe==="auto")&&(xe=this.getInsideTextStroke(Ce),Ie=!0)):(Ce=i.outsideFill,xe=i.outsideStroke,(Ce==null||Ce==="auto")&&(Ce=this.getOutsideFill()),(xe==null||xe==="auto")&&(xe=this.getOutsideStroke(Ce),Ie=!0)),Ce=Ce||"#000",(Ce!==_e.fill||xe!==_e.stroke||Ie!==_e.autoStroke||V!==_e.align||re!==_e.verticalAlign)&&(ie=!0,_e.fill=Ce,_e.stroke=xe,_e.autoStroke=Ie,_e.align=V,_e.verticalAlign=re,r.setDefaultTextStyle(_e)),r.__dirty|=REDRAW_BIT,ie&&r.dirtyStyle(!0)}},n.prototype.canBeInsideText=function(){return!0},n.prototype.getInsideTextFill=function(){return"#fff"},n.prototype.getInsideTextStroke=function(t){return"#000"},n.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?LIGHT_LABEL_COLOR:DARK_LABEL_COLOR},n.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),i=typeof r=="string"&&parse(r);i||(i=[255,255,255,1]);for(var g=i[3],$=this.__zr.isDarkMode(),V=0;V<3;V++)i[V]=i[V]*g+($?0:255)*(1-g);return i[3]=1,stringify(i,"rgba")},n.prototype.traverse=function(t,r){},n.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},extend(this.extra,r)):this[t]=r},n.prototype.hide=function(){this.ignore=!0,this.markRedraw()},n.prototype.show=function(){this.ignore=!1,this.markRedraw()},n.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(isObject$2(t))for(var i=t,g=keys(i),$=0;$0},n.prototype.getState=function(t){return this.states[t]},n.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},n.prototype.clearStates=function(t){this.useState(PRESERVED_NORMAL_STATE,!1,t)},n.prototype.useState=function(t,r,i,g){var $=t===PRESERVED_NORMAL_STATE,V=this.hasState();if(!(!V&&$)){var re=this.currentStates,ie=this.stateTransition;if(!(indexOf(re,t)>=0&&(r||re.length===1))){var ae;if(this.stateProxy&&!$&&(ae=this.stateProxy(t)),ae||(ae=this.states&&this.states[t]),!ae&&!$){logError("State "+t+" not exists.");return}$||this.saveCurrentToNormalState(ae);var oe=!!(ae&&ae.hoverLayer||g);oe&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,ae,this._normalState,r,!i&&!this.__inHover&&ie&&ie.duration>0,ie);var le=this._textContent,ue=this._textGuide;return le&&le.useState(t,r,i,oe),ue&&ue.useState(t,r,i,oe),$?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!oe&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT),ae}}},n.prototype.useStates=function(t,r,i){if(!t.length)this.clearStates();else{var g=[],$=this.currentStates,V=t.length,re=V===$.length;if(re){for(var ie=0;ie0,he);var pe=this._textContent,_e=this._textGuide;pe&&pe.useStates(t,r,ue),_e&&_e.useStates(t,r,ue),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!ue&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~REDRAW_BIT)}},n.prototype.isSilent=function(){for(var t=this.silent,r=this.parent;!t&&r;){if(r.silent){t=!0;break}r=r.parent}return t},n.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var i=this.currentStates.slice();i.splice(r,1),this.useStates(i)}},n.prototype.replaceState=function(t,r,i){var g=this.currentStates.slice(),$=indexOf(g,t),V=indexOf(g,r)>=0;$>=0?V?g.splice($,1):g[$]=r:i&&!V&&g.push(r),this.useStates(g)},n.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},n.prototype._mergeStates=function(t){for(var r={},i,g=0;g=0&&$.splice(V,1)}),this.animators.push(t),i&&i.animation.addAnimator(t),i&&i.wakeUp()},n.prototype.updateDuringAnimation=function(t){this.markRedraw()},n.prototype.stopAnimation=function(t,r){for(var i=this.animators,g=i.length,$=[],V=0;V0&&r.during&&$[0].during(function(he,pe){r.during(pe)});for(var ue=0;ue<$.length;ue++){var de=$[ue];oe&&de.done(oe),le&&de.aborted(le),r.force&&de.duration(r.duration),de.start(r.easing)}return $}function copyArrShallow(n,t,r){for(var i=0;i0||g.force&&!V.length){var Ue=void 0,Fe=void 0,ze=void 0;if(re){Fe={},ue&&(Ue={});for(var Ne=0;Ne=0&&(g.splice($,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,i){var g=indexOf(this._children,r);return g>=0&&this.replaceAt(i,g),this},t.prototype.replaceAt=function(r,i){var g=this._children,$=g[i];if(r&&r!==this&&r.parent!==this&&r!==$){g[i]=r,$.parent=null;var V=this.__zr;V&&$.removeSelfFromZr(V),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var i=this.__zr;i&&i!==r.__zr&&r.addSelfToZr(i),i&&i.refresh()},t.prototype.remove=function(r){var i=this.__zr,g=this._children,$=indexOf(g,r);return $<0?this:(g.splice($,1),r.parent=null,i&&r.removeSelfFromZr(i),i&&i.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,i=this.__zr,g=0;g0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},n.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},n.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},n.prototype.refreshHover=function(){this._needsRefreshHover=!0},n.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},n.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},n.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},n.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},n.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},n.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},n.prototype.findHover=function(t,r){if(!this._disposed)return this.handler.findHover(t,r)},n.prototype.on=function(t,r,i){return this._disposed||this.handler.on(t,r,i),this},n.prototype.off=function(t,r){this._disposed||this.handler.off(t,r)},n.prototype.trigger=function(t,r){this._disposed||this.handler.trigger(t,r)},n.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),r=0;r0){if(n<=g)return V;if(n>=$)return re}else{if(n>=g)return V;if(n<=$)return re}else{if(n===g)return V;if(n===$)return re}return(n-g)/ie*ae+V}function parsePercent(n,t){switch(n){case"center":case"middle":n="50%";break;case"left":case"top":n="0%";break;case"right":case"bottom":n="100%";break}return isString(n)?_trim(n).match(/%$/)?parseFloat(n)/100*t:parseFloat(n):n==null?NaN:+n}function round$2(n,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),ROUND_SUPPORTED_PRECISION_MAX),n=(+n).toFixed(t),r?n:+n}function getPrecision(n){if(n=+n,isNaN(n))return 0;if(n>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(n*t)/t===n)return r}return getPrecisionSafe(n)}function getPrecisionSafe(n){var t=n.toString().toLowerCase(),r=t.indexOf("e"),i=r>0?+t.slice(r+1):0,g=r>0?r:t.length,$=t.indexOf("."),V=$<0?0:g-1-$;return Math.max(0,V-i)}function getPercentSeats(n,t){var r=reduce(n,function(de,he){return de+(isNaN(he)?0:he)},0);if(r===0)return[];for(var i=Math.pow(10,t),g=map$1(n,function(de){return(isNaN(de)?0:de)/r*i*100}),$=i*100,V=map$1(g,function(de){return Math.floor(de)}),re=reduce(V,function(de,he){return de+he},0),ie=map$1(g,function(de,he){return de-V[he]});re<$;){for(var ae=Number.NEGATIVE_INFINITY,oe=null,le=0,ue=ie.length;leae&&(ae=ie[le],oe=le);++V[oe],ie[oe]=0,++re}return map$1(V,function(de){return de/i})}function addSafe(n,t){var r=Math.max(getPrecision(n),getPrecision(t)),i=n+t;return r>ROUND_SUPPORTED_PRECISION_MAX?i:round$2(i,r)}function remRadian(n){var t=Math.PI*2;return(n%t+t)%t}function isRadianAroundZero(n){return n>-RADIAN_EPSILON&&n=0||$&&indexOf($,ie)<0)){var ae=i.getShallow(ie,t);ae!=null&&(V[n[re][0]]=ae)}}return V}}var AREA_STYLE_KEY_MAP=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],getAreaStyle=makeStyleMapper(AREA_STYLE_KEY_MAP),AreaStyleMixin=function(){function n(){}return n.prototype.getAreaStyle=function(t,r){return getAreaStyle(this,t,r)},n}(),globalImageCache=new LRU$1(50);function findExistImage(n){if(typeof n=="string"){var t=globalImageCache.get(n);return t&&t.image}else return n}function createOrUpdateImage(n,t,r,i,g){if(n)if(typeof n=="string"){if(t&&t.__zrImageSrc===n||!r)return t;var $=globalImageCache.get(n),V={hostEl:r,cb:i,cbPayload:g};return $?(t=$.image,!isImageReady(t)&&$.pending.push(V)):(t=platformApi.loadImage(n,imageOnLoad,imageOnLoad),t.__zrImageSrc=n,globalImageCache.put(n,t.__cachedImgObj={image:t,pending:[V]})),t}else return n;else return t}function imageOnLoad(){var n=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=V;ie++)re-=V;var ae=getWidth(r,t);return ae>re&&(r="",ae=0),re=n-ae,g.ellipsis=r,g.ellipsisWidth=ae,g.contentWidth=re,g.containerWidth=n,g}function truncateSingleLine(n,t,r){var i=r.containerWidth,g=r.font,$=r.contentWidth;if(!i){n.textLine="",n.isTruncated=!1;return}var V=getWidth(t,g);if(V<=i){n.textLine=t,n.isTruncated=!1;return}for(var re=0;;re++){if(V<=$||re>=r.maxIterations){t+=r.ellipsis;break}var ie=re===0?estimateLength(t,$,r.ascCharWidth,r.cnCharWidth):V>0?Math.floor(t.length*$/V):0;t=t.substr(0,ie),V=getWidth(t,g)}t===""&&(t=r.placeholder),n.textLine=t,n.isTruncated=!0}function estimateLength(n,t,r,i){for(var g=0,$=0,V=n.length;$he&&ae){var pe=Math.floor(he/re);oe=oe||ue.length>pe,ue=ue.slice(0,pe)}if(n&&$&&le!=null)for(var _e=prepareTruncateOptions(le,g,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),Ce={},xe=0;xere&&pushTokens(r,n.substring(re,ae),t,V),pushTokens(r,ie[2],t,V,ie[1]),re=STYLE_REG.lastIndex}reg){var Et=r.lines.length;$e>0?(Ie.tokens=Ie.tokens.slice(0,$e),Ce(Ie,Oe,Ne),r.lines=r.lines.slice(0,xe+1)):r.lines=r.lines.slice(0,xe),r.isTruncated=r.isTruncated||r.lines.length0&&he+i.accumWidth>i.width&&(oe=t.split(` -`),ae=!0),i.accumWidth=he}else{var pe=wrapText(t,ie,i.width,i.breakAll,i.accumWidth);i.accumWidth=pe.accumWidth+de,le=pe.linesWidths,oe=pe.lines}}else oe=t.split(` -`);for(var _e=0;_e=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var breakCharMap=reduce(",&?/;] ".split(""),function(n,t){return n[t]=!0,n},{});function isWordBreakChar(n){return isAlphabeticLetter(n)?!!breakCharMap[n]:!0}function wrapText(n,t,r,i,g){for(var $=[],V=[],re="",ie="",ae=0,oe=0,le=0;ler:g+oe+de>r){oe?(re||ie)&&(he?(re||(re=ie,ie="",ae=0,oe=ae),$.push(re),V.push(oe-ae),ie+=ue,ae+=de,re="",oe=ae):(ie&&(re+=ie,ie="",ae=0),$.push(re),V.push(oe),re=ue,oe=de)):he?($.push(ie),V.push(ae),ie=ue,ae=de):($.push(ue),V.push(de));continue}oe+=de,he?(ie+=ue,ae+=de):(ie&&(re+=ie,ie="",ae=0),re+=ue)}return!$.length&&!re&&(re=n,ie="",ae=0),ie&&(re+=ie),re&&($.push(re),V.push(oe)),$.length===1&&(oe+=g),{accumWidth:oe,lines:$,linesWidths:V}}var STYLE_MAGIC_KEY="__zr_style_"+Math.round(Math.random()*10),DEFAULT_COMMON_STYLE={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},DEFAULT_COMMON_ANIMATION_PROPS={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};DEFAULT_COMMON_STYLE[STYLE_MAGIC_KEY]=!0;var PRIMARY_STATES_KEYS=["z","z2","invisible"],PRIMARY_STATES_KEYS_IN_HOVER_LAYER=["invisible"],Displayable=function(n){__extends(t,n);function t(r){return n.call(this,r)||this}return t.prototype._init=function(r){for(var i=keys(r),g=0;g1e-4){re[0]=n-r,re[1]=t-i,ie[0]=n+r,ie[1]=t+i;return}if(start[0]=mathCos$4(g)*r+n,start[1]=mathSin$4(g)*i+t,end[0]=mathCos$4($)*r+n,end[1]=mathSin$4($)*i+t,ae(re,start,end),oe(ie,start,end),g=g%PI2$7,g<0&&(g=g+PI2$7),$=$%PI2$7,$<0&&($=$+PI2$7),g>$&&!V?$+=PI2$7:g<$&&V&&(g+=PI2$7),V){var ue=$;$=g,g=ue}for(var de=0;de<$;de+=Math.PI/2)de>g&&(extremity[0]=mathCos$4(de)*r+n,extremity[1]=mathSin$4(de)*i+t,ae(re,extremity,re),oe(ie,extremity,ie))}var CMD$2={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},tmpOutX=[],tmpOutY=[],min=[],max=[],min2=[],max2=[],mathMin$2=Math.min,mathMax$2=Math.max,mathCos$3=Math.cos,mathSin$3=Math.sin,mathAbs$1=Math.abs,PI$5=Math.PI,PI2$6=PI$5*2,hasTypedArray=typeof Float32Array<"u",tmpAngles=[];function modPI2(n){var t=Math.round(n/PI$5*1e8)/1e8;return t%2*PI$5}function normalizeArcAngles(n,t){var r=modPI2(n[0]);r<0&&(r+=PI2$6);var i=r-n[0],g=n[1];g+=i,!t&&g-r>=PI2$6?g=r+PI2$6:t&&r-g>=PI2$6?g=r-PI2$6:!t&&r>g?g=r+(PI2$6-modPI2(r-g)):t&&r0&&(this._ux=mathAbs$1(i/devicePixelRatio/t)||0,this._uy=mathAbs$1(i/devicePixelRatio/r)||0)},n.prototype.setDPR=function(t){this.dpr=t},n.prototype.setContext=function(t){this._ctx=t},n.prototype.getContext=function(){return this._ctx},n.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},n.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},n.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(CMD$2.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},n.prototype.lineTo=function(t,r){var i=mathAbs$1(t-this._xi),g=mathAbs$1(r-this._yi),$=i>this._ux||g>this._uy;if(this.addData(CMD$2.L,t,r),this._ctx&&$&&this._ctx.lineTo(t,r),$)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var V=i*i+g*g;V>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=V)}return this},n.prototype.bezierCurveTo=function(t,r,i,g,$,V){return this._drawPendingPt(),this.addData(CMD$2.C,t,r,i,g,$,V),this._ctx&&this._ctx.bezierCurveTo(t,r,i,g,$,V),this._xi=$,this._yi=V,this},n.prototype.quadraticCurveTo=function(t,r,i,g){return this._drawPendingPt(),this.addData(CMD$2.Q,t,r,i,g),this._ctx&&this._ctx.quadraticCurveTo(t,r,i,g),this._xi=i,this._yi=g,this},n.prototype.arc=function(t,r,i,g,$,V){this._drawPendingPt(),tmpAngles[0]=g,tmpAngles[1]=$,normalizeArcAngles(tmpAngles,V),g=tmpAngles[0],$=tmpAngles[1];var re=$-g;return this.addData(CMD$2.A,t,r,i,i,g,re,0,V?0:1),this._ctx&&this._ctx.arc(t,r,i,g,$,V),this._xi=mathCos$3($)*i+t,this._yi=mathSin$3($)*i+r,this},n.prototype.arcTo=function(t,r,i,g,$){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,i,g,$),this},n.prototype.rect=function(t,r,i,g){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,i,g),this.addData(CMD$2.R,t,r,i,g),this},n.prototype.closePath=function(){this._drawPendingPt(),this.addData(CMD$2.Z);var t=this._ctx,r=this._x0,i=this._y0;return t&&t.closePath(),this._xi=r,this._yi=i,this},n.prototype.fill=function(t){t&&t.fill(),this.toStatic()},n.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},n.prototype.len=function(){return this._len},n.prototype.setData=function(t){var r=t.length;!(this.data&&this.data.length===r)&&hasTypedArray&&(this.data=new Float32Array(r));for(var i=0;ioe.length&&(this._expandData(),oe=this.data);for(var le=0;le0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},n.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r11&&(this.data=new Float32Array(t)))}},n.prototype.getBoundingRect=function(){min[0]=min[1]=min2[0]=min2[1]=Number.MAX_VALUE,max[0]=max[1]=max2[0]=max2[1]=-Number.MAX_VALUE;var t=this.data,r=0,i=0,g=0,$=0,V;for(V=0;Vi||mathAbs$1(Ie)>g||ue===r-1)&&(pe=Math.sqrt(xe*xe+Ie*Ie),$=_e,V=Ce);break}case CMD$2.C:{var Ne=t[ue++],Oe=t[ue++],_e=t[ue++],Ce=t[ue++],$e=t[ue++],Ve=t[ue++];pe=cubicLength($,V,Ne,Oe,_e,Ce,$e,Ve,10),$=$e,V=Ve;break}case CMD$2.Q:{var Ne=t[ue++],Oe=t[ue++],_e=t[ue++],Ce=t[ue++];pe=quadraticLength($,V,Ne,Oe,_e,Ce,10),$=_e,V=Ce;break}case CMD$2.A:var Ue=t[ue++],Fe=t[ue++],ze=t[ue++],Pt=t[ue++],qe=t[ue++],Et=t[ue++],kt=Et+qe;ue+=1,he&&(re=mathCos$3(qe)*ze+Ue,ie=mathSin$3(qe)*Pt+Fe),pe=mathMax$2(ze,Pt)*mathMin$2(PI2$6,Math.abs(Et)),$=mathCos$3(kt)*ze+Ue,V=mathSin$3(kt)*Pt+Fe;break;case CMD$2.R:{re=$=t[ue++],ie=V=t[ue++];var At=t[ue++],Dt=t[ue++];pe=At*2+Dt*2;break}case CMD$2.Z:{var xe=re-$,Ie=ie-V;pe=Math.sqrt(xe*xe+Ie*Ie),$=re,V=ie;break}}pe>=0&&(ae[le++]=pe,oe+=pe)}return this._pathLen=oe,oe},n.prototype.rebuildPath=function(t,r){var i=this.data,g=this._ux,$=this._uy,V=this._len,re,ie,ae,oe,le,ue,de=r<1,he,pe,_e=0,Ce=0,xe,Ie=0,Ne,Oe;if(!(de&&(this._pathSegLen||this._calculateLength(),he=this._pathSegLen,pe=this._pathLen,xe=r*pe,!xe)))e:for(var $e=0;$e0&&(t.lineTo(Ne,Oe),Ie=0),Ve){case CMD$2.M:re=ae=i[$e++],ie=oe=i[$e++],t.moveTo(ae,oe);break;case CMD$2.L:{le=i[$e++],ue=i[$e++];var Fe=mathAbs$1(le-ae),ze=mathAbs$1(ue-oe);if(Fe>g||ze>$){if(de){var Pt=he[Ce++];if(_e+Pt>xe){var qe=(xe-_e)/Pt;t.lineTo(ae*(1-qe)+le*qe,oe*(1-qe)+ue*qe);break e}_e+=Pt}t.lineTo(le,ue),ae=le,oe=ue,Ie=0}else{var Et=Fe*Fe+ze*ze;Et>Ie&&(Ne=le,Oe=ue,Ie=Et)}break}case CMD$2.C:{var kt=i[$e++],At=i[$e++],Dt=i[$e++],Lt=i[$e++],jt=i[$e++],hn=i[$e++];if(de){var Pt=he[Ce++];if(_e+Pt>xe){var qe=(xe-_e)/Pt;cubicSubdivide(ae,kt,Dt,jt,qe,tmpOutX),cubicSubdivide(oe,At,Lt,hn,qe,tmpOutY),t.bezierCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2],tmpOutX[3],tmpOutY[3]);break e}_e+=Pt}t.bezierCurveTo(kt,At,Dt,Lt,jt,hn),ae=jt,oe=hn;break}case CMD$2.Q:{var kt=i[$e++],At=i[$e++],Dt=i[$e++],Lt=i[$e++];if(de){var Pt=he[Ce++];if(_e+Pt>xe){var qe=(xe-_e)/Pt;quadraticSubdivide(ae,kt,Dt,qe,tmpOutX),quadraticSubdivide(oe,At,Lt,qe,tmpOutY),t.quadraticCurveTo(tmpOutX[1],tmpOutY[1],tmpOutX[2],tmpOutY[2]);break e}_e+=Pt}t.quadraticCurveTo(kt,At,Dt,Lt),ae=Dt,oe=Lt;break}case CMD$2.A:var vn=i[$e++],_n=i[$e++],wn=i[$e++],bn=i[$e++],Cn=i[$e++],Sn=i[$e++],Tn=i[$e++],En=!i[$e++],kn=wn>bn?wn:bn,$n=mathAbs$1(wn-bn)>.001,An=Cn+Sn,xn=!1;if(de){var Pt=he[Ce++];_e+Pt>xe&&(An=Cn+Sn*(xe-_e)/Pt,xn=!0),_e+=Pt}if($n&&t.ellipse?t.ellipse(vn,_n,wn,bn,Tn,Cn,An,En):t.arc(vn,_n,kn,Cn,An,En),xn)break e;Ue&&(re=mathCos$3(Cn)*wn+vn,ie=mathSin$3(Cn)*bn+_n),ae=mathCos$3(An)*wn+vn,oe=mathSin$3(An)*bn+_n;break;case CMD$2.R:re=ae=i[$e],ie=oe=i[$e+1],le=i[$e++],ue=i[$e++];var Ln=i[$e++],Nn=i[$e++];if(de){var Pt=he[Ce++];if(_e+Pt>xe){var Pn=xe-_e;t.moveTo(le,ue),t.lineTo(le+mathMin$2(Pn,Ln),ue),Pn-=Ln,Pn>0&&t.lineTo(le+Ln,ue+mathMin$2(Pn,Nn)),Pn-=Nn,Pn>0&&t.lineTo(le+mathMax$2(Ln-Pn,0),ue+Nn),Pn-=Ln,Pn>0&&t.lineTo(le,ue+mathMax$2(Nn-Pn,0));break e}_e+=Pt}t.rect(le,ue,Ln,Nn);break;case CMD$2.Z:if(de){var Pt=he[Ce++];if(_e+Pt>xe){var qe=(xe-_e)/Pt;t.lineTo(ae*(1-qe)+re*qe,oe*(1-qe)+ie*qe);break e}_e+=Pt}t.closePath(),ae=re,oe=ie}}},n.prototype.clone=function(){var t=new n,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},n.CMD=CMD$2,n.initDefaultProps=function(){var t=n.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),n}();const PathProxy$1=PathProxy;function containStroke$4(n,t,r,i,g,$,V){if(g===0)return!1;var re=g,ie=0,ae=n;if(V>t+re&&V>i+re||Vn+re&&$>r+re||$t+le&&oe>i+le&&oe>$+le&&oe>re+le||oen+le&&ae>r+le&&ae>g+le&&ae>V+le||aet+ae&&ie>i+ae&&ie>$+ae||ien+ae&&re>r+ae&&re>g+ae||rer||oe+aeg&&(g+=PI2$4);var ue=Math.atan2(ie,re);return ue<0&&(ue+=PI2$4),ue>=i&&ue<=g||ue+PI2$4>=i&&ue+PI2$4<=g}function windingLine(n,t,r,i,g,$){if($>t&&$>i||$g?re:0}var CMD$1=PathProxy$1.CMD,PI2$3=Math.PI*2,EPSILON=1e-4;function isAroundEqual(n,t){return Math.abs(n-t)t&&ae>i&&ae>$&&ae>re||ae1&&swapExtrema(),de=cubicAt(t,i,$,re,extrema[0]),ue>1&&(he=cubicAt(t,i,$,re,extrema[1]))),ue===2?_et&&re>i&&re>$||re=0&&ae<=1){for(var oe=0,le=quadraticAt(t,i,$,ae),ue=0;uer||re<-r)return 0;var ie=Math.sqrt(r*r-re*re);roots[0]=-ie,roots[1]=ie;var ae=Math.abs(i-g);if(ae<1e-4)return 0;if(ae>=PI2$3-1e-4){i=0,g=PI2$3;var oe=$?1:-1;return V>=roots[0]+n&&V<=roots[1]+n?oe:0}if(i>g){var le=i;i=g,g=le}i<0&&(i+=PI2$3,g+=PI2$3);for(var ue=0,de=0;de<2;de++){var he=roots[de];if(he+n>V){var pe=Math.atan2(re,he),oe=$?1:-1;pe<0&&(pe=PI2$3+pe),(pe>=i&&pe<=g||pe+PI2$3>=i&&pe+PI2$3<=g)&&(pe>Math.PI/2&&pe1&&(r||(re+=windingLine(ie,ae,oe,le,i,g))),_e&&(ie=$[he],ae=$[he+1],oe=ie,le=ae),pe){case CMD$1.M:oe=$[he++],le=$[he++],ie=oe,ae=le;break;case CMD$1.L:if(r){if(containStroke$4(ie,ae,$[he],$[he+1],t,i,g))return!0}else re+=windingLine(ie,ae,$[he],$[he+1],i,g)||0;ie=$[he++],ae=$[he++];break;case CMD$1.C:if(r){if(containStroke$3(ie,ae,$[he++],$[he++],$[he++],$[he++],$[he],$[he+1],t,i,g))return!0}else re+=windingCubic(ie,ae,$[he++],$[he++],$[he++],$[he++],$[he],$[he+1],i,g)||0;ie=$[he++],ae=$[he++];break;case CMD$1.Q:if(r){if(containStroke$2(ie,ae,$[he++],$[he++],$[he],$[he+1],t,i,g))return!0}else re+=windingQuadratic(ie,ae,$[he++],$[he++],$[he],$[he+1],i,g)||0;ie=$[he++],ae=$[he++];break;case CMD$1.A:var Ce=$[he++],xe=$[he++],Ie=$[he++],Ne=$[he++],Oe=$[he++],$e=$[he++];he+=1;var Ve=!!(1-$[he++]);ue=Math.cos(Oe)*Ie+Ce,de=Math.sin(Oe)*Ne+xe,_e?(oe=ue,le=de):re+=windingLine(ie,ae,ue,de,i,g);var Ue=(i-Ce)*Ne/Ie+Ce;if(r){if(containStroke$1(Ce,xe,Ne,Oe,Oe+$e,Ve,t,Ue,g))return!0}else re+=windingArc(Ce,xe,Ne,Oe,Oe+$e,Ve,Ue,g);ie=Math.cos(Oe+$e)*Ie+Ce,ae=Math.sin(Oe+$e)*Ne+xe;break;case CMD$1.R:oe=ie=$[he++],le=ae=$[he++];var Fe=$[he++],ze=$[he++];if(ue=oe+Fe,de=le+ze,r){if(containStroke$4(oe,le,ue,le,t,i,g)||containStroke$4(ue,le,ue,de,t,i,g)||containStroke$4(ue,de,oe,de,t,i,g)||containStroke$4(oe,de,oe,le,t,i,g))return!0}else re+=windingLine(ue,le,ue,de,i,g),re+=windingLine(oe,de,oe,le,i,g);break;case CMD$1.Z:if(r){if(containStroke$4(ie,ae,oe,le,t,i,g))return!0}else re+=windingLine(ie,ae,oe,le,i,g);ie=oe,ae=le;break}}return!r&&!isAroundEqual(ae,le)&&(re+=windingLine(ie,ae,oe,le,i,g)||0),re!==0}function contain(n,t,r){return containPath(n,0,!1,t,r)}function containStroke(n,t,r,i){return containPath(n,t,!0,r,i)}var DEFAULT_PATH_STYLE=defaults({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},DEFAULT_COMMON_STYLE),DEFAULT_PATH_ANIMATION_PROPS={style:defaults({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)},pathCopyParams=TRANSFORMABLE_PROPS.concat(["invisible","culling","z","z2","zlevel","parent"]),Path=function(n){__extends(t,n);function t(r){return n.call(this,r)||this}return t.prototype.update=function(){var r=this;n.prototype.update.call(this);var i=this.style;if(i.decal){var g=this._decalEl=this._decalEl||new t;g.buildPath===t.prototype.buildPath&&(g.buildPath=function(ie){r.buildPath(ie,r.shape)}),g.silent=!0;var $=g.style;for(var V in i)$[V]!==i[V]&&($[V]=i[V]);$.fill=i.fill?i.decal:null,$.decal=null,$.shadowColor=null,i.strokeFirst&&($.stroke=null);for(var re=0;re.5?DARK_LABEL_COLOR:i>.2?LIGHTER_LABEL_COLOR:LIGHT_LABEL_COLOR}else if(r)return LIGHT_LABEL_COLOR}return DARK_LABEL_COLOR},t.prototype.getInsideTextStroke=function(r){var i=this.style.fill;if(isString(i)){var g=this.__zr,$=!!(g&&g.isDarkMode()),V=lum(r,0)0))},t.prototype.hasFill=function(){var r=this.style,i=r.fill;return i!=null&&i!=="none"},t.prototype.getBoundingRect=function(){var r=this._rect,i=this.style,g=!r;if(g){var $=!1;this.path||($=!0,this.createPathProxy());var V=this.path;($||this.__dirty&SHAPE_CHANGED_BIT)&&(V.beginPath(),this.buildPath(V,this.shape,!1),this.pathUpdated()),r=V.getBoundingRect()}if(this._rect=r,this.hasStroke()&&this.path&&this.path.len()>0){var re=this._rectStroke||(this._rectStroke=r.clone());if(this.__dirty||g){re.copy(r);var ie=i.strokeNoScale?this.getLineScale():1,ae=i.lineWidth;if(!this.hasFill()){var oe=this.strokeContainThreshold;ae=Math.max(ae,oe??4)}ie>1e-10&&(re.width+=ae/ie,re.height+=ae/ie,re.x-=ae/ie/2,re.y-=ae/ie/2)}return re}return r},t.prototype.contain=function(r,i){var g=this.transformCoordToLocal(r,i),$=this.getBoundingRect(),V=this.style;if(r=g[0],i=g[1],$.contain(r,i)){var re=this.path;if(this.hasStroke()){var ie=V.lineWidth,ae=V.strokeNoScale?this.getLineScale():1;if(ae>1e-10&&(this.hasFill()||(ie=Math.max(ie,this.strokeContainThreshold)),containStroke(re,ie/ae,r,i)))return!0}if(this.hasFill())return contain(re,r,i)}return!1},t.prototype.dirtyShape=function(){this.__dirty|=SHAPE_CHANGED_BIT,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},t.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},t.prototype.animateShape=function(r){return this.animate("shape",r)},t.prototype.updateDuringAnimation=function(r){r==="style"?this.dirtyStyle():r==="shape"?this.dirtyShape():this.markRedraw()},t.prototype.attrKV=function(r,i){r==="shape"?this.setShape(i):n.prototype.attrKV.call(this,r,i)},t.prototype.setShape=function(r,i){var g=this.shape;return g||(g=this.shape={}),typeof r=="string"?g[r]=i:extend(g,r),this.dirtyShape(),this},t.prototype.shapeChanged=function(){return!!(this.__dirty&SHAPE_CHANGED_BIT)},t.prototype.createStyle=function(r){return createObject(DEFAULT_PATH_STYLE,r)},t.prototype._innerSaveToNormal=function(r){n.prototype._innerSaveToNormal.call(this,r);var i=this._normalState;r.shape&&!i.shape&&(i.shape=extend({},this.shape))},t.prototype._applyStateObj=function(r,i,g,$,V,re){n.prototype._applyStateObj.call(this,r,i,g,$,V,re);var ie=!(i&&$),ae;if(i&&i.shape?V?$?ae=i.shape:(ae=extend({},g.shape),extend(ae,i.shape)):(ae=extend({},$?this.shape:g.shape),extend(ae,i.shape)):ie&&(ae=g.shape),ae)if(V){this.shape=extend({},this.shape);for(var oe={},le=keys(ae),ue=0;ue0},t.prototype.hasFill=function(){var r=this.style,i=r.fill;return i!=null&&i!=="none"},t.prototype.createStyle=function(r){return createObject(DEFAULT_TSPAN_STYLE,r)},t.prototype.setBoundingRect=function(r){this._rect=r},t.prototype.getBoundingRect=function(){var r=this.style;if(!this._rect){var i=r.text;i!=null?i+="":i="";var g=getBoundingRect(i,r.font,r.textAlign,r.textBaseline);if(g.x+=r.x||0,g.y+=r.y||0,this.hasStroke()){var $=r.lineWidth;g.x-=$/2,g.y-=$/2,g.width+=$,g.height+=$}this._rect=g}return this._rect},t.initDefaultProps=function(){var r=t.prototype;r.dirtyRectTolerance=10}(),t}(Displayable$1);TSpan.prototype.type="tspan";const TSpan$1=TSpan;var DEFAULT_IMAGE_STYLE=defaults({x:0,y:0},DEFAULT_COMMON_STYLE),DEFAULT_IMAGE_ANIMATION_PROPS={style:defaults({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DEFAULT_COMMON_ANIMATION_PROPS.style)};function isImageLike$1(n){return!!(n&&typeof n!="string"&&n.width&&n.height)}var ZRImage=function(n){__extends(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.createStyle=function(r){return createObject(DEFAULT_IMAGE_STYLE,r)},t.prototype._getSize=function(r){var i=this.style,g=i[r];if(g!=null)return g;var $=isImageLike$1(i.image)?i.image:this.__image;if(!$)return 0;var V=r==="width"?"height":"width",re=i[V];return re==null?$[r]:$[r]/$[V]*re},t.prototype.getWidth=function(){return this._getSize("width")},t.prototype.getHeight=function(){return this._getSize("height")},t.prototype.getAnimationStyleProps=function(){return DEFAULT_IMAGE_ANIMATION_PROPS},t.prototype.getBoundingRect=function(){var r=this.style;return this._rect||(this._rect=new BoundingRect$1(r.x||0,r.y||0,this.getWidth(),this.getHeight())),this._rect},t}(Displayable$1);ZRImage.prototype.type="image";const ZRImage$1=ZRImage;function buildPath$2(n,t){var r=t.x,i=t.y,g=t.width,$=t.height,V=t.r,re,ie,ae,oe;g<0&&(r=r+g,g=-g),$<0&&(i=i+$,$=-$),typeof V=="number"?re=ie=ae=oe=V:V instanceof Array?V.length===1?re=ie=ae=oe=V[0]:V.length===2?(re=ae=V[0],ie=oe=V[1]):V.length===3?(re=V[0],ie=oe=V[1],ae=V[2]):(re=V[0],ie=V[1],ae=V[2],oe=V[3]):re=ie=ae=oe=0;var le;re+ie>g&&(le=re+ie,re*=g/le,ie*=g/le),ae+oe>g&&(le=ae+oe,ae*=g/le,oe*=g/le),ie+ae>$&&(le=ie+ae,ie*=$/le,ae*=$/le),re+oe>$&&(le=re+oe,re*=$/le,oe*=$/le),n.moveTo(r+re,i),n.lineTo(r+g-ie,i),ie!==0&&n.arc(r+g-ie,i+ie,ie,-Math.PI/2,0),n.lineTo(r+g,i+$-ae),ae!==0&&n.arc(r+g-ae,i+$-ae,ae,0,Math.PI/2),n.lineTo(r+oe,i+$),oe!==0&&n.arc(r+oe,i+$-oe,oe,Math.PI/2,Math.PI),n.lineTo(r,i+re),re!==0&&n.arc(r+re,i+re,re,Math.PI,Math.PI*1.5)}var round$1=Math.round;function subPixelOptimizeLine$1(n,t,r){if(t){var i=t.x1,g=t.x2,$=t.y1,V=t.y2;n.x1=i,n.x2=g,n.y1=$,n.y2=V;var re=r&&r.lineWidth;return re&&(round$1(i*2)===round$1(g*2)&&(n.x1=n.x2=subPixelOptimize$1(i,re,!0)),round$1($*2)===round$1(V*2)&&(n.y1=n.y2=subPixelOptimize$1($,re,!0))),n}}function subPixelOptimizeRect$1(n,t,r){if(t){var i=t.x,g=t.y,$=t.width,V=t.height;n.x=i,n.y=g,n.width=$,n.height=V;var re=r&&r.lineWidth;return re&&(n.x=subPixelOptimize$1(i,re,!0),n.y=subPixelOptimize$1(g,re,!0),n.width=Math.max(subPixelOptimize$1(i+$,re,!1)-n.x,$===0?0:1),n.height=Math.max(subPixelOptimize$1(g+V,re,!1)-n.y,V===0?0:1)),n}}function subPixelOptimize$1(n,t,r){if(!t)return n;var i=round$1(n*2);return(i+round$1(t))%2===0?i/2:(i+(r?1:-1))/2}var RectShape=function(){function n(){this.x=0,this.y=0,this.width=0,this.height=0}return n}(),subPixelOptimizeOutputShape$1={},Rect=function(n){__extends(t,n);function t(r){return n.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new RectShape},t.prototype.buildPath=function(r,i){var g,$,V,re;if(this.subPixelOptimize){var ie=subPixelOptimizeRect$1(subPixelOptimizeOutputShape$1,i,this.style);g=ie.x,$=ie.y,V=ie.width,re=ie.height,ie.r=i.r,i=ie}else g=i.x,$=i.y,V=i.width,re=i.height;i.r?buildPath$2(r,i):r.rect(g,$,V,re)},t.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},t}(Path$1);Rect.prototype.type="rect";const Rect$1=Rect;var DEFAULT_RICH_TEXT_COLOR={fill:"#000"},DEFAULT_STROKE_LINE_WIDTH=2,DEFAULT_TEXT_ANIMATION_PROPS={style:defaults({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},DEFAULT_COMMON_ANIMATION_PROPS.style)},ZRText=function(n){__extends(t,n);function t(r){var i=n.call(this)||this;return i.type="text",i._children=[],i._defaultStyle=DEFAULT_RICH_TEXT_COLOR,i.attr(r),i}return t.prototype.childrenRef=function(){return this._children},t.prototype.update=function(){n.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var r=0;r0,qe=r.width!=null&&(r.overflow==="truncate"||r.overflow==="break"||r.overflow==="breakAll"),Et=V.calculatedLineHeight,kt=0;kt=0&&(kt=$e[Et],kt.align==="right");)this._placeToken(kt,r,Ue,Ce,qe,"right",Ie),Fe-=kt.width,qe-=kt.width,Et--;for(Pt+=($-(Pt-_e)-(xe-qe)-Fe)/2;ze<=Et;)kt=$e[ze],this._placeToken(kt,r,Ue,Ce,Pt+kt.width/2,"center",Ie),Pt+=kt.width,ze++;Ce+=Ue}},t.prototype._placeToken=function(r,i,g,$,V,re,ie){var ae=i.rich[r.styleName]||{};ae.text=r.text;var oe=r.verticalAlign,le=$+g/2;oe==="top"?le=$+r.height/2:oe==="bottom"&&(le=$+g-r.height/2);var ue=!r.isLineHolder&&needDrawBackground(ae);ue&&this._renderBackground(ae,i,re==="right"?V-r.width:re==="center"?V-r.width/2:V,le-r.height/2,r.width,r.height);var de=!!ae.backgroundColor,he=r.textPadding;he&&(V=getTextXForPadding(V,re,he),le-=r.height/2-he[0]-r.innerHeight/2);var pe=this._getOrCreateChild(TSpan$1),_e=pe.createStyle();pe.useStyle(_e);var Ce=this._defaultStyle,xe=!1,Ie=0,Ne=getFill("fill"in ae?ae.fill:"fill"in i?i.fill:(xe=!0,Ce.fill)),Oe=getStroke("stroke"in ae?ae.stroke:"stroke"in i?i.stroke:!de&&!ie&&(!Ce.autoStroke||xe)?(Ie=DEFAULT_STROKE_LINE_WIDTH,Ce.stroke):null),$e=ae.textShadowBlur>0||i.textShadowBlur>0;_e.text=r.text,_e.x=V,_e.y=le,$e&&(_e.shadowBlur=ae.textShadowBlur||i.textShadowBlur||0,_e.shadowColor=ae.textShadowColor||i.textShadowColor||"transparent",_e.shadowOffsetX=ae.textShadowOffsetX||i.textShadowOffsetX||0,_e.shadowOffsetY=ae.textShadowOffsetY||i.textShadowOffsetY||0),_e.textAlign=re,_e.textBaseline="middle",_e.font=r.font||DEFAULT_FONT,_e.opacity=retrieve3(ae.opacity,i.opacity,1),setSeparateFont(_e,ae),Oe&&(_e.lineWidth=retrieve3(ae.lineWidth,i.lineWidth,Ie),_e.lineDash=retrieve2(ae.lineDash,i.lineDash),_e.lineDashOffset=i.lineDashOffset||0,_e.stroke=Oe),Ne&&(_e.fill=Ne);var Ve=r.contentWidth,Ue=r.contentHeight;pe.setBoundingRect(new BoundingRect$1(adjustTextX(_e.x,Ve,_e.textAlign),adjustTextY(_e.y,Ue,_e.textBaseline),Ve,Ue))},t.prototype._renderBackground=function(r,i,g,$,V,re){var ie=r.backgroundColor,ae=r.borderWidth,oe=r.borderColor,le=ie&&ie.image,ue=ie&&!le,de=r.borderRadius,he=this,pe,_e;if(ue||r.lineHeight||ae&&oe){pe=this._getOrCreateChild(Rect$1),pe.useStyle(pe.createStyle()),pe.style.fill=null;var Ce=pe.shape;Ce.x=g,Ce.y=$,Ce.width=V,Ce.height=re,Ce.r=de,pe.dirtyShape()}if(ue){var xe=pe.style;xe.fill=ie||null,xe.fillOpacity=retrieve2(r.fillOpacity,1)}else if(le){_e=this._getOrCreateChild(ZRImage$1),_e.onload=function(){he.dirtyStyle()};var Ie=_e.style;Ie.image=ie.image,Ie.x=g,Ie.y=$,Ie.width=V,Ie.height=re}if(ae&&oe){var xe=pe.style;xe.lineWidth=ae,xe.stroke=oe,xe.strokeOpacity=retrieve2(r.strokeOpacity,1),xe.lineDash=r.borderDash,xe.lineDashOffset=r.borderDashOffset||0,pe.strokeContainThreshold=0,pe.hasFill()&&pe.hasStroke()&&(xe.strokeFirst=!0,xe.lineWidth*=2)}var Ne=(pe||_e).style;Ne.shadowBlur=r.shadowBlur||0,Ne.shadowColor=r.shadowColor||"transparent",Ne.shadowOffsetX=r.shadowOffsetX||0,Ne.shadowOffsetY=r.shadowOffsetY||0,Ne.opacity=retrieve3(r.opacity,i.opacity,1)},t.makeFont=function(r){var i="";return hasSeparateFont(r)&&(i=[r.fontStyle,r.fontWeight,parseFontSize(r.fontSize),r.fontFamily||"sans-serif"].join(" ")),i&&trim(i)||r.textFont||r.font},t}(Displayable$1),VALID_TEXT_ALIGN={left:!0,right:1,center:1},VALID_TEXT_VERTICAL_ALIGN={top:1,bottom:1,middle:1},FONT_PARTS=["fontStyle","fontWeight","fontSize","fontFamily"];function parseFontSize(n){return typeof n=="string"&&(n.indexOf("px")!==-1||n.indexOf("rem")!==-1||n.indexOf("em")!==-1)?n:isNaN(+n)?DEFAULT_FONT_SIZE+"px":n+"px"}function setSeparateFont(n,t){for(var r=0;r=0,$=!1;if(n instanceof Path$1){var V=getSavedStates(n),re=g&&V.selectFill||V.normalFill,ie=g&&V.selectStroke||V.normalStroke;if(hasFillOrStroke(re)||hasFillOrStroke(ie)){i=i||{};var ae=i.style||{};ae.fill==="inherit"?($=!0,i=extend({},i),ae=extend({},ae),ae.fill=re):!hasFillOrStroke(ae.fill)&&hasFillOrStroke(re)?($=!0,i=extend({},i),ae=extend({},ae),ae.fill=liftColor(re)):!hasFillOrStroke(ae.stroke)&&hasFillOrStroke(ie)&&($||(i=extend({},i),ae=extend({},ae)),ae.stroke=liftColor(ie)),i.style=ae}}if(i&&i.z2==null){$||(i=extend({},i));var oe=n.z2EmphasisLift;i.z2=n.z2+(oe??Z2_EMPHASIS_LIFT)}return i}function createSelectDefaultState(n,t,r){if(r&&r.z2==null){r=extend({},r);var i=n.z2SelectLift;r.z2=n.z2+(i??Z2_SELECT_LIFT)}return r}function createBlurDefaultState(n,t,r){var i=indexOf(n.currentStates,t)>=0,g=n.style.opacity,$=i?null:getFromStateStyle(n,["opacity"],t,{opacity:1});r=r||{};var V=r.style||{};return V.opacity==null&&(r=extend({},r),V=extend({opacity:i?g:$.opacity*.1},V),r.style=V),r}function elementStateProxy(n,t){var r=this.states[n];if(this.style){if(n==="emphasis")return createEmphasisDefaultState(this,n,t,r);if(n==="blur")return createBlurDefaultState(this,n,r);if(n==="select")return createSelectDefaultState(this,n,r)}return r}function setDefaultStateProxy(n){n.stateProxy=elementStateProxy;var t=n.getTextContent(),r=n.getTextGuideLine();t&&(t.stateProxy=elementStateProxy),r&&(r.stateProxy=elementStateProxy)}function enterEmphasisWhenMouseOver(n,t){!shouldSilent(n,t)&&!n.__highByOuter&&traverseUpdateState(n,singleEnterEmphasis)}function leaveEmphasisWhenMouseOut(n,t){!shouldSilent(n,t)&&!n.__highByOuter&&traverseUpdateState(n,singleLeaveEmphasis)}function enterEmphasis(n,t){n.__highByOuter|=1<<(t||0),traverseUpdateState(n,singleEnterEmphasis)}function leaveEmphasis(n,t){!(n.__highByOuter&=~(1<<(t||0)))&&traverseUpdateState(n,singleLeaveEmphasis)}function enterBlur(n){traverseUpdateState(n,singleEnterBlur)}function leaveBlur(n){traverseUpdateState(n,singleLeaveBlur)}function enterSelect(n){traverseUpdateState(n,singleEnterSelect)}function leaveSelect(n){traverseUpdateState(n,singleLeaveSelect)}function shouldSilent(n,t){return n.__highDownSilentOnTouch&&t.zrByTouch}function allLeaveBlur(n){var t=n.getModel(),r=[],i=[];t.eachComponent(function(g,$){var V=getComponentStates($),re=g==="series",ie=re?n.getViewOfSeriesModel($):n.getViewOfComponentModel($);!re&&i.push(ie),V.isBlured&&(ie.group.traverse(function(ae){singleLeaveBlur(ae)}),re&&r.push($)),V.isBlured=!1}),each$4(i,function(g){g&&g.toggleBlurSeries&&g.toggleBlurSeries(r,!1,t)})}function blurSeries(n,t,r,i){var g=i.getModel();r=r||"coordinateSystem";function $(ae,oe){for(var le=0;le0){var re={dataIndex:V,seriesIndex:r.seriesIndex};$!=null&&(re.dataType=$),t.push(re)}})}),t}function enableHoverEmphasis(n,t,r){setAsHighDownDispatcher(n,!0),traverseUpdateState(n,setDefaultStateProxy),enableHoverFocus(n,t,r)}function disableHoverEmphasis(n){setAsHighDownDispatcher(n,!1)}function toggleHoverEmphasis(n,t,r,i){i?disableHoverEmphasis(n):enableHoverEmphasis(n,t,r)}function enableHoverFocus(n,t,r){var i=getECData(n);t!=null?(i.focus=t,i.blurScope=r):i.focus&&(i.focus=null)}var OTHER_STATES=["emphasis","blur","select"],defaultStyleGetterMap={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function setStatesStylesFromModel(n,t,r,i){r=r||"itemStyle";for(var g=0;g1&&(V*=mathSqrt$1(he),re*=mathSqrt$1(he));var pe=(g===$?-1:1)*mathSqrt$1((V*V*(re*re)-V*V*(de*de)-re*re*(ue*ue))/(V*V*(de*de)+re*re*(ue*ue)))||0,_e=pe*V*de/re,Ce=pe*-re*ue/V,xe=(n+r)/2+mathCos$2(le)*_e-mathSin$2(le)*Ce,Ie=(t+i)/2+mathSin$2(le)*_e+mathCos$2(le)*Ce,Ne=vAngle([1,0],[(ue-_e)/V,(de-Ce)/re]),Oe=[(ue-_e)/V,(de-Ce)/re],$e=[(-1*ue-_e)/V,(-1*de-Ce)/re],Ve=vAngle(Oe,$e);if(vRatio(Oe,$e)<=-1&&(Ve=PI$4),vRatio(Oe,$e)>=1&&(Ve=0),Ve<0){var Ue=Math.round(Ve/PI$4*1e6)/1e6;Ve=PI$4*2+Ue%2*PI$4}oe.addData(ae,xe,Ie,V,re,Ne,Ve,le,$)}var commandReg=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,numberReg=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function createPathProxyFromString(n){var t=new PathProxy$1;if(!n)return t;var r=0,i=0,g=r,$=i,V,re=PathProxy$1.CMD,ie=n.match(commandReg);if(!ie)return t;for(var ae=0;aekt*kt+At*At&&(Ue=ze,Fe=Pt),{cx:Ue,cy:Fe,x0:-oe,y0:-le,x1:Ue*(g/Oe-1),y1:Fe*(g/Oe-1)}}function normalizeCornerRadius(n){var t;if(isArray(n)){var r=n.length;if(!r)return n;r===1?t=[n[0],n[0],0,0]:r===2?t=[n[0],n[0],n[1],n[1]]:r===3?t=n.concat(n[2]):t=n}else t=[n,n,n,n];return t}function buildPath$1(n,t){var r,i=mathMax$1(t.r,0),g=mathMax$1(t.r0||0,0),$=i>0,V=g>0;if(!(!$&&!V)){if($||(i=g,g=0),g>i){var re=i;i=g,g=re}var ie=t.startAngle,ae=t.endAngle;if(!(isNaN(ie)||isNaN(ae))){var oe=t.cx,le=t.cy,ue=!!t.clockwise,de=mathAbs(ae-ie),he=de>PI2$2&&de%PI2$2;if(he>e&&(de=he),!(i>e))n.moveTo(oe,le);else if(de>PI2$2-e)n.moveTo(oe+i*mathCos$1(ie),le+i*mathSin$1(ie)),n.arc(oe,le,i,ie,ae,!ue),g>e&&(n.moveTo(oe+g*mathCos$1(ae),le+g*mathSin$1(ae)),n.arc(oe,le,g,ae,ie,ue));else{var pe=void 0,_e=void 0,Ce=void 0,xe=void 0,Ie=void 0,Ne=void 0,Oe=void 0,$e=void 0,Ve=void 0,Ue=void 0,Fe=void 0,ze=void 0,Pt=void 0,qe=void 0,Et=void 0,kt=void 0,At=i*mathCos$1(ie),Dt=i*mathSin$1(ie),Lt=g*mathCos$1(ae),jt=g*mathSin$1(ae),hn=de>e;if(hn){var vn=t.cornerRadius;vn&&(r=normalizeCornerRadius(vn),pe=r[0],_e=r[1],Ce=r[2],xe=r[3]);var _n=mathAbs(i-g)/2;if(Ie=mathMin$1(_n,Ce),Ne=mathMin$1(_n,xe),Oe=mathMin$1(_n,pe),$e=mathMin$1(_n,_e),Fe=Ve=mathMax$1(Ie,Ne),ze=Ue=mathMax$1(Oe,$e),(Ve>e||Ue>e)&&(Pt=i*mathCos$1(ae),qe=i*mathSin$1(ae),Et=g*mathCos$1(ie),kt=g*mathSin$1(ie),dee){var $n=mathMin$1(Ce,Fe),An=mathMin$1(xe,Fe),xn=computeCornerTangents(Et,kt,At,Dt,i,$n,ue),Ln=computeCornerTangents(Pt,qe,Lt,jt,i,An,ue);n.moveTo(oe+xn.cx+xn.x0,le+xn.cy+xn.y0),Fe0&&n.arc(oe+xn.cx,le+xn.cy,$n,mathATan2(xn.y0,xn.x0),mathATan2(xn.y1,xn.x1),!ue),n.arc(oe,le,i,mathATan2(xn.cy+xn.y1,xn.cx+xn.x1),mathATan2(Ln.cy+Ln.y1,Ln.cx+Ln.x1),!ue),An>0&&n.arc(oe+Ln.cx,le+Ln.cy,An,mathATan2(Ln.y1,Ln.x1),mathATan2(Ln.y0,Ln.x0),!ue))}else n.moveTo(oe+At,le+Dt),n.arc(oe,le,i,ie,ae,!ue);if(!(g>e)||!hn)n.lineTo(oe+Lt,le+jt);else if(ze>e){var $n=mathMin$1(pe,ze),An=mathMin$1(_e,ze),xn=computeCornerTangents(Lt,jt,Pt,qe,g,-An,ue),Ln=computeCornerTangents(At,Dt,Et,kt,g,-$n,ue);n.lineTo(oe+xn.cx+xn.x0,le+xn.cy+xn.y0),ze0&&n.arc(oe+xn.cx,le+xn.cy,An,mathATan2(xn.y0,xn.x0),mathATan2(xn.y1,xn.x1),!ue),n.arc(oe,le,g,mathATan2(xn.cy+xn.y1,xn.cx+xn.x1),mathATan2(Ln.cy+Ln.y1,Ln.cx+Ln.x1),ue),$n>0&&n.arc(oe+Ln.cx,le+Ln.cy,$n,mathATan2(Ln.y1,Ln.x1),mathATan2(Ln.y0,Ln.x0),!ue))}else n.lineTo(oe+Lt,le+jt),n.arc(oe,le,g,ae,ie,ue)}n.closePath()}}}var SectorShape=function(){function n(){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 n}(),Sector=function(n){__extends(t,n);function t(r){return n.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new SectorShape},t.prototype.buildPath=function(r,i){buildPath$1(r,i)},t.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},t}(Path$1);Sector.prototype.type="sector";const Sector$1=Sector;var RingShape=function(){function n(){this.cx=0,this.cy=0,this.r=0,this.r0=0}return n}(),Ring=function(n){__extends(t,n);function t(r){return n.call(this,r)||this}return t.prototype.getDefaultShape=function(){return new RingShape},t.prototype.buildPath=function(r,i){var g=i.cx,$=i.cy,V=Math.PI*2;r.moveTo(g+i.r,$),r.arc(g,$,i.r,0,V,!1),r.moveTo(g+i.r0,$),r.arc(g,$,i.r0,0,V,!0)},t}(Path$1);Ring.prototype.type="ring";const Ring$1=Ring;function smoothBezier(n,t,r,i){var g=[],$=[],V=[],re=[],ie,ae,oe,le;if(i){oe=[1/0,1/0],le=[-1/0,-1/0];for(var ue=0,de=n.length;ue=2){if(i){var $=smoothBezier(g,i,r,t.smoothConstraint);n.moveTo(g[0][0],g[0][1]);for(var V=g.length,re=0;re<(r?V:V-1);re++){var ie=$[re*2],ae=$[re*2+1],oe=g[(re+1)%V];n.bezierCurveTo(ie[0],ie[1],ae[0],ae[1],oe[0],oe[1])}}else{n.moveTo(g[0][0],g[0][1]);for(var re=1,le=g.length;reextent2[1]){if(re=!1,$)return re;var oe=Math.abs(extent2[0]-extent[1]),le=Math.abs(extent[0]-extent2[1]);Math.min(oe,le)>g.len()&&(oe0){var le=oe.duration,ue=oe.delay,de=oe.easing,he={duration:le,delay:ue||0,easing:de,done:$,force:!!$||!!V,setToFinal:!ae,scope:n,during:V};re?t.animateFrom(r,he):t.animateTo(r,he)}else t.stopAnimation(),!re&&t.attr(r),V&&V(1),$&&$()}function updateProps$1(n,t,r,i,g,$){animateOrSetProps("update",n,t,r,i,g,$)}function initProps(n,t,r,i,g,$){animateOrSetProps("enter",n,t,r,i,g,$)}function isElementRemoved(n){if(!n.__zr)return!0;for(var t=0;tMath.abs($[1])?$[0]>0?"right":"left":$[1]>0?"bottom":"top"}function isNotGroup(n){return!n.isGroup}function isPath(n){return n.shape!=null}function groupTransition(n,t,r){if(!n||!t)return;function i(V){var re={};return V.traverse(function(ie){isNotGroup(ie)&&ie.anid&&(re[ie.anid]=ie)}),re}function g(V){var re={x:V.x,y:V.y,rotation:V.rotation};return isPath(V)&&(re.shape=extend({},V.shape)),re}var $=i(n);t.traverse(function(V){if(isNotGroup(V)&&V.anid){var re=$[V.anid];if(re){var ie=g(V);V.attr(g(re)),updateProps$1(V,ie,r,getECData(V).dataIndex)}}})}function clipPointsByRect(n,t){return map$1(n,function(r){var i=r[0];i=mathMax(i,t.x),i=mathMin(i,t.x+t.width);var g=r[1];return g=mathMax(g,t.y),g=mathMin(g,t.y+t.height),[i,g]})}function clipRectByRect(n,t){var r=mathMax(n.x,t.x),i=mathMin(n.x+n.width,t.x+t.width),g=mathMax(n.y,t.y),$=mathMin(n.y+n.height,t.y+t.height);if(i>=r&&$>=g)return{x:r,y:g,width:i-r,height:$-g}}function createIcon(n,t,r){var i=extend({rectHover:!0},t),g=i.style={strokeNoScale:!0};if(r=r||{x:-1,y:-1,width:2,height:2},n)return n.indexOf("image://")===0?(g.image=n.slice(8),defaults(g,r),new ZRImage$1(i)):makePath(n.replace("path://",""),i,r,"center")}function linePolygonIntersect(n,t,r,i,g){for(var $=0,V=g[g.length-1];$1)return!1;var _e=crossProduct2d(de,he,oe,le)/ue;return!(_e<0||_e>1)}function crossProduct2d(n,t,r,i){return n*i-r*t}function nearZero(n){return n<=1e-6&&n>=-1e-6}function setTooltipConfig(n){var t=n.itemTooltipOption,r=n.componentModel,i=n.itemName,g=isString(t)?{formatter:t}:t,$=r.mainType,V=r.componentIndex,re={componentType:$,name:i,$vars:["name"]};re[$+"Index"]=V;var ie=n.formatterParamsExtra;ie&&each$4(keys(ie),function(oe){hasOwn(re,oe)||(re[oe]=ie[oe],re.$vars.push(oe))});var ae=getECData(n.el);ae.componentMainType=$,ae.componentIndex=V,ae.tooltipConfig={name:i,option:defaults({content:i,encodeHTMLContent:!0,formatterParams:re},g)}}function traverseElement(n,t){var r;n.isGroup&&(r=t(n)),r||n.traverse(t)}function traverseElements(n,t){if(n)if(isArray(n))for(var r=0;r=0&&re.push(ie)}),re}}function inheritDefaultOption(n,t){return merge(merge({},n,!0),t,!0)}const langEN={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:". "}}}},langZH={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 LOCALE_ZH="ZH",LOCALE_EN="EN",DEFAULT_LOCALE=LOCALE_EN,localeStorage={},localeModels={},SYSTEM_LANG=env$1.domSupported?function(){var n=(document.documentElement.lang||navigator.language||navigator.browserLanguage||DEFAULT_LOCALE).toUpperCase();return n.indexOf(LOCALE_ZH)>-1?LOCALE_ZH:DEFAULT_LOCALE}():DEFAULT_LOCALE;function registerLocale(n,t){n=n.toUpperCase(),localeModels[n]=new Model$1(t),localeStorage[n]=t}function createLocaleObject(n){if(isString(n)){var t=localeStorage[n.toUpperCase()]||{};return n===LOCALE_ZH||n===LOCALE_EN?clone$2(t):merge(clone$2(t),clone$2(localeStorage[DEFAULT_LOCALE]),!1)}else return merge(clone$2(n),clone$2(localeStorage[DEFAULT_LOCALE]),!1)}function getLocaleModel(n){return localeModels[n]}function getDefaultLocaleModel(){return localeModels[DEFAULT_LOCALE]}registerLocale(LOCALE_EN,langEN);registerLocale(LOCALE_ZH,langZH);function pad(n,t){return n+="","0000".substr(0,t-n.length)+n}function format(n,t,r,i){var g=parseDate(n),$=g[fullYearGetterName(r)](),V=g[monthGetterName(r)]()+1,re=Math.floor((V-1)/3)+1,ie=g[dateGetterName(r)](),ae=g["get"+(r?"UTC":"")+"Day"](),oe=g[hoursGetterName(r)](),le=(oe-1)%12+1,ue=g[minutesGetterName(r)](),de=g[secondsGetterName(r)](),he=g[millisecondsGetterName(r)](),pe=oe>=12?"pm":"am",_e=pe.toUpperCase(),Ce=i instanceof Model$1?i:getLocaleModel(i||SYSTEM_LANG)||getDefaultLocaleModel(),xe=Ce.getModel("time"),Ie=xe.get("month"),Ne=xe.get("monthAbbr"),Oe=xe.get("dayOfWeek"),$e=xe.get("dayOfWeekAbbr");return(t||"").replace(/{a}/g,pe+"").replace(/{A}/g,_e+"").replace(/{yyyy}/g,$+"").replace(/{yy}/g,pad($%100+"",2)).replace(/{Q}/g,re+"").replace(/{MMMM}/g,Ie[V-1]).replace(/{MMM}/g,Ne[V-1]).replace(/{MM}/g,pad(V,2)).replace(/{M}/g,V+"").replace(/{dd}/g,pad(ie,2)).replace(/{d}/g,ie+"").replace(/{eeee}/g,Oe[ae]).replace(/{ee}/g,$e[ae]).replace(/{e}/g,ae+"").replace(/{HH}/g,pad(oe,2)).replace(/{H}/g,oe+"").replace(/{hh}/g,pad(le+"",2)).replace(/{h}/g,le+"").replace(/{mm}/g,pad(ue,2)).replace(/{m}/g,ue+"").replace(/{ss}/g,pad(de,2)).replace(/{s}/g,de+"").replace(/{SSS}/g,pad(he,3)).replace(/{S}/g,he+"")}function fullYearGetterName(n){return n?"getUTCFullYear":"getFullYear"}function monthGetterName(n){return n?"getUTCMonth":"getMonth"}function dateGetterName(n){return n?"getUTCDate":"getDate"}function hoursGetterName(n){return n?"getUTCHours":"getHours"}function minutesGetterName(n){return n?"getUTCMinutes":"getMinutes"}function secondsGetterName(n){return n?"getUTCSeconds":"getSeconds"}function millisecondsGetterName(n){return n?"getUTCMilliseconds":"getMilliseconds"}function addCommas(n){if(!isNumeric(n))return isString(n)?n:"-";var t=(n+"").split(".");return t[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(t.length>1?"."+t[1]:"")}function toCamelCase(n,t){return n=(n||"").toLowerCase().replace(/-(.)/g,function(r,i){return i.toUpperCase()}),t&&n&&(n=n.charAt(0).toUpperCase()+n.slice(1)),n}var normalizeCssArray=normalizeCssArray$1;function makeValueReadable(n,t,r){var i="{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}";function g(oe){return oe&&trim(oe)?oe:"-"}function $(oe){return!!(oe!=null&&!isNaN(oe)&&isFinite(oe))}var V=t==="time",re=n instanceof Date;if(V||re){var ie=V?parseDate(n):n;if(isNaN(+ie)){if(re)return"-"}else return format(ie,i,r)}if(t==="ordinal")return isStringSafe(n)?g(n):isNumber(n)&&$(n)?n+"":"-";var ae=numericToNumber(n);return $(ae)?addCommas(ae):isStringSafe(n)?g(n):typeof n=="boolean"?n+"":"-"}var TPL_VAR_ALIAS=["a","b","c","d","e","f","g"],wrapVar=function(n,t){return"{"+n+(t??"")+"}"};function formatTpl(n,t,r){isArray(t)||(t=[t]);var i=t.length;if(!i)return"";for(var g=t[0].$vars||[],$=0;$':'';var V=r.markerId||"markerX";return{renderMode:$,content:"{"+V+"|} ",style:g==="subItem"?{width:4,height:4,borderRadius:2,backgroundColor:i}:{width:10,height:10,borderRadius:5,backgroundColor:i}}}function convertToColorString(n,t){return t=t||"transparent",isString(n)?n:isObject$2(n)&&n.colorStops&&(n.colorStops[0]||{}).color||t}function windowOpen(n,t){if(t==="_blank"||t==="blank"){var r=window.open();r.opener=null,r.location.href=n}else window.open(n,t)}var each$3=each$4,LOCATION_PARAMS=["left","right","top","bottom","width","height"],HV_NAMES=[["width","left","right"],["height","top","bottom"]];function boxLayout(n,t,r,i,g){var $=0,V=0;i==null&&(i=1/0),g==null&&(g=1/0);var re=0;t.eachChild(function(ie,ae){var oe=ie.getBoundingRect(),le=t.childAt(ae+1),ue=le&&le.getBoundingRect(),de,he;if(n==="horizontal"){var pe=oe.width+(ue?-ue.x+oe.x:0);de=$+pe,de>i||ie.newline?($=0,de=pe,V+=re+r,re=oe.height):re=Math.max(re,oe.height)}else{var _e=oe.height+(ue?-ue.y+oe.y:0);he=V+_e,he>g||ie.newline?($+=re+r,V=0,he=_e,re=oe.width):re=Math.max(re,oe.width)}ie.newline||(ie.x=$,ie.y=V,ie.markRedraw(),n==="horizontal"?$=de+r:V=he+r)})}var box=boxLayout;curry$1(boxLayout,"vertical");curry$1(boxLayout,"horizontal");function getLayoutRect(n,t,r){r=normalizeCssArray(r||0);var i=t.width,g=t.height,$=parsePercent(n.left,i),V=parsePercent(n.top,g),re=parsePercent(n.right,i),ie=parsePercent(n.bottom,g),ae=parsePercent(n.width,i),oe=parsePercent(n.height,g),le=r[2]+r[0],ue=r[1]+r[3],de=n.aspect;switch(isNaN(ae)&&(ae=i-re-ue-$),isNaN(oe)&&(oe=g-ie-le-V),de!=null&&(isNaN(ae)&&isNaN(oe)&&(de>i/g?ae=i*.8:oe=g*.8),isNaN(ae)&&(ae=de*oe),isNaN(oe)&&(oe=ae/de)),isNaN($)&&($=i-re-ae-ue),isNaN(V)&&(V=g-ie-oe-le),n.left||n.right){case"center":$=i/2-ae/2-r[3];break;case"right":$=i-ae-ue;break}switch(n.top||n.bottom){case"middle":case"center":V=g/2-oe/2-r[0];break;case"bottom":V=g-oe-le;break}$=$||0,V=V||0,isNaN(ae)&&(ae=i-ue-$-(re||0)),isNaN(oe)&&(oe=g-le-V-(ie||0));var he=new BoundingRect$1($+r[3],V+r[0],ae,oe);return he.margin=r,he}function fetchLayoutMode(n){var t=n.layoutMode||n.constructor.layoutMode;return isObject$2(t)?t:t?{type:t}:null}function mergeLayoutParam(n,t,r){var i=r&&r.ignoreSize;!isArray(i)&&(i=[i,i]);var g=V(HV_NAMES[0],0),$=V(HV_NAMES[1],1);ae(HV_NAMES[0],n,g),ae(HV_NAMES[1],n,$);function V(oe,le){var ue={},de=0,he={},pe=0,_e=2;if(each$3(oe,function(Ie){he[Ie]=n[Ie]}),each$3(oe,function(Ie){re(t,Ie)&&(ue[Ie]=he[Ie]=t[Ie]),ie(ue,Ie)&&de++,ie(he,Ie)&&pe++}),i[le])return ie(t,oe[1])?he[oe[2]]=null:ie(t,oe[2])&&(he[oe[1]]=null),he;if(pe===_e||!de)return he;if(de>=_e)return ue;for(var Ce=0;Ce=0;ie--)re=merge(re,g[ie],!0);i.defaultOption=re}return i.defaultOption},t.prototype.getReferringComponents=function(r,i){var g=r+"Index",$=r+"Id";return queryReferringComponents(this.ecModel,r,{index:this.get(g,!0),id:this.get($,!0)},i)},t.prototype.getBoxLayoutParams=function(){var r=this;return{left:r.get("left"),top:r.get("top"),right:r.get("right"),bottom:r.get("bottom"),width:r.get("width"),height:r.get("height")}},t.prototype.getZLevelKey=function(){return""},t.prototype.setZLevel=function(r){this.option.zlevel=r},t.protoInitialize=function(){var r=t.prototype;r.type="component",r.id="",r.name="",r.mainType="",r.subType="",r.componentIndex=0}(),t}(Model$1);mountExtend(ComponentModel,Model$1);enableClassManagement(ComponentModel);enableSubTypeDefaulter(ComponentModel);enableTopologicalTravel(ComponentModel,getDependencies);function getDependencies(n){var t=[];return each$4(ComponentModel.getClassesByMainType(n),function(r){t=t.concat(r.dependencies||r.prototype.dependencies||[])}),t=map$1(t,function(r){return parseClassType(r).main}),n!=="dataset"&&indexOf(t,"dataset")<=0&&t.unshift("dataset"),t}const ComponentModel$1=ComponentModel;var platform="";typeof navigator<"u"&&(platform=navigator.platform||"");var decalColor="rgba(0, 0, 0, 0.2)";const globalDefault={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:decalColor,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:decalColor,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:decalColor,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:decalColor,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:decalColor,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:decalColor,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:platform.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 VISUAL_DIMENSIONS=createHashMap(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),SOURCE_FORMAT_ORIGINAL="original",SOURCE_FORMAT_ARRAY_ROWS="arrayRows",SOURCE_FORMAT_OBJECT_ROWS="objectRows",SOURCE_FORMAT_KEYED_COLUMNS="keyedColumns",SOURCE_FORMAT_TYPED_ARRAY="typedArray",SOURCE_FORMAT_UNKNOWN="unknown",SERIES_LAYOUT_BY_COLUMN="column",SERIES_LAYOUT_BY_ROW="row",BE_ORDINAL={Must:1,Might:2,Not:3},innerGlobalModel=makeInner();function resetSourceDefaulter(n){innerGlobalModel(n).datasetMap=createHashMap()}function makeSeriesEncodeForNameBased(n,t,r){var i={},g=querySeriesUpstreamDatasetModel(n);if(!g)return i;var $=t.sourceFormat,V=t.dimensionsDefine,re;($===SOURCE_FORMAT_OBJECT_ROWS||$===SOURCE_FORMAT_KEYED_COLUMNS)&&each$4(V,function(oe,le){(isObject$2(oe)?oe.name:oe)==="name"&&(re=le)});var ie=function(){for(var oe={},le={},ue=[],de=0,he=Math.min(5,r);det)return n[i];return n[r-1]}function getFromPalette(n,t,r,i,g,$,V){$=$||n;var re=t($),ie=re.paletteIdx||0,ae=re.paletteNameMap=re.paletteNameMap||{};if(ae.hasOwnProperty(g))return ae[g];var oe=V==null||!i?r:getNearestPalette(i,V);if(oe=oe||r,!(!oe||!oe.length)){var le=oe[ie];return g&&(ae[g]=le),re.paletteIdx=(ie+1)%oe.length,le}}function clearPalette(n,t){t(n).paletteIdx=0,t(n).paletteNameMap={}}var reCreateSeriesIndices,assertSeriesInitialized,initBase,OPTION_INNER_KEY="\0_ec_inner",OPTION_INNER_VALUE=1,GlobalModel=function(n){__extends(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.init=function(r,i,g,$,V,re){$=$||{},this.option=null,this._theme=new Model$1($),this._locale=new Model$1(V),this._optionManager=re},t.prototype.setOption=function(r,i,g){var $=normalizeSetOptionInput(i);this._optionManager.setOption(r,g,$),this._resetOption(null,$)},t.prototype.resetOption=function(r,i){return this._resetOption(r,normalizeSetOptionInput(i))},t.prototype._resetOption=function(r,i){var g=!1,$=this._optionManager;if(!r||r==="recreate"){var V=$.mountOption(r==="recreate");!this.option||r==="recreate"?initBase(this,V):(this.restoreData(),this._mergeOption(V,i)),g=!0}if((r==="timeline"||r==="media")&&this.restoreData(),!r||r==="recreate"||r==="timeline"){var re=$.getTimelineOption(this);re&&(g=!0,this._mergeOption(re,i))}if(!r||r==="recreate"||r==="media"){var ie=$.getMediaOption(this);ie.length&&each$4(ie,function(ae){g=!0,this._mergeOption(ae,i)},this)}return g},t.prototype.mergeOption=function(r){this._mergeOption(r,null)},t.prototype._mergeOption=function(r,i){var g=this.option,$=this._componentsMap,V=this._componentsCount,re=[],ie=createHashMap(),ae=i&&i.replaceMergeMainTypeMap;resetSourceDefaulter(this),each$4(r,function(le,ue){le!=null&&(ComponentModel$1.hasClass(ue)?ue&&(re.push(ue),ie.set(ue,!0)):g[ue]=g[ue]==null?clone$2(le):merge(g[ue],le,!0))}),ae&&ae.each(function(le,ue){ComponentModel$1.hasClass(ue)&&!ie.get(ue)&&(re.push(ue),ie.set(ue,!0))}),ComponentModel$1.topologicalTravel(re,ComponentModel$1.getAllClassMainTypes(),oe,this);function oe(le){var ue=concatInternalOptions(this,le,normalizeToArray(r[le])),de=$.get(le),he=de?ae&&ae.get(le)?"replaceMerge":"normalMerge":"replaceAll",pe=mappingToExists(de,ue,he);setComponentTypeToKeyInfo(pe,le,ComponentModel$1),g[le]=null,$.set(le,null),V.set(le,0);var _e=[],Ce=[],xe=0,Ie;each$4(pe,function(Ne,Oe){var $e=Ne.existing,Ve=Ne.newOption;if(!Ve)$e&&($e.mergeOption({},this),$e.optionUpdated({},!1));else{var Ue=le==="series",Fe=ComponentModel$1.getClass(le,Ne.keyInfo.subType,!Ue);if(!Fe)return;if(le==="tooltip"){if(Ie)return;Ie=!0}if($e&&$e.constructor===Fe)$e.name=Ne.keyInfo.name,$e.mergeOption(Ve,this),$e.optionUpdated(Ve,!1);else{var ze=extend({componentIndex:Oe},Ne.keyInfo);$e=new Fe(Ve,this,this,ze),extend($e,ze),Ne.brandNew&&($e.__requireNewView=!0),$e.init(Ve,this,this),$e.optionUpdated(null,!0)}}$e?(_e.push($e.option),Ce.push($e),xe++):(_e.push(void 0),Ce.push(void 0))},this),g[le]=_e,$.set(le,Ce),V.set(le,xe),le==="series"&&reCreateSeriesIndices(this)}this._seriesIndices||reCreateSeriesIndices(this)},t.prototype.getOption=function(){var r=clone$2(this.option);return each$4(r,function(i,g){if(ComponentModel$1.hasClass(g)){for(var $=normalizeToArray(i),V=$.length,re=!1,ie=V-1;ie>=0;ie--)$[ie]&&!isComponentIdInternal($[ie])?re=!0:($[ie]=null,!re&&V--);$.length=V,r[g]=$}}),delete r[OPTION_INNER_KEY],r},t.prototype.getTheme=function(){return this._theme},t.prototype.getLocaleModel=function(){return this._locale},t.prototype.setUpdatePayload=function(r){this._payload=r},t.prototype.getUpdatePayload=function(){return this._payload},t.prototype.getComponent=function(r,i){var g=this._componentsMap.get(r);if(g){var $=g[i||0];if($)return $;if(i==null){for(var V=0;V=t:r==="max"?n<=t:n===t}function indicesEquals(n,t){return n.join(",")===t.join(",")}const OptionManager$1=OptionManager;var each$2=each$4,isObject$1=isObject$2,POSSIBLE_STYLES=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function compatEC2ItemStyle(n){var t=n&&n.itemStyle;if(t)for(var r=0,i=POSSIBLE_STYLES.length;r=0;_e--){var Ce=n[_e];if(re||(he=Ce.data.rawIndexOf(Ce.stackedByDimension,de)),he>=0){var xe=Ce.data.getByRawIndex(Ce.stackResultDimension,he);if(ie==="all"||ie==="positive"&&xe>0||ie==="negative"&&xe<0||ie==="samesign"&&ue>=0&&xe>0||ie==="samesign"&&ue<=0&&xe<0){ue=addSafe(ue,xe),pe=xe;break}}}return i[0]=ue,i[1]=pe,i})})}var SourceImpl=function(){function n(t){this.data=t.data||(t.sourceFormat===SOURCE_FORMAT_KEYED_COLUMNS?{}:[]),this.sourceFormat=t.sourceFormat||SOURCE_FORMAT_UNKNOWN,this.seriesLayoutBy=t.seriesLayoutBy||SERIES_LAYOUT_BY_COLUMN,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var r=this.dimensionsDefine=t.dimensionsDefine;if(r)for(var i=0;ipe&&(pe=Ie)}de[0]=he,de[1]=pe}},g=function(){return this._data?this._data.length/this._dimSize:0};providerMethods=(t={},t[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_COLUMN]={pure:!0,appendData:$},t[SOURCE_FORMAT_ARRAY_ROWS+"_"+SERIES_LAYOUT_BY_ROW]={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[SOURCE_FORMAT_OBJECT_ROWS]={pure:!0,appendData:$},t[SOURCE_FORMAT_KEYED_COLUMNS]={pure:!0,appendData:function(V){var re=this._data;each$4(V,function(ie,ae){for(var oe=re[ae]||(re[ae]=[]),le=0;le<(ie||[]).length;le++)oe.push(ie[le])})}},t[SOURCE_FORMAT_ORIGINAL]={appendData:$},t[SOURCE_FORMAT_TYPED_ARRAY]={persistent:!1,pure:!0,appendData:function(V){this._data=V},clean:function(){this._offset+=this.count(),this._data=null}},t);function $(V){for(var re=0;re=0&&(pe=V.interpolatedValue[_e])}return pe!=null?pe+"":""})}},n.prototype.getRawValue=function(t,r){return retrieveRawValue(this.getData(r),t)},n.prototype.formatTooltip=function(t,r,i){},n}();function normalizeTooltipFormatResult(n){var t,r;return isObject$2(n)?n.type&&(r=n):t=n,{text:t,frag:r}}function createTask(n){return new Task(n)}var Task=function(){function n(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return n.prototype.perform=function(t){var r=this._upstream,i=t&&t.skip;if(this._dirty&&r){var g=this.context;g.data=g.outputData=r.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this);var $;this._plan&&!i&&($=this._plan(this.context));var V=oe(this._modBy),re=this._modDataCount||0,ie=oe(t&&t.modBy),ae=t&&t.modDataCount||0;(V!==ie||re!==ae)&&($="reset");function oe(xe){return!(xe>=1)&&(xe=1),xe}var le;(this._dirty||$==="reset")&&(this._dirty=!1,le=this._doReset(i)),this._modBy=ie,this._modDataCount=ae;var ue=t&&t.step;if(r?this._dueEnd=r._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var de=this._dueIndex,he=Math.min(ue!=null?this._dueIndex+ue:1/0,this._dueEnd);if(!i&&(le||de1&&i>0?re:V}};return $;function V(){return t=n?null:ieg?-this._resultLT:0},n}(),ExternalSource=function(){function n(){}return n.prototype.getRawData=function(){throw new Error("not supported")},n.prototype.getRawDataItem=function(t){throw new Error("not supported")},n.prototype.cloneRawData=function(){},n.prototype.getDimensionInfo=function(t){},n.prototype.cloneAllDimensionInfo=function(){},n.prototype.count=function(){},n.prototype.retrieveValue=function(t,r){},n.prototype.retrieveValueFromItem=function(t,r){},n.prototype.convertValue=function(t,r){return parseDataValue(t,r)},n}();function createExternalSource(n,t){var r=new ExternalSource,i=n.data,g=r.sourceFormat=n.sourceFormat,$=n.startIndex,V="";n.seriesLayoutBy!==SERIES_LAYOUT_BY_COLUMN&&throwError(V);var re=[],ie={},ae=n.dimensionsDefine;if(ae)each$4(ae,function(pe,_e){var Ce=pe.name,xe={index:_e,name:Ce,displayName:pe.displayName};if(re.push(xe),Ce!=null){var Ie="";hasOwn(ie,Ce)&&throwError(Ie),ie[Ce]=xe}});else for(var oe=0;oe65535?CtorUint32Array:CtorUint16Array}function getInitialExtent(){return[1/0,-1/0]}function cloneChunk(n){var t=n.constructor;return t===Array?n.slice():new t(n)}function prepareStore(n,t,r,i,g){var $=dataCtors[r||"float"];if(g){var V=n[t],re=V&&V.length;if(re!==i){for(var ie=new $(i),ae=0;ae_e[1]&&(_e[1]=pe)}return this._rawCount=this._count=ie,{start:re,end:ie}},n.prototype._initDataFromProvider=function(t,r,i){for(var g=this._provider,$=this._chunks,V=this._dimensions,re=V.length,ie=this._rawExtent,ae=map$1(V,function(xe){return xe.property}),oe=0;oeCe[1]&&(Ce[1]=_e)}}!g.persistent&&g.clean&&g.clean(),this._rawCount=this._count=r,this._extent=[]},n.prototype.count=function(){return this._count},n.prototype.get=function(t,r){if(!(r>=0&&r=0&&r=this._rawCount||t<0)return-1;if(!this._indices)return t;var r=this._indices,i=r[t];if(i!=null&&it)$=V-1;else return V}return-1},n.prototype.indicesOfNearest=function(t,r,i){var g=this._chunks,$=g[t],V=[];if(!$)return V;i==null&&(i=1/0);for(var re=1/0,ie=-1,ae=0,oe=0,le=this.count();oe=0&&ie<0)&&(re=he,ie=de,ae=0),de===ie&&(V[ae++]=oe))}return V.length=ae,V},n.prototype.getIndices=function(){var t,r=this._indices;if(r){var i=r.constructor,g=this._count;if(i===Array){t=new i(g);for(var $=0;$=le&&xe<=ue||isNaN(xe))&&(ie[ae++]=pe),pe++}he=!0}else if($===2){for(var _e=de[g[0]],Ie=de[g[1]],Ne=t[g[1]][0],Oe=t[g[1]][1],Ce=0;Ce=le&&xe<=ue||isNaN(xe))&&($e>=Ne&&$e<=Oe||isNaN($e))&&(ie[ae++]=pe),pe++}he=!0}}if(!he)if($===1)for(var Ce=0;Ce=le&&xe<=ue||isNaN(xe))&&(ie[ae++]=Ve)}else for(var Ce=0;Cet[ze][1])&&(Ue=!1)}Ue&&(ie[ae++]=r.getRawIndex(Ce))}return aeCe[1]&&(Ce[1]=_e)}}}},n.prototype.lttbDownSample=function(t,r){var i=this.clone([t],!0),g=i._chunks,$=g[t],V=this.count(),re=0,ie=Math.floor(1/r),ae=this.getRawIndex(0),oe,le,ue,de=new(getIndicesCtor(this._rawCount))(Math.min((Math.ceil(V/ie)+2)*2,V));de[re++]=ae;for(var he=1;heoe&&(oe=le,ue=Ne)}Pt>0&&Ptre&&(pe=re-oe);for(var _e=0;_ehe&&(he=xe,de=oe+_e)}var Ie=this.getRawIndex(le),Ne=this.getRawIndex(de);leoe-he&&(ie=oe-he,re.length=ie);for(var pe=0;pele[1]&&(le[1]=Ce),ue[de++]=xe}return $._count=de,$._indices=ue,$._updateGetRawIdx(),$},n.prototype.each=function(t,r){if(this._count)for(var i=t.length,g=this._chunks,$=0,V=this.count();$ie&&(ie=le)}return V=[re,ie],this._extent[t]=V,V},n.prototype.getRawDataItem=function(t){var r=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(r);for(var i=[],g=this._chunks,$=0;$=0?this._indices[t]:-1},n.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},n.internalField=function(){function t(r,i,g,$){return parseDataValue(r[$],this._dimensions[$])}defaultDimValueGetters={arrayRows:t,objectRows:function(r,i,g,$){return parseDataValue(r[i],this._dimensions[$])},keyedColumns:t,original:function(r,i,g,$){var V=r&&(r.value==null?r:r.value);return parseDataValue(V instanceof Array?V[$]:V,this._dimensions[$])},typedArray:function(r,i,g,$){return r[$]}}}(),n}(),SourceManager=function(){function n(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return n.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},n.prototype._setLocalSource=function(t,r){this._sourceList=t,this._upstreamSignList=r,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},n.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},n.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},n.prototype._createSource=function(){this._setLocalSource([],[]);var t=this._sourceHost,r=this._getUpstreamSourceManagers(),i=!!r.length,g,$;if(isSeries(t)){var V=t,re=void 0,ie=void 0,ae=void 0;if(i){var oe=r[0];oe.prepareSource(),ae=oe.getSource(),re=ae.data,ie=ae.sourceFormat,$=[oe._getVersionSign()]}else re=V.get("data",!0),ie=isTypedArray(re)?SOURCE_FORMAT_TYPED_ARRAY:SOURCE_FORMAT_ORIGINAL,$=[];var le=this._getSourceMetaRawOption()||{},ue=ae&&ae.metaRawOption||{},de=retrieve2(le.seriesLayoutBy,ue.seriesLayoutBy)||null,he=retrieve2(le.sourceHeader,ue.sourceHeader),pe=retrieve2(le.dimensions,ue.dimensions),_e=de!==ue.seriesLayoutBy||!!he!=!!ue.sourceHeader||pe;g=_e?[createSource(re,{seriesLayoutBy:de,sourceHeader:he,dimensions:pe},ie)]:[]}else{var Ce=t;if(i){var xe=this._applyTransform(r);g=xe.sourceList,$=xe.upstreamSignList}else{var Ie=Ce.get("source",!0);g=[createSource(Ie,this._getSourceMetaRawOption(),null)],$=[]}}this._setLocalSource(g,$)},n.prototype._applyTransform=function(t){var r=this._sourceHost,i=r.get("transform",!0),g=r.get("fromTransformResult",!0);if(g!=null){var $="";t.length!==1&&doThrow($)}var V,re=[],ie=[];return each$4(t,function(ae){ae.prepareSource();var oe=ae.getSource(g||0),le="";g!=null&&!oe&&doThrow(le),re.push(oe),ie.push(ae._getVersionSign())}),i?V=applyDataTransform(i,re,{datasetIndex:r.componentIndex}):g!=null&&(V=[cloneSourceShallow(re[0])]),{sourceList:V,upstreamSignList:ie}},n.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),r=0;r1||r>0&&!n.noHeader;return each$4(n.blocks,function(g){var $=getBlockGapLevel(g);$>=t&&(t=$+ +(i&&(!$||isSectionFragment(g)&&!g.noHeader)))}),t}return 0}function buildSection(n,t,r,i){var g=t.noHeader,$=getGap(getBlockGapLevel(t)),V=[],re=t.blocks||[];assert(!re||isArray(re)),re=re||[];var ie=n.orderMode;if(t.sortBlocks&&ie){re=re.slice();var ae={valueAsc:"asc",valueDesc:"desc"};if(hasOwn(ae,ie)){var oe=new SortOrderComparator(ae[ie],null);re.sort(function(pe,_e){return oe.evaluate(pe.sortParam,_e.sortParam)})}else ie==="seriesDesc"&&re.reverse()}each$4(re,function(pe,_e){var Ce=t.valueFormatter,xe=getBuilder(pe)(Ce?extend(extend({},n),{valueFormatter:Ce}):n,pe,_e>0?$.html:0,i);xe!=null&&V.push(xe)});var le=n.renderMode==="richText"?V.join($.richText):wrapBlockHTML(i,V.join(""),g?r:$.html);if(g)return le;var ue=makeValueReadable(t.header,"ordinal",n.useUTC),de=getTooltipTextStyle(i,n.renderMode).nameStyle,he=getTooltipLineHeight(i);return n.renderMode==="richText"?wrapInlineNameRichText(n,ue,de)+$.richText+le:wrapBlockHTML(i,'
'+encodeHTML(ue)+"
"+le,r)}function buildNameValue(n,t,r,i){var g=n.renderMode,$=t.noName,V=t.noValue,re=!t.markerType,ie=t.name,ae=n.useUTC,oe=t.valueFormatter||n.valueFormatter||function(Ne){return Ne=isArray(Ne)?Ne:[Ne],map$1(Ne,function(Oe,$e){return makeValueReadable(Oe,isArray(de)?de[$e]:de,ae)})};if(!($&&V)){var le=re?"":n.markupStyleCreator.makeTooltipMarker(t.markerType,t.markerColor||"#333",g),ue=$?"":makeValueReadable(ie,"ordinal",ae),de=t.valueType,he=V?[]:oe(t.value,t.dataIndex),pe=!re||!$,_e=!re&&$,Ce=getTooltipTextStyle(i,g),xe=Ce.nameStyle,Ie=Ce.valueStyle;return g==="richText"?(re?"":le)+($?"":wrapInlineNameRichText(n,ue,xe))+(V?"":wrapInlineValueRichText(n,he,pe,_e,Ie)):wrapBlockHTML(i,(re?"":le)+($?"":wrapInlineNameHTML(ue,!re,xe))+(V?"":wrapInlineValueHTML(he,pe,_e,Ie)),r)}}function buildTooltipMarkup(n,t,r,i,g,$){if(n){var V=getBuilder(n),re={useUTC:g,renderMode:r,orderMode:i,markupStyleCreator:t,valueFormatter:n.valueFormatter};return V(re,n,0,$)}}function getGap(n){return{html:HTML_GAPS[n],richText:RICH_TEXT_GAPS[n]}}function wrapBlockHTML(n,t,r){var i='
',g="margin: "+r+"px 0 0",$=getTooltipLineHeight(n);return'
'+t+i+"
"}function wrapInlineNameHTML(n,t,r){var i=t?"margin-left:2px":"";return''+encodeHTML(n)+""}function wrapInlineValueHTML(n,t,r,i){var g=r?"10px":"20px",$=t?"float:right;margin-left:"+g:"";return n=isArray(n)?n:[n],''+map$1(n,function(V){return encodeHTML(V)}).join("  ")+""}function wrapInlineNameRichText(n,t,r){return n.markupStyleCreator.wrapRichTextStyle(t,r)}function wrapInlineValueRichText(n,t,r,i,g){var $=[g],V=i?10:20;return r&&$.push({padding:[0,0,0,V],align:"right"}),n.markupStyleCreator.wrapRichTextStyle(isArray(t)?t.join(" "):t,$)}function retrieveVisualColorForTooltipMarker(n,t){var r=n.getData().getItemVisual(t,"style"),i=r[n.visualDrawType];return convertToColorString(i)}function getPaddingFromTooltipModel(n,t){var r=n.get("padding");return r??(t==="richText"?[8,10]:10)}var TooltipMarkupStyleCreator=function(){function n(){this.richTextStyles={},this._nextStyleNameId=getRandomIdBase()}return n.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},n.prototype.makeTooltipMarker=function(t,r,i){var g=i==="richText"?this._generateStyleName():null,$=getTooltipMarker({color:r,type:t,renderMode:i,markerId:g});return isString($)?$:(this.richTextStyles[g]=$.style,$.content)},n.prototype.wrapRichTextStyle=function(t,r){var i={};isArray(r)?each$4(r,function($){return extend(i,$)}):extend(i,r);var g=this._generateStyleName();return this.richTextStyles[g]=i,"{"+g+"|"+t+"}"},n}();function defaultSeriesFormatTooltip(n){var t=n.series,r=n.dataIndex,i=n.multipleSeries,g=t.getData(),$=g.mapDimensionsAll("defaultedTooltip"),V=$.length,re=t.getRawValue(r),ie=isArray(re),ae=retrieveVisualColorForTooltipMarker(t,r),oe,le,ue,de;if(V>1||ie&&!V){var he=formatTooltipArrayValue(re,t,r,$,ae);oe=he.inlineValues,le=he.inlineValueTypes,ue=he.blocks,de=he.inlineValues[0]}else if(V){var pe=g.getDimensionInfo($[0]);de=oe=retrieveRawValue(g,r,$[0]),le=pe.type}else de=oe=ie?re[0]:re;var _e=isNameSpecified(t),Ce=_e&&t.name||"",xe=g.getName(r),Ie=i?Ce:xe;return createTooltipMarkup("section",{header:Ce,noHeader:i||!_e,sortParam:de,blocks:[createTooltipMarkup("nameValue",{markerType:"item",markerColor:ae,name:Ie,noName:!trim(Ie),value:oe,valueType:le,dataIndex:r})].concat(ue||[])})}function formatTooltipArrayValue(n,t,r,i,g){var $=t.getData(),V=reduce(n,function(le,ue,de){var he=$.getDimensionInfo(de);return le=le||he&&he.tooltip!==!1&&he.displayName!=null},!1),re=[],ie=[],ae=[];i.length?each$4(i,function(le){oe(retrieveRawValue($,r,le),le)}):each$4(n,oe);function oe(le,ue){var de=$.getDimensionInfo(ue);!de||de.otherDims.tooltip===!1||(V?ae.push(createTooltipMarkup("nameValue",{markerType:"subItem",markerColor:g,name:de.displayName,value:le,valueType:de.type})):(re.push(le),ie.push(de.type)))}return{inlineValues:re,inlineValueTypes:ie,blocks:ae}}var inner$6=makeInner();function getSelectionKey(n,t){return n.getName(t)||n.getId(t)}var SERIES_UNIVERSAL_TRANSITION_PROP="__universalTransitionEnabled",SeriesModel=function(n){__extends(t,n);function t(){var r=n!==null&&n.apply(this,arguments)||this;return r._selectedDataIndicesMap={},r}return t.prototype.init=function(r,i,g){this.seriesIndex=this.componentIndex,this.dataTask=createTask({count:dataTaskCount,reset:dataTaskReset}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(r,g);var $=inner$6(this).sourceManager=new SourceManager(this);$.prepareSource();var V=this.getInitialData(r,g);wrapData(V,this),this.dataTask.context.data=V,inner$6(this).dataBeforeProcessed=V,autoSeriesName(this),this._initSelectedMapFromData(V)},t.prototype.mergeDefaultAndTheme=function(r,i){var g=fetchLayoutMode(this),$=g?getLayoutParams(r):{},V=this.subType;ComponentModel$1.hasClass(V)&&(V+="Series"),merge(r,i.getTheme().get(this.subType)),merge(r,this.getDefaultOption()),defaultEmphasis(r,"label",["show"]),this.fillDataTextStyle(r.data),g&&mergeLayoutParam(r,$,g)},t.prototype.mergeOption=function(r,i){r=merge(this.option,r,!0),this.fillDataTextStyle(r.data);var g=fetchLayoutMode(this);g&&mergeLayoutParam(this.option,r,g);var $=inner$6(this).sourceManager;$.dirty(),$.prepareSource();var V=this.getInitialData(r,i);wrapData(V,this),this.dataTask.dirty(),this.dataTask.context.data=V,inner$6(this).dataBeforeProcessed=V,autoSeriesName(this),this._initSelectedMapFromData(V)},t.prototype.fillDataTextStyle=function(r){if(r&&!isTypedArray(r))for(var i=["show"],g=0;gthis.getShallow("animationThreshold")&&(i=!1),!!i},t.prototype.restoreData=function(){this.dataTask.dirty()},t.prototype.getColorFromPalette=function(r,i,g){var $=this.ecModel,V=PaletteMixin.prototype.getColorFromPalette.call(this,r,i,g);return V||(V=$.getColorFromPalette(r,i,g)),V},t.prototype.coordDimToDataDim=function(r){return this.getRawData().mapDimensionsAll(r)},t.prototype.getProgressive=function(){return this.get("progressive")},t.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},t.prototype.select=function(r,i){this._innerSelect(this.getData(i),r)},t.prototype.unselect=function(r,i){var g=this.option.selectedMap;if(g){var $=this.option.selectedMode,V=this.getData(i);if($==="series"||g==="all"){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var re=0;re=0&&g.push(V)}return g},t.prototype.isSelected=function(r,i){var g=this.option.selectedMap;if(!g)return!1;var $=this.getData(i);return(g==="all"||g[getSelectionKey($,r)])&&!$.getItemModel(r).get(["select","disabled"])},t.prototype.isUniversalTransitionEnabled=function(){if(this[SERIES_UNIVERSAL_TRANSITION_PROP])return!0;var r=this.option.universalTransition;return r?r===!0?!0:r&&r.enabled:!1},t.prototype._innerSelect=function(r,i){var g,$,V=this.option,re=V.selectedMode,ie=i.length;if(!(!re||!ie)){if(re==="series")V.selectedMap="all";else if(re==="multiple"){isObject$2(V.selectedMap)||(V.selectedMap={});for(var ae=V.selectedMap,oe=0;oe0&&this._innerSelect(r,i)}},t.registerClass=function(r){return ComponentModel$1.registerClass(r)},t.protoInitialize=function(){var r=t.prototype;r.type="series.__base__",r.seriesIndex=0,r.ignoreStyleOnData=!1,r.hasSymbolVisual=!1,r.defaultSymbol="circle",r.visualStyleAccessPath="itemStyle",r.visualDrawType="fill"}(),t}(ComponentModel$1);mixin(SeriesModel,DataFormatMixin);mixin(SeriesModel,PaletteMixin);mountExtend(SeriesModel,ComponentModel$1);function autoSeriesName(n){var t=n.name;isNameSpecified(n)||(n.name=getSeriesAutoName(n)||t)}function getSeriesAutoName(n){var t=n.getRawData(),r=t.mapDimensionsAll("seriesName"),i=[];return each$4(r,function(g){var $=t.getDimensionInfo(g);$.displayName&&i.push($.displayName)}),i.join(" ")}function dataTaskCount(n){return n.model.getRawData().count()}function dataTaskReset(n){var t=n.model;return t.setData(t.getRawData().cloneShallow()),dataTaskProgress}function dataTaskProgress(n,t){t.outputData&&n.end>t.outputData.count()&&t.model.getRawData().cloneShallow(t.outputData)}function wrapData(n,t){each$4(concatArray(n.CHANGABLE_METHODS,n.DOWNSAMPLE_METHODS),function(r){n.wrapMethod(r,curry$1(onDataChange,t))})}function onDataChange(n,t){var r=getCurrentTask(n);return r&&r.setOutputEnd((t||this).count()),t}function getCurrentTask(n){var t=(n.ecModel||{}).scheduler,r=t&&t.getPipeline(n.uid);if(r){var i=r.currentTask;if(i){var g=i.agentStubMap;g&&(i=g.get(n.uid))}return i}}const SeriesModel$1=SeriesModel;var ComponentView=function(){function n(){this.group=new Group$3,this.uid=getUID("viewComponent")}return n.prototype.init=function(t,r){},n.prototype.render=function(t,r,i,g){},n.prototype.dispose=function(t,r){},n.prototype.updateView=function(t,r,i,g){},n.prototype.updateLayout=function(t,r,i,g){},n.prototype.updateVisual=function(t,r,i,g){},n.prototype.toggleBlurSeries=function(t,r,i){},n.prototype.eachRendered=function(t){var r=this.group;r&&r.traverse(t)},n}();enableClassExtend(ComponentView);enableClassManagement(ComponentView);const ComponentView$1=ComponentView;function createRenderPlanner(){var n=makeInner();return function(t){var r=n(t),i=t.pipelineContext,g=!!r.large,$=!!r.progressiveRender,V=r.large=!!(i&&i.large),re=r.progressiveRender=!!(i&&i.progressiveRender);return(g!==V||$!==re)&&"reset"}}var inner$5=makeInner(),renderPlanner=createRenderPlanner(),ChartView=function(){function n(){this.group=new Group$3,this.uid=getUID("viewChart"),this.renderTask=createTask({plan:renderTaskPlan,reset:renderTaskReset}),this.renderTask.context={view:this}}return n.prototype.init=function(t,r){},n.prototype.render=function(t,r,i,g){},n.prototype.highlight=function(t,r,i,g){var $=t.getData(g&&g.dataType);$&&toggleHighlight($,g,"emphasis")},n.prototype.downplay=function(t,r,i,g){var $=t.getData(g&&g.dataType);$&&toggleHighlight($,g,"normal")},n.prototype.remove=function(t,r){this.group.removeAll()},n.prototype.dispose=function(t,r){},n.prototype.updateView=function(t,r,i,g){this.render(t,r,i,g)},n.prototype.updateLayout=function(t,r,i,g){this.render(t,r,i,g)},n.prototype.updateVisual=function(t,r,i,g){this.render(t,r,i,g)},n.prototype.eachRendered=function(t){traverseElements(this.group,t)},n.markUpdateMethod=function(t,r){inner$5(t).updateMethod=r},n.protoInitialize=function(){var t=n.prototype;t.type="chart"}(),n}();function elSetState(n,t,r){n&&isHighDownDispatcher(n)&&(t==="emphasis"?enterEmphasis:leaveEmphasis)(n,r)}function toggleHighlight(n,t,r){var i=queryDataIndex(n,t),g=t&&t.highlightKey!=null?getHighlightDigit(t.highlightKey):null;i!=null?each$4(normalizeToArray(i),function($){elSetState(n.getItemGraphicEl($),r,g)}):n.eachItemGraphicEl(function($){elSetState($,r,g)})}enableClassExtend(ChartView);enableClassManagement(ChartView);function renderTaskPlan(n){return renderPlanner(n.model)}function renderTaskReset(n){var t=n.model,r=n.ecModel,i=n.api,g=n.payload,$=t.pipelineContext.progressiveRender,V=n.view,re=g&&inner$5(g).updateMethod,ie=$?"incrementalPrepareRender":re&&V[re]?re:"render";return ie!=="render"&&V[ie](t,r,i,g),progressMethodMap[ie]}var progressMethodMap={incrementalPrepareRender:{progress:function(n,t){t.view.incrementalRender(n,t.model,t.ecModel,t.api,t.payload)}},render:{forceFirstProgress:!0,progress:function(n,t){t.view.render(t.model,t.ecModel,t.api,t.payload)}}};const ChartView$1=ChartView;var ORIGIN_METHOD="\0__throttleOriginMethod",RATE="\0__throttleRate",THROTTLE_TYPE="\0__throttleType";function throttle(n,t,r){var i,g=0,$=0,V=null,re,ie,ae,oe;t=t||0;function le(){$=new Date().getTime(),V=null,n.apply(ie,ae||[])}var ue=function(){for(var de=[],he=0;he=0?le():V=setTimeout(le,-re),g=i};return ue.clear=function(){V&&(clearTimeout(V),V=null)},ue.debounceNextCall=function(de){oe=de},ue}function createOrUpdate(n,t,r,i){var g=n[t];if(g){var $=g[ORIGIN_METHOD]||g,V=g[THROTTLE_TYPE],re=g[RATE];if(re!==r||V!==i){if(r==null||!i)return n[t]=$;g=n[t]=throttle($,r,i==="debounce"),g[ORIGIN_METHOD]=$,g[THROTTLE_TYPE]=i,g[RATE]=r}return g}}function clear(n,t){var r=n[t];r&&r[ORIGIN_METHOD]&&(r.clear&&r.clear(),n[t]=r[ORIGIN_METHOD])}var inner$4=makeInner(),defaultStyleMappers={itemStyle:makeStyleMapper(ITEM_STYLE_KEY_MAP,!0),lineStyle:makeStyleMapper(LINE_STYLE_KEY_MAP,!0)},defaultColorKey={lineStyle:"stroke",itemStyle:"fill"};function getStyleMapper(n,t){var r=n.visualStyleMapper||defaultStyleMappers[t];return r||(console.warn("Unknown style type '"+t+"'."),defaultStyleMappers.itemStyle)}function getDefaultColorKey(n,t){var r=n.visualDrawType||defaultColorKey[t];return r||(console.warn("Unknown style type '"+t+"'."),"fill")}var seriesStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){var r=n.getData(),i=n.visualStyleAccessPath||"itemStyle",g=n.getModel(i),$=getStyleMapper(n,i),V=$(g),re=g.getShallow("decal");re&&(r.setVisual("decal",re),re.dirty=!0);var ie=getDefaultColorKey(n,i),ae=V[ie],oe=isFunction(ae)?ae:null,le=V.fill==="auto"||V.stroke==="auto";if(!V[ie]||oe||le){var ue=n.getColorFromPalette(n.name,null,t.getSeriesCount());V[ie]||(V[ie]=ue,r.setVisual("colorFromPalette",!0)),V.fill=V.fill==="auto"||isFunction(V.fill)?ue:V.fill,V.stroke=V.stroke==="auto"||isFunction(V.stroke)?ue:V.stroke}if(r.setVisual("style",V),r.setVisual("drawType",ie),!t.isSeriesFiltered(n)&&oe)return r.setVisual("colorFromPalette",!1),{dataEach:function(de,he){var pe=n.getDataParams(he),_e=extend({},V);_e[ie]=oe(pe),de.setItemVisual(he,"style",_e)}}}},sharedModel=new Model$1,dataStyleTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){if(!(n.ignoreStyleOnData||t.isSeriesFiltered(n))){var r=n.getData(),i=n.visualStyleAccessPath||"itemStyle",g=getStyleMapper(n,i),$=r.getVisual("drawType");return{dataEach:r.hasItemOption?function(V,re){var ie=V.getRawDataItem(re);if(ie&&ie[i]){sharedModel.option=ie[i];var ae=g(sharedModel),oe=V.ensureUniqueItemVisual(re,"style");extend(oe,ae),sharedModel.option.decal&&(V.setItemVisual(re,"decal",sharedModel.option.decal),sharedModel.option.decal.dirty=!0),$ in ae&&V.setItemVisual(re,"colorFromPalette",!1)}}:null}}}},dataColorPaletteTask={performRawSeries:!0,overallReset:function(n){var t=createHashMap();n.eachSeries(function(r){var i=r.getColorBy();if(!r.isColorBySeries()){var g=r.type+"-"+i,$=t.get(g);$||($={},t.set(g,$)),inner$4(r).scope=$}}),n.eachSeries(function(r){if(!(r.isColorBySeries()||n.isSeriesFiltered(r))){var i=r.getRawData(),g={},$=r.getData(),V=inner$4(r).scope,re=r.visualStyleAccessPath||"itemStyle",ie=getDefaultColorKey(r,re);$.each(function(ae){var oe=$.getRawIndex(ae);g[oe]=ae}),i.each(function(ae){var oe=g[ae],le=$.getItemVisual(oe,"colorFromPalette");if(le){var ue=$.ensureUniqueItemVisual(oe,"style"),de=i.getName(ae)||ae+"",he=i.count();ue[ie]=r.getColorFromPalette(de,V,he)}})}})}},PI$2=Math.PI;function defaultLoading(n,t){t=t||{},defaults(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 r=new Group$3,i=new Rect$1({style:{fill:t.maskColor},zlevel:t.zlevel,z:1e4});r.add(i);var g=new ZRText$1({style:{text:t.text,fill:t.textColor,fontSize:t.fontSize,fontWeight:t.fontWeight,fontStyle:t.fontStyle,fontFamily:t.fontFamily},zlevel:t.zlevel,z:10001}),$=new Rect$1({style:{fill:"none"},textContent:g,textConfig:{position:"right",distance:10},zlevel:t.zlevel,z:10001});r.add($);var V;return t.showSpinner&&(V=new Arc$1({shape:{startAngle:-PI$2/2,endAngle:-PI$2/2+.1,r:t.spinnerRadius},style:{stroke:t.color,lineCap:"round",lineWidth:t.lineWidth},zlevel:t.zlevel,z:10001}),V.animateShape(!0).when(1e3,{endAngle:PI$2*3/2}).start("circularInOut"),V.animateShape(!0).when(1e3,{startAngle:PI$2*3/2}).delay(300).start("circularInOut"),r.add(V)),r.resize=function(){var re=g.getBoundingRect().width,ie=t.showSpinner?t.spinnerRadius:0,ae=(n.getWidth()-ie*2-(t.showSpinner&&re?10:0)-re)/2-(t.showSpinner&&re?0:5+re/2)+(t.showSpinner?0:re/2)+(re?0:ie),oe=n.getHeight()/2;t.showSpinner&&V.setShape({cx:ae,cy:oe}),$.setShape({x:ae-ie,y:oe-ie,width:ie*2,height:ie*2}),i.setShape({x:0,y:0,width:n.getWidth(),height:n.getHeight()})},r.resize(),r}var Scheduler=function(){function n(t,r,i,g){this._stageTaskMap=createHashMap(),this.ecInstance=t,this.api=r,i=this._dataProcessorHandlers=i.slice(),g=this._visualHandlers=g.slice(),this._allHandlers=i.concat(g)}return n.prototype.restoreData=function(t,r){t.restoreData(r),this._stageTaskMap.each(function(i){var g=i.overallTask;g&&g.dirty()})},n.prototype.getPerformArgs=function(t,r){if(t.__pipeline){var i=this._pipelineMap.get(t.__pipeline.id),g=i.context,$=!r&&i.progressiveEnabled&&(!g||g.progressiveRender)&&t.__idxInPipeline>i.blockIndex,V=$?i.step:null,re=g&&g.modDataCount,ie=re!=null?Math.ceil(re/V):null;return{step:V,modBy:ie,modDataCount:re}}},n.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},n.prototype.updateStreamModes=function(t,r){var i=this._pipelineMap.get(t.uid),g=t.getData(),$=g.count(),V=i.progressiveEnabled&&r.incrementalPrepareRender&&$>=i.threshold,re=t.get("large")&&$>=t.get("largeThreshold"),ie=t.get("progressiveChunkMode")==="mod"?$:null;t.pipelineContext=i.context={progressiveRender:V,modDataCount:ie,large:re}},n.prototype.restorePipelines=function(t){var r=this,i=r._pipelineMap=createHashMap();t.eachSeries(function(g){var $=g.getProgressive(),V=g.uid;i.set(V,{id:V,head:null,tail:null,threshold:g.getProgressiveThreshold(),progressiveEnabled:$&&!(g.preventIncremental&&g.preventIncremental()),blockIndex:-1,step:Math.round($||700),count:0}),r._pipe(g,g.dataTask)})},n.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,r=this.api.getModel(),i=this.api;each$4(this._allHandlers,function(g){var $=t.get(g.uid)||t.set(g.uid,{}),V="";assert(!(g.reset&&g.overallReset),V),g.reset&&this._createSeriesStageTask(g,$,r,i),g.overallReset&&this._createOverallStageTask(g,$,r,i)},this)},n.prototype.prepareView=function(t,r,i,g){var $=t.renderTask,V=$.context;V.model=r,V.ecModel=i,V.api=g,$.__block=!t.incrementalPrepareRender,this._pipe(r,$)},n.prototype.performDataProcessorTasks=function(t,r){this._performStageTasks(this._dataProcessorHandlers,t,r,{block:!0})},n.prototype.performVisualTasks=function(t,r,i){this._performStageTasks(this._visualHandlers,t,r,i)},n.prototype._performStageTasks=function(t,r,i,g){g=g||{};var $=!1,V=this;each$4(t,function(ie,ae){if(!(g.visualType&&g.visualType!==ie.visualType)){var oe=V._stageTaskMap.get(ie.uid),le=oe.seriesTaskMap,ue=oe.overallTask;if(ue){var de,he=ue.agentStubMap;he.each(function(_e){re(g,_e)&&(_e.dirty(),de=!0)}),de&&ue.dirty(),V.updatePayload(ue,i);var pe=V.getPerformArgs(ue,g.block);he.each(function(_e){_e.perform(pe)}),ue.perform(pe)&&($=!0)}else le&&le.each(function(_e,Ce){re(g,_e)&&_e.dirty();var xe=V.getPerformArgs(_e,g.block);xe.skip=!ie.performRawSeries&&r.isSeriesFiltered(_e.context.model),V.updatePayload(_e,i),_e.perform(xe)&&($=!0)})}});function re(ie,ae){return ie.setDirty&&(!ie.dirtyMap||ie.dirtyMap.get(ae.__pipeline.id))}this.unfinished=$||this.unfinished},n.prototype.performSeriesTasks=function(t){var r;t.eachSeries(function(i){r=i.dataTask.perform()||r}),this.unfinished=r||this.unfinished},n.prototype.plan=function(){this._pipelineMap.each(function(t){var r=t.tail;do{if(r.__block){t.blockIndex=r.__idxInPipeline;break}r=r.getUpstream()}while(r)})},n.prototype.updatePayload=function(t,r){r!=="remain"&&(t.context.payload=r)},n.prototype._createSeriesStageTask=function(t,r,i,g){var $=this,V=r.seriesTaskMap,re=r.seriesTaskMap=createHashMap(),ie=t.seriesType,ae=t.getTargetSeries;t.createOnAllSeries?i.eachRawSeries(oe):ie?i.eachRawSeriesByType(ie,oe):ae&&ae(i,g).each(oe);function oe(le){var ue=le.uid,de=re.set(ue,V&&V.get(ue)||createTask({plan:seriesTaskPlan,reset:seriesTaskReset,count:seriesTaskCount}));de.context={model:le,ecModel:i,api:g,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:$},$._pipe(le,de)}},n.prototype._createOverallStageTask=function(t,r,i,g){var $=this,V=r.overallTask=r.overallTask||createTask({reset:overallTaskReset});V.context={ecModel:i,api:g,overallReset:t.overallReset,scheduler:$};var re=V.agentStubMap,ie=V.agentStubMap=createHashMap(),ae=t.seriesType,oe=t.getTargetSeries,le=!0,ue=!1,de="";assert(!t.createOnAllSeries,de),ae?i.eachRawSeriesByType(ae,he):oe?oe(i,g).each(he):(le=!1,each$4(i.getSeries(),he));function he(pe){var _e=pe.uid,Ce=ie.set(_e,re&&re.get(_e)||(ue=!0,createTask({reset:stubReset,onDirty:stubOnDirty})));Ce.context={model:pe,overallProgress:le},Ce.agent=V,Ce.__block=le,$._pipe(pe,Ce)}ue&&V.dirty()},n.prototype._pipe=function(t,r){var i=t.uid,g=this._pipelineMap.get(i);!g.head&&(g.head=r),g.tail&&g.tail.pipe(r),g.tail=r,r.__idxInPipeline=g.count++,r.__pipeline=g},n.wrapStageHandler=function(t,r){return isFunction(t)&&(t={overallReset:t,seriesType:detectSeriseType(t)}),t.uid=getUID("stageHandler"),r&&(t.visualType=r),t},n}();function overallTaskReset(n){n.overallReset(n.ecModel,n.api,n.payload)}function stubReset(n){return n.overallProgress&&stubProgress}function stubProgress(){this.agent.dirty(),this.getDownstream().dirty()}function stubOnDirty(){this.agent&&this.agent.dirty()}function seriesTaskPlan(n){return n.plan?n.plan(n.model,n.ecModel,n.api,n.payload):null}function seriesTaskReset(n){n.useClearVisual&&n.data.clearAllVisual();var t=n.resetDefines=normalizeToArray(n.reset(n.model,n.ecModel,n.api,n.payload));return t.length>1?map$1(t,function(r,i){return makeSeriesTaskProgress(i)}):singleSeriesTaskProgress}var singleSeriesTaskProgress=makeSeriesTaskProgress(0);function makeSeriesTaskProgress(n){return function(t,r){var i=r.data,g=r.resetDefines[n];if(g&&g.dataEach)for(var $=t.start;$0&&de===ae.length-ue.length){var he=ae.slice(0,de);he!=="data"&&(r.mainType=he,r[ue.toLowerCase()]=ie,oe=!0)}}re.hasOwnProperty(ae)&&(i[ae]=ie,oe=!0),oe||(g[ae]=ie)})}return{cptQuery:r,dataQuery:i,otherQuery:g}},n.prototype.filter=function(t,r){var i=this.eventInfo;if(!i)return!0;var g=i.targetEl,$=i.packedEvent,V=i.model,re=i.view;if(!V||!re)return!0;var ie=r.cptQuery,ae=r.dataQuery;return oe(ie,V,"mainType")&&oe(ie,V,"subType")&&oe(ie,V,"index","componentIndex")&&oe(ie,V,"name")&&oe(ie,V,"id")&&oe(ae,$,"name")&&oe(ae,$,"dataIndex")&&oe(ae,$,"dataType")&&(!re.filterForExposedEvent||re.filterForExposedEvent(t,r.otherQuery,g,$));function oe(le,ue,de,he){return le[de]==null||ue[he||de]===le[de]}},n.prototype.afterTrigger=function(){this.eventInfo=null},n}(),SYMBOL_PROPS_WITH_CB=["symbol","symbolSize","symbolRotate","symbolOffset"],SYMBOL_PROPS=SYMBOL_PROPS_WITH_CB.concat(["symbolKeepAspect"]),seriesSymbolTask={createOnAllSeries:!0,performRawSeries:!0,reset:function(n,t){var r=n.getData();if(n.legendIcon&&r.setVisual("legendIcon",n.legendIcon),!n.hasSymbolVisual)return;for(var i={},g={},$=!1,V=0;V=0&&isSafeNum(ie)?ie:.5;var ae=n.createRadialGradient(V,re,0,V,re,ie);return ae}function getCanvasGradient(n,t,r){for(var i=t.type==="radial"?createRadialGradient(n,t,r):createLinearGradient(n,t,r),g=t.colorStops,$=0;$0)?null:n==="dashed"?[4*t,2*t]:n==="dotted"?[t]:isNumber(n)?[n]:isArray(n)?n:null}function getLineDash(n){var t=n.style,r=t.lineDash&&t.lineWidth>0&&normalizeLineDash(t.lineDash,t.lineWidth),i=t.lineDashOffset;if(r){var g=t.strokeNoScale&&n.getLineScale?n.getLineScale():1;g&&g!==1&&(r=map$1(r,function($){return $/g}),i/=g)}return[r,i]}var pathProxyForDraw=new PathProxy$1(!0);function styleHasStroke(n){var t=n.stroke;return!(t==null||t==="none"||!(n.lineWidth>0))}function isValidStrokeFillStyle(n){return typeof n=="string"&&n!=="none"}function styleHasFill(n){var t=n.fill;return t!=null&&t!=="none"}function doFillPath(n,t){if(t.fillOpacity!=null&&t.fillOpacity!==1){var r=n.globalAlpha;n.globalAlpha=t.fillOpacity*t.opacity,n.fill(),n.globalAlpha=r}else n.fill()}function doStrokePath(n,t){if(t.strokeOpacity!=null&&t.strokeOpacity!==1){var r=n.globalAlpha;n.globalAlpha=t.strokeOpacity*t.opacity,n.stroke(),n.globalAlpha=r}else n.stroke()}function createCanvasPattern(n,t,r){var i=createOrUpdateImage(t.image,t.__image,r);if(isImageReady(i)){var g=n.createPattern(i,t.repeat||"repeat");if(typeof DOMMatrix=="function"&&g&&g.setTransform){var $=new DOMMatrix;$.translateSelf(t.x||0,t.y||0),$.rotateSelf(0,0,(t.rotation||0)*RADIAN_TO_DEGREE),$.scaleSelf(t.scaleX||1,t.scaleY||1),g.setTransform($)}return g}}function brushPath(n,t,r,i){var g,$=styleHasStroke(r),V=styleHasFill(r),re=r.strokePercent,ie=re<1,ae=!t.path;(!t.silent||ie)&&ae&&t.createPathProxy();var oe=t.path||pathProxyForDraw,le=t.__dirty;if(!i){var ue=r.fill,de=r.stroke,he=V&&!!ue.colorStops,pe=$&&!!de.colorStops,_e=V&&!!ue.image,Ce=$&&!!de.image,xe=void 0,Ie=void 0,Ne=void 0,Oe=void 0,$e=void 0;(he||pe)&&($e=t.getBoundingRect()),he&&(xe=le?getCanvasGradient(n,ue,$e):t.__canvasFillGradient,t.__canvasFillGradient=xe),pe&&(Ie=le?getCanvasGradient(n,de,$e):t.__canvasStrokeGradient,t.__canvasStrokeGradient=Ie),_e&&(Ne=le||!t.__canvasFillPattern?createCanvasPattern(n,ue,t):t.__canvasFillPattern,t.__canvasFillPattern=Ne),Ce&&(Oe=le||!t.__canvasStrokePattern?createCanvasPattern(n,de,t):t.__canvasStrokePattern,t.__canvasStrokePattern=Ne),he?n.fillStyle=xe:_e&&(Ne?n.fillStyle=Ne:V=!1),pe?n.strokeStyle=Ie:Ce&&(Oe?n.strokeStyle=Oe:$=!1)}var Ve=t.getGlobalScale();oe.setScale(Ve[0],Ve[1],t.segmentIgnoreThreshold);var Ue,Fe;n.setLineDash&&r.lineDash&&(g=getLineDash(t),Ue=g[0],Fe=g[1]);var ze=!0;(ae||le&SHAPE_CHANGED_BIT)&&(oe.setDPR(n.dpr),ie?oe.setContext(null):(oe.setContext(n),ze=!1),oe.reset(),t.buildPath(oe,t.shape,i),oe.toStatic(),t.pathUpdated()),ze&&oe.rebuildPath(n,ie?re:1),Ue&&(n.setLineDash(Ue),n.lineDashOffset=Fe),i||(r.strokeFirst?($&&doStrokePath(n,r),V&&doFillPath(n,r)):(V&&doFillPath(n,r),$&&doStrokePath(n,r))),Ue&&n.setLineDash([])}function brushImage(n,t,r){var i=t.__image=createOrUpdateImage(r.image,t.__image,t,t.onload);if(!(!i||!isImageReady(i))){var g=r.x||0,$=r.y||0,V=t.getWidth(),re=t.getHeight(),ie=i.width/i.height;if(V==null&&re!=null?V=re*ie:re==null&&V!=null?re=V/ie:V==null&&re==null&&(V=i.width,re=i.height),r.sWidth&&r.sHeight){var ae=r.sx||0,oe=r.sy||0;n.drawImage(i,ae,oe,r.sWidth,r.sHeight,g,$,V,re)}else if(r.sx&&r.sy){var ae=r.sx,oe=r.sy,le=V-ae,ue=re-oe;n.drawImage(i,ae,oe,le,ue,g,$,V,re)}else n.drawImage(i,g,$,V,re)}}function brushText(n,t,r){var i,g=r.text;if(g!=null&&(g+=""),g){n.font=r.font||DEFAULT_FONT,n.textAlign=r.textAlign,n.textBaseline=r.textBaseline;var $=void 0,V=void 0;n.setLineDash&&r.lineDash&&(i=getLineDash(t),$=i[0],V=i[1]),$&&(n.setLineDash($),n.lineDashOffset=V),r.strokeFirst?(styleHasStroke(r)&&n.strokeText(g,r.x,r.y),styleHasFill(r)&&n.fillText(g,r.x,r.y)):(styleHasFill(r)&&n.fillText(g,r.x,r.y),styleHasStroke(r)&&n.strokeText(g,r.x,r.y)),$&&n.setLineDash([])}}var SHADOW_NUMBER_PROPS=["shadowBlur","shadowOffsetX","shadowOffsetY"],STROKE_PROPS=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function bindCommonProps(n,t,r,i,g){var $=!1;if(!i&&(r=r||{},t===r))return!1;if(i||t.opacity!==r.opacity){flushPathDrawn(n,g),$=!0;var V=Math.max(Math.min(t.opacity,1),0);n.globalAlpha=isNaN(V)?DEFAULT_COMMON_STYLE.opacity:V}(i||t.blend!==r.blend)&&($||(flushPathDrawn(n,g),$=!0),n.globalCompositeOperation=t.blend||DEFAULT_COMMON_STYLE.blend);for(var re=0;re0&&r.unfinished);r.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(r,i,g){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}var $,V,re;if(isObject$2(i)&&(g=i.lazyUpdate,$=i.silent,V=i.replaceMerge,re=i.transition,i=i.notMerge),this[IN_MAIN_PROCESS_KEY]=!0,!this._model||i){var ie=new OptionManager$1(this._api),ae=this._theme,oe=this._model=new GlobalModel$1;oe.scheduler=this._scheduler,oe.ssr=this._ssr,oe.init(null,null,null,ae,this._locale,ie)}this._model.setOption(r,{replaceMerge:V},optionPreprocessorFuncs);var le={seriesTransition:re,optionChanged:!0};if(g)this[PENDING_UPDATE]={silent:$,updateParams:le},this[IN_MAIN_PROCESS_KEY]=!1,this.getZr().wakeUp();else{try{prepare(this),updateMethods.update.call(this,null,le)}catch(ue){throw this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,ue}this._ssr||this._zr.flush(),this[PENDING_UPDATE]=null,this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,$),triggerUpdatedEvent.call(this,$)}}},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||env$1.hasGlobalWindow&&window.devicePixelRatio||1},t.prototype.getRenderedCanvas=function(r){return this.renderToCanvas(r)},t.prototype.renderToCanvas=function(r){r=r||{};var i=this._zr.painter;return i.getRenderedCanvas({backgroundColor:r.backgroundColor||this._model.get("backgroundColor"),pixelRatio:r.pixelRatio||this.getDevicePixelRatio()})},t.prototype.renderToSVGString=function(r){r=r||{};var i=this._zr.painter;return i.renderToString({useViewBox:r.useViewBox})},t.prototype.getSvgDataURL=function(){if(env$1.svgSupported){var r=this._zr,i=r.storage.getDisplayList();return each$4(i,function(g){g.stopAnimation(null,!0)}),r.painter.toDataURL()}},t.prototype.getDataURL=function(r){if(this._disposed){this.id;return}r=r||{};var i=r.excludeComponents,g=this._model,$=[],V=this;each$4(i,function(ie){g.eachComponent({mainType:ie},function(ae){var oe=V._componentsMap[ae.__viewId];oe.group.ignore||($.push(oe),oe.group.ignore=!0)})});var re=this._zr.painter.getType()==="svg"?this.getSvgDataURL():this.renderToCanvas(r).toDataURL("image/"+(r&&r.type||"png"));return each$4($,function(ie){ie.group.ignore=!1}),re},t.prototype.getConnectedDataURL=function(r){if(this._disposed){this.id;return}var i=r.type==="svg",g=this.group,$=Math.min,V=Math.max,re=1/0;if(connectedGroups[g]){var ie=re,ae=re,oe=-re,le=-re,ue=[],de=r&&r.pixelRatio||this.getDevicePixelRatio();each$4(instances,function(Ie,Ne){if(Ie.group===g){var Oe=i?Ie.getZr().painter.getSvgDom().innerHTML:Ie.renderToCanvas(clone$2(r)),$e=Ie.getDom().getBoundingClientRect();ie=$($e.left,ie),ae=$($e.top,ae),oe=V($e.right,oe),le=V($e.bottom,le),ue.push({dom:Oe,left:$e.left,top:$e.top})}}),ie*=de,ae*=de,oe*=de,le*=de;var he=oe-ie,pe=le-ae,_e=platformApi.createCanvas(),Ce=init$1(_e,{renderer:i?"svg":"canvas"});if(Ce.resize({width:he,height:pe}),i){var xe="";return each$4(ue,function(Ie){var Ne=Ie.left-ie,Oe=Ie.top-ae;xe+=''+Ie.dom+""}),Ce.painter.getSvgRoot().innerHTML=xe,r.connectedBackgroundColor&&Ce.painter.setBackgroundColor(r.connectedBackgroundColor),Ce.refreshImmediately(),Ce.painter.toDataURL()}else return r.connectedBackgroundColor&&Ce.add(new Rect$1({shape:{x:0,y:0,width:he,height:pe},style:{fill:r.connectedBackgroundColor}})),each$4(ue,function(Ie){var Ne=new ZRImage$1({style:{x:Ie.left*de-ie,y:Ie.top*de-ae,image:Ie.dom}});Ce.add(Ne)}),Ce.refreshImmediately(),_e.toDataURL("image/"+(r&&r.type||"png"))}else return this.getDataURL(r)},t.prototype.convertToPixel=function(r,i){return doConvertPixel(this,"convertToPixel",r,i)},t.prototype.convertFromPixel=function(r,i){return doConvertPixel(this,"convertFromPixel",r,i)},t.prototype.containPixel=function(r,i){if(this._disposed){this.id;return}var g=this._model,$,V=parseFinder(g,r);return each$4(V,function(re,ie){ie.indexOf("Models")>=0&&each$4(re,function(ae){var oe=ae.coordinateSystem;if(oe&&oe.containPoint)$=$||!!oe.containPoint(i);else if(ie==="seriesModels"){var le=this._chartsMap[ae.__viewId];le&&le.containPoint&&($=$||le.containPoint(i,ae))}},this)},this),!!$},t.prototype.getVisual=function(r,i){var g=this._model,$=parseFinder(g,r,{defaultMainType:"series"}),V=$.seriesModel,re=V.getData(),ie=$.hasOwnProperty("dataIndexInside")?$.dataIndexInside:$.hasOwnProperty("dataIndex")?re.indexOfRawIndex($.dataIndex):null;return ie!=null?getItemVisualFromData(re,ie,i):getVisualFromData(re,i)},t.prototype.getViewOfComponentModel=function(r){return this._componentsMap[r.__viewId]},t.prototype.getViewOfSeriesModel=function(r){return this._chartsMap[r.__viewId]},t.prototype._initEvents=function(){var r=this;each$4(MOUSE_EVENT_NAMES,function(i){var g=function($){var V=r.getModel(),re=$.target,ie,ae=i==="globalout";if(ae?ie={}:re&&findEventDispatcher(re,function(he){var pe=getECData(he);if(pe&&pe.dataIndex!=null){var _e=pe.dataModel||V.getSeriesByIndex(pe.seriesIndex);return ie=_e&&_e.getDataParams(pe.dataIndex,pe.dataType,re)||{},!0}else if(pe.eventData)return ie=extend({},pe.eventData),!0},!0),ie){var oe=ie.componentType,le=ie.componentIndex;(oe==="markLine"||oe==="markPoint"||oe==="markArea")&&(oe="series",le=ie.seriesIndex);var ue=oe&&le!=null&&V.getComponent(oe,le),de=ue&&r[ue.mainType==="series"?"_chartsMap":"_componentsMap"][ue.__viewId];ie.event=$,ie.type=i,r._$eventProcessor.eventInfo={targetEl:re,packedEvent:ie,model:ue,view:de},r.trigger(i,ie)}};g.zrEventfulCallAtLast=!0,r._zr.on(i,g,r)}),each$4(eventActionMap,function(i,g){r._messageCenter.on(g,function($){this.trigger(g,$)},r)}),each$4(["selectchanged"],function(i){r._messageCenter.on(i,function(g){this.trigger(i,g)},r)}),handleLegacySelectEvents(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 r=this.getDom();r&&setAttribute(this.getDom(),DOM_ATTRIBUTE_KEY,"");var i=this,g=i._api,$=i._model;each$4(i._componentsViews,function(V){V.dispose($,g)}),each$4(i._chartsViews,function(V){V.dispose($,g)}),i._zr.dispose(),i._dom=i._model=i._chartsMap=i._componentsMap=i._chartsViews=i._componentsViews=i._scheduler=i._api=i._zr=i._throttledZrFlush=i._theme=i._coordSysMgr=i._messageCenter=null,delete instances[i.id]},t.prototype.resize=function(r){if(!this[IN_MAIN_PROCESS_KEY]){if(this._disposed){this.id;return}this._zr.resize(r);var i=this._model;if(this._loadingFX&&this._loadingFX.resize(),!!i){var g=i.resetOption("media"),$=r&&r.silent;this[PENDING_UPDATE]&&($==null&&($=this[PENDING_UPDATE].silent),g=!0,this[PENDING_UPDATE]=null),this[IN_MAIN_PROCESS_KEY]=!0;try{g&&prepare(this),updateMethods.update.call(this,{type:"resize",animation:extend({duration:0},r&&r.animation)})}catch(V){throw this[IN_MAIN_PROCESS_KEY]=!1,V}this[IN_MAIN_PROCESS_KEY]=!1,flushPendingActions.call(this,$),triggerUpdatedEvent.call(this,$)}}},t.prototype.showLoading=function(r,i){if(this._disposed){this.id;return}if(isObject$2(r)&&(i=r,r=""),r=r||"default",this.hideLoading(),!!loadingEffects[r]){var g=loadingEffects[r](this._api,i),$=this._zr;this._loadingFX=g,$.add(g)}},t.prototype.hideLoading=function(){if(this._disposed){this.id;return}this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},t.prototype.makeActionFromEvent=function(r){var i=extend({},r);return i.type=eventActionMap[r.type],i},t.prototype.dispatchAction=function(r,i){if(this._disposed){this.id;return}if(isObject$2(i)||(i={silent:!!i}),!!actions[r.type]&&this._model){if(this[IN_MAIN_PROCESS_KEY]){this._pendingActions.push(r);return}var g=i.silent;doDispatchAction.call(this,r,g);var $=i.flush;$?this._zr.flush():$!==!1&&env$1.browser.weChat&&this._throttledZrFlush(),flushPendingActions.call(this,g),triggerUpdatedEvent.call(this,g)}},t.prototype.updateLabelLayout=function(){lifecycle$1.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},t.prototype.appendData=function(r){if(this._disposed){this.id;return}var i=r.seriesIndex,g=this.getModel(),$=g.getSeriesByIndex(i);$.appendData(r),this._scheduler.unfinished=!0,this.getZr().wakeUp()},t.internalField=function(){prepare=function(le){var ue=le._scheduler;ue.restorePipelines(le._model),ue.prepareStageTasks(),prepareView(le,!0),prepareView(le,!1),ue.plan()},prepareView=function(le,ue){for(var de=le._model,he=le._scheduler,pe=ue?le._componentsViews:le._chartsViews,_e=ue?le._componentsMap:le._chartsMap,Ce=le._zr,xe=le._api,Ie=0;Ieue.get("hoverLayerThreshold")&&!env$1.node&&!env$1.worker&&ue.eachSeries(function(_e){if(!_e.preventUsingHoverLayer){var Ce=le._chartsMap[_e.__viewId];Ce.__alive&&Ce.eachRendered(function(xe){xe.states.emphasis&&(xe.states.emphasis.hoverLayer=!0)})}})}function V(le,ue){var de=le.get("blendMode")||null;ue.eachRendered(function(he){he.isGroup||(he.style.blend=de)})}function re(le,ue){if(!le.preventAutoZ){var de=le.get("z")||0,he=le.get("zlevel")||0;ue.eachRendered(function(pe){return ie(pe,de,he,-1/0),!0})}}function ie(le,ue,de,he){var pe=le.getTextContent(),_e=le.getTextGuideLine(),Ce=le.isGroup;if(Ce)for(var xe=le.childrenRef(),Ie=0;Ie0?{duration:pe,delay:de.get("delay"),easing:de.get("easing")}:null;ue.eachRendered(function(Ce){if(Ce.states&&Ce.states.emphasis){if(isElementRemoved(Ce))return;if(Ce instanceof Path$1&&savePathStates(Ce),Ce.__dirty){var xe=Ce.prevStates;xe&&Ce.useStates(xe)}if(he){Ce.stateTransition=_e;var Ie=Ce.getTextContent(),Ne=Ce.getTextGuideLine();Ie&&(Ie.stateTransition=_e),Ne&&(Ne.stateTransition=_e)}Ce.__dirty&&g(Ce)}})}createExtensionAPI=function(le){return new(function(ue){__extends(de,ue);function de(){return ue!==null&&ue.apply(this,arguments)||this}return de.prototype.getCoordinateSystems=function(){return le._coordSysMgr.getCoordinateSystems()},de.prototype.getComponentByElement=function(he){for(;he;){var pe=he.__ecComponentInfo;if(pe!=null)return le._model.getComponent(pe.mainType,pe.index);he=he.parent}},de.prototype.enterEmphasis=function(he,pe){enterEmphasis(he,pe),markStatusToUpdate(le)},de.prototype.leaveEmphasis=function(he,pe){leaveEmphasis(he,pe),markStatusToUpdate(le)},de.prototype.enterBlur=function(he){enterBlur(he),markStatusToUpdate(le)},de.prototype.leaveBlur=function(he){leaveBlur(he),markStatusToUpdate(le)},de.prototype.enterSelect=function(he){enterSelect(he),markStatusToUpdate(le)},de.prototype.leaveSelect=function(he){leaveSelect(he),markStatusToUpdate(le)},de.prototype.getModel=function(){return le.getModel()},de.prototype.getViewOfComponentModel=function(he){return le.getViewOfComponentModel(he)},de.prototype.getViewOfSeriesModel=function(he){return le.getViewOfSeriesModel(he)},de}(ExtensionAPI$1))(le)},enableConnect=function(le){function ue(de,he){for(var pe=0;pe=0)){registeredTasks.push(r);var $=Scheduler$1.wrapStageHandler(r,g);$.__prio=t,$.__raw=r,n.push($)}}function registerLoading(n,t){loadingEffects[n]=t}function registerMap(n,t,r){var i=getImpl("registerMap");i&&i(n,t,r)}var registerTransform=registerExternalTransform;registerVisual(PRIORITY_VISUAL_GLOBAL,seriesStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataStyleTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataColorPaletteTask);registerVisual(PRIORITY_VISUAL_GLOBAL,seriesSymbolTask);registerVisual(PRIORITY_VISUAL_CHART_DATA_CUSTOM,dataSymbolTask);registerVisual(PRIORITY_VISUAL_DECAL,decalVisual);registerPreprocessor(globalBackwardCompat);registerProcessor(PRIORITY_PROCESSOR_DATASTACK,dataStack);registerLoading("default",defaultLoading);registerAction({type:HIGHLIGHT_ACTION_TYPE,event:HIGHLIGHT_ACTION_TYPE,update:HIGHLIGHT_ACTION_TYPE},noop);registerAction({type:DOWNPLAY_ACTION_TYPE,event:DOWNPLAY_ACTION_TYPE,update:DOWNPLAY_ACTION_TYPE},noop);registerAction({type:SELECT_ACTION_TYPE,event:SELECT_ACTION_TYPE,update:SELECT_ACTION_TYPE},noop);registerAction({type:UNSELECT_ACTION_TYPE,event:UNSELECT_ACTION_TYPE,update:UNSELECT_ACTION_TYPE},noop);registerAction({type:TOGGLE_SELECT_ACTION_TYPE,event:TOGGLE_SELECT_ACTION_TYPE,update:TOGGLE_SELECT_ACTION_TYPE},noop);registerTheme("light",lightTheme);registerTheme("dark",darkTheme);function dataIndexMapValueLength(n){return n==null?0:n.length||1}function defaultKeyGetter(n){return n}var DataDiffer=function(){function n(t,r,i,g,$,V){this._old=t,this._new=r,this._oldKeyGetter=i||defaultKeyGetter,this._newKeyGetter=g||defaultKeyGetter,this.context=$,this._diffModeMultiple=V==="multiple"}return n.prototype.add=function(t){return this._add=t,this},n.prototype.update=function(t){return this._update=t,this},n.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},n.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},n.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},n.prototype.remove=function(t){return this._remove=t,this},n.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},n.prototype._executeOneToOne=function(){var t=this._old,r=this._new,i={},g=new Array(t.length),$=new Array(r.length);this._initIndexMap(t,null,g,"_oldKeyGetter"),this._initIndexMap(r,i,$,"_newKeyGetter");for(var V=0;V1){var oe=ie.shift();ie.length===1&&(i[re]=ie[0]),this._update&&this._update(oe,V)}else ae===1?(i[re]=null,this._update&&this._update(ie,V)):this._remove&&this._remove(V)}this._performRestAdd($,i)},n.prototype._executeMultiple=function(){var t=this._old,r=this._new,i={},g={},$=[],V=[];this._initIndexMap(t,i,$,"_oldKeyGetter"),this._initIndexMap(r,g,V,"_newKeyGetter");for(var re=0;re<$.length;re++){var ie=$[re],ae=i[ie],oe=g[ie],le=dataIndexMapValueLength(ae),ue=dataIndexMapValueLength(oe);if(le>1&&ue===1)this._updateManyToOne&&this._updateManyToOne(oe,ae),g[ie]=null;else if(le===1&&ue>1)this._updateOneToMany&&this._updateOneToMany(oe,ae),g[ie]=null;else if(le===1&&ue===1)this._update&&this._update(oe,ae),g[ie]=null;else if(le>1&&ue>1)this._updateManyToMany&&this._updateManyToMany(oe,ae),g[ie]=null;else if(le>1)for(var de=0;de1)for(var re=0;re30}var isObject=isObject$2,map=map$1,CtorInt32Array=typeof Int32Array>"u"?Array:Int32Array,ID_PREFIX="e\0\0",INDEX_NOT_FOUND=-1,TRANSFERABLE_PROPERTIES=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],CLONE_PROPERTIES=["_approximateExtent"],prepareInvertedIndex,getId,getIdNameFromStore,normalizeDimensions,transferProperties,cloneListForMapAndSample,makeIdFromName,SeriesData=function(){function n(t,r){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 i,g=!1;isSeriesDataSchema(t)?(i=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(g=!0,i=t),i=i||["x","y"];for(var $={},V=[],re={},ie=!1,ae={},oe=0;oe=r)){var i=this._store,g=i.getProvider();this._updateOrdinalMeta();var $=this._nameList,V=this._idList,re=g.getSource().sourceFormat,ie=re===SOURCE_FORMAT_ORIGINAL;if(ie&&!g.pure)for(var ae=[],oe=t;oe0},n.prototype.ensureUniqueItemVisual=function(t,r){var i=this._itemVisuals,g=i[t];g||(g=i[t]={});var $=g[r];return $==null&&($=this.getVisual(r),isArray($)?$=$.slice():isObject($)&&($=extend({},$)),g[r]=$),$},n.prototype.setItemVisual=function(t,r,i){var g=this._itemVisuals[t]||{};this._itemVisuals[t]=g,isObject(r)?extend(g,r):g[r]=i},n.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},n.prototype.setLayout=function(t,r){isObject(t)?extend(this._layout,t):this._layout[t]=r},n.prototype.getLayout=function(t){return this._layout[t]},n.prototype.getItemLayout=function(t){return this._itemLayouts[t]},n.prototype.setItemLayout=function(t,r,i){this._itemLayouts[t]=i?extend(this._itemLayouts[t]||{},r):r},n.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},n.prototype.setItemGraphicEl=function(t,r){var i=this.hostModel&&this.hostModel.seriesIndex;setCommonECData(i,this.dataType,t,r),this._graphicEls[t]=r},n.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},n.prototype.eachItemGraphicEl=function(t,r){each$4(this._graphicEls,function(i,g){i&&t&&t.call(r,i,g)})},n.prototype.cloneShallow=function(t){return t||(t=new n(this._schema?this._schema:map(this.dimensions,this._getDimInfo,this),this.hostModel)),transferProperties(t,this),t._store=this._store,t},n.prototype.wrapMethod=function(t,r){var i=this[t];isFunction(i)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var g=i.apply(this,arguments);return r.apply(this,[g].concat(slice(arguments)))})},n.internalField=function(){prepareInvertedIndex=function(t){var r=t._invertedIndicesMap;each$4(r,function(i,g){var $=t._dimInfos[g],V=$.ordinalMeta,re=t._store;if(V){i=r[g]=new CtorInt32Array(V.categories.length);for(var ie=0;ie1&&(ie+="__ec__"+oe),g[r]=ie}}}(),n}();const SeriesData$1=SeriesData;function prepareSeriesDataSchema(n,t){isSourceInstance(n)||(n=createSourceFromSeriesDataOption(n)),t=t||{};var r=t.coordDimensions||[],i=t.dimensionsDefine||n.dimensionsDefine||[],g=createHashMap(),$=[],V=getDimCount(n,r,i,t.dimensionsCount),re=t.canOmitUnusedDimensions&&shouldOmitUnusedDimensions(V),ie=i===n.dimensionsDefine,ae=ie?ensureSourceDimNameMap(n):createDimNameMap(i),oe=t.encodeDefine;!oe&&t.encodeDefaulter&&(oe=t.encodeDefaulter(n,V));for(var le=createHashMap(oe),ue=new CtorInt32Array$1(V),de=0;de0&&(i.name=g+($-1)),$++,t.set(g,$)}}function getDimCount(n,t,r,i){var g=Math.max(n.dimensionsDetectedCount||1,t.length,r.length,i||0);return each$4(t,function($){var V;isObject$2($)&&(V=$.dimsDef)&&(g=Math.max(g,V.length))}),g}function genCoordDimName(n,t,r){if(r||t.hasKey(n)){for(var i=0;t.hasKey(n+i);)i++;n+=i}return t.set(n,!0),n}function getAxisRawValue(n,t){return n.type==="category"?n.scale.getLabel(t):t.value}function getOptionCategoryInterval(n){var t=n.get("interval");return t??"auto"}function shouldShowAllLabels(n){return n.type==="category"&&getOptionCategoryInterval(n.getLabelModel())===0}var extensions=[],extensionRegisters={registerPreprocessor,registerProcessor,registerPostInit,registerPostUpdate,registerUpdateLifecycle,registerAction,registerCoordinateSystem,registerLayout,registerVisual,registerTransform,registerLoading,registerMap,registerImpl,PRIORITY,ComponentModel:ComponentModel$1,ComponentView:ComponentView$1,SeriesModel:SeriesModel$1,ChartView:ChartView$1,registerComponentModel:function(n){ComponentModel$1.registerClass(n)},registerComponentView:function(n){ComponentView$1.registerClass(n)},registerSeriesModel:function(n){SeriesModel$1.registerClass(n)},registerChartView:function(n){ChartView$1.registerClass(n)},registerSubTypeDefaulter:function(n,t){ComponentModel$1.registerSubTypeDefaulter(n,t)},registerPainter:function(n,t){registerPainter(n,t)}};function use(n){if(isArray(n)){each$4(n,function(t){use(t)});return}indexOf(extensions,n)>=0||(extensions.push(n),isFunction(n)&&(n={install:n}),n.install(extensionRegisters))}PathProxy$1.CMD;function projectPointToLine(n,t,r,i,g,$,V,re){var ie=g-n,ae=$-t,oe=r-n,le=i-t,ue=Math.sqrt(oe*oe+le*le);oe/=ue,le/=ue;var de=ie*oe+ae*le,he=de/ue;re&&(he=Math.min(Math.max(he,0),1)),he*=ue;var pe=V[0]=n+he*oe,_e=V[1]=t+he*le;return Math.sqrt((pe-g)*(pe-g)+(_e-$)*(_e-$))}var pt0=new Point$1,pt1=new Point$1,pt2=new Point$1,dir=new Point$1,dir2=new Point$1,tmpArr=[],tmpProjPoint=new Point$1;function limitTurnAngle(n,t){if(t<=180&&t>0){t=t/180*Math.PI,pt0.fromArray(n[0]),pt1.fromArray(n[1]),pt2.fromArray(n[2]),Point$1.sub(dir,pt0,pt1),Point$1.sub(dir2,pt2,pt1);var r=dir.len(),i=dir2.len();if(!(r<.001||i<.001)){dir.scale(1/r),dir2.scale(1/i);var g=dir.dot(dir2),$=Math.cos(t);if($1&&Point$1.copy(tmpProjPoint,pt2),tmpProjPoint.toArray(n[1])}}}}function limitSurfaceAngle(n,t,r){if(r<=180&&r>0){r=r/180*Math.PI,pt0.fromArray(n[0]),pt1.fromArray(n[1]),pt2.fromArray(n[2]),Point$1.sub(dir,pt1,pt0),Point$1.sub(dir2,pt2,pt1);var i=dir.len(),g=dir2.len();if(!(i<.001||g<.001)){dir.scale(1/i),dir2.scale(1/g);var $=dir.dot(t),V=Math.cos(r);if($=ie)Point$1.copy(tmpProjPoint,pt2);else{tmpProjPoint.scaleAndAdd(dir2,re/Math.tan(Math.PI/2-oe));var le=pt2.x!==pt1.x?(tmpProjPoint.x-pt1.x)/(pt2.x-pt1.x):(tmpProjPoint.y-pt1.y)/(pt2.y-pt1.y);if(isNaN(le))return;le<0?Point$1.copy(tmpProjPoint,pt1):le>1&&Point$1.copy(tmpProjPoint,pt2)}tmpProjPoint.toArray(n[1])}}}}function setLabelLineState(n,t,r,i){var g=r==="normal",$=g?n:n.ensureState(r);$.ignore=t;var V=i.get("smooth");V&&V===!0&&(V=.3),$.shape=$.shape||{},V>0&&($.shape.smooth=V);var re=i.getModel("lineStyle").getLineStyle();g?n.useStyle(re):$.style=re}function buildLabelLinePath(n,t){var r=t.smooth,i=t.points;if(i)if(n.moveTo(i[0][0],i[0][1]),r>0&&i.length>=3){var g=dist$1(i[0],i[1]),$=dist$1(i[1],i[2]);if(!g||!$){n.lineTo(i[1][0],i[1][1]),n.lineTo(i[2][0],i[2][1]);return}var V=Math.min(g,$)*r,re=lerp([],i[1],i[0],V/g),ie=lerp([],i[1],i[2],V/$),ae=lerp([],re,ie,.5);n.bezierCurveTo(re[0],re[1],re[0],re[1],ae[0],ae[1]),n.bezierCurveTo(ie[0],ie[1],ie[0],ie[1],i[2][0],i[2][1])}else for(var oe=1;oe0&&$&&Oe(-oe/V,0,V);var pe=n[0],_e=n[V-1],Ce,xe;Ie(),Ce<0&&$e(-Ce,.8),xe<0&&$e(xe,.8),Ie(),Ne(Ce,xe,1),Ne(xe,Ce,-1),Ie(),Ce<0&&Ve(-Ce),xe<0&&Ve(xe);function Ie(){Ce=pe.rect[t]-i,xe=g-_e.rect[t]-_e.rect[r]}function Ne(Ue,Fe,ze){if(Ue<0){var Pt=Math.min(Fe,-Ue);if(Pt>0){Oe(Pt*ze,0,V);var qe=Pt+Ue;qe<0&&$e(-qe*ze,1)}else $e(-Ue*ze,1)}}function Oe(Ue,Fe,ze){Ue!==0&&(ae=!0);for(var Pt=Fe;Pt0)for(var qe=0;qe0;qe--){var Dt=ze[qe-1]*At;Oe(-Dt,qe,V)}}}function Ve(Ue){var Fe=Ue<0?-1:1;Ue=Math.abs(Ue);for(var ze=Math.ceil(Ue/(V-1)),Pt=0;Pt0?Oe(ze,0,Pt+1):Oe(-ze,V-Pt-1,V),Ue-=ze,Ue<=0)return}return ae}function shiftLayoutOnY(n,t,r,i){return shiftLayout(n,"y","height",t,r,i)}function hideOverlap(n){var t=[];n.sort(function(pe,_e){return _e.priority-pe.priority});var r=new BoundingRect$1(0,0,0,0);function i(pe){if(!pe.ignore){var _e=pe.ensureState("emphasis");_e.ignore==null&&(_e.ignore=!1)}pe.ignore=!0}for(var g=0;g=PI2$1:-ae>=PI2$1),de=ae>0?ae%PI2$1:ae%PI2$1+PI2$1,he=!1;ue?he=!0:isAroundZero(le)?he=!1:he=de>=PI$1==!!oe;var pe=t+i*mathCos(V),_e=r+g*mathSin(V);this._start&&this._add("M",pe,_e);var Ce=Math.round($*degree);if(ue){var xe=1/this._p,Ie=(oe?1:-1)*(PI2$1-xe);this._add("A",i,g,Ce,1,+oe,t+i*mathCos(V+Ie),r+g*mathSin(V+Ie)),xe>.01&&this._add("A",i,g,Ce,0,+oe,pe,_e)}else{var Ne=t+i*mathCos(re),Oe=r+g*mathSin(re);this._add("A",i,g,Ce,+he,+oe,Ne,Oe)}},n.prototype.rect=function(t,r,i,g){this._add("M",t,r),this._add("l",i,0),this._add("l",0,g),this._add("l",-i,0),this._add("Z")},n.prototype.closePath=function(){this._d.length>0&&this._add("Z")},n.prototype._add=function(t,r,i,g,$,V,re,ie,ae){for(var oe=[],le=this._p,ue=1;ue"}function createElementClose(n){return""}function vNodeToString(n,t){t=t||{};var r=t.newline?` -`:"";function i(g){var $=g.children,V=g.tag,re=g.attrs,ie=g.text;return createElementOpen(V,re)+(V!=="style"?encodeHTML(ie):ie||"")+($?""+r+map$1($,function(ae){return i(ae)}).join(r)+r:"")+createElementClose(V)}return i(n)}function getCssString(n,t,r){r=r||{};var i=r.newline?` -`:"",g=" {"+i,$=i+"}",V=map$1(keys(n),function(ie){return ie+g+map$1(keys(n[ie]),function(ae){return ae+":"+n[ie][ae]+";"}).join(i)+$}).join(i),re=map$1(keys(t),function(ie){return"@keyframes "+ie+g+map$1(keys(t[ie]),function(ae){return ae+g+map$1(keys(t[ie][ae]),function(oe){var le=t[ie][ae][oe];return oe==="d"&&(le='path("'+le+'")'),oe+":"+le+";"}).join(i)+$}).join(i)+$}).join(i);return!V&&!re?"":[""].join(i)}function createBrushScope(n){return{zrId:n,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssStyleCache:{},cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function createSVGVNode(n,t,r,i){return createVNode("svg","root",{width:n,height:t,xmlns:SVGNS,"xmlns:xlink":XLINKNS,version:"1.1",baseProfile:"full",viewBox:i?"0 0 "+n+" "+t:!1},r)}var cssClassIdx=0;function getClassId(){return cssClassIdx++}var EASING_MAP={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"},transformOriginKey="transform-origin";function buildPathString(n,t,r){var i=extend({},n.shape);extend(i,t),n.buildPath(r,i);var g=new SVGPathRebuilder$1;return g.reset(getPathPrecision(n)),r.rebuildPath(g,1),g.generateStr(),g.getStr()}function setTransformOrigin(n,t){var r=t.originX,i=t.originY;(r||i)&&(n[transformOriginKey]=r+"px "+i+"px")}var ANIMATE_STYLE_MAP={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function addAnimation(n,t){var r=t.zrId+"-ani-"+t.cssAnimIdx++;return t.cssAnims[r]=n,r}function createCompoundPathCSSAnimation(n,t,r){var i=n.shape.paths,g={},$,V;if(each$4(i,function(ie){var ae=createBrushScope(r.zrId);ae.animation=!0,createCSSAnimation(ie,{},ae,!0);var oe=ae.cssAnims,le=ae.cssNodes,ue=keys(oe),de=ue.length;if(de){V=ue[de-1];var he=oe[V];for(var pe in he){var _e=he[pe];g[pe]=g[pe]||{d:""},g[pe].d+=_e.d||""}for(var Ce in le){var xe=le[Ce].animation;xe.indexOf(V)>=0&&($=xe)}}}),!!$){t.d=!1;var re=addAnimation(g,r);return $.replace(V,re)}}function getEasingFunc(n){return isString(n)?EASING_MAP[n]?"cubic-bezier("+EASING_MAP[n]+")":createCubicEasingFunc(n)?n:"":""}function createCSSAnimation(n,t,r,i){var g=n.animators,$=g.length,V=[];if(n instanceof CompoundPath$1){var re=createCompoundPathCSSAnimation(n,t,r);if(re)V.push(re);else if(!$)return}else if(!$)return;for(var ie={},ae=0;ae<$;ae++){var oe=g[ae],le=[oe.getMaxTime()/1e3+"s"],ue=getEasingFunc(oe.getClip().easing),de=oe.getDelay();ue?le.push(ue):le.push("linear"),de&&le.push(de/1e3+"s"),oe.getLoop()&&le.push("infinite");var he=le.join(" ");ie[he]=ie[he]||[he,[]],ie[he][1].push(oe)}function pe(xe){var Ie=xe[1],Ne=Ie.length,Oe={},$e={},Ve={},Ue="animation-timing-function";function Fe(kn,$n,An){for(var xn=kn.getTracks(),Ln=kn.getMaxTime(),Nn=0;Nn0}).length){var En=addAnimation(Ve,r);return En+" "+xe[0]+" both"}}for(var _e in ie){var re=pe(ie[_e]);re&&V.push(re)}if(V.length){var Ce=r.zrId+"-cls-"+getClassId();r.cssNodes["."+Ce]={animation:V.join(",")},t.class=Ce}}function createCSSEmphasis(n,t,r){if(!n.ignore)if(n.isSilent()){var i={"pointer-events":"none"};setClassAttribute(i,t,r,!0)}else{var g=n.states.emphasis&&n.states.emphasis.style?n.states.emphasis.style:{},$=g.fill;if(!$){var V=n.style&&n.style.fill,re=n.states.select&&n.states.select.style&&n.states.select.style.fill,ie=n.currentStates.indexOf("select")>=0&&re||V;ie&&($=liftColor(ie))}var ae=g.lineWidth;if(ae){var oe=!g.strokeNoScale&&n.transform?n.transform[0]:1;ae=ae/oe}var i={cursor:"pointer"};$&&(i.fill=$),g.stroke&&(i.stroke=g.stroke),ae&&(i["stroke-width"]=ae),setClassAttribute(i,t,r,!0)}}function setClassAttribute(n,t,r,i){var g=JSON.stringify(n),$=r.cssStyleCache[g];$||($=r.zrId+"-cls-"+getClassId(),r.cssStyleCache[g]=$,r.cssNodes["."+$+(i?":hover":"")]=n),t.class=t.class?t.class+" "+$:$}var round=Math.round;function isImageLike(n){return n&&isString(n.src)}function isCanvasLike(n){return n&&isFunction(n.toDataURL)}function setStyleAttrs(n,t,r,i){mapStyleToAttrs(function(g,$){var V=g==="fill"||g==="stroke";V&&isGradient($)?setGradient(t,n,g,i):V&&isPattern($)?setPattern(r,n,g,i):n[g]=$,V&&i.ssr&&$==="none"&&(n["pointer-events"]="visible")},t,r,!1),setShadow(r,n,i)}function setMetaData(n,t){var r=getElementSSRData(t);r&&(r.each(function(i,g){i!=null&&(n[(META_DATA_PREFIX+g).toLowerCase()]=i+"")}),t.isSilent()&&(n[META_DATA_PREFIX+"silent"]="true"))}function noRotateScale(n){return isAroundZero(n[0]-1)&&isAroundZero(n[1])&&isAroundZero(n[2])&&isAroundZero(n[3]-1)}function noTranslate(n){return isAroundZero(n[4])&&isAroundZero(n[5])}function setTransform(n,t,r){if(t&&!(noTranslate(t)&&noRotateScale(t))){var i=r?10:1e4;n.transform=noRotateScale(t)?"translate("+round(t[4]*i)/i+" "+round(t[5]*i)/i+")":getMatrixStr(t)}}function convertPolyShape(n,t,r){for(var i=n.points,g=[],$=0;$"u"){var _e="Image width/height must been given explictly in svg-ssr renderer.";assert(ue,_e),assert(de,_e)}else if(ue==null||de==null){var Ce=function(ze,Pt){if(ze){var qe=ze.elm,Et=ue||Pt.width,kt=de||Pt.height;ze.tag==="pattern"&&(ae?(kt=1,Et/=$.width):oe&&(Et=1,kt/=$.height)),ze.attrs.width=Et,ze.attrs.height=kt,qe&&(qe.setAttribute("width",Et),qe.setAttribute("height",kt))}},xe=createOrUpdateImage(he,null,n,function(ze){ie||Ce($e,ze),Ce(le,ze)});xe&&xe.width&&xe.height&&(ue=ue||xe.width,de=de||xe.height)}le=createVNode("image","img",{href:he,width:ue,height:de}),V.width=ue,V.height=de}else g.svgElement&&(le=clone$2(g.svgElement),V.width=g.svgWidth,V.height=g.svgHeight);if(le){var Ie,Ne;ie?Ie=Ne=1:ae?(Ne=1,Ie=V.width/$.width):oe?(Ie=1,Ne=V.height/$.height):V.patternUnits="userSpaceOnUse",Ie!=null&&!isNaN(Ie)&&(V.width=Ie),Ne!=null&&!isNaN(Ne)&&(V.height=Ne);var Oe=getSRTTransformString(g);Oe&&(V.patternTransform=Oe);var $e=createVNode("pattern","",V,[le]),Ve=vNodeToString($e),Ue=i.patternCache,Fe=Ue[Ve];Fe||(Fe=i.zrId+"-p"+i.patternIdx++,Ue[Ve]=Fe,V.id=Fe,$e=i.defs[Fe]=createVNode("pattern",Fe,V,[le])),t[r]=getIdURL(Fe)}}function setClipPath(n,t,r){var i=r.clipPathCache,g=r.defs,$=i[n.id];if(!$){$=r.zrId+"-c"+r.clipPathIdx++;var V={id:$};i[n.id]=$,g[$]=createVNode("clipPath",$,V,[brushSVGPath(n,r)])}t["clip-path"]=getIdURL($)}function createTextNode(n){return document.createTextNode(n)}function insertBefore(n,t,r){n.insertBefore(t,r)}function removeChild(n,t){n.removeChild(t)}function appendChild(n,t){n.appendChild(t)}function parentNode(n){return n.parentNode}function nextSibling(n){return n.nextSibling}function setTextContent(n,t){n.textContent=t}var colonChar=58,xChar=120,emptyNode=createVNode("","");function isUndef(n){return n===void 0}function isDef(n){return n!==void 0}function createKeyToOldIdx(n,t,r){for(var i={},g=t;g<=r;++g){var $=n[g].key;$!==void 0&&(i[$]=g)}return i}function sameVnode(n,t){var r=n.key===t.key,i=n.tag===t.tag;return i&&r}function createElm(n){var t,r=n.children,i=n.tag;if(isDef(i)){var g=n.elm=createElement$1(i);if(updateAttrs(emptyNode,n),isArray(r))for(t=0;t$?(he=r[ie+1]==null?null:r[ie+1].elm,addVnodes(n,he,r,g,ie)):removeVnodes(n,t,i,$))}function patchVnode(n,t){var r=t.elm=n.elm,i=n.children,g=t.children;n!==t&&(updateAttrs(n,t),isUndef(t.text)?isDef(i)&&isDef(g)?i!==g&&updateChildren(r,i,g):isDef(g)?(isDef(n.text)&&setTextContent(r,""),addVnodes(r,null,g,0,g.length-1)):isDef(i)?removeVnodes(r,i,0,i.length-1):isDef(n.text)&&setTextContent(r,""):n.text!==t.text&&(isDef(i)&&removeVnodes(r,i,0,i.length-1),setTextContent(r,t.text)))}function patch(n,t){if(sameVnode(n,t))patchVnode(n,t);else{var r=n.elm,i=parentNode(r);createElm(t),i!==null&&(insertBefore(i,t.elm,nextSibling(r)),removeVnodes(i,[n],0,0))}return t}var svgId=0,SVGPainter=function(){function n(t,r,i){if(this.type="svg",this.refreshHover=createMethodNotSupport(),this.configLayer=createMethodNotSupport(),this.storage=r,this._opts=i=extend({},i),this.root=t,this._id="zr"+svgId++,this._oldVNode=createSVGVNode(i.width,i.height),t&&!i.ssr){var g=this._viewport=document.createElement("div");g.style.cssText="position:relative;overflow:hidden";var $=this._svgDom=this._oldVNode.elm=createElement$1("svg");updateAttrs(null,this._oldVNode),g.appendChild($),t.appendChild(g)}this.resize(i.width,i.height)}return n.prototype.getType=function(){return this.type},n.prototype.getViewportRoot=function(){return this._viewport},n.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},n.prototype.getSvgDom=function(){return this._svgDom},n.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",patch(this._oldVNode,t),this._oldVNode=t}},n.prototype.renderOneToVNode=function(t){return brush(t,createBrushScope(this._id))},n.prototype.renderToVNode=function(t){t=t||{};var r=this.storage.getDisplayList(!0),i=this._width,g=this._height,$=createBrushScope(this._id);$.animation=t.animation,$.willUpdate=t.willUpdate,$.compress=t.compress,$.emphasis=t.emphasis,$.ssr=this._opts.ssr;var V=[],re=this._bgVNode=createBackgroundVNode(i,g,this._backgroundColor,$);re&&V.push(re);var ie=t.compress?null:this._mainVNode=createVNode("g","main",{},[]);this._paintList(r,$,ie?ie.children:V),ie&&V.push(ie);var ae=map$1(keys($.defs),function(ue){return $.defs[ue]});if(ae.length&&V.push(createVNode("defs","defs",{},ae)),t.animation){var oe=getCssString($.cssNodes,$.cssAnims,{newline:!0});if(oe){var le=createVNode("style","stl",{},[],oe);V.push(le)}}return createSVGVNode(i,g,V,t.useViewBox)},n.prototype.renderToString=function(t){return t=t||{},vNodeToString(this.renderToVNode({animation:retrieve2(t.cssAnimation,!0),emphasis:retrieve2(t.cssEmphasis,!0),willUpdate:!1,compress:!0,useViewBox:retrieve2(t.useViewBox,!0)}),{newline:!0})},n.prototype.setBackgroundColor=function(t){this._backgroundColor=t},n.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},n.prototype._paintList=function(t,r,i){for(var g=t.length,$=[],V=0,re,ie,ae=0,oe=0;oe=0&&!(ue&&ie&&ue[pe]===ie[pe]);pe--);for(var _e=he-1;_e>pe;_e--)V--,re=$[V-1];for(var Ce=pe+1;Cehn?(_n=At+Ue*hn/2,wn=_n):(_n=At+ze,wn=vn-ze),g.setItemLayout(jt,{angle:hn,startAngle:_n,endAngle:wn,clockwise:Ne,cx:ie,cy:ae,r0:le,r:Oe?linearMap(Lt,Ve,[le,oe]):oe}),At=vn}),Etr?Ce:_e,Oe=Math.abs(Ie.label.y-r);if(Oe>=Ne.maxY){var $e=Ie.label.x-t-Ie.len2*g,Ve=i+Ie.len,Ue=Math.abs($e)n.unconstrainedWidth?null:de:null;i.setStyle("width",he)}var pe=i.getBoundingRect();$.width=pe.width;var _e=(i.style.margin||0)+2.1;$.height=pe.height+_e,$.y-=($.height-le)/2}}}function isPositionCenter(n){return n.position==="center"}function pieLabelLayout(n){var t=n.getData(),r=[],i,g,$=!1,V=(n.get("minShowLabelAngle")||0)*RADIAN,re=t.getLayout("viewRect"),ie=t.getLayout("r"),ae=re.width,oe=re.x,le=re.y,ue=re.height;function de($e){$e.ignore=!0}function he($e){if(!$e.ignore)return!0;for(var Ve in $e.states)if($e.states[Ve].ignore===!1)return!0;return!1}t.each(function($e){var Ve=t.getItemGraphicEl($e),Ue=Ve.shape,Fe=Ve.getTextContent(),ze=Ve.getTextGuideLine(),Pt=t.getItemModel($e),qe=Pt.getModel("label"),Et=qe.get("position")||Pt.get(["emphasis","label","position"]),kt=qe.get("distanceToLabelLine"),At=qe.get("alignTo"),Dt=parsePercent(qe.get("edgeDistance"),ae),Lt=qe.get("bleedMargin"),jt=Pt.getModel("labelLine"),hn=jt.get("length");hn=parsePercent(hn,ae);var vn=jt.get("length2");if(vn=parsePercent(vn,ae),Math.abs(Ue.endAngle-Ue.startAngle)0?"right":"left":wn>0?"left":"right"}var On=Math.PI,Hn=0,Xn=qe.get("rotate");if(isNumber(Xn))Hn=Xn*(On/180);else if(Et==="center")Hn=0;else if(Xn==="radial"||Xn===!0){var In=wn<0?-_n+On:-_n;Hn=In}else if(Xn==="tangential"&&Et!=="outside"&&Et!=="outer"){var or=Math.atan2(wn,bn);or<0&&(or=On*2+or);var Qn=bn>0;Qn&&(or=On+or),Hn=or-On}if($=!!Hn,Fe.x=Cn,Fe.y=Sn,Fe.rotation=Hn,Fe.setStyle({verticalAlign:"middle"}),kn){Fe.setStyle({align:En});var Rn=Fe.states.select;Rn&&(Rn.x+=Fe.x,Rn.y+=Fe.y)}else{var Zn=Fe.getBoundingRect().clone();Zn.applyTransform(Fe.getComputedTransform());var Gn=(Fe.style.margin||0)+2.1;Zn.y-=Gn/2,Zn.height+=Gn,r.push({label:Fe,labelLine:ze,position:Et,len:hn,len2:vn,minTurnAngle:jt.get("minTurnAngle"),maxSurfaceAngle:jt.get("maxSurfaceAngle"),surfaceNormal:new Point$1(wn,bn),linePoints:Tn,textAlign:En,labelDistance:kt,labelAlignTo:At,edgeDistance:Dt,bleedMargin:Lt,rect:Zn,unconstrainedWidth:Zn.width,labelStyleWidth:Fe.style.width})}Ve.setTextConfig({inside:kn})}}),!$&&n.get("avoidLabelOverlap")&&avoidOverlap(r,i,g,ie,ae,ue,oe,le);for(var pe=0;pe0){for(var oe=V.getItemLayout(0),le=1;isNaN(oe&&oe.startAngle)&&le=$.r0}},t.type="pie",t}(ChartView$1);const PieView$1=PieView;function createSeriesDataSimply(n,t,r){t=isArray(t)&&{coordDimensions:t}||extend({encodeDefine:n.getEncode()},t);var i=n.getSource(),g=prepareSeriesDataSchema(i,t).dimensions,$=new SeriesData$1(g,n);return $.initData(i,r),$}var LegendVisualProvider=function(){function n(t,r){this._getDataWithEncodedVisual=t,this._getRawData=r}return n.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},n.prototype.containName=function(t){var r=this._getRawData();return r.indexOfName(t)>=0},n.prototype.indexOfName=function(t){var r=this._getDataWithEncodedVisual();return r.indexOfName(t)},n.prototype.getItemVisual=function(t,r){var i=this._getDataWithEncodedVisual();return i.getItemVisual(t,r)},n}();const LegendVisualProvider$1=LegendVisualProvider;var innerData=makeInner(),PieSeriesModel=function(n){__extends(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.init=function(r){n.prototype.init.apply(this,arguments),this.legendVisualProvider=new LegendVisualProvider$1(bind$1(this.getData,this),bind$1(this.getRawData,this)),this._defaultLabelLine(r)},t.prototype.mergeOption=function(){n.prototype.mergeOption.apply(this,arguments)},t.prototype.getInitialData=function(){return createSeriesDataSimply(this,{coordDimensions:["value"],encodeDefaulter:curry$1(makeSeriesEncodeForNameBased,this)})},t.prototype.getDataParams=function(r){var i=this.getData(),g=innerData(i),$=g.seats;if(!$){var V=[];i.each(i.mapDimension("value"),function(ie){V.push(ie)}),$=g.seats=getPercentSeats(V,i.hostModel.get("percentPrecision"))}var re=n.prototype.getDataParams.call(this,r);return re.percent=$[r]||0,re.$vars.push("percent"),re},t.prototype._defaultLabelLine=function(r){defaultEmphasis(r,"labelLine",["show"]);var i=r.labelLine,g=r.emphasis.labelLine;i.show=i.show&&r.label.show,g.show=g.show&&r.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}(SeriesModel$1);const PieSeriesModel$1=PieSeriesModel;function negativeDataFilter(n){return{seriesType:n,reset:function(t,r){var i=t.getData();i.filterSelf(function(g){var $=i.mapDimension("value"),V=i.get($,g);return!(isNumber(V)&&!isNaN(V)&&V<0)})}}}function install$6(n){n.registerChartView(PieView$1),n.registerSeriesModel(PieSeriesModel$1),createLegacyDataSelectAction("pie",n.registerAction),n.registerLayout(curry$1(pieLayout,"pie")),n.registerProcessor(dataFilter("pie")),n.registerProcessor(negativeDataFilter("pie"))}function layout(n,t,r){r=r||{};var i=n.coordinateSystem,g=t.axis,$={},V=g.getAxesOnZeroOf()[0],re=g.position,ie=V?"onZero":re,ae=g.dim,oe=i.getRect(),le=[oe.x,oe.x+oe.width,oe.y,oe.y+oe.height],ue={left:0,right:1,top:0,bottom:1,onZero:2},de=t.get("offset")||0,he=ae==="x"?[le[2]-de,le[3]+de]:[le[0]-de,le[1]+de];if(V){var pe=V.toGlobalCoord(V.dataToCoord(0));he[ue.onZero]=Math.max(Math.min(pe,he[1]),he[0])}$.position=[ae==="y"?he[ue[ie]]:le[0],ae==="x"?he[ue[ie]]:le[3]],$.rotation=Math.PI/2*(ae==="x"?0:1);var _e={top:-1,bottom:1,left:-1,right:1};$.labelDirection=$.tickDirection=$.nameDirection=_e[re],$.labelOffset=V?he[ue[re]]-he[ue.onZero]:0,t.get(["axisTick","inside"])&&($.tickDirection=-$.tickDirection),retrieve(r.labelInside,t.get(["axisLabel","inside"]))&&($.labelDirection=-$.labelDirection);var Ce=t.get(["axisLabel","rotate"]);return $.labelRotate=ie==="top"?-Ce:Ce,$.z2=1,$}var PI=Math.PI,AxisBuilder=function(){function n(t,r){this.group=new Group$3,this.opt=r,this.axisModel=t,defaults(r,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var i=new Group$3({x:r.position[0],y:r.position[1],rotation:r.rotation});i.updateTransform(),this._transformGroup=i}return n.prototype.hasBuilder=function(t){return!!builders[t]},n.prototype.add=function(t){builders[t](this.opt,this.axisModel,this.group,this._transformGroup)},n.prototype.getGroup=function(){return this.group},n.innerTextLayout=function(t,r,i){var g=remRadian(r-t),$,V;return isRadianAroundZero(g)?(V=i>0?"top":"bottom",$="center"):isRadianAroundZero(g-PI)?(V=i>0?"bottom":"top",$="center"):(V="middle",g>0&&g0?"right":"left":$=i>0?"left":"right"),{rotation:g,textAlign:$,textVerticalAlign:V}},n.makeAxisEventDataBase=function(t){var r={componentType:t.mainType,componentIndex:t.componentIndex};return r[t.mainType+"Index"]=t.componentIndex,r},n.isLabelSilent=function(t){var r=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||r&&r.show)},n}(),builders={axisLine:function(n,t,r,i){var g=t.get(["axisLine","show"]);if(g==="auto"&&n.handleAutoShown&&(g=n.handleAutoShown("axisLine")),!!g){var $=t.axis.getExtent(),V=i.transform,re=[$[0],0],ie=[$[1],0],ae=re[0]>ie[0];V&&(applyTransform$1(re,re,V),applyTransform$1(ie,ie,V));var oe=extend({lineCap:"round"},t.getModel(["axisLine","lineStyle"]).getLineStyle()),le=new Line$1({shape:{x1:re[0],y1:re[1],x2:ie[0],y2:ie[1]},style:oe,strokeContainThreshold:n.strokeContainThreshold||5,silent:!0,z2:1});subPixelOptimizeLine(le.shape,le.style.lineWidth),le.anid="line",r.add(le);var ue=t.get(["axisLine","symbol"]);if(ue!=null){var de=t.get(["axisLine","symbolSize"]);isString(ue)&&(ue=[ue,ue]),(isString(de)||isNumber(de))&&(de=[de,de]);var he=normalizeSymbolOffset(t.get(["axisLine","symbolOffset"])||0,de),pe=de[0],_e=de[1];each$4([{rotate:n.rotation+Math.PI/2,offset:he[0],r:0},{rotate:n.rotation-Math.PI/2,offset:he[1],r:Math.sqrt((re[0]-ie[0])*(re[0]-ie[0])+(re[1]-ie[1])*(re[1]-ie[1]))}],function(Ce,xe){if(ue[xe]!=="none"&&ue[xe]!=null){var Ie=createSymbol(ue[xe],-pe/2,-_e/2,pe,_e,oe.stroke,!0),Ne=Ce.r+Ce.offset,Oe=ae?ie:re;Ie.attr({rotation:Ce.rotate,x:Oe[0]+Ne*Math.cos(n.rotation),y:Oe[1]-Ne*Math.sin(n.rotation),silent:!0,z2:11}),r.add(Ie)}})}}},axisTickLabel:function(n,t,r,i){var g=buildAxisMajorTicks(r,i,t,n),$=buildAxisLabel(r,i,t,n);if(fixMinMaxLabelShow(t,$,g),buildAxisMinorTicks(r,i,t,n.tickDirection),t.get(["axisLabel","hideOverlap"])){var V=prepareLayoutList(map$1($,function(re){return{label:re,priority:re.z2,defaultAttr:{ignore:re.ignore}}}));hideOverlap(V)}},axisName:function(n,t,r,i){var g=retrieve(n.axisName,t.get("name"));if(g){var $=t.get("nameLocation"),V=n.nameDirection,re=t.getModel("nameTextStyle"),ie=t.get("nameGap")||0,ae=t.axis.getExtent(),oe=ae[0]>ae[1]?-1:1,le=[$==="start"?ae[0]-oe*ie:$==="end"?ae[1]+oe*ie:(ae[0]+ae[1])/2,isNameLocationCenter($)?n.labelOffset+V*ie:0],ue,de=t.get("nameRotate");de!=null&&(de=de*PI/180);var he;isNameLocationCenter($)?ue=AxisBuilder.innerTextLayout(n.rotation,de??n.rotation,V):(ue=endTextLayout(n.rotation,$,de||0,ae),he=n.axisNameAvailableWidth,he!=null&&(he=Math.abs(he/Math.sin(ue.rotation)),!isFinite(he)&&(he=null)));var pe=re.getFont(),_e=t.get("nameTruncate",!0)||{},Ce=_e.ellipsis,xe=retrieve(n.nameTruncateMaxWidth,_e.maxWidth,he),Ie=new ZRText$1({x:le[0],y:le[1],rotation:ue.rotation,silent:AxisBuilder.isLabelSilent(t),style:createTextStyle(re,{text:g,font:pe,overflow:"truncate",width:xe,ellipsis:Ce,fill:re.getTextColor()||t.get(["axisLine","lineStyle","color"]),align:re.get("align")||ue.textAlign,verticalAlign:re.get("verticalAlign")||ue.textVerticalAlign}),z2:1});if(setTooltipConfig({el:Ie,componentModel:t,itemName:g}),Ie.__fullText=g,Ie.anid="name",t.get("triggerEvent")){var Ne=AxisBuilder.makeAxisEventDataBase(t);Ne.targetType="axisName",Ne.name=g,getECData(Ie).eventData=Ne}i.add(Ie),Ie.updateTransform(),r.add(Ie),Ie.decomposeTransform()}}};function endTextLayout(n,t,r,i){var g=remRadian(r-n),$,V,re=i[0]>i[1],ie=t==="start"&&!re||t!=="start"&&re;return isRadianAroundZero(g-PI/2)?(V=ie?"bottom":"top",$="center"):isRadianAroundZero(g-PI*1.5)?(V=ie?"top":"bottom",$="center"):(V="middle",gPI/2?$=ie?"left":"right":$=ie?"right":"left"),{rotation:g,textAlign:$,textVerticalAlign:V}}function fixMinMaxLabelShow(n,t,r){if(!shouldShowAllLabels(n.axis)){var i=n.get(["axisLabel","showMinLabel"]),g=n.get(["axisLabel","showMaxLabel"]);t=t||[],r=r||[];var $=t[0],V=t[1],re=t[t.length-1],ie=t[t.length-2],ae=r[0],oe=r[1],le=r[r.length-1],ue=r[r.length-2];i===!1?(ignoreEl($),ignoreEl(ae)):isTwoLabelOverlapped($,V)&&(i?(ignoreEl(V),ignoreEl(oe)):(ignoreEl($),ignoreEl(ae))),g===!1?(ignoreEl(re),ignoreEl(le)):isTwoLabelOverlapped(ie,re)&&(g?(ignoreEl(ie),ignoreEl(ue)):(ignoreEl(re),ignoreEl(le)))}}function ignoreEl(n){n&&(n.ignore=!0)}function isTwoLabelOverlapped(n,t){var r=n&&n.getBoundingRect().clone(),i=t&&t.getBoundingRect().clone();if(!(!r||!i)){var g=identity([]);return rotate(g,g,-n.rotation),r.applyTransform(mul([],g,n.getLocalTransform())),i.applyTransform(mul([],g,t.getLocalTransform())),r.intersect(i)}}function isNameLocationCenter(n){return n==="middle"||n==="center"}function createTicks(n,t,r,i,g){for(var $=[],V=[],re=[],ie=0;ie=0||n===t}function fixValue(n){var t=getAxisInfo(n);if(t){var r=t.axisPointerModel,i=t.axis.scale,g=r.option,$=r.get("status"),V=r.get("value");V!=null&&(V=i.parse(V));var re=isHandleTrigger(r);$==null&&(g.status=re?"show":"hide");var ie=i.getExtent().slice();ie[0]>ie[1]&&ie.reverse(),(V==null||V>ie[1])&&(V=ie[1]),Vre)return!0;if(V){var ie=getAxisInfo(t).seriesDataCount,ae=g.getExtent();return Math.abs(ae[0]-ae[1])/ie>re}return!1}return i===!0},n.prototype.makeElOption=function(t,r,i,g,$){},n.prototype.createPointerEl=function(t,r,i,g){var $=r.pointer;if($){var V=inner$2(t).pointerEl=new graphic[$.type](clone(r.pointer));t.add(V)}},n.prototype.createLabelEl=function(t,r,i,g){if(r.label){var $=inner$2(t).labelEl=new ZRText$1(clone(r.label));t.add($),updateLabelShowHide($,g)}},n.prototype.updatePointerEl=function(t,r,i){var g=inner$2(t).pointerEl;g&&r.pointer&&(g.setStyle(r.pointer.style),i(g,{shape:r.pointer.shape}))},n.prototype.updateLabelEl=function(t,r,i,g){var $=inner$2(t).labelEl;$&&($.setStyle(r.label.style),i($,{x:r.label.x,y:r.label.y}),updateLabelShowHide($,g))},n.prototype._renderHandle=function(t){if(!(this._dragging||!this.updateHandleTransform)){var r=this._axisPointerModel,i=this._api.getZr(),g=this._handle,$=r.getModel("handle"),V=r.get("status");if(!$.get("show")||!V||V==="hide"){g&&i.remove(g),this._handle=null;return}var re;this._handle||(re=!0,g=this._handle=createIcon($.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(ae){stop(ae.event)},onmousedown:bind(this._onHandleDragMove,this,0,0),drift:bind(this._onHandleDragMove,this),ondragend:bind(this._onHandleDragEnd,this)}),i.add(g)),updateMandatoryProps(g,r,!1),g.setStyle($.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var ie=$.get("size");isArray(ie)||(ie=[ie,ie]),g.scaleX=ie[0]/2,g.scaleY=ie[1]/2,createOrUpdate(this,"_doDispatchAxisPointer",$.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,re)}},n.prototype._moveHandleToValue=function(t,r){updateProps(this._axisPointerModel,!r&&this._moveAnimation,this._handle,getHandleTransProps(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},n.prototype._onHandleDragMove=function(t,r){var i=this._handle;if(i){this._dragging=!0;var g=this.updateHandleTransform(getHandleTransProps(i),[t,r],this._axisModel,this._axisPointerModel);this._payloadInfo=g,i.stopAnimation(),i.attr(getHandleTransProps(g)),inner$2(i).lastProp=null,this._doDispatchAxisPointer()}},n.prototype._doDispatchAxisPointer=function(){var t=this._handle;if(t){var r=this._payloadInfo,i=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:r.cursorPoint[0],y:r.cursorPoint[1],tooltipOption:r.tooltipOption,axesInfo:[{axisDim:i.axis.dim,axisIndex:i.componentIndex}]})}},n.prototype._onHandleDragEnd=function(){this._dragging=!1;var t=this._handle;if(t){var r=this._axisPointerModel.get("value");this._moveHandleToValue(r),this._api.dispatchAction({type:"hideTip"})}},n.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var r=t.getZr(),i=this._group,g=this._handle;r&&i&&(this._lastGraphicKey=null,i&&r.remove(i),g&&r.remove(g),this._group=null,this._handle=null,this._payloadInfo=null),clear(this,"_doDispatchAxisPointer")},n.prototype.doClear=function(){},n.prototype.buildLabel=function(t,r,i){return i=i||0,{x:t[i],y:t[1-i],width:r[i],height:r[1-i]}},n}();function updateProps(n,t,r,i){propsEqual(inner$2(r).lastProp,i)||(inner$2(r).lastProp=i,t?updateProps$1(r,i,n):(r.stopAnimation(),r.attr(i)))}function propsEqual(n,t){if(isObject$2(n)&&isObject$2(t)){var r=!0;return each$4(t,function(i,g){r=r&&propsEqual(n[g],i)}),!!r}else return n===t}function updateLabelShowHide(n,t){n[t.get(["label","show"])?"show":"hide"]()}function getHandleTransProps(n){return{x:n.x||0,y:n.y||0,rotation:n.rotation||0}}function updateMandatoryProps(n,t,r){var i=t.get("z"),g=t.get("zlevel");n&&n.traverse(function($){$.type!=="group"&&(i!=null&&($.z=i),g!=null&&($.zlevel=g),$.silent=r)})}const BaseAxisPointer$1=BaseAxisPointer;function buildElStyle(n){var t=n.get("type"),r=n.getModel(t+"Style"),i;return t==="line"?(i=r.getLineStyle(),i.fill=null):t==="shadow"&&(i=r.getAreaStyle(),i.stroke=null),i}function buildLabelElOption(n,t,r,i,g){var $=r.get("value"),V=getValueLabel($,t.axis,t.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),re=r.getModel("label"),ie=normalizeCssArray(re.get("padding")||0),ae=re.getFont(),oe=getBoundingRect(V,ae),le=g.position,ue=oe.width+ie[1]+ie[3],de=oe.height+ie[0]+ie[2],he=g.align;he==="right"&&(le[0]-=ue),he==="center"&&(le[0]-=ue/2);var pe=g.verticalAlign;pe==="bottom"&&(le[1]-=de),pe==="middle"&&(le[1]-=de/2),confineInContainer(le,ue,de,i);var _e=re.get("backgroundColor");(!_e||_e==="auto")&&(_e=t.get(["axisLine","lineStyle","color"])),n.label={x:le[0],y:le[1],style:createTextStyle(re,{text:V,font:ae,fill:re.getTextColor(),padding:ie,backgroundColor:_e}),z2:10}}function confineInContainer(n,t,r,i){var g=i.getWidth(),$=i.getHeight();n[0]=Math.min(n[0]+t,g)-t,n[1]=Math.min(n[1]+r,$)-r,n[0]=Math.max(n[0],0),n[1]=Math.max(n[1],0)}function getValueLabel(n,t,r,i,g){n=t.scale.parse(n);var $=t.scale.getLabel({value:n},{precision:g.precision}),V=g.formatter;if(V){var re={value:getAxisRawValue(t,{value:n}),axisDimension:t.dim,axisIndex:t.index,seriesData:[]};each$4(i,function(ie){var ae=r.getSeriesByIndex(ie.seriesIndex),oe=ie.dataIndexInside,le=ae&&ae.getDataParams(oe);le&&re.seriesData.push(le)}),isString(V)?$=V.replace("{value}",$):isFunction(V)&&($=V(re))}return $}function getTransformedPosition(n,t,r){var i=create();return rotate(i,i,r.rotation),translate(i,i,r.position),applyTransform([n.dataToCoord(t),(r.labelOffset||0)+(r.labelDirection||1)*(r.labelMargin||0)],i)}function buildCartesianSingleLabelElOption(n,t,r,i,g,$){var V=AxisBuilder$1.innerTextLayout(r.rotation,0,r.labelDirection);r.labelMargin=g.get(["label","margin"]),buildLabelElOption(t,i,g,$,{position:getTransformedPosition(i.axis,n,r),align:V.textAlign,verticalAlign:V.textVerticalAlign})}function makeLineShape(n,t,r){return r=r||0,{x1:n[r],y1:n[1-r],x2:t[r],y2:t[1-r]}}function makeRectShape(n,t,r){return r=r||0,{x:n[r],y:n[1-r],width:t[r],height:t[1-r]}}var CartesianAxisPointer=function(n){__extends(t,n);function t(){return n!==null&&n.apply(this,arguments)||this}return t.prototype.makeElOption=function(r,i,g,$,V){var re=g.axis,ie=re.grid,ae=$.get("type"),oe=getCartesian(ie,re).getOtherAxis(re).getGlobalExtent(),le=re.toGlobalCoord(re.dataToCoord(i,!0));if(ae&&ae!=="none"){var ue=buildElStyle($),de=pointerShapeBuilder[ae](re,le,oe);de.style=ue,r.graphicKey=de.type,r.pointer=de}var he=layout(ie.model,g);buildCartesianSingleLabelElOption(i,r,he,g,$,V)},t.prototype.getHandleTransform=function(r,i,g){var $=layout(i.axis.grid.model,i,{labelInside:!1});$.labelMargin=g.get(["handle","margin"]);var V=getTransformedPosition(i.axis,r,$);return{x:V[0],y:V[1],rotation:$.rotation+($.labelDirection<0?Math.PI:0)}},t.prototype.updateHandleTransform=function(r,i,g,$){var V=g.axis,re=V.grid,ie=V.getGlobalExtent(!0),ae=getCartesian(re,V).getOtherAxis(V).getGlobalExtent(),oe=V.dim==="x"?0:1,le=[r.x,r.y];le[oe]+=i[oe],le[oe]=Math.min(ie[1],le[oe]),le[oe]=Math.max(ie[0],le[oe]);var ue=(ae[1]+ae[0])/2,de=[ue,ue];de[oe]=le[oe];var he=[{verticalAlign:"middle"},{align:"center"}];return{x:le[0],y:le[1],rotation:r.rotation,cursorPoint:de,tooltipOption:he[oe]}},t}(BaseAxisPointer$1);function getCartesian(n,t){var r={};return r[t.dim+"AxisIndex"]=t.index,n.getCartesian(r)}var pointerShapeBuilder={line:function(n,t,r){var i=makeLineShape([t,r[0]],[t,r[1]],getAxisDimIndex(n));return{type:"Line",subPixelOptimize:!0,shape:i}},shadow:function(n,t,r){var i=Math.max(1,n.getBandWidth()),g=r[1]-r[0];return{type:"Rect",shape:makeRectShape([t-i/2,r[0]],[i,g],getAxisDimIndex(n))}}};function getAxisDimIndex(n){return n.dim==="x"?0:1}const CartesianAxisPointer$1=CartesianAxisPointer;var AxisPointerModel=function(n){__extends(t,n);function t(){var r=n!==null&&n.apply(this,arguments)||this;return r.type=t.type,r}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}(ComponentModel$1);const AxisPointerModel$1=AxisPointerModel;var inner$1=makeInner(),each$1=each$4;function register(n,t,r){if(!env$1.node){var i=t.getZr();inner$1(i).records||(inner$1(i).records={}),initGlobalListeners(i,t);var g=inner$1(i).records[n]||(inner$1(i).records[n]={});g.handler=r}}function initGlobalListeners(n,t){if(inner$1(n).initialized)return;inner$1(n).initialized=!0,r("click",curry$1(doEnter,"click")),r("mousemove",curry$1(doEnter,"mousemove")),r("globalout",onLeave);function r(i,g){n.on(i,function($){var V=makeDispatchAction$1(t);each$1(inner$1(n).records,function(re){re&&g(re,$,V.dispatchAction)}),dispatchTooltipFinally(V.pendings,t)})}}function dispatchTooltipFinally(n,t){var r=n.showTip.length,i=n.hideTip.length,g;r?g=n.showTip[r-1]:i&&(g=n.hideTip[i-1]),g&&(g.dispatchAction=null,t.dispatchAction(g))}function onLeave(n,t,r){n.handler("leave",null,r)}function doEnter(n,t,r,i){t.handler(n,r,i)}function makeDispatchAction$1(n){var t={showTip:[],hideTip:[]},r=function(i){var g=t[i.type];g?g.push(i):(i.dispatchAction=r,n.dispatchAction(i))};return{dispatchAction:r,pendings:t}}function unregister(n,t){if(!env$1.node){var r=t.getZr(),i=(inner$1(r).records||{})[n];i&&(inner$1(r).records[n]=null)}}var AxisPointerView=function(n){__extends(t,n);function t(){var r=n!==null&&n.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,i,g){var $=i.getComponent("tooltip"),V=r.get("triggerOn")||$&&$.get("triggerOn")||"mousemove|click";register("axisPointer",g,function(re,ie,ae){V!=="none"&&(re==="leave"||V.indexOf(re)>=0)&&ae({type:"updateAxisPointer",currTrigger:re,x:ie&&ie.offsetX,y:ie&&ie.offsetY})})},t.prototype.remove=function(r,i){unregister("axisPointer",i)},t.prototype.dispose=function(r,i){unregister("axisPointer",i)},t.type="axisPointer",t}(ComponentView$1);const AxisPointerView$1=AxisPointerView;function findPointFromSeries(n,t){var r=[],i=n.seriesIndex,g;if(i==null||!(g=t.getSeriesByIndex(i)))return{point:[]};var $=g.getData(),V=queryDataIndex($,n);if(V==null||V<0||isArray(V))return{point:[]};var re=$.getItemGraphicEl(V),ie=g.coordinateSystem;if(g.getTooltipPosition)r=g.getTooltipPosition(V)||[];else if(ie&&ie.dataToPoint)if(n.isStacked){var ae=ie.getBaseAxis(),oe=ie.getOtherAxis(ae),le=oe.dim,ue=ae.dim,de=le==="x"||le==="radius"?1:0,he=$.mapDimension(ue),pe=[];pe[de]=$.get(he,V),pe[1-de]=$.get($.getCalculationInfo("stackResultDimension"),V),r=ie.dataToPoint(pe)||[]}else r=ie.dataToPoint($.getValues(map$1(ie.dimensions,function(Ce){return $.mapDimension(Ce)}),V))||[];else if(re){var _e=re.getBoundingRect().clone();_e.applyTransform(re.transform),r=[_e.x+_e.width/2,_e.y+_e.height/2]}return{point:r,el:re}}var inner=makeInner();function axisTrigger(n,t,r){var i=n.currTrigger,g=[n.x,n.y],$=n,V=n.dispatchAction||bind$1(r.dispatchAction,r),re=t.getComponent("axisPointer").coordSysAxesInfo;if(re){illegalPoint(g)&&(g=findPointFromSeries({seriesIndex:$.seriesIndex,dataIndex:$.dataIndex},t).point);var ie=illegalPoint(g),ae=$.axesInfo,oe=re.axesInfo,le=i==="leave"||illegalPoint(g),ue={},de={},he={list:[],map:{}},pe={showPointer:curry$1(showPointer,de),showTooltip:curry$1(showTooltip,he)};each$4(re.coordSysMap,function(Ce,xe){var Ie=ie||Ce.containPoint(g);each$4(re.coordSysAxesInfo[xe],function(Ne,Oe){var $e=Ne.axis,Ve=findInputAxisInfo(ae,Ne);if(!le&&Ie&&(!ae||Ve)){var Ue=Ve&&Ve.value;Ue==null&&!ie&&(Ue=$e.pointToData(g)),Ue!=null&&processOnAxis(Ne,Ue,pe,!1,ue)}})});var _e={};return each$4(oe,function(Ce,xe){var Ie=Ce.linkGroup;Ie&&!de[xe]&&each$4(Ie.axesInfo,function(Ne,Oe){var $e=de[Oe];if(Ne!==Ce&&$e){var Ve=$e.value;Ie.mapper&&(Ve=Ce.axis.scale.parse(Ie.mapper(Ve,makeMapperParam(Ne),makeMapperParam(Ce)))),_e[Ce.key]=Ve}})}),each$4(_e,function(Ce,xe){processOnAxis(oe[xe],Ce,pe,!0,ue)}),updateModelActually(de,oe,ue),dispatchTooltipActually(he,g,n,V),dispatchHighDownActually(oe,V,r),ue}}function processOnAxis(n,t,r,i,g){var $=n.axis;if(!($.scale.isBlank()||!$.containData(t))){if(!n.involveSeries){r.showPointer(n,t);return}var V=buildPayloadsBySeries(t,n),re=V.payloadBatch,ie=V.snapToValue;re[0]&&g.seriesIndex==null&&extend(g,re[0]),!i&&n.snap&&$.containData(ie)&&ie!=null&&(t=ie),r.showPointer(n,t,re),r.showTooltip(n,V,ie)}}function buildPayloadsBySeries(n,t){var r=t.axis,i=r.dim,g=n,$=[],V=Number.MAX_VALUE,re=-1;return each$4(t.seriesModels,function(ie,ae){var oe=ie.getData().mapDimensionsAll(i),le,ue;if(ie.getAxisTooltipData){var de=ie.getAxisTooltipData(oe,n,r);ue=de.dataIndices,le=de.nestestValue}else{if(ue=ie.getData().indicesOfNearest(oe[0],n,r.type==="category"?.5:null),!ue.length)return;le=ie.getData().get(oe[0],ue[0])}if(!(le==null||!isFinite(le))){var he=n-le,pe=Math.abs(he);pe<=V&&((pe=0&&re<0)&&(V=pe,re=he,g=le,$.length=0),each$4(ue,function(_e){$.push({seriesIndex:ie.seriesIndex,dataIndexInside:_e,dataIndex:ie.getData().getRawIndex(_e)})}))}}),{payloadBatch:$,snapToValue:g}}function showPointer(n,t,r,i){n[t.key]={value:r,payloadBatch:i}}function showTooltip(n,t,r,i){var g=r.payloadBatch,$=t.axis,V=$.model,re=t.axisPointerModel;if(!(!t.triggerTooltip||!g.length)){var ie=t.coordSys.model,ae=makeKey(ie),oe=n.map[ae];oe||(oe=n.map[ae]={coordSysId:ie.id,coordSysIndex:ie.componentIndex,coordSysType:ie.type,coordSysMainType:ie.mainType,dataByAxis:[]},n.list.push(oe)),oe.dataByAxis.push({axisDim:$.dim,axisIndex:V.componentIndex,axisType:V.type,axisId:V.id,value:i,valueLabelOpt:{precision:re.get(["label","precision"]),formatter:re.get(["label","formatter"])},seriesDataIndices:g.slice()})}}function updateModelActually(n,t,r){var i=r.axesInfo=[];each$4(t,function(g,$){var V=g.axisPointerModel.option,re=n[$];re?(!g.useHandle&&(V.status="show"),V.value=re.value,V.seriesDataIndices=(re.payloadBatch||[]).slice()):!g.useHandle&&(V.status="hide"),V.status==="show"&&i.push({axisDim:g.axis.dim,axisIndex:g.axis.model.componentIndex,value:V.value})})}function dispatchTooltipActually(n,t,r,i){if(illegalPoint(t)||!n.list.length){i({type:"hideTip"});return}var g=((n.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};i({type:"showTip",escapeConnect:!0,x:t[0],y:t[1],tooltipOption:r.tooltipOption,position:r.position,dataIndexInside:g.dataIndexInside,dataIndex:g.dataIndex,seriesIndex:g.seriesIndex,dataByCoordSys:n.list})}function dispatchHighDownActually(n,t,r){var i=r.getZr(),g="axisPointerLastHighlights",$=inner(i)[g]||{},V=inner(i)[g]={};each$4(n,function(ae,oe){var le=ae.axisPointerModel.option;le.status==="show"&&ae.triggerEmphasis&&each$4(le.seriesDataIndices,function(ue){var de=ue.seriesIndex+" | "+ue.dataIndex;V[de]=ue})});var re=[],ie=[];each$4($,function(ae,oe){!V[oe]&&ie.push(ae)}),each$4(V,function(ae,oe){!$[oe]&&re.push(ae)}),ie.length&&r.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:ie}),re.length&&r.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:re})}function findInputAxisInfo(n,t){for(var r=0;r<(n||[]).length;r++){var i=n[r];if(t.axis.dim===i.axisDim&&t.axis.model.componentIndex===i.axisIndex)return i}}function makeMapperParam(n){var t=n.axis.model,r={},i=r.axisDim=n.axis.dim;return r.axisIndex=r[i+"AxisIndex"]=t.componentIndex,r.axisName=r[i+"AxisName"]=t.name,r.axisId=r[i+"AxisId"]=t.id,r}function illegalPoint(n){return!n||n[0]==null||isNaN(n[0])||n[1]==null||isNaN(n[1])}function install$5(n){AxisView$1.registerAxisPointerClass("CartesianAxisPointer",CartesianAxisPointer$1),n.registerComponentModel(AxisPointerModel$1),n.registerComponentView(AxisPointerView$1),n.registerPreprocessor(function(t){if(t){(!t.axisPointer||t.axisPointer.length===0)&&(t.axisPointer={});var r=t.axisPointer.link;r&&!isArray(r)&&(t.axisPointer.link=[r])}}),n.registerProcessor(n.PRIORITY.PROCESSOR.STATISTIC,function(t,r){t.getComponent("axisPointer").coordSysAxesInfo=collect(t,r)}),n.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},axisTrigger)}function makeBackground(n,t){var r=normalizeCssArray(t.get("padding")),i=t.getItemStyle(["color","opacity"]);return i.fill=t.get("backgroundColor"),n=new Rect$1({shape:{x:n.x-r[3],y:n.y-r[0],width:n.width+r[1]+r[3],height:n.height+r[0]+r[2],r:t.get("borderRadius")},style:i,silent:!0,z2:-1}),n}var TooltipModel=function(n){__extends(t,n);function t(){var r=n!==null&&n.apply(this,arguments)||this;return r.type=t.type,r}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}(ComponentModel$1);const TooltipModel$1=TooltipModel;function shouldTooltipConfine(n){var t=n.get("confine");return t!=null?!!t:n.get("renderMode")==="richText"}function testStyle(n){if(env$1.domSupported){for(var t=document.documentElement.style,r=0,i=n.length;r-1?(re+="top:50%",ie+="translateY(-50%) rotate("+(ae=$==="left"?-225:-45)+"deg)"):(re+="left:50%",ie+="translateX(-50%) rotate("+(ae=$==="top"?225:45)+"deg)");var oe=ae*Math.PI/180,le=V+g,ue=le*Math.abs(Math.cos(oe))+le*Math.abs(Math.sin(oe)),de=Math.round(((ue-Math.SQRT2*g)/2+Math.SQRT2*g-(ue-le)/2)*100)/100;re+=";"+$+":-"+de+"px";var he=t+" solid "+g+"px;",pe=["position:absolute;width:"+V+"px;height:"+V+"px;z-index:-1;",re+";"+ie+";","border-bottom:"+he,"border-right:"+he,"background-color:"+i+";"];return'
'}function assembleTransition(n,t){var r="cubic-bezier(0.23,1,0.32,1)",i=" "+n/2+"s "+r,g="opacity"+i+",visibility"+i;return t||(i=" "+n+"s "+r,g+=env$1.transformSupported?","+CSS_TRANSFORM_VENDOR+i:",left"+i+",top"+i),CSS_TRANSITION_VENDOR+":"+g}function assembleTransform(n,t,r){var i=n.toFixed(0)+"px",g=t.toFixed(0)+"px";if(!env$1.transformSupported)return r?"top:"+g+";left:"+i+";":[["top",g],["left",i]];var $=env$1.transform3dSupported,V="translate"+($?"3d":"")+"("+i+","+g+($?",0":"")+")";return r?"top:0;left:0;"+CSS_TRANSFORM_VENDOR+":"+V+";":[["top",0],["left",0],[TRANSFORM_VENDOR,V]]}function assembleFont(n){var t=[],r=n.get("fontSize"),i=n.getTextColor();i&&t.push("color:"+i),t.push("font:"+n.getFont());var g=retrieve2(n.get("lineHeight"),Math.round(r*3/2));r&&t.push("line-height:"+g+"px");var $=n.get("textShadowColor"),V=n.get("textShadowBlur")||0,re=n.get("textShadowOffsetX")||0,ie=n.get("textShadowOffsetY")||0;return $&&V&&t.push("text-shadow:"+re+"px "+ie+"px "+V+"px "+$),each$4(["decoration","align"],function(ae){var oe=n.get(ae);oe&&t.push("text-"+ae+":"+oe)}),t.join(";")}function assembleCssText(n,t,r){var i=[],g=n.get("transitionDuration"),$=n.get("backgroundColor"),V=n.get("shadowBlur"),re=n.get("shadowColor"),ie=n.get("shadowOffsetX"),ae=n.get("shadowOffsetY"),oe=n.getModel("textStyle"),le=getPaddingFromTooltipModel(n,"html"),ue=ie+"px "+ae+"px "+V+"px "+re;return i.push("box-shadow:"+ue),t&&g&&i.push(assembleTransition(g,r)),$&&i.push("background-color:"+$),each$4(["width","color","radius"],function(de){var he="border-"+de,pe=toCamelCase(he),_e=n.get(pe);_e!=null&&i.push(he+":"+_e+(de==="color"?"":"px"))}),i.push(assembleFont(oe)),le!=null&&i.push("padding:"+normalizeCssArray(le).join("px ")+"px"),i.join(";")+";"}function makeStyleCoord$1(n,t,r,i,g){var $=t&&t.painter;if(r){var V=$&&$.getViewportRoot();V&&transformLocalCoord(n,V,r,i,g)}else{n[0]=i,n[1]=g;var re=$&&$.getViewportRootOffset();re&&(n[0]+=re.offsetLeft,n[1]+=re.offsetTop)}n[2]=n[0]/t.getWidth(),n[3]=n[1]/t.getHeight()}var TooltipHTMLContent=function(){function n(t,r){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,env$1.wxa)return null;var i=document.createElement("div");i.domBelongToZr=!0,this.el=i;var g=this._zr=t.getZr(),$=r.appendTo,V=$&&(isString($)?document.querySelector($):isDom($)?$:isFunction($)&&$(t.getDom()));makeStyleCoord$1(this._styleCoord,g,V,t.getWidth()/2,t.getHeight()/2),(V||t.getDom()).appendChild(i),this._api=t,this._container=V;var re=this;i.onmouseenter=function(){re._enterable&&(clearTimeout(re._hideTimeout),re._show=!0),re._inContent=!0},i.onmousemove=function(ie){if(ie=ie||window.event,!re._enterable){var ae=g.handler,oe=g.painter.getViewportRoot();normalizeEvent(oe,ie,!0),ae.dispatch("mousemove",ie)}},i.onmouseleave=function(){re._inContent=!1,re._enterable&&re._show&&re.hideLater(re._hideDelay)}}return n.prototype.update=function(t){if(!this._container){var r=this._api.getDom(),i=getComputedStyle$2(r,"position"),g=r.style;g.position!=="absolute"&&i!=="absolute"&&(g.position="relative")}var $=t.get("alwaysShowContent");$&&this._moveIfResized(),this._alwaysShowContent=$,this.el.className=t.get("className")||""},n.prototype.show=function(t,r){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var i=this.el,g=i.style,$=this._styleCoord;i.innerHTML?g.cssText=gCssText+assembleCssText(t,!this._firstShow,this._longHide)+assembleTransform($[0],$[1],!0)+("border-color:"+convertToColorString(r)+";")+(t.get("extraCssText")||"")+(";pointer-events:"+(this._enterable?"auto":"none")):g.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},n.prototype.setContent=function(t,r,i,g,$){var V=this.el;if(t==null){V.innerHTML="";return}var re="";if(isString($)&&i.get("trigger")==="item"&&!shouldTooltipConfine(i)&&(re=assembleArrow(i,g,$)),isString(t))V.innerHTML=t+re;else if(t){V.innerHTML="",isArray(t)||(t=[t]);for(var ie=0;ie=0?this._tryShow($,V):g==="leave"&&this._hide(V))},this))},t.prototype._keepShow=function(){var r=this._tooltipModel,i=this._ecModel,g=this._api,$=r.get("triggerOn");if(this._lastX!=null&&this._lastY!=null&&$!=="none"&&$!=="click"){var V=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout(function(){!g.isDisposed()&&V.manuallyShowTip(r,i,g,{x:V._lastX,y:V._lastY,dataByCoordSys:V._lastDataByCoordSys})})}},t.prototype.manuallyShowTip=function(r,i,g,$){if(!($.from===this.uid||env$1.node||!g.getDom())){var V=makeDispatchAction($,g);this._ticket="";var re=$.dataByCoordSys,ie=findComponentReference($,i,g);if(ie){var ae=ie.el.getBoundingRect().clone();ae.applyTransform(ie.el.transform),this._tryShow({offsetX:ae.x+ae.width/2,offsetY:ae.y+ae.height/2,target:ie.el,position:$.position,positionDefault:"bottom"},V)}else if($.tooltip&&$.x!=null&&$.y!=null){var oe=proxyRect;oe.x=$.x,oe.y=$.y,oe.update(),getECData(oe).tooltipConfig={name:null,option:$.tooltip},this._tryShow({offsetX:$.x,offsetY:$.y,target:oe},V)}else if(re)this._tryShow({offsetX:$.x,offsetY:$.y,position:$.position,dataByCoordSys:re,tooltipOption:$.tooltipOption},V);else if($.seriesIndex!=null){if(this._manuallyAxisShowTip(r,i,g,$))return;var le=findPointFromSeries($,i),ue=le.point[0],de=le.point[1];ue!=null&&de!=null&&this._tryShow({offsetX:ue,offsetY:de,target:le.el,position:$.position,positionDefault:"bottom"},V)}else $.x!=null&&$.y!=null&&(g.dispatchAction({type:"updateAxisPointer",x:$.x,y:$.y}),this._tryShow({offsetX:$.x,offsetY:$.y,position:$.position,target:g.getZr().findHover($.x,$.y).target},V))}},t.prototype.manuallyHideTip=function(r,i,g,$){var V=this._tooltipContent;this._tooltipModel&&V.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,$.from!==this.uid&&this._hide(makeDispatchAction($,g))},t.prototype._manuallyAxisShowTip=function(r,i,g,$){var V=$.seriesIndex,re=$.dataIndex,ie=i.getComponent("axisPointer").coordSysAxesInfo;if(!(V==null||re==null||ie==null)){var ae=i.getSeriesByIndex(V);if(ae){var oe=ae.getData(),le=buildTooltipModel([oe.getItemModel(re),ae,(ae.coordinateSystem||{}).model],this._tooltipModel);if(le.get("trigger")==="axis")return g.dispatchAction({type:"updateAxisPointer",seriesIndex:V,dataIndex:re,position:$.position}),!0}}},t.prototype._tryShow=function(r,i){var g=r.target,$=this._tooltipModel;if($){this._lastX=r.offsetX,this._lastY=r.offsetY;var V=r.dataByCoordSys;if(V&&V.length)this._showAxisTooltip(V,r);else if(g){var re=getECData(g);if(re.ssrType==="legend")return;this._lastDataByCoordSys=null;var ie,ae;findEventDispatcher(g,function(oe){if(getECData(oe).dataIndex!=null)return ie=oe,!0;if(getECData(oe).tooltipConfig!=null)return ae=oe,!0},!0),ie?this._showSeriesItemTooltip(r,ie,i):ae?this._showComponentItemTooltip(r,ae,i):this._hide(i)}else this._lastDataByCoordSys=null,this._hide(i)}},t.prototype._showOrMove=function(r,i){var g=r.get("showDelay");i=bind$1(i,this),clearTimeout(this._showTimout),g>0?this._showTimout=setTimeout(i,g):i()},t.prototype._showAxisTooltip=function(r,i){var g=this._ecModel,$=this._tooltipModel,V=[i.offsetX,i.offsetY],re=buildTooltipModel([i.tooltipOption],$),ie=this._renderMode,ae=[],oe=createTooltipMarkup("section",{blocks:[],noHeader:!0}),le=[],ue=new TooltipMarkupStyleCreator;each$4(r,function(xe){each$4(xe.dataByAxis,function(Ie){var Ne=g.getComponent(Ie.axisDim+"Axis",Ie.axisIndex),Oe=Ie.value;if(!(!Ne||Oe==null)){var $e=getValueLabel(Oe,Ne.axis,g,Ie.seriesDataIndices,Ie.valueLabelOpt),Ve=createTooltipMarkup("section",{header:$e,noHeader:!trim($e),sortBlocks:!0,blocks:[]});oe.blocks.push(Ve),each$4(Ie.seriesDataIndices,function(Ue){var Fe=g.getSeriesByIndex(Ue.seriesIndex),ze=Ue.dataIndexInside,Pt=Fe.getDataParams(ze);if(!(Pt.dataIndex<0)){Pt.axisDim=Ie.axisDim,Pt.axisIndex=Ie.axisIndex,Pt.axisType=Ie.axisType,Pt.axisId=Ie.axisId,Pt.axisValue=getAxisRawValue(Ne.axis,{value:Oe}),Pt.axisValueLabel=$e,Pt.marker=ue.makeTooltipMarker("item",convertToColorString(Pt.color),ie);var qe=normalizeTooltipFormatResult(Fe.formatTooltip(ze,!0,null)),Et=qe.frag;if(Et){var kt=buildTooltipModel([Fe],$).get("valueFormatter");Ve.blocks.push(kt?extend({valueFormatter:kt},Et):Et)}qe.text&&le.push(qe.text),ae.push(Pt)}})}})}),oe.blocks.reverse(),le.reverse();var de=i.position,he=re.get("order"),pe=buildTooltipMarkup(oe,ue,ie,he,g.get("useUTC"),re.get("textStyle"));pe&&le.unshift(pe);var _e=ie==="richText"?` - -`:"
",Ce=le.join(_e);this._showOrMove(re,function(){this._updateContentNotChangedOnAxis(r,ae)?this._updatePosition(re,de,V[0],V[1],this._tooltipContent,ae):this._showTooltipContent(re,Ce,ae,Math.random()+"",V[0],V[1],de,null,ue)})},t.prototype._showSeriesItemTooltip=function(r,i,g){var $=this._ecModel,V=getECData(i),re=V.seriesIndex,ie=$.getSeriesByIndex(re),ae=V.dataModel||ie,oe=V.dataIndex,le=V.dataType,ue=ae.getData(le),de=this._renderMode,he=r.positionDefault,pe=buildTooltipModel([ue.getItemModel(oe),ae,ie&&(ie.coordinateSystem||{}).model],this._tooltipModel,he?{position:he}:null),_e=pe.get("trigger");if(!(_e!=null&&_e!=="item")){var Ce=ae.getDataParams(oe,le),xe=new TooltipMarkupStyleCreator;Ce.marker=xe.makeTooltipMarker("item",convertToColorString(Ce.color),de);var Ie=normalizeTooltipFormatResult(ae.formatTooltip(oe,!1,le)),Ne=pe.get("order"),Oe=pe.get("valueFormatter"),$e=Ie.frag,Ve=$e?buildTooltipMarkup(Oe?extend({valueFormatter:Oe},$e):$e,xe,de,Ne,$.get("useUTC"),pe.get("textStyle")):Ie.text,Ue="item_"+ae.name+"_"+oe;this._showOrMove(pe,function(){this._showTooltipContent(pe,Ve,Ce,Ue,r.offsetX,r.offsetY,r.position,r.target,xe)}),g({type:"showTip",dataIndexInside:oe,dataIndex:ue.getRawIndex(oe),seriesIndex:re,from:this.uid})}},t.prototype._showComponentItemTooltip=function(r,i,g){var $=this._renderMode==="html",V=getECData(i),re=V.tooltipConfig,ie=re.option||{},ae=ie.encodeHTMLContent;if(isString(ie)){var oe=ie;ie={content:oe,formatter:oe},ae=!0}ae&&$&&ie.content&&(ie=clone$2(ie),ie.content=encodeHTML(ie.content));var le=[ie],ue=this._ecModel.getComponent(V.componentMainType,V.componentIndex);ue&&le.push(ue),le.push({formatter:ie.content});var de=r.positionDefault,he=buildTooltipModel(le,this._tooltipModel,de?{position:de}:null),pe=he.get("content"),_e=Math.random()+"",Ce=new TooltipMarkupStyleCreator;this._showOrMove(he,function(){var xe=clone$2(he.get("formatterParams")||{});this._showTooltipContent(he,pe,xe,_e,r.offsetX,r.offsetY,r.position,i,Ce)}),g({type:"showTip",from:this.uid})},t.prototype._showTooltipContent=function(r,i,g,$,V,re,ie,ae,oe){if(this._ticket="",!(!r.get("showContent")||!r.get("show"))){var le=this._tooltipContent;le.setEnterable(r.get("enterable"));var ue=r.get("formatter");ie=ie||r.get("position");var de=i,he=this._getNearestPoint([V,re],g,r.get("trigger"),r.get("borderColor")),pe=he.color;if(ue)if(isString(ue)){var _e=r.ecModel.get("useUTC"),Ce=isArray(g)?g[0]:g,xe=Ce&&Ce.axisType&&Ce.axisType.indexOf("time")>=0;de=ue,xe&&(de=format(Ce.axisValue,de,_e)),de=formatTpl(de,g,!0)}else if(isFunction(ue)){var Ie=bind$1(function(Ne,Oe){Ne===this._ticket&&(le.setContent(Oe,oe,r,pe,ie),this._updatePosition(r,ie,V,re,le,g,ae))},this);this._ticket=$,de=ue(g,$,Ie)}else de=ue;le.setContent(de,oe,r,pe,ie),le.show(r,pe),this._updatePosition(r,ie,V,re,le,g,ae)}},t.prototype._getNearestPoint=function(r,i,g,$){if(g==="axis"||isArray(i))return{color:$||(this._renderMode==="html"?"#fff":"none")};if(!isArray(i))return{color:$||i.color||i.borderColor}},t.prototype._updatePosition=function(r,i,g,$,V,re,ie){var ae=this._api.getWidth(),oe=this._api.getHeight();i=i||r.get("position");var le=V.getSize(),ue=r.get("align"),de=r.get("verticalAlign"),he=ie&&ie.getBoundingRect().clone();if(ie&&he.applyTransform(ie.transform),isFunction(i)&&(i=i([g,$],re,V.el,he,{viewSize:[ae,oe],contentSize:le.slice()})),isArray(i))g=parsePercent(i[0],ae),$=parsePercent(i[1],oe);else if(isObject$2(i)){var pe=i;pe.width=le[0],pe.height=le[1];var _e=getLayoutRect(pe,{width:ae,height:oe});g=_e.x,$=_e.y,ue=null,de=null}else if(isString(i)&&ie){var Ce=calcTooltipPosition(i,he,le,r.get("borderWidth"));g=Ce[0],$=Ce[1]}else{var Ce=refixTooltipPosition(g,$,V,ae,oe,ue?null:20,de?null:20);g=Ce[0],$=Ce[1]}if(ue&&(g-=isCenterAlign(ue)?le[0]/2:ue==="right"?le[0]:0),de&&($-=isCenterAlign(de)?le[1]/2:de==="bottom"?le[1]:0),shouldTooltipConfine(r)){var Ce=confineTooltipPosition(g,$,V,ae,oe);g=Ce[0],$=Ce[1]}V.moveTo(g,$)},t.prototype._updateContentNotChangedOnAxis=function(r,i){var g=this._lastDataByCoordSys,$=this._cbParamsList,V=!!g&&g.length===r.length;return V&&each$4(g,function(re,ie){var ae=re.dataByAxis||[],oe=r[ie]||{},le=oe.dataByAxis||[];V=V&&ae.length===le.length,V&&each$4(ae,function(ue,de){var he=le[de]||{},pe=ue.seriesDataIndices||[],_e=he.seriesDataIndices||[];V=V&&ue.value===he.value&&ue.axisType===he.axisType&&ue.axisId===he.axisId&&pe.length===_e.length,V&&each$4(pe,function(Ce,xe){var Ie=_e[xe];V=V&&Ce.seriesIndex===Ie.seriesIndex&&Ce.dataIndex===Ie.dataIndex}),$&&each$4(ue.seriesDataIndices,function(Ce){var xe=Ce.seriesIndex,Ie=i[xe],Ne=$[xe];Ie&&Ne&&Ne.data!==Ie.data&&(V=!1)})})}),this._lastDataByCoordSys=r,this._cbParamsList=i,!!V},t.prototype._hide=function(r){this._lastDataByCoordSys=null,r({type:"hideTip",from:this.uid})},t.prototype.dispose=function(r,i){env$1.node||!i.getDom()||(clear(this,"_updatePosition"),this._tooltipContent.dispose(),unregister("itemTooltip",i))},t.type="tooltip",t}(ComponentView$1);function buildTooltipModel(n,t,r){var i=t.ecModel,g;r?(g=new Model$1(r,i,i),g=new Model$1(t.option,g,i)):g=t;for(var $=n.length-1;$>=0;$--){var V=n[$];V&&(V instanceof Model$1&&(V=V.get("tooltip",!0)),isString(V)&&(V={formatter:V}),V&&(g=new Model$1(V,g,i)))}return g}function makeDispatchAction(n,t){return n.dispatchAction||bind$1(t.dispatchAction,t)}function refixTooltipPosition(n,t,r,i,g,$,V){var re=r.getSize(),ie=re[0],ae=re[1];return $!=null&&(n+ie+$+2>i?n-=ie+$:n+=$),V!=null&&(t+ae+V>g?t-=ae+V:t+=V),[n,t]}function confineTooltipPosition(n,t,r,i,g){var $=r.getSize(),V=$[0],re=$[1];return n=Math.min(n+V,i)-V,t=Math.min(t+re,g)-re,n=Math.max(n,0),t=Math.max(t,0),[n,t]}function calcTooltipPosition(n,t,r,i){var g=r[0],$=r[1],V=Math.ceil(Math.SQRT2*i)+8,re=0,ie=0,ae=t.width,oe=t.height;switch(n){case"inside":re=t.x+ae/2-g/2,ie=t.y+oe/2-$/2;break;case"top":re=t.x+ae/2-g/2,ie=t.y-$-V;break;case"bottom":re=t.x+ae/2-g/2,ie=t.y+oe+V;break;case"left":re=t.x-g-V,ie=t.y+oe/2-$/2;break;case"right":re=t.x+ae+V,ie=t.y+oe/2-$/2}return[re,ie]}function isCenterAlign(n){return n==="center"||n==="middle"}function findComponentReference(n,t,r){var i=preParseFinder(n).queryOptionMap,g=i.keys()[0];if(!(!g||g==="series")){var $=queryReferringComponents(t,g,i.get(g),{useDefault:!1,enableAll:!1,enableNone:!1}),V=$.models[0];if(V){var re=r.getViewOfComponentModel(V),ie;if(re.group.traverse(function(ae){var oe=getECData(ae).tooltipConfig;if(oe&&oe.name===n.name)return ie=ae,!0}),ie)return{componentMainType:g,componentIndex:V.componentIndex,el:ie}}}}const TooltipView$1=TooltipView;function install$4(n){use(install$5),n.registerComponentModel(TooltipModel$1),n.registerComponentView(TooltipView$1),n.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},noop),n.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},noop)}var TitleModel=function(n){__extends(t,n);function t(){var r=n!==null&&n.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}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}(ComponentModel$1),TitleView=function(n){__extends(t,n);function t(){var r=n!==null&&n.apply(this,arguments)||this;return r.type=t.type,r}return t.prototype.render=function(r,i,g){if(this.group.removeAll(),!!r.get("show")){var $=this.group,V=r.getModel("textStyle"),re=r.getModel("subtextStyle"),ie=r.get("textAlign"),ae=retrieve2(r.get("textBaseline"),r.get("textVerticalAlign")),oe=new ZRText$1({style:createTextStyle(V,{text:r.get("text"),fill:V.getTextColor()},{disableBox:!0}),z2:10}),le=oe.getBoundingRect(),ue=r.get("subtext"),de=new ZRText$1({style:createTextStyle(re,{text:ue,fill:re.getTextColor(),y:le.height+r.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),he=r.get("link"),pe=r.get("sublink"),_e=r.get("triggerEvent",!0);oe.silent=!he&&!_e,de.silent=!pe&&!_e,he&&oe.on("click",function(){windowOpen(he,"_"+r.get("target"))}),pe&&de.on("click",function(){windowOpen(pe,"_"+r.get("subtarget"))}),getECData(oe).eventData=getECData(de).eventData=_e?{componentType:"title",componentIndex:r.componentIndex}:null,$.add(oe),ue&&$.add(de);var Ce=$.getBoundingRect(),xe=r.getBoxLayoutParams();xe.width=Ce.width,xe.height=Ce.height;var Ie=getLayoutRect(xe,{width:g.getWidth(),height:g.getHeight()},r.get("padding"));ie||(ie=r.get("left")||r.get("right"),ie==="middle"&&(ie="center"),ie==="right"?Ie.x+=Ie.width:ie==="center"&&(Ie.x+=Ie.width/2)),ae||(ae=r.get("top")||r.get("bottom"),ae==="center"&&(ae="middle"),ae==="bottom"?Ie.y+=Ie.height:ae==="middle"&&(Ie.y+=Ie.height/2),ae=ae||"top"),$.x=Ie.x,$.y=Ie.y,$.markRedraw();var Ne={align:ie,verticalAlign:ae};oe.setStyle(Ne),de.setStyle(Ne),Ce=$.getBoundingRect();var Oe=Ie.margin,$e=r.getItemStyle(["color","opacity"]);$e.fill=r.get("backgroundColor");var Ve=new Rect$1({shape:{x:Ce.x-Oe[3],y:Ce.y-Oe[0],width:Ce.width+Oe[1]+Oe[3],height:Ce.height+Oe[0]+Oe[2],r:r.get("borderRadius")},style:$e,subPixelOptimize:!0,silent:!0});$.add(Ve)}},t.type="title",t}(ComponentView$1);function install$3(n){n.registerComponentModel(TitleModel),n.registerComponentView(TitleView)}var getDefaultSelectorOptions=function(n,t){if(t==="all")return{type:"all",title:n.getLocaleModel().get(["legend","selector","all"])};if(t==="inverse")return{type:"inverse",title:n.getLocaleModel().get(["legend","selector","inverse"])}},LegendModel=function(n){__extends(t,n);function t(){var r=n!==null&&n.apply(this,arguments)||this;return r.type=t.type,r.layoutMode={type:"box",ignoreSize:!0},r}return t.prototype.init=function(r,i,g){this.mergeDefaultAndTheme(r,g),r.selected=r.selected||{},this._updateSelector(r)},t.prototype.mergeOption=function(r,i){n.prototype.mergeOption.call(this,r,i),this._updateSelector(r)},t.prototype._updateSelector=function(r){var i=r.selector,g=this.ecModel;i===!0&&(i=r.selector=["all","inverse"]),isArray(i)&&each$4(i,function($,V){isString($)&&($={type:$}),i[V]=merge($,getDefaultSelectorOptions(g,$.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var r=this._data;if(r[0]&&this.get("selectedMode")==="single"){for(var i=!1,g=0;g=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}(ComponentModel$1);const LegendModel$1=LegendModel;var curry=curry$1,each=each$4,Group$1=Group$3,LegendView=function(n){__extends(t,n);function t(){var r=n!==null&&n.apply(this,arguments)||this;return r.type=t.type,r.newlineDisabled=!1,r}return t.prototype.init=function(){this.group.add(this._contentGroup=new Group$1),this.group.add(this._selectorGroup=new Group$1),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(r,i,g){var $=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!r.get("show",!0)){var V=r.get("align"),re=r.get("orient");(!V||V==="auto")&&(V=r.get("left")==="right"&&re==="vertical"?"right":"left");var ie=r.get("selector",!0),ae=r.get("selectorPosition",!0);ie&&(!ae||ae==="auto")&&(ae=re==="horizontal"?"end":"start"),this.renderInner(V,r,i,g,ie,re,ae);var oe=r.getBoxLayoutParams(),le={width:g.getWidth(),height:g.getHeight()},ue=r.get("padding"),de=getLayoutRect(oe,le,ue),he=this.layoutInner(r,V,de,$,ie,ae),pe=getLayoutRect(defaults({width:he.width,height:he.height},oe),le,ue);this.group.x=pe.x-he.x,this.group.y=pe.y-he.y,this.group.markRedraw(),this.group.add(this._backgroundEl=makeBackground(he,r))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(r,i,g,$,V,re,ie){var ae=this.getContentGroup(),oe=createHashMap(),le=i.get("selectedMode"),ue=[];g.eachRawSeries(function(de){!de.get("legendHoverLink")&&ue.push(de.id)}),each(i.getData(),function(de,he){var pe=de.get("name");if(!this.newlineDisabled&&(pe===""||pe===` -`)){var _e=new Group$1;_e.newline=!0,ae.add(_e);return}var Ce=g.getSeriesByName(pe)[0];if(!oe.get(pe))if(Ce){var xe=Ce.getData(),Ie=xe.getVisual("legendLineStyle")||{},Ne=xe.getVisual("legendIcon"),Oe=xe.getVisual("style"),$e=this._createItem(Ce,pe,he,de,i,r,Ie,Oe,Ne,le,$);$e.on("click",curry(dispatchSelectAction,pe,null,$,ue)).on("mouseover",curry(dispatchHighlightAction,Ce.name,null,$,ue)).on("mouseout",curry(dispatchDownplayAction,Ce.name,null,$,ue)),g.ssr&&$e.eachChild(function(Ve){var Ue=getECData(Ve);Ue.seriesIndex=Ce.seriesIndex,Ue.dataIndex=he,Ue.ssrType="legend"}),oe.set(pe,!0)}else g.eachRawSeries(function(Ve){if(!oe.get(pe)&&Ve.legendVisualProvider){var Ue=Ve.legendVisualProvider;if(!Ue.containName(pe))return;var Fe=Ue.indexOfName(pe),ze=Ue.getItemVisual(Fe,"style"),Pt=Ue.getItemVisual(Fe,"legendIcon"),qe=parse(ze.fill);qe&&qe[3]===0&&(qe[3]=.2,ze=extend(extend({},ze),{fill:stringify(qe,"rgba")}));var Et=this._createItem(Ve,pe,he,de,i,r,{},ze,Pt,le,$);Et.on("click",curry(dispatchSelectAction,null,pe,$,ue)).on("mouseover",curry(dispatchHighlightAction,null,pe,$,ue)).on("mouseout",curry(dispatchDownplayAction,null,pe,$,ue)),g.ssr&&Et.eachChild(function(kt){var At=getECData(kt);At.seriesIndex=Ve.seriesIndex,At.dataIndex=he,At.ssrType="legend"}),oe.set(pe,!0)}},this)},this),V&&this._createSelector(V,i,$,re,ie)},t.prototype._createSelector=function(r,i,g,$,V){var re=this.getSelectorGroup();each(r,function(ae){var oe=ae.type,le=new ZRText$1({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){g.dispatchAction({type:oe==="all"?"legendAllSelect":"legendInverseSelect",legendId:i.id})}});re.add(le);var ue=i.getModel("selectorLabel"),de=i.getModel(["emphasis","selectorLabel"]);setLabelStyle(le,{normal:ue,emphasis:de},{defaultText:ae.title}),enableHoverEmphasis(le)})},t.prototype._createItem=function(r,i,g,$,V,re,ie,ae,oe,le,ue){var de=r.visualDrawType,he=V.get("itemWidth"),pe=V.get("itemHeight"),_e=V.isSelected(i),Ce=$.get("symbolRotate"),xe=$.get("symbolKeepAspect"),Ie=$.get("icon");oe=Ie||oe||"roundRect";var Ne=getLegendStyle(oe,$,ie,ae,de,_e,ue),Oe=new Group$1,$e=$.getModel("textStyle");if(isFunction(r.getLegendIcon)&&(!Ie||Ie==="inherit"))Oe.add(r.getLegendIcon({itemWidth:he,itemHeight:pe,icon:oe,iconRotate:Ce,itemStyle:Ne.itemStyle,lineStyle:Ne.lineStyle,symbolKeepAspect:xe}));else{var Ve=Ie==="inherit"&&r.getData().getVisual("symbol")?Ce==="inherit"?r.getData().getVisual("symbolRotate"):Ce:0;Oe.add(getDefaultLegendIcon({itemWidth:he,itemHeight:pe,icon:oe,iconRotate:Ve,itemStyle:Ne.itemStyle,lineStyle:Ne.lineStyle,symbolKeepAspect:xe}))}var Ue=re==="left"?he+5:-5,Fe=re,ze=V.get("formatter"),Pt=i;isString(ze)&&ze?Pt=ze.replace("{name}",i??""):isFunction(ze)&&(Pt=ze(i));var qe=_e?$e.getTextColor():$.get("inactiveColor");Oe.add(new ZRText$1({style:createTextStyle($e,{text:Pt,x:Ue,y:pe/2,fill:qe,align:Fe,verticalAlign:"middle"},{inheritColor:qe})}));var Et=new Rect$1({shape:Oe.getBoundingRect(),style:{fill:"transparent"}}),kt=$.getModel("tooltip");return kt.get("show")&&setTooltipConfig({el:Et,componentModel:V,itemName:i,itemTooltipOption:kt.option}),Oe.add(Et),Oe.eachChild(function(At){At.silent=!0}),Et.silent=!le,this.getContentGroup().add(Oe),enableHoverEmphasis(Oe),Oe.__legendDataIndex=g,Oe},t.prototype.layoutInner=function(r,i,g,$,V,re){var ie=this.getContentGroup(),ae=this.getSelectorGroup();box(r.get("orient"),ie,r.get("itemGap"),g.width,g.height);var oe=ie.getBoundingRect(),le=[-oe.x,-oe.y];if(ae.markRedraw(),ie.markRedraw(),V){box("horizontal",ae,r.get("selectorItemGap",!0));var ue=ae.getBoundingRect(),de=[-ue.x,-ue.y],he=r.get("selectorButtonGap",!0),pe=r.getOrient().index,_e=pe===0?"width":"height",Ce=pe===0?"height":"width",xe=pe===0?"y":"x";re==="end"?de[pe]+=oe[_e]+he:le[pe]+=ue[_e]+he,de[1-pe]+=oe[Ce]/2-ue[Ce]/2,ae.x=de[0],ae.y=de[1],ie.x=le[0],ie.y=le[1];var Ie={x:0,y:0};return Ie[_e]=oe[_e]+he+ue[_e],Ie[Ce]=Math.max(oe[Ce],ue[Ce]),Ie[xe]=Math.min(0,ue[xe]+de[1-pe]),Ie}else return ie.x=le[0],ie.y=le[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(ComponentView$1);function getLegendStyle(n,t,r,i,g,$,V){function re(_e,Ce){_e.lineWidth==="auto"&&(_e.lineWidth=Ce.lineWidth>0?2:0),each(_e,function(xe,Ie){_e[Ie]==="inherit"&&(_e[Ie]=Ce[Ie])})}var ie=t.getModel("itemStyle"),ae=ie.getItemStyle(),oe=n.lastIndexOf("empty",0)===0?"fill":"stroke",le=ie.getShallow("decal");ae.decal=!le||le==="inherit"?i.decal:createOrUpdatePatternFromDecal(le,V),ae.fill==="inherit"&&(ae.fill=i[g]),ae.stroke==="inherit"&&(ae.stroke=i[oe]),ae.opacity==="inherit"&&(ae.opacity=(g==="fill"?i:r).opacity),re(ae,i);var ue=t.getModel("lineStyle"),de=ue.getLineStyle();if(re(de,r),ae.fill==="auto"&&(ae.fill=i.fill),ae.stroke==="auto"&&(ae.stroke=i.fill),de.stroke==="auto"&&(de.stroke=i.fill),!$){var he=t.get("inactiveBorderWidth"),pe=ae[oe];ae.lineWidth=he==="auto"?i.lineWidth>0&&pe?2:0:ae.lineWidth,ae.fill=t.get("inactiveColor"),ae.stroke=t.get("inactiveBorderColor"),de.stroke=ue.get("inactiveColor"),de.lineWidth=ue.get("inactiveWidth")}return{itemStyle:ae,lineStyle:de}}function getDefaultLegendIcon(n){var t=n.icon||"roundRect",r=createSymbol(t,0,0,n.itemWidth,n.itemHeight,n.itemStyle.fill,n.symbolKeepAspect);return r.setStyle(n.itemStyle),r.rotation=(n.iconRotate||0)*Math.PI/180,r.setOrigin([n.itemWidth/2,n.itemHeight/2]),t.indexOf("empty")>-1&&(r.style.stroke=r.style.fill,r.style.fill="#fff",r.style.lineWidth=2),r}function dispatchSelectAction(n,t,r,i){dispatchDownplayAction(n,t,r,i),r.dispatchAction({type:"legendToggleSelect",name:n??t}),dispatchHighlightAction(n,t,r,i)}function isUseHoverLayer(n){for(var t=n.getZr().storage.getDisplayList(),r,i=0,g=t.length;ig[V],_e=[-de.x,-de.y];i||(_e[$]=oe[ae]);var Ce=[0,0],xe=[-he.x,-he.y],Ie=retrieve2(r.get("pageButtonGap",!0),r.get("itemGap",!0));if(pe){var Ne=r.get("pageButtonPosition",!0);Ne==="end"?xe[$]+=g[V]-he[V]:Ce[$]+=he[V]+Ie}xe[1-$]+=de[re]/2-he[re]/2,oe.setPosition(_e),le.setPosition(Ce),ue.setPosition(xe);var Oe={x:0,y:0};if(Oe[V]=pe?g[V]:de[V],Oe[re]=Math.max(de[re],he[re]),Oe[ie]=Math.min(0,he[ie]+xe[1-$]),le.__rectSize=g[V],pe){var $e={x:0,y:0};$e[V]=Math.max(g[V]-he[V]-Ie,0),$e[re]=Oe[re],le.setClipPath(new Rect$1({shape:$e})),le.__rectSize=$e[V]}else ue.eachChild(function(Ue){Ue.attr({invisible:!0,silent:!0})});var Ve=this._getPageInfo(r);return Ve.pageIndex!=null&&updateProps$1(oe,{x:Ve.contentPosition[0],y:Ve.contentPosition[1]},pe?r:null),this._updatePageInfoView(r,Ve),Oe},t.prototype._pageGo=function(r,i,g){var $=this._getPageInfo(i)[r];$!=null&&g.dispatchAction({type:"legendScroll",scrollDataIndex:$,legendId:i.id})},t.prototype._updatePageInfoView=function(r,i){var g=this._controllerGroup;each$4(["pagePrev","pageNext"],function(oe){var le=oe+"DataIndex",ue=i[le]!=null,de=g.childOfName(oe);de&&(de.setStyle("fill",ue?r.get("pageIconColor",!0):r.get("pageIconInactiveColor",!0)),de.cursor=ue?"pointer":"default")});var $=g.childOfName("pageText"),V=r.get("pageFormatter"),re=i.pageIndex,ie=re!=null?re+1:0,ae=i.pageCount;$&&V&&$.setStyle("text",isString(V)?V.replace("{current}",ie==null?"":ie+"").replace("{total}",ae==null?"":ae+""):V({current:ie,total:ae}))},t.prototype._getPageInfo=function(r){var i=r.get("scrollDataIndex",!0),g=this.getContentGroup(),$=this._containerGroup.__rectSize,V=r.getOrient().index,re=WH[V],ie=XY[V],ae=this._findTargetItemIndex(i),oe=g.children(),le=oe[ae],ue=oe.length,de=ue?1:0,he={contentPosition:[g.x,g.y],pageCount:de,pageIndex:de-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!le)return he;var pe=Ne(le);he.contentPosition[V]=-pe.s;for(var _e=ae+1,Ce=pe,xe=pe,Ie=null;_e<=ue;++_e)Ie=Ne(oe[_e]),(!Ie&&xe.e>Ce.s+$||Ie&&!Oe(Ie,Ce.s))&&(xe.i>Ce.i?Ce=xe:Ce=Ie,Ce&&(he.pageNextDataIndex==null&&(he.pageNextDataIndex=Ce.i),++he.pageCount)),xe=Ie;for(var _e=ae-1,Ce=pe,xe=pe,Ie=null;_e>=-1;--_e)Ie=Ne(oe[_e]),(!Ie||!Oe(xe,Ie.s))&&Ce.i=Ve&&$e.s<=Ve+$}},t.prototype._findTargetItemIndex=function(r){if(!this._showController)return 0;var i,g=this.getContentGroup(),$;return g.eachChild(function(V,re){var ie=V.__legendDataIndex;$==null&&ie!=null&&($=re),ie===r&&(i=re)}),i??$},t.type="legend.scroll",t}(LegendView$1);const ScrollableLegendView$1=ScrollableLegendView;function installScrollableLegendAction(n){n.registerAction("legendScroll","legendscroll",function(t,r){var i=t.scrollDataIndex;i!=null&&r.eachComponent({mainType:"legend",subType:"scroll",query:t},function(g){g.setScrollDataIndex(i)})})}function install$1(n){use(install$2),n.registerComponentModel(ScrollableLegendModel$1),n.registerComponentView(ScrollableLegendView$1),installScrollableLegendAction(n)}function install(n){use(install$2),use(install$1)}var raf=null;function requestAnimationFrame$1(n){return raf||(raf=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(window)),raf(n)}var caf=null;function cancelAnimationFrame$1(n){caf||(caf=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(t){clearTimeout(t)}).bind(window)),caf(n)}function createStyles(n){var t=document.createElement("style");return t.styleSheet?t.styleSheet.cssText=n:t.appendChild(document.createTextNode(n)),(document.querySelector("head")||document.body).appendChild(t),t}function createElement(n,t){t===void 0&&(t={});var r=document.createElement(n);return Object.keys(t).forEach(function(i){r[i]=t[i]}),r}function getComputedStyle$1(n,t,r){var i=window.getComputedStyle(n,r||null)||{display:"none"};return i[t]}function getRenderInfo(n){if(!document.documentElement.contains(n))return{detached:!0,rendered:!1};for(var t=n;t!==document;){if(getComputedStyle$1(t,"display")==="none")return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var css_248z='.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%}',total=0,style=null;function addListener(n,t){n.__resize_mutation_handler__||(n.__resize_mutation_handler__=handleMutation.bind(n));var r=n.__resize_listeners__;if(!r){if(n.__resize_listeners__=[],window.ResizeObserver){var i=n.offsetWidth,g=n.offsetHeight,$=new ResizeObserver(function(){!n.__resize_observer_triggered__&&(n.__resize_observer_triggered__=!0,n.offsetWidth===i&&n.offsetHeight===g)||runCallbacks(n)}),V=getRenderInfo(n),re=V.detached,ie=V.rendered;n.__resize_observer_triggered__=re===!1&&ie===!1,n.__resize_observer__=$,$.observe(n)}else if(n.attachEvent&&n.addEventListener)n.__resize_legacy_resize_handler__=function(){runCallbacks(n)},n.attachEvent("onresize",n.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",n.__resize_mutation_handler__);else if(total||(style=createStyles(css_248z)),initTriggers(n),n.__resize_rendered__=getRenderInfo(n).rendered,window.MutationObserver){var ae=new MutationObserver(n.__resize_mutation_handler__);ae.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),n.__resize_mutation_observer__=ae}}n.__resize_listeners__.push(t),total++}function removeListener(n,t){var r=n.__resize_listeners__;if(r){if(t&&r.splice(r.indexOf(t),1),!r.length||!t){if(n.detachEvent&&n.removeEventListener){n.detachEvent("onresize",n.__resize_legacy_resize_handler__),document.removeEventListener("DOMSubtreeModified",n.__resize_mutation_handler__);return}n.__resize_observer__?(n.__resize_observer__.unobserve(n),n.__resize_observer__.disconnect(),n.__resize_observer__=null):(n.__resize_mutation_observer__&&(n.__resize_mutation_observer__.disconnect(),n.__resize_mutation_observer__=null),n.removeEventListener("scroll",handleScroll),n.removeChild(n.__resize_triggers__.triggers),n.__resize_triggers__=null),n.__resize_listeners__=null}!--total&&style&&style.parentNode.removeChild(style)}}function getUpdatedSize(n){var t=n.__resize_last__,r=t.width,i=t.height,g=n.offsetWidth,$=n.offsetHeight;return g!==r||$!==i?{width:g,height:$}:null}function handleMutation(){var n=getRenderInfo(this),t=n.rendered,r=n.detached;t!==this.__resize_rendered__&&(!r&&this.__resize_triggers__&&(resetTriggers(this),this.addEventListener("scroll",handleScroll,!0)),this.__resize_rendered__=t,runCallbacks(this))}function handleScroll(){var n=this;resetTriggers(this),this.__resize_raf__&&cancelAnimationFrame$1(this.__resize_raf__),this.__resize_raf__=requestAnimationFrame$1(function(){var t=getUpdatedSize(n);t&&(n.__resize_last__=t,runCallbacks(n))})}function runCallbacks(n){!n||!n.__resize_listeners__||n.__resize_listeners__.forEach(function(t){t.call(n,n)})}function initTriggers(n){var t=getComputedStyle$1(n,"position");(!t||t==="static")&&(n.style.position="relative"),n.__resize_old_position__=t,n.__resize_last__={};var r=createElement("div",{className:"resize-triggers"}),i=createElement("div",{className:"resize-expand-trigger"}),g=createElement("div"),$=createElement("div",{className:"resize-contract-trigger"});i.appendChild(g),r.appendChild(i),r.appendChild($),n.appendChild(r),n.__resize_triggers__={triggers:r,expand:i,expandChild:g,contract:$},resetTriggers(n),n.addEventListener("scroll",handleScroll,!0),n.__resize_last__={width:n.offsetWidth,height:n.offsetHeight}}function resetTriggers(n){var t=n.__resize_triggers__,r=t.expand,i=t.expandChild,g=t.contract,$=g.scrollWidth,V=g.scrollHeight,re=r.offsetWidth,ie=r.offsetHeight,ae=r.scrollWidth,oe=r.scrollHeight;g.scrollLeft=$,g.scrollTop=V,i.style.width=re+1+"px",i.style.height=ie+1+"px",r.scrollLeft=ae,r.scrollTop=oe}var b=function(){return b=Object.assign||function(n){for(var t,r=1,i=arguments.length;r"u"||typeof customElements>"u")return z=!1;try{new Function("tag",`class EChartsElement extends HTMLElement { - __dispose = null; - - disconnectedCallback() { - if (this.__dispose) { - this.__dispose(); - this.__dispose = null; - } - } -} - -if (customElements.get(tag) == null) { - customElements.define(tag, EChartsElement); -} -`)(C)}catch{return z=!1}return z=!0}(),D="ecTheme",k="ecInitOptions",B="ecUpdateOptions",P=/(^&?~?!?)native:/,H=defineComponent({name:"echarts",props:b(b({option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean},_),L),emits:{},inheritAttrs:!1,setup:function(n,t){var r=t.attrs,i=shallowRef(),g=shallowRef(),$=shallowRef(),V=shallowRef(),re=inject(D,null),ie=inject(k,null),ae=inject(B,null),oe=toRefs(n),le=oe.autoresize,ue=oe.manualUpdate,de=oe.loading,he=oe.loadingOptions,pe=computed(function(){return V.value||n.option||null}),_e=computed(function(){return n.theme||w(re,{})}),Ce=computed(function(){return n.initOptions||w(ie,{})}),xe=computed(function(){return n.updateOptions||w(ae,{})}),Ie=computed(function(){return function(Pt){var qe={};for(var Et in Pt)j(Et)||(qe[Et]=Pt[Et]);return qe}(r)}),Ne={},Oe=getCurrentInstance().proxy.$listeners,$e={};function Ve(Pt){if(g.value){var qe=$.value=init(g.value,_e.value,Ce.value);n.group&&(qe.group=n.group),Object.keys($e).forEach(function(kt){var At=$e[kt];if(At){var Dt=kt.toLowerCase();Dt.charAt(0)==="~"&&(Dt=Dt.substring(1),At.__once__=!0);var Lt=qe;if(Dt.indexOf("zr:")===0&&(Lt=qe.getZr(),Dt=Dt.substring(3)),At.__once__){delete At.__once__;var jt=At;At=function(){for(var hn=[],vn=0;vn[]}},setup(n){use([install$7,install$6,install$3,install$4,install]);const t=n,r=reactive({title:{text:t.title,left:"center"},tooltip:{trigger:"item",formatter:"{a}
{b} : {c} ({d}%)"},legend:{orient:"vertical",left:"left"},series:[{name:t.seriesName,type:"pie",radius:"55%",center:["50%","60%"],data:t.seriesData,emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"}}}]});return watch(t,i=>{r.title.text=i.title,r.series[0].name=i.seriesName,r.series[0].data=i.seriesData}),(i,g)=>(openBlock(),createBlock(unref(H),{class:"chart",option:r,autoresize:""},null,8,["option"]))}}),index_vue_vue_type_style_index_0_scoped_31064b5b_lang="",PieCharts=_export_sfc$1(_sfc_main,[["__scopeId","data-v-31064b5b"]]);function vueGlobalFunction(n){console.log("全局函数被调用:",n);debugger;const t=window.globalData;t instanceof Map?t.set(n.id.toString(),n):t[n.id.toString()]=n;try{const r=useNodeByModelsStore();if(r.nodeMap.has(n.id.toString())){const i=r.nodeMap.get(n.id.toString());i==null||i.forEach(g=>{console.log("节点ID:",g),emitter.emit(g,n.id)})}}catch{console.warn("无法访问 Pinia store")}}function anotherGlobalFunction(n){return n.toUpperCase()}const globalData=new Map,globalNodeIdForModeId=new Map;typeof window<"u"&&(window.vueGlobalFunction=vueGlobalFunction,window.anotherGlobalFunction=anotherGlobalFunction,window.globalData=globalData,window.globalNodeIdForModeId=globalNodeIdForModeId);async function getData(){try{const n=await modelApi.node_nrt_get();if(!n.ok)throw new Error(`HTTP error! status: ${n.status}`);const t=await n.json();if(t&&typeof t=="object"){const r=window.globalData;r instanceof Map?(r.clear(),Object.entries(t).forEach(([i,g])=>{r.set(i,g)})):window.globalData=t}console.log("全局数据已更新:",t)}catch(n){console.error("获取数据失败:",n)}}typeof window<"u"&&getData();const index="",cssVars="",app=createApp(_sfc_main$4),pinia=createPinia();for(const[n,t]of Object.entries(ElementPlusIconsVue))app.component(n,t);app.use(installer,{});app.use(router);app.use(pinia);app.use(installer);app.component("my-input",_sfc_main$2);app.component("my-button",MyButton);app.component("custom-demo",_sfc_main$1);app.component("pie-charts",PieCharts);app.mount("#app");export{onUnmounted as $,renderList as A,ElScrollbar as B,ElCheckbox as C,ElTree as D,ElIcon as E,Fragment as F,ElUpload as G,ElDialog as H,ElMessage as I,blobToBase64 as J,ElCollapseItem as K,ElTooltip as L,ElText as M,ElImage as N,globalStore as O,normalizeStyle$1 as P,useCssVars as Q,getRealityXY as R,withDirectives as S,vShow as T,configStore as U,positionArrarToPath as V,alignToGrid as W,randomString as X,objectDeepClone as Y,onMounted as Z,_export_sfc$1 as _,createElementBlock as a,getItemAttr as a$,withModifiers as a0,cacheStore as a1,contextMenuStore as a2,leftAsideStore as a3,createGroupInfo as a4,cancelGroup as a5,calculateGuideY as a6,calculateGuideX as a7,useUpdateSysLine as a8,handleAlign as a9,useImgStore as aA,useSlots as aB,emitter as aC,createSlots as aD,renderSlot as aE,ElHeader as aF,ElContainer as aG,ElAside as aH,ElMain as aI,ElDrawer as aJ,ElTreeV2 as aK,constantRoutes as aL,commonjsGlobal as aM,getDefaultExportFromCjs as aN,useRouter as aO,useRoute as aP,resolveDynamicComponent as aQ,location_default as aR,stairRouteNames as aS,router as aT,watch as aU,fold_default as aV,expand_default as aW,RouterView as aX,ElMessageBox as aY,previewCompareVal as aZ,setItemAttr as a_,getRectCoordinate as aa,getRectCenterCoordinate as ab,rotatePoint as ac,ElForm as ad,ElFormItem as ae,ElSelect as af,ElOptionGroup as ag,ElInputNumber as ah,ElColorPicker as ai,ElSwitch as aj,ElTabPane as ak,ElTabs as al,ElOption as am,h$1 as an,markRaw as ao,ace$1 as ap,capitalize$1 as aq,index$1 as ar,resolveComponent as as,resolveDirective as at,BASE_URL as au,isRef as av,modelApi as aw,formatTimestamp as ax,formatFilePath as ay,search_default as az,createBaseVNode as b,_sfc_main$31 as b0,svgToImgSrc as b1,symbolGenSvg as b2,genDomPropstr as b3,getCenterXY as b4,renderToString as b5,prosToVBind as b6,ElCard as b7,getCurrentInstance as b8,ElPopover as b9,toHandlers as ba,eventToVOn as bb,nextTick as bc,computed as c,defineComponent as d,useFullscreen as e,useToggle as f,createVNode$1 as g,unref as h,createBlock as i,ElButton as j,ElButtonGroup$1 as k,ElDivider as l,mergeProps as m,normalizeClass as n,openBlock as o,createCommentVNode as p,createTextVNode as q,ref as r,ElTag as s,toDisplayString as t,useDark as u,useLocalStorage as v,withCtx as w,reactive as x,ElInput as y,ElCollapse as z}; diff --git a/webVue/assets/index-a46c5f9d.js b/webVue/assets/index-a46c5f9d.js deleted file mode 100644 index 733bdce..0000000 --- a/webVue/assets/index-a46c5f9d.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as e,a as c,o as n}from"./index-9847718b.js";const o={};function r(t,a){return n(),c("h3",null,"测试页面")}const _=e(o,[["render",r]]);export{_ as default}; diff --git a/webVue/assets/index-bf960468.js b/webVue/assets/index-bf960468.js deleted file mode 100644 index 63c9bdc..0000000 --- a/webVue/assets/index-bf960468.js +++ /dev/null @@ -1,36 +0,0 @@ -import{d as MA,c as q,o as O,a as sA,b as j,m as qo,u as Is,e as Al,f as el,r as X,g as C,w as v,h as p,E as YA,i as Y,j as cA,k as Ps,l as Ce,n as ze,p as hA,q as oA,t as WA,s as tl,_ as Ke,v as Gs,x as nr,y as jt,z as wa,F as Be,A as me,B as vn,C as rl,D as Ca,G as Qa,H as ut,I as fA,J as ma,K as Ua,L as Xs,M as Wr,N as Fn,O as d,P as Hs,Q as xs,R as Ft,S as Tt,T as jn,U as va,V as nl,W as Qe,X as gr,Y as Se,Z as an,$ as sl,a0 as zr,a1 as tA,a2 as rt,a3 as $n,a4 as il,a5 as al,a6 as ol,a7 as ll,a8 as fr,a9 as cl,aa as ul,ab as Bl,ac as dr,ad as Fa,ae as ie,af as qn,ag as Js,ah as Nt,ai as ya,aj as ot,ak as Ea,al as ba,am as As,an as gl,ao as fl,ap as dl,aq as hl,ar as pl,as as LA,at as Ia,au as Ys,av as lt,aw as $t,ax as wl,ay as Cl,az as Ws,aA as Ql,aB as Ss,aC as zs,aD as Ha,aE as xa,aF as ml,aG as Zs,aH as js,aI as Ul,aJ as $s,aK as vl,aL as Fl,aM as Sa,aN as Ta,aO as yl,aP as El}from"./index-9847718b.js";import{_ as bl,a as Il,g as Nr,u as es}from"./index-fd059ba6.js";const Hl={"aria-hidden":"true"},xl=["xlink:href"],JA=MA({__name:"index",props:{name:{type:String,required:!0},props:{type:Object,default:()=>{}}},setup(r){const A=r,t=q(()=>`#mt-edit-${A.name}`);return(e,n)=>(O(),sA("svg",Hl,[j("use",qo({"xlink:href":t.value},A.props),null,16,xl)]))}}),Sl={class:"flex justify-between",style:{width:"100%"}},Tl={class:"flex items-center justify-between w-50px"},Ll={class:"flex justify-between",style:{width:"calc(100% - 20px)"}},Dl={class:"flex items-center"},Kl={class:"flex justify-center items-center"},_l={class:"flex items-center mr-20px"},Ml={class:"flex items-center justify-between w-90px"},Ol={class:"flex items-center"},Vl=MA({__name:"index",props:{leftAside:{type:Boolean,default:!0},rightAside:{type:Boolean,default:!0},selectedItemsId:{default:()=>[]},groupEnabled:{type:Boolean},unGroupEnabled:{type:Boolean},alignEnabled:{type:Boolean},deleteEnabled:{type:Boolean},lockState:{type:Boolean},undoEnabled:{type:Boolean},redoEnabled:{type:Boolean},realTimeData:{},useThumbnail:{type:Boolean,default:!1}},emits:["update:leftAside","update:rightAside","onGroupClick","onUngroupClick","onDeleteClick","onExportClick","onTreeClick","alignSelected","update:lockState","onHelpClick","onRedoClick","onUndoClick","onImportClick","onPreviewClick","onReturnClick","onSaveClick","onDrawLineClick","onThumbnailClick","onRightDrawer","onImageDialog"],setup(r,{emit:A}){const t=r,e=A,n=Is({selector:"#mt-edit"});Al(),el(n);const s=X(!1),i=X(!1),a=()=>{e("onDeleteClick")},o=()=>{e("onExportClick")},l=()=>{e("onTreeClick")},c=()=>{e("update:lockState",!t.lockState)},u=()=>{e("onImportClick")},B=()=>{s.value=!s.value,e("onDrawLineClick",s.value)};return(f,g)=>(O(),sA("div",Sl,[j("div",Tl,[C(p(cA),{text:"",circle:"",size:"small",onClick:g[0]||(g[0]=h=>e("update:leftAside",!t.leftAside))},{default:v(()=>[C(p(YA),{size:20},{default:v(()=>[t.leftAside?(O(),Y(JA,{key:0,name:"menu-fold"})):(O(),Y(JA,{key:1,name:"menu-unfold"}))]),_:1})]),_:1})]),j("div",Ll,[j("div",Dl,[C(p(Ps),null,{default:v(()=>[C(p(cA),{text:"",circle:"",size:"small",disabled:!t.undoEnabled,onClick:g[1]||(g[1]=h=>e("onUndoClick"))},{default:v(()=>[C(p(YA),{title:"撤销 Ctrl+Z",size:20},{default:v(()=>[C(JA,{name:"undo"})]),_:1})]),_:1},8,["disabled"]),C(p(cA),{text:"",circle:"",size:"small",disabled:!t.redoEnabled,onClick:g[2]||(g[2]=h=>e("onRedoClick"))},{default:v(()=>[C(p(YA),{title:"重做 Ctrl+Y",size:20},{default:v(()=>[C(JA,{name:"redo"})]),_:1})]),_:1},8,["disabled"])]),_:1}),C(p(Ce),{direction:"vertical"}),C(p(cA),{text:"",circle:"",size:"small",disabled:!t.deleteEnabled,onClick:a},{default:v(()=>[C(p(YA),{title:"删除 delete",class:ze(""),size:20},{default:v(()=>[C(JA,{name:"delete"})]),_:1})]),_:1},8,["disabled"]),C(p(Ce),{direction:"vertical"}),C(p(cA),{text:"",circle:"",size:"small",onClick:l},{default:v(()=>[C(p(YA),{title:"组件树",size:20},{default:v(()=>[C(JA,{name:"tree-list"})]),_:1})]),_:1}),C(p(Ce),{direction:"vertical"}),C(p(Ps),null,{default:v(()=>[C(p(cA),{text:"",circle:"",size:"small",onClick:u},{default:v(()=>[C(p(YA),{title:"导入数据模型",size:20},{default:v(()=>[C(JA,{name:"import-json"})]),_:1})]),_:1}),C(p(cA),{text:"",circle:"",size:"small",onClick:o},{default:v(()=>[C(p(YA),{title:"导出数据模型",size:20},{default:v(()=>[C(JA,{name:"export-json"})]),_:1})]),_:1})]),_:1}),i.value?hA("",!0):(O(),Y(p(Ce),{key:0,direction:"vertical"})),i.value?hA("",!0):(O(),Y(p(cA),{key:1,text:"",circle:"",size:"small",onClick:B},{default:v(()=>[C(p(YA),{title:"连线编辑模式",size:20,class:ze(s.value?"icon-selected":"")},{default:v(()=>[C(JA,{name:"pen-line"})]),_:1},8,["class"])]),_:1}))]),j("div",Kl,[t.realTimeData.show?(O(),Y(p(tl),{key:0,size:"small"},{default:v(()=>[oA(WA(t.realTimeData.text),1)]),_:1})):hA("",!0)]),j("div",_l,[C(p(cA),{type:"primary",onClick:g[3]||(g[3]=h=>e("onImageDialog"))},{default:v(()=>[...g[9]||(g[9]=[oA(" 图片模型 ",-1)])]),_:1}),C(p(cA),{type:"primary",onClick:g[4]||(g[4]=h=>e("onRightDrawer"))},{default:v(()=>[...g[10]||(g[10]=[oA(" 模型文件 ",-1)])]),_:1}),C(p(Ce),{direction:"vertical"}),C(p(cA),{text:"",circle:"",size:"small",onClick:g[5]||(g[5]=h=>e("onSaveClick"))},{default:v(()=>[C(p(YA),{title:"保存",size:20},{default:v(()=>[C(JA,{name:"save"})]),_:1})]),_:1}),t.useThumbnail?(O(),Y(p(Ce),{key:0,direction:"vertical"})):hA("",!0),t.useThumbnail?(O(),Y(p(cA),{key:1,text:"",circle:"",size:"small",onClick:g[6]||(g[6]=h=>e("onThumbnailClick"))},{default:v(()=>[C(p(YA),{title:"生成缩略图",size:20},{default:v(()=>[C(JA,{name:"thumbnail"})]),_:1})]),_:1})):hA("",!0),C(p(Ce),{direction:"vertical"}),C(p(cA),{text:"",circle:"",size:"small",onClick:g[7]||(g[7]=h=>e("onPreviewClick"))},{default:v(()=>[C(p(YA),{title:"预览",size:20},{default:v(()=>[C(JA,{name:"preview"})]),_:1})]),_:1})])]),j("div",Ml,[C(p(cA),{text:"",circle:"",size:"small",onClick:g[8]||(g[8]=h=>e("update:rightAside",!t.rightAside))},{default:v(()=>[C(p(YA),{size:20,style:{cursor:"pointer"}},{default:v(()=>[t.rightAside?(O(),Y(JA,{key:0,name:"menu-unfold"})):(O(),Y(JA,{key:1,name:"menu-fold"}))]),_:1})]),_:1}),j("div",Ol,[C(p(Ce),{direction:"vertical"}),C(p(cA),{text:"",circle:"",size:"small",onClick:c},{default:v(()=>[C(p(YA),{title:t.lockState?"已锁定":"已解锁",size:20},{default:v(()=>[C(JA,{name:t.lockState?"lock":"unlock"},null,8,["name"])]),_:1},8,["title"])]),_:1}),C(p(Ce),{direction:"vertical"})])])]))}}),kl=Ke(Vl,[["__scopeId","data-v-067c540e"]]),Rl={id:"mt-left-aside",class:"pt-10px h-1/1 box-border p-x-10px"},Nl={class:"h-85/100"},Pl={class:"flex flex-wrap"},Gl=["onDragstart","onTouchstartPassive"],Xl={class:"flex justify-center items-center"},Jl={class:"flex flex-col"},Yl={class:"h-[calc(10%-1px)] flex justify-center items-center ct-border"},Wl={class:"flex"},zl={class:"flex justify-center"},Zl={key:0},jl={class:"flex flex-wrap"},$l=["onMouseenter"],ql={class:"w-60px h-60px flex justify-center items-center"},Ac={key:0,class:"absolute w-160px h-160px left-0 top-0 opacity-80 bg-light-300 flex justify-center items-center"},ec=MA({__name:"index",props:{leftAsideConfig:{default:()=>new Map}},setup(r){const A=r,t=Is({selector:"#mt-edit"}),e=X(),n=Gs("mt-disable-classify",[]),s=Gs("mt-local-file",[]);A.leftAsideConfig.set("本地文件",s.value);const i=X(),a=nr({}),o=X([]),l=X(),c=X(!1),u=X([]),B=X(null),f=q(()=>[...A.leftAsideConfig.keys()].map(_=>({label:_}))),g=X(f.value.filter(_=>!n.value.includes(_.label)).map(_=>_.label)),h=X(),w=q({get:()=>f.value.length==g.value.length,set:_=>{var K;_?g.value=f.value.map(x=>x.label):(g.value=[],(K=i.value)==null||K.setCheckedNodes([]))}}),m=q(()=>g.value.length>0&&g.value.length_%4==0?40:_%4==3?80:_%4==2?120:160,H=_=>_?l.value?_.filter(K=>K.title.includes(l.value)):_:[],T=(_,K)=>{if(!_||!K){console.error("拖拽初始化失败",_,K);return}a[`${_}${K}`]=!1,d.setIntention("create"),d.setCreateItemInfo({config_key:_,item_id:K})},D=()=>{c.value=!0},E=(_,K,x)=>{K&&!g.value.includes(_.label)?g.value.push(_.label):K||(g.value=g.value.filter(F=>F!==_.label)),n.value=f.value.filter(F=>!g.value.includes(F.label)).map(F=>F.label)},U=({label:_})=>{h.value=_},S=_=>{if(_.raw.type.includes("image/")){if(_.raw.size/1024/1024>1)return fA.error("不能上传超过1MB的图像!"),e.value.clearFiles(),u.value=[],!1}else return fA.error("只能上传图片!"),e.value.clearFiles(),u.value=[],!1;ma(_.raw).then(K=>{var R;const x=_.name.split(".")[0],F={id:x,title:x,type:"img",thumbnail:K,props:{},common_animations:{val:"",delay:"delay-0s",speed:"slow",repeat:"infinite"}},J=s.value.findIndex(eA=>eA.id==x);J!=-1&&(fA.info("存在同名文件,已覆盖!"),s.value.splice(J,1)),s.value.push(F),A.leftAsideConfig.set("本地文件",s.value),e.value.clearFiles(),u.value=[],h.value="本地文件",(R=i.value)==null||R.setCurrentKey("本地文件")})},I=({id:_})=>{const K=s.value.findIndex(x=>x.id==_);K!=-1&&s.value.splice(K,1),A.leftAsideConfig.set("本地文件",s.value)};return(_,K)=>(O(),sA("div",Rl,[C(p(jt),{modelValue:l.value,"onUpdate:modelValue":K[0]||(K[0]=x=>l.value=x),class:"pb-10px pr-10px",placeholder:"请输入关键字进行搜索"},null,8,["modelValue"]),j("div",Nl,[C(p(vn),{class:"pr-10px","view-style":{height:"100%"}},{default:v(()=>[C(p(wa),{modelValue:o.value,"onUpdate:modelValue":K[1]||(K[1]=x=>o.value=x)},{default:v(()=>[(O(!0),sA(Be,null,me(g.value,x=>(O(),Y(p(Ua),{key:x,title:x,name:x},{default:v(()=>[j("div",Pl,[(O(!0),sA(Be,null,me(H(A.leftAsideConfig.get(x)),(F,J)=>(O(),sA("div",{draggable:"true",onDragstart:R=>T(x,F.id),onTouchstartPassive:R=>T(x,F.id),class:"w-40px h-40px",key:F.id},[C(p(Xs),{visible:a[`${x}${F.id}`],"onUpdate:visible":R=>a[`${x}${F.id}`]=R,placement:"right",width:200,effect:p(t)?"dark":"light","show-arrow":!1,"hide-after":0,trigger:"hover",enterable:!1,offset:y(J+1)},{content:v(()=>[j("div",Xl,[j("div",Jl,[C(p(Wr),null,{default:v(()=>[oA(WA(F.title),1)]),_:2},1024),C(p(Fn),{class:ze(["w-100px h-100px pt-5px",p(t)?"bg-amber-50":""]),src:F.thumbnail},null,8,["class","src"])])])]),default:v(()=>[C(p(Fn),{draggable:"false",class:ze(["w-30px h-30px select-none",p(t)?"bg-amber-50":""]),src:F.thumbnail},null,8,["class","src"])]),_:2},1032,["visible","onUpdate:visible","effect","offset"])],40,Gl))),128))])]),_:2},1032,["title","name"]))),128))]),_:1},8,["modelValue"])]),_:1})]),j("div",Yl,[C(p(cA),{class:"w-80/100",onClick:D},{default:v(()=>[...K[6]||(K[6]=[oA("管理",-1)])]),_:1})]),C(p(ut),{modelValue:c.value,"onUpdate:modelValue":K[5]||(K[5]=x=>c.value=x),title:"图库管理",width:"80%","destroy-on-close":""},{default:v(()=>[j("div",Wl,[j("div",null,[j("div",null,[j("div",zl,[C(p(rl),{modelValue:w.value,"onUpdate:modelValue":K[2]||(K[2]=x=>w.value=x),indeterminate:m.value},{default:v(()=>[...K[7]||(K[7]=[oA("全选",-1)])]),_:1},8,["modelValue","indeterminate"])]),C(p(vn),{height:"50vh"},{default:v(()=>[C(p(Ca),{ref_key:"treeRef",ref:i,data:f.value,"highlight-current":!0,"show-checkbox":"",onCheckChange:E,"node-key":"label","default-checked-keys":g.value,onNodeClick:U},null,8,["data","default-checked-keys"])]),_:1}),C(p(Qa),{ref_key:"uploadRef",ref:e,class:"w-24px h-24px","file-list":u.value,"onUpdate:fileList":K[3]||(K[3]=x=>u.value=x),"auto-upload":!1,limit:1,"show-file-list":!1,"on-change":S,accept:"image/*"},{default:v(()=>[C(p(cA),{type:"primary"},{default:v(()=>[...K[8]||(K[8]=[oA("本地上传",-1)])]),_:1})]),_:1},8,["file-list"])])]),C(p(Ce),{direction:"vertical",class:"h-50vh ml-40px"}),h.value?(O(),sA("div",Zl,[C(p(vn),{height:"50vh"},{default:v(()=>[j("div",jl,[(O(!0),sA(Be,null,me(A.leftAsideConfig.get(h.value),x=>(O(),sA("div",{key:x.id,class:"w-160px h-160px flex flex-wrap justify-center items-center cursor-pointer relative",onMouseenter:F=>B.value=x.id,onMouseleave:K[4]||(K[4]=F=>B.value=null)},[C(p(Xs),{effect:p(t)?"dark":"light",content:x.title,placement:"top"},{default:v(()=>[j("div",null,[C(p(Fn),{class:ze(["w-60px h-60px",p(t)?"bg-amber-50":""]),src:x.thumbnail},null,8,["class","src"]),j("div",ql,[C(p(Wr),{truncated:""},{default:v(()=>[oA(WA(x.title),1)]),_:2},1024)]),h.value=="本地文件"&&B.value==x.id?(O(),sA("div",Ac,[C(p(cA),{type:"danger",onClick:F=>I(x)},{default:v(()=>[...K[9]||(K[9]=[oA("删除",-1)])]),_:1},8,["onClick"])])):hA("",!0)])]),_:2},1032,["effect","content"])],40,$l))),128))])]),_:1})])):hA("",!0)])]),_:1},8,["modelValue"])]))}}),tc={width:"100%",height:"100%",xmlns:"http://www.w3.org/2000/svg"},rc=["width","height"],nc=["d","stroke"],sc=["width","height"],ic=["width","height"],ac=["d","stroke"],oc=MA({__name:"index",props:{grid:{type:Number,default:10},gridCount:{type:Number,default:5},showSmall:{type:Boolean,default:!0}},setup(r){const A=Is({selector:"#mt-edit"}),t=r,e=q(()=>t.grid*t.gridCount),n=q(()=>{const i=[["#e4e4e4","#ebebeb"],["#414141","#363636"]],[a,o]=i[A?0:1];return{bigGrid:a,grid:o}}),s=q(()=>({"--border-color":n.value.bigGrid}));return(i,a)=>(O(),sA("div",{class:"grid-rect",style:Hs(s.value)},[(O(),sA("svg",tc,[j("defs",null,[r.showSmall?(O(),sA("pattern",{key:0,id:"smallGrid",width:r.grid,height:r.grid,patternUnits:"userSpaceOnUse"},[j("path",{d:`M ${r.grid} 0 L 0 0 0 ${r.grid}`,fill:"none",stroke:n.value.grid,"stroke-width":"0.5"},null,8,nc)],8,rc)):hA("",!0),j("pattern",{id:"grid",width:e.value,height:e.value,patternUnits:"userSpaceOnUse"},[r.showSmall?(O(),sA("rect",{key:0,width:e.value,height:e.value,fill:"url(#smallGrid)"},null,8,ic)):hA("",!0),j("path",{d:`M ${e.value} 0 L 0 0 0 ${e.value}`,fill:"none",stroke:n.value.bigGrid,"stroke-width":"1"},null,8,ac)],8,sc)]),a[0]||(a[0]=j("rect",{width:"100%",height:"100%",fill:"url(#grid)"},null,-1))]))],4))}}),lc=Ke(oc,[["__scopeId","data-v-e248ab51"]]),cc={class:"mt-selected-area"},uc=MA({__name:"index",props:{scaleRatio:{default:1},targetDom:{default:null}},emits:["selectedAreaMouseUp"],setup(r,{expose:A,emit:t}){xs(a=>({v0480acc6:s.value.width+"px",v533d0e32:s.value.height+"px",v4ea033d2:s.value.top+"px",v23204a47:s.value.left+"px"}));const e=r,n=t,s=X({width:0,height:0,top:0,left:0});return A({onMouseDown:a=>{var g;const{realityX:o,realityY:l}=Ft(a,(g=e.targetDom)==null?void 0:g.getBoundingClientRect()),c=a instanceof MouseEvent?a.clientX:a.touches[0].pageX,u=a instanceof MouseEvent?a.clientY:a.touches[0].pageY,B=h=>{const w=h instanceof MouseEvent?h.clientX:h.touches[0].pageX,m=h instanceof MouseEvent?h.clientY:h.touches[0].pageY,y=(w-c)/e.scaleRatio,H=(m-u)/e.scaleRatio;let T=o/e.scaleRatio,D=l/e.scaleRatio,E=Math.abs(y),U=Math.abs(H);y<0&&(T=o/e.scaleRatio-E),H<0&&(D=l/e.scaleRatio-U),s.value={width:E,height:U,left:T,top:D}},f=()=>{document.removeEventListener("mousemove",B),document.removeEventListener("mouseup",f),document.removeEventListener("touchmove",B),document.removeEventListener("touchend",f),n("selectedAreaMouseUp",p(s)),s.value={width:0,height:0,top:0,left:0}};document.addEventListener("mousemove",B),document.addEventListener("mouseup",f),document.addEventListener("touchmove",B),document.addEventListener("touchend",f)}}),(a,o)=>(O(),sA("div",cc))}}),Bc=Ke(uc,[["__scopeId","data-v-3704de4f"]]),gc={ref:"contextMenuRef",class:"contextMenu"},fc=["onClick"],dc={class:"shortcut"},hc=MA({__name:"index",props:{menuInfo:{},show:{type:Boolean}},emits:["onContextMenuClick"],setup(r,{emit:A}){xs(s=>({d490becc:t.menuInfo.left+"px",v3f7af964:t.menuInfo.top+"px"}));const t=r,e=A,n=(s,i,a)=>{i.enable&&e("onContextMenuClick",s,a)};return(s,i)=>Tt((O(),sA("ul",gc,[(O(!0),sA(Be,null,me(t.menuInfo.info,(a,o)=>(O(),sA("li",{key:a.title,onClick:l=>n(o,a,l)},[j("p",{class:ze(a.enable?"":"disabled")},[oA(WA(a.title)+" ",1),j("span",dc,WA(a.hot_key),1)],2)],8,fc))),128))],512)),[[jn,r.show]])}}),pc=Ke(hc,[["__scopeId","data-v-e515623d"]]),wc=["id"],Cc=["id"],Qc=["fill"],mc=["id"],Uc=["fill"],vc=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],Fc=["from","to","dur"],yc=MA({__name:"index",props:{itemJson:{},canvasCfg:{},grid:{},canvasDom:{},mode:{default:"pen"}},emits:["drawLineEnd"],setup(r,{expose:A,emit:t}){const e=r,n=t,s=va.lineRenderOffset;return q(()=>!e.grid.align||!e.grid.enabled?1:e.grid.size),A({onMouseDown:(a,o,l)=>{a.stopPropagation();const{x:c,y:u}=l,B=a instanceof MouseEvent?a.clientX:a.touches[0].pageX,f=a instanceof MouseEvent?a.clientY:a.touches[0].pageY;let g=0,h=0;const w=y=>{const H=y instanceof MouseEvent?y.clientX:y.touches[0].pageX,T=y instanceof MouseEvent?y.clientY:y.touches[0].pageY,D=a.ctrlKey?0:Qe((H-B)/e.canvasCfg.scale,1),E=a.shiftKey?0:Qe((T-f)/e.canvasCfg.scale,1);if(g=c+D,h=u+E,e.mode=="pencil"){e.itemJson.props.point_position.val.push({x:g,y:h});return}else{const U=e.itemJson.props.point_position.val;U[o].x=g,U[o].y=h}},m=()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",m),document.removeEventListener("touchmove",w),document.removeEventListener("touchend",m);const y=document.querySelector(`#${e.itemJson.id} g .real`).getBoundingClientRect(),H=e.canvasDom.getBoundingClientRect(),T=((y==null?void 0:y.left)-(H==null?void 0:H.left))/e.canvasCfg.scale,D=((y==null?void 0:y.top)-(H==null?void 0:H.top))/e.canvasCfg.scale,E=T-e.itemJson.binfo.left,U=D-e.itemJson.binfo.top,S={...e.itemJson,binfo:{...e.itemJson.binfo,left:T,top:D,width:(y==null?void 0:y.width)/e.canvasCfg.scale,height:(y==null?void 0:y.height)/e.canvasCfg.scale},props:{...e.itemJson.props,point_position:{...e.itemJson.props.point_position,val:e.itemJson.props.point_position.val.map(I=>({x:I.x-E,y:I.y-U}))}}};n("drawLineEnd",S)};document.addEventListener("mousemove",w),document.addEventListener("mouseup",m),document.addEventListener("touchmove",w),document.addEventListener("touchend",m)}}),(a,o)=>{var l,c,u,B;return O(),sA("svg",{id:e.itemJson.id,class:"mt-line-render",style:Hs({position:"absolute",left:`${-p(s)}px`,top:`${-p(s)}px`,width:`${e.canvasCfg.width+p(s)}px`,height:`${e.canvasCfg.height+p(s)}px`}),version:"1.1",xmlns:"http://www.w3.org/2000/svg","pointer-events":"none"},[j("g",null,[j("defs",null,[j("marker",{id:"markerArrowStart"+e.itemJson.id,viewBox:"0 0 10 10",refX:"8",refY:"5",markerWidth:"6",markerHeight:"6",orient:"auto-start-reverse"},[j("path",{d:"M 0 0 L 10 5 L 0 10 z",fill:e.itemJson.props.stroke.val},null,8,Qc)],8,Cc),j("marker",{id:"markerArrowEnd"+e.itemJson.id,viewBox:"0 0 10 10",refX:"8",refY:"5",markerWidth:"6",markerHeight:"6",orient:"auto"},[j("path",{d:"M 0 0 L 10 5 L 0 10 z",fill:e.itemJson.props.stroke.val},null,8,Uc)],8,mc)]),j("path",{d:p(nl)(e.itemJson.props.point_position.val,e.itemJson.binfo.left+p(s),e.itemJson.binfo.top+p(s)),"pointer-events":"visibleStroke",fill:"none",stroke:e.itemJson.props.ani_type.val==="electricity"?e.itemJson.props.ani_color.val:e.itemJson.props.stroke.val,"stroke-width":e.itemJson.props["stroke-width"].val,style:{cursor:"move"},"stroke-dashoffset":"0","stroke-dasharray":e.itemJson.props.ani_type.val==="electricity"?e.itemJson.props["stroke-width"].val*3:0,"marker-start":(c=(l=e.itemJson.props)==null?void 0:l["marker-start"])!=null&&c.val?`url(#markerArrowStart${e.itemJson.id})`:"","marker-end":(B=(u=e.itemJson.props)==null?void 0:u["marker-end"])!=null&&B.val?`url(#markerArrowEnd${e.itemJson.id})`:"",class:"real"},[e.itemJson.props.ani_type.val==="electricity"?(O(),sA("animate",{key:0,attributeName:"stroke-dashoffset",from:e.itemJson.props.ani_reverse.val?0:1e3,to:e.itemJson.props.ani_reverse.val?e.itemJson.props.ani_play.val?1e3:0:e.itemJson.props.ani_play.val?0:1e3,dur:`${e.itemJson.props.ani_dur.val<1?1:e.itemJson.props.ani_dur.val}s`,repeatCount:"indefinite"},null,8,Fc)):hA("",!0)],8,vc)])],12,wc)}}}),Ec={key:1},bc=["data-id","onMouseenter"],Ic=MA({__name:"index",props:{groupEnabled:{type:Boolean},unGroupEnabled:{type:Boolean},deleteEnabled:{type:Boolean},lineAppendEnable:{type:Boolean,default:!1}},setup(r,{expose:A}){xs(Q=>({v6726e123:`scale(${p(d).canvasCfg.scale})`,v3a549801:`${p(d).canvasCfg.transform_origin.x}px ${p(d).canvasCfg.transform_origin.y}px`,v472b6e47:p(d).canvasCfg.width+"px",v2de230f4:p(d).canvasCfg.height+"px",f6f0217a:p(d).canvasCfg.color,v621cd3aa:"url("+p(d).canvasCfg.img+")",v2405e576:p(d).canvasCfg.drag_offset.x+"px",v55de3a24:p(d).canvasCfg.drag_offset.y+"px",v63143886:p(d).guideCfg.x.display?"block":"none",v50b2342c:p(d).guideCfg.x.top+"px",v5f15c765:p(d).guideCfg.y.display?"block":"none",v15788b3f:p(d).guideCfg.y.left+"px"}));const t=r,e=X(),n=X(),s=X(),i=X(),a=X(!0);let o=!1;const l=nr(d.canvasCfg.drag_offset),c=q(()=>!d.gridCfg.align||!d.gridCfg.enabled?1:d.gridCfg.size),u=q({get(){return d.done_json},set(Q){d.setGlobalStoreDoneJson(Q)}}),B=va.sysComponent.find(Q=>Q.type=="sys-line"),f={id:B.id+"-"+gr(),title:B.title,type:B.type,binfo:{left:0,top:0,width:100,height:0,angle:0},resize:!1,rotate:!1,lock:!1,active:!0,hide:!1,props:{...B.props,point_position:{title:"点坐标",type:"jsonEdit",val:[{x:0,y:0},{x:0,y:0}],disabled:!0}},tag:B.id,common_animations:B.common_animations,events:[]},g=X(Se(f)),h=(Q,b)=>{var GA,RA,Fe,ye,Ee,ht;if(AA(),d.lock&&d.intention==="create"){fA.error("画布已锁定,请先解锁!");return}if(Q.preventDefault(),b&&d.intention!=="create"){if(d.lock){d.setIntention("beginDragCanvas"),(GA=s.value)==null||GA.onMouseDown(Q);return}if(t.lineAppendEnable){d.setIntention("drawSysLineStart");const{realityX:Re,realityY:pt}=Ft(Q,(RA=e.value)==null?void 0:RA.getBoundingClientRect());g.value={...Se(f),binfo:{left:Qe(Re/d.canvasCfg.scale,c.value),top:Qe(pt/d.canvasCfg.scale,c.value),width:0,height:0,angle:0}},(Fe=i.value)==null||Fe.onMouseDown(Q,1,{x:0,y:0});return}d.cancelAllSelect(),d.setIntention("beginMulSelect"),(ye=n.value)==null||ye.onMouseDown(Q)}if(d.intention!=="create")return;if(!d.create_item_info){console.error("拖拽初始化失败",d.create_item_info);return}d.setSelectItems([]);const L=(Ee=$n.config.get(d.create_item_info.config_key))==null?void 0:Ee.find(Re=>Re.id===d.create_item_info.item_id);if(!L){console.error("拖拽配置不匹配",d.create_item_info,$n.config);return}const V=Se(L),z=V.type==="sys-line",lA=V.id==="sys-line",Z=V.id==="sys-line-vertical",{realityX:QA,realityY:vA}=Ft(Q,(ht=e.value)==null?void 0:ht.getBoundingClientRect()),EA={id:V.id+"-"+gr(),title:V.title,type:V.type,binfo:{left:Qe(QA/d.canvasCfg.scale,c.value),top:Qe(vA/d.canvasCfg.scale,c.value),width:lA?100:Z?0:50,height:Z?100:lA?0:50,angle:0},resize:!z,rotate:!z,lock:!1,active:!0,hide:!1,props:V.props,tag:V.id,common_animations:V.common_animations,events:[]};V.type==="svg"?EA.symbol=V.symbol:V.type==="img"&&(EA.thumbnail=V.thumbnail);const kA=[...d.done_json];kA.push(EA),d.setGlobalStoreDoneJson(kA),d.setSingleSelect(EA.id),d.setIntention("none"),d.setCreateItemInfo(null),tA.addHistory(kA)},w=Q=>{Q.preventDefault()},m=(Q,b)=>{if(AA(),!d.lock){if(d.canvasCfg.adsorp||d.canvasCfg.guide){const L=d.done_json.filter(V=>!V.hide).map(V=>{const{left:z,top:lA,width:Z,height:QA,right:vA,bottom:EA}=document.getElementById(V.id).getBoundingClientRect();return{id:V.id,type:V.type,left:z,top:lA,width:Z,height:QA,right:vA,bottom:EA}});tA.setBoundingBox(L)}if(b.ctrlKey){if(b.ctrlKey&&!Q.lock){const L=d.done_json.find(V=>V.id==Q.id);L.active=!L.active,d.refreshSelectedItemsId()}}else{if(d.selected_items_id.includes(Q.id))return;d.setSingleSelect(Q.id)}}},y=Q=>{var b,L,V,z;if(AA(),d.cancelAllSelect(),d.lock||Q.button==2){d.setIntention("beginDragCanvas"),(b=s.value)==null||b.onMouseDown(Q);return}if(t.lineAppendEnable){d.setIntention("drawSysLineStart");const{realityX:lA,realityY:Z}=Ft(Q,(L=e.value)==null?void 0:L.getBoundingClientRect());g.value={...Se(f),binfo:{left:Qe(lA/d.canvasCfg.scale,c.value),top:Qe(Z/d.canvasCfg.scale,c.value),width:0,height:0,angle:0}},(V=i.value)==null||V.onMouseDown(Q,1,{x:0,y:0});return}d.setIntention("beginMulSelect"),(z=n.value)==null||z.onMouseDown(Q)},H=Q=>{const b=[...d.done_json].map(L=>{var GA,RA;const V=(GA=document.getElementById(L.id))==null?void 0:GA.getBoundingClientRect(),z=(RA=e.value)==null?void 0:RA.getBoundingClientRect();let{left:lA,top:Z,width:QA,height:vA}=L.binfo;V&&z&&(lA=(V.left-z.left)/d.canvasCfg.scale,Z=(V.top-z.top)/d.canvasCfg.scale,QA=V.width/d.canvasCfg.scale,vA=V.height/d.canvasCfg.scale);const EA=Q.leftlA+QA,kA=Q.topZ+vA;return EA&&kA&&!L.lock&&!L.hide&&(L.active=!0),L});d.setGlobalStoreDoneJson(b),d.refreshSelectedItemsId(),d.setIntention("none")},T=()=>{const Q=Se(d.done_json.filter(z=>d.selected_items_id.includes(z.id)));d.done_json.filter(z=>{var lA,Z;return z.type==="sys-line"&&(d.selected_items_id.includes((lA=z.props.bind_anchors.val.start)==null?void 0:lA.id)||d.selected_items_id.includes((Z=z.props.bind_anchors.val.end)==null?void 0:Z.id))&&!d.selected_items_id.includes(z.id)}).forEach(z=>{z.props.bind_anchors.val={start:null,end:null}});const L=il(Q,e.value,d.canvasCfg.scale),V=[...d.done_json].filter(z=>!d.selected_items_id.includes(z.id));V.push(L),d.setGlobalStoreDoneJson(V),d.setSingleSelect(L.id),tA.addHistory(d.done_json)},D=()=>{if(d.selected_items_id.length!=1){fA.error("只能解除组合组件!");return}const Q=d.done_json.find(V=>V.id===d.selected_items_id[0]);if(!Q){fA.error("未知错误!无法找到解组信息");return}if(Q.type!="group"){fA.error("只能解除组合组件!");return}const b=al(Q,e.value,d.canvasCfg.scale,c.value),L=[...d.done_json].filter(V=>!d.selected_items_id.includes(V.id));d.setGlobalStoreDoneJson([...L,...b]),d.setSelectItems(b.map(V=>V.id)),tA.addHistory(d.done_json)},E=({move_item_bounding_info:Q,move_binfo:b})=>{var lA;const L=(lA=e.value)==null?void 0:lA.getBoundingClientRect();if(d.canvasCfg.adsorp||d.canvasCfg.guide){let Z=tA.boundingBox;d.selected_items_id.length>1&&Q.length>1&&(Z=tA.boundingBox.filter(RA=>!d.selected_items_id.includes(RA.id)));const QA=Q,{y_info:vA,move_x:EA}=ol(Z,d.canvasCfg.adsorp_diff,QA,L,d.canvasCfg.scale),{x_info:kA,move_y:GA}=ll(Z,d.canvasCfg.adsorp_diff,QA,L,d.canvasCfg.scale);d.guideCfg.x=kA,d.guideCfg.y=vA,EA!=0&&d.canvasCfg.adsorp?d.adsorp_diff.x=EA:d.adsorp_diff.x=0,GA!=0&&d.canvasCfg.adsorp?d.adsorp_diff.y=GA:d.adsorp_diff.y=0}d.done_json.filter(Z=>Z.type=="sys-line"&&d.selected_items_id.includes(Z.id)&&(Z.props.bind_anchors.val.start||Z.props.bind_anchors.val.end)).forEach(Z=>{Z.props.bind_anchors.val.start&&(d.selected_items_id.includes(Z.props.bind_anchors.val.start.id)||(Z.props.bind_anchors.val.start=null)),Z.props.bind_anchors.val.end&&(d.selected_items_id.includes(Z.props.bind_anchors.val.end.id)||(Z.props.bind_anchors.val.end=null))});const z=d.done_json.filter(Z=>{var QA,vA;return Z.type=="sys-line"&&(d.selected_items_id.includes((QA=Z.props.bind_anchors.val.start)==null?void 0:QA.id)||d.selected_items_id.includes((vA=Z.props.bind_anchors.val.end)==null?void 0:vA.id))&&!d.selected_items_id.includes(Z.id)});fr(z,d.done_json,e.value,d.canvasCfg.scale,b)},U=()=>{d.guideCfg.x.display=!1,d.guideCfg.y.display=!1,tA.addHistory(d.done_json)},S=Q=>{const{topLeft:b,topRight:L,bottomLeft:V,bottomRight:z}=ul(Q.binfo),{topCenter:lA,bottomCenter:Z,leftCenter:QA,rightCenter:vA}=Bl(b,L,V,z),EA=lA.x,kA=QA.y,GA=Math.PI/180*Q.binfo.angle,RA=dr(lA.x,lA.y,EA,kA,GA),Fe=dr(Z.x,Z.y,EA,kA,GA),ye=dr(QA.x,QA.y,EA,kA,GA),Ee=dr(vA.x,vA.y,EA,kA,GA);tA.setAdsorbPoint([{type:"tc",x:RA.x,y:RA.y,id:Q.id},{type:"bc",x:Fe.x,y:Fe.y,id:Q.id},{type:"lc",x:ye.x,y:ye.y,id:Q.id},{type:"rc",x:Ee.x,y:Ee.y,id:Q.id}])},I=(Q,b)=>{b.type!="sys-line"&&S(b)},_=(Q,b)=>{d.intention=="adsorbStart"||d.intention=="adsorbEnd"||tA.setAdsorbPoint([])},K=Q=>{d.setIntention(Q)},x=Q=>{if(d.intention=="adsorbStart"||d.intention=="adsorbEnd"){const b=d.done_json.find(L=>L.id==d.selected_items_id[0]);b&&(d.intention=="adsorbStart"?(b.props.bind_anchors.val={...b.props.bind_anchors.val,start:{type:Q.type,id:Q.id}},b.props.point_position.val[0]={x:Q.x-b.binfo.left,y:Q.y-b.binfo.top}):d.intention=="adsorbEnd"&&(b.props.bind_anchors.val={...b.props.bind_anchors.val,end:{type:Q.type,id:Q.id}},b.props.point_position.val[b.props.point_position.val.length-1]={x:Q.x-b.binfo.left,y:Q.y-b.binfo.top}))}},F=()=>{if(d.intention=="adsorbStart"||d.intention=="adsorbEnd"){const Q=d.done_json.find(b=>b.id==d.selected_items_id[0]);Q&&(d.intention=="adsorbStart"?Q.props.bind_anchors.val={...Q.props.bind_anchors.val,start:null}:d.intention=="adsorbEnd"&&(Q.props.bind_anchors.val={...Q.props.bind_anchors.val,end:null}))}},J=Q=>{const b=d.done_json.filter(L=>{var V,z;return L.type=="sys-line"&&(((V=L.props.bind_anchors.val.start)==null?void 0:V.id)==Q.id||((z=L.props.bind_anchors.val.end)==null?void 0:z.id)==Q.id)});fr(b,d.done_json,e.value,d.canvasCfg.scale),tA.addHistory(d.done_json)},R=Q=>{const b=d.done_json.filter(L=>{var V,z;return L.type=="sys-line"&&(((V=L.props.bind_anchors.val.start)==null?void 0:V.id)==Q.id||((z=L.props.bind_anchors.val.end)==null?void 0:z.id)==Q.id)});fr(b,d.done_json,e.value,d.canvasCfg.scale),tA.addHistory(d.done_json)},eA=Q=>{const b=d.done_json.filter(L=>d.selected_items_id.includes(L.id));cl(Q,b,e.value,d.canvasCfg.scale,d.done_json),tA.addHistory(d.done_json)},iA=()=>{l.x=d.canvasCfg.drag_offset.x,l.y=d.canvasCfg.drag_offset.y},wA=(Q,b)=>{Q===0&&b===0||(d.setIntention("runDragCanvas"),d.canvasCfg.drag_offset={x:l.x+Q,y:l.y+b})},aA=()=>{d.intention=="runDragCanvas"?d.setIntention("endDragCanvas"):d.setIntention("none")},rA=Q=>{if(d.intention=="endDragCanvas")return;const b=[];tA.copy.length>0&&b.push("paste"),d.done_json.length>0&&b.push("selectAll"),rt.setDisplayItem(b),rt.setMenuInfo({...rt.menuInfo,left:Q.clientX,top:Q.clientY}),d.setIntention("showContextMenu")},gA=(Q,b)=>{const L=["copy","delete"];t.groupEnabled&&L.push("group"),t.unGroupEnabled&&L.push("ungroup"),t.deleteEnabled&&L.push("delete");const V=d.done_json.findIndex(z=>z.id==b.id);V>-1&&V-1&&V>0&&(L.push("moveDown"),L.push("moveBottom")),rt.setDisplayItem(L),rt.setMenuInfo({...rt.menuInfo,left:Q.clientX,top:Q.clientY}),d.setIntention("showContextMenu")},mA=()=>{d.setSelectItems(d.done_json.map(Q=>Q.id))},CA=()=>{d.selected_items_id.length<1||(tA.setCopy(d.done_json.filter(Q=>d.selected_items_id.includes(Q.id))),fA.success("复制成功"))},HA=Q=>(Q.forEach(b=>{b.id=b.tag+"-"+gr(),b.type=="sys-line"?b.props.bind_anchors.val={start:null,end:null}:b.type=="group"&&b.children&&(b.children=HA(b.children))}),Q),xA=(Q,b)=>{if(tA.copy.length<1)return;const L=HA(Se(tA.copy)).map(V=>({...V,binfo:{...V.binfo,left:V.binfo.left-Q,top:V.binfo.top-b}}));d.setGlobalStoreDoneJson([...d.done_json,...L]),d.setSelectItems(L.map(V=>V.id)),tA.addHistory(d.done_json)},$=()=>{d.selected_items_id.length<1||(d.deleteSelectedItems(),tA.addHistory(d.done_json))},zA=()=>{d.selected_items_id.length<2||T()},et=()=>{d.selected_items_id.length>1||D()},tt=()=>{if(d.selected_items_id.length!==1)return;const Q=d.done_json.find(b=>b.id===d.selected_items_id[0]);d.setGlobalStoreDoneJson([...d.done_json.filter(b=>b.id!==Q.id),Q]),tA.addHistory(d.done_json)},OA=()=>{if(d.selected_items_id.length!==1)return;const Q=d.done_json.find(b=>b.id===d.selected_items_id[0]);d.setGlobalStoreDoneJson([Q,...d.done_json.filter(b=>b.id!==Q.id)]),tA.addHistory(d.done_json)},Me=()=>{if(d.selected_items_id.length!==1)return;const Q=d.done_json.findIndex(L=>L.id===d.selected_items_id[0]);if(Q>=d.done_json.length-1){fA.error("已经是最上层了");return}const b=d.done_json[Q];d.done_json[Q]=d.done_json[Q+1],d.done_json[Q+1]=b,d.setGlobalStoreDoneJson(d.done_json),tA.addHistory(d.done_json)},Oe=()=>{if(d.selected_items_id.length!==1)return;const Q=d.done_json.findIndex(L=>L.id===d.selected_items_id[0]);if(Q<=0){fA.error("已经是最下层了");return}const b=d.done_json[Q];d.done_json[Q]=d.done_json[Q-1],d.done_json[Q-1]=b,d.setGlobalStoreDoneJson(d.done_json),tA.addHistory(d.done_json)},Ve=()=>{tA.historyIndex!=0&&(tA.historyIndex-=1,d.setGlobalStoreDoneJson(Se(tA.history[tA.historyIndex])),d.setSelectItems([]))},ZA=()=>{tA.historyIndex!=tA.history.length-1&&(tA.historyIndex+=1,d.setGlobalStoreDoneJson(Se(tA.history[tA.historyIndex])),d.setSelectItems([]))},ke=(Q,b)=>{var L;switch(Q){case"selectAll":mA();break;case"copy":CA();break;case"paste":{if(tA.copy.length<1)return;const{realityX:V,realityY:z}=Ft(b,(L=e.value)==null?void 0:L.getBoundingClientRect()),lA=Qe(V/d.canvasCfg.scale,1),Z=Qe(z/d.canvasCfg.scale,1);let QA="",vA=1/0;tA.copy.forEach(RA=>{RA.binfo.topRA.id===QA),kA=EA.binfo.left-lA,GA=EA.binfo.top-Z;xA(kA,GA);break}case"delete":$();break;case"group":zA();break;case"ungroup":et();break;case"moveTop":{tt();break}case"moveBottom":{OA();break}case"moveUp":{Me();break}case"moveDown":{Oe();break}}d.setIntention("none")},P=Q=>{Q.ctrlKey&&Q.key.toLocaleLowerCase()==="a"?(Q.preventDefault(),mA()):Q.ctrlKey&&Q.key.toLocaleLowerCase()==="c"?(Q.preventDefault(),CA()):Q.ctrlKey&&Q.key.toLocaleLowerCase()==="v"?(Q.preventDefault(),xA(10,10)):Q.key.toLocaleLowerCase()==="delete"?(Q.preventDefault(),$()):Q.ctrlKey&&Q.key.toLocaleLowerCase()==="g"?(Q.preventDefault(),zA()):Q.ctrlKey&&Q.key.toLocaleLowerCase()==="u"?(Q.preventDefault(),et()):Q.ctrlKey&&Q.key==="ArrowRight"?(Q.preventDefault(),tt()):Q.ctrlKey&&Q.key==="ArrowLeft"?(Q.preventDefault(),OA()):Q.ctrlKey&&Q.key==="ArrowUp"?(Q.preventDefault(),Me()):Q.ctrlKey&&Q.key==="ArrowDown"?(Q.preventDefault(),Oe()):Q.ctrlKey&&Q.key.toLocaleLowerCase()==="z"?(Q.preventDefault(),Ve()):Q.ctrlKey&&Q.key.toLocaleLowerCase()==="y"?(Q.preventDefault(),ZA()):Q.key==="ArrowUp"?(Q.preventDefault(),b(0,-1)):Q.key==="ArrowDown"?(Q.preventDefault(),b(0,1)):Q.key==="ArrowLeft"?(Q.preventDefault(),b(-1,0)):Q.key==="ArrowRight"&&(Q.preventDefault(),b(1,0));function b(L,V){if(d.selected_items_id.length<1)return;const z=[];d.done_json.forEach(lA=>{d.selected_items_id.includes(lA.id)&&(lA.binfo.left+=L,lA.binfo.top+=V,lA.type=="sys-line"?lA.props.bind_anchors.val={start:null,end:null}:z.push(...d.done_json.filter(Z=>{var QA,vA;return Z.type=="sys-line"&&(((QA=Z.props.bind_anchors.val.start)==null?void 0:QA.id)==lA.id||((vA=Z.props.bind_anchors.val.end)==null?void 0:vA.id)==lA.id)})))}),fr(z,d.done_json,e.value,d.canvasCfg.scale),tA.addHistory(d.done_json)}},k=Q=>{if(Q.ctrlKey){if(Q.preventDefault(),Q.stopPropagation(),Q.deltaY>0?d.canvasCfg.scale=(d.canvasCfg.scale*10-1)/10:Q.deltaY<0&&(d.canvasCfg.scale=(d.canvasCfg.scale*10+1)/10),!a.value)return;const{realityX:b,realityY:L}=Ft(Q,e.value.getBoundingClientRect()),V=parseInt(b/d.canvasCfg.scale+""),z=parseInt(L/d.canvasCfg.scale+"");d.canvasCfg.transform_origin.x!==V&&d.canvasCfg.transform_origin.y!==z&&(d.canvasCfg.transform_origin={x:V,y:z},a.value=!1)}},AA=()=>{o||(document.addEventListener("keydown",P),o=!0)},yA=()=>{o&&(document.removeEventListener("keydown",P),o=!1)},PA=()=>{a.value=!0},VA=Q=>{const b=[...d.done_json],L={...Q,id:Q.tag+"-"+gr()};b.push(L),d.setGlobalStoreDoneJson(b),d.setSingleSelect(L.id),d.setIntention("none"),tA.addHistory(b)};return an(()=>{AA()}),sl(()=>{yA()}),A({createGroupItem:T,onUngroup:D,onAlignSelected:eA,onRedo:ZA,onUndo:Ve,beginListenerKeyDown:AA,stopListenerKeyDown:yA}),(Q,b)=>{var L;return O(),sA("div",{class:"overflow-hidden w-1/1 h-1/1",onWheel:k},[j("div",{id:"mtCanvasArea",ref_key:"canvasAreaRef",ref:e,class:ze(`canvasArea ${p(d).intention=="runDragCanvas"?"cursor-grab":""}`),onDrop:h,onDragover:w,onTouchstart:b[3]||(b[3]=V=>h(V,!0)),onMousedown:y,onMousemove:PA,onContextmenu:zr(rA,["right","prevent"])},[p(d).gridCfg.enabled?(O(),Y(lc,{key:0,grid:p(d).gridCfg.size},null,8,["grid"])):hA("",!0),C(bl,{"done-json":u.value,"onUpdate:doneJson":b[0]||(b[0]=V=>u.value=V),"canvas-cfg":p(d).canvasCfg,"grid-cfg":p(d).gridCfg,"show-ghost-dom":!(((L=p(d).selected_items_id)==null?void 0:L.length)>1),"canvas-dom":e.value,"global-lock":p(d).lock,"line-append-enable":t.lineAppendEnable,onOnMouseDown:m,onOnItemMove:E,onOnMoveMouseUp:U,onOnItemMouseEnter:I,onOnItemMouseLeave:_,onSetIntention:K,onOnItemResizeDone:J,onOnItemRotateDone:R,onOnItemRightClick:zr(gA,["stop"])},null,8,["done-json","canvas-cfg","grid-cfg","show-ghost-dom","canvas-dom","global-lock","line-append-enable"]),Tt(C(Bc,{ref_key:"selectedAreaRef",ref:n,"scale-ratio":p(d).canvasCfg.scale,"target-dom":e.value,onSelectedAreaMouseUp:H},null,8,["scale-ratio","target-dom"]),[[jn,p(d).intention==="beginMulSelect"]]),C(Il,{ref_key:"dragCanvasRef",ref:s,"scale-ratio":p(d).canvasCfg.scale,onDragCanvasMouseDown:iA,onDragCanvasMouseMove:wA,onDragCanvasMouseUp:aA},null,8,["scale-ratio"]),Tt(C(yc,{ref_key:"dragLineRenderRef",ref:i,"item-json":g.value,"onUpdate:itemJson":b[1]||(b[1]=V=>g.value=V),"canvas-cfg":p(d).canvasCfg,"canvas-dom":e.value,grid:p(d).gridCfg,mode:"pen",onDrawLineEnd:VA},null,8,["item-json","canvas-cfg","canvas-dom","grid"]),[[jn,p(d).intention=="drawSysLineStart"]]),p(d).intention=="adsorbStart"||p(d).intention=="adsorbEnd"?(O(),sA("div",Ec,[(O(!0),sA(Be,null,me(p(tA).adsorbPoint,V=>(O(),sA("div",{key:V.type,class:"adsorb-point touch-none",style:Hs({left:V.x+"px",top:V.y+"px"}),"data-id":V.type,onMouseenter:z=>x(V),onMouseout:b[2]||(b[2]=z=>F())},null,44,bc))),128))])):hA("",!0),b[4]||(b[4]=j("div",{id:"guide-x"},null,-1)),b[5]||(b[5]=j("div",{id:"guide-y"},null,-1))],34),C(pc,{"menu-info":p(rt).menuInfo,show:p(d).intention=="showContextMenu",onOnContextMenuClick:ke},null,8,["menu-info","show"])],32)}}}),Hc=Ke(Ic,[["__scopeId","data-v-306a5bcf"]]),xc={class:"flex justify-between"},Sc={class:"flex justify-between px-10px ct-border pt-10px"},Tc={class:"flex justify-center items-center relative"},Lc=["src"],Dc=MA({__name:"page-setting",props:{canvasCfg:{},gridCfg:{}},emits:["update:canvasCfg","update:gridCfg"],setup(r,{emit:A}){const t=r,e=A,n=X("page"),s=X(),i=q({get:()=>`${t.canvasCfg.width}*${t.canvasCfg.height}`,set:U=>{const[S,I]=U.split("*");e("update:canvasCfg",{...t.canvasCfg,width:Number(S),height:Number(I)})}}),a=q({get:()=>t.canvasCfg.width,set:U=>{e("update:canvasCfg",{...t.canvasCfg,width:U})}}),o=q({get:()=>t.canvasCfg.height,set:U=>{e("update:canvasCfg",{...t.canvasCfg,height:U})}}),l=[{label:"pc端",options:[{value:"1170*660",label:"适配左侧菜单"},{value:"1395*660",label:"适配菜单收起"},{value:"1920*1080",label:"1920*1080"},{value:"1600*900",label:"1600*900"},{value:"1366*768",label:"1366*768"}]},{label:"移动端",options:[{value:"1024*1366",label:"1024*1366"},{value:"768*1024",label:"768*1024"},{value:"480*800",label:"480*800"}]}],c=q({get:()=>t.canvasCfg.scale,set:U=>{e("update:canvasCfg",{...t.canvasCfg,scale:U})}}),u=q({get:()=>t.canvasCfg.scale,set:U=>{e("update:canvasCfg",{...t.canvasCfg,scale:U})}}),B=[{value:.5,label:.5},{value:1,label:1},{value:1.5,label:1.5},{value:2,label:2}],f=q({get:()=>t.canvasCfg.color,set:U=>{e("update:canvasCfg",{...t.canvasCfg,color:U})}}),g=X(!1),h=X([]),w=q({get:()=>t.gridCfg.enabled,set:U=>{e("update:gridCfg",{...t.gridCfg,enabled:U})}}),m=q({get:()=>t.gridCfg.align,set:U=>{e("update:gridCfg",{...t.gridCfg,align:U})}}),y=q({get:()=>t.gridCfg.size,set:U=>{e("update:gridCfg",{...t.gridCfg,size:U})}}),H=U=>{if(g.value=!1,U.raw.type.includes("image/")){if(U.raw.size/1024/1024>1)return fA.error("不能上传超过1MB的图像!"),s.value.clearFiles(),h.value=[],!1}else return fA.error("只能上传图片!"),s.value.clearFiles(),h.value=[],!1;ma(U.raw).then(S=>{e("update:canvasCfg",{...t.canvasCfg,img:S})})},T=()=>{s.value.clearFiles(),e("update:canvasCfg",{...t.canvasCfg,img:""})},D=q({get:()=>t.canvasCfg.adsorp,set:U=>{e("update:canvasCfg",{...t.canvasCfg,adsorp:U})}}),E=q({get:()=>t.canvasCfg.guide,set:U=>{e("update:canvasCfg",{...t.canvasCfg,guide:U})}});return(U,S)=>(O(),Y(p(ba),{modelValue:n.value,"onUpdate:modelValue":S[14]||(S[14]=I=>n.value=I),class:"select-none"},{default:v(()=>[C(p(Ea),{label:"页面",name:"page"},{default:v(()=>[C(p(Fa),{"label-width":"70px","label-position":"left"},{default:v(()=>[C(p(ie),{label:"画布尺寸",size:"small"},{default:v(()=>[C(p(qn),{modelValue:i.value,"onUpdate:modelValue":S[2]||(S[2]=I=>i.value=I),placeholder:"请设置画布尺寸"},{default:v(()=>[C(p(Js),{label:"自定义"},{default:v(()=>[j("div",xc,[C(p(Nt),{modelValue:a.value,"onUpdate:modelValue":S[0]||(S[0]=I=>a.value=I),size:"small",controls:!1,class:"w-5/10 pl-5px"},null,8,["modelValue"]),C(p(Wr),null,{default:v(()=>[...S[15]||(S[15]=[oA("*",-1)])]),_:1}),C(p(Nt),{modelValue:o.value,"onUpdate:modelValue":S[1]||(S[1]=I=>o.value=I),size:"small",controls:!1,class:"w-5/10 pr-5px"},null,8,["modelValue"])])]),_:1}),(O(),sA(Be,null,me(l,I=>C(p(Js),{key:I.label,label:I.label},{default:v(()=>[(O(!0),sA(Be,null,me(I.options,_=>(O(),Y(p(As),{key:_.value,label:_.label,value:_.value},null,8,["label","value"]))),128))]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1}),C(p(ie),{label:"缩放倍数",size:"small"},{default:v(()=>[C(p(qn),{modelValue:u.value,"onUpdate:modelValue":S[4]||(S[4]=I=>u.value=I),placeholder:"请设置缩放比例",size:"small"},{default:v(()=>[(O(),sA(Be,null,me(B,I=>C(p(As),{key:I.value,label:I.label,value:I.value},null,8,["label","value"])),64)),j("div",Sc,[C(p(Wr),null,{default:v(()=>[...S[16]||(S[16]=[oA("自定义:",-1)])]),_:1}),C(p(Nt),{modelValue:c.value,"onUpdate:modelValue":S[3]||(S[3]=I=>c.value=I),size:"small",step:.1,min:.1,class:"mx-5px"},null,8,["modelValue"])])]),_:1},8,["modelValue"])]),_:1}),C(p(ie),{label:"背景颜色",size:"small"},{default:v(()=>[C(p(ya),{modelValue:f.value,"onUpdate:modelValue":S[5]||(S[5]=I=>f.value=I)},null,8,["modelValue"])]),_:1}),C(p(ie),{label:"背景图片",size:"small"},{default:v(()=>[C(p(Qa),{ref_key:"canvasBgImgUploadRef",ref:s,class:"w-24px h-24px","file-list":h.value,"onUpdate:fileList":S[6]||(S[6]=I=>h.value=I),"auto-upload":!1,limit:1,"show-file-list":!1,"on-change":H,accept:"image/*",onMouseenter:S[7]||(S[7]=I=>g.value=!0),onMouseleave:S[8]||(S[8]=I=>g.value=!1)},{default:v(()=>[j("div",Tc,[t.canvasCfg.img?(O(),sA("img",{key:0,class:"w-40px h-40px absolute left-0",src:t.canvasCfg.img},null,8,Lc)):(O(),Y(p(cA),{key:1,size:"small",class:"w-40px h-40px absolute left-0"},{default:v(()=>[C(p(YA),{title:"上传",size:20},{default:v(()=>[C(JA,{name:"upload"})]),_:1})]),_:1})),t.canvasCfg.img&&g.value?(O(),sA("div",{key:2,class:"absolute w-40px h-40px left-0 opacity-80 bg-light-300 flex justify-center items-center",onClick:zr(T,["stop"])},[C(p(YA),{title:"删除",size:25},{default:v(()=>[C(JA,{name:"delete"})]),_:1})])):hA("",!0)])]),_:1},8,["file-list"])]),_:1}),C(p(ie),{label:"参考线",size:"small"},{default:v(()=>[C(p(ot),{modelValue:E.value,"onUpdate:modelValue":S[9]||(S[9]=I=>E.value=I)},null,8,["modelValue"])]),_:1}),C(p(ie),{label:"吸附",size:"small"},{default:v(()=>[C(p(ot),{modelValue:D.value,"onUpdate:modelValue":S[10]||(S[10]=I=>D.value=I)},null,8,["modelValue"])]),_:1}),C(p(ie),{label:"网格",size:"small"},{default:v(()=>[C(p(ot),{modelValue:w.value,"onUpdate:modelValue":S[11]||(S[11]=I=>w.value=I)},null,8,["modelValue"])]),_:1}),w.value?(O(),Y(p(ie),{key:0,label:"网格对齐",size:"small"},{default:v(()=>[C(p(ot),{modelValue:m.value,"onUpdate:modelValue":S[12]||(S[12]=I=>m.value=I)},null,8,["modelValue"])]),_:1})):hA("",!0),w.value?(O(),Y(p(ie),{key:1,label:"网格大小",size:"small"},{default:v(()=>[C(p(Nt),{modelValue:y.value,"onUpdate:modelValue":S[13]||(S[13]=I=>y.value=I),min:1},null,8,["modelValue"])]),_:1})):hA("",!0)]),_:1})]),_:1})]),_:1},8,["modelValue"]))}}),qs=["blur","input","change","changeSelectionStyle","changeSession","copy","focus","paste"],Ts=MA({name:"VAceEditor",props:{value:{type:String,required:!0},lang:{type:String,default:"text"},theme:{type:String,default:"chrome"},options:Object,placeholder:String,readonly:Boolean,wrap:Boolean,printMargin:{type:[Boolean,Number],default:!0},minLines:Number,maxLines:Number},emits:["update:value","init",...qs],render(){return gl("div")},mounted(){const r=this._editor=fl(dl.edit(this.$el,{placeholder:this.placeholder,readOnly:this.readonly,value:this.value,mode:"ace/mode/"+this.lang,theme:"ace/theme/"+this.theme,wrap:this.wrap,printMargin:this.printMargin,useWorker:!1,minLines:this.minLines,maxLines:this.maxLines,...this.options}));this._contentBackup=this.value,this._isSettingContent=!1,r.on("change",()=>{if(this._isSettingContent)return;const A=r.getValue();this._contentBackup=A,this.$emit("update:value",A)}),qs.forEach(A=>{const t="on"+hl(A);typeof this.$.vnode.props[t]=="function"&&r.on(A,this.$emit.bind(this,A))}),this._ro=new pl(()=>r.resize()),this._ro.observe(this.$el),this.$emit("init",r)},beforeUnmount(){var r,A;(r=this._ro)===null||r===void 0||r.disconnect(),(A=this._editor)===null||A===void 0||A.destroy()},methods:{focus(){this._editor.focus()},blur(){this._editor.blur()},selectAll(){this._editor.selectAll()},getAceInstance(){return this._editor}},watch:{value(r){if(this._contentBackup!==r){try{this._isSettingContent=!0,this._editor.setValue(r,1)}finally{this._isSettingContent=!1}this._contentBackup=r}},theme(r){this._editor.setTheme("ace/theme/"+r)},options(r){this._editor.setOptions(r)},readonly(r){this._editor.setReadOnly(r)},placeholder(r){this._editor.setOption("placeholder",r)},wrap(r){this._editor.setWrapBehavioursEnabled(r)},printMargin(r){this._editor.setOption("printMargin",r)},lang(r){this._editor.setOption("mode","ace/mode/"+r)},minLines(r){this._editor.setOption("minLines",r)},maxLines(r){this._editor.setOption("maxLines",r)}}}),Kc={class:"dialog-footer"},_c=MA({__name:"json-edit",props:{contentObj:{type:Object,default:()=>{}}},emits:["update:contentObj"],setup(r,{emit:A}){const t=r,e=X(!1),n=A,s=X(JSON.stringify(t.contentObj,null,2)),i=()=>{n("update:contentObj",JSON.parse(s.value)),e.value=!1};return(a,o)=>(O(),sA("div",null,[C(p(cA),{type:"primary",plain:"",round:"",onClick:o[0]||(o[0]=l=>e.value=!0)},{default:v(()=>[...o[4]||(o[4]=[oA("点击编辑",-1)])]),_:1}),C(p(ut),{modelValue:e.value,"onUpdate:modelValue":o[3]||(o[3]=l=>e.value=l),title:"配置编辑",width:"60%"},{footer:v(()=>[j("span",Kc,[C(p(cA),{type:"primary",onClick:i},{default:v(()=>[...o[5]||(o[5]=[oA("确定",-1)])]),_:1}),C(p(cA),{type:"primary",onClick:o[2]||(o[2]=l=>e.value=!1)},{default:v(()=>[...o[6]||(o[6]=[oA("关闭",-1)])]),_:1})])]),default:v(()=>[C(p(Ts),{value:s.value,"onUpdate:value":o[1]||(o[1]=l=>s.value=l),lang:"json",theme:"monokai",style:{height:"400px"},options:{useWorker:!0,enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0}},null,8,["value"])]),_:1},8,["modelValue"])]))}}),Mc={class:"demo-pagination-block"},Oc=MA({__name:"imageModel",props:{dialogImageVisible:{type:Boolean,default:!1},isEdit:{type:Boolean,default:!1},isDelete:{type:Boolean,default:!1},isBinding:{type:Boolean,default:!1},isUpload:{type:Boolean,default:!1}},emits:["updateDialogImageVisible","bindingImg"],setup(r,{emit:A}){const t=r;console.log("dialogImageVisible:",t.dialogImageVisible);const e=A,n=K=>{e("bindingImg",K)},s=q({get:()=>t.dialogImageVisible,set:K=>e("updateDialogImageVisible",K)}),i=nr({fileId:null,fileName:null,fileDate:null}),a=X(!1),o=X("");let l=X(!1),c=X(!1),u=X(1),B=X(4),f=X(0),g=X(""),h=X("");const w=X([]);async function m(){let K={id:h.value,fileName:g.value};const x=await $t.fileStorage_editFileNameById_post(K);x.code==200?fA.success(x.data):fA.error(x.message+",请联系管理员"),_(),c.value=!1,g.value="",h.value=""}async function y(K){let x={id:K};const F=await $t.fileStorage_deleteFileById_get(x);F.code==200?fA.success(F.data):fA.error(F.message+",请联系管理员"),_()}function H(K){_(),fA({message:"文件存储成功",type:"success"})}function T(){_()}function D(){i.fileId=null,i.fileName=null,i.fileDate=null}const E=K=>{console.log("size点击:",`${K} items per page`),_()},U=K=>{console.log("Current点击:",`current page: ${K}`),_()};function S(K,x){g.value=K,h.value=x,c.value=!0}function I(K){o.value=K,a.value=!0}async function _(){l.value=!0;let K={pageNum:u.value,pageSize:B.value,id:i.fileId,fileName:i.fileName,startTime:i.fileDate?new Date(i.fileDate[0]).getTime():null,endTime:i.fileDate?new Date(i.fileDate[1]).getTime():null};console.log("endJson:",K);const x=await $t.fileStorage_file_list_post(K);if(w.value=[],!x.data){l.value=!1;return}f.value=x.data.total,u.value=x.data.current,B.value=x.data.size,x.data.list.forEach(F=>{let J=wl(F.addTime),R=F.id,eA=F.fileName,iA=Cl(Ys,F.filePath);w.value.push({date:J,id:R,name:eA,imgUrl:iA})}),console.log("tableData:",w.value),l.value=!1}return an(()=>{_()}),(K,x)=>{const F=LA("el-input"),J=LA("el-form-item"),R=LA("el-col"),eA=LA("el-row"),iA=LA("el-date-picker"),wA=LA("el-upload"),aA=LA("el-form"),rA=LA("el-table-column"),gA=LA("el-image"),mA=LA("el-table"),CA=LA("el-pagination"),HA=LA("el-image-viewer"),xA=Ia("loading");return O(),sA(Be,null,[C(p(ut),{modelValue:s.value,"onUpdate:modelValue":x[5]||(x[5]=$=>s.value=$),top:"5vh",title:"图片模型",width:"80%",class:"custom-dialog"},{default:v(()=>[C(aA,{model:i,"label-width":"auto",style:{"max-width":"100%"},inline:""},{default:v(()=>[C(eA,{gutter:1},{default:v(()=>[C(R,{span:6},{default:v(()=>[C(J,{label:"文件ID"},{default:v(()=>[C(F,{modelValue:i.fileId,"onUpdate:modelValue":x[0]||(x[0]=$=>i.fileId=$),style:{width:"100%"}},null,8,["modelValue"])]),_:1})]),_:1}),C(R,{span:6},{default:v(()=>[C(J,{label:"文件名称"},{default:v(()=>[C(F,{modelValue:i.fileName,"onUpdate:modelValue":x[1]||(x[1]=$=>i.fileName=$)},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),C(eA,{gutter:20},{default:v(()=>[C(R,{span:10},{default:v(()=>[C(J,{label:"创建时间"},{default:v(()=>[C(iA,{modelValue:i.fileDate,"onUpdate:modelValue":x[2]||(x[2]=$=>i.fileDate=$),type:"daterange","range-separator":"-","start-placeholder":"开始时间","end-placeholder":"结束时间",size:"default"},null,8,["modelValue"])]),_:1})]),_:1}),C(R,{span:11},{default:v(()=>[C(p(cA),{type:"primary",onClick:T},{default:v(()=>[...x[9]||(x[9]=[oA("查询",-1)])]),_:1}),C(p(cA),{type:"info",onClick:D},{default:v(()=>[...x[10]||(x[10]=[oA("重置",-1)])]),_:1})]),_:1}),r.isUpload?(O(),Y(R,{key:0,span:3},{default:v(()=>[C(wA,{accept:"image/*",action:p(Ys)+"/fileStorage/saveFile","on-success":H,"show-file-list":!1,style:{width:"100%",padding:"0 10px"}},{default:v(()=>[C(p(cA),{type:"success"},{default:v(()=>[...x[11]||(x[11]=[oA("上传图片",-1)])]),_:1})]),_:1},8,["action"])]),_:1})):hA("",!0)]),_:1})]),_:1},8,["model"]),Tt((O(),Y(mA,{data:w.value,style:{width:"100%",height:"395px"}},{default:v(()=>[C(rA,{prop:"id",label:"文件ID"}),C(rA,{prop:"date",label:"添加时间"}),C(rA,{prop:"name",label:"文件名称"}),C(rA,{prop:"imgUrl",label:"文件",width:"180"},{default:v($=>[C(gA,{style:{width:"65px",height:"65px"},src:$.row.imgUrl,"preview-src-list":[],fit:"cover",onClick:zA=>I($.row.imgUrl)},null,8,["src","onClick"])]),_:1}),r.isEdit||r.isDelete||r.isBinding?(O(),Y(rA,{key:0,fixed:"right",label:"操作"},{default:v($=>[r.isEdit?(O(),Y(p(cA),{key:0,link:"",type:"primary",size:"small",onClick:zA=>S($.row.name,$.row.id)},{default:v(()=>[...x[12]||(x[12]=[oA(" 编辑 ",-1)])]),_:1},8,["onClick"])):hA("",!0),r.isDelete?(O(),Y(p(cA),{key:1,link:"",type:"danger",size:"small",onClick:zA=>y($.row.id)},{default:v(()=>[...x[13]||(x[13]=[oA("删除",-1)])]),_:1},8,["onClick"])):hA("",!0),r.isBinding?(O(),Y(p(cA),{key:2,link:"",type:"success",size:"small",onClick:zA=>n($.row)},{default:v(()=>[...x[14]||(x[14]=[oA("绑定",-1)])]),_:1},8,["onClick"])):hA("",!0)]),_:1})):hA("",!0)]),_:1},8,["data"])),[[xA,p(l)]]),j("div",Mc,[C(CA,{"current-page":p(u),"onUpdate:currentPage":x[3]||(x[3]=$=>lt(u)?u.value=$:u=$),"page-size":p(B),"onUpdate:pageSize":x[4]||(x[4]=$=>lt(B)?B.value=$:B=$),"page-sizes":[4,8,12],"pager-count":3,size:"default",layout:"total,sizes,-> ,prev, pager, next",total:p(f),onSizeChange:E,onCurrentChange:U},null,8,["current-page","page-size","total"])])]),_:1},8,["modelValue"]),C(p(ut),{modelValue:p(c),"onUpdate:modelValue":x[7]||(x[7]=$=>lt(c)?c.value=$:c=$),title:"修改文件名称",width:"500"},{default:v(()=>[C(eA,{gutter:20},{default:v(()=>[C(R,{span:24},{default:v(()=>[C(F,{modelValue:p(g),"onUpdate:modelValue":x[6]||(x[6]=$=>lt(g)?g.value=$:g=$)},null,8,["modelValue"])]),_:1})]),_:1}),x[16]||(x[16]=j("br",null,null,-1)),C(eA,{gutter:20},{default:v(()=>[C(R,{span:20}),C(R,{span:4},{default:v(()=>[C(p(cA),{type:"primary",onClick:m},{default:v(()=>[...x[15]||(x[15]=[oA(" 提交 ",-1)])]),_:1})]),_:1})]),_:1})]),_:1},8,["modelValue"]),a.value?(O(),Y(HA,{key:0,"url-list":[o.value],"z-index":3e3,onClose:x[8]||(x[8]=$=>a.value=!1)},null,8,["url-list"])):hA("",!0)],64)}}}),La=Ke(Oc,[["__scopeId","data-v-afca666c"]]),Vc={key:6},kc=MA({__name:"select-item-props-setting",props:{propsInfo:{}},emits:["imgUpload","selectById","updateDialogImageVisible","bindingImg"],setup(r,{emit:A}){const t=r,e=A;an(()=>{a()});let n=X(!1);function s(){n.value=!1}let i=X();function a(){for(const E in t.propsInfo){const U=t.propsInfo[E];U.type==="inputTypeTag"&&(i.value=U.val)}}let o;const l=X(!1);function c(E){T(),o=E,l.value=!0}let u;const B=E=>{n.value=!0,u=E};function f(E){console.log("绑定图片",E,u),u.val=E.id,e("imgUpload",E),n.value=!1}let g=X([]);function h(E){console.log("绑定",g.value),l.value=!1,g.value=[E.modeId],o.val=E.modeId,e("selectById",E.modeId)}function w(E){switch(E){case"遥信":return 1;case"遥测":return 2;case"遥控":return 3;case"遥调":return 4;default:return 0}}const m=X(""),y=(E,U)=>U.bType===E,H=q(()=>m.value?D.filter(E=>E.name.toLowerCase().includes(m.value.toLowerCase())):D);function T(){let E;i.value!==void 0&&(E=w(i.value)),D.splice(0,D.length);const U=window.globalData;if(U){if(U instanceof Map)U.forEach((S,I)=>{if(E==null||E==S.bType){let _=I,K=S.node.name,x=S.bType;D.push({modeId:_,name:K,bType:x})}});else for(const S in U)if(Object.prototype.hasOwnProperty.call(U,S)){const I=U[S];if(I&&(E==null||E==I.bType)){let _=S,K=I.node.name,x=I.bType;D.push({modeId:_,name:K,bType:x})}}}}const D=[];return(E,U)=>{const S=LA("el-input-tag"),I=LA("el-tag"),_=LA("el-table-column"),K=LA("el-table"),x=LA("el-dialog");return O(),sA(Be,null,[(O(!0),sA(Be,null,me(t.propsInfo,(F,J)=>(O(),sA("div",{key:J},[F.disabled?hA("",!0):(O(),Y(p(ie),{key:0,label:F.title,size:"small"},{default:v(()=>[F.type==="select"&&!F.disabled?(O(),Y(p(qn),{key:0,modelValue:F.val,"onUpdate:modelValue":R=>F.val=R,placeholder:"Select",size:"small",disabled:F==null?void 0:F.disabled},{default:v(()=>[(O(!0),sA(Be,null,me(F.options,R=>(O(),Y(p(As),{key:R.value,label:R.label,value:R.value},null,8,["label","value"]))),128))]),_:2},1032,["modelValue","onUpdate:modelValue","disabled"])):F.type==="number"&&!F.disabled?(O(),Y(p(Nt),{key:1,modelValue:F.val,"onUpdate:modelValue":R=>F.val=R,disabled:F==null?void 0:F.disabled},null,8,["modelValue","onUpdate:modelValue","disabled"])):F.type==="input"&&!F.disabled?(O(),Y(p(jt),{key:2,modelValue:F.val,"onUpdate:modelValue":R=>F.val=R,disabled:F==null?void 0:F.disabled},null,8,["modelValue","onUpdate:modelValue","disabled"])):F.type==="textArea"&&!F.disabled?(O(),Y(p(jt),{key:3,modelValue:F.val,"onUpdate:modelValue":R=>F.val=R,disabled:F==null?void 0:F.disabled,type:"textarea"},null,8,["modelValue","onUpdate:modelValue","disabled"])):F.type==="color"&&!F.disabled?(O(),Y(p(ya),{key:4,modelValue:F.val,"onUpdate:modelValue":R=>F.val=R,disabled:F==null?void 0:F.disabled},null,8,["modelValue","onUpdate:modelValue","disabled"])):F.type==="switch"&&!F.disabled?(O(),Y(p(ot),{key:5,modelValue:F.val,"onUpdate:modelValue":R=>F.val=R,disabled:F==null?void 0:F.disabled},null,8,["modelValue","onUpdate:modelValue","disabled"])):F.type==="jsonEdit"&&!F.disabled?(O(),sA("div",Vc,[C(_c,{contentObj:F.val,"onUpdate:contentObj":R=>F.val=R},null,8,["contentObj","onUpdate:contentObj"])])):F.type==="upload"&&!F.disabled?(O(),Y(S,{key:7,"model-value":[F.val],"tag-type":"success",size:"small",disabled:"",max:1,"max-collapse-tags":1,placeholder:"请绑定"},{prefix:v(()=>[C(p(YA),{onClick:R=>B(F)},{default:v(()=>[C(p(Ws))]),_:1},8,["onClick"])]),_:2},1032,["model-value"])):F.type==="inputTypeTag"&&!F.disabled?(O(),Y(I,{key:8},{default:v(()=>[oA(WA(F.val),1)]),_:2},1024)):F.type==="inputSelectId"&&!F.disabled?(O(),Y(S,{key:9,"model-value":[F.val],"tag-type":"success",size:"small",disabled:"",max:1,"max-collapse-tags":1,placeholder:"请绑定"},{prefix:v(()=>[C(p(YA),{onClick:R=>c(F)},{default:v(()=>[C(p(Ws))]),_:1},8,["onClick"])]),_:2},1032,["model-value"])):hA("",!0)]),_:2},1032,["label"]))]))),128)),C(La,{dialogImageVisible:p(n),isBinding:!0,onUpdateDialogImageVisible:s,onBindingImg:f},null,8,["dialogImageVisible"]),C(x,{modelValue:l.value,"onUpdate:modelValue":U[1]||(U[1]=F=>l.value=F),class:"elDialog",top:"10vh",title:"组件绑定",height:"80%",width:"60%"},{default:v(()=>[C(K,{data:H.value,"max-height":450},{default:v(()=>[C(_,{type:"index",label:"序号"}),C(_,{prop:"modeId",label:"遥ID"}),C(_,{prop:"name",label:"名称"}),p(i)==null?(O(),Y(_,{key:0,prop:"bType",label:"类型筛选",filters:[{text:"遥信",value:1},{text:"遥测",value:2},{text:"遥控",value:3},{text:"遥调",value:4},{text:"其他",value:0}],"filter-method":y,"filter-placement":"bottom-end","filter-confirm-button-text":"确定","filter-reset-button-text":"重置"},{default:v(F=>[F.row.bType===1?(O(),Y(I,{key:0,type:"primary"},{default:v(()=>[...U[2]||(U[2]=[oA(WA("遥信"),-1)])]),_:1})):F.row.bType===2?(O(),Y(I,{key:1,type:"success"},{default:v(()=>[...U[3]||(U[3]=[oA(WA("遥测"),-1)])]),_:1})):F.row.bType===3?(O(),Y(I,{key:2,type:"info"},{default:v(()=>[...U[4]||(U[4]=[oA(WA("遥控"),-1)])]),_:1})):F.row.bType===4?(O(),Y(I,{key:3,type:"warning"},{default:v(()=>[...U[5]||(U[5]=[oA(WA("遥调"),-1)])]),_:1})):(O(),Y(I,{key:4,type:"danger"},{default:v(()=>[...U[6]||(U[6]=[oA(WA("其他"),-1)])]),_:1}))]),_:1})):hA("",!0),p(i)!=null?(O(),Y(_,{key:1,label:"类型"},{default:v(F=>[F.row.bType===1?(O(),Y(I,{key:0,type:"primary"},{default:v(()=>[...U[7]||(U[7]=[oA(WA("遥信"),-1)])]),_:1})):F.row.bType===2?(O(),Y(I,{key:1,type:"success"},{default:v(()=>[...U[8]||(U[8]=[oA(WA("遥测"),-1)])]),_:1})):F.row.bType===3?(O(),Y(I,{key:2,type:"info"},{default:v(()=>[...U[9]||(U[9]=[oA(WA("遥控"),-1)])]),_:1})):F.row.bType===4?(O(),Y(I,{key:3,type:"warning"},{default:v(()=>[...U[10]||(U[10]=[oA(WA("遥调"),-1)])]),_:1})):hA("",!0)]),_:1})):hA("",!0),C(_,{align:"center"},{header:v(()=>[C(p(jt),{modelValue:m.value,"onUpdate:modelValue":U[0]||(U[0]=F=>m.value=F),size:"small",placeholder:"节点名称"},null,8,["modelValue"])]),default:v(F=>[C(p(cA),{size:"small",onClick:J=>h(F.row)},{default:v(()=>[...U[11]||(U[11]=[oA(" 绑定 ",-1)])]),_:1},8,["onClick"])]),_:1})]),_:1},8,["data"])]),_:1},8,["modelValue"])],64)}}}),Rc=Ke(kc,[["__scopeId","data-v-b6eb4910"]]),Nc=MA({__name:"select-item-setting",props:{itemJson:{},doneJson:{}},emits:["update:itemJson","addHistory","imgUpload","selectById"],setup(r,{emit:A}){const t=X("config"),e=X(["1"]);Ql();function n(){}const s=r,i=A,a=Ss();function o(g){var h;zs.emit(((h=s.itemJson)==null?void 0:h.id)||"",g||"")}function l(g){var h,w;console.log("selectById触发事件:",g),g&&(console.log("事件:",((h=s.itemJson)==null?void 0:h.id)||""),zs.emit(((w=s.itemJson)==null?void 0:w.id)||"",g))}q(()=>{var g;return((g=s.itemJson)==null?void 0:g.type)==="sys-line"});const c=q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.title},set:g=>{console.log("右侧属性修改1"),i("update:itemJson",{...s.itemJson,title:g})}});q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.binfo.left},set:g=>{var h;console.log("右侧属性修改2"),i("update:itemJson",{...s.itemJson,binfo:{...(h=s.itemJson)==null?void 0:h.binfo,left:g}})}}),q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.binfo.top},set:g=>{var h;console.log("右侧属性修改3"),i("update:itemJson",{...s.itemJson,binfo:{...(h=s.itemJson)==null?void 0:h.binfo,top:g}})}}),q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.binfo.width},set:g=>{var h;console.log("右侧属性修改4"),i("update:itemJson",{...s.itemJson,binfo:{...(h=s.itemJson)==null?void 0:h.binfo,width:g}})}}),q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.binfo.height},set:g=>{var h;console.log("右侧属性修改5"),i("update:itemJson",{...s.itemJson,binfo:{...(h=s.itemJson)==null?void 0:h.binfo,height:g}})}}),q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.binfo.angle},set:g=>{var h;console.log("右侧属性修改6"),i("update:itemJson",{...s.itemJson,binfo:{...(h=s.itemJson)==null?void 0:h.binfo,angle:g}})}});const u=q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.hide},set:g=>{console.log("右侧属性修改7"),i("update:itemJson",{...s.itemJson,hide:g})}}),B=q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.lock},set:g=>{console.log("右侧属性修改8"),i("update:itemJson",{...s.itemJson,lock:g})}});q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.resize},set:g=>{console.log("右侧属性修改9"),i("update:itemJson",{...s.itemJson,resize:g})}}),q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.use_proportional_scaling},set:g=>{console.log("右侧属性修改10"),i("update:itemJson",{...s.itemJson,use_proportional_scaling:g})}}),q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.rotate},set:g=>{console.log("右侧属性修改11"),i("update:itemJson",{...s.itemJson,rotate:g})}});const f=q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.props},set:g=>{console.log("右侧属性修改12"),i("update:itemJson",{...s.itemJson,props:g})}});return q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.common_animations},set:g=>{console.log("右侧属性修改13"),i("update:itemJson",{...s.itemJson,common_animations:g})}}),q({get:()=>{var g;return(g=s.itemJson)==null?void 0:g.events},set:g=>{console.log("右侧属性修改14"),i("update:itemJson",{...s.itemJson,events:g})}}),q(()=>!!a.deviceBind),(g,h)=>s.itemJson?(O(),Y(p(ba),{key:0,modelValue:t.value,"onUpdate:modelValue":h[8]||(h[8]=w=>t.value=w),stretch:!0,class:"select-none"},{default:v(()=>[j("button",{onClick:n},"查看参数"),C(p(Ea),{label:"配置",name:"config"},{default:v(()=>[C(p(wa),{modelValue:e.value,"onUpdate:modelValue":h[7]||(h[7]=w=>e.value=w)},{default:v(()=>[C(p(Ua),{title:"边界和属性",name:"1"},{default:v(()=>[C(p(Fa),{"label-width":"60px","label-position":"left"},{default:v(()=>[C(p(ie),{label:"标题",size:"small"},{default:v(()=>[C(p(jt),{size:"small",modelValue:c.value,"onUpdate:modelValue":h[0]||(h[0]=w=>c.value=w)},null,8,["modelValue"])]),_:1}),C(p(ie),{label:"隐藏",size:"small"},{default:v(()=>[C(p(ot),{size:"small",modelValue:u.value,"onUpdate:modelValue":h[1]||(h[1]=w=>u.value=w),onChange:h[2]||(h[2]=w=>i("addHistory"))},null,8,["modelValue"])]),_:1}),C(p(ie),{label:"锁定",size:"small"},{default:v(()=>[C(p(ot),{size:"small",modelValue:B.value,"onUpdate:modelValue":h[3]||(h[3]=w=>B.value=w),onChange:h[4]||(h[4]=w=>i("addHistory"))},null,8,["modelValue"])]),_:1}),C(Rc,{propsInfo:f.value,onImgUpload:h[5]||(h[5]=w=>o(w)),onSelectById:h[6]||(h[6]=w=>l(w))},null,8,["propsInfo"])]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["modelValue"])):hA("",!0)}}),Pc={id:"mt-right-aside",class:"px-4"},Gc=MA({__name:"index",setup(r){const A=Ss(),t=q(()=>d.done_json.findIndex(s=>s.id==d.selected_items_id[0])),e=()=>{tA.addHistory(d.done_json)},n=q(()=>!!A.deviceBind);return(s,i)=>(O(),sA("div",Pc,[p(d).selected_items_id.length==1?(O(),Y(Nc,{key:0,"item-json":p(d).done_json[t.value],"onUpdate:itemJson":i[0]||(i[0]=a=>p(d).done_json[t.value]=a),"done-json":p(d).done_json,onAddHistory:e},Ha({_:2},[n.value?{name:"deviceBind",fn:v(({item:a})=>[xa(s.$slots,"deviceBind",{item:a})]),key:"0"}:void 0]),1032,["item-json","done-json"])):(O(),Y(Dc,{key:1,canvasCfg:p(d).canvasCfg,"onUpdate:canvasCfg":i[1]||(i[1]=a=>p(d).canvasCfg=a),"grid-cfg":p(d).gridCfg,"onUpdate:gridCfg":i[2]||(i[2]=a=>p(d).gridCfg=a)},null,8,["canvasCfg","grid-cfg"]))]))}}),Xc={class:"flex justify-between w-8/10"},Jc=MA({__name:"index",props:{doneJson:{},selectedItemsId:{}},emits:["updateSelectedItemsId","updateSelectedIdHide"],setup(r,{emit:A}){const t=r,e=A,n=q(()=>t.selectedItemsId.length==1?t.selectedItemsId[0]:""),s=o=>{e("updateSelectedItemsId",o.id)},i=o=>{e("updateSelectedIdHide",o.id)},a={children:"nochildren",label:"title"};return(o,l)=>(O(),Y(p(Ca),{data:t.doneJson,props:a,onNodeClick:s,"default-expand-all":!0,"expand-on-click-node":!1,"highlight-current":!0,"node-key":"id","current-node-key":n.value},{default:v(({node:c,data:u})=>[j("div",Xc,[j("div",null,WA(c.label),1),C(p(cA),{text:"",circle:"",size:"small",class:"mr-10px"},{default:v(()=>[C(p(YA),{title:u.hide?"隐藏":"显示",size:20,onClick:zr(B=>i(u),["stop"])},{default:v(()=>[C(JA,{name:u.hide?"view-hide":"view-show"},null,8,["name"])]),_:2},1032,["title","onClick"])]),_:2},1024)])]),_:1},8,["data","current-node-key"]))}}),Yc=MA({__name:"index",props:{doneJson:{},canvasCfg:{},gridCfg:{}},setup(r){const A=r,t=q({get:()=>{const{exportJson:e}=Nr(A.canvasCfg,A.gridCfg,A.doneJson);return JSON.stringify(e,null,2)},set:()=>{}});return(e,n)=>(O(),sA("div",null,[C(p(Ts),{value:t.value,"onUpdate:value":n[0]||(n[0]=s=>t.value=s),lang:"json",theme:"monokai",style:{height:"400px"},options:{useWorker:!0,enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0}},null,8,["value"])]))}}),Wc=MA({__name:"index",setup(r,{expose:A}){const t=X("");return A({onImport:()=>new Promise((n,s)=>{try{const i=JSON.parse(t.value),{canvasCfg:a,gridCfg:o,importDoneJson:l}=es(i);d.canvasCfg=a,d.gridCfg=o,d.setGlobalStoreDoneJson(l),n(!0)}catch{n(!1)}})}),(n,s)=>(O(),sA("div",null,[C(p(Ts),{value:t.value,"onUpdate:value":s[0]||(s[0]=i=>t.value=i),lang:"json",theme:"monokai",style:{height:"400px"},options:{useWorker:!0,enableBasicAutocompletion:!0,enableSnippets:!0,enableLiveAutocompletion:!0}},null,8,["value"])]))}}),zc={id:"mt-edit",class:"relative flex-auto w-1/1 h-1/1 dark"},Zc={class:"drawer-footer"},jc={class:"dialog-footer"},$c=MA({__name:"index",props:{useThumbnail:{type:Boolean,default:!1},screen:{}},emits:["onPreviewClick","onReturnClick","onSaveClick","onThumbnailClick","onRightDrawer","onImageDialog","updateDialogImageVisible"],setup(r,{expose:A,emit:t}){const e={value:"id",label:"label",children:"children",disabled:"disabled"};let n=[];function s(){c.value=!1}const i=()=>{c.value=!0,console.log("点击:",c.value)};function a(P,k){P.forEach(AA=>{var yA,PA,VA,Q,b,L,V,z,lA;if(!AA.children&&!((yA=AA.meta)!=null&&yA.treeHidden)&&k.push({id:AA.name,label:(PA=AA.meta)==null?void 0:PA.title}),AA.children&&((VA=AA.children)==null?void 0:VA.length)===1&&!((Q=AA.meta)!=null&&Q.treeHidden)&&k.push({id:AA.name,label:(b=AA.meta)==null?void 0:b.title,disabled:!0,children:[{id:AA.children[0].name,label:(L=AA.children[0].meta)==null?void 0:L.title}]}),AA.children&&((V=AA.children)==null?void 0:V.length)>1&&!((z=AA.meta)!=null&&z.treeHidden)){const Z={id:AA.name,label:(lA=AA.meta)==null?void 0:lA.title,disabled:!0,children:[]};a(AA.children,Z.children),k.push(Z)}})}let o=X(!1),l=X(!1),c=X(!1),u=X(""),B=X("");const f=r,g=t,h=Ss(),w=X(),m=X(),y=nr({left_show:!0,right_show:!0}),H=q(()=>!!h.deviceBind),T=q(()=>d.selected_items_id.length>0),D=q(()=>d.selected_items_id.length>1),E=q(()=>{if(d.selected_items_id.length===1){const P=d.done_json.find(k=>k.id===d.selected_items_id[0]);return(P==null?void 0:P.type)==="group"}return!1}),U=q(()=>d.done_json.filter(k=>d.selected_items_id.includes(k.id)&&k.type!=="sys-line").length>1),S=X(!1),I=X(!1),_=X(!1),K=X(!1),x=()=>{d.deleteSelectedItems(),tA.addHistory(d.done_json)},F=()=>{var P;S.value=!0,(P=w.value)==null||P.stopListenerKeyDown()},J=()=>{var P;I.value=!0,(P=w.value)==null||P.stopListenerKeyDown()},R=P=>{d.setSingleSelect(P)},eA=P=>{const k=d.done_json.find(AA=>AA.id===P);k&&(k.hide=!k.hide)},iA=P=>{var k;(k=w.value)==null||k.onAlignSelected(P)},wA=()=>{window.open("http://mt.yaolm.top")},aA=()=>{var P;(P=w.value)==null||P.onRedo()},rA=()=>{var P;(P=w.value)==null||P.onUndo()},gA=async()=>{var k;await((k=m.value)==null?void 0:k.onImport())?(S.value=!1,tA.addHistory(d.done_json)):fA.error("导入失败,请检查数据格式")},mA=()=>{const{exportJson:P}=Nr(d.canvasCfg,d.gridCfg,d.done_json);g("onPreviewClick",P)},CA=()=>{const{exportJson:P}=Nr(d.canvasCfg,d.gridCfg,d.done_json);g("onSaveClick",P)},HA=()=>{g("onThumbnailClick")},xA=P=>{K.value=P};nr([]);let $=X("-1");function zA(){console.log("选中:",$.value,$),!$.value||$.value=="-1"?fA.warning("请先选择一个模型文件"):console.log("删除模型:",$.value)}async function et(){OA.value=!0;const{exportJson:P}=Nr(d.canvasCfg,d.gridCfg,d.done_json);let k={menuType:B.value,canvasCfg:P.canvasCfg,gridCfg:P.gridCfg,json:P.json};try{const AA=await $t.saveOrUpdate_modelData_post(k);AA.code==200?(OA.value=!1,l.value=!1,fA.success("数据模型保存成功")):(OA.value=!1,l.value=!1,console.error("保存失败:",AA.code,AA.message),console.error("服务器返回错误信息:",AA.message),fA.error(`数据模型保存失败: ${AA.code} - ${AA.message}`))}catch(AA){OA.value=!1,l.value=!1,console.error("请求错误:",AA),fA.error("网络请求失败")}}function tt(){var k;let P=(k=ZA.value)==null?void 0:k.getCheckedNodes();console.log(P==null?void 0:P.length),(P==null?void 0:P.length)===0?fA.warning("请至少选择一个模型文件"):(l.value=!0,u.value=P==null?void 0:P[0].label,B.value=P==null?void 0:P[0].id)}const OA=X(!1);async function Me(){var k;OA.value=!1;let P=(k=ZA.value)==null?void 0:k.getCheckedNodes();if(console.log(P==null?void 0:P.length),(P==null?void 0:P.length)===0)OA.value=!1,fA.warning("请至少选择一个模型文件");else{let AA={menuType:P==null?void 0:P[0].id};console.log("请求数据类型:",typeof JSON.stringify(AA));try{const yA=await $t.model_getModelData_post(AA);if(console.log("响应状态:",typeof yA),yA.code==200){fA.success("请求数据成功");const PA=yA.data,{canvasCfg:VA,gridCfg:Q,importDoneJson:b}=es(PA);d.canvasCfg=VA,d.gridCfg=Q,d.setGlobalStoreDoneJson(b),OA.value=!1}else OA.value=!1,fA.error(`数据模型加载失败: ${yA.code} - ${yA.message}`)}catch(yA){OA.value=!1,console.error("请求错误:",yA),fA.error("网络请求失败")}}}const Oe=()=>{o.value=!0};an(()=>{a(Fl,n)});const Ve=P=>{const{canvasCfg:k,gridCfg:AA,importDoneJson:yA}=es(P);return d.canvasCfg=k,d.gridCfg=AA,d.setGlobalStoreDoneJson(yA),tA.history[0]=yA,!0},ZA=X(),ke=(P,k)=>{var yA,PA,VA;const AA=(yA=ZA.value)==null?void 0:yA.getCheckedKeys();AA&&AA.length>1&&((PA=ZA.value)==null||PA.setCheckedKeys([k.checkedKeys[1]])),console.log("当前选中的节点:",(VA=ZA.value)==null?void 0:VA.getCheckedNodes())};return A({setImportJson:Ve}),(P,k)=>{const AA=LA("Document"),yA=LA("Folder"),PA=LA("FolderOpened"),VA=LA("el-icon"),Q=Ia("loading");return O(),sA("div",zc,[C(p(Zs),{class:"h-1/1"},{default:v(()=>[C(p(ml),{height:"45px",class:"dark:bg-myDarkBgColor cb-border p-0 select-none",onMousedown:k[5]||(k[5]=b=>{var L;return(L=w.value)==null?void 0:L.stopListenerKeyDown()})},{default:v(()=>{var b,L;return[C(kl,{leftAside:y.left_show,"onUpdate:leftAside":k[0]||(k[0]=V=>y.left_show=V),rightAside:y.right_show,"onUpdate:rightAside":k[1]||(k[1]=V=>y.right_show=V),"lock-state":p(d).lock,"onUpdate:lockState":k[2]||(k[2]=V=>p(d).lock=V),"selected-items-id":p(d).selected_items_id,"group-enabled":D.value,"un-group-enabled":E.value,"align-enabled":U.value,"delete-enabled":T.value,"undo-enabled":p(tA).historyIndex>0,"redo-enabled":p(tA).historyIndex_.value=!0),onOnHelpClick:wA,onAlignSelected:iA,onOnRedoClick:aA,onOnUndoClick:rA,onOnImportClick:F,onOnReturnClick:k[4]||(k[4]=V=>g("onReturnClick")),onOnSaveClick:CA,onOnPreviewClick:mA,onOnThumbnailClick:HA,onOnDrawLineClick:xA,onOnRightDrawer:Oe,onOnImageDialog:i},null,8,["leftAside","rightAside","lock-state","selected-items-id","group-enabled","un-group-enabled","align-enabled","delete-enabled","undo-enabled","redo-enabled","real-time-data","use-thumbnail","onOnGroupClick","onOnUngroupClick"])]}),_:1}),C(p(Zs),{class:"h-[calc(100%-45px-40px)]"},{default:v(()=>[C(p(js),{width:y.left_show?"200px":"0px",class:"dark:bg-myDarkBgColor cr-border mt-edit-aside h-1/1 select-none",onMousedown:k[6]||(k[6]=b=>{var L;return(L=w.value)==null?void 0:L.stopListenerKeyDown()})},{default:v(()=>[C(ec,{leftAsideConfig:p($n).config},null,8,["leftAsideConfig"])]),_:1},8,["width"]),C(p(Ul),{class:"dark:bg-myMainDarkBgColor",onMousedown:k[7]||(k[7]=b=>{var L;return(L=w.value)==null?void 0:L.beginListenerKeyDown()})},{default:v(()=>[C(Hc,{ref_key:"mainPanelRef",ref:w,"group-enabled":D.value,"un-group-enabled":E.value,"delete-enabled":T.value,"line-append-enable":K.value},null,8,["group-enabled","un-group-enabled","delete-enabled","line-append-enable"])]),_:1}),C(p(js),{width:y.right_show?"200px":"0px",class:"dark:bg-myDarkBgColor cl-border mt-edit-aside select-none",onMousedown:k[8]||(k[8]=b=>{var L;return(L=w.value)==null?void 0:L.stopListenerKeyDown()})},{default:v(()=>[C(Gc,null,Ha({_:2},[H.value?{name:"deviceBind",fn:v(({item:b})=>[xa(P.$slots,"deviceBind",{item:b},void 0,!0)]),key:"0"}:void 0]),1024)]),_:3},8,["width"])]),_:3})]),_:3}),C(p(ut),{modelValue:S.value,"onUpdate:modelValue":k[9]||(k[9]=b=>S.value=b),title:"数据导入",onClose:k[10]||(k[10]=b=>{var L;return(L=w.value)==null?void 0:L.beginListenerKeyDown()})},{footer:v(()=>[C(p(cA),{type:"primary",onClick:gA},{default:v(()=>[...k[17]||(k[17]=[oA("确定",-1)])]),_:1})]),default:v(()=>[C(Wc,{ref_key:"importJsonRef",ref:m},null,512)]),_:1},8,["modelValue"]),C(p(ut),{modelValue:I.value,"onUpdate:modelValue":k[11]||(k[11]=b=>I.value=b),title:"数据导出",onClose:k[12]||(k[12]=b=>{var L;return(L=w.value)==null?void 0:L.beginListenerKeyDown()})},{default:v(()=>[C(Yc,{"done-json":p(Se)(p(d).done_json),"canvas-cfg":p(d).canvasCfg,"grid-cfg":p(d).gridCfg},null,8,["done-json","canvas-cfg","grid-cfg"])]),_:1},8,["modelValue"]),C(p($s),{modelValue:_.value,"onUpdate:modelValue":k[13]||(k[13]=b=>_.value=b),title:"图形结构树",direction:"ltr",size:"30%"},{default:v(()=>[C(Jc,{"done-json":p(d).done_json,"selected-items-id":p(d).selected_items_id,onUpdateSelectedItemsId:R,onUpdateSelectedIdHide:eA},null,8,["done-json","selected-items-id"])]),_:1},8,["modelValue"]),C(p($s),{modelValue:p(o),"onUpdate:modelValue":k[14]||(k[14]=b=>lt(o)?o.value=b:o=b),modal:!1,title:"数据模型文件111","modal-penetrable":""},{footer:v(()=>[j("div",Zc,[C(p(cA),{onClick:tt},{default:v(()=>[...k[18]||(k[18]=[oA("保存模型11",-1)])]),_:1}),Tt((O(),Y(p(cA),{onClick:Me},{default:v(()=>[...k[19]||(k[19]=[oA("加载模型2",-1)])]),_:1})),[[Q,OA.value,void 0,{fullscreen:!0,lock:!0}]]),C(p(cA),{onClick:zA},{default:v(()=>[...k[20]||(k[20]=[oA(" 移除模型 ",-1)])]),_:1})])]),default:v(()=>[C(p(vl),{style:{"max-width":"600px",height:"100"},data:p(n),props:e,height:450,"show-checkbox":!0,"check-strictly":!0,"highlight-current":!0,onCheck:ke,ref_key:"treeRef",ref:ZA},{default:v(({node:b})=>[C(VA,{class:"el-icon--left"},{default:v(()=>[b.isLeaf?(O(),Y(AA,{key:0})):b.expanded?(O(),Y(PA,{key:2})):(O(),Y(yA,{key:1}))]),_:2},1024),j("span",{class:ze(["prefix",{"is-leaf":b.isLeaf}])},WA(b.label),3)]),_:1},8,["data"])]),_:1},8,["modelValue"]),C(p(ut),{modelValue:p(l),"onUpdate:modelValue":k[16]||(k[16]=b=>lt(l)?l.value=b:l=b),title:"数据模型保存",width:"500"},{footer:v(()=>[j("div",jc,[C(p(cA),{onClick:k[15]||(k[15]=b=>lt(l)?l.value=!1:l=!1)},{default:v(()=>[...k[21]||(k[21]=[oA("取消",-1)])]),_:1}),Tt((O(),Y(p(cA),{type:"primary",onClick:et},{default:v(()=>[...k[22]||(k[22]=[oA(" 确定 ",-1)])]),_:1})),[[Q,OA.value,void 0,{fullscreen:!0,lock:!0}]])])]),default:v(()=>[j("span",null,"确定保存或者覆盖 "+WA(p(u))+" 模型文件?",1)]),_:1},8,["modelValue"]),p(c)?(O(),Y(La,{key:0,dialogImageVisible:p(c),isEdit:!0,isDelete:!0,isBinding:!1,isUpload:!0,onUpdateDialogImageVisible:s},null,8,["dialogImageVisible"])):hA("",!0)])}}}),qc=Ke($c,[["__scopeId","data-v-593f0dd0"]]);var on={exports:{}},Pt={exports:{}};(function(){var r,A,t,e,n,s;typeof performance<"u"&&performance!==null&&performance.now?Pt.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Pt.exports=function(){return(r()-n)/1e6},A=process.hrtime,r=function(){var i;return i=A(),i[0]*1e9+i[1]},e=r(),s=process.uptime()*1e9,n=e-s):Date.now?(Pt.exports=function(){return Date.now()-t},t=Date.now()):(Pt.exports=function(){return new Date().getTime()-t},t=new Date().getTime())}).call(Sa);var Au=Pt.exports,eu=Au,Te=typeof window>"u"?Sa:window,hr=["moz","webkit"],Ht="AnimationFrame",Lt=Te["request"+Ht],sr=Te["cancel"+Ht]||Te["cancelRequest"+Ht];for(var Mt=0;!Lt&&Mt3&&(this.alpha=a[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var o=this.r.toString(16),l=this.g.toString(16),c=this.b.toString(16);return o.length==1&&(o="0"+o),l.length==1&&(l="0"+l),c.length==1&&(c="0"+c),"#"+o+l+c},this.getHelpXML=function(){for(var o=new Array,l=0;l "+h.toRGB()+" -> "+h.toHex());g.appendChild(w),g.appendChild(m),f.appendChild(g)}catch{}return f}};const ts=Ta(nu);/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -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 Da=function(r,A){return(Da=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])})(r,A)};function Ka(r,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");function t(){this.constructor=r}Da(r,A),r.prototype=A===null?Object.create(A):(t.prototype=A.prototype,new t)}function su(r){var A="";Array.isArray(r)||(r=[r]);for(var t=0;tr.phi1&&(r.phi2-=2*Ge),r.sweepFlag===1&&r.phi2e)return[];if(e===0)return[[r*t/(r*r+A*A),A*t/(r*r+A*A)]];var n=Math.sqrt(e);return[[(r*t+A*n)/(r*r+A*A),(A*t-r*n)/(r*r+A*A)],[(r*t-A*n)/(r*r+A*A),(A*t+r*n)/(r*r+A*A)]]}var KA,be=Math.PI/180;function ti(r,A,t){return(1-t)*r+t*A}function ri(r,A,t,e){return r+Math.cos(e/180*Ge)*A+Math.sin(e/180*Ge)*t}function ni(r,A,t,e){var n=1e-6,s=A-r,i=t-A,a=3*s+3*(e-t)-6*i,o=6*(i-s),l=3*s;return Math.abs(a)U&&(f.sweepFlag=+!f.sweepFlag),f})}function i(){return function(a){var o={};for(var l in a)o[l]=a[l];return o}}r.ROUND=function(a){function o(l){return Math.round(l*a)/a}return a===void 0&&(a=1e13),fe(a),function(l){return l.x1!==void 0&&(l.x1=o(l.x1)),l.y1!==void 0&&(l.y1=o(l.y1)),l.x2!==void 0&&(l.x2=o(l.x2)),l.y2!==void 0&&(l.y2=o(l.y2)),l.x!==void 0&&(l.x=o(l.x)),l.y!==void 0&&(l.y=o(l.y)),l.rX!==void 0&&(l.rX=o(l.rX)),l.rY!==void 0&&(l.rY=o(l.rY)),l}},r.TO_ABS=A,r.TO_REL=function(){return n(function(a,o,l){return a.relative||(a.x1!==void 0&&(a.x1-=o),a.y1!==void 0&&(a.y1-=l),a.x2!==void 0&&(a.x2-=o),a.y2!==void 0&&(a.y2-=l),a.x!==void 0&&(a.x-=o),a.y!==void 0&&(a.y-=l),a.relative=!0),a})},r.NORMALIZE_HVZ=function(a,o,l){return a===void 0&&(a=!0),o===void 0&&(o=!0),l===void 0&&(l=!0),n(function(c,u,B,f,g){if(isNaN(f)&&!(c.type&M.MOVE_TO))throw new Error("path must start with moveto");return o&&c.type&M.HORIZ_LINE_TO&&(c.type=M.LINE_TO,c.y=c.relative?0:B),l&&c.type&M.VERT_LINE_TO&&(c.type=M.LINE_TO,c.x=c.relative?0:u),a&&c.type&M.CLOSE_PATH&&(c.type=M.LINE_TO,c.x=c.relative?f-u:f,c.y=c.relative?g-B:g),c.type&M.ARC&&(c.rX===0||c.rY===0)&&(c.type=M.LINE_TO,delete c.rX,delete c.rY,delete c.xRot,delete c.lArcFlag,delete c.sweepFlag),c})},r.NORMALIZE_ST=t,r.QT_TO_C=e,r.INFO=n,r.SANITIZE=function(a){a===void 0&&(a=0),fe(a);var o=NaN,l=NaN,c=NaN,u=NaN;return n(function(B,f,g,h,w){var m=Math.abs,y=!1,H=0,T=0;if(B.type&M.SMOOTH_CURVE_TO&&(H=isNaN(o)?0:f-o,T=isNaN(l)?0:g-l),B.type&(M.CURVE_TO|M.SMOOTH_CURVE_TO)?(o=B.relative?f+B.x2:B.x2,l=B.relative?g+B.y2:B.y2):(o=NaN,l=NaN),B.type&M.SMOOTH_QUAD_TO?(c=isNaN(c)?f:2*f-c,u=isNaN(u)?g:2*g-u):B.type&M.QUAD_TO?(c=B.relative?f+B.x1:B.x1,u=B.relative?g+B.y1:B.y2):(c=NaN,u=NaN),B.type&M.LINE_COMMANDS||B.type&M.ARC&&(B.rX===0||B.rY===0||!B.lArcFlag)||B.type&M.CURVE_TO||B.type&M.SMOOTH_CURVE_TO||B.type&M.QUAD_TO||B.type&M.SMOOTH_QUAD_TO){var D=B.x===void 0?0:B.relative?B.x:B.x-f,E=B.y===void 0?0:B.relative?B.y:B.y-g;H=isNaN(c)?B.x1===void 0?H:B.relative?B.x:B.x1-f:c-f,T=isNaN(u)?B.y1===void 0?T:B.relative?B.y:B.y1-g:u-g;var U=B.x2===void 0?0:B.relative?B.x:B.x2-f,S=B.y2===void 0?0:B.relative?B.y:B.y2-g;m(D)<=a&&m(E)<=a&&m(H)<=a&&m(T)<=a&&m(U)<=a&&m(S)<=a&&(y=!0)}return B.type&M.CLOSE_PATH&&m(f-h)<=a&&m(g-w)<=a&&(y=!0),y?[]:B})},r.MATRIX=s,r.ROTATE=function(a,o,l){o===void 0&&(o=0),l===void 0&&(l=0),fe(a,o,l);var c=Math.sin(a),u=Math.cos(a);return s(u,c,-c,u,o-o*u+l*c,l-o*c-l*u)},r.TRANSLATE=function(a,o){return o===void 0&&(o=0),fe(a,o),s(1,0,0,1,a,o)},r.SCALE=function(a,o){return o===void 0&&(o=a),fe(a,o),s(a,0,0,o,0,0)},r.SKEW_X=function(a){return fe(a),s(1,0,Math.atan(a),1,0,0)},r.SKEW_Y=function(a){return fe(a),s(1,Math.atan(a),0,1,0,0)},r.X_AXIS_SYMMETRY=function(a){return a===void 0&&(a=0),fe(a),s(-1,0,0,1,a,0)},r.Y_AXIS_SYMMETRY=function(a){return a===void 0&&(a=0),fe(a),s(1,0,0,-1,0,a)},r.A_TO_C=function(){return n(function(a,o,l){return M.ARC===a.type?function(c,u,B){var f,g,h,w;c.cX||bn(c,u,B);for(var m=Math.min(c.phi1,c.phi2),y=Math.max(c.phi1,c.phi2)-m,H=Math.ceil(y/90),T=new Array(H),D=u,E=B,U=0;Uu.maxX&&(u.maxX=rA),rAu.maxY&&(u.maxY=rA),rAaA&&w(si(f,h.x1,h.x2,h.x,aA));for(var T=0,D=ni(g,h.y1,h.y2,h.y);TaA&&m(si(g,h.y1,h.y2,h.y,aA))}if(h.type&M.ARC){w(h.x),m(h.y),bn(h,f,g);for(var E=h.xRot/180*Math.PI,U=Math.cos(E)*h.rX,S=Math.sin(E)*h.rX,I=-Math.sin(E)*h.rY,_=Math.cos(E)*h.rY,K=h.phi1h.phi2?[h.phi2+360,h.phi1+360]:[h.phi2,h.phi1],x=K[0],F=K[1],J=function(rA){var gA=rA[0],mA=rA[1],CA=180*Math.atan2(mA,gA)/Math.PI;return CAx&&aAx&&aAc)throw new SyntaxError('Expected positive number, got "'+c+'" at index "'+i+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+i+'"')}this.curArgs.push(c),this.curArgs.length===ou[this.curCommandType]&&(M.HORIZ_LINE_TO===this.curCommandType?s({type:M.HORIZ_LINE_TO,relative:this.curCommandRelative,x:c}):M.VERT_LINE_TO===this.curCommandType?s({type:M.VERT_LINE_TO,relative:this.curCommandRelative,y:c}):this.curCommandType===M.MOVE_TO||this.curCommandType===M.LINE_TO||this.curCommandType===M.SMOOTH_QUAD_TO?(s({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),M.MOVE_TO===this.curCommandType&&(this.curCommandType=M.LINE_TO)):this.curCommandType===M.CURVE_TO?s({type:M.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===M.SMOOTH_CURVE_TO?s({type:M.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===M.QUAD_TO?s({type:M.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===M.ARC&&s({type:M.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!iu(a))if(a===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(a!=="+"&&a!=="-"&&a!==".")if(l)this.curNumber=a,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+i+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+a+'" at index '+i+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,a!=="z"&&a!=="Z")if(a==="h"||a==="H")this.curCommandType=M.HORIZ_LINE_TO,this.curCommandRelative=a==="h";else if(a==="v"||a==="V")this.curCommandType=M.VERT_LINE_TO,this.curCommandRelative=a==="v";else if(a==="m"||a==="M")this.curCommandType=M.MOVE_TO,this.curCommandRelative=a==="m";else if(a==="l"||a==="L")this.curCommandType=M.LINE_TO,this.curCommandRelative=a==="l";else if(a==="c"||a==="C")this.curCommandType=M.CURVE_TO,this.curCommandRelative=a==="c";else if(a==="s"||a==="S")this.curCommandType=M.SMOOTH_CURVE_TO,this.curCommandRelative=a==="s";else if(a==="q"||a==="Q")this.curCommandType=M.QUAD_TO,this.curCommandRelative=a==="q";else if(a==="t"||a==="T")this.curCommandType=M.SMOOTH_QUAD_TO,this.curCommandRelative=a==="t";else{if(a!=="a"&&a!=="A")throw new SyntaxError('Unexpected character "'+a+'" at index '+i+".");this.curCommandType=M.ARC,this.curCommandRelative=a==="a"}else e.push({type:M.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=a,this.curNumberHasDecimal=a==="."}else this.curNumber+=a,this.curNumberHasDecimal=!0;else this.curNumber+=a;else this.curNumber+=a,this.curNumberHasExp=!0;else this.curNumber+=a,this.curNumberHasExpDigits=this.curNumberHasExp}return e},A.prototype.transform=function(t){return Object.create(this,{parse:{value:function(e,n){n===void 0&&(n=[]);for(var s=0,i=Object.getPrototypeOf(this).parse.call(this,e);s>>D;if(i[H+3]=Oe,Oe!==0){var Ve=255/Oe;i[H]=(rA*T>>>D)*Ve,i[H+1]=(gA*T>>>D)*Ve,i[H+2]=(mA*T>>>D)*Ve}else i[H]=i[H+1]=i[H+2]=0;rA-=eA,gA-=iA,mA-=wA,CA-=aA,eA-=w.r,iA-=w.g,wA-=w.b,aA-=w.a;var ZA=Me+s+1;ZA=y+(ZA>>D,L>0?(L=255/L,i[re]=(QA*T>>>D)*L,i[re+1]=(vA*T>>>D)*L,i[re+2]=(EA*T>>>D)*L):i[re]=i[re+1]=i[re+2]=0,QA-=V,vA-=z,EA-=lA,kA-=Z,V-=w.r,z-=w.g,lA-=w.b,Z-=w.a,re=PA+((re=Un+c)A--&&n?String(Math.round(parseFloat(e))):e)}const mu=/(\[[^\]]+\])/g,Uu=/(#[^\s+>~.[:]+)/g,vu=/(\.[^\s+>~.[:]+)/g,Fu=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,yu=/(:[\w-]+\([^)]*\))/gi,Eu=/(:[^\s+>~.[:]+)/g,bu=/([^\s+>~.[:]+)/g;function st(r,A){const t=A.exec(r);return t?[r.replace(A," "),t.length]:[r,0]}function Iu(r){const A=[0,0,0];let t=r.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),e=0;return[t,e]=st(t,mu),A[1]+=e,[t,e]=st(t,Uu),A[0]+=e,[t,e]=st(t,vu),A[1]+=e,[t,e]=st(t,Fu),A[2]+=e,[t,e]=st(t,yu),A[1]+=e,[t,e]=st(t,Eu),A[1]+=e,t=t.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[t,e]=st(t,bu),A[2]+=e,A.join("")}const xt=1e-8;function oi(r){return Math.sqrt(Math.pow(r[0],2)+Math.pow(r[1],2))}function ns(r,A){return(r[0]*A[0]+r[1]*A[1])/(oi(r)*oi(A))}function li(r,A){return(r[0]*A[1]0&&arguments[0]!==void 0?arguments[0]:" ";const{document:t,name:e}=this;return Kt(this.getString()).trim().split(A).map(n=>new W(t,e,n))}hasValue(A){const t=this.value;return t!==null&&t!==""&&(A||t!==0)&&typeof t<"u"}isString(A){const{value:t}=this,e=typeof t=="string";return!e||!A?e:A.test(t)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;const A=this.getString();switch(!0){case A.endsWith("px"):case/^[0-9]+$/.test(A):return!0;default:return!1}}setValue(A){return this.value=A,this}getValue(A){return typeof A>"u"||this.hasValue()?this.value:A}getNumber(A){if(!this.hasValue())return typeof A>"u"?0:parseFloat(A);const{value:t}=this;let e=parseFloat(t);return this.isString(/%$/)&&(e/=100),e}getString(A){return typeof A>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(A)}getColor(A){let t=this.getString(A);return this.isNormalizedColor||(this.isNormalizedColor=!0,t=Qu(t),this.value=t),t}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(A){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;const[e,n]=typeof A=="boolean"?[void 0,A]:[A],{viewPort:s}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(s.computeSize("x"),s.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(s.computeSize("x"),s.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*s.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*s.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&n):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*s.computeSize(e);default:{const i=this.getNumber();return t&&i<1?i*s.computeSize(e):i}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){const A=this.getString(),t=/#([^)'"]+)/.exec(A),e=(t==null?void 0:t[1])||A;return this.document.definitions.get(e)}getFillStyleDefinition(A,t){let e=this.getDefinition();if(!e)return null;if(typeof e.createGradient=="function"&&"getBoundingBox"in A)return e.createGradient(this.document.ctx,A,t);if(typeof e.createPattern=="function"){if(e.getHrefAttribute().hasValue()){const n=e.getAttribute("patternTransform");e=e.getHrefAttribute().getDefinition(),e&&n.hasValue()&&e.getAttribute("patternTransform",!0).setValue(n.value)}if(e)return e.createPattern(this.document.ctx,A,t)}return null}getTextBaseline(){if(!this.hasValue())return null;const A=this.getString();return W.textBaselineMapping[A]||null}addOpacity(A){let t=this.getColor();const e=t.length;let n=0;for(let s=0;s1&&arguments[1]!==void 0?arguments[1]:0;const[e=t,n=t]=ae(A);return new IA(e,n)}static parseScale(A){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;const[e=t,n=e]=ae(A);return new IA(e,n)}static parsePath(A){const t=ae(A),e=t.length,n=[];for(let s=0;s0}runEvents(){if(!this.working)return;const{screen:A,events:t,eventElements:e}=this,{style:n}=A.ctx.canvas;let s;n&&(n.cursor=""),t.forEach((i,a)=>{let{run:o}=i;for(s=e[a];s;)o(s),s=s.parent}),this.events=[],this.eventElements=[]}checkPath(A,t){if(!this.working||!t)return;const{events:e,eventElements:n}=this;e.forEach((s,i)=>{let{x:a,y:o}=s;!n[i]&&t.isPointInPath&&t.isPointInPath(a,o)&&(n[i]=A)})}checkBoundingBox(A,t){if(!this.working||!t)return;const{events:e,eventElements:n}=this;e.forEach((s,i)=>{let{x:a,y:o}=s;!n[i]&&t.isPointInBox(a,o)&&(n[i]=A)})}mapXY(A,t){const{window:e,ctx:n}=this.screen,s=new IA(A,t);let i=n.canvas;for(;i;)s.x-=i.offsetLeft,s.y-=i.offsetTop,i=i.offsetParent;return e!=null&&e.scrollX&&(s.x+=e.scrollX),e!=null&&e.scrollY&&(s.y+=e.scrollY),s}onClick(A){const{x:t,y:e}=this.mapXY(A.clientX,A.clientY);this.events.push({type:"onclick",x:t,y:e,run(n){n.onClick&&n.onClick()}})}onMouseMove(A){const{x:t,y:e}=this.mapXY(A.clientX,A.clientY);this.events.push({type:"onmousemove",x:t,y:e,run(n){n.onMouseMove&&n.onMouseMove()}})}constructor(A){this.screen=A,this.working=!1,this.events=[],this.eventElements=[],this.onClick=this.onClick.bind(this),this.onMouseMove=this.onMouseMove.bind(this)}}const Oa=typeof window<"u"?window:null,Va=typeof fetch<"u"?fetch.bind(void 0):void 0;class _e{wait(A){this.waits.push(A)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;const A=this.waits.every(t=>t());return A&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=A,A}setDefaults(A){A.strokeStyle="rgba(0,0,0,0)",A.lineCap="butt",A.lineJoin="miter",A.miterLimit=4}setViewBox(A){let{document:t,ctx:e,aspectRatio:n,width:s,desiredWidth:i,height:a,desiredHeight:o,minX:l=0,minY:c=0,refX:u,refY:B,clip:f=!1,clipX:g=0,clipY:h=0}=A;const w=Kt(n).replace(/^defer\s/,""),[m,y]=w.split(" "),H=m||"xMidYMid",T=y||"meet",D=s/i,E=a/o,U=Math.min(D,E),S=Math.max(D,E);let I=i,_=o;T==="meet"&&(I*=U,_*=U),T==="slice"&&(I*=S,_*=S);const K=new W(t,"refX",u),x=new W(t,"refY",B),F=K.hasValue()&&x.hasValue();if(F&&e.translate(-U*K.getPixels("x"),-U*x.getPixels("y")),f){const J=U*g,R=U*h;e.beginPath(),e.moveTo(J,R),e.lineTo(s,R),e.lineTo(s,a),e.lineTo(J,a),e.closePath(),e.clip()}if(!F){const J=T==="meet"&&U===E,R=T==="slice"&&S===E,eA=T==="meet"&&U===D,iA=T==="slice"&&S===D;H.startsWith("xMid")&&(J||R)&&e.translate(s/2-I/2,0),H.endsWith("YMid")&&(eA||iA)&&e.translate(0,a/2-_/2),H.startsWith("xMax")&&(J||R)&&e.translate(s-I,0),H.endsWith("YMax")&&(eA||iA)&&e.translate(0,a-_)}switch(!0){case H==="none":e.scale(D,E);break;case T==="meet":e.scale(U,U);break;case T==="slice":e.scale(S,S);break}e.translate(-l,-c)}start(A){let{enableRedraw:t=!1,ignoreMouse:e=!1,ignoreAnimation:n=!1,ignoreDimensions:s=!1,ignoreClear:i=!1,forceRedraw:a,scaleWidth:o,scaleHeight:l,offsetX:c,offsetY:u}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{mouse:B}=this,f=1e3/_e.FRAMERATE;if(this.isReadyLock=!1,this.frameDuration=f,this.readyPromise=new Promise(y=>{this.resolveReady=y}),this.isReady()&&this.render(A,s,i,o,l,c,u),!t)return;let g=Date.now(),h=g,w=0;const m=()=>{g=Date.now(),w=g-h,w>=f&&(h=g-w%f,this.shouldUpdate(n,a)&&(this.render(A,s,i,o,l,c,u),B.runEvents())),this.intervalId=En(m)};e||B.start(),this.intervalId=En(m)}stop(){this.intervalId&&(En.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(A,t){if(!A){const{frameDuration:e}=this;if(this.animations.reduce((s,i)=>i.update(e)||s,!1))return!0}return!!(typeof t=="function"&&t()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(A,t,e,n,s,i,a){const{viewPort:o,ctx:l,isFirstRender:c}=this,u=l.canvas;o.clear(),u.width&&u.height&&o.setCurrent(u.width,u.height);const B=A.getStyle("width"),f=A.getStyle("height");!t&&(c||typeof n!="number"&&typeof s!="number")&&(B.hasValue()&&(u.width=B.getPixels("x"),u.style&&(u.style.width="".concat(u.width,"px"))),f.hasValue()&&(u.height=f.getPixels("y"),u.style&&(u.style.height="".concat(u.height,"px"))));let g=u.clientWidth||u.width,h=u.clientHeight||u.height;if(t&&B.hasValue()&&f.hasValue()&&(g=B.getPixels("x"),h=f.getPixels("y")),o.setCurrent(g,h),typeof i=="number"&&A.getAttribute("x",!0).setValue(i),typeof a=="number"&&A.getAttribute("y",!0).setValue(a),typeof n=="number"||typeof s=="number"){const w=ae(A.getAttribute("viewBox").getString());let m=0,y=0;if(typeof n=="number"){const T=A.getStyle("width");T.hasValue()?m=T.getPixels("x")/n:w[2]&&!isNaN(w[2])&&(m=w[2]/n)}if(typeof s=="number"){const T=A.getStyle("height");T.hasValue()?y=T.getPixels("y")/s:w[3]&&!isNaN(w[3])&&(y=w[3]/s)}m||(m=y),y||(y=m),A.getAttribute("width",!0).setValue(n),A.getAttribute("height",!0).setValue(s);const H=A.getStyle("transform",!0,!0);H.setValue("".concat(H.getString()," scale(").concat(1/m,", ").concat(1/y,")"))}e||l.clearRect(0,0,g,h),A.render(l),c&&(this.isFirstRender=!1)}constructor(A,{fetch:t=Va,window:e=Oa}={}){if(this.ctx=A,this.viewPort=new ir,this.mouse=new Hu(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=e,!t)throw new Error("Can't find 'fetch' in 'globalThis', please provide it via options");this.fetch=t}}_e.defaultWindow=Oa;_e.defaultFetch=Va;_e.FRAMERATE=30;_e.MAX_VIRTUAL_PIXELS=3e4;const{defaultFetch:xu}=_e,Su=typeof DOMParser<"u"?DOMParser:void 0;let In=class{async parse(A){return A.startsWith("<")?this.parseFromString(A):this.load(A)}parseFromString(A){const t=new this.DOMParser;try{return this.checkDocument(t.parseFromString(A,"image/svg+xml"))}catch{return this.checkDocument(t.parseFromString(A,"text/xml"))}}checkDocument(A){const t=A.getElementsByTagName("parsererror")[0];if(t)throw new Error(t.textContent||"Unknown parse error");return A}async load(A){const e=await(await this.fetch(A)).text();return this.parseFromString(e)}constructor({fetch:A=xu,DOMParser:t=Su}={}){if(!A)throw new Error("Can't find 'fetch' in 'globalThis', please provide it via options");if(!t)throw new Error("Can't find 'DOMParser' in 'globalThis', please provide it via options");this.fetch=A,this.DOMParser=t}};class Tu{apply(A){const{x:t,y:e}=this.point;A.translate(t||0,e||0)}unapply(A){const{x:t,y:e}=this.point;A.translate(-1*t||0,-1*e||0)}applyToPoint(A){const{x:t,y:e}=this.point;A.applyTransform([1,0,0,1,t||0,e||0])}constructor(A,t){this.type="translate",this.point=IA.parse(t)}}class Lu{apply(A){const{cx:t,cy:e,originX:n,originY:s,angle:i}=this,a=t+n.getPixels("x"),o=e+s.getPixels("y");A.translate(a,o),A.rotate(i.getRadians()),A.translate(-a,-o)}unapply(A){const{cx:t,cy:e,originX:n,originY:s,angle:i}=this,a=t+n.getPixels("x"),o=e+s.getPixels("y");A.translate(a,o),A.rotate(-1*i.getRadians()),A.translate(-a,-o)}applyToPoint(A){const{cx:t,cy:e,angle:n}=this,s=n.getRadians();A.applyTransform([1,0,0,1,t||0,e||0]),A.applyTransform([Math.cos(s),Math.sin(s),-Math.sin(s),Math.cos(s),0,0]),A.applyTransform([1,0,0,1,-t||0,-e||0])}constructor(A,t,e){this.type="rotate";const n=ae(t);this.angle=new W(A,"angle",n[0]),this.originX=e[0],this.originY=e[1],this.cx=n[1]||0,this.cy=n[2]||0}}class Du{apply(A){const{scale:{x:t,y:e},originX:n,originY:s}=this,i=n.getPixels("x"),a=s.getPixels("y");A.translate(i,a),A.scale(t,e||t),A.translate(-i,-a)}unapply(A){const{scale:{x:t,y:e},originX:n,originY:s}=this,i=n.getPixels("x"),a=s.getPixels("y");A.translate(i,a),A.scale(1/t,1/e||t),A.translate(-i,-a)}applyToPoint(A){const{x:t,y:e}=this.scale;A.applyTransform([t||0,0,0,e||0,0,0])}constructor(A,t,e){this.type="scale";const n=IA.parseScale(t);(n.x===0||n.y===0)&&(n.x=xt,n.y=xt),this.scale=n,this.originX=e[0],this.originY=e[1]}}class ka{apply(A){const{originX:t,originY:e,matrix:n}=this,s=t.getPixels("x"),i=e.getPixels("y");A.translate(s,i),A.transform(n[0],n[1],n[2],n[3],n[4],n[5]),A.translate(-s,-i)}unapply(A){const{originX:t,originY:e,matrix:n}=this,s=n[0],i=n[2],a=n[4],o=n[1],l=n[3],c=n[5],u=0,B=0,f=1,g=1/(s*(l*f-c*B)-i*(o*f-c*u)+a*(o*B-l*u)),h=t.getPixels("x"),w=e.getPixels("y");A.translate(h,w),A.transform(g*(l*f-c*B),g*(c*u-o*f),g*(a*B-i*f),g*(s*f-a*u),g*(i*c-a*l),g*(a*o-s*c)),A.translate(-h,-w)}applyToPoint(A){A.applyTransform(this.matrix)}constructor(A,t,e){this.type="matrix",this.matrix=pu(t),this.originX=e[0],this.originY=e[1]}}class Ra extends ka{constructor(A,t,e){super(A,t,e),this.type="skew",this.angle=new W(A,"angle",t)}}class Ku extends Ra{constructor(A,t,e){super(A,t,e),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}}class _u extends Ra{constructor(A,t,e){super(A,t,e),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}}function Mu(r){return Kt(r).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function Ou(r){const[A="",t=""]=r.split("(");return[A.trim(),t.trim().replace(")","")]}class ft{static fromElement(A,t){const e=t.getStyle("transform",!1,!0);if(e.hasValue()){const[n,s=n]=t.getStyle("transform-origin",!1,!0).split();if(n&&s){const i=[n,s];return new ft(A,e.getString(),i)}}return null}apply(A){this.transforms.forEach(t=>t.apply(A))}unapply(A){this.transforms.forEach(t=>t.unapply(A))}applyToPoint(A){this.transforms.forEach(t=>t.applyToPoint(A))}constructor(A,t,e){this.document=A,this.transforms=[],Mu(t).forEach(s=>{if(s==="none")return;const[i,a]=Ou(s),o=ft.transformTypes[i];o&&this.transforms.push(new o(this.document,a,e))})}}ft.transformTypes={translate:Tu,rotate:Lu,scale:Du,matrix:ka,skewX:Ku,skewY:_u};class FA{getAttribute(A){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const e=this.attributes.get(A);if(!e&&t){const n=new W(this.document,A,"");return this.attributes.set(A,n),n}return e||W.empty(this.document)}getHrefAttribute(){let A;for(const[t,e]of this.attributes)if(t==="href"||t.endsWith(":href")){A=e;break}return A||W.empty(this.document)}getStyle(A){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const n=this.styles.get(A);if(n)return n;const s=this.getAttribute(A);if(s.hasValue())return this.styles.set(A,s),s;if(!e){const{parent:i}=this;if(i){const a=i.getStyle(A);if(a.hasValue())return a}}if(t){const i=new W(this.document,A,"");return this.styles.set(A,i),i}return W.empty(this.document)}render(A){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(A.save(),this.getStyle("mask").hasValue()){const t=this.getStyle("mask").getDefinition();t&&(this.applyEffects(A),t.apply(A,this))}else if(this.getStyle("filter").getValue("none")!=="none"){const t=this.getStyle("filter").getDefinition();t&&(this.applyEffects(A),t.apply(A,this))}else this.setContext(A),this.renderChildren(A),this.clearContext(A);A.restore()}}setContext(A){}applyEffects(A){const t=ft.fromElement(this.document,this);t&&t.apply(A);const e=this.getStyle("clip-path",!1,!0);if(e.hasValue()){const n=e.getDefinition();n&&n.apply(A)}}clearContext(A){}renderChildren(A){this.children.forEach(t=>{t.render(A)})}addChild(A){const t=A instanceof FA?A:this.document.createElement(A);t.parent=this,FA.ignoreChildTypes.includes(t.type)||this.children.push(t)}matchesSelector(A){var t;const{node:e}=this;if(typeof e.matches=="function")return e.matches(A);const n=(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"class");return!n||n===""?!1:n.split(" ").some(s=>".".concat(s)===A)}addStylesFromStyleDefinition(){const{styles:A,stylesSpecificity:t}=this.document;for(const[e,n]of A)if(!e.startsWith("@")&&this.matchesSelector(e)){const s=t.get(e);if(n)for(const[i,a]of n){let o=this.stylesSpecificity.get(i);typeof o>"u"&&(o="000"),s&&s>=o&&(a&&this.styles.set(i,a),this.stylesSpecificity.set(i,s))}}}removeStyles(A,t){return t.reduce((n,s)=>{const i=A.getStyle(s);if(!i.hasValue())return n;const a=i.getString();return i.setValue(""),[...n,[s,a]]},[])}restoreStyles(A,t){t.forEach(e=>{let[n,s]=e;A.getStyle(n,!0).setValue(s)})}isFirstChild(){var A;return((A=this.parent)===null||A===void 0?void 0:A.children.indexOf(this))===0}constructor(A,t,e=!1){if(this.document=A,this.node=t,this.captureTextNodes=e,this.type="",this.attributes=new Map,this.styles=new Map,this.stylesSpecificity=new Map,this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!t||t.nodeType!==1)return;Array.from(t.attributes).forEach(i=>{const a=Cu(i.nodeName);this.attributes.set(a,new W(A,a,i.value))}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()&&this.getAttribute("style").getString().split(";").map(a=>a.trim()).forEach(a=>{if(!a)return;const[o,l]=a.split(":").map(c=>c.trim());o&&this.styles.set(o,new W(A,o,l))});const{definitions:n}=A,s=this.getAttribute("id");s.hasValue()&&(n.has(s.getString())||n.set(s.getString(),this)),Array.from(t.childNodes).forEach(i=>{if(i.nodeType===1)this.addChild(i);else if(e&&(i.nodeType===3||i.nodeType===4)){const a=A.createTextNode(i);a.getText().length>0&&this.addChild(a)}})}}FA.ignoreChildTypes=["title"];class Vu extends FA{constructor(A,t,e){super(A,t,e)}}function ku(r){const A=r.trim();return/^('|")/.test(A)?A:'"'.concat(A,'"')}function Ru(r){return typeof process>"u"?r:r.trim().split(",").map(ku).join(",")}function Nu(r){if(!r)return"";const A=r.trim().toLowerCase();switch(A){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return A;default:return/^oblique\s+(-|)\d+deg$/.test(A)?A:""}}function Pu(r){if(!r)return"";const A=r.trim().toLowerCase();switch(A){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return A;default:return/^[\d.]+$/.test(A)?A:""}}class te{static parse(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,e="",n="",s="",i="",a="";const o=Kt(A).trim().split(" "),l={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return o.forEach(c=>{switch(!0){case(!l.fontStyle&&te.styles.includes(c)):c!=="inherit"&&(e=c),l.fontStyle=!0;break;case(!l.fontVariant&&te.variants.includes(c)):c!=="inherit"&&(n=c),l.fontStyle=!0,l.fontVariant=!0;break;case(!l.fontWeight&&te.weights.includes(c)):c!=="inherit"&&(s=c),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0;break;case!l.fontSize:c!=="inherit"&&(i=c.split("/")[0]||""),l.fontStyle=!0,l.fontVariant=!0,l.fontWeight=!0,l.fontSize=!0;break;default:c!=="inherit"&&(a+=c)}}),new te(e,n,s,i,a,t)}toString(){return[Nu(this.fontStyle),this.fontVariant,Pu(this.fontWeight),this.fontSize,Ru(this.fontFamily)].join(" ").trim()}constructor(A,t,e,n,s,i){const a=i?typeof i=="string"?te.parse(i):i:{};this.fontFamily=s||a.fontFamily,this.fontSize=n||a.fontSize,this.fontStyle=A||a.fontStyle,this.fontWeight=e||a.fontWeight,this.fontVariant=t||a.fontVariant}}te.styles="normal|italic|oblique|inherit";te.variants="normal|small-caps|inherit";te.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit";class he{get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(A,t){typeof A<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=A,this.x2=A),Athis.x2&&(this.x2=A)),typeof t<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),tthis.y2&&(this.y2=t))}addX(A){this.addPoint(A,0)}addY(A){this.addPoint(0,A)}addBoundingBox(A){if(!A)return;const{x1:t,y1:e,x2:n,y2:s}=A;this.addPoint(t,e),this.addPoint(n,s)}sumCubic(A,t,e,n,s){return Math.pow(1-A,3)*t+3*Math.pow(1-A,2)*A*e+3*(1-A)*Math.pow(A,2)*n+Math.pow(A,3)*s}bezierCurveAdd(A,t,e,n,s){const i=6*t-12*e+6*n,a=-3*t+9*e-9*n+3*s,o=3*e-3*t;if(a===0){if(i===0)return;const B=-o/i;01&&arguments[1]!==void 0?arguments[1]:!1;if(!t){const e=this.getStyle("fill"),n=this.getStyle("fill-opacity"),s=this.getStyle("stroke"),i=this.getStyle("stroke-opacity");if(e.isUrlDefinition()){const f=e.getFillStyleDefinition(this,n);f&&(A.fillStyle=f)}else if(e.hasValue()){e.getString()==="currentColor"&&e.setValue(this.getStyle("color").getColor());const f=e.getColor();f!=="inherit"&&(A.fillStyle=f==="none"?"rgba(0,0,0,0)":f)}if(n.hasValue()){const f=new W(this.document,"fill",A.fillStyle).addOpacity(n).getColor();A.fillStyle=f}if(s.isUrlDefinition()){const f=s.getFillStyleDefinition(this,i);f&&(A.strokeStyle=f)}else if(s.hasValue()){s.getString()==="currentColor"&&s.setValue(this.getStyle("color").getColor());const f=s.getString();f!=="inherit"&&(A.strokeStyle=f==="none"?"rgba(0,0,0,0)":f)}if(i.hasValue()){const f=new W(this.document,"stroke",A.strokeStyle).addOpacity(i).getString();A.strokeStyle=f}const a=this.getStyle("stroke-width");if(a.hasValue()){const f=a.getPixels();A.lineWidth=f||xt}const o=this.getStyle("stroke-linecap"),l=this.getStyle("stroke-linejoin"),c=this.getStyle("stroke-miterlimit"),u=this.getStyle("stroke-dasharray"),B=this.getStyle("stroke-dashoffset");if(o.hasValue()&&(A.lineCap=o.getString()),l.hasValue()&&(A.lineJoin=l.getString()),c.hasValue()&&(A.miterLimit=c.getNumber()),u.hasValue()&&u.getString()!=="none"){const f=ae(u.getString());typeof A.setLineDash<"u"?A.setLineDash(f):typeof A.webkitLineDash<"u"?A.webkitLineDash=f:typeof A.mozDash<"u"&&!(f.length===1&&f[0]===0)&&(A.mozDash=f);const g=B.getPixels();typeof A.lineDashOffset<"u"?A.lineDashOffset=g:typeof A.webkitLineDashOffset<"u"?A.webkitLineDashOffset=g:typeof A.mozDashOffset<"u"&&(A.mozDashOffset=g)}}if(this.modifiedEmSizeStack=!1,typeof A.font<"u"){const e=this.getStyle("font"),n=this.getStyle("font-style"),s=this.getStyle("font-variant"),i=this.getStyle("font-weight"),a=this.getStyle("font-size"),o=this.getStyle("font-family"),l=new te(n.getString(),s.getString(),i.getString(),a.hasValue()?"".concat(a.getPixels(!0),"px"):"",o.getString(),te.parse(e.getString(),A.font));n.setValue(l.fontStyle),s.setValue(l.fontVariant),i.setValue(l.fontWeight),a.setValue(l.fontSize),o.setValue(l.fontFamily),A.font=l.toString(),a.isPixels()&&(this.document.emSize=a.getPixels(),this.modifiedEmSizeStack=!0)}t||(this.applyEffects(A),A.globalAlpha=this.calculateOpacity())}clearContext(A){super.clearContext(A),this.modifiedEmSizeStack&&this.document.popEmSize()}constructor(...A){super(...A),this.modifiedEmSizeStack=!1}}class qe extends dt{setContext(A){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(A,t);const e=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();e&&(A.textBaseline=e)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(A){if(this.type!=="text")return this.getTElementBoundingBox(A);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(A);let t=null;return this.children.forEach((e,n)=>{const s=this.getChildBoundingBox(A,this,this,n);t?t.addBoundingBox(s):t=s}),t}getFontSize(){const{document:A,parent:t}=this,e=te.parse(A.ctx.font).fontSize;return t.getStyle("font-size").getNumber(e)}getTElementBoundingBox(A){const t=this.getFontSize();return new he(this.x,this.y-t,this.x+this.measureText(A),this.y)}getGlyph(A,t,e){const n=t[e];let s;if(A.isArabic){var i;const a=t.length,o=t[e-1],l=t[e+1];let c="isolated";(e===0||o===" ")&&e0&&o!==" "&&e0&&o!==" "&&(e===a-1||l===" ")&&(c="initial"),s=((i=A.arabicGlyphs.get(n))===null||i===void 0?void 0:i.get(c))||A.glyphs.get(n)}else s=A.glyphs.get(n);return s||(s=A.missingGlyph),s}getText(){return""}getTextFromNode(A){const t=A||this.node,e=Array.from(t.parentNode.childNodes),n=e.indexOf(t),s=e.length-1;let i=Kt(t.textContent||"");return n===0&&(i=du(i)),n===s&&(i=hu(i)),i}renderChildren(A){if(this.type!=="text"){this.renderTElementChildren(A);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(A),this.children.forEach((e,n)=>{this.renderChild(A,this,this,n)});const{mouse:t}=this.document.screen;t.isWorking()&&t.checkBoundingBox(this,this.getBoundingBox(A))}renderTElementChildren(A){const{document:t,parent:e}=this,n=this.getText(),s=e.getStyle("font-family").getDefinition();if(s){const{unitsPerEm:o}=s.fontFace,l=te.parse(t.ctx.font),c=e.getStyle("font-size").getNumber(l.fontSize),u=e.getStyle("font-style").getString(l.fontStyle),B=c/o,f=s.isRTL?n.split("").reverse().join(""):n,g=ae(e.getAttribute("dx").getString()),h=f.length;for(let w=0;w=this.leafTexts.length)return;const A=this.leafTexts[this.textChunkStart],t=A.getStyle("text-anchor").getString("start"),e=!1;let n=0;t==="start"&&!e||t==="end"&&e?n=A.x-this.minX:t==="end"&&!e||t==="start"&&e?n=A.x-this.maxX:n=A.x-(this.minX+this.maxX)/2;for(let s=this.textChunkStart;s{this.adjustChildCoordinatesRecursiveCore(A,this,this,e)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(A,t,e,n){const s=e.children[n];s.children.length>0?s.children.forEach((i,a)=>{t.adjustChildCoordinatesRecursiveCore(A,t,s,a)}):this.adjustChildCoordinates(A,t,e,n)}adjustChildCoordinates(A,t,e,n){const s=e.children[n];if(typeof s.measureText!="function")return s;A.save(),s.setContext(A,!0);const i=s.getAttribute("x"),a=s.getAttribute("y"),o=s.getAttribute("dx"),l=s.getAttribute("dy"),c=s.getStyle("font-family").getDefinition(),u=!!(c!=null&&c.isRTL);n===0&&(i.hasValue()||i.setValue(s.getInheritedAttribute("x")),a.hasValue()||a.setValue(s.getInheritedAttribute("y")),o.hasValue()||o.setValue(s.getInheritedAttribute("dx")),l.hasValue()||l.setValue(s.getInheritedAttribute("dy")));const B=s.measureText(A);return u&&(t.x-=B),i.hasValue()?(t.applyAnchoring(),s.x=i.getPixels("x"),o.hasValue()&&(s.x+=o.getPixels("x"))):(o.hasValue()&&(t.x+=o.getPixels("x")),s.x=t.x),t.x=s.x,u||(t.x+=B),a.hasValue()?(s.y=a.getPixels("y"),l.hasValue()&&(s.y+=l.getPixels("y"))):(l.hasValue()&&(t.y+=l.getPixels("y")),s.y=t.y),t.y=s.y,t.leafTexts.push(s),t.minX=Math.min(t.minX,s.x,s.x+B),t.maxX=Math.max(t.maxX,s.x,s.x+B),s.clearContext(A),A.restore(),s}getChildBoundingBox(A,t,e,n){const s=e.children[n];if(typeof s.getBoundingBox!="function")return null;const i=s.getBoundingBox(A);return i&&s.children.forEach((a,o)=>{const l=t.getChildBoundingBox(A,t,s,o);i.addBoundingBox(l)}),i}renderChild(A,t,e,n){const s=e.children[n];s.render(A),s.children.forEach((i,a)=>{t.renderChild(A,t,s,a)})}measureText(A){const{measureCache:t}=this;if(~t)return t;const e=this.getText(),n=this.measureTargetText(A,e);return this.measureCache=n,n}measureTargetText(A,t){if(!t.length)return 0;const{parent:e}=this,n=e.getStyle("font-family").getDefinition();if(n){const i=this.getFontSize(),a=n.isRTL?t.split("").reverse().join(""):t,o=ae(e.getAttribute("dx").getString()),l=a.length;let c=0;for(let u=0;u0?"":this.getTextFromNode()}}class Gu extends ln{constructor(...A){super(...A),this.type="textNode"}}class nA extends M{reset(){this.i=-1,this.command=null,this.previousCommand=null,this.start=new IA(0,0),this.control=new IA(0,0),this.current=new IA(0,0),this.points=[],this.angles=[]}isEnd(){const{i:A,commands:t}=this;return A>=t.length-1}next(){const A=this.commands[++this.i];return this.previousCommand=this.command,this.command=A,A}getPoint(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y";const e=new IA(this.command[A],this.command[t]);return this.makeAbsolute(e)}getAsControlPoint(A,t){const e=this.getPoint(A,t);return this.control=e,e}getAsCurrentPoint(A,t){const e=this.getPoint(A,t);return this.current=e,e}getReflectedControlPoint(){const A=this.previousCommand.type;if(A!==M.CURVE_TO&&A!==M.SMOOTH_CURVE_TO&&A!==M.QUAD_TO&&A!==M.SMOOTH_QUAD_TO)return this.current;const{current:{x:t,y:e},control:{x:n,y:s}}=this;return new IA(2*t-n,2*e-s)}makeAbsolute(A){if(this.command.relative){const{x:t,y:e}=this.current;A.x+=t,A.y+=e}return A}addMarker(A,t,e){const{points:n,angles:s}=this;e&&s.length>0&&!s[s.length-1]&&(s[s.length-1]=n[n.length-1].angleTo(e)),this.addMarkerAngle(A,t?t.angleTo(A):null)}addMarkerAngle(A,t){this.points.push(A),this.angles.push(t)}getMarkerPoints(){return this.points}getMarkerAngles(){const{angles:A}=this,t=A.length;for(let e=0;e[s,e[i]])}renderChildren(A){this.path(A),this.document.screen.mouse.checkPath(this,A);const t=this.getStyle("fill-rule");A.fillStyle!==""&&(t.getString("inherit")!=="inherit"?A.fill(t.getString()):A.fill()),A.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(A.save(),A.setTransform(1,0,0,1,0,0),A.stroke(),A.restore()):A.stroke());const e=this.getMarkers();if(e){const n=e.length-1,s=this.getStyle("marker-start"),i=this.getStyle("marker-mid"),a=this.getStyle("marker-end");if(s.isUrlDefinition()){const o=s.getDefinition(),[l,c]=e[0];o.render(A,l,c)}if(i.isUrlDefinition()){const o=i.getDefinition();for(let l=1;l1&&(n*=Math.sqrt(B),s*=Math.sqrt(B));let f=(a===o?-1:1)*Math.sqrt((Math.pow(n,2)*Math.pow(s,2)-Math.pow(n,2)*Math.pow(u.y,2)-Math.pow(s,2)*Math.pow(u.x,2))/(Math.pow(n,2)*Math.pow(u.y,2)+Math.pow(s,2)*Math.pow(u.x,2)));isNaN(f)&&(f=0);const g=new IA(f*n*u.y/s,f*-s*u.x/n),h=new IA((t.x+c.x)/2+Math.cos(l)*g.x-Math.sin(l)*g.y,(t.y+c.y)/2+Math.sin(l)*g.x+Math.cos(l)*g.y),w=li([1,0],[(u.x-g.x)/n,(u.y-g.y)/s]),m=[(u.x-g.x)/n,(u.y-g.y)/s],y=[(-u.x-g.x)/n,(-u.y-g.y)/s];let H=li(m,y);return ns(m,y)<=-1&&(H=Math.PI),ns(m,y)>=1&&(H=0),{currentPoint:c,rX:n,rY:s,sweepFlag:o,xAxisRotation:l,centp:h,a1:w,ad:H}}pathA(A,t){const{pathParser:e}=this,{currentPoint:n,rX:s,rY:i,sweepFlag:a,xAxisRotation:o,centp:l,a1:c,ad:u}=dA.pathA(e),B=1-a?1:-1,f=c+B*(u/2),g=new IA(l.x+s*Math.cos(f),l.y+i*Math.sin(f));if(e.addMarkerAngle(g,f-B*Math.PI/2),e.addMarkerAngle(n,f-B*Math.PI),t.addPoint(n.x,n.y),A&&!isNaN(c)&&!isNaN(u)){const h=s>i?s:i,w=s>i?1:s/i,m=s>i?i/s:1;A.translate(l.x,l.y),A.rotate(o),A.scale(w,m),A.arc(0,0,h,c,c+u,!!(1-a)),A.scale(1/w,1/m),A.rotate(-o),A.translate(-l.x,-l.y)}}static pathZ(A){A.current=A.start}pathZ(A,t){dA.pathZ(this.pathParser),A&&t.x1!==t.x2&&t.y1!==t.y2&&A.closePath()}constructor(A,t,e){super(A,t,e),this.type="path",this.pathParser=new nA(this.getAttribute("d").getString())}}class cr extends dt{setContext(A){var t;const{document:e}=this,{screen:n,window:s}=e,i=A.canvas;if(n.setDefaults(A),"style"in i&&typeof A.font<"u"&&s&&typeof s.getComputedStyle<"u"){A.font=s.getComputedStyle(i).getPropertyValue("font");const y=new W(e,"fontSize",te.parse(A.font).fontSize);y.hasValue()&&(e.rootEmSize=y.getPixels("y"),e.emSize=e.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);let{width:a,height:o}=n.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");const l=this.getAttribute("refX"),c=this.getAttribute("refY"),u=this.getAttribute("viewBox"),B=u.hasValue()?ae(u.getString()):null,f=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible";let g=0,h=0,w=0,m=0;B&&(g=B[0],h=B[1]),this.root||(a=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y"),this.type==="marker"&&(w=g,m=h,g=0,h=0)),n.viewPort.setCurrent(a,o),this.node&&(!this.parent||((t=this.node.parentNode)===null||t===void 0?void 0:t.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(A),A.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),B&&(a=B[2],o=B[3]),e.setViewBox({ctx:A,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:n.viewPort.width,desiredWidth:a,height:n.viewPort.height,desiredHeight:o,minX:g,minY:h,refX:l.getValue(),refY:c.getValue(),clip:f,clipX:w,clipY:m}),B&&(n.viewPort.removeCurrent(),n.viewPort.setCurrent(a,o))}clearContext(A){super.clearContext(A),this.document.screen.viewPort.removeCurrent()}resize(A){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const n=this.getAttribute("width",!0),s=this.getAttribute("height",!0),i=this.getAttribute("viewBox"),a=this.getAttribute("style"),o=n.getNumber(0),l=s.getNumber(0);if(e)if(typeof e=="string")this.getAttribute("preserveAspectRatio",!0).setValue(e);else{const c=this.getAttribute("preserveAspectRatio");c.hasValue()&&c.setValue(c.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(n.setValue(A),s.setValue(t),i.hasValue()||i.setValue("0 0 ".concat(o||A," ").concat(l||t)),a.hasValue()){const c=this.getStyle("width"),u=this.getStyle("height");c.hasValue()&&c.setValue("".concat(A,"px")),u.hasValue()&&u.setValue("".concat(t,"px"))}}constructor(...A){super(...A),this.type="svg",this.root=!1}}class Na extends dA{path(A){const t=this.getAttribute("x").getPixels("x"),e=this.getAttribute("y").getPixels("y"),n=this.getStyle("width",!1,!0).getPixels("x"),s=this.getStyle("height",!1,!0).getPixels("y"),i=this.getAttribute("rx"),a=this.getAttribute("ry");let o=i.getPixels("x"),l=a.getPixels("y");if(i.hasValue()&&!a.hasValue()&&(l=o),a.hasValue()&&!i.hasValue()&&(o=l),o=Math.min(o,n/2),l=Math.min(l,s/2),A){const c=4*((Math.sqrt(2)-1)/3);A.beginPath(),s>0&&n>0&&(A.moveTo(t+o,e),A.lineTo(t+n-o,e),A.bezierCurveTo(t+n-o+c*o,e,t+n,e+l-c*l,t+n,e+l),A.lineTo(t+n,e+s-l),A.bezierCurveTo(t+n,e+s-l+c*l,t+n-o+c*o,e+s,t+n-o,e+s),A.lineTo(t+o,e+s),A.bezierCurveTo(t+o-c*o,e+s,t,e+s-l+c*l,t,e+s-l),A.lineTo(t,e+l),A.bezierCurveTo(t,e+l-c*l,t+o-c*o,e,t+o,e),A.closePath())}return new he(t,e,t+n,e+s)}getMarkers(){return null}constructor(...A){super(...A),this.type="rect"}}class Xu extends dA{path(A){const t=this.getAttribute("cx").getPixels("x"),e=this.getAttribute("cy").getPixels("y"),n=this.getAttribute("r").getPixels();return A&&n>0&&(A.beginPath(),A.arc(t,e,n,0,Math.PI*2,!1),A.closePath()),new he(t-n,e-n,t+n,e+n)}getMarkers(){return null}constructor(...A){super(...A),this.type="circle"}}class Ju extends dA{path(A){const t=4*((Math.sqrt(2)-1)/3),e=this.getAttribute("rx").getPixels("x"),n=this.getAttribute("ry").getPixels("y"),s=this.getAttribute("cx").getPixels("x"),i=this.getAttribute("cy").getPixels("y");return A&&e>0&&n>0&&(A.beginPath(),A.moveTo(s+e,i),A.bezierCurveTo(s+e,i+t*n,s+t*e,i+n,s,i+n),A.bezierCurveTo(s-t*e,i+n,s-e,i+t*n,s-e,i),A.bezierCurveTo(s-e,i-t*n,s-t*e,i-n,s,i-n),A.bezierCurveTo(s+t*e,i-n,s+e,i-t*n,s+e,i),A.closePath()),new he(s-e,i-n,s+e,i+n)}getMarkers(){return null}constructor(...A){super(...A),this.type="ellipse"}}class Yu extends dA{getPoints(){return[new IA(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new IA(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(A){const[{x:t,y:e},{x:n,y:s}]=this.getPoints();return A&&(A.beginPath(),A.moveTo(t,e),A.lineTo(n,s)),new he(t,e,n,s)}getMarkers(){const[A,t]=this.getPoints(),e=A.angleTo(t);return[[A,e],[t,e]]}constructor(...A){super(...A),this.type="line"}}class Pa extends dA{path(A){const{points:t}=this,[{x:e,y:n}]=t,s=new he(e,n);return A&&(A.beginPath(),A.moveTo(e,n)),t.forEach(i=>{let{x:a,y:o}=i;s.addPoint(a,o),A&&A.lineTo(a,o)}),s}getMarkers(){const{points:A}=this,t=A.length-1,e=[];return A.forEach((n,s)=>{s!==t&&e.push([n,n.angleTo(A[s+1])])}),e.length>0&&e.push([A[A.length-1],e[e.length-1][1]]),e}constructor(A,t,e){super(A,t,e),this.type="polyline",this.points=[],this.points=IA.parsePath(this.getAttribute("points").getString())}}class Wu extends Pa{path(A){const t=super.path(A),[{x:e,y:n}]=this.points;return A&&(A.lineTo(e,n),A.closePath()),t}constructor(...A){super(...A),this.type="polygon"}}class zu extends FA{createPattern(A,t,e){const n=this.getStyle("width").getPixels("x",!0),s=this.getStyle("height").getPixels("y",!0),i=new cr(this.document,null);i.attributes.set("viewBox",new W(this.document,"viewBox",this.getAttribute("viewBox").getValue())),i.attributes.set("width",new W(this.document,"width","".concat(n,"px"))),i.attributes.set("height",new W(this.document,"height","".concat(s,"px"))),i.attributes.set("transform",new W(this.document,"transform",this.getAttribute("patternTransform").getValue())),i.children=this.children;const a=this.document.createCanvas(n,s),o=a.getContext("2d"),l=this.getAttribute("x"),c=this.getAttribute("y");l.hasValue()&&c.hasValue()&&o.translate(l.getPixels("x",!0),c.getPixels("y",!0)),e.hasValue()?this.styles.set("fill-opacity",e):this.styles.delete("fill-opacity");for(let B=-1;B<=1;B++)for(let f=-1;f<=1;f++)o.save(),i.attributes.set("x",new W(this.document,"x",B*a.width)),i.attributes.set("y",new W(this.document,"y",f*a.height)),i.render(o),o.restore();return A.createPattern(a,"repeat")}constructor(...A){super(...A),this.type="pattern"}}class Zu extends FA{render(A,t,e){if(!t)return;const{x:n,y:s}=t,i=this.getAttribute("orient").getString("auto"),a=this.getAttribute("markerUnits").getString("strokeWidth");A.translate(n,s),i==="auto"&&A.rotate(e),a==="strokeWidth"&&A.scale(A.lineWidth,A.lineWidth),A.save();const o=new cr(this.document);o.type=this.type,o.attributes.set("viewBox",new W(this.document,"viewBox",this.getAttribute("viewBox").getValue())),o.attributes.set("refX",new W(this.document,"refX",this.getAttribute("refX").getValue())),o.attributes.set("refY",new W(this.document,"refY",this.getAttribute("refY").getValue())),o.attributes.set("width",new W(this.document,"width",this.getAttribute("markerWidth").getValue())),o.attributes.set("height",new W(this.document,"height",this.getAttribute("markerHeight").getValue())),o.attributes.set("overflow",new W(this.document,"overflow",this.getAttribute("overflow").getValue())),o.attributes.set("fill",new W(this.document,"fill",this.getAttribute("fill").getColor("black"))),o.attributes.set("stroke",new W(this.document,"stroke",this.getAttribute("stroke").getValue("none"))),o.children=this.children,o.render(A),A.restore(),a==="strokeWidth"&&A.scale(1/A.lineWidth,1/A.lineWidth),i==="auto"&&A.rotate(-e),A.translate(-n,-s)}constructor(...A){super(...A),this.type="marker"}}class ju extends FA{render(){}constructor(...A){super(...A),this.type="defs"}}class Ls extends dt{getBoundingBox(A){const t=new he;return this.children.forEach(e=>{t.addBoundingBox(e.getBoundingBox(A))}),t}constructor(...A){super(...A),this.type="g"}}class Ga extends FA{getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(A,t,e){let n=this;this.getHrefAttribute().hasValue()&&(n=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(n));const{stops:s}=n,i=this.getGradient(A,t);if(!i)return this.addParentOpacity(e,s[s.length-1].color);if(s.forEach(a=>{i.addColorStop(a.offset,this.addParentOpacity(e,a.color))}),this.getAttribute("gradientTransform").hasValue()){const{document:a}=this,{MAX_VIRTUAL_PIXELS:o}=_e,{viewPort:l}=a.screen,c=l.getRoot(),u=new Na(a);u.attributes.set("x",new W(a,"x",-o/3)),u.attributes.set("y",new W(a,"y",-o/3)),u.attributes.set("width",new W(a,"width",o)),u.attributes.set("height",new W(a,"height",o));const B=new Ls(a);B.attributes.set("transform",new W(a,"transform",this.getAttribute("gradientTransform").getValue())),B.children=[u];const f=new cr(a);f.attributes.set("x",new W(a,"x",0)),f.attributes.set("y",new W(a,"y",0)),f.attributes.set("width",new W(a,"width",c.width)),f.attributes.set("height",new W(a,"height",c.height)),f.children=[B];const g=a.createCanvas(c.width,c.height),h=g.getContext("2d");return h.fillStyle=i,f.render(h),h.createPattern(g,"no-repeat")}return i}inheritStopContainer(A){this.attributesToInherit.forEach(t=>{!this.getAttribute(t).hasValue()&&A.getAttribute(t).hasValue()&&this.getAttribute(t,!0).setValue(A.getAttribute(t).getValue())})}addParentOpacity(A,t){return A.hasValue()?new W(this.document,"color",t).addOpacity(A).getColor():t}constructor(A,t,e){super(A,t,e),this.attributesToInherit=["gradientUnits"],this.stops=[];const{stops:n,children:s}=this;s.forEach(i=>{i.type==="stop"&&n.push(i)})}}class $u extends Ga{getGradient(A,t){const e=this.getGradientUnits()==="objectBoundingBox",n=e?t.getBoundingBox(A):null;if(e&&!n)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));const s=e?n.x+n.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),i=e?n.y+n.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),a=e?n.x+n.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),o=e?n.y+n.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return s===a&&i===o?null:A.createLinearGradient(s,i,a,o)}constructor(A,t,e){super(A,t,e),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}}class qu extends Ga{getGradient(A,t){const e=this.getGradientUnits()==="objectBoundingBox",n=t.getBoundingBox(A);if(e&&!n)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");const s=e?n.x+n.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),i=e?n.y+n.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y");let a=s,o=i;this.getAttribute("fx").hasValue()&&(a=e?n.x+n.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(o=e?n.y+n.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));const l=e?(n.width+n.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),c=this.getAttribute("fr").getPixels();return A.createRadialGradient(a,o,c,s,i,l)}constructor(A,t,e){super(A,t,e),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}}class AB extends FA{constructor(A,t,e){super(A,t,e),this.type="stop";const n=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),s=this.getStyle("stop-opacity");let i=this.getStyle("stop-color",!0);i.getString()===""&&i.setValue("#000"),s.hasValue()&&(i=i.addOpacity(s)),this.offset=n,this.color=i.getColor()}}class Ds extends FA{getProperty(){const A=this.getAttribute("attributeType").getString(),t=this.getAttribute("attributeName").getString();return A==="CSS"?this.parent.getStyle(t,!0):this.parent.getAttribute(t,!0)}calcValue(){const{initialUnits:A}=this,{progress:t,from:e,to:n}=this.getProgress();let s=e.getNumber()+(n.getNumber()-e.getNumber())*t;return A==="%"&&(s*=100),"".concat(s).concat(A)}update(A){const{parent:t}=this,e=this.getProperty();if(this.initialValue||(this.initialValue=e.getString(),this.initialUnits=e.getUnits()),this.duration>this.maxDuration){const s=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(s==="freeze"&&!this.frozen)this.frozen=!0,t&&e&&(t.animationFrozen=!0,t.animationFrozenValue=e.getString());else if(s==="remove"&&!this.removed)return this.removed=!0,t&&e&&e.setValue(t.animationFrozen?t.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=A;let n=!1;if(this.begin{const l=s[o];return a+(l-a)*A}).join(" ")}constructor(...A){super(...A),this.type="animateTransform"}}class Xa extends FA{constructor(A,t,e){super(A,t,e),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}}class Ks extends dA{constructor(A,t,e){super(A,t,e),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}}class Ja extends Ks{constructor(...A){super(...A),this.type="missing-glyph",this.horizAdvX=0}}class rB extends FA{render(){}constructor(A,t,e){super(A,t,e),this.type="font",this.isArabic=!1,this.glyphs=new Map,this.arabicGlyphs=new Map,this.isRTL=!1,this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();const{definitions:n}=A,{children:s}=this;for(const i of s)if(i instanceof Xa){this.fontFace=i;const a=i.getStyle("font-family");a.hasValue()&&n.set(a.getString(),this)}else if(i instanceof Ja)this.missingGlyph=i;else if(i instanceof Ks)if(i.arabicForm){this.isRTL=!0,this.isArabic=!0;let a=this.arabicGlyphs.get(i.unicode);typeof a>"u"&&(a=new Map,this.arabicGlyphs.set(i.unicode,a)),a.set(i.arabicForm,i)}else this.glyphs.set(i.unicode,i)}}class nB extends qe{getText(){const A=this.getHrefAttribute().getDefinition();if(A){const t=A.children[0];if(t)return t.getText()}return""}constructor(...A){super(...A),this.type="tref"}}class sB extends qe{getText(){return this.text}renderChildren(A){if(this.hasText){super.renderChildren(A);const{document:t,x:e,y:n}=this,{mouse:s}=t.screen,i=new W(t,"fontSize",te.parse(t.ctx.font).fontSize);s.isWorking()&&s.checkBoundingBox(this,new he(e,n-i.getPixels("y"),e+this.measureText(A),n))}else if(this.children.length>0){const t=new Ls(this.document);t.children=this.children,t.parent=this,t.render(A)}}onClick(){const{window:A}=this.document;A&&A.open(this.getHrefAttribute().getString())}onMouseMove(){const A=this.document.ctx;A.canvas.style.cursor="pointer"}constructor(A,t,e){super(A,t,e),this.type="a";const{childNodes:n}=t,s=n[0],i=n.length>0&&Array.from(n).every(a=>a.nodeType===3);this.hasText=i,this.text=i?this.getTextFromNode(s):""}}class iB extends qe{getText(){return this.text}path(A){const{dataArray:t}=this;A&&A.beginPath(),t.forEach(e=>{let{type:n,points:s}=e;switch(n){case nA.LINE_TO:A&&A.lineTo(s[0],s[1]);break;case nA.MOVE_TO:A&&A.moveTo(s[0],s[1]);break;case nA.CURVE_TO:A&&A.bezierCurveTo(s[0],s[1],s[2],s[3],s[4],s[5]);break;case nA.QUAD_TO:A&&A.quadraticCurveTo(s[0],s[1],s[2],s[3]);break;case nA.ARC:{const[i,a,o,l,c,u,B,f]=s,g=o>l?o:l,h=o>l?1:o/l,w=o>l?l/o:1;A&&(A.translate(i,a),A.rotate(B),A.scale(h,w),A.arc(0,0,g,c,c+u,!!(1-f)),A.scale(1/h,1/w),A.rotate(-B),A.translate(-i,-a));break}case nA.CLOSE_PATH:A&&A.closePath();break}})}renderChildren(A){this.setTextData(A),A.save();const t=this.parent.getStyle("text-decoration").getString(),e=this.getFontSize(),{glyphInfo:n}=this,s=A.fillStyle;t==="underline"&&A.beginPath(),n.forEach((i,a)=>{const{p0:o,p1:l,rotation:c,text:u}=i;A.save(),A.translate(o.x,o.y),A.rotate(c),A.fillStyle&&A.fillText(u,0,0),A.strokeStyle&&A.strokeText(u,0,0),A.restore(),t==="underline"&&(a===0&&A.moveTo(o.x,o.y+e/8),A.lineTo(l.x,l.y+e/5))}),t==="underline"&&(A.lineWidth=e/20,A.strokeStyle=s,A.stroke(),A.closePath()),A.restore()}getLetterSpacingAt(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[A]||0}findSegmentToFitChar(A,t,e,n,s,i,a,o,l){let c=i,u=this.measureText(A,o);o===" "&&t==="justify"&&e-1&&(c+=this.getLetterSpacingAt(l));const B=this.textHeight/20,f=this.getEquidistantPointOnPath(c,B,0),g=this.getEquidistantPointOnPath(c+u,B,0),h={p0:f,p1:g},w=f&&g?Math.atan2(g.y-f.y,g.x-f.x):0;if(a){const m=Math.cos(Math.PI/2+w)*a,y=Math.cos(-w)*a;h.p0={...f,x:f.x+m,y:f.y+y},h.p1={...g,x:g.x+m,y:g.y+y}}return c+=u,{offset:c,segment:h,rotation:w}}measureText(A,t){const{measuresCache:e}=this,n=t||this.getText();if(e.has(n))return e.get(n);const s=this.measureTargetText(A,n);return e.set(n,s),s}setTextData(A){if(this.glyphInfo)return;const t=this.getText(),e=t.split(""),n=t.split(" ").length-1,s=this.parent.getAttribute("dx").split().map(H=>H.getPixels("x")),i=this.parent.getAttribute("dy").getPixels("y"),a=this.parent.getStyle("text-anchor").getString("start"),o=this.getStyle("letter-spacing"),l=this.parent.getStyle("letter-spacing");let c=0;!o.hasValue()||o.getValue()==="inherit"?c=l.getPixels():o.hasValue()&&o.getValue()!=="initial"&&o.getValue()!=="unset"&&(c=o.getPixels());const u=[],B=t.length;this.letterSpacingCache=u;for(let H=0;HD===0?0:H+T||0,0),g=this.measureText(A),h=Math.max(g+f,0);this.textWidth=g,this.textHeight=this.getFontSize(),this.glyphInfo=[];const w=this.getPathLength(),m=this.getStyle("startOffset").getNumber(0)*w;let y=0;(a==="middle"||a==="center")&&(y=-h/2),(a==="end"||a==="right")&&(y=-h),y+=m,e.forEach((H,T)=>{const{offset:D,segment:E,rotation:U}=this.findSegmentToFitChar(A,a,h,w,n,y,i,H,T);y=D,!(!E.p0||!E.p1)&&this.glyphInfo.push({text:e[T],p0:E.p0,p1:E.p1,rotation:U})})}parsePathData(A){if(this.pathLength=-1,!A)return[];const t=[],{pathParser:e}=A;for(e.reset();!e.isEnd();){const{current:n}=e,s=n?n.x:0,i=n?n.y:0,a=e.next();let o=a.type,l=[];switch(a.type){case nA.MOVE_TO:this.pathM(e,l);break;case nA.LINE_TO:o=this.pathL(e,l);break;case nA.HORIZ_LINE_TO:o=this.pathH(e,l);break;case nA.VERT_LINE_TO:o=this.pathV(e,l);break;case nA.CURVE_TO:this.pathC(e,l);break;case nA.SMOOTH_CURVE_TO:o=this.pathS(e,l);break;case nA.QUAD_TO:this.pathQ(e,l);break;case nA.SMOOTH_QUAD_TO:o=this.pathT(e,l);break;case nA.ARC:l=this.pathA(e);break;case nA.CLOSE_PATH:dA.pathZ(e);break}a.type!==nA.CLOSE_PATH?t.push({type:o,points:l,start:{x:s,y:i},pathLength:this.calcLength(s,i,o,l)}):t.push({type:nA.CLOSE_PATH,points:[],pathLength:0})}return t}pathM(A,t){const{x:e,y:n}=dA.pathM(A).point;t.push(e,n)}pathL(A,t){const{x:e,y:n}=dA.pathL(A).point;return t.push(e,n),nA.LINE_TO}pathH(A,t){const{x:e,y:n}=dA.pathH(A).point;return t.push(e,n),nA.LINE_TO}pathV(A,t){const{x:e,y:n}=dA.pathV(A).point;return t.push(e,n),nA.LINE_TO}pathC(A,t){const{point:e,controlPoint:n,currentPoint:s}=dA.pathC(A);t.push(e.x,e.y,n.x,n.y,s.x,s.y)}pathS(A,t){const{point:e,controlPoint:n,currentPoint:s}=dA.pathS(A);return t.push(e.x,e.y,n.x,n.y,s.x,s.y),nA.CURVE_TO}pathQ(A,t){const{controlPoint:e,currentPoint:n}=dA.pathQ(A);t.push(e.x,e.y,n.x,n.y)}pathT(A,t){const{controlPoint:e,currentPoint:n}=dA.pathT(A);return t.push(e.x,e.y,n.x,n.y),nA.QUAD_TO}pathA(A){let{rX:t,rY:e,sweepFlag:n,xAxisRotation:s,centp:i,a1:a,ad:o}=dA.pathA(A);return n===0&&o>0&&(o-=2*Math.PI),n===1&&o<0&&(o+=2*Math.PI),[i.x,i.y,t,e,a,o,s,n]}calcLength(A,t,e,n){let s=0,i=null,a=null,o=0;switch(e){case nA.LINE_TO:return this.getLineLength(A,t,n[0],n[1]);case nA.CURVE_TO:for(s=0,i=this.getPointOnCubicBezier(0,A,t,n[0],n[1],n[2],n[3],n[4],n[5]),o=.01;o<=1;o+=.01)a=this.getPointOnCubicBezier(o,A,t,n[0],n[1],n[2],n[3],n[4],n[5]),s+=this.getLineLength(i.x,i.y,a.x,a.y),i=a;return s;case nA.QUAD_TO:for(s=0,i=this.getPointOnQuadraticBezier(0,A,t,n[0],n[1],n[2],n[3]),o=.01;o<=1;o+=.01)a=this.getPointOnQuadraticBezier(o,A,t,n[0],n[1],n[2],n[3]),s+=this.getLineLength(i.x,i.y,a.x,a.y),i=a;return s;case nA.ARC:{s=0;const l=n[4],c=n[5],u=n[4]+c;let B=Math.PI/180;if(Math.abs(l-u)u;o-=B)a=this.getPointOnEllipticalArc(n[0],n[1],n[2],n[3],o,0),s+=this.getLineLength(i.x,i.y,a.x,a.y),i=a;else for(o=l+B;o5&&arguments[5]!==void 0?arguments[5]:t,a=arguments.length>6&&arguments[6]!==void 0?arguments[6]:e;const o=(s-e)/(n-t+xt);let l=Math.sqrt(A*A/(1+o*o));nt)return null;const{dataArray:s}=this;for(const i of s){if(i&&(i.pathLength<5e-5||e+i.pathLength+5e-5=0&&o>u)break;n=this.getPointOnEllipticalArc(i.points[0],i.points[1],i.points[2],i.points[3],o,i.points[6]);break}case nA.CURVE_TO:o=a/i.pathLength,o>1&&(o=1),n=this.getPointOnCubicBezier(o,i.start.x,i.start.y,i.points[0],i.points[1],i.points[2],i.points[3],i.points[4],i.points[5]);break;case nA.QUAD_TO:o=a/i.pathLength,o>1&&(o=1),n=this.getPointOnQuadraticBezier(o,i.start.x,i.start.y,i.points[0],i.points[1],i.points[2],i.points[3]);break}if(n)return n;break}return null}getLineLength(A,t,e,n){return Math.sqrt((e-A)*(e-A)+(n-t)*(n-t))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((A,t)=>t.pathLength>0?A+t.pathLength:A,0)),this.pathLength}getPointOnCubicBezier(A,t,e,n,s,i,a,o,l){const c=o*ci(A)+i*ui(A)+n*Bi(A)+t*gi(A),u=l*ci(A)+a*ui(A)+s*Bi(A)+e*gi(A);return{x:c,y:u}}getPointOnQuadraticBezier(A,t,e,n,s,i,a){const o=i*fi(A)+n*di(A)+t*hi(A),l=a*fi(A)+s*di(A)+e*hi(A);return{x:o,y:l}}getPointOnEllipticalArc(A,t,e,n,s,i){const a=Math.cos(i),o=Math.sin(i),l={x:e*Math.cos(s),y:n*Math.sin(s)};return{x:A+(l.x*a-l.y*o),y:t+(l.x*o+l.y*a)}}buildEquidistantCache(A,t){const e=this.getPathLength(),n=t||.25,s=A||e/100;if(!this.equidistantCache||this.equidistantCache.step!==s||this.equidistantCache.precision!==n){this.equidistantCache={step:s,precision:n,points:[]};let i=0;for(let a=0;a<=e;a+=n){const o=this.getPointOnPath(a),l=this.getPointOnPath(a+n);!o||!l||(i+=this.getLineLength(o.x,o.y,l.x,l.y),i>=s&&(this.equidistantCache.points.push({x:o.x,y:o.y,distance:a}),i-=s))}}}getEquidistantPointOnPath(A,t,e){if(this.buildEquidistantCache(t,e),A<0||A-this.getPathLength()>5e-5)return null;const n=Math.round(A/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[n]||null}constructor(A,t,e){super(A,t,e),this.type="textPath",this.textWidth=0,this.textHeight=0,this.pathLength=-1,this.glyphInfo=null,this.letterSpacingCache=[],this.measuresCache=new Map([["",0]]);const n=this.getHrefAttribute().getDefinition();this.text=this.getTextFromNode(),this.dataArray=this.parsePathData(n)}}const aB=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i;class oB extends dt{async loadImage(A){try{const t=await this.document.createImage(A);this.image=t}catch(t){console.error('Error while loading image "'.concat(A,'":'),t)}this.loaded=!0}async loadSvg(A){const t=aB.exec(A);if(t){const e=t[5];e&&(t[4]==="base64"?this.image=atob(e):this.image=decodeURIComponent(e))}else try{const n=await(await this.document.fetch(A)).text();this.image=n}catch(e){console.error('Error while loading image "'.concat(A,'":'),e)}this.loaded=!0}renderChildren(A){const{document:t,image:e,loaded:n}=this,s=this.getAttribute("x").getPixels("x"),i=this.getAttribute("y").getPixels("y"),a=this.getStyle("width").getPixels("x"),o=this.getStyle("height").getPixels("y");if(!(!n||!e||!a||!o)){if(A.save(),A.translate(s,i),typeof e=="string"){const l=t.canvg.forkString(A,e,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:a,scaleHeight:o}),{documentElement:c}=l.document;c&&(c.parent=this),l.render()}else t.setViewBox({ctx:A,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a,desiredWidth:e.width,height:o,desiredHeight:e.height}),this.loaded&&(!("complete"in e)||e.complete)&&A.drawImage(e,0,0);A.restore()}}getBoundingBox(){const A=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),e=this.getStyle("width").getPixels("x"),n=this.getStyle("height").getPixels("y");return new he(A,t,A+e,t+n)}constructor(A,t,e){super(A,t,e),this.type="image",this.loaded=!1;const n=this.getHrefAttribute().getString();if(!n)return;const s=n.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(n);A.images.push(this),s?this.loadSvg(n):this.loadImage(n)}}class lB extends dt{render(A){}constructor(...A){super(...A),this.type="symbol"}}class cB{async load(A,t){try{const{document:e}=this,s=(await e.canvg.parser.load(t)).getElementsByTagName("font");Array.from(s).forEach(i=>{const a=e.createElement(i);e.definitions.set(A,a)})}catch(e){console.error('Error while loading font "'.concat(t,'":'),e)}this.loaded=!0}constructor(A){this.document=A,this.loaded=!1,A.fonts.push(this)}}class Ya extends FA{constructor(A,t,e){super(A,t,e),this.type="style",Kt(Array.from(t.childNodes).map(i=>i.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")).split("}").forEach(i=>{const a=i.trim();if(!a)return;const o=a.split("{"),l=o[0].split(","),c=o[1].split(";");l.forEach(u=>{const B=u.trim();if(!B)return;const f=A.styles.get(B)||new Map;if(c.forEach(g=>{const h=g.indexOf(":"),w=g.substr(0,h).trim(),m=g.substr(h+1,g.length-h).trim();w&&m&&f.set(w,new W(A,w,m))}),A.styles.set(B,f),A.stylesSpecificity.set(B,Iu(B)),B==="@font-face"){const g=f.get("font-family").getString().replace(/"|'/g,"");f.get("src").getString().split(",").forEach(w=>{if(w.indexOf('format("svg")')>0){const m=Ma(w);m&&new cB(A).load(g,m)}})}})})}}Ya.parseExternalUrl=Ma;class uB extends dt{setContext(A){super.setContext(A);const t=this.getAttribute("x"),e=this.getAttribute("y");t.hasValue()&&A.translate(t.getPixels("x"),0),e.hasValue()&&A.translate(0,e.getPixels("y"))}path(A){const{element:t}=this;t&&t.path(A)}renderChildren(A){const{document:t,element:e}=this;if(e){let n=e;if(e.type==="symbol"&&(n=new cr(t),n.attributes.set("viewBox",new W(t,"viewBox",e.getAttribute("viewBox").getString())),n.attributes.set("preserveAspectRatio",new W(t,"preserveAspectRatio",e.getAttribute("preserveAspectRatio").getString())),n.attributes.set("overflow",new W(t,"overflow",e.getAttribute("overflow").getString())),n.children=e.children,e.styles.set("opacity",new W(t,"opacity",this.calculateOpacity()))),n.type==="svg"){const i=this.getStyle("width",!1,!0),a=this.getStyle("height",!1,!0);i.hasValue()&&n.attributes.set("width",new W(t,"width",i.getString())),a.hasValue()&&n.attributes.set("height",new W(t,"height",a.getString()))}const s=n.parent;n.parent=this,n.render(A),n.parent=s}}getBoundingBox(A){const{element:t}=this;return t?t.getBoundingBox(A):null}elementTransform(){const{document:A,element:t}=this;return t?ft.fromElement(A,t):null}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}constructor(...A){super(...A),this.type="use"}}function pr(r,A,t,e,n,s){return r[t*e*4+A*4+s]}function wr(r,A,t,e,n,s,i){r[t*e*4+A*4+s]=i}function DA(r,A,t){return r[A]*t}function Ie(r,A,t,e){return A+Math.cos(r)*t+Math.sin(r)*e}class Wa extends FA{apply(A,t,e,n,s){const{includeOpacity:i,matrix:a}=this,o=A.getImageData(0,0,n,s);for(let l=0;l{f.addBoundingBox(g.getBoundingBox(A))}),n=Math.floor(f.x1),s=Math.floor(f.y1),i=Math.floor(f.width),a=Math.floor(f.height)}const o=this.removeStyles(t,cn.ignoreStyles),l=e.createCanvas(n+i,s+a),c=l.getContext("2d");e.screen.setDefaults(c),this.renderChildren(c),new Wa(e,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(c,0,0,n+i,s+a);const u=e.createCanvas(n+i,s+a),B=u.getContext("2d");e.screen.setDefaults(B),t.render(B),B.globalCompositeOperation="destination-in",B.fillStyle=c.createPattern(l,"no-repeat"),B.fillRect(0,0,n+i,s+a),A.fillStyle=B.createPattern(u,"no-repeat"),A.fillRect(0,0,n+i,s+a),this.restoreStyles(t,o)}render(A){}constructor(...A){super(...A),this.type="mask"}}cn.ignoreStyles=["mask","transform","clip-path"];const wi=()=>{};class BB extends FA{apply(A){const{document:t}=this,e=Reflect.getPrototypeOf(A),{beginPath:n,closePath:s}=A;e&&(e.beginPath=wi,e.closePath=wi),Reflect.apply(n,A,[]),this.children.forEach(i=>{if(!("path"in i))return;let a="elementTransform"in i?i.elementTransform():null;a||(a=ft.fromElement(t,i)),a&&a.apply(A),i.path(A),e&&(e.closePath=s),a&&a.unapply(A)}),Reflect.apply(s,A,[]),A.clip(),e&&(e.beginPath=n,e.closePath=s)}render(A){}constructor(...A){super(...A),this.type="clipPath"}}class un extends FA{apply(A,t){const{document:e,children:n}=this,s="getBoundingBox"in t?t.getBoundingBox(A):null;if(!s)return;let i=0,a=0;n.forEach(m=>{const y=m.extraFilterDistance||0;i=Math.max(i,y),a=Math.max(a,y)});const o=Math.floor(s.width),l=Math.floor(s.height),c=o+2*i,u=l+2*a;if(c<1||u<1)return;const B=Math.floor(s.x),f=Math.floor(s.y),g=this.removeStyles(t,un.ignoreStyles),h=e.createCanvas(c,u),w=h.getContext("2d");e.screen.setDefaults(w),w.translate(-B+i,-f+a),t.render(w),n.forEach(m=>{typeof m.apply=="function"&&m.apply(w,0,0,c,u)}),A.drawImage(h,0,0,c,u,B-i,f-a,c,u),this.restoreStyles(t,g)}render(A){}constructor(...A){super(...A),this.type="filter"}}un.ignoreStyles=["filter","transform","clip-path"];class gB extends FA{apply(A,t,e,n,s){}constructor(A,t,e){super(A,t,e),this.type="feDropShadow",this.addStylesFromStyleDefinition()}}class fB extends FA{apply(A,t,e,n,s){}constructor(...A){super(...A),this.type="feMorphology"}}class dB extends FA{apply(A,t,e,n,s){}constructor(...A){super(...A),this.type="feComposite"}}class hB extends FA{apply(A,t,e,n,s){const{document:i,blurRadius:a}=this,o=i.window?i.window.document.body:null,l=A.canvas;l.id=i.getUniqueId(),o&&(l.style.display="none",o.appendChild(l)),gu(l,t,e,n,s,a),o&&o.removeChild(l)}constructor(A,t,e){super(A,t,e),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}}class pB extends FA{constructor(...A){super(...A),this.type="title"}}class wB extends FA{constructor(...A){super(...A),this.type="desc"}}const CB={svg:cr,rect:Na,circle:Xu,ellipse:Ju,line:Yu,polyline:Pa,polygon:Wu,path:dA,pattern:zu,marker:Zu,defs:ju,linearGradient:$u,radialGradient:qu,stop:AB,animate:Ds,animateColor:eB,animateTransform:tB,font:rB,"font-face":Xa,"missing-glyph":Ja,glyph:Ks,text:qe,tspan:ln,tref:nB,a:sB,textPath:iB,image:oB,g:Ls,symbol:lB,style:Ya,use:uB,mask:cn,clipPath:BB,filter:un,feDropShadow:gB,feMorphology:fB,feComposite:dB,feColorMatrix:Wa,feGaussianBlur:hB,title:pB,desc:wB};function QB(r,A){const t=document.createElement("canvas");return t.width=r,t.height=A,t}async function mB(r){let A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;const t=document.createElement("img");return A&&(t.crossOrigin="Anonymous"),new Promise((e,n)=>{t.onload=()=>{e(t)},t.onerror=(s,i,a,o,l)=>{n(l)},t.src=r})}const Hn=12;class Ze{bindCreateImage(A,t){return typeof t=="boolean"?(e,n)=>A(e,typeof n=="boolean"?n:t):A}get window(){return this.screen.window}get fetch(){return this.screen.fetch}get ctx(){return this.screen.ctx}get emSize(){const{emSizeStack:A}=this;return A[A.length-1]||Hn}set emSize(A){const{emSizeStack:t}=this;t.push(A)}popEmSize(){const{emSizeStack:A}=this;A.pop()}getUniqueId(){return"canvg".concat(++this.uniqueId)}isImagesLoaded(){return this.images.every(A=>A.loaded)}isFontsLoaded(){return this.fonts.every(A=>A.loaded)}createDocumentElement(A){const t=this.createElement(A.documentElement);return t.root=!0,t.addStylesFromStyleDefinition(),this.documentElement=t,t}createElement(A){const t=A.nodeName.replace(/^[^:]+:/,""),e=Ze.elementTypes[t];return e?new e(this,A):new Vu(this,A)}createTextNode(A){return new Gu(this,A)}setViewBox(A){this.screen.setViewBox({document:this,...A})}constructor(A,{rootEmSize:t=Hn,emSize:e=Hn,createCanvas:n=Ze.createCanvas,createImage:s=Ze.createImage,anonymousCrossOrigin:i}={}){this.canvg=A,this.definitions=new Map,this.styles=new Map,this.stylesSpecificity=new Map,this.images=[],this.fonts=[],this.emSizeStack=[],this.uniqueId=0,this.screen=A.screen,this.rootEmSize=t,this.emSize=e,this.createCanvas=n,this.createImage=this.bindCreateImage(s,i),this.screen.wait(()=>this.isImagesLoaded()),this.screen.wait(()=>this.isFontsLoaded())}}Ze.createCanvas=QB;Ze.createImage=mB;Ze.elementTypes=CB;class bt{static async from(A,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=await new In(e).parse(t);return new bt(A,s,e)}static fromString(A,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=new In(e).parseFromString(t);return new bt(A,s,e)}fork(A,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return bt.from(A,t,{...this.options,...e})}forkString(A,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return bt.fromString(A,t,{...this.options,...e})}ready(){return this.screen.ready()}isReady(){return this.screen.isReady()}async render(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.start({enableRedraw:!0,ignoreAnimation:!0,ignoreMouse:!0,...A}),await this.ready(),this.stop()}start(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{documentElement:t,screen:e,options:n}=this;e.start(t,{enableRedraw:!0,...n,...A})}stop(){this.screen.stop()}resize(A){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:A,e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.documentElement.resize(A,t,e)}constructor(A,t,e={}){this.parser=new In(e),this.screen=new _e(A,e),this.options=e;const n=new Ze(this,e),s=n.createDocumentElement(t);this.document=n,this.documentElement=s}}/*! - * html2canvas 1.4.1 - * Copyright (c) 2022 Niklas von Hertzen - * Released under MIT License - *//*! ***************************************************************************** -Copyright (c) Microsoft Corporation. - -Permission to use, copy, modify, and/or distribute this software for any -purpose with or without fee is hereby granted. - -THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH -REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY -AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, -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 ss=function(r,A){return ss=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n])},ss(r,A)};function pe(r,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");ss(r,A);function t(){this.constructor=r}r.prototype=A===null?Object.create(A):(t.prototype=A.prototype,new t)}var is=function(){return is=Object.assign||function(A){for(var t,e=1,n=arguments.length;e0&&s[s.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]=55296&&n<=56319&&t>10)+55296,i%1024+56320)),(n+1===t||e.length>16384)&&(s+=String.fromCharCode.apply(String,e),e.length=0)}return s},Ci="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",vB=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var Qr=0;Qr"u"?[]:new Uint8Array(256);for(var mr=0;mr>4,c[n++]=(i&15)<<4|a>>2,c[n++]=(a&3)<<6|o&63;return l},yB=function(r){for(var A=r.length,t=[],e=0;e>Bt,IB=1<>Bt,xB=za+HB,SB=xB,TB=32,LB=SB+TB,DB=65536>>_s,KB=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>Bt],t=(t<>Bt)],t=(t<>_s),t=this.index[t],t+=A>>Bt&_B,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Ur=0;Urvi?(n.push(!0),a-=vi):n.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(s)!==-1)return e.push(i),t.push(ls);if(a===PB||a===as){if(i===0)return e.push(i),t.push(at);var o=t[i-1];return jB.indexOf(o)===-1?(e.push(e[i-1]),t.push(o)):(e.push(i),t.push(at))}if(e.push(i),a===WB)return t.push(A==="strict"?cs:ar);if(a===qa||a===YB)return t.push(at);if(a===zB)return s>=131072&&s<=196605||s>=196608&&s<=262141?t.push(ar):t.push(at);t.push(a)}),[e,t,n]},Dn=function(r,A,t,e){var n=e[t];if(Array.isArray(r)?r.indexOf(n)!==-1:r===n)for(var s=t;s<=e.length;){s++;var i=e[s];if(i===A)return!0;if(i!==Je)break}if(n===Je)for(var s=t;s>0;){s--;var a=e[s];if(Array.isArray(r)?r.indexOf(a)!==-1:r===a)for(var o=t;o<=e.length;){o++;var i=e[o];if(i===A)return!0;if(i!==Je)break}if(a!==Je)break}return!1},xi=function(r,A){for(var t=r;t>=0;){var e=A[t];if(e===Je)t--;else return e}return 0},Ag=function(r,A,t,e,n){if(t[e]===0)return uA;var s=e-1;if(Array.isArray(n)&&n[s]===!0)return uA;var i=s-1,a=s+1,o=A[s],l=i>=0?A[i]:0,c=A[a];if(o===Za&&c===ja)return uA;if(hs.indexOf(o)!==-1)return Ao;if(hs.indexOf(c)!==-1||eo.indexOf(c)!==-1)return uA;if(xi(s,A)===$a)return Er;if(ds.get(r[s])===as||(o===Fr||o===yr)&&ds.get(r[a])===as||o===Fi||c===Fi||o===yi||[Je,os,Xt].indexOf(o)===-1&&c===yi||[vr,Ot,JB,wt,Ct].indexOf(c)!==-1||xi(s,A)===Vt||Dn(Tn,Vt,s,A)||Dn([vr,Ot],cs,s,A)||Dn(Ei,Ei,s,A))return uA;if(o===Je)return Er;if(o===Tn||c===Tn)return uA;if(c===ls||o===ls)return Er;if([os,Xt,cs].indexOf(c)!==-1||o===XB||l===gs&&$B.indexOf(o)!==-1||o===Ct&&c===gs||c===bi||He.indexOf(c)!==-1&&o===se||He.indexOf(o)!==-1&&c===se||o===Yt&&[ar,Fr,yr].indexOf(c)!==-1||[ar,Fr,yr].indexOf(o)!==-1&&c===Jt||He.indexOf(o)!==-1&&Ii.indexOf(c)!==-1||Ii.indexOf(o)!==-1&&He.indexOf(c)!==-1||[Yt,Jt].indexOf(o)!==-1&&(c===se||[Vt,Xt].indexOf(c)!==-1&&A[a+1]===se)||[Vt,Xt].indexOf(o)!==-1&&c===se||o===se&&[se,Ct,wt].indexOf(c)!==-1)return uA;if([se,Ct,wt,vr,Ot].indexOf(c)!==-1)for(var u=s;u>=0;){var B=A[u];if(B===se)return uA;if([Ct,wt].indexOf(B)!==-1)u--;else break}if([Yt,Jt].indexOf(c)!==-1)for(var u=[vr,Ot].indexOf(o)!==-1?i:s;u>=0;){var B=A[u];if(B===se)return uA;if([Ct,wt].indexOf(B)!==-1)u--;else break}if(fs===o&&[fs,Gr,us,Bs].indexOf(c)!==-1||[Gr,us].indexOf(o)!==-1&&[Gr,Xr].indexOf(c)!==-1||[Xr,Bs].indexOf(o)!==-1&&c===Xr||Hi.indexOf(o)!==-1&&[bi,Jt].indexOf(c)!==-1||Hi.indexOf(c)!==-1&&o===Yt||He.indexOf(o)!==-1&&He.indexOf(c)!==-1||o===wt&&He.indexOf(c)!==-1||He.concat(se).indexOf(o)!==-1&&c===Vt&&ZB.indexOf(r[a])===-1||He.concat(se).indexOf(c)!==-1&&o===Ot)return uA;if(o===Ln&&c===Ln){for(var f=t[s],g=1;f>0&&(f--,A[f]===Ln);)g++;if(g%2!==0)return uA}return o===Fr&&c===yr?uA:Er},eg=function(r,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var t=qB(r,A.lineBreak),e=t[0],n=t[1],s=t[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(n=n.map(function(a){return[se,at,qa].indexOf(a)!==-1?ar:a}));var i=A.wordBreak==="keep-all"?s.map(function(a,o){return a&&r[o]>=19968&&r[o]<=40959}):void 0;return[e,n,i]},tg=function(){function r(A,t,e,n){this.codePoints=A,this.required=t===Ao,this.start=e,this.end=n}return r.prototype.slice=function(){return TA.apply(void 0,this.codePoints.slice(this.start,this.end))},r}(),rg=function(r,A){var t=gn(r),e=eg(t,A),n=e[0],s=e[1],i=e[2],a=t.length,o=0,l=0;return{next:function(){if(l>=a)return{done:!0,value:null};for(var c=uA;l=to&&r<=57},Mg=function(r){return r>=55296&&r<=57343},Qt=function(r){return Ae(r)||r>=so&&r<=ao||r>=ro&&r<=Tg},Og=function(r){return r>=ro&&r<=Dg},Vg=function(r){return r>=so&&r<=_g},kg=function(r){return Og(r)||Vg(r)},Rg=function(r){return r>=Ug},Sr=function(r){return r===Zr||r===ig||r===ag},jr=function(r){return kg(r)||Rg(r)||r===ug},Ki=function(r){return jr(r)||Ae(r)||r===ne},Ng=function(r){return r>=Eg&&r<=bg||r===Ig||r>=Hg&&r<=xg||r===Sg},Xe=function(r,A){return r!==qt?!1:A!==Zr},Tr=function(r,A,t){return r===ne?jr(A)||Xe(A,t):jr(r)?!0:!!(r===qt&&Xe(r,A))},_n=function(r,A,t){return r===ct||r===ne?Ae(A)?!0:A===or&&Ae(t):Ae(r===or?A:r)},Pg=function(r){var A=0,t=1;(r[A]===ct||r[A]===ne)&&(r[A]===ne&&(t=-1),A++);for(var e=[];Ae(r[A]);)e.push(r[A++]);var n=e.length?parseInt(TA.apply(void 0,e),10):0;r[A]===or&&A++;for(var s=[];Ae(r[A]);)s.push(r[A++]);var i=s.length,a=i?parseInt(TA.apply(void 0,s),10):0;(r[A]===io||r[A]===no)&&A++;var o=1;(r[A]===ct||r[A]===ne)&&(r[A]===ne&&(o=-1),A++);for(var l=[];Ae(r[A]);)l.push(r[A++]);var c=l.length?parseInt(TA.apply(void 0,l),10):0;return t*(n+a*Math.pow(10,-i))*Math.pow(10,o*c)},Gg={type:2},Xg={type:3},Jg={type:4},Yg={type:13},Wg={type:8},zg={type:21},Zg={type:9},jg={type:10},$g={type:11},qg={type:12},Af={type:14},Lr={type:23},ef={type:1},tf={type:25},rf={type:24},nf={type:26},sf={type:27},af={type:28},of={type:29},lf={type:31},ps={type:32},oo=function(){function r(){this._value=[]}return r.prototype.write=function(A){this._value=this._value.concat(gn(A))},r.prototype.read=function(){for(var A=[],t=this.consumeToken();t!==ps;)A.push(t),t=this.consumeToken();return A},r.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case br:return this.consumeStringToken(br);case og:var t=this.peekCodePoint(0),e=this.peekCodePoint(1),n=this.peekCodePoint(2);if(Ki(t)||Xe(e,n)){var s=Tr(t,e,n)?sg:ng,i=this.consumeName();return{type:5,value:i,flags:s}}break;case lg:if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),Yg;break;case Ir:return this.consumeStringToken(Ir);case Hr:return Gg;case Rt:return Xg;case Kn:if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),Af;break;case ct:if(_n(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case vg:return Jg;case ne:var a=A,o=this.peekCodePoint(0),l=this.peekCodePoint(1);if(_n(a,o,l))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(Tr(a,o,l))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(o===ne&&l===fg)return this.consumeCodePoint(),this.consumeCodePoint(),rf;break;case or:if(_n(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case Ti:if(this.peekCodePoint(0)===Kn)for(this.consumeCodePoint();;){var c=this.consumeCodePoint();if(c===Kn&&(c=this.consumeCodePoint(),c===Ti))return this.consumeToken();if(c===we)return this.consumeToken()}break;case Fg:return nf;case yg:return sf;case gg:if(this.peekCodePoint(0)===Bg&&this.peekCodePoint(1)===ne&&this.peekCodePoint(2)===ne)return this.consumeCodePoint(),this.consumeCodePoint(),tf;break;case dg:var u=this.peekCodePoint(0),B=this.peekCodePoint(1),f=this.peekCodePoint(2);if(Tr(u,B,f)){var i=this.consumeName();return{type:7,value:i}}break;case hg:return af;case qt:if(Xe(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case pg:return of;case wg:if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),Wg;break;case Cg:return $g;case Qg:return qg;case Lg:case Kg:var g=this.peekCodePoint(0),h=this.peekCodePoint(1);return g===ct&&(Qt(h)||h===xr)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Li:if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),Zg;if(this.peekCodePoint(0)===Li)return this.consumeCodePoint(),zg;break;case mg:if(this.peekCodePoint(0)===kt)return this.consumeCodePoint(),jg;break;case we:return ps}return Sr(A)?(this.consumeWhiteSpace(),lf):Ae(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):jr(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:TA(A)}},r.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},r.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},r.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},r.prototype.consumeUnicodeRangeToken=function(){for(var A=[],t=this.consumeCodePoint();Qt(t)&&A.length<6;)A.push(t),t=this.consumeCodePoint();for(var e=!1;t===xr&&A.length<6;)A.push(t),t=this.consumeCodePoint(),e=!0;if(e){var n=parseInt(TA.apply(void 0,A.map(function(o){return o===xr?to:o})),16),s=parseInt(TA.apply(void 0,A.map(function(o){return o===xr?ao:o})),16);return{type:30,start:n,end:s}}var i=parseInt(TA.apply(void 0,A),16);if(this.peekCodePoint(0)===ne&&Qt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var a=[];Qt(t)&&a.length<6;)a.push(t),t=this.consumeCodePoint();var s=parseInt(TA.apply(void 0,a),16);return{type:30,start:i,end:s}}else return{type:30,start:i,end:i}},r.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===Hr?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===Hr?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},r.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===we)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Ir||t===br){var e=this.consumeStringToken(this.consumeCodePoint());return e.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===we||this.peekCodePoint(0)===Rt)?(this.consumeCodePoint(),{type:22,value:e.value}):(this.consumeBadUrlRemnants(),Lr)}for(;;){var n=this.consumeCodePoint();if(n===we||n===Rt)return{type:22,value:TA.apply(void 0,A)};if(Sr(n))return this.consumeWhiteSpace(),this.peekCodePoint(0)===we||this.peekCodePoint(0)===Rt?(this.consumeCodePoint(),{type:22,value:TA.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Lr);if(n===br||n===Ir||n===Hr||Ng(n))return this.consumeBadUrlRemnants(),Lr;if(n===qt)if(Xe(n,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Lr;else A.push(n)}},r.prototype.consumeWhiteSpace=function(){for(;Sr(this.peekCodePoint(0));)this.consumeCodePoint()},r.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===Rt||A===we)return;Xe(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},r.prototype.consumeStringSlice=function(A){for(var t=5e4,e="";A>0;){var n=Math.min(t,A);e+=TA.apply(void 0,this._value.splice(0,n)),A-=n}return this._value.shift(),e},r.prototype.consumeStringToken=function(A){var t="",e=0;do{var n=this._value[e];if(n===we||n===void 0||n===A)return t+=this.consumeStringSlice(e),{type:0,value:t};if(n===Zr)return this._value.splice(0,e),ef;if(n===qt){var s=this._value[e+1];s!==we&&s!==void 0&&(s===Zr?(t+=this.consumeStringSlice(e),e=-1,this._value.shift()):Xe(n,s)&&(t+=this.consumeStringSlice(e),t+=TA(this.consumeEscapedCodePoint()),e=-1))}e++}while(!0)},r.prototype.consumeNumber=function(){var A=[],t=ur,e=this.peekCodePoint(0);for((e===ct||e===ne)&&A.push(this.consumeCodePoint());Ae(this.peekCodePoint(0));)A.push(this.consumeCodePoint());e=this.peekCodePoint(0);var n=this.peekCodePoint(1);if(e===or&&Ae(n))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Si;Ae(this.peekCodePoint(0));)A.push(this.consumeCodePoint());e=this.peekCodePoint(0),n=this.peekCodePoint(1);var s=this.peekCodePoint(2);if((e===io||e===no)&&((n===ct||n===ne)&&Ae(s)||Ae(n)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=Si;Ae(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[Pg(A),t]},r.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],e=A[1],n=this.peekCodePoint(0),s=this.peekCodePoint(1),i=this.peekCodePoint(2);if(Tr(n,s,i)){var a=this.consumeName();return{type:15,number:t,flags:e,unit:a}}return n===cg?(this.consumeCodePoint(),{type:16,number:t,flags:e}):{type:17,number:t,flags:e}},r.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(Qt(A)){for(var t=TA(A);Qt(this.peekCodePoint(0))&&t.length<6;)t+=TA(this.consumeCodePoint());Sr(this.peekCodePoint(0))&&this.consumeCodePoint();var e=parseInt(t,16);return e===0||Mg(e)||e>1114111?Di:e}return A===we?Di:A},r.prototype.consumeName=function(){for(var A="";;){var t=this.consumeCodePoint();if(Ki(t))A+=TA(t);else if(Xe(t,this.peekCodePoint(0)))A+=TA(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),A}},r}(),lo=function(){function r(A){this._tokens=A}return r.create=function(A){var t=new oo;return t.write(A),new r(t.read())},r.parseValue=function(A){return r.create(A).parseComponentValue()},r.parseValues=function(A){return r.create(A).parseComponentValues()},r.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},r.prototype.parseComponentValues=function(){for(var A=[];;){var t=this.consumeComponentValue();if(t.type===32)return A;A.push(t),A.push()}},r.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},r.prototype.consumeSimpleBlock=function(A){for(var t={type:A,values:[]},e=this.consumeToken();;){if(e.type===32||uf(e,A))return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue()),e=this.consumeToken()}},r.prototype.consumeFunction=function(A){for(var t={name:A.value,values:[],type:18};;){var e=this.consumeToken();if(e.type===32||e.type===3)return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue())}},r.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?ps:A},r.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},r}(),Br=function(r){return r.type===15},_t=function(r){return r.type===17},pA=function(r){return r.type===20},cf=function(r){return r.type===0},ws=function(r,A){return pA(r)&&r.value===A},co=function(r){return r.type!==31},Dt=function(r){return r.type!==31&&r.type!==4},Ue=function(r){var A=[],t=[];return r.forEach(function(e){if(e.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(t),t=[];return}e.type!==31&&t.push(e)}),t.length&&A.push(t),A},uf=function(r,A){return A===11&&r.type===12||A===28&&r.type===29?!0:A===2&&r.type===3},At=function(r){return r.type===17||r.type===15},_A=function(r){return r.type===16||At(r)},uo=function(r){return r.length>1?[r[0],r[1]]:[r[0]]},$A={type:17,number:0,flags:ur},Ms={type:16,number:50,flags:ur},Ye={type:16,number:100,flags:ur},Wt=function(r,A,t){var e=r[0],n=r[1];return[UA(e,A),UA(typeof n<"u"?n:e,t)]},UA=function(r,A){if(r.type===16)return r.number/100*A;if(Br(r))switch(r.unit){case"rem":case"em":return 16*r.number;case"px":default:return r.number}return r.number},Bo="deg",go="grad",fo="rad",ho="turn",fn={name:"angle",parse:function(r,A){if(A.type===15)switch(A.unit){case Bo:return Math.PI*A.number/180;case go:return Math.PI/200*A.number;case fo:return A.number;case ho:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},po=function(r){return r.type===15&&(r.unit===Bo||r.unit===go||r.unit===fo||r.unit===ho)},wo=function(r){var A=r.filter(pA).map(function(t){return t.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[$A,$A];case"to top":case"bottom":return ce(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[$A,Ye];case"to right":case"left":return ce(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ye,Ye];case"to bottom":case"top":return ce(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ye,$A];case"to left":case"right":return ce(270)}return 0},ce=function(r){return Math.PI*r/180},je={name:"color",parse:function(r,A){if(A.type===18){var t=Bf[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return t(r,A.values)}if(A.type===5){if(A.value.length===3){var e=A.value.substring(0,1),n=A.value.substring(1,2),s=A.value.substring(2,3);return We(parseInt(e+e,16),parseInt(n+n,16),parseInt(s+s,16),1)}if(A.value.length===4){var e=A.value.substring(0,1),n=A.value.substring(1,2),s=A.value.substring(2,3),i=A.value.substring(3,4);return We(parseInt(e+e,16),parseInt(n+n,16),parseInt(s+s,16),parseInt(i+i,16)/255)}if(A.value.length===6){var e=A.value.substring(0,2),n=A.value.substring(2,4),s=A.value.substring(4,6);return We(parseInt(e,16),parseInt(n,16),parseInt(s,16),1)}if(A.value.length===8){var e=A.value.substring(0,2),n=A.value.substring(2,4),s=A.value.substring(4,6),i=A.value.substring(6,8);return We(parseInt(e,16),parseInt(n,16),parseInt(s,16),parseInt(i,16)/255)}}if(A.type===20){var a=Le[A.value.toUpperCase()];if(typeof a<"u")return a}return Le.TRANSPARENT}},$e=function(r){return(255&r)===0},XA=function(r){var A=255&r,t=255&r>>8,e=255&r>>16,n=255&r>>24;return A<255?"rgba("+n+","+e+","+t+","+A/255+")":"rgb("+n+","+e+","+t+")"},We=function(r,A,t,e){return(r<<24|A<<16|t<<8|Math.round(e*255)<<0)>>>0},_i=function(r,A){if(r.type===17)return r.number;if(r.type===16){var t=A===3?1:255;return A===3?r.number/100*t:Math.round(r.number/100*t)}return 0},Mi=function(r,A){var t=A.filter(Dt);if(t.length===3){var e=t.map(_i),n=e[0],s=e[1],i=e[2];return We(n,s,i,1)}if(t.length===4){var a=t.map(_i),n=a[0],s=a[1],i=a[2],o=a[3];return We(n,s,i,o)}return 0};function Mn(r,A,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(A-r)*t*6+r:t<1/2?A:t<2/3?(A-r)*6*(2/3-t)+r:r}var Oi=function(r,A){var t=A.filter(Dt),e=t[0],n=t[1],s=t[2],i=t[3],a=(e.type===17?ce(e.number):fn.parse(r,e))/(Math.PI*2),o=_A(n)?n.number/100:0,l=_A(s)?s.number/100:0,c=typeof i<"u"&&_A(i)?UA(i,1):1;if(o===0)return We(l*255,l*255,l*255,1);var u=l<=.5?l*(o+1):l+o-l*o,B=l*2-u,f=Mn(B,u,a+1/3),g=Mn(B,u,a),h=Mn(B,u,a-1/3);return We(f*255,g*255,h*255,c)},Bf={hsl:Oi,hsla:Oi,rgb:Mi,rgba:Mi},Ar=function(r,A){return je.parse(r,lo.create(A).parseComponentValue())},Le={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},gf={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(r,A){return A.map(function(t){if(pA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ff={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},dn=function(r,A){var t=je.parse(r,A[0]),e=A[1];return e&&_A(e)?{color:t,stop:e}:{color:t,stop:null}},Vi=function(r,A){var t=r[0],e=r[r.length-1];t.stop===null&&(t.stop=$A),e.stop===null&&(e.stop=Ye);for(var n=[],s=0,i=0;is?n.push(o):n.push(s),s=o}else n.push(null)}for(var l=null,i=0;ii.optimumDistance)?{optimumCorner:a,optimumDistance:c}:i},{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},pf=function(r,A,t,e,n){var s=0,i=0;switch(r.size){case 0:r.shape===0?s=i=Math.min(Math.abs(A),Math.abs(A-e),Math.abs(t),Math.abs(t-n)):r.shape===1&&(s=Math.min(Math.abs(A),Math.abs(A-e)),i=Math.min(Math.abs(t),Math.abs(t-n)));break;case 2:if(r.shape===0)s=i=Math.min(de(A,t),de(A,t-n),de(A-e,t),de(A-e,t-n));else if(r.shape===1){var a=Math.min(Math.abs(t),Math.abs(t-n))/Math.min(Math.abs(A),Math.abs(A-e)),o=ki(e,n,A,t,!0),l=o[0],c=o[1];s=de(l-A,(c-t)/a),i=a*s}break;case 1:r.shape===0?s=i=Math.max(Math.abs(A),Math.abs(A-e),Math.abs(t),Math.abs(t-n)):r.shape===1&&(s=Math.max(Math.abs(A),Math.abs(A-e)),i=Math.max(Math.abs(t),Math.abs(t-n)));break;case 3:if(r.shape===0)s=i=Math.max(de(A,t),de(A,t-n),de(A-e,t),de(A-e,t-n));else if(r.shape===1){var a=Math.max(Math.abs(t),Math.abs(t-n))/Math.max(Math.abs(A),Math.abs(A-e)),u=ki(e,n,A,t,!1),l=u[0],c=u[1];s=de(l-A,(c-t)/a),i=a*s}break}return Array.isArray(r.size)&&(s=UA(r.size[0],e),i=r.size.length===2?UA(r.size[1],n):s),[s,i]},wf=function(r,A){var t=ce(180),e=[];return Ue(A).forEach(function(n,s){if(s===0){var i=n[0];if(i.type===20&&i.value==="to"){t=wo(n);return}else if(po(i)){t=fn.parse(r,i);return}}var a=dn(r,n);e.push(a)}),{angle:t,stops:e,type:1}},Dr=function(r,A){var t=ce(180),e=[];return Ue(A).forEach(function(n,s){if(s===0){var i=n[0];if(i.type===20&&["top","left","right","bottom"].indexOf(i.value)!==-1){t=wo(n);return}else if(po(i)){t=(fn.parse(r,i)+ce(270))%ce(360);return}}var a=dn(r,n);e.push(a)}),{angle:t,stops:e,type:1}},Cf=function(r,A){var t=ce(180),e=[],n=1,s=0,i=3,a=[];return Ue(A).forEach(function(o,l){var c=o[0];if(l===0){if(pA(c)&&c.value==="linear"){n=1;return}else if(pA(c)&&c.value==="radial"){n=2;return}}if(c.type===18){if(c.name==="from"){var u=je.parse(r,c.values[0]);e.push({stop:$A,color:u})}else if(c.name==="to"){var u=je.parse(r,c.values[0]);e.push({stop:Ye,color:u})}else if(c.name==="color-stop"){var B=c.values.filter(Dt);if(B.length===2){var u=je.parse(r,B[1]),f=B[0];_t(f)&&e.push({stop:{type:16,number:f.number*100,flags:f.flags},color:u})}}}}),n===1?{angle:(t+ce(180))%ce(360),stops:e,type:n}:{size:i,shape:s,stops:e,position:a,type:n}},Co="closest-side",Qo="farthest-side",mo="closest-corner",Uo="farthest-corner",vo="circle",Fo="ellipse",yo="cover",Eo="contain",Qf=function(r,A){var t=0,e=3,n=[],s=[];return Ue(A).forEach(function(i,a){var o=!0;if(a===0){var l=!1;o=i.reduce(function(u,B){if(l)if(pA(B))switch(B.value){case"center":return s.push(Ms),u;case"top":case"left":return s.push($A),u;case"right":case"bottom":return s.push(Ye),u}else(_A(B)||At(B))&&s.push(B);else if(pA(B))switch(B.value){case vo:return t=0,!1;case Fo:return t=1,!1;case"at":return l=!0,!1;case Co:return e=0,!1;case yo:case Qo:return e=1,!1;case Eo:case mo:return e=2,!1;case Uo:return e=3,!1}else if(At(B)||_A(B))return Array.isArray(e)||(e=[]),e.push(B),!1;return u},o)}if(o){var c=dn(r,i);n.push(c)}}),{size:e,shape:t,stops:n,position:s,type:2}},Kr=function(r,A){var t=0,e=3,n=[],s=[];return Ue(A).forEach(function(i,a){var o=!0;if(a===0?o=i.reduce(function(c,u){if(pA(u))switch(u.value){case"center":return s.push(Ms),!1;case"top":case"left":return s.push($A),!1;case"right":case"bottom":return s.push(Ye),!1}else if(_A(u)||At(u))return s.push(u),!1;return c},o):a===1&&(o=i.reduce(function(c,u){if(pA(u))switch(u.value){case vo:return t=0,!1;case Fo:return t=1,!1;case Eo:case Co:return e=0,!1;case Qo:return e=1,!1;case mo:return e=2,!1;case yo:case Uo:return e=3,!1}else if(At(u)||_A(u))return Array.isArray(e)||(e=[]),e.push(u),!1;return c},o)),o){var l=dn(r,i);n.push(l)}}),{size:e,shape:t,stops:n,position:s,type:2}},mf=function(r){return r.type===1},Uf=function(r){return r.type===2},Os={name:"image",parse:function(r,A){if(A.type===22){var t={url:A.value,type:0};return r.cache.addImage(A.value),t}if(A.type===18){var e=bo[A.name];if(typeof e>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return e(r,A.values)}throw new Error("Unsupported image type "+A.type)}};function vf(r){return!(r.type===20&&r.value==="none")&&(r.type!==18||!!bo[r.name])}var bo={"linear-gradient":wf,"-moz-linear-gradient":Dr,"-ms-linear-gradient":Dr,"-o-linear-gradient":Dr,"-webkit-linear-gradient":Dr,"radial-gradient":Qf,"-moz-radial-gradient":Kr,"-ms-radial-gradient":Kr,"-o-radial-gradient":Kr,"-webkit-radial-gradient":Kr,"-webkit-gradient":Cf},Ff={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(r,A){if(A.length===0)return[];var t=A[0];return t.type===20&&t.value==="none"?[]:A.filter(function(e){return Dt(e)&&vf(e)}).map(function(e){return Os.parse(r,e)})}},yf={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(r,A){return A.map(function(t){if(pA(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},Ef={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(r,A){return Ue(A).map(function(t){return t.filter(_A)}).map(uo)}},bf={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(r,A){return Ue(A).map(function(t){return t.filter(pA).map(function(e){return e.value}).join(" ")}).map(If)}},If=function(r){switch(r){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},St;(function(r){r.AUTO="auto",r.CONTAIN="contain",r.COVER="cover"})(St||(St={}));var Hf={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(r,A){return Ue(A).map(function(t){return t.filter(xf)})}},xf=function(r){return pA(r)||_A(r)},hn=function(r){return{name:"border-"+r+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Sf=hn("top"),Tf=hn("right"),Lf=hn("bottom"),Df=hn("left"),pn=function(r){return{name:"border-radius-"+r,initialValue:"0 0",prefix:!1,type:1,parse:function(A,t){return uo(t.filter(_A))}}},Kf=pn("top-left"),_f=pn("top-right"),Mf=pn("bottom-right"),Of=pn("bottom-left"),wn=function(r){return{name:"border-"+r+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},Vf=wn("top"),kf=wn("right"),Rf=wn("bottom"),Nf=wn("left"),Cn=function(r){return{name:"border-"+r+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return Br(t)?t.number:0}}},Pf=Cn("top"),Gf=Cn("right"),Xf=Cn("bottom"),Jf=Cn("left"),Yf={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Wf={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(r,A){switch(A){case"rtl":return 1;case"ltr":default:return 0}}},zf={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(r,A){return A.filter(pA).reduce(function(t,e){return t|Zf(e.value)},0)}},Zf=function(r){switch(r){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},jf={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(r,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},$f={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(r,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},$r;(function(r){r.NORMAL="normal",r.STRICT="strict"})($r||($r={}));var qf={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(r,A){switch(A){case"strict":return $r.STRICT;case"normal":default:return $r.NORMAL}}},Ad={name:"line-height",initialValue:"normal",prefix:!1,type:4},Ri=function(r,A){return pA(r)&&r.value==="normal"?1.2*A:r.type===17?A*r.number:_A(r)?UA(r,A):A},ed={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(r,A){return A.type===20&&A.value==="none"?null:Os.parse(r,A)}},td={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(r,A){switch(A){case"inside":return 0;case"outside":default:return 1}}},Cs={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(r,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},Qn=function(r){return{name:"margin-"+r,initialValue:"0",prefix:!1,type:4}},rd=Qn("top"),nd=Qn("right"),sd=Qn("bottom"),id=Qn("left"),ad={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(r,A){return A.filter(pA).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},od={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(r,A){switch(A){case"break-word":return"break-word";case"normal":default:return"normal"}}},mn=function(r){return{name:"padding-"+r,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},ld=mn("top"),cd=mn("right"),ud=mn("bottom"),Bd=mn("left"),gd={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(r,A){switch(A){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},fd={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(r,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},dd={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(r,A){return A.length===1&&ws(A[0],"none")?[]:Ue(A).map(function(t){for(var e={color:Le.TRANSPARENT,offsetX:$A,offsetY:$A,blur:$A},n=0,s=0;s"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return t(A.values)}return null}},wd=function(r){var A=r.filter(function(t){return t.type===17}).map(function(t){return t.number});return A.length===6?A:null},Cd=function(r){var A=r.filter(function(o){return o.type===17}).map(function(o){return o.number}),t=A[0],e=A[1];A[2],A[3];var n=A[4],s=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var i=A[12],a=A[13];return A[14],A[15],A.length===16?[t,e,n,s,i,a]:null},Qd={matrix:wd,matrix3d:Cd},Ni={type:16,number:50,flags:ur},md=[Ni,Ni],Ud={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(r,A){var t=A.filter(_A);return t.length!==2?md:[t[0],t[1]]}},vd={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(r,A){switch(A){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},er;(function(r){r.NORMAL="normal",r.BREAK_ALL="break-all",r.KEEP_ALL="keep-all"})(er||(er={}));var Fd={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(r,A){switch(A){case"break-all":return er.BREAK_ALL;case"keep-all":return er.KEEP_ALL;case"normal":default:return er.NORMAL}}},yd={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(r,A){if(A.type===20)return{auto:!0,order:0};if(_t(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},Io={name:"time",parse:function(r,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},Ed={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(r,A){return _t(A)?A.number:1}},bd={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Id={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(r,A){return A.filter(pA).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},Hd={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(r,A){var t=[],e=[];return A.forEach(function(n){switch(n.type){case 20:case 0:t.push(n.value);break;case 17:t.push(n.number.toString());break;case 4:e.push(t.join(" ")),t.length=0;break}}),t.length&&e.push(t.join(" ")),e.map(function(n){return n.indexOf(" ")===-1?n:"'"+n+"'"})}},xd={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Sd={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(r,A){if(_t(A))return A.number;if(pA(A))switch(A.value){case"bold":return 700;case"normal":default:return 400}return 400}},Td={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(r,A){return A.filter(pA).map(function(t){return t.value})}},Ld={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(r,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},NA=function(r,A){return(r&A)!==0},Dd={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(r,A){if(A.length===0)return[];var t=A[0];return t.type===20&&t.value==="none"?[]:A}},Kd={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(r,A){if(A.length===0)return null;var t=A[0];if(t.type===20&&t.value==="none")return null;for(var e=[],n=A.filter(co),s=0;s1?1:0],this.overflowWrap=G(A,od,t.overflowWrap),this.paddingTop=G(A,ld,t.paddingTop),this.paddingRight=G(A,cd,t.paddingRight),this.paddingBottom=G(A,ud,t.paddingBottom),this.paddingLeft=G(A,Bd,t.paddingLeft),this.paintOrder=G(A,kd,t.paintOrder),this.position=G(A,fd,t.position),this.textAlign=G(A,gd,t.textAlign),this.textDecorationColor=G(A,bd,(e=t.textDecorationColor)!==null&&e!==void 0?e:t.color),this.textDecorationLine=G(A,Id,(n=t.textDecorationLine)!==null&&n!==void 0?n:t.textDecoration),this.textShadow=G(A,dd,t.textShadow),this.textTransform=G(A,hd,t.textTransform),this.transform=G(A,pd,t.transform),this.transformOrigin=G(A,Ud,t.transformOrigin),this.visibility=G(A,vd,t.visibility),this.webkitTextStrokeColor=G(A,Rd,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=G(A,Nd,t.webkitTextStrokeWidth),this.wordBreak=G(A,Fd,t.wordBreak),this.zIndex=G(A,yd,t.zIndex)}return r.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},r.prototype.isTransparent=function(){return $e(this.backgroundColor)},r.prototype.isTransformed=function(){return this.transform!==null},r.prototype.isPositioned=function(){return this.position!==0},r.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},r.prototype.isFloating=function(){return this.float!==0},r.prototype.isInlineLevel=function(){return NA(this.display,4)||NA(this.display,33554432)||NA(this.display,268435456)||NA(this.display,536870912)||NA(this.display,67108864)||NA(this.display,134217728)},r}(),Gd=function(){function r(A,t){this.content=G(A,Dd,t.content),this.quotes=G(A,Od,t.quotes)}return r}(),Gi=function(){function r(A,t){this.counterIncrement=G(A,Kd,t.counterIncrement),this.counterReset=G(A,_d,t.counterReset)}return r}(),G=function(r,A,t){var e=new oo,n=t!==null&&typeof t<"u"?t.toString():A.initialValue;e.write(n);var s=new lo(e.read());switch(A.type){case 2:var i=s.parseComponentValue();return A.parse(r,pA(i)?i.value:A.initialValue);case 0:return A.parse(r,s.parseComponentValue());case 1:return A.parse(r,s.parseComponentValues());case 4:return s.parseComponentValue();case 3:switch(A.format){case"angle":return fn.parse(r,s.parseComponentValue());case"color":return je.parse(r,s.parseComponentValue());case"image":return Os.parse(r,s.parseComponentValue());case"length":var a=s.parseComponentValue();return At(a)?a:$A;case"length-percentage":var o=s.parseComponentValue();return _A(o)?o:$A;case"time":return Io.parse(r,s.parseComponentValue())}break}},Xd="data-html2canvas-debug",Jd=function(r){var A=r.getAttribute(Xd);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Qs=function(r,A){var t=Jd(r);return t===1||A===t},ve=function(){function r(A,t){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Qs(t,3))debugger;this.styles=new Pd(A,window.getComputedStyle(t,null)),vs(t)&&(this.styles.animationDuration.some(function(e){return e>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=Bn(this.context,t),Qs(t,4)&&(this.flags|=16)}return r}(),Yd="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Xi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",zt=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(var _r=0;_r>4,c[n++]=(i&15)<<4|a>>2,c[n++]=(a&3)<<6|o&63;return l},zd=function(r){for(var A=r.length,t=[],e=0;e>gt,$d=1<>gt,Ah=Ho+qd,eh=Ah,th=32,rh=eh+th,nh=65536>>Vs,sh=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>gt],t=(t<>gt)],t=(t<>Vs),t=this.index[t],t+=A>>gt&ih,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256);for(var Mr=0;Mr=55296&&n<=56319&&t>10)+55296,i%1024+56320)),(n+1===t||e.length>16384)&&(s+=String.fromCharCode.apply(String,e),e.length=0)}return s},dh=oh(Yd),oe="×",Xn="÷",hh=function(r){return dh.get(r)},ph=function(r,A,t){var e=t-2,n=A[e],s=A[t-1],i=A[t];if(s===kn&&i===Rn)return oe;if(s===kn||s===Rn||s===Wi||i===kn||i===Rn||i===Wi)return Xn;if(s===Zi&&[Zi,Nn,ji,$i].indexOf(i)!==-1||(s===ji||s===Nn)&&(i===Nn||i===Pn)||(s===$i||s===Pn)&&i===Pn||i===qi||i===zi||i===Bh||s===uh)return oe;if(s===qi&&i===Aa){for(;n===zi;)n=A[--e];if(n===Aa)return oe}if(s===Gn&&i===Gn){for(var a=0;n===Gn;)a++,n=A[--e];if(a%2===0)return oe}return Xn},wh=function(r){var A=gh(r),t=A.length,e=0,n=0,s=A.map(hh);return{next:function(){if(e>=t)return{done:!0,value:null};for(var i=oe;ei.x||c.y>i.y;return i=c,l===0?!0:u});return r.body.removeChild(A),a},Uh=function(){return typeof new Image().crossOrigin<"u"},vh=function(){return typeof new XMLHttpRequest().responseType=="string"},Fh=function(r){var A=new Image,t=r.createElement("canvas"),e=t.getContext("2d");if(!e)return!1;A.src="data:image/svg+xml,";try{e.drawImage(A,0,0),t.toDataURL()}catch{return!1}return!0},ea=function(r){return r[0]===0&&r[1]===255&&r[2]===0&&r[3]===255},yh=function(r){var A=r.createElement("canvas"),t=100;A.width=t,A.height=t;var e=A.getContext("2d");if(!e)return Promise.reject(!1);e.fillStyle="rgb(0, 255, 0)",e.fillRect(0,0,t,t);var n=new Image,s=A.toDataURL();n.src=s;var i=ms(t,t,0,0,n);return e.fillStyle="red",e.fillRect(0,0,t,t),ta(i).then(function(a){e.drawImage(a,0,0);var o=e.getImageData(0,0,t,t).data;e.fillStyle="red",e.fillRect(0,0,t,t);var l=r.createElement("div");return l.style.backgroundImage="url("+s+")",l.style.height=t+"px",ea(o)?ta(ms(t,t,0,0,l)):Promise.reject(!1)}).then(function(a){return e.drawImage(a,0,0),ea(e.getImageData(0,0,t,t).data)}).catch(function(){return!1})},ms=function(r,A,t,e,n){var s="http://www.w3.org/2000/svg",i=document.createElementNS(s,"svg"),a=document.createElementNS(s,"foreignObject");return i.setAttributeNS(null,"width",r.toString()),i.setAttributeNS(null,"height",A.toString()),a.setAttributeNS(null,"width","100%"),a.setAttributeNS(null,"height","100%"),a.setAttributeNS(null,"x",t.toString()),a.setAttributeNS(null,"y",e.toString()),a.setAttributeNS(null,"externalResourcesRequired","true"),i.appendChild(a),a.appendChild(n),i},ta=function(r){return new Promise(function(A,t){var e=new Image;e.onload=function(){return A(e)},e.onerror=t,e.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(r))})},jA={get SUPPORT_RANGE_BOUNDS(){var r=Qh(document);return Object.defineProperty(jA,"SUPPORT_RANGE_BOUNDS",{value:r}),r},get SUPPORT_WORD_BREAKING(){var r=jA.SUPPORT_RANGE_BOUNDS&&mh(document);return Object.defineProperty(jA,"SUPPORT_WORD_BREAKING",{value:r}),r},get SUPPORT_SVG_DRAWING(){var r=Fh(document);return Object.defineProperty(jA,"SUPPORT_SVG_DRAWING",{value:r}),r},get SUPPORT_FOREIGNOBJECT_DRAWING(){var r=typeof Array.from=="function"&&typeof window.fetch=="function"?yh(document):Promise.resolve(!1);return Object.defineProperty(jA,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:r}),r},get SUPPORT_CORS_IMAGES(){var r=Uh();return Object.defineProperty(jA,"SUPPORT_CORS_IMAGES",{value:r}),r},get SUPPORT_RESPONSE_TYPE(){var r=vh();return Object.defineProperty(jA,"SUPPORT_RESPONSE_TYPE",{value:r}),r},get SUPPORT_CORS_XHR(){var r="withCredentials"in new XMLHttpRequest;return Object.defineProperty(jA,"SUPPORT_CORS_XHR",{value:r}),r},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var r=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(jA,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:r}),r}},tr=function(){function r(A,t){this.text=A,this.bounds=t}return r}(),Eh=function(r,A,t,e){var n=Hh(A,t),s=[],i=0;return n.forEach(function(a){if(t.textDecorationLine.length||a.trim().length>0)if(jA.SUPPORT_RANGE_BOUNDS){var o=ra(e,i,a.length).getClientRects();if(o.length>1){var l=ks(a),c=0;l.forEach(function(B){s.push(new tr(B,De.fromDOMRectList(r,ra(e,c+i,B.length).getClientRects()))),c+=B.length})}else s.push(new tr(a,De.fromDOMRectList(r,o)))}else{var u=e.splitText(a.length);s.push(new tr(a,bh(r,e))),e=u}else jA.SUPPORT_RANGE_BOUNDS||(e=e.splitText(a.length));i+=a.length}),s},bh=function(r,A){var t=A.ownerDocument;if(t){var e=t.createElement("html2canvaswrapper");e.appendChild(A.cloneNode(!0));var n=A.parentNode;if(n){n.replaceChild(e,A);var s=Bn(r,e);return e.firstChild&&n.replaceChild(e.firstChild,e),s}}return De.EMPTY},ra=function(r,A,t){var e=r.ownerDocument;if(!e)throw new Error("Node has no owner document");var n=e.createRange();return n.setStart(r,A),n.setEnd(r,A+t),n},ks=function(r){if(jA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(r)).map(function(t){return t.segment})}return Ch(r)},Ih=function(r,A){if(jA.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(r)).map(function(e){return e.segment})}return Sh(r,A)},Hh=function(r,A){return A.letterSpacing!==0?ks(r):Ih(r,A)},xh=[32,160,4961,65792,65793,4153,4241],Sh=function(r,A){for(var t=rg(r,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),e=[],n,s=function(){if(n.value){var i=n.value.slice(),a=gn(i),o="";a.forEach(function(l){xh.indexOf(l)===-1?o+=TA(l):(o.length&&e.push(o),e.push(TA(l)),o="")}),o.length&&e.push(o)}};!(n=t.next()).done;)s();return e},Th=function(){function r(A,t,e){this.text=Lh(t.data,e.textTransform),this.textBounds=Eh(A,this.text,e,t)}return r}(),Lh=function(r,A){switch(A){case 1:return r.toLowerCase();case 3:return r.replace(Dh,Kh);case 2:return r.toUpperCase();default:return r}},Dh=/(^|\s|:|-|\(|\))([a-z])/g,Kh=function(r,A,t){return r.length>0?A+t.toUpperCase():r},xo=function(r){pe(A,r);function A(t,e){var n=r.call(this,t,e)||this;return n.src=e.currentSrc||e.src,n.intrinsicWidth=e.naturalWidth,n.intrinsicHeight=e.naturalHeight,n.context.cache.addImage(n.src),n}return A}(ve),So=function(r){pe(A,r);function A(t,e){var n=r.call(this,t,e)||this;return n.canvas=e,n.intrinsicWidth=e.width,n.intrinsicHeight=e.height,n}return A}(ve),To=function(r){pe(A,r);function A(t,e){var n=r.call(this,t,e)||this,s=new XMLSerializer,i=Bn(t,e);return e.setAttribute("width",i.width+"px"),e.setAttribute("height",i.height+"px"),n.svg="data:image/svg+xml,"+encodeURIComponent(s.serializeToString(e)),n.intrinsicWidth=e.width.baseVal.value,n.intrinsicHeight=e.height.baseVal.value,n.context.cache.addImage(n.svg),n}return A}(ve),Lo=function(r){pe(A,r);function A(t,e){var n=r.call(this,t,e)||this;return n.value=e.value,n}return A}(ve),Us=function(r){pe(A,r);function A(t,e){var n=r.call(this,t,e)||this;return n.start=e.start,n.reversed=typeof e.reversed=="boolean"&&e.reversed===!0,n}return A}(ve),_h=[{type:15,flags:0,unit:"px",number:3}],Mh=[{type:16,flags:0,number:50}],Oh=function(r){return r.width>r.height?new De(r.left+(r.width-r.height)/2,r.top,r.height,r.height):r.width0)t.textNodes.push(new Th(r,n,t.styles));else if(It(n))if(Po(n)&&n.assignedNodes)n.assignedNodes().forEach(function(a){return Jr(r,a,t,e)});else{var i=Mo(r,n);i.styles.isVisible()&&(Nh(n,i,e)?i.flags|=4:Ph(i.styles)&&(i.flags|=2),Rh.indexOf(n.tagName)!==-1&&(i.flags|=8),t.elements.push(i),n.slot,n.shadowRoot?Jr(r,n.shadowRoot,i,e):!en(n)&&!ko(n)&&!tn(n)&&Jr(r,n,i,e))}},Mo=function(r,A){return Fs(A)?new xo(r,A):Ro(A)?new So(r,A):ko(A)?new To(r,A):Gh(A)?new Lo(r,A):Xh(A)?new Us(r,A):Jh(A)?new Rs(r,A):tn(A)?new Do(r,A):en(A)?new Ko(r,A):No(A)?new _o(r,A):new ve(r,A)},Oo=function(r,A){var t=Mo(r,A);return t.flags|=4,Jr(r,A,t,t),t},Nh=function(r,A,t){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Ns(r)&&t.styles.isTransparent()},Ph=function(r){return r.isPositioned()||r.isFloating()},Vo=function(r){return r.nodeType===Node.TEXT_NODE},It=function(r){return r.nodeType===Node.ELEMENT_NODE},vs=function(r){return It(r)&&typeof r.style<"u"&&!Yr(r)},Yr=function(r){return typeof r.className=="object"},Gh=function(r){return r.tagName==="LI"},Xh=function(r){return r.tagName==="OL"},Jh=function(r){return r.tagName==="INPUT"},Yh=function(r){return r.tagName==="HTML"},ko=function(r){return r.tagName==="svg"},Ns=function(r){return r.tagName==="BODY"},Ro=function(r){return r.tagName==="CANVAS"},sa=function(r){return r.tagName==="VIDEO"},Fs=function(r){return r.tagName==="IMG"},No=function(r){return r.tagName==="IFRAME"},ia=function(r){return r.tagName==="STYLE"},Wh=function(r){return r.tagName==="SCRIPT"},en=function(r){return r.tagName==="TEXTAREA"},tn=function(r){return r.tagName==="SELECT"},Po=function(r){return r.tagName==="SLOT"},aa=function(r){return r.tagName.indexOf("-")>0},zh=function(){function r(){this.counters={}}return r.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},r.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},r.prototype.pop=function(A){var t=this;A.forEach(function(e){return t.counters[e].pop()})},r.prototype.parse=function(A){var t=this,e=A.counterIncrement,n=A.counterReset,s=!0;e!==null&&e.forEach(function(a){var o=t.counters[a.counter];o&&a.increment!==0&&(s=!1,o.length||o.push(1),o[Math.max(0,o.length-1)]+=a.increment)});var i=[];return s&&n.forEach(function(a){var o=t.counters[a.counter];i.push(a.counter),o||(o=t.counters[a.counter]=[]),o.push(a.reset)}),i},r}(),oa={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},la={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},Zh={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},jh={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},mt=function(r,A,t,e,n,s){return rt?lr(r,n,s.length>0):e.integers.reduce(function(i,a,o){for(;r>=a;)r-=a,i+=e.values[o];return i},"")+s},Go=function(r,A,t,e){var n="";do t||r--,n=e(r)+n,r/=A;while(r*A>=A);return n},SA=function(r,A,t,e,n){var s=t-A+1;return(r<0?"-":"")+(Go(Math.abs(r),s,e,function(i){return TA(Math.floor(i%s)+A)})+n)},it=function(r,A,t){t===void 0&&(t=". ");var e=A.length;return Go(Math.abs(r),e,!1,function(n){return A[Math.floor(n%e)]})+t},yt=1,Ne=2,Pe=4,Zt=8,xe=function(r,A,t,e,n,s){if(r<-9999||r>9999)return lr(r,4,n.length>0);var i=Math.abs(r),a=n;if(i===0)return A[0]+a;for(var o=0;i>0&&o<=4;o++){var l=i%10;l===0&&NA(s,yt)&&a!==""?a=A[l]+a:l>1||l===1&&o===0||l===1&&o===1&&NA(s,Ne)||l===1&&o===1&&NA(s,Pe)&&r>100||l===1&&o>1&&NA(s,Zt)?a=A[l]+(o>0?t[o-1]:"")+a:l===1&&o>0&&(a=t[o-1]+a),i=Math.floor(i/10)}return(r<0?e:"")+a},ca="十百千萬",ua="拾佰仟萬",Ba="マイナス",Jn="마이너스",lr=function(r,A,t){var e=t?". ":"",n=t?"、":"",s=t?", ":"",i=t?" ":"";switch(A){case 0:return"•"+i;case 1:return"◦"+i;case 2:return"◾"+i;case 5:var a=SA(r,48,57,!0,e);return a.length<4?"0"+a:a;case 4:return it(r,"〇一二三四五六七八九",n);case 6:return mt(r,1,3999,oa,3,e).toLowerCase();case 7:return mt(r,1,3999,oa,3,e);case 8:return SA(r,945,969,!1,e);case 9:return SA(r,97,122,!1,e);case 10:return SA(r,65,90,!1,e);case 11:return SA(r,1632,1641,!0,e);case 12:case 49:return mt(r,1,9999,la,3,e);case 35:return mt(r,1,9999,la,3,e).toLowerCase();case 13:return SA(r,2534,2543,!0,e);case 14:case 30:return SA(r,6112,6121,!0,e);case 15:return it(r,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return it(r,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return xe(r,"零一二三四五六七八九",ca,"負",n,Ne|Pe|Zt);case 47:return xe(r,"零壹貳參肆伍陸柒捌玖",ua,"負",n,yt|Ne|Pe|Zt);case 42:return xe(r,"零一二三四五六七八九",ca,"负",n,Ne|Pe|Zt);case 41:return xe(r,"零壹贰叁肆伍陆柒捌玖",ua,"负",n,yt|Ne|Pe|Zt);case 26:return xe(r,"〇一二三四五六七八九","十百千万",Ba,n,0);case 25:return xe(r,"零壱弐参四伍六七八九","拾百千万",Ba,n,yt|Ne|Pe);case 31:return xe(r,"영일이삼사오육칠팔구","십백천만",Jn,s,yt|Ne|Pe);case 33:return xe(r,"零一二三四五六七八九","十百千萬",Jn,s,0);case 32:return xe(r,"零壹貳參四五六七八九","拾百千",Jn,s,yt|Ne|Pe);case 18:return SA(r,2406,2415,!0,e);case 20:return mt(r,1,19999,jh,3,e);case 21:return SA(r,2790,2799,!0,e);case 22:return SA(r,2662,2671,!0,e);case 22:return mt(r,1,10999,Zh,3,e);case 23:return it(r,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return it(r,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return SA(r,3302,3311,!0,e);case 28:return it(r,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return it(r,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return SA(r,3792,3801,!0,e);case 37:return SA(r,6160,6169,!0,e);case 38:return SA(r,4160,4169,!0,e);case 39:return SA(r,2918,2927,!0,e);case 40:return SA(r,1776,1785,!0,e);case 43:return SA(r,3046,3055,!0,e);case 44:return SA(r,3174,3183,!0,e);case 45:return SA(r,3664,3673,!0,e);case 46:return SA(r,3872,3881,!0,e);case 3:default:return SA(r,48,57,!0,e)}},Xo="data-html2canvas-ignore",ga=function(){function r(A,t,e){if(this.context=A,this.options=e,this.scrolledElements=[],this.referenceElement=t,this.counters=new zh,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return r.prototype.toIFrame=function(A,t){var e=this,n=$h(A,t);if(!n.contentWindow)return Promise.reject("Unable to find iframe window");var s=A.defaultView.pageXOffset,i=A.defaultView.pageYOffset,a=n.contentWindow,o=a.document,l=ep(n).then(function(){return ee(e,void 0,void 0,function(){var c,u;return qA(this,function(B){switch(B.label){case 0:return this.scrolledElements.forEach(sp),a&&(a.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(a.scrollY!==t.top||a.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-t.left,a.scrollY-t.top,0,0))),c=this.options.onclone,u=this.clonedReferenceElement,typeof u>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:o.fonts&&o.fonts.ready?[4,o.fonts.ready]:[3,2];case 1:B.sent(),B.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Ap(o)]:[3,4];case 3:B.sent(),B.label=4;case 4:return typeof c=="function"?[2,Promise.resolve().then(function(){return c(o,u)}).then(function(){return n})]:[2,n]}})})});return o.open(),o.write(rp(document.doctype)+""),np(this.referenceElement.ownerDocument,s,i),o.replaceChild(o.adoptNode(this.documentElement),o.documentElement),o.close(),l},r.prototype.createElementClone=function(A){if(Qs(A,2))debugger;if(Ro(A))return this.createCanvasClone(A);if(sa(A))return this.createVideoClone(A);if(ia(A))return this.createStyleClone(A);var t=A.cloneNode(!1);return Fs(t)&&(Fs(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),aa(t)?this.createCustomElementClone(t):t},r.prototype.createCustomElementClone=function(A){var t=document.createElement("html2canvascustomelement");return Yn(A.style,t),t},r.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var e=[].slice.call(t.cssRules,0).reduce(function(s,i){return i&&typeof i.cssText=="string"?s+i.cssText:s},""),n=A.cloneNode(!1);return n.textContent=e,n}}catch(s){if(this.context.logger.error("Unable to access cssRules property",s),s.name!=="SecurityError")throw s}return A.cloneNode(!1)},r.prototype.createCanvasClone=function(A){var t;if(this.options.inlineImages&&A.ownerDocument){var e=A.ownerDocument.createElement("img");try{return e.src=A.toDataURL(),e}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var n=A.cloneNode(!1);try{n.width=A.width,n.height=A.height;var s=A.getContext("2d"),i=n.getContext("2d");if(i)if(!this.options.allowTaint&&s)i.putImageData(s.getImageData(0,0,A.width,A.height),0,0);else{var a=(t=A.getContext("webgl2"))!==null&&t!==void 0?t:A.getContext("webgl");if(a){var o=a.getContextAttributes();(o==null?void 0:o.preserveDrawingBuffer)===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}i.drawImage(A,0,0)}return n}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return n},r.prototype.createVideoClone=function(A){var t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;var e=t.getContext("2d");try{return e&&(e.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||e.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var n=A.ownerDocument.createElement("canvas");return n.width=A.offsetWidth,n.height=A.offsetHeight,n},r.prototype.appendChildNode=function(A,t,e){(!It(t)||!Wh(t)&&!t.hasAttribute(Xo)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!It(t)||!ia(t))&&A.appendChild(this.cloneNode(t,e))},r.prototype.cloneChildNodes=function(A,t,e){for(var n=this,s=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;s;s=s.nextSibling)if(It(s)&&Po(s)&&typeof s.assignedNodes=="function"){var i=s.assignedNodes();i.length&&i.forEach(function(a){return n.appendChildNode(t,a,e)})}else this.appendChildNode(t,s,e)},r.prototype.cloneNode=function(A,t){if(Vo(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var e=A.ownerDocument.defaultView;if(e&&It(A)&&(vs(A)||Yr(A))){var n=this.createElementClone(A);n.style.transitionProperty="none";var s=e.getComputedStyle(A),i=e.getComputedStyle(A,":before"),a=e.getComputedStyle(A,":after");this.referenceElement===A&&vs(n)&&(this.clonedReferenceElement=n),Ns(n)&&op(n);var o=this.counters.parse(new Gi(this.context,s)),l=this.resolvePseudoContent(A,n,i,rr.BEFORE);aa(A)&&(t=!0),sa(A)||this.cloneChildNodes(A,n,t),l&&n.insertBefore(l,n.firstChild);var c=this.resolvePseudoContent(A,n,a,rr.AFTER);return c&&n.appendChild(c),this.counters.pop(o),(s&&(this.options.copyStyles||Yr(A))&&!No(A)||t)&&Yn(s,n),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([n,A.scrollLeft,A.scrollTop]),(en(A)||tn(A))&&(en(n)||tn(n))&&(n.value=A.value),n}return A.cloneNode(!1)},r.prototype.resolvePseudoContent=function(A,t,e,n){var s=this;if(e){var i=e.content,a=t.ownerDocument;if(!(!a||!i||i==="none"||i==="-moz-alt-content"||e.display==="none")){this.counters.parse(new Gi(this.context,e));var o=new Gd(this.context,e),l=a.createElement("html2canvaspseudoelement");Yn(e,l),o.content.forEach(function(u){if(u.type===0)l.appendChild(a.createTextNode(u.value));else if(u.type===22){var B=a.createElement("img");B.src=u.value,B.style.opacity="1",l.appendChild(B)}else if(u.type===18){if(u.name==="attr"){var f=u.values.filter(pA);f.length&&l.appendChild(a.createTextNode(A.getAttribute(f[0].value)||""))}else if(u.name==="counter"){var g=u.values.filter(Dt),h=g[0],w=g[1];if(h&&pA(h)){var m=s.counters.getCounterValue(h.value),y=w&&pA(w)?Cs.parse(s.context,w.value):3;l.appendChild(a.createTextNode(lr(m,y,!1)))}}else if(u.name==="counters"){var H=u.values.filter(Dt),h=H[0],T=H[1],w=H[2];if(h&&pA(h)){var D=s.counters.getCounterValues(h.value),E=w&&pA(w)?Cs.parse(s.context,w.value):3,U=T&&T.type===0?T.value:"",S=D.map(function(K){return lr(K,E,!1)}).join(U);l.appendChild(a.createTextNode(S))}}}else if(u.type===20)switch(u.value){case"open-quote":l.appendChild(a.createTextNode(Pi(o.quotes,s.quoteDepth++,!0)));break;case"close-quote":l.appendChild(a.createTextNode(Pi(o.quotes,--s.quoteDepth,!1)));break;default:l.appendChild(a.createTextNode(u.value))}}),l.className=ys+" "+Es;var c=n===rr.BEFORE?" "+ys:" "+Es;return Yr(t)?t.className.baseValue+=c:t.className+=c,l}}},r.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},r}(),rr;(function(r){r[r.BEFORE=0]="BEFORE",r[r.AFTER=1]="AFTER"})(rr||(rr={}));var $h=function(r,A){var t=r.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=A.width.toString(),t.height=A.height.toString(),t.scrolling="no",t.setAttribute(Xo,"true"),r.body.appendChild(t),t},qh=function(r){return new Promise(function(A){if(r.complete){A();return}if(!r.src){A();return}r.onload=A,r.onerror=A})},Ap=function(r){return Promise.all([].slice.call(r.images,0).map(qh))},ep=function(r){return new Promise(function(A,t){var e=r.contentWindow;if(!e)return t("No window assigned for iframe");var n=e.document;e.onload=r.onload=function(){e.onload=r.onload=null;var s=setInterval(function(){n.body.childNodes.length>0&&n.readyState==="complete"&&(clearInterval(s),A(r))},50)}})},tp=["all","d","content"],Yn=function(r,A){for(var t=r.length-1;t>=0;t--){var e=r.item(t);tp.indexOf(e)===-1&&A.style.setProperty(e,r.getPropertyValue(e))}return A},rp=function(r){var A="";return r&&(A+=""),A},np=function(r,A,t){r&&r.defaultView&&(A!==r.defaultView.pageXOffset||t!==r.defaultView.pageYOffset)&&r.defaultView.scrollTo(A,t)},sp=function(r){var A=r[0],t=r[1],e=r[2];A.scrollLeft=t,A.scrollTop=e},ip=":before",ap=":after",ys="___html2canvas___pseudoelement_before",Es="___html2canvas___pseudoelement_after",fa=`{ - content: "" !important; - display: none !important; -}`,op=function(r){lp(r,"."+ys+ip+fa+` - .`+Es+ap+fa)},lp=function(r,A){var t=r.ownerDocument;if(t){var e=t.createElement("style");e.textContent=A,r.appendChild(e)}},Jo=function(){function r(){}return r.getOrigin=function(A){var t=r._link;return t?(t.href=A,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},r.isSameOrigin=function(A){return r.getOrigin(A)===r._origin},r.setContext=function(A){r._link=A.document.createElement("a"),r._origin=r.getOrigin(A.location.href)},r._origin="about:blank",r}(),cp=function(){function r(A,t){this.context=A,this._options=t,this._cache={}}return r.prototype.addImage=function(A){var t=Promise.resolve();return this.has(A)||(zn(A)||fp(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),t},r.prototype.match=function(A){return this._cache[A]},r.prototype.loadImage=function(A){return ee(this,void 0,void 0,function(){var t,e,n,s,i=this;return qA(this,function(a){switch(a.label){case 0:return t=Jo.isSameOrigin(A),e=!Wn(A)&&this._options.useCORS===!0&&jA.SUPPORT_CORS_IMAGES&&!t,n=!Wn(A)&&!t&&!zn(A)&&typeof this._options.proxy=="string"&&jA.SUPPORT_CORS_XHR&&!e,!t&&this._options.allowTaint===!1&&!Wn(A)&&!zn(A)&&!n&&!e?[2]:(s=A,n?[4,this.proxy(s)]:[3,2]);case 1:s=a.sent(),a.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(o,l){var c=new Image;c.onload=function(){return o(c)},c.onerror=l,(dp(s)||e)&&(c.crossOrigin="anonymous"),c.src=s,c.complete===!0&&setTimeout(function(){return o(c)},500),i._options.imageTimeout>0&&setTimeout(function(){return l("Timed out ("+i._options.imageTimeout+"ms) loading image")},i._options.imageTimeout)})];case 3:return[2,a.sent()]}})})},r.prototype.has=function(A){return typeof this._cache[A]<"u"},r.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},r.prototype.proxy=function(A){var t=this,e=this._options.proxy;if(!e)throw new Error("No proxy defined");var n=A.substring(0,256);return new Promise(function(s,i){var a=jA.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(o.status===200)if(a==="text")s(o.response);else{var u=new FileReader;u.addEventListener("load",function(){return s(u.result)},!1),u.addEventListener("error",function(B){return i(B)},!1),u.readAsDataURL(o.response)}else i("Failed to proxy resource "+n+" with status code "+o.status)},o.onerror=i;var l=e.indexOf("?")>-1?"&":"?";if(o.open("GET",""+e+l+"url="+encodeURIComponent(A)+"&responseType="+a),a!=="text"&&o instanceof XMLHttpRequest&&(o.responseType=a),t._options.imageTimeout){var c=t._options.imageTimeout;o.timeout=c,o.ontimeout=function(){return i("Timed out ("+c+"ms) proxying "+n)}}o.send()})},r}(),up=/^data:image\/svg\+xml/i,Bp=/^data:image\/.*;base64,/i,gp=/^data:image\/.*/i,fp=function(r){return jA.SUPPORT_SVG_DRAWING||!hp(r)},Wn=function(r){return gp.test(r)},dp=function(r){return Bp.test(r)},zn=function(r){return r.substr(0,4)==="blob"},hp=function(r){return r.substr(-3).toLowerCase()==="svg"||up.test(r)},N=function(){function r(A,t){this.type=0,this.x=A,this.y=t}return r.prototype.add=function(A,t){return new r(this.x+A,this.y+t)},r}(),Ut=function(r,A,t){return new N(r.x+(A.x-r.x)*t,r.y+(A.y-r.y)*t)},Or=function(){function r(A,t,e,n){this.type=1,this.start=A,this.startControl=t,this.endControl=e,this.end=n}return r.prototype.subdivide=function(A,t){var e=Ut(this.start,this.startControl,A),n=Ut(this.startControl,this.endControl,A),s=Ut(this.endControl,this.end,A),i=Ut(e,n,A),a=Ut(n,s,A),o=Ut(i,a,A);return t?new r(this.start,e,i,o):new r(o,a,s,this.end)},r.prototype.add=function(A,t){return new r(this.start.add(A,t),this.startControl.add(A,t),this.endControl.add(A,t),this.end.add(A,t))},r.prototype.reverse=function(){return new r(this.end,this.endControl,this.startControl,this.start)},r}(),le=function(r){return r.type===1},pp=function(){function r(A){var t=A.styles,e=A.bounds,n=Wt(t.borderTopLeftRadius,e.width,e.height),s=n[0],i=n[1],a=Wt(t.borderTopRightRadius,e.width,e.height),o=a[0],l=a[1],c=Wt(t.borderBottomRightRadius,e.width,e.height),u=c[0],B=c[1],f=Wt(t.borderBottomLeftRadius,e.width,e.height),g=f[0],h=f[1],w=[];w.push((s+o)/e.width),w.push((g+u)/e.width),w.push((i+h)/e.height),w.push((l+B)/e.height);var m=Math.max.apply(Math,w);m>1&&(s/=m,i/=m,o/=m,l/=m,u/=m,B/=m,g/=m,h/=m);var y=e.width-o,H=e.height-B,T=e.width-u,D=e.height-h,E=t.borderTopWidth,U=t.borderRightWidth,S=t.borderBottomWidth,I=t.borderLeftWidth,_=UA(t.paddingTop,A.bounds.width),K=UA(t.paddingRight,A.bounds.width),x=UA(t.paddingBottom,A.bounds.width),F=UA(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=s>0||i>0?bA(e.left+I/3,e.top+E/3,s-I/3,i-E/3,BA.TOP_LEFT):new N(e.left+I/3,e.top+E/3),this.topRightBorderDoubleOuterBox=s>0||i>0?bA(e.left+y,e.top+E/3,o-U/3,l-E/3,BA.TOP_RIGHT):new N(e.left+e.width-U/3,e.top+E/3),this.bottomRightBorderDoubleOuterBox=u>0||B>0?bA(e.left+T,e.top+H,u-U/3,B-S/3,BA.BOTTOM_RIGHT):new N(e.left+e.width-U/3,e.top+e.height-S/3),this.bottomLeftBorderDoubleOuterBox=g>0||h>0?bA(e.left+I/3,e.top+D,g-I/3,h-S/3,BA.BOTTOM_LEFT):new N(e.left+I/3,e.top+e.height-S/3),this.topLeftBorderDoubleInnerBox=s>0||i>0?bA(e.left+I*2/3,e.top+E*2/3,s-I*2/3,i-E*2/3,BA.TOP_LEFT):new N(e.left+I*2/3,e.top+E*2/3),this.topRightBorderDoubleInnerBox=s>0||i>0?bA(e.left+y,e.top+E*2/3,o-U*2/3,l-E*2/3,BA.TOP_RIGHT):new N(e.left+e.width-U*2/3,e.top+E*2/3),this.bottomRightBorderDoubleInnerBox=u>0||B>0?bA(e.left+T,e.top+H,u-U*2/3,B-S*2/3,BA.BOTTOM_RIGHT):new N(e.left+e.width-U*2/3,e.top+e.height-S*2/3),this.bottomLeftBorderDoubleInnerBox=g>0||h>0?bA(e.left+I*2/3,e.top+D,g-I*2/3,h-S*2/3,BA.BOTTOM_LEFT):new N(e.left+I*2/3,e.top+e.height-S*2/3),this.topLeftBorderStroke=s>0||i>0?bA(e.left+I/2,e.top+E/2,s-I/2,i-E/2,BA.TOP_LEFT):new N(e.left+I/2,e.top+E/2),this.topRightBorderStroke=s>0||i>0?bA(e.left+y,e.top+E/2,o-U/2,l-E/2,BA.TOP_RIGHT):new N(e.left+e.width-U/2,e.top+E/2),this.bottomRightBorderStroke=u>0||B>0?bA(e.left+T,e.top+H,u-U/2,B-S/2,BA.BOTTOM_RIGHT):new N(e.left+e.width-U/2,e.top+e.height-S/2),this.bottomLeftBorderStroke=g>0||h>0?bA(e.left+I/2,e.top+D,g-I/2,h-S/2,BA.BOTTOM_LEFT):new N(e.left+I/2,e.top+e.height-S/2),this.topLeftBorderBox=s>0||i>0?bA(e.left,e.top,s,i,BA.TOP_LEFT):new N(e.left,e.top),this.topRightBorderBox=o>0||l>0?bA(e.left+y,e.top,o,l,BA.TOP_RIGHT):new N(e.left+e.width,e.top),this.bottomRightBorderBox=u>0||B>0?bA(e.left+T,e.top+H,u,B,BA.BOTTOM_RIGHT):new N(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=g>0||h>0?bA(e.left,e.top+D,g,h,BA.BOTTOM_LEFT):new N(e.left,e.top+e.height),this.topLeftPaddingBox=s>0||i>0?bA(e.left+I,e.top+E,Math.max(0,s-I),Math.max(0,i-E),BA.TOP_LEFT):new N(e.left+I,e.top+E),this.topRightPaddingBox=o>0||l>0?bA(e.left+Math.min(y,e.width-U),e.top+E,y>e.width+U?0:Math.max(0,o-U),Math.max(0,l-E),BA.TOP_RIGHT):new N(e.left+e.width-U,e.top+E),this.bottomRightPaddingBox=u>0||B>0?bA(e.left+Math.min(T,e.width-I),e.top+Math.min(H,e.height-S),Math.max(0,u-U),Math.max(0,B-S),BA.BOTTOM_RIGHT):new N(e.left+e.width-U,e.top+e.height-S),this.bottomLeftPaddingBox=g>0||h>0?bA(e.left+I,e.top+Math.min(D,e.height-S),Math.max(0,g-I),Math.max(0,h-S),BA.BOTTOM_LEFT):new N(e.left+I,e.top+e.height-S),this.topLeftContentBox=s>0||i>0?bA(e.left+I+F,e.top+E+_,Math.max(0,s-(I+F)),Math.max(0,i-(E+_)),BA.TOP_LEFT):new N(e.left+I+F,e.top+E+_),this.topRightContentBox=o>0||l>0?bA(e.left+Math.min(y,e.width+I+F),e.top+E+_,y>e.width+I+F?0:o-I+F,l-(E+_),BA.TOP_RIGHT):new N(e.left+e.width-(U+K),e.top+E+_),this.bottomRightContentBox=u>0||B>0?bA(e.left+Math.min(T,e.width-(I+F)),e.top+Math.min(H,e.height+E+_),Math.max(0,u-(U+K)),B-(S+x),BA.BOTTOM_RIGHT):new N(e.left+e.width-(U+K),e.top+e.height-(S+x)),this.bottomLeftContentBox=g>0||h>0?bA(e.left+I+F,e.top+D,Math.max(0,g-(I+F)),h-(S+x),BA.BOTTOM_LEFT):new N(e.left+I+F,e.top+e.height-(S+x))}return r}(),BA;(function(r){r[r.TOP_LEFT=0]="TOP_LEFT",r[r.TOP_RIGHT=1]="TOP_RIGHT",r[r.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",r[r.BOTTOM_LEFT=3]="BOTTOM_LEFT"})(BA||(BA={}));var bA=function(r,A,t,e,n){var s=4*((Math.sqrt(2)-1)/3),i=t*s,a=e*s,o=r+t,l=A+e;switch(n){case BA.TOP_LEFT:return new Or(new N(r,l),new N(r,l-a),new N(o-i,A),new N(o,A));case BA.TOP_RIGHT:return new Or(new N(r,A),new N(r+i,A),new N(o,l-a),new N(o,l));case BA.BOTTOM_RIGHT:return new Or(new N(o,A),new N(o,A+a),new N(r+i,l),new N(r,l));case BA.BOTTOM_LEFT:default:return new Or(new N(o,l),new N(o-i,l),new N(r,A+a),new N(r,A))}},rn=function(r){return[r.topLeftBorderBox,r.topRightBorderBox,r.bottomRightBorderBox,r.bottomLeftBorderBox]},wp=function(r){return[r.topLeftContentBox,r.topRightContentBox,r.bottomRightContentBox,r.bottomLeftContentBox]},nn=function(r){return[r.topLeftPaddingBox,r.topRightPaddingBox,r.bottomRightPaddingBox,r.bottomLeftPaddingBox]},Cp=function(){function r(A,t,e){this.offsetX=A,this.offsetY=t,this.matrix=e,this.type=0,this.target=6}return r}(),Vr=function(){function r(A,t){this.path=A,this.target=t,this.type=1}return r}(),Qp=function(){function r(A){this.opacity=A,this.type=2,this.target=6}return r}(),mp=function(r){return r.type===0},Yo=function(r){return r.type===1},Up=function(r){return r.type===2},da=function(r,A){return r.length===A.length?r.some(function(t,e){return t===A[e]}):!1},vp=function(r,A,t,e,n){return r.map(function(s,i){switch(i){case 0:return s.add(A,t);case 1:return s.add(A+e,t);case 2:return s.add(A+e,t+n);case 3:return s.add(A,t+n)}return s})},Wo=function(){function r(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return r}(),zo=function(){function r(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new pp(this.container),this.container.styles.opacity<1&&this.effects.push(new Qp(this.container.styles.opacity)),this.container.styles.transform!==null){var e=this.container.bounds.left+this.container.styles.transformOrigin[0].number,n=this.container.bounds.top+this.container.styles.transformOrigin[1].number,s=this.container.styles.transform;this.effects.push(new Cp(e,n,s))}if(this.container.styles.overflowX!==0){var i=rn(this.curves),a=nn(this.curves);da(i,a)?this.effects.push(new Vr(i,6)):(this.effects.push(new Vr(i,2)),this.effects.push(new Vr(a,4)))}}return r.prototype.getEffects=function(A){for(var t=[2,3].indexOf(this.container.styles.position)===-1,e=this.parent,n=this.effects.slice(0);e;){var s=e.effects.filter(function(o){return!Yo(o)});if(t||e.container.styles.position!==0||!e.parent){if(n.unshift.apply(n,s),t=[2,3].indexOf(e.container.styles.position)===-1,e.container.styles.overflowX!==0){var i=rn(e.curves),a=nn(e.curves);da(i,a)||n.unshift(new Vr(a,6))}}else n.unshift.apply(n,s);e=e.parent}return n.filter(function(o){return NA(o.target,A)})},r}(),bs=function(r,A,t,e){r.container.elements.forEach(function(n){var s=NA(n.flags,4),i=NA(n.flags,2),a=new zo(n,r);NA(n.styles.display,2048)&&e.push(a);var o=NA(n.flags,8)?[]:e;if(s||i){var l=s||n.styles.isPositioned()?t:A,c=new Wo(a);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var u=n.styles.zIndex.order;if(u<0){var B=0;l.negativeZIndex.some(function(g,h){return u>g.element.container.styles.zIndex.order?(B=h,!1):B>0}),l.negativeZIndex.splice(B,0,c)}else if(u>0){var f=0;l.positiveZIndex.some(function(g,h){return u>=g.element.container.styles.zIndex.order?(f=h+1,!1):f>0}),l.positiveZIndex.splice(f,0,c)}else l.zeroOrAutoZIndexOrTransformedOrOpacity.push(c)}else n.styles.isFloating()?l.nonPositionedFloats.push(c):l.nonPositionedInlineLevel.push(c);bs(a,c,s?c:t,o)}else n.styles.isInlineLevel()?A.inlineLevel.push(a):A.nonInlineLevel.push(a),bs(a,A,t,o);NA(n.flags,8)&&Zo(n,o)})},Zo=function(r,A){for(var t=r instanceof Us?r.start:1,e=r instanceof Us?r.reversed:!1,n=0;n"u"?r[0]:t},Sp=function(r,A,t,e,n){var s=A[0],i=A[1],a=t[0],o=t[1];switch(r){case 2:return[new N(Math.round(e.left),Math.round(e.top+i)),new N(Math.round(e.left+e.width),Math.round(e.top+i)),new N(Math.round(e.left+e.width),Math.round(o+e.top+i)),new N(Math.round(e.left),Math.round(o+e.top+i))];case 3:return[new N(Math.round(e.left+s),Math.round(e.top)),new N(Math.round(e.left+s+a),Math.round(e.top)),new N(Math.round(e.left+s+a),Math.round(e.height+e.top)),new N(Math.round(e.left+s),Math.round(e.height+e.top))];case 1:return[new N(Math.round(e.left+s),Math.round(e.top+i)),new N(Math.round(e.left+s+a),Math.round(e.top+i)),new N(Math.round(e.left+s+a),Math.round(e.top+i+o)),new N(Math.round(e.left+s),Math.round(e.top+i+o))];default:return[new N(Math.round(n.left),Math.round(n.top)),new N(Math.round(n.left+n.width),Math.round(n.top)),new N(Math.round(n.left+n.width),Math.round(n.height+n.top)),new N(Math.round(n.left),Math.round(n.height+n.top))]}},Tp="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",pa="Hidden Text",Lp=function(){function r(A){this._data={},this._document=A}return r.prototype.parseMetrics=function(A,t){var e=this._document.createElement("div"),n=this._document.createElement("img"),s=this._document.createElement("span"),i=this._document.body;e.style.visibility="hidden",e.style.fontFamily=A,e.style.fontSize=t,e.style.margin="0",e.style.padding="0",e.style.whiteSpace="nowrap",i.appendChild(e),n.src=Tp,n.width=1,n.height=1,n.style.margin="0",n.style.padding="0",n.style.verticalAlign="baseline",s.style.fontFamily=A,s.style.fontSize=t,s.style.margin="0",s.style.padding="0",s.appendChild(this._document.createTextNode(pa)),e.appendChild(s),e.appendChild(n);var a=n.offsetTop-s.offsetTop+2;e.removeChild(s),e.appendChild(this._document.createTextNode(pa)),e.style.lineHeight="normal",n.style.verticalAlign="super";var o=n.offsetTop-e.offsetTop+2;return i.removeChild(e),{baseline:a,middle:o}},r.prototype.getMetrics=function(A,t){var e=A+" "+t;return typeof this._data[e]>"u"&&(this._data[e]=this.parseMetrics(A,t)),this._data[e]},r}(),$o=function(){function r(A,t){this.context=A,this.options=t}return r}(),Dp=1e4,Kp=function(r){pe(A,r);function A(t,e){var n=r.call(this,t,e)||this;return n._activeEffects=[],n.canvas=e.canvas?e.canvas:document.createElement("canvas"),n.ctx=n.canvas.getContext("2d"),e.canvas||(n.canvas.width=Math.floor(e.width*e.scale),n.canvas.height=Math.floor(e.height*e.scale),n.canvas.style.width=e.width+"px",n.canvas.style.height=e.height+"px"),n.fontMetrics=new Lp(document),n.ctx.scale(n.options.scale,n.options.scale),n.ctx.translate(-e.x,-e.y),n.ctx.textBaseline="bottom",n._activeEffects=[],n.context.logger.debug("Canvas renderer initialized ("+e.width+"x"+e.height+") with scale "+e.scale),n}return A.prototype.applyEffects=function(t){for(var e=this;this._activeEffects.length;)this.popEffect();t.forEach(function(n){return e.applyEffect(n)})},A.prototype.applyEffect=function(t){this.ctx.save(),Up(t)&&(this.ctx.globalAlpha=t.opacity),mp(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),Yo(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(t){return ee(this,void 0,void 0,function(){var e;return qA(this,function(n){switch(n.label){case 0:return e=t.element.container.styles,e.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:n.sent(),n.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(t){return ee(this,void 0,void 0,function(){return qA(this,function(e){switch(e.label){case 0:if(NA(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return e.sent(),[4,this.renderNodeContent(t)];case 2:e.sent(),e.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(t,e,n){var s=this;if(e===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+n);else{var i=ks(t.text);i.reduce(function(a,o){return s.ctx.fillText(o,a,t.bounds.top+n),a+s.ctx.measureText(o).width},t.bounds.left)}},A.prototype.createFontStyle=function(t){var e=t.fontVariant.filter(function(i){return i==="normal"||i==="small-caps"}).join(""),n=kp(t.fontFamily).join(", "),s=Br(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,e,t.fontWeight,s,n].join(" "),n,s]},A.prototype.renderTextNode=function(t,e){return ee(this,void 0,void 0,function(){var n,s,i,a,o,l,c,u,B=this;return qA(this,function(f){return n=this.createFontStyle(e),s=n[0],i=n[1],a=n[2],this.ctx.font=s,this.ctx.direction=e.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(i,a),l=o.baseline,c=o.middle,u=e.paintOrder,t.textBounds.forEach(function(g){u.forEach(function(h){switch(h){case 0:B.ctx.fillStyle=XA(e.color),B.renderTextWithLetterSpacing(g,e.letterSpacing,l);var w=e.textShadow;w.length&&g.text.trim().length&&(w.slice(0).reverse().forEach(function(m){B.ctx.shadowColor=XA(m.color),B.ctx.shadowOffsetX=m.offsetX.number*B.options.scale,B.ctx.shadowOffsetY=m.offsetY.number*B.options.scale,B.ctx.shadowBlur=m.blur.number,B.renderTextWithLetterSpacing(g,e.letterSpacing,l)}),B.ctx.shadowColor="",B.ctx.shadowOffsetX=0,B.ctx.shadowOffsetY=0,B.ctx.shadowBlur=0),e.textDecorationLine.length&&(B.ctx.fillStyle=XA(e.textDecorationColor||e.color),e.textDecorationLine.forEach(function(m){switch(m){case 1:B.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top+l),g.bounds.width,1);break;case 2:B.ctx.fillRect(g.bounds.left,Math.round(g.bounds.top),g.bounds.width,1);break;case 3:B.ctx.fillRect(g.bounds.left,Math.ceil(g.bounds.top+c),g.bounds.width,1);break}}));break;case 1:e.webkitTextStrokeWidth&&g.text.trim().length&&(B.ctx.strokeStyle=XA(e.webkitTextStrokeColor),B.ctx.lineWidth=e.webkitTextStrokeWidth,B.ctx.lineJoin=window.chrome?"miter":"round",B.ctx.strokeText(g.text,g.bounds.left,g.bounds.top+l)),B.ctx.strokeStyle="",B.ctx.lineWidth=0,B.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(t,e,n){if(n&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var s=sn(t),i=nn(e);this.path(i),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(n,0,0,t.intrinsicWidth,t.intrinsicHeight,s.left,s.top,s.width,s.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(t){return ee(this,void 0,void 0,function(){var e,n,s,i,a,o,y,y,l,c,u,B,T,f,g,D,h,w,m,y,H,T,D;return qA(this,function(E){switch(E.label){case 0:this.applyEffects(t.getEffects(4)),e=t.container,n=t.curves,s=e.styles,i=0,a=e.textNodes,E.label=1;case 1:return i0&&J>0&&(S=s.ctx.createPattern(D,"repeat"),s.renderRepeat(_,S,eA,iA))):Uf(c)&&(I=Zn(t,e,[null,null,null]),_=I[0],K=I[1],x=I[2],F=I[3],J=I[4],R=c.position.length===0?[Ms]:c.position,eA=UA(R[0],F),iA=UA(R[R.length-1],J),wA=pf(c,eA,iA,F,J),aA=wA[0],rA=wA[1],aA>0&&rA>0&&(gA=s.ctx.createRadialGradient(K+eA,x+iA,0,K+eA,x+iA,aA),Vi(c.stops,aA*2).forEach(function(zA){return gA.addColorStop(zA.stop,XA(zA.color))}),s.path(_),s.ctx.fillStyle=gA,aA!==rA?(mA=t.bounds.left+.5*t.bounds.width,CA=t.bounds.top+.5*t.bounds.height,HA=rA/aA,xA=1/HA,s.ctx.save(),s.ctx.translate(mA,CA),s.ctx.transform(1,0,0,HA,0,0),s.ctx.translate(-mA,-CA),s.ctx.fillRect(K,xA*(x-CA)+CA,F,J*xA),s.ctx.restore()):s.ctx.fill())),$.label=6;case 6:return e--,[2]}})},s=this,i=0,a=t.styles.backgroundImage.slice(0).reverse(),l.label=1;case 1:return i0?c.style!==2?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,a,t.curves,2)]:[3,11]):[3,13];case 4:return B.sent(),[3,11];case 5:return c.style!==3?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,a,t.curves,3)];case 6:return B.sent(),[3,11];case 7:return c.style!==4?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,a,t.curves)];case 8:return B.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,a,t.curves)];case 10:B.sent(),B.label=11;case 11:a++,B.label=12;case 12:return o++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(t,e,n,s,i){return ee(this,void 0,void 0,function(){var a,o,l,c,u,B,f,g,h,w,m,y,H,T,D,E,D,E;return qA(this,function(U){return this.ctx.save(),a=bp(s,n),o=ha(s,n),i===2&&(this.path(o),this.ctx.clip()),le(o[0])?(l=o[0].start.x,c=o[0].start.y):(l=o[0].x,c=o[0].y),le(o[1])?(u=o[1].end.x,B=o[1].end.y):(u=o[1].x,B=o[1].y),n===0||n===2?f=Math.abs(l-u):f=Math.abs(c-B),this.ctx.beginPath(),i===3?this.formatPath(a):this.formatPath(o.slice(0,2)),g=e<3?e*3:e*2,h=e<3?e*2:e,i===3&&(g=e,h=e),w=!0,f<=g*2?w=!1:f<=g*2+h?(m=f/(2*g+h),g*=m,h*=m):(y=Math.floor((f+h)/(g+h)),H=(f-y*g)/(y-1),T=(f-(y+1)*g)/y,h=T<=0||Math.abs(h-H){const A=document.querySelector(`#${r}`);if(!A){fA.error("没有找到canvas元素,请检查!");return}const t=[],e=document.body.querySelectorAll(`#${r} .mt-line-render`);for(const o of e){const l=o.outerHTML.trim(),c=document.createElement("canvas");c.width=o.getBoundingClientRect().width,c.height=o.getBoundingClientRect().height;const u=c.getContext("2d");await bt.fromString(u,l).render(),o.style.position&&(c.style.position+=o.style.position,c.style.left+=o.style.left,c.style.top+=o.style.top),o.parentNode.appendChild(c),t.push(c)}const n=A.offsetWidth,s=A.offsetHeight,i=await Xp(A,{useCORS:!0,scale:2,width:n,height:s,allowTaint:!0,windowHeight:s,logging:!1,ignoreElements:o=>!!o.classList.contains("mt-line-render")}),a=document.createElement("a");a.href=i.toDataURL("image/png"),a.download=Date.now().toString(),document.body.appendChild(a),a.click(),document.body.removeChild(a),t.forEach(o=>{o.remove()})},zp={class:"w-1/1 h-100vh"},Zp=MA({__name:"index",setup(r){console.log("重新渲染EDIT");const A=yl(),t=El();console.log("传递:",t.query);const e=a=>{sessionStorage.setItem("exportJson",JSON.stringify(a));const o=A.resolve({name:"preview"});window.open(o.href,"_blank")},n=a=>{console.log(a,"这是要保存的数据")},s=()=>{A.go(-1)},i=()=>{Wp()};return(a,o)=>(O(),sA("div",zp,[C(p(qc),{"use-thumbnail":!0,onOnPreviewClick:e,onOnReturnClick:s,onOnSaveClick:n,onOnThumbnailClick:i})]))}});const Aw=Ke(Zp,[["__scopeId","data-v-635be2c1"]]);export{Aw as default}; diff --git a/webVue/assets/index-f18b6d26.css b/webVue/assets/index-f18b6d26.css deleted file mode 100644 index 1433b72..0000000 --- a/webVue/assets/index-f18b6d26.css +++ /dev/null @@ -1,7 +0,0 @@ -@charset "UTF-8";:root{--el-color-white:#ffffff;--el-color-black:#000000;--el-color-primary-rgb:64,158,255;--el-color-success-rgb:103,194,58;--el-color-warning-rgb:230,162,60;--el-color-danger-rgb:245,108,108;--el-color-error-rgb:245,108,108;--el-color-info-rgb:144,147,153;--el-font-size-extra-large:20px;--el-font-size-large:18px;--el-font-size-medium:16px;--el-font-size-base:14px;--el-font-size-small:13px;--el-font-size-extra-small:12px;--el-font-family:"Helvetica Neue",Helvetica,"PingFang SC","Hiragino Sans GB","Microsoft YaHei","微软雅黑",Arial,sans-serif;--el-font-weight-primary:500;--el-font-line-height-primary:24px;--el-index-normal:1;--el-index-top:1000;--el-index-popper:2000;--el-border-radius-base:4px;--el-border-radius-small:2px;--el-border-radius-round:20px;--el-border-radius-circle:100%;--el-transition-duration:.3s;--el-transition-duration-fast:.2s;--el-transition-function-ease-in-out-bezier:cubic-bezier(.645,.045,.355,1);--el-transition-function-fast-bezier:cubic-bezier(.23,1,.32,1);--el-transition-all:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);--el-transition-fade:opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-md-fade:transform var(--el-transition-duration) var(--el-transition-function-fast-bezier),opacity var(--el-transition-duration) var(--el-transition-function-fast-bezier);--el-transition-fade-linear:opacity var(--el-transition-duration-fast) linear;--el-transition-border:border-color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-box-shadow:box-shadow var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-transition-color:color var(--el-transition-duration-fast) var(--el-transition-function-ease-in-out-bezier);--el-component-size-large:40px;--el-component-size:32px;--el-component-size-small:24px;color-scheme:light;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(121,187,255);--el-color-primary-light-5:rgb(160,207,255);--el-color-primary-light-7:rgb(198,226,255);--el-color-primary-light-8:rgb(217,236,255);--el-color-primary-light-9:rgb(236,245,255);--el-color-primary-dark-2:rgb(51,126,204);--el-color-success:#67c23a;--el-color-success-light-3:rgb(149,212,117);--el-color-success-light-5:rgb(179,225,157);--el-color-success-light-7:rgb(209,237,196);--el-color-success-light-8:rgb(225,243,216);--el-color-success-light-9:rgb(240,249,235);--el-color-success-dark-2:rgb(82,155,46);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(238,190,119);--el-color-warning-light-5:rgb(243,209,158);--el-color-warning-light-7:rgb(248,227,197);--el-color-warning-light-8:rgb(250,236,216);--el-color-warning-light-9:rgb(253,246,236);--el-color-warning-dark-2:rgb(184,130,48);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(248,152,152);--el-color-danger-light-5:rgb(250,182,182);--el-color-danger-light-7:rgb(252,211,211);--el-color-danger-light-8:rgb(253,226,226);--el-color-danger-light-9:rgb(254,240,240);--el-color-danger-dark-2:rgb(196,86,86);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(248,152,152);--el-color-error-light-5:rgb(250,182,182);--el-color-error-light-7:rgb(252,211,211);--el-color-error-light-8:rgb(253,226,226);--el-color-error-light-9:rgb(254,240,240);--el-color-error-dark-2:rgb(196,86,86);--el-color-info:#909399;--el-color-info-light-3:rgb(177,179,184);--el-color-info-light-5:rgb(200,201,204);--el-color-info-light-7:rgb(222,223,224);--el-color-info-light-8:rgb(233,233,235);--el-color-info-light-9:rgb(244,244,245);--el-color-info-dark-2:rgb(115,118,122);--el-bg-color:#ffffff;--el-bg-color-page:#f2f3f5;--el-bg-color-overlay:#ffffff;--el-text-color-primary:#303133;--el-text-color-regular:#606266;--el-text-color-secondary:#909399;--el-text-color-placeholder:#a8abb2;--el-text-color-disabled:#c0c4cc;--el-border-color:#dcdfe6;--el-border-color-light:#e4e7ed;--el-border-color-lighter:#ebeef5;--el-border-color-extra-light:#f2f6fc;--el-border-color-dark:#d4d7de;--el-border-color-darker:#cdd0d6;--el-fill-color:#f0f2f5;--el-fill-color-light:#f5f7fa;--el-fill-color-lighter:#fafafa;--el-fill-color-extra-light:#fafcff;--el-fill-color-dark:#ebedf0;--el-fill-color-darker:#e6e8eb;--el-fill-color-blank:#ffffff;--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.04),0px 8px 20px rgba(0,0,0,.08);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.12);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.12);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.08),0px 12px 32px rgba(0,0,0,.12),0px 8px 16px -8px rgba(0,0,0,.16);--el-disabled-bg-color:var(--el-fill-color-light);--el-disabled-text-color:var(--el-text-color-placeholder);--el-disabled-border-color:var(--el-border-color-light);--el-overlay-color:rgba(0,0,0,.8);--el-overlay-color-light:rgba(0,0,0,.7);--el-overlay-color-lighter:rgba(0,0,0,.5);--el-mask-color:rgba(255,255,255,.9);--el-mask-color-extra-light:rgba(255,255,255,.3);--el-border-width:1px;--el-border-style:solid;--el-border-color-hover:var(--el-text-color-disabled);--el-border:var(--el-border-width) var(--el-border-style) var(--el-border-color);--el-svg-monochrome-grey:var(--el-border-color)}.fade-in-linear-enter-active,.fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.fade-in-linear-enter-from,.fade-in-linear-leave-to{opacity:0}.el-fade-in-linear-enter-active,.el-fade-in-linear-leave-active{transition:var(--el-transition-fade-linear)}.el-fade-in-linear-enter-from,.el-fade-in-linear-leave-to{opacity:0}.el-fade-in-enter-active,.el-fade-in-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-fade-in-enter-from,.el-fade-in-leave-active{opacity:0}.el-zoom-in-center-enter-active,.el-zoom-in-center-leave-active{transition:all var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-zoom-in-center-enter-from,.el-zoom-in-center-leave-active{opacity:0;transform:scaleX(0)}.el-zoom-in-top-enter-active,.el-zoom-in-top-leave-active{opacity:1;transform:scaleY(1);transform-origin:center top;transition:var(--el-transition-md-fade)}.el-zoom-in-top-enter-active[data-popper-placement^=top],.el-zoom-in-top-leave-active[data-popper-placement^=top]{transform-origin:center bottom}.el-zoom-in-top-enter-from,.el-zoom-in-top-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-bottom-enter-active,.el-zoom-in-bottom-leave-active{opacity:1;transform:scaleY(1);transform-origin:center bottom;transition:var(--el-transition-md-fade)}.el-zoom-in-bottom-enter-from,.el-zoom-in-bottom-leave-active{opacity:0;transform:scaleY(0)}.el-zoom-in-left-enter-active,.el-zoom-in-left-leave-active{opacity:1;transform:scale(1);transform-origin:top left;transition:var(--el-transition-md-fade)}.el-zoom-in-left-enter-from,.el-zoom-in-left-leave-active{opacity:0;transform:scale(.45)}.collapse-transition{transition:var(--el-transition-duration) height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.el-collapse-transition-enter-active,.el-collapse-transition-leave-active{transition:var(--el-transition-duration) max-height ease-in-out,var(--el-transition-duration) padding-top ease-in-out,var(--el-transition-duration) padding-bottom ease-in-out}.horizontal-collapse-transition{transition:var(--el-transition-duration) width ease-in-out,var(--el-transition-duration) padding-left ease-in-out,var(--el-transition-duration) padding-right ease-in-out}.el-list-enter-active,.el-list-leave-active{transition:all 1s}.el-list-enter-from,.el-list-leave-to{opacity:0;transform:translateY(-30px)}.el-list-leave-active{position:absolute!important}.el-opacity-transition{transition:opacity var(--el-transition-duration) cubic-bezier(.55,0,.1,1)}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.el-icon{--color:inherit;align-items:center;color:var(--color);display:inline-flex;fill:currentColor;font-size:inherit;height:1em;justify-content:center;line-height:1em;position:relative;width:1em}.el-icon.is-loading{animation:rotating 2s linear infinite}.el-icon svg{height:1em;width:1em}.el-affix--fixed{position:fixed}.el-alert{--el-alert-padding:8px 16px;--el-alert-border-radius-base:var(--el-border-radius-base);--el-alert-title-font-size:14px;--el-alert-title-with-description-font-size:16px;--el-alert-description-font-size:14px;--el-alert-close-font-size:16px;--el-alert-close-customed-font-size:14px;--el-alert-icon-size:16px;--el-alert-icon-large-size:28px;align-items:center;background-color:var(--el-color-white);border-radius:var(--el-alert-border-radius-base);box-sizing:border-box;display:flex;margin:0;opacity:1;overflow:hidden;padding:var(--el-alert-padding);position:relative;transition:opacity var(--el-transition-duration-fast);width:100%}.el-alert.is-light .el-alert__close-btn{color:var(--el-text-color-placeholder)}.el-alert.is-dark .el-alert__close-btn,.el-alert.is-dark .el-alert__description{color:var(--el-color-white)}.el-alert.is-center{justify-content:center}.el-alert--primary{--el-alert-bg-color:var(--el-color-primary-light-9)}.el-alert--primary.is-light{background-color:var(--el-alert-bg-color)}.el-alert--primary.is-light,.el-alert--primary.is-light .el-alert__description{color:var(--el-color-primary)}.el-alert--primary.is-dark{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-alert--success{--el-alert-bg-color:var(--el-color-success-light-9)}.el-alert--success.is-light{background-color:var(--el-alert-bg-color)}.el-alert--success.is-light,.el-alert--success.is-light .el-alert__description{color:var(--el-color-success)}.el-alert--success.is-dark{background-color:var(--el-color-success);color:var(--el-color-white)}.el-alert--info{--el-alert-bg-color:var(--el-color-info-light-9)}.el-alert--info.is-light{background-color:var(--el-alert-bg-color)}.el-alert--info.is-light,.el-alert--info.is-light .el-alert__description{color:var(--el-color-info)}.el-alert--info.is-dark{background-color:var(--el-color-info);color:var(--el-color-white)}.el-alert--warning{--el-alert-bg-color:var(--el-color-warning-light-9)}.el-alert--warning.is-light{background-color:var(--el-alert-bg-color)}.el-alert--warning.is-light,.el-alert--warning.is-light .el-alert__description{color:var(--el-color-warning)}.el-alert--warning.is-dark{background-color:var(--el-color-warning);color:var(--el-color-white)}.el-alert--error{--el-alert-bg-color:var(--el-color-error-light-9)}.el-alert--error.is-light{background-color:var(--el-alert-bg-color)}.el-alert--error.is-light,.el-alert--error.is-light .el-alert__description{color:var(--el-color-error)}.el-alert--error.is-dark{background-color:var(--el-color-error);color:var(--el-color-white)}.el-alert__content{display:flex;flex-direction:column;gap:4px}.el-alert .el-alert__icon{font-size:var(--el-alert-icon-size);margin-right:8px;width:var(--el-alert-icon-size)}.el-alert .el-alert__icon.is-big{font-size:var(--el-alert-icon-large-size);margin-right:12px;width:var(--el-alert-icon-large-size)}.el-alert__title{font-size:var(--el-alert-title-font-size);line-height:24px}.el-alert__title.with-description{font-size:var(--el-alert-title-with-description-font-size)}.el-alert .el-alert__description{font-size:var(--el-alert-description-font-size);margin:0}.el-alert .el-alert__close-btn{cursor:pointer;font-size:var(--el-alert-close-font-size);opacity:1;position:absolute;right:16px;top:12px}.el-alert .el-alert__close-btn.is-customed{font-size:var(--el-alert-close-customed-font-size);font-style:normal;line-height:24px;top:8px}.el-alert-fade-enter-from,.el-alert-fade-leave-active{opacity:0}.el-aside{box-sizing:border-box;flex-shrink:0;overflow:auto;width:var(--el-aside-width,300px)}.el-autocomplete{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;position:relative;width:var(--el-input-width)}.el-autocomplete__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-autocomplete__popper.el-popper,.el-autocomplete__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-autocomplete__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-autocomplete__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-autocomplete-suggestion{border-radius:var(--el-border-radius-base);box-sizing:border-box}.el-autocomplete-suggestion__header{border-bottom:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__footer{border-top:1px solid var(--el-border-color-lighter);padding:10px}.el-autocomplete-suggestion__wrap{box-sizing:border-box;max-height:280px;padding:10px 0}.el-autocomplete-suggestion__list{margin:0;padding:0}.el-autocomplete-suggestion li{color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);line-height:34px;list-style:none;margin:0;overflow:hidden;padding:0 20px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-autocomplete-suggestion li.highlighted,.el-autocomplete-suggestion li:hover{background-color:var(--el-fill-color-light)}.el-autocomplete-suggestion li.divider{border-top:1px solid var(--el-color-black);margin-top:6px}.el-autocomplete-suggestion li.divider:last-child{margin-bottom:-6px}.el-autocomplete-suggestion.is-loading li{align-items:center;color:var(--el-text-color-secondary);cursor:default;display:flex;font-size:20px;height:100px;justify-content:center}.el-autocomplete-suggestion.is-loading li:hover{background-color:var(--el-bg-color-overlay)}.el-avatar{--el-avatar-text-color:var(--el-color-white);--el-avatar-bg-color:var(--el-text-color-disabled);--el-avatar-text-size:14px;--el-avatar-icon-size:18px;--el-avatar-border-radius:var(--el-border-radius-base);--el-avatar-size-large:56px;--el-avatar-size-small:24px;--el-avatar-size:40px;align-items:center;background:var(--el-avatar-bg-color);box-sizing:border-box;color:var(--el-avatar-text-color);display:inline-flex;font-size:var(--el-avatar-text-size);height:var(--el-avatar-size);justify-content:center;outline:none;overflow:hidden;text-align:center;width:var(--el-avatar-size)}.el-avatar>img{display:block;height:100%;width:100%}.el-avatar--circle{border-radius:50%}.el-avatar--square{border-radius:var(--el-avatar-border-radius)}.el-avatar--icon{font-size:var(--el-avatar-icon-size)}.el-avatar--small{--el-avatar-size:24px}.el-avatar--large{--el-avatar-size:56px}.el-avatar-group{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px;display:inline-flex}.el-avatar-group .el-avatar{border:1px solid var(--el-border-color-extra-light)}.el-avatar-group .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-item-gap)}.el-avatar-group__collapse-avatars{--el-avatar-group-item-gap:-8px;--el-avatar-group-collapse-item-gap:4px}.el-avatar-group__collapse-avatars .el-avatar:not(:first-child){margin-left:var(--el-avatar-group-collapse-item-gap)}.el-backtop{--el-backtop-bg-color:var(--el-bg-color-overlay);--el-backtop-text-color:var(--el-color-primary);--el-backtop-hover-bg-color:var(--el-border-color-extra-light);align-items:center;background-color:var(--el-backtop-bg-color);border-radius:50%;box-shadow:var(--el-box-shadow-lighter);color:var(--el-backtop-text-color);cursor:pointer;display:flex;font-size:20px;height:40px;justify-content:center;position:fixed;width:40px;z-index:5}.el-backtop:hover{background-color:var(--el-backtop-hover-bg-color)}.el-backtop__icon{font-size:20px}.el-badge{--el-badge-bg-color:var(--el-color-danger);--el-badge-radius:10px;--el-badge-font-size:12px;--el-badge-padding:6px;--el-badge-size:18px;display:inline-block;position:relative;vertical-align:middle;width:-moz-fit-content;width:fit-content}.el-badge__content{align-items:center;background-color:var(--el-badge-bg-color);border:1px solid var(--el-bg-color);border-radius:var(--el-badge-radius);color:var(--el-color-white);display:inline-flex;font-size:var(--el-badge-font-size);height:var(--el-badge-size);justify-content:center;padding:0 var(--el-badge-padding);white-space:nowrap}.el-badge__content.is-fixed{position:absolute;right:calc(1px + var(--el-badge-size)/2);top:0;transform:translateY(-50%) translate(100%);z-index:var(--el-index-normal)}.el-badge__content.is-fixed.is-dot{right:5px}.el-badge__content.is-dot{border-radius:50%;height:8px;padding:0;right:0;width:8px}.el-badge__content.is-hide-zero{display:none}.el-badge__content--primary{background-color:var(--el-color-primary)}.el-badge__content--success{background-color:var(--el-color-success)}.el-badge__content--warning{background-color:var(--el-color-warning)}.el-badge__content--info{background-color:var(--el-color-info)}.el-badge__content--danger{background-color:var(--el-color-danger)}.el-breadcrumb__separator{color:var(--el-text-color-placeholder);font-weight:700;margin:0 9px}.el-breadcrumb__separator.el-icon{font-weight:400;margin:0 6px}.el-breadcrumb__separator.el-icon svg{vertical-align:middle}.el-breadcrumb__item{align-items:center;display:inline-flex;float:left}.el-breadcrumb__inner{color:var(--el-text-color-regular)}.el-breadcrumb__inner a,.el-breadcrumb__inner.is-link{color:var(--el-text-color-primary);font-weight:700;text-decoration:none;transition:var(--el-transition-color)}.el-breadcrumb__inner a:hover,.el-breadcrumb__inner.is-link:hover{color:var(--el-color-primary);cursor:pointer}.el-breadcrumb__item:last-child .el-breadcrumb__inner,.el-breadcrumb__item:last-child .el-breadcrumb__inner a,.el-breadcrumb__item:last-child .el-breadcrumb__inner a:hover,.el-breadcrumb__item:last-child .el-breadcrumb__inner:hover{color:var(--el-text-color-regular);cursor:text;font-weight:400}.el-breadcrumb__item:last-child .el-breadcrumb__separator{display:none}.el-breadcrumb{font-size:14px;line-height:1}.el-breadcrumb:after,.el-breadcrumb:before{content:"";display:table}.el-breadcrumb:after{clear:both}.el-button-group>.el-button+.el-button{margin-left:0}.el-button-group>.el-button:first-child:last-child{border-bottom-left-radius:var(--el-border-radius-base);border-bottom-right-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-button-group>.el-button:first-child:last-child.is-round{border-radius:var(--el-border-radius-round)}.el-button-group>.el-button:first-child:last-child.is-circle{border-radius:50%}.el-button-group>.el-button:not(:first-child):not(:last-child){border-radius:0}.el-button-group>.el-button.is-active,.el-button-group>.el-button:active,.el-button-group>.el-button:focus,.el-button-group>.el-button:hover{z-index:1}.el-button-group--horizontal{display:inline-block;vertical-align:middle}.el-button-group--horizontal:after,.el-button-group--horizontal:before{content:"";display:table}.el-button-group--horizontal:after{clear:both}.el-button-group--horizontal>.el-button{float:left;position:relative}.el-button-group--horizontal>.el-button:first-child{border-bottom-right-radius:0;border-top-right-radius:0}.el-button-group--horizontal>.el-button:last-child{border-bottom-left-radius:0;border-top-left-radius:0}.el-button-group--horizontal>.el-button:not(:last-child){margin-right:-1px}.el-button-group--horizontal .el-button--primary:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--primary:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--success:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--warning:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--danger:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:first-child{border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:last-child{border-left-color:var(--el-button-divide-border-color)}.el-button-group--horizontal .el-button--info:not(:first-child):not(:last-child){border-left-color:var(--el-button-divide-border-color);border-right-color:var(--el-button-divide-border-color)}.el-button-group--horizontal>.el-dropdown>.el-button{border-bottom-left-radius:0;border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0}.el-button-group--vertical{align-items:stretch;display:inline-flex;flex-direction:column}.el-button-group--vertical>.el-button{margin-top:-1px}.el-button-group--vertical>.el-button:first-child{border-bottom-left-radius:0;border-bottom-right-radius:0}.el-button-group--vertical>.el-button:last-child{border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical>.el-dropdown{margin-top:-1px}.el-button-group--vertical>.el-dropdown>.el-button{border-left-color:var(--el-button-divide-border-color);border-top-left-radius:0;border-top-right-radius:0}.el-button-group--vertical .el-button--primary:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--primary:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--success:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--warning:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--danger:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:first-child{border-bottom-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:last-child{border-top-color:var(--el-button-divide-border-color)}.el-button-group--vertical .el-button--info:not(:first-child):not(:last-child){border-bottom-color:var(--el-button-divide-border-color);border-top-color:var(--el-button-divide-border-color)}.el-button{--el-button-font-weight:var(--el-font-weight-primary);--el-button-border-color:var(--el-border-color);--el-button-bg-color:var(--el-fill-color-blank);--el-button-text-color:var(--el-text-color-regular);--el-button-disabled-text-color:var(--el-disabled-text-color);--el-button-disabled-bg-color:var(--el-fill-color-blank);--el-button-disabled-border-color:var(--el-border-color-light);--el-button-divide-border-color:rgba(255,255,255,.5);--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-color-primary-light-9);--el-button-hover-border-color:var(--el-color-primary-light-7);--el-button-active-text-color:var(--el-button-hover-text-color);--el-button-active-border-color:var(--el-color-primary);--el-button-active-bg-color:var(--el-button-hover-bg-color);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-hover-link-text-color:var(--el-text-color-secondary);--el-button-active-color:var(--el-text-color-primary);align-items:center;-webkit-appearance:none;background-color:var(--el-button-bg-color);border:var(--el-border);border-color:var(--el-button-border-color);box-sizing:border-box;color:var(--el-button-text-color);cursor:pointer;display:inline-flex;font-weight:var(--el-button-font-weight);height:32px;justify-content:center;line-height:1;outline:none;text-align:center;transition:.1s;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-button:hover{background-color:var(--el-button-hover-bg-color);border-color:var(--el-button-hover-border-color);color:var(--el-button-hover-text-color);outline:none}.el-button:active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button:focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button>span{align-items:center;display:inline-flex}.el-button+.el-button{margin-left:12px}.el-button{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base)}.el-button,.el-button.is-round{padding:8px 15px}.el-button::-moz-focus-inner{border:0}.el-button [class*=el-icon]+span{margin-left:6px}.el-button [class*=el-icon] svg{vertical-align:bottom}.el-button.is-plain{--el-button-hover-text-color:var(--el-color-primary);--el-button-hover-bg-color:var(--el-fill-color-blank);--el-button-hover-border-color:var(--el-color-primary)}.el-button.is-active{background-color:var(--el-button-active-bg-color);border-color:var(--el-button-active-border-color);color:var(--el-button-active-text-color);outline:none}.el-button.is-disabled,.el-button.is-disabled:hover{background-color:var(--el-button-disabled-bg-color);background-image:none;border-color:var(--el-button-disabled-border-color);color:var(--el-button-disabled-text-color);cursor:not-allowed}.el-button.is-loading{pointer-events:none;position:relative}.el-button.is-loading:before{background-color:var(--el-mask-color-extra-light);border-radius:inherit;bottom:-1px;content:"";left:-1px;pointer-events:none;position:absolute;right:-1px;top:-1px;z-index:1}.el-button.is-round{border-radius:var(--el-border-radius-round)}.el-button.is-circle{border-radius:50%;padding:8px;width:32px}.el-button.is-text{background-color:transparent;border:0 solid transparent;color:var(--el-button-text-color)}.el-button.is-text.is-disabled{background-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-text:not(.is-disabled):hover{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled):focus-visible{outline:2px solid var(--el-button-outline-color);outline-offset:1px;transition:outline-offset 0s,outline 0s}.el-button.is-text:not(.is-disabled):active{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg{background-color:var(--el-fill-color-light)}.el-button.is-text:not(.is-disabled).is-has-bg:hover{background-color:var(--el-fill-color)}.el-button.is-text:not(.is-disabled).is-has-bg:active{background-color:var(--el-fill-color-dark)}.el-button__text--expand{letter-spacing:.3em;margin-right:-.3em}.el-button.is-link{background:transparent;border-color:transparent;color:var(--el-button-text-color);height:auto;padding:2px}.el-button.is-link:hover{color:var(--el-button-hover-link-text-color)}.el-button.is-link.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button.is-link:not(.is-disabled):active,.el-button.is-link:not(.is-disabled):hover{background-color:transparent;border-color:transparent}.el-button.is-link:not(.is-disabled):active{color:var(--el-button-active-color)}.el-button--text{background:transparent;border-color:transparent;color:var(--el-color-primary);padding-left:0;padding-right:0}.el-button--text.is-disabled{background-color:transparent!important;border-color:transparent!important;color:var(--el-button-disabled-text-color)}.el-button--text:not(.is-disabled):hover{background-color:transparent;border-color:transparent;color:var(--el-color-primary-light-3)}.el-button--text:not(.is-disabled):active{background-color:transparent;border-color:transparent;color:var(--el-color-primary-dark-2)}.el-button__link--expand{letter-spacing:.3em;margin-right:-.3em}.el-button--primary{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-primary);--el-button-border-color:var(--el-color-primary);--el-button-outline-color:var(--el-color-primary-light-5);--el-button-active-color:var(--el-color-primary-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-primary-light-5);--el-button-hover-bg-color:var(--el-color-primary-light-3);--el-button-hover-border-color:var(--el-color-primary-light-3);--el-button-active-bg-color:var(--el-color-primary-dark-2);--el-button-active-border-color:var(--el-color-primary-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-primary-light-5);--el-button-disabled-border-color:var(--el-color-primary-light-5)}.el-button--primary.is-link,.el-button--primary.is-plain,.el-button--primary.is-text{--el-button-text-color:var(--el-color-primary);--el-button-bg-color:var(--el-color-primary-light-9);--el-button-border-color:var(--el-color-primary-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-primary);--el-button-hover-border-color:var(--el-color-primary);--el-button-active-text-color:var(--el-color-white)}.el-button--primary.is-link.is-disabled,.el-button--primary.is-link.is-disabled:active,.el-button--primary.is-link.is-disabled:focus,.el-button--primary.is-link.is-disabled:hover,.el-button--primary.is-plain.is-disabled,.el-button--primary.is-plain.is-disabled:active,.el-button--primary.is-plain.is-disabled:focus,.el-button--primary.is-plain.is-disabled:hover,.el-button--primary.is-text.is-disabled,.el-button--primary.is-text.is-disabled:active,.el-button--primary.is-text.is-disabled:focus,.el-button--primary.is-text.is-disabled:hover{background-color:var(--el-color-primary-light-9);border-color:var(--el-color-primary-light-8);color:var(--el-color-primary-light-5)}.el-button--success{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-success);--el-button-border-color:var(--el-color-success);--el-button-outline-color:var(--el-color-success-light-5);--el-button-active-color:var(--el-color-success-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-success-light-5);--el-button-hover-bg-color:var(--el-color-success-light-3);--el-button-hover-border-color:var(--el-color-success-light-3);--el-button-active-bg-color:var(--el-color-success-dark-2);--el-button-active-border-color:var(--el-color-success-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-success-light-5);--el-button-disabled-border-color:var(--el-color-success-light-5)}.el-button--success.is-link,.el-button--success.is-plain,.el-button--success.is-text{--el-button-text-color:var(--el-color-success);--el-button-bg-color:var(--el-color-success-light-9);--el-button-border-color:var(--el-color-success-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-success);--el-button-hover-border-color:var(--el-color-success);--el-button-active-text-color:var(--el-color-white)}.el-button--success.is-link.is-disabled,.el-button--success.is-link.is-disabled:active,.el-button--success.is-link.is-disabled:focus,.el-button--success.is-link.is-disabled:hover,.el-button--success.is-plain.is-disabled,.el-button--success.is-plain.is-disabled:active,.el-button--success.is-plain.is-disabled:focus,.el-button--success.is-plain.is-disabled:hover,.el-button--success.is-text.is-disabled,.el-button--success.is-text.is-disabled:active,.el-button--success.is-text.is-disabled:focus,.el-button--success.is-text.is-disabled:hover{background-color:var(--el-color-success-light-9);border-color:var(--el-color-success-light-8);color:var(--el-color-success-light-5)}.el-button--warning{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-warning);--el-button-border-color:var(--el-color-warning);--el-button-outline-color:var(--el-color-warning-light-5);--el-button-active-color:var(--el-color-warning-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-warning-light-5);--el-button-hover-bg-color:var(--el-color-warning-light-3);--el-button-hover-border-color:var(--el-color-warning-light-3);--el-button-active-bg-color:var(--el-color-warning-dark-2);--el-button-active-border-color:var(--el-color-warning-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-warning-light-5);--el-button-disabled-border-color:var(--el-color-warning-light-5)}.el-button--warning.is-link,.el-button--warning.is-plain,.el-button--warning.is-text{--el-button-text-color:var(--el-color-warning);--el-button-bg-color:var(--el-color-warning-light-9);--el-button-border-color:var(--el-color-warning-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-warning);--el-button-hover-border-color:var(--el-color-warning);--el-button-active-text-color:var(--el-color-white)}.el-button--warning.is-link.is-disabled,.el-button--warning.is-link.is-disabled:active,.el-button--warning.is-link.is-disabled:focus,.el-button--warning.is-link.is-disabled:hover,.el-button--warning.is-plain.is-disabled,.el-button--warning.is-plain.is-disabled:active,.el-button--warning.is-plain.is-disabled:focus,.el-button--warning.is-plain.is-disabled:hover,.el-button--warning.is-text.is-disabled,.el-button--warning.is-text.is-disabled:active,.el-button--warning.is-text.is-disabled:focus,.el-button--warning.is-text.is-disabled:hover{background-color:var(--el-color-warning-light-9);border-color:var(--el-color-warning-light-8);color:var(--el-color-warning-light-5)}.el-button--danger{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-danger);--el-button-border-color:var(--el-color-danger);--el-button-outline-color:var(--el-color-danger-light-5);--el-button-active-color:var(--el-color-danger-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-danger-light-5);--el-button-hover-bg-color:var(--el-color-danger-light-3);--el-button-hover-border-color:var(--el-color-danger-light-3);--el-button-active-bg-color:var(--el-color-danger-dark-2);--el-button-active-border-color:var(--el-color-danger-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-danger-light-5);--el-button-disabled-border-color:var(--el-color-danger-light-5)}.el-button--danger.is-link,.el-button--danger.is-plain,.el-button--danger.is-text{--el-button-text-color:var(--el-color-danger);--el-button-bg-color:var(--el-color-danger-light-9);--el-button-border-color:var(--el-color-danger-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-danger);--el-button-hover-border-color:var(--el-color-danger);--el-button-active-text-color:var(--el-color-white)}.el-button--danger.is-link.is-disabled,.el-button--danger.is-link.is-disabled:active,.el-button--danger.is-link.is-disabled:focus,.el-button--danger.is-link.is-disabled:hover,.el-button--danger.is-plain.is-disabled,.el-button--danger.is-plain.is-disabled:active,.el-button--danger.is-plain.is-disabled:focus,.el-button--danger.is-plain.is-disabled:hover,.el-button--danger.is-text.is-disabled,.el-button--danger.is-text.is-disabled:active,.el-button--danger.is-text.is-disabled:focus,.el-button--danger.is-text.is-disabled:hover{background-color:var(--el-color-danger-light-9);border-color:var(--el-color-danger-light-8);color:var(--el-color-danger-light-5)}.el-button--info{--el-button-text-color:var(--el-color-white);--el-button-bg-color:var(--el-color-info);--el-button-border-color:var(--el-color-info);--el-button-outline-color:var(--el-color-info-light-5);--el-button-active-color:var(--el-color-info-dark-2);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-link-text-color:var(--el-color-info-light-5);--el-button-hover-bg-color:var(--el-color-info-light-3);--el-button-hover-border-color:var(--el-color-info-light-3);--el-button-active-bg-color:var(--el-color-info-dark-2);--el-button-active-border-color:var(--el-color-info-dark-2);--el-button-disabled-text-color:var(--el-color-white);--el-button-disabled-bg-color:var(--el-color-info-light-5);--el-button-disabled-border-color:var(--el-color-info-light-5)}.el-button--info.is-link,.el-button--info.is-plain,.el-button--info.is-text{--el-button-text-color:var(--el-color-info);--el-button-bg-color:var(--el-color-info-light-9);--el-button-border-color:var(--el-color-info-light-5);--el-button-hover-text-color:var(--el-color-white);--el-button-hover-bg-color:var(--el-color-info);--el-button-hover-border-color:var(--el-color-info);--el-button-active-text-color:var(--el-color-white)}.el-button--info.is-link.is-disabled,.el-button--info.is-link.is-disabled:active,.el-button--info.is-link.is-disabled:focus,.el-button--info.is-link.is-disabled:hover,.el-button--info.is-plain.is-disabled,.el-button--info.is-plain.is-disabled:active,.el-button--info.is-plain.is-disabled:focus,.el-button--info.is-plain.is-disabled:hover,.el-button--info.is-text.is-disabled,.el-button--info.is-text.is-disabled:active,.el-button--info.is-text.is-disabled:focus,.el-button--info.is-text.is-disabled:hover{background-color:var(--el-color-info-light-9);border-color:var(--el-color-info-light-8);color:var(--el-color-info-light-5)}.el-button--large{--el-button-size:40px;height:var(--el-button-size)}.el-button--large [class*=el-icon]+span{margin-left:8px}.el-button--large{border-radius:var(--el-border-radius-base);font-size:var(--el-font-size-base);padding:12px 19px}.el-button--large.is-round{padding:12px 19px}.el-button--large.is-circle{padding:12px;width:var(--el-button-size)}.el-button--small{--el-button-size:24px;height:var(--el-button-size)}.el-button--small [class*=el-icon]+span{margin-left:4px}.el-button--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:12px;padding:5px 11px}.el-button--small.is-round{padding:5px 11px}.el-button--small.is-circle{padding:5px;width:var(--el-button-size)}.el-calendar{--el-calendar-border:var(--el-table-border,1px solid var(--el-border-color-lighter));--el-calendar-header-border-bottom:var(--el-calendar-border);--el-calendar-selected-bg-color:var(--el-color-primary-light-9);--el-calendar-cell-width:85px;background-color:var(--el-fill-color-blank)}.el-calendar__header{border-bottom:var(--el-calendar-header-border-bottom);display:flex;justify-content:space-between;padding:12px 20px}.el-calendar__title{align-self:center;color:var(--el-text-color)}.el-calendar__body{padding:12px 20px 35px}.el-calendar__select-controller .el-select{margin-right:8px}.el-calendar__select-controller .el-calendar-select__year{width:120px}.el-calendar__select-controller .el-calendar-select__month{width:60px}.el-calendar-table{table-layout:fixed;width:100%}.el-calendar-table thead th{color:var(--el-text-color-regular);font-weight:400;padding:12px 0}.el-calendar-table:not(.is-range) td.next,.el-calendar-table:not(.is-range) td.prev{color:var(--el-text-color-placeholder)}.el-calendar-table td{border-bottom:var(--el-calendar-border);border-right:var(--el-calendar-border);transition:background-color var(--el-transition-duration-fast) ease;vertical-align:top}.el-calendar-table td.is-selected{background-color:var(--el-calendar-selected-bg-color)}.el-calendar-table td.is-today{color:var(--el-color-primary)}.el-calendar-table tr:first-child td{border-top:var(--el-calendar-border)}.el-calendar-table tr td:first-child{border-left:var(--el-calendar-border)}.el-calendar-table tr.el-calendar-table__row--hide-border td{border-top:none}.el-calendar-table .el-calendar-day{box-sizing:border-box;height:var(--el-calendar-cell-width);padding:8px}.el-calendar-table .el-calendar-day:hover{background-color:var(--el-calendar-selected-bg-color);cursor:pointer}.el-card{--el-card-border-color:var(--el-border-color-light);--el-card-border-radius:4px;--el-card-padding:20px;--el-card-bg-color:var(--el-fill-color-blank);background-color:var(--el-card-bg-color);border:1px solid var(--el-card-border-color);border-radius:var(--el-card-border-radius);color:var(--el-text-color-primary);display:flex;flex-direction:column;overflow:hidden;transition:var(--el-transition-duration)}.el-card.is-always-shadow,.el-card.is-hover-shadow:focus,.el-card.is-hover-shadow:hover{box-shadow:var(--el-box-shadow-light)}.el-card__header{border-bottom:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-card__body{flex:1;overflow:auto;padding:var(--el-card-padding)}.el-card__footer{border-top:1px solid var(--el-card-border-color);box-sizing:border-box;padding:calc(var(--el-card-padding) - 2px) var(--el-card-padding)}.el-carousel__item{display:inline-block;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%}.el-carousel__item,.el-carousel__item.is-active{z-index:calc(var(--el-index-normal) - 1)}.el-carousel__item--card,.el-carousel__item.is-animating{transition:transform .4s ease-in-out}.el-carousel__item--card{width:50%}.el-carousel__item--card.is-in-stage{cursor:pointer;z-index:var(--el-index-normal)}.el-carousel__item--card.is-in-stage.is-hover .el-carousel__mask,.el-carousel__item--card.is-in-stage:hover .el-carousel__mask{opacity:.12}.el-carousel__item--card.is-active{z-index:calc(var(--el-index-normal) + 1)}.el-carousel__item--card-vertical{height:50%;width:100%}.el-carousel__mask{background-color:var(--el-color-white);height:100%;left:0;opacity:.24;position:absolute;top:0;transition:var(--el-transition-duration-fast);width:100%}.el-carousel{--el-carousel-arrow-font-size:12px;--el-carousel-arrow-size:36px;--el-carousel-arrow-background:rgba(31,45,61,.11);--el-carousel-arrow-hover-background:rgba(31,45,61,.23);--el-carousel-indicator-width:30px;--el-carousel-indicator-height:2px;--el-carousel-indicator-padding-horizontal:4px;--el-carousel-indicator-padding-vertical:12px;--el-carousel-indicator-out-color:var(--el-border-color-hover);position:relative}.el-carousel--horizontal,.el-carousel--vertical{overflow:hidden}.el-carousel__container{height:300px;position:relative}.el-carousel__arrow{align-items:center;background-color:var(--el-carousel-arrow-background);border:none;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;font-size:var(--el-carousel-arrow-font-size);height:var(--el-carousel-arrow-size);justify-content:center;margin:0;outline:none;padding:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);transition:var(--el-transition-duration);width:var(--el-carousel-arrow-size);z-index:10}.el-carousel__arrow--left{left:16px}.el-carousel__arrow--right{right:16px}.el-carousel__arrow:hover{background-color:var(--el-carousel-arrow-hover-background)}.el-carousel__arrow i{cursor:pointer}.el-carousel__indicators{list-style:none;margin:0;padding:0;position:absolute;z-index:calc(var(--el-index-normal) + 1)}.el-carousel__indicators--horizontal{bottom:0;left:50%;transform:translate(-50%)}.el-carousel__indicators--vertical{right:0;top:50%;transform:translateY(-50%)}.el-carousel__indicators--outside{bottom:calc(var(--el-carousel-indicator-height) + var(--el-carousel-indicator-padding-vertical)*2);position:static;text-align:center;transform:none}.el-carousel__indicators--outside .el-carousel__indicator:hover button{opacity:.64}.el-carousel__indicators--outside button{background-color:var(--el-carousel-indicator-out-color);opacity:.24}.el-carousel__indicators--right{right:0}.el-carousel__indicators--labels{left:0;right:0;text-align:center;transform:none}.el-carousel__indicators--labels .el-carousel__button{color:#000;font-size:12px;height:auto;padding:2px 18px;width:auto}.el-carousel__indicators--labels .el-carousel__indicator{padding:6px 4px}.el-carousel__indicator{background-color:transparent;cursor:pointer}.el-carousel__indicator:hover button{opacity:.72}.el-carousel__indicator--horizontal{display:inline-block;padding:var(--el-carousel-indicator-padding-vertical) var(--el-carousel-indicator-padding-horizontal)}.el-carousel__indicator--vertical{padding:var(--el-carousel-indicator-padding-horizontal) var(--el-carousel-indicator-padding-vertical)}.el-carousel__indicator--vertical .el-carousel__button{height:calc(var(--el-carousel-indicator-width)/2);width:var(--el-carousel-indicator-height)}.el-carousel__indicator.is-active button{opacity:1}.el-carousel__button{background-color:#fff;border:none;cursor:pointer;display:block;height:var(--el-carousel-indicator-height);margin:0;opacity:.48;outline:none;padding:0;transition:var(--el-transition-duration);width:var(--el-carousel-indicator-width)}.carousel-arrow-left-enter-from,.carousel-arrow-left-leave-active{opacity:0;transform:translateY(-50%) translate(-10px)}.carousel-arrow-right-enter-from,.carousel-arrow-right-leave-active{opacity:0;transform:translateY(-50%) translate(10px)}.el-transitioning{filter:url(#elCarouselHorizontal)}.el-transitioning-vertical{filter:url(#elCarouselVertical)}.el-cascader-panel{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);display:flex;font-size:var(--el-cascader-menu-font-size);width:-moz-fit-content;width:fit-content}.el-cascader-panel.is-bordered{border:var(--el-cascader-menu-border);border-radius:var(--el-cascader-menu-radius)}.el-cascader-menu{border-right:var(--el-cascader-menu-border);box-sizing:border-box;color:var(--el-cascader-menu-text-color);min-width:180px}.el-cascader-menu:last-child{border-right:none}.el-cascader-menu:last-child .el-cascader-node{padding-right:20px}.el-cascader-menu__wrap.el-scrollbar__wrap{height:204px}.el-cascader-menu__list{box-sizing:border-box;list-style:none;margin:0;min-height:100%;padding:6px 0;position:relative}.el-cascader-menu__hover-zone{height:100%;left:0;pointer-events:none;position:absolute;top:0;width:100%}.el-cascader-menu__empty-text{align-items:center;color:var(--el-cascader-color-empty);display:flex;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-cascader-menu__empty-text .is-loading{margin-right:2px}.el-cascader-node{align-items:center;display:flex;height:34px;line-height:34px;outline:none;padding:0 30px 0 20px;position:relative}.el-cascader-node.is-selectable.in-active-path{color:var(--el-cascader-menu-text-color)}.el-cascader-node.in-active-path,.el-cascader-node.is-active,.el-cascader-node.is-selectable.in-checked-path{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader-node:not(.is-disabled){cursor:pointer}.el-cascader-node:not(.is-disabled):focus,.el-cascader-node:not(.is-disabled):hover{background:var(--el-cascader-node-background-hover)}.el-cascader-node.is-disabled{color:var(--el-cascader-node-color-disabled);cursor:not-allowed}.el-cascader-node__prefix{left:10px;position:absolute}.el-cascader-node__postfix{position:absolute;right:10px}.el-cascader-node__label{flex:1;overflow:hidden;padding:0 8px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.el-cascader-node>.el-checkbox,.el-cascader-node>.el-radio{margin-right:0}.el-cascader-node>.el-radio .el-radio__label{padding-left:0}.el-cascader{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);display:inline-block;font-size:var(--el-font-size-base);line-height:32px;outline:none;position:relative;vertical-align:middle}.el-cascader:not(.is-disabled):hover .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset;cursor:pointer}.el-cascader .el-input{cursor:pointer;display:flex}.el-cascader .el-input .el-input__inner{text-overflow:ellipsis}.el-cascader .el-input .el-input__inner:-moz-read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:read-only{cursor:pointer}.el-cascader .el-input .el-input__inner:disabled{cursor:not-allowed}.el-cascader .el-input .el-input__suffix-inner .el-icon svg{vertical-align:middle}.el-cascader .el-input .icon-arrow-down{font-size:14px;transition:transform var(--el-transition-duration)}.el-cascader .el-input .icon-arrow-down.is-reverse{transform:rotate(180deg)}.el-cascader .el-input .icon-circle-close:hover{color:var(--el-input-clear-hover-color,var(--el-text-color-secondary))}.el-cascader .el-input.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-cascader--large{font-size:14px;line-height:40px}.el-cascader--large .el-cascader__tags{gap:6px;padding:8px}.el-cascader--large .el-cascader__search-input{height:24px;margin-left:7px}.el-cascader--small{font-size:12px;line-height:24px}.el-cascader--small .el-cascader__tags{gap:4px;padding:2px}.el-cascader--small .el-cascader__search-input{height:20px;margin-left:5px}.el-cascader.is-disabled .el-cascader__label{color:var(--el-disabled-text-color);z-index:calc(var(--el-index-normal) + 1)}.el-cascader__dropdown{--el-cascader-menu-text-color:var(--el-text-color-regular);--el-cascader-menu-selected-text-color:var(--el-color-primary);--el-cascader-menu-fill:var(--el-bg-color-overlay);--el-cascader-menu-font-size:var(--el-font-size-base);--el-cascader-menu-radius:var(--el-border-radius-base);--el-cascader-menu-border:solid 1px var(--el-border-color-light);--el-cascader-menu-shadow:var(--el-box-shadow-light);--el-cascader-node-background-hover:var(--el-fill-color-light);--el-cascader-node-color-disabled:var(--el-text-color-placeholder);--el-cascader-color-empty:var(--el-text-color-placeholder);--el-cascader-tag-background:var(--el-fill-color);border-radius:var(--el-cascader-menu-radius);font-size:var(--el-cascader-menu-font-size)}.el-cascader__dropdown.el-popper{background:var(--el-cascader-menu-fill)}.el-cascader__dropdown.el-popper,.el-cascader__dropdown.el-popper .el-popper__arrow:before{border:var(--el-cascader-menu-border)}.el-cascader__dropdown.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-cascader__dropdown.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-cascader__dropdown.el-popper{box-shadow:var(--el-cascader-menu-shadow)}.el-cascader__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-cascader__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-cascader__tags{box-sizing:border-box;display:flex;flex-wrap:wrap;gap:6px;left:0;line-height:normal;padding:4px;position:absolute;right:30px;text-align:left;top:50%;transform:translateY(-50%)}.el-cascader__tags .el-tag{align-items:center;background:var(--el-cascader-tag-background);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__tags .el-tag.el-tag--dark,.el-cascader__tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__tags .el-tag>span{flex:1;line-height:normal;overflow:hidden;text-overflow:ellipsis}.el-cascader__tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__tags .el-tag+input{margin-left:0}.el-cascader__tags.is-validate{right:55px}.el-cascader__collapse-tags{white-space:normal;z-index:var(--el-index-normal)}.el-cascader__collapse-tags .el-tag{align-items:center;background:var(--el-fill-color);display:inline-flex;max-width:100%;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag.el-tag--dark,.el-cascader__collapse-tags .el-tag.el-tag--plain{background-color:var(--el-tag-bg-color)}.el-cascader__collapse-tags .el-tag:not(.is-hit){border-color:transparent}.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--dark,.el-cascader__collapse-tags .el-tag:not(.is-hit).el-tag--plain{border-color:var(--el-tag-border-color)}.el-cascader__collapse-tags .el-tag>span{flex:1;line-height:normal;overflow:hidden;text-overflow:ellipsis}.el-cascader__collapse-tags .el-tag .el-icon-close{background-color:var(--el-text-color-placeholder);color:var(--el-color-white);flex:none}.el-cascader__collapse-tags .el-tag .el-icon-close:hover{background-color:var(--el-text-color-secondary)}.el-cascader__collapse-tags .el-tag+input{margin-left:0}.el-cascader__collapse-tags .el-tag{margin:2px 0}.el-cascader__suggestion-panel{border-radius:var(--el-cascader-menu-radius)}.el-cascader__suggestion-list{color:var(--el-cascader-menu-text-color);font-size:var(--el-font-size-base);margin:0;max-height:204px;padding:6px 0;text-align:center}.el-cascader__suggestion-item{align-items:center;cursor:pointer;display:flex;height:34px;justify-content:space-between;outline:none;padding:0 15px;text-align:left}.el-cascader__suggestion-item:focus,.el-cascader__suggestion-item:hover{background:var(--el-cascader-node-background-hover)}.el-cascader__suggestion-item.is-checked{color:var(--el-cascader-menu-selected-text-color);font-weight:700}.el-cascader__suggestion-item>span{margin-right:10px}.el-cascader__empty-text{color:var(--el-cascader-color-empty);margin:10px 0}.el-cascader__search-input{background:transparent;border:none;box-sizing:border-box;color:var(--el-cascader-menu-text-color);flex:1;height:24px;margin-left:7px;min-width:60px;outline:none;padding:0}.el-cascader__search-input::-moz-placeholder{color:transparent}.el-cascader__search-input::placeholder{color:transparent}.el-check-tag{background-color:var(--el-color-info-light-9);border-radius:var(--el-border-radius-base);color:var(--el-color-info);cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:700;line-height:var(--el-font-size-base);padding:7px 15px;transition:var(--el-transition-all)}.el-check-tag:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--primary.is-checked{background-color:var(--el-color-primary-light-8);color:var(--el-color-primary)}.el-check-tag.el-check-tag--primary.is-checked:hover{background-color:var(--el-color-primary-light-7)}.el-check-tag.el-check-tag--primary.is-checked.is-disabled{background-color:var(--el-color-primary-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-checked.is-disabled:hover{background-color:var(--el-color-primary-light-8)}.el-check-tag.el-check-tag--primary.is-disabled{background-color:var(--el-color-info-light-9);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--primary.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-check-tag.el-check-tag--success.is-checked{background-color:var(--el-color-success-light-8);color:var(--el-color-success)}.el-check-tag.el-check-tag--success.is-checked:hover{background-color:var(--el-color-success-light-7)}.el-check-tag.el-check-tag--success.is-checked.is-disabled{background-color:var(--el-color-success-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-checked.is-disabled:hover{background-color:var(--el-color-success-light-8)}.el-check-tag.el-check-tag--success.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--success.is-disabled,.el-check-tag.el-check-tag--success.is-disabled:hover{background-color:var(--el-color-success-light-9)}.el-check-tag.el-check-tag--warning.is-checked{background-color:var(--el-color-warning-light-8);color:var(--el-color-warning)}.el-check-tag.el-check-tag--warning.is-checked:hover{background-color:var(--el-color-warning-light-7)}.el-check-tag.el-check-tag--warning.is-checked.is-disabled{background-color:var(--el-color-warning-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-checked.is-disabled:hover{background-color:var(--el-color-warning-light-8)}.el-check-tag.el-check-tag--warning.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--warning.is-disabled,.el-check-tag.el-check-tag--warning.is-disabled:hover{background-color:var(--el-color-warning-light-9)}.el-check-tag.el-check-tag--danger.is-checked{background-color:var(--el-color-danger-light-8);color:var(--el-color-danger)}.el-check-tag.el-check-tag--danger.is-checked:hover{background-color:var(--el-color-danger-light-7)}.el-check-tag.el-check-tag--danger.is-checked.is-disabled{background-color:var(--el-color-danger-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-checked.is-disabled:hover{background-color:var(--el-color-danger-light-8)}.el-check-tag.el-check-tag--danger.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--danger.is-disabled,.el-check-tag.el-check-tag--danger.is-disabled:hover{background-color:var(--el-color-danger-light-9)}.el-check-tag.el-check-tag--error.is-checked{background-color:var(--el-color-error-light-8);color:var(--el-color-error)}.el-check-tag.el-check-tag--error.is-checked:hover{background-color:var(--el-color-error-light-7)}.el-check-tag.el-check-tag--error.is-checked.is-disabled{background-color:var(--el-color-error-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-checked.is-disabled:hover{background-color:var(--el-color-error-light-8)}.el-check-tag.el-check-tag--error.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--error.is-disabled,.el-check-tag.el-check-tag--error.is-disabled:hover{background-color:var(--el-color-error-light-9)}.el-check-tag.el-check-tag--info.is-checked{background-color:var(--el-color-info-light-8);color:var(--el-color-info)}.el-check-tag.el-check-tag--info.is-checked:hover{background-color:var(--el-color-info-light-7)}.el-check-tag.el-check-tag--info.is-checked.is-disabled{background-color:var(--el-color-info-light-8);color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-checked.is-disabled:hover{background-color:var(--el-color-info-light-8)}.el-check-tag.el-check-tag--info.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-check-tag.el-check-tag--info.is-disabled,.el-check-tag.el-check-tag--info.is-disabled:hover{background-color:var(--el-color-info-light-9)}.el-checkbox-button{--el-checkbox-button-checked-bg-color:var(--el-color-primary);--el-checkbox-button-checked-text-color:var(--el-color-white);--el-checkbox-button-checked-border-color:var(--el-color-primary);display:inline-block;position:relative}.el-checkbox-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);line-height:1;margin:0;outline:var(--el-border);padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-checkbox-button__inner.is-round{padding:8px 15px}.el-checkbox-button__inner:hover{color:var(--el-color-primary)}.el-checkbox-button__inner [class*=el-icon-]{line-height:.9}.el-checkbox-button__inner [class*=el-icon-]+span{margin-left:5px}.el-checkbox-button__original{margin:0;opacity:0;outline:none;position:absolute;z-index:-1}.el-checkbox-button.is-checked .el-checkbox-button__inner{background-color:var(--el-checkbox-button-checked-bg-color);border-color:var(--el-checkbox-button-checked-border-color);box-shadow:-1px 0 0 0 var(--el-color-primary-light-7);color:var(--el-checkbox-button-checked-text-color)}.el-checkbox-button.is-checked:first-child .el-checkbox-button__inner{border-left-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button.is-disabled .el-checkbox-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox-button.is-disabled:first-child .el-checkbox-button__inner{border-left-color:var(--el-button-disabled-border-color,var(--el-border-color-light))}.el-checkbox-button:first-child .el-checkbox-button__inner{border-bottom-left-radius:var(--el-border-radius-base);border-top-left-radius:var(--el-border-radius-base);box-shadow:none!important}.el-checkbox-button.is-focus .el-checkbox-button__inner{border-color:var(--el-checkbox-button-checked-border-color)}.el-checkbox-button:last-child .el-checkbox-button__inner{border-bottom-right-radius:var(--el-border-radius-base);border-top-right-radius:var(--el-border-radius-base)}.el-checkbox-button--large .el-checkbox-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-checkbox-button--large .el-checkbox-button__inner.is-round{padding:12px 19px}.el-checkbox-button--small .el-checkbox-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-checkbox-button--small .el-checkbox-button__inner.is-round{padding:5px 11px}.el-checkbox-group{font-size:0;line-height:0}.el-checkbox{--el-checkbox-font-size:14px;--el-checkbox-font-weight:var(--el-font-weight-primary);--el-checkbox-text-color:var(--el-text-color-regular);--el-checkbox-input-height:14px;--el-checkbox-input-width:14px;--el-checkbox-border-radius:var(--el-border-radius-small);--el-checkbox-bg-color:var(--el-fill-color-blank);--el-checkbox-input-border:var(--el-border);--el-checkbox-disabled-border-color:var(--el-border-color);--el-checkbox-disabled-input-fill:var(--el-fill-color-light);--el-checkbox-disabled-icon-color:var(--el-text-color-placeholder);--el-checkbox-disabled-checked-input-fill:var(--el-border-color-extra-light);--el-checkbox-disabled-checked-input-border-color:var(--el-border-color);--el-checkbox-disabled-checked-icon-color:var(--el-text-color-placeholder);--el-checkbox-checked-text-color:var(--el-color-primary);--el-checkbox-checked-input-border-color:var(--el-color-primary);--el-checkbox-checked-bg-color:var(--el-color-primary);--el-checkbox-checked-icon-color:var(--el-color-white);--el-checkbox-input-border-color-hover:var(--el-color-primary);align-items:center;color:var(--el-checkbox-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-checkbox-font-weight);height:var(--el-checkbox-height,32px);margin-right:30px;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-checkbox.is-disabled{cursor:not-allowed}.el-checkbox.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-checkbox.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-checkbox.is-bordered.is-disabled{border-color:var(--el-border-color-lighter)}.el-checkbox.is-bordered.el-checkbox--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__label{font-size:var(--el-font-size-base)}.el-checkbox.is-bordered.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.is-bordered.el-checkbox--small{border-radius:calc(var(--el-border-radius-base) - 1px);padding:0 11px 0 7px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.is-bordered.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox input:focus-visible+.el-checkbox__inner{border-radius:var(--el-checkbox-border-radius);outline:2px solid var(--el-checkbox-input-border-color-hover);outline-offset:1px}.el-checkbox__input{cursor:pointer;display:inline-flex;outline:none;position:relative;white-space:nowrap}.el-checkbox__input.is-disabled .el-checkbox__inner{background-color:var(--el-checkbox-disabled-input-fill);border-color:var(--el-checkbox-disabled-border-color);cursor:not-allowed}.el-checkbox__input.is-disabled .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-icon-color);cursor:not-allowed;will-change:transform}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-disabled-checked-input-fill);border-color:var(--el-checkbox-disabled-checked-input-border-color)}.el-checkbox__input.is-disabled.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-disabled-checked-icon-color);border-color:var(--el-checkbox-disabled-checked-icon-color)}.el-checkbox__input.is-disabled+span.el-checkbox__label{color:var(--el-disabled-text-color);cursor:not-allowed}.el-checkbox__input.is-checked .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-checked .el-checkbox__inner:after{border-color:var(--el-checkbox-checked-icon-color);transform:translate(-45%,-60%) rotate(45deg) scaleY(1)}.el-checkbox__input.is-checked+.el-checkbox__label{color:var(--el-checkbox-checked-text-color)}.el-checkbox__input.is-focus:not(.is-checked) .el-checkbox__original:not(:focus-visible){border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__input.is-indeterminate .el-checkbox__inner{background-color:var(--el-checkbox-checked-bg-color);border-color:var(--el-checkbox-checked-input-border-color)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:before{background-color:var(--el-checkbox-checked-icon-color);content:"";display:block;height:2px;left:0;position:absolute;right:0;top:5px;transform:scale(.5)}.el-checkbox__input.is-indeterminate .el-checkbox__inner:after{display:none}.el-checkbox__inner{background-color:var(--el-checkbox-bg-color);border:var(--el-checkbox-input-border);border-radius:var(--el-checkbox-border-radius);box-sizing:border-box;display:inline-block;height:var(--el-checkbox-input-height);position:relative;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46),outline .25s cubic-bezier(.71,-.46,.29,1.46);width:var(--el-checkbox-input-width);z-index:var(--el-index-normal)}.el-checkbox__inner:hover{border-color:var(--el-checkbox-input-border-color-hover)}.el-checkbox__inner:after{border:1px solid transparent;border-left:0;border-top:0;box-sizing:content-box;content:"";height:7px;left:50%;position:absolute;top:50%;transform:translate(-45%,-60%) rotate(45deg) scaleY(0);transform-origin:center;transition:transform .15s ease-in .05s;width:3px}.el-checkbox__original{height:0;margin:0;opacity:0;outline:none;position:absolute;width:0;z-index:-1}.el-checkbox__label{display:inline-block;font-size:var(--el-checkbox-font-size);line-height:1;padding-left:8px}.el-checkbox.el-checkbox--large{height:40px}.el-checkbox.el-checkbox--large .el-checkbox__label{font-size:14px}.el-checkbox.el-checkbox--large .el-checkbox__inner{height:14px;width:14px}.el-checkbox.el-checkbox--small{height:24px}.el-checkbox.el-checkbox--small .el-checkbox__label{font-size:12px}.el-checkbox.el-checkbox--small .el-checkbox__inner{height:12px;width:12px}.el-checkbox.el-checkbox--small .el-checkbox__input.is-indeterminate .el-checkbox__inner:before{top:4px}.el-checkbox.el-checkbox--small .el-checkbox__inner:after{height:6px;width:2px}.el-checkbox:last-of-type{margin-right:0}[class*=el-col-]{box-sizing:border-box}[class*=el-col-].is-guttered{display:block;min-height:1px}.el-col-0{flex:0 0 0%;max-width:0}.el-col-0,.el-col-0.is-guttered{display:none}.el-col-offset-0{margin-left:0}.el-col-pull-0{position:relative;right:0}.el-col-push-0{left:0;position:relative}.el-col-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-1,.el-col-1.is-guttered{display:block}.el-col-offset-1{margin-left:4.1666666667%}.el-col-pull-1{position:relative;right:4.1666666667%}.el-col-push-1{left:4.1666666667%;position:relative}.el-col-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-2,.el-col-2.is-guttered{display:block}.el-col-offset-2{margin-left:8.3333333333%}.el-col-pull-2{position:relative;right:8.3333333333%}.el-col-push-2{left:8.3333333333%;position:relative}.el-col-3{flex:0 0 12.5%;max-width:12.5%}.el-col-3,.el-col-3.is-guttered{display:block}.el-col-offset-3{margin-left:12.5%}.el-col-pull-3{position:relative;right:12.5%}.el-col-push-3{left:12.5%;position:relative}.el-col-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-4,.el-col-4.is-guttered{display:block}.el-col-offset-4{margin-left:16.6666666667%}.el-col-pull-4{position:relative;right:16.6666666667%}.el-col-push-4{left:16.6666666667%;position:relative}.el-col-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-5,.el-col-5.is-guttered{display:block}.el-col-offset-5{margin-left:20.8333333333%}.el-col-pull-5{position:relative;right:20.8333333333%}.el-col-push-5{left:20.8333333333%;position:relative}.el-col-6{flex:0 0 25%;max-width:25%}.el-col-6,.el-col-6.is-guttered{display:block}.el-col-offset-6{margin-left:25%}.el-col-pull-6{position:relative;right:25%}.el-col-push-6{left:25%;position:relative}.el-col-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-7,.el-col-7.is-guttered{display:block}.el-col-offset-7{margin-left:29.1666666667%}.el-col-pull-7{position:relative;right:29.1666666667%}.el-col-push-7{left:29.1666666667%;position:relative}.el-col-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-8,.el-col-8.is-guttered{display:block}.el-col-offset-8{margin-left:33.3333333333%}.el-col-pull-8{position:relative;right:33.3333333333%}.el-col-push-8{left:33.3333333333%;position:relative}.el-col-9{flex:0 0 37.5%;max-width:37.5%}.el-col-9,.el-col-9.is-guttered{display:block}.el-col-offset-9{margin-left:37.5%}.el-col-pull-9{position:relative;right:37.5%}.el-col-push-9{left:37.5%;position:relative}.el-col-10{flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-10,.el-col-10.is-guttered{display:block}.el-col-offset-10{margin-left:41.6666666667%}.el-col-pull-10{position:relative;right:41.6666666667%}.el-col-push-10{left:41.6666666667%;position:relative}.el-col-11{flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-11,.el-col-11.is-guttered{display:block}.el-col-offset-11{margin-left:45.8333333333%}.el-col-pull-11{position:relative;right:45.8333333333%}.el-col-push-11{left:45.8333333333%;position:relative}.el-col-12{flex:0 0 50%;max-width:50%}.el-col-12,.el-col-12.is-guttered{display:block}.el-col-offset-12{margin-left:50%}.el-col-pull-12{position:relative;right:50%}.el-col-push-12{left:50%;position:relative}.el-col-13{flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-13,.el-col-13.is-guttered{display:block}.el-col-offset-13{margin-left:54.1666666667%}.el-col-pull-13{position:relative;right:54.1666666667%}.el-col-push-13{left:54.1666666667%;position:relative}.el-col-14{flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-14,.el-col-14.is-guttered{display:block}.el-col-offset-14{margin-left:58.3333333333%}.el-col-pull-14{position:relative;right:58.3333333333%}.el-col-push-14{left:58.3333333333%;position:relative}.el-col-15{flex:0 0 62.5%;max-width:62.5%}.el-col-15,.el-col-15.is-guttered{display:block}.el-col-offset-15{margin-left:62.5%}.el-col-pull-15{position:relative;right:62.5%}.el-col-push-15{left:62.5%;position:relative}.el-col-16{flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-16,.el-col-16.is-guttered{display:block}.el-col-offset-16{margin-left:66.6666666667%}.el-col-pull-16{position:relative;right:66.6666666667%}.el-col-push-16{left:66.6666666667%;position:relative}.el-col-17{flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-17,.el-col-17.is-guttered{display:block}.el-col-offset-17{margin-left:70.8333333333%}.el-col-pull-17{position:relative;right:70.8333333333%}.el-col-push-17{left:70.8333333333%;position:relative}.el-col-18{flex:0 0 75%;max-width:75%}.el-col-18,.el-col-18.is-guttered{display:block}.el-col-offset-18{margin-left:75%}.el-col-pull-18{position:relative;right:75%}.el-col-push-18{left:75%;position:relative}.el-col-19{flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-19,.el-col-19.is-guttered{display:block}.el-col-offset-19{margin-left:79.1666666667%}.el-col-pull-19{position:relative;right:79.1666666667%}.el-col-push-19{left:79.1666666667%;position:relative}.el-col-20{flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-20,.el-col-20.is-guttered{display:block}.el-col-offset-20{margin-left:83.3333333333%}.el-col-pull-20{position:relative;right:83.3333333333%}.el-col-push-20{left:83.3333333333%;position:relative}.el-col-21{flex:0 0 87.5%;max-width:87.5%}.el-col-21,.el-col-21.is-guttered{display:block}.el-col-offset-21{margin-left:87.5%}.el-col-pull-21{position:relative;right:87.5%}.el-col-push-21{left:87.5%;position:relative}.el-col-22{flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-22,.el-col-22.is-guttered{display:block}.el-col-offset-22{margin-left:91.6666666667%}.el-col-pull-22{position:relative;right:91.6666666667%}.el-col-push-22{left:91.6666666667%;position:relative}.el-col-23{flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-23,.el-col-23.is-guttered{display:block}.el-col-offset-23{margin-left:95.8333333333%}.el-col-pull-23{position:relative;right:95.8333333333%}.el-col-push-23{left:95.8333333333%;position:relative}.el-col-24{flex:0 0 100%;max-width:100%}.el-col-24,.el-col-24.is-guttered{display:block}.el-col-offset-24{margin-left:100%}.el-col-pull-24{position:relative;right:100%}.el-col-push-24{left:100%;position:relative}@media only screen and (max-width:767px){.el-col-xs-0{display:none;flex:0 0 0%;max-width:0}.el-col-xs-0.is-guttered{display:none}.el-col-xs-offset-0{margin-left:0}.el-col-xs-pull-0{position:relative;right:0}.el-col-xs-push-0{left:0;position:relative}.el-col-xs-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xs-1,.el-col-xs-1.is-guttered{display:block}.el-col-xs-offset-1{margin-left:4.1666666667%}.el-col-xs-pull-1{position:relative;right:4.1666666667%}.el-col-xs-push-1{left:4.1666666667%;position:relative}.el-col-xs-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xs-2,.el-col-xs-2.is-guttered{display:block}.el-col-xs-offset-2{margin-left:8.3333333333%}.el-col-xs-pull-2{position:relative;right:8.3333333333%}.el-col-xs-push-2{left:8.3333333333%;position:relative}.el-col-xs-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xs-3,.el-col-xs-3.is-guttered{display:block}.el-col-xs-offset-3{margin-left:12.5%}.el-col-xs-pull-3{position:relative;right:12.5%}.el-col-xs-push-3{left:12.5%;position:relative}.el-col-xs-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xs-4,.el-col-xs-4.is-guttered{display:block}.el-col-xs-offset-4{margin-left:16.6666666667%}.el-col-xs-pull-4{position:relative;right:16.6666666667%}.el-col-xs-push-4{left:16.6666666667%;position:relative}.el-col-xs-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xs-5,.el-col-xs-5.is-guttered{display:block}.el-col-xs-offset-5{margin-left:20.8333333333%}.el-col-xs-pull-5{position:relative;right:20.8333333333%}.el-col-xs-push-5{left:20.8333333333%;position:relative}.el-col-xs-6{flex:0 0 25%;max-width:25%}.el-col-xs-6,.el-col-xs-6.is-guttered{display:block}.el-col-xs-offset-6{margin-left:25%}.el-col-xs-pull-6{position:relative;right:25%}.el-col-xs-push-6{left:25%;position:relative}.el-col-xs-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xs-7,.el-col-xs-7.is-guttered{display:block}.el-col-xs-offset-7{margin-left:29.1666666667%}.el-col-xs-pull-7{position:relative;right:29.1666666667%}.el-col-xs-push-7{left:29.1666666667%;position:relative}.el-col-xs-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xs-8,.el-col-xs-8.is-guttered{display:block}.el-col-xs-offset-8{margin-left:33.3333333333%}.el-col-xs-pull-8{position:relative;right:33.3333333333%}.el-col-xs-push-8{left:33.3333333333%;position:relative}.el-col-xs-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xs-9,.el-col-xs-9.is-guttered{display:block}.el-col-xs-offset-9{margin-left:37.5%}.el-col-xs-pull-9{position:relative;right:37.5%}.el-col-xs-push-9{left:37.5%;position:relative}.el-col-xs-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xs-10.is-guttered{display:block}.el-col-xs-offset-10{margin-left:41.6666666667%}.el-col-xs-pull-10{position:relative;right:41.6666666667%}.el-col-xs-push-10{left:41.6666666667%;position:relative}.el-col-xs-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xs-11.is-guttered{display:block}.el-col-xs-offset-11{margin-left:45.8333333333%}.el-col-xs-pull-11{position:relative;right:45.8333333333%}.el-col-xs-push-11{left:45.8333333333%;position:relative}.el-col-xs-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xs-12.is-guttered{display:block}.el-col-xs-offset-12{margin-left:50%}.el-col-xs-pull-12{position:relative;right:50%}.el-col-xs-push-12{left:50%;position:relative}.el-col-xs-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xs-13.is-guttered{display:block}.el-col-xs-offset-13{margin-left:54.1666666667%}.el-col-xs-pull-13{position:relative;right:54.1666666667%}.el-col-xs-push-13{left:54.1666666667%;position:relative}.el-col-xs-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xs-14.is-guttered{display:block}.el-col-xs-offset-14{margin-left:58.3333333333%}.el-col-xs-pull-14{position:relative;right:58.3333333333%}.el-col-xs-push-14{left:58.3333333333%;position:relative}.el-col-xs-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xs-15.is-guttered{display:block}.el-col-xs-offset-15{margin-left:62.5%}.el-col-xs-pull-15{position:relative;right:62.5%}.el-col-xs-push-15{left:62.5%;position:relative}.el-col-xs-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xs-16.is-guttered{display:block}.el-col-xs-offset-16{margin-left:66.6666666667%}.el-col-xs-pull-16{position:relative;right:66.6666666667%}.el-col-xs-push-16{left:66.6666666667%;position:relative}.el-col-xs-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xs-17.is-guttered{display:block}.el-col-xs-offset-17{margin-left:70.8333333333%}.el-col-xs-pull-17{position:relative;right:70.8333333333%}.el-col-xs-push-17{left:70.8333333333%;position:relative}.el-col-xs-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xs-18.is-guttered{display:block}.el-col-xs-offset-18{margin-left:75%}.el-col-xs-pull-18{position:relative;right:75%}.el-col-xs-push-18{left:75%;position:relative}.el-col-xs-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xs-19.is-guttered{display:block}.el-col-xs-offset-19{margin-left:79.1666666667%}.el-col-xs-pull-19{position:relative;right:79.1666666667%}.el-col-xs-push-19{left:79.1666666667%;position:relative}.el-col-xs-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xs-20.is-guttered{display:block}.el-col-xs-offset-20{margin-left:83.3333333333%}.el-col-xs-pull-20{position:relative;right:83.3333333333%}.el-col-xs-push-20{left:83.3333333333%;position:relative}.el-col-xs-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xs-21.is-guttered{display:block}.el-col-xs-offset-21{margin-left:87.5%}.el-col-xs-pull-21{position:relative;right:87.5%}.el-col-xs-push-21{left:87.5%;position:relative}.el-col-xs-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xs-22.is-guttered{display:block}.el-col-xs-offset-22{margin-left:91.6666666667%}.el-col-xs-pull-22{position:relative;right:91.6666666667%}.el-col-xs-push-22{left:91.6666666667%;position:relative}.el-col-xs-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xs-23.is-guttered{display:block}.el-col-xs-offset-23{margin-left:95.8333333333%}.el-col-xs-pull-23{position:relative;right:95.8333333333%}.el-col-xs-push-23{left:95.8333333333%;position:relative}.el-col-xs-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xs-24.is-guttered{display:block}.el-col-xs-offset-24{margin-left:100%}.el-col-xs-pull-24{position:relative;right:100%}.el-col-xs-push-24{left:100%;position:relative}}@media only screen and (min-width:768px){.el-col-sm-0{display:none;flex:0 0 0%;max-width:0}.el-col-sm-0.is-guttered{display:none}.el-col-sm-offset-0{margin-left:0}.el-col-sm-pull-0{position:relative;right:0}.el-col-sm-push-0{left:0;position:relative}.el-col-sm-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-sm-1,.el-col-sm-1.is-guttered{display:block}.el-col-sm-offset-1{margin-left:4.1666666667%}.el-col-sm-pull-1{position:relative;right:4.1666666667%}.el-col-sm-push-1{left:4.1666666667%;position:relative}.el-col-sm-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-sm-2,.el-col-sm-2.is-guttered{display:block}.el-col-sm-offset-2{margin-left:8.3333333333%}.el-col-sm-pull-2{position:relative;right:8.3333333333%}.el-col-sm-push-2{left:8.3333333333%;position:relative}.el-col-sm-3{flex:0 0 12.5%;max-width:12.5%}.el-col-sm-3,.el-col-sm-3.is-guttered{display:block}.el-col-sm-offset-3{margin-left:12.5%}.el-col-sm-pull-3{position:relative;right:12.5%}.el-col-sm-push-3{left:12.5%;position:relative}.el-col-sm-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-sm-4,.el-col-sm-4.is-guttered{display:block}.el-col-sm-offset-4{margin-left:16.6666666667%}.el-col-sm-pull-4{position:relative;right:16.6666666667%}.el-col-sm-push-4{left:16.6666666667%;position:relative}.el-col-sm-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-sm-5,.el-col-sm-5.is-guttered{display:block}.el-col-sm-offset-5{margin-left:20.8333333333%}.el-col-sm-pull-5{position:relative;right:20.8333333333%}.el-col-sm-push-5{left:20.8333333333%;position:relative}.el-col-sm-6{flex:0 0 25%;max-width:25%}.el-col-sm-6,.el-col-sm-6.is-guttered{display:block}.el-col-sm-offset-6{margin-left:25%}.el-col-sm-pull-6{position:relative;right:25%}.el-col-sm-push-6{left:25%;position:relative}.el-col-sm-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-sm-7,.el-col-sm-7.is-guttered{display:block}.el-col-sm-offset-7{margin-left:29.1666666667%}.el-col-sm-pull-7{position:relative;right:29.1666666667%}.el-col-sm-push-7{left:29.1666666667%;position:relative}.el-col-sm-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-sm-8,.el-col-sm-8.is-guttered{display:block}.el-col-sm-offset-8{margin-left:33.3333333333%}.el-col-sm-pull-8{position:relative;right:33.3333333333%}.el-col-sm-push-8{left:33.3333333333%;position:relative}.el-col-sm-9{flex:0 0 37.5%;max-width:37.5%}.el-col-sm-9,.el-col-sm-9.is-guttered{display:block}.el-col-sm-offset-9{margin-left:37.5%}.el-col-sm-pull-9{position:relative;right:37.5%}.el-col-sm-push-9{left:37.5%;position:relative}.el-col-sm-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-sm-10.is-guttered{display:block}.el-col-sm-offset-10{margin-left:41.6666666667%}.el-col-sm-pull-10{position:relative;right:41.6666666667%}.el-col-sm-push-10{left:41.6666666667%;position:relative}.el-col-sm-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-sm-11.is-guttered{display:block}.el-col-sm-offset-11{margin-left:45.8333333333%}.el-col-sm-pull-11{position:relative;right:45.8333333333%}.el-col-sm-push-11{left:45.8333333333%;position:relative}.el-col-sm-12{display:block;flex:0 0 50%;max-width:50%}.el-col-sm-12.is-guttered{display:block}.el-col-sm-offset-12{margin-left:50%}.el-col-sm-pull-12{position:relative;right:50%}.el-col-sm-push-12{left:50%;position:relative}.el-col-sm-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-sm-13.is-guttered{display:block}.el-col-sm-offset-13{margin-left:54.1666666667%}.el-col-sm-pull-13{position:relative;right:54.1666666667%}.el-col-sm-push-13{left:54.1666666667%;position:relative}.el-col-sm-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-sm-14.is-guttered{display:block}.el-col-sm-offset-14{margin-left:58.3333333333%}.el-col-sm-pull-14{position:relative;right:58.3333333333%}.el-col-sm-push-14{left:58.3333333333%;position:relative}.el-col-sm-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-sm-15.is-guttered{display:block}.el-col-sm-offset-15{margin-left:62.5%}.el-col-sm-pull-15{position:relative;right:62.5%}.el-col-sm-push-15{left:62.5%;position:relative}.el-col-sm-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-sm-16.is-guttered{display:block}.el-col-sm-offset-16{margin-left:66.6666666667%}.el-col-sm-pull-16{position:relative;right:66.6666666667%}.el-col-sm-push-16{left:66.6666666667%;position:relative}.el-col-sm-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-sm-17.is-guttered{display:block}.el-col-sm-offset-17{margin-left:70.8333333333%}.el-col-sm-pull-17{position:relative;right:70.8333333333%}.el-col-sm-push-17{left:70.8333333333%;position:relative}.el-col-sm-18{display:block;flex:0 0 75%;max-width:75%}.el-col-sm-18.is-guttered{display:block}.el-col-sm-offset-18{margin-left:75%}.el-col-sm-pull-18{position:relative;right:75%}.el-col-sm-push-18{left:75%;position:relative}.el-col-sm-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-sm-19.is-guttered{display:block}.el-col-sm-offset-19{margin-left:79.1666666667%}.el-col-sm-pull-19{position:relative;right:79.1666666667%}.el-col-sm-push-19{left:79.1666666667%;position:relative}.el-col-sm-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-sm-20.is-guttered{display:block}.el-col-sm-offset-20{margin-left:83.3333333333%}.el-col-sm-pull-20{position:relative;right:83.3333333333%}.el-col-sm-push-20{left:83.3333333333%;position:relative}.el-col-sm-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-sm-21.is-guttered{display:block}.el-col-sm-offset-21{margin-left:87.5%}.el-col-sm-pull-21{position:relative;right:87.5%}.el-col-sm-push-21{left:87.5%;position:relative}.el-col-sm-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-sm-22.is-guttered{display:block}.el-col-sm-offset-22{margin-left:91.6666666667%}.el-col-sm-pull-22{position:relative;right:91.6666666667%}.el-col-sm-push-22{left:91.6666666667%;position:relative}.el-col-sm-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-sm-23.is-guttered{display:block}.el-col-sm-offset-23{margin-left:95.8333333333%}.el-col-sm-pull-23{position:relative;right:95.8333333333%}.el-col-sm-push-23{left:95.8333333333%;position:relative}.el-col-sm-24{display:block;flex:0 0 100%;max-width:100%}.el-col-sm-24.is-guttered{display:block}.el-col-sm-offset-24{margin-left:100%}.el-col-sm-pull-24{position:relative;right:100%}.el-col-sm-push-24{left:100%;position:relative}}@media only screen and (min-width:992px){.el-col-md-0{display:none;flex:0 0 0%;max-width:0}.el-col-md-0.is-guttered{display:none}.el-col-md-offset-0{margin-left:0}.el-col-md-pull-0{position:relative;right:0}.el-col-md-push-0{left:0;position:relative}.el-col-md-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-md-1,.el-col-md-1.is-guttered{display:block}.el-col-md-offset-1{margin-left:4.1666666667%}.el-col-md-pull-1{position:relative;right:4.1666666667%}.el-col-md-push-1{left:4.1666666667%;position:relative}.el-col-md-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-md-2,.el-col-md-2.is-guttered{display:block}.el-col-md-offset-2{margin-left:8.3333333333%}.el-col-md-pull-2{position:relative;right:8.3333333333%}.el-col-md-push-2{left:8.3333333333%;position:relative}.el-col-md-3{flex:0 0 12.5%;max-width:12.5%}.el-col-md-3,.el-col-md-3.is-guttered{display:block}.el-col-md-offset-3{margin-left:12.5%}.el-col-md-pull-3{position:relative;right:12.5%}.el-col-md-push-3{left:12.5%;position:relative}.el-col-md-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-md-4,.el-col-md-4.is-guttered{display:block}.el-col-md-offset-4{margin-left:16.6666666667%}.el-col-md-pull-4{position:relative;right:16.6666666667%}.el-col-md-push-4{left:16.6666666667%;position:relative}.el-col-md-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-md-5,.el-col-md-5.is-guttered{display:block}.el-col-md-offset-5{margin-left:20.8333333333%}.el-col-md-pull-5{position:relative;right:20.8333333333%}.el-col-md-push-5{left:20.8333333333%;position:relative}.el-col-md-6{flex:0 0 25%;max-width:25%}.el-col-md-6,.el-col-md-6.is-guttered{display:block}.el-col-md-offset-6{margin-left:25%}.el-col-md-pull-6{position:relative;right:25%}.el-col-md-push-6{left:25%;position:relative}.el-col-md-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-md-7,.el-col-md-7.is-guttered{display:block}.el-col-md-offset-7{margin-left:29.1666666667%}.el-col-md-pull-7{position:relative;right:29.1666666667%}.el-col-md-push-7{left:29.1666666667%;position:relative}.el-col-md-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-md-8,.el-col-md-8.is-guttered{display:block}.el-col-md-offset-8{margin-left:33.3333333333%}.el-col-md-pull-8{position:relative;right:33.3333333333%}.el-col-md-push-8{left:33.3333333333%;position:relative}.el-col-md-9{flex:0 0 37.5%;max-width:37.5%}.el-col-md-9,.el-col-md-9.is-guttered{display:block}.el-col-md-offset-9{margin-left:37.5%}.el-col-md-pull-9{position:relative;right:37.5%}.el-col-md-push-9{left:37.5%;position:relative}.el-col-md-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-md-10.is-guttered{display:block}.el-col-md-offset-10{margin-left:41.6666666667%}.el-col-md-pull-10{position:relative;right:41.6666666667%}.el-col-md-push-10{left:41.6666666667%;position:relative}.el-col-md-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-md-11.is-guttered{display:block}.el-col-md-offset-11{margin-left:45.8333333333%}.el-col-md-pull-11{position:relative;right:45.8333333333%}.el-col-md-push-11{left:45.8333333333%;position:relative}.el-col-md-12{display:block;flex:0 0 50%;max-width:50%}.el-col-md-12.is-guttered{display:block}.el-col-md-offset-12{margin-left:50%}.el-col-md-pull-12{position:relative;right:50%}.el-col-md-push-12{left:50%;position:relative}.el-col-md-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-md-13.is-guttered{display:block}.el-col-md-offset-13{margin-left:54.1666666667%}.el-col-md-pull-13{position:relative;right:54.1666666667%}.el-col-md-push-13{left:54.1666666667%;position:relative}.el-col-md-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-md-14.is-guttered{display:block}.el-col-md-offset-14{margin-left:58.3333333333%}.el-col-md-pull-14{position:relative;right:58.3333333333%}.el-col-md-push-14{left:58.3333333333%;position:relative}.el-col-md-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-md-15.is-guttered{display:block}.el-col-md-offset-15{margin-left:62.5%}.el-col-md-pull-15{position:relative;right:62.5%}.el-col-md-push-15{left:62.5%;position:relative}.el-col-md-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-md-16.is-guttered{display:block}.el-col-md-offset-16{margin-left:66.6666666667%}.el-col-md-pull-16{position:relative;right:66.6666666667%}.el-col-md-push-16{left:66.6666666667%;position:relative}.el-col-md-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-md-17.is-guttered{display:block}.el-col-md-offset-17{margin-left:70.8333333333%}.el-col-md-pull-17{position:relative;right:70.8333333333%}.el-col-md-push-17{left:70.8333333333%;position:relative}.el-col-md-18{display:block;flex:0 0 75%;max-width:75%}.el-col-md-18.is-guttered{display:block}.el-col-md-offset-18{margin-left:75%}.el-col-md-pull-18{position:relative;right:75%}.el-col-md-push-18{left:75%;position:relative}.el-col-md-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-md-19.is-guttered{display:block}.el-col-md-offset-19{margin-left:79.1666666667%}.el-col-md-pull-19{position:relative;right:79.1666666667%}.el-col-md-push-19{left:79.1666666667%;position:relative}.el-col-md-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-md-20.is-guttered{display:block}.el-col-md-offset-20{margin-left:83.3333333333%}.el-col-md-pull-20{position:relative;right:83.3333333333%}.el-col-md-push-20{left:83.3333333333%;position:relative}.el-col-md-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-md-21.is-guttered{display:block}.el-col-md-offset-21{margin-left:87.5%}.el-col-md-pull-21{position:relative;right:87.5%}.el-col-md-push-21{left:87.5%;position:relative}.el-col-md-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-md-22.is-guttered{display:block}.el-col-md-offset-22{margin-left:91.6666666667%}.el-col-md-pull-22{position:relative;right:91.6666666667%}.el-col-md-push-22{left:91.6666666667%;position:relative}.el-col-md-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-md-23.is-guttered{display:block}.el-col-md-offset-23{margin-left:95.8333333333%}.el-col-md-pull-23{position:relative;right:95.8333333333%}.el-col-md-push-23{left:95.8333333333%;position:relative}.el-col-md-24{display:block;flex:0 0 100%;max-width:100%}.el-col-md-24.is-guttered{display:block}.el-col-md-offset-24{margin-left:100%}.el-col-md-pull-24{position:relative;right:100%}.el-col-md-push-24{left:100%;position:relative}}@media only screen and (min-width:1200px){.el-col-lg-0{display:none;flex:0 0 0%;max-width:0}.el-col-lg-0.is-guttered{display:none}.el-col-lg-offset-0{margin-left:0}.el-col-lg-pull-0{position:relative;right:0}.el-col-lg-push-0{left:0;position:relative}.el-col-lg-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-lg-1,.el-col-lg-1.is-guttered{display:block}.el-col-lg-offset-1{margin-left:4.1666666667%}.el-col-lg-pull-1{position:relative;right:4.1666666667%}.el-col-lg-push-1{left:4.1666666667%;position:relative}.el-col-lg-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-lg-2,.el-col-lg-2.is-guttered{display:block}.el-col-lg-offset-2{margin-left:8.3333333333%}.el-col-lg-pull-2{position:relative;right:8.3333333333%}.el-col-lg-push-2{left:8.3333333333%;position:relative}.el-col-lg-3{flex:0 0 12.5%;max-width:12.5%}.el-col-lg-3,.el-col-lg-3.is-guttered{display:block}.el-col-lg-offset-3{margin-left:12.5%}.el-col-lg-pull-3{position:relative;right:12.5%}.el-col-lg-push-3{left:12.5%;position:relative}.el-col-lg-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-lg-4,.el-col-lg-4.is-guttered{display:block}.el-col-lg-offset-4{margin-left:16.6666666667%}.el-col-lg-pull-4{position:relative;right:16.6666666667%}.el-col-lg-push-4{left:16.6666666667%;position:relative}.el-col-lg-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-lg-5,.el-col-lg-5.is-guttered{display:block}.el-col-lg-offset-5{margin-left:20.8333333333%}.el-col-lg-pull-5{position:relative;right:20.8333333333%}.el-col-lg-push-5{left:20.8333333333%;position:relative}.el-col-lg-6{flex:0 0 25%;max-width:25%}.el-col-lg-6,.el-col-lg-6.is-guttered{display:block}.el-col-lg-offset-6{margin-left:25%}.el-col-lg-pull-6{position:relative;right:25%}.el-col-lg-push-6{left:25%;position:relative}.el-col-lg-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-lg-7,.el-col-lg-7.is-guttered{display:block}.el-col-lg-offset-7{margin-left:29.1666666667%}.el-col-lg-pull-7{position:relative;right:29.1666666667%}.el-col-lg-push-7{left:29.1666666667%;position:relative}.el-col-lg-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-lg-8,.el-col-lg-8.is-guttered{display:block}.el-col-lg-offset-8{margin-left:33.3333333333%}.el-col-lg-pull-8{position:relative;right:33.3333333333%}.el-col-lg-push-8{left:33.3333333333%;position:relative}.el-col-lg-9{flex:0 0 37.5%;max-width:37.5%}.el-col-lg-9,.el-col-lg-9.is-guttered{display:block}.el-col-lg-offset-9{margin-left:37.5%}.el-col-lg-pull-9{position:relative;right:37.5%}.el-col-lg-push-9{left:37.5%;position:relative}.el-col-lg-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-lg-10.is-guttered{display:block}.el-col-lg-offset-10{margin-left:41.6666666667%}.el-col-lg-pull-10{position:relative;right:41.6666666667%}.el-col-lg-push-10{left:41.6666666667%;position:relative}.el-col-lg-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-lg-11.is-guttered{display:block}.el-col-lg-offset-11{margin-left:45.8333333333%}.el-col-lg-pull-11{position:relative;right:45.8333333333%}.el-col-lg-push-11{left:45.8333333333%;position:relative}.el-col-lg-12{display:block;flex:0 0 50%;max-width:50%}.el-col-lg-12.is-guttered{display:block}.el-col-lg-offset-12{margin-left:50%}.el-col-lg-pull-12{position:relative;right:50%}.el-col-lg-push-12{left:50%;position:relative}.el-col-lg-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-lg-13.is-guttered{display:block}.el-col-lg-offset-13{margin-left:54.1666666667%}.el-col-lg-pull-13{position:relative;right:54.1666666667%}.el-col-lg-push-13{left:54.1666666667%;position:relative}.el-col-lg-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-lg-14.is-guttered{display:block}.el-col-lg-offset-14{margin-left:58.3333333333%}.el-col-lg-pull-14{position:relative;right:58.3333333333%}.el-col-lg-push-14{left:58.3333333333%;position:relative}.el-col-lg-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-lg-15.is-guttered{display:block}.el-col-lg-offset-15{margin-left:62.5%}.el-col-lg-pull-15{position:relative;right:62.5%}.el-col-lg-push-15{left:62.5%;position:relative}.el-col-lg-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-lg-16.is-guttered{display:block}.el-col-lg-offset-16{margin-left:66.6666666667%}.el-col-lg-pull-16{position:relative;right:66.6666666667%}.el-col-lg-push-16{left:66.6666666667%;position:relative}.el-col-lg-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-lg-17.is-guttered{display:block}.el-col-lg-offset-17{margin-left:70.8333333333%}.el-col-lg-pull-17{position:relative;right:70.8333333333%}.el-col-lg-push-17{left:70.8333333333%;position:relative}.el-col-lg-18{display:block;flex:0 0 75%;max-width:75%}.el-col-lg-18.is-guttered{display:block}.el-col-lg-offset-18{margin-left:75%}.el-col-lg-pull-18{position:relative;right:75%}.el-col-lg-push-18{left:75%;position:relative}.el-col-lg-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-lg-19.is-guttered{display:block}.el-col-lg-offset-19{margin-left:79.1666666667%}.el-col-lg-pull-19{position:relative;right:79.1666666667%}.el-col-lg-push-19{left:79.1666666667%;position:relative}.el-col-lg-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-lg-20.is-guttered{display:block}.el-col-lg-offset-20{margin-left:83.3333333333%}.el-col-lg-pull-20{position:relative;right:83.3333333333%}.el-col-lg-push-20{left:83.3333333333%;position:relative}.el-col-lg-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-lg-21.is-guttered{display:block}.el-col-lg-offset-21{margin-left:87.5%}.el-col-lg-pull-21{position:relative;right:87.5%}.el-col-lg-push-21{left:87.5%;position:relative}.el-col-lg-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-lg-22.is-guttered{display:block}.el-col-lg-offset-22{margin-left:91.6666666667%}.el-col-lg-pull-22{position:relative;right:91.6666666667%}.el-col-lg-push-22{left:91.6666666667%;position:relative}.el-col-lg-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-lg-23.is-guttered{display:block}.el-col-lg-offset-23{margin-left:95.8333333333%}.el-col-lg-pull-23{position:relative;right:95.8333333333%}.el-col-lg-push-23{left:95.8333333333%;position:relative}.el-col-lg-24{display:block;flex:0 0 100%;max-width:100%}.el-col-lg-24.is-guttered{display:block}.el-col-lg-offset-24{margin-left:100%}.el-col-lg-pull-24{position:relative;right:100%}.el-col-lg-push-24{left:100%;position:relative}}@media only screen and (min-width:1920px){.el-col-xl-0{display:none;flex:0 0 0%;max-width:0}.el-col-xl-0.is-guttered{display:none}.el-col-xl-offset-0{margin-left:0}.el-col-xl-pull-0{position:relative;right:0}.el-col-xl-push-0{left:0;position:relative}.el-col-xl-1{flex:0 0 4.1666666667%;max-width:4.1666666667%}.el-col-xl-1,.el-col-xl-1.is-guttered{display:block}.el-col-xl-offset-1{margin-left:4.1666666667%}.el-col-xl-pull-1{position:relative;right:4.1666666667%}.el-col-xl-push-1{left:4.1666666667%;position:relative}.el-col-xl-2{flex:0 0 8.3333333333%;max-width:8.3333333333%}.el-col-xl-2,.el-col-xl-2.is-guttered{display:block}.el-col-xl-offset-2{margin-left:8.3333333333%}.el-col-xl-pull-2{position:relative;right:8.3333333333%}.el-col-xl-push-2{left:8.3333333333%;position:relative}.el-col-xl-3{flex:0 0 12.5%;max-width:12.5%}.el-col-xl-3,.el-col-xl-3.is-guttered{display:block}.el-col-xl-offset-3{margin-left:12.5%}.el-col-xl-pull-3{position:relative;right:12.5%}.el-col-xl-push-3{left:12.5%;position:relative}.el-col-xl-4{flex:0 0 16.6666666667%;max-width:16.6666666667%}.el-col-xl-4,.el-col-xl-4.is-guttered{display:block}.el-col-xl-offset-4{margin-left:16.6666666667%}.el-col-xl-pull-4{position:relative;right:16.6666666667%}.el-col-xl-push-4{left:16.6666666667%;position:relative}.el-col-xl-5{flex:0 0 20.8333333333%;max-width:20.8333333333%}.el-col-xl-5,.el-col-xl-5.is-guttered{display:block}.el-col-xl-offset-5{margin-left:20.8333333333%}.el-col-xl-pull-5{position:relative;right:20.8333333333%}.el-col-xl-push-5{left:20.8333333333%;position:relative}.el-col-xl-6{flex:0 0 25%;max-width:25%}.el-col-xl-6,.el-col-xl-6.is-guttered{display:block}.el-col-xl-offset-6{margin-left:25%}.el-col-xl-pull-6{position:relative;right:25%}.el-col-xl-push-6{left:25%;position:relative}.el-col-xl-7{flex:0 0 29.1666666667%;max-width:29.1666666667%}.el-col-xl-7,.el-col-xl-7.is-guttered{display:block}.el-col-xl-offset-7{margin-left:29.1666666667%}.el-col-xl-pull-7{position:relative;right:29.1666666667%}.el-col-xl-push-7{left:29.1666666667%;position:relative}.el-col-xl-8{flex:0 0 33.3333333333%;max-width:33.3333333333%}.el-col-xl-8,.el-col-xl-8.is-guttered{display:block}.el-col-xl-offset-8{margin-left:33.3333333333%}.el-col-xl-pull-8{position:relative;right:33.3333333333%}.el-col-xl-push-8{left:33.3333333333%;position:relative}.el-col-xl-9{flex:0 0 37.5%;max-width:37.5%}.el-col-xl-9,.el-col-xl-9.is-guttered{display:block}.el-col-xl-offset-9{margin-left:37.5%}.el-col-xl-pull-9{position:relative;right:37.5%}.el-col-xl-push-9{left:37.5%;position:relative}.el-col-xl-10{display:block;flex:0 0 41.6666666667%;max-width:41.6666666667%}.el-col-xl-10.is-guttered{display:block}.el-col-xl-offset-10{margin-left:41.6666666667%}.el-col-xl-pull-10{position:relative;right:41.6666666667%}.el-col-xl-push-10{left:41.6666666667%;position:relative}.el-col-xl-11{display:block;flex:0 0 45.8333333333%;max-width:45.8333333333%}.el-col-xl-11.is-guttered{display:block}.el-col-xl-offset-11{margin-left:45.8333333333%}.el-col-xl-pull-11{position:relative;right:45.8333333333%}.el-col-xl-push-11{left:45.8333333333%;position:relative}.el-col-xl-12{display:block;flex:0 0 50%;max-width:50%}.el-col-xl-12.is-guttered{display:block}.el-col-xl-offset-12{margin-left:50%}.el-col-xl-pull-12{position:relative;right:50%}.el-col-xl-push-12{left:50%;position:relative}.el-col-xl-13{display:block;flex:0 0 54.1666666667%;max-width:54.1666666667%}.el-col-xl-13.is-guttered{display:block}.el-col-xl-offset-13{margin-left:54.1666666667%}.el-col-xl-pull-13{position:relative;right:54.1666666667%}.el-col-xl-push-13{left:54.1666666667%;position:relative}.el-col-xl-14{display:block;flex:0 0 58.3333333333%;max-width:58.3333333333%}.el-col-xl-14.is-guttered{display:block}.el-col-xl-offset-14{margin-left:58.3333333333%}.el-col-xl-pull-14{position:relative;right:58.3333333333%}.el-col-xl-push-14{left:58.3333333333%;position:relative}.el-col-xl-15{display:block;flex:0 0 62.5%;max-width:62.5%}.el-col-xl-15.is-guttered{display:block}.el-col-xl-offset-15{margin-left:62.5%}.el-col-xl-pull-15{position:relative;right:62.5%}.el-col-xl-push-15{left:62.5%;position:relative}.el-col-xl-16{display:block;flex:0 0 66.6666666667%;max-width:66.6666666667%}.el-col-xl-16.is-guttered{display:block}.el-col-xl-offset-16{margin-left:66.6666666667%}.el-col-xl-pull-16{position:relative;right:66.6666666667%}.el-col-xl-push-16{left:66.6666666667%;position:relative}.el-col-xl-17{display:block;flex:0 0 70.8333333333%;max-width:70.8333333333%}.el-col-xl-17.is-guttered{display:block}.el-col-xl-offset-17{margin-left:70.8333333333%}.el-col-xl-pull-17{position:relative;right:70.8333333333%}.el-col-xl-push-17{left:70.8333333333%;position:relative}.el-col-xl-18{display:block;flex:0 0 75%;max-width:75%}.el-col-xl-18.is-guttered{display:block}.el-col-xl-offset-18{margin-left:75%}.el-col-xl-pull-18{position:relative;right:75%}.el-col-xl-push-18{left:75%;position:relative}.el-col-xl-19{display:block;flex:0 0 79.1666666667%;max-width:79.1666666667%}.el-col-xl-19.is-guttered{display:block}.el-col-xl-offset-19{margin-left:79.1666666667%}.el-col-xl-pull-19{position:relative;right:79.1666666667%}.el-col-xl-push-19{left:79.1666666667%;position:relative}.el-col-xl-20{display:block;flex:0 0 83.3333333333%;max-width:83.3333333333%}.el-col-xl-20.is-guttered{display:block}.el-col-xl-offset-20{margin-left:83.3333333333%}.el-col-xl-pull-20{position:relative;right:83.3333333333%}.el-col-xl-push-20{left:83.3333333333%;position:relative}.el-col-xl-21{display:block;flex:0 0 87.5%;max-width:87.5%}.el-col-xl-21.is-guttered{display:block}.el-col-xl-offset-21{margin-left:87.5%}.el-col-xl-pull-21{position:relative;right:87.5%}.el-col-xl-push-21{left:87.5%;position:relative}.el-col-xl-22{display:block;flex:0 0 91.6666666667%;max-width:91.6666666667%}.el-col-xl-22.is-guttered{display:block}.el-col-xl-offset-22{margin-left:91.6666666667%}.el-col-xl-pull-22{position:relative;right:91.6666666667%}.el-col-xl-push-22{left:91.6666666667%;position:relative}.el-col-xl-23{display:block;flex:0 0 95.8333333333%;max-width:95.8333333333%}.el-col-xl-23.is-guttered{display:block}.el-col-xl-offset-23{margin-left:95.8333333333%}.el-col-xl-pull-23{position:relative;right:95.8333333333%}.el-col-xl-push-23{left:95.8333333333%;position:relative}.el-col-xl-24{display:block;flex:0 0 100%;max-width:100%}.el-col-xl-24.is-guttered{display:block}.el-col-xl-offset-24{margin-left:100%}.el-col-xl-pull-24{position:relative;right:100%}.el-col-xl-push-24{left:100%;position:relative}}.el-collapse-item.is-disabled .el-collapse-item__header{color:var(--el-text-color-disabled);cursor:not-allowed}.el-collapse-item__header{align-items:center;background-color:var(--el-collapse-header-bg-color);border:none;border-bottom:1px solid var(--el-collapse-border-color);color:var(--el-collapse-header-text-color);cursor:pointer;display:flex;font-size:var(--el-collapse-header-font-size);font-weight:500;line-height:var(--el-collapse-header-height);min-height:var(--el-collapse-header-height);outline:none;padding:0;transition:border-bottom-color var(--el-transition-duration);width:100%}.el-collapse-item__arrow{font-weight:300;transition:transform var(--el-transition-duration)}.el-collapse-item__arrow.is-active{transform:rotate(90deg)}.el-collapse-item__title{flex:auto;text-align:left}.el-collapse-item__header.focusing:focus:not(:hover){color:var(--el-color-primary)}.el-collapse-item__header.is-active{border-bottom-color:transparent}.el-collapse-item__wrap{background-color:var(--el-collapse-content-bg-color);border-bottom:1px solid var(--el-collapse-border-color);box-sizing:border-box;overflow:hidden;will-change:height}.el-collapse-item__content{color:var(--el-collapse-content-text-color);font-size:var(--el-collapse-content-font-size);line-height:1.7692307692;padding-bottom:25px}.el-collapse-item:last-child{margin-bottom:-1px}.el-collapse{--el-collapse-border-color:var(--el-border-color-lighter);--el-collapse-header-height:48px;--el-collapse-header-bg-color:var(--el-fill-color-blank);--el-collapse-header-text-color:var(--el-text-color-primary);--el-collapse-header-font-size:13px;--el-collapse-content-bg-color:var(--el-fill-color-blank);--el-collapse-content-font-size:13px;--el-collapse-content-text-color:var(--el-text-color-primary);border-bottom:1px solid var(--el-collapse-border-color);border-top:1px solid var(--el-collapse-border-color)}.el-collapse-icon-position-left .el-collapse-item__header{gap:8px}.el-collapse-icon-position-left .el-collapse-item__title{order:1}.el-collapse-icon-position-right .el-collapse-item__header{padding-right:8px}.el-color-picker-panel{--el-colorpicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-colorpicker-bg-color);background:var(--el-colorpicker-bg-color);box-sizing:content-box;padding:12px;width:300px}.el-color-picker-panel.is-border{border:1px solid var(--el-border-color-lighter);border-radius:4px}.el-color-picker-panel__wrapper{margin-bottom:6px}.el-color-picker-panel__footer{display:flex;justify-content:space-between;margin-top:12px;text-align:right}.el-color-picker-panel__footer .el-input{color:#000;font-size:12px;line-height:26px;width:160px}.el-color-picker-panel.is-disabled .el-color-hue-slider,.el-color-picker-panel.is-disabled .el-color-svpanel{cursor:not-allowed;opacity:.3}.el-color-picker-panel.is-disabled .el-color-hue-slider__thumb{cursor:not-allowed}.el-color-picker-panel.is-disabled .el-color-alpha-slider,.el-color-picker-panel.is-disabled .el-color-predefine .el-color-predefine__color-selector{cursor:not-allowed;opacity:.3}.el-color-predefine{display:flex;font-size:12px;margin-top:8px;width:280px}.el-color-predefine__colors{display:flex;flex:1;flex-wrap:wrap;gap:8px}.el-color-predefine__color-selector{border:none;border-radius:var(--el-border-radius-base);cursor:pointer;height:20px;outline:none;overflow:hidden;padding:0;width:20px}.el-color-predefine__color-selector.selected{box-shadow:0 0 3px 2px var(--el-color-primary)}.el-color-predefine__color-selector:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-predefine__color-selector>div{display:flex;height:100%}.el-color-predefine__color-selector.is-alpha{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAIAAADZF8uwAAAAGUlEQVQYV2M4gwH+YwCGIasIUwhT25BVBADtzYNYrHvv4gAAAABJRU5ErkJggg==)}.el-color-hue-slider{background-color:red;box-sizing:border-box;float:right;height:12px;padding:0 2px;position:relative;width:280px}.el-color-hue-slider__bar{background:linear-gradient(90deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00);height:100%;position:relative}.el-color-hue-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-hue-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-hue-slider.is-vertical{height:180px;padding:2px 0;width:12px}.el-color-hue-slider.is-vertical .el-color-hue-slider__bar{background:linear-gradient(180deg,#f00 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,#f00)}.el-color-hue-slider.is-vertical .el-color-hue-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-svpanel{background-image:linear-gradient(0deg,#000,rgba(0,0,0,0)),linear-gradient(90deg,#fff,rgba(255,255,255,0));height:180px;position:relative;width:280px}.el-color-svpanel__cursor{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px #0000004d,0 0 1px 2px #0006;cursor:pointer;height:4px;position:absolute;transform:translate(-2px,-2px);width:4px}.el-color-svpanel__cursor:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-color-alpha-slider{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px;box-sizing:border-box;height:12px;position:relative;width:280px}.el-color-alpha-slider.is-disabled .el-color-alpha-slider__thumb{cursor:not-allowed}.el-color-alpha-slider__bar{background:linear-gradient(to right,rgba(255,255,255,0) 0,var(--el-bg-color) 100%);height:100%;position:relative}.el-color-alpha-slider__thumb{background:#fff;border:1px solid var(--el-border-color-lighter);border-radius:1px;box-shadow:0 0 2px #0009;box-sizing:border-box;cursor:pointer;height:100%;left:0;position:absolute;top:0;width:4px;z-index:1}.el-color-alpha-slider__thumb:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-alpha-slider.is-vertical{height:180px;width:20px}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__bar{background:linear-gradient(180deg,rgba(255,255,255,0) 0,rgb(255,255,255))}.el-color-alpha-slider.is-vertical .el-color-alpha-slider__thumb{height:4px;left:0;top:0;width:100%}.el-color-picker-panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker-panel{--el-color-picker-alpha-bg-a:#333333}.el-color-picker{display:inline-block;height:32px;line-height:normal;outline:none;position:relative;width:32px}.el-color-picker:hover:not(.is-disabled,.is-focused) .el-color-picker__trigger{border-color:var(--el-border-color-hover)}.el-color-picker:focus-visible:not(.is-disabled) .el-color-picker__trigger{outline:2px solid var(--el-color-primary);outline-offset:1px}.el-color-picker.is-focused .el-color-picker__trigger{border-color:var(--el-color-primary)}.el-color-picker.is-disabled .el-color-picker__trigger{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-color-picker.is-disabled .el-color-picker__color{opacity:.3}.el-color-picker--large{height:40px;width:40px}.el-color-picker--small{height:24px;width:24px}.el-color-picker--small .el-color-picker__empty,.el-color-picker--small .el-color-picker__icon{transform:scale(.8)}.el-color-picker__trigger{align-items:center;border:1px solid var(--el-border-color);border-radius:4px;cursor:pointer;display:inline-flex;font-size:0;justify-content:center;padding:4px}.el-color-picker__color,.el-color-picker__trigger{box-sizing:border-box;height:100%;position:relative;width:100%}.el-color-picker__color{border:1px solid var(--el-text-color-secondary);border-radius:var(--el-border-radius-small);display:block;text-align:center}.el-color-picker__color.is-alpha{background-image:linear-gradient(45deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-a) 25%,var(--el-color-picker-alpha-bg-b) 25%),linear-gradient(45deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%),linear-gradient(135deg,var(--el-color-picker-alpha-bg-b) 75%,var(--el-color-picker-alpha-bg-a) 75%);background-position:0 0,6px 0,6px -6px,0 6px;background-size:12px 12px}.el-color-picker__color-inner{align-items:center;display:inline-flex;height:100%;justify-content:center;width:100%}.el-color-picker .el-color-picker__empty{color:var(--el-text-color-secondary);font-size:12px}.el-color-picker .el-color-picker__icon{align-items:center;color:#fff;display:inline-flex;font-size:12px;justify-content:center}.el-color-picker__panel{background-color:#fff;border-radius:var(--el-border-radius-base);box-shadow:var(--el-box-shadow-light)}.el-color-picker__panel.el-popper{border:1px solid var(--el-border-color-lighter)}.el-color-picker,.el-color-picker__panel{--el-color-picker-alpha-bg-a:#ccc;--el-color-picker-alpha-bg-b:transparent}.dark .el-color-picker,.dark .el-color-picker__panel{--el-color-picker-alpha-bg-a:#333333}.el-container{box-sizing:border-box;display:flex;flex:1;flex-basis:auto;flex-direction:row;min-width:0}.el-container.is-vertical{flex-direction:column}.el-date-table{font-size:12px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-date-table.is-week-mode .el-date-table__row:hover .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table.is-week-mode .el-date-table__row:hover td.available:hover{color:var(--el-datepicker-text-color)}.el-date-table.is-week-mode .el-date-table__row:hover td:first-child .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table.is-week-mode .el-date-table__row:hover td:last-child .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table.is-week-mode .el-date-table__row.current .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td{box-sizing:border-box;cursor:pointer;height:30px;padding:4px 0;position:relative;text-align:center;width:32px}.el-date-table td .el-date-table-cell{box-sizing:border-box;height:30px;padding:3px 0}.el-date-table td .el-date-table-cell .el-date-table-cell__text{border-radius:50%;display:block;height:24px;left:50%;line-height:24px;margin:0 auto;position:absolute;transform:translate(-50%);width:24px}.el-date-table td.next-month,.el-date-table td.prev-month{color:var(--el-datepicker-off-text-color)}.el-date-table td.today{position:relative}.el-date-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-date-table td.today.end-date .el-date-table-cell__text,.el-date-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-date-table td.available:hover{color:var(--el-datepicker-hover-text-color)}.el-date-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-date-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-date-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-date-table td.current:not(.disabled):focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-date-table td.end-date .el-date-table-cell,.el-date-table td.start-date .el-date-table-cell{color:#fff}.el-date-table td.end-date .el-date-table-cell__text,.el-date-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color)}.el-date-table td.start-date .el-date-table-cell{border-bottom-left-radius:15px;border-top-left-radius:15px;margin-left:5px}.el-date-table td.end-date .el-date-table-cell{border-bottom-right-radius:15px;border-top-right-radius:15px;margin-right:5px}.el-date-table td.disabled .el-date-table-cell{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed;opacity:1}.el-date-table td.selected .el-date-table-cell{border-radius:15px;margin-left:5px;margin-right:5px}.el-date-table td.selected .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);border-radius:15px;color:#fff}.el-date-table td.week{color:var(--el-datepicker-off-text-color);cursor:default;font-size:80%}.el-date-table td:focus{outline:none}.el-date-table th{border-bottom:1px solid var(--el-border-color-lighter);color:var(--el-datepicker-header-text-color);font-weight:400;padding:5px}.el-date-table th.el-date-table__week-header{padding:0;width:24px}.el-month-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-month-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-month-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-month-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-month-table td.today.end-date .el-date-table-cell__text,.el-month-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-month-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-month-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-month-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:54px}.el-month-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-month-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-month-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-month-table td.end-date .el-date-table-cell,.el-month-table td.start-date .el-date-table-cell{color:#fff}.el-month-table td.end-date .el-date-table-cell__text,.el-month-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px;margin-left:3px}.el-month-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell{border-radius:24px;margin-left:3px;margin-right:3px}.el-month-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-month-table td:focus-visible{outline:none}.el-month-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-year-table{border-collapse:collapse;font-size:12px;margin:-1px}.el-year-table .el-icon{color:var(--el-datepicker-icon-color)}.el-year-table td{cursor:pointer;padding:8px 0;position:relative;text-align:center;width:68px}.el-year-table td .el-date-table-cell{box-sizing:border-box;height:48px;padding:6px 0}.el-year-table td.today .el-date-table-cell__text{color:var(--el-color-primary);font-weight:700}.el-year-table td.today.end-date .el-date-table-cell__text,.el-year-table td.today.start-date .el-date-table-cell__text{color:#fff}.el-year-table td.disabled .el-date-table-cell__text{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-year-table td.disabled .el-date-table-cell__text:hover{color:var(--el-text-color-placeholder)}.el-year-table td .el-date-table-cell__text{border-radius:18px;color:var(--el-datepicker-text-color);display:block;height:36px;left:50%;line-height:36px;margin:0 auto;position:absolute;transform:translate(-50%);width:60px}.el-year-table td .el-date-table-cell__text:hover{color:var(--el-datepicker-hover-text-color)}.el-year-table td.in-range .el-date-table-cell{background-color:var(--el-datepicker-inrange-bg-color)}.el-year-table td.in-range .el-date-table-cell:hover{background-color:var(--el-datepicker-inrange-hover-bg-color)}.el-year-table td.end-date .el-date-table-cell,.el-year-table td.start-date .el-date-table-cell{color:#fff}.el-year-table td.end-date .el-date-table-cell__text,.el-year-table td.start-date .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td.start-date .el-date-table-cell{border-bottom-left-radius:24px;border-top-left-radius:24px}.el-year-table td.end-date .el-date-table-cell{border-bottom-right-radius:24px;border-top-right-radius:24px}.el-year-table td.current:not(.disabled) .el-date-table-cell__text{background-color:var(--el-datepicker-active-color);color:#fff}.el-year-table td:focus-visible{outline:none}.el-year-table td:focus-visible .el-date-table-cell__text{outline:2px solid var(--el-datepicker-active-color);outline-offset:1px}.el-time-spinner.has-seconds .el-time-spinner__wrapper{width:33.3%}.el-time-spinner__wrapper{display:inline-block;max-height:192px;overflow:auto;position:relative;vertical-align:top;width:50%}.el-time-spinner__wrapper.el-scrollbar__wrap:not(.el-scrollbar__wrap--hidden-default){padding-bottom:15px}.el-time-spinner__wrapper.is-arrow{box-sizing:border-box;overflow:hidden;text-align:center}.el-time-spinner__wrapper.is-arrow .el-time-spinner__list{transform:translateY(-32px)}.el-time-spinner__wrapper.is-arrow .el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:default}.el-time-spinner__arrow{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;height:30px;left:0;line-height:30px;position:absolute;text-align:center;width:100%;z-index:var(--el-index-normal)}.el-time-spinner__arrow:hover{color:var(--el-color-primary)}.el-time-spinner__arrow.arrow-up{top:10px}.el-time-spinner__arrow.arrow-down{bottom:10px}.el-time-spinner__input.el-input{width:70%}.el-time-spinner__input.el-input .el-input__inner,.el-time-spinner__list{padding:0;text-align:center}.el-time-spinner__list{list-style:none;margin:0}.el-time-spinner__list:after,.el-time-spinner__list:before{content:"";display:block;height:80px;width:100%}.el-time-spinner__item{color:var(--el-text-color-regular);font-size:12px;height:32px;line-height:32px}.el-time-spinner__item:hover:not(.is-disabled):not(.is-active){background:var(--el-fill-color-light);cursor:pointer}.el-time-spinner__item.is-active:not(.is-disabled){color:var(--el-text-color-primary);font-weight:700}.el-time-spinner__item.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-picker__popper{--el-datepicker-border-color:var(--el-disabled-border-color)}.el-picker__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-picker__popper.el-popper,.el-picker__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-datepicker-border-color)}.el-picker__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-picker__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-date-editor{--el-date-editor-width:220px;--el-date-editor-monthrange-width:300px;--el-date-editor-daterange-width:350px;--el-date-editor-datetimerange-width:400px;--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;position:relative;text-align:left;vertical-align:middle}.el-date-editor.el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset}.el-date-editor.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-date-editor.is-focus .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-date-editor.el-input,.el-date-editor.el-input__wrapper{height:var(--el-input-height,var(--el-component-size));width:var(--el-date-editor-width)}.el-date-editor--monthrange{--el-date-editor-width:var(--el-date-editor-monthrange-width)}.el-date-editor--daterange,.el-date-editor--timerange{--el-date-editor-width:var(--el-date-editor-daterange-width)}.el-date-editor--datetimerange{--el-date-editor-width:var(--el-date-editor-datetimerange-width)}.el-date-editor--dates .el-input__wrapper{text-overflow:ellipsis;white-space:nowrap}.el-date-editor .clear-icon,.el-date-editor .close-icon{cursor:pointer}.el-date-editor .clear-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__icon{color:var(--el-text-color-placeholder);float:left;font-size:14px;height:inherit}.el-date-editor .el-range__icon svg{vertical-align:middle}.el-date-editor .el-range-input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-text-color-regular);display:inline-block;font-size:var(--el-font-size-base);height:30px;line-height:30px;margin:0;outline:none;padding:0;text-align:center;width:39%}.el-date-editor .el-range-input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-input::placeholder{color:var(--el-text-color-placeholder)}.el-date-editor .el-range-separator{align-items:center;color:var(--el-text-color-primary);display:inline-flex;flex:1;font-size:14px;height:100%;justify-content:center;margin:0;overflow-wrap:break-word;padding:0 5px}.el-date-editor .el-range__close-icon{color:var(--el-text-color-placeholder);cursor:pointer;font-size:14px;height:inherit;width:unset}.el-date-editor .el-range__close-icon:hover{color:var(--el-input-clear-hover-color)}.el-date-editor .el-range__close-icon svg{vertical-align:middle}.el-date-editor .el-range__close-icon--hidden{opacity:0;visibility:hidden}.el-range-editor.el-input__wrapper{align-items:center;display:inline-flex;padding:0 10px;vertical-align:middle}.el-range-editor.is-active,.el-range-editor.is-active:hover{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-range-editor--large{line-height:var(--el-component-size-large)}.el-range-editor--large.el-input__wrapper{height:var(--el-component-size-large)}.el-range-editor--large .el-range-separator{font-size:14px;line-height:40px}.el-range-editor--large .el-range-input{font-size:14px;height:38px;line-height:38px}.el-range-editor--small{line-height:var(--el-component-size-small)}.el-range-editor--small.el-input__wrapper{height:var(--el-component-size-small)}.el-range-editor--small .el-range-separator{font-size:12px;line-height:24px}.el-range-editor--small .el-range-input{font-size:12px;height:22px;line-height:22px}.el-range-editor.is-disabled{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled,.el-range-editor.is-disabled:focus,.el-range-editor.is-disabled:hover{border-color:var(--el-disabled-border-color)}.el-range-editor.is-disabled input{background-color:var(--el-disabled-bg-color);color:var(--el-disabled-text-color);cursor:not-allowed}.el-range-editor.is-disabled input::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled input::placeholder{color:var(--el-text-color-placeholder)}.el-range-editor.is-disabled .el-range-separator{color:var(--el-disabled-text-color)}.el-picker-panel{background:var(--el-datepicker-bg-color);border-radius:var(--el-popper-border-radius,var(--el-border-radius-base));color:var(--el-text-color-regular);line-height:30px}.el-picker-panel .el-time-panel{background-color:var(--el-datepicker-bg-color);border:1px solid var(--el-datepicker-border-color);box-shadow:var(--el-box-shadow-light);margin:5px 0}.el-picker-panel__body-wrapper:after,.el-picker-panel__body:after{clear:both;content:"";display:table}.el-picker-panel__content{margin:15px;position:relative}.el-picker-panel__footer{background-color:var(--el-datepicker-bg-color);border-top:1px solid var(--el-datepicker-inner-border-color);font-size:0;padding:4px 12px;position:relative;text-align:right}.el-picker-panel__shortcut{background-color:transparent;border:0;color:var(--el-datepicker-text-color);cursor:pointer;display:block;font-size:14px;line-height:28px;outline:none;padding-left:12px;text-align:left;width:100%}.el-picker-panel__shortcut:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__shortcut.active{background-color:#e6f1fe;color:var(--el-datepicker-active-color)}.el-picker-panel__btn{background-color:transparent;border:1px solid var(--el-fill-color-darker);border-radius:2px;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:24px;outline:none;padding:0 20px}.el-picker-panel__btn[disabled]{color:var(--el-text-color-disabled);cursor:not-allowed}.el-picker-panel__icon-btn{background:transparent;border:0;color:var(--el-datepicker-icon-color);cursor:pointer;font-size:12px;line-height:1;margin-top:8px;outline:none;padding:1px 6px}.el-picker-panel__icon-btn:hover{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn:focus-visible{color:var(--el-datepicker-hover-text-color)}.el-picker-panel__icon-btn.is-disabled{color:var(--el-text-color-disabled)}.el-picker-panel__icon-btn.is-disabled:hover{cursor:not-allowed}.el-picker-panel__icon-btn.is-disabled .el-icon{cursor:inherit}.el-picker-panel__icon-btn .el-icon{cursor:pointer;font-size:inherit}.el-picker-panel__link-btn{vertical-align:middle}.el-picker-panel.is-disabled .el-picker-panel__prev-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__prev-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__prev-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__next-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__next-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__next-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__icon-btn{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__icon-btn:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__icon-btn .el-icon{cursor:inherit}.el-picker-panel.is-disabled .el-picker-panel__shortcut{color:var(--el-text-color-disabled)}.el-picker-panel.is-disabled .el-picker-panel__shortcut:hover{cursor:not-allowed}.el-picker-panel.is-disabled .el-picker-panel__shortcut .el-icon{cursor:inherit}.el-picker-panel [slot=sidebar],.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);bottom:0;box-sizing:border-box;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.el-picker-panel [slot=sidebar]+.el-picker-panel__body,.el-picker-panel__sidebar+.el-picker-panel__body{margin-left:110px}.el-date-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-datepicker-bg-color);width:322px}.el-date-picker.has-sidebar.has-time{width:434px}.el-date-picker.has-sidebar{width:438px}.el-date-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-picker .el-picker-panel__content{width:292px}.el-date-picker table{table-layout:fixed;width:100%}.el-date-picker__editor-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-picker__header{padding:12px 12px 0;text-align:center}.el-date-picker__header--bordered{border-bottom:1px solid var(--el-border-color-lighter);margin-bottom:0;padding-bottom:12px}.el-date-picker__header--bordered+.el-picker-panel__content{margin-top:0}.el-date-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-picker__prev-btn{float:left}.el-date-picker__next-btn{float:right}.el-date-picker__time-wrap{padding:10px;text-align:center}.el-date-picker__time-label{cursor:pointer;float:left;line-height:30px;margin-left:10px}.el-date-picker .el-time-panel{position:absolute}.el-date-picker.is-disabled .el-date-picker__header-label{color:var(--el-text-color-disabled)}.el-date-picker.is-disabled .el-date-picker__header-label:hover{cursor:not-allowed}.el-date-picker.is-disabled .el-date-picker__header-label .el-icon{cursor:inherit}.el-date-range-picker{--el-datepicker-text-color:var(--el-text-color-regular);--el-datepicker-off-text-color:var(--el-text-color-placeholder);--el-datepicker-header-text-color:var(--el-text-color-regular);--el-datepicker-icon-color:var(--el-text-color-primary);--el-datepicker-border-color:var(--el-disabled-border-color);--el-datepicker-inner-border-color:var(--el-border-color-light);--el-datepicker-inrange-bg-color:var(--el-border-color-extra-light);--el-datepicker-inrange-hover-bg-color:var(--el-border-color-extra-light);--el-datepicker-active-color:var(--el-color-primary);--el-datepicker-hover-text-color:var(--el-color-primary);--el-datepicker-bg-color:var(--el-bg-color-overlay);width:646px}.el-date-range-picker.has-sidebar{width:756px}.el-date-range-picker.has-time .el-picker-panel__body-wrapper{position:relative}.el-date-range-picker table{table-layout:fixed;width:100%}.el-date-range-picker .el-picker-panel__body{min-width:513px}.el-date-range-picker .el-picker-panel__content{margin:0}.el-date-range-picker__header{height:28px;position:relative;text-align:center}.el-date-range-picker__header [class*=arrow-left]{float:left}.el-date-range-picker__header [class*=arrow-right]{float:right}.el-date-range-picker__header div{font-size:16px;font-weight:500;margin-right:50px}.el-date-range-picker__header-label{color:var(--el-text-color-regular);cursor:pointer;font-size:16px;font-weight:500;line-height:22px;padding:0 5px;text-align:center}.el-date-range-picker__header-label:hover{color:var(--el-datepicker-hover-text-color)}.el-date-range-picker__header-label:focus-visible{color:var(--el-datepicker-hover-text-color);outline:none}.el-date-range-picker__header-label.active{color:var(--el-datepicker-active-color)}.el-date-range-picker__content{box-sizing:border-box;display:table-cell;margin:0;padding:16px;width:50%}.el-date-range-picker__content.is-left{border-right:1px solid var(--el-datepicker-inner-border-color)}.el-date-range-picker__content .el-date-range-picker__header div{margin-left:50px;margin-right:50px}.el-date-range-picker__editors-wrap{box-sizing:border-box;display:table-cell}.el-date-range-picker__editors-wrap.is-right{text-align:right}.el-date-range-picker__time-header{border-bottom:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;display:table;font-size:12px;padding:8px 5px 5px;position:relative;width:100%}.el-date-range-picker__time-header>.el-icon-arrow-right{color:var(--el-datepicker-icon-color);display:table-cell;font-size:20px;vertical-align:middle}.el-date-range-picker__time-picker-wrap{display:table-cell;padding:0 5px;position:relative}.el-date-range-picker__time-picker-wrap .el-picker-panel{background:#ffffff;position:absolute;right:0;top:13px;z-index:1}.el-date-range-picker__time-picker-wrap .el-time-panel{position:absolute}.el-date-range-picker.is-disabled .el-date-range-picker__header-label{color:var(--el-text-color-disabled)}.el-date-range-picker.is-disabled .el-date-range-picker__header-label:hover{cursor:not-allowed}.el-date-range-picker.is-disabled .el-date-range-picker__header-label .el-icon{cursor:inherit}.el-time-range-picker{overflow:visible;width:354px}.el-time-range-picker__content{padding:10px;position:relative;text-align:center;z-index:1}.el-time-range-picker__cell{box-sizing:border-box;display:inline-block;margin:0;padding:4px 7px 7px;width:50%}.el-time-range-picker__header{font-size:14px;margin-bottom:5px;text-align:center}.el-time-range-picker__body{border:1px solid var(--el-datepicker-border-color);border-radius:2px}.el-time-panel{border-radius:2px;box-sizing:content-box;left:0;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:180px;z-index:var(--el-index-top)}.el-time-panel__content{font-size:0;overflow:hidden;position:relative}.el-time-panel__content:after,.el-time-panel__content:before{box-sizing:border-box;content:"";height:32px;left:0;margin-top:-16px;padding-top:6px;position:absolute;right:0;text-align:left;top:50%;z-index:-1}.el-time-panel__content:after{left:50%;margin-left:12%;margin-right:12%}.el-time-panel__content:before{border-bottom:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);margin-left:12%;margin-right:12%;padding-left:50%}.el-time-panel__content.has-seconds:after{left:66.6666666667%}.el-time-panel__content.has-seconds:before{padding-left:33.3333333333%}.el-time-panel__footer{border-top:1px solid var(--el-timepicker-inner-border-color,var(--el-border-color-light));box-sizing:border-box;height:36px;line-height:25px;padding:4px;text-align:right}.el-time-panel__btn{background-color:transparent;border:none;color:var(--el-text-color-primary);cursor:pointer;font-size:12px;line-height:28px;margin:0 5px;outline:none;padding:0 5px}.el-time-panel__btn.confirm{color:var(--el-timepicker-active-color,var(--el-color-primary));font-weight:800}.el-picker-panel.is-border{border:1px solid var(--el-border-color-lighter)}.el-picker-panel.is-border .el-picker-panel__body-wrapper{position:relative}.el-picker-panel.is-border.el-picker-panel [slot=sidebar],.el-picker-panel.is-border.el-picker-panel__sidebar{border-right:1px solid var(--el-datepicker-inner-border-color);box-sizing:border-box;height:100%;overflow:auto;padding-top:6px;position:absolute;top:0;width:110px}.el-descriptions{--el-descriptions-table-border:1px solid var(--el-border-color-lighter);--el-descriptions-item-bordered-label-background:var(--el-fill-color-light);box-sizing:border-box;color:var(--el-text-color-primary);font-size:var(--el-font-size-base)}.el-descriptions__header{align-items:center;display:flex;justify-content:space-between;margin-bottom:16px}.el-descriptions__title{color:var(--el-text-color-primary);font-size:16px;font-weight:700}.el-descriptions__body{background-color:var(--el-fill-color-blank)}.el-descriptions__body .el-descriptions__table{border-collapse:collapse;width:100%}.el-descriptions__body .el-descriptions__table .el-descriptions__cell{box-sizing:border-box;font-size:14px;line-height:23px;text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-left{text-align:left}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-center{text-align:center}.el-descriptions__body .el-descriptions__table .el-descriptions__cell.is-right{text-align:right}.el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{border:var(--el-descriptions-table-border);padding:8px 11px}.el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:12px}.el-descriptions--large{font-size:14px}.el-descriptions--large .el-descriptions__header{margin-bottom:20px}.el-descriptions--large .el-descriptions__header .el-descriptions__title{font-size:16px}.el-descriptions--large .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:14px}.el-descriptions--large .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:12px 15px}.el-descriptions--large .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:16px}.el-descriptions--small{font-size:12px}.el-descriptions--small .el-descriptions__header{margin-bottom:12px}.el-descriptions--small .el-descriptions__header .el-descriptions__title{font-size:14px}.el-descriptions--small .el-descriptions__body .el-descriptions__table .el-descriptions__cell{font-size:12px}.el-descriptions--small .el-descriptions__body .el-descriptions__table.is-bordered .el-descriptions__cell{padding:4px 7px}.el-descriptions--small .el-descriptions__body .el-descriptions__table:not(.is-bordered) .el-descriptions__cell{padding-bottom:8px}.el-descriptions__label.el-descriptions__cell.is-bordered-label{background:var(--el-descriptions-item-bordered-label-background);color:var(--el-text-color-regular);font-weight:700}.el-descriptions__label:not(.is-bordered-label){color:var(--el-text-color-primary);margin-right:16px}.el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:6px}.el-descriptions__content.el-descriptions__cell.is-bordered-content{color:var(--el-text-color-primary)}.el-descriptions__content:not(.is-bordered-label){color:var(--el-text-color-regular)}.el-descriptions--large .el-descriptions__label:not(.is-bordered-label){margin-right:16px}.el-descriptions--large .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:8px}.el-descriptions--small .el-descriptions__label:not(.is-bordered-label){margin-right:12px}.el-descriptions--small .el-descriptions__label.el-descriptions__cell:not(.is-bordered-label).is-vertical-label{padding-bottom:4px}:root{--el-popup-modal-bg-color:var(--el-color-black);--el-popup-modal-opacity:.5}.v-modal-enter{animation:v-modal-in var(--el-transition-duration-fast) ease}.v-modal-leave{animation:v-modal-out var(--el-transition-duration-fast) ease forwards}@keyframes v-modal-in{0%{opacity:0}}@keyframes v-modal-out{to{opacity:0}}.v-modal{background:var(--el-popup-modal-bg-color);height:100%;left:0;opacity:var(--el-popup-modal-opacity);position:fixed;top:0;width:100%}.el-popup-parent--hidden{overflow:hidden}.el-dialog{--el-dialog-width:50%;--el-dialog-margin-top:15vh;--el-dialog-bg-color:var(--el-bg-color);--el-dialog-box-shadow:var(--el-box-shadow);--el-dialog-title-font-size:var(--el-font-size-large);--el-dialog-content-font-size:14px;--el-dialog-font-line-height:var(--el-font-line-height-primary);--el-dialog-padding-primary:16px;--el-dialog-border-radius:var(--el-border-radius-base);background:var(--el-dialog-bg-color);border-radius:var(--el-dialog-border-radius);box-shadow:var(--el-dialog-box-shadow);box-sizing:border-box;margin:var(--el-dialog-margin-top,15vh) auto 50px;overflow-wrap:break-word;padding:var(--el-dialog-padding-primary);position:relative;width:var(--el-dialog-width,50%)}.el-dialog:focus{outline:none!important}.el-dialog.is-align-center{margin:auto}.el-dialog.is-fullscreen{--el-dialog-width:100%;--el-dialog-margin-top:0;border-radius:0;height:100%;margin-bottom:0;overflow:auto}.el-dialog__wrapper{bottom:0;left:0;margin:0;overflow:auto;position:fixed;right:0;top:0}.el-dialog.is-draggable .el-dialog__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-dialog__header{padding-bottom:var(--el-dialog-padding-primary)}.el-dialog__header.show-close{padding-right:calc(var(--el-dialog-padding-primary) + var(--el-message-close-size, 16px))}.el-dialog__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:48px;outline:none;padding:0;position:absolute;right:0;top:0;width:48px}.el-dialog__headerbtn .el-dialog__close{color:var(--el-color-info);font-size:inherit}.el-dialog__headerbtn:focus .el-dialog__close,.el-dialog__headerbtn:hover .el-dialog__close{color:var(--el-color-primary)}.el-dialog__title{color:var(--el-text-color-primary);font-size:var(--el-dialog-title-font-size);line-height:var(--el-dialog-font-line-height)}.el-dialog__body{color:var(--el-text-color-regular);font-size:var(--el-dialog-content-font-size)}.el-dialog__footer{box-sizing:border-box;padding-top:var(--el-dialog-padding-primary);text-align:right}.el-dialog--center{text-align:center}.el-dialog--center .el-dialog__body{text-align:initial}.el-dialog--center .el-dialog__footer{text-align:inherit}.el-modal-dialog.is-penetrable{pointer-events:none}.el-modal-dialog.is-penetrable .el-dialog{pointer-events:auto}.el-overlay-dialog{bottom:0;left:0;overflow:auto;position:fixed;right:0;top:0}.el-overlay-dialog.is-closing .el-dialog{pointer-events:none}.dialog-fade-enter-active{animation:modal-fade-in var(--el-transition-duration)}.dialog-fade-enter-active .el-overlay-dialog{animation:dialog-fade-in var(--el-transition-duration)}.dialog-fade-leave-active{animation:modal-fade-out var(--el-transition-duration)}.dialog-fade-leave-active .el-overlay-dialog{animation:dialog-fade-out var(--el-transition-duration)}@keyframes dialog-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes dialog-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}@keyframes modal-fade-in{0%{opacity:0}to{opacity:1}}@keyframes modal-fade-out{0%{opacity:1}to{opacity:0}}.el-divider{position:relative}.el-divider--horizontal{border-top:1px var(--el-border-color) var(--el-border-style);display:block;height:1px;margin:24px 0;width:100%}.el-divider--vertical{border-left:1px var(--el-border-color) var(--el-border-style);display:inline-block;height:1em;margin:0 8px;position:relative;vertical-align:middle;width:1px}.el-divider__text{background-color:var(--el-bg-color);color:var(--el-text-color-primary);font-size:14px;font-weight:500;padding:0 20px;position:absolute}.el-divider__text.is-left{left:20px;transform:translateY(-50%)}.el-divider__text.is-center{left:50%;transform:translate(-50%) translateY(-50%)}.el-divider__text.is-right{right:20px;transform:translateY(-50%)}.el-overlay.is-drawer{overflow:hidden}.el-drawer{--el-drawer-bg-color:var(--el-dialog-bg-color,var(--el-bg-color));--el-drawer-padding-primary:var(--el-dialog-padding-primary,20px);--el-drawer-dragger-size:8px;background-color:var(--el-drawer-bg-color);box-shadow:var(--el-box-shadow-dark);box-sizing:border-box;display:flex;flex-direction:column;position:absolute;transition:all var(--el-transition-duration)}.el-drawer .btt,.el-drawer .ltr,.el-drawer .rtl,.el-drawer .ttb{transform:translate(0)}.el-drawer__sr-focus:focus{outline:none!important}.el-drawer__header{align-items:center;color:var(--el-text-color-primary);display:flex;margin-bottom:32px;overflow:hidden;padding:var(--el-drawer-padding-primary);padding-bottom:0}.el-drawer__header>:first-child{flex:1}.el-drawer__title{flex:1;font-size:16px;line-height:inherit;margin:0}.el-drawer__footer{overflow:hidden;padding:var(--el-drawer-padding-primary);padding-top:10px;text-align:right}.el-drawer__close-btn{background-color:transparent;border:none;color:inherit;cursor:pointer;display:inline-flex;font-size:var(--el-font-size-extra-large);outline:none}.el-drawer__close-btn:focus i,.el-drawer__close-btn:hover i{color:var(--el-color-primary)}.el-drawer__body{flex:1;overflow:auto;padding:var(--el-drawer-padding-primary)}.el-drawer__body>*{box-sizing:border-box}.el-drawer.is-dragging{transition:none}.el-drawer__dragger{-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-drawer__dragger,.el-drawer__dragger:before{background-color:transparent;position:absolute;transition:all .2s}.el-drawer__dragger:before{content:""}.el-drawer__dragger:hover:before{background-color:var(--el-color-primary)}.el-drawer.ltr,.el-drawer.rtl{bottom:0;height:100%;top:0}.el-drawer.ltr>.el-drawer__dragger,.el-drawer.rtl>.el-drawer__dragger{bottom:0;cursor:ew-resize;height:100%;top:0;width:var(--el-drawer-dragger-size)}.el-drawer.ltr>.el-drawer__dragger:before,.el-drawer.rtl>.el-drawer__dragger:before{bottom:0;top:0;width:3px}.el-drawer.btt,.el-drawer.ttb{left:0;right:0;width:100%}.el-drawer.btt>.el-drawer__dragger,.el-drawer.ttb>.el-drawer__dragger{cursor:ns-resize;height:var(--el-drawer-dragger-size);left:0;right:0;width:100%}.el-drawer.btt>.el-drawer__dragger:before,.el-drawer.ttb>.el-drawer__dragger:before{height:3px;left:0;right:0}.el-drawer.ltr{left:0}.el-drawer.ltr>.el-drawer__dragger{right:0}.el-drawer.ltr>.el-drawer__dragger:before{right:-2px}.el-drawer.rtl{right:0}.el-drawer.rtl>.el-drawer__dragger{left:0}.el-drawer.rtl>.el-drawer__dragger:before{left:-2px}.el-drawer.ttb{top:0}.el-drawer.ttb>.el-drawer__dragger{bottom:0}.el-drawer.ttb>.el-drawer__dragger:before{bottom:-2px}.el-drawer.btt{bottom:0}.el-drawer.btt>.el-drawer__dragger{top:0}.el-drawer.btt>.el-drawer__dragger:before{top:-2px}.el-modal-drawer.is-penetrable{pointer-events:none}.el-modal-drawer.is-penetrable .el-drawer{pointer-events:auto}.el-drawer-fade-enter-active,.el-drawer-fade-leave-active{transition:all var(--el-transition-duration)}.el-drawer-fade-enter-active,.el-drawer-fade-enter-from,.el-drawer-fade-enter-to,.el-drawer-fade-leave-active,.el-drawer-fade-leave-from,.el-drawer-fade-leave-to{overflow:hidden!important}.el-drawer-fade-enter-from,.el-drawer-fade-leave-to{background-color:transparent!important}.el-drawer-fade-enter-from .rtl,.el-drawer-fade-leave-to .rtl{transform:translate(100%)}.el-drawer-fade-enter-from .ltr,.el-drawer-fade-leave-to .ltr{transform:translate(-100%)}.el-drawer-fade-enter-from .ttb,.el-drawer-fade-leave-to .ttb{transform:translateY(-100%)}.el-drawer-fade-enter-from .btt,.el-drawer-fade-leave-to .btt{transform:translateY(100%)}.el-dropdown{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);line-height:1;position:relative;vertical-align:top}.el-dropdown.is-disabled{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-dropdown__popper{--el-dropdown-menu-box-shadow:var(--el-box-shadow-light);--el-dropdown-menuItem-hover-fill:var(--el-color-primary-light-9);--el-dropdown-menuItem-hover-color:var(--el-color-primary);--el-dropdown-menu-index:10}.el-dropdown__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-dropdown-menu-box-shadow)}.el-dropdown__popper.el-popper,.el-dropdown__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-dropdown__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-dropdown__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-dropdown__popper .el-dropdown-menu{border:none}.el-dropdown__popper .el-dropdown__popper-selfdefine{outline:none}.el-dropdown__popper .el-scrollbar__bar{z-index:calc(var(--el-dropdown-menu-index) + 1)}.el-dropdown__popper .el-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:0}.el-dropdown .el-dropdown__caret-button{align-items:center;border-left:none;display:inline-flex;justify-content:center;padding-left:0;padding-right:0;width:32px}.el-dropdown .el-dropdown__caret-button>span{display:inline-flex}.el-dropdown .el-dropdown__caret-button:before{background:var(--el-overlay-color-lighter);bottom:-1px;content:"";display:block;left:0;position:absolute;top:-1px;width:1px}.el-dropdown .el-dropdown__caret-button.el-button:before{background:var(--el-border-color);opacity:.5}.el-dropdown .el-dropdown__caret-button .el-dropdown__icon{font-size:inherit;padding-left:0}.el-dropdown .el-dropdown-selfdefine{outline:none}.el-dropdown--large .el-dropdown__caret-button{width:40px}.el-dropdown--small .el-dropdown__caret-button{width:24px}.el-dropdown-menu{background-color:var(--el-bg-color-overlay);border:none;border-radius:var(--el-border-radius-base);box-shadow:none;left:0;list-style:none;margin:0;padding:5px 0;position:relative;top:0;z-index:var(--el-dropdown-menu-index)}.el-dropdown-menu__item{align-items:center;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:var(--el-font-size-base);line-height:22px;list-style:none;margin:0;outline:none;padding:5px 16px;white-space:nowrap}.el-dropdown-menu__item:not(.is-disabled):focus,.el-dropdown-menu__item:not(.is-disabled):hover{background-color:var(--el-dropdown-menuItem-hover-fill);color:var(--el-dropdown-menuItem-hover-color)}.el-dropdown-menu__item i{margin-right:5px}.el-dropdown-menu__item--divided{border-top:1px solid var(--el-border-color-lighter);margin:6px 0}.el-dropdown-menu__item.is-disabled{color:var(--el-text-color-disabled);cursor:not-allowed}.el-dropdown-menu--large{padding:7px 0}.el-dropdown-menu--large .el-dropdown-menu__item{font-size:14px;line-height:22px;padding:7px 20px}.el-dropdown-menu--large .el-dropdown-menu__item--divided{margin:8px 0}.el-dropdown-menu--small{padding:3px 0}.el-dropdown-menu--small .el-dropdown-menu__item{font-size:12px;line-height:20px;padding:2px 12px}.el-dropdown-menu--small .el-dropdown-menu__item--divided{margin:4px 0}.el-empty{--el-empty-padding:40px 0;--el-empty-image-width:160px;--el-empty-description-margin-top:20px;--el-empty-bottom-margin-top:20px;--el-empty-fill-color-0:var(--el-color-white);--el-empty-fill-color-1:#fcfcfd;--el-empty-fill-color-2:#f8f9fb;--el-empty-fill-color-3:#f7f8fc;--el-empty-fill-color-4:#eeeff3;--el-empty-fill-color-5:#edeef2;--el-empty-fill-color-6:#e9ebef;--el-empty-fill-color-7:#e5e7e9;--el-empty-fill-color-8:#e0e3e9;--el-empty-fill-color-9:#d5d7de;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-empty-padding);text-align:center}.el-empty__image{width:var(--el-empty-image-width)}.el-empty__image img{height:100%;-o-object-fit:contain;object-fit:contain;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:top;width:100%}.el-empty__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:100%;vertical-align:top;width:100%}.el-empty__description{margin-top:var(--el-empty-description-margin-top)}.el-empty__description p{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);margin:0}.el-empty__bottom{margin-top:var(--el-empty-bottom-margin-top)}.el-footer{--el-footer-padding:0 20px;--el-footer-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-footer-height);padding:var(--el-footer-padding)}.el-form-item{display:flex;--font-size:14px;margin-bottom:18px}.el-form-item .el-form-item{margin-bottom:0}.el-form-item .el-input__validateIcon{display:none}.el-form-item--large{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:22px}.el-form-item--large .el-form-item__label{height:40px;line-height:40px}.el-form-item--large .el-form-item__content{line-height:40px}.el-form-item--large .el-form-item__error{padding-top:4px}.el-form-item--default{--font-size:14px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--default .el-form-item__label{height:32px;line-height:32px}.el-form-item--default .el-form-item__content{line-height:32px}.el-form-item--default .el-form-item__error{padding-top:2px}.el-form-item--small{--font-size:12px;--el-form-label-font-size:var(--font-size);margin-bottom:18px}.el-form-item--small .el-form-item__label{height:24px;line-height:24px}.el-form-item--small .el-form-item__content{line-height:24px}.el-form-item--small .el-form-item__error{padding-top:2px}.el-form-item--label-left .el-form-item__label{justify-content:flex-start;text-align:left}.el-form-item--label-right .el-form-item__label{justify-content:flex-end;text-align:right}.el-form-item--label-top{display:block}.el-form-item--label-top .el-form-item__label{display:block;height:auto;line-height:22px;margin-bottom:8px;padding-right:0;text-align:left;width:-moz-fit-content;width:fit-content}.el-form-item__label-wrap{display:flex}.el-form-item__label{align-items:flex-start;box-sizing:border-box;color:var(--el-text-color-regular);display:inline-flex;flex:0 0 auto;font-size:var(--el-form-label-font-size);height:32px;line-height:32px;padding:0 12px 0 0}.el-form-item__content{align-items:center;display:flex;flex:1;flex-wrap:wrap;font-size:var(--font-size);line-height:32px;min-width:0;position:relative}.el-form-item__content .el-input-group{vertical-align:top}.el-form-item__error{color:var(--el-color-danger);font-size:12px;left:0;line-height:1;padding-top:2px;position:absolute;top:100%}.el-form-item__error--inline{display:inline-block;left:auto;margin-left:10px;position:relative;top:auto}.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label-wrap>.el-form-item__label:before,.el-form-item.is-required:not(.is-no-asterisk).asterisk-left>.el-form-item__label:before{color:var(--el-color-danger);content:"*";margin-right:4px}.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label-wrap>.el-form-item__label:after,.el-form-item.is-required:not(.is-no-asterisk).asterisk-right>.el-form-item__label:after{color:var(--el-color-danger);content:"*";margin-left:4px}.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input-tag__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-input__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-select__wrapper,.el-form-item.is-error .el-form-item__content .el-select__wrapper.is-focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper:focus,.el-form-item.is-error .el-form-item__content .el-select__wrapper:hover,.el-form-item.is-error .el-form-item__content .el-textarea__inner,.el-form-item.is-error .el-form-item__content .el-textarea__inner.is-focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner:focus,.el-form-item.is-error .el-form-item__content .el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__wrapper,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__wrapper{box-shadow:inset 0 0 0 1px transparent}.el-form-item.is-error .el-form-item__content .el-input-group__append .el-input__validateIcon,.el-form-item.is-error .el-form-item__content .el-input-group__prepend .el-input__validateIcon{display:none}.el-form-item.is-error .el-form-item__content .el-input__validateIcon{color:var(--el-color-danger)}.el-form-item--feedback .el-input__validateIcon{display:inline-flex}.el-form{--el-form-label-font-size:var(--el-font-size-base);--el-form-inline-content-width:220px}.el-form--inline .el-form-item{display:inline-flex;margin-right:32px;vertical-align:middle}.el-form--inline.el-form--label-top{display:flex;flex-wrap:wrap}.el-form--inline.el-form--label-top .el-form-item{display:block}.el-header{--el-header-padding:0 20px;--el-header-height:60px;box-sizing:border-box;flex-shrink:0;height:var(--el-header-height);padding:var(--el-header-padding)}.el-image-viewer__wrapper{bottom:0;left:0;position:fixed;right:0;top:0}.el-image-viewer__wrapper:focus{outline:none!important}.el-image-viewer__btn{align-items:center;border-radius:50%;box-sizing:border-box;cursor:pointer;display:flex;justify-content:center;opacity:.8;position:absolute;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:1}.el-image-viewer__btn .el-icon{cursor:pointer}.el-image-viewer__close{font-size:40px;height:40px;right:40px;top:40px;width:40px}.el-image-viewer__canvas{align-items:center;display:flex;height:100%;justify-content:center;position:static;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:100%}.el-image-viewer__actions{background-color:var(--el-text-color-regular);border-color:#fff;border-radius:22px;bottom:30px;height:44px;left:50%;padding:0 23px;transform:translate(-50%)}.el-image-viewer__actions__inner{align-items:center;color:#fff;cursor:default;display:flex;font-size:23px;gap:22px;height:100%;justify-content:space-around;padding:0 6px;width:100%}.el-image-viewer__actions__divider{margin:0 -6px}.el-image-viewer__progress{bottom:90px;color:#fff;cursor:default;left:50%;transform:translate(-50%)}.el-image-viewer__prev{left:40px}.el-image-viewer__next,.el-image-viewer__prev{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;top:50%;transform:translateY(-50%);width:44px}.el-image-viewer__next{right:40px;text-indent:2px}.el-image-viewer__close{background-color:var(--el-text-color-regular);border-color:#fff;color:#fff;font-size:24px;height:44px;width:44px}.el-image-viewer__mask{background:#000;height:100%;left:0;opacity:.5;position:absolute;top:0;width:100%}.el-image-viewer-parent--hidden{overflow:hidden}.viewer-fade-enter-active{animation:viewer-fade-in var(--el-transition-duration)}.viewer-fade-leave-active{animation:viewer-fade-out var(--el-transition-duration)}@keyframes viewer-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}@keyframes viewer-fade-out{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20px,0)}}.el-image__error,.el-image__inner,.el-image__placeholder,.el-image__wrapper{height:100%;width:100%}.el-image{display:inline-block;overflow:hidden;position:relative}.el-image__inner{opacity:1;vertical-align:top}.el-image__inner.is-loading{opacity:0}.el-image__wrapper{left:0;position:absolute;top:0}.el-image__error,.el-image__placeholder{background:var(--el-fill-color-light)}.el-image__error{align-items:center;color:var(--el-text-color-placeholder);display:flex;font-size:14px;justify-content:center;vertical-align:middle}.el-image__preview{cursor:pointer}.el-textarea{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;display:inline-block;font-size:var(--el-font-size-base);position:relative;vertical-align:bottom;width:100%}.el-textarea__inner{-webkit-appearance:none;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));display:block;font-family:inherit;font-size:inherit;line-height:1.5;padding:5px 11px;position:relative;resize:vertical;transition:var(--el-transition-box-shadow);width:100%}.el-textarea__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-textarea__inner:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-textarea__inner:focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset;outline:none}.el-textarea .el-input__count{background:var(--el-fill-color-blank);bottom:5px;color:var(--el-color-info);font-size:12px;line-height:14px;position:absolute;right:10px}.el-textarea .el-input__count.is-outside{background:transparent;bottom:unset;line-height:1;padding-top:2px;position:absolute;right:0;top:100%}.el-textarea.is-disabled .el-textarea__inner{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;color:var(--el-disabled-text-color);cursor:not-allowed}.el-textarea.is-disabled .el-textarea__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-disabled .el-textarea__inner::placeholder{color:var(--el-text-color-placeholder)}.el-textarea.is-exceed .el-textarea__inner{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-textarea.is-exceed .el-input__count{color:var(--el-color-danger)}.el-input{--el-input-text-color:var(--el-text-color-regular);--el-input-border:var(--el-border);--el-input-hover-border:var(--el-border-color-hover);--el-input-focus-border:var(--el-color-primary);--el-input-transparent-border:0 0 0 1px transparent inset;--el-input-border-color:var(--el-border-color);--el-input-border-radius:var(--el-border-radius-base);--el-input-bg-color:var(--el-fill-color-blank);--el-input-icon-color:var(--el-text-color-placeholder);--el-input-placeholder-color:var(--el-text-color-placeholder);--el-input-hover-border-color:var(--el-border-color-hover);--el-input-clear-hover-color:var(--el-text-color-secondary);--el-input-focus-border-color:var(--el-color-primary);--el-input-width:100%;--el-input-height:var(--el-component-size);box-sizing:border-box;display:inline-flex;font-size:var(--el-font-size-base);line-height:var(--el-input-height);position:relative;vertical-align:middle;width:var(--el-input-width)}.el-input::-webkit-scrollbar{width:6px;z-index:11}.el-input::-webkit-scrollbar:horizontal{height:6px}.el-input::-webkit-scrollbar-thumb{background:var(--el-text-color-disabled);border-radius:5px;width:6px}.el-input::-webkit-scrollbar-corner,.el-input::-webkit-scrollbar-track{background:var(--el-fill-color-blank)}.el-input::-webkit-scrollbar-track-piece{background:var(--el-fill-color-blank);width:6px}.el-input .el-input__clear,.el-input .el-input__password{color:var(--el-input-icon-color);cursor:pointer;font-size:14px}.el-input .el-input__clear:hover,.el-input .el-input__password:hover{color:var(--el-input-clear-hover-color)}.el-input .el-input__count{align-items:center;color:var(--el-color-info);display:inline-flex;font-size:12px;height:100%}.el-input .el-input__count .el-input__count-inner{background:var(--el-fill-color-blank);display:inline-block;line-height:normal;padding-left:8px}.el-input .el-input__count.is-outside{height:unset;padding-top:2px;position:absolute;right:0;top:100%}.el-input .el-input__count.is-outside .el-input__count-inner{background:transparent;line-height:1;padding-left:0}.el-input__wrapper{align-items:center;background-color:var(--el-input-bg-color,var(--el-fill-color-blank));background-image:none;border-radius:var(--el-input-border-radius,var(--el-border-radius-base));box-shadow:0 0 0 1px var(--el-input-border-color,var(--el-border-color)) inset;cursor:text;display:inline-flex;flex-grow:1;justify-content:center;padding:1px 11px;transform:translateZ(0);transition:var(--el-transition-box-shadow)}.el-input__wrapper:hover{box-shadow:0 0 0 1px var(--el-input-hover-border-color) inset}.el-input__wrapper.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input{--el-input-inner-height:calc(var(--el-input-height, 32px) - 2px)}.el-input__inner{-webkit-appearance:none;background:none;border:none;box-sizing:border-box;color:var(--el-input-text-color,var(--el-text-color-regular));flex-grow:1;font-size:inherit;height:var(--el-input-inner-height);line-height:var(--el-input-inner-height);outline:none;padding:0;width:100%}.el-input__inner:focus{outline:none}.el-input__inner::-moz-placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner::placeholder{color:var(--el-input-placeholder-color,var(--el-text-color-placeholder))}.el-input__inner[type=password]::-ms-reveal{display:none}.el-input__inner[type=number]{line-height:1}.el-input__prefix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;line-height:var(--el-input-inner-height);pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__prefix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__prefix-inner>:last-child{margin-right:8px}.el-input__prefix-inner>:first-child,.el-input__prefix-inner>:first-child.el-input__icon{margin-left:0}.el-input__suffix{color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:inline-flex;flex-shrink:0;flex-wrap:nowrap;height:100%;line-height:var(--el-input-inner-height);pointer-events:none;text-align:center;transition:all var(--el-transition-duration);white-space:nowrap}.el-input__suffix-inner{align-items:center;display:inline-flex;justify-content:center;pointer-events:all}.el-input__suffix-inner>:first-child{margin-left:8px}.el-input .el-input__icon{align-items:center;display:flex;height:inherit;justify-content:center;line-height:inherit;margin-left:8px;transition:all var(--el-transition-duration)}.el-input__validateIcon{pointer-events:none}.el-input.is-active .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-color, ) inset}.el-input.is-disabled{cursor:not-allowed}.el-input.is-disabled .el-input__wrapper{background-color:var(--el-disabled-bg-color);box-shadow:0 0 0 1px var(--el-disabled-border-color) inset;cursor:not-allowed}.el-input.is-disabled .el-input__inner{color:var(--el-disabled-text-color);-webkit-text-fill-color:var(--el-disabled-text-color);cursor:not-allowed}.el-input.is-disabled .el-input__inner::-moz-placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__inner::placeholder{color:var(--el-text-color-placeholder)}.el-input.is-disabled .el-input__icon{cursor:not-allowed}.el-input.is-disabled .el-input__prefix-inner,.el-input.is-disabled .el-input__suffix-inner{pointer-events:none}.el-input.is-exceed .el-input__wrapper{box-shadow:0 0 0 1px var(--el-color-danger) inset}.el-input.is-exceed .el-input__suffix .el-input__count{color:var(--el-color-danger)}.el-input--large{--el-input-height:var(--el-component-size-large);font-size:14px}.el-input--large .el-input__wrapper{padding:1px 15px}.el-input--large{--el-input-inner-height:calc(var(--el-input-height, 40px) - 2px)}.el-input--small{--el-input-height:var(--el-component-size-small);font-size:12px}.el-input--small .el-input__wrapper{padding:1px 7px}.el-input--small{--el-input-inner-height:calc(var(--el-input-height, 24px) - 2px)}.el-input-group{align-items:stretch;display:inline-flex;width:100%}.el-input-group__append,.el-input-group__prepend{align-items:center;background-color:var(--el-fill-color-light);border-radius:var(--el-input-border-radius);color:var(--el-color-info);display:inline-flex;justify-content:center;min-height:100%;padding:0 20px;position:relative;white-space:nowrap}.el-input-group__append:focus,.el-input-group__prepend:focus{outline:none}.el-input-group__append .el-button,.el-input-group__append .el-select,.el-input-group__prepend .el-button,.el-input-group__prepend .el-select{display:inline-block;flex:1;margin:0 -20px}.el-input-group__append button.el-button,.el-input-group__append button.el-button:hover,.el-input-group__append div.el-select .el-select__wrapper,.el-input-group__append div.el-select:hover .el-select__wrapper,.el-input-group__prepend button.el-button,.el-input-group__prepend button.el-button:hover,.el-input-group__prepend div.el-select .el-select__wrapper,.el-input-group__prepend div.el-select:hover .el-select__wrapper{background-color:transparent;border-color:transparent;color:inherit}.el-input-group__append .el-button,.el-input-group__append .el-input,.el-input-group__prepend .el-button,.el-input-group__prepend .el-input{font-size:inherit}.el-input-group__prepend{border-bottom-right-radius:0;border-right:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group__append{border-left:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-group--prepend>.el-input__wrapper,.el-input-group__append{border-bottom-left-radius:0;border-top-left-radius:0}.el-input-group--prepend .el-input-group__prepend .el-select .el-select__wrapper{border-bottom-right-radius:0;border-top-right-radius:0;box-shadow:1px 0 0 0 var(--el-input-border-color) inset,0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset}.el-input-group--append>.el-input__wrapper{border-bottom-right-radius:0;border-top-right-radius:0}.el-input-group--append .el-input-group__append .el-select .el-select__wrapper{border-bottom-left-radius:0;border-top-left-radius:0;box-shadow:0 1px 0 0 var(--el-input-border-color) inset,0 -1px 0 0 var(--el-input-border-color) inset,-1px 0 0 0 var(--el-input-border-color) inset}.el-input-hidden{display:none!important}.el-input-number{display:inline-flex;line-height:30px;position:relative;vertical-align:middle;width:150px}.el-input-number .el-input__wrapper{padding-left:42px;padding-right:42px}.el-input-number .el-input__inner{-webkit-appearance:none;-moz-appearance:textfield;line-height:1;text-align:center}.el-input-number .el-input__inner::-webkit-inner-spin-button,.el-input-number .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-input-number.is-left .el-input__inner{text-align:left}.el-input-number.is-right .el-input__inner{text-align:right}.el-input-number.is-center .el-input__inner{text-align:center}.el-input-number__decrease,.el-input-number__increase{align-items:center;background:var(--el-fill-color-light);bottom:1px;color:var(--el-text-color-regular);cursor:pointer;display:flex;font-size:13px;height:auto;justify-content:center;position:absolute;top:1px;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:32px;z-index:1}.el-input-number__decrease:hover,.el-input-number__increase:hover{color:var(--el-color-primary)}.el-input-number__decrease:hover~.el-input:not(.is-disabled) .el-input__wrapper,.el-input-number__increase:hover~.el-input:not(.is-disabled) .el-input__wrapper{box-shadow:0 0 0 1px var(--el-input-focus-border-color,var(--el-color-primary)) inset}.el-input-number__decrease.is-disabled,.el-input-number__increase.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-input-number__increase{border-left:var(--el-border);border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0;right:1px}.el-input-number__decrease{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);border-right:var(--el-border);left:1px}.el-input-number.is-disabled .el-input-number__decrease,.el-input-number.is-disabled .el-input-number__increase{border-color:var(--el-disabled-border-color);color:var(--el-disabled-border-color)}.el-input-number.is-disabled .el-input-number__decrease:hover,.el-input-number.is-disabled .el-input-number__increase:hover{color:var(--el-disabled-border-color);cursor:not-allowed}.el-input-number--large{line-height:38px;width:180px}.el-input-number--large .el-input-number__decrease,.el-input-number--large .el-input-number__increase{font-size:14px;width:40px}.el-input-number--large.is-controls-right .el-input--large .el-input__wrapper{padding-right:47px}.el-input-number--large .el-input--large .el-input__wrapper{padding-left:47px;padding-right:47px}.el-input-number--small{line-height:22px;width:120px}.el-input-number--small .el-input-number__decrease,.el-input-number--small .el-input-number__increase{font-size:12px;width:24px}.el-input-number--small.is-controls-right .el-input--small .el-input__wrapper{padding-right:31px}.el-input-number--small .el-input--small .el-input__wrapper{padding-left:31px;padding-right:31px}.el-input-number--small .el-input-number__decrease [class*=el-icon],.el-input-number--small .el-input-number__increase [class*=el-icon]{transform:scale(.9)}.el-input-number.is-without-controls .el-input__wrapper{padding-left:15px;padding-right:15px}.el-input-number.is-controls-right .el-input__wrapper{padding-left:15px;padding-right:42px}.el-input-number.is-controls-right .el-input-number__decrease,.el-input-number.is-controls-right .el-input-number__increase{--el-input-number-controls-height:15px;height:var(--el-input-number-controls-height);line-height:var(--el-input-number-controls-height)}.el-input-number.is-controls-right .el-input-number__decrease [class*=el-icon],.el-input-number.is-controls-right .el-input-number__increase [class*=el-icon]{transform:scale(.8)}.el-input-number.is-controls-right .el-input-number__increase{border-bottom:var(--el-border);border-radius:0 var(--el-border-radius-base) 0 0;bottom:auto;left:auto}.el-input-number.is-controls-right .el-input-number__decrease{border-left:var(--el-border);border-radius:0 0 var(--el-border-radius-base) 0;border-right:none;left:auto;right:1px;top:auto}.el-input-number.is-controls-right[class*=large] [class*=decrease],.el-input-number.is-controls-right[class*=large] [class*=increase]{--el-input-number-controls-height:19px}.el-input-number.is-controls-right[class*=small] [class*=decrease],.el-input-number.is-controls-right[class*=small] [class*=increase]{--el-input-number-controls-height:11px}.el-input-tag{--el-input-tag-border-color-hover:var(--el-border-color-hover);--el-input-tag-placeholder-color:var(--el-text-color-placeholder);--el-input-tag-disabled-color:var(--el-disabled-text-color);--el-input-tag-disabled-border:var(--el-disabled-border-color);--el-input-tag-font-size:var(--el-font-size-base);--el-input-tag-close-hover-color:var(--el-text-color-secondary);--el-input-tag-text-color:var(--el-text-color-regular);--el-input-tag-input-focus-border-color:var(--el-color-primary);--el-input-tag-width:100%;--el-input-tag-mini-height:var(--el-component-size);--el-input-tag-gap:6px;--el-input-tag-padding:4px;--el-input-tag-inner-padding:8px;--el-input-tag-line-height:24px;align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:var(--el-input-tag-font-size);line-height:var(--el-input-tag-line-height);min-height:var(--el-input-tag-mini-height);padding:var(--el-input-tag-padding);transform:translateZ(0);transition:var(--el-transition-duration);width:var(--el-input-tag-width)}.el-input-tag.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-input-tag.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-input-tag.is-disabled{background-color:var(--el-fill-color-light);cursor:not-allowed}.el-input-tag.is-disabled,.el-input-tag.is-disabled:hover{box-shadow:0 0 0 1px var(--el-input-tag-disabled-border) inset}.el-input-tag.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-input-tag.is-disabled .el-input-tag__inner .el-input-tag__input,.el-input-tag.is-disabled .el-input-tag__inner .el-tag{cursor:not-allowed}.el-input-tag__prefix,.el-input-tag__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;padding:0 var(--el-input-tag-inner-padding)}.el-input-tag__suffix{gap:8px}.el-input-tag__input-tag-list{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-input-tag__input-tag-list.is-near{margin-left:-8px}.el-input-tag__input-tag-list .el-tag{border-color:transparent;cursor:pointer}.el-input-tag__input-tag-list .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__input-tag-list .el-tag .el-tag__content{min-width:0}.el-input-tag__inner{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:var(--el-input-tag-gap);max-width:100%;min-width:0;position:relative}.el-input-tag__inner.is-left-space{margin-left:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-right-space{margin-right:var(--el-input-tag-inner-padding)}.el-input-tag__inner.is-draggable .el-tag{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-input-tag__drop-indicator{background-color:var(--el-color-primary);height:var(--el-input-tag-line-height);position:absolute;top:0;width:1px}.el-input-tag__inner .el-tag{border-color:transparent;cursor:pointer;max-width:100%}.el-input-tag__inner .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-input-tag__inner .el-tag .el-tag__content{line-height:normal;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-input-tag__input-wrapper{flex:1}.el-input-tag__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-input-tag-text-color);font-family:inherit;font-size:inherit;line-height:inherit;outline:none;padding:0;width:100%}.el-input-tag__input::-moz-placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input::placeholder{color:var(--el-input-tag-placeholder-color)}.el-input-tag__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-input-tag--large{--el-input-tag-gap:6px;--el-input-tag-padding:8px;--el-input-tag-padding-left:8px;--el-input-tag-font-size:14px}.el-input-tag--small{--el-input-tag-gap:4px;--el-input-tag-padding:2px;--el-input-tag-padding-left:6px;--el-input-tag-font-size:12px;--el-input-tag-line-height:20px;--el-input-tag-mini-height:var(--el-component-size-small)}.el-link{--el-link-font-size:var(--el-font-size-base);--el-link-font-weight:var(--el-font-weight-primary);--el-link-text-color:var(--el-text-color-regular);--el-link-hover-text-color:var(--el-color-primary);--el-link-disabled-text-color:var(--el-text-color-placeholder);align-items:center;color:var(--el-link-text-color);cursor:pointer;display:inline-flex;flex-direction:row;font-size:var(--el-link-font-size);font-weight:var(--el-link-font-weight);justify-content:center;outline:none;padding:0;position:relative;text-decoration:none;vertical-align:middle}.el-link.is-hover-underline:hover:after{border-bottom:1px solid var(--el-link-hover-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link.is-underline:after{border-bottom:1px solid var(--el-link-text-color);bottom:0;content:"";height:0;left:0;position:absolute;right:0}.el-link:hover{color:var(--el-link-hover-text-color)}.el-link:hover:after{border-color:var(--el-link-hover-text-color)}.el-link [class*=el-icon-]+span{margin-left:5px}.el-link__inner{align-items:center;display:inline-flex;justify-content:center}.el-link.el-link--primary{--el-link-text-color:var(--el-color-primary);--el-link-hover-text-color:var(--el-color-primary-light-3);--el-link-disabled-text-color:var(--el-color-primary-light-5)}.el-link.el-link--success{--el-link-text-color:var(--el-color-success);--el-link-hover-text-color:var(--el-color-success-light-3);--el-link-disabled-text-color:var(--el-color-success-light-5)}.el-link.el-link--warning{--el-link-text-color:var(--el-color-warning);--el-link-hover-text-color:var(--el-color-warning-light-3);--el-link-disabled-text-color:var(--el-color-warning-light-5)}.el-link.el-link--danger{--el-link-text-color:var(--el-color-danger);--el-link-hover-text-color:var(--el-color-danger-light-3);--el-link-disabled-text-color:var(--el-color-danger-light-5)}.el-link.el-link--error{--el-link-text-color:var(--el-color-error);--el-link-hover-text-color:var(--el-color-error-light-3);--el-link-disabled-text-color:var(--el-color-error-light-5)}.el-link.el-link--info{--el-link-text-color:var(--el-color-info);--el-link-hover-text-color:var(--el-color-info-light-3);--el-link-disabled-text-color:var(--el-color-info-light-5)}.el-link.is-disabled{color:var(--el-link-disabled-text-color);cursor:not-allowed}.el-link.is-disabled:after{border-color:var(--el-link-disabled-text-color)}:root{--el-loading-spinner-size:42px;--el-loading-fullscreen-spinner-size:50px}.el-loading-parent--relative{position:relative!important}.el-loading-parent--hidden{overflow:hidden!important}.el-loading-mask{background-color:var(--el-mask-color);bottom:0;left:0;margin:0;position:absolute;right:0;top:0;transition:opacity var(--el-transition-duration);z-index:2000}.el-loading-mask.is-fullscreen{position:fixed}.el-loading-mask.is-fullscreen .el-loading-spinner{margin-top:calc((0px - var(--el-loading-fullscreen-spinner-size))/2)}.el-loading-mask.is-fullscreen .el-loading-spinner .circular{height:var(--el-loading-fullscreen-spinner-size);width:var(--el-loading-fullscreen-spinner-size)}.el-loading-spinner{margin-top:calc((0px - var(--el-loading-spinner-size))/2);position:absolute;text-align:center;top:50%;width:100%}.el-loading-spinner .el-loading-text{color:var(--el-color-primary);font-size:14px;margin:3px 0}.el-loading-spinner .circular{animation:loading-rotate 2s linear infinite;display:inline;height:var(--el-loading-spinner-size);width:var(--el-loading-spinner-size)}.el-loading-spinner .path{animation:loading-dash 1.5s ease-in-out infinite;stroke:var(--el-color-primary);stroke-dasharray:90,150;stroke-dashoffset:0;stroke-linecap:round;stroke-width:2}.el-loading-spinner i{color:var(--el-color-primary)}.el-loading-fade-enter-from,.el-loading-fade-leave-to{opacity:0}@keyframes loading-rotate{to{transform:rotate(1turn)}}@keyframes loading-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-40px}to{stroke-dasharray:90,150;stroke-dashoffset:-120px}}.el-main{--el-main-padding:20px;box-sizing:border-box;display:block;flex:1;flex-basis:auto;overflow:auto;padding:var(--el-main-padding)}:root{--el-menu-active-color:var(--el-color-primary);--el-menu-text-color:var(--el-text-color-primary);--el-menu-hover-text-color:var(--el-color-primary);--el-menu-bg-color:var(--el-fill-color-blank);--el-menu-hover-bg-color:var(--el-color-primary-light-9);--el-menu-item-height:56px;--el-menu-sub-item-height:calc(var(--el-menu-item-height) - 6px);--el-menu-horizontal-height:60px;--el-menu-horizontal-sub-item-height:36px;--el-menu-item-font-size:var(--el-font-size-base);--el-menu-item-hover-fill:var(--el-color-primary-light-9);--el-menu-border-color:var(--el-border-color);--el-menu-base-level-padding:20px;--el-menu-level-padding:20px;--el-menu-icon-width:24px}.el-menu{background-color:var(--el-menu-bg-color);border-right:1px solid var(--el-menu-border-color);box-sizing:border-box;list-style:none;margin:0;padding-left:0;position:relative}.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-menu-item-group__title,.el-menu--vertical:not(.el-menu--collapse):not(.el-menu--popup-container) .el-sub-menu__title{padding-left:calc(var(--el-menu-base-level-padding) + var(--el-menu-level)*var(--el-menu-level-padding));white-space:nowrap}.el-menu:not(.el-menu--collapse) .el-sub-menu__title{padding-right:calc(var(--el-menu-base-level-padding) + var(--el-menu-icon-width))}.el-menu--horizontal{border-right:none;display:flex;flex-wrap:nowrap;height:var(--el-menu-horizontal-height)}.el-menu--horizontal.el-menu--popup-container{height:unset}.el-menu--horizontal.el-menu{border-bottom:1px solid var(--el-menu-border-color)}.el-menu--horizontal>.el-menu-item{align-items:center;border-bottom:2px solid transparent;color:var(--el-menu-text-color);display:inline-flex;height:100%;justify-content:center;margin:0}.el-menu--horizontal>.el-menu-item a,.el-menu--horizontal>.el-menu-item a:hover{color:inherit}.el-menu--horizontal>.el-sub-menu:focus,.el-menu--horizontal>.el-sub-menu:hover{outline:none}.el-menu--horizontal>.el-sub-menu:hover .el-sub-menu__title{color:var(--el-menu-hover-text-color)}.el-menu--horizontal>.el-sub-menu.is-active .el-sub-menu__title{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title{border-bottom:2px solid transparent;color:var(--el-menu-text-color);height:100%}.el-menu--horizontal>.el-sub-menu .el-sub-menu__title:hover{background-color:var(--el-menu-bg-color)}.el-menu--horizontal .el-menu .el-menu-item,.el-menu--horizontal .el-menu .el-sub-menu__title{align-items:center;background-color:var(--el-menu-bg-color);color:var(--el-menu-text-color);display:flex;height:var(--el-menu-horizontal-sub-item-height);line-height:var(--el-menu-horizontal-sub-item-height);padding:0 10px}.el-menu--horizontal .el-menu .el-sub-menu__title{padding-right:40px}.el-menu--horizontal .el-menu .el-menu-item.is-active,.el-menu--horizontal .el-menu .el-menu-item.is-active:hover,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title,.el-menu--horizontal .el-menu .el-sub-menu.is-active>.el-sub-menu__title:hover{color:var(--el-menu-active-color)}.el-menu--horizontal .el-menu-item:not(.is-disabled):focus,.el-menu--horizontal .el-menu-item:not(.is-disabled):hover{background-color:var(--el-menu-hover-bg-color);color:var(--el-menu-active-color,var(--el-menu-hover-text-color));outline:none}.el-menu--horizontal>.el-menu-item.is-active{border-bottom:2px solid var(--el-menu-active-color);color:var(--el-menu-active-color)!important}.el-menu--collapse{width:calc(var(--el-menu-icon-width) + var(--el-menu-base-level-padding)*2)}.el-menu--collapse>.el-menu-item [class^=el-icon],.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title [class^=el-icon],.el-menu--collapse>.el-sub-menu>.el-sub-menu__title [class^=el-icon]{margin:0;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu--collapse>.el-menu-item .el-sub-menu__icon-arrow,.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title .el-sub-menu__icon-arrow{display:none}.el-menu--collapse>.el-menu-item-group>ul>.el-sub-menu>.el-sub-menu__title>span,.el-menu--collapse>.el-menu-item>span,.el-menu--collapse>.el-sub-menu>.el-sub-menu__title>span{display:inline-block;height:0;overflow:hidden;visibility:hidden;width:0}.el-menu--collapse>.el-menu-item.is-active i{color:inherit}.el-menu--collapse .el-menu .el-sub-menu{min-width:200px}.el-menu--collapse .el-sub-menu.is-active .el-sub-menu__title{color:var(--el-menu-active-color)}.el-menu--popup{border:none;border-radius:var(--el-border-radius-small);box-shadow:var(--el-box-shadow-light);min-width:200px;padding:5px 0;z-index:100}.el-menu .el-icon{flex-shrink:0}.el-menu-item{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-menu-item *{vertical-align:bottom}.el-menu-item i{color:inherit}.el-menu-item:focus,.el-menu-item:hover{outline:none}.el-menu-item:hover{background-color:var(--el-menu-hover-bg-color)}.el-menu-item.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-menu-item [class^=el-icon]{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-menu-item.is-active{color:var(--el-menu-active-color)}.el-menu-item.is-active i{color:inherit}.el-menu-item .el-menu-tooltip__trigger{align-items:center;box-sizing:border-box;display:inline-flex;height:100%;left:0;padding:0 var(--el-menu-base-level-padding);position:absolute;top:0;width:100%}.el-sub-menu{list-style:none;margin:0;padding-left:0}.el-sub-menu__title{align-items:center;box-sizing:border-box;color:var(--el-menu-text-color);cursor:pointer;display:flex;font-size:var(--el-menu-item-font-size);height:var(--el-menu-item-height);line-height:var(--el-menu-item-height);list-style:none;padding:0 var(--el-menu-base-level-padding);position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration),color var(--el-transition-duration);white-space:nowrap}.el-sub-menu__title *{vertical-align:bottom}.el-sub-menu__title i{color:inherit}.el-sub-menu__title:focus,.el-sub-menu__title:hover{outline:none}.el-sub-menu__title.is-disabled{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu__title:hover{background-color:var(--el-menu-hover-bg-color)}.el-sub-menu .el-menu{border:none}.el-sub-menu .el-menu-item{height:var(--el-menu-sub-item-height);line-height:var(--el-menu-sub-item-height)}.el-sub-menu.el-sub-menu__hide-arrow .el-sub-menu__title{padding-right:var(--el-menu-base-level-padding)}.el-sub-menu__hide-arrow .el-sub-menu__icon-arrow{display:none!important}.el-sub-menu.is-active .el-sub-menu__title{border-bottom-color:var(--el-menu-active-color)}.el-sub-menu.is-disabled .el-menu-item,.el-sub-menu.is-disabled .el-sub-menu__title{background:none!important;cursor:not-allowed;opacity:.25}.el-sub-menu .el-icon{font-size:18px;margin-right:5px;text-align:center;vertical-align:middle;width:var(--el-menu-icon-width)}.el-sub-menu .el-icon.el-sub-menu__icon-more{margin-right:0!important}.el-sub-menu .el-sub-menu__icon-arrow{font-size:12px;margin-right:0;margin-top:-6px;position:absolute;right:var(--el-menu-base-level-padding);top:50%;transition:transform var(--el-transition-duration);width:inherit}.el-menu-item-group>ul{padding:0}.el-menu-item-group__title{color:var(--el-text-color-secondary);font-size:12px;line-height:normal;padding:7px 0 7px var(--el-menu-base-level-padding)}.horizontal-collapse-transition .el-sub-menu__title .el-sub-menu__icon-arrow{opacity:0;transition:var(--el-transition-duration-fast)}.el-menu,.el-menu--popup-container,.el-popper{outline:none}.el-message-box{--el-messagebox-title-color:var(--el-text-color-primary);--el-messagebox-width:420px;--el-messagebox-border-radius:4px;--el-messagebox-box-shadow:var(--el-box-shadow);--el-messagebox-font-size:var(--el-font-size-large);--el-messagebox-content-font-size:var(--el-font-size-base);--el-messagebox-content-color:var(--el-text-color-regular);--el-messagebox-error-font-size:12px;--el-messagebox-padding-primary:12px;--el-messagebox-font-line-height:var(--el-font-line-height-primary);backface-visibility:hidden;background-color:var(--el-bg-color);border-radius:var(--el-messagebox-border-radius);box-shadow:var(--el-messagebox-box-shadow);box-sizing:border-box;display:inline-block;font-size:var(--el-messagebox-font-size);max-width:var(--el-messagebox-width);overflow:hidden;overflow-wrap:break-word;padding:var(--el-messagebox-padding-primary);position:relative;text-align:left;vertical-align:middle;width:100%}.el-message-box:focus{outline:none!important}.is-message-box .el-overlay-message-box{bottom:0;left:0;overflow:auto;padding:16px;position:fixed;right:0;text-align:center;top:0}.is-message-box .el-overlay-message-box:after{content:"";display:inline-block;height:100%;vertical-align:middle;width:0}.el-message-box.is-draggable .el-message-box__header{cursor:move;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-message-box__header{padding-bottom:var(--el-messagebox-padding-primary)}.el-message-box__header.show-close{padding-right:calc(var(--el-messagebox-padding-primary) + var(--el-message-close-size, 16px))}.el-message-box__title{color:var(--el-messagebox-title-color);font-size:var(--el-messagebox-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__headerbtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-message-box__headerbtn .el-message-box__close{color:var(--el-color-info);font-size:inherit}.el-message-box__headerbtn:focus .el-message-box__close,.el-message-box__headerbtn:hover .el-message-box__close{color:var(--el-color-primary)}.el-message-box__content{color:var(--el-messagebox-content-color);font-size:var(--el-messagebox-content-font-size)}.el-message-box__container{align-items:center;display:flex;gap:12px}.el-message-box__input{padding-top:12px}.el-message-box__input div.invalid>input,.el-message-box__input div.invalid>input:focus{border-color:var(--el-color-error)}.el-message-box__status{font-size:24px}.el-message-box__status.el-message-box-icon--primary{--el-messagebox-color:var(--el-color-primary);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--success{--el-messagebox-color:var(--el-color-success);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--info{--el-messagebox-color:var(--el-color-info);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--warning{--el-messagebox-color:var(--el-color-warning);color:var(--el-messagebox-color)}.el-message-box__status.el-message-box-icon--error{--el-messagebox-color:var(--el-color-error);color:var(--el-messagebox-color)}.el-message-box__message{margin:0;min-width:0}.el-message-box__message p{line-height:var(--el-messagebox-font-line-height);margin:0}.el-message-box__errormsg{color:var(--el-color-error);font-size:var(--el-messagebox-error-font-size);line-height:var(--el-messagebox-font-line-height)}.el-message-box__btns{align-items:center;display:flex;flex-wrap:wrap;justify-content:flex-end;padding-top:var(--el-messagebox-padding-primary)}.el-message-box--center .el-message-box__title{align-items:center;display:flex;gap:6px;justify-content:center}.el-message-box--center .el-message-box__status{font-size:inherit}.el-message-box--center .el-message-box__btns,.el-message-box--center .el-message-box__container{justify-content:center}.el-message-box-parent--hidden{overflow:hidden}.fade-in-linear-enter-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration)}.fade-in-linear-leave-active .el-overlay-message-box{animation:msgbox-fade-in var(--el-transition-duration) reverse}@keyframes msgbox-fade-in{0%{opacity:0;transform:translate3d(0,-20px,0)}to{opacity:1;transform:translateZ(0)}}.el-message{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-border-color-lighter);--el-message-padding:11px 15px;--el-message-close-size:16px;--el-message-close-icon-color:var(--el-text-color-placeholder);--el-message-close-hover-color:var(--el-text-color-secondary);align-items:center;background-color:var(--el-message-bg-color);border-color:var(--el-message-border-color);border-radius:var(--el-border-radius-base);border-style:var(--el-border-style);border-width:var(--el-border-width);box-sizing:border-box;display:flex;gap:8px;max-width:calc(100% - 32px);padding:var(--el-message-padding);position:fixed;transition:opacity var(--el-transition-duration),transform .4s,top .4s,bottom .4s;width:-moz-fit-content;width:fit-content}.el-message.is-left{left:16px}.el-message.is-right{right:16px}.el-message.is-center{left:0;margin:0 auto;right:0}.el-message.is-plain{background-color:var(--el-bg-color-overlay);border-color:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-message p{margin:0}.el-message--primary{--el-message-bg-color:var(--el-color-primary-light-9);--el-message-border-color:var(--el-color-primary-light-8);--el-message-text-color:var(--el-color-primary)}.el-message--primary .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--primary{color:var(--el-message-text-color)}.el-message--success{--el-message-bg-color:var(--el-color-success-light-9);--el-message-border-color:var(--el-color-success-light-8);--el-message-text-color:var(--el-color-success)}.el-message--success .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--success{color:var(--el-message-text-color)}.el-message--info{--el-message-bg-color:var(--el-color-info-light-9);--el-message-border-color:var(--el-color-info-light-8);--el-message-text-color:var(--el-color-info)}.el-message--info .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--info{color:var(--el-message-text-color)}.el-message--warning{--el-message-bg-color:var(--el-color-warning-light-9);--el-message-border-color:var(--el-color-warning-light-8);--el-message-text-color:var(--el-color-warning)}.el-message--warning .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--warning{color:var(--el-message-text-color)}.el-message--error{--el-message-bg-color:var(--el-color-error-light-9);--el-message-border-color:var(--el-color-error-light-8);--el-message-text-color:var(--el-color-error)}.el-message--error .el-message__content{color:var(--el-message-text-color);overflow-wrap:break-word}.el-message .el-message-icon--error{color:var(--el-message-text-color)}.el-message .el-message__badge{position:absolute;right:-8px;top:-8px}.el-message__content{font-size:14px;line-height:1;padding:0}.el-message__content:focus{outline-width:0}.el-message .el-message__closeBtn{color:var(--el-message-close-icon-color);cursor:pointer;font-size:var(--el-message-close-size)}.el-message .el-message__closeBtn:focus{outline-width:0}.el-message .el-message__closeBtn:hover{color:var(--el-message-close-hover-color)}.el-message-fade-enter-from,.el-message-fade-leave-to{opacity:0;transform:translateY(-100%)}.el-message-fade-enter-from.is-bottom,.el-message-fade-leave-to.is-bottom{transform:translateY(100%)}.el-notification{--el-notification-width:330px;--el-notification-padding:14px 26px 14px 13px;--el-notification-radius:8px;--el-notification-shadow:var(--el-box-shadow-light);--el-notification-border-color:var(--el-border-color-lighter);--el-notification-icon-size:24px;--el-notification-close-font-size:var(--el-message-close-size,16px);--el-notification-group-margin-left:13px;--el-notification-group-margin-right:8px;--el-notification-content-font-size:var(--el-font-size-base);--el-notification-content-color:var(--el-text-color-regular);--el-notification-title-font-size:16px;--el-notification-title-color:var(--el-text-color-primary);--el-notification-close-color:var(--el-text-color-secondary);--el-notification-close-hover-color:var(--el-text-color-regular);background-color:var(--el-bg-color-overlay);border:1px solid var(--el-notification-border-color);border-radius:var(--el-notification-radius);box-shadow:var(--el-notification-shadow);box-sizing:border-box;display:flex;overflow:hidden;overflow-wrap:break-word;padding:var(--el-notification-padding);position:fixed;transition:opacity var(--el-transition-duration),transform var(--el-transition-duration),left var(--el-transition-duration),right var(--el-transition-duration),top .4s,bottom var(--el-transition-duration);width:var(--el-notification-width);z-index:9999}.el-notification.right{right:16px}.el-notification.left{left:16px}.el-notification__group{flex:1;margin-left:var(--el-notification-group-margin-left);margin-right:var(--el-notification-group-margin-right);min-width:0}.el-notification__title{color:var(--el-notification-title-color);font-size:var(--el-notification-title-font-size);font-weight:700;line-height:var(--el-notification-icon-size);margin:0}.el-notification__content{color:var(--el-notification-content-color);font-size:var(--el-notification-content-font-size);line-height:24px;margin:6px 0 0}.el-notification__content p{margin:0}.el-notification .el-notification__icon{flex-shrink:0;font-size:var(--el-notification-icon-size);height:var(--el-notification-icon-size);width:var(--el-notification-icon-size)}.el-notification .el-notification__closeBtn{color:var(--el-notification-close-color);cursor:pointer;font-size:var(--el-notification-close-font-size);position:absolute;right:15px;top:18px}.el-notification .el-notification__closeBtn:hover{color:var(--el-notification-close-hover-color)}.el-notification .el-notification--primary{--el-notification-icon-color:var(--el-color-primary);color:var(--el-notification-icon-color)}.el-notification .el-notification--success{--el-notification-icon-color:var(--el-color-success);color:var(--el-notification-icon-color)}.el-notification .el-notification--info{--el-notification-icon-color:var(--el-color-info);color:var(--el-notification-icon-color)}.el-notification .el-notification--warning{--el-notification-icon-color:var(--el-color-warning);color:var(--el-notification-icon-color)}.el-notification .el-notification--error{--el-notification-icon-color:var(--el-color-error);color:var(--el-notification-icon-color)}.el-notification-fade-enter-from.right{right:0;transform:translate(100%)}.el-notification-fade-enter-from.left{left:0;transform:translate(-100%)}.el-notification-fade-leave-to{opacity:0}.el-overlay{background-color:var(--el-overlay-color-lighter);bottom:0;height:100%;left:0;overflow:auto;position:fixed;right:0;top:0;z-index:2000}.el-overlay .el-overlay-root{height:0}.el-page-header.is-contentful .el-page-header__main{border-top:1px solid var(--el-border-color-light);margin-top:16px}.el-page-header__header{align-items:center;display:flex;justify-content:space-between;line-height:24px}.el-page-header__left{align-items:center;display:flex;margin-right:40px;position:relative}.el-page-header__back{align-items:center;cursor:pointer;display:flex}.el-page-header__left .el-divider--vertical{margin:0 16px}.el-page-header__icon{align-items:center;display:flex;font-size:16px;margin-right:10px}.el-page-header__icon .el-icon{font-size:inherit}.el-page-header__title{font-size:14px;font-weight:500}.el-page-header__content{color:var(--el-text-color-primary);font-size:18px}.el-page-header__breadcrumb{margin-bottom:16px}.el-pagination{--el-pagination-font-size:14px;--el-pagination-bg-color:var(--el-fill-color-blank);--el-pagination-text-color:var(--el-text-color-primary);--el-pagination-border-radius:2px;--el-pagination-button-color:var(--el-text-color-primary);--el-pagination-button-width:32px;--el-pagination-button-height:32px;--el-pagination-button-disabled-color:var(--el-text-color-placeholder);--el-pagination-button-disabled-bg-color:var(--el-fill-color-blank);--el-pagination-button-bg-color:var(--el-fill-color);--el-pagination-hover-color:var(--el-color-primary);--el-pagination-font-size-small:12px;--el-pagination-button-width-small:24px;--el-pagination-button-height-small:24px;--el-pagination-button-width-large:40px;--el-pagination-button-height-large:40px;--el-pagination-item-gap:16px;align-items:center;color:var(--el-pagination-text-color);display:flex;font-size:var(--el-pagination-font-size);font-weight:400;white-space:nowrap}.el-pagination .el-input__inner{-moz-appearance:textfield;text-align:center}.el-pagination .el-select{width:128px}.el-pagination .btn-next,.el-pagination .btn-prev{align-items:center;background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;display:flex;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pagination .btn-next *,.el-pagination .btn-prev *{pointer-events:none}.el-pagination .btn-next:focus,.el-pagination .btn-prev:focus{outline:none}.el-pagination .btn-next:hover,.el-pagination .btn-prev:hover{color:var(--el-pagination-hover-color)}.el-pagination .btn-next.is-active,.el-pagination .btn-prev.is-active{color:var(--el-pagination-hover-color);cursor:default;font-weight:700}.el-pagination .btn-next.is-active.is-disabled,.el-pagination .btn-prev.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pagination .btn-next.is-disabled,.el-pagination .btn-next:disabled,.el-pagination .btn-prev.is-disabled,.el-pagination .btn-prev:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pagination .btn-next:focus-visible,.el-pagination .btn-prev:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-pagination .btn-next .el-icon,.el-pagination .btn-prev .el-icon{display:block;font-size:12px;font-weight:700;width:inherit}.el-pagination>.is-first{margin-left:0!important}.el-pagination>.is-last{margin-right:0!important}.el-pagination .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination__sizes,.el-pagination__total{color:var(--el-text-color-regular);font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__total[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__jump{align-items:center;color:var(--el-text-color-regular);display:flex;font-weight:400;margin-left:var(--el-pagination-item-gap)}.el-pagination__jump[disabled=true]{color:var(--el-text-color-placeholder)}.el-pagination__goto{margin-right:8px}.el-pagination__editor{box-sizing:border-box;text-align:center}.el-pagination__editor.el-input{width:56px}.el-pagination__editor .el-input__inner::-webkit-inner-spin-button,.el-pagination__editor .el-input__inner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.el-pagination__classifier{margin-left:8px}.el-pagination__rightwrapper{align-items:center;display:flex;flex:1;justify-content:flex-end}.el-pagination.is-background .btn-next,.el-pagination.is-background .btn-prev,.el-pagination.is-background .el-pager li{background-color:var(--el-pagination-button-bg-color);margin:0 4px}.el-pagination.is-background .btn-next.is-active,.el-pagination.is-background .btn-prev.is-active,.el-pagination.is-background .el-pager li.is-active{background-color:var(--el-color-primary);color:var(--el-color-white)}.el-pagination.is-background .btn-next.is-disabled,.el-pagination.is-background .btn-next:disabled,.el-pagination.is-background .btn-prev.is-disabled,.el-pagination.is-background .btn-prev:disabled,.el-pagination.is-background .el-pager li.is-disabled,.el-pagination.is-background .el-pager li:disabled{background-color:var(--el-disabled-bg-color);color:var(--el-text-color-placeholder)}.el-pagination.is-background .btn-next.is-disabled.is-active,.el-pagination.is-background .btn-next:disabled.is-active,.el-pagination.is-background .btn-prev.is-disabled.is-active,.el-pagination.is-background .btn-prev:disabled.is-active,.el-pagination.is-background .el-pager li.is-disabled.is-active,.el-pagination.is-background .el-pager li:disabled.is-active{background-color:var(--el-fill-color-dark);color:var(--el-text-color-secondary)}.el-pagination.is-background .btn-prev{margin-left:var(--el-pagination-item-gap)}.el-pagination--small .btn-next,.el-pagination--small .btn-prev,.el-pagination--small .el-pager li{font-size:var(--el-pagination-font-size-small);height:var(--el-pagination-button-height-small);line-height:var(--el-pagination-button-height-small);min-width:var(--el-pagination-button-width-small)}.el-pagination--small button,.el-pagination--small span:not([class*=suffix]){font-size:var(--el-pagination-font-size-small)}.el-pagination--small .el-select{width:100px}.el-pagination--large .btn-next,.el-pagination--large .btn-prev,.el-pagination--large .el-pager li{height:var(--el-pagination-button-height-large);line-height:var(--el-pagination-button-height-large);min-width:var(--el-pagination-button-width-large)}.el-pagination--large .el-select .el-input{width:160px}.el-pager{font-size:0;list-style:none;margin:0;padding:0;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-pager,.el-pager li{align-items:center;display:flex}.el-pager li{background:var(--el-pagination-bg-color);border:none;border-radius:var(--el-pagination-border-radius);box-sizing:border-box;color:var(--el-pagination-button-color);cursor:pointer;font-size:var(--el-pagination-font-size);height:var(--el-pagination-button-height);justify-content:center;line-height:var(--el-pagination-button-height);min-width:var(--el-pagination-button-width);padding:0 4px;text-align:center}.el-pager li *{pointer-events:none}.el-pager li:focus{outline:none}.el-pager li.is-active,.el-pager li:hover{color:var(--el-pagination-hover-color)}.el-pager li.is-active{cursor:default;font-weight:700}.el-pager li.is-active.is-disabled{color:var(--el-text-color-secondary);font-weight:700}.el-pager li.is-disabled,.el-pager li:disabled{background-color:var(--el-pagination-button-disabled-bg-color);color:var(--el-pagination-button-disabled-color);cursor:not-allowed}.el-pager li:focus-visible{outline:1px solid var(--el-pagination-hover-color);outline-offset:-1px}.el-popconfirm{outline:none}.el-popconfirm__main{align-items:center;display:flex}.el-popconfirm__icon{margin-right:5px}.el-popconfirm__action{margin-top:8px;text-align:right}.el-popover{--el-popover-bg-color:var(--el-bg-color-overlay);--el-popover-font-size:var(--el-font-size-base);--el-popover-border-color:var(--el-border-color-lighter);--el-popover-padding:12px;--el-popover-padding-large:18px 20px;--el-popover-title-font-size:16px;--el-popover-title-text-color:var(--el-text-color-primary);--el-popover-border-radius:4px}.el-popover.el-popper{background:var(--el-popover-bg-color);border:1px solid var(--el-popover-border-color);border-radius:var(--el-popover-border-radius);box-shadow:var(--el-box-shadow-light);box-sizing:border-box;color:var(--el-text-color-regular);font-size:var(--el-popover-font-size);line-height:1.4;min-width:150px;overflow-wrap:break-word;padding:var(--el-popover-padding);z-index:var(--el-index-popper)}.el-popover.el-popper--plain{padding:var(--el-popover-padding-large)}.el-popover__title{color:var(--el-popover-title-text-color);font-size:var(--el-popover-title-font-size);line-height:1;margin-bottom:12px}.el-popover__reference:focus:hover,.el-popover__reference:focus:not(.focusing){outline-width:0}.el-popover.el-popper.is-dark{--el-popover-bg-color:var(--el-text-color-primary);--el-popover-border-color:var(--el-text-color-primary);--el-popover-title-text-color:var(--el-bg-color);color:var(--el-bg-color)}.el-popover.el-popper:focus,.el-popover.el-popper:focus:active{outline-width:0}.el-progress{align-items:center;display:flex;line-height:1;position:relative}.el-progress__text{color:var(--el-text-color-regular);font-size:14px;line-height:1;margin-left:5px;min-width:50px}.el-progress__text i{display:block;vertical-align:middle}.el-progress--circle,.el-progress--dashboard{display:inline-block}.el-progress--circle .el-progress__text,.el-progress--dashboard .el-progress__text{left:0;margin:0;position:absolute;text-align:center;top:50%;transform:translateY(-50%);width:100%}.el-progress--circle .el-progress__text i,.el-progress--dashboard .el-progress__text i{display:inline-block;vertical-align:middle}.el-progress--without-text .el-progress__text{display:none}.el-progress--without-text .el-progress-bar{display:block;margin-right:0;padding-right:0}.el-progress--text-inside .el-progress-bar{margin-right:0;padding-right:0}.el-progress.is-success .el-progress-bar__inner{background-color:var(--el-color-success)}.el-progress.is-success .el-progress__text{color:var(--el-color-success)}.el-progress.is-warning .el-progress-bar__inner{background-color:var(--el-color-warning)}.el-progress.is-warning .el-progress__text{color:var(--el-color-warning)}.el-progress.is-exception .el-progress-bar__inner{background-color:var(--el-color-danger)}.el-progress.is-exception .el-progress__text{color:var(--el-color-danger)}.el-progress-bar{box-sizing:border-box;flex-grow:1}.el-progress-bar__outer{background-color:var(--el-border-color-lighter);border-radius:100px;height:6px;overflow:hidden;position:relative;vertical-align:middle}.el-progress-bar__inner{background-color:var(--el-color-primary);border-radius:100px;height:100%;left:0;line-height:1;position:absolute;text-align:right;top:0;transition:width .6s ease;white-space:nowrap}.el-progress-bar__inner:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-progress-bar__inner--indeterminate{animation:indeterminate 3s infinite;transform:translateZ(0)}.el-progress-bar__inner--striped{background-image:linear-gradient(45deg,rgba(0,0,0,.1) 25%,transparent 0,transparent 50%,rgba(0,0,0,.1) 0,rgba(0,0,0,.1) 75%,transparent 0,transparent);background-size:1.25em 1.25em}.el-progress-bar__inner--striped.el-progress-bar__inner--striped-flow{animation:striped-flow 3s linear infinite}.el-progress-bar__innerText{color:#fff;display:inline-block;font-size:12px;margin:0 5px;vertical-align:middle}@keyframes progress{0%{background-position:0 0}to{background-position:32px 0}}@keyframes indeterminate{0%{left:-100%}to{left:100%}}@keyframes striped-flow{0%{background-position:-100%}to{background-position:100%}}.el-radio-button{--el-radio-button-checked-bg-color:var(--el-color-primary);--el-radio-button-checked-text-color:var(--el-color-white);--el-radio-button-checked-border-color:var(--el-color-primary);--el-radio-button-disabled-checked-fill:var(--el-border-color-extra-light);display:inline-block;outline:none;position:relative}.el-radio-button__inner{-webkit-appearance:none;background:var(--el-button-bg-color,var(--el-fill-color-blank));border-radius:0;box-sizing:border-box;color:var(--el-button-text-color,var(--el-text-color-regular));cursor:pointer;display:inline-block;font-size:var(--el-font-size-base);font-weight:var(--el-button-font-weight,var(--el-font-weight-primary));line-height:1;margin:0;outline:var(--el-border);padding:8px 15px;position:relative;text-align:center;transition:var(--el-transition-all);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;white-space:nowrap}.el-radio-button__inner.is-round{padding:8px 15px}.el-radio-button__inner:hover{color:var(--el-color-primary)}.el-radio-button__inner [class*=el-icon-]{line-height:.9}.el-radio-button__inner [class*=el-icon-]+span{margin-left:5px}.el-radio-button:first-child .el-radio-button__inner{border-radius:var(--el-border-radius-base) 0 0 var(--el-border-radius-base);box-shadow:none!important}.el-radio-button.is-active .el-radio-button__original-radio:not(:disabled)+.el-radio-button__inner{background-color:var(--el-radio-button-checked-bg-color,var(--el-color-primary));border-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));box-shadow:-1px 0 0 0 var(--el-radio-button-checked-border-color,var(--el-color-primary));color:var(--el-radio-button-checked-text-color,var(--el-color-white))}.el-radio-button__original-radio{opacity:0;outline:none;position:absolute;z-index:-1}.el-radio-button__original-radio:focus-visible+.el-radio-button__inner{border-left:var(--el-border);border-left-color:var(--el-radio-button-checked-border-color,var(--el-color-primary));border-radius:var(--el-border-radius-base);box-shadow:none;outline:2px solid var(--el-radio-button-checked-border-color);outline-offset:1px;z-index:2}.el-radio-button__original-radio:disabled+.el-radio-button__inner{background-color:var(--el-button-disabled-bg-color,var(--el-fill-color-blank));background-image:none;border-color:var(--el-button-disabled-border-color,var(--el-border-color-light));box-shadow:none;color:var(--el-disabled-text-color);cursor:not-allowed}.el-radio-button__original-radio:disabled:checked+.el-radio-button__inner{background-color:var(--el-radio-button-disabled-checked-fill)}.el-radio-button:last-child .el-radio-button__inner{border-radius:0 var(--el-border-radius-base) var(--el-border-radius-base) 0}.el-radio-button:first-child:last-child .el-radio-button__inner{border-radius:var(--el-border-radius-base)}.el-radio-button--large .el-radio-button__inner{border-radius:0;font-size:var(--el-font-size-base);padding:12px 19px}.el-radio-button--large .el-radio-button__inner.is-round{padding:12px 19px}.el-radio-button--small .el-radio-button__inner{border-radius:0;font-size:12px;padding:5px 11px}.el-radio-button--small .el-radio-button__inner.is-round{padding:5px 11px}.el-radio-group{align-items:center;display:inline-flex;flex-wrap:wrap;font-size:0}.el-radio{--el-radio-font-size:var(--el-font-size-base);--el-radio-text-color:var(--el-text-color-regular);--el-radio-font-weight:var(--el-font-weight-primary);--el-radio-input-height:14px;--el-radio-input-width:14px;--el-radio-input-border-radius:var(--el-border-radius-circle);--el-radio-input-bg-color:var(--el-fill-color-blank);--el-radio-input-border:var(--el-border);--el-radio-input-border-color:var(--el-border-color);--el-radio-input-border-color-hover:var(--el-color-primary);align-items:center;color:var(--el-radio-text-color);cursor:pointer;display:inline-flex;font-size:var(--el-font-size-base);font-weight:var(--el-radio-font-weight);height:32px;margin-right:30px;outline:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-radio.el-radio--large{height:40px}.el-radio.el-radio--small{height:24px}.el-radio.is-bordered{border:var(--el-border);border-radius:var(--el-border-radius-base);box-sizing:border-box;padding:0 15px 0 9px}.el-radio.is-bordered.is-checked{border-color:var(--el-color-primary)}.el-radio.is-bordered.is-disabled{border-color:var(--el-border-color-lighter);cursor:not-allowed}.el-radio.is-bordered.el-radio--large{border-radius:var(--el-border-radius-base);padding:0 19px 0 11px}.el-radio.is-bordered.el-radio--large .el-radio__label{font-size:var(--el-font-size-base)}.el-radio.is-bordered.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.is-bordered.el-radio--small{border-radius:var(--el-border-radius-base);padding:0 11px 0 7px}.el-radio.is-bordered.el-radio--small .el-radio__label{font-size:12px}.el-radio.is-bordered.el-radio--small .el-radio__inner{height:12px;width:12px}.el-radio:last-child{margin-right:0}.el-radio__input{cursor:pointer;display:inline-flex;outline:none;position:relative;vertical-align:middle;white-space:nowrap}.el-radio__input.is-disabled .el-radio__inner{border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled .el-radio__inner,.el-radio__input.is-disabled .el-radio__inner:after{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-radio__input.is-disabled .el-radio__inner+.el-radio__label{cursor:not-allowed}.el-radio__input.is-disabled.is-checked .el-radio__inner{background-color:var(--el-disabled-bg-color);border-color:var(--el-disabled-border-color)}.el-radio__input.is-disabled.is-checked .el-radio__inner:after{background-color:var(--el-text-color-placeholder)}.el-radio__input.is-disabled+span.el-radio__label{color:var(--el-text-color-placeholder);cursor:not-allowed}.el-radio__input.is-checked .el-radio__inner{background:var(--el-color-primary);border-color:var(--el-color-primary)}.el-radio__input.is-checked .el-radio__inner:after{background-color:var(--el-color-white);transform:translate(-50%,-50%) scale(1)}.el-radio__input.is-checked+.el-radio__label{color:var(--el-color-primary)}.el-radio__input.is-focus .el-radio__inner{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner{background-color:var(--el-radio-input-bg-color);border:var(--el-radio-input-border);border-radius:var(--el-radio-input-border-radius);box-sizing:border-box;cursor:pointer;display:inline-block;height:var(--el-radio-input-height);position:relative;transition:all .3s;width:var(--el-radio-input-width)}.el-radio__inner:hover{border-color:var(--el-radio-input-border-color-hover)}.el-radio__inner:after{border-radius:var(--el-radio-input-border-radius);content:"";height:4px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%) scale(0);transition:transform .15s ease-in;width:4px}.el-radio__original{bottom:0;left:0;margin:0;opacity:0;outline:none;position:absolute;right:0;top:0;z-index:-1}.el-radio__original:focus-visible+.el-radio__inner{border-radius:var(--el-radio-input-border-radius);outline:2px solid var(--el-radio-input-border-color-hover);outline-offset:1px}.el-radio:focus:not(:focus-visible):not(.is-focus):not(:active):not(.is-disabled) .el-radio__inner{box-shadow:0 0 2px 2px var(--el-radio-input-border-color-hover)}.el-radio__label{font-size:var(--el-radio-font-size);padding-left:8px}.el-radio.el-radio--large .el-radio__label{font-size:14px}.el-radio.el-radio--large .el-radio__inner{height:14px;width:14px}.el-radio.el-radio--small .el-radio__label{font-size:12px}.el-radio.el-radio--small .el-radio__inner{height:12px;width:12px}.el-rate{--el-rate-height:20px;--el-rate-font-size:var(--el-font-size-base);--el-rate-icon-size:18px;--el-rate-icon-margin:6px;--el-rate-void-color:var(--el-border-color-darker);--el-rate-fill-color:#f7ba2a;--el-rate-disabled-void-color:var(--el-fill-color);--el-rate-text-color:var(--el-text-color-primary);--el-rate-outline-color:var(--el-color-primary-light-5);align-items:center;display:inline-flex;height:32px}.el-rate:active,.el-rate:focus{outline:none}.el-rate:focus-visible .el-rate__item .el-rate__icon.is-focus-visible{outline:2px solid var(--el-rate-outline-color);transition:outline-offset 0s,outline 0s}.el-rate__item{color:var(--el-rate-void-color);cursor:pointer;display:inline-block;font-size:0;line-height:normal;position:relative;vertical-align:middle}.el-rate .el-rate__icon{display:inline-block;font-size:var(--el-rate-icon-size);margin-right:var(--el-rate-icon-margin);position:relative;transition:var(--el-transition-duration)}.el-rate .el-rate__icon.hover{transform:scale(1.15)}.el-rate .el-rate__icon .path2{left:0;position:absolute;top:0}.el-rate .el-rate__icon.is-active{color:var(--el-rate-fill-color)}.el-rate__decimal{color:var(--el-rate-fill-color);display:inline-block;overflow:hidden}.el-rate__decimal,.el-rate__decimal--box{left:0;position:absolute;top:0}.el-rate__text{color:var(--el-rate-text-color);font-size:var(--el-rate-font-size);vertical-align:middle}.el-rate--large{height:40px}.el-rate--small{height:24px}.el-rate--small .el-rate__icon{font-size:14px}.el-rate.is-disabled .el-rate__item{color:var(--el-rate-disabled-void-color);cursor:not-allowed}.el-result{--el-result-padding:40px 30px;--el-result-icon-font-size:64px;--el-result-title-font-size:20px;--el-result-title-margin-top:20px;--el-result-subtitle-margin-top:10px;--el-result-extra-margin-top:30px;align-items:center;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;padding:var(--el-result-padding);text-align:center}.el-result__icon svg{height:var(--el-result-icon-font-size);width:var(--el-result-icon-font-size)}.el-result__title{margin-top:var(--el-result-title-margin-top)}.el-result__title p{color:var(--el-text-color-primary);font-size:var(--el-result-title-font-size);line-height:1.3;margin:0}.el-result__subtitle{margin-top:var(--el-result-subtitle-margin-top)}.el-result__subtitle p{color:var(--el-text-color-regular);font-size:var(--el-font-size-base);line-height:1.3;margin:0}.el-result__extra{margin-top:var(--el-result-extra-margin-top)}.el-result .icon-primary{--el-result-color:var(--el-color-primary);color:var(--el-result-color)}.el-result .icon-success{--el-result-color:var(--el-color-success);color:var(--el-result-color)}.el-result .icon-warning{--el-result-color:var(--el-color-warning);color:var(--el-result-color)}.el-result .icon-danger{--el-result-color:var(--el-color-danger);color:var(--el-result-color)}.el-result .icon-error{--el-result-color:var(--el-color-error);color:var(--el-result-color)}.el-result .icon-info{--el-result-color:var(--el-color-info);color:var(--el-result-color)}.el-row{box-sizing:border-box;display:flex;flex-wrap:wrap;position:relative}.el-row.is-justify-center{justify-content:center}.el-row.is-justify-end{justify-content:flex-end}.el-row.is-justify-space-between{justify-content:space-between}.el-row.is-justify-space-around{justify-content:space-around}.el-row.is-justify-space-evenly{justify-content:space-evenly}.el-row.is-align-top{align-items:flex-start}.el-row.is-align-middle{align-items:center}.el-row.is-align-bottom{align-items:flex-end}.el-scrollbar{--el-scrollbar-opacity:.3;--el-scrollbar-bg-color:var(--el-text-color-secondary);--el-scrollbar-hover-opacity:.5;--el-scrollbar-hover-bg-color:var(--el-text-color-secondary);height:100%;overflow:hidden;position:relative}.el-scrollbar__wrap{height:100%;overflow:auto}.el-scrollbar__wrap--hidden-default{scrollbar-width:none}.el-scrollbar__wrap--hidden-default::-webkit-scrollbar{display:none}.el-scrollbar__thumb{background-color:var(--el-scrollbar-bg-color,var(--el-text-color-secondary));border-radius:inherit;cursor:pointer;display:block;height:0;opacity:var(--el-scrollbar-opacity,.3);position:relative;transition:var(--el-transition-duration) background-color;width:0}.el-scrollbar__thumb:hover{background-color:var(--el-scrollbar-hover-bg-color,var(--el-text-color-secondary));opacity:var(--el-scrollbar-hover-opacity,.5)}.el-scrollbar__bar{border-radius:4px;bottom:2px;position:absolute;right:2px;z-index:1}.el-scrollbar__bar.is-vertical{top:2px;width:6px}.el-scrollbar__bar.is-vertical>div{width:100%}.el-scrollbar__bar.is-horizontal{height:6px;left:2px}.el-scrollbar__bar.is-horizontal>div{height:100%}.el-scrollbar-fade-enter-active{transition:opacity .34s ease-out}.el-scrollbar-fade-leave-active{transition:opacity .12s ease-out}.el-scrollbar-fade-enter-from,.el-scrollbar-fade-leave-active{opacity:0}.el-select-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-select-dropdown .el-scrollbar.is-empty .el-select-dropdown__list{padding:0}.el-select-dropdown__empty,.el-select-dropdown__loading{color:var(--el-text-color-secondary);font-size:var(--el-select-font-size);margin:0;padding:10px 0;text-align:center}.el-select-dropdown__wrap{max-height:274px}.el-select-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:6px 0}.el-select-dropdown__list.el-vl__window{margin:6px 0;padding:0}.el-select-dropdown__header{border-bottom:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__footer{border-top:1px solid var(--el-border-color-light);padding:10px}.el-select-dropdown__item{box-sizing:border-box;color:var(--el-text-color-regular);cursor:pointer;font-size:var(--el-font-size-base);height:34px;line-height:34px;overflow:hidden;padding:0 32px 0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-select-dropdown__item.is-hovering{background-color:var(--el-fill-color-light)}.el-select-dropdown__item.is-selected{color:var(--el-color-primary);font-weight:700}.el-select-dropdown__item.is-disabled{background-color:unset;color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-selected:after{background-color:var(--el-color-primary);background-position:50%;background-repeat:no-repeat;border-right:none;border-top:none;content:"";height:12px;mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;mask-size:100% 100%;-webkit-mask:url("data:image/svg+xml;utf8,%3Csvg class='icon' width='200' height='200' viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='currentColor' d='M406.656 706.944L195.84 496.256a32 32 0 10-45.248 45.248l256 256 512-512a32 32 0 00-45.248-45.248L406.592 706.944z'%3E%3C/path%3E%3C/svg%3E") no-repeat;-webkit-mask-size:100% 100%;position:absolute;right:20px;top:50%;transform:translateY(-50%);width:12px}.el-select-dropdown.is-multiple .el-select-dropdown__item.is-disabled:after{background-color:var(--el-text-color-placeholder)}.el-select-group{margin:0;padding:0}.el-select-group__wrap{list-style:none;margin:0;padding:0;position:relative}.el-select-group__title{box-sizing:border-box;color:var(--el-color-info);font-size:12px;line-height:34px;overflow:hidden;padding:0 20px;text-overflow:ellipsis;white-space:nowrap}.el-select-group .el-select-dropdown__item{padding-left:20px}.el-select{--el-select-border-color-hover:var(--el-border-color-hover);--el-select-disabled-color:var(--el-disabled-text-color);--el-select-disabled-border:var(--el-disabled-border-color);--el-select-font-size:var(--el-font-size-base);--el-select-close-hover-color:var(--el-text-color-secondary);--el-select-input-color:var(--el-text-color-placeholder);--el-select-multiple-input-color:var(--el-text-color-regular);--el-select-input-focus-border-color:var(--el-color-primary);--el-select-input-font-size:14px;--el-select-width:100%;display:inline-block;position:relative;vertical-align:middle;width:var(--el-select-width)}.el-select__wrapper{align-items:center;background-color:var(--el-fill-color-blank);border-radius:var(--el-border-radius-base);box-shadow:0 0 0 1px var(--el-border-color) inset;box-sizing:border-box;cursor:pointer;display:flex;font-size:14px;gap:6px;line-height:24px;min-height:32px;padding:4px 12px;position:relative;text-align:left;transform:translateZ(0);transition:var(--el-transition-duration)}.el-select__wrapper.is-filterable{cursor:text}.el-select__wrapper.is-focused{box-shadow:0 0 0 1px var(--el-color-primary) inset}.el-select__wrapper.is-hovering:not(.is-focused){box-shadow:0 0 0 1px var(--el-border-color-hover) inset}.el-select__wrapper.is-disabled{background-color:var(--el-fill-color-light);color:var(--el-text-color-placeholder);cursor:not-allowed}.el-select__wrapper.is-disabled,.el-select__wrapper.is-disabled:hover{box-shadow:0 0 0 1px var(--el-select-disabled-border) inset}.el-select__wrapper.is-disabled.is-focus{box-shadow:0 0 0 1px var(--el-input-focus-border-color) inset}.el-select__wrapper.is-disabled .el-select__selected-item{color:var(--el-select-disabled-color)}.el-select__wrapper.is-disabled .el-select__caret,.el-select__wrapper.is-disabled .el-tag,.el-select__wrapper.is-disabled input{cursor:not-allowed}.el-select__wrapper.is-disabled .el-select__prefix,.el-select__wrapper.is-disabled .el-select__suffix{pointer-events:none}.el-select__prefix,.el-select__suffix{align-items:center;color:var(--el-input-icon-color,var(--el-text-color-placeholder));display:flex;flex-shrink:0;gap:6px}.el-select__caret{color:var(--el-select-input-color);cursor:pointer;font-size:var(--el-select-input-font-size);transform:rotate(0);transition:var(--el-transition-duration)}.el-select__caret.is-reverse{transform:rotate(180deg)}.el-select__clear{cursor:pointer}.el-select__clear:hover{color:var(--el-select-close-hover-color)}.el-select__selection{align-items:center;display:flex;flex:1;flex-wrap:wrap;gap:6px;min-width:0;position:relative}.el-select__selection.is-near{margin-left:-8px}.el-select__selection .el-tag{border-color:transparent;cursor:pointer}.el-select__selection .el-tag.el-tag--plain{border-color:var(--el-tag-border-color)}.el-select__selection .el-tag .el-tag__content{min-width:0}.el-select__selected-item{display:flex;flex-wrap:wrap;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__tags-text{line-height:normal}.el-select__placeholder,.el-select__tags-text{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-select__placeholder{color:var(--el-input-text-color,var(--el-text-color-regular));position:absolute;top:50%;transform:translateY(-50%);width:100%;z-index:-1}.el-select__placeholder.is-transparent{color:var(--el-text-color-placeholder);-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-select__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-select__popper.el-popper,.el-select__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-select__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-select__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-select__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-select__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-select__input-wrapper{flex:1}.el-select__input-wrapper.is-hidden{opacity:0;position:absolute;z-index:-1}.el-select__input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;color:var(--el-select-multiple-input-color);font-family:inherit;font-size:inherit;height:24px;outline:none;padding:0;width:100%}.el-select__input-calculator{left:0;max-width:100%;overflow:hidden;position:absolute;top:0;visibility:hidden;white-space:pre}.el-select--large .el-select__wrapper{font-size:14px;gap:6px;line-height:24px;min-height:40px;padding:8px 16px}.el-select--large .el-select__selection{gap:6px}.el-select--large .el-select__selection.is-near{margin-left:-8px}.el-select--large .el-select__prefix,.el-select--large .el-select__suffix{gap:6px}.el-select--large .el-select__input{height:24px}.el-select--small .el-select__wrapper{font-size:12px;gap:4px;line-height:20px;min-height:24px;padding:2px 8px}.el-select--small .el-select__selection{gap:4px}.el-select--small .el-select__selection.is-near{margin-left:-6px}.el-select--small .el-select__prefix,.el-select--small .el-select__suffix{gap:4px}.el-select--small .el-select__input{height:20px}.el-skeleton{--el-skeleton-circle-size:var(--el-avatar-size)}.el-skeleton__item{background:var(--el-skeleton-color);border-radius:var(--el-border-radius-base);display:inline-block;height:16px;width:100%}.el-skeleton__circle{border-radius:50%;height:var(--el-skeleton-circle-size);line-height:var(--el-skeleton-circle-size);width:var(--el-skeleton-circle-size)}.el-skeleton__button{border-radius:4px;height:40px;width:64px}.el-skeleton__p{width:100%}.el-skeleton__p.is-last{width:61%}.el-skeleton__p.is-first{width:33%}.el-skeleton__text{height:var(--el-font-size-small);width:100%}.el-skeleton__caption{height:var(--el-font-size-extra-small)}.el-skeleton__h1{height:var(--el-font-size-extra-large)}.el-skeleton__h3{height:var(--el-font-size-large)}.el-skeleton__h5{height:var(--el-font-size-medium)}.el-skeleton__image{align-items:center;border-radius:0;display:flex;justify-content:center;width:unset}.el-skeleton__image svg{color:var(--el-svg-monochrome-grey);fill:currentColor;height:22%;width:22%}.el-skeleton{--el-skeleton-color:var(--el-fill-color);--el-skeleton-to-color:var(--el-fill-color-darker)}@keyframes el-skeleton-loading{0%{background-position:100% 50%}to{background-position:0 50%}}.el-skeleton{width:100%}.el-skeleton__first-line,.el-skeleton__paragraph{background:var(--el-skeleton-color);height:16px;margin-top:16px}.el-skeleton.is-animated .el-skeleton__item{animation:el-skeleton-loading 1.4s ease infinite;background:linear-gradient(90deg,var(--el-skeleton-color) 25%,var(--el-skeleton-to-color) 37%,var(--el-skeleton-color) 63%);background-size:400% 100%}.el-slider{--el-slider-main-bg-color:var(--el-color-primary);--el-slider-runway-bg-color:var(--el-border-color-light);--el-slider-stop-bg-color:var(--el-color-white);--el-slider-disabled-color:var(--el-text-color-placeholder);--el-slider-border-radius:3px;--el-slider-height:6px;--el-slider-button-size:20px;--el-slider-button-wrapper-size:36px;--el-slider-button-wrapper-offset:-15px;align-items:center;display:flex;height:32px;width:100%}.el-slider__runway{background-color:var(--el-slider-runway-bg-color);border-radius:var(--el-slider-border-radius);cursor:pointer;flex:1;height:var(--el-slider-height);position:relative}.el-slider__runway.show-input{margin-right:30px;width:auto}.el-slider__runway.is-disabled{cursor:default}.el-slider__runway.is-disabled .el-slider__bar{background-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button{border-color:var(--el-slider-disabled-color)}.el-slider__runway.is-disabled .el-slider__button-wrapper.dragging,.el-slider__runway.is-disabled .el-slider__button-wrapper.hover,.el-slider__runway.is-disabled .el-slider__button-wrapper:hover{cursor:not-allowed}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{transform:scale(1)}.el-slider__runway.is-disabled .el-slider__button.dragging,.el-slider__runway.is-disabled .el-slider__button.hover,.el-slider__runway.is-disabled .el-slider__button:hover{cursor:not-allowed}.el-slider__input{flex-shrink:0;width:130px}.el-slider__bar{background-color:var(--el-slider-main-bg-color);border-bottom-left-radius:var(--el-slider-border-radius);border-top-left-radius:var(--el-slider-border-radius);height:var(--el-slider-height);position:absolute}.el-slider__button-wrapper{background-color:transparent;height:var(--el-slider-button-wrapper-size);line-height:normal;outline:none;position:absolute;text-align:center;top:var(--el-slider-button-wrapper-offset);transform:translate(-50%);-webkit-user-select:none;-moz-user-select:none;user-select:none;width:var(--el-slider-button-wrapper-size);z-index:1}.el-slider__button-wrapper:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-slider__button-wrapper.hover,.el-slider__button-wrapper:hover{cursor:grab}.el-slider__button-wrapper.dragging{cursor:grabbing}.el-slider__button{background-color:var(--el-color-white);border:2px solid var(--el-slider-main-bg-color);border-radius:50%;box-sizing:border-box;display:inline-block;height:var(--el-slider-button-size);transition:var(--el-transition-duration-fast);-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle;width:var(--el-slider-button-size)}.el-slider__button.dragging,.el-slider__button.hover,.el-slider__button:hover{transform:scale(1.2)}.el-slider__button.hover,.el-slider__button:hover{cursor:grab}.el-slider__button.dragging{cursor:grabbing}.el-slider__stop{background-color:var(--el-slider-stop-bg-color);border-radius:var(--el-border-radius-circle);height:var(--el-slider-height);position:absolute;transform:translate(-50%);width:var(--el-slider-height)}.el-slider__marks{height:100%;left:12px;top:0;width:18px}.el-slider__marks-text{color:var(--el-color-info);font-size:14px;margin-top:15px;position:absolute;transform:translate(-50%);white-space:pre}.el-slider.is-vertical{display:inline-flex;flex:0;height:100%;position:relative;width:auto}.el-slider.is-vertical .el-slider__runway{height:100%;margin:0 16px;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__bar{border-radius:0 0 3px 3px;height:auto;width:var(--el-slider-height)}.el-slider.is-vertical .el-slider__button-wrapper{left:var(--el-slider-button-wrapper-offset);top:auto;transform:translateY(50%)}.el-slider.is-vertical .el-slider__stop{transform:translateY(50%)}.el-slider.is-vertical .el-slider__marks-text{left:15px;margin-top:0;transform:translateY(50%)}.el-slider--large{height:40px}.el-slider--small{height:24px}.el-space{display:inline-flex;vertical-align:top}.el-space__item{display:flex;flex-wrap:wrap}.el-space__item>*{flex:1}.el-space--vertical{flex-direction:column}.el-time-spinner{white-space:nowrap;width:100%}.el-spinner{display:inline-block;vertical-align:middle}.el-spinner-inner{animation:rotate 2s linear infinite;height:50px;width:50px}.el-spinner-inner .path{animation:dash 1.5s ease-in-out infinite;stroke:var(--el-border-color-lighter);stroke-linecap:round}@keyframes rotate{to{transform:rotate(1turn)}}@keyframes dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}.el-step{flex-shrink:1;position:relative}.el-step:last-of-type .el-step__line{display:none}.el-step:last-of-type.is-flex{flex-basis:auto!important;flex-grow:0;flex-shrink:0}.el-step:last-of-type .el-step__description,.el-step:last-of-type .el-step__main{padding-right:0}.el-step__head{position:relative;width:100%}.el-step__head.is-process{border-color:var(--el-text-color-primary);color:var(--el-text-color-primary)}.el-step__head.is-wait{border-color:var(--el-text-color-placeholder);color:var(--el-text-color-placeholder)}.el-step__head.is-success{border-color:var(--el-color-success);color:var(--el-color-success)}.el-step__head.is-error{border-color:var(--el-color-danger);color:var(--el-color-danger)}.el-step__head.is-finish{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-step__icon{align-items:center;background:var(--el-bg-color);box-sizing:border-box;display:inline-flex;font-size:14px;height:24px;justify-content:center;position:relative;transition:.15s ease-out;width:24px;z-index:1}.el-step__icon.is-text{border:2px solid;border-radius:50%}.el-step__icon.is-icon{width:40px}.el-step__icon-inner{color:inherit;display:inline-block;font-weight:700;line-height:1;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:25px;font-weight:400}.el-step__icon-inner.is-status{transform:translateY(1px)}.el-step__line{background-color:var(--el-text-color-placeholder);border-color:currentColor;position:absolute}.el-step__line-inner{border:1px solid;box-sizing:border-box;display:block;height:0;transition:.15s ease-out;width:0}.el-step__main{text-align:left;white-space:normal}.el-step__title{font-size:16px;line-height:38px}.el-step__title.is-process{color:var(--el-text-color-primary);font-weight:700}.el-step__title.is-wait{color:var(--el-text-color-placeholder)}.el-step__title.is-success{color:var(--el-color-success)}.el-step__title.is-error{color:var(--el-color-danger)}.el-step__title.is-finish{color:var(--el-color-primary)}.el-step__description{font-size:12px;font-weight:400;line-height:20px;margin-top:-5px;padding-right:10%}.el-step__description.is-process{color:var(--el-text-color-primary)}.el-step__description.is-wait{color:var(--el-text-color-placeholder)}.el-step__description.is-success{color:var(--el-color-success)}.el-step__description.is-error{color:var(--el-color-danger)}.el-step__description.is-finish{color:var(--el-color-primary)}.el-step.is-horizontal{display:inline-block}.el-step.is-horizontal .el-step__line{height:2px;left:0;right:0;top:11px}.el-step.is-vertical{display:flex}.el-step.is-vertical .el-step__head{flex-grow:0;width:24px}.el-step.is-vertical .el-step__main{flex-grow:1;padding-left:10px}.el-step.is-vertical .el-step__title{line-height:24px;padding-bottom:8px}.el-step.is-vertical .el-step__line{bottom:0;left:11px;top:0;width:2px}.el-step.is-vertical .el-step__icon.is-icon{width:24px}.el-step.is-vertical .el-step__description{padding-right:0}.el-step.is-center .el-step__head,.el-step.is-center .el-step__main{text-align:center}.el-step.is-center .el-step__description{padding-left:20%;padding-right:20%}.el-step.is-center .el-step__line{left:50%;right:-50%}.el-step.is-simple{align-items:center;display:flex}.el-step.is-simple .el-step__head{font-size:0;padding-right:10px;width:auto}.el-step.is-simple .el-step__icon{background:transparent;font-size:12px;height:16px;width:16px}.el-step.is-simple .el-step__icon-inner[class*=el-icon]:not(.is-status){font-size:18px}.el-step.is-simple .el-step__icon-inner.is-status{transform:scale(.8) translateY(1px)}.el-step.is-simple .el-step__main{align-items:stretch;display:flex;flex-grow:1;position:relative}.el-step.is-simple .el-step__title{font-size:16px;line-height:20px}.el-step.is-simple:not(:last-of-type) .el-step__title{max-width:50%;overflow-wrap:break-word}.el-step.is-simple .el-step__arrow{align-items:center;display:flex;flex-grow:1;justify-content:center}.el-step.is-simple .el-step__arrow:after,.el-step.is-simple .el-step__arrow:before{background:var(--el-text-color-placeholder);content:"";display:inline-block;height:15px;position:absolute;width:1px}.el-step.is-simple .el-step__arrow:before{transform:rotate(-45deg) translateY(-4px);transform-origin:0 0}.el-step.is-simple .el-step__arrow:after{transform:rotate(45deg) translateY(4px);transform-origin:100% 100%}.el-step.is-simple:last-of-type .el-step__arrow{display:none}.el-steps{display:flex;line-height:normal}.el-steps--simple{background:var(--el-fill-color-light);border-radius:4px;padding:13px 8%}.el-steps--horizontal{white-space:nowrap}.el-steps--vertical{flex-flow:column;height:100%}.el-switch{--el-switch-on-color:var(--el-color-primary);--el-switch-off-color:var(--el-border-color);align-items:center;display:inline-flex;font-size:14px;height:32px;line-height:20px;position:relative;vertical-align:middle}.el-switch.is-disabled .el-switch__core,.el-switch.is-disabled .el-switch__label{cursor:not-allowed}.el-switch__label{color:var(--el-text-color-primary);cursor:pointer;display:inline-block;font-size:14px;font-weight:500;height:20px;transition:var(--el-transition-duration-fast);vertical-align:middle}.el-switch__label.is-active{color:var(--el-color-primary)}.el-switch__label--left{margin-right:10px}.el-switch__label--right{margin-left:10px}.el-switch__label *{display:inline-block;font-size:14px;line-height:1}.el-switch__label .el-icon{height:inherit}.el-switch__label .el-icon svg{vertical-align:middle}.el-switch__input{height:0;margin:0;opacity:0;position:absolute;width:0}.el-switch__input:focus-visible~.el-switch__core{outline:2px solid var(--el-switch-on-color);outline-offset:1px}.el-switch__core{align-items:center;background:var(--el-switch-off-color);border:1px solid var(--el-switch-border-color,var(--el-switch-off-color));border-radius:10px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:20px;min-width:40px;outline:none;position:relative;transition:border-color var(--el-transition-duration),background-color var(--el-transition-duration)}.el-switch__core .el-switch__inner{align-items:center;display:flex;height:16px;justify-content:center;overflow:hidden;padding:0 4px 0 18px;transition:all var(--el-transition-duration);width:100%}.el-switch__core .el-switch__inner-wrapper{align-items:center;color:var(--el-color-white);display:flex;font-size:12px;overflow:hidden;text-overflow:ellipsis;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.el-switch__core .el-switch__action{align-items:center;background-color:var(--el-color-white);border-radius:var(--el-border-radius-circle);color:var(--el-switch-off-color);display:flex;height:16px;justify-content:center;left:1px;position:absolute;transition:all var(--el-transition-duration);width:16px}.el-switch.is-checked .el-switch__core{background-color:var(--el-switch-on-color);border-color:var(--el-switch-border-color,var(--el-switch-on-color))}.el-switch.is-checked .el-switch__core .el-switch__action{color:var(--el-switch-on-color);left:calc(100% - 17px)}.el-switch.is-checked .el-switch__core .el-switch__inner{padding:0 18px 0 4px}.el-switch.is-disabled{opacity:.6}.el-switch--wide .el-switch__label.el-switch__label--left span{left:10px}.el-switch--wide .el-switch__label.el-switch__label--right span{right:10px}.el-switch .label-fade-enter-from,.el-switch .label-fade-leave-active{opacity:0}.el-switch--large{font-size:14px;height:40px;line-height:24px}.el-switch--large .el-switch__label{font-size:14px;height:24px}.el-switch--large .el-switch__label *{font-size:14px}.el-switch--large .el-switch__core{border-radius:12px;height:24px;min-width:50px}.el-switch--large .el-switch__core .el-switch__inner{height:20px;padding:0 6px 0 22px}.el-switch--large .el-switch__core .el-switch__action{height:20px;width:20px}.el-switch--large.is-checked .el-switch__core .el-switch__action{left:calc(100% - 21px)}.el-switch--large.is-checked .el-switch__core .el-switch__inner{padding:0 22px 0 6px}.el-switch--small{font-size:12px;height:24px;line-height:16px}.el-switch--small .el-switch__label{font-size:12px;height:16px}.el-switch--small .el-switch__label *{font-size:12px}.el-switch--small .el-switch__core{border-radius:8px;height:16px;min-width:30px}.el-switch--small .el-switch__core .el-switch__inner{height:12px;padding:0 2px 0 14px}.el-switch--small .el-switch__core .el-switch__action{height:12px;width:12px}.el-switch--small.is-checked .el-switch__core .el-switch__action{left:calc(100% - 13px)}.el-switch--small.is-checked .el-switch__core .el-switch__inner{padding:0 14px 0 2px}.el-table-column--selection .cell{padding-left:14px;padding-right:14px}.el-table-filter{background-color:#fff;border:1px solid var(--el-border-color-lighter);border-radius:2px;box-shadow:var(--el-box-shadow-light);box-sizing:border-box}.el-table-filter__list{list-style:none;margin:0;min-width:100px;outline:none;padding:5px 0}.el-table-filter__list-item{cursor:pointer;font-size:var(--el-font-size-base);line-height:36px;outline:none;padding:0 10px}.el-table-filter__list-item:focus,.el-table-filter__list-item:hover{background-color:var(--el-color-primary-light-9);color:var(--el-color-primary)}.el-table-filter__list-item.is-active{background-color:var(--el-color-primary);color:#fff}.el-table-filter__multiple{outline:none}.el-table-filter__content{min-width:100px}.el-table-filter__bottom{border-top:1px solid var(--el-border-color-lighter);padding:8px}.el-table-filter__bottom button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-filter__bottom button:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-filter__bottom button{color:var(--el-text-color-regular);font-size:var(--el-font-size-small);padding:0 3px}.el-table-filter__bottom button:hover{color:var(--el-color-primary)}.el-table-filter__bottom button.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-table-filter__wrap{max-height:280px}.el-table-filter__checkbox-group{padding:10px}.el-table-filter__checkbox-group label.el-checkbox{align-items:center;display:flex;height:unset;margin-bottom:12px;margin-left:5px;margin-right:5px}.el-table-filter__checkbox-group .el-checkbox:last-child{margin-bottom:0}.el-table{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0,0,0,.15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0,0,0,.15);--el-table-index:var(--el-index-normal);background-color:var(--el-table-bg-color);box-sizing:border-box;color:var(--el-table-text-color);font-size:var(--el-font-size-base);height:-moz-fit-content;height:fit-content;max-width:100%;overflow:hidden;position:relative;width:100%}.el-table__inner-wrapper{display:flex;flex-direction:column;height:100%;position:relative}.el-table__inner-wrapper:before{bottom:0;height:1px;left:0}.el-table tbody:focus-visible{outline:none}.el-table.has-footer.el-table--fluid-height tr:last-child td.el-table__cell,.el-table.has-footer.el-table--scrollable-y tr:last-child td.el-table__cell{border-bottom-color:transparent}.el-table__empty-block{align-items:center;display:flex;justify-content:center;left:0;min-height:60px;position:sticky;text-align:center;width:100%}.el-table__empty-text{color:var(--el-text-color-secondary);line-height:60px;width:50%}.el-table__expand-column .cell{padding:0;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table__expand-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:-2px}.el-table__expand-icon{color:var(--el-text-color-regular);font-size:12px;height:23px;line-height:12px;width:min(23px,100%)}.el-table__expand-icon--expanded{transform:rotate(90deg)}.el-table__expand-icon>.el-icon{font-size:12px}.el-table__expanded-cell{background-color:var(--el-table-expanded-cell-bg-color)}.el-table__expanded-cell[class*=cell]{padding:20px 50px}.el-table__expanded-cell:hover{background-color:transparent!important}.el-table__placeholder{display:inline-block;width:20px}.el-table__append-wrapper{overflow:hidden}.el-table--fit{border-bottom:0;border-right:0}.el-table--fit .el-table__cell.gutter{border-right-width:1px}.el-table--fit .el-table__inner-wrapper:before{width:100%}.el-table thead{color:var(--el-table-header-text-color)}.el-table thead th{font-weight:600}.el-table thead.is-group th.el-table__cell{background:var(--el-fill-color-light)}.el-table .el-table__cell{box-sizing:border-box;min-width:0;padding:8px 0;position:relative;text-align:left;text-overflow:ellipsis;vertical-align:middle;z-index:var(--el-table-index)}.el-table .el-table__cell.is-center{text-align:center}.el-table .el-table__cell.is-right{text-align:right}.el-table .el-table__cell.gutter{border-bottom-width:0;border-right-width:0;padding:0;width:15px}.el-table .el-table__cell.is-hidden>*{visibility:hidden}.el-table .cell{box-sizing:border-box;line-height:23px;overflow:hidden;overflow-wrap:break-word;padding:0 12px;text-overflow:ellipsis;white-space:normal}.el-table .cell.el-tooltip{min-width:50px;white-space:nowrap}.el-table--large{font-size:var(--el-font-size-base)}.el-table--large .el-table__cell{padding:12px 0}.el-table--large .cell{padding:0 16px}.el-table--default{font-size:var(--el-font-size-base)}.el-table--default .el-table__cell{padding:8px 0}.el-table--default .cell{padding:0 12px}.el-table--small{font-size:var(--el-font-size-extra-small)}.el-table--small .el-table__cell{padding:4px 0}.el-table--small .cell{padding:0 8px}.el-table tr{background-color:var(--el-table-tr-bg-color)}.el-table tr input[type=checkbox]{margin:0}.el-table td.el-table__cell,.el-table th.el-table__cell.is-leaf{border-bottom:var(--el-table-border)}.el-table th.el-table__cell.is-sortable{cursor:pointer}.el-table th.el-table__cell{background-color:var(--el-table-header-bg-color)}.el-table th.el-table__cell>.cell.highlight{color:var(--el-color-primary)}.el-table th.el-table__cell.required>div:before{background:#ff4d51;border-radius:50%;content:"";display:inline-block;height:8px;margin-right:5px;vertical-align:middle;width:8px}.el-table td.el-table__cell div{box-sizing:border-box}.el-table td.el-table__cell.gutter{width:0}.el-table--border .el-table__inner-wrapper:after,.el-table--border:after,.el-table--border:before,.el-table__inner-wrapper:before{background-color:var(--el-table-border-color);content:"";position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table--border .el-table__inner-wrapper:after{height:1px;left:0;top:0;width:100%;z-index:calc(var(--el-table-index) + 2)}.el-table--border:before{height:100%;left:0;top:-1px;width:1px}.el-table--border:after{height:100%;right:0;top:-1px;width:1px}.el-table--border .el-table__inner-wrapper{border-bottom:none;border-right:none}.el-table--border .el-table__footer-wrapper{flex-shrink:0;position:relative}.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table--border th.el-table__cell.gutter:last-of-type{border-bottom:var(--el-table-border);border-bottom-width:1px}.el-table--border th.el-table__cell{border-bottom:var(--el-table-border)}.el-table--hidden{visibility:hidden}.el-table__body-wrapper,.el-table__footer-wrapper,.el-table__header-wrapper{width:100%}.el-table__body-wrapper tr td.el-table-fixed-column--left,.el-table__body-wrapper tr td.el-table-fixed-column--right,.el-table__body-wrapper tr th.el-table-fixed-column--left,.el-table__body-wrapper tr th.el-table-fixed-column--right,.el-table__footer-wrapper tr td.el-table-fixed-column--left,.el-table__footer-wrapper tr td.el-table-fixed-column--right,.el-table__footer-wrapper tr th.el-table-fixed-column--left,.el-table__footer-wrapper tr th.el-table-fixed-column--right,.el-table__header-wrapper tr td.el-table-fixed-column--left,.el-table__header-wrapper tr td.el-table-fixed-column--right,.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background:inherit;position:sticky!important;z-index:calc(var(--el-table-index) + 1)}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{bottom:0;box-shadow:none;content:"";overflow-x:hidden;overflow-y:hidden;pointer-events:none;position:absolute;top:0;touch-action:none;width:10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-first-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-first-column:before{left:-10px}.el-table__body-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__body-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__footer-wrapper tr th.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr td.el-table-fixed-column--right.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--left.is-last-column:before,.el-table__header-wrapper tr th.el-table-fixed-column--right.is-last-column:before{right:-10px}.el-table__body-wrapper tr td.el-table__fixed-right-patch,.el-table__body-wrapper tr th.el-table__fixed-right-patch,.el-table__footer-wrapper tr td.el-table__fixed-right-patch,.el-table__footer-wrapper tr th.el-table__fixed-right-patch,.el-table__header-wrapper tr td.el-table__fixed-right-patch,.el-table__header-wrapper tr th.el-table__fixed-right-patch{background:#fff;position:sticky!important;right:0;z-index:calc(var(--el-table-index) + 1)}.el-table__header-wrapper{flex-shrink:0}.el-table__header-wrapper tr th.el-table-fixed-column--left,.el-table__header-wrapper tr th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body,.el-table__footer,.el-table__header{border-collapse:separate;table-layout:fixed}.el-table__header-wrapper{overflow:hidden}.el-table__header-wrapper tbody td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__footer-wrapper{flex-shrink:0;overflow:hidden}.el-table__footer-wrapper tfoot td.el-table__cell{background-color:var(--el-table-row-hover-bg-color);color:var(--el-table-text-color)}.el-table__body-wrapper .el-table-column--selection>.cell,.el-table__header-wrapper .el-table-column--selection>.cell{align-items:center;display:inline-flex;height:23px}.el-table__body-wrapper .el-table-column--selection .el-checkbox,.el-table__header-wrapper .el-table-column--selection .el-checkbox{height:unset}.el-table.is-scrolling-left .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-left.el-table--border .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:var(--el-table-border)}.el-table.is-scrolling-left th.el-table-fixed-column--left{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-right .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-right th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column.el-table__cell{border-right:none}.el-table.is-scrolling-middle .el-table-fixed-column--right.is-first-column:before{box-shadow:var(--el-table-fixed-right-column)}.el-table.is-scrolling-middle .el-table-fixed-column--left.is-last-column:before{box-shadow:var(--el-table-fixed-left-column)}.el-table.is-scrolling-none .el-table-fixed-column--left.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--left.is-last-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-first-column:before,.el-table.is-scrolling-none .el-table-fixed-column--right.is-last-column:before{box-shadow:none}.el-table.is-scrolling-none th.el-table-fixed-column--left,.el-table.is-scrolling-none th.el-table-fixed-column--right{background-color:var(--el-table-header-bg-color)}.el-table__body-wrapper{flex:1;overflow:hidden;position:relative}.el-table__body-wrapper .el-scrollbar__bar{z-index:calc(var(--el-table-index) + 2)}.el-table .caret-wrapper{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table .caret-wrapper:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table .caret-wrapper{align-items:center;display:inline-flex;flex-direction:column;height:14px;overflow:initial;position:relative;vertical-align:middle;width:24px}.el-table .sort-caret{border:5px solid transparent;height:0;left:7px;position:absolute;width:0}.el-table .sort-caret.ascending{border-bottom-color:var(--el-text-color-placeholder);top:-5px}.el-table .sort-caret.descending{border-top-color:var(--el-text-color-placeholder);bottom:-3px}.el-table .ascending .sort-caret.ascending{border-bottom-color:var(--el-color-primary)}.el-table .descending .sort-caret.descending{border-top-color:var(--el-color-primary)}.el-table .hidden-columns{position:absolute;visibility:hidden;z-index:-1}.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell{background:var(--el-fill-color-lighter)}.el-table--striped .el-table__body tr.el-table__row--striped.current-row td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table__body tr.hover-row.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped.current-row>td.el-table__cell,.el-table__body tr.hover-row.el-table__row--striped>td.el-table__cell,.el-table__body tr.hover-row>td.el-table__cell,.el-table__body tr>td.hover-cell{background-color:var(--el-table-row-hover-bg-color)}.el-table__body tr.current-row>td.el-table__cell{background-color:var(--el-table-current-row-bg-color)}.el-table.el-table--scrollable-y .el-table__body-header{position:sticky;top:0;z-index:calc(var(--el-table-index) + 2)}.el-table.el-table--scrollable-y .el-table__body-footer{bottom:0;position:sticky;z-index:calc(var(--el-table-index) + 2)}.el-table__column-resize-proxy{border-left:var(--el-table-border);bottom:0;left:200px;position:absolute;top:0;width:0;z-index:calc(var(--el-table-index) + 9)}.el-table__column-filter-trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table__column-filter-trigger:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table__column-filter-trigger{display:inline-block}.el-table__column-filter-trigger i{color:var(--el-color-info);font-size:14px;vertical-align:middle}.el-table__border-left-patch{height:100%;top:0;width:1px}.el-table__border-bottom-patch,.el-table__border-left-patch{background-color:var(--el-table-border-color);left:0;position:absolute;z-index:calc(var(--el-table-index) + 2)}.el-table__border-bottom-patch{height:1px}.el-table__border-right-patch{background-color:var(--el-table-border-color);height:100%;position:absolute;top:0;width:1px;z-index:calc(var(--el-table-index) + 2)}.el-table--enable-row-transition .el-table__body td.el-table__cell{transition:background-color .25s ease}.el-table--enable-row-hover .el-table__body tr:hover>td.el-table__cell{background-color:var(--el-table-row-hover-bg-color)}.el-table [class*=el-table__row--level] .el-table__expand-icon{display:inline-block;text-align:center;width:20px}.el-table .el-table.el-table--border .el-table__cell{border-right:var(--el-table-border)}.el-table:not(.el-table--border) .el-table__cell{border-right:none}.el-table:not(.el-table--border)>.el-table__inner-wrapper:after{content:none}.el-table-v2{--el-table-border-color:var(--el-border-color-lighter);--el-table-border:1px solid var(--el-table-border-color);--el-table-text-color:var(--el-text-color-regular);--el-table-header-text-color:var(--el-text-color-secondary);--el-table-row-hover-bg-color:var(--el-fill-color-light);--el-table-current-row-bg-color:var(--el-color-primary-light-9);--el-table-header-bg-color:var(--el-fill-color-blank);--el-table-fixed-box-shadow:var(--el-box-shadow-light);--el-table-bg-color:var(--el-fill-color-blank);--el-table-tr-bg-color:var(--el-fill-color-blank);--el-table-expanded-cell-bg-color:var(--el-fill-color-blank);--el-table-fixed-left-column:inset 10px 0 10px -10px rgba(0,0,0,.15);--el-table-fixed-right-column:inset -10px 0 10px -10px rgba(0,0,0,.15);--el-table-index:var(--el-index-normal);font-size:var(--el-font-size-base)}.el-table-v2 *{box-sizing:border-box}.el-table-v2__root{position:relative}.el-table-v2__root:hover .el-table-v2__main .el-virtual-scrollbar{opacity:1}.el-table-v2__main{background-color:var(--el-bg-color);display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__main .el-vl__horizontal,.el-table-v2__main .el-vl__vertical{z-index:2}.el-table-v2__left{background-color:var(--el-bg-color);box-shadow:2px 0 4px #0000000f;display:flex;flex-direction:column-reverse;left:0;overflow:hidden;position:absolute;top:0}.el-table-v2__left .el-virtual-scrollbar{opacity:0}.el-table-v2__left .el-vl__horizontal,.el-table-v2__left .el-vl__vertical{z-index:-1}.el-table-v2__right{background-color:var(--el-bg-color);box-shadow:-2px 0 4px #0000000f;display:flex;flex-direction:column-reverse;overflow:hidden;position:absolute;right:0;top:0}.el-table-v2__right .el-virtual-scrollbar{opacity:0}.el-table-v2__right .el-vl__horizontal,.el-table-v2__right .el-vl__vertical{z-index:-1}.el-table-v2__header-row,.el-table-v2__row{padding-inline-end:var(--el-table-scrollbar-size)}.el-table-v2__header-wrapper{overflow:hidden}.el-table-v2__header{overflow:hidden;position:relative}.el-table-v2__header .el-checkbox{z-index:0}.el-table-v2__footer{bottom:0;overflow:hidden;right:0}.el-table-v2__empty,.el-table-v2__footer,.el-table-v2__overlay{left:0;position:absolute}.el-table-v2__overlay{bottom:0;right:0;top:0;z-index:9999}.el-table-v2__header-row{border-bottom:var(--el-table-border);display:flex}.el-table-v2__header-cell{align-items:center;background-color:var(--el-table-header-bg-color);color:var(--el-table-header-text-color);display:flex;font-weight:700;height:100%;overflow:hidden;padding:0 8px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__header-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__header-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__header-cell.is-sortable{cursor:pointer}.el-table-v2__header-cell:hover .el-icon{display:block}.el-table-v2__sort-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-v2__sort-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__sort-icon{display:none;opacity:.6;transition:opacity,display var(--el-transition-duration)}.el-table-v2__sort-icon.is-sorting{display:flex;opacity:1}.el-table-v2__row{align-items:center;border-bottom:var(--el-table-border);display:flex;transition:background-color var(--el-transition-duration)}.el-table-v2__row.is-hovered,.el-table-v2__row:hover{background-color:var(--el-table-row-hover-bg-color)}.el-table-v2__row-cell{align-items:center;display:flex;height:100%;overflow:hidden;padding:0 8px}.el-table-v2__row-cell.is-align-center{justify-content:center;text-align:center}.el-table-v2__row-cell.is-align-right{justify-content:flex-end;text-align:right}.el-table-v2__expand-icon{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:transparent;border:none;border-radius:var(--el-border-radius-base);cursor:pointer;margin:0;outline:none;padding:0;transition:transform var(--el-transition-duration-fast) ease-in-out}.el-table-v2__expand-icon:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-table-v2__expand-icon{margin:0 4px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-table-v2__expand-icon svg{transition:transform var(--el-transition-duration)}.el-table-v2__expand-icon.is-expanded svg{transform:rotate(90deg)}.el-table-v2:not(.is-dynamic) .el-table-v2__cell-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-table-v2.is-dynamic .el-table-v2__row{align-items:stretch;overflow:hidden}.el-table-v2.is-dynamic .el-table-v2__row .el-table-v2__row-cell{overflow-wrap:break-word}.el-tabs{--el-tabs-header-height:40px;display:flex}.el-tabs__header{align-items:center;display:flex;justify-content:space-between;margin:0 0 15px;padding:0;position:relative}.el-tabs__header-vertical{flex-direction:column}.el-tabs__active-bar{background-color:var(--el-color-primary);bottom:0;height:2px;left:0;list-style:none;position:absolute;transition:width var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),transform var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier);z-index:1}.el-tabs__active-bar.is-bottom{bottom:auto}.el-tabs__new-tab{align-items:center;border:1px solid var(--el-border-color);border-radius:3px;color:var(--el-text-color-primary);cursor:pointer;display:flex;flex-shrink:0;font-size:12px;height:20px;justify-content:center;line-height:20px;margin:10px 0 10px 10px;text-align:center;transition:all .15s;width:20px}.el-tabs__new-tab .is-icon-plus{height:inherit;transform:scale(.8);width:inherit}.el-tabs__new-tab .is-icon-plus svg{vertical-align:middle}.el-tabs__new-tab:hover{color:var(--el-color-primary)}.el-tabs__new-tab-vertical{margin-left:0}.el-tabs__nav-wrap{flex:1 auto;margin-bottom:-1px;overflow:hidden;position:relative}.el-tabs__nav-wrap:after{background-color:var(--el-border-color-light);bottom:0;content:"";height:2px;left:0;position:absolute;width:100%;z-index:var(--el-index-normal)}.el-tabs__nav-wrap.is-bottom:after{bottom:auto;top:0}.el-tabs__nav-wrap.is-scrollable{box-sizing:border-box;padding:0 20px}.el-tabs__nav-scroll{overflow:hidden}.el-tabs__nav-next,.el-tabs__nav-prev{color:var(--el-text-color-secondary);cursor:pointer;font-size:12px;line-height:44px;position:absolute;text-align:center;width:20px}.el-tabs__nav-next{right:0}.el-tabs__nav-prev{left:0}.el-tabs__nav{display:flex;float:left;position:relative;transition:transform var(--el-transition-duration);white-space:nowrap;z-index:calc(var(--el-index-normal) + 1)}.el-tabs__nav.is-stretch{display:flex;min-width:100%}.el-tabs__nav.is-stretch>*{flex:1;text-align:center}.el-tabs__item{align-items:center;box-sizing:border-box;color:var(--el-text-color-primary);display:flex;font-size:var(--el-font-size-base);font-weight:500;height:var(--el-tabs-header-height);justify-content:center;list-style:none;padding:0 20px;position:relative}.el-tabs__item:focus,.el-tabs__item:focus:active{outline:none}.el-tabs__item:focus-visible{border-radius:3px;box-shadow:0 0 2px 2px var(--el-color-primary) inset}.el-tabs__item .is-icon-close{border-radius:50%;margin-left:5px;text-align:center;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs__item .is-icon-close:before{display:inline-block;transform:scale(.9)}.el-tabs__item .is-icon-close:hover{background-color:var(--el-text-color-placeholder);color:#fff}.el-tabs__item.is-active,.el-tabs__item:hover{color:var(--el-color-primary)}.el-tabs__item:hover{cursor:pointer}.el-tabs__item.is-disabled{color:var(--el-disabled-text-color);cursor:not-allowed}.el-tabs__content{flex-grow:1;overflow:hidden;position:relative}.el-tabs--bottom>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:0}.el-tabs--bottom>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top>.el-tabs__header .el-tabs__item:last-child{padding-right:0}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:nth-child(2),.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:nth-child(2){padding-left:20px}.el-tabs--bottom.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--bottom.el-tabs--card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--border-card>.el-tabs__header .el-tabs__item:last-child,.el-tabs--top.el-tabs--card>.el-tabs__header .el-tabs__item:last-child{padding-right:20px}.el-tabs--card>.el-tabs__header{border-bottom:1px solid var(--el-border-color-light);box-sizing:border-box;height:var(--el-tabs-header-height)}.el-tabs--card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--card>.el-tabs__header .el-tabs__nav{border:1px solid var(--el-border-color-light);border-bottom:none;border-radius:4px 4px 0 0;box-sizing:border-box}.el-tabs--card>.el-tabs__header .el-tabs__active-bar{display:none}.el-tabs--card>.el-tabs__header .el-tabs__item .is-icon-close{font-size:12px;height:14px;overflow:hidden;position:relative;right:-2px;transform-origin:100% 50%;width:0}.el-tabs--card>.el-tabs__header .el-tabs__item{border-bottom:1px solid transparent;border-left:1px solid var(--el-border-color-light);margin-top:-1px;transition:color var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier),padding var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--card>.el-tabs__header .el-tabs__item:first-child{border-left:none}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover{padding-left:13px;padding-right:13px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-closable:hover .is-icon-close{width:14px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active{border-bottom-color:var(--el-bg-color)}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable{padding-left:20px;padding-right:20px}.el-tabs--card>.el-tabs__header .el-tabs__item.is-active.is-closable .is-icon-close{width:14px}.el-tabs--border-card{background:var(--el-bg-color-overlay);border:1px solid var(--el-border-color)}.el-tabs--border-card>.el-tabs__content{padding:15px}.el-tabs--border-card>.el-tabs__header{background-color:var(--el-fill-color-light);border-bottom:1px solid var(--el-border-color-light);margin:0}.el-tabs--border-card>.el-tabs__header .el-tabs__nav-wrap:after{content:none}.el-tabs--border-card>.el-tabs__header .el-tabs__item{border:1px solid transparent;color:var(--el-text-color-secondary);margin-top:-1px;transition:all var(--el-transition-duration) var(--el-transition-function-ease-in-out-bezier)}.el-tabs--border-card>.el-tabs__header .el-tabs__item+.el-tabs__item,.el-tabs--border-card>.el-tabs__header .el-tabs__item:first-child{margin-left:-1px}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-active{background-color:var(--el-bg-color-overlay);border-left-color:var(--el-border-color);border-right-color:var(--el-border-color);color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item:not(.is-disabled):hover{color:var(--el-color-primary)}.el-tabs--border-card>.el-tabs__header .el-tabs__item.is-disabled{color:var(--el-disabled-text-color)}.el-tabs--border-card>.el-tabs__header .is-scrollable .el-tabs__item:first-child{margin-left:0}.el-tabs--bottom{flex-direction:column}.el-tabs--bottom .el-tabs__header.is-bottom{margin-bottom:0;margin-top:10px}.el-tabs--bottom.el-tabs--border-card .el-tabs__header.is-bottom{border-bottom:0;border-top:1px solid var(--el-border-color)}.el-tabs--bottom.el-tabs--border-card .el-tabs__nav-wrap.is-bottom{margin-bottom:0;margin-top:-1px}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom:not(.is-active){border:1px solid transparent}.el-tabs--bottom.el-tabs--border-card .el-tabs__item.is-bottom{margin:0 -1px -1px}.el-tabs--left,.el-tabs--right{overflow:hidden}.el-tabs--left .el-tabs__header.is-left,.el-tabs--left .el-tabs__header.is-right,.el-tabs--left .el-tabs__nav-scroll,.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__header.is-left,.el-tabs--right .el-tabs__header.is-right,.el-tabs--right .el-tabs__nav-scroll,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{height:100%}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__active-bar.is-right,.el-tabs--right .el-tabs__active-bar.is-left,.el-tabs--right .el-tabs__active-bar.is-right{bottom:auto;height:auto;top:0;width:2px}.el-tabs--left .el-tabs__nav-wrap.is-left,.el-tabs--left .el-tabs__nav-wrap.is-right,.el-tabs--right .el-tabs__nav-wrap.is-left,.el-tabs--right .el-tabs__nav-wrap.is-right{margin-bottom:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{cursor:pointer;height:30px;line-height:30px;text-align:center;width:100%}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next i,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev i{transform:rotate(90deg)}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-prev,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-prev{left:auto;top:0}.el-tabs--left .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--left .el-tabs__nav-wrap.is-right>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-left>.el-tabs__nav-next,.el-tabs--right .el-tabs__nav-wrap.is-right>.el-tabs__nav-next{bottom:0;right:auto}.el-tabs--left .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--left .el-tabs__nav-wrap.is-right.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-left.is-scrollable,.el-tabs--right .el-tabs__nav-wrap.is-right.is-scrollable{padding:30px 0}.el-tabs--left .el-tabs__nav-wrap.is-left:after,.el-tabs--left .el-tabs__nav-wrap.is-right:after,.el-tabs--right .el-tabs__nav-wrap.is-left:after,.el-tabs--right .el-tabs__nav-wrap.is-right:after{bottom:auto;height:100%;top:0;width:2px}.el-tabs--left .el-tabs__nav.is-left,.el-tabs--left .el-tabs__nav.is-right,.el-tabs--right .el-tabs__nav.is-left,.el-tabs--right .el-tabs__nav.is-right{flex-direction:column}.el-tabs--left .el-tabs__item.is-left,.el-tabs--right .el-tabs__item.is-left{justify-content:flex-end}.el-tabs--left .el-tabs__item.is-right,.el-tabs--right .el-tabs__item.is-right{justify-content:flex-start}.el-tabs--left{flex-direction:row}.el-tabs--left .el-tabs__header.is-left{margin-bottom:0;margin-right:10px}.el-tabs--left .el-tabs__nav-wrap.is-left{margin-right:-1px}.el-tabs--left .el-tabs__active-bar.is-left,.el-tabs--left .el-tabs__nav-wrap.is-left:after{left:auto;right:0}.el-tabs--left .el-tabs__item.is-left{text-align:right}.el-tabs--left.el-tabs--card .el-tabs__active-bar.is-left{display:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left{border-bottom:none;border-left:none;border-right:1px solid var(--el-border-color-light);border-top:1px solid var(--el-border-color-light);text-align:left}.el-tabs--left.el-tabs--card .el-tabs__item.is-left:first-child{border-right:1px solid var(--el-border-color-light);border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:none;border-right:1px solid #fff}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:first-child{border-top:none}.el-tabs--left.el-tabs--card .el-tabs__item.is-left.is-active:last-child{border-bottom:none}.el-tabs--left.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-radius:4px 0 0 4px;border-right:none}.el-tabs--left.el-tabs--card .el-tabs__new-tab{float:none}.el-tabs--left.el-tabs--border-card .el-tabs__header.is-left{border-right:1px solid var(--el-border-color)}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left{border:1px solid transparent;margin:-1px 0 -1px -1px}.el-tabs--left.el-tabs--border-card .el-tabs__item.is-left.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--left>.el-tabs__content+.el-tabs__header{order:-1}.el-tabs--right .el-tabs__header.is-right{margin-bottom:0;margin-left:10px}.el-tabs--right .el-tabs__nav-wrap.is-right{margin-left:-1px}.el-tabs--right .el-tabs__nav-wrap.is-right:after{left:0;right:auto}.el-tabs--right .el-tabs__active-bar.is-right{left:0}.el-tabs--right.el-tabs--card .el-tabs__active-bar.is-right{display:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right{border-bottom:none;border-top:1px solid var(--el-border-color-light)}.el-tabs--right.el-tabs--card .el-tabs__item.is-right:first-child{border-left:1px solid var(--el-border-color-light);border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active{border:1px solid var(--el-border-color-light);border-bottom:none;border-left:1px solid #fff;border-right:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:first-child{border-top:none}.el-tabs--right.el-tabs--card .el-tabs__item.is-right.is-active:last-child{border-bottom:none}.el-tabs--right.el-tabs--card .el-tabs__nav{border-bottom:1px solid var(--el-border-color-light);border-left:none;border-radius:0 4px 4px 0}.el-tabs--right.el-tabs--border-card .el-tabs__header.is-right{border-left:1px solid var(--el-border-color)}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right{border:1px solid transparent;margin:-1px -1px -1px 0}.el-tabs--right.el-tabs--border-card .el-tabs__item.is-right.is-active{border-color:rgb(209,219,229) transparent}.el-tabs--top{flex-direction:column}.el-tabs--top>.el-tabs__content+.el-tabs__header{order:-1}.slideInLeft-transition,.slideInRight-transition{display:inline-block}.slideInRight-enter{animation:slideInRight-enter var(--el-transition-duration)}.slideInRight-leave{animation:slideInRight-leave var(--el-transition-duration);left:0;position:absolute;right:0}.slideInLeft-enter{animation:slideInLeft-enter var(--el-transition-duration)}.slideInLeft-leave{animation:slideInLeft-leave var(--el-transition-duration);left:0;position:absolute;right:0}@keyframes slideInRight-enter{0%{opacity:0;transform:translate(100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInRight-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(100%);transform-origin:0 0}}@keyframes slideInLeft-enter{0%{opacity:0;transform:translate(-100%);transform-origin:0 0}to{opacity:1;transform:translate(0);transform-origin:0 0}}@keyframes slideInLeft-leave{0%{opacity:1;transform:translate(0);transform-origin:0 0}to{opacity:0;transform:translate(-100%);transform-origin:0 0}}.el-tag{--el-tag-font-size:12px;--el-tag-border-radius:4px;--el-tag-border-radius-rounded:9999px;align-items:center;background-color:var(--el-tag-bg-color);border-color:var(--el-tag-border-color);border-radius:var(--el-tag-border-radius);border-style:solid;border-width:1px;box-sizing:border-box;color:var(--el-tag-text-color);display:inline-flex;font-size:var(--el-tag-font-size);height:24px;justify-content:center;line-height:1;padding:0 9px;vertical-align:middle;white-space:nowrap;--el-icon-size:14px}.el-tag,.el-tag.el-tag--primary{--el-tag-bg-color:var(--el-color-primary-light-9);--el-tag-border-color:var(--el-color-primary-light-8);--el-tag-hover-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-bg-color:var(--el-color-success-light-9);--el-tag-border-color:var(--el-color-success-light-8);--el-tag-hover-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-bg-color:var(--el-color-warning-light-9);--el-tag-border-color:var(--el-color-warning-light-8);--el-tag-hover-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-bg-color:var(--el-color-danger-light-9);--el-tag-border-color:var(--el-color-danger-light-8);--el-tag-hover-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-bg-color:var(--el-color-error-light-9);--el-tag-border-color:var(--el-color-error-light-8);--el-tag-hover-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-bg-color:var(--el-color-info-light-9);--el-tag-border-color:var(--el-color-info-light-8);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-hit{border-color:var(--el-color-primary)}.el-tag.is-round{border-radius:var(--el-tag-border-radius-rounded)}.el-tag .el-tag__close{color:var(--el-tag-text-color);flex-shrink:0}.el-tag .el-tag__close:hover{background-color:var(--el-tag-hover-color);color:var(--el-color-white)}.el-tag.el-tag--primary{--el-tag-text-color:var(--el-color-primary)}.el-tag.el-tag--success{--el-tag-text-color:var(--el-color-success)}.el-tag.el-tag--warning{--el-tag-text-color:var(--el-color-warning)}.el-tag.el-tag--danger{--el-tag-text-color:var(--el-color-danger)}.el-tag.el-tag--error{--el-tag-text-color:var(--el-color-error)}.el-tag.el-tag--info{--el-tag-text-color:var(--el-color-info)}.el-tag .el-icon{border-radius:50%;cursor:pointer;display:flex;font-size:calc(var(--el-icon-size) - 2px);height:var(--el-icon-size);width:var(--el-icon-size)}.el-tag .el-tag__close{background-color:transparent;border:none;border-radius:50%;margin-left:6px;outline:none;overflow:hidden;padding:0}.el-tag .el-tag__close:focus-visible{outline:2px solid var(--el-color-primary);outline-offset:2px}.el-tag--dark{--el-tag-text-color:var(--el-color-white)}.el-tag--dark,.el-tag--dark.el-tag--primary{--el-tag-bg-color:var(--el-color-primary);--el-tag-border-color:var(--el-color-primary);--el-tag-hover-color:var(--el-color-primary-light-3)}.el-tag--dark.el-tag--success{--el-tag-bg-color:var(--el-color-success);--el-tag-border-color:var(--el-color-success);--el-tag-hover-color:var(--el-color-success-light-3)}.el-tag--dark.el-tag--warning{--el-tag-bg-color:var(--el-color-warning);--el-tag-border-color:var(--el-color-warning);--el-tag-hover-color:var(--el-color-warning-light-3)}.el-tag--dark.el-tag--danger{--el-tag-bg-color:var(--el-color-danger);--el-tag-border-color:var(--el-color-danger);--el-tag-hover-color:var(--el-color-danger-light-3)}.el-tag--dark.el-tag--error{--el-tag-bg-color:var(--el-color-error);--el-tag-border-color:var(--el-color-error);--el-tag-hover-color:var(--el-color-error-light-3)}.el-tag--dark.el-tag--info{--el-tag-bg-color:var(--el-color-info);--el-tag-border-color:var(--el-color-info);--el-tag-hover-color:var(--el-color-info-light-3)}.el-tag--dark.el-tag--danger,.el-tag--dark.el-tag--error,.el-tag--dark.el-tag--info,.el-tag--dark.el-tag--primary,.el-tag--dark.el-tag--success,.el-tag--dark.el-tag--warning{--el-tag-text-color:var(--el-color-white)}.el-tag--plain,.el-tag--plain.el-tag--primary{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-primary-light-5);--el-tag-hover-color:var(--el-color-primary)}.el-tag--plain.el-tag--success{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-success-light-5);--el-tag-hover-color:var(--el-color-success)}.el-tag--plain.el-tag--warning{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-warning-light-5);--el-tag-hover-color:var(--el-color-warning)}.el-tag--plain.el-tag--danger{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-danger-light-5);--el-tag-hover-color:var(--el-color-danger)}.el-tag--plain.el-tag--error{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-error-light-5);--el-tag-hover-color:var(--el-color-error)}.el-tag--plain.el-tag--info{--el-tag-bg-color:var(--el-fill-color-blank);--el-tag-border-color:var(--el-color-info-light-5);--el-tag-hover-color:var(--el-color-info)}.el-tag.is-closable{padding-right:5px}.el-tag--large{height:32px;padding:0 11px;--el-icon-size:16px}.el-tag--large .el-tag__close{margin-left:8px}.el-tag--large.is-closable{padding-right:7px}.el-tag--small{height:20px;padding:0 7px;--el-icon-size:12px}.el-tag--small .el-tag__close{margin-left:4px}.el-tag--small.is-closable{padding-right:3px}.el-tag--small .el-icon-close{transform:scale(.8)}.el-tag.el-tag--primary.is-hit{border-color:var(--el-color-primary)}.el-tag.el-tag--success.is-hit{border-color:var(--el-color-success)}.el-tag.el-tag--warning.is-hit{border-color:var(--el-color-warning)}.el-tag.el-tag--danger.is-hit{border-color:var(--el-color-danger)}.el-tag.el-tag--error.is-hit{border-color:var(--el-color-error)}.el-tag.el-tag--info.is-hit{border-color:var(--el-color-info)}.el-text{--el-text-font-size:var(--el-font-size-base);--el-text-color:var(--el-text-color-regular);align-self:center;color:var(--el-text-color);font-size:var(--el-text-font-size);margin:0;overflow-wrap:break-word;padding:0}.el-text.is-truncated{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-text.is-line-clamp{display:-webkit-inline-box;-webkit-box-orient:vertical;overflow:hidden}.el-text--large{--el-text-font-size:var(--el-font-size-medium)}.el-text--default{--el-text-font-size:var(--el-font-size-base)}.el-text--small{--el-text-font-size:var(--el-font-size-extra-small)}.el-text.el-text--primary{--el-text-color:var(--el-color-primary)}.el-text.el-text--success{--el-text-color:var(--el-color-success)}.el-text.el-text--warning{--el-text-color:var(--el-color-warning)}.el-text.el-text--danger{--el-text-color:var(--el-color-danger)}.el-text.el-text--error{--el-text-color:var(--el-color-error)}.el-text.el-text--info{--el-text-color:var(--el-color-info)}.el-text>.el-icon{vertical-align:-2px}.time-select{margin:5px 0;min-width:0}.time-select .el-picker-panel__content{margin:0;max-height:200px}.time-select-item{font-size:14px;line-height:20px;padding:8px 10px}.time-select-item.disabled{color:var(--el-datepicker-border-color);cursor:not-allowed}.time-select-item:hover{background-color:var(--el-fill-color-light);cursor:pointer;font-weight:700}.time-select .time-select-item.selected:not(.disabled){color:var(--el-color-primary);font-weight:700}.el-timeline-item{padding-bottom:20px;position:relative}.el-timeline-item__wrapper{box-sizing:content-box;position:relative;top:-3px}.el-timeline-item__tail{border-left:2px solid var(--el-timeline-node-color);height:100%;position:absolute}.el-timeline-item .el-timeline-item__icon{color:var(--el-color-white);font-size:var(--el-font-size-small)}.el-timeline-item__node{align-items:center;background-color:var(--el-timeline-node-color);border-color:var(--el-timeline-node-color);border-radius:50%;box-sizing:border-box;display:flex;justify-content:center;position:absolute}.el-timeline-item__node--normal{height:var(--el-timeline-node-size-normal);width:var(--el-timeline-node-size-normal)}.el-timeline-item__node--large{height:var(--el-timeline-node-size-large);width:var(--el-timeline-node-size-large)}.el-timeline-item__node.is-hollow{background:var(--el-color-white);border-style:solid;border-width:2px}.el-timeline-item__node--primary{background-color:var(--el-color-primary);border-color:var(--el-color-primary)}.el-timeline-item__node--success{background-color:var(--el-color-success);border-color:var(--el-color-success)}.el-timeline-item__node--warning{background-color:var(--el-color-warning);border-color:var(--el-color-warning)}.el-timeline-item__node--danger{background-color:var(--el-color-danger);border-color:var(--el-color-danger)}.el-timeline-item__node--info{background-color:var(--el-color-info);border-color:var(--el-color-info)}.el-timeline-item__dot{align-items:center;display:flex;justify-content:center;position:absolute}.el-timeline-item__content{color:var(--el-text-color-primary)}.el-timeline-item__timestamp{color:var(--el-text-color-secondary);font-size:var(--el-font-size-small);line-height:1}.el-timeline-item__timestamp.is-top{margin-bottom:8px;padding-top:4px}.el-timeline-item__timestamp.is-bottom{margin-top:8px}.el-timeline-item.is-start .el-timeline-item__wrapper{padding-left:28px}.el-timeline-item.is-start .el-timeline-item__tail{left:4px}.el-timeline-item.is-start .el-timeline-item__node--normal{left:-1px}.el-timeline-item.is-start .el-timeline-item__node--large{left:-2px}.el-timeline-item.is-end .el-timeline-item__wrapper{padding-right:28px;text-align:right}.el-timeline-item.is-end .el-timeline-item__tail{right:4px}.el-timeline-item.is-end .el-timeline-item__node--normal{right:-1px}.el-timeline-item.is-end .el-timeline-item__node--large{right:-2px}.el-timeline-item.is-alternate .el-timeline-item__node,.el-timeline-item.is-alternate .el-timeline-item__tail,.el-timeline-item.is-alternate-reverse .el-timeline-item__node,.el-timeline-item.is-alternate-reverse .el-timeline-item__tail{left:50%;transform:translate(-50%)}.el-timeline{--el-timeline-node-size-normal:12px;--el-timeline-node-size-large:14px;--el-timeline-node-color:var(--el-border-color-light);font-size:var(--el-font-size-base);list-style:none;margin:0}.el-timeline .el-timeline-item:last-child .el-timeline-item__tail{display:none}.el-timeline .el-timeline-item__center{align-items:center;display:flex}.el-timeline .el-timeline-item__center .el-timeline-item__wrapper{width:100%}.el-timeline .el-timeline-item__center .el-timeline-item__tail{top:0}.el-timeline .el-timeline-item__center:first-child .el-timeline-item__tail{height:calc(50% + 10px);top:calc(50% - 10px)}.el-timeline .el-timeline-item__center:last-child .el-timeline-item__tail{display:block;height:calc(50% - 10px)}.el-timeline.is-start{padding-left:40px;padding-right:0}.el-timeline.is-end{padding-left:0;padding-right:40px}.el-timeline.is-alternate{padding-left:20px;padding-right:20px}.el-timeline.is-alternate .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{left:calc(50% - var(--el-timeline-node-size-large)/2);padding-left:28px;width:calc(50% - 28px)}.el-timeline.is-alternate .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{padding-right:28px;text-align:right;width:calc(50% - 28px + var(--el-timeline-node-size-large)/2)}.el-timeline.is-alternate-reverse{padding-left:20px;padding-right:20px}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(odd) .el-timeline-item__wrapper{padding-right:28px;text-align:right;width:calc(50% - 28px + var(--el-timeline-node-size-large)/2)}.el-timeline.is-alternate-reverse .el-timeline-item:nth-child(2n) .el-timeline-item__wrapper{left:calc(50% - var(--el-timeline-node-size-large)/2);padding-left:28px;width:calc(50% - 28px)}.el-transfer{--el-transfer-border-color:var(--el-border-color-lighter);--el-transfer-border-radius:var(--el-border-radius-base);--el-transfer-panel-width:200px;--el-transfer-panel-header-height:40px;--el-transfer-panel-header-bg-color:var(--el-fill-color-light);--el-transfer-panel-footer-height:40px;--el-transfer-panel-body-height:278px;--el-transfer-item-height:30px;--el-transfer-filter-height:32px;font-size:var(--el-font-size-base)}.el-transfer__buttons{display:inline-block;padding:0 30px;vertical-align:middle}.el-transfer__button{vertical-align:top}.el-transfer__button:nth-child(2){margin:0 0 0 10px}.el-transfer__button i,.el-transfer__button span{font-size:14px}.el-transfer__button .el-icon+span{margin-left:0}.el-transfer-panel{background:var(--el-bg-color-overlay);box-sizing:border-box;display:inline-block;max-height:100%;overflow:hidden;position:relative;text-align:left;vertical-align:middle;width:var(--el-transfer-panel-width)}.el-transfer-panel__body{border-bottom:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);border-left:1px solid var(--el-transfer-border-color);border-right:1px solid var(--el-transfer-border-color);height:var(--el-transfer-panel-body-height);overflow:hidden}.el-transfer-panel__body.is-with-footer{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0}.el-transfer-panel__list{box-sizing:border-box;height:var(--el-transfer-panel-body-height);list-style:none;margin:0;overflow:auto;padding:6px 0}.el-transfer-panel__list.is-filterable{height:calc(100% - var(--el-transfer-filter-height) - 30px);padding-top:0}.el-transfer-panel__item{display:block!important;height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);padding-left:15px}.el-transfer-panel__item+.el-transfer-panel__item{margin-left:0}.el-transfer-panel__item.el-checkbox{color:var(--el-text-color-regular);margin-right:30px}.el-transfer-panel__item:hover{color:var(--el-color-primary)}.el-transfer-panel__item.el-checkbox .el-checkbox__label{box-sizing:border-box;display:block;line-height:var(--el-transfer-item-height);overflow:hidden;padding-left:22px;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-transfer-panel__item .el-checkbox__input{position:absolute;top:8px}.el-transfer-panel__filter{box-sizing:border-box;padding:15px;text-align:center}.el-transfer-panel__filter .el-input__inner{box-sizing:border-box;display:inline-block;font-size:12px;height:var(--el-transfer-filter-height);width:100%}.el-transfer-panel__filter .el-icon-circle-close{cursor:pointer}.el-transfer-panel .el-transfer-panel__header{align-items:center;background:var(--el-transfer-panel-header-bg-color);border:1px solid var(--el-transfer-border-color);border-top-left-radius:var(--el-transfer-border-radius);border-top-right-radius:var(--el-transfer-border-radius);box-sizing:border-box;color:var(--el-color-black);display:flex;height:var(--el-transfer-panel-header-height);margin:0;padding-left:15px}.el-transfer-panel .el-transfer-panel__header .el-checkbox{align-items:center;display:flex;position:relative;width:100%}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label{color:var(--el-text-color-primary);font-size:16px;font-weight:400}.el-transfer-panel .el-transfer-panel__header .el-checkbox .el-checkbox__label span{color:var(--el-text-color-secondary);font-size:12px;font-weight:400;position:absolute;right:15px;top:50%;transform:translate3d(0,-50%,0)}.el-transfer-panel .el-transfer-panel__footer{background:var(--el-bg-color-overlay);border:1px solid var(--el-transfer-border-color);border-bottom-left-radius:var(--el-transfer-border-radius);border-bottom-right-radius:var(--el-transfer-border-radius);height:var(--el-transfer-panel-footer-height);margin:0;padding:0}.el-transfer-panel .el-transfer-panel__footer:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-transfer-panel .el-transfer-panel__footer .el-checkbox{color:var(--el-text-color-regular);padding-left:20px}.el-transfer-panel .el-transfer-panel__empty{color:var(--el-text-color-secondary);height:var(--el-transfer-item-height);line-height:var(--el-transfer-item-height);margin:0;padding:6px 15px 0;text-align:center}.el-transfer-panel .el-checkbox__label{padding-left:8px}.el-tree{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder);background:var(--el-fill-color-blank);color:var(--el-tree-text-color);cursor:default;font-size:var(--el-font-size-base);position:relative}.el-tree__empty-block{height:100%;min-height:60px;position:relative;text-align:center;width:100%}.el-tree__empty-text{color:var(--el-text-color-secondary);font-size:var(--el-font-size-base);left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-tree__drop-indicator{background-color:var(--el-color-primary);height:1px;left:0;position:absolute;right:0}.el-tree-node{outline:none;white-space:nowrap}.el-tree-node:focus>.el-tree-node__content{background-color:var(--el-tree-node-hover-bg-color)}.el-tree-node.is-drop-inner>.el-tree-node__content .el-tree-node__label{background-color:var(--el-color-primary);color:#fff}.el-tree-node__content{--el-checkbox-height:var(--el-tree-node-content-height);align-items:center;cursor:pointer;display:flex;height:var(--el-tree-node-content-height)}.el-tree-node__content>.el-tree-node__expand-icon{box-sizing:content-box;padding:6px}.el-tree-node__content>label.el-checkbox{margin-right:8px}.el-tree-node__content:hover{background-color:var(--el-tree-node-hover-bg-color)}.el-tree.is-dragging .el-tree-node__content{cursor:move}.el-tree.is-dragging .el-tree-node__content *{pointer-events:none}.el-tree.is-dragging.is-drop-not-allow .el-tree-node__content{cursor:not-allowed}.el-tree-node__expand-icon{color:var(--el-tree-expand-icon-color);cursor:pointer;font-size:12px;transform:rotate(0);transition:transform var(--el-transition-duration) ease-in-out}.el-tree-node__expand-icon.expanded{transform:rotate(90deg)}.el-tree-node__expand-icon.is-leaf{color:transparent;cursor:default;visibility:hidden}.el-tree-node__expand-icon.is-hidden{visibility:hidden}.el-tree-node__loading-icon{color:var(--el-tree-expand-icon-color);font-size:var(--el-font-size-base);margin-right:8px}.el-tree-node>.el-tree-node__children{background-color:transparent;overflow:hidden}.el-tree-node.is-expanded>.el-tree-node__children{display:block}.el-tree--highlight-current .el-tree-node.is-current>.el-tree-node__content{background-color:var(--el-color-primary-light-9)}.el-tree-select{--el-tree-node-content-height:26px;--el-tree-node-hover-bg-color:var(--el-fill-color-light);--el-tree-text-color:var(--el-text-color-regular);--el-tree-expand-icon-color:var(--el-text-color-placeholder)}.el-tree-select__popper .el-tree-node__expand-icon{margin-left:8px}.el-tree-select__popper .el-tree-node.is-checked>.el-tree-node__content .el-select-dropdown__item.selected:after{content:none}.el-tree-select__popper .el-select-dropdown__list>.el-select-dropdown__item{padding-left:32px}.el-tree-select__popper .el-select-dropdown__item{background:transparent!important;flex:1;height:20px;line-height:20px;padding-left:0}.el-upload{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;align-items:center;cursor:pointer;display:inline-flex;justify-content:center;outline:none}.el-upload.is-disabled{cursor:not-allowed}.el-upload.is-disabled:focus{color:inherit}.el-upload.is-disabled:focus,.el-upload.is-disabled:focus .el-upload-dragger{border-color:var(--el-border-color-darker)}.el-upload.is-disabled .el-upload-dragger{background-color:var(--el-disabled-bg-color);cursor:not-allowed}.el-upload.is-disabled .el-upload-dragger .el-upload__text{color:var(--el-text-color-placeholder)}.el-upload.is-disabled .el-upload-dragger .el-upload__text em{color:var(--el-disabled-text-color)}.el-upload.is-disabled .el-upload-dragger:hover{border-color:var(--el-border-color-darker)}.el-upload__input{display:none}.el-upload__tip{color:var(--el-text-color-regular);font-size:12px;margin-top:7px}.el-upload iframe{filter:alpha(opacity=0);left:0;opacity:0;position:absolute;top:0;z-index:-1}.el-upload--picture-card{align-items:center;background-color:var(--el-fill-color-lighter);border:1px dashed var(--el-border-color-darker);border-radius:6px;box-sizing:border-box;cursor:pointer;display:inline-flex;height:var(--el-upload-picture-card-size);justify-content:center;vertical-align:top;width:var(--el-upload-picture-card-size)}.el-upload--picture-card>i{color:var(--el-text-color-secondary);font-size:28px}.el-upload--picture-card:hover{border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-upload.is-drag{display:block}.el-upload:focus{color:var(--el-color-primary)}.el-upload:focus,.el-upload:focus .el-upload-dragger{border-color:var(--el-color-primary)}.el-upload-dragger{background-color:var(--el-fill-color-blank);border:1px dashed var(--el-border-color);border-radius:6px;box-sizing:border-box;cursor:pointer;overflow:hidden;padding:var(--el-upload-dragger-padding-vertical) var(--el-upload-dragger-padding-horizontal);position:relative;text-align:center}.el-upload-dragger .el-icon--upload{color:var(--el-text-color-placeholder);font-size:67px;line-height:50px;margin-bottom:16px}.el-upload-dragger+.el-upload__tip{text-align:center}.el-upload-dragger~.el-upload__files{border-top:var(--el-border);margin-top:7px;padding-top:5px}.el-upload-dragger .el-upload__text{color:var(--el-text-color-regular);font-size:14px;text-align:center}.el-upload-dragger .el-upload__text em{color:var(--el-color-primary);font-style:normal}.el-upload-dragger:hover{border-color:var(--el-color-primary)}.el-upload-dragger.is-dragover{background-color:var(--el-color-primary-light-9);border:2px dashed var(--el-color-primary);padding:calc(var(--el-upload-dragger-padding-vertical) - 1px) calc(var(--el-upload-dragger-padding-horizontal) - 1px)}.el-upload-list{--el-upload-dragger-padding-horizontal:10px;--el-upload-dragger-padding-vertical:40px;--el-upload-list-picture-card-size:var(--el-upload-picture-card-size);--el-upload-picture-card-size:148px;list-style:none;margin:10px 0 0;padding:0;position:relative}.el-upload-list__item{border-radius:4px;box-sizing:border-box;color:var(--el-text-color-regular);font-size:14px;margin-bottom:5px;position:relative;transition:all .5s cubic-bezier(.55,0,.1,1);width:100%}.el-upload-list__item .el-progress{position:absolute;top:20px;width:100%}.el-upload-list__item .el-progress__text{position:absolute;right:0;top:-13px}.el-upload-list__item .el-progress-bar{margin-right:0;padding-right:0}.el-upload-list__item .el-icon--upload-success{color:var(--el-color-success)}.el-upload-list__item .el-icon--close{color:var(--el-text-color-regular);cursor:pointer;display:none;opacity:.75;position:absolute;right:5px;top:50%;transform:translateY(-50%);transition:opacity var(--el-transition-duration)}.el-upload-list__item .el-icon--close:hover{color:var(--el-color-primary);opacity:1}.el-upload-list__item .el-icon--close-tip{color:var(--el-color-primary);cursor:pointer;display:none;font-size:12px;font-style:normal;opacity:1;position:absolute;right:5px;top:1px}.el-upload-list__item:hover{background-color:var(--el-fill-color-light)}.el-upload-list__item:hover .el-icon--close{display:inline-flex}.el-upload-list__item:hover .el-progress__text{display:none}.el-upload-list__item .el-upload-list__item-info{display:inline-flex;flex-direction:column;justify-content:center;margin-left:4px;width:calc(100% - 30px)}.el-upload-list__item.is-success .el-upload-list__item-status-label{display:inline-flex}.el-upload-list__item.is-success .el-upload-list__item-name:focus,.el-upload-list__item.is-success .el-upload-list__item-name:hover{color:var(--el-color-primary);cursor:pointer}.el-upload-list__item.is-success:focus:not(:hover) .el-icon--close-tip{display:inline-block}.el-upload-list__item.is-success:active,.el-upload-list__item.is-success:not(.focusing):focus{outline-width:0}.el-upload-list__item.is-success:active .el-icon--close-tip,.el-upload-list__item.is-success:not(.focusing):focus .el-icon--close-tip{display:none}.el-upload-list__item.is-success:focus .el-upload-list__item-status-label,.el-upload-list__item.is-success:hover .el-upload-list__item-status-label{display:none;opacity:0}.el-upload-list__item-name{align-items:center;color:var(--el-text-color-regular);display:inline-flex;font-size:var(--el-font-size-base);padding:0 4px;text-align:center;transition:color var(--el-transition-duration)}.el-upload-list__item-name .el-icon{color:var(--el-text-color-secondary);margin-right:6px}.el-upload-list__item-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.el-upload-list__item-status-label{align-items:center;display:none;height:100%;justify-content:center;line-height:inherit;position:absolute;right:5px;top:0;transition:opacity var(--el-transition-duration)}.el-upload-list__item-delete{color:var(--el-text-color-regular);display:none;font-size:12px;position:absolute;right:10px;top:0}.el-upload-list__item-delete:hover{color:var(--el-color-primary)}.el-upload-list--picture-card{display:inline-flex;flex-wrap:wrap;margin:0}.el-upload-list--picture-card .el-upload-list__item{background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:inline-flex;height:var(--el-upload-list-picture-card-size);margin:0 8px 8px 0;overflow:hidden;padding:0;width:var(--el-upload-list-picture-card-size)}.el-upload-list--picture-card .el-upload-list__item .el-icon--check,.el-upload-list--picture-card .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture-card .el-upload-list__item .el-icon--close{display:none}.el-upload-list--picture-card .el-upload-list__item:hover .el-upload-list__item-status-label{display:block;opacity:0}.el-upload-list--picture-card .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture-card .el-upload-list__item .el-upload-list__item-name{display:none}.el-upload-list--picture-card .el-upload-list__item-thumbnail{height:100%;-o-object-fit:contain;object-fit:contain;width:100%}.el-upload-list--picture-card .el-upload-list__item-status-label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-list--picture-card .el-upload-list__item-status-label i{font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-list--picture-card .el-upload-list__item-actions{align-items:center;background-color:var(--el-overlay-color-lighter);color:#fff;cursor:default;display:inline-flex;font-size:20px;height:100%;justify-content:center;left:0;opacity:0;position:absolute;top:0;transition:opacity var(--el-transition-duration);width:100%}.el-upload-list--picture-card .el-upload-list__item-actions span{cursor:pointer;display:none}.el-upload-list--picture-card .el-upload-list__item-actions span+span{margin-left:16px}.el-upload-list--picture-card .el-upload-list__item-actions .el-upload-list__item-delete{color:inherit;font-size:inherit;position:static}.el-upload-list--picture-card .el-upload-list__item-actions:hover{opacity:1}.el-upload-list--picture-card .el-upload-list__item-actions:hover span{display:inline-flex}.el-upload-list--picture-card .el-progress{bottom:auto;left:50%;top:50%;transform:translate(-50%,-50%);width:126px}.el-upload-list--picture-card .el-progress .el-progress__text{top:50%}.el-upload-list--picture .el-upload-list__item{align-items:center;background-color:var(--el-fill-color-blank);border:1px solid var(--el-border-color);border-radius:6px;box-sizing:border-box;display:flex;margin-top:10px;overflow:hidden;padding:10px;z-index:0}.el-upload-list--picture .el-upload-list__item .el-icon--check,.el-upload-list--picture .el-upload-list__item .el-icon--circle-check{color:#fff}.el-upload-list--picture .el-upload-list__item:hover .el-upload-list__item-status-label{display:inline-flex;opacity:0}.el-upload-list--picture .el-upload-list__item:hover .el-progress__text{display:block}.el-upload-list--picture .el-upload-list__item.is-success .el-upload-list__item-name i{display:none}.el-upload-list--picture .el-upload-list__item .el-icon--close{top:5px;transform:translateY(0)}.el-upload-list--picture .el-upload-list__item-thumbnail{align-items:center;background-color:var(--el-color-white);display:inline-flex;height:70px;justify-content:center;-o-object-fit:contain;object-fit:contain;position:relative;width:70px;z-index:1}.el-upload-list--picture .el-upload-list__item-status-label{background:var(--el-color-success);height:26px;position:absolute;right:-17px;text-align:center;top:-7px;transform:rotate(45deg);width:46px}.el-upload-list--picture .el-upload-list__item-status-label i{font-size:12px;margin-top:12px;transform:rotate(-45deg)}.el-upload-list--picture .el-progress{position:relative;top:-7px}.el-upload-cover{cursor:default;height:100%;left:0;overflow:hidden;position:absolute;top:0;width:100%;z-index:10}.el-upload-cover:after{content:"";display:inline-block;height:100%;vertical-align:middle}.el-upload-cover img{display:block;height:100%;width:100%}.el-upload-cover__label{background:var(--el-color-success);height:24px;right:-15px;text-align:center;top:-6px;transform:rotate(45deg);width:40px}.el-upload-cover__label i{color:#fff;font-size:12px;margin-top:11px;transform:rotate(-45deg)}.el-upload-cover__progress{display:inline-block;position:static;vertical-align:middle;width:243px}.el-upload-cover__progress+.el-upload__inner{opacity:0}.el-upload-cover__content{height:100%;left:0;position:absolute;top:0;width:100%}.el-upload-cover__interact{background-color:var(--el-overlay-color-light);bottom:0;height:100%;left:0;position:absolute;text-align:center;width:100%}.el-upload-cover__interact .btn{color:#fff;cursor:pointer;display:inline-block;font-size:14px;margin-top:60px;transition:var(--el-transition-md-fade);vertical-align:middle}.el-upload-cover__interact .btn i{margin-top:0}.el-upload-cover__interact .btn span{opacity:0;transition:opacity .15s linear}.el-upload-cover__interact .btn:not(:first-child){margin-left:35px}.el-upload-cover__interact .btn:hover{transform:translateY(-13px)}.el-upload-cover__interact .btn:hover span{opacity:1}.el-upload-cover__interact .btn i{color:#fff;display:block;font-size:24px;line-height:inherit;margin:0 auto 5px}.el-upload-cover__title{background-color:#fff;bottom:0;color:var(--el-text-color-primary);font-size:14px;font-weight:400;height:36px;left:0;line-height:36px;margin:0;overflow:hidden;padding:0 10px;position:absolute;text-align:left;text-overflow:ellipsis;white-space:nowrap;width:100%}.el-upload-cover+.el-upload__inner{opacity:0;position:relative;z-index:1}.el-vl__wrapper{position:relative}.el-vl__wrapper.always-on .el-virtual-scrollbar,.el-vl__wrapper:hover .el-virtual-scrollbar{opacity:1}.el-vl__window{scrollbar-width:none}.el-vl__window::-webkit-scrollbar{display:none}.el-virtual-scrollbar{opacity:0;transition:opacity .34s ease-out}.el-virtual-scrollbar.always-on{opacity:1}.el-vg__wrapper{position:relative}.el-popper{--el-popper-border-radius:var(--el-popover-border-radius,4px);--el-popper-bg-color-light:var(--el-bg-color-overlay);--el-popper-bg-color-dark:var(--el-text-color-primary);border-radius:var(--el-popper-border-radius);font-size:12px;line-height:20px;min-width:10px;overflow-wrap:break-word;padding:5px 11px;position:absolute;visibility:visible;word-break:normal;z-index:2000}.el-popper.is-dark{--el-fill-color-blank:var(--el-popper-bg-color-dark);color:var(--el-bg-color)}.el-popper.is-dark,.el-popper.is-dark>.el-popper__arrow:before{background:var(--el-popper-bg-color-dark);border:1px solid var(--el-text-color-primary)}.el-popper.is-dark>.el-popper__arrow:before{right:0}.el-popper.is-light{--el-fill-color-blank:var(--el-popper-bg-color-light)}.el-popper.is-light,.el-popper.is-light>.el-popper__arrow:before{background:var(--el-popper-bg-color-light);border:1px solid var(--el-border-color-light)}.el-popper.is-light>.el-popper__arrow:before{right:0}.el-popper.is-pure{padding:0}.el-popper__arrow,.el-popper__arrow:before{height:10px;position:absolute;width:10px;z-index:-1}.el-popper__arrow:before{background:var(--el-text-color-primary);box-sizing:border-box;content:" ";transform:rotate(45deg)}.el-popper[data-popper-placement^=top]>.el-popper__arrow{bottom:-5px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-bottom-right-radius:2px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow{top:-5px}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-top-left-radius:2px}.el-popper[data-popper-placement^=left]>.el-popper__arrow{right:-5px}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-top-right-radius:2px}.el-popper[data-popper-placement^=right]>.el-popper__arrow{left:-5px}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-bottom-left-radius:2px}.el-popper[data-popper-placement^=top]>.el-popper__arrow:before{border-left-color:transparent!important;border-top-color:transparent!important}.el-popper[data-popper-placement^=bottom]>.el-popper__arrow:before{border-bottom-color:transparent!important;border-right-color:transparent!important}.el-popper[data-popper-placement^=left]>.el-popper__arrow:before{border-bottom-color:transparent!important;border-left-color:transparent!important}.el-popper[data-popper-placement^=right]>.el-popper__arrow:before{border-right-color:transparent!important;border-top-color:transparent!important}.el-statistic{--el-statistic-title-font-weight:400;--el-statistic-title-font-size:var(--el-font-size-extra-small);--el-statistic-title-color:var(--el-text-color-regular);--el-statistic-content-font-weight:400;--el-statistic-content-font-size:var(--el-font-size-extra-large);--el-statistic-content-color:var(--el-text-color-primary)}.el-statistic__head{color:var(--el-statistic-title-color);font-size:var(--el-statistic-title-font-size);font-weight:var(--el-statistic-title-font-weight);line-height:20px;margin-bottom:4px}.el-statistic__content{color:var(--el-statistic-content-color);font-size:var(--el-statistic-content-font-size);font-weight:var(--el-statistic-content-font-weight)}.el-statistic__value{display:inline-block}.el-statistic__prefix{display:inline-block;margin-right:4px}.el-statistic__suffix{display:inline-block;margin-left:4px}.el-tour{--el-tour-width:520px;--el-tour-padding-primary:12px;--el-tour-font-line-height:var(--el-font-line-height-primary);--el-tour-title-font-size:16px;--el-tour-title-text-color:var(--el-text-color-primary);--el-tour-title-font-weight:400;--el-tour-close-color:var(--el-color-info);--el-tour-font-size:14px;--el-tour-color:var(--el-text-color-primary);--el-tour-bg-color:var(--el-bg-color);--el-tour-border-radius:4px}.el-tour__hollow{transition:all var(--el-transition-duration) ease}.el-tour__content{border-radius:var(--el-tour-border-radius);box-shadow:var(--el-box-shadow-light);outline:none;overflow-wrap:break-word;padding:var(--el-tour-padding-primary);width:var(--el-tour-width)}.el-tour__arrow,.el-tour__content{background:var(--el-tour-bg-color);box-sizing:border-box}.el-tour__arrow{height:10px;pointer-events:none;position:absolute;transform:rotate(45deg);width:10px}.el-tour__content[data-side^=top] .el-tour__arrow{border-left-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=bottom] .el-tour__arrow{border-bottom-color:transparent;border-right-color:transparent}.el-tour__content[data-side^=left] .el-tour__arrow{border-bottom-color:transparent;border-left-color:transparent}.el-tour__content[data-side^=right] .el-tour__arrow{border-right-color:transparent;border-top-color:transparent}.el-tour__content[data-side^=top] .el-tour__arrow{bottom:-5px}.el-tour__content[data-side^=bottom] .el-tour__arrow{top:-5px}.el-tour__content[data-side^=left] .el-tour__arrow{right:-5px}.el-tour__content[data-side^=right] .el-tour__arrow{left:-5px}.el-tour__closebtn{background:transparent;border:none;cursor:pointer;font-size:var(--el-message-close-size,16px);height:40px;outline:none;padding:0;position:absolute;right:0;top:0;width:40px}.el-tour__closebtn .el-tour__close{color:var(--el-tour-close-color);font-size:inherit}.el-tour__closebtn:focus .el-tour__close,.el-tour__closebtn:hover .el-tour__close{color:var(--el-color-primary)}.el-tour__header{padding-bottom:var(--el-tour-padding-primary)}.el-tour__header.show-close{padding-right:calc(var(--el-tour-padding-primary) + var(--el-message-close-size, 16px))}.el-tour__title{color:var(--el-tour-title-text-color);font-size:var(--el-tour-title-font-size);font-weight:var(--el-tour-title-font-weight);line-height:var(--el-tour-font-line-height)}.el-tour__body{color:var(--el-tour-text-color);font-size:var(--el-tour-font-size)}.el-tour__body img,.el-tour__body video{max-width:100%}.el-tour__footer{box-sizing:border-box;display:flex;justify-content:space-between;padding-top:var(--el-tour-padding-primary)}.el-tour__content .el-tour-indicators{display:inline-block;flex:1}.el-tour__content .el-tour-indicator{background:var(--el-color-info-light-9);border-radius:50%;display:inline-block;height:6px;margin-right:6px;width:6px}.el-tour__content .el-tour-indicator.is-active{background:var(--el-color-primary)}.el-tour.el-tour--primary{--el-tour-title-text-color:#fff;--el-tour-text-color:#fff;--el-tour-bg-color:var(--el-color-primary);--el-tour-close-color:#fff}.el-tour.el-tour--primary .el-tour__closebtn:focus .el-tour__close,.el-tour.el-tour--primary .el-tour__closebtn:hover .el-tour__close{color:var(--el-tour-title-text-color)}.el-tour.el-tour--primary .el-button--default{background:#fff;border-color:var(--el-color-primary);color:var(--el-color-primary)}.el-tour.el-tour--primary .el-button--primary{border-color:#fff}.el-tour.el-tour--primary .el-tour-indicator{background:rgba(255,255,255,.15)}.el-tour.el-tour--primary .el-tour-indicator.is-active{background:#fff}.el-tour-parent--hidden{overflow:hidden}.el-anchor{--el-anchor-bg-color:var(--el-bg-color);--el-anchor-padding-indent:14px;--el-anchor-line-height:22px;--el-anchor-font-size:12px;--el-anchor-color:var(--el-text-color-secondary);--el-anchor-active-color:var(--el-color-primary);--el-anchor-hover-color:var(--el-text-color-regular);--el-anchor-marker-bg-color:var(--el-color-primary);background-color:var(--el-anchor-bg-color);position:relative}.el-anchor__marker{background-color:var(--el-anchor-marker-bg-color);border-radius:4px;opacity:0;position:absolute;z-index:0}.el-anchor.el-anchor--vertical .el-anchor__marker{height:14px;left:0;top:8px;transition:top .25s ease-in-out,opacity .25s;width:4px}.el-anchor.el-anchor--vertical .el-anchor__list{padding-left:var(--el-anchor-padding-indent)}.el-anchor.el-anchor--vertical.el-anchor--underline:before{background-color:#0505050f;content:"";height:100%;left:0;position:absolute;width:2px}.el-anchor.el-anchor--vertical.el-anchor--underline .el-anchor__marker{border-radius:unset;width:2px}.el-anchor.el-anchor--horizontal .el-anchor__marker{bottom:0;height:2px;transition:left .25s ease-in-out,opacity .25s,width .25s;width:20px}.el-anchor.el-anchor--horizontal .el-anchor__list{display:flex;padding-bottom:4px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item{padding-left:16px}.el-anchor.el-anchor--horizontal .el-anchor__list .el-anchor__item:first-child{padding-left:0}.el-anchor.el-anchor--horizontal.el-anchor--underline:before{background-color:#0505050f;bottom:0;content:"";height:2px;position:absolute;width:100%}.el-anchor.el-anchor--horizontal.el-anchor--underline .el-anchor__marker{border-radius:unset;height:2px}.el-anchor__item{display:flex;flex-direction:column}.el-anchor__link{color:var(--el-anchor-color);cursor:pointer;font-size:var(--el-anchor-font-size);line-height:var(--el-anchor-line-height);max-width:100%;outline:none;overflow:hidden;padding:4px 0;text-decoration:none;text-overflow:ellipsis;transition:color var(--el-transition-duration);white-space:nowrap}.el-anchor__link:focus,.el-anchor__link:hover{color:var(--el-hover-color)}.el-anchor__link:focus-visible{border-radius:var(--el-border-radius-base);outline:2px solid var(--el-color-primary)}.el-anchor__link.is-active{color:var(--el-anchor-active-color)}.el-anchor .el-anchor__list .el-anchor__item a{display:inline-block}.el-segmented--vertical{flex-direction:column}.el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented{--el-segmented-color:var(--el-text-color-regular);--el-segmented-bg-color:var(--el-fill-color-light);--el-segmented-padding:2px;--el-segmented-item-selected-color:var(--el-color-white);--el-segmented-item-selected-bg-color:var(--el-color-primary);--el-segmented-item-selected-disabled-bg-color:var(--el-color-primary-light-5);--el-segmented-item-hover-color:var(--el-text-color-primary);--el-segmented-item-hover-bg-color:var(--el-fill-color-dark);--el-segmented-item-active-bg-color:var(--el-fill-color-darker);--el-segmented-item-disabled-color:var(--el-text-color-placeholder);align-items:stretch;background:var(--el-segmented-bg-color);border-radius:var(--el-border-radius-base);box-sizing:border-box;color:var(--el-segmented-color);display:inline-flex;font-size:14px;min-height:32px;padding:var(--el-segmented-padding)}.el-segmented__group{align-items:stretch;display:flex;position:relative;width:100%}.el-segmented__item-selected{background:var(--el-segmented-item-selected-bg-color);border-radius:calc(var(--el-border-radius-base) - 2px);height:100%;left:0;pointer-events:none;position:absolute;top:0;transition:all .3s;width:10px}.el-segmented__item-selected.is-disabled{background:var(--el-segmented-item-selected-disabled-bg-color)}.el-segmented__item-selected.is-focus-visible:before{border-radius:inherit;bottom:0;content:"";left:0;outline:2px solid var(--el-segmented-item-selected-bg-color);outline-offset:1px;position:absolute;right:0;top:0}.el-segmented__item{align-items:center;border-radius:calc(var(--el-border-radius-base) - 2px);cursor:pointer;display:flex;flex:1;padding:0 11px}.el-segmented__item:not(.is-disabled):not(.is-selected):hover{background:var(--el-segmented-item-hover-bg-color);color:var(--el-segmented-item-hover-color)}.el-segmented__item:not(.is-disabled):not(.is-selected):active{background:var(--el-segmented-item-active-bg-color)}.el-segmented__item.is-selected,.el-segmented__item.is-selected.is-disabled{color:var(--el-segmented-item-selected-color)}.el-segmented__item.is-disabled{color:var(--el-segmented-item-disabled-color);cursor:not-allowed}.el-segmented__item-input{height:0;margin:0;opacity:0;pointer-events:none;position:absolute;width:0}.el-segmented__item-label{flex:1;line-height:normal;overflow:hidden;text-align:center;text-overflow:ellipsis;transition:color .3s;white-space:nowrap;z-index:1}.el-segmented.is-block{display:flex}.el-segmented.is-block .el-segmented__item{min-width:0}.el-segmented--large{border-radius:var(--el-border-radius-base);font-size:16px;min-height:40px}.el-segmented--large .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 2px)}.el-segmented--large .el-segmented--vertical .el-segmented__item{padding:11px}.el-segmented--large .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 2px);padding:0 11px}.el-segmented--small{border-radius:calc(var(--el-border-radius-base) - 1px);font-size:14px;min-height:24px}.el-segmented--small .el-segmented__item-selected{border-radius:calc(var(--el-border-radius-base) - 3px)}.el-segmented--small .el-segmented--vertical .el-segmented__item{padding:7px}.el-segmented--small .el-segmented__item{border-radius:calc(var(--el-border-radius-base) - 3px);padding:0 7px}.el-mention{position:relative;width:100%}.el-mention__popper.el-popper{background:var(--el-bg-color-overlay);box-shadow:var(--el-box-shadow-light)}.el-mention__popper.el-popper,.el-mention__popper.el-popper .el-popper__arrow:before{border:1px solid var(--el-border-color-light)}.el-mention__popper.el-popper[data-popper-placement^=top] .el-popper__arrow:before{border-left-color:transparent;border-top-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=bottom] .el-popper__arrow:before{border-bottom-color:transparent;border-right-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=left] .el-popper__arrow:before{border-bottom-color:transparent;border-left-color:transparent}.el-mention__popper.el-popper[data-popper-placement^=right] .el-popper__arrow:before{border-right-color:transparent;border-top-color:transparent}.el-mention-dropdown{--el-mention-font-size:var(--el-font-size-base);--el-mention-bg-color:var(--el-bg-color-overlay);--el-mention-shadow:var(--el-box-shadow-light);--el-mention-border:1px solid var(--el-border-color-light);--el-mention-option-color:var(--el-text-color-regular);--el-mention-option-height:34px;--el-mention-option-min-width:100px;--el-mention-option-hover-background:var(--el-fill-color-light);--el-mention-option-selected-color:var(--el-color-primary);--el-mention-option-disabled-color:var(--el-text-color-placeholder);--el-mention-option-loading-color:var(--el-text-color-secondary);--el-mention-option-loading-padding:10px 0;--el-mention-max-height:174px;--el-mention-padding:6px 0;--el-mention-header-padding:10px;--el-mention-footer-padding:10px}.el-mention-dropdown__item{box-sizing:border-box;color:var(--el-mention-option-color);cursor:pointer;font-size:var(--el-mention-font-size);height:var(--el-mention-option-height);line-height:var(--el-mention-option-height);min-width:var(--el-mention-option-min-width);overflow:hidden;padding:0 20px;position:relative;text-overflow:ellipsis;white-space:nowrap}.el-mention-dropdown__item.is-hovering{background-color:var(--el-mention-option-hover-background)}.el-mention-dropdown__item.is-selected{color:var(--el-mention-option-selected-color);font-weight:700}.el-mention-dropdown__item.is-disabled{background-color:unset;color:var(--el-mention-option-disabled-color);cursor:not-allowed}.el-mention-dropdown{border-radius:var(--el-border-radius-base);box-sizing:border-box;z-index:calc(var(--el-index-top) + 1)}.el-mention-dropdown__loading{color:var(--el-mention-option-loading-color);font-size:12px;margin:0;min-width:var(--el-mention-option-min-width);padding:10px 0;text-align:center}.el-mention-dropdown__wrap{max-height:var(--el-mention-max-height)}.el-mention-dropdown__list{box-sizing:border-box;list-style:none;margin:0;padding:var(--el-mention-padding)}.el-mention-dropdown__header{border-bottom:var(--el-mention-border);padding:var(--el-mention-header-padding)}.el-mention-dropdown__footer{border-top:var(--el-mention-border);padding:var(--el-mention-footer-padding)}.el-splitter{display:flex;height:100%;margin:0;padding:0;position:relative;width:100%}.el-splitter__mask{bottom:0;left:0;position:absolute;right:0;top:0;z-index:999}.el-splitter__mask-horizontal{cursor:ew-resize}.el-splitter__mask-vertical{cursor:ns-resize}.el-splitter__horizontal{flex-direction:row}.el-splitter__vertical{flex-direction:column}.el-splitter-bar{flex:none;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none}.el-splitter-bar__dragger{background:transparent;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);z-index:1}.el-splitter-bar__dragger:after,.el-splitter-bar__dragger:before{background-color:var(--el-border-color-light);content:"";left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.el-splitter-bar__dragger:not(.is-lazy):after{display:none}.el-splitter-bar__dragger:after{opacity:.4}.el-splitter-bar__dragger:hover:not(.is-disabled):before{background-color:var(--el-color-primary-light-5)}.el-splitter-bar__dragger-horizontal:after,.el-splitter-bar__dragger-horizontal:before{height:100%;width:2px}.el-splitter-bar__dragger-vertical:after,.el-splitter-bar__dragger-vertical:before{height:2px;width:100%}.el-splitter-bar__dragger-active:after,.el-splitter-bar__dragger-active:before{background-color:var(--el-color-primary-light-3)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-horizontal:after{transform:translate(calc(-50% + var(--el-splitter-bar-offset)),-50%)}.el-splitter-bar__dragger-active.el-splitter-bar__dragger-vertical:after{transform:translate(-50%,calc(-50% + var(--el-splitter-bar-offset)))}.el-splitter-bar:hover .el-splitter-bar__collapse-icon{opacity:1}.el-splitter-bar__collapse-icon{align-items:center;background:var(--el-border-color-light);border-radius:2px;cursor:pointer;display:flex;justify-content:center;opacity:0;position:absolute;z-index:9}.el-splitter-bar__collapse-icon:hover{background-color:var(--el-color-primary-light-5);opacity:1}.el-splitter-bar__horizontal-collapse-icon-start{height:24px;left:-12px;top:50%;transform:translate(-50%,-50%);width:16px}.el-splitter-bar__horizontal-collapse-icon-end{height:24px;left:12px;top:50%;transform:translate(-50%,-50%);width:16px}.el-splitter-bar__vertical-collapse-icon-start{height:16px;right:50%;top:-12px;transform:translate(50%,-50%);width:24px}.el-splitter-bar__vertical-collapse-icon-end{height:16px;right:50%;top:12px;transform:translate(50%,-50%);width:24px}.el-splitter-panel{box-sizing:border-box;flex-grow:0;overflow:auto;scrollbar-width:thin}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.container{width:100%}.cb-border{border-bottom-width:1px;--un-border-opacity:1;--un-border-bottom-opacity:var(--un-border-opacity);border-bottom-color:rgb(209 213 219 / var(--un-border-bottom-opacity));border-bottom-style:solid}.cl-border{border-left-width:1px;--un-border-opacity:1;--un-border-left-opacity:var(--un-border-opacity);border-left-color:rgb(209 213 219 / var(--un-border-left-opacity));border-left-style:solid}.cr-border{border-right-width:1px;--un-border-opacity:1;--un-border-right-opacity:var(--un-border-opacity);border-right-color:rgb(209 213 219 / var(--un-border-right-opacity));border-right-style:solid}.ct-border{border-top-width:1px;--un-border-opacity:1;--un-border-top-opacity:var(--un-border-opacity);border-top-color:rgb(209 213 219 / var(--un-border-top-opacity));border-top-style:solid}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.pointer-events-none,[pointer-events~=none]{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.left-0{left:0}.top-0{top:0}[top~="10vh"]{top:10vh}[top~="5vh"]{top:5vh}.grid{display:grid}.m-0{margin:0}.mx-1{margin-left:.25rem;margin-right:.25rem}.mx-5px{margin-left:5px;margin-right:5px}.mb-4{margin-bottom:1rem}.ml-40px{margin-left:40px}.ml-5px{margin-left:5px}.mr-10px{margin-right:10px}.mr-20px{margin-right:20px}.mt-10px{margin-top:10px}.mt-5px{margin-top:5px}.box-border{box-sizing:border-box}.inline,[inline=""]{display:inline}.block{display:block}.inline-block{display:inline-block}.hidden{display:none}.h-\[calc\(10\%-1px\)\]{height:calc(10% - 1px)}.h-\[calc\(100\%-45px-40px\)\]{height:calc(100% - 85px)}.h-1\/1{height:100%}.h-100px{height:100px}.h-100vh{height:100vh}.h-160px{height:160px}.h-24px{height:24px}.h-30px{height:30px}.h-40px{height:40px}.h-45px{height:45px}.h-50vh{height:50vh}.h-60px{height:60px}.h-85\/100{height:85%}.h-95\/100{height:95%}.h2{height:.5rem}.h3{height:.75rem}.w-1\/1{width:100%}.w-100px{width:100px}.w-160px{width:160px}.w-24px{width:24px}.w-3\/10{width:30%}.w-30px{width:30px}.w-40px{width:40px}.w-45px{width:45px}.w-5\/10{width:50%}.w-50px{width:50px}.w-60px{width:60px}.w-8\/10,.w-80\/100{width:80%}.w-90px{width:90px}.w-95\/100{width:95%}.flex{display:flex}.flex-1{flex:1 1 0%}.flex-auto{flex:1 1 auto}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.table{display:table}.transform{transform:translate(var(--un-translate-x)) translateY(var(--un-translate-y)) translateZ(var(--un-translate-z)) rotate(var(--un-rotate)) rotateX(var(--un-rotate-x)) rotateY(var(--un-rotate-y)) rotate(var(--un-rotate-z)) skew(var(--un-skew-x)) skewY(var(--un-skew-y)) scaleX(var(--un-scale-x)) scaleY(var(--un-scale-y)) scaleZ(var(--un-scale-z))}.cursor-pointer{cursor:pointer}.cursor-crosshair{cursor:crosshair}.cursor-grab{cursor:grab}.touch-none{touch-action:none}.select-none{-webkit-user-select:none;user-select:none}.resize{resize:both}.items-center{align-items:center}.justify-center,[justify~=center]{justify-content:center}.justify-between{justify-content:space-between}.overflow-hidden{overflow:hidden}.break-words{overflow-wrap:break-word}.b,.border,[border=""]{border-width:1px}.bg-amber-50{--un-bg-opacity:1;background-color:rgb(255 251 235 / var(--un-bg-opacity))}.bg-light-300{--un-bg-opacity:1;background-color:rgb(248 249 250 / var(--un-bg-opacity))}.dark .dark\:bg-myDarkBgColor{--un-bg-opacity:1;background-color:rgb(20 20 20 / var(--un-bg-opacity))}.dark .dark\:bg-myMainDarkBgColor{--un-bg-opacity:1;background-color:rgb(28 28 28 / var(--un-bg-opacity))}[fill-opacity~="0"]{--un-fill-opacity:0}[stroke-width~="0.5"]{stroke-width:.5px}[stroke-width~="1"]{stroke-width:1px}[stroke-width~="2"]{stroke-width:2px}[stroke~=transparent]{stroke:transparent}.p-0{padding:0}.p-x-10px,.px-10px{padding-left:10px;padding-right:10px}.px,.px-4{padding-left:1rem;padding-right:1rem}.pb-10px{padding-bottom:10px}.pl-10px{padding-left:10px}.pl-20px{padding-left:20px}.pl-5px{padding-left:5px}.pr-10px{padding-right:10px}.pr-5px{padding-right:5px}.pt-10px{padding-top:10px}.pt-5px{padding-top:5px}.pie{padding-inline-end:1rem}.align-bottom{vertical-align:bottom}.align-top{vertical-align:top}.font-bold{font-weight:700}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.shadow{--un-shadow:var(--un-shadow-inset) 0 1px 3px 0 var(--un-shadow-color, rgb(0 0 0 / .1)),var(--un-shadow-inset) 0 1px 2px -1px var(--un-shadow-color, rgb(0 0 0 / .1));box-shadow:var(--un-ring-offset-shadow),var(--un-ring-shadow),var(--un-shadow)}.outline{outline-style:solid}.backdrop-filter{-webkit-backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia);backdrop-filter:var(--un-backdrop-blur) var(--un-backdrop-brightness) var(--un-backdrop-contrast) var(--un-backdrop-grayscale) var(--un-backdrop-hue-rotate) var(--un-backdrop-invert) var(--un-backdrop-opacity) var(--un-backdrop-saturate) var(--un-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.delay-0s{transition-delay:0s}.delay-1s{transition-delay:1s}.delay-2s{transition-delay:2s}.delay-3s{transition-delay:3s}.delay-4s{transition-delay:4s}.delay-5s{transition-delay:5s}.ease,.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}#mt-edit.dark{color-scheme:dark;--el-color-primary: #409eff;--el-color-primary-light-3: #3375b9;--el-color-primary-light-5: #2a598a;--el-color-primary-light-7: #213d5b;--el-color-primary-light-8: #1d3043;--el-color-primary-light-9: #18222c;--el-color-primary-dark-2: #66b1ff;--el-color-success: #67c23a;--el-color-success-light-3: #4e8e2f;--el-color-success-light-5: #3e6b27;--el-color-success-light-7: #2d481f;--el-color-success-light-8: #25371c;--el-color-success-light-9: #1c2518;--el-color-success-dark-2: #85ce61;--el-color-warning: #e6a23c;--el-color-warning-light-3: #a77730;--el-color-warning-light-5: #7d5b28;--el-color-warning-light-7: #533f20;--el-color-warning-light-8: #3e301c;--el-color-warning-light-9: #292218;--el-color-warning-dark-2: #ebb563;--el-color-danger: #f56c6c;--el-color-danger-light-3: #b25252;--el-color-danger-light-5: #854040;--el-color-danger-light-7: #582e2e;--el-color-danger-light-8: #412626;--el-color-danger-light-9: #2b1d1d;--el-color-danger-dark-2: #f78989;--el-color-error: #f56c6c;--el-color-error-light-3: #b25252;--el-color-error-light-5: #854040;--el-color-error-light-7: #582e2e;--el-color-error-light-8: #412626;--el-color-error-light-9: #2b1d1d;--el-color-error-dark-2: #f78989;--el-color-info: #909399;--el-color-info-light-3: #6b6d71;--el-color-info-light-5: #525457;--el-color-info-light-7: #393a3c;--el-color-info-light-8: #2d2d2f;--el-color-info-light-9: #202121;--el-color-info-dark-2: #a6a9ad;--el-box-shadow: 0px 12px 32px 4px rgba(0, 0, 0, .36), 0px 8px 20px rgba(0, 0, 0, .72);--el-box-shadow-light: 0px 0px 12px rgba(0, 0, 0, .72);--el-box-shadow-lighter: 0px 0px 6px rgba(0, 0, 0, .72);--el-box-shadow-dark: 0px 16px 48px 16px rgba(0, 0, 0, .72), 0px 12px 32px #000000, 0px 8px 16px -8px #000000;--el-bg-color-page: #0a0a0a;--el-bg-color: #141414;--el-bg-color-overlay: #1d1e1f;--el-text-color-primary: #e5eaf3;--el-text-color-regular: #cfd3dc;--el-text-color-secondary: #a3a6ad;--el-text-color-placeholder: #8d9095;--el-text-color-disabled: #6c6e72;--el-border-color-darker: #636466;--el-border-color-dark: #58585b;--el-border-color: #4c4d4f;--el-border-color-light: #414243;--el-border-color-lighter: #363637;--el-border-color-extra-light: #2b2b2c;--el-fill-color-darker: #424243;--el-fill-color-dark: #39393a;--el-fill-color: #303030;--el-fill-color-light: #262727;--el-fill-color-lighter: #1d1d1d;--el-fill-color-extra-light: #191919;--el-fill-color-blank: transparent;--el-mask-color: rgba(0, 0, 0, .8);--el-mask-color-extra-light: rgba(0, 0, 0, .3);transition:all 5s}#mt-edit.dark .el-button{--el-button-disabled-text-color: rgba(255, 255, 255, .5)}#mt-edit.dark .el-card{--el-card-bg-color: var(--el-bg-color-overlay)}#mt-edit.dark .el-empty{--el-empty-fill-color-0: var(--el-color-black);--el-empty-fill-color-1: #4b4b52;--el-empty-fill-color-2: #36383d;--el-empty-fill-color-3: #1e1e20;--el-empty-fill-color-4: #262629;--el-empty-fill-color-5: #202124;--el-empty-fill-color-6: #212224;--el-empty-fill-color-7: #1b1c1f;--el-empty-fill-color-8: #1c1d1f;--el-empty-fill-color-9: #18181a}/*! - * animate.css - https://animate.style/ - * Version - 4.1.1 - * Licensed under the MIT license - http://opensource.org/licenses/MIT - * - * Copyright (c) 2020 Animate.css - */:root{--animate-duration: 1s;--animate-delay: 1s;--animate-repeat: 1}.animate__animated{-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-duration:var(--animate-duration);animation-duration:var(--animate-duration);-webkit-animation-fill-mode:both;animation-fill-mode:both}.animate__animated.animate__infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}.animate__animated.animate__repeat-1{-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-iteration-count:var(--animate-repeat);animation-iteration-count:var(--animate-repeat)}.animate__animated.animate__repeat-2{-webkit-animation-iteration-count:2;animation-iteration-count:2;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 2);animation-iteration-count:calc(var(--animate-repeat) * 2)}.animate__animated.animate__repeat-3{-webkit-animation-iteration-count:3;animation-iteration-count:3;-webkit-animation-iteration-count:calc(var(--animate-repeat) * 3);animation-iteration-count:calc(var(--animate-repeat) * 3)}.animate__animated.animate__delay-1s{-webkit-animation-delay:1s;animation-delay:1s;-webkit-animation-delay:var(--animate-delay);animation-delay:var(--animate-delay)}.animate__animated.animate__delay-2s{-webkit-animation-delay:2s;animation-delay:2s;-webkit-animation-delay:calc(var(--animate-delay) * 2);animation-delay:calc(var(--animate-delay) * 2)}.animate__animated.animate__delay-3s{-webkit-animation-delay:3s;animation-delay:3s;-webkit-animation-delay:calc(var(--animate-delay) * 3);animation-delay:calc(var(--animate-delay) * 3)}.animate__animated.animate__delay-4s{-webkit-animation-delay:4s;animation-delay:4s;-webkit-animation-delay:calc(var(--animate-delay) * 4);animation-delay:calc(var(--animate-delay) * 4)}.animate__animated.animate__delay-5s{-webkit-animation-delay:5s;animation-delay:5s;-webkit-animation-delay:calc(var(--animate-delay) * 5);animation-delay:calc(var(--animate-delay) * 5)}.animate__animated.animate__faster{-webkit-animation-duration:.5s;animation-duration:.5s;-webkit-animation-duration:calc(var(--animate-duration) / 2);animation-duration:calc(var(--animate-duration) / 2)}.animate__animated.animate__fast{-webkit-animation-duration:.8s;animation-duration:.8s;-webkit-animation-duration:calc(var(--animate-duration) * .8);animation-duration:calc(var(--animate-duration) * .8)}.animate__animated.animate__slow{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2)}.animate__animated.animate__slower{-webkit-animation-duration:3s;animation-duration:3s;-webkit-animation-duration:calc(var(--animate-duration) * 3);animation-duration:calc(var(--animate-duration) * 3)}@media print,(prefers-reduced-motion: reduce){.animate__animated{-webkit-animation-duration:1ms!important;animation-duration:1ms!important;-webkit-transition-duration:1ms!important;transition-duration:1ms!important;-webkit-animation-iteration-count:1!important;animation-iteration-count:1!important}.animate__animated[class*=Out]{opacity:0}}@-webkit-keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}@keyframes bounce{0%,20%,53%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}40%,43%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-30px,0) scaleY(1.1);transform:translate3d(0,-30px,0) scaleY(1.1)}70%{-webkit-animation-timing-function:cubic-bezier(.755,.05,.855,.06);animation-timing-function:cubic-bezier(.755,.05,.855,.06);-webkit-transform:translate3d(0,-15px,0) scaleY(1.05);transform:translate3d(0,-15px,0) scaleY(1.05)}80%{-webkit-transition-timing-function:cubic-bezier(.215,.61,.355,1);transition-timing-function:cubic-bezier(.215,.61,.355,1);-webkit-transform:translate3d(0,0,0) scaleY(.95);transform:translateZ(0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-4px,0) scaleY(1.02);transform:translate3d(0,-4px,0) scaleY(1.02)}}.animate__bounce{-webkit-animation-name:bounce;animation-name:bounce;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}@keyframes flash{0%,50%,to{opacity:1}25%,75%{opacity:0}}.animate__flash{-webkit-animation-name:flash;animation-name:flash}@-webkit-keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes pulse{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}50%{-webkit-transform:scale3d(1.05,1.05,1.05);transform:scale3d(1.05,1.05,1.05)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__pulse{-webkit-animation-name:pulse;animation-name:pulse;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes rubberBand{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}30%{-webkit-transform:scale3d(1.25,.75,1);transform:scale3d(1.25,.75,1)}40%{-webkit-transform:scale3d(.75,1.25,1);transform:scale3d(.75,1.25,1)}50%{-webkit-transform:scale3d(1.15,.85,1);transform:scale3d(1.15,.85,1)}65%{-webkit-transform:scale3d(.95,1.05,1);transform:scale3d(.95,1.05,1)}75%{-webkit-transform:scale3d(1.05,.95,1);transform:scale3d(1.05,.95,1)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__rubberBand{-webkit-animation-name:rubberBand;animation-name:rubberBand}@-webkit-keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}@keyframes shakeX{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}20%,40%,60%,80%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}}.animate__shakeX{-webkit-animation-name:shakeX;animation-name:shakeX}@-webkit-keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}@keyframes shakeY{0%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}10%,30%,50%,70%,90%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}20%,40%,60%,80%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}}.animate__shakeY{-webkit-animation-name:shakeY;animation-name:shakeY}@-webkit-keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}@keyframes headShake{0%{-webkit-transform:translateX(0);transform:translate(0)}6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translate(-6px) rotateY(-9deg)}18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translate(5px) rotateY(7deg)}31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translate(-3px) rotateY(-5deg)}43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translate(2px) rotateY(3deg)}50%{-webkit-transform:translateX(0);transform:translate(0)}}.animate__headShake{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;-webkit-animation-name:headShake;animation-name:headShake}@-webkit-keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}@keyframes swing{20%{-webkit-transform:rotate3d(0,0,1,15deg);transform:rotate3d(0,0,1,15deg)}40%{-webkit-transform:rotate3d(0,0,1,-10deg);transform:rotate3d(0,0,1,-10deg)}60%{-webkit-transform:rotate3d(0,0,1,5deg);transform:rotate3d(0,0,1,5deg)}80%{-webkit-transform:rotate3d(0,0,1,-5deg);transform:rotate3d(0,0,1,-5deg)}to{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}}.animate__swing{-webkit-transform-origin:top center;transform-origin:top center;-webkit-animation-name:swing;animation-name:swing}@-webkit-keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes tada{0%{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}10%,20%{-webkit-transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg);transform:scale3d(.9,.9,.9) rotate3d(0,0,1,-3deg)}30%,50%,70%,90%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,3deg)}40%,60%,80%{-webkit-transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg);transform:scale3d(1.1,1.1,1.1) rotate3d(0,0,1,-3deg)}to{-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__tada{-webkit-animation-name:tada;animation-name:tada}@-webkit-keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes wobble{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}15%{-webkit-transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg);transform:translate3d(-25%,0,0) rotate3d(0,0,1,-5deg)}30%{-webkit-transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg);transform:translate3d(20%,0,0) rotate3d(0,0,1,3deg)}45%{-webkit-transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg);transform:translate3d(-15%,0,0) rotate3d(0,0,1,-3deg)}60%{-webkit-transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg);transform:translate3d(10%,0,0) rotate3d(0,0,1,2deg)}75%{-webkit-transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg);transform:translate3d(-5%,0,0) rotate3d(0,0,1,-1deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__wobble{-webkit-animation-name:wobble;animation-name:wobble}@-webkit-keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}@keyframes jello{0%,11.1%,to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}22.2%{-webkit-transform:skewX(-12.5deg) skewY(-12.5deg);transform:skew(-12.5deg) skewY(-12.5deg)}33.3%{-webkit-transform:skewX(6.25deg) skewY(6.25deg);transform:skew(6.25deg) skewY(6.25deg)}44.4%{-webkit-transform:skewX(-3.125deg) skewY(-3.125deg);transform:skew(-3.125deg) skewY(-3.125deg)}55.5%{-webkit-transform:skewX(1.5625deg) skewY(1.5625deg);transform:skew(1.5625deg) skewY(1.5625deg)}66.6%{-webkit-transform:skewX(-.78125deg) skewY(-.78125deg);transform:skew(-.78125deg) skewY(-.78125deg)}77.7%{-webkit-transform:skewX(.390625deg) skewY(.390625deg);transform:skew(.390625deg) skewY(.390625deg)}88.8%{-webkit-transform:skewX(-.1953125deg) skewY(-.1953125deg);transform:skew(-.1953125deg) skewY(-.1953125deg)}}.animate__jello{-webkit-animation-name:jello;animation-name:jello;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes heartBeat{0%{-webkit-transform:scale(1);transform:scale(1)}14%{-webkit-transform:scale(1.3);transform:scale(1.3)}28%{-webkit-transform:scale(1);transform:scale(1)}42%{-webkit-transform:scale(1.3);transform:scale(1.3)}70%{-webkit-transform:scale(1);transform:scale(1)}}.animate__heartBeat{-webkit-animation-name:heartBeat;animation-name:heartBeat;-webkit-animation-duration:1.3s;animation-duration:1.3s;-webkit-animation-duration:calc(var(--animate-duration) * 1.3);animation-duration:calc(var(--animate-duration) * 1.3);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInDown{0%{-webkit-transform:translateY(-1200px) scale(.7);transform:translateY(-1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInDown{-webkit-animation-name:backInDown;animation-name:backInDown}@-webkit-keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInLeft{0%{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInLeft{-webkit-animation-name:backInLeft;animation-name:backInLeft}@-webkit-keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInRight{0%{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}80%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInRight{-webkit-animation-name:backInRight;animation-name:backInRight}@-webkit-keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes backInUp{0%{-webkit-transform:translateY(1200px) scale(.7);transform:translateY(1200px) scale(.7);opacity:.7}80%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.animate__backInUp{-webkit-animation-name:backInUp;animation-name:backInUp}@-webkit-keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}@keyframes backOutDown{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(700px) scale(.7);transform:translateY(700px) scale(.7);opacity:.7}}.animate__backOutDown{-webkit-animation-name:backOutDown;animation-name:backOutDown}@-webkit-keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}@keyframes backOutLeft{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(-2000px) scale(.7);transform:translate(-2000px) scale(.7);opacity:.7}}.animate__backOutLeft{-webkit-animation-name:backOutLeft;animation-name:backOutLeft}@-webkit-keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}@keyframes backOutRight{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateX(0px) scale(.7);transform:translate(0) scale(.7);opacity:.7}to{-webkit-transform:translateX(2000px) scale(.7);transform:translate(2000px) scale(.7);opacity:.7}}.animate__backOutRight{-webkit-animation-name:backOutRight;animation-name:backOutRight}@-webkit-keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}@keyframes backOutUp{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}20%{-webkit-transform:translateY(0px) scale(.7);transform:translateY(0) scale(.7);opacity:.7}to{-webkit-transform:translateY(-700px) scale(.7);transform:translateY(-700px) scale(.7);opacity:.7}}.animate__backOutUp{-webkit-animation-name:backOutUp;animation-name:backOutUp}@-webkit-keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}@keyframes bounceIn{0%,20%,40%,60%,80%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}20%{-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}40%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}60%{opacity:1;-webkit-transform:scale3d(1.03,1.03,1.03);transform:scale3d(1.03,1.03,1.03)}80%{-webkit-transform:scale3d(.97,.97,.97);transform:scale3d(.97,.97,.97)}to{opacity:1;-webkit-transform:scale3d(1,1,1);transform:scaleZ(1)}}.animate__bounceIn{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0) scaleY(3);transform:translate3d(0,-3000px,0) scaleY(3)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0) scaleY(.9);transform:translate3d(0,25px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,-10px,0) scaleY(.95);transform:translate3d(0,-10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,5px,0) scaleY(.985);transform:translate3d(0,5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInDown{-webkit-animation-name:bounceInDown;animation-name:bounceInDown}@-webkit-keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0) scaleX(3);transform:translate3d(-3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0) scaleX(1);transform:translate3d(25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(-10px,0,0) scaleX(.98);transform:translate3d(-10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(5px,0,0) scaleX(.995);transform:translate3d(5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInLeft{-webkit-animation-name:bounceInLeft;animation-name:bounceInLeft}@-webkit-keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0) scaleX(3);transform:translate3d(3000px,0,0) scaleX(3)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0) scaleX(1);transform:translate3d(-25px,0,0) scaleX(1)}75%{-webkit-transform:translate3d(10px,0,0) scaleX(.98);transform:translate3d(10px,0,0) scaleX(.98)}90%{-webkit-transform:translate3d(-5px,0,0) scaleX(.995);transform:translate3d(-5px,0,0) scaleX(.995)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInRight{-webkit-animation-name:bounceInRight;animation-name:bounceInRight}@-webkit-keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0) scaleY(5);transform:translate3d(0,3000px,0) scaleY(5)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}75%{-webkit-transform:translate3d(0,10px,0) scaleY(.95);transform:translate3d(0,10px,0) scaleY(.95)}90%{-webkit-transform:translate3d(0,-5px,0) scaleY(.985);transform:translate3d(0,-5px,0) scaleY(.985)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__bounceInUp{-webkit-animation-name:bounceInUp;animation-name:bounceInUp}@-webkit-keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}@keyframes bounceOut{20%{-webkit-transform:scale3d(.9,.9,.9);transform:scale3d(.9,.9,.9)}50%,55%{opacity:1;-webkit-transform:scale3d(1.1,1.1,1.1);transform:scale3d(1.1,1.1,1.1)}to{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}}.animate__bounceOut{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:bounceOut;animation-name:bounceOut}@-webkit-keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}@keyframes bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0) scaleY(.985);transform:translate3d(0,10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0) scaleY(.9);transform:translate3d(0,-20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0) scaleY(3);transform:translate3d(0,2000px,0) scaleY(3)}}.animate__bounceOutDown{-webkit-animation-name:bounceOutDown;animation-name:bounceOutDown}@-webkit-keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}@keyframes bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0) scaleX(.9);transform:translate3d(20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0) scaleX(2);transform:translate3d(-2000px,0,0) scaleX(2)}}.animate__bounceOutLeft{-webkit-animation-name:bounceOutLeft;animation-name:bounceOutLeft}@-webkit-keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}@keyframes bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0) scaleX(.9);transform:translate3d(-20px,0,0) scaleX(.9)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0) scaleX(2);transform:translate3d(2000px,0,0) scaleX(2)}}.animate__bounceOutRight{-webkit-animation-name:bounceOutRight;animation-name:bounceOutRight}@-webkit-keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}@keyframes bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0) scaleY(.985);transform:translate3d(0,-10px,0) scaleY(.985)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0) scaleY(.9);transform:translate3d(0,20px,0) scaleY(.9)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0) scaleY(3);transform:translate3d(0,-2000px,0) scaleY(3)}}.animate__bounceOutUp{-webkit-animation-name:bounceOutUp;animation-name:bounceOutUp}@-webkit-keyframes fadeIn{0%{opacity:0}to{opacity:1}}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate__fadeIn{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDown{0%{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDown{-webkit-animation-name:fadeInDown;animation-name:fadeInDown}@-webkit-keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInDownBig{0%{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInDownBig{-webkit-animation-name:fadeInDownBig;animation-name:fadeInDownBig}@-webkit-keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeft{-webkit-animation-name:fadeInLeft;animation-name:fadeInLeft}@-webkit-keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInLeftBig{0%{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInLeftBig{-webkit-animation-name:fadeInLeftBig;animation-name:fadeInLeftBig}@-webkit-keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRight{0%{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRight{-webkit-animation-name:fadeInRight;animation-name:fadeInRight}@-webkit-keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInRightBig{0%{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInRightBig{-webkit-animation-name:fadeInRightBig;animation-name:fadeInRightBig}@-webkit-keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUp{0%{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUp{-webkit-animation-name:fadeInUp;animation-name:fadeInUp}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInUpBig{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopLeft{-webkit-animation-name:fadeInTopLeft;animation-name:fadeInTopLeft}@-webkit-keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInTopRight{0%{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInTopRight{-webkit-animation-name:fadeInTopRight;animation-name:fadeInTopRight}@-webkit-keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomLeft{0%{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomLeft{-webkit-animation-name:fadeInBottomLeft;animation-name:fadeInBottomLeft}@-webkit-keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes fadeInBottomRight{0%{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__fadeInBottomRight{-webkit-animation-name:fadeInBottomRight;animation-name:fadeInBottomRight}@-webkit-keyframes fadeOut{0%{opacity:1}to{opacity:0}}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.animate__fadeOut{-webkit-animation-name:fadeOut;animation-name:fadeOut}@-webkit-keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes fadeOutDown{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__fadeOutDown{-webkit-animation-name:fadeOutDown;animation-name:fadeOutDown}@-webkit-keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes fadeOutDownBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.animate__fadeOutDownBig{-webkit-animation-name:fadeOutDownBig;animation-name:fadeOutDownBig}@-webkit-keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes fadeOutLeft{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__fadeOutLeft{-webkit-animation-name:fadeOutLeft;animation-name:fadeOutLeft}@-webkit-keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes fadeOutLeftBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}.animate__fadeOutLeftBig{-webkit-animation-name:fadeOutLeftBig;animation-name:fadeOutLeftBig}@-webkit-keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes fadeOutRight{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__fadeOutRight{-webkit-animation-name:fadeOutRight;animation-name:fadeOutRight}@-webkit-keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes fadeOutRightBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}.animate__fadeOutRightBig{-webkit-animation-name:fadeOutRightBig;animation-name:fadeOutRightBig}@-webkit-keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes fadeOutUp{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__fadeOutUp{-webkit-animation-name:fadeOutUp;animation-name:fadeOutUp}@-webkit-keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes fadeOutUpBig{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}.animate__fadeOutUpBig{-webkit-animation-name:fadeOutUpBig;animation-name:fadeOutUpBig}@-webkit-keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}@keyframes fadeOutTopLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,-100%,0);transform:translate3d(-100%,-100%,0)}}.animate__fadeOutTopLeft{-webkit-animation-name:fadeOutTopLeft;animation-name:fadeOutTopLeft}@-webkit-keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}@keyframes fadeOutTopRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,-100%,0);transform:translate3d(100%,-100%,0)}}.animate__fadeOutTopRight{-webkit-animation-name:fadeOutTopRight;animation-name:fadeOutTopRight}@-webkit-keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}@keyframes fadeOutBottomRight{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(100%,100%,0);transform:translate3d(100%,100%,0)}}.animate__fadeOutBottomRight{-webkit-animation-name:fadeOutBottomRight;animation-name:fadeOutBottomRight}@-webkit-keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}@keyframes fadeOutBottomLeft{0%{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{opacity:0;-webkit-transform:translate3d(-100%,100%,0);transform:translate3d(-100%,100%,0)}}.animate__fadeOutBottomLeft{-webkit-animation-name:fadeOutBottomLeft;animation-name:fadeOutBottomLeft}@-webkit-keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}@keyframes flip{0%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,-360deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(-360deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}40%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-190deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-190deg);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}50%{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,150px) rotate3d(0,1,0,-170deg);transform:perspective(400px) scaleZ(1) translateZ(150px) rotateY(-170deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}80%{-webkit-transform:perspective(400px) scale3d(.95,.95,.95) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scale3d(.95,.95,.95) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}to{-webkit-transform:perspective(400px) scale3d(1,1,1) translate3d(0,0,0) rotate3d(0,1,0,0deg);transform:perspective(400px) scaleZ(1) translateZ(0) rotateY(0);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}}.animate__animated.animate__flip{-webkit-backface-visibility:visible;backface-visibility:visible;-webkit-animation-name:flip;animation-name:flip}@-webkit-keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInX{0%{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(1,0,0,10deg);transform:perspective(400px) rotateX(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInX{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInX;animation-name:flipInX}@-webkit-keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes flipInY{0%{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-20deg);transform:perspective(400px) rotateY(-20deg);-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0,1,0,10deg);transform:perspective(400px) rotateY(10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-5deg);transform:perspective(400px) rotateY(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}.animate__flipInY{-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipInY;animation-name:flipInY}@-webkit-keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}@keyframes flipOutX{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(1,0,0,-20deg);transform:perspective(400px) rotateX(-20deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(1,0,0,90deg);transform:perspective(400px) rotateX(90deg);opacity:0}}.animate__flipOutX{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-animation-name:flipOutX;animation-name:flipOutX;-webkit-backface-visibility:visible!important;backface-visibility:visible!important}@-webkit-keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}@keyframes flipOutY{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{-webkit-transform:perspective(400px) rotate3d(0,1,0,-15deg);transform:perspective(400px) rotateY(-15deg);opacity:1}to{-webkit-transform:perspective(400px) rotate3d(0,1,0,90deg);transform:perspective(400px) rotateY(90deg);opacity:0}}.animate__flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s;-webkit-animation-duration:calc(var(--animate-duration) * .75);animation-duration:calc(var(--animate-duration) * .75);-webkit-backface-visibility:visible!important;backface-visibility:visible!important;-webkit-animation-name:flipOutY;animation-name:flipOutY}@-webkit-keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInRight{0%{-webkit-transform:translate3d(100%,0,0) skewX(-30deg);transform:translate3d(100%,0,0) skew(-30deg);opacity:0}60%{-webkit-transform:skewX(20deg);transform:skew(20deg);opacity:1}80%{-webkit-transform:skewX(-5deg);transform:skew(-5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInRight{-webkit-animation-name:lightSpeedInRight;animation-name:lightSpeedInRight;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes lightSpeedInLeft{0%{-webkit-transform:translate3d(-100%,0,0) skewX(30deg);transform:translate3d(-100%,0,0) skew(30deg);opacity:0}60%{-webkit-transform:skewX(-20deg);transform:skew(-20deg);opacity:1}80%{-webkit-transform:skewX(5deg);transform:skew(5deg)}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__lightSpeedInLeft{-webkit-animation-name:lightSpeedInLeft;animation-name:lightSpeedInLeft;-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}@-webkit-keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}@keyframes lightSpeedOutRight{0%{opacity:1}to{-webkit-transform:translate3d(100%,0,0) skewX(30deg);transform:translate3d(100%,0,0) skew(30deg);opacity:0}}.animate__lightSpeedOutRight{-webkit-animation-name:lightSpeedOutRight;animation-name:lightSpeedOutRight;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}@keyframes lightSpeedOutLeft{0%{opacity:1}to{-webkit-transform:translate3d(-100%,0,0) skewX(-30deg);transform:translate3d(-100%,0,0) skew(-30deg);opacity:0}}.animate__lightSpeedOutLeft{-webkit-animation-name:lightSpeedOutLeft;animation-name:lightSpeedOutLeft;-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in}@-webkit-keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateIn{0%{-webkit-transform:rotate3d(0,0,1,-200deg);transform:rotate3d(0,0,1,-200deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateIn{-webkit-animation-name:rotateIn;animation-name:rotateIn;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownLeft{0%{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownLeft{-webkit-animation-name:rotateInDownLeft;animation-name:rotateInDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInDownRight{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInDownRight{-webkit-animation-name:rotateInDownRight;animation-name:rotateInDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpLeft{0%{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpLeft{-webkit-animation-name:rotateInUpLeft;animation-name:rotateInUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}@keyframes rotateInUpRight{0%{-webkit-transform:rotate3d(0,0,1,-90deg);transform:rotate3d(0,0,1,-90deg);opacity:0}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0);opacity:1}}.animate__rotateInUpRight{-webkit-animation-name:rotateInUpRight;animation-name:rotateInUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}@keyframes rotateOut{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,200deg);transform:rotate3d(0,0,1,200deg);opacity:0}}.animate__rotateOut{-webkit-animation-name:rotateOut;animation-name:rotateOut;-webkit-transform-origin:center;transform-origin:center}@-webkit-keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}@keyframes rotateOutDownLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,45deg);transform:rotate3d(0,0,1,45deg);opacity:0}}.animate__rotateOutDownLeft{-webkit-animation-name:rotateOutDownLeft;animation-name:rotateOutDownLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutDownRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutDownRight{-webkit-animation-name:rotateOutDownRight;animation-name:rotateOutDownRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}@keyframes rotateOutUpLeft{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,-45deg);transform:rotate3d(0,0,1,-45deg);opacity:0}}.animate__rotateOutUpLeft{-webkit-animation-name:rotateOutUpLeft;animation-name:rotateOutUpLeft;-webkit-transform-origin:left bottom;transform-origin:left bottom}@-webkit-keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}@keyframes rotateOutUpRight{0%{opacity:1}to{-webkit-transform:rotate3d(0,0,1,90deg);transform:rotate3d(0,0,1,90deg);opacity:0}}.animate__rotateOutUpRight{-webkit-animation-name:rotateOutUpRight;animation-name:rotateOutUpRight;-webkit-transform-origin:right bottom;transform-origin:right bottom}@-webkit-keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}@keyframes hinge{0%{-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}20%,60%{-webkit-transform:rotate3d(0,0,1,80deg);transform:rotate3d(0,0,1,80deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}40%,80%{-webkit-transform:rotate3d(0,0,1,60deg);transform:rotate3d(0,0,1,60deg);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out;opacity:1}to{-webkit-transform:translate3d(0,700px,0);transform:translate3d(0,700px,0);opacity:0}}.animate__hinge{-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-duration:calc(var(--animate-duration) * 2);animation-duration:calc(var(--animate-duration) * 2);-webkit-animation-name:hinge;animation-name:hinge;-webkit-transform-origin:top left;transform-origin:top left}@-webkit-keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes jackInTheBox{0%{opacity:0;-webkit-transform:scale(.1) rotate(30deg);transform:scale(.1) rotate(30deg);-webkit-transform-origin:center bottom;transform-origin:center bottom}50%{-webkit-transform:rotate(-10deg);transform:rotate(-10deg)}70%{-webkit-transform:rotate(3deg);transform:rotate(3deg)}to{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}.animate__jackInTheBox{-webkit-animation-name:jackInTheBox;animation-name:jackInTheBox}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg);transform:translate3d(-100%,0,0) rotate3d(0,0,1,-120deg)}to{opacity:1;-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__rollIn{-webkit-animation-name:rollIn;animation-name:rollIn}@-webkit-keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}@keyframes rollOut{0%{opacity:1}to{opacity:0;-webkit-transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg);transform:translate3d(100%,0,0) rotate3d(0,0,1,120deg)}}.animate__rollOut{-webkit-animation-name:rollOut;animation-name:rollOut}@-webkit-keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}.animate__zoomIn{-webkit-animation-name:zoomIn;animation-name:zoomIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInDown{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(-1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(10px,0,0);transform:scale3d(.475,.475,.475) translate3d(10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInLeft{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInRight{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);transform:scale3d(.1,.1,.1) translate3d(1000px,0,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);transform:scale3d(.475,.475,.475) translate3d(-10px,0,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInRight{-webkit-animation-name:zoomInRight;animation-name:zoomInRight}@-webkit-keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomInUp{0%{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);transform:scale3d(.1,.1,.1) translate3d(0,1000px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}60%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomInUp{-webkit-animation-name:zoomInUp;animation-name:zoomInUp}@-webkit-keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.animate__zoomOut{-webkit-animation-name:zoomOut;animation-name:zoomOut}@-webkit-keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutDown{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);transform:scale3d(.475,.475,.475) translate3d(0,-60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutDown{-webkit-animation-name:zoomOutDown;animation-name:zoomOutDown;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}@keyframes zoomOutLeft{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(42px,0,0);transform:scale3d(.475,.475,.475) translate3d(42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(-2000px,0,0);transform:scale(.1) translate3d(-2000px,0,0)}}.animate__zoomOutLeft{-webkit-animation-name:zoomOutLeft;animation-name:zoomOutLeft;-webkit-transform-origin:left center;transform-origin:left center}@-webkit-keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}@keyframes zoomOutRight{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(-42px,0,0);transform:scale3d(.475,.475,.475) translate3d(-42px,0,0)}to{opacity:0;-webkit-transform:scale(.1) translate3d(2000px,0,0);transform:scale(.1) translate3d(2000px,0,0)}}.animate__zoomOutRight{-webkit-animation-name:zoomOutRight;animation-name:zoomOutRight;-webkit-transform-origin:right center;transform-origin:right center}@-webkit-keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}@keyframes zoomOutUp{40%{opacity:1;-webkit-transform:scale3d(.475,.475,.475) translate3d(0,60px,0);transform:scale3d(.475,.475,.475) translate3d(0,60px,0);-webkit-animation-timing-function:cubic-bezier(.55,.055,.675,.19);animation-timing-function:cubic-bezier(.55,.055,.675,.19)}to{opacity:0;-webkit-transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);transform:scale3d(.1,.1,.1) translate3d(0,-2000px,0);-webkit-animation-timing-function:cubic-bezier(.175,.885,.32,1);animation-timing-function:cubic-bezier(.175,.885,.32,1)}}.animate__zoomOutUp{-webkit-animation-name:zoomOutUp;animation-name:zoomOutUp;-webkit-transform-origin:center bottom;transform-origin:center bottom}@-webkit-keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInDown{0%{-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInDown{-webkit-animation-name:slideInDown;animation-name:slideInDown}@-webkit-keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInLeft{0%{-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInLeft{-webkit-animation-name:slideInLeft;animation-name:slideInLeft}@-webkit-keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInRight{0%{-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInRight{-webkit-animation-name:slideInRight;animation-name:slideInRight}@-webkit-keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}@keyframes slideInUp{0%{-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);visibility:visible}to{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}}.animate__slideInUp{-webkit-animation-name:slideInUp;animation-name:slideInUp}@-webkit-keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}@keyframes slideOutDown{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0)}}.animate__slideOutDown{-webkit-animation-name:slideOutDown;animation-name:slideOutDown}@-webkit-keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}@keyframes slideOutLeft{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(-100%,0,0);transform:translate3d(-100%,0,0)}}.animate__slideOutLeft{-webkit-animation-name:slideOutLeft;animation-name:slideOutLeft}@-webkit-keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}@keyframes slideOutRight{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(100%,0,0);transform:translate3d(100%,0,0)}}.animate__slideOutRight{-webkit-animation-name:slideOutRight;animation-name:slideOutRight}@-webkit-keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}@keyframes slideOutUp{0%{-webkit-transform:translate3d(0,0,0);transform:translateZ(0)}to{visibility:hidden;-webkit-transform:translate3d(0,-100%,0);transform:translate3d(0,-100%,0)}}.animate__slideOutUp{-webkit-animation-name:slideOutUp;animation-name:slideOutUp}@-webkit-keyframes rotate360{0%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}50%{-webkit-transform:rotate3d(0,0,1,180deg);transform:rotate3d(0,0,1,180deg)}to{-webkit-transform:rotate3d(0,0,1,360deg);transform:rotate3d(0,0,1,360deg)}}@keyframes rotate360{0%{-webkit-transform:rotate3d(0,0,1,0deg);transform:rotate3d(0,0,1,0)}50%{-webkit-transform:rotate3d(0,0,1,180deg);transform:rotate3d(0,0,1,180deg)}to{-webkit-transform:rotate3d(0,0,1,360deg);transform:rotate3d(0,0,1,360deg)}}.animate__rotate360{-webkit-animation-name:rotate360;animation-name:rotate360;animation-timing-function:linear;-webkit-transform-origin:center;transform-origin:center}.mt-dzr-resize[data-v-ea13326c]{position:absolute}.mt-dzr-resize-point[data-v-ea13326c]{position:absolute;background:#fff;border:1px solid #59c7f9;width:8px;height:8px;margin-left:-4px;margin-top:-4px;border-radius:50%;z-index:1}.mt-dzr-rotate[data-v-c2cb7cf8]{position:absolute;cursor:grab;left:50%;top:0;transform:translate(-50%,-160%);width:16px;height:16px;font-size:20px}.dzr[data-v-a8334372]{position:absolute;-webkit-user-select:none;user-select:none}.dzr-active[data-v-a8334372]{outline:1px solid #06b7ff}.icon-selected[data-v-067c540e]{background-color:#ecf5ff;color:#409eff}#mt-left-aside .el-collapse-item__header,#mt-left-aside .el-collapse-item__wrap{background-color:transparent!important}.mt-group[data-v-d359f9ac]{left:var(--cebe1efc);top:var(--v233fe8b0);width:var(--v37317152);height:var(--v39c959e2)}.cursor-remove[data-v-d5d8fc1c]{cursor:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxZW0iIGhlaWdodD0iMWVtIiB2aWV3Qm94PSIwIDAgMjQgMjQiPgoJPGcgZmlsbD0ibm9uZSIgc3Ryb2tlPSJjdXJyZW50Q29sb3IiIHN0cm9rZS1kYXNoYXJyYXk9IjIyIiBzdHJva2UtZGFzaG9mZnNldD0iMjIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIyIj4KCQk8cGF0aCBkPSJNMTkgNUw1IDE5Ij48YW5pbWF0ZSBmaWxsPSJmcmVlemUiIGF0dHJpYnV0ZU5hbWU9InN0cm9rZS1kYXNob2Zmc2V0IiBiZWdpbj0iMC4zcyIgZHVyPSIwLjNzIiB2YWx1ZXM9IjIyOzAiLz48L3BhdGg+CgkJPHBhdGggZD0iTTUgNUwxOSAxOSI+PGFuaW1hdGUgZmlsbD0iZnJlZXplIiBhdHRyaWJ1dGVOYW1lPSJzdHJva2UtZGFzaG9mZnNldCIgZHVyPSIwLjNzIiB2YWx1ZXM9IjIyOzAiLz48L3BhdGg+Cgk8L2c+Cjwvc3ZnPg==),auto}.text-vertical[data-v-cef6b2df]{writing-mode:tb;letter-spacing:5px}.custom-card .el-card.is-always-shadow,.custom-card .el-card.is-hover-shadow:hover{box-shadow:var(--v138f13ac)!important}.kvTable{border:var(--v7f505933)}.kvKeyValue{font-size:var(--v52fbad19);font-family:var(--v4f5c51c4);color:var(--v2cd2a6f8)}.kvKey{width:var(--v1e69a24a);border-right-width:var(--v09d9875d);border-right-style:solid;border-right-color:var(--v27cd9bac)!important}.kvValue{width:var(--v9ea2ce04)}.grid-rect[data-v-e248ab51]{width:100%;height:100%;border-right:1px solid var(--border-color);border-bottom:1px solid var(--border-color)}.mt-selected-area[data-v-3704de4f]{width:var(--v0480acc6);height:var(--v533d0e32);top:var(--v4ea033d2);left:var(--v23204a47);border:1px solid #00699a;background-color:#59c7f9;opacity:.3;position:absolute}.contextMenu[data-v-e515623d]{position:fixed;z-index:99999;background:#ffffff;padding:5px 0;margin:0;display:block;border-radius:5px;box-shadow:2px 5px 10px #0000004d;left:var(--d490becc);top:var(--v3f7af964)}.contextMenu li[data-v-e515623d]{list-style:none;padding:0;margin:0}.contextMenu .shortcut[data-v-e515623d]{width:115px;text-align:right;float:right}.contextMenu p[data-v-e515623d]{text-decoration:none;display:block;padding:0 15px 1px 20px;margin:0;user-select:none;-webkit-user-select:none}.contextMenu p[data-v-e515623d]:hover{background-color:#0cf;color:#fff;cursor:default}.contextMenu .disabled[data-v-e515623d]{color:#999}.contextMenu .disabled[data-v-e515623d]:hover{color:#999;background-color:transparent}.contextMenu li.separator[data-v-e515623d]{border-top:solid 1px #e3e3e3;padding-top:5px;margin-top:5px}.canvasArea[data-v-306a5bcf]{position:relative;transform:var(--v6726e123);transform-origin:var(--v3a549801);width:var(--v472b6e47);height:var(--v2de230f4);background-color:var(--f6f0217a);background-image:var(--v621cd3aa);left:var(--v2405e576);top:var(--v55de3a24)}#guide-x[data-v-306a5bcf]{display:var(--v63143886);position:absolute;width:100%;left:0;top:var(--v50b2342c);border-top:1px dashed #59c7f9}#guide-y[data-v-306a5bcf]{display:var(--v5f15c765);position:absolute;height:100%;left:var(--v15788b3f);top:0;border-left:1px dashed #59c7f9}.adsorb-point[data-v-306a5bcf]{position:absolute;background:#fff;border:1px solid #59c7f9;width:8px;height:8px;margin-left:-4px;margin-top:-4px;border-radius:50%;z-index:1}.adsorb-point[data-v-306a5bcf]:hover{background:#59c7f9}.custom-dialog[data-v-afca666c]{border:2px solid #ffffff;border-radius:8px;box-shadow:0 4px 12px #0000001a;height:620px}.custom-dialog .el-dialog__header[data-v-afca666c]{background-color:#f5f7fa;border-bottom:1px solid #e4e7ed;padding:15px 20px}.custom-dialog .el-dialog__body[data-v-afca666c]{padding:20px}.elDialog[data-v-b6eb4910]{padding:0;margin:0}.demo-form-inline[data-v-b6eb4910]{padding:15px 0}.demo-form-inline .el-input[data-v-b6eb4910]{--el-input-width: 150px}.demo-form-inline .el-select[data-v-b6eb4910]{--el-select-width: 150px}.animate[data-v-265139c8]{cursor:pointer}.animate>div[data-v-265139c8]{width:80px;height:60px;background:#f5f8fb;display:flex;align-items:center;justify-content:center;margin:0 12px 10px;font-size:12px;color:#333;border-radius:3px;-webkit-user-select:none;user-select:none;cursor:pointer}#mt-right-aside .el-collapse-item__header,#mt-right-aside .el-collapse-item__wrap{background-color:transparent!important}.demo-pagination-block[data-v-593f0dd0]{margin-top:20px}.prefix[data-v-593f0dd0]{color:var(--el-color-primary);margin-right:10px}.prefix.is-leaf[data-v-593f0dd0]{color:var(--el-color-success)}.mt-edit-aside[data-v-593f0dd0]{transition:width .3s}.vertical-radio-group[data-v-593f0dd0]{display:flex;flex-direction:column;gap:5px;align-items:flex-start}.mt-preview[data-v-464d64c1]{display:flex;flex-direction:column;overflow:hidden}.canvasArea[data-v-464d64c1]{position:relative;transform:var(--bd32cc0c);transform-origin:left top;width:var(--v2fe7abe4);height:var(--v17da5d89);background-color:var(--v27bf1846);background-image:var(--v87ebe69c)}.el-menu--collapse .el-submenu__title span[data-v-e2fcc64d],.el-menu--collapse .el-submenu__title .el-submenu__icon-arrow[data-v-e2fcc64d]{display:none}.toggle-button[data-v-65c426ec]{background-color:var(--base-container-flex-color);font-size:20px;color:#79bbff;text-align:center;letter-spacing:.2em;cursor:pointer;width:100%}.common-layout[data-v-65c426ec],.common-layout .el-container[data-v-65c426ec]{width:100%;height:100vh}.common-layout .el-container .el-header[data-v-65c426ec]{width:100%;height:8vh;border-bottom:2px solid #e0e0e0;display:flex;align-items:center;justify-content:center}.common-layout .el-container .el-header h2[data-v-65c426ec]{margin:0;padding:0;text-align:center}.common-layout .el-container .el-aside[data-v-65c426ec]{width:20%;height:100%;border-right:2px solid var(--base-container-frame-color)}.common-layout .el-container .el-aside .el-scrollbar[data-v-65c426ec]{height:89vh}.common-layout .el-container .el-main[data-v-65c426ec]{margin:0;padding:0;width:100%;height:94vh;flex:1;min-height:0;background:#e9e9eb}.common-layout .el-container .el-main .el-main-core[data-v-65c426ec]{margin-top:.5%;margin-left:.5%;background:#ffffff}.common-layout .el-container .el-footer[data-v-65c426ec]{width:100%;height:6vh;padding:0;display:flex}.common-layout .el-container .el-footer .footer-navigation[data-v-65c426ec]{width:100%;display:flex}.common-layout .el-container .el-footer .footer-navigation .nav-item[data-v-65c426ec]{margin:0;border-radius:var(--el-border-radius-base);flex:1;height:100%}.my-button[data-v-b19a711f]{color:var(--dbbe2a92);font-family:var(--v1d98508d)}.my-button[data-v-305961da]{background-color:var(--be8de75e);font-family:var(--v2b3d1580)}.slider-demo-block[data-v-2a7a3518]{max-width:300px;display:flex;align-items:center}.slider-demo-block .el-slider[data-v-2a7a3518]{margin-top:0;margin-left:12px}.slider-demo-block .demonstration[data-v-2a7a3518]{font-size:14px;color:var(--el-text-color-secondary);line-height:35px;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin-bottom:0}.slider-demo-block .demonstration+.el-slider[data-v-2a7a3518]{flex:0 0 70%}[data-v-2a7a3518] .el-slider__button{width:14px!important;height:14px!important;border-radius:50%}[data-v-2a7a3518] .el-slider__button-wrapper:hover .el-slider__button{width:20px!important;height:20px!important}.compact-table-container-wrapper[data-v-f850a34d]{width:100%;height:100%;overflow-y:auto}.compact-table-container[data-v-f850a34d]{width:100%;height:100%;overflow-y:auto;fit:true;transition:transform .3s ease}.compact-table[data-v-f850a34d]{width:100%;height:100%;max-width:100%;max-height:100%}[data-v-f850a34d] .el-table{background-color:#40beff}[data-v-f850a34d] .el-table th.el-table__cell{background-color:#21264e;color:#fff;font-weight:700}[data-v-f850a34d] .el-table th.el-table__cell{border:1px solid #151a3d}[data-v-f850a34d] .el-table .el-table__body-wrapper tr.el-table__row:nth-child(odd){background-color:#40beff;color:var(--v5623380e);font-family:var(--v4c40a3d4)}[data-v-f850a34d] .el-table .el-table__body-wrapper tr.el-table__row:nth-child(2n){background-color:#2e349e;color:var(--v5623380e);font-family:var(--v4c40a3d4)}[data-v-f850a34d] .el-table .el-table__body tr:hover>td{background-color:#151a3db3}[data-v-f850a34d] .el-table .el-table__body tr.current-row>td{background-color:#151a3d;color:#fff}[data-v-f850a34d] .el-table td.el-table__cell{border:1px solid #151a3d}.compact-table-container .el-table[data-v-f850a34d]{font-size:var(--af771d1a)}.compact-table-container .el-table .el-table__cell[data-v-f850a34d]{padding:2px 0}.compact-table-container .el-table th.el-table__cell>.cell[data-v-f850a34d]{padding:0 2px}.compact-table-container .el-table td.el-table__cell>.cell[data-v-f850a34d]{padding:2px}.compact-button-container[data-v-e4bb72f7]{max-width:450px}.compact-table-container[data-v-e4bb72f7]{width:100%;height:100%;overflow-y:auto;transition:transform .3s ease}.compact-table-container .el-table[data-v-e4bb72f7]{font-size:var(--a56ac982)}.compact-table-container .el-table .el-table__cell[data-v-e4bb72f7]{padding:2px 0}.compact-table-container .el-table th.el-table__cell>.cell[data-v-e4bb72f7]{padding:0 2px}.compact-table-container .el-table td.el-table__cell>.cell[data-v-e4bb72f7]{padding:2px}[data-v-e4bb72f7] .el-table{background-color:#40beff}[data-v-e4bb72f7] .el-table th.el-table__cell{background-color:#21264e;color:#fff;font-weight:700}[data-v-e4bb72f7] .el-table th.el-table__cell{border:1px solid #151a3d}[data-v-e4bb72f7] .el-table .el-table__body-wrapper tr.el-table__row:nth-child(odd){background-color:#40beff;color:var(--v0345aa7c);font-family:var(--v38e411e2)}[data-v-e4bb72f7] .el-table .el-table__body-wrapper tr.el-table__row:nth-child(2n){background-color:#2e349e;color:var(--v0345aa7c);font-family:var(--v38e411e2)}[data-v-e4bb72f7] .el-table .el-table__body tr:hover>td{background-color:#151a3db3}[data-v-e4bb72f7] .el-table .el-table__body tr.current-row>td{background-color:#151a3d;color:#fff}[data-v-e4bb72f7] .el-table td.el-table__cell{border:1px solid #151a3d}.main-img[data-v-64175df9]{width:100%;height:100%}.no-img[data-v-64175df9]{display:flex;justify-content:center;align-items:center;width:100%;height:100%}.no-img-icon[data-v-64175df9]{width:100%;height:100%;color:#409efc}.img-container[data-v-64175df9],.display-img[data-v-64175df9]{width:100%;height:100%}.blue-circle[data-v-70b8fe40]{width:12px;height:12px;border-radius:50%;background-color:#409eff;display:inline-block;margin-left:5px;vertical-align:middle}.blueBordered[data-v-70b8fe40]{background-color:#d9ecff;border:2px solid rgb(160,207,255)}.redBordered[data-v-70b8fe40]{background-color:#fde2e2;border:2px solid rgb(250,182,182)}.greenBordered[data-v-70b8fe40]{background-color:#e1f3d8;border:2px solid rgb(179,225,157)}[data-v-70b8fe40] .el-card__body{padding:10px 0 0 10px}[data-v-70b8fe40] .adTextDetailDialogClass .el-dialog__body{max-height:calc(100vh - 150px);overflow:auto;border-top:1px solid #dfdfdf;border-bottom:1px solid #dfdfdf}[data-v-70b8fe40] .adTextDetailDialogClass .el-dialog{position:fixed;height:20vh!important;background:#000;left:0!important;right:0!important;top:0!important;bottom:0!important;margin:auto!important}.el-row .el-col[data-v-70b8fe40]{margin-bottom:10px}P[data-v-70b8fe40]{margin:2px 0;padding:0 15%;transition:background-color .3s ease}P[data-v-70b8fe40]:hover{background-color:#f0f0f0}.card[data-v-70b8fe40]{margin:0;padding:0;width:100%;height:100%;color:var(--e405c75a);font-family:var(--c57b5b1e);font-size:var(--v49457b4e)}.cardHead[data-v-70b8fe40]{margin:0;padding:0 0 5px;text-align:center}.cardBody[data-v-70b8fe40]{width:100%;margin:0 0%;padding:0 0%}[data-v-66cdf737] .el-card__body{margin:0;padding:0}[data-v-66cdf737] .el-card__header{margin:0;padding:10px 0}P[data-v-66cdf737]{margin:3px 0;padding:2px;transition:background-color .3s ease}P[data-v-66cdf737]:hover{background-color:#f0f0f0}.card[data-v-66cdf737]{margin:0;padding:0;height:100%;width:100;color:var(--v61177bb2);font-family:var(--eaa031c6);font-size:var(--v53b045fa)}.cardHead[data-v-66cdf737]{margin:0;padding:0;text-align:center}.cardBody[data-v-66cdf737]{margin:0;padding:0 0 15px}.iconStyle[data-v-0b8b6720]{marginright:4px}.el-descriptions[data-v-0b8b6720]{margin-top:20px}.cell-item[data-v-0b8b6720]{display:flex;align-items:center}.tag-info[data-v-0b8b6720]{align-items:center}.margin-top[data-v-0b8b6720]{margin-top:20px}.ellipsis-tag[data-v-27472338]{width:65px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;align-items:center}.flex-center[data-v-27472338]{display:flex;flex-direction:column;justify-content:center;align-items:center}.iconStyle[data-v-27472338]{size:30;transition:opacity .5s ease-in-out}.blink-animation[data-v-27472338]{animation:smooth-blink-27472338 1s infinite ease-in-out}@keyframes smooth-blink-27472338{0%,to{opacity:1}30%{opacity:.3}}.el-statistic[data-v-27472338]{--el-statistic-content-font-size: 16px}.elColInfo[data-v-27472338]{text-align:center}.el-statistic[data-v-26d71982]{--el-statistic-content-font-size: 16px}.elColInfo[data-v-26d71982]{text-align:center}.ellipsis-tag[data-v-f5a80d66]{width:65px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:inline-block;align-items:center}.flex-center[data-v-f5a80d66]{display:flex;flex-direction:column;justify-content:center;align-items:center}.el-statistic[data-v-f5a80d66]{--el-statistic-content-font-size: 16px}.elColInfo[data-v-f5a80d66]{text-align:center}[data-v-f5a80d66] .el-progress__text{font-size:16px!important}.demo-progress .el-progress--line[data-v-f5a80d66]{margin-bottom:15px;max-width:500px}.demo-progress .el-progress--circle[data-v-f5a80d66]{margin-right:15px}.fontStyle[data-v-f5a80d66]{color:#337ecc}h3[data-v-f5a80d66]{margin:0;padding:0;text-align:center}.demo-radius .radius[data-v-f5a80d66]{height:28px;min-width:66px;width:fit-content;border:2px solid rgba(51,125,204,.205);border-radius:0;padding:0 8px;box-sizing:border-box}.iconStyle[data-v-f4fa7193]{size:30;color:#409eff}.el-statistic[data-v-f4fa7193]{--el-statistic-content-font-size: 16px}.elColInfo[data-v-f4fa7193]{text-align:center}.progress-container[data-v-f4fa7193]{width:120px;margin-top:5px;margin-bottom:25px}.input-button-row[data-v-f4fa7193]{width:300px;display:flex;gap:35px;align-items:center}.custom-input-number[data-v-f4fa7193]{width:140px}.el-table .danger-row{color:#c45656!important}.el-table .warning-row{color:#b88230!important}.container[data-v-72cea5bb]{position:relative;width:100%;height:100%;overflow:hidden}#plane[data-v-72cea5bb]{position:absolute;top:0;left:0;background-color:#00000080;color:#b1acac;padding:0 18px;transform:translate(12px,-100%);display:block;z-index:9999}.container[data-v-969268fd]{width:100%;height:100%}[data-v-0f6e4aac] .el-card__body{padding-top:5px!important;padding-bottom:0!important}.cardInfo[data-v-0f6e4aac]{margin:0;padding:0;width:100%;height:100%;font-family:var(--ba69330a);font-size:var(--v7cbe2458)}.card[data-v-0f6e4aac]{margin:0;padding:0;width:100%;height:100%}.cardHead[data-v-0f6e4aac]{margin:0;padding-bottom:5px;text-align:center}.grid-content[data-v-0f6e4aac]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.row-spacing[data-v-e2138675]{margin-bottom:10px}.full-width-col[data-v-e2138675]{display:flex;justify-content:center;align-items:center}.full-width-tag[data-v-e2138675]{width:100%;text-align:center;display:flex;justify-content:center;align-items:center;font-size:var(--d1c97962)}.blinking-tag[data-v-e2138675]{animation:blink-e2138675 1s infinite}@keyframes blink-e2138675{0%,to{opacity:1}50%{opacity:.3}}.card[data-v-e2138675]{margin:0;padding:0;width:100%;height:100%;color:var(--v4ef2c8b2);font-family:var(--v09fb9c1c);font-size:var(--v2ecafa31)}.cardHead[data-v-e2138675]{margin:0;padding:0 0 5px;text-align:center;font-size:var(--v2ecaf2b0)}.cardBody[data-v-e2138675]{width:100%;margin:0 0%;padding:0 0%}.blue-circle[data-v-23c5c9c6]{width:12px;height:12px;border-radius:50%;background-color:#409eff;display:inline-block;margin-left:5px;vertical-align:middle}.blueBordered[data-v-23c5c9c6]{background-color:#d9ecff;border:2px solid rgb(160,207,255)}.redBordered[data-v-23c5c9c6]{background-color:#fde2e2;border:2px solid rgb(250,182,182)}.greenBordered[data-v-23c5c9c6]{background-color:#e1f3d8;border:2px solid rgb(179,225,157)}[data-v-23c5c9c6] .el-card__body{padding:10px 0 0 10px}[data-v-23c5c9c6] .adTextDetailDialogClass .el-dialog__body{max-height:calc(100vh - 150px);overflow:auto;border-top:1px solid #dfdfdf;border-bottom:1px solid #dfdfdf}[data-v-23c5c9c6] .adTextDetailDialogClass .el-dialog{position:fixed;height:20vh!important;background:#000;left:0!important;right:0!important;top:0!important;bottom:0!important;margin:auto!important}.el-row .el-col[data-v-23c5c9c6]{margin-bottom:6px}P[data-v-23c5c9c6]:hover{background-color:#f0f0f0}.card[data-v-23c5c9c6]{margin:0;padding:0;width:100%;height:100%;color:var(--v2a5a99be);font-family:var(--v49c0d53a);font-size:var(--v11e3f180)}.cardHead[data-v-23c5c9c6]{margin:0;padding:0 0 5px;text-align:center}.cardBody[data-v-23c5c9c6]{width:100%;margin:0 0%;padding:0 0%}.centered-col .el-table[data-v-104bc5cc]{font-size:var(--v431b09c3)}.centered-col[data-v-104bc5cc]{display:flex;justify-content:center;align-items:center}.operation-btn[data-v-424993ed]{width:70px;min-width:70px;padding:8px 12px}.main-container[data-v-cc09b8dd]{height:100%;width:100%;margin:0;padding:0}.container[data-v-cc09b8dd]{width:100%;height:100%;position:relative}.info-col[data-v-cc09b8dd]{height:100%;overflow:hidden}.card[data-v-cc09b8dd]{height:100%;display:flex;flex-direction:column;margin:0;padding:0}.card[data-v-cc09b8dd] .el-card__body{flex:1;overflow-y:auto;padding:10px}.cardHead[data-v-cc09b8dd]{margin:0 0 15px;padding:0;font-size:16px;font-weight:700;text-align:center;color:#fff}.cardBody[data-v-cc09b8dd]{font-size:12px}.info-row[data-v-cc09b8dd]{margin-bottom:8px;display:flex;align-items:center}.info-row[data-v-cc09b8dd] .el-col{display:flex;align-items:center}.info-row[data-v-cc09b8dd] .el-tag{justify-content:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;display:flex;align-items:center;height:100%}.ellipsis-tag[data-v-cc09b8dd]{width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;align-items:center;height:100%}.condition-tag[data-v-cc09b8dd]{display:flex;align-items:center;justify-content:flex-start}.scene-wrapper[data-v-bb297a8b]{position:relative;width:100%;height:100%}.container[data-v-bb297a8b]{width:100%;height:100%;position:relative}.control-buttons[data-v-bb297a8b]{position:absolute;top:25%;left:2%;display:flex;flex-direction:column;gap:20px;z-index:100;align-items:flex-start}.control-buttons[data-v-bb297a8b] .el-button{width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;display:flex!important;align-items:center!important;margin:0!important;box-sizing:border-box!important}.control-btn[data-v-bb297a8b]{padding:8px 16px;background:rgba(0,0,0,.7);color:#fff;border:1px solid #4fc3f7;border-radius:4px;cursor:pointer;font-size:14px;transition:all .3s ease;min-width:80px}[data-v-c958c45e] .el-card__body{padding-top:5px!important;padding-bottom:0!important}.cardInfo[data-v-c958c45e]{margin:0;padding:0;width:100%;height:100%;font-family:var(--v46fe1561);font-size:var(--v31b8363e)}.card[data-v-c958c45e]{margin:0;padding:0;width:100%;height:100%}.cardHead[data-v-c958c45e]{margin:0;padding-top:10px;padding-bottom:15px;text-align:center}.grid-content[data-v-c958c45e]{display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.scene-wrapper[data-v-668e441c]{position:relative;width:100%;height:100%}.container[data-v-668e441c]{width:100%;height:100%;position:relative}.control-buttons[data-v-668e441c]{position:absolute;top:25%;left:2%;display:flex;flex-direction:column;gap:20px;z-index:100;align-items:flex-start}.control-buttons[data-v-668e441c] .el-button{width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;display:flex!important;align-items:center!important;margin:0!important;box-sizing:border-box!important}.control-btn[data-v-668e441c]{padding:8px 16px;background:rgba(0,0,0,.7);color:#fff;border:1px solid #4fc3f7;border-radius:4px;cursor:pointer;font-size:14px;transition:all .3s ease;min-width:80px}.scene-wrapper[data-v-7dbcf4e4]{position:relative;width:100%;height:100%}.container[data-v-7dbcf4e4]{width:100%;height:100%;position:relative}.control-panel[data-v-7dbcf4e4]{position:absolute;top:50%;right:2%;transform:translateY(-50%);display:flex;flex-direction:column;gap:20px;z-index:101;align-items:flex-end;background:rgba(0,0,0,.7);width:25%;height:100%}.control-buttons[data-v-7dbcf4e4]{position:absolute;top:50%;left:2%;transform:translateY(-50%);display:flex;flex-direction:column;gap:20px;z-index:100;align-items:flex-start}.control-buttons[data-v-7dbcf4e4] .el-button{width:40px!important;height:40px!important;min-width:40px!important;padding:0!important;display:flex!important;align-items:center!important;margin:0!important;box-sizing:border-box!important}.control-btn[data-v-7dbcf4e4]{padding:8px 16px;background:rgba(0,0,0,.7);color:#fff;border:1px solid #4fc3f7;border-radius:4px;cursor:pointer;font-size:14px;transition:all .3s ease;min-width:80px}.card[data-v-7dbcf4e4]{width:100%;display:flex;flex-direction:column;margin:0;padding:0;background-color:#0000004d!important;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:none;box-shadow:0 2px 12px #ff00001a}.card[data-v-7dbcf4e4] .el-card__body{flex:1;overflow-y:auto;padding:10px}.cardHead[data-v-7dbcf4e4]{margin:0 0 15px;padding:0;font-size:16px;font-weight:700;text-align:center;color:#fff}.cardBody[data-v-7dbcf4e4]{font-size:12px;width:100%}.info-row[data-v-7dbcf4e4]{margin-bottom:5px;display:flex;align-items:center;width:100%}.full-width-component[data-v-7dbcf4e4]{width:100%!important;max-width:100%!important}.equipment-container[data-v-7dbcf4e4]{width:100%;height:auto}.equipment-row[data-v-7dbcf4e4]{width:100%;margin-top:10px}.equipment-wrapper[data-v-7dbcf4e4]{width:100%;padding:0 10px}.equipment-component[data-v-7dbcf4e4]{width:100%!important;display:block!important;box-sizing:border-box}.info-row[data-v-7dbcf4e4],.equipment-row[data-v-7dbcf4e4]{max-width:100%;box-sizing:border-box}.cardBody[data-v-7dbcf4e4]{padding:10px}.cardBody .el-row[data-v-7dbcf4e4]{width:100%;margin-bottom:8px}body{margin:0;padding:0}.my-button[data-v-fa696b76]{background-color:var(--v902168fe);font-family:var(--v5d004850)}.chart[data-v-31064b5b]{height:100%;width:100%}html.dark{--w-e-toolbar-color: #eeeeee !important;--w-e-toolbar-bg-color: #151a3d !important;--w-e-textarea-bg-color: #151a3d !important;--w-e-textarea-color: #eeeeee !important;--w-e-toolbar-active-bg-color: #464646 !important;--el-bg-color: #1b2127 !important;--w-e-toolbar-border-color: var(--el-border-color-darker);--base-container-frame-color: #000000;--base-container-flex-color: #050d16}html.dark .el-button{--el-button-bg-color: #1b2127}html.dark .el-menu{background-color:#1b2127}html.dark .el-scrollbar,html.dark .el-aside{background-color:#232d37}html.dark .el-input{border-radius:4px;background-color:#1a3c5acc;outline:none;background-clip:padding-box;transition:box-shadow .3s ease,border .3s ease;--el-input-border-color: #075497 !important}html.dark .el-select{border-radius:4px;background-color:#1a3c5acc;outline:none;background-clip:padding-box;transition:box-shadow .3s ease,border .3s ease}html.dark .el-select__wrapper{box-shadow:0 0 0 1px #075497 inset!important}html.dark .el-date-editor{border-radius:4px;background-color:#1a3c5acc;outline:none;background-clip:padding-box;transition:box-shadow .3s ease,border .3s ease;box-shadow:0 0 0 1px #075497 inset!important}html.dark .el-date-range-picker,html.dark .el-picker-panel__footer{background-color:#1a3c5acc}html.dark .el-date-table td.in-range .el-date-table-cell{background-color:#16528ccc}html.dark .el-time-panel__footer,html.dark .el-time-panel{background-color:#16528c}html.dark .ant-picker{border:1px solid #075497;border-radius:4px;background-color:#1a3c5acc;outline:none;background-clip:padding-box;transition:box-shadow .3s ease,border .3s ease}html.dark .ant-picker ::placeholder{color:#6c6c6c}html.dark .ant-picker-panel-container{background-color:#16528c}html.dark .anticon{color:gray}html.dark .ant-picker-input>input{color:#fff}html.dark .ant-picker-clear,html.dark .el-picker-panel.el-date-picker,html.dark .el-picker-panel.el-date-picker .el-picker-panel__body,html.dark .el-picker-panel.el-date-picker .el-picker-panel__body-wrapper{background-color:#1a3c5acc}html.dark .el-picker-panel.el-date-picker{color:#fff}html.dark .el-textarea__inner{border:1px solid #075497;border-radius:4px;background-color:#1a3c5acc;outline:none!important;background-clip:padding-box;transition:box-shadow .3s ease,border .3s ease;box-shadow:none}html.dark .ant-input{border:1px solid #075497;border-radius:4px;background-color:#1a3c5acc;outline:none!important;background-clip:padding-box;transition:box-shadow .3s ease,border .3s ease;box-shadow:none;color:#e1e1e1}html.dark .el-select-dropdown{background-color:#1a3c5acc}html.dark .el-select-dropdown__item:hover{background-color:#075497}html.dark .el-table th{color:#e7e7e7!important}html.dark .el-table{--el-table-border-color: #0f3c63 !important;--el-table-border: 2px solid #0f3c63 !important;--el-fill-color-light: #224668;--el-table-header-bg-color: #2c2c2c !important;--el-table-current-row-bg-color: #1d3f70}html.dark .el-descriptions__label.el-descriptions__cell.is-bordered-label{background:#224668!important}html.dark .el-dialog.custom-dialog{border:3px solid #101938;border-radius:8px;box-shadow:0 10px 22px #534ab11a;height:620px}html.dark .el-dialog__header{background-color:#0c121be6;color:#fff;font-size:20px;font-weight:700;display:flex;justify-content:center;align-items:center;position:relative;border-radius:8px;border:1px solid rgba(204,204,204,0);padding:1vh!important;border-bottom:none!important;margin-bottom:1vh!important}html.dark .el-dialog__headerbtn{position:absolute;right:10px;top:50%;transform:translateY(-50%)}html.dark .el-dialog__close{font-size:16px;color:#fff}html.dark .w-e-bar-item button:hover,html.dark .w-e-menu-tooltip-v5:before{color:#eee}html.dark .login-container{background-color:#1a2a3a!important}html.dark .login-container .login-box{background-color:#000c!important}html.dark .login-container .login-box .login-form{box-shadow:#ffffff1f 0 2px 10px 2px!important}html.dark .login-container .login-box .login-form .logo-text{color:var(--el-text-color-primary)!important}html.dark{color-scheme:dark;--el-color-primary:#409eff;--el-color-primary-light-3:rgb(51,117,185);--el-color-primary-light-5:rgb(42,89,138);--el-color-primary-light-7:rgb(33,61,91);--el-color-primary-light-8:rgb(29,48,67);--el-color-primary-light-9:rgb(24,34,43);--el-color-primary-dark-2:rgb(102,177,255);--el-color-success:#67c23a;--el-color-success-light-3:rgb(78,142,47);--el-color-success-light-5:rgb(62,107,39);--el-color-success-light-7:rgb(45,72,31);--el-color-success-light-8:rgb(37,55,28);--el-color-success-light-9:rgb(28,37,24);--el-color-success-dark-2:rgb(133,206,97);--el-color-warning:#e6a23c;--el-color-warning-light-3:rgb(167,119,48);--el-color-warning-light-5:rgb(125,91,40);--el-color-warning-light-7:rgb(83,63,32);--el-color-warning-light-8:rgb(62,48,28);--el-color-warning-light-9:rgb(41,34,24);--el-color-warning-dark-2:rgb(235,181,99);--el-color-danger:#f56c6c;--el-color-danger-light-3:rgb(178,82,82);--el-color-danger-light-5:rgb(133,64,64);--el-color-danger-light-7:rgb(88,46,46);--el-color-danger-light-8:rgb(65,38,38);--el-color-danger-light-9:rgb(42,29,29);--el-color-danger-dark-2:rgb(247,137,137);--el-color-error:#f56c6c;--el-color-error-light-3:rgb(178,82,82);--el-color-error-light-5:rgb(133,64,64);--el-color-error-light-7:rgb(88,46,46);--el-color-error-light-8:rgb(65,38,38);--el-color-error-light-9:rgb(42,29,29);--el-color-error-dark-2:rgb(247,137,137);--el-color-info:#909399;--el-color-info-light-3:rgb(107,109,113);--el-color-info-light-5:rgb(82,84,87);--el-color-info-light-7:rgb(57,58,60);--el-color-info-light-8:rgb(45,45,47);--el-color-info-light-9:rgb(32,33,33);--el-color-info-dark-2:rgb(166,169,173);--el-box-shadow:0px 12px 32px 4px rgba(0,0,0,.36),0px 8px 20px rgba(0,0,0,.72);--el-box-shadow-light:0px 0px 12px rgba(0,0,0,.72);--el-box-shadow-lighter:0px 0px 6px rgba(0,0,0,.72);--el-box-shadow-dark:0px 16px 48px 16px rgba(0,0,0,.72),0px 12px 32px #000000,0px 8px 16px -8px #000000;--el-bg-color-page:#0a0a0a;--el-bg-color:#141414;--el-bg-color-overlay:#1d1e1f;--el-text-color-primary:#E5EAF3;--el-text-color-regular:#CFD3DC;--el-text-color-secondary:#A3A6AD;--el-text-color-placeholder:#8D9095;--el-text-color-disabled:#6C6E72;--el-border-color-darker:#636466;--el-border-color-dark:#58585B;--el-border-color:#4C4D4F;--el-border-color-light:#414243;--el-border-color-lighter:#363637;--el-border-color-extra-light:#2B2B2C;--el-fill-color-darker:#424243;--el-fill-color-dark:#39393A;--el-fill-color:#303030;--el-fill-color-light:#262727;--el-fill-color-lighter:#1D1D1D;--el-fill-color-extra-light:#191919;--el-fill-color-blank:#141414;--el-mask-color:rgba(0,0,0,.8);--el-mask-color-extra-light:rgba(0,0,0,.3)}html.dark .el-button{--el-button-disabled-text-color:rgba(255,255,255,.5)}html.dark .el-card{--el-card-bg-color:var(--el-bg-color-overlay);--el-fill-color-blank:var(--el-card-bg-color)}html.dark .el-empty{--el-empty-fill-color-0:var(--el-color-black);--el-empty-fill-color-1:#4b4b52;--el-empty-fill-color-2:#36383d;--el-empty-fill-color-3:#1e1e20;--el-empty-fill-color-4:#262629;--el-empty-fill-color-5:#202124;--el-empty-fill-color-6:#212224;--el-empty-fill-color-7:#1b1c1f;--el-empty-fill-color-8:#1c1d1f;--el-empty-fill-color-9:#18181a} diff --git a/webVue/assets/index-f45bda72.css b/webVue/assets/index-f45bda72.css deleted file mode 100644 index 2c89fdd..0000000 --- a/webVue/assets/index-f45bda72.css +++ /dev/null @@ -1 +0,0 @@ -.vertical-radio-group[data-v-28d8a977]{display:flex;flex-direction:column;gap:5px;align-items:flex-start} diff --git a/webVue/assets/index-fd059ba6.js b/webVue/assets/index-fd059ba6.js deleted file mode 100644 index c341efb..0000000 --- a/webVue/assets/index-fd059ba6.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as A,b0 as le,d as E,c as R,b1 as ee,b2 as pe,b3 as de,o as c,a as g,Q as F,F as O,A as N,P as B,g as G,U as ce,r as V,aU as oe,b as h,h as f,V as T,p as j,n as W,b4 as ue,W as q,aB as me,Z as H,b5 as ve,O as C,i as z,m as X,b6 as Q,aQ as Z,w as K,t as U,b7 as fe,$ as _e,q as ge,M as he,b8 as ye,ba as Je,bb as be,bc as ke,a1 as we,a3 as xe,Y as te}from"./index-9847718b.js";const Ce=A(le,[["__scopeId","data-v-a8334372"]]),Me=["src"],$e=E({__name:"index",props:{symbolId:{},symbolStr:{},width:{},height:{},props:{}},setup(m){const t=m;console.log("svg:",t);const e=R(()=>ee(pe(t.symbolId,t.symbolStr,t.width,t.height,de(t.props))));return(n,o)=>(c(),g("img",{class:"w-1/1 h-1/1",src:e.value},null,8,Me))}}),Se={class:"mt-group"},Ee=["id"],De=E({__name:"index",props:{itemJson:{},grid:{},canvasCfg:{},canvasDom:{}},setup(m){F(e=>({cebe1efc:t.itemJson.binfo.left+"px",v233fe8b0:t.itemJson.binfo.top+"px",v37317152:t.itemJson.binfo.width+"px",v39c959e2:t.itemJson.binfo.height+"px"}));const t=m;return(e,n)=>(c(),g("div",Se,[(c(!0),g(O,null,N(t.itemJson.children,o=>(c(),g("div",{class:"absolute",key:o.id,id:o.id,style:B({left:o.binfo.left+"%",top:o.binfo.top+"%",width:o.binfo.width+"%",height:o.binfo.height+"%",transform:`rotate(${o.binfo.angle}deg)`})},[G(ne,{"item-json":o,grid:t.grid,"canvas-cfg":t.canvasCfg,"canvas-dom":t.canvasDom,"lock-state":!1},null,8,["item-json","grid","canvas-cfg","canvas-dom"])],12,Ee))),128))]))}}),Ie=A(De,[["__scopeId","data-v-d359f9ac"]]),Le=["id"],ze=["fill"],Be=["id"],Ue=["fill"],Pe=["d","stroke","stroke-width","stroke-dasharray","marker-start","marker-end"],Re=["from","to","dur"],je=["d","stroke-width","marker-start","marker-end"],Ve=["d","stroke","stroke-width","stroke-dasharray"],Te=["from","to","dur"],Oe=["r","fill"],Ne=["path","dur"],Ae={key:2},Ye=["cx","cy","stroke","onMousedown","onTouchstartPassive"],Xe={key:3},Fe=["id","cx","cy","stroke","onMousedown","onTouchstartPassive"],Ge=E({__name:"index",props:{itemJson:{},canvasCfg:{},grid:{},canvasDom:{},doneJson:{},lockState:{type:Boolean},mode:{default:"normal"}},emits:["update:itemJson","setIntention","lineMouseUp"],setup(m,{emit:t}){const e=m,n=t,o=ce.lineRenderOffset;R(()=>!e.grid.align||!e.grid.enabled?1:e.grid.size);const r=V(),d=(i,v,y,k)=>{if(e.lockState)return;if(i.stopPropagation(),e.mode==="line-edit"&&y=="edit"&&v!==0&&v!==e.itemJson.props.point_position.val.length-1){const _=e.itemJson.props.point_position.val;_.splice(v,1),n("update:itemJson",{...e.itemJson,props:{...e.itemJson.props,point_position:{...e.itemJson.props.point_position,val:_}}});return}const{x,y:I}=k,L=i instanceof MouseEvent?i.clientX:i.touches[0].pageX,P=i instanceof MouseEvent?i.clientY:i.touches[0].pageY;let $=0,S=0,J=!0;const w=_=>{const s=_ instanceof MouseEvent?_.clientX:_.touches[0].pageX,u=_ instanceof MouseEvent?_.clientY:_.touches[0].pageY,l=i.ctrlKey?0:q((s-L)/e.canvasCfg.scale,1),D=i.shiftKey?0:q((u-P)/e.canvasCfg.scale,1);if($=x+l,S=I+D,y==="add")if(k.x=$,k.y=S,J){const a=e.itemJson.props.point_position.val;a.splice(v+1,0,{x:$,y:S}),n("update:itemJson",{...e.itemJson,props:{...e.itemJson.props,point_position:{...e.itemJson.props.point_position,val:a}}}),J=!1}else{const a=e.itemJson.props.point_position.val;a[v+1]={x:$,y:S},n("update:itemJson",{...e.itemJson,props:{...e.itemJson.props,point_position:{...e.itemJson.props.point_position,val:a}}})}if(y==="edit"){const a=e.itemJson.props.point_position.val;if(v===0){if(n("setIntention","adsorbStart"),e.mode==="line-edit"&&J){const b=e.itemJson.props.point_position.val;b.unshift({x:$,y:S}),n("update:itemJson",{...e.itemJson,props:{...e.itemJson.props,point_position:{...e.itemJson.props.point_position,val:b}}}),J=!1;return}}else if(v===a.length-1&&(n("setIntention","adsorbEnd"),e.mode==="line-edit"&&J)){const b=e.itemJson.props.point_position.val;b.push({x:$,y:S}),n("update:itemJson",{...e.itemJson,props:{...e.itemJson.props,point_position:{...e.itemJson.props.point_position,val:b}}}),v+=1,J=!1;return}a[v].x=$,a[v].y=S,n("update:itemJson",{...e.itemJson,props:{...e.itemJson.props,point_position:{...e.itemJson.props.point_position,val:a}}})}},M=()=>{document.removeEventListener("mousemove",w),document.removeEventListener("mouseup",M),document.removeEventListener("touchmove",w),document.removeEventListener("touchend",M);const _=document.querySelector(`#${e.itemJson.id} g .real`).getBoundingClientRect(),s=e.canvasDom.getBoundingClientRect(),u=((_==null?void 0:_.left)-(s==null?void 0:s.left))/e.canvasCfg.scale,l=((_==null?void 0:_.top)-(s==null?void 0:s.top))/e.canvasCfg.scale,D=u-e.itemJson.binfo.left,a=l-e.itemJson.binfo.top;n("setIntention","none"),n("update:itemJson",{...e.itemJson,binfo:{...e.itemJson.binfo,left:u,top:l,width:(_==null?void 0:_.width)/e.canvasCfg.scale,height:(_==null?void 0:_.height)/e.canvasCfg.scale},props:{...e.itemJson.props,point_position:{...e.itemJson.props.point_position,val:e.itemJson.props.point_position.val.map(b=>({x:b.x-D,y:b.y-a}))}}})};document.addEventListener("mousemove",w),document.addEventListener("mouseup",M),document.addEventListener("touchmove",w),document.addEventListener("touchend",M),n("lineMouseUp")},p=i=>{const v=[];return i.forEach((y,k)=>{if(k===i.length-1)return;const x=ue(y.x,y.y,i[k+1].x,i[k+1].y);v.push(x)}),v};return oe(()=>e.itemJson.props.point_position.val,i=>{r.value=p(i)},{immediate:!0,deep:!0}),(i,v)=>{var y,k,x,I,L,P,$,S;return c(),g("svg",{class:"mt-line-render",style:B({position:"absolute",left:`${-e.itemJson.binfo.left-f(o)}px`,top:`${-e.itemJson.binfo.top-f(o)}px`,width:`${e.canvasCfg.width+f(o)}px`,height:`${e.canvasCfg.height+f(o)}px`}),version:"1.1",xmlns:"http://www.w3.org/2000/svg","pointer-events":"none"},[h("g",null,[h("defs",null,[h("marker",{id:"markerArrowStart"+e.itemJson.id,viewBox:"0 0 10 10",refX:"8",refY:"5",markerWidth:"6",markerHeight:"6",orient:"auto-start-reverse"},[h("path",{d:"M 0 0 L 10 5 L 0 10 z",fill:e.itemJson.props.stroke.val},null,8,ze)],8,Le),h("marker",{id:"markerArrowEnd"+e.itemJson.id,viewBox:"0 0 10 10",refX:"8",refY:"5",markerWidth:"6",markerHeight:"6",orient:"auto"},[h("path",{d:"M 0 0 L 10 5 L 0 10 z",fill:e.itemJson.props.stroke.val},null,8,Ue)],8,Be)]),h("path",{d:f(T)(e.itemJson.props.point_position.val,e.itemJson.binfo.left+f(o),e.itemJson.binfo.top+f(o)),"pointer-events":"visibleStroke",fill:"none",stroke:e.itemJson.props.ani_type.val==="electricity"?e.itemJson.props.ani_color.val:e.itemJson.props.stroke.val,"stroke-width":e.itemJson.props["stroke-width"].val,style:{cursor:"move"},"stroke-dashoffset":"0","stroke-dasharray":e.itemJson.props.ani_type.val==="electricity"?e.itemJson.props["stroke-width"].val*3:0,"marker-start":(k=(y=e.itemJson.props)==null?void 0:y["marker-start"])!=null&&k.val?`url(#markerArrowStart${e.itemJson.id})`:"","marker-end":(I=(x=e.itemJson.props)==null?void 0:x["marker-end"])!=null&&I.val?`url(#markerArrowEnd${e.itemJson.id})`:"",class:"real"},[e.itemJson.props.ani_type.val==="electricity"?(c(),g("animate",{key:0,attributeName:"stroke-dashoffset",from:e.itemJson.props.ani_reverse.val?0:1e3,to:e.itemJson.props.ani_reverse.val?e.itemJson.props.ani_play.val?1e3:0:e.itemJson.props.ani_play.val?0:1e3,dur:`${e.itemJson.props.ani_dur.val<1?1:e.itemJson.props.ani_dur.val}s`,repeatCount:"indefinite"},null,8,Re)):j("",!0)],8,Pe),h("path",{d:f(T)(e.itemJson.props.point_position.val,e.itemJson.binfo.left+f(o),e.itemJson.binfo.top+f(o)),"pointer-events":"visibleStroke",fill:"none",stroke:"transparent","stroke-width":e.itemJson.props["stroke-width"].val,style:{cursor:"move"},"stroke-dashoffset":"0","marker-start":(P=(L=e.itemJson.props)==null?void 0:L["marker-start"])!=null&&P.val?`url(#markerArrowStart${e.itemJson.id})`:"","marker-end":(S=($=e.itemJson.props)==null?void 0:$["marker-end"])!=null&&S.val?`url(#markerArrowEnd${e.itemJson.id})`:""},null,8,je),e.itemJson.props.ani_type.val==="waterdrop"?(c(),g("path",{key:0,d:f(T)(e.itemJson.props.point_position.val,e.itemJson.binfo.left+f(o),e.itemJson.binfo.top+f(o)),fill:"none","fill-opacity":"0",stroke:e.itemJson.props.ani_color.val,"stroke-width":e.itemJson.props["stroke-width"].val,"stroke-dasharray":e.itemJson.props["stroke-width"].val*3,"stroke-dashoffset":"0","stroke-linecap":"round"},[h("animate",{attributeName:"stroke-dashoffset",from:e.itemJson.props.ani_reverse.val?0:1e3,to:e.itemJson.props.ani_reverse.val?e.itemJson.props.ani_play.val?1e3:0:e.itemJson.props.ani_play.val?0:1e3,dur:`${e.itemJson.props.ani_dur.val<1?1:e.itemJson.props.ani_dur.val}s`,repeatCount:"indefinite",fill:"freeze"},null,8,Te)],8,Ve)):e.itemJson.props.ani_type.val==="track"?(c(),g("circle",{key:1,cx:"0",cy:"0",r:e.itemJson.props["stroke-width"].val*2,fill:e.itemJson.props.ani_color.val},[h("animateMotion",{path:f(T)(e.itemJson.props.point_position.val,e.itemJson.binfo.left+f(o),e.itemJson.binfo.top+f(o)),dur:`${e.itemJson.props.ani_dur.val<1?1:e.itemJson.props.ani_dur.val}s`,repeatCount:"indefinite"},null,8,Ne)],8,Oe)):j("",!0),e.itemJson.active?(c(),g("g",Ae,[(c(!0),g(O,null,N(r.value,(J,w)=>(c(),g("circle",{key:w,"pointer-events":"fill",cx:J.x+e.itemJson.binfo.left+f(o),cy:J.y+e.itemJson.binfo.top+f(o),r:"4","stroke-width":"2",stroke:e.itemJson.props.stroke.val,fill:"transparent",class:"cursor-crosshair opacity-30",onMousedown:M=>d(M,w,"add",J),onTouchstartPassive:M=>d(M,w,"add",J)},null,40,Ye))),128))])):j("",!0),e.itemJson.active?(c(),g("g",Xe,[(c(!0),g(O,null,N(e.itemJson.props.point_position.val,(J,w)=>(c(),g("circle",{key:w,"pointer-events":"fill",id:`point-${e.itemJson.id}-${w}`,cx:J.x+e.itemJson.binfo.left+f(o),cy:J.y+e.itemJson.binfo.top+f(o),r:"4","stroke-width":"1",stroke:e.itemJson.props.stroke.val,fill:"#fff",class:W(e.mode==="line-edit"&&w!==0&&w!==e.itemJson.props.point_position.val.length-1?"cursor-remove":"cursor-pointer"),onMousedown:M=>d(M,w,"edit",J),onTouchstartPassive:M=>d(M,w,"edit",J)},null,42,Fe))),128))])):j("",!0)])],4)}}}),We=A(Ge,[["__scopeId","data-v-d5d8fc1c"]]),He=["src"],Ke=E({__name:"index",setup(m){const t=V(""),e=me(),n=async()=>{const o=e.default?e.default():[],r=await ve(o[0]);t.value=ee(r)};return H(async()=>{await n()}),oe(()=>e.default(),async()=>{await n()},{deep:!0}),(o,r)=>(c(),g("img",{draggable:"false",class:"w-1/1 h-1/1",src:t.value},null,8,He))}}),qe={class:"w-1/1 h-1/1"},Qe=["src"],ne=E({__name:"index",props:{itemJson:{},canvasCfg:{},grid:{},canvasDom:{},doneJson:{default:()=>[]},lockState:{type:Boolean},lineAppendEnable:{type:Boolean,default:!1}},emits:["update:itemJson","setIntention","lineMouseUp"],setup(m,{emit:t}){const e=m,n=t,o=R({get:()=>e.itemJson,set:d=>{n("update:itemJson",d)}});H(()=>{o.value.id&&o.value.props&&o.value.props.group&&o.value.props.group.val&&C.refreshGroupForId(o.value.props.group.val,"",o.value.id)});const r=(d,p,i)=>{console.log("更新模型值:",d,p,i),p.group&&C.refreshGroupForId(p.group.val,i??"",d),p.modelValue&&n("update:itemJson",{...o.value,props:{...o.value.props,modelValue:{...o.value.props.modelValue,val:i}}})};return(d,p)=>(c(),g("div",qe,[o.value.type==="svg"?(c(),z($e,{key:0,draggable:"false","symbol-id":o.value.symbol.symbol_id,"symbol-str":o.value.symbol.symbol_str,width:o.value.symbol.width,height:o.value.symbol.height,props:o.value.props},null,8,["symbol-id","symbol-str","width","height","props"])):o.value.type==="group"?(c(),z(Ie,{key:1,"item-json":o.value,grid:e.grid,"canvas-cfg":e.canvasCfg,"canvas-dom":e.canvasDom},null,8,["item-json","grid","canvas-cfg","canvas-dom"])):o.value.type==="vue"?(c(),z(Z(o.value.tag),X({key:2,draggable:"false",definitionItemJson:o.value},f(Q)(o.value.props),{"onUpdate:modelValue":p[0]||(p[0]=i=>r(o.value.id,o.value.props,i))}),null,16,["definitionItemJson"])):o.value.type==="img"?(c(),g("img",{key:3,draggable:"false",class:"w-1/1 h-1/1",src:o.value.thumbnail},null,8,Qe)):o.value.type==="custom-svg"?(c(),z(Ke,{key:4},{default:K(()=>[(c(),z(Z(o.value.tag),X(f(Q)(o.value.props),{id:o.value.id}),null,16,["id"]))]),_:1})):o.value.type==="sys-line"?(c(),z(We,{key:5,"item-json":o.value,"onUpdate:itemJson":p[1]||(p[1]=i=>o.value=i),"canvas-cfg":e.canvasCfg,grid:e.grid,"canvas-dom":e.canvasDom,"done-json":e.doneJson,"lock-state":e.lockState,mode:e.lineAppendEnable?"line-edit":"normal",onSetIntention:p[2]||(p[2]=i=>n("setIntention",i)),onLineMouseUp:p[3]||(p[3]=i=>n("lineMouseUp"))},null,8,["item-json","canvas-cfg","grid","canvas-dom","done-json","lock-state","mode"])):j("",!0)]))}}),Ze=E({__name:"index",props:{fontFamily:{type:String,default:""},fontSize:{type:Number,default:15},text:{type:String,default:""},fill:{type:String,default:""},vertical:{type:Boolean,default:!1}},setup(m){const t=m;return(e,n)=>(c(),g("p",{class:W(["break-words w-1/1 h-1/1",t.vertical?"text-vertical":""]),style:B({fontFamily:t.fontFamily,fontSize:t.fontSize+"px",color:t.fill})},U(t.text),7))}}),eo=A(Ze,[["__scopeId","data-v-cef6b2df"]]),oo={class:"w-1/1 h-1/1 flex justify-center items-center custom-card"},to=E({__name:"index",props:{shadow:{type:String,default:""},backGroundColor:{type:String,default:"#ffffff"},boxShadow:{type:String,default:"#ffffff"}},setup(m){F(e=>({v138f13ac:`0px 0px 12px ${e.$props.boxShadow}`}));const t=m;return(e,n)=>(c(),g("div",oo,[G(f(fe),{class:"w-95/100 h-95/100",shadow:t.shadow,style:B({"background-color":t.backGroundColor})},null,8,["shadow","style"])]))}}),no={class:"flex"},so=E({__name:"index",props:{fontColor:{type:String,default:"#000000"},dateSize:{type:Number,default:12},weekSize:{type:Number,default:12},timeSize:{type:Number,default:24}},setup(m){const t=m,e=V(new Date),n=V(),o=R(()=>{const p=e.value.getFullYear(),i=e.value.getMonth()+1,v=e.value.getDate();return p.toString()+"年"+i.toString()+"月"+v.toString()+"日"}),r=R(()=>{const p=e.value.getDay();return["星期日","星期一","星期二","星期三","星期四","星期五","星期六"][p]}),d=R(()=>{const p=e.value.getHours(),i=e.value.getMinutes(),v=e.value.getSeconds();return(p<10?"0"+p.toString():p.toString())+":"+(i<10?"0"+i.toString():i.toString())+":"+(v<10?"0"+v.toString():v.toString())});return H(()=>{n.value=setInterval(()=>{e.value=new Date},500)}),_e(()=>{clearInterval(n.value)}),(p,i)=>(c(),g("div",null,[h("div",no,[h("div",{class:"font-bold",style:B({color:t.fontColor,fontSize:`${t.dateSize}px`})},U(o.value),5),h("div",{class:"font-bold ml-5px",style:B({color:t.fontColor,fontSize:`${t.weekSize}px `})},U(r.value),5)]),h("div",{class:"font-bold mt-5px ml-5px",style:B({color:t.fontColor,fontSize:`${t.timeSize}px `})},U(d.value),5)]))}}),ao={class:"w-1/1 h-1/1 kvTable"},io={class:"kvKey kvKeyValue",colspan:"1"},ro={class:"kvValue kvKeyValue",colspan:"1"},lo=E({__name:"index",props:{fontFamily:{type:String,default:""},fontSize:{type:Number,default:15},label:{type:String,default:""},labelWidth:{type:Number,default:50},value:{type:String,default:""},valueWidth:{type:Number,default:50},color:{type:String,default:""},border:{type:Boolean,default:!0},borderColor:{type:String,default:""}},setup(m){F(e=>({v7f505933:`${t.border?1:0}px solid ${t.borderColor}`,v52fbad19:`${t.fontSize}px`,v4f5c51c4:`${t.fontFamily}`,v2cd2a6f8:`${t.color}`,v1e69a24a:`${t.labelWidth}px`,v09d9875d:`${t.border?1:0}px`,v27cd9bac:`${t.borderColor}`,v9ea2ce04:`${t.valueWidth}px`}));const t=m;return(e,n)=>(c(),g("table",ao,[h("tbody",null,[h("tr",null,[h("td",io,U(t.label),1),h("td",ro,U(t.value),1)])])]))}}),po={style:{width:"100%",height:"100%"}},co=E({__name:"index",props:{text:{type:String,default:"按钮文本"},type:{type:String,default:""},round:{type:Boolean,default:!1}},setup(m){const t=m,e=(n,o)=>{let r="",d="4px";return n=="primary"?r="#409eff":n=="success"?r="#67c23a":n=="warning"?r="#e6a23c":n=="danger"?r="#f56c6c":n=="info"&&(r="#909399"),o&&(d="20px"),{backgroundColor:r,borderRadius:d}};return(n,o)=>(c(),g("div",po,[h("button",{class:"w-1/1 h-1/1",style:B(e(t.type,t.round))},[G(f(he),null,{default:K(()=>[ge(U(t.text),1)]),_:1})],4)]))}});const fo=E({__name:"index",props:{doneJson:{default:()=>[]},canvasCfg:{},gridCfg:{},showGhostDom:{type:Boolean,default:!0},canvasDom:{},globalLock:{type:Boolean},preivewMode:{type:Boolean,default:!1},lineAppendEnable:{type:Boolean,default:!1},showPopover:{type:Boolean,default:!0}},emits:["update:doneJson","onMouseDown","onItemMove","onMoveMouseUp","onItemMouseEnter","onItemMouseLeave","setIntention","onItemResizeDone","onItemRotateDone","onItemRightClick"],setup(m,{emit:t}){var _;const e=ye(),n=Object.keys((_=e==null?void 0:e.appContext)==null?void 0:_.components);n.includes("text-vue")||e==null||e.appContext.app.component("text-vue",eo),n.includes("card-vue")||e==null||e.appContext.app.component("card-vue",to),n.includes("now-time-vue")||e==null||e.appContext.app.component("now-time-vue",so),n.includes("kv-vue")||e==null||e.appContext.app.component("kv-vue",lo),n.includes("sys-button-vue")||e==null||e.appContext.app.component("sys-button-vue",co);const o=m,r=t,d=V([]),p=(s,u)=>{d.value=C.done_json.filter(l=>l.id!==s.id).map(l=>({id:l.id,left:l.binfo.left,top:l.binfo.top})),u.stopPropagation(),r("onMouseDown",s,u)},i=(s,u)=>{r("update:doneJson",[...o.doneJson.map(l=>l.id===s?{...l,binfo:u}:l)])},v=(s,u)=>{C.setRealTimeData({show:!0,text:`${s.new_lt.left},${s.new_lt.top}`}),ke(()=>{const l={move_item_bounding_info:C.selected_items_id.map(D=>{const{left:a,top:b,width:Y,height:se,right:ae,bottom:ie}=document.getElementById(D).getBoundingClientRect();return{id:D,type:C.done_json.find(re=>re.id===D).type,left:a,top:b,width:Y,height:se,right:ae,bottom:ie}}),move_binfo:s.move_binfo};if(C.selected_items_id.length>1){const D=C.selected_items_id.filter(a=>a!==u);r("update:doneJson",[...o.doneJson.map(a=>{if(D.includes(a.id)){const b=d.value.find(Y=>Y.id===a.id);return{...a,binfo:{...a.binfo,left:(b==null?void 0:b.left)+s.move_length.x,top:(b==null?void 0:b.top)+s.move_length.y}}}return a})])}r("onItemMove",l)})},y=()=>{r("onMoveMouseUp"),C.setRealTimeData({show:!1,text:""})},k=s=>!s.common_animations||!s.common_animations.val?"":`animate__animated animate__${s.common_animations.val} animate__${s.common_animations.speed} animate__${s.common_animations.repeat} animate__${s.common_animations.delay}`,x=(s,u)=>{console.log("修改了组件属性:",s,u);const l=[...o.doneJson];l[s]=u,r("update:doneJson",l)},I=(s,u)=>{r("onItemMouseEnter",s,u)},L=(s,u)=>{r("onItemMouseLeave",s,u)},P=s=>{C.setRealTimeData({show:!0,text:`${s==null?void 0:s.width}x${s==null?void 0:s.height}`})},$=s=>{r("onItemResizeDone",s),C.setRealTimeData({show:!1,text:""})},S=s=>{C.setRealTimeData({show:!0,text:`${s==null?void 0:s.angle}°`})},J=s=>{C.setRealTimeData({show:!1,text:""}),r("onItemRotateDone",s)},w=(s,u)=>{r("onItemRightClick",s,u)},M=()=>{setTimeout(()=>{we.addHistory(C.done_json)},1e3)};return(s,u)=>(c(!0),g(O,null,N(o.doneJson,(l,D)=>(c(),z(Ce,{id:l.id,key:l.id,modelValue:l.binfo,"onUpdate:modelValue":[a=>l.binfo=a,a=>i(l.id,a)],"scale-ratio":o.canvasCfg.scale,grid:o.gridCfg,resize:l.resize,rotate:l.rotate,lock:o.globalLock?!0:l.lock,active:o.preivewMode?!1:l.active,useProportionalScaling:l.use_proportional_scaling,"show-ghost-dom":o.showGhostDom,hide:l.hide,disabled:o.preivewMode,adsorp_diff:f(C).adsorp_diff,onMousedown:a=>p(l,a),onOnItemMove:a=>v(a,l.id),onMoveMouseUp:u[2]||(u[2]=a=>y()),onOnMouseEnter:a=>I(a,l),onOnMouseLeave:a=>L(a,l),onOnResizeMove:u[3]||(u[3]=a=>P(a)),onOnResizeDone:a=>$(l),onOnRotateMove:u[4]||(u[4]=a=>S(a)),onOnRotateDone:a=>J(l),onOnRightClick:a=>w(a,l),class:W(`${l.type=="sys-line"?"pointer-events-none":""} ${k(l)} cursor-pointer`)},{default:K(()=>[(c(),z(ne,X({key:1,"item-json":l,"canvas-cfg":o.canvasCfg,"canvas-dom":o.canvasDom,grid:o.gridCfg,"done-json":o.doneJson,"lock-state":o.globalLock?!0:l.lock,"line-append-enable":o.lineAppendEnable,"onUpdate:itemJson":a=>x(D,a),onSetIntention:u[1]||(u[1]=a=>r("setIntention",a)),onLineMouseUp:M},Je(o.preivewMode?f(be)(l):{})),null,16,["item-json","canvas-cfg","canvas-dom","grid","done-json","lock-state","line-append-enable","onUpdate:itemJson"]))]),_:2},1032,["id","modelValue","onUpdate:modelValue","scale-ratio","grid","resize","rotate","lock","active","useProportionalScaling","show-ghost-dom","hide","disabled","adsorp_diff","onMousedown","onOnItemMove","onOnMouseEnter","onOnMouseLeave","onOnResizeDone","onOnRotateDone","onOnRightClick","class"]))),128))}}),uo={class:"hidden"},_o=E({__name:"index",props:{scaleRatio:{default:1}},emits:["dragCanvasMouseDown","dragCanvasMouseMove","dragCanvasMouseUp"],setup(m,{expose:t,emit:e}){const n=e;return t({onMouseDown:r=>{let d=0,p=0;const i=r instanceof MouseEvent?r.clientX:r.touches[0].pageX,v=r instanceof MouseEvent?r.clientY:r.touches[0].pageY;n("dragCanvasMouseDown",i,v);const y=x=>{const I=x instanceof MouseEvent?x.clientX:x.touches[0].pageX,L=x instanceof MouseEvent?x.clientY:x.touches[0].pageY;d=(I-i)/1,p=(L-v)/1,n("dragCanvasMouseMove",d,p)},k=()=>{document.removeEventListener("mousemove",y),document.removeEventListener("mouseup",k),document.removeEventListener("touchmove",y),document.removeEventListener("touchend",k),n("dragCanvasMouseUp",d,p)};document.addEventListener("mousemove",y),document.addEventListener("mouseup",k),document.addEventListener("touchmove",y),document.addEventListener("touchend",k)}}),(r,d)=>(c(),g("div",uo))}}),go=(m,t,e)=>{let n=[];return n=te(e).map(r=>{r.symbol&&delete r.symbol;let d={};for(const p in r.props)d={...d,[p]:r.props[p].val};return{...r,props:d,active:!1}}),{exportJson:{canvasCfg:m,gridCfg:t,json:n}}},ho=m=>{let t=[];for(const n of xe.config.values())n.length>0&&(t=[...t,...n]);const e=m.json.map(n=>{let o={},r;const d=t.find(i=>(i==null?void 0:i.id)==n.tag),p=d==null?void 0:d.props;p&&(o={...o,...te(p)});for(const i in n.props)o[i]&&(o[i].val=n.props[i]);return d!=null&&d.symbol&&(r=d.symbol),{...n,props:o,symbol:r}});return{canvasCfg:m.canvasCfg,gridCfg:m.gridCfg,importDoneJson:e}};export{fo as _,_o as a,go as g,ho as u}; diff --git a/webVue/assets/index-ffae1f79.js b/webVue/assets/index-ffae1f79.js deleted file mode 100644 index cf809b7..0000000 --- a/webVue/assets/index-ffae1f79.js +++ /dev/null @@ -1 +0,0 @@ -import{d as v,aP as w,r as c,x as p,$ as x,Z as y,i as M,h as J,aw as I,O as l,I as a,o as k,X as q,_ as C}from"./index-9847718b.js";import{u as D}from"./index-fd059ba6.js";import{M as P}from"./index-868f5209.js";const h=v({name:"PreviewIndex",__name:"index",setup(B){const r=w();console.log("参数:",r.query.screen),c(!1),p([]),c("-1"),q();const d=c(),u=(n,o)=>{console.log(n,o),n=="test-dialog"&&a.success(`获取到了id:${o}`)};x(()=>{console.log("view卸载完毕")});async function i(){var o;let n={menuType:r.query.screen};try{const s=await I.model_getModelData_post(n);if(s.code==200){const _=await s.data,{canvasCfg:f,gridCfg:g,importDoneJson:m}=D(_),t=m.map(e=>e.props?{...e,props:p(e.props||{})}:{...e,props:p(e.props||{})});console.log("processedImportDoneJson:",t),(o=d.value)==null||o.setNewImportJson({canvasCfg:f,gridCfg:g,json:t}),l.group_ids.has(r.query.screen)&&l.group_ids.delete(r.query.screen),l.group_ids.set(r.query.screen,t.map(e=>e.id)),a.success("数据模型加载成功")}else a.error(`数据模型加载失败: ${s.code} - ${s.message}`)}catch(s){console.error("请求错误:",s),a.error("网络请求失败")}}return y(()=>{console.log("view挂载完毕"),i()}),(n,o)=>(k(),M(J(P),{ref_key:"MtPreviewRef",ref:d,onOnEventCallBack:u},null,512))}});const O=C(h,[["__scopeId","data-v-91993da2"]]);export{O as default}; diff --git a/webVue/assets/javascript-adb9f602.js b/webVue/assets/javascript-adb9f602.js deleted file mode 100644 index b42b0d2..0000000 --- a/webVue/assets/javascript-adb9f602.js +++ /dev/null @@ -1,16 +0,0 @@ -ace.define("ace/snippets/javascript.snippets",["require","exports","module"], function(require, exports, module){module.exports = "# Prototype\nsnippet proto\n\t${1:class_name}.prototype.${2:method_name} = function(${3:first_argument}) {\n\t\t${4:// body...}\n\t};\n# Function\nsnippet fun\n\tfunction ${1?:function_name}(${2:argument}) {\n\t\t${3:// body...}\n\t}\n# Anonymous Function\nregex /((=)\\s*|(:)\\s*|(\\()|\\b)/f/(\\))?/\nsnippet f\n\tfunction${M1?: ${1:functionName}}($2) {\n\t\t${0:$TM_SELECTED_TEXT}\n\t}${M2?;}${M3?,}${M4?)}\n# Immediate function\ntrigger \\(?f\\(\nendTrigger \\)?\nsnippet f(\n\t(function(${1}) {\n\t\t${0:${TM_SELECTED_TEXT:/* code */}}\n\t}(${1}));\n# if\nsnippet if\n\tif (${1:true}) {\n\t\t${0}\n\t}\n# if ... else\nsnippet ife\n\tif (${1:true}) {\n\t\t${2}\n\t} else {\n\t\t${0}\n\t}\n# tertiary conditional\nsnippet ter\n\t${1:/* condition */} ? ${2:a} : ${3:b}\n# switch\nsnippet switch\n\tswitch (${1:expression}) {\n\t\tcase '${3:case}':\n\t\t\t${4:// code}\n\t\t\tbreak;\n\t\t${5}\n\t\tdefault:\n\t\t\t${2:// code}\n\t}\n# case\nsnippet case\n\tcase '${1:case}':\n\t\t${2:// code}\n\t\tbreak;\n\t${3}\n\n# while (...) {...}\nsnippet wh\n\twhile (${1:/* condition */}) {\n\t\t${0:/* code */}\n\t}\n# try\nsnippet try\n\ttry {\n\t\t${0:/* code */}\n\t} catch (e) {}\n# do...while\nsnippet do\n\tdo {\n\t\t${2:/* code */}\n\t} while (${1:/* condition */});\n# Object Method\nsnippet :f\nregex /([,{[])|^\\s*/:f/\n\t${1:method_name}: function(${2:attribute}) {\n\t\t${0}\n\t}${3:,}\n# setTimeout function\nsnippet setTimeout\nregex /\\b/st|timeout|setTimeo?u?t?/\n\tsetTimeout(function() {${3:$TM_SELECTED_TEXT}}, ${1:10});\n# Get Elements\nsnippet gett\n\tgetElementsBy${1:TagName}('${2}')${3}\n# Get Element\nsnippet get\n\tgetElementBy${1:Id}('${2}')${3}\n# console.log (Firebug)\nsnippet cl\n\tconsole.log(${1});\n# return\nsnippet ret\n\treturn ${1:result}\n# for (property in object ) { ... }\nsnippet fori\n\tfor (var ${1:prop} in ${2:Things}) {\n\t\t${0:$2[$1]}\n\t}\n# hasOwnProperty\nsnippet has\n\thasOwnProperty(${1})\n# docstring\nsnippet /**\n\t/**\n\t * ${1:description}\n\t *\n\t */\nsnippet @par\nregex /^\\s*\\*\\s*/@(para?m?)?/\n\t@param {${1:type}} ${2:name} ${3:description}\nsnippet @ret\n\t@return {${1:type}} ${2:description}\n# JSON.parse\nsnippet jsonp\n\tJSON.parse(${1:jstr});\n# JSON.stringify\nsnippet jsons\n\tJSON.stringify(${1:object});\n# self-defining function\nsnippet sdf\n\tvar ${1:function_name} = function(${2:argument}) {\n\t\t${3:// initial code ...}\n\n\t\t$1 = function($2) {\n\t\t\t${4:// main code}\n\t\t};\n\t}\n# singleton\nsnippet sing\n\tfunction ${1:Singleton} (${2:argument}) {\n\t\t// the cached instance\n\t\tvar instance;\n\n\t\t// rewrite the constructor\n\t\t$1 = function $1($2) {\n\t\t\treturn instance;\n\t\t};\n\t\t\n\t\t// carry over the prototype properties\n\t\t$1.prototype = this;\n\n\t\t// the instance\n\t\tinstance = new $1();\n\n\t\t// reset the constructor pointer\n\t\tinstance.constructor = $1;\n\n\t\t${3:// code ...}\n\n\t\treturn instance;\n\t}\n# class\nsnippet class\nregex /^\\s*/clas{0,2}/\n\tvar ${1:class} = function(${20}) {\n\t\t$40$0\n\t};\n\t\n\t(function() {\n\t\t${60:this.prop = \"\"}\n\t}).call(${1:class}.prototype);\n\t\n\texports.${1:class} = ${1:class};\n# \nsnippet for-\n\tfor (var ${1:i} = ${2:Things}.length; ${1:i}--; ) {\n\t\t${0:${2:Things}[${1:i}];}\n\t}\n# for (...) {...}\nsnippet for\n\tfor (var ${1:i} = 0; $1 < ${2:Things}.length; $1++) {\n\t\t${3:$2[$1]}$0\n\t}\n# for (...) {...} (Improved Native For-Loop)\nsnippet forr\n\tfor (var ${1:i} = ${2:Things}.length - 1; $1 >= 0; $1--) {\n\t\t${3:$2[$1]}$0\n\t}\n\n\n#modules\nsnippet def\n\tdefine(function(require, exports, module) {\n\t\"use strict\";\n\tvar ${1/.*\\///} = require(\"${1}\");\n\t\n\t$TM_SELECTED_TEXT\n\t});\nsnippet req\nguard ^\\s*\n\tvar ${1/.*\\///} = require(\"${1}\");\n\t$0\nsnippet requ\nguard ^\\s*\n\tvar ${1/.*\\/(.)/\\u$1/} = require(\"${1}\").${1/.*\\/(.)/\\u$1/};\n\t$0\n"; - -}); - -ace.define("ace/snippets/javascript",["require","exports","module","ace/snippets/javascript.snippets"], function(require, exports, module){"use strict"; -exports.snippetText = require("./javascript.snippets"); -exports.scope = "javascript"; - -}); (function() { - ace.require(["ace/snippets/javascript"], function(m) { - if (typeof module == "object" && typeof exports == "object" && module) { - module.exports = m; - } - }); - })(); - \ No newline at end of file diff --git a/webVue/assets/mode-javascript-839742b8.js b/webVue/assets/mode-javascript-839742b8.js deleted file mode 100644 index a81f985..0000000 --- a/webVue/assets/mode-javascript-839742b8.js +++ /dev/null @@ -1,1191 +0,0 @@ -ace.define("ace/mode/jsdoc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict"; -var oop = require("../lib/oop"); -var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; -var JsDocCommentHighlightRules = function () { - this.$rules = { - "start": [ - { - token: ["comment.doc.tag", "comment.doc.text", "lparen.doc"], - regex: "(@(?:param|member|typedef|property|namespace|var|const|callback))(\\s*)({)", - push: [ - { - token: "lparen.doc", - regex: "{", - push: [ - { - include: "doc-syntax" - }, { - token: "rparen.doc", - regex: "}|(?=$)", - next: "pop" - } - ] - }, { - token: ["rparen.doc", "text.doc", "variable.parameter.doc", "lparen.doc", "variable.parameter.doc", "rparen.doc"], - regex: /(})(\s*)(?:([\w=:\/\.]+)|(?:(\[)([\w=:\/\.\-\'\" ]+)(\])))/, - next: "pop" - }, { - token: "rparen.doc", - regex: "}|(?=$)", - next: "pop" - }, { - include: "doc-syntax" - }, { - defaultToken: "text.doc" - } - ] - }, { - token: ["comment.doc.tag", "text.doc", "lparen.doc"], - regex: "(@(?:returns?|yields|type|this|suppress|public|protected|private|package|modifies|" - + "implements|external|exception|throws|enum|define|extends))(\\s*)({)", - push: [ - { - token: "lparen.doc", - regex: "{", - push: [ - { - include: "doc-syntax" - }, { - token: "rparen.doc", - regex: "}|(?=$)", - next: "pop" - } - ] - }, { - token: "rparen.doc", - regex: "}|(?=$)", - next: "pop" - }, { - include: "doc-syntax" - }, { - defaultToken: "text.doc" - } - ] - }, { - token: ["comment.doc.tag", "text.doc", "variable.parameter.doc"], - regex: "(@(?:alias|memberof|instance|module|name|lends|namespace|external|this|template|" - + "requires|param|implements|function|extends|typedef|mixes|constructor|var|" - + "memberof\\!|event|listens|exports|class|constructs|interface|emits|fires|" - + "throws|const|callback|borrows|augments))(\\s+)(\\w[\\w#\.:\/~\"\\-]*)?" - }, { - token: ["comment.doc.tag", "text.doc", "variable.parameter.doc"], - regex: "(@method)(\\s+)(\\w[\\w\.\\(\\)]*)" - }, { - token: "comment.doc.tag", - regex: "@access\\s+(?:private|public|protected)" - }, { - token: "comment.doc.tag", - regex: "@kind\\s+(?:class|constant|event|external|file|function|member|mixin|module|namespace|typedef)" - }, { - token: "comment.doc.tag", - regex: "@\\w+(?=\\s|$)" - }, - JsDocCommentHighlightRules.getTagRule(), - { - defaultToken: "comment.doc.body", - caseInsensitive: true - } - ], - "doc-syntax": [{ - token: "operator.doc", - regex: /[|:]/ - }, { - token: "paren.doc", - regex: /[\[\]]/ - }] - }; - this.normalizeRules(); -}; -oop.inherits(JsDocCommentHighlightRules, TextHighlightRules); -JsDocCommentHighlightRules.getTagRule = function (start) { - return { - token: "comment.doc.tag.storage.type", - regex: "\\b(?:TODO|FIXME|XXX|HACK)\\b" - }; -}; -JsDocCommentHighlightRules.getStartRule = function (start) { - return { - token: "comment.doc", // doc comment - regex: /\/\*\*(?!\/)/, - next: start - }; -}; -JsDocCommentHighlightRules.getEndRule = function (start) { - return { - token: "comment.doc", // closing comment - regex: "\\*\\/", - next: start - }; -}; -exports.JsDocCommentHighlightRules = JsDocCommentHighlightRules; - -}); - -ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/jsdoc_comment_highlight_rules","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict"; -var oop = require("../lib/oop"); -var DocCommentHighlightRules = require("./jsdoc_comment_highlight_rules").JsDocCommentHighlightRules; -var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; -var identifierRe = "[a-zA-Z\\$_\u00a1-\uffff][a-zA-Z\\d\\$_\u00a1-\uffff]*"; -var JavaScriptHighlightRules = function (options) { - var keywords = { - "variable.language": "Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|" + // Constructors - "Namespace|QName|XML|XMLList|" + // E4X - "ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|" + - "Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|" + - "Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|" + // Errors - "SyntaxError|TypeError|URIError|" + - "decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|" + // Non-constructor functions - "isNaN|parseFloat|parseInt|" + - "JSON|Math|" + // Other - "this|arguments|prototype|window|document", // Pseudo - "keyword": "const|yield|import|get|set|async|await|" + - "break|case|catch|continue|default|delete|do|else|finally|for|" + - "if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|" + - "__parent__|__count__|escape|unescape|with|__proto__|" + - "class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor", - "storage.type": "const|let|var|function", - "constant.language": "null|Infinity|NaN|undefined", - "support.function": "alert", - "constant.language.boolean": "true|false" - }; - var keywordMapper = this.createKeywordMapper(keywords, "identifier"); - var kwBeforeRe = "case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void"; - var escapedRe = "\\\\(?:x[0-9a-fA-F]{2}|" + // hex - "u[0-9a-fA-F]{4}|" + // unicode - "u{[0-9a-fA-F]{1,6}}|" + // es6 unicode - "[0-2][0-7]{0,2}|" + // oct - "3[0-7][0-7]?|" + // oct - "[4-7][0-7]?|" + //oct - ".)"; - var anonymousFunctionRe = "(function)(\\s*)(\\*?)"; - var functionCallStartRule = { - token: ["identifier", "text", "paren.lparen"], - regex: "(\\b(?!" + Object.values(keywords).join("|") + "\\b)" + identifierRe + ")(\\s*)(\\()" - }; - this.$rules = { - "no_regex": [ - DocCommentHighlightRules.getStartRule("doc-start"), - comments("no_regex"), - functionCallStartRule, - { - token: "string", - regex: "'(?=.)", - next: "qstring" - }, { - token: "string", - regex: '"(?=.)', - next: "qqstring" - }, { - token: "constant.numeric", // hexadecimal, octal and binary - regex: /0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/ - }, { - token: "constant.numeric", // decimal integers and floats - regex: /(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/ - }, { - token: [ - "entity.name.function", "text", "keyword.operator", "text", "storage.type", - "text", "storage.type", "text", "paren.lparen" - ], - regex: "(" + identifierRe + ")(\\s*)(=)(\\s*)" + anonymousFunctionRe + "(\\s*)(\\()", - next: "function_arguments" - }, { - token: [ - "storage.type", "text", "storage.type", "text", "text", "entity.name.function", "text", "paren.lparen" - ], - regex: "(function)(?:(?:(\\s*)(\\*)(\\s*))|(\\s+))(" + identifierRe + ")(\\s*)(\\()", - next: "function_arguments" - }, { - token: [ - "entity.name.function", "text", "punctuation.operator", - "text", "storage.type", "text", "storage.type", "text", "paren.lparen" - ], - regex: "(" + identifierRe + ")(\\s*)(:)(\\s*)" + anonymousFunctionRe + "(\\s*)(\\()", - next: "function_arguments" - }, { - token: [ - "text", "text", "storage.type", "text", "storage.type", "text", "paren.lparen" - ], - regex: "(:)(\\s*)" + anonymousFunctionRe + "(\\s*)(\\()", - next: "function_arguments" - }, { - token: "keyword", - regex: "from(?=\\s*('|\"))" - }, { - token: "keyword", - regex: "(?:" + kwBeforeRe + ")\\b", - next: "start" - }, { - token: "support.constant", - regex: /that\b/ - }, { - token: ["storage.type", "punctuation.operator", "support.function.firebug"], - regex: /(console)(\.)(warn|info|log|error|debug|time|trace|timeEnd|assert)\b/ - }, { - token: keywordMapper, - regex: identifierRe - }, { - token: "punctuation.operator", - regex: /[.](?![.])/, - next: "property" - }, { - token: "storage.type", - regex: /=>/, - next: "start" - }, { - token: "keyword.operator", - regex: /--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/, - next: "start" - }, { - token: "punctuation.operator", - regex: /[?:,;.]/, - next: "start" - }, { - token: "paren.lparen", - regex: /[\[({]/, - next: "start" - }, { - token: "paren.rparen", - regex: /[\])}]/ - }, { - token: "comment", - regex: /^#!.*$/ - } - ], - property: [{ - token: "text", - regex: "\\s+" - }, { - token: "keyword.operator", - regex: /=/ - }, { - token: [ - "storage.type", "text", "storage.type", "text", "paren.lparen" - ], - regex: anonymousFunctionRe + "(\\s*)(\\()", - next: "function_arguments" - }, { - token: [ - "storage.type", "text", "storage.type", "text", "text", "entity.name.function", "text", "paren.lparen" - ], - regex: "(function)(?:(?:(\\s*)(\\*)(\\s*))|(\\s+))(\\w+)(\\s*)(\\()", - next: "function_arguments" - }, { - token: "punctuation.operator", - regex: /[.](?![.])/ - }, { - token: "support.function", - regex: "prototype" - }, { - token: "support.function", - regex: /(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|lter|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward|rEach)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/ - }, { - token: "support.function.dom", - regex: /(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/ - }, { - token: "support.constant", - regex: /(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/ - }, { - token: "identifier", - regex: identifierRe - }, { - regex: "", - token: "empty", - next: "no_regex" - } - ], - "start": [ - DocCommentHighlightRules.getStartRule("doc-start"), - comments("start"), - { - token: "string.regexp", - regex: "\\/", - next: "regex" - }, { - token: "text", - regex: "\\s+|^$", - next: "start" - }, { - token: "empty", - regex: "", - next: "no_regex" - } - ], - "regex": [ - { - token: "regexp.keyword.operator", - regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)" - }, { - token: "string.regexp", - regex: "/[sxngimy]*", - next: "no_regex" - }, { - token: "invalid", - regex: /\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/ - }, { - token: "constant.language.escape", - regex: /\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/ - }, { - token: "constant.language.delimiter", - regex: /\|/ - }, { - token: "constant.language.escape", - regex: /\[\^?/, - next: "regex_character_class" - }, { - token: "empty", - regex: "$", - next: "no_regex" - }, { - defaultToken: "string.regexp" - } - ], - "regex_character_class": [ - { - token: "regexp.charclass.keyword.operator", - regex: "\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)" - }, { - token: "constant.language.escape", - regex: "]", - next: "regex" - }, { - token: "constant.language.escape", - regex: "-" - }, { - token: "empty", - regex: "$", - next: "no_regex" - }, { - defaultToken: "string.regexp.charachterclass" - } - ], - "default_parameter": [ - { - token: "string", - regex: "'(?=.)", - push: [ - { - token: "string", - regex: "'|$", - next: "pop" - }, { - include: "qstring" - } - ] - }, { - token: "string", - regex: '"(?=.)', - push: [ - { - token: "string", - regex: '"|$', - next: "pop" - }, { - include: "qqstring" - } - ] - }, { - token: "constant.language", - regex: "null|Infinity|NaN|undefined" - }, { - token: "constant.numeric", // hexadecimal, octal and binary - regex: /0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/ - }, { - token: "constant.numeric", // decimal integers and floats - regex: /(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/ - }, { - token: "punctuation.operator", - regex: ",", - next: "function_arguments" - }, { - token: "text", - regex: "\\s+" - }, { - token: "punctuation.operator", - regex: "$" - }, { - token: "empty", - regex: "", - next: "no_regex" - } - ], - "function_arguments": [ - comments("function_arguments"), - { - token: "variable.parameter", - regex: identifierRe - }, { - token: "punctuation.operator", - regex: "," - }, { - token: "text", - regex: "\\s+" - }, { - token: "punctuation.operator", - regex: "$" - }, { - token: "empty", - regex: "", - next: "no_regex" - } - ], - "qqstring": [ - { - token: "constant.language.escape", - regex: escapedRe - }, { - token: "string", - regex: "\\\\$", - consumeLineEnd: true - }, { - token: "string", - regex: '"|$', - next: "no_regex" - }, { - defaultToken: "string" - } - ], - "qstring": [ - { - token: "constant.language.escape", - regex: escapedRe - }, { - token: "string", - regex: "\\\\$", - consumeLineEnd: true - }, { - token: "string", - regex: "'|$", - next: "no_regex" - }, { - defaultToken: "string" - } - ] - }; - if (!options || !options.noES6) { - this.$rules.no_regex.unshift({ - regex: "[{}]", onMatch: function (val, state, stack) { - this.next = val == "{" ? this.nextState : ""; - if (val == "{" && stack.length) { - stack.unshift("start", state); - } - else if (val == "}" && stack.length) { - stack.shift(); - this.next = stack.shift(); - if (this.next.indexOf("string") != -1 || this.next.indexOf("jsx") != -1) - return "paren.quasi.end"; - } - return val == "{" ? "paren.lparen" : "paren.rparen"; - }, - nextState: "start" - }, { - token: "string.quasi.start", - regex: /`/, - push: [{ - token: "constant.language.escape", - regex: escapedRe - }, { - token: "paren.quasi.start", - regex: /\${/, - push: "start" - }, { - token: "string.quasi.end", - regex: /`/, - next: "pop" - }, { - defaultToken: "string.quasi" - }] - }, { - token: ["variable.parameter", "text"], - regex: "(" + identifierRe + ")(\\s*)(?=\\=>)" - }, { - token: "paren.lparen", - regex: "(\\()(?=[^\\(]+\\s*=>)", - next: "function_arguments" - }, { - token: "variable.language", - regex: "(?:(?:(?:Weak)?(?:Set|Map))|Promise)\\b" - }); - this.$rules["function_arguments"].unshift({ - token: "keyword.operator", - regex: "=", - next: "default_parameter" - }, { - token: "keyword.operator", - regex: "\\.{3}" - }); - this.$rules["property"].unshift({ - token: "support.function", - regex: "(findIndex|repeat|startsWith|endsWith|includes|isSafeInteger|trunc|cbrt|log2|log10|sign|then|catch|" - + "finally|resolve|reject|race|any|all|allSettled|keys|entries|isInteger)\\b(?=\\()" - }, { - token: "constant.language", - regex: "(?:MAX_SAFE_INTEGER|MIN_SAFE_INTEGER|EPSILON)\\b" - }); - if (!options || options.jsx != false) - JSX.call(this); - } - this.embedRules(DocCommentHighlightRules, "doc-", [DocCommentHighlightRules.getEndRule("no_regex")]); - this.normalizeRules(); -}; -oop.inherits(JavaScriptHighlightRules, TextHighlightRules); -function JSX() { - var tagRegex = identifierRe.replace("\\d", "\\d\\-"); - var jsxTag = { - onMatch: function (val, state, stack) { - var offset = val.charAt(1) == "/" ? 2 : 1; - if (offset == 1) { - if (state != this.nextState) - stack.unshift(this.next, this.nextState, 0); - else - stack.unshift(this.next); - stack[2]++; - } - else if (offset == 2) { - if (state == this.nextState) { - stack[1]--; - if (!stack[1] || stack[1] < 0) { - stack.shift(); - stack.shift(); - } - } - } - return [{ - type: "meta.tag.punctuation." + (offset == 1 ? "" : "end-") + "tag-open.xml", - value: val.slice(0, offset) - }, { - type: "meta.tag.tag-name.xml", - value: val.substr(offset) - }]; - }, - regex: "))", - next: "jsxAttributes", - nextState: "jsx" - }; - this.$rules.start.unshift(jsxTag); - var jsxJsRule = { - regex: "{", - token: "paren.quasi.start", - push: "start" - }; - this.$rules.jsx = [ - jsxJsRule, - jsxTag, - { include: "reference" }, { defaultToken: "string.xml" } - ]; - this.$rules.jsxAttributes = [{ - token: "meta.tag.punctuation.tag-close.xml", - regex: "/?>", - onMatch: function (value, currentState, stack) { - if (currentState == stack[0]) - stack.shift(); - if (value.length == 2) { - if (stack[0] == this.nextState) - stack[1]--; - if (!stack[1] || stack[1] < 0) { - stack.splice(0, 2); - } - } - this.next = stack[0] || "start"; - return [{ type: this.token, value: value }]; - }, - nextState: "jsx" - }, - jsxJsRule, - comments("jsxAttributes"), - { - token: "entity.other.attribute-name.xml", - regex: tagRegex - }, { - token: "keyword.operator.attribute-equals.xml", - regex: "=" - }, { - token: "text.tag-whitespace.xml", - regex: "\\s+" - }, { - token: "string.attribute-value.xml", - regex: "'", - stateName: "jsx_attr_q", - push: [ - { token: "string.attribute-value.xml", regex: "'", next: "pop" }, - { include: "reference" }, - { defaultToken: "string.attribute-value.xml" } - ] - }, { - token: "string.attribute-value.xml", - regex: '"', - stateName: "jsx_attr_qq", - push: [ - { token: "string.attribute-value.xml", regex: '"', next: "pop" }, - { include: "reference" }, - { defaultToken: "string.attribute-value.xml" } - ] - }, - jsxTag - ]; - this.$rules.reference = [{ - token: "constant.language.escape.reference.xml", - regex: "(?:&#[0-9]+;)|(?:&#x[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)" - }]; -} -function comments(next) { - return [ - { - token: "comment", // multi line comment - regex: /\/\*/, - next: [ - DocCommentHighlightRules.getTagRule(), - { token: "comment", regex: "\\*\\/", next: next || "pop" }, - { defaultToken: "comment", caseInsensitive: true } - ] - }, { - token: "comment", - regex: "\\/\\/", - next: [ - DocCommentHighlightRules.getTagRule(), - { token: "comment", regex: "$|^", next: next || "pop" }, - { defaultToken: "comment", caseInsensitive: true } - ] - } - ]; -} -exports.JavaScriptHighlightRules = JavaScriptHighlightRules; - -}); - -ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"], function(require, exports, module){"use strict"; -var Range = require("../range").Range; -var MatchingBraceOutdent = function () { }; -(function () { - this.checkOutdent = function (line, input) { - if (!/^\s+$/.test(line)) - return false; - return /^\s*\}/.test(input); - }; - this.autoOutdent = function (doc, row) { - var line = doc.getLine(row); - var match = line.match(/^(\s*\})/); - if (!match) - return 0; - var column = match[1].length; - var openBracePos = doc.findMatchingBracket({ row: row, column: column }); - if (!openBracePos || openBracePos.row == row) - return 0; - var indent = this.$getIndent(doc.getLine(openBracePos.row)); - doc.replace(new Range(row, 0, row, column - 1), indent); - }; - this.$getIndent = function (line) { - return line.match(/^\s*/)[0]; - }; -}).call(MatchingBraceOutdent.prototype); -exports.MatchingBraceOutdent = MatchingBraceOutdent; - -}); - -ace.define("ace/mode/behaviour/xml",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator"], function(require, exports, module){"use strict"; -var oop = require("../../lib/oop"); -var Behaviour = require("../behaviour").Behaviour; -var TokenIterator = require("../../token_iterator").TokenIterator; -function is(token, type) { - return token && token.type.lastIndexOf(type + ".xml") > -1; -} -var XmlBehaviour = function () { - this.add("string_dquotes", "insertion", function (state, action, editor, session, text) { - if (text == '"' || text == "'") { - var quote = text; - var selected = session.doc.getTextRange(editor.getSelectionRange()); - if (selected !== "" && selected !== "'" && selected != '"' && editor.getWrapBehavioursEnabled()) { - return { - text: quote + selected + quote, - selection: false - }; - } - var cursor = editor.getCursorPosition(); - var line = session.doc.getLine(cursor.row); - var rightChar = line.substring(cursor.column, cursor.column + 1); - var iterator = new TokenIterator(session, cursor.row, cursor.column); - var token = iterator.getCurrentToken(); - if (rightChar == quote && (is(token, "attribute-value") || is(token, "string"))) { - return { - text: "", - selection: [1, 1] - }; - } - if (!token) - token = iterator.stepBackward(); - if (!token) - return; - while (is(token, "tag-whitespace") || is(token, "whitespace")) { - token = iterator.stepBackward(); - } - var rightSpace = !rightChar || rightChar.match(/\s/); - if (is(token, "attribute-equals") && (rightSpace || rightChar == '>') || (is(token, "decl-attribute-equals") && (rightSpace || rightChar == '?'))) { - return { - text: quote + quote, - selection: [1, 1] - }; - } - } - }); - this.add("string_dquotes", "deletion", function (state, action, editor, session, range) { - var selected = session.doc.getTextRange(range); - if (!range.isMultiLine() && (selected == '"' || selected == "'")) { - var line = session.doc.getLine(range.start.row); - var rightChar = line.substring(range.start.column + 1, range.start.column + 2); - if (rightChar == selected) { - range.end.column++; - return range; - } - } - }); - this.add("autoclosing", "insertion", function (state, action, editor, session, text) { - if (text == '>') { - var position = editor.getSelectionRange().start; - var iterator = new TokenIterator(session, position.row, position.column); - var token = iterator.getCurrentToken() || iterator.stepBackward(); - if (!token || !(is(token, "tag-name") || is(token, "tag-whitespace") || is(token, "attribute-name") || is(token, "attribute-equals") || is(token, "attribute-value"))) - return; - if (is(token, "reference.attribute-value")) - return; - if (is(token, "attribute-value")) { - var tokenEndColumn = iterator.getCurrentTokenColumn() + token.value.length; - if (position.column < tokenEndColumn) - return; - if (position.column == tokenEndColumn) { - var nextToken = iterator.stepForward(); - if (nextToken && is(nextToken, "attribute-value")) - return; - iterator.stepBackward(); - } - } - if (/^\s*>/.test(session.getLine(position.row).slice(position.column))) - return; - while (!is(token, "tag-name")) { - token = iterator.stepBackward(); - if (token.value == "<") { - token = iterator.stepForward(); - break; - } - } - var tokenRow = iterator.getCurrentTokenRow(); - var tokenColumn = iterator.getCurrentTokenColumn(); - if (is(iterator.stepBackward(), "end-tag-open")) - return; - var element = token.value; - if (tokenRow == position.row) - element = element.substring(0, position.column - tokenColumn); - if (this.voidElements && this.voidElements.hasOwnProperty(element.toLowerCase())) - return; - return { - text: ">" + "", - selection: [1, 1] - }; - } - }); - this.add("autoindent", "insertion", function (state, action, editor, session, text) { - if (text == "\n") { - var cursor = editor.getCursorPosition(); - var line = session.getLine(cursor.row); - var iterator = new TokenIterator(session, cursor.row, cursor.column); - var token = iterator.getCurrentToken(); - if (is(token, "") && token.type.indexOf("tag-close") !== -1) { - if (token.value == "/>") - return; - while (token && token.type.indexOf("tag-name") === -1) { - token = iterator.stepBackward(); - } - if (!token) { - return; - } - var tag = token.value; - var row = iterator.getCurrentTokenRow(); - token = iterator.stepBackward(); - if (!token || token.type.indexOf("end-tag") !== -1) { - return; - } - if (this.voidElements && !this.voidElements[tag] || !this.voidElements) { - var nextToken = session.getTokenAt(cursor.row, cursor.column + 1); - var line = session.getLine(row); - var nextIndent = this.$getIndent(line); - var indent = nextIndent + session.getTabString(); - if (nextToken && nextToken.value === "') { - var position = editor.getSelectionRange().start; - var iterator = new TokenIterator(session, position.row, position.column); - var token = iterator.getCurrentToken() || iterator.stepBackward(); - if (!token) - return; - if (token.value == '<') { - return { - text: ">", - selection: [1, 1] - }; - } - } - }); -}; -oop.inherits(JavaScriptBehaviour, CstyleBehaviour); -exports.JavaScriptBehaviour = JavaScriptBehaviour; - -}); - -ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module){"use strict"; -var oop = require("../../lib/oop"); -var Range = require("../../range").Range; -var BaseFoldMode = require("./fold_mode").FoldMode; -var FoldMode = exports.FoldMode = function (voidElements, optionalEndTags) { - BaseFoldMode.call(this); - this.voidElements = voidElements || {}; - this.optionalEndTags = oop.mixin({}, this.voidElements); - if (optionalEndTags) - oop.mixin(this.optionalEndTags, optionalEndTags); -}; -oop.inherits(FoldMode, BaseFoldMode); -var Tag = function () { - this.tagName = ""; - this.closing = false; - this.selfClosing = false; - this.start = { row: 0, column: 0 }; - this.end = { row: 0, column: 0 }; -}; -function is(token, type) { - return token && token.type && token.type.lastIndexOf(type + ".xml") > -1; -} -(function () { - this.getFoldWidget = function (session, foldStyle, row) { - var tag = this._getFirstTagInLine(session, row); - if (!tag) - return this.getCommentFoldWidget(session, row); - if (tag.closing || (!tag.tagName && tag.selfClosing)) - return foldStyle === "markbeginend" ? "end" : ""; - if (!tag.tagName || tag.selfClosing || this.voidElements.hasOwnProperty(tag.tagName.toLowerCase())) - return ""; - if (this._findEndTagInLine(session, row, tag.tagName, tag.end.column)) - return ""; - return "start"; - }; - this.getCommentFoldWidget = function (session, row) { - if (/comment/.test(session.getState(row)) && /'; - break; - } - } - return tag; - } - else if (is(token, "tag-close")) { - tag.selfClosing = token.value == '/>'; - return tag; - } - tag.start.column += token.value.length; - } - return null; - }; - this._findEndTagInLine = function (session, row, tagName, startColumn) { - var tokens = session.getTokens(row); - var column = 0; - for (var i = 0; i < tokens.length; i++) { - var token = tokens[i]; - column += token.value.length; - if (column < startColumn - 1) - continue; - if (is(token, "end-tag-open")) { - token = tokens[i + 1]; - if (is(token, "tag-name") && token.value === "") { - token = tokens[i + 2]; - } - if (token && token.value == tagName) - return true; - } - } - return false; - }; - this.getFoldWidgetRange = function (session, foldStyle, row) { - var firstTag = this._getFirstTagInLine(session, row); - if (!firstTag) { - return this.getCommentFoldWidget(session, row) && session.getCommentFoldRange(row, session.getLine(row).length); - } - var tags = session.getMatchingTags({ row: row, column: 0 }); - if (tags) { - return new Range(tags.openTag.end.row, tags.openTag.end.column, tags.closeTag.start.row, tags.closeTag.start.column); - } - }; -}).call(FoldMode.prototype); - -}); - -ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module){"use strict"; -var oop = require("../../lib/oop"); -var Range = require("../../range").Range; -var BaseFoldMode = require("./fold_mode").FoldMode; -var FoldMode = exports.FoldMode = function (commentRegex) { - if (commentRegex) { - this.foldingStartMarker = new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)); - this.foldingStopMarker = new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)); - } -}; -oop.inherits(FoldMode, BaseFoldMode); -(function () { - this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/; - this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/; - this.singleLineBlockCommentRe = /^\s*(\/\*).*\*\/\s*$/; - this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/; - this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/; - this._getFoldWidgetBase = this.getFoldWidget; - this.getFoldWidget = function (session, foldStyle, row) { - var line = session.getLine(row); - if (this.singleLineBlockCommentRe.test(line)) { - if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line)) - return ""; - } - var fw = this._getFoldWidgetBase(session, foldStyle, row); - if (!fw && this.startRegionRe.test(line)) - return "start"; // lineCommentRegionStart - return fw; - }; - this.getFoldWidgetRange = function (session, foldStyle, row, forceMultiline) { - var line = session.getLine(row); - if (this.startRegionRe.test(line)) - return this.getCommentRegionBlock(session, line, row); - var match = line.match(this.foldingStartMarker); - if (match) { - var i = match.index; - if (match[1]) - return this.openingBracketBlock(session, match[1], row, i); - var range = session.getCommentFoldRange(row, i + match[0].length, 1); - if (range && !range.isMultiLine()) { - if (forceMultiline) { - range = this.getSectionRange(session, row); - } - else if (foldStyle != "all") - range = null; - } - return range; - } - if (foldStyle === "markbegin") - return; - var match = line.match(this.foldingStopMarker); - if (match) { - var i = match.index + match[0].length; - if (match[1]) - return this.closingBracketBlock(session, match[1], row, i); - return session.getCommentFoldRange(row, i, -1); - } - }; - this.getSectionRange = function (session, row) { - var line = session.getLine(row); - var startIndent = line.search(/\S/); - var startRow = row; - var startColumn = line.length; - row = row + 1; - var endRow = row; - var maxRow = session.getLength(); - while (++row < maxRow) { - line = session.getLine(row); - var indent = line.search(/\S/); - if (indent === -1) - continue; - if (startIndent > indent) - break; - var subRange = this.getFoldWidgetRange(session, "all", row); - if (subRange) { - if (subRange.start.row <= startRow) { - break; - } - else if (subRange.isMultiLine()) { - row = subRange.end.row; - } - else if (startIndent == indent) { - break; - } - } - endRow = row; - } - return new Range(startRow, startColumn, endRow, session.getLine(endRow).length); - }; - this.getCommentRegionBlock = function (session, line, row) { - var startColumn = line.search(/\s*$/); - var maxRow = session.getLength(); - var startRow = row; - var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/; - var depth = 1; - while (++row < maxRow) { - line = session.getLine(row); - var m = re.exec(line); - if (!m) - continue; - if (m[1]) - depth--; - else - depth++; - if (!depth) - break; - } - var endRow = row; - if (endRow > startRow) { - return new Range(startRow, startColumn, endRow, line.length); - } - }; -}).call(FoldMode.prototype); - -}); - -ace.define("ace/mode/folding/javascript",["require","exports","module","ace/lib/oop","ace/mode/folding/xml","ace/mode/folding/cstyle"], function(require, exports, module){"use strict"; -var oop = require("../../lib/oop"); -var XmlFoldMode = require("./xml").FoldMode; -var CFoldMode = require("./cstyle").FoldMode; -var FoldMode = exports.FoldMode = function (commentRegex) { - if (commentRegex) { - this.foldingStartMarker = new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)); - this.foldingStopMarker = new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)); - } - this.xmlFoldMode = new XmlFoldMode(); -}; -oop.inherits(FoldMode, CFoldMode); -(function () { - this.getFoldWidgetRangeBase = this.getFoldWidgetRange; - this.getFoldWidgetBase = this.getFoldWidget; - this.getFoldWidget = function (session, foldStyle, row) { - var fw = this.getFoldWidgetBase(session, foldStyle, row); - if (!fw) { - return this.xmlFoldMode.getFoldWidget(session, foldStyle, row); - } - return fw; - }; - this.getFoldWidgetRange = function (session, foldStyle, row, forceMultiline) { - var range = this.getFoldWidgetRangeBase(session, foldStyle, row, forceMultiline); - if (range) - return range; - return this.xmlFoldMode.getFoldWidgetRange(session, foldStyle, row); - }; -}).call(FoldMode.prototype); - -}); - -ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/javascript","ace/mode/folding/javascript"], function(require, exports, module){"use strict"; -var oop = require("../lib/oop"); -var TextMode = require("./text").Mode; -var JavaScriptHighlightRules = require("./javascript_highlight_rules").JavaScriptHighlightRules; -var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent; -var WorkerClient = require("../worker/worker_client").WorkerClient; -var JavaScriptBehaviour = require("./behaviour/javascript").JavaScriptBehaviour; -var JavaScriptFoldMode = require("./folding/javascript").FoldMode; -var Mode = function () { - this.HighlightRules = JavaScriptHighlightRules; - this.$outdent = new MatchingBraceOutdent(); - this.$behaviour = new JavaScriptBehaviour(); - this.foldingRules = new JavaScriptFoldMode(); -}; -oop.inherits(Mode, TextMode); -(function () { - this.lineCommentStart = "//"; - this.blockComment = { start: "/*", end: "*/" }; - this.$quotes = { '"': '"', "'": "'", "`": "`" }; - this.$pairQuotesAfter = { - "`": /\w/ - }; - this.getNextLineIndent = function (state, line, tab) { - var indent = this.$getIndent(line); - var tokenizedLine = this.getTokenizer().getLineTokens(line, state); - var tokens = tokenizedLine.tokens; - var endState = tokenizedLine.state; - if (tokens.length && tokens[tokens.length - 1].type == "comment") { - return indent; - } - if (state == "start" || state == "no_regex") { - var match = line.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/); - if (match) { - indent += tab; - } - } - else if (state == "doc-start") { - if (endState == "start" || endState == "no_regex") { - return ""; - } - } - return indent; - }; - this.checkOutdent = function (state, line, input) { - return this.$outdent.checkOutdent(line, input); - }; - this.autoOutdent = function (state, doc, row) { - this.$outdent.autoOutdent(doc, row); - }; - this.createWorker = function (session) { - var worker = new WorkerClient(["ace"], "ace/mode/javascript_worker", "JavaScriptWorker"); - worker.attachToDocument(session.getDocument()); - worker.on("annotate", function (results) { - session.setAnnotations(results.data); - }); - worker.on("terminate", function () { - session.clearAnnotations(); - }); - return worker; - }; - this.$id = "ace/mode/javascript"; - this.snippetFileId = "ace/snippets/javascript"; -}).call(Mode.prototype); -exports.Mode = Mode; - -}); (function() { - ace.require(["ace/mode/javascript"], function(m) { - if (typeof module == "object" && typeof exports == "object" && module) { - module.exports = m; - } - }); - })(); - \ No newline at end of file diff --git a/webVue/assets/mode-json-812ca1e1.js b/webVue/assets/mode-json-812ca1e1.js deleted file mode 100644 index dd33f61..0000000 --- a/webVue/assets/mode-json-812ca1e1.js +++ /dev/null @@ -1,275 +0,0 @@ -ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"], function(require, exports, module){"use strict"; -var oop = require("../lib/oop"); -var TextHighlightRules = require("./text_highlight_rules").TextHighlightRules; -var JsonHighlightRules = function () { - this.$rules = { - "start": [ - { - token: "variable", // single line - regex: '["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)' - }, { - token: "string", // single line - regex: '"', - next: "string" - }, { - token: "constant.numeric", // hex - regex: "0[xX][0-9a-fA-F]+\\b" - }, { - token: "constant.numeric", // float - regex: "[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b" - }, { - token: "constant.language.boolean", - regex: "(?:true|false)\\b" - }, { - token: "text", // single quoted strings are not allowed - regex: "['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']" - }, { - token: "comment", // comments are not allowed, but who cares? - regex: "\\/\\/.*$" - }, { - token: "comment.start", // comments are not allowed, but who cares? - regex: "\\/\\*", - next: "comment" - }, { - token: "paren.lparen", - regex: "[[({]" - }, { - token: "paren.rparen", - regex: "[\\])}]" - }, { - token: "punctuation.operator", - regex: /[,]/ - }, { - token: "text", - regex: "\\s+" - } - ], - "string": [ - { - token: "constant.language.escape", - regex: /\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/ - }, { - token: "string", - regex: '"|$', - next: "start" - }, { - defaultToken: "string" - } - ], - "comment": [ - { - token: "comment.end", // comments are not allowed, but who cares? - regex: "\\*\\/", - next: "start" - }, { - defaultToken: "comment" - } - ] - }; -}; -oop.inherits(JsonHighlightRules, TextHighlightRules); -exports.JsonHighlightRules = JsonHighlightRules; - -}); - -ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"], function(require, exports, module){"use strict"; -var Range = require("../range").Range; -var MatchingBraceOutdent = function () { }; -(function () { - this.checkOutdent = function (line, input) { - if (!/^\s+$/.test(line)) - return false; - return /^\s*\}/.test(input); - }; - this.autoOutdent = function (doc, row) { - var line = doc.getLine(row); - var match = line.match(/^(\s*\})/); - if (!match) - return 0; - var column = match[1].length; - var openBracePos = doc.findMatchingBracket({ row: row, column: column }); - if (!openBracePos || openBracePos.row == row) - return 0; - var indent = this.$getIndent(doc.getLine(openBracePos.row)); - doc.replace(new Range(row, 0, row, column - 1), indent); - }; - this.$getIndent = function (line) { - return line.match(/^\s*/)[0]; - }; -}).call(MatchingBraceOutdent.prototype); -exports.MatchingBraceOutdent = MatchingBraceOutdent; - -}); - -ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"], function(require, exports, module){"use strict"; -var oop = require("../../lib/oop"); -var Range = require("../../range").Range; -var BaseFoldMode = require("./fold_mode").FoldMode; -var FoldMode = exports.FoldMode = function (commentRegex) { - if (commentRegex) { - this.foldingStartMarker = new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.start)); - this.foldingStopMarker = new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/, "|" + commentRegex.end)); - } -}; -oop.inherits(FoldMode, BaseFoldMode); -(function () { - this.foldingStartMarker = /([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/; - this.foldingStopMarker = /^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/; - this.singleLineBlockCommentRe = /^\s*(\/\*).*\*\/\s*$/; - this.tripleStarBlockCommentRe = /^\s*(\/\*\*\*).*\*\/\s*$/; - this.startRegionRe = /^\s*(\/\*|\/\/)#?region\b/; - this._getFoldWidgetBase = this.getFoldWidget; - this.getFoldWidget = function (session, foldStyle, row) { - var line = session.getLine(row); - if (this.singleLineBlockCommentRe.test(line)) { - if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line)) - return ""; - } - var fw = this._getFoldWidgetBase(session, foldStyle, row); - if (!fw && this.startRegionRe.test(line)) - return "start"; // lineCommentRegionStart - return fw; - }; - this.getFoldWidgetRange = function (session, foldStyle, row, forceMultiline) { - var line = session.getLine(row); - if (this.startRegionRe.test(line)) - return this.getCommentRegionBlock(session, line, row); - var match = line.match(this.foldingStartMarker); - if (match) { - var i = match.index; - if (match[1]) - return this.openingBracketBlock(session, match[1], row, i); - var range = session.getCommentFoldRange(row, i + match[0].length, 1); - if (range && !range.isMultiLine()) { - if (forceMultiline) { - range = this.getSectionRange(session, row); - } - else if (foldStyle != "all") - range = null; - } - return range; - } - if (foldStyle === "markbegin") - return; - var match = line.match(this.foldingStopMarker); - if (match) { - var i = match.index + match[0].length; - if (match[1]) - return this.closingBracketBlock(session, match[1], row, i); - return session.getCommentFoldRange(row, i, -1); - } - }; - this.getSectionRange = function (session, row) { - var line = session.getLine(row); - var startIndent = line.search(/\S/); - var startRow = row; - var startColumn = line.length; - row = row + 1; - var endRow = row; - var maxRow = session.getLength(); - while (++row < maxRow) { - line = session.getLine(row); - var indent = line.search(/\S/); - if (indent === -1) - continue; - if (startIndent > indent) - break; - var subRange = this.getFoldWidgetRange(session, "all", row); - if (subRange) { - if (subRange.start.row <= startRow) { - break; - } - else if (subRange.isMultiLine()) { - row = subRange.end.row; - } - else if (startIndent == indent) { - break; - } - } - endRow = row; - } - return new Range(startRow, startColumn, endRow, session.getLine(endRow).length); - }; - this.getCommentRegionBlock = function (session, line, row) { - var startColumn = line.search(/\s*$/); - var maxRow = session.getLength(); - var startRow = row; - var re = /^\s*(?:\/\*|\/\/|--)#?(end)?region\b/; - var depth = 1; - while (++row < maxRow) { - line = session.getLine(row); - var m = re.exec(line); - if (!m) - continue; - if (m[1]) - depth--; - else - depth++; - if (!depth) - break; - } - var endRow = row; - if (endRow > startRow) { - return new Range(startRow, startColumn, endRow, line.length); - } - }; -}).call(FoldMode.prototype); - -}); - -ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"], function(require, exports, module){"use strict"; -var oop = require("../lib/oop"); -var TextMode = require("./text").Mode; -var HighlightRules = require("./json_highlight_rules").JsonHighlightRules; -var MatchingBraceOutdent = require("./matching_brace_outdent").MatchingBraceOutdent; -var CStyleFoldMode = require("./folding/cstyle").FoldMode; -var WorkerClient = require("../worker/worker_client").WorkerClient; -var Mode = function () { - this.HighlightRules = HighlightRules; - this.$outdent = new MatchingBraceOutdent(); - this.$behaviour = this.$defaultBehaviour; - this.foldingRules = new CStyleFoldMode(); -}; -oop.inherits(Mode, TextMode); -(function () { - this.lineCommentStart = "//"; - this.blockComment = { start: "/*", end: "*/" }; - this.getNextLineIndent = function (state, line, tab) { - var indent = this.$getIndent(line); - if (state == "start") { - var match = line.match(/^.*[\{\(\[]\s*$/); - if (match) { - indent += tab; - } - } - return indent; - }; - this.checkOutdent = function (state, line, input) { - return this.$outdent.checkOutdent(line, input); - }; - this.autoOutdent = function (state, doc, row) { - this.$outdent.autoOutdent(doc, row); - }; - this.createWorker = function (session) { - var worker = new WorkerClient(["ace"], "ace/mode/json_worker", "JsonWorker"); - worker.attachToDocument(session.getDocument()); - worker.on("annotate", function (e) { - session.setAnnotations(e.data); - }); - worker.on("terminate", function () { - session.clearAnnotations(); - }); - return worker; - }; - this.$id = "ace/mode/json"; -}).call(Mode.prototype); -exports.Mode = Mode; - -}); (function() { - ace.require(["ace/mode/json"], function(m) { - if (typeof module == "object" && typeof exports == "object" && module) { - module.exports = m; - } - }); - })(); - \ No newline at end of file diff --git a/webVue/assets/overview-22717ad9.css b/webVue/assets/overview-22717ad9.css deleted file mode 100644 index df3bd8b..0000000 --- a/webVue/assets/overview-22717ad9.css +++ /dev/null @@ -1 +0,0 @@ -.vertical-radio-group[data-v-cf8bfc69]{display:flex;flex-direction:column;gap:5px;align-items:flex-start} diff --git a/webVue/assets/overview-dc287791.js b/webVue/assets/overview-dc287791.js deleted file mode 100644 index fac503e..0000000 --- a/webVue/assets/overview-dc287791.js +++ /dev/null @@ -1 +0,0 @@ -import{d as B,aP as N,r as C,x as y,$ as R,Z as S,aw as F,O as a,I as u,a as V,g as m,h as _,w as g,av as M,F as k,as as v,o as b,b as L,q as J,t as D,A as T,X as U,i as $,Y as A,_ as O}from"./index-9847718b.js";import{u as E}from"./index-fd059ba6.js";import{M as G}from"./index-868f5209.js";const X={class:"drawer-footer"},Y=B({name:"PreviewIndex111",__name:"overview",setup(Z){const f=N();console.log("参数11:",f.query.screen);let p=C(!1),x=y([]),r=C("-1");U();const w=C(),h=(s,e)=>{console.log(s,e),s=="test-dialog"&&u.success(`获取到了id:${e}`)};function I(s){const e={};for(const o in s)s[o]&&typeof s[o]=="object"&&"val"in s[o]&&(e[o]=s[o].val);return e}function P(){var l;let s=a.canvasCfg,e=a.gridCfg,o=A(a.done_json);a.done_json.forEach(d=>{const n=I(d.props);o.forEach(i=>{i.id===d.id&&(i.props=n)})});let t={canvasCfg:s,gridCfg:e,json:o};console.log("endJson:",t),(l=w.value)==null||l.setImportJson(t)}R(()=>{console.log("view卸载完毕")}),S(()=>{j()});async function j(){var e;let s={menuType:f.query.screen};try{const o=await F.model_getModelData_post(s);if(o.code==200){const t=await o.data,{canvasCfg:l,gridCfg:d,importDoneJson:n}=E(t),i=n.map(c=>c.props?{...c,props:y(c.props||{})}:{...c,props:y(c.props||{})});console.log("processedImportDoneJson:",i),(e=w.value)==null||e.setNewImportJson({canvasCfg:l,gridCfg:d,json:i}),a.group_ids.has(f.query.screen)&&a.group_ids.delete(f.query.screen),a.group_ids.set(f.query.screen,i.map(c=>c.id)),u.success("数据模型加载成功")}else u.error(`数据模型加载失败: ${o.code} - ${o.message}`)}catch(o){console.error("请求错误:",o),u.error("网络请求失败")}}function q(){console.log("选中:",r.value,r),(!r.value||r.value=="-1")&&u.warning("请先选择一个模型文件"),x.forEach(s=>{s.id==r.value&&fetch(`/dataModes/${s.name}`).then(e=>e.json()).then(e=>{console.log("文件内容:",e);const{canvasCfg:o,gridCfg:t,importDoneJson:l}=E(e);a.canvasCfg=o,a.gridCfg=t,a.setGlobalStoreDoneJson(l),P()}).catch(e=>{u.error("获取文件错误:",e)})})}return(s,e)=>{const o=v("el-radio"),t=v("el-radio-group"),l=v("el-button"),d=v("el-drawer");return b(),V(k,null,[m(_(G),{ref_key:"MtPreviewRef",ref:w,onOnEventCallBack:h},null,512),m(d,{modelValue:_(p),"onUpdate:modelValue":e[1]||(e[1]=n=>M(p)?p.value=n:p=n),modal:!1,title:"数据模型文件","modal-penetrable":""},{footer:g(()=>[L("div",X,[m(l,{onClick:q},{default:g(()=>[...e[2]||(e[2]=[J("加载模型",-1)])]),_:1})])]),default:g(()=>[m(t,{class:"vertical-radio-group",modelValue:_(r),"onUpdate:modelValue":e[0]||(e[0]=n=>M(r)?r.value=n:r=n)},{default:g(()=>[J(D(_(p))+" ",1),(b(!0),V(k,null,T(_(x),n=>(b(),$(o,{key:n.id,label:n.id},{default:g(()=>[J(D(n.name),1)]),_:2},1032,["label"]))),128))]),_:1},8,["modelValue"])]),_:1},8,["modelValue"])],64)}}});const Q=O(Y,[["__scopeId","data-v-cf8bfc69"]]);export{Q as default}; diff --git a/webVue/assets/view_index-ed158ebd.js b/webVue/assets/view_index-ed158ebd.js deleted file mode 100644 index 7dac917..0000000 --- a/webVue/assets/view_index-ed158ebd.js +++ /dev/null @@ -1 +0,0 @@ -import{d as E,aO as q,as as u,o as l,a as h,F as k,A as j,i as s,w as t,b as S,t as O,g as c,aQ as y,h as p,aR as D,p as f,a0 as z,aS as P,aC as $,_ as F,r as N,Z as Q,aT as A,x as B,aU as X,$ as Z,at as J,aV as K,aW as Y,P as ee,S as le,aX as te,q as ne}from"./index-9847718b.js";const ae={class:"main"},oe=["onClick"],ie={name:"doCreateMenu"},se=E({...ie,props:{menuList:{},isCollapse:{type:Boolean,default:!1}},setup(I){function v(r){console.log("routeName"),P.includes(r)&&$.emit("getStairRoute",r)}const d=q();function m(r){v(r.index),d.push({name:r.index,query:{screen:r.index}})}function b(r){v(r.name),d.push({name:r.name,query:{screen:r.name}})}return(r,M)=>{const i=u("el-icon"),n=u("el-menu-item"),g=u("menuDoCreateMenu",!0),x=u("el-sub-menu");return l(),h("div",ae,[(l(!0),h(k,null,j(I.menuList,e=>(l(),h(k,{key:e.path},[e.children?f("",!0):(l(),h(k,{key:0},[!e.children&&e.meta.hidden!==!0?(l(),s(n,{key:0,index:e.name,onClick:m},{title:t(()=>[S("span",null,O(e.meta.title),1)]),default:t(()=>[c(i,null,{default:t(()=>[e.meta.menuIcon?(l(),s(y(e.meta.menuIcon),{key:0})):(l(),s(y(p(D)),{key:1}))]),_:2},1024)]),_:2},1032,["index"])):f("",!0)],64)),e.children&&e.children.length===1?(l(),h(k,{key:1},[e.children&&e.children.length===1&&e.children[0].meta.hidden!==!0?(l(),s(n,{key:0,index:e.children[0].name,onClick:m},{title:t(()=>[S("span",null,O(e.children[0].meta.title),1)]),default:t(()=>[c(i,null,{default:t(()=>[e.meta.menuIcon?(l(),s(y(e.meta.menuIcon),{key:0})):(l(),s(y(p(D)),{key:1}))]),_:2},1024)]),_:2},1032,["index"])):f("",!0)],64)):f("",!0),e.children&&e.children.length>1&&e.children[0].name=="homeOverview"?(l(),h(k,{key:2},[e.children&&e.children.length>1&&e.children[0].meta.hidden!==!0?(l(),s(n,{key:0,index:e.children[0].name,onClick:m},{title:t(()=>[S("span",null,O(e.children[0].meta.title),1)]),default:t(()=>[c(i,null,{default:t(()=>[e.children[0].meta.menuIcon?(l(),s(y(e.children[0].meta.menuIcon),{key:0})):(l(),s(y(p(D)),{key:1}))]),_:2},1024)]),_:2},1032,["index"])):f("",!0)],64)):f("",!0),e.children&&e.children.length>1&&e.children[0].name!="homeOverview"?(l(),h(k,{key:3},[e.children&&e.children.length>1?(l(),s(x,{key:0,index:e.children[0].name},{title:t(()=>[c(i,null,{default:t(()=>[e.children[0].meta.menuIcon?(l(),s(y(e.children[0].meta.menuIcon),{key:0})):(l(),s(y(p(D)),{key:1}))]),_:2},1024),I.isCollapse?f("",!0):(l(),h("span",{key:0,onClick:z(C=>b(e.children[0]),["stop"])},O(e.children[0].meta.title),9,oe))]),default:t(()=>[c(g,{menuList:e.children},null,8,["menuList"])]),_:2},1032,["index"])):f("",!0)],64)):f("",!0)],64))),128))])}}}),ce=F(se,[["__scopeId","data-v-e2fcc64d"]]),re=E({__name:"menuIndex",props:{isCollapse:{type:Boolean,default:!1}},emits:["getMenuList"],setup(I,{emit:v}){let d=[];const m=N([]);function b(M,i){M.forEach(n=>{var g,x,e,C,o,_,a,w;if(!n.children&&!((g=n.meta)!=null&&g.bottomHidden)&&i.push({id:n.name,label:(x=n.meta)==null?void 0:x.title}),n.children&&((e=n.children)==null?void 0:e.length)===1&&!((C=n.meta)!=null&&C.bottomHidden)&&i.push({id:n.children[0].name,label:(o=n.children[0].meta)==null?void 0:o.title}),n.children&&((_=n.children)==null?void 0:_.length)>1&&!((a=n.meta)!=null&&a.bottomHidden)){const L={id:n.children[0].name,label:(w=n.children[0].meta)==null?void 0:w.title,children:[]};b(n.children,L.children),i.push(L)}})}const r=v;return Q(()=>{b(A.options.routes,d),m.value=Array.from(A.options.routes),r("getMenuList",d)}),(M,i)=>(l(),h("div",null,[c(ce,{menuList:m.value,"is-collapse":I.isCollapse},null,8,["menuList","is-collapse"])]))}}),de={class:"common-layout"},ue={class:"el-main-core"},he={key:0,class:"footer-navigation"},_e=E({__name:"view_index",setup(I){let v=[{id:"homeGlobalMessage",label:"全站报文"},{id:"homeExceedMessage",label:"越限信息"},{id:"homeExceptionFacility",label:"异常设备"},{id:"fireControlIndex",label:"消防系统"},{id:"securityIndex",label:"安全防范"},{id:"monitoringIndex",label:"在线监测"},{id:"waterSupply",label:"给排水系统"},{id:"environmentIndex",label:"环境监控"},{id:"lightingIndex",label:"照明控制"},{id:"testOverview",label:"智能锁控"},{id:"testOverview",label:"智能联动"}];const d=N(!1),m=N("20%");function b(){d.value=!d.value,m.value=d.value?"4%":"20%"}const r=q();function M(o){d.value=!0,m.value="4%",console.log("url:",o),r.push({name:o,query:{screen:o}})}let i=B([]);function n(o){i=o,console.log("父类拿到treeData:",i)}X(()=>i,o=>{console.log("treeData:",o)});let g=[],x=N();$.on("getStairRoute",o=>{console.log("楼梯路由11:",o,i),x.value=o;const _=o;i&&i.length>0&&_&&i.forEach(a=>{if(a.id===_){if(a.children&&a.children.length>0&&_!="homeOverview"){g=[],a.children.forEach(w=>{g.push(w)}),console.log("buttonNames:",g),e.length=0,C(g,e),console.log("targetArr:",e);return}else if(a.children&&a.children.length>0&&_=="homeOverview"){e.length=0,Object.assign(e,v),console.log("targetArr:",e);return}if(!a.children&&a.id=="homeOverview"){e.length=0,Object.assign(e,v),console.log("targetArr:",e);return}}})});let e=B([]);Object.assign(e,v);function C(o,_){o.forEach(a=>{a.children&&a.children.length>0?C(a.children,_):_.push(a)})}return Z(()=>{$.off("getStairRoute")}),(o,_)=>{const a=u("el-icon"),w=u("el-menu"),L=u("el-scrollbar"),H=u("el-aside"),T=u("el-main"),V=u("el-container"),U=u("el-button"),G=u("el-footer"),W=J("loading");return l(),h("div",de,[c(V,null,{default:t(()=>[c(V,null,{default:t(()=>[(l(),s(H,{key:0,class:"el-aside",style:ee({width:m.value})},{default:t(()=>[S("div",{class:"toggle-button",onClick:b},[d.value?(l(),s(a,{key:1},{default:t(()=>[c(p(Y))]),_:1})):(l(),s(a,{key:0},{default:t(()=>[c(p(K))]),_:1}))]),c(L,{class:"el-scrollbar"},{default:t(()=>[c(w,{collapse:d.value,"collapse-transition":!1,"default-active":o.$route.name},{default:t(()=>[c(re,{"is-collapse":d.value,onGetMenuList:n},null,8,["is-collapse"])]),_:1},8,["collapse","default-active"])]),_:1})]),_:1},8,["style"])),le((l(),s(T,{class:"el-main"},{default:t(()=>[c(L,null,{default:t(()=>[S("div",ue,[c(p(te))])]),_:1})]),_:1})),[[W,!1]])]),_:1}),c(G,{class:"el-footer"},{default:t(()=>[p(e)&&p(e).length>0?(l(),h("div",he,[(l(!0),h(k,null,j(p(e),R=>(l(),s(U,{onClick:me=>M(R.id),key:R.id,plain:"",class:"nav-item flex-1"},{default:t(()=>[ne(O(R.label),1)]),_:2},1032,["onClick"]))),128))])):f("",!0)]),_:1})]),_:1})])}}}),pe=F(_e,[["__scopeId","data-v-65c426ec"]]);export{pe as default}; diff --git a/webVue/assets/worker-base-78504947.js b/webVue/assets/worker-base-78504947.js deleted file mode 100644 index 5c1bc09..0000000 --- a/webVue/assets/worker-base-78504947.js +++ /dev/null @@ -1,1332 +0,0 @@ -"no use strict"; -!(function(window) { -if (typeof window.window != "undefined" && window.document) - return; -if (window.require && window.define) - return; - -if (!window.console) { - window.console = function() { - var msgs = Array.prototype.slice.call(arguments, 0); - postMessage({type: "log", data: msgs}); - }; - window.console.error = - window.console.warn = - window.console.log = - window.console.trace = window.console; -} -window.window = window; -window.ace = window; - -window.onerror = function(message, file, line, col, err) { - postMessage({type: "error", data: { - message: message, - data: err && err.data, - file: file, - line: line, - col: col, - stack: err && err.stack - }}); -}; - -window.normalizeModule = function(parentId, moduleName) { - // normalize plugin requires - if (moduleName.indexOf("!") !== -1) { - var chunks = moduleName.split("!"); - return window.normalizeModule(parentId, chunks[0]) + "!" + window.normalizeModule(parentId, chunks[1]); - } - // normalize relative requires - if (moduleName.charAt(0) == ".") { - var base = parentId.split("/").slice(0, -1).join("/"); - moduleName = (base ? base + "/" : "") + moduleName; - - while (moduleName.indexOf(".") !== -1 && previous != moduleName) { - var previous = moduleName; - moduleName = moduleName.replace(/^\.\//, "").replace(/\/\.\//, "/").replace(/[^\/]+\/\.\.\//, ""); - } - } - - return moduleName; -}; - -window.require = function require(parentId, id) { - if (!id) { - id = parentId; - parentId = null; - } - if (!id.charAt) - throw new Error("worker.js require() accepts only (parentId, id) as arguments"); - - id = window.normalizeModule(parentId, id); - - var module = window.require.modules[id]; - if (module) { - if (!module.initialized) { - module.initialized = true; - module.exports = module.factory().exports; - } - return module.exports; - } - - if (!window.require.tlns) - return console.log("unable to load " + id); - - var path = resolveModuleId(id, window.require.tlns); - if (path.slice(-3) != ".js") path += ".js"; - - window.require.id = id; - window.require.modules[id] = {}; // prevent infinite loop on broken modules - importScripts(path); - return window.require(parentId, id); -}; -function resolveModuleId(id, paths) { - var testPath = id, tail = ""; - while (testPath) { - var alias = paths[testPath]; - if (typeof alias == "string") { - return alias + tail; - } else if (alias) { - return alias.location.replace(/\/*$/, "/") + (tail || alias.main || alias.name); - } else if (alias === false) { - return ""; - } - var i = testPath.lastIndexOf("/"); - if (i === -1) break; - tail = testPath.substr(i) + tail; - testPath = testPath.slice(0, i); - } - return id; -} -window.require.modules = {}; -window.require.tlns = {}; - -window.define = function(id, deps, factory) { - if (arguments.length == 2) { - factory = deps; - if (typeof id != "string") { - deps = id; - id = window.require.id; - } - } else if (arguments.length == 1) { - factory = id; - deps = []; - id = window.require.id; - } - - if (typeof factory != "function") { - window.require.modules[id] = { - exports: factory, - initialized: true - }; - return; - } - - if (!deps.length) - // If there is no dependencies, we inject "require", "exports" and - // "module" as dependencies, to provide CommonJS compatibility. - deps = ["require", "exports", "module"]; - - var req = function(childId) { - return window.require(id, childId); - }; - - window.require.modules[id] = { - exports: {}, - factory: function() { - var module = this; - var returnExports = factory.apply(this, deps.slice(0, factory.length).map(function(dep) { - switch (dep) { - // Because "require", "exports" and "module" aren't actual - // dependencies, we must handle them seperately. - case "require": return req; - case "exports": return module.exports; - case "module": return module; - // But for all other dependencies, we can just go ahead and - // require them. - default: return req(dep); - } - })); - if (returnExports) - module.exports = returnExports; - return module; - } - }; -}; -window.define.amd = {}; -window.require.tlns = {}; -window.initBaseUrls = function initBaseUrls(topLevelNamespaces) { - for (var i in topLevelNamespaces) - this.require.tlns[i] = topLevelNamespaces[i]; -}; - -window.initSender = function initSender() { - - var EventEmitter = window.require("ace/lib/event_emitter").EventEmitter; - var oop = window.require("ace/lib/oop"); - - var Sender = function() {}; - - (function() { - - oop.implement(this, EventEmitter); - - this.callback = function(data, callbackId) { - postMessage({ - type: "call", - id: callbackId, - data: data - }); - }; - - this.emit = function(name, data) { - postMessage({ - type: "event", - name: name, - data: data - }); - }; - - }).call(Sender.prototype); - - return new Sender(); -}; - -var main = window.main = null; -var sender = window.sender = null; - -window.onmessage = function(e) { - var msg = e.data; - if (msg.event && sender) { - sender._signal(msg.event, msg.data); - } - else if (msg.command) { - if (main[msg.command]) - main[msg.command].apply(main, msg.args); - else if (window[msg.command]) - window[msg.command].apply(window, msg.args); - else - throw new Error("Unknown command:" + msg.command); - } - else if (msg.init) { - window.initBaseUrls(msg.tlns); - sender = window.sender = window.initSender(); - var clazz = this.require(msg.module)[msg.classname]; - main = window.main = new clazz(sender); - } -}; -})(this); - -ace.define("ace/lib/oop",[], function(require, exports, module){"use strict"; -exports.inherits = function (ctor, superCtor) { - ctor.super_ = superCtor; - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); -}; -exports.mixin = function (obj, mixin) { - for (var key in mixin) { - obj[key] = mixin[key]; - } - return obj; -}; -exports.implement = function (proto, mixin) { - exports.mixin(proto, mixin); -}; - -}); - -ace.define("ace/apply_delta",[], function(require, exports, module){"use strict"; -function throwDeltaError(delta, errorText) { - console.log("Invalid Delta:", delta); - throw "Invalid Delta: " + errorText; -} -function positionInDocument(docLines, position) { - return position.row >= 0 && position.row < docLines.length && - position.column >= 0 && position.column <= docLines[position.row].length; -} -function validateDelta(docLines, delta) { - if (delta.action != "insert" && delta.action != "remove") - throwDeltaError(delta, "delta.action must be 'insert' or 'remove'"); - if (!(delta.lines instanceof Array)) - throwDeltaError(delta, "delta.lines must be an Array"); - if (!delta.start || !delta.end) - throwDeltaError(delta, "delta.start/end must be an present"); - var start = delta.start; - if (!positionInDocument(docLines, delta.start)) - throwDeltaError(delta, "delta.start must be contained in document"); - var end = delta.end; - if (delta.action == "remove" && !positionInDocument(docLines, end)) - throwDeltaError(delta, "delta.end must contained in document for 'remove' actions"); - var numRangeRows = end.row - start.row; - var numRangeLastLineChars = (end.column - (numRangeRows == 0 ? start.column : 0)); - if (numRangeRows != delta.lines.length - 1 || delta.lines[numRangeRows].length != numRangeLastLineChars) - throwDeltaError(delta, "delta.range must match delta lines"); -} -exports.applyDelta = function (docLines, delta, doNotValidate) { - var row = delta.start.row; - var startColumn = delta.start.column; - var line = docLines[row] || ""; - switch (delta.action) { - case "insert": - var lines = delta.lines; - if (lines.length === 1) { - docLines[row] = line.substring(0, startColumn) + delta.lines[0] + line.substring(startColumn); - } - else { - var args = [row, 1].concat(delta.lines); - docLines.splice.apply(docLines, args); - docLines[row] = line.substring(0, startColumn) + docLines[row]; - docLines[row + delta.lines.length - 1] += line.substring(startColumn); - } - break; - case "remove": - var endColumn = delta.end.column; - var endRow = delta.end.row; - if (row === endRow) { - docLines[row] = line.substring(0, startColumn) + line.substring(endColumn); - } - else { - docLines.splice(row, endRow - row + 1, line.substring(0, startColumn) + docLines[endRow].substring(endColumn)); - } - break; - } -}; - -}); - -ace.define("ace/lib/event_emitter",[], function(require, exports, module){"use strict"; -var EventEmitter = {}; -var stopPropagation = function () { this.propagationStopped = true; }; -var preventDefault = function () { this.defaultPrevented = true; }; -EventEmitter._emit = - EventEmitter._dispatchEvent = function (eventName, e) { - this._eventRegistry || (this._eventRegistry = {}); - this._defaultHandlers || (this._defaultHandlers = {}); - var listeners = this._eventRegistry[eventName] || []; - var defaultHandler = this._defaultHandlers[eventName]; - if (!listeners.length && !defaultHandler) - return; - if (typeof e != "object" || !e) - e = {}; - if (!e.type) - e.type = eventName; - if (!e.stopPropagation) - e.stopPropagation = stopPropagation; - if (!e.preventDefault) - e.preventDefault = preventDefault; - listeners = listeners.slice(); - for (var i = 0; i < listeners.length; i++) { - listeners[i](e, this); - if (e.propagationStopped) - break; - } - if (defaultHandler && !e.defaultPrevented) - return defaultHandler(e, this); - }; -EventEmitter._signal = function (eventName, e) { - var listeners = (this._eventRegistry || {})[eventName]; - if (!listeners) - return; - listeners = listeners.slice(); - for (var i = 0; i < listeners.length; i++) - listeners[i](e, this); -}; -EventEmitter.once = function (eventName, callback) { - var _self = this; - this.on(eventName, function newCallback() { - _self.off(eventName, newCallback); - callback.apply(null, arguments); - }); - if (!callback) { - return new Promise(function (resolve) { - callback = resolve; - }); - } -}; -EventEmitter.setDefaultHandler = function (eventName, callback) { - var handlers = this._defaultHandlers; - if (!handlers) - handlers = this._defaultHandlers = { _disabled_: {} }; - if (handlers[eventName]) { - var old = handlers[eventName]; - var disabled = handlers._disabled_[eventName]; - if (!disabled) - handlers._disabled_[eventName] = disabled = []; - disabled.push(old); - var i = disabled.indexOf(callback); - if (i != -1) - disabled.splice(i, 1); - } - handlers[eventName] = callback; -}; -EventEmitter.removeDefaultHandler = function (eventName, callback) { - var handlers = this._defaultHandlers; - if (!handlers) - return; - var disabled = handlers._disabled_[eventName]; - if (handlers[eventName] == callback) { - if (disabled) - this.setDefaultHandler(eventName, disabled.pop()); - } - else if (disabled) { - var i = disabled.indexOf(callback); - if (i != -1) - disabled.splice(i, 1); - } -}; -EventEmitter.on = - EventEmitter.addEventListener = function (eventName, callback, capturing) { - this._eventRegistry = this._eventRegistry || {}; - var listeners = this._eventRegistry[eventName]; - if (!listeners) - listeners = this._eventRegistry[eventName] = []; - if (listeners.indexOf(callback) == -1) - listeners[capturing ? "unshift" : "push"](callback); - return callback; - }; -EventEmitter.off = - EventEmitter.removeListener = - EventEmitter.removeEventListener = function (eventName, callback) { - this._eventRegistry = this._eventRegistry || {}; - var listeners = this._eventRegistry[eventName]; - if (!listeners) - return; - var index = listeners.indexOf(callback); - if (index !== -1) - listeners.splice(index, 1); - }; -EventEmitter.removeAllListeners = function (eventName) { - if (!eventName) - this._eventRegistry = this._defaultHandlers = undefined; - if (this._eventRegistry) - this._eventRegistry[eventName] = undefined; - if (this._defaultHandlers) - this._defaultHandlers[eventName] = undefined; -}; -exports.EventEmitter = EventEmitter; - -}); - -ace.define("ace/range",[], function(require, exports, module){"use strict"; -var Range = /** @class */ (function () { - function Range(startRow, startColumn, endRow, endColumn) { - this.start = { - row: startRow, - column: startColumn - }; - this.end = { - row: endRow, - column: endColumn - }; - } - Range.prototype.isEqual = function (range) { - return this.start.row === range.start.row && - this.end.row === range.end.row && - this.start.column === range.start.column && - this.end.column === range.end.column; - }; - Range.prototype.toString = function () { - return ("Range: [" + this.start.row + "/" + this.start.column + - "] -> [" + this.end.row + "/" + this.end.column + "]"); - }; - Range.prototype.contains = function (row, column) { - return this.compare(row, column) == 0; - }; - Range.prototype.compareRange = function (range) { - var cmp, end = range.end, start = range.start; - cmp = this.compare(end.row, end.column); - if (cmp == 1) { - cmp = this.compare(start.row, start.column); - if (cmp == 1) { - return 2; - } - else if (cmp == 0) { - return 1; - } - else { - return 0; - } - } - else if (cmp == -1) { - return -2; - } - else { - cmp = this.compare(start.row, start.column); - if (cmp == -1) { - return -1; - } - else if (cmp == 1) { - return 42; - } - else { - return 0; - } - } - }; - Range.prototype.comparePoint = function (p) { - return this.compare(p.row, p.column); - }; - Range.prototype.containsRange = function (range) { - return this.comparePoint(range.start) == 0 && this.comparePoint(range.end) == 0; - }; - Range.prototype.intersects = function (range) { - var cmp = this.compareRange(range); - return (cmp == -1 || cmp == 0 || cmp == 1); - }; - Range.prototype.isEnd = function (row, column) { - return this.end.row == row && this.end.column == column; - }; - Range.prototype.isStart = function (row, column) { - return this.start.row == row && this.start.column == column; - }; - Range.prototype.setStart = function (row, column) { - if (typeof row == "object") { - this.start.column = row.column; - this.start.row = row.row; - } - else { - this.start.row = row; - this.start.column = column; - } - }; - Range.prototype.setEnd = function (row, column) { - if (typeof row == "object") { - this.end.column = row.column; - this.end.row = row.row; - } - else { - this.end.row = row; - this.end.column = column; - } - }; - Range.prototype.inside = function (row, column) { - if (this.compare(row, column) == 0) { - if (this.isEnd(row, column) || this.isStart(row, column)) { - return false; - } - else { - return true; - } - } - return false; - }; - Range.prototype.insideStart = function (row, column) { - if (this.compare(row, column) == 0) { - if (this.isEnd(row, column)) { - return false; - } - else { - return true; - } - } - return false; - }; - Range.prototype.insideEnd = function (row, column) { - if (this.compare(row, column) == 0) { - if (this.isStart(row, column)) { - return false; - } - else { - return true; - } - } - return false; - }; - Range.prototype.compare = function (row, column) { - if (!this.isMultiLine()) { - if (row === this.start.row) { - return column < this.start.column ? -1 : (column > this.end.column ? 1 : 0); - } - } - if (row < this.start.row) - return -1; - if (row > this.end.row) - return 1; - if (this.start.row === row) - return column >= this.start.column ? 0 : -1; - if (this.end.row === row) - return column <= this.end.column ? 0 : 1; - return 0; - }; - Range.prototype.compareStart = function (row, column) { - if (this.start.row == row && this.start.column == column) { - return -1; - } - else { - return this.compare(row, column); - } - }; - Range.prototype.compareEnd = function (row, column) { - if (this.end.row == row && this.end.column == column) { - return 1; - } - else { - return this.compare(row, column); - } - }; - Range.prototype.compareInside = function (row, column) { - if (this.end.row == row && this.end.column == column) { - return 1; - } - else if (this.start.row == row && this.start.column == column) { - return -1; - } - else { - return this.compare(row, column); - } - }; - Range.prototype.clipRows = function (firstRow, lastRow) { - if (this.end.row > lastRow) - var end = { row: lastRow + 1, column: 0 }; - else if (this.end.row < firstRow) - var end = { row: firstRow, column: 0 }; - if (this.start.row > lastRow) - var start = { row: lastRow + 1, column: 0 }; - else if (this.start.row < firstRow) - var start = { row: firstRow, column: 0 }; - return Range.fromPoints(start || this.start, end || this.end); - }; - Range.prototype.extend = function (row, column) { - var cmp = this.compare(row, column); - if (cmp == 0) - return this; - else if (cmp == -1) - var start = { row: row, column: column }; - else - var end = { row: row, column: column }; - return Range.fromPoints(start || this.start, end || this.end); - }; - Range.prototype.isEmpty = function () { - return (this.start.row === this.end.row && this.start.column === this.end.column); - }; - Range.prototype.isMultiLine = function () { - return (this.start.row !== this.end.row); - }; - Range.prototype.clone = function () { - return Range.fromPoints(this.start, this.end); - }; - Range.prototype.collapseRows = function () { - if (this.end.column == 0) - return new Range(this.start.row, 0, Math.max(this.start.row, this.end.row - 1), 0); - else - return new Range(this.start.row, 0, this.end.row, 0); - }; - Range.prototype.toScreenRange = function (session) { - var screenPosStart = session.documentToScreenPosition(this.start); - var screenPosEnd = session.documentToScreenPosition(this.end); - return new Range(screenPosStart.row, screenPosStart.column, screenPosEnd.row, screenPosEnd.column); - }; - Range.prototype.moveBy = function (row, column) { - this.start.row += row; - this.start.column += column; - this.end.row += row; - this.end.column += column; - }; - return Range; -}()); -Range.fromPoints = function (start, end) { - return new Range(start.row, start.column, end.row, end.column); -}; -Range.comparePoints = function (p1, p2) { - return p1.row - p2.row || p1.column - p2.column; -}; -exports.Range = Range; - -}); - -ace.define("ace/anchor",[], function(require, exports, module){"use strict"; -var oop = require("./lib/oop"); -var EventEmitter = require("./lib/event_emitter").EventEmitter; -var Anchor = /** @class */ (function () { - function Anchor(doc, row, column) { - this.$onChange = this.onChange.bind(this); - this.attach(doc); - if (typeof row != "number") - this.setPosition(row.row, row.column); - else - this.setPosition(row, column); - } - Anchor.prototype.getPosition = function () { - return this.$clipPositionToDocument(this.row, this.column); - }; - Anchor.prototype.getDocument = function () { - return this.document; - }; - Anchor.prototype.onChange = function (delta) { - if (delta.start.row == delta.end.row && delta.start.row != this.row) - return; - if (delta.start.row > this.row) - return; - var point = $getTransformedPoint(delta, { row: this.row, column: this.column }, this.$insertRight); - this.setPosition(point.row, point.column, true); - }; - Anchor.prototype.setPosition = function (row, column, noClip) { - var pos; - if (noClip) { - pos = { - row: row, - column: column - }; - } - else { - pos = this.$clipPositionToDocument(row, column); - } - if (this.row == pos.row && this.column == pos.column) - return; - var old = { - row: this.row, - column: this.column - }; - this.row = pos.row; - this.column = pos.column; - this._signal("change", { - old: old, - value: pos - }); - }; - Anchor.prototype.detach = function () { - this.document.off("change", this.$onChange); - }; - Anchor.prototype.attach = function (doc) { - this.document = doc || this.document; - this.document.on("change", this.$onChange); - }; - Anchor.prototype.$clipPositionToDocument = function (row, column) { - var pos = {}; - if (row >= this.document.getLength()) { - pos.row = Math.max(0, this.document.getLength() - 1); - pos.column = this.document.getLine(pos.row).length; - } - else if (row < 0) { - pos.row = 0; - pos.column = 0; - } - else { - pos.row = row; - pos.column = Math.min(this.document.getLine(pos.row).length, Math.max(0, column)); - } - if (column < 0) - pos.column = 0; - return pos; - }; - return Anchor; -}()); -Anchor.prototype.$insertRight = false; -oop.implement(Anchor.prototype, EventEmitter); -function $pointsInOrder(point1, point2, equalPointsInOrder) { - var bColIsAfter = equalPointsInOrder ? point1.column <= point2.column : point1.column < point2.column; - return (point1.row < point2.row) || (point1.row == point2.row && bColIsAfter); -} -function $getTransformedPoint(delta, point, moveIfEqual) { - var deltaIsInsert = delta.action == "insert"; - var deltaRowShift = (deltaIsInsert ? 1 : -1) * (delta.end.row - delta.start.row); - var deltaColShift = (deltaIsInsert ? 1 : -1) * (delta.end.column - delta.start.column); - var deltaStart = delta.start; - var deltaEnd = deltaIsInsert ? deltaStart : delta.end; // Collapse insert range. - if ($pointsInOrder(point, deltaStart, moveIfEqual)) { - return { - row: point.row, - column: point.column - }; - } - if ($pointsInOrder(deltaEnd, point, !moveIfEqual)) { - return { - row: point.row + deltaRowShift, - column: point.column + (point.row == deltaEnd.row ? deltaColShift : 0) - }; - } - return { - row: deltaStart.row, - column: deltaStart.column - }; -} -exports.Anchor = Anchor; - -}); - -ace.define("ace/document",[], function(require, exports, module){"use strict"; -var oop = require("./lib/oop"); -var applyDelta = require("./apply_delta").applyDelta; -var EventEmitter = require("./lib/event_emitter").EventEmitter; -var Range = require("./range").Range; -var Anchor = require("./anchor").Anchor; -var Document = /** @class */ (function () { - function Document(textOrLines) { - this.$lines = [""]; - if (textOrLines.length === 0) { - this.$lines = [""]; - } - else if (Array.isArray(textOrLines)) { - this.insertMergedLines({ row: 0, column: 0 }, textOrLines); - } - else { - this.insert({ row: 0, column: 0 }, textOrLines); - } - } - Document.prototype.setValue = function (text) { - var len = this.getLength() - 1; - this.remove(new Range(0, 0, len, this.getLine(len).length)); - this.insert({ row: 0, column: 0 }, text || ""); - }; - Document.prototype.getValue = function () { - return this.getAllLines().join(this.getNewLineCharacter()); - }; - Document.prototype.createAnchor = function (row, column) { - return new Anchor(this, row, column); - }; - Document.prototype.$detectNewLine = function (text) { - var match = text.match(/^.*?(\r\n|\r|\n)/m); - this.$autoNewLine = match ? match[1] : "\n"; - this._signal("changeNewLineMode"); - }; - Document.prototype.getNewLineCharacter = function () { - switch (this.$newLineMode) { - case "windows": - return "\r\n"; - case "unix": - return "\n"; - default: - return this.$autoNewLine || "\n"; - } - }; - Document.prototype.setNewLineMode = function (newLineMode) { - if (this.$newLineMode === newLineMode) - return; - this.$newLineMode = newLineMode; - this._signal("changeNewLineMode"); - }; - Document.prototype.getNewLineMode = function () { - return this.$newLineMode; - }; - Document.prototype.isNewLine = function (text) { - return (text == "\r\n" || text == "\r" || text == "\n"); - }; - Document.prototype.getLine = function (row) { - return this.$lines[row] || ""; - }; - Document.prototype.getLines = function (firstRow, lastRow) { - return this.$lines.slice(firstRow, lastRow + 1); - }; - Document.prototype.getAllLines = function () { - return this.getLines(0, this.getLength()); - }; - Document.prototype.getLength = function () { - return this.$lines.length; - }; - Document.prototype.getTextRange = function (range) { - return this.getLinesForRange(range).join(this.getNewLineCharacter()); - }; - Document.prototype.getLinesForRange = function (range) { - var lines; - if (range.start.row === range.end.row) { - lines = [this.getLine(range.start.row).substring(range.start.column, range.end.column)]; - } - else { - lines = this.getLines(range.start.row, range.end.row); - lines[0] = (lines[0] || "").substring(range.start.column); - var l = lines.length - 1; - if (range.end.row - range.start.row == l) - lines[l] = lines[l].substring(0, range.end.column); - } - return lines; - }; - Document.prototype.insertLines = function (row, lines) { - console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."); - return this.insertFullLines(row, lines); - }; - Document.prototype.removeLines = function (firstRow, lastRow) { - console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."); - return this.removeFullLines(firstRow, lastRow); - }; - Document.prototype.insertNewLine = function (position) { - console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."); - return this.insertMergedLines(position, ["", ""]); - }; - Document.prototype.insert = function (position, text) { - if (this.getLength() <= 1) - this.$detectNewLine(text); - return this.insertMergedLines(position, this.$split(text)); - }; - Document.prototype.insertInLine = function (position, text) { - var start = this.clippedPos(position.row, position.column); - var end = this.pos(position.row, position.column + text.length); - this.applyDelta({ - start: start, - end: end, - action: "insert", - lines: [text] - }, true); - return this.clonePos(end); - }; - Document.prototype.clippedPos = function (row, column) { - var length = this.getLength(); - if (row === undefined) { - row = length; - } - else if (row < 0) { - row = 0; - } - else if (row >= length) { - row = length - 1; - column = undefined; - } - var line = this.getLine(row); - if (column == undefined) - column = line.length; - column = Math.min(Math.max(column, 0), line.length); - return { row: row, column: column }; - }; - Document.prototype.clonePos = function (pos) { - return { row: pos.row, column: pos.column }; - }; - Document.prototype.pos = function (row, column) { - return { row: row, column: column }; - }; - Document.prototype.$clipPosition = function (position) { - var length = this.getLength(); - if (position.row >= length) { - position.row = Math.max(0, length - 1); - position.column = this.getLine(length - 1).length; - } - else { - position.row = Math.max(0, position.row); - position.column = Math.min(Math.max(position.column, 0), this.getLine(position.row).length); - } - return position; - }; - Document.prototype.insertFullLines = function (row, lines) { - row = Math.min(Math.max(row, 0), this.getLength()); - var column = 0; - if (row < this.getLength()) { - lines = lines.concat([""]); - column = 0; - } - else { - lines = [""].concat(lines); - row--; - column = this.$lines[row].length; - } - this.insertMergedLines({ row: row, column: column }, lines); - }; - Document.prototype.insertMergedLines = function (position, lines) { - var start = this.clippedPos(position.row, position.column); - var end = { - row: start.row + lines.length - 1, - column: (lines.length == 1 ? start.column : 0) + lines[lines.length - 1].length - }; - this.applyDelta({ - start: start, - end: end, - action: "insert", - lines: lines - }); - return this.clonePos(end); - }; - Document.prototype.remove = function (range) { - var start = this.clippedPos(range.start.row, range.start.column); - var end = this.clippedPos(range.end.row, range.end.column); - this.applyDelta({ - start: start, - end: end, - action: "remove", - lines: this.getLinesForRange({ start: start, end: end }) - }); - return this.clonePos(start); - }; - Document.prototype.removeInLine = function (row, startColumn, endColumn) { - var start = this.clippedPos(row, startColumn); - var end = this.clippedPos(row, endColumn); - this.applyDelta({ - start: start, - end: end, - action: "remove", - lines: this.getLinesForRange({ start: start, end: end }) - }, true); - return this.clonePos(start); - }; - Document.prototype.removeFullLines = function (firstRow, lastRow) { - firstRow = Math.min(Math.max(0, firstRow), this.getLength() - 1); - lastRow = Math.min(Math.max(0, lastRow), this.getLength() - 1); - var deleteFirstNewLine = lastRow == this.getLength() - 1 && firstRow > 0; - var deleteLastNewLine = lastRow < this.getLength() - 1; - var startRow = (deleteFirstNewLine ? firstRow - 1 : firstRow); - var startCol = (deleteFirstNewLine ? this.getLine(startRow).length : 0); - var endRow = (deleteLastNewLine ? lastRow + 1 : lastRow); - var endCol = (deleteLastNewLine ? 0 : this.getLine(endRow).length); - var range = new Range(startRow, startCol, endRow, endCol); - var deletedLines = this.$lines.slice(firstRow, lastRow + 1); - this.applyDelta({ - start: range.start, - end: range.end, - action: "remove", - lines: this.getLinesForRange(range) - }); - return deletedLines; - }; - Document.prototype.removeNewLine = function (row) { - if (row < this.getLength() - 1 && row >= 0) { - this.applyDelta({ - start: this.pos(row, this.getLine(row).length), - end: this.pos(row + 1, 0), - action: "remove", - lines: ["", ""] - }); - } - }; - Document.prototype.replace = function (range, text) { - if (!(range instanceof Range)) - range = Range.fromPoints(range.start, range.end); - if (text.length === 0 && range.isEmpty()) - return range.start; - if (text == this.getTextRange(range)) - return range.end; - this.remove(range); - var end; - if (text) { - end = this.insert(range.start, text); - } - else { - end = range.start; - } - return end; - }; - Document.prototype.applyDeltas = function (deltas) { - for (var i = 0; i < deltas.length; i++) { - this.applyDelta(deltas[i]); - } - }; - Document.prototype.revertDeltas = function (deltas) { - for (var i = deltas.length - 1; i >= 0; i--) { - this.revertDelta(deltas[i]); - } - }; - Document.prototype.applyDelta = function (delta, doNotValidate) { - var isInsert = delta.action == "insert"; - if (isInsert ? delta.lines.length <= 1 && !delta.lines[0] - : !Range.comparePoints(delta.start, delta.end)) { - return; - } - if (isInsert && delta.lines.length > 20000) { - this.$splitAndapplyLargeDelta(delta, 20000); - } - else { - applyDelta(this.$lines, delta, doNotValidate); - this._signal("change", delta); - } - }; - Document.prototype.$safeApplyDelta = function (delta) { - var docLength = this.$lines.length; - if (delta.action == "remove" && delta.start.row < docLength && delta.end.row < docLength - || delta.action == "insert" && delta.start.row <= docLength) { - this.applyDelta(delta); - } - }; - Document.prototype.$splitAndapplyLargeDelta = function (delta, MAX) { - var lines = delta.lines; - var l = lines.length - MAX + 1; - var row = delta.start.row; - var column = delta.start.column; - for (var from = 0, to = 0; from < l; from = to) { - to += MAX - 1; - var chunk = lines.slice(from, to); - chunk.push(""); - this.applyDelta({ - start: this.pos(row + from, column), - end: this.pos(row + to, column = 0), - action: delta.action, - lines: chunk - }, true); - } - delta.lines = lines.slice(from); - delta.start.row = row + from; - delta.start.column = column; - this.applyDelta(delta, true); - }; - Document.prototype.revertDelta = function (delta) { - this.$safeApplyDelta({ - start: this.clonePos(delta.start), - end: this.clonePos(delta.end), - action: (delta.action == "insert" ? "remove" : "insert"), - lines: delta.lines.slice() - }); - }; - Document.prototype.indexToPosition = function (index, startRow) { - var lines = this.$lines || this.getAllLines(); - var newlineLength = this.getNewLineCharacter().length; - for (var i = startRow || 0, l = lines.length; i < l; i++) { - index -= lines[i].length + newlineLength; - if (index < 0) - return { row: i, column: index + lines[i].length + newlineLength }; - } - return { row: l - 1, column: index + lines[l - 1].length + newlineLength }; - }; - Document.prototype.positionToIndex = function (pos, startRow) { - var lines = this.$lines || this.getAllLines(); - var newlineLength = this.getNewLineCharacter().length; - var index = 0; - var row = Math.min(pos.row, lines.length); - for (var i = startRow || 0; i < row; ++i) - index += lines[i].length + newlineLength; - return index + pos.column; - }; - Document.prototype.$split = function (text) { - return text.split(/\r\n|\r|\n/); - }; - return Document; -}()); -Document.prototype.$autoNewLine = ""; -Document.prototype.$newLineMode = "auto"; -oop.implement(Document.prototype, EventEmitter); -exports.Document = Document; - -}); - -ace.define("ace/lib/deep_copy",[], function(require, exports, module){exports.deepCopy = function deepCopy(obj) { - if (typeof obj !== "object" || !obj) - return obj; - var copy; - if (Array.isArray(obj)) { - copy = []; - for (var key = 0; key < obj.length; key++) { - copy[key] = deepCopy(obj[key]); - } - return copy; - } - if (Object.prototype.toString.call(obj) !== "[object Object]") - return obj; - copy = {}; - for (var key in obj) - copy[key] = deepCopy(obj[key]); - return copy; -}; - -}); - -ace.define("ace/lib/lang",[], function(require, exports, module){"use strict"; -exports.last = function (a) { - return a[a.length - 1]; -}; -exports.stringReverse = function (string) { - return string.split("").reverse().join(""); -}; -exports.stringRepeat = function (string, count) { - var result = ''; - while (count > 0) { - if (count & 1) - result += string; - if (count >>= 1) - string += string; - } - return result; -}; -var trimBeginRegexp = /^\s\s*/; -var trimEndRegexp = /\s\s*$/; -exports.stringTrimLeft = function (string) { - return string.replace(trimBeginRegexp, ''); -}; -exports.stringTrimRight = function (string) { - return string.replace(trimEndRegexp, ''); -}; -exports.copyObject = function (obj) { - var copy = {}; - for (var key in obj) { - copy[key] = obj[key]; - } - return copy; -}; -exports.copyArray = function (array) { - var copy = []; - for (var i = 0, l = array.length; i < l; i++) { - if (array[i] && typeof array[i] == "object") - copy[i] = this.copyObject(array[i]); - else - copy[i] = array[i]; - } - return copy; -}; -exports.deepCopy = require("./deep_copy").deepCopy; -exports.arrayToMap = function (arr) { - var map = {}; - for (var i = 0; i < arr.length; i++) { - map[arr[i]] = 1; - } - return map; -}; -exports.createMap = function (props) { - var map = Object.create(null); - for (var i in props) { - map[i] = props[i]; - } - return map; -}; -exports.arrayRemove = function (array, value) { - for (var i = 0; i <= array.length; i++) { - if (value === array[i]) { - array.splice(i, 1); - } - } -}; -exports.escapeRegExp = function (str) { - return str.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1'); -}; -exports.escapeHTML = function (str) { - return ("" + str).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/ 0xffff ? 2 : 1; -}; - -}); - -ace.define("ace/worker/mirror",[], function(require, exports, module) { -"use strict"; - -var Document = require("../document").Document; -var lang = require("../lib/lang"); - -var Mirror = exports.Mirror = function(sender) { - this.sender = sender; - var doc = this.doc = new Document(""); - - var deferredUpdate = this.deferredUpdate = lang.delayedCall(this.onUpdate.bind(this)); - - var _self = this; - sender.on("change", function(e) { - var data = e.data; - if (data[0].start) { - doc.applyDeltas(data); - } else { - for (var i = 0; i < data.length; i += 2) { - var d, err; - if (Array.isArray(data[i+1])) { - d = {action: "insert", start: data[i], lines: data[i+1]}; - } else { - d = {action: "remove", start: data[i], end: data[i+1]}; - } - - if ((d.action == "insert" ? d.start : d.end).row >= doc.$lines.length) { - err = new Error("Invalid delta"); - err.data = { - path: _self.$path, - linesLength: doc.$lines.length, - start: d.start, - end: d.end - }; - throw err; - } - - doc.applyDelta(d, true); - } - } - if (_self.$timeout) - return deferredUpdate.schedule(_self.$timeout); - _self.onUpdate(); - }); -}; - -(function() { - - this.$timeout = 500; - - this.setTimeout = function(timeout) { - this.$timeout = timeout; - }; - - this.setValue = function(value) { - this.doc.setValue(value); - this.deferredUpdate.schedule(this.$timeout); - }; - - this.getValue = function(callbackId) { - this.sender.callback(this.doc.getValue(), callbackId); - }; - - this.onUpdate = function() { - }; - - this.isPending = function() { - return this.deferredUpdate.isPending(); - }; - -}).call(Mirror.prototype); - -}); diff --git a/webVue/assets/worker-javascript-a6657d84.js b/webVue/assets/worker-javascript-a6657d84.js deleted file mode 100644 index 7e9d807..0000000 --- a/webVue/assets/worker-javascript-a6657d84.js +++ /dev/null @@ -1,15353 +0,0 @@ -"no use strict"; -!(function(window) { -if (typeof window.window != "undefined" && window.document) - return; -if (window.require && window.define) - return; - -if (!window.console) { - window.console = function() { - var msgs = Array.prototype.slice.call(arguments, 0); - postMessage({type: "log", data: msgs}); - }; - window.console.error = - window.console.warn = - window.console.log = - window.console.trace = window.console; -} -window.window = window; -window.ace = window; - -window.onerror = function(message, file, line, col, err) { - postMessage({type: "error", data: { - message: message, - data: err && err.data, - file: file, - line: line, - col: col, - stack: err && err.stack - }}); -}; - -window.normalizeModule = function(parentId, moduleName) { - // normalize plugin requires - if (moduleName.indexOf("!") !== -1) { - var chunks = moduleName.split("!"); - return window.normalizeModule(parentId, chunks[0]) + "!" + window.normalizeModule(parentId, chunks[1]); - } - // normalize relative requires - if (moduleName.charAt(0) == ".") { - var base = parentId.split("/").slice(0, -1).join("/"); - moduleName = (base ? base + "/" : "") + moduleName; - - while (moduleName.indexOf(".") !== -1 && previous != moduleName) { - var previous = moduleName; - moduleName = moduleName.replace(/^\.\//, "").replace(/\/\.\//, "/").replace(/[^\/]+\/\.\.\//, ""); - } - } - - return moduleName; -}; - -window.require = function require(parentId, id) { - if (!id) { - id = parentId; - parentId = null; - } - if (!id.charAt) - throw new Error("worker.js require() accepts only (parentId, id) as arguments"); - - id = window.normalizeModule(parentId, id); - - var module = window.require.modules[id]; - if (module) { - if (!module.initialized) { - module.initialized = true; - module.exports = module.factory().exports; - } - return module.exports; - } - - if (!window.require.tlns) - return console.log("unable to load " + id); - - var path = resolveModuleId(id, window.require.tlns); - if (path.slice(-3) != ".js") path += ".js"; - - window.require.id = id; - window.require.modules[id] = {}; // prevent infinite loop on broken modules - importScripts(path); - return window.require(parentId, id); -}; -function resolveModuleId(id, paths) { - var testPath = id, tail = ""; - while (testPath) { - var alias = paths[testPath]; - if (typeof alias == "string") { - return alias + tail; - } else if (alias) { - return alias.location.replace(/\/*$/, "/") + (tail || alias.main || alias.name); - } else if (alias === false) { - return ""; - } - var i = testPath.lastIndexOf("/"); - if (i === -1) break; - tail = testPath.substr(i) + tail; - testPath = testPath.slice(0, i); - } - return id; -} -window.require.modules = {}; -window.require.tlns = {}; - -window.define = function(id, deps, factory) { - if (arguments.length == 2) { - factory = deps; - if (typeof id != "string") { - deps = id; - id = window.require.id; - } - } else if (arguments.length == 1) { - factory = id; - deps = []; - id = window.require.id; - } - - if (typeof factory != "function") { - window.require.modules[id] = { - exports: factory, - initialized: true - }; - return; - } - - if (!deps.length) - // If there is no dependencies, we inject "require", "exports" and - // "module" as dependencies, to provide CommonJS compatibility. - deps = ["require", "exports", "module"]; - - var req = function(childId) { - return window.require(id, childId); - }; - - window.require.modules[id] = { - exports: {}, - factory: function() { - var module = this; - var returnExports = factory.apply(this, deps.slice(0, factory.length).map(function(dep) { - switch (dep) { - // Because "require", "exports" and "module" aren't actual - // dependencies, we must handle them seperately. - case "require": return req; - case "exports": return module.exports; - case "module": return module; - // But for all other dependencies, we can just go ahead and - // require them. - default: return req(dep); - } - })); - if (returnExports) - module.exports = returnExports; - return module; - } - }; -}; -window.define.amd = {}; -window.require.tlns = {}; -window.initBaseUrls = function initBaseUrls(topLevelNamespaces) { - for (var i in topLevelNamespaces) - this.require.tlns[i] = topLevelNamespaces[i]; -}; - -window.initSender = function initSender() { - - var EventEmitter = window.require("ace/lib/event_emitter").EventEmitter; - var oop = window.require("ace/lib/oop"); - - var Sender = function() {}; - - (function() { - - oop.implement(this, EventEmitter); - - this.callback = function(data, callbackId) { - postMessage({ - type: "call", - id: callbackId, - data: data - }); - }; - - this.emit = function(name, data) { - postMessage({ - type: "event", - name: name, - data: data - }); - }; - - }).call(Sender.prototype); - - return new Sender(); -}; - -var main = window.main = null; -var sender = window.sender = null; - -window.onmessage = function(e) { - var msg = e.data; - if (msg.event && sender) { - sender._signal(msg.event, msg.data); - } - else if (msg.command) { - if (main[msg.command]) - main[msg.command].apply(main, msg.args); - else if (window[msg.command]) - window[msg.command].apply(window, msg.args); - else - throw new Error("Unknown command:" + msg.command); - } - else if (msg.init) { - window.initBaseUrls(msg.tlns); - sender = window.sender = window.initSender(); - var clazz = this.require(msg.module)[msg.classname]; - main = window.main = new clazz(sender); - } -}; -})(this); - -ace.define("ace/lib/oop",[], function(require, exports, module){"use strict"; -exports.inherits = function (ctor, superCtor) { - ctor.super_ = superCtor; - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); -}; -exports.mixin = function (obj, mixin) { - for (var key in mixin) { - obj[key] = mixin[key]; - } - return obj; -}; -exports.implement = function (proto, mixin) { - exports.mixin(proto, mixin); -}; - -}); - -ace.define("ace/apply_delta",[], function(require, exports, module){"use strict"; -function throwDeltaError(delta, errorText) { - console.log("Invalid Delta:", delta); - throw "Invalid Delta: " + errorText; -} -function positionInDocument(docLines, position) { - return position.row >= 0 && position.row < docLines.length && - position.column >= 0 && position.column <= docLines[position.row].length; -} -function validateDelta(docLines, delta) { - if (delta.action != "insert" && delta.action != "remove") - throwDeltaError(delta, "delta.action must be 'insert' or 'remove'"); - if (!(delta.lines instanceof Array)) - throwDeltaError(delta, "delta.lines must be an Array"); - if (!delta.start || !delta.end) - throwDeltaError(delta, "delta.start/end must be an present"); - var start = delta.start; - if (!positionInDocument(docLines, delta.start)) - throwDeltaError(delta, "delta.start must be contained in document"); - var end = delta.end; - if (delta.action == "remove" && !positionInDocument(docLines, end)) - throwDeltaError(delta, "delta.end must contained in document for 'remove' actions"); - var numRangeRows = end.row - start.row; - var numRangeLastLineChars = (end.column - (numRangeRows == 0 ? start.column : 0)); - if (numRangeRows != delta.lines.length - 1 || delta.lines[numRangeRows].length != numRangeLastLineChars) - throwDeltaError(delta, "delta.range must match delta lines"); -} -exports.applyDelta = function (docLines, delta, doNotValidate) { - var row = delta.start.row; - var startColumn = delta.start.column; - var line = docLines[row] || ""; - switch (delta.action) { - case "insert": - var lines = delta.lines; - if (lines.length === 1) { - docLines[row] = line.substring(0, startColumn) + delta.lines[0] + line.substring(startColumn); - } - else { - var args = [row, 1].concat(delta.lines); - docLines.splice.apply(docLines, args); - docLines[row] = line.substring(0, startColumn) + docLines[row]; - docLines[row + delta.lines.length - 1] += line.substring(startColumn); - } - break; - case "remove": - var endColumn = delta.end.column; - var endRow = delta.end.row; - if (row === endRow) { - docLines[row] = line.substring(0, startColumn) + line.substring(endColumn); - } - else { - docLines.splice(row, endRow - row + 1, line.substring(0, startColumn) + docLines[endRow].substring(endColumn)); - } - break; - } -}; - -}); - -ace.define("ace/lib/event_emitter",[], function(require, exports, module){"use strict"; -var EventEmitter = {}; -var stopPropagation = function () { this.propagationStopped = true; }; -var preventDefault = function () { this.defaultPrevented = true; }; -EventEmitter._emit = - EventEmitter._dispatchEvent = function (eventName, e) { - this._eventRegistry || (this._eventRegistry = {}); - this._defaultHandlers || (this._defaultHandlers = {}); - var listeners = this._eventRegistry[eventName] || []; - var defaultHandler = this._defaultHandlers[eventName]; - if (!listeners.length && !defaultHandler) - return; - if (typeof e != "object" || !e) - e = {}; - if (!e.type) - e.type = eventName; - if (!e.stopPropagation) - e.stopPropagation = stopPropagation; - if (!e.preventDefault) - e.preventDefault = preventDefault; - listeners = listeners.slice(); - for (var i = 0; i < listeners.length; i++) { - listeners[i](e, this); - if (e.propagationStopped) - break; - } - if (defaultHandler && !e.defaultPrevented) - return defaultHandler(e, this); - }; -EventEmitter._signal = function (eventName, e) { - var listeners = (this._eventRegistry || {})[eventName]; - if (!listeners) - return; - listeners = listeners.slice(); - for (var i = 0; i < listeners.length; i++) - listeners[i](e, this); -}; -EventEmitter.once = function (eventName, callback) { - var _self = this; - this.on(eventName, function newCallback() { - _self.off(eventName, newCallback); - callback.apply(null, arguments); - }); - if (!callback) { - return new Promise(function (resolve) { - callback = resolve; - }); - } -}; -EventEmitter.setDefaultHandler = function (eventName, callback) { - var handlers = this._defaultHandlers; - if (!handlers) - handlers = this._defaultHandlers = { _disabled_: {} }; - if (handlers[eventName]) { - var old = handlers[eventName]; - var disabled = handlers._disabled_[eventName]; - if (!disabled) - handlers._disabled_[eventName] = disabled = []; - disabled.push(old); - var i = disabled.indexOf(callback); - if (i != -1) - disabled.splice(i, 1); - } - handlers[eventName] = callback; -}; -EventEmitter.removeDefaultHandler = function (eventName, callback) { - var handlers = this._defaultHandlers; - if (!handlers) - return; - var disabled = handlers._disabled_[eventName]; - if (handlers[eventName] == callback) { - if (disabled) - this.setDefaultHandler(eventName, disabled.pop()); - } - else if (disabled) { - var i = disabled.indexOf(callback); - if (i != -1) - disabled.splice(i, 1); - } -}; -EventEmitter.on = - EventEmitter.addEventListener = function (eventName, callback, capturing) { - this._eventRegistry = this._eventRegistry || {}; - var listeners = this._eventRegistry[eventName]; - if (!listeners) - listeners = this._eventRegistry[eventName] = []; - if (listeners.indexOf(callback) == -1) - listeners[capturing ? "unshift" : "push"](callback); - return callback; - }; -EventEmitter.off = - EventEmitter.removeListener = - EventEmitter.removeEventListener = function (eventName, callback) { - this._eventRegistry = this._eventRegistry || {}; - var listeners = this._eventRegistry[eventName]; - if (!listeners) - return; - var index = listeners.indexOf(callback); - if (index !== -1) - listeners.splice(index, 1); - }; -EventEmitter.removeAllListeners = function (eventName) { - if (!eventName) - this._eventRegistry = this._defaultHandlers = undefined; - if (this._eventRegistry) - this._eventRegistry[eventName] = undefined; - if (this._defaultHandlers) - this._defaultHandlers[eventName] = undefined; -}; -exports.EventEmitter = EventEmitter; - -}); - -ace.define("ace/range",[], function(require, exports, module){"use strict"; -var Range = /** @class */ (function () { - function Range(startRow, startColumn, endRow, endColumn) { - this.start = { - row: startRow, - column: startColumn - }; - this.end = { - row: endRow, - column: endColumn - }; - } - Range.prototype.isEqual = function (range) { - return this.start.row === range.start.row && - this.end.row === range.end.row && - this.start.column === range.start.column && - this.end.column === range.end.column; - }; - Range.prototype.toString = function () { - return ("Range: [" + this.start.row + "/" + this.start.column + - "] -> [" + this.end.row + "/" + this.end.column + "]"); - }; - Range.prototype.contains = function (row, column) { - return this.compare(row, column) == 0; - }; - Range.prototype.compareRange = function (range) { - var cmp, end = range.end, start = range.start; - cmp = this.compare(end.row, end.column); - if (cmp == 1) { - cmp = this.compare(start.row, start.column); - if (cmp == 1) { - return 2; - } - else if (cmp == 0) { - return 1; - } - else { - return 0; - } - } - else if (cmp == -1) { - return -2; - } - else { - cmp = this.compare(start.row, start.column); - if (cmp == -1) { - return -1; - } - else if (cmp == 1) { - return 42; - } - else { - return 0; - } - } - }; - Range.prototype.comparePoint = function (p) { - return this.compare(p.row, p.column); - }; - Range.prototype.containsRange = function (range) { - return this.comparePoint(range.start) == 0 && this.comparePoint(range.end) == 0; - }; - Range.prototype.intersects = function (range) { - var cmp = this.compareRange(range); - return (cmp == -1 || cmp == 0 || cmp == 1); - }; - Range.prototype.isEnd = function (row, column) { - return this.end.row == row && this.end.column == column; - }; - Range.prototype.isStart = function (row, column) { - return this.start.row == row && this.start.column == column; - }; - Range.prototype.setStart = function (row, column) { - if (typeof row == "object") { - this.start.column = row.column; - this.start.row = row.row; - } - else { - this.start.row = row; - this.start.column = column; - } - }; - Range.prototype.setEnd = function (row, column) { - if (typeof row == "object") { - this.end.column = row.column; - this.end.row = row.row; - } - else { - this.end.row = row; - this.end.column = column; - } - }; - Range.prototype.inside = function (row, column) { - if (this.compare(row, column) == 0) { - if (this.isEnd(row, column) || this.isStart(row, column)) { - return false; - } - else { - return true; - } - } - return false; - }; - Range.prototype.insideStart = function (row, column) { - if (this.compare(row, column) == 0) { - if (this.isEnd(row, column)) { - return false; - } - else { - return true; - } - } - return false; - }; - Range.prototype.insideEnd = function (row, column) { - if (this.compare(row, column) == 0) { - if (this.isStart(row, column)) { - return false; - } - else { - return true; - } - } - return false; - }; - Range.prototype.compare = function (row, column) { - if (!this.isMultiLine()) { - if (row === this.start.row) { - return column < this.start.column ? -1 : (column > this.end.column ? 1 : 0); - } - } - if (row < this.start.row) - return -1; - if (row > this.end.row) - return 1; - if (this.start.row === row) - return column >= this.start.column ? 0 : -1; - if (this.end.row === row) - return column <= this.end.column ? 0 : 1; - return 0; - }; - Range.prototype.compareStart = function (row, column) { - if (this.start.row == row && this.start.column == column) { - return -1; - } - else { - return this.compare(row, column); - } - }; - Range.prototype.compareEnd = function (row, column) { - if (this.end.row == row && this.end.column == column) { - return 1; - } - else { - return this.compare(row, column); - } - }; - Range.prototype.compareInside = function (row, column) { - if (this.end.row == row && this.end.column == column) { - return 1; - } - else if (this.start.row == row && this.start.column == column) { - return -1; - } - else { - return this.compare(row, column); - } - }; - Range.prototype.clipRows = function (firstRow, lastRow) { - if (this.end.row > lastRow) - var end = { row: lastRow + 1, column: 0 }; - else if (this.end.row < firstRow) - var end = { row: firstRow, column: 0 }; - if (this.start.row > lastRow) - var start = { row: lastRow + 1, column: 0 }; - else if (this.start.row < firstRow) - var start = { row: firstRow, column: 0 }; - return Range.fromPoints(start || this.start, end || this.end); - }; - Range.prototype.extend = function (row, column) { - var cmp = this.compare(row, column); - if (cmp == 0) - return this; - else if (cmp == -1) - var start = { row: row, column: column }; - else - var end = { row: row, column: column }; - return Range.fromPoints(start || this.start, end || this.end); - }; - Range.prototype.isEmpty = function () { - return (this.start.row === this.end.row && this.start.column === this.end.column); - }; - Range.prototype.isMultiLine = function () { - return (this.start.row !== this.end.row); - }; - Range.prototype.clone = function () { - return Range.fromPoints(this.start, this.end); - }; - Range.prototype.collapseRows = function () { - if (this.end.column == 0) - return new Range(this.start.row, 0, Math.max(this.start.row, this.end.row - 1), 0); - else - return new Range(this.start.row, 0, this.end.row, 0); - }; - Range.prototype.toScreenRange = function (session) { - var screenPosStart = session.documentToScreenPosition(this.start); - var screenPosEnd = session.documentToScreenPosition(this.end); - return new Range(screenPosStart.row, screenPosStart.column, screenPosEnd.row, screenPosEnd.column); - }; - Range.prototype.moveBy = function (row, column) { - this.start.row += row; - this.start.column += column; - this.end.row += row; - this.end.column += column; - }; - return Range; -}()); -Range.fromPoints = function (start, end) { - return new Range(start.row, start.column, end.row, end.column); -}; -Range.comparePoints = function (p1, p2) { - return p1.row - p2.row || p1.column - p2.column; -}; -exports.Range = Range; - -}); - -ace.define("ace/anchor",[], function(require, exports, module){"use strict"; -var oop = require("./lib/oop"); -var EventEmitter = require("./lib/event_emitter").EventEmitter; -var Anchor = /** @class */ (function () { - function Anchor(doc, row, column) { - this.$onChange = this.onChange.bind(this); - this.attach(doc); - if (typeof row != "number") - this.setPosition(row.row, row.column); - else - this.setPosition(row, column); - } - Anchor.prototype.getPosition = function () { - return this.$clipPositionToDocument(this.row, this.column); - }; - Anchor.prototype.getDocument = function () { - return this.document; - }; - Anchor.prototype.onChange = function (delta) { - if (delta.start.row == delta.end.row && delta.start.row != this.row) - return; - if (delta.start.row > this.row) - return; - var point = $getTransformedPoint(delta, { row: this.row, column: this.column }, this.$insertRight); - this.setPosition(point.row, point.column, true); - }; - Anchor.prototype.setPosition = function (row, column, noClip) { - var pos; - if (noClip) { - pos = { - row: row, - column: column - }; - } - else { - pos = this.$clipPositionToDocument(row, column); - } - if (this.row == pos.row && this.column == pos.column) - return; - var old = { - row: this.row, - column: this.column - }; - this.row = pos.row; - this.column = pos.column; - this._signal("change", { - old: old, - value: pos - }); - }; - Anchor.prototype.detach = function () { - this.document.off("change", this.$onChange); - }; - Anchor.prototype.attach = function (doc) { - this.document = doc || this.document; - this.document.on("change", this.$onChange); - }; - Anchor.prototype.$clipPositionToDocument = function (row, column) { - var pos = {}; - if (row >= this.document.getLength()) { - pos.row = Math.max(0, this.document.getLength() - 1); - pos.column = this.document.getLine(pos.row).length; - } - else if (row < 0) { - pos.row = 0; - pos.column = 0; - } - else { - pos.row = row; - pos.column = Math.min(this.document.getLine(pos.row).length, Math.max(0, column)); - } - if (column < 0) - pos.column = 0; - return pos; - }; - return Anchor; -}()); -Anchor.prototype.$insertRight = false; -oop.implement(Anchor.prototype, EventEmitter); -function $pointsInOrder(point1, point2, equalPointsInOrder) { - var bColIsAfter = equalPointsInOrder ? point1.column <= point2.column : point1.column < point2.column; - return (point1.row < point2.row) || (point1.row == point2.row && bColIsAfter); -} -function $getTransformedPoint(delta, point, moveIfEqual) { - var deltaIsInsert = delta.action == "insert"; - var deltaRowShift = (deltaIsInsert ? 1 : -1) * (delta.end.row - delta.start.row); - var deltaColShift = (deltaIsInsert ? 1 : -1) * (delta.end.column - delta.start.column); - var deltaStart = delta.start; - var deltaEnd = deltaIsInsert ? deltaStart : delta.end; // Collapse insert range. - if ($pointsInOrder(point, deltaStart, moveIfEqual)) { - return { - row: point.row, - column: point.column - }; - } - if ($pointsInOrder(deltaEnd, point, !moveIfEqual)) { - return { - row: point.row + deltaRowShift, - column: point.column + (point.row == deltaEnd.row ? deltaColShift : 0) - }; - } - return { - row: deltaStart.row, - column: deltaStart.column - }; -} -exports.Anchor = Anchor; - -}); - -ace.define("ace/document",[], function(require, exports, module){"use strict"; -var oop = require("./lib/oop"); -var applyDelta = require("./apply_delta").applyDelta; -var EventEmitter = require("./lib/event_emitter").EventEmitter; -var Range = require("./range").Range; -var Anchor = require("./anchor").Anchor; -var Document = /** @class */ (function () { - function Document(textOrLines) { - this.$lines = [""]; - if (textOrLines.length === 0) { - this.$lines = [""]; - } - else if (Array.isArray(textOrLines)) { - this.insertMergedLines({ row: 0, column: 0 }, textOrLines); - } - else { - this.insert({ row: 0, column: 0 }, textOrLines); - } - } - Document.prototype.setValue = function (text) { - var len = this.getLength() - 1; - this.remove(new Range(0, 0, len, this.getLine(len).length)); - this.insert({ row: 0, column: 0 }, text || ""); - }; - Document.prototype.getValue = function () { - return this.getAllLines().join(this.getNewLineCharacter()); - }; - Document.prototype.createAnchor = function (row, column) { - return new Anchor(this, row, column); - }; - Document.prototype.$detectNewLine = function (text) { - var match = text.match(/^.*?(\r\n|\r|\n)/m); - this.$autoNewLine = match ? match[1] : "\n"; - this._signal("changeNewLineMode"); - }; - Document.prototype.getNewLineCharacter = function () { - switch (this.$newLineMode) { - case "windows": - return "\r\n"; - case "unix": - return "\n"; - default: - return this.$autoNewLine || "\n"; - } - }; - Document.prototype.setNewLineMode = function (newLineMode) { - if (this.$newLineMode === newLineMode) - return; - this.$newLineMode = newLineMode; - this._signal("changeNewLineMode"); - }; - Document.prototype.getNewLineMode = function () { - return this.$newLineMode; - }; - Document.prototype.isNewLine = function (text) { - return (text == "\r\n" || text == "\r" || text == "\n"); - }; - Document.prototype.getLine = function (row) { - return this.$lines[row] || ""; - }; - Document.prototype.getLines = function (firstRow, lastRow) { - return this.$lines.slice(firstRow, lastRow + 1); - }; - Document.prototype.getAllLines = function () { - return this.getLines(0, this.getLength()); - }; - Document.prototype.getLength = function () { - return this.$lines.length; - }; - Document.prototype.getTextRange = function (range) { - return this.getLinesForRange(range).join(this.getNewLineCharacter()); - }; - Document.prototype.getLinesForRange = function (range) { - var lines; - if (range.start.row === range.end.row) { - lines = [this.getLine(range.start.row).substring(range.start.column, range.end.column)]; - } - else { - lines = this.getLines(range.start.row, range.end.row); - lines[0] = (lines[0] || "").substring(range.start.column); - var l = lines.length - 1; - if (range.end.row - range.start.row == l) - lines[l] = lines[l].substring(0, range.end.column); - } - return lines; - }; - Document.prototype.insertLines = function (row, lines) { - console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."); - return this.insertFullLines(row, lines); - }; - Document.prototype.removeLines = function (firstRow, lastRow) { - console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."); - return this.removeFullLines(firstRow, lastRow); - }; - Document.prototype.insertNewLine = function (position) { - console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."); - return this.insertMergedLines(position, ["", ""]); - }; - Document.prototype.insert = function (position, text) { - if (this.getLength() <= 1) - this.$detectNewLine(text); - return this.insertMergedLines(position, this.$split(text)); - }; - Document.prototype.insertInLine = function (position, text) { - var start = this.clippedPos(position.row, position.column); - var end = this.pos(position.row, position.column + text.length); - this.applyDelta({ - start: start, - end: end, - action: "insert", - lines: [text] - }, true); - return this.clonePos(end); - }; - Document.prototype.clippedPos = function (row, column) { - var length = this.getLength(); - if (row === undefined) { - row = length; - } - else if (row < 0) { - row = 0; - } - else if (row >= length) { - row = length - 1; - column = undefined; - } - var line = this.getLine(row); - if (column == undefined) - column = line.length; - column = Math.min(Math.max(column, 0), line.length); - return { row: row, column: column }; - }; - Document.prototype.clonePos = function (pos) { - return { row: pos.row, column: pos.column }; - }; - Document.prototype.pos = function (row, column) { - return { row: row, column: column }; - }; - Document.prototype.$clipPosition = function (position) { - var length = this.getLength(); - if (position.row >= length) { - position.row = Math.max(0, length - 1); - position.column = this.getLine(length - 1).length; - } - else { - position.row = Math.max(0, position.row); - position.column = Math.min(Math.max(position.column, 0), this.getLine(position.row).length); - } - return position; - }; - Document.prototype.insertFullLines = function (row, lines) { - row = Math.min(Math.max(row, 0), this.getLength()); - var column = 0; - if (row < this.getLength()) { - lines = lines.concat([""]); - column = 0; - } - else { - lines = [""].concat(lines); - row--; - column = this.$lines[row].length; - } - this.insertMergedLines({ row: row, column: column }, lines); - }; - Document.prototype.insertMergedLines = function (position, lines) { - var start = this.clippedPos(position.row, position.column); - var end = { - row: start.row + lines.length - 1, - column: (lines.length == 1 ? start.column : 0) + lines[lines.length - 1].length - }; - this.applyDelta({ - start: start, - end: end, - action: "insert", - lines: lines - }); - return this.clonePos(end); - }; - Document.prototype.remove = function (range) { - var start = this.clippedPos(range.start.row, range.start.column); - var end = this.clippedPos(range.end.row, range.end.column); - this.applyDelta({ - start: start, - end: end, - action: "remove", - lines: this.getLinesForRange({ start: start, end: end }) - }); - return this.clonePos(start); - }; - Document.prototype.removeInLine = function (row, startColumn, endColumn) { - var start = this.clippedPos(row, startColumn); - var end = this.clippedPos(row, endColumn); - this.applyDelta({ - start: start, - end: end, - action: "remove", - lines: this.getLinesForRange({ start: start, end: end }) - }, true); - return this.clonePos(start); - }; - Document.prototype.removeFullLines = function (firstRow, lastRow) { - firstRow = Math.min(Math.max(0, firstRow), this.getLength() - 1); - lastRow = Math.min(Math.max(0, lastRow), this.getLength() - 1); - var deleteFirstNewLine = lastRow == this.getLength() - 1 && firstRow > 0; - var deleteLastNewLine = lastRow < this.getLength() - 1; - var startRow = (deleteFirstNewLine ? firstRow - 1 : firstRow); - var startCol = (deleteFirstNewLine ? this.getLine(startRow).length : 0); - var endRow = (deleteLastNewLine ? lastRow + 1 : lastRow); - var endCol = (deleteLastNewLine ? 0 : this.getLine(endRow).length); - var range = new Range(startRow, startCol, endRow, endCol); - var deletedLines = this.$lines.slice(firstRow, lastRow + 1); - this.applyDelta({ - start: range.start, - end: range.end, - action: "remove", - lines: this.getLinesForRange(range) - }); - return deletedLines; - }; - Document.prototype.removeNewLine = function (row) { - if (row < this.getLength() - 1 && row >= 0) { - this.applyDelta({ - start: this.pos(row, this.getLine(row).length), - end: this.pos(row + 1, 0), - action: "remove", - lines: ["", ""] - }); - } - }; - Document.prototype.replace = function (range, text) { - if (!(range instanceof Range)) - range = Range.fromPoints(range.start, range.end); - if (text.length === 0 && range.isEmpty()) - return range.start; - if (text == this.getTextRange(range)) - return range.end; - this.remove(range); - var end; - if (text) { - end = this.insert(range.start, text); - } - else { - end = range.start; - } - return end; - }; - Document.prototype.applyDeltas = function (deltas) { - for (var i = 0; i < deltas.length; i++) { - this.applyDelta(deltas[i]); - } - }; - Document.prototype.revertDeltas = function (deltas) { - for (var i = deltas.length - 1; i >= 0; i--) { - this.revertDelta(deltas[i]); - } - }; - Document.prototype.applyDelta = function (delta, doNotValidate) { - var isInsert = delta.action == "insert"; - if (isInsert ? delta.lines.length <= 1 && !delta.lines[0] - : !Range.comparePoints(delta.start, delta.end)) { - return; - } - if (isInsert && delta.lines.length > 20000) { - this.$splitAndapplyLargeDelta(delta, 20000); - } - else { - applyDelta(this.$lines, delta, doNotValidate); - this._signal("change", delta); - } - }; - Document.prototype.$safeApplyDelta = function (delta) { - var docLength = this.$lines.length; - if (delta.action == "remove" && delta.start.row < docLength && delta.end.row < docLength - || delta.action == "insert" && delta.start.row <= docLength) { - this.applyDelta(delta); - } - }; - Document.prototype.$splitAndapplyLargeDelta = function (delta, MAX) { - var lines = delta.lines; - var l = lines.length - MAX + 1; - var row = delta.start.row; - var column = delta.start.column; - for (var from = 0, to = 0; from < l; from = to) { - to += MAX - 1; - var chunk = lines.slice(from, to); - chunk.push(""); - this.applyDelta({ - start: this.pos(row + from, column), - end: this.pos(row + to, column = 0), - action: delta.action, - lines: chunk - }, true); - } - delta.lines = lines.slice(from); - delta.start.row = row + from; - delta.start.column = column; - this.applyDelta(delta, true); - }; - Document.prototype.revertDelta = function (delta) { - this.$safeApplyDelta({ - start: this.clonePos(delta.start), - end: this.clonePos(delta.end), - action: (delta.action == "insert" ? "remove" : "insert"), - lines: delta.lines.slice() - }); - }; - Document.prototype.indexToPosition = function (index, startRow) { - var lines = this.$lines || this.getAllLines(); - var newlineLength = this.getNewLineCharacter().length; - for (var i = startRow || 0, l = lines.length; i < l; i++) { - index -= lines[i].length + newlineLength; - if (index < 0) - return { row: i, column: index + lines[i].length + newlineLength }; - } - return { row: l - 1, column: index + lines[l - 1].length + newlineLength }; - }; - Document.prototype.positionToIndex = function (pos, startRow) { - var lines = this.$lines || this.getAllLines(); - var newlineLength = this.getNewLineCharacter().length; - var index = 0; - var row = Math.min(pos.row, lines.length); - for (var i = startRow || 0; i < row; ++i) - index += lines[i].length + newlineLength; - return index + pos.column; - }; - Document.prototype.$split = function (text) { - return text.split(/\r\n|\r|\n/); - }; - return Document; -}()); -Document.prototype.$autoNewLine = ""; -Document.prototype.$newLineMode = "auto"; -oop.implement(Document.prototype, EventEmitter); -exports.Document = Document; - -}); - -ace.define("ace/lib/deep_copy",[], function(require, exports, module){exports.deepCopy = function deepCopy(obj) { - if (typeof obj !== "object" || !obj) - return obj; - var copy; - if (Array.isArray(obj)) { - copy = []; - for (var key = 0; key < obj.length; key++) { - copy[key] = deepCopy(obj[key]); - } - return copy; - } - if (Object.prototype.toString.call(obj) !== "[object Object]") - return obj; - copy = {}; - for (var key in obj) - copy[key] = deepCopy(obj[key]); - return copy; -}; - -}); - -ace.define("ace/lib/lang",[], function(require, exports, module){"use strict"; -exports.last = function (a) { - return a[a.length - 1]; -}; -exports.stringReverse = function (string) { - return string.split("").reverse().join(""); -}; -exports.stringRepeat = function (string, count) { - var result = ''; - while (count > 0) { - if (count & 1) - result += string; - if (count >>= 1) - string += string; - } - return result; -}; -var trimBeginRegexp = /^\s\s*/; -var trimEndRegexp = /\s\s*$/; -exports.stringTrimLeft = function (string) { - return string.replace(trimBeginRegexp, ''); -}; -exports.stringTrimRight = function (string) { - return string.replace(trimEndRegexp, ''); -}; -exports.copyObject = function (obj) { - var copy = {}; - for (var key in obj) { - copy[key] = obj[key]; - } - return copy; -}; -exports.copyArray = function (array) { - var copy = []; - for (var i = 0, l = array.length; i < l; i++) { - if (array[i] && typeof array[i] == "object") - copy[i] = this.copyObject(array[i]); - else - copy[i] = array[i]; - } - return copy; -}; -exports.deepCopy = require("./deep_copy").deepCopy; -exports.arrayToMap = function (arr) { - var map = {}; - for (var i = 0; i < arr.length; i++) { - map[arr[i]] = 1; - } - return map; -}; -exports.createMap = function (props) { - var map = Object.create(null); - for (var i in props) { - map[i] = props[i]; - } - return map; -}; -exports.arrayRemove = function (array, value) { - for (var i = 0; i <= array.length; i++) { - if (value === array[i]) { - array.splice(i, 1); - } - } -}; -exports.escapeRegExp = function (str) { - return str.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1'); -}; -exports.escapeHTML = function (str) { - return ("" + str).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/ 0xffff ? 2 : 1; -}; - -}); - -ace.define("ace/worker/mirror",[], function(require, exports, module) { -"use strict"; - -var Document = require("../document").Document; -var lang = require("../lib/lang"); - -var Mirror = exports.Mirror = function(sender) { - this.sender = sender; - var doc = this.doc = new Document(""); - - var deferredUpdate = this.deferredUpdate = lang.delayedCall(this.onUpdate.bind(this)); - - var _self = this; - sender.on("change", function(e) { - var data = e.data; - if (data[0].start) { - doc.applyDeltas(data); - } else { - for (var i = 0; i < data.length; i += 2) { - var d, err; - if (Array.isArray(data[i+1])) { - d = {action: "insert", start: data[i], lines: data[i+1]}; - } else { - d = {action: "remove", start: data[i], end: data[i+1]}; - } - - if ((d.action == "insert" ? d.start : d.end).row >= doc.$lines.length) { - err = new Error("Invalid delta"); - err.data = { - path: _self.$path, - linesLength: doc.$lines.length, - start: d.start, - end: d.end - }; - throw err; - } - - doc.applyDelta(d, true); - } - } - if (_self.$timeout) - return deferredUpdate.schedule(_self.$timeout); - _self.onUpdate(); - }); -}; - -(function() { - - this.$timeout = 500; - - this.setTimeout = function(timeout) { - this.$timeout = timeout; - }; - - this.setValue = function(value) { - this.doc.setValue(value); - this.deferredUpdate.schedule(this.$timeout); - }; - - this.getValue = function(callbackId) { - this.sender.callback(this.doc.getValue(), callbackId); - }; - - this.onUpdate = function() { - }; - - this.isPending = function() { - return this.deferredUpdate.isPending(); - }; - -}).call(Mirror.prototype); - -}); - -ace.define("ace/mode/javascript/jshint",[], function(require, exports, module) { -module.exports = (function outer (modules, cache, entry) { - var previousRequire = typeof require == "function" && require; - function newRequire(name, jumped){ - if(!cache[name]) { - if(!modules[name]) { - var currentRequire = typeof require == "function" && require; - if (!jumped && currentRequire) return currentRequire(name, true); - if (previousRequire) return previousRequire(name, true); - var err = new Error('Cannot find module \'' + name + '\''); - err.code = 'MODULE_NOT_FOUND'; - throw err; - } - var m = cache[name] = {exports:{}}; - modules[name][0].call(m.exports, function(x){ - var id = modules[name][1][x]; - return newRequire(id ? id : x); - },m,m.exports,outer,modules,cache,entry); - } - return cache[name].exports; - } - for(var i=0;i= 65 && i <= 90 || // A-Z - i === 95 || // _ - i >= 97 && i <= 122; // a-z -} - -var identifierPartTable = []; - -for (var i = 0; i < 128; i++) { - identifierPartTable[i] = - identifierStartTable[i] || // $, _, A-Z, a-z - i >= 48 && i <= 57; // 0-9 -} - -module.exports = { - asciiIdentifierStartTable: identifierStartTable, - asciiIdentifierPartTable: identifierPartTable -}; - -},{}],"/../../../jshint/data/es5-identifier-names.js":[function(_dereq_,module,exports){ -module.exports = /^(?:[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u0525\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0621-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971\u0972\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D3D\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC\u0EDD\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8B\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10D0-\u10FA\u10FC\u1100-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC\u1CEE-\u1CF1\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u2094\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2D00-\u2D25\u2D30-\u2D65\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31B7\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCB\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA65F\uA662-\uA66E\uA67F-\uA697\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B\uA78C\uA7FB-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA2D\uFA30-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC])(?:[\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u0525\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0621-\u065E\u0660-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0900-\u0939\u093C-\u094E\u0950-\u0955\u0958-\u0963\u0966-\u096F\u0971\u0972\u0979-\u097F\u0981-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C01-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58\u0C59\u0C60-\u0C63\u0C66-\u0C6F\u0C82\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0D02\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D28\u0D2A-\u0D39\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D60-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC\u0EDD\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F8B\u0F90-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10D0-\u10FA\u10FC\u1100-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135F\u1380-\u138F\u13A0-\u13F4\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F0\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17B3\u17B6-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191C\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BAA\u1BAE-\u1BB9\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1CD0-\u1CD2\u1CD4-\u1CF2\u1D00-\u1DE6\u1DFD-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u2094\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF1\u2D00-\u2D25\u2D30-\u2D65\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31B7\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCB\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA65F\uA662-\uA66F\uA67C\uA67D\uA67F-\uA697\uA6A0-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B\uA78C\uA7FB-\uA827\uA840-\uA873\uA880-\uA8C4\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7B\uAA80-\uAAC2\uAADB-\uAADD\uABC0-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA2D\uFA30-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE26\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC])*$/; -},{}],"/../../../jshint/data/non-ascii-identifier-part-only.js":[function(_dereq_,module,exports){ -var str = '183,768,769,770,771,772,773,774,775,776,777,778,779,780,781,782,783,784,785,786,787,788,789,790,791,792,793,794,795,796,797,798,799,800,801,802,803,804,805,806,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,824,825,826,827,828,829,830,831,832,833,834,835,836,837,838,839,840,841,842,843,844,845,846,847,848,849,850,851,852,853,854,855,856,857,858,859,860,861,862,863,864,865,866,867,868,869,870,871,872,873,874,875,876,877,878,879,903,1155,1156,1157,1158,1159,1425,1426,1427,1428,1429,1430,1431,1432,1433,1434,1435,1436,1437,1438,1439,1440,1441,1442,1443,1444,1445,1446,1447,1448,1449,1450,1451,1452,1453,1454,1455,1456,1457,1458,1459,1460,1461,1462,1463,1464,1465,1466,1467,1468,1469,1471,1473,1474,1476,1477,1479,1552,1553,1554,1555,1556,1557,1558,1559,1560,1561,1562,1611,1612,1613,1614,1615,1616,1617,1618,1619,1620,1621,1622,1623,1624,1625,1626,1627,1628,1629,1630,1631,1632,1633,1634,1635,1636,1637,1638,1639,1640,1641,1648,1750,1751,1752,1753,1754,1755,1756,1759,1760,1761,1762,1763,1764,1767,1768,1770,1771,1772,1773,1776,1777,1778,1779,1780,1781,1782,1783,1784,1785,1809,1840,1841,1842,1843,1844,1845,1846,1847,1848,1849,1850,1851,1852,1853,1854,1855,1856,1857,1858,1859,1860,1861,1862,1863,1864,1865,1866,1958,1959,1960,1961,1962,1963,1964,1965,1966,1967,1968,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,2027,2028,2029,2030,2031,2032,2033,2034,2035,2045,2070,2071,2072,2073,2075,2076,2077,2078,2079,2080,2081,2082,2083,2085,2086,2087,2089,2090,2091,2092,2093,2137,2138,2139,2259,2260,2261,2262,2263,2264,2265,2266,2267,2268,2269,2270,2271,2272,2273,2275,2276,2277,2278,2279,2280,2281,2282,2283,2284,2285,2286,2287,2288,2289,2290,2291,2292,2293,2294,2295,2296,2297,2298,2299,2300,2301,2302,2303,2304,2305,2306,2307,2362,2363,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2385,2386,2387,2388,2389,2390,2391,2402,2403,2406,2407,2408,2409,2410,2411,2412,2413,2414,2415,2433,2434,2435,2492,2494,2495,2496,2497,2498,2499,2500,2503,2504,2507,2508,2509,2519,2530,2531,2534,2535,2536,2537,2538,2539,2540,2541,2542,2543,2558,2561,2562,2563,2620,2622,2623,2624,2625,2626,2631,2632,2635,2636,2637,2641,2662,2663,2664,2665,2666,2667,2668,2669,2670,2671,2672,2673,2677,2689,2690,2691,2748,2750,2751,2752,2753,2754,2755,2756,2757,2759,2760,2761,2763,2764,2765,2786,2787,2790,2791,2792,2793,2794,2795,2796,2797,2798,2799,2810,2811,2812,2813,2814,2815,2817,2818,2819,2876,2878,2879,2880,2881,2882,2883,2884,2887,2888,2891,2892,2893,2902,2903,2914,2915,2918,2919,2920,2921,2922,2923,2924,2925,2926,2927,2946,3006,3007,3008,3009,3010,3014,3015,3016,3018,3019,3020,3021,3031,3046,3047,3048,3049,3050,3051,3052,3053,3054,3055,3072,3073,3074,3075,3076,3134,3135,3136,3137,3138,3139,3140,3142,3143,3144,3146,3147,3148,3149,3157,3158,3170,3171,3174,3175,3176,3177,3178,3179,3180,3181,3182,3183,3201,3202,3203,3260,3262,3263,3264,3265,3266,3267,3268,3270,3271,3272,3274,3275,3276,3277,3285,3286,3298,3299,3302,3303,3304,3305,3306,3307,3308,3309,3310,3311,3328,3329,3330,3331,3387,3388,3390,3391,3392,3393,3394,3395,3396,3398,3399,3400,3402,3403,3404,3405,3415,3426,3427,3430,3431,3432,3433,3434,3435,3436,3437,3438,3439,3458,3459,3530,3535,3536,3537,3538,3539,3540,3542,3544,3545,3546,3547,3548,3549,3550,3551,3558,3559,3560,3561,3562,3563,3564,3565,3566,3567,3570,3571,3633,3636,3637,3638,3639,3640,3641,3642,3655,3656,3657,3658,3659,3660,3661,3662,3664,3665,3666,3667,3668,3669,3670,3671,3672,3673,3761,3764,3765,3766,3767,3768,3769,3771,3772,3784,3785,3786,3787,3788,3789,3792,3793,3794,3795,3796,3797,3798,3799,3800,3801,3864,3865,3872,3873,3874,3875,3876,3877,3878,3879,3880,3881,3893,3895,3897,3902,3903,3953,3954,3955,3956,3957,3958,3959,3960,3961,3962,3963,3964,3965,3966,3967,3968,3969,3970,3971,3972,3974,3975,3981,3982,3983,3984,3985,3986,3987,3988,3989,3990,3991,3993,3994,3995,3996,3997,3998,3999,4000,4001,4002,4003,4004,4005,4006,4007,4008,4009,4010,4011,4012,4013,4014,4015,4016,4017,4018,4019,4020,4021,4022,4023,4024,4025,4026,4027,4028,4038,4139,4140,4141,4142,4143,4144,4145,4146,4147,4148,4149,4150,4151,4152,4153,4154,4155,4156,4157,4158,4160,4161,4162,4163,4164,4165,4166,4167,4168,4169,4182,4183,4184,4185,4190,4191,4192,4194,4195,4196,4199,4200,4201,4202,4203,4204,4205,4209,4210,4211,4212,4226,4227,4228,4229,4230,4231,4232,4233,4234,4235,4236,4237,4239,4240,4241,4242,4243,4244,4245,4246,4247,4248,4249,4250,4251,4252,4253,4957,4958,4959,4969,4970,4971,4972,4973,4974,4975,4976,4977,5906,5907,5908,5938,5939,5940,5970,5971,6002,6003,6068,6069,6070,6071,6072,6073,6074,6075,6076,6077,6078,6079,6080,6081,6082,6083,6084,6085,6086,6087,6088,6089,6090,6091,6092,6093,6094,6095,6096,6097,6098,6099,6109,6112,6113,6114,6115,6116,6117,6118,6119,6120,6121,6155,6156,6157,6160,6161,6162,6163,6164,6165,6166,6167,6168,6169,6313,6432,6433,6434,6435,6436,6437,6438,6439,6440,6441,6442,6443,6448,6449,6450,6451,6452,6453,6454,6455,6456,6457,6458,6459,6470,6471,6472,6473,6474,6475,6476,6477,6478,6479,6608,6609,6610,6611,6612,6613,6614,6615,6616,6617,6618,6679,6680,6681,6682,6683,6741,6742,6743,6744,6745,6746,6747,6748,6749,6750,6752,6753,6754,6755,6756,6757,6758,6759,6760,6761,6762,6763,6764,6765,6766,6767,6768,6769,6770,6771,6772,6773,6774,6775,6776,6777,6778,6779,6780,6783,6784,6785,6786,6787,6788,6789,6790,6791,6792,6793,6800,6801,6802,6803,6804,6805,6806,6807,6808,6809,6832,6833,6834,6835,6836,6837,6838,6839,6840,6841,6842,6843,6844,6845,6912,6913,6914,6915,6916,6964,6965,6966,6967,6968,6969,6970,6971,6972,6973,6974,6975,6976,6977,6978,6979,6980,6992,6993,6994,6995,6996,6997,6998,6999,7000,7001,7019,7020,7021,7022,7023,7024,7025,7026,7027,7040,7041,7042,7073,7074,7075,7076,7077,7078,7079,7080,7081,7082,7083,7084,7085,7088,7089,7090,7091,7092,7093,7094,7095,7096,7097,7142,7143,7144,7145,7146,7147,7148,7149,7150,7151,7152,7153,7154,7155,7204,7205,7206,7207,7208,7209,7210,7211,7212,7213,7214,7215,7216,7217,7218,7219,7220,7221,7222,7223,7232,7233,7234,7235,7236,7237,7238,7239,7240,7241,7248,7249,7250,7251,7252,7253,7254,7255,7256,7257,7376,7377,7378,7380,7381,7382,7383,7384,7385,7386,7387,7388,7389,7390,7391,7392,7393,7394,7395,7396,7397,7398,7399,7400,7405,7410,7411,7412,7415,7416,7417,7616,7617,7618,7619,7620,7621,7622,7623,7624,7625,7626,7627,7628,7629,7630,7631,7632,7633,7634,7635,7636,7637,7638,7639,7640,7641,7642,7643,7644,7645,7646,7647,7648,7649,7650,7651,7652,7653,7654,7655,7656,7657,7658,7659,7660,7661,7662,7663,7664,7665,7666,7667,7668,7669,7670,7671,7672,7673,7675,7676,7677,7678,7679,8204,8205,8255,8256,8276,8400,8401,8402,8403,8404,8405,8406,8407,8408,8409,8410,8411,8412,8417,8421,8422,8423,8424,8425,8426,8427,8428,8429,8430,8431,8432,11503,11504,11505,11647,11744,11745,11746,11747,11748,11749,11750,11751,11752,11753,11754,11755,11756,11757,11758,11759,11760,11761,11762,11763,11764,11765,11766,11767,11768,11769,11770,11771,11772,11773,11774,11775,12330,12331,12332,12333,12334,12335,12441,12442,42528,42529,42530,42531,42532,42533,42534,42535,42536,42537,42607,42612,42613,42614,42615,42616,42617,42618,42619,42620,42621,42654,42655,42736,42737,43010,43014,43019,43043,43044,43045,43046,43047,43136,43137,43188,43189,43190,43191,43192,43193,43194,43195,43196,43197,43198,43199,43200,43201,43202,43203,43204,43205,43216,43217,43218,43219,43220,43221,43222,43223,43224,43225,43232,43233,43234,43235,43236,43237,43238,43239,43240,43241,43242,43243,43244,43245,43246,43247,43248,43249,43263,43264,43265,43266,43267,43268,43269,43270,43271,43272,43273,43302,43303,43304,43305,43306,43307,43308,43309,43335,43336,43337,43338,43339,43340,43341,43342,43343,43344,43345,43346,43347,43392,43393,43394,43395,43443,43444,43445,43446,43447,43448,43449,43450,43451,43452,43453,43454,43455,43456,43472,43473,43474,43475,43476,43477,43478,43479,43480,43481,43493,43504,43505,43506,43507,43508,43509,43510,43511,43512,43513,43561,43562,43563,43564,43565,43566,43567,43568,43569,43570,43571,43572,43573,43574,43587,43596,43597,43600,43601,43602,43603,43604,43605,43606,43607,43608,43609,43643,43644,43645,43696,43698,43699,43700,43703,43704,43710,43711,43713,43755,43756,43757,43758,43759,43765,43766,44003,44004,44005,44006,44007,44008,44009,44010,44012,44013,44016,44017,44018,44019,44020,44021,44022,44023,44024,44025,64286,65024,65025,65026,65027,65028,65029,65030,65031,65032,65033,65034,65035,65036,65037,65038,65039,65056,65057,65058,65059,65060,65061,65062,65063,65064,65065,65066,65067,65068,65069,65070,65071,65075,65076,65101,65102,65103,65296,65297,65298,65299,65300,65301,65302,65303,65304,65305,65343'; -var arr = str.split(',').map(function(code) { - return parseInt(code, 10); -}); -module.exports = arr; -},{}],"/../../../jshint/data/non-ascii-identifier-start.js":[function(_dereq_,module,exports){ -var str = '170,181,186,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315,316,317,318,319,320,321,322,323,324,325,326,327,328,329,330,331,332,333,334,335,336,337,338,339,340,341,342,343,344,345,346,347,348,349,350,351,352,353,354,355,356,357,358,359,360,361,362,363,364,365,366,367,368,369,370,371,372,373,374,375,376,377,378,379,380,381,382,383,384,385,386,387,388,389,390,391,392,393,394,395,396,397,398,399,400,401,402,403,404,405,406,407,408,409,410,411,412,413,414,415,416,417,418,419,420,421,422,423,424,425,426,427,428,429,430,431,432,433,434,435,436,437,438,439,440,441,442,443,444,445,446,447,448,449,450,451,452,453,454,455,456,457,458,459,460,461,462,463,464,465,466,467,468,469,470,471,472,473,474,475,476,477,478,479,480,481,482,483,484,485,486,487,488,489,490,491,492,493,494,495,496,497,498,499,500,501,502,503,504,505,506,507,508,509,510,511,512,513,514,515,516,517,518,519,520,521,522,523,524,525,526,527,528,529,530,531,532,533,534,535,536,537,538,539,540,541,542,543,544,545,546,547,548,549,550,551,552,553,554,555,556,557,558,559,560,561,562,563,564,565,566,567,568,569,570,571,572,573,574,575,576,577,578,579,580,581,582,583,584,585,586,587,588,589,590,591,592,593,594,595,596,597,598,599,600,601,602,603,604,605,606,607,608,609,610,611,612,613,614,615,616,617,618,619,620,621,622,623,624,625,626,627,628,629,630,631,632,633,634,635,636,637,638,639,640,641,642,643,644,645,646,647,648,649,650,651,652,653,654,655,656,657,658,659,660,661,662,663,664,665,666,667,668,669,670,671,672,673,674,675,676,677,678,679,680,681,682,683,684,685,686,687,688,689,690,691,692,693,694,695,696,697,698,699,700,701,702,703,704,705,710,711,712,713,714,715,716,717,718,719,720,721,736,737,738,739,740,748,750,880,881,882,883,884,886,887,890,891,892,893,895,902,904,905,906,908,910,911,912,913,914,915,916,917,918,919,920,921,922,923,924,925,926,927,928,929,931,932,933,934,935,936,937,938,939,940,941,942,943,944,945,946,947,948,949,950,951,952,953,954,955,956,957,958,959,960,961,962,963,964,965,966,967,968,969,970,971,972,973,974,975,976,977,978,979,980,981,982,983,984,985,986,987,988,989,990,991,992,993,994,995,996,997,998,999,1000,1001,1002,1003,1004,1005,1006,1007,1008,1009,1010,1011,1012,1013,1015,1016,1017,1018,1019,1020,1021,1022,1023,1024,1025,1026,1027,1028,1029,1030,1031,1032,1033,1034,1035,1036,1037,1038,1039,1040,1041,1042,1043,1044,1045,1046,1047,1048,1049,1050,1051,1052,1053,1054,1055,1056,1057,1058,1059,1060,1061,1062,1063,1064,1065,1066,1067,1068,1069,1070,1071,1072,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1086,1087,1088,1089,1090,1091,1092,1093,1094,1095,1096,1097,1098,1099,1100,1101,1102,1103,1104,1105,1106,1107,1108,1109,1110,1111,1112,1113,1114,1115,1116,1117,1118,1119,1120,1121,1122,1123,1124,1125,1126,1127,1128,1129,1130,1131,1132,1133,1134,1135,1136,1137,1138,1139,1140,1141,1142,1143,1144,1145,1146,1147,1148,1149,1150,1151,1152,1153,1162,1163,1164,1165,1166,1167,1168,1169,1170,1171,1172,1173,1174,1175,1176,1177,1178,1179,1180,1181,1182,1183,1184,1185,1186,1187,1188,1189,1190,1191,1192,1193,1194,1195,1196,1197,1198,1199,1200,1201,1202,1203,1204,1205,1206,1207,1208,1209,1210,1211,1212,1213,1214,1215,1216,1217,1218,1219,1220,1221,1222,1223,1224,1225,1226,1227,1228,1229,1230,1231,1232,1233,1234,1235,1236,1237,1238,1239,1240,1241,1242,1243,1244,1245,1246,1247,1248,1249,1250,1251,1252,1253,1254,1255,1256,1257,1258,1259,1260,1261,1262,1263,1264,1265,1266,1267,1268,1269,1270,1271,1272,1273,1274,1275,1276,1277,1278,1279,1280,1281,1282,1283,1284,1285,1286,1287,1288,1289,1290,1291,1292,1293,1294,1295,1296,1297,1298,1299,1300,1301,1302,1303,1304,1305,1306,1307,1308,1309,1310,1311,1312,1313,1314,1315,1316,1317,1318,1319,1320,1321,1322,1323,1324,1325,1326,1327,1329,1330,1331,1332,1333,1334,1335,1336,1337,1338,1339,1340,1341,1342,1343,1344,1345,1346,1347,1348,1349,1350,1351,1352,1353,1354,1355,1356,1357,1358,1359,1360,1361,1362,1363,1364,1365,1366,1369,1376,1377,1378,1379,1380,1381,1382,1383,1384,1385,1386,1387,1388,1389,1390,1391,1392,1393,1394,1395,1396,1397,1398,1399,1400,1401,1402,1403,1404,1405,1406,1407,1408,1409,1410,1411,1412,1413,1414,1415,1416,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1519,1520,1521,1522,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1749,1765,1766,1774,1775,1786,1787,1788,1791,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1994,1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2144,2145,2146,2147,2148,2149,2150,2151,2152,2153,2154,2208,2209,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,2221,2222,2223,2224,2225,2226,2227,2228,2230,2231,2232,2233,2234,2235,2236,2237,2308,2309,2310,2311,2312,2313,2314,2315,2316,2317,2318,2319,2320,2321,2322,2323,2324,2325,2326,2327,2328,2329,2330,2331,2332,2333,2334,2335,2336,2337,2338,2339,2340,2341,2342,2343,2344,2345,2346,2347,2348,2349,2350,2351,2352,2353,2354,2355,2356,2357,2358,2359,2360,2361,2365,2384,2392,2393,2394,2395,2396,2397,2398,2399,2400,2401,2417,2418,2419,2420,2421,2422,2423,2424,2425,2426,2427,2428,2429,2430,2431,2432,2437,2438,2439,2440,2441,2442,2443,2444,2447,2448,2451,2452,2453,2454,2455,2456,2457,2458,2459,2460,2461,2462,2463,2464,2465,2466,2467,2468,2469,2470,2471,2472,2474,2475,2476,2477,2478,2479,2480,2482,2486,2487,2488,2489,2493,2510,2524,2525,2527,2528,2529,2544,2545,2556,2565,2566,2567,2568,2569,2570,2575,2576,2579,2580,2581,2582,2583,2584,2585,2586,2587,2588,2589,2590,2591,2592,2593,2594,2595,2596,2597,2598,2599,2600,2602,2603,2604,2605,2606,2607,2608,2610,2611,2613,2614,2616,2617,2649,2650,2651,2652,2654,2674,2675,2676,2693,2694,2695,2696,2697,2698,2699,2700,2701,2703,2704,2705,2707,2708,2709,2710,2711,2712,2713,2714,2715,2716,2717,2718,2719,2720,2721,2722,2723,2724,2725,2726,2727,2728,2730,2731,2732,2733,2734,2735,2736,2738,2739,2741,2742,2743,2744,2745,2749,2768,2784,2785,2809,2821,2822,2823,2824,2825,2826,2827,2828,2831,2832,2835,2836,2837,2838,2839,2840,2841,2842,2843,2844,2845,2846,2847,2848,2849,2850,2851,2852,2853,2854,2855,2856,2858,2859,2860,2861,2862,2863,2864,2866,2867,2869,2870,2871,2872,2873,2877,2908,2909,2911,2912,2913,2929,2947,2949,2950,2951,2952,2953,2954,2958,2959,2960,2962,2963,2964,2965,2969,2970,2972,2974,2975,2979,2980,2984,2985,2986,2990,2991,2992,2993,2994,2995,2996,2997,2998,2999,3000,3001,3024,3077,3078,3079,3080,3081,3082,3083,3084,3086,3087,3088,3090,3091,3092,3093,3094,3095,3096,3097,3098,3099,3100,3101,3102,3103,3104,3105,3106,3107,3108,3109,3110,3111,3112,3114,3115,3116,3117,3118,3119,3120,3121,3122,3123,3124,3125,3126,3127,3128,3129,3133,3160,3161,3162,3168,3169,3200,3205,3206,3207,3208,3209,3210,3211,3212,3214,3215,3216,3218,3219,3220,3221,3222,3223,3224,3225,3226,3227,3228,3229,3230,3231,3232,3233,3234,3235,3236,3237,3238,3239,3240,3242,3243,3244,3245,3246,3247,3248,3249,3250,3251,3253,3254,3255,3256,3257,3261,3294,3296,3297,3313,3314,3333,3334,3335,3336,3337,3338,3339,3340,3342,3343,3344,3346,3347,3348,3349,3350,3351,3352,3353,3354,3355,3356,3357,3358,3359,3360,3361,3362,3363,3364,3365,3366,3367,3368,3369,3370,3371,3372,3373,3374,3375,3376,3377,3378,3379,3380,3381,3382,3383,3384,3385,3386,3389,3406,3412,3413,3414,3423,3424,3425,3450,3451,3452,3453,3454,3455,3461,3462,3463,3464,3465,3466,3467,3468,3469,3470,3471,3472,3473,3474,3475,3476,3477,3478,3482,3483,3484,3485,3486,3487,3488,3489,3490,3491,3492,3493,3494,3495,3496,3497,3498,3499,3500,3501,3502,3503,3504,3505,3507,3508,3509,3510,3511,3512,3513,3514,3515,3517,3520,3521,3522,3523,3524,3525,3526,3585,3586,3587,3588,3589,3590,3591,3592,3593,3594,3595,3596,3597,3598,3599,3600,3601,3602,3603,3604,3605,3606,3607,3608,3609,3610,3611,3612,3613,3614,3615,3616,3617,3618,3619,3620,3621,3622,3623,3624,3625,3626,3627,3628,3629,3630,3631,3632,3634,3635,3648,3649,3650,3651,3652,3653,3654,3713,3714,3716,3719,3720,3722,3725,3732,3733,3734,3735,3737,3738,3739,3740,3741,3742,3743,3745,3746,3747,3749,3751,3754,3755,3757,3758,3759,3760,3762,3763,3773,3776,3777,3778,3779,3780,3782,3804,3805,3806,3807,3840,3904,3905,3906,3907,3908,3909,3910,3911,3913,3914,3915,3916,3917,3918,3919,3920,3921,3922,3923,3924,3925,3926,3927,3928,3929,3930,3931,3932,3933,3934,3935,3936,3937,3938,3939,3940,3941,3942,3943,3944,3945,3946,3947,3948,3976,3977,3978,3979,3980,4096,4097,4098,4099,4100,4101,4102,4103,4104,4105,4106,4107,4108,4109,4110,4111,4112,4113,4114,4115,4116,4117,4118,4119,4120,4121,4122,4123,4124,4125,4126,4127,4128,4129,4130,4131,4132,4133,4134,4135,4136,4137,4138,4159,4176,4177,4178,4179,4180,4181,4186,4187,4188,4189,4193,4197,4198,4206,4207,4208,4213,4214,4215,4216,4217,4218,4219,4220,4221,4222,4223,4224,4225,4238,4256,4257,4258,4259,4260,4261,4262,4263,4264,4265,4266,4267,4268,4269,4270,4271,4272,4273,4274,4275,4276,4277,4278,4279,4280,4281,4282,4283,4284,4285,4286,4287,4288,4289,4290,4291,4292,4293,4295,4301,4304,4305,4306,4307,4308,4309,4310,4311,4312,4313,4314,4315,4316,4317,4318,4319,4320,4321,4322,4323,4324,4325,4326,4327,4328,4329,4330,4331,4332,4333,4334,4335,4336,4337,4338,4339,4340,4341,4342,4343,4344,4345,4346,4348,4349,4350,4351,4352,4353,4354,4355,4356,4357,4358,4359,4360,4361,4362,4363,4364,4365,4366,4367,4368,4369,4370,4371,4372,4373,4374,4375,4376,4377,4378,4379,4380,4381,4382,4383,4384,4385,4386,4387,4388,4389,4390,4391,4392,4393,4394,4395,4396,4397,4398,4399,4400,4401,4402,4403,4404,4405,4406,4407,4408,4409,4410,4411,4412,4413,4414,4415,4416,4417,4418,4419,4420,4421,4422,4423,4424,4425,4426,4427,4428,4429,4430,4431,4432,4433,4434,4435,4436,4437,4438,4439,4440,4441,4442,4443,4444,4445,4446,4447,4448,4449,4450,4451,4452,4453,4454,4455,4456,4457,4458,4459,4460,4461,4462,4463,4464,4465,4466,4467,4468,4469,4470,4471,4472,4473,4474,4475,4476,4477,4478,4479,4480,4481,4482,4483,4484,4485,4486,4487,4488,4489,4490,4491,4492,4493,4494,4495,4496,4497,4498,4499,4500,4501,4502,4503,4504,4505,4506,4507,4508,4509,4510,4511,4512,4513,4514,4515,4516,4517,4518,4519,4520,4521,4522,4523,4524,4525,4526,4527,4528,4529,4530,4531,4532,4533,4534,4535,4536,4537,4538,4539,4540,4541,4542,4543,4544,4545,4546,4547,4548,4549,4550,4551,4552,4553,4554,4555,4556,4557,4558,4559,4560,4561,4562,4563,4564,4565,4566,4567,4568,4569,4570,4571,4572,4573,4574,4575,4576,4577,4578,4579,4580,4581,4582,4583,4584,4585,4586,4587,4588,4589,4590,4591,4592,4593,4594,4595,4596,4597,4598,4599,4600,4601,4602,4603,4604,4605,4606,4607,4608,4609,4610,4611,4612,4613,4614,4615,4616,4617,4618,4619,4620,4621,4622,4623,4624,4625,4626,4627,4628,4629,4630,4631,4632,4633,4634,4635,4636,4637,4638,4639,4640,4641,4642,4643,4644,4645,4646,4647,4648,4649,4650,4651,4652,4653,4654,4655,4656,4657,4658,4659,4660,4661,4662,4663,4664,4665,4666,4667,4668,4669,4670,4671,4672,4673,4674,4675,4676,4677,4678,4679,4680,4682,4683,4684,4685,4688,4689,4690,4691,4692,4693,4694,4696,4698,4699,4700,4701,4704,4705,4706,4707,4708,4709,4710,4711,4712,4713,4714,4715,4716,4717,4718,4719,4720,4721,4722,4723,4724,4725,4726,4727,4728,4729,4730,4731,4732,4733,4734,4735,4736,4737,4738,4739,4740,4741,4742,4743,4744,4746,4747,4748,4749,4752,4753,4754,4755,4756,4757,4758,4759,4760,4761,4762,4763,4764,4765,4766,4767,4768,4769,4770,4771,4772,4773,4774,4775,4776,4777,4778,4779,4780,4781,4782,4783,4784,4786,4787,4788,4789,4792,4793,4794,4795,4796,4797,4798,4800,4802,4803,4804,4805,4808,4809,4810,4811,4812,4813,4814,4815,4816,4817,4818,4819,4820,4821,4822,4824,4825,4826,4827,4828,4829,4830,4831,4832,4833,4834,4835,4836,4837,4838,4839,4840,4841,4842,4843,4844,4845,4846,4847,4848,4849,4850,4851,4852,4853,4854,4855,4856,4857,4858,4859,4860,4861,4862,4863,4864,4865,4866,4867,4868,4869,4870,4871,4872,4873,4874,4875,4876,4877,4878,4879,4880,4882,4883,4884,4885,4888,4889,4890,4891,4892,4893,4894,4895,4896,4897,4898,4899,4900,4901,4902,4903,4904,4905,4906,4907,4908,4909,4910,4911,4912,4913,4914,4915,4916,4917,4918,4919,4920,4921,4922,4923,4924,4925,4926,4927,4928,4929,4930,4931,4932,4933,4934,4935,4936,4937,4938,4939,4940,4941,4942,4943,4944,4945,4946,4947,4948,4949,4950,4951,4952,4953,4954,4992,4993,4994,4995,4996,4997,4998,4999,5000,5001,5002,5003,5004,5005,5006,5007,5024,5025,5026,5027,5028,5029,5030,5031,5032,5033,5034,5035,5036,5037,5038,5039,5040,5041,5042,5043,5044,5045,5046,5047,5048,5049,5050,5051,5052,5053,5054,5055,5056,5057,5058,5059,5060,5061,5062,5063,5064,5065,5066,5067,5068,5069,5070,5071,5072,5073,5074,5075,5076,5077,5078,5079,5080,5081,5082,5083,5084,5085,5086,5087,5088,5089,5090,5091,5092,5093,5094,5095,5096,5097,5098,5099,5100,5101,5102,5103,5104,5105,5106,5107,5108,5109,5112,5113,5114,5115,5116,5117,5121,5122,5123,5124,5125,5126,5127,5128,5129,5130,5131,5132,5133,5134,5135,5136,5137,5138,5139,5140,5141,5142,5143,5144,5145,5146,5147,5148,5149,5150,5151,5152,5153,5154,5155,5156,5157,5158,5159,5160,5161,5162,5163,5164,5165,5166,5167,5168,5169,5170,5171,5172,5173,5174,5175,5176,5177,5178,5179,5180,5181,5182,5183,5184,5185,5186,5187,5188,5189,5190,5191,5192,5193,5194,5195,5196,5197,5198,5199,5200,5201,5202,5203,5204,5205,5206,5207,5208,5209,5210,5211,5212,5213,5214,5215,5216,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227,5228,5229,5230,5231,5232,5233,5234,5235,5236,5237,5238,5239,5240,5241,5242,5243,5244,5245,5246,5247,5248,5249,5250,5251,5252,5253,5254,5255,5256,5257,5258,5259,5260,5261,5262,5263,5264,5265,5266,5267,5268,5269,5270,5271,5272,5273,5274,5275,5276,5277,5278,5279,5280,5281,5282,5283,5284,5285,5286,5287,5288,5289,5290,5291,5292,5293,5294,5295,5296,5297,5298,5299,5300,5301,5302,5303,5304,5305,5306,5307,5308,5309,5310,5311,5312,5313,5314,5315,5316,5317,5318,5319,5320,5321,5322,5323,5324,5325,5326,5327,5328,5329,5330,5331,5332,5333,5334,5335,5336,5337,5338,5339,5340,5341,5342,5343,5344,5345,5346,5347,5348,5349,5350,5351,5352,5353,5354,5355,5356,5357,5358,5359,5360,5361,5362,5363,5364,5365,5366,5367,5368,5369,5370,5371,5372,5373,5374,5375,5376,5377,5378,5379,5380,5381,5382,5383,5384,5385,5386,5387,5388,5389,5390,5391,5392,5393,5394,5395,5396,5397,5398,5399,5400,5401,5402,5403,5404,5405,5406,5407,5408,5409,5410,5411,5412,5413,5414,5415,5416,5417,5418,5419,5420,5421,5422,5423,5424,5425,5426,5427,5428,5429,5430,5431,5432,5433,5434,5435,5436,5437,5438,5439,5440,5441,5442,5443,5444,5445,5446,5447,5448,5449,5450,5451,5452,5453,5454,5455,5456,5457,5458,5459,5460,5461,5462,5463,5464,5465,5466,5467,5468,5469,5470,5471,5472,5473,5474,5475,5476,5477,5478,5479,5480,5481,5482,5483,5484,5485,5486,5487,5488,5489,5490,5491,5492,5493,5494,5495,5496,5497,5498,5499,5500,5501,5502,5503,5504,5505,5506,5507,5508,5509,5510,5511,5512,5513,5514,5515,5516,5517,5518,5519,5520,5521,5522,5523,5524,5525,5526,5527,5528,5529,5530,5531,5532,5533,5534,5535,5536,5537,5538,5539,5540,5541,5542,5543,5544,5545,5546,5547,5548,5549,5550,5551,5552,5553,5554,5555,5556,5557,5558,5559,5560,5561,5562,5563,5564,5565,5566,5567,5568,5569,5570,5571,5572,5573,5574,5575,5576,5577,5578,5579,5580,5581,5582,5583,5584,5585,5586,5587,5588,5589,5590,5591,5592,5593,5594,5595,5596,5597,5598,5599,5600,5601,5602,5603,5604,5605,5606,5607,5608,5609,5610,5611,5612,5613,5614,5615,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,5628,5629,5630,5631,5632,5633,5634,5635,5636,5637,5638,5639,5640,5641,5642,5643,5644,5645,5646,5647,5648,5649,5650,5651,5652,5653,5654,5655,5656,5657,5658,5659,5660,5661,5662,5663,5664,5665,5666,5667,5668,5669,5670,5671,5672,5673,5674,5675,5676,5677,5678,5679,5680,5681,5682,5683,5684,5685,5686,5687,5688,5689,5690,5691,5692,5693,5694,5695,5696,5697,5698,5699,5700,5701,5702,5703,5704,5705,5706,5707,5708,5709,5710,5711,5712,5713,5714,5715,5716,5717,5718,5719,5720,5721,5722,5723,5724,5725,5726,5727,5728,5729,5730,5731,5732,5733,5734,5735,5736,5737,5738,5739,5740,5743,5744,5745,5746,5747,5748,5749,5750,5751,5752,5753,5754,5755,5756,5757,5758,5759,5761,5762,5763,5764,5765,5766,5767,5768,5769,5770,5771,5772,5773,5774,5775,5776,5777,5778,5779,5780,5781,5782,5783,5784,5785,5786,5792,5793,5794,5795,5796,5797,5798,5799,5800,5801,5802,5803,5804,5805,5806,5807,5808,5809,5810,5811,5812,5813,5814,5815,5816,5817,5818,5819,5820,5821,5822,5823,5824,5825,5826,5827,5828,5829,5830,5831,5832,5833,5834,5835,5836,5837,5838,5839,5840,5841,5842,5843,5844,5845,5846,5847,5848,5849,5850,5851,5852,5853,5854,5855,5856,5857,5858,5859,5860,5861,5862,5863,5864,5865,5866,5870,5871,5872,5873,5874,5875,5876,5877,5878,5879,5880,5888,5889,5890,5891,5892,5893,5894,5895,5896,5897,5898,5899,5900,5902,5903,5904,5905,5920,5921,5922,5923,5924,5925,5926,5927,5928,5929,5930,5931,5932,5933,5934,5935,5936,5937,5952,5953,5954,5955,5956,5957,5958,5959,5960,5961,5962,5963,5964,5965,5966,5967,5968,5969,5984,5985,5986,5987,5988,5989,5990,5991,5992,5993,5994,5995,5996,5998,5999,6000,6016,6017,6018,6019,6020,6021,6022,6023,6024,6025,6026,6027,6028,6029,6030,6031,6032,6033,6034,6035,6036,6037,6038,6039,6040,6041,6042,6043,6044,6045,6046,6047,6048,6049,6050,6051,6052,6053,6054,6055,6056,6057,6058,6059,6060,6061,6062,6063,6064,6065,6066,6067,6103,6108,6176,6177,6178,6179,6180,6181,6182,6183,6184,6185,6186,6187,6188,6189,6190,6191,6192,6193,6194,6195,6196,6197,6198,6199,6200,6201,6202,6203,6204,6205,6206,6207,6208,6209,6210,6211,6212,6213,6214,6215,6216,6217,6218,6219,6220,6221,6222,6223,6224,6225,6226,6227,6228,6229,6230,6231,6232,6233,6234,6235,6236,6237,6238,6239,6240,6241,6242,6243,6244,6245,6246,6247,6248,6249,6250,6251,6252,6253,6254,6255,6256,6257,6258,6259,6260,6261,6262,6263,6264,6272,6273,6274,6275,6276,6277,6278,6279,6280,6281,6282,6283,6284,6285,6286,6287,6288,6289,6290,6291,6292,6293,6294,6295,6296,6297,6298,6299,6300,6301,6302,6303,6304,6305,6306,6307,6308,6309,6310,6311,6312,6314,6320,6321,6322,6323,6324,6325,6326,6327,6328,6329,6330,6331,6332,6333,6334,6335,6336,6337,6338,6339,6340,6341,6342,6343,6344,6345,6346,6347,6348,6349,6350,6351,6352,6353,6354,6355,6356,6357,6358,6359,6360,6361,6362,6363,6364,6365,6366,6367,6368,6369,6370,6371,6372,6373,6374,6375,6376,6377,6378,6379,6380,6381,6382,6383,6384,6385,6386,6387,6388,6389,6400,6401,6402,6403,6404,6405,6406,6407,6408,6409,6410,6411,6412,6413,6414,6415,6416,6417,6418,6419,6420,6421,6422,6423,6424,6425,6426,6427,6428,6429,6430,6480,6481,6482,6483,6484,6485,6486,6487,6488,6489,6490,6491,6492,6493,6494,6495,6496,6497,6498,6499,6500,6501,6502,6503,6504,6505,6506,6507,6508,6509,6512,6513,6514,6515,6516,6528,6529,6530,6531,6532,6533,6534,6535,6536,6537,6538,6539,6540,6541,6542,6543,6544,6545,6546,6547,6548,6549,6550,6551,6552,6553,6554,6555,6556,6557,6558,6559,6560,6561,6562,6563,6564,6565,6566,6567,6568,6569,6570,6571,6576,6577,6578,6579,6580,6581,6582,6583,6584,6585,6586,6587,6588,6589,6590,6591,6592,6593,6594,6595,6596,6597,6598,6599,6600,6601,6656,6657,6658,6659,6660,6661,6662,6663,6664,6665,6666,6667,6668,6669,6670,6671,6672,6673,6674,6675,6676,6677,6678,6688,6689,6690,6691,6692,6693,6694,6695,6696,6697,6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710,6711,6712,6713,6714,6715,6716,6717,6718,6719,6720,6721,6722,6723,6724,6725,6726,6727,6728,6729,6730,6731,6732,6733,6734,6735,6736,6737,6738,6739,6740,6823,6917,6918,6919,6920,6921,6922,6923,6924,6925,6926,6927,6928,6929,6930,6931,6932,6933,6934,6935,6936,6937,6938,6939,6940,6941,6942,6943,6944,6945,6946,6947,6948,6949,6950,6951,6952,6953,6954,6955,6956,6957,6958,6959,6960,6961,6962,6963,6981,6982,6983,6984,6985,6986,6987,7043,7044,7045,7046,7047,7048,7049,7050,7051,7052,7053,7054,7055,7056,7057,7058,7059,7060,7061,7062,7063,7064,7065,7066,7067,7068,7069,7070,7071,7072,7086,7087,7098,7099,7100,7101,7102,7103,7104,7105,7106,7107,7108,7109,7110,7111,7112,7113,7114,7115,7116,7117,7118,7119,7120,7121,7122,7123,7124,7125,7126,7127,7128,7129,7130,7131,7132,7133,7134,7135,7136,7137,7138,7139,7140,7141,7168,7169,7170,7171,7172,7173,7174,7175,7176,7177,7178,7179,7180,7181,7182,7183,7184,7185,7186,7187,7188,7189,7190,7191,7192,7193,7194,7195,7196,7197,7198,7199,7200,7201,7202,7203,7245,7246,7247,7258,7259,7260,7261,7262,7263,7264,7265,7266,7267,7268,7269,7270,7271,7272,7273,7274,7275,7276,7277,7278,7279,7280,7281,7282,7283,7284,7285,7286,7287,7288,7289,7290,7291,7292,7293,7296,7297,7298,7299,7300,7301,7302,7303,7304,7312,7313,7314,7315,7316,7317,7318,7319,7320,7321,7322,7323,7324,7325,7326,7327,7328,7329,7330,7331,7332,7333,7334,7335,7336,7337,7338,7339,7340,7341,7342,7343,7344,7345,7346,7347,7348,7349,7350,7351,7352,7353,7354,7357,7358,7359,7401,7402,7403,7404,7406,7407,7408,7409,7413,7414,7424,7425,7426,7427,7428,7429,7430,7431,7432,7433,7434,7435,7436,7437,7438,7439,7440,7441,7442,7443,7444,7445,7446,7447,7448,7449,7450,7451,7452,7453,7454,7455,7456,7457,7458,7459,7460,7461,7462,7463,7464,7465,7466,7467,7468,7469,7470,7471,7472,7473,7474,7475,7476,7477,7478,7479,7480,7481,7482,7483,7484,7485,7486,7487,7488,7489,7490,7491,7492,7493,7494,7495,7496,7497,7498,7499,7500,7501,7502,7503,7504,7505,7506,7507,7508,7509,7510,7511,7512,7513,7514,7515,7516,7517,7518,7519,7520,7521,7522,7523,7524,7525,7526,7527,7528,7529,7530,7531,7532,7533,7534,7535,7536,7537,7538,7539,7540,7541,7542,7543,7544,7545,7546,7547,7548,7549,7550,7551,7552,7553,7554,7555,7556,7557,7558,7559,7560,7561,7562,7563,7564,7565,7566,7567,7568,7569,7570,7571,7572,7573,7574,7575,7576,7577,7578,7579,7580,7581,7582,7583,7584,7585,7586,7587,7588,7589,7590,7591,7592,7593,7594,7595,7596,7597,7598,7599,7600,7601,7602,7603,7604,7605,7606,7607,7608,7609,7610,7611,7612,7613,7614,7615,7680,7681,7682,7683,7684,7685,7686,7687,7688,7689,7690,7691,7692,7693,7694,7695,7696,7697,7698,7699,7700,7701,7702,7703,7704,7705,7706,7707,7708,7709,7710,7711,7712,7713,7714,7715,7716,7717,7718,7719,7720,7721,7722,7723,7724,7725,7726,7727,7728,7729,7730,7731,7732,7733,7734,7735,7736,7737,7738,7739,7740,7741,7742,7743,7744,7745,7746,7747,7748,7749,7750,7751,7752,7753,7754,7755,7756,7757,7758,7759,7760,7761,7762,7763,7764,7765,7766,7767,7768,7769,7770,7771,7772,7773,7774,7775,7776,7777,7778,7779,7780,7781,7782,7783,7784,7785,7786,7787,7788,7789,7790,7791,7792,7793,7794,7795,7796,7797,7798,7799,7800,7801,7802,7803,7804,7805,7806,7807,7808,7809,7810,7811,7812,7813,7814,7815,7816,7817,7818,7819,7820,7821,7822,7823,7824,7825,7826,7827,7828,7829,7830,7831,7832,7833,7834,7835,7836,7837,7838,7839,7840,7841,7842,7843,7844,7845,7846,7847,7848,7849,7850,7851,7852,7853,7854,7855,7856,7857,7858,7859,7860,7861,7862,7863,7864,7865,7866,7867,7868,7869,7870,7871,7872,7873,7874,7875,7876,7877,7878,7879,7880,7881,7882,7883,7884,7885,7886,7887,7888,7889,7890,7891,7892,7893,7894,7895,7896,7897,7898,7899,7900,7901,7902,7903,7904,7905,7906,7907,7908,7909,7910,7911,7912,7913,7914,7915,7916,7917,7918,7919,7920,7921,7922,7923,7924,7925,7926,7927,7928,7929,7930,7931,7932,7933,7934,7935,7936,7937,7938,7939,7940,7941,7942,7943,7944,7945,7946,7947,7948,7949,7950,7951,7952,7953,7954,7955,7956,7957,7960,7961,7962,7963,7964,7965,7968,7969,7970,7971,7972,7973,7974,7975,7976,7977,7978,7979,7980,7981,7982,7983,7984,7985,7986,7987,7988,7989,7990,7991,7992,7993,7994,7995,7996,7997,7998,7999,8000,8001,8002,8003,8004,8005,8008,8009,8010,8011,8012,8013,8016,8017,8018,8019,8020,8021,8022,8023,8025,8027,8029,8031,8032,8033,8034,8035,8036,8037,8038,8039,8040,8041,8042,8043,8044,8045,8046,8047,8048,8049,8050,8051,8052,8053,8054,8055,8056,8057,8058,8059,8060,8061,8064,8065,8066,8067,8068,8069,8070,8071,8072,8073,8074,8075,8076,8077,8078,8079,8080,8081,8082,8083,8084,8085,8086,8087,8088,8089,8090,8091,8092,8093,8094,8095,8096,8097,8098,8099,8100,8101,8102,8103,8104,8105,8106,8107,8108,8109,8110,8111,8112,8113,8114,8115,8116,8118,8119,8120,8121,8122,8123,8124,8126,8130,8131,8132,8134,8135,8136,8137,8138,8139,8140,8144,8145,8146,8147,8150,8151,8152,8153,8154,8155,8160,8161,8162,8163,8164,8165,8166,8167,8168,8169,8170,8171,8172,8178,8179,8180,8182,8183,8184,8185,8186,8187,8188,8305,8319,8336,8337,8338,8339,8340,8341,8342,8343,8344,8345,8346,8347,8348,8450,8455,8458,8459,8460,8461,8462,8463,8464,8465,8466,8467,8469,8472,8473,8474,8475,8476,8477,8484,8486,8488,8490,8491,8492,8493,8494,8495,8496,8497,8498,8499,8500,8501,8502,8503,8504,8505,8508,8509,8510,8511,8517,8518,8519,8520,8521,8526,8544,8545,8546,8547,8548,8549,8550,8551,8552,8553,8554,8555,8556,8557,8558,8559,8560,8561,8562,8563,8564,8565,8566,8567,8568,8569,8570,8571,8572,8573,8574,8575,8576,8577,8578,8579,8580,8581,8582,8583,8584,11264,11265,11266,11267,11268,11269,11270,11271,11272,11273,11274,11275,11276,11277,11278,11279,11280,11281,11282,11283,11284,11285,11286,11287,11288,11289,11290,11291,11292,11293,11294,11295,11296,11297,11298,11299,11300,11301,11302,11303,11304,11305,11306,11307,11308,11309,11310,11312,11313,11314,11315,11316,11317,11318,11319,11320,11321,11322,11323,11324,11325,11326,11327,11328,11329,11330,11331,11332,11333,11334,11335,11336,11337,11338,11339,11340,11341,11342,11343,11344,11345,11346,11347,11348,11349,11350,11351,11352,11353,11354,11355,11356,11357,11358,11360,11361,11362,11363,11364,11365,11366,11367,11368,11369,11370,11371,11372,11373,11374,11375,11376,11377,11378,11379,11380,11381,11382,11383,11384,11385,11386,11387,11388,11389,11390,11391,11392,11393,11394,11395,11396,11397,11398,11399,11400,11401,11402,11403,11404,11405,11406,11407,11408,11409,11410,11411,11412,11413,11414,11415,11416,11417,11418,11419,11420,11421,11422,11423,11424,11425,11426,11427,11428,11429,11430,11431,11432,11433,11434,11435,11436,11437,11438,11439,11440,11441,11442,11443,11444,11445,11446,11447,11448,11449,11450,11451,11452,11453,11454,11455,11456,11457,11458,11459,11460,11461,11462,11463,11464,11465,11466,11467,11468,11469,11470,11471,11472,11473,11474,11475,11476,11477,11478,11479,11480,11481,11482,11483,11484,11485,11486,11487,11488,11489,11490,11491,11492,11499,11500,11501,11502,11506,11507,11520,11521,11522,11523,11524,11525,11526,11527,11528,11529,11530,11531,11532,11533,11534,11535,11536,11537,11538,11539,11540,11541,11542,11543,11544,11545,11546,11547,11548,11549,11550,11551,11552,11553,11554,11555,11556,11557,11559,11565,11568,11569,11570,11571,11572,11573,11574,11575,11576,11577,11578,11579,11580,11581,11582,11583,11584,11585,11586,11587,11588,11589,11590,11591,11592,11593,11594,11595,11596,11597,11598,11599,11600,11601,11602,11603,11604,11605,11606,11607,11608,11609,11610,11611,11612,11613,11614,11615,11616,11617,11618,11619,11620,11621,11622,11623,11631,11648,11649,11650,11651,11652,11653,11654,11655,11656,11657,11658,11659,11660,11661,11662,11663,11664,11665,11666,11667,11668,11669,11670,11680,11681,11682,11683,11684,11685,11686,11688,11689,11690,11691,11692,11693,11694,11696,11697,11698,11699,11700,11701,11702,11704,11705,11706,11707,11708,11709,11710,11712,11713,11714,11715,11716,11717,11718,11720,11721,11722,11723,11724,11725,11726,11728,11729,11730,11731,11732,11733,11734,11736,11737,11738,11739,11740,11741,11742,12293,12294,12295,12321,12322,12323,12324,12325,12326,12327,12328,12329,12337,12338,12339,12340,12341,12344,12345,12346,12347,12348,12353,12354,12355,12356,12357,12358,12359,12360,12361,12362,12363,12364,12365,12366,12367,12368,12369,12370,12371,12372,12373,12374,12375,12376,12377,12378,12379,12380,12381,12382,12383,12384,12385,12386,12387,12388,12389,12390,12391,12392,12393,12394,12395,12396,12397,12398,12399,12400,12401,12402,12403,12404,12405,12406,12407,12408,12409,12410,12411,12412,12413,12414,12415,12416,12417,12418,12419,12420,12421,12422,12423,12424,12425,12426,12427,12428,12429,12430,12431,12432,12433,12434,12435,12436,12437,12438,12443,12444,12445,12446,12447,12449,12450,12451,12452,12453,12454,12455,12456,12457,12458,12459,12460,12461,12462,12463,12464,12465,12466,12467,12468,12469,12470,12471,12472,12473,12474,12475,12476,12477,12478,12479,12480,12481,12482,12483,12484,12485,12486,12487,12488,12489,12490,12491,12492,12493,12494,12495,12496,12497,12498,12499,12500,12501,12502,12503,12504,12505,12506,12507,12508,12509,12510,12511,12512,12513,12514,12515,12516,12517,12518,12519,12520,12521,12522,12523,12524,12525,12526,12527,12528,12529,12530,12531,12532,12533,12534,12535,12536,12537,12538,12540,12541,12542,12543,12549,12550,12551,12552,12553,12554,12555,12556,12557,12558,12559,12560,12561,12562,12563,12564,12565,12566,12567,12568,12569,12570,12571,12572,12573,12574,12575,12576,12577,12578,12579,12580,12581,12582,12583,12584,12585,12586,12587,12588,12589,12590,12591,12593,12594,12595,12596,12597,12598,12599,12600,12601,12602,12603,12604,12605,12606,12607,12608,12609,12610,12611,12612,12613,12614,12615,12616,12617,12618,12619,12620,12621,12622,12623,12624,12625,12626,12627,12628,12629,12630,12631,12632,12633,12634,12635,12636,12637,12638,12639,12640,12641,12642,12643,12644,12645,12646,12647,12648,12649,12650,12651,12652,12653,12654,12655,12656,12657,12658,12659,12660,12661,12662,12663,12664,12665,12666,12667,12668,12669,12670,12671,12672,12673,12674,12675,12676,12677,12678,12679,12680,12681,12682,12683,12684,12685,12686,12704,12705,12706,12707,12708,12709,12710,12711,12712,12713,12714,12715,12716,12717,12718,12719,12720,12721,12722,12723,12724,12725,12726,12727,12728,12729,12730,12784,12785,12786,12787,12788,12789,12790,12791,12792,12793,12794,12795,12796,12797,12798,12799,13312,13313,13314,13315,13316,13317,13318,13319,13320,13321,13322,13323,13324,13325,13326,13327,13328,13329,13330,13331,13332,13333,13334,13335,13336,13337,13338,13339,13340,13341,13342,13343,13344,13345,13346,13347,13348,13349,13350,13351,13352,13353,13354,13355,13356,13357,13358,13359,13360,13361,13362,13363,13364,13365,13366,13367,13368,13369,13370,13371,13372,13373,13374,13375,13376,13377,13378,13379,13380,13381,13382,13383,13384,13385,13386,13387,13388,13389,13390,13391,13392,13393,13394,13395,13396,13397,13398,13399,13400,13401,13402,13403,13404,13405,13406,13407,13408,13409,13410,13411,13412,13413,13414,13415,13416,13417,13418,13419,13420,13421,13422,13423,13424,13425,13426,13427,13428,13429,13430,13431,13432,13433,13434,13435,13436,13437,13438,13439,13440,13441,13442,13443,13444,13445,13446,13447,13448,13449,13450,13451,13452,13453,13454,13455,13456,13457,13458,13459,13460,13461,13462,13463,13464,13465,13466,13467,13468,13469,13470,13471,13472,13473,13474,13475,13476,13477,13478,13479,13480,13481,13482,13483,13484,13485,13486,13487,13488,13489,13490,13491,13492,13493,13494,13495,13496,13497,13498,13499,13500,13501,13502,13503,13504,13505,13506,13507,13508,13509,13510,13511,13512,13513,13514,13515,13516,13517,13518,13519,13520,13521,13522,13523,13524,13525,13526,13527,13528,13529,13530,13531,13532,13533,13534,13535,13536,13537,13538,13539,13540,13541,13542,13543,13544,13545,13546,13547,13548,13549,13550,13551,13552,13553,13554,13555,13556,13557,13558,13559,13560,13561,13562,13563,13564,13565,13566,13567,13568,13569,13570,13571,13572,13573,13574,13575,13576,13577,13578,13579,13580,13581,13582,13583,13584,13585,13586,13587,13588,13589,13590,13591,13592,13593,13594,13595,13596,13597,13598,13599,13600,13601,13602,13603,13604,13605,13606,13607,13608,13609,13610,13611,13612,13613,13614,13615,13616,13617,13618,13619,13620,13621,13622,13623,13624,13625,13626,13627,13628,13629,13630,13631,13632,13633,13634,13635,13636,13637,13638,13639,13640,13641,13642,13643,13644,13645,13646,13647,13648,13649,13650,13651,13652,13653,13654,13655,13656,13657,13658,13659,13660,13661,13662,13663,13664,13665,13666,13667,13668,13669,13670,13671,13672,13673,13674,13675,13676,13677,13678,13679,13680,13681,13682,13683,13684,13685,13686,13687,13688,13689,13690,13691,13692,13693,13694,13695,13696,13697,13698,13699,13700,13701,13702,13703,13704,13705,13706,13707,13708,13709,13710,13711,13712,13713,13714,13715,13716,13717,13718,13719,13720,13721,13722,13723,13724,13725,13726,13727,13728,13729,13730,13731,13732,13733,13734,13735,13736,13737,13738,13739,13740,13741,13742,13743,13744,13745,13746,13747,13748,13749,13750,13751,13752,13753,13754,13755,13756,13757,13758,13759,13760,13761,13762,13763,13764,13765,13766,13767,13768,13769,13770,13771,13772,13773,13774,13775,13776,13777,13778,13779,13780,13781,13782,13783,13784,13785,13786,13787,13788,13789,13790,13791,13792,13793,13794,13795,13796,13797,13798,13799,13800,13801,13802,13803,13804,13805,13806,13807,13808,13809,13810,13811,13812,13813,13814,13815,13816,13817,13818,13819,13820,13821,13822,13823,13824,13825,13826,13827,13828,13829,13830,13831,13832,13833,13834,13835,13836,13837,13838,13839,13840,13841,13842,13843,13844,13845,13846,13847,13848,13849,13850,13851,13852,13853,13854,13855,13856,13857,13858,13859,13860,13861,13862,13863,13864,13865,13866,13867,13868,13869,13870,13871,13872,13873,13874,13875,13876,13877,13878,13879,13880,13881,13882,13883,13884,13885,13886,13887,13888,13889,13890,13891,13892,13893,13894,13895,13896,13897,13898,13899,13900,13901,13902,13903,13904,13905,13906,13907,13908,13909,13910,13911,13912,13913,13914,13915,13916,13917,13918,13919,13920,13921,13922,13923,13924,13925,13926,13927,13928,13929,13930,13931,13932,13933,13934,13935,13936,13937,13938,13939,13940,13941,13942,13943,13944,13945,13946,13947,13948,13949,13950,13951,13952,13953,13954,13955,13956,13957,13958,13959,13960,13961,13962,13963,13964,13965,13966,13967,13968,13969,13970,13971,13972,13973,13974,13975,13976,13977,13978,13979,13980,13981,13982,13983,13984,13985,13986,13987,13988,13989,13990,13991,13992,13993,13994,13995,13996,13997,13998,13999,14000,14001,14002,14003,14004,14005,14006,14007,14008,14009,14010,14011,14012,14013,14014,14015,14016,14017,14018,14019,14020,14021,14022,14023,14024,14025,14026,14027,14028,14029,14030,14031,14032,14033,14034,14035,14036,14037,14038,14039,14040,14041,14042,14043,14044,14045,14046,14047,14048,14049,14050,14051,14052,14053,14054,14055,14056,14057,14058,14059,14060,14061,14062,14063,14064,14065,14066,14067,14068,14069,14070,14071,14072,14073,14074,14075,14076,14077,14078,14079,14080,14081,14082,14083,14084,14085,14086,14087,14088,14089,14090,14091,14092,14093,14094,14095,14096,14097,14098,14099,14100,14101,14102,14103,14104,14105,14106,14107,14108,14109,14110,14111,14112,14113,14114,14115,14116,14117,14118,14119,14120,14121,14122,14123,14124,14125,14126,14127,14128,14129,14130,14131,14132,14133,14134,14135,14136,14137,14138,14139,14140,14141,14142,14143,14144,14145,14146,14147,14148,14149,14150,14151,14152,14153,14154,14155,14156,14157,14158,14159,14160,14161,14162,14163,14164,14165,14166,14167,14168,14169,14170,14171,14172,14173,14174,14175,14176,14177,14178,14179,14180,14181,14182,14183,14184,14185,14186,14187,14188,14189,14190,14191,14192,14193,14194,14195,14196,14197,14198,14199,14200,14201,14202,14203,14204,14205,14206,14207,14208,14209,14210,14211,14212,14213,14214,14215,14216,14217,14218,14219,14220,14221,14222,14223,14224,14225,14226,14227,14228,14229,14230,14231,14232,14233,14234,14235,14236,14237,14238,14239,14240,14241,14242,14243,14244,14245,14246,14247,14248,14249,14250,14251,14252,14253,14254,14255,14256,14257,14258,14259,14260,14261,14262,14263,14264,14265,14266,14267,14268,14269,14270,14271,14272,14273,14274,14275,14276,14277,14278,14279,14280,14281,14282,14283,14284,14285,14286,14287,14288,14289,14290,14291,14292,14293,14294,14295,14296,14297,14298,14299,14300,14301,14302,14303,14304,14305,14306,14307,14308,14309,14310,14311,14312,14313,14314,14315,14316,14317,14318,14319,14320,14321,14322,14323,14324,14325,14326,14327,14328,14329,14330,14331,14332,14333,14334,14335,14336,14337,14338,14339,14340,14341,14342,14343,14344,14345,14346,14347,14348,14349,14350,14351,14352,14353,14354,14355,14356,14357,14358,14359,14360,14361,14362,14363,14364,14365,14366,14367,14368,14369,14370,14371,14372,14373,14374,14375,14376,14377,14378,14379,14380,14381,14382,14383,14384,14385,14386,14387,14388,14389,14390,14391,14392,14393,14394,14395,14396,14397,14398,14399,14400,14401,14402,14403,14404,14405,14406,14407,14408,14409,14410,14411,14412,14413,14414,14415,14416,14417,14418,14419,14420,14421,14422,14423,14424,14425,14426,14427,14428,14429,14430,14431,14432,14433,14434,14435,14436,14437,14438,14439,14440,14441,14442,14443,14444,14445,14446,14447,14448,14449,14450,14451,14452,14453,14454,14455,14456,14457,14458,14459,14460,14461,14462,14463,14464,14465,14466,14467,14468,14469,14470,14471,14472,14473,14474,14475,14476,14477,14478,14479,14480,14481,14482,14483,14484,14485,14486,14487,14488,14489,14490,14491,14492,14493,14494,14495,14496,14497,14498,14499,14500,14501,14502,14503,14504,14505,14506,14507,14508,14509,14510,14511,14512,14513,14514,14515,14516,14517,14518,14519,14520,14521,14522,14523,14524,14525,14526,14527,14528,14529,14530,14531,14532,14533,14534,14535,14536,14537,14538,14539,14540,14541,14542,14543,14544,14545,14546,14547,14548,14549,14550,14551,14552,14553,14554,14555,14556,14557,14558,14559,14560,14561,14562,14563,14564,14565,14566,14567,14568,14569,14570,14571,14572,14573,14574,14575,14576,14577,14578,14579,14580,14581,14582,14583,14584,14585,14586,14587,14588,14589,14590,14591,14592,14593,14594,14595,14596,14597,14598,14599,14600,14601,14602,14603,14604,14605,14606,14607,14608,14609,14610,14611,14612,14613,14614,14615,14616,14617,14618,14619,14620,14621,14622,14623,14624,14625,14626,14627,14628,14629,14630,14631,14632,14633,14634,14635,14636,14637,14638,14639,14640,14641,14642,14643,14644,14645,14646,14647,14648,14649,14650,14651,14652,14653,14654,14655,14656,14657,14658,14659,14660,14661,14662,14663,14664,14665,14666,14667,14668,14669,14670,14671,14672,14673,14674,14675,14676,14677,14678,14679,14680,14681,14682,14683,14684,14685,14686,14687,14688,14689,14690,14691,14692,14693,14694,14695,14696,14697,14698,14699,14700,14701,14702,14703,14704,14705,14706,14707,14708,14709,14710,14711,14712,14713,14714,14715,14716,14717,14718,14719,14720,14721,14722,14723,14724,14725,14726,14727,14728,14729,14730,14731,14732,14733,14734,14735,14736,14737,14738,14739,14740,14741,14742,14743,14744,14745,14746,14747,14748,14749,14750,14751,14752,14753,14754,14755,14756,14757,14758,14759,14760,14761,14762,14763,14764,14765,14766,14767,14768,14769,14770,14771,14772,14773,14774,14775,14776,14777,14778,14779,14780,14781,14782,14783,14784,14785,14786,14787,14788,14789,14790,14791,14792,14793,14794,14795,14796,14797,14798,14799,14800,14801,14802,14803,14804,14805,14806,14807,14808,14809,14810,14811,14812,14813,14814,14815,14816,14817,14818,14819,14820,14821,14822,14823,14824,14825,14826,14827,14828,14829,14830,14831,14832,14833,14834,14835,14836,14837,14838,14839,14840,14841,14842,14843,14844,14845,14846,14847,14848,14849,14850,14851,14852,14853,14854,14855,14856,14857,14858,14859,14860,14861,14862,14863,14864,14865,14866,14867,14868,14869,14870,14871,14872,14873,14874,14875,14876,14877,14878,14879,14880,14881,14882,14883,14884,14885,14886,14887,14888,14889,14890,14891,14892,14893,14894,14895,14896,14897,14898,14899,14900,14901,14902,14903,14904,14905,14906,14907,14908,14909,14910,14911,14912,14913,14914,14915,14916,14917,14918,14919,14920,14921,14922,14923,14924,14925,14926,14927,14928,14929,14930,14931,14932,14933,14934,14935,14936,14937,14938,14939,14940,14941,14942,14943,14944,14945,14946,14947,14948,14949,14950,14951,14952,14953,14954,14955,14956,14957,14958,14959,14960,14961,14962,14963,14964,14965,14966,14967,14968,14969,14970,14971,14972,14973,14974,14975,14976,14977,14978,14979,14980,14981,14982,14983,14984,14985,14986,14987,14988,14989,14990,14991,14992,14993,14994,14995,14996,14997,14998,14999,15000,15001,15002,15003,15004,15005,15006,15007,15008,15009,15010,15011,15012,15013,15014,15015,15016,15017,15018,15019,15020,15021,15022,15023,15024,15025,15026,15027,15028,15029,15030,15031,15032,15033,15034,15035,15036,15037,15038,15039,15040,15041,15042,15043,15044,15045,15046,15047,15048,15049,15050,15051,15052,15053,15054,15055,15056,15057,15058,15059,15060,15061,15062,15063,15064,15065,15066,15067,15068,15069,15070,15071,15072,15073,15074,15075,15076,15077,15078,15079,15080,15081,15082,15083,15084,15085,15086,15087,15088,15089,15090,15091,15092,15093,15094,15095,15096,15097,15098,15099,15100,15101,15102,15103,15104,15105,15106,15107,15108,15109,15110,15111,15112,15113,15114,15115,15116,15117,15118,15119,15120,15121,15122,15123,15124,15125,15126,15127,15128,15129,15130,15131,15132,15133,15134,15135,15136,15137,15138,15139,15140,15141,15142,15143,15144,15145,15146,15147,15148,15149,15150,15151,15152,15153,15154,15155,15156,15157,15158,15159,15160,15161,15162,15163,15164,15165,15166,15167,15168,15169,15170,15171,15172,15173,15174,15175,15176,15177,15178,15179,15180,15181,15182,15183,15184,15185,15186,15187,15188,15189,15190,15191,15192,15193,15194,15195,15196,15197,15198,15199,15200,15201,15202,15203,15204,15205,15206,15207,15208,15209,15210,15211,15212,15213,15214,15215,15216,15217,15218,15219,15220,15221,15222,15223,15224,15225,15226,15227,15228,15229,15230,15231,15232,15233,15234,15235,15236,15237,15238,15239,15240,15241,15242,15243,15244,15245,15246,15247,15248,15249,15250,15251,15252,15253,15254,15255,15256,15257,15258,15259,15260,15261,15262,15263,15264,15265,15266,15267,15268,15269,15270,15271,15272,15273,15274,15275,15276,15277,15278,15279,15280,15281,15282,15283,15284,15285,15286,15287,15288,15289,15290,15291,15292,15293,15294,15295,15296,15297,15298,15299,15300,15301,15302,15303,15304,15305,15306,15307,15308,15309,15310,15311,15312,15313,15314,15315,15316,15317,15318,15319,15320,15321,15322,15323,15324,15325,15326,15327,15328,15329,15330,15331,15332,15333,15334,15335,15336,15337,15338,15339,15340,15341,15342,15343,15344,15345,15346,15347,15348,15349,15350,15351,15352,15353,15354,15355,15356,15357,15358,15359,15360,15361,15362,15363,15364,15365,15366,15367,15368,15369,15370,15371,15372,15373,15374,15375,15376,15377,15378,15379,15380,15381,15382,15383,15384,15385,15386,15387,15388,15389,15390,15391,15392,15393,15394,15395,15396,15397,15398,15399,15400,15401,15402,15403,15404,15405,15406,15407,15408,15409,15410,15411,15412,15413,15414,15415,15416,15417,15418,15419,15420,15421,15422,15423,15424,15425,15426,15427,15428,15429,15430,15431,15432,15433,15434,15435,15436,15437,15438,15439,15440,15441,15442,15443,15444,15445,15446,15447,15448,15449,15450,15451,15452,15453,15454,15455,15456,15457,15458,15459,15460,15461,15462,15463,15464,15465,15466,15467,15468,15469,15470,15471,15472,15473,15474,15475,15476,15477,15478,15479,15480,15481,15482,15483,15484,15485,15486,15487,15488,15489,15490,15491,15492,15493,15494,15495,15496,15497,15498,15499,15500,15501,15502,15503,15504,15505,15506,15507,15508,15509,15510,15511,15512,15513,15514,15515,15516,15517,15518,15519,15520,15521,15522,15523,15524,15525,15526,15527,15528,15529,15530,15531,15532,15533,15534,15535,15536,15537,15538,15539,15540,15541,15542,15543,15544,15545,15546,15547,15548,15549,15550,15551,15552,15553,15554,15555,15556,15557,15558,15559,15560,15561,15562,15563,15564,15565,15566,15567,15568,15569,15570,15571,15572,15573,15574,15575,15576,15577,15578,15579,15580,15581,15582,15583,15584,15585,15586,15587,15588,15589,15590,15591,15592,15593,15594,15595,15596,15597,15598,15599,15600,15601,15602,15603,15604,15605,15606,15607,15608,15609,15610,15611,15612,15613,15614,15615,15616,15617,15618,15619,15620,15621,15622,15623,15624,15625,15626,15627,15628,15629,15630,15631,15632,15633,15634,15635,15636,15637,15638,15639,15640,15641,15642,15643,15644,15645,15646,15647,15648,15649,15650,15651,15652,15653,15654,15655,15656,15657,15658,15659,15660,15661,15662,15663,15664,15665,15666,15667,15668,15669,15670,15671,15672,15673,15674,15675,15676,15677,15678,15679,15680,15681,15682,15683,15684,15685,15686,15687,15688,15689,15690,15691,15692,15693,15694,15695,15696,15697,15698,15699,15700,15701,15702,15703,15704,15705,15706,15707,15708,15709,15710,15711,15712,15713,15714,15715,15716,15717,15718,15719,15720,15721,15722,15723,15724,15725,15726,15727,15728,15729,15730,15731,15732,15733,15734,15735,15736,15737,15738,15739,15740,15741,15742,15743,15744,15745,15746,15747,15748,15749,15750,15751,15752,15753,15754,15755,15756,15757,15758,15759,15760,15761,15762,15763,15764,15765,15766,15767,15768,15769,15770,15771,15772,15773,15774,15775,15776,15777,15778,15779,15780,15781,15782,15783,15784,15785,15786,15787,15788,15789,15790,15791,15792,15793,15794,15795,15796,15797,15798,15799,15800,15801,15802,15803,15804,15805,15806,15807,15808,15809,15810,15811,15812,15813,15814,15815,15816,15817,15818,15819,15820,15821,15822,15823,15824,15825,15826,15827,15828,15829,15830,15831,15832,15833,15834,15835,15836,15837,15838,15839,15840,15841,15842,15843,15844,15845,15846,15847,15848,15849,15850,15851,15852,15853,15854,15855,15856,15857,15858,15859,15860,15861,15862,15863,15864,15865,15866,15867,15868,15869,15870,15871,15872,15873,15874,15875,15876,15877,15878,15879,15880,15881,15882,15883,15884,15885,15886,15887,15888,15889,15890,15891,15892,15893,15894,15895,15896,15897,15898,15899,15900,15901,15902,15903,15904,15905,15906,15907,15908,15909,15910,15911,15912,15913,15914,15915,15916,15917,15918,15919,15920,15921,15922,15923,15924,15925,15926,15927,15928,15929,15930,15931,15932,15933,15934,15935,15936,15937,15938,15939,15940,15941,15942,15943,15944,15945,15946,15947,15948,15949,15950,15951,15952,15953,15954,15955,15956,15957,15958,15959,15960,15961,15962,15963,15964,15965,15966,15967,15968,15969,15970,15971,15972,15973,15974,15975,15976,15977,15978,15979,15980,15981,15982,15983,15984,15985,15986,15987,15988,15989,15990,15991,15992,15993,15994,15995,15996,15997,15998,15999,16000,16001,16002,16003,16004,16005,16006,16007,16008,16009,16010,16011,16012,16013,16014,16015,16016,16017,16018,16019,16020,16021,16022,16023,16024,16025,16026,16027,16028,16029,16030,16031,16032,16033,16034,16035,16036,16037,16038,16039,16040,16041,16042,16043,16044,16045,16046,16047,16048,16049,16050,16051,16052,16053,16054,16055,16056,16057,16058,16059,16060,16061,16062,16063,16064,16065,16066,16067,16068,16069,16070,16071,16072,16073,16074,16075,16076,16077,16078,16079,16080,16081,16082,16083,16084,16085,16086,16087,16088,16089,16090,16091,16092,16093,16094,16095,16096,16097,16098,16099,16100,16101,16102,16103,16104,16105,16106,16107,16108,16109,16110,16111,16112,16113,16114,16115,16116,16117,16118,16119,16120,16121,16122,16123,16124,16125,16126,16127,16128,16129,16130,16131,16132,16133,16134,16135,16136,16137,16138,16139,16140,16141,16142,16143,16144,16145,16146,16147,16148,16149,16150,16151,16152,16153,16154,16155,16156,16157,16158,16159,16160,16161,16162,16163,16164,16165,16166,16167,16168,16169,16170,16171,16172,16173,16174,16175,16176,16177,16178,16179,16180,16181,16182,16183,16184,16185,16186,16187,16188,16189,16190,16191,16192,16193,16194,16195,16196,16197,16198,16199,16200,16201,16202,16203,16204,16205,16206,16207,16208,16209,16210,16211,16212,16213,16214,16215,16216,16217,16218,16219,16220,16221,16222,16223,16224,16225,16226,16227,16228,16229,16230,16231,16232,16233,16234,16235,16236,16237,16238,16239,16240,16241,16242,16243,16244,16245,16246,16247,16248,16249,16250,16251,16252,16253,16254,16255,16256,16257,16258,16259,16260,16261,16262,16263,16264,16265,16266,16267,16268,16269,16270,16271,16272,16273,16274,16275,16276,16277,16278,16279,16280,16281,16282,16283,16284,16285,16286,16287,16288,16289,16290,16291,16292,16293,16294,16295,16296,16297,16298,16299,16300,16301,16302,16303,16304,16305,16306,16307,16308,16309,16310,16311,16312,16313,16314,16315,16316,16317,16318,16319,16320,16321,16322,16323,16324,16325,16326,16327,16328,16329,16330,16331,16332,16333,16334,16335,16336,16337,16338,16339,16340,16341,16342,16343,16344,16345,16346,16347,16348,16349,16350,16351,16352,16353,16354,16355,16356,16357,16358,16359,16360,16361,16362,16363,16364,16365,16366,16367,16368,16369,16370,16371,16372,16373,16374,16375,16376,16377,16378,16379,16380,16381,16382,16383,16384,16385,16386,16387,16388,16389,16390,16391,16392,16393,16394,16395,16396,16397,16398,16399,16400,16401,16402,16403,16404,16405,16406,16407,16408,16409,16410,16411,16412,16413,16414,16415,16416,16417,16418,16419,16420,16421,16422,16423,16424,16425,16426,16427,16428,16429,16430,16431,16432,16433,16434,16435,16436,16437,16438,16439,16440,16441,16442,16443,16444,16445,16446,16447,16448,16449,16450,16451,16452,16453,16454,16455,16456,16457,16458,16459,16460,16461,16462,16463,16464,16465,16466,16467,16468,16469,16470,16471,16472,16473,16474,16475,16476,16477,16478,16479,16480,16481,16482,16483,16484,16485,16486,16487,16488,16489,16490,16491,16492,16493,16494,16495,16496,16497,16498,16499,16500,16501,16502,16503,16504,16505,16506,16507,16508,16509,16510,16511,16512,16513,16514,16515,16516,16517,16518,16519,16520,16521,16522,16523,16524,16525,16526,16527,16528,16529,16530,16531,16532,16533,16534,16535,16536,16537,16538,16539,16540,16541,16542,16543,16544,16545,16546,16547,16548,16549,16550,16551,16552,16553,16554,16555,16556,16557,16558,16559,16560,16561,16562,16563,16564,16565,16566,16567,16568,16569,16570,16571,16572,16573,16574,16575,16576,16577,16578,16579,16580,16581,16582,16583,16584,16585,16586,16587,16588,16589,16590,16591,16592,16593,16594,16595,16596,16597,16598,16599,16600,16601,16602,16603,16604,16605,16606,16607,16608,16609,16610,16611,16612,16613,16614,16615,16616,16617,16618,16619,16620,16621,16622,16623,16624,16625,16626,16627,16628,16629,16630,16631,16632,16633,16634,16635,16636,16637,16638,16639,16640,16641,16642,16643,16644,16645,16646,16647,16648,16649,16650,16651,16652,16653,16654,16655,16656,16657,16658,16659,16660,16661,16662,16663,16664,16665,16666,16667,16668,16669,16670,16671,16672,16673,16674,16675,16676,16677,16678,16679,16680,16681,16682,16683,16684,16685,16686,16687,16688,16689,16690,16691,16692,16693,16694,16695,16696,16697,16698,16699,16700,16701,16702,16703,16704,16705,16706,16707,16708,16709,16710,16711,16712,16713,16714,16715,16716,16717,16718,16719,16720,16721,16722,16723,16724,16725,16726,16727,16728,16729,16730,16731,16732,16733,16734,16735,16736,16737,16738,16739,16740,16741,16742,16743,16744,16745,16746,16747,16748,16749,16750,16751,16752,16753,16754,16755,16756,16757,16758,16759,16760,16761,16762,16763,16764,16765,16766,16767,16768,16769,16770,16771,16772,16773,16774,16775,16776,16777,16778,16779,16780,16781,16782,16783,16784,16785,16786,16787,16788,16789,16790,16791,16792,16793,16794,16795,16796,16797,16798,16799,16800,16801,16802,16803,16804,16805,16806,16807,16808,16809,16810,16811,16812,16813,16814,16815,16816,16817,16818,16819,16820,16821,16822,16823,16824,16825,16826,16827,16828,16829,16830,16831,16832,16833,16834,16835,16836,16837,16838,16839,16840,16841,16842,16843,16844,16845,16846,16847,16848,16849,16850,16851,16852,16853,16854,16855,16856,16857,16858,16859,16860,16861,16862,16863,16864,16865,16866,16867,16868,16869,16870,16871,16872,16873,16874,16875,16876,16877,16878,16879,16880,16881,16882,16883,16884,16885,16886,16887,16888,16889,16890,16891,16892,16893,16894,16895,16896,16897,16898,16899,16900,16901,16902,16903,16904,16905,16906,16907,16908,16909,16910,16911,16912,16913,16914,16915,16916,16917,16918,16919,16920,16921,16922,16923,16924,16925,16926,16927,16928,16929,16930,16931,16932,16933,16934,16935,16936,16937,16938,16939,16940,16941,16942,16943,16944,16945,16946,16947,16948,16949,16950,16951,16952,16953,16954,16955,16956,16957,16958,16959,16960,16961,16962,16963,16964,16965,16966,16967,16968,16969,16970,16971,16972,16973,16974,16975,16976,16977,16978,16979,16980,16981,16982,16983,16984,16985,16986,16987,16988,16989,16990,16991,16992,16993,16994,16995,16996,16997,16998,16999,17000,17001,17002,17003,17004,17005,17006,17007,17008,17009,17010,17011,17012,17013,17014,17015,17016,17017,17018,17019,17020,17021,17022,17023,17024,17025,17026,17027,17028,17029,17030,17031,17032,17033,17034,17035,17036,17037,17038,17039,17040,17041,17042,17043,17044,17045,17046,17047,17048,17049,17050,17051,17052,17053,17054,17055,17056,17057,17058,17059,17060,17061,17062,17063,17064,17065,17066,17067,17068,17069,17070,17071,17072,17073,17074,17075,17076,17077,17078,17079,17080,17081,17082,17083,17084,17085,17086,17087,17088,17089,17090,17091,17092,17093,17094,17095,17096,17097,17098,17099,17100,17101,17102,17103,17104,17105,17106,17107,17108,17109,17110,17111,17112,17113,17114,17115,17116,17117,17118,17119,17120,17121,17122,17123,17124,17125,17126,17127,17128,17129,17130,17131,17132,17133,17134,17135,17136,17137,17138,17139,17140,17141,17142,17143,17144,17145,17146,17147,17148,17149,17150,17151,17152,17153,17154,17155,17156,17157,17158,17159,17160,17161,17162,17163,17164,17165,17166,17167,17168,17169,17170,17171,17172,17173,17174,17175,17176,17177,17178,17179,17180,17181,17182,17183,17184,17185,17186,17187,17188,17189,17190,17191,17192,17193,17194,17195,17196,17197,17198,17199,17200,17201,17202,17203,17204,17205,17206,17207,17208,17209,17210,17211,17212,17213,17214,17215,17216,17217,17218,17219,17220,17221,17222,17223,17224,17225,17226,17227,17228,17229,17230,17231,17232,17233,17234,17235,17236,17237,17238,17239,17240,17241,17242,17243,17244,17245,17246,17247,17248,17249,17250,17251,17252,17253,17254,17255,17256,17257,17258,17259,17260,17261,17262,17263,17264,17265,17266,17267,17268,17269,17270,17271,17272,17273,17274,17275,17276,17277,17278,17279,17280,17281,17282,17283,17284,17285,17286,17287,17288,17289,17290,17291,17292,17293,17294,17295,17296,17297,17298,17299,17300,17301,17302,17303,17304,17305,17306,17307,17308,17309,17310,17311,17312,17313,17314,17315,17316,17317,17318,17319,17320,17321,17322,17323,17324,17325,17326,17327,17328,17329,17330,17331,17332,17333,17334,17335,17336,17337,17338,17339,17340,17341,17342,17343,17344,17345,17346,17347,17348,17349,17350,17351,17352,17353,17354,17355,17356,17357,17358,17359,17360,17361,17362,17363,17364,17365,17366,17367,17368,17369,17370,17371,17372,17373,17374,17375,17376,17377,17378,17379,17380,17381,17382,17383,17384,17385,17386,17387,17388,17389,17390,17391,17392,17393,17394,17395,17396,17397,17398,17399,17400,17401,17402,17403,17404,17405,17406,17407,17408,17409,17410,17411,17412,17413,17414,17415,17416,17417,17418,17419,17420,17421,17422,17423,17424,17425,17426,17427,17428,17429,17430,17431,17432,17433,17434,17435,17436,17437,17438,17439,17440,17441,17442,17443,17444,17445,17446,17447,17448,17449,17450,17451,17452,17453,17454,17455,17456,17457,17458,17459,17460,17461,17462,17463,17464,17465,17466,17467,17468,17469,17470,17471,17472,17473,17474,17475,17476,17477,17478,17479,17480,17481,17482,17483,17484,17485,17486,17487,17488,17489,17490,17491,17492,17493,17494,17495,17496,17497,17498,17499,17500,17501,17502,17503,17504,17505,17506,17507,17508,17509,17510,17511,17512,17513,17514,17515,17516,17517,17518,17519,17520,17521,17522,17523,17524,17525,17526,17527,17528,17529,17530,17531,17532,17533,17534,17535,17536,17537,17538,17539,17540,17541,17542,17543,17544,17545,17546,17547,17548,17549,17550,17551,17552,17553,17554,17555,17556,17557,17558,17559,17560,17561,17562,17563,17564,17565,17566,17567,17568,17569,17570,17571,17572,17573,17574,17575,17576,17577,17578,17579,17580,17581,17582,17583,17584,17585,17586,17587,17588,17589,17590,17591,17592,17593,17594,17595,17596,17597,17598,17599,17600,17601,17602,17603,17604,17605,17606,17607,17608,17609,17610,17611,17612,17613,17614,17615,17616,17617,17618,17619,17620,17621,17622,17623,17624,17625,17626,17627,17628,17629,17630,17631,17632,17633,17634,17635,17636,17637,17638,17639,17640,17641,17642,17643,17644,17645,17646,17647,17648,17649,17650,17651,17652,17653,17654,17655,17656,17657,17658,17659,17660,17661,17662,17663,17664,17665,17666,17667,17668,17669,17670,17671,17672,17673,17674,17675,17676,17677,17678,17679,17680,17681,17682,17683,17684,17685,17686,17687,17688,17689,17690,17691,17692,17693,17694,17695,17696,17697,17698,17699,17700,17701,17702,17703,17704,17705,17706,17707,17708,17709,17710,17711,17712,17713,17714,17715,17716,17717,17718,17719,17720,17721,17722,17723,17724,17725,17726,17727,17728,17729,17730,17731,17732,17733,17734,17735,17736,17737,17738,17739,17740,17741,17742,17743,17744,17745,17746,17747,17748,17749,17750,17751,17752,17753,17754,17755,17756,17757,17758,17759,17760,17761,17762,17763,17764,17765,17766,17767,17768,17769,17770,17771,17772,17773,17774,17775,17776,17777,17778,17779,17780,17781,17782,17783,17784,17785,17786,17787,17788,17789,17790,17791,17792,17793,17794,17795,17796,17797,17798,17799,17800,17801,17802,17803,17804,17805,17806,17807,17808,17809,17810,17811,17812,17813,17814,17815,17816,17817,17818,17819,17820,17821,17822,17823,17824,17825,17826,17827,17828,17829,17830,17831,17832,17833,17834,17835,17836,17837,17838,17839,17840,17841,17842,17843,17844,17845,17846,17847,17848,17849,17850,17851,17852,17853,17854,17855,17856,17857,17858,17859,17860,17861,17862,17863,17864,17865,17866,17867,17868,17869,17870,17871,17872,17873,17874,17875,17876,17877,17878,17879,17880,17881,17882,17883,17884,17885,17886,17887,17888,17889,17890,17891,17892,17893,17894,17895,17896,17897,17898,17899,17900,17901,17902,17903,17904,17905,17906,17907,17908,17909,17910,17911,17912,17913,17914,17915,17916,17917,17918,17919,17920,17921,17922,17923,17924,17925,17926,17927,17928,17929,17930,17931,17932,17933,17934,17935,17936,17937,17938,17939,17940,17941,17942,17943,17944,17945,17946,17947,17948,17949,17950,17951,17952,17953,17954,17955,17956,17957,17958,17959,17960,17961,17962,17963,17964,17965,17966,17967,17968,17969,17970,17971,17972,17973,17974,17975,17976,17977,17978,17979,17980,17981,17982,17983,17984,17985,17986,17987,17988,17989,17990,17991,17992,17993,17994,17995,17996,17997,17998,17999,18000,18001,18002,18003,18004,18005,18006,18007,18008,18009,18010,18011,18012,18013,18014,18015,18016,18017,18018,18019,18020,18021,18022,18023,18024,18025,18026,18027,18028,18029,18030,18031,18032,18033,18034,18035,18036,18037,18038,18039,18040,18041,18042,18043,18044,18045,18046,18047,18048,18049,18050,18051,18052,18053,18054,18055,18056,18057,18058,18059,18060,18061,18062,18063,18064,18065,18066,18067,18068,18069,18070,18071,18072,18073,18074,18075,18076,18077,18078,18079,18080,18081,18082,18083,18084,18085,18086,18087,18088,18089,18090,18091,18092,18093,18094,18095,18096,18097,18098,18099,18100,18101,18102,18103,18104,18105,18106,18107,18108,18109,18110,18111,18112,18113,18114,18115,18116,18117,18118,18119,18120,18121,18122,18123,18124,18125,18126,18127,18128,18129,18130,18131,18132,18133,18134,18135,18136,18137,18138,18139,18140,18141,18142,18143,18144,18145,18146,18147,18148,18149,18150,18151,18152,18153,18154,18155,18156,18157,18158,18159,18160,18161,18162,18163,18164,18165,18166,18167,18168,18169,18170,18171,18172,18173,18174,18175,18176,18177,18178,18179,18180,18181,18182,18183,18184,18185,18186,18187,18188,18189,18190,18191,18192,18193,18194,18195,18196,18197,18198,18199,18200,18201,18202,18203,18204,18205,18206,18207,18208,18209,18210,18211,18212,18213,18214,18215,18216,18217,18218,18219,18220,18221,18222,18223,18224,18225,18226,18227,18228,18229,18230,18231,18232,18233,18234,18235,18236,18237,18238,18239,18240,18241,18242,18243,18244,18245,18246,18247,18248,18249,18250,18251,18252,18253,18254,18255,18256,18257,18258,18259,18260,18261,18262,18263,18264,18265,18266,18267,18268,18269,18270,18271,18272,18273,18274,18275,18276,18277,18278,18279,18280,18281,18282,18283,18284,18285,18286,18287,18288,18289,18290,18291,18292,18293,18294,18295,18296,18297,18298,18299,18300,18301,18302,18303,18304,18305,18306,18307,18308,18309,18310,18311,18312,18313,18314,18315,18316,18317,18318,18319,18320,18321,18322,18323,18324,18325,18326,18327,18328,18329,18330,18331,18332,18333,18334,18335,18336,18337,18338,18339,18340,18341,18342,18343,18344,18345,18346,18347,18348,18349,18350,18351,18352,18353,18354,18355,18356,18357,18358,18359,18360,18361,18362,18363,18364,18365,18366,18367,18368,18369,18370,18371,18372,18373,18374,18375,18376,18377,18378,18379,18380,18381,18382,18383,18384,18385,18386,18387,18388,18389,18390,18391,18392,18393,18394,18395,18396,18397,18398,18399,18400,18401,18402,18403,18404,18405,18406,18407,18408,18409,18410,18411,18412,18413,18414,18415,18416,18417,18418,18419,18420,18421,18422,18423,18424,18425,18426,18427,18428,18429,18430,18431,18432,18433,18434,18435,18436,18437,18438,18439,18440,18441,18442,18443,18444,18445,18446,18447,18448,18449,18450,18451,18452,18453,18454,18455,18456,18457,18458,18459,18460,18461,18462,18463,18464,18465,18466,18467,18468,18469,18470,18471,18472,18473,18474,18475,18476,18477,18478,18479,18480,18481,18482,18483,18484,18485,18486,18487,18488,18489,18490,18491,18492,18493,18494,18495,18496,18497,18498,18499,18500,18501,18502,18503,18504,18505,18506,18507,18508,18509,18510,18511,18512,18513,18514,18515,18516,18517,18518,18519,18520,18521,18522,18523,18524,18525,18526,18527,18528,18529,18530,18531,18532,18533,18534,18535,18536,18537,18538,18539,18540,18541,18542,18543,18544,18545,18546,18547,18548,18549,18550,18551,18552,18553,18554,18555,18556,18557,18558,18559,18560,18561,18562,18563,18564,18565,18566,18567,18568,18569,18570,18571,18572,18573,18574,18575,18576,18577,18578,18579,18580,18581,18582,18583,18584,18585,18586,18587,18588,18589,18590,18591,18592,18593,18594,18595,18596,18597,18598,18599,18600,18601,18602,18603,18604,18605,18606,18607,18608,18609,18610,18611,18612,18613,18614,18615,18616,18617,18618,18619,18620,18621,18622,18623,18624,18625,18626,18627,18628,18629,18630,18631,18632,18633,18634,18635,18636,18637,18638,18639,18640,18641,18642,18643,18644,18645,18646,18647,18648,18649,18650,18651,18652,18653,18654,18655,18656,18657,18658,18659,18660,18661,18662,18663,18664,18665,18666,18667,18668,18669,18670,18671,18672,18673,18674,18675,18676,18677,18678,18679,18680,18681,18682,18683,18684,18685,18686,18687,18688,18689,18690,18691,18692,18693,18694,18695,18696,18697,18698,18699,18700,18701,18702,18703,18704,18705,18706,18707,18708,18709,18710,18711,18712,18713,18714,18715,18716,18717,18718,18719,18720,18721,18722,18723,18724,18725,18726,18727,18728,18729,18730,18731,18732,18733,18734,18735,18736,18737,18738,18739,18740,18741,18742,18743,18744,18745,18746,18747,18748,18749,18750,18751,18752,18753,18754,18755,18756,18757,18758,18759,18760,18761,18762,18763,18764,18765,18766,18767,18768,18769,18770,18771,18772,18773,18774,18775,18776,18777,18778,18779,18780,18781,18782,18783,18784,18785,18786,18787,18788,18789,18790,18791,18792,18793,18794,18795,18796,18797,18798,18799,18800,18801,18802,18803,18804,18805,18806,18807,18808,18809,18810,18811,18812,18813,18814,18815,18816,18817,18818,18819,18820,18821,18822,18823,18824,18825,18826,18827,18828,18829,18830,18831,18832,18833,18834,18835,18836,18837,18838,18839,18840,18841,18842,18843,18844,18845,18846,18847,18848,18849,18850,18851,18852,18853,18854,18855,18856,18857,18858,18859,18860,18861,18862,18863,18864,18865,18866,18867,18868,18869,18870,18871,18872,18873,18874,18875,18876,18877,18878,18879,18880,18881,18882,18883,18884,18885,18886,18887,18888,18889,18890,18891,18892,18893,18894,18895,18896,18897,18898,18899,18900,18901,18902,18903,18904,18905,18906,18907,18908,18909,18910,18911,18912,18913,18914,18915,18916,18917,18918,18919,18920,18921,18922,18923,18924,18925,18926,18927,18928,18929,18930,18931,18932,18933,18934,18935,18936,18937,18938,18939,18940,18941,18942,18943,18944,18945,18946,18947,18948,18949,18950,18951,18952,18953,18954,18955,18956,18957,18958,18959,18960,18961,18962,18963,18964,18965,18966,18967,18968,18969,18970,18971,18972,18973,18974,18975,18976,18977,18978,18979,18980,18981,18982,18983,18984,18985,18986,18987,18988,18989,18990,18991,18992,18993,18994,18995,18996,18997,18998,18999,19000,19001,19002,19003,19004,19005,19006,19007,19008,19009,19010,19011,19012,19013,19014,19015,19016,19017,19018,19019,19020,19021,19022,19023,19024,19025,19026,19027,19028,19029,19030,19031,19032,19033,19034,19035,19036,19037,19038,19039,19040,19041,19042,19043,19044,19045,19046,19047,19048,19049,19050,19051,19052,19053,19054,19055,19056,19057,19058,19059,19060,19061,19062,19063,19064,19065,19066,19067,19068,19069,19070,19071,19072,19073,19074,19075,19076,19077,19078,19079,19080,19081,19082,19083,19084,19085,19086,19087,19088,19089,19090,19091,19092,19093,19094,19095,19096,19097,19098,19099,19100,19101,19102,19103,19104,19105,19106,19107,19108,19109,19110,19111,19112,19113,19114,19115,19116,19117,19118,19119,19120,19121,19122,19123,19124,19125,19126,19127,19128,19129,19130,19131,19132,19133,19134,19135,19136,19137,19138,19139,19140,19141,19142,19143,19144,19145,19146,19147,19148,19149,19150,19151,19152,19153,19154,19155,19156,19157,19158,19159,19160,19161,19162,19163,19164,19165,19166,19167,19168,19169,19170,19171,19172,19173,19174,19175,19176,19177,19178,19179,19180,19181,19182,19183,19184,19185,19186,19187,19188,19189,19190,19191,19192,19193,19194,19195,19196,19197,19198,19199,19200,19201,19202,19203,19204,19205,19206,19207,19208,19209,19210,19211,19212,19213,19214,19215,19216,19217,19218,19219,19220,19221,19222,19223,19224,19225,19226,19227,19228,19229,19230,19231,19232,19233,19234,19235,19236,19237,19238,19239,19240,19241,19242,19243,19244,19245,19246,19247,19248,19249,19250,19251,19252,19253,19254,19255,19256,19257,19258,19259,19260,19261,19262,19263,19264,19265,19266,19267,19268,19269,19270,19271,19272,19273,19274,19275,19276,19277,19278,19279,19280,19281,19282,19283,19284,19285,19286,19287,19288,19289,19290,19291,19292,19293,19294,19295,19296,19297,19298,19299,19300,19301,19302,19303,19304,19305,19306,19307,19308,19309,19310,19311,19312,19313,19314,19315,19316,19317,19318,19319,19320,19321,19322,19323,19324,19325,19326,19327,19328,19329,19330,19331,19332,19333,19334,19335,19336,19337,19338,19339,19340,19341,19342,19343,19344,19345,19346,19347,19348,19349,19350,19351,19352,19353,19354,19355,19356,19357,19358,19359,19360,19361,19362,19363,19364,19365,19366,19367,19368,19369,19370,19371,19372,19373,19374,19375,19376,19377,19378,19379,19380,19381,19382,19383,19384,19385,19386,19387,19388,19389,19390,19391,19392,19393,19394,19395,19396,19397,19398,19399,19400,19401,19402,19403,19404,19405,19406,19407,19408,19409,19410,19411,19412,19413,19414,19415,19416,19417,19418,19419,19420,19421,19422,19423,19424,19425,19426,19427,19428,19429,19430,19431,19432,19433,19434,19435,19436,19437,19438,19439,19440,19441,19442,19443,19444,19445,19446,19447,19448,19449,19450,19451,19452,19453,19454,19455,19456,19457,19458,19459,19460,19461,19462,19463,19464,19465,19466,19467,19468,19469,19470,19471,19472,19473,19474,19475,19476,19477,19478,19479,19480,19481,19482,19483,19484,19485,19486,19487,19488,19489,19490,19491,19492,19493,19494,19495,19496,19497,19498,19499,19500,19501,19502,19503,19504,19505,19506,19507,19508,19509,19510,19511,19512,19513,19514,19515,19516,19517,19518,19519,19520,19521,19522,19523,19524,19525,19526,19527,19528,19529,19530,19531,19532,19533,19534,19535,19536,19537,19538,19539,19540,19541,19542,19543,19544,19545,19546,19547,19548,19549,19550,19551,19552,19553,19554,19555,19556,19557,19558,19559,19560,19561,19562,19563,19564,19565,19566,19567,19568,19569,19570,19571,19572,19573,19574,19575,19576,19577,19578,19579,19580,19581,19582,19583,19584,19585,19586,19587,19588,19589,19590,19591,19592,19593,19594,19595,19596,19597,19598,19599,19600,19601,19602,19603,19604,19605,19606,19607,19608,19609,19610,19611,19612,19613,19614,19615,19616,19617,19618,19619,19620,19621,19622,19623,19624,19625,19626,19627,19628,19629,19630,19631,19632,19633,19634,19635,19636,19637,19638,19639,19640,19641,19642,19643,19644,19645,19646,19647,19648,19649,19650,19651,19652,19653,19654,19655,19656,19657,19658,19659,19660,19661,19662,19663,19664,19665,19666,19667,19668,19669,19670,19671,19672,19673,19674,19675,19676,19677,19678,19679,19680,19681,19682,19683,19684,19685,19686,19687,19688,19689,19690,19691,19692,19693,19694,19695,19696,19697,19698,19699,19700,19701,19702,19703,19704,19705,19706,19707,19708,19709,19710,19711,19712,19713,19714,19715,19716,19717,19718,19719,19720,19721,19722,19723,19724,19725,19726,19727,19728,19729,19730,19731,19732,19733,19734,19735,19736,19737,19738,19739,19740,19741,19742,19743,19744,19745,19746,19747,19748,19749,19750,19751,19752,19753,19754,19755,19756,19757,19758,19759,19760,19761,19762,19763,19764,19765,19766,19767,19768,19769,19770,19771,19772,19773,19774,19775,19776,19777,19778,19779,19780,19781,19782,19783,19784,19785,19786,19787,19788,19789,19790,19791,19792,19793,19794,19795,19796,19797,19798,19799,19800,19801,19802,19803,19804,19805,19806,19807,19808,19809,19810,19811,19812,19813,19814,19815,19816,19817,19818,19819,19820,19821,19822,19823,19824,19825,19826,19827,19828,19829,19830,19831,19832,19833,19834,19835,19836,19837,19838,19839,19840,19841,19842,19843,19844,19845,19846,19847,19848,19849,19850,19851,19852,19853,19854,19855,19856,19857,19858,19859,19860,19861,19862,19863,19864,19865,19866,19867,19868,19869,19870,19871,19872,19873,19874,19875,19876,19877,19878,19879,19880,19881,19882,19883,19884,19885,19886,19887,19888,19889,19890,19891,19892,19893,19968,19969,19970,19971,19972,19973,19974,19975,19976,19977,19978,19979,19980,19981,19982,19983,19984,19985,19986,19987,19988,19989,19990,19991,19992,19993,19994,19995,19996,19997,19998,19999,20000,20001,20002,20003,20004,20005,20006,20007,20008,20009,20010,20011,20012,20013,20014,20015,20016,20017,20018,20019,20020,20021,20022,20023,20024,20025,20026,20027,20028,20029,20030,20031,20032,20033,20034,20035,20036,20037,20038,20039,20040,20041,20042,20043,20044,20045,20046,20047,20048,20049,20050,20051,20052,20053,20054,20055,20056,20057,20058,20059,20060,20061,20062,20063,20064,20065,20066,20067,20068,20069,20070,20071,20072,20073,20074,20075,20076,20077,20078,20079,20080,20081,20082,20083,20084,20085,20086,20087,20088,20089,20090,20091,20092,20093,20094,20095,20096,20097,20098,20099,20100,20101,20102,20103,20104,20105,20106,20107,20108,20109,20110,20111,20112,20113,20114,20115,20116,20117,20118,20119,20120,20121,20122,20123,20124,20125,20126,20127,20128,20129,20130,20131,20132,20133,20134,20135,20136,20137,20138,20139,20140,20141,20142,20143,20144,20145,20146,20147,20148,20149,20150,20151,20152,20153,20154,20155,20156,20157,20158,20159,20160,20161,20162,20163,20164,20165,20166,20167,20168,20169,20170,20171,20172,20173,20174,20175,20176,20177,20178,20179,20180,20181,20182,20183,20184,20185,20186,20187,20188,20189,20190,20191,20192,20193,20194,20195,20196,20197,20198,20199,20200,20201,20202,20203,20204,20205,20206,20207,20208,20209,20210,20211,20212,20213,20214,20215,20216,20217,20218,20219,20220,20221,20222,20223,20224,20225,20226,20227,20228,20229,20230,20231,20232,20233,20234,20235,20236,20237,20238,20239,20240,20241,20242,20243,20244,20245,20246,20247,20248,20249,20250,20251,20252,20253,20254,20255,20256,20257,20258,20259,20260,20261,20262,20263,20264,20265,20266,20267,20268,20269,20270,20271,20272,20273,20274,20275,20276,20277,20278,20279,20280,20281,20282,20283,20284,20285,20286,20287,20288,20289,20290,20291,20292,20293,20294,20295,20296,20297,20298,20299,20300,20301,20302,20303,20304,20305,20306,20307,20308,20309,20310,20311,20312,20313,20314,20315,20316,20317,20318,20319,20320,20321,20322,20323,20324,20325,20326,20327,20328,20329,20330,20331,20332,20333,20334,20335,20336,20337,20338,20339,20340,20341,20342,20343,20344,20345,20346,20347,20348,20349,20350,20351,20352,20353,20354,20355,20356,20357,20358,20359,20360,20361,20362,20363,20364,20365,20366,20367,20368,20369,20370,20371,20372,20373,20374,20375,20376,20377,20378,20379,20380,20381,20382,20383,20384,20385,20386,20387,20388,20389,20390,20391,20392,20393,20394,20395,20396,20397,20398,20399,20400,20401,20402,20403,20404,20405,20406,20407,20408,20409,20410,20411,20412,20413,20414,20415,20416,20417,20418,20419,20420,20421,20422,20423,20424,20425,20426,20427,20428,20429,20430,20431,20432,20433,20434,20435,20436,20437,20438,20439,20440,20441,20442,20443,20444,20445,20446,20447,20448,20449,20450,20451,20452,20453,20454,20455,20456,20457,20458,20459,20460,20461,20462,20463,20464,20465,20466,20467,20468,20469,20470,20471,20472,20473,20474,20475,20476,20477,20478,20479,20480,20481,20482,20483,20484,20485,20486,20487,20488,20489,20490,20491,20492,20493,20494,20495,20496,20497,20498,20499,20500,20501,20502,20503,20504,20505,20506,20507,20508,20509,20510,20511,20512,20513,20514,20515,20516,20517,20518,20519,20520,20521,20522,20523,20524,20525,20526,20527,20528,20529,20530,20531,20532,20533,20534,20535,20536,20537,20538,20539,20540,20541,20542,20543,20544,20545,20546,20547,20548,20549,20550,20551,20552,20553,20554,20555,20556,20557,20558,20559,20560,20561,20562,20563,20564,20565,20566,20567,20568,20569,20570,20571,20572,20573,20574,20575,20576,20577,20578,20579,20580,20581,20582,20583,20584,20585,20586,20587,20588,20589,20590,20591,20592,20593,20594,20595,20596,20597,20598,20599,20600,20601,20602,20603,20604,20605,20606,20607,20608,20609,20610,20611,20612,20613,20614,20615,20616,20617,20618,20619,20620,20621,20622,20623,20624,20625,20626,20627,20628,20629,20630,20631,20632,20633,20634,20635,20636,20637,20638,20639,20640,20641,20642,20643,20644,20645,20646,20647,20648,20649,20650,20651,20652,20653,20654,20655,20656,20657,20658,20659,20660,20661,20662,20663,20664,20665,20666,20667,20668,20669,20670,20671,20672,20673,20674,20675,20676,20677,20678,20679,20680,20681,20682,20683,20684,20685,20686,20687,20688,20689,20690,20691,20692,20693,20694,20695,20696,20697,20698,20699,20700,20701,20702,20703,20704,20705,20706,20707,20708,20709,20710,20711,20712,20713,20714,20715,20716,20717,20718,20719,20720,20721,20722,20723,20724,20725,20726,20727,20728,20729,20730,20731,20732,20733,20734,20735,20736,20737,20738,20739,20740,20741,20742,20743,20744,20745,20746,20747,20748,20749,20750,20751,20752,20753,20754,20755,20756,20757,20758,20759,20760,20761,20762,20763,20764,20765,20766,20767,20768,20769,20770,20771,20772,20773,20774,20775,20776,20777,20778,20779,20780,20781,20782,20783,20784,20785,20786,20787,20788,20789,20790,20791,20792,20793,20794,20795,20796,20797,20798,20799,20800,20801,20802,20803,20804,20805,20806,20807,20808,20809,20810,20811,20812,20813,20814,20815,20816,20817,20818,20819,20820,20821,20822,20823,20824,20825,20826,20827,20828,20829,20830,20831,20832,20833,20834,20835,20836,20837,20838,20839,20840,20841,20842,20843,20844,20845,20846,20847,20848,20849,20850,20851,20852,20853,20854,20855,20856,20857,20858,20859,20860,20861,20862,20863,20864,20865,20866,20867,20868,20869,20870,20871,20872,20873,20874,20875,20876,20877,20878,20879,20880,20881,20882,20883,20884,20885,20886,20887,20888,20889,20890,20891,20892,20893,20894,20895,20896,20897,20898,20899,20900,20901,20902,20903,20904,20905,20906,20907,20908,20909,20910,20911,20912,20913,20914,20915,20916,20917,20918,20919,20920,20921,20922,20923,20924,20925,20926,20927,20928,20929,20930,20931,20932,20933,20934,20935,20936,20937,20938,20939,20940,20941,20942,20943,20944,20945,20946,20947,20948,20949,20950,20951,20952,20953,20954,20955,20956,20957,20958,20959,20960,20961,20962,20963,20964,20965,20966,20967,20968,20969,20970,20971,20972,20973,20974,20975,20976,20977,20978,20979,20980,20981,20982,20983,20984,20985,20986,20987,20988,20989,20990,20991,20992,20993,20994,20995,20996,20997,20998,20999,21000,21001,21002,21003,21004,21005,21006,21007,21008,21009,21010,21011,21012,21013,21014,21015,21016,21017,21018,21019,21020,21021,21022,21023,21024,21025,21026,21027,21028,21029,21030,21031,21032,21033,21034,21035,21036,21037,21038,21039,21040,21041,21042,21043,21044,21045,21046,21047,21048,21049,21050,21051,21052,21053,21054,21055,21056,21057,21058,21059,21060,21061,21062,21063,21064,21065,21066,21067,21068,21069,21070,21071,21072,21073,21074,21075,21076,21077,21078,21079,21080,21081,21082,21083,21084,21085,21086,21087,21088,21089,21090,21091,21092,21093,21094,21095,21096,21097,21098,21099,21100,21101,21102,21103,21104,21105,21106,21107,21108,21109,21110,21111,21112,21113,21114,21115,21116,21117,21118,21119,21120,21121,21122,21123,21124,21125,21126,21127,21128,21129,21130,21131,21132,21133,21134,21135,21136,21137,21138,21139,21140,21141,21142,21143,21144,21145,21146,21147,21148,21149,21150,21151,21152,21153,21154,21155,21156,21157,21158,21159,21160,21161,21162,21163,21164,21165,21166,21167,21168,21169,21170,21171,21172,21173,21174,21175,21176,21177,21178,21179,21180,21181,21182,21183,21184,21185,21186,21187,21188,21189,21190,21191,21192,21193,21194,21195,21196,21197,21198,21199,21200,21201,21202,21203,21204,21205,21206,21207,21208,21209,21210,21211,21212,21213,21214,21215,21216,21217,21218,21219,21220,21221,21222,21223,21224,21225,21226,21227,21228,21229,21230,21231,21232,21233,21234,21235,21236,21237,21238,21239,21240,21241,21242,21243,21244,21245,21246,21247,21248,21249,21250,21251,21252,21253,21254,21255,21256,21257,21258,21259,21260,21261,21262,21263,21264,21265,21266,21267,21268,21269,21270,21271,21272,21273,21274,21275,21276,21277,21278,21279,21280,21281,21282,21283,21284,21285,21286,21287,21288,21289,21290,21291,21292,21293,21294,21295,21296,21297,21298,21299,21300,21301,21302,21303,21304,21305,21306,21307,21308,21309,21310,21311,21312,21313,21314,21315,21316,21317,21318,21319,21320,21321,21322,21323,21324,21325,21326,21327,21328,21329,21330,21331,21332,21333,21334,21335,21336,21337,21338,21339,21340,21341,21342,21343,21344,21345,21346,21347,21348,21349,21350,21351,21352,21353,21354,21355,21356,21357,21358,21359,21360,21361,21362,21363,21364,21365,21366,21367,21368,21369,21370,21371,21372,21373,21374,21375,21376,21377,21378,21379,21380,21381,21382,21383,21384,21385,21386,21387,21388,21389,21390,21391,21392,21393,21394,21395,21396,21397,21398,21399,21400,21401,21402,21403,21404,21405,21406,21407,21408,21409,21410,21411,21412,21413,21414,21415,21416,21417,21418,21419,21420,21421,21422,21423,21424,21425,21426,21427,21428,21429,21430,21431,21432,21433,21434,21435,21436,21437,21438,21439,21440,21441,21442,21443,21444,21445,21446,21447,21448,21449,21450,21451,21452,21453,21454,21455,21456,21457,21458,21459,21460,21461,21462,21463,21464,21465,21466,21467,21468,21469,21470,21471,21472,21473,21474,21475,21476,21477,21478,21479,21480,21481,21482,21483,21484,21485,21486,21487,21488,21489,21490,21491,21492,21493,21494,21495,21496,21497,21498,21499,21500,21501,21502,21503,21504,21505,21506,21507,21508,21509,21510,21511,21512,21513,21514,21515,21516,21517,21518,21519,21520,21521,21522,21523,21524,21525,21526,21527,21528,21529,21530,21531,21532,21533,21534,21535,21536,21537,21538,21539,21540,21541,21542,21543,21544,21545,21546,21547,21548,21549,21550,21551,21552,21553,21554,21555,21556,21557,21558,21559,21560,21561,21562,21563,21564,21565,21566,21567,21568,21569,21570,21571,21572,21573,21574,21575,21576,21577,21578,21579,21580,21581,21582,21583,21584,21585,21586,21587,21588,21589,21590,21591,21592,21593,21594,21595,21596,21597,21598,21599,21600,21601,21602,21603,21604,21605,21606,21607,21608,21609,21610,21611,21612,21613,21614,21615,21616,21617,21618,21619,21620,21621,21622,21623,21624,21625,21626,21627,21628,21629,21630,21631,21632,21633,21634,21635,21636,21637,21638,21639,21640,21641,21642,21643,21644,21645,21646,21647,21648,21649,21650,21651,21652,21653,21654,21655,21656,21657,21658,21659,21660,21661,21662,21663,21664,21665,21666,21667,21668,21669,21670,21671,21672,21673,21674,21675,21676,21677,21678,21679,21680,21681,21682,21683,21684,21685,21686,21687,21688,21689,21690,21691,21692,21693,21694,21695,21696,21697,21698,21699,21700,21701,21702,21703,21704,21705,21706,21707,21708,21709,21710,21711,21712,21713,21714,21715,21716,21717,21718,21719,21720,21721,21722,21723,21724,21725,21726,21727,21728,21729,21730,21731,21732,21733,21734,21735,21736,21737,21738,21739,21740,21741,21742,21743,21744,21745,21746,21747,21748,21749,21750,21751,21752,21753,21754,21755,21756,21757,21758,21759,21760,21761,21762,21763,21764,21765,21766,21767,21768,21769,21770,21771,21772,21773,21774,21775,21776,21777,21778,21779,21780,21781,21782,21783,21784,21785,21786,21787,21788,21789,21790,21791,21792,21793,21794,21795,21796,21797,21798,21799,21800,21801,21802,21803,21804,21805,21806,21807,21808,21809,21810,21811,21812,21813,21814,21815,21816,21817,21818,21819,21820,21821,21822,21823,21824,21825,21826,21827,21828,21829,21830,21831,21832,21833,21834,21835,21836,21837,21838,21839,21840,21841,21842,21843,21844,21845,21846,21847,21848,21849,21850,21851,21852,21853,21854,21855,21856,21857,21858,21859,21860,21861,21862,21863,21864,21865,21866,21867,21868,21869,21870,21871,21872,21873,21874,21875,21876,21877,21878,21879,21880,21881,21882,21883,21884,21885,21886,21887,21888,21889,21890,21891,21892,21893,21894,21895,21896,21897,21898,21899,21900,21901,21902,21903,21904,21905,21906,21907,21908,21909,21910,21911,21912,21913,21914,21915,21916,21917,21918,21919,21920,21921,21922,21923,21924,21925,21926,21927,21928,21929,21930,21931,21932,21933,21934,21935,21936,21937,21938,21939,21940,21941,21942,21943,21944,21945,21946,21947,21948,21949,21950,21951,21952,21953,21954,21955,21956,21957,21958,21959,21960,21961,21962,21963,21964,21965,21966,21967,21968,21969,21970,21971,21972,21973,21974,21975,21976,21977,21978,21979,21980,21981,21982,21983,21984,21985,21986,21987,21988,21989,21990,21991,21992,21993,21994,21995,21996,21997,21998,21999,22000,22001,22002,22003,22004,22005,22006,22007,22008,22009,22010,22011,22012,22013,22014,22015,22016,22017,22018,22019,22020,22021,22022,22023,22024,22025,22026,22027,22028,22029,22030,22031,22032,22033,22034,22035,22036,22037,22038,22039,22040,22041,22042,22043,22044,22045,22046,22047,22048,22049,22050,22051,22052,22053,22054,22055,22056,22057,22058,22059,22060,22061,22062,22063,22064,22065,22066,22067,22068,22069,22070,22071,22072,22073,22074,22075,22076,22077,22078,22079,22080,22081,22082,22083,22084,22085,22086,22087,22088,22089,22090,22091,22092,22093,22094,22095,22096,22097,22098,22099,22100,22101,22102,22103,22104,22105,22106,22107,22108,22109,22110,22111,22112,22113,22114,22115,22116,22117,22118,22119,22120,22121,22122,22123,22124,22125,22126,22127,22128,22129,22130,22131,22132,22133,22134,22135,22136,22137,22138,22139,22140,22141,22142,22143,22144,22145,22146,22147,22148,22149,22150,22151,22152,22153,22154,22155,22156,22157,22158,22159,22160,22161,22162,22163,22164,22165,22166,22167,22168,22169,22170,22171,22172,22173,22174,22175,22176,22177,22178,22179,22180,22181,22182,22183,22184,22185,22186,22187,22188,22189,22190,22191,22192,22193,22194,22195,22196,22197,22198,22199,22200,22201,22202,22203,22204,22205,22206,22207,22208,22209,22210,22211,22212,22213,22214,22215,22216,22217,22218,22219,22220,22221,22222,22223,22224,22225,22226,22227,22228,22229,22230,22231,22232,22233,22234,22235,22236,22237,22238,22239,22240,22241,22242,22243,22244,22245,22246,22247,22248,22249,22250,22251,22252,22253,22254,22255,22256,22257,22258,22259,22260,22261,22262,22263,22264,22265,22266,22267,22268,22269,22270,22271,22272,22273,22274,22275,22276,22277,22278,22279,22280,22281,22282,22283,22284,22285,22286,22287,22288,22289,22290,22291,22292,22293,22294,22295,22296,22297,22298,22299,22300,22301,22302,22303,22304,22305,22306,22307,22308,22309,22310,22311,22312,22313,22314,22315,22316,22317,22318,22319,22320,22321,22322,22323,22324,22325,22326,22327,22328,22329,22330,22331,22332,22333,22334,22335,22336,22337,22338,22339,22340,22341,22342,22343,22344,22345,22346,22347,22348,22349,22350,22351,22352,22353,22354,22355,22356,22357,22358,22359,22360,22361,22362,22363,22364,22365,22366,22367,22368,22369,22370,22371,22372,22373,22374,22375,22376,22377,22378,22379,22380,22381,22382,22383,22384,22385,22386,22387,22388,22389,22390,22391,22392,22393,22394,22395,22396,22397,22398,22399,22400,22401,22402,22403,22404,22405,22406,22407,22408,22409,22410,22411,22412,22413,22414,22415,22416,22417,22418,22419,22420,22421,22422,22423,22424,22425,22426,22427,22428,22429,22430,22431,22432,22433,22434,22435,22436,22437,22438,22439,22440,22441,22442,22443,22444,22445,22446,22447,22448,22449,22450,22451,22452,22453,22454,22455,22456,22457,22458,22459,22460,22461,22462,22463,22464,22465,22466,22467,22468,22469,22470,22471,22472,22473,22474,22475,22476,22477,22478,22479,22480,22481,22482,22483,22484,22485,22486,22487,22488,22489,22490,22491,22492,22493,22494,22495,22496,22497,22498,22499,22500,22501,22502,22503,22504,22505,22506,22507,22508,22509,22510,22511,22512,22513,22514,22515,22516,22517,22518,22519,22520,22521,22522,22523,22524,22525,22526,22527,22528,22529,22530,22531,22532,22533,22534,22535,22536,22537,22538,22539,22540,22541,22542,22543,22544,22545,22546,22547,22548,22549,22550,22551,22552,22553,22554,22555,22556,22557,22558,22559,22560,22561,22562,22563,22564,22565,22566,22567,22568,22569,22570,22571,22572,22573,22574,22575,22576,22577,22578,22579,22580,22581,22582,22583,22584,22585,22586,22587,22588,22589,22590,22591,22592,22593,22594,22595,22596,22597,22598,22599,22600,22601,22602,22603,22604,22605,22606,22607,22608,22609,22610,22611,22612,22613,22614,22615,22616,22617,22618,22619,22620,22621,22622,22623,22624,22625,22626,22627,22628,22629,22630,22631,22632,22633,22634,22635,22636,22637,22638,22639,22640,22641,22642,22643,22644,22645,22646,22647,22648,22649,22650,22651,22652,22653,22654,22655,22656,22657,22658,22659,22660,22661,22662,22663,22664,22665,22666,22667,22668,22669,22670,22671,22672,22673,22674,22675,22676,22677,22678,22679,22680,22681,22682,22683,22684,22685,22686,22687,22688,22689,22690,22691,22692,22693,22694,22695,22696,22697,22698,22699,22700,22701,22702,22703,22704,22705,22706,22707,22708,22709,22710,22711,22712,22713,22714,22715,22716,22717,22718,22719,22720,22721,22722,22723,22724,22725,22726,22727,22728,22729,22730,22731,22732,22733,22734,22735,22736,22737,22738,22739,22740,22741,22742,22743,22744,22745,22746,22747,22748,22749,22750,22751,22752,22753,22754,22755,22756,22757,22758,22759,22760,22761,22762,22763,22764,22765,22766,22767,22768,22769,22770,22771,22772,22773,22774,22775,22776,22777,22778,22779,22780,22781,22782,22783,22784,22785,22786,22787,22788,22789,22790,22791,22792,22793,22794,22795,22796,22797,22798,22799,22800,22801,22802,22803,22804,22805,22806,22807,22808,22809,22810,22811,22812,22813,22814,22815,22816,22817,22818,22819,22820,22821,22822,22823,22824,22825,22826,22827,22828,22829,22830,22831,22832,22833,22834,22835,22836,22837,22838,22839,22840,22841,22842,22843,22844,22845,22846,22847,22848,22849,22850,22851,22852,22853,22854,22855,22856,22857,22858,22859,22860,22861,22862,22863,22864,22865,22866,22867,22868,22869,22870,22871,22872,22873,22874,22875,22876,22877,22878,22879,22880,22881,22882,22883,22884,22885,22886,22887,22888,22889,22890,22891,22892,22893,22894,22895,22896,22897,22898,22899,22900,22901,22902,22903,22904,22905,22906,22907,22908,22909,22910,22911,22912,22913,22914,22915,22916,22917,22918,22919,22920,22921,22922,22923,22924,22925,22926,22927,22928,22929,22930,22931,22932,22933,22934,22935,22936,22937,22938,22939,22940,22941,22942,22943,22944,22945,22946,22947,22948,22949,22950,22951,22952,22953,22954,22955,22956,22957,22958,22959,22960,22961,22962,22963,22964,22965,22966,22967,22968,22969,22970,22971,22972,22973,22974,22975,22976,22977,22978,22979,22980,22981,22982,22983,22984,22985,22986,22987,22988,22989,22990,22991,22992,22993,22994,22995,22996,22997,22998,22999,23000,23001,23002,23003,23004,23005,23006,23007,23008,23009,23010,23011,23012,23013,23014,23015,23016,23017,23018,23019,23020,23021,23022,23023,23024,23025,23026,23027,23028,23029,23030,23031,23032,23033,23034,23035,23036,23037,23038,23039,23040,23041,23042,23043,23044,23045,23046,23047,23048,23049,23050,23051,23052,23053,23054,23055,23056,23057,23058,23059,23060,23061,23062,23063,23064,23065,23066,23067,23068,23069,23070,23071,23072,23073,23074,23075,23076,23077,23078,23079,23080,23081,23082,23083,23084,23085,23086,23087,23088,23089,23090,23091,23092,23093,23094,23095,23096,23097,23098,23099,23100,23101,23102,23103,23104,23105,23106,23107,23108,23109,23110,23111,23112,23113,23114,23115,23116,23117,23118,23119,23120,23121,23122,23123,23124,23125,23126,23127,23128,23129,23130,23131,23132,23133,23134,23135,23136,23137,23138,23139,23140,23141,23142,23143,23144,23145,23146,23147,23148,23149,23150,23151,23152,23153,23154,23155,23156,23157,23158,23159,23160,23161,23162,23163,23164,23165,23166,23167,23168,23169,23170,23171,23172,23173,23174,23175,23176,23177,23178,23179,23180,23181,23182,23183,23184,23185,23186,23187,23188,23189,23190,23191,23192,23193,23194,23195,23196,23197,23198,23199,23200,23201,23202,23203,23204,23205,23206,23207,23208,23209,23210,23211,23212,23213,23214,23215,23216,23217,23218,23219,23220,23221,23222,23223,23224,23225,23226,23227,23228,23229,23230,23231,23232,23233,23234,23235,23236,23237,23238,23239,23240,23241,23242,23243,23244,23245,23246,23247,23248,23249,23250,23251,23252,23253,23254,23255,23256,23257,23258,23259,23260,23261,23262,23263,23264,23265,23266,23267,23268,23269,23270,23271,23272,23273,23274,23275,23276,23277,23278,23279,23280,23281,23282,23283,23284,23285,23286,23287,23288,23289,23290,23291,23292,23293,23294,23295,23296,23297,23298,23299,23300,23301,23302,23303,23304,23305,23306,23307,23308,23309,23310,23311,23312,23313,23314,23315,23316,23317,23318,23319,23320,23321,23322,23323,23324,23325,23326,23327,23328,23329,23330,23331,23332,23333,23334,23335,23336,23337,23338,23339,23340,23341,23342,23343,23344,23345,23346,23347,23348,23349,23350,23351,23352,23353,23354,23355,23356,23357,23358,23359,23360,23361,23362,23363,23364,23365,23366,23367,23368,23369,23370,23371,23372,23373,23374,23375,23376,23377,23378,23379,23380,23381,23382,23383,23384,23385,23386,23387,23388,23389,23390,23391,23392,23393,23394,23395,23396,23397,23398,23399,23400,23401,23402,23403,23404,23405,23406,23407,23408,23409,23410,23411,23412,23413,23414,23415,23416,23417,23418,23419,23420,23421,23422,23423,23424,23425,23426,23427,23428,23429,23430,23431,23432,23433,23434,23435,23436,23437,23438,23439,23440,23441,23442,23443,23444,23445,23446,23447,23448,23449,23450,23451,23452,23453,23454,23455,23456,23457,23458,23459,23460,23461,23462,23463,23464,23465,23466,23467,23468,23469,23470,23471,23472,23473,23474,23475,23476,23477,23478,23479,23480,23481,23482,23483,23484,23485,23486,23487,23488,23489,23490,23491,23492,23493,23494,23495,23496,23497,23498,23499,23500,23501,23502,23503,23504,23505,23506,23507,23508,23509,23510,23511,23512,23513,23514,23515,23516,23517,23518,23519,23520,23521,23522,23523,23524,23525,23526,23527,23528,23529,23530,23531,23532,23533,23534,23535,23536,23537,23538,23539,23540,23541,23542,23543,23544,23545,23546,23547,23548,23549,23550,23551,23552,23553,23554,23555,23556,23557,23558,23559,23560,23561,23562,23563,23564,23565,23566,23567,23568,23569,23570,23571,23572,23573,23574,23575,23576,23577,23578,23579,23580,23581,23582,23583,23584,23585,23586,23587,23588,23589,23590,23591,23592,23593,23594,23595,23596,23597,23598,23599,23600,23601,23602,23603,23604,23605,23606,23607,23608,23609,23610,23611,23612,23613,23614,23615,23616,23617,23618,23619,23620,23621,23622,23623,23624,23625,23626,23627,23628,23629,23630,23631,23632,23633,23634,23635,23636,23637,23638,23639,23640,23641,23642,23643,23644,23645,23646,23647,23648,23649,23650,23651,23652,23653,23654,23655,23656,23657,23658,23659,23660,23661,23662,23663,23664,23665,23666,23667,23668,23669,23670,23671,23672,23673,23674,23675,23676,23677,23678,23679,23680,23681,23682,23683,23684,23685,23686,23687,23688,23689,23690,23691,23692,23693,23694,23695,23696,23697,23698,23699,23700,23701,23702,23703,23704,23705,23706,23707,23708,23709,23710,23711,23712,23713,23714,23715,23716,23717,23718,23719,23720,23721,23722,23723,23724,23725,23726,23727,23728,23729,23730,23731,23732,23733,23734,23735,23736,23737,23738,23739,23740,23741,23742,23743,23744,23745,23746,23747,23748,23749,23750,23751,23752,23753,23754,23755,23756,23757,23758,23759,23760,23761,23762,23763,23764,23765,23766,23767,23768,23769,23770,23771,23772,23773,23774,23775,23776,23777,23778,23779,23780,23781,23782,23783,23784,23785,23786,23787,23788,23789,23790,23791,23792,23793,23794,23795,23796,23797,23798,23799,23800,23801,23802,23803,23804,23805,23806,23807,23808,23809,23810,23811,23812,23813,23814,23815,23816,23817,23818,23819,23820,23821,23822,23823,23824,23825,23826,23827,23828,23829,23830,23831,23832,23833,23834,23835,23836,23837,23838,23839,23840,23841,23842,23843,23844,23845,23846,23847,23848,23849,23850,23851,23852,23853,23854,23855,23856,23857,23858,23859,23860,23861,23862,23863,23864,23865,23866,23867,23868,23869,23870,23871,23872,23873,23874,23875,23876,23877,23878,23879,23880,23881,23882,23883,23884,23885,23886,23887,23888,23889,23890,23891,23892,23893,23894,23895,23896,23897,23898,23899,23900,23901,23902,23903,23904,23905,23906,23907,23908,23909,23910,23911,23912,23913,23914,23915,23916,23917,23918,23919,23920,23921,23922,23923,23924,23925,23926,23927,23928,23929,23930,23931,23932,23933,23934,23935,23936,23937,23938,23939,23940,23941,23942,23943,23944,23945,23946,23947,23948,23949,23950,23951,23952,23953,23954,23955,23956,23957,23958,23959,23960,23961,23962,23963,23964,23965,23966,23967,23968,23969,23970,23971,23972,23973,23974,23975,23976,23977,23978,23979,23980,23981,23982,23983,23984,23985,23986,23987,23988,23989,23990,23991,23992,23993,23994,23995,23996,23997,23998,23999,24000,24001,24002,24003,24004,24005,24006,24007,24008,24009,24010,24011,24012,24013,24014,24015,24016,24017,24018,24019,24020,24021,24022,24023,24024,24025,24026,24027,24028,24029,24030,24031,24032,24033,24034,24035,24036,24037,24038,24039,24040,24041,24042,24043,24044,24045,24046,24047,24048,24049,24050,24051,24052,24053,24054,24055,24056,24057,24058,24059,24060,24061,24062,24063,24064,24065,24066,24067,24068,24069,24070,24071,24072,24073,24074,24075,24076,24077,24078,24079,24080,24081,24082,24083,24084,24085,24086,24087,24088,24089,24090,24091,24092,24093,24094,24095,24096,24097,24098,24099,24100,24101,24102,24103,24104,24105,24106,24107,24108,24109,24110,24111,24112,24113,24114,24115,24116,24117,24118,24119,24120,24121,24122,24123,24124,24125,24126,24127,24128,24129,24130,24131,24132,24133,24134,24135,24136,24137,24138,24139,24140,24141,24142,24143,24144,24145,24146,24147,24148,24149,24150,24151,24152,24153,24154,24155,24156,24157,24158,24159,24160,24161,24162,24163,24164,24165,24166,24167,24168,24169,24170,24171,24172,24173,24174,24175,24176,24177,24178,24179,24180,24181,24182,24183,24184,24185,24186,24187,24188,24189,24190,24191,24192,24193,24194,24195,24196,24197,24198,24199,24200,24201,24202,24203,24204,24205,24206,24207,24208,24209,24210,24211,24212,24213,24214,24215,24216,24217,24218,24219,24220,24221,24222,24223,24224,24225,24226,24227,24228,24229,24230,24231,24232,24233,24234,24235,24236,24237,24238,24239,24240,24241,24242,24243,24244,24245,24246,24247,24248,24249,24250,24251,24252,24253,24254,24255,24256,24257,24258,24259,24260,24261,24262,24263,24264,24265,24266,24267,24268,24269,24270,24271,24272,24273,24274,24275,24276,24277,24278,24279,24280,24281,24282,24283,24284,24285,24286,24287,24288,24289,24290,24291,24292,24293,24294,24295,24296,24297,24298,24299,24300,24301,24302,24303,24304,24305,24306,24307,24308,24309,24310,24311,24312,24313,24314,24315,24316,24317,24318,24319,24320,24321,24322,24323,24324,24325,24326,24327,24328,24329,24330,24331,24332,24333,24334,24335,24336,24337,24338,24339,24340,24341,24342,24343,24344,24345,24346,24347,24348,24349,24350,24351,24352,24353,24354,24355,24356,24357,24358,24359,24360,24361,24362,24363,24364,24365,24366,24367,24368,24369,24370,24371,24372,24373,24374,24375,24376,24377,24378,24379,24380,24381,24382,24383,24384,24385,24386,24387,24388,24389,24390,24391,24392,24393,24394,24395,24396,24397,24398,24399,24400,24401,24402,24403,24404,24405,24406,24407,24408,24409,24410,24411,24412,24413,24414,24415,24416,24417,24418,24419,24420,24421,24422,24423,24424,24425,24426,24427,24428,24429,24430,24431,24432,24433,24434,24435,24436,24437,24438,24439,24440,24441,24442,24443,24444,24445,24446,24447,24448,24449,24450,24451,24452,24453,24454,24455,24456,24457,24458,24459,24460,24461,24462,24463,24464,24465,24466,24467,24468,24469,24470,24471,24472,24473,24474,24475,24476,24477,24478,24479,24480,24481,24482,24483,24484,24485,24486,24487,24488,24489,24490,24491,24492,24493,24494,24495,24496,24497,24498,24499,24500,24501,24502,24503,24504,24505,24506,24507,24508,24509,24510,24511,24512,24513,24514,24515,24516,24517,24518,24519,24520,24521,24522,24523,24524,24525,24526,24527,24528,24529,24530,24531,24532,24533,24534,24535,24536,24537,24538,24539,24540,24541,24542,24543,24544,24545,24546,24547,24548,24549,24550,24551,24552,24553,24554,24555,24556,24557,24558,24559,24560,24561,24562,24563,24564,24565,24566,24567,24568,24569,24570,24571,24572,24573,24574,24575,24576,24577,24578,24579,24580,24581,24582,24583,24584,24585,24586,24587,24588,24589,24590,24591,24592,24593,24594,24595,24596,24597,24598,24599,24600,24601,24602,24603,24604,24605,24606,24607,24608,24609,24610,24611,24612,24613,24614,24615,24616,24617,24618,24619,24620,24621,24622,24623,24624,24625,24626,24627,24628,24629,24630,24631,24632,24633,24634,24635,24636,24637,24638,24639,24640,24641,24642,24643,24644,24645,24646,24647,24648,24649,24650,24651,24652,24653,24654,24655,24656,24657,24658,24659,24660,24661,24662,24663,24664,24665,24666,24667,24668,24669,24670,24671,24672,24673,24674,24675,24676,24677,24678,24679,24680,24681,24682,24683,24684,24685,24686,24687,24688,24689,24690,24691,24692,24693,24694,24695,24696,24697,24698,24699,24700,24701,24702,24703,24704,24705,24706,24707,24708,24709,24710,24711,24712,24713,24714,24715,24716,24717,24718,24719,24720,24721,24722,24723,24724,24725,24726,24727,24728,24729,24730,24731,24732,24733,24734,24735,24736,24737,24738,24739,24740,24741,24742,24743,24744,24745,24746,24747,24748,24749,24750,24751,24752,24753,24754,24755,24756,24757,24758,24759,24760,24761,24762,24763,24764,24765,24766,24767,24768,24769,24770,24771,24772,24773,24774,24775,24776,24777,24778,24779,24780,24781,24782,24783,24784,24785,24786,24787,24788,24789,24790,24791,24792,24793,24794,24795,24796,24797,24798,24799,24800,24801,24802,24803,24804,24805,24806,24807,24808,24809,24810,24811,24812,24813,24814,24815,24816,24817,24818,24819,24820,24821,24822,24823,24824,24825,24826,24827,24828,24829,24830,24831,24832,24833,24834,24835,24836,24837,24838,24839,24840,24841,24842,24843,24844,24845,24846,24847,24848,24849,24850,24851,24852,24853,24854,24855,24856,24857,24858,24859,24860,24861,24862,24863,24864,24865,24866,24867,24868,24869,24870,24871,24872,24873,24874,24875,24876,24877,24878,24879,24880,24881,24882,24883,24884,24885,24886,24887,24888,24889,24890,24891,24892,24893,24894,24895,24896,24897,24898,24899,24900,24901,24902,24903,24904,24905,24906,24907,24908,24909,24910,24911,24912,24913,24914,24915,24916,24917,24918,24919,24920,24921,24922,24923,24924,24925,24926,24927,24928,24929,24930,24931,24932,24933,24934,24935,24936,24937,24938,24939,24940,24941,24942,24943,24944,24945,24946,24947,24948,24949,24950,24951,24952,24953,24954,24955,24956,24957,24958,24959,24960,24961,24962,24963,24964,24965,24966,24967,24968,24969,24970,24971,24972,24973,24974,24975,24976,24977,24978,24979,24980,24981,24982,24983,24984,24985,24986,24987,24988,24989,24990,24991,24992,24993,24994,24995,24996,24997,24998,24999,25000,25001,25002,25003,25004,25005,25006,25007,25008,25009,25010,25011,25012,25013,25014,25015,25016,25017,25018,25019,25020,25021,25022,25023,25024,25025,25026,25027,25028,25029,25030,25031,25032,25033,25034,25035,25036,25037,25038,25039,25040,25041,25042,25043,25044,25045,25046,25047,25048,25049,25050,25051,25052,25053,25054,25055,25056,25057,25058,25059,25060,25061,25062,25063,25064,25065,25066,25067,25068,25069,25070,25071,25072,25073,25074,25075,25076,25077,25078,25079,25080,25081,25082,25083,25084,25085,25086,25087,25088,25089,25090,25091,25092,25093,25094,25095,25096,25097,25098,25099,25100,25101,25102,25103,25104,25105,25106,25107,25108,25109,25110,25111,25112,25113,25114,25115,25116,25117,25118,25119,25120,25121,25122,25123,25124,25125,25126,25127,25128,25129,25130,25131,25132,25133,25134,25135,25136,25137,25138,25139,25140,25141,25142,25143,25144,25145,25146,25147,25148,25149,25150,25151,25152,25153,25154,25155,25156,25157,25158,25159,25160,25161,25162,25163,25164,25165,25166,25167,25168,25169,25170,25171,25172,25173,25174,25175,25176,25177,25178,25179,25180,25181,25182,25183,25184,25185,25186,25187,25188,25189,25190,25191,25192,25193,25194,25195,25196,25197,25198,25199,25200,25201,25202,25203,25204,25205,25206,25207,25208,25209,25210,25211,25212,25213,25214,25215,25216,25217,25218,25219,25220,25221,25222,25223,25224,25225,25226,25227,25228,25229,25230,25231,25232,25233,25234,25235,25236,25237,25238,25239,25240,25241,25242,25243,25244,25245,25246,25247,25248,25249,25250,25251,25252,25253,25254,25255,25256,25257,25258,25259,25260,25261,25262,25263,25264,25265,25266,25267,25268,25269,25270,25271,25272,25273,25274,25275,25276,25277,25278,25279,25280,25281,25282,25283,25284,25285,25286,25287,25288,25289,25290,25291,25292,25293,25294,25295,25296,25297,25298,25299,25300,25301,25302,25303,25304,25305,25306,25307,25308,25309,25310,25311,25312,25313,25314,25315,25316,25317,25318,25319,25320,25321,25322,25323,25324,25325,25326,25327,25328,25329,25330,25331,25332,25333,25334,25335,25336,25337,25338,25339,25340,25341,25342,25343,25344,25345,25346,25347,25348,25349,25350,25351,25352,25353,25354,25355,25356,25357,25358,25359,25360,25361,25362,25363,25364,25365,25366,25367,25368,25369,25370,25371,25372,25373,25374,25375,25376,25377,25378,25379,25380,25381,25382,25383,25384,25385,25386,25387,25388,25389,25390,25391,25392,25393,25394,25395,25396,25397,25398,25399,25400,25401,25402,25403,25404,25405,25406,25407,25408,25409,25410,25411,25412,25413,25414,25415,25416,25417,25418,25419,25420,25421,25422,25423,25424,25425,25426,25427,25428,25429,25430,25431,25432,25433,25434,25435,25436,25437,25438,25439,25440,25441,25442,25443,25444,25445,25446,25447,25448,25449,25450,25451,25452,25453,25454,25455,25456,25457,25458,25459,25460,25461,25462,25463,25464,25465,25466,25467,25468,25469,25470,25471,25472,25473,25474,25475,25476,25477,25478,25479,25480,25481,25482,25483,25484,25485,25486,25487,25488,25489,25490,25491,25492,25493,25494,25495,25496,25497,25498,25499,25500,25501,25502,25503,25504,25505,25506,25507,25508,25509,25510,25511,25512,25513,25514,25515,25516,25517,25518,25519,25520,25521,25522,25523,25524,25525,25526,25527,25528,25529,25530,25531,25532,25533,25534,25535,25536,25537,25538,25539,25540,25541,25542,25543,25544,25545,25546,25547,25548,25549,25550,25551,25552,25553,25554,25555,25556,25557,25558,25559,25560,25561,25562,25563,25564,25565,25566,25567,25568,25569,25570,25571,25572,25573,25574,25575,25576,25577,25578,25579,25580,25581,25582,25583,25584,25585,25586,25587,25588,25589,25590,25591,25592,25593,25594,25595,25596,25597,25598,25599,25600,25601,25602,25603,25604,25605,25606,25607,25608,25609,25610,25611,25612,25613,25614,25615,25616,25617,25618,25619,25620,25621,25622,25623,25624,25625,25626,25627,25628,25629,25630,25631,25632,25633,25634,25635,25636,25637,25638,25639,25640,25641,25642,25643,25644,25645,25646,25647,25648,25649,25650,25651,25652,25653,25654,25655,25656,25657,25658,25659,25660,25661,25662,25663,25664,25665,25666,25667,25668,25669,25670,25671,25672,25673,25674,25675,25676,25677,25678,25679,25680,25681,25682,25683,25684,25685,25686,25687,25688,25689,25690,25691,25692,25693,25694,25695,25696,25697,25698,25699,25700,25701,25702,25703,25704,25705,25706,25707,25708,25709,25710,25711,25712,25713,25714,25715,25716,25717,25718,25719,25720,25721,25722,25723,25724,25725,25726,25727,25728,25729,25730,25731,25732,25733,25734,25735,25736,25737,25738,25739,25740,25741,25742,25743,25744,25745,25746,25747,25748,25749,25750,25751,25752,25753,25754,25755,25756,25757,25758,25759,25760,25761,25762,25763,25764,25765,25766,25767,25768,25769,25770,25771,25772,25773,25774,25775,25776,25777,25778,25779,25780,25781,25782,25783,25784,25785,25786,25787,25788,25789,25790,25791,25792,25793,25794,25795,25796,25797,25798,25799,25800,25801,25802,25803,25804,25805,25806,25807,25808,25809,25810,25811,25812,25813,25814,25815,25816,25817,25818,25819,25820,25821,25822,25823,25824,25825,25826,25827,25828,25829,25830,25831,25832,25833,25834,25835,25836,25837,25838,25839,25840,25841,25842,25843,25844,25845,25846,25847,25848,25849,25850,25851,25852,25853,25854,25855,25856,25857,25858,25859,25860,25861,25862,25863,25864,25865,25866,25867,25868,25869,25870,25871,25872,25873,25874,25875,25876,25877,25878,25879,25880,25881,25882,25883,25884,25885,25886,25887,25888,25889,25890,25891,25892,25893,25894,25895,25896,25897,25898,25899,25900,25901,25902,25903,25904,25905,25906,25907,25908,25909,25910,25911,25912,25913,25914,25915,25916,25917,25918,25919,25920,25921,25922,25923,25924,25925,25926,25927,25928,25929,25930,25931,25932,25933,25934,25935,25936,25937,25938,25939,25940,25941,25942,25943,25944,25945,25946,25947,25948,25949,25950,25951,25952,25953,25954,25955,25956,25957,25958,25959,25960,25961,25962,25963,25964,25965,25966,25967,25968,25969,25970,25971,25972,25973,25974,25975,25976,25977,25978,25979,25980,25981,25982,25983,25984,25985,25986,25987,25988,25989,25990,25991,25992,25993,25994,25995,25996,25997,25998,25999,26000,26001,26002,26003,26004,26005,26006,26007,26008,26009,26010,26011,26012,26013,26014,26015,26016,26017,26018,26019,26020,26021,26022,26023,26024,26025,26026,26027,26028,26029,26030,26031,26032,26033,26034,26035,26036,26037,26038,26039,26040,26041,26042,26043,26044,26045,26046,26047,26048,26049,26050,26051,26052,26053,26054,26055,26056,26057,26058,26059,26060,26061,26062,26063,26064,26065,26066,26067,26068,26069,26070,26071,26072,26073,26074,26075,26076,26077,26078,26079,26080,26081,26082,26083,26084,26085,26086,26087,26088,26089,26090,26091,26092,26093,26094,26095,26096,26097,26098,26099,26100,26101,26102,26103,26104,26105,26106,26107,26108,26109,26110,26111,26112,26113,26114,26115,26116,26117,26118,26119,26120,26121,26122,26123,26124,26125,26126,26127,26128,26129,26130,26131,26132,26133,26134,26135,26136,26137,26138,26139,26140,26141,26142,26143,26144,26145,26146,26147,26148,26149,26150,26151,26152,26153,26154,26155,26156,26157,26158,26159,26160,26161,26162,26163,26164,26165,26166,26167,26168,26169,26170,26171,26172,26173,26174,26175,26176,26177,26178,26179,26180,26181,26182,26183,26184,26185,26186,26187,26188,26189,26190,26191,26192,26193,26194,26195,26196,26197,26198,26199,26200,26201,26202,26203,26204,26205,26206,26207,26208,26209,26210,26211,26212,26213,26214,26215,26216,26217,26218,26219,26220,26221,26222,26223,26224,26225,26226,26227,26228,26229,26230,26231,26232,26233,26234,26235,26236,26237,26238,26239,26240,26241,26242,26243,26244,26245,26246,26247,26248,26249,26250,26251,26252,26253,26254,26255,26256,26257,26258,26259,26260,26261,26262,26263,26264,26265,26266,26267,26268,26269,26270,26271,26272,26273,26274,26275,26276,26277,26278,26279,26280,26281,26282,26283,26284,26285,26286,26287,26288,26289,26290,26291,26292,26293,26294,26295,26296,26297,26298,26299,26300,26301,26302,26303,26304,26305,26306,26307,26308,26309,26310,26311,26312,26313,26314,26315,26316,26317,26318,26319,26320,26321,26322,26323,26324,26325,26326,26327,26328,26329,26330,26331,26332,26333,26334,26335,26336,26337,26338,26339,26340,26341,26342,26343,26344,26345,26346,26347,26348,26349,26350,26351,26352,26353,26354,26355,26356,26357,26358,26359,26360,26361,26362,26363,26364,26365,26366,26367,26368,26369,26370,26371,26372,26373,26374,26375,26376,26377,26378,26379,26380,26381,26382,26383,26384,26385,26386,26387,26388,26389,26390,26391,26392,26393,26394,26395,26396,26397,26398,26399,26400,26401,26402,26403,26404,26405,26406,26407,26408,26409,26410,26411,26412,26413,26414,26415,26416,26417,26418,26419,26420,26421,26422,26423,26424,26425,26426,26427,26428,26429,26430,26431,26432,26433,26434,26435,26436,26437,26438,26439,26440,26441,26442,26443,26444,26445,26446,26447,26448,26449,26450,26451,26452,26453,26454,26455,26456,26457,26458,26459,26460,26461,26462,26463,26464,26465,26466,26467,26468,26469,26470,26471,26472,26473,26474,26475,26476,26477,26478,26479,26480,26481,26482,26483,26484,26485,26486,26487,26488,26489,26490,26491,26492,26493,26494,26495,26496,26497,26498,26499,26500,26501,26502,26503,26504,26505,26506,26507,26508,26509,26510,26511,26512,26513,26514,26515,26516,26517,26518,26519,26520,26521,26522,26523,26524,26525,26526,26527,26528,26529,26530,26531,26532,26533,26534,26535,26536,26537,26538,26539,26540,26541,26542,26543,26544,26545,26546,26547,26548,26549,26550,26551,26552,26553,26554,26555,26556,26557,26558,26559,26560,26561,26562,26563,26564,26565,26566,26567,26568,26569,26570,26571,26572,26573,26574,26575,26576,26577,26578,26579,26580,26581,26582,26583,26584,26585,26586,26587,26588,26589,26590,26591,26592,26593,26594,26595,26596,26597,26598,26599,26600,26601,26602,26603,26604,26605,26606,26607,26608,26609,26610,26611,26612,26613,26614,26615,26616,26617,26618,26619,26620,26621,26622,26623,26624,26625,26626,26627,26628,26629,26630,26631,26632,26633,26634,26635,26636,26637,26638,26639,26640,26641,26642,26643,26644,26645,26646,26647,26648,26649,26650,26651,26652,26653,26654,26655,26656,26657,26658,26659,26660,26661,26662,26663,26664,26665,26666,26667,26668,26669,26670,26671,26672,26673,26674,26675,26676,26677,26678,26679,26680,26681,26682,26683,26684,26685,26686,26687,26688,26689,26690,26691,26692,26693,26694,26695,26696,26697,26698,26699,26700,26701,26702,26703,26704,26705,26706,26707,26708,26709,26710,26711,26712,26713,26714,26715,26716,26717,26718,26719,26720,26721,26722,26723,26724,26725,26726,26727,26728,26729,26730,26731,26732,26733,26734,26735,26736,26737,26738,26739,26740,26741,26742,26743,26744,26745,26746,26747,26748,26749,26750,26751,26752,26753,26754,26755,26756,26757,26758,26759,26760,26761,26762,26763,26764,26765,26766,26767,26768,26769,26770,26771,26772,26773,26774,26775,26776,26777,26778,26779,26780,26781,26782,26783,26784,26785,26786,26787,26788,26789,26790,26791,26792,26793,26794,26795,26796,26797,26798,26799,26800,26801,26802,26803,26804,26805,26806,26807,26808,26809,26810,26811,26812,26813,26814,26815,26816,26817,26818,26819,26820,26821,26822,26823,26824,26825,26826,26827,26828,26829,26830,26831,26832,26833,26834,26835,26836,26837,26838,26839,26840,26841,26842,26843,26844,26845,26846,26847,26848,26849,26850,26851,26852,26853,26854,26855,26856,26857,26858,26859,26860,26861,26862,26863,26864,26865,26866,26867,26868,26869,26870,26871,26872,26873,26874,26875,26876,26877,26878,26879,26880,26881,26882,26883,26884,26885,26886,26887,26888,26889,26890,26891,26892,26893,26894,26895,26896,26897,26898,26899,26900,26901,26902,26903,26904,26905,26906,26907,26908,26909,26910,26911,26912,26913,26914,26915,26916,26917,26918,26919,26920,26921,26922,26923,26924,26925,26926,26927,26928,26929,26930,26931,26932,26933,26934,26935,26936,26937,26938,26939,26940,26941,26942,26943,26944,26945,26946,26947,26948,26949,26950,26951,26952,26953,26954,26955,26956,26957,26958,26959,26960,26961,26962,26963,26964,26965,26966,26967,26968,26969,26970,26971,26972,26973,26974,26975,26976,26977,26978,26979,26980,26981,26982,26983,26984,26985,26986,26987,26988,26989,26990,26991,26992,26993,26994,26995,26996,26997,26998,26999,27000,27001,27002,27003,27004,27005,27006,27007,27008,27009,27010,27011,27012,27013,27014,27015,27016,27017,27018,27019,27020,27021,27022,27023,27024,27025,27026,27027,27028,27029,27030,27031,27032,27033,27034,27035,27036,27037,27038,27039,27040,27041,27042,27043,27044,27045,27046,27047,27048,27049,27050,27051,27052,27053,27054,27055,27056,27057,27058,27059,27060,27061,27062,27063,27064,27065,27066,27067,27068,27069,27070,27071,27072,27073,27074,27075,27076,27077,27078,27079,27080,27081,27082,27083,27084,27085,27086,27087,27088,27089,27090,27091,27092,27093,27094,27095,27096,27097,27098,27099,27100,27101,27102,27103,27104,27105,27106,27107,27108,27109,27110,27111,27112,27113,27114,27115,27116,27117,27118,27119,27120,27121,27122,27123,27124,27125,27126,27127,27128,27129,27130,27131,27132,27133,27134,27135,27136,27137,27138,27139,27140,27141,27142,27143,27144,27145,27146,27147,27148,27149,27150,27151,27152,27153,27154,27155,27156,27157,27158,27159,27160,27161,27162,27163,27164,27165,27166,27167,27168,27169,27170,27171,27172,27173,27174,27175,27176,27177,27178,27179,27180,27181,27182,27183,27184,27185,27186,27187,27188,27189,27190,27191,27192,27193,27194,27195,27196,27197,27198,27199,27200,27201,27202,27203,27204,27205,27206,27207,27208,27209,27210,27211,27212,27213,27214,27215,27216,27217,27218,27219,27220,27221,27222,27223,27224,27225,27226,27227,27228,27229,27230,27231,27232,27233,27234,27235,27236,27237,27238,27239,27240,27241,27242,27243,27244,27245,27246,27247,27248,27249,27250,27251,27252,27253,27254,27255,27256,27257,27258,27259,27260,27261,27262,27263,27264,27265,27266,27267,27268,27269,27270,27271,27272,27273,27274,27275,27276,27277,27278,27279,27280,27281,27282,27283,27284,27285,27286,27287,27288,27289,27290,27291,27292,27293,27294,27295,27296,27297,27298,27299,27300,27301,27302,27303,27304,27305,27306,27307,27308,27309,27310,27311,27312,27313,27314,27315,27316,27317,27318,27319,27320,27321,27322,27323,27324,27325,27326,27327,27328,27329,27330,27331,27332,27333,27334,27335,27336,27337,27338,27339,27340,27341,27342,27343,27344,27345,27346,27347,27348,27349,27350,27351,27352,27353,27354,27355,27356,27357,27358,27359,27360,27361,27362,27363,27364,27365,27366,27367,27368,27369,27370,27371,27372,27373,27374,27375,27376,27377,27378,27379,27380,27381,27382,27383,27384,27385,27386,27387,27388,27389,27390,27391,27392,27393,27394,27395,27396,27397,27398,27399,27400,27401,27402,27403,27404,27405,27406,27407,27408,27409,27410,27411,27412,27413,27414,27415,27416,27417,27418,27419,27420,27421,27422,27423,27424,27425,27426,27427,27428,27429,27430,27431,27432,27433,27434,27435,27436,27437,27438,27439,27440,27441,27442,27443,27444,27445,27446,27447,27448,27449,27450,27451,27452,27453,27454,27455,27456,27457,27458,27459,27460,27461,27462,27463,27464,27465,27466,27467,27468,27469,27470,27471,27472,27473,27474,27475,27476,27477,27478,27479,27480,27481,27482,27483,27484,27485,27486,27487,27488,27489,27490,27491,27492,27493,27494,27495,27496,27497,27498,27499,27500,27501,27502,27503,27504,27505,27506,27507,27508,27509,27510,27511,27512,27513,27514,27515,27516,27517,27518,27519,27520,27521,27522,27523,27524,27525,27526,27527,27528,27529,27530,27531,27532,27533,27534,27535,27536,27537,27538,27539,27540,27541,27542,27543,27544,27545,27546,27547,27548,27549,27550,27551,27552,27553,27554,27555,27556,27557,27558,27559,27560,27561,27562,27563,27564,27565,27566,27567,27568,27569,27570,27571,27572,27573,27574,27575,27576,27577,27578,27579,27580,27581,27582,27583,27584,27585,27586,27587,27588,27589,27590,27591,27592,27593,27594,27595,27596,27597,27598,27599,27600,27601,27602,27603,27604,27605,27606,27607,27608,27609,27610,27611,27612,27613,27614,27615,27616,27617,27618,27619,27620,27621,27622,27623,27624,27625,27626,27627,27628,27629,27630,27631,27632,27633,27634,27635,27636,27637,27638,27639,27640,27641,27642,27643,27644,27645,27646,27647,27648,27649,27650,27651,27652,27653,27654,27655,27656,27657,27658,27659,27660,27661,27662,27663,27664,27665,27666,27667,27668,27669,27670,27671,27672,27673,27674,27675,27676,27677,27678,27679,27680,27681,27682,27683,27684,27685,27686,27687,27688,27689,27690,27691,27692,27693,27694,27695,27696,27697,27698,27699,27700,27701,27702,27703,27704,27705,27706,27707,27708,27709,27710,27711,27712,27713,27714,27715,27716,27717,27718,27719,27720,27721,27722,27723,27724,27725,27726,27727,27728,27729,27730,27731,27732,27733,27734,27735,27736,27737,27738,27739,27740,27741,27742,27743,27744,27745,27746,27747,27748,27749,27750,27751,27752,27753,27754,27755,27756,27757,27758,27759,27760,27761,27762,27763,27764,27765,27766,27767,27768,27769,27770,27771,27772,27773,27774,27775,27776,27777,27778,27779,27780,27781,27782,27783,27784,27785,27786,27787,27788,27789,27790,27791,27792,27793,27794,27795,27796,27797,27798,27799,27800,27801,27802,27803,27804,27805,27806,27807,27808,27809,27810,27811,27812,27813,27814,27815,27816,27817,27818,27819,27820,27821,27822,27823,27824,27825,27826,27827,27828,27829,27830,27831,27832,27833,27834,27835,27836,27837,27838,27839,27840,27841,27842,27843,27844,27845,27846,27847,27848,27849,27850,27851,27852,27853,27854,27855,27856,27857,27858,27859,27860,27861,27862,27863,27864,27865,27866,27867,27868,27869,27870,27871,27872,27873,27874,27875,27876,27877,27878,27879,27880,27881,27882,27883,27884,27885,27886,27887,27888,27889,27890,27891,27892,27893,27894,27895,27896,27897,27898,27899,27900,27901,27902,27903,27904,27905,27906,27907,27908,27909,27910,27911,27912,27913,27914,27915,27916,27917,27918,27919,27920,27921,27922,27923,27924,27925,27926,27927,27928,27929,27930,27931,27932,27933,27934,27935,27936,27937,27938,27939,27940,27941,27942,27943,27944,27945,27946,27947,27948,27949,27950,27951,27952,27953,27954,27955,27956,27957,27958,27959,27960,27961,27962,27963,27964,27965,27966,27967,27968,27969,27970,27971,27972,27973,27974,27975,27976,27977,27978,27979,27980,27981,27982,27983,27984,27985,27986,27987,27988,27989,27990,27991,27992,27993,27994,27995,27996,27997,27998,27999,28000,28001,28002,28003,28004,28005,28006,28007,28008,28009,28010,28011,28012,28013,28014,28015,28016,28017,28018,28019,28020,28021,28022,28023,28024,28025,28026,28027,28028,28029,28030,28031,28032,28033,28034,28035,28036,28037,28038,28039,28040,28041,28042,28043,28044,28045,28046,28047,28048,28049,28050,28051,28052,28053,28054,28055,28056,28057,28058,28059,28060,28061,28062,28063,28064,28065,28066,28067,28068,28069,28070,28071,28072,28073,28074,28075,28076,28077,28078,28079,28080,28081,28082,28083,28084,28085,28086,28087,28088,28089,28090,28091,28092,28093,28094,28095,28096,28097,28098,28099,28100,28101,28102,28103,28104,28105,28106,28107,28108,28109,28110,28111,28112,28113,28114,28115,28116,28117,28118,28119,28120,28121,28122,28123,28124,28125,28126,28127,28128,28129,28130,28131,28132,28133,28134,28135,28136,28137,28138,28139,28140,28141,28142,28143,28144,28145,28146,28147,28148,28149,28150,28151,28152,28153,28154,28155,28156,28157,28158,28159,28160,28161,28162,28163,28164,28165,28166,28167,28168,28169,28170,28171,28172,28173,28174,28175,28176,28177,28178,28179,28180,28181,28182,28183,28184,28185,28186,28187,28188,28189,28190,28191,28192,28193,28194,28195,28196,28197,28198,28199,28200,28201,28202,28203,28204,28205,28206,28207,28208,28209,28210,28211,28212,28213,28214,28215,28216,28217,28218,28219,28220,28221,28222,28223,28224,28225,28226,28227,28228,28229,28230,28231,28232,28233,28234,28235,28236,28237,28238,28239,28240,28241,28242,28243,28244,28245,28246,28247,28248,28249,28250,28251,28252,28253,28254,28255,28256,28257,28258,28259,28260,28261,28262,28263,28264,28265,28266,28267,28268,28269,28270,28271,28272,28273,28274,28275,28276,28277,28278,28279,28280,28281,28282,28283,28284,28285,28286,28287,28288,28289,28290,28291,28292,28293,28294,28295,28296,28297,28298,28299,28300,28301,28302,28303,28304,28305,28306,28307,28308,28309,28310,28311,28312,28313,28314,28315,28316,28317,28318,28319,28320,28321,28322,28323,28324,28325,28326,28327,28328,28329,28330,28331,28332,28333,28334,28335,28336,28337,28338,28339,28340,28341,28342,28343,28344,28345,28346,28347,28348,28349,28350,28351,28352,28353,28354,28355,28356,28357,28358,28359,28360,28361,28362,28363,28364,28365,28366,28367,28368,28369,28370,28371,28372,28373,28374,28375,28376,28377,28378,28379,28380,28381,28382,28383,28384,28385,28386,28387,28388,28389,28390,28391,28392,28393,28394,28395,28396,28397,28398,28399,28400,28401,28402,28403,28404,28405,28406,28407,28408,28409,28410,28411,28412,28413,28414,28415,28416,28417,28418,28419,28420,28421,28422,28423,28424,28425,28426,28427,28428,28429,28430,28431,28432,28433,28434,28435,28436,28437,28438,28439,28440,28441,28442,28443,28444,28445,28446,28447,28448,28449,28450,28451,28452,28453,28454,28455,28456,28457,28458,28459,28460,28461,28462,28463,28464,28465,28466,28467,28468,28469,28470,28471,28472,28473,28474,28475,28476,28477,28478,28479,28480,28481,28482,28483,28484,28485,28486,28487,28488,28489,28490,28491,28492,28493,28494,28495,28496,28497,28498,28499,28500,28501,28502,28503,28504,28505,28506,28507,28508,28509,28510,28511,28512,28513,28514,28515,28516,28517,28518,28519,28520,28521,28522,28523,28524,28525,28526,28527,28528,28529,28530,28531,28532,28533,28534,28535,28536,28537,28538,28539,28540,28541,28542,28543,28544,28545,28546,28547,28548,28549,28550,28551,28552,28553,28554,28555,28556,28557,28558,28559,28560,28561,28562,28563,28564,28565,28566,28567,28568,28569,28570,28571,28572,28573,28574,28575,28576,28577,28578,28579,28580,28581,28582,28583,28584,28585,28586,28587,28588,28589,28590,28591,28592,28593,28594,28595,28596,28597,28598,28599,28600,28601,28602,28603,28604,28605,28606,28607,28608,28609,28610,28611,28612,28613,28614,28615,28616,28617,28618,28619,28620,28621,28622,28623,28624,28625,28626,28627,28628,28629,28630,28631,28632,28633,28634,28635,28636,28637,28638,28639,28640,28641,28642,28643,28644,28645,28646,28647,28648,28649,28650,28651,28652,28653,28654,28655,28656,28657,28658,28659,28660,28661,28662,28663,28664,28665,28666,28667,28668,28669,28670,28671,28672,28673,28674,28675,28676,28677,28678,28679,28680,28681,28682,28683,28684,28685,28686,28687,28688,28689,28690,28691,28692,28693,28694,28695,28696,28697,28698,28699,28700,28701,28702,28703,28704,28705,28706,28707,28708,28709,28710,28711,28712,28713,28714,28715,28716,28717,28718,28719,28720,28721,28722,28723,28724,28725,28726,28727,28728,28729,28730,28731,28732,28733,28734,28735,28736,28737,28738,28739,28740,28741,28742,28743,28744,28745,28746,28747,28748,28749,28750,28751,28752,28753,28754,28755,28756,28757,28758,28759,28760,28761,28762,28763,28764,28765,28766,28767,28768,28769,28770,28771,28772,28773,28774,28775,28776,28777,28778,28779,28780,28781,28782,28783,28784,28785,28786,28787,28788,28789,28790,28791,28792,28793,28794,28795,28796,28797,28798,28799,28800,28801,28802,28803,28804,28805,28806,28807,28808,28809,28810,28811,28812,28813,28814,28815,28816,28817,28818,28819,28820,28821,28822,28823,28824,28825,28826,28827,28828,28829,28830,28831,28832,28833,28834,28835,28836,28837,28838,28839,28840,28841,28842,28843,28844,28845,28846,28847,28848,28849,28850,28851,28852,28853,28854,28855,28856,28857,28858,28859,28860,28861,28862,28863,28864,28865,28866,28867,28868,28869,28870,28871,28872,28873,28874,28875,28876,28877,28878,28879,28880,28881,28882,28883,28884,28885,28886,28887,28888,28889,28890,28891,28892,28893,28894,28895,28896,28897,28898,28899,28900,28901,28902,28903,28904,28905,28906,28907,28908,28909,28910,28911,28912,28913,28914,28915,28916,28917,28918,28919,28920,28921,28922,28923,28924,28925,28926,28927,28928,28929,28930,28931,28932,28933,28934,28935,28936,28937,28938,28939,28940,28941,28942,28943,28944,28945,28946,28947,28948,28949,28950,28951,28952,28953,28954,28955,28956,28957,28958,28959,28960,28961,28962,28963,28964,28965,28966,28967,28968,28969,28970,28971,28972,28973,28974,28975,28976,28977,28978,28979,28980,28981,28982,28983,28984,28985,28986,28987,28988,28989,28990,28991,28992,28993,28994,28995,28996,28997,28998,28999,29000,29001,29002,29003,29004,29005,29006,29007,29008,29009,29010,29011,29012,29013,29014,29015,29016,29017,29018,29019,29020,29021,29022,29023,29024,29025,29026,29027,29028,29029,29030,29031,29032,29033,29034,29035,29036,29037,29038,29039,29040,29041,29042,29043,29044,29045,29046,29047,29048,29049,29050,29051,29052,29053,29054,29055,29056,29057,29058,29059,29060,29061,29062,29063,29064,29065,29066,29067,29068,29069,29070,29071,29072,29073,29074,29075,29076,29077,29078,29079,29080,29081,29082,29083,29084,29085,29086,29087,29088,29089,29090,29091,29092,29093,29094,29095,29096,29097,29098,29099,29100,29101,29102,29103,29104,29105,29106,29107,29108,29109,29110,29111,29112,29113,29114,29115,29116,29117,29118,29119,29120,29121,29122,29123,29124,29125,29126,29127,29128,29129,29130,29131,29132,29133,29134,29135,29136,29137,29138,29139,29140,29141,29142,29143,29144,29145,29146,29147,29148,29149,29150,29151,29152,29153,29154,29155,29156,29157,29158,29159,29160,29161,29162,29163,29164,29165,29166,29167,29168,29169,29170,29171,29172,29173,29174,29175,29176,29177,29178,29179,29180,29181,29182,29183,29184,29185,29186,29187,29188,29189,29190,29191,29192,29193,29194,29195,29196,29197,29198,29199,29200,29201,29202,29203,29204,29205,29206,29207,29208,29209,29210,29211,29212,29213,29214,29215,29216,29217,29218,29219,29220,29221,29222,29223,29224,29225,29226,29227,29228,29229,29230,29231,29232,29233,29234,29235,29236,29237,29238,29239,29240,29241,29242,29243,29244,29245,29246,29247,29248,29249,29250,29251,29252,29253,29254,29255,29256,29257,29258,29259,29260,29261,29262,29263,29264,29265,29266,29267,29268,29269,29270,29271,29272,29273,29274,29275,29276,29277,29278,29279,29280,29281,29282,29283,29284,29285,29286,29287,29288,29289,29290,29291,29292,29293,29294,29295,29296,29297,29298,29299,29300,29301,29302,29303,29304,29305,29306,29307,29308,29309,29310,29311,29312,29313,29314,29315,29316,29317,29318,29319,29320,29321,29322,29323,29324,29325,29326,29327,29328,29329,29330,29331,29332,29333,29334,29335,29336,29337,29338,29339,29340,29341,29342,29343,29344,29345,29346,29347,29348,29349,29350,29351,29352,29353,29354,29355,29356,29357,29358,29359,29360,29361,29362,29363,29364,29365,29366,29367,29368,29369,29370,29371,29372,29373,29374,29375,29376,29377,29378,29379,29380,29381,29382,29383,29384,29385,29386,29387,29388,29389,29390,29391,29392,29393,29394,29395,29396,29397,29398,29399,29400,29401,29402,29403,29404,29405,29406,29407,29408,29409,29410,29411,29412,29413,29414,29415,29416,29417,29418,29419,29420,29421,29422,29423,29424,29425,29426,29427,29428,29429,29430,29431,29432,29433,29434,29435,29436,29437,29438,29439,29440,29441,29442,29443,29444,29445,29446,29447,29448,29449,29450,29451,29452,29453,29454,29455,29456,29457,29458,29459,29460,29461,29462,29463,29464,29465,29466,29467,29468,29469,29470,29471,29472,29473,29474,29475,29476,29477,29478,29479,29480,29481,29482,29483,29484,29485,29486,29487,29488,29489,29490,29491,29492,29493,29494,29495,29496,29497,29498,29499,29500,29501,29502,29503,29504,29505,29506,29507,29508,29509,29510,29511,29512,29513,29514,29515,29516,29517,29518,29519,29520,29521,29522,29523,29524,29525,29526,29527,29528,29529,29530,29531,29532,29533,29534,29535,29536,29537,29538,29539,29540,29541,29542,29543,29544,29545,29546,29547,29548,29549,29550,29551,29552,29553,29554,29555,29556,29557,29558,29559,29560,29561,29562,29563,29564,29565,29566,29567,29568,29569,29570,29571,29572,29573,29574,29575,29576,29577,29578,29579,29580,29581,29582,29583,29584,29585,29586,29587,29588,29589,29590,29591,29592,29593,29594,29595,29596,29597,29598,29599,29600,29601,29602,29603,29604,29605,29606,29607,29608,29609,29610,29611,29612,29613,29614,29615,29616,29617,29618,29619,29620,29621,29622,29623,29624,29625,29626,29627,29628,29629,29630,29631,29632,29633,29634,29635,29636,29637,29638,29639,29640,29641,29642,29643,29644,29645,29646,29647,29648,29649,29650,29651,29652,29653,29654,29655,29656,29657,29658,29659,29660,29661,29662,29663,29664,29665,29666,29667,29668,29669,29670,29671,29672,29673,29674,29675,29676,29677,29678,29679,29680,29681,29682,29683,29684,29685,29686,29687,29688,29689,29690,29691,29692,29693,29694,29695,29696,29697,29698,29699,29700,29701,29702,29703,29704,29705,29706,29707,29708,29709,29710,29711,29712,29713,29714,29715,29716,29717,29718,29719,29720,29721,29722,29723,29724,29725,29726,29727,29728,29729,29730,29731,29732,29733,29734,29735,29736,29737,29738,29739,29740,29741,29742,29743,29744,29745,29746,29747,29748,29749,29750,29751,29752,29753,29754,29755,29756,29757,29758,29759,29760,29761,29762,29763,29764,29765,29766,29767,29768,29769,29770,29771,29772,29773,29774,29775,29776,29777,29778,29779,29780,29781,29782,29783,29784,29785,29786,29787,29788,29789,29790,29791,29792,29793,29794,29795,29796,29797,29798,29799,29800,29801,29802,29803,29804,29805,29806,29807,29808,29809,29810,29811,29812,29813,29814,29815,29816,29817,29818,29819,29820,29821,29822,29823,29824,29825,29826,29827,29828,29829,29830,29831,29832,29833,29834,29835,29836,29837,29838,29839,29840,29841,29842,29843,29844,29845,29846,29847,29848,29849,29850,29851,29852,29853,29854,29855,29856,29857,29858,29859,29860,29861,29862,29863,29864,29865,29866,29867,29868,29869,29870,29871,29872,29873,29874,29875,29876,29877,29878,29879,29880,29881,29882,29883,29884,29885,29886,29887,29888,29889,29890,29891,29892,29893,29894,29895,29896,29897,29898,29899,29900,29901,29902,29903,29904,29905,29906,29907,29908,29909,29910,29911,29912,29913,29914,29915,29916,29917,29918,29919,29920,29921,29922,29923,29924,29925,29926,29927,29928,29929,29930,29931,29932,29933,29934,29935,29936,29937,29938,29939,29940,29941,29942,29943,29944,29945,29946,29947,29948,29949,29950,29951,29952,29953,29954,29955,29956,29957,29958,29959,29960,29961,29962,29963,29964,29965,29966,29967,29968,29969,29970,29971,29972,29973,29974,29975,29976,29977,29978,29979,29980,29981,29982,29983,29984,29985,29986,29987,29988,29989,29990,29991,29992,29993,29994,29995,29996,29997,29998,29999,30000,30001,30002,30003,30004,30005,30006,30007,30008,30009,30010,30011,30012,30013,30014,30015,30016,30017,30018,30019,30020,30021,30022,30023,30024,30025,30026,30027,30028,30029,30030,30031,30032,30033,30034,30035,30036,30037,30038,30039,30040,30041,30042,30043,30044,30045,30046,30047,30048,30049,30050,30051,30052,30053,30054,30055,30056,30057,30058,30059,30060,30061,30062,30063,30064,30065,30066,30067,30068,30069,30070,30071,30072,30073,30074,30075,30076,30077,30078,30079,30080,30081,30082,30083,30084,30085,30086,30087,30088,30089,30090,30091,30092,30093,30094,30095,30096,30097,30098,30099,30100,30101,30102,30103,30104,30105,30106,30107,30108,30109,30110,30111,30112,30113,30114,30115,30116,30117,30118,30119,30120,30121,30122,30123,30124,30125,30126,30127,30128,30129,30130,30131,30132,30133,30134,30135,30136,30137,30138,30139,30140,30141,30142,30143,30144,30145,30146,30147,30148,30149,30150,30151,30152,30153,30154,30155,30156,30157,30158,30159,30160,30161,30162,30163,30164,30165,30166,30167,30168,30169,30170,30171,30172,30173,30174,30175,30176,30177,30178,30179,30180,30181,30182,30183,30184,30185,30186,30187,30188,30189,30190,30191,30192,30193,30194,30195,30196,30197,30198,30199,30200,30201,30202,30203,30204,30205,30206,30207,30208,30209,30210,30211,30212,30213,30214,30215,30216,30217,30218,30219,30220,30221,30222,30223,30224,30225,30226,30227,30228,30229,30230,30231,30232,30233,30234,30235,30236,30237,30238,30239,30240,30241,30242,30243,30244,30245,30246,30247,30248,30249,30250,30251,30252,30253,30254,30255,30256,30257,30258,30259,30260,30261,30262,30263,30264,30265,30266,30267,30268,30269,30270,30271,30272,30273,30274,30275,30276,30277,30278,30279,30280,30281,30282,30283,30284,30285,30286,30287,30288,30289,30290,30291,30292,30293,30294,30295,30296,30297,30298,30299,30300,30301,30302,30303,30304,30305,30306,30307,30308,30309,30310,30311,30312,30313,30314,30315,30316,30317,30318,30319,30320,30321,30322,30323,30324,30325,30326,30327,30328,30329,30330,30331,30332,30333,30334,30335,30336,30337,30338,30339,30340,30341,30342,30343,30344,30345,30346,30347,30348,30349,30350,30351,30352,30353,30354,30355,30356,30357,30358,30359,30360,30361,30362,30363,30364,30365,30366,30367,30368,30369,30370,30371,30372,30373,30374,30375,30376,30377,30378,30379,30380,30381,30382,30383,30384,30385,30386,30387,30388,30389,30390,30391,30392,30393,30394,30395,30396,30397,30398,30399,30400,30401,30402,30403,30404,30405,30406,30407,30408,30409,30410,30411,30412,30413,30414,30415,30416,30417,30418,30419,30420,30421,30422,30423,30424,30425,30426,30427,30428,30429,30430,30431,30432,30433,30434,30435,30436,30437,30438,30439,30440,30441,30442,30443,30444,30445,30446,30447,30448,30449,30450,30451,30452,30453,30454,30455,30456,30457,30458,30459,30460,30461,30462,30463,30464,30465,30466,30467,30468,30469,30470,30471,30472,30473,30474,30475,30476,30477,30478,30479,30480,30481,30482,30483,30484,30485,30486,30487,30488,30489,30490,30491,30492,30493,30494,30495,30496,30497,30498,30499,30500,30501,30502,30503,30504,30505,30506,30507,30508,30509,30510,30511,30512,30513,30514,30515,30516,30517,30518,30519,30520,30521,30522,30523,30524,30525,30526,30527,30528,30529,30530,30531,30532,30533,30534,30535,30536,30537,30538,30539,30540,30541,30542,30543,30544,30545,30546,30547,30548,30549,30550,30551,30552,30553,30554,30555,30556,30557,30558,30559,30560,30561,30562,30563,30564,30565,30566,30567,30568,30569,30570,30571,30572,30573,30574,30575,30576,30577,30578,30579,30580,30581,30582,30583,30584,30585,30586,30587,30588,30589,30590,30591,30592,30593,30594,30595,30596,30597,30598,30599,30600,30601,30602,30603,30604,30605,30606,30607,30608,30609,30610,30611,30612,30613,30614,30615,30616,30617,30618,30619,30620,30621,30622,30623,30624,30625,30626,30627,30628,30629,30630,30631,30632,30633,30634,30635,30636,30637,30638,30639,30640,30641,30642,30643,30644,30645,30646,30647,30648,30649,30650,30651,30652,30653,30654,30655,30656,30657,30658,30659,30660,30661,30662,30663,30664,30665,30666,30667,30668,30669,30670,30671,30672,30673,30674,30675,30676,30677,30678,30679,30680,30681,30682,30683,30684,30685,30686,30687,30688,30689,30690,30691,30692,30693,30694,30695,30696,30697,30698,30699,30700,30701,30702,30703,30704,30705,30706,30707,30708,30709,30710,30711,30712,30713,30714,30715,30716,30717,30718,30719,30720,30721,30722,30723,30724,30725,30726,30727,30728,30729,30730,30731,30732,30733,30734,30735,30736,30737,30738,30739,30740,30741,30742,30743,30744,30745,30746,30747,30748,30749,30750,30751,30752,30753,30754,30755,30756,30757,30758,30759,30760,30761,30762,30763,30764,30765,30766,30767,30768,30769,30770,30771,30772,30773,30774,30775,30776,30777,30778,30779,30780,30781,30782,30783,30784,30785,30786,30787,30788,30789,30790,30791,30792,30793,30794,30795,30796,30797,30798,30799,30800,30801,30802,30803,30804,30805,30806,30807,30808,30809,30810,30811,30812,30813,30814,30815,30816,30817,30818,30819,30820,30821,30822,30823,30824,30825,30826,30827,30828,30829,30830,30831,30832,30833,30834,30835,30836,30837,30838,30839,30840,30841,30842,30843,30844,30845,30846,30847,30848,30849,30850,30851,30852,30853,30854,30855,30856,30857,30858,30859,30860,30861,30862,30863,30864,30865,30866,30867,30868,30869,30870,30871,30872,30873,30874,30875,30876,30877,30878,30879,30880,30881,30882,30883,30884,30885,30886,30887,30888,30889,30890,30891,30892,30893,30894,30895,30896,30897,30898,30899,30900,30901,30902,30903,30904,30905,30906,30907,30908,30909,30910,30911,30912,30913,30914,30915,30916,30917,30918,30919,30920,30921,30922,30923,30924,30925,30926,30927,30928,30929,30930,30931,30932,30933,30934,30935,30936,30937,30938,30939,30940,30941,30942,30943,30944,30945,30946,30947,30948,30949,30950,30951,30952,30953,30954,30955,30956,30957,30958,30959,30960,30961,30962,30963,30964,30965,30966,30967,30968,30969,30970,30971,30972,30973,30974,30975,30976,30977,30978,30979,30980,30981,30982,30983,30984,30985,30986,30987,30988,30989,30990,30991,30992,30993,30994,30995,30996,30997,30998,30999,31000,31001,31002,31003,31004,31005,31006,31007,31008,31009,31010,31011,31012,31013,31014,31015,31016,31017,31018,31019,31020,31021,31022,31023,31024,31025,31026,31027,31028,31029,31030,31031,31032,31033,31034,31035,31036,31037,31038,31039,31040,31041,31042,31043,31044,31045,31046,31047,31048,31049,31050,31051,31052,31053,31054,31055,31056,31057,31058,31059,31060,31061,31062,31063,31064,31065,31066,31067,31068,31069,31070,31071,31072,31073,31074,31075,31076,31077,31078,31079,31080,31081,31082,31083,31084,31085,31086,31087,31088,31089,31090,31091,31092,31093,31094,31095,31096,31097,31098,31099,31100,31101,31102,31103,31104,31105,31106,31107,31108,31109,31110,31111,31112,31113,31114,31115,31116,31117,31118,31119,31120,31121,31122,31123,31124,31125,31126,31127,31128,31129,31130,31131,31132,31133,31134,31135,31136,31137,31138,31139,31140,31141,31142,31143,31144,31145,31146,31147,31148,31149,31150,31151,31152,31153,31154,31155,31156,31157,31158,31159,31160,31161,31162,31163,31164,31165,31166,31167,31168,31169,31170,31171,31172,31173,31174,31175,31176,31177,31178,31179,31180,31181,31182,31183,31184,31185,31186,31187,31188,31189,31190,31191,31192,31193,31194,31195,31196,31197,31198,31199,31200,31201,31202,31203,31204,31205,31206,31207,31208,31209,31210,31211,31212,31213,31214,31215,31216,31217,31218,31219,31220,31221,31222,31223,31224,31225,31226,31227,31228,31229,31230,31231,31232,31233,31234,31235,31236,31237,31238,31239,31240,31241,31242,31243,31244,31245,31246,31247,31248,31249,31250,31251,31252,31253,31254,31255,31256,31257,31258,31259,31260,31261,31262,31263,31264,31265,31266,31267,31268,31269,31270,31271,31272,31273,31274,31275,31276,31277,31278,31279,31280,31281,31282,31283,31284,31285,31286,31287,31288,31289,31290,31291,31292,31293,31294,31295,31296,31297,31298,31299,31300,31301,31302,31303,31304,31305,31306,31307,31308,31309,31310,31311,31312,31313,31314,31315,31316,31317,31318,31319,31320,31321,31322,31323,31324,31325,31326,31327,31328,31329,31330,31331,31332,31333,31334,31335,31336,31337,31338,31339,31340,31341,31342,31343,31344,31345,31346,31347,31348,31349,31350,31351,31352,31353,31354,31355,31356,31357,31358,31359,31360,31361,31362,31363,31364,31365,31366,31367,31368,31369,31370,31371,31372,31373,31374,31375,31376,31377,31378,31379,31380,31381,31382,31383,31384,31385,31386,31387,31388,31389,31390,31391,31392,31393,31394,31395,31396,31397,31398,31399,31400,31401,31402,31403,31404,31405,31406,31407,31408,31409,31410,31411,31412,31413,31414,31415,31416,31417,31418,31419,31420,31421,31422,31423,31424,31425,31426,31427,31428,31429,31430,31431,31432,31433,31434,31435,31436,31437,31438,31439,31440,31441,31442,31443,31444,31445,31446,31447,31448,31449,31450,31451,31452,31453,31454,31455,31456,31457,31458,31459,31460,31461,31462,31463,31464,31465,31466,31467,31468,31469,31470,31471,31472,31473,31474,31475,31476,31477,31478,31479,31480,31481,31482,31483,31484,31485,31486,31487,31488,31489,31490,31491,31492,31493,31494,31495,31496,31497,31498,31499,31500,31501,31502,31503,31504,31505,31506,31507,31508,31509,31510,31511,31512,31513,31514,31515,31516,31517,31518,31519,31520,31521,31522,31523,31524,31525,31526,31527,31528,31529,31530,31531,31532,31533,31534,31535,31536,31537,31538,31539,31540,31541,31542,31543,31544,31545,31546,31547,31548,31549,31550,31551,31552,31553,31554,31555,31556,31557,31558,31559,31560,31561,31562,31563,31564,31565,31566,31567,31568,31569,31570,31571,31572,31573,31574,31575,31576,31577,31578,31579,31580,31581,31582,31583,31584,31585,31586,31587,31588,31589,31590,31591,31592,31593,31594,31595,31596,31597,31598,31599,31600,31601,31602,31603,31604,31605,31606,31607,31608,31609,31610,31611,31612,31613,31614,31615,31616,31617,31618,31619,31620,31621,31622,31623,31624,31625,31626,31627,31628,31629,31630,31631,31632,31633,31634,31635,31636,31637,31638,31639,31640,31641,31642,31643,31644,31645,31646,31647,31648,31649,31650,31651,31652,31653,31654,31655,31656,31657,31658,31659,31660,31661,31662,31663,31664,31665,31666,31667,31668,31669,31670,31671,31672,31673,31674,31675,31676,31677,31678,31679,31680,31681,31682,31683,31684,31685,31686,31687,31688,31689,31690,31691,31692,31693,31694,31695,31696,31697,31698,31699,31700,31701,31702,31703,31704,31705,31706,31707,31708,31709,31710,31711,31712,31713,31714,31715,31716,31717,31718,31719,31720,31721,31722,31723,31724,31725,31726,31727,31728,31729,31730,31731,31732,31733,31734,31735,31736,31737,31738,31739,31740,31741,31742,31743,31744,31745,31746,31747,31748,31749,31750,31751,31752,31753,31754,31755,31756,31757,31758,31759,31760,31761,31762,31763,31764,31765,31766,31767,31768,31769,31770,31771,31772,31773,31774,31775,31776,31777,31778,31779,31780,31781,31782,31783,31784,31785,31786,31787,31788,31789,31790,31791,31792,31793,31794,31795,31796,31797,31798,31799,31800,31801,31802,31803,31804,31805,31806,31807,31808,31809,31810,31811,31812,31813,31814,31815,31816,31817,31818,31819,31820,31821,31822,31823,31824,31825,31826,31827,31828,31829,31830,31831,31832,31833,31834,31835,31836,31837,31838,31839,31840,31841,31842,31843,31844,31845,31846,31847,31848,31849,31850,31851,31852,31853,31854,31855,31856,31857,31858,31859,31860,31861,31862,31863,31864,31865,31866,31867,31868,31869,31870,31871,31872,31873,31874,31875,31876,31877,31878,31879,31880,31881,31882,31883,31884,31885,31886,31887,31888,31889,31890,31891,31892,31893,31894,31895,31896,31897,31898,31899,31900,31901,31902,31903,31904,31905,31906,31907,31908,31909,31910,31911,31912,31913,31914,31915,31916,31917,31918,31919,31920,31921,31922,31923,31924,31925,31926,31927,31928,31929,31930,31931,31932,31933,31934,31935,31936,31937,31938,31939,31940,31941,31942,31943,31944,31945,31946,31947,31948,31949,31950,31951,31952,31953,31954,31955,31956,31957,31958,31959,31960,31961,31962,31963,31964,31965,31966,31967,31968,31969,31970,31971,31972,31973,31974,31975,31976,31977,31978,31979,31980,31981,31982,31983,31984,31985,31986,31987,31988,31989,31990,31991,31992,31993,31994,31995,31996,31997,31998,31999,32000,32001,32002,32003,32004,32005,32006,32007,32008,32009,32010,32011,32012,32013,32014,32015,32016,32017,32018,32019,32020,32021,32022,32023,32024,32025,32026,32027,32028,32029,32030,32031,32032,32033,32034,32035,32036,32037,32038,32039,32040,32041,32042,32043,32044,32045,32046,32047,32048,32049,32050,32051,32052,32053,32054,32055,32056,32057,32058,32059,32060,32061,32062,32063,32064,32065,32066,32067,32068,32069,32070,32071,32072,32073,32074,32075,32076,32077,32078,32079,32080,32081,32082,32083,32084,32085,32086,32087,32088,32089,32090,32091,32092,32093,32094,32095,32096,32097,32098,32099,32100,32101,32102,32103,32104,32105,32106,32107,32108,32109,32110,32111,32112,32113,32114,32115,32116,32117,32118,32119,32120,32121,32122,32123,32124,32125,32126,32127,32128,32129,32130,32131,32132,32133,32134,32135,32136,32137,32138,32139,32140,32141,32142,32143,32144,32145,32146,32147,32148,32149,32150,32151,32152,32153,32154,32155,32156,32157,32158,32159,32160,32161,32162,32163,32164,32165,32166,32167,32168,32169,32170,32171,32172,32173,32174,32175,32176,32177,32178,32179,32180,32181,32182,32183,32184,32185,32186,32187,32188,32189,32190,32191,32192,32193,32194,32195,32196,32197,32198,32199,32200,32201,32202,32203,32204,32205,32206,32207,32208,32209,32210,32211,32212,32213,32214,32215,32216,32217,32218,32219,32220,32221,32222,32223,32224,32225,32226,32227,32228,32229,32230,32231,32232,32233,32234,32235,32236,32237,32238,32239,32240,32241,32242,32243,32244,32245,32246,32247,32248,32249,32250,32251,32252,32253,32254,32255,32256,32257,32258,32259,32260,32261,32262,32263,32264,32265,32266,32267,32268,32269,32270,32271,32272,32273,32274,32275,32276,32277,32278,32279,32280,32281,32282,32283,32284,32285,32286,32287,32288,32289,32290,32291,32292,32293,32294,32295,32296,32297,32298,32299,32300,32301,32302,32303,32304,32305,32306,32307,32308,32309,32310,32311,32312,32313,32314,32315,32316,32317,32318,32319,32320,32321,32322,32323,32324,32325,32326,32327,32328,32329,32330,32331,32332,32333,32334,32335,32336,32337,32338,32339,32340,32341,32342,32343,32344,32345,32346,32347,32348,32349,32350,32351,32352,32353,32354,32355,32356,32357,32358,32359,32360,32361,32362,32363,32364,32365,32366,32367,32368,32369,32370,32371,32372,32373,32374,32375,32376,32377,32378,32379,32380,32381,32382,32383,32384,32385,32386,32387,32388,32389,32390,32391,32392,32393,32394,32395,32396,32397,32398,32399,32400,32401,32402,32403,32404,32405,32406,32407,32408,32409,32410,32411,32412,32413,32414,32415,32416,32417,32418,32419,32420,32421,32422,32423,32424,32425,32426,32427,32428,32429,32430,32431,32432,32433,32434,32435,32436,32437,32438,32439,32440,32441,32442,32443,32444,32445,32446,32447,32448,32449,32450,32451,32452,32453,32454,32455,32456,32457,32458,32459,32460,32461,32462,32463,32464,32465,32466,32467,32468,32469,32470,32471,32472,32473,32474,32475,32476,32477,32478,32479,32480,32481,32482,32483,32484,32485,32486,32487,32488,32489,32490,32491,32492,32493,32494,32495,32496,32497,32498,32499,32500,32501,32502,32503,32504,32505,32506,32507,32508,32509,32510,32511,32512,32513,32514,32515,32516,32517,32518,32519,32520,32521,32522,32523,32524,32525,32526,32527,32528,32529,32530,32531,32532,32533,32534,32535,32536,32537,32538,32539,32540,32541,32542,32543,32544,32545,32546,32547,32548,32549,32550,32551,32552,32553,32554,32555,32556,32557,32558,32559,32560,32561,32562,32563,32564,32565,32566,32567,32568,32569,32570,32571,32572,32573,32574,32575,32576,32577,32578,32579,32580,32581,32582,32583,32584,32585,32586,32587,32588,32589,32590,32591,32592,32593,32594,32595,32596,32597,32598,32599,32600,32601,32602,32603,32604,32605,32606,32607,32608,32609,32610,32611,32612,32613,32614,32615,32616,32617,32618,32619,32620,32621,32622,32623,32624,32625,32626,32627,32628,32629,32630,32631,32632,32633,32634,32635,32636,32637,32638,32639,32640,32641,32642,32643,32644,32645,32646,32647,32648,32649,32650,32651,32652,32653,32654,32655,32656,32657,32658,32659,32660,32661,32662,32663,32664,32665,32666,32667,32668,32669,32670,32671,32672,32673,32674,32675,32676,32677,32678,32679,32680,32681,32682,32683,32684,32685,32686,32687,32688,32689,32690,32691,32692,32693,32694,32695,32696,32697,32698,32699,32700,32701,32702,32703,32704,32705,32706,32707,32708,32709,32710,32711,32712,32713,32714,32715,32716,32717,32718,32719,32720,32721,32722,32723,32724,32725,32726,32727,32728,32729,32730,32731,32732,32733,32734,32735,32736,32737,32738,32739,32740,32741,32742,32743,32744,32745,32746,32747,32748,32749,32750,32751,32752,32753,32754,32755,32756,32757,32758,32759,32760,32761,32762,32763,32764,32765,32766,32767,32768,32769,32770,32771,32772,32773,32774,32775,32776,32777,32778,32779,32780,32781,32782,32783,32784,32785,32786,32787,32788,32789,32790,32791,32792,32793,32794,32795,32796,32797,32798,32799,32800,32801,32802,32803,32804,32805,32806,32807,32808,32809,32810,32811,32812,32813,32814,32815,32816,32817,32818,32819,32820,32821,32822,32823,32824,32825,32826,32827,32828,32829,32830,32831,32832,32833,32834,32835,32836,32837,32838,32839,32840,32841,32842,32843,32844,32845,32846,32847,32848,32849,32850,32851,32852,32853,32854,32855,32856,32857,32858,32859,32860,32861,32862,32863,32864,32865,32866,32867,32868,32869,32870,32871,32872,32873,32874,32875,32876,32877,32878,32879,32880,32881,32882,32883,32884,32885,32886,32887,32888,32889,32890,32891,32892,32893,32894,32895,32896,32897,32898,32899,32900,32901,32902,32903,32904,32905,32906,32907,32908,32909,32910,32911,32912,32913,32914,32915,32916,32917,32918,32919,32920,32921,32922,32923,32924,32925,32926,32927,32928,32929,32930,32931,32932,32933,32934,32935,32936,32937,32938,32939,32940,32941,32942,32943,32944,32945,32946,32947,32948,32949,32950,32951,32952,32953,32954,32955,32956,32957,32958,32959,32960,32961,32962,32963,32964,32965,32966,32967,32968,32969,32970,32971,32972,32973,32974,32975,32976,32977,32978,32979,32980,32981,32982,32983,32984,32985,32986,32987,32988,32989,32990,32991,32992,32993,32994,32995,32996,32997,32998,32999,33000,33001,33002,33003,33004,33005,33006,33007,33008,33009,33010,33011,33012,33013,33014,33015,33016,33017,33018,33019,33020,33021,33022,33023,33024,33025,33026,33027,33028,33029,33030,33031,33032,33033,33034,33035,33036,33037,33038,33039,33040,33041,33042,33043,33044,33045,33046,33047,33048,33049,33050,33051,33052,33053,33054,33055,33056,33057,33058,33059,33060,33061,33062,33063,33064,33065,33066,33067,33068,33069,33070,33071,33072,33073,33074,33075,33076,33077,33078,33079,33080,33081,33082,33083,33084,33085,33086,33087,33088,33089,33090,33091,33092,33093,33094,33095,33096,33097,33098,33099,33100,33101,33102,33103,33104,33105,33106,33107,33108,33109,33110,33111,33112,33113,33114,33115,33116,33117,33118,33119,33120,33121,33122,33123,33124,33125,33126,33127,33128,33129,33130,33131,33132,33133,33134,33135,33136,33137,33138,33139,33140,33141,33142,33143,33144,33145,33146,33147,33148,33149,33150,33151,33152,33153,33154,33155,33156,33157,33158,33159,33160,33161,33162,33163,33164,33165,33166,33167,33168,33169,33170,33171,33172,33173,33174,33175,33176,33177,33178,33179,33180,33181,33182,33183,33184,33185,33186,33187,33188,33189,33190,33191,33192,33193,33194,33195,33196,33197,33198,33199,33200,33201,33202,33203,33204,33205,33206,33207,33208,33209,33210,33211,33212,33213,33214,33215,33216,33217,33218,33219,33220,33221,33222,33223,33224,33225,33226,33227,33228,33229,33230,33231,33232,33233,33234,33235,33236,33237,33238,33239,33240,33241,33242,33243,33244,33245,33246,33247,33248,33249,33250,33251,33252,33253,33254,33255,33256,33257,33258,33259,33260,33261,33262,33263,33264,33265,33266,33267,33268,33269,33270,33271,33272,33273,33274,33275,33276,33277,33278,33279,33280,33281,33282,33283,33284,33285,33286,33287,33288,33289,33290,33291,33292,33293,33294,33295,33296,33297,33298,33299,33300,33301,33302,33303,33304,33305,33306,33307,33308,33309,33310,33311,33312,33313,33314,33315,33316,33317,33318,33319,33320,33321,33322,33323,33324,33325,33326,33327,33328,33329,33330,33331,33332,33333,33334,33335,33336,33337,33338,33339,33340,33341,33342,33343,33344,33345,33346,33347,33348,33349,33350,33351,33352,33353,33354,33355,33356,33357,33358,33359,33360,33361,33362,33363,33364,33365,33366,33367,33368,33369,33370,33371,33372,33373,33374,33375,33376,33377,33378,33379,33380,33381,33382,33383,33384,33385,33386,33387,33388,33389,33390,33391,33392,33393,33394,33395,33396,33397,33398,33399,33400,33401,33402,33403,33404,33405,33406,33407,33408,33409,33410,33411,33412,33413,33414,33415,33416,33417,33418,33419,33420,33421,33422,33423,33424,33425,33426,33427,33428,33429,33430,33431,33432,33433,33434,33435,33436,33437,33438,33439,33440,33441,33442,33443,33444,33445,33446,33447,33448,33449,33450,33451,33452,33453,33454,33455,33456,33457,33458,33459,33460,33461,33462,33463,33464,33465,33466,33467,33468,33469,33470,33471,33472,33473,33474,33475,33476,33477,33478,33479,33480,33481,33482,33483,33484,33485,33486,33487,33488,33489,33490,33491,33492,33493,33494,33495,33496,33497,33498,33499,33500,33501,33502,33503,33504,33505,33506,33507,33508,33509,33510,33511,33512,33513,33514,33515,33516,33517,33518,33519,33520,33521,33522,33523,33524,33525,33526,33527,33528,33529,33530,33531,33532,33533,33534,33535,33536,33537,33538,33539,33540,33541,33542,33543,33544,33545,33546,33547,33548,33549,33550,33551,33552,33553,33554,33555,33556,33557,33558,33559,33560,33561,33562,33563,33564,33565,33566,33567,33568,33569,33570,33571,33572,33573,33574,33575,33576,33577,33578,33579,33580,33581,33582,33583,33584,33585,33586,33587,33588,33589,33590,33591,33592,33593,33594,33595,33596,33597,33598,33599,33600,33601,33602,33603,33604,33605,33606,33607,33608,33609,33610,33611,33612,33613,33614,33615,33616,33617,33618,33619,33620,33621,33622,33623,33624,33625,33626,33627,33628,33629,33630,33631,33632,33633,33634,33635,33636,33637,33638,33639,33640,33641,33642,33643,33644,33645,33646,33647,33648,33649,33650,33651,33652,33653,33654,33655,33656,33657,33658,33659,33660,33661,33662,33663,33664,33665,33666,33667,33668,33669,33670,33671,33672,33673,33674,33675,33676,33677,33678,33679,33680,33681,33682,33683,33684,33685,33686,33687,33688,33689,33690,33691,33692,33693,33694,33695,33696,33697,33698,33699,33700,33701,33702,33703,33704,33705,33706,33707,33708,33709,33710,33711,33712,33713,33714,33715,33716,33717,33718,33719,33720,33721,33722,33723,33724,33725,33726,33727,33728,33729,33730,33731,33732,33733,33734,33735,33736,33737,33738,33739,33740,33741,33742,33743,33744,33745,33746,33747,33748,33749,33750,33751,33752,33753,33754,33755,33756,33757,33758,33759,33760,33761,33762,33763,33764,33765,33766,33767,33768,33769,33770,33771,33772,33773,33774,33775,33776,33777,33778,33779,33780,33781,33782,33783,33784,33785,33786,33787,33788,33789,33790,33791,33792,33793,33794,33795,33796,33797,33798,33799,33800,33801,33802,33803,33804,33805,33806,33807,33808,33809,33810,33811,33812,33813,33814,33815,33816,33817,33818,33819,33820,33821,33822,33823,33824,33825,33826,33827,33828,33829,33830,33831,33832,33833,33834,33835,33836,33837,33838,33839,33840,33841,33842,33843,33844,33845,33846,33847,33848,33849,33850,33851,33852,33853,33854,33855,33856,33857,33858,33859,33860,33861,33862,33863,33864,33865,33866,33867,33868,33869,33870,33871,33872,33873,33874,33875,33876,33877,33878,33879,33880,33881,33882,33883,33884,33885,33886,33887,33888,33889,33890,33891,33892,33893,33894,33895,33896,33897,33898,33899,33900,33901,33902,33903,33904,33905,33906,33907,33908,33909,33910,33911,33912,33913,33914,33915,33916,33917,33918,33919,33920,33921,33922,33923,33924,33925,33926,33927,33928,33929,33930,33931,33932,33933,33934,33935,33936,33937,33938,33939,33940,33941,33942,33943,33944,33945,33946,33947,33948,33949,33950,33951,33952,33953,33954,33955,33956,33957,33958,33959,33960,33961,33962,33963,33964,33965,33966,33967,33968,33969,33970,33971,33972,33973,33974,33975,33976,33977,33978,33979,33980,33981,33982,33983,33984,33985,33986,33987,33988,33989,33990,33991,33992,33993,33994,33995,33996,33997,33998,33999,34000,34001,34002,34003,34004,34005,34006,34007,34008,34009,34010,34011,34012,34013,34014,34015,34016,34017,34018,34019,34020,34021,34022,34023,34024,34025,34026,34027,34028,34029,34030,34031,34032,34033,34034,34035,34036,34037,34038,34039,34040,34041,34042,34043,34044,34045,34046,34047,34048,34049,34050,34051,34052,34053,34054,34055,34056,34057,34058,34059,34060,34061,34062,34063,34064,34065,34066,34067,34068,34069,34070,34071,34072,34073,34074,34075,34076,34077,34078,34079,34080,34081,34082,34083,34084,34085,34086,34087,34088,34089,34090,34091,34092,34093,34094,34095,34096,34097,34098,34099,34100,34101,34102,34103,34104,34105,34106,34107,34108,34109,34110,34111,34112,34113,34114,34115,34116,34117,34118,34119,34120,34121,34122,34123,34124,34125,34126,34127,34128,34129,34130,34131,34132,34133,34134,34135,34136,34137,34138,34139,34140,34141,34142,34143,34144,34145,34146,34147,34148,34149,34150,34151,34152,34153,34154,34155,34156,34157,34158,34159,34160,34161,34162,34163,34164,34165,34166,34167,34168,34169,34170,34171,34172,34173,34174,34175,34176,34177,34178,34179,34180,34181,34182,34183,34184,34185,34186,34187,34188,34189,34190,34191,34192,34193,34194,34195,34196,34197,34198,34199,34200,34201,34202,34203,34204,34205,34206,34207,34208,34209,34210,34211,34212,34213,34214,34215,34216,34217,34218,34219,34220,34221,34222,34223,34224,34225,34226,34227,34228,34229,34230,34231,34232,34233,34234,34235,34236,34237,34238,34239,34240,34241,34242,34243,34244,34245,34246,34247,34248,34249,34250,34251,34252,34253,34254,34255,34256,34257,34258,34259,34260,34261,34262,34263,34264,34265,34266,34267,34268,34269,34270,34271,34272,34273,34274,34275,34276,34277,34278,34279,34280,34281,34282,34283,34284,34285,34286,34287,34288,34289,34290,34291,34292,34293,34294,34295,34296,34297,34298,34299,34300,34301,34302,34303,34304,34305,34306,34307,34308,34309,34310,34311,34312,34313,34314,34315,34316,34317,34318,34319,34320,34321,34322,34323,34324,34325,34326,34327,34328,34329,34330,34331,34332,34333,34334,34335,34336,34337,34338,34339,34340,34341,34342,34343,34344,34345,34346,34347,34348,34349,34350,34351,34352,34353,34354,34355,34356,34357,34358,34359,34360,34361,34362,34363,34364,34365,34366,34367,34368,34369,34370,34371,34372,34373,34374,34375,34376,34377,34378,34379,34380,34381,34382,34383,34384,34385,34386,34387,34388,34389,34390,34391,34392,34393,34394,34395,34396,34397,34398,34399,34400,34401,34402,34403,34404,34405,34406,34407,34408,34409,34410,34411,34412,34413,34414,34415,34416,34417,34418,34419,34420,34421,34422,34423,34424,34425,34426,34427,34428,34429,34430,34431,34432,34433,34434,34435,34436,34437,34438,34439,34440,34441,34442,34443,34444,34445,34446,34447,34448,34449,34450,34451,34452,34453,34454,34455,34456,34457,34458,34459,34460,34461,34462,34463,34464,34465,34466,34467,34468,34469,34470,34471,34472,34473,34474,34475,34476,34477,34478,34479,34480,34481,34482,34483,34484,34485,34486,34487,34488,34489,34490,34491,34492,34493,34494,34495,34496,34497,34498,34499,34500,34501,34502,34503,34504,34505,34506,34507,34508,34509,34510,34511,34512,34513,34514,34515,34516,34517,34518,34519,34520,34521,34522,34523,34524,34525,34526,34527,34528,34529,34530,34531,34532,34533,34534,34535,34536,34537,34538,34539,34540,34541,34542,34543,34544,34545,34546,34547,34548,34549,34550,34551,34552,34553,34554,34555,34556,34557,34558,34559,34560,34561,34562,34563,34564,34565,34566,34567,34568,34569,34570,34571,34572,34573,34574,34575,34576,34577,34578,34579,34580,34581,34582,34583,34584,34585,34586,34587,34588,34589,34590,34591,34592,34593,34594,34595,34596,34597,34598,34599,34600,34601,34602,34603,34604,34605,34606,34607,34608,34609,34610,34611,34612,34613,34614,34615,34616,34617,34618,34619,34620,34621,34622,34623,34624,34625,34626,34627,34628,34629,34630,34631,34632,34633,34634,34635,34636,34637,34638,34639,34640,34641,34642,34643,34644,34645,34646,34647,34648,34649,34650,34651,34652,34653,34654,34655,34656,34657,34658,34659,34660,34661,34662,34663,34664,34665,34666,34667,34668,34669,34670,34671,34672,34673,34674,34675,34676,34677,34678,34679,34680,34681,34682,34683,34684,34685,34686,34687,34688,34689,34690,34691,34692,34693,34694,34695,34696,34697,34698,34699,34700,34701,34702,34703,34704,34705,34706,34707,34708,34709,34710,34711,34712,34713,34714,34715,34716,34717,34718,34719,34720,34721,34722,34723,34724,34725,34726,34727,34728,34729,34730,34731,34732,34733,34734,34735,34736,34737,34738,34739,34740,34741,34742,34743,34744,34745,34746,34747,34748,34749,34750,34751,34752,34753,34754,34755,34756,34757,34758,34759,34760,34761,34762,34763,34764,34765,34766,34767,34768,34769,34770,34771,34772,34773,34774,34775,34776,34777,34778,34779,34780,34781,34782,34783,34784,34785,34786,34787,34788,34789,34790,34791,34792,34793,34794,34795,34796,34797,34798,34799,34800,34801,34802,34803,34804,34805,34806,34807,34808,34809,34810,34811,34812,34813,34814,34815,34816,34817,34818,34819,34820,34821,34822,34823,34824,34825,34826,34827,34828,34829,34830,34831,34832,34833,34834,34835,34836,34837,34838,34839,34840,34841,34842,34843,34844,34845,34846,34847,34848,34849,34850,34851,34852,34853,34854,34855,34856,34857,34858,34859,34860,34861,34862,34863,34864,34865,34866,34867,34868,34869,34870,34871,34872,34873,34874,34875,34876,34877,34878,34879,34880,34881,34882,34883,34884,34885,34886,34887,34888,34889,34890,34891,34892,34893,34894,34895,34896,34897,34898,34899,34900,34901,34902,34903,34904,34905,34906,34907,34908,34909,34910,34911,34912,34913,34914,34915,34916,34917,34918,34919,34920,34921,34922,34923,34924,34925,34926,34927,34928,34929,34930,34931,34932,34933,34934,34935,34936,34937,34938,34939,34940,34941,34942,34943,34944,34945,34946,34947,34948,34949,34950,34951,34952,34953,34954,34955,34956,34957,34958,34959,34960,34961,34962,34963,34964,34965,34966,34967,34968,34969,34970,34971,34972,34973,34974,34975,34976,34977,34978,34979,34980,34981,34982,34983,34984,34985,34986,34987,34988,34989,34990,34991,34992,34993,34994,34995,34996,34997,34998,34999,35000,35001,35002,35003,35004,35005,35006,35007,35008,35009,35010,35011,35012,35013,35014,35015,35016,35017,35018,35019,35020,35021,35022,35023,35024,35025,35026,35027,35028,35029,35030,35031,35032,35033,35034,35035,35036,35037,35038,35039,35040,35041,35042,35043,35044,35045,35046,35047,35048,35049,35050,35051,35052,35053,35054,35055,35056,35057,35058,35059,35060,35061,35062,35063,35064,35065,35066,35067,35068,35069,35070,35071,35072,35073,35074,35075,35076,35077,35078,35079,35080,35081,35082,35083,35084,35085,35086,35087,35088,35089,35090,35091,35092,35093,35094,35095,35096,35097,35098,35099,35100,35101,35102,35103,35104,35105,35106,35107,35108,35109,35110,35111,35112,35113,35114,35115,35116,35117,35118,35119,35120,35121,35122,35123,35124,35125,35126,35127,35128,35129,35130,35131,35132,35133,35134,35135,35136,35137,35138,35139,35140,35141,35142,35143,35144,35145,35146,35147,35148,35149,35150,35151,35152,35153,35154,35155,35156,35157,35158,35159,35160,35161,35162,35163,35164,35165,35166,35167,35168,35169,35170,35171,35172,35173,35174,35175,35176,35177,35178,35179,35180,35181,35182,35183,35184,35185,35186,35187,35188,35189,35190,35191,35192,35193,35194,35195,35196,35197,35198,35199,35200,35201,35202,35203,35204,35205,35206,35207,35208,35209,35210,35211,35212,35213,35214,35215,35216,35217,35218,35219,35220,35221,35222,35223,35224,35225,35226,35227,35228,35229,35230,35231,35232,35233,35234,35235,35236,35237,35238,35239,35240,35241,35242,35243,35244,35245,35246,35247,35248,35249,35250,35251,35252,35253,35254,35255,35256,35257,35258,35259,35260,35261,35262,35263,35264,35265,35266,35267,35268,35269,35270,35271,35272,35273,35274,35275,35276,35277,35278,35279,35280,35281,35282,35283,35284,35285,35286,35287,35288,35289,35290,35291,35292,35293,35294,35295,35296,35297,35298,35299,35300,35301,35302,35303,35304,35305,35306,35307,35308,35309,35310,35311,35312,35313,35314,35315,35316,35317,35318,35319,35320,35321,35322,35323,35324,35325,35326,35327,35328,35329,35330,35331,35332,35333,35334,35335,35336,35337,35338,35339,35340,35341,35342,35343,35344,35345,35346,35347,35348,35349,35350,35351,35352,35353,35354,35355,35356,35357,35358,35359,35360,35361,35362,35363,35364,35365,35366,35367,35368,35369,35370,35371,35372,35373,35374,35375,35376,35377,35378,35379,35380,35381,35382,35383,35384,35385,35386,35387,35388,35389,35390,35391,35392,35393,35394,35395,35396,35397,35398,35399,35400,35401,35402,35403,35404,35405,35406,35407,35408,35409,35410,35411,35412,35413,35414,35415,35416,35417,35418,35419,35420,35421,35422,35423,35424,35425,35426,35427,35428,35429,35430,35431,35432,35433,35434,35435,35436,35437,35438,35439,35440,35441,35442,35443,35444,35445,35446,35447,35448,35449,35450,35451,35452,35453,35454,35455,35456,35457,35458,35459,35460,35461,35462,35463,35464,35465,35466,35467,35468,35469,35470,35471,35472,35473,35474,35475,35476,35477,35478,35479,35480,35481,35482,35483,35484,35485,35486,35487,35488,35489,35490,35491,35492,35493,35494,35495,35496,35497,35498,35499,35500,35501,35502,35503,35504,35505,35506,35507,35508,35509,35510,35511,35512,35513,35514,35515,35516,35517,35518,35519,35520,35521,35522,35523,35524,35525,35526,35527,35528,35529,35530,35531,35532,35533,35534,35535,35536,35537,35538,35539,35540,35541,35542,35543,35544,35545,35546,35547,35548,35549,35550,35551,35552,35553,35554,35555,35556,35557,35558,35559,35560,35561,35562,35563,35564,35565,35566,35567,35568,35569,35570,35571,35572,35573,35574,35575,35576,35577,35578,35579,35580,35581,35582,35583,35584,35585,35586,35587,35588,35589,35590,35591,35592,35593,35594,35595,35596,35597,35598,35599,35600,35601,35602,35603,35604,35605,35606,35607,35608,35609,35610,35611,35612,35613,35614,35615,35616,35617,35618,35619,35620,35621,35622,35623,35624,35625,35626,35627,35628,35629,35630,35631,35632,35633,35634,35635,35636,35637,35638,35639,35640,35641,35642,35643,35644,35645,35646,35647,35648,35649,35650,35651,35652,35653,35654,35655,35656,35657,35658,35659,35660,35661,35662,35663,35664,35665,35666,35667,35668,35669,35670,35671,35672,35673,35674,35675,35676,35677,35678,35679,35680,35681,35682,35683,35684,35685,35686,35687,35688,35689,35690,35691,35692,35693,35694,35695,35696,35697,35698,35699,35700,35701,35702,35703,35704,35705,35706,35707,35708,35709,35710,35711,35712,35713,35714,35715,35716,35717,35718,35719,35720,35721,35722,35723,35724,35725,35726,35727,35728,35729,35730,35731,35732,35733,35734,35735,35736,35737,35738,35739,35740,35741,35742,35743,35744,35745,35746,35747,35748,35749,35750,35751,35752,35753,35754,35755,35756,35757,35758,35759,35760,35761,35762,35763,35764,35765,35766,35767,35768,35769,35770,35771,35772,35773,35774,35775,35776,35777,35778,35779,35780,35781,35782,35783,35784,35785,35786,35787,35788,35789,35790,35791,35792,35793,35794,35795,35796,35797,35798,35799,35800,35801,35802,35803,35804,35805,35806,35807,35808,35809,35810,35811,35812,35813,35814,35815,35816,35817,35818,35819,35820,35821,35822,35823,35824,35825,35826,35827,35828,35829,35830,35831,35832,35833,35834,35835,35836,35837,35838,35839,35840,35841,35842,35843,35844,35845,35846,35847,35848,35849,35850,35851,35852,35853,35854,35855,35856,35857,35858,35859,35860,35861,35862,35863,35864,35865,35866,35867,35868,35869,35870,35871,35872,35873,35874,35875,35876,35877,35878,35879,35880,35881,35882,35883,35884,35885,35886,35887,35888,35889,35890,35891,35892,35893,35894,35895,35896,35897,35898,35899,35900,35901,35902,35903,35904,35905,35906,35907,35908,35909,35910,35911,35912,35913,35914,35915,35916,35917,35918,35919,35920,35921,35922,35923,35924,35925,35926,35927,35928,35929,35930,35931,35932,35933,35934,35935,35936,35937,35938,35939,35940,35941,35942,35943,35944,35945,35946,35947,35948,35949,35950,35951,35952,35953,35954,35955,35956,35957,35958,35959,35960,35961,35962,35963,35964,35965,35966,35967,35968,35969,35970,35971,35972,35973,35974,35975,35976,35977,35978,35979,35980,35981,35982,35983,35984,35985,35986,35987,35988,35989,35990,35991,35992,35993,35994,35995,35996,35997,35998,35999,36000,36001,36002,36003,36004,36005,36006,36007,36008,36009,36010,36011,36012,36013,36014,36015,36016,36017,36018,36019,36020,36021,36022,36023,36024,36025,36026,36027,36028,36029,36030,36031,36032,36033,36034,36035,36036,36037,36038,36039,36040,36041,36042,36043,36044,36045,36046,36047,36048,36049,36050,36051,36052,36053,36054,36055,36056,36057,36058,36059,36060,36061,36062,36063,36064,36065,36066,36067,36068,36069,36070,36071,36072,36073,36074,36075,36076,36077,36078,36079,36080,36081,36082,36083,36084,36085,36086,36087,36088,36089,36090,36091,36092,36093,36094,36095,36096,36097,36098,36099,36100,36101,36102,36103,36104,36105,36106,36107,36108,36109,36110,36111,36112,36113,36114,36115,36116,36117,36118,36119,36120,36121,36122,36123,36124,36125,36126,36127,36128,36129,36130,36131,36132,36133,36134,36135,36136,36137,36138,36139,36140,36141,36142,36143,36144,36145,36146,36147,36148,36149,36150,36151,36152,36153,36154,36155,36156,36157,36158,36159,36160,36161,36162,36163,36164,36165,36166,36167,36168,36169,36170,36171,36172,36173,36174,36175,36176,36177,36178,36179,36180,36181,36182,36183,36184,36185,36186,36187,36188,36189,36190,36191,36192,36193,36194,36195,36196,36197,36198,36199,36200,36201,36202,36203,36204,36205,36206,36207,36208,36209,36210,36211,36212,36213,36214,36215,36216,36217,36218,36219,36220,36221,36222,36223,36224,36225,36226,36227,36228,36229,36230,36231,36232,36233,36234,36235,36236,36237,36238,36239,36240,36241,36242,36243,36244,36245,36246,36247,36248,36249,36250,36251,36252,36253,36254,36255,36256,36257,36258,36259,36260,36261,36262,36263,36264,36265,36266,36267,36268,36269,36270,36271,36272,36273,36274,36275,36276,36277,36278,36279,36280,36281,36282,36283,36284,36285,36286,36287,36288,36289,36290,36291,36292,36293,36294,36295,36296,36297,36298,36299,36300,36301,36302,36303,36304,36305,36306,36307,36308,36309,36310,36311,36312,36313,36314,36315,36316,36317,36318,36319,36320,36321,36322,36323,36324,36325,36326,36327,36328,36329,36330,36331,36332,36333,36334,36335,36336,36337,36338,36339,36340,36341,36342,36343,36344,36345,36346,36347,36348,36349,36350,36351,36352,36353,36354,36355,36356,36357,36358,36359,36360,36361,36362,36363,36364,36365,36366,36367,36368,36369,36370,36371,36372,36373,36374,36375,36376,36377,36378,36379,36380,36381,36382,36383,36384,36385,36386,36387,36388,36389,36390,36391,36392,36393,36394,36395,36396,36397,36398,36399,36400,36401,36402,36403,36404,36405,36406,36407,36408,36409,36410,36411,36412,36413,36414,36415,36416,36417,36418,36419,36420,36421,36422,36423,36424,36425,36426,36427,36428,36429,36430,36431,36432,36433,36434,36435,36436,36437,36438,36439,36440,36441,36442,36443,36444,36445,36446,36447,36448,36449,36450,36451,36452,36453,36454,36455,36456,36457,36458,36459,36460,36461,36462,36463,36464,36465,36466,36467,36468,36469,36470,36471,36472,36473,36474,36475,36476,36477,36478,36479,36480,36481,36482,36483,36484,36485,36486,36487,36488,36489,36490,36491,36492,36493,36494,36495,36496,36497,36498,36499,36500,36501,36502,36503,36504,36505,36506,36507,36508,36509,36510,36511,36512,36513,36514,36515,36516,36517,36518,36519,36520,36521,36522,36523,36524,36525,36526,36527,36528,36529,36530,36531,36532,36533,36534,36535,36536,36537,36538,36539,36540,36541,36542,36543,36544,36545,36546,36547,36548,36549,36550,36551,36552,36553,36554,36555,36556,36557,36558,36559,36560,36561,36562,36563,36564,36565,36566,36567,36568,36569,36570,36571,36572,36573,36574,36575,36576,36577,36578,36579,36580,36581,36582,36583,36584,36585,36586,36587,36588,36589,36590,36591,36592,36593,36594,36595,36596,36597,36598,36599,36600,36601,36602,36603,36604,36605,36606,36607,36608,36609,36610,36611,36612,36613,36614,36615,36616,36617,36618,36619,36620,36621,36622,36623,36624,36625,36626,36627,36628,36629,36630,36631,36632,36633,36634,36635,36636,36637,36638,36639,36640,36641,36642,36643,36644,36645,36646,36647,36648,36649,36650,36651,36652,36653,36654,36655,36656,36657,36658,36659,36660,36661,36662,36663,36664,36665,36666,36667,36668,36669,36670,36671,36672,36673,36674,36675,36676,36677,36678,36679,36680,36681,36682,36683,36684,36685,36686,36687,36688,36689,36690,36691,36692,36693,36694,36695,36696,36697,36698,36699,36700,36701,36702,36703,36704,36705,36706,36707,36708,36709,36710,36711,36712,36713,36714,36715,36716,36717,36718,36719,36720,36721,36722,36723,36724,36725,36726,36727,36728,36729,36730,36731,36732,36733,36734,36735,36736,36737,36738,36739,36740,36741,36742,36743,36744,36745,36746,36747,36748,36749,36750,36751,36752,36753,36754,36755,36756,36757,36758,36759,36760,36761,36762,36763,36764,36765,36766,36767,36768,36769,36770,36771,36772,36773,36774,36775,36776,36777,36778,36779,36780,36781,36782,36783,36784,36785,36786,36787,36788,36789,36790,36791,36792,36793,36794,36795,36796,36797,36798,36799,36800,36801,36802,36803,36804,36805,36806,36807,36808,36809,36810,36811,36812,36813,36814,36815,36816,36817,36818,36819,36820,36821,36822,36823,36824,36825,36826,36827,36828,36829,36830,36831,36832,36833,36834,36835,36836,36837,36838,36839,36840,36841,36842,36843,36844,36845,36846,36847,36848,36849,36850,36851,36852,36853,36854,36855,36856,36857,36858,36859,36860,36861,36862,36863,36864,36865,36866,36867,36868,36869,36870,36871,36872,36873,36874,36875,36876,36877,36878,36879,36880,36881,36882,36883,36884,36885,36886,36887,36888,36889,36890,36891,36892,36893,36894,36895,36896,36897,36898,36899,36900,36901,36902,36903,36904,36905,36906,36907,36908,36909,36910,36911,36912,36913,36914,36915,36916,36917,36918,36919,36920,36921,36922,36923,36924,36925,36926,36927,36928,36929,36930,36931,36932,36933,36934,36935,36936,36937,36938,36939,36940,36941,36942,36943,36944,36945,36946,36947,36948,36949,36950,36951,36952,36953,36954,36955,36956,36957,36958,36959,36960,36961,36962,36963,36964,36965,36966,36967,36968,36969,36970,36971,36972,36973,36974,36975,36976,36977,36978,36979,36980,36981,36982,36983,36984,36985,36986,36987,36988,36989,36990,36991,36992,36993,36994,36995,36996,36997,36998,36999,37000,37001,37002,37003,37004,37005,37006,37007,37008,37009,37010,37011,37012,37013,37014,37015,37016,37017,37018,37019,37020,37021,37022,37023,37024,37025,37026,37027,37028,37029,37030,37031,37032,37033,37034,37035,37036,37037,37038,37039,37040,37041,37042,37043,37044,37045,37046,37047,37048,37049,37050,37051,37052,37053,37054,37055,37056,37057,37058,37059,37060,37061,37062,37063,37064,37065,37066,37067,37068,37069,37070,37071,37072,37073,37074,37075,37076,37077,37078,37079,37080,37081,37082,37083,37084,37085,37086,37087,37088,37089,37090,37091,37092,37093,37094,37095,37096,37097,37098,37099,37100,37101,37102,37103,37104,37105,37106,37107,37108,37109,37110,37111,37112,37113,37114,37115,37116,37117,37118,37119,37120,37121,37122,37123,37124,37125,37126,37127,37128,37129,37130,37131,37132,37133,37134,37135,37136,37137,37138,37139,37140,37141,37142,37143,37144,37145,37146,37147,37148,37149,37150,37151,37152,37153,37154,37155,37156,37157,37158,37159,37160,37161,37162,37163,37164,37165,37166,37167,37168,37169,37170,37171,37172,37173,37174,37175,37176,37177,37178,37179,37180,37181,37182,37183,37184,37185,37186,37187,37188,37189,37190,37191,37192,37193,37194,37195,37196,37197,37198,37199,37200,37201,37202,37203,37204,37205,37206,37207,37208,37209,37210,37211,37212,37213,37214,37215,37216,37217,37218,37219,37220,37221,37222,37223,37224,37225,37226,37227,37228,37229,37230,37231,37232,37233,37234,37235,37236,37237,37238,37239,37240,37241,37242,37243,37244,37245,37246,37247,37248,37249,37250,37251,37252,37253,37254,37255,37256,37257,37258,37259,37260,37261,37262,37263,37264,37265,37266,37267,37268,37269,37270,37271,37272,37273,37274,37275,37276,37277,37278,37279,37280,37281,37282,37283,37284,37285,37286,37287,37288,37289,37290,37291,37292,37293,37294,37295,37296,37297,37298,37299,37300,37301,37302,37303,37304,37305,37306,37307,37308,37309,37310,37311,37312,37313,37314,37315,37316,37317,37318,37319,37320,37321,37322,37323,37324,37325,37326,37327,37328,37329,37330,37331,37332,37333,37334,37335,37336,37337,37338,37339,37340,37341,37342,37343,37344,37345,37346,37347,37348,37349,37350,37351,37352,37353,37354,37355,37356,37357,37358,37359,37360,37361,37362,37363,37364,37365,37366,37367,37368,37369,37370,37371,37372,37373,37374,37375,37376,37377,37378,37379,37380,37381,37382,37383,37384,37385,37386,37387,37388,37389,37390,37391,37392,37393,37394,37395,37396,37397,37398,37399,37400,37401,37402,37403,37404,37405,37406,37407,37408,37409,37410,37411,37412,37413,37414,37415,37416,37417,37418,37419,37420,37421,37422,37423,37424,37425,37426,37427,37428,37429,37430,37431,37432,37433,37434,37435,37436,37437,37438,37439,37440,37441,37442,37443,37444,37445,37446,37447,37448,37449,37450,37451,37452,37453,37454,37455,37456,37457,37458,37459,37460,37461,37462,37463,37464,37465,37466,37467,37468,37469,37470,37471,37472,37473,37474,37475,37476,37477,37478,37479,37480,37481,37482,37483,37484,37485,37486,37487,37488,37489,37490,37491,37492,37493,37494,37495,37496,37497,37498,37499,37500,37501,37502,37503,37504,37505,37506,37507,37508,37509,37510,37511,37512,37513,37514,37515,37516,37517,37518,37519,37520,37521,37522,37523,37524,37525,37526,37527,37528,37529,37530,37531,37532,37533,37534,37535,37536,37537,37538,37539,37540,37541,37542,37543,37544,37545,37546,37547,37548,37549,37550,37551,37552,37553,37554,37555,37556,37557,37558,37559,37560,37561,37562,37563,37564,37565,37566,37567,37568,37569,37570,37571,37572,37573,37574,37575,37576,37577,37578,37579,37580,37581,37582,37583,37584,37585,37586,37587,37588,37589,37590,37591,37592,37593,37594,37595,37596,37597,37598,37599,37600,37601,37602,37603,37604,37605,37606,37607,37608,37609,37610,37611,37612,37613,37614,37615,37616,37617,37618,37619,37620,37621,37622,37623,37624,37625,37626,37627,37628,37629,37630,37631,37632,37633,37634,37635,37636,37637,37638,37639,37640,37641,37642,37643,37644,37645,37646,37647,37648,37649,37650,37651,37652,37653,37654,37655,37656,37657,37658,37659,37660,37661,37662,37663,37664,37665,37666,37667,37668,37669,37670,37671,37672,37673,37674,37675,37676,37677,37678,37679,37680,37681,37682,37683,37684,37685,37686,37687,37688,37689,37690,37691,37692,37693,37694,37695,37696,37697,37698,37699,37700,37701,37702,37703,37704,37705,37706,37707,37708,37709,37710,37711,37712,37713,37714,37715,37716,37717,37718,37719,37720,37721,37722,37723,37724,37725,37726,37727,37728,37729,37730,37731,37732,37733,37734,37735,37736,37737,37738,37739,37740,37741,37742,37743,37744,37745,37746,37747,37748,37749,37750,37751,37752,37753,37754,37755,37756,37757,37758,37759,37760,37761,37762,37763,37764,37765,37766,37767,37768,37769,37770,37771,37772,37773,37774,37775,37776,37777,37778,37779,37780,37781,37782,37783,37784,37785,37786,37787,37788,37789,37790,37791,37792,37793,37794,37795,37796,37797,37798,37799,37800,37801,37802,37803,37804,37805,37806,37807,37808,37809,37810,37811,37812,37813,37814,37815,37816,37817,37818,37819,37820,37821,37822,37823,37824,37825,37826,37827,37828,37829,37830,37831,37832,37833,37834,37835,37836,37837,37838,37839,37840,37841,37842,37843,37844,37845,37846,37847,37848,37849,37850,37851,37852,37853,37854,37855,37856,37857,37858,37859,37860,37861,37862,37863,37864,37865,37866,37867,37868,37869,37870,37871,37872,37873,37874,37875,37876,37877,37878,37879,37880,37881,37882,37883,37884,37885,37886,37887,37888,37889,37890,37891,37892,37893,37894,37895,37896,37897,37898,37899,37900,37901,37902,37903,37904,37905,37906,37907,37908,37909,37910,37911,37912,37913,37914,37915,37916,37917,37918,37919,37920,37921,37922,37923,37924,37925,37926,37927,37928,37929,37930,37931,37932,37933,37934,37935,37936,37937,37938,37939,37940,37941,37942,37943,37944,37945,37946,37947,37948,37949,37950,37951,37952,37953,37954,37955,37956,37957,37958,37959,37960,37961,37962,37963,37964,37965,37966,37967,37968,37969,37970,37971,37972,37973,37974,37975,37976,37977,37978,37979,37980,37981,37982,37983,37984,37985,37986,37987,37988,37989,37990,37991,37992,37993,37994,37995,37996,37997,37998,37999,38000,38001,38002,38003,38004,38005,38006,38007,38008,38009,38010,38011,38012,38013,38014,38015,38016,38017,38018,38019,38020,38021,38022,38023,38024,38025,38026,38027,38028,38029,38030,38031,38032,38033,38034,38035,38036,38037,38038,38039,38040,38041,38042,38043,38044,38045,38046,38047,38048,38049,38050,38051,38052,38053,38054,38055,38056,38057,38058,38059,38060,38061,38062,38063,38064,38065,38066,38067,38068,38069,38070,38071,38072,38073,38074,38075,38076,38077,38078,38079,38080,38081,38082,38083,38084,38085,38086,38087,38088,38089,38090,38091,38092,38093,38094,38095,38096,38097,38098,38099,38100,38101,38102,38103,38104,38105,38106,38107,38108,38109,38110,38111,38112,38113,38114,38115,38116,38117,38118,38119,38120,38121,38122,38123,38124,38125,38126,38127,38128,38129,38130,38131,38132,38133,38134,38135,38136,38137,38138,38139,38140,38141,38142,38143,38144,38145,38146,38147,38148,38149,38150,38151,38152,38153,38154,38155,38156,38157,38158,38159,38160,38161,38162,38163,38164,38165,38166,38167,38168,38169,38170,38171,38172,38173,38174,38175,38176,38177,38178,38179,38180,38181,38182,38183,38184,38185,38186,38187,38188,38189,38190,38191,38192,38193,38194,38195,38196,38197,38198,38199,38200,38201,38202,38203,38204,38205,38206,38207,38208,38209,38210,38211,38212,38213,38214,38215,38216,38217,38218,38219,38220,38221,38222,38223,38224,38225,38226,38227,38228,38229,38230,38231,38232,38233,38234,38235,38236,38237,38238,38239,38240,38241,38242,38243,38244,38245,38246,38247,38248,38249,38250,38251,38252,38253,38254,38255,38256,38257,38258,38259,38260,38261,38262,38263,38264,38265,38266,38267,38268,38269,38270,38271,38272,38273,38274,38275,38276,38277,38278,38279,38280,38281,38282,38283,38284,38285,38286,38287,38288,38289,38290,38291,38292,38293,38294,38295,38296,38297,38298,38299,38300,38301,38302,38303,38304,38305,38306,38307,38308,38309,38310,38311,38312,38313,38314,38315,38316,38317,38318,38319,38320,38321,38322,38323,38324,38325,38326,38327,38328,38329,38330,38331,38332,38333,38334,38335,38336,38337,38338,38339,38340,38341,38342,38343,38344,38345,38346,38347,38348,38349,38350,38351,38352,38353,38354,38355,38356,38357,38358,38359,38360,38361,38362,38363,38364,38365,38366,38367,38368,38369,38370,38371,38372,38373,38374,38375,38376,38377,38378,38379,38380,38381,38382,38383,38384,38385,38386,38387,38388,38389,38390,38391,38392,38393,38394,38395,38396,38397,38398,38399,38400,38401,38402,38403,38404,38405,38406,38407,38408,38409,38410,38411,38412,38413,38414,38415,38416,38417,38418,38419,38420,38421,38422,38423,38424,38425,38426,38427,38428,38429,38430,38431,38432,38433,38434,38435,38436,38437,38438,38439,38440,38441,38442,38443,38444,38445,38446,38447,38448,38449,38450,38451,38452,38453,38454,38455,38456,38457,38458,38459,38460,38461,38462,38463,38464,38465,38466,38467,38468,38469,38470,38471,38472,38473,38474,38475,38476,38477,38478,38479,38480,38481,38482,38483,38484,38485,38486,38487,38488,38489,38490,38491,38492,38493,38494,38495,38496,38497,38498,38499,38500,38501,38502,38503,38504,38505,38506,38507,38508,38509,38510,38511,38512,38513,38514,38515,38516,38517,38518,38519,38520,38521,38522,38523,38524,38525,38526,38527,38528,38529,38530,38531,38532,38533,38534,38535,38536,38537,38538,38539,38540,38541,38542,38543,38544,38545,38546,38547,38548,38549,38550,38551,38552,38553,38554,38555,38556,38557,38558,38559,38560,38561,38562,38563,38564,38565,38566,38567,38568,38569,38570,38571,38572,38573,38574,38575,38576,38577,38578,38579,38580,38581,38582,38583,38584,38585,38586,38587,38588,38589,38590,38591,38592,38593,38594,38595,38596,38597,38598,38599,38600,38601,38602,38603,38604,38605,38606,38607,38608,38609,38610,38611,38612,38613,38614,38615,38616,38617,38618,38619,38620,38621,38622,38623,38624,38625,38626,38627,38628,38629,38630,38631,38632,38633,38634,38635,38636,38637,38638,38639,38640,38641,38642,38643,38644,38645,38646,38647,38648,38649,38650,38651,38652,38653,38654,38655,38656,38657,38658,38659,38660,38661,38662,38663,38664,38665,38666,38667,38668,38669,38670,38671,38672,38673,38674,38675,38676,38677,38678,38679,38680,38681,38682,38683,38684,38685,38686,38687,38688,38689,38690,38691,38692,38693,38694,38695,38696,38697,38698,38699,38700,38701,38702,38703,38704,38705,38706,38707,38708,38709,38710,38711,38712,38713,38714,38715,38716,38717,38718,38719,38720,38721,38722,38723,38724,38725,38726,38727,38728,38729,38730,38731,38732,38733,38734,38735,38736,38737,38738,38739,38740,38741,38742,38743,38744,38745,38746,38747,38748,38749,38750,38751,38752,38753,38754,38755,38756,38757,38758,38759,38760,38761,38762,38763,38764,38765,38766,38767,38768,38769,38770,38771,38772,38773,38774,38775,38776,38777,38778,38779,38780,38781,38782,38783,38784,38785,38786,38787,38788,38789,38790,38791,38792,38793,38794,38795,38796,38797,38798,38799,38800,38801,38802,38803,38804,38805,38806,38807,38808,38809,38810,38811,38812,38813,38814,38815,38816,38817,38818,38819,38820,38821,38822,38823,38824,38825,38826,38827,38828,38829,38830,38831,38832,38833,38834,38835,38836,38837,38838,38839,38840,38841,38842,38843,38844,38845,38846,38847,38848,38849,38850,38851,38852,38853,38854,38855,38856,38857,38858,38859,38860,38861,38862,38863,38864,38865,38866,38867,38868,38869,38870,38871,38872,38873,38874,38875,38876,38877,38878,38879,38880,38881,38882,38883,38884,38885,38886,38887,38888,38889,38890,38891,38892,38893,38894,38895,38896,38897,38898,38899,38900,38901,38902,38903,38904,38905,38906,38907,38908,38909,38910,38911,38912,38913,38914,38915,38916,38917,38918,38919,38920,38921,38922,38923,38924,38925,38926,38927,38928,38929,38930,38931,38932,38933,38934,38935,38936,38937,38938,38939,38940,38941,38942,38943,38944,38945,38946,38947,38948,38949,38950,38951,38952,38953,38954,38955,38956,38957,38958,38959,38960,38961,38962,38963,38964,38965,38966,38967,38968,38969,38970,38971,38972,38973,38974,38975,38976,38977,38978,38979,38980,38981,38982,38983,38984,38985,38986,38987,38988,38989,38990,38991,38992,38993,38994,38995,38996,38997,38998,38999,39000,39001,39002,39003,39004,39005,39006,39007,39008,39009,39010,39011,39012,39013,39014,39015,39016,39017,39018,39019,39020,39021,39022,39023,39024,39025,39026,39027,39028,39029,39030,39031,39032,39033,39034,39035,39036,39037,39038,39039,39040,39041,39042,39043,39044,39045,39046,39047,39048,39049,39050,39051,39052,39053,39054,39055,39056,39057,39058,39059,39060,39061,39062,39063,39064,39065,39066,39067,39068,39069,39070,39071,39072,39073,39074,39075,39076,39077,39078,39079,39080,39081,39082,39083,39084,39085,39086,39087,39088,39089,39090,39091,39092,39093,39094,39095,39096,39097,39098,39099,39100,39101,39102,39103,39104,39105,39106,39107,39108,39109,39110,39111,39112,39113,39114,39115,39116,39117,39118,39119,39120,39121,39122,39123,39124,39125,39126,39127,39128,39129,39130,39131,39132,39133,39134,39135,39136,39137,39138,39139,39140,39141,39142,39143,39144,39145,39146,39147,39148,39149,39150,39151,39152,39153,39154,39155,39156,39157,39158,39159,39160,39161,39162,39163,39164,39165,39166,39167,39168,39169,39170,39171,39172,39173,39174,39175,39176,39177,39178,39179,39180,39181,39182,39183,39184,39185,39186,39187,39188,39189,39190,39191,39192,39193,39194,39195,39196,39197,39198,39199,39200,39201,39202,39203,39204,39205,39206,39207,39208,39209,39210,39211,39212,39213,39214,39215,39216,39217,39218,39219,39220,39221,39222,39223,39224,39225,39226,39227,39228,39229,39230,39231,39232,39233,39234,39235,39236,39237,39238,39239,39240,39241,39242,39243,39244,39245,39246,39247,39248,39249,39250,39251,39252,39253,39254,39255,39256,39257,39258,39259,39260,39261,39262,39263,39264,39265,39266,39267,39268,39269,39270,39271,39272,39273,39274,39275,39276,39277,39278,39279,39280,39281,39282,39283,39284,39285,39286,39287,39288,39289,39290,39291,39292,39293,39294,39295,39296,39297,39298,39299,39300,39301,39302,39303,39304,39305,39306,39307,39308,39309,39310,39311,39312,39313,39314,39315,39316,39317,39318,39319,39320,39321,39322,39323,39324,39325,39326,39327,39328,39329,39330,39331,39332,39333,39334,39335,39336,39337,39338,39339,39340,39341,39342,39343,39344,39345,39346,39347,39348,39349,39350,39351,39352,39353,39354,39355,39356,39357,39358,39359,39360,39361,39362,39363,39364,39365,39366,39367,39368,39369,39370,39371,39372,39373,39374,39375,39376,39377,39378,39379,39380,39381,39382,39383,39384,39385,39386,39387,39388,39389,39390,39391,39392,39393,39394,39395,39396,39397,39398,39399,39400,39401,39402,39403,39404,39405,39406,39407,39408,39409,39410,39411,39412,39413,39414,39415,39416,39417,39418,39419,39420,39421,39422,39423,39424,39425,39426,39427,39428,39429,39430,39431,39432,39433,39434,39435,39436,39437,39438,39439,39440,39441,39442,39443,39444,39445,39446,39447,39448,39449,39450,39451,39452,39453,39454,39455,39456,39457,39458,39459,39460,39461,39462,39463,39464,39465,39466,39467,39468,39469,39470,39471,39472,39473,39474,39475,39476,39477,39478,39479,39480,39481,39482,39483,39484,39485,39486,39487,39488,39489,39490,39491,39492,39493,39494,39495,39496,39497,39498,39499,39500,39501,39502,39503,39504,39505,39506,39507,39508,39509,39510,39511,39512,39513,39514,39515,39516,39517,39518,39519,39520,39521,39522,39523,39524,39525,39526,39527,39528,39529,39530,39531,39532,39533,39534,39535,39536,39537,39538,39539,39540,39541,39542,39543,39544,39545,39546,39547,39548,39549,39550,39551,39552,39553,39554,39555,39556,39557,39558,39559,39560,39561,39562,39563,39564,39565,39566,39567,39568,39569,39570,39571,39572,39573,39574,39575,39576,39577,39578,39579,39580,39581,39582,39583,39584,39585,39586,39587,39588,39589,39590,39591,39592,39593,39594,39595,39596,39597,39598,39599,39600,39601,39602,39603,39604,39605,39606,39607,39608,39609,39610,39611,39612,39613,39614,39615,39616,39617,39618,39619,39620,39621,39622,39623,39624,39625,39626,39627,39628,39629,39630,39631,39632,39633,39634,39635,39636,39637,39638,39639,39640,39641,39642,39643,39644,39645,39646,39647,39648,39649,39650,39651,39652,39653,39654,39655,39656,39657,39658,39659,39660,39661,39662,39663,39664,39665,39666,39667,39668,39669,39670,39671,39672,39673,39674,39675,39676,39677,39678,39679,39680,39681,39682,39683,39684,39685,39686,39687,39688,39689,39690,39691,39692,39693,39694,39695,39696,39697,39698,39699,39700,39701,39702,39703,39704,39705,39706,39707,39708,39709,39710,39711,39712,39713,39714,39715,39716,39717,39718,39719,39720,39721,39722,39723,39724,39725,39726,39727,39728,39729,39730,39731,39732,39733,39734,39735,39736,39737,39738,39739,39740,39741,39742,39743,39744,39745,39746,39747,39748,39749,39750,39751,39752,39753,39754,39755,39756,39757,39758,39759,39760,39761,39762,39763,39764,39765,39766,39767,39768,39769,39770,39771,39772,39773,39774,39775,39776,39777,39778,39779,39780,39781,39782,39783,39784,39785,39786,39787,39788,39789,39790,39791,39792,39793,39794,39795,39796,39797,39798,39799,39800,39801,39802,39803,39804,39805,39806,39807,39808,39809,39810,39811,39812,39813,39814,39815,39816,39817,39818,39819,39820,39821,39822,39823,39824,39825,39826,39827,39828,39829,39830,39831,39832,39833,39834,39835,39836,39837,39838,39839,39840,39841,39842,39843,39844,39845,39846,39847,39848,39849,39850,39851,39852,39853,39854,39855,39856,39857,39858,39859,39860,39861,39862,39863,39864,39865,39866,39867,39868,39869,39870,39871,39872,39873,39874,39875,39876,39877,39878,39879,39880,39881,39882,39883,39884,39885,39886,39887,39888,39889,39890,39891,39892,39893,39894,39895,39896,39897,39898,39899,39900,39901,39902,39903,39904,39905,39906,39907,39908,39909,39910,39911,39912,39913,39914,39915,39916,39917,39918,39919,39920,39921,39922,39923,39924,39925,39926,39927,39928,39929,39930,39931,39932,39933,39934,39935,39936,39937,39938,39939,39940,39941,39942,39943,39944,39945,39946,39947,39948,39949,39950,39951,39952,39953,39954,39955,39956,39957,39958,39959,39960,39961,39962,39963,39964,39965,39966,39967,39968,39969,39970,39971,39972,39973,39974,39975,39976,39977,39978,39979,39980,39981,39982,39983,39984,39985,39986,39987,39988,39989,39990,39991,39992,39993,39994,39995,39996,39997,39998,39999,40000,40001,40002,40003,40004,40005,40006,40007,40008,40009,40010,40011,40012,40013,40014,40015,40016,40017,40018,40019,40020,40021,40022,40023,40024,40025,40026,40027,40028,40029,40030,40031,40032,40033,40034,40035,40036,40037,40038,40039,40040,40041,40042,40043,40044,40045,40046,40047,40048,40049,40050,40051,40052,40053,40054,40055,40056,40057,40058,40059,40060,40061,40062,40063,40064,40065,40066,40067,40068,40069,40070,40071,40072,40073,40074,40075,40076,40077,40078,40079,40080,40081,40082,40083,40084,40085,40086,40087,40088,40089,40090,40091,40092,40093,40094,40095,40096,40097,40098,40099,40100,40101,40102,40103,40104,40105,40106,40107,40108,40109,40110,40111,40112,40113,40114,40115,40116,40117,40118,40119,40120,40121,40122,40123,40124,40125,40126,40127,40128,40129,40130,40131,40132,40133,40134,40135,40136,40137,40138,40139,40140,40141,40142,40143,40144,40145,40146,40147,40148,40149,40150,40151,40152,40153,40154,40155,40156,40157,40158,40159,40160,40161,40162,40163,40164,40165,40166,40167,40168,40169,40170,40171,40172,40173,40174,40175,40176,40177,40178,40179,40180,40181,40182,40183,40184,40185,40186,40187,40188,40189,40190,40191,40192,40193,40194,40195,40196,40197,40198,40199,40200,40201,40202,40203,40204,40205,40206,40207,40208,40209,40210,40211,40212,40213,40214,40215,40216,40217,40218,40219,40220,40221,40222,40223,40224,40225,40226,40227,40228,40229,40230,40231,40232,40233,40234,40235,40236,40237,40238,40239,40240,40241,40242,40243,40244,40245,40246,40247,40248,40249,40250,40251,40252,40253,40254,40255,40256,40257,40258,40259,40260,40261,40262,40263,40264,40265,40266,40267,40268,40269,40270,40271,40272,40273,40274,40275,40276,40277,40278,40279,40280,40281,40282,40283,40284,40285,40286,40287,40288,40289,40290,40291,40292,40293,40294,40295,40296,40297,40298,40299,40300,40301,40302,40303,40304,40305,40306,40307,40308,40309,40310,40311,40312,40313,40314,40315,40316,40317,40318,40319,40320,40321,40322,40323,40324,40325,40326,40327,40328,40329,40330,40331,40332,40333,40334,40335,40336,40337,40338,40339,40340,40341,40342,40343,40344,40345,40346,40347,40348,40349,40350,40351,40352,40353,40354,40355,40356,40357,40358,40359,40360,40361,40362,40363,40364,40365,40366,40367,40368,40369,40370,40371,40372,40373,40374,40375,40376,40377,40378,40379,40380,40381,40382,40383,40384,40385,40386,40387,40388,40389,40390,40391,40392,40393,40394,40395,40396,40397,40398,40399,40400,40401,40402,40403,40404,40405,40406,40407,40408,40409,40410,40411,40412,40413,40414,40415,40416,40417,40418,40419,40420,40421,40422,40423,40424,40425,40426,40427,40428,40429,40430,40431,40432,40433,40434,40435,40436,40437,40438,40439,40440,40441,40442,40443,40444,40445,40446,40447,40448,40449,40450,40451,40452,40453,40454,40455,40456,40457,40458,40459,40460,40461,40462,40463,40464,40465,40466,40467,40468,40469,40470,40471,40472,40473,40474,40475,40476,40477,40478,40479,40480,40481,40482,40483,40484,40485,40486,40487,40488,40489,40490,40491,40492,40493,40494,40495,40496,40497,40498,40499,40500,40501,40502,40503,40504,40505,40506,40507,40508,40509,40510,40511,40512,40513,40514,40515,40516,40517,40518,40519,40520,40521,40522,40523,40524,40525,40526,40527,40528,40529,40530,40531,40532,40533,40534,40535,40536,40537,40538,40539,40540,40541,40542,40543,40544,40545,40546,40547,40548,40549,40550,40551,40552,40553,40554,40555,40556,40557,40558,40559,40560,40561,40562,40563,40564,40565,40566,40567,40568,40569,40570,40571,40572,40573,40574,40575,40576,40577,40578,40579,40580,40581,40582,40583,40584,40585,40586,40587,40588,40589,40590,40591,40592,40593,40594,40595,40596,40597,40598,40599,40600,40601,40602,40603,40604,40605,40606,40607,40608,40609,40610,40611,40612,40613,40614,40615,40616,40617,40618,40619,40620,40621,40622,40623,40624,40625,40626,40627,40628,40629,40630,40631,40632,40633,40634,40635,40636,40637,40638,40639,40640,40641,40642,40643,40644,40645,40646,40647,40648,40649,40650,40651,40652,40653,40654,40655,40656,40657,40658,40659,40660,40661,40662,40663,40664,40665,40666,40667,40668,40669,40670,40671,40672,40673,40674,40675,40676,40677,40678,40679,40680,40681,40682,40683,40684,40685,40686,40687,40688,40689,40690,40691,40692,40693,40694,40695,40696,40697,40698,40699,40700,40701,40702,40703,40704,40705,40706,40707,40708,40709,40710,40711,40712,40713,40714,40715,40716,40717,40718,40719,40720,40721,40722,40723,40724,40725,40726,40727,40728,40729,40730,40731,40732,40733,40734,40735,40736,40737,40738,40739,40740,40741,40742,40743,40744,40745,40746,40747,40748,40749,40750,40751,40752,40753,40754,40755,40756,40757,40758,40759,40760,40761,40762,40763,40764,40765,40766,40767,40768,40769,40770,40771,40772,40773,40774,40775,40776,40777,40778,40779,40780,40781,40782,40783,40784,40785,40786,40787,40788,40789,40790,40791,40792,40793,40794,40795,40796,40797,40798,40799,40800,40801,40802,40803,40804,40805,40806,40807,40808,40809,40810,40811,40812,40813,40814,40815,40816,40817,40818,40819,40820,40821,40822,40823,40824,40825,40826,40827,40828,40829,40830,40831,40832,40833,40834,40835,40836,40837,40838,40839,40840,40841,40842,40843,40844,40845,40846,40847,40848,40849,40850,40851,40852,40853,40854,40855,40856,40857,40858,40859,40860,40861,40862,40863,40864,40865,40866,40867,40868,40869,40870,40871,40872,40873,40874,40875,40876,40877,40878,40879,40880,40881,40882,40883,40884,40885,40886,40887,40888,40889,40890,40891,40892,40893,40894,40895,40896,40897,40898,40899,40900,40901,40902,40903,40904,40905,40906,40907,40908,40909,40910,40911,40912,40913,40914,40915,40916,40917,40918,40919,40920,40921,40922,40923,40924,40925,40926,40927,40928,40929,40930,40931,40932,40933,40934,40935,40936,40937,40938,40939,40940,40941,40942,40943,40960,40961,40962,40963,40964,40965,40966,40967,40968,40969,40970,40971,40972,40973,40974,40975,40976,40977,40978,40979,40980,40981,40982,40983,40984,40985,40986,40987,40988,40989,40990,40991,40992,40993,40994,40995,40996,40997,40998,40999,41000,41001,41002,41003,41004,41005,41006,41007,41008,41009,41010,41011,41012,41013,41014,41015,41016,41017,41018,41019,41020,41021,41022,41023,41024,41025,41026,41027,41028,41029,41030,41031,41032,41033,41034,41035,41036,41037,41038,41039,41040,41041,41042,41043,41044,41045,41046,41047,41048,41049,41050,41051,41052,41053,41054,41055,41056,41057,41058,41059,41060,41061,41062,41063,41064,41065,41066,41067,41068,41069,41070,41071,41072,41073,41074,41075,41076,41077,41078,41079,41080,41081,41082,41083,41084,41085,41086,41087,41088,41089,41090,41091,41092,41093,41094,41095,41096,41097,41098,41099,41100,41101,41102,41103,41104,41105,41106,41107,41108,41109,41110,41111,41112,41113,41114,41115,41116,41117,41118,41119,41120,41121,41122,41123,41124,41125,41126,41127,41128,41129,41130,41131,41132,41133,41134,41135,41136,41137,41138,41139,41140,41141,41142,41143,41144,41145,41146,41147,41148,41149,41150,41151,41152,41153,41154,41155,41156,41157,41158,41159,41160,41161,41162,41163,41164,41165,41166,41167,41168,41169,41170,41171,41172,41173,41174,41175,41176,41177,41178,41179,41180,41181,41182,41183,41184,41185,41186,41187,41188,41189,41190,41191,41192,41193,41194,41195,41196,41197,41198,41199,41200,41201,41202,41203,41204,41205,41206,41207,41208,41209,41210,41211,41212,41213,41214,41215,41216,41217,41218,41219,41220,41221,41222,41223,41224,41225,41226,41227,41228,41229,41230,41231,41232,41233,41234,41235,41236,41237,41238,41239,41240,41241,41242,41243,41244,41245,41246,41247,41248,41249,41250,41251,41252,41253,41254,41255,41256,41257,41258,41259,41260,41261,41262,41263,41264,41265,41266,41267,41268,41269,41270,41271,41272,41273,41274,41275,41276,41277,41278,41279,41280,41281,41282,41283,41284,41285,41286,41287,41288,41289,41290,41291,41292,41293,41294,41295,41296,41297,41298,41299,41300,41301,41302,41303,41304,41305,41306,41307,41308,41309,41310,41311,41312,41313,41314,41315,41316,41317,41318,41319,41320,41321,41322,41323,41324,41325,41326,41327,41328,41329,41330,41331,41332,41333,41334,41335,41336,41337,41338,41339,41340,41341,41342,41343,41344,41345,41346,41347,41348,41349,41350,41351,41352,41353,41354,41355,41356,41357,41358,41359,41360,41361,41362,41363,41364,41365,41366,41367,41368,41369,41370,41371,41372,41373,41374,41375,41376,41377,41378,41379,41380,41381,41382,41383,41384,41385,41386,41387,41388,41389,41390,41391,41392,41393,41394,41395,41396,41397,41398,41399,41400,41401,41402,41403,41404,41405,41406,41407,41408,41409,41410,41411,41412,41413,41414,41415,41416,41417,41418,41419,41420,41421,41422,41423,41424,41425,41426,41427,41428,41429,41430,41431,41432,41433,41434,41435,41436,41437,41438,41439,41440,41441,41442,41443,41444,41445,41446,41447,41448,41449,41450,41451,41452,41453,41454,41455,41456,41457,41458,41459,41460,41461,41462,41463,41464,41465,41466,41467,41468,41469,41470,41471,41472,41473,41474,41475,41476,41477,41478,41479,41480,41481,41482,41483,41484,41485,41486,41487,41488,41489,41490,41491,41492,41493,41494,41495,41496,41497,41498,41499,41500,41501,41502,41503,41504,41505,41506,41507,41508,41509,41510,41511,41512,41513,41514,41515,41516,41517,41518,41519,41520,41521,41522,41523,41524,41525,41526,41527,41528,41529,41530,41531,41532,41533,41534,41535,41536,41537,41538,41539,41540,41541,41542,41543,41544,41545,41546,41547,41548,41549,41550,41551,41552,41553,41554,41555,41556,41557,41558,41559,41560,41561,41562,41563,41564,41565,41566,41567,41568,41569,41570,41571,41572,41573,41574,41575,41576,41577,41578,41579,41580,41581,41582,41583,41584,41585,41586,41587,41588,41589,41590,41591,41592,41593,41594,41595,41596,41597,41598,41599,41600,41601,41602,41603,41604,41605,41606,41607,41608,41609,41610,41611,41612,41613,41614,41615,41616,41617,41618,41619,41620,41621,41622,41623,41624,41625,41626,41627,41628,41629,41630,41631,41632,41633,41634,41635,41636,41637,41638,41639,41640,41641,41642,41643,41644,41645,41646,41647,41648,41649,41650,41651,41652,41653,41654,41655,41656,41657,41658,41659,41660,41661,41662,41663,41664,41665,41666,41667,41668,41669,41670,41671,41672,41673,41674,41675,41676,41677,41678,41679,41680,41681,41682,41683,41684,41685,41686,41687,41688,41689,41690,41691,41692,41693,41694,41695,41696,41697,41698,41699,41700,41701,41702,41703,41704,41705,41706,41707,41708,41709,41710,41711,41712,41713,41714,41715,41716,41717,41718,41719,41720,41721,41722,41723,41724,41725,41726,41727,41728,41729,41730,41731,41732,41733,41734,41735,41736,41737,41738,41739,41740,41741,41742,41743,41744,41745,41746,41747,41748,41749,41750,41751,41752,41753,41754,41755,41756,41757,41758,41759,41760,41761,41762,41763,41764,41765,41766,41767,41768,41769,41770,41771,41772,41773,41774,41775,41776,41777,41778,41779,41780,41781,41782,41783,41784,41785,41786,41787,41788,41789,41790,41791,41792,41793,41794,41795,41796,41797,41798,41799,41800,41801,41802,41803,41804,41805,41806,41807,41808,41809,41810,41811,41812,41813,41814,41815,41816,41817,41818,41819,41820,41821,41822,41823,41824,41825,41826,41827,41828,41829,41830,41831,41832,41833,41834,41835,41836,41837,41838,41839,41840,41841,41842,41843,41844,41845,41846,41847,41848,41849,41850,41851,41852,41853,41854,41855,41856,41857,41858,41859,41860,41861,41862,41863,41864,41865,41866,41867,41868,41869,41870,41871,41872,41873,41874,41875,41876,41877,41878,41879,41880,41881,41882,41883,41884,41885,41886,41887,41888,41889,41890,41891,41892,41893,41894,41895,41896,41897,41898,41899,41900,41901,41902,41903,41904,41905,41906,41907,41908,41909,41910,41911,41912,41913,41914,41915,41916,41917,41918,41919,41920,41921,41922,41923,41924,41925,41926,41927,41928,41929,41930,41931,41932,41933,41934,41935,41936,41937,41938,41939,41940,41941,41942,41943,41944,41945,41946,41947,41948,41949,41950,41951,41952,41953,41954,41955,41956,41957,41958,41959,41960,41961,41962,41963,41964,41965,41966,41967,41968,41969,41970,41971,41972,41973,41974,41975,41976,41977,41978,41979,41980,41981,41982,41983,41984,41985,41986,41987,41988,41989,41990,41991,41992,41993,41994,41995,41996,41997,41998,41999,42000,42001,42002,42003,42004,42005,42006,42007,42008,42009,42010,42011,42012,42013,42014,42015,42016,42017,42018,42019,42020,42021,42022,42023,42024,42025,42026,42027,42028,42029,42030,42031,42032,42033,42034,42035,42036,42037,42038,42039,42040,42041,42042,42043,42044,42045,42046,42047,42048,42049,42050,42051,42052,42053,42054,42055,42056,42057,42058,42059,42060,42061,42062,42063,42064,42065,42066,42067,42068,42069,42070,42071,42072,42073,42074,42075,42076,42077,42078,42079,42080,42081,42082,42083,42084,42085,42086,42087,42088,42089,42090,42091,42092,42093,42094,42095,42096,42097,42098,42099,42100,42101,42102,42103,42104,42105,42106,42107,42108,42109,42110,42111,42112,42113,42114,42115,42116,42117,42118,42119,42120,42121,42122,42123,42124,42192,42193,42194,42195,42196,42197,42198,42199,42200,42201,42202,42203,42204,42205,42206,42207,42208,42209,42210,42211,42212,42213,42214,42215,42216,42217,42218,42219,42220,42221,42222,42223,42224,42225,42226,42227,42228,42229,42230,42231,42232,42233,42234,42235,42236,42237,42240,42241,42242,42243,42244,42245,42246,42247,42248,42249,42250,42251,42252,42253,42254,42255,42256,42257,42258,42259,42260,42261,42262,42263,42264,42265,42266,42267,42268,42269,42270,42271,42272,42273,42274,42275,42276,42277,42278,42279,42280,42281,42282,42283,42284,42285,42286,42287,42288,42289,42290,42291,42292,42293,42294,42295,42296,42297,42298,42299,42300,42301,42302,42303,42304,42305,42306,42307,42308,42309,42310,42311,42312,42313,42314,42315,42316,42317,42318,42319,42320,42321,42322,42323,42324,42325,42326,42327,42328,42329,42330,42331,42332,42333,42334,42335,42336,42337,42338,42339,42340,42341,42342,42343,42344,42345,42346,42347,42348,42349,42350,42351,42352,42353,42354,42355,42356,42357,42358,42359,42360,42361,42362,42363,42364,42365,42366,42367,42368,42369,42370,42371,42372,42373,42374,42375,42376,42377,42378,42379,42380,42381,42382,42383,42384,42385,42386,42387,42388,42389,42390,42391,42392,42393,42394,42395,42396,42397,42398,42399,42400,42401,42402,42403,42404,42405,42406,42407,42408,42409,42410,42411,42412,42413,42414,42415,42416,42417,42418,42419,42420,42421,42422,42423,42424,42425,42426,42427,42428,42429,42430,42431,42432,42433,42434,42435,42436,42437,42438,42439,42440,42441,42442,42443,42444,42445,42446,42447,42448,42449,42450,42451,42452,42453,42454,42455,42456,42457,42458,42459,42460,42461,42462,42463,42464,42465,42466,42467,42468,42469,42470,42471,42472,42473,42474,42475,42476,42477,42478,42479,42480,42481,42482,42483,42484,42485,42486,42487,42488,42489,42490,42491,42492,42493,42494,42495,42496,42497,42498,42499,42500,42501,42502,42503,42504,42505,42506,42507,42508,42512,42513,42514,42515,42516,42517,42518,42519,42520,42521,42522,42523,42524,42525,42526,42527,42538,42539,42560,42561,42562,42563,42564,42565,42566,42567,42568,42569,42570,42571,42572,42573,42574,42575,42576,42577,42578,42579,42580,42581,42582,42583,42584,42585,42586,42587,42588,42589,42590,42591,42592,42593,42594,42595,42596,42597,42598,42599,42600,42601,42602,42603,42604,42605,42606,42623,42624,42625,42626,42627,42628,42629,42630,42631,42632,42633,42634,42635,42636,42637,42638,42639,42640,42641,42642,42643,42644,42645,42646,42647,42648,42649,42650,42651,42652,42653,42656,42657,42658,42659,42660,42661,42662,42663,42664,42665,42666,42667,42668,42669,42670,42671,42672,42673,42674,42675,42676,42677,42678,42679,42680,42681,42682,42683,42684,42685,42686,42687,42688,42689,42690,42691,42692,42693,42694,42695,42696,42697,42698,42699,42700,42701,42702,42703,42704,42705,42706,42707,42708,42709,42710,42711,42712,42713,42714,42715,42716,42717,42718,42719,42720,42721,42722,42723,42724,42725,42726,42727,42728,42729,42730,42731,42732,42733,42734,42735,42775,42776,42777,42778,42779,42780,42781,42782,42783,42786,42787,42788,42789,42790,42791,42792,42793,42794,42795,42796,42797,42798,42799,42800,42801,42802,42803,42804,42805,42806,42807,42808,42809,42810,42811,42812,42813,42814,42815,42816,42817,42818,42819,42820,42821,42822,42823,42824,42825,42826,42827,42828,42829,42830,42831,42832,42833,42834,42835,42836,42837,42838,42839,42840,42841,42842,42843,42844,42845,42846,42847,42848,42849,42850,42851,42852,42853,42854,42855,42856,42857,42858,42859,42860,42861,42862,42863,42864,42865,42866,42867,42868,42869,42870,42871,42872,42873,42874,42875,42876,42877,42878,42879,42880,42881,42882,42883,42884,42885,42886,42887,42888,42891,42892,42893,42894,42895,42896,42897,42898,42899,42900,42901,42902,42903,42904,42905,42906,42907,42908,42909,42910,42911,42912,42913,42914,42915,42916,42917,42918,42919,42920,42921,42922,42923,42924,42925,42926,42927,42928,42929,42930,42931,42932,42933,42934,42935,42936,42937,42999,43000,43001,43002,43003,43004,43005,43006,43007,43008,43009,43011,43012,43013,43015,43016,43017,43018,43020,43021,43022,43023,43024,43025,43026,43027,43028,43029,43030,43031,43032,43033,43034,43035,43036,43037,43038,43039,43040,43041,43042,43072,43073,43074,43075,43076,43077,43078,43079,43080,43081,43082,43083,43084,43085,43086,43087,43088,43089,43090,43091,43092,43093,43094,43095,43096,43097,43098,43099,43100,43101,43102,43103,43104,43105,43106,43107,43108,43109,43110,43111,43112,43113,43114,43115,43116,43117,43118,43119,43120,43121,43122,43123,43138,43139,43140,43141,43142,43143,43144,43145,43146,43147,43148,43149,43150,43151,43152,43153,43154,43155,43156,43157,43158,43159,43160,43161,43162,43163,43164,43165,43166,43167,43168,43169,43170,43171,43172,43173,43174,43175,43176,43177,43178,43179,43180,43181,43182,43183,43184,43185,43186,43187,43250,43251,43252,43253,43254,43255,43259,43261,43262,43274,43275,43276,43277,43278,43279,43280,43281,43282,43283,43284,43285,43286,43287,43288,43289,43290,43291,43292,43293,43294,43295,43296,43297,43298,43299,43300,43301,43312,43313,43314,43315,43316,43317,43318,43319,43320,43321,43322,43323,43324,43325,43326,43327,43328,43329,43330,43331,43332,43333,43334,43360,43361,43362,43363,43364,43365,43366,43367,43368,43369,43370,43371,43372,43373,43374,43375,43376,43377,43378,43379,43380,43381,43382,43383,43384,43385,43386,43387,43388,43396,43397,43398,43399,43400,43401,43402,43403,43404,43405,43406,43407,43408,43409,43410,43411,43412,43413,43414,43415,43416,43417,43418,43419,43420,43421,43422,43423,43424,43425,43426,43427,43428,43429,43430,43431,43432,43433,43434,43435,43436,43437,43438,43439,43440,43441,43442,43471,43488,43489,43490,43491,43492,43494,43495,43496,43497,43498,43499,43500,43501,43502,43503,43514,43515,43516,43517,43518,43520,43521,43522,43523,43524,43525,43526,43527,43528,43529,43530,43531,43532,43533,43534,43535,43536,43537,43538,43539,43540,43541,43542,43543,43544,43545,43546,43547,43548,43549,43550,43551,43552,43553,43554,43555,43556,43557,43558,43559,43560,43584,43585,43586,43588,43589,43590,43591,43592,43593,43594,43595,43616,43617,43618,43619,43620,43621,43622,43623,43624,43625,43626,43627,43628,43629,43630,43631,43632,43633,43634,43635,43636,43637,43638,43642,43646,43647,43648,43649,43650,43651,43652,43653,43654,43655,43656,43657,43658,43659,43660,43661,43662,43663,43664,43665,43666,43667,43668,43669,43670,43671,43672,43673,43674,43675,43676,43677,43678,43679,43680,43681,43682,43683,43684,43685,43686,43687,43688,43689,43690,43691,43692,43693,43694,43695,43697,43701,43702,43705,43706,43707,43708,43709,43712,43714,43739,43740,43741,43744,43745,43746,43747,43748,43749,43750,43751,43752,43753,43754,43762,43763,43764,43777,43778,43779,43780,43781,43782,43785,43786,43787,43788,43789,43790,43793,43794,43795,43796,43797,43798,43808,43809,43810,43811,43812,43813,43814,43816,43817,43818,43819,43820,43821,43822,43824,43825,43826,43827,43828,43829,43830,43831,43832,43833,43834,43835,43836,43837,43838,43839,43840,43841,43842,43843,43844,43845,43846,43847,43848,43849,43850,43851,43852,43853,43854,43855,43856,43857,43858,43859,43860,43861,43862,43863,43864,43865,43866,43868,43869,43870,43871,43872,43873,43874,43875,43876,43877,43888,43889,43890,43891,43892,43893,43894,43895,43896,43897,43898,43899,43900,43901,43902,43903,43904,43905,43906,43907,43908,43909,43910,43911,43912,43913,43914,43915,43916,43917,43918,43919,43920,43921,43922,43923,43924,43925,43926,43927,43928,43929,43930,43931,43932,43933,43934,43935,43936,43937,43938,43939,43940,43941,43942,43943,43944,43945,43946,43947,43948,43949,43950,43951,43952,43953,43954,43955,43956,43957,43958,43959,43960,43961,43962,43963,43964,43965,43966,43967,43968,43969,43970,43971,43972,43973,43974,43975,43976,43977,43978,43979,43980,43981,43982,43983,43984,43985,43986,43987,43988,43989,43990,43991,43992,43993,43994,43995,43996,43997,43998,43999,44000,44001,44002,44032,44033,44034,44035,44036,44037,44038,44039,44040,44041,44042,44043,44044,44045,44046,44047,44048,44049,44050,44051,44052,44053,44054,44055,44056,44057,44058,44059,44060,44061,44062,44063,44064,44065,44066,44067,44068,44069,44070,44071,44072,44073,44074,44075,44076,44077,44078,44079,44080,44081,44082,44083,44084,44085,44086,44087,44088,44089,44090,44091,44092,44093,44094,44095,44096,44097,44098,44099,44100,44101,44102,44103,44104,44105,44106,44107,44108,44109,44110,44111,44112,44113,44114,44115,44116,44117,44118,44119,44120,44121,44122,44123,44124,44125,44126,44127,44128,44129,44130,44131,44132,44133,44134,44135,44136,44137,44138,44139,44140,44141,44142,44143,44144,44145,44146,44147,44148,44149,44150,44151,44152,44153,44154,44155,44156,44157,44158,44159,44160,44161,44162,44163,44164,44165,44166,44167,44168,44169,44170,44171,44172,44173,44174,44175,44176,44177,44178,44179,44180,44181,44182,44183,44184,44185,44186,44187,44188,44189,44190,44191,44192,44193,44194,44195,44196,44197,44198,44199,44200,44201,44202,44203,44204,44205,44206,44207,44208,44209,44210,44211,44212,44213,44214,44215,44216,44217,44218,44219,44220,44221,44222,44223,44224,44225,44226,44227,44228,44229,44230,44231,44232,44233,44234,44235,44236,44237,44238,44239,44240,44241,44242,44243,44244,44245,44246,44247,44248,44249,44250,44251,44252,44253,44254,44255,44256,44257,44258,44259,44260,44261,44262,44263,44264,44265,44266,44267,44268,44269,44270,44271,44272,44273,44274,44275,44276,44277,44278,44279,44280,44281,44282,44283,44284,44285,44286,44287,44288,44289,44290,44291,44292,44293,44294,44295,44296,44297,44298,44299,44300,44301,44302,44303,44304,44305,44306,44307,44308,44309,44310,44311,44312,44313,44314,44315,44316,44317,44318,44319,44320,44321,44322,44323,44324,44325,44326,44327,44328,44329,44330,44331,44332,44333,44334,44335,44336,44337,44338,44339,44340,44341,44342,44343,44344,44345,44346,44347,44348,44349,44350,44351,44352,44353,44354,44355,44356,44357,44358,44359,44360,44361,44362,44363,44364,44365,44366,44367,44368,44369,44370,44371,44372,44373,44374,44375,44376,44377,44378,44379,44380,44381,44382,44383,44384,44385,44386,44387,44388,44389,44390,44391,44392,44393,44394,44395,44396,44397,44398,44399,44400,44401,44402,44403,44404,44405,44406,44407,44408,44409,44410,44411,44412,44413,44414,44415,44416,44417,44418,44419,44420,44421,44422,44423,44424,44425,44426,44427,44428,44429,44430,44431,44432,44433,44434,44435,44436,44437,44438,44439,44440,44441,44442,44443,44444,44445,44446,44447,44448,44449,44450,44451,44452,44453,44454,44455,44456,44457,44458,44459,44460,44461,44462,44463,44464,44465,44466,44467,44468,44469,44470,44471,44472,44473,44474,44475,44476,44477,44478,44479,44480,44481,44482,44483,44484,44485,44486,44487,44488,44489,44490,44491,44492,44493,44494,44495,44496,44497,44498,44499,44500,44501,44502,44503,44504,44505,44506,44507,44508,44509,44510,44511,44512,44513,44514,44515,44516,44517,44518,44519,44520,44521,44522,44523,44524,44525,44526,44527,44528,44529,44530,44531,44532,44533,44534,44535,44536,44537,44538,44539,44540,44541,44542,44543,44544,44545,44546,44547,44548,44549,44550,44551,44552,44553,44554,44555,44556,44557,44558,44559,44560,44561,44562,44563,44564,44565,44566,44567,44568,44569,44570,44571,44572,44573,44574,44575,44576,44577,44578,44579,44580,44581,44582,44583,44584,44585,44586,44587,44588,44589,44590,44591,44592,44593,44594,44595,44596,44597,44598,44599,44600,44601,44602,44603,44604,44605,44606,44607,44608,44609,44610,44611,44612,44613,44614,44615,44616,44617,44618,44619,44620,44621,44622,44623,44624,44625,44626,44627,44628,44629,44630,44631,44632,44633,44634,44635,44636,44637,44638,44639,44640,44641,44642,44643,44644,44645,44646,44647,44648,44649,44650,44651,44652,44653,44654,44655,44656,44657,44658,44659,44660,44661,44662,44663,44664,44665,44666,44667,44668,44669,44670,44671,44672,44673,44674,44675,44676,44677,44678,44679,44680,44681,44682,44683,44684,44685,44686,44687,44688,44689,44690,44691,44692,44693,44694,44695,44696,44697,44698,44699,44700,44701,44702,44703,44704,44705,44706,44707,44708,44709,44710,44711,44712,44713,44714,44715,44716,44717,44718,44719,44720,44721,44722,44723,44724,44725,44726,44727,44728,44729,44730,44731,44732,44733,44734,44735,44736,44737,44738,44739,44740,44741,44742,44743,44744,44745,44746,44747,44748,44749,44750,44751,44752,44753,44754,44755,44756,44757,44758,44759,44760,44761,44762,44763,44764,44765,44766,44767,44768,44769,44770,44771,44772,44773,44774,44775,44776,44777,44778,44779,44780,44781,44782,44783,44784,44785,44786,44787,44788,44789,44790,44791,44792,44793,44794,44795,44796,44797,44798,44799,44800,44801,44802,44803,44804,44805,44806,44807,44808,44809,44810,44811,44812,44813,44814,44815,44816,44817,44818,44819,44820,44821,44822,44823,44824,44825,44826,44827,44828,44829,44830,44831,44832,44833,44834,44835,44836,44837,44838,44839,44840,44841,44842,44843,44844,44845,44846,44847,44848,44849,44850,44851,44852,44853,44854,44855,44856,44857,44858,44859,44860,44861,44862,44863,44864,44865,44866,44867,44868,44869,44870,44871,44872,44873,44874,44875,44876,44877,44878,44879,44880,44881,44882,44883,44884,44885,44886,44887,44888,44889,44890,44891,44892,44893,44894,44895,44896,44897,44898,44899,44900,44901,44902,44903,44904,44905,44906,44907,44908,44909,44910,44911,44912,44913,44914,44915,44916,44917,44918,44919,44920,44921,44922,44923,44924,44925,44926,44927,44928,44929,44930,44931,44932,44933,44934,44935,44936,44937,44938,44939,44940,44941,44942,44943,44944,44945,44946,44947,44948,44949,44950,44951,44952,44953,44954,44955,44956,44957,44958,44959,44960,44961,44962,44963,44964,44965,44966,44967,44968,44969,44970,44971,44972,44973,44974,44975,44976,44977,44978,44979,44980,44981,44982,44983,44984,44985,44986,44987,44988,44989,44990,44991,44992,44993,44994,44995,44996,44997,44998,44999,45000,45001,45002,45003,45004,45005,45006,45007,45008,45009,45010,45011,45012,45013,45014,45015,45016,45017,45018,45019,45020,45021,45022,45023,45024,45025,45026,45027,45028,45029,45030,45031,45032,45033,45034,45035,45036,45037,45038,45039,45040,45041,45042,45043,45044,45045,45046,45047,45048,45049,45050,45051,45052,45053,45054,45055,45056,45057,45058,45059,45060,45061,45062,45063,45064,45065,45066,45067,45068,45069,45070,45071,45072,45073,45074,45075,45076,45077,45078,45079,45080,45081,45082,45083,45084,45085,45086,45087,45088,45089,45090,45091,45092,45093,45094,45095,45096,45097,45098,45099,45100,45101,45102,45103,45104,45105,45106,45107,45108,45109,45110,45111,45112,45113,45114,45115,45116,45117,45118,45119,45120,45121,45122,45123,45124,45125,45126,45127,45128,45129,45130,45131,45132,45133,45134,45135,45136,45137,45138,45139,45140,45141,45142,45143,45144,45145,45146,45147,45148,45149,45150,45151,45152,45153,45154,45155,45156,45157,45158,45159,45160,45161,45162,45163,45164,45165,45166,45167,45168,45169,45170,45171,45172,45173,45174,45175,45176,45177,45178,45179,45180,45181,45182,45183,45184,45185,45186,45187,45188,45189,45190,45191,45192,45193,45194,45195,45196,45197,45198,45199,45200,45201,45202,45203,45204,45205,45206,45207,45208,45209,45210,45211,45212,45213,45214,45215,45216,45217,45218,45219,45220,45221,45222,45223,45224,45225,45226,45227,45228,45229,45230,45231,45232,45233,45234,45235,45236,45237,45238,45239,45240,45241,45242,45243,45244,45245,45246,45247,45248,45249,45250,45251,45252,45253,45254,45255,45256,45257,45258,45259,45260,45261,45262,45263,45264,45265,45266,45267,45268,45269,45270,45271,45272,45273,45274,45275,45276,45277,45278,45279,45280,45281,45282,45283,45284,45285,45286,45287,45288,45289,45290,45291,45292,45293,45294,45295,45296,45297,45298,45299,45300,45301,45302,45303,45304,45305,45306,45307,45308,45309,45310,45311,45312,45313,45314,45315,45316,45317,45318,45319,45320,45321,45322,45323,45324,45325,45326,45327,45328,45329,45330,45331,45332,45333,45334,45335,45336,45337,45338,45339,45340,45341,45342,45343,45344,45345,45346,45347,45348,45349,45350,45351,45352,45353,45354,45355,45356,45357,45358,45359,45360,45361,45362,45363,45364,45365,45366,45367,45368,45369,45370,45371,45372,45373,45374,45375,45376,45377,45378,45379,45380,45381,45382,45383,45384,45385,45386,45387,45388,45389,45390,45391,45392,45393,45394,45395,45396,45397,45398,45399,45400,45401,45402,45403,45404,45405,45406,45407,45408,45409,45410,45411,45412,45413,45414,45415,45416,45417,45418,45419,45420,45421,45422,45423,45424,45425,45426,45427,45428,45429,45430,45431,45432,45433,45434,45435,45436,45437,45438,45439,45440,45441,45442,45443,45444,45445,45446,45447,45448,45449,45450,45451,45452,45453,45454,45455,45456,45457,45458,45459,45460,45461,45462,45463,45464,45465,45466,45467,45468,45469,45470,45471,45472,45473,45474,45475,45476,45477,45478,45479,45480,45481,45482,45483,45484,45485,45486,45487,45488,45489,45490,45491,45492,45493,45494,45495,45496,45497,45498,45499,45500,45501,45502,45503,45504,45505,45506,45507,45508,45509,45510,45511,45512,45513,45514,45515,45516,45517,45518,45519,45520,45521,45522,45523,45524,45525,45526,45527,45528,45529,45530,45531,45532,45533,45534,45535,45536,45537,45538,45539,45540,45541,45542,45543,45544,45545,45546,45547,45548,45549,45550,45551,45552,45553,45554,45555,45556,45557,45558,45559,45560,45561,45562,45563,45564,45565,45566,45567,45568,45569,45570,45571,45572,45573,45574,45575,45576,45577,45578,45579,45580,45581,45582,45583,45584,45585,45586,45587,45588,45589,45590,45591,45592,45593,45594,45595,45596,45597,45598,45599,45600,45601,45602,45603,45604,45605,45606,45607,45608,45609,45610,45611,45612,45613,45614,45615,45616,45617,45618,45619,45620,45621,45622,45623,45624,45625,45626,45627,45628,45629,45630,45631,45632,45633,45634,45635,45636,45637,45638,45639,45640,45641,45642,45643,45644,45645,45646,45647,45648,45649,45650,45651,45652,45653,45654,45655,45656,45657,45658,45659,45660,45661,45662,45663,45664,45665,45666,45667,45668,45669,45670,45671,45672,45673,45674,45675,45676,45677,45678,45679,45680,45681,45682,45683,45684,45685,45686,45687,45688,45689,45690,45691,45692,45693,45694,45695,45696,45697,45698,45699,45700,45701,45702,45703,45704,45705,45706,45707,45708,45709,45710,45711,45712,45713,45714,45715,45716,45717,45718,45719,45720,45721,45722,45723,45724,45725,45726,45727,45728,45729,45730,45731,45732,45733,45734,45735,45736,45737,45738,45739,45740,45741,45742,45743,45744,45745,45746,45747,45748,45749,45750,45751,45752,45753,45754,45755,45756,45757,45758,45759,45760,45761,45762,45763,45764,45765,45766,45767,45768,45769,45770,45771,45772,45773,45774,45775,45776,45777,45778,45779,45780,45781,45782,45783,45784,45785,45786,45787,45788,45789,45790,45791,45792,45793,45794,45795,45796,45797,45798,45799,45800,45801,45802,45803,45804,45805,45806,45807,45808,45809,45810,45811,45812,45813,45814,45815,45816,45817,45818,45819,45820,45821,45822,45823,45824,45825,45826,45827,45828,45829,45830,45831,45832,45833,45834,45835,45836,45837,45838,45839,45840,45841,45842,45843,45844,45845,45846,45847,45848,45849,45850,45851,45852,45853,45854,45855,45856,45857,45858,45859,45860,45861,45862,45863,45864,45865,45866,45867,45868,45869,45870,45871,45872,45873,45874,45875,45876,45877,45878,45879,45880,45881,45882,45883,45884,45885,45886,45887,45888,45889,45890,45891,45892,45893,45894,45895,45896,45897,45898,45899,45900,45901,45902,45903,45904,45905,45906,45907,45908,45909,45910,45911,45912,45913,45914,45915,45916,45917,45918,45919,45920,45921,45922,45923,45924,45925,45926,45927,45928,45929,45930,45931,45932,45933,45934,45935,45936,45937,45938,45939,45940,45941,45942,45943,45944,45945,45946,45947,45948,45949,45950,45951,45952,45953,45954,45955,45956,45957,45958,45959,45960,45961,45962,45963,45964,45965,45966,45967,45968,45969,45970,45971,45972,45973,45974,45975,45976,45977,45978,45979,45980,45981,45982,45983,45984,45985,45986,45987,45988,45989,45990,45991,45992,45993,45994,45995,45996,45997,45998,45999,46000,46001,46002,46003,46004,46005,46006,46007,46008,46009,46010,46011,46012,46013,46014,46015,46016,46017,46018,46019,46020,46021,46022,46023,46024,46025,46026,46027,46028,46029,46030,46031,46032,46033,46034,46035,46036,46037,46038,46039,46040,46041,46042,46043,46044,46045,46046,46047,46048,46049,46050,46051,46052,46053,46054,46055,46056,46057,46058,46059,46060,46061,46062,46063,46064,46065,46066,46067,46068,46069,46070,46071,46072,46073,46074,46075,46076,46077,46078,46079,46080,46081,46082,46083,46084,46085,46086,46087,46088,46089,46090,46091,46092,46093,46094,46095,46096,46097,46098,46099,46100,46101,46102,46103,46104,46105,46106,46107,46108,46109,46110,46111,46112,46113,46114,46115,46116,46117,46118,46119,46120,46121,46122,46123,46124,46125,46126,46127,46128,46129,46130,46131,46132,46133,46134,46135,46136,46137,46138,46139,46140,46141,46142,46143,46144,46145,46146,46147,46148,46149,46150,46151,46152,46153,46154,46155,46156,46157,46158,46159,46160,46161,46162,46163,46164,46165,46166,46167,46168,46169,46170,46171,46172,46173,46174,46175,46176,46177,46178,46179,46180,46181,46182,46183,46184,46185,46186,46187,46188,46189,46190,46191,46192,46193,46194,46195,46196,46197,46198,46199,46200,46201,46202,46203,46204,46205,46206,46207,46208,46209,46210,46211,46212,46213,46214,46215,46216,46217,46218,46219,46220,46221,46222,46223,46224,46225,46226,46227,46228,46229,46230,46231,46232,46233,46234,46235,46236,46237,46238,46239,46240,46241,46242,46243,46244,46245,46246,46247,46248,46249,46250,46251,46252,46253,46254,46255,46256,46257,46258,46259,46260,46261,46262,46263,46264,46265,46266,46267,46268,46269,46270,46271,46272,46273,46274,46275,46276,46277,46278,46279,46280,46281,46282,46283,46284,46285,46286,46287,46288,46289,46290,46291,46292,46293,46294,46295,46296,46297,46298,46299,46300,46301,46302,46303,46304,46305,46306,46307,46308,46309,46310,46311,46312,46313,46314,46315,46316,46317,46318,46319,46320,46321,46322,46323,46324,46325,46326,46327,46328,46329,46330,46331,46332,46333,46334,46335,46336,46337,46338,46339,46340,46341,46342,46343,46344,46345,46346,46347,46348,46349,46350,46351,46352,46353,46354,46355,46356,46357,46358,46359,46360,46361,46362,46363,46364,46365,46366,46367,46368,46369,46370,46371,46372,46373,46374,46375,46376,46377,46378,46379,46380,46381,46382,46383,46384,46385,46386,46387,46388,46389,46390,46391,46392,46393,46394,46395,46396,46397,46398,46399,46400,46401,46402,46403,46404,46405,46406,46407,46408,46409,46410,46411,46412,46413,46414,46415,46416,46417,46418,46419,46420,46421,46422,46423,46424,46425,46426,46427,46428,46429,46430,46431,46432,46433,46434,46435,46436,46437,46438,46439,46440,46441,46442,46443,46444,46445,46446,46447,46448,46449,46450,46451,46452,46453,46454,46455,46456,46457,46458,46459,46460,46461,46462,46463,46464,46465,46466,46467,46468,46469,46470,46471,46472,46473,46474,46475,46476,46477,46478,46479,46480,46481,46482,46483,46484,46485,46486,46487,46488,46489,46490,46491,46492,46493,46494,46495,46496,46497,46498,46499,46500,46501,46502,46503,46504,46505,46506,46507,46508,46509,46510,46511,46512,46513,46514,46515,46516,46517,46518,46519,46520,46521,46522,46523,46524,46525,46526,46527,46528,46529,46530,46531,46532,46533,46534,46535,46536,46537,46538,46539,46540,46541,46542,46543,46544,46545,46546,46547,46548,46549,46550,46551,46552,46553,46554,46555,46556,46557,46558,46559,46560,46561,46562,46563,46564,46565,46566,46567,46568,46569,46570,46571,46572,46573,46574,46575,46576,46577,46578,46579,46580,46581,46582,46583,46584,46585,46586,46587,46588,46589,46590,46591,46592,46593,46594,46595,46596,46597,46598,46599,46600,46601,46602,46603,46604,46605,46606,46607,46608,46609,46610,46611,46612,46613,46614,46615,46616,46617,46618,46619,46620,46621,46622,46623,46624,46625,46626,46627,46628,46629,46630,46631,46632,46633,46634,46635,46636,46637,46638,46639,46640,46641,46642,46643,46644,46645,46646,46647,46648,46649,46650,46651,46652,46653,46654,46655,46656,46657,46658,46659,46660,46661,46662,46663,46664,46665,46666,46667,46668,46669,46670,46671,46672,46673,46674,46675,46676,46677,46678,46679,46680,46681,46682,46683,46684,46685,46686,46687,46688,46689,46690,46691,46692,46693,46694,46695,46696,46697,46698,46699,46700,46701,46702,46703,46704,46705,46706,46707,46708,46709,46710,46711,46712,46713,46714,46715,46716,46717,46718,46719,46720,46721,46722,46723,46724,46725,46726,46727,46728,46729,46730,46731,46732,46733,46734,46735,46736,46737,46738,46739,46740,46741,46742,46743,46744,46745,46746,46747,46748,46749,46750,46751,46752,46753,46754,46755,46756,46757,46758,46759,46760,46761,46762,46763,46764,46765,46766,46767,46768,46769,46770,46771,46772,46773,46774,46775,46776,46777,46778,46779,46780,46781,46782,46783,46784,46785,46786,46787,46788,46789,46790,46791,46792,46793,46794,46795,46796,46797,46798,46799,46800,46801,46802,46803,46804,46805,46806,46807,46808,46809,46810,46811,46812,46813,46814,46815,46816,46817,46818,46819,46820,46821,46822,46823,46824,46825,46826,46827,46828,46829,46830,46831,46832,46833,46834,46835,46836,46837,46838,46839,46840,46841,46842,46843,46844,46845,46846,46847,46848,46849,46850,46851,46852,46853,46854,46855,46856,46857,46858,46859,46860,46861,46862,46863,46864,46865,46866,46867,46868,46869,46870,46871,46872,46873,46874,46875,46876,46877,46878,46879,46880,46881,46882,46883,46884,46885,46886,46887,46888,46889,46890,46891,46892,46893,46894,46895,46896,46897,46898,46899,46900,46901,46902,46903,46904,46905,46906,46907,46908,46909,46910,46911,46912,46913,46914,46915,46916,46917,46918,46919,46920,46921,46922,46923,46924,46925,46926,46927,46928,46929,46930,46931,46932,46933,46934,46935,46936,46937,46938,46939,46940,46941,46942,46943,46944,46945,46946,46947,46948,46949,46950,46951,46952,46953,46954,46955,46956,46957,46958,46959,46960,46961,46962,46963,46964,46965,46966,46967,46968,46969,46970,46971,46972,46973,46974,46975,46976,46977,46978,46979,46980,46981,46982,46983,46984,46985,46986,46987,46988,46989,46990,46991,46992,46993,46994,46995,46996,46997,46998,46999,47000,47001,47002,47003,47004,47005,47006,47007,47008,47009,47010,47011,47012,47013,47014,47015,47016,47017,47018,47019,47020,47021,47022,47023,47024,47025,47026,47027,47028,47029,47030,47031,47032,47033,47034,47035,47036,47037,47038,47039,47040,47041,47042,47043,47044,47045,47046,47047,47048,47049,47050,47051,47052,47053,47054,47055,47056,47057,47058,47059,47060,47061,47062,47063,47064,47065,47066,47067,47068,47069,47070,47071,47072,47073,47074,47075,47076,47077,47078,47079,47080,47081,47082,47083,47084,47085,47086,47087,47088,47089,47090,47091,47092,47093,47094,47095,47096,47097,47098,47099,47100,47101,47102,47103,47104,47105,47106,47107,47108,47109,47110,47111,47112,47113,47114,47115,47116,47117,47118,47119,47120,47121,47122,47123,47124,47125,47126,47127,47128,47129,47130,47131,47132,47133,47134,47135,47136,47137,47138,47139,47140,47141,47142,47143,47144,47145,47146,47147,47148,47149,47150,47151,47152,47153,47154,47155,47156,47157,47158,47159,47160,47161,47162,47163,47164,47165,47166,47167,47168,47169,47170,47171,47172,47173,47174,47175,47176,47177,47178,47179,47180,47181,47182,47183,47184,47185,47186,47187,47188,47189,47190,47191,47192,47193,47194,47195,47196,47197,47198,47199,47200,47201,47202,47203,47204,47205,47206,47207,47208,47209,47210,47211,47212,47213,47214,47215,47216,47217,47218,47219,47220,47221,47222,47223,47224,47225,47226,47227,47228,47229,47230,47231,47232,47233,47234,47235,47236,47237,47238,47239,47240,47241,47242,47243,47244,47245,47246,47247,47248,47249,47250,47251,47252,47253,47254,47255,47256,47257,47258,47259,47260,47261,47262,47263,47264,47265,47266,47267,47268,47269,47270,47271,47272,47273,47274,47275,47276,47277,47278,47279,47280,47281,47282,47283,47284,47285,47286,47287,47288,47289,47290,47291,47292,47293,47294,47295,47296,47297,47298,47299,47300,47301,47302,47303,47304,47305,47306,47307,47308,47309,47310,47311,47312,47313,47314,47315,47316,47317,47318,47319,47320,47321,47322,47323,47324,47325,47326,47327,47328,47329,47330,47331,47332,47333,47334,47335,47336,47337,47338,47339,47340,47341,47342,47343,47344,47345,47346,47347,47348,47349,47350,47351,47352,47353,47354,47355,47356,47357,47358,47359,47360,47361,47362,47363,47364,47365,47366,47367,47368,47369,47370,47371,47372,47373,47374,47375,47376,47377,47378,47379,47380,47381,47382,47383,47384,47385,47386,47387,47388,47389,47390,47391,47392,47393,47394,47395,47396,47397,47398,47399,47400,47401,47402,47403,47404,47405,47406,47407,47408,47409,47410,47411,47412,47413,47414,47415,47416,47417,47418,47419,47420,47421,47422,47423,47424,47425,47426,47427,47428,47429,47430,47431,47432,47433,47434,47435,47436,47437,47438,47439,47440,47441,47442,47443,47444,47445,47446,47447,47448,47449,47450,47451,47452,47453,47454,47455,47456,47457,47458,47459,47460,47461,47462,47463,47464,47465,47466,47467,47468,47469,47470,47471,47472,47473,47474,47475,47476,47477,47478,47479,47480,47481,47482,47483,47484,47485,47486,47487,47488,47489,47490,47491,47492,47493,47494,47495,47496,47497,47498,47499,47500,47501,47502,47503,47504,47505,47506,47507,47508,47509,47510,47511,47512,47513,47514,47515,47516,47517,47518,47519,47520,47521,47522,47523,47524,47525,47526,47527,47528,47529,47530,47531,47532,47533,47534,47535,47536,47537,47538,47539,47540,47541,47542,47543,47544,47545,47546,47547,47548,47549,47550,47551,47552,47553,47554,47555,47556,47557,47558,47559,47560,47561,47562,47563,47564,47565,47566,47567,47568,47569,47570,47571,47572,47573,47574,47575,47576,47577,47578,47579,47580,47581,47582,47583,47584,47585,47586,47587,47588,47589,47590,47591,47592,47593,47594,47595,47596,47597,47598,47599,47600,47601,47602,47603,47604,47605,47606,47607,47608,47609,47610,47611,47612,47613,47614,47615,47616,47617,47618,47619,47620,47621,47622,47623,47624,47625,47626,47627,47628,47629,47630,47631,47632,47633,47634,47635,47636,47637,47638,47639,47640,47641,47642,47643,47644,47645,47646,47647,47648,47649,47650,47651,47652,47653,47654,47655,47656,47657,47658,47659,47660,47661,47662,47663,47664,47665,47666,47667,47668,47669,47670,47671,47672,47673,47674,47675,47676,47677,47678,47679,47680,47681,47682,47683,47684,47685,47686,47687,47688,47689,47690,47691,47692,47693,47694,47695,47696,47697,47698,47699,47700,47701,47702,47703,47704,47705,47706,47707,47708,47709,47710,47711,47712,47713,47714,47715,47716,47717,47718,47719,47720,47721,47722,47723,47724,47725,47726,47727,47728,47729,47730,47731,47732,47733,47734,47735,47736,47737,47738,47739,47740,47741,47742,47743,47744,47745,47746,47747,47748,47749,47750,47751,47752,47753,47754,47755,47756,47757,47758,47759,47760,47761,47762,47763,47764,47765,47766,47767,47768,47769,47770,47771,47772,47773,47774,47775,47776,47777,47778,47779,47780,47781,47782,47783,47784,47785,47786,47787,47788,47789,47790,47791,47792,47793,47794,47795,47796,47797,47798,47799,47800,47801,47802,47803,47804,47805,47806,47807,47808,47809,47810,47811,47812,47813,47814,47815,47816,47817,47818,47819,47820,47821,47822,47823,47824,47825,47826,47827,47828,47829,47830,47831,47832,47833,47834,47835,47836,47837,47838,47839,47840,47841,47842,47843,47844,47845,47846,47847,47848,47849,47850,47851,47852,47853,47854,47855,47856,47857,47858,47859,47860,47861,47862,47863,47864,47865,47866,47867,47868,47869,47870,47871,47872,47873,47874,47875,47876,47877,47878,47879,47880,47881,47882,47883,47884,47885,47886,47887,47888,47889,47890,47891,47892,47893,47894,47895,47896,47897,47898,47899,47900,47901,47902,47903,47904,47905,47906,47907,47908,47909,47910,47911,47912,47913,47914,47915,47916,47917,47918,47919,47920,47921,47922,47923,47924,47925,47926,47927,47928,47929,47930,47931,47932,47933,47934,47935,47936,47937,47938,47939,47940,47941,47942,47943,47944,47945,47946,47947,47948,47949,47950,47951,47952,47953,47954,47955,47956,47957,47958,47959,47960,47961,47962,47963,47964,47965,47966,47967,47968,47969,47970,47971,47972,47973,47974,47975,47976,47977,47978,47979,47980,47981,47982,47983,47984,47985,47986,47987,47988,47989,47990,47991,47992,47993,47994,47995,47996,47997,47998,47999,48000,48001,48002,48003,48004,48005,48006,48007,48008,48009,48010,48011,48012,48013,48014,48015,48016,48017,48018,48019,48020,48021,48022,48023,48024,48025,48026,48027,48028,48029,48030,48031,48032,48033,48034,48035,48036,48037,48038,48039,48040,48041,48042,48043,48044,48045,48046,48047,48048,48049,48050,48051,48052,48053,48054,48055,48056,48057,48058,48059,48060,48061,48062,48063,48064,48065,48066,48067,48068,48069,48070,48071,48072,48073,48074,48075,48076,48077,48078,48079,48080,48081,48082,48083,48084,48085,48086,48087,48088,48089,48090,48091,48092,48093,48094,48095,48096,48097,48098,48099,48100,48101,48102,48103,48104,48105,48106,48107,48108,48109,48110,48111,48112,48113,48114,48115,48116,48117,48118,48119,48120,48121,48122,48123,48124,48125,48126,48127,48128,48129,48130,48131,48132,48133,48134,48135,48136,48137,48138,48139,48140,48141,48142,48143,48144,48145,48146,48147,48148,48149,48150,48151,48152,48153,48154,48155,48156,48157,48158,48159,48160,48161,48162,48163,48164,48165,48166,48167,48168,48169,48170,48171,48172,48173,48174,48175,48176,48177,48178,48179,48180,48181,48182,48183,48184,48185,48186,48187,48188,48189,48190,48191,48192,48193,48194,48195,48196,48197,48198,48199,48200,48201,48202,48203,48204,48205,48206,48207,48208,48209,48210,48211,48212,48213,48214,48215,48216,48217,48218,48219,48220,48221,48222,48223,48224,48225,48226,48227,48228,48229,48230,48231,48232,48233,48234,48235,48236,48237,48238,48239,48240,48241,48242,48243,48244,48245,48246,48247,48248,48249,48250,48251,48252,48253,48254,48255,48256,48257,48258,48259,48260,48261,48262,48263,48264,48265,48266,48267,48268,48269,48270,48271,48272,48273,48274,48275,48276,48277,48278,48279,48280,48281,48282,48283,48284,48285,48286,48287,48288,48289,48290,48291,48292,48293,48294,48295,48296,48297,48298,48299,48300,48301,48302,48303,48304,48305,48306,48307,48308,48309,48310,48311,48312,48313,48314,48315,48316,48317,48318,48319,48320,48321,48322,48323,48324,48325,48326,48327,48328,48329,48330,48331,48332,48333,48334,48335,48336,48337,48338,48339,48340,48341,48342,48343,48344,48345,48346,48347,48348,48349,48350,48351,48352,48353,48354,48355,48356,48357,48358,48359,48360,48361,48362,48363,48364,48365,48366,48367,48368,48369,48370,48371,48372,48373,48374,48375,48376,48377,48378,48379,48380,48381,48382,48383,48384,48385,48386,48387,48388,48389,48390,48391,48392,48393,48394,48395,48396,48397,48398,48399,48400,48401,48402,48403,48404,48405,48406,48407,48408,48409,48410,48411,48412,48413,48414,48415,48416,48417,48418,48419,48420,48421,48422,48423,48424,48425,48426,48427,48428,48429,48430,48431,48432,48433,48434,48435,48436,48437,48438,48439,48440,48441,48442,48443,48444,48445,48446,48447,48448,48449,48450,48451,48452,48453,48454,48455,48456,48457,48458,48459,48460,48461,48462,48463,48464,48465,48466,48467,48468,48469,48470,48471,48472,48473,48474,48475,48476,48477,48478,48479,48480,48481,48482,48483,48484,48485,48486,48487,48488,48489,48490,48491,48492,48493,48494,48495,48496,48497,48498,48499,48500,48501,48502,48503,48504,48505,48506,48507,48508,48509,48510,48511,48512,48513,48514,48515,48516,48517,48518,48519,48520,48521,48522,48523,48524,48525,48526,48527,48528,48529,48530,48531,48532,48533,48534,48535,48536,48537,48538,48539,48540,48541,48542,48543,48544,48545,48546,48547,48548,48549,48550,48551,48552,48553,48554,48555,48556,48557,48558,48559,48560,48561,48562,48563,48564,48565,48566,48567,48568,48569,48570,48571,48572,48573,48574,48575,48576,48577,48578,48579,48580,48581,48582,48583,48584,48585,48586,48587,48588,48589,48590,48591,48592,48593,48594,48595,48596,48597,48598,48599,48600,48601,48602,48603,48604,48605,48606,48607,48608,48609,48610,48611,48612,48613,48614,48615,48616,48617,48618,48619,48620,48621,48622,48623,48624,48625,48626,48627,48628,48629,48630,48631,48632,48633,48634,48635,48636,48637,48638,48639,48640,48641,48642,48643,48644,48645,48646,48647,48648,48649,48650,48651,48652,48653,48654,48655,48656,48657,48658,48659,48660,48661,48662,48663,48664,48665,48666,48667,48668,48669,48670,48671,48672,48673,48674,48675,48676,48677,48678,48679,48680,48681,48682,48683,48684,48685,48686,48687,48688,48689,48690,48691,48692,48693,48694,48695,48696,48697,48698,48699,48700,48701,48702,48703,48704,48705,48706,48707,48708,48709,48710,48711,48712,48713,48714,48715,48716,48717,48718,48719,48720,48721,48722,48723,48724,48725,48726,48727,48728,48729,48730,48731,48732,48733,48734,48735,48736,48737,48738,48739,48740,48741,48742,48743,48744,48745,48746,48747,48748,48749,48750,48751,48752,48753,48754,48755,48756,48757,48758,48759,48760,48761,48762,48763,48764,48765,48766,48767,48768,48769,48770,48771,48772,48773,48774,48775,48776,48777,48778,48779,48780,48781,48782,48783,48784,48785,48786,48787,48788,48789,48790,48791,48792,48793,48794,48795,48796,48797,48798,48799,48800,48801,48802,48803,48804,48805,48806,48807,48808,48809,48810,48811,48812,48813,48814,48815,48816,48817,48818,48819,48820,48821,48822,48823,48824,48825,48826,48827,48828,48829,48830,48831,48832,48833,48834,48835,48836,48837,48838,48839,48840,48841,48842,48843,48844,48845,48846,48847,48848,48849,48850,48851,48852,48853,48854,48855,48856,48857,48858,48859,48860,48861,48862,48863,48864,48865,48866,48867,48868,48869,48870,48871,48872,48873,48874,48875,48876,48877,48878,48879,48880,48881,48882,48883,48884,48885,48886,48887,48888,48889,48890,48891,48892,48893,48894,48895,48896,48897,48898,48899,48900,48901,48902,48903,48904,48905,48906,48907,48908,48909,48910,48911,48912,48913,48914,48915,48916,48917,48918,48919,48920,48921,48922,48923,48924,48925,48926,48927,48928,48929,48930,48931,48932,48933,48934,48935,48936,48937,48938,48939,48940,48941,48942,48943,48944,48945,48946,48947,48948,48949,48950,48951,48952,48953,48954,48955,48956,48957,48958,48959,48960,48961,48962,48963,48964,48965,48966,48967,48968,48969,48970,48971,48972,48973,48974,48975,48976,48977,48978,48979,48980,48981,48982,48983,48984,48985,48986,48987,48988,48989,48990,48991,48992,48993,48994,48995,48996,48997,48998,48999,49000,49001,49002,49003,49004,49005,49006,49007,49008,49009,49010,49011,49012,49013,49014,49015,49016,49017,49018,49019,49020,49021,49022,49023,49024,49025,49026,49027,49028,49029,49030,49031,49032,49033,49034,49035,49036,49037,49038,49039,49040,49041,49042,49043,49044,49045,49046,49047,49048,49049,49050,49051,49052,49053,49054,49055,49056,49057,49058,49059,49060,49061,49062,49063,49064,49065,49066,49067,49068,49069,49070,49071,49072,49073,49074,49075,49076,49077,49078,49079,49080,49081,49082,49083,49084,49085,49086,49087,49088,49089,49090,49091,49092,49093,49094,49095,49096,49097,49098,49099,49100,49101,49102,49103,49104,49105,49106,49107,49108,49109,49110,49111,49112,49113,49114,49115,49116,49117,49118,49119,49120,49121,49122,49123,49124,49125,49126,49127,49128,49129,49130,49131,49132,49133,49134,49135,49136,49137,49138,49139,49140,49141,49142,49143,49144,49145,49146,49147,49148,49149,49150,49151,49152,49153,49154,49155,49156,49157,49158,49159,49160,49161,49162,49163,49164,49165,49166,49167,49168,49169,49170,49171,49172,49173,49174,49175,49176,49177,49178,49179,49180,49181,49182,49183,49184,49185,49186,49187,49188,49189,49190,49191,49192,49193,49194,49195,49196,49197,49198,49199,49200,49201,49202,49203,49204,49205,49206,49207,49208,49209,49210,49211,49212,49213,49214,49215,49216,49217,49218,49219,49220,49221,49222,49223,49224,49225,49226,49227,49228,49229,49230,49231,49232,49233,49234,49235,49236,49237,49238,49239,49240,49241,49242,49243,49244,49245,49246,49247,49248,49249,49250,49251,49252,49253,49254,49255,49256,49257,49258,49259,49260,49261,49262,49263,49264,49265,49266,49267,49268,49269,49270,49271,49272,49273,49274,49275,49276,49277,49278,49279,49280,49281,49282,49283,49284,49285,49286,49287,49288,49289,49290,49291,49292,49293,49294,49295,49296,49297,49298,49299,49300,49301,49302,49303,49304,49305,49306,49307,49308,49309,49310,49311,49312,49313,49314,49315,49316,49317,49318,49319,49320,49321,49322,49323,49324,49325,49326,49327,49328,49329,49330,49331,49332,49333,49334,49335,49336,49337,49338,49339,49340,49341,49342,49343,49344,49345,49346,49347,49348,49349,49350,49351,49352,49353,49354,49355,49356,49357,49358,49359,49360,49361,49362,49363,49364,49365,49366,49367,49368,49369,49370,49371,49372,49373,49374,49375,49376,49377,49378,49379,49380,49381,49382,49383,49384,49385,49386,49387,49388,49389,49390,49391,49392,49393,49394,49395,49396,49397,49398,49399,49400,49401,49402,49403,49404,49405,49406,49407,49408,49409,49410,49411,49412,49413,49414,49415,49416,49417,49418,49419,49420,49421,49422,49423,49424,49425,49426,49427,49428,49429,49430,49431,49432,49433,49434,49435,49436,49437,49438,49439,49440,49441,49442,49443,49444,49445,49446,49447,49448,49449,49450,49451,49452,49453,49454,49455,49456,49457,49458,49459,49460,49461,49462,49463,49464,49465,49466,49467,49468,49469,49470,49471,49472,49473,49474,49475,49476,49477,49478,49479,49480,49481,49482,49483,49484,49485,49486,49487,49488,49489,49490,49491,49492,49493,49494,49495,49496,49497,49498,49499,49500,49501,49502,49503,49504,49505,49506,49507,49508,49509,49510,49511,49512,49513,49514,49515,49516,49517,49518,49519,49520,49521,49522,49523,49524,49525,49526,49527,49528,49529,49530,49531,49532,49533,49534,49535,49536,49537,49538,49539,49540,49541,49542,49543,49544,49545,49546,49547,49548,49549,49550,49551,49552,49553,49554,49555,49556,49557,49558,49559,49560,49561,49562,49563,49564,49565,49566,49567,49568,49569,49570,49571,49572,49573,49574,49575,49576,49577,49578,49579,49580,49581,49582,49583,49584,49585,49586,49587,49588,49589,49590,49591,49592,49593,49594,49595,49596,49597,49598,49599,49600,49601,49602,49603,49604,49605,49606,49607,49608,49609,49610,49611,49612,49613,49614,49615,49616,49617,49618,49619,49620,49621,49622,49623,49624,49625,49626,49627,49628,49629,49630,49631,49632,49633,49634,49635,49636,49637,49638,49639,49640,49641,49642,49643,49644,49645,49646,49647,49648,49649,49650,49651,49652,49653,49654,49655,49656,49657,49658,49659,49660,49661,49662,49663,49664,49665,49666,49667,49668,49669,49670,49671,49672,49673,49674,49675,49676,49677,49678,49679,49680,49681,49682,49683,49684,49685,49686,49687,49688,49689,49690,49691,49692,49693,49694,49695,49696,49697,49698,49699,49700,49701,49702,49703,49704,49705,49706,49707,49708,49709,49710,49711,49712,49713,49714,49715,49716,49717,49718,49719,49720,49721,49722,49723,49724,49725,49726,49727,49728,49729,49730,49731,49732,49733,49734,49735,49736,49737,49738,49739,49740,49741,49742,49743,49744,49745,49746,49747,49748,49749,49750,49751,49752,49753,49754,49755,49756,49757,49758,49759,49760,49761,49762,49763,49764,49765,49766,49767,49768,49769,49770,49771,49772,49773,49774,49775,49776,49777,49778,49779,49780,49781,49782,49783,49784,49785,49786,49787,49788,49789,49790,49791,49792,49793,49794,49795,49796,49797,49798,49799,49800,49801,49802,49803,49804,49805,49806,49807,49808,49809,49810,49811,49812,49813,49814,49815,49816,49817,49818,49819,49820,49821,49822,49823,49824,49825,49826,49827,49828,49829,49830,49831,49832,49833,49834,49835,49836,49837,49838,49839,49840,49841,49842,49843,49844,49845,49846,49847,49848,49849,49850,49851,49852,49853,49854,49855,49856,49857,49858,49859,49860,49861,49862,49863,49864,49865,49866,49867,49868,49869,49870,49871,49872,49873,49874,49875,49876,49877,49878,49879,49880,49881,49882,49883,49884,49885,49886,49887,49888,49889,49890,49891,49892,49893,49894,49895,49896,49897,49898,49899,49900,49901,49902,49903,49904,49905,49906,49907,49908,49909,49910,49911,49912,49913,49914,49915,49916,49917,49918,49919,49920,49921,49922,49923,49924,49925,49926,49927,49928,49929,49930,49931,49932,49933,49934,49935,49936,49937,49938,49939,49940,49941,49942,49943,49944,49945,49946,49947,49948,49949,49950,49951,49952,49953,49954,49955,49956,49957,49958,49959,49960,49961,49962,49963,49964,49965,49966,49967,49968,49969,49970,49971,49972,49973,49974,49975,49976,49977,49978,49979,49980,49981,49982,49983,49984,49985,49986,49987,49988,49989,49990,49991,49992,49993,49994,49995,49996,49997,49998,49999,50000,50001,50002,50003,50004,50005,50006,50007,50008,50009,50010,50011,50012,50013,50014,50015,50016,50017,50018,50019,50020,50021,50022,50023,50024,50025,50026,50027,50028,50029,50030,50031,50032,50033,50034,50035,50036,50037,50038,50039,50040,50041,50042,50043,50044,50045,50046,50047,50048,50049,50050,50051,50052,50053,50054,50055,50056,50057,50058,50059,50060,50061,50062,50063,50064,50065,50066,50067,50068,50069,50070,50071,50072,50073,50074,50075,50076,50077,50078,50079,50080,50081,50082,50083,50084,50085,50086,50087,50088,50089,50090,50091,50092,50093,50094,50095,50096,50097,50098,50099,50100,50101,50102,50103,50104,50105,50106,50107,50108,50109,50110,50111,50112,50113,50114,50115,50116,50117,50118,50119,50120,50121,50122,50123,50124,50125,50126,50127,50128,50129,50130,50131,50132,50133,50134,50135,50136,50137,50138,50139,50140,50141,50142,50143,50144,50145,50146,50147,50148,50149,50150,50151,50152,50153,50154,50155,50156,50157,50158,50159,50160,50161,50162,50163,50164,50165,50166,50167,50168,50169,50170,50171,50172,50173,50174,50175,50176,50177,50178,50179,50180,50181,50182,50183,50184,50185,50186,50187,50188,50189,50190,50191,50192,50193,50194,50195,50196,50197,50198,50199,50200,50201,50202,50203,50204,50205,50206,50207,50208,50209,50210,50211,50212,50213,50214,50215,50216,50217,50218,50219,50220,50221,50222,50223,50224,50225,50226,50227,50228,50229,50230,50231,50232,50233,50234,50235,50236,50237,50238,50239,50240,50241,50242,50243,50244,50245,50246,50247,50248,50249,50250,50251,50252,50253,50254,50255,50256,50257,50258,50259,50260,50261,50262,50263,50264,50265,50266,50267,50268,50269,50270,50271,50272,50273,50274,50275,50276,50277,50278,50279,50280,50281,50282,50283,50284,50285,50286,50287,50288,50289,50290,50291,50292,50293,50294,50295,50296,50297,50298,50299,50300,50301,50302,50303,50304,50305,50306,50307,50308,50309,50310,50311,50312,50313,50314,50315,50316,50317,50318,50319,50320,50321,50322,50323,50324,50325,50326,50327,50328,50329,50330,50331,50332,50333,50334,50335,50336,50337,50338,50339,50340,50341,50342,50343,50344,50345,50346,50347,50348,50349,50350,50351,50352,50353,50354,50355,50356,50357,50358,50359,50360,50361,50362,50363,50364,50365,50366,50367,50368,50369,50370,50371,50372,50373,50374,50375,50376,50377,50378,50379,50380,50381,50382,50383,50384,50385,50386,50387,50388,50389,50390,50391,50392,50393,50394,50395,50396,50397,50398,50399,50400,50401,50402,50403,50404,50405,50406,50407,50408,50409,50410,50411,50412,50413,50414,50415,50416,50417,50418,50419,50420,50421,50422,50423,50424,50425,50426,50427,50428,50429,50430,50431,50432,50433,50434,50435,50436,50437,50438,50439,50440,50441,50442,50443,50444,50445,50446,50447,50448,50449,50450,50451,50452,50453,50454,50455,50456,50457,50458,50459,50460,50461,50462,50463,50464,50465,50466,50467,50468,50469,50470,50471,50472,50473,50474,50475,50476,50477,50478,50479,50480,50481,50482,50483,50484,50485,50486,50487,50488,50489,50490,50491,50492,50493,50494,50495,50496,50497,50498,50499,50500,50501,50502,50503,50504,50505,50506,50507,50508,50509,50510,50511,50512,50513,50514,50515,50516,50517,50518,50519,50520,50521,50522,50523,50524,50525,50526,50527,50528,50529,50530,50531,50532,50533,50534,50535,50536,50537,50538,50539,50540,50541,50542,50543,50544,50545,50546,50547,50548,50549,50550,50551,50552,50553,50554,50555,50556,50557,50558,50559,50560,50561,50562,50563,50564,50565,50566,50567,50568,50569,50570,50571,50572,50573,50574,50575,50576,50577,50578,50579,50580,50581,50582,50583,50584,50585,50586,50587,50588,50589,50590,50591,50592,50593,50594,50595,50596,50597,50598,50599,50600,50601,50602,50603,50604,50605,50606,50607,50608,50609,50610,50611,50612,50613,50614,50615,50616,50617,50618,50619,50620,50621,50622,50623,50624,50625,50626,50627,50628,50629,50630,50631,50632,50633,50634,50635,50636,50637,50638,50639,50640,50641,50642,50643,50644,50645,50646,50647,50648,50649,50650,50651,50652,50653,50654,50655,50656,50657,50658,50659,50660,50661,50662,50663,50664,50665,50666,50667,50668,50669,50670,50671,50672,50673,50674,50675,50676,50677,50678,50679,50680,50681,50682,50683,50684,50685,50686,50687,50688,50689,50690,50691,50692,50693,50694,50695,50696,50697,50698,50699,50700,50701,50702,50703,50704,50705,50706,50707,50708,50709,50710,50711,50712,50713,50714,50715,50716,50717,50718,50719,50720,50721,50722,50723,50724,50725,50726,50727,50728,50729,50730,50731,50732,50733,50734,50735,50736,50737,50738,50739,50740,50741,50742,50743,50744,50745,50746,50747,50748,50749,50750,50751,50752,50753,50754,50755,50756,50757,50758,50759,50760,50761,50762,50763,50764,50765,50766,50767,50768,50769,50770,50771,50772,50773,50774,50775,50776,50777,50778,50779,50780,50781,50782,50783,50784,50785,50786,50787,50788,50789,50790,50791,50792,50793,50794,50795,50796,50797,50798,50799,50800,50801,50802,50803,50804,50805,50806,50807,50808,50809,50810,50811,50812,50813,50814,50815,50816,50817,50818,50819,50820,50821,50822,50823,50824,50825,50826,50827,50828,50829,50830,50831,50832,50833,50834,50835,50836,50837,50838,50839,50840,50841,50842,50843,50844,50845,50846,50847,50848,50849,50850,50851,50852,50853,50854,50855,50856,50857,50858,50859,50860,50861,50862,50863,50864,50865,50866,50867,50868,50869,50870,50871,50872,50873,50874,50875,50876,50877,50878,50879,50880,50881,50882,50883,50884,50885,50886,50887,50888,50889,50890,50891,50892,50893,50894,50895,50896,50897,50898,50899,50900,50901,50902,50903,50904,50905,50906,50907,50908,50909,50910,50911,50912,50913,50914,50915,50916,50917,50918,50919,50920,50921,50922,50923,50924,50925,50926,50927,50928,50929,50930,50931,50932,50933,50934,50935,50936,50937,50938,50939,50940,50941,50942,50943,50944,50945,50946,50947,50948,50949,50950,50951,50952,50953,50954,50955,50956,50957,50958,50959,50960,50961,50962,50963,50964,50965,50966,50967,50968,50969,50970,50971,50972,50973,50974,50975,50976,50977,50978,50979,50980,50981,50982,50983,50984,50985,50986,50987,50988,50989,50990,50991,50992,50993,50994,50995,50996,50997,50998,50999,51000,51001,51002,51003,51004,51005,51006,51007,51008,51009,51010,51011,51012,51013,51014,51015,51016,51017,51018,51019,51020,51021,51022,51023,51024,51025,51026,51027,51028,51029,51030,51031,51032,51033,51034,51035,51036,51037,51038,51039,51040,51041,51042,51043,51044,51045,51046,51047,51048,51049,51050,51051,51052,51053,51054,51055,51056,51057,51058,51059,51060,51061,51062,51063,51064,51065,51066,51067,51068,51069,51070,51071,51072,51073,51074,51075,51076,51077,51078,51079,51080,51081,51082,51083,51084,51085,51086,51087,51088,51089,51090,51091,51092,51093,51094,51095,51096,51097,51098,51099,51100,51101,51102,51103,51104,51105,51106,51107,51108,51109,51110,51111,51112,51113,51114,51115,51116,51117,51118,51119,51120,51121,51122,51123,51124,51125,51126,51127,51128,51129,51130,51131,51132,51133,51134,51135,51136,51137,51138,51139,51140,51141,51142,51143,51144,51145,51146,51147,51148,51149,51150,51151,51152,51153,51154,51155,51156,51157,51158,51159,51160,51161,51162,51163,51164,51165,51166,51167,51168,51169,51170,51171,51172,51173,51174,51175,51176,51177,51178,51179,51180,51181,51182,51183,51184,51185,51186,51187,51188,51189,51190,51191,51192,51193,51194,51195,51196,51197,51198,51199,51200,51201,51202,51203,51204,51205,51206,51207,51208,51209,51210,51211,51212,51213,51214,51215,51216,51217,51218,51219,51220,51221,51222,51223,51224,51225,51226,51227,51228,51229,51230,51231,51232,51233,51234,51235,51236,51237,51238,51239,51240,51241,51242,51243,51244,51245,51246,51247,51248,51249,51250,51251,51252,51253,51254,51255,51256,51257,51258,51259,51260,51261,51262,51263,51264,51265,51266,51267,51268,51269,51270,51271,51272,51273,51274,51275,51276,51277,51278,51279,51280,51281,51282,51283,51284,51285,51286,51287,51288,51289,51290,51291,51292,51293,51294,51295,51296,51297,51298,51299,51300,51301,51302,51303,51304,51305,51306,51307,51308,51309,51310,51311,51312,51313,51314,51315,51316,51317,51318,51319,51320,51321,51322,51323,51324,51325,51326,51327,51328,51329,51330,51331,51332,51333,51334,51335,51336,51337,51338,51339,51340,51341,51342,51343,51344,51345,51346,51347,51348,51349,51350,51351,51352,51353,51354,51355,51356,51357,51358,51359,51360,51361,51362,51363,51364,51365,51366,51367,51368,51369,51370,51371,51372,51373,51374,51375,51376,51377,51378,51379,51380,51381,51382,51383,51384,51385,51386,51387,51388,51389,51390,51391,51392,51393,51394,51395,51396,51397,51398,51399,51400,51401,51402,51403,51404,51405,51406,51407,51408,51409,51410,51411,51412,51413,51414,51415,51416,51417,51418,51419,51420,51421,51422,51423,51424,51425,51426,51427,51428,51429,51430,51431,51432,51433,51434,51435,51436,51437,51438,51439,51440,51441,51442,51443,51444,51445,51446,51447,51448,51449,51450,51451,51452,51453,51454,51455,51456,51457,51458,51459,51460,51461,51462,51463,51464,51465,51466,51467,51468,51469,51470,51471,51472,51473,51474,51475,51476,51477,51478,51479,51480,51481,51482,51483,51484,51485,51486,51487,51488,51489,51490,51491,51492,51493,51494,51495,51496,51497,51498,51499,51500,51501,51502,51503,51504,51505,51506,51507,51508,51509,51510,51511,51512,51513,51514,51515,51516,51517,51518,51519,51520,51521,51522,51523,51524,51525,51526,51527,51528,51529,51530,51531,51532,51533,51534,51535,51536,51537,51538,51539,51540,51541,51542,51543,51544,51545,51546,51547,51548,51549,51550,51551,51552,51553,51554,51555,51556,51557,51558,51559,51560,51561,51562,51563,51564,51565,51566,51567,51568,51569,51570,51571,51572,51573,51574,51575,51576,51577,51578,51579,51580,51581,51582,51583,51584,51585,51586,51587,51588,51589,51590,51591,51592,51593,51594,51595,51596,51597,51598,51599,51600,51601,51602,51603,51604,51605,51606,51607,51608,51609,51610,51611,51612,51613,51614,51615,51616,51617,51618,51619,51620,51621,51622,51623,51624,51625,51626,51627,51628,51629,51630,51631,51632,51633,51634,51635,51636,51637,51638,51639,51640,51641,51642,51643,51644,51645,51646,51647,51648,51649,51650,51651,51652,51653,51654,51655,51656,51657,51658,51659,51660,51661,51662,51663,51664,51665,51666,51667,51668,51669,51670,51671,51672,51673,51674,51675,51676,51677,51678,51679,51680,51681,51682,51683,51684,51685,51686,51687,51688,51689,51690,51691,51692,51693,51694,51695,51696,51697,51698,51699,51700,51701,51702,51703,51704,51705,51706,51707,51708,51709,51710,51711,51712,51713,51714,51715,51716,51717,51718,51719,51720,51721,51722,51723,51724,51725,51726,51727,51728,51729,51730,51731,51732,51733,51734,51735,51736,51737,51738,51739,51740,51741,51742,51743,51744,51745,51746,51747,51748,51749,51750,51751,51752,51753,51754,51755,51756,51757,51758,51759,51760,51761,51762,51763,51764,51765,51766,51767,51768,51769,51770,51771,51772,51773,51774,51775,51776,51777,51778,51779,51780,51781,51782,51783,51784,51785,51786,51787,51788,51789,51790,51791,51792,51793,51794,51795,51796,51797,51798,51799,51800,51801,51802,51803,51804,51805,51806,51807,51808,51809,51810,51811,51812,51813,51814,51815,51816,51817,51818,51819,51820,51821,51822,51823,51824,51825,51826,51827,51828,51829,51830,51831,51832,51833,51834,51835,51836,51837,51838,51839,51840,51841,51842,51843,51844,51845,51846,51847,51848,51849,51850,51851,51852,51853,51854,51855,51856,51857,51858,51859,51860,51861,51862,51863,51864,51865,51866,51867,51868,51869,51870,51871,51872,51873,51874,51875,51876,51877,51878,51879,51880,51881,51882,51883,51884,51885,51886,51887,51888,51889,51890,51891,51892,51893,51894,51895,51896,51897,51898,51899,51900,51901,51902,51903,51904,51905,51906,51907,51908,51909,51910,51911,51912,51913,51914,51915,51916,51917,51918,51919,51920,51921,51922,51923,51924,51925,51926,51927,51928,51929,51930,51931,51932,51933,51934,51935,51936,51937,51938,51939,51940,51941,51942,51943,51944,51945,51946,51947,51948,51949,51950,51951,51952,51953,51954,51955,51956,51957,51958,51959,51960,51961,51962,51963,51964,51965,51966,51967,51968,51969,51970,51971,51972,51973,51974,51975,51976,51977,51978,51979,51980,51981,51982,51983,51984,51985,51986,51987,51988,51989,51990,51991,51992,51993,51994,51995,51996,51997,51998,51999,52000,52001,52002,52003,52004,52005,52006,52007,52008,52009,52010,52011,52012,52013,52014,52015,52016,52017,52018,52019,52020,52021,52022,52023,52024,52025,52026,52027,52028,52029,52030,52031,52032,52033,52034,52035,52036,52037,52038,52039,52040,52041,52042,52043,52044,52045,52046,52047,52048,52049,52050,52051,52052,52053,52054,52055,52056,52057,52058,52059,52060,52061,52062,52063,52064,52065,52066,52067,52068,52069,52070,52071,52072,52073,52074,52075,52076,52077,52078,52079,52080,52081,52082,52083,52084,52085,52086,52087,52088,52089,52090,52091,52092,52093,52094,52095,52096,52097,52098,52099,52100,52101,52102,52103,52104,52105,52106,52107,52108,52109,52110,52111,52112,52113,52114,52115,52116,52117,52118,52119,52120,52121,52122,52123,52124,52125,52126,52127,52128,52129,52130,52131,52132,52133,52134,52135,52136,52137,52138,52139,52140,52141,52142,52143,52144,52145,52146,52147,52148,52149,52150,52151,52152,52153,52154,52155,52156,52157,52158,52159,52160,52161,52162,52163,52164,52165,52166,52167,52168,52169,52170,52171,52172,52173,52174,52175,52176,52177,52178,52179,52180,52181,52182,52183,52184,52185,52186,52187,52188,52189,52190,52191,52192,52193,52194,52195,52196,52197,52198,52199,52200,52201,52202,52203,52204,52205,52206,52207,52208,52209,52210,52211,52212,52213,52214,52215,52216,52217,52218,52219,52220,52221,52222,52223,52224,52225,52226,52227,52228,52229,52230,52231,52232,52233,52234,52235,52236,52237,52238,52239,52240,52241,52242,52243,52244,52245,52246,52247,52248,52249,52250,52251,52252,52253,52254,52255,52256,52257,52258,52259,52260,52261,52262,52263,52264,52265,52266,52267,52268,52269,52270,52271,52272,52273,52274,52275,52276,52277,52278,52279,52280,52281,52282,52283,52284,52285,52286,52287,52288,52289,52290,52291,52292,52293,52294,52295,52296,52297,52298,52299,52300,52301,52302,52303,52304,52305,52306,52307,52308,52309,52310,52311,52312,52313,52314,52315,52316,52317,52318,52319,52320,52321,52322,52323,52324,52325,52326,52327,52328,52329,52330,52331,52332,52333,52334,52335,52336,52337,52338,52339,52340,52341,52342,52343,52344,52345,52346,52347,52348,52349,52350,52351,52352,52353,52354,52355,52356,52357,52358,52359,52360,52361,52362,52363,52364,52365,52366,52367,52368,52369,52370,52371,52372,52373,52374,52375,52376,52377,52378,52379,52380,52381,52382,52383,52384,52385,52386,52387,52388,52389,52390,52391,52392,52393,52394,52395,52396,52397,52398,52399,52400,52401,52402,52403,52404,52405,52406,52407,52408,52409,52410,52411,52412,52413,52414,52415,52416,52417,52418,52419,52420,52421,52422,52423,52424,52425,52426,52427,52428,52429,52430,52431,52432,52433,52434,52435,52436,52437,52438,52439,52440,52441,52442,52443,52444,52445,52446,52447,52448,52449,52450,52451,52452,52453,52454,52455,52456,52457,52458,52459,52460,52461,52462,52463,52464,52465,52466,52467,52468,52469,52470,52471,52472,52473,52474,52475,52476,52477,52478,52479,52480,52481,52482,52483,52484,52485,52486,52487,52488,52489,52490,52491,52492,52493,52494,52495,52496,52497,52498,52499,52500,52501,52502,52503,52504,52505,52506,52507,52508,52509,52510,52511,52512,52513,52514,52515,52516,52517,52518,52519,52520,52521,52522,52523,52524,52525,52526,52527,52528,52529,52530,52531,52532,52533,52534,52535,52536,52537,52538,52539,52540,52541,52542,52543,52544,52545,52546,52547,52548,52549,52550,52551,52552,52553,52554,52555,52556,52557,52558,52559,52560,52561,52562,52563,52564,52565,52566,52567,52568,52569,52570,52571,52572,52573,52574,52575,52576,52577,52578,52579,52580,52581,52582,52583,52584,52585,52586,52587,52588,52589,52590,52591,52592,52593,52594,52595,52596,52597,52598,52599,52600,52601,52602,52603,52604,52605,52606,52607,52608,52609,52610,52611,52612,52613,52614,52615,52616,52617,52618,52619,52620,52621,52622,52623,52624,52625,52626,52627,52628,52629,52630,52631,52632,52633,52634,52635,52636,52637,52638,52639,52640,52641,52642,52643,52644,52645,52646,52647,52648,52649,52650,52651,52652,52653,52654,52655,52656,52657,52658,52659,52660,52661,52662,52663,52664,52665,52666,52667,52668,52669,52670,52671,52672,52673,52674,52675,52676,52677,52678,52679,52680,52681,52682,52683,52684,52685,52686,52687,52688,52689,52690,52691,52692,52693,52694,52695,52696,52697,52698,52699,52700,52701,52702,52703,52704,52705,52706,52707,52708,52709,52710,52711,52712,52713,52714,52715,52716,52717,52718,52719,52720,52721,52722,52723,52724,52725,52726,52727,52728,52729,52730,52731,52732,52733,52734,52735,52736,52737,52738,52739,52740,52741,52742,52743,52744,52745,52746,52747,52748,52749,52750,52751,52752,52753,52754,52755,52756,52757,52758,52759,52760,52761,52762,52763,52764,52765,52766,52767,52768,52769,52770,52771,52772,52773,52774,52775,52776,52777,52778,52779,52780,52781,52782,52783,52784,52785,52786,52787,52788,52789,52790,52791,52792,52793,52794,52795,52796,52797,52798,52799,52800,52801,52802,52803,52804,52805,52806,52807,52808,52809,52810,52811,52812,52813,52814,52815,52816,52817,52818,52819,52820,52821,52822,52823,52824,52825,52826,52827,52828,52829,52830,52831,52832,52833,52834,52835,52836,52837,52838,52839,52840,52841,52842,52843,52844,52845,52846,52847,52848,52849,52850,52851,52852,52853,52854,52855,52856,52857,52858,52859,52860,52861,52862,52863,52864,52865,52866,52867,52868,52869,52870,52871,52872,52873,52874,52875,52876,52877,52878,52879,52880,52881,52882,52883,52884,52885,52886,52887,52888,52889,52890,52891,52892,52893,52894,52895,52896,52897,52898,52899,52900,52901,52902,52903,52904,52905,52906,52907,52908,52909,52910,52911,52912,52913,52914,52915,52916,52917,52918,52919,52920,52921,52922,52923,52924,52925,52926,52927,52928,52929,52930,52931,52932,52933,52934,52935,52936,52937,52938,52939,52940,52941,52942,52943,52944,52945,52946,52947,52948,52949,52950,52951,52952,52953,52954,52955,52956,52957,52958,52959,52960,52961,52962,52963,52964,52965,52966,52967,52968,52969,52970,52971,52972,52973,52974,52975,52976,52977,52978,52979,52980,52981,52982,52983,52984,52985,52986,52987,52988,52989,52990,52991,52992,52993,52994,52995,52996,52997,52998,52999,53000,53001,53002,53003,53004,53005,53006,53007,53008,53009,53010,53011,53012,53013,53014,53015,53016,53017,53018,53019,53020,53021,53022,53023,53024,53025,53026,53027,53028,53029,53030,53031,53032,53033,53034,53035,53036,53037,53038,53039,53040,53041,53042,53043,53044,53045,53046,53047,53048,53049,53050,53051,53052,53053,53054,53055,53056,53057,53058,53059,53060,53061,53062,53063,53064,53065,53066,53067,53068,53069,53070,53071,53072,53073,53074,53075,53076,53077,53078,53079,53080,53081,53082,53083,53084,53085,53086,53087,53088,53089,53090,53091,53092,53093,53094,53095,53096,53097,53098,53099,53100,53101,53102,53103,53104,53105,53106,53107,53108,53109,53110,53111,53112,53113,53114,53115,53116,53117,53118,53119,53120,53121,53122,53123,53124,53125,53126,53127,53128,53129,53130,53131,53132,53133,53134,53135,53136,53137,53138,53139,53140,53141,53142,53143,53144,53145,53146,53147,53148,53149,53150,53151,53152,53153,53154,53155,53156,53157,53158,53159,53160,53161,53162,53163,53164,53165,53166,53167,53168,53169,53170,53171,53172,53173,53174,53175,53176,53177,53178,53179,53180,53181,53182,53183,53184,53185,53186,53187,53188,53189,53190,53191,53192,53193,53194,53195,53196,53197,53198,53199,53200,53201,53202,53203,53204,53205,53206,53207,53208,53209,53210,53211,53212,53213,53214,53215,53216,53217,53218,53219,53220,53221,53222,53223,53224,53225,53226,53227,53228,53229,53230,53231,53232,53233,53234,53235,53236,53237,53238,53239,53240,53241,53242,53243,53244,53245,53246,53247,53248,53249,53250,53251,53252,53253,53254,53255,53256,53257,53258,53259,53260,53261,53262,53263,53264,53265,53266,53267,53268,53269,53270,53271,53272,53273,53274,53275,53276,53277,53278,53279,53280,53281,53282,53283,53284,53285,53286,53287,53288,53289,53290,53291,53292,53293,53294,53295,53296,53297,53298,53299,53300,53301,53302,53303,53304,53305,53306,53307,53308,53309,53310,53311,53312,53313,53314,53315,53316,53317,53318,53319,53320,53321,53322,53323,53324,53325,53326,53327,53328,53329,53330,53331,53332,53333,53334,53335,53336,53337,53338,53339,53340,53341,53342,53343,53344,53345,53346,53347,53348,53349,53350,53351,53352,53353,53354,53355,53356,53357,53358,53359,53360,53361,53362,53363,53364,53365,53366,53367,53368,53369,53370,53371,53372,53373,53374,53375,53376,53377,53378,53379,53380,53381,53382,53383,53384,53385,53386,53387,53388,53389,53390,53391,53392,53393,53394,53395,53396,53397,53398,53399,53400,53401,53402,53403,53404,53405,53406,53407,53408,53409,53410,53411,53412,53413,53414,53415,53416,53417,53418,53419,53420,53421,53422,53423,53424,53425,53426,53427,53428,53429,53430,53431,53432,53433,53434,53435,53436,53437,53438,53439,53440,53441,53442,53443,53444,53445,53446,53447,53448,53449,53450,53451,53452,53453,53454,53455,53456,53457,53458,53459,53460,53461,53462,53463,53464,53465,53466,53467,53468,53469,53470,53471,53472,53473,53474,53475,53476,53477,53478,53479,53480,53481,53482,53483,53484,53485,53486,53487,53488,53489,53490,53491,53492,53493,53494,53495,53496,53497,53498,53499,53500,53501,53502,53503,53504,53505,53506,53507,53508,53509,53510,53511,53512,53513,53514,53515,53516,53517,53518,53519,53520,53521,53522,53523,53524,53525,53526,53527,53528,53529,53530,53531,53532,53533,53534,53535,53536,53537,53538,53539,53540,53541,53542,53543,53544,53545,53546,53547,53548,53549,53550,53551,53552,53553,53554,53555,53556,53557,53558,53559,53560,53561,53562,53563,53564,53565,53566,53567,53568,53569,53570,53571,53572,53573,53574,53575,53576,53577,53578,53579,53580,53581,53582,53583,53584,53585,53586,53587,53588,53589,53590,53591,53592,53593,53594,53595,53596,53597,53598,53599,53600,53601,53602,53603,53604,53605,53606,53607,53608,53609,53610,53611,53612,53613,53614,53615,53616,53617,53618,53619,53620,53621,53622,53623,53624,53625,53626,53627,53628,53629,53630,53631,53632,53633,53634,53635,53636,53637,53638,53639,53640,53641,53642,53643,53644,53645,53646,53647,53648,53649,53650,53651,53652,53653,53654,53655,53656,53657,53658,53659,53660,53661,53662,53663,53664,53665,53666,53667,53668,53669,53670,53671,53672,53673,53674,53675,53676,53677,53678,53679,53680,53681,53682,53683,53684,53685,53686,53687,53688,53689,53690,53691,53692,53693,53694,53695,53696,53697,53698,53699,53700,53701,53702,53703,53704,53705,53706,53707,53708,53709,53710,53711,53712,53713,53714,53715,53716,53717,53718,53719,53720,53721,53722,53723,53724,53725,53726,53727,53728,53729,53730,53731,53732,53733,53734,53735,53736,53737,53738,53739,53740,53741,53742,53743,53744,53745,53746,53747,53748,53749,53750,53751,53752,53753,53754,53755,53756,53757,53758,53759,53760,53761,53762,53763,53764,53765,53766,53767,53768,53769,53770,53771,53772,53773,53774,53775,53776,53777,53778,53779,53780,53781,53782,53783,53784,53785,53786,53787,53788,53789,53790,53791,53792,53793,53794,53795,53796,53797,53798,53799,53800,53801,53802,53803,53804,53805,53806,53807,53808,53809,53810,53811,53812,53813,53814,53815,53816,53817,53818,53819,53820,53821,53822,53823,53824,53825,53826,53827,53828,53829,53830,53831,53832,53833,53834,53835,53836,53837,53838,53839,53840,53841,53842,53843,53844,53845,53846,53847,53848,53849,53850,53851,53852,53853,53854,53855,53856,53857,53858,53859,53860,53861,53862,53863,53864,53865,53866,53867,53868,53869,53870,53871,53872,53873,53874,53875,53876,53877,53878,53879,53880,53881,53882,53883,53884,53885,53886,53887,53888,53889,53890,53891,53892,53893,53894,53895,53896,53897,53898,53899,53900,53901,53902,53903,53904,53905,53906,53907,53908,53909,53910,53911,53912,53913,53914,53915,53916,53917,53918,53919,53920,53921,53922,53923,53924,53925,53926,53927,53928,53929,53930,53931,53932,53933,53934,53935,53936,53937,53938,53939,53940,53941,53942,53943,53944,53945,53946,53947,53948,53949,53950,53951,53952,53953,53954,53955,53956,53957,53958,53959,53960,53961,53962,53963,53964,53965,53966,53967,53968,53969,53970,53971,53972,53973,53974,53975,53976,53977,53978,53979,53980,53981,53982,53983,53984,53985,53986,53987,53988,53989,53990,53991,53992,53993,53994,53995,53996,53997,53998,53999,54000,54001,54002,54003,54004,54005,54006,54007,54008,54009,54010,54011,54012,54013,54014,54015,54016,54017,54018,54019,54020,54021,54022,54023,54024,54025,54026,54027,54028,54029,54030,54031,54032,54033,54034,54035,54036,54037,54038,54039,54040,54041,54042,54043,54044,54045,54046,54047,54048,54049,54050,54051,54052,54053,54054,54055,54056,54057,54058,54059,54060,54061,54062,54063,54064,54065,54066,54067,54068,54069,54070,54071,54072,54073,54074,54075,54076,54077,54078,54079,54080,54081,54082,54083,54084,54085,54086,54087,54088,54089,54090,54091,54092,54093,54094,54095,54096,54097,54098,54099,54100,54101,54102,54103,54104,54105,54106,54107,54108,54109,54110,54111,54112,54113,54114,54115,54116,54117,54118,54119,54120,54121,54122,54123,54124,54125,54126,54127,54128,54129,54130,54131,54132,54133,54134,54135,54136,54137,54138,54139,54140,54141,54142,54143,54144,54145,54146,54147,54148,54149,54150,54151,54152,54153,54154,54155,54156,54157,54158,54159,54160,54161,54162,54163,54164,54165,54166,54167,54168,54169,54170,54171,54172,54173,54174,54175,54176,54177,54178,54179,54180,54181,54182,54183,54184,54185,54186,54187,54188,54189,54190,54191,54192,54193,54194,54195,54196,54197,54198,54199,54200,54201,54202,54203,54204,54205,54206,54207,54208,54209,54210,54211,54212,54213,54214,54215,54216,54217,54218,54219,54220,54221,54222,54223,54224,54225,54226,54227,54228,54229,54230,54231,54232,54233,54234,54235,54236,54237,54238,54239,54240,54241,54242,54243,54244,54245,54246,54247,54248,54249,54250,54251,54252,54253,54254,54255,54256,54257,54258,54259,54260,54261,54262,54263,54264,54265,54266,54267,54268,54269,54270,54271,54272,54273,54274,54275,54276,54277,54278,54279,54280,54281,54282,54283,54284,54285,54286,54287,54288,54289,54290,54291,54292,54293,54294,54295,54296,54297,54298,54299,54300,54301,54302,54303,54304,54305,54306,54307,54308,54309,54310,54311,54312,54313,54314,54315,54316,54317,54318,54319,54320,54321,54322,54323,54324,54325,54326,54327,54328,54329,54330,54331,54332,54333,54334,54335,54336,54337,54338,54339,54340,54341,54342,54343,54344,54345,54346,54347,54348,54349,54350,54351,54352,54353,54354,54355,54356,54357,54358,54359,54360,54361,54362,54363,54364,54365,54366,54367,54368,54369,54370,54371,54372,54373,54374,54375,54376,54377,54378,54379,54380,54381,54382,54383,54384,54385,54386,54387,54388,54389,54390,54391,54392,54393,54394,54395,54396,54397,54398,54399,54400,54401,54402,54403,54404,54405,54406,54407,54408,54409,54410,54411,54412,54413,54414,54415,54416,54417,54418,54419,54420,54421,54422,54423,54424,54425,54426,54427,54428,54429,54430,54431,54432,54433,54434,54435,54436,54437,54438,54439,54440,54441,54442,54443,54444,54445,54446,54447,54448,54449,54450,54451,54452,54453,54454,54455,54456,54457,54458,54459,54460,54461,54462,54463,54464,54465,54466,54467,54468,54469,54470,54471,54472,54473,54474,54475,54476,54477,54478,54479,54480,54481,54482,54483,54484,54485,54486,54487,54488,54489,54490,54491,54492,54493,54494,54495,54496,54497,54498,54499,54500,54501,54502,54503,54504,54505,54506,54507,54508,54509,54510,54511,54512,54513,54514,54515,54516,54517,54518,54519,54520,54521,54522,54523,54524,54525,54526,54527,54528,54529,54530,54531,54532,54533,54534,54535,54536,54537,54538,54539,54540,54541,54542,54543,54544,54545,54546,54547,54548,54549,54550,54551,54552,54553,54554,54555,54556,54557,54558,54559,54560,54561,54562,54563,54564,54565,54566,54567,54568,54569,54570,54571,54572,54573,54574,54575,54576,54577,54578,54579,54580,54581,54582,54583,54584,54585,54586,54587,54588,54589,54590,54591,54592,54593,54594,54595,54596,54597,54598,54599,54600,54601,54602,54603,54604,54605,54606,54607,54608,54609,54610,54611,54612,54613,54614,54615,54616,54617,54618,54619,54620,54621,54622,54623,54624,54625,54626,54627,54628,54629,54630,54631,54632,54633,54634,54635,54636,54637,54638,54639,54640,54641,54642,54643,54644,54645,54646,54647,54648,54649,54650,54651,54652,54653,54654,54655,54656,54657,54658,54659,54660,54661,54662,54663,54664,54665,54666,54667,54668,54669,54670,54671,54672,54673,54674,54675,54676,54677,54678,54679,54680,54681,54682,54683,54684,54685,54686,54687,54688,54689,54690,54691,54692,54693,54694,54695,54696,54697,54698,54699,54700,54701,54702,54703,54704,54705,54706,54707,54708,54709,54710,54711,54712,54713,54714,54715,54716,54717,54718,54719,54720,54721,54722,54723,54724,54725,54726,54727,54728,54729,54730,54731,54732,54733,54734,54735,54736,54737,54738,54739,54740,54741,54742,54743,54744,54745,54746,54747,54748,54749,54750,54751,54752,54753,54754,54755,54756,54757,54758,54759,54760,54761,54762,54763,54764,54765,54766,54767,54768,54769,54770,54771,54772,54773,54774,54775,54776,54777,54778,54779,54780,54781,54782,54783,54784,54785,54786,54787,54788,54789,54790,54791,54792,54793,54794,54795,54796,54797,54798,54799,54800,54801,54802,54803,54804,54805,54806,54807,54808,54809,54810,54811,54812,54813,54814,54815,54816,54817,54818,54819,54820,54821,54822,54823,54824,54825,54826,54827,54828,54829,54830,54831,54832,54833,54834,54835,54836,54837,54838,54839,54840,54841,54842,54843,54844,54845,54846,54847,54848,54849,54850,54851,54852,54853,54854,54855,54856,54857,54858,54859,54860,54861,54862,54863,54864,54865,54866,54867,54868,54869,54870,54871,54872,54873,54874,54875,54876,54877,54878,54879,54880,54881,54882,54883,54884,54885,54886,54887,54888,54889,54890,54891,54892,54893,54894,54895,54896,54897,54898,54899,54900,54901,54902,54903,54904,54905,54906,54907,54908,54909,54910,54911,54912,54913,54914,54915,54916,54917,54918,54919,54920,54921,54922,54923,54924,54925,54926,54927,54928,54929,54930,54931,54932,54933,54934,54935,54936,54937,54938,54939,54940,54941,54942,54943,54944,54945,54946,54947,54948,54949,54950,54951,54952,54953,54954,54955,54956,54957,54958,54959,54960,54961,54962,54963,54964,54965,54966,54967,54968,54969,54970,54971,54972,54973,54974,54975,54976,54977,54978,54979,54980,54981,54982,54983,54984,54985,54986,54987,54988,54989,54990,54991,54992,54993,54994,54995,54996,54997,54998,54999,55000,55001,55002,55003,55004,55005,55006,55007,55008,55009,55010,55011,55012,55013,55014,55015,55016,55017,55018,55019,55020,55021,55022,55023,55024,55025,55026,55027,55028,55029,55030,55031,55032,55033,55034,55035,55036,55037,55038,55039,55040,55041,55042,55043,55044,55045,55046,55047,55048,55049,55050,55051,55052,55053,55054,55055,55056,55057,55058,55059,55060,55061,55062,55063,55064,55065,55066,55067,55068,55069,55070,55071,55072,55073,55074,55075,55076,55077,55078,55079,55080,55081,55082,55083,55084,55085,55086,55087,55088,55089,55090,55091,55092,55093,55094,55095,55096,55097,55098,55099,55100,55101,55102,55103,55104,55105,55106,55107,55108,55109,55110,55111,55112,55113,55114,55115,55116,55117,55118,55119,55120,55121,55122,55123,55124,55125,55126,55127,55128,55129,55130,55131,55132,55133,55134,55135,55136,55137,55138,55139,55140,55141,55142,55143,55144,55145,55146,55147,55148,55149,55150,55151,55152,55153,55154,55155,55156,55157,55158,55159,55160,55161,55162,55163,55164,55165,55166,55167,55168,55169,55170,55171,55172,55173,55174,55175,55176,55177,55178,55179,55180,55181,55182,55183,55184,55185,55186,55187,55188,55189,55190,55191,55192,55193,55194,55195,55196,55197,55198,55199,55200,55201,55202,55203,55216,55217,55218,55219,55220,55221,55222,55223,55224,55225,55226,55227,55228,55229,55230,55231,55232,55233,55234,55235,55236,55237,55238,55243,55244,55245,55246,55247,55248,55249,55250,55251,55252,55253,55254,55255,55256,55257,55258,55259,55260,55261,55262,55263,55264,55265,55266,55267,55268,55269,55270,55271,55272,55273,55274,55275,55276,55277,55278,55279,55280,55281,55282,55283,55284,55285,55286,55287,55288,55289,55290,55291,63744,63745,63746,63747,63748,63749,63750,63751,63752,63753,63754,63755,63756,63757,63758,63759,63760,63761,63762,63763,63764,63765,63766,63767,63768,63769,63770,63771,63772,63773,63774,63775,63776,63777,63778,63779,63780,63781,63782,63783,63784,63785,63786,63787,63788,63789,63790,63791,63792,63793,63794,63795,63796,63797,63798,63799,63800,63801,63802,63803,63804,63805,63806,63807,63808,63809,63810,63811,63812,63813,63814,63815,63816,63817,63818,63819,63820,63821,63822,63823,63824,63825,63826,63827,63828,63829,63830,63831,63832,63833,63834,63835,63836,63837,63838,63839,63840,63841,63842,63843,63844,63845,63846,63847,63848,63849,63850,63851,63852,63853,63854,63855,63856,63857,63858,63859,63860,63861,63862,63863,63864,63865,63866,63867,63868,63869,63870,63871,63872,63873,63874,63875,63876,63877,63878,63879,63880,63881,63882,63883,63884,63885,63886,63887,63888,63889,63890,63891,63892,63893,63894,63895,63896,63897,63898,63899,63900,63901,63902,63903,63904,63905,63906,63907,63908,63909,63910,63911,63912,63913,63914,63915,63916,63917,63918,63919,63920,63921,63922,63923,63924,63925,63926,63927,63928,63929,63930,63931,63932,63933,63934,63935,63936,63937,63938,63939,63940,63941,63942,63943,63944,63945,63946,63947,63948,63949,63950,63951,63952,63953,63954,63955,63956,63957,63958,63959,63960,63961,63962,63963,63964,63965,63966,63967,63968,63969,63970,63971,63972,63973,63974,63975,63976,63977,63978,63979,63980,63981,63982,63983,63984,63985,63986,63987,63988,63989,63990,63991,63992,63993,63994,63995,63996,63997,63998,63999,64000,64001,64002,64003,64004,64005,64006,64007,64008,64009,64010,64011,64012,64013,64014,64015,64016,64017,64018,64019,64020,64021,64022,64023,64024,64025,64026,64027,64028,64029,64030,64031,64032,64033,64034,64035,64036,64037,64038,64039,64040,64041,64042,64043,64044,64045,64046,64047,64048,64049,64050,64051,64052,64053,64054,64055,64056,64057,64058,64059,64060,64061,64062,64063,64064,64065,64066,64067,64068,64069,64070,64071,64072,64073,64074,64075,64076,64077,64078,64079,64080,64081,64082,64083,64084,64085,64086,64087,64088,64089,64090,64091,64092,64093,64094,64095,64096,64097,64098,64099,64100,64101,64102,64103,64104,64105,64106,64107,64108,64109,64112,64113,64114,64115,64116,64117,64118,64119,64120,64121,64122,64123,64124,64125,64126,64127,64128,64129,64130,64131,64132,64133,64134,64135,64136,64137,64138,64139,64140,64141,64142,64143,64144,64145,64146,64147,64148,64149,64150,64151,64152,64153,64154,64155,64156,64157,64158,64159,64160,64161,64162,64163,64164,64165,64166,64167,64168,64169,64170,64171,64172,64173,64174,64175,64176,64177,64178,64179,64180,64181,64182,64183,64184,64185,64186,64187,64188,64189,64190,64191,64192,64193,64194,64195,64196,64197,64198,64199,64200,64201,64202,64203,64204,64205,64206,64207,64208,64209,64210,64211,64212,64213,64214,64215,64216,64217,64256,64257,64258,64259,64260,64261,64262,64275,64276,64277,64278,64279,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,64377,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,65266,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,65313,65314,65315,65316,65317,65318,65319,65320,65321,65322,65323,65324,65325,65326,65327,65328,65329,65330,65331,65332,65333,65334,65335,65336,65337,65338,65345,65346,65347,65348,65349,65350,65351,65352,65353,65354,65355,65356,65357,65358,65359,65360,65361,65362,65363,65364,65365,65366,65367,65368,65369,65370,65382,65383,65384,65385,65386,65387,65388,65389,65390,65391,65392,65393,65394,65395,65396,65397,65398,65399,65400,65401,65402,65403,65404,65405,65406,65407,65408,65409,65410,65411,65412,65413,65414,65415,65416,65417,65418,65419,65420,65421,65422,65423,65424,65425,65426,65427,65428,65429,65430,65431,65432,65433,65434,65435,65436,65437,65438,65439,65440,65441,65442,65443,65444,65445,65446,65447,65448,65449,65450,65451,65452,65453,65454,65455,65456,65457,65458,65459,65460,65461,65462,65463,65464,65465,65466,65467,65468,65469,65470,65474,65475,65476,65477,65478,65479,65482,65483,65484,65485,65486,65487,65490,65491,65492,65493,65494,65495,65498,65499,65500'; -var arr = str.split(',').map(function(code) { - return parseInt(code, 10); -}); -module.exports = arr; -},{}],"/../../../jshint/node_modules/console-browserify/index.js":[function(_dereq_,module,exports){ -(function (global){ -var util = _dereq_("util") -var assert = _dereq_("assert") -var now = _dereq_("date-now") - -var slice = Array.prototype.slice -var console -var times = {} - -if (typeof global !== "undefined" && global.console) { - console = global.console -} else if (typeof window !== "undefined" && window.console) { - console = window.console -} else { - console = {} -} - -var functions = [ - [log, "log"], - [info, "info"], - [warn, "warn"], - [error, "error"], - [time, "time"], - [timeEnd, "timeEnd"], - [trace, "trace"], - [dir, "dir"], - [consoleAssert, "assert"] -] - -for (var i = 0; i < functions.length; i++) { - var tuple = functions[i] - var f = tuple[0] - var name = tuple[1] - - if (!console[name]) { - console[name] = f - } -} - -module.exports = console - -function log() {} - -function info() { - console.log.apply(console, arguments) -} - -function warn() { - console.log.apply(console, arguments) -} - -function error() { - console.warn.apply(console, arguments) -} - -function time(label) { - times[label] = now() -} - -function timeEnd(label) { - var time = times[label] - if (!time) { - throw new Error("No such label: " + label) - } - - var duration = now() - time - console.log(label + ": " + duration + "ms") -} - -function trace() { - var err = new Error() - err.name = "Trace" - err.message = util.format.apply(null, arguments) - console.error(err.stack) -} - -function dir(object) { - console.log(util.inspect(object) + "\n") -} - -function consoleAssert(expression) { - if (!expression) { - var arr = slice.call(arguments, 1) - assert.ok(false, util.format.apply(null, arr)) - } -} - -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"assert":"/node_modules/assert/assert.js","date-now":"/../../../jshint/node_modules/date-now/index.js","util":"/node_modules/util/util.js"}],"/../../../jshint/node_modules/date-now/index.js":[function(_dereq_,module,exports){ -module.exports = now - -function now() { - return new Date().getTime() -} - -},{}],"/../../../jshint/node_modules/lodash.clone/index.js":[function(_dereq_,module,exports){ -(function (global){ -var LARGE_ARRAY_SIZE = 200; -var HASH_UNDEFINED = '__lodash_hash_undefined__'; -var MAX_SAFE_INTEGER = 9007199254740991; -var argsTag = '[object Arguments]', - arrayTag = '[object Array]', - boolTag = '[object Boolean]', - dateTag = '[object Date]', - errorTag = '[object Error]', - funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - mapTag = '[object Map]', - numberTag = '[object Number]', - objectTag = '[object Object]', - promiseTag = '[object Promise]', - regexpTag = '[object RegExp]', - setTag = '[object Set]', - stringTag = '[object String]', - symbolTag = '[object Symbol]', - weakMapTag = '[object WeakMap]'; - -var arrayBufferTag = '[object ArrayBuffer]', - dataViewTag = '[object DataView]', - float32Tag = '[object Float32Array]', - float64Tag = '[object Float64Array]', - int8Tag = '[object Int8Array]', - int16Tag = '[object Int16Array]', - int32Tag = '[object Int32Array]', - uint8Tag = '[object Uint8Array]', - uint8ClampedTag = '[object Uint8ClampedArray]', - uint16Tag = '[object Uint16Array]', - uint32Tag = '[object Uint32Array]'; -var reRegExpChar = /[\\^$.*+?()[\]{}|]/g; -var reFlags = /\w*$/; -var reIsHostCtor = /^\[object .+?Constructor\]$/; -var reIsUint = /^(?:0|[1-9]\d*)$/; -var cloneableTags = {}; -cloneableTags[argsTag] = cloneableTags[arrayTag] = -cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] = -cloneableTags[boolTag] = cloneableTags[dateTag] = -cloneableTags[float32Tag] = cloneableTags[float64Tag] = -cloneableTags[int8Tag] = cloneableTags[int16Tag] = -cloneableTags[int32Tag] = cloneableTags[mapTag] = -cloneableTags[numberTag] = cloneableTags[objectTag] = -cloneableTags[regexpTag] = cloneableTags[setTag] = -cloneableTags[stringTag] = cloneableTags[symbolTag] = -cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = -cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true; -cloneableTags[errorTag] = cloneableTags[funcTag] = -cloneableTags[weakMapTag] = false; -var freeGlobal = typeof global == 'object' && global && global.Object === Object && global; -var freeSelf = typeof self == 'object' && self && self.Object === Object && self; -var root = freeGlobal || freeSelf || Function('return this')(); -var freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports; -var freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module; -var moduleExports = freeModule && freeModule.exports === freeExports; -function addMapEntry(map, pair) { - map.set(pair[0], pair[1]); - return map; -} -function addSetEntry(set, value) { - set.add(value); - return set; -} -function arrayEach(array, iteratee) { - var index = -1, - length = array ? array.length : 0; - - while (++index < length) { - if (iteratee(array[index], index, array) === false) { - break; - } - } - return array; -} -function arrayPush(array, values) { - var index = -1, - length = values.length, - offset = array.length; - - while (++index < length) { - array[offset + index] = values[index]; - } - return array; -} -function arrayReduce(array, iteratee, accumulator, initAccum) { - var index = -1, - length = array ? array.length : 0; - - if (initAccum && length) { - accumulator = array[++index]; - } - while (++index < length) { - accumulator = iteratee(accumulator, array[index], index, array); - } - return accumulator; -} -function baseTimes(n, iteratee) { - var index = -1, - result = Array(n); - - while (++index < n) { - result[index] = iteratee(index); - } - return result; -} -function getValue(object, key) { - return object == null ? undefined : object[key]; -} -function isHostObject(value) { - var result = false; - if (value != null && typeof value.toString != 'function') { - try { - result = !!(value + ''); - } catch (e) {} - } - return result; -} -function mapToArray(map) { - var index = -1, - result = Array(map.size); - - map.forEach(function(value, key) { - result[++index] = [key, value]; - }); - return result; -} -function overArg(func, transform) { - return function(arg) { - return func(transform(arg)); - }; -} -function setToArray(set) { - var index = -1, - result = Array(set.size); - - set.forEach(function(value) { - result[++index] = value; - }); - return result; -} -var arrayProto = Array.prototype, - funcProto = Function.prototype, - objectProto = Object.prototype; -var coreJsData = root['__core-js_shared__']; -var maskSrcKey = (function() { - var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || ''); - return uid ? ('Symbol(src)_1.' + uid) : ''; -}()); -var funcToString = funcProto.toString; -var hasOwnProperty = objectProto.hasOwnProperty; -var objectToString = objectProto.toString; -var reIsNative = RegExp('^' + - funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&') - .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$' -); -var Buffer = moduleExports ? root.Buffer : undefined, - Symbol = root.Symbol, - Uint8Array = root.Uint8Array, - getPrototype = overArg(Object.getPrototypeOf, Object), - objectCreate = Object.create, - propertyIsEnumerable = objectProto.propertyIsEnumerable, - splice = arrayProto.splice; -var nativeGetSymbols = Object.getOwnPropertySymbols, - nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined, - nativeKeys = overArg(Object.keys, Object); -var DataView = getNative(root, 'DataView'), - Map = getNative(root, 'Map'), - Promise = getNative(root, 'Promise'), - Set = getNative(root, 'Set'), - WeakMap = getNative(root, 'WeakMap'), - nativeCreate = getNative(Object, 'create'); -var dataViewCtorString = toSource(DataView), - mapCtorString = toSource(Map), - promiseCtorString = toSource(Promise), - setCtorString = toSource(Set), - weakMapCtorString = toSource(WeakMap); -var symbolProto = Symbol ? Symbol.prototype : undefined, - symbolValueOf = symbolProto ? symbolProto.valueOf : undefined; -function Hash(entries) { - var index = -1, - length = entries ? entries.length : 0; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} -function hashClear() { - this.__data__ = nativeCreate ? nativeCreate(null) : {}; -} -function hashDelete(key) { - return this.has(key) && delete this.__data__[key]; -} -function hashGet(key) { - var data = this.__data__; - if (nativeCreate) { - var result = data[key]; - return result === HASH_UNDEFINED ? undefined : result; - } - return hasOwnProperty.call(data, key) ? data[key] : undefined; -} -function hashHas(key) { - var data = this.__data__; - return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key); -} -function hashSet(key, value) { - var data = this.__data__; - data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value; - return this; -} -Hash.prototype.clear = hashClear; -Hash.prototype['delete'] = hashDelete; -Hash.prototype.get = hashGet; -Hash.prototype.has = hashHas; -Hash.prototype.set = hashSet; -function ListCache(entries) { - var index = -1, - length = entries ? entries.length : 0; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} -function listCacheClear() { - this.__data__ = []; -} -function listCacheDelete(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - return false; - } - var lastIndex = data.length - 1; - if (index == lastIndex) { - data.pop(); - } else { - splice.call(data, index, 1); - } - return true; -} -function listCacheGet(key) { - var data = this.__data__, - index = assocIndexOf(data, key); - - return index < 0 ? undefined : data[index][1]; -} -function listCacheHas(key) { - return assocIndexOf(this.__data__, key) > -1; -} -function listCacheSet(key, value) { - var data = this.__data__, - index = assocIndexOf(data, key); - - if (index < 0) { - data.push([key, value]); - } else { - data[index][1] = value; - } - return this; -} -ListCache.prototype.clear = listCacheClear; -ListCache.prototype['delete'] = listCacheDelete; -ListCache.prototype.get = listCacheGet; -ListCache.prototype.has = listCacheHas; -ListCache.prototype.set = listCacheSet; -function MapCache(entries) { - var index = -1, - length = entries ? entries.length : 0; - - this.clear(); - while (++index < length) { - var entry = entries[index]; - this.set(entry[0], entry[1]); - } -} -function mapCacheClear() { - this.__data__ = { - 'hash': new Hash, - 'map': new (Map || ListCache), - 'string': new Hash - }; -} -function mapCacheDelete(key) { - return getMapData(this, key)['delete'](key); -} -function mapCacheGet(key) { - return getMapData(this, key).get(key); -} -function mapCacheHas(key) { - return getMapData(this, key).has(key); -} -function mapCacheSet(key, value) { - getMapData(this, key).set(key, value); - return this; -} -MapCache.prototype.clear = mapCacheClear; -MapCache.prototype['delete'] = mapCacheDelete; -MapCache.prototype.get = mapCacheGet; -MapCache.prototype.has = mapCacheHas; -MapCache.prototype.set = mapCacheSet; -function Stack(entries) { - this.__data__ = new ListCache(entries); -} -function stackClear() { - this.__data__ = new ListCache; -} -function stackDelete(key) { - return this.__data__['delete'](key); -} -function stackGet(key) { - return this.__data__.get(key); -} -function stackHas(key) { - return this.__data__.has(key); -} -function stackSet(key, value) { - var cache = this.__data__; - if (cache instanceof ListCache) { - var pairs = cache.__data__; - if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) { - pairs.push([key, value]); - return this; - } - cache = this.__data__ = new MapCache(pairs); - } - cache.set(key, value); - return this; -} -Stack.prototype.clear = stackClear; -Stack.prototype['delete'] = stackDelete; -Stack.prototype.get = stackGet; -Stack.prototype.has = stackHas; -Stack.prototype.set = stackSet; -function arrayLikeKeys(value, inherited) { - var result = (isArray(value) || isArguments(value)) - ? baseTimes(value.length, String) - : []; - - var length = result.length, - skipIndexes = !!length; - - for (var key in value) { - if ((inherited || hasOwnProperty.call(value, key)) && - !(skipIndexes && (key == 'length' || isIndex(key, length)))) { - result.push(key); - } - } - return result; -} -function assignValue(object, key, value) { - var objValue = object[key]; - if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) || - (value === undefined && !(key in object))) { - object[key] = value; - } -} -function assocIndexOf(array, key) { - var length = array.length; - while (length--) { - if (eq(array[length][0], key)) { - return length; - } - } - return -1; -} -function baseAssign(object, source) { - return object && copyObject(source, keys(source), object); -} -function baseClone(value, isDeep, isFull, customizer, key, object, stack) { - var result; - if (customizer) { - result = object ? customizer(value, key, object, stack) : customizer(value); - } - if (result !== undefined) { - return result; - } - if (!isObject(value)) { - return value; - } - var isArr = isArray(value); - if (isArr) { - result = initCloneArray(value); - if (!isDeep) { - return copyArray(value, result); - } - } else { - var tag = getTag(value), - isFunc = tag == funcTag || tag == genTag; - - if (isBuffer(value)) { - return cloneBuffer(value, isDeep); - } - if (tag == objectTag || tag == argsTag || (isFunc && !object)) { - if (isHostObject(value)) { - return object ? value : {}; - } - result = initCloneObject(isFunc ? {} : value); - if (!isDeep) { - return copySymbols(value, baseAssign(result, value)); - } - } else { - if (!cloneableTags[tag]) { - return object ? value : {}; - } - result = initCloneByTag(value, tag, baseClone, isDeep); - } - } - stack || (stack = new Stack); - var stacked = stack.get(value); - if (stacked) { - return stacked; - } - stack.set(value, result); - - if (!isArr) { - var props = isFull ? getAllKeys(value) : keys(value); - } - arrayEach(props || value, function(subValue, key) { - if (props) { - key = subValue; - subValue = value[key]; - } - assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack)); - }); - return result; -} -function baseCreate(proto) { - return isObject(proto) ? objectCreate(proto) : {}; -} -function baseGetAllKeys(object, keysFunc, symbolsFunc) { - var result = keysFunc(object); - return isArray(object) ? result : arrayPush(result, symbolsFunc(object)); -} -function baseGetTag(value) { - return objectToString.call(value); -} -function baseIsNative(value) { - if (!isObject(value) || isMasked(value)) { - return false; - } - var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor; - return pattern.test(toSource(value)); -} -function baseKeys(object) { - if (!isPrototype(object)) { - return nativeKeys(object); - } - var result = []; - for (var key in Object(object)) { - if (hasOwnProperty.call(object, key) && key != 'constructor') { - result.push(key); - } - } - return result; -} -function cloneBuffer(buffer, isDeep) { - if (isDeep) { - return buffer.slice(); - } - var result = new buffer.constructor(buffer.length); - buffer.copy(result); - return result; -} -function cloneArrayBuffer(arrayBuffer) { - var result = new arrayBuffer.constructor(arrayBuffer.byteLength); - new Uint8Array(result).set(new Uint8Array(arrayBuffer)); - return result; -} -function cloneDataView(dataView, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer; - return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength); -} -function cloneMap(map, isDeep, cloneFunc) { - var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map); - return arrayReduce(array, addMapEntry, new map.constructor); -} -function cloneRegExp(regexp) { - var result = new regexp.constructor(regexp.source, reFlags.exec(regexp)); - result.lastIndex = regexp.lastIndex; - return result; -} -function cloneSet(set, isDeep, cloneFunc) { - var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set); - return arrayReduce(array, addSetEntry, new set.constructor); -} -function cloneSymbol(symbol) { - return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {}; -} -function cloneTypedArray(typedArray, isDeep) { - var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer; - return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length); -} -function copyArray(source, array) { - var index = -1, - length = source.length; - - array || (array = Array(length)); - while (++index < length) { - array[index] = source[index]; - } - return array; -} -function copyObject(source, props, object, customizer) { - object || (object = {}); - - var index = -1, - length = props.length; - - while (++index < length) { - var key = props[index]; - - var newValue = customizer - ? customizer(object[key], source[key], key, object, source) - : undefined; - - assignValue(object, key, newValue === undefined ? source[key] : newValue); - } - return object; -} -function copySymbols(source, object) { - return copyObject(source, getSymbols(source), object); -} -function getAllKeys(object) { - return baseGetAllKeys(object, keys, getSymbols); -} -function getMapData(map, key) { - var data = map.__data__; - return isKeyable(key) - ? data[typeof key == 'string' ? 'string' : 'hash'] - : data.map; -} -function getNative(object, key) { - var value = getValue(object, key); - return baseIsNative(value) ? value : undefined; -} -var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray; -var getTag = baseGetTag; -if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) || - (Map && getTag(new Map) != mapTag) || - (Promise && getTag(Promise.resolve()) != promiseTag) || - (Set && getTag(new Set) != setTag) || - (WeakMap && getTag(new WeakMap) != weakMapTag)) { - getTag = function(value) { - var result = objectToString.call(value), - Ctor = result == objectTag ? value.constructor : undefined, - ctorString = Ctor ? toSource(Ctor) : undefined; - - if (ctorString) { - switch (ctorString) { - case dataViewCtorString: return dataViewTag; - case mapCtorString: return mapTag; - case promiseCtorString: return promiseTag; - case setCtorString: return setTag; - case weakMapCtorString: return weakMapTag; - } - } - return result; - }; -} -function initCloneArray(array) { - var length = array.length, - result = array.constructor(length); - if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) { - result.index = array.index; - result.input = array.input; - } - return result; -} -function initCloneObject(object) { - return (typeof object.constructor == 'function' && !isPrototype(object)) - ? baseCreate(getPrototype(object)) - : {}; -} -function initCloneByTag(object, tag, cloneFunc, isDeep) { - var Ctor = object.constructor; - switch (tag) { - case arrayBufferTag: - return cloneArrayBuffer(object); - - case boolTag: - case dateTag: - return new Ctor(+object); - - case dataViewTag: - return cloneDataView(object, isDeep); - - case float32Tag: case float64Tag: - case int8Tag: case int16Tag: case int32Tag: - case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag: - return cloneTypedArray(object, isDeep); - - case mapTag: - return cloneMap(object, isDeep, cloneFunc); - - case numberTag: - case stringTag: - return new Ctor(object); - - case regexpTag: - return cloneRegExp(object); - - case setTag: - return cloneSet(object, isDeep, cloneFunc); - - case symbolTag: - return cloneSymbol(object); - } -} -function isIndex(value, length) { - length = length == null ? MAX_SAFE_INTEGER : length; - return !!length && - (typeof value == 'number' || reIsUint.test(value)) && - (value > -1 && value % 1 == 0 && value < length); -} -function isKeyable(value) { - var type = typeof value; - return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean') - ? (value !== '__proto__') - : (value === null); -} -function isMasked(func) { - return !!maskSrcKey && (maskSrcKey in func); -} -function isPrototype(value) { - var Ctor = value && value.constructor, - proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto; - - return value === proto; -} -function toSource(func) { - if (func != null) { - try { - return funcToString.call(func); - } catch (e) {} - try { - return (func + ''); - } catch (e) {} - } - return ''; -} -function clone(value) { - return baseClone(value, false, true); -} -function eq(value, other) { - return value === other || (value !== value && other !== other); -} -function isArguments(value) { - return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') && - (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag); -} -var isArray = Array.isArray; -function isArrayLike(value) { - return value != null && isLength(value.length) && !isFunction(value); -} -function isArrayLikeObject(value) { - return isObjectLike(value) && isArrayLike(value); -} -var isBuffer = nativeIsBuffer || stubFalse; -function isFunction(value) { - var tag = isObject(value) ? objectToString.call(value) : ''; - return tag == funcTag || tag == genTag; -} -function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; -} -function isObject(value) { - var type = typeof value; - return !!value && (type == 'object' || type == 'function'); -} -function isObjectLike(value) { - return !!value && typeof value == 'object'; -} -function keys(object) { - return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object); -} -function stubArray() { - return []; -} -function stubFalse() { - return false; -} - -module.exports = clone; - -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],"/../../../jshint/node_modules/lodash.slice/index.js":[function(_dereq_,module,exports){ -var INFINITY = 1 / 0, - MAX_SAFE_INTEGER = 9007199254740991, - MAX_INTEGER = 1.7976931348623157e+308, - NAN = 0 / 0; -var funcTag = '[object Function]', - genTag = '[object GeneratorFunction]', - symbolTag = '[object Symbol]'; -var reTrim = /^\s+|\s+$/g; -var reIsBadHex = /^[-+]0x[0-9a-f]+$/i; -var reIsBinary = /^0b[01]+$/i; -var reIsOctal = /^0o[0-7]+$/i; -var reIsUint = /^(?:0|[1-9]\d*)$/; -var freeParseInt = parseInt; -var objectProto = Object.prototype; -var objectToString = objectProto.toString; -function baseSlice(array, start, end) { - var index = -1, - length = array.length; - - if (start < 0) { - start = -start > length ? 0 : (length + start); - } - end = end > length ? length : end; - if (end < 0) { - end += length; - } - length = start > end ? 0 : ((end - start) >>> 0); - start >>>= 0; - - var result = Array(length); - while (++index < length) { - result[index] = array[index + start]; - } - return result; -} -function isIndex(value, length) { - length = length == null ? MAX_SAFE_INTEGER : length; - return !!length && - (typeof value == 'number' || reIsUint.test(value)) && - (value > -1 && value % 1 == 0 && value < length); -} -function isIterateeCall(value, index, object) { - if (!isObject(object)) { - return false; - } - var type = typeof index; - if (type == 'number' - ? (isArrayLike(object) && isIndex(index, object.length)) - : (type == 'string' && index in object) - ) { - return eq(object[index], value); - } - return false; -} -function slice(array, start, end) { - var length = array ? array.length : 0; - if (!length) { - return []; - } - if (end && typeof end != 'number' && isIterateeCall(array, start, end)) { - start = 0; - end = length; - } - else { - start = start == null ? 0 : toInteger(start); - end = end === undefined ? length : toInteger(end); - } - return baseSlice(array, start, end); -} -function eq(value, other) { - return value === other || (value !== value && other !== other); -} -function isArrayLike(value) { - return value != null && isLength(value.length) && !isFunction(value); -} -function isFunction(value) { - var tag = isObject(value) ? objectToString.call(value) : ''; - return tag == funcTag || tag == genTag; -} -function isLength(value) { - return typeof value == 'number' && - value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER; -} -function isObject(value) { - var type = typeof value; - return !!value && (type == 'object' || type == 'function'); -} -function isObjectLike(value) { - return !!value && typeof value == 'object'; -} -function isSymbol(value) { - return typeof value == 'symbol' || - (isObjectLike(value) && objectToString.call(value) == symbolTag); -} -function toFinite(value) { - if (!value) { - return value === 0 ? value : 0; - } - value = toNumber(value); - if (value === INFINITY || value === -INFINITY) { - var sign = (value < 0 ? -1 : 1); - return sign * MAX_INTEGER; - } - return value === value ? value : 0; -} -function toInteger(value) { - var result = toFinite(value), - remainder = result % 1; - - return result === result ? (remainder ? result - remainder : result) : 0; -} -function toNumber(value) { - if (typeof value == 'number') { - return value; - } - if (isSymbol(value)) { - return NAN; - } - if (isObject(value)) { - var other = typeof value.valueOf == 'function' ? value.valueOf() : value; - value = isObject(other) ? (other + '') : other; - } - if (typeof value != 'string') { - return value === 0 ? value : +value; - } - value = value.replace(reTrim, ''); - var isBinary = reIsBinary.test(value); - return (isBinary || reIsOctal.test(value)) - ? freeParseInt(value.slice(2), isBinary ? 2 : 8) - : (reIsBadHex.test(value) ? NAN : +value); -} - -module.exports = slice; - -},{}],"/../../../jshint/node_modules/underscore/underscore-umd.js":[function(_dereq_,module,exports){ -(function (global){ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : - typeof define === 'function' && define.amd ? define('underscore', factory) : - (global = typeof globalThis !== 'undefined' ? globalThis : global || self, (function () { - var current = global._; - var exports = global._ = factory(); - exports.noConflict = function () { global._ = current; return exports; }; - }())); -}(this, (function () { - var VERSION = '1.13.6'; - var root = (typeof self == 'object' && self.self === self && self) || - (typeof global == 'object' && global.global === global && global) || - Function('return this')() || - {}; - var ArrayProto = Array.prototype, ObjProto = Object.prototype; - var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null; - var push = ArrayProto.push, - slice = ArrayProto.slice, - toString = ObjProto.toString, - hasOwnProperty = ObjProto.hasOwnProperty; - var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined', - supportsDataView = typeof DataView !== 'undefined'; - var nativeIsArray = Array.isArray, - nativeKeys = Object.keys, - nativeCreate = Object.create, - nativeIsView = supportsArrayBuffer && ArrayBuffer.isView; - var _isNaN = isNaN, - _isFinite = isFinite; - var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString'); - var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString', - 'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString']; - var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; - function restArguments(func, startIndex) { - startIndex = startIndex == null ? func.length - 1 : +startIndex; - return function() { - var length = Math.max(arguments.length - startIndex, 0), - rest = Array(length), - index = 0; - for (; index < length; index++) { - rest[index] = arguments[index + startIndex]; - } - switch (startIndex) { - case 0: return func.call(this, rest); - case 1: return func.call(this, arguments[0], rest); - case 2: return func.call(this, arguments[0], arguments[1], rest); - } - var args = Array(startIndex + 1); - for (index = 0; index < startIndex; index++) { - args[index] = arguments[index]; - } - args[startIndex] = rest; - return func.apply(this, args); - }; - } - function isObject(obj) { - var type = typeof obj; - return type === 'function' || (type === 'object' && !!obj); - } - function isNull(obj) { - return obj === null; - } - function isUndefined(obj) { - return obj === void 0; - } - function isBoolean(obj) { - return obj === true || obj === false || toString.call(obj) === '[object Boolean]'; - } - function isElement(obj) { - return !!(obj && obj.nodeType === 1); - } - function tagTester(name) { - var tag = '[object ' + name + ']'; - return function(obj) { - return toString.call(obj) === tag; - }; - } - - var isString = tagTester('String'); - - var isNumber = tagTester('Number'); - - var isDate = tagTester('Date'); - - var isRegExp = tagTester('RegExp'); - - var isError = tagTester('Error'); - - var isSymbol = tagTester('Symbol'); - - var isArrayBuffer = tagTester('ArrayBuffer'); - - var isFunction = tagTester('Function'); - var nodelist = root.document && root.document.childNodes; - if (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') { - isFunction = function(obj) { - return typeof obj == 'function' || false; - }; - } - - var isFunction$1 = isFunction; - - var hasObjectTag = tagTester('Object'); - var hasStringTagBug = ( - supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8))) - ), - isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map)); - - var isDataView = tagTester('DataView'); - function ie10IsDataView(obj) { - return obj != null && isFunction$1(obj.getInt8) && isArrayBuffer(obj.buffer); - } - - var isDataView$1 = (hasStringTagBug ? ie10IsDataView : isDataView); - var isArray = nativeIsArray || tagTester('Array'); - function has$1(obj, key) { - return obj != null && hasOwnProperty.call(obj, key); - } - - var isArguments = tagTester('Arguments'); - (function() { - if (!isArguments(arguments)) { - isArguments = function(obj) { - return has$1(obj, 'callee'); - }; - } - }()); - - var isArguments$1 = isArguments; - function isFinite$1(obj) { - return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj)); - } - function isNaN$1(obj) { - return isNumber(obj) && _isNaN(obj); - } - function constant(value) { - return function() { - return value; - }; - } - function createSizePropertyCheck(getSizeProperty) { - return function(collection) { - var sizeProperty = getSizeProperty(collection); - return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX; - } - } - function shallowProperty(key) { - return function(obj) { - return obj == null ? void 0 : obj[key]; - }; - } - var getByteLength = shallowProperty('byteLength'); - var isBufferLike = createSizePropertyCheck(getByteLength); - var typedArrayPattern = /\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/; - function isTypedArray(obj) { - return nativeIsView ? (nativeIsView(obj) && !isDataView$1(obj)) : - isBufferLike(obj) && typedArrayPattern.test(toString.call(obj)); - } - - var isTypedArray$1 = supportsArrayBuffer ? isTypedArray : constant(false); - var getLength = shallowProperty('length'); - function emulatedSet(keys) { - var hash = {}; - for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true; - return { - contains: function(key) { return hash[key] === true; }, - push: function(key) { - hash[key] = true; - return keys.push(key); - } - }; - } - function collectNonEnumProps(obj, keys) { - keys = emulatedSet(keys); - var nonEnumIdx = nonEnumerableProps.length; - var constructor = obj.constructor; - var proto = (isFunction$1(constructor) && constructor.prototype) || ObjProto; - var prop = 'constructor'; - if (has$1(obj, prop) && !keys.contains(prop)) keys.push(prop); - - while (nonEnumIdx--) { - prop = nonEnumerableProps[nonEnumIdx]; - if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) { - keys.push(prop); - } - } - } - function keys(obj) { - if (!isObject(obj)) return []; - if (nativeKeys) return nativeKeys(obj); - var keys = []; - for (var key in obj) if (has$1(obj, key)) keys.push(key); - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; - } - function isEmpty(obj) { - if (obj == null) return true; - var length = getLength(obj); - if (typeof length == 'number' && ( - isArray(obj) || isString(obj) || isArguments$1(obj) - )) return length === 0; - return getLength(keys(obj)) === 0; - } - function isMatch(object, attrs) { - var _keys = keys(attrs), length = _keys.length; - if (object == null) return !length; - var obj = Object(object); - for (var i = 0; i < length; i++) { - var key = _keys[i]; - if (attrs[key] !== obj[key] || !(key in obj)) return false; - } - return true; - } - function _$1(obj) { - if (obj instanceof _$1) return obj; - if (!(this instanceof _$1)) return new _$1(obj); - this._wrapped = obj; - } - - _$1.VERSION = VERSION; - _$1.prototype.value = function() { - return this._wrapped; - }; - _$1.prototype.valueOf = _$1.prototype.toJSON = _$1.prototype.value; - - _$1.prototype.toString = function() { - return String(this._wrapped); - }; - function toBufferView(bufferSource) { - return new Uint8Array( - bufferSource.buffer || bufferSource, - bufferSource.byteOffset || 0, - getByteLength(bufferSource) - ); - } - var tagDataView = '[object DataView]'; - function eq(a, b, aStack, bStack) { - if (a === b) return a !== 0 || 1 / a === 1 / b; - if (a == null || b == null) return false; - if (a !== a) return b !== b; - var type = typeof a; - if (type !== 'function' && type !== 'object' && typeof b != 'object') return false; - return deepEq(a, b, aStack, bStack); - } - function deepEq(a, b, aStack, bStack) { - if (a instanceof _$1) a = a._wrapped; - if (b instanceof _$1) b = b._wrapped; - var className = toString.call(a); - if (className !== toString.call(b)) return false; - if (hasStringTagBug && className == '[object Object]' && isDataView$1(a)) { - if (!isDataView$1(b)) return false; - className = tagDataView; - } - switch (className) { - case '[object RegExp]': - case '[object String]': - return '' + a === '' + b; - case '[object Number]': - if (+a !== +a) return +b !== +b; - return +a === 0 ? 1 / +a === 1 / b : +a === +b; - case '[object Date]': - case '[object Boolean]': - return +a === +b; - case '[object Symbol]': - return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b); - case '[object ArrayBuffer]': - case tagDataView: - return deepEq(toBufferView(a), toBufferView(b), aStack, bStack); - } - - var areArrays = className === '[object Array]'; - if (!areArrays && isTypedArray$1(a)) { - var byteLength = getByteLength(a); - if (byteLength !== getByteLength(b)) return false; - if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true; - areArrays = true; - } - if (!areArrays) { - if (typeof a != 'object' || typeof b != 'object') return false; - var aCtor = a.constructor, bCtor = b.constructor; - if (aCtor !== bCtor && !(isFunction$1(aCtor) && aCtor instanceof aCtor && - isFunction$1(bCtor) && bCtor instanceof bCtor) - && ('constructor' in a && 'constructor' in b)) { - return false; - } - } - aStack = aStack || []; - bStack = bStack || []; - var length = aStack.length; - while (length--) { - if (aStack[length] === a) return bStack[length] === b; - } - aStack.push(a); - bStack.push(b); - if (areArrays) { - length = a.length; - if (length !== b.length) return false; - while (length--) { - if (!eq(a[length], b[length], aStack, bStack)) return false; - } - } else { - var _keys = keys(a), key; - length = _keys.length; - if (keys(b).length !== length) return false; - while (length--) { - key = _keys[length]; - if (!(has$1(b, key) && eq(a[key], b[key], aStack, bStack))) return false; - } - } - aStack.pop(); - bStack.pop(); - return true; - } - function isEqual(a, b) { - return eq(a, b); - } - function allKeys(obj) { - if (!isObject(obj)) return []; - var keys = []; - for (var key in obj) keys.push(key); - if (hasEnumBug) collectNonEnumProps(obj, keys); - return keys; - } - function ie11fingerprint(methods) { - var length = getLength(methods); - return function(obj) { - if (obj == null) return false; - var keys = allKeys(obj); - if (getLength(keys)) return false; - for (var i = 0; i < length; i++) { - if (!isFunction$1(obj[methods[i]])) return false; - } - return methods !== weakMapMethods || !isFunction$1(obj[forEachName]); - }; - } - var forEachName = 'forEach', - hasName = 'has', - commonInit = ['clear', 'delete'], - mapTail = ['get', hasName, 'set']; - var mapMethods = commonInit.concat(forEachName, mapTail), - weakMapMethods = commonInit.concat(mapTail), - setMethods = ['add'].concat(commonInit, forEachName, hasName); - - var isMap = isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map'); - - var isWeakMap = isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap'); - - var isSet = isIE11 ? ie11fingerprint(setMethods) : tagTester('Set'); - - var isWeakSet = tagTester('WeakSet'); - function values(obj) { - var _keys = keys(obj); - var length = _keys.length; - var values = Array(length); - for (var i = 0; i < length; i++) { - values[i] = obj[_keys[i]]; - } - return values; - } - function pairs(obj) { - var _keys = keys(obj); - var length = _keys.length; - var pairs = Array(length); - for (var i = 0; i < length; i++) { - pairs[i] = [_keys[i], obj[_keys[i]]]; - } - return pairs; - } - function invert(obj) { - var result = {}; - var _keys = keys(obj); - for (var i = 0, length = _keys.length; i < length; i++) { - result[obj[_keys[i]]] = _keys[i]; - } - return result; - } - function functions(obj) { - var names = []; - for (var key in obj) { - if (isFunction$1(obj[key])) names.push(key); - } - return names.sort(); - } - function createAssigner(keysFunc, defaults) { - return function(obj) { - var length = arguments.length; - if (defaults) obj = Object(obj); - if (length < 2 || obj == null) return obj; - for (var index = 1; index < length; index++) { - var source = arguments[index], - keys = keysFunc(source), - l = keys.length; - for (var i = 0; i < l; i++) { - var key = keys[i]; - if (!defaults || obj[key] === void 0) obj[key] = source[key]; - } - } - return obj; - }; - } - var extend = createAssigner(allKeys); - var extendOwn = createAssigner(keys); - var defaults = createAssigner(allKeys, true); - function ctor() { - return function(){}; - } - function baseCreate(prototype) { - if (!isObject(prototype)) return {}; - if (nativeCreate) return nativeCreate(prototype); - var Ctor = ctor(); - Ctor.prototype = prototype; - var result = new Ctor; - Ctor.prototype = null; - return result; - } - function create(prototype, props) { - var result = baseCreate(prototype); - if (props) extendOwn(result, props); - return result; - } - function clone(obj) { - if (!isObject(obj)) return obj; - return isArray(obj) ? obj.slice() : extend({}, obj); - } - function tap(obj, interceptor) { - interceptor(obj); - return obj; - } - function toPath$1(path) { - return isArray(path) ? path : [path]; - } - _$1.toPath = toPath$1; - function toPath(path) { - return _$1.toPath(path); - } - function deepGet(obj, path) { - var length = path.length; - for (var i = 0; i < length; i++) { - if (obj == null) return void 0; - obj = obj[path[i]]; - } - return length ? obj : void 0; - } - function get(object, path, defaultValue) { - var value = deepGet(object, toPath(path)); - return isUndefined(value) ? defaultValue : value; - } - function has(obj, path) { - path = toPath(path); - var length = path.length; - for (var i = 0; i < length; i++) { - var key = path[i]; - if (!has$1(obj, key)) return false; - obj = obj[key]; - } - return !!length; - } - function identity(value) { - return value; - } - function matcher(attrs) { - attrs = extendOwn({}, attrs); - return function(obj) { - return isMatch(obj, attrs); - }; - } - function property(path) { - path = toPath(path); - return function(obj) { - return deepGet(obj, path); - }; - } - function optimizeCb(func, context, argCount) { - if (context === void 0) return func; - switch (argCount == null ? 3 : argCount) { - case 1: return function(value) { - return func.call(context, value); - }; - case 3: return function(value, index, collection) { - return func.call(context, value, index, collection); - }; - case 4: return function(accumulator, value, index, collection) { - return func.call(context, accumulator, value, index, collection); - }; - } - return function() { - return func.apply(context, arguments); - }; - } - function baseIteratee(value, context, argCount) { - if (value == null) return identity; - if (isFunction$1(value)) return optimizeCb(value, context, argCount); - if (isObject(value) && !isArray(value)) return matcher(value); - return property(value); - } - function iteratee(value, context) { - return baseIteratee(value, context, Infinity); - } - _$1.iteratee = iteratee; - function cb(value, context, argCount) { - if (_$1.iteratee !== iteratee) return _$1.iteratee(value, context); - return baseIteratee(value, context, argCount); - } - function mapObject(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = keys(obj), - length = _keys.length, - results = {}; - for (var index = 0; index < length; index++) { - var currentKey = _keys[index]; - results[currentKey] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - } - function noop(){} - function propertyOf(obj) { - if (obj == null) return noop; - return function(path) { - return get(obj, path); - }; - } - function times(n, iteratee, context) { - var accum = Array(Math.max(0, n)); - iteratee = optimizeCb(iteratee, context, 1); - for (var i = 0; i < n; i++) accum[i] = iteratee(i); - return accum; - } - function random(min, max) { - if (max == null) { - max = min; - min = 0; - } - return min + Math.floor(Math.random() * (max - min + 1)); - } - var now = Date.now || function() { - return new Date().getTime(); - }; - function createEscaper(map) { - var escaper = function(match) { - return map[match]; - }; - var source = '(?:' + keys(map).join('|') + ')'; - var testRegexp = RegExp(source); - var replaceRegexp = RegExp(source, 'g'); - return function(string) { - string = string == null ? '' : '' + string; - return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string; - }; - } - var escapeMap = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''', - '`': '`' - }; - var _escape = createEscaper(escapeMap); - var unescapeMap = invert(escapeMap); - var _unescape = createEscaper(unescapeMap); - var templateSettings = _$1.templateSettings = { - evaluate: /<%([\s\S]+?)%>/g, - interpolate: /<%=([\s\S]+?)%>/g, - escape: /<%-([\s\S]+?)%>/g - }; - var noMatch = /(.)^/; - var escapes = { - "'": "'", - '\\': '\\', - '\r': 'r', - '\n': 'n', - '\u2028': 'u2028', - '\u2029': 'u2029' - }; - - var escapeRegExp = /\\|'|\r|\n|\u2028|\u2029/g; - - function escapeChar(match) { - return '\\' + escapes[match]; - } - var bareIdentifier = /^\s*(\w|\$)+\s*$/; - function template(text, settings, oldSettings) { - console.error("should not happen"); - } - function result(obj, path, fallback) { - path = toPath(path); - var length = path.length; - if (!length) { - return isFunction$1(fallback) ? fallback.call(obj) : fallback; - } - for (var i = 0; i < length; i++) { - var prop = obj == null ? void 0 : obj[path[i]]; - if (prop === void 0) { - prop = fallback; - i = length; // Ensure we don't continue iterating. - } - obj = isFunction$1(prop) ? prop.call(obj) : prop; - } - return obj; - } - var idCounter = 0; - function uniqueId(prefix) { - var id = ++idCounter + ''; - return prefix ? prefix + id : id; - } - function chain(obj) { - var instance = _$1(obj); - instance._chain = true; - return instance; - } - function executeBound(sourceFunc, boundFunc, context, callingContext, args) { - if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args); - var self = baseCreate(sourceFunc.prototype); - var result = sourceFunc.apply(self, args); - if (isObject(result)) return result; - return self; - } - var partial = restArguments(function(func, boundArgs) { - var placeholder = partial.placeholder; - var bound = function() { - var position = 0, length = boundArgs.length; - var args = Array(length); - for (var i = 0; i < length; i++) { - args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i]; - } - while (position < arguments.length) args.push(arguments[position++]); - return executeBound(func, bound, this, this, args); - }; - return bound; - }); - - partial.placeholder = _$1; - var bind = restArguments(function(func, context, args) { - if (!isFunction$1(func)) throw new TypeError('Bind must be called on a function'); - var bound = restArguments(function(callArgs) { - return executeBound(func, bound, context, this, args.concat(callArgs)); - }); - return bound; - }); - var isArrayLike = createSizePropertyCheck(getLength); - function flatten$1(input, depth, strict, output) { - output = output || []; - if (!depth && depth !== 0) { - depth = Infinity; - } else if (depth <= 0) { - return output.concat(input); - } - var idx = output.length; - for (var i = 0, length = getLength(input); i < length; i++) { - var value = input[i]; - if (isArrayLike(value) && (isArray(value) || isArguments$1(value))) { - if (depth > 1) { - flatten$1(value, depth - 1, strict, output); - idx = output.length; - } else { - var j = 0, len = value.length; - while (j < len) output[idx++] = value[j++]; - } - } else if (!strict) { - output[idx++] = value; - } - } - return output; - } - var bindAll = restArguments(function(obj, keys) { - keys = flatten$1(keys, false, false); - var index = keys.length; - if (index < 1) throw new Error('bindAll must be passed function names'); - while (index--) { - var key = keys[index]; - obj[key] = bind(obj[key], obj); - } - return obj; - }); - function memoize(func, hasher) { - var memoize = function(key) { - var cache = memoize.cache; - var address = '' + (hasher ? hasher.apply(this, arguments) : key); - if (!has$1(cache, address)) cache[address] = func.apply(this, arguments); - return cache[address]; - }; - memoize.cache = {}; - return memoize; - } - var delay = restArguments(function(func, wait, args) { - return setTimeout(function() { - return func.apply(null, args); - }, wait); - }); - var defer = partial(delay, _$1, 1); - function throttle(func, wait, options) { - var timeout, context, args, result; - var previous = 0; - if (!options) options = {}; - - var later = function() { - previous = options.leading === false ? 0 : now(); - timeout = null; - result = func.apply(context, args); - if (!timeout) context = args = null; - }; - - var throttled = function() { - var _now = now(); - if (!previous && options.leading === false) previous = _now; - var remaining = wait - (_now - previous); - context = this; - args = arguments; - if (remaining <= 0 || remaining > wait) { - if (timeout) { - clearTimeout(timeout); - timeout = null; - } - previous = _now; - result = func.apply(context, args); - if (!timeout) context = args = null; - } else if (!timeout && options.trailing !== false) { - timeout = setTimeout(later, remaining); - } - return result; - }; - - throttled.cancel = function() { - clearTimeout(timeout); - previous = 0; - timeout = context = args = null; - }; - - return throttled; - } - function debounce(func, wait, immediate) { - var timeout, previous, args, result, context; - - var later = function() { - var passed = now() - previous; - if (wait > passed) { - timeout = setTimeout(later, wait - passed); - } else { - timeout = null; - if (!immediate) result = func.apply(context, args); - if (!timeout) args = context = null; - } - }; - - var debounced = restArguments(function(_args) { - context = this; - args = _args; - previous = now(); - if (!timeout) { - timeout = setTimeout(later, wait); - if (immediate) result = func.apply(context, args); - } - return result; - }); - - debounced.cancel = function() { - clearTimeout(timeout); - timeout = args = context = null; - }; - - return debounced; - } - function wrap(func, wrapper) { - return partial(wrapper, func); - } - function negate(predicate) { - return function() { - return !predicate.apply(this, arguments); - }; - } - function compose() { - var args = arguments; - var start = args.length - 1; - return function() { - var i = start; - var result = args[start].apply(this, arguments); - while (i--) result = args[i].call(this, result); - return result; - }; - } - function after(times, func) { - return function() { - if (--times < 1) { - return func.apply(this, arguments); - } - }; - } - function before(times, func) { - var memo; - return function() { - if (--times > 0) { - memo = func.apply(this, arguments); - } - if (times <= 1) func = null; - return memo; - }; - } - var once = partial(before, 2); - function findKey(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = keys(obj), key; - for (var i = 0, length = _keys.length; i < length; i++) { - key = _keys[i]; - if (predicate(obj[key], key, obj)) return key; - } - } - function createPredicateIndexFinder(dir) { - return function(array, predicate, context) { - predicate = cb(predicate, context); - var length = getLength(array); - var index = dir > 0 ? 0 : length - 1; - for (; index >= 0 && index < length; index += dir) { - if (predicate(array[index], index, array)) return index; - } - return -1; - }; - } - var findIndex = createPredicateIndexFinder(1); - var findLastIndex = createPredicateIndexFinder(-1); - function sortedIndex(array, obj, iteratee, context) { - iteratee = cb(iteratee, context, 1); - var value = iteratee(obj); - var low = 0, high = getLength(array); - while (low < high) { - var mid = Math.floor((low + high) / 2); - if (iteratee(array[mid]) < value) low = mid + 1; else high = mid; - } - return low; - } - function createIndexFinder(dir, predicateFind, sortedIndex) { - return function(array, item, idx) { - var i = 0, length = getLength(array); - if (typeof idx == 'number') { - if (dir > 0) { - i = idx >= 0 ? idx : Math.max(idx + length, i); - } else { - length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1; - } - } else if (sortedIndex && idx && length) { - idx = sortedIndex(array, item); - return array[idx] === item ? idx : -1; - } - if (item !== item) { - idx = predicateFind(slice.call(array, i, length), isNaN$1); - return idx >= 0 ? idx + i : -1; - } - for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) { - if (array[idx] === item) return idx; - } - return -1; - }; - } - var indexOf = createIndexFinder(1, findIndex, sortedIndex); - var lastIndexOf = createIndexFinder(-1, findLastIndex); - function find(obj, predicate, context) { - var keyFinder = isArrayLike(obj) ? findIndex : findKey; - var key = keyFinder(obj, predicate, context); - if (key !== void 0 && key !== -1) return obj[key]; - } - function findWhere(obj, attrs) { - return find(obj, matcher(attrs)); - } - function each(obj, iteratee, context) { - iteratee = optimizeCb(iteratee, context); - var i, length; - if (isArrayLike(obj)) { - for (i = 0, length = obj.length; i < length; i++) { - iteratee(obj[i], i, obj); - } - } else { - var _keys = keys(obj); - for (i = 0, length = _keys.length; i < length; i++) { - iteratee(obj[_keys[i]], _keys[i], obj); - } - } - return obj; - } - function map(obj, iteratee, context) { - iteratee = cb(iteratee, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - results = Array(length); - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - results[index] = iteratee(obj[currentKey], currentKey, obj); - } - return results; - } - function createReduce(dir) { - var reducer = function(obj, iteratee, memo, initial) { - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length, - index = dir > 0 ? 0 : length - 1; - if (!initial) { - memo = obj[_keys ? _keys[index] : index]; - index += dir; - } - for (; index >= 0 && index < length; index += dir) { - var currentKey = _keys ? _keys[index] : index; - memo = iteratee(memo, obj[currentKey], currentKey, obj); - } - return memo; - }; - - return function(obj, iteratee, memo, context) { - var initial = arguments.length >= 3; - return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial); - }; - } - var reduce = createReduce(1); - var reduceRight = createReduce(-1); - function filter(obj, predicate, context) { - var results = []; - predicate = cb(predicate, context); - each(obj, function(value, index, list) { - if (predicate(value, index, list)) results.push(value); - }); - return results; - } - function reject(obj, predicate, context) { - return filter(obj, negate(cb(predicate)), context); - } - function every(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (!predicate(obj[currentKey], currentKey, obj)) return false; - } - return true; - } - function some(obj, predicate, context) { - predicate = cb(predicate, context); - var _keys = !isArrayLike(obj) && keys(obj), - length = (_keys || obj).length; - for (var index = 0; index < length; index++) { - var currentKey = _keys ? _keys[index] : index; - if (predicate(obj[currentKey], currentKey, obj)) return true; - } - return false; - } - function contains(obj, item, fromIndex, guard) { - if (!isArrayLike(obj)) obj = values(obj); - if (typeof fromIndex != 'number' || guard) fromIndex = 0; - return indexOf(obj, item, fromIndex) >= 0; - } - var invoke = restArguments(function(obj, path, args) { - var contextPath, func; - if (isFunction$1(path)) { - func = path; - } else { - path = toPath(path); - contextPath = path.slice(0, -1); - path = path[path.length - 1]; - } - return map(obj, function(context) { - var method = func; - if (!method) { - if (contextPath && contextPath.length) { - context = deepGet(context, contextPath); - } - if (context == null) return void 0; - method = context[path]; - } - return method == null ? method : method.apply(context, args); - }); - }); - function pluck(obj, key) { - return map(obj, property(key)); - } - function where(obj, attrs) { - return filter(obj, matcher(attrs)); - } - function max(obj, iteratee, context) { - var result = -Infinity, lastComputed = -Infinity, - value, computed; - if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value > result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed > lastComputed || (computed === -Infinity && result === -Infinity)) { - result = v; - lastComputed = computed; - } - }); - } - return result; - } - function min(obj, iteratee, context) { - var result = Infinity, lastComputed = Infinity, - value, computed; - if (iteratee == null || (typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null)) { - obj = isArrayLike(obj) ? obj : values(obj); - for (var i = 0, length = obj.length; i < length; i++) { - value = obj[i]; - if (value != null && value < result) { - result = value; - } - } - } else { - iteratee = cb(iteratee, context); - each(obj, function(v, index, list) { - computed = iteratee(v, index, list); - if (computed < lastComputed || (computed === Infinity && result === Infinity)) { - result = v; - lastComputed = computed; - } - }); - } - return result; - } - var reStrSymbol = /[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g; - function toArray(obj) { - if (!obj) return []; - if (isArray(obj)) return slice.call(obj); - if (isString(obj)) { - return obj.match(reStrSymbol); - } - if (isArrayLike(obj)) return map(obj, identity); - return values(obj); - } - function sample(obj, n, guard) { - if (n == null || guard) { - if (!isArrayLike(obj)) obj = values(obj); - return obj[random(obj.length - 1)]; - } - var sample = toArray(obj); - var length = getLength(sample); - n = Math.max(Math.min(n, length), 0); - var last = length - 1; - for (var index = 0; index < n; index++) { - var rand = random(index, last); - var temp = sample[index]; - sample[index] = sample[rand]; - sample[rand] = temp; - } - return sample.slice(0, n); - } - function shuffle(obj) { - return sample(obj, Infinity); - } - function sortBy(obj, iteratee, context) { - var index = 0; - iteratee = cb(iteratee, context); - return pluck(map(obj, function(value, key, list) { - return { - value: value, - index: index++, - criteria: iteratee(value, key, list) - }; - }).sort(function(left, right) { - var a = left.criteria; - var b = right.criteria; - if (a !== b) { - if (a > b || a === void 0) return 1; - if (a < b || b === void 0) return -1; - } - return left.index - right.index; - }), 'value'); - } - function group(behavior, partition) { - return function(obj, iteratee, context) { - var result = partition ? [[], []] : {}; - iteratee = cb(iteratee, context); - each(obj, function(value, index) { - var key = iteratee(value, index, obj); - behavior(result, value, key); - }); - return result; - }; - } - var groupBy = group(function(result, value, key) { - if (has$1(result, key)) result[key].push(value); else result[key] = [value]; - }); - var indexBy = group(function(result, value, key) { - result[key] = value; - }); - var countBy = group(function(result, value, key) { - if (has$1(result, key)) result[key]++; else result[key] = 1; - }); - var partition = group(function(result, value, pass) { - result[pass ? 0 : 1].push(value); - }, true); - function size(obj) { - if (obj == null) return 0; - return isArrayLike(obj) ? obj.length : keys(obj).length; - } - function keyInObj(value, key, obj) { - return key in obj; - } - var pick = restArguments(function(obj, keys) { - var result = {}, iteratee = keys[0]; - if (obj == null) return result; - if (isFunction$1(iteratee)) { - if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]); - keys = allKeys(obj); - } else { - iteratee = keyInObj; - keys = flatten$1(keys, false, false); - obj = Object(obj); - } - for (var i = 0, length = keys.length; i < length; i++) { - var key = keys[i]; - var value = obj[key]; - if (iteratee(value, key, obj)) result[key] = value; - } - return result; - }); - var omit = restArguments(function(obj, keys) { - var iteratee = keys[0], context; - if (isFunction$1(iteratee)) { - iteratee = negate(iteratee); - if (keys.length > 1) context = keys[1]; - } else { - keys = map(flatten$1(keys, false, false), String); - iteratee = function(value, key) { - return !contains(keys, key); - }; - } - return pick(obj, iteratee, context); - }); - function initial(array, n, guard) { - return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n))); - } - function first(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[0]; - return initial(array, array.length - n); - } - function rest(array, n, guard) { - return slice.call(array, n == null || guard ? 1 : n); - } - function last(array, n, guard) { - if (array == null || array.length < 1) return n == null || guard ? void 0 : []; - if (n == null || guard) return array[array.length - 1]; - return rest(array, Math.max(0, array.length - n)); - } - function compact(array) { - return filter(array, Boolean); - } - function flatten(array, depth) { - return flatten$1(array, depth, false); - } - var difference = restArguments(function(array, rest) { - rest = flatten$1(rest, true, true); - return filter(array, function(value){ - return !contains(rest, value); - }); - }); - var without = restArguments(function(array, otherArrays) { - return difference(array, otherArrays); - }); - function uniq(array, isSorted, iteratee, context) { - if (!isBoolean(isSorted)) { - context = iteratee; - iteratee = isSorted; - isSorted = false; - } - if (iteratee != null) iteratee = cb(iteratee, context); - var result = []; - var seen = []; - for (var i = 0, length = getLength(array); i < length; i++) { - var value = array[i], - computed = iteratee ? iteratee(value, i, array) : value; - if (isSorted && !iteratee) { - if (!i || seen !== computed) result.push(value); - seen = computed; - } else if (iteratee) { - if (!contains(seen, computed)) { - seen.push(computed); - result.push(value); - } - } else if (!contains(result, value)) { - result.push(value); - } - } - return result; - } - var union = restArguments(function(arrays) { - return uniq(flatten$1(arrays, true, true)); - }); - function intersection(array) { - var result = []; - var argsLength = arguments.length; - for (var i = 0, length = getLength(array); i < length; i++) { - var item = array[i]; - if (contains(result, item)) continue; - var j; - for (j = 1; j < argsLength; j++) { - if (!contains(arguments[j], item)) break; - } - if (j === argsLength) result.push(item); - } - return result; - } - function unzip(array) { - var length = (array && max(array, getLength).length) || 0; - var result = Array(length); - - for (var index = 0; index < length; index++) { - result[index] = pluck(array, index); - } - return result; - } - var zip = restArguments(unzip); - function object(list, values) { - var result = {}; - for (var i = 0, length = getLength(list); i < length; i++) { - if (values) { - result[list[i]] = values[i]; - } else { - result[list[i][0]] = list[i][1]; - } - } - return result; - } - function range(start, stop, step) { - if (stop == null) { - stop = start || 0; - start = 0; - } - if (!step) { - step = stop < start ? -1 : 1; - } - - var length = Math.max(Math.ceil((stop - start) / step), 0); - var range = Array(length); - - for (var idx = 0; idx < length; idx++, start += step) { - range[idx] = start; - } - - return range; - } - function chunk(array, count) { - if (count == null || count < 1) return []; - var result = []; - var i = 0, length = array.length; - while (i < length) { - result.push(slice.call(array, i, i += count)); - } - return result; - } - function chainResult(instance, obj) { - return instance._chain ? _$1(obj).chain() : obj; - } - function mixin(obj) { - each(functions(obj), function(name) { - var func = _$1[name] = obj[name]; - _$1.prototype[name] = function() { - var args = [this._wrapped]; - push.apply(args, arguments); - return chainResult(this, func.apply(_$1, args)); - }; - }); - return _$1; - } - each(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) { - var method = ArrayProto[name]; - _$1.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) { - method.apply(obj, arguments); - if ((name === 'shift' || name === 'splice') && obj.length === 0) { - delete obj[0]; - } - } - return chainResult(this, obj); - }; - }); - each(['concat', 'join', 'slice'], function(name) { - var method = ArrayProto[name]; - _$1.prototype[name] = function() { - var obj = this._wrapped; - if (obj != null) obj = method.apply(obj, arguments); - return chainResult(this, obj); - }; - }); - - var allExports = { - __proto__: null, - VERSION: VERSION, - restArguments: restArguments, - isObject: isObject, - isNull: isNull, - isUndefined: isUndefined, - isBoolean: isBoolean, - isElement: isElement, - isString: isString, - isNumber: isNumber, - isDate: isDate, - isRegExp: isRegExp, - isError: isError, - isSymbol: isSymbol, - isArrayBuffer: isArrayBuffer, - isDataView: isDataView$1, - isArray: isArray, - isFunction: isFunction$1, - isArguments: isArguments$1, - isFinite: isFinite$1, - isNaN: isNaN$1, - isTypedArray: isTypedArray$1, - isEmpty: isEmpty, - isMatch: isMatch, - isEqual: isEqual, - isMap: isMap, - isWeakMap: isWeakMap, - isSet: isSet, - isWeakSet: isWeakSet, - keys: keys, - allKeys: allKeys, - values: values, - pairs: pairs, - invert: invert, - functions: functions, - methods: functions, - extend: extend, - extendOwn: extendOwn, - assign: extendOwn, - defaults: defaults, - create: create, - clone: clone, - tap: tap, - get: get, - has: has, - mapObject: mapObject, - identity: identity, - constant: constant, - noop: noop, - toPath: toPath$1, - property: property, - propertyOf: propertyOf, - matcher: matcher, - matches: matcher, - times: times, - random: random, - now: now, - escape: _escape, - unescape: _unescape, - templateSettings: templateSettings, - template: template, - result: result, - uniqueId: uniqueId, - chain: chain, - iteratee: iteratee, - partial: partial, - bind: bind, - bindAll: bindAll, - memoize: memoize, - delay: delay, - defer: defer, - throttle: throttle, - debounce: debounce, - wrap: wrap, - negate: negate, - compose: compose, - after: after, - before: before, - once: once, - findKey: findKey, - findIndex: findIndex, - findLastIndex: findLastIndex, - sortedIndex: sortedIndex, - indexOf: indexOf, - lastIndexOf: lastIndexOf, - find: find, - detect: find, - findWhere: findWhere, - each: each, - forEach: each, - map: map, - collect: map, - reduce: reduce, - foldl: reduce, - inject: reduce, - reduceRight: reduceRight, - foldr: reduceRight, - filter: filter, - select: filter, - reject: reject, - every: every, - all: every, - some: some, - any: some, - contains: contains, - includes: contains, - include: contains, - invoke: invoke, - pluck: pluck, - where: where, - max: max, - min: min, - shuffle: shuffle, - sample: sample, - sortBy: sortBy, - groupBy: groupBy, - indexBy: indexBy, - countBy: countBy, - partition: partition, - toArray: toArray, - size: size, - pick: pick, - omit: omit, - first: first, - head: first, - take: first, - initial: initial, - last: last, - rest: rest, - tail: rest, - drop: rest, - compact: compact, - flatten: flatten, - without: without, - uniq: uniq, - unique: uniq, - union: union, - intersection: intersection, - difference: difference, - unzip: unzip, - transpose: unzip, - zip: zip, - object: object, - range: range, - chunk: chunk, - mixin: mixin, - 'default': _$1 - }; - var _ = mixin(allExports); - _._ = _; - - return _; - -}))); - - -}).call(this,typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{}],"/../../../jshint/src/jshint.js":[function(_dereq_,module,exports){ - -var _ = _dereq_("underscore"); -_.clone = _dereq_("lodash.clone"); -var events = _dereq_("events"); -var vars = _dereq_("./vars.js"); -var messages = _dereq_("./messages.js"); -var Lexer = _dereq_("./lex.js").Lexer; -var reg = _dereq_("./reg.js"); -var state = _dereq_("./state.js").state; -var style = _dereq_("./style.js"); -var options = _dereq_("./options.js"); -var scopeManager = _dereq_("./scope-manager.js"); -var prodParams = _dereq_("./prod-params.js"); -var console = _dereq_("console-browserify"); - -var JSHINT = (function() { - "use strict"; - - var api, // Extension API - bang = { - "<" : true, - "<=" : true, - "==" : true, - "===": true, - "!==": true, - "!=" : true, - ">" : true, - ">=" : true, - "+" : true, - "-" : true, - "*" : true, - "/" : true, - "%" : true - }, - - declared, // Globals that were declared using /*global ... */ syntax. - - functions, // All of the functions - - inblock, - indent, - lookahead, - lex, - member, - membersOnly, - predefined, // Global variables defined by option - - extraModules = [], - emitter = new events.EventEmitter(); - - function checkOption(name, isStable, t) { - var type, validNames; - - if (isStable) { - type = ""; - validNames = options.validNames; - } else { - type = "unstable "; - validNames = options.unstableNames; - } - - name = name.trim(); - - if (/^[+-]W\d{3}$/g.test(name)) { - return true; - } - - if (validNames.indexOf(name) === -1) { - if (t.type !== "jslint" && !_.has(options.removed, name)) { - error("E001", t, type, name); - return false; - } - } - - return true; - } - - function isString(obj) { - return Object.prototype.toString.call(obj) === "[object String]"; - } - - function isIdentifier(tkn, value) { - if (!tkn) - return false; - - if (!tkn.identifier || tkn.value !== value) - return false; - - return true; - } - function isReserved(context, token) { - if (!token.reserved) { - return false; - } - var meta = token.meta; - - if (meta && meta.isFutureReservedWord) { - if (state.inES5()) { - if (!meta.es5) { - return false; - } - - if (token.isProperty) { - return false; - } - } - } else if (meta && meta.es5 && !state.inES5()) { - return false; - } - if (meta && meta.strictOnly && state.inES5()) { - if (!state.option.strict && !state.isStrict()) { - return false; - } - } - - if (token.id === "await" && (!(context & prodParams.async) && !state.option.module)) { - return false; - } - - if (token.id === "yield" && (!(context & prodParams.yield))) { - return state.isStrict(); - } - - return true; - } - - function supplant(str, data) { - return str.replace(/\{([^{}]*)\}/g, function(a, b) { - var r = data[b]; - return typeof r === "string" || typeof r === "number" ? r : a; - }); - } - - function combine(dest, src) { - Object.keys(src).forEach(function(name) { - if (_.has(JSHINT.blacklist, name)) return; - dest[name] = src[name]; - }); - } - - function processenforceall() { - if (state.option.enforceall) { - for (var enforceopt in options.bool.enforcing) { - if (state.option[enforceopt] === undefined && - !options.noenforceall[enforceopt]) { - state.option[enforceopt] = true; - } - } - for (var relaxopt in options.bool.relaxing) { - if (state.option[relaxopt] === undefined) { - state.option[relaxopt] = false; - } - } - } - } - function applyOptions() { - var badESOpt = null; - processenforceall(); - badESOpt = state.inferEsVersion(); - if (badESOpt) { - quit("E059", state.tokens.next, "esversion", badESOpt); - } - - if (state.inES5()) { - combine(predefined, vars.ecmaIdentifiers[5]); - } - - if (state.inES6()) { - combine(predefined, vars.ecmaIdentifiers[6]); - } - - if (state.inES8()) { - combine(predefined, vars.ecmaIdentifiers[8]); - } - - if (state.inES11()) { - combine(predefined, vars.ecmaIdentifiers[11]); - } - if (state.option.strict === "global" && "globalstrict" in state.option) { - quit("E059", state.tokens.next, "strict", "globalstrict"); - } - - if (state.option.module) { - if (!state.inES6()) { - warning("W134", state.tokens.next, "module", 6); - } - } - - if (state.option.regexpu) { - if (!state.inES6()) { - warning("W134", state.tokens.next, "regexpu", 6); - } - } - - if (state.option.couch) { - combine(predefined, vars.couch); - } - - if (state.option.qunit) { - combine(predefined, vars.qunit); - } - - if (state.option.rhino) { - combine(predefined, vars.rhino); - } - - if (state.option.shelljs) { - combine(predefined, vars.shelljs); - combine(predefined, vars.node); - } - if (state.option.typed) { - combine(predefined, vars.typed); - } - - if (state.option.phantom) { - combine(predefined, vars.phantom); - } - - if (state.option.prototypejs) { - combine(predefined, vars.prototypejs); - } - - if (state.option.node) { - combine(predefined, vars.node); - combine(predefined, vars.typed); - } - - if (state.option.devel) { - combine(predefined, vars.devel); - } - - if (state.option.dojo) { - combine(predefined, vars.dojo); - } - - if (state.option.browser) { - combine(predefined, vars.browser); - combine(predefined, vars.typed); - } - - if (state.option.browserify) { - combine(predefined, vars.browser); - combine(predefined, vars.typed); - combine(predefined, vars.browserify); - } - - if (state.option.nonstandard) { - combine(predefined, vars.nonstandard); - } - - if (state.option.jasmine) { - combine(predefined, vars.jasmine); - } - - if (state.option.jquery) { - combine(predefined, vars.jquery); - } - - if (state.option.mootools) { - combine(predefined, vars.mootools); - } - - if (state.option.worker) { - combine(predefined, vars.worker); - } - - if (state.option.wsh) { - combine(predefined, vars.wsh); - } - - if (state.option.yui) { - combine(predefined, vars.yui); - } - - if (state.option.mocha) { - combine(predefined, vars.mocha); - } - } - function quit(code, token, a, b) { - var percentage = Math.floor((token.line / state.lines.length) * 100); - var message = messages.errors[code].desc; - - var exception = { - name: "JSHintError", - line: token.line, - character: token.from, - message: message + " (" + percentage + "% scanned).", - raw: message, - code: code, - a: a, - b: b - }; - - exception.reason = supplant(message, exception) + " (" + percentage + - "% scanned)."; - - throw exception; - } - - function removeIgnoredMessages() { - var ignored = state.ignoredLines; - - if (_.isEmpty(ignored)) return; - JSHINT.errors = _.reject(JSHINT.errors, function(err) { return ignored[err.line] }); - } - - function warning(code, t, a, b, c, d) { - var ch, l, w, msg; - - if (/^W\d{3}$/.test(code)) { - if (state.ignored[code]) - return; - - msg = messages.warnings[code]; - } else if (/E\d{3}/.test(code)) { - msg = messages.errors[code]; - } else if (/I\d{3}/.test(code)) { - msg = messages.info[code]; - } - - t = t || state.tokens.next || {}; - if (t.id === "(end)") { // `~ - t = state.tokens.curr; - } - - l = t.line; - ch = t.from; - - w = { - id: "(error)", - raw: msg.desc, - code: msg.code, - evidence: state.lines[l - 1] || "", - line: l, - character: ch, - scope: JSHINT.scope, - a: a, - b: b, - c: c, - d: d - }; - - w.reason = supplant(msg.desc, w); - JSHINT.errors.push(w); - - removeIgnoredMessages(); - - var errors = JSHINT.errors.filter(function(e) { return /E\d{3}/.test(e.code); }); - if (errors.length >= state.option.maxerr) { - quit("E043", t); - } - return w; - } - - function warningAt(m, l, ch, a, b, c, d) { - return warning(m, { - line: l, - from: ch - }, a, b, c, d); - } - - function error(m, t, a, b, c, d) { - warning(m, t, a, b, c, d); - } - - function errorAt(m, l, ch, a, b, c, d) { - return error(m, { - line: l, - from: ch - }, a, b, c, d); - } - function addEvalCode(elem, token) { - JSHINT.internals.push({ - id: "(internal)", - elem: elem, - token: token, - code: token.value.replace(/([^\\])(\\*)\2\\n/g, "$1\n") - }); - } - function lintingDirective(directiveToken, previous) { - var body = directiveToken.body.split(",") - .map(function(s) { return s.trim(); }); - var predef = {}; - - if (directiveToken.type === "falls through") { - previous.caseFallsThrough = true; - return; - } - - if (directiveToken.type === "globals") { - body.forEach(function(item, idx) { - var parts = item.split(":"); - var key = parts[0].trim(); - - if (key === "-" || !key.length) { - if (idx > 0 && idx === body.length - 1) { - return; - } - error("E002", directiveToken); - return; - } - - if (key.charAt(0) === "-") { - key = key.slice(1); - - JSHINT.blacklist[key] = key; - delete predefined[key]; - } else { - predef[key] = parts.length > 1 && parts[1].trim() === "true"; - } - }); - - combine(predefined, predef); - - for (var key in predef) { - if (_.has(predef, key)) { - declared[key] = directiveToken; - } - } - } - - if (directiveToken.type === "exported") { - body.forEach(function(e, idx) { - if (!e.length) { - if (idx > 0 && idx === body.length - 1) { - return; - } - error("E002", directiveToken); - return; - } - - state.funct["(scope)"].addExported(e); - }); - } - - if (directiveToken.type === "members") { - membersOnly = membersOnly || {}; - - body.forEach(function(m) { - var ch1 = m.charAt(0); - var ch2 = m.charAt(m.length - 1); - - if (ch1 === ch2 && (ch1 === "\"" || ch1 === "'")) { - m = m - .substr(1, m.length - 2) - .replace("\\\"", "\""); - } - - membersOnly[m] = false; - }); - } - - var numvals = [ - "maxstatements", - "maxparams", - "maxdepth", - "maxcomplexity", - "maxerr", - "maxlen", - "indent" - ]; - - if (directiveToken.type === "jshint" || directiveToken.type === "jslint" || - directiveToken.type === "jshint.unstable") { - body.forEach(function(item) { - var parts = item.split(":"); - var key = parts[0].trim(); - var val = parts.length > 1 ? parts[1].trim() : ""; - var numberVal; - - if (!checkOption(key, directiveToken.type !== "jshint.unstable", directiveToken)) { - return; - } - - if (numvals.indexOf(key) >= 0) { - if (val !== "false") { - numberVal = +val; - - if (typeof numberVal !== "number" || !isFinite(numberVal) || - numberVal <= 0 || Math.floor(numberVal) !== numberVal) { - error("E032", directiveToken, val); - return; - } - - state.option[key] = numberVal; - } else { - state.option[key] = key === "indent" ? 4 : false; - } - - return; - } - - if (key === "validthis") { - - if (state.funct["(global)"]) - return void error("E009"); - - if (val !== "true" && val !== "false") - return void error("E002", directiveToken); - - state.option.validthis = (val === "true"); - return; - } - - if (key === "quotmark") { - switch (val) { - case "true": - case "false": - state.option.quotmark = (val === "true"); - break; - case "double": - case "single": - state.option.quotmark = val; - break; - default: - error("E002", directiveToken); - } - return; - } - - if (key === "shadow") { - switch (val) { - case "true": - state.option.shadow = true; - break; - case "outer": - state.option.shadow = "outer"; - break; - case "false": - case "inner": - state.option.shadow = "inner"; - break; - default: - error("E002", directiveToken); - } - return; - } - - if (key === "unused") { - switch (val) { - case "true": - state.option.unused = true; - break; - case "false": - state.option.unused = false; - break; - case "vars": - case "strict": - state.option.unused = val; - break; - default: - error("E002", directiveToken); - } - return; - } - - if (key === "latedef") { - switch (val) { - case "true": - state.option.latedef = true; - break; - case "false": - state.option.latedef = false; - break; - case "nofunc": - state.option.latedef = "nofunc"; - break; - default: - error("E002", directiveToken); - } - return; - } - - if (key === "ignore") { - switch (val) { - case "line": - state.ignoredLines[directiveToken.line] = true; - removeIgnoredMessages(); - break; - default: - error("E002", directiveToken); - } - return; - } - - if (key === "strict") { - switch (val) { - case "true": - state.option.strict = true; - break; - case "false": - state.option.strict = false; - break; - case "global": - case "implied": - state.option.strict = val; - break; - default: - error("E002", directiveToken); - } - return; - } - - if (key === "module") { - if (!hasParsedCode(state.funct)) { - error("E055", directiveToken, "module"); - } - } - - if (key === "esversion") { - switch (val) { - case "3": - case "5": - case "6": - case "7": - case "8": - case "9": - case "10": - case "11": - state.option.moz = false; - state.option.esversion = +val; - break; - case "2015": - case "2016": - case "2017": - case "2018": - case "2019": - case "2020": - state.option.moz = false; - state.option.esversion = +val - 2009; - break; - default: - error("E002", directiveToken); - } - if (!hasParsedCode(state.funct)) { - error("E055", directiveToken, "esversion"); - } - return; - } - - var match = /^([+-])(W\d{3})$/g.exec(key); - if (match) { - state.ignored[match[2]] = (match[1] === "-"); - return; - } - - var tn; - if (val === "true" || val === "false") { - if (directiveToken.type === "jslint") { - tn = options.renamed[key] || key; - state.option[tn] = (val === "true"); - - if (options.inverted[tn] !== undefined) { - state.option[tn] = !state.option[tn]; - } - } else if (directiveToken.type === "jshint.unstable") { - state.option.unstable[key] = (val === "true"); - } else { - state.option[key] = (val === "true"); - } - - return; - } - - error("E002", directiveToken); - }); - - applyOptions(); - } - } - function peek(p) { - var i = p || 0, j = lookahead.length, t; - - if (i < j) { - return lookahead[i]; - } - - while (j <= i) { - t = lex.token(); - if (!t) { - if (!lookahead.length) { - return state.tokens.next; - } - - return lookahead[j - 1]; - } - - lookahead[j] = t; - j += 1; - } - - return t; - } - - function peekIgnoreEOL() { - var i = 0; - var t; - do { - t = peek(i++); - } while (t.id === "(endline)"); - return t; - } - function advance(expected, relatedToken) { - var nextToken = state.tokens.next; - - if (expected && nextToken.id !== expected) { - if (relatedToken) { - if (nextToken.id === "(end)") { - error("E019", relatedToken, relatedToken.id); - } else { - error("E020", nextToken, expected, relatedToken.id, - relatedToken.line, nextToken.value); - } - } else if (nextToken.type !== "(identifier)" || nextToken.value !== expected) { - error("E021", nextToken, expected, nextToken.value); - } - } - - state.tokens.prev = state.tokens.curr; - state.tokens.curr = state.tokens.next; - for (;;) { - state.tokens.next = lookahead.shift() || lex.token(); - - if (!state.tokens.next) { // No more tokens left, give up - quit("E041", state.tokens.curr); - } - - if (state.tokens.next.id === "(end)" || state.tokens.next.id === "(error)") { - return; - } - - if (state.tokens.next.check) { - state.tokens.next.check(); - } - - if (state.tokens.next.isSpecial) { - lintingDirective(state.tokens.next, state.tokens.curr); - } else { - if (state.tokens.next.id !== "(endline)") { - break; - } - } - } - } - function isOperator(token) { - return token.first || token.right || token.left || token.id === "yield" || token.id === "await"; - } - - function isEndOfExpr(context, curr, next) { - if (arguments.length <= 1) { - curr = state.tokens.curr; - next = state.tokens.next; - } - - if (next.id === "in" && context & prodParams.noin) { - return true; - } - - if (next.id === ";" || next.id === "}" || next.id === ":") { - return true; - } - - if (next.infix === curr.infix || - (curr.id === "yield" && curr.rbp < next.rbp)) { - return !sameLine(curr, next); - } - - return false; - } - function expression(context, rbp) { - var left, isArray = false, isObject = false; - var initial = context & prodParams.initial; - var curr; - - context &= ~prodParams.initial; - - state.nameStack.push(); - - if (state.tokens.next.id === "(end)") - error("E006", state.tokens.curr); - - advance(); - - if (initial) { - state.funct["(verb)"] = state.tokens.curr.value; - state.tokens.curr.beginsStmt = true; - } - - curr = state.tokens.curr; - - if (initial && curr.fud && (!curr.useFud || curr.useFud(context))) { - left = state.tokens.curr.fud(context); - } else { - if (state.tokens.curr.nud) { - left = state.tokens.curr.nud(context, rbp); - } else { - error("E030", state.tokens.curr, state.tokens.curr.id); - } - - while (rbp < state.tokens.next.lbp && !isEndOfExpr(context)) { - isArray = state.tokens.curr.value === "Array"; - isObject = state.tokens.curr.value === "Object"; - if (left && (left.value || (left.first && left.first.value))) { - if (left.value !== "new" || - (left.first && left.first.value && left.first.value === ".")) { - isArray = false; - if (left.value !== state.tokens.curr.value) { - isObject = false; - } - } - } - - advance(); - - if (isArray && state.tokens.curr.id === "(" && state.tokens.next.id === ")") { - warning("W009", state.tokens.curr); - } - - if (isObject && state.tokens.curr.id === "(" && state.tokens.next.id === ")") { - warning("W010", state.tokens.curr); - } - - if (left && state.tokens.curr.led) { - left = state.tokens.curr.led(context, left); - } else { - error("E033", state.tokens.curr, state.tokens.curr.id); - } - } - } - - state.nameStack.pop(); - - return left; - } - - function sameLine(first, second) { - return first.line === (second.startLine || second.line); - } - - function nobreaknonadjacent(left, right) { - if (!state.option.laxbreak && !sameLine(left, right)) { - warning("W014", right, right.value); - } - } - - function nolinebreak(t) { - if (!sameLine(t, state.tokens.next)) { - warning("E022", t, t.value); - } - } - function checkComma(opts) { - var prev = state.tokens.prev; - var curr = state.tokens.curr; - opts = opts || {}; - - if (!sameLine(prev, curr)) { - if (!state.option.laxcomma) { - if (checkComma.first) { - warning("I001", curr); - checkComma.first = false; - } - warning("W014", prev, curr.value); - } - } - - if (state.tokens.next.identifier && !(opts.property && state.inES5())) { - switch (state.tokens.next.value) { - case "break": - case "case": - case "catch": - case "continue": - case "default": - case "do": - case "else": - case "finally": - case "for": - case "if": - case "in": - case "instanceof": - case "return": - case "switch": - case "throw": - case "try": - case "var": - case "let": - case "while": - case "with": - error("E024", state.tokens.next, state.tokens.next.value); - return false; - } - } - - if (state.tokens.next.type === "(punctuator)") { - switch (state.tokens.next.value) { - case "}": - case "]": - case ",": - case ")": - if (opts.allowTrailing) { - return true; - } - - error("E024", state.tokens.next, state.tokens.next.value); - return false; - } - } - return true; - } - function symbol(s, p) { - var x = state.syntax[s]; - if (!x || typeof x !== "object") { - state.syntax[s] = x = { - id: s, - lbp: p, - rbp: p, - value: s - }; - } - return x; - } - function delim(s) { - var x = symbol(s, 0); - x.delim = true; - return x; - } - function stmt(s, f) { - var x = delim(s); - x.identifier = x.reserved = true; - x.fud = f; - return x; - } - function blockstmt(s, f) { - var x = stmt(s, f); - x.block = true; - return x; - } - function reserveName(x) { - var c = x.id.charAt(0); - if ((c >= "a" && c <= "z") || (c >= "A" && c <= "Z")) { - x.identifier = x.reserved = true; - } - return x; - } - function prefix(s, f) { - var x = symbol(s, 150); - reserveName(x); - - x.nud = (typeof f === "function") ? f : function(context) { - this.arity = "unary"; - this.right = expression(context, 150); - - if (this.id === "++" || this.id === "--") { - if (state.option.plusplus) { - warning("W016", this, this.id); - } - - if (this.right) { - checkLeftSideAssign(context, this.right, this); - } - } - - return this; - }; - - return x; - } - function type(s, f) { - var x = symbol(s, 0); - x.type = s; - x.nud = f; - return x; - } - function reserve(name, func) { - var x = type(name, func); - x.identifier = true; - x.reserved = true; - return x; - } - function FutureReservedWord(name, meta) { - var x = type(name, state.syntax["(identifier)"].nud); - - meta = meta || {}; - meta.isFutureReservedWord = true; - - x.value = name; - x.identifier = true; - x.reserved = true; - x.meta = meta; - - return x; - } - function infix(s, f, p, w) { - var x = symbol(s, p); - reserveName(x); - x.infix = true; - x.led = function(context, left) { - if (!w) { - nobreaknonadjacent(state.tokens.prev, state.tokens.curr); - } - if ((s === "in" || s === "instanceof") && left.id === "!") { - warning("W018", left, "!"); - } - if (typeof f === "function") { - return f(context, left, this); - } else { - this.left = left; - this.right = expression(context, p); - return this; - } - }; - return x; - } - function application(s) { - var x = symbol(s, 42); - - x.infix = true; - x.led = function(context, left) { - nobreaknonadjacent(state.tokens.prev, state.tokens.curr); - - this.left = left; - this.right = doFunction(context, { type: "arrow", loneArg: left }); - return this; - }; - return x; - } - function relation(s, f) { - var x = symbol(s, 100); - - x.infix = true; - x.led = function(context, left) { - nobreaknonadjacent(state.tokens.prev, state.tokens.curr); - this.left = left; - var right = this.right = expression(context, 100); - - if (isIdentifier(left, "NaN") || isIdentifier(right, "NaN")) { - warning("W019", this); - } else if (f) { - f.apply(this, [context, left, right]); - } - - if (!left || !right) { - quit("E041", state.tokens.curr); - } - - if (left.id === "!") { - warning("W018", left, "!"); - } - - if (right.id === "!") { - warning("W018", right, "!"); - } - - return this; - }; - return x; - } - function beginsUnaryExpression(token) { - return token.arity === "unary" && token.id !== "++" && token.id !== "--"; - } - - var typeofValues = {}; - typeofValues.legacy = [ - "xml", - "unknown" - ]; - typeofValues.es3 = [ - "undefined", "boolean", "number", "string", "function", "object", - ]; - typeofValues.es3 = typeofValues.es3.concat(typeofValues.legacy); - typeofValues.es6 = typeofValues.es3.concat("symbol", "bigint"); - function isTypoTypeof(left, right, state) { - var values; - - if (state.option.notypeof) - return false; - - if (!left || !right) - return false; - - values = state.inES6() ? typeofValues.es6 : typeofValues.es3; - - if (right.type === "(identifier)" && right.value === "typeof" && left.type === "(string)") { - if (left.value === "bigint") { - if (!state.inES11()) { - warning("W119", left, "BigInt", "11"); - } - - return false; - } - - return !_.includes(values, left.value); - } - - return false; - } - function isGlobalEval(left, state) { - var isGlobal = false; - if (left.type === "this" && state.funct["(context)"] === null) { - isGlobal = true; - } - else if (left.type === "(identifier)") { - if (state.option.node && left.value === "global") { - isGlobal = true; - } - - else if (state.option.browser && (left.value === "window" || left.value === "document")) { - isGlobal = true; - } - } - - return isGlobal; - } - function findNativePrototype(left) { - var natives = [ - "Array", "ArrayBuffer", "Boolean", "Collator", "DataView", "Date", - "DateTimeFormat", "Error", "EvalError", "Float32Array", "Float64Array", - "Function", "Infinity", "Intl", "Int16Array", "Int32Array", "Int8Array", - "Iterator", "Number", "NumberFormat", "Object", "RangeError", - "ReferenceError", "RegExp", "StopIteration", "String", "SyntaxError", - "TypeError", "Uint16Array", "Uint32Array", "Uint8Array", "Uint8ClampedArray", - "URIError" - ]; - - function walkPrototype(obj) { - if (typeof obj !== "object") return; - return obj.right === "prototype" ? obj : walkPrototype(obj.left); - } - - function walkNative(obj) { - while (!obj.identifier && typeof obj.left === "object") - obj = obj.left; - - if (obj.identifier && natives.indexOf(obj.value) >= 0 && - state.funct["(scope)"].isPredefined(obj.value)) { - return obj.value; - } - } - - var prototype = walkPrototype(left); - if (prototype) return walkNative(prototype); - } - function checkLeftSideAssign(context, left, assignToken, options) { - - var allowDestructuring = options && options.allowDestructuring; - - assignToken = assignToken || left; - - if (state.option.freeze) { - var nativeObject = findNativePrototype(left); - if (nativeObject) - warning("W121", left, nativeObject); - } - - if (left.identifier && !left.isMetaProperty) { - state.funct["(scope)"].block.reassign(left.value, left); - } - - if (left.id === ".") { - if (!left.left || left.left.value === "arguments" && !state.isStrict()) { - warning("W143", assignToken); - } - - state.nameStack.set(state.tokens.prev); - return true; - } else if (left.id === "{" || left.id === "[") { - if (!allowDestructuring || !left.destructAssign) { - if (left.id === "{" || !left.left) { - warning("E031", assignToken); - } else if (left.left.value === "arguments" && !state.isStrict()) { - warning("W143", assignToken); - } - } - - if (left.id === "[") { - state.nameStack.set(left.right); - } - - return true; - } else if (left.identifier && !isReserved(context, left) && !left.isMetaProperty) { - if (state.funct["(scope)"].bindingtype(left.value) === "exception") { - warning("W022", left); - } - - if (left.value === "eval" && state.isStrict()) { - error("E031", assignToken); - return false; - } else if (left.value === "arguments") { - if (!state.isStrict()) { - warning("W143", assignToken); - } else { - error("E031", assignToken); - return false; - } - } - state.nameStack.set(left); - return true; - } - - error("E031", assignToken); - - return false; - } - function assignop(s, f) { - var x = infix(s, typeof f === "function" ? f : function(context, left, that) { - that.left = left; - - checkLeftSideAssign(context, left, that, { allowDestructuring: true }); - - that.right = expression(context, 10); - - return that; - }, 20); - - x.exps = true; - x.assign = true; - - return x; - } - function bitwise(s, f, p) { - var x = symbol(s, p); - reserveName(x); - x.infix = true; - x.led = (typeof f === "function") ? f : function(context, left) { - if (state.option.bitwise) { - warning("W016", this, this.id); - } - this.left = left; - this.right = expression(context, p); - return this; - }; - return x; - } - function bitwiseassignop(s) { - symbol(s, 20).exps = true; - return infix(s, function(context, left, that) { - if (state.option.bitwise) { - warning("W016", that, that.id); - } - - checkLeftSideAssign(context, left, that); - - that.right = expression(context, 10); - - return that; - }, 20); - } - function suffix(s) { - var x = symbol(s, 150); - - x.led = function(context, left) { - if (state.option.plusplus) { - warning("W016", this, this.id); - } - - checkLeftSideAssign(context, left, this); - - this.left = left; - return this; - }; - return x; - } - function optionalidentifier(context, isName, preserve) { - if (!state.tokens.next.identifier) { - return; - } - - if (!preserve) { - advance(); - } - - var curr = state.tokens.curr; - - if (isReserved(context, curr) && !(isName && state.inES5())) { - warning("W024", state.tokens.curr, state.tokens.curr.id); - } - - return curr.value; - } - function spreadrest(operation) { - if (!checkPunctuator(state.tokens.next, "...")) { - return false; - } - - if (!state.inES6(true)) { - warning("W119", state.tokens.next, operation + " operator", "6"); - } - advance(); - - if (checkPunctuator(state.tokens.next, "...")) { - warning("E024", state.tokens.next, "..."); - while (checkPunctuator(state.tokens.next, "...")) { - advance(); - } - } - - return true; - } - function identifier(context, isName) { - var i = optionalidentifier(context, isName, false); - if (i) { - return i; - } - - error("E030", state.tokens.next, state.tokens.next.value); - if (state.tokens.next.id !== ";") { - advance(); - } - } - function reachable(controlToken) { - var i = 0, t; - if (state.tokens.next.id !== ";" || controlToken.inBracelessBlock) { - return; - } - for (;;) { - do { - t = peek(i); - i += 1; - } while (t.id !== "(end)" && t.id === "(comment)"); - - if (t.reach) { - return; - } - - if (t.id !== "(endline)") { - if (isFunction(t, i)) { - if (state.option.latedef === true) { - warning("W026", t); - } - break; - } - - warning("W027", t, t.value, controlToken.value); - break; - } - } - - function isFunction(t, i) { - if (t.id === "function") { - return true; - } - if (t.id === "async") { - t = peek(i); - return t.id === "function"; - } - } - } - function parseFinalSemicolon(stmt) { - if (state.tokens.next.id !== ";") { - if (state.tokens.next.isUnclosed) return advance(); - - var isSameLine = sameLine(state.tokens.curr, state.tokens.next) && - state.tokens.next.id !== "(end)"; - var blockEnd = checkPunctuator(state.tokens.next, "}"); - - if (isSameLine && !blockEnd && !(stmt.id === "do" && state.inES6(true))) { - errorAt("E058", state.tokens.curr.line, state.tokens.curr.character); - } else if (!state.option.asi) { - if (!(blockEnd && isSameLine && state.option.lastsemic)) { - warningAt("W033", state.tokens.curr.line, state.tokens.curr.character); - } - } - } else { - advance(";"); - } - } - function statement(context) { - var i = indent, r, t = state.tokens.next, hasOwnScope = false; - - context |= prodParams.initial; - - if (t.id === ";") { - advance(";"); - return; - } - var res = isReserved(context, t); - - if (res && t.meta && t.meta.isFutureReservedWord && !t.fud) { - warning("W024", t, t.id); - res = false; - } - - if (t.identifier && !res && peek().id === ":") { - advance(); - advance(":"); - - hasOwnScope = true; - state.funct["(scope)"].stack(); - state.funct["(scope)"].block.addLabel(t.value, { token: state.tokens.curr }); - - if (!state.tokens.next.labelled && state.tokens.next.value !== "{") { - warning("W028", state.tokens.next, t.value, state.tokens.next.value); - } - - t = state.tokens.next; - } - - if (t.id === "{") { - var iscase = (state.funct["(verb)"] === "case" && state.tokens.curr.value === ":"); - block(context, true, true, false, false, iscase); - - if (hasOwnScope) { - state.funct["(scope)"].unstack(); - } - - return; - } - - r = expression(context, 0); - - if (r && !(r.identifier && r.value === "function") && - !(r.type === "(punctuator)" && r.left && - r.left.identifier && r.left.value === "function")) { - if (!state.isStrict() && state.stmtMissingStrict()) { - warning("E007"); - } - } - - if (!t.block) { - if (!state.option.expr && (!r || !r.exps)) { - warning("W030", state.tokens.curr); - } else if (state.option.nonew && r && r.left && r.id === "(" && r.left.id === "new") { - warning("W031", t); - } - - parseFinalSemicolon(t); - } - - indent = i; - if (hasOwnScope) { - state.funct["(scope)"].unstack(); - } - return r; - } - function statements(context) { - var a = [], p; - - while (!state.tokens.next.reach && state.tokens.next.id !== "(end)") { - if (state.tokens.next.id === ";") { - p = peek(); - - if (!p || (p.id !== "(" && p.id !== "[")) { - warning("W032"); - } - - advance(";"); - } else { - a.push(statement(context)); - } - } - return a; - } - function directives() { - var current = state.tokens.next; - while (state.tokens.next.id === "(string)") { - var next = peekIgnoreEOL(); - if (!isEndOfExpr(0, current, next)) { - break; - } - current = next; - - advance(); - var directive = state.tokens.curr.value; - if (state.directive[directive] || - (directive === "use strict" && state.option.strict === "implied")) { - warning("W034", state.tokens.curr, directive); - } - if (directive === "use strict" && state.inES7() && - !state.funct["(global)"] && state.funct["(hasSimpleParams)"] === false) { - error("E065", state.tokens.curr); - } - - state.directive[directive] = state.tokens.curr; - - parseFinalSemicolon(current); - } - - if (state.isStrict()) { - state.option.undef = true; - } - } - function block(context, ordinary, stmt, isfunc, isfatarrow, iscase) { - var a, - b = inblock, - old_indent = indent, - m, - t, - d; - - inblock = ordinary; - - t = state.tokens.next; - - var metrics = state.funct["(metrics)"]; - metrics.nestedBlockDepth += 1; - metrics.verifyMaxNestedBlockDepthPerFunction(); - - if (state.tokens.next.id === "{") { - advance("{"); - state.funct["(scope)"].stack(); - - if (state.tokens.next.id !== "}") { - indent += state.option.indent; - while (!ordinary && state.tokens.next.from > indent) { - indent += state.option.indent; - } - - if (isfunc) { - m = {}; - for (d in state.directive) { - m[d] = state.directive[d]; - } - directives(); - - state.funct["(isStrict)"] = state.isStrict(); - - if (state.option.strict && state.funct["(context)"]["(global)"]) { - if (!m["use strict"] && !state.isStrict()) { - warning("E007"); - } - } - } - - a = statements(context); - - metrics.statementCount += a.length; - - indent -= state.option.indent; - } else if (isfunc) { - state.funct["(isStrict)"] = state.isStrict(); - } - - advance("}", t); - - if (isfunc) { - state.funct["(scope)"].validateParams(isfatarrow); - if (m) { - state.directive = m; - } - } - - state.funct["(scope)"].unstack(); - - indent = old_indent; - } else if (!ordinary) { - if (isfunc) { - state.funct["(scope)"].stack(); - - if (stmt && !isfatarrow && !state.inMoz()) { - error("W118", state.tokens.curr, "function closure expressions"); - } - - if (isfatarrow) { - state.funct["(scope)"].validateParams(true); - } - - var expr = expression(context, 10); - - if (state.option.noreturnawait && context & prodParams.async && - expr.identifier && expr.value === "await") { - warning("W146", expr); - } - - if (state.option.strict && state.funct["(context)"]["(global)"]) { - if (!state.isStrict()) { - warning("E007"); - } - } - - state.funct["(scope)"].unstack(); - } else { - error("E021", state.tokens.next, "{", state.tokens.next.value); - } - } else { - - state.funct["(scope)"].stack(); - - if (!stmt || state.option.curly) { - warning("W116", state.tokens.next, "{", state.tokens.next.value); - } - var supportsFnDecl = state.funct["(verb)"] === "if" || - state.tokens.curr.id === "else"; - - state.tokens.next.inBracelessBlock = true; - indent += state.option.indent; - a = [statement(context)]; - indent -= state.option.indent; - - if (a[0] && a[0].declaration && - !(supportsFnDecl && a[0].id === "function")) { - error("E048", a[0], a[0].id[0].toUpperCase() + a[0].id.slice(1)); - } - - state.funct["(scope)"].unstack(); - } - switch (state.funct["(verb)"]) { - case "break": - case "continue": - case "return": - case "throw": - if (iscase) { - break; - } - default: - state.funct["(verb)"] = null; - } - - inblock = b; - if (ordinary && state.option.noempty && (!a || a.length === 0)) { - warning("W035", state.tokens.prev); - } - metrics.nestedBlockDepth -= 1; - return a; - } - function countMember(m) { - if (membersOnly && typeof membersOnly[m] !== "boolean") { - warning("W036", state.tokens.curr, m); - } - if (typeof member[m] === "number") { - member[m] += 1; - } else { - member[m] = 1; - } - } - - type("(number)", function() { - if (state.tokens.next.id === ".") { - warning("W005", this); - } - - return this; - }); - - type("(string)", function() { - return this; - }); - - state.syntax["(identifier)"] = { - type: "(identifier)", - lbp: 0, - identifier: true, - - nud: function(context) { - var v = this.value; - var isLoneArrowParam = state.tokens.next.id === "=>"; - - if (isReserved(context, this)) { - warning("W024", this, v); - } else if (!isLoneArrowParam && !state.funct["(comparray)"].check(v)) { - state.funct["(scope)"].block.use(v, state.tokens.curr); - } - - return this; - }, - - led: function() { - error("E033", state.tokens.next, state.tokens.next.value); - } - }; - - var baseTemplateSyntax = { - identifier: false, - template: true, - }; - state.syntax["(template)"] = _.extend({ - lbp: 155, - type: "(template)", - nud: doTemplateLiteral, - led: doTemplateLiteral, - noSubst: false - }, baseTemplateSyntax); - - state.syntax["(template middle)"] = _.extend({ - lbp: 0, - type: "(template middle)", - noSubst: false - }, baseTemplateSyntax); - - state.syntax["(template tail)"] = _.extend({ - lbp: 0, - type: "(template tail)", - tail: true, - noSubst: false - }, baseTemplateSyntax); - - state.syntax["(no subst template)"] = _.extend({ - lbp: 155, - type: "(template)", - nud: doTemplateLiteral, - led: doTemplateLiteral, - noSubst: true, - tail: true // mark as tail, since it's always the last component - }, baseTemplateSyntax); - - type("(regexp)", function() { - return this; - }); - - delim("(endline)"); - (function(x) { - x.line = x.from = 0; - })(delim("(begin)")); - delim("(end)").reach = true; - delim("(error)").reach = true; - delim("}").reach = true; - delim(")"); - delim("]"); - delim("\"").reach = true; - delim("'").reach = true; - delim(";"); - delim(":").reach = true; - delim("#"); - - reserve("else"); - reserve("case").reach = true; - reserve("catch"); - reserve("default").reach = true; - reserve("finally"); - reserve("true", function() { return this; }); - reserve("false", function() { return this; }); - reserve("null", function() { return this; }); - reserve("this", function() { - if (state.isStrict() && !isMethod() && - !state.option.validthis && ((state.funct["(statement)"] && - state.funct["(name)"].charAt(0) > "Z") || state.funct["(global)"])) { - warning("W040", this); - } - - return this; - }); - - (function(superSymbol) { - superSymbol.rbp = 161; - })(reserve("super", function() { - superNud.call(state.tokens.curr, this); - - return this; - })); - - assignop("=", "assign"); - assignop("+=", "assignadd"); - assignop("-=", "assignsub"); - assignop("*=", "assignmult"); - assignop("/=", "assigndiv").nud = function() { - error("E014"); - }; - assignop("%=", "assignmod"); - assignop("**=", function(context, left, that) { - if (!state.inES7()) { - warning("W119", that, "Exponentiation operator", "7"); - } - - that.left = left; - - checkLeftSideAssign(context, left, that); - - that.right = expression(context, 10); - - return that; - }); - - bitwiseassignop("&="); - bitwiseassignop("|="); - bitwiseassignop("^="); - bitwiseassignop("<<="); - bitwiseassignop(">>="); - bitwiseassignop(">>>="); - infix(",", function(context, left, that) { - if (state.option.nocomma) { - warning("W127", that); - } - - that.left = left; - - if (checkComma()) { - that.right = expression(context, 10); - } else { - that.right = null; - } - - return that; - }, 10, true); - - infix("?", function(context, left, that) { - increaseComplexityCount(); - that.left = left; - that.right = expression(context & ~prodParams.noin, 10); - advance(":"); - expression(context, 10); - return that; - }, 30); - - infix("||", function(context, left, that) { - increaseComplexityCount(); - that.left = left; - that.right = expression(context, 40); - return that; - }, 40); - - var andPrecedence = 50; - infix("&&", function(context, left, that) { - increaseComplexityCount(); - that.left = left; - that.right = expression(context, andPrecedence); - return that; - }, andPrecedence); - - infix("??", function(context, left, that) { - if (!left.paren && (left.id === "||" || left.id === "&&")) { - error("E024", that, "??"); - } - - if (!state.inES11()) { - warning("W119", that, "nullish coalescing", "11"); - } - - increaseComplexityCount(); - that.left = left; - var right = that.right = expression(context, 39); - - if (!right) { - error("E024", state.tokens.next, state.tokens.next.id); - } else if (!right.paren && (right.id === "||" || right.id === "&&")) { - error("E024", that.right, that.right.id); - } - - return that; - }, 39); - infix("**", function(context, left, that) { - if (!state.inES7()) { - warning("W119", that, "Exponentiation operator", "7"); - } - if (!left.paren && beginsUnaryExpression(left)) { - error("E024", that, "**"); - } - - that.left = left; - that.right = expression(context, that.rbp); - return that; - }, 150); - state.syntax["**"].rbp = 140; - bitwise("|", "bitor", 70); - bitwise("^", "bitxor", 80); - bitwise("&", "bitand", 90); - relation("==", function(context, left, right) { - var eqnull = state.option.eqnull && - ((left && left.value) === "null" || (right && right.value) === "null"); - - switch (true) { - case !eqnull && state.option.eqeqeq: - this.from = this.character; - warning("W116", this, "===", "=="); - break; - case isTypoTypeof(right, left, state): - warning("W122", this, right.value); - break; - case isTypoTypeof(left, right, state): - warning("W122", this, left.value); - break; - } - - return this; - }); - relation("===", function(context, left, right) { - if (isTypoTypeof(right, left, state)) { - warning("W122", this, right.value); - } else if (isTypoTypeof(left, right, state)) { - warning("W122", this, left.value); - } - return this; - }); - relation("!=", function(context, left, right) { - var eqnull = state.option.eqnull && - ((left && left.value) === "null" || (right && right.value) === "null"); - - if (!eqnull && state.option.eqeqeq) { - this.from = this.character; - warning("W116", this, "!==", "!="); - } else if (isTypoTypeof(right, left, state)) { - warning("W122", this, right.value); - } else if (isTypoTypeof(left, right, state)) { - warning("W122", this, left.value); - } - return this; - }); - relation("!==", function(context, left, right) { - if (isTypoTypeof(right, left, state)) { - warning("W122", this, right.value); - } else if (isTypoTypeof(left, right, state)) { - warning("W122", this, left.value); - } - return this; - }); - relation("<"); - relation(">"); - relation("<="); - relation(">="); - bitwise("<<", "shiftleft", 120); - bitwise(">>", "shiftright", 120); - bitwise(">>>", "shiftrightunsigned", 120); - infix("in", "in", 120); - infix("instanceof", function(context, left, token) { - var right; - var scope = state.funct["(scope)"]; - token.left = left; - token.right = right = expression(context, 120); - if (!right) { - return token; - } - - if (right.id === "(number)" || - right.id === "(string)" || - right.value === "null" || - (right.value === "undefined" && !scope.has("undefined")) || - right.arity === "unary" || - right.id === "{" || - (right.id === "[" && !right.right) || - right.id === "(regexp)" || - (right.id === "(template)" && !right.tag)) { - error("E060"); - } - - if (right.id === "function") { - warning("W139"); - } - - return token; - }, 120); - infix("+", function(context, left, that) { - var next = state.tokens.next; - var right; - that.left = left; - that.right = right = expression(context, 130); - - if (left && right && left.id === "(string)" && right.id === "(string)") { - left.value += right.value; - left.character = right.character; - if (!state.option.scripturl && reg.javascriptURL.test(left.value)) { - warning("W050", left); - } - return left; - } - - if (next.id === "+" || next.id === "++") { - warning("W007", that.right); - } - - return that; - }, 130); - prefix("+", function(context) { - var next = state.tokens.next; - this.arity = "unary"; - this.right = expression(context, 150); - - if (next.id === "+" || next.id === "++") { - warning("W007", this.right); - } - - return this; - }); - infix("-", function(context, left, that) { - var next = state.tokens.next; - that.left = left; - that.right = expression(context, 130); - - if (next.id === "-" || next.id === "--") { - warning("W006", that.right); - } - - return that; - }, 130); - prefix("-", function(context) { - var next = state.tokens.next; - this.arity = "unary"; - this.right = expression(context, 150); - - if (next.id === "-" || next.id === "--") { - warning("W006", this.right); - } - - return this; - }); - infix("*", "mult", 140); - infix("/", "div", 140); - infix("%", "mod", 140); - - suffix("++"); - prefix("++", "preinc"); - state.syntax["++"].exps = true; - - suffix("--"); - prefix("--", "predec"); - state.syntax["--"].exps = true; - - prefix("delete", function(context) { - this.arity = "unary"; - var p = expression(context, 150); - if (!p) { - return this; - } - - if (p.id !== "." && p.id !== "[") { - warning("W051"); - } - this.first = p; - if (p.identifier && !state.isStrict()) { - p.forgiveUndef = true; - } - return this; - }).exps = true; - - prefix("~", function(context) { - if (state.option.bitwise) { - warning("W016", this, "~"); - } - this.arity = "unary"; - this.right = expression(context, 150); - return this; - }); - - infix("..."); - - prefix("!", function(context) { - this.arity = "unary"; - this.right = expression(context, 150); - - if (!this.right) { // '!' followed by nothing? Give up. - quit("E041", this); - } - - if (bang[this.right.id] === true) { - warning("W018", this, "!"); - } - return this; - }); - - prefix("typeof", function(context) { - this.arity = "unary"; - var p = expression(context, 150); - this.first = this.right = p; - - if (!p) { // 'typeof' followed by nothing? Give up. - quit("E041", this); - } - if (p.identifier) { - p.forgiveUndef = true; - } - return this; - }); - prefix("new", function(context) { - var mp = metaProperty(context, "target", function() { - if (!state.inES6(true)) { - warning("W119", state.tokens.prev, "new.target", "6"); - } - var inFunction, c = state.funct; - while (c) { - inFunction = !c["(global)"]; - if (!c["(arrow)"]) { break; } - c = c["(context)"]; - } - if (!inFunction) { - warning("W136", state.tokens.prev, "new.target"); - } - }); - if (mp) { return mp; } - - var opening = state.tokens.next; - var c = expression(context, 155), i; - - if (!c) { - return this; - } - - if (!c.paren && c.rbp > 160) { - error("E024", opening, opening.value); - } - - if (c.id !== "function") { - if (c.identifier) { - switch (c.value) { - case "Number": - case "String": - case "Boolean": - case "Math": - case "JSON": - warning("W053", state.tokens.prev, c.value); - break; - case "Symbol": - if (state.inES6()) { - warning("W053", state.tokens.prev, c.value); - } - break; - case "Function": - if (!state.option.evil) { - warning("W054"); - } - break; - case "Date": - case "RegExp": - case "this": - break; - default: - i = c.value.substr(0, 1); - if (state.option.newcap && (i < "A" || i > "Z") && - !state.funct["(scope)"].isPredefined(c.value)) { - warning("W055", state.tokens.curr); - } - } - } else { - if (c.id === "?." && !c.paren) { - error("E024", c, "?."); - } else if (c.id !== "." && c.id !== "[" && c.id !== "(") { - warning("W056", state.tokens.curr); - } - } - } else { - if (!state.option.supernew) - warning("W057", this); - } - if (state.tokens.next.id !== "(" && !state.option.supernew) { - warning("W058", state.tokens.curr, state.tokens.curr.value); - } - this.first = this.right = c; - return this; - }); - state.syntax["new"].exps = true; - - - var classDeclaration = blockstmt("class", function(context) { - var className, classNameToken; - - if (!state.inES6()) { - warning("W104", state.tokens.curr, "class", "6"); - } - state.inClassBody = true; - if (state.tokens.next.identifier && state.tokens.next.value !== "extends") { - classNameToken = state.tokens.next; - className = classNameToken.value; - identifier(context); - state.funct["(scope)"].addbinding(className, { - type: "class", - initialized: false, - token: classNameToken - }); - } - if (state.tokens.next.value === "extends") { - advance("extends"); - expression(context, 0); - } - - if (classNameToken) { - this.name = classNameToken; - state.funct["(scope)"].initialize(className); - } else { - this.name = null; - } - - state.funct["(scope)"].stack(); - classBody(this, context); - return this; - }); - classDeclaration.exps = true; - classDeclaration.declaration = true; - prefix("class", function(context) { - var className, classNameToken; - - if (!state.inES6()) { - warning("W104", state.tokens.curr, "class", "6"); - } - state.inClassBody = true; - if (state.tokens.next.identifier && state.tokens.next.value !== "extends") { - classNameToken = state.tokens.next; - className = classNameToken.value; - identifier(context); - } - if (state.tokens.next.value === "extends") { - advance("extends"); - expression(context, 0); - } - - state.funct["(scope)"].stack(); - if (classNameToken) { - this.name = classNameToken; - state.funct["(scope)"].addbinding(className, { - type: "class", - initialized: true, - token: classNameToken - }); - state.funct["(scope)"].block.use(className, classNameToken); - } else { - this.name = null; - } - - classBody(this, context); - return this; - }); - - function classBody(classToken, context) { - var props = Object.create(null); - var name, accessorType, token, isStatic, inGenerator, hasConstructor; - if (state.tokens.next.value === "{") { - advance("{"); - } else { - warning("W116", state.tokens.curr, "identifier", state.tokens.next.type); //? - advance(); - } - - while (state.tokens.next.value !== "}") { - isStatic = false; - inGenerator = false; - context &= ~prodParams.preAsync; - - if (state.tokens.next.value === "static" && - !checkPunctuator(peek(), "(")) { - isStatic = true; - advance(); - } - - if (state.tokens.next.value === "async") { - if (!checkPunctuator(peek(), "(")) { - context |= prodParams.preAsync; - advance(); - - nolinebreak(state.tokens.curr); - - if (checkPunctuator(state.tokens.next, "*")) { - inGenerator = true; - advance("*"); - - if (!state.inES9()) { - warning("W119", state.tokens.next, "async generators", "9"); - } - } - - if (!state.inES8()) { - warning("W119", state.tokens.curr, "async functions", "8"); - } - } - } - - if (state.tokens.next.value === "*") { - inGenerator = true; - advance(); - } - - token = state.tokens.next; - - if ((token.value === "set" || token.value === "get") && !checkPunctuator(peek(), "(")) { - if (inGenerator) { - error("E024", token, token.value); - } - accessorType = token.value; - advance(); - token = state.tokens.next; - - if (!isStatic && token.value === "constructor") { - error("E049", token, "class " + accessorType + "ter method", token.value); - } else if (isStatic && token.value === "prototype") { - error("E049", token, "static class " + accessorType + "ter method", token.value); - } - } else { - accessorType = null; - } - - switch (token.value) { - case ";": - warning("W032", token); - advance(); - break; - case "constructor": - if (isStatic) { - name = propertyName(context); - saveProperty(props, name, token, true, isStatic); - doMethod(classToken, context, name, inGenerator); - } else { - if (inGenerator || context & prodParams.preAsync) { - error("E024", token, token.value); - } else if (hasConstructor) { - error("E024", token, token.value); - } else { - hasConstructor = !accessorType && !isStatic; - } - advance(); - doMethod(classToken, context, state.nameStack.infer()); - } - break; - case "[": - name = computedPropertyName(context); - doMethod(classToken, context, name, inGenerator); - break; - default: - name = propertyName(context); - if (name === undefined) { - error("E024", token, token.value); - advance(); - break; - } - - if (accessorType) { - saveAccessor(accessorType, props, name, token, true, isStatic); - name = state.nameStack.infer(); - } else { - if (isStatic && name === "prototype") { - error("E049", token, "static class method", name); - } - - saveProperty(props, name, token, true, isStatic); - } - - doMethod(classToken, context, name, inGenerator); - break; - } - } - advance("}"); - checkProperties(props); - - state.inClassBody = false; - state.funct["(scope)"].unstack(); - } - - function doMethod(classToken, context, name, generator) { - if (generator) { - if (!state.inES6()) { - warning("W119", state.tokens.curr, "function*", "6"); - } - } - - if (state.tokens.next.value !== "(") { - error("E054", state.tokens.next, state.tokens.next.value); - advance(); - if (state.tokens.next.value === "{") { - advance(); - if (state.tokens.next.value === "}") { - warning("W116", state.tokens.next, "(", state.tokens.next.value); - advance(); - identifier(context); - advance(); - } - return; - } else { - while (state.tokens.next.value !== "(") { - advance(); - } - } - } - - doFunction(context, { name: name, - type: generator ? "generator" : null, - isMethod: true, - statement: classToken }); - } - - prefix("void").exps = true; - - infix(".", function(context, left, that) { - var m = identifier(context, true); - - if (typeof m === "string") { - countMember(m); - } - - that.left = left; - that.right = m; - - if (m && m === "hasOwnProperty" && state.tokens.next.value === "=") { - warning("W001"); - } - - if (left && left.value === "arguments" && (m === "callee" || m === "caller")) { - if (state.option.noarg) - warning("W059", left, m); - else if (state.isStrict()) - error("E008"); - } else if (!state.option.evil && left && left.value === "document" && - (m === "write" || m === "writeln")) { - warning("W060", left); - } - - if (!state.option.evil && (m === "eval" || m === "execScript")) { - if (isGlobalEval(left, state)) { - warning("W061"); - } - } - - return that; - }, 160, true); - - infix("?.", function(context, left, that) { - if (!state.inES11()) { - warning("W119", state.tokens.curr, "Optional chaining", "11"); - } - - - if (checkPunctuator(state.tokens.next, "[")) { - that.left = left; - advance(); - that.right = state.tokens.curr.led(context, left); - } else if (checkPunctuator(state.tokens.next, "(")) { - that.left = left; - advance(); - that.right = state.tokens.curr.led(context, left); - that.exps = true; - } else { - state.syntax["."].led.call(that, context, left); - } - - if (state.tokens.next.type === "(template)") { - error("E024", state.tokens.next, "`"); - } - - return that; - }, 160, true); - function isTypicalCallExpression(token) { - return token.identifier || token.id === "." || token.id === "[" || - token.id === "=>" || token.id === "(" || token.id === "&&" || - token.id === "||" || token.id === "?" || token.id === "async" || - token.id === "?." || (state.inES6() && token["(name)"]); - } - - infix("(", function(context, left, that) { - if (state.option.immed && left && !left.immed && left.id === "function") { - warning("W062"); - } - - if (state.option.asi && checkPunctuators(state.tokens.prev, [")", "]"]) && - !sameLine(state.tokens.prev, state.tokens.curr)) { - warning("W014", state.tokens.curr, state.tokens.curr.id); - } - - var n = 0; - var p = []; - - if (left) { - if (left.type === "(identifier)") { - var newcapRe = /^[A-Z]([A-Z0-9_$]*[a-z][A-Za-z0-9_$]*)?$/; - var newcapIgnore = [ - "Array", "Boolean", "Date", "Error", "Function", "Number", - "Object", "RegExp", "String", "Symbol" - ]; - if (newcapRe.test(left.value) && newcapIgnore.indexOf(left.value) === -1) { - if (left.value === "Math") { - warning("W063", left); - } else if (state.option.newcap) { - warning("W064", left); - } - } - } - } - - if (state.tokens.next.id !== ")") { - for (;;) { - spreadrest("spread"); - - p[p.length] = expression(context, 10); - n += 1; - if (state.tokens.next.id !== ",") { - break; - } - advance(","); - checkComma({ allowTrailing: true }); - - if (state.tokens.next.id === ")") { - if (!state.inES8()) { - warning("W119", state.tokens.curr, "Trailing comma in arguments lists", "8"); - } - - break; - } - } - } - - advance(")"); - - if (typeof left === "object") { - if (!state.inES5() && left.value === "parseInt" && n === 1) { - warning("W065", state.tokens.curr); - } - if (!state.option.evil) { - if (left.value === "eval" || left.value === "Function" || - left.value === "execScript") { - warning("W061", left); - } else if (p[0] && p[0].id === "(string)" && - (left.value === "setTimeout" || - left.value === "setInterval")) { - warning("W066", left); - addEvalCode(left, p[0]); - } else if (p[0] && p[0].id === "(string)" && - left.value === "." && - left.left.value === "window" && - (left.right === "setTimeout" || - left.right === "setInterval")) { - warning("W066", left); - addEvalCode(left, p[0]); - } - } - if (!isTypicalCallExpression(left)) { - warning("W067", that); - } - } - - that.left = left; - return that; - }, 155, true).exps = true; - - function peekThroughParens(parens) { - var pn = state.tokens.next; - var i = -1; - var pn1; - - do { - if (pn.value === "(") { - parens += 1; - } else if (pn.value === ")") { - parens -= 1; - } - - i += 1; - pn1 = pn; - pn = peek(i); - } while (!(parens === 0 && pn1.value === ")") && pn.type !== "(end)"); - - return pn; - } - - prefix("(", function(context, rbp) { - var ret, triggerFnExpr, first, last; - var opening = state.tokens.curr; - var preceeding = state.tokens.prev; - var isNecessary = !state.option.singleGroups; - var pn = peekThroughParens(1); - - if (state.tokens.next.id === "function") { - triggerFnExpr = state.tokens.next.immed = true; - } - if (pn.value === "=>") { - pn.funct = doFunction(context, { type: "arrow", parsedOpening: true }); - return pn; - } - if (state.tokens.next.id === ")") { - advance(")"); - return; - } - - ret = expression(context, 0); - - advance(")", this); - - if (!ret) { - return; - } - - ret.paren = true; - - if (state.option.immed && ret && ret.id === "function") { - if (state.tokens.next.id !== "(" && - state.tokens.next.id !== "." && state.tokens.next.id !== "[") { - warning("W068", this); - } - } - - if (ret.id === ",") { - first = ret.left; - while (first.id === ",") { - first = first.left; - } - - last = ret.right; - } else { - first = last = ret; - - if (!isNecessary) { - if (!triggerFnExpr) { - triggerFnExpr = ret.id === "async"; - } - - isNecessary = - (opening.beginsStmt && (ret.id === "{" || triggerFnExpr)) || - (triggerFnExpr && - (!isEndOfExpr() || state.tokens.prev.id !== "}")) || - (ret.id === "=>" && !isEndOfExpr()) || - (ret.id === "{" && preceeding.id === "=>") || - (beginsUnaryExpression(ret) && state.tokens.next.id === "**") || - (preceeding.id === "??" && (ret.id === "&&" || ret.id === "||")) || - (ret.type === "(number)" && - checkPunctuator(pn, ".") && /^\d+$/.test(ret.value)) || - (opening.beginsStmt && ret.id === "=" && ret.left.id === "{") || - (ret.id === "?." && - (preceeding.id === "new" || state.tokens.next.type === "(template)")); - } - } - if (!isNecessary && (isOperator(first) || first !== last)) { - isNecessary = - (rbp > first.lbp) || - (rbp > 0 && rbp === first.lbp) || - (!isEndOfExpr() && last.rbp < state.tokens.next.lbp); - } - - if (!isNecessary) { - warning("W126", opening); - } - - return ret; - }); - - application("=>").rbp = 161; - - infix("[", function(context, left, that) { - var e, s, canUseDot; - - if (state.option.asi && checkPunctuators(state.tokens.prev, [")", "]"]) && - !sameLine(state.tokens.prev, state.tokens.curr)) { - warning("W014", state.tokens.curr, state.tokens.curr.id); - } - - e = expression(context & ~prodParams.noin, 0); - - if (e && e.type === "(string)") { - if (!state.option.evil && (e.value === "eval" || e.value === "execScript")) { - if (isGlobalEval(left, state)) { - warning("W061"); - } - } - - countMember(e.value); - if (!state.option.sub && reg.identifier.test(e.value)) { - s = state.syntax[e.value]; - - if (s) { - canUseDot = !isReserved(context, s); - } else { - canUseDot = e.value !== "eval" && e.value !== "arguments"; - } - - if (canUseDot) { - warning("W069", state.tokens.prev, e.value); - } - } - } - advance("]", that); - - if (e && e.value === "hasOwnProperty" && state.tokens.next.value === "=") { - warning("W001"); - } - - that.left = left; - that.right = e; - return that; - }, 160, true); - - function comprehensiveArrayExpression(context) { - var res = {}; - res.exps = true; - state.funct["(comparray)"].stack(); - var reversed = false; - if (state.tokens.next.value !== "for") { - reversed = true; - if (!state.inMoz()) { - warning("W116", state.tokens.next, "for", state.tokens.next.value); - } - state.funct["(comparray)"].setState("use"); - res.right = expression(context, 10); - } - - advance("for"); - if (state.tokens.next.value === "each") { - advance("each"); - if (!state.inMoz()) { - warning("W118", state.tokens.curr, "for each"); - } - } - advance("("); - state.funct["(comparray)"].setState("define"); - res.left = expression(context, 130); - if (_.includes(["in", "of"], state.tokens.next.value)) { - advance(); - } else { - error("E045", state.tokens.curr); - } - state.funct["(comparray)"].setState("generate"); - expression(context, 10); - - advance(")"); - if (state.tokens.next.value === "if") { - advance("if"); - advance("("); - state.funct["(comparray)"].setState("filter"); - expression(context, 10); - advance(")"); - } - - if (!reversed) { - state.funct["(comparray)"].setState("use"); - res.right = expression(context, 10); - } - - advance("]"); - state.funct["(comparray)"].unstack(); - return res; - } - - prefix("[", function(context) { - var blocktype = lookupBlockType(); - if (blocktype.isCompArray) { - if (!state.option.esnext && !state.inMoz()) { - warning("W118", state.tokens.curr, "array comprehension"); - } - return comprehensiveArrayExpression(context); - } else if (blocktype.isDestAssign) { - this.destructAssign = destructuringPattern(context, { - openingParsed: true, - assignment: true - }); - return this; - } - var b = !sameLine(state.tokens.curr, state.tokens.next); - this.first = []; - if (b) { - indent += state.option.indent; - if (state.tokens.next.from === indent + state.option.indent) { - indent += state.option.indent; - } - } - while (state.tokens.next.id !== "(end)") { - while (state.tokens.next.id === ",") { - if (!state.option.elision) { - if (!state.inES5()) { - warning("W070"); - } else { - warning("W128"); - do { - advance(","); - } while (state.tokens.next.id === ","); - continue; - } - } - advance(","); - } - - if (state.tokens.next.id === "]") { - break; - } - - spreadrest("spread"); - - this.first.push(expression(context, 10)); - if (state.tokens.next.id === ",") { - advance(","); - checkComma({ allowTrailing: true }); - if (state.tokens.next.id === "]" && !state.inES5()) { - warning("W070", state.tokens.curr); - break; - } - } else { - if (state.option.trailingcomma && state.inES5()) { - warningAt("W140", state.tokens.curr.line, state.tokens.curr.character); - } - break; - } - } - if (b) { - indent -= state.option.indent; - } - advance("]", this); - return this; - }); - - - function isMethod() { - return !!state.funct["(method)"]; - } - function propertyName(context) { - var id = optionalidentifier(context, true); - - if (!id) { - if (state.tokens.next.id === "(string)") { - id = state.tokens.next.value; - advance(); - } else if (state.tokens.next.id === "(number)") { - id = state.tokens.next.value.toString(); - advance(); - } - } - - if (id === "hasOwnProperty") { - warning("W001"); - } - - return id; - } - function functionparams(context, options) { - var next; - var paramsIds = []; - var ident; - var tokens = []; - var t; - var pastDefault = false; - var pastRest = false; - var arity = 0; - var loneArg = options && options.loneArg; - var hasDestructuring = false; - - if (loneArg && loneArg.identifier === true) { - state.funct["(scope)"].addParam(loneArg.value, loneArg); - return { arity: 1, params: [ loneArg.value ], isSimple: true }; - } - - next = state.tokens.next; - - if (!options || !options.parsedOpening) { - advance("("); - } - - if (state.tokens.next.id === ")") { - advance(")"); - return; - } - - function addParam(addParamArgs) { - state.funct["(scope)"].addParam.apply(state.funct["(scope)"], addParamArgs); - } - - for (;;) { - arity++; - var currentParams = []; - - pastRest = spreadrest("rest"); - - if (_.includes(["{", "["], state.tokens.next.id)) { - hasDestructuring = true; - tokens = destructuringPattern(context); - for (t in tokens) { - t = tokens[t]; - if (t.id) { - paramsIds.push(t.id); - currentParams.push([t.id, t.token]); - } - } - } else { - ident = identifier(context); - - if (ident) { - paramsIds.push(ident); - currentParams.push([ident, state.tokens.curr]); - } else { - while (!checkPunctuators(state.tokens.next, [",", ")"])) advance(); - } - } - if (pastDefault) { - if (state.tokens.next.id !== "=") { - error("W138", state.tokens.curr); - } - } - if (state.tokens.next.id === "=") { - if (!state.inES6()) { - warning("W119", state.tokens.next, "default parameters", "6"); - } - - if (pastRest) { - error("E062", state.tokens.next); - } - - advance("="); - pastDefault = true; - expression(context, 10); - } - currentParams.forEach(addParam); - if (state.tokens.next.id === ",") { - if (pastRest) { - warning("W131", state.tokens.next); - } - advance(","); - checkComma({ allowTrailing: true }); - } - - if (state.tokens.next.id === ")") { - if (state.tokens.curr.id === "," && !state.inES8()) { - warning("W119", state.tokens.curr, "Trailing comma in function parameters", "8"); - } - - advance(")", next); - return { - arity: arity, - params: paramsIds, - isSimple: !hasDestructuring && !pastRest && !pastDefault - }; - } - } - } - function functor(name, token, overwrites) { - var funct = { - "(name)" : name, - "(breakage)" : 0, - "(loopage)" : 0, - "(isStrict)" : "unknown", - - "(global)" : false, - - "(line)" : null, - "(character)" : null, - "(metrics)" : null, - "(statement)" : null, - "(context)" : null, - "(scope)" : null, - "(comparray)" : null, - "(yielded)" : null, - "(arrow)" : null, - "(async)" : null, - "(params)" : null - }; - - if (token) { - _.extend(funct, { - "(line)" : token.line, - "(character)": token.character, - "(metrics)" : createMetrics(token) - }); - } - - _.extend(funct, overwrites); - - if (funct["(context)"]) { - funct["(scope)"] = funct["(context)"]["(scope)"]; - funct["(comparray)"] = funct["(context)"]["(comparray)"]; - } - - return funct; - } - function hasParsedCode(funct) { - return funct["(global)"] && !funct["(verb)"]; - } - function doTemplateLiteral(context, leftOrRbp) { - var ctx = this.context; - var noSubst = this.noSubst; - var depth = this.depth; - var left = typeof leftOrRbp === "number" ? null : leftOrRbp; - - if (!noSubst) { - while (!end()) { - if (!state.tokens.next.template || state.tokens.next.depth > depth) { - expression(context, 0); // should probably have different rbp? - } else { - advance(); - } - } - } - - return { - id: "(template)", - type: "(template)", - tag: left - }; - - function end() { - if (state.tokens.curr.template && state.tokens.curr.tail && - state.tokens.curr.context === ctx) { - return true; - } - var complete = (state.tokens.next.template && state.tokens.next.tail && - state.tokens.next.context === ctx); - if (complete) advance(); - return complete || state.tokens.next.isUnclosed; - } - } - function doFunction(context, options) { - var f, token, name, statement, classExprBinding, isGenerator, isArrow, - isMethod, ignoreLoopFunc; - var oldOption = state.option; - var oldIgnored = state.ignored; - var isAsync = context & prodParams.preAsync; - - if (options) { - name = options.name; - statement = options.statement; - classExprBinding = options.classExprBinding; - isGenerator = options.type === "generator"; - isArrow = options.type === "arrow"; - isMethod = options.isMethod; - ignoreLoopFunc = options.ignoreLoopFunc; - } - - context &= ~prodParams.noin; - context &= ~prodParams.tryClause; - - if (isAsync) { - context |= prodParams.async; - } else { - context &= ~prodParams.async; - } - - if (isGenerator) { - context |= prodParams.yield; - } else if (!isArrow) { - context &= ~prodParams.yield; - } - context &= ~prodParams.preAsync; - - state.option = Object.create(state.option); - state.ignored = Object.create(state.ignored); - - state.funct = functor(name || state.nameStack.infer(), state.tokens.next, { - "(statement)": statement, - "(context)": state.funct, - "(arrow)": isArrow, - "(method)": isMethod, - "(async)": isAsync - }); - - f = state.funct; - token = state.tokens.curr; - - functions.push(state.funct); - state.funct["(scope)"].stack("functionouter"); - var internallyAccessibleName = !isMethod && (name || classExprBinding); - if (internallyAccessibleName) { - state.funct["(scope)"].block.add(internallyAccessibleName, - classExprBinding ? "class" : "function", state.tokens.curr, false); - } - - if (!isArrow) { - state.funct["(scope)"].funct.add("arguments", "var", token, false); - } - state.funct["(scope)"].stack("functionparams"); - - var paramsInfo = functionparams(context, options); - - if (paramsInfo) { - state.funct["(params)"] = paramsInfo.params; - state.funct["(hasSimpleParams)"] = paramsInfo.isSimple; - state.funct["(metrics)"].arity = paramsInfo.arity; - state.funct["(metrics)"].verifyMaxParametersPerFunction(); - } else { - state.funct["(params)"] = []; - state.funct["(metrics)"].arity = 0; - state.funct["(hasSimpleParams)"] = true; - } - - if (isArrow) { - context &= ~prodParams.yield; - - if (!state.inES6(true)) { - warning("W119", state.tokens.curr, "arrow function syntax (=>)", "6"); - } - - if (!options.loneArg) { - advance("=>"); - } - } - - block(context, false, true, true, isArrow); - - if (!state.option.noyield && isGenerator && !state.funct["(yielded)"]) { - warning("W124", state.tokens.curr); - } - - state.funct["(metrics)"].verifyMaxStatementsPerFunction(); - state.funct["(metrics)"].verifyMaxComplexityPerFunction(); - state.funct["(unusedOption)"] = state.option.unused; - state.option = oldOption; - state.ignored = oldIgnored; - state.funct["(last)"] = state.tokens.curr.line; - state.funct["(lastcharacter)"] = state.tokens.curr.character; - state.funct["(scope)"].unstack(); // also does usage and label checks - state.funct["(scope)"].unstack(); - - state.funct = state.funct["(context)"]; - - if (!ignoreLoopFunc && !state.option.loopfunc && state.funct["(loopage)"]) { - if (f["(outerMutables)"]) { - warning("W083", token, f["(outerMutables)"].join(", ")); - } - } - - return f; - } - - function createMetrics(functionStartToken) { - return { - statementCount: 0, - nestedBlockDepth: -1, - ComplexityCount: 1, - arity: 0, - - verifyMaxStatementsPerFunction: function() { - if (state.option.maxstatements && - this.statementCount > state.option.maxstatements) { - warning("W071", functionStartToken, this.statementCount); - } - }, - - verifyMaxParametersPerFunction: function() { - if (_.isNumber(state.option.maxparams) && - this.arity > state.option.maxparams) { - warning("W072", functionStartToken, this.arity); - } - }, - - verifyMaxNestedBlockDepthPerFunction: function() { - if (state.option.maxdepth && - this.nestedBlockDepth > 0 && - this.nestedBlockDepth === state.option.maxdepth + 1) { - warning("W073", null, this.nestedBlockDepth); - } - }, - - verifyMaxComplexityPerFunction: function() { - var max = state.option.maxcomplexity; - var cc = this.ComplexityCount; - if (max && cc > max) { - warning("W074", functionStartToken, cc); - } - } - }; - } - - function increaseComplexityCount() { - state.funct["(metrics)"].ComplexityCount += 1; - } - - function checkCondAssignment(token) { - if (!token || token.paren) { - return; - } - - if (token.id === ",") { - checkCondAssignment(token.right); - return; - } - - switch (token.id) { - case "=": - case "+=": - case "-=": - case "*=": - case "%=": - case "&=": - case "|=": - case "^=": - case "/=": - if (!state.option.boss) { - warning("W084", token); - } - } - } - function checkProperties(props) { - if (state.inES5()) { - for (var name in props) { - if (props[name] && props[name].setterToken && !props[name].getterToken && - !props[name].static) { - warning("W078", props[name].setterToken); - } - } - } - } - - function metaProperty(context, name, c) { - if (checkPunctuator(state.tokens.next, ".")) { - var left = state.tokens.curr.id; - advance("."); - var id = identifier(context); - state.tokens.curr.isMetaProperty = true; - if (name !== id) { - error("E057", state.tokens.prev, left, id); - } else { - c(); - } - return state.tokens.curr; - } - } - (function(x) { - x.nud = function(context) { - var b, f, i, params, t, isGeneratorMethod = false, nextVal; - var props = Object.create(null); // All properties, including accessors - var isAsyncMethod = false; - - b = !sameLine(state.tokens.curr, state.tokens.next); - if (b) { - indent += state.option.indent; - if (state.tokens.next.from === indent + state.option.indent) { - indent += state.option.indent; - } - } - - var blocktype = lookupBlockType(); - if (blocktype.isDestAssign) { - this.destructAssign = destructuringPattern(context, { - openingParsed: true, - assignment: true - }); - return this; - } - state.inObjectBody = true; - for (;;) { - if (state.tokens.next.id === "}") { - break; - } - - nextVal = state.tokens.next.value; - if (state.tokens.next.identifier && - (peekIgnoreEOL().id === "," || peekIgnoreEOL().id === "}")) { - if (!state.inES6()) { - warning("W104", state.tokens.next, "object short notation", "6"); - } - t = expression(context, 10); - i = t && t.value; - if (t) { - saveProperty(props, i, t); - } - - } else if (peek().id !== ":" && (nextVal === "get" || nextVal === "set")) { - advance(nextVal); - - if (!state.inES5()) { - error("E034"); - } - - if (state.tokens.next.id === "[") { - i = computedPropertyName(context); - } else { - i = propertyName(context); - if (!i && !state.inES6()) { - error("E035"); - } - } - if (i) { - saveAccessor(nextVal, props, i, state.tokens.curr); - } - - t = state.tokens.next; - f = doFunction(context, { isMethod: true }); - params = f["(params)"]; - if (nextVal === "get" && i && params.length) { - warning("W076", t, params[0], i); - } else if (nextVal === "set" && i && f["(metrics)"].arity !== 1) { - warning("W077", t, i); - } - - } else if (spreadrest("spread")) { - if (!state.inES9()) { - warning("W119", state.tokens.next, "object spread property", "9"); - } - - expression(context, 10); - } else { - if (state.tokens.next.id === "async" && !checkPunctuators(peek(), ["(", ":"])) { - if (!state.inES8()) { - warning("W119", state.tokens.next, "async functions", "8"); - } - - isAsyncMethod = true; - advance(); - - nolinebreak(state.tokens.curr); - } else { - isAsyncMethod = false; - } - - if (state.tokens.next.value === "*" && state.tokens.next.type === "(punctuator)") { - if (isAsyncMethod && !state.inES9()) { - warning("W119", state.tokens.next, "async generators", "9"); - } else if (!state.inES6()) { - warning("W104", state.tokens.next, "generator functions", "6"); - } - - advance("*"); - isGeneratorMethod = true; - } else { - isGeneratorMethod = false; - } - - if (state.tokens.next.id === "[") { - i = computedPropertyName(context); - state.nameStack.set(i); - } else { - state.nameStack.set(state.tokens.next); - i = propertyName(context); - saveProperty(props, i, state.tokens.next); - - if (typeof i !== "string") { - break; - } - } - - if (state.tokens.next.value === "(") { - if (!state.inES6()) { - warning("W104", state.tokens.curr, "concise methods", "6"); - } - - doFunction(isAsyncMethod ? context | prodParams.preAsync : context, { - isMethod: true, - type: isGeneratorMethod ? "generator" : null - }); - } else { - advance(":"); - expression(context, 10); - } - } - - countMember(i); - - if (state.tokens.next.id === ",") { - advance(","); - checkComma({ allowTrailing: true, property: true }); - if (state.tokens.next.id === ",") { - warning("W070", state.tokens.curr); - } else if (state.tokens.next.id === "}" && !state.inES5()) { - warning("W070", state.tokens.curr); - } - } else { - if (state.option.trailingcomma && state.inES5()) { - warningAt("W140", state.tokens.curr.line, state.tokens.curr.character); - } - break; - } - } - if (b) { - indent -= state.option.indent; - } - advance("}", this); - - checkProperties(props); - state.inObjectBody = false; - - return this; - }; - x.fud = function() { - error("E036", state.tokens.curr); - }; - }(delim("{"))); - - function destructuringPattern(context, options) { - var isAssignment = options && options.assignment; - - context &= ~prodParams.noin; - - if (!state.inES6()) { - warning("W104", state.tokens.curr, - isAssignment ? "destructuring assignment" : "destructuring binding", "6"); - } - - return destructuringPatternRecursive(context, options); - } - - function destructuringPatternRecursive(context, options) { - var ids, idx; - var identifiers = []; - var openingParsed = options && options.openingParsed; - var isAssignment = options && options.assignment; - var recursiveOptions = isAssignment ? { assignment: isAssignment } : null; - var firstToken = openingParsed ? state.tokens.curr : state.tokens.next; - - var nextInnerDE = function() { - var ident; - if (checkPunctuators(state.tokens.next, ["[", "{"])) { - ids = destructuringPatternRecursive(context, recursiveOptions); - for (idx = 0; idx < ids.length; idx++) { - identifiers.push({ id: ids[idx].id, token: ids[idx].token }); - } - } else if (checkPunctuator(state.tokens.next, ",")) { - identifiers.push({ id: null, token: state.tokens.curr }); - } else if (checkPunctuator(state.tokens.next, "(")) { - advance("("); - nextInnerDE(); - advance(")"); - } else { - if (isAssignment) { - var assignTarget = expression(context, 20); - if (assignTarget) { - checkLeftSideAssign(context, assignTarget); - if (assignTarget.identifier) { - ident = assignTarget.value; - } - } - } else { - ident = identifier(context); - } - if (ident) { - identifiers.push({ id: ident, token: state.tokens.curr }); - } - } - }; - - var assignmentProperty = function(context) { - var id, expr; - - if (checkPunctuator(state.tokens.next, "[")) { - advance("["); - expression(context, 10); - advance("]"); - advance(":"); - nextInnerDE(); - } else if (state.tokens.next.id === "(string)" || - state.tokens.next.id === "(number)") { - advance(); - advance(":"); - nextInnerDE(); - } else { - var isRest = spreadrest("rest"); - - if (isRest) { - if (!state.inES9()) { - warning("W119", state.tokens.next, "object rest property", "9"); - } - if (state.tokens.next.type === "(identifier)") { - id = identifier(context); - } else { - expr = expression(context, 10); - error("E030", expr, expr.value); - } - } else { - id = identifier(context); - } - - if (!isRest && checkPunctuator(state.tokens.next, ":")) { - advance(":"); - nextInnerDE(); - } else if (id) { - if (isAssignment) { - checkLeftSideAssign(context, state.tokens.curr); - } - identifiers.push({ id: id, token: state.tokens.curr }); - } - - if (isRest && checkPunctuator(state.tokens.next, ",")) { - warning("W130", state.tokens.next); - } - } - }; - - var id, value; - if (checkPunctuator(firstToken, "[")) { - if (!openingParsed) { - advance("["); - } - if (checkPunctuator(state.tokens.next, "]")) { - warning("W137", state.tokens.curr); - } - var element_after_rest = false; - while (!checkPunctuator(state.tokens.next, "]")) { - var isRest = spreadrest("rest"); - - nextInnerDE(); - - if (isRest && !element_after_rest && - checkPunctuator(state.tokens.next, ",")) { - warning("W130", state.tokens.next); - element_after_rest = true; - } - if (!isRest && checkPunctuator(state.tokens.next, "=")) { - if (checkPunctuator(state.tokens.prev, "...")) { - advance("]"); - } else { - advance("="); - } - id = state.tokens.prev; - value = expression(context, 10); - if (value && value.identifier && value.value === "undefined") { - warning("W080", id, id.value); - } - } - if (!checkPunctuator(state.tokens.next, "]")) { - advance(","); - } - } - advance("]"); - } else if (checkPunctuator(firstToken, "{")) { - - if (!openingParsed) { - advance("{"); - } - if (checkPunctuator(state.tokens.next, "}")) { - warning("W137", state.tokens.curr); - } - while (!checkPunctuator(state.tokens.next, "}")) { - assignmentProperty(context); - if (checkPunctuator(state.tokens.next, "=")) { - advance("="); - id = state.tokens.prev; - value = expression(context, 10); - if (value && value.identifier && value.value === "undefined") { - warning("W080", id, id.value); - } - } - if (!checkPunctuator(state.tokens.next, "}")) { - advance(","); - if (checkPunctuator(state.tokens.next, "}")) { - break; - } - } - } - advance("}"); - } - return identifiers; - } - - function destructuringPatternMatch(tokens, value) { - var first = value.first; - - if (!first) - return; - - _.zip(tokens, Array.isArray(first) ? first : [ first ]).forEach(function(val) { - var token = val[0]; - var value = val[1]; - - if (token && value) - token.first = value; - else if (token && token.first && !value) - warning("W080", token.first, token.first.value); - }); - } - - function blockVariableStatement(type, statement, context) { - - var noin = context & prodParams.noin; - var isLet = type === "let"; - var isConst = type === "const"; - var tokens, lone, value, letblock; - - if (!state.inES6()) { - warning("W104", state.tokens.curr, type, "6"); - } - - if (isLet && isMozillaLet()) { - advance("("); - state.funct["(scope)"].stack(); - letblock = true; - statement.declaration = false; - } - - statement.first = []; - for (;;) { - var names = []; - if (_.includes(["{", "["], state.tokens.next.value)) { - tokens = destructuringPattern(context); - lone = false; - } else { - tokens = [ { id: identifier(context), token: state.tokens.curr } ]; - lone = true; - } - if (!noin && isConst && state.tokens.next.id !== "=") { - warning("E012", state.tokens.curr, state.tokens.curr.value); - } - - for (var t in tokens) { - if (tokens.hasOwnProperty(t)) { - t = tokens[t]; - if (t.id === "let") { - warning("W024", t.token, t.id); - } - - if (state.funct["(scope)"].block.isGlobal()) { - if (predefined[t.id] === false) { - warning("W079", t.token, t.id); - } - } - if (t.id) { - state.funct["(scope)"].addbinding(t.id, { - type: type, - token: t.token }); - names.push(t.token); - } - } - } - - if (state.tokens.next.id === "=") { - statement.hasInitializer = true; - - advance("="); - if (!noin && peek(0).id === "=" && state.tokens.next.identifier) { - warning("W120", state.tokens.next, state.tokens.next.value); - } - var id = state.tokens.prev; - value = expression(context, 10); - if (value) { - if (!isConst && value.identifier && value.value === "undefined") { - warning("W080", id, id.value); - } - if (!lone) { - destructuringPatternMatch(names, value); - } - } - } - if (state.tokens.next.value !== "in" && state.tokens.next.value !== "of") { - for (t in tokens) { - if (tokens.hasOwnProperty(t)) { - t = tokens[t]; - state.funct["(scope)"].initialize(t.id); - } - } - } - - statement.first = statement.first.concat(names); - - if (state.tokens.next.id !== ",") { - break; - } - - statement.hasComma = true; - advance(","); - checkComma(); - } - if (letblock) { - advance(")"); - block(context, true, true); - statement.block = true; - state.funct["(scope)"].unstack(); - } - - return statement; - } - - var conststatement = stmt("const", function(context) { - return blockVariableStatement("const", this, context); - }); - conststatement.exps = true; - conststatement.declaration = true; - function isMozillaLet() { - return state.tokens.next.id === "(" && state.inMoz(); - } - var letstatement = stmt("let", function(context) { - return blockVariableStatement("let", this, context); - }); - letstatement.nud = function(context, rbp) { - if (isMozillaLet()) { - state.funct["(scope)"].stack(); - advance("("); - state.tokens.prev.fud(context); - advance(")"); - expression(context, rbp); - state.funct["(scope)"].unstack(); - } else { - this.exps = false; - return state.syntax["(identifier)"].nud.apply(this, arguments); - } - }; - letstatement.meta = { es5: true, isFutureReservedWord: false, strictOnly: true }; - letstatement.exps = true; - letstatement.declaration = true; - letstatement.useFud = function(context) { - var next = state.tokens.next; - var nextIsBindingName; - - if (this.line !== next.line && !state.inES6()) { - return false; - } - nextIsBindingName = next.identifier && (!isReserved(context, next) || - next.id === "let"); - - return nextIsBindingName || checkPunctuators(next, ["{", "["]) || - isMozillaLet(); - }; - - var varstatement = stmt("var", function(context) { - var noin = context & prodParams.noin; - var tokens, lone, value, id; - - this.first = []; - for (;;) { - var names = []; - if (_.includes(["{", "["], state.tokens.next.value)) { - tokens = destructuringPattern(context); - lone = false; - } else { - tokens = []; - id = identifier(context); - - if (id) { - tokens.push({ id: id, token: state.tokens.curr }); - } - - lone = true; - } - - if (state.option.varstmt) { - warning("W132", this); - } - - - for (var t in tokens) { - if (tokens.hasOwnProperty(t)) { - t = tokens[t]; - if (state.funct["(global)"] && !state.impliedClosure()) { - if (predefined[t.id] === false) { - warning("W079", t.token, t.id); - } else if (state.option.futurehostile === false) { - if ((!state.inES5() && vars.ecmaIdentifiers[5][t.id] === false) || - (!state.inES6() && vars.ecmaIdentifiers[6][t.id] === false)) { - warning("W129", t.token, t.id); - } - } - } - if (t.id) { - state.funct["(scope)"].addbinding(t.id, { - type: "var", - token: t.token }); - - names.push(t.token); - } - } - } - - if (state.tokens.next.id === "=") { - this.hasInitializer = true; - - state.nameStack.set(state.tokens.curr); - - advance("="); - if (peek(0).id === "=" && state.tokens.next.identifier) { - if (!noin && - !state.funct["(params)"] || - state.funct["(params)"].indexOf(state.tokens.next.value) === -1) { - warning("W120", state.tokens.next, state.tokens.next.value); - } - } - id = state.tokens.prev; - value = expression(context, 10); - if (value) { - if (!state.funct["(loopage)"] && value.identifier && - value.value === "undefined") { - warning("W080", id, id.value); - } - if (!lone) { - destructuringPatternMatch(names, value); - } - } - } - - this.first = this.first.concat(names); - - if (state.tokens.next.id !== ",") { - break; - } - this.hasComma = true; - advance(","); - checkComma(); - } - - return this; - }); - varstatement.exps = true; - - blockstmt("function", function(context) { - var inexport = context & prodParams.export; - var generator = false; - var isAsync = context & prodParams.preAsync; - var labelType = ""; - - if (isAsync) { - labelType = "async "; - } - - if (state.tokens.next.value === "*") { - if (isAsync && !state.inES9()) { - warning("W119", state.tokens.prev, "async generators", "9"); - } else if (!isAsync && !state.inES6(true)) { - warning("W119", state.tokens.next, "function*", "6"); - } - - advance("*"); - labelType += "generator "; - generator = true; - } - - labelType += "function"; - - if (inblock) { - warning("W082", state.tokens.curr); - } - this.name = optionalidentifier(context) ? state.tokens.curr : null; - - if (!this.name) { - if (!inexport) { - warning("W025"); - } - } else { - state.funct["(scope)"].addbinding(this.name.value, { - type: labelType, - token: state.tokens.curr, - initialized: true }); - } - - var f = doFunction(context, { - name: this.name && this.name.value, - statement: this, - type: generator ? "generator" : null, - ignoreLoopFunc: inblock // a declaration may already have warned - }); - var enablesStrictMode = f["(isStrict)"] && !state.isStrict(); - if (this.name && (f["(name)"] === "arguments" || f["(name)"] === "eval") && - enablesStrictMode) { - error("E008", this.name); - } - if (state.tokens.next.id === "(" && peek().id === ")" && peek(1).id !== "=>" && - state.tokens.next.line === state.tokens.curr.line) { - error("E039"); - } - return this; - }).declaration = true; - - prefix("function", function(context) { - var generator = false; - var isAsync = context & prodParams.preAsync; - - if (state.tokens.next.value === "*") { - if (isAsync && !state.inES9()) { - warning("W119", state.tokens.prev, "async generators", "9"); - } else if (!isAsync && !state.inES6(true)) { - warning("W119", state.tokens.curr, "function*", "6"); - } - - advance("*"); - generator = true; - } - this.name = optionalidentifier(isAsync ? context | prodParams.async : context) ? - state.tokens.curr : null; - - var f = doFunction(context, { - name: this.name && this.name.value, - type: generator ? "generator" : null - }); - - if (generator && this.name && this.name.value === "yield") { - error("E024", this.name, "yield"); - } - - if (this.name && (f["(name)"] === "arguments" || f["(name)"] === "eval") && - f["(isStrict)"]) { - error("E008", this.name); - } - - return this; - }); - - blockstmt("if", function(context) { - var t = state.tokens.next; - increaseComplexityCount(); - advance("("); - var expr = expression(context, 0); - - if (!expr) { - quit("E041", this); - } - - checkCondAssignment(expr); - var forinifcheck = null; - if (state.option.forin && state.forinifcheckneeded) { - state.forinifcheckneeded = false; // We only need to analyze the first if inside the loop - forinifcheck = state.forinifchecks[state.forinifchecks.length - 1]; - if (expr.type === "(punctuator)" && expr.value === "!") { - forinifcheck.type = "(negative)"; - } else { - forinifcheck.type = "(positive)"; - } - } - - advance(")", t); - var s = block(context, true, true); - if (forinifcheck && forinifcheck.type === "(negative)") { - if (s && s[0] && s[0].type === "(identifier)" && s[0].value === "continue") { - forinifcheck.type = "(negative-with-continue)"; - } - } - - if (state.tokens.next.id === "else") { - advance("else"); - if (state.tokens.next.id === "if" || state.tokens.next.id === "switch") { - statement(context); - } else { - block(context, true, true); - } - } - return this; - }); - - blockstmt("try", function(context) { - var b; - var hasParameter = false; - - function catchParameter() { - advance("("); - - if (checkPunctuators(state.tokens.next, ["[", "{"])) { - var tokens = destructuringPattern(context); - _.each(tokens, function(token) { - if (token.id) { - state.funct["(scope)"].addParam(token.id, token.token, "exception"); - } - }); - } else if (state.tokens.next.type !== "(identifier)") { - warning("E030", state.tokens.next, state.tokens.next.value); - } else { - state.funct["(scope)"].addParam(identifier(context), state.tokens.curr, "exception"); - } - - if (state.tokens.next.value === "if") { - if (!state.inMoz()) { - warning("W118", state.tokens.curr, "catch filter"); - } - advance("if"); - expression(context, 0); - } - - advance(")"); - } - - block(context | prodParams.tryClause, true); - - while (state.tokens.next.id === "catch") { - increaseComplexityCount(); - if (b && (!state.inMoz())) { - warning("W118", state.tokens.next, "multiple catch blocks"); - } - advance("catch"); - if (state.tokens.next.id !== "{") { - state.funct["(scope)"].stack("catchparams"); - hasParameter = true; - catchParameter(); - } else if (!state.inES10()) { - warning("W119", state.tokens.curr, "optional catch binding", "10"); - } - block(context, false); - - if (hasParameter) { - state.funct["(scope)"].unstack(); - hasParameter = false; - } - b = true; - } - - if (state.tokens.next.id === "finally") { - advance("finally"); - block(context, true); - return; - } - - if (!b) { - error("E021", state.tokens.next, "catch", state.tokens.next.value); - } - - return this; - }); - - blockstmt("while", function(context) { - var t = state.tokens.next; - state.funct["(breakage)"] += 1; - state.funct["(loopage)"] += 1; - increaseComplexityCount(); - advance("("); - checkCondAssignment(expression(context, 0)); - advance(")", t); - block(context, true, true); - state.funct["(breakage)"] -= 1; - state.funct["(loopage)"] -= 1; - return this; - }).labelled = true; - - blockstmt("with", function(context) { - var t = state.tokens.next; - if (state.isStrict()) { - error("E010", state.tokens.curr); - } else if (!state.option.withstmt) { - warning("W085", state.tokens.curr); - } - - advance("("); - expression(context, 0); - advance(")", t); - block(context, true, true); - - return this; - }); - - blockstmt("switch", function(context) { - var t = state.tokens.next; - var g = false; - var noindent = false; - var seenCase = false; - - state.funct["(breakage)"] += 1; - advance("("); - checkCondAssignment(expression(context, 0)); - advance(")", t); - t = state.tokens.next; - advance("{"); - state.funct["(scope)"].stack(); - - if (state.tokens.next.from === indent) - noindent = true; - - if (!noindent) - indent += state.option.indent; - - for (;;) { - switch (state.tokens.next.id) { - case "case": - switch (state.funct["(verb)"]) { - case "yield": - case "break": - case "case": - case "continue": - case "return": - case "switch": - case "throw": - break; - case "default": - if (state.option.leanswitch) { - warning("W145", state.tokens.next); - } - - break; - default: - if (!state.tokens.curr.caseFallsThrough) { - warning("W086", state.tokens.curr, "case"); - } - } - - advance("case"); - expression(context, 0); - seenCase = true; - increaseComplexityCount(); - g = true; - advance(":"); - state.funct["(verb)"] = "case"; - break; - case "default": - switch (state.funct["(verb)"]) { - case "yield": - case "break": - case "continue": - case "return": - case "throw": - break; - case "case": - if (state.option.leanswitch) { - warning("W145", state.tokens.curr); - } - - break; - default: - if (seenCase && !state.tokens.curr.caseFallsThrough) { - warning("W086", state.tokens.curr, "default"); - } - } - - advance("default"); - g = true; - advance(":"); - state.funct["(verb)"] = "default"; - break; - case "}": - if (!noindent) - indent -= state.option.indent; - - advance("}", t); - state.funct["(scope)"].unstack(); - state.funct["(breakage)"] -= 1; - state.funct["(verb)"] = undefined; - return; - case "(end)": - error("E023", state.tokens.next, "}"); - return; - default: - indent += state.option.indent; - if (g) { - switch (state.tokens.curr.id) { - case ",": - error("E040"); - return; - case ":": - g = false; - statements(context); - break; - default: - error("E025", state.tokens.curr); - return; - } - } else { - if (state.tokens.curr.id === ":") { - advance(":"); - error("E024", state.tokens.curr, ":"); - statements(context); - } else { - error("E021", state.tokens.next, "case", state.tokens.next.value); - return; - } - } - indent -= state.option.indent; - } - } - }).labelled = true; - - stmt("debugger", function() { - if (!state.option.debug) { - warning("W087", this); - } - return this; - }).exps = true; - - (function() { - var x = stmt("do", function(context) { - state.funct["(breakage)"] += 1; - state.funct["(loopage)"] += 1; - increaseComplexityCount(); - - this.first = block(context, true, true); - advance("while"); - var t = state.tokens.next; - advance("("); - checkCondAssignment(expression(context, 0)); - advance(")", t); - state.funct["(breakage)"] -= 1; - state.funct["(loopage)"] -= 1; - return this; - }); - x.labelled = true; - x.exps = true; - }()); - - blockstmt("for", function(context) { - var s, t = state.tokens.next; - var letscope = false; - var isAsync = false; - var foreachtok = null; - - if (t.value === "each") { - foreachtok = t; - advance("each"); - if (!state.inMoz()) { - warning("W118", state.tokens.curr, "for each"); - } - } - - if (state.tokens.next.identifier && state.tokens.next.value === "await") { - advance("await"); - isAsync = true; - - if (!(context & prodParams.async)) { - error("E024", state.tokens.curr, "await"); - } else if (!state.inES9()) { - warning("W119", state.tokens.curr, "asynchronous iteration", "9"); - } - } - - increaseComplexityCount(); - advance("("); - var nextop; // contains the token of the "in" or "of" operator - var comma; // First comma punctuator at level 0 - var initializer; // First initializer at level 0 - var bindingPower; - var targets; - var target; - var decl; - var afterNext = peek(); - - var headContext = context | prodParams.noin; - - if (state.tokens.next.id === "var") { - advance("var"); - decl = state.tokens.curr.fud(headContext); - comma = decl.hasComma ? decl : null; - initializer = decl.hasInitializer ? decl : null; - } else if (state.tokens.next.id === "const" || - (state.tokens.next.id === "let" && - ((afterNext.identifier && afterNext.id !== "in") || - checkPunctuators(afterNext, ["{", "["])))) { - advance(state.tokens.next.id); - letscope = true; - state.funct["(scope)"].stack(); - decl = state.tokens.curr.fud(headContext); - comma = decl.hasComma ? decl : null; - initializer = decl.hasInitializer ? decl : null; - } else if (!checkPunctuator(state.tokens.next, ";")) { - targets = []; - - while (state.tokens.next.value !== "in" && - state.tokens.next.value !== "of" && - !checkPunctuator(state.tokens.next, ";")) { - - if (checkPunctuators(state.tokens.next, ["{", "["])) { - destructuringPattern(headContext, { assignment: true }) - .forEach(function(elem) { - this.push(elem.token); - }, targets); - if (checkPunctuator(state.tokens.next, "=")) { - advance("="); - initializer = state.tokens.curr; - expression(headContext, 10); - } - } else { - target = expression(headContext, 10); - - if (target) { - if (target.type === "(identifier)") { - targets.push(target); - } else if (checkPunctuator(target, "=")) { - initializer = target; - targets.push(target); - } - } - } - - if (checkPunctuator(state.tokens.next, ",")) { - advance(","); - - if (!comma) { - comma = state.tokens.curr; - } - } - } - if (!initializer && !comma) { - targets.forEach(function(token) { - if (!state.funct["(scope)"].has(token.value)) { - warning("W088", token, token.value); - } - }); - } - } - - nextop = state.tokens.next; - - if (isAsync && nextop.value !== "of") { - error("E066", nextop); - } - if (_.includes(["in", "of"], nextop.value)) { - if (nextop.value === "of") { - bindingPower = 20; - - if (!state.inES6()) { - warning("W104", nextop, "for of", "6"); - } - } else { - bindingPower = 0; - } - if (comma) { - error("W133", comma, nextop.value, "more than one ForBinding"); - } - if (initializer) { - error("W133", initializer, nextop.value, "initializer is forbidden"); - } - if (target && !comma && !initializer) { - checkLeftSideAssign(context, target, nextop); - } - - advance(nextop.value); - expression(context, bindingPower); - advance(")", t); - - if (nextop.value === "in" && state.option.forin) { - state.forinifcheckneeded = true; - - if (state.forinifchecks === undefined) { - state.forinifchecks = []; - } - state.forinifchecks.push({ - type: "(none)" - }); - } - - state.funct["(breakage)"] += 1; - state.funct["(loopage)"] += 1; - - s = block(context, true, true); - - if (nextop.value === "in" && state.option.forin) { - if (state.forinifchecks && state.forinifchecks.length > 0) { - var check = state.forinifchecks.pop(); - - if (// No if statement or not the first statement in loop body - s && s.length > 0 && (typeof s[0] !== "object" || s[0].value !== "if") || - check.type === "(positive)" && s.length > 1 || - check.type === "(negative)") { - warning("W089", this); - } - } - state.forinifcheckneeded = false; - } - - state.funct["(breakage)"] -= 1; - state.funct["(loopage)"] -= 1; - - } else { - if (foreachtok) { - error("E045", foreachtok); - } - - advance(";"); - if (decl && decl.first && decl.first[0]) { - if (decl.value === "const" && !decl.hasInitializer) { - warning("E012", decl, decl.first[0].value); - } - - decl.first.forEach(function(token) { - state.funct["(scope)"].initialize(token.value); - }); - } - state.funct["(loopage)"] += 1; - if (state.tokens.next.id !== ";") { - checkCondAssignment(expression(context, 0)); - } - - advance(";"); - if (state.tokens.next.id === ";") { - error("E021", state.tokens.next, ")", ";"); - } - if (state.tokens.next.id !== ")") { - for (;;) { - expression(context, 0); - if (state.tokens.next.id !== ",") { - break; - } - advance(","); - checkComma(); - } - } - advance(")", t); - state.funct["(breakage)"] += 1; - block(context, true, true); - state.funct["(breakage)"] -= 1; - state.funct["(loopage)"] -= 1; - } - if (letscope) { - state.funct["(scope)"].unstack(); - } - return this; - }).labelled = true; - - - stmt("break", function() { - var v = state.tokens.next.value; - - if (state.tokens.next.identifier && - sameLine(state.tokens.curr, state.tokens.next)) { - if (!state.funct["(scope)"].funct.hasLabel(v)) { - warning("W090", state.tokens.next, v); - } - this.first = state.tokens.next; - advance(); - } else { - if (state.funct["(breakage)"] === 0) - warning("W052", state.tokens.next, this.value); - } - - reachable(this); - - return this; - }).exps = true; - - - stmt("continue", function() { - var v = state.tokens.next.value; - - if (state.funct["(breakage)"] === 0 || !state.funct["(loopage)"]) { - warning("W052", state.tokens.next, this.value); - } - - if (state.tokens.next.identifier) { - if (sameLine(state.tokens.curr, state.tokens.next)) { - if (!state.funct["(scope)"].funct.hasLabel(v)) { - warning("W090", state.tokens.next, v); - } - this.first = state.tokens.next; - advance(); - } - } - - reachable(this); - - return this; - }).exps = true; - - - stmt("return", function(context) { - if (sameLine(this, state.tokens.next)) { - if (state.tokens.next.id !== ";" && !state.tokens.next.reach) { - this.first = expression(context, 0); - - if (this.first && - this.first.type === "(punctuator)" && this.first.value === "=" && - !this.first.paren && !state.option.boss) { - warning("W093", this.first); - } - - if (state.option.noreturnawait && context & prodParams.async && - !(context & prodParams.tryClause) && - this.first.identifier && this.first.value === "await") { - warning("W146", this.first); - } - } - } else { - if (state.tokens.next.type === "(punctuator)" && - ["[", "{", "+", "-"].indexOf(state.tokens.next.value) > -1) { - nolinebreak(this); // always warn (Line breaking error) - } - } - - reachable(this); - - return this; - }).exps = true; - - prefix("await", function(context) { - if (context & prodParams.async) { - if (!state.funct["(params)"]) { - error("E024", this, "await"); - } - - expression(context, 10); - return this; - } else { - this.exps = false; - return state.syntax["(identifier)"].nud.apply(this, arguments); - } - }).exps = true; - - (function(asyncSymbol) { - asyncSymbol.meta = { es5: true, isFutureReservedWord: true, strictOnly: true }; - asyncSymbol.isFunc = function() { - var next = state.tokens.next; - var afterParens; - - if (this.line !== next.line) { - return false; - } - - if (next.id === "function") { - return true; - } - - if (next.id === "(") { - afterParens = peekThroughParens(0); - - return afterParens.id === "=>"; - } - - if (next.identifier) { - return peek().id === "=>"; - } - - return false; - }; - asyncSymbol.useFud = asyncSymbol.isFunc; - asyncSymbol.fud = function(context) { - if (!state.inES8()) { - warning("W119", this, "async functions", "8"); - } - context |= prodParams.preAsync; - context |= prodParams.initial; - this.func = expression(context, 0); - this.block = this.func.block; - this.exps = this.func.exps; - return this; - }; - asyncSymbol.exps = true; - delete asyncSymbol.reserved; - }(prefix("async", function(context, rbp) { - if (this.isFunc(context)) { - if (!state.inES8()) { - warning("W119", this, "async functions", "8"); - } - - context |= prodParams.preAsync; - this.func = expression(context, rbp); - this.identifier = false; - return this; - } - - this.exps = false; - return state.syntax["(identifier)"].nud.apply(this, arguments); - }))); - - (function(yieldSymbol) { - yieldSymbol.rbp = yieldSymbol.lbp = 25; - yieldSymbol.exps = true; - })(prefix("yield", function(context) { - if (state.inMoz()) { - return mozYield.call(this, context); - } - - if (!(context & prodParams.yield)) { - this.exps = false; - return state.syntax["(identifier)"].nud.apply(this, arguments); - } - - var prev = state.tokens.prev; - if (!state.funct["(params)"]) { - error("E024", this, "yield"); - } - - if (!this.beginsStmt && prev.lbp > 30 && !checkPunctuators(prev, ["("])) { - error("E061", this); - } - - if (!state.inES6()) { - warning("W104", state.tokens.curr, "yield", "6"); - } - state.funct["(yielded)"] = true; - - if (state.tokens.next.value === "*") { - advance("*"); - } - if (state.tokens.curr.value === "*" || sameLine(state.tokens.curr, state.tokens.next)) { - if (state.tokens.next.nud) { - - nobreaknonadjacent(state.tokens.curr, state.tokens.next); - this.first = expression(context, 10); - - if (this.first.type === "(punctuator)" && this.first.value === "=" && - !this.first.paren && !state.option.boss) { - warning("W093", this.first); - } - } else if (state.tokens.next.led) { - if (state.tokens.next.id !== ",") { - error("W017", state.tokens.next); - } - } - } - - return this; - })); - var mozYield = function(context) { - var prev = state.tokens.prev; - if (state.inES6(true) && !(context & prodParams.yield)) { - error("E046", state.tokens.curr, "yield"); - } - state.funct["(yielded)"] = true; - var delegatingYield = false; - - if (state.tokens.next.value === "*") { - delegatingYield = true; - advance("*"); - } - - if (sameLine(this, state.tokens.next)) { - if (delegatingYield || - (state.tokens.next.id !== ";" && !state.option.asi && - !state.tokens.next.reach && state.tokens.next.nud)) { - - nobreaknonadjacent(state.tokens.curr, state.tokens.next); - this.first = expression(context, 10); - - if (this.first.type === "(punctuator)" && this.first.value === "=" && - !this.first.paren && !state.option.boss) { - warning("W093", this.first); - } - } - if (state.tokens.next.id !== ")" && - (prev.lbp > 30 || (!prev.assign && !isEndOfExpr()))) { - error("E050", this); - } - } else if (!state.option.asi) { - nolinebreak(this); // always warn (Line breaking error) - } - return this; - }; - - stmt("throw", function(context) { - nolinebreak(this); - this.first = expression(context, 20); - - reachable(this); - - return this; - }).exps = true; - - prefix("import", function(context) { - var mp = metaProperty(context, "meta", function() { - if (!state.inES11(true)) { - warning("W119", state.tokens.prev, "import.meta", "11"); - } - if (!state.option.module) { - error("E070", state.tokens.prev); - } - }); - - if (mp) { - return mp; - } - - if (!checkPunctuator(state.tokens.next, "(")) { - return state.syntax["(identifier)"].nud.call(this, context); - } - - if (!state.inES11()) { - warning("W119", state.tokens.curr, "dynamic import", "11"); - } - - advance("("); - expression(context, 10); - advance(")"); - return this; - }); - - var importSymbol = stmt("import", function(context) { - if (!state.funct["(scope)"].block.isGlobal()) { - error("E053", state.tokens.curr, "Import"); - } - - if (!state.inES6()) { - warning("W119", state.tokens.curr, "import", "6"); - } - - if (state.tokens.next.type === "(string)") { - advance("(string)"); - return this; - } - - if (state.tokens.next.identifier) { - this.name = identifier(context); - state.funct["(scope)"].addbinding(this.name, { - type: "import", - initialized: true, - token: state.tokens.curr }); - - if (state.tokens.next.value === ",") { - advance(","); - } else { - advance("from"); - advance("(string)"); - return this; - } - } - - if (state.tokens.next.id === "*") { - advance("*"); - advance("as"); - if (state.tokens.next.identifier) { - this.name = identifier(context); - state.funct["(scope)"].addbinding(this.name, { - type: "import", - initialized: true, - token: state.tokens.curr }); - } - } else { - advance("{"); - for (;;) { - if (state.tokens.next.value === "}") { - advance("}"); - break; - } - var importName; - if (peek().value === "as") { - identifier(context, true); - advance("as"); - importName = identifier(context); - } else { - importName = identifier(context); - } - state.funct["(scope)"].addbinding(importName, { - type: "import", - initialized: true, - token: state.tokens.curr }); - - if (state.tokens.next.value === ",") { - advance(","); - } else if (state.tokens.next.value === "}") { - advance("}"); - break; - } else { - error("E024", state.tokens.next, state.tokens.next.value); - break; - } - } - } - advance("from"); - advance("(string)"); - - return this; - }); - importSymbol.exps = true; - importSymbol.reserved = true; - importSymbol.meta = { isFutureReservedWord: true, es5: true }; - importSymbol.useFud = function() { - return !(checkPunctuators(state.tokens.next, [".", "("])); - }; - importSymbol.rbp = 161; - - stmt("export", function(context) { - var ok = true; - var token; - var moduleSpecifier; - context = context | prodParams.export; - - if (!state.inES6()) { - warning("W119", state.tokens.curr, "export", "6"); - ok = false; - } - - if (!state.funct["(scope)"].block.isGlobal()) { - error("E053", state.tokens.curr, "Export"); - ok = false; - } - - if (state.tokens.next.value === "*") { - advance("*"); - - if (state.tokens.next.value === "as") { - if (!state.inES11()) { - warning("W119", state.tokens.curr, "export * as ns from", "11"); - } - advance("as"); - identifier(context, true); - state.funct["(scope)"].setExported(null, state.tokens.curr); - } - - advance("from"); - advance("(string)"); - return this; - } - - if (state.tokens.next.type === "default") { - state.nameStack.set(state.tokens.next); - - advance("default"); - var def = state.tokens.curr; - var exportType = state.tokens.next.id; - if (exportType === "function") { - this.block = true; - advance("function"); - token = state.syntax["function"].fud(context); - state.funct["(scope)"].setExported(token.name, def); - } else if (exportType === "async" && peek().id === "function") { - this.block = true; - advance("async"); - advance("function"); - token = state.syntax["function"].fud(context | prodParams.preAsync); - state.funct["(scope)"].setExported(token.name, def); - } else if (exportType === "class") { - this.block = true; - advance("class"); - token = state.syntax["class"].fud(context); - state.funct["(scope)"].setExported(token.name, def); - } else { - expression(context, 10); - state.funct["(scope)"].setExported(null, def); - } - return this; - } - if (state.tokens.next.value === "{") { - advance("{"); - var exportedTokens = []; - while (!checkPunctuator(state.tokens.next, "}")) { - if (!state.tokens.next.identifier) { - error("E030", state.tokens.next, state.tokens.next.value); - } - advance(); - - if (state.tokens.next.value === "as") { - advance("as"); - if (!state.tokens.next.identifier) { - error("E030", state.tokens.next, state.tokens.next.value); - } - exportedTokens.push({ - local: state.tokens.prev, - export: state.tokens.next - }); - advance(); - } else { - exportedTokens.push({ - local: state.tokens.curr, - export: state.tokens.curr - }); - } - - if (!checkPunctuator(state.tokens.next, "}")) { - advance(","); - } - } - advance("}"); - if (state.tokens.next.value === "from") { - advance("from"); - moduleSpecifier = state.tokens.next; - advance("(string)"); - } else if (ok) { - exportedTokens.forEach(function(x) { - state.funct["(scope)"].setExported(x.local, x.export); - }); - } - - if (exportedTokens.length === 0) { - if (moduleSpecifier) { - warning("W142", this, "export", moduleSpecifier.value); - } else { - warning("W141", this, "export"); - } - } - - return this; - } else if (state.tokens.next.id === "var") { - advance("var"); - token = state.tokens.curr.fud(context); - token.first.forEach(function(binding) { - state.funct["(scope)"].setExported(binding, binding); - }); - } else if (state.tokens.next.id === "let") { - advance("let"); - token = state.tokens.curr.fud(context); - token.first.forEach(function(binding) { - state.funct["(scope)"].setExported(binding, binding); - }); - } else if (state.tokens.next.id === "const") { - advance("const"); - token = state.tokens.curr.fud(context); - token.first.forEach(function(binding) { - state.funct["(scope)"].setExported(binding, binding); - }); - } else if (state.tokens.next.id === "function") { - this.block = true; - advance("function"); - token = state.syntax["function"].fud(context); - state.funct["(scope)"].setExported(token.name, token.name); - } else if (state.tokens.next.id === "async" && peek().id === "function") { - this.block = true; - advance("async"); - advance("function"); - token = state.syntax["function"].fud(context | prodParams.preAsync); - state.funct["(scope)"].setExported(token.name, token.name); - } else if (state.tokens.next.id === "class") { - this.block = true; - advance("class"); - token = state.syntax["class"].fud(context); - state.funct["(scope)"].setExported(token.name, token.name); - } else { - error("E024", state.tokens.next, state.tokens.next.value); - } - - return this; - }).exps = true; - function supportsSuper(type, funct) { - if (type === "call" && funct["(async)"]) { - return false; - } - - if (type === "property" && funct["(method)"]) { - return true; - } - - if (type === "call" && funct["(statement)"] && - funct["(statement)"].id === "class") { - return true; - } - - if (funct["(arrow)"]) { - return supportsSuper(type, funct["(context)"]); - } - - return false; - } - - var superNud = function() { - var next = state.tokens.next; - - if (checkPunctuators(next, ["[", "."])) { - if (!supportsSuper("property", state.funct)) { - error("E063", this); - } - } else if (checkPunctuator(next, "(")) { - if (!supportsSuper("call", state.funct)) { - error("E064", this); - } - } else { - error("E024", next, next.value || next.id); - } - - return this; - }; - - FutureReservedWord("abstract"); - FutureReservedWord("boolean"); - FutureReservedWord("byte"); - FutureReservedWord("char"); - FutureReservedWord("double"); - FutureReservedWord("enum", { es5: true }); - FutureReservedWord("export", { es5: true }); - FutureReservedWord("extends", { es5: true }); - FutureReservedWord("final"); - FutureReservedWord("float"); - FutureReservedWord("goto"); - FutureReservedWord("implements", { es5: true, strictOnly: true }); - FutureReservedWord("int"); - FutureReservedWord("interface", { es5: true, strictOnly: true }); - FutureReservedWord("long"); - FutureReservedWord("native"); - FutureReservedWord("package", { es5: true, strictOnly: true }); - FutureReservedWord("private", { es5: true, strictOnly: true }); - FutureReservedWord("protected", { es5: true, strictOnly: true }); - FutureReservedWord("public", { es5: true, strictOnly: true }); - FutureReservedWord("short"); - FutureReservedWord("static", { es5: true, strictOnly: true }); - FutureReservedWord("synchronized"); - FutureReservedWord("transient"); - FutureReservedWord("volatile"); - - var lookupBlockType = function() { - var pn, pn1, prev; - var i = -1; - var bracketStack = 0; - var ret = {}; - if (checkPunctuators(state.tokens.curr, ["[", "{"])) { - bracketStack += 1; - } - do { - prev = i === -1 ? state.tokens.curr : pn; - pn = i === -1 ? state.tokens.next : peek(i); - pn1 = peek(i + 1); - i = i + 1; - if (checkPunctuators(pn, ["[", "{"])) { - bracketStack += 1; - } else if (checkPunctuators(pn, ["]", "}"])) { - bracketStack -= 1; - } - if (bracketStack === 1 && pn.identifier && pn.value === "for" && - !checkPunctuator(prev, ".")) { - ret.isCompArray = true; - ret.notJson = true; - break; - } - if (bracketStack === 0 && checkPunctuators(pn, ["}", "]"])) { - if (pn1.value === "=") { - ret.isDestAssign = true; - ret.notJson = true; - break; - } else if (pn1.value === ".") { - ret.notJson = true; - break; - } - } - if (checkPunctuator(pn, ";")) { - ret.notJson = true; - } - } while (bracketStack > 0 && pn.id !== "(end)"); - return ret; - }; - function saveProperty(props, name, tkn, isClass, isStatic, isComputed) { - if (tkn.identifier) { - name = tkn.value; - } - var key = name; - if (isClass && isStatic) { - key = "static " + name; - } - - if (props[key] && name !== "__proto__" && !isComputed) { - var msg = ["key", "class method", "static class method"]; - msg = msg[(isClass || false) + (isStatic || false)]; - warning("W075", state.tokens.next, msg, name); - } else { - props[key] = Object.create(null); - } - - props[key].basic = true; - props[key].basictkn = tkn; - } - function saveAccessor(accessorType, props, name, tkn, isClass, isStatic) { - var flagName = accessorType === "get" ? "getterToken" : "setterToken"; - var key = name; - state.tokens.curr.accessorType = accessorType; - state.nameStack.set(tkn); - if (isClass && isStatic) { - key = "static " + name; - } - - if (props[key]) { - if ((props[key].basic || props[key][flagName]) && name !== "__proto__") { - var msg = ""; - if (isClass) { - if (isStatic) { - msg += "static "; - } - msg += accessorType + "ter method"; - } else { - msg = "key"; - } - warning("W075", state.tokens.next, msg, name); - } - } else { - props[key] = Object.create(null); - } - - props[key][flagName] = tkn; - if (isStatic) { - props[key].static = true; - } - } - function computedPropertyName(context) { - advance("["); - state.tokens.curr.delim = true; - state.tokens.curr.lbp = 0; - - if (!state.inES6()) { - warning("W119", state.tokens.curr, "computed property names", "6"); - } - var value = expression(context & ~prodParams.noin, 10); - advance("]"); - return value; - } - function checkPunctuators(token, values) { - if (token.type === "(punctuator)") { - return _.includes(values, token.value); - } - return false; - } - function checkPunctuator(token, value) { - return token.type === "(punctuator)" && token.value === value; - } - function destructuringAssignOrJsonValue(context) { - - var block = lookupBlockType(); - if (block.notJson) { - if (!state.inES6() && block.isDestAssign) { - warning("W104", state.tokens.curr, "destructuring assignment", "6"); - } - statements(context); - } else { - state.option.laxbreak = true; - state.jsonMode = true; - jsonValue(); - } - } - var arrayComprehension = function() { - var CompArray = function() { - this.mode = "use"; - this.variables = []; - }; - var _carrays = []; - var _current; - function declare(v) { - var l = _current.variables.filter(function(elt) { - if (elt.value === v) { - elt.undef = false; - return v; - } - }).length; - return l !== 0; - } - function use(v) { - var l = _current.variables.filter(function(elt) { - if (elt.value === v && !elt.undef) { - if (elt.unused === true) { - elt.unused = false; - } - return v; - } - }).length; - return (l === 0); - } - return { stack: function() { - _current = new CompArray(); - _carrays.push(_current); - }, - unstack: function() { - _current.variables.filter(function(v) { - if (v.unused) - warning("W098", v.token, v.token.raw_text || v.value); - if (v.undef) - state.funct["(scope)"].block.use(v.value, v.token); - }); - _carrays.splice(-1, 1); - _current = _carrays[_carrays.length - 1]; - }, - setState: function(s) { - if (_.includes(["use", "define", "generate", "filter"], s)) - _current.mode = s; - }, - check: function(v) { - if (!_current) { - return; - } - if (_current && _current.mode === "use") { - if (use(v)) { - _current.variables.push({ - token: state.tokens.curr, - value: v, - undef: true, - unused: false - }); - } - return true; - } else if (_current && _current.mode === "define") { - if (!declare(v)) { - _current.variables.push({ - token: state.tokens.curr, - value: v, - undef: false, - unused: true - }); - } - return true; - } else if (_current && _current.mode === "generate") { - state.funct["(scope)"].block.use(v, state.tokens.curr); - return true; - } else if (_current && _current.mode === "filter") { - if (use(v)) { - state.funct["(scope)"].block.use(v, state.tokens.curr); - } - return true; - } - return false; - } - }; - }; - function jsonValue() { - function jsonObject() { - var o = {}, t = state.tokens.next; - advance("{"); - if (state.tokens.next.id !== "}") { - for (;;) { - if (state.tokens.next.id === "(end)") { - error("E026", state.tokens.next, t.line); - } else if (state.tokens.next.id === "}") { - warning("W094", state.tokens.curr); - break; - } else if (state.tokens.next.id === ",") { - error("E028", state.tokens.next); - } else if (state.tokens.next.id !== "(string)") { - warning("W095", state.tokens.next, state.tokens.next.value); - } - if (o[state.tokens.next.value] === true) { - warning("W075", state.tokens.next, "key", state.tokens.next.value); - } else if ((state.tokens.next.value === "__proto__" && - !state.option.proto) || (state.tokens.next.value === "__iterator__" && - !state.option.iterator)) { - warning("W096", state.tokens.next, state.tokens.next.value); - } else { - o[state.tokens.next.value] = true; - } - advance(); - advance(":"); - jsonValue(); - if (state.tokens.next.id !== ",") { - break; - } - advance(","); - } - } - advance("}"); - } - - function jsonArray() { - var t = state.tokens.next; - advance("["); - if (state.tokens.next.id !== "]") { - for (;;) { - if (state.tokens.next.id === "(end)") { - error("E027", state.tokens.next, t.line); - } else if (state.tokens.next.id === "]") { - warning("W094", state.tokens.curr); - break; - } else if (state.tokens.next.id === ",") { - error("E028", state.tokens.next); - } - jsonValue(); - if (state.tokens.next.id !== ",") { - break; - } - advance(","); - } - } - advance("]"); - } - - switch (state.tokens.next.id) { - case "{": - jsonObject(); - break; - case "[": - jsonArray(); - break; - case "true": - case "false": - case "null": - case "(number)": - case "(string)": - advance(); - break; - case "-": - advance("-"); - advance("(number)"); - break; - default: - error("E003", state.tokens.next); - } - } - function lintEvalCode(internals, options, globals) { - var priorErrorCount, idx, jdx, internal; - - for (idx = 0; idx < internals.length; idx += 1) { - internal = internals[idx]; - options.scope = internal.elem; - priorErrorCount = JSHINT.errors.length; - - itself(internal.code, options, globals); - - for (jdx = priorErrorCount; jdx < JSHINT.errors.length; jdx += 1) { - JSHINT.errors[jdx].line += internal.token.line - 1; - } - } - } - - var escapeRegex = function(str) { - return str.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&"); - }; - var itself = function(s, o, g) { - var x, reIgnoreStr, reIgnore; - var optionKeys, newOptionObj, newIgnoredObj; - - o = _.clone(o); - state.reset(); - newOptionObj = state.option; - newIgnoredObj = state.ignored; - - if (o && o.scope) { - JSHINT.scope = o.scope; - } else { - JSHINT.errors = []; - JSHINT.internals = []; - JSHINT.blacklist = {}; - JSHINT.scope = "(main)"; - } - - predefined = Object.create(null); - combine(predefined, vars.ecmaIdentifiers[3]); - combine(predefined, vars.reservedVars); - - declared = Object.create(null); - var exported = Object.create(null); // Variables that live outside the current file - - function each(obj, cb) { - if (!obj) - return; - - if (!Array.isArray(obj) && typeof obj === "object") - obj = Object.keys(obj); - - obj.forEach(cb); - } - - if (o) { - - each([o.predef, o.globals], function(dict) { - each(dict, function(item) { - var slice, prop; - - if (item[0] === "-") { - slice = item.slice(1); - JSHINT.blacklist[slice] = slice; - delete predefined[slice]; - } else { - prop = Object.getOwnPropertyDescriptor(dict, item); - predefined[item] = prop ? prop.value : false; - } - }); - }); - - each(o.exported || null, function(item) { - exported[item] = true; - }); - - delete o.predef; - delete o.exported; - - optionKeys = Object.keys(o); - for (x = 0; x < optionKeys.length; x++) { - if (/^-W\d{3}$/g.test(optionKeys[x])) { - newIgnoredObj[optionKeys[x].slice(1)] = true; - } else { - var optionKey = optionKeys[x]; - newOptionObj[optionKey] = o[optionKey]; - } - } - } - - state.option = newOptionObj; - state.ignored = newIgnoredObj; - - state.option.indent = state.option.indent || 4; - state.option.maxerr = state.option.maxerr || 50; - - indent = 1; - - var scopeManagerInst = scopeManager(state, predefined, exported, declared); - scopeManagerInst.on("warning", function(ev) { - warning.apply(null, [ ev.code, ev.token].concat(ev.data)); - }); - - scopeManagerInst.on("error", function(ev) { - error.apply(null, [ ev.code, ev.token ].concat(ev.data)); - }); - - state.funct = functor("(global)", null, { - "(global)" : true, - "(scope)" : scopeManagerInst, - "(comparray)" : arrayComprehension(), - "(metrics)" : createMetrics(state.tokens.next) - }); - - functions = [state.funct]; - member = {}; - membersOnly = null; - inblock = false; - lookahead = []; - - if (!isString(s) && !Array.isArray(s)) { - errorAt("E004", 0); - return false; - } - - api = { - get isJSON() { - return state.jsonMode; - }, - - getOption: function(name) { - return state.option[name] || null; - }, - - getCache: function(name) { - return state.cache[name]; - }, - - setCache: function(name, value) { - state.cache[name] = value; - }, - - warn: function(code, data) { - warningAt.apply(null, [ code, data.line, data.char ].concat(data.data)); - }, - - on: function(names, listener) { - names.split(" ").forEach(function(name) { - emitter.on(name, listener); - }.bind(this)); - } - }; - - emitter.removeAllListeners(); - (extraModules || []).forEach(function(func) { - func(api); - }); - - state.tokens.prev = state.tokens.curr = state.tokens.next = state.syntax["(begin)"]; - if (o && o.ignoreDelimiters) { - - if (!Array.isArray(o.ignoreDelimiters)) { - o.ignoreDelimiters = [o.ignoreDelimiters]; - } - - o.ignoreDelimiters.forEach(function(delimiterPair) { - if (!delimiterPair.start || !delimiterPair.end) - return; - - reIgnoreStr = escapeRegex(delimiterPair.start) + - "[\\s\\S]*?" + - escapeRegex(delimiterPair.end); - - reIgnore = new RegExp(reIgnoreStr, "ig"); - - s = s.replace(reIgnore, function(match) { - return match.replace(/./g, " "); - }); - }); - } - - lex = new Lexer(s); - - lex.on("warning", function(ev) { - warningAt.apply(null, [ ev.code, ev.line, ev.character].concat(ev.data)); - }); - - lex.on("error", function(ev) { - errorAt.apply(null, [ ev.code, ev.line, ev.character ].concat(ev.data)); - }); - - lex.on("fatal", function(ev) { - quit("E041", ev); - }); - - lex.on("Identifier", function(ev) { - emitter.emit("Identifier", ev); - }); - - lex.on("String", function(ev) { - emitter.emit("String", ev); - }); - - lex.on("Number", function(ev) { - emitter.emit("Number", ev); - }); - var name; - for (name in o) { - if (_.has(o, name)) { - checkOption(name, true, state.tokens.curr); - } - } - if (o) { - for (name in o.unstable) { - if (_.has(o.unstable, name)) { - checkOption(name, false, state.tokens.curr); - } - } - } - - try { - applyOptions(); - combine(predefined, g || {}); - checkComma.first = true; - - advance(); - switch (state.tokens.next.id) { - case "{": - case "[": - destructuringAssignOrJsonValue(0); - break; - default: - directives(); - - if (state.directive["use strict"]) { - if (!state.allowsGlobalUsd()) { - warning("W097", state.directive["use strict"]); - } - } - - statements(0); - } - - if (state.tokens.next.id !== "(end)") { - quit("E041", state.tokens.curr); - } - - state.funct["(scope)"].unstack(); - - } catch (err) { - if (err && err.name === "JSHintError") { - var nt = state.tokens.next || {}; - JSHINT.errors.push({ - scope : "(main)", - raw : err.raw, - code : err.code, - reason : err.reason, - line : err.line || nt.line, - character : err.character || nt.from - }); - } else { - throw err; - } - } - if (JSHINT.scope === "(main)") { - lintEvalCode(JSHINT.internals, o || {}, g); - } - - return JSHINT.errors.length === 0; - }; - itself.addModule = function(func) { - extraModules.push(func); - }; - - itself.addModule(style.register); - itself.data = function() { - var data = { - functions: [], - options: state.option - }; - - var fu, f, i, n, globals; - - if (itself.errors.length) { - data.errors = itself.errors; - } - - if (state.jsonMode) { - data.json = true; - } - - var impliedGlobals = state.funct["(scope)"].getImpliedGlobals(); - if (impliedGlobals.length > 0) { - data.implieds = impliedGlobals; - } - - globals = state.funct["(scope)"].getUsedOrDefinedGlobals(); - if (globals.length > 0) { - data.globals = globals; - } - - for (i = 1; i < functions.length; i += 1) { - f = functions[i]; - fu = {}; - - fu.name = f["(name)"]; - fu.param = f["(params)"]; - fu.line = f["(line)"]; - fu.character = f["(character)"]; - fu.last = f["(last)"]; - fu.lastcharacter = f["(lastcharacter)"]; - - fu.metrics = { - complexity: f["(metrics)"].ComplexityCount, - parameters: f["(metrics)"].arity, - statements: f["(metrics)"].statementCount - }; - - data.functions.push(fu); - } - - var unuseds = state.funct["(scope)"].getUnuseds(); - if (unuseds.length > 0) { - data.unused = unuseds; - } - - for (n in member) { - if (typeof member[n] === "number") { - data.member = member; - break; - } - } - - return data; - }; - - itself.jshint = itself; - - return itself; -}()); -if (typeof exports === "object" && exports) { - exports.JSHINT = JSHINT; -} - -},{"./lex.js":"/../../../jshint/src/lex.js","./messages.js":"/../../../jshint/src/messages.js","./options.js":"/../../../jshint/src/options.js","./prod-params.js":"/../../../jshint/src/prod-params.js","./reg.js":"/../../../jshint/src/reg.js","./scope-manager.js":"/../../../jshint/src/scope-manager.js","./state.js":"/../../../jshint/src/state.js","./style.js":"/../../../jshint/src/style.js","./vars.js":"/../../../jshint/src/vars.js","console-browserify":"/../../../jshint/node_modules/console-browserify/index.js","events":"/node_modules/events/events.js","lodash.clone":"/../../../jshint/node_modules/lodash.clone/index.js","underscore":"/../../../jshint/node_modules/underscore/underscore-umd.js"}],"/../../../jshint/src/lex.js":[function(_dereq_,module,exports){ - -"use strict"; - -var _ = _dereq_("underscore"); -var events = _dereq_("events"); -var reg = _dereq_("./reg.js"); -var state = _dereq_("./state.js").state; - -var unicodeData = _dereq_("../data/ascii-identifier-data.js"); -var asciiIdentifierStartTable = unicodeData.asciiIdentifierStartTable; -var asciiIdentifierPartTable = unicodeData.asciiIdentifierPartTable; -var nonAsciiIdentifierStartTable = _dereq_("../data/non-ascii-identifier-start.js"); -var nonAsciiIdentifierPartTable = _dereq_("../data/non-ascii-identifier-part-only.js"); -var es5IdentifierNames; - -var Token = { - Identifier: 1, - Punctuator: 2, - NumericLiteral: 3, - StringLiteral: 4, - Comment: 5, - Keyword: 6, - RegExp: 9, - TemplateHead: 10, - TemplateMiddle: 11, - TemplateTail: 12, - NoSubstTemplate: 13 -}; - -var Context = { - Block: 1, - Template: 2 -}; - -function isHex(str) { - return /^[0-9a-fA-F]+$/.test(str); -} - -function isHexDigit(str) { - return str.length === 1 && isHex(str); -} - -function asyncTrigger() { - var _checks = []; - - return { - push: function(fn) { - _checks.push(fn); - }, - - check: function() { - for (var check = 0; check < _checks.length; ++check) { - _checks[check](); - } - - _checks.splice(0, _checks.length); - } - }; -} -function Lexer(source) { - var lines = source; - - if (typeof lines === "string") { - lines = lines - .replace(/\r\n/g, "\n") - .replace(/\r/g, "\n") - .split("\n"); - } - - if (lines[0] && lines[0].substr(0, 2) === "#!") { - if (lines[0].indexOf("node") !== -1) { - state.option.node = true; - } - lines[0] = ""; - } - - this.emitter = new events.EventEmitter(); - this.source = source; - this.setLines(lines); - this.prereg = true; - - this.line = 0; - this.char = 1; - this.from = 1; - this.input = ""; - this.inComment = false; - this.context = []; - this.templateStarts = []; - - for (var i = 0; i < state.option.indent; i += 1) { - state.tab += " "; - } -} - -Lexer.prototype = { - _lines: [], - - inContext: function(ctxType) { - return this.context.length > 0 && this.context[this.context.length - 1].type === ctxType; - }, - - pushContext: function(ctxType) { - this.context.push({ type: ctxType }); - }, - - popContext: function() { - return this.context.pop(); - }, - - currentContext: function() { - return this.context.length > 0 && this.context[this.context.length - 1]; - }, - - getLines: function() { - this._lines = state.lines; - return this._lines; - }, - - setLines: function(val) { - this._lines = val; - state.lines = this._lines; - }, - peek: function(i) { - return this.input.charAt(i || 0); - }, - skip: function(i) { - i = i || 1; - this.char += i; - this.input = this.input.slice(i); - }, - on: function(names, listener) { - names.split(" ").forEach(function(name) { - this.emitter.on(name, listener); - }.bind(this)); - }, - trigger: function() { - this.emitter.emit.apply(this.emitter, Array.prototype.slice.call(arguments)); - }, - triggerAsync: function(type, args, checks, fn) { - checks.push(function() { - if (fn()) { - this.trigger(type, args); - } - }.bind(this)); - }, - scanPunctuator: function() { - var ch1 = this.peek(); - var ch2, ch3, ch4; - - switch (ch1) { - case ".": - if ((/^[0-9]$/).test(this.peek(1))) { - return null; - } - if (this.peek(1) === "." && this.peek(2) === ".") { - return { - type: Token.Punctuator, - value: "..." - }; - } - case "(": - case ")": - case ";": - case ",": - case "[": - case "]": - case ":": - case "~": - return { - type: Token.Punctuator, - value: ch1 - }; - case "{": - this.pushContext(Context.Block); - return { - type: Token.Punctuator, - value: ch1 - }; - case "}": - if (this.inContext(Context.Block)) { - this.popContext(); - } - return { - type: Token.Punctuator, - value: ch1 - }; - case "#": - return { - type: Token.Punctuator, - value: ch1 - }; - case "": - return null; - } - - ch2 = this.peek(1); - ch3 = this.peek(2); - - if (ch1 === "?") { - if (ch2 === "." && !reg.decimalDigit.test(ch3)) { - return { - type: Token.Punctuator, - value: "?." - }; - } - - return { - type: Token.Punctuator, - value: ch2 === "?" ? "??" : "?" - }; - } - - ch4 = this.peek(3); - - if (ch1 === ">" && ch2 === ">" && ch3 === ">" && ch4 === "=") { - return { - type: Token.Punctuator, - value: ">>>=" - }; - } - - if (ch1 === "=" && ch2 === "=" && ch3 === "=") { - return { - type: Token.Punctuator, - value: "===" - }; - } - - if (ch1 === "!" && ch2 === "=" && ch3 === "=") { - return { - type: Token.Punctuator, - value: "!==" - }; - } - - if (ch1 === ">" && ch2 === ">" && ch3 === ">") { - return { - type: Token.Punctuator, - value: ">>>" - }; - } - - if (ch1 === "<" && ch2 === "<" && ch3 === "=") { - return { - type: Token.Punctuator, - value: "<<=" - }; - } - - if (ch1 === ">" && ch2 === ">" && ch3 === "=") { - return { - type: Token.Punctuator, - value: ">>=" - }; - } - if (ch1 === "=" && ch2 === ">") { - return { - type: Token.Punctuator, - value: ch1 + ch2 - }; - } - if (ch1 === ch2 && ("+-<>&|*".indexOf(ch1) >= 0)) { - if (ch1 === "*" && ch3 === "=") { - return { - type: Token.Punctuator, - value: ch1 + ch2 + ch3 - }; - } - - return { - type: Token.Punctuator, - value: ch1 + ch2 - }; - } - if ("<>=!+-*%&|^/".indexOf(ch1) >= 0) { - if (ch2 === "=") { - return { - type: Token.Punctuator, - value: ch1 + ch2 - }; - } - - return { - type: Token.Punctuator, - value: ch1 - }; - } - - return null; - }, - scanComments: function(checks) { - var ch1 = this.peek(); - var ch2 = this.peek(1); - var rest = this.input.substr(2); - var startLine = this.line; - var startChar = this.char; - var self = this; - - function commentToken(label, body, opt) { - var special = [ - "jshint", "jshint.unstable", "jslint", "members", "member", "globals", - "global", "exported" - ]; - var isSpecial = false; - var value = label + body; - var commentType = "plain"; - opt = opt || {}; - - if (opt.isMultiline) { - value += "*/"; - } - - body = body.replace(/\n/g, " "); - - if (label === "/*" && reg.fallsThrough.test(body)) { - isSpecial = true; - commentType = "falls through"; - } - - special.forEach(function(str) { - if (isSpecial) { - return; - } - if (label === "//" && str !== "jshint" && str !== "jshint.unstable") { - return; - } - - if (body.charAt(str.length) === " " && body.substr(0, str.length) === str) { - isSpecial = true; - label = label + str; - body = body.substr(str.length); - } - - if (!isSpecial && body.charAt(0) === " " && body.charAt(str.length + 1) === " " && - body.substr(1, str.length) === str) { - isSpecial = true; - label = label + " " + str; - body = body.substr(str.length + 1); - } - var strIndex = body.indexOf(str); - if (!isSpecial && strIndex >= 0 && body.charAt(strIndex + str.length) === " ") { - var isAllWhitespace = body.substr(0, strIndex).trim().length === 0; - if (isAllWhitespace) { - isSpecial = true; - body = body.substr(str.length + strIndex); - } - } - - if (!isSpecial) { - return; - } - - switch (str) { - case "member": - commentType = "members"; - break; - case "global": - commentType = "globals"; - break; - default: - var options = body.split(":").map(function(v) { - return v.replace(/^\s+/, "").replace(/\s+$/, ""); - }); - - if (options.length === 2) { - switch (options[0]) { - case "ignore": - switch (options[1]) { - case "start": - self.ignoringLinterErrors = true; - isSpecial = false; - break; - case "end": - self.ignoringLinterErrors = false; - isSpecial = false; - break; - } - } - } - - commentType = str; - } - }); - - return { - type: Token.Comment, - commentType: commentType, - value: value, - body: body, - isSpecial: isSpecial, - isMalformed: opt.isMalformed || false - }; - } - if (ch1 === "*" && ch2 === "/") { - this.trigger("error", { - code: "E018", - line: startLine, - character: startChar - }); - - this.skip(2); - return null; - } - if (ch1 !== "/" || (ch2 !== "*" && ch2 !== "/")) { - return null; - } - if (ch2 === "/") { - this.skip(this.input.length); // Skip to the EOL. - return commentToken("//", rest); - } - - var body = ""; - if (ch2 === "*") { - this.inComment = true; - this.skip(2); - - while (this.peek() !== "*" || this.peek(1) !== "/") { - if (this.peek() === "") { // End of Line - body += "\n"; - if (!this.nextLine(checks)) { - this.trigger("error", { - code: "E017", - line: startLine, - character: startChar - }); - - this.inComment = false; - return commentToken("/*", body, { - isMultiline: true, - isMalformed: true - }); - } - } else { - body += this.peek(); - this.skip(); - } - } - - this.skip(2); - this.inComment = false; - return commentToken("/*", body, { isMultiline: true }); - } - }, - scanKeyword: function() { - var result = /^[a-zA-Z_$][a-zA-Z0-9_$]*/.exec(this.input); - var keywords = [ - "if", "in", "do", "var", "for", "new", - "try", "let", "this", "else", "case", - "void", "with", "enum", "while", "break", - "catch", "throw", "const", "yield", "class", - "super", "return", "typeof", "delete", - "switch", "export", "import", "default", - "finally", "extends", "function", "continue", - "debugger", "instanceof", "true", "false", "null", "async", "await" - ]; - - if (result && keywords.indexOf(result[0]) >= 0) { - return { - type: Token.Keyword, - value: result[0] - }; - } - - return null; - }, - scanIdentifier: function(checks) { - var id = ""; - var index = 0; - var char, value; - - function isNonAsciiIdentifierStart(code) { - return nonAsciiIdentifierStartTable.indexOf(code) > -1; - } - - function isNonAsciiIdentifierPart(code) { - return isNonAsciiIdentifierStart(code) || nonAsciiIdentifierPartTable.indexOf(code) > -1; - } - - var readUnicodeEscapeSequence = function() { - index += 1; - - if (this.peek(index) !== "u") { - return null; - } - - var sequence = this.peek(index + 1) + this.peek(index + 2) + - this.peek(index + 3) + this.peek(index + 4); - var code; - - if (isHex(sequence)) { - code = parseInt(sequence, 16); - - if (asciiIdentifierPartTable[code] || isNonAsciiIdentifierPart(code)) { - index += 5; - return "\\u" + sequence; - } - - return null; - } - - return null; - }.bind(this); - - var getIdentifierStart = function() { - var chr = this.peek(index); - var code = chr.charCodeAt(0); - - if (code === 92) { - return readUnicodeEscapeSequence(); - } - - if (code < 128) { - if (asciiIdentifierStartTable[code]) { - index += 1; - return chr; - } - - return null; - } - - if (isNonAsciiIdentifierStart(code)) { - index += 1; - return chr; - } - - return null; - }.bind(this); - - var getIdentifierPart = function() { - var chr = this.peek(index); - var code = chr.charCodeAt(0); - - if (code === 92) { - return readUnicodeEscapeSequence(); - } - - if (code < 128) { - if (asciiIdentifierPartTable[code]) { - index += 1; - return chr; - } - - return null; - } - - if (isNonAsciiIdentifierPart(code)) { - index += 1; - return chr; - } - - return null; - }.bind(this); - - function removeEscapeSequences(id) { - return id.replace(/\\u([0-9a-fA-F]{4})/g, function(m0, codepoint) { - return String.fromCharCode(parseInt(codepoint, 16)); - }); - } - - char = getIdentifierStart(); - if (char === null) { - return null; - } - - id = char; - for (;;) { - char = getIdentifierPart(); - - if (char === null) { - break; - } - - id += char; - } - - value = removeEscapeSequences(id); - - if (!state.inES6(true)) { - es5IdentifierNames = _dereq_("../data/es5-identifier-names.js"); - - if (!es5IdentifierNames.test(value)) { - this.triggerAsync( - "warning", - { - code: "W119", - line: this.line, - character: this.char, - data: ["unicode 8", "6"] - }, - checks, - function() { return true; } - ); - } - } - - return { - type: Token.Identifier, - value: value, - text: id, - tokenLength: id.length - }; - }, - scanNumericLiteral: function(checks) { - var index = 0; - var value = ""; - var length = this.input.length; - var char = this.peek(index); - var isAllowedDigit = isDecimalDigit; - var base = 10; - var isLegacy = false; - var isNonOctal = false; - - function isDecimalDigit(str) { - return (/^[0-9]$/).test(str); - } - - function isOctalDigit(str) { - return (/^[0-7]$/).test(str); - } - - function isNonOctalDigit(str) { - return str === "8" || str === "9"; - } - - function isBinaryDigit(str) { - return (/^[01]$/).test(str); - } - - function isIdentifierStart(ch) { - return (ch === "$") || (ch === "_") || (ch === "\\") || - (ch >= "a" && ch <= "z") || (ch >= "A" && ch <= "Z"); - } - - if (char !== "." && !isDecimalDigit(char)) { - return null; - } - - if (char !== ".") { - value = this.peek(index); - index += 1; - char = this.peek(index); - - if (value === "0") { - if (char === "x" || char === "X") { - isAllowedDigit = isHexDigit; - base = 16; - - index += 1; - value += char; - } - if (char === "o" || char === "O") { - isAllowedDigit = isOctalDigit; - base = 8; - - if (!state.inES6(true)) { - this.triggerAsync( - "warning", - { - code: "W119", - line: this.line, - character: this.char, - data: [ "Octal integer literal", "6" ] - }, - checks, - function() { return true; } - ); - } - - index += 1; - value += char; - } - if (char === "b" || char === "B") { - isAllowedDigit = isBinaryDigit; - base = 2; - - if (!state.inES6(true)) { - this.triggerAsync( - "warning", - { - code: "W119", - line: this.line, - character: this.char, - data: [ "Binary integer literal", "6" ] - }, - checks, - function() { return true; } - ); - } - - index += 1; - value += char; - } - if (isOctalDigit(char)) { - isAllowedDigit = isOctalDigit; - base = 8; - isLegacy = true; - - } else if (isDecimalDigit(char)) { - isNonOctal = true; - } - } - - while (index < length) { - char = this.peek(index); - - if (isLegacy && isNonOctalDigit(char)) { - base = 10; - isLegacy = false; - isNonOctal = true; - isAllowedDigit = isDecimalDigit; - } - - if (!isAllowedDigit(char)) { - break; - } - value += char; - index += 1; - } - - var isBigInt = this.peek(index) === 'n'; - - if (isAllowedDigit !== isDecimalDigit || isBigInt) { - if (isBigInt) { - this.triggerAsync( - "warning", - { - code: "W119", - line: this.line, - character: this.char, - data: [ "BigInt", "11" ] - }, - checks, - function() { return !state.inES11(); } - ); - - if (isLegacy || isNonOctal) { - this.triggerAsync( - "error", - { - code: "E067", - line: this.line, - character: this.char, - data: [value + char] - }, - checks, - function() { return true; } - ); - } - - value += char; - index += 1; - } else if (!isLegacy && value.length <= 2) { // 0x - return { - type: Token.NumericLiteral, - value: value, - isMalformed: true - }; - } - - if (index < length) { - char = this.peek(index); - if (isIdentifierStart(char)) { - return null; - } - } - - return { - type: Token.NumericLiteral, - value: value, - base: base, - isLegacy: isLegacy, - isMalformed: false - }; - } - } - - if (char === ".") { - value += char; - index += 1; - - while (index < length) { - char = this.peek(index); - if (!isDecimalDigit(char)) { - break; - } - value += char; - index += 1; - } - } - - if (char === "e" || char === "E") { - value += char; - index += 1; - char = this.peek(index); - - if (char === "+" || char === "-") { - value += this.peek(index); - index += 1; - } - - char = this.peek(index); - if (isDecimalDigit(char)) { - value += char; - index += 1; - - while (index < length) { - char = this.peek(index); - if (!isDecimalDigit(char)) { - break; - } - value += char; - index += 1; - } - } else { - return null; - } - } - - if (index < length) { - char = this.peek(index); - if (isIdentifierStart(char)) { - return null; - } - } - this.triggerAsync("warning", { - code: "W045", - line: this.line, - character: this.char + value.length, - data: [ value ] - }, checks, function() { return !isFinite(value); }); - - return { - type: Token.NumericLiteral, - value: value, - base: base, - isNonOctal: isNonOctal, - isMalformed: false - }; - }, - scanEscapeSequence: function(checks) { - var allowNewLine = false; - var jump = 1; - this.skip(); - var char = this.peek(); - - switch (char) { - case "'": - this.triggerAsync("warning", { - code: "W114", - line: this.line, - character: this.char, - data: [ "\\'" ] - }, checks, function() {return state.jsonMode; }); - break; - case "b": - char = "\\b"; - break; - case "f": - char = "\\f"; - break; - case "n": - char = "\\n"; - break; - case "r": - char = "\\r"; - break; - case "t": - char = "\\t"; - break; - case "0": - char = "\\0"; - var n = parseInt(this.peek(1), 10); - this.triggerAsync("warning", { - code: "W115", - line: this.line, - character: this.char - }, checks, - function() { return n >= 0 && n <= 7 && state.isStrict(); }); - break; - case "1": - case "2": - case "3": - case "4": - case "5": - case "6": - case "7": - char = "\\" + char; - this.triggerAsync("warning", { - code: "W115", - line: this.line, - character: this.char - }, checks, - function() { return state.isStrict(); }); - break; - case "u": - var sequence = this.input.substr(1, 4); - var code = parseInt(sequence, 16); - if (!isHex(sequence)) { - this.trigger("warning", { - code: "W052", - line: this.line, - character: this.char, - data: [ "u" + sequence ] - }); - } - char = String.fromCharCode(code); - jump = 5; - break; - case "v": - this.triggerAsync("warning", { - code: "W114", - line: this.line, - character: this.char, - data: [ "\\v" ] - }, checks, function() { return state.jsonMode; }); - - char = "\v"; - break; - case "x": - var x = parseInt(this.input.substr(1, 2), 16); - - this.triggerAsync("warning", { - code: "W114", - line: this.line, - character: this.char, - data: [ "\\x-" ] - }, checks, function() { return state.jsonMode; }); - - char = String.fromCharCode(x); - jump = 3; - break; - case "\\": - char = "\\\\"; - break; - case "/": - break; - case "": - allowNewLine = true; - char = ""; - break; - } - - return { char: char, jump: jump, allowNewLine: allowNewLine }; - }, - scanTemplateLiteral: function(checks) { - var tokenType; - var value = ""; - var ch; - var startLine = this.line; - var startChar = this.char; - var depth = this.templateStarts.length; - - if (this.peek() === "`") { - if (!state.inES6(true)) { - this.triggerAsync( - "warning", - { - code: "W119", - line: this.line, - character: this.char, - data: ["template literal syntax", "6"] - }, - checks, - function() { return true; } - ); - } - tokenType = Token.TemplateHead; - this.templateStarts.push({ line: this.line, char: this.char }); - depth = this.templateStarts.length; - this.skip(1); - this.pushContext(Context.Template); - } else if (this.inContext(Context.Template) && this.peek() === "}") { - tokenType = Token.TemplateMiddle; - } else { - return null; - } - - while (this.peek() !== "`") { - while ((ch = this.peek()) === "") { - value += "\n"; - if (!this.nextLine(checks)) { - var startPos = this.templateStarts.pop(); - this.trigger("error", { - code: "E052", - line: startPos.line, - character: startPos.char - }); - return { - type: tokenType, - value: value, - startLine: startLine, - startChar: startChar, - isUnclosed: true, - depth: depth, - context: this.popContext() - }; - } - } - - if (ch === '$' && this.peek(1) === '{') { - value += '${'; - this.skip(2); - return { - type: tokenType, - value: value, - startLine: startLine, - startChar: startChar, - isUnclosed: false, - depth: depth, - context: this.currentContext() - }; - } else if (ch === '\\') { - var escape = this.scanEscapeSequence(checks); - value += escape.char; - this.skip(escape.jump); - } else if (ch !== '`') { - value += ch; - this.skip(1); - } - } - tokenType = tokenType === Token.TemplateHead ? Token.NoSubstTemplate : Token.TemplateTail; - this.skip(1); - this.templateStarts.pop(); - - return { - type: tokenType, - value: value, - startLine: startLine, - startChar: startChar, - isUnclosed: false, - depth: depth, - context: this.popContext() - }; - }, - scanStringLiteral: function(checks) { - var quote = this.peek(); - if (quote !== "\"" && quote !== "'") { - return null; - } - this.triggerAsync("warning", { - code: "W108", - line: this.line, - character: this.char // +1? - }, checks, function() { return state.jsonMode && quote !== "\""; }); - - var value = ""; - var startLine = this.line; - var startChar = this.char; - var allowNewLine = false; - - this.skip(); - - while (this.peek() !== quote) { - if (this.peek() === "") { // End Of Line - - if (!allowNewLine) { - this.trigger("warning", { - code: "W112", - line: this.line, - character: this.char - }); - } else { - allowNewLine = false; - - this.triggerAsync("warning", { - code: "W043", - line: this.line, - character: this.char - }, checks, function() { return !state.option.multistr; }); - - this.triggerAsync("warning", { - code: "W042", - line: this.line, - character: this.char - }, checks, function() { return state.jsonMode && state.option.multistr; }); - } - - if (!this.nextLine(checks)) { - return { - type: Token.StringLiteral, - value: value, - startLine: startLine, - startChar: startChar, - isUnclosed: true, - quote: quote - }; - } - - } else { // Any character other than End Of Line - - allowNewLine = false; - var char = this.peek(); - var jump = 1; // A length of a jump, after we're done - - if (char < " ") { - this.triggerAsync( - "warning", - { - code: "W113", - line: this.line, - character: this.char, - data: [ "" ] - }, - checks, - function() { return true; } - ); - } - if (char === "\\") { - var parsed = this.scanEscapeSequence(checks); - char = parsed.char; - jump = parsed.jump; - allowNewLine = parsed.allowNewLine; - } - if (char !== "") { - value += char; - this.skip(jump); - } - } - } - - this.skip(); - return { - type: Token.StringLiteral, - value: value, - startLine: startLine, - startChar: startChar, - isUnclosed: false, - quote: quote - }; - }, - scanRegExp: function(checks) { - var index = 0; - var length = this.input.length; - var char = this.peek(); - var value = char; - var body = ""; - var groupReferences = []; - var allFlags = ""; - var es5Flags = ""; - var malformed = false; - var isCharSet = false; - var isCharSetRange = false; - var isGroup = false; - var isQuantifiable = false; - var hasInvalidQuantifier = false; - var escapedChars = ""; - var hasUFlag = function() { return allFlags.indexOf("u") > -1; }; - var escapeSequence; - var groupCount = 0; - var terminated, malformedDesc; - - var scanRegexpEscapeSequence = function() { - var next, sequence; - index += 1; - char = this.peek(index); - - if (reg.nonzeroDigit.test(char)) { - sequence = char; - next = this.peek(index + 1); - while (reg.nonzeroDigit.test(next) || next === "0") { - index += 1; - char = next; - sequence += char; - body += char; - value += char; - next = this.peek(index + 1); - } - groupReferences.push(Number(sequence)); - return sequence; - } - - escapedChars += char; - - if (char === "u" && this.peek(index + 1) === "{") { - var x = index + 2; - sequence = "u{"; - next = this.peek(x); - while (isHex(next)) { - sequence += next; - x += 1; - next = this.peek(x); - } - - if (next !== "}") { - this.triggerAsync( - "error", - { - code: "E016", - line: this.line, - character: this.char, - data: [ "Invalid Unicode escape sequence" ] - }, - checks, - hasUFlag - ); - } else if (sequence.length > 2) { - sequence += "}"; - body += sequence; - value += sequence; - index = x + 1; - return sequence; - } - } - - if (char === "p" || char === "P") { - var y = index + 2; - sequence = ""; - next = ""; - - if (this.peek(index + 1) === "{") { - next = this.peek(y); - while (next && next !== "}") { - sequence += next; - y += 1; - next = this.peek(y); - } - } - if (!sequence || !_dereq_("./validate-unicode-escape-sequence")(sequence)) { - this.triggerAsync( - "error", - { - code: "E016", - line: this.line, - character: this.char, - data: [ "Invalid Unicode property escape sequence" ] - }, - checks, - hasUFlag - ); - } - - if (sequence) { - sequence = char + "{" + sequence + "}"; - body += sequence; - value += sequence; - index = y + 1; - - if (!state.inES9()) { - this.triggerAsync( - "warning", - { - code: "W119", - line: this.line, - character: this.char, - data: [ "Unicode property escape", "9" ] - }, - checks, - hasUFlag - ); - } - - return sequence; - } - } - if (char < " ") { - malformed = true; - this.triggerAsync( - "warning", - { - code: "W048", - line: this.line, - character: this.char - }, - checks, - function() { return true; } - ); - } - if (char === "<") { - malformed = true; - this.triggerAsync( - "warning", - { - code: "W049", - line: this.line, - character: this.char, - data: [ char ] - }, - checks, - function() { return true; } - ); - } else if (char === "0" && reg.decimalDigit.test(this.peek(index + 1))) { - this.triggerAsync( - "error", - { - code: "E016", - line: this.line, - character: this.char, - data: [ "Invalid decimal escape sequence" ] - }, - checks, - hasUFlag - ); - } - - index += 1; - body += char; - value += char; - - return char; - }.bind(this); - - var checkQuantifier = function() { - var lookahead = index; - var lowerBound = ""; - var upperBound = ""; - var next; - - next = this.peek(lookahead + 1); - - while (reg.decimalDigit.test(next)) { - lookahead += 1; - lowerBound += next; - next = this.peek(lookahead + 1); - } - - if (!lowerBound) { - return false; - } - - if (next === "}") { - return true; - } - - if (next !== ",") { - return false; - } - - lookahead += 1; - next = this.peek(lookahead + 1); - - while (reg.decimalDigit.test(next)) { - lookahead += 1; - upperBound += next; - next = this.peek(lookahead + 1); - } - - if (next !== "}") { - return false; - } - - if (upperBound) { - return Number(lowerBound) <= Number(upperBound); - } - - return true; - }.bind(this); - - var translateUFlag = function(body) { - var astralSubstitute = "\uFFFF"; - - return body - .replace(/\\u\{([0-9a-fA-F]+)\}|\\u([a-fA-F0-9]{4})/g, function($0, $1, $2) { - var codePoint = parseInt($1 || $2, 16); - var literal; - - if (codePoint > 0x10FFFF) { - malformed = true; - this.trigger("error", { - code: "E016", - line: this.line, - character: this.char, - data: [ char ] - }); - - return; - } - literal = String.fromCharCode(codePoint); - - if (reg.regexpSyntaxChars.test(literal)) { - return $0; - } - - if (codePoint <= 0xFFFF) { - return String.fromCharCode(codePoint); - } - return astralSubstitute; - }.bind(this)) - .replace( - /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, - astralSubstitute - ); - }.bind(this); - if (!this.prereg || char !== "/") { - return null; - } - - index += 1; - terminated = false; - - while (index < length) { - isCharSetRange &= char === "-"; - char = this.peek(index); - value += char; - body += char; - - if (isCharSet) { - if (char === "]") { - if (this.peek(index - 1) !== "\\" || this.peek(index - 2) === "\\") { - isCharSet = false; - } - } else if (char === "-") { - isCharSetRange = true; - } - } - - if (char === "\\") { - escapeSequence = scanRegexpEscapeSequence(); - - if (isCharSet && (this.peek(index) === "-" || isCharSetRange) && - reg.regexpCharClasses.test(escapeSequence)) { - this.triggerAsync( - "error", - { - code: "E016", - line: this.line, - character: this.char, - data: [ "Character class used in range" ] - }, - checks, - hasUFlag - ); - } - - continue; - } - - if (isCharSet) { - index += 1; - continue; - } - - if (char === "{" && !hasInvalidQuantifier) { - hasInvalidQuantifier = !checkQuantifier(); - } - - if (char === "[") { - isCharSet = true; - index += 1; - continue; - } else if (char === "(") { - isGroup = true; - - if (this.peek(index + 1) === "?" && - (this.peek(index + 2) === "=" || this.peek(index + 2) === "!")) { - isQuantifiable = true; - } - } else if (char === ")") { - if (isQuantifiable) { - isQuantifiable = false; - - if (reg.regexpQuantifiers.test(this.peek(index + 1))) { - this.triggerAsync( - "error", - { - code: "E016", - line: this.line, - character: this.char, - data: [ "Quantified quantifiable" ] - }, - checks, - hasUFlag - ); - } - } else { - groupCount += 1; - } - - isGroup = false; - } else if (char === "/") { - body = body.substr(0, body.length - 1); - terminated = true; - index += 1; - break; - } - - index += 1; - } - - if (!terminated) { - this.trigger("error", { - code: "E015", - line: this.line, - character: this.from - }); - - return void this.trigger("fatal", { - line: this.line, - from: this.from - }); - } - - while (index < length) { - char = this.peek(index); - if (!/[gimyus]/.test(char)) { - break; - } - if (char === "y") { - if (!state.inES6(true)) { - this.triggerAsync( - "warning", - { - code: "W119", - line: this.line, - character: this.char, - data: [ "Sticky RegExp flag", "6" ] - }, - checks, - function() { return true; } - ); - } - } else if (char === "u") { - if (!state.inES6(true)) { - this.triggerAsync( - "warning", - { - code: "W119", - line: this.line, - character: this.char, - data: [ "Unicode RegExp flag", "6" ] - }, - checks, - function() { return true; } - ); - } - - var hasInvalidEscape = (function(groupReferences, groupCount, escapedChars, reg) { - var hasInvalidGroup = groupReferences.some(function(groupReference) { - if (groupReference > groupCount) { - return true; - } - }); - - if (hasInvalidGroup) { - return true; - } - - return !escapedChars.split("").every(function(escapedChar) { - return escapedChar === "u" || - escapedChar === "/" || - escapedChar === "0" || - reg.regexpControlEscapes.test(escapedChar) || - reg.regexpCharClasses.test(escapedChar) || - reg.regexpSyntaxChars.test(escapedChar); - }); - }(groupReferences, groupCount, escapedChars, reg)); - - if (hasInvalidEscape) { - malformedDesc = "Invalid escape"; - } else if (hasInvalidQuantifier) { - malformedDesc = "Invalid quantifier"; - } - - body = translateUFlag(body); - } else if (char === "s") { - if (!state.inES9()) { - this.triggerAsync( - "warning", - { - code: "W119", - line: this.line, - character: this.char, - data: [ "DotAll RegExp flag", "9" ] - }, - checks, - function() { return true; } - ); - } - if (value.indexOf("s") > -1) { - malformedDesc = "Duplicate RegExp flag"; - } - } else { - es5Flags += char; - } - - if (allFlags.indexOf(char) > -1) { - malformedDesc = "Duplicate RegExp flag"; - } - allFlags += char; - - value += char; - allFlags += char; - index += 1; - } - - if (allFlags.indexOf("u") === -1) { - this.triggerAsync("warning", { - code: "W147", - line: this.line, - character: this.char - }, checks, function() { return state.option.regexpu; }); - } - - try { - new RegExp(body, es5Flags); - } catch (err) { - malformedDesc = err.message; - } - - if (malformedDesc) { - malformed = true; - this.trigger("error", { - code: "E016", - line: this.line, - character: this.char, - data: [ malformedDesc ] - }); - } else if (allFlags.indexOf("s") > -1 && !reg.regexpDot.test(body)) { - this.trigger("warning", { - code: "W148", - line: this.line, - character: this.char - }); - } - - return { - type: Token.RegExp, - value: value, - isMalformed: malformed - }; - }, - scanNonBreakingSpaces: function() { - return state.option.nonbsp ? - this.input.search(/(\u00A0)/) : -1; - }, - next: function(checks) { - this.from = this.char; - while (reg.whitespace.test(this.peek())) { - this.from += 1; - this.skip(); - } - - var match = this.scanComments(checks) || - this.scanStringLiteral(checks) || - this.scanTemplateLiteral(checks); - - if (match) { - return match; - } - - match = - this.scanRegExp(checks) || - this.scanPunctuator() || - this.scanKeyword() || - this.scanIdentifier(checks) || - this.scanNumericLiteral(checks); - - if (match) { - this.skip(match.tokenLength || match.value.length); - return match; - } - - return null; - }, - nextLine: function(checks) { - var char; - - if (this.line >= this.getLines().length) { - return false; - } - - this.input = this.getLines()[this.line]; - this.line += 1; - this.char = 1; - this.from = 1; - - var inputTrimmed = this.input.trim(); - - var startsWith = function() { - return _.some(arguments, function(prefix) { - return inputTrimmed.indexOf(prefix) === 0; - }); - }; - - var endsWith = function() { - return _.some(arguments, function(suffix) { - return inputTrimmed.indexOf(suffix, inputTrimmed.length - suffix.length) !== -1; - }); - }; - if (this.ignoringLinterErrors === true) { - if (!startsWith("/*", "//") && !(this.inComment && endsWith("*/"))) { - this.input = ""; - } - } - - char = this.scanNonBreakingSpaces(); - if (char >= 0) { - this.triggerAsync( - "warning", - { code: "W125", line: this.line, character: char + 1 }, - checks, - function() { return true; } - ); - } - - this.input = this.input.replace(/\t/g, state.tab); - - if (!this.ignoringLinterErrors && state.option.maxlen && - state.option.maxlen < this.input.length) { - var inComment = this.inComment || - startsWith.call(inputTrimmed, "//") || - startsWith.call(inputTrimmed, "/*"); - - var shouldTriggerError = !inComment || !reg.maxlenException.test(inputTrimmed); - - if (shouldTriggerError) { - this.triggerAsync( - "warning", - { code: "W101", line: this.line, character: this.input.length }, - checks, - function() { return true; } - ); - } - } - - return true; - }, - token: function() { - var checks = asyncTrigger(); - var token; - var create = function(type, value, isProperty, token) { - var obj; - - if (type !== "(endline)" && type !== "(end)") { - this.prereg = false; - } - - if (type === "(punctuator)") { - switch (value) { - case ".": - case ")": - case "~": - case "#": - case "]": - case "}": - case "++": - case "--": - this.prereg = false; - break; - default: - this.prereg = true; - } - - obj = Object.create(state.syntax[value] || state.syntax["(error)"]); - } - - if (type === "(identifier)") { - if (value === "return" || value === "case" || value === "yield" || - value === "typeof" || value === "instanceof" || value === "void" || - value === "await" || value === "new" || value === "delete" || - value === "default" || value === "extends") { - this.prereg = true; - } - - if (_.has(state.syntax, value)) { - obj = Object.create(state.syntax[value] || state.syntax["(error)"]); - } - } - - if (type === "(template)" || type === "(template middle)") { - this.prereg = true; - } - - if (!obj) { - obj = Object.create(state.syntax[type]); - } - - obj.identifier = (type === "(identifier)"); - obj.type = obj.type || type; - obj.value = value; - obj.line = this.line; - obj.character = this.char; - obj.from = this.from; - if (obj.identifier && token) obj.raw_text = token.text || token.value; - if (token && token.startLine && token.startLine !== this.line) { - obj.startLine = token.startLine; - } - if (token && token.context) { - obj.context = token.context; - } - if (token && token.depth) { - obj.depth = token.depth; - } - if (token && token.isUnclosed) { - obj.isUnclosed = token.isUnclosed; - } - - if (isProperty && obj.identifier) { - obj.isProperty = isProperty; - } - - obj.check = checks.check; - - return obj; - }.bind(this); - - for (;;) { - if (!this.input.length) { - if (this.nextLine(checks)) { - return create("(endline)", ""); - } - - if (this.exhausted) { - return null; - } - - this.exhausted = true; - return create("(end)", ""); - } - - token = this.next(checks); - - if (!token) { - if (this.input.length) { - this.trigger("error", { - code: "E024", - line: this.line, - character: this.char, - data: [ this.peek() ] - }); - - this.input = ""; - } - - continue; - } - - switch (token.type) { - case Token.StringLiteral: - this.triggerAsync("String", { - line: this.line, - char: this.char, - from: this.from, - startLine: token.startLine, - startChar: token.startChar, - value: token.value, - quote: token.quote - }, checks, function() { return true; }); - - return create("(string)", token.value, null, token); - - case Token.TemplateHead: - this.trigger("TemplateHead", { - line: this.line, - char: this.char, - from: this.from, - startLine: token.startLine, - startChar: token.startChar, - value: token.value - }); - return create("(template)", token.value, null, token); - - case Token.TemplateMiddle: - this.trigger("TemplateMiddle", { - line: this.line, - char: this.char, - from: this.from, - startLine: token.startLine, - startChar: token.startChar, - value: token.value - }); - return create("(template middle)", token.value, null, token); - - case Token.TemplateTail: - this.trigger("TemplateTail", { - line: this.line, - char: this.char, - from: this.from, - startLine: token.startLine, - startChar: token.startChar, - value: token.value - }); - return create("(template tail)", token.value, null, token); - - case Token.NoSubstTemplate: - this.trigger("NoSubstTemplate", { - line: this.line, - char: this.char, - from: this.from, - startLine: token.startLine, - startChar: token.startChar, - value: token.value - }); - return create("(no subst template)", token.value, null, token); - - case Token.Identifier: - this.triggerAsync("Identifier", { - line: this.line, - char: this.char, - from: this.from, - name: token.value, - raw_name: token.text, - isProperty: state.tokens.curr.id === "." - }, checks, function() { return true; }); - case Token.Keyword: - return create("(identifier)", token.value, state.tokens.curr.id === ".", token); - - case Token.NumericLiteral: - if (token.isMalformed) { - this.trigger("error", { - code: "E067", - line: this.line, - character: this.char, - data: [ token.value ] - }); - } - - this.triggerAsync("warning", { - code: "W114", - line: this.line, - character: this.char, - data: [ "0x-" ] - }, checks, function() { return token.base === 16 && state.jsonMode; }); - - this.triggerAsync("warning", { - code: "W115", - line: this.line, - character: this.char - }, checks, function() { - return state.isStrict() && token.base === 8 && token.isLegacy; - }); - - this.triggerAsync("error", { - code: "E068", - line: this.line, - character: this.char - }, checks, function() { - return state.isStrict() && token.isNonOctal; - }); - - this.trigger("Number", { - line: this.line, - char: this.char, - from: this.from, - value: token.value, - base: token.base, - isMalformed: token.isMalformed - }); - - return create("(number)", token.value); - - case Token.RegExp: - return create("(regexp)", token.value); - - case Token.Comment: - if (token.isSpecial) { - return { - id: '(comment)', - value: token.value, - body: token.body, - type: token.commentType, - isSpecial: token.isSpecial, - line: this.line, - character: this.char, - from: this.from - }; - } - - break; - - default: - return create("(punctuator)", token.value); - } - } - } -}; - -exports.Lexer = Lexer; -exports.Context = Context; - -},{"../data/ascii-identifier-data.js":"/../../../jshint/data/ascii-identifier-data.js","../data/es5-identifier-names.js":"/../../../jshint/data/es5-identifier-names.js","../data/non-ascii-identifier-part-only.js":"/../../../jshint/data/non-ascii-identifier-part-only.js","../data/non-ascii-identifier-start.js":"/../../../jshint/data/non-ascii-identifier-start.js","./reg.js":"/../../../jshint/src/reg.js","./state.js":"/../../../jshint/src/state.js","./validate-unicode-escape-sequence":"/../../../jshint/src/validate-unicode-escape-sequence.js","events":"/node_modules/events/events.js","underscore":"/../../../jshint/node_modules/underscore/underscore-umd.js"}],"/../../../jshint/src/messages.js":[function(_dereq_,module,exports){ -"use strict"; - -var _ = _dereq_("underscore"); - -var errors = { - E001: "Bad {a}option: '{b}'.", - E002: "Bad option value.", - E003: "Expected a JSON value.", - E004: "Input is neither a string nor an array of strings.", - E005: "Input is empty.", - E006: "Unexpected early end of program.", - E007: "Missing \"use strict\" statement.", - E008: "Strict violation.", - E009: "Option 'validthis' can't be used in a global scope.", - E010: "'with' is not allowed in strict mode.", - E011: "'{a}' has already been declared.", - E012: "Missing initializer for constant '{a}'.", - E013: "Attempting to override '{a}' which is a constant.", - E014: "A regular expression literal can be confused with '/='.", - E015: "Unclosed regular expression.", - E016: "Invalid regular expression.", - E017: "Unclosed comment.", - E018: "Unbegun comment.", - E019: "Unmatched '{a}'.", - E020: "Expected '{a}' to match '{b}' from line {c} and instead saw '{d}'.", - E021: "Expected '{a}' and instead saw '{b}'.", - E022: "Line breaking error '{a}'.", - E023: "Missing '{a}'.", - E024: "Unexpected '{a}'.", - E025: "Missing ':' on a case clause.", - E026: "Missing '}' to match '{' from line {a}.", - E027: "Missing ']' to match '[' from line {a}.", - E028: "Illegal comma.", - E029: "Unclosed string.", - E030: "Expected an identifier and instead saw '{a}'.", - E031: "Bad assignment.", // FIXME: Rephrase - E032: "Expected a small integer or 'false' and instead saw '{a}'.", - E033: "Expected an operator and instead saw '{a}'.", - E034: "get/set are ES5 features.", - E035: "Missing property name.", - E036: "Expected to see a statement and instead saw a block.", - E037: null, - E038: null, - E039: "Function declarations are not invocable. Wrap the whole function invocation in parens.", - E040: "Each value should have its own case label.", - E041: "Unrecoverable syntax error.", - E042: "Stopping.", - E043: "Too many errors.", - E044: null, - E045: "Invalid for each loop.", - E046: "Yield expressions may only occur within generator functions.", - E047: null, - E048: "{a} declaration not directly within block.", - E049: "A {a} cannot be named '{b}'.", - E050: "Mozilla requires the yield expression to be parenthesized here.", - E051: null, - E052: "Unclosed template literal.", - E053: "{a} declarations are only allowed at the top level of module scope.", - E054: "Class properties must be methods. Expected '(' but instead saw '{a}'.", - E055: "The '{a}' option cannot be set after any executable code.", - E056: "'{a}' was used before it was declared, which is illegal for '{b}' variables.", - E057: "Invalid meta property: '{a}.{b}'.", - E058: "Missing semicolon.", - E059: "Incompatible values for the '{a}' and '{b}' linting options.", - E060: "Non-callable values cannot be used as the second operand to instanceof.", - E061: "Invalid position for 'yield' expression (consider wrapping in parenthesis).", - E062: "Rest parameter does not a support default value.", - E063: "Super property may only be used within method bodies.", - E064: "Super call may only be used within class method bodies.", - E065: "Functions defined outside of strict mode with non-simple parameter lists may not " + - "enable strict mode.", - E066: "Asynchronous iteration is only available with for-of loops.", - E067: "Malformed numeric literal: '{a}'.", - E068: "Decimals with leading zeros are not allowed in strict mode.", - E069: "Duplicate exported binding: '{a}'.", - E070: "import.meta may only be used in module code." -}; - -var warnings = { - W001: "'hasOwnProperty' is a really bad name.", - W002: "Value of '{a}' may be overwritten in IE 8 and earlier.", - W003: "'{a}' was used before it was defined.", - W004: "'{a}' is already defined.", - W005: "A dot following a number can be confused with a decimal point.", - W006: "Confusing minuses.", - W007: "Confusing plusses.", - W008: "A leading decimal point can be confused with a dot: '{a}'.", - W009: "The array literal notation [] is preferable.", - W010: "The object literal notation {} is preferable.", - W011: null, - W012: null, - W013: null, - W014: "Misleading line break before '{a}'; readers may interpret this as an expression boundary.", - W015: null, - W016: "Unexpected use of '{a}'.", - W017: "Bad operand.", - W018: "Confusing use of '{a}'.", - W019: "Use the isNaN function to compare with NaN.", - W020: "Read only.", - W021: "Reassignment of '{a}', which is a {b}. " + - "Use 'var' or 'let' to declare bindings that may change.", - W022: "Do not assign to the exception parameter.", - W023: null, - W024: "Expected an identifier and instead saw '{a}' (a reserved word).", - W025: "Missing name in function declaration.", - W026: "Inner functions should be listed at the top of the outer function.", - W027: "Unreachable '{a}' after '{b}'.", - W028: "Label '{a}' on {b} statement.", - W030: "Expected an assignment or function call and instead saw an expression.", - W031: "Do not use 'new' for side effects.", - W032: "Unnecessary semicolon.", - W033: "Missing semicolon.", - W034: "Unnecessary directive \"{a}\".", - W035: "Empty block.", - W036: "Unexpected /*member '{a}'.", - W037: "'{a}' is a statement label.", - W038: "'{a}' used out of scope.", - W039: null, - W040: "If a strict mode function is executed using function invocation, " + - "its 'this' value will be undefined.", - W041: null, - W042: "Avoid EOL escaping.", - W043: "Bad escaping of EOL. Use option multistr if needed.", - W044: "Bad or unnecessary escaping.", /* TODO(caitp): remove W044 */ - W045: "Value described by numeric literal cannot be accurately " + - "represented with a number value: '{a}'.", - W046: "Don't use extra leading zeros '{a}'.", - W047: "A trailing decimal point can be confused with a dot: '{a}'.", - W048: "Unexpected control character in regular expression.", - W049: "Unexpected escaped character '{a}' in regular expression.", - W050: "JavaScript URL.", - W051: "Variables should not be deleted.", - W052: "Unexpected '{a}'.", - W053: "Do not use {a} as a constructor.", - W054: "The Function constructor is a form of eval.", - W055: "A constructor name should start with an uppercase letter.", - W056: "Bad constructor.", - W057: "Weird construction. Is 'new' necessary?", - W058: "Missing '()' invoking a constructor.", - W059: "Avoid arguments.{a}.", - W060: "document.write can be a form of eval.", - W061: "eval can be harmful.", - W062: "Wrap an immediate function invocation in parens " + - "to assist the reader in understanding that the expression " + - "is the result of a function, and not the function itself.", - W063: "Math is not a function.", - W064: "Missing 'new' prefix when invoking a constructor.", - W065: "Missing radix parameter.", - W066: "Implied eval. Consider passing a function instead of a string.", - W067: "Unorthodox function invocation.", - W068: "Wrapping non-IIFE function literals in parens is unnecessary.", - W069: "['{a}'] is better written in dot notation.", - W070: "Extra comma. (it breaks older versions of IE)", - W071: "This function has too many statements. ({a})", - W072: "This function has too many parameters. ({a})", - W073: "Blocks are nested too deeply. ({a})", - W074: "This function's cyclomatic complexity is too high. ({a})", - W075: "Duplicate {a} '{b}'.", - W076: "Unexpected parameter '{a}' in get {b} function.", - W077: "Expected a single parameter in set {a} function.", - W078: "Setter is defined without getter.", - W079: "Redefinition of '{a}'.", - W080: "It's not necessary to initialize '{a}' to 'undefined'.", - W081: null, - W082: "Function declarations should not be placed in blocks. " + - "Use a function expression or move the statement to the top of " + - "the outer function.", - W083: "Functions declared within loops referencing an outer scoped " + - "variable may lead to confusing semantics. ({a})", - W084: "Assignment in conditional expression", - W085: "Don't use 'with'.", - W086: "Expected a 'break' statement before '{a}'.", - W087: "Forgotten 'debugger' statement?", - W088: "Creating global 'for' variable. Should be 'for (var {a} ...'.", - W089: "The body of a for in should be wrapped in an if statement to filter " + - "unwanted properties from the prototype.", - W090: "'{a}' is not a statement label.", - W091: null, - W093: "Did you mean to return a conditional instead of an assignment?", - W094: "Unexpected comma.", - W095: "Expected a string and instead saw {a}.", - W096: "The '{a}' key may produce unexpected results.", - W097: "Use the function form of \"use strict\".", - W098: "'{a}' is defined but never used.", - W099: null, - W100: null, - W101: "Line is too long.", - W102: null, - W103: "The '{a}' property is deprecated.", - W104: "'{a}' is available in ES{b} (use 'esversion: {b}') or Mozilla JS extensions (use moz).", - W105: null, - W106: "Identifier '{a}' is not in camel case.", - W107: "Script URL.", - W108: "Strings must use doublequote.", - W109: "Strings must use singlequote.", - W110: "Mixed double and single quotes.", - W112: "Unclosed string.", - W113: "Control character in string: {a}.", - W114: "Avoid {a}.", - W115: "Octal literals are not allowed in strict mode.", - W116: "Expected '{a}' and instead saw '{b}'.", - W117: "'{a}' is not defined.", - W118: "'{a}' is only available in Mozilla JavaScript extensions (use moz option).", - W119: "'{a}' is only available in ES{b} (use 'esversion: {b}').", - W120: "You might be leaking a variable ({a}) here.", - W121: "Extending prototype of native object: '{a}'.", - W122: "Invalid typeof value '{a}'", - W123: "'{a}' is already defined in outer scope.", - W124: "A generator function should contain at least one yield expression.", - W125: "This line contains non-breaking spaces: http://jshint.com/docs/options/#nonbsp", - W126: "Unnecessary grouping operator.", - W127: "Unexpected use of a comma operator.", - W128: "Empty array elements require elision=true.", - W129: "'{a}' is defined in a future version of JavaScript. Use a " + - "different variable name to avoid migration issues.", - W130: "Invalid element after rest element.", - W131: "Invalid parameter after rest parameter.", - W132: "`var` declarations are forbidden. Use `let` or `const` instead.", - W133: "Invalid for-{a} loop left-hand-side: {b}.", - W134: "The '{a}' option is only available when linting ECMAScript {b} code.", - W135: "{a} may not be supported by non-browser environments.", - W136: "'{a}' must be in function scope.", - W137: "Empty destructuring: this is unnecessary and can be removed.", - W138: "Regular parameters should not come after default parameters.", - W139: "Function expressions should not be used as the second operand to instanceof.", - W140: "Missing comma.", - W141: "Empty {a}: this is unnecessary and can be removed.", - W142: "Empty {a}: consider replacing with `import '{b}';`.", - W143: "Assignment to properties of a mapped arguments object may cause " + - "unexpected changes to formal parameters.", - W144: "'{a}' is a non-standard language feature. Enable it using the '{b}' unstable option.", - W145: "Superfluous 'case' clause.", - W146: "Unnecessary `await` expression.", - W147: "Regular expressions should include the 'u' flag.", - W148: "Unnecessary RegExp 's' flag." -}; - -var info = { - I001: "Comma warnings can be turned off with 'laxcomma'.", - I002: null, - I003: "ES5 option is now set per default" -}; - -exports.errors = {}; -exports.warnings = {}; -exports.info = {}; - -_.each(errors, function(desc, code) { - exports.errors[code] = { code: code, desc: desc }; -}); - -_.each(warnings, function(desc, code) { - exports.warnings[code] = { code: code, desc: desc }; -}); - -_.each(info, function(desc, code) { - exports.info[code] = { code: code, desc: desc }; -}); - -},{"underscore":"/../../../jshint/node_modules/underscore/underscore-umd.js"}],"/../../../jshint/src/name-stack.js":[function(_dereq_,module,exports){ -"use strict"; - -function NameStack() { - this._stack = []; -} - -Object.defineProperty(NameStack.prototype, "length", { - get: function() { - return this._stack.length; - } -}); -NameStack.prototype.push = function() { - this._stack.push(null); -}; -NameStack.prototype.pop = function() { - this._stack.pop(); -}; -NameStack.prototype.set = function(token) { - this._stack[this.length - 1] = token; -}; -NameStack.prototype.infer = function() { - var nameToken = this._stack[this.length - 1]; - var prefix = ""; - var type; - if (!nameToken || nameToken.type === "class") { - nameToken = this._stack[this.length - 2]; - } - - if (!nameToken) { - return "(empty)"; - } - - type = nameToken.type; - - if (type !== "(string)" && type !== "(number)" && type !== "(identifier)" && type !== "default") { - return "(expression)"; - } - - if (nameToken.accessorType) { - prefix = nameToken.accessorType + " "; - } - - return prefix + nameToken.value; -}; - -module.exports = NameStack; - -},{}],"/../../../jshint/src/options.js":[function(_dereq_,module,exports){ -"use strict"; -exports.bool = { - enforcing: { - bitwise : true, - freeze : true, - camelcase : true, - curly : true, - eqeqeq : true, - futurehostile: true, - es3 : true, - es5 : true, - forin : true, - immed : true, - leanswitch : true, - newcap : true, - noarg : true, - nocomma : true, - noempty : true, - nonbsp : true, - nonew : true, - noreturnawait: true, - regexpu : true, - undef : true, - singleGroups: false, - varstmt: false, - enforceall : false, - trailingcomma: false - }, - relaxing: { - asi : true, - multistr : true, - debug : true, - boss : true, - evil : true, - funcscope : true, - globalstrict: true, - iterator : true, - notypeof : true, - plusplus : true, - proto : true, - scripturl : true, - sub : true, - supernew : true, - laxbreak : true, - laxcomma : true, - validthis : true, - withstmt : true, - moz : true, - noyield : true, - eqnull : true, - lastsemic : true, - loopfunc : true, - expr : true, - esnext : true, - elision : true, - }, - environments: { - mootools : true, - couch : true, - jasmine : true, - jquery : true, - node : true, - qunit : true, - rhino : true, - shelljs : true, - prototypejs : true, - yui : true, - mocha : true, - module : true, - wsh : true, - worker : true, - nonstandard : true, - browser : true, - browserify : true, - devel : true, - dojo : true, - typed : true, - phantom : true - }, - obsolete: { - onecase : true, // if one case switch statements should be allowed - regexp : true, // if the . should not be allowed in regexp literals - regexdash : true // if unescaped first/last dash (-) inside brackets - } -}; -exports.val = { - maxlen : false, - indent : false, - maxerr : false, - predef : false, - globals : false, - quotmark : false, - - scope : false, - maxstatements: false, - maxdepth : false, - maxparams : false, - maxcomplexity: false, - shadow : false, - strict : true, - unused : true, - latedef : false, - - ignore : false, // start/end ignoring lines of code, bypassing the lexer - - ignoreDelimiters: false, // array of start/end delimiters used to ignore - esversion: 5 -}; -exports.unstable = { -}; -exports.inverted = { - bitwise : true, - forin : true, - newcap : true, - plusplus: true, - regexp : true, - undef : true, - eqeqeq : true, - strict : true -}; - -exports.validNames = Object.keys(exports.val) - .concat(Object.keys(exports.bool.relaxing)) - .concat(Object.keys(exports.bool.enforcing)) - .concat(Object.keys(exports.bool.obsolete)) - .concat(Object.keys(exports.bool.environments)) - .concat(["unstable"]); - -exports.unstableNames = Object.keys(exports.unstable); -exports.renamed = { - eqeq : "eqeqeq", - windows: "wsh", - sloppy : "strict" -}; - -exports.removed = { - nomen: true, - onevar: true, - passfail: true, - white: true, - gcl: true, - smarttabs: true, - trailing: true -}; -exports.noenforceall = { - varstmt: true, - strict: true, - regexpu: true -}; - -},{}],"/../../../jshint/src/prod-params.js":[function(_dereq_,module,exports){ -module.exports = { - export: 1, - noin: 2, - initial: 4, - - preAsync: 8, - - async: 16, - tryClause: 32, - yield: 64 -}; - -},{}],"/../../../jshint/src/reg.js":[function(_dereq_,module,exports){ - -"use strict"; -exports.unsafeString = - /@cc|<\/?|script|\]\s*\]|<\s*!|</i; -exports.needEsc = - /[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/; - -exports.needEscGlobal = - /[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g; -exports.starSlash = /\*\//; -exports.identifier = /^([a-zA-Z_$][a-zA-Z0-9_$]*)$/; -exports.javascriptURL = /^(?:javascript|jscript|ecmascript|vbscript|livescript)\s*:/i; -exports.fallsThrough = /^\s*falls?\sthrough\s*$/; -exports.maxlenException = /^(?:(?:\/\/|\/\*|\*) ?)?[^ ]+$/; -exports.whitespace = /[ \f\n\r\t\v\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]/; - -exports.nonzeroDigit = /^[1-9]$/; - -exports.decimalDigit = /^[0-9]$/; - -exports.regexpSyntaxChars = /[\^$\\.*+?()[\]{}|]/; - -exports.regexpQuantifiers = /[*+?{]/; - -exports.regexpControlEscapes = /[fnrtv]/; - -exports.regexpCharClasses = /[dDsSwWpP]/; -exports.regexpDot = /(^|[^\\])(\\\\)*\./; - -},{}],"/../../../jshint/src/scope-manager.js":[function(_dereq_,module,exports){ -"use strict"; - -var _ = _dereq_("underscore"); -_.slice = _dereq_("lodash.slice"); -var events = _dereq_("events"); -var marker = {}; -var scopeManager = function(state, predefined, exported, declared) { - - var _current; - var _scopeStack = []; - - function _newScope(type) { - _current = { - "(bindings)": Object.create(null), - "(usages)": Object.create(null), - "(labels)": Object.create(null), - "(parent)": _current, - "(type)": type, - "(params)": (type === "functionparams" || type === "catchparams") ? [] : null - }; - _scopeStack.push(_current); - } - - _newScope("global"); - _current["(predefined)"] = predefined; - - var _currentFunctBody = _current; // this is the block after the params = function - - var usedPredefinedAndGlobals = Object.create(null); - var impliedGlobals = Object.create(null); - var unuseds = []; - var esModuleExports = []; - var emitter = new events.EventEmitter(); - - function warning(code, token) { - emitter.emit("warning", { - code: code, - token: token, - data: _.slice(arguments, 2) - }); - } - - function error(code, token) { - emitter.emit("warning", { - code: code, - token: token, - data: _.slice(arguments, 2) - }); - } - - function _setupUsages(bindingName) { - if (!_current["(usages)"][bindingName]) { - _current["(usages)"][bindingName] = { - "(modified)": [], - "(reassigned)": [], - "(tokens)": [] - }; - } - } - - var _getUnusedOption = function(unused_opt) { - if (unused_opt === undefined) { - unused_opt = state.option.unused; - } - - if (unused_opt === true) { - unused_opt = "last-param"; - } - - return unused_opt; - }; - - var _warnUnused = function(name, tkn, type, unused_opt) { - var line = tkn.line; - var chr = tkn.from; - var raw_name = tkn.raw_text || name; - - unused_opt = _getUnusedOption(unused_opt); - - var warnable_types = { - "vars": ["var"], - "last-param": ["var", "param"], - "strict": ["var", "param", "last-param"] - }; - - if (unused_opt) { - if (warnable_types[unused_opt] && warnable_types[unused_opt].indexOf(type) !== -1) { - warning("W098", { line: line, from: chr }, raw_name); - } - } - if (unused_opt || type === "var") { - unuseds.push({ - name: name, - line: line, - character: chr - }); - } - }; - function _checkForUnused() { - if (_current["(type)"] !== "functionparams") { - var currentBindings = _current["(bindings)"]; - for (var bindingName in currentBindings) { - if (currentBindings[bindingName]["(type)"] !== "exception" && - currentBindings[bindingName]["(unused)"]) { - _warnUnused(bindingName, currentBindings[bindingName]["(token)"], "var"); - } - } - return; - } - var params = _current["(params)"]; - - var param = params.pop(); - var unused_opt; - - while (param) { - var binding = _current["(bindings)"][param]; - - unused_opt = _getUnusedOption(state.funct["(unusedOption)"]); - if (param === "undefined") - return; - - if (binding["(unused)"]) { - _warnUnused(param, binding["(token)"], "param", state.funct["(unusedOption)"]); - } else if (unused_opt === "last-param") { - return; - } - - param = params.pop(); - } - } - function _getBinding(bindingName) { - for (var i = _scopeStack.length - 1 ; i >= 0; --i) { - var scopeBindings = _scopeStack[i]["(bindings)"]; - if (scopeBindings[bindingName]) { - return scopeBindings; - } - } - } - function usedSoFarInCurrentFunction(bindingName) { - for (var i = _scopeStack.length - 1; i >= 0; i--) { - var current = _scopeStack[i]; - if (current["(usages)"][bindingName]) { - return current["(usages)"][bindingName]; - } - if (current === _currentFunctBody) { - break; - } - } - return false; - } - - function _checkOuterShadow(bindingName, token) { - if (state.option.shadow !== "outer") { - return; - } - - var isGlobal = _currentFunctBody["(type)"] === "global", - isNewFunction = _current["(type)"] === "functionparams"; - - var outsideCurrentFunction = !isGlobal; - for (var i = 0; i < _scopeStack.length; i++) { - var stackItem = _scopeStack[i]; - - if (!isNewFunction && _scopeStack[i + 1] === _currentFunctBody) { - outsideCurrentFunction = false; - } - if (outsideCurrentFunction && stackItem["(bindings)"][bindingName]) { - warning("W123", token, bindingName); - } - if (stackItem["(labels)"][bindingName]) { - warning("W123", token, bindingName); - } - } - } - - function _latedefWarning(type, bindingName, token) { - var isFunction; - - if (state.option.latedef) { - isFunction = type === "function" || type === "generator function" || - type === "async function"; - if ((state.option.latedef === true && isFunction) || !isFunction) { - warning("W003", token, bindingName); - } - } - } - - var scopeManagerInst = { - - on: function(names, listener) { - names.split(" ").forEach(function(name) { - emitter.on(name, listener); - }); - }, - - isPredefined: function(bindingName) { - return !this.has(bindingName) && _.has(_scopeStack[0]["(predefined)"], bindingName); - }, - stack: function(type) { - var previousScope = _current; - _newScope(type); - - if (!type && previousScope["(type)"] === "functionparams") { - - _current["(isFuncBody)"] = true; - _currentFunctBody = _current; - } - }, - unstack: function() { - var subScope = _scopeStack.length > 1 ? _scopeStack[_scopeStack.length - 2] : null; - var isUnstackingFunctionBody = _current === _currentFunctBody, - isUnstackingFunctionParams = _current["(type)"] === "functionparams", - isUnstackingFunctionOuter = _current["(type)"] === "functionouter"; - - var i, j, isImmutable, isFunction; - var currentUsages = _current["(usages)"]; - var currentBindings = _current["(bindings)"]; - var usedBindingNameList = Object.keys(currentUsages); - if (currentUsages.__proto__ && usedBindingNameList.indexOf("__proto__") === -1) { - usedBindingNameList.push("__proto__"); - } - - for (i = 0; i < usedBindingNameList.length; i++) { - var usedBindingName = usedBindingNameList[i]; - - var usage = currentUsages[usedBindingName]; - var usedBinding = currentBindings[usedBindingName]; - if (usedBinding) { - var usedBindingType = usedBinding["(type)"]; - isImmutable = usedBindingType === "const" || usedBindingType === "import"; - - if (usedBinding["(useOutsideOfScope)"] && !state.option.funcscope) { - var usedTokens = usage["(tokens)"]; - for (j = 0; j < usedTokens.length; j++) { - if (usedBinding["(function)"] === usedTokens[j]["(function)"]) { - error("W038", usedTokens[j], usedBindingName); - } - } - } - _current["(bindings)"][usedBindingName]["(unused)"] = false; - if (isImmutable && usage["(modified)"]) { - for (j = 0; j < usage["(modified)"].length; j++) { - error("E013", usage["(modified)"][j], usedBindingName); - } - } - - isFunction = usedBindingType === "function" || - usedBindingType === "generator function" || - usedBindingType === "async function"; - if ((isFunction || usedBindingType === "class") && usage["(reassigned)"]) { - for (j = 0; j < usage["(reassigned)"].length; j++) { - if (!usage["(reassigned)"][j].ignoreW021) { - warning("W021", usage["(reassigned)"][j], usedBindingName, usedBindingType); - } - } - } - continue; - } - - if (subScope) { - var bindingType = this.bindingtype(usedBindingName); - isImmutable = bindingType === "const" || - (bindingType === null && _scopeStack[0]["(predefined)"][usedBindingName] === false); - if (isUnstackingFunctionOuter && !isImmutable) { - if (!state.funct["(outerMutables)"]) { - state.funct["(outerMutables)"] = []; - } - state.funct["(outerMutables)"].push(usedBindingName); - } - if (!subScope["(usages)"][usedBindingName]) { - subScope["(usages)"][usedBindingName] = usage; - if (isUnstackingFunctionBody) { - subScope["(usages)"][usedBindingName]["(onlyUsedSubFunction)"] = true; - } - } else { - var subScopeUsage = subScope["(usages)"][usedBindingName]; - subScopeUsage["(modified)"] = subScopeUsage["(modified)"].concat(usage["(modified)"]); - subScopeUsage["(tokens)"] = subScopeUsage["(tokens)"].concat(usage["(tokens)"]); - subScopeUsage["(reassigned)"] = - subScopeUsage["(reassigned)"].concat(usage["(reassigned)"]); - } - } else { - if (typeof _current["(predefined)"][usedBindingName] === "boolean") { - delete declared[usedBindingName]; - usedPredefinedAndGlobals[usedBindingName] = marker; - if (_current["(predefined)"][usedBindingName] === false && usage["(reassigned)"]) { - for (j = 0; j < usage["(reassigned)"].length; j++) { - if (!usage["(reassigned)"][j].ignoreW020) { - warning("W020", usage["(reassigned)"][j]); - } - } - } - } - else { - for (j = 0; j < usage["(tokens)"].length; j++) { - var undefinedToken = usage["(tokens)"][j]; - if (!undefinedToken.forgiveUndef) { - if (state.option.undef && !undefinedToken.ignoreUndef) { - warning("W117", undefinedToken, usedBindingName); - } - if (impliedGlobals[usedBindingName]) { - impliedGlobals[usedBindingName].line.push(undefinedToken.line); - } else { - impliedGlobals[usedBindingName] = { - name: usedBindingName, - line: [undefinedToken.line] - }; - } - } - } - } - } - } - if (!subScope) { - Object.keys(declared) - .forEach(function(bindingNotUsed) { - _warnUnused(bindingNotUsed, declared[bindingNotUsed], "var"); - }); - } - if (subScope && !isUnstackingFunctionBody && - !isUnstackingFunctionParams && !isUnstackingFunctionOuter) { - var bindingNames = Object.keys(currentBindings); - for (i = 0; i < bindingNames.length; i++) { - - var defBindingName = bindingNames[i]; - var defBinding = currentBindings[defBindingName]; - - if (!defBinding["(blockscoped)"] && defBinding["(type)"] !== "exception") { - var shadowed = subScope["(bindings)"][defBindingName]; - if (shadowed) { - shadowed["(unused)"] &= defBinding["(unused)"]; - } else { - defBinding["(useOutsideOfScope)"] = - _currentFunctBody["(type)"] !== "global" && - !this.funct.has(defBindingName, { excludeCurrent: true }); - - subScope["(bindings)"][defBindingName] = defBinding; - } - - delete currentBindings[defBindingName]; - } - } - } - - _checkForUnused(); - - _scopeStack.pop(); - if (isUnstackingFunctionBody) { - _currentFunctBody = _scopeStack[_.findLastIndex(_scopeStack, function(scope) { - return scope["(isFuncBody)"] || scope["(type)"] === "global"; - })]; - } - - _current = subScope; - }, - addParam: function(bindingName, token, type) { - type = type || "param"; - - if (type === "exception") { - var previouslyDefinedBindingType = this.funct.bindingtype(bindingName); - if (previouslyDefinedBindingType && previouslyDefinedBindingType !== "exception") { - if (!state.option.node) { - warning("W002", state.tokens.next, bindingName); - } - } - - if (state.isStrict() && (bindingName === "arguments" || bindingName === "eval")) { - warning("E008", token); - } - } - if (_.has(_current["(bindings)"], bindingName)) { - _current["(bindings)"][bindingName].duplicated = true; - } else { - _checkOuterShadow(bindingName, token); - - _current["(bindings)"][bindingName] = { - "(type)" : type, - "(token)": token, - "(unused)": true }; - - _current["(params)"].push(bindingName); - } - - if (_.has(_current["(usages)"], bindingName)) { - var usage = _current["(usages)"][bindingName]; - if (usage["(onlyUsedSubFunction)"]) { - _latedefWarning(type, bindingName, token); - } else { - warning("W003", token, bindingName); - } - } - }, - - validateParams: function(isArrow) { - var isStrict = state.isStrict(); - var currentFunctParamScope = _currentFunctBody["(parent)"]; - var isSimple = state.funct['(hasSimpleParams)']; - var isMethod = state.funct["(method)"]; - - if (!currentFunctParamScope["(params)"]) { - return; - } - - currentFunctParamScope["(params)"].forEach(function(bindingName) { - var binding = currentFunctParamScope["(bindings)"][bindingName]; - - if (binding.duplicated) { - if (isStrict || isArrow || isMethod || !isSimple) { - warning("E011", binding["(token)"], bindingName); - } else if (state.option.shadow !== true) { - warning("W004", binding["(token)"], bindingName); - } - } - - if (isStrict && (bindingName === "arguments" || bindingName === "eval")) { - warning("E008", binding["(token)"]); - } - }); - }, - - getUsedOrDefinedGlobals: function() { - var list = Object.keys(usedPredefinedAndGlobals); - if (usedPredefinedAndGlobals.__proto__ === marker && - list.indexOf("__proto__") === -1) { - list.push("__proto__"); - } - - return list; - }, - getImpliedGlobals: function() { - var values = _.values(impliedGlobals); - var hasProto = false; - if (impliedGlobals.__proto__) { - hasProto = values.some(function(value) { - return value.name === "__proto__"; - }); - if (!hasProto) { - values.push(impliedGlobals.__proto__); - } - } - - return values; - }, - getUnuseds: function() { - return unuseds; - }, - has: function(bindingName) { - return Boolean(_getBinding(bindingName)); - }, - bindingtype: function(bindingName) { - var scopeBindings = _getBinding(bindingName); - if (scopeBindings) { - return scopeBindings[bindingName]["(type)"]; - } - return null; - }, - addExported: function(bindingName) { - var globalBindings = _scopeStack[0]["(bindings)"]; - if (_.has(declared, bindingName)) { - delete declared[bindingName]; - } else if (_.has(globalBindings, bindingName)) { - globalBindings[bindingName]["(unused)"] = false; - } else { - for (var i = 1; i < _scopeStack.length; i++) { - var scope = _scopeStack[i]; - if (!scope["(type)"]) { - if (_.has(scope["(bindings)"], bindingName) && - !scope["(bindings)"][bindingName]["(blockscoped)"]) { - scope["(bindings)"][bindingName]["(unused)"] = false; - return; - } - } else { - break; - } - } - exported[bindingName] = true; - } - }, - setExported: function(localName, exportName) { - if (exportName) { - if (esModuleExports.indexOf(exportName.value) > -1) { - error("E069", exportName, exportName.value); - } - - esModuleExports.push(exportName.value); - } - - if (localName) { - this.block.use(localName.value, localName); - } - }, - initialize: function(bindingName) { - if (_current["(bindings)"][bindingName]) { - _current["(bindings)"][bindingName]["(initialized)"] = true; - } - }, - addbinding: function(bindingName, opts) { - - var type = opts.type; - var token = opts.token; - var isblockscoped = type === "let" || type === "const" || - type === "class" || type === "import" || type === "generator function" || - type === "async function" || type === "async generator function"; - var ishoisted = type === "function" || type === "generator function" || - type === "async function" || type === "import"; - var isexported = (isblockscoped ? _current : _currentFunctBody)["(type)"] === "global" && - _.has(exported, bindingName); - _checkOuterShadow(bindingName, token); - - if (state.isStrict() && (bindingName === "arguments" || bindingName === "eval")) { - warning("E008", token); - } - - if (isblockscoped) { - - var declaredInCurrentScope = _current["(bindings)"][bindingName]; - if (!declaredInCurrentScope && _current === _currentFunctBody && - _current["(type)"] !== "global") { - declaredInCurrentScope = !!_currentFunctBody["(parent)"]["(bindings)"][bindingName]; - } - if (!declaredInCurrentScope && _current["(usages)"][bindingName]) { - var usage = _current["(usages)"][bindingName]; - if (usage["(onlyUsedSubFunction)"] || ishoisted) { - _latedefWarning(type, bindingName, token); - } else if (!ishoisted) { - warning("E056", token, bindingName, type); - } - } - if (declaredInCurrentScope && - (!ishoisted || (_current["(type)"] !== "global" || type === "import"))) { - warning("E011", token, bindingName); - } - else if (state.option.shadow === "outer") { - if (scopeManagerInst.funct.has(bindingName)) { - warning("W004", token, bindingName); - } - } - - scopeManagerInst.block.add( - bindingName, type, token, !isexported, opts.initialized - ); - - } else { - - var declaredInCurrentFunctionScope = scopeManagerInst.funct.has(bindingName); - if (!declaredInCurrentFunctionScope && usedSoFarInCurrentFunction(bindingName)) { - _latedefWarning(type, bindingName, token); - } - if (scopeManagerInst.funct.has(bindingName, { onlyBlockscoped: true })) { - warning("E011", token, bindingName); - } else if (state.option.shadow !== true) { - if (declaredInCurrentFunctionScope && bindingName !== "__proto__") { - if (_currentFunctBody["(type)"] !== "global") { - warning("W004", token, bindingName); - } - } - } - - scopeManagerInst.funct.add(bindingName, type, token, !isexported); - - if (_currentFunctBody["(type)"] === "global" && !state.impliedClosure()) { - usedPredefinedAndGlobals[bindingName] = marker; - } - } - }, - - funct: { - bindingtype: function(bindingName, options) { - var onlyBlockscoped = options && options.onlyBlockscoped; - var excludeParams = options && options.excludeParams; - var currentScopeIndex = _scopeStack.length - (options && options.excludeCurrent ? 2 : 1); - for (var i = currentScopeIndex; i >= 0; i--) { - var current = _scopeStack[i]; - if (current["(bindings)"][bindingName] && - (!onlyBlockscoped || current["(bindings)"][bindingName]["(blockscoped)"])) { - return current["(bindings)"][bindingName]["(type)"]; - } - var scopeCheck = excludeParams ? _scopeStack[ i - 1 ] : current; - if (scopeCheck && scopeCheck["(type)"] === "functionparams") { - return null; - } - } - return null; - }, - hasLabel: function(labelName) { - for (var i = _scopeStack.length - 1; i >= 0; i--) { - var current = _scopeStack[i]; - - if (current["(labels)"][labelName]) { - return true; - } - if (current["(type)"] === "functionparams") { - return false; - } - } - return false; - }, - has: function(bindingName, options) { - return Boolean(this.bindingtype(bindingName, options)); - }, - add: function(bindingName, type, tok, unused) { - _current["(bindings)"][bindingName] = { - "(type)" : type, - "(token)": tok, - "(blockscoped)": false, - "(function)": _currentFunctBody, - "(unused)": unused }; - } - }, - - block: { - isGlobal: function() { - return _current["(type)"] === "global"; - }, - use: function(bindingName, token) { - var paramScope = _currentFunctBody["(parent)"]; - if (paramScope && paramScope["(bindings)"][bindingName] && - paramScope["(bindings)"][bindingName]["(type)"] === "param") { - if (!scopeManagerInst.funct.has(bindingName, - { excludeParams: true, onlyBlockscoped: true })) { - paramScope["(bindings)"][bindingName]["(unused)"] = false; - } - } - - if (token && (state.ignored.W117 || state.option.undef === false)) { - token.ignoreUndef = true; - } - - _setupUsages(bindingName); - - _current["(usages)"][bindingName]["(onlyUsedSubFunction)"] = false; - - if (token) { - token["(function)"] = _currentFunctBody; - _current["(usages)"][bindingName]["(tokens)"].push(token); - } - var binding = _current["(bindings)"][bindingName]; - if (binding && binding["(blockscoped)"] && !binding["(initialized)"]) { - error("E056", token, bindingName, binding["(type)"]); - } - }, - - reassign: function(bindingName, token) { - token.ignoreW020 = state.ignored.W020; - token.ignoreW021 = state.ignored.W021; - - this.modify(bindingName, token); - - _current["(usages)"][bindingName]["(reassigned)"].push(token); - }, - - modify: function(bindingName, token) { - - _setupUsages(bindingName); - - _current["(usages)"][bindingName]["(onlyUsedSubFunction)"] = false; - _current["(usages)"][bindingName]["(modified)"].push(token); - }, - add: function(bindingName, type, tok, unused, initialized) { - _current["(bindings)"][bindingName] = { - "(type)" : type, - "(token)": tok, - "(initialized)": !!initialized, - "(blockscoped)": true, - "(unused)": unused }; - }, - - addLabel: function(labelName, opts) { - var token = opts.token; - if (scopeManagerInst.funct.hasLabel(labelName)) { - warning("E011", token, labelName); - } - else if (state.option.shadow === "outer") { - if (scopeManagerInst.funct.has(labelName)) { - warning("W004", token, labelName); - } else { - _checkOuterShadow(labelName, token); - } - } - _current["(labels)"][labelName] = token; - } - } - }; - return scopeManagerInst; -}; - -module.exports = scopeManager; - -},{"events":"/node_modules/events/events.js","lodash.slice":"/../../../jshint/node_modules/lodash.slice/index.js","underscore":"/../../../jshint/node_modules/underscore/underscore-umd.js"}],"/../../../jshint/src/state.js":[function(_dereq_,module,exports){ -"use strict"; -var NameStack = _dereq_("./name-stack.js"); - -var state = { - syntax: {}, - isStrict: function() { - return !!this.directive["use strict"] || this.inClassBody || - this.option.module || this.option.strict === "implied"; - }, - stmtMissingStrict: function() { - if (this.option.strict === "global") { - return true; - } - - if (this.option.strict === false) { - return false; - } - - if (this.option.globalstrict) { - return true; - } - - return false; - }, - - allowsGlobalUsd: function() { - return this.option.strict === "global" || this.option.globalstrict || - this.option.module || this.impliedClosure(); - }, - impliedClosure: function() { - return this.option.node || this.option.phantom || this.option.browserify; - }, - - inMoz: function() { - return this.option.moz; - }, - inES11: function() { - return this.esVersion >= 11; - }, - inES10: function() { - return this.esVersion >= 10; - }, - inES9: function() { - return this.esVersion >= 9; - }, - inES8: function() { - return this.esVersion >= 8; - }, - inES7: function() { - return this.esVersion >= 7; - }, - inES6: function(strict) { - if (!strict && this.option.moz) { - return true; - } - - return this.esVersion >= 6; - }, - inES5: function() { - return !this.esVersion || this.esVersion >= 5 || this.option.moz; - }, - inferEsVersion: function() { - var badOpt = null; - - if (this.option.esversion) { - if (this.option.es3) { - badOpt = "es3"; - } else if (this.option.es5) { - badOpt = "es5"; - } else if (this.option.esnext) { - badOpt = "esnext"; - } - - if (badOpt) { - return badOpt; - } - - if (this.option.esversion === 2015) { - this.esVersion = 6; - } else { - this.esVersion = this.option.esversion; - } - } else if (this.option.es3) { - this.esVersion = 3; - } else if (this.option.esnext) { - this.esVersion = 6; - } - - return null; - }, - - reset: function() { - this.tokens = { - prev: null, - next: null, - curr: null - }; - - this.option = { unstable: {} }; - this.esVersion = 5; - this.funct = null; - this.ignored = {}; - this.directive = Object.create(null); - this.jsonMode = false; - this.lines = []; - this.tab = ""; - this.cache = {}; // Node.JS doesn't have Map. Sniff. - this.ignoredLines = {}; - this.forinifcheckneeded = false; - this.nameStack = new NameStack(); - this.inClassBody = false; - } -}; - -exports.state = state; - -},{"./name-stack.js":"/../../../jshint/src/name-stack.js"}],"/../../../jshint/src/style.js":[function(_dereq_,module,exports){ -"use strict"; - -exports.register = function(linter) { - - linter.on("Identifier", function style_scanProto(data) { - if (linter.getOption("proto")) { - return; - } - - if (data.name === "__proto__") { - linter.warn("W103", { - line: data.line, - char: data.char, - data: [ data.name, "6" ] - }); - } - }); - - linter.on("Identifier", function style_scanIterator(data) { - if (linter.getOption("iterator")) { - return; - } - - if (data.name === "__iterator__") { - linter.warn("W103", { - line: data.line, - char: data.char, - data: [ data.name ] - }); - } - }); - - linter.on("Identifier", function style_scanCamelCase(data) { - if (!linter.getOption("camelcase")) { - return; - } - - if (data.name.replace(/^_+|_+$/g, "").indexOf("_") > -1 && !data.name.match(/^[A-Z0-9_]*$/)) { - linter.warn("W106", { - line: data.line, - char: data.char, - data: [ data.name ] - }); - } - }); - - linter.on("String", function style_scanQuotes(data) { - var quotmark = linter.getOption("quotmark"); - var code; - - if (!quotmark) { - return; - } - - if (quotmark === "single" && data.quote !== "'") { - code = "W109"; - } - - if (quotmark === "double" && data.quote !== "\"") { - code = "W108"; - } - - if (quotmark === true) { - if (!linter.getCache("quotmark")) { - linter.setCache("quotmark", data.quote); - } - - if (linter.getCache("quotmark") !== data.quote) { - code = "W110"; - } - } - - if (code) { - linter.warn(code, { - line: data.line, - char: data.char, - }); - } - }); - - linter.on("Number", function style_scanNumbers(data) { - if (data.value.charAt(0) === ".") { - linter.warn("W008", { - line: data.line, - char: data.char, - data: [ data.value ] - }); - } - - if (data.value.substr(data.value.length - 1) === ".") { - linter.warn("W047", { - line: data.line, - char: data.char, - data: [ data.value ] - }); - } - - if (/^00+/.test(data.value)) { - linter.warn("W046", { - line: data.line, - char: data.char, - data: [ data.value ] - }); - } - }); - - linter.on("String", function style_scanJavaScriptURLs(data) { - var re = /^(?:javascript|jscript|ecmascript|vbscript|livescript)\s*:/i; - - if (linter.getOption("scripturl")) { - return; - } - - if (re.test(data.value)) { - linter.warn("W107", { - line: data.line, - char: data.char - }); - } - }); -}; - -},{}],"/../../../jshint/src/validate-unicode-escape-sequence.js":[function(_dereq_,module,exports){ - -"use strict"; - -module.exports = function validate(sequence) { - var equalSignIndex = sequence.indexOf("="); - - if (equalSignIndex === -1) { - return sequence in names.binary || sequence in values.general; - } - - var name = sequence.substr(0, equalSignIndex); - var value = sequence.substr(equalSignIndex + 1); - - if (name === "General_Category" || name === "gc") { - return value in values.general; - } if (name === "Script" || name === "sc" || name === "Script_Extensions" || name === "scx") { - return value in values.script; - } - - return false; -}; - - -var names = { - nonBinary: Object.create(null), - binary: Object.create(null) -}; -var values = { - general: Object.create(null), - script: Object.create(null) -}; - -var nb = names.nonBinary; -nb.General_Category = true; -nb.gc = true; -nb.Script = true; -nb.sc = true; -nb.Script_Extensions = true; -nb.scx = true; - -var b = names.binary; -b.ASCII = true; -b.ASCII_Hex_Digit = true; -b.AHex = true; -b.Alphabetic = true; -b.Alpha = true; -b.Any = true; -b.Assigned = true; -b.Bidi_Control = true; -b.Bidi_C = true; -b.Bidi_Mirrored = true; -b.Bidi_M = true; -b.Case_Ignorable = true; -b.CI = true; -b.Cased = true; -b.Changes_When_Casefolded = true; -b.CWCF = true; -b.Changes_When_Casemapped = true; -b.CWCM = true; -b.Changes_When_Lowercased = true; -b.CWL = true; -b.Changes_When_NFKC_Casefolded = true; -b.CWKCF = true; -b.Changes_When_Titlecased = true; -b.CWT = true; -b.Changes_When_Uppercased = true; -b.CWU = true; -b.Dash = true; -b.Default_Ignorable_Code_Point = true; -b.DI = true; -b.Deprecated = true; -b.Dep = true; -b.Diacritic = true; -b.Dia = true; -b.Emoji = true; -b.Emoji_Component = true; -b.EComp = true; -b.Emoji_Modifier = true; -b.EMod = true; -b.Emoji_Modifier_Base = true; -b.EBase = true; -b.Emoji_Presentation = true; -b.EPres = true; -b.Extended_Pictographic = true; -b.ExtPict = true; -b.Extender = true; -b.Ext = true; -b.Grapheme_Base = true; -b.Gr_Base = true; -b.Grapheme_Extend = true; -b.Gr_Ext = true; -b.Hex_Digit = true; -b.Hex = true; -b.IDS_Binary_Operator = true; -b.IDSB = true; -b.IDS_Trinary_Operator = true; -b.IDST = true; -b.ID_Continue = true; -b.IDC = true; -b.ID_Start = true; -b.IDS = true; -b.Ideographic = true; -b.Ideo = true; -b.Join_Control = true; -b.Join_C = true; -b.Logical_Order_Exception = true; -b.LOE = true; -b.Lowercase = true; -b.Lower = true; -b.Math = true; -b.Noncharacter_Code_Point = true; -b.NChar = true; -b.Pattern_Syntax = true; -b.Pat_Syn = true; -b.Pattern_White_Space = true; -b.Pat_WS = true; -b.Quotation_Mark = true; -b.QMark = true; -b.Radical = true; -b.Regional_Indicator = true; -b.RI = true; -b.Sentence_Terminal = true; -b.STerm = true; -b.Soft_Dotted = true; -b.SD = true; -b.Terminal_Punctuation = true; -b.Term = true; -b.Unified_Ideograph = true; -b.UIdeo = true; -b.Uppercase = true; -b.Upper = true; -b.Variation_Selector = true; -b.VS = true; -b.White_Space = true; -b.space = true; -b.XID_Continue = true; -b.XIDC = true; -b.XID_Start = true; -b.XIDS = true; - -var g = values.general; -g.Cased_Letter = true; -g.LC = true; -g.Close_Punctuation = true; -g.Pe = true; -g.Connector_Punctuation = true; -g.Pc = true; -g.Control = true; -g.Cc = true; -g.cntrl = true; -g.Currency_Symbol = true; -g.Sc = true; -g.Dash_Punctuation = true; -g.Pd = true; -g.Decimal_Number = true; -g.Nd = true; -g.digit = true; -g.Enclosing_Mark = true; -g.Me = true; -g.Final_Punctuation = true; -g.Pf = true; -g.Format = true; -g.Cf = true; -g.Initial_Punctuation = true; -g.Pi = true; -g.Letter = true; -g.L = true; -g.Letter_Number = true; -g.Nl = true; -g.Line_Separator = true; -g.Zl = true; -g.Lowercase_Letter = true; -g.Ll = true; -g.Mark = true; -g.M = true; -g.Combining_Mark = true; -g.Math_Symbol = true; -g.Sm = true; -g.Modifier_Letter = true; -g.Lm = true; -g.Modifier_Symbol = true; -g.Sk = true; -g.Nonspacing_Mark = true; -g.Mn = true; -g.Number = true; -g.N = true; -g.Open_Punctuation = true; -g.Ps = true; -g.Other = true; -g.C = true; -g.Other_Letter = true; -g.Lo = true; -g.Other_Number = true; -g.No = true; -g.Other_Punctuation = true; -g.Po = true; -g.Other_Symbol = true; -g.So = true; -g.Paragraph_Separator = true; -g.Zp = true; -g.Private_Use = true; -g.Co = true; -g.Punctuation = true; -g.P = true; -g.punct = true; -g.Separator = true; -g.Z = true; -g.Space_Separator = true; -g.Zs = true; -g.Spacing_Mark = true; -g.Mc = true; -g.Surrogate = true; -g.Cs = true; -g.Symbol = true; -g.S = true; -g.Titlecase_Letter = true; -g.Lt = true; -g.Unassigned = true; -g.Cn = true; -g.Uppercase_Letter = true; -g.Lu = true; - -var s = values.script; -s.Adlam = true; -s.Adlm = true; -s.Ahom = true; -s.Anatolian_Hieroglyphs = true; -s.Hluw = true; -s.Arabic = true; -s.Arab = true; -s.Armenian = true; -s.Armn = true; -s.Avestan = true; -s.Avst = true; -s.Balinese = true; -s.Bali = true; -s.Bamum = true; -s.Bamu = true; -s.Bassa_Vah = true; -s.Bass = true; -s.Batak = true; -s.Batk = true; -s.Bengali = true; -s.Beng = true; -s.Bhaiksuki = true; -s.Bhks = true; -s.Bopomofo = true; -s.Bopo = true; -s.Brahmi = true; -s.Brah = true; -s.Braille = true; -s.Brai = true; -s.Buginese = true; -s.Bugi = true; -s.Buhid = true; -s.Buhd = true; -s.Canadian_Aboriginal = true; -s.Cans = true; -s.Carian = true; -s.Cari = true; -s.Caucasian_Albanian = true; -s.Aghb = true; -s.Chakma = true; -s.Cakm = true; -s.Cham = true; -s.Chorasmian = true; -s.Chrs = true; -s.Cherokee = true; -s.Cher = true; -s.Common = true; -s.Zyyy = true; -s.Coptic = true; -s.Copt = true; -s.Qaac = true; -s.Cuneiform = true; -s.Xsux = true; -s.Cypriot = true; -s.Cprt = true; -s.Cyrillic = true; -s.Cyrl = true; -s.Deseret = true; -s.Dsrt = true; -s.Devanagari = true; -s.Deva = true; -s.Dives_Akuru = true; -s.Diak = true; -s.Dogra = true; -s.Dogr = true; -s.Duployan = true; -s.Dupl = true; -s.Egyptian_Hieroglyphs = true; -s.Egyp = true; -s.Elbasan = true; -s.Elba = true; -s.Elymaic = true; -s.Elym = true; -s.Ethiopic = true; -s.Ethi = true; -s.Georgian = true; -s.Geor = true; -s.Glagolitic = true; -s.Glag = true; -s.Gothic = true; -s.Goth = true; -s.Grantha = true; -s.Gran = true; -s.Greek = true; -s.Grek = true; -s.Gujarati = true; -s.Gujr = true; -s.Gunjala_Gondi = true; -s.Gong = true; -s.Gurmukhi = true; -s.Guru = true; -s.Han = true; -s.Hani = true; -s.Hangul = true; -s.Hang = true; -s.Hanifi_Rohingya = true; -s.Rohg = true; -s.Hanunoo = true; -s.Hano = true; -s.Hatran = true; -s.Hatr = true; -s.Hebrew = true; -s.Hebr = true; -s.Hiragana = true; -s.Hira = true; -s.Imperial_Aramaic = true; -s.Armi = true; -s.Inherited = true; -s.Zinh = true; -s.Qaai = true; -s.Inscriptional_Pahlavi = true; -s.Phli = true; -s.Inscriptional_Parthian = true; -s.Prti = true; -s.Javanese = true; -s.Java = true; -s.Kaithi = true; -s.Kthi = true; -s.Kannada = true; -s.Knda = true; -s.Katakana = true; -s.Kana = true; -s.Kayah_Li = true; -s.Kali = true; -s.Kharoshthi = true; -s.Khar = true; -s.Khitan_Small_Script = true; -s.Kits = true; -s.Khmer = true; -s.Khmr = true; -s.Khojki = true; -s.Khoj = true; -s.Khudawadi = true; -s.Sind = true; -s.Lao = true; -s.Laoo = true; -s.Latin = true; -s.Latn = true; -s.Lepcha = true; -s.Lepc = true; -s.Limbu = true; -s.Limb = true; -s.Linear_A = true; -s.Lina = true; -s.Linear_B = true; -s.Linb = true; -s.Lisu = true; -s.Lycian = true; -s.Lyci = true; -s.Lydian = true; -s.Lydi = true; -s.Mahajani = true; -s.Mahj = true; -s.Makasar = true; -s.Maka = true; -s.Malayalam = true; -s.Mlym = true; -s.Mandaic = true; -s.Mand = true; -s.Manichaean = true; -s.Mani = true; -s.Marchen = true; -s.Marc = true; -s.Medefaidrin = true; -s.Medf = true; -s.Masaram_Gondi = true; -s.Gonm = true; -s.Meetei_Mayek = true; -s.Mtei = true; -s.Mende_Kikakui = true; -s.Mend = true; -s.Meroitic_Cursive = true; -s.Merc = true; -s.Meroitic_Hieroglyphs = true; -s.Mero = true; -s.Miao = true; -s.Plrd = true; -s.Modi = true; -s.Mongolian = true; -s.Mong = true; -s.Mro = true; -s.Mroo = true; -s.Multani = true; -s.Mult = true; -s.Myanmar = true; -s.Mymr = true; -s.Nabataean = true; -s.Nbat = true; -s.Nandinagari = true; -s.Nand = true; -s.New_Tai_Lue = true; -s.Talu = true; -s.Newa = true; -s.Nko = true; -s.Nkoo = true; -s.Nushu = true; -s.Nshu = true; -s.Nyiakeng_Puachue_Hmong = true; -s.Hmnp = true; -s.Ogham = true; -s.Ogam = true; -s.Ol_Chiki = true; -s.Olck = true; -s.Old_Hungarian = true; -s.Hung = true; -s.Old_Italic = true; -s.Ital = true; -s.Old_North_Arabian = true; -s.Narb = true; -s.Old_Permic = true; -s.Perm = true; -s.Old_Persian = true; -s.Xpeo = true; -s.Old_Sogdian = true; -s.Sogo = true; -s.Old_South_Arabian = true; -s.Sarb = true; -s.Old_Turkic = true; -s.Orkh = true; -s.Oriya = true; -s.Orya = true; -s.Osage = true; -s.Osge = true; -s.Osmanya = true; -s.Osma = true; -s.Pahawh_Hmong = true; -s.Hmng = true; -s.Palmyrene = true; -s.Palm = true; -s.Pau_Cin_Hau = true; -s.Pauc = true; -s.Phags_Pa = true; -s.Phag = true; -s.Phoenician = true; -s.Phnx = true; -s.Psalter_Pahlavi = true; -s.Phlp = true; -s.Rejang = true; -s.Rjng = true; -s.Runic = true; -s.Runr = true; -s.Samaritan = true; -s.Samr = true; -s.Saurashtra = true; -s.Saur = true; -s.Sharada = true; -s.Shrd = true; -s.Shavian = true; -s.Shaw = true; -s.Siddham = true; -s.Sidd = true; -s.SignWriting = true; -s.Sgnw = true; -s.Sinhala = true; -s.Sinh = true; -s.Sogdian = true; -s.Sogd = true; -s.Sora_Sompeng = true; -s.Sora = true; -s.Soyombo = true; -s.Soyo = true; -s.Sundanese = true; -s.Sund = true; -s.Syloti_Nagri = true; -s.Sylo = true; -s.Syriac = true; -s.Syrc = true; -s.Tagalog = true; -s.Tglg = true; -s.Tagbanwa = true; -s.Tagb = true; -s.Tai_Le = true; -s.Tale = true; -s.Tai_Tham = true; -s.Lana = true; -s.Tai_Viet = true; -s.Tavt = true; -s.Takri = true; -s.Takr = true; -s.Tamil = true; -s.Taml = true; -s.Tangut = true; -s.Tang = true; -s.Telugu = true; -s.Telu = true; -s.Thaana = true; -s.Thaa = true; -s.Thai = true; -s.Tibetan = true; -s.Tibt = true; -s.Tifinagh = true; -s.Tfng = true; -s.Tirhuta = true; -s.Tirh = true; -s.Ugaritic = true; -s.Ugar = true; -s.Vai = true; -s.Vaii = true; -s.Wancho = true; -s.Wcho = true; -s.Warang_Citi = true; -s.Wara = true; -s.Yezidi = true; -s.Yezi = true; -s.Yi = true; -s.Yiii = true; -s.Zanabazar_Square = true; -s.Zanb = true; - -},{}],"/../../../jshint/src/vars.js":[function(_dereq_,module,exports){ - -"use strict"; - -exports.reservedVars = { - NaN : false, - undefined : false -}; - -exports.ecmaIdentifiers = { - 3: { - Array : false, - Boolean : false, - Date : false, - decodeURI : false, - decodeURIComponent : false, - encodeURI : false, - encodeURIComponent : false, - Error : false, - "eval" : false, - EvalError : false, - Function : false, - hasOwnProperty : false, - Infinity : false, - isFinite : false, - isNaN : false, - Math : false, - Number : false, - Object : false, - parseInt : false, - parseFloat : false, - RangeError : false, - ReferenceError : false, - RegExp : false, - String : false, - SyntaxError : false, - TypeError : false, - URIError : false - }, - 5: { - JSON : false - }, - 6: { - ArrayBuffer : false, - DataView : false, - Float32Array : false, - Float64Array : false, - Int8Array : false, - Int16Array : false, - Int32Array : false, - Map : false, - Promise : false, - Proxy : false, - Reflect : false, - Set : false, - Symbol : false, - Uint8Array : false, - Uint16Array : false, - Uint32Array : false, - Uint8ClampedArray : false, - WeakMap : false, - WeakSet : false - }, - 8: { - Atomics : false, - SharedArrayBuffer : false - }, - 11: { - BigInt : false, - globalThis : false - } -}; - -exports.browser = { - Audio : false, - Blob : false, - addEventListener : false, // EventTarget - applicationCache : false, - atob : false, // WindowOrWorkerGlobalScope - blur : false, - btoa : false, // WindowOrWorkerGlobalScope - cancelAnimationFrame : false, - CanvasGradient : false, - CanvasPattern : false, - CanvasRenderingContext2D: false, - CSS : false, - CSSImportRule : false, - CSSGroupingRule : false, - CSSMarginRule : false, - CSSMediaRule : false, - CSSNamespaceRule : false, - CSSPageRule : false, - CSSRule : false, - CSSRuleList : false, - CSSStyleDeclaration : false, - CSSStyleRule : false, - CSSStyleSheet : false, - clearInterval : false, // WindowOrWorkerGlobalScope - clearTimeout : false, // WindowOrWorkerGlobalScope - close : false, - closed : false, - Comment : false, - CompositionEvent : false, - createImageBitmap : false, // WindowOrWorkerGlobalScope - CustomEvent : false, - DOMParser : false, - defaultStatus : false, - dispatchEvent : false, // EventTarget - Document : false, - document : false, - DocumentFragment : false, - Element : false, - ElementTimeControl : false, - Event : false, - event : false, - fetch : false, - File : false, - FileList : false, - FileReader : false, - FormData : false, - focus : false, - frames : false, - getComputedStyle : false, - Headers : false, - HTMLAnchorElement : false, - HTMLAreaElement : false, - HTMLAudioElement : false, - HTMLBaseElement : false, - HTMLBlockquoteElement: false, - HTMLBodyElement : false, - HTMLBRElement : false, - HTMLButtonElement : false, - HTMLCanvasElement : false, - HTMLCollection : false, - HTMLDataElement : false, - HTMLDataListElement : false, - HTMLDetailsElement : false, - HTMLDialogElement : false, - HTMLDirectoryElement : false, - HTMLDivElement : false, - HTMLDListElement : false, - HTMLElement : false, - HTMLEmbedElement : false, - HTMLFieldSetElement : false, - HTMLFontElement : false, - HTMLFormElement : false, - HTMLFrameElement : false, - HTMLFrameSetElement : false, - HTMLHeadElement : false, - HTMLHeadingElement : false, - HTMLHRElement : false, - HTMLHtmlElement : false, - HTMLIFrameElement : false, - HTMLImageElement : false, - HTMLInputElement : false, - HTMLIsIndexElement : false, - HTMLLabelElement : false, - HTMLLayerElement : false, - HTMLLegendElement : false, - HTMLLIElement : false, - HTMLLinkElement : false, - HTMLMapElement : false, - HTMLMarqueeElement : false, - HTMLMediaElement : false, - HTMLMenuElement : false, - HTMLMetaElement : false, - HTMLMeterElement : false, - HTMLModElement : false, - HTMLObjectElement : false, - HTMLOListElement : false, - HTMLOptGroupElement : false, - HTMLOptionElement : false, - HTMLParagraphElement : false, - HTMLParamElement : false, - HTMLPictureElement : false, - HTMLPreElement : false, - HTMLProgressElement : false, - HTMLQuoteElement : false, - HTMLScriptElement : false, - HTMLSelectElement : false, - HTMLSlotElement : false, - HTMLSourceElement : false, - HTMLStyleElement : false, - HTMLTableCaptionElement: false, - HTMLTableCellElement : false, - HTMLTableColElement : false, - HTMLTableElement : false, - HTMLTableRowElement : false, - HTMLTableSectionElement: false, - HTMLTemplateElement : false, - HTMLTextAreaElement : false, - HTMLTimeElement : false, - HTMLTitleElement : false, - HTMLTrackElement : false, - HTMLUListElement : false, - HTMLVideoElement : false, - history : false, - Image : false, - IntersectionObserver : false, - Intl : false, - length : false, - localStorage : false, - location : false, - matchMedia : false, - MediaList : false, - MediaRecorder : false, - MessageChannel : false, - MessageEvent : false, - MessagePort : false, - MouseEvent : false, - moveBy : false, - moveTo : false, - MutationObserver : false, - name : false, - Node : false, - NodeFilter : false, - NodeList : false, - Notification : false, - navigator : false, - onbeforeunload : true, - onblur : true, - onerror : true, - onfocus : true, - onload : true, - onresize : true, - onunload : true, - open : false, - openDatabase : false, - opener : false, - Option : false, - origin : false, // WindowOrWorkerGlobalScope - parent : false, - performance : false, - print : false, - queueMicrotask : false, // WindowOrWorkerGlobalScope - Range : false, - requestAnimationFrame : false, - removeEventListener : false, // EventTarget - Request : false, - resizeBy : false, - resizeTo : false, - Response : false, - screen : false, - scroll : false, - scrollBy : false, - scrollTo : false, - sessionStorage : false, - setInterval : false, // WindowOrWorkerGlobalScope - setTimeout : false, // WindowOrWorkerGlobalScope - SharedWorker : false, - status : false, - Storage : false, - StyleSheet : false, - SVGAElement : false, - SVGAltGlyphDefElement: false, - SVGAltGlyphElement : false, - SVGAltGlyphItemElement: false, - SVGAngle : false, - SVGAnimateColorElement: false, - SVGAnimateElement : false, - SVGAnimateMotionElement: false, - SVGAnimateTransformElement: false, - SVGAnimatedAngle : false, - SVGAnimatedBoolean : false, - SVGAnimatedEnumeration: false, - SVGAnimatedInteger : false, - SVGAnimatedLength : false, - SVGAnimatedLengthList: false, - SVGAnimatedNumber : false, - SVGAnimatedNumberList: false, - SVGAnimatedPathData : false, - SVGAnimatedPoints : false, - SVGAnimatedPreserveAspectRatio: false, - SVGAnimatedRect : false, - SVGAnimatedString : false, - SVGAnimatedTransformList: false, - SVGAnimationElement : false, - SVGCSSRule : false, - SVGCircleElement : false, - SVGClipPathElement : false, - SVGColor : false, - SVGColorProfileElement: false, - SVGColorProfileRule : false, - SVGComponentTransferFunctionElement: false, - SVGCursorElement : false, - SVGDefsElement : false, - SVGDescElement : false, - SVGDocument : false, - SVGElement : false, - SVGElementInstance : false, - SVGElementInstanceList: false, - SVGEllipseElement : false, - SVGExternalResourcesRequired: false, - SVGFEBlendElement : false, - SVGFEColorMatrixElement: false, - SVGFEComponentTransferElement: false, - SVGFECompositeElement: false, - SVGFEConvolveMatrixElement: false, - SVGFEDiffuseLightingElement: false, - SVGFEDisplacementMapElement: false, - SVGFEDistantLightElement: false, - SVGFEFloodElement : false, - SVGFEFuncAElement : false, - SVGFEFuncBElement : false, - SVGFEFuncGElement : false, - SVGFEFuncRElement : false, - SVGFEGaussianBlurElement: false, - SVGFEImageElement : false, - SVGFEMergeElement : false, - SVGFEMergeNodeElement: false, - SVGFEMorphologyElement: false, - SVGFEOffsetElement : false, - SVGFEPointLightElement: false, - SVGFESpecularLightingElement: false, - SVGFESpotLightElement: false, - SVGFETileElement : false, - SVGFETurbulenceElement: false, - SVGFilterElement : false, - SVGFilterPrimitiveStandardAttributes: false, - SVGFitToViewBox : false, - SVGFontElement : false, - SVGFontFaceElement : false, - SVGFontFaceFormatElement: false, - SVGFontFaceNameElement: false, - SVGFontFaceSrcElement: false, - SVGFontFaceUriElement: false, - SVGForeignObjectElement: false, - SVGGElement : false, - SVGGlyphElement : false, - SVGGlyphRefElement : false, - SVGGradientElement : false, - SVGHKernElement : false, - SVGICCColor : false, - SVGImageElement : false, - SVGLangSpace : false, - SVGLength : false, - SVGLengthList : false, - SVGLineElement : false, - SVGLinearGradientElement: false, - SVGLocatable : false, - SVGMPathElement : false, - SVGMarkerElement : false, - SVGMaskElement : false, - SVGMatrix : false, - SVGMetadataElement : false, - SVGMissingGlyphElement: false, - SVGNumber : false, - SVGNumberList : false, - SVGPaint : false, - SVGPathElement : false, - SVGPathSeg : false, - SVGPathSegArcAbs : false, - SVGPathSegArcRel : false, - SVGPathSegClosePath : false, - SVGPathSegCurvetoCubicAbs: false, - SVGPathSegCurvetoCubicRel: false, - SVGPathSegCurvetoCubicSmoothAbs: false, - SVGPathSegCurvetoCubicSmoothRel: false, - SVGPathSegCurvetoQuadraticAbs: false, - SVGPathSegCurvetoQuadraticRel: false, - SVGPathSegCurvetoQuadraticSmoothAbs: false, - SVGPathSegCurvetoQuadraticSmoothRel: false, - SVGPathSegLinetoAbs : false, - SVGPathSegLinetoHorizontalAbs: false, - SVGPathSegLinetoHorizontalRel: false, - SVGPathSegLinetoRel : false, - SVGPathSegLinetoVerticalAbs: false, - SVGPathSegLinetoVerticalRel: false, - SVGPathSegList : false, - SVGPathSegMovetoAbs : false, - SVGPathSegMovetoRel : false, - SVGPatternElement : false, - SVGPoint : false, - SVGPointList : false, - SVGPolygonElement : false, - SVGPolylineElement : false, - SVGPreserveAspectRatio: false, - SVGRadialGradientElement: false, - SVGRect : false, - SVGRectElement : false, - SVGRenderingIntent : false, - SVGSVGElement : false, - SVGScriptElement : false, - SVGSetElement : false, - SVGStopElement : false, - SVGStringList : false, - SVGStylable : false, - SVGStyleElement : false, - SVGSwitchElement : false, - SVGSymbolElement : false, - SVGTRefElement : false, - SVGTSpanElement : false, - SVGTests : false, - SVGTextContentElement: false, - SVGTextElement : false, - SVGTextPathElement : false, - SVGTextPositioningElement: false, - SVGTitleElement : false, - SVGTransform : false, - SVGTransformList : false, - SVGTransformable : false, - SVGURIReference : false, - SVGUnitTypes : false, - SVGUseElement : false, - SVGVKernElement : false, - SVGViewElement : false, - SVGViewSpec : false, - SVGZoomAndPan : false, - Text : false, - TextDecoder : false, - TextEncoder : false, - TimeEvent : false, - top : false, - URL : false, - URLSearchParams : false, - WebGLActiveInfo : false, - WebGLBuffer : false, - WebGLContextEvent : false, - WebGLFramebuffer : false, - WebGLProgram : false, - WebGLRenderbuffer : false, - WebGLRenderingContext: false, - WebGLShader : false, - WebGLShaderPrecisionFormat: false, - WebGLTexture : false, - WebGLUniformLocation : false, - WebSocket : false, - window : false, - Window : false, - Worker : false, - XDomainRequest : false, - XMLDocument : false, - XMLHttpRequest : false, - XMLSerializer : false, - XPathEvaluator : false, - XPathException : false, - XPathExpression : false, - XPathNamespace : false, - XPathNSResolver : false, - XPathResult : false -}; - -exports.devel = { - alert : false, - confirm: false, - console: false, - Debug : false, - opera : false, - prompt : false -}; - -exports.worker = { - addEventListener : true, // EventTarget - atob : true, // WindowOrWorkerGlobalScope - btoa : true, // WindowOrWorkerGlobalScope - clearInterval : true, // WindowOrWorkerGlobalScope - clearTimeout : true, // WindowOrWorkerGlobalScope - createImageBitmap : true, // WindowOrWorkerGlobalScope - dispatchEvent : true, // EventTarget - importScripts : true, - onmessage : true, - origin : true, // WindowOrWorkerGlobalScope - postMessage : true, - queueMicrotask : true, // WindowOrWorkerGlobalScope - removeEventListener : true, // EventTarget - self : true, - setInterval : true, // WindowOrWorkerGlobalScope - setTimeout : true, // WindowOrWorkerGlobalScope - FileReaderSync : true -}; -exports.nonstandard = { - escape : false, - unescape: false -}; - -exports.couch = { - "require" : false, - respond : false, - getRow : false, - emit : false, - send : false, - start : false, - sum : false, - log : false, - exports : false, - module : false, - provides : false -}; - -exports.node = { - __filename : false, - __dirname : false, - arguments : false, - GLOBAL : false, - global : false, - module : false, - require : false, - Intl : false, - - Buffer : true, - console : true, - exports : true, - process : true, - setTimeout : true, - clearTimeout : true, - setInterval : true, - clearInterval : true, - setImmediate : true, // v0.9.1+ - clearImmediate : true, // v0.9.1+ - URL : true, // v10.0.0+ - URLSearchParams: true // v10.0.0+ -}; - -exports.browserify = { - __filename : false, - __dirname : false, - global : false, - module : false, - require : false, - Buffer : true, - exports : true, - process : true -}; - -exports.phantom = { - phantom : true, - require : true, - WebPage : true, - console : true, // in examples, but undocumented - exports : true // v1.7+ -}; - -exports.qunit = { - asyncTest : false, - deepEqual : false, - equal : false, - expect : false, - module : false, - notDeepEqual : false, - notEqual : false, - notOk : false, - notPropEqual : false, - notStrictEqual : false, - ok : false, - propEqual : false, - QUnit : false, - raises : false, - start : false, - stop : false, - strictEqual : false, - test : false, - "throws" : false -}; - -exports.rhino = { - arguments : false, - defineClass : false, - deserialize : false, - gc : false, - help : false, - importClass : false, - importPackage: false, - "java" : false, - load : false, - loadClass : false, - Packages : false, - print : false, - quit : false, - readFile : false, - readUrl : false, - runCommand : false, - seal : false, - serialize : false, - spawn : false, - sync : false, - toint32 : false, - version : false -}; - -exports.shelljs = { - target : false, - echo : false, - exit : false, - cd : false, - pwd : false, - ls : false, - find : false, - cp : false, - rm : false, - mv : false, - mkdir : false, - test : false, - cat : false, - sed : false, - grep : false, - which : false, - dirs : false, - pushd : false, - popd : false, - env : false, - exec : false, - chmod : false, - config : false, - error : false, - tempdir : false -}; - -exports.typed = { - ArrayBuffer : false, - ArrayBufferView : false, - DataView : false, - Float32Array : false, - Float64Array : false, - Int16Array : false, - Int32Array : false, - Int8Array : false, - Uint16Array : false, - Uint32Array : false, - Uint8Array : false, - Uint8ClampedArray : false -}; - -exports.wsh = { - ActiveXObject : true, - Enumerator : true, - GetObject : true, - ScriptEngine : true, - ScriptEngineBuildVersion : true, - ScriptEngineMajorVersion : true, - ScriptEngineMinorVersion : true, - VBArray : true, - WSH : true, - WScript : true, - XDomainRequest : true -}; - -exports.dojo = { - dojo : false, - dijit : false, - dojox : false, - define : false, - "require": false -}; - -exports.jquery = { - "$" : false, - jQuery : false -}; - -exports.mootools = { - "$" : false, - "$$" : false, - Asset : false, - Browser : false, - Chain : false, - Class : false, - Color : false, - Cookie : false, - Core : false, - Document : false, - DomReady : false, - DOMEvent : false, - DOMReady : false, - Drag : false, - Element : false, - Elements : false, - Event : false, - Events : false, - Fx : false, - Group : false, - Hash : false, - HtmlTable : false, - IFrame : false, - IframeShim : false, - InputValidator: false, - instanceOf : false, - Keyboard : false, - Locale : false, - Mask : false, - MooTools : false, - Native : false, - Options : false, - OverText : false, - Request : false, - Scroller : false, - Slick : false, - Slider : false, - Sortables : false, - Spinner : false, - Swiff : false, - Tips : false, - Type : false, - typeOf : false, - URI : false, - Window : false -}; - -exports.prototypejs = { - "$" : false, - "$$" : false, - "$A" : false, - "$F" : false, - "$H" : false, - "$R" : false, - "$break" : false, - "$continue" : false, - "$w" : false, - Abstract : false, - Ajax : false, - Class : false, - Enumerable : false, - Element : false, - Event : false, - Field : false, - Form : false, - Hash : false, - Insertion : false, - ObjectRange : false, - PeriodicalExecuter: false, - Position : false, - Prototype : false, - Selector : false, - Template : false, - Toggle : false, - Try : false, - Autocompleter : false, - Builder : false, - Control : false, - Draggable : false, - Draggables : false, - Droppables : false, - Effect : false, - Sortable : false, - SortableObserver : false, - Sound : false, - Scriptaculous : false -}; - -exports.yui = { - YUI : false, - Y : false, - YUI_config: false -}; - -exports.mocha = { - mocha : false, - describe : false, - xdescribe : false, - context : false, - xcontext : false, - it : false, - xit : false, - specify : false, - xspecify : false, - before : false, - after : false, - beforeEach : false, - afterEach : false, - suite : false, - test : false, - setup : false, - teardown : false, - suiteSetup : false, - suiteTeardown : false -}; - -exports.jasmine = { - jasmine : false, - describe : false, - xdescribe : false, - it : false, - xit : false, - beforeEach : false, - afterEach : false, - setFixtures : false, - loadFixtures: false, - spyOn : false, - expect : false, - runs : false, - waitsFor : false, - waits : false, - beforeAll : false, - afterAll : false, - fail : false, - fdescribe : false, - fit : false, - pending : false, - spyOnProperty: false -}; - -},{}],"/node_modules/assert/assert.js":[function(_dereq_,module,exports){ -var util = _dereq_('util/'); - -var pSlice = Array.prototype.slice; -var hasOwn = Object.prototype.hasOwnProperty; - -var assert = module.exports = ok; - -assert.AssertionError = function AssertionError(options) { - this.name = 'AssertionError'; - this.actual = options.actual; - this.expected = options.expected; - this.operator = options.operator; - if (options.message) { - this.message = options.message; - this.generatedMessage = false; - } else { - this.message = getMessage(this); - this.generatedMessage = true; - } - var stackStartFunction = options.stackStartFunction || fail; - - if (Error.captureStackTrace) { - Error.captureStackTrace(this, stackStartFunction); - } - else { - var err = new Error(); - if (err.stack) { - var out = err.stack; - var fn_name = stackStartFunction.name; - var idx = out.indexOf('\n' + fn_name); - if (idx >= 0) { - var next_line = out.indexOf('\n', idx + 1); - out = out.substring(next_line + 1); - } - - this.stack = out; - } - } -}; -util.inherits(assert.AssertionError, Error); - -function replacer(key, value) { - if (util.isUndefined(value)) { - return '' + value; - } - if (util.isNumber(value) && !isFinite(value)) { - return value.toString(); - } - if (util.isFunction(value) || util.isRegExp(value)) { - return value.toString(); - } - return value; -} - -function truncate(s, n) { - if (util.isString(s)) { - return s.length < n ? s : s.slice(0, n); - } else { - return s; - } -} - -function getMessage(self) { - return truncate(JSON.stringify(self.actual, replacer), 128) + ' ' + - self.operator + ' ' + - truncate(JSON.stringify(self.expected, replacer), 128); -} - -function fail(actual, expected, message, operator, stackStartFunction) { - throw new assert.AssertionError({ - message: message, - actual: actual, - expected: expected, - operator: operator, - stackStartFunction: stackStartFunction - }); -} -assert.fail = fail; - -function ok(value, message) { - if (!value) fail(value, true, message, '==', assert.ok); -} -assert.ok = ok; - -assert.equal = function equal(actual, expected, message) { - if (actual != expected) fail(actual, expected, message, '==', assert.equal); -}; - -assert.notEqual = function notEqual(actual, expected, message) { - if (actual == expected) { - fail(actual, expected, message, '!=', assert.notEqual); - } -}; - -assert.deepEqual = function deepEqual(actual, expected, message) { - if (!_deepEqual(actual, expected)) { - fail(actual, expected, message, 'deepEqual', assert.deepEqual); - } -}; - -function _deepEqual(actual, expected) { - if (actual === expected) { - return true; - - } else if (util.isBuffer(actual) && util.isBuffer(expected)) { - if (actual.length != expected.length) return false; - - for (var i = 0; i < actual.length; i++) { - if (actual[i] !== expected[i]) return false; - } - - return true; - } else if (util.isDate(actual) && util.isDate(expected)) { - return actual.getTime() === expected.getTime(); - } else if (util.isRegExp(actual) && util.isRegExp(expected)) { - return actual.source === expected.source && - actual.global === expected.global && - actual.multiline === expected.multiline && - actual.lastIndex === expected.lastIndex && - actual.ignoreCase === expected.ignoreCase; - } else if (!util.isObject(actual) && !util.isObject(expected)) { - return actual == expected; - } else { - return objEquiv(actual, expected); - } -} - -function isArguments(object) { - return Object.prototype.toString.call(object) == '[object Arguments]'; -} - -function objEquiv(a, b) { - if (util.isNullOrUndefined(a) || util.isNullOrUndefined(b)) - return false; - if (a.prototype !== b.prototype) return false; - if (util.isPrimitive(a) || util.isPrimitive(b)) { - return a === b; - } - var aIsArgs = isArguments(a), - bIsArgs = isArguments(b); - if ((aIsArgs && !bIsArgs) || (!aIsArgs && bIsArgs)) - return false; - if (aIsArgs) { - a = pSlice.call(a); - b = pSlice.call(b); - return _deepEqual(a, b); - } - var ka = objectKeys(a), - kb = objectKeys(b), - key, i; - if (ka.length != kb.length) - return false; - ka.sort(); - kb.sort(); - for (i = ka.length - 1; i >= 0; i--) { - if (ka[i] != kb[i]) - return false; - } - for (i = ka.length - 1; i >= 0; i--) { - key = ka[i]; - if (!_deepEqual(a[key], b[key])) return false; - } - return true; -} - -assert.notDeepEqual = function notDeepEqual(actual, expected, message) { - if (_deepEqual(actual, expected)) { - fail(actual, expected, message, 'notDeepEqual', assert.notDeepEqual); - } -}; - -assert.strictEqual = function strictEqual(actual, expected, message) { - if (actual !== expected) { - fail(actual, expected, message, '===', assert.strictEqual); - } -}; - -assert.notStrictEqual = function notStrictEqual(actual, expected, message) { - if (actual === expected) { - fail(actual, expected, message, '!==', assert.notStrictEqual); - } -}; - -function expectedException(actual, expected) { - if (!actual || !expected) { - return false; - } - - if (Object.prototype.toString.call(expected) == '[object RegExp]') { - return expected.test(actual); - } else if (actual instanceof expected) { - return true; - } else if (expected.call({}, actual) === true) { - return true; - } - - return false; -} - -function _throws(shouldThrow, block, expected, message) { - var actual; - - if (util.isString(expected)) { - message = expected; - expected = null; - } - - try { - block(); - } catch (e) { - actual = e; - } - - message = (expected && expected.name ? ' (' + expected.name + ').' : '.') + - (message ? ' ' + message : '.'); - - if (shouldThrow && !actual) { - fail(actual, expected, 'Missing expected exception' + message); - } - - if (!shouldThrow && expectedException(actual, expected)) { - fail(actual, expected, 'Got unwanted exception' + message); - } - - if ((shouldThrow && actual && expected && - !expectedException(actual, expected)) || (!shouldThrow && actual)) { - throw actual; - } -} - -assert.throws = function(block, /*optional*/error, /*optional*/message) { - _throws.apply(this, [true].concat(pSlice.call(arguments))); -}; -assert.doesNotThrow = function(block, /*optional*/message) { - _throws.apply(this, [false].concat(pSlice.call(arguments))); -}; - -assert.ifError = function(err) { if (err) {throw err;}}; - -var objectKeys = Object.keys || function (obj) { - var keys = []; - for (var key in obj) { - if (hasOwn.call(obj, key)) keys.push(key); - } - return keys; -}; - -},{"util/":"/node_modules/assert/node_modules/util/util.js"}],"/node_modules/assert/node_modules/inherits/inherits_browser.js":[function(_dereq_,module,exports){ -if (typeof Object.create === 'function') { - module.exports = function inherits(ctor, superCtor) { - ctor.super_ = superCtor - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); - }; -} else { - module.exports = function inherits(ctor, superCtor) { - ctor.super_ = superCtor - var TempCtor = function () {} - TempCtor.prototype = superCtor.prototype - ctor.prototype = new TempCtor() - ctor.prototype.constructor = ctor - } -} - -},{}],"/node_modules/assert/node_modules/util/support/isBufferBrowser.js":[function(_dereq_,module,exports){ -module.exports = function isBuffer(arg) { - return arg && typeof arg === 'object' - && typeof arg.copy === 'function' - && typeof arg.fill === 'function' - && typeof arg.readUInt8 === 'function'; -} -},{}],"/node_modules/assert/node_modules/util/util.js":[function(_dereq_,module,exports){ -(function (process,global){ - -var formatRegExp = /%[sdj%]/g; -exports.format = function(f) { - if (!isString(f)) { - var objects = []; - for (var i = 0; i < arguments.length; i++) { - objects.push(inspect(arguments[i])); - } - return objects.join(' '); - } - - var i = 1; - var args = arguments; - var len = args.length; - var str = String(f).replace(formatRegExp, function(x) { - if (x === '%%') return '%'; - if (i >= len) return x; - switch (x) { - case '%s': return String(args[i++]); - case '%d': return Number(args[i++]); - case '%j': - try { - return JSON.stringify(args[i++]); - } catch (_) { - return '[Circular]'; - } - default: - return x; - } - }); - for (var x = args[i]; i < len; x = args[++i]) { - if (isNull(x) || !isObject(x)) { - str += ' ' + x; - } else { - str += ' ' + inspect(x); - } - } - return str; -}; -exports.deprecate = function(fn, msg) { - if (isUndefined(global.process)) { - return function() { - return exports.deprecate(fn, msg).apply(this, arguments); - }; - } - - if (process.noDeprecation === true) { - return fn; - } - - var warned = false; - function deprecated() { - if (!warned) { - if (process.throwDeprecation) { - throw new Error(msg); - } else if (process.traceDeprecation) { - console.trace(msg); - } else { - console.error(msg); - } - warned = true; - } - return fn.apply(this, arguments); - } - - return deprecated; -}; - - -var debugs = {}; -var debugEnviron; -exports.debuglog = function(set) { - if (isUndefined(debugEnviron)) - debugEnviron = process.env.NODE_DEBUG || ''; - set = set.toUpperCase(); - if (!debugs[set]) { - if (new RegExp('\\b' + set + '\\b', 'i').test(debugEnviron)) { - var pid = process.pid; - debugs[set] = function() { - var msg = exports.format.apply(exports, arguments); - console.error('%s %d: %s', set, pid, msg); - }; - } else { - debugs[set] = function() {}; - } - } - return debugs[set]; -}; -function inspect(obj, opts) { - var ctx = { - seen: [], - stylize: stylizeNoColor - }; - if (arguments.length >= 3) ctx.depth = arguments[2]; - if (arguments.length >= 4) ctx.colors = arguments[3]; - if (isBoolean(opts)) { - ctx.showHidden = opts; - } else if (opts) { - exports._extend(ctx, opts); - } - if (isUndefined(ctx.showHidden)) ctx.showHidden = false; - if (isUndefined(ctx.depth)) ctx.depth = 2; - if (isUndefined(ctx.colors)) ctx.colors = false; - if (isUndefined(ctx.customInspect)) ctx.customInspect = true; - if (ctx.colors) ctx.stylize = stylizeWithColor; - return formatValue(ctx, obj, ctx.depth); -} -exports.inspect = inspect; -inspect.colors = { - 'bold' : [1, 22], - 'italic' : [3, 23], - 'underline' : [4, 24], - 'inverse' : [7, 27], - 'white' : [37, 39], - 'grey' : [90, 39], - 'black' : [30, 39], - 'blue' : [34, 39], - 'cyan' : [36, 39], - 'green' : [32, 39], - 'magenta' : [35, 39], - 'red' : [31, 39], - 'yellow' : [33, 39] -}; -inspect.styles = { - 'special': 'cyan', - 'number': 'yellow', - 'boolean': 'yellow', - 'undefined': 'grey', - 'null': 'bold', - 'string': 'green', - 'date': 'magenta', - 'regexp': 'red' -}; - - -function stylizeWithColor(str, styleType) { - var style = inspect.styles[styleType]; - - if (style) { - return '\u001b[' + inspect.colors[style][0] + 'm' + str + - '\u001b[' + inspect.colors[style][1] + 'm'; - } else { - return str; - } -} - - -function stylizeNoColor(str, styleType) { - return str; -} - - -function arrayToHash(array) { - var hash = {}; - - array.forEach(function(val, idx) { - hash[val] = true; - }); - - return hash; -} - - -function formatValue(ctx, value, recurseTimes) { - if (ctx.customInspect && - value && - isFunction(value.inspect) && - value.inspect !== exports.inspect && - !(value.constructor && value.constructor.prototype === value)) { - var ret = value.inspect(recurseTimes, ctx); - if (!isString(ret)) { - ret = formatValue(ctx, ret, recurseTimes); - } - return ret; - } - var primitive = formatPrimitive(ctx, value); - if (primitive) { - return primitive; - } - var keys = Object.keys(value); - var visibleKeys = arrayToHash(keys); - - if (ctx.showHidden) { - keys = Object.getOwnPropertyNames(value); - } - if (isError(value) - && (keys.indexOf('message') >= 0 || keys.indexOf('description') >= 0)) { - return formatError(value); - } - if (keys.length === 0) { - if (isFunction(value)) { - var name = value.name ? ': ' + value.name : ''; - return ctx.stylize('[Function' + name + ']', 'special'); - } - if (isRegExp(value)) { - return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); - } - if (isDate(value)) { - return ctx.stylize(Date.prototype.toString.call(value), 'date'); - } - if (isError(value)) { - return formatError(value); - } - } - - var base = '', array = false, braces = ['{', '}']; - if (isArray(value)) { - array = true; - braces = ['[', ']']; - } - if (isFunction(value)) { - var n = value.name ? ': ' + value.name : ''; - base = ' [Function' + n + ']'; - } - if (isRegExp(value)) { - base = ' ' + RegExp.prototype.toString.call(value); - } - if (isDate(value)) { - base = ' ' + Date.prototype.toUTCString.call(value); - } - if (isError(value)) { - base = ' ' + formatError(value); - } - - if (keys.length === 0 && (!array || value.length == 0)) { - return braces[0] + base + braces[1]; - } - - if (recurseTimes < 0) { - if (isRegExp(value)) { - return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); - } else { - return ctx.stylize('[Object]', 'special'); - } - } - - ctx.seen.push(value); - - var output; - if (array) { - output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); - } else { - output = keys.map(function(key) { - return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); - }); - } - - ctx.seen.pop(); - - return reduceToSingleString(output, base, braces); -} - - -function formatPrimitive(ctx, value) { - if (isUndefined(value)) - return ctx.stylize('undefined', 'undefined'); - if (isString(value)) { - var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '') - .replace(/'/g, "\\'") - .replace(/\\"/g, '"') + '\''; - return ctx.stylize(simple, 'string'); - } - if (isNumber(value)) - return ctx.stylize('' + value, 'number'); - if (isBoolean(value)) - return ctx.stylize('' + value, 'boolean'); - if (isNull(value)) - return ctx.stylize('null', 'null'); -} - - -function formatError(value) { - return '[' + Error.prototype.toString.call(value) + ']'; -} - - -function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { - var output = []; - for (var i = 0, l = value.length; i < l; ++i) { - if (hasOwnProperty(value, String(i))) { - output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, - String(i), true)); - } else { - output.push(''); - } - } - keys.forEach(function(key) { - if (!key.match(/^\d+$/)) { - output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, - key, true)); - } - }); - return output; -} - - -function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { - var name, str, desc; - desc = Object.getOwnPropertyDescriptor(value, key) || { value: value[key] }; - if (desc.get) { - if (desc.set) { - str = ctx.stylize('[Getter/Setter]', 'special'); - } else { - str = ctx.stylize('[Getter]', 'special'); - } - } else { - if (desc.set) { - str = ctx.stylize('[Setter]', 'special'); - } - } - if (!hasOwnProperty(visibleKeys, key)) { - name = '[' + key + ']'; - } - if (!str) { - if (ctx.seen.indexOf(desc.value) < 0) { - if (isNull(recurseTimes)) { - str = formatValue(ctx, desc.value, null); - } else { - str = formatValue(ctx, desc.value, recurseTimes - 1); - } - if (str.indexOf('\n') > -1) { - if (array) { - str = str.split('\n').map(function(line) { - return ' ' + line; - }).join('\n').substr(2); - } else { - str = '\n' + str.split('\n').map(function(line) { - return ' ' + line; - }).join('\n'); - } - } - } else { - str = ctx.stylize('[Circular]', 'special'); - } - } - if (isUndefined(name)) { - if (array && key.match(/^\d+$/)) { - return str; - } - name = JSON.stringify('' + key); - if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { - name = name.substr(1, name.length - 2); - name = ctx.stylize(name, 'name'); - } else { - name = name.replace(/'/g, "\\'") - .replace(/\\"/g, '"') - .replace(/(^"|"$)/g, "'"); - name = ctx.stylize(name, 'string'); - } - } - - return name + ': ' + str; -} - - -function reduceToSingleString(output, base, braces) { - var numLinesEst = 0; - var length = output.reduce(function(prev, cur) { - numLinesEst++; - if (cur.indexOf('\n') >= 0) numLinesEst++; - return prev + cur.replace(/\u001b\[\d\d?m/g, '').length + 1; - }, 0); - - if (length > 60) { - return braces[0] + - (base === '' ? '' : base + '\n ') + - ' ' + - output.join(',\n ') + - ' ' + - braces[1]; - } - - return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; -} -function isArray(ar) { - return Array.isArray(ar); -} -exports.isArray = isArray; - -function isBoolean(arg) { - return typeof arg === 'boolean'; -} -exports.isBoolean = isBoolean; - -function isNull(arg) { - return arg === null; -} -exports.isNull = isNull; - -function isNullOrUndefined(arg) { - return arg == null; -} -exports.isNullOrUndefined = isNullOrUndefined; - -function isNumber(arg) { - return typeof arg === 'number'; -} -exports.isNumber = isNumber; - -function isString(arg) { - return typeof arg === 'string'; -} -exports.isString = isString; - -function isSymbol(arg) { - return typeof arg === 'symbol'; -} -exports.isSymbol = isSymbol; - -function isUndefined(arg) { - return arg === void 0; -} -exports.isUndefined = isUndefined; - -function isRegExp(re) { - return isObject(re) && objectToString(re) === '[object RegExp]'; -} -exports.isRegExp = isRegExp; - -function isObject(arg) { - return typeof arg === 'object' && arg !== null; -} -exports.isObject = isObject; - -function isDate(d) { - return isObject(d) && objectToString(d) === '[object Date]'; -} -exports.isDate = isDate; - -function isError(e) { - return isObject(e) && - (objectToString(e) === '[object Error]' || e instanceof Error); -} -exports.isError = isError; - -function isFunction(arg) { - return typeof arg === 'function'; -} -exports.isFunction = isFunction; - -function isPrimitive(arg) { - return arg === null || - typeof arg === 'boolean' || - typeof arg === 'number' || - typeof arg === 'string' || - typeof arg === 'symbol' || // ES6 symbol - typeof arg === 'undefined'; -} -exports.isPrimitive = isPrimitive; - -exports.isBuffer = _dereq_('./support/isBuffer'); - -function objectToString(o) { - return Object.prototype.toString.call(o); -} - - -function pad(n) { - return n < 10 ? '0' + n.toString(10) : n.toString(10); -} - - -var months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', - 'Oct', 'Nov', 'Dec']; -function timestamp() { - var d = new Date(); - var time = [pad(d.getHours()), - pad(d.getMinutes()), - pad(d.getSeconds())].join(':'); - return [d.getDate(), months[d.getMonth()], time].join(' '); -} -exports.log = function() { - console.log('%s - %s', timestamp(), exports.format.apply(exports, arguments)); -}; -exports.inherits = _dereq_('inherits'); - -exports._extend = function(origin, add) { - if (!add || !isObject(add)) return origin; - - var keys = Object.keys(add); - var i = keys.length; - while (i--) { - origin[keys[i]] = add[keys[i]]; - } - return origin; -}; - -function hasOwnProperty(obj, prop) { - return Object.prototype.hasOwnProperty.call(obj, prop); -} - -}).call(this,_dereq_('_process'),typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : typeof window !== "undefined" ? window : {}) -},{"./support/isBuffer":"/node_modules/assert/node_modules/util/support/isBufferBrowser.js","_process":"/node_modules/process/browser.js","inherits":"/node_modules/assert/node_modules/inherits/inherits_browser.js"}],"/node_modules/events/events.js":[function(_dereq_,module,exports){ - -function EventEmitter() { - this._events = this._events || {}; - this._maxListeners = this._maxListeners || undefined; -} -module.exports = EventEmitter; -EventEmitter.EventEmitter = EventEmitter; - -EventEmitter.prototype._events = undefined; -EventEmitter.prototype._maxListeners = undefined; -EventEmitter.defaultMaxListeners = 10; -EventEmitter.prototype.setMaxListeners = function(n) { - if (!isNumber(n) || n < 0 || isNaN(n)) - throw TypeError('n must be a positive number'); - this._maxListeners = n; - return this; -}; - -EventEmitter.prototype.emit = function(type) { - var er, handler, len, args, i, listeners; - - if (!this._events) - this._events = {}; - if (type === 'error') { - if (!this._events.error || - (isObject(this._events.error) && !this._events.error.length)) { - er = arguments[1]; - if (er instanceof Error) { - throw er; // Unhandled 'error' event - } - throw TypeError('Uncaught, unspecified "error" event.'); - } - } - - handler = this._events[type]; - - if (isUndefined(handler)) - return false; - - if (isFunction(handler)) { - switch (arguments.length) { - case 1: - handler.call(this); - break; - case 2: - handler.call(this, arguments[1]); - break; - case 3: - handler.call(this, arguments[1], arguments[2]); - break; - default: - len = arguments.length; - args = new Array(len - 1); - for (i = 1; i < len; i++) - args[i - 1] = arguments[i]; - handler.apply(this, args); - } - } else if (isObject(handler)) { - len = arguments.length; - args = new Array(len - 1); - for (i = 1; i < len; i++) - args[i - 1] = arguments[i]; - - listeners = handler.slice(); - len = listeners.length; - for (i = 0; i < len; i++) - listeners[i].apply(this, args); - } - - return true; -}; - -EventEmitter.prototype.addListener = function(type, listener) { - var m; - - if (!isFunction(listener)) - throw TypeError('listener must be a function'); - - if (!this._events) - this._events = {}; - if (this._events.newListener) - this.emit('newListener', type, - isFunction(listener.listener) ? - listener.listener : listener); - - if (!this._events[type]) - this._events[type] = listener; - else if (isObject(this._events[type])) - this._events[type].push(listener); - else - this._events[type] = [this._events[type], listener]; - if (isObject(this._events[type]) && !this._events[type].warned) { - var m; - if (!isUndefined(this._maxListeners)) { - m = this._maxListeners; - } else { - m = EventEmitter.defaultMaxListeners; - } - - if (m && m > 0 && this._events[type].length > m) { - this._events[type].warned = true; - console.error('(node) warning: possible EventEmitter memory ' + - 'leak detected. %d listeners added. ' + - 'Use emitter.setMaxListeners() to increase limit.', - this._events[type].length); - if (typeof console.trace === 'function') { - console.trace(); - } - } - } - - return this; -}; - -EventEmitter.prototype.on = EventEmitter.prototype.addListener; - -EventEmitter.prototype.once = function(type, listener) { - if (!isFunction(listener)) - throw TypeError('listener must be a function'); - - var fired = false; - - function g() { - this.removeListener(type, g); - - if (!fired) { - fired = true; - listener.apply(this, arguments); - } - } - - g.listener = listener; - this.on(type, g); - - return this; -}; -EventEmitter.prototype.removeListener = function(type, listener) { - var list, position, length, i; - - if (!isFunction(listener)) - throw TypeError('listener must be a function'); - - if (!this._events || !this._events[type]) - return this; - - list = this._events[type]; - length = list.length; - position = -1; - - if (list === listener || - (isFunction(list.listener) && list.listener === listener)) { - delete this._events[type]; - if (this._events.removeListener) - this.emit('removeListener', type, listener); - - } else if (isObject(list)) { - for (i = length; i-- > 0;) { - if (list[i] === listener || - (list[i].listener && list[i].listener === listener)) { - position = i; - break; - } - } - - if (position < 0) - return this; - - if (list.length === 1) { - list.length = 0; - delete this._events[type]; - } else { - list.splice(position, 1); - } - - if (this._events.removeListener) - this.emit('removeListener', type, listener); - } - - return this; -}; - -EventEmitter.prototype.removeAllListeners = function(type) { - var key, listeners; - - if (!this._events) - return this; - if (!this._events.removeListener) { - if (arguments.length === 0) - this._events = {}; - else if (this._events[type]) - delete this._events[type]; - return this; - } - if (arguments.length === 0) { - for (key in this._events) { - if (key === 'removeListener') continue; - this.removeAllListeners(key); - } - this.removeAllListeners('removeListener'); - this._events = {}; - return this; - } - - listeners = this._events[type]; - - if (isFunction(listeners)) { - this.removeListener(type, listeners); - } else { - while (listeners.length) - this.removeListener(type, listeners[listeners.length - 1]); - } - delete this._events[type]; - - return this; -}; - -EventEmitter.prototype.listeners = function(type) { - var ret; - if (!this._events || !this._events[type]) - ret = []; - else if (isFunction(this._events[type])) - ret = [this._events[type]]; - else - ret = this._events[type].slice(); - return ret; -}; - -EventEmitter.listenerCount = function(emitter, type) { - var ret; - if (!emitter._events || !emitter._events[type]) - ret = 0; - else if (isFunction(emitter._events[type])) - ret = 1; - else - ret = emitter._events[type].length; - return ret; -}; - -function isFunction(arg) { - return typeof arg === 'function'; -} - -function isNumber(arg) { - return typeof arg === 'number'; -} - -function isObject(arg) { - return typeof arg === 'object' && arg !== null; -} - -function isUndefined(arg) { - return arg === void 0; -} - -},{}],"/node_modules/process/browser.js":[function(_dereq_,module,exports){ -var process = module.exports = {}; - -var cachedSetTimeout; -var cachedClearTimeout; - -function defaultSetTimout() { - throw new Error('setTimeout has not been defined'); -} -function defaultClearTimeout () { - throw new Error('clearTimeout has not been defined'); -} -(function () { - try { - if (typeof setTimeout === 'function') { - cachedSetTimeout = setTimeout; - } else { - cachedSetTimeout = defaultSetTimout; - } - } catch (e) { - cachedSetTimeout = defaultSetTimout; - } - try { - if (typeof clearTimeout === 'function') { - cachedClearTimeout = clearTimeout; - } else { - cachedClearTimeout = defaultClearTimeout; - } - } catch (e) { - cachedClearTimeout = defaultClearTimeout; - } -} ()) -function runTimeout(fun) { - if (cachedSetTimeout === setTimeout) { - return setTimeout(fun, 0); - } - if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) { - cachedSetTimeout = setTimeout; - return setTimeout(fun, 0); - } - try { - return cachedSetTimeout(fun, 0); - } catch(e){ - try { - return cachedSetTimeout.call(null, fun, 0); - } catch(e){ - return cachedSetTimeout.call(this, fun, 0); - } - } - - -} -function runClearTimeout(marker) { - if (cachedClearTimeout === clearTimeout) { - return clearTimeout(marker); - } - if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) { - cachedClearTimeout = clearTimeout; - return clearTimeout(marker); - } - try { - return cachedClearTimeout(marker); - } catch (e){ - try { - return cachedClearTimeout.call(null, marker); - } catch (e){ - return cachedClearTimeout.call(this, marker); - } - } - - - -} -var queue = []; -var draining = false; -var currentQueue; -var queueIndex = -1; - -function cleanUpNextTick() { - if (!draining || !currentQueue) { - return; - } - draining = false; - if (currentQueue.length) { - queue = currentQueue.concat(queue); - } else { - queueIndex = -1; - } - if (queue.length) { - drainQueue(); - } -} - -function drainQueue() { - if (draining) { - return; - } - var timeout = runTimeout(cleanUpNextTick); - draining = true; - - var len = queue.length; - while(len) { - currentQueue = queue; - queue = []; - while (++queueIndex < len) { - if (currentQueue) { - currentQueue[queueIndex].run(); - } - } - queueIndex = -1; - len = queue.length; - } - currentQueue = null; - draining = false; - runClearTimeout(timeout); -} - -process.nextTick = function (fun) { - var args = new Array(arguments.length - 1); - if (arguments.length > 1) { - for (var i = 1; i < arguments.length; i++) { - args[i - 1] = arguments[i]; - } - } - queue.push(new Item(fun, args)); - if (queue.length === 1 && !draining) { - runTimeout(drainQueue); - } -}; -function Item(fun, array) { - this.fun = fun; - this.array = array; -} -Item.prototype.run = function () { - this.fun.apply(null, this.array); -}; -process.title = 'browser'; -process.browser = true; -process.env = {}; -process.argv = []; -process.version = ''; // empty string to avoid regexp issues -process.versions = {}; - -function noop() {} - -process.on = noop; -process.addListener = noop; -process.once = noop; -process.off = noop; -process.removeListener = noop; -process.removeAllListeners = noop; -process.emit = noop; -process.prependListener = noop; -process.prependOnceListener = noop; - -process.listeners = function (name) { return [] } - -process.binding = function (name) { - throw new Error('process.binding is not supported'); -}; - -process.cwd = function () { return '/' }; -process.chdir = function (dir) { - throw new Error('process.chdir is not supported'); -}; -process.umask = function() { return 0; }; - -},{}],"/node_modules/util/node_modules/inherits/inherits_browser.js":[function(_dereq_,module,exports){ -arguments[4]["/node_modules/assert/node_modules/inherits/inherits_browser.js"][0].apply(exports,arguments) -},{}],"/node_modules/util/support/isBufferBrowser.js":[function(_dereq_,module,exports){ -arguments[4]["/node_modules/assert/node_modules/util/support/isBufferBrowser.js"][0].apply(exports,arguments) -},{}],"/node_modules/util/util.js":[function(_dereq_,module,exports){ -arguments[4]["/node_modules/assert/node_modules/util/util.js"][0].apply(exports,arguments) -},{"./support/isBuffer":"/node_modules/util/support/isBufferBrowser.js","_process":"/node_modules/process/browser.js","inherits":"/node_modules/util/node_modules/inherits/inherits_browser.js"}]},{},["/../../../jshint/src/jshint.js"]); - -}); - -ace.define("ace/mode/javascript_worker",[], function(require, exports, module) { -"use strict"; - -var oop = require("../lib/oop"); -var Mirror = require("../worker/mirror").Mirror; -var lint = require("./javascript/jshint").JSHINT; - -function startRegex(arr) { - return RegExp("^(" + arr.join("|") + ")"); -} - -var disabledWarningsRe = startRegex([ - "Bad for in variable '(.+)'.", - 'Missing "use strict"' -]); -var errorsRe = startRegex([ - "Unexpected", - "Expected ", - "Confusing (plus|minus)", - "\\{a\\} unterminated regular expression", - "Unclosed ", - "Unmatched ", - "Unbegun comment", - "Bad invocation", - "Missing space after", - "Missing operator at" -]); -var infoRe = startRegex([ - "Expected an assignment", - "Bad escapement of EOL", - "Unexpected comma", - "Unexpected space", - "Missing radix parameter.", - "A leading decimal point can", - "\\['{a}'\\] is better written in dot notation.", - "'{a}' used out of scope" -]); - -var JavaScriptWorker = exports.JavaScriptWorker = function(sender) { - Mirror.call(this, sender); - this.setTimeout(500); - this.setOptions(); -}; - -oop.inherits(JavaScriptWorker, Mirror); - -(function() { - this.setOptions = function(options) { - this.options = options || { - esversion: 11, - moz: true, - devel: true, - browser: true, - node: true, - laxcomma: true, - laxbreak: true, - lastsemic: true, - onevar: false, - passfail: false, - maxerr: 100, - expr: true, - multistr: true, - globalstrict: true - }; - this.doc.getValue() && this.deferredUpdate.schedule(100); - }; - - this.changeOptions = function(newOptions) { - oop.mixin(this.options, newOptions); - this.doc.getValue() && this.deferredUpdate.schedule(100); - }; - - this.onUpdate = function() { - var value = this.doc.getValue(); - value = value.replace(/^#!.*\n/, "\n"); - if (!value) - return this.sender.emit("annotate", []); - - var errors = []; - lint(value, this.options, this.options.globals); - var results = lint.errors; - - var errorAdded = false; - for (var i = 0; i < results.length; i++) { - var error = results[i]; - if (!error) - continue; - var raw = error.raw; - var type = "warning"; - - if (raw == "Missing semicolon.") { - var str = error.evidence.substr(error.character); - str = str.charAt(str.search(/\S/)); - if (str && /[\w\d{(['"]/.test(str)) { - error.reason = 'Missing ";" before statement'; - type = "error"; - } else { - type = "info"; - } - } - else if (disabledWarningsRe.test(raw)) { - continue; - } - else if (infoRe.test(raw)) { - type = "info"; - } - else if (errorsRe.test(raw)) { - errorAdded = true; - type = "error"; - } - else if (raw == "'{a}' is not defined.") { - type = "warning"; - } - else if (raw == "'{a}' is defined but never used.") { - type = "info"; - } - - errors.push({ - row: error.line-1, - column: error.character-1, - text: error.reason, - type: type, - raw: raw - }); - - if (errorAdded) { - } - } - - this.sender.emit("annotate", errors); - }; - -}).call(JavaScriptWorker.prototype); - -}); diff --git a/webVue/assets/worker-json-b183eeb3.js b/webVue/assets/worker-json-b183eeb3.js deleted file mode 100644 index b406651..0000000 --- a/webVue/assets/worker-json-b183eeb3.js +++ /dev/null @@ -1,1626 +0,0 @@ -"no use strict"; -!(function(window) { -if (typeof window.window != "undefined" && window.document) - return; -if (window.require && window.define) - return; - -if (!window.console) { - window.console = function() { - var msgs = Array.prototype.slice.call(arguments, 0); - postMessage({type: "log", data: msgs}); - }; - window.console.error = - window.console.warn = - window.console.log = - window.console.trace = window.console; -} -window.window = window; -window.ace = window; - -window.onerror = function(message, file, line, col, err) { - postMessage({type: "error", data: { - message: message, - data: err && err.data, - file: file, - line: line, - col: col, - stack: err && err.stack - }}); -}; - -window.normalizeModule = function(parentId, moduleName) { - // normalize plugin requires - if (moduleName.indexOf("!") !== -1) { - var chunks = moduleName.split("!"); - return window.normalizeModule(parentId, chunks[0]) + "!" + window.normalizeModule(parentId, chunks[1]); - } - // normalize relative requires - if (moduleName.charAt(0) == ".") { - var base = parentId.split("/").slice(0, -1).join("/"); - moduleName = (base ? base + "/" : "") + moduleName; - - while (moduleName.indexOf(".") !== -1 && previous != moduleName) { - var previous = moduleName; - moduleName = moduleName.replace(/^\.\//, "").replace(/\/\.\//, "/").replace(/[^\/]+\/\.\.\//, ""); - } - } - - return moduleName; -}; - -window.require = function require(parentId, id) { - if (!id) { - id = parentId; - parentId = null; - } - if (!id.charAt) - throw new Error("worker.js require() accepts only (parentId, id) as arguments"); - - id = window.normalizeModule(parentId, id); - - var module = window.require.modules[id]; - if (module) { - if (!module.initialized) { - module.initialized = true; - module.exports = module.factory().exports; - } - return module.exports; - } - - if (!window.require.tlns) - return console.log("unable to load " + id); - - var path = resolveModuleId(id, window.require.tlns); - if (path.slice(-3) != ".js") path += ".js"; - - window.require.id = id; - window.require.modules[id] = {}; // prevent infinite loop on broken modules - importScripts(path); - return window.require(parentId, id); -}; -function resolveModuleId(id, paths) { - var testPath = id, tail = ""; - while (testPath) { - var alias = paths[testPath]; - if (typeof alias == "string") { - return alias + tail; - } else if (alias) { - return alias.location.replace(/\/*$/, "/") + (tail || alias.main || alias.name); - } else if (alias === false) { - return ""; - } - var i = testPath.lastIndexOf("/"); - if (i === -1) break; - tail = testPath.substr(i) + tail; - testPath = testPath.slice(0, i); - } - return id; -} -window.require.modules = {}; -window.require.tlns = {}; - -window.define = function(id, deps, factory) { - if (arguments.length == 2) { - factory = deps; - if (typeof id != "string") { - deps = id; - id = window.require.id; - } - } else if (arguments.length == 1) { - factory = id; - deps = []; - id = window.require.id; - } - - if (typeof factory != "function") { - window.require.modules[id] = { - exports: factory, - initialized: true - }; - return; - } - - if (!deps.length) - // If there is no dependencies, we inject "require", "exports" and - // "module" as dependencies, to provide CommonJS compatibility. - deps = ["require", "exports", "module"]; - - var req = function(childId) { - return window.require(id, childId); - }; - - window.require.modules[id] = { - exports: {}, - factory: function() { - var module = this; - var returnExports = factory.apply(this, deps.slice(0, factory.length).map(function(dep) { - switch (dep) { - // Because "require", "exports" and "module" aren't actual - // dependencies, we must handle them seperately. - case "require": return req; - case "exports": return module.exports; - case "module": return module; - // But for all other dependencies, we can just go ahead and - // require them. - default: return req(dep); - } - })); - if (returnExports) - module.exports = returnExports; - return module; - } - }; -}; -window.define.amd = {}; -window.require.tlns = {}; -window.initBaseUrls = function initBaseUrls(topLevelNamespaces) { - for (var i in topLevelNamespaces) - this.require.tlns[i] = topLevelNamespaces[i]; -}; - -window.initSender = function initSender() { - - var EventEmitter = window.require("ace/lib/event_emitter").EventEmitter; - var oop = window.require("ace/lib/oop"); - - var Sender = function() {}; - - (function() { - - oop.implement(this, EventEmitter); - - this.callback = function(data, callbackId) { - postMessage({ - type: "call", - id: callbackId, - data: data - }); - }; - - this.emit = function(name, data) { - postMessage({ - type: "event", - name: name, - data: data - }); - }; - - }).call(Sender.prototype); - - return new Sender(); -}; - -var main = window.main = null; -var sender = window.sender = null; - -window.onmessage = function(e) { - var msg = e.data; - if (msg.event && sender) { - sender._signal(msg.event, msg.data); - } - else if (msg.command) { - if (main[msg.command]) - main[msg.command].apply(main, msg.args); - else if (window[msg.command]) - window[msg.command].apply(window, msg.args); - else - throw new Error("Unknown command:" + msg.command); - } - else if (msg.init) { - window.initBaseUrls(msg.tlns); - sender = window.sender = window.initSender(); - var clazz = this.require(msg.module)[msg.classname]; - main = window.main = new clazz(sender); - } -}; -})(this); - -ace.define("ace/lib/oop",[], function(require, exports, module){"use strict"; -exports.inherits = function (ctor, superCtor) { - ctor.super_ = superCtor; - ctor.prototype = Object.create(superCtor.prototype, { - constructor: { - value: ctor, - enumerable: false, - writable: true, - configurable: true - } - }); -}; -exports.mixin = function (obj, mixin) { - for (var key in mixin) { - obj[key] = mixin[key]; - } - return obj; -}; -exports.implement = function (proto, mixin) { - exports.mixin(proto, mixin); -}; - -}); - -ace.define("ace/apply_delta",[], function(require, exports, module){"use strict"; -function throwDeltaError(delta, errorText) { - console.log("Invalid Delta:", delta); - throw "Invalid Delta: " + errorText; -} -function positionInDocument(docLines, position) { - return position.row >= 0 && position.row < docLines.length && - position.column >= 0 && position.column <= docLines[position.row].length; -} -function validateDelta(docLines, delta) { - if (delta.action != "insert" && delta.action != "remove") - throwDeltaError(delta, "delta.action must be 'insert' or 'remove'"); - if (!(delta.lines instanceof Array)) - throwDeltaError(delta, "delta.lines must be an Array"); - if (!delta.start || !delta.end) - throwDeltaError(delta, "delta.start/end must be an present"); - var start = delta.start; - if (!positionInDocument(docLines, delta.start)) - throwDeltaError(delta, "delta.start must be contained in document"); - var end = delta.end; - if (delta.action == "remove" && !positionInDocument(docLines, end)) - throwDeltaError(delta, "delta.end must contained in document for 'remove' actions"); - var numRangeRows = end.row - start.row; - var numRangeLastLineChars = (end.column - (numRangeRows == 0 ? start.column : 0)); - if (numRangeRows != delta.lines.length - 1 || delta.lines[numRangeRows].length != numRangeLastLineChars) - throwDeltaError(delta, "delta.range must match delta lines"); -} -exports.applyDelta = function (docLines, delta, doNotValidate) { - var row = delta.start.row; - var startColumn = delta.start.column; - var line = docLines[row] || ""; - switch (delta.action) { - case "insert": - var lines = delta.lines; - if (lines.length === 1) { - docLines[row] = line.substring(0, startColumn) + delta.lines[0] + line.substring(startColumn); - } - else { - var args = [row, 1].concat(delta.lines); - docLines.splice.apply(docLines, args); - docLines[row] = line.substring(0, startColumn) + docLines[row]; - docLines[row + delta.lines.length - 1] += line.substring(startColumn); - } - break; - case "remove": - var endColumn = delta.end.column; - var endRow = delta.end.row; - if (row === endRow) { - docLines[row] = line.substring(0, startColumn) + line.substring(endColumn); - } - else { - docLines.splice(row, endRow - row + 1, line.substring(0, startColumn) + docLines[endRow].substring(endColumn)); - } - break; - } -}; - -}); - -ace.define("ace/lib/event_emitter",[], function(require, exports, module){"use strict"; -var EventEmitter = {}; -var stopPropagation = function () { this.propagationStopped = true; }; -var preventDefault = function () { this.defaultPrevented = true; }; -EventEmitter._emit = - EventEmitter._dispatchEvent = function (eventName, e) { - this._eventRegistry || (this._eventRegistry = {}); - this._defaultHandlers || (this._defaultHandlers = {}); - var listeners = this._eventRegistry[eventName] || []; - var defaultHandler = this._defaultHandlers[eventName]; - if (!listeners.length && !defaultHandler) - return; - if (typeof e != "object" || !e) - e = {}; - if (!e.type) - e.type = eventName; - if (!e.stopPropagation) - e.stopPropagation = stopPropagation; - if (!e.preventDefault) - e.preventDefault = preventDefault; - listeners = listeners.slice(); - for (var i = 0; i < listeners.length; i++) { - listeners[i](e, this); - if (e.propagationStopped) - break; - } - if (defaultHandler && !e.defaultPrevented) - return defaultHandler(e, this); - }; -EventEmitter._signal = function (eventName, e) { - var listeners = (this._eventRegistry || {})[eventName]; - if (!listeners) - return; - listeners = listeners.slice(); - for (var i = 0; i < listeners.length; i++) - listeners[i](e, this); -}; -EventEmitter.once = function (eventName, callback) { - var _self = this; - this.on(eventName, function newCallback() { - _self.off(eventName, newCallback); - callback.apply(null, arguments); - }); - if (!callback) { - return new Promise(function (resolve) { - callback = resolve; - }); - } -}; -EventEmitter.setDefaultHandler = function (eventName, callback) { - var handlers = this._defaultHandlers; - if (!handlers) - handlers = this._defaultHandlers = { _disabled_: {} }; - if (handlers[eventName]) { - var old = handlers[eventName]; - var disabled = handlers._disabled_[eventName]; - if (!disabled) - handlers._disabled_[eventName] = disabled = []; - disabled.push(old); - var i = disabled.indexOf(callback); - if (i != -1) - disabled.splice(i, 1); - } - handlers[eventName] = callback; -}; -EventEmitter.removeDefaultHandler = function (eventName, callback) { - var handlers = this._defaultHandlers; - if (!handlers) - return; - var disabled = handlers._disabled_[eventName]; - if (handlers[eventName] == callback) { - if (disabled) - this.setDefaultHandler(eventName, disabled.pop()); - } - else if (disabled) { - var i = disabled.indexOf(callback); - if (i != -1) - disabled.splice(i, 1); - } -}; -EventEmitter.on = - EventEmitter.addEventListener = function (eventName, callback, capturing) { - this._eventRegistry = this._eventRegistry || {}; - var listeners = this._eventRegistry[eventName]; - if (!listeners) - listeners = this._eventRegistry[eventName] = []; - if (listeners.indexOf(callback) == -1) - listeners[capturing ? "unshift" : "push"](callback); - return callback; - }; -EventEmitter.off = - EventEmitter.removeListener = - EventEmitter.removeEventListener = function (eventName, callback) { - this._eventRegistry = this._eventRegistry || {}; - var listeners = this._eventRegistry[eventName]; - if (!listeners) - return; - var index = listeners.indexOf(callback); - if (index !== -1) - listeners.splice(index, 1); - }; -EventEmitter.removeAllListeners = function (eventName) { - if (!eventName) - this._eventRegistry = this._defaultHandlers = undefined; - if (this._eventRegistry) - this._eventRegistry[eventName] = undefined; - if (this._defaultHandlers) - this._defaultHandlers[eventName] = undefined; -}; -exports.EventEmitter = EventEmitter; - -}); - -ace.define("ace/range",[], function(require, exports, module){"use strict"; -var Range = /** @class */ (function () { - function Range(startRow, startColumn, endRow, endColumn) { - this.start = { - row: startRow, - column: startColumn - }; - this.end = { - row: endRow, - column: endColumn - }; - } - Range.prototype.isEqual = function (range) { - return this.start.row === range.start.row && - this.end.row === range.end.row && - this.start.column === range.start.column && - this.end.column === range.end.column; - }; - Range.prototype.toString = function () { - return ("Range: [" + this.start.row + "/" + this.start.column + - "] -> [" + this.end.row + "/" + this.end.column + "]"); - }; - Range.prototype.contains = function (row, column) { - return this.compare(row, column) == 0; - }; - Range.prototype.compareRange = function (range) { - var cmp, end = range.end, start = range.start; - cmp = this.compare(end.row, end.column); - if (cmp == 1) { - cmp = this.compare(start.row, start.column); - if (cmp == 1) { - return 2; - } - else if (cmp == 0) { - return 1; - } - else { - return 0; - } - } - else if (cmp == -1) { - return -2; - } - else { - cmp = this.compare(start.row, start.column); - if (cmp == -1) { - return -1; - } - else if (cmp == 1) { - return 42; - } - else { - return 0; - } - } - }; - Range.prototype.comparePoint = function (p) { - return this.compare(p.row, p.column); - }; - Range.prototype.containsRange = function (range) { - return this.comparePoint(range.start) == 0 && this.comparePoint(range.end) == 0; - }; - Range.prototype.intersects = function (range) { - var cmp = this.compareRange(range); - return (cmp == -1 || cmp == 0 || cmp == 1); - }; - Range.prototype.isEnd = function (row, column) { - return this.end.row == row && this.end.column == column; - }; - Range.prototype.isStart = function (row, column) { - return this.start.row == row && this.start.column == column; - }; - Range.prototype.setStart = function (row, column) { - if (typeof row == "object") { - this.start.column = row.column; - this.start.row = row.row; - } - else { - this.start.row = row; - this.start.column = column; - } - }; - Range.prototype.setEnd = function (row, column) { - if (typeof row == "object") { - this.end.column = row.column; - this.end.row = row.row; - } - else { - this.end.row = row; - this.end.column = column; - } - }; - Range.prototype.inside = function (row, column) { - if (this.compare(row, column) == 0) { - if (this.isEnd(row, column) || this.isStart(row, column)) { - return false; - } - else { - return true; - } - } - return false; - }; - Range.prototype.insideStart = function (row, column) { - if (this.compare(row, column) == 0) { - if (this.isEnd(row, column)) { - return false; - } - else { - return true; - } - } - return false; - }; - Range.prototype.insideEnd = function (row, column) { - if (this.compare(row, column) == 0) { - if (this.isStart(row, column)) { - return false; - } - else { - return true; - } - } - return false; - }; - Range.prototype.compare = function (row, column) { - if (!this.isMultiLine()) { - if (row === this.start.row) { - return column < this.start.column ? -1 : (column > this.end.column ? 1 : 0); - } - } - if (row < this.start.row) - return -1; - if (row > this.end.row) - return 1; - if (this.start.row === row) - return column >= this.start.column ? 0 : -1; - if (this.end.row === row) - return column <= this.end.column ? 0 : 1; - return 0; - }; - Range.prototype.compareStart = function (row, column) { - if (this.start.row == row && this.start.column == column) { - return -1; - } - else { - return this.compare(row, column); - } - }; - Range.prototype.compareEnd = function (row, column) { - if (this.end.row == row && this.end.column == column) { - return 1; - } - else { - return this.compare(row, column); - } - }; - Range.prototype.compareInside = function (row, column) { - if (this.end.row == row && this.end.column == column) { - return 1; - } - else if (this.start.row == row && this.start.column == column) { - return -1; - } - else { - return this.compare(row, column); - } - }; - Range.prototype.clipRows = function (firstRow, lastRow) { - if (this.end.row > lastRow) - var end = { row: lastRow + 1, column: 0 }; - else if (this.end.row < firstRow) - var end = { row: firstRow, column: 0 }; - if (this.start.row > lastRow) - var start = { row: lastRow + 1, column: 0 }; - else if (this.start.row < firstRow) - var start = { row: firstRow, column: 0 }; - return Range.fromPoints(start || this.start, end || this.end); - }; - Range.prototype.extend = function (row, column) { - var cmp = this.compare(row, column); - if (cmp == 0) - return this; - else if (cmp == -1) - var start = { row: row, column: column }; - else - var end = { row: row, column: column }; - return Range.fromPoints(start || this.start, end || this.end); - }; - Range.prototype.isEmpty = function () { - return (this.start.row === this.end.row && this.start.column === this.end.column); - }; - Range.prototype.isMultiLine = function () { - return (this.start.row !== this.end.row); - }; - Range.prototype.clone = function () { - return Range.fromPoints(this.start, this.end); - }; - Range.prototype.collapseRows = function () { - if (this.end.column == 0) - return new Range(this.start.row, 0, Math.max(this.start.row, this.end.row - 1), 0); - else - return new Range(this.start.row, 0, this.end.row, 0); - }; - Range.prototype.toScreenRange = function (session) { - var screenPosStart = session.documentToScreenPosition(this.start); - var screenPosEnd = session.documentToScreenPosition(this.end); - return new Range(screenPosStart.row, screenPosStart.column, screenPosEnd.row, screenPosEnd.column); - }; - Range.prototype.moveBy = function (row, column) { - this.start.row += row; - this.start.column += column; - this.end.row += row; - this.end.column += column; - }; - return Range; -}()); -Range.fromPoints = function (start, end) { - return new Range(start.row, start.column, end.row, end.column); -}; -Range.comparePoints = function (p1, p2) { - return p1.row - p2.row || p1.column - p2.column; -}; -exports.Range = Range; - -}); - -ace.define("ace/anchor",[], function(require, exports, module){"use strict"; -var oop = require("./lib/oop"); -var EventEmitter = require("./lib/event_emitter").EventEmitter; -var Anchor = /** @class */ (function () { - function Anchor(doc, row, column) { - this.$onChange = this.onChange.bind(this); - this.attach(doc); - if (typeof row != "number") - this.setPosition(row.row, row.column); - else - this.setPosition(row, column); - } - Anchor.prototype.getPosition = function () { - return this.$clipPositionToDocument(this.row, this.column); - }; - Anchor.prototype.getDocument = function () { - return this.document; - }; - Anchor.prototype.onChange = function (delta) { - if (delta.start.row == delta.end.row && delta.start.row != this.row) - return; - if (delta.start.row > this.row) - return; - var point = $getTransformedPoint(delta, { row: this.row, column: this.column }, this.$insertRight); - this.setPosition(point.row, point.column, true); - }; - Anchor.prototype.setPosition = function (row, column, noClip) { - var pos; - if (noClip) { - pos = { - row: row, - column: column - }; - } - else { - pos = this.$clipPositionToDocument(row, column); - } - if (this.row == pos.row && this.column == pos.column) - return; - var old = { - row: this.row, - column: this.column - }; - this.row = pos.row; - this.column = pos.column; - this._signal("change", { - old: old, - value: pos - }); - }; - Anchor.prototype.detach = function () { - this.document.off("change", this.$onChange); - }; - Anchor.prototype.attach = function (doc) { - this.document = doc || this.document; - this.document.on("change", this.$onChange); - }; - Anchor.prototype.$clipPositionToDocument = function (row, column) { - var pos = {}; - if (row >= this.document.getLength()) { - pos.row = Math.max(0, this.document.getLength() - 1); - pos.column = this.document.getLine(pos.row).length; - } - else if (row < 0) { - pos.row = 0; - pos.column = 0; - } - else { - pos.row = row; - pos.column = Math.min(this.document.getLine(pos.row).length, Math.max(0, column)); - } - if (column < 0) - pos.column = 0; - return pos; - }; - return Anchor; -}()); -Anchor.prototype.$insertRight = false; -oop.implement(Anchor.prototype, EventEmitter); -function $pointsInOrder(point1, point2, equalPointsInOrder) { - var bColIsAfter = equalPointsInOrder ? point1.column <= point2.column : point1.column < point2.column; - return (point1.row < point2.row) || (point1.row == point2.row && bColIsAfter); -} -function $getTransformedPoint(delta, point, moveIfEqual) { - var deltaIsInsert = delta.action == "insert"; - var deltaRowShift = (deltaIsInsert ? 1 : -1) * (delta.end.row - delta.start.row); - var deltaColShift = (deltaIsInsert ? 1 : -1) * (delta.end.column - delta.start.column); - var deltaStart = delta.start; - var deltaEnd = deltaIsInsert ? deltaStart : delta.end; // Collapse insert range. - if ($pointsInOrder(point, deltaStart, moveIfEqual)) { - return { - row: point.row, - column: point.column - }; - } - if ($pointsInOrder(deltaEnd, point, !moveIfEqual)) { - return { - row: point.row + deltaRowShift, - column: point.column + (point.row == deltaEnd.row ? deltaColShift : 0) - }; - } - return { - row: deltaStart.row, - column: deltaStart.column - }; -} -exports.Anchor = Anchor; - -}); - -ace.define("ace/document",[], function(require, exports, module){"use strict"; -var oop = require("./lib/oop"); -var applyDelta = require("./apply_delta").applyDelta; -var EventEmitter = require("./lib/event_emitter").EventEmitter; -var Range = require("./range").Range; -var Anchor = require("./anchor").Anchor; -var Document = /** @class */ (function () { - function Document(textOrLines) { - this.$lines = [""]; - if (textOrLines.length === 0) { - this.$lines = [""]; - } - else if (Array.isArray(textOrLines)) { - this.insertMergedLines({ row: 0, column: 0 }, textOrLines); - } - else { - this.insert({ row: 0, column: 0 }, textOrLines); - } - } - Document.prototype.setValue = function (text) { - var len = this.getLength() - 1; - this.remove(new Range(0, 0, len, this.getLine(len).length)); - this.insert({ row: 0, column: 0 }, text || ""); - }; - Document.prototype.getValue = function () { - return this.getAllLines().join(this.getNewLineCharacter()); - }; - Document.prototype.createAnchor = function (row, column) { - return new Anchor(this, row, column); - }; - Document.prototype.$detectNewLine = function (text) { - var match = text.match(/^.*?(\r\n|\r|\n)/m); - this.$autoNewLine = match ? match[1] : "\n"; - this._signal("changeNewLineMode"); - }; - Document.prototype.getNewLineCharacter = function () { - switch (this.$newLineMode) { - case "windows": - return "\r\n"; - case "unix": - return "\n"; - default: - return this.$autoNewLine || "\n"; - } - }; - Document.prototype.setNewLineMode = function (newLineMode) { - if (this.$newLineMode === newLineMode) - return; - this.$newLineMode = newLineMode; - this._signal("changeNewLineMode"); - }; - Document.prototype.getNewLineMode = function () { - return this.$newLineMode; - }; - Document.prototype.isNewLine = function (text) { - return (text == "\r\n" || text == "\r" || text == "\n"); - }; - Document.prototype.getLine = function (row) { - return this.$lines[row] || ""; - }; - Document.prototype.getLines = function (firstRow, lastRow) { - return this.$lines.slice(firstRow, lastRow + 1); - }; - Document.prototype.getAllLines = function () { - return this.getLines(0, this.getLength()); - }; - Document.prototype.getLength = function () { - return this.$lines.length; - }; - Document.prototype.getTextRange = function (range) { - return this.getLinesForRange(range).join(this.getNewLineCharacter()); - }; - Document.prototype.getLinesForRange = function (range) { - var lines; - if (range.start.row === range.end.row) { - lines = [this.getLine(range.start.row).substring(range.start.column, range.end.column)]; - } - else { - lines = this.getLines(range.start.row, range.end.row); - lines[0] = (lines[0] || "").substring(range.start.column); - var l = lines.length - 1; - if (range.end.row - range.start.row == l) - lines[l] = lines[l].substring(0, range.end.column); - } - return lines; - }; - Document.prototype.insertLines = function (row, lines) { - console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."); - return this.insertFullLines(row, lines); - }; - Document.prototype.removeLines = function (firstRow, lastRow) { - console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."); - return this.removeFullLines(firstRow, lastRow); - }; - Document.prototype.insertNewLine = function (position) { - console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."); - return this.insertMergedLines(position, ["", ""]); - }; - Document.prototype.insert = function (position, text) { - if (this.getLength() <= 1) - this.$detectNewLine(text); - return this.insertMergedLines(position, this.$split(text)); - }; - Document.prototype.insertInLine = function (position, text) { - var start = this.clippedPos(position.row, position.column); - var end = this.pos(position.row, position.column + text.length); - this.applyDelta({ - start: start, - end: end, - action: "insert", - lines: [text] - }, true); - return this.clonePos(end); - }; - Document.prototype.clippedPos = function (row, column) { - var length = this.getLength(); - if (row === undefined) { - row = length; - } - else if (row < 0) { - row = 0; - } - else if (row >= length) { - row = length - 1; - column = undefined; - } - var line = this.getLine(row); - if (column == undefined) - column = line.length; - column = Math.min(Math.max(column, 0), line.length); - return { row: row, column: column }; - }; - Document.prototype.clonePos = function (pos) { - return { row: pos.row, column: pos.column }; - }; - Document.prototype.pos = function (row, column) { - return { row: row, column: column }; - }; - Document.prototype.$clipPosition = function (position) { - var length = this.getLength(); - if (position.row >= length) { - position.row = Math.max(0, length - 1); - position.column = this.getLine(length - 1).length; - } - else { - position.row = Math.max(0, position.row); - position.column = Math.min(Math.max(position.column, 0), this.getLine(position.row).length); - } - return position; - }; - Document.prototype.insertFullLines = function (row, lines) { - row = Math.min(Math.max(row, 0), this.getLength()); - var column = 0; - if (row < this.getLength()) { - lines = lines.concat([""]); - column = 0; - } - else { - lines = [""].concat(lines); - row--; - column = this.$lines[row].length; - } - this.insertMergedLines({ row: row, column: column }, lines); - }; - Document.prototype.insertMergedLines = function (position, lines) { - var start = this.clippedPos(position.row, position.column); - var end = { - row: start.row + lines.length - 1, - column: (lines.length == 1 ? start.column : 0) + lines[lines.length - 1].length - }; - this.applyDelta({ - start: start, - end: end, - action: "insert", - lines: lines - }); - return this.clonePos(end); - }; - Document.prototype.remove = function (range) { - var start = this.clippedPos(range.start.row, range.start.column); - var end = this.clippedPos(range.end.row, range.end.column); - this.applyDelta({ - start: start, - end: end, - action: "remove", - lines: this.getLinesForRange({ start: start, end: end }) - }); - return this.clonePos(start); - }; - Document.prototype.removeInLine = function (row, startColumn, endColumn) { - var start = this.clippedPos(row, startColumn); - var end = this.clippedPos(row, endColumn); - this.applyDelta({ - start: start, - end: end, - action: "remove", - lines: this.getLinesForRange({ start: start, end: end }) - }, true); - return this.clonePos(start); - }; - Document.prototype.removeFullLines = function (firstRow, lastRow) { - firstRow = Math.min(Math.max(0, firstRow), this.getLength() - 1); - lastRow = Math.min(Math.max(0, lastRow), this.getLength() - 1); - var deleteFirstNewLine = lastRow == this.getLength() - 1 && firstRow > 0; - var deleteLastNewLine = lastRow < this.getLength() - 1; - var startRow = (deleteFirstNewLine ? firstRow - 1 : firstRow); - var startCol = (deleteFirstNewLine ? this.getLine(startRow).length : 0); - var endRow = (deleteLastNewLine ? lastRow + 1 : lastRow); - var endCol = (deleteLastNewLine ? 0 : this.getLine(endRow).length); - var range = new Range(startRow, startCol, endRow, endCol); - var deletedLines = this.$lines.slice(firstRow, lastRow + 1); - this.applyDelta({ - start: range.start, - end: range.end, - action: "remove", - lines: this.getLinesForRange(range) - }); - return deletedLines; - }; - Document.prototype.removeNewLine = function (row) { - if (row < this.getLength() - 1 && row >= 0) { - this.applyDelta({ - start: this.pos(row, this.getLine(row).length), - end: this.pos(row + 1, 0), - action: "remove", - lines: ["", ""] - }); - } - }; - Document.prototype.replace = function (range, text) { - if (!(range instanceof Range)) - range = Range.fromPoints(range.start, range.end); - if (text.length === 0 && range.isEmpty()) - return range.start; - if (text == this.getTextRange(range)) - return range.end; - this.remove(range); - var end; - if (text) { - end = this.insert(range.start, text); - } - else { - end = range.start; - } - return end; - }; - Document.prototype.applyDeltas = function (deltas) { - for (var i = 0; i < deltas.length; i++) { - this.applyDelta(deltas[i]); - } - }; - Document.prototype.revertDeltas = function (deltas) { - for (var i = deltas.length - 1; i >= 0; i--) { - this.revertDelta(deltas[i]); - } - }; - Document.prototype.applyDelta = function (delta, doNotValidate) { - var isInsert = delta.action == "insert"; - if (isInsert ? delta.lines.length <= 1 && !delta.lines[0] - : !Range.comparePoints(delta.start, delta.end)) { - return; - } - if (isInsert && delta.lines.length > 20000) { - this.$splitAndapplyLargeDelta(delta, 20000); - } - else { - applyDelta(this.$lines, delta, doNotValidate); - this._signal("change", delta); - } - }; - Document.prototype.$safeApplyDelta = function (delta) { - var docLength = this.$lines.length; - if (delta.action == "remove" && delta.start.row < docLength && delta.end.row < docLength - || delta.action == "insert" && delta.start.row <= docLength) { - this.applyDelta(delta); - } - }; - Document.prototype.$splitAndapplyLargeDelta = function (delta, MAX) { - var lines = delta.lines; - var l = lines.length - MAX + 1; - var row = delta.start.row; - var column = delta.start.column; - for (var from = 0, to = 0; from < l; from = to) { - to += MAX - 1; - var chunk = lines.slice(from, to); - chunk.push(""); - this.applyDelta({ - start: this.pos(row + from, column), - end: this.pos(row + to, column = 0), - action: delta.action, - lines: chunk - }, true); - } - delta.lines = lines.slice(from); - delta.start.row = row + from; - delta.start.column = column; - this.applyDelta(delta, true); - }; - Document.prototype.revertDelta = function (delta) { - this.$safeApplyDelta({ - start: this.clonePos(delta.start), - end: this.clonePos(delta.end), - action: (delta.action == "insert" ? "remove" : "insert"), - lines: delta.lines.slice() - }); - }; - Document.prototype.indexToPosition = function (index, startRow) { - var lines = this.$lines || this.getAllLines(); - var newlineLength = this.getNewLineCharacter().length; - for (var i = startRow || 0, l = lines.length; i < l; i++) { - index -= lines[i].length + newlineLength; - if (index < 0) - return { row: i, column: index + lines[i].length + newlineLength }; - } - return { row: l - 1, column: index + lines[l - 1].length + newlineLength }; - }; - Document.prototype.positionToIndex = function (pos, startRow) { - var lines = this.$lines || this.getAllLines(); - var newlineLength = this.getNewLineCharacter().length; - var index = 0; - var row = Math.min(pos.row, lines.length); - for (var i = startRow || 0; i < row; ++i) - index += lines[i].length + newlineLength; - return index + pos.column; - }; - Document.prototype.$split = function (text) { - return text.split(/\r\n|\r|\n/); - }; - return Document; -}()); -Document.prototype.$autoNewLine = ""; -Document.prototype.$newLineMode = "auto"; -oop.implement(Document.prototype, EventEmitter); -exports.Document = Document; - -}); - -ace.define("ace/lib/deep_copy",[], function(require, exports, module){exports.deepCopy = function deepCopy(obj) { - if (typeof obj !== "object" || !obj) - return obj; - var copy; - if (Array.isArray(obj)) { - copy = []; - for (var key = 0; key < obj.length; key++) { - copy[key] = deepCopy(obj[key]); - } - return copy; - } - if (Object.prototype.toString.call(obj) !== "[object Object]") - return obj; - copy = {}; - for (var key in obj) - copy[key] = deepCopy(obj[key]); - return copy; -}; - -}); - -ace.define("ace/lib/lang",[], function(require, exports, module){"use strict"; -exports.last = function (a) { - return a[a.length - 1]; -}; -exports.stringReverse = function (string) { - return string.split("").reverse().join(""); -}; -exports.stringRepeat = function (string, count) { - var result = ''; - while (count > 0) { - if (count & 1) - result += string; - if (count >>= 1) - string += string; - } - return result; -}; -var trimBeginRegexp = /^\s\s*/; -var trimEndRegexp = /\s\s*$/; -exports.stringTrimLeft = function (string) { - return string.replace(trimBeginRegexp, ''); -}; -exports.stringTrimRight = function (string) { - return string.replace(trimEndRegexp, ''); -}; -exports.copyObject = function (obj) { - var copy = {}; - for (var key in obj) { - copy[key] = obj[key]; - } - return copy; -}; -exports.copyArray = function (array) { - var copy = []; - for (var i = 0, l = array.length; i < l; i++) { - if (array[i] && typeof array[i] == "object") - copy[i] = this.copyObject(array[i]); - else - copy[i] = array[i]; - } - return copy; -}; -exports.deepCopy = require("./deep_copy").deepCopy; -exports.arrayToMap = function (arr) { - var map = {}; - for (var i = 0; i < arr.length; i++) { - map[arr[i]] = 1; - } - return map; -}; -exports.createMap = function (props) { - var map = Object.create(null); - for (var i in props) { - map[i] = props[i]; - } - return map; -}; -exports.arrayRemove = function (array, value) { - for (var i = 0; i <= array.length; i++) { - if (value === array[i]) { - array.splice(i, 1); - } - } -}; -exports.escapeRegExp = function (str) { - return str.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1'); -}; -exports.escapeHTML = function (str) { - return ("" + str).replace(/&/g, "&").replace(/"/g, """).replace(/'/g, "'").replace(/ 0xffff ? 2 : 1; -}; - -}); - -ace.define("ace/worker/mirror",[], function(require, exports, module) { -"use strict"; - -var Document = require("../document").Document; -var lang = require("../lib/lang"); - -var Mirror = exports.Mirror = function(sender) { - this.sender = sender; - var doc = this.doc = new Document(""); - - var deferredUpdate = this.deferredUpdate = lang.delayedCall(this.onUpdate.bind(this)); - - var _self = this; - sender.on("change", function(e) { - var data = e.data; - if (data[0].start) { - doc.applyDeltas(data); - } else { - for (var i = 0; i < data.length; i += 2) { - var d, err; - if (Array.isArray(data[i+1])) { - d = {action: "insert", start: data[i], lines: data[i+1]}; - } else { - d = {action: "remove", start: data[i], end: data[i+1]}; - } - - if ((d.action == "insert" ? d.start : d.end).row >= doc.$lines.length) { - err = new Error("Invalid delta"); - err.data = { - path: _self.$path, - linesLength: doc.$lines.length, - start: d.start, - end: d.end - }; - throw err; - } - - doc.applyDelta(d, true); - } - } - if (_self.$timeout) - return deferredUpdate.schedule(_self.$timeout); - _self.onUpdate(); - }); -}; - -(function() { - - this.$timeout = 500; - - this.setTimeout = function(timeout) { - this.$timeout = timeout; - }; - - this.setValue = function(value) { - this.doc.setValue(value); - this.deferredUpdate.schedule(this.$timeout); - }; - - this.getValue = function(callbackId) { - this.sender.callback(this.doc.getValue(), callbackId); - }; - - this.onUpdate = function() { - }; - - this.isPending = function() { - return this.deferredUpdate.isPending(); - }; - -}).call(Mirror.prototype); - -}); - -ace.define("ace/mode/json/json_parse",[], function(require, exports, module) { -"use strict"; - - var at, // The index of the current character - ch, // The current character - escapee = { - '"': '"', - '\\': '\\', - '/': '/', - b: '\b', - f: '\f', - n: '\n', - r: '\r', - t: '\t' - }, - text, - - error = function (m) { - - throw { - name: 'SyntaxError', - message: m, - at: at, - text: text - }; - }, - - next = function (c) { - - if (c && c !== ch) { - error("Expected '" + c + "' instead of '" + ch + "'"); - } - - ch = text.charAt(at); - at += 1; - return ch; - }, - - number = function () { - - var number, - string = ''; - - if (ch === '-') { - string = '-'; - next('-'); - } - while (ch >= '0' && ch <= '9') { - string += ch; - next(); - } - if (ch === '.') { - string += '.'; - while (next() && ch >= '0' && ch <= '9') { - string += ch; - } - } - if (ch === 'e' || ch === 'E') { - string += ch; - next(); - if (ch === '-' || ch === '+') { - string += ch; - next(); - } - while (ch >= '0' && ch <= '9') { - string += ch; - next(); - } - } - number = +string; - if (isNaN(number)) { - error("Bad number"); - } else { - return number; - } - }, - - string = function () { - - var hex, - i, - string = '', - uffff; - - if (ch === '"') { - while (next()) { - if (ch === '"') { - next(); - return string; - } else if (ch === '\\') { - next(); - if (ch === 'u') { - uffff = 0; - for (i = 0; i < 4; i += 1) { - hex = parseInt(next(), 16); - if (!isFinite(hex)) { - break; - } - uffff = uffff * 16 + hex; - } - string += String.fromCharCode(uffff); - } else if (typeof escapee[ch] === 'string') { - string += escapee[ch]; - } else { - break; - } - } else if (ch == "\n" || ch == "\r") { - break; - } else { - string += ch; - } - } - } - error("Bad string"); - }, - - white = function () { - - while (ch && ch <= ' ') { - next(); - } - }, - - word = function () { - - switch (ch) { - case 't': - next('t'); - next('r'); - next('u'); - next('e'); - return true; - case 'f': - next('f'); - next('a'); - next('l'); - next('s'); - next('e'); - return false; - case 'n': - next('n'); - next('u'); - next('l'); - next('l'); - return null; - } - error("Unexpected '" + ch + "'"); - }, - - value, // Place holder for the value function. - - array = function () { - - var array = []; - - if (ch === '[') { - next('['); - white(); - if (ch === ']') { - next(']'); - return array; // empty array - } - while (ch) { - array.push(value()); - white(); - if (ch === ']') { - next(']'); - return array; - } - next(','); - white(); - } - } - error("Bad array"); - }, - - object = function () { - - var key, - object = {}; - - if (ch === '{') { - next('{'); - white(); - if (ch === '}') { - next('}'); - return object; // empty object - } - while (ch) { - key = string(); - white(); - next(':'); - if (Object.hasOwnProperty.call(object, key)) { - error('Duplicate key "' + key + '"'); - } - object[key] = value(); - white(); - if (ch === '}') { - next('}'); - return object; - } - next(','); - white(); - } - } - error("Bad object"); - }; - - value = function () { - - white(); - switch (ch) { - case '{': - return object(); - case '[': - return array(); - case '"': - return string(); - case '-': - return number(); - default: - return ch >= '0' && ch <= '9' ? number() : word(); - } - }; - - return function (source, reviver) { - var result; - - text = source; - at = 0; - ch = ' '; - result = value(); - white(); - if (ch) { - error("Syntax error"); - } - - return typeof reviver === 'function' ? function walk(holder, key) { - var k, v, value = holder[key]; - if (value && typeof value === 'object') { - for (k in value) { - if (Object.hasOwnProperty.call(value, k)) { - v = walk(value, k); - if (v !== undefined) { - value[k] = v; - } else { - delete value[k]; - } - } - } - } - return reviver.call(holder, key, value); - }({'': result}, '') : result; - }; -}); - -ace.define("ace/mode/json_worker",[], function(require, exports, module) { -"use strict"; - -var oop = require("../lib/oop"); -var Mirror = require("../worker/mirror").Mirror; -var parse = require("./json/json_parse"); - -var JsonWorker = exports.JsonWorker = function(sender) { - Mirror.call(this, sender); - this.setTimeout(200); -}; - -oop.inherits(JsonWorker, Mirror); - -(function() { - - this.onUpdate = function() { - var value = this.doc.getValue(); - var errors = []; - try { - if (value) - parse(value); - } catch (e) { - var pos = this.doc.indexToPosition(e.at-1); - errors.push({ - row: pos.row, - column: pos.column, - text: e.message, - type: "error" - }); - } - this.sender.emit("annotate", errors); - }; - -}).call(JsonWorker.prototype); - -}); diff --git a/webVue/dataModes/fireControlAlarmFloor.json b/webVue/dataModes/fireControlAlarmFloor.json deleted file mode 100644 index 9cb538b..0000000 --- a/webVue/dataModes/fireControlAlarmFloor.json +++ /dev/null @@ -1,140 +0,0 @@ -{ - "canvasCfg": { - "width": 1920, - "height": 1080, - "scale": 1, - "color": "", - "img": "", - "guide": true, - "adsorp": true, - "adsorp_diff": 5, - "transform_origin": { - "x": 0, - "y": 0 - }, - "drag_offset": { - "x": 0, - "y": 0 - } - }, - "gridCfg": { - "enabled": true, - "align": true, - "size": 10 - }, - "json": [ - { - "id": "vue-my-regulator-iwEp1KifC7", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 129.98797607421875, - "top": 70, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-switch-info-XZmvJDTfd8", - "title": "vue遥控", - "type": "vue", - "binfo": { - "left": 240, - "top": 70, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥控", - "moduleId": "" - }, - "tag": "vue-my-switch-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-W1j7n1WBMs", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 180, - "top": 70, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-info-VFdTsqHrqK", - "title": "vue遥信01", - "type": "vue", - "binfo": { - "left": 70, - "top": 140, - "width": 430, - "height": 210, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": {}, - "tag": "vue-my-signal-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - } - ] -} \ No newline at end of file diff --git a/webVue/dataModes/fireControlAlarmHost.json b/webVue/dataModes/fireControlAlarmHost.json deleted file mode 100644 index 54c7f41..0000000 --- a/webVue/dataModes/fireControlAlarmHost.json +++ /dev/null @@ -1,139 +0,0 @@ -{ - "canvasCfg": { - "width": 1920, - "height": 1080, - "scale": 1, - "color": "", - "img": "", - "guide": true, - "adsorp": true, - "adsorp_diff": 5, - "transform_origin": { - "x": 0, - "y": 0 - }, - "drag_offset": { - "x": 0, - "y": 0 - } - }, - "gridCfg": { - "enabled": true, - "align": true, - "size": 10 - }, - "json": [ - { - "id": "vue-my-regulator-iwEp1KifC7", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 129.98797607421875, - "top": 70, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-W1j7n1WBMs", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 330, - "top": 380, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-info-VFdTsqHrqK", - "title": "vue遥信01", - "type": "vue", - "binfo": { - "left": 70, - "top": 140, - "width": 430, - "height": 210, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": {}, - "tag": "vue-my-signal-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-img-DLxtEt9t9A", - "title": "vue图形组件", - "type": "vue", - "binfo": { - "left": 64.97598266601562, - "top": 370, - "width": 130, - "height": 100, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "maxWidth": "" - }, - "tag": "vue-my-img", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - } - ] -} \ No newline at end of file diff --git a/webVue/dataModes/fireControlAlarmIndex.json b/webVue/dataModes/fireControlAlarmIndex.json deleted file mode 100644 index 64b3550..0000000 --- a/webVue/dataModes/fireControlAlarmIndex.json +++ /dev/null @@ -1,147 +0,0 @@ -{ - "canvasCfg": { - "width": 1920, - "height": 1080, - "scale": 1, - "color": "", - "img": "", - "guide": true, - "adsorp": true, - "adsorp_diff": 5, - "transform_origin": { - "x": 0, - "y": 0 - }, - "drag_offset": { - "x": 0, - "y": 0 - } - }, - "gridCfg": { - "enabled": true, - "align": true, - "size": 10 - }, - "json": [ - { - "id": "vue-my-signal-info-VFdTsqHrqK", - "title": "vue遥信01", - "type": "vue", - "binfo": { - "left": 50, - "top": 50, - "width": 430, - "height": 210, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": {}, - "tag": "vue-my-signal-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-run-info-QOvDKecsyZ", - "title": "vue运行信息", - "type": "vue", - "binfo": { - "left": 500, - "top": 50, - "width": 240, - "height": 180, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "fontFamily": "Segoe UI", - "fontSize": 14, - "testColor": "#000000" - }, - "tag": "vue-my-run-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-multi-type-info-V5rhA1U1PF", - "title": "vue运行状态信息", - "type": "vue", - "binfo": { - "left": 490, - "top": 240, - "width": 270, - "height": 180, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "headline": "11111", - "fontFamily": "Segoe UI", - "fontSize": 14, - "dataSource": "ultraVires", - "testColor": "#000000" - }, - "tag": "vue-my-multi-type-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-multi-type-info-OMI6pUcsA9", - "title": "vue运行状态信息", - "type": "vue", - "binfo": { - "left": 110, - "top": 270, - "width": 310, - "height": 200, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "headline": "2222", - "fontFamily": "Segoe UI", - "fontSize": 14, - "dataSource": "ultraVires", - "testColor": "#000000" - }, - "tag": "vue-my-multi-type-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - } - ] -} \ No newline at end of file diff --git a/webVue/dataModes/fireControlIndex.json b/webVue/dataModes/fireControlIndex.json deleted file mode 100644 index f03703c..0000000 --- a/webVue/dataModes/fireControlIndex.json +++ /dev/null @@ -1,113 +0,0 @@ -{ - "canvasCfg": { - "width": 1920, - "height": 1080, - "scale": 1, - "color": "", - "img": "", - "guide": true, - "adsorp": true, - "adsorp_diff": 5, - "transform_origin": { - "x": 0, - "y": 0 - }, - "drag_offset": { - "x": 0, - "y": 0 - } - }, - "gridCfg": { - "enabled": true, - "align": true, - "size": 10 - }, - "json": [ - { - "id": "vue-my-signal-info-VFdTsqHrqK11111", - "title": "vue遥信01", - "type": "vue", - "binfo": { - "left": 50, - "top": 50, - "width": 430, - "height": 210, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": {}, - "tag": "vue-my-signal-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-run-info-QOvDKecsyZ", - "title": "vue运行信息", - "type": "vue", - "binfo": { - "left": 500, - "top": 50, - "width": 240, - "height": 180, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "fontFamily": "Segoe UI", - "fontSize": 14, - "testColor": "#000000" - }, - "tag": "vue-my-run-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-tableOnly-a6n14qu2iO", - "title": "单一功能表单", - "type": "vue", - "binfo": { - "left": 40, - "top": 270, - "width": 620, - "height": 250, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "fontFamily": "黑体", - "fontSize": 12, - "testColor": "#767676" - }, - "tag": "vue-my-tableOnly", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - } - ] -} \ No newline at end of file diff --git a/webVue/dataModes/homeOverview.json b/webVue/dataModes/homeOverview.json deleted file mode 100644 index 881e581..0000000 --- a/webVue/dataModes/homeOverview.json +++ /dev/null @@ -1,1542 +0,0 @@ -{ - "canvasCfg": { - "width": 1920, - "height": 1080, - "scale": 0.5, - "color": "", - "img": "", - "guide": true, - "adsorp": true, - "adsorp_diff": 5, - "transform_origin": { - "x": 0, - "y": 0 - }, - "drag_offset": { - "x": 0, - "y": 0 - } - }, - "gridCfg": { - "enabled": true, - "align": true, - "size": 10 - }, - "json": [ - { - "id": "vue-my-run-info-8Vf0McsdZk", - "title": "vue运行信息", - "type": "vue", - "binfo": { - "left": 359.38401794433594, - "top": 564.9939880371094, - "width": 340, - "height": 200, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "fontFamily": "Segoe UI", - "fontSize": 14, - "testColor": "#000000" - }, - "tag": "vue-my-run-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-multi-type-info-CMI0M8U8YD", - "title": "vue运行状态信息", - "type": "vue", - "binfo": { - "left": 759.4591064453125, - "top": 567.4939880371094, - "width": 340, - "height": 220, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "headline": "越限信息", - "fontFamily": "Segoe UI", - "fontSize": 14, - "dataSource": "ultraVires", - "testColor": "#000000" - }, - "tag": "vue-my-multi-type-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-multi-type-info-oUYtFvmbRj", - "title": "vue运行状态信息", - "type": "vue", - "binfo": { - "left": 758.9182434082031, - "top": 302.4939880371094, - "width": 340, - "height": 220, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "headline": "联动信息", - "fontFamily": "Segoe UI", - "fontSize": 14, - "dataSource": "ultraVires", - "testColor": "#000000" - }, - "tag": "vue-my-multi-type-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-multi-type-info-nAyG9hftSr", - "title": "vue运行状态信息", - "type": "vue", - "binfo": { - "left": 374.69651794433594, - "top": 304.99998474121094, - "width": 340, - "height": 220, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "headline": "异常设备", - "fontFamily": "Segoe UI", - "fontSize": 14, - "dataSource": "ultraVires", - "testColor": "#000000" - }, - "tag": "vue-my-multi-type-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-zBBIqx4ScE", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 30, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-v8475emAu9", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 97.5, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-info-bYNjKPBP7J", - "title": "vue遥信01", - "type": "vue", - "binfo": { - "left": 50, - "top": 770, - "width": 540, - "height": 200, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": {}, - "tag": "vue-my-signal-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-oxzuc0CqbT", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 30, - "top": 127.50000762939453, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-MN5wW4Uyem", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 110, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-Vu9CGAtO58", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 177.5, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-BoVVsrLFM4", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 242.5, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-NQpQASZ2Qs", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 322.5, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-lNNrB1mjN5", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 391.25, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-XYWLgAshOv", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 448.75, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-08Bbf6yFNc", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 528.75, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-ZMm2YZf4yZ", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 596.25, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-QzsPJtosIf", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 661.25, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-1MdaMONw2O", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 741.25, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-regulator-FjZJljPz2U", - "title": "vue谣调", - "type": "vue", - "binfo": { - "left": 806.25, - "top": 130, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-regulator", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-T2mxwrop28", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 20, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-jmqGz1Bfmw", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 100, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-6cbqwK2IHx", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 173.75, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-NQj4eiurYv", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 246.25, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-GufdPstNgk", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 323.75, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-bJGoAnPlEF", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 403.75, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-A3pTcDSWol", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 477.5, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-i7ZjEU4PLW", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 549.375, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-oUl74CLFPM", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 626.25, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-2kRjWUyu6t", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 706.25, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-signal-gaudy-vSd4KahEMh", - "title": "vue遥信02", - "type": "vue", - "binfo": { - "left": 777.5, - "top": 199, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥信", - "moduleId": "" - }, - "tag": "vue-my-signal-gaudy", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-switch-info-Fwqd7gdRkT", - "title": "vue遥控", - "type": "vue", - "binfo": { - "left": 8.75, - "top": 263.25, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥控", - "moduleId": "" - }, - "tag": "vue-my-switch-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-switch-info-t7ip1CUKRw", - "title": "vue遥控", - "type": "vue", - "binfo": { - "left": 8.75, - "top": 316.0625, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥控", - "moduleId": "" - }, - "tag": "vue-my-switch-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-switch-info-WBFnw8HIaQ", - "title": "vue遥控", - "type": "vue", - "binfo": { - "left": 8.75, - "top": 368.25, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥控", - "moduleId": "" - }, - "tag": "vue-my-switch-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-switch-info-mTcnFiAWqo", - "title": "vue遥控", - "type": "vue", - "binfo": { - "left": 8.75, - "top": 424.8125, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥控", - "moduleId": "" - }, - "tag": "vue-my-switch-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-ooUSdZiqKr", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 172.5, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-G4btdjBHUN", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 243.75601196289062, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-VmoAm7iOnR", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 316.2439880371094, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-AudYaeGqW7", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 383.7439880371094, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-6LNTW8yTt8", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 458.7439880371094, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-aI3Sm9amF0", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 528.125, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-Pv6qC0xIpA", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 601.875, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-9M7WG3NARD", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 669.375, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-KfTdPBFvuk", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 744.375, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-SlF6a4unBv", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 815.6310119628906, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-f9MxYrzsgw", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 888.1189880371094, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-YZ0KzdxRyB", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 955.6189880371094, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-HFlqmBKlcj", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 1030.6189880371094, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-num-info-qDZ9ayAHPj", - "title": "vue谣测", - "type": "vue", - "binfo": { - "left": 1097.8125, - "top": 60, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥测", - "moduleId": "" - }, - "tag": "vue-my-num-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-switch-info-tNESoBqtSN", - "title": "vue遥控", - "type": "vue", - "binfo": { - "left": 128.74398803710938, - "top": 261.6225891113281, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥控", - "moduleId": "" - }, - "tag": "vue-my-switch-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-switch-info-Qhejynu2c3", - "title": "vue遥控", - "type": "vue", - "binfo": { - "left": 130, - "top": 312.8125, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥控", - "moduleId": "" - }, - "tag": "vue-my-switch-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-switch-info-86aviflv9L", - "title": "vue遥控", - "type": "vue", - "binfo": { - "left": 130, - "top": 365, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥控", - "moduleId": "" - }, - "tag": "vue-my-switch-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - }, - { - "id": "vue-my-switch-info-4SkpbZMPO7", - "title": "vue遥控", - "type": "vue", - "binfo": { - "left": 130, - "top": 421.5625, - "width": 50, - "height": 50, - "angle": 0 - }, - "resize": true, - "rotate": true, - "lock": false, - "active": false, - "hide": false, - "props": { - "moduleType": "遥控", - "moduleId": "" - }, - "tag": "vue-my-switch-info", - "common_animations": { - "val": "", - "delay": "delay-0s", - "speed": "slow", - "repeat": "infinite" - }, - "events": [] - } - ] -} \ No newline at end of file diff --git a/webVue/dataModes/index.json b/webVue/dataModes/index.json deleted file mode 100644 index 30add70..0000000 --- a/webVue/dataModes/index.json +++ /dev/null @@ -1,19 +0,0 @@ -[ - { - "id":"1", - "name":"fireControlAlarmFloor.json" - }, - { - "id":"2", - "name":"fireControlAlarmHost.json" - },{ - "id":"3", - "name":"fireControlAlarmIndex.json" - },{ - "id":"4", - "name":"fireControlIndex.json" - },{ - "id":"5", - "name":"homeOverview.json" - } -] \ No newline at end of file diff --git a/webVue/favicon.svg b/webVue/favicon.svg deleted file mode 100644 index 1d450e2..0000000 --- a/webVue/favicon.svg +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - ao - tu - - M A O T U - diff --git a/webVue/imgs/bg.jpg b/webVue/imgs/bg.jpg deleted file mode 100644 index b6418a2..0000000 Binary files a/webVue/imgs/bg.jpg and /dev/null differ diff --git a/webVue/imgs/change-attr.png b/webVue/imgs/change-attr.png deleted file mode 100644 index 587086a..0000000 Binary files a/webVue/imgs/change-attr.png and /dev/null differ diff --git a/webVue/imgs/edit-load.png b/webVue/imgs/edit-load.png deleted file mode 100644 index abcb92a..0000000 Binary files a/webVue/imgs/edit-load.png and /dev/null differ diff --git a/webVue/imgs/edit.png b/webVue/imgs/edit.png deleted file mode 100644 index fe1a3ae..0000000 Binary files a/webVue/imgs/edit.png and /dev/null differ diff --git a/webVue/imgs/event-callback.png b/webVue/imgs/event-callback.png deleted file mode 100644 index 1c1887e..0000000 Binary files a/webVue/imgs/event-callback.png and /dev/null differ diff --git a/webVue/imgs/set-node-attr.gif b/webVue/imgs/set-node-attr.gif deleted file mode 100644 index b9c4b8a..0000000 Binary files a/webVue/imgs/set-node-attr.gif and /dev/null differ diff --git a/webVue/index.html b/webVue/index.html deleted file mode 100644 index 2520b66..0000000 --- a/webVue/index.html +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - MaoTu - - - - -
- - - diff --git a/webVue/models/aircondition.jpg b/webVue/models/aircondition.jpg deleted file mode 100644 index 3583da0..0000000 Binary files a/webVue/models/aircondition.jpg and /dev/null differ diff --git a/webVue/models/cabinet-hover.jpg b/webVue/models/cabinet-hover.jpg deleted file mode 100644 index 0c3fd96..0000000 Binary files a/webVue/models/cabinet-hover.jpg and /dev/null differ diff --git a/webVue/models/cabinet.jpg b/webVue/models/cabinet.jpg deleted file mode 100644 index 0c77e49..0000000 Binary files a/webVue/models/cabinet.jpg and /dev/null differ diff --git a/webVue/models/chassis.jpg b/webVue/models/chassis.jpg deleted file mode 100644 index 6e50ca1..0000000 Binary files a/webVue/models/chassis.jpg and /dev/null differ diff --git a/webVue/models/door.jpg b/webVue/models/door.jpg deleted file mode 100644 index 26328a1..0000000 Binary files a/webVue/models/door.jpg and /dev/null differ diff --git a/webVue/models/electricBox.jpg b/webVue/models/electricBox.jpg deleted file mode 100644 index ff8f1bd..0000000 Binary files a/webVue/models/electricBox.jpg and /dev/null differ diff --git a/webVue/models/floor01.jpg b/webVue/models/floor01.jpg deleted file mode 100644 index 74d1104..0000000 Binary files a/webVue/models/floor01.jpg and /dev/null differ diff --git a/webVue/models/floor02.jpg b/webVue/models/floor02.jpg deleted file mode 100644 index abd0a0a..0000000 Binary files a/webVue/models/floor02.jpg and /dev/null differ diff --git a/webVue/models/groundFloor/Bitmaptexture-1.jpg b/webVue/models/groundFloor/Bitmaptexture-1.jpg deleted file mode 100644 index 2296c2a..0000000 Binary files a/webVue/models/groundFloor/Bitmaptexture-1.jpg and /dev/null differ diff --git a/webVue/models/groundFloor/Bitmaptexture.jpg b/webVue/models/groundFloor/Bitmaptexture.jpg deleted file mode 100644 index 1bc3353..0000000 Binary files a/webVue/models/groundFloor/Bitmaptexture.jpg and /dev/null differ diff --git a/webVue/models/groundFloor/ground_floor05.bin b/webVue/models/groundFloor/ground_floor05.bin deleted file mode 100644 index 1bbba8c..0000000 Binary files a/webVue/models/groundFloor/ground_floor05.bin and /dev/null differ diff --git a/webVue/models/groundFloor/ground_floor05.gltf b/webVue/models/groundFloor/ground_floor05.gltf deleted file mode 100644 index 63f02fb..0000000 --- a/webVue/models/groundFloor/ground_floor05.gltf +++ /dev/null @@ -1,11440 +0,0 @@ -{ - "asset":{ - "generator":"Khronos glTF Blender I/O v5.0.21", - "version":"2.0" - }, - "extensionsUsed":[ - "KHR_materials_transmission", - "KHR_materials_specular", - "KHR_materials_ior" - ], - "scene":0, - "scenes":[ - { - "name":"Scene", - "nodes":[ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 46, - 47, - 48 - ] - } - ], - "nodes":[ - { - "mesh":0, - "name":"model_scene", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.014842470176517963, - 0.014842470176517963, - 0.014842470176517963 - ], - "translation":[ - -14.818470001220703, - 0, - -8.95805835723877 - ] - }, - { - "mesh":1, - "name":"\u7acb\u65b9\u4f53.001", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - -7.484963417053223, - 1.4832736253738403, - 6.443909168243408 - ] - }, - { - "mesh":2, - "name":"\u7acb\u65b9\u4f53.002", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - -0.8958725929260254, - 1.4832736253738403, - 6.443909168243408 - ] - }, - { - "mesh":3, - "name":"\u7acb\u65b9\u4f53.003", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - 5.208726406097412, - 1.4832736253738403, - 6.443909168243408 - ] - }, - { - "mesh":4, - "name":"\u7acb\u65b9\u4f53.004", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - 11.725144386291504, - 1.4832736253738403, - 6.443909168243408 - ] - }, - { - "mesh":5, - "name":"\u7acb\u65b9\u4f53", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5526615977287292, - 4.49843168258667, - 1 - ], - "translation":[ - -11.091999053955078, - 1.4443719387054443, - 6.444415092468262 - ] - }, - { - "mesh":6, - "name":"\u7acb\u65b9\u4f53.005", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.48934125900268555, - 4.49843168258667, - 0.9203721284866333 - ], - "translation":[ - -4.221906661987305, - 1.4443719387054443, - 6.4405622482299805 - ] - }, - { - "mesh":7, - "name":"\u7acb\u65b9\u4f53.006", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.48934125900268555, - 4.49843168258667, - 0.8728037476539612 - ], - "translation":[ - 2.2191834449768066, - 1.4443719387054443, - 6.4405622482299805 - ] - }, - { - "mesh":8, - "name":"\u7acb\u65b9\u4f53.007", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.48934125900268555, - 4.49843168258667, - 0.9000150561332703 - ], - "translation":[ - 8.38709545135498, - 1.4443719387054443, - 6.4405622482299805 - ] - }, - { - "mesh":9, - "name":"\u7acb\u65b9\u4f53.008", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.48014819622039795, - 4.49843168258667, - 0.46502742171287537 - ], - "translation":[ - 13.396820068359375, - 1.4443719387054443, - 6.440002918243408 - ] - }, - { - "mesh":10, - "name":"\u7acb\u65b9\u4f53.009", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - -14.632072448730469, - 1.4832736253738403, - 6.443909168243408 - ] - }, - { - "mesh":11, - "name":"\u7acb\u65b9\u4f53.010", - "rotation":[ - 0, - 0, - 1, - 3.7748971948303733e-08 - ], - "scale":[ - 0.5526615977287292, - 4.49843168258667, - 0.4932527542114258 - ], - "translation":[ - -14.632407188415527, - 1.4443719387054443, - 4.83738899230957 - ] - }, - { - "mesh":12, - "name":"\u7acb\u65b9\u4f53.011", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - -14.632072448730469, - 1.4832736253738403, - 2.9910945892333984 - ] - }, - { - "mesh":13, - "name":"\u7acb\u65b9\u4f53.012", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - -14.632072448730469, - 1.4832736253738403, - -0.6158475875854492 - ] - }, - { - "mesh":14, - "name":"\u7acb\u65b9\u4f53.013", - "rotation":[ - 0, - 0, - 1, - 3.7748971948303733e-08 - ], - "scale":[ - 0.5526615977287292, - 4.49843168258667, - 0.4932527542114258 - ], - "translation":[ - -14.632407188415527, - 1.4443719387054443, - 1.2093355655670166 - ] - }, - { - "mesh":15, - "name":"\u7acb\u65b9\u4f53.014", - "rotation":[ - 0, - 0, - 1, - 3.7748971948303733e-08 - ], - "scale":[ - 0.5526615977287292, - 4.49843168258667, - 0.8792715668678284 - ], - "translation":[ - -14.632407188415527, - 1.4443719387054443, - -3.773420572280884 - ] - }, - { - "mesh":16, - "name":"area_oneFloor_3", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.21257124841213226, - 0.7335620522499084, - 1.0368707180023193 - ], - "translation":[ - 6.319515228271484, - 1.7369049787521362, - 0.9023839235305786 - ] - }, - { - "mesh":17, - "name":"area_oneFloor_4", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.21257124841213226, - 0.7335620522499084, - 0.5707659125328064 - ], - "translation":[ - 3.357022285461426, - 1.7369049787521362, - 0.9023839235305786 - ] - }, - { - "mesh":18, - "name":"area_oneFloor_6", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.4022426903247833, - 0.7146603465080261, - 0.5646018981933594 - ], - "translation":[ - 1.169703483581543, - 1.7805448770523071, - 1.9122700691223145 - ] - }, - { - "mesh":19, - "name":"area_oneFloor_7", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.4022426903247833, - 0.7146603465080261, - 0.6747844815254211 - ], - "translation":[ - -1.1586058139801025, - 1.7805448770523071, - 1.9122700691223145 - ] - }, - { - "mesh":20, - "name":"area_oneFloor_8", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.4022426903247833, - 0.7146603465080261, - 0.5250645875930786 - ], - "translation":[ - -3.4341917037963867, - 1.7805448770523071, - 1.9122700691223145 - ] - }, - { - "mesh":21, - "name":"area_oneFloor_9", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.21257124841213226, - 0.7335620522499084, - 0.5707659125328064 - ], - "translation":[ - -5.669098854064941, - 1.7369049787521362, - 0.9023839235305786 - ] - }, - { - "mesh":22, - "name":"area_oneFloor_10", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.13782186806201935, - 0.7335620522499084, - 1.704160451889038 - ], - "translation":[ - -7.438165187835693, - 1.7369049787521362, - 3.3201518058776855 - ] - }, - { - "mesh":23, - "name":"area_oneFloor_11", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.4022426903247833, - 0.7335620522499084, - 0.6661871671676636 - ], - "translation":[ - -11.566232681274414, - 1.7369049787521362, - 1.9122700691223145 - ] - }, - { - "mesh":24, - "name":"area_oneFloor_12", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.21257124841213226, - 0.7335620522499084, - 0.9791874289512634 - ], - "translation":[ - -8.525168418884277, - 1.7369049787521362, - 0.9023839235305786 - ] - }, - { - "mesh":25, - "name":"area_oneFloor_13", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.13782186806201935, - 0.7335620522499084, - 1.766610026359558 - ], - "translation":[ - 5.151973247528076, - 1.7369049787521362, - 3.3201518058776855 - ] - }, - { - "mesh":26, - "name":"area_oneFloor_14", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.4022426903247833, - 0.7335620522499084, - 0.4851452708244324 - ], - "translation":[ - 9.118657112121582, - 1.7369049787521362, - 1.9122700691223145 - ] - }, - { - "mesh":27, - "name":"area_oneFloor_35kV", - "scale":[ - 2.2075014114379883, - 0.7146603465080261, - 1.7242292165756226 - ], - "translation":[ - -2.267503023147583, - 1.7805448770523071, - -3.710536241531372 - ] - }, - { - "mesh":28, - "name":"area_oneFloor_220kV", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.9470660090446472, - 0.7146603465080261, - 0.925947368144989 - ], - "translation":[ - 11.779894828796387, - 1.7805448770523071, - -1.1800193786621094 - ] - }, - { - "mesh":29, - "name":"smokeDetector01.001", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - 11.780548095703125, - 4.0292744636535645, - -0.8378077745437622 - ] - }, - { - "mesh":30, - "name":"smokeDetector01.002", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -6.347562789916992, - 4.0292744636535645, - -3.708427906036377 - ] - }, - { - "mesh":31, - "name":"smokeDetector01.003", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -1.1513783931732178, - 4.0292744636535645, - 1.8834291696548462 - ] - }, - { - "mesh":32, - "name":"smokeDetector01.005", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - 6.390563488006592, - 4.0292744636535645, - 0.7731325030326843 - ] - }, - { - "mesh":33, - "name":"smokeDetector01.006", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - 3.6821115016937256, - 4.0292744636535645, - -3.708427906036377 - ] - }, - { - "mesh":34, - "name":"smokeDetector01.007", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - 3.342294692993164, - 4.0292744636535645, - 0.7731325030326843 - ] - }, - { - "mesh":35, - "name":"smokeDetector01.008", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - 5.159143447875977, - 4.0292744636535645, - 3.1350364685058594 - ] - }, - { - "mesh":36, - "name":"smokeDetector01.012", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -11.519529342651367, - 4.0292744636535645, - 1.8834291696548462 - ] - }, - { - "mesh":37, - "name":"smokeDetector01.013", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -5.697536945343018, - 4.0292744636535645, - 0.7731325030326843 - ] - }, - { - "mesh":38, - "name":"smokeDetector01.015", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -7.510348320007324, - 4.0292744636535645, - 3.147148370742798 - ] - }, - { - "mesh":39, - "name":"smokeDetector01.018", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -0.9535527229309082, - 4.0292744636535645, - 5.234508037567139 - ] - }, - { - "mesh":40, - "name":"manual.001", - "rotation":[ - 0.70710688829422, - 0, - 0, - 0.7071066498756409 - ], - "scale":[ - 0.001308166771195829, - 0.0013081668876111507, - 0.0013081668876111507 - ], - "translation":[ - -0.8757175207138062, - 1.5954439640045166, - -6.688319683074951 - ] - }, - { - "mesh":41, - "name":"manual.002", - "rotation":[ - 0, - 0.7071068286895752, - -0.7071068286895752, - 3.090862321641907e-08 - ], - "scale":[ - 0.0013081671204417944, - 0.0013081668876111507, - 0.0013081668876111507 - ], - "translation":[ - -8.376651763916016, - 1.5954439640045166, - 6.353463172912598 - ] - }, - { - "mesh":42, - "name":"manual.003", - "rotation":[ - 0, - 0.7071068286895752, - -0.7071068286895752, - 3.090862321641907e-08 - ], - "scale":[ - 0.0013081671204417944, - 0.0013081668876111507, - 0.0013081668876111507 - ], - "translation":[ - 10.214296340942383, - 1.5954439640045166, - 6.353463172912598 - ] - }, - { - "mesh":43, - "name":"manual.004", - "rotation":[ - 0.5, - -0.5, - 0.5, - 0.5 - ], - "scale":[ - 0.001308166771195829, - 0.001308166771195829, - 0.001308166771195829 - ], - "translation":[ - -14.605454444885254, - 1.5954439640045166, - -5.517807960510254 - ] - }, - { - "mesh":44, - "name":"acoustoOptic", - "rotation":[ - 0, - 0.7071068286895752, - -0.7071068286895752, - 3.0908619663705394e-08 - ], - "scale":[ - 0.001523286453448236, - 0.0015232863370329142, - 0.0015232863370329142 - ], - "translation":[ - -9.31497573852539, - 1.5226513147354126, - -0.7881531715393066 - ] - }, - { - "mesh":45, - "name":"acoustoOptic.001", - "rotation":[ - 0, - 0.7071068286895752, - -0.7071068286895752, - 3.0908619663705394e-08 - ], - "scale":[ - 0.001523286453448236, - 0.0015232863370329142, - 0.0015232863370329142 - ], - "translation":[ - 7.623941421508789, - 1.5226513147354126, - -0.7881531715393066 - ] - }, - { - "mesh":46, - "name":"acoustoOptic.002", - "rotation":[ - 0.5, - -0.5000000596046448, - 0.5000001192092896, - 0.5 - ], - "scale":[ - 0.0015232863370329142, - 0.0015232863370329142, - 0.0015232863370329142 - ], - "translation":[ - 9.933733940124512, - 1.5226513147354126, - -5.2018632888793945 - ] - }, - { - "mesh":47, - "name":"acoustoOptic.003", - "rotation":[ - 0.70710688829422, - 0, - 0, - 0.7071066498756409 - ], - "scale":[ - 0.0015232861042022705, - 0.0015232863370329142, - 0.0015232863370329142 - ], - "translation":[ - -7.518199920654297, - 1.5226513147354126, - 4.391946315765381 - ] - }, - { - "mesh":48, - "name":"acoustoOptic.004", - "rotation":[ - 0.70710688829422, - 0, - 0, - 0.7071066498756409 - ], - "scale":[ - 0.0015232861042022705, - 0.0015232863370329142, - 0.0015232863370329142 - ], - "translation":[ - 5.340070724487305, - 1.5226513147354126, - 4.391946315765381 - ] - } - ], - "materials":[ - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"wall_1_2.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.8145488500595093, - 0.8783859014511108, - 0.9490088224411011, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.9683772325515747 - } - }, - { - "doubleSided":true, - "name":"Red_Metal.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9100000262260437, - 0, - 0.10000000149011612, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.6900347471237183 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0.6000000238418579 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"Black_Plastic.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.019179999828338623, - 0.019179999828338623, - 0.019179999828338623, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8267949223518372 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0.6000000238418579 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"Yellow_Plastic.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9100000262260437, - 0.8399999737739563, - 0, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8267949223518372 - } - }, - { - "doubleSided":true, - "name":"Smooth_Metal.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.5400000214576721, - 0.5400000214576721, - 0.5400000214576721, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.6900347471237183 - } - }, - { - "doubleSided":true, - "name":"Label.001", - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":0 - }, - "metallicFactor":0, - "roughnessFactor":0.6900347471237183 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0.4000000059604645 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"Rubber.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.016168000176548958, - 0.016168000176548958, - 0.016168000176548958, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8267949223518372 - } - }, - { - "doubleSided":true, - "name":"Rough_Metal.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.49000000953674316, - 0.49000000953674316, - 0.49000000953674316, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.6900347471237183 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0.6000000238418579 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"Red_Plastic.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9100000262260437, - 0.23999999463558197, - 0.25, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8267949223518372 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0.6000000238418579 - } - }, - "name":"white.001", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.7550510168075562 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"ground_1.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9415221214294434, - 0.9415221214294434, - 0.9415221214294434, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.9683772325515747 - } - }, - { - "doubleSided":true, - "name":"\u6750\u8d28.004", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.8682516813278198, - 0.8406069278717041, - 0.8116991519927979, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.005", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9426673054695129, - 0.9890609979629517, - 1, - 0.2142857313156128 - ], - "metallicFactor":0, - "roughnessFactor":0.5267857313156128 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.010", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.0646882876753807, - 1, - 0, - 0.05000000074505806 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.012", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.14513267576694489, - 0, - 0.8000074625015259, - 0.05000000074505806 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.009", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.8000074625015259, - 0.011844722554087639, - 0.7630969285964966, - 0.05000000074505806 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.008", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.8000074625015259, - 0.7738820314407349, - 0, - 0.05000000074505806 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.003", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.13898643851280212, - 0.22885896265506744, - 1, - 0.15000000596046448 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime._\u94c1\u5e72\u51c0.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.5960784554481506, - 0.5960784554481506, - 0.5960784554481506, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.858578622341156 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularColorFactor":[ - 2.0, - 2.0, - 2.0 - ] - }, - "KHR_materials_ior":{ - "ior":1.4500000476837158 - } - }, - "name":"17323384844943326272", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.6666666865348816, - 0, - 0, - 1 - ], - "roughnessFactor":0.8964735269546509 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularColorFactor":[ - 2.0, - 2.0, - 2.0 - ] - }, - "KHR_materials_ior":{ - "ior":1.4500000476837158 - } - }, - "name":"8627208545043949574", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.7529411911964417, - 0.7529411911964417, - 0.7529411911964417, - 1 - ], - "roughnessFactor":0.8964735269546509 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime._PVC\u767d\u54d1\u5149.001", - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":1 - }, - "metallicFactor":0, - "roughnessFactor":0.858578622341156 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularColorFactor":[ - 2.0, - 2.0, - 2.0 - ] - } - }, - "name":"17323384844943326272.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.6666666865348816, - 0, - 0, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8964735269546509 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularColorFactor":[ - 2.0, - 2.0, - 2.0 - ] - } - }, - "name":"8627208545043949574.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.7529411911964417, - 0.7529411911964417, - 0.7529411911964417, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8964735269546509 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime._\u4e9a\u514b\u529b\u900f\u660e\u7ea2\u8272.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.7843137979507446, - 0.7843137979507446, - 0.7843137979507446, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.858578622341156 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime._PVC\u9ed1\u8272\u54d1\u5149.001", - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":2 - }, - "metallicFactor":0, - "roughnessFactor":0.858578622341156 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218725.001", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218723.001", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218724.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0, - 0, - 0, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218721.001", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218614.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.5881999731063843, - 0.058800000697374344, - 0.058800000697374344, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218726.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.8823999762535095, - 0.6431000232696533, - 0, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218722.001", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - } - ], - "meshes":[ - { - "name":"\u751f\u4ea7\u7efc\u5408\u697c\u4e00\u697c.001", - "primitives":[ - { - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - }, - "indices":3, - "material":0 - }, - { - "attributes":{ - "POSITION":4, - "NORMAL":5, - "TEXCOORD_0":6 - }, - "indices":7, - "material":1 - }, - { - "attributes":{ - "POSITION":8, - "NORMAL":9, - "TEXCOORD_0":10 - }, - "indices":11, - "material":2 - }, - { - "attributes":{ - "POSITION":12, - "NORMAL":13, - "TEXCOORD_0":14 - }, - "indices":15, - "material":3 - }, - { - "attributes":{ - "POSITION":16, - "NORMAL":17, - "TEXCOORD_0":18 - }, - "indices":19, - "material":4 - }, - { - "attributes":{ - "POSITION":20, - "NORMAL":21, - "TEXCOORD_0":22 - }, - "indices":23, - "material":5 - }, - { - "attributes":{ - "POSITION":24, - "NORMAL":25, - "TEXCOORD_0":26 - }, - "indices":27, - "material":6 - }, - { - "attributes":{ - "POSITION":28, - "NORMAL":29, - "TEXCOORD_0":30 - }, - "indices":31, - "material":7 - }, - { - "attributes":{ - "POSITION":32, - "NORMAL":33, - "TEXCOORD_0":34 - }, - "indices":35, - "material":8 - }, - { - "attributes":{ - "POSITION":36, - "NORMAL":37, - "TEXCOORD_0":38 - }, - "indices":39, - "material":9 - }, - { - "attributes":{ - "POSITION":40, - "NORMAL":41, - "TEXCOORD_0":42 - }, - "indices":43, - "material":10 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.024", - "primitives":[ - { - "attributes":{ - "POSITION":44, - "NORMAL":45, - "TEXCOORD_0":46 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.025", - "primitives":[ - { - "attributes":{ - "POSITION":48, - "NORMAL":49, - "TEXCOORD_0":50 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.026", - "primitives":[ - { - "attributes":{ - "POSITION":51, - "NORMAL":52, - "TEXCOORD_0":53 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.027", - "primitives":[ - { - "attributes":{ - "POSITION":54, - "NORMAL":55, - "TEXCOORD_0":56 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.028", - "primitives":[ - { - "attributes":{ - "POSITION":57, - "NORMAL":58, - "TEXCOORD_0":59 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.029", - "primitives":[ - { - "attributes":{ - "POSITION":60, - "NORMAL":61, - "TEXCOORD_0":62 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.030", - "primitives":[ - { - "attributes":{ - "POSITION":63, - "NORMAL":64, - "TEXCOORD_0":65 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.031", - "primitives":[ - { - "attributes":{ - "POSITION":66, - "NORMAL":67, - "TEXCOORD_0":68 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.032", - "primitives":[ - { - "attributes":{ - "POSITION":69, - "NORMAL":70, - "TEXCOORD_0":71 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.036", - "primitives":[ - { - "attributes":{ - "POSITION":72, - "NORMAL":73, - "TEXCOORD_0":74 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.037", - "primitives":[ - { - "attributes":{ - "POSITION":75, - "NORMAL":76, - "TEXCOORD_0":77 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.038", - "primitives":[ - { - "attributes":{ - "POSITION":78, - "NORMAL":79, - "TEXCOORD_0":80 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.039", - "primitives":[ - { - "attributes":{ - "POSITION":81, - "NORMAL":82, - "TEXCOORD_0":83 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.040", - "primitives":[ - { - "attributes":{ - "POSITION":84, - "NORMAL":85, - "TEXCOORD_0":86 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.043", - "primitives":[ - { - "attributes":{ - "POSITION":87, - "NORMAL":88, - "TEXCOORD_0":89 - }, - "indices":90, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.019", - "primitives":[ - { - "attributes":{ - "POSITION":91, - "NORMAL":92, - "TEXCOORD_0":93 - }, - "indices":94, - "material":13 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.018", - "primitives":[ - { - "attributes":{ - "POSITION":95, - "NORMAL":96, - "TEXCOORD_0":97 - }, - "indices":94, - "material":13 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.012", - "primitives":[ - { - "attributes":{ - "POSITION":98, - "NORMAL":99, - "TEXCOORD_0":100 - }, - "indices":94, - "material":14 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.011", - "primitives":[ - { - "attributes":{ - "POSITION":101, - "NORMAL":102, - "TEXCOORD_0":103 - }, - "indices":94, - "material":14 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.010", - "primitives":[ - { - "attributes":{ - "POSITION":104, - "NORMAL":105, - "TEXCOORD_0":106 - }, - "indices":94, - "material":14 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.015", - "primitives":[ - { - "attributes":{ - "POSITION":107, - "NORMAL":108, - "TEXCOORD_0":109 - }, - "indices":94, - "material":13 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.016", - "primitives":[ - { - "attributes":{ - "POSITION":110, - "NORMAL":111, - "TEXCOORD_0":112 - }, - "indices":94, - "material":15 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.009", - "primitives":[ - { - "attributes":{ - "POSITION":113, - "NORMAL":114, - "TEXCOORD_0":115 - }, - "indices":94, - "material":16 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.013", - "primitives":[ - { - "attributes":{ - "POSITION":116, - "NORMAL":117, - "TEXCOORD_0":118 - }, - "indices":94, - "material":13 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.045", - "primitives":[ - { - "attributes":{ - "POSITION":119, - "NORMAL":120, - "TEXCOORD_0":121 - }, - "indices":94, - "material":15 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.044", - "primitives":[ - { - "attributes":{ - "POSITION":122, - "NORMAL":123, - "TEXCOORD_0":124 - }, - "indices":94, - "material":16 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.007", - "primitives":[ - { - "attributes":{ - "POSITION":125, - "NORMAL":126, - "TEXCOORD_0":127 - }, - "indices":94, - "material":17 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.006", - "primitives":[ - { - "attributes":{ - "POSITION":128, - "NORMAL":129, - "TEXCOORD_0":130 - }, - "indices":94, - "material":17 - } - ] - }, - { - "name":"smokeSon.013", - "primitives":[ - { - "attributes":{ - "POSITION":131, - "NORMAL":132, - "TEXCOORD_0":133 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":135, - "NORMAL":136, - "TEXCOORD_0":137 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":139, - "NORMAL":140, - "TEXCOORD_0":141 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":143, - "NORMAL":144, - "TEXCOORD_0":145 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":147, - "NORMAL":148, - "TEXCOORD_0":149 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":151, - "NORMAL":152, - "TEXCOORD_0":153 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":155, - "NORMAL":156, - "TEXCOORD_0":157 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":159, - "NORMAL":160, - "TEXCOORD_0":161 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"smokeSon.007", - "primitives":[ - { - "attributes":{ - "POSITION":163, - "NORMAL":164, - "TEXCOORD_0":165 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":166, - "NORMAL":167, - "TEXCOORD_0":168 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":169, - "NORMAL":170, - "TEXCOORD_0":171 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":172, - "NORMAL":173, - "TEXCOORD_0":174 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":175, - "NORMAL":176, - "TEXCOORD_0":177 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":178, - "NORMAL":179, - "TEXCOORD_0":180 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":181, - "NORMAL":182, - "TEXCOORD_0":183 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":184, - "NORMAL":185, - "TEXCOORD_0":186 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"smokeSon.032", - "primitives":[ - { - "attributes":{ - "POSITION":187, - "NORMAL":188, - "TEXCOORD_0":189 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":190, - "NORMAL":191, - "TEXCOORD_0":192 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":193, - "NORMAL":194, - "TEXCOORD_0":195 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":196, - "NORMAL":197, - "TEXCOORD_0":198 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":199, - "NORMAL":200, - "TEXCOORD_0":201 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":202, - "NORMAL":203, - "TEXCOORD_0":204 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":205, - "NORMAL":206, - "TEXCOORD_0":207 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":208, - "NORMAL":209, - "TEXCOORD_0":210 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"smokeSon.016", - "primitives":[ - { - "attributes":{ - "POSITION":211, - "NORMAL":212, - "TEXCOORD_0":213 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":214, - "NORMAL":215, - "TEXCOORD_0":216 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":217, - "NORMAL":218, - "TEXCOORD_0":219 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":220, - "NORMAL":221, - "TEXCOORD_0":222 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":223, - "NORMAL":224, - "TEXCOORD_0":225 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":226, - "NORMAL":227, - "TEXCOORD_0":228 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":229, - "NORMAL":230, - "TEXCOORD_0":231 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":232, - "NORMAL":233, - "TEXCOORD_0":234 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"smokeSon.011", - "primitives":[ - { - "attributes":{ - "POSITION":235, - "NORMAL":236, - "TEXCOORD_0":237 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":238, - "NORMAL":239, - "TEXCOORD_0":240 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":241, - "NORMAL":242, - "TEXCOORD_0":243 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":244, - "NORMAL":245, - "TEXCOORD_0":246 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":247, - "NORMAL":248, - "TEXCOORD_0":249 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":250, - "NORMAL":251, - "TEXCOORD_0":252 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":253, - "NORMAL":254, - "TEXCOORD_0":255 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":256, - "NORMAL":257, - "TEXCOORD_0":258 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"smokeSon.017", - "primitives":[ - { - "attributes":{ - "POSITION":259, - "NORMAL":260, - "TEXCOORD_0":261 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":262, - "NORMAL":263, - "TEXCOORD_0":264 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":265, - "NORMAL":266, - "TEXCOORD_0":267 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":268, - "NORMAL":269, - "TEXCOORD_0":270 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":271, - "NORMAL":272, - "TEXCOORD_0":273 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":274, - "NORMAL":275, - "TEXCOORD_0":276 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":277, - "NORMAL":278, - "TEXCOORD_0":279 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":280, - "NORMAL":281, - "TEXCOORD_0":282 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"smokeSon.018", - "primitives":[ - { - "attributes":{ - "POSITION":283, - "NORMAL":284, - "TEXCOORD_0":285 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":286, - "NORMAL":287, - "TEXCOORD_0":288 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":289, - "NORMAL":290, - "TEXCOORD_0":291 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":292, - "NORMAL":293, - "TEXCOORD_0":294 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":295, - "NORMAL":296, - "TEXCOORD_0":297 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":298, - "NORMAL":299, - "TEXCOORD_0":300 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":301, - "NORMAL":302, - "TEXCOORD_0":303 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":304, - "NORMAL":305, - "TEXCOORD_0":306 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"smokeSon.034", - "primitives":[ - { - "attributes":{ - "POSITION":307, - "NORMAL":308, - "TEXCOORD_0":309 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":310, - "NORMAL":311, - "TEXCOORD_0":312 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":313, - "NORMAL":314, - "TEXCOORD_0":315 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":316, - "NORMAL":317, - "TEXCOORD_0":318 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":319, - "NORMAL":320, - "TEXCOORD_0":321 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":322, - "NORMAL":323, - "TEXCOORD_0":324 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":325, - "NORMAL":326, - "TEXCOORD_0":327 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":328, - "NORMAL":329, - "TEXCOORD_0":330 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"smokeSon.035", - "primitives":[ - { - "attributes":{ - "POSITION":331, - "NORMAL":332, - "TEXCOORD_0":333 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":334, - "NORMAL":335, - "TEXCOORD_0":336 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":337, - "NORMAL":338, - "TEXCOORD_0":339 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":340, - "NORMAL":341, - "TEXCOORD_0":342 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":343, - "NORMAL":344, - "TEXCOORD_0":345 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":346, - "NORMAL":347, - "TEXCOORD_0":348 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":349, - "NORMAL":350, - "TEXCOORD_0":351 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":352, - "NORMAL":353, - "TEXCOORD_0":354 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"smokeSon.037", - "primitives":[ - { - "attributes":{ - "POSITION":355, - "NORMAL":356, - "TEXCOORD_0":357 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":358, - "NORMAL":359, - "TEXCOORD_0":360 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":361, - "NORMAL":362, - "TEXCOORD_0":363 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":364, - "NORMAL":365, - "TEXCOORD_0":366 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":367, - "NORMAL":368, - "TEXCOORD_0":369 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":370, - "NORMAL":371, - "TEXCOORD_0":372 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":373, - "NORMAL":374, - "TEXCOORD_0":375 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":376, - "NORMAL":377, - "TEXCOORD_0":378 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"smokeSon.040", - "primitives":[ - { - "attributes":{ - "POSITION":379, - "NORMAL":380, - "TEXCOORD_0":381 - }, - "indices":134, - "material":18 - }, - { - "attributes":{ - "POSITION":382, - "NORMAL":383, - "TEXCOORD_0":384 - }, - "indices":138, - "material":19 - }, - { - "attributes":{ - "POSITION":385, - "NORMAL":386, - "TEXCOORD_0":387 - }, - "indices":142, - "material":20 - }, - { - "attributes":{ - "POSITION":388, - "NORMAL":389, - "TEXCOORD_0":390 - }, - "indices":146, - "material":21 - }, - { - "attributes":{ - "POSITION":391, - "NORMAL":392, - "TEXCOORD_0":393 - }, - "indices":150, - "material":22 - }, - { - "attributes":{ - "POSITION":394, - "NORMAL":395, - "TEXCOORD_0":396 - }, - "indices":154, - "material":23 - }, - { - "attributes":{ - "POSITION":397, - "NORMAL":398, - "TEXCOORD_0":399 - }, - "indices":158, - "material":24 - }, - { - "attributes":{ - "POSITION":400, - "NORMAL":401, - "TEXCOORD_0":402 - }, - "indices":162, - "material":25 - } - ] - }, - { - "name":"manualSon", - "primitives":[ - { - "attributes":{ - "POSITION":403, - "NORMAL":404, - "TEXCOORD_0":405 - }, - "indices":406, - "material":26 - }, - { - "attributes":{ - "POSITION":407, - "NORMAL":408, - "TEXCOORD_0":409 - }, - "indices":410, - "material":27 - }, - { - "attributes":{ - "POSITION":411, - "NORMAL":412, - "TEXCOORD_0":413 - }, - "indices":414, - "material":28 - }, - { - "attributes":{ - "POSITION":415, - "NORMAL":416, - "TEXCOORD_0":417 - }, - "indices":418, - "material":29 - }, - { - "attributes":{ - "POSITION":419, - "NORMAL":420, - "TEXCOORD_0":421 - }, - "indices":422, - "material":30 - }, - { - "attributes":{ - "POSITION":423, - "NORMAL":424, - "TEXCOORD_0":425 - }, - "indices":426, - "material":31 - } - ] - }, - { - "name":"manualSon.001", - "primitives":[ - { - "attributes":{ - "POSITION":427, - "NORMAL":428, - "TEXCOORD_0":429 - }, - "indices":406, - "material":26 - }, - { - "attributes":{ - "POSITION":430, - "NORMAL":431, - "TEXCOORD_0":432 - }, - "indices":410, - "material":27 - }, - { - "attributes":{ - "POSITION":433, - "NORMAL":434, - "TEXCOORD_0":435 - }, - "indices":414, - "material":28 - }, - { - "attributes":{ - "POSITION":436, - "NORMAL":437, - "TEXCOORD_0":438 - }, - "indices":418, - "material":29 - }, - { - "attributes":{ - "POSITION":439, - "NORMAL":440, - "TEXCOORD_0":441 - }, - "indices":422, - "material":30 - }, - { - "attributes":{ - "POSITION":442, - "NORMAL":443, - "TEXCOORD_0":444 - }, - "indices":426, - "material":31 - } - ] - }, - { - "name":"manualSon.002", - "primitives":[ - { - "attributes":{ - "POSITION":445, - "NORMAL":446, - "TEXCOORD_0":447 - }, - "indices":406, - "material":26 - }, - { - "attributes":{ - "POSITION":448, - "NORMAL":449, - "TEXCOORD_0":450 - }, - "indices":410, - "material":27 - }, - { - "attributes":{ - "POSITION":451, - "NORMAL":452, - "TEXCOORD_0":453 - }, - "indices":414, - "material":28 - }, - { - "attributes":{ - "POSITION":454, - "NORMAL":455, - "TEXCOORD_0":456 - }, - "indices":418, - "material":29 - }, - { - "attributes":{ - "POSITION":457, - "NORMAL":458, - "TEXCOORD_0":459 - }, - "indices":422, - "material":30 - }, - { - "attributes":{ - "POSITION":460, - "NORMAL":461, - "TEXCOORD_0":462 - }, - "indices":426, - "material":31 - } - ] - }, - { - "name":"manualSon.003", - "primitives":[ - { - "attributes":{ - "POSITION":463, - "NORMAL":464, - "TEXCOORD_0":465 - }, - "indices":406, - "material":26 - }, - { - "attributes":{ - "POSITION":466, - "NORMAL":467, - "TEXCOORD_0":468 - }, - "indices":410, - "material":27 - }, - { - "attributes":{ - "POSITION":469, - "NORMAL":470, - "TEXCOORD_0":471 - }, - "indices":414, - "material":28 - }, - { - "attributes":{ - "POSITION":472, - "NORMAL":473, - "TEXCOORD_0":474 - }, - "indices":418, - "material":29 - }, - { - "attributes":{ - "POSITION":475, - "NORMAL":476, - "TEXCOORD_0":477 - }, - "indices":422, - "material":30 - }, - { - "attributes":{ - "POSITION":478, - "NORMAL":479, - "TEXCOORD_0":480 - }, - "indices":426, - "material":31 - } - ] - }, - { - "name":"acoustoSon.001", - "primitives":[ - { - "attributes":{ - "POSITION":481, - "NORMAL":482, - "TEXCOORD_0":483 - }, - "indices":484, - "material":30 - }, - { - "attributes":{ - "POSITION":485, - "NORMAL":486, - "TEXCOORD_0":487 - }, - "indices":488, - "material":29 - }, - { - "attributes":{ - "POSITION":489, - "NORMAL":490, - "TEXCOORD_0":491 - }, - "indices":492, - "material":32 - } - ] - }, - { - "name":"acoustoSon", - "primitives":[ - { - "attributes":{ - "POSITION":493, - "NORMAL":494, - "TEXCOORD_0":495 - }, - "indices":484, - "material":30 - }, - { - "attributes":{ - "POSITION":496, - "NORMAL":497, - "TEXCOORD_0":498 - }, - "indices":488, - "material":29 - }, - { - "attributes":{ - "POSITION":499, - "NORMAL":500, - "TEXCOORD_0":501 - }, - "indices":492, - "material":32 - } - ] - }, - { - "name":"acoustoSon.002", - "primitives":[ - { - "attributes":{ - "POSITION":502, - "NORMAL":503, - "TEXCOORD_0":504 - }, - "indices":484, - "material":30 - }, - { - "attributes":{ - "POSITION":505, - "NORMAL":506, - "TEXCOORD_0":507 - }, - "indices":488, - "material":29 - }, - { - "attributes":{ - "POSITION":508, - "NORMAL":509, - "TEXCOORD_0":510 - }, - "indices":492, - "material":32 - } - ] - }, - { - "name":"acoustoSon.003", - "primitives":[ - { - "attributes":{ - "POSITION":511, - "NORMAL":512, - "TEXCOORD_0":513 - }, - "indices":484, - "material":30 - }, - { - "attributes":{ - "POSITION":514, - "NORMAL":515, - "TEXCOORD_0":516 - }, - "indices":488, - "material":29 - }, - { - "attributes":{ - "POSITION":517, - "NORMAL":518, - "TEXCOORD_0":519 - }, - "indices":492, - "material":32 - } - ] - }, - { - "name":"acoustoSon.004", - "primitives":[ - { - "attributes":{ - "POSITION":520, - "NORMAL":521, - "TEXCOORD_0":522 - }, - "indices":484, - "material":30 - }, - { - "attributes":{ - "POSITION":523, - "NORMAL":524, - "TEXCOORD_0":525 - }, - "indices":488, - "material":29 - }, - { - "attributes":{ - "POSITION":526, - "NORMAL":527, - "TEXCOORD_0":528 - }, - "indices":492, - "material":32 - } - ] - } - ], - "textures":[ - { - "sampler":0, - "source":0 - }, - { - "sampler":0, - "source":1 - }, - { - "sampler":0, - "source":2 - } - ], - "images":[ - { - "mimeType":"image/jpeg", - "name":"materials_Label", - "uri":"materials_Label.jpg" - }, - { - "mimeType":"image/jpeg", - "name":"Bitmaptexture", - "uri":"Bitmaptexture.jpg" - }, - { - "mimeType":"image/jpeg", - "name":"Bitmaptexture", - "uri":"Bitmaptexture-1.jpg" - } - ], - "accessors":[ - { - "bufferView":0, - "componentType":5126, - "count":1419, - "max":[ - 2012.05126953125, - 1041.92919921875, - 0 - ], - "min":[ - 11.5355224609375, - 141.42919921875, - -204.30084228515625 - ], - "type":"VEC3" - }, - { - "bufferView":1, - "componentType":5126, - "count":1419, - "type":"VEC3" - }, - { - "bufferView":2, - "componentType":5126, - "count":1419, - "type":"VEC2" - }, - { - "bufferView":3, - "componentType":5123, - "count":3084, - "type":"SCALAR" - }, - { - "bufferView":4, - "componentType":5126, - "count":83878, - "max":[ - 1929.33251953125, - 1034.42919921875, - 0 - ], - "min":[ - 69.0591049194336, - 150.40338134765625, - -52.78406524658203 - ], - "type":"VEC3" - }, - { - "bufferView":5, - "componentType":5126, - "count":83878, - "type":"VEC3" - }, - { - "bufferView":6, - "componentType":5126, - "count":83878, - "type":"VEC2" - }, - { - "bufferView":7, - "componentType":5125, - "count":461448, - "type":"SCALAR" - }, - { - "bufferView":8, - "componentType":5126, - "count":32266, - "max":[ - 1922.090087890625, - 1026.8798828125, - -6.318971633911133 - ], - "min":[ - 63.4769172668457, - 157.95269775390625, - -28.0023250579834 - ], - "type":"VEC3" - }, - { - "bufferView":9, - "componentType":5126, - "count":32266, - "type":"VEC3" - }, - { - "bufferView":10, - "componentType":5126, - "count":32266, - "type":"VEC2" - }, - { - "bufferView":11, - "componentType":5123, - "count":138720, - "type":"SCALAR" - }, - { - "bufferView":12, - "componentType":5126, - "count":13498, - "max":[ - 1921.9810791015625, - 1026.759521484375, - -15.202320098876953 - ], - "min":[ - 60.728824615478516, - 158.07308959960938, - -61.42536544799805 - ], - "type":"VEC3" - }, - { - "bufferView":13, - "componentType":5126, - "count":13498, - "type":"VEC3" - }, - { - "bufferView":14, - "componentType":5126, - "count":13498, - "type":"VEC2" - }, - { - "bufferView":15, - "componentType":5123, - "count":65076, - "type":"SCALAR" - }, - { - "bufferView":16, - "componentType":5126, - "count":19992, - "max":[ - 1922.1739501953125, - 1026.9498291015625, - -17.021581649780273 - ], - "min":[ - 65.17977905273438, - 157.88275146484375, - -59.80107879638672 - ], - "type":"VEC3" - }, - { - "bufferView":17, - "componentType":5126, - "count":19992, - "type":"VEC3" - }, - { - "bufferView":18, - "componentType":5126, - "count":19992, - "type":"VEC2" - }, - { - "bufferView":19, - "componentType":5123, - "count":83844, - "type":"SCALAR" - }, - { - "bufferView":20, - "componentType":5126, - "count":1224, - "max":[ - 1929.1605224609375, - 1019.1984252929688, - -10.28382682800293 - ], - "min":[ - 72.04712677001953, - 165.63418579101562, - -41.63888168334961 - ], - "type":"VEC3" - }, - { - "bufferView":21, - "componentType":5126, - "count":1224, - "type":"VEC3" - }, - { - "bufferView":22, - "componentType":5126, - "count":1224, - "type":"VEC2" - }, - { - "bufferView":23, - "componentType":5123, - "count":4896, - "type":"SCALAR" - }, - { - "bufferView":24, - "componentType":5126, - "count":30192, - "max":[ - 1921.7530517578125, - 1026.8250732421875, - -23.05771827697754 - ], - "min":[ - 60.04264450073242, - 158.00750732421875, - -62.140079498291016 - ], - "type":"VEC3" - }, - { - "bufferView":25, - "componentType":5126, - "count":30192, - "type":"VEC3" - }, - { - "bufferView":26, - "componentType":5126, - "count":30192, - "type":"VEC2" - }, - { - "bufferView":27, - "componentType":5123, - "count":176256, - "type":"SCALAR" - }, - { - "bufferView":28, - "componentType":5126, - "count":26924, - "max":[ - 1925.616943359375, - 1030.290771484375, - -51.28443908691406 - ], - "min":[ - 72.96410369873047, - 154.54183959960938, - -60.5287971496582 - ], - "type":"VEC3" - }, - { - "bufferView":29, - "componentType":5126, - "count":26924, - "type":"VEC3" - }, - { - "bufferView":30, - "componentType":5126, - "count":26924, - "type":"VEC2" - }, - { - "bufferView":31, - "componentType":5123, - "count":154428, - "type":"SCALAR" - }, - { - "bufferView":32, - "componentType":5126, - "count":5066, - "max":[ - 1922.6004638671875, - 1027.7020263671875, - -60.04586410522461 - ], - "min":[ - 77.1158447265625, - 157.1305389404297, - -62.29999923706055 - ], - "type":"VEC3" - }, - { - "bufferView":33, - "componentType":5126, - "count":5066, - "type":"VEC3" - }, - { - "bufferView":34, - "componentType":5126, - "count":5066, - "type":"VEC2" - }, - { - "bufferView":35, - "componentType":5123, - "count":23868, - "type":"SCALAR" - }, - { - "bufferView":36, - "componentType":5126, - "count":876, - "max":[ - 1912.3330078125, - 897.771240234375, - 0 - ], - "min":[ - 10.535215377807617, - 299.3778991699219, - -162.80084228515625 - ], - "type":"VEC3" - }, - { - "bufferView":37, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":38, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":39, - "componentType":5123, - "count":1608, - "type":"SCALAR" - }, - { - "bufferView":40, - "componentType":5126, - "count":4, - "max":[ - 2012.05126953125, - 1041.92919921875, - 0 - ], - "min":[ - 10.53519344329834, - 141.42919921875, - 0 - ], - "type":"VEC3" - }, - { - "bufferView":41, - "componentType":5126, - "count":4, - "type":"VEC3" - }, - { - "bufferView":42, - "componentType":5126, - "count":4, - "type":"VEC2" - }, - { - "bufferView":43, - "componentType":5123, - "count":6, - "type":"SCALAR" - }, - { - "bufferView":44, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":45, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":46, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":47, - "componentType":5123, - "count":36, - "type":"SCALAR" - }, - { - "bufferView":48, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":49, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":50, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":51, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":52, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":53, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":54, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":55, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":56, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":57, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":58, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":59, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":60, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":61, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":62, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":63, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":64, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":65, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":66, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":67, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":68, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":69, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":70, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":71, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":72, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":73, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":74, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":75, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":76, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":77, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":78, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":79, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":80, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":81, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":82, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":83, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":84, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":85, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":86, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":87, - "componentType":5126, - "count":48, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":88, - "componentType":5126, - "count":48, - "type":"VEC3" - }, - { - "bufferView":89, - "componentType":5126, - "count":48, - "type":"VEC2" - }, - { - "bufferView":90, - "componentType":5123, - "count":96, - "type":"SCALAR" - }, - { - "bufferView":91, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":92, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":93, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":94, - "componentType":5123, - "count":1284, - "type":"SCALAR" - }, - { - "bufferView":95, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":96, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":97, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":98, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":99, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":100, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":101, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":102, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":103, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":104, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":105, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":106, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":107, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":108, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":109, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":110, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":111, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":112, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":113, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":114, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":115, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":116, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":117, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":118, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":119, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":120, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":121, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":122, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":123, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":124, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":125, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":126, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":127, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":128, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":129, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":130, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":131, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":132, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":133, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":134, - "componentType":5123, - "count":1380, - "type":"SCALAR" - }, - { - "bufferView":135, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":136, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":137, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":138, - "componentType":5123, - "count":159, - "type":"SCALAR" - }, - { - "bufferView":139, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":140, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":141, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":142, - "componentType":5123, - "count":681, - "type":"SCALAR" - }, - { - "bufferView":143, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":144, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":145, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":146, - "componentType":5123, - "count":15510, - "type":"SCALAR" - }, - { - "bufferView":147, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":148, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":149, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":150, - "componentType":5123, - "count":159, - "type":"SCALAR" - }, - { - "bufferView":151, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":152, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":153, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":154, - "componentType":5123, - "count":681, - "type":"SCALAR" - }, - { - "bufferView":155, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":156, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":157, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":158, - "componentType":5123, - "count":4596, - "type":"SCALAR" - }, - { - "bufferView":159, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":160, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":161, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":162, - "componentType":5123, - "count":612, - "type":"SCALAR" - }, - { - "bufferView":163, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":164, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":165, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":166, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":167, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":168, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":169, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":170, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":171, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":172, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":173, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":174, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":175, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":176, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":177, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":178, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":179, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":180, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":181, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":182, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":183, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":184, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":185, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":186, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":187, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":188, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":189, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":190, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":191, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":192, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":193, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":194, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":195, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":196, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":197, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":198, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":199, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":200, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":201, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":202, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":203, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":204, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":205, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":206, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":207, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":208, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":209, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":210, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":211, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":212, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":213, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":214, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":215, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":216, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":217, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":218, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":219, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":220, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":221, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":222, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":223, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":224, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":225, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":226, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":227, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":228, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":229, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":230, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":231, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":232, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":233, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":234, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":235, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":236, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":237, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":238, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":239, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":240, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":241, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":242, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":243, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":244, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":245, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":246, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":247, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":248, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":249, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":250, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":251, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":252, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":253, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":254, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":255, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":256, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":257, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":258, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":259, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":260, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":261, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":262, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":263, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":264, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":265, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":266, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":267, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":268, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":269, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":270, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":271, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":272, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":273, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":274, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":275, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":276, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":277, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":278, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":279, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":280, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":281, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":282, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":283, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":284, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":285, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":286, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":287, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":288, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":289, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":290, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":291, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":292, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":293, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":294, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":295, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":296, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":297, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":298, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":299, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":300, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":301, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":302, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":303, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":304, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":305, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":306, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":307, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":308, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":309, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":310, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":311, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":312, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":313, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":314, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":315, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":316, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":317, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":318, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":319, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":320, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":321, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":322, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":323, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":324, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":325, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":326, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":327, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":328, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":329, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":330, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":331, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":332, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":333, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":334, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":335, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":336, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":337, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":338, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":339, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":340, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":341, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":342, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":343, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":344, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":345, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":346, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":347, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":348, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":349, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":350, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":351, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":352, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":353, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":354, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":355, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":356, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":357, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":358, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":359, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":360, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":361, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":362, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":363, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":364, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":365, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":366, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":367, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":368, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":369, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":370, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":371, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":372, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":373, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":374, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":375, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":376, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":377, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":378, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":379, - "componentType":5126, - "count":484, - "max":[ - 67.95675659179688, - 135.84866333007812, - 3.6249728202819824 - ], - "min":[ - -67.95651245117188, - -9.1552734375e-05, - -3.6237540245056152 - ], - "type":"VEC3" - }, - { - "bufferView":380, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":381, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":382, - "componentType":5126, - "count":110, - "max":[ - 0.0003991086850874126, - 29.836435317993164, - 3.624075174331665 - ], - "min":[ - -0.0001533805625513196, - 29.83642578125, - 3.6236560344696045 - ], - "type":"VEC3" - }, - { - "bufferView":383, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":384, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":385, - "componentType":5126, - "count":340, - "max":[ - 0.0004845056973863393, - 29.836444854736328, - 3.624199390411377 - ], - "min":[ - -0.0002403650723863393, - 29.83642578125, - 3.6234750747680664 - ], - "type":"VEC3" - }, - { - "bufferView":386, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":387, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":388, - "componentType":5126, - "count":5198, - "max":[ - 72.48719787597656, - 140.3768310546875, - 85.16439819335938 - ], - "min":[ - -72.48695373535156, - -4.5284576416015625, - 3.6258392333984375 - ], - "type":"VEC3" - }, - { - "bufferView":389, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":390, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":391, - "componentType":5126, - "count":105, - "max":[ - 0.0003991086850874126, - 29.83628273010254, - 3.626028299331665 - ], - "min":[ - -0.0001533805625513196, - 29.836273193359375, - 3.6256091594696045 - ], - "type":"VEC3" - }, - { - "bufferView":392, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":393, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":394, - "componentType":5126, - "count":361, - "max":[ - 0.0004845056973863393, - 29.836292266845703, - 3.626152515411377 - ], - "min":[ - -0.0002403650723863393, - 29.836273193359375, - 3.6254281997680664 - ], - "type":"VEC3" - }, - { - "bufferView":395, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":396, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":397, - "componentType":5126, - "count":876, - "max":[ - 4.530564308166504, - 12.650650024414062, - 42.238014221191406 - ], - "min":[ - -4.530320167541504, - 3.5941162109375, - 21.947250366210938 - ], - "type":"VEC3" - }, - { - "bufferView":398, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":399, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":400, - "componentType":5126, - "count":208, - "max":[ - 47.29793930053711, - 115.19953918457031, - 67.05077362060547 - ], - "min":[ - -47.29769515991211, - 20.648834228515625, - 43.49245834350586 - ], - "type":"VEC3" - }, - { - "bufferView":401, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":402, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":403, - "componentType":5126, - "count":24, - "max":[ - 13.021364212036133, - 1.6915016174316406, - 7.1107563972473145 - ], - "min":[ - -13.021333694458008, - -1.6915283203125, - -7.1118388175964355 - ], - "type":"VEC3" - }, - { - "bufferView":404, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":405, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":406, - "componentType":5123, - "count":108, - "type":"SCALAR" - }, - { - "bufferView":407, - "componentType":5126, - "count":24, - "max":[ - 65.95124053955078, - -9.345321655273438, - -47.317344665527344 - ], - "min":[ - -63.718788146972656, - -12.632919311523438, - -109.93416595458984 - ], - "type":"VEC3" - }, - { - "bufferView":408, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":409, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":410, - "componentType":5123, - "count":36, - "type":"SCALAR" - }, - { - "bufferView":411, - "componentType":5126, - "count":56, - "max":[ - 6.455994606018066, - -4.045818328857422, - -55.41768264770508 - ], - "min":[ - -8.464814186096191, - -21.316020965576172, - -70.33845520019531 - ], - "type":"VEC3" - }, - { - "bufferView":412, - "componentType":5126, - "count":56, - "type":"VEC3" - }, - { - "bufferView":413, - "componentType":5126, - "count":56, - "type":"VEC2" - }, - { - "bufferView":414, - "componentType":5123, - "count":324, - "type":"SCALAR" - }, - { - "bufferView":415, - "componentType":5126, - "count":264, - "max":[ - 21.856386184692383, - 2.1676788330078125, - -14.157371520996094 - ], - "min":[ - -21.65622329711914, - -3.2716445922851562, - -163.54689025878906 - ], - "type":"VEC3" - }, - { - "bufferView":416, - "componentType":5126, - "count":264, - "type":"VEC3" - }, - { - "bufferView":417, - "componentType":5126, - "count":264, - "type":"VEC2" - }, - { - "bufferView":418, - "componentType":5123, - "count":1572, - "type":"SCALAR" - }, - { - "bufferView":419, - "componentType":5126, - "count":359, - "max":[ - 101.57325744628906, - -0.8252105712890625, - 23.536842346191406 - ], - "min":[ - -101.40745544433594, - -44.772010803222656, - -179.44387817382812 - ], - "type":"VEC3" - }, - { - "bufferView":420, - "componentType":5126, - "count":359, - "type":"VEC3" - }, - { - "bufferView":421, - "componentType":5126, - "count":359, - "type":"VEC2" - }, - { - "bufferView":422, - "componentType":5123, - "count":2154, - "type":"SCALAR" - }, - { - "bufferView":423, - "componentType":5126, - "count":320, - "max":[ - 34.19198989868164, - 0.4061775207519531, - 23.488929748535156 - ], - "min":[ - -34.19351577758789, - -4.217323303222656, - -35.298667907714844 - ], - "type":"VEC3" - }, - { - "bufferView":424, - "componentType":5126, - "count":320, - "type":"VEC3" - }, - { - "bufferView":425, - "componentType":5126, - "count":320, - "type":"VEC2" - }, - { - "bufferView":426, - "componentType":5123, - "count":1908, - "type":"SCALAR" - }, - { - "bufferView":427, - "componentType":5126, - "count":24, - "max":[ - 13.021364212036133, - 1.6915016174316406, - 7.1107563972473145 - ], - "min":[ - -13.021333694458008, - -1.6915283203125, - -7.1118388175964355 - ], - "type":"VEC3" - }, - { - "bufferView":428, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":429, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":430, - "componentType":5126, - "count":24, - "max":[ - 65.95124053955078, - -9.345321655273438, - -47.317344665527344 - ], - "min":[ - -63.718788146972656, - -12.632919311523438, - -109.93416595458984 - ], - "type":"VEC3" - }, - { - "bufferView":431, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":432, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":433, - "componentType":5126, - "count":56, - "max":[ - 6.455994606018066, - -4.045818328857422, - -55.41768264770508 - ], - "min":[ - -8.464814186096191, - -21.316020965576172, - -70.33845520019531 - ], - "type":"VEC3" - }, - { - "bufferView":434, - "componentType":5126, - "count":56, - "type":"VEC3" - }, - { - "bufferView":435, - "componentType":5126, - "count":56, - "type":"VEC2" - }, - { - "bufferView":436, - "componentType":5126, - "count":264, - "max":[ - 21.856386184692383, - 2.1676788330078125, - -14.157371520996094 - ], - "min":[ - -21.65622329711914, - -3.2716445922851562, - -163.54689025878906 - ], - "type":"VEC3" - }, - { - "bufferView":437, - "componentType":5126, - "count":264, - "type":"VEC3" - }, - { - "bufferView":438, - "componentType":5126, - "count":264, - "type":"VEC2" - }, - { - "bufferView":439, - "componentType":5126, - "count":359, - "max":[ - 101.57325744628906, - -0.8252105712890625, - 23.536842346191406 - ], - "min":[ - -101.40745544433594, - -44.772010803222656, - -179.44387817382812 - ], - "type":"VEC3" - }, - { - "bufferView":440, - "componentType":5126, - "count":359, - "type":"VEC3" - }, - { - "bufferView":441, - "componentType":5126, - "count":359, - "type":"VEC2" - }, - { - "bufferView":442, - "componentType":5126, - "count":320, - "max":[ - 34.19198989868164, - 0.4061775207519531, - 23.488929748535156 - ], - "min":[ - -34.19351577758789, - -4.217323303222656, - -35.298667907714844 - ], - "type":"VEC3" - }, - { - "bufferView":443, - "componentType":5126, - "count":320, - "type":"VEC3" - }, - { - "bufferView":444, - "componentType":5126, - "count":320, - "type":"VEC2" - }, - { - "bufferView":445, - "componentType":5126, - "count":24, - "max":[ - 13.021364212036133, - 1.6915016174316406, - 7.1107563972473145 - ], - "min":[ - -13.021333694458008, - -1.6915283203125, - -7.1118388175964355 - ], - "type":"VEC3" - }, - { - "bufferView":446, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":447, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":448, - "componentType":5126, - "count":24, - "max":[ - 65.95124053955078, - -9.345321655273438, - -47.317344665527344 - ], - "min":[ - -63.718788146972656, - -12.632919311523438, - -109.93416595458984 - ], - "type":"VEC3" - }, - { - "bufferView":449, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":450, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":451, - "componentType":5126, - "count":56, - "max":[ - 6.455994606018066, - -4.045818328857422, - -55.41768264770508 - ], - "min":[ - -8.464814186096191, - -21.316020965576172, - -70.33845520019531 - ], - "type":"VEC3" - }, - { - "bufferView":452, - "componentType":5126, - "count":56, - "type":"VEC3" - }, - { - "bufferView":453, - "componentType":5126, - "count":56, - "type":"VEC2" - }, - { - "bufferView":454, - "componentType":5126, - "count":264, - "max":[ - 21.856386184692383, - 2.1676788330078125, - -14.157371520996094 - ], - "min":[ - -21.65622329711914, - -3.2716445922851562, - -163.54689025878906 - ], - "type":"VEC3" - }, - { - "bufferView":455, - "componentType":5126, - "count":264, - "type":"VEC3" - }, - { - "bufferView":456, - "componentType":5126, - "count":264, - "type":"VEC2" - }, - { - "bufferView":457, - "componentType":5126, - "count":359, - "max":[ - 101.57325744628906, - -0.8252105712890625, - 23.536842346191406 - ], - "min":[ - -101.40745544433594, - -44.772010803222656, - -179.44387817382812 - ], - "type":"VEC3" - }, - { - "bufferView":458, - "componentType":5126, - "count":359, - "type":"VEC3" - }, - { - "bufferView":459, - "componentType":5126, - "count":359, - "type":"VEC2" - }, - { - "bufferView":460, - "componentType":5126, - "count":320, - "max":[ - 34.19198989868164, - 0.4061775207519531, - 23.488929748535156 - ], - "min":[ - -34.19351577758789, - -4.217323303222656, - -35.298667907714844 - ], - "type":"VEC3" - }, - { - "bufferView":461, - "componentType":5126, - "count":320, - "type":"VEC3" - }, - { - "bufferView":462, - "componentType":5126, - "count":320, - "type":"VEC2" - }, - { - "bufferView":463, - "componentType":5126, - "count":24, - "max":[ - 13.021364212036133, - 1.6915016174316406, - 7.1107563972473145 - ], - "min":[ - -13.021333694458008, - -1.6915283203125, - -7.1118388175964355 - ], - "type":"VEC3" - }, - { - "bufferView":464, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":465, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":466, - "componentType":5126, - "count":24, - "max":[ - 65.95124053955078, - -9.345321655273438, - -47.317344665527344 - ], - "min":[ - -63.718788146972656, - -12.632919311523438, - -109.93416595458984 - ], - "type":"VEC3" - }, - { - "bufferView":467, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":468, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":469, - "componentType":5126, - "count":56, - "max":[ - 6.455994606018066, - -4.045818328857422, - -55.41768264770508 - ], - "min":[ - -8.464814186096191, - -21.316020965576172, - -70.33845520019531 - ], - "type":"VEC3" - }, - { - "bufferView":470, - "componentType":5126, - "count":56, - "type":"VEC3" - }, - { - "bufferView":471, - "componentType":5126, - "count":56, - "type":"VEC2" - }, - { - "bufferView":472, - "componentType":5126, - "count":264, - "max":[ - 21.856386184692383, - 2.1676788330078125, - -14.157371520996094 - ], - "min":[ - -21.65622329711914, - -3.2716445922851562, - -163.54689025878906 - ], - "type":"VEC3" - }, - { - "bufferView":473, - "componentType":5126, - "count":264, - "type":"VEC3" - }, - { - "bufferView":474, - "componentType":5126, - "count":264, - "type":"VEC2" - }, - { - "bufferView":475, - "componentType":5126, - "count":359, - "max":[ - 101.57325744628906, - -0.8252105712890625, - 23.536842346191406 - ], - "min":[ - -101.40745544433594, - -44.772010803222656, - -179.44387817382812 - ], - "type":"VEC3" - }, - { - "bufferView":476, - "componentType":5126, - "count":359, - "type":"VEC3" - }, - { - "bufferView":477, - "componentType":5126, - "count":359, - "type":"VEC2" - }, - { - "bufferView":478, - "componentType":5126, - "count":320, - "max":[ - 34.19198989868164, - 0.4061775207519531, - 23.488929748535156 - ], - "min":[ - -34.19351577758789, - -4.217323303222656, - -35.298667907714844 - ], - "type":"VEC3" - }, - { - "bufferView":479, - "componentType":5126, - "count":320, - "type":"VEC3" - }, - { - "bufferView":480, - "componentType":5126, - "count":320, - "type":"VEC2" - }, - { - "bufferView":481, - "componentType":5126, - "count":473, - "max":[ - 87.87609100341797, - 35.40321731567383, - 134.8735809326172 - ], - "min":[ - -84.14942932128906, - -31.43939781188965, - -68.30488586425781 - ], - "type":"VEC3" - }, - { - "bufferView":482, - "componentType":5126, - "count":473, - "type":"VEC3" - }, - { - "bufferView":483, - "componentType":5126, - "count":473, - "type":"VEC2" - }, - { - "bufferView":484, - "componentType":5123, - "count":2397, - "type":"SCALAR" - }, - { - "bufferView":485, - "componentType":5126, - "count":5454, - "max":[ - 44.61032485961914, - 38.71009826660156, - 23.398839950561523 - ], - "min":[ - -38.05939483642578, - 18.445297241210938, - -33.273948669433594 - ], - "type":"VEC3" - }, - { - "bufferView":486, - "componentType":5126, - "count":5454, - "type":"VEC3" - }, - { - "bufferView":487, - "componentType":5126, - "count":5454, - "type":"VEC2" - }, - { - "bufferView":488, - "componentType":5123, - "count":32664, - "type":"SCALAR" - }, - { - "bufferView":489, - "componentType":5126, - "count":193, - "max":[ - 60.44671630859375, - 27.954917907714844, - 116.47122955322266 - ], - "min":[ - -55.01769256591797, - -27.358583450317383, - 39.982826232910156 - ], - "type":"VEC3" - }, - { - "bufferView":490, - "componentType":5126, - "count":193, - "type":"VEC3" - }, - { - "bufferView":491, - "componentType":5126, - "count":193, - "type":"VEC2" - }, - { - "bufferView":492, - "componentType":5123, - "count":717, - "type":"SCALAR" - }, - { - "bufferView":493, - "componentType":5126, - "count":473, - "max":[ - 87.87609100341797, - 35.40321731567383, - 134.8735809326172 - ], - "min":[ - -84.14942932128906, - -31.43939781188965, - -68.30488586425781 - ], - "type":"VEC3" - }, - { - "bufferView":494, - "componentType":5126, - "count":473, - "type":"VEC3" - }, - { - "bufferView":495, - "componentType":5126, - "count":473, - "type":"VEC2" - }, - { - "bufferView":496, - "componentType":5126, - "count":5454, - "max":[ - 44.61032485961914, - 38.71009826660156, - 23.398839950561523 - ], - "min":[ - -38.05939483642578, - 18.445297241210938, - -33.273948669433594 - ], - "type":"VEC3" - }, - { - "bufferView":497, - "componentType":5126, - "count":5454, - "type":"VEC3" - }, - { - "bufferView":498, - "componentType":5126, - "count":5454, - "type":"VEC2" - }, - { - "bufferView":499, - "componentType":5126, - "count":193, - "max":[ - 60.44671630859375, - 27.954917907714844, - 116.47122955322266 - ], - "min":[ - -55.01769256591797, - -27.358583450317383, - 39.982826232910156 - ], - "type":"VEC3" - }, - { - "bufferView":500, - "componentType":5126, - "count":193, - "type":"VEC3" - }, - { - "bufferView":501, - "componentType":5126, - "count":193, - "type":"VEC2" - }, - { - "bufferView":502, - "componentType":5126, - "count":473, - "max":[ - 87.87609100341797, - 35.40321731567383, - 134.8735809326172 - ], - "min":[ - -84.14942932128906, - -31.43939781188965, - -68.30488586425781 - ], - "type":"VEC3" - }, - { - "bufferView":503, - "componentType":5126, - "count":473, - "type":"VEC3" - }, - { - "bufferView":504, - "componentType":5126, - "count":473, - "type":"VEC2" - }, - { - "bufferView":505, - "componentType":5126, - "count":5454, - "max":[ - 44.61032485961914, - 38.71009826660156, - 23.398839950561523 - ], - "min":[ - -38.05939483642578, - 18.445297241210938, - -33.273948669433594 - ], - "type":"VEC3" - }, - { - "bufferView":506, - "componentType":5126, - "count":5454, - "type":"VEC3" - }, - { - "bufferView":507, - "componentType":5126, - "count":5454, - "type":"VEC2" - }, - { - "bufferView":508, - "componentType":5126, - "count":193, - "max":[ - 60.44671630859375, - 27.954917907714844, - 116.47122955322266 - ], - "min":[ - -55.01769256591797, - -27.358583450317383, - 39.982826232910156 - ], - "type":"VEC3" - }, - { - "bufferView":509, - "componentType":5126, - "count":193, - "type":"VEC3" - }, - { - "bufferView":510, - "componentType":5126, - "count":193, - "type":"VEC2" - }, - { - "bufferView":511, - "componentType":5126, - "count":473, - "max":[ - 87.87609100341797, - 35.40321731567383, - 134.8735809326172 - ], - "min":[ - -84.14942932128906, - -31.43939781188965, - -68.30488586425781 - ], - "type":"VEC3" - }, - { - "bufferView":512, - "componentType":5126, - "count":473, - "type":"VEC3" - }, - { - "bufferView":513, - "componentType":5126, - "count":473, - "type":"VEC2" - }, - { - "bufferView":514, - "componentType":5126, - "count":5454, - "max":[ - 44.61032485961914, - 38.71009826660156, - 23.398839950561523 - ], - "min":[ - -38.05939483642578, - 18.445297241210938, - -33.273948669433594 - ], - "type":"VEC3" - }, - { - "bufferView":515, - "componentType":5126, - "count":5454, - "type":"VEC3" - }, - { - "bufferView":516, - "componentType":5126, - "count":5454, - "type":"VEC2" - }, - { - "bufferView":517, - "componentType":5126, - "count":193, - "max":[ - 60.44671630859375, - 27.954917907714844, - 116.47122955322266 - ], - "min":[ - -55.01769256591797, - -27.358583450317383, - 39.982826232910156 - ], - "type":"VEC3" - }, - { - "bufferView":518, - "componentType":5126, - "count":193, - "type":"VEC3" - }, - { - "bufferView":519, - "componentType":5126, - "count":193, - "type":"VEC2" - }, - { - "bufferView":520, - "componentType":5126, - "count":473, - "max":[ - 87.87609100341797, - 35.40321731567383, - 134.8735809326172 - ], - "min":[ - -84.14942932128906, - -31.43939781188965, - -68.30488586425781 - ], - "type":"VEC3" - }, - { - "bufferView":521, - "componentType":5126, - "count":473, - "type":"VEC3" - }, - { - "bufferView":522, - "componentType":5126, - "count":473, - "type":"VEC2" - }, - { - "bufferView":523, - "componentType":5126, - "count":5454, - "max":[ - 44.61032485961914, - 38.71009826660156, - 23.398839950561523 - ], - "min":[ - -38.05939483642578, - 18.445297241210938, - -33.273948669433594 - ], - "type":"VEC3" - }, - { - "bufferView":524, - "componentType":5126, - "count":5454, - "type":"VEC3" - }, - { - "bufferView":525, - "componentType":5126, - "count":5454, - "type":"VEC2" - }, - { - "bufferView":526, - "componentType":5126, - "count":193, - "max":[ - 60.44671630859375, - 27.954917907714844, - 116.47122955322266 - ], - "min":[ - -55.01769256591797, - -27.358583450317383, - 39.982826232910156 - ], - "type":"VEC3" - }, - { - "bufferView":527, - "componentType":5126, - "count":193, - "type":"VEC3" - }, - { - "bufferView":528, - "componentType":5126, - "count":193, - "type":"VEC2" - } - ], - "bufferViews":[ - { - "buffer":0, - "byteLength":17028, - "byteOffset":0, - "target":34962 - }, - { - "buffer":0, - "byteLength":17028, - "byteOffset":17028, - "target":34962 - }, - { - "buffer":0, - "byteLength":11352, - "byteOffset":34056, - "target":34962 - }, - { - "buffer":0, - "byteLength":6168, - "byteOffset":45408, - "target":34963 - }, - { - "buffer":0, - "byteLength":1006536, - "byteOffset":51576, - "target":34962 - }, - { - "buffer":0, - "byteLength":1006536, - "byteOffset":1058112, - "target":34962 - }, - { - "buffer":0, - "byteLength":671024, - "byteOffset":2064648, - "target":34962 - }, - { - "buffer":0, - "byteLength":1845792, - "byteOffset":2735672, - "target":34963 - }, - { - "buffer":0, - "byteLength":387192, - "byteOffset":4581464, - "target":34962 - }, - { - "buffer":0, - "byteLength":387192, - "byteOffset":4968656, - "target":34962 - }, - { - "buffer":0, - "byteLength":258128, - "byteOffset":5355848, - "target":34962 - }, - { - "buffer":0, - "byteLength":277440, - "byteOffset":5613976, - "target":34963 - }, - { - "buffer":0, - "byteLength":161976, - "byteOffset":5891416, - "target":34962 - }, - { - "buffer":0, - "byteLength":161976, - "byteOffset":6053392, - "target":34962 - }, - { - "buffer":0, - "byteLength":107984, - "byteOffset":6215368, - "target":34962 - }, - { - "buffer":0, - "byteLength":130152, - "byteOffset":6323352, - "target":34963 - }, - { - "buffer":0, - "byteLength":239904, - "byteOffset":6453504, - "target":34962 - }, - { - "buffer":0, - "byteLength":239904, - "byteOffset":6693408, - "target":34962 - }, - { - "buffer":0, - "byteLength":159936, - "byteOffset":6933312, - "target":34962 - }, - { - "buffer":0, - "byteLength":167688, - "byteOffset":7093248, - "target":34963 - }, - { - "buffer":0, - "byteLength":14688, - "byteOffset":7260936, - "target":34962 - }, - { - "buffer":0, - "byteLength":14688, - "byteOffset":7275624, - "target":34962 - }, - { - "buffer":0, - "byteLength":9792, - "byteOffset":7290312, - "target":34962 - }, - { - "buffer":0, - "byteLength":9792, - "byteOffset":7300104, - "target":34963 - }, - { - "buffer":0, - "byteLength":362304, - "byteOffset":7309896, - "target":34962 - }, - { - "buffer":0, - "byteLength":362304, - "byteOffset":7672200, - "target":34962 - }, - { - "buffer":0, - "byteLength":241536, - "byteOffset":8034504, - "target":34962 - }, - { - "buffer":0, - "byteLength":352512, - "byteOffset":8276040, - "target":34963 - }, - { - "buffer":0, - "byteLength":323088, - "byteOffset":8628552, - "target":34962 - }, - { - "buffer":0, - "byteLength":323088, - "byteOffset":8951640, - "target":34962 - }, - { - "buffer":0, - "byteLength":215392, - "byteOffset":9274728, - "target":34962 - }, - { - "buffer":0, - "byteLength":308856, - "byteOffset":9490120, - "target":34963 - }, - { - "buffer":0, - "byteLength":60792, - "byteOffset":9798976, - "target":34962 - }, - { - "buffer":0, - "byteLength":60792, - "byteOffset":9859768, - "target":34962 - }, - { - "buffer":0, - "byteLength":40528, - "byteOffset":9920560, - "target":34962 - }, - { - "buffer":0, - "byteLength":47736, - "byteOffset":9961088, - "target":34963 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10008824, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10019336, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":10029848, - "target":34962 - }, - { - "buffer":0, - "byteLength":3216, - "byteOffset":10036856, - "target":34963 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":10040072, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":10040120, - "target":34962 - }, - { - "buffer":0, - "byteLength":32, - "byteOffset":10040168, - "target":34962 - }, - { - "buffer":0, - "byteLength":12, - "byteOffset":10040200, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10040212, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10040500, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10040788, - "target":34962 - }, - { - "buffer":0, - "byteLength":72, - "byteOffset":10040980, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10041052, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10041340, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10041628, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10041820, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10042108, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10042396, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10042588, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10042876, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10043164, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10043356, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10043644, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10043932, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10044124, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10044412, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10044700, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10044892, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10045180, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10045468, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10045660, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10045948, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10046236, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10046428, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10046716, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10047004, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10047196, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10047484, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10047772, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10047964, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10048252, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10048540, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10048732, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10049020, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10049308, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10049500, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10049788, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10050076, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10050268, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10050556, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10050844, - "target":34962 - }, - { - "buffer":0, - "byteLength":576, - "byteOffset":10051036, - "target":34962 - }, - { - "buffer":0, - "byteLength":576, - "byteOffset":10051612, - "target":34962 - }, - { - "buffer":0, - "byteLength":384, - "byteOffset":10052188, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10052572, - "target":34963 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10052764, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10063132, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10073500, - "target":34962 - }, - { - "buffer":0, - "byteLength":2568, - "byteOffset":10080412, - "target":34963 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10082980, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10093348, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10103716, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10110628, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10120996, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10131364, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10138276, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10148644, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10159012, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10165924, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10176292, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10186660, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10193572, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10203940, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10214308, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10221220, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10231588, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10241956, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10248868, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10259236, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10269604, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10276516, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10286884, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10297252, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10304164, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10314532, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10324900, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10331812, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10342180, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10352548, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10359460, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10369828, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10380196, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10387108, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10397476, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10407844, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10414756, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10420564, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":10426372, - "target":34962 - }, - { - "buffer":0, - "byteLength":2760, - "byteOffset":10430244, - "target":34963 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10433004, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10434324, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":10435644, - "target":34962 - }, - { - "buffer":0, - "byteLength":318, - "byteOffset":10436524, - "target":34963 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10436844, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10440924, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":10445004, - "target":34962 - }, - { - "buffer":0, - "byteLength":1362, - "byteOffset":10447724, - "target":34963 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":10449088, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":10511464, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":10573840, - "target":34962 - }, - { - "buffer":0, - "byteLength":31020, - "byteOffset":10615424, - "target":34963 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":10646444, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":10647704, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":10648964, - "target":34962 - }, - { - "buffer":0, - "byteLength":318, - "byteOffset":10649804, - "target":34963 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":10650124, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":10654456, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":10658788, - "target":34962 - }, - { - "buffer":0, - "byteLength":1362, - "byteOffset":10661676, - "target":34963 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10663040, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10673552, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":10684064, - "target":34962 - }, - { - "buffer":0, - "byteLength":9192, - "byteOffset":10691072, - "target":34963 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":10700264, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":10702760, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":10705256, - "target":34962 - }, - { - "buffer":0, - "byteLength":1224, - "byteOffset":10706920, - "target":34963 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10708144, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10713952, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":10719760, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10723632, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10724952, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":10726272, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10727152, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10731232, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":10735312, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":10738032, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":10800408, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":10862784, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":10904368, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":10905628, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":10906888, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":10907728, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":10912060, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":10916392, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10919280, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10929792, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":10940304, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":10947312, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":10949808, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":10952304, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10953968, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10959776, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":10965584, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10969456, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10970776, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":10972096, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10972976, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10977056, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":10981136, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":10983856, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11046232, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":11108608, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11150192, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11151452, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":11152712, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11153552, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11157884, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":11162216, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11165104, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11175616, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":11186128, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11193136, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11195632, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":11198128, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11199792, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11205600, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":11211408, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11215280, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11216600, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":11217920, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11218800, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11222880, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":11226960, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11229680, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11292056, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":11354432, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11396016, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11397276, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":11398536, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11399376, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11403708, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":11408040, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11410928, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11421440, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":11431952, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11438960, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11441456, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":11443952, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11445616, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11451424, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":11457232, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11461104, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11462424, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":11463744, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11464624, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11468704, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":11472784, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11475504, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11537880, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":11600256, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11641840, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11643100, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":11644360, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11645200, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11649532, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":11653864, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11656752, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11667264, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":11677776, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11684784, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11687280, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":11689776, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11691440, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11697248, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":11703056, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11706928, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11708248, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":11709568, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11710448, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11714528, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":11718608, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11721328, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11783704, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":11846080, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11887664, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11888924, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":11890184, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11891024, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11895356, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":11899688, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11902576, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11913088, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":11923600, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11930608, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11933104, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":11935600, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11937264, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11943072, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":11948880, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11952752, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11954072, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":11955392, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11956272, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11960352, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":11964432, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11967152, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12029528, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":12091904, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12133488, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12134748, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":12136008, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12136848, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12141180, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":12145512, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12148400, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12158912, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":12169424, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12176432, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12178928, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":12181424, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12183088, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12188896, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":12194704, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12198576, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12199896, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":12201216, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12202096, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12206176, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":12210256, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12212976, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12275352, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":12337728, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12379312, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12380572, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":12381832, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12382672, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12387004, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":12391336, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12394224, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12404736, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":12415248, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12422256, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12424752, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":12427248, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12428912, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12434720, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":12440528, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12444400, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12445720, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":12447040, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12447920, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12452000, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":12456080, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12458800, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12521176, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":12583552, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12625136, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12626396, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":12627656, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12628496, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12632828, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":12637160, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12640048, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12650560, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":12661072, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12668080, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12670576, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":12673072, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12674736, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12680544, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":12686352, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12690224, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12691544, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":12692864, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12693744, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12697824, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":12701904, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12704624, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12767000, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":12829376, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12870960, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12872220, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":12873480, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12874320, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12878652, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":12882984, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12885872, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12896384, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":12906896, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12913904, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12916400, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":12918896, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12920560, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12926368, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":12932176, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12936048, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12937368, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":12938688, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12939568, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12943648, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":12947728, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12950448, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":13012824, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":13075200, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":13116784, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":13118044, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":13119304, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":13120144, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":13124476, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":13128808, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":13131696, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":13142208, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":13152720, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":13159728, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":13162224, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":13164720, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13166384, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13166672, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13166960, - "target":34962 - }, - { - "buffer":0, - "byteLength":216, - "byteOffset":13167152, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13167368, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13167656, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13167944, - "target":34962 - }, - { - "buffer":0, - "byteLength":72, - "byteOffset":13168136, - "target":34963 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13168208, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13168880, - "target":34962 - }, - { - "buffer":0, - "byteLength":448, - "byteOffset":13169552, - "target":34962 - }, - { - "buffer":0, - "byteLength":648, - "byteOffset":13170000, - "target":34963 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13170648, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13173816, - "target":34962 - }, - { - "buffer":0, - "byteLength":2112, - "byteOffset":13176984, - "target":34962 - }, - { - "buffer":0, - "byteLength":3144, - "byteOffset":13179096, - "target":34963 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13182240, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13186548, - "target":34962 - }, - { - "buffer":0, - "byteLength":2872, - "byteOffset":13190856, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13193728, - "target":34963 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13198036, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13201876, - "target":34962 - }, - { - "buffer":0, - "byteLength":2560, - "byteOffset":13205716, - "target":34962 - }, - { - "buffer":0, - "byteLength":3816, - "byteOffset":13208276, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13212092, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13212380, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13212668, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13212860, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13213148, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13213436, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13213628, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13214300, - "target":34962 - }, - { - "buffer":0, - "byteLength":448, - "byteOffset":13214972, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13215420, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13218588, - "target":34962 - }, - { - "buffer":0, - "byteLength":2112, - "byteOffset":13221756, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13223868, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13228176, - "target":34962 - }, - { - "buffer":0, - "byteLength":2872, - "byteOffset":13232484, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13235356, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13239196, - "target":34962 - }, - { - "buffer":0, - "byteLength":2560, - "byteOffset":13243036, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13245596, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13245884, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13246172, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13246364, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13246652, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13246940, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13247132, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13247804, - "target":34962 - }, - { - "buffer":0, - "byteLength":448, - "byteOffset":13248476, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13248924, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13252092, - "target":34962 - }, - { - "buffer":0, - "byteLength":2112, - "byteOffset":13255260, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13257372, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13261680, - "target":34962 - }, - { - "buffer":0, - "byteLength":2872, - "byteOffset":13265988, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13268860, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13272700, - "target":34962 - }, - { - "buffer":0, - "byteLength":2560, - "byteOffset":13276540, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13279100, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13279388, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13279676, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13279868, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13280156, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13280444, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13280636, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13281308, - "target":34962 - }, - { - "buffer":0, - "byteLength":448, - "byteOffset":13281980, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13282428, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13285596, - "target":34962 - }, - { - "buffer":0, - "byteLength":2112, - "byteOffset":13288764, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13290876, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13295184, - "target":34962 - }, - { - "buffer":0, - "byteLength":2872, - "byteOffset":13299492, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13302364, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13306204, - "target":34962 - }, - { - "buffer":0, - "byteLength":2560, - "byteOffset":13310044, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13312604, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13318280, - "target":34962 - }, - { - "buffer":0, - "byteLength":3784, - "byteOffset":13323956, - "target":34962 - }, - { - "buffer":0, - "byteLength":4794, - "byteOffset":13327740, - "target":34963 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13332536, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13397984, - "target":34962 - }, - { - "buffer":0, - "byteLength":43632, - "byteOffset":13463432, - "target":34962 - }, - { - "buffer":0, - "byteLength":65328, - "byteOffset":13507064, - "target":34963 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13572392, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13574708, - "target":34962 - }, - { - "buffer":0, - "byteLength":1544, - "byteOffset":13577024, - "target":34962 - }, - { - "buffer":0, - "byteLength":1434, - "byteOffset":13578568, - "target":34963 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13580004, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13585680, - "target":34962 - }, - { - "buffer":0, - "byteLength":3784, - "byteOffset":13591356, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13595140, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13660588, - "target":34962 - }, - { - "buffer":0, - "byteLength":43632, - "byteOffset":13726036, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13769668, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13771984, - "target":34962 - }, - { - "buffer":0, - "byteLength":1544, - "byteOffset":13774300, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13775844, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13781520, - "target":34962 - }, - { - "buffer":0, - "byteLength":3784, - "byteOffset":13787196, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13790980, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13856428, - "target":34962 - }, - { - "buffer":0, - "byteLength":43632, - "byteOffset":13921876, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13965508, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13967824, - "target":34962 - }, - { - "buffer":0, - "byteLength":1544, - "byteOffset":13970140, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13971684, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13977360, - "target":34962 - }, - { - "buffer":0, - "byteLength":3784, - "byteOffset":13983036, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13986820, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":14052268, - "target":34962 - }, - { - "buffer":0, - "byteLength":43632, - "byteOffset":14117716, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":14161348, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":14163664, - "target":34962 - }, - { - "buffer":0, - "byteLength":1544, - "byteOffset":14165980, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":14167524, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":14173200, - "target":34962 - }, - { - "buffer":0, - "byteLength":3784, - "byteOffset":14178876, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":14182660, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":14248108, - "target":34962 - }, - { - "buffer":0, - "byteLength":43632, - "byteOffset":14313556, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":14357188, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":14359504, - "target":34962 - }, - { - "buffer":0, - "byteLength":1544, - "byteOffset":14361820, - "target":34962 - } - ], - "samplers":[ - { - "magFilter":9729, - "minFilter":9987 - } - ], - "buffers":[ - { - "byteLength":14363364, - "uri":"ground_floor05.bin" - } - ] -} diff --git a/webVue/models/groundFloor/ground_floor06.bin b/webVue/models/groundFloor/ground_floor06.bin deleted file mode 100644 index 8872e11..0000000 Binary files a/webVue/models/groundFloor/ground_floor06.bin and /dev/null differ diff --git a/webVue/models/groundFloor/ground_floor06.gltf b/webVue/models/groundFloor/ground_floor06.gltf deleted file mode 100644 index 834d871..0000000 --- a/webVue/models/groundFloor/ground_floor06.gltf +++ /dev/null @@ -1,11440 +0,0 @@ -{ - "asset":{ - "generator":"Khronos glTF Blender I/O v5.0.21", - "version":"2.0" - }, - "extensionsUsed":[ - "KHR_materials_transmission", - "KHR_materials_specular", - "KHR_materials_ior" - ], - "scene":0, - "scenes":[ - { - "name":"Scene", - "nodes":[ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 46, - 47, - 48 - ] - } - ], - "nodes":[ - { - "mesh":0, - "name":"model_scene", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.014842470176517963, - 0.014842470176517963, - 0.014842470176517963 - ], - "translation":[ - -14.818470001220703, - 0, - -8.95805835723877 - ] - }, - { - "mesh":1, - "name":"\u7acb\u65b9\u4f53.001", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - -7.484963417053223, - 1.4832736253738403, - 6.443909168243408 - ] - }, - { - "mesh":2, - "name":"\u7acb\u65b9\u4f53.002", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - -0.8958725929260254, - 1.4832736253738403, - 6.443909168243408 - ] - }, - { - "mesh":3, - "name":"\u7acb\u65b9\u4f53.003", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - 5.208726406097412, - 1.4832736253738403, - 6.443909168243408 - ] - }, - { - "mesh":4, - "name":"\u7acb\u65b9\u4f53.004", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - 11.725144386291504, - 1.4832736253738403, - 6.443909168243408 - ] - }, - { - "mesh":5, - "name":"\u7acb\u65b9\u4f53", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5526615977287292, - 4.49843168258667, - 1 - ], - "translation":[ - -11.091999053955078, - 1.4443719387054443, - 6.444415092468262 - ] - }, - { - "mesh":6, - "name":"\u7acb\u65b9\u4f53.005", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.48934125900268555, - 4.49843168258667, - 0.9203721284866333 - ], - "translation":[ - -4.221906661987305, - 1.4443719387054443, - 6.4405622482299805 - ] - }, - { - "mesh":7, - "name":"\u7acb\u65b9\u4f53.006", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.48934125900268555, - 4.49843168258667, - 0.8728037476539612 - ], - "translation":[ - 2.2191834449768066, - 1.4443719387054443, - 6.4405622482299805 - ] - }, - { - "mesh":8, - "name":"\u7acb\u65b9\u4f53.007", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.48934125900268555, - 4.49843168258667, - 0.9000150561332703 - ], - "translation":[ - 8.38709545135498, - 1.4443719387054443, - 6.4405622482299805 - ] - }, - { - "mesh":9, - "name":"\u7acb\u65b9\u4f53.008", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.48014819622039795, - 4.49843168258667, - 0.46502742171287537 - ], - "translation":[ - 13.396820068359375, - 1.4443719387054443, - 6.440002918243408 - ] - }, - { - "mesh":10, - "name":"\u7acb\u65b9\u4f53.009", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - -14.632072448730469, - 1.4832736253738403, - 6.443909168243408 - ] - }, - { - "mesh":11, - "name":"\u7acb\u65b9\u4f53.010", - "rotation":[ - 0, - 0, - 1, - 3.7748971948303733e-08 - ], - "scale":[ - 0.5526615977287292, - 4.49843168258667, - 0.4932527542114258 - ], - "translation":[ - -14.632407188415527, - 1.4443719387054443, - 4.83738899230957 - ] - }, - { - "mesh":12, - "name":"\u7acb\u65b9\u4f53.011", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - -14.632072448730469, - 1.4832736253738403, - 2.9910945892333984 - ] - }, - { - "mesh":13, - "name":"\u7acb\u65b9\u4f53.012", - "rotation":[ - -0.7071068286895752, - 0, - -0.7071068286895752, - 4.216080373709019e-09 - ], - "scale":[ - 0.5819587707519531, - 3.5953621864318848, - 0.5765058994293213 - ], - "translation":[ - -14.632072448730469, - 1.4832736253738403, - -0.6158475875854492 - ] - }, - { - "mesh":14, - "name":"\u7acb\u65b9\u4f53.013", - "rotation":[ - 0, - 0, - 1, - 3.7748971948303733e-08 - ], - "scale":[ - 0.5526615977287292, - 4.49843168258667, - 0.4932527542114258 - ], - "translation":[ - -14.632407188415527, - 1.4443719387054443, - 1.2093355655670166 - ] - }, - { - "mesh":15, - "name":"\u7acb\u65b9\u4f53.014", - "rotation":[ - 0, - 0, - 1, - 3.7748971948303733e-08 - ], - "scale":[ - 0.5526615977287292, - 4.49843168258667, - 0.8792715668678284 - ], - "translation":[ - -14.632407188415527, - 1.4443719387054443, - -3.773420572280884 - ] - }, - { - "mesh":16, - "name":"area_oneFloor_3", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.21257124841213226, - 0.7335620522499084, - 1.0368707180023193 - ], - "translation":[ - 6.319515228271484, - 1.7369049787521362, - 0.9023839235305786 - ] - }, - { - "mesh":17, - "name":"area_oneFloor_4", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.21257124841213226, - 0.7335620522499084, - 0.5707659125328064 - ], - "translation":[ - 3.357022285461426, - 1.7369049787521362, - 0.9023839235305786 - ] - }, - { - "mesh":18, - "name":"area_oneFloor_6", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.4022426903247833, - 0.7146603465080261, - 0.5646018981933594 - ], - "translation":[ - 1.169703483581543, - 1.7805448770523071, - 1.9122700691223145 - ] - }, - { - "mesh":19, - "name":"area_oneFloor_7", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.4022426903247833, - 0.7146603465080261, - 0.6747844815254211 - ], - "translation":[ - -1.1586058139801025, - 1.7805448770523071, - 1.9122700691223145 - ] - }, - { - "mesh":20, - "name":"area_oneFloor_8", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.4022426903247833, - 0.7146603465080261, - 0.5250645875930786 - ], - "translation":[ - -3.4341917037963867, - 1.7805448770523071, - 1.9122700691223145 - ] - }, - { - "mesh":21, - "name":"area_oneFloor_9", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.21257124841213226, - 0.7335620522499084, - 0.5707659125328064 - ], - "translation":[ - -5.669098854064941, - 1.7369049787521362, - 0.9023839235305786 - ] - }, - { - "mesh":22, - "name":"area_oneFloor_10", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.13782186806201935, - 0.7335620522499084, - 1.704160451889038 - ], - "translation":[ - -7.438165187835693, - 1.7369049787521362, - 3.3201518058776855 - ] - }, - { - "mesh":23, - "name":"area_oneFloor_11", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.4022426903247833, - 0.7335620522499084, - 0.6661871671676636 - ], - "translation":[ - -11.566232681274414, - 1.7369049787521362, - 1.9122700691223145 - ] - }, - { - "mesh":24, - "name":"area_oneFloor_12", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.21257124841213226, - 0.7335620522499084, - 0.9791874289512634 - ], - "translation":[ - -8.525168418884277, - 1.7369049787521362, - 0.9023839235305786 - ] - }, - { - "mesh":25, - "name":"area_oneFloor_13", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.13782186806201935, - 0.7335620522499084, - 1.766610026359558 - ], - "translation":[ - 5.151973247528076, - 1.7369049787521362, - 3.3201518058776855 - ] - }, - { - "mesh":26, - "name":"area_oneFloor_14", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.4022426903247833, - 0.7335620522499084, - 0.4851452708244324 - ], - "translation":[ - 9.118657112121582, - 1.7369049787521362, - 1.9122700691223145 - ] - }, - { - "mesh":27, - "name":"area_oneFloor_35kV", - "scale":[ - 2.2075014114379883, - 0.7146603465080261, - 1.7242292165756226 - ], - "translation":[ - -2.267503023147583, - 1.7805448770523071, - -3.710536241531372 - ] - }, - { - "mesh":28, - "name":"area_oneFloor_220kV", - "rotation":[ - 0, - -0.7071068286895752, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.9470660090446472, - 0.7146603465080261, - 0.925947368144989 - ], - "translation":[ - 11.779894828796387, - 1.7805448770523071, - -1.1800193786621094 - ] - }, - { - "mesh":29, - "name":"smokeDetector01.001", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - 11.780508995056152, - 3.912808656692505, - -0.7046666145324707 - ] - }, - { - "mesh":30, - "name":"smokeDetector01.002", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -6.347601890563965, - 3.912808656692505, - -3.575286865234375 - ] - }, - { - "mesh":31, - "name":"smokeDetector01.003", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -1.15141761302948, - 3.912808656692505, - 2.0165703296661377 - ] - }, - { - "mesh":32, - "name":"smokeDetector01.005", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - 6.390524387359619, - 3.912808656692505, - 0.906273603439331 - ] - }, - { - "mesh":33, - "name":"smokeDetector01.006", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - 3.682072401046753, - 3.912808656692505, - -3.575286865234375 - ] - }, - { - "mesh":34, - "name":"smokeDetector01.007", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - 3.3422555923461914, - 3.912808656692505, - 0.906273603439331 - ] - }, - { - "mesh":35, - "name":"smokeDetector01.008", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - 5.159104347229004, - 3.912808656692505, - 3.2681775093078613 - ] - }, - { - "mesh":36, - "name":"smokeDetector01.012", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -11.51956844329834, - 3.912808656692505, - 2.0165703296661377 - ] - }, - { - "mesh":37, - "name":"smokeDetector01.013", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -5.69757604598999, - 3.912808656692505, - 0.906273603439331 - ] - }, - { - "mesh":38, - "name":"smokeDetector01.015", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -7.510387420654297, - 3.912808656692505, - 3.2802894115448 - ] - }, - { - "mesh":39, - "name":"smokeDetector01.018", - "rotation":[ - 0.7071068286895752, - 0, - 0, - 0.7071068286895752 - ], - "scale":[ - 0.00238613854162395, - 0.0023861387744545937, - 0.0023861387744545937 - ], - "translation":[ - -0.9535918831825256, - 3.912808656692505, - 5.367649078369141 - ] - }, - { - "mesh":40, - "name":"manual.001", - "rotation":[ - 0.70710688829422, - 0, - 0, - 0.7071066498756409 - ], - "scale":[ - 0.001308166771195829, - 0.0013081668876111507, - 0.0013081668876111507 - ], - "translation":[ - -0.8749629259109497, - 1.671411395072937, - -6.6955952644348145 - ] - }, - { - "mesh":41, - "name":"manual.002", - "rotation":[ - 0, - 0.7071068286895752, - -0.7071068286895752, - 3.090862321641907e-08 - ], - "scale":[ - 0.0013081671204417944, - 0.0013081668876111507, - 0.0013081668876111507 - ], - "translation":[ - -8.377406120300293, - 1.671411395072937, - 6.360738754272461 - ] - }, - { - "mesh":42, - "name":"manual.003", - "rotation":[ - 0, - 0.7071068286895752, - -0.7071068286895752, - 3.090862321641907e-08 - ], - "scale":[ - 0.0013081671204417944, - 0.0013081668876111507, - 0.0013081668876111507 - ], - "translation":[ - 10.213541984558105, - 1.671411395072937, - 6.360738754272461 - ] - }, - { - "mesh":43, - "name":"manual.004", - "rotation":[ - 0.5, - 0.5, - -0.5, - 0.5000001192092896 - ], - "scale":[ - 0.001308166654780507, - 0.001308166654780507, - 0.001308166654780507 - ], - "translation":[ - -14.547691345214844, - 1.6714112758636475, - -5.518562316894531 - ] - }, - { - "mesh":44, - "name":"acoustoOptic", - "rotation":[ - 0, - 0.7071068286895752, - -0.7071068286895752, - 3.0908619663705394e-08 - ], - "scale":[ - 0.001523286453448236, - 0.0015232863370329142, - 0.0015232863370329142 - ], - "translation":[ - -9.31497573852539, - 1.5226513147354126, - -0.7881531715393066 - ] - }, - { - "mesh":45, - "name":"acoustoOptic.001", - "rotation":[ - 0, - 0.7071068286895752, - -0.7071068286895752, - 3.0908619663705394e-08 - ], - "scale":[ - 0.001523286453448236, - 0.0015232863370329142, - 0.0015232863370329142 - ], - "translation":[ - 7.623941421508789, - 1.5226513147354126, - -0.7881531715393066 - ] - }, - { - "mesh":46, - "name":"acoustoOptic.002", - "rotation":[ - 0.5, - -0.5000000596046448, - 0.5000001192092896, - 0.5 - ], - "scale":[ - 0.0015232863370329142, - 0.0015232863370329142, - 0.0015232863370329142 - ], - "translation":[ - 9.893027305603027, - 1.495643973350525, - -5.188037872314453 - ] - }, - { - "mesh":47, - "name":"acoustoOptic.003", - "rotation":[ - 0.70710688829422, - 0, - 0, - 0.7071066498756409 - ], - "scale":[ - 0.0015232861042022705, - 0.0015232863370329142, - 0.0015232863370329142 - ], - "translation":[ - -7.5043745040893555, - 1.495643973350525, - 4.432652950286865 - ] - }, - { - "mesh":48, - "name":"acoustoOptic.004", - "rotation":[ - 0.70710688829422, - 0, - 0, - 0.7071066498756409 - ], - "scale":[ - 0.0015232861042022705, - 0.0015232863370329142, - 0.0015232863370329142 - ], - "translation":[ - 5.353896141052246, - 1.495643973350525, - 4.432652950286865 - ] - } - ], - "materials":[ - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"wall_1_2.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.8145488500595093, - 0.8783859014511108, - 0.9490088224411011, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.9683772325515747 - } - }, - { - "doubleSided":true, - "name":"Red_Metal.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9100000262260437, - 0, - 0.10000000149011612, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.6900347471237183 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0.6000000238418579 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"Black_Plastic.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.019179999828338623, - 0.019179999828338623, - 0.019179999828338623, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8267949223518372 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0.6000000238418579 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"Yellow_Plastic.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9100000262260437, - 0.8399999737739563, - 0, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8267949223518372 - } - }, - { - "doubleSided":true, - "name":"Smooth_Metal.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.5400000214576721, - 0.5400000214576721, - 0.5400000214576721, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.6900347471237183 - } - }, - { - "doubleSided":true, - "name":"Label.001", - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":0 - }, - "metallicFactor":0, - "roughnessFactor":0.6900347471237183 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0.4000000059604645 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"Rubber.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.016168000176548958, - 0.016168000176548958, - 0.016168000176548958, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8267949223518372 - } - }, - { - "doubleSided":true, - "name":"Rough_Metal.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.49000000953674316, - 0.49000000953674316, - 0.49000000953674316, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.6900347471237183 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0.6000000238418579 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"Red_Plastic.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9100000262260437, - 0.23999999463558197, - 0.25, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8267949223518372 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0.6000000238418579 - } - }, - "name":"white.001", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.7550510168075562 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - }, - "KHR_materials_ior":{ - "ior":1 - } - }, - "name":"ground_1.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9415221214294434, - 0.9415221214294434, - 0.9415221214294434, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.9683772325515747 - } - }, - { - "doubleSided":true, - "name":"\u6750\u8d28.004", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.8682516813278198, - 0.8406069278717041, - 0.8116991519927979, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.005", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9426673054695129, - 0.9890609979629517, - 1, - 0.2142857313156128 - ], - "metallicFactor":0, - "roughnessFactor":0.5267857313156128 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.010", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.0646882876753807, - 1, - 0, - 0.05000000074505806 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.012", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.14513267576694489, - 0, - 0.8000074625015259, - 0.05000000074505806 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.009", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.8000074625015259, - 0.011844722554087639, - 0.7630969285964966, - 0.05000000074505806 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.008", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.8000074625015259, - 0.7738820314407349, - 0, - 0.05000000074505806 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "alphaMode":"BLEND", - "doubleSided":true, - "name":"\u6750\u8d28.003", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.13898643851280212, - 0.22885896265506744, - 1, - 0.15000000596046448 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularColorFactor":[ - 2.0, - 2.0, - 2.0 - ] - }, - "KHR_materials_ior":{ - "ior":1.4500000476837158 - } - }, - "name":"17323384844943326272", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.6666666865348816, - 0, - 0, - 1 - ], - "roughnessFactor":0.8964735269546509 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularColorFactor":[ - 2.0, - 2.0, - 2.0 - ] - }, - "KHR_materials_ior":{ - "ior":1.4500000476837158 - } - }, - "name":"8627208545043949574", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.7529411911964417, - 0.7529411911964417, - 0.7529411911964417, - 1 - ], - "roughnessFactor":0.8964735269546509 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime._PVC\u767d\u54d1\u5149.001", - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":1 - }, - "metallicFactor":0, - "roughnessFactor":0.858578622341156 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularColorFactor":[ - 2.0, - 2.0, - 2.0 - ] - } - }, - "name":"17323384844943326272.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.6666666865348816, - 0, - 0, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8964735269546509 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularColorFactor":[ - 2.0, - 2.0, - 2.0 - ] - } - }, - "name":"8627208545043949574.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.7529411911964417, - 0.7529411911964417, - 0.7529411911964417, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8964735269546509 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime._\u4e9a\u514b\u529b\u900f\u660e\u7ea2\u8272.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.7843137979507446, - 0.7843137979507446, - 0.7843137979507446, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.858578622341156 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime._PVC\u9ed1\u8272\u54d1\u5149.001", - "pbrMetallicRoughness":{ - "baseColorTexture":{ - "index":2 - }, - "metallicFactor":0, - "roughnessFactor":0.858578622341156 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime._\u94c1\u5e72\u51c0.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.5960784554481506, - 0.5960784554481506, - 0.5960784554481506, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.858578622341156 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218725.001", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218723.001", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218724.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0, - 0, - 0, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218721.001", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218614.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.5881999731063843, - 0.058800000697374344, - 0.058800000697374344, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218726.001", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.8823999762535095, - 0.6431000232696533, - 0, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_transmission":{ - "transmissionFactor":1 - }, - "KHR_materials_specular":{ - "specularFactor":0 - } - }, - "name":"Lime__JianE_Mtl_202481416124218722.001", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.8999999761581421 - } - } - ], - "meshes":[ - { - "name":"\u751f\u4ea7\u7efc\u5408\u697c\u4e00\u697c.001", - "primitives":[ - { - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - }, - "indices":3, - "material":0 - }, - { - "attributes":{ - "POSITION":4, - "NORMAL":5, - "TEXCOORD_0":6 - }, - "indices":7, - "material":1 - }, - { - "attributes":{ - "POSITION":8, - "NORMAL":9, - "TEXCOORD_0":10 - }, - "indices":11, - "material":2 - }, - { - "attributes":{ - "POSITION":12, - "NORMAL":13, - "TEXCOORD_0":14 - }, - "indices":15, - "material":3 - }, - { - "attributes":{ - "POSITION":16, - "NORMAL":17, - "TEXCOORD_0":18 - }, - "indices":19, - "material":4 - }, - { - "attributes":{ - "POSITION":20, - "NORMAL":21, - "TEXCOORD_0":22 - }, - "indices":23, - "material":5 - }, - { - "attributes":{ - "POSITION":24, - "NORMAL":25, - "TEXCOORD_0":26 - }, - "indices":27, - "material":6 - }, - { - "attributes":{ - "POSITION":28, - "NORMAL":29, - "TEXCOORD_0":30 - }, - "indices":31, - "material":7 - }, - { - "attributes":{ - "POSITION":32, - "NORMAL":33, - "TEXCOORD_0":34 - }, - "indices":35, - "material":8 - }, - { - "attributes":{ - "POSITION":36, - "NORMAL":37, - "TEXCOORD_0":38 - }, - "indices":39, - "material":9 - }, - { - "attributes":{ - "POSITION":40, - "NORMAL":41, - "TEXCOORD_0":42 - }, - "indices":43, - "material":10 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.024", - "primitives":[ - { - "attributes":{ - "POSITION":44, - "NORMAL":45, - "TEXCOORD_0":46 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.025", - "primitives":[ - { - "attributes":{ - "POSITION":48, - "NORMAL":49, - "TEXCOORD_0":50 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.026", - "primitives":[ - { - "attributes":{ - "POSITION":51, - "NORMAL":52, - "TEXCOORD_0":53 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.027", - "primitives":[ - { - "attributes":{ - "POSITION":54, - "NORMAL":55, - "TEXCOORD_0":56 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.028", - "primitives":[ - { - "attributes":{ - "POSITION":57, - "NORMAL":58, - "TEXCOORD_0":59 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.029", - "primitives":[ - { - "attributes":{ - "POSITION":60, - "NORMAL":61, - "TEXCOORD_0":62 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.030", - "primitives":[ - { - "attributes":{ - "POSITION":63, - "NORMAL":64, - "TEXCOORD_0":65 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.031", - "primitives":[ - { - "attributes":{ - "POSITION":66, - "NORMAL":67, - "TEXCOORD_0":68 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.032", - "primitives":[ - { - "attributes":{ - "POSITION":69, - "NORMAL":70, - "TEXCOORD_0":71 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.036", - "primitives":[ - { - "attributes":{ - "POSITION":72, - "NORMAL":73, - "TEXCOORD_0":74 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.037", - "primitives":[ - { - "attributes":{ - "POSITION":75, - "NORMAL":76, - "TEXCOORD_0":77 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.038", - "primitives":[ - { - "attributes":{ - "POSITION":78, - "NORMAL":79, - "TEXCOORD_0":80 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.039", - "primitives":[ - { - "attributes":{ - "POSITION":81, - "NORMAL":82, - "TEXCOORD_0":83 - }, - "indices":47, - "material":11 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.040", - "primitives":[ - { - "attributes":{ - "POSITION":84, - "NORMAL":85, - "TEXCOORD_0":86 - }, - "indices":47, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.043", - "primitives":[ - { - "attributes":{ - "POSITION":87, - "NORMAL":88, - "TEXCOORD_0":89 - }, - "indices":90, - "material":12 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.019", - "primitives":[ - { - "attributes":{ - "POSITION":91, - "NORMAL":92, - "TEXCOORD_0":93 - }, - "indices":94, - "material":13 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.018", - "primitives":[ - { - "attributes":{ - "POSITION":95, - "NORMAL":96, - "TEXCOORD_0":97 - }, - "indices":94, - "material":13 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.012", - "primitives":[ - { - "attributes":{ - "POSITION":98, - "NORMAL":99, - "TEXCOORD_0":100 - }, - "indices":94, - "material":14 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.011", - "primitives":[ - { - "attributes":{ - "POSITION":101, - "NORMAL":102, - "TEXCOORD_0":103 - }, - "indices":94, - "material":14 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.010", - "primitives":[ - { - "attributes":{ - "POSITION":104, - "NORMAL":105, - "TEXCOORD_0":106 - }, - "indices":94, - "material":14 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.015", - "primitives":[ - { - "attributes":{ - "POSITION":107, - "NORMAL":108, - "TEXCOORD_0":109 - }, - "indices":94, - "material":13 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.016", - "primitives":[ - { - "attributes":{ - "POSITION":110, - "NORMAL":111, - "TEXCOORD_0":112 - }, - "indices":94, - "material":15 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.009", - "primitives":[ - { - "attributes":{ - "POSITION":113, - "NORMAL":114, - "TEXCOORD_0":115 - }, - "indices":94, - "material":16 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.013", - "primitives":[ - { - "attributes":{ - "POSITION":116, - "NORMAL":117, - "TEXCOORD_0":118 - }, - "indices":94, - "material":13 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.045", - "primitives":[ - { - "attributes":{ - "POSITION":119, - "NORMAL":120, - "TEXCOORD_0":121 - }, - "indices":94, - "material":15 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.044", - "primitives":[ - { - "attributes":{ - "POSITION":122, - "NORMAL":123, - "TEXCOORD_0":124 - }, - "indices":94, - "material":16 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.007", - "primitives":[ - { - "attributes":{ - "POSITION":125, - "NORMAL":126, - "TEXCOORD_0":127 - }, - "indices":94, - "material":17 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.006", - "primitives":[ - { - "attributes":{ - "POSITION":128, - "NORMAL":129, - "TEXCOORD_0":130 - }, - "indices":94, - "material":17 - } - ] - }, - { - "name":"smokeSon.013", - "primitives":[ - { - "attributes":{ - "POSITION":131, - "NORMAL":132, - "TEXCOORD_0":133 - }, - "indices":134, - "material":10 - }, - { - "attributes":{ - "POSITION":135, - "NORMAL":136, - "TEXCOORD_0":137 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":139, - "NORMAL":140, - "TEXCOORD_0":141 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":143, - "NORMAL":144, - "TEXCOORD_0":145 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":147, - "NORMAL":148, - "TEXCOORD_0":149 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":151, - "NORMAL":152, - "TEXCOORD_0":153 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":155, - "NORMAL":156, - "TEXCOORD_0":157 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":159, - "NORMAL":160, - "TEXCOORD_0":161 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"smokeSon.007", - "primitives":[ - { - "attributes":{ - "POSITION":163, - "NORMAL":164, - "TEXCOORD_0":165 - }, - "indices":134, - "material":25 - }, - { - "attributes":{ - "POSITION":166, - "NORMAL":167, - "TEXCOORD_0":168 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":169, - "NORMAL":170, - "TEXCOORD_0":171 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":172, - "NORMAL":173, - "TEXCOORD_0":174 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":175, - "NORMAL":176, - "TEXCOORD_0":177 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":178, - "NORMAL":179, - "TEXCOORD_0":180 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":181, - "NORMAL":182, - "TEXCOORD_0":183 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":184, - "NORMAL":185, - "TEXCOORD_0":186 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"smokeSon.032", - "primitives":[ - { - "attributes":{ - "POSITION":187, - "NORMAL":188, - "TEXCOORD_0":189 - }, - "indices":134, - "material":25 - }, - { - "attributes":{ - "POSITION":190, - "NORMAL":191, - "TEXCOORD_0":192 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":193, - "NORMAL":194, - "TEXCOORD_0":195 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":196, - "NORMAL":197, - "TEXCOORD_0":198 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":199, - "NORMAL":200, - "TEXCOORD_0":201 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":202, - "NORMAL":203, - "TEXCOORD_0":204 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":205, - "NORMAL":206, - "TEXCOORD_0":207 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":208, - "NORMAL":209, - "TEXCOORD_0":210 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"smokeSon.016", - "primitives":[ - { - "attributes":{ - "POSITION":211, - "NORMAL":212, - "TEXCOORD_0":213 - }, - "indices":134, - "material":25 - }, - { - "attributes":{ - "POSITION":214, - "NORMAL":215, - "TEXCOORD_0":216 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":217, - "NORMAL":218, - "TEXCOORD_0":219 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":220, - "NORMAL":221, - "TEXCOORD_0":222 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":223, - "NORMAL":224, - "TEXCOORD_0":225 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":226, - "NORMAL":227, - "TEXCOORD_0":228 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":229, - "NORMAL":230, - "TEXCOORD_0":231 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":232, - "NORMAL":233, - "TEXCOORD_0":234 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"smokeSon.011", - "primitives":[ - { - "attributes":{ - "POSITION":235, - "NORMAL":236, - "TEXCOORD_0":237 - }, - "indices":134, - "material":25 - }, - { - "attributes":{ - "POSITION":238, - "NORMAL":239, - "TEXCOORD_0":240 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":241, - "NORMAL":242, - "TEXCOORD_0":243 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":244, - "NORMAL":245, - "TEXCOORD_0":246 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":247, - "NORMAL":248, - "TEXCOORD_0":249 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":250, - "NORMAL":251, - "TEXCOORD_0":252 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":253, - "NORMAL":254, - "TEXCOORD_0":255 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":256, - "NORMAL":257, - "TEXCOORD_0":258 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"smokeSon.017", - "primitives":[ - { - "attributes":{ - "POSITION":259, - "NORMAL":260, - "TEXCOORD_0":261 - }, - "indices":134, - "material":25 - }, - { - "attributes":{ - "POSITION":262, - "NORMAL":263, - "TEXCOORD_0":264 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":265, - "NORMAL":266, - "TEXCOORD_0":267 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":268, - "NORMAL":269, - "TEXCOORD_0":270 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":271, - "NORMAL":272, - "TEXCOORD_0":273 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":274, - "NORMAL":275, - "TEXCOORD_0":276 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":277, - "NORMAL":278, - "TEXCOORD_0":279 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":280, - "NORMAL":281, - "TEXCOORD_0":282 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"smokeSon.018", - "primitives":[ - { - "attributes":{ - "POSITION":283, - "NORMAL":284, - "TEXCOORD_0":285 - }, - "indices":134, - "material":25 - }, - { - "attributes":{ - "POSITION":286, - "NORMAL":287, - "TEXCOORD_0":288 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":289, - "NORMAL":290, - "TEXCOORD_0":291 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":292, - "NORMAL":293, - "TEXCOORD_0":294 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":295, - "NORMAL":296, - "TEXCOORD_0":297 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":298, - "NORMAL":299, - "TEXCOORD_0":300 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":301, - "NORMAL":302, - "TEXCOORD_0":303 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":304, - "NORMAL":305, - "TEXCOORD_0":306 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"smokeSon.034", - "primitives":[ - { - "attributes":{ - "POSITION":307, - "NORMAL":308, - "TEXCOORD_0":309 - }, - "indices":134, - "material":25 - }, - { - "attributes":{ - "POSITION":310, - "NORMAL":311, - "TEXCOORD_0":312 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":313, - "NORMAL":314, - "TEXCOORD_0":315 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":316, - "NORMAL":317, - "TEXCOORD_0":318 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":319, - "NORMAL":320, - "TEXCOORD_0":321 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":322, - "NORMAL":323, - "TEXCOORD_0":324 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":325, - "NORMAL":326, - "TEXCOORD_0":327 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":328, - "NORMAL":329, - "TEXCOORD_0":330 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"smokeSon.035", - "primitives":[ - { - "attributes":{ - "POSITION":331, - "NORMAL":332, - "TEXCOORD_0":333 - }, - "indices":134, - "material":25 - }, - { - "attributes":{ - "POSITION":334, - "NORMAL":335, - "TEXCOORD_0":336 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":337, - "NORMAL":338, - "TEXCOORD_0":339 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":340, - "NORMAL":341, - "TEXCOORD_0":342 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":343, - "NORMAL":344, - "TEXCOORD_0":345 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":346, - "NORMAL":347, - "TEXCOORD_0":348 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":349, - "NORMAL":350, - "TEXCOORD_0":351 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":352, - "NORMAL":353, - "TEXCOORD_0":354 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"smokeSon.037", - "primitives":[ - { - "attributes":{ - "POSITION":355, - "NORMAL":356, - "TEXCOORD_0":357 - }, - "indices":134, - "material":25 - }, - { - "attributes":{ - "POSITION":358, - "NORMAL":359, - "TEXCOORD_0":360 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":361, - "NORMAL":362, - "TEXCOORD_0":363 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":364, - "NORMAL":365, - "TEXCOORD_0":366 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":367, - "NORMAL":368, - "TEXCOORD_0":369 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":370, - "NORMAL":371, - "TEXCOORD_0":372 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":373, - "NORMAL":374, - "TEXCOORD_0":375 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":376, - "NORMAL":377, - "TEXCOORD_0":378 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"smokeSon.040", - "primitives":[ - { - "attributes":{ - "POSITION":379, - "NORMAL":380, - "TEXCOORD_0":381 - }, - "indices":134, - "material":25 - }, - { - "attributes":{ - "POSITION":382, - "NORMAL":383, - "TEXCOORD_0":384 - }, - "indices":138, - "material":18 - }, - { - "attributes":{ - "POSITION":385, - "NORMAL":386, - "TEXCOORD_0":387 - }, - "indices":142, - "material":19 - }, - { - "attributes":{ - "POSITION":388, - "NORMAL":389, - "TEXCOORD_0":390 - }, - "indices":146, - "material":20 - }, - { - "attributes":{ - "POSITION":391, - "NORMAL":392, - "TEXCOORD_0":393 - }, - "indices":150, - "material":21 - }, - { - "attributes":{ - "POSITION":394, - "NORMAL":395, - "TEXCOORD_0":396 - }, - "indices":154, - "material":22 - }, - { - "attributes":{ - "POSITION":397, - "NORMAL":398, - "TEXCOORD_0":399 - }, - "indices":158, - "material":23 - }, - { - "attributes":{ - "POSITION":400, - "NORMAL":401, - "TEXCOORD_0":402 - }, - "indices":162, - "material":24 - } - ] - }, - { - "name":"manualSon", - "primitives":[ - { - "attributes":{ - "POSITION":403, - "NORMAL":404, - "TEXCOORD_0":405 - }, - "indices":406, - "material":26 - }, - { - "attributes":{ - "POSITION":407, - "NORMAL":408, - "TEXCOORD_0":409 - }, - "indices":410, - "material":27 - }, - { - "attributes":{ - "POSITION":411, - "NORMAL":412, - "TEXCOORD_0":413 - }, - "indices":414, - "material":28 - }, - { - "attributes":{ - "POSITION":415, - "NORMAL":416, - "TEXCOORD_0":417 - }, - "indices":418, - "material":29 - }, - { - "attributes":{ - "POSITION":419, - "NORMAL":420, - "TEXCOORD_0":421 - }, - "indices":422, - "material":30 - }, - { - "attributes":{ - "POSITION":423, - "NORMAL":424, - "TEXCOORD_0":425 - }, - "indices":426, - "material":31 - } - ] - }, - { - "name":"manualSon.001", - "primitives":[ - { - "attributes":{ - "POSITION":427, - "NORMAL":428, - "TEXCOORD_0":429 - }, - "indices":406, - "material":26 - }, - { - "attributes":{ - "POSITION":430, - "NORMAL":431, - "TEXCOORD_0":432 - }, - "indices":410, - "material":27 - }, - { - "attributes":{ - "POSITION":433, - "NORMAL":434, - "TEXCOORD_0":435 - }, - "indices":414, - "material":28 - }, - { - "attributes":{ - "POSITION":436, - "NORMAL":437, - "TEXCOORD_0":438 - }, - "indices":418, - "material":29 - }, - { - "attributes":{ - "POSITION":439, - "NORMAL":440, - "TEXCOORD_0":441 - }, - "indices":422, - "material":30 - }, - { - "attributes":{ - "POSITION":442, - "NORMAL":443, - "TEXCOORD_0":444 - }, - "indices":426, - "material":31 - } - ] - }, - { - "name":"manualSon.002", - "primitives":[ - { - "attributes":{ - "POSITION":445, - "NORMAL":446, - "TEXCOORD_0":447 - }, - "indices":406, - "material":26 - }, - { - "attributes":{ - "POSITION":448, - "NORMAL":449, - "TEXCOORD_0":450 - }, - "indices":410, - "material":27 - }, - { - "attributes":{ - "POSITION":451, - "NORMAL":452, - "TEXCOORD_0":453 - }, - "indices":414, - "material":28 - }, - { - "attributes":{ - "POSITION":454, - "NORMAL":455, - "TEXCOORD_0":456 - }, - "indices":418, - "material":29 - }, - { - "attributes":{ - "POSITION":457, - "NORMAL":458, - "TEXCOORD_0":459 - }, - "indices":422, - "material":30 - }, - { - "attributes":{ - "POSITION":460, - "NORMAL":461, - "TEXCOORD_0":462 - }, - "indices":426, - "material":31 - } - ] - }, - { - "name":"manualSon.003", - "primitives":[ - { - "attributes":{ - "POSITION":463, - "NORMAL":464, - "TEXCOORD_0":465 - }, - "indices":406, - "material":26 - }, - { - "attributes":{ - "POSITION":466, - "NORMAL":467, - "TEXCOORD_0":468 - }, - "indices":410, - "material":27 - }, - { - "attributes":{ - "POSITION":469, - "NORMAL":470, - "TEXCOORD_0":471 - }, - "indices":414, - "material":28 - }, - { - "attributes":{ - "POSITION":472, - "NORMAL":473, - "TEXCOORD_0":474 - }, - "indices":418, - "material":29 - }, - { - "attributes":{ - "POSITION":475, - "NORMAL":476, - "TEXCOORD_0":477 - }, - "indices":422, - "material":30 - }, - { - "attributes":{ - "POSITION":478, - "NORMAL":479, - "TEXCOORD_0":480 - }, - "indices":426, - "material":31 - } - ] - }, - { - "name":"acoustoSon.001", - "primitives":[ - { - "attributes":{ - "POSITION":481, - "NORMAL":482, - "TEXCOORD_0":483 - }, - "indices":484, - "material":20 - }, - { - "attributes":{ - "POSITION":485, - "NORMAL":486, - "TEXCOORD_0":487 - }, - "indices":488, - "material":30 - }, - { - "attributes":{ - "POSITION":489, - "NORMAL":490, - "TEXCOORD_0":491 - }, - "indices":492, - "material":32 - } - ] - }, - { - "name":"acoustoSon", - "primitives":[ - { - "attributes":{ - "POSITION":493, - "NORMAL":494, - "TEXCOORD_0":495 - }, - "indices":484, - "material":30 - }, - { - "attributes":{ - "POSITION":496, - "NORMAL":497, - "TEXCOORD_0":498 - }, - "indices":488, - "material":29 - }, - { - "attributes":{ - "POSITION":499, - "NORMAL":500, - "TEXCOORD_0":501 - }, - "indices":492, - "material":32 - } - ] - }, - { - "name":"acoustoSon.002", - "primitives":[ - { - "attributes":{ - "POSITION":502, - "NORMAL":503, - "TEXCOORD_0":504 - }, - "indices":484, - "material":30 - }, - { - "attributes":{ - "POSITION":505, - "NORMAL":506, - "TEXCOORD_0":507 - }, - "indices":488, - "material":29 - }, - { - "attributes":{ - "POSITION":508, - "NORMAL":509, - "TEXCOORD_0":510 - }, - "indices":492, - "material":32 - } - ] - }, - { - "name":"acoustoSon.003", - "primitives":[ - { - "attributes":{ - "POSITION":511, - "NORMAL":512, - "TEXCOORD_0":513 - }, - "indices":484, - "material":30 - }, - { - "attributes":{ - "POSITION":514, - "NORMAL":515, - "TEXCOORD_0":516 - }, - "indices":488, - "material":29 - }, - { - "attributes":{ - "POSITION":517, - "NORMAL":518, - "TEXCOORD_0":519 - }, - "indices":492, - "material":32 - } - ] - }, - { - "name":"acoustoSon.004", - "primitives":[ - { - "attributes":{ - "POSITION":520, - "NORMAL":521, - "TEXCOORD_0":522 - }, - "indices":484, - "material":30 - }, - { - "attributes":{ - "POSITION":523, - "NORMAL":524, - "TEXCOORD_0":525 - }, - "indices":488, - "material":29 - }, - { - "attributes":{ - "POSITION":526, - "NORMAL":527, - "TEXCOORD_0":528 - }, - "indices":492, - "material":32 - } - ] - } - ], - "textures":[ - { - "sampler":0, - "source":0 - }, - { - "sampler":0, - "source":1 - }, - { - "sampler":0, - "source":2 - } - ], - "images":[ - { - "mimeType":"image/jpeg", - "name":"materials_Label", - "uri":"materials_Label.jpg" - }, - { - "mimeType":"image/jpeg", - "name":"Bitmaptexture", - "uri":"Bitmaptexture.jpg" - }, - { - "mimeType":"image/jpeg", - "name":"Bitmaptexture", - "uri":"Bitmaptexture-1.jpg" - } - ], - "accessors":[ - { - "bufferView":0, - "componentType":5126, - "count":1419, - "max":[ - 2012.05126953125, - 1041.92919921875, - 0 - ], - "min":[ - 11.5355224609375, - 141.42919921875, - -204.30084228515625 - ], - "type":"VEC3" - }, - { - "bufferView":1, - "componentType":5126, - "count":1419, - "type":"VEC3" - }, - { - "bufferView":2, - "componentType":5126, - "count":1419, - "type":"VEC2" - }, - { - "bufferView":3, - "componentType":5123, - "count":3084, - "type":"SCALAR" - }, - { - "bufferView":4, - "componentType":5126, - "count":83878, - "max":[ - 1929.33251953125, - 1034.42919921875, - 0 - ], - "min":[ - 69.0591049194336, - 150.40338134765625, - -52.78406524658203 - ], - "type":"VEC3" - }, - { - "bufferView":5, - "componentType":5126, - "count":83878, - "type":"VEC3" - }, - { - "bufferView":6, - "componentType":5126, - "count":83878, - "type":"VEC2" - }, - { - "bufferView":7, - "componentType":5125, - "count":461448, - "type":"SCALAR" - }, - { - "bufferView":8, - "componentType":5126, - "count":32266, - "max":[ - 1922.090087890625, - 1026.8798828125, - -6.318971633911133 - ], - "min":[ - 63.4769172668457, - 157.95269775390625, - -28.0023250579834 - ], - "type":"VEC3" - }, - { - "bufferView":9, - "componentType":5126, - "count":32266, - "type":"VEC3" - }, - { - "bufferView":10, - "componentType":5126, - "count":32266, - "type":"VEC2" - }, - { - "bufferView":11, - "componentType":5123, - "count":138720, - "type":"SCALAR" - }, - { - "bufferView":12, - "componentType":5126, - "count":13498, - "max":[ - 1921.9810791015625, - 1026.759521484375, - -15.202320098876953 - ], - "min":[ - 60.728824615478516, - 158.07308959960938, - -61.42536544799805 - ], - "type":"VEC3" - }, - { - "bufferView":13, - "componentType":5126, - "count":13498, - "type":"VEC3" - }, - { - "bufferView":14, - "componentType":5126, - "count":13498, - "type":"VEC2" - }, - { - "bufferView":15, - "componentType":5123, - "count":65076, - "type":"SCALAR" - }, - { - "bufferView":16, - "componentType":5126, - "count":19992, - "max":[ - 1922.1739501953125, - 1026.9498291015625, - -17.021581649780273 - ], - "min":[ - 65.17977905273438, - 157.88275146484375, - -59.80107879638672 - ], - "type":"VEC3" - }, - { - "bufferView":17, - "componentType":5126, - "count":19992, - "type":"VEC3" - }, - { - "bufferView":18, - "componentType":5126, - "count":19992, - "type":"VEC2" - }, - { - "bufferView":19, - "componentType":5123, - "count":83844, - "type":"SCALAR" - }, - { - "bufferView":20, - "componentType":5126, - "count":1224, - "max":[ - 1929.1605224609375, - 1019.1984252929688, - -10.28382682800293 - ], - "min":[ - 72.04712677001953, - 165.63418579101562, - -41.63888168334961 - ], - "type":"VEC3" - }, - { - "bufferView":21, - "componentType":5126, - "count":1224, - "type":"VEC3" - }, - { - "bufferView":22, - "componentType":5126, - "count":1224, - "type":"VEC2" - }, - { - "bufferView":23, - "componentType":5123, - "count":4896, - "type":"SCALAR" - }, - { - "bufferView":24, - "componentType":5126, - "count":30192, - "max":[ - 1921.7530517578125, - 1026.8250732421875, - -23.05771827697754 - ], - "min":[ - 60.04264450073242, - 158.00750732421875, - -62.140079498291016 - ], - "type":"VEC3" - }, - { - "bufferView":25, - "componentType":5126, - "count":30192, - "type":"VEC3" - }, - { - "bufferView":26, - "componentType":5126, - "count":30192, - "type":"VEC2" - }, - { - "bufferView":27, - "componentType":5123, - "count":176256, - "type":"SCALAR" - }, - { - "bufferView":28, - "componentType":5126, - "count":26924, - "max":[ - 1925.616943359375, - 1030.290771484375, - -51.28443908691406 - ], - "min":[ - 72.96410369873047, - 154.54183959960938, - -60.5287971496582 - ], - "type":"VEC3" - }, - { - "bufferView":29, - "componentType":5126, - "count":26924, - "type":"VEC3" - }, - { - "bufferView":30, - "componentType":5126, - "count":26924, - "type":"VEC2" - }, - { - "bufferView":31, - "componentType":5123, - "count":154428, - "type":"SCALAR" - }, - { - "bufferView":32, - "componentType":5126, - "count":5066, - "max":[ - 1922.6004638671875, - 1027.7020263671875, - -60.04586410522461 - ], - "min":[ - 77.1158447265625, - 157.1305389404297, - -62.29999923706055 - ], - "type":"VEC3" - }, - { - "bufferView":33, - "componentType":5126, - "count":5066, - "type":"VEC3" - }, - { - "bufferView":34, - "componentType":5126, - "count":5066, - "type":"VEC2" - }, - { - "bufferView":35, - "componentType":5123, - "count":23868, - "type":"SCALAR" - }, - { - "bufferView":36, - "componentType":5126, - "count":876, - "max":[ - 1912.3330078125, - 897.771240234375, - 0 - ], - "min":[ - 10.535215377807617, - 299.3778991699219, - -162.80084228515625 - ], - "type":"VEC3" - }, - { - "bufferView":37, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":38, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":39, - "componentType":5123, - "count":1608, - "type":"SCALAR" - }, - { - "bufferView":40, - "componentType":5126, - "count":4, - "max":[ - 2012.05126953125, - 1041.92919921875, - 0 - ], - "min":[ - 10.53519344329834, - 141.42919921875, - 0 - ], - "type":"VEC3" - }, - { - "bufferView":41, - "componentType":5126, - "count":4, - "type":"VEC3" - }, - { - "bufferView":42, - "componentType":5126, - "count":4, - "type":"VEC2" - }, - { - "bufferView":43, - "componentType":5123, - "count":6, - "type":"SCALAR" - }, - { - "bufferView":44, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":45, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":46, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":47, - "componentType":5123, - "count":36, - "type":"SCALAR" - }, - { - "bufferView":48, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":49, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":50, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":51, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":52, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":53, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":54, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":55, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":56, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":57, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":58, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":59, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":60, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":61, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":62, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":63, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":64, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":65, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":66, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":67, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":68, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":69, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":70, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":71, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":72, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":73, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":74, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":75, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":76, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":77, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":78, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":79, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":80, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":81, - "componentType":5126, - "count":24, - "max":[ - 0.23551702499389648, - 0.4163379669189453, - 0.23551702499389648 - ], - "min":[ - -0.23551702499389648, - -0.4163379669189453, - -0.23551702499389648 - ], - "type":"VEC3" - }, - { - "bufferView":82, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":83, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":84, - "componentType":5126, - "count":24, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":85, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":86, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":87, - "componentType":5126, - "count":48, - "max":[ - 0.06084561347961426, - 0.326985239982605, - 3.468207359313965 - ], - "min":[ - -0.06084561347961426, - -0.326985239982605, - -3.468207359313965 - ], - "type":"VEC3" - }, - { - "bufferView":88, - "componentType":5126, - "count":48, - "type":"VEC3" - }, - { - "bufferView":89, - "componentType":5126, - "count":48, - "type":"VEC2" - }, - { - "bufferView":90, - "componentType":5123, - "count":96, - "type":"SCALAR" - }, - { - "bufferView":91, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":92, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":93, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":94, - "componentType":5123, - "count":1284, - "type":"SCALAR" - }, - { - "bufferView":95, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":96, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":97, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":98, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":99, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":100, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":101, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":102, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":103, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":104, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":105, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":106, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":107, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":108, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":109, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":110, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":111, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":112, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":113, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":114, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":115, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":116, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":117, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":118, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":119, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":120, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":121, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":122, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":123, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":124, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":125, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":126, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":127, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":128, - "componentType":5126, - "count":864, - "max":[ - 5.324397087097168, - 2.3087825775146484, - 1.519528865814209 - ], - "min":[ - -5.324397087097168, - -2.3087825775146484, - -1.519528865814209 - ], - "type":"VEC3" - }, - { - "bufferView":129, - "componentType":5126, - "count":864, - "type":"VEC3" - }, - { - "bufferView":130, - "componentType":5126, - "count":864, - "type":"VEC2" - }, - { - "bufferView":131, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":132, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":133, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":134, - "componentType":5123, - "count":1380, - "type":"SCALAR" - }, - { - "bufferView":135, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":136, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":137, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":138, - "componentType":5123, - "count":159, - "type":"SCALAR" - }, - { - "bufferView":139, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":140, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":141, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":142, - "componentType":5123, - "count":681, - "type":"SCALAR" - }, - { - "bufferView":143, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":144, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":145, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":146, - "componentType":5123, - "count":15510, - "type":"SCALAR" - }, - { - "bufferView":147, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":148, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":149, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":150, - "componentType":5123, - "count":159, - "type":"SCALAR" - }, - { - "bufferView":151, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":152, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":153, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":154, - "componentType":5123, - "count":681, - "type":"SCALAR" - }, - { - "bufferView":155, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":156, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":157, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":158, - "componentType":5123, - "count":4596, - "type":"SCALAR" - }, - { - "bufferView":159, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":160, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":161, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":162, - "componentType":5123, - "count":612, - "type":"SCALAR" - }, - { - "bufferView":163, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":164, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":165, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":166, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":167, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":168, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":169, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":170, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":171, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":172, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":173, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":174, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":175, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":176, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":177, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":178, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":179, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":180, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":181, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":182, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":183, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":184, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":185, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":186, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":187, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":188, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":189, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":190, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":191, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":192, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":193, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":194, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":195, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":196, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":197, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":198, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":199, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":200, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":201, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":202, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":203, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":204, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":205, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":206, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":207, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":208, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":209, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":210, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":211, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":212, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":213, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":214, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":215, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":216, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":217, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":218, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":219, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":220, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":221, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":222, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":223, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":224, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":225, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":226, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":227, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":228, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":229, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":230, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":231, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":232, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":233, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":234, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":235, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":236, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":237, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":238, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":239, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":240, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":241, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":242, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":243, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":244, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":245, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":246, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":247, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":248, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":249, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":250, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":251, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":252, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":253, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":254, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":255, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":256, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":257, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":258, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":259, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":260, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":261, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":262, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":263, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":264, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":265, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":266, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":267, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":268, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":269, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":270, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":271, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":272, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":273, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":274, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":275, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":276, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":277, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":278, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":279, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":280, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":281, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":282, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":283, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":284, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":285, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":286, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":287, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":288, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":289, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":290, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":291, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":292, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":293, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":294, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":295, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":296, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":297, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":298, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":299, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":300, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":301, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":302, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":303, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":304, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":305, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":306, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":307, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":308, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":309, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":310, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":311, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":312, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":313, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":314, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":315, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":316, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":317, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":318, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":319, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":320, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":321, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":322, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":323, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":324, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":325, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":326, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":327, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":328, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":329, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":330, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":331, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":332, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":333, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":334, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":335, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":336, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":337, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":338, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":339, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":340, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":341, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":342, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":343, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":344, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":345, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":346, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":347, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":348, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":349, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":350, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":351, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":352, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":353, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":354, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":355, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":356, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":357, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":358, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":359, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":360, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":361, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":362, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":363, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":364, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":365, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":366, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":367, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":368, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":369, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":370, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":371, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":372, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":373, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":374, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":375, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":376, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":377, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":378, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":379, - "componentType":5126, - "count":484, - "max":[ - 67.97317504882812, - 80.05093383789062, - -45.184356689453125 - ], - "min":[ - -67.94009399414062, - -55.79782485961914, - -52.433082580566406 - ], - "type":"VEC3" - }, - { - "bufferView":380, - "componentType":5126, - "count":484, - "type":"VEC3" - }, - { - "bufferView":381, - "componentType":5126, - "count":484, - "type":"VEC2" - }, - { - "bufferView":382, - "componentType":5126, - "count":110, - "max":[ - 0.016816727817058563, - -25.9612979888916, - -45.18525314331055 - ], - "min":[ - 0.016264237463474274, - -25.961307525634766, - -45.185672760009766 - ], - "type":"VEC3" - }, - { - "bufferView":383, - "componentType":5126, - "count":110, - "type":"VEC3" - }, - { - "bufferView":384, - "componentType":5126, - "count":110, - "type":"VEC2" - }, - { - "bufferView":385, - "componentType":5126, - "count":340, - "max":[ - 0.016902124509215355, - -25.961288452148438, - -45.18513107299805 - ], - "min":[ - 0.016177253797650337, - -25.961307525634766, - -45.185855865478516 - ], - "type":"VEC3" - }, - { - "bufferView":386, - "componentType":5126, - "count":340, - "type":"VEC3" - }, - { - "bufferView":387, - "componentType":5126, - "count":340, - "type":"VEC2" - }, - { - "bufferView":388, - "componentType":5126, - "count":5198, - "max":[ - 72.50361633300781, - 84.5791015625, - 36.35506820678711 - ], - "min":[ - -72.47053527832031, - -60.32619094848633, - -45.18349075317383 - ], - "type":"VEC3" - }, - { - "bufferView":389, - "componentType":5126, - "count":5198, - "type":"VEC3" - }, - { - "bufferView":390, - "componentType":5126, - "count":5198, - "type":"VEC2" - }, - { - "bufferView":391, - "componentType":5126, - "count":105, - "max":[ - 0.016816727817058563, - -25.961450576782227, - -45.18330001831055 - ], - "min":[ - 0.016264237463474274, - -25.96146011352539, - -45.183719635009766 - ], - "type":"VEC3" - }, - { - "bufferView":392, - "componentType":5126, - "count":105, - "type":"VEC3" - }, - { - "bufferView":393, - "componentType":5126, - "count":105, - "type":"VEC2" - }, - { - "bufferView":394, - "componentType":5126, - "count":361, - "max":[ - 0.016902124509215355, - -25.961441040039062, - -45.18317794799805 - ], - "min":[ - 0.016177253797650337, - -25.96146011352539, - -45.183902740478516 - ], - "type":"VEC3" - }, - { - "bufferView":395, - "componentType":5126, - "count":361, - "type":"VEC3" - }, - { - "bufferView":396, - "componentType":5126, - "count":361, - "type":"VEC2" - }, - { - "bufferView":397, - "componentType":5126, - "count":876, - "max":[ - 4.5469818115234375, - -43.1470832824707, - -6.571315765380859 - ], - "min":[ - -4.51390266418457, - -52.203617095947266, - -26.862079620361328 - ], - "type":"VEC3" - }, - { - "bufferView":398, - "componentType":5126, - "count":876, - "type":"VEC3" - }, - { - "bufferView":399, - "componentType":5126, - "count":876, - "type":"VEC2" - }, - { - "bufferView":400, - "componentType":5126, - "count":208, - "max":[ - 47.31435775756836, - 59.40180587768555, - 18.241443634033203 - ], - "min":[ - -47.28127670288086, - -35.14889907836914, - -5.316871643066406 - ], - "type":"VEC3" - }, - { - "bufferView":401, - "componentType":5126, - "count":208, - "type":"VEC3" - }, - { - "bufferView":402, - "componentType":5126, - "count":208, - "type":"VEC2" - }, - { - "bufferView":403, - "componentType":5126, - "count":24, - "max":[ - 12.444540977478027, - 7.253273963928223, - 65.18238830566406 - ], - "min":[ - -13.598156929016113, - 3.870244026184082, - 50.95979309082031 - ], - "type":"VEC3" - }, - { - "bufferView":404, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":405, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":406, - "componentType":5123, - "count":108, - "type":"SCALAR" - }, - { - "bufferView":407, - "componentType":5126, - "count":24, - "max":[ - 65.37442016601562, - -3.7835493087768555, - 10.754287719726562 - ], - "min":[ - -64.29560852050781, - -7.0711469650268555, - -51.86253356933594 - ], - "type":"VEC3" - }, - { - "bufferView":408, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":409, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":410, - "componentType":5123, - "count":36, - "type":"SCALAR" - }, - { - "bufferView":411, - "componentType":5126, - "count":56, - "max":[ - 5.879171848297119, - 1.5159540176391602, - 2.653949737548828 - ], - "min":[ - -9.041637420654297, - -15.75424861907959, - -12.266822814941406 - ], - "type":"VEC3" - }, - { - "bufferView":412, - "componentType":5126, - "count":56, - "type":"VEC3" - }, - { - "bufferView":413, - "componentType":5126, - "count":56, - "type":"VEC2" - }, - { - "bufferView":414, - "componentType":5123, - "count":324, - "type":"SCALAR" - }, - { - "bufferView":415, - "componentType":5126, - "count":264, - "max":[ - 21.279563903808594, - 7.7294511795043945, - 43.91426086425781 - ], - "min":[ - -22.23304557800293, - 2.290127754211426, - -105.47525787353516 - ], - "type":"VEC3" - }, - { - "bufferView":416, - "componentType":5126, - "count":264, - "type":"VEC3" - }, - { - "bufferView":417, - "componentType":5126, - "count":264, - "type":"VEC2" - }, - { - "bufferView":418, - "componentType":5123, - "count":1572, - "type":"SCALAR" - }, - { - "bufferView":419, - "componentType":5126, - "count":359, - "max":[ - 100.9964370727539, - 4.7365617752075195, - 81.60847473144531 - ], - "min":[ - -101.9842758178711, - -39.21023941040039, - -121.37224578857422 - ], - "type":"VEC3" - }, - { - "bufferView":420, - "componentType":5126, - "count":359, - "type":"VEC3" - }, - { - "bufferView":421, - "componentType":5126, - "count":359, - "type":"VEC2" - }, - { - "bufferView":422, - "componentType":5123, - "count":2154, - "type":"SCALAR" - }, - { - "bufferView":423, - "componentType":5126, - "count":320, - "max":[ - 33.61516571044922, - 5.967949867248535, - 81.56056213378906 - ], - "min":[ - -34.77033996582031, - 1.3444490432739258, - 22.772964477539062 - ], - "type":"VEC3" - }, - { - "bufferView":424, - "componentType":5126, - "count":320, - "type":"VEC3" - }, - { - "bufferView":425, - "componentType":5126, - "count":320, - "type":"VEC2" - }, - { - "bufferView":426, - "componentType":5123, - "count":1908, - "type":"SCALAR" - }, - { - "bufferView":427, - "componentType":5126, - "count":24, - "max":[ - 12.444540977478027, - 7.253273963928223, - 65.18238830566406 - ], - "min":[ - -13.598156929016113, - 3.870244026184082, - 50.95979309082031 - ], - "type":"VEC3" - }, - { - "bufferView":428, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":429, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":430, - "componentType":5126, - "count":24, - "max":[ - 65.37442016601562, - -3.7835493087768555, - 10.754287719726562 - ], - "min":[ - -64.29560852050781, - -7.0711469650268555, - -51.86253356933594 - ], - "type":"VEC3" - }, - { - "bufferView":431, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":432, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":433, - "componentType":5126, - "count":56, - "max":[ - 5.879171848297119, - 1.5159540176391602, - 2.653949737548828 - ], - "min":[ - -9.041637420654297, - -15.75424861907959, - -12.266822814941406 - ], - "type":"VEC3" - }, - { - "bufferView":434, - "componentType":5126, - "count":56, - "type":"VEC3" - }, - { - "bufferView":435, - "componentType":5126, - "count":56, - "type":"VEC2" - }, - { - "bufferView":436, - "componentType":5126, - "count":264, - "max":[ - 21.279563903808594, - 7.7294511795043945, - 43.91426086425781 - ], - "min":[ - -22.23304557800293, - 2.290127754211426, - -105.47525787353516 - ], - "type":"VEC3" - }, - { - "bufferView":437, - "componentType":5126, - "count":264, - "type":"VEC3" - }, - { - "bufferView":438, - "componentType":5126, - "count":264, - "type":"VEC2" - }, - { - "bufferView":439, - "componentType":5126, - "count":359, - "max":[ - 100.9964370727539, - 4.7365617752075195, - 81.60847473144531 - ], - "min":[ - -101.9842758178711, - -39.21023941040039, - -121.37224578857422 - ], - "type":"VEC3" - }, - { - "bufferView":440, - "componentType":5126, - "count":359, - "type":"VEC3" - }, - { - "bufferView":441, - "componentType":5126, - "count":359, - "type":"VEC2" - }, - { - "bufferView":442, - "componentType":5126, - "count":320, - "max":[ - 33.61516571044922, - 5.967949867248535, - 81.56056213378906 - ], - "min":[ - -34.77033996582031, - 1.3444490432739258, - 22.772964477539062 - ], - "type":"VEC3" - }, - { - "bufferView":443, - "componentType":5126, - "count":320, - "type":"VEC3" - }, - { - "bufferView":444, - "componentType":5126, - "count":320, - "type":"VEC2" - }, - { - "bufferView":445, - "componentType":5126, - "count":24, - "max":[ - 12.444540977478027, - 7.253273963928223, - 65.18238830566406 - ], - "min":[ - -13.598156929016113, - 3.870244026184082, - 50.95979309082031 - ], - "type":"VEC3" - }, - { - "bufferView":446, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":447, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":448, - "componentType":5126, - "count":24, - "max":[ - 65.37442016601562, - -3.7835493087768555, - 10.754287719726562 - ], - "min":[ - -64.29560852050781, - -7.0711469650268555, - -51.86253356933594 - ], - "type":"VEC3" - }, - { - "bufferView":449, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":450, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":451, - "componentType":5126, - "count":56, - "max":[ - 5.879171848297119, - 1.5159540176391602, - 2.653949737548828 - ], - "min":[ - -9.041637420654297, - -15.75424861907959, - -12.266822814941406 - ], - "type":"VEC3" - }, - { - "bufferView":452, - "componentType":5126, - "count":56, - "type":"VEC3" - }, - { - "bufferView":453, - "componentType":5126, - "count":56, - "type":"VEC2" - }, - { - "bufferView":454, - "componentType":5126, - "count":264, - "max":[ - 21.279563903808594, - 7.7294511795043945, - 43.91426086425781 - ], - "min":[ - -22.23304557800293, - 2.290127754211426, - -105.47525787353516 - ], - "type":"VEC3" - }, - { - "bufferView":455, - "componentType":5126, - "count":264, - "type":"VEC3" - }, - { - "bufferView":456, - "componentType":5126, - "count":264, - "type":"VEC2" - }, - { - "bufferView":457, - "componentType":5126, - "count":359, - "max":[ - 100.9964370727539, - 4.7365617752075195, - 81.60847473144531 - ], - "min":[ - -101.9842758178711, - -39.21023941040039, - -121.37224578857422 - ], - "type":"VEC3" - }, - { - "bufferView":458, - "componentType":5126, - "count":359, - "type":"VEC3" - }, - { - "bufferView":459, - "componentType":5126, - "count":359, - "type":"VEC2" - }, - { - "bufferView":460, - "componentType":5126, - "count":320, - "max":[ - 33.61516571044922, - 5.967949867248535, - 81.56056213378906 - ], - "min":[ - -34.77033996582031, - 1.3444490432739258, - 22.772964477539062 - ], - "type":"VEC3" - }, - { - "bufferView":461, - "componentType":5126, - "count":320, - "type":"VEC3" - }, - { - "bufferView":462, - "componentType":5126, - "count":320, - "type":"VEC2" - }, - { - "bufferView":463, - "componentType":5126, - "count":24, - "max":[ - 12.444540977478027, - 7.253273963928223, - 65.18238830566406 - ], - "min":[ - -13.598156929016113, - 3.870244026184082, - 50.95979309082031 - ], - "type":"VEC3" - }, - { - "bufferView":464, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":465, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":466, - "componentType":5126, - "count":24, - "max":[ - 65.37442016601562, - -3.7835493087768555, - 10.754287719726562 - ], - "min":[ - -64.29560852050781, - -7.0711469650268555, - -51.86253356933594 - ], - "type":"VEC3" - }, - { - "bufferView":467, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":468, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":469, - "componentType":5126, - "count":56, - "max":[ - 5.879171848297119, - 1.5159540176391602, - 2.653949737548828 - ], - "min":[ - -9.041637420654297, - -15.75424861907959, - -12.266822814941406 - ], - "type":"VEC3" - }, - { - "bufferView":470, - "componentType":5126, - "count":56, - "type":"VEC3" - }, - { - "bufferView":471, - "componentType":5126, - "count":56, - "type":"VEC2" - }, - { - "bufferView":472, - "componentType":5126, - "count":264, - "max":[ - 21.279563903808594, - 7.7294511795043945, - 43.91426086425781 - ], - "min":[ - -22.23304557800293, - 2.290127754211426, - -105.47525787353516 - ], - "type":"VEC3" - }, - { - "bufferView":473, - "componentType":5126, - "count":264, - "type":"VEC3" - }, - { - "bufferView":474, - "componentType":5126, - "count":264, - "type":"VEC2" - }, - { - "bufferView":475, - "componentType":5126, - "count":359, - "max":[ - 100.9964370727539, - 4.7365617752075195, - 81.60847473144531 - ], - "min":[ - -101.9842758178711, - -39.21023941040039, - -121.37224578857422 - ], - "type":"VEC3" - }, - { - "bufferView":476, - "componentType":5126, - "count":359, - "type":"VEC3" - }, - { - "bufferView":477, - "componentType":5126, - "count":359, - "type":"VEC2" - }, - { - "bufferView":478, - "componentType":5126, - "count":320, - "max":[ - 33.61516571044922, - 5.967949867248535, - 81.56056213378906 - ], - "min":[ - -34.77033996582031, - 1.3444490432739258, - 22.772964477539062 - ], - "type":"VEC3" - }, - { - "bufferView":479, - "componentType":5126, - "count":320, - "type":"VEC3" - }, - { - "bufferView":480, - "componentType":5126, - "count":320, - "type":"VEC2" - }, - { - "bufferView":481, - "componentType":5126, - "count":473, - "max":[ - 87.87609100341797, - 35.40321731567383, - 134.8735809326172 - ], - "min":[ - -84.14942932128906, - -31.43939781188965, - -68.30488586425781 - ], - "type":"VEC3" - }, - { - "bufferView":482, - "componentType":5126, - "count":473, - "type":"VEC3" - }, - { - "bufferView":483, - "componentType":5126, - "count":473, - "type":"VEC2" - }, - { - "bufferView":484, - "componentType":5123, - "count":2397, - "type":"SCALAR" - }, - { - "bufferView":485, - "componentType":5126, - "count":5454, - "max":[ - 44.61032485961914, - 38.71009826660156, - 23.398839950561523 - ], - "min":[ - -38.05939483642578, - 18.445297241210938, - -33.273948669433594 - ], - "type":"VEC3" - }, - { - "bufferView":486, - "componentType":5126, - "count":5454, - "type":"VEC3" - }, - { - "bufferView":487, - "componentType":5126, - "count":5454, - "type":"VEC2" - }, - { - "bufferView":488, - "componentType":5123, - "count":32664, - "type":"SCALAR" - }, - { - "bufferView":489, - "componentType":5126, - "count":193, - "max":[ - 60.44671630859375, - 27.954917907714844, - 116.47122955322266 - ], - "min":[ - -55.01769256591797, - -27.358583450317383, - 39.982826232910156 - ], - "type":"VEC3" - }, - { - "bufferView":490, - "componentType":5126, - "count":193, - "type":"VEC3" - }, - { - "bufferView":491, - "componentType":5126, - "count":193, - "type":"VEC2" - }, - { - "bufferView":492, - "componentType":5123, - "count":717, - "type":"SCALAR" - }, - { - "bufferView":493, - "componentType":5126, - "count":473, - "max":[ - 87.87609100341797, - 35.40321731567383, - 134.8735809326172 - ], - "min":[ - -84.14942932128906, - -31.43939781188965, - -68.30488586425781 - ], - "type":"VEC3" - }, - { - "bufferView":494, - "componentType":5126, - "count":473, - "type":"VEC3" - }, - { - "bufferView":495, - "componentType":5126, - "count":473, - "type":"VEC2" - }, - { - "bufferView":496, - "componentType":5126, - "count":5454, - "max":[ - 44.61032485961914, - 38.71009826660156, - 23.398839950561523 - ], - "min":[ - -38.05939483642578, - 18.445297241210938, - -33.273948669433594 - ], - "type":"VEC3" - }, - { - "bufferView":497, - "componentType":5126, - "count":5454, - "type":"VEC3" - }, - { - "bufferView":498, - "componentType":5126, - "count":5454, - "type":"VEC2" - }, - { - "bufferView":499, - "componentType":5126, - "count":193, - "max":[ - 60.44671630859375, - 27.954917907714844, - 116.47122955322266 - ], - "min":[ - -55.01769256591797, - -27.358583450317383, - 39.982826232910156 - ], - "type":"VEC3" - }, - { - "bufferView":500, - "componentType":5126, - "count":193, - "type":"VEC3" - }, - { - "bufferView":501, - "componentType":5126, - "count":193, - "type":"VEC2" - }, - { - "bufferView":502, - "componentType":5126, - "count":473, - "max":[ - 78.80011749267578, - 8.680179595947266, - 117.14396667480469 - ], - "min":[ - -93.22540283203125, - -58.162437438964844, - -86.03450012207031 - ], - "type":"VEC3" - }, - { - "bufferView":503, - "componentType":5126, - "count":473, - "type":"VEC3" - }, - { - "bufferView":504, - "componentType":5126, - "count":473, - "type":"VEC2" - }, - { - "bufferView":505, - "componentType":5126, - "count":5454, - "max":[ - 35.53435134887695, - 11.987060546875, - 5.669225692749023 - ], - "min":[ - -47.13536834716797, - -8.277740478515625, - -51.003562927246094 - ], - "type":"VEC3" - }, - { - "bufferView":506, - "componentType":5126, - "count":5454, - "type":"VEC3" - }, - { - "bufferView":507, - "componentType":5126, - "count":5454, - "type":"VEC2" - }, - { - "bufferView":508, - "componentType":5126, - "count":193, - "max":[ - 51.37074279785156, - 1.2318801879882812, - 98.74161529541016 - ], - "min":[ - -64.09366607666016, - -54.08161926269531, - 22.253211975097656 - ], - "type":"VEC3" - }, - { - "bufferView":509, - "componentType":5126, - "count":193, - "type":"VEC3" - }, - { - "bufferView":510, - "componentType":5126, - "count":193, - "type":"VEC2" - }, - { - "bufferView":511, - "componentType":5126, - "count":473, - "max":[ - 78.80011749267578, - 8.680179595947266, - 117.14396667480469 - ], - "min":[ - -93.22540283203125, - -58.162437438964844, - -86.03450012207031 - ], - "type":"VEC3" - }, - { - "bufferView":512, - "componentType":5126, - "count":473, - "type":"VEC3" - }, - { - "bufferView":513, - "componentType":5126, - "count":473, - "type":"VEC2" - }, - { - "bufferView":514, - "componentType":5126, - "count":5454, - "max":[ - 35.53435134887695, - 11.987060546875, - 5.669225692749023 - ], - "min":[ - -47.13536834716797, - -8.277740478515625, - -51.003562927246094 - ], - "type":"VEC3" - }, - { - "bufferView":515, - "componentType":5126, - "count":5454, - "type":"VEC3" - }, - { - "bufferView":516, - "componentType":5126, - "count":5454, - "type":"VEC2" - }, - { - "bufferView":517, - "componentType":5126, - "count":193, - "max":[ - 51.37074279785156, - 1.2318801879882812, - 98.74161529541016 - ], - "min":[ - -64.09366607666016, - -54.08161926269531, - 22.253211975097656 - ], - "type":"VEC3" - }, - { - "bufferView":518, - "componentType":5126, - "count":193, - "type":"VEC3" - }, - { - "bufferView":519, - "componentType":5126, - "count":193, - "type":"VEC2" - }, - { - "bufferView":520, - "componentType":5126, - "count":473, - "max":[ - 78.80011749267578, - 8.680179595947266, - 117.14396667480469 - ], - "min":[ - -93.22540283203125, - -58.162437438964844, - -86.03450012207031 - ], - "type":"VEC3" - }, - { - "bufferView":521, - "componentType":5126, - "count":473, - "type":"VEC3" - }, - { - "bufferView":522, - "componentType":5126, - "count":473, - "type":"VEC2" - }, - { - "bufferView":523, - "componentType":5126, - "count":5454, - "max":[ - 35.53435134887695, - 11.987060546875, - 5.669225692749023 - ], - "min":[ - -47.13536834716797, - -8.277740478515625, - -51.003562927246094 - ], - "type":"VEC3" - }, - { - "bufferView":524, - "componentType":5126, - "count":5454, - "type":"VEC3" - }, - { - "bufferView":525, - "componentType":5126, - "count":5454, - "type":"VEC2" - }, - { - "bufferView":526, - "componentType":5126, - "count":193, - "max":[ - 51.37074279785156, - 1.2318801879882812, - 98.74161529541016 - ], - "min":[ - -64.09366607666016, - -54.08161926269531, - 22.253211975097656 - ], - "type":"VEC3" - }, - { - "bufferView":527, - "componentType":5126, - "count":193, - "type":"VEC3" - }, - { - "bufferView":528, - "componentType":5126, - "count":193, - "type":"VEC2" - } - ], - "bufferViews":[ - { - "buffer":0, - "byteLength":17028, - "byteOffset":0, - "target":34962 - }, - { - "buffer":0, - "byteLength":17028, - "byteOffset":17028, - "target":34962 - }, - { - "buffer":0, - "byteLength":11352, - "byteOffset":34056, - "target":34962 - }, - { - "buffer":0, - "byteLength":6168, - "byteOffset":45408, - "target":34963 - }, - { - "buffer":0, - "byteLength":1006536, - "byteOffset":51576, - "target":34962 - }, - { - "buffer":0, - "byteLength":1006536, - "byteOffset":1058112, - "target":34962 - }, - { - "buffer":0, - "byteLength":671024, - "byteOffset":2064648, - "target":34962 - }, - { - "buffer":0, - "byteLength":1845792, - "byteOffset":2735672, - "target":34963 - }, - { - "buffer":0, - "byteLength":387192, - "byteOffset":4581464, - "target":34962 - }, - { - "buffer":0, - "byteLength":387192, - "byteOffset":4968656, - "target":34962 - }, - { - "buffer":0, - "byteLength":258128, - "byteOffset":5355848, - "target":34962 - }, - { - "buffer":0, - "byteLength":277440, - "byteOffset":5613976, - "target":34963 - }, - { - "buffer":0, - "byteLength":161976, - "byteOffset":5891416, - "target":34962 - }, - { - "buffer":0, - "byteLength":161976, - "byteOffset":6053392, - "target":34962 - }, - { - "buffer":0, - "byteLength":107984, - "byteOffset":6215368, - "target":34962 - }, - { - "buffer":0, - "byteLength":130152, - "byteOffset":6323352, - "target":34963 - }, - { - "buffer":0, - "byteLength":239904, - "byteOffset":6453504, - "target":34962 - }, - { - "buffer":0, - "byteLength":239904, - "byteOffset":6693408, - "target":34962 - }, - { - "buffer":0, - "byteLength":159936, - "byteOffset":6933312, - "target":34962 - }, - { - "buffer":0, - "byteLength":167688, - "byteOffset":7093248, - "target":34963 - }, - { - "buffer":0, - "byteLength":14688, - "byteOffset":7260936, - "target":34962 - }, - { - "buffer":0, - "byteLength":14688, - "byteOffset":7275624, - "target":34962 - }, - { - "buffer":0, - "byteLength":9792, - "byteOffset":7290312, - "target":34962 - }, - { - "buffer":0, - "byteLength":9792, - "byteOffset":7300104, - "target":34963 - }, - { - "buffer":0, - "byteLength":362304, - "byteOffset":7309896, - "target":34962 - }, - { - "buffer":0, - "byteLength":362304, - "byteOffset":7672200, - "target":34962 - }, - { - "buffer":0, - "byteLength":241536, - "byteOffset":8034504, - "target":34962 - }, - { - "buffer":0, - "byteLength":352512, - "byteOffset":8276040, - "target":34963 - }, - { - "buffer":0, - "byteLength":323088, - "byteOffset":8628552, - "target":34962 - }, - { - "buffer":0, - "byteLength":323088, - "byteOffset":8951640, - "target":34962 - }, - { - "buffer":0, - "byteLength":215392, - "byteOffset":9274728, - "target":34962 - }, - { - "buffer":0, - "byteLength":308856, - "byteOffset":9490120, - "target":34963 - }, - { - "buffer":0, - "byteLength":60792, - "byteOffset":9798976, - "target":34962 - }, - { - "buffer":0, - "byteLength":60792, - "byteOffset":9859768, - "target":34962 - }, - { - "buffer":0, - "byteLength":40528, - "byteOffset":9920560, - "target":34962 - }, - { - "buffer":0, - "byteLength":47736, - "byteOffset":9961088, - "target":34963 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10008824, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10019336, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":10029848, - "target":34962 - }, - { - "buffer":0, - "byteLength":3216, - "byteOffset":10036856, - "target":34963 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":10040072, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":10040120, - "target":34962 - }, - { - "buffer":0, - "byteLength":32, - "byteOffset":10040168, - "target":34962 - }, - { - "buffer":0, - "byteLength":12, - "byteOffset":10040200, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10040212, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10040500, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10040788, - "target":34962 - }, - { - "buffer":0, - "byteLength":72, - "byteOffset":10040980, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10041052, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10041340, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10041628, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10041820, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10042108, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10042396, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10042588, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10042876, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10043164, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10043356, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10043644, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10043932, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10044124, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10044412, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10044700, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10044892, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10045180, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10045468, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10045660, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10045948, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10046236, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10046428, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10046716, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10047004, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10047196, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10047484, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10047772, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10047964, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10048252, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10048540, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10048732, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10049020, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10049308, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10049500, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10049788, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10050076, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10050268, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10050556, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10050844, - "target":34962 - }, - { - "buffer":0, - "byteLength":576, - "byteOffset":10051036, - "target":34962 - }, - { - "buffer":0, - "byteLength":576, - "byteOffset":10051612, - "target":34962 - }, - { - "buffer":0, - "byteLength":384, - "byteOffset":10052188, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10052572, - "target":34963 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10052764, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10063132, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10073500, - "target":34962 - }, - { - "buffer":0, - "byteLength":2568, - "byteOffset":10080412, - "target":34963 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10082980, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10093348, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10103716, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10110628, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10120996, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10131364, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10138276, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10148644, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10159012, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10165924, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10176292, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10186660, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10193572, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10203940, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10214308, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10221220, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10231588, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10241956, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10248868, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10259236, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10269604, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10276516, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10286884, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10297252, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10304164, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10314532, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10324900, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10331812, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10342180, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10352548, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10359460, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10369828, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10380196, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10387108, - "target":34962 - }, - { - "buffer":0, - "byteLength":10368, - "byteOffset":10397476, - "target":34962 - }, - { - "buffer":0, - "byteLength":6912, - "byteOffset":10407844, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10414756, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10420564, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":10426372, - "target":34962 - }, - { - "buffer":0, - "byteLength":2760, - "byteOffset":10430244, - "target":34963 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10433004, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10434324, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":10435644, - "target":34962 - }, - { - "buffer":0, - "byteLength":318, - "byteOffset":10436524, - "target":34963 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10436844, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10440924, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":10445004, - "target":34962 - }, - { - "buffer":0, - "byteLength":1362, - "byteOffset":10447724, - "target":34963 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":10449088, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":10511464, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":10573840, - "target":34962 - }, - { - "buffer":0, - "byteLength":31020, - "byteOffset":10615424, - "target":34963 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":10646444, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":10647704, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":10648964, - "target":34962 - }, - { - "buffer":0, - "byteLength":318, - "byteOffset":10649804, - "target":34963 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":10650124, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":10654456, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":10658788, - "target":34962 - }, - { - "buffer":0, - "byteLength":1362, - "byteOffset":10661676, - "target":34963 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10663040, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10673552, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":10684064, - "target":34962 - }, - { - "buffer":0, - "byteLength":9192, - "byteOffset":10691072, - "target":34963 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":10700264, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":10702760, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":10705256, - "target":34962 - }, - { - "buffer":0, - "byteLength":1224, - "byteOffset":10706920, - "target":34963 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10708144, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10713952, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":10719760, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10723632, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10724952, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":10726272, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10727152, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10731232, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":10735312, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":10738032, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":10800408, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":10862784, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":10904368, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":10905628, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":10906888, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":10907728, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":10912060, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":10916392, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10919280, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":10929792, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":10940304, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":10947312, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":10949808, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":10952304, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10953968, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":10959776, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":10965584, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10969456, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":10970776, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":10972096, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10972976, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":10977056, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":10981136, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":10983856, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11046232, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":11108608, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11150192, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11151452, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":11152712, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11153552, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11157884, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":11162216, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11165104, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11175616, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":11186128, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11193136, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11195632, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":11198128, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11199792, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11205600, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":11211408, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11215280, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11216600, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":11217920, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11218800, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11222880, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":11226960, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11229680, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11292056, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":11354432, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11396016, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11397276, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":11398536, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11399376, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11403708, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":11408040, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11410928, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11421440, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":11431952, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11438960, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11441456, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":11443952, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11445616, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11451424, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":11457232, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11461104, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11462424, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":11463744, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11464624, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11468704, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":11472784, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11475504, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11537880, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":11600256, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11641840, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11643100, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":11644360, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11645200, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11649532, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":11653864, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11656752, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11667264, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":11677776, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11684784, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11687280, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":11689776, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11691440, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11697248, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":11703056, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11706928, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11708248, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":11709568, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11710448, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11714528, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":11718608, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11721328, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11783704, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":11846080, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11887664, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":11888924, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":11890184, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11891024, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":11895356, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":11899688, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11902576, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":11913088, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":11923600, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11930608, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":11933104, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":11935600, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11937264, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":11943072, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":11948880, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11952752, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":11954072, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":11955392, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11956272, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":11960352, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":11964432, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":11967152, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12029528, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":12091904, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12133488, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12134748, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":12136008, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12136848, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12141180, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":12145512, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12148400, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12158912, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":12169424, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12176432, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12178928, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":12181424, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12183088, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12188896, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":12194704, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12198576, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12199896, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":12201216, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12202096, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12206176, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":12210256, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12212976, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12275352, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":12337728, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12379312, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12380572, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":12381832, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12382672, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12387004, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":12391336, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12394224, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12404736, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":12415248, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12422256, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12424752, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":12427248, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12428912, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12434720, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":12440528, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12444400, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12445720, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":12447040, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12447920, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12452000, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":12456080, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12458800, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12521176, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":12583552, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12625136, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12626396, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":12627656, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12628496, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12632828, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":12637160, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12640048, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12650560, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":12661072, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12668080, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12670576, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":12673072, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12674736, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12680544, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":12686352, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12690224, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12691544, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":12692864, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12693744, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12697824, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":12701904, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12704624, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12767000, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":12829376, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12870960, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":12872220, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":12873480, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12874320, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":12878652, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":12882984, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12885872, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":12896384, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":12906896, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12913904, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":12916400, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":12918896, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12920560, - "target":34962 - }, - { - "buffer":0, - "byteLength":5808, - "byteOffset":12926368, - "target":34962 - }, - { - "buffer":0, - "byteLength":3872, - "byteOffset":12932176, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12936048, - "target":34962 - }, - { - "buffer":0, - "byteLength":1320, - "byteOffset":12937368, - "target":34962 - }, - { - "buffer":0, - "byteLength":880, - "byteOffset":12938688, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12939568, - "target":34962 - }, - { - "buffer":0, - "byteLength":4080, - "byteOffset":12943648, - "target":34962 - }, - { - "buffer":0, - "byteLength":2720, - "byteOffset":12947728, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":12950448, - "target":34962 - }, - { - "buffer":0, - "byteLength":62376, - "byteOffset":13012824, - "target":34962 - }, - { - "buffer":0, - "byteLength":41584, - "byteOffset":13075200, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":13116784, - "target":34962 - }, - { - "buffer":0, - "byteLength":1260, - "byteOffset":13118044, - "target":34962 - }, - { - "buffer":0, - "byteLength":840, - "byteOffset":13119304, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":13120144, - "target":34962 - }, - { - "buffer":0, - "byteLength":4332, - "byteOffset":13124476, - "target":34962 - }, - { - "buffer":0, - "byteLength":2888, - "byteOffset":13128808, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":13131696, - "target":34962 - }, - { - "buffer":0, - "byteLength":10512, - "byteOffset":13142208, - "target":34962 - }, - { - "buffer":0, - "byteLength":7008, - "byteOffset":13152720, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":13159728, - "target":34962 - }, - { - "buffer":0, - "byteLength":2496, - "byteOffset":13162224, - "target":34962 - }, - { - "buffer":0, - "byteLength":1664, - "byteOffset":13164720, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13166384, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13166672, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13166960, - "target":34962 - }, - { - "buffer":0, - "byteLength":216, - "byteOffset":13167152, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13167368, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13167656, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13167944, - "target":34962 - }, - { - "buffer":0, - "byteLength":72, - "byteOffset":13168136, - "target":34963 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13168208, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13168880, - "target":34962 - }, - { - "buffer":0, - "byteLength":448, - "byteOffset":13169552, - "target":34962 - }, - { - "buffer":0, - "byteLength":648, - "byteOffset":13170000, - "target":34963 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13170648, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13173816, - "target":34962 - }, - { - "buffer":0, - "byteLength":2112, - "byteOffset":13176984, - "target":34962 - }, - { - "buffer":0, - "byteLength":3144, - "byteOffset":13179096, - "target":34963 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13182240, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13186548, - "target":34962 - }, - { - "buffer":0, - "byteLength":2872, - "byteOffset":13190856, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13193728, - "target":34963 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13198036, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13201876, - "target":34962 - }, - { - "buffer":0, - "byteLength":2560, - "byteOffset":13205716, - "target":34962 - }, - { - "buffer":0, - "byteLength":3816, - "byteOffset":13208276, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13212092, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13212380, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13212668, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13212860, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13213148, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13213436, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13213628, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13214300, - "target":34962 - }, - { - "buffer":0, - "byteLength":448, - "byteOffset":13214972, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13215420, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13218588, - "target":34962 - }, - { - "buffer":0, - "byteLength":2112, - "byteOffset":13221756, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13223868, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13228176, - "target":34962 - }, - { - "buffer":0, - "byteLength":2872, - "byteOffset":13232484, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13235356, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13239196, - "target":34962 - }, - { - "buffer":0, - "byteLength":2560, - "byteOffset":13243036, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13245596, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13245884, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13246172, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13246364, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13246652, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13246940, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13247132, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13247804, - "target":34962 - }, - { - "buffer":0, - "byteLength":448, - "byteOffset":13248476, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13248924, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13252092, - "target":34962 - }, - { - "buffer":0, - "byteLength":2112, - "byteOffset":13255260, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13257372, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13261680, - "target":34962 - }, - { - "buffer":0, - "byteLength":2872, - "byteOffset":13265988, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13268860, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13272700, - "target":34962 - }, - { - "buffer":0, - "byteLength":2560, - "byteOffset":13276540, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13279100, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13279388, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13279676, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13279868, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13280156, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13280444, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13280636, - "target":34962 - }, - { - "buffer":0, - "byteLength":672, - "byteOffset":13281308, - "target":34962 - }, - { - "buffer":0, - "byteLength":448, - "byteOffset":13281980, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13282428, - "target":34962 - }, - { - "buffer":0, - "byteLength":3168, - "byteOffset":13285596, - "target":34962 - }, - { - "buffer":0, - "byteLength":2112, - "byteOffset":13288764, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13290876, - "target":34962 - }, - { - "buffer":0, - "byteLength":4308, - "byteOffset":13295184, - "target":34962 - }, - { - "buffer":0, - "byteLength":2872, - "byteOffset":13299492, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13302364, - "target":34962 - }, - { - "buffer":0, - "byteLength":3840, - "byteOffset":13306204, - "target":34962 - }, - { - "buffer":0, - "byteLength":2560, - "byteOffset":13310044, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13312604, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13318280, - "target":34962 - }, - { - "buffer":0, - "byteLength":3784, - "byteOffset":13323956, - "target":34962 - }, - { - "buffer":0, - "byteLength":4794, - "byteOffset":13327740, - "target":34963 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13332536, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13397984, - "target":34962 - }, - { - "buffer":0, - "byteLength":43632, - "byteOffset":13463432, - "target":34962 - }, - { - "buffer":0, - "byteLength":65328, - "byteOffset":13507064, - "target":34963 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13572392, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13574708, - "target":34962 - }, - { - "buffer":0, - "byteLength":1544, - "byteOffset":13577024, - "target":34962 - }, - { - "buffer":0, - "byteLength":1434, - "byteOffset":13578568, - "target":34963 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13580004, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13585680, - "target":34962 - }, - { - "buffer":0, - "byteLength":3784, - "byteOffset":13591356, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13595140, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13660588, - "target":34962 - }, - { - "buffer":0, - "byteLength":43632, - "byteOffset":13726036, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13769668, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13771984, - "target":34962 - }, - { - "buffer":0, - "byteLength":1544, - "byteOffset":13774300, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13775844, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13781520, - "target":34962 - }, - { - "buffer":0, - "byteLength":3784, - "byteOffset":13787196, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13790980, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13856428, - "target":34962 - }, - { - "buffer":0, - "byteLength":43632, - "byteOffset":13921876, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13965508, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":13967824, - "target":34962 - }, - { - "buffer":0, - "byteLength":1544, - "byteOffset":13970140, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13971684, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":13977360, - "target":34962 - }, - { - "buffer":0, - "byteLength":3784, - "byteOffset":13983036, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":13986820, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":14052268, - "target":34962 - }, - { - "buffer":0, - "byteLength":43632, - "byteOffset":14117716, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":14161348, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":14163664, - "target":34962 - }, - { - "buffer":0, - "byteLength":1544, - "byteOffset":14165980, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":14167524, - "target":34962 - }, - { - "buffer":0, - "byteLength":5676, - "byteOffset":14173200, - "target":34962 - }, - { - "buffer":0, - "byteLength":3784, - "byteOffset":14178876, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":14182660, - "target":34962 - }, - { - "buffer":0, - "byteLength":65448, - "byteOffset":14248108, - "target":34962 - }, - { - "buffer":0, - "byteLength":43632, - "byteOffset":14313556, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":14357188, - "target":34962 - }, - { - "buffer":0, - "byteLength":2316, - "byteOffset":14359504, - "target":34962 - }, - { - "buffer":0, - "byteLength":1544, - "byteOffset":14361820, - "target":34962 - } - ], - "samplers":[ - { - "magFilter":9729, - "minFilter":9987 - } - ], - "buffers":[ - { - "byteLength":14363364, - "uri":"ground_floor06.bin" - } - ] -} diff --git a/webVue/models/groundFloor/materials_Label.jpg b/webVue/models/groundFloor/materials_Label.jpg deleted file mode 100644 index 6c6af42..0000000 Binary files a/webVue/models/groundFloor/materials_Label.jpg and /dev/null differ diff --git a/webVue/models/hydrant.jpg b/webVue/models/hydrant.jpg deleted file mode 100644 index 9c5a4bc..0000000 Binary files a/webVue/models/hydrant.jpg and /dev/null differ diff --git a/webVue/models/machineRoom.bin b/webVue/models/machineRoom.bin deleted file mode 100644 index f19e883..0000000 Binary files a/webVue/models/machineRoom.bin and /dev/null differ diff --git a/webVue/models/machineRoom.gltf b/webVue/models/machineRoom.gltf deleted file mode 100644 index 656e4b5..0000000 --- a/webVue/models/machineRoom.gltf +++ /dev/null @@ -1 +0,0 @@ -{"asset":{"version":"2.0","generator":"babylon.js glTF exporter for 3dsmax 2018 v20210615.1"},"scene":0,"scenes":[{"nodes":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99]}],"nodes":[{"mesh":0,"translation":[7.08968353,0.0,3.55611348],"name":"cabinet-001"},{"mesh":1,"translation":[7.689683,0.0,3.55611348],"name":"aircondition-001"},{"mesh":2,"translation":[7.689683,0.0,0.791756868],"name":"aircondition-002"},{"mesh":3,"translation":[7.08968353,0.0,0.791756868],"name":"cabinet-011"},{"mesh":4,"translation":[7.689683,0.0,-1.77467191],"name":"aircondition-003"},{"mesh":5,"translation":[7.08968353,0.0,-1.77467191],"name":"cabinet-021"},{"mesh":6,"translation":[7.689683,0.0,-4.377678],"name":"aircondition-004"},{"mesh":7,"translation":[7.08968353,0.0,-4.377678],"name":"cabinet-031"},{"mesh":8,"translation":[-7.728669,-1.22070318E-07,-6.63402176],"rotation":[0.0,-1.0,0.0,7.54979E-08],"name":"electricBox-001"},{"mesh":9,"translation":[-6.96683741,-1.22070318E-07,-6.63402176],"rotation":[0.0,-1.0,0.0,7.54979E-08],"name":"electricBox-002"},{"mesh":10,"translation":[-6.205005,-1.22070318E-07,-6.63402176],"rotation":[0.0,-1.0,0.0,7.54979E-08],"name":"electricBox-003"},{"mesh":11,"translation":[-9.989664,0.5202129,-5.414471],"rotation":[0.0,0.7071068,0.0,0.7071067],"name":"hydrant-001"},{"mesh":11,"translation":[9.989649,0.5202129,-5.414471],"rotation":[0.0,-0.70710665,0.0,0.7071069],"name":"hydrant-002"},{"mesh":12,"translation":[-0.62944293,0.0,-0.892856956],"name":"floor02"},{"mesh":13,"translation":[8.260764,0.0,-7.035022],"name":"door-002"},{"mesh":14,"translation":[-9.26965,0.0,-7.035022],"name":"door-001"},{"mesh":15,"translation":[-0.62944293,0.0,-0.892856956],"name":"floor01"},{"mesh":16,"translation":[1.19791508,0.0,-1.19569242],"rotation":[0.0,7.54979E-08,1.0,0.0],"scale":[1.0,-1.0,1.0],"name":"wall-l"},{"mesh":17,"translation":[1.19791508,0.0,-1.19569242],"rotation":[0.0,7.54979E-08,1.0,0.0],"scale":[1.0,-1.0,1.0],"name":"wall-f"},{"mesh":18,"translation":[1.19791508,0.0,-1.19569242],"rotation":[0.0,7.54979E-08,1.0,0.0],"scale":[1.0,-1.0,1.0],"name":"wall-t"},{"mesh":19,"translation":[6.48968363,0.0,3.55611372],"name":"cabinet-002"},{"mesh":20,"translation":[5.88968325,0.0,3.556114],"name":"cabinet-003"},{"mesh":21,"translation":[5.28968334,0.0,3.5561142],"name":"cabinet-004"},{"mesh":22,"translation":[4.68968344,0.0,3.55611444],"name":"cabinet-005"},{"mesh":23,"translation":[4.08968353,0.0,3.55611467],"name":"cabinet-006"},{"mesh":24,"translation":[3.48968339,0.0,3.556115],"name":"cabinet-007"},{"mesh":25,"translation":[2.88968325,0.0,3.55611515],"name":"cabinet-008"},{"mesh":26,"translation":[2.289683,0.0,3.55611539],"name":"cabinet-009"},{"mesh":27,"translation":[1.6896832,0.0,3.55611563],"name":"cabinet-010"},{"mesh":28,"translation":[6.48968363,0.0,0.791756868],"name":"cabinet-012"},{"mesh":29,"translation":[5.88968325,0.0,0.791756868],"name":"cabinet-013"},{"mesh":30,"translation":[5.28968334,0.0,0.791756868],"name":"cabinet-014"},{"mesh":31,"translation":[4.68968344,0.0,0.791756868],"name":"cabinet-015"},{"mesh":32,"translation":[4.08968353,0.0,0.791756868],"name":"cabinet-016"},{"mesh":33,"translation":[3.48968339,0.0,0.791756868],"name":"cabinet-017"},{"mesh":34,"translation":[2.88968325,0.0,0.791756868],"name":"cabinet-018"},{"mesh":35,"translation":[2.289683,0.0,0.791756868],"name":"cabinet-019"},{"mesh":36,"translation":[1.6896832,0.0,0.791756868],"name":"cabinet-020"},{"mesh":37,"translation":[6.489684,0.0,-1.77467179],"name":"cabinet-022"},{"mesh":38,"translation":[5.889684,0.0,-1.77467167],"name":"cabinet-023"},{"mesh":39,"translation":[5.289685,0.0,-1.77467155],"name":"cabinet-024"},{"mesh":40,"translation":[4.68968534,0.0,-1.77467144],"name":"cabinet-025"},{"mesh":41,"translation":[4.089686,0.0,-1.77467132],"name":"cabinet-026"},{"mesh":42,"translation":[3.48968625,0.0,-1.7746712],"name":"cabinet-027"},{"mesh":43,"translation":[2.88968658,0.0,-1.77467108],"name":"cabinet-028"},{"mesh":44,"translation":[2.28968716,0.0,-1.774671],"name":"cabinet-029"},{"mesh":45,"translation":[1.68968761,0.0,-1.77467084],"name":"cabinet-030"},{"mesh":46,"translation":[6.489683,0.0,-4.377678],"name":"cabinet-032"},{"mesh":47,"translation":[5.889683,0.0,-4.377678],"name":"cabinet-033"},{"mesh":48,"translation":[5.289683,0.0,-4.377678],"name":"cabinet-034"},{"mesh":49,"translation":[4.689683,0.0,-4.377678],"name":"cabinet-035"},{"mesh":50,"translation":[4.08968258,0.0,-4.377678],"name":"cabinet-036"},{"mesh":51,"translation":[3.48968267,0.0,-4.377678],"name":"cabinet-037"},{"mesh":52,"translation":[2.88968277,0.0,-4.377678],"name":"cabinet-038"},{"mesh":53,"translation":[2.28968263,0.0,-4.377678],"name":"cabinet-039"},{"mesh":54,"translation":[1.68968272,0.0,-4.377678],"name":"cabinet-040"},{"mesh":55,"translation":[-1.71594632,0.0,3.55611444],"name":"aircondition-005"},{"mesh":56,"translation":[-1.71594632,0.0,0.7917578],"name":"aircondition-006"},{"mesh":57,"translation":[-1.71594632,0.0,-1.774671],"name":"aircondition-007"},{"mesh":58,"translation":[-1.71594632,0.0,-4.377677],"name":"aircondition-008"},{"mesh":59,"translation":[-2.31594586,0.0,3.55611444],"name":"cabinet-041"},{"mesh":60,"translation":[-2.915946,0.0,3.55611467],"name":"cabinet-042"},{"mesh":61,"translation":[-3.515946,0.0,3.556115],"name":"cabinet-043"},{"mesh":62,"translation":[-4.115946,0.0,3.55611515],"name":"cabinet-044"},{"mesh":63,"translation":[-4.715946,0.0,3.55611539],"name":"cabinet-045"},{"mesh":64,"translation":[-5.315946,0.0,3.55611563],"name":"cabinet-046"},{"mesh":65,"translation":[-5.915946,0.0,3.55611587],"name":"cabinet-047"},{"mesh":66,"translation":[-6.515946,0.0,3.556116],"name":"cabinet-048"},{"mesh":67,"translation":[-7.11594629,0.0,3.55611634],"name":"cabinet-049"},{"mesh":68,"translation":[-7.715946,0.0,3.55611658],"name":"cabinet-050"},{"mesh":69,"translation":[-2.31594586,0.0,0.7917578],"name":"cabinet-051"},{"mesh":70,"translation":[-2.915946,0.0,0.7917578],"name":"cabinet-052"},{"mesh":71,"translation":[-3.515946,0.0,0.7917578],"name":"cabinet-053"},{"mesh":72,"translation":[-4.115946,0.0,0.7917578],"name":"cabinet-054"},{"mesh":73,"translation":[-4.715946,0.0,0.7917578],"name":"cabinet-055"},{"mesh":74,"translation":[-5.315946,0.0,0.7917578],"name":"cabinet-056"},{"mesh":75,"translation":[-5.915946,0.0,0.7917578],"name":"cabinet-057"},{"mesh":76,"translation":[-6.515946,0.0,0.7917578],"name":"cabinet-058"},{"mesh":77,"translation":[-7.11594629,0.0,0.7917578],"name":"cabinet-059"},{"mesh":78,"translation":[-7.715946,0.0,0.7917578],"name":"cabinet-060"},{"mesh":79,"translation":[-2.31594586,0.0,-1.774671],"name":"cabinet-061"},{"mesh":80,"translation":[-2.91594553,0.0,-1.77467084],"name":"cabinet-062"},{"mesh":81,"translation":[-3.515945,0.0,-1.77467072],"name":"cabinet-063"},{"mesh":82,"translation":[-4.11594439,0.0,-1.7746706],"name":"cabinet-064"},{"mesh":83,"translation":[-4.71594429,0.0,-1.77467048],"name":"cabinet-065"},{"mesh":84,"translation":[-5.31594372,0.0,-1.77467036],"name":"cabinet-066"},{"mesh":85,"translation":[-5.915943,0.0,-1.77467024],"name":"cabinet-067"},{"mesh":86,"translation":[-6.51594257,0.0,-1.77467012],"name":"cabinet-068"},{"mesh":87,"translation":[-7.115942,0.0,-1.77467],"name":"cabinet-069"},{"mesh":88,"translation":[-7.715942,0.0,-1.77466989],"name":"cabinet-070"},{"mesh":89,"translation":[-2.31594586,0.0,-4.377677],"name":"cabinet-071"},{"mesh":90,"translation":[-2.91594648,0.0,-4.377677],"name":"cabinet-072"},{"mesh":91,"translation":[-3.51594639,0.0,-4.377677],"name":"cabinet-073"},{"mesh":92,"translation":[-4.11594629,0.0,-4.377677],"name":"cabinet-074"},{"mesh":93,"translation":[-4.71594667,0.0,-4.377677],"name":"cabinet-075"},{"mesh":94,"translation":[-5.31594658,0.0,-4.377677],"name":"cabinet-076"},{"mesh":95,"translation":[-5.91594648,0.0,-4.377677],"name":"cabinet-077"},{"mesh":96,"translation":[-6.51594639,0.0,-4.377677],"name":"cabinet-078"},{"mesh":97,"translation":[-7.115947,0.0,-4.377677],"name":"cabinet-079"},{"mesh":98,"translation":[-7.71594667,0.0,-4.377677],"name":"cabinet-080"}],"meshes":[{"primitives":[{"attributes":{"POSITION":1,"NORMAL":2,"TEXCOORD_0":3},"indices":0,"material":0}],"name":"cabinet-001"},{"primitives":[{"attributes":{"POSITION":5,"NORMAL":6,"TEXCOORD_0":7},"indices":4,"material":1}],"name":"aircondition-001"},{"primitives":[{"attributes":{"POSITION":9,"NORMAL":10,"TEXCOORD_0":11},"indices":8,"material":1}],"name":"aircondition-002"},{"primitives":[{"attributes":{"POSITION":13,"NORMAL":14,"TEXCOORD_0":15},"indices":12,"material":0}],"name":"cabinet-011"},{"primitives":[{"attributes":{"POSITION":17,"NORMAL":18,"TEXCOORD_0":19},"indices":16,"material":1}],"name":"aircondition-003"},{"primitives":[{"attributes":{"POSITION":21,"NORMAL":22,"TEXCOORD_0":23},"indices":20,"material":0}],"name":"cabinet-021"},{"primitives":[{"attributes":{"POSITION":25,"NORMAL":26,"TEXCOORD_0":27},"indices":24,"material":1}],"name":"aircondition-004"},{"primitives":[{"attributes":{"POSITION":29,"NORMAL":30,"TEXCOORD_0":31},"indices":28,"material":0}],"name":"cabinet-031"},{"primitives":[{"attributes":{"POSITION":33,"NORMAL":34,"TEXCOORD_0":35},"indices":32,"material":2}],"name":"electricBox-001"},{"primitives":[{"attributes":{"POSITION":37,"NORMAL":38,"TEXCOORD_0":39},"indices":36,"material":2}],"name":"electricBox-002"},{"primitives":[{"attributes":{"POSITION":41,"NORMAL":42,"TEXCOORD_0":43},"indices":40,"material":2}],"name":"electricBox-003"},{"primitives":[{"attributes":{"POSITION":45,"NORMAL":46,"TEXCOORD_0":47},"indices":44,"material":3}],"name":"hydrant-001"},{"primitives":[{"attributes":{"POSITION":49,"NORMAL":50,"TEXCOORD_0":51},"indices":48,"material":4}],"name":"floor02"},{"primitives":[{"attributes":{"POSITION":53,"NORMAL":54,"TEXCOORD_0":55},"indices":52,"material":5}],"name":"door-002"},{"primitives":[{"attributes":{"POSITION":57,"NORMAL":58,"TEXCOORD_0":59},"indices":56,"material":5}],"name":"door-001"},{"primitives":[{"attributes":{"POSITION":61,"NORMAL":62,"TEXCOORD_0":63},"indices":60,"material":6}],"name":"floor01"},{"primitives":[{"attributes":{"POSITION":65,"NORMAL":66},"indices":64,"material":7}],"name":"wall-l"},{"primitives":[{"attributes":{"POSITION":68,"NORMAL":69},"indices":67,"material":8}],"name":"wall-f"},{"primitives":[{"attributes":{"POSITION":71,"NORMAL":72},"indices":70,"material":9}],"name":"wall-t"},{"primitives":[{"attributes":{"POSITION":74,"NORMAL":75,"TEXCOORD_0":76},"indices":73,"material":0}],"name":"cabinet-002"},{"primitives":[{"attributes":{"POSITION":78,"NORMAL":79,"TEXCOORD_0":80},"indices":77,"material":0}],"name":"cabinet-003"},{"primitives":[{"attributes":{"POSITION":82,"NORMAL":83,"TEXCOORD_0":84},"indices":81,"material":0}],"name":"cabinet-004"},{"primitives":[{"attributes":{"POSITION":86,"NORMAL":87,"TEXCOORD_0":88},"indices":85,"material":0}],"name":"cabinet-005"},{"primitives":[{"attributes":{"POSITION":90,"NORMAL":91,"TEXCOORD_0":92},"indices":89,"material":0}],"name":"cabinet-006"},{"primitives":[{"attributes":{"POSITION":94,"NORMAL":95,"TEXCOORD_0":96},"indices":93,"material":0}],"name":"cabinet-007"},{"primitives":[{"attributes":{"POSITION":98,"NORMAL":99,"TEXCOORD_0":100},"indices":97,"material":0}],"name":"cabinet-008"},{"primitives":[{"attributes":{"POSITION":102,"NORMAL":103,"TEXCOORD_0":104},"indices":101,"material":0}],"name":"cabinet-009"},{"primitives":[{"attributes":{"POSITION":106,"NORMAL":107,"TEXCOORD_0":108},"indices":105,"material":0}],"name":"cabinet-010"},{"primitives":[{"attributes":{"POSITION":110,"NORMAL":111,"TEXCOORD_0":112},"indices":109,"material":0}],"name":"cabinet-012"},{"primitives":[{"attributes":{"POSITION":114,"NORMAL":115,"TEXCOORD_0":116},"indices":113,"material":0}],"name":"cabinet-013"},{"primitives":[{"attributes":{"POSITION":118,"NORMAL":119,"TEXCOORD_0":120},"indices":117,"material":0}],"name":"cabinet-014"},{"primitives":[{"attributes":{"POSITION":122,"NORMAL":123,"TEXCOORD_0":124},"indices":121,"material":0}],"name":"cabinet-015"},{"primitives":[{"attributes":{"POSITION":126,"NORMAL":127,"TEXCOORD_0":128},"indices":125,"material":0}],"name":"cabinet-016"},{"primitives":[{"attributes":{"POSITION":130,"NORMAL":131,"TEXCOORD_0":132},"indices":129,"material":0}],"name":"cabinet-017"},{"primitives":[{"attributes":{"POSITION":134,"NORMAL":135,"TEXCOORD_0":136},"indices":133,"material":0}],"name":"cabinet-018"},{"primitives":[{"attributes":{"POSITION":138,"NORMAL":139,"TEXCOORD_0":140},"indices":137,"material":0}],"name":"cabinet-019"},{"primitives":[{"attributes":{"POSITION":142,"NORMAL":143,"TEXCOORD_0":144},"indices":141,"material":0}],"name":"cabinet-020"},{"primitives":[{"attributes":{"POSITION":146,"NORMAL":147,"TEXCOORD_0":148},"indices":145,"material":0}],"name":"cabinet-022"},{"primitives":[{"attributes":{"POSITION":150,"NORMAL":151,"TEXCOORD_0":152},"indices":149,"material":0}],"name":"cabinet-023"},{"primitives":[{"attributes":{"POSITION":154,"NORMAL":155,"TEXCOORD_0":156},"indices":153,"material":0}],"name":"cabinet-024"},{"primitives":[{"attributes":{"POSITION":158,"NORMAL":159,"TEXCOORD_0":160},"indices":157,"material":0}],"name":"cabinet-025"},{"primitives":[{"attributes":{"POSITION":162,"NORMAL":163,"TEXCOORD_0":164},"indices":161,"material":0}],"name":"cabinet-026"},{"primitives":[{"attributes":{"POSITION":166,"NORMAL":167,"TEXCOORD_0":168},"indices":165,"material":0}],"name":"cabinet-027"},{"primitives":[{"attributes":{"POSITION":170,"NORMAL":171,"TEXCOORD_0":172},"indices":169,"material":0}],"name":"cabinet-028"},{"primitives":[{"attributes":{"POSITION":174,"NORMAL":175,"TEXCOORD_0":176},"indices":173,"material":0}],"name":"cabinet-029"},{"primitives":[{"attributes":{"POSITION":178,"NORMAL":179,"TEXCOORD_0":180},"indices":177,"material":0}],"name":"cabinet-030"},{"primitives":[{"attributes":{"POSITION":182,"NORMAL":183,"TEXCOORD_0":184},"indices":181,"material":0}],"name":"cabinet-032"},{"primitives":[{"attributes":{"POSITION":186,"NORMAL":187,"TEXCOORD_0":188},"indices":185,"material":0}],"name":"cabinet-033"},{"primitives":[{"attributes":{"POSITION":190,"NORMAL":191,"TEXCOORD_0":192},"indices":189,"material":0}],"name":"cabinet-034"},{"primitives":[{"attributes":{"POSITION":194,"NORMAL":195,"TEXCOORD_0":196},"indices":193,"material":0}],"name":"cabinet-035"},{"primitives":[{"attributes":{"POSITION":198,"NORMAL":199,"TEXCOORD_0":200},"indices":197,"material":0}],"name":"cabinet-036"},{"primitives":[{"attributes":{"POSITION":202,"NORMAL":203,"TEXCOORD_0":204},"indices":201,"material":0}],"name":"cabinet-037"},{"primitives":[{"attributes":{"POSITION":206,"NORMAL":207,"TEXCOORD_0":208},"indices":205,"material":0}],"name":"cabinet-038"},{"primitives":[{"attributes":{"POSITION":210,"NORMAL":211,"TEXCOORD_0":212},"indices":209,"material":0}],"name":"cabinet-039"},{"primitives":[{"attributes":{"POSITION":214,"NORMAL":215,"TEXCOORD_0":216},"indices":213,"material":0}],"name":"cabinet-040"},{"primitives":[{"attributes":{"POSITION":218,"NORMAL":219,"TEXCOORD_0":220},"indices":217,"material":1}],"name":"aircondition-005"},{"primitives":[{"attributes":{"POSITION":222,"NORMAL":223,"TEXCOORD_0":224},"indices":221,"material":1}],"name":"aircondition-006"},{"primitives":[{"attributes":{"POSITION":226,"NORMAL":227,"TEXCOORD_0":228},"indices":225,"material":1}],"name":"aircondition-007"},{"primitives":[{"attributes":{"POSITION":230,"NORMAL":231,"TEXCOORD_0":232},"indices":229,"material":1}],"name":"aircondition-008"},{"primitives":[{"attributes":{"POSITION":234,"NORMAL":235,"TEXCOORD_0":236},"indices":233,"material":0}],"name":"cabinet-041"},{"primitives":[{"attributes":{"POSITION":238,"NORMAL":239,"TEXCOORD_0":240},"indices":237,"material":0}],"name":"cabinet-042"},{"primitives":[{"attributes":{"POSITION":242,"NORMAL":243,"TEXCOORD_0":244},"indices":241,"material":0}],"name":"cabinet-043"},{"primitives":[{"attributes":{"POSITION":246,"NORMAL":247,"TEXCOORD_0":248},"indices":245,"material":0}],"name":"cabinet-044"},{"primitives":[{"attributes":{"POSITION":250,"NORMAL":251,"TEXCOORD_0":252},"indices":249,"material":0}],"name":"cabinet-045"},{"primitives":[{"attributes":{"POSITION":254,"NORMAL":255,"TEXCOORD_0":256},"indices":253,"material":0}],"name":"cabinet-046"},{"primitives":[{"attributes":{"POSITION":258,"NORMAL":259,"TEXCOORD_0":260},"indices":257,"material":0}],"name":"cabinet-047"},{"primitives":[{"attributes":{"POSITION":262,"NORMAL":263,"TEXCOORD_0":264},"indices":261,"material":0}],"name":"cabinet-048"},{"primitives":[{"attributes":{"POSITION":266,"NORMAL":267,"TEXCOORD_0":268},"indices":265,"material":0}],"name":"cabinet-049"},{"primitives":[{"attributes":{"POSITION":270,"NORMAL":271,"TEXCOORD_0":272},"indices":269,"material":0}],"name":"cabinet-050"},{"primitives":[{"attributes":{"POSITION":274,"NORMAL":275,"TEXCOORD_0":276},"indices":273,"material":0}],"name":"cabinet-051"},{"primitives":[{"attributes":{"POSITION":278,"NORMAL":279,"TEXCOORD_0":280},"indices":277,"material":0}],"name":"cabinet-052"},{"primitives":[{"attributes":{"POSITION":282,"NORMAL":283,"TEXCOORD_0":284},"indices":281,"material":0}],"name":"cabinet-053"},{"primitives":[{"attributes":{"POSITION":286,"NORMAL":287,"TEXCOORD_0":288},"indices":285,"material":0}],"name":"cabinet-054"},{"primitives":[{"attributes":{"POSITION":290,"NORMAL":291,"TEXCOORD_0":292},"indices":289,"material":0}],"name":"cabinet-055"},{"primitives":[{"attributes":{"POSITION":294,"NORMAL":295,"TEXCOORD_0":296},"indices":293,"material":0}],"name":"cabinet-056"},{"primitives":[{"attributes":{"POSITION":298,"NORMAL":299,"TEXCOORD_0":300},"indices":297,"material":0}],"name":"cabinet-057"},{"primitives":[{"attributes":{"POSITION":302,"NORMAL":303,"TEXCOORD_0":304},"indices":301,"material":0}],"name":"cabinet-058"},{"primitives":[{"attributes":{"POSITION":306,"NORMAL":307,"TEXCOORD_0":308},"indices":305,"material":0}],"name":"cabinet-059"},{"primitives":[{"attributes":{"POSITION":310,"NORMAL":311,"TEXCOORD_0":312},"indices":309,"material":0}],"name":"cabinet-060"},{"primitives":[{"attributes":{"POSITION":314,"NORMAL":315,"TEXCOORD_0":316},"indices":313,"material":0}],"name":"cabinet-061"},{"primitives":[{"attributes":{"POSITION":318,"NORMAL":319,"TEXCOORD_0":320},"indices":317,"material":0}],"name":"cabinet-062"},{"primitives":[{"attributes":{"POSITION":322,"NORMAL":323,"TEXCOORD_0":324},"indices":321,"material":0}],"name":"cabinet-063"},{"primitives":[{"attributes":{"POSITION":326,"NORMAL":327,"TEXCOORD_0":328},"indices":325,"material":0}],"name":"cabinet-064"},{"primitives":[{"attributes":{"POSITION":330,"NORMAL":331,"TEXCOORD_0":332},"indices":329,"material":0}],"name":"cabinet-065"},{"primitives":[{"attributes":{"POSITION":334,"NORMAL":335,"TEXCOORD_0":336},"indices":333,"material":0}],"name":"cabinet-066"},{"primitives":[{"attributes":{"POSITION":338,"NORMAL":339,"TEXCOORD_0":340},"indices":337,"material":0}],"name":"cabinet-067"},{"primitives":[{"attributes":{"POSITION":342,"NORMAL":343,"TEXCOORD_0":344},"indices":341,"material":0}],"name":"cabinet-068"},{"primitives":[{"attributes":{"POSITION":346,"NORMAL":347,"TEXCOORD_0":348},"indices":345,"material":0}],"name":"cabinet-069"},{"primitives":[{"attributes":{"POSITION":350,"NORMAL":351,"TEXCOORD_0":352},"indices":349,"material":0}],"name":"cabinet-070"},{"primitives":[{"attributes":{"POSITION":354,"NORMAL":355,"TEXCOORD_0":356},"indices":353,"material":0}],"name":"cabinet-071"},{"primitives":[{"attributes":{"POSITION":358,"NORMAL":359,"TEXCOORD_0":360},"indices":357,"material":0}],"name":"cabinet-072"},{"primitives":[{"attributes":{"POSITION":362,"NORMAL":363,"TEXCOORD_0":364},"indices":361,"material":0}],"name":"cabinet-073"},{"primitives":[{"attributes":{"POSITION":366,"NORMAL":367,"TEXCOORD_0":368},"indices":365,"material":0}],"name":"cabinet-074"},{"primitives":[{"attributes":{"POSITION":370,"NORMAL":371,"TEXCOORD_0":372},"indices":369,"material":0}],"name":"cabinet-075"},{"primitives":[{"attributes":{"POSITION":374,"NORMAL":375,"TEXCOORD_0":376},"indices":373,"material":0}],"name":"cabinet-076"},{"primitives":[{"attributes":{"POSITION":378,"NORMAL":379,"TEXCOORD_0":380},"indices":377,"material":0}],"name":"cabinet-077"},{"primitives":[{"attributes":{"POSITION":382,"NORMAL":383,"TEXCOORD_0":384},"indices":381,"material":0}],"name":"cabinet-078"},{"primitives":[{"attributes":{"POSITION":386,"NORMAL":387,"TEXCOORD_0":388},"indices":385,"material":0}],"name":"cabinet-079"},{"primitives":[{"attributes":{"POSITION":390,"NORMAL":391,"TEXCOORD_0":392},"indices":389,"material":0}],"name":"cabinet-080"}],"accessors":[{"bufferView":0,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":360,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":60,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":720,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.299999982,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":1080,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":240,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":120,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":1440,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.299999982,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":1800,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":480,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":180,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":2160,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":2520,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":720,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":240,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":2880,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.299999982,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":3240,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":960,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":300,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":3600,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":3960,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":1200,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":360,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":4320,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.299999982,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":4680,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":1440,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":420,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":5040,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":5400,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":1680,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":480,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":5760,"componentType":5126,"count":30,"max":[0.380916148,1.5902127,0.3010001],"min":[-0.380916148,0.0,-0.3010001],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":6120,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":1920,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":540,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":6480,"componentType":5126,"count":30,"max":[0.380916148,1.5902127,0.3010001],"min":[-0.380916148,0.0,-0.3010001],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":6840,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":2160,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":600,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":7200,"componentType":5126,"count":30,"max":[0.380916148,1.5902127,0.3010001],"min":[-0.380916148,0.0,-0.3010001],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":7560,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":2400,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":660,"componentType":5123,"count":24,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":7920,"componentType":5126,"count":24,"max":[0.350000024,1.07,0.130000025],"min":[-0.350000024,0.0,-0.13],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":8208,"componentType":5126,"count":24,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":2640,"componentType":5126,"count":24,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":708,"componentType":5123,"count":78,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":8496,"componentType":5126,"count":78,"max":[10.9490919,0.0,7.42788],"min":[-9.690194,0.0,-6.24216461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":9432,"componentType":5126,"count":78,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":2832,"componentType":5126,"count":78,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":864,"componentType":5123,"count":18,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":10368,"componentType":5126,"count":18,"max":[0.75000006,2.10942578,0.0150000006],"min":[-0.75000006,0.0,-0.0150009776],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":10584,"componentType":5126,"count":18,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":3456,"componentType":5126,"count":18,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":900,"componentType":5123,"count":18,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":10800,"componentType":5126,"count":18,"max":[0.75000006,2.10942578,0.0150000006],"min":[-0.75000006,0.0,-0.0150009776],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":11016,"componentType":5126,"count":18,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":3600,"componentType":5126,"count":18,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":936,"componentType":5123,"count":12,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":11232,"componentType":5126,"count":12,"max":[8.619125,0.0,4.914818],"min":[-7.386507,0.0,-3.96382451],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":11376,"componentType":5126,"count":12,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":3744,"componentType":5126,"count":12,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":960,"componentType":5123,"count":156,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":11520,"componentType":5126,"count":156,"max":[11.5175648,2.10942626,8.330715],"min":[-9.121735,-5.29608769E-07,-5.939329],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":13392,"componentType":5126,"count":156,"type":"VEC3","name":"accessorNormals"},{"bufferView":0,"byteOffset":1272,"componentType":5123,"count":144,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":15264,"componentType":5126,"count":144,"max":[11.5175648,2.10942578,8.330715],"min":[-9.121735,0.0,-5.939329],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":16992,"componentType":5126,"count":144,"type":"VEC3","name":"accessorNormals"},{"bufferView":0,"byteOffset":1560,"componentType":5123,"count":138,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":18720,"componentType":5126,"count":138,"max":[11.5175648,2.109427,8.330715],"min":[-9.121735,2.10942459,-5.93932867],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":20376,"componentType":5126,"count":138,"type":"VEC3","name":"accessorNormals"},{"bufferView":0,"byteOffset":1836,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":22032,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":22392,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":3840,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":1896,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":22752,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":23112,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":4080,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":1956,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":23472,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":23832,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":4320,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2016,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":24192,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":24552,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":4560,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2076,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":24912,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":25272,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":4800,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2136,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":25632,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":25992,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":5040,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2196,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":26352,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":26712,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":5280,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2256,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":27072,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":27432,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":5520,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2316,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":27792,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":28152,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":5760,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2376,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":28512,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":28872,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":6000,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2436,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":29232,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":29592,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":6240,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2496,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":29952,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":30312,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":6480,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2556,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":30672,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":31032,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":6720,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2616,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":31392,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":31752,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":6960,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2676,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":32112,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":32472,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":7200,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2736,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":32832,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":33192,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":7440,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2796,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":33552,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":33912,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":7680,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2856,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":34272,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":34632,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":7920,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2916,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":34992,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":35352,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":8160,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":2976,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":35712,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":36072,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":8400,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3036,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":36432,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":36792,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":8640,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3096,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":37152,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":37512,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":8880,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3156,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":37872,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":38232,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":9120,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3216,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":38592,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":38952,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":9360,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3276,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":39312,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":39672,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":9600,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3336,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":40032,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":40392,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":9840,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3396,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":40752,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":41112,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":10080,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3456,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":41472,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":41832,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":10320,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3516,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":42192,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":42552,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":10560,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3576,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":42912,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":43272,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":10800,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3636,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":43632,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":43992,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":11040,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3696,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":44352,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":44712,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":11280,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3756,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":45072,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":45432,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":11520,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3816,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":45792,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":46152,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":11760,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3876,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":46512,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":46872,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":12000,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3936,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":47232,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":47592,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":12240,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":3996,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":47952,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.299999982,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":48312,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":12480,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4056,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":48672,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.299999982,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":49032,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":12720,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4116,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":49392,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.299999982,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":49752,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":12960,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4176,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":50112,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.299999982,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":50472,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":13200,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4236,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":50832,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":51192,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":13440,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4296,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":51552,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":51912,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":13680,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4356,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":52272,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":52632,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":13920,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4416,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":52992,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":53352,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":14160,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4476,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":53712,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":54072,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":14400,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4536,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":54432,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":54792,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":14640,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4596,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":55152,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":55512,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":14880,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4656,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":55872,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":56232,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":15120,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4716,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":56592,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":56952,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":15360,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4776,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":57312,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":57672,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":15600,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4836,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":58032,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":58392,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":15840,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4896,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":58752,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":59112,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":16080,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":4956,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":59472,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":59832,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":16320,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5016,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":60192,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":60552,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":16560,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5076,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":60912,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":61272,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":16800,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5136,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":61632,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":61992,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":17040,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5196,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":62352,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":62712,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":17280,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5256,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":63072,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":63432,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":17520,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5316,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":63792,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":64152,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":17760,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5376,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":64512,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":64872,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":18000,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5436,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":65232,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":65592,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":18240,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5496,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":65952,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":66312,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":18480,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5556,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":66672,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":67032,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":18720,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5616,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":67392,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":67752,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":18960,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5676,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":68112,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":68472,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":19200,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5736,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":68832,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":69192,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":19440,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5796,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":69552,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":69912,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":19680,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5856,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":70272,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":70632,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":19920,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5916,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":70992,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":71352,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":20160,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":5976,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":71712,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":72072,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":20400,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":6036,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":72432,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":72792,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":20640,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":6096,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":73152,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":73512,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":20880,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":6156,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":73872,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":74232,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":21120,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":6216,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":74592,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":74952,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":21360,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":6276,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":75312,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":75672,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":21600,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":6336,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":76032,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":76392,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":21840,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":6396,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":76752,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":77112,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":22080,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":6456,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":77472,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":77832,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":22320,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":6516,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":78192,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":78552,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":22560,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"},{"bufferView":0,"byteOffset":6576,"componentType":5123,"count":30,"type":"SCALAR","name":"accessorIndices"},{"bufferView":1,"byteOffset":78912,"componentType":5126,"count":30,"max":[0.3,2.00000048,0.4658461],"min":[-0.3,0.0,-0.4658461],"type":"VEC3","name":"accessorPositions"},{"bufferView":1,"byteOffset":79272,"componentType":5126,"count":30,"type":"VEC3","name":"accessorNormals"},{"bufferView":2,"byteOffset":22800,"componentType":5126,"count":30,"type":"VEC2","name":"accessorUVs"}],"bufferViews":[{"buffer":0,"byteLength":6636,"name":"bufferViewScalar"},{"buffer":0,"byteOffset":6636,"byteLength":79632,"byteStride":12,"name":"bufferViewFloatVec3"},{"buffer":0,"byteOffset":86268,"byteLength":23040,"byteStride":8,"name":"bufferViewFloatVec2"}],"buffers":[{"uri":"machineRoom.bin","byteLength":109308}],"materials":[{"pbrMetallicRoughness":{"baseColorTexture":{"index":0},"metallicFactor":0.0,"roughnessFactor":0.450053632},"emissiveTexture":{"index":0},"emissiveFactor":[1.0,1.0,1.0],"name":"cabinet"},{"pbrMetallicRoughness":{"baseColorTexture":{"index":1},"metallicFactor":0.0,"roughnessFactor":0.450053632},"emissiveTexture":{"index":1},"emissiveFactor":[1.0,1.0,1.0],"name":"aircondition"},{"pbrMetallicRoughness":{"baseColorTexture":{"index":2},"metallicFactor":0.0,"roughnessFactor":0.450053632},"emissiveTexture":{"index":2},"emissiveFactor":[1.0,1.0,1.0],"name":"electricBox"},{"pbrMetallicRoughness":{"baseColorTexture":{"index":3},"metallicFactor":0.0,"roughnessFactor":0.450053632},"emissiveTexture":{"index":3},"emissiveFactor":[1.0,1.0,1.0],"name":"hydrant"},{"pbrMetallicRoughness":{"baseColorTexture":{"index":4},"metallicFactor":0.0,"roughnessFactor":0.450053632},"name":"floor02"},{"pbrMetallicRoughness":{"baseColorTexture":{"index":5},"metallicFactor":0.0,"roughnessFactor":0.450053632},"emissiveTexture":{"index":5},"emissiveFactor":[1.0,1.0,1.0],"name":"door"},{"pbrMetallicRoughness":{"baseColorTexture":{"index":6},"metallicFactor":0.0,"roughnessFactor":0.450053632},"emissiveTexture":{"index":6},"emissiveFactor":[1.0,1.0,1.0],"name":"floor01"},{"pbrMetallicRoughness":{"baseColorFactor":[0.6039216,0.6039216,0.6039216,1.0],"metallicFactor":0.0,"roughnessFactor":0.450053632},"emissiveFactor":[0.6039216,0.6039216,0.6039216],"name":"wall-l"},{"pbrMetallicRoughness":{"baseColorFactor":[0.709803939,0.709803939,0.709803939,1.0],"metallicFactor":0.0,"roughnessFactor":0.450053632},"emissiveFactor":[0.709803939,0.709803939,0.709803939],"name":"wall-f"},{"pbrMetallicRoughness":{"baseColorFactor":[0.5411765,0.5411765,0.5411765,1.0],"metallicFactor":0.0,"roughnessFactor":0.450053632},"emissiveFactor":[0.5411765,0.5411765,0.5411765],"name":"wall-t"}],"textures":[{"sampler":0,"source":0,"name":"cabinet.jpg"},{"sampler":0,"source":1,"name":"aircondition.jpg"},{"sampler":0,"source":2,"name":"electricBox.jpg"},{"sampler":0,"source":3,"name":"hydrant.jpg"},{"sampler":0,"source":4,"name":"floor02.jpg"},{"sampler":0,"source":5,"name":"door.jpg"},{"sampler":0,"source":6,"name":"floor01.jpg"}],"images":[{"uri":"./cabinet.jpg"},{"uri":"./aircondition.jpg"},{"uri":"./electricBox.jpg"},{"uri":"./hydrant.jpg"},{"uri":"./floor02.jpg"},{"uri":"./door.jpg"},{"uri":"./floor01.jpg"}],"samplers":[{"magFilter":9729,"minFilter":9987}]} \ No newline at end of file diff --git a/webVue/models/pipeline/model.glb b/webVue/models/pipeline/model.glb deleted file mode 100644 index 0275ecb..0000000 Binary files a/webVue/models/pipeline/model.glb and /dev/null differ diff --git a/webVue/models/pipeline/new_model.glb b/webVue/models/pipeline/new_model.glb deleted file mode 100644 index 78a9f5c..0000000 Binary files a/webVue/models/pipeline/new_model.glb and /dev/null differ diff --git a/webVue/models/scene/back_edit_4.glb b/webVue/models/scene/back_edit_4.glb deleted file mode 100644 index 3fa2349..0000000 Binary files a/webVue/models/scene/back_edit_4.glb and /dev/null differ diff --git a/webVue/models/scene/back_edit_5.glb b/webVue/models/scene/back_edit_5.glb deleted file mode 100644 index 2466ef2..0000000 Binary files a/webVue/models/scene/back_edit_5.glb and /dev/null differ diff --git a/webVue/models/scene/backe_edit_10.glb b/webVue/models/scene/backe_edit_10.glb deleted file mode 100644 index 9270a36..0000000 Binary files a/webVue/models/scene/backe_edit_10.glb and /dev/null differ diff --git a/webVue/models/scene/backe_edit_6.glb b/webVue/models/scene/backe_edit_6.glb deleted file mode 100644 index 388cbff..0000000 Binary files a/webVue/models/scene/backe_edit_6.glb and /dev/null differ diff --git a/webVue/models/scene/backe_edit_7.glb b/webVue/models/scene/backe_edit_7.glb deleted file mode 100644 index e4343f5..0000000 Binary files a/webVue/models/scene/backe_edit_7.glb and /dev/null differ diff --git a/webVue/models/scene/backe_edit_8.glb b/webVue/models/scene/backe_edit_8.glb deleted file mode 100644 index 67ddf36..0000000 Binary files a/webVue/models/scene/backe_edit_8.glb and /dev/null differ diff --git a/webVue/models/scene/backe_edit_9.glb b/webVue/models/scene/backe_edit_9.glb deleted file mode 100644 index 67ddf36..0000000 Binary files a/webVue/models/scene/backe_edit_9.glb and /dev/null differ diff --git a/webVue/models/scene/scene_edit.glb b/webVue/models/scene/scene_edit.glb deleted file mode 100644 index 52f429e..0000000 Binary files a/webVue/models/scene/scene_edit.glb and /dev/null differ diff --git a/webVue/models/scene/test.glb b/webVue/models/scene/test.glb deleted file mode 100644 index 27e19f0..0000000 Binary files a/webVue/models/scene/test.glb and /dev/null differ diff --git a/webVue/models/smokeSiren/smokeSiren.glb b/webVue/models/smokeSiren/smokeSiren.glb deleted file mode 100644 index 43cc1fb..0000000 Binary files a/webVue/models/smokeSiren/smokeSiren.glb and /dev/null differ diff --git a/webVue/models/test/back_edit_3.glb b/webVue/models/test/back_edit_3.glb deleted file mode 100644 index b03609f..0000000 Binary files a/webVue/models/test/back_edit_3.glb and /dev/null differ diff --git a/webVue/models/test/backe_edit_1.glb b/webVue/models/test/backe_edit_1.glb deleted file mode 100644 index 5d4669f..0000000 Binary files a/webVue/models/test/backe_edit_1.glb and /dev/null differ diff --git a/webVue/models/test/backe_edit_2.bin b/webVue/models/test/backe_edit_2.bin deleted file mode 100644 index f85a110..0000000 Binary files a/webVue/models/test/backe_edit_2.bin and /dev/null differ diff --git a/webVue/models/test/backe_edit_2.gltf b/webVue/models/test/backe_edit_2.gltf deleted file mode 100644 index a8718ca..0000000 --- a/webVue/models/test/backe_edit_2.gltf +++ /dev/null @@ -1,3810 +0,0 @@ -{ - "asset":{ - "generator":"Khronos glTF Blender I/O v5.0.21", - "version":"2.0" - }, - "extensionsUsed":[ - "KHR_materials_specular", - "KHR_materials_ior" - ], - "scene":0, - "scenes":[ - { - "name":"Scene", - "nodes":[ - 0, - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 8, - 9, - 10, - 11, - 12, - 13, - 14, - 15, - 16, - 17, - 18, - 19, - 20, - 21, - 22, - 23, - 24, - 25, - 26, - 27, - 28, - 29, - 30, - 31, - 32, - 33, - 34, - 35, - 36, - 37, - 38, - 39, - 40, - 41, - 42, - 43, - 44, - 45, - 46 - ] - } - ], - "nodes":[ - { - "mesh":0, - "name":"\u5e73\u9762.001", - "scale":[ - 45.414642333984375, - 153.37872314453125, - 153.37872314453125 - ], - "translation":[ - -19.32164764404297, - 0, - -5.2007293701171875 - ] - }, - { - "mesh":1, - "name":"6670032", - "rotation":[ - -0.038220349699258804, - 0, - 0, - 0.9992693662643433 - ], - "scale":[ - 0.0011606558691710234, - 0.0011606558691710234, - 0.0011606558691710234 - ], - "translation":[ - -13.910268783569336, - -0.22574648261070251, - -0.14909043908119202 - ] - }, - { - "mesh":2, - "name":"\u7acb\u65b9\u4f53", - "translation":[ - 25.41417694091797, - 12.717071533203125, - -3.5751800537109375 - ] - }, - { - "mesh":3, - "name":"\u7acb\u65b9\u4f53.001", - "translation":[ - -20.226118087768555, - 12.89236068725586, - -153.2369384765625 - ] - }, - { - "mesh":4, - "name":"\u7acb\u65b9\u4f53.002", - "scale":[ - 1, - 1, - 1.0110293626785278 - ], - "translation":[ - -63.55136489868164, - 13.098472595214844, - -93.38832092285156 - ] - }, - { - "mesh":5, - "name":"\u7acb\u65b9\u4f53.003", - "scale":[ - 1, - 0.7956498861312866, - 1.1444997787475586 - ], - "translation":[ - -63.737483978271484, - 13.327964782714844, - 53.27891540527344 - ] - }, - { - "mesh":6, - "name":"\u7acb\u65b9\u4f53.004", - "rotation":[ - 0, - -0.23540642857551575, - 0, - 0.9718971252441406 - ], - "scale":[ - 1.0598292350769043, - 1, - 1.0161875486373901 - ], - "translation":[ - -41.02251434326172, - 13.183030128479004, - 113.71217346191406 - ] - }, - { - "mesh":7, - "name":"\u7acb\u65b9\u4f53.005", - "scale":[ - 0.9392206072807312, - 1, - 1 - ], - "translation":[ - 9.20844554901123, - 12.777854919433594, - 0.7852859497070312 - ] - }, - { - "mesh":8, - "name":"\u7acb\u65b9\u4f53.006", - "translation":[ - -4.947212219238281, - 12.919384002685547, - 12.523233413696289 - ] - }, - { - "mesh":9, - "name":"\u7acb\u65b9\u4f53.007", - "scale":[ - 1, - 1, - 4.424475193023682 - ], - "translation":[ - -4.947212219238281, - 12.919384002685547, - 81.58232116699219 - ] - }, - { - "mesh":10, - "name":"\u7acb\u65b9\u4f53.008", - "rotation":[ - 0, - -0.23540633916854858, - 0, - 0.9718970656394958 - ], - "scale":[ - 0.6014668941497803, - 1, - 0.9286192059516907 - ], - "translation":[ - 5.847611904144287, - 13.084247589111328, - 136.5916748046875 - ] - }, - { - "mesh":11, - "name":"\u7acb\u65b9\u4f53.009", - "translation":[ - 8.252402305603027, - 12.777854919433594, - -49.545413970947266 - ] - }, - { - "mesh":12, - "name":"\u7acb\u65b9\u4f53.010", - "scale":[ - 0.9603919386863708, - 1, - 1 - ], - "translation":[ - 8.875426292419434, - 12.777854919433594, - -100.30828857421875 - ] - }, - { - "mesh":13, - "name":"\u7acb\u65b9\u4f53.011", - "scale":[ - 0.9466110467910767, - 1, - 1 - ], - "translation":[ - 9.092196464538574, - 12.777854919433594, - -137.82896423339844 - ] - }, - { - "mesh":14, - "name":"\u7acb\u65b9\u4f53.012", - "scale":[ - 1.3968884944915771, - 1, - 1 - ], - "translation":[ - -40.18878936767578, - 12.777854919433594, - 2.989398717880249 - ] - }, - { - "mesh":15, - "name":"\u7acb\u65b9\u4f53.013", - "scale":[ - 1.3968884944915771, - 1, - 1 - ], - "translation":[ - -40.18878936767578, - 12.777854919433594, - -14.59579849243164 - ] - }, - { - "mesh":16, - "name":"\u7acb\u65b9\u4f53.014", - "scale":[ - 1.3968884944915771, - 1, - 1 - ], - "translation":[ - -40.18878936767578, - 12.777854919433594, - -35.578372955322266 - ] - }, - { - "mesh":17, - "name":"\u7acb\u65b9\u4f53.015", - "scale":[ - 1.3968884944915771, - 1, - 1 - ], - "translation":[ - -40.18878936767578, - 12.777854919433594, - -52.22283935546875 - ] - }, - { - "mesh":18, - "name":"\u7acb\u65b9\u4f53.016", - "scale":[ - 1.3968884944915771, - 1, - 1 - ], - "translation":[ - -40.18878936767578, - 12.777854919433594, - -69.89854431152344 - ] - }, - { - "mesh":19, - "name":"\u7acb\u65b9\u4f53.017", - "scale":[ - 1.3968884944915771, - 1, - 1 - ], - "translation":[ - -40.18878936767578, - 12.777854919433594, - -99.59487915039062 - ] - }, - { - "mesh":20, - "name":"\u7acb\u65b9\u4f53.018", - "scale":[ - 1.3968884944915771, - 1, - 1 - ], - "translation":[ - -40.18878936767578, - 12.777854919433594, - -118.28253173828125 - ] - }, - { - "mesh":21, - "name":"\u7acb\u65b9\u4f53.019", - "scale":[ - 1.3968884944915771, - 1, - 1 - ], - "translation":[ - -40.18878936767578, - 12.777854919433594, - -131.64251708984375 - ] - }, - { - "mesh":22, - "name":"\u7acb\u65b9\u4f53.020", - "scale":[ - 1, - 1, - 2.783579111099243 - ], - "translation":[ - -18.4849796295166, - 10.509234428405762, - 64.908203125 - ] - }, - { - "mesh":23, - "name":"\u7acb\u65b9\u4f53.021", - "scale":[ - 1, - 1.1000018119812012, - 0.8450478315353394 - ], - "translation":[ - -18.4849796295166, - 11.801196098327637, - 115.74224853515625 - ] - }, - { - "mesh":24, - "name":"\u7acb\u65b9\u4f53.022", - "scale":[ - 1, - 1.1000018119812012, - 0.33048516511917114 - ], - "translation":[ - -18.4849796295166, - 11.801196098327637, - 23.39573860168457 - ] - }, - { - "mesh":25, - "name":"\u7acb\u65b9\u4f53.023", - "scale":[ - 1, - 1.1000018119812012, - 1.1453503370285034 - ], - "translation":[ - -18.4849796295166, - 11.801196098327637, - -2.7897958755493164 - ] - }, - { - "mesh":26, - "name":"\u7acb\u65b9\u4f53.024", - "scale":[ - 0.6989372968673706, - 1.1000018119812012, - 0.8005279898643494 - ], - "translation":[ - -18.236467361450195, - 11.801196098327637, - -43.99610137939453 - ] - }, - { - "mesh":27, - "name":"\u7acb\u65b9\u4f53.025", - "scale":[ - 0.6989372968673706, - 1.1000018119812012, - 0.8005279898643494 - ], - "translation":[ - -18.236467361450195, - 11.801196098327637, - -77.95113372802734 - ] - }, - { - "mesh":28, - "name":"\u7acb\u65b9\u4f53.026", - "scale":[ - 1.3612585067749023, - 1.1000018119812012, - 1.5591177940368652 - ], - "translation":[ - -18.783180236816406, - 11.801196098327637, - -134.62290954589844 - ] - }, - { - "mesh":29, - "name":"\u7acb\u65b9\u4f53.027", - "scale":[ - 1.3612585067749023, - 1.1000018119812012, - 1.3256876468658447 - ], - "translation":[ - -4.91044807434082, - 12.361382484436035, - -137.32672119140625 - ] - }, - { - "mesh":30, - "name":"\u7acb\u65b9\u4f53.028", - "scale":[ - 1.3612585067749023, - 1.1000018119812012, - 0.7245417833328247 - ], - "translation":[ - -5.270610809326172, - 12.474832534790039, - -93.0939712524414 - ] - }, - { - "mesh":31, - "name":"\u7acb\u65b9\u4f53.029", - "scale":[ - 1.3612585067749023, - 1.1000018119812012, - 1.19120454788208 - ], - "translation":[ - -5.270610809326172, - 12.474832534790039, - -62.35702896118164 - ] - }, - { - "mesh":32, - "name":"group_sd.01", - "scale":[ - 27.340913772583008, - 27.340913772583008, - 27.340913772583008 - ], - "translation":[ - -12.069418907165527, - 5.617216110229492, - 104.40113830566406 - ] - }, - { - "mesh":33, - "name":"group_light_01.002", - "rotation":[ - 0.6744304895401001, - -0.028162892907857895, - 0.025759849697351456, - 0.7373512387275696 - ], - "translation":[ - -12.949164390563965, - 11.950531005859375, - 88.65589141845703 - ] - }, - { - "mesh":34, - "name":"group_sd.02", - "scale":[ - 27.340913772583008, - 27.340913772583008, - 27.340913772583008 - ], - "translation":[ - -44.14558792114258, - 6.226097106933594, - 52.79566955566406 - ] - }, - { - "mesh":35, - "name":"group_sd.03", - "scale":[ - 27.340913772583008, - 27.340913772583008, - 27.340913772583008 - ], - "translation":[ - 12.134590148925781, - 6.434732437133789, - 56.38587951660156 - ] - }, - { - "mesh":36, - "name":"group_sd.04", - "scale":[ - 27.340913772583008, - 27.340913772583008, - 27.340913772583008 - ], - "translation":[ - 12.134590148925781, - 6.434732437133789, - -72.99954223632812 - ] - }, - { - "mesh":37, - "name":"group_sd.05", - "scale":[ - 27.340913772583008, - 27.340913772583008, - 27.340913772583008 - ], - "translation":[ - -44.82009506225586, - 6.434732437133789, - -109.80776977539062 - ] - }, - { - "mesh":38, - "name":"\u9525\u4f53.001", - "scale":[ - 17.079269409179688, - 11.785720825195312, - 17.079269409179688 - ], - "translation":[ - -44.0277214050293, - 21.413820266723633, - 52.84942626953125 - ] - }, - { - "mesh":39, - "name":"\u9525\u4f53.002", - "scale":[ - 17.079269409179688, - 11.785720825195312, - 17.079269409179688 - ], - "translation":[ - 12.094429016113281, - 21.413820266723633, - 56.345584869384766 - ] - }, - { - "mesh":40, - "name":"\u9525\u4f53.003", - "scale":[ - 17.079269409179688, - 11.785720825195312, - 17.079269409179688 - ], - "translation":[ - -12.061480522155762, - 20.824108123779297, - 104.38317108154297 - ] - }, - { - "mesh":41, - "name":"\u9525\u4f53.004", - "scale":[ - 17.079269409179688, - 11.785720825195312, - 17.079269409179688 - ], - "translation":[ - 12.094429016113281, - 21.413820266723633, - -73.03390502929688 - ] - }, - { - "mesh":42, - "name":"\u9525\u4f53.005", - "scale":[ - 17.079269409179688, - 11.785720825195312, - 17.079269409179688 - ], - "translation":[ - -44.97568893432617, - 21.555130004882812, - -109.83759307861328 - ] - }, - { - "mesh":43, - "name":"group_sd.006", - "scale":[ - 27.340913772583008, - 27.340913772583008, - 27.340913772583008 - ], - "translation":[ - -12.069418907165527, - 5.617216110229492, - -22.852447509765625 - ] - }, - { - "mesh":44, - "name":"\u9525\u4f53.006", - "scale":[ - 17.079269409179688, - 11.785720825195312, - 17.079269409179688 - ], - "translation":[ - -12.061480522155762, - 20.824108123779297, - -22.87041473388672 - ] - }, - { - "mesh":45, - "name":"group_sd.007", - "scale":[ - 27.340913772583008, - 27.340913772583008, - 27.340913772583008 - ], - "translation":[ - -12.069418907165527, - 5.617216110229492, - -119.10108184814453 - ] - }, - { - "mesh":46, - "name":"\u9525\u4f53.007", - "scale":[ - 17.079269409179688, - 11.785720825195312, - 17.079269409179688 - ], - "translation":[ - -12.061480522155762, - 20.824108123779297, - -119.11904907226562 - ] - } - ], - "materials":[ - { - "doubleSided":true, - "name":"\u6750\u8d28.038", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.800000011920929, - 0.800000011920929, - 0.800000011920929, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - }, - "KHR_materials_ior":{ - "ior":1.4500000476837158 - } - }, - "name":"Lime._110158", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9254902601242065, - 0.8941177129745483, - 0.8352941870689392, - 1 - ], - "roughnessFactor":0.858578622341156 - } - }, - { - "doubleSided":true, - "name":"\u6750\u8d28.015", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.800000011920929, - 0.800000011920929, - 0.800000011920929, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "doubleSided":true, - "name":"\u6750\u8d28.039", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.7991030812263489, - 0.30946898460388184, - 0.4286905527114868, - 1 - ], - "metallicFactor":0, - "roughnessFactor":0.5 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - }, - "KHR_materials_ior":{ - "ior":1.4500000476837158 - } - }, - "name":"Lime._20241010160010", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.9725492000579834, - 0.9725492000579834, - 0.9725492000579834, - 1 - ], - "roughnessFactor":0.858578622341156 - } - }, - { - "doubleSided":true, - "extensions":{ - "KHR_materials_specular":{ - "specularFactor":0 - }, - "KHR_materials_ior":{ - "ior":1.4500000476837158 - } - }, - "name":"Lime._20241010160011", - "pbrMetallicRoughness":{ - "baseColorFactor":[ - 0.011764708906412125, - 0.011764708906412125, - 0.011764708906412125, - 1 - ], - "roughnessFactor":0.858578622341156 - } - }, - { - "alphaMode":"BLEND", - "name":"\u6750\u8d28", - "pbrMetallicRoughness":{ - "metallicFactor":0, - "roughnessFactor":0.5 - } - } - ], - "meshes":[ - { - "name":"\u5e73\u9762.001", - "primitives":[ - { - "attributes":{ - "POSITION":0, - "NORMAL":1, - "TEXCOORD_0":2 - }, - "indices":3, - "material":0 - } - ] - }, - { - "name":"\u7f51\u683c.204", - "primitives":[ - { - "attributes":{ - "POSITION":4, - "NORMAL":5, - "TEXCOORD_0":6 - }, - "indices":7, - "material":1 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53", - "primitives":[ - { - "attributes":{ - "POSITION":8, - "NORMAL":9, - "TEXCOORD_0":10 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.001", - "primitives":[ - { - "attributes":{ - "POSITION":12, - "NORMAL":13, - "TEXCOORD_0":14 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.002", - "primitives":[ - { - "attributes":{ - "POSITION":15, - "NORMAL":16, - "TEXCOORD_0":17 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.003", - "primitives":[ - { - "attributes":{ - "POSITION":18, - "NORMAL":19, - "TEXCOORD_0":20 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.004", - "primitives":[ - { - "attributes":{ - "POSITION":21, - "NORMAL":22, - "TEXCOORD_0":23 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.005", - "primitives":[ - { - "attributes":{ - "POSITION":24, - "NORMAL":25, - "TEXCOORD_0":26 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.006", - "primitives":[ - { - "attributes":{ - "POSITION":27, - "NORMAL":28, - "TEXCOORD_0":29 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.007", - "primitives":[ - { - "attributes":{ - "POSITION":30, - "NORMAL":31, - "TEXCOORD_0":32 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.008", - "primitives":[ - { - "attributes":{ - "POSITION":33, - "NORMAL":34, - "TEXCOORD_0":35 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.009", - "primitives":[ - { - "attributes":{ - "POSITION":36, - "NORMAL":37, - "TEXCOORD_0":38 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.010", - "primitives":[ - { - "attributes":{ - "POSITION":39, - "NORMAL":40, - "TEXCOORD_0":41 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.011", - "primitives":[ - { - "attributes":{ - "POSITION":42, - "NORMAL":43, - "TEXCOORD_0":44 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.012", - "primitives":[ - { - "attributes":{ - "POSITION":45, - "NORMAL":46, - "TEXCOORD_0":47 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.013", - "primitives":[ - { - "attributes":{ - "POSITION":48, - "NORMAL":49, - "TEXCOORD_0":50 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.014", - "primitives":[ - { - "attributes":{ - "POSITION":51, - "NORMAL":52, - "TEXCOORD_0":53 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.015", - "primitives":[ - { - "attributes":{ - "POSITION":54, - "NORMAL":55, - "TEXCOORD_0":56 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.016", - "primitives":[ - { - "attributes":{ - "POSITION":57, - "NORMAL":58, - "TEXCOORD_0":59 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.017", - "primitives":[ - { - "attributes":{ - "POSITION":60, - "NORMAL":61, - "TEXCOORD_0":62 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.018", - "primitives":[ - { - "attributes":{ - "POSITION":63, - "NORMAL":64, - "TEXCOORD_0":65 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.019", - "primitives":[ - { - "attributes":{ - "POSITION":66, - "NORMAL":67, - "TEXCOORD_0":68 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.020", - "primitives":[ - { - "attributes":{ - "POSITION":69, - "NORMAL":70, - "TEXCOORD_0":71 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.021", - "primitives":[ - { - "attributes":{ - "POSITION":72, - "NORMAL":73, - "TEXCOORD_0":74 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.022", - "primitives":[ - { - "attributes":{ - "POSITION":75, - "NORMAL":76, - "TEXCOORD_0":77 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.023", - "primitives":[ - { - "attributes":{ - "POSITION":78, - "NORMAL":79, - "TEXCOORD_0":80 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.024", - "primitives":[ - { - "attributes":{ - "POSITION":81, - "NORMAL":82, - "TEXCOORD_0":83 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.025", - "primitives":[ - { - "attributes":{ - "POSITION":84, - "NORMAL":85, - "TEXCOORD_0":86 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.026", - "primitives":[ - { - "attributes":{ - "POSITION":87, - "NORMAL":88, - "TEXCOORD_0":89 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.027", - "primitives":[ - { - "attributes":{ - "POSITION":90, - "NORMAL":91, - "TEXCOORD_0":92 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.028", - "primitives":[ - { - "attributes":{ - "POSITION":93, - "NORMAL":94, - "TEXCOORD_0":95 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u7acb\u65b9\u4f53.029", - "primitives":[ - { - "attributes":{ - "POSITION":96, - "NORMAL":97, - "TEXCOORD_0":98 - }, - "indices":11, - "material":2 - } - ] - }, - { - "name":"\u9525\u4f53", - "primitives":[ - { - "attributes":{ - "POSITION":99, - "NORMAL":100, - "TEXCOORD_0":101 - }, - "indices":102, - "material":3 - } - ] - }, - { - "name":"\u9525\u4f53.002", - "primitives":[ - { - "attributes":{ - "POSITION":103, - "NORMAL":104, - "TEXCOORD_0":105 - }, - "indices":106, - "material":4 - }, - { - "attributes":{ - "POSITION":107, - "NORMAL":108, - "TEXCOORD_0":109 - }, - "indices":110, - "material":5 - } - ] - }, - { - "name":"\u9525\u4f53.006", - "primitives":[ - { - "attributes":{ - "POSITION":111, - "NORMAL":112, - "TEXCOORD_0":113 - }, - "indices":102, - "material":3 - } - ] - }, - { - "name":"\u9525\u4f53.010", - "primitives":[ - { - "attributes":{ - "POSITION":114, - "NORMAL":115, - "TEXCOORD_0":116 - }, - "indices":102, - "material":3 - } - ] - }, - { - "name":"\u9525\u4f53.014", - "primitives":[ - { - "attributes":{ - "POSITION":117, - "NORMAL":118, - "TEXCOORD_0":119 - }, - "indices":102, - "material":3 - } - ] - }, - { - "name":"\u9525\u4f53.016", - "primitives":[ - { - "attributes":{ - "POSITION":120, - "NORMAL":121, - "TEXCOORD_0":122 - }, - "indices":102, - "material":3 - } - ] - }, - { - "name":"\u9525\u4f53.004", - "primitives":[ - { - "attributes":{ - "POSITION":123, - "NORMAL":124, - "TEXCOORD_0":125 - }, - "indices":126, - "material":6 - } - ] - }, - { - "name":"\u9525\u4f53.005", - "primitives":[ - { - "attributes":{ - "POSITION":127, - "NORMAL":128, - "TEXCOORD_0":129 - }, - "indices":126, - "material":6 - } - ] - }, - { - "name":"\u9525\u4f53.008", - "primitives":[ - { - "attributes":{ - "POSITION":130, - "NORMAL":131, - "TEXCOORD_0":132 - }, - "indices":126, - "material":6 - } - ] - }, - { - "name":"\u9525\u4f53.009", - "primitives":[ - { - "attributes":{ - "POSITION":133, - "NORMAL":134, - "TEXCOORD_0":135 - }, - "indices":126, - "material":6 - } - ] - }, - { - "name":"\u9525\u4f53.012", - "primitives":[ - { - "attributes":{ - "POSITION":136, - "NORMAL":137, - "TEXCOORD_0":138 - }, - "indices":126, - "material":6 - } - ] - }, - { - "name":"\u9525\u4f53.013", - "primitives":[ - { - "attributes":{ - "POSITION":139, - "NORMAL":140, - "TEXCOORD_0":141 - }, - "indices":102, - "material":3 - } - ] - }, - { - "name":"\u9525\u4f53.018", - "primitives":[ - { - "attributes":{ - "POSITION":142, - "NORMAL":143, - "TEXCOORD_0":144 - }, - "indices":126, - "material":6 - } - ] - }, - { - "name":"\u9525\u4f53.019", - "primitives":[ - { - "attributes":{ - "POSITION":145, - "NORMAL":146, - "TEXCOORD_0":147 - }, - "indices":102, - "material":3 - } - ] - }, - { - "name":"\u9525\u4f53.020", - "primitives":[ - { - "attributes":{ - "POSITION":148, - "NORMAL":149, - "TEXCOORD_0":150 - }, - "indices":126, - "material":6 - } - ] - } - ], - "accessors":[ - { - "bufferView":0, - "componentType":5126, - "count":4, - "max":[ - 1, - 0, - 1 - ], - "min":[ - -1, - 0, - -1 - ], - "type":"VEC3" - }, - { - "bufferView":1, - "componentType":5126, - "count":4, - "type":"VEC3" - }, - { - "bufferView":2, - "componentType":5126, - "count":4, - "type":"VEC2" - }, - { - "bufferView":3, - "componentType":5123, - "count":6, - "type":"SCALAR" - }, - { - "bufferView":4, - "componentType":5126, - "count":24, - "max":[ - 5.605097770690918, - 12.310489654541016, - 5.069057941436768 - ], - "min":[ - -5.6051025390625, - 5.14984130859375e-05, - -5.069051265716553 - ], - "type":"VEC3" - }, - { - "bufferView":5, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":6, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":7, - "componentType":5123, - "count":36, - "type":"SCALAR" - }, - { - "bufferView":8, - "componentType":5126, - "count":24, - "max":[ - 1.2239608764648438, - 13.097004890441895, - 149.61224365234375 - ], - "min":[ - -1.2239608764648438, - -12.717056274414062, - -149.61224365234375 - ], - "type":"VEC3" - }, - { - "bufferView":9, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":10, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":11, - "componentType":5123, - "count":36, - "type":"SCALAR" - }, - { - "bufferView":12, - "componentType":5126, - "count":24, - "max":[ - 44.388671875, - 12.92467212677002, - 1.273651123046875 - ], - "min":[ - -44.388671875, - -12.89236068725586, - -1.273651123046875 - ], - "type":"VEC3" - }, - { - "bufferView":13, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":14, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":15, - "componentType":5126, - "count":24, - "max":[ - 1.5228919982910156, - 12.72203540802002, - 57.92709732055664 - ], - "min":[ - -1.5228919982910156, - -13.098472595214844, - -57.92709732055664 - ], - "type":"VEC3" - }, - { - "bufferView":16, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":17, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":18, - "componentType":5126, - "count":24, - "max":[ - 1.3617362976074219, - 15.705923080444336, - 60.097068786621094 - ], - "min":[ - -1.3617362976074219, - -16.751060485839844, - -60.097068786621094 - ], - "type":"VEC3" - }, - { - "bufferView":19, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":20, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":21, - "componentType":5126, - "count":24, - "max":[ - 24.112586975097656, - 12.638993263244629, - 1.2506561279296875 - ], - "min":[ - -24.112546920776367, - -13.193368911743164, - -1.2506561279296875 - ], - "type":"VEC3" - }, - { - "bufferView":22, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":23, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":24, - "componentType":5126, - "count":24, - "max":[ - 15.729732513427734, - 13.03724479675293, - 0.8127365112304688 - ], - "min":[ - -15.729729652404785, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":25, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":26, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":27, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 12.898104667663574, - 11.107067108154297 - ], - "min":[ - -0.8254489898681641, - -12.919384002685547, - -11.107067108154297 - ], - "type":"VEC3" - }, - { - "bufferView":28, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":29, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":30, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 12.898104667663574, - 11.107067108154297 - ], - "min":[ - -0.8254489898681641, - -12.919384002685547, - -11.107067108154297 - ], - "type":"VEC3" - }, - { - "bufferView":31, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":32, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":33, - "componentType":5126, - "count":24, - "max":[ - 24.112546920776367, - 12.736940383911133, - 1.2506561279296875 - ], - "min":[ - -24.112625122070312, - -13.193368911743164, - -1.2506561279296875 - ], - "type":"VEC3" - }, - { - "bufferView":34, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":35, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":36, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.037245750427246, - 0.8127365112304688 - ], - "min":[ - -15.729729652404785, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":37, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":38, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":39, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.03724479675293, - 0.812774658203125 - ], - "min":[ - -15.729732513427734, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":40, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":41, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":42, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.03724479675293, - 0.812774658203125 - ], - "min":[ - -15.729732513427734, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":43, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":44, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":45, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.03724479675293, - 0.8127365112304688 - ], - "min":[ - -15.729729652404785, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":46, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":47, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":48, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.03724479675293, - 0.8127365112304688 - ], - "min":[ - -15.729729652404785, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":49, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":50, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":51, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.03724479675293, - 0.8127365112304688 - ], - "min":[ - -15.729729652404785, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":52, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":53, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":54, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.03724479675293, - 0.8127365112304688 - ], - "min":[ - -15.729729652404785, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":55, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":56, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":57, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.03724479675293, - 0.8127365112304688 - ], - "min":[ - -15.729729652404785, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":58, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":59, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":60, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.03724479675293, - 0.8127365112304688 - ], - "min":[ - -15.729729652404785, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":61, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":62, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":63, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.03724479675293, - 0.8127365112304688 - ], - "min":[ - -15.729729652404785, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":64, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":65, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":66, - "componentType":5126, - "count":24, - "max":[ - 15.729729652404785, - 13.03724479675293, - 0.8127365112304688 - ], - "min":[ - -15.729729652404785, - -12.777854919433594, - -0.8127365112304688 - ], - "type":"VEC3" - }, - { - "bufferView":67, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":68, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":69, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 15.287931442260742, - 11.107067108154297 - ], - "min":[ - -0.8254489898681641, - -12.919384002685547, - -11.107067108154297 - ], - "type":"VEC3" - }, - { - "bufferView":70, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":71, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":72, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 12.743392944335938, - 11.107070922851562 - ], - "min":[ - -0.8254489898681641, - -12.919384002685547, - -11.107070922851562 - ], - "type":"VEC3" - }, - { - "bufferView":73, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":74, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":75, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 12.74339485168457, - 11.107070922851562 - ], - "min":[ - -0.8254489898681641, - -12.919384002685547, - -11.107070922851562 - ], - "type":"VEC3" - }, - { - "bufferView":76, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":77, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":78, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 12.743392944335938, - 11.107067108154297 - ], - "min":[ - -0.8254489898681641, - -12.919384002685547, - -11.107069969177246 - ], - "type":"VEC3" - }, - { - "bufferView":79, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":80, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":81, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 12.743392944335938, - 11.107067108154297 - ], - "min":[ - -0.8254499435424805, - -12.919384002685547, - -11.107067108154297 - ], - "type":"VEC3" - }, - { - "bufferView":82, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":83, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":84, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 12.743392944335938, - 11.10708236694336 - ], - "min":[ - -0.8254499435424805, - -12.919384002685547, - -11.107067108154297 - ], - "type":"VEC3" - }, - { - "bufferView":85, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":86, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":87, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 12.743393898010254, - 11.107067108154297 - ], - "min":[ - -0.8254489898681641, - -12.919384002685547, - -11.107070922851562 - ], - "type":"VEC3" - }, - { - "bufferView":88, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":89, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":90, - "componentType":5126, - "count":24, - "max":[ - 0.8254537582397461, - 12.238430976867676, - 11.107070922851562 - ], - "min":[ - -0.8254489898681641, - -12.919384002685547, - -11.107070922851562 - ], - "type":"VEC3" - }, - { - "bufferView":91, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":92, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":93, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 12.136162757873535, - 11.107067108154297 - ], - "min":[ - -0.8254489898681641, - -12.919384002685547, - -11.107067108154297 - ], - "type":"VEC3" - }, - { - "bufferView":94, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":95, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":96, - "componentType":5126, - "count":24, - "max":[ - 0.8254489898681641, - 12.136160850524902, - 11.107067108154297 - ], - "min":[ - -0.8254489898681641, - -12.919384002685547, - -11.107067108154297 - ], - "type":"VEC3" - }, - { - "bufferView":97, - "componentType":5126, - "count":24, - "type":"VEC3" - }, - { - "bufferView":98, - "componentType":5126, - "count":24, - "type":"VEC2" - }, - { - "bufferView":99, - "componentType":5126, - "count":8981, - "max":[ - 0.06533076614141464, - 1.0360385179519653, - 0.05769466236233711 - ], - "min":[ - -0.06638451665639877, - 0.972675621509552, - -0.059793099761009216 - ], - "type":"VEC3" - }, - { - "bufferView":100, - "componentType":5126, - "count":8981, - "type":"VEC3" - }, - { - "bufferView":101, - "componentType":5126, - "count":8981, - "type":"VEC2" - }, - { - "bufferView":102, - "componentType":5123, - "count":24276, - "type":"SCALAR" - }, - { - "bufferView":103, - "componentType":5126, - "count":8655, - "max":[ - 0.06533076614141464, - 1.0360385179519653, - 0.05769466236233711 - ], - "min":[ - -0.06638451665639877, - 0.972675621509552, - -0.059793099761009216 - ], - "type":"VEC3" - }, - { - "bufferView":104, - "componentType":5126, - "count":8655, - "type":"VEC3" - }, - { - "bufferView":105, - "componentType":5126, - "count":8655, - "type":"VEC2" - }, - { - "bufferView":106, - "componentType":5123, - "count":23664, - "type":"SCALAR" - }, - { - "bufferView":107, - "componentType":5126, - "count":326, - "max":[ - 0.047774169594049454, - 1.002625823020935, - 0.0010982414241880178 - ], - "min":[ - 0.04295903071761131, - 1.001570224761963, - -0.003196782199665904 - ], - "type":"VEC3" - }, - { - "bufferView":108, - "componentType":5126, - "count":326, - "type":"VEC3" - }, - { - "bufferView":109, - "componentType":5126, - "count":326, - "type":"VEC2" - }, - { - "bufferView":110, - "componentType":5123, - "count":612, - "type":"SCALAR" - }, - { - "bufferView":111, - "componentType":5126, - "count":8981, - "max":[ - 0.06533076614141464, - 1.0360385179519653, - 0.05769466236233711 - ], - "min":[ - -0.06638451665639877, - 0.972675621509552, - -0.059793099761009216 - ], - "type":"VEC3" - }, - { - "bufferView":112, - "componentType":5126, - "count":8981, - "type":"VEC3" - }, - { - "bufferView":113, - "componentType":5126, - "count":8981, - "type":"VEC2" - }, - { - "bufferView":114, - "componentType":5126, - "count":8981, - "max":[ - 0.06533076614141464, - 1.0360385179519653, - 0.05769466236233711 - ], - "min":[ - -0.06638451665639877, - 0.972675621509552, - -0.059793099761009216 - ], - "type":"VEC3" - }, - { - "bufferView":115, - "componentType":5126, - "count":8981, - "type":"VEC3" - }, - { - "bufferView":116, - "componentType":5126, - "count":8981, - "type":"VEC2" - }, - { - "bufferView":117, - "componentType":5126, - "count":8981, - "max":[ - 0.06533076614141464, - 1.0360385179519653, - 0.05769466236233711 - ], - "min":[ - -0.06638451665639877, - 0.972675621509552, - -0.059793099761009216 - ], - "type":"VEC3" - }, - { - "bufferView":118, - "componentType":5126, - "count":8981, - "type":"VEC3" - }, - { - "bufferView":119, - "componentType":5126, - "count":8981, - "type":"VEC2" - }, - { - "bufferView":120, - "componentType":5126, - "count":8981, - "max":[ - 0.06533076614141464, - 1.0360385179519653, - 0.05769466236233711 - ], - "min":[ - -0.06638451665639877, - 0.972675621509552, - -0.059793099761009216 - ], - "type":"VEC3" - }, - { - "bufferView":121, - "componentType":5126, - "count":8981, - "type":"VEC3" - }, - { - "bufferView":122, - "componentType":5126, - "count":8981, - "type":"VEC2" - }, - { - "bufferView":123, - "componentType":5126, - "count":65, - "max":[ - 1, - 1, - 1 - ], - "min":[ - -1, - -1, - -1 - ], - "type":"VEC3" - }, - { - "bufferView":124, - "componentType":5126, - "count":65, - "type":"VEC3" - }, - { - "bufferView":125, - "componentType":5126, - "count":65, - "type":"VEC2" - }, - { - "bufferView":126, - "componentType":5123, - "count":186, - "type":"SCALAR" - }, - { - "bufferView":127, - "componentType":5126, - "count":65, - "max":[ - 1, - 1, - 1 - ], - "min":[ - -1, - -1, - -1 - ], - "type":"VEC3" - }, - { - "bufferView":128, - "componentType":5126, - "count":65, - "type":"VEC3" - }, - { - "bufferView":129, - "componentType":5126, - "count":65, - "type":"VEC2" - }, - { - "bufferView":130, - "componentType":5126, - "count":65, - "max":[ - 1, - 1, - 1 - ], - "min":[ - -1, - -1, - -1 - ], - "type":"VEC3" - }, - { - "bufferView":131, - "componentType":5126, - "count":65, - "type":"VEC3" - }, - { - "bufferView":132, - "componentType":5126, - "count":65, - "type":"VEC2" - }, - { - "bufferView":133, - "componentType":5126, - "count":65, - "max":[ - 1, - 1, - 1 - ], - "min":[ - -1, - -1, - -1 - ], - "type":"VEC3" - }, - { - "bufferView":134, - "componentType":5126, - "count":65, - "type":"VEC3" - }, - { - "bufferView":135, - "componentType":5126, - "count":65, - "type":"VEC2" - }, - { - "bufferView":136, - "componentType":5126, - "count":65, - "max":[ - 1, - 1, - 1 - ], - "min":[ - -1, - -1, - -1 - ], - "type":"VEC3" - }, - { - "bufferView":137, - "componentType":5126, - "count":65, - "type":"VEC3" - }, - { - "bufferView":138, - "componentType":5126, - "count":65, - "type":"VEC2" - }, - { - "bufferView":139, - "componentType":5126, - "count":8981, - "max":[ - 0.06533076614141464, - 1.0360385179519653, - 0.05769466236233711 - ], - "min":[ - -0.06638451665639877, - 0.972675621509552, - -0.059793099761009216 - ], - "type":"VEC3" - }, - { - "bufferView":140, - "componentType":5126, - "count":8981, - "type":"VEC3" - }, - { - "bufferView":141, - "componentType":5126, - "count":8981, - "type":"VEC2" - }, - { - "bufferView":142, - "componentType":5126, - "count":65, - "max":[ - 1, - 1, - 1 - ], - "min":[ - -1, - -1, - -1 - ], - "type":"VEC3" - }, - { - "bufferView":143, - "componentType":5126, - "count":65, - "type":"VEC3" - }, - { - "bufferView":144, - "componentType":5126, - "count":65, - "type":"VEC2" - }, - { - "bufferView":145, - "componentType":5126, - "count":8981, - "max":[ - 0.06533076614141464, - 1.0360385179519653, - 0.05769466236233711 - ], - "min":[ - -0.06638451665639877, - 0.972675621509552, - -0.059793099761009216 - ], - "type":"VEC3" - }, - { - "bufferView":146, - "componentType":5126, - "count":8981, - "type":"VEC3" - }, - { - "bufferView":147, - "componentType":5126, - "count":8981, - "type":"VEC2" - }, - { - "bufferView":148, - "componentType":5126, - "count":65, - "max":[ - 1, - 1, - 1 - ], - "min":[ - -1, - -1, - -1 - ], - "type":"VEC3" - }, - { - "bufferView":149, - "componentType":5126, - "count":65, - "type":"VEC3" - }, - { - "bufferView":150, - "componentType":5126, - "count":65, - "type":"VEC2" - } - ], - "bufferViews":[ - { - "buffer":0, - "byteLength":48, - "byteOffset":0, - "target":34962 - }, - { - "buffer":0, - "byteLength":48, - "byteOffset":48, - "target":34962 - }, - { - "buffer":0, - "byteLength":32, - "byteOffset":96, - "target":34962 - }, - { - "buffer":0, - "byteLength":12, - "byteOffset":128, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":140, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":428, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":716, - "target":34962 - }, - { - "buffer":0, - "byteLength":72, - "byteOffset":908, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":980, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":1268, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":1556, - "target":34962 - }, - { - "buffer":0, - "byteLength":72, - "byteOffset":1748, - "target":34963 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":1820, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":2108, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":2396, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":2588, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":2876, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":3164, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":3356, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":3644, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":3932, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":4124, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":4412, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":4700, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":4892, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":5180, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":5468, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":5660, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":5948, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":6236, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":6428, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":6716, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":7004, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":7196, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":7484, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":7772, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":7964, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":8252, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":8540, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":8732, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":9020, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":9308, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":9500, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":9788, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10076, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10268, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":10556, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":10844, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":11036, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":11324, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":11612, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":11804, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":12092, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":12380, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":12572, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":12860, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13148, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13340, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":13628, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":13916, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":14108, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":14396, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":14684, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":14876, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":15164, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":15452, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":15644, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":15932, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":16220, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":16412, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":16700, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":16988, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":17180, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":17468, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":17756, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":17948, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":18236, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":18524, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":18716, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":19004, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":19292, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":19484, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":19772, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":20060, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":20252, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":20540, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":20828, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":21020, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":21308, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":21596, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":21788, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":22076, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":22364, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":22556, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":22844, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":23132, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":23324, - "target":34962 - }, - { - "buffer":0, - "byteLength":288, - "byteOffset":23612, - "target":34962 - }, - { - "buffer":0, - "byteLength":192, - "byteOffset":23900, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":24092, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":131864, - "target":34962 - }, - { - "buffer":0, - "byteLength":71848, - "byteOffset":239636, - "target":34962 - }, - { - "buffer":0, - "byteLength":48552, - "byteOffset":311484, - "target":34963 - }, - { - "buffer":0, - "byteLength":103860, - "byteOffset":360036, - "target":34962 - }, - { - "buffer":0, - "byteLength":103860, - "byteOffset":463896, - "target":34962 - }, - { - "buffer":0, - "byteLength":69240, - "byteOffset":567756, - "target":34962 - }, - { - "buffer":0, - "byteLength":47328, - "byteOffset":636996, - "target":34963 - }, - { - "buffer":0, - "byteLength":3912, - "byteOffset":684324, - "target":34962 - }, - { - "buffer":0, - "byteLength":3912, - "byteOffset":688236, - "target":34962 - }, - { - "buffer":0, - "byteLength":2608, - "byteOffset":692148, - "target":34962 - }, - { - "buffer":0, - "byteLength":1224, - "byteOffset":694756, - "target":34963 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":695980, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":803752, - "target":34962 - }, - { - "buffer":0, - "byteLength":71848, - "byteOffset":911524, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":983372, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":1091144, - "target":34962 - }, - { - "buffer":0, - "byteLength":71848, - "byteOffset":1198916, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":1270764, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":1378536, - "target":34962 - }, - { - "buffer":0, - "byteLength":71848, - "byteOffset":1486308, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":1558156, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":1665928, - "target":34962 - }, - { - "buffer":0, - "byteLength":71848, - "byteOffset":1773700, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":1845548, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":1846328, - "target":34962 - }, - { - "buffer":0, - "byteLength":520, - "byteOffset":1847108, - "target":34962 - }, - { - "buffer":0, - "byteLength":372, - "byteOffset":1847628, - "target":34963 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":1848000, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":1848780, - "target":34962 - }, - { - "buffer":0, - "byteLength":520, - "byteOffset":1849560, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":1850080, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":1850860, - "target":34962 - }, - { - "buffer":0, - "byteLength":520, - "byteOffset":1851640, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":1852160, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":1852940, - "target":34962 - }, - { - "buffer":0, - "byteLength":520, - "byteOffset":1853720, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":1854240, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":1855020, - "target":34962 - }, - { - "buffer":0, - "byteLength":520, - "byteOffset":1855800, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":1856320, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":1964092, - "target":34962 - }, - { - "buffer":0, - "byteLength":71848, - "byteOffset":2071864, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":2143712, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":2144492, - "target":34962 - }, - { - "buffer":0, - "byteLength":520, - "byteOffset":2145272, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":2145792, - "target":34962 - }, - { - "buffer":0, - "byteLength":107772, - "byteOffset":2253564, - "target":34962 - }, - { - "buffer":0, - "byteLength":71848, - "byteOffset":2361336, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":2433184, - "target":34962 - }, - { - "buffer":0, - "byteLength":780, - "byteOffset":2433964, - "target":34962 - }, - { - "buffer":0, - "byteLength":520, - "byteOffset":2434744, - "target":34962 - } - ], - "buffers":[ - { - "byteLength":2435264, - "uri":"backe_edit_2.bin" - } - ] -} diff --git a/webVue/models/texture/Alex_Hart-Nature_Lab_Bones_2k.hdr b/webVue/models/texture/Alex_Hart-Nature_Lab_Bones_2k.hdr deleted file mode 100644 index 6f72027..0000000 Binary files a/webVue/models/texture/Alex_Hart-Nature_Lab_Bones_2k.hdr and /dev/null differ diff --git a/webVue/models/texture/alpha.png b/webVue/models/texture/alpha.png deleted file mode 100644 index fe47647..0000000 Binary files a/webVue/models/texture/alpha.png and /dev/null differ diff --git a/webVue/server.pem b/webVue/server.pem deleted file mode 100644 index 6bc8ad5..0000000 --- a/webVue/server.pem +++ /dev/null @@ -1,48 +0,0 @@ ------BEGIN CERTIFICATE----- -MIIDOTCCAiGgAwIBAgIUMlpmdzEzz0WD0PUO0QkP8fLZNgkwDQYJKoZIhvcNAQEL -BQAwRTELMAkGA1UEBhMCQVUxEzARBgNVBAgMClNvbWUtU3RhdGUxITAfBgNVBAoM -GEludGVybmV0IFdpZGdpdHMgUHR5IEx0ZDAeFw0yNDA4MzAwODQzMTNaFw0zNDA4 -MjgwODQzMTNaMEUxCzAJBgNVBAYTAkFVMRMwEQYDVQQIDApTb21lLVN0YXRlMSEw -HwYDVQQKDBhJbnRlcm5ldCBXaWRnaXRzIFB0eSBMdGQwggEiMA0GCSqGSIb3DQEB -AQUAA4IBDwAwggEKAoIBAQCzSYo9nAVhEGB5eg7qq7Hu0sQ4wAJI9v154Vy3VDzX -OQ/kQIBEslzuITwe/k+SlbN7PL5QwG1ZHT5koMhpgIdwZL09+wajebCExxFbyyWs -5ZkFinMocD64VJXh1gflYAoFH6koYspJ1KaVCnden7Pp07dPAGA/HtYZ/NTfdaSc -zdODDMjwAigxb+MW0x3XNTrFkOXZCQr8xjnToT4vzxmqD6pnzSUOYc6TSlDP9jya -SZYnuoi1/fcPXtRwF59hqK8CqZLNuNuBZFjqs+Xtm8P9V4LvWWou/8rrAhjyPJSA -ExbMG9rwdvzLEfKKtxeAy1edY6FN9BPEU/8ouvciFeIXAgMBAAGjITAfMB0GA1Ud -DgQWBBShVuuuBF2x6n++4kQSQ2G5ShT2EjANBgkqhkiG9w0BAQsFAAOCAQEAJwiY -XmwpOedDYHyffk5ILhxE/aHp1FnCYEbdVzXY7cct9uYGFefCNT8FRTUzG+obPn9N -Cqm5Yw/jcETOe4PIEDP2/mcRnjOKXMJtiPlcKTMtMM2nfo56sfA7WKihwjI/JpX+ -Ea4E4b18Z4xyCcvs6+sxcK+1D/8deeS/CJ8MvEokLRGudKG86gNaP4AMF6uHkAYh -bwssuuIehpzwDOd6OwT3+8XlKI30lSN+1JNP2PCz/tvOBVDo81RhacYQA3Xrf30c -E/zqnB3/xFIVvb1Z4UCgYpNGkDCD4tMp7gVrPDn5MvrCPAnoGJ76vblyAo0zNqer -lfI9n4JDwJkxbrgfew== ------END CERTIFICATE----- ------BEGIN PRIVATE KEY----- -MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCzSYo9nAVhEGB5 -eg7qq7Hu0sQ4wAJI9v154Vy3VDzXOQ/kQIBEslzuITwe/k+SlbN7PL5QwG1ZHT5k -oMhpgIdwZL09+wajebCExxFbyyWs5ZkFinMocD64VJXh1gflYAoFH6koYspJ1KaV -Cnden7Pp07dPAGA/HtYZ/NTfdaSczdODDMjwAigxb+MW0x3XNTrFkOXZCQr8xjnT -oT4vzxmqD6pnzSUOYc6TSlDP9jyaSZYnuoi1/fcPXtRwF59hqK8CqZLNuNuBZFjq -s+Xtm8P9V4LvWWou/8rrAhjyPJSAExbMG9rwdvzLEfKKtxeAy1edY6FN9BPEU/8o -uvciFeIXAgMBAAECggEADsAuL4N2rdW7GkOAlq4ppYyRuFmT1oz7rdts1WiI2OxI -8m6cHwrNuonheGtUAKtwaONGhT5PwNU3HPBdjNCWVBj1uPO+SBTrAQGf2/2Ky/7X -6CzL7LfPcTsEWeBSJf0Q1fsU383A9vIYAosp5w8crlBM9KMDSC4xT1IN8ZSsRnpF -TfB+tozVJKeIwZzuUT8tA3Sq/m6aYhe986KEfuG3HN7rdrs0Jf7VpdeTlFt46cWS -9hitSodewmtBhFPonq4MBf28kIhKE/ZsI/9LmM6XHEh83DyCsDeLKgkpQ3jC0WVI -LxaxFps4GWY6Jqsz5pF9LfV0v2Cl13mdpK4nloKrAQKBgQDs/i4AT2MJlCBwaWkL -gGqp2vXtu1+8hzT7Uy6VbzfyFFW5oc+Mp8t2KwI55zvIeQVf51oprST6mBDpr0me -m4hllTLknj4pTsnh7Vhus45pMNCI0PS1NKVbg0sIANCdgqg+HafGAgEsfQ7ZaHr8 -cHzfre6UQdWlk+ByGMzcQ0tfPwKBgQDBqpO85fXsaEsDVckHymBMbGy0XEGTjcZq -x9UG4bhLWvKEorr9YF5WqoCdjyKniWjUdoSsXbTXidHofnVFBNwrnBkfdGBdS6Xa -xJnGms2Ma0/ZOtCgn3hH1COJ4uRzFtxWkyjeXYslKmNnhkDr4bZcnUph5eFpPukN -hd/ZUcUfKQKBgQC8naOA7a3VzsVukgZfeAnsO28lkM4mHrnFGLPnjMfK6/I6NpUX -zee5mYtBCE7lQ6RKarewmbPnmaVERxThncmVh4QkveidOa6lGCAcot1BzO77JMrN -eSPtzHWn3fYqlfVO0o1XovrKLJHn6CaRyPkpkKVj622dRS8Jv8EzwH85QwKBgH9z -vMqiJFgywrstJ6HC4+Ensdp4pIdw1FXNsTpYLisZbWUwmxLI6wzqJL6MRmgvnBfG -78Vn3e3DO6tgHdkQO71Pe5Ehy5FaiYoRvInhsshojyIM/OPYTxYmXEUQVvwO3W70 -Zf8BXONWpBirV+pkntkQgrUuzkuvJTzLD+g7UhkRAoGBANRCYeVuOoinozZUkPL7 -BiX06UDPFSB0IXSLvRSmZTMgj4OR0F+/yNzyxQ8SMFJfubFLxnwJtYcK7ibYaIS7 -3afQT5IUj4vJ8xwTpm7/QmJlf7iOdd9gyFYvbToR9mZm9RDh/ECZ50g49IHZfAiW -cXI7DAoiCdJEup9jwBGKf8iX ------END PRIVATE KEY----- diff --git a/webVue/svgs/demo.svg b/webVue/svgs/demo.svg deleted file mode 100644 index 994495a..0000000 --- a/webVue/svgs/demo.svg +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - \ No newline at end of file diff --git a/webVue/svgs/image.svg b/webVue/svgs/image.svg deleted file mode 100644 index 378e190..0000000 --- a/webVue/svgs/image.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/info.svg b/webVue/svgs/info.svg deleted file mode 100644 index 035bd5a..0000000 --- a/webVue/svgs/info.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/log-sel.svg b/webVue/svgs/log-sel.svg deleted file mode 100644 index f0e9f42..0000000 --- a/webVue/svgs/log-sel.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/log.svg b/webVue/svgs/log.svg deleted file mode 100644 index d010a95..0000000 --- a/webVue/svgs/log.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/my-button.svg b/webVue/svgs/my-button.svg deleted file mode 100644 index aee1196..0000000 --- a/webVue/svgs/my-button.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/my-input.svg b/webVue/svgs/my-input.svg deleted file mode 100644 index 9fa947c..0000000 --- a/webVue/svgs/my-input.svg +++ /dev/null @@ -1,5 +0,0 @@ - - - \ No newline at end of file diff --git a/webVue/svgs/num-info.svg b/webVue/svgs/num-info.svg deleted file mode 100644 index e97739f..0000000 --- a/webVue/svgs/num-info.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/pie-charts.svg b/webVue/svgs/pie-charts.svg deleted file mode 100644 index 826b132..0000000 --- a/webVue/svgs/pie-charts.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/regulator.svg b/webVue/svgs/regulator.svg deleted file mode 100644 index f2577f1..0000000 --- a/webVue/svgs/regulator.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/signal-gaudy.svg b/webVue/svgs/signal-gaudy.svg deleted file mode 100644 index 3251953..0000000 --- a/webVue/svgs/signal-gaudy.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/switch-info.svg b/webVue/svgs/switch-info.svg deleted file mode 100644 index d7c7230..0000000 --- a/webVue/svgs/switch-info.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/table-base.svg b/webVue/svgs/table-base.svg deleted file mode 100644 index 637d62f..0000000 --- a/webVue/svgs/table-base.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/webVue/svgs/table-only.svg b/webVue/svgs/table-only.svg deleted file mode 100644 index d060cb3..0000000 --- a/webVue/svgs/table-only.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file