@hb-hellotech/hb-ui 0.1.3 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,23 @@
1
- (function(ue,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("ant-design-vue"),require("@ant-design/icons-vue"),require("vue-router"),require("@vueuse/core"),require("dayjs")):typeof define=="function"&&define.amd?define(["exports","vue","ant-design-vue","@ant-design/icons-vue","vue-router","@vueuse/core","dayjs"],t):(ue=typeof globalThis<"u"?globalThis:ue||self,t(ue.HbComponentLib={},ue.Vue,ue.antDesignVue,ue.iconsVue,ue.vueRouter,ue.core,ue.dayjs))})(this,(function(ue,t,V,Ne,Cr,Qt,It){"use strict";const Tr={items:{type:Array,required:!0},formData:{type:Object,required:!0},layoutConfig:{type:Object,default:{row:{gutter:20},col:{xs:24,sm:12,md:8,lg:6,xl:6}}},needFooter:{type:Boolean,default:!1},isFormExpanded:{type:Boolean,default:!0},needFilter:{type:Boolean,default:!0},calTableHeight:{type:Function,default:()=>{}}},Lr="hb-",At=(e="")=>{const n=`${Lr}${e}`;return yr(n)},Me=(e,n,r,o)=>(n&&(e+=`-${n}`),r&&(e+=`__${r}`),o&&(e+=`--${o}`),e),yr=e=>({b:n=>n?Me(e,n,"",""):Me(e,"","",""),e:n=>n?Me(e,"",n,""):"",m:n=>Me(e,"","",n),be:(n,r)=>Me(e,n,r,""),em:(n,r)=>Me(e,"",n,r),bem:(n,r,o)=>Me(e,n,r,o),is:(n,r)=>r?`is-${n}`:""}),kr={class:"form-footer"},Or=t.defineComponent({name:"HbLibListForm",__name:"HbListForm",props:Tr,emits:["handleSearch","handleReset","handleSfcmConfirm","handleOpenOrClose"],setup(e,{expose:n,emit:r}){const o=r,l=t.inject("HB_LIST_PAGE_CONTAINER"),a=At("form"),s=e,u=t.ref("show"),c=t.computed(()=>(console.log(s.items),[...s.items])),p=t.ref(),E=()=>{o("handleSearch")},T=()=>{o("handleReset")},N=t.ref(),O=()=>{N.value&&N.value.toOpenModal()},S=d=>{o("handleSfcmConfirm",d)},k=()=>{u.value=u.value==="show"?"hide":"show"};t.watch(()=>s.isFormExpanded,d=>{if(d){console.log(d);const _=document.querySelector("#subpackage_container");_ instanceof HTMLElement&&(_.style.overflow="hidden",setTimeout(()=>{_.style.overflow="auto"},500))}});const w=d=>{const _=d;_.style.height="",_.offsetHeight},D=d=>{const _=d;_.style.height="",_.style.overflow="",t.nextTick(()=>{l.calTableHeight&&l.calTableHeight()})},P=d=>{const _=d,h=_.querySelector(".hb-lib-form--container");if(h){const b=h.offsetHeight;_.style.height=b+"px",_.style.overflow="hidden",_.offsetHeight,requestAnimationFrame(()=>{_.style.height="0"})}},m=()=>{t.nextTick(()=>{l.calTableHeight&&l.calTableHeight()})};return n({formRef:p,SelectOption:V.SelectOption,Form:V.Form,FormItem:V.FormItem,Row:V.Row,Col:V.Col,Input:V.Input,Select:V.Select,CheckboxGroup:V.CheckboxGroup,Checkbox:V.Checkbox,DatePicker:V.DatePicker,InputNumber:V.InputNumber,RadioGroup:V.RadioGroup,Radio:V.Radio,Switch:V.Switch,Button:V.Button,Tooltip:V.Tooltip}),(d,_)=>{const h=t.resolveComponent("a-button"),b=t.resolveComponent("a-tooltip"),y=t.resolveComponent("HbLibFormItemFilterModal");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.Transition,{name:"form-collapse",onEnter:w,onAfterEnter:D,onLeave:P,onAfterLeave:m},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass([t.unref(a).b(),"hb-lib-list-page-form-box hb-form-item-ui"])},[t.createVNode(t.unref(V.Form),t.mergeProps(d.$attrs,{model:d.formData,ref_key:"formRef",ref:p,class:["hb-lib-form--container",u.value=="show"?"":"hide"]}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,(g,v)=>(t.openBlock(),t.createBlock(t.unref(V.FormItem),t.mergeProps({key:v,ref_for:!0},g,{name:g.key,class:g.isUnNeedBorder?"hb-lib-form-item-border--unneed":""}),t.createSlots({default:t.withCtx(()=>[g.type==="slot"?t.renderSlot(d.$slots,g.key,{key:0,formData:d.formData,item:g},void 0,!0):t.createCommentVNode("",!0),g.type==="mixin"?t.renderSlot(d.$slots,g.key,{key:1,formData:d.formData,item:g},void 0,!0):t.createCommentVNode("",!0),g.type==="input"?(t.openBlock(),t.createBlock(t.unref(V.Input),t.mergeProps({key:2,value:d.formData[g.key],"onUpdate:value":U=>d.formData[g.key]=U},{ref_for:!0},g.attrs),null,16,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="select"?(t.openBlock(),t.createBlock(t.unref(V.Select),t.mergeProps({key:3,value:d.formData[g.key],"onUpdate:value":U=>d.formData[g.key]=U},{ref_for:!0},g.attrs),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.options,(U,B)=>(t.openBlock(),t.createBlock(t.unref(V.SelectOption),{key:B,value:U.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(U.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="checkbox"?(t.openBlock(),t.createBlock(t.unref(V.CheckboxGroup),t.mergeProps({key:4,value:d.formData[g.key],"onUpdate:value":U=>d.formData[g.key]=U},{ref_for:!0},g.attrs),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.options,(U,B)=>(t.openBlock(),t.createBlock(t.unref(V.Checkbox),{key:B,value:U.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(U.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="date-picker"?(t.openBlock(),t.createBlock(t.unref(V.DatePicker),t.mergeProps({key:5,value:d.formData[g.key],"onUpdate:value":U=>d.formData[g.key]=U},{ref_for:!0},g.attrs),null,16,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="input-number"?(t.openBlock(),t.createBlock(t.unref(V.InputNumber),t.mergeProps({key:6,value:d.formData[g.key],"onUpdate:value":U=>d.formData[g.key]=U},{ref_for:!0},g.attrs),null,16,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="radio"?(t.openBlock(),t.createBlock(t.unref(V.RadioGroup),t.mergeProps({key:7,value:d.formData[g.key],"onUpdate:value":U=>d.formData[g.key]=U},{ref_for:!0},g.attrs),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.options,(U,B)=>(t.openBlock(),t.createBlock(t.unref(V.Radio),{key:B,value:U.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(U.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="switch"?(t.openBlock(),t.createBlock(t.unref(V.Switch),t.mergeProps({key:8,checked:d.formData[g.key],"onUpdate:checked":U=>d.formData[g.key]=U},{ref_for:!0},g.attrs),null,16,["checked","onUpdate:checked"])):t.createCommentVNode("",!0)]),_:2},[g.tooltip?{name:"label",fn:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(g.label)+" ",1),t.createVNode(t.unref(V.Tooltip),{title:g.tooltip},{default:t.withCtx(()=>[t.createVNode(t.unref(Ne.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"]))),128)),t.createElementVNode("section",kr,[t.createVNode(h,{type:"primary",onClick:E,class:"hb_list_page_button"},{icon:t.withCtx(()=>[t.createVNode(t.unref(Ne.SearchOutlined))]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(d.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),t.createVNode(h,{type:"link",onClick:T},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),d.needFilter?(t.openBlock(),t.createBlock(b,{key:0,title:d.$t("hbLibComp.hbListPageAct.selfDefine")},{default:t.withCtx(()=>[t.createElementVNode("span",{class:"hb-lib-form-svg",onClick:O},[..._[0]||(_[0]=[t.createElementVNode("svg",{t:"1757915025410",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"16346",width:"200",height:"200"},[t.createElementVNode("path",{d:"M910.57152 73.176615v5.750154a7.089231 7.089231 0 0 1-0.472615 2.363077 72.310154 72.310154 0 0 0-5.19877 5.356308L589.980751 444.494769a72.467692 72.467692 0 0 0-17.014154 60.494769v441.659077l-121.698462-60.100923V497.033846A72.467692 72.467692 0 0 0 433.229982 444.573538L118.940751 86.646154a75.618462 75.618462 0 0 0-5.041231-5.277539 7.089231 7.089231 0 0 1-0.393846-2.363077V73.097846h796.908308zM921.599212 0H102.399212C67.661982 0 39.383828 31.901538 39.383828 71.207385v7.876923c0 21.661538 8.664615 42.141538 23.630769 55.611077L377.146289 492.307692h-0.157538v398.257231c0 25.127385 14.414769 48.206769 37.257846 59.549539l135.010461 66.56a68.056615 68.056615 0 0 0 65.851077-2.678154 66.087385 66.087385 0 0 0 31.901539-56.871385v-464.738461h-1.024l315.076923-357.848616A75.067077 75.067077 0 0 0 984.614597 78.926769V71.207385C984.614597 31.901538 956.493982 0 921.599212 0z",fill:"#ff5000","p-id":"16347"})],-1)])])]),_:1},8,["title"])):t.createCommentVNode("",!0),t.renderSlot(d.$slots,"formBtns",{},void 0,!0)])]),_:3},16,["model","class"]),d.needFooter?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(t.unref(a).e("footer"))},[t.createElementVNode("div",{class:t.normalizeClass(t.unref(a).e("footer__left"))},[t.renderSlot(d.$slots,"form-footer-left",{},void 0,!0)],2),t.createElementVNode("div",{class:t.normalizeClass(t.unref(a).e("footer__right"))},[u.value=="show"?t.renderSlot(d.$slots,"form-footer-right",{key:0,formRef:p.value},()=>[t.createVNode(t.unref(V.Button),{type:"primary",onClick:T},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.createVNode(t.unref(V.Button),{type:"primary",onClick:E},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(d.$t("hbLibComp.hbListPageAct.query")),1)]),_:1})],!0):t.createCommentVNode("",!0),t.createVNode(t.unref(V.Button),{type:"primary",onClick:k},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(u.value=="show"?`${d.$t("hbLibComp.hbListPageAct.close")}`:`${d.$t("hbLibComp.hbListPageAct.open")}`),1)]),_:1})],2)],2)):t.createCommentVNode("",!0)],2),[[t.vShow,d.isFormExpanded]])]),_:3}),t.createVNode(y,{list:d.items,ref_key:"HbSfCmRef",ref:N,onConfirm:S},null,8,["list"])],64)}}}),Re=(e,n)=>{const r=e.__vccOpts||e;for(const[o,l]of n)r[o]=l;return r},Sr=Re(Or,[["__scopeId","data-v-f0b1028c"]]),Ce=(e,n)=>(e.install=r=>{for(const o of[e,...Object.values({})])r.component(o.name,o)},e),Ir=Ce(Sr),Ar={formItems:{type:Array,default:()=>[]},isShowSelfFilter:{type:Boolean,default:!0},isShowOpenClose:{type:Boolean,default:!0},isShowFullScreen:{type:Boolean,default:!0}},Pr={class:"hb-lib-list-page-act-box"},Dr={class:"hb-lib-list-page-breadcrumb"},wr={class:"hb-lib-list-page-act"},Mr={key:0,t:"1757915338760",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"22885",width:"200",height:"200"},Rr={key:1,t:"1757915360496",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"23904",width:"200",height:"200"},Fr=Ce(Re(t.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:Ar,emits:["handleSearch","handleReset","handleSfcmConfirm","handleOpenOrClose"],setup(e,{emit:n}){const r=t.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:o,toggle:l}=Qt.useFullscreen(r.PageContainerRef),a=t.ref(""),s=()=>{const u=Cr.useRoute();let c=localStorage.getItem("BreadCrumb")||"[]",p=u?.path;if(console.log("path",p),console.log("route",u),c!=="[]"){console.log("breadCrumbList",c);let E=JSON.parse(c).find(T=>T.value===p);console.log("findItem",E),E&&(a.value=E.label.replace(/-/g," / "))}};return t.onMounted(()=>{s()}),(u,c)=>{const p=t.resolveComponent("a-tooltip");return t.openBlock(),t.createElementBlock("section",Pr,[t.createElementVNode("aside",Dr,t.toDisplayString(a.value),1),t.createElementVNode("aside",wr,[t.createVNode(p,{title:t.unref(o)?`${u.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${u.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:t.withCtx(()=>[t.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:c[0]||(c[0]=(...E)=>t.unref(l)&&t.unref(l)(...E))},[t.unref(o)?(t.openBlock(),t.createElementBlock("svg",Rr,[...c[2]||(c[2]=[t.createElementVNode("path",{d:"M257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23905"},null,-1),t.createElementVNode("path",{d:"M896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333zM257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333zM343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23906"},null,-1),t.createElementVNode("path",{d:"M343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23907"},null,-1)])])):(t.openBlock(),t.createElementBlock("svg",Mr,[...c[1]||(c[1]=[t.createElementVNode("path",{d:"M85.333333 682.666667v128a128 128 0 0 0 128 128h128a42.666667 42.666667 0 0 0 0-85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-128a42.666667 42.666667 0 0 0-85.333334 0z m597.333334 256h128a128 128 0 0 0 128-128v-128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 1-42.666666 42.666666h-128a42.666667 42.666667 0 0 0 0 85.333334z m256-597.333334V213.333333a128 128 0 0 0-128-128h-128a42.666667 42.666667 0 0 0 0 85.333334h128a42.666667 42.666667 0 0 1 42.666666 42.666666v128a42.666667 42.666667 0 0 0 85.333334 0zM341.333333 85.333333H213.333333a128 128 0 0 0-128 128v128a42.666667 42.666667 0 0 0 85.333334 0V213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h128a42.666667 42.666667 0 0 0 0-85.333334z",fill:"#ff5000","p-id":"22886"},null,-1)])]))])]),_:1},8,["title"]),t.renderSlot(u.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-86c65f2f"]])),Br={formItems:{type:Array,default:()=>[]},isShowSelfFilter:{type:Boolean,default:!0},needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},Vr={class:"hb-lib-list-btns-box"},Ur={class:"hb-lib-list-btns-left"},$r={class:"hb-lib-list-btns-right"},vr=Ce(Re(t.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:Br,emits:["handleOpenOrClose","handleReload"],setup(e,{emit:n}){const r=n,o=t.ref(!0),l=()=>{o.value=!o.value,r("handleOpenOrClose",o.value)},a=()=>{r("handleReload")};return t.onMounted(()=>{}),(s,u)=>{const c=t.resolveComponent("a-tooltip");return t.openBlock(),t.createElementBlock("section",Vr,[t.createElementVNode("aside",Ur,[t.renderSlot(s.$slots,"btnsLeft",{},void 0,!0)]),t.createElementVNode("aside",$r,[s.needReload?(t.openBlock(),t.createBlock(c,{key:0,title:s.$t("hbLibComp.hbListBtnsAct.reload")},{default:t.withCtx(()=>[t.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:a},[...u[0]||(u[0]=[t.createElementVNode("svg",{t:"1759041224819",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4202",width:"200",height:"200"},[t.createElementVNode("path",{d:"M958.681412 457.499032c-6.170072-50.632177-20.854483-99.563886-43.643361-145.434552-45.779694-92.144205-122.249797-166.333021-215.325711-208.898719-20.083724-9.18513-43.810309-0.349891-52.995439 19.734833-9.18413 20.082724-0.349891 43.810309 19.733833 52.996438 159.26323 72.834239 245.755201 249.640987 205.658732 420.410622-30.735395 130.876101-129.201624 233.321087-256.187941 270.333521l-0.262918-70.800875-196.843487 114.650172 197.690222 113.176632-0.275914-74.43274c75.398438-17.911403 144.809747-54.929834 202.084849-108.039237 65.597501-60.827991 111.122274-139.186504 131.651859-226.606186 12.170197-51.828803 15.10328-104.683286 8.715276-157.089909zM408.299406-0.001l0.271915 74.43374c-75.404436 17.911403-144.820744 54.931834-202.099843 108.046235-65.6005 60.83099-111.124274 139.191503-131.651859 226.616183-7.987504 34.034364-11.994252 68.507591-11.994252 103.010809 0 17.994377 1.090659 35.996751 3.271978 53.946142 6.152077 50.59119 20.803499 99.48891 43.545392 145.333583 45.678725 92.080225 122.012871 166.270041 214.936832 208.900718 20.071728 9.209122 43.810309 0.401874 53.018432-19.670852 9.210122-20.076726 0.400875-43.810309-19.671853-53.019432-158.963324-72.92821-245.278351-249.658982-205.24886-420.22368 30.732396-130.883099 129.201624-233.333083 256.195939-270.345517l0.259919 70.801874 196.850484-114.640174L408.299406-0.001z",fill:"#ff5000","p-id":"4203"})],-1)])])]),_:1},8,["title"])):t.createCommentVNode("",!0),s.needOpenOrClose?(t.openBlock(),t.createBlock(c,{key:1,title:o.value?`${s.$t("hbLibComp.hbListBtnsAct.close")}`:`${s.$t("hbLibComp.hbListBtnsAct.open")}`},{default:t.withCtx(()=>[t.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:l},[o.value?(t.openBlock(),t.createBlock(t.unref(Ne.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(t.openBlock(),t.createBlock(t.unref(Ne.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):t.createCommentVNode("",!0),t.renderSlot(s.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-0f819b31"]])),xr={tableHeight:{type:Number,default:400},tabelData:{type:Array,default:()=>[]},offsetBottom:{type:Number},minHeight:{type:Number}},Hr=(e={})=>{const{formRef:n,offsetBottom:r=50,minHeight:o=300}=e,l=t.ref(0);let a=null,s=null,u=null,c=null,p=null;const E=()=>{p&&clearTimeout(p),p=setTimeout(()=>{requestAnimationFrame(()=>{t.nextTick(()=>{const D=document.querySelector(".ant-table"),P=document.querySelector(".ant-pagination");if(D){const m=D.getBoundingClientRect().top,d=window.innerHeight,h=(P?P.offsetHeight+20:40)+r;let b=d-m-h;b<o&&(b=o),l.value=b}})})},100)},T=()=>{const D=document.querySelector(".ant-pagination");if(D){const P=new MutationObserver(()=>{E()});return P.observe(D,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),P}return null},N=()=>{const D=document.querySelector(".hb-lib-list-page-form-box");D&&(a=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(m=>{m.style.display="none"}),E()}),a.observe(D))},O=()=>{const D=document.querySelector(".hb-lib-list-page-form-box");D&&(u=new MutationObserver(()=>{setTimeout(()=>{E()},100)}),u.observe(D,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},S=()=>{c&&clearTimeout(c),c=setTimeout(()=>{E()},100)},k=()=>{window.addEventListener("resize",S),t.nextTick(()=>{N(),O(),s=T()})},w=()=>{window.removeEventListener("resize",S),a&&a.disconnect(),u&&u.disconnect(),s&&s.disconnect(),c&&clearTimeout(c),p&&clearTimeout(p)};return n&&t.watch(()=>n,()=>{setTimeout(()=>{E()},200)},{deep:!0}),t.onMounted(()=>{E(),k()}),t.onUnmounted(()=>{w()}),{tableHeight:l,calTableHeight:E}},Yr=Ce(t.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:xr,setup(e){const n=e,r=t.useTemplateRef("PageContainerRef"),{calTableHeight:o,tableHeight:l}=Hr({offsetBottom:n.offsetBottom||20,minHeight:n.minHeight||300}),a=t.computed(()=>l.value);return t.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:r,tableHeight:l,calTableHeight:o}),(s,u)=>(t.openBlock(),t.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:r},[t.renderSlot(s.$slots,"header"),t.createElementVNode("section",{class:"list-page-box",style:t.normalizeStyle({"--hb-list-table-height":a.value-20+"px","--hb-list-ttable-height":s.tabelData.length?"":a.value-20+"px"})},[t.renderSlot(s.$slots,"default")],4)],512))}})),Wr={style:{"font-weight":"500"}},Gr={key:0,class:"hb-lib-search-tag__description"},Kr={class:"hb-lib-selector-dropdown"},jr={class:"hb-lib-selector-search"},Xr={class:"hb-lib-selector-list"},qr=["onClick"],Jr={class:"hb-lib-option-content"},zr={class:"hb-lib-option-label"},Qr={key:0,class:"hb-lib-selector-empty"},Zr={key:1,class:"hb-lib-selector-footer"},eo={class:"hb-lib-footer-buttons"},to={key:2,class:"hb-lib-selector-footer"},no={class:"hb-lib-footer-buttons"},Pt=Re(t.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:t.mergeModels({title:{default:"请选择"},placeholder:{default:"点击选择"},searchPlaceholder:{default:"搜索选项"},width:{default:600},options:{default:()=>[]},multiple:{type:Boolean,default:!0},prefix:{default:""},value:{},remoteSearch:{type:Boolean,default:!1},searchValue:{default:""},maxTagCount:{default:2},tagTextLength:{default:30}},{value:{},valueModifiers:{}}),emits:t.mergeModels(["update:value","update:searchValue","change","confirm","cancel","search"],["update:value"]),setup(e,{emit:n}){const r=e,o=n,l=t.useModel(e,"value"),a=t.ref(!1),s=t.ref(""),u=t.ref([]),c=t.ref(),p=t.computed(()=>{if(r.remoteSearch||!s.value)return r.options;const _=s.value.toLowerCase();return r.options.filter(h=>h.label.toLowerCase().includes(_)||h.description?.toLowerCase().includes(_))}),E=t.computed(()=>r.prefix?`${r.prefix.length*14+8}px`:"0px"),T=t.computed(()=>p.value.length===0?!1:p.value.every(_=>u.value.includes(_.value))),N=t.computed(()=>{if(p.value.length===0)return!1;const _=p.value.filter(h=>u.value.includes(h.value)).length;return _>0&&_<p.value.length});t.watch(()=>l.value,_=>{_?u.value=Array.isArray(_)?[..._]:[_]:u.value=[]},{immediate:!0}),t.watch(()=>r.searchValue,_=>{r.remoteSearch&&_!==void 0&&(s.value=_)},{immediate:!0});const O=_=>{_&&(a.value=_,S.value=[...u.value],s.value="",setTimeout(()=>{if(c.value){const h=c.value.input||c.value.$el?.querySelector("input");h&&h.focus()}},100))},S=t.ref([]),k=()=>{u.value=[...S.value],a.value=!1,o("cancel")},w=t.ref([]),D=()=>{const _=r.multiple?u.value:u.value[0]||"",h=r.options.filter(b=>u.value.includes(b.value));w.value=h,console.log(_,h),S.value=[...u.value],l.value=_,o("update:value",_),o("change",_,h),o("confirm",_,h),a.value=!1},P=Qt.useDebounceFn(_=>{const h=_!==void 0?_:s.value;r.remoteSearch&&(o("search",h),o("update:searchValue",h))},300),m=_=>{if(r.multiple){const h=new Set(u.value);h.has(_.value)?h.delete(_.value):h.add(_.value),u.value=Array.from(h)}else u.value=[_.value],D()},d=_=>{if(_.target.checked){const b=new Set(u.value);p.value.forEach(y=>{b.add(y.value)}),u.value=Array.from(b)}else{const b=new Set(p.value.map(y=>y.value));u.value=u.value.filter(y=>!b.has(y))}};return(_,h)=>{const b=t.resolveComponent("a-tag"),y=t.resolveComponent("a-input"),g=t.resolveComponent("a-checkbox"),v=t.resolveComponent("a-radio"),U=t.resolveComponent("a-button"),B=t.resolveComponent("a-select");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":E.value}},_.$attrs),[t.createVNode(B,{value:l.value,"onUpdate:value":h[5]||(h[5]=H=>l.value=H),mode:e.multiple?"multiple":void 0,placeholder:e.placeholder,"show-search":!0,"filter-option":!1,open:a.value,allowClear:"",maxTagCount:e.maxTagCount,options:p.value,onDropdownVisibleChange:O,onSearch:t.unref(P),"max-tag-text-length":e.tagTextLength,class:t.normalizeClass({"has-prefix":e.prefix}),"data-prefix":e.prefix,style:{width:"100%"}},{tagRender:t.withCtx(({value:H,label:q,closable:ce,option:re})=>[t.createVNode(b,{class:"hb-lib-search-tag",onClick:h[0]||(h[0]=()=>O(!0))},{default:t.withCtx(()=>[t.createElementVNode("span",Wr,t.toDisplayString(q),1),re?.description?(t.openBlock(),t.createElementBlock("span",Gr," ("+t.toDisplayString(re.description)+") ",1)):t.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:t.withCtx(({menuNode:H})=>[t.createElementVNode("div",Kr,[t.createElementVNode("div",jr,[t.createVNode(y,{ref_key:"searchInputRef",ref:c,class:"hb-lib-selector-search-input",value:s.value,"onUpdate:value":h[1]||(h[1]=q=>s.value=q),placeholder:"请输入关键词搜索","allow-clear":"",onInput:h[2]||(h[2]=q=>t.unref(P)(q.target.value))},{prefix:t.withCtx(()=>[t.createVNode(t.unref(Ne.SearchOutlined))]),_:1},8,["value"])]),t.createElementVNode("div",Xr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(p.value,q=>(t.openBlock(),t.createElementBlock("div",{key:q.value,class:t.normalizeClass(["hb-lib-selector-option",{selected:u.value.includes(q.value)}]),onClick:()=>m(q)},[e.multiple?(t.openBlock(),t.createBlock(g,{key:0,checked:u.value.includes(q.value),onChange:()=>m(q),onClick:h[3]||(h[3]=t.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(t.openBlock(),t.createBlock(v,{key:1,checked:u.value.includes(q.value),onChange:()=>m(q),onClick:h[4]||(h[4]=t.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),t.createElementVNode("div",Jr,[t.createElementVNode("div",zr,t.toDisplayString(q.label),1)])],10,qr))),128))]),p.value.length===0?(t.openBlock(),t.createElementBlock("div",Qr,t.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):t.createCommentVNode("",!0),e.multiple?(t.openBlock(),t.createElementBlock("div",Zr,[t.createVNode(g,{checked:T.value,indeterminate:N.value,onChange:d},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(_.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),t.createElementVNode("div",eo,[t.createVNode(U,{size:"small",onClick:k},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),t.createVNode(U,{type:"primary",size:"small",onClick:D},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(t.openBlock(),t.createElementBlock("div",to,[h[6]||(h[6]=t.createElementVNode("div",null,null,-1)),t.createElementVNode("div",no,[t.createVNode(U,{size:"small",onClick:k},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(_.$t("hbLibComp.hbFormSelectFilter.close")),1)]),_:1})])]))])]),_:1},8,["value","mode","placeholder","open","maxTagCount","options","onSearch","max-tag-text-length","class","data-prefix"])],16)}}}),[["__scopeId","data-v-2307d348"]]);Pt.install=function(e){return e.component("HbFormSelectFilter",Pt),e};const ro={modelTitle:{type:String,default:"搜索弹窗"},modalWidth:{type:Number,default:800},tableHeight:{type:Number,default:500},tableColumn:{type:Array,default:()=>[],required:!0},tableData:{type:Array,default:()=>[]},tableKey:{type:String,default:"id"},labelKey:{type:String,default:"label"}},oo={class:"hb-lib-form-item-filter-modal-search"},ao={class:"hb-lib-form-item-filter-modal-buttons"},lo={key:0},so=Ce(t.defineComponent({name:"HbLibMutilpleSelectModal",__name:"HbMutilpleSelectModal",props:ro,emits:["handleConfirm","handleCancel"],setup(e,{expose:n,emit:r}){const o=e,l=r,a=t.ref(!1),s=t.ref(""),u=t.ref(),c=t.ref(),p=t.ref([]),E=t.ref([]),T=t.ref(),N=t.reactive({searchText:"",searchedColumn:""}),O=t.computed(()=>o.tableData.map(b=>(b.id=b.id||Math.random(),b))),S=t.computed(()=>o.tableColumn.map(b=>(b.customFilterDropdown&&(b.onFilter=(y,g)=>g[b.dataIndex].toString().toLowerCase().includes(y.toLowerCase()),b.onFilterDropdownVisibleChange=y=>{y&&setTimeout(()=>{u.value?.focus()},100)}),{...b}))),k=()=>{let b="";E.value.forEach(y=>{b=b+y[o.labelKey]+","}),s.value=b.substring(0,b.length-1),a.value=!1,l("handleConfirm",E.value)},w=()=>{a.value=!1},D=()=>{a.value=!0,t.nextTick(()=>{const b=T.value?.$el?.querySelector(".ant-table-body");b&&(b.scrollTop=0)})},P=()=>{p.value=[],E.value=[]},m=()=>{s.value="",P()},d=(b,y,g)=>{y(),N.searchText=b[0],N.searchedColumn=g},_=(b,y)=>{b({confirm:!0}),N.searchText="",y()},h=(b,y)=>{p.value=b,E.value=y};return n({resetInputVal:m}),(b,y)=>{const g=t.resolveComponent("a-input"),v=t.resolveComponent("a-button"),U=t.resolveComponent("a-table"),B=t.resolveComponent("a-modal");return t.openBlock(),t.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:c},[t.createVNode(g,{readonly:"",onClick:D,value:s.value,"onUpdate:value":y[0]||(y[0]=H=>s.value=H),placeholder:b.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:t.withCtx(()=>[t.createVNode(t.unref(Ne.UnorderedListOutlined),{onClick:D})]),_:1},8,["value","placeholder"]),t.createVNode(B,{visible:a.value,"onUpdate:visible":y[1]||(y[1]=H=>a.value=H),title:b.modelTitle,width:b.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:t.withCtx(()=>[t.createVNode(v,{onClick:P},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.createVNode(v,{onClick:w},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),t.createVNode(v,{type:"primary",onClick:k},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:t.withCtx(()=>[t.createVNode(U,{ref_key:"tableRef",ref:T,columns:S.value,dataSource:O.value,rowSelection:{selectedRowKeys:p.value,onChange:h},rowKey:H=>H[b.tableKey],scroll:{y:b.tableHeight}},{customFilterDropdown:t.withCtx(({setSelectedKeys:H,selectedKeys:q,confirm:ce,clearFilters:re,column:Se})=>[t.createElementVNode("div",oo,[t.createVNode(g,{ref_key:"searchInput",ref:u,placeholder:`请输入${Se.title}`,value:q[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:be=>H(be.target.value?[be.target.value]:[]),onPressEnter:be=>d(q,ce,Se.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),t.createElementVNode("section",ao,[t.createVNode(v,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:be=>_(re,ce)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),t.createVNode(v,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:be=>d(q,ce,Se.dataIndex)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:t.withCtx(({filtered:H})=>[t.createVNode(t.unref(Ne.SearchOutlined),{style:t.normalizeStyle({color:H?"#108ee9":void 0})},null,8,["style"])]),bodyCell:t.withCtx(({text:H,column:q})=>[N.searchText&&N.searchedColumn===q.dataIndex?(t.openBlock(),t.createElementBlock("span",lo,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(H.toString().split(new RegExp(`(?<=${N.searchText})|(?=${N.searchText})`,"i")),(ce,re)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[ce.toLowerCase()===N.searchText.toLowerCase()?(t.openBlock(),t.createElementBlock("mark",{key:re,class:"highlight"},t.toDisplayString(ce),1)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(ce),1)],64))],64))),256))])):t.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}}));/*!
1
+ (function(ue,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("vue"),require("vuedraggable"),require("@ant-design/icons-vue"),require("ant-design-vue"),require("vue-router"),require("lodash"),require("@vueuse/core"),require("dayjs")):typeof define=="function"&&define.amd?define(["exports","vue","vuedraggable","@ant-design/icons-vue","ant-design-vue","vue-router","lodash","@vueuse/core","dayjs"],t):(ue=typeof globalThis<"u"?globalThis:ue||self,t(ue.HbComponentLib={},ue.Vue,ue.draggable,ue.iconsVue,ue.antDesignVue,ue.vueRouter,ue.lodash,ue.core,ue.dayjs))})(this,(function(ue,t,Zt,ke,V,en,At,tn,wt){"use strict";const Ta={list:{type:Array,default:()=>[],required:!0},afterChange:{type:Function,default:()=>{}},title:{type:String,default:"自定义查询条件"},showNumber:{type:Number,default:40}},ka="hb-",_t=(e="")=>{const n=`${ka}${e}`;return Sa(n)},He=(e,n,a,l)=>(n&&(e+=`-${n}`),a&&(e+=`__${a}`),l&&(e+=`--${l}`),e),Sa=e=>({b:n=>n?He(e,n,"",""):He(e,"","",""),e:n=>n?He(e,"",n,""):"",m:n=>He(e,"","",n),be:(n,a)=>He(e,n,a,""),em:(n,a)=>He(e,"",n,a),bem:(n,a,l)=>He(e,n,a,l),is:(n,a)=>a?`is-${n}`:""});/*!
2
2
  * shared v9.14.5
3
3
  * (c) 2025 kazuya kawaguchi
4
4
  * Released under the MIT License.
5
- */function Ee(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const Zt={};function en(e){Zt[e]||(Zt[e]=!0,Ee(e))}const Te=typeof window<"u";let fe,Fe;if(process.env.NODE_ENV!=="production"){const e=Te&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(fe=n=>{e.mark(n)},Fe=(n,r,o)=>{e.measure(n,r,o),e.clearMarks(r),e.clearMarks(o)})}const io=/\{([0-9a-zA-Z]+)\}/g;function Dt(e,...n){return n.length===1&&x(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(io,(r,o)=>n.hasOwnProperty(o)?n[o]:"")}const Le=(e,n=!1)=>n?Symbol.for(e):Symbol(e),co=(e,n,r)=>uo({l:e,k:n,s:r}),uo=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),te=e=>typeof e=="number"&&isFinite(e),fo=e=>an(e)==="[object Date]",xe=e=>an(e)==="[object RegExp]",pt=e=>$(e)&&Object.keys(e).length===0,oe=Object.assign,mo=Object.create,K=(e=null)=>mo(e);let tn;const ye=()=>tn||(tn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:K());function nn(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function rn(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function po(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(o,l,a)=>`${l}="${rn(a)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(o,l,a)=>`${l}='${rn(a)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(process.env.NODE_ENV!=="production"&&Ee("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(o=>{e=e.replace(o,"$1javascript&#58;")}),e}const _o=Object.prototype.hasOwnProperty;function pe(e,n){return _o.call(e,n)}const ee=Array.isArray,J=e=>typeof e=="function",M=e=>typeof e=="string",j=e=>typeof e=="boolean",x=e=>e!==null&&typeof e=="object",ho=e=>x(e)&&J(e.then)&&J(e.catch),on=Object.prototype.toString,an=e=>on.call(e),$=e=>{if(!x(e))return!1;const n=Object.getPrototypeOf(e);return n===null||n.constructor===Object},bo=e=>e==null?"":ee(e)||$(e)&&e.toString===on?JSON.stringify(e,null,2):String(e);function Eo(e,n=""){return e.reduce((r,o,l)=>l===0?r+o:r+n+o,"")}const ln=2;function go(e,n=0,r=e.length){const o=e.split(/\r?\n/);let l=0;const a=[];for(let s=0;s<o.length;s++)if(l+=o[s].length+1,l>=n){for(let u=s-ln;u<=s+ln||r>l;u++){if(u<0||u>=o.length)continue;const c=u+1;a.push(`${c}${" ".repeat(3-String(c).length)}| ${o[u]}`);const p=o[u].length;if(u===s){const E=n-(l-p)+1,T=Math.max(1,r>l?p-E:r-n);a.push(" | "+" ".repeat(E)+"^".repeat(T))}else if(u>s){if(r>l){const E=Math.max(Math.min(r-l,p),1);a.push(" | "+"^".repeat(E))}l+=p+1}}break}return a.join(`
6
- `)}function _t(e){let n=e;return()=>++n}function No(){const e=new Map;return{events:e,on(r,o){const l=e.get(r);l&&l.push(o)||e.set(r,[o])},off(r,o){const l=e.get(r);l&&l.splice(l.indexOf(o)>>>0,1)},emit(r,o){(e.get(r)||[]).slice().map(l=>l(o)),(e.get("*")||[]).slice().map(l=>l(r,o))}}}const ht=e=>!x(e)||ee(e);function bt(e,n){if(ht(e)||ht(n))throw new Error("Invalid value");const r=[{src:e,des:n}];for(;r.length;){const{src:o,des:l}=r.pop();Object.keys(o).forEach(a=>{a!=="__proto__"&&(x(o[a])&&!x(l[a])&&(l[a]=Array.isArray(o[a])?[]:K()),ht(l[a])||ht(o[a])?l[a]=o[a]:r.push({src:o[a],des:l[a]}))})}}/*!
5
+ */function Se(e,n){typeof console<"u"&&(console.warn("[intlify] "+e),n&&console.warn(n.stack))}const nn={};function an(e){nn[e]||(nn[e]=!0,Se(e))}const Fe=typeof window<"u";let ge,Ye;if(process.env.NODE_ENV!=="production"){const e=Fe&&window.performance;e&&e.mark&&e.measure&&e.clearMarks&&e.clearMeasures&&(ge=n=>{e.mark(n)},Ye=(n,a,l)=>{e.measure(n,a,l),e.clearMarks(a),e.clearMarks(l)})}const Oa=/\{([0-9a-zA-Z]+)\}/g;function Ft(e,...n){return n.length===1&&j(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(Oa,(a,l)=>n.hasOwnProperty(l)?n[l]:"")}const Pe=(e,n=!1)=>n?Symbol.for(e):Symbol(e),Ia=(e,n,a)=>Aa({l:e,k:n,s:a}),Aa=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),ie=e=>typeof e=="number"&&isFinite(e),wa=e=>cn(e)==="[object Date]",ze=e=>cn(e)==="[object RegExp]",ht=e=>G(e)&&Object.keys(e).length===0,de=Object.assign,Fa=Object.create,Q=(e=null)=>Fa(e);let ln;const Me=()=>ln||(ln=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:Q());function on(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/\//g,"&#x2F;").replace(/=/g,"&#x3D;")}function rn(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&apos;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function Pa(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(l,r,o)=>`${r}="${rn(o)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(l,r,o)=>`${r}='${rn(o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(process.env.NODE_ENV!=="production"&&Se("Potentially dangerous event handlers detected in translation. Consider removing onclick, onerror, etc. from your translation messages."),e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1&#111;n$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(l=>{e=e.replace(l,"$1javascript&#58;")}),e}const Ma=Object.prototype.hasOwnProperty;function Ce(e,n){return Ma.call(e,n)}const se=Array.isArray,ne=e=>typeof e=="function",M=e=>typeof e=="string",ee=e=>typeof e=="boolean",j=e=>e!==null&&typeof e=="object",Da=e=>j(e)&&ne(e.then)&&ne(e.catch),sn=Object.prototype.toString,cn=e=>sn.call(e),G=e=>{if(!j(e))return!1;const n=Object.getPrototypeOf(e);return n===null||n.constructor===Object},Ra=e=>e==null?"":se(e)||G(e)&&e.toString===sn?JSON.stringify(e,null,2):String(e);function xa(e,n=""){return e.reduce((a,l,r)=>r===0?a+l:a+n+l,"")}const dn=2;function Va(e,n=0,a=e.length){const l=e.split(/\r?\n/);let r=0;const o=[];for(let s=0;s<l.length;s++)if(r+=l[s].length+1,r>=n){for(let c=s-dn;c<=s+dn||a>r;c++){if(c<0||c>=l.length)continue;const i=c+1;o.push(`${i}${" ".repeat(3-String(i).length)}| ${l[c]}`);const m=l[c].length;if(c===s){const C=n-(r-m)+1,y=Math.max(1,a>r?m-C:a-n);o.push(" | "+" ".repeat(C)+"^".repeat(y))}else if(c>s){if(a>r){const C=Math.max(Math.min(a-r,m),1);o.push(" | "+"^".repeat(C))}r+=m+1}}break}return o.join(`
6
+ `)}function bt(e){let n=e;return()=>++n}function Ba(){const e=new Map;return{events:e,on(a,l){const r=e.get(a);r&&r.push(l)||e.set(a,[l])},off(a,l){const r=e.get(a);r&&r.splice(r.indexOf(l)>>>0,1)},emit(a,l){(e.get(a)||[]).slice().map(r=>r(l)),(e.get("*")||[]).slice().map(r=>r(a,l))}}}const gt=e=>!j(e)||se(e);function Et(e,n){if(gt(e)||gt(n))throw new Error("Invalid value");const a=[{src:e,des:n}];for(;a.length;){const{src:l,des:r}=a.pop();Object.keys(l).forEach(o=>{o!=="__proto__"&&(j(l[o])&&!j(r[o])&&(r[o]=Array.isArray(l[o])?[]:Q()),gt(r[o])||gt(l[o])?r[o]=l[o]:a.push({src:l[o],des:r[o]}))})}}/*!
7
7
  * message-compiler v9.14.5
8
8
  * (c) 2025 kazuya kawaguchi
9
9
  * Released under the MIT License.
10
- */function Co(e,n,r){return{line:e,column:n,offset:r}}function Et(e,n,r){return{start:e,end:n}}const To=/\{([0-9a-zA-Z]+)\}/g;function sn(e,...n){return n.length===1&&Lo(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(To,(r,o)=>n.hasOwnProperty(o)?n[o]:"")}const cn=Object.assign,un=e=>typeof e=="string",Lo=e=>e!==null&&typeof e=="object";function fn(e,n=""){return e.reduce((r,o,l)=>l===0?r+o:r+n+o,"")}const gt={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},yo={[gt.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function ko(e,n,...r){const o=sn(yo[e],...r||[]),l={message:String(o),code:e};return n&&(l.location=n),l}const F={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Oo={[F.EXPECTED_TOKEN]:"Expected token: '{0}'",[F.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[F.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[F.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[F.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[F.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[F.EMPTY_PLACEHOLDER]:"Empty placeholder",[F.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[F.INVALID_LINKED_FORMAT]:"Invalid linked format",[F.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[F.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[F.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[F.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[F.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[F.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function He(e,n,r={}){const{domain:o,messages:l,args:a}=r,s=sn((l||Oo)[e]||"",...a||[]),u=new SyntaxError(String(s));return u.code=e,n&&(u.location=n),u.domain=o,u}function So(e){throw e}const Io=/<\/?[\w\s="/.':;#-\/]+>/,Ao=e=>Io.test(e),ke=" ",Po="\r",ae=`
11
- `,Do="\u2028",wo="\u2029";function Mo(e){const n=e;let r=0,o=1,l=1,a=0;const s=b=>n[b]===Po&&n[b+1]===ae,u=b=>n[b]===ae,c=b=>n[b]===wo,p=b=>n[b]===Do,E=b=>s(b)||u(b)||c(b)||p(b),T=()=>r,N=()=>o,O=()=>l,S=()=>a,k=b=>s(b)||c(b)||p(b)?ae:n[b],w=()=>k(r),D=()=>k(r+a);function P(){return a=0,E(r)&&(o++,l=0),s(r)&&r++,r++,l++,n[r]}function m(){return s(r+a)&&a++,a++,n[r+a]}function d(){r=0,o=1,l=1,a=0}function _(b=0){a=b}function h(){const b=r+a;for(;b!==r;)P();a=0}return{index:T,line:N,column:O,peekOffset:S,charAt:k,currentChar:w,currentPeek:D,next:P,peek:m,reset:d,resetPeek:_,skipToPeek:h}}const Ie=void 0,Ro=".",dn="'",Fo="tokenizer";function Bo(e,n={}){const r=n.location!==!1,o=Mo(e),l=()=>o.index(),a=()=>Co(o.line(),o.column(),o.index()),s=a(),u=l(),c={currentType:14,offset:u,startLoc:s,endLoc:s,lastType:14,lastOffset:u,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},p=()=>c,{onError:E}=n;function T(i,f,L,...R){const z=p();if(f.column+=L,f.offset+=L,E){const X=r?Et(z.startLoc,f):null,G=He(i,X,{domain:Fo,args:R});E(G)}}function N(i,f,L){i.endLoc=a(),i.currentType=f;const R={type:f};return r&&(R.loc=Et(i.startLoc,i.endLoc)),L!=null&&(R.value=L),R}const O=i=>N(i,14);function S(i,f){return i.currentChar()===f?(i.next(),f):(T(F.EXPECTED_TOKEN,a(),0,f),"")}function k(i){let f="";for(;i.currentPeek()===ke||i.currentPeek()===ae;)f+=i.currentPeek(),i.peek();return f}function w(i){const f=k(i);return i.skipToPeek(),f}function D(i){if(i===Ie)return!1;const f=i.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function P(i){if(i===Ie)return!1;const f=i.charCodeAt(0);return f>=48&&f<=57}function m(i,f){const{currentType:L}=f;if(L!==2)return!1;k(i);const R=D(i.currentPeek());return i.resetPeek(),R}function d(i,f){const{currentType:L}=f;if(L!==2)return!1;k(i);const R=i.currentPeek()==="-"?i.peek():i.currentPeek(),z=P(R);return i.resetPeek(),z}function _(i,f){const{currentType:L}=f;if(L!==2)return!1;k(i);const R=i.currentPeek()===dn;return i.resetPeek(),R}function h(i,f){const{currentType:L}=f;if(L!==8)return!1;k(i);const R=i.currentPeek()===".";return i.resetPeek(),R}function b(i,f){const{currentType:L}=f;if(L!==9)return!1;k(i);const R=D(i.currentPeek());return i.resetPeek(),R}function y(i,f){const{currentType:L}=f;if(!(L===8||L===12))return!1;k(i);const R=i.currentPeek()===":";return i.resetPeek(),R}function g(i,f){const{currentType:L}=f;if(L!==10)return!1;const R=()=>{const X=i.currentPeek();return X==="{"?D(i.peek()):X==="@"||X==="%"||X==="|"||X===":"||X==="."||X===ke||!X?!1:X===ae?(i.peek(),R()):B(i,!1)},z=R();return i.resetPeek(),z}function v(i){k(i);const f=i.currentPeek()==="|";return i.resetPeek(),f}function U(i){const f=k(i),L=i.currentPeek()==="%"&&i.peek()==="{";return i.resetPeek(),{isModulo:L,hasSpace:f.length>0}}function B(i,f=!0){const L=(z=!1,X="",G=!1)=>{const C=i.currentPeek();return C==="{"?X==="%"?!1:z:C==="@"||!C?X==="%"?!0:z:C==="%"?(i.peek(),L(z,"%",!0)):C==="|"?X==="%"||G?!0:!(X===ke||X===ae):C===ke?(i.peek(),L(!0,ke,G)):C===ae?(i.peek(),L(!0,ae,G)):!0},R=L();return f&&i.resetPeek(),R}function H(i,f){const L=i.currentChar();return L===Ie?Ie:f(L)?(i.next(),L):null}function q(i){const f=i.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36}function ce(i){return H(i,q)}function re(i){const f=i.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36||f===45}function Se(i){return H(i,re)}function be(i){const f=i.charCodeAt(0);return f>=48&&f<=57}function nt(i){return H(i,be)}function rt(i){const f=i.charCodeAt(0);return f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102}function ot(i){return H(i,rt)}function me(i){let f="",L="";for(;f=nt(i);)L+=f;return L}function Ke(i){w(i);const f=i.currentChar();return f!=="%"&&T(F.EXPECTED_TOKEN,a(),0,f),i.next(),"%"}function je(i){let f="";for(;;){const L=i.currentChar();if(L==="{"||L==="}"||L==="@"||L==="|"||!L)break;if(L==="%")if(B(i))f+=L,i.next();else break;else if(L===ke||L===ae)if(B(i))f+=L,i.next();else{if(v(i))break;f+=L,i.next()}else f+=L,i.next()}return f}function at(i){w(i);let f="",L="";for(;f=Se(i);)L+=f;return i.currentChar()===Ie&&T(F.UNTERMINATED_CLOSING_BRACE,a(),0),L}function lt(i){w(i);let f="";return i.currentChar()==="-"?(i.next(),f+=`-${me(i)}`):f+=me(i),i.currentChar()===Ie&&T(F.UNTERMINATED_CLOSING_BRACE,a(),0),f}function st(i){return i!==dn&&i!==ae}function Ot(i){w(i),S(i,"'");let f="",L="";for(;f=H(i,st);)f==="\\"?L+=it(i):L+=f;const R=i.currentChar();return R===ae||R===Ie?(T(F.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),R===ae&&(i.next(),S(i,"'")),L):(S(i,"'"),L)}function it(i){const f=i.currentChar();switch(f){case"\\":case"'":return i.next(),`\\${f}`;case"u":return Xe(i,f,4);case"U":return Xe(i,f,6);default:return T(F.UNKNOWN_ESCAPE_SEQUENCE,a(),0,f),""}}function Xe(i,f,L){S(i,f);let R="";for(let z=0;z<L;z++){const X=ot(i);if(!X){T(F.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${f}${R}${i.currentChar()}`);break}R+=X}return`\\${f}${R}`}function ct(i){return i!=="{"&&i!=="}"&&i!==ke&&i!==ae}function ut(i){w(i);let f="",L="";for(;f=H(i,ct);)L+=f;return L}function ft(i){let f="",L="";for(;f=ce(i);)L+=f;return L}function A(i){const f=L=>{const R=i.currentChar();return R==="{"||R==="%"||R==="@"||R==="|"||R==="("||R===")"||!R||R===ke?L:(L+=R,i.next(),f(L))};return f("")}function Y(i){w(i);const f=S(i,"|");return w(i),f}function dt(i,f){let L=null;switch(i.currentChar()){case"{":return f.braceNest>=1&&T(F.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),i.next(),L=N(f,2,"{"),w(i),f.braceNest++,L;case"}":return f.braceNest>0&&f.currentType===2&&T(F.EMPTY_PLACEHOLDER,a(),0),i.next(),L=N(f,3,"}"),f.braceNest--,f.braceNest>0&&w(i),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),L;case"@":return f.braceNest>0&&T(F.UNTERMINATED_CLOSING_BRACE,a(),0),L=$e(i,f)||O(f),f.braceNest=0,L;default:{let z=!0,X=!0,G=!0;if(v(i))return f.braceNest>0&&T(F.UNTERMINATED_CLOSING_BRACE,a(),0),L=N(f,1,Y(i)),f.braceNest=0,f.inLinked=!1,L;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return T(F.UNTERMINATED_CLOSING_BRACE,a(),0),f.braceNest=0,mt(i,f);if(z=m(i,f))return L=N(f,5,at(i)),w(i),L;if(X=d(i,f))return L=N(f,6,lt(i)),w(i),L;if(G=_(i,f))return L=N(f,7,Ot(i)),w(i),L;if(!z&&!X&&!G)return L=N(f,13,ut(i)),T(F.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,L.value),w(i),L;break}}return L}function $e(i,f){const{currentType:L}=f;let R=null;const z=i.currentChar();switch((L===8||L===9||L===12||L===10)&&(z===ae||z===ke)&&T(F.INVALID_LINKED_FORMAT,a(),0),z){case"@":return i.next(),R=N(f,8,"@"),f.inLinked=!0,R;case".":return w(i),i.next(),N(f,9,".");case":":return w(i),i.next(),N(f,10,":");default:return v(i)?(R=N(f,1,Y(i)),f.braceNest=0,f.inLinked=!1,R):h(i,f)||y(i,f)?(w(i),$e(i,f)):b(i,f)?(w(i),N(f,12,ft(i))):g(i,f)?(w(i),z==="{"?dt(i,f)||R:N(f,11,A(i))):(L===8&&T(F.INVALID_LINKED_FORMAT,a(),0),f.braceNest=0,f.inLinked=!1,mt(i,f))}}function mt(i,f){let L={type:14};if(f.braceNest>0)return dt(i,f)||O(f);if(f.inLinked)return $e(i,f)||O(f);switch(i.currentChar()){case"{":return dt(i,f)||O(f);case"}":return T(F.UNBALANCED_CLOSING_BRACE,a(),0),i.next(),N(f,3,"}");case"@":return $e(i,f)||O(f);default:{if(v(i))return L=N(f,1,Y(i)),f.braceNest=0,f.inLinked=!1,L;const{isModulo:z,hasSpace:X}=U(i);if(z)return X?N(f,0,je(i)):N(f,4,Ke(i));if(B(i))return N(f,0,je(i));break}}return L}function zt(){const{currentType:i,offset:f,startLoc:L,endLoc:R}=c;return c.lastType=i,c.lastOffset=f,c.lastStartLoc=L,c.lastEndLoc=R,c.offset=l(),c.startLoc=a(),o.currentChar()===Ie?N(c,14):mt(o,c)}return{nextToken:zt,currentOffset:l,currentPosition:a,context:p}}const Vo="parser",Uo=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function $o(e,n,r){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const o=parseInt(n||r,16);return o<=55295||o>=57344?String.fromCodePoint(o):"�"}}}function vo(e={}){const n=e.location!==!1,{onError:r,onWarn:o}=e;function l(m,d,_,h,...b){const y=m.currentPosition();if(y.offset+=h,y.column+=h,r){const g=n?Et(_,y):null,v=He(d,g,{domain:Vo,args:b});r(v)}}function a(m,d,_,h,...b){const y=m.currentPosition();if(y.offset+=h,y.column+=h,o){const g=n?Et(_,y):null;o(ko(d,g,b))}}function s(m,d,_){const h={type:m};return n&&(h.start=d,h.end=d,h.loc={start:_,end:_}),h}function u(m,d,_,h){n&&(m.end=d,m.loc&&(m.loc.end=_))}function c(m,d){const _=m.context(),h=s(3,_.offset,_.startLoc);return h.value=d,u(h,m.currentOffset(),m.currentPosition()),h}function p(m,d){const _=m.context(),{lastOffset:h,lastStartLoc:b}=_,y=s(5,h,b);return y.index=parseInt(d,10),m.nextToken(),u(y,m.currentOffset(),m.currentPosition()),y}function E(m,d,_){const h=m.context(),{lastOffset:b,lastStartLoc:y}=h,g=s(4,b,y);return g.key=d,_===!0&&(g.modulo=!0),m.nextToken(),u(g,m.currentOffset(),m.currentPosition()),g}function T(m,d){const _=m.context(),{lastOffset:h,lastStartLoc:b}=_,y=s(9,h,b);return y.value=d.replace(Uo,$o),m.nextToken(),u(y,m.currentOffset(),m.currentPosition()),y}function N(m){const d=m.nextToken(),_=m.context(),{lastOffset:h,lastStartLoc:b}=_,y=s(8,h,b);return d.type!==12?(l(m,F.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),y.value="",u(y,h,b),{nextConsumeToken:d,node:y}):(d.value==null&&l(m,F.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,_e(d)),y.value=d.value||"",u(y,m.currentOffset(),m.currentPosition()),{node:y})}function O(m,d){const _=m.context(),h=s(7,_.offset,_.startLoc);return h.value=d,u(h,m.currentOffset(),m.currentPosition()),h}function S(m){const d=m.context(),_=s(6,d.offset,d.startLoc);let h=m.nextToken();if(h.type===9){const b=N(m);_.modifier=b.node,h=b.nextConsumeToken||m.nextToken()}switch(h.type!==10&&l(m,F.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,_e(h)),h=m.nextToken(),h.type===2&&(h=m.nextToken()),h.type){case 11:h.value==null&&l(m,F.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,_e(h)),_.key=O(m,h.value||"");break;case 5:h.value==null&&l(m,F.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,_e(h)),_.key=E(m,h.value||"");break;case 6:h.value==null&&l(m,F.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,_e(h)),_.key=p(m,h.value||"");break;case 7:h.value==null&&l(m,F.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,_e(h)),_.key=T(m,h.value||"");break;default:{l(m,F.UNEXPECTED_EMPTY_LINKED_KEY,d.lastStartLoc,0);const b=m.context(),y=s(7,b.offset,b.startLoc);return y.value="",u(y,b.offset,b.startLoc),_.key=y,u(_,b.offset,b.startLoc),{nextConsumeToken:h,node:_}}}return u(_,m.currentOffset(),m.currentPosition()),{node:_}}function k(m){const d=m.context(),_=d.currentType===1?m.currentOffset():d.offset,h=d.currentType===1?d.endLoc:d.startLoc,b=s(2,_,h);b.items=[];let y=null,g=null;do{const B=y||m.nextToken();switch(y=null,B.type){case 0:B.value==null&&l(m,F.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,_e(B)),b.items.push(c(m,B.value||""));break;case 6:B.value==null&&l(m,F.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,_e(B)),b.items.push(p(m,B.value||""));break;case 4:g=!0;break;case 5:B.value==null&&l(m,F.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,_e(B)),b.items.push(E(m,B.value||"",!!g)),g&&(a(m,gt.USE_MODULO_SYNTAX,d.lastStartLoc,0,_e(B)),g=null);break;case 7:B.value==null&&l(m,F.UNEXPECTED_LEXICAL_ANALYSIS,d.lastStartLoc,0,_e(B)),b.items.push(T(m,B.value||""));break;case 8:{const H=S(m);b.items.push(H.node),y=H.nextConsumeToken||null;break}}}while(d.currentType!==14&&d.currentType!==1);const v=d.currentType===1?d.lastOffset:m.currentOffset(),U=d.currentType===1?d.lastEndLoc:m.currentPosition();return u(b,v,U),b}function w(m,d,_,h){const b=m.context();let y=h.items.length===0;const g=s(1,d,_);g.cases=[],g.cases.push(h);do{const v=k(m);y||(y=v.items.length===0),g.cases.push(v)}while(b.currentType!==14);return y&&l(m,F.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),u(g,m.currentOffset(),m.currentPosition()),g}function D(m){const d=m.context(),{offset:_,startLoc:h}=d,b=k(m);return d.currentType===14?b:w(m,_,h,b)}function P(m){const d=Bo(m,cn({},e)),_=d.context(),h=s(0,_.offset,_.startLoc);return n&&h.loc&&(h.loc.source=m),h.body=D(d),e.onCacheKey&&(h.cacheKey=e.onCacheKey(m)),_.currentType!==14&&l(d,F.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,m[_.offset]||""),u(h,d.currentOffset(),d.currentPosition()),h}return{parse:P}}function _e(e){if(e.type===14)return"EOF";const n=(e.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function xo(e,n={}){const r={ast:e,helpers:new Set};return{context:()=>r,helper:a=>(r.helpers.add(a),a)}}function mn(e,n){for(let r=0;r<e.length;r++)wt(e[r],n)}function wt(e,n){switch(e.type){case 1:mn(e.cases,n),n.helper("plural");break;case 2:mn(e.items,n);break;case 6:{wt(e.key,n),n.helper("linked"),n.helper("type");break}case 5:n.helper("interpolate"),n.helper("list");break;case 4:n.helper("interpolate"),n.helper("named");break}}function Ho(e,n={}){const r=xo(e);r.helper("normalize"),e.body&&wt(e.body,r);const o=r.context();e.helpers=Array.from(o.helpers)}function Yo(e){const n=e.body;return n.type===2?pn(n):n.cases.forEach(r=>pn(r)),e}function pn(e){if(e.items.length===1){const n=e.items[0];(n.type===3||n.type===9)&&(e.static=n.value,delete n.value)}else{const n=[];for(let r=0;r<e.items.length;r++){const o=e.items[r];if(!(o.type===3||o.type===9)||o.value==null)break;n.push(o.value)}if(n.length===e.items.length){e.static=fn(n);for(let r=0;r<e.items.length;r++){const o=e.items[r];(o.type===3||o.type===9)&&delete o.value}}}}const Wo="minifier";function Ye(e){switch(e.t=e.type,e.type){case 0:{const n=e;Ye(n.body),n.b=n.body,delete n.body;break}case 1:{const n=e,r=n.cases;for(let o=0;o<r.length;o++)Ye(r[o]);n.c=r,delete n.cases;break}case 2:{const n=e,r=n.items;for(let o=0;o<r.length;o++)Ye(r[o]);n.i=r,delete n.items,n.static&&(n.s=n.static,delete n.static);break}case 3:case 9:case 8:case 7:{const n=e;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=e;Ye(n.key),n.k=n.key,delete n.key,n.modifier&&(Ye(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=e;n.i=n.index,delete n.index;break}case 4:{const n=e;n.k=n.key,delete n.key;break}default:throw He(F.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Wo,args:[e.type]})}delete e.type}const Go="parser";function Ko(e,n){const{filename:r,breakLineCode:o,needIndent:l}=n,a=n.location!==!1,s={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:l,indentLevel:0};a&&e.loc&&(s.source=e.loc.source);const u=()=>s;function c(k,w){s.code+=k}function p(k,w=!0){const D=w?o:"";c(l?D+" ".repeat(k):D)}function E(k=!0){const w=++s.indentLevel;k&&p(w)}function T(k=!0){const w=--s.indentLevel;k&&p(w)}function N(){p(s.indentLevel)}return{context:u,push:c,indent:E,deindent:T,newline:N,helper:k=>`_${k}`,needIndent:()=>s.needIndent}}function jo(e,n){const{helper:r}=e;e.push(`${r("linked")}(`),We(e,n.key),n.modifier?(e.push(", "),We(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Xo(e,n){const{helper:r,needIndent:o}=e;e.push(`${r("normalize")}([`),e.indent(o());const l=n.items.length;for(let a=0;a<l&&(We(e,n.items[a]),a!==l-1);a++)e.push(", ");e.deindent(o()),e.push("])")}function qo(e,n){const{helper:r,needIndent:o}=e;if(n.cases.length>1){e.push(`${r("plural")}([`),e.indent(o());const l=n.cases.length;for(let a=0;a<l&&(We(e,n.cases[a]),a!==l-1);a++)e.push(", ");e.deindent(o()),e.push("])")}}function Jo(e,n){n.body?We(e,n.body):e.push("null")}function We(e,n){const{helper:r}=e;switch(n.type){case 0:Jo(e,n);break;case 1:qo(e,n);break;case 2:Xo(e,n);break;case 6:jo(e,n);break;case 8:e.push(JSON.stringify(n.value),n);break;case 7:e.push(JSON.stringify(n.value),n);break;case 5:e.push(`${r("interpolate")}(${r("list")}(${n.index}))`,n);break;case 4:e.push(`${r("interpolate")}(${r("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:e.push(JSON.stringify(n.value),n);break;case 3:e.push(JSON.stringify(n.value),n);break;default:throw He(F.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Go,args:[n.type]})}}const zo=(e,n={})=>{const r=un(n.mode)?n.mode:"normal",o=un(n.filename)?n.filename:"message.intl";n.sourceMap;const l=n.breakLineCode!=null?n.breakLineCode:r==="arrow"?";":`
12
- `,a=n.needIndent?n.needIndent:r!=="arrow",s=e.helpers||[],u=Ko(e,{filename:o,breakLineCode:l,needIndent:a});u.push(r==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),u.indent(a),s.length>0&&(u.push(`const { ${fn(s.map(E=>`${E}: _${E}`),", ")} } = ctx`),u.newline()),u.push("return "),We(u,e),u.deindent(a),u.push("}"),delete e.helpers;const{code:c,map:p}=u.context();return{ast:e,code:c,map:p?p.toJSON():void 0}};function Qo(e,n={}){const r=cn({},n),o=!!r.jit,l=!!r.minify,a=r.optimize==null?!0:r.optimize,u=vo(r).parse(e);return o?(a&&Yo(u),l&&Ye(u),{ast:u,code:""}):(Ho(u,r),zo(u,r))}/*!
10
+ */function $a(e,n,a){return{line:e,column:n,offset:a}}function Ct(e,n,a){return{start:e,end:n}}const Ua=/\{([0-9a-zA-Z]+)\}/g;function fn(e,...n){return n.length===1&&va(n[0])&&(n=n[0]),(!n||!n.hasOwnProperty)&&(n={}),e.replace(Ua,(a,l)=>n.hasOwnProperty(l)?n[l]:"")}const un=Object.assign,mn=e=>typeof e=="string",va=e=>e!==null&&typeof e=="object";function pn(e,n=""){return e.reduce((a,l,r)=>r===0?a+l:a+n+l,"")}const Nt={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Ha={[Nt.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Ya(e,n,...a){const l=fn(Ha[e],...a||[]),r={message:String(l),code:e};return n&&(r.location=n),r}const U={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Wa={[U.EXPECTED_TOKEN]:"Expected token: '{0}'",[U.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[U.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[U.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[U.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[U.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[U.EMPTY_PLACEHOLDER]:"Empty placeholder",[U.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[U.INVALID_LINKED_FORMAT]:"Invalid linked format",[U.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[U.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[U.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[U.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[U.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[U.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Je(e,n,a={}){const{domain:l,messages:r,args:o}=a,s=fn((r||Wa)[e]||"",...o||[]),c=new SyntaxError(String(s));return c.code=e,n&&(c.location=n),c.domain=l,c}function Ga(e){throw e}const Ka=/<\/?[\w\s="/.':;#-\/]+>/,ja=e=>Ka.test(e),De=" ",Xa="\r",me=`
11
+ `,qa="\u2028",za="\u2029";function Ja(e){const n=e;let a=0,l=1,r=1,o=0;const s=b=>n[b]===Xa&&n[b+1]===me,c=b=>n[b]===me,i=b=>n[b]===za,m=b=>n[b]===qa,C=b=>s(b)||c(b)||i(b)||m(b),y=()=>a,E=()=>l,O=()=>r,S=()=>o,T=b=>s(b)||i(b)||m(b)?me:n[b],A=()=>T(a),P=()=>T(a+o);function F(){return o=0,C(a)&&(l++,r=0),s(a)&&a++,a++,r++,n[a]}function h(){return s(a+o)&&o++,o++,n[a+o]}function p(){a=0,l=1,r=1,o=0}function _(b=0){o=b}function u(){const b=a+o;for(;b!==a;)F();o=0}return{index:y,line:E,column:O,peekOffset:S,charAt:T,currentChar:A,currentPeek:P,next:F,peek:h,reset:p,resetPeek:_,skipToPeek:u}}const Ve=void 0,Qa=".",_n="'",Za="tokenizer";function el(e,n={}){const a=n.location!==!1,l=Ja(e),r=()=>l.index(),o=()=>$a(l.line(),l.column(),l.index()),s=o(),c=r(),i={currentType:14,offset:c,startLoc:s,endLoc:s,lastType:14,lastOffset:c,lastStartLoc:s,lastEndLoc:s,braceNest:0,inLinked:!1,text:""},m=()=>i,{onError:C}=n;function y(d,f,k,...x){const ae=m();if(f.column+=k,f.offset+=k,C){const te=a?Ct(ae.startLoc,f):null,J=Je(d,te,{domain:Za,args:x});C(J)}}function E(d,f,k){d.endLoc=o(),d.currentType=f;const x={type:f};return a&&(x.loc=Ct(d.startLoc,d.endLoc)),k!=null&&(x.value=k),x}const O=d=>E(d,14);function S(d,f){return d.currentChar()===f?(d.next(),f):(y(U.EXPECTED_TOKEN,o(),0,f),"")}function T(d){let f="";for(;d.currentPeek()===De||d.currentPeek()===me;)f+=d.currentPeek(),d.peek();return f}function A(d){const f=T(d);return d.skipToPeek(),f}function P(d){if(d===Ve)return!1;const f=d.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f===95}function F(d){if(d===Ve)return!1;const f=d.charCodeAt(0);return f>=48&&f<=57}function h(d,f){const{currentType:k}=f;if(k!==2)return!1;T(d);const x=P(d.currentPeek());return d.resetPeek(),x}function p(d,f){const{currentType:k}=f;if(k!==2)return!1;T(d);const x=d.currentPeek()==="-"?d.peek():d.currentPeek(),ae=F(x);return d.resetPeek(),ae}function _(d,f){const{currentType:k}=f;if(k!==2)return!1;T(d);const x=d.currentPeek()===_n;return d.resetPeek(),x}function u(d,f){const{currentType:k}=f;if(k!==8)return!1;T(d);const x=d.currentPeek()===".";return d.resetPeek(),x}function b(d,f){const{currentType:k}=f;if(k!==9)return!1;T(d);const x=P(d.currentPeek());return d.resetPeek(),x}function N(d,f){const{currentType:k}=f;if(!(k===8||k===12))return!1;T(d);const x=d.currentPeek()===":";return d.resetPeek(),x}function g(d,f){const{currentType:k}=f;if(k!==10)return!1;const x=()=>{const te=d.currentPeek();return te==="{"?P(d.peek()):te==="@"||te==="%"||te==="|"||te===":"||te==="."||te===De||!te?!1:te===me?(d.peek(),x()):B(d,!1)},ae=x();return d.resetPeek(),ae}function H(d){T(d);const f=d.currentPeek()==="|";return d.resetPeek(),f}function W(d){const f=T(d),k=d.currentPeek()==="%"&&d.peek()==="{";return d.resetPeek(),{isModulo:k,hasSpace:f.length>0}}function B(d,f=!0){const k=(ae=!1,te="",J=!1)=>{const L=d.currentPeek();return L==="{"?te==="%"?!1:ae:L==="@"||!L?te==="%"?!0:ae:L==="%"?(d.peek(),k(ae,"%",!0)):L==="|"?te==="%"||J?!0:!(te===De||te===me):L===De?(d.peek(),k(!0,De,J)):L===me?(d.peek(),k(!0,me,J)):!0},x=k();return f&&d.resetPeek(),x}function K(d,f){const k=d.currentChar();return k===Ve?Ve:f(k)?(d.next(),k):null}function Z(d){const f=d.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36}function R(d){return K(d,Z)}function v(d){const f=d.charCodeAt(0);return f>=97&&f<=122||f>=65&&f<=90||f>=48&&f<=57||f===95||f===36||f===45}function D(d){return K(d,v)}function z(d){const f=d.charCodeAt(0);return f>=48&&f<=57}function oe(d){return K(d,z)}function _e(d){const f=d.charCodeAt(0);return f>=48&&f<=57||f>=65&&f<=70||f>=97&&f<=102}function Te(d){return K(d,_e)}function fe(d){let f="",k="";for(;f=oe(d);)k+=f;return k}function Ae(d){A(d);const f=d.currentChar();return f!=="%"&&y(U.EXPECTED_TOKEN,o(),0,f),d.next(),"%"}function we(d){let f="";for(;;){const k=d.currentChar();if(k==="{"||k==="}"||k==="@"||k==="|"||!k)break;if(k==="%")if(B(d))f+=k,d.next();else break;else if(k===De||k===me)if(B(d))f+=k,d.next();else{if(H(d))break;f+=k,d.next()}else f+=k,d.next()}return f}function Y(d){A(d);let f="",k="";for(;f=D(d);)k+=f;return d.currentChar()===Ve&&y(U.UNTERMINATED_CLOSING_BRACE,o(),0),k}function tt(d){A(d);let f="";return d.currentChar()==="-"?(d.next(),f+=`-${fe(d)}`):f+=fe(d),d.currentChar()===Ve&&y(U.UNTERMINATED_CLOSING_BRACE,o(),0),f}function je(d){return d!==_n&&d!==me}function $(d){A(d),S(d,"'");let f="",k="";for(;f=K(d,je);)f==="\\"?k+=ct(d):k+=f;const x=d.currentChar();return x===me||x===Ve?(y(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),x===me&&(d.next(),S(d,"'")),k):(S(d,"'"),k)}function ct(d){const f=d.currentChar();switch(f){case"\\":case"'":return d.next(),`\\${f}`;case"u":return nt(d,f,4);case"U":return nt(d,f,6);default:return y(U.UNKNOWN_ESCAPE_SEQUENCE,o(),0,f),""}}function nt(d,f,k){S(d,f);let x="";for(let ae=0;ae<k;ae++){const te=Te(d);if(!te){y(U.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${f}${x}${d.currentChar()}`);break}x+=te}return`\\${f}${x}`}function dt(d){return d!=="{"&&d!=="}"&&d!==De&&d!==me}function ft(d){A(d);let f="",k="";for(;f=K(d,dt);)k+=f;return k}function ut(d){let f="",k="";for(;f=R(d);)k+=f;return k}function w(d){const f=k=>{const x=d.currentChar();return x==="{"||x==="%"||x==="@"||x==="|"||x==="("||x===")"||!x||x===De?k:(k+=x,d.next(),f(k))};return f("")}function X(d){A(d);const f=S(d,"|");return A(d),f}function mt(d,f){let k=null;switch(d.currentChar()){case"{":return f.braceNest>=1&&y(U.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),d.next(),k=E(f,2,"{"),A(d),f.braceNest++,k;case"}":return f.braceNest>0&&f.currentType===2&&y(U.EMPTY_PLACEHOLDER,o(),0),d.next(),k=E(f,3,"}"),f.braceNest--,f.braceNest>0&&A(d),f.inLinked&&f.braceNest===0&&(f.inLinked=!1),k;case"@":return f.braceNest>0&&y(U.UNTERMINATED_CLOSING_BRACE,o(),0),k=Xe(d,f)||O(f),f.braceNest=0,k;default:{let ae=!0,te=!0,J=!0;if(H(d))return f.braceNest>0&&y(U.UNTERMINATED_CLOSING_BRACE,o(),0),k=E(f,1,X(d)),f.braceNest=0,f.inLinked=!1,k;if(f.braceNest>0&&(f.currentType===5||f.currentType===6||f.currentType===7))return y(U.UNTERMINATED_CLOSING_BRACE,o(),0),f.braceNest=0,pt(d,f);if(ae=h(d,f))return k=E(f,5,Y(d)),A(d),k;if(te=p(d,f))return k=E(f,6,tt(d)),A(d),k;if(J=_(d,f))return k=E(f,7,$(d)),A(d),k;if(!ae&&!te&&!J)return k=E(f,13,ft(d)),y(U.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,k.value),A(d),k;break}}return k}function Xe(d,f){const{currentType:k}=f;let x=null;const ae=d.currentChar();switch((k===8||k===9||k===12||k===10)&&(ae===me||ae===De)&&y(U.INVALID_LINKED_FORMAT,o(),0),ae){case"@":return d.next(),x=E(f,8,"@"),f.inLinked=!0,x;case".":return A(d),d.next(),E(f,9,".");case":":return A(d),d.next(),E(f,10,":");default:return H(d)?(x=E(f,1,X(d)),f.braceNest=0,f.inLinked=!1,x):u(d,f)||N(d,f)?(A(d),Xe(d,f)):b(d,f)?(A(d),E(f,12,ut(d))):g(d,f)?(A(d),ae==="{"?mt(d,f)||x:E(f,11,w(d))):(k===8&&y(U.INVALID_LINKED_FORMAT,o(),0),f.braceNest=0,f.inLinked=!1,pt(d,f))}}function pt(d,f){let k={type:14};if(f.braceNest>0)return mt(d,f)||O(f);if(f.inLinked)return Xe(d,f)||O(f);switch(d.currentChar()){case"{":return mt(d,f)||O(f);case"}":return y(U.UNBALANCED_CLOSING_BRACE,o(),0),d.next(),E(f,3,"}");case"@":return Xe(d,f)||O(f);default:{if(H(d))return k=E(f,1,X(d)),f.braceNest=0,f.inLinked=!1,k;const{isModulo:ae,hasSpace:te}=W(d);if(ae)return te?E(f,0,we(d)):E(f,4,Ae(d));if(B(d))return E(f,0,we(d));break}}return k}function Qt(){const{currentType:d,offset:f,startLoc:k,endLoc:x}=i;return i.lastType=d,i.lastOffset=f,i.lastStartLoc=k,i.lastEndLoc=x,i.offset=r(),i.startLoc=o(),l.currentChar()===Ve?E(i,14):pt(l,i)}return{nextToken:Qt,currentOffset:r,currentPosition:o,context:m}}const tl="parser",nl=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function al(e,n,a){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const l=parseInt(n||a,16);return l<=55295||l>=57344?String.fromCodePoint(l):"�"}}}function ll(e={}){const n=e.location!==!1,{onError:a,onWarn:l}=e;function r(h,p,_,u,...b){const N=h.currentPosition();if(N.offset+=u,N.column+=u,a){const g=n?Ct(_,N):null,H=Je(p,g,{domain:tl,args:b});a(H)}}function o(h,p,_,u,...b){const N=h.currentPosition();if(N.offset+=u,N.column+=u,l){const g=n?Ct(_,N):null;l(Ya(p,g,b))}}function s(h,p,_){const u={type:h};return n&&(u.start=p,u.end=p,u.loc={start:_,end:_}),u}function c(h,p,_,u){n&&(h.end=p,h.loc&&(h.loc.end=_))}function i(h,p){const _=h.context(),u=s(3,_.offset,_.startLoc);return u.value=p,c(u,h.currentOffset(),h.currentPosition()),u}function m(h,p){const _=h.context(),{lastOffset:u,lastStartLoc:b}=_,N=s(5,u,b);return N.index=parseInt(p,10),h.nextToken(),c(N,h.currentOffset(),h.currentPosition()),N}function C(h,p,_){const u=h.context(),{lastOffset:b,lastStartLoc:N}=u,g=s(4,b,N);return g.key=p,_===!0&&(g.modulo=!0),h.nextToken(),c(g,h.currentOffset(),h.currentPosition()),g}function y(h,p){const _=h.context(),{lastOffset:u,lastStartLoc:b}=_,N=s(9,u,b);return N.value=p.replace(nl,al),h.nextToken(),c(N,h.currentOffset(),h.currentPosition()),N}function E(h){const p=h.nextToken(),_=h.context(),{lastOffset:u,lastStartLoc:b}=_,N=s(8,u,b);return p.type!==12?(r(h,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,_.lastStartLoc,0),N.value="",c(N,u,b),{nextConsumeToken:p,node:N}):(p.value==null&&r(h,U.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,Ne(p)),N.value=p.value||"",c(N,h.currentOffset(),h.currentPosition()),{node:N})}function O(h,p){const _=h.context(),u=s(7,_.offset,_.startLoc);return u.value=p,c(u,h.currentOffset(),h.currentPosition()),u}function S(h){const p=h.context(),_=s(6,p.offset,p.startLoc);let u=h.nextToken();if(u.type===9){const b=E(h);_.modifier=b.node,u=b.nextConsumeToken||h.nextToken()}switch(u.type!==10&&r(h,U.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Ne(u)),u=h.nextToken(),u.type===2&&(u=h.nextToken()),u.type){case 11:u.value==null&&r(h,U.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Ne(u)),_.key=O(h,u.value||"");break;case 5:u.value==null&&r(h,U.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Ne(u)),_.key=C(h,u.value||"");break;case 6:u.value==null&&r(h,U.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Ne(u)),_.key=m(h,u.value||"");break;case 7:u.value==null&&r(h,U.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Ne(u)),_.key=y(h,u.value||"");break;default:{r(h,U.UNEXPECTED_EMPTY_LINKED_KEY,p.lastStartLoc,0);const b=h.context(),N=s(7,b.offset,b.startLoc);return N.value="",c(N,b.offset,b.startLoc),_.key=N,c(_,b.offset,b.startLoc),{nextConsumeToken:u,node:_}}}return c(_,h.currentOffset(),h.currentPosition()),{node:_}}function T(h){const p=h.context(),_=p.currentType===1?h.currentOffset():p.offset,u=p.currentType===1?p.endLoc:p.startLoc,b=s(2,_,u);b.items=[];let N=null,g=null;do{const B=N||h.nextToken();switch(N=null,B.type){case 0:B.value==null&&r(h,U.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Ne(B)),b.items.push(i(h,B.value||""));break;case 6:B.value==null&&r(h,U.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Ne(B)),b.items.push(m(h,B.value||""));break;case 4:g=!0;break;case 5:B.value==null&&r(h,U.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Ne(B)),b.items.push(C(h,B.value||"",!!g)),g&&(o(h,Nt.USE_MODULO_SYNTAX,p.lastStartLoc,0,Ne(B)),g=null);break;case 7:B.value==null&&r(h,U.UNEXPECTED_LEXICAL_ANALYSIS,p.lastStartLoc,0,Ne(B)),b.items.push(y(h,B.value||""));break;case 8:{const K=S(h);b.items.push(K.node),N=K.nextConsumeToken||null;break}}}while(p.currentType!==14&&p.currentType!==1);const H=p.currentType===1?p.lastOffset:h.currentOffset(),W=p.currentType===1?p.lastEndLoc:h.currentPosition();return c(b,H,W),b}function A(h,p,_,u){const b=h.context();let N=u.items.length===0;const g=s(1,p,_);g.cases=[],g.cases.push(u);do{const H=T(h);N||(N=H.items.length===0),g.cases.push(H)}while(b.currentType!==14);return N&&r(h,U.MUST_HAVE_MESSAGES_IN_PLURAL,_,0),c(g,h.currentOffset(),h.currentPosition()),g}function P(h){const p=h.context(),{offset:_,startLoc:u}=p,b=T(h);return p.currentType===14?b:A(h,_,u,b)}function F(h){const p=el(h,un({},e)),_=p.context(),u=s(0,_.offset,_.startLoc);return n&&u.loc&&(u.loc.source=h),u.body=P(p),e.onCacheKey&&(u.cacheKey=e.onCacheKey(h)),_.currentType!==14&&r(p,U.UNEXPECTED_LEXICAL_ANALYSIS,_.lastStartLoc,0,h[_.offset]||""),c(u,p.currentOffset(),p.currentPosition()),u}return{parse:F}}function Ne(e){if(e.type===14)return"EOF";const n=(e.value||"").replace(/\r?\n/gu,"\\n");return n.length>10?n.slice(0,9)+"…":n}function ol(e,n={}){const a={ast:e,helpers:new Set};return{context:()=>a,helper:o=>(a.helpers.add(o),o)}}function hn(e,n){for(let a=0;a<e.length;a++)Pt(e[a],n)}function Pt(e,n){switch(e.type){case 1:hn(e.cases,n),n.helper("plural");break;case 2:hn(e.items,n);break;case 6:{Pt(e.key,n),n.helper("linked"),n.helper("type");break}case 5:n.helper("interpolate"),n.helper("list");break;case 4:n.helper("interpolate"),n.helper("named");break}}function rl(e,n={}){const a=ol(e);a.helper("normalize"),e.body&&Pt(e.body,a);const l=a.context();e.helpers=Array.from(l.helpers)}function sl(e){const n=e.body;return n.type===2?bn(n):n.cases.forEach(a=>bn(a)),e}function bn(e){if(e.items.length===1){const n=e.items[0];(n.type===3||n.type===9)&&(e.static=n.value,delete n.value)}else{const n=[];for(let a=0;a<e.items.length;a++){const l=e.items[a];if(!(l.type===3||l.type===9)||l.value==null)break;n.push(l.value)}if(n.length===e.items.length){e.static=pn(n);for(let a=0;a<e.items.length;a++){const l=e.items[a];(l.type===3||l.type===9)&&delete l.value}}}}const il="minifier";function Qe(e){switch(e.t=e.type,e.type){case 0:{const n=e;Qe(n.body),n.b=n.body,delete n.body;break}case 1:{const n=e,a=n.cases;for(let l=0;l<a.length;l++)Qe(a[l]);n.c=a,delete n.cases;break}case 2:{const n=e,a=n.items;for(let l=0;l<a.length;l++)Qe(a[l]);n.i=a,delete n.items,n.static&&(n.s=n.static,delete n.static);break}case 3:case 9:case 8:case 7:{const n=e;n.value&&(n.v=n.value,delete n.value);break}case 6:{const n=e;Qe(n.key),n.k=n.key,delete n.key,n.modifier&&(Qe(n.modifier),n.m=n.modifier,delete n.modifier);break}case 5:{const n=e;n.i=n.index,delete n.index;break}case 4:{const n=e;n.k=n.key,delete n.key;break}default:throw Je(U.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:il,args:[e.type]})}delete e.type}const cl="parser";function dl(e,n){const{filename:a,breakLineCode:l,needIndent:r}=n,o=n.location!==!1,s={filename:a,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:l,needIndent:r,indentLevel:0};o&&e.loc&&(s.source=e.loc.source);const c=()=>s;function i(T,A){s.code+=T}function m(T,A=!0){const P=A?l:"";i(r?P+" ".repeat(T):P)}function C(T=!0){const A=++s.indentLevel;T&&m(A)}function y(T=!0){const A=--s.indentLevel;T&&m(A)}function E(){m(s.indentLevel)}return{context:c,push:i,indent:C,deindent:y,newline:E,helper:T=>`_${T}`,needIndent:()=>s.needIndent}}function fl(e,n){const{helper:a}=e;e.push(`${a("linked")}(`),Ze(e,n.key),n.modifier?(e.push(", "),Ze(e,n.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function ul(e,n){const{helper:a,needIndent:l}=e;e.push(`${a("normalize")}([`),e.indent(l());const r=n.items.length;for(let o=0;o<r&&(Ze(e,n.items[o]),o!==r-1);o++)e.push(", ");e.deindent(l()),e.push("])")}function ml(e,n){const{helper:a,needIndent:l}=e;if(n.cases.length>1){e.push(`${a("plural")}([`),e.indent(l());const r=n.cases.length;for(let o=0;o<r&&(Ze(e,n.cases[o]),o!==r-1);o++)e.push(", ");e.deindent(l()),e.push("])")}}function pl(e,n){n.body?Ze(e,n.body):e.push("null")}function Ze(e,n){const{helper:a}=e;switch(n.type){case 0:pl(e,n);break;case 1:ml(e,n);break;case 2:ul(e,n);break;case 6:fl(e,n);break;case 8:e.push(JSON.stringify(n.value),n);break;case 7:e.push(JSON.stringify(n.value),n);break;case 5:e.push(`${a("interpolate")}(${a("list")}(${n.index}))`,n);break;case 4:e.push(`${a("interpolate")}(${a("named")}(${JSON.stringify(n.key)}))`,n);break;case 9:e.push(JSON.stringify(n.value),n);break;case 3:e.push(JSON.stringify(n.value),n);break;default:throw Je(U.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:cl,args:[n.type]})}}const _l=(e,n={})=>{const a=mn(n.mode)?n.mode:"normal",l=mn(n.filename)?n.filename:"message.intl";n.sourceMap;const r=n.breakLineCode!=null?n.breakLineCode:a==="arrow"?";":`
12
+ `,o=n.needIndent?n.needIndent:a!=="arrow",s=e.helpers||[],c=dl(e,{filename:l,breakLineCode:r,needIndent:o});c.push(a==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),c.indent(o),s.length>0&&(c.push(`const { ${pn(s.map(C=>`${C}: _${C}`),", ")} } = ctx`),c.newline()),c.push("return "),Ze(c,e),c.deindent(o),c.push("}"),delete e.helpers;const{code:i,map:m}=c.context();return{ast:e,code:i,map:m?m.toJSON():void 0}};function hl(e,n={}){const a=un({},n),l=!!a.jit,r=!!a.minify,o=a.optimize==null?!0:a.optimize,c=ll(a).parse(e);return l?(o&&sl(c),r&&Qe(c),{ast:c,code:""}):(rl(c,a),_l(c,a))}/*!
13
13
  * core-base v9.14.5
14
14
  * (c) 2025 kazuya kawaguchi
15
15
  * Released under the MIT License.
16
- */function Zo(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ye().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(ye().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ye().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function he(e){return x(e)&&Mt(e)===0&&(pe(e,"b")||pe(e,"body"))}const _n=["b","body"];function ea(e){return Ae(e,_n)}const hn=["c","cases"];function ta(e){return Ae(e,hn,[])}const bn=["s","static"];function na(e){return Ae(e,bn)}const En=["i","items"];function ra(e){return Ae(e,En,[])}const gn=["t","type"];function Mt(e){return Ae(e,gn)}const Nn=["v","value"];function Nt(e,n){const r=Ae(e,Nn);if(r!=null)return r;throw Je(n)}const Cn=["m","modifier"];function oa(e){return Ae(e,Cn)}const Tn=["k","key"];function aa(e){const n=Ae(e,Tn);if(n)return n;throw Je(6)}function Ae(e,n,r){for(let o=0;o<n.length;o++){const l=n[o];if(pe(e,l)&&e[l]!=null)return e[l]}return r}const Ln=[..._n,...hn,...bn,...En,...Tn,...Cn,...Nn,...gn];function Je(e){return new Error(`unhandled node type: ${e}`)}const Pe=[];Pe[0]={w:[0],i:[3,0],"[":[4],o:[7]},Pe[1]={w:[1],".":[2],"[":[4],o:[7]},Pe[2]={w:[2],i:[3,0],0:[3,0]},Pe[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},Pe[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},Pe[5]={"'":[4,0],o:8,l:[5,0]},Pe[6]={'"':[4,0],o:8,l:[6,0]};const la=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function sa(e){return la.test(e)}function ia(e){const n=e.charCodeAt(0),r=e.charCodeAt(e.length-1);return n===r&&(n===34||n===39)?e.slice(1,-1):e}function ca(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function ua(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:sa(n)?ia(n):"*"+n}function fa(e){const n=[];let r=-1,o=0,l=0,a,s,u,c,p,E,T;const N=[];N[0]=()=>{s===void 0?s=u:s+=u},N[1]=()=>{s!==void 0&&(n.push(s),s=void 0)},N[2]=()=>{N[0](),l++},N[3]=()=>{if(l>0)l--,o=4,N[0]();else{if(l=0,s===void 0||(s=ua(s),s===!1))return!1;N[1]()}};function O(){const S=e[r+1];if(o===5&&S==="'"||o===6&&S==='"')return r++,u="\\"+S,N[0](),!0}for(;o!==null;)if(r++,a=e[r],!(a==="\\"&&O())){if(c=ca(a),T=Pe[o],p=T[c]||T.l||8,p===8||(o=p[0],p[1]!==void 0&&(E=N[p[1]],E&&(u=a,E()===!1))))return;if(o===7)return n}}const yn=new Map;function da(e,n){return x(e)?e[n]:null}function ma(e,n){if(!x(e))return null;let r=yn.get(n);if(r||(r=fa(n),r&&yn.set(n,r)),!r)return null;const o=r.length;let l=e,a=0;for(;a<o;){const s=r[a];if(Ln.includes(s)&&he(l))return null;const u=l[s];if(u===void 0||J(l))return null;l=u,a++}return l}const pa=e=>e,_a=e=>"",ha="text",ba=e=>e.length===0?"":Eo(e),Ea=bo;function kn(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function ga(e){const n=te(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(te(e.named.count)||te(e.named.n))?te(e.named.count)?e.named.count:te(e.named.n)?e.named.n:n:n}function Na(e,n){n.count||(n.count=e),n.n||(n.n=e)}function Ca(e={}){const n=e.locale,r=ga(e),o=x(e.pluralRules)&&M(n)&&J(e.pluralRules[n])?e.pluralRules[n]:kn,l=x(e.pluralRules)&&M(n)&&J(e.pluralRules[n])?kn:void 0,a=D=>D[o(r,D.length,l)],s=e.list||[],u=D=>s[D],c=e.named||K();te(e.pluralIndex)&&Na(r,c);const p=D=>c[D];function E(D){const P=J(e.messages)?e.messages(D):x(e.messages)?e.messages[D]:!1;return P||(e.parent?e.parent.message(D):_a)}const T=D=>e.modifiers?e.modifiers[D]:pa,N=$(e.processor)&&J(e.processor.normalize)?e.processor.normalize:ba,O=$(e.processor)&&J(e.processor.interpolate)?e.processor.interpolate:Ea,S=$(e.processor)&&M(e.processor.type)?e.processor.type:ha,w={list:u,named:p,plural:a,linked:(D,...P)=>{const[m,d]=P;let _="text",h="";P.length===1?x(m)?(h=m.modifier||h,_=m.type||_):M(m)&&(h=m||h):P.length===2&&(M(m)&&(h=m||h),M(d)&&(_=d||_));const b=E(D)(w),y=_==="vnode"&&ee(b)&&h?b[0]:b;return h?T(h)(y,_):y},message:E,type:S,interpolate:O,normalize:N,values:oe(K(),s,c)};return w}let ze=null;function Ta(e){ze=e}function La(e,n,r){ze&&ze.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:r})}const ya=ka("function:translate");function ka(e){return n=>ze&&ze.emit(e,n)}const On=gt.__EXTEND_POINT__,Be=_t(On),le={NOT_FOUND_KEY:On,FALLBACK_TO_TRANSLATE:Be(),CANNOT_FORMAT_NUMBER:Be(),FALLBACK_TO_NUMBER_FORMAT:Be(),CANNOT_FORMAT_DATE:Be(),FALLBACK_TO_DATE_FORMAT:Be(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:Be(),__EXTEND_POINT__:Be()},Oa={[le.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[le.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[le.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[le.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[le.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[le.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Ve(e,...n){return Dt(Oa[e],...n)}const Sn=F.__EXTEND_POINT__,Ue=_t(Sn),ne={INVALID_ARGUMENT:Sn,INVALID_DATE_ARGUMENT:Ue(),INVALID_ISO_DATE_ARGUMENT:Ue(),NOT_SUPPORT_NON_STRING_MESSAGE:Ue(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ue(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ue(),NOT_SUPPORT_LOCALE_TYPE:Ue(),__EXTEND_POINT__:Ue()};function ge(e){return He(e,null,process.env.NODE_ENV!=="production"?{messages:Sa}:void 0)}const Sa={[ne.INVALID_ARGUMENT]:"Invalid arguments",[ne.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ne.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ne.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ne.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ne.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ne.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Rt(e,n){return n.locale!=null?In(n.locale):In(e.locale)}let Ft;function In(e){if(M(e))return e;if(J(e)){if(e.resolvedOnce&&Ft!=null)return Ft;if(e.constructor.name==="Function"){const n=e();if(ho(n))throw ge(ne.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Ft=n}else throw ge(ne.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw ge(ne.NOT_SUPPORT_LOCALE_TYPE)}function Ia(e,n,r){return[...new Set([r,...ee(n)?n:x(n)?Object.keys(n):M(n)?[n]:[r]])]}function An(e,n,r){const o=M(r)?r:Qe,l=e;l.__localeChainCache||(l.__localeChainCache=new Map);let a=l.__localeChainCache.get(o);if(!a){a=[];let s=[r];for(;ee(s);)s=Pn(a,s,n);const u=ee(n)||!$(n)?n:n.default?n.default:null;s=M(u)?[u]:u,ee(s)&&Pn(a,s,!1),l.__localeChainCache.set(o,a)}return a}function Pn(e,n,r){let o=!0;for(let l=0;l<n.length&&j(o);l++){const a=n[l];M(a)&&(o=Aa(e,n[l],r))}return o}function Aa(e,n,r){let o;const l=n.split("-");do{const a=l.join("-");o=Pa(e,a,r),l.splice(-1,1)}while(l.length&&o===!0);return o}function Pa(e,n,r){let o=!1;if(!e.includes(n)&&(o=!0,n)){o=n[n.length-1]!=="!";const l=n.replace(/!/g,"");e.push(l),(ee(r)||$(r))&&r[l]&&(o=r[l])}return o}const Da="9.14.5",Ct=-1,Qe="en-US",Tt="",Dn=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function wa(){return{upper:(e,n)=>n==="text"&&M(e)?e.toUpperCase():n==="vnode"&&x(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&M(e)?e.toLowerCase():n==="vnode"&&x(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&M(e)?Dn(e):n==="vnode"&&x(e)&&"__v_isVNode"in e?Dn(e.children):e}}let wn;function Mn(e){wn=e}let Rn;function Ma(e){Rn=e}let Fn;function Ra(e){Fn=e}let Bn=null;const Fa=e=>{Bn=e},Ba=()=>Bn;let Vn=null;const Un=e=>{Vn=e},Va=()=>Vn;let $n=0;function Ua(e={}){const n=J(e.onWarn)?e.onWarn:Ee,r=M(e.version)?e.version:Da,o=M(e.locale)||J(e.locale)?e.locale:Qe,l=J(o)?Qe:o,a=ee(e.fallbackLocale)||$(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l,s=$(e.messages)?e.messages:Bt(l),u=$(e.datetimeFormats)?e.datetimeFormats:Bt(l),c=$(e.numberFormats)?e.numberFormats:Bt(l),p=oe(K(),e.modifiers,wa()),E=e.pluralRules||K(),T=J(e.missing)?e.missing:null,N=j(e.missingWarn)||xe(e.missingWarn)?e.missingWarn:!0,O=j(e.fallbackWarn)||xe(e.fallbackWarn)?e.fallbackWarn:!0,S=!!e.fallbackFormat,k=!!e.unresolving,w=J(e.postTranslation)?e.postTranslation:null,D=$(e.processor)?e.processor:null,P=j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,m=!!e.escapeParameter,d=J(e.messageCompiler)?e.messageCompiler:wn;process.env.NODE_ENV!=="production"&&J(e.messageCompiler)&&en(Ve(le.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const _=J(e.messageResolver)?e.messageResolver:Rn||da,h=J(e.localeFallbacker)?e.localeFallbacker:Fn||Ia,b=x(e.fallbackContext)?e.fallbackContext:void 0,y=e,g=x(y.__datetimeFormatters)?y.__datetimeFormatters:new Map,v=x(y.__numberFormatters)?y.__numberFormatters:new Map,U=x(y.__meta)?y.__meta:{};$n++;const B={version:r,cid:$n,locale:o,fallbackLocale:a,messages:s,modifiers:p,pluralRules:E,missing:T,missingWarn:N,fallbackWarn:O,fallbackFormat:S,unresolving:k,postTranslation:w,processor:D,warnHtmlMessage:P,escapeParameter:m,messageCompiler:d,messageResolver:_,localeFallbacker:h,fallbackContext:b,onWarn:n,__meta:U};return B.datetimeFormats=u,B.numberFormats=c,B.__datetimeFormatters=g,B.__numberFormatters=v,process.env.NODE_ENV!=="production"&&(B.__v_emitter=y.__v_emitter!=null?y.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&La(B,r,U),B}const Bt=e=>({[e]:K()});function Lt(e,n){return e instanceof RegExp?e.test(n):e}function vn(e,n){return e instanceof RegExp?e.test(n):e}function Vt(e,n,r,o,l){const{missing:a,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const u=e.__v_emitter;u&&u.emit("missing",{locale:r,key:n,type:l,groupId:`${l}:${n}`})}if(a!==null){const u=a(e,r,n,l);return M(u)?u:n}else return process.env.NODE_ENV!=="production"&&vn(o,n)&&s(Ve(le.NOT_FOUND_KEY,{key:n,locale:r})),n}function Ze(e,n,r){const o=e;o.__localeChainCache=new Map,e.localeFallbacker(e,r,n)}function xn(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function $a(e,n){const r=n.indexOf(e);if(r===-1)return!1;for(let o=r+1;o<n.length;o++)if(xn(e,n[o]))return!0;return!1}function Ut(e){return r=>va(r,e)}function va(e,n){const r=ea(n);if(r==null)throw Je(0);if(Mt(r)===1){const a=ta(r);return e.plural(a.reduce((s,u)=>[...s,Hn(e,u)],[]))}else return Hn(e,r)}function Hn(e,n){const r=na(n);if(r!=null)return e.type==="text"?r:e.normalize([r]);{const o=ra(n).reduce((l,a)=>[...l,$t(e,a)],[]);return e.normalize(o)}}function $t(e,n){const r=Mt(n);switch(r){case 3:return Nt(n,r);case 9:return Nt(n,r);case 4:{const o=n;if(pe(o,"k")&&o.k)return e.interpolate(e.named(o.k));if(pe(o,"key")&&o.key)return e.interpolate(e.named(o.key));throw Je(r)}case 5:{const o=n;if(pe(o,"i")&&te(o.i))return e.interpolate(e.list(o.i));if(pe(o,"index")&&te(o.index))return e.interpolate(e.list(o.index));throw Je(r)}case 6:{const o=n,l=oa(o),a=aa(o);return e.linked($t(e,a),l?$t(e,l):void 0,e.type)}case 7:return Nt(n,r);case 8:return Nt(n,r);default:throw new Error(`unhandled node on format message part: ${r}`)}}const xa="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Yn(e,n){n&&Ao(e)&&Ee(Dt(xa,{source:e}))}const Wn=e=>e;let Ge=K();function Gn(e){e.code===gt.USE_MODULO_SYNTAX&&Ee(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
16
+ */function bl(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Me().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Me().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Me().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Le(e){return j(e)&&Mt(e)===0&&(Ce(e,"b")||Ce(e,"body"))}const gn=["b","body"];function gl(e){return Be(e,gn)}const En=["c","cases"];function El(e){return Be(e,En,[])}const Cn=["s","static"];function Cl(e){return Be(e,Cn)}const Nn=["i","items"];function Nl(e){return Be(e,Nn,[])}const Ln=["t","type"];function Mt(e){return Be(e,Ln)}const yn=["v","value"];function Lt(e,n){const a=Be(e,yn);if(a!=null)return a;throw lt(n)}const Tn=["m","modifier"];function Ll(e){return Be(e,Tn)}const kn=["k","key"];function yl(e){const n=Be(e,kn);if(n)return n;throw lt(6)}function Be(e,n,a){for(let l=0;l<n.length;l++){const r=n[l];if(Ce(e,r)&&e[r]!=null)return e[r]}return a}const Sn=[...gn,...En,...Cn,...Nn,...kn,...Tn,...yn,...Ln];function lt(e){return new Error(`unhandled node type: ${e}`)}const $e=[];$e[0]={w:[0],i:[3,0],"[":[4],o:[7]},$e[1]={w:[1],".":[2],"[":[4],o:[7]},$e[2]={w:[2],i:[3,0],0:[3,0]},$e[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},$e[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},$e[5]={"'":[4,0],o:8,l:[5,0]},$e[6]={'"':[4,0],o:8,l:[6,0]};const Tl=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function kl(e){return Tl.test(e)}function Sl(e){const n=e.charCodeAt(0),a=e.charCodeAt(e.length-1);return n===a&&(n===34||n===39)?e.slice(1,-1):e}function Ol(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function Il(e){const n=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:kl(n)?Sl(n):"*"+n}function Al(e){const n=[];let a=-1,l=0,r=0,o,s,c,i,m,C,y;const E=[];E[0]=()=>{s===void 0?s=c:s+=c},E[1]=()=>{s!==void 0&&(n.push(s),s=void 0)},E[2]=()=>{E[0](),r++},E[3]=()=>{if(r>0)r--,l=4,E[0]();else{if(r=0,s===void 0||(s=Il(s),s===!1))return!1;E[1]()}};function O(){const S=e[a+1];if(l===5&&S==="'"||l===6&&S==='"')return a++,c="\\"+S,E[0](),!0}for(;l!==null;)if(a++,o=e[a],!(o==="\\"&&O())){if(i=Ol(o),y=$e[l],m=y[i]||y.l||8,m===8||(l=m[0],m[1]!==void 0&&(C=E[m[1]],C&&(c=o,C()===!1))))return;if(l===7)return n}}const On=new Map;function wl(e,n){return j(e)?e[n]:null}function Fl(e,n){if(!j(e))return null;let a=On.get(n);if(a||(a=Al(n),a&&On.set(n,a)),!a)return null;const l=a.length;let r=e,o=0;for(;o<l;){const s=a[o];if(Sn.includes(s)&&Le(r))return null;const c=r[s];if(c===void 0||ne(r))return null;r=c,o++}return r}const Pl=e=>e,Ml=e=>"",Dl="text",Rl=e=>e.length===0?"":xa(e),xl=Ra;function In(e,n){return e=Math.abs(e),n===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Vl(e){const n=ie(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(ie(e.named.count)||ie(e.named.n))?ie(e.named.count)?e.named.count:ie(e.named.n)?e.named.n:n:n}function Bl(e,n){n.count||(n.count=e),n.n||(n.n=e)}function $l(e={}){const n=e.locale,a=Vl(e),l=j(e.pluralRules)&&M(n)&&ne(e.pluralRules[n])?e.pluralRules[n]:In,r=j(e.pluralRules)&&M(n)&&ne(e.pluralRules[n])?In:void 0,o=P=>P[l(a,P.length,r)],s=e.list||[],c=P=>s[P],i=e.named||Q();ie(e.pluralIndex)&&Bl(a,i);const m=P=>i[P];function C(P){const F=ne(e.messages)?e.messages(P):j(e.messages)?e.messages[P]:!1;return F||(e.parent?e.parent.message(P):Ml)}const y=P=>e.modifiers?e.modifiers[P]:Pl,E=G(e.processor)&&ne(e.processor.normalize)?e.processor.normalize:Rl,O=G(e.processor)&&ne(e.processor.interpolate)?e.processor.interpolate:xl,S=G(e.processor)&&M(e.processor.type)?e.processor.type:Dl,A={list:c,named:m,plural:o,linked:(P,...F)=>{const[h,p]=F;let _="text",u="";F.length===1?j(h)?(u=h.modifier||u,_=h.type||_):M(h)&&(u=h||u):F.length===2&&(M(h)&&(u=h||u),M(p)&&(_=p||_));const b=C(P)(A),N=_==="vnode"&&se(b)&&u?b[0]:b;return u?y(u)(N,_):N},message:C,type:S,interpolate:O,normalize:E,values:de(Q(),s,i)};return A}let ot=null;function Ul(e){ot=e}function vl(e,n,a){ot&&ot.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:n,meta:a})}const Hl=Yl("function:translate");function Yl(e){return n=>ot&&ot.emit(e,n)}const An=Nt.__EXTEND_POINT__,We=bt(An),pe={NOT_FOUND_KEY:An,FALLBACK_TO_TRANSLATE:We(),CANNOT_FORMAT_NUMBER:We(),FALLBACK_TO_NUMBER_FORMAT:We(),CANNOT_FORMAT_DATE:We(),FALLBACK_TO_DATE_FORMAT:We(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:We(),__EXTEND_POINT__:We()},Wl={[pe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[pe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[pe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[pe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[pe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[pe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[pe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function Ge(e,...n){return Ft(Wl[e],...n)}const wn=U.__EXTEND_POINT__,Ke=bt(wn),ce={INVALID_ARGUMENT:wn,INVALID_DATE_ARGUMENT:Ke(),INVALID_ISO_DATE_ARGUMENT:Ke(),NOT_SUPPORT_NON_STRING_MESSAGE:Ke(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:Ke(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:Ke(),NOT_SUPPORT_LOCALE_TYPE:Ke(),__EXTEND_POINT__:Ke()};function Oe(e){return Je(e,null,process.env.NODE_ENV!=="production"?{messages:Gl}:void 0)}const Gl={[ce.INVALID_ARGUMENT]:"Invalid arguments",[ce.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[ce.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[ce.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[ce.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[ce.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[ce.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Dt(e,n){return n.locale!=null?Fn(n.locale):Fn(e.locale)}let Rt;function Fn(e){if(M(e))return e;if(ne(e)){if(e.resolvedOnce&&Rt!=null)return Rt;if(e.constructor.name==="Function"){const n=e();if(Da(n))throw Oe(ce.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Rt=n}else throw Oe(ce.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Oe(ce.NOT_SUPPORT_LOCALE_TYPE)}function Kl(e,n,a){return[...new Set([a,...se(n)?n:j(n)?Object.keys(n):M(n)?[n]:[a]])]}function Pn(e,n,a){const l=M(a)?a:rt,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let o=r.__localeChainCache.get(l);if(!o){o=[];let s=[a];for(;se(s);)s=Mn(o,s,n);const c=se(n)||!G(n)?n:n.default?n.default:null;s=M(c)?[c]:c,se(s)&&Mn(o,s,!1),r.__localeChainCache.set(l,o)}return o}function Mn(e,n,a){let l=!0;for(let r=0;r<n.length&&ee(l);r++){const o=n[r];M(o)&&(l=jl(e,n[r],a))}return l}function jl(e,n,a){let l;const r=n.split("-");do{const o=r.join("-");l=Xl(e,o,a),r.splice(-1,1)}while(r.length&&l===!0);return l}function Xl(e,n,a){let l=!1;if(!e.includes(n)&&(l=!0,n)){l=n[n.length-1]!=="!";const r=n.replace(/!/g,"");e.push(r),(se(a)||G(a))&&a[r]&&(l=a[r])}return l}const ql="9.14.5",yt=-1,rt="en-US",Tt="",Dn=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function zl(){return{upper:(e,n)=>n==="text"&&M(e)?e.toUpperCase():n==="vnode"&&j(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,n)=>n==="text"&&M(e)?e.toLowerCase():n==="vnode"&&j(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,n)=>n==="text"&&M(e)?Dn(e):n==="vnode"&&j(e)&&"__v_isVNode"in e?Dn(e.children):e}}let Rn;function xn(e){Rn=e}let Vn;function Jl(e){Vn=e}let Bn;function Ql(e){Bn=e}let $n=null;const Zl=e=>{$n=e},eo=()=>$n;let Un=null;const vn=e=>{Un=e},to=()=>Un;let Hn=0;function no(e={}){const n=ne(e.onWarn)?e.onWarn:Se,a=M(e.version)?e.version:ql,l=M(e.locale)||ne(e.locale)?e.locale:rt,r=ne(l)?rt:l,o=se(e.fallbackLocale)||G(e.fallbackLocale)||M(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,s=G(e.messages)?e.messages:xt(r),c=G(e.datetimeFormats)?e.datetimeFormats:xt(r),i=G(e.numberFormats)?e.numberFormats:xt(r),m=de(Q(),e.modifiers,zl()),C=e.pluralRules||Q(),y=ne(e.missing)?e.missing:null,E=ee(e.missingWarn)||ze(e.missingWarn)?e.missingWarn:!0,O=ee(e.fallbackWarn)||ze(e.fallbackWarn)?e.fallbackWarn:!0,S=!!e.fallbackFormat,T=!!e.unresolving,A=ne(e.postTranslation)?e.postTranslation:null,P=G(e.processor)?e.processor:null,F=ee(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter,p=ne(e.messageCompiler)?e.messageCompiler:Rn;process.env.NODE_ENV!=="production"&&ne(e.messageCompiler)&&an(Ge(pe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const _=ne(e.messageResolver)?e.messageResolver:Vn||wl,u=ne(e.localeFallbacker)?e.localeFallbacker:Bn||Kl,b=j(e.fallbackContext)?e.fallbackContext:void 0,N=e,g=j(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,H=j(N.__numberFormatters)?N.__numberFormatters:new Map,W=j(N.__meta)?N.__meta:{};Hn++;const B={version:a,cid:Hn,locale:l,fallbackLocale:o,messages:s,modifiers:m,pluralRules:C,missing:y,missingWarn:E,fallbackWarn:O,fallbackFormat:S,unresolving:T,postTranslation:A,processor:P,warnHtmlMessage:F,escapeParameter:h,messageCompiler:p,messageResolver:_,localeFallbacker:u,fallbackContext:b,onWarn:n,__meta:W};return B.datetimeFormats=c,B.numberFormats=i,B.__datetimeFormatters=g,B.__numberFormatters=H,process.env.NODE_ENV!=="production"&&(B.__v_emitter=N.__v_emitter!=null?N.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&vl(B,a,W),B}const xt=e=>({[e]:Q()});function kt(e,n){return e instanceof RegExp?e.test(n):e}function Yn(e,n){return e instanceof RegExp?e.test(n):e}function Vt(e,n,a,l,r){const{missing:o,onWarn:s}=e;if(process.env.NODE_ENV!=="production"){const c=e.__v_emitter;c&&c.emit("missing",{locale:a,key:n,type:r,groupId:`${r}:${n}`})}if(o!==null){const c=o(e,a,n,r);return M(c)?c:n}else return process.env.NODE_ENV!=="production"&&Yn(l,n)&&s(Ge(pe.NOT_FOUND_KEY,{key:n,locale:a})),n}function st(e,n,a){const l=e;l.__localeChainCache=new Map,e.localeFallbacker(e,a,n)}function Wn(e,n){return e===n?!1:e.split("-")[0]===n.split("-")[0]}function ao(e,n){const a=n.indexOf(e);if(a===-1)return!1;for(let l=a+1;l<n.length;l++)if(Wn(e,n[l]))return!0;return!1}function Bt(e){return a=>lo(a,e)}function lo(e,n){const a=gl(n);if(a==null)throw lt(0);if(Mt(a)===1){const o=El(a);return e.plural(o.reduce((s,c)=>[...s,Gn(e,c)],[]))}else return Gn(e,a)}function Gn(e,n){const a=Cl(n);if(a!=null)return e.type==="text"?a:e.normalize([a]);{const l=Nl(n).reduce((r,o)=>[...r,$t(e,o)],[]);return e.normalize(l)}}function $t(e,n){const a=Mt(n);switch(a){case 3:return Lt(n,a);case 9:return Lt(n,a);case 4:{const l=n;if(Ce(l,"k")&&l.k)return e.interpolate(e.named(l.k));if(Ce(l,"key")&&l.key)return e.interpolate(e.named(l.key));throw lt(a)}case 5:{const l=n;if(Ce(l,"i")&&ie(l.i))return e.interpolate(e.list(l.i));if(Ce(l,"index")&&ie(l.index))return e.interpolate(e.list(l.index));throw lt(a)}case 6:{const l=n,r=Ll(l),o=yl(l);return e.linked($t(e,o),r?$t(e,r):void 0,e.type)}case 7:return Lt(n,a);case 8:return Lt(n,a);default:throw new Error(`unhandled node on format message part: ${a}`)}}const oo="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function Kn(e,n){n&&ja(e)&&Se(Ft(oo,{source:e}))}const jn=e=>e;let et=Q();function Xn(e){e.code===Nt.USE_MODULO_SYNTAX&&Se(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
17
17
  reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
18
- (message compiler warning message: ${e.message})`)}function Kn(e,n={}){let r=!1;const o=n.onError||So;return n.onError=l=>{r=!0,o(l)},{...Qo(e,n),detectError:r}}const Ha=(e,n)=>{if(!M(e))throw ge(ne.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(n.onWarn=Gn);{const r=j(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Yn(e,r);const l=(n.onCacheKey||Wn)(e),a=Ge[l];if(a)return a;const{code:s,detectError:u}=Kn(e,n),c=new Function(`return ${s}`)();return u?c:Ge[l]=c}};function Ya(e,n){if(process.env.NODE_ENV!=="production"&&(n.onWarn=Gn),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&M(e)){const r=j(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Yn(e,r);const l=(n.onCacheKey||Wn)(e),a=Ge[l];if(a)return a;const{ast:s,detectError:u}=Kn(e,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),c=Ut(s);return u?c:Ge[l]=c}else{if(process.env.NODE_ENV!=="production"&&!he(e))return Ee(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>e);const r=e.cacheKey;if(r){const o=Ge[r];return o||(Ge[r]=Ut(e))}else return Ut(e)}}const jn=()=>"",de=e=>J(e);function Xn(e,...n){const{fallbackFormat:r,postTranslation:o,unresolving:l,messageCompiler:a,fallbackLocale:s,messages:u}=e,[c,p]=vt(...n),E=j(p.missingWarn)?p.missingWarn:e.missingWarn,T=j(p.fallbackWarn)?p.fallbackWarn:e.fallbackWarn,N=j(p.escapeParameter)?p.escapeParameter:e.escapeParameter,O=!!p.resolvedMessage,S=M(p.default)||j(p.default)?j(p.default)?a?c:()=>c:p.default:r?a?c:()=>c:"",k=r||S!=="",w=Rt(e,p);N&&Wa(p);let[D,P,m]=O?[c,w,u[w]||K()]:qn(e,c,w,s,T,E),d=D,_=c;if(!O&&!(M(d)||he(d)||de(d))&&k&&(d=S,_=d),!O&&(!(M(d)||he(d)||de(d))||!M(P)))return l?Ct:c;if(process.env.NODE_ENV!=="production"&&M(d)&&e.messageCompiler==null)return Ee(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${c}'.`),c;let h=!1;const b=()=>{h=!0},y=de(d)?d:Jn(e,c,P,d,_,b);if(h)return d;const g=Xa(e,P,m,p),v=Ca(g),U=Ga(e,y,v);let B=o?o(U,c):U;if(N&&M(B)&&(B=po(B)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const H={timestamp:Date.now(),key:M(c)?c:de(d)?d.key:"",locale:P||(de(d)?d.locale:""),format:M(d)?d:de(d)?d.source:"",message:B};H.meta=oe({},e.__meta,Ba()||{}),ya(H)}return B}function Wa(e){ee(e.list)?e.list=e.list.map(n=>M(n)?nn(n):n):x(e.named)&&Object.keys(e.named).forEach(n=>{M(e.named[n])&&(e.named[n]=nn(e.named[n]))})}function qn(e,n,r,o,l,a){const{messages:s,onWarn:u,messageResolver:c,localeFallbacker:p}=e,E=p(e,o,r);let T=K(),N,O=null,S=r,k=null;const w="translate";for(let D=0;D<E.length;D++){if(N=k=E[D],process.env.NODE_ENV!=="production"&&r!==N&&!xn(r,N)&&Lt(l,n)&&u(Ve(le.FALLBACK_TO_TRANSLATE,{key:n,target:N})),process.env.NODE_ENV!=="production"&&r!==N){const _=e.__v_emitter;_&&_.emit("fallback",{type:w,key:n,from:S,to:k,groupId:`${w}:${n}`})}T=s[N]||K();let P=null,m,d;if(process.env.NODE_ENV!=="production"&&Te&&(P=window.performance.now(),m="intlify-message-resolve-start",d="intlify-message-resolve-end",fe&&fe(m)),(O=c(T,n))===null&&(O=T[n]),process.env.NODE_ENV!=="production"&&Te){const _=window.performance.now(),h=e.__v_emitter;h&&P&&O&&h.emit("message-resolve",{type:"message-resolve",key:n,message:O,time:_-P,groupId:`${w}:${n}`}),m&&d&&fe&&Fe&&(fe(d),Fe("intlify message resolve",m,d))}if(M(O)||he(O)||de(O))break;if(!$a(N,E)){const _=Vt(e,n,N,a,w);_!==n&&(O=_)}S=k}return[O,N,T]}function Jn(e,n,r,o,l,a){const{messageCompiler:s,warnHtmlMessage:u}=e;if(de(o)){const N=o;return N.locale=N.locale||r,N.key=N.key||n,N}if(s==null){const N=(()=>o);return N.locale=r,N.key=n,N}let c=null,p,E;process.env.NODE_ENV!=="production"&&Te&&(c=window.performance.now(),p="intlify-message-compilation-start",E="intlify-message-compilation-end",fe&&fe(p));const T=s(o,Ka(e,r,l,o,u,a));if(process.env.NODE_ENV!=="production"&&Te){const N=window.performance.now(),O=e.__v_emitter;O&&c&&O.emit("message-compilation",{type:"message-compilation",message:o,time:N-c,groupId:`translate:${n}`}),p&&E&&fe&&Fe&&(fe(E),Fe("intlify message compilation",p,E))}return T.locale=r,T.key=n,T.source=o,T}function Ga(e,n,r){let o=null,l,a;process.env.NODE_ENV!=="production"&&Te&&(o=window.performance.now(),l="intlify-message-evaluation-start",a="intlify-message-evaluation-end",fe&&fe(l));const s=n(r);if(process.env.NODE_ENV!=="production"&&Te){const u=window.performance.now(),c=e.__v_emitter;c&&o&&c.emit("message-evaluation",{type:"message-evaluation",value:s,time:u-o,groupId:`translate:${n.key}`}),l&&a&&fe&&Fe&&(fe(a),Fe("intlify message evaluation",l,a))}return s}function vt(...e){const[n,r,o]=e,l=K();if(!M(n)&&!te(n)&&!de(n)&&!he(n))throw ge(ne.INVALID_ARGUMENT);const a=te(n)?String(n):(de(n),n);return te(r)?l.plural=r:M(r)?l.default=r:$(r)&&!pt(r)?l.named=r:ee(r)&&(l.list=r),te(o)?l.plural=o:M(o)?l.default=o:$(o)&&oe(l,o),[a,l]}function Ka(e,n,r,o,l,a){return{locale:n,key:r,warnHtmlMessage:l,onError:s=>{if(a&&a(s),process.env.NODE_ENV!=="production"){const u=ja(o),c=`Message compilation error: ${s.message}`,p=s.location&&u&&go(u,s.location.start.offset,s.location.end.offset),E=e.__v_emitter;E&&u&&E.emit("compile-error",{message:u,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${r}`}),console.error(p?`${c}
19
- ${p}`:c)}else throw s},onCacheKey:s=>co(n,r,s)}}function ja(e){if(M(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function Xa(e,n,r,o){const{modifiers:l,pluralRules:a,messageResolver:s,fallbackLocale:u,fallbackWarn:c,missingWarn:p,fallbackContext:E}=e,N={locale:n,modifiers:l,pluralRules:a,messages:O=>{let S=s(r,O);if(S==null&&E){const[,,k]=qn(E,O,n,u,c,p);S=s(k,O)}if(M(S)||he(S)){let k=!1;const D=Jn(e,O,n,S,O,()=>{k=!0});return k?jn:D}else return de(S)?S:jn}};return e.processor&&(N.processor=e.processor),o.list&&(N.list=o.list),o.named&&(N.named=o.named),te(o.plural)&&(N.pluralIndex=o.plural),N}const zn=typeof Intl<"u",Qn={dateTimeFormat:zn&&typeof Intl.DateTimeFormat<"u",numberFormat:zn&&typeof Intl.NumberFormat<"u"};function Zn(e,...n){const{datetimeFormats:r,unresolving:o,fallbackLocale:l,onWarn:a,localeFallbacker:s}=e,{__datetimeFormatters:u}=e;if(process.env.NODE_ENV!=="production"&&!Qn.dateTimeFormat)return a(Ve(le.CANNOT_FORMAT_DATE)),Tt;const[c,p,E,T]=xt(...n),N=j(E.missingWarn)?E.missingWarn:e.missingWarn,O=j(E.fallbackWarn)?E.fallbackWarn:e.fallbackWarn,S=!!E.part,k=Rt(e,E),w=s(e,l,k);if(!M(c)||c==="")return new Intl.DateTimeFormat(k,T).format(p);let D={},P,m=null,d=k,_=null;const h="datetime format";for(let g=0;g<w.length;g++){if(P=_=w[g],process.env.NODE_ENV!=="production"&&k!==P&&Lt(O,c)&&a(Ve(le.FALLBACK_TO_DATE_FORMAT,{key:c,target:P})),process.env.NODE_ENV!=="production"&&k!==P){const v=e.__v_emitter;v&&v.emit("fallback",{type:h,key:c,from:d,to:_,groupId:`${h}:${c}`})}if(D=r[P]||{},m=D[c],$(m))break;Vt(e,c,P,N,h),d=_}if(!$(m)||!M(P))return o?Ct:c;let b=`${P}__${c}`;pt(T)||(b=`${b}__${JSON.stringify(T)}`);let y=u.get(b);return y||(y=new Intl.DateTimeFormat(P,oe({},m,T)),u.set(b,y)),S?y.formatToParts(p):y.format(p)}const er=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function xt(...e){const[n,r,o,l]=e,a=K();let s=K(),u;if(M(n)){const c=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!c)throw ge(ne.INVALID_ISO_DATE_ARGUMENT);const p=c[3]?c[3].trim().startsWith("T")?`${c[1].trim()}${c[3].trim()}`:`${c[1].trim()}T${c[3].trim()}`:c[1].trim();u=new Date(p);try{u.toISOString()}catch{throw ge(ne.INVALID_ISO_DATE_ARGUMENT)}}else if(fo(n)){if(isNaN(n.getTime()))throw ge(ne.INVALID_DATE_ARGUMENT);u=n}else if(te(n))u=n;else throw ge(ne.INVALID_ARGUMENT);return M(r)?a.key=r:$(r)&&Object.keys(r).forEach(c=>{er.includes(c)?s[c]=r[c]:a[c]=r[c]}),M(o)?a.locale=o:$(o)&&(s=o),$(l)&&(s=l),[a.key||"",u,a,s]}function tr(e,n,r){const o=e;for(const l in r){const a=`${n}__${l}`;o.__datetimeFormatters.has(a)&&o.__datetimeFormatters.delete(a)}}function nr(e,...n){const{numberFormats:r,unresolving:o,fallbackLocale:l,onWarn:a,localeFallbacker:s}=e,{__numberFormatters:u}=e;if(process.env.NODE_ENV!=="production"&&!Qn.numberFormat)return a(Ve(le.CANNOT_FORMAT_NUMBER)),Tt;const[c,p,E,T]=Ht(...n),N=j(E.missingWarn)?E.missingWarn:e.missingWarn,O=j(E.fallbackWarn)?E.fallbackWarn:e.fallbackWarn,S=!!E.part,k=Rt(e,E),w=s(e,l,k);if(!M(c)||c==="")return new Intl.NumberFormat(k,T).format(p);let D={},P,m=null,d=k,_=null;const h="number format";for(let g=0;g<w.length;g++){if(P=_=w[g],process.env.NODE_ENV!=="production"&&k!==P&&Lt(O,c)&&a(Ve(le.FALLBACK_TO_NUMBER_FORMAT,{key:c,target:P})),process.env.NODE_ENV!=="production"&&k!==P){const v=e.__v_emitter;v&&v.emit("fallback",{type:h,key:c,from:d,to:_,groupId:`${h}:${c}`})}if(D=r[P]||{},m=D[c],$(m))break;Vt(e,c,P,N,h),d=_}if(!$(m)||!M(P))return o?Ct:c;let b=`${P}__${c}`;pt(T)||(b=`${b}__${JSON.stringify(T)}`);let y=u.get(b);return y||(y=new Intl.NumberFormat(P,oe({},m,T)),u.set(b,y)),S?y.formatToParts(p):y.format(p)}const rr=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ht(...e){const[n,r,o,l]=e,a=K();let s=K();if(!te(n))throw ge(ne.INVALID_ARGUMENT);const u=n;return M(r)?a.key=r:$(r)&&Object.keys(r).forEach(c=>{rr.includes(c)?s[c]=r[c]:a[c]=r[c]}),M(o)?a.locale=o:$(o)&&(s=o),$(l)&&(s=l),[a.key||"",u,a,s]}function or(e,n,r){const o=e;for(const l in r){const a=`${n}__${l}`;o.__numberFormatters.has(a)&&o.__numberFormatters.delete(a)}}Zo();/*!
18
+ (message compiler warning message: ${e.message})`)}function qn(e,n={}){let a=!1;const l=n.onError||Ga;return n.onError=r=>{a=!0,l(r)},{...hl(e,n),detectError:a}}const ro=(e,n)=>{if(!M(e))throw Oe(ce.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(n.onWarn=Xn);{const a=ee(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Kn(e,a);const r=(n.onCacheKey||jn)(e),o=et[r];if(o)return o;const{code:s,detectError:c}=qn(e,n),i=new Function(`return ${s}`)();return c?i:et[r]=i}};function so(e,n){if(process.env.NODE_ENV!=="production"&&(n.onWarn=Xn),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&M(e)){const a=ee(n.warnHtmlMessage)?n.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&Kn(e,a);const r=(n.onCacheKey||jn)(e),o=et[r];if(o)return o;const{ast:s,detectError:c}=qn(e,{...n,location:process.env.NODE_ENV!=="production",jit:!0}),i=Bt(s);return c?i:et[r]=i}else{if(process.env.NODE_ENV!=="production"&&!Le(e))return Se(`the message that is resolve with key '${n.key}' is not supported for jit compilation`),(()=>e);const a=e.cacheKey;if(a){const l=et[a];return l||(et[a]=Bt(e))}else return Bt(e)}}const zn=()=>"",Ee=e=>ne(e);function Jn(e,...n){const{fallbackFormat:a,postTranslation:l,unresolving:r,messageCompiler:o,fallbackLocale:s,messages:c}=e,[i,m]=Ut(...n),C=ee(m.missingWarn)?m.missingWarn:e.missingWarn,y=ee(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn,E=ee(m.escapeParameter)?m.escapeParameter:e.escapeParameter,O=!!m.resolvedMessage,S=M(m.default)||ee(m.default)?ee(m.default)?o?i:()=>i:m.default:a?o?i:()=>i:"",T=a||S!=="",A=Dt(e,m);E&&io(m);let[P,F,h]=O?[i,A,c[A]||Q()]:Qn(e,i,A,s,y,C),p=P,_=i;if(!O&&!(M(p)||Le(p)||Ee(p))&&T&&(p=S,_=p),!O&&(!(M(p)||Le(p)||Ee(p))||!M(F)))return r?yt:i;if(process.env.NODE_ENV!=="production"&&M(p)&&e.messageCompiler==null)return Se(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${i}'.`),i;let u=!1;const b=()=>{u=!0},N=Ee(p)?p:Zn(e,i,F,p,_,b);if(u)return p;const g=mo(e,F,h,m),H=$l(g),W=co(e,N,H);let B=l?l(W,i):W;if(E&&M(B)&&(B=Pa(B)),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const K={timestamp:Date.now(),key:M(i)?i:Ee(p)?p.key:"",locale:F||(Ee(p)?p.locale:""),format:M(p)?p:Ee(p)?p.source:"",message:B};K.meta=de({},e.__meta,eo()||{}),Hl(K)}return B}function io(e){se(e.list)?e.list=e.list.map(n=>M(n)?on(n):n):j(e.named)&&Object.keys(e.named).forEach(n=>{M(e.named[n])&&(e.named[n]=on(e.named[n]))})}function Qn(e,n,a,l,r,o){const{messages:s,onWarn:c,messageResolver:i,localeFallbacker:m}=e,C=m(e,l,a);let y=Q(),E,O=null,S=a,T=null;const A="translate";for(let P=0;P<C.length;P++){if(E=T=C[P],process.env.NODE_ENV!=="production"&&a!==E&&!Wn(a,E)&&kt(r,n)&&c(Ge(pe.FALLBACK_TO_TRANSLATE,{key:n,target:E})),process.env.NODE_ENV!=="production"&&a!==E){const _=e.__v_emitter;_&&_.emit("fallback",{type:A,key:n,from:S,to:T,groupId:`${A}:${n}`})}y=s[E]||Q();let F=null,h,p;if(process.env.NODE_ENV!=="production"&&Fe&&(F=window.performance.now(),h="intlify-message-resolve-start",p="intlify-message-resolve-end",ge&&ge(h)),(O=i(y,n))===null&&(O=y[n]),process.env.NODE_ENV!=="production"&&Fe){const _=window.performance.now(),u=e.__v_emitter;u&&F&&O&&u.emit("message-resolve",{type:"message-resolve",key:n,message:O,time:_-F,groupId:`${A}:${n}`}),h&&p&&ge&&Ye&&(ge(p),Ye("intlify message resolve",h,p))}if(M(O)||Le(O)||Ee(O))break;if(!ao(E,C)){const _=Vt(e,n,E,o,A);_!==n&&(O=_)}S=T}return[O,E,y]}function Zn(e,n,a,l,r,o){const{messageCompiler:s,warnHtmlMessage:c}=e;if(Ee(l)){const E=l;return E.locale=E.locale||a,E.key=E.key||n,E}if(s==null){const E=(()=>l);return E.locale=a,E.key=n,E}let i=null,m,C;process.env.NODE_ENV!=="production"&&Fe&&(i=window.performance.now(),m="intlify-message-compilation-start",C="intlify-message-compilation-end",ge&&ge(m));const y=s(l,fo(e,a,r,l,c,o));if(process.env.NODE_ENV!=="production"&&Fe){const E=window.performance.now(),O=e.__v_emitter;O&&i&&O.emit("message-compilation",{type:"message-compilation",message:l,time:E-i,groupId:`translate:${n}`}),m&&C&&ge&&Ye&&(ge(C),Ye("intlify message compilation",m,C))}return y.locale=a,y.key=n,y.source=l,y}function co(e,n,a){let l=null,r,o;process.env.NODE_ENV!=="production"&&Fe&&(l=window.performance.now(),r="intlify-message-evaluation-start",o="intlify-message-evaluation-end",ge&&ge(r));const s=n(a);if(process.env.NODE_ENV!=="production"&&Fe){const c=window.performance.now(),i=e.__v_emitter;i&&l&&i.emit("message-evaluation",{type:"message-evaluation",value:s,time:c-l,groupId:`translate:${n.key}`}),r&&o&&ge&&Ye&&(ge(o),Ye("intlify message evaluation",r,o))}return s}function Ut(...e){const[n,a,l]=e,r=Q();if(!M(n)&&!ie(n)&&!Ee(n)&&!Le(n))throw Oe(ce.INVALID_ARGUMENT);const o=ie(n)?String(n):(Ee(n),n);return ie(a)?r.plural=a:M(a)?r.default=a:G(a)&&!ht(a)?r.named=a:se(a)&&(r.list=a),ie(l)?r.plural=l:M(l)?r.default=l:G(l)&&de(r,l),[o,r]}function fo(e,n,a,l,r,o){return{locale:n,key:a,warnHtmlMessage:r,onError:s=>{if(o&&o(s),process.env.NODE_ENV!=="production"){const c=uo(l),i=`Message compilation error: ${s.message}`,m=s.location&&c&&Va(c,s.location.start.offset,s.location.end.offset),C=e.__v_emitter;C&&c&&C.emit("compile-error",{message:c,error:s.message,start:s.location&&s.location.start.offset,end:s.location&&s.location.end.offset,groupId:`translate:${a}`}),console.error(m?`${i}
19
+ ${m}`:i)}else throw s},onCacheKey:s=>Ia(n,a,s)}}function uo(e){if(M(e))return e;if(e.loc&&e.loc.source)return e.loc.source}function mo(e,n,a,l){const{modifiers:r,pluralRules:o,messageResolver:s,fallbackLocale:c,fallbackWarn:i,missingWarn:m,fallbackContext:C}=e,E={locale:n,modifiers:r,pluralRules:o,messages:O=>{let S=s(a,O);if(S==null&&C){const[,,T]=Qn(C,O,n,c,i,m);S=s(T,O)}if(M(S)||Le(S)){let T=!1;const P=Zn(e,O,n,S,O,()=>{T=!0});return T?zn:P}else return Ee(S)?S:zn}};return e.processor&&(E.processor=e.processor),l.list&&(E.list=l.list),l.named&&(E.named=l.named),ie(l.plural)&&(E.pluralIndex=l.plural),E}const ea=typeof Intl<"u",ta={dateTimeFormat:ea&&typeof Intl.DateTimeFormat<"u",numberFormat:ea&&typeof Intl.NumberFormat<"u"};function na(e,...n){const{datetimeFormats:a,unresolving:l,fallbackLocale:r,onWarn:o,localeFallbacker:s}=e,{__datetimeFormatters:c}=e;if(process.env.NODE_ENV!=="production"&&!ta.dateTimeFormat)return o(Ge(pe.CANNOT_FORMAT_DATE)),Tt;const[i,m,C,y]=vt(...n),E=ee(C.missingWarn)?C.missingWarn:e.missingWarn,O=ee(C.fallbackWarn)?C.fallbackWarn:e.fallbackWarn,S=!!C.part,T=Dt(e,C),A=s(e,r,T);if(!M(i)||i==="")return new Intl.DateTimeFormat(T,y).format(m);let P={},F,h=null,p=T,_=null;const u="datetime format";for(let g=0;g<A.length;g++){if(F=_=A[g],process.env.NODE_ENV!=="production"&&T!==F&&kt(O,i)&&o(Ge(pe.FALLBACK_TO_DATE_FORMAT,{key:i,target:F})),process.env.NODE_ENV!=="production"&&T!==F){const H=e.__v_emitter;H&&H.emit("fallback",{type:u,key:i,from:p,to:_,groupId:`${u}:${i}`})}if(P=a[F]||{},h=P[i],G(h))break;Vt(e,i,F,E,u),p=_}if(!G(h)||!M(F))return l?yt:i;let b=`${F}__${i}`;ht(y)||(b=`${b}__${JSON.stringify(y)}`);let N=c.get(b);return N||(N=new Intl.DateTimeFormat(F,de({},h,y)),c.set(b,N)),S?N.formatToParts(m):N.format(m)}const aa=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function vt(...e){const[n,a,l,r]=e,o=Q();let s=Q(),c;if(M(n)){const i=n.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!i)throw Oe(ce.INVALID_ISO_DATE_ARGUMENT);const m=i[3]?i[3].trim().startsWith("T")?`${i[1].trim()}${i[3].trim()}`:`${i[1].trim()}T${i[3].trim()}`:i[1].trim();c=new Date(m);try{c.toISOString()}catch{throw Oe(ce.INVALID_ISO_DATE_ARGUMENT)}}else if(wa(n)){if(isNaN(n.getTime()))throw Oe(ce.INVALID_DATE_ARGUMENT);c=n}else if(ie(n))c=n;else throw Oe(ce.INVALID_ARGUMENT);return M(a)?o.key=a:G(a)&&Object.keys(a).forEach(i=>{aa.includes(i)?s[i]=a[i]:o[i]=a[i]}),M(l)?o.locale=l:G(l)&&(s=l),G(r)&&(s=r),[o.key||"",c,o,s]}function la(e,n,a){const l=e;for(const r in a){const o=`${n}__${r}`;l.__datetimeFormatters.has(o)&&l.__datetimeFormatters.delete(o)}}function oa(e,...n){const{numberFormats:a,unresolving:l,fallbackLocale:r,onWarn:o,localeFallbacker:s}=e,{__numberFormatters:c}=e;if(process.env.NODE_ENV!=="production"&&!ta.numberFormat)return o(Ge(pe.CANNOT_FORMAT_NUMBER)),Tt;const[i,m,C,y]=Ht(...n),E=ee(C.missingWarn)?C.missingWarn:e.missingWarn,O=ee(C.fallbackWarn)?C.fallbackWarn:e.fallbackWarn,S=!!C.part,T=Dt(e,C),A=s(e,r,T);if(!M(i)||i==="")return new Intl.NumberFormat(T,y).format(m);let P={},F,h=null,p=T,_=null;const u="number format";for(let g=0;g<A.length;g++){if(F=_=A[g],process.env.NODE_ENV!=="production"&&T!==F&&kt(O,i)&&o(Ge(pe.FALLBACK_TO_NUMBER_FORMAT,{key:i,target:F})),process.env.NODE_ENV!=="production"&&T!==F){const H=e.__v_emitter;H&&H.emit("fallback",{type:u,key:i,from:p,to:_,groupId:`${u}:${i}`})}if(P=a[F]||{},h=P[i],G(h))break;Vt(e,i,F,E,u),p=_}if(!G(h)||!M(F))return l?yt:i;let b=`${F}__${i}`;ht(y)||(b=`${b}__${JSON.stringify(y)}`);let N=c.get(b);return N||(N=new Intl.NumberFormat(F,de({},h,y)),c.set(b,N)),S?N.formatToParts(m):N.format(m)}const ra=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ht(...e){const[n,a,l,r]=e,o=Q();let s=Q();if(!ie(n))throw Oe(ce.INVALID_ARGUMENT);const c=n;return M(a)?o.key=a:G(a)&&Object.keys(a).forEach(i=>{ra.includes(i)?s[i]=a[i]:o[i]=a[i]}),M(l)?o.locale=l:G(l)&&(s=l),G(r)&&(s=r),[o.key||"",c,o,s]}function sa(e,n,a){const l=e;for(const r in a){const o=`${n}__${r}`;l.__numberFormatters.has(o)&&l.__numberFormatters.delete(o)}}bl();/*!
20
20
  * vue-i18n v9.14.5
21
21
  * (c) 2025 kazuya kawaguchi
22
22
  * Released under the MIT License.
23
- */const qa="9.14.5";function Ja(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(ye().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(ye().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(ye().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(ye().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ye().__INTLIFY_PROD_DEVTOOLS__=!1)}const ar=le.__EXTEND_POINT__,Oe=_t(ar),se={FALLBACK_TO_ROOT:ar,NOT_SUPPORTED_PRESERVE:Oe(),NOT_SUPPORTED_FORMATTER:Oe(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Oe(),NOT_SUPPORTED_GET_CHOICE_INDEX:Oe(),COMPONENT_NAME_LEGACY_COMPATIBLE:Oe(),NOT_FOUND_PARENT_SCOPE:Oe(),IGNORE_OBJ_FLATTEN:Oe(),NOTICE_DROP_ALLOW_COMPOSITION:Oe(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Oe()},za={[se.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[se.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[se.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[se.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[se.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[se.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[se.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[se.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[se.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[se.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function yt(e,...n){return Dt(za[e],...n)}const lr=ne.__EXTEND_POINT__,ie=_t(lr),Q={UNEXPECTED_RETURN_TYPE:lr,INVALID_ARGUMENT:ie(),MUST_BE_CALL_SETUP_TOP:ie(),NOT_INSTALLED:ie(),NOT_AVAILABLE_IN_LEGACY_MODE:ie(),REQUIRED_VALUE:ie(),INVALID_VALUE:ie(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:ie(),NOT_INSTALLED_WITH_PROVIDE:ie(),UNEXPECTED_ERROR:ie(),NOT_COMPATIBLE_LEGACY_VUE_I18N:ie(),BRIDGE_SUPPORT_VUE_2_ONLY:ie(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:ie(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:ie(),__EXTEND_POINT__:ie()};function De(e,...n){return He(e,null,process.env.NODE_ENV!=="production"?{messages:Qa,args:n}:void 0)}const Qa={[Q.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[Q.INVALID_ARGUMENT]:"Invalid argument",[Q.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[Q.NOT_INSTALLED]:"Need to install with `app.use` function",[Q.UNEXPECTED_ERROR]:"Unexpected error",[Q.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[Q.REQUIRED_VALUE]:"Required in value: {0}",[Q.INVALID_VALUE]:"Invalid value",[Q.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[Q.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[Q.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[Q.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[Q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[Q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Yt=Le("__translateVNode"),Wt=Le("__datetimeParts"),Gt=Le("__numberParts"),Kt=Le("__enableEmitter"),jt=Le("__disableEmitter"),Za=Le("__setPluralRules"),sr=Le("__injectWithOption"),Xt=Le("__dispose");function et(e){if(!x(e)||he(e))return e;for(const n in e)if(pe(e,n))if(!n.includes("."))x(e[n])&&et(e[n]);else{const r=n.split("."),o=r.length-1;let l=e,a=!1;for(let s=0;s<o;s++){if(r[s]==="__proto__")throw new Error(`unsafe key: ${r[s]}`);if(r[s]in l||(l[r[s]]=K()),!x(l[r[s]])){process.env.NODE_ENV!=="production"&&Ee(yt(se.IGNORE_OBJ_FLATTEN,{key:r[s]})),a=!0;break}l=l[r[s]]}if(a||(he(l)?Ln.includes(r[o])||delete e[n]:(l[r[o]]=e[n],delete e[n])),!he(l)){const s=l[r[o]];x(s)&&et(s)}}return e}function qt(e,n){const{messages:r,__i18n:o,messageResolver:l,flatJson:a}=n,s=$(r)?r:ee(o)?K():{[e]:K()};if(ee(o)&&o.forEach(u=>{if("locale"in u&&"resource"in u){const{locale:c,resource:p}=u;c?(s[c]=s[c]||K(),bt(p,s[c])):bt(p,s)}else M(u)&&bt(JSON.parse(u),s)}),l==null&&a)for(const u in s)pe(s,u)&&et(s[u]);return s}function ir(e){return e.type}function el(e,n,r){let o=x(n.messages)?n.messages:K();"__i18nGlobal"in r&&(o=qt(e.locale.value,{messages:o,__i18n:r.__i18nGlobal}));const l=Object.keys(o);l.length&&l.forEach(a=>{e.mergeLocaleMessage(a,o[a])});{if(x(n.datetimeFormats)){const a=Object.keys(n.datetimeFormats);a.length&&a.forEach(s=>{e.mergeDateTimeFormat(s,n.datetimeFormats[s])})}if(x(n.numberFormats)){const a=Object.keys(n.numberFormats);a.length&&a.forEach(s=>{e.mergeNumberFormat(s,n.numberFormats[s])})}}}function cr(e){return t.createVNode(t.Text,null,e,0)}const ur="__INTLIFY_META__",fr=()=>[],tl=()=>!1;let dr=0;function mr(e){return((n,r,o,l)=>e(r,o,t.getCurrentInstance()||void 0,l))}const nl=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=ir(e)[ur])?{[ur]:n}:null};function rl(e={},n){const{__root:r,__injectWithOption:o}=e,l=r===void 0,a=e.flatJson,s=Te?t.ref:t.shallowRef,u=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&u&&en(yt(se.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let c=j(e.inheritLocale)?e.inheritLocale:!0;const p=s(r&&c?r.locale.value:M(e.locale)?e.locale:Qe),E=s(r&&c?r.fallbackLocale.value:M(e.fallbackLocale)||ee(e.fallbackLocale)||$(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:p.value),T=s(qt(p.value,e)),N=s($(e.datetimeFormats)?e.datetimeFormats:{[p.value]:{}}),O=s($(e.numberFormats)?e.numberFormats:{[p.value]:{}});let S=r?r.missingWarn:j(e.missingWarn)||xe(e.missingWarn)?e.missingWarn:!0,k=r?r.fallbackWarn:j(e.fallbackWarn)||xe(e.fallbackWarn)?e.fallbackWarn:!0,w=r?r.fallbackRoot:j(e.fallbackRoot)?e.fallbackRoot:!0,D=!!e.fallbackFormat,P=J(e.missing)?e.missing:null,m=J(e.missing)?mr(e.missing):null,d=J(e.postTranslation)?e.postTranslation:null,_=r?r.warnHtmlMessage:j(e.warnHtmlMessage)?e.warnHtmlMessage:!0,h=!!e.escapeParameter;const b=r?r.modifiers:$(e.modifiers)?e.modifiers:{};let y=e.pluralRules||r&&r.pluralRules,g;g=(()=>{l&&Un(null);const C={version:qa,locale:p.value,fallbackLocale:E.value,messages:T.value,modifiers:b,pluralRules:y,missing:m===null?void 0:m,missingWarn:S,fallbackWarn:k,fallbackFormat:D,unresolving:!0,postTranslation:d===null?void 0:d,warnHtmlMessage:_,escapeParameter:h,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};C.datetimeFormats=N.value,C.numberFormats=O.value,C.__datetimeFormatters=$(g)?g.__datetimeFormatters:void 0,C.__numberFormatters=$(g)?g.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(C.__v_emitter=$(g)?g.__v_emitter:void 0);const I=Ua(C);return l&&Un(I),I})(),Ze(g,p.value,E.value);function U(){return[p.value,E.value,T.value,N.value,O.value]}const B=t.computed({get:()=>p.value,set:C=>{p.value=C,g.locale=p.value}}),H=t.computed({get:()=>E.value,set:C=>{E.value=C,g.fallbackLocale=E.value,Ze(g,p.value,C)}}),q=t.computed(()=>T.value),ce=t.computed(()=>N.value),re=t.computed(()=>O.value);function Se(){return J(d)?d:null}function be(C){d=C,g.postTranslation=C}function nt(){return P}function rt(C){C!==null&&(m=mr(C)),P=C,g.missing=m}function ot(C,I){return C!=="translate"||!I.resolvedMessage}const me=(C,I,W,Z,we,St)=>{U();let qe;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(g.fallbackContext=r?Va():void 0),qe=C(g)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,l||(g.fallbackContext=void 0)}if(W!=="translate exists"&&te(qe)&&qe===Ct||W==="translate exists"&&!qe){const[ve,Hl]=I();if(process.env.NODE_ENV!=="production"&&r&&M(ve)&&ot(W,Hl)&&(w&&(Lt(k,ve)||vn(S,ve))&&Ee(yt(se.FALLBACK_TO_ROOT,{key:ve,type:W})),process.env.NODE_ENV!=="production")){const{__v_emitter:Nr}=g;Nr&&w&&Nr.emit("fallback",{type:W,key:ve,to:"global",groupId:`${W}:${ve}`})}return r&&w?Z(r):we(ve)}else{if(St(qe))return qe;throw De(Q.UNEXPECTED_RETURN_TYPE)}};function Ke(...C){return me(I=>Reflect.apply(Xn,null,[I,...C]),()=>vt(...C),"translate",I=>Reflect.apply(I.t,I,[...C]),I=>I,I=>M(I))}function je(...C){const[I,W,Z]=C;if(Z&&!x(Z))throw De(Q.INVALID_ARGUMENT);return Ke(I,W,oe({resolvedMessage:!0},Z||{}))}function at(...C){return me(I=>Reflect.apply(Zn,null,[I,...C]),()=>xt(...C),"datetime format",I=>Reflect.apply(I.d,I,[...C]),()=>Tt,I=>M(I))}function lt(...C){return me(I=>Reflect.apply(nr,null,[I,...C]),()=>Ht(...C),"number format",I=>Reflect.apply(I.n,I,[...C]),()=>Tt,I=>M(I))}function st(C){return C.map(I=>M(I)||te(I)||j(I)?cr(String(I)):I)}const it={normalize:st,interpolate:C=>C,type:"vnode"};function Xe(...C){return me(I=>{let W;const Z=I;try{Z.processor=it,W=Reflect.apply(Xn,null,[Z,...C])}finally{Z.processor=null}return W},()=>vt(...C),"translate",I=>I[Yt](...C),I=>[cr(I)],I=>ee(I))}function ct(...C){return me(I=>Reflect.apply(nr,null,[I,...C]),()=>Ht(...C),"number format",I=>I[Gt](...C),fr,I=>M(I)||ee(I))}function ut(...C){return me(I=>Reflect.apply(Zn,null,[I,...C]),()=>xt(...C),"datetime format",I=>I[Wt](...C),fr,I=>M(I)||ee(I))}function ft(C){y=C,g.pluralRules=y}function A(C,I){return me(()=>{if(!C)return!1;const W=M(I)?I:p.value,Z=$e(W),we=g.messageResolver(Z,C);return u?we!=null:he(we)||de(we)||M(we)},()=>[C],"translate exists",W=>Reflect.apply(W.te,W,[C,I]),tl,W=>j(W))}function Y(C){let I=null;const W=An(g,E.value,p.value);for(let Z=0;Z<W.length;Z++){const we=T.value[W[Z]]||{},St=g.messageResolver(we,C);if(St!=null){I=St;break}}return I}function dt(C){const I=Y(C);return I??(r?r.tm(C)||{}:{})}function $e(C){return T.value[C]||{}}function mt(C,I){if(a){const W={[C]:I};for(const Z in W)pe(W,Z)&&et(W[Z]);I=W[C]}T.value[C]=I,g.messages=T.value}function zt(C,I){T.value[C]=T.value[C]||{};const W={[C]:I};if(a)for(const Z in W)pe(W,Z)&&et(W[Z]);I=W[C],bt(I,T.value[C]),g.messages=T.value}function i(C){return N.value[C]||{}}function f(C,I){N.value[C]=I,g.datetimeFormats=N.value,tr(g,C,I)}function L(C,I){N.value[C]=oe(N.value[C]||{},I),g.datetimeFormats=N.value,tr(g,C,I)}function R(C){return O.value[C]||{}}function z(C,I){O.value[C]=I,g.numberFormats=O.value,or(g,C,I)}function X(C,I){O.value[C]=oe(O.value[C]||{},I),g.numberFormats=O.value,or(g,C,I)}dr++,r&&Te&&(t.watch(r.locale,C=>{c&&(p.value=C,g.locale=C,Ze(g,p.value,E.value))}),t.watch(r.fallbackLocale,C=>{c&&(E.value=C,g.fallbackLocale=C,Ze(g,p.value,E.value))}));const G={id:dr,locale:B,fallbackLocale:H,get inheritLocale(){return c},set inheritLocale(C){c=C,C&&r&&(p.value=r.locale.value,E.value=r.fallbackLocale.value,Ze(g,p.value,E.value))},get availableLocales(){return Object.keys(T.value).sort()},messages:q,get modifiers(){return b},get pluralRules(){return y||{}},get isGlobal(){return l},get missingWarn(){return S},set missingWarn(C){S=C,g.missingWarn=S},get fallbackWarn(){return k},set fallbackWarn(C){k=C,g.fallbackWarn=k},get fallbackRoot(){return w},set fallbackRoot(C){w=C},get fallbackFormat(){return D},set fallbackFormat(C){D=C,g.fallbackFormat=D},get warnHtmlMessage(){return _},set warnHtmlMessage(C){_=C,g.warnHtmlMessage=C},get escapeParameter(){return h},set escapeParameter(C){h=C,g.escapeParameter=C},t:Ke,getLocaleMessage:$e,setLocaleMessage:mt,mergeLocaleMessage:zt,getPostTranslationHandler:Se,setPostTranslationHandler:be,getMissingHandler:nt,setMissingHandler:rt,[Za]:ft};return G.datetimeFormats=ce,G.numberFormats=re,G.rt=je,G.te=A,G.tm=dt,G.d=at,G.n=lt,G.getDateTimeFormat=i,G.setDateTimeFormat=f,G.mergeDateTimeFormat=L,G.getNumberFormat=R,G.setNumberFormat=z,G.mergeNumberFormat=X,G[sr]=o,G[Yt]=Xe,G[Wt]=ut,G[Gt]=ct,process.env.NODE_ENV!=="production"&&(G[Kt]=C=>{g.__v_emitter=C},G[jt]=()=>{g.__v_emitter=void 0}),G}const Jt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function ol({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((o,l)=>[...o,...l.type===t.Fragment?l.children:[l]],[]):n.reduce((r,o)=>{const l=e[o];return l&&(r[o]=l()),r},K())}function pr(e){return t.Fragment}oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>te(e)||!isNaN(e)}},Jt);function al(e){return ee(e)&&!M(e[0])}function _r(e,n,r,o){const{slots:l,attrs:a}=n;return()=>{const s={part:!0};let u=K();e.locale&&(s.locale=e.locale),M(e.format)?s.key=e.format:x(e.format)&&(M(e.format.key)&&(s.key=e.format.key),u=Object.keys(e.format).reduce((N,O)=>r.includes(O)?oe(K(),N,{[O]:e.format[O]}):N,K()));const c=o(e.value,s,u);let p=[s.key];ee(c)?p=c.map((N,O)=>{const S=l[N.type],k=S?S({[N.type]:N.value,index:O,parts:c}):[N.value];return al(k)&&(k[0].key=`${N.type}-${O}`),k}):M(c)&&(p=[c]);const E=oe(K(),a),T=M(e.tag)||x(e.tag)?e.tag:pr();return t.h(T,E,p)}}oe({value:{type:Number,required:!0},format:{type:[String,Object]}},Jt),oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Jt);function hr(e,n){}const ll=Le("global-vue-i18n");function tt(e={}){const n=t.getCurrentInstance();if(n==null)throw De(Q.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw De(Q.NOT_INSTALLED);const r=sl(n),o=cl(r),l=ir(n),a=il(e,l);if(__VUE_I18N_LEGACY_API__&&r.mode==="legacy"&&!e.__useComponent){if(!r.allowComposition)throw De(Q.NOT_AVAILABLE_IN_LEGACY_MODE);return ml(n,a,o,e)}if(a==="global")return el(o,e,l),o;if(a==="parent"){let c=ul(r,n,e.__useComponent);return c==null&&(process.env.NODE_ENV!=="production"&&Ee(yt(se.NOT_FOUND_PARENT_SCOPE)),c=o),c}const s=r;let u=s.__getInstance(n);if(u==null){const c=oe({},e);"__i18n"in l&&(c.__i18n=l.__i18n),o&&(c.__root=o),u=rl(c),s.__composerExtend&&(u[Xt]=s.__composerExtend(u)),dl(s,n,u),s.__setInstance(n,u)}return u}function sl(e){{const n=t.inject(e.isCE?ll:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw De(e.isCE?Q.NOT_INSTALLED_WITH_PROVIDE:Q.UNEXPECTED_ERROR);return n}}function il(e,n){return pt(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function cl(e){return e.mode==="composition"?e.global:e.global.__composer}function ul(e,n,r=!1){let o=null;const l=n.root;let a=fl(n,r);for(;a!=null;){const s=e;if(e.mode==="composition")o=s.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){const u=s.__getInstance(a);u!=null&&(o=u.__composer,r&&o&&!o[sr]&&(o=null))}if(o!=null||l===a)break;a=a.parent}return o}function fl(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function dl(e,n,r){let o=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=r,o=No();const l=r;l[Kt]&&l[Kt](o),o.on("*",hr)}},n),t.onUnmounted(()=>{const l=r;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(o&&o.off("*",hr),l[jt]&&l[jt](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const a=l[Xt];a&&(a(),delete l[Xt])},n)}function ml(e,n,r,o={}){const l=n==="local",a=t.shallowRef(null);if(l&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw De(Q.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=j(o.inheritLocale)?o.inheritLocale:!M(o.locale),u=t.ref(!l||s?r.locale.value:M(o.locale)?o.locale:Qe),c=t.ref(!l||s?r.fallbackLocale.value:M(o.fallbackLocale)||ee(o.fallbackLocale)||$(o.fallbackLocale)||o.fallbackLocale===!1?o.fallbackLocale:u.value),p=t.ref(qt(u.value,o)),E=t.ref($(o.datetimeFormats)?o.datetimeFormats:{[u.value]:{}}),T=t.ref($(o.numberFormats)?o.numberFormats:{[u.value]:{}}),N=l?r.missingWarn:j(o.missingWarn)||xe(o.missingWarn)?o.missingWarn:!0,O=l?r.fallbackWarn:j(o.fallbackWarn)||xe(o.fallbackWarn)?o.fallbackWarn:!0,S=l?r.fallbackRoot:j(o.fallbackRoot)?o.fallbackRoot:!0,k=!!o.fallbackFormat,w=J(o.missing)?o.missing:null,D=J(o.postTranslation)?o.postTranslation:null,P=l?r.warnHtmlMessage:j(o.warnHtmlMessage)?o.warnHtmlMessage:!0,m=!!o.escapeParameter,d=l?r.modifiers:$(o.modifiers)?o.modifiers:{},_=o.pluralRules||l&&r.pluralRules;function h(){return[u.value,c.value,p.value,E.value,T.value]}const b=t.computed({get:()=>a.value?a.value.locale.value:u.value,set:A=>{a.value&&(a.value.locale.value=A),u.value=A}}),y=t.computed({get:()=>a.value?a.value.fallbackLocale.value:c.value,set:A=>{a.value&&(a.value.fallbackLocale.value=A),c.value=A}}),g=t.computed(()=>a.value?a.value.messages.value:p.value),v=t.computed(()=>E.value),U=t.computed(()=>T.value);function B(){return a.value?a.value.getPostTranslationHandler():D}function H(A){a.value&&a.value.setPostTranslationHandler(A)}function q(){return a.value?a.value.getMissingHandler():w}function ce(A){a.value&&a.value.setMissingHandler(A)}function re(A){return h(),A()}function Se(...A){return a.value?re(()=>Reflect.apply(a.value.t,null,[...A])):re(()=>"")}function be(...A){return a.value?Reflect.apply(a.value.rt,null,[...A]):""}function nt(...A){return a.value?re(()=>Reflect.apply(a.value.d,null,[...A])):re(()=>"")}function rt(...A){return a.value?re(()=>Reflect.apply(a.value.n,null,[...A])):re(()=>"")}function ot(A){return a.value?a.value.tm(A):{}}function me(A,Y){return a.value?a.value.te(A,Y):!1}function Ke(A){return a.value?a.value.getLocaleMessage(A):{}}function je(A,Y){a.value&&(a.value.setLocaleMessage(A,Y),p.value[A]=Y)}function at(A,Y){a.value&&a.value.mergeLocaleMessage(A,Y)}function lt(A){return a.value?a.value.getDateTimeFormat(A):{}}function st(A,Y){a.value&&(a.value.setDateTimeFormat(A,Y),E.value[A]=Y)}function Ot(A,Y){a.value&&a.value.mergeDateTimeFormat(A,Y)}function it(A){return a.value?a.value.getNumberFormat(A):{}}function Xe(A,Y){a.value&&(a.value.setNumberFormat(A,Y),T.value[A]=Y)}function ct(A,Y){a.value&&a.value.mergeNumberFormat(A,Y)}const ut={get id(){return a.value?a.value.id:-1},locale:b,fallbackLocale:y,messages:g,datetimeFormats:v,numberFormats:U,get inheritLocale(){return a.value?a.value.inheritLocale:s},set inheritLocale(A){a.value&&(a.value.inheritLocale=A)},get availableLocales(){return a.value?a.value.availableLocales:Object.keys(p.value)},get modifiers(){return a.value?a.value.modifiers:d},get pluralRules(){return a.value?a.value.pluralRules:_},get isGlobal(){return a.value?a.value.isGlobal:!1},get missingWarn(){return a.value?a.value.missingWarn:N},set missingWarn(A){a.value&&(a.value.missingWarn=A)},get fallbackWarn(){return a.value?a.value.fallbackWarn:O},set fallbackWarn(A){a.value&&(a.value.missingWarn=A)},get fallbackRoot(){return a.value?a.value.fallbackRoot:S},set fallbackRoot(A){a.value&&(a.value.fallbackRoot=A)},get fallbackFormat(){return a.value?a.value.fallbackFormat:k},set fallbackFormat(A){a.value&&(a.value.fallbackFormat=A)},get warnHtmlMessage(){return a.value?a.value.warnHtmlMessage:P},set warnHtmlMessage(A){a.value&&(a.value.warnHtmlMessage=A)},get escapeParameter(){return a.value?a.value.escapeParameter:m},set escapeParameter(A){a.value&&(a.value.escapeParameter=A)},t:Se,getPostTranslationHandler:B,setPostTranslationHandler:H,getMissingHandler:q,setMissingHandler:ce,rt:be,d:nt,n:rt,tm:ot,te:me,getLocaleMessage:Ke,setLocaleMessage:je,mergeLocaleMessage:at,getDateTimeFormat:lt,setDateTimeFormat:st,mergeDateTimeFormat:Ot,getNumberFormat:it,setNumberFormat:Xe,mergeNumberFormat:ct};function ft(A){A.locale.value=u.value,A.fallbackLocale.value=c.value,Object.keys(p.value).forEach(Y=>{A.mergeLocaleMessage(Y,p.value[Y])}),Object.keys(E.value).forEach(Y=>{A.mergeDateTimeFormat(Y,E.value[Y])}),Object.keys(T.value).forEach(Y=>{A.mergeNumberFormat(Y,T.value[Y])}),A.escapeParameter=m,A.fallbackFormat=k,A.fallbackRoot=S,A.fallbackWarn=O,A.missingWarn=N,A.warnHtmlMessage=P}return t.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw De(Q.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const A=a.value=e.proxy.$i18n.__composer;n==="global"?(u.value=A.locale.value,c.value=A.fallbackLocale.value,p.value=A.messages.value,E.value=A.datetimeFormats.value,T.value=A.numberFormats.value):l&&ft(A)}),ut}if(Ja(),__INTLIFY_JIT_COMPILATION__?Mn(Ya):Mn(Ha),Ma(ma),Ra(An),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=ye();e.__INTLIFY__=!0,Ta(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const pl={class:"hb-lib-table-act-box"},_l=["onClick"],hl={href:"javascript:;",class:"hb-lib-table-main-action"},bl=["onClick"],El={href:"javascript:;",class:"hb-lib-table-more-action"},gl=["onClick"],Nl={href:"javascript:;"},Cl=["onClick"],Tl={class:"hb-lib-table-confirm-modal-content"},Ll=Ce(Re(t.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{actions:{},record:{},buttonDisplaysQuantity:{}},setup(e,{expose:n}){const r=e,{t:o}=tt(),l=t.ref(!1),a=t.ref(!1),s=t.ref(null),u=t.computed(()=>r.actions.filter(k=>k.condition!==void 0?k.condition:!0)),c=t.computed(()=>u.value.slice(0,r.buttonDisplaysQuantity)),p=t.computed(()=>u.value.slice(r.buttonDisplaysQuantity)),E=k=>{k.handler&&k.handler(r.record)},T=k=>{s.value=k,l.value=!0},N=()=>{if(s.value){a.value=!0;try{E(s.value),a.value=!1,l.value=!1}catch{a.value=!1}}},O=()=>{l.value=!1,s.value=null},S=t.computed(()=>s.value?{title:s.value.confirmTitle,content:s.value.confirmContent||s.value.confirmTitle}:{title:o("hbLibComp.hbTableAct.secendConfirm"),content:o("hbLibComp.hbTableAct.confirmContent")});return n({ADropdown:V.Dropdown,AMenu:V.Menu,AMenuItem:V.MenuItem,APopconfirm:V.Popconfirm,AModal:V.Modal,DownOutlined:Ne.DownOutlined}),(k,w)=>{const D=t.resolveComponent("a-divider"),P=t.resolveDirective("has");return t.openBlock(),t.createElementBlock("div",pl,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(c.value,(m,d)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:d},[m.needConfirm?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[m.confirmType==="modal"?t.withDirectives((t.openBlock(),t.createElementBlock("a",{key:0,href:"javascript:;",onClick:_=>T(m),class:"hb-lib-table-main-action"},[t.createTextVNode(t.toDisplayString(m.label),1)],8,_l)),[[P,m.permissionsTag||null]]):(t.openBlock(),t.createBlock(t.unref(V.Popconfirm),{key:1,title:m.confirmTitle,onConfirm:_=>E(m)},{default:t.withCtx(()=>[t.withDirectives((t.openBlock(),t.createElementBlock("a",hl,[t.createTextVNode(t.toDisplayString(m.label),1)])),[[P,m.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.withDirectives((t.openBlock(),t.createElementBlock("a",{href:"javascript:;",onClick:_=>E(m),class:"hb-lib-table-main-action"},[t.createTextVNode(t.toDisplayString(m.label),1)],8,bl)),[[P,m.permissionsTag||null]]),p.value&&p.value.length>0||d!==c.value.length-1?(t.openBlock(),t.createBlock(D,{key:0,type:"vertical"})):t.createCommentVNode("",!0)],64))],64))),128)),p.value&&p.value.length>0?(t.openBlock(),t.createBlock(t.unref(V.Dropdown),{key:0},{overlay:t.withCtx(()=>[t.createVNode(t.unref(V.Menu),null,{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(p.value,m=>(t.openBlock(),t.createBlock(t.unref(V.MenuItem),{key:m.key},{default:t.withCtx(()=>[m.needConfirm?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[m.confirmType==="modal"?t.withDirectives((t.openBlock(),t.createElementBlock("a",{key:0,href:"javascript:;",onClick:d=>T(m)},[t.createTextVNode(t.toDisplayString(m.label),1)],8,gl)),[[P,m.permissionsTag||null]]):(t.openBlock(),t.createBlock(t.unref(V.Popconfirm),{key:1,title:m.confirmTitle,onConfirm:d=>E(m)},{default:t.withCtx(()=>[t.withDirectives((t.openBlock(),t.createElementBlock("a",Nl,[t.createTextVNode(t.toDisplayString(m.label),1)])),[[P,m.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):t.withDirectives((t.openBlock(),t.createElementBlock("a",{key:1,href:"javascript:;",onClick:d=>E(m)},[t.createTextVNode(t.toDisplayString(m.label),1)],8,Cl)),[[P,m.permissionsTag||null]])]),_:2},1024))),128))]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("a",El,[t.createTextVNode(t.toDisplayString(k.$t("hbLibComp.hbTableAct.more"))+" ",1),t.createVNode(t.unref(Ne.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(V.Modal),{visible:l.value,title:S.value.title,"confirm-loading":a.value,onOk:N,onCancel:O},{default:t.withCtx(()=>[t.createElementVNode("p",Tl,t.toDisplayString(S.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-6de2c78e"]])),yl=e=>({tableWidth:t.computed(()=>{const r=Array.isArray(e)?e:e.value;return!r||r.length===0?0:r.map(o=>o.width&&Number(o.width.toString().replace("px",""))||0).reduce((o,l)=>o+l,0)})}),kl={columns:{type:Array,default:()=>[],required:!0},childColumns:{type:Array,default:()=>[]},rowHeight:{type:Number},defaultWidth:{type:[String,Number],default:150}},Ol={key:0,class:"hb-lib-list-table-act"},Sl={class:"empty-container"},Il=Ce(Re(t.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:kl,setup(e){const{t:n}=tt(),r=e,o=t.ref([]),l=t.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:a}=yl(t.computed(()=>r.columns));t.watch(()=>r.columns,c=>{const p=c.filter(E=>E!=null&&E.checked);o.value=p.map(E=>{let T={...E,title:E.title||E.label};if(!T.width)T.width=r.defaultWidth;else if(typeof T.width=="string"){const N=parseInt(T.width,10);T.width=isNaN(N)?r.defaultWidth:N}return T.resizable===void 0&&(T.resizable=!0),T})},{immediate:!0,deep:!0});const s=(c,p)=>{if(p){const E=typeof c=="string"?parseInt(c,10):c;p.width=isNaN(E)?150:E}},u=(c,p="YYYY-MM-DD HH:mm:ss")=>c?It(c).format(p):"";return(c,p)=>{const E=t.resolveComponent("a-empty"),T=t.resolveComponent("a-tooltip"),N=t.resolveComponent("HbLibCopy"),O=t.resolveComponent("a-table");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["hb-lib-list-table",{"nowrap-table":r.rowHeight}]),style:t.normalizeStyle({"--hb-lib-table-td-height":c.rowHeight&&c.rowHeight+"px"||""})},[c.$slots.tableActLeft?(t.openBlock(),t.createElementBlock("section",Ol,[t.renderSlot(c.$slots,"tableActLeft",{},void 0,!0),t.renderSlot(c.$slots,"tableActRight",{},void 0,!0)])):t.createCommentVNode("",!0),t.createVNode(O,t.mergeProps(c.$attrs,{columns:o.value,onResizeColumn:s,scroll:{x:t.unref(a),y:t.unref(l).tableHeight}}),t.createSlots({emptyText:t.withCtx(()=>[t.createElementVNode("div",Sl,[t.createVNode(E,{description:t.unref(n)("hbLibComp.hbListTable.noData")},null,8,["description"])])]),_:2},[c.$slots.headerCell?{name:"headerCell",fn:t.withCtx(({column:S})=>[t.renderSlot(c.$slots,"headerCell",{column:S},()=>[t.createTextVNode(t.toDisplayString(S.title),1)],!0)]),key:"0"}:void 0,c.$slots.bodyCell?{name:"bodyCell",fn:t.withCtx(({column:S,record:k,index:w})=>[t.renderSlot(c.$slots,"bodyCell",{column:S,record:k,index:w},void 0,!0),S&&S.needTooltip?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[S.needTooltip?(t.openBlock(),t.createBlock(T,{key:0},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(k[S.dataIndex]),1)]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(k[S.dataIndex]),1)]),_:2},1024)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),S&&S.needCopy?(t.openBlock(),t.createBlock(N,{key:1,"cp-text":k[S.dataIndex],style:{position:"relative"}},null,8,["cp-text"])):t.createCommentVNode("",!0),S&&S.needFormat?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(t.toDisplayString(u(k[S.dataIndex],S.format)),1)],64)):t.createCommentVNode("",!0)]),key:"1"}:void 0,c.$slots.expandedRowRender?{name:"expandedRowRender",fn:t.withCtx(({record:S})=>[t.renderSlot(c.$slots,"expandedRowRender",{column:c.childColumns,record:S},void 0,!0)]),key:"2"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-f27e967a"]])),Al={cpText:{type:String,default:""},K:{type:String,default:""},V:{type:String},L:{type:String},data:{type:[Array,Object]},tooltipTitle:{type:String,default:"复制"},copySuccessTip:{type:String,default:"复制成功"},cpStyle:{type:Object,default:()=>({})},classType:{type:String,default:"ab"}},br=Ce(Re(t.defineComponent({name:"HbLibCopy",__name:"copy",props:Al,setup(e){const n=e,r=t.ref();t.watchEffect(()=>{r.value=n.data});const o=t.computed(()=>{if(n.cpText)return n.cpText;let a="";if(n.data)if(Array.isArray(n.data)){if(n.K&&n.V&&n.L){const s=n.data.find(u=>u?.[n.K]===n.V);a=s?s[n.L]:""}}else n.K&&(a=n.data[n.K]);return a}),l=()=>{navigator.clipboard.writeText(o.value).then(()=>{V.message.success(n.copySuccessTip)}).catch(()=>{V.message.error("复制失败")})};return(a,s)=>{const u=t.resolveComponent("a-tooltip");return o.value?(t.openBlock(),t.createBlock(u,{key:0,title:a.tooltipTitle},{default:t.withCtx(()=>[t.createElementVNode("i",{class:t.normalizeClass(["hb-lib-copy-text-eyevue icon strongQ strong-copy",a.classType=="ab"?"ab":"normal"]),style:t.normalizeStyle({...a.cpStyle}),onClick:t.withModifiers(l,["stop","prevent"])},null,6)]),_:1},8,["title"])):t.createCommentVNode("",!0)}}}),[["__scopeId","data-v-69b8d557"]])),Pl=Object.freeze(Object.defineProperty({__proto__:null,HbLibCopy:br,HbLibListBtnsAct:vr,HbLibListForm:Ir,HbLibListMultiSelect:Pt,HbLibListPageAct:Fr,HbLibListPageContainer:Yr,HbLibListTable:Il,HbLibMutilpleSelectModal:so,HbLibTableAct:Ll},Symbol.toStringTag,{value:"Module"})),Dl={data:{type:Array,required:!0},modelValue:{type:Array,default:()=>[]},labelKey:{type:String,default:"label"},keyKey:{type:String,default:"key"},childrenKey:{type:String,default:"children"},defaultExpandKeys:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1},remote:{type:Boolean,default:!1},clickToSelect:{type:Boolean}},wl=t.defineComponent({__name:"treeNode",props:{item:{type:Object,default(){return{}}},expandedKeys:{type:Object}},emits:["toggleExpand"],setup(e,{emit:n}){const r=e,o=n,l=At("treeNode"),a=t.computed(()=>r.expandedKeys.has(r.item.key)),s=()=>{o("toggleExpand",r.item.key)};return(u,c)=>(t.openBlock(),t.createElementBlock("div",{class:"tree-node-container",style:t.normalizeStyle({paddingLeft:`${e.item.level*20}px`}),onClick:c[0]||(c[0]=p=>s())},[t.createElementVNode("span",{class:t.normalizeClass(["tree-node-icon",[a.value&&"tree-node-icon-open",t.unref(l).is("leaf",e.item.isLeaf)]])},"➡",2),t.createTextVNode(t.toDisplayString(e.item.label),1)],4))}}),Ml=Ce(t.defineComponent({name:"HbTree",__name:"tree",props:Dl,setup(e){const n=e,r=At("tree"),o=t.ref([]),l=t.ref(new Set(n.defaultExpandKeys)),a=p=>{const E=(T,N=null)=>T.map(O=>{const S=O[n.childrenKey],k={...O,originData:O,label:O[n.labelKey]||"",key:O[n.keyKey]||"",children:[],isLeaf:O.isLeaf??S.length===0,level:N?N.level+1:0,parentKey:N?N.key:null};return S.length>0&&(k.children=E(S,k)),k});return E(p)};t.watch(()=>n.data,p=>{o.value=a(p)},{deep:!0,immediate:!0});const s=t.computed(()=>{const p=o.value,E=l.value,T=[],N=[];for(let O=p.length-1;O>=0;O--)N.push(p[O]);for(;N.length>0;){const O=N.pop();if(T.push(O),E.has(O.key))for(let S=O.children.length-1;S>=0;S--)N.push(O.children[S])}return T}),u=p=>{l.value.has(p)?l.value.delete(p):l.value.add(p)},c=()=>{};return(p,E)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([t.unref(r).b()]),onClick:E[0]||(E[0]=T=>c())},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,T=>(t.openBlock(),t.createBlock(wl,{key:T.key,item:T,expandedKeys:l.value,onToggleExpand:u},null,8,["item","expandedKeys"]))),128))],2))}})),Rl=Object.freeze(Object.defineProperty({__proto__:null,default:{HbFuncCompCopy:br,HbFuncCompTree:Ml}},Symbol.toStringTag,{value:"Module"})),Fl={hbLibComp:{HbFileUploadModal:{cancel:"Cancel",clickUpload:"Click to upload",confirmImport:"Confirm import",dataImport:"Import data",downloadTemplate:"Import template download",dragFile:"Drag files here or",file:"document",fileUpload:"File import",maxSupport:"Most supported",onlySupport:"Only supports",placeSelect:"Please select",selectFile:"Please select the file to upload"},HbLogModal:{close:"closure",operateContent:"Operation content",operateLogs:"Operation log",operateTime:"Operating time",operator:"operator"},hbFormItemFilterModal:{add:"Add to",cancel:"Cancel",confirm:"Sure",moreConditionSearch:"Multiple searches",mostMore:"Optional at most",mostMoreTip:"conditions, drag and drop to adjust the sorting",noData:"No data yet",notShowTip:"No conditions shown",titleTip:"Conditions shown"},hbFormSelectFilter:{allSelect:"Select all",close:"closure"},hbLibListForm:{queryCase:"query plan"},hbLibListTableColumsSet:{allSelect:"Select all",cancelFix:"Unpin",confirm:"Sure",errorTip:"Cannot move column to fixed column position",fix:"fixed",popoverTitle:"Custom columns",title:"Table field settings"},hbListBtnsAct:{close:"Close query conditions",open:"Expand query conditions",reload:"Refresh data"},hbListPageAct:{close:"close",exitFullScreen:"Exit full screen",fullScreen:"full screen",open:"Expand",query:"Query",reset:"reset",selfDefine:"Filter query conditions"},hbListTable:{noData:"No data yet"},hbMultiSelectModal:{pleaseSelect:"Please select"},hbTableAct:{confirmContent:"Confirm content",more:"More",secendConfirm:"Second confirmation"}}},Bl={hbLibComp:{HbFileUploadModal:{cancel:"キャンセル",clickUpload:"クリックしてアップロード",confirmImport:"インポートの確認",dataImport:"データのインポート",downloadTemplate:"インポートテンプレートのダウンロード",dragFile:"ここにファイルをドラッグするか、",file:"書類",fileUpload:"ファイルのインポート",maxSupport:"最も支持されている",onlySupport:"サポートのみ",placeSelect:"選択してください",selectFile:"アップロードするファイルを選択してください"},HbLogModal:{close:"閉鎖",operateContent:"操作内容",operateLogs:"操作ログ",operateTime:"稼働時間",operator:"オペレーター"},hbFormItemFilterModal:{add:"に追加",cancel:"キャンセル",confirm:"もちろん",moreConditionSearch:"複数の検索",mostMore:"せいぜいオプション",mostMoreTip:"条件をドラッグアンドドロップして並べ替えを調整します",noData:"まだデータがありません",notShowTip:"条件が表示されていません",titleTip:"表示される条件"},hbFormSelectFilter:{allSelect:"すべて選択",close:"閉鎖"},hbLibListForm:{queryCase:"クエリプラン"},hbLibListTableColumsSet:{allSelect:"すべて選択",cancelFix:"固定を解除する",confirm:"もちろん",errorTip:"列を固定列位置に移動できません",fix:"修理済み",popoverTitle:"カスタム列",title:"テーブルフィールドの設定"},hbListBtnsAct:{close:"クエリ条件を閉じる",open:"クエリ条件を拡張する",reload:"データを更新する"},hbListPageAct:{close:"近い",exitFullScreen:"全画面表示を終了する",fullScreen:"全画面表示",open:"拡大する",query:"クエリ",reset:"リセット",selfDefine:"フィルタークエリ条件"},hbListTable:{noData:"まだデータがありません"},hbMultiSelectModal:{pleaseSelect:"選択してください"},hbTableAct:{confirmContent:"内容を確認する",more:"もっと",secendConfirm:"2回目の確認"}}},Vl={hbLibComp:{hbFormItemFilterModal:{titleTip:"已显示条件",mostMore:"最多可选",mostMoreTip:"个条件,拖拽可以调整排序",notShowTip:"未显示条件",add:"添加",noData:"暂无数据",cancel:"取消",confirm:"确定",moreConditionSearch:"多项搜索"},hbFormSelectFilter:{allSelect:"全选",close:"关闭"},hbListPageAct:{query:"查询",reset:"重置",selfDefine:"筛选查询条件",open:"展开",close:"收起",fullScreen:"全屏",exitFullScreen:"退出全屏"},hbListBtnsAct:{reload:"刷新数据",open:"展开查询条件",close:"收起查询条件"},hbTableAct:{more:"更多",secendConfirm:"二次确认",confirmContent:"确认内容"},hbMultiSelectModal:{pleaseSelect:"请选择"},hbListTable:{noData:"暂时没有数据"},hbLibListTableColumsSet:{popoverTitle:"自定义列",title:"表格字段设置",fix:"固定",cancelFix:"取消固定",allSelect:"全选",confirm:"确定",errorTip:"不能将列移动到固定列位置"},hbLibListForm:{queryCase:"查询方案"},HbFileUploadModal:{fileUpload:"文件导入",confirmImport:"确认导入",cancel:"取消",maxSupport:"最多支持",dataImport:"条数据导入",placeSelect:"请选择",file:"文件",selectFile:"请选择上传的文件",dragFile:"将文件拖到此处或",clickUpload:"点击上传",onlySupport:"仅支持",downloadTemplate:"导入模板下载"},HbLogModal:{close:"关 闭",operateLogs:"操作日志",operator:"操作人",operateTime:"操作时间",operateContent:"操作内容"}}};var kt={exports:{}},Ul=kt.exports,Er;function $l(){return Er||(Er=1,(function(e,n){(function(r,o){e.exports=o(It)})(Ul,(function(r){function o(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var l=o(r),a={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(s,u){return u==="W"?s+"周":s+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(s,u){var c=100*s+u;return c<600?"凌晨":c<900?"早上":c<1100?"上午":c<1300?"中午":c<1800?"下午":"晚上"}};return l.default.locale(a,null,!0),a}))})(kt)),kt.exports}$l();let gr={...Pl,...Rl};It.locale("zh-cn");const vl={en_US:Fl,ja_JP:Bl,zh_CN:Vl},xl=function(e){Object.keys(gr).forEach(r=>{e.use(gr[r])})};ue.install=xl,ue.location=vl,Object.defineProperty(ue,Symbol.toStringTag,{value:"Module"})}));
23
+ */const po="9.14.5";function _o(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(Me().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(Me().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(Me().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(Me().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Me().__INTLIFY_PROD_DEVTOOLS__=!1)}const ia=pe.__EXTEND_POINT__,Re=bt(ia),he={FALLBACK_TO_ROOT:ia,NOT_SUPPORTED_PRESERVE:Re(),NOT_SUPPORTED_FORMATTER:Re(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Re(),NOT_SUPPORTED_GET_CHOICE_INDEX:Re(),COMPONENT_NAME_LEGACY_COMPATIBLE:Re(),NOT_FOUND_PARENT_SCOPE:Re(),IGNORE_OBJ_FLATTEN:Re(),NOTICE_DROP_ALLOW_COMPOSITION:Re(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Re()},ho={[he.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[he.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[he.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[he.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[he.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[he.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[he.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[he.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[he.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see 👉 https://tinyurl.com/2p97mcze",[he.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function St(e,...n){return Ft(ho[e],...n)}const ca=ce.__EXTEND_POINT__,be=bt(ca),le={UNEXPECTED_RETURN_TYPE:ca,INVALID_ARGUMENT:be(),MUST_BE_CALL_SETUP_TOP:be(),NOT_INSTALLED:be(),NOT_AVAILABLE_IN_LEGACY_MODE:be(),REQUIRED_VALUE:be(),INVALID_VALUE:be(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:be(),NOT_INSTALLED_WITH_PROVIDE:be(),UNEXPECTED_ERROR:be(),NOT_COMPATIBLE_LEGACY_VUE_I18N:be(),BRIDGE_SUPPORT_VUE_2_ONLY:be(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:be(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:be(),__EXTEND_POINT__:be()};function Ue(e,...n){return Je(e,null,process.env.NODE_ENV!=="production"?{messages:bo,args:n}:void 0)}const bo={[le.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[le.INVALID_ARGUMENT]:"Invalid argument",[le.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[le.NOT_INSTALLED]:"Need to install with `app.use` function",[le.UNEXPECTED_ERROR]:"Unexpected error",[le.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[le.REQUIRED_VALUE]:"Required in value: {0}",[le.INVALID_VALUE]:"Invalid value",[le.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[le.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[le.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[le.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define ‘i18n’ option or custom block in Composition API with using local scope in Legacy API mode",[le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Yt=Pe("__translateVNode"),Wt=Pe("__datetimeParts"),Gt=Pe("__numberParts"),Kt=Pe("__enableEmitter"),jt=Pe("__disableEmitter"),go=Pe("__setPluralRules"),da=Pe("__injectWithOption"),Xt=Pe("__dispose");function it(e){if(!j(e)||Le(e))return e;for(const n in e)if(Ce(e,n))if(!n.includes("."))j(e[n])&&it(e[n]);else{const a=n.split("."),l=a.length-1;let r=e,o=!1;for(let s=0;s<l;s++){if(a[s]==="__proto__")throw new Error(`unsafe key: ${a[s]}`);if(a[s]in r||(r[a[s]]=Q()),!j(r[a[s]])){process.env.NODE_ENV!=="production"&&Se(St(he.IGNORE_OBJ_FLATTEN,{key:a[s]})),o=!0;break}r=r[a[s]]}if(o||(Le(r)?Sn.includes(a[l])||delete e[n]:(r[a[l]]=e[n],delete e[n])),!Le(r)){const s=r[a[l]];j(s)&&it(s)}}return e}function qt(e,n){const{messages:a,__i18n:l,messageResolver:r,flatJson:o}=n,s=G(a)?a:se(l)?Q():{[e]:Q()};if(se(l)&&l.forEach(c=>{if("locale"in c&&"resource"in c){const{locale:i,resource:m}=c;i?(s[i]=s[i]||Q(),Et(m,s[i])):Et(m,s)}else M(c)&&Et(JSON.parse(c),s)}),r==null&&o)for(const c in s)Ce(s,c)&&it(s[c]);return s}function fa(e){return e.type}function Eo(e,n,a){let l=j(n.messages)?n.messages:Q();"__i18nGlobal"in a&&(l=qt(e.locale.value,{messages:l,__i18n:a.__i18nGlobal}));const r=Object.keys(l);r.length&&r.forEach(o=>{e.mergeLocaleMessage(o,l[o])});{if(j(n.datetimeFormats)){const o=Object.keys(n.datetimeFormats);o.length&&o.forEach(s=>{e.mergeDateTimeFormat(s,n.datetimeFormats[s])})}if(j(n.numberFormats)){const o=Object.keys(n.numberFormats);o.length&&o.forEach(s=>{e.mergeNumberFormat(s,n.numberFormats[s])})}}}function ua(e){return t.createVNode(t.Text,null,e,0)}const ma="__INTLIFY_META__",pa=()=>[],Co=()=>!1;let _a=0;function ha(e){return((n,a,l,r)=>e(a,l,t.getCurrentInstance()||void 0,r))}const No=()=>{const e=t.getCurrentInstance();let n=null;return e&&(n=fa(e)[ma])?{[ma]:n}:null};function Lo(e={},n){const{__root:a,__injectWithOption:l}=e,r=a===void 0,o=e.flatJson,s=Fe?t.ref:t.shallowRef,c=!!e.translateExistCompatible;process.env.NODE_ENV!=="production"&&c&&an(St(he.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let i=ee(e.inheritLocale)?e.inheritLocale:!0;const m=s(a&&i?a.locale.value:M(e.locale)?e.locale:rt),C=s(a&&i?a.fallbackLocale.value:M(e.fallbackLocale)||se(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:m.value),y=s(qt(m.value,e)),E=s(G(e.datetimeFormats)?e.datetimeFormats:{[m.value]:{}}),O=s(G(e.numberFormats)?e.numberFormats:{[m.value]:{}});let S=a?a.missingWarn:ee(e.missingWarn)||ze(e.missingWarn)?e.missingWarn:!0,T=a?a.fallbackWarn:ee(e.fallbackWarn)||ze(e.fallbackWarn)?e.fallbackWarn:!0,A=a?a.fallbackRoot:ee(e.fallbackRoot)?e.fallbackRoot:!0,P=!!e.fallbackFormat,F=ne(e.missing)?e.missing:null,h=ne(e.missing)?ha(e.missing):null,p=ne(e.postTranslation)?e.postTranslation:null,_=a?a.warnHtmlMessage:ee(e.warnHtmlMessage)?e.warnHtmlMessage:!0,u=!!e.escapeParameter;const b=a?a.modifiers:G(e.modifiers)?e.modifiers:{};let N=e.pluralRules||a&&a.pluralRules,g;g=(()=>{r&&vn(null);const L={version:po,locale:m.value,fallbackLocale:C.value,messages:y.value,modifiers:b,pluralRules:N,missing:h===null?void 0:h,missingWarn:S,fallbackWarn:T,fallbackFormat:P,unresolving:!0,postTranslation:p===null?void 0:p,warnHtmlMessage:_,escapeParameter:u,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=E.value,L.numberFormats=O.value,L.__datetimeFormatters=G(g)?g.__datetimeFormatters:void 0,L.__numberFormatters=G(g)?g.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(L.__v_emitter=G(g)?g.__v_emitter:void 0);const I=no(L);return r&&vn(I),I})(),st(g,m.value,C.value);function W(){return[m.value,C.value,y.value,E.value,O.value]}const B=t.computed({get:()=>m.value,set:L=>{m.value=L,g.locale=m.value}}),K=t.computed({get:()=>C.value,set:L=>{C.value=L,g.fallbackLocale=C.value,st(g,m.value,L)}}),Z=t.computed(()=>y.value),R=t.computed(()=>E.value),v=t.computed(()=>O.value);function D(){return ne(p)?p:null}function z(L){p=L,g.postTranslation=L}function oe(){return F}function _e(L){L!==null&&(h=ha(L)),F=L,g.missing=h}function Te(L,I){return L!=="translate"||!I.resolvedMessage}const fe=(L,I,q,re,ve,It)=>{W();let at;try{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(g.fallbackContext=a?to():void 0),at=L(g)}finally{process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__,r||(g.fallbackContext=void 0)}if(q!=="translate exists"&&ie(at)&&at===yt||q==="translate exists"&&!at){const[qe,ns]=I();if(process.env.NODE_ENV!=="production"&&a&&M(qe)&&Te(q,ns)&&(A&&(kt(T,qe)||Yn(S,qe))&&Se(St(he.FALLBACK_TO_ROOT,{key:qe,type:q})),process.env.NODE_ENV!=="production")){const{__v_emitter:ya}=g;ya&&A&&ya.emit("fallback",{type:q,key:qe,to:"global",groupId:`${q}:${qe}`})}return a&&A?re(a):ve(qe)}else{if(It(at))return at;throw Ue(le.UNEXPECTED_RETURN_TYPE)}};function Ae(...L){return fe(I=>Reflect.apply(Jn,null,[I,...L]),()=>Ut(...L),"translate",I=>Reflect.apply(I.t,I,[...L]),I=>I,I=>M(I))}function we(...L){const[I,q,re]=L;if(re&&!j(re))throw Ue(le.INVALID_ARGUMENT);return Ae(I,q,de({resolvedMessage:!0},re||{}))}function Y(...L){return fe(I=>Reflect.apply(na,null,[I,...L]),()=>vt(...L),"datetime format",I=>Reflect.apply(I.d,I,[...L]),()=>Tt,I=>M(I))}function tt(...L){return fe(I=>Reflect.apply(oa,null,[I,...L]),()=>Ht(...L),"number format",I=>Reflect.apply(I.n,I,[...L]),()=>Tt,I=>M(I))}function je(L){return L.map(I=>M(I)||ie(I)||ee(I)?ua(String(I)):I)}const ct={normalize:je,interpolate:L=>L,type:"vnode"};function nt(...L){return fe(I=>{let q;const re=I;try{re.processor=ct,q=Reflect.apply(Jn,null,[re,...L])}finally{re.processor=null}return q},()=>Ut(...L),"translate",I=>I[Yt](...L),I=>[ua(I)],I=>se(I))}function dt(...L){return fe(I=>Reflect.apply(oa,null,[I,...L]),()=>Ht(...L),"number format",I=>I[Gt](...L),pa,I=>M(I)||se(I))}function ft(...L){return fe(I=>Reflect.apply(na,null,[I,...L]),()=>vt(...L),"datetime format",I=>I[Wt](...L),pa,I=>M(I)||se(I))}function ut(L){N=L,g.pluralRules=N}function w(L,I){return fe(()=>{if(!L)return!1;const q=M(I)?I:m.value,re=Xe(q),ve=g.messageResolver(re,L);return c?ve!=null:Le(ve)||Ee(ve)||M(ve)},()=>[L],"translate exists",q=>Reflect.apply(q.te,q,[L,I]),Co,q=>ee(q))}function X(L){let I=null;const q=Pn(g,C.value,m.value);for(let re=0;re<q.length;re++){const ve=y.value[q[re]]||{},It=g.messageResolver(ve,L);if(It!=null){I=It;break}}return I}function mt(L){const I=X(L);return I??(a?a.tm(L)||{}:{})}function Xe(L){return y.value[L]||{}}function pt(L,I){if(o){const q={[L]:I};for(const re in q)Ce(q,re)&&it(q[re]);I=q[L]}y.value[L]=I,g.messages=y.value}function Qt(L,I){y.value[L]=y.value[L]||{};const q={[L]:I};if(o)for(const re in q)Ce(q,re)&&it(q[re]);I=q[L],Et(I,y.value[L]),g.messages=y.value}function d(L){return E.value[L]||{}}function f(L,I){E.value[L]=I,g.datetimeFormats=E.value,la(g,L,I)}function k(L,I){E.value[L]=de(E.value[L]||{},I),g.datetimeFormats=E.value,la(g,L,I)}function x(L){return O.value[L]||{}}function ae(L,I){O.value[L]=I,g.numberFormats=O.value,sa(g,L,I)}function te(L,I){O.value[L]=de(O.value[L]||{},I),g.numberFormats=O.value,sa(g,L,I)}_a++,a&&Fe&&(t.watch(a.locale,L=>{i&&(m.value=L,g.locale=L,st(g,m.value,C.value))}),t.watch(a.fallbackLocale,L=>{i&&(C.value=L,g.fallbackLocale=L,st(g,m.value,C.value))}));const J={id:_a,locale:B,fallbackLocale:K,get inheritLocale(){return i},set inheritLocale(L){i=L,L&&a&&(m.value=a.locale.value,C.value=a.fallbackLocale.value,st(g,m.value,C.value))},get availableLocales(){return Object.keys(y.value).sort()},messages:Z,get modifiers(){return b},get pluralRules(){return N||{}},get isGlobal(){return r},get missingWarn(){return S},set missingWarn(L){S=L,g.missingWarn=S},get fallbackWarn(){return T},set fallbackWarn(L){T=L,g.fallbackWarn=T},get fallbackRoot(){return A},set fallbackRoot(L){A=L},get fallbackFormat(){return P},set fallbackFormat(L){P=L,g.fallbackFormat=P},get warnHtmlMessage(){return _},set warnHtmlMessage(L){_=L,g.warnHtmlMessage=L},get escapeParameter(){return u},set escapeParameter(L){u=L,g.escapeParameter=L},t:Ae,getLocaleMessage:Xe,setLocaleMessage:pt,mergeLocaleMessage:Qt,getPostTranslationHandler:D,setPostTranslationHandler:z,getMissingHandler:oe,setMissingHandler:_e,[go]:ut};return J.datetimeFormats=R,J.numberFormats=v,J.rt=we,J.te=w,J.tm=mt,J.d=Y,J.n=tt,J.getDateTimeFormat=d,J.setDateTimeFormat=f,J.mergeDateTimeFormat=k,J.getNumberFormat=x,J.setNumberFormat=ae,J.mergeNumberFormat=te,J[da]=l,J[Yt]=nt,J[Wt]=ft,J[Gt]=dt,process.env.NODE_ENV!=="production"&&(J[Kt]=L=>{g.__v_emitter=L},J[jt]=()=>{g.__v_emitter=void 0}),J}const zt={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function yo({slots:e},n){return n.length===1&&n[0]==="default"?(e.default?e.default():[]).reduce((l,r)=>[...l,...r.type===t.Fragment?r.children:[r]],[]):n.reduce((a,l)=>{const r=e[l];return r&&(a[l]=r()),a},Q())}function ba(e){return t.Fragment}de({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>ie(e)||!isNaN(e)}},zt);function To(e){return se(e)&&!M(e[0])}function ga(e,n,a,l){const{slots:r,attrs:o}=n;return()=>{const s={part:!0};let c=Q();e.locale&&(s.locale=e.locale),M(e.format)?s.key=e.format:j(e.format)&&(M(e.format.key)&&(s.key=e.format.key),c=Object.keys(e.format).reduce((E,O)=>a.includes(O)?de(Q(),E,{[O]:e.format[O]}):E,Q()));const i=l(e.value,s,c);let m=[s.key];se(i)?m=i.map((E,O)=>{const S=r[E.type],T=S?S({[E.type]:E.value,index:O,parts:i}):[E.value];return To(T)&&(T[0].key=`${E.type}-${O}`),T}):M(i)&&(m=[i]);const C=de(Q(),o),y=M(e.tag)||j(e.tag)?e.tag:ba();return t.h(y,C,m)}}de({value:{type:Number,required:!0},format:{type:[String,Object]}},zt),de({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},zt);function Ea(e,n){}const ko=Pe("global-vue-i18n");function Ie(e={}){const n=t.getCurrentInstance();if(n==null)throw Ue(le.MUST_BE_CALL_SETUP_TOP);if(!n.isCE&&n.appContext.app!=null&&!n.appContext.app.__VUE_I18N_SYMBOL__)throw Ue(le.NOT_INSTALLED);const a=So(n),l=Io(a),r=fa(n),o=Oo(e,r);if(__VUE_I18N_LEGACY_API__&&a.mode==="legacy"&&!e.__useComponent){if(!a.allowComposition)throw Ue(le.NOT_AVAILABLE_IN_LEGACY_MODE);return Po(n,o,l,e)}if(o==="global")return Eo(l,e,r),l;if(o==="parent"){let i=Ao(a,n,e.__useComponent);return i==null&&(process.env.NODE_ENV!=="production"&&Se(St(he.NOT_FOUND_PARENT_SCOPE)),i=l),i}const s=a;let c=s.__getInstance(n);if(c==null){const i=de({},e);"__i18n"in r&&(i.__i18n=r.__i18n),l&&(i.__root=l),c=Lo(i),s.__composerExtend&&(c[Xt]=s.__composerExtend(c)),Fo(s,n,c),s.__setInstance(n,c)}return c}function So(e){{const n=t.inject(e.isCE?ko:e.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw Ue(e.isCE?le.NOT_INSTALLED_WITH_PROVIDE:le.UNEXPECTED_ERROR);return n}}function Oo(e,n){return ht(e)?"__i18n"in n?"local":"global":e.useScope?e.useScope:"local"}function Io(e){return e.mode==="composition"?e.global:e.global.__composer}function Ao(e,n,a=!1){let l=null;const r=n.root;let o=wo(n,a);for(;o!=null;){const s=e;if(e.mode==="composition")l=s.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const c=s.__getInstance(o);c!=null&&(l=c.__composer,a&&l&&!l[da]&&(l=null))}if(l!=null||r===o)break;o=o.parent}return l}function wo(e,n=!1){return e==null?null:n&&e.vnode.ctx||e.parent}function Fo(e,n,a){let l=null;t.onMounted(()=>{if(process.env.NODE_ENV!=="production"&&n.vnode.el){n.vnode.el.__VUE_I18N__=a,l=Ba();const r=a;r[Kt]&&r[Kt](l),l.on("*",Ea)}},n),t.onUnmounted(()=>{const r=a;process.env.NODE_ENV!=="production"&&n.vnode.el&&n.vnode.el.__VUE_I18N__&&(l&&l.off("*",Ea),r[jt]&&r[jt](),delete n.vnode.el.__VUE_I18N__),e.__deleteInstance(n);const o=r[Xt];o&&(o(),delete r[Xt])},n)}function Po(e,n,a,l={}){const r=n==="local",o=t.shallowRef(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Ue(le.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const s=ee(l.inheritLocale)?l.inheritLocale:!M(l.locale),c=t.ref(!r||s?a.locale.value:M(l.locale)?l.locale:rt),i=t.ref(!r||s?a.fallbackLocale.value:M(l.fallbackLocale)||se(l.fallbackLocale)||G(l.fallbackLocale)||l.fallbackLocale===!1?l.fallbackLocale:c.value),m=t.ref(qt(c.value,l)),C=t.ref(G(l.datetimeFormats)?l.datetimeFormats:{[c.value]:{}}),y=t.ref(G(l.numberFormats)?l.numberFormats:{[c.value]:{}}),E=r?a.missingWarn:ee(l.missingWarn)||ze(l.missingWarn)?l.missingWarn:!0,O=r?a.fallbackWarn:ee(l.fallbackWarn)||ze(l.fallbackWarn)?l.fallbackWarn:!0,S=r?a.fallbackRoot:ee(l.fallbackRoot)?l.fallbackRoot:!0,T=!!l.fallbackFormat,A=ne(l.missing)?l.missing:null,P=ne(l.postTranslation)?l.postTranslation:null,F=r?a.warnHtmlMessage:ee(l.warnHtmlMessage)?l.warnHtmlMessage:!0,h=!!l.escapeParameter,p=r?a.modifiers:G(l.modifiers)?l.modifiers:{},_=l.pluralRules||r&&a.pluralRules;function u(){return[c.value,i.value,m.value,C.value,y.value]}const b=t.computed({get:()=>o.value?o.value.locale.value:c.value,set:w=>{o.value&&(o.value.locale.value=w),c.value=w}}),N=t.computed({get:()=>o.value?o.value.fallbackLocale.value:i.value,set:w=>{o.value&&(o.value.fallbackLocale.value=w),i.value=w}}),g=t.computed(()=>o.value?o.value.messages.value:m.value),H=t.computed(()=>C.value),W=t.computed(()=>y.value);function B(){return o.value?o.value.getPostTranslationHandler():P}function K(w){o.value&&o.value.setPostTranslationHandler(w)}function Z(){return o.value?o.value.getMissingHandler():A}function R(w){o.value&&o.value.setMissingHandler(w)}function v(w){return u(),w()}function D(...w){return o.value?v(()=>Reflect.apply(o.value.t,null,[...w])):v(()=>"")}function z(...w){return o.value?Reflect.apply(o.value.rt,null,[...w]):""}function oe(...w){return o.value?v(()=>Reflect.apply(o.value.d,null,[...w])):v(()=>"")}function _e(...w){return o.value?v(()=>Reflect.apply(o.value.n,null,[...w])):v(()=>"")}function Te(w){return o.value?o.value.tm(w):{}}function fe(w,X){return o.value?o.value.te(w,X):!1}function Ae(w){return o.value?o.value.getLocaleMessage(w):{}}function we(w,X){o.value&&(o.value.setLocaleMessage(w,X),m.value[w]=X)}function Y(w,X){o.value&&o.value.mergeLocaleMessage(w,X)}function tt(w){return o.value?o.value.getDateTimeFormat(w):{}}function je(w,X){o.value&&(o.value.setDateTimeFormat(w,X),C.value[w]=X)}function $(w,X){o.value&&o.value.mergeDateTimeFormat(w,X)}function ct(w){return o.value?o.value.getNumberFormat(w):{}}function nt(w,X){o.value&&(o.value.setNumberFormat(w,X),y.value[w]=X)}function dt(w,X){o.value&&o.value.mergeNumberFormat(w,X)}const ft={get id(){return o.value?o.value.id:-1},locale:b,fallbackLocale:N,messages:g,datetimeFormats:H,numberFormats:W,get inheritLocale(){return o.value?o.value.inheritLocale:s},set inheritLocale(w){o.value&&(o.value.inheritLocale=w)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(m.value)},get modifiers(){return o.value?o.value.modifiers:p},get pluralRules(){return o.value?o.value.pluralRules:_},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:E},set missingWarn(w){o.value&&(o.value.missingWarn=w)},get fallbackWarn(){return o.value?o.value.fallbackWarn:O},set fallbackWarn(w){o.value&&(o.value.missingWarn=w)},get fallbackRoot(){return o.value?o.value.fallbackRoot:S},set fallbackRoot(w){o.value&&(o.value.fallbackRoot=w)},get fallbackFormat(){return o.value?o.value.fallbackFormat:T},set fallbackFormat(w){o.value&&(o.value.fallbackFormat=w)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:F},set warnHtmlMessage(w){o.value&&(o.value.warnHtmlMessage=w)},get escapeParameter(){return o.value?o.value.escapeParameter:h},set escapeParameter(w){o.value&&(o.value.escapeParameter=w)},t:D,getPostTranslationHandler:B,setPostTranslationHandler:K,getMissingHandler:Z,setMissingHandler:R,rt:z,d:oe,n:_e,tm:Te,te:fe,getLocaleMessage:Ae,setLocaleMessage:we,mergeLocaleMessage:Y,getDateTimeFormat:tt,setDateTimeFormat:je,mergeDateTimeFormat:$,getNumberFormat:ct,setNumberFormat:nt,mergeNumberFormat:dt};function ut(w){w.locale.value=c.value,w.fallbackLocale.value=i.value,Object.keys(m.value).forEach(X=>{w.mergeLocaleMessage(X,m.value[X])}),Object.keys(C.value).forEach(X=>{w.mergeDateTimeFormat(X,C.value[X])}),Object.keys(y.value).forEach(X=>{w.mergeNumberFormat(X,y.value[X])}),w.escapeParameter=h,w.fallbackFormat=T,w.fallbackRoot=S,w.fallbackWarn=O,w.missingWarn=E,w.warnHtmlMessage=F}return t.onBeforeMount(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Ue(le.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const w=o.value=e.proxy.$i18n.__composer;n==="global"?(c.value=w.locale.value,i.value=w.fallbackLocale.value,m.value=w.messages.value,C.value=w.datetimeFormats.value,y.value=w.numberFormats.value):r&&ut(w)}),ft}if(_o(),__INTLIFY_JIT_COMPILATION__?xn(so):xn(ro),Jl(Fl),Ql(Pn),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const e=Me();e.__INTLIFY__=!0,Ul(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const Mo=["onMouseenter","onMouseleave"],Do=["onClick"],Ro=t.defineComponent({name:"HbLibFormItemFilterModal",__name:"HbFormItemFilterModal",props:Ta,emits:["confirm"],setup(e,{expose:n,emit:a}){const l=Ie().t,r=Ie().messages.value.en_US,o=Ie().messages.value.ja_JP,s=Ie().messages.value.zh_CN,c=e,i=a,m=_t("sfcm"),C=en.useRoute(),y=t.reactive({lan:window.localStorage.getItem("lan")}),E=t.ref(!1),O=t.ref(600);let S=[];const T=t.ref([]),A=t.ref([]),P=t.computed(()=>T.value.every(R=>R.isLinked||R.isFixed)),F=R=>{const v=R.draggedContext.element,D=R.relatedContext.index;if(v.isLinked||v.isFixed)return!1;const z=T.value.map((oe,_e)=>({item:oe,index:_e})).filter(({item:oe})=>oe.isLinked).map(({index:oe})=>oe);if(z.length===0)return!0;for(let oe=0;oe<z.length-1;oe++){const _e=z[oe],Te=z[oe+1];if(D>_e&&D<Te)return!1}return!0},h=()=>{const R=localStorage.getItem("pro__Login_Userinfo");let v="anonymous";if(R)try{v=JSON.parse(R).value.jobNumber||"anonymous"}catch(z){console.warn("解析用户信息失败:",z)}let D=C?.path;return`searchFormConfig_${v}_${D}`},p=R=>({ja_JP:()=>At.get(o,R.labelLanguage||""),en_US:()=>At.get(r,R.labelLanguage||""),zh_CN:()=>At.get(s,R.labelLanguage||"")})[y.lan]?.()||R.label,_=()=>{try{const R=h(),v=localStorage.getItem(R);if(v){const D=JSON.parse(v);if(D.originalList&&Array.isArray(D.originalList)){S=JSON.parse(JSON.stringify(D.originalList));const z=S.filter($=>$?.isFixed),oe=S.filter($=>$?.isLinked),_e=D.showList.filter($=>!$.isFixed&&!$.isLinked),Te=c.showNumber&&c.showNumber>0?Math.max(0,c.showNumber-z.length-oe.length):_e.length,fe=z.map($=>({...$,label:p($)||`${$.subLabel||""}${l("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:$.key,isFixed:$?.isFixed||!1,isLinked:$?.isLinked||!1,labelLanguage:$?.labelLanguage||void 0})),Ae=oe.map($=>({...$,label:p($)||`${$.subLabel||""}${l("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:$.key,isFixed:$?.isFixed||!1,isLinked:!0,labelLanguage:$?.labelLanguage||void 0})),we=_e.slice(0,Te).map($=>({...$,label:p($)||`${$.subLabel||""}${l("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:$.key,isFixed:$?.isFixed||!1,isLinked:$?.isLinked||!1,labelLanguage:$?.labelLanguage||void 0}));T.value=[...fe,...Ae,...we];const Y=T.value.map($=>$.key),je=S.map($=>$.key).filter($=>!Y.includes($));return A.value=S.filter($=>je.includes($.key)).map($=>({...$,label:p($)||`${$.subLabel||""}${l("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:$.key,isFixed:$?.isFixed||!1,isLinked:$?.isLinked||!1,active:!1,labelLanguage:$?.labelLanguage||void 0})),!0}}}catch(R){console.warn("加载保存的搜索配置失败:",R)}return!1},u=()=>{try{const R={originalList:S,showList:T.value.map(D=>({...D,key:D.key,label:D.label,isFixed:D.isFixed,isLinked:D.isLinked,labelLanguage:D?.labelLanguage||void 0}))},v=h();localStorage.setItem(v,JSON.stringify(R))}catch(R){console.warn("保存搜索配置失败:",R)}},b=t.computed(()=>{const R=T.value.filter(D=>!D.isFixed&&!D.isLinked).length,v=T.value.filter(D=>D.isFixed||D.isLinked).length;return R>=c.showNumber-v});t.watch(()=>c.list,R=>{if(!_()&&S.length===0){S=JSON.parse(JSON.stringify(R));const D=R.filter(Y=>Y?.isFixed),z=R.filter(Y=>Y?.isLinked),oe=R.filter(Y=>!Y?.isFixed&&!Y?.isLinked),_e=c.showNumber&&c.showNumber>0?Math.max(0,c.showNumber-D.length-z.length):oe.length,Te=D.map(Y=>({...Y,label:p(Y)||`${Y.subLabel||""}${l("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:Y.key,isFixed:Y?.isFixed||!1,isLinked:Y?.isLinked||!1,labelLanguage:Y?.labelLanguage||void 0})),fe=z.map(Y=>({...Y,label:p(Y)||`${Y.subLabel||""}${l("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:Y.key,isFixed:Y?.isFixed||!1,isLinked:!0,labelLanguage:Y?.labelLanguage||void 0})),Ae=oe.slice(0,_e).map(Y=>({...Y,label:p(Y)||`${Y.subLabel||""}${l("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:Y.key,isFixed:Y?.isFixed||!1,isLinked:Y?.isLinked||!1,labelLanguage:Y?.labelLanguage||void 0}));T.value=[...Te,...fe,...Ae];const we=oe.slice(_e).map(Y=>({...Y,label:p(Y)||`${Y.subLabel||""}${l("hbLibComp.hbFormItemFilterModal.moreConditionSearch")}`,key:Y.key,isFixed:Y?.isFixed||!1,isLinked:Y?.isLinked||!1,active:!1,labelLanguage:Y?.labelLanguage||void 0}));A.value=we}},{immediate:!0});const N=R=>{const v=T.value.findIndex(D=>D.key===R.key);v!==-1&&(T.value.splice(v,1),A.value.push({...R,active:!1}))},g=R=>{if(b.value)return;const v=A.value.findIndex(D=>D.key===R.key);if(v!==-1){const[D]=A.value.splice(v,1);T.value.push({...D,active:!1})}},H=()=>{E.value=!1},W=()=>{E.value=!0},B=()=>{u(),i("confirm",T.value),H()},K=R=>{const v=A.value.findIndex(D=>D.key===R.key);v!==-1&&(A.value[v].active=!0)},Z=R=>{const v=A.value.findIndex(D=>D.key===R.key);v!==-1&&(A.value[v].active=!1)};return n({toOpenModal:W}),(R,v)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(t.unref(m).b())},[t.createVNode(t.unref(V.Modal),{visible:E.value,"onUpdate:visible":v[1]||(v[1]=D=>E.value=D),width:O.value,onCancel:H,onOk:B},{title:t.withCtx(()=>[t.createElementVNode("div",{class:t.normalizeClass(t.unref(m).e("title"))},t.toDisplayString(R.title),3)]),footer:t.withCtx(()=>[t.createVNode(t.unref(V.Button),{onClick:H},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(R.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),t.createVNode(t.unref(V.Button),{type:"primary",onClick:B},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(R.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("section",{class:t.normalizeClass(t.unref(m).e("show"))},[t.createElementVNode("div",{class:t.normalizeClass(t.unref(m).e("show__title"))},[t.createElementVNode("span",{class:t.normalizeClass(t.unref(m).e("title__tip"))},t.toDisplayString(R.$t("hbLibComp.hbFormItemFilterModal.titleTip")),3),t.createElementVNode("span",null,t.toDisplayString(R.$t("hbLibComp.hbFormItemFilterModal.mostMore"))+t.toDisplayString(R.showNumber)+t.toDisplayString(R.$t("hbLibComp.hbFormItemFilterModal.mostMoreTip")),1)],2),t.createElementVNode("div",{class:t.normalizeClass(t.unref(m).e("show__tag"))},[t.createVNode(t.unref(Zt),{modelValue:T.value,"onUpdate:modelValue":v[0]||(v[0]=D=>T.value=D),"item-key":"key",tag:"div",disabled:P.value,move:F},{item:t.withCtx(({element:D})=>[t.createElementVNode("div",{class:t.normalizeClass([t.unref(m).e("show__tag__item"),t.unref(m).is("fixed",D.isFixed),t.unref(m).is("linked",D.isLinked)])},[t.createTextVNode(t.toDisplayString(D.label)+" ",1),!D.isFixed&&!D.isLinked&&R.list.length>1?(t.openBlock(),t.createBlock(t.unref(ke.CloseOutlined),{key:0,class:t.normalizeClass(t.unref(m).e("show__tag__item-close")),onClick:z=>N(D)},null,8,["class","onClick"])):t.createCommentVNode("",!0)],2)]),_:1},8,["modelValue","disabled"])],2)],2),t.createElementVNode("section",{class:t.normalizeClass(t.unref(m).e("unshow"))},[t.createElementVNode("div",{class:t.normalizeClass(t.unref(m).e("show__title"))},[t.createElementVNode("span",{class:t.normalizeClass(t.unref(m).e("title__tip"))},t.toDisplayString(R.$t("hbLibComp.hbFormItemFilterModal.notShowTip")),3)],2),t.createElementVNode("div",{class:t.normalizeClass(t.unref(m).e("unshow__tag"))},[A.value.length>0?(t.openBlock(!0),t.createElementBlock(t.Fragment,{key:0},t.renderList(A.value,D=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([t.unref(m).e("unshow__tag__item"),t.unref(m).is("fixed",D.isFixed||""),t.unref(m).is("linked",D.isLinked||"")]),key:D.key,onMouseenter:z=>K(D),onMouseleave:z=>Z(D)},[t.createTextVNode(t.toDisplayString(D.label)+" ",1),D.active?(t.openBlock(),t.createElementBlock("aside",{key:0,class:t.normalizeClass(t.unref(m).e("unshow__tag__item-add")),onClick:z=>g(D)},t.toDisplayString(R.$t("hbLibComp.hbFormItemFilterModal.add")),11,Do)):t.createCommentVNode("",!0)],42,Mo))),128)):(t.openBlock(),t.createElementBlock("div",{key:1,class:t.normalizeClass(t.unref(m).e("unshow__tag__empty"))},t.toDisplayString(R.$t("hbLibComp.hbFormItemFilterModal.noData")),3))],2)],2)]),_:1},8,["visible","width"])],2))}}),xe=(e,n)=>{const a=e.__vccOpts||e;for(const[l,r]of n)a[l]=r;return a},xo=xe(Ro,[["__scopeId","data-v-54bc009a"]]),ye=(e,n)=>(e.install=a=>{for(const l of[e,...Object.values({})])a.component(l.name,l)},e),Vo=ye(xo),Bo={items:{type:Array,required:!0},formData:{type:Object,required:!0},layoutConfig:{type:Object,default:{row:{gutter:20},col:{xs:24,sm:12,md:8,lg:6,xl:6}}},needFooter:{type:Boolean,default:!1},isFormExpanded:{type:Boolean,default:!0},needFilter:{type:Boolean,default:!0},calTableHeight:{type:Function,default:()=>{}}},$o={class:"form-footer"},Uo=ye(xe(t.defineComponent({name:"HbLibListForm",__name:"HbListForm",props:Bo,emits:["handleSearch","handleReset","handleSfcmConfirm","handleOpenOrClose"],setup(e,{expose:n,emit:a}){const l=a,r=t.inject("HB_LIST_PAGE_CONTAINER"),o=_t("form"),s=e,c=t.ref("show"),i=t.computed(()=>(console.log(s.items),[...s.items])),m=t.ref(),C=()=>{l("handleSearch")},y=()=>{l("handleReset")},E=t.ref(),O=()=>{E.value&&E.value.toOpenModal()},S=p=>{l("handleSfcmConfirm",p)},T=()=>{c.value=c.value==="show"?"hide":"show"};t.watch(()=>s.isFormExpanded,p=>{if(p){console.log(p);const _=document.querySelector("#subpackage_container");_ instanceof HTMLElement&&(_.style.overflow="hidden",setTimeout(()=>{_.style.overflow="auto"},500))}});const A=p=>{const _=p;_.style.height="",_.offsetHeight},P=p=>{const _=p;_.style.height="",_.style.overflow="",t.nextTick(()=>{r.calTableHeight&&r.calTableHeight()})},F=p=>{const _=p,u=_.querySelector(".hb-lib-form--container");if(u){const b=u.offsetHeight;_.style.height=b+"px",_.style.overflow="hidden",_.offsetHeight,requestAnimationFrame(()=>{_.style.height="0"})}},h=()=>{t.nextTick(()=>{r.calTableHeight&&r.calTableHeight()})};return n({formRef:m,SelectOption:V.SelectOption,Form:V.Form,FormItem:V.FormItem,Row:V.Row,Col:V.Col,Input:V.Input,Select:V.Select,CheckboxGroup:V.CheckboxGroup,Checkbox:V.Checkbox,DatePicker:V.DatePicker,InputNumber:V.InputNumber,RadioGroup:V.RadioGroup,Radio:V.Radio,Switch:V.Switch,Button:V.Button,Tooltip:V.Tooltip}),(p,_)=>{const u=t.resolveComponent("a-button"),b=t.resolveComponent("a-tooltip"),N=t.resolveComponent("HbLibFormItemFilterModal");return t.openBlock(),t.createElementBlock(t.Fragment,null,[t.createVNode(t.Transition,{name:"form-collapse",onEnter:A,onAfterEnter:P,onLeave:F,onAfterLeave:h},{default:t.withCtx(()=>[t.withDirectives(t.createElementVNode("div",{class:t.normalizeClass([t.unref(o).b(),"hb-lib-list-page-form-box hb-form-item-ui"])},[t.createVNode(t.unref(V.Form),t.mergeProps(p.$attrs,{model:p.formData,ref_key:"formRef",ref:m,class:["hb-lib-form--container",c.value=="show"?"":"hide"]}),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,(g,H)=>(t.openBlock(),t.createBlock(t.unref(V.FormItem),t.mergeProps({key:H,ref_for:!0},g,{name:g.key,class:g.isUnNeedBorder?"hb-lib-form-item-border--unneed":""}),t.createSlots({default:t.withCtx(()=>[g.type==="slot"?t.renderSlot(p.$slots,g.key,{key:0,formData:p.formData,item:g},void 0,!0):t.createCommentVNode("",!0),g.type==="mixin"?t.renderSlot(p.$slots,g.key,{key:1,formData:p.formData,item:g},void 0,!0):t.createCommentVNode("",!0),g.type==="input"?(t.openBlock(),t.createBlock(t.unref(V.Input),t.mergeProps({key:2,value:p.formData[g.key],"onUpdate:value":W=>p.formData[g.key]=W},{ref_for:!0},g.attrs),null,16,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="select"?(t.openBlock(),t.createBlock(t.unref(V.Select),t.mergeProps({key:3,value:p.formData[g.key],"onUpdate:value":W=>p.formData[g.key]=W},{ref_for:!0},g.attrs),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.options,(W,B)=>(t.openBlock(),t.createBlock(t.unref(V.SelectOption),{key:B,value:W.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(W.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="checkbox"?(t.openBlock(),t.createBlock(t.unref(V.CheckboxGroup),t.mergeProps({key:4,value:p.formData[g.key],"onUpdate:value":W=>p.formData[g.key]=W},{ref_for:!0},g.attrs),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.options,(W,B)=>(t.openBlock(),t.createBlock(t.unref(V.Checkbox),{key:B,value:W.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(W.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="date-picker"?(t.openBlock(),t.createBlock(t.unref(V.DatePicker),t.mergeProps({key:5,value:p.formData[g.key],"onUpdate:value":W=>p.formData[g.key]=W},{ref_for:!0},g.attrs),null,16,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="input-number"?(t.openBlock(),t.createBlock(t.unref(V.InputNumber),t.mergeProps({key:6,value:p.formData[g.key],"onUpdate:value":W=>p.formData[g.key]=W},{ref_for:!0},g.attrs),null,16,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="radio"?(t.openBlock(),t.createBlock(t.unref(V.RadioGroup),t.mergeProps({key:7,value:p.formData[g.key],"onUpdate:value":W=>p.formData[g.key]=W},{ref_for:!0},g.attrs),{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(g.options,(W,B)=>(t.openBlock(),t.createBlock(t.unref(V.Radio),{key:B,value:W.value},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(W.label),1)]),_:2},1032,["value"]))),128))]),_:2},1040,["value","onUpdate:value"])):t.createCommentVNode("",!0),g.type==="switch"?(t.openBlock(),t.createBlock(t.unref(V.Switch),t.mergeProps({key:8,checked:p.formData[g.key],"onUpdate:checked":W=>p.formData[g.key]=W},{ref_for:!0},g.attrs),null,16,["checked","onUpdate:checked"])):t.createCommentVNode("",!0)]),_:2},[g.tooltip?{name:"label",fn:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(g.label)+" ",1),t.createVNode(t.unref(V.Tooltip),{title:g.tooltip},{default:t.withCtx(()=>[t.createVNode(t.unref(ke.QuestionCircleOutlined),{style:{"margin-left":"4px",color:"#1890ff"}})]),_:1},8,["title"])]),key:"0"}:void 0]),1040,["name","class"]))),128)),t.createElementVNode("section",$o,[t.createVNode(u,{type:"primary",onClick:C,class:"hb_list_page_button"},{icon:t.withCtx(()=>[t.createVNode(t.unref(ke.SearchOutlined))]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(p.$t("hbLibComp.hbListPageAct.query")),1)]),_:1}),t.createVNode(u,{type:"link",onClick:y},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(p.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),p.needFilter?(t.openBlock(),t.createBlock(b,{key:0,title:p.$t("hbLibComp.hbListPageAct.selfDefine")},{default:t.withCtx(()=>[t.createElementVNode("span",{class:"hb-lib-form-svg",onClick:O},[..._[0]||(_[0]=[t.createElementVNode("svg",{t:"1757915025410",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"16346",width:"200",height:"200"},[t.createElementVNode("path",{d:"M910.57152 73.176615v5.750154a7.089231 7.089231 0 0 1-0.472615 2.363077 72.310154 72.310154 0 0 0-5.19877 5.356308L589.980751 444.494769a72.467692 72.467692 0 0 0-17.014154 60.494769v441.659077l-121.698462-60.100923V497.033846A72.467692 72.467692 0 0 0 433.229982 444.573538L118.940751 86.646154a75.618462 75.618462 0 0 0-5.041231-5.277539 7.089231 7.089231 0 0 1-0.393846-2.363077V73.097846h796.908308zM921.599212 0H102.399212C67.661982 0 39.383828 31.901538 39.383828 71.207385v7.876923c0 21.661538 8.664615 42.141538 23.630769 55.611077L377.146289 492.307692h-0.157538v398.257231c0 25.127385 14.414769 48.206769 37.257846 59.549539l135.010461 66.56a68.056615 68.056615 0 0 0 65.851077-2.678154 66.087385 66.087385 0 0 0 31.901539-56.871385v-464.738461h-1.024l315.076923-357.848616A75.067077 75.067077 0 0 0 984.614597 78.926769V71.207385C984.614597 31.901538 956.493982 0 921.599212 0z",fill:"#ff5000","p-id":"16347"})],-1)])])]),_:1},8,["title"])):t.createCommentVNode("",!0),t.renderSlot(p.$slots,"formBtns",{},void 0,!0)])]),_:3},16,["model","class"]),p.needFooter?(t.openBlock(),t.createElementBlock("div",{key:0,class:t.normalizeClass(t.unref(o).e("footer"))},[t.createElementVNode("div",{class:t.normalizeClass(t.unref(o).e("footer__left"))},[t.renderSlot(p.$slots,"form-footer-left",{},void 0,!0)],2),t.createElementVNode("div",{class:t.normalizeClass(t.unref(o).e("footer__right"))},[c.value=="show"?t.renderSlot(p.$slots,"form-footer-right",{key:0,formRef:m.value},()=>[t.createVNode(t.unref(V.Button),{type:"primary",onClick:y},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(p.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.createVNode(t.unref(V.Button),{type:"primary",onClick:C},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(p.$t("hbLibComp.hbListPageAct.query")),1)]),_:1})],!0):t.createCommentVNode("",!0),t.createVNode(t.unref(V.Button),{type:"primary",onClick:T},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(c.value=="show"?`${p.$t("hbLibComp.hbListPageAct.close")}`:`${p.$t("hbLibComp.hbListPageAct.open")}`),1)]),_:1})],2)],2)):t.createCommentVNode("",!0)],2),[[t.vShow,p.isFormExpanded]])]),_:3}),t.createVNode(N,{list:p.items,ref_key:"HbSfCmRef",ref:E,onConfirm:S},null,8,["list"])],64)}}}),[["__scopeId","data-v-f0b1028c"]])),vo={formItems:{type:Array,default:()=>[]},isShowSelfFilter:{type:Boolean,default:!0},isShowOpenClose:{type:Boolean,default:!0},isShowFullScreen:{type:Boolean,default:!0}},Ho={class:"hb-lib-list-page-act-box"},Yo={class:"hb-lib-list-page-breadcrumb"},Wo={class:"hb-lib-list-page-act"},Go={key:0,t:"1757915338760",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"22885",width:"200",height:"200"},Ko={key:1,t:"1757915360496",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"23904",width:"200",height:"200"},jo=ye(xe(t.defineComponent({name:"HbLibListPageAct",__name:"HbListPageAct",props:vo,emits:["handleSearch","handleReset","handleSfcmConfirm","handleOpenOrClose"],setup(e,{emit:n}){const a=t.inject("HB_LIST_PAGE_CONTAINER"),{isFullscreen:l,toggle:r}=tn.useFullscreen(a.PageContainerRef),o=t.ref(""),s=()=>{const c=en.useRoute();let i=localStorage.getItem("BreadCrumb")||"[]",m=c?.path;if(console.log("path",m),console.log("route",c),i!=="[]"){console.log("breadCrumbList",i);let C=JSON.parse(i).find(y=>y.value===m);console.log("findItem",C),C&&(o.value=C.label.replace(/-/g," / "))}};return t.onMounted(()=>{s()}),(c,i)=>{const m=t.resolveComponent("a-tooltip");return t.openBlock(),t.createElementBlock("section",Ho,[t.createElementVNode("aside",Yo,t.toDisplayString(o.value),1),t.createElementVNode("aside",Wo,[t.createVNode(m,{title:t.unref(l)?`${c.$t("hbLibComp.hbListPageAct.exitFullScreen")}`:`${c.$t("hbLibComp.hbListPageAct.fullScreen")}`,placement:"leftTop"},{default:t.withCtx(()=>[t.createElementVNode("span",{class:"hb-lib-list-page-act-svg",onClick:i[0]||(i[0]=(...C)=>t.unref(r)&&t.unref(r)(...C))},[t.unref(l)?(t.openBlock(),t.createElementBlock("svg",Ko,[...i[2]||(i[2]=[t.createElementVNode("path",{d:"M257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23905"},null,-1),t.createElementVNode("path",{d:"M896 376.32h-129.706667a106.666667 106.666667 0 0 1-106.666666-106.666667V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333c0 35.413333 28.586667 64 64 64H896c11.946667 0 21.333333 9.386667 21.333333 21.333334s-9.386667 21.333333-21.333333 21.333333zM257.706667 376.32H128c-11.946667 0-21.333333-9.386667-21.333333-21.333333s9.386667-21.333333 21.333333-21.333334h129.706667c35.413333 0 64-28.586667 64-64V128c0-11.946667 9.386667-21.333333 21.333333-21.333333s21.333333 9.386667 21.333333 21.333333v141.653333a106.666667 106.666667 0 0 1-106.666666 106.666667zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333zM343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23906"},null,-1),t.createElementVNode("path",{d:"M343.04 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333c0-35.413333-28.586667-64-64-64H128c-11.946667 0-21.333333-9.386667-21.333333-21.333334s9.386667-21.333333 21.333333-21.333333h129.706667a106.666667 106.666667 0 0 1 106.666666 106.666667V896c0 11.946667-9.813333 21.333333-21.333333 21.333333zM680.96 917.333333c-11.946667 0-21.333333-9.386667-21.333333-21.333333v-141.653333a106.666667 106.666667 0 0 1 106.666666-106.666667H896c11.946667 0 21.333333 9.386667 21.333333 21.333333s-9.386667 21.333333-21.333333 21.333334h-129.706667c-35.413333 0-64 28.586667-64 64V896c0 11.946667-9.386667 21.333333-21.333333 21.333333z",fill:"#ff5000","p-id":"23907"},null,-1)])])):(t.openBlock(),t.createElementBlock("svg",Go,[...i[1]||(i[1]=[t.createElementVNode("path",{d:"M85.333333 682.666667v128a128 128 0 0 0 128 128h128a42.666667 42.666667 0 0 0 0-85.333334H213.333333a42.666667 42.666667 0 0 1-42.666666-42.666666v-128a42.666667 42.666667 0 0 0-85.333334 0z m597.333334 256h128a128 128 0 0 0 128-128v-128a42.666667 42.666667 0 0 0-85.333334 0v128a42.666667 42.666667 0 0 1-42.666666 42.666666h-128a42.666667 42.666667 0 0 0 0 85.333334z m256-597.333334V213.333333a128 128 0 0 0-128-128h-128a42.666667 42.666667 0 0 0 0 85.333334h128a42.666667 42.666667 0 0 1 42.666666 42.666666v128a42.666667 42.666667 0 0 0 85.333334 0zM341.333333 85.333333H213.333333a128 128 0 0 0-128 128v128a42.666667 42.666667 0 0 0 85.333334 0V213.333333a42.666667 42.666667 0 0 1 42.666666-42.666666h128a42.666667 42.666667 0 0 0 0-85.333334z",fill:"#ff5000","p-id":"22886"},null,-1)])]))])]),_:1},8,["title"]),t.renderSlot(c.$slots,"listAct",{},void 0,!0)])])}}}),[["__scopeId","data-v-86c65f2f"]])),Xo={formItems:{type:Array,default:()=>[]},isShowSelfFilter:{type:Boolean,default:!0},needReload:{type:Boolean,default:!0},needOpenOrClose:{type:Boolean,default:!0}},qo={class:"hb-lib-list-btns-box"},zo={class:"hb-lib-list-btns-left"},Jo={class:"hb-lib-list-btns-right"},Qo=ye(xe(t.defineComponent({name:"HbLibListBtnsAct",__name:"HbListBtns",props:Xo,emits:["handleOpenOrClose","handleReload"],setup(e,{emit:n}){const a=n,l=t.ref(!0),r=()=>{l.value=!l.value,a("handleOpenOrClose",l.value)},o=()=>{a("handleReload")};return t.onMounted(()=>{}),(s,c)=>{const i=t.resolveComponent("a-tooltip");return t.openBlock(),t.createElementBlock("section",qo,[t.createElementVNode("aside",zo,[t.renderSlot(s.$slots,"btnsLeft",{},void 0,!0)]),t.createElementVNode("aside",Jo,[s.needReload?(t.openBlock(),t.createBlock(i,{key:0,title:s.$t("hbLibComp.hbListBtnsAct.reload")},{default:t.withCtx(()=>[t.createElementVNode("span",{class:"hb-lib-list-btns-act-svg hb-lib-list-btns-item",onClick:o},[...c[0]||(c[0]=[t.createElementVNode("svg",{t:"1759041224819",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4202",width:"200",height:"200"},[t.createElementVNode("path",{d:"M958.681412 457.499032c-6.170072-50.632177-20.854483-99.563886-43.643361-145.434552-45.779694-92.144205-122.249797-166.333021-215.325711-208.898719-20.083724-9.18513-43.810309-0.349891-52.995439 19.734833-9.18413 20.082724-0.349891 43.810309 19.733833 52.996438 159.26323 72.834239 245.755201 249.640987 205.658732 420.410622-30.735395 130.876101-129.201624 233.321087-256.187941 270.333521l-0.262918-70.800875-196.843487 114.650172 197.690222 113.176632-0.275914-74.43274c75.398438-17.911403 144.809747-54.929834 202.084849-108.039237 65.597501-60.827991 111.122274-139.186504 131.651859-226.606186 12.170197-51.828803 15.10328-104.683286 8.715276-157.089909zM408.299406-0.001l0.271915 74.43374c-75.404436 17.911403-144.820744 54.931834-202.099843 108.046235-65.6005 60.83099-111.124274 139.191503-131.651859 226.616183-7.987504 34.034364-11.994252 68.507591-11.994252 103.010809 0 17.994377 1.090659 35.996751 3.271978 53.946142 6.152077 50.59119 20.803499 99.48891 43.545392 145.333583 45.678725 92.080225 122.012871 166.270041 214.936832 208.900718 20.071728 9.209122 43.810309 0.401874 53.018432-19.670852 9.210122-20.076726 0.400875-43.810309-19.671853-53.019432-158.963324-72.92821-245.278351-249.658982-205.24886-420.22368 30.732396-130.883099 129.201624-233.333083 256.195939-270.345517l0.259919 70.801874 196.850484-114.640174L408.299406-0.001z",fill:"#ff5000","p-id":"4203"})],-1)])])]),_:1},8,["title"])):t.createCommentVNode("",!0),s.needOpenOrClose?(t.openBlock(),t.createBlock(i,{key:1,title:l.value?`${s.$t("hbLibComp.hbListBtnsAct.close")}`:`${s.$t("hbLibComp.hbListBtnsAct.open")}`},{default:t.withCtx(()=>[t.createElementVNode("span",{class:"hb-lib-list-btns-act-open hb-lib-list-btns-item",onClick:r},[l.value?(t.openBlock(),t.createBlock(t.unref(ke.UpCircleOutlined),{key:0,style:{"font-size":"21px",color:"#ff5000"}})):(t.openBlock(),t.createBlock(t.unref(ke.DownCircleOutlined),{key:1,style:{"font-size":"21px",color:"#ff5000"}}))])]),_:1},8,["title"])):t.createCommentVNode("",!0),t.renderSlot(s.$slots,"btnsRight",{},void 0,!0)])])}}}),[["__scopeId","data-v-0f819b31"]])),Zo={tableHeight:{type:Number,default:400},tabelData:{type:Array,default:()=>[]},offsetBottom:{type:Number},minHeight:{type:Number}},er=(e={})=>{const{formRef:n,offsetBottom:a=50,minHeight:l=300}=e,r=t.ref(0);let o=null,s=null,c=null,i=null,m=null;const C=()=>{m&&clearTimeout(m),m=setTimeout(()=>{requestAnimationFrame(()=>{t.nextTick(()=>{const P=document.querySelector(".ant-table"),F=document.querySelector(".ant-pagination");if(P){const h=P.getBoundingClientRect().top,p=window.innerHeight,u=(F?F.offsetHeight+20:40)+a;let b=p-h-u;b<l&&(b=l),r.value=b}})})},100)},y=()=>{const P=document.querySelector(".ant-pagination");if(P){const F=new MutationObserver(()=>{C()});return F.observe(P,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}),F}return null},E=()=>{const P=document.querySelector(".hb-lib-list-page-form-box");P&&(o=new ResizeObserver(()=>{document.querySelectorAll(".ant-tooltip").forEach(h=>{h.style.display="none"}),C()}),o.observe(P))},O=()=>{const P=document.querySelector(".hb-lib-list-page-form-box");P&&(c=new MutationObserver(()=>{setTimeout(()=>{C()},100)}),c.observe(P,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["style","class"]}))},S=()=>{i&&clearTimeout(i),i=setTimeout(()=>{C()},100)},T=()=>{window.addEventListener("resize",S),t.nextTick(()=>{E(),O(),s=y()})},A=()=>{window.removeEventListener("resize",S),o&&o.disconnect(),c&&c.disconnect(),s&&s.disconnect(),i&&clearTimeout(i),m&&clearTimeout(m)};return n&&t.watch(()=>n,()=>{setTimeout(()=>{C()},200)},{deep:!0}),t.onMounted(()=>{C(),T()}),t.onUnmounted(()=>{A()}),{tableHeight:r,calTableHeight:C}},tr=ye(t.defineComponent({name:"HbLibListPageContainer",__name:"HbListPageContainer",props:Zo,setup(e){const n=e,a=t.useTemplateRef("PageContainerRef"),{calTableHeight:l,tableHeight:r}=er({offsetBottom:n.offsetBottom||20,minHeight:n.minHeight||300}),o=t.computed(()=>r.value);return t.provide("HB_LIST_PAGE_CONTAINER",{PageContainerRef:a,tableHeight:r,calTableHeight:l}),(s,c)=>(t.openBlock(),t.createElementBlock("section",{class:"hb-lib-list-page-container",ref_key:"PageContainerRef",ref:a},[t.renderSlot(s.$slots,"header"),t.createElementVNode("section",{class:"list-page-box",style:t.normalizeStyle({"--hb-list-table-height":o.value-20+"px","--hb-list-ttable-height":s.tabelData.length?"":o.value-20+"px"})},[t.renderSlot(s.$slots,"default")],4)],512))}})),nr={style:{"font-weight":"500"}},ar={key:0,class:"hb-lib-search-tag__description"},lr={class:"hb-lib-selector-dropdown"},or={class:"hb-lib-selector-search"},rr={class:"hb-lib-selector-list"},sr=["onClick"],ir={class:"hb-lib-option-content"},cr={class:"hb-lib-option-label"},dr={key:0,class:"hb-lib-selector-empty"},fr={key:1,class:"hb-lib-selector-footer"},ur={class:"hb-lib-footer-buttons"},mr={key:2,class:"hb-lib-selector-footer"},pr={class:"hb-lib-footer-buttons"},Jt=xe(t.defineComponent({name:"HbLibListMultiSelect",__name:"HbListMultiSelect",props:t.mergeModels({title:{default:"请选择"},placeholder:{default:"点击选择"},searchPlaceholder:{default:"搜索选项"},width:{default:600},options:{default:()=>[]},multiple:{type:Boolean,default:!0},prefix:{default:""},value:{},remoteSearch:{type:Boolean,default:!1},searchValue:{default:""},maxTagCount:{default:2},tagTextLength:{default:30}},{value:{},valueModifiers:{}}),emits:t.mergeModels(["update:value","update:searchValue","change","confirm","cancel","search"],["update:value"]),setup(e,{emit:n}){const a=e,l=n,r=t.useModel(e,"value"),o=t.ref(!1),s=t.ref(""),c=t.ref([]),i=t.ref(),m=t.computed(()=>{if(a.remoteSearch||!s.value)return a.options;const _=s.value.toLowerCase();return a.options.filter(u=>u.label.toLowerCase().includes(_)||u.description?.toLowerCase().includes(_))}),C=t.computed(()=>a.prefix?`${a.prefix.length*14+8}px`:"0px"),y=t.computed(()=>m.value.length===0?!1:m.value.every(_=>c.value.includes(_.value))),E=t.computed(()=>{if(m.value.length===0)return!1;const _=m.value.filter(u=>c.value.includes(u.value)).length;return _>0&&_<m.value.length});t.watch(()=>r.value,_=>{_?c.value=Array.isArray(_)?[..._]:[_]:c.value=[]},{immediate:!0}),t.watch(()=>a.searchValue,_=>{a.remoteSearch&&_!==void 0&&(s.value=_)},{immediate:!0});const O=_=>{_&&(o.value=_,S.value=[...c.value],s.value="",setTimeout(()=>{if(i.value){const u=i.value.input||i.value.$el?.querySelector("input");u&&u.focus()}},100))},S=t.ref([]),T=()=>{c.value=[...S.value],o.value=!1,l("cancel")},A=t.ref([]),P=()=>{const _=a.multiple?c.value:c.value[0]||"",u=a.options.filter(b=>c.value.includes(b.value));A.value=u,console.log(_,u),S.value=[...c.value],r.value=_,l("update:value",_),l("change",_,u),l("confirm",_,u),o.value=!1},F=tn.useDebounceFn(_=>{const u=_!==void 0?_:s.value;a.remoteSearch&&(l("search",u),l("update:searchValue",u))},300),h=_=>{if(a.multiple){const u=new Set(c.value);u.has(_.value)?u.delete(_.value):u.add(_.value),c.value=Array.from(u)}else c.value=[_.value],P()},p=_=>{if(_.target.checked){const b=new Set(c.value);m.value.forEach(N=>{b.add(N.value)}),c.value=Array.from(b)}else{const b=new Set(m.value.map(N=>N.value));c.value=c.value.filter(N=>!b.has(N))}};return(_,u)=>{const b=t.resolveComponent("a-tag"),N=t.resolveComponent("a-input"),g=t.resolveComponent("a-checkbox"),H=t.resolveComponent("a-radio"),W=t.resolveComponent("a-button"),B=t.resolveComponent("a-select");return t.openBlock(),t.createElementBlock("div",t.mergeProps({class:"hb-lib-selector-wrapper",style:{"--prefix-width":C.value}},_.$attrs),[t.createVNode(B,{value:r.value,"onUpdate:value":u[5]||(u[5]=K=>r.value=K),mode:e.multiple?"multiple":void 0,placeholder:e.placeholder,"show-search":!0,"filter-option":!1,open:o.value,allowClear:"",maxTagCount:e.maxTagCount,options:m.value,onDropdownVisibleChange:O,onSearch:t.unref(F),"max-tag-text-length":e.tagTextLength,class:t.normalizeClass({"has-prefix":e.prefix}),"data-prefix":e.prefix,style:{width:"100%"}},{tagRender:t.withCtx(({value:K,label:Z,closable:R,option:v})=>[t.createVNode(b,{class:"hb-lib-search-tag",onClick:u[0]||(u[0]=()=>O(!0))},{default:t.withCtx(()=>[t.createElementVNode("span",nr,t.toDisplayString(Z),1),v?.description?(t.openBlock(),t.createElementBlock("span",ar," ("+t.toDisplayString(v.description)+") ",1)):t.createCommentVNode("",!0)]),_:2},1024)]),dropdownRender:t.withCtx(({menuNode:K})=>[t.createElementVNode("div",lr,[t.createElementVNode("div",or,[t.createVNode(N,{ref_key:"searchInputRef",ref:i,class:"hb-lib-selector-search-input",value:s.value,"onUpdate:value":u[1]||(u[1]=Z=>s.value=Z),placeholder:"请输入关键词搜索","allow-clear":"",onInput:u[2]||(u[2]=Z=>t.unref(F)(Z.target.value))},{prefix:t.withCtx(()=>[t.createVNode(t.unref(ke.SearchOutlined))]),_:1},8,["value"])]),t.createElementVNode("div",rr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.value,Z=>(t.openBlock(),t.createElementBlock("div",{key:Z.value,class:t.normalizeClass(["hb-lib-selector-option",{selected:c.value.includes(Z.value)}]),onClick:()=>h(Z)},[e.multiple?(t.openBlock(),t.createBlock(g,{key:0,checked:c.value.includes(Z.value),onChange:()=>h(Z),onClick:u[3]||(u[3]=t.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])):(t.openBlock(),t.createBlock(H,{key:1,checked:c.value.includes(Z.value),onChange:()=>h(Z),onClick:u[4]||(u[4]=t.withModifiers(()=>{},["stop"]))},null,8,["checked","onChange"])),t.createElementVNode("div",ir,[t.createElementVNode("div",cr,t.toDisplayString(Z.label),1)])],10,sr))),128))]),m.value.length===0?(t.openBlock(),t.createElementBlock("div",dr,t.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.noData")),1)):t.createCommentVNode("",!0),e.multiple?(t.openBlock(),t.createElementBlock("div",fr,[t.createVNode(g,{checked:y.value,indeterminate:E.value,onChange:p},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(_.$t("hbLibComp.hbFormSelectFilter.allSelect")),1)]),_:1},8,["checked","indeterminate"]),t.createElementVNode("div",ur,[t.createVNode(W,{size:"small",onClick:T},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),t.createVNode(W,{type:"primary",size:"small",onClick:P},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(_.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})])])):(t.openBlock(),t.createElementBlock("div",mr,[u[6]||(u[6]=t.createElementVNode("div",null,null,-1)),t.createElementVNode("div",pr,[t.createVNode(W,{size:"small",onClick:T},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(_.$t("hbLibComp.hbFormSelectFilter.close")),1)]),_:1})])]))])]),_:1},8,["value","mode","placeholder","open","maxTagCount","options","onSearch","max-tag-text-length","class","data-prefix"])],16)}}}),[["__scopeId","data-v-2307d348"]]);Jt.install=function(e){return e.component("HbFormSelectFilter",Jt),e};const _r={modelTitle:{type:String,default:"搜索弹窗"},modalWidth:{type:Number,default:800},tableHeight:{type:Number,default:500},tableColumn:{type:Array,default:()=>[],required:!0},tableData:{type:Array,default:()=>[]},tableKey:{type:String,default:"id"},labelKey:{type:String,default:"label"}},hr={class:"hb-lib-form-item-filter-modal-search"},br={class:"hb-lib-form-item-filter-modal-buttons"},gr={key:0},Er=ye(t.defineComponent({name:"HbLibMutilpleSelectModal",__name:"HbMutilpleSelectModal",props:_r,emits:["handleConfirm","handleCancel"],setup(e,{expose:n,emit:a}){const l=e,r=a,o=t.ref(!1),s=t.ref(""),c=t.ref(),i=t.ref(),m=t.ref([]),C=t.ref([]),y=t.ref(),E=t.reactive({searchText:"",searchedColumn:""}),O=t.computed(()=>l.tableData.map(b=>(b.id=b.id||Math.random(),b))),S=t.computed(()=>l.tableColumn.map(b=>(b.customFilterDropdown&&(b.onFilter=(N,g)=>g[b.dataIndex].toString().toLowerCase().includes(N.toLowerCase()),b.onFilterDropdownVisibleChange=N=>{N&&setTimeout(()=>{c.value?.focus()},100)}),{...b}))),T=()=>{let b="";C.value.forEach(N=>{b=b+N[l.labelKey]+","}),s.value=b.substring(0,b.length-1),o.value=!1,r("handleConfirm",C.value)},A=()=>{o.value=!1},P=()=>{o.value=!0,t.nextTick(()=>{const b=y.value?.$el?.querySelector(".ant-table-body");b&&(b.scrollTop=0)})},F=()=>{m.value=[],C.value=[]},h=()=>{s.value="",F()},p=(b,N,g)=>{N(),E.searchText=b[0],E.searchedColumn=g},_=(b,N)=>{b({confirm:!0}),E.searchText="",N()},u=(b,N)=>{m.value=b,C.value=N};return n({resetInputVal:h}),(b,N)=>{const g=t.resolveComponent("a-input"),H=t.resolveComponent("a-button"),W=t.resolveComponent("a-table"),B=t.resolveComponent("a-modal");return t.openBlock(),t.createElementBlock("div",{class:"hb-lib-multipleSelectModal-box",ref_key:"hbMultipSelectModalRef",ref:i},[t.createVNode(g,{readonly:"",onClick:P,value:s.value,"onUpdate:value":N[0]||(N[0]=K=>s.value=K),placeholder:b.$t("hbLibComp.hbMultiSelectModal.pleaseSelect")},{addonAfter:t.withCtx(()=>[t.createVNode(t.unref(ke.UnorderedListOutlined),{onClick:P})]),_:1},8,["value","placeholder"]),t.createVNode(B,{visible:o.value,"onUpdate:visible":N[1]||(N[1]=K=>o.value=K),title:b.modelTitle,width:b.modalWidth,class:"hb-lib-multipleSelectModal-modal"},{footer:t.withCtx(()=>[t.createVNode(H,{onClick:F},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1}),t.createVNode(H,{onClick:A},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.cancel")),1)]),_:1}),t.createVNode(H,{type:"primary",onClick:T},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1})]),default:t.withCtx(()=>[t.createVNode(W,{ref_key:"tableRef",ref:y,columns:S.value,dataSource:O.value,rowSelection:{selectedRowKeys:m.value,onChange:u},rowKey:K=>K[b.tableKey],scroll:{y:b.tableHeight}},{customFilterDropdown:t.withCtx(({setSelectedKeys:K,selectedKeys:Z,confirm:R,clearFilters:v,column:D})=>[t.createElementVNode("div",hr,[t.createVNode(g,{ref_key:"searchInput",ref:c,placeholder:`请输入${D.title}`,value:Z[0],class:"hb-lib-form-item-filter-modal-search-input",onChange:z=>K(z.target.value?[z.target.value]:[]),onPressEnter:z=>p(Z,R,D.dataIndex)},null,8,["placeholder","value","onChange","onPressEnter"]),t.createElementVNode("section",br,[t.createVNode(H,{class:"hb-lib-form-item-filter-modal-button",type:"ghost",onClick:z=>_(v,R)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.$t("hbLibComp.hbListPageAct.reset")),1)]),_:1},8,["onClick"]),t.createVNode(H,{type:"primary",class:"hb-lib-form-item-filter-modal-button-confirm",onClick:z=>p(Z,R,D.dataIndex)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(b.$t("hbLibComp.hbFormItemFilterModal.confirm")),1)]),_:1},8,["onClick"])])])]),customFilterIcon:t.withCtx(({filtered:K})=>[t.createVNode(t.unref(ke.SearchOutlined),{style:t.normalizeStyle({color:K?"#108ee9":void 0})},null,8,["style"])]),bodyCell:t.withCtx(({text:K,column:Z})=>[E.searchText&&E.searchedColumn===Z.dataIndex?(t.openBlock(),t.createElementBlock("span",gr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(K.toString().split(new RegExp(`(?<=${E.searchText})|(?=${E.searchText})`,"i")),(R,v)=>(t.openBlock(),t.createElementBlock(t.Fragment,null,[R.toLowerCase()===E.searchText.toLowerCase()?(t.openBlock(),t.createElementBlock("mark",{key:v,class:"highlight"},t.toDisplayString(R),1)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.createTextVNode(t.toDisplayString(R),1)],64))],64))),256))])):t.createCommentVNode("",!0)]),_:1},8,["columns","dataSource","rowSelection","rowKey","scroll"])]),_:1},8,["visible","title","width"])],512)}}})),Cr={class:"hb-lib-table-act-box"},Nr=["onClick"],Lr={href:"javascript:;",class:"hb-lib-table-main-action"},yr=["onClick"],Tr={href:"javascript:;",class:"hb-lib-table-more-action"},kr=["onClick"],Sr={href:"javascript:;"},Or=["onClick"],Ir={class:"hb-lib-table-confirm-modal-content"},Ar=ye(xe(t.defineComponent({name:"HbLibTableAct",__name:"HbTableAct",props:{actions:{},record:{},buttonDisplaysQuantity:{}},setup(e,{expose:n}){const a=e,{t:l}=Ie(),r=t.ref(!1),o=t.ref(!1),s=t.ref(null),c=t.computed(()=>a.actions.filter(T=>T.condition!==void 0?T.condition:!0)),i=t.computed(()=>c.value.slice(0,a.buttonDisplaysQuantity)),m=t.computed(()=>c.value.slice(a.buttonDisplaysQuantity)),C=T=>{T.handler&&T.handler(a.record)},y=T=>{s.value=T,r.value=!0},E=()=>{if(s.value){o.value=!0;try{C(s.value),o.value=!1,r.value=!1}catch{o.value=!1}}},O=()=>{r.value=!1,s.value=null},S=t.computed(()=>s.value?{title:s.value.confirmTitle,content:s.value.confirmContent||s.value.confirmTitle}:{title:l("hbLibComp.hbTableAct.secendConfirm"),content:l("hbLibComp.hbTableAct.confirmContent")});return n({ADropdown:V.Dropdown,AMenu:V.Menu,AMenuItem:V.MenuItem,APopconfirm:V.Popconfirm,AModal:V.Modal,DownOutlined:ke.DownOutlined}),(T,A)=>{const P=t.resolveComponent("a-divider"),F=t.resolveDirective("has");return t.openBlock(),t.createElementBlock("div",Cr,[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(i.value,(h,p)=>(t.openBlock(),t.createElementBlock(t.Fragment,{key:p},[h.needConfirm?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[h.confirmType==="modal"?t.withDirectives((t.openBlock(),t.createElementBlock("a",{key:0,href:"javascript:;",onClick:_=>y(h),class:"hb-lib-table-main-action"},[t.createTextVNode(t.toDisplayString(h.label),1)],8,Nr)),[[F,h.permissionsTag||null]]):(t.openBlock(),t.createBlock(t.unref(V.Popconfirm),{key:1,title:h.confirmTitle,onConfirm:_=>C(h)},{default:t.withCtx(()=>[t.withDirectives((t.openBlock(),t.createElementBlock("a",Lr,[t.createTextVNode(t.toDisplayString(h.label),1)])),[[F,h.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):(t.openBlock(),t.createElementBlock(t.Fragment,{key:1},[t.withDirectives((t.openBlock(),t.createElementBlock("a",{href:"javascript:;",onClick:_=>C(h),class:"hb-lib-table-main-action"},[t.createTextVNode(t.toDisplayString(h.label),1)],8,yr)),[[F,h.permissionsTag||null]]),m.value&&m.value.length>0||p!==i.value.length-1?(t.openBlock(),t.createBlock(P,{key:0,type:"vertical"})):t.createCommentVNode("",!0)],64))],64))),128)),m.value&&m.value.length>0?(t.openBlock(),t.createBlock(t.unref(V.Dropdown),{key:0},{overlay:t.withCtx(()=>[t.createVNode(t.unref(V.Menu),null,{default:t.withCtx(()=>[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(m.value,h=>(t.openBlock(),t.createBlock(t.unref(V.MenuItem),{key:h.key},{default:t.withCtx(()=>[h.needConfirm?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[h.confirmType==="modal"?t.withDirectives((t.openBlock(),t.createElementBlock("a",{key:0,href:"javascript:;",onClick:p=>y(h)},[t.createTextVNode(t.toDisplayString(h.label),1)],8,kr)),[[F,h.permissionsTag||null]]):(t.openBlock(),t.createBlock(t.unref(V.Popconfirm),{key:1,title:h.confirmTitle,onConfirm:p=>C(h)},{default:t.withCtx(()=>[t.withDirectives((t.openBlock(),t.createElementBlock("a",Sr,[t.createTextVNode(t.toDisplayString(h.label),1)])),[[F,h.permissionsTag||null]])]),_:2},1032,["title","onConfirm"]))],64)):t.withDirectives((t.openBlock(),t.createElementBlock("a",{key:1,href:"javascript:;",onClick:p=>C(h)},[t.createTextVNode(t.toDisplayString(h.label),1)],8,Or)),[[F,h.permissionsTag||null]])]),_:2},1024))),128))]),_:1})]),default:t.withCtx(()=>[t.createElementVNode("a",Tr,[t.createTextVNode(t.toDisplayString(T.$t("hbLibComp.hbTableAct.more"))+" ",1),t.createVNode(t.unref(ke.DownOutlined),{style:{"font-size":"12px","margin-left":"4px"}})])]),_:1})):t.createCommentVNode("",!0),t.createVNode(t.unref(V.Modal),{visible:r.value,title:S.value.title,"confirm-loading":o.value,onOk:E,onCancel:O},{default:t.withCtx(()=>[t.createElementVNode("p",Ir,t.toDisplayString(S.value.content),1)]),_:1},8,["visible","title","confirm-loading"])])}}}),[["__scopeId","data-v-6de2c78e"]])),wr=e=>({tableWidth:t.computed(()=>{const a=Array.isArray(e)?e:e.value;return!a||a.length===0?0:a.map(l=>l.width&&Number(l.width.toString().replace("px",""))||0).reduce((l,r)=>l+r,0)})}),Fr={columns:{type:Array,default:()=>[],required:!0},childColumns:{type:Array,default:()=>[]},rowHeight:{type:Number},defaultWidth:{type:[String,Number],default:150}},Pr={key:0,class:"hb-lib-list-table-act"},Mr={class:"empty-container"},Dr=ye(xe(t.defineComponent({name:"HbLibListTable",__name:"HbListTable",props:Fr,setup(e){const{t:n}=Ie(),a=e,l=t.ref([]),r=t.inject("HB_LIST_PAGE_CONTAINER"),{tableWidth:o}=wr(t.computed(()=>a.columns));t.watch(()=>a.columns,i=>{const m=i.filter(C=>C!=null&&C.checked);l.value=m.map(C=>{let y={...C,title:C.title||C.label};if(!y.width)y.width=a.defaultWidth;else if(typeof y.width=="string"){const E=parseInt(y.width,10);y.width=isNaN(E)?a.defaultWidth:E}return y.resizable===void 0&&(y.resizable=!0),y})},{immediate:!0,deep:!0});const s=(i,m)=>{if(m){const C=typeof i=="string"?parseInt(i,10):i;m.width=isNaN(C)?150:C}},c=(i,m="YYYY-MM-DD HH:mm:ss")=>i?wt(i).format(m):"";return(i,m)=>{const C=t.resolveComponent("a-empty"),y=t.resolveComponent("a-tooltip"),E=t.resolveComponent("HbLibCopy"),O=t.resolveComponent("a-table");return t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass(["hb-lib-list-table",{"nowrap-table":a.rowHeight}]),style:t.normalizeStyle({"--hb-lib-table-td-height":i.rowHeight&&i.rowHeight+"px"||""})},[i.$slots.tableActLeft?(t.openBlock(),t.createElementBlock("section",Pr,[t.renderSlot(i.$slots,"tableActLeft",{},void 0,!0),t.renderSlot(i.$slots,"tableActRight",{},void 0,!0)])):t.createCommentVNode("",!0),t.createVNode(O,t.mergeProps(i.$attrs,{columns:l.value,onResizeColumn:s,scroll:{x:t.unref(o),y:t.unref(r).tableHeight}}),t.createSlots({emptyText:t.withCtx(()=>[t.createElementVNode("div",Mr,[t.createVNode(C,{description:t.unref(n)("hbLibComp.hbListTable.noData")},null,8,["description"])])]),_:2},[i.$slots.headerCell?{name:"headerCell",fn:t.withCtx(({column:S})=>[t.renderSlot(i.$slots,"headerCell",{column:S},()=>[t.createTextVNode(t.toDisplayString(S.title),1)],!0)]),key:"0"}:void 0,i.$slots.bodyCell?{name:"bodyCell",fn:t.withCtx(({column:S,record:T,index:A})=>[t.renderSlot(i.$slots,"bodyCell",{column:S,record:T,index:A},void 0,!0),S&&S.needTooltip?(t.openBlock(),t.createElementBlock(t.Fragment,{key:0},[S.needTooltip?(t.openBlock(),t.createBlock(y,{key:0},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(T[S.dataIndex]),1)]),default:t.withCtx(()=>[t.createTextVNode(" "+t.toDisplayString(T[S.dataIndex]),1)]),_:2},1024)):t.createCommentVNode("",!0)],64)):t.createCommentVNode("",!0),S&&S.needCopy?(t.openBlock(),t.createBlock(E,{key:1,"cp-text":T[S.dataIndex],style:{position:"relative"}},null,8,["cp-text"])):t.createCommentVNode("",!0),S&&S.needFormat?(t.openBlock(),t.createElementBlock(t.Fragment,{key:2},[t.createTextVNode(t.toDisplayString(c(T[S.dataIndex],S.format)),1)],64)):t.createCommentVNode("",!0)]),key:"1"}:void 0,i.$slots.expandedRowRender?{name:"expandedRowRender",fn:t.withCtx(({record:S})=>[t.renderSlot(i.$slots,"expandedRowRender",{column:i.childColumns,record:S},void 0,!0)]),key:"2"}:void 0]),1040,["columns","scroll"])],6)}}}),[["__scopeId","data-v-f27e967a"]])),Rr={class:"hb-lib-table-setting-box"},xr={key:0,class:"hb-lib-table-drag-item"},Vr={key:0,class:"hb-lib-table-drag-item-act"},Br=["onClick"],$r=["onClick"],Ur={class:"hb-lib-table-set-btn-group"},vr={class:"select-all-container",style:{"margin-right":"10px"}},Hr=ye(xe(t.defineComponent({name:"HbLibTableColumnSet",__name:"HbTableColumnSet",props:{hasClean:{type:Boolean,default:!0},index:{type:Number,default:0},selectedRowKeysLength:{type:Number,default:0},change:{type:Function,default:()=>{}},tableColumns:{type:Array,default:[]},localColumns:{type:Array,default:[]}},emits:["on-get-columns","refresh","clearSelected"],setup(e,{emit:n}){const a=n,{t:l}=Ie(),r=e,o=t.ref([]),s=t.computed(()=>i.value.filter(_=>_.checked));t.ref([]);const c=t.ref(!1),i=t.ref([]),m=t.ref(null),C=t.computed(()=>s.value.length>0&&s.value.length===o.value.length),y=t.computed(()=>s.value.length>0&&s.value.length<o.value.length),E=_=>{m.value=_.oldIndex},O=_=>{const u=_.newIndex;if(o.value.some(N=>N.fixed==="left"||N.fixed==="right"||N.fixed===!0)){const N=o.value.filter(H=>H.fixed==="left").length,g=o.value.length-o.value.filter(H=>H.fixed==="right").length;if((N>0&&u<N||g<o.value.length&&u>=g)&&(V.message.warning(l("hbLibComp.hbLibListTableColumsSet.errorTip")),m.value!==null)){const H=i.value.splice(u,1)[0];i.value.splice(m.value,0,H)}}m.value=null},S=_=>{_.target.checked?i.value.forEach(b=>b.checked=!0):i.value.forEach(b=>b.checked=!1)},T=(_,u)=>{u?_.checked=!0:_.checked=!1},A=()=>{o.value=[...i.value],a("on-get-columns",o.value),c.value=!1},P=()=>{o.value=r.tableColumns.map(u=>({...u,label:u.title&&u.title.tag?F(u.title):u.title||u.title2,value:u.dataIndex,checked:u.checked||u.checked===void 0})),i.value=[...o.value];let _=[];r.tableColumns.forEach(function(u){_.push(u.dataIndex)})},F=_=>_.children[0].text,h=_=>{delete _.fixed;const u=i.value.findIndex(b=>b.value===_.value);if(u!==-1){let b=-1;for(let N=0;N<i.value.length;N++)i.value[N].fixed==="left"&&(b=N);if(b!==-1&&u!==b+1){const N=[...i.value],[g]=N.splice(u,1);N.splice(b+1,0,g),i.value=N}}},p=_=>{const u=i.value.findIndex(b=>b.value===_.value);if(u!==-1){let b=-1;for(let N=0;N<i.value.length;N++)i.value[N].fixed==="left"&&(b=N);if(b!==-1&&u!==b+1){const N=[...i.value],g=N.splice(u,1);g[0].fixed="left",N.splice(b+1,0,g[0]),i.value=N}}};return P(),(_,u)=>{const b=t.resolveComponent("a-tooltip"),N=t.resolveComponent("a-button");return t.openBlock(),t.createElementBlock("div",Rr,[t.createVNode(t.unref(V.Popover),{title:t.unref(l)("hbLibComp.hbLibListTableColumsSet.popoverTitle"),trigger:"click",placement:"leftTop",overlayClassName:"alertInfoContent",visible:c.value,"onUpdate:visible":u[1]||(u[1]=g=>c.value=g)},{content:t.withCtx(()=>[t.createVNode(t.unref(Zt),{modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=g=>i.value=g),"item-key":"value",class:"hb-lib-table-set-drag","ghost-class":"ghost",animation:"200",handle:".drag-handle",onStart:E,onEnd:O},{item:t.withCtx(({element:g})=>[g.fixed!=="right"?(t.openBlock(),t.createElementBlock("div",xr,[t.createVNode(t.unref(V.Checkbox),{checked:g.checked,onChange:H=>T(g,H.target.checked)},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(g.label),1)]),_:2},1032,["checked","onChange"]),g.checked?(t.openBlock(),t.createElementBlock("section",Vr,[t.createElementVNode("span",{class:t.normalizeClass(g.fixed?"drag-hide":"drag-handle")},"⋮⋮",2),g.fixed?(t.openBlock(),t.createBlock(b,{key:0},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(l)("hbLibComp.hbLibListTableColumsSet.cancelFix")),1)]),default:t.withCtx(()=>[t.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:H=>h(g)},[...u[2]||(u[2]=[t.createElementVNode("svg",{t:"1759048615600",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7283",width:"200",height:"200"},[t.createElementVNode("path",{d:"M771.798516 586.270988c-6.897306 8.296759-17.293245 12.894963-27.989067 12.894963h-0.299882l-175.931277-1.199532-55.178446 422.834831-0.399844 3.19875-0.399844-3.19875-55.178446-422.834831-175.931277 1.199532h-0.299882c-10.795783 0-21.191722-4.598204-27.989067-12.894963-6.897306-8.39672-8.796564-18.292854-8.596642-27.28934 0.399844-13.094885 5.697774-25.590004 14.394377-35.386177l61.87583-69.872706c15.393987-17.393206 24.790316-39.284654 26.589613-62.475596l20.292074-250.402187c0.599766-7.796954-2.199141-15.593909-7.796955-21.091761l-38.584927-38.584927c-19.692308-16.693479-21.891449-33.58688-17.79305-47.581414 5.897696-20.092152 24.690355-33.58688 45.582194-33.58688h0.199922l163.236236 0.499805h0.799688l163.236236-0.499805h0.199922c20.891839 0 39.684498 13.494729 45.582194 33.58688 4.098399 13.994533 1.899258 30.887934-17.79305 47.581414L664.940258 119.753221c-5.597813 5.597813-8.39672 13.294807-7.796955 21.091761L677.435377 391.247169c1.899258 23.190941 11.195627 45.08239 26.589613 62.475596l61.87583 69.872706c8.696603 9.796173 13.894572 22.291292 14.394377 35.386177 0.299883 8.996486-1.599375 18.89262-8.496681 27.28934z","p-id":"7284",fill:"#ff5000"})],-1)])],8,Br)]),_:2},1024)):t.createCommentVNode("",!0),g.fixed?t.createCommentVNode("",!0):(t.openBlock(),t.createBlock(b,{key:1},{title:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(l)("hbLibComp.hbLibListTableColumsSet.fix")),1)]),default:t.withCtx(()=>[t.createElementVNode("span",{class:"hb-lib-table-drag-item-act-btn",onClick:H=>p(g)},[...u[3]||(u[3]=[t.createElementVNode("svg",{t:"1759048735643",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7481",width:"200",height:"200"},[t.createElementVNode("path",{d:"M381.298 418.828h-157.703l-37.575 38.272 155.61 158.377-278.212 345.128 356.040-265.838 154.71 157.41 38.813-39.51 2.407-157.972 238.838-313.29 71.685 73.013 34.695-35.28-310.185-315.743-34.672 35.257 77.287 79.402-311.737 240.773z","p-id":"7482",fill:"#ff5000"})],-1)])],8,$r)]),_:2},1024))])):t.createCommentVNode("",!0)])):t.createCommentVNode("",!0)]),_:1},8,["modelValue"]),t.createElementVNode("div",Ur,[t.createElementVNode("div",vr,[t.createVNode(t.unref(V.Checkbox),{checked:C.value,indeterminate:y.value,onChange:S},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(l)("hbLibComp.hbLibListTableColumsSet.allSelect")),1)]),_:1},8,["checked","indeterminate"])]),t.createVNode(N,{onClick:A,type:"primary"},{default:t.withCtx(()=>[t.createTextVNode(t.toDisplayString(t.unref(l)("hbLibComp.hbLibListTableColumsSet.confirm")),1)]),_:1})])]),default:t.withCtx(()=>[t.createVNode(b,{title:t.unref(l)("hbLibComp.hbLibListTableColumsSet.title"),placement:"leftTop"},{default:t.withCtx(()=>[...u[4]||(u[4]=[t.createElementVNode("span",{class:"hb-lib-table-col-set"},[t.createElementVNode("svg",{t:"1759041858618",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"5219",width:"200",height:"200"},[t.createElementVNode("path",{d:"M460.8 49.216a102.4 102.4 0 0 1 102.4 0l323.968 187.072c31.68 18.304 51.2 52.096 51.2 88.64V576h-76.8V324.928a25.6 25.6 0 0 0-12.8-22.144L524.8 115.712a25.6 25.6 0 0 0-25.6 0L175.232 302.784a25.6 25.6 0 0 0-12.8 22.144v374.144a25.6 25.6 0 0 0 12.8 22.144L499.2 908.288a25.6 25.6 0 0 0 25.6 0l51.2-29.568v88.64l-12.8 7.424a102.4 102.4 0 0 1-102.4 0l-323.968-187.072a102.4 102.4 0 0 1-51.2-88.64V324.928c0-36.544 19.52-70.4 51.2-88.64L460.8 49.216z","p-id":"5220",fill:"#ff5000"}),t.createElementVNode("path",{d:"M345.6 512a166.4 166.4 0 1 1 332.8 0 166.4 166.4 0 0 1-332.8 0zM512 422.4a89.6 89.6 0 1 0 0 179.2 89.6 89.6 0 0 0 0-179.2zM670.208 736a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4zM670.208 896a38.4 38.4 0 0 1 38.4-38.4h256a38.4 38.4 0 0 1 0 76.8h-256a38.4 38.4 0 0 1-38.4-38.4z","p-id":"5221",fill:"#ff5000"})])],-1)])]),_:1},8,["title"])]),_:1},8,["title","visible"])])}}}),[["__scopeId","data-v-170e52e2"]])),Yr={cpText:{type:String,default:""},K:{type:String,default:""},V:{type:String},L:{type:String},data:{type:[Array,Object]},tooltipTitle:{type:String,default:"复制"},copySuccessTip:{type:String,default:"复制成功"},cpStyle:{type:Object,default:()=>({})},classType:{type:String,default:"ab"}},Ca=ye(xe(t.defineComponent({name:"HbLibCopy",__name:"copy",props:Yr,setup(e){const n=e,a=t.ref();t.watchEffect(()=>{a.value=n.data});const l=t.computed(()=>{if(n.cpText)return n.cpText;let o="";if(n.data)if(Array.isArray(n.data)){if(n.K&&n.V&&n.L){const s=n.data.find(c=>c?.[n.K]===n.V);o=s?s[n.L]:""}}else n.K&&(o=n.data[n.K]);return o}),r=()=>{navigator.clipboard.writeText(l.value).then(()=>{V.message.success(n.copySuccessTip)}).catch(()=>{V.message.error("复制失败")})};return(o,s)=>{const c=t.resolveComponent("a-tooltip");return l.value?(t.openBlock(),t.createBlock(c,{key:0,title:o.tooltipTitle},{default:t.withCtx(()=>[t.createElementVNode("i",{class:t.normalizeClass(["hb-lib-copy-text-eyevue icon strongQ strong-copy",o.classType=="ab"?"ab":"normal"]),style:t.normalizeStyle({...o.cpStyle}),onClick:t.withModifiers(r,["stop","prevent"])},null,6)]),_:1},8,["title"])):t.createCommentVNode("",!0)}}}),[["__scopeId","data-v-69b8d557"]])),Wr=Object.freeze(Object.defineProperty({__proto__:null,HbLibCopy:Ca,HbLibFormItemFilterModal:Vo,HbLibListBtnsAct:Qo,HbLibListForm:Uo,HbLibListMultiSelect:Jt,HbLibListPageAct:jo,HbLibListPageContainer:tr,HbLibListTable:Dr,HbLibMutilpleSelectModal:Er,HbLibTableAct:Ar,HbLibTableColumnSet:Hr},Symbol.toStringTag,{value:"Module"})),Gr={data:{type:Array,required:!0},modelValue:{type:Array,default:()=>[]},labelKey:{type:String,default:"label"},keyKey:{type:String,default:"key"},childrenKey:{type:String,default:"children"},defaultExpandKeys:{type:Array,default:()=>[]},multiple:{type:Boolean,default:!1},remote:{type:Boolean,default:!1},clickToSelect:{type:Boolean}},Kr=t.defineComponent({__name:"treeNode",props:{item:{type:Object,default(){return{}}},expandedKeys:{type:Object}},emits:["toggleExpand"],setup(e,{emit:n}){const a=e,l=n,r=_t("treeNode"),o=t.computed(()=>a.expandedKeys.has(a.item.key)),s=()=>{l("toggleExpand",a.item.key)};return(c,i)=>(t.openBlock(),t.createElementBlock("div",{class:"tree-node-container",style:t.normalizeStyle({paddingLeft:`${e.item.level*20}px`}),onClick:i[0]||(i[0]=m=>s())},[t.createElementVNode("span",{class:t.normalizeClass(["tree-node-icon",[o.value&&"tree-node-icon-open",t.unref(r).is("leaf",e.item.isLeaf)]])},"➡",2),t.createTextVNode(t.toDisplayString(e.item.label),1)],4))}}),jr=ye(t.defineComponent({name:"HbTree",__name:"tree",props:Gr,setup(e){const n=e,a=_t("tree"),l=t.ref([]),r=t.ref(new Set(n.defaultExpandKeys)),o=m=>{const C=(y,E=null)=>y.map(O=>{const S=O[n.childrenKey],T={...O,originData:O,label:O[n.labelKey]||"",key:O[n.keyKey]||"",children:[],isLeaf:O.isLeaf??S.length===0,level:E?E.level+1:0,parentKey:E?E.key:null};return S.length>0&&(T.children=C(S,T)),T});return C(m)};t.watch(()=>n.data,m=>{l.value=o(m)},{deep:!0,immediate:!0});const s=t.computed(()=>{const m=l.value,C=r.value,y=[],E=[];for(let O=m.length-1;O>=0;O--)E.push(m[O]);for(;E.length>0;){const O=E.pop();if(y.push(O),C.has(O.key))for(let S=O.children.length-1;S>=0;S--)E.push(O.children[S])}return y}),c=m=>{r.value.has(m)?r.value.delete(m):r.value.add(m)},i=()=>{};return(m,C)=>(t.openBlock(),t.createElementBlock("div",{class:t.normalizeClass([t.unref(a).b()]),onClick:C[0]||(C[0]=y=>i())},[(t.openBlock(!0),t.createElementBlock(t.Fragment,null,t.renderList(s.value,y=>(t.openBlock(),t.createBlock(Kr,{key:y.key,item:y,expandedKeys:r.value,onToggleExpand:c},null,8,["item","expandedKeys"]))),128))],2))}})),Xr=Object.freeze(Object.defineProperty({__proto__:null,default:{HbFuncCompCopy:Ca,HbFuncCompTree:jr}},Symbol.toStringTag,{value:"Module"})),qr={hbLibComp:{HbFileUploadModal:{cancel:"Cancel",clickUpload:"Click to upload",confirmImport:"Confirm import",dataImport:"Import data",downloadTemplate:"Import template download",dragFile:"Drag files here or",file:"document",fileUpload:"File import",maxSupport:"Most supported",onlySupport:"Only supports",placeSelect:"Please select",selectFile:"Please select the file to upload"},HbLogModal:{close:"closure",operateContent:"Operation content",operateLogs:"Operation log",operateTime:"Operating time",operator:"operator"},hbFormItemFilterModal:{add:"Add to",cancel:"Cancel",confirm:"Sure",moreConditionSearch:"Multiple searches",mostMore:"Optional at most",mostMoreTip:"conditions, drag and drop to adjust the sorting",noData:"No data yet",notShowTip:"No conditions shown",titleTip:"Conditions shown"},hbFormSelectFilter:{allSelect:"Select all",close:"closure"},hbLibListForm:{queryCase:"query plan"},hbLibListTableColumsSet:{allSelect:"Select all",cancelFix:"Unpin",confirm:"Sure",errorTip:"Cannot move column to fixed column position",fix:"fixed",popoverTitle:"Custom columns",title:"Table field settings"},hbListBtnsAct:{close:"Close query conditions",open:"Expand query conditions",reload:"Refresh data"},hbListPageAct:{close:"close",exitFullScreen:"Exit full screen",fullScreen:"full screen",open:"Expand",query:"Query",reset:"reset",selfDefine:"Filter query conditions"},hbListTable:{noData:"No data yet"},hbMultiSelectModal:{pleaseSelect:"Please select"},hbTableAct:{confirmContent:"Confirm content",more:"More",secendConfirm:"Second confirmation"}}},zr={hbLibComp:{HbFileUploadModal:{cancel:"キャンセル",clickUpload:"クリックしてアップロード",confirmImport:"インポートの確認",dataImport:"データのインポート",downloadTemplate:"インポートテンプレートのダウンロード",dragFile:"ここにファイルをドラッグするか、",file:"書類",fileUpload:"ファイルのインポート",maxSupport:"最も支持されている",onlySupport:"サポートのみ",placeSelect:"選択してください",selectFile:"アップロードするファイルを選択してください"},HbLogModal:{close:"閉鎖",operateContent:"操作内容",operateLogs:"操作ログ",operateTime:"稼働時間",operator:"オペレーター"},hbFormItemFilterModal:{add:"に追加",cancel:"キャンセル",confirm:"もちろん",moreConditionSearch:"複数の検索",mostMore:"せいぜいオプション",mostMoreTip:"条件をドラッグアンドドロップして並べ替えを調整します",noData:"まだデータがありません",notShowTip:"条件が表示されていません",titleTip:"表示される条件"},hbFormSelectFilter:{allSelect:"すべて選択",close:"閉鎖"},hbLibListForm:{queryCase:"クエリプラン"},hbLibListTableColumsSet:{allSelect:"すべて選択",cancelFix:"固定を解除する",confirm:"もちろん",errorTip:"列を固定列位置に移動できません",fix:"修理済み",popoverTitle:"カスタム列",title:"テーブルフィールドの設定"},hbListBtnsAct:{close:"クエリ条件を閉じる",open:"クエリ条件を拡張する",reload:"データを更新する"},hbListPageAct:{close:"近い",exitFullScreen:"全画面表示を終了する",fullScreen:"全画面表示",open:"拡大する",query:"クエリ",reset:"リセット",selfDefine:"フィルタークエリ条件"},hbListTable:{noData:"まだデータがありません"},hbMultiSelectModal:{pleaseSelect:"選択してください"},hbTableAct:{confirmContent:"内容を確認する",more:"もっと",secendConfirm:"2回目の確認"}}},Jr={hbLibComp:{hbFormItemFilterModal:{titleTip:"已显示条件",mostMore:"最多可选",mostMoreTip:"个条件,拖拽可以调整排序",notShowTip:"未显示条件",add:"添加",noData:"暂无数据",cancel:"取消",confirm:"确定",moreConditionSearch:"多项搜索"},hbFormSelectFilter:{allSelect:"全选",close:"关闭"},hbListPageAct:{query:"查询",reset:"重置",selfDefine:"筛选查询条件",open:"展开",close:"收起",fullScreen:"全屏",exitFullScreen:"退出全屏"},hbListBtnsAct:{reload:"刷新数据",open:"展开查询条件",close:"收起查询条件"},hbTableAct:{more:"更多",secendConfirm:"二次确认",confirmContent:"确认内容"},hbMultiSelectModal:{pleaseSelect:"请选择"},hbListTable:{noData:"暂时没有数据"},hbLibListTableColumsSet:{popoverTitle:"自定义列",title:"表格字段设置",fix:"固定",cancelFix:"取消固定",allSelect:"全选",confirm:"确定",errorTip:"不能将列移动到固定列位置"},hbLibListForm:{queryCase:"查询方案"},HbFileUploadModal:{fileUpload:"文件导入",confirmImport:"确认导入",cancel:"取消",maxSupport:"最多支持",dataImport:"条数据导入",placeSelect:"请选择",file:"文件",selectFile:"请选择上传的文件",dragFile:"将文件拖到此处或",clickUpload:"点击上传",onlySupport:"仅支持",downloadTemplate:"导入模板下载"},HbLogModal:{close:"关 闭",operateLogs:"操作日志",operator:"操作人",operateTime:"操作时间",operateContent:"操作内容"}}};var Ot={exports:{}},Qr=Ot.exports,Na;function Zr(){return Na||(Na=1,(function(e,n){(function(a,l){e.exports=l(wt)})(Qr,(function(a){function l(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var r=l(a),o={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(s,c){return c==="W"?s+"周":s+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(s,c){var i=100*s+c;return i<600?"凌晨":i<900?"早上":i<1100?"上午":i<1300?"中午":i<1800?"下午":"晚上"}};return r.default.locale(o,null,!0),o}))})(Ot)),Ot.exports}Zr();let La={...Wr,...Xr};wt.locale("zh-cn");const es={en_US:qr,ja_JP:zr,zh_CN:Jr},ts=function(e){Object.keys(La).forEach(a=>{e.use(La[a])})};ue.install=ts,ue.location=es,Object.defineProperty(ue,Symbol.toStringTag,{value:"Module"})}));