@prozorro/prozorro-ui 0.0.8 → 0.0.9-beta
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.
- package/dist/app/assets/Color-FRDS63T2-DlPAsSuC.js +1 -0
- package/dist/app/assets/{Colors.stories-B6EPF0nC.js → Colors.stories-7e9Kvci_.js} +1 -1
- package/dist/app/assets/{DocsRenderer-LL677BLK-6m2x0Slf.js → DocsRenderer-LL677BLK-Bjj1XNYP.js} +24 -24
- package/dist/app/assets/{Grid.stories-DCpTvq1h.js → Grid.stories-CDiFrqKQ.js} +1 -1
- package/dist/app/assets/PzAccordion-ChXTPL78.css +1 -0
- package/dist/app/assets/PzAccordion-DTiV4JOM.js +1 -0
- package/dist/app/assets/PzAccordion-hujlMYpG.css +1 -0
- package/dist/app/assets/PzAccordion.stories-DxsYsHwE.js +322 -0
- package/dist/app/assets/PzAccordionTable-CsabBugL.css +1 -0
- package/dist/app/assets/PzAccordionTable.stories-DNbpjx54.js +275 -0
- package/dist/app/assets/{PzArrayClamp.stories-DYjTyM_w.js → PzArrayClamp.stories-BYdoVxPw.js} +3 -3
- package/dist/app/assets/{PzBreadcrumb.stories-b4V3GARM.js → PzBreadcrumb.stories-DwATLRI2.js} +3 -3
- package/dist/app/assets/{PzBtn-Brjbpw1b.js → PzBtn-B24JwTDl.js} +1 -1
- package/dist/app/assets/{PzBtn.stories-Bu5qPhtp.js → PzBtn.stories-BRV1I_nf.js} +1 -1
- package/dist/app/assets/{PzDomHandler.stories-DqW3Mfem.js → PzDomHandler.stories-C0SwIaVU.js} +1 -1
- package/dist/app/assets/{PzDropdown.stories-CPjzWBvH.js → PzDropdown.stories-gi6eGhLV.js} +2 -2
- package/dist/app/assets/{PzGrid.stories-C1Y3nz5O.js → PzGrid.stories-v8QLnTB3.js} +1 -1
- package/dist/app/assets/{PzHint-BwKGDkUu.js → PzHint-D62JWyEp.js} +1 -1
- package/dist/app/assets/{PzHint.stories-B6l3Ocr8.js → PzHint.stories-YkWa41IH.js} +1 -1
- package/dist/app/assets/{PzIcon-Don8TXO3.js → PzIcon-Drlqf9PC.js} +1 -1
- package/dist/app/assets/{PzIcon.stories-DE4e2be_.js → PzIcon.stories-DAJBWawA.js} +1 -1
- package/dist/app/assets/{PzImage.stories-DoGwhzIO.js → PzImage.stories-CuPnUuRv.js} +1 -1
- package/dist/app/assets/PzInfoBlockLayout-5bxpq9bJ.css +1 -0
- package/dist/app/assets/PzInfoBlockLayout.stories-Bv_9N16u.js +248 -0
- package/dist/app/assets/PzInfoHint-DUCe-kk0.js +1 -0
- package/dist/app/assets/{PzInfoHint-CtK7BZOs.css → PzInfoHint-Da02XLY2.css} +1 -1
- package/dist/app/assets/PzInfoHint-SKNZ9Qnk.css +1 -0
- package/dist/app/assets/PzInfoHint.stories-8e7rIcBj.js +38 -0
- package/dist/app/assets/PzLink-BU7dMeUw.js +1 -0
- package/dist/app/assets/{PzLink.stories-D1DLILnY.js → PzLink.stories-RRRT37UH.js} +3 -3
- package/dist/app/assets/{PzModal.stories-GJIUTcxR.js → PzModal.stories-j0FW0OcM.js} +3 -3
- package/dist/app/assets/{PzNav.stories-vqArvp6y.js → PzNav.stories-BPTRR62X.js} +3 -3
- package/dist/app/assets/{PzPagination.stories-D-kZtPzf.js → PzPagination.stories-CFaLbyxd.js} +2 -2
- package/dist/app/assets/{PzRouterLink.stories-CRcNmODE.js → PzRouterLink.stories-BcMmoayC.js} +2 -2
- package/dist/app/assets/{PzScrollTo.stories-C0m8oG4O.js → PzScrollTo.stories-Gvacxovn.js} +1 -1
- package/dist/app/assets/PzSearchResultItemLayout-DtvZAeWW.css +1 -0
- package/dist/app/assets/PzSearchResultItemLayout.stories-B0EKt_OP.js +112 -0
- package/dist/app/assets/PzSkeleton-0INQyyC6.css +1 -0
- package/dist/app/assets/PzSkeleton-CYVQJkRt.css +1 -0
- package/dist/app/assets/PzSkeleton-DnpztBv3.js +1 -0
- package/dist/app/assets/PzSkeleton.stories-a9NDBt3Z.js +39 -0
- package/dist/app/assets/{PzStatus-DlvKjmG7.css → PzStatus-B_H5z0YP.css} +1 -1
- package/dist/app/assets/PzStatus-KfVGXJ4A.css +1 -0
- package/dist/app/assets/PzStatus-dVlplKB_.js +1 -0
- package/dist/app/assets/{PzStatus.stories-u5QAVco_.js → PzStatus.stories-Dzj8SM95.js} +4 -4
- package/dist/app/assets/PzTable-B73TyHoC.css +1 -0
- package/dist/app/assets/PzTable-BNMYmoRd.css +1 -0
- package/dist/app/assets/PzTable-BipugQuF.js +27 -0
- package/dist/app/assets/PzTable.stories-DcKqkFYa.js +353 -0
- package/dist/app/assets/{PzTabs.stories-CEoVVF4Z.js → PzTabs.stories-BqU667nR.js} +3 -3
- package/dist/app/assets/{PzTag-rwtmuhv6.css → PzTag-C_iRJRZc.css} +1 -1
- package/dist/app/assets/PzTag-Jn6TGUtg.css +1 -0
- package/dist/app/assets/PzTag-jiAX5zAj.js +1 -0
- package/dist/app/assets/{PzTag.stories-B2WKURWu.js → PzTag.stories-bK1-c1pG.js} +6 -6
- package/dist/app/assets/{PzText-LfRr6NF7.js → PzText-Qtpayc5y.js} +1 -1
- package/dist/app/assets/{PzText.stories-CJhqWJtS.js → PzText.stories-9Hrvi7P7.js} +1 -1
- package/dist/app/assets/{PzTextClamp.stories-B-2pPs9u.js → PzTextClamp.stories--mMfXCQg.js} +2 -2
- package/dist/app/assets/{PzValidatorXSS.stories-DqA_mla7.js → PzValidatorXSS.stories-HZEissEy.js} +1 -1
- package/dist/app/assets/{Spacing.stories-55zVSJ08.js → Spacing.stories-Cu5R7R8t.js} +1 -1
- package/dist/app/assets/{Typography.stories-DEgPTqUk.js → Typography.stories-j9AXuH47.js} +1 -1
- package/dist/app/assets/WithTooltip-65CFNBJE-BcToq9Uh.js +9 -0
- package/dist/app/assets/_commonjsHelpers-Cpj98o6Y.js +1 -0
- package/dist/app/assets/configs-DshpCAYO.js +1 -0
- package/dist/app/assets/{floating-vue-ydzBnlRK.js → floating-vue-BD2YJLen.js} +1 -1
- package/dist/app/assets/formatter-EIJCOSYU-X1jNy3Wo.js +1 -0
- package/dist/app/assets/{iframe-XnrfGA2g.js → iframe-B7Bddli1.js} +93 -93
- package/dist/app/assets/syntaxhighlighter-OH4MV7E3-DpHT8arc.js +6 -0
- package/dist/app/iframe.html +1 -1
- package/dist/app/index.json +1 -1
- package/dist/app/project.json +1 -1
- package/dist/components/PzAccordion/PzAccordion.vue.d.ts +33 -0
- package/dist/components/PzAccordion/PzAccordionContent.vue.d.ts +21 -0
- package/dist/components/PzAccordion/configs.d.ts +4 -0
- package/dist/components/PzAccordion/index.d.ts +3 -0
- package/dist/components/PzAccordion/types.d.ts +21 -0
- package/dist/components/PzAccordionTable/PzAccordionTable.vue.d.ts +43 -0
- package/dist/components/PzAccordionTable/constants.d.ts +4 -0
- package/dist/components/PzAccordionTable/index.d.ts +2 -0
- package/dist/components/PzAccordionTable/types.d.ts +28 -0
- package/dist/components/PzGrid/PzGrid.vue.d.ts +1 -1
- package/dist/components/PzGrid/PzGridItem.vue.d.ts +1 -1
- package/dist/components/PzHint/PzHint.vue.d.ts +2 -2
- package/dist/components/PzImage/PzImage.vue.d.ts +1 -1
- package/dist/components/PzInfoBlockLayout/PzInfoBlockLayout.vue.d.ts +24 -0
- package/dist/components/PzInfoBlockLayout/index.d.ts +2 -0
- package/dist/components/PzInfoBlockLayout/types.d.ts +6 -0
- package/dist/components/PzInfoHint/PzInfoHint.vue.d.ts +1 -1
- package/dist/components/PzLink/PzLink.vue.d.ts +1 -1
- package/dist/components/PzModal/PzModal.vue.d.ts +1 -1
- package/dist/components/PzRouterLink/PzRouterLink.vue.d.ts +1 -1
- package/dist/components/PzSearchResultItemLayout/PzSearchResultItemLayout.vue.d.ts +21 -0
- package/dist/components/PzSearchResultItemLayout/index.d.ts +2 -0
- package/dist/components/PzSearchResultItemLayout/types.d.ts +4 -0
- package/dist/components/PzSkeleton/PzSkeleton.vue.d.ts +8 -0
- package/dist/components/PzSkeleton/index.d.ts +2 -0
- package/dist/components/PzSkeleton/types.d.ts +6 -0
- package/dist/components/PzStatus/configs.d.ts +1 -1
- package/dist/components/PzTable/PzTable.vue.d.ts +24 -0
- package/dist/components/PzTable/PzTableData.vue.d.ts +25 -0
- package/dist/components/PzTable/PzTableHead.vue.d.ts +3 -0
- package/dist/components/PzTable/constants.d.ts +1 -0
- package/dist/components/PzTable/index.d.ts +4 -0
- package/dist/components/PzTable/types.d.ts +35 -0
- package/dist/index.d.ts +6 -0
- package/dist/package.json +7 -2
- package/dist/prozorro-ui.cjs +27 -1
- package/dist/prozorro-ui.js +6642 -1883
- package/dist/style.css +1 -1
- package/package.json +7 -2
- package/dist/app/assets/Color-FRDS63T2-C5bQ2Iuy.js +0 -1
- package/dist/app/assets/PzInfoHint.stories-CWDV-k9d.js +0 -38
- package/dist/app/assets/PzLink-BkfNrG4H.js +0 -1
- package/dist/app/assets/WithTooltip-65CFNBJE-D3ytr0gE.js +0 -9
- package/dist/app/assets/formatter-EIJCOSYU-Ca5EM9Pa.js +0 -1
- package/dist/app/assets/syntaxhighlighter-OH4MV7E3-meijqKce.js +0 -6
package/dist/prozorro-ui.cjs
CHANGED
|
@@ -1 +1,27 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("vue"),ne=require("vue-router"),Ft={class:"pz-array-clamp"},Wt={key:0,class:"pz-array-clamp__item"},jt=3,qt=o.defineComponent({name:"PzArrayClamp",__name:"PzArrayClamp",props:{list:{},count:{default:jt},expanded:{type:Boolean,default:!1},expandLabel:{default:"Показати більше"},collapseLabel:{default:"Показати менше"},btnClass:{default:""}},emits:["update:expanded"],setup(e,{emit:t}){const n=e,i=t,s=o.ref(n.expanded);o.watch(()=>n.expanded,p=>{s.value=p});const a=o.computed(()=>s.value),r=o.computed(()=>a.value?n.list:n.list.slice(0,n.count)),l=o.computed(()=>Math.max(n.list.length-n.count,0)),d=o.computed(()=>l.value>0),c=()=>{const p=!a.value;s.value=p,i("update:expanded",p)};return(p,u)=>(o.openBlock(),o.createElementBlock("ul",Ft,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(r.value,(h,f)=>(o.openBlock(),o.createElementBlock("li",{key:`${String(h)}-${f}`,class:"pz-array-clamp__item"},[o.renderSlot(p.$slots,"default",{item:h,index:f},()=>[o.createTextVNode(o.toDisplayString(h),1)],!0)]))),128)),d.value?(o.openBlock(),o.createElementBlock("li",Wt,[o.renderSlot(p.$slots,"toggle",{toggle:c,expanded:a.value,hiddenCount:l.value},()=>[o.createElementVNode("button",{type:"button",class:o.normalizeClass(["pz-array-clamp__toggle",n.btnClass]),onClick:c},o.toDisplayString(a.value?n.collapseLabel:n.expandLabel),3)],!0)])):o.createCommentVNode("",!0)]))}}),P=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n},Gt=P(qt,[["__scopeId","data-v-82bfa0b2"]]),Ut=["type","disabled"],Xt={key:0,class:"pz-btn-prefix"},Yt={key:1,class:"pz-btn-content"},Zt={key:2,class:"pz-btn-suffix"},Kt=o.defineComponent({name:"PzBtn",__name:"PzBtn",props:{variant:{default:"primary"},type:{default:"button"},disabled:{type:Boolean,default:!1}},setup(e){const t=e;return(n,i)=>(o.openBlock(),o.createElementBlock("button",{type:t.type,disabled:t.disabled,class:o.normalizeClass(["pz-btn",`pz-btn--${t.variant}`])},[n.$slots.prefix?(o.openBlock(),o.createElementBlock("span",Xt,[o.renderSlot(n.$slots,"prefix",{},void 0,!0)])):o.createCommentVNode("",!0),n.$slots.default?(o.openBlock(),o.createElementBlock("span",Yt,[o.renderSlot(n.$slots,"default",{},void 0,!0)])):o.createCommentVNode("",!0),n.$slots.suffix?(o.openBlock(),o.createElementBlock("span",Zt,[o.renderSlot(n.$slots,"suffix",{},void 0,!0)])):o.createCommentVNode("",!0)],10,Ut))}}),Qt=P(Kt,[["__scopeId","data-v-1c1e8351"]]),Te={label:"Головна",to:"/"},Jt={class:"pz-breadcrumb","aria-label":"Breadcrumb"},eo={class:"pz-breadcrumb__list"},to={class:"pz-breadcrumb__item"},oo={key:0,class:"pz-breadcrumb__link pz-breadcrumb__link--current","aria-current":"page"},no=o.defineComponent({name:"PzBreadcrumb",__name:"PzBreadcrumb",props:{items:{}},setup(e){const t=ne.useRoute(),n=e,i=l=>typeof l!="string"?l:l.split("/").map(d=>{if(!d.startsWith(":"))return d;const c=t.params[d.slice(1)];return Array.isArray(c)?c.join("/"):c??d}).join("/"),s=o.computed(()=>{const l=[];return t.matched.forEach(d=>{const c=d.meta,p=String(c.breadcrumb??c.name??d.name??"").trim();!p||d.path==="/"||l.push({label:p,to:i(d.path)})}),l}),a=o.computed(()=>{var l;return(l=n.items)!=null&&l.length?n.items.map(d=>({...d,to:i(d.to)})):s.value}),r=l=>l===a.value.length-1;return(l,d)=>(o.openBlock(),o.createElementBlock("nav",Jt,[o.createElementVNode("ul",eo,[o.createElementVNode("li",to,[o.createVNode(o.unref(ne.RouterLink),{to:o.unref(Te).to,class:"pz-breadcrumb__link"},{default:o.withCtx(()=>[o.renderSlot(l.$slots,"home",{data:o.unref(Te),index:-1,isCurrent:!1},()=>[o.createTextVNode(o.toDisplayString(o.unref(Te).label),1)],!0)]),_:3},8,["to"])]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(a.value,(c,p)=>(o.openBlock(),o.createElementBlock("li",{key:`${c.label}-${p}`,class:"pz-breadcrumb__item"},[r(p)||!c.to?(o.openBlock(),o.createElementBlock("span",oo,[o.renderSlot(l.$slots,"view",{data:c,isCurrent:r(p)||!c.to,index:p},()=>[o.createTextVNode(o.toDisplayString(c.label),1)],!0)])):(o.openBlock(),o.createBlock(o.unref(ne.RouterLink),{key:1,to:c.to,class:"pz-breadcrumb__link"},{default:o.withCtx(()=>[o.renderSlot(l.$slots,"view",{data:c,isCurrent:!1,index:p},()=>[o.createTextVNode(o.toDisplayString(c.label),1)],!0)]),_:2},1032,["to"]))]))),128))])]))}}),io=P(no,[["__scopeId","data-v-121084ee"]]),so=o.defineComponent({name:"PzGrid",__name:"PzGrid",props:{as:{default:"div"},container:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},grid:{type:Boolean,default:!0},fit:{type:Boolean,default:!1},dense:{type:Boolean,default:!1}},setup(e){const t=e,n=o.computed(()=>[{"pz-container":t.container&&!t.fluid,"pz-container-fluid":t.container&&t.fluid,"pz-grid":t.grid,"pz-grid-fit":t.grid&&t.fit,"pz-grid-dense":t.grid&&t.dense}]);return(i,s)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.as),{class:o.normalizeClass(n.value)},{default:o.withCtx(()=>[o.renderSlot(i.$slots,"default")]),_:3},8,["class"]))}}),ro=o.defineComponent({name:"PzGridItem",__name:"PzGridItem",props:{as:{default:"div"},span:{default:void 0},sm:{default:void 0},md:{default:void 0},lg:{default:void 0},xl:{default:void 0},xxl:{default:void 0},start:{default:void 0},startSm:{default:void 0},startMd:{default:void 0},startLg:{default:void 0},startXl:{default:void 0},startXxl:{default:void 0}},setup(e){const t=e,n=(a,r)=>r?r==="full"?`pz-col-${a}full`:`pz-col-${a}${r}`:null,i=(a,r)=>r?`pz-start-${a}${r}`:null,s=o.computed(()=>["pz-grid-item",n("",t.span),n("sm-",t.sm),n("md-",t.md),n("lg-",t.lg),n("xl-",t.xl),n("xxl-",t.xxl),i("",t.start),i("sm-",t.startSm),i("md-",t.startMd),i("lg-",t.startLg),i("xl-",t.startXl),i("xxl-",t.startXxl)]);return(a,r)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.as),{class:o.normalizeClass(s.value)},{default:o.withCtx(()=>[o.renderSlot(a.$slots,"default")]),_:3},8,["class"]))}}),ao=["role","aria-hidden","aria-label"],de=o.defineComponent({name:"PzIcon",__name:"PzIcon",props:{name:{},variant:{default:"outlined"},size:{default:"16"},label:{default:void 0}},setup(e){const t=e,n=o.computed(()=>({"--pz-icon-size":`var(--pz-font-size-${t.size})`})),i=o.computed(()=>t.label?"img":void 0),s=o.computed(()=>t.label?void 0:"true");return(a,r)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass([{outlined:t.variant==="outlined"},"pz-icon pz-material-icon"]),style:o.normalizeStyle(n.value),role:i.value,"aria-hidden":s.value,"aria-label":t.label},o.toDisplayString(t.name),15,ao))}}),lo=["src","alt","loading","decoding"],co=o.defineComponent({name:"PzImage",__name:"PzImage",props:{src:{},alt:{},fit:{default:"contain"},loading:{default:void 0},decoding:{default:"async"}},setup(e){const t=e,n=o.computed(()=>({"--pz-image-fit":t.fit}));return(i,s)=>(o.openBlock(),o.createElementBlock("img",{class:"pz-image",src:t.src,alt:t.alt,loading:t.loading,decoding:t.decoding,style:o.normalizeStyle(n.value)},null,12,lo))}}),po=P(co,[["__scopeId","data-v-33d59ff0"]]),uo=["top","right","bottom","left"],Qe=["start","end"],Je=uo.reduce((e,t)=>e.concat(t,t+"-"+Qe[0],t+"-"+Qe[1]),[]),ce=Math.min,J=Math.max,fo={left:"right",right:"left",bottom:"top",top:"bottom"};function Oe(e,t,n){return J(e,ce(t,n))}function oe(e,t){return typeof e=="function"?e(t):e}function I(e){return e.split("-")[0]}function H(e){return e.split("-")[1]}function yt(e){return e==="x"?"y":"x"}function je(e){return e==="y"?"height":"width"}function W(e){const t=e[0];return t==="t"||t==="b"?"y":"x"}function qe(e){return yt(W(e))}function wt(e,t,n){n===void 0&&(n=!1);const i=H(e),s=qe(e),a=je(s);let r=s==="x"?i===(n?"end":"start")?"right":"left":i==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(r=we(r)),[r,we(r)]}function ho(e){const t=we(e);return[ye(e),t,ye(t)]}function ye(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}const et=["left","right"],tt=["right","left"],mo=["top","bottom"],go=["bottom","top"];function _o(e,t,n){switch(e){case"top":case"bottom":return n?t?tt:et:t?et:tt;case"left":case"right":return t?mo:go;default:return[]}}function vo(e,t,n,i){const s=H(e);let a=_o(I(e),n==="start",i);return s&&(a=a.map(r=>r+"-"+s),t&&(a=a.concat(a.map(ye)))),a}function we(e){const t=I(e);return fo[t]+e.slice(t.length)}function yo(e){return{top:0,right:0,bottom:0,left:0,...e}}function bt(e){return typeof e!="number"?yo(e):{top:e,right:e,bottom:e,left:e}}function se(e){const{x:t,y:n,width:i,height:s}=e;return{width:i,height:s,top:n,left:t,right:t+i,bottom:n+s,x:t,y:n}}function ot(e,t,n){let{reference:i,floating:s}=e;const a=W(t),r=qe(t),l=je(r),d=I(t),c=a==="y",p=i.x+i.width/2-s.width/2,u=i.y+i.height/2-s.height/2,h=i[l]/2-s[l]/2;let f;switch(d){case"top":f={x:p,y:i.y-s.height};break;case"bottom":f={x:p,y:i.y+i.height};break;case"right":f={x:i.x+i.width,y:u};break;case"left":f={x:i.x-s.width,y:u};break;default:f={x:i.x,y:i.y}}switch(H(t)){case"start":f[r]-=h*(n&&c?-1:1);break;case"end":f[r]+=h*(n&&c?-1:1);break}return f}async function wo(e,t){var n;t===void 0&&(t={});const{x:i,y:s,platform:a,rects:r,elements:l,strategy:d}=e,{boundary:c="clippingAncestors",rootBoundary:p="viewport",elementContext:u="floating",altBoundary:h=!1,padding:f=0}=oe(t,e),m=bt(f),w=l[h?u==="floating"?"reference":"floating":u],v=se(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(w)))==null||n?w:w.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(l.floating)),boundary:c,rootBoundary:p,strategy:d})),y=u==="floating"?{x:i,y:s,width:r.floating.width,height:r.floating.height}:r.reference,b=await(a.getOffsetParent==null?void 0:a.getOffsetParent(l.floating)),z=await(a.isElement==null?void 0:a.isElement(b))?await(a.getScale==null?void 0:a.getScale(b))||{x:1,y:1}:{x:1,y:1},k=se(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:l,rect:y,offsetParent:b,strategy:d}):y);return{top:(v.top-k.top+m.top)/z.y,bottom:(k.bottom-v.bottom+m.bottom)/z.y,left:(v.left-k.left+m.left)/z.x,right:(k.right-v.right+m.right)/z.x}}const bo=50,xo=async(e,t,n)=>{const{placement:i="bottom",strategy:s="absolute",middleware:a=[],platform:r}=n,l=r.detectOverflow?r:{...r,detectOverflow:wo},d=await(r.isRTL==null?void 0:r.isRTL(t));let c=await r.getElementRects({reference:e,floating:t,strategy:s}),{x:p,y:u}=ot(c,i,d),h=i,f=0;const m={};for(let g=0;g<a.length;g++){const w=a[g];if(!w)continue;const{name:v,fn:y}=w,{x:b,y:z,data:k,reset:$}=await y({x:p,y:u,initialPlacement:i,placement:h,strategy:s,middlewareData:m,rects:c,platform:l,elements:{reference:e,floating:t}});p=b??p,u=z??u,m[v]={...m[v],...k},$&&f<bo&&(f++,typeof $=="object"&&($.placement&&(h=$.placement),$.rects&&(c=$.rects===!0?await r.getElementRects({reference:e,floating:t,strategy:s}):$.rects),{x:p,y:u}=ot(c,h,d)),g=-1)}return{x:p,y:u,placement:h,strategy:s,middlewareData:m}},zo=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:i,placement:s,rects:a,platform:r,elements:l,middlewareData:d}=t,{element:c,padding:p=0}=oe(e,t)||{};if(c==null)return{};const u=bt(p),h={x:n,y:i},f=qe(s),m=je(f),g=await r.getDimensions(c),w=f==="y",v=w?"top":"left",y=w?"bottom":"right",b=w?"clientHeight":"clientWidth",z=a.reference[m]+a.reference[f]-h[f]-a.floating[m],k=h[f]-a.reference[f],$=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c));let T=$?$[b]:0;(!T||!await(r.isElement==null?void 0:r.isElement($)))&&(T=l.floating[b]||a.floating[m]);const N=z/2-k/2,E=T/2-g[m]/2-1,_=ce(u[v],E),C=ce(u[y],E),S=_,B=T-g[m]-C,A=T/2-g[m]/2+N,K=Oe(S,A,B),F=!d.arrow&&H(s)!=null&&A!==K&&a.reference[m]/2-(A<S?_:C)-g[m]/2<0,O=F?A<S?A-S:A-B:0;return{[f]:h[f]+O,data:{[f]:K,centerOffset:A-K-O,...F&&{alignmentOffset:O}},reset:F}}});function $o(e,t,n){return(e?[...n.filter(s=>H(s)===e),...n.filter(s=>H(s)!==e)]:n.filter(s=>I(s)===s)).filter(s=>e?H(s)===e||(t?ye(s)!==s:!1):!0)}const Co=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,i,s;const{rects:a,middlewareData:r,placement:l,platform:d,elements:c}=t,{crossAxis:p=!1,alignment:u,allowedPlacements:h=Je,autoAlignment:f=!0,...m}=oe(e,t),g=u!==void 0||h===Je?$o(u||null,f,h):h,w=await d.detectOverflow(t,m),v=((n=r.autoPlacement)==null?void 0:n.index)||0,y=g[v];if(y==null)return{};const b=wt(y,a,await(d.isRTL==null?void 0:d.isRTL(c.floating)));if(l!==y)return{reset:{placement:g[0]}};const z=[w[I(y)],w[b[0]],w[b[1]]],k=[...((i=r.autoPlacement)==null?void 0:i.overflows)||[],{placement:y,overflows:z}],$=g[v+1];if($)return{data:{index:v+1,overflows:k},reset:{placement:$}};const T=k.map(_=>{const C=H(_.placement);return[_.placement,C&&p?_.overflows.slice(0,2).reduce((S,B)=>S+B,0):_.overflows[0],_.overflows]}).sort((_,C)=>_[1]-C[1]),E=((s=T.filter(_=>_[2].slice(0,H(_[0])?2:3).every(C=>C<=0))[0])==null?void 0:s[0])||T[0][0];return E!==l?{data:{index:v+1,overflows:k},reset:{placement:E}}:{}}}},ko=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,i;const{placement:s,middlewareData:a,rects:r,initialPlacement:l,platform:d,elements:c}=t,{mainAxis:p=!0,crossAxis:u=!0,fallbackPlacements:h,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:g=!0,...w}=oe(e,t);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const v=I(s),y=W(l),b=I(l)===l,z=await(d.isRTL==null?void 0:d.isRTL(c.floating)),k=h||(b||!g?[we(l)]:ho(l)),$=m!=="none";!h&&$&&k.push(...vo(l,g,m,z));const T=[l,...k],N=await d.detectOverflow(t,w),E=[];let _=((i=a.flip)==null?void 0:i.overflows)||[];if(p&&E.push(N[v]),u){const A=wt(s,r,z);E.push(N[A[0]],N[A[1]])}if(_=[..._,{placement:s,overflows:E}],!E.every(A=>A<=0)){var C,S;const A=(((C=a.flip)==null?void 0:C.index)||0)+1,K=T[A];if(K&&(!(u==="alignment"?y!==W(K):!1)||_.every(R=>W(R.placement)===y?R.overflows[0]>0:!0)))return{data:{index:A,overflows:_},reset:{placement:K}};let F=(S=_.filter(O=>O.overflows[0]<=0).sort((O,R)=>O.overflows[1]-R.overflows[1])[0])==null?void 0:S.placement;if(!F)switch(f){case"bestFit":{var B;const O=(B=_.filter(R=>{if($){const j=W(R.placement);return j===y||j==="y"}return!0}).map(R=>[R.placement,R.overflows.filter(j=>j>0).reduce((j,It)=>j+It,0)]).sort((R,j)=>R[1]-j[1])[0])==null?void 0:B[0];O&&(F=O);break}case"initialPlacement":F=l;break}if(s!==F)return{reset:{placement:F}}}return{}}}},So=new Set(["left","top"]);async function To(e,t){const{placement:n,platform:i,elements:s}=e,a=await(i.isRTL==null?void 0:i.isRTL(s.floating)),r=I(n),l=H(n),d=W(n)==="y",c=So.has(r)?-1:1,p=a&&d?-1:1,u=oe(t,e);let{mainAxis:h,crossAxis:f,alignmentAxis:m}=typeof u=="number"?{mainAxis:u,crossAxis:0,alignmentAxis:null}:{mainAxis:u.mainAxis||0,crossAxis:u.crossAxis||0,alignmentAxis:u.alignmentAxis};return l&&typeof m=="number"&&(f=l==="end"?m*-1:m),d?{x:f*p,y:h*c}:{x:h*c,y:f*p}}const Bo=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,i;const{x:s,y:a,placement:r,middlewareData:l}=t,d=await To(t,e);return r===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:s+d.x,y:a+d.y,data:{...d,placement:r}}}}},Po=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:i,placement:s,platform:a}=t,{mainAxis:r=!0,crossAxis:l=!1,limiter:d={fn:v=>{let{x:y,y:b}=v;return{x:y,y:b}}},...c}=oe(e,t),p={x:n,y:i},u=await a.detectOverflow(t,c),h=W(I(s)),f=yt(h);let m=p[f],g=p[h];if(r){const v=f==="y"?"top":"left",y=f==="y"?"bottom":"right",b=m+u[v],z=m-u[y];m=Oe(b,m,z)}if(l){const v=h==="y"?"top":"left",y=h==="y"?"bottom":"right",b=g+u[v],z=g-u[y];g=Oe(b,g,z)}const w=d.fn({...t,[f]:m,[h]:g});return{...w,data:{x:w.x-n,y:w.y-i,enabled:{[f]:r,[h]:l}}}}}},Eo=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,i;const{placement:s,rects:a,platform:r,elements:l}=t,{apply:d=()=>{},...c}=oe(e,t),p=await r.detectOverflow(t,c),u=I(s),h=H(s),f=W(s)==="y",{width:m,height:g}=a.floating;let w,v;u==="top"||u==="bottom"?(w=u,v=h===(await(r.isRTL==null?void 0:r.isRTL(l.floating))?"start":"end")?"left":"right"):(v=u,w=h==="end"?"top":"bottom");const y=g-p.top-p.bottom,b=m-p.left-p.right,z=ce(g-p[w],y),k=ce(m-p[v],b),$=!t.middlewareData.shift;let T=z,N=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(N=b),(i=t.middlewareData.shift)!=null&&i.enabled.y&&(T=y),$&&!h){const _=J(p.left,0),C=J(p.right,0),S=J(p.top,0),B=J(p.bottom,0);f?N=m-2*(_!==0||C!==0?_+C:J(p.left,p.right)):T=g-2*(S!==0||B!==0?S+B:J(p.top,p.bottom))}await d({...t,availableWidth:N,availableHeight:T});const E=await r.getDimensions(l.floating);return m!==E.width||g!==E.height?{reset:{rects:!0}}:{}}}};function L(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function M(e){return L(e).getComputedStyle(e)}const nt=Math.min,re=Math.max,be=Math.round;function xt(e){const t=M(e);let n=parseFloat(t.width),i=parseFloat(t.height);const s=e.offsetWidth,a=e.offsetHeight,r=be(n)!==s||be(i)!==a;return r&&(n=s,i=a),{width:n,height:i,fallback:r}}function Z(e){return $t(e)?(e.nodeName||"").toLowerCase():""}let he;function zt(){if(he)return he;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(he=e.brands.map(t=>t.brand+"/"+t.version).join(" "),he):navigator.userAgent}function V(e){return e instanceof L(e).HTMLElement}function U(e){return e instanceof L(e).Element}function $t(e){return e instanceof L(e).Node}function it(e){return typeof ShadowRoot>"u"?!1:e instanceof L(e).ShadowRoot||e instanceof ShadowRoot}function Ce(e){const{overflow:t,overflowX:n,overflowY:i,display:s}=M(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(s)}function Ao(e){return["table","td","th"].includes(Z(e))}function Re(e){const t=/firefox/i.test(zt()),n=M(e),i=n.backdropFilter||n.WebkitBackdropFilter;return n.transform!=="none"||n.perspective!=="none"||!!i&&i!=="none"||t&&n.willChange==="filter"||t&&!!n.filter&&n.filter!=="none"||["transform","perspective"].some(s=>n.willChange.includes(s))||["paint","layout","strict","content"].some(s=>{const a=n.contain;return a!=null&&a.includes(s)})}function Ct(){return!/^((?!chrome|android).)*safari/i.test(zt())}function Ge(e){return["html","body","#document"].includes(Z(e))}function kt(e){return U(e)?e:e.contextElement}const St={x:1,y:1};function ie(e){const t=kt(e);if(!V(t))return St;const n=t.getBoundingClientRect(),{width:i,height:s,fallback:a}=xt(t);let r=(a?be(n.width):n.width)/i,l=(a?be(n.height):n.height)/s;return r&&Number.isFinite(r)||(r=1),l&&Number.isFinite(l)||(l=1),{x:r,y:l}}function pe(e,t,n,i){var s,a;t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),l=kt(e);let d=St;t&&(i?U(i)&&(d=ie(i)):d=ie(e));const c=l?L(l):window,p=!Ct()&&n;let u=(r.left+(p&&((s=c.visualViewport)==null?void 0:s.offsetLeft)||0))/d.x,h=(r.top+(p&&((a=c.visualViewport)==null?void 0:a.offsetTop)||0))/d.y,f=r.width/d.x,m=r.height/d.y;if(l){const g=L(l),w=i&&U(i)?L(i):i;let v=g.frameElement;for(;v&&i&&w!==g;){const y=ie(v),b=v.getBoundingClientRect(),z=getComputedStyle(v);b.x+=(v.clientLeft+parseFloat(z.paddingLeft))*y.x,b.y+=(v.clientTop+parseFloat(z.paddingTop))*y.y,u*=y.x,h*=y.y,f*=y.x,m*=y.y,u+=b.x,h+=b.y,v=L(v).frameElement}}return{width:f,height:m,top:h,right:u+f,bottom:h+m,left:u,x:u,y:h}}function X(e){return(($t(e)?e.ownerDocument:e.document)||window.document).documentElement}function ke(e){return U(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Tt(e){return pe(X(e)).left+ke(e).scrollLeft}function ue(e){if(Z(e)==="html")return e;const t=e.assignedSlot||e.parentNode||it(e)&&e.host||X(e);return it(t)?t.host:t}function Bt(e){const t=ue(e);return Ge(t)?t.ownerDocument.body:V(t)&&Ce(t)?t:Bt(t)}function xe(e,t){var n;t===void 0&&(t=[]);const i=Bt(e),s=i===((n=e.ownerDocument)==null?void 0:n.body),a=L(i);return s?t.concat(a,a.visualViewport||[],Ce(i)?i:[]):t.concat(i,xe(i))}function st(e,t,n){return t==="viewport"?se(function(i,s){const a=L(i),r=X(i),l=a.visualViewport;let d=r.clientWidth,c=r.clientHeight,p=0,u=0;if(l){d=l.width,c=l.height;const h=Ct();(h||!h&&s==="fixed")&&(p=l.offsetLeft,u=l.offsetTop)}return{width:d,height:c,x:p,y:u}}(e,n)):U(t)?se(function(i,s){const a=pe(i,!0,s==="fixed"),r=a.top+i.clientTop,l=a.left+i.clientLeft,d=V(i)?ie(i):{x:1,y:1};return{width:i.clientWidth*d.x,height:i.clientHeight*d.y,x:l*d.x,y:r*d.y}}(t,n)):se(function(i){const s=X(i),a=ke(i),r=i.ownerDocument.body,l=re(s.scrollWidth,s.clientWidth,r.scrollWidth,r.clientWidth),d=re(s.scrollHeight,s.clientHeight,r.scrollHeight,r.clientHeight);let c=-a.scrollLeft+Tt(i);const p=-a.scrollTop;return M(r).direction==="rtl"&&(c+=re(s.clientWidth,r.clientWidth)-l),{width:l,height:d,x:c,y:p}}(X(e)))}function rt(e){return V(e)&&M(e).position!=="fixed"?e.offsetParent:null}function at(e){const t=L(e);let n=rt(e);for(;n&&Ao(n)&&M(n).position==="static";)n=rt(n);return n&&(Z(n)==="html"||Z(n)==="body"&&M(n).position==="static"&&!Re(n))?t:n||function(i){let s=ue(i);for(;V(s)&&!Ge(s);){if(Re(s))return s;s=ue(s)}return null}(e)||t}function No(e,t,n){const i=V(t),s=X(t),a=pe(e,!0,n==="fixed",t);let r={scrollLeft:0,scrollTop:0};const l={x:0,y:0};if(i||!i&&n!=="fixed")if((Z(t)!=="body"||Ce(s))&&(r=ke(t)),V(t)){const d=pe(t,!0);l.x=d.x+t.clientLeft,l.y=d.y+t.clientTop}else s&&(l.x=Tt(s));return{x:a.left+r.scrollLeft-l.x,y:a.top+r.scrollTop-l.y,width:a.width,height:a.height}}const Lo={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:i,strategy:s}=e;const a=n==="clippingAncestors"?function(c,p){const u=p.get(c);if(u)return u;let h=xe(c).filter(w=>U(w)&&Z(w)!=="body"),f=null;const m=M(c).position==="fixed";let g=m?ue(c):c;for(;U(g)&&!Ge(g);){const w=M(g),v=Re(g);(m?v||f:v||w.position!=="static"||!f||!["absolute","fixed"].includes(f.position))?f=w:h=h.filter(y=>y!==g),g=ue(g)}return p.set(c,h),h}(t,this._c):[].concat(n),r=[...a,i],l=r[0],d=r.reduce((c,p)=>{const u=st(t,p,s);return c.top=re(u.top,c.top),c.right=nt(u.right,c.right),c.bottom=nt(u.bottom,c.bottom),c.left=re(u.left,c.left),c},st(t,l,s));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const s=V(n),a=X(n);if(n===a)return t;let r={scrollLeft:0,scrollTop:0},l={x:1,y:1};const d={x:0,y:0};if((s||!s&&i!=="fixed")&&((Z(n)!=="body"||Ce(a))&&(r=ke(n)),V(n))){const c=pe(n);l=ie(n),d.x=c.x+n.clientLeft,d.y=c.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-r.scrollLeft*l.x+d.x,y:t.y*l.y-r.scrollTop*l.y+d.y}},isElement:U,getDimensions:function(e){return V(e)?xt(e):e.getBoundingClientRect()},getOffsetParent:at,getDocumentElement:X,getScale:ie,async getElementRects(e){let{reference:t,floating:n,strategy:i}=e;const s=this.getOffsetParent||at,a=this.getDimensions;return{reference:No(t,await s(n),i),floating:{x:0,y:0,...await a(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>M(e).direction==="rtl"},Oo=(e,t,n)=>{const i=new Map,s={platform:Lo,...n},a={...s.platform,_c:i};return xo(e,t,{...s,platform:a})},Y={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:e=>[...e,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function De(e,t){let n=Y.themes[e]||{},i;do i=n[t],typeof i>"u"?n.$extend?n=Y.themes[n.$extend]||{}:(n=null,i=Y[t]):n=null;while(n);return i}function Ro(e){const t=[e];let n=Y.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=Y.themes[n.$extend]||{}):n=null;while(n);return t.map(i=>`v-popper--theme-${i}`)}function lt(e){const t=[e];let n=Y.themes[e]||{};do n.$extend?(t.push(n.$extend),n=Y.themes[n.$extend]||{}):n=null;while(n);return t}let fe=!1;if(typeof window<"u"){fe=!1;try{const e=Object.defineProperty({},"passive",{get(){fe=!0}});window.addEventListener("test",null,e)}catch{}}let Pt=!1;typeof window<"u"&&typeof navigator<"u"&&(Pt=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const Do=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),dt={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},ct={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function pt(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function Be(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const D=[];let Q=null;const ut={};function ft(e){let t=ut[e];return t||(t=ut[e]=[]),t}let He=function(){};typeof window<"u"&&(He=window.Element);function x(e){return function(t){return De(t.theme,e)}}const Pe="__floating-vue__popper",Et=()=>o.defineComponent({name:"VPopper",provide(){return{[Pe]:{parentPopper:this}}},inject:{[Pe]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:x("disabled")},positioningDisabled:{type:Boolean,default:x("positioningDisabled")},placement:{type:String,default:x("placement"),validator:e=>Do.includes(e)},delay:{type:[String,Number,Object],default:x("delay")},distance:{type:[Number,String],default:x("distance")},skidding:{type:[Number,String],default:x("skidding")},triggers:{type:Array,default:x("triggers")},showTriggers:{type:[Array,Function],default:x("showTriggers")},hideTriggers:{type:[Array,Function],default:x("hideTriggers")},popperTriggers:{type:Array,default:x("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:x("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:x("popperHideTriggers")},container:{type:[String,Object,He,Boolean],default:x("container")},boundary:{type:[String,He],default:x("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:x("strategy")},autoHide:{type:[Boolean,Function],default:x("autoHide")},handleResize:{type:Boolean,default:x("handleResize")},instantMove:{type:Boolean,default:x("instantMove")},eagerMount:{type:Boolean,default:x("eagerMount")},popperClass:{type:[String,Array,Object],default:x("popperClass")},computeTransformOrigin:{type:Boolean,default:x("computeTransformOrigin")},autoMinSize:{type:Boolean,default:x("autoMinSize")},autoSize:{type:[Boolean,String],default:x("autoSize")},autoMaxSize:{type:Boolean,default:x("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:x("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:x("preventOverflow")},overflowPadding:{type:[Number,String],default:x("overflowPadding")},arrowPadding:{type:[Number,String],default:x("arrowPadding")},arrowOverflow:{type:Boolean,default:x("arrowOverflow")},flip:{type:Boolean,default:x("flip")},shift:{type:Boolean,default:x("shift")},shiftCrossAxis:{type:Boolean,default:x("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:x("noAutoFocus")},disposeTimeout:{type:Number,default:x("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var e;return(e=this[Pe])==null?void 0:e.parentPopper},hasPopperShowTriggerHover(){var e,t;return((e=this.popperTriggers)==null?void 0:e.includes("hover"))||((t=this.popperShowTriggers)==null?void 0:t.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(e){e?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:e=null,skipDelay:t=!1,force:n=!1}={}){var i,s;(i=this.parentPopper)!=null&&i.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(n||!this.disabled)&&(((s=this.parentPopper)==null?void 0:s.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(e,t),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:e=null,skipDelay:t=!1}={}){var n;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:t}),this.parentPopper.lockedChild=null)},1e3));return}((n=this.parentPopper)==null?void 0:n.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(e,t),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var e;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((e=this.referenceNode)==null?void 0:e.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(t=>t.nodeType===t.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const e={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&e.middleware.push(Bo({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(Co({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(Po({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(ko({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(zo({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:i,rects:s,middlewareData:a})=>{let r;const{centerOffset:l}=a.arrow;return i.startsWith("top")||i.startsWith("bottom")?r=Math.abs(l)>s.reference.width/2:r=Math.abs(l)>s.reference.height/2,{data:{overflow:r}}}}),this.autoMinSize||this.autoSize){const i=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:s,placement:a,middlewareData:r})=>{var l;if((l=r.autoSize)!=null&&l.skip)return{};let d,c;return a.startsWith("top")||a.startsWith("bottom")?d=s.reference.width:c=s.reference.height,this.$_innerNode.style[i==="min"?"minWidth":i==="max"?"maxWidth":"width"]=d!=null?`${d}px`:null,this.$_innerNode.style[i==="min"?"minHeight":i==="max"?"maxHeight":"height"]=c!=null?`${c}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,e.middleware.push(Eo({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:i,availableHeight:s})=>{this.$_innerNode.style.maxWidth=i!=null?`${i}px`:null,this.$_innerNode.style.maxHeight=s!=null?`${s}px`:null}})));const n=await Oo(this.$_referenceNode,this.$_popperNode,e);Object.assign(this.result,{x:n.x,y:n.y,placement:n.placement,strategy:n.strategy,arrow:{...n.middlewareData.arrow,...n.middlewareData.arrowOverflow}})},$_scheduleShow(e,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),Q&&this.instantMove&&Q.instantMove&&Q!==this.parentPopper){Q.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(Q=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await Be(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...xe(this.$_referenceNode),...xe(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const t=this.$_referenceNode.getBoundingClientRect(),n=this.$_popperNode.querySelector(".v-popper__wrapper"),i=n.parentNode.getBoundingClientRect(),s=t.x+t.width/2-(i.left+n.offsetLeft),a=t.y+t.height/2-(i.top+n.offsetTop);this.result.transformOrigin=`${s}px ${a}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const e=this.showGroup;if(e){let t;for(let n=0;n<D.length;n++)t=D[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}D.push(this),document.body.classList.add("v-popper--some-open");for(const t of lt(this.theme))ft(t).push(this),document.body.classList.add(`v-popper--some-open--${t}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await Be(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(e=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=e,pt(D,this),D.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of lt(this.theme)){const i=ft(n);pt(i,this),i.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}Q===this&&(Q=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await Be(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let e=this.container;if(typeof e=="string"?e=window.document.querySelector(e):e===!1&&(e=this.$_targetNodes[0].parentNode),!e)throw new Error("No container for popover: "+this.container);e.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const e=n=>{this.isShown&&!this.$_hideInProgress||(n.usedByTooltip=!0,!this.$_preventShow&&this.show({event:n}))};this.$_registerTriggerListeners(this.$_targetNodes,dt,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],dt,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,ct,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],ct,this.popperTriggers,this.popperHideTriggers,t)},$_registerEventListeners(e,t,n){this.$_events.push({targetNodes:e,eventType:t,handler:n}),e.forEach(i=>i.addEventListener(t,n,fe?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,i,s){let a=n;i!=null&&(a=typeof i=="function"?i(a):i),a.forEach(r=>{const l=t[r];l&&this.$_registerEventListeners(e,l,s)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:i,eventType:s,handler:a}=n;!e||e===s?i.forEach(r=>r.removeEventListener(s,a)):t.push(n)}),this.$_events=t},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(e,t=!1){this.$_showFrameLocked||(this.hide({event:e}),e.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),t&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(e,t){for(const n of this.$_targetNodes){const i=n.getAttribute(e);i&&(n.removeAttribute(e),n.setAttribute(t,i))}},$_applyAttrsToTarget(e){for(const t of this.$_targetNodes)for(const n in e){const i=e[n];i==null?t.removeAttribute(n):t.setAttribute(n,i)}},$_updateParentShownChildren(e){let t=this.parentPopper;for(;t;)e?t.shownChildren.add(this.randomId):(t.shownChildren.delete(this.randomId),t.pendingHide&&t.hide()),t=t.parentPopper},$_isAimingPopper(){const e=this.$_referenceNode.getBoundingClientRect();if(ae>=e.left&&ae<=e.right&&le>=e.top&&le<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=ae-q,i=le-G,s=t.left+t.width/2-q+(t.top+t.height/2)-G+t.width+t.height,a=q+n*s,r=G+i*s;return me(q,G,a,r,t.left,t.top,t.left,t.bottom)||me(q,G,a,r,t.left,t.top,t.right,t.top)||me(q,G,a,r,t.right,t.top,t.right,t.bottom)||me(q,G,a,r,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Pt){const e=fe?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>ht(t),e),document.addEventListener("touchend",t=>mt(t,!0),e)}else window.addEventListener("mousedown",e=>ht(e),!0),window.addEventListener("click",e=>mt(e,!1),!0);window.addEventListener("resize",Vo)}function ht(e,t){for(let n=0;n<D.length;n++){const i=D[n];try{i.mouseDownContains=i.popperNode().contains(e.target)}catch{}}}function mt(e,t){Ho(e,t)}function Ho(e,t){const n={};for(let i=D.length-1;i>=0;i--){const s=D[i];try{const a=s.containsGlobalTarget=s.mouseDownContains||s.popperNode().contains(e.target);s.pendingHide=!1,requestAnimationFrame(()=>{if(s.pendingHide=!1,!n[s.randomId]&>(s,a,e)){if(s.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&a){let l=s.parentPopper;for(;l;)n[l.randomId]=!0,l=l.parentPopper;return}let r=s.parentPopper;for(;r&>(r,r.containsGlobalTarget,e);)r.$_handleGlobalClose(e,t),r=r.parentPopper}})}catch{}}}function gt(e,t,n){return n.closeAllPopover||n.closePopover&&t||Mo(e,n)&&!t}function Mo(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function Vo(){for(let e=0;e<D.length;e++)D[e].$_computePosition()}let q=0,G=0,ae=0,le=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{q=ae,G=le,ae=e.clientX,le=e.clientY},fe?{passive:!0}:void 0);function me(e,t,n,i,s,a,r,l){const d=((r-s)*(t-a)-(l-a)*(e-s))/((l-a)*(n-e)-(r-s)*(i-t)),c=((n-e)*(t-a)-(i-t)*(e-s))/((l-a)*(n-e)-(r-s)*(i-t));return d>=0&&d<=1&&c>=0&&c<=1}const Io={extends:Et()},Ue=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n};function Fo(e,t,n,i,s,a){return o.openBlock(),o.createElementBlock("div",{ref:"reference",class:o.normalizeClass(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[o.renderSlot(e.$slots,"default",o.normalizeProps(o.guardReactiveProps(e.slotData)))],2)}const Wo=Ue(Io,[["render",Fo]]);function jo(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);var n=e.indexOf("Trident/");if(n>0){var i=e.indexOf("rv:");return parseInt(e.substring(i+3,e.indexOf(".",i)),10)}var s=e.indexOf("Edge/");return s>0?parseInt(e.substring(s+5,e.indexOf(".",s)),10):-1}let _e;function Me(){Me.init||(Me.init=!0,_e=jo()!==-1)}var Se={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){Me(),o.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",_e&&this.$el.appendChild(e),e.data="about:blank",_e||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!_e&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const qo=o.withScopeId("data-v-b329ee4c");o.pushScopeId("data-v-b329ee4c");const Go={class:"resize-observer",tabindex:"-1"};o.popScopeId();const Uo=qo((e,t,n,i,s,a)=>(o.openBlock(),o.createBlock("div",Go)));Se.render=Uo;Se.__scopeId="data-v-b329ee4c";Se.__file="src/components/ResizeObserver.vue";const At=(e="theme")=>({computed:{themeClass(){return Ro(this[e])}}}),Xo=o.defineComponent({name:"VPopperContent",components:{ResizeObserver:Se},mixins:[At()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(e){return e!=null&&!isNaN(e)?`${e}px`:null}}}),Yo=["id","aria-hidden","tabindex","data-popper-placement"],Zo={ref:"inner",class:"v-popper__inner"},Ko=o.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),Qo=o.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),Jo=[Ko,Qo];function en(e,t,n,i,s,a){const r=o.resolveComponent("ResizeObserver");return o.openBlock(),o.createElementBlock("div",{id:e.popperId,ref:"popover",class:o.normalizeClass(["v-popper__popper",[e.themeClass,e.classes.popperClass,{"v-popper__popper--shown":e.shown,"v-popper__popper--hidden":!e.shown,"v-popper__popper--show-from":e.classes.showFrom,"v-popper__popper--show-to":e.classes.showTo,"v-popper__popper--hide-from":e.classes.hideFrom,"v-popper__popper--hide-to":e.classes.hideTo,"v-popper__popper--skip-transition":e.skipTransition,"v-popper__popper--arrow-overflow":e.result&&e.result.arrow.overflow,"v-popper__popper--no-positioning":!e.result}]]),style:o.normalizeStyle(e.result?{position:e.result.strategy,transform:`translate3d(${Math.round(e.result.x)}px,${Math.round(e.result.y)}px,0)`}:void 0),"aria-hidden":e.shown?"false":"true",tabindex:e.autoHide?0:void 0,"data-popper-placement":e.result?e.result.placement:void 0,onKeyup:t[2]||(t[2]=o.withKeys(l=>e.autoHide&&e.$emit("hide"),["esc"]))},[o.createElementVNode("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=l=>e.autoHide&&e.$emit("hide"))}),o.createElementVNode("div",{class:"v-popper__wrapper",style:o.normalizeStyle(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[o.createElementVNode("div",Zo,[e.mounted?(o.openBlock(),o.createElementBlock(o.Fragment,{key:0},[o.createElementVNode("div",null,[o.renderSlot(e.$slots,"default")]),e.handleResize?(o.openBlock(),o.createBlock(r,{key:0,onNotify:t[1]||(t[1]=l=>e.$emit("resize",l))})):o.createCommentVNode("",!0)],64)):o.createCommentVNode("",!0)],512),o.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:o.normalizeStyle(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Jo,4)],4)],46,Yo)}const Nt=Ue(Xo,[["render",en]]),Lt={methods:{show(...e){return this.$refs.popper.show(...e)},hide(...e){return this.$refs.popper.hide(...e)},dispose(...e){return this.$refs.popper.dispose(...e)},onResize(...e){return this.$refs.popper.onResize(...e)}}};let Ve=function(){};typeof window<"u"&&(Ve=window.Element);const tn=o.defineComponent({name:"VPopperWrapper",components:{Popper:Wo,PopperContent:Nt},mixins:[Lt,At("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,Ve,Boolean],default:void 0},boundary:{type:[String,Ve],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":e=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(e=>e!==this.$refs.popperContent.$el)}}});function on(e,t,n,i,s,a){const r=o.resolveComponent("PopperContent"),l=o.resolveComponent("Popper");return o.openBlock(),o.createBlock(l,o.mergeProps({ref:"popper"},e.$props,{theme:e.finalTheme,"target-nodes":e.getTargetNodes,"popper-node":()=>e.$refs.popperContent.$el,class:[e.themeClass],onShow:t[0]||(t[0]=()=>e.$emit("show")),onHide:t[1]||(t[1]=()=>e.$emit("hide")),"onUpdate:shown":t[2]||(t[2]=d=>e.$emit("update:shown",d)),onApplyShow:t[3]||(t[3]=()=>e.$emit("apply-show")),onApplyHide:t[4]||(t[4]=()=>e.$emit("apply-hide")),onCloseGroup:t[5]||(t[5]=()=>e.$emit("close-group")),onCloseDirective:t[6]||(t[6]=()=>e.$emit("close-directive")),onAutoHide:t[7]||(t[7]=()=>e.$emit("auto-hide")),onResize:t[8]||(t[8]=()=>e.$emit("resize"))}),{default:o.withCtx(({popperId:d,isShown:c,shouldMountContent:p,skipTransition:u,autoHide:h,show:f,hide:m,handleResize:g,onResize:w,classes:v,result:y})=>[o.renderSlot(e.$slots,"default",{shown:c,show:f,hide:m}),o.createVNode(r,{ref:"popperContent","popper-id":d,theme:e.finalTheme,shown:c,mounted:p,"skip-transition":u,"auto-hide":h,"handle-resize":g,classes:v,result:y,onHide:m,onResize:w},{default:o.withCtx(()=>[o.renderSlot(e.$slots,"popper",{shown:c,hide:m})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Xe=Ue(tn,[["render",on]]),nn={...Xe,name:"VDropdown",vPopperTheme:"dropdown"};({...Xe});const sn={...Xe,name:"VTooltip",vPopperTheme:"tooltip"};o.defineComponent({name:"VTooltipDirective",components:{Popper:Et(),PopperContent:Nt},mixins:[Lt],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>De(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>De(e.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(e){if(typeof this.content=="function"&&this.$_isShown&&(e||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const t=++this.$_fetchId,n=this.content(this);n.then?n.then(i=>this.onResult(t,i)):this.onResult(t,n)}},onResult(e,t){e===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=t)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}});const Ot=Y,rn=nn,an=sn,ln=o.defineComponent({name:"PzDropdown",__name:"PzDropdown",setup(e){return(t,n)=>(o.openBlock(),o.createBlock(o.unref(rn),{class:"pz-dropdown",theme:"dropdown"},{popper:o.withCtx(()=>[o.renderSlot(t.$slots,"content",{},void 0,!0)]),default:o.withCtx(()=>[o.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3}))}}),dn=P(ln,[["__scopeId","data-v-a2315284"]]),Ie=Ot.themes??{};Ie["dark-tooltip"]||(Ie["dark-tooltip"]={$extend:"tooltip"});Ot.themes=Ie;const cn=o.defineComponent({name:"PzHint",__name:"PzHint",props:{wrapperClass:{default:""},containerWrapperClass:{default:""},placement:{default:"top"},theme:{default:"tooltip"}},setup(e){return(t,n)=>(o.openBlock(),o.createElementBlock("span",{class:o.normalizeClass(["pz-hint-container",e.containerWrapperClass])},[o.createVNode(o.unref(an),{class:o.normalizeClass(["pz-hint",e.wrapperClass]),theme:e.theme,placement:e.placement},{popper:o.withCtx(()=>[o.renderSlot(t.$slots,"content",{},void 0,!0)]),default:o.withCtx(()=>[o.renderSlot(t.$slots,"default",{},void 0,!0)]),_:3},8,["class","theme","placement"])],2))}}),Rt=P(cn,[["__scopeId","data-v-19cc0b71"]]),pn={type:"button","aria-label":"Information",class:"pz-info-hint-trigger"},un=o.defineComponent({name:"PzInfoHint",__name:"PzInfoHint",props:{infoContent:{},wrapperClass:{default:""},containerWrapperClass:{default:""},placement:{default:"top"}},setup(e){return(t,n)=>(o.openBlock(),o.createBlock(Rt,{"wrapper-class":e.wrapperClass,"container-wrapper-class":e.containerWrapperClass,placement:e.placement,theme:"dark-tooltip"},{content:o.withCtx(()=>[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(e.infoContent,i=>(o.openBlock(),o.createElementBlock("p",{key:i.id},[o.createElementVNode("b",null,o.toDisplayString(i.title??""),1),o.createTextVNode(" "+o.toDisplayString(i.text??""),1)]))),128))]),default:o.withCtx(()=>[o.createElementVNode("button",pn,[o.createVNode(de,{name:"help",size:"16",class:"pz-info-hint-icon"})])]),_:1},8,["wrapper-class","container-wrapper-class","placement"]))}}),fn=P(un,[["__scopeId","data-v-540d7970"]]),hn="noopener noreferrer",mn=["href","target","rel","aria-disabled","tabindex"],gn={key:0,class:"pz-link-prefix"},_n={key:1,class:"pz-link-content"},vn={key:2,class:"pz-link-suffix"},yn=o.defineComponent({name:"PzLink",__name:"PzLink",props:{href:{},variant:{default:"primary"},target:{default:"_self"},rel:{default:void 0},disabled:{type:Boolean,default:!1},inline:{type:Boolean,default:!0},bold:{type:Boolean,default:!1},italic:{type:Boolean,default:!1},lineThrough:{type:Boolean,default:!1}},setup(e){const t=o.useSlots(),n=e,i=o.computed(()=>!!t.default),s=o.computed(()=>n.rel?n.rel:n.target==="_blank"?hn:void 0),a=o.computed(()=>[`pz-link--${n.variant}`,{"pz-link--inline":n.inline,"pz-link--block":!n.inline,"pz-link--disabled":n.disabled,"pz-link--bold":n.bold,"pz-link--italic":n.italic,"pz-link--line-through":n.lineThrough,"pz-link--icon-only":n.variant==="icon"&&!i.value}]),r=l=>{n.disabled&&(l.preventDefault(),l.stopPropagation())};return(l,d)=>(o.openBlock(),o.createElementBlock("a",{href:n.href,target:n.target,rel:s.value,"aria-disabled":n.disabled||void 0,tabindex:n.disabled?-1:void 0,class:o.normalizeClass(["pz-link",a.value]),onClick:r},[l.$slots.prefix?(o.openBlock(),o.createElementBlock("span",gn,[o.renderSlot(l.$slots,"prefix",{},void 0,!0)])):o.createCommentVNode("",!0),l.$slots.default?(o.openBlock(),o.createElementBlock("span",_n,[o.renderSlot(l.$slots,"default",{},void 0,!0)])):o.createCommentVNode("",!0),l.$slots.suffix?(o.openBlock(),o.createElementBlock("span",vn,[o.renderSlot(l.$slots,"suffix",{},void 0,!0)])):o.createCommentVNode("",!0)],10,mn))}}),Dt=P(yn,[["__scopeId","data-v-568cb8cc"]]),wn=o.defineComponent({name:"PzText",__name:"PzText",props:{variant:{},as:{default:void 0}},setup(e){const t={"h1-bold":"h1","h1-regular":"h1","h2-bold":"h2","h3-bold":"h3","h3-regular":"h3","h4-regular":"h4","h4-semibold":"h4","h4-bold":"h4",subtitle:"p","body-regular":"p","body-semibold":"p","body-bold":"p",capitalized:"span",hint:"span","line-through":"span","small-regular":"span","small-semibold":"span","small-bold":"span",link:"a",document:"p"},n=e,i=o.computed(()=>n.as??t[n.variant]??"span");return(s,a)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(i.value),{class:o.normalizeClass(["pz-text",`pz-text--${e.variant}`])},{default:o.withCtx(()=>[o.renderSlot(s.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Ht=P(wn,[["__scopeId","data-v-bd3b2150"]]),bn="close",xn={id:"default",title:"",size:"regular",closeOnOverlay:!0,closeOnEscape:!0,showCloseButton:!0,closeLabel:"Close modal"},zn=["aria-labelledby","aria-describedby"],$n=["id"],Cn=["aria-label"],kn=["id"],Sn={key:1,class:"pz-modal-footer"},Tn=o.defineComponent({name:"PzModal",__name:"PzModal",props:o.mergeDefaults({id:{},isOpen:{type:Boolean},title:{},size:{},closeOnOverlay:{type:Boolean},closeOnEscape:{type:Boolean},showCloseButton:{type:Boolean},closeLabel:{}},xn),setup(e,{emit:t}){const n=o.useSlots(),i=e,s=t,a=o.computed(()=>`pz-modal-title-${i.id}`),r=o.computed(()=>`pz-modal-description-${i.id}`),l=o.computed(()=>!!(i.title||n.header)),d=o.computed(()=>l.value||i.showCloseButton),c=o.computed(()=>[`pz-modal-dialog--${i.size}`]);let p="";const u=g=>{if(!(typeof document>"u")){if(g){p=document.body.style.overflow,document.body.style.overflow="hidden";return}document.body.style.overflow=p}},h=()=>{s(bn)},f=()=>{i.closeOnOverlay&&h()},m=()=>{i.closeOnEscape&&h()};return o.watch(()=>i.isOpen,g=>{u(g)},{immediate:!0}),o.onBeforeUnmount(()=>{u(!1)}),(g,w)=>(o.openBlock(),o.createBlock(o.Teleport,{to:"body"},[i.isOpen?(o.openBlock(),o.createElementBlock("div",{key:0,class:"pz-modal",onKeydown:o.withKeys(m,["esc"])},[o.createElementVNode("div",{class:"pz-modal-overlay",onClick:f},[o.createElementVNode("div",{ref:"dialogRef",class:o.normalizeClass(["pz-modal-dialog",c.value]),role:"dialog","aria-modal":!0,"aria-labelledby":a.value,"aria-describedby":r.value,onClick:w[0]||(w[0]=o.withModifiers(()=>{},["stop"]))},[d.value?(o.openBlock(),o.createElementBlock("header",{key:0,class:o.normalizeClass(["pz-modal-header",{"pz-modal-header--between":l.value}])},[l.value?(o.openBlock(),o.createElementBlock("div",{key:0,id:a.value,class:"pz-modal-title"},[o.renderSlot(g.$slots,"header",{},()=>[i.title?(o.openBlock(),o.createBlock(o.unref(Ht),{key:0,variant:"h4-bold",as:"h2"},{default:o.withCtx(()=>[o.createTextVNode(o.toDisplayString(i.title),1)]),_:1})):o.createCommentVNode("",!0)],!0)],8,$n)):o.createCommentVNode("",!0),i.showCloseButton?(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:"pz-modal-close","aria-label":i.closeLabel,onClick:h},[o.createVNode(o.unref(de),{name:"close",size:"24",label:"Close modal"})],8,Cn)):o.createCommentVNode("",!0)],2)):o.createCommentVNode("",!0),o.createElementVNode("div",{id:r.value,class:"pz-modal-body"},[o.renderSlot(g.$slots,"default",{},void 0,!0)],8,kn),g.$slots.footer?(o.openBlock(),o.createElementBlock("footer",Sn,[o.renderSlot(g.$slots,"footer",{},void 0,!0)])):o.createCommentVNode("",!0)],10,zn)])],32)):o.createCommentVNode("",!0)]))}}),Bn=P(Tn,[["__scopeId","data-v-8dc1c00e"]]),Pn={class:"pz-nav"},En=o.defineComponent({name:"PzNav",__name:"PzNav",props:{config:{}},setup(e){const t=ne.useRoute(),n=e,i=l=>{const[d=""]=l.split("#");return d?d.startsWith("/")?d:`/${d}`:"/"},s=l=>l.startsWith("#")?l:i(l),a=o.computed(()=>!n.config.some(l=>i(l.path)===t.path)),r=l=>i(l.path)===t.path||a.value&&!!l.isDefault;return(l,d)=>(o.openBlock(),o.createElementBlock("ul",Pn,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(n.config,(c,p)=>(o.openBlock(),o.createElementBlock("li",{key:`${c.path}-${p}`,class:o.normalizeClass(["pz-nav__item",[{disabled:c.disabled},{active:r(c)}]])},[c.disabled?(o.openBlock(),o.createElementBlock("span",{key:1,class:o.normalizeClass(["pz-nav__text",{active:r(c)}])},[o.renderSlot(l.$slots,"view",{data:c},()=>[o.createTextVNode(o.toDisplayString(c.text),1)],!0)],2)):(o.openBlock(),o.createBlock(o.unref(ne.RouterLink),{key:0,to:s(c.path),class:o.normalizeClass(["pz-nav__text",{active:r(c)}])},{default:o.withCtx(()=>[o.renderSlot(l.$slots,"view",{data:c},()=>[o.createTextVNode(o.toDisplayString(c.text),1)],!0)]),_:2},1032,["to","class"]))],2))),128))]))}}),An=P(En,[["__scopeId","data-v-23082985"]]),Nn={class:"pz-pagination","aria-label":"Pagination"},Ln={class:"pz-pagination__list"},On=["disabled"],Rn={key:0,class:"pz-pagination__dots","aria-hidden":"true"},Dn=["aria-current","onClick"],Hn=["disabled"],Ee=1,Mn=o.defineComponent({name:"PzPagination",__name:"PzPagination",props:{modelValue:{},total:{},perPage:{},radius:{default:2}},emits:["update:modelValue"],setup(e,{emit:t}){const n=e,i=t,s=o.computed(()=>Math.ceil(n.total/n.perPage)),a=o.computed(()=>n.modelValue<=1),r=o.computed(()=>n.modelValue>=s.value),l=o.computed(()=>{const u=s.value;if(u<=0)return[];if(u===1)return[{type:"page",page:Ee}];const h=n.modelValue,f=n.radius,m=Ee+1,g=u-1,w=Math.max(m,h-f),v=Math.min(g,h+f),y=[{type:"page",page:Ee}];w>m&&y.push({type:"dots",side:"left"});for(let b=w;b<=v;b++)y.push({type:"page",page:b});return v<g&&y.push({type:"dots",side:"right"}),y.push({type:"page",page:u}),y}),d=u=>{u!==n.modelValue&&i("update:modelValue",u)},c=()=>{a.value||i("update:modelValue",n.modelValue-1)},p=()=>{r.value||i("update:modelValue",n.modelValue+1)};return(u,h)=>(o.openBlock(),o.createElementBlock("nav",Nn,[o.createElementVNode("ul",Ln,[o.createElementVNode("li",null,[o.createElementVNode("button",{type:"button",class:"pz-pagination__btn pz-pagination__btn--nav",disabled:a.value,"aria-label":"Попередня сторінка",onClick:c},[o.createVNode(o.unref(de),{name:"chevron_left",size:"24"})],8,On)]),(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(l.value,f=>(o.openBlock(),o.createElementBlock("li",{key:f.type==="page"?`p-${f.page}`:`d-${f.side}`,class:"pz-pagination__item"},[f.type==="dots"?(o.openBlock(),o.createElementBlock("span",Rn," … ")):(o.openBlock(),o.createElementBlock("button",{key:1,type:"button",class:o.normalizeClass(["pz-pagination__btn",{"pz-pagination__btn--active":f.page===e.modelValue}]),"aria-current":f.page===e.modelValue?"page":void 0,onClick:m=>d(f.page)},o.toDisplayString(f.page),11,Dn))]))),128)),o.createElementVNode("li",null,[o.createElementVNode("button",{type:"button",class:"pz-pagination__btn pz-pagination__btn--nav",disabled:r.value,"aria-label":"Наступна сторінка",onClick:p},[o.createVNode(o.unref(de),{name:"chevron_right",size:"24"})],8,Hn)])])]))}}),Vn=P(Mn,[["__scopeId","data-v-6295b1b5"]]),In=o.defineComponent({name:"PzRouterLink",inheritAttrs:!1,__name:"PzRouterLink",props:{to:{},replace:{type:Boolean,default:!1},variant:{default:"primary"},target:{default:"_self"},rel:{default:void 0},disabled:{type:Boolean,default:!1},inline:{type:Boolean,default:!0},bold:{type:Boolean,default:!1},italic:{type:Boolean,default:!1},lineThrough:{type:Boolean,default:!1}},setup(e){const t=e,n=o.useAttrs(),i=(s,a)=>{t.disabled||t.target!=="_self"||a(s)};return(s,a)=>(o.openBlock(),o.createBlock(o.unref(ne.RouterLink),{custom:"",to:t.to,replace:t.replace},{default:o.withCtx(({href:r,navigate:l})=>[o.createVNode(o.unref(Dt),o.mergeProps(o.unref(n),{href:r,variant:t.variant,target:t.target,rel:t.rel,disabled:t.disabled,inline:t.inline,bold:t.bold,italic:t.italic,"line-through":t.lineThrough,onClick:d=>i(d,l)}),o.createSlots({default:o.withCtx(()=>[o.renderSlot(s.$slots,"default")]),_:2},[s.$slots.prefix?{name:"prefix",fn:o.withCtx(()=>[o.renderSlot(s.$slots,"prefix")]),key:"0"}:void 0,s.$slots.suffix?{name:"suffix",fn:o.withCtx(()=>[o.renderSlot(s.$slots,"suffix")]),key:"1"}:void 0]),1040,["href","variant","target","rel","disabled","inline","bold","italic","line-through","onClick"])]),_:3},8,["to","replace"]))}}),Fn=["auction-progress","auction-waiting","auction-success"],Wn={class:"pz-status__label"},jn=o.defineComponent({name:"PzStatus",__name:"PzStatus",props:{variant:{default:"progress"},as:{default:"span"}},setup(e){const t=e,n=o.computed(()=>[`pz-status--${t.variant}`,{"pz-status--gradient":Fn.includes(t.variant)}]);return(i,s)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.as),{class:o.normalizeClass(["pz-status",n.value])},{default:o.withCtx(()=>[o.createElementVNode("span",Wn,[o.renderSlot(i.$slots,"default",{},void 0,!0)])]),_:3},8,["class"]))}}),qn=P(jn,[["__scopeId","data-v-c3b8f015"]]),Gn={key:0,class:"pz-tag-prefix"},Un={class:"pz-tag-label"},Xn={key:1,class:"pz-tag-suffix"},Yn=o.defineComponent({name:"PzTag",__name:"PzTag",props:{variant:{default:"grey"},as:{default:"span"}},setup(e){const t=e;return(n,i)=>(o.openBlock(),o.createBlock(o.resolveDynamicComponent(t.as),{class:o.normalizeClass(["pz-tag",`pz-tag--${t.variant}`])},{default:o.withCtx(()=>[n.$slots.prefix?(o.openBlock(),o.createElementBlock("span",Gn,[o.renderSlot(n.$slots,"prefix",{},void 0,!0)])):o.createCommentVNode("",!0),o.createElementVNode("span",Un,[o.renderSlot(n.$slots,"default",{},void 0,!0)]),n.$slots.suffix?(o.openBlock(),o.createElementBlock("span",Xn,[o.renderSlot(n.$slots,"suffix",{},void 0,!0)])):o.createCommentVNode("",!0)]),_:3},8,["class"]))}}),Zn=P(Yn,[["__scopeId","data-v-7a827d32"]]);var te=(e=>(e.INIT_TAB="init-tab",e.TABS_STATE="tabs-state",e.REMOVE_TAB="remove-tab",e))(te||{});const Kn={class:"pz-tabs__nav"},Qn=["onClick"],Jn={class:"pz-tabs__content"},ei=o.defineComponent({name:"PzTabs",__name:"PzTabs",props:{skin:{default:""},maxWidth:{default:""}},setup(e){const t=o.reactive({tabs:[],activeTab:""}),n=e,i=o.computed(()=>n.skin?`pz-tabs--${n.skin}`:"");o.provide(te.TABS_STATE,t),o.provide(te.INIT_TAB,a=>t.tabs.push(a)),o.provide(te.REMOVE_TAB,a=>{t.tabs=t.tabs.filter(r=>r.id!==a.id),s()}),o.onMounted(()=>s());const s=()=>{var r;const[{name:a}={name:""}]=t.tabs.filter(({selected:l})=>l);t.activeTab=a||((r=t.tabs[0])==null?void 0:r.name)||""};return(a,r)=>(o.openBlock(),o.createElementBlock("div",{class:o.normalizeClass(["pz-tabs",i.value]),style:o.normalizeStyle({maxWidth:e.maxWidth})},[o.createElementVNode("ul",Kn,[(o.openBlock(!0),o.createElementBlock(o.Fragment,null,o.renderList(t.tabs,l=>(o.openBlock(),o.createElementBlock("li",{key:l.id,class:o.normalizeClass(["pz-tabs__item",{active:t.activeTab===l.name}]),onClick:d=>t.activeTab=l.name||""},o.toDisplayString(l.name),11,Qn))),128))]),o.createElementVNode("div",Jn,[o.renderSlot(a.$slots,"default",{},void 0,!0)])],6))}}),ti=P(ei,[["__scopeId","data-v-f64a88aa"]]),oi={class:"pz-tab"},ni=o.defineComponent({name:"PzTab",__name:"PzTab",props:{name:{default:"Tab"},selected:{type:Boolean,default:!1},id:{default:void 0}},setup(e){const t=e,n=o.getCurrentInstance(),i=o.ref(!1),s=o.inject(te.REMOVE_TAB,void 0),a=o.inject(te.TABS_STATE,void 0),r=o.inject(te.INIT_TAB,void 0),l={get id(){return t.id??`pz-tab-${(n==null?void 0:n.uid)??t.name}`},get name(){return t.name}};return o.watch(()=>a==null?void 0:a.activeTab,d=>{i.value=t.name===d}),o.onBeforeMount(()=>{r==null||r(l),i.value=t.selected}),o.onBeforeUnmount(()=>s==null?void 0:s(l)),(d,c)=>o.withDirectives((o.openBlock(),o.createElementBlock("div",oi,[o.renderSlot(d.$slots,"default",{},void 0,!0)],512)),[[o.vShow,i.value]])}}),ii=P(ni,[["__scopeId","data-v-2cffa4a1"]]);var Ae=null;function si(e){return Ae||(Ae=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){return setTimeout(t,16)}).bind(window)),Ae(e)}var Ne=null;function ri(e){Ne||(Ne=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(t){clearTimeout(t)}).bind(window)),Ne(e)}function ai(e){var t=document.createElement("style");return t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e)),(document.querySelector("head")||document.body).appendChild(t),t}function ge(e,t){t===void 0&&(t={});var n=document.createElement(e);return Object.keys(t).forEach(function(i){n[i]=t[i]}),n}function Mt(e,t,n){var i=window.getComputedStyle(e,null)||{display:"none"};return i[t]}function Fe(e){if(!document.documentElement.contains(e))return{detached:!0,rendered:!1};for(var t=e;t!==document;){if(Mt(t,"display")==="none")return{detached:!1,rendered:!1};t=t.parentNode}return{detached:!1,rendered:!0}}var li='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',We=0,ve=null;function di(e,t){e.__resize_mutation_handler__||(e.__resize_mutation_handler__=ui.bind(e));var n=e.__resize_listeners__;if(!n){if(e.__resize_listeners__=[],window.ResizeObserver){var i=e.offsetWidth,s=e.offsetHeight,a=new ResizeObserver(function(){!e.__resize_observer_triggered__&&(e.__resize_observer_triggered__=!0,e.offsetWidth===i&&e.offsetHeight===s)||ze(e)}),r=Fe(e),l=r.detached,d=r.rendered;e.__resize_observer_triggered__=l===!1&&d===!1,e.__resize_observer__=a,a.observe(e)}else if(e.attachEvent&&e.addEventListener)e.__resize_legacy_resize_handler__=function(){ze(e)},e.attachEvent("onresize",e.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);else if(We||(ve=ai(li)),fi(e),e.__resize_rendered__=Fe(e).rendered,window.MutationObserver){var c=new MutationObserver(e.__resize_mutation_handler__);c.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),e.__resize_mutation_observer__=c}}e.__resize_listeners__.push(t),We++}function ci(e,t){var n=e.__resize_listeners__;if(n){if(t&&n.splice(n.indexOf(t),1),!n.length||!t){if(e.detachEvent&&e.removeEventListener){e.detachEvent("onresize",e.__resize_legacy_resize_handler__),document.removeEventListener("DOMSubtreeModified",e.__resize_mutation_handler__);return}e.__resize_observer__?(e.__resize_observer__.unobserve(e),e.__resize_observer__.disconnect(),e.__resize_observer__=null):(e.__resize_mutation_observer__&&(e.__resize_mutation_observer__.disconnect(),e.__resize_mutation_observer__=null),e.removeEventListener("scroll",Ye),e.removeChild(e.__resize_triggers__.triggers),e.__resize_triggers__=null),e.__resize_listeners__=null}!--We&&ve&&ve.parentNode.removeChild(ve)}}function pi(e){var t=e.__resize_last__,n=t.width,i=t.height,s=e.offsetWidth,a=e.offsetHeight;return s!==n||a!==i?{width:s,height:a}:null}function ui(){var e=Fe(this),t=e.rendered,n=e.detached;t!==this.__resize_rendered__&&(!n&&this.__resize_triggers__&&(Ze(this),this.addEventListener("scroll",Ye,!0)),this.__resize_rendered__=t,ze(this))}function Ye(){var e=this;Ze(this),this.__resize_raf__&&ri(this.__resize_raf__),this.__resize_raf__=si(function(){var t=pi(e);t&&(e.__resize_last__=t,ze(e))})}function ze(e){!e||!e.__resize_listeners__||e.__resize_listeners__.forEach(function(t){t.call(e,e)})}function fi(e){var t=Mt(e,"position");(!t||t==="static")&&(e.style.position="relative"),e.__resize_old_position__=t,e.__resize_last__={};var n=ge("div",{className:"resize-triggers"}),i=ge("div",{className:"resize-expand-trigger"}),s=ge("div"),a=ge("div",{className:"resize-contract-trigger"});i.appendChild(s),n.appendChild(i),n.appendChild(a),e.appendChild(n),e.__resize_triggers__={triggers:n,expand:i,expandChild:s,contract:a},Ze(e),e.addEventListener("scroll",Ye,!0),e.__resize_last__={width:e.offsetWidth,height:e.offsetHeight}}function Ze(e){var t=e.__resize_triggers__,n=t.expand,i=t.expandChild,s=t.contract,a=s.scrollWidth,r=s.scrollHeight,l=n.offsetWidth,d=n.offsetHeight,c=n.scrollWidth,p=n.scrollHeight;s.scrollLeft=a,s.scrollTop=r,i.style.width=l+1+"px",i.style.height=d+1+"px",n.scrollLeft=c,n.scrollTop=p}const hi=["aria-label"];var Vt=o.defineComponent({__name:"text-clamp",props:{text:{type:String,required:!0},maxHeight:{type:[String,Number],required:!1},maxLines:{type:Number,required:!1},expanded:{type:Boolean,required:!1,default:!1},location:{type:String,required:!1,default:"end"},ellipsis:{type:String,required:!1,default:"…"},autoResize:{type:Boolean,required:!1,default:!1}},emits:["clamp-change","update:expanded"],setup(e,{emit:t}){const n=e,i=o.ref(null),s=o.ref(null),a=o.ref(null),r=o.reactive({offset:0,localExpanded:!!n.expanded,unregisterResizeCallback:null}),l=o.computed(()=>{if(!r.localExpanded&&n.maxHeight)return typeof(n==null?void 0:n.maxHeight)=="number"?`${n==null?void 0:n.maxHeight}px`:n==null?void 0:n.maxHeight}),d=()=>{a.value&&(a.value.textContent=k.value)},c=()=>{r.localExpanded||(d(),(h()||z.value)&&m())},p=()=>{n.text&&(r.offset=n.text.length,u(),n.autoResize&&i.value&&(di(i.value,c),r.unregisterResizeCallback=()=>{i.value&&ci(i.value,c)}),c())},u=()=>{var _;(_=r.unregisterResizeCallback)==null||_.call(r)},h=()=>!(!n.maxLines&&!n.maxHeight)&&!!i.value&&(!!(n.maxLines&&f()>n.maxLines)||!!(n.maxHeight&&i.value.scrollHeight>i.value.offsetHeight)),f=()=>s.value?Object.keys(Array.prototype.slice.call(s.value.getClientRects()).reduce((_,{top:C,bottom:S})=>{const B=`${C}/${S}`;return _[B]||(_[B]=!0),_},{})).length:0,m=(..._)=>{const[C=0,S=r.offset]=_;if(S-C<=3)return void w();const B=Math.floor((S+C)/2);g(B),h()?m(C,B):m(B,S)},g=_=>{r.offset=_,d()},w=()=>{v(),y()},v=()=>{for(;(!h()||f()<2)&&r.offset<n.text.length;)b(1)},y=()=>{for(;h()&&f()>1&&r.offset>0;)b(-1)},b=_=>{g(r.offset+_)},z=o.computed(()=>!!n.text&&r.offset!==n.text.length);o.watch(()=>z.value,_=>{setTimeout(()=>{t("clamp-change",_)},0)},{immediate:!0});const k=o.computed(()=>z.value?$.value:n.text),$=o.computed(()=>{if(n.location==="start")return n.ellipsis+(n.text.slice(-r.offset)||"").trim();if(n.location==="middle"){const _=Math.floor(r.offset/2);return(n.text.slice(0,_)||"").trim()+n.ellipsis+(n.text.slice(-_)||"").trim()}return(n.text.slice(0,r.offset)||"").trim()+n.ellipsis}),T=()=>{r.localExpanded=!0},N=()=>{r.localExpanded=!1},E=()=>{r.localExpanded=!r.localExpanded};return o.watch(()=>n.expanded,_=>{r.localExpanded=_}),o.watch(()=>r.localExpanded,_=>{_?g(n.text.length):c(),n.expanded!==_&&t("update:expanded",_)}),o.watch(()=>[n.maxLines,n.maxHeight,n.ellipsis,n.location,z.value].join(),()=>{o.nextTick(()=>{c()})}),o.watch(()=>[n.text,n.autoResize].join(),()=>{o.nextTick(()=>{p()})}),o.onUnmounted(()=>{u()}),o.onMounted(()=>{p()}),(_,C)=>(o.openBlock(),o.createElementBlock("div",{ref_key:"textClampRef",ref:i,class:"text-clamp",style:o.normalizeStyle({overflow:"hidden",maxHeight:o.unref(l)})},[o.createElementVNode("span",{ref_key:"contentRef",ref:s},[o.renderSlot(_.$slots,"before",{expand:T,collapse:N,toggle:E,clamped:o.unref(z),expanded:r.localExpanded}),o.createElementVNode("span",{ref_key:"textRef",ref:a,"aria-label":e.text},null,8,hi),o.renderSlot(_.$slots,"after",{expand:T,collapse:N,toggle:E,clamped:o.unref(z),expanded:r.localExpanded})],512)],4))}});Vt.__file="package/text-clamp.vue";const mi=e=>(e.install=function(t){t.component(e.__name,e)},e),gi=mi(Vt),_i=3,vi="... ",yi=["aria-expanded","onClick"],wi=o.defineComponent({name:"PzTextClamp",__name:"PzTextClamp",props:{text:{},maxContentLines:{default:_i},clampPostfix:{default:vi},btnClass:{default:""},autoResize:{type:Boolean,default:!0},expanded:{type:Boolean,default:!1},expandLabel:{default:"Show more"},collapseLabel:{default:"Collapse"}},emits:["update:expanded","clamp-change"],setup(e,{emit:t}){const n=e,i=t,s=r=>{i("update:expanded",r)},a=r=>{i("clamp-change",r)};return(r,l)=>(o.openBlock(),o.createBlock(o.unref(gi),{text:n.text,"max-lines":n.maxContentLines,ellipsis:n.clampPostfix,expanded:n.expanded,"auto-resize":n.autoResize,class:"pz-text-clamp","onUpdate:expanded":s,onClampChange:a},{after:o.withCtx(({toggle:d,expanded:c,clamped:p})=>[o.renderSlot(r.$slots,"toggle",{toggle:d,expanded:c,clamped:p},()=>[p||c?(o.openBlock(),o.createElementBlock("button",{key:0,type:"button",class:o.normalizeClass(["pz-text-clamp__toggle",n.btnClass]),"aria-expanded":c,onClick:o.withModifiers(d,["stop"])},o.toDisplayString(c?n.collapseLabel:n.expandLabel),11,yi)):o.createCommentVNode("",!0)],!0)]),_:3},8,["text","max-lines","ellipsis","expanded","auto-resize"]))}}),bi=P(wi,[["__scopeId","data-v-17225f94"]]),xi=2e3,zi="pz-scroll-to-highlight",$i="smooth",Le=e=>typeof e=="number"?{offsetTop:e}:e??{},_t=e=>{if(typeof window>"u"||typeof document>"u")return null;if(typeof e=="number")return e;const t=typeof e=="string"?document.querySelector(e):e instanceof HTMLElement?e:null;return t?window.scrollY+t.getBoundingClientRect().top:null},vt=(e,t)=>{if(!e||typeof window>"u")return;const n=t.highlightClassName??zi,i=t.highlightDuration??xi;n&&(e.classList.add(n),window.setTimeout(()=>{e.classList.remove(n)},i))};class ee{static moveById(t,n){if(typeof document>"u")return!1;const i=document.getElementById(t);if(!i)return!1;const s=ee.moveToElement(i,n);return s&&vt(i,Le(n)),s}static moveToTop(t){return ee.moveTo(0,t)}static moveTo(t,n){if(typeof window>"u")return!1;const i=Le(n);return window.scrollTo({top:Math.max(t-(i.offsetTop??0),0),left:0,behavior:i.behavior??$i}),!0}static moveByQuerySelector(t,n){if(typeof document>"u")return!1;const i=document.querySelector(t);if(!i)return!1;const s=ee.moveToElement(i,n);return s&&vt(i,Le(n)),s}static moveToElement(t,n){const i=_t(t);return i===null?!1:ee.moveTo(i,n)}static move(t,n){const i=_t(t);return i===null?!1:ee.moveTo(i,n)}}class $e{static validQuery(t){const n={};return Object.keys(t).forEach(i=>{const s=t[i];Array.isArray(s)?n[i]=s.map(a=>$e.validString(a)):n[i]=$e.validString(s)}),n}static validString(t){return t==null?"":String(t).replace(/<[^>]*>/gim,"").trim()}}const Ci=["rgba(0, 0, 0, 0)","transparent","initial","inherit","revert","revert-layer","unset"];class Ke{static async copyToClipboard(t){if(navigator.clipboard)try{await navigator.clipboard.writeText(t);return}catch{}const n=document.createElement("textarea");n.value=t,n.setAttribute("readonly",""),n.style.position="absolute",n.style.left="-9999px",document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n)}static getParentNearestBackground(t){if(!t||typeof window>"u")return"#fff";const n=window.getComputedStyle(t).backgroundColor;return Ci.includes(n)?Ke.getParentNearestBackground(t.parentElement):n}}exports.PzArrayClamp=Gt;exports.PzBreadcrumb=io;exports.PzBtn=Qt;exports.PzDomHandler=Ke;exports.PzDropdown=dn;exports.PzGrid=so;exports.PzGridItem=ro;exports.PzHint=Rt;exports.PzIcon=de;exports.PzImage=po;exports.PzInfoHint=fn;exports.PzLink=Dt;exports.PzModal=Bn;exports.PzNav=An;exports.PzPagination=Vn;exports.PzRouterLink=In;exports.PzScrollTo=ee;exports.PzStatus=qn;exports.PzTab=ii;exports.PzTabs=ti;exports.PzTag=Zn;exports.PzText=Ht;exports.PzTextClamp=bi;exports.PzValidatorXSS=$e;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("vue"),Sn=require("vue-router"),Km={class:"pz-array-clamp"},jm={key:0,class:"pz-array-clamp__item"},Zm=3,Ym=a.defineComponent({name:"PzArrayClamp",__name:"PzArrayClamp",props:{list:{},count:{default:Zm},expanded:{type:Boolean,default:!1},expandLabel:{default:"Показати більше"},collapseLabel:{default:"Показати менше"},btnClass:{default:""}},emits:["update:expanded"],setup(n,{emit:o}){const i=n,u=o,d=a.ref(i.expanded);a.watch(()=>i.expanded,A=>{d.value=A});const g=a.computed(()=>d.value),h=a.computed(()=>g.value?i.list:i.list.slice(0,i.count)),v=a.computed(()=>Math.max(i.list.length-i.count,0)),b=a.computed(()=>v.value>0),w=()=>{const A=!g.value;d.value=A,u("update:expanded",A)};return(A,B)=>(a.openBlock(),a.createElementBlock("ul",Km,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h.value,(E,k)=>(a.openBlock(),a.createElementBlock("li",{key:`${String(E)}-${k}`,class:"pz-array-clamp__item"},[a.renderSlot(A.$slots,"default",{item:E,index:k},()=>[a.createTextVNode(a.toDisplayString(E),1)],!0)]))),128)),b.value?(a.openBlock(),a.createElementBlock("li",jm,[a.renderSlot(A.$slots,"toggle",{toggle:w,expanded:g.value,hiddenCount:v.value},()=>[a.createElementVNode("button",{type:"button",class:a.normalizeClass(["pz-array-clamp__toggle",i.btnClass]),onClick:w},a.toDisplayString(g.value?i.collapseLabel:i.expandLabel),3)],!0)])):a.createCommentVNode("",!0)]))}}),se=(n,o)=>{const i=n.__vccOpts||n;for(const[u,d]of o)i[u]=d;return i},Xm=se(Ym,[["__scopeId","data-v-82bfa0b2"]]),Jm=["role","aria-hidden","aria-label"],sn=a.defineComponent({name:"PzIcon",__name:"PzIcon",props:{name:{},variant:{default:"outlined"},size:{default:"16"},label:{default:void 0}},setup(n){const o=n,i=a.computed(()=>({"--pz-icon-size":`var(--pz-font-size-${o.size})`})),u=a.computed(()=>o.label?"img":void 0),d=a.computed(()=>o.label?void 0:"true");return(g,h)=>(a.openBlock(),a.createElementBlock("span",{class:a.normalizeClass([{outlined:o.variant==="outlined"},"pz-icon pz-material-icon"]),style:a.normalizeStyle(i.value),role:u.value,"aria-hidden":d.value,"aria-label":o.label},a.toDisplayString(o.name),15,Jm))}}),Qm=a.defineComponent({name:"PzSkeleton",__name:"PzSkeleton",props:{width:{default:"100%"},height:{default:"16px"},radius:{default:"8px"},animated:{type:Boolean,default:!0}},setup(n){const o=n,i=a.computed(()=>({width:o.width,height:o.height,borderRadius:o.radius}));return(u,d)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["pz-skeleton",{"pz-skeleton--static":!n.animated}]),style:a.normalizeStyle(i.value),"aria-hidden":"true"},null,6))}}),hc=se(Qm,[["__scopeId","data-v-0e5c35ff"]]),ey=[{id:"line-1",width:"187px"},{id:"line-2",width:"242px"},{id:"line-3",width:"169px"},{id:"line-4",width:"364px"},{id:"line-5",width:"481px"},{id:"line-6",width:"436px"},{id:"line-7",width:"436px"},{id:"line-8",width:"436px"},{id:"line-9",width:"481px"}],ty={key:0,class:"pz-accordion-content__transition"},ny={key:0,class:"pz-accordion-content__loader"},ry={key:1},iy=a.defineComponent({name:"PzAccordionContent",__name:"PzAccordionContent",props:{active:{type:Boolean},loading:{type:Boolean,default:!1},contentClass:{default:""}},setup(n){return(o,i)=>n.active?(a.openBlock(),a.createElementBlock("div",ty,[a.createElementVNode("div",{class:a.normalizeClass(["pz-accordion-content__surface",n.contentClass])},[n.loading?(a.openBlock(),a.createElementBlock("div",ny,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(a.unref(ey),u=>(a.openBlock(),a.createBlock(a.unref(hc),{key:u.id,width:u.width,height:"24px"},null,8,["width"]))),128))])):(a.openBlock(),a.createElementBlock("div",ry,[a.renderSlot(o.$slots,"default",{},void 0,!0)]))],2)])):a.createCommentVNode("",!0)}}),gc=se(iy,[["__scopeId","data-v-8dc15c3b"]]),oy=["aria-expanded","disabled"],ay={class:"pz-accordion__trigger-content"},sy={key:0,class:"pz-accordion__label"},ly=a.defineComponent({name:"PzAccordion",__name:"PzAccordion",props:{modelValue:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},label:{default:""},disabled:{type:Boolean,default:!1},contentClass:{default:""}},emits:["update:modelValue"],setup(n,{emit:o}){const i=o,u=n,d=()=>{u.disabled||i("update:modelValue",!u.modelValue)},g=a.computed(()=>({active:u.modelValue,disabled:u.disabled,toggle:d}));return(h,v)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["pz-accordion",{"pz-accordion--open":n.modelValue,disabled:n.disabled}])},[a.createElementVNode("button",{type:"button",class:"pz-accordion__trigger","aria-expanded":n.modelValue,disabled:n.disabled,onClick:d},[a.createElementVNode("span",ay,[h.$slots.trigger?a.renderSlot(h.$slots,"trigger",a.normalizeProps(a.mergeProps({key:0},g.value)),void 0,!0):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[n.label?(a.openBlock(),a.createElementBlock("span",sy,a.toDisplayString(n.label),1)):a.createCommentVNode("",!0)],64))]),a.createVNode(a.unref(sn),{name:"expand_more",size:"20",class:"pz-accordion__icon"})],8,oy),a.createVNode(gc,{active:n.modelValue,"content-class":n.contentClass,loading:n.loading},{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default",{},void 0,!0)]),_:3},8,["active","content-class","loading"])],2))}}),uy=se(ly,[["__scopeId","data-v-f42dc441"]]);var Bt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function cy(n){return n&&n.__esModule&&Object.prototype.hasOwnProperty.call(n,"default")?n.default:n}function fy(){this.__data__=[],this.size=0}var dy=fy;function py(n,o){return n===o||n!==n&&o!==o}var _c=py,hy=_c;function gy(n,o){for(var i=n.length;i--;)if(hy(n[i][0],o))return i;return-1}var wi=gy,_y=wi,vy=Array.prototype,my=vy.splice;function yy(n){var o=this.__data__,i=_y(o,n);if(i<0)return!1;var u=o.length-1;return i==u?o.pop():my.call(o,i,1),--this.size,!0}var wy=yy,by=wi;function xy(n){var o=this.__data__,i=by(o,n);return i<0?void 0:o[i][1]}var $y=xy,Cy=wi;function Ty(n){return Cy(this.__data__,n)>-1}var Sy=Ty,Ay=wi;function zy(n,o){var i=this.__data__,u=Ay(i,n);return u<0?(++this.size,i.push([n,o])):i[u][1]=o,this}var By=zy,Ey=dy,Py=wy,ky=$y,Oy=Sy,Ly=By;function zn(n){var o=-1,i=n==null?0:n.length;for(this.clear();++o<i;){var u=n[o];this.set(u[0],u[1])}}zn.prototype.clear=Ey;zn.prototype.delete=Py;zn.prototype.get=ky;zn.prototype.has=Oy;zn.prototype.set=Ly;var bi=zn,Iy=bi;function Ry(){this.__data__=new Iy,this.size=0}var Ny=Ry;function Dy(n){var o=this.__data__,i=o.delete(n);return this.size=o.size,i}var My=Dy;function Fy(n){return this.__data__.get(n)}var Hy=Fy;function Wy(n){return this.__data__.has(n)}var Vy=Wy,Uy=typeof Bt=="object"&&Bt&&Bt.Object===Object&&Bt,vc=Uy,Gy=vc,qy=typeof self=="object"&&self&&self.Object===Object&&self,Ky=Gy||qy||Function("return this")(),yt=Ky,jy=yt,Zy=jy.Symbol,xa=Zy,xu=xa,mc=Object.prototype,Yy=mc.hasOwnProperty,Xy=mc.toString,tr=xu?xu.toStringTag:void 0;function Jy(n){var o=Yy.call(n,tr),i=n[tr];try{n[tr]=void 0;var u=!0}catch{}var d=Xy.call(n);return u&&(o?n[tr]=i:delete n[tr]),d}var Qy=Jy,e0=Object.prototype,t0=e0.toString;function n0(n){return t0.call(n)}var r0=n0,$u=xa,i0=Qy,o0=r0,a0="[object Null]",s0="[object Undefined]",Cu=$u?$u.toStringTag:void 0;function l0(n){return n==null?n===void 0?s0:a0:Cu&&Cu in Object(n)?i0(n):o0(n)}var xi=l0;function u0(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}var cr=u0,c0=xi,f0=cr,d0="[object AsyncFunction]",p0="[object Function]",h0="[object GeneratorFunction]",g0="[object Proxy]";function _0(n){if(!f0(n))return!1;var o=c0(n);return o==p0||o==h0||o==d0||o==g0}var yc=_0,v0=yt,m0=v0["__core-js_shared__"],y0=m0,Qo=y0,Tu=function(){var n=/[^.]+$/.exec(Qo&&Qo.keys&&Qo.keys.IE_PROTO||"");return n?"Symbol(src)_1."+n:""}();function w0(n){return!!Tu&&Tu in n}var b0=w0,x0=Function.prototype,$0=x0.toString;function C0(n){if(n!=null){try{return $0.call(n)}catch{}try{return n+""}catch{}}return""}var wc=C0,T0=yc,S0=b0,A0=cr,z0=wc,B0=/[\\^$.*+?()[\]{}|]/g,E0=/^\[object .+?Constructor\]$/,P0=Function.prototype,k0=Object.prototype,O0=P0.toString,L0=k0.hasOwnProperty,I0=RegExp("^"+O0.call(L0).replace(B0,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function R0(n){if(!A0(n)||S0(n))return!1;var o=T0(n)?I0:E0;return o.test(z0(n))}var N0=R0;function D0(n,o){return n==null?void 0:n[o]}var M0=D0,F0=N0,H0=M0;function W0(n,o){var i=H0(n,o);return F0(i)?i:void 0}var ln=W0,V0=ln,U0=yt,G0=V0(U0,"Map"),$a=G0,q0=ln,K0=q0(Object,"create"),$i=K0,Su=$i;function j0(){this.__data__=Su?Su(null):{},this.size=0}var Z0=j0;function Y0(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}var X0=Y0,J0=$i,Q0="__lodash_hash_undefined__",ew=Object.prototype,tw=ew.hasOwnProperty;function nw(n){var o=this.__data__;if(J0){var i=o[n];return i===Q0?void 0:i}return tw.call(o,n)?o[n]:void 0}var rw=nw,iw=$i,ow=Object.prototype,aw=ow.hasOwnProperty;function sw(n){var o=this.__data__;return iw?o[n]!==void 0:aw.call(o,n)}var lw=sw,uw=$i,cw="__lodash_hash_undefined__";function fw(n,o){var i=this.__data__;return this.size+=this.has(n)?0:1,i[n]=uw&&o===void 0?cw:o,this}var dw=fw,pw=Z0,hw=X0,gw=rw,_w=lw,vw=dw;function Bn(n){var o=-1,i=n==null?0:n.length;for(this.clear();++o<i;){var u=n[o];this.set(u[0],u[1])}}Bn.prototype.clear=pw;Bn.prototype.delete=hw;Bn.prototype.get=gw;Bn.prototype.has=_w;Bn.prototype.set=vw;var mw=Bn,Au=mw,yw=bi,ww=$a;function bw(){this.size=0,this.__data__={hash:new Au,map:new(ww||yw),string:new Au}}var xw=bw;function $w(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}var Cw=$w,Tw=Cw;function Sw(n,o){var i=n.__data__;return Tw(o)?i[typeof o=="string"?"string":"hash"]:i.map}var Ci=Sw,Aw=Ci;function zw(n){var o=Aw(this,n).delete(n);return this.size-=o?1:0,o}var Bw=zw,Ew=Ci;function Pw(n){return Ew(this,n).get(n)}var kw=Pw,Ow=Ci;function Lw(n){return Ow(this,n).has(n)}var Iw=Lw,Rw=Ci;function Nw(n,o){var i=Rw(this,n),u=i.size;return i.set(n,o),this.size+=i.size==u?0:1,this}var Dw=Nw,Mw=xw,Fw=Bw,Hw=kw,Ww=Iw,Vw=Dw;function En(n){var o=-1,i=n==null?0:n.length;for(this.clear();++o<i;){var u=n[o];this.set(u[0],u[1])}}En.prototype.clear=Mw;En.prototype.delete=Fw;En.prototype.get=Hw;En.prototype.has=Ww;En.prototype.set=Vw;var Uw=En,Gw=bi,qw=$a,Kw=Uw,jw=200;function Zw(n,o){var i=this.__data__;if(i instanceof Gw){var u=i.__data__;if(!qw||u.length<jw-1)return u.push([n,o]),this.size=++i.size,this;i=this.__data__=new Kw(u)}return i.set(n,o),this.size=i.size,this}var Yw=Zw,Xw=bi,Jw=Ny,Qw=My,eb=Hy,tb=Vy,nb=Yw;function Pn(n){var o=this.__data__=new Xw(n);this.size=o.size}Pn.prototype.clear=Jw;Pn.prototype.delete=Qw;Pn.prototype.get=eb;Pn.prototype.has=tb;Pn.prototype.set=nb;var rb=Pn;function ib(n,o){for(var i=-1,u=n==null?0:n.length;++i<u&&o(n[i],i,n)!==!1;);return n}var ob=ib,ab=ln,sb=function(){try{var n=ab(Object,"defineProperty");return n({},"",{}),n}catch{}}(),lb=sb,zu=lb;function ub(n,o,i){o=="__proto__"&&zu?zu(n,o,{configurable:!0,enumerable:!0,value:i,writable:!0}):n[o]=i}var bc=ub,cb=bc,fb=_c,db=Object.prototype,pb=db.hasOwnProperty;function hb(n,o,i){var u=n[o];(!(pb.call(n,o)&&fb(u,i))||i===void 0&&!(o in n))&&cb(n,o,i)}var xc=hb,gb=xc,_b=bc;function vb(n,o,i,u){var d=!i;i||(i={});for(var g=-1,h=o.length;++g<h;){var v=o[g],b=u?u(i[v],n[v],v,i,n):void 0;b===void 0&&(b=n[v]),d?_b(i,v,b):gb(i,v,b)}return i}var Ti=vb;function mb(n,o){for(var i=-1,u=Array(n);++i<n;)u[i]=o(i);return u}var yb=mb;function wb(n){return n!=null&&typeof n=="object"}var fr=wb,bb=xi,xb=fr,$b="[object Arguments]";function Cb(n){return xb(n)&&bb(n)==$b}var Tb=Cb,Bu=Tb,Sb=fr,$c=Object.prototype,Ab=$c.hasOwnProperty,zb=$c.propertyIsEnumerable,Bb=Bu(function(){return arguments}())?Bu:function(n){return Sb(n)&&Ab.call(n,"callee")&&!zb.call(n,"callee")},Eb=Bb,Pb=Array.isArray,Ca=Pb,ci={exports:{}};function kb(){return!1}var Ob=kb;ci.exports;(function(n,o){var i=yt,u=Ob,d=o&&!o.nodeType&&o,g=d&&!0&&n&&!n.nodeType&&n,h=g&&g.exports===d,v=h?i.Buffer:void 0,b=v?v.isBuffer:void 0,w=b||u;n.exports=w})(ci,ci.exports);var Cc=ci.exports,Lb=9007199254740991,Ib=/^(?:0|[1-9]\d*)$/;function Rb(n,o){var i=typeof n;return o=o??Lb,!!o&&(i=="number"||i!="symbol"&&Ib.test(n))&&n>-1&&n%1==0&&n<o}var Nb=Rb,Db=9007199254740991;function Mb(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=Db}var Tc=Mb,Fb=xi,Hb=Tc,Wb=fr,Vb="[object Arguments]",Ub="[object Array]",Gb="[object Boolean]",qb="[object Date]",Kb="[object Error]",jb="[object Function]",Zb="[object Map]",Yb="[object Number]",Xb="[object Object]",Jb="[object RegExp]",Qb="[object Set]",e1="[object String]",t1="[object WeakMap]",n1="[object ArrayBuffer]",r1="[object DataView]",i1="[object Float32Array]",o1="[object Float64Array]",a1="[object Int8Array]",s1="[object Int16Array]",l1="[object Int32Array]",u1="[object Uint8Array]",c1="[object Uint8ClampedArray]",f1="[object Uint16Array]",d1="[object Uint32Array]",ce={};ce[i1]=ce[o1]=ce[a1]=ce[s1]=ce[l1]=ce[u1]=ce[c1]=ce[f1]=ce[d1]=!0;ce[Vb]=ce[Ub]=ce[n1]=ce[Gb]=ce[r1]=ce[qb]=ce[Kb]=ce[jb]=ce[Zb]=ce[Yb]=ce[Xb]=ce[Jb]=ce[Qb]=ce[e1]=ce[t1]=!1;function p1(n){return Wb(n)&&Hb(n.length)&&!!ce[Fb(n)]}var h1=p1;function g1(n){return function(o){return n(o)}}var Ta=g1,fi={exports:{}};fi.exports;(function(n,o){var i=vc,u=o&&!o.nodeType&&o,d=u&&!0&&n&&!n.nodeType&&n,g=d&&d.exports===u,h=g&&i.process,v=function(){try{var b=d&&d.require&&d.require("util").types;return b||h&&h.binding&&h.binding("util")}catch{}}();n.exports=v})(fi,fi.exports);var Sa=fi.exports,_1=h1,v1=Ta,Eu=Sa,Pu=Eu&&Eu.isTypedArray,m1=Pu?v1(Pu):_1,y1=m1,w1=yb,b1=Eb,x1=Ca,$1=Cc,C1=Nb,T1=y1,S1=Object.prototype,A1=S1.hasOwnProperty;function z1(n,o){var i=x1(n),u=!i&&b1(n),d=!i&&!u&&$1(n),g=!i&&!u&&!d&&T1(n),h=i||u||d||g,v=h?w1(n.length,String):[],b=v.length;for(var w in n)(o||A1.call(n,w))&&!(h&&(w=="length"||d&&(w=="offset"||w=="parent")||g&&(w=="buffer"||w=="byteLength"||w=="byteOffset")||C1(w,b)))&&v.push(w);return v}var Sc=z1,B1=Object.prototype;function E1(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||B1;return n===i}var Aa=E1;function P1(n,o){return function(i){return n(o(i))}}var Ac=P1,k1=Ac,O1=k1(Object.keys,Object),L1=O1,I1=Aa,R1=L1,N1=Object.prototype,D1=N1.hasOwnProperty;function M1(n){if(!I1(n))return R1(n);var o=[];for(var i in Object(n))D1.call(n,i)&&i!="constructor"&&o.push(i);return o}var F1=M1,H1=yc,W1=Tc;function V1(n){return n!=null&&W1(n.length)&&!H1(n)}var zc=V1,U1=Sc,G1=F1,q1=zc;function K1(n){return q1(n)?U1(n):G1(n)}var za=K1,j1=Ti,Z1=za;function Y1(n,o){return n&&j1(o,Z1(o),n)}var X1=Y1;function J1(n){var o=[];if(n!=null)for(var i in Object(n))o.push(i);return o}var Q1=J1,ex=cr,tx=Aa,nx=Q1,rx=Object.prototype,ix=rx.hasOwnProperty;function ox(n){if(!ex(n))return nx(n);var o=tx(n),i=[];for(var u in n)u=="constructor"&&(o||!ix.call(n,u))||i.push(u);return i}var ax=ox,sx=Sc,lx=ax,ux=zc;function cx(n){return ux(n)?sx(n,!0):lx(n)}var Ba=cx,fx=Ti,dx=Ba;function px(n,o){return n&&fx(o,dx(o),n)}var hx=px,di={exports:{}};di.exports;(function(n,o){var i=yt,u=o&&!o.nodeType&&o,d=u&&!0&&n&&!n.nodeType&&n,g=d&&d.exports===u,h=g?i.Buffer:void 0,v=h?h.allocUnsafe:void 0;function b(w,A){if(A)return w.slice();var B=w.length,E=v?v(B):new w.constructor(B);return w.copy(E),E}n.exports=b})(di,di.exports);var gx=di.exports;function _x(n,o){var i=-1,u=n.length;for(o||(o=Array(u));++i<u;)o[i]=n[i];return o}var vx=_x;function mx(n,o){for(var i=-1,u=n==null?0:n.length,d=0,g=[];++i<u;){var h=n[i];o(h,i,n)&&(g[d++]=h)}return g}var yx=mx;function wx(){return[]}var Bc=wx,bx=yx,xx=Bc,$x=Object.prototype,Cx=$x.propertyIsEnumerable,ku=Object.getOwnPropertySymbols,Tx=ku?function(n){return n==null?[]:(n=Object(n),bx(ku(n),function(o){return Cx.call(n,o)}))}:xx,Ea=Tx,Sx=Ti,Ax=Ea;function zx(n,o){return Sx(n,Ax(n),o)}var Bx=zx;function Ex(n,o){for(var i=-1,u=o.length,d=n.length;++i<u;)n[d+i]=o[i];return n}var Ec=Ex,Px=Ac,kx=Px(Object.getPrototypeOf,Object),Pc=kx,Ox=Ec,Lx=Pc,Ix=Ea,Rx=Bc,Nx=Object.getOwnPropertySymbols,Dx=Nx?function(n){for(var o=[];n;)Ox(o,Ix(n)),n=Lx(n);return o}:Rx,kc=Dx,Mx=Ti,Fx=kc;function Hx(n,o){return Mx(n,Fx(n),o)}var Wx=Hx,Vx=Ec,Ux=Ca;function Gx(n,o,i){var u=o(n);return Ux(n)?u:Vx(u,i(n))}var Oc=Gx,qx=Oc,Kx=Ea,jx=za;function Zx(n){return qx(n,jx,Kx)}var Yx=Zx,Xx=Oc,Jx=kc,Qx=Ba;function e$(n){return Xx(n,Qx,Jx)}var t$=e$,n$=ln,r$=yt,i$=n$(r$,"DataView"),o$=i$,a$=ln,s$=yt,l$=a$(s$,"Promise"),u$=l$,c$=ln,f$=yt,d$=c$(f$,"Set"),p$=d$,h$=ln,g$=yt,_$=h$(g$,"WeakMap"),v$=_$,sa=o$,la=$a,ua=u$,ca=p$,fa=v$,Lc=xi,kn=wc,Ou="[object Map]",m$="[object Object]",Lu="[object Promise]",Iu="[object Set]",Ru="[object WeakMap]",Nu="[object DataView]",y$=kn(sa),w$=kn(la),b$=kn(ua),x$=kn(ca),$$=kn(fa),nn=Lc;(sa&&nn(new sa(new ArrayBuffer(1)))!=Nu||la&&nn(new la)!=Ou||ua&&nn(ua.resolve())!=Lu||ca&&nn(new ca)!=Iu||fa&&nn(new fa)!=Ru)&&(nn=function(n){var o=Lc(n),i=o==m$?n.constructor:void 0,u=i?kn(i):"";if(u)switch(u){case y$:return Nu;case w$:return Ou;case b$:return Lu;case x$:return Iu;case $$:return Ru}return o});var Pa=nn,C$=Object.prototype,T$=C$.hasOwnProperty;function S$(n){var o=n.length,i=new n.constructor(o);return o&&typeof n[0]=="string"&&T$.call(n,"index")&&(i.index=n.index,i.input=n.input),i}var A$=S$,z$=yt,B$=z$.Uint8Array,E$=B$,Du=E$;function P$(n){var o=new n.constructor(n.byteLength);return new Du(o).set(new Du(n)),o}var ka=P$,k$=ka;function O$(n,o){var i=o?k$(n.buffer):n.buffer;return new n.constructor(i,n.byteOffset,n.byteLength)}var L$=O$,I$=/\w*$/;function R$(n){var o=new n.constructor(n.source,I$.exec(n));return o.lastIndex=n.lastIndex,o}var N$=R$,Mu=xa,Fu=Mu?Mu.prototype:void 0,Hu=Fu?Fu.valueOf:void 0;function D$(n){return Hu?Object(Hu.call(n)):{}}var M$=D$,F$=ka;function H$(n,o){var i=o?F$(n.buffer):n.buffer;return new n.constructor(i,n.byteOffset,n.length)}var W$=H$,V$=ka,U$=L$,G$=N$,q$=M$,K$=W$,j$="[object Boolean]",Z$="[object Date]",Y$="[object Map]",X$="[object Number]",J$="[object RegExp]",Q$="[object Set]",eC="[object String]",tC="[object Symbol]",nC="[object ArrayBuffer]",rC="[object DataView]",iC="[object Float32Array]",oC="[object Float64Array]",aC="[object Int8Array]",sC="[object Int16Array]",lC="[object Int32Array]",uC="[object Uint8Array]",cC="[object Uint8ClampedArray]",fC="[object Uint16Array]",dC="[object Uint32Array]";function pC(n,o,i){var u=n.constructor;switch(o){case nC:return V$(n);case j$:case Z$:return new u(+n);case rC:return U$(n,i);case iC:case oC:case aC:case sC:case lC:case uC:case cC:case fC:case dC:return K$(n,i);case Y$:return new u;case X$:case eC:return new u(n);case J$:return G$(n);case Q$:return new u;case tC:return q$(n)}}var hC=pC,gC=cr,Wu=Object.create,_C=function(){function n(){}return function(o){if(!gC(o))return{};if(Wu)return Wu(o);n.prototype=o;var i=new n;return n.prototype=void 0,i}}(),vC=_C,mC=vC,yC=Pc,wC=Aa;function bC(n){return typeof n.constructor=="function"&&!wC(n)?mC(yC(n)):{}}var xC=bC,$C=Pa,CC=fr,TC="[object Map]";function SC(n){return CC(n)&&$C(n)==TC}var AC=SC,zC=AC,BC=Ta,Vu=Sa,Uu=Vu&&Vu.isMap,EC=Uu?BC(Uu):zC,PC=EC,kC=Pa,OC=fr,LC="[object Set]";function IC(n){return OC(n)&&kC(n)==LC}var RC=IC,NC=RC,DC=Ta,Gu=Sa,qu=Gu&&Gu.isSet,MC=qu?DC(qu):NC,FC=MC,HC=rb,WC=ob,VC=xc,UC=X1,GC=hx,qC=gx,KC=vx,jC=Bx,ZC=Wx,YC=Yx,XC=t$,JC=Pa,QC=A$,eT=hC,tT=xC,nT=Ca,rT=Cc,iT=PC,oT=cr,aT=FC,sT=za,lT=Ba,uT=1,cT=2,fT=4,Ic="[object Arguments]",dT="[object Array]",pT="[object Boolean]",hT="[object Date]",gT="[object Error]",Rc="[object Function]",_T="[object GeneratorFunction]",vT="[object Map]",mT="[object Number]",Nc="[object Object]",yT="[object RegExp]",wT="[object Set]",bT="[object String]",xT="[object Symbol]",$T="[object WeakMap]",CT="[object ArrayBuffer]",TT="[object DataView]",ST="[object Float32Array]",AT="[object Float64Array]",zT="[object Int8Array]",BT="[object Int16Array]",ET="[object Int32Array]",PT="[object Uint8Array]",kT="[object Uint8ClampedArray]",OT="[object Uint16Array]",LT="[object Uint32Array]",ae={};ae[Ic]=ae[dT]=ae[CT]=ae[TT]=ae[pT]=ae[hT]=ae[ST]=ae[AT]=ae[zT]=ae[BT]=ae[ET]=ae[vT]=ae[mT]=ae[Nc]=ae[yT]=ae[wT]=ae[bT]=ae[xT]=ae[PT]=ae[kT]=ae[OT]=ae[LT]=!0;ae[gT]=ae[Rc]=ae[$T]=!1;function si(n,o,i,u,d,g){var h,v=o&uT,b=o&cT,w=o&fT;if(i&&(h=d?i(n,u,d,g):i(n)),h!==void 0)return h;if(!oT(n))return n;var A=nT(n);if(A){if(h=QC(n),!v)return KC(n,h)}else{var B=JC(n),E=B==Rc||B==_T;if(rT(n))return qC(n,v);if(B==Nc||B==Ic||E&&!d){if(h=b||E?{}:tT(n),!v)return b?ZC(n,GC(h,n)):jC(n,UC(h,n))}else{if(!ae[B])return d?n:{};h=eT(n,B,v)}}g||(g=new HC);var k=g.get(n);if(k)return k;g.set(n,h),aT(n)?n.forEach(function(P){h.add(si(P,o,i,P,n,g))}):iT(n)&&n.forEach(function(P,I){h.set(I,si(P,o,i,I,n,g))});var z=w?b?XC:YC:b?lT:sT,L=A?void 0:z(n);return WC(L||n,function(P,I){L&&(I=P,P=n[I]),VC(h,I,si(P,o,i,I,n,g))}),h}var IT=si,RT=IT,NT=1,DT=4;function MT(n){return RT(n,NT|DT)}var FT=MT;const HT=cy(FT);var pi={exports:{}};/**
|
|
2
|
+
* @license
|
|
3
|
+
* Lodash <https://lodash.com/>
|
|
4
|
+
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
|
+
* Released under MIT license <https://lodash.com/license>
|
|
6
|
+
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
|
+
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
+
*/pi.exports;(function(n,o){(function(){var i,u="4.18.1",d=200,g="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",h="Expected a function",v="Invalid `variable` option passed into `_.template`",b="Invalid `imports` option passed into `_.template`",w="__lodash_hash_undefined__",A=500,B="__lodash_placeholder__",E=1,k=2,z=4,L=1,P=2,I=1,N=2,K=4,G=8,le=16,ee=32,de=64,pe=128,_e=256,M=512,he=30,we="...",be=800,Se=16,ft=1,tt=2,Me=3,xe=1/0,Ae=9007199254740991,Bi=17976931348623157e292,dr=NaN,dt=4294967295,sf=dt-1,lf=dt>>>1,uf=[["ary",pe],["bind",I],["bindKey",N],["curry",G],["curryRight",le],["flip",M],["partial",ee],["partialRight",de],["rearg",_e]],cn="[object Arguments]",pr="[object Array]",cf="[object AsyncFunction]",On="[object Boolean]",Ln="[object Date]",ff="[object DOMException]",hr="[object Error]",gr="[object Function]",Va="[object GeneratorFunction]",nt="[object Map]",In="[object Number]",df="[object Null]",wt="[object Object]",Ua="[object Promise]",pf="[object Proxy]",Rn="[object RegExp]",rt="[object Set]",Nn="[object String]",_r="[object Symbol]",hf="[object Undefined]",Dn="[object WeakMap]",gf="[object WeakSet]",Mn="[object ArrayBuffer]",fn="[object DataView]",Ei="[object Float32Array]",Pi="[object Float64Array]",ki="[object Int8Array]",Oi="[object Int16Array]",Li="[object Int32Array]",Ii="[object Uint8Array]",Ri="[object Uint8ClampedArray]",Ni="[object Uint16Array]",Di="[object Uint32Array]",_f=/\b__p \+= '';/g,vf=/\b(__p \+=) '' \+/g,mf=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ga=/&(?:amp|lt|gt|quot|#39);/g,qa=/[&<>"']/g,yf=RegExp(Ga.source),wf=RegExp(qa.source),bf=/<%-([\s\S]+?)%>/g,xf=/<%([\s\S]+?)%>/g,Ka=/<%=([\s\S]+?)%>/g,$f=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Cf=/^\w*$/,Tf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mi=/[\\^$.*+?()[\]{}|]/g,Sf=RegExp(Mi.source),Fi=/^\s+/,Af=/\s/,zf=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Bf=/\{\n\/\* \[wrapped with (.+)\] \*/,Ef=/,? & /,Pf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ja=/[()=,{}\[\]\/\s]/,kf=/\\(\\)?/g,Of=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Za=/\w*$/,Lf=/^[-+]0x[0-9a-f]+$/i,If=/^0b[01]+$/i,Rf=/^\[object .+?Constructor\]$/,Nf=/^0o[0-7]+$/i,Df=/^(?:0|[1-9]\d*)$/,Mf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vr=/($^)/,Ff=/['\n\r\u2028\u2029\\]/g,mr="\\ud800-\\udfff",Hf="\\u0300-\\u036f",Wf="\\ufe20-\\ufe2f",Vf="\\u20d0-\\u20ff",Ya=Hf+Wf+Vf,Xa="\\u2700-\\u27bf",Ja="a-z\\xdf-\\xf6\\xf8-\\xff",Uf="\\xac\\xb1\\xd7\\xf7",Gf="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",qf="\\u2000-\\u206f",Kf=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Qa="A-Z\\xc0-\\xd6\\xd8-\\xde",es="\\ufe0e\\ufe0f",ts=Uf+Gf+qf+Kf,Hi="['’]",jf="["+mr+"]",ns="["+ts+"]",yr="["+Ya+"]",rs="\\d+",Zf="["+Xa+"]",is="["+Ja+"]",os="[^"+mr+ts+rs+Xa+Ja+Qa+"]",Wi="\\ud83c[\\udffb-\\udfff]",Yf="(?:"+yr+"|"+Wi+")",as="[^"+mr+"]",Vi="(?:\\ud83c[\\udde6-\\uddff]){2}",Ui="[\\ud800-\\udbff][\\udc00-\\udfff]",dn="["+Qa+"]",ss="\\u200d",ls="(?:"+is+"|"+os+")",Xf="(?:"+dn+"|"+os+")",us="(?:"+Hi+"(?:d|ll|m|re|s|t|ve))?",cs="(?:"+Hi+"(?:D|LL|M|RE|S|T|VE))?",fs=Yf+"?",ds="["+es+"]?",Jf="(?:"+ss+"(?:"+[as,Vi,Ui].join("|")+")"+ds+fs+")*",Qf="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",ed="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ps=ds+fs+Jf,td="(?:"+[Zf,Vi,Ui].join("|")+")"+ps,nd="(?:"+[as+yr+"?",yr,Vi,Ui,jf].join("|")+")",rd=RegExp(Hi,"g"),id=RegExp(yr,"g"),Gi=RegExp(Wi+"(?="+Wi+")|"+nd+ps,"g"),od=RegExp([dn+"?"+is+"+"+us+"(?="+[ns,dn,"$"].join("|")+")",Xf+"+"+cs+"(?="+[ns,dn+ls,"$"].join("|")+")",dn+"?"+ls+"+"+us,dn+"+"+cs,ed,Qf,rs,td].join("|"),"g"),ad=RegExp("["+ss+mr+Ya+es+"]"),sd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ld=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ud=-1,ue={};ue[Ei]=ue[Pi]=ue[ki]=ue[Oi]=ue[Li]=ue[Ii]=ue[Ri]=ue[Ni]=ue[Di]=!0,ue[cn]=ue[pr]=ue[Mn]=ue[On]=ue[fn]=ue[Ln]=ue[hr]=ue[gr]=ue[nt]=ue[In]=ue[wt]=ue[Rn]=ue[rt]=ue[Nn]=ue[Dn]=!1;var oe={};oe[cn]=oe[pr]=oe[Mn]=oe[fn]=oe[On]=oe[Ln]=oe[Ei]=oe[Pi]=oe[ki]=oe[Oi]=oe[Li]=oe[nt]=oe[In]=oe[wt]=oe[Rn]=oe[rt]=oe[Nn]=oe[_r]=oe[Ii]=oe[Ri]=oe[Ni]=oe[Di]=!0,oe[hr]=oe[gr]=oe[Dn]=!1;var cd={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},fd={"&":"&","<":"<",">":">",'"':""","'":"'"},dd={"&":"&","<":"<",">":">",""":'"',"'":"'"},pd={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},hd=parseFloat,gd=parseInt,hs=typeof Bt=="object"&&Bt&&Bt.Object===Object&&Bt,_d=typeof self=="object"&&self&&self.Object===Object&&self,ze=hs||_d||Function("return this")(),qi=o&&!o.nodeType&&o,qt=qi&&!0&&n&&!n.nodeType&&n,gs=qt&&qt.exports===qi,Ki=gs&&hs.process,Ke=function(){try{var m=qt&&qt.require&&qt.require("util").types;return m||Ki&&Ki.binding&&Ki.binding("util")}catch{}}(),_s=Ke&&Ke.isArrayBuffer,vs=Ke&&Ke.isDate,ms=Ke&&Ke.isMap,ys=Ke&&Ke.isRegExp,ws=Ke&&Ke.isSet,bs=Ke&&Ke.isTypedArray;function Fe(m,$,x){switch(x.length){case 0:return m.call($);case 1:return m.call($,x[0]);case 2:return m.call($,x[0],x[1]);case 3:return m.call($,x[0],x[1],x[2])}return m.apply($,x)}function vd(m,$,x,R){for(var V=-1,te=m==null?0:m.length;++V<te;){var $e=m[V];$(R,$e,x($e),m)}return R}function He(m,$){for(var x=-1,R=m==null?0:m.length;++x<R&&$(m[x],x,m)!==!1;);return m}function md(m,$){for(var x=m==null?0:m.length;x--&&$(m[x],x,m)!==!1;);return m}function xs(m,$){for(var x=-1,R=m==null?0:m.length;++x<R;)if(!$(m[x],x,m))return!1;return!0}function Pt(m,$){for(var x=-1,R=m==null?0:m.length,V=0,te=[];++x<R;){var $e=m[x];$($e,x,m)&&(te[V++]=$e)}return te}function wr(m,$){var x=m==null?0:m.length;return!!x&&pn(m,$,0)>-1}function ji(m,$,x){for(var R=-1,V=m==null?0:m.length;++R<V;)if(x($,m[R]))return!0;return!1}function fe(m,$){for(var x=-1,R=m==null?0:m.length,V=Array(R);++x<R;)V[x]=$(m[x],x,m);return V}function kt(m,$){for(var x=-1,R=$.length,V=m.length;++x<R;)m[V+x]=$[x];return m}function Zi(m,$,x,R){var V=-1,te=m==null?0:m.length;for(R&&te&&(x=m[++V]);++V<te;)x=$(x,m[V],V,m);return x}function yd(m,$,x,R){var V=m==null?0:m.length;for(R&&V&&(x=m[--V]);V--;)x=$(x,m[V],V,m);return x}function Yi(m,$){for(var x=-1,R=m==null?0:m.length;++x<R;)if($(m[x],x,m))return!0;return!1}var wd=Xi("length");function bd(m){return m.split("")}function xd(m){return m.match(Pf)||[]}function $s(m,$,x){var R;return x(m,function(V,te,$e){if($(V,te,$e))return R=te,!1}),R}function br(m,$,x,R){for(var V=m.length,te=x+(R?1:-1);R?te--:++te<V;)if($(m[te],te,m))return te;return-1}function pn(m,$,x){return $===$?Ld(m,$,x):br(m,Cs,x)}function $d(m,$,x,R){for(var V=x-1,te=m.length;++V<te;)if(R(m[V],$))return V;return-1}function Cs(m){return m!==m}function Ts(m,$){var x=m==null?0:m.length;return x?Qi(m,$)/x:dr}function Xi(m){return function($){return $==null?i:$[m]}}function Ji(m){return function($){return m==null?i:m[$]}}function Ss(m,$,x,R,V){return V(m,function(te,$e,ie){x=R?(R=!1,te):$(x,te,$e,ie)}),x}function Cd(m,$){var x=m.length;for(m.sort($);x--;)m[x]=m[x].value;return m}function Qi(m,$){for(var x,R=-1,V=m.length;++R<V;){var te=$(m[R]);te!==i&&(x=x===i?te:x+te)}return x}function eo(m,$){for(var x=-1,R=Array(m);++x<m;)R[x]=$(x);return R}function Td(m,$){return fe($,function(x){return[x,m[x]]})}function As(m){return m&&m.slice(0,Ps(m)+1).replace(Fi,"")}function We(m){return function($){return m($)}}function to(m,$){return fe($,function(x){return m[x]})}function Fn(m,$){return m.has($)}function zs(m,$){for(var x=-1,R=m.length;++x<R&&pn($,m[x],0)>-1;);return x}function Bs(m,$){for(var x=m.length;x--&&pn($,m[x],0)>-1;);return x}function Sd(m,$){for(var x=m.length,R=0;x--;)m[x]===$&&++R;return R}var Ad=Ji(cd),zd=Ji(fd);function Bd(m){return"\\"+pd[m]}function Ed(m,$){return m==null?i:m[$]}function hn(m){return ad.test(m)}function Pd(m){return sd.test(m)}function kd(m){for(var $,x=[];!($=m.next()).done;)x.push($.value);return x}function no(m){var $=-1,x=Array(m.size);return m.forEach(function(R,V){x[++$]=[V,R]}),x}function Es(m,$){return function(x){return m($(x))}}function Ot(m,$){for(var x=-1,R=m.length,V=0,te=[];++x<R;){var $e=m[x];($e===$||$e===B)&&(m[x]=B,te[V++]=x)}return te}function xr(m){var $=-1,x=Array(m.size);return m.forEach(function(R){x[++$]=R}),x}function Od(m){var $=-1,x=Array(m.size);return m.forEach(function(R){x[++$]=[R,R]}),x}function Ld(m,$,x){for(var R=x-1,V=m.length;++R<V;)if(m[R]===$)return R;return-1}function Id(m,$,x){for(var R=x+1;R--;)if(m[R]===$)return R;return R}function gn(m){return hn(m)?Nd(m):wd(m)}function it(m){return hn(m)?Dd(m):bd(m)}function Ps(m){for(var $=m.length;$--&&Af.test(m.charAt($)););return $}var Rd=Ji(dd);function Nd(m){for(var $=Gi.lastIndex=0;Gi.test(m);)++$;return $}function Dd(m){return m.match(Gi)||[]}function Md(m){return m.match(od)||[]}var Fd=function m($){$=$==null?ze:_n.defaults(ze.Object(),$,_n.pick(ze,ld));var x=$.Array,R=$.Date,V=$.Error,te=$.Function,$e=$.Math,ie=$.Object,ro=$.RegExp,Hd=$.String,je=$.TypeError,$r=x.prototype,Wd=te.prototype,vn=ie.prototype,Cr=$["__core-js_shared__"],Tr=Wd.toString,ne=vn.hasOwnProperty,Vd=0,ks=function(){var e=/[^.]+$/.exec(Cr&&Cr.keys&&Cr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Sr=vn.toString,Ud=Tr.call(ie),Gd=ze._,qd=ro("^"+Tr.call(ne).replace(Mi,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ar=gs?$.Buffer:i,Lt=$.Symbol,zr=$.Uint8Array,Os=Ar?Ar.allocUnsafe:i,Br=Es(ie.getPrototypeOf,ie),Ls=ie.create,Is=vn.propertyIsEnumerable,Er=$r.splice,Rs=Lt?Lt.isConcatSpreadable:i,Hn=Lt?Lt.iterator:i,Kt=Lt?Lt.toStringTag:i,Pr=function(){try{var e=Jt(ie,"defineProperty");return e({},"",{}),e}catch{}}(),Kd=$.clearTimeout!==ze.clearTimeout&&$.clearTimeout,jd=R&&R.now!==ze.Date.now&&R.now,Zd=$.setTimeout!==ze.setTimeout&&$.setTimeout,kr=$e.ceil,Or=$e.floor,io=ie.getOwnPropertySymbols,Yd=Ar?Ar.isBuffer:i,Ns=$.isFinite,Xd=$r.join,Jd=Es(ie.keys,ie),Ce=$e.max,Ee=$e.min,Qd=R.now,ep=$.parseInt,Ds=$e.random,tp=$r.reverse,oo=Jt($,"DataView"),Wn=Jt($,"Map"),ao=Jt($,"Promise"),mn=Jt($,"Set"),Vn=Jt($,"WeakMap"),Un=Jt(ie,"create"),Lr=Vn&&new Vn,yn={},np=Qt(oo),rp=Qt(Wn),ip=Qt(ao),op=Qt(mn),ap=Qt(Vn),Ir=Lt?Lt.prototype:i,Gn=Ir?Ir.valueOf:i,Ms=Ir?Ir.toString:i;function c(e){if(ve(e)&&!U(e)&&!(e instanceof X)){if(e instanceof Ze)return e;if(ne.call(e,"__wrapped__"))return Fl(e)}return new Ze(e)}var wn=function(){function e(){}return function(t){if(!ge(t))return{};if(Ls)return Ls(t);e.prototype=t;var r=new e;return e.prototype=i,r}}();function Rr(){}function Ze(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}c.templateSettings={escape:bf,evaluate:xf,interpolate:Ka,variable:"",imports:{_:c}},c.prototype=Rr.prototype,c.prototype.constructor=c,Ze.prototype=wn(Rr.prototype),Ze.prototype.constructor=Ze;function X(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=dt,this.__views__=[]}function sp(){var e=new X(this.__wrapped__);return e.__actions__=Ie(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ie(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ie(this.__views__),e}function lp(){if(this.__filtered__){var e=new X(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function up(){var e=this.__wrapped__.value(),t=this.__dir__,r=U(e),s=t<0,l=r?e.length:0,f=bh(0,l,this.__views__),p=f.start,_=f.end,y=_-p,C=s?_:p-1,T=this.__iteratees__,S=T.length,O=0,D=Ee(y,this.__takeCount__);if(!r||!s&&l==y&&D==y)return ul(e,this.__actions__);var W=[];e:for(;y--&&O<D;){C+=t;for(var j=-1,F=e[C];++j<S;){var Y=T[j],J=Y.iteratee,Ge=Y.type,Le=J(F);if(Ge==tt)F=Le;else if(!Le){if(Ge==ft)continue e;break e}}W[O++]=F}return W}X.prototype=wn(Rr.prototype),X.prototype.constructor=X;function jt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}function cp(){this.__data__=Un?Un(null):{},this.size=0}function fp(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function dp(e){var t=this.__data__;if(Un){var r=t[e];return r===w?i:r}return ne.call(t,e)?t[e]:i}function pp(e){var t=this.__data__;return Un?t[e]!==i:ne.call(t,e)}function hp(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Un&&t===i?w:t,this}jt.prototype.clear=cp,jt.prototype.delete=fp,jt.prototype.get=dp,jt.prototype.has=pp,jt.prototype.set=hp;function bt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}function gp(){this.__data__=[],this.size=0}function _p(e){var t=this.__data__,r=Nr(t,e);if(r<0)return!1;var s=t.length-1;return r==s?t.pop():Er.call(t,r,1),--this.size,!0}function vp(e){var t=this.__data__,r=Nr(t,e);return r<0?i:t[r][1]}function mp(e){return Nr(this.__data__,e)>-1}function yp(e,t){var r=this.__data__,s=Nr(r,e);return s<0?(++this.size,r.push([e,t])):r[s][1]=t,this}bt.prototype.clear=gp,bt.prototype.delete=_p,bt.prototype.get=vp,bt.prototype.has=mp,bt.prototype.set=yp;function xt(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var s=e[t];this.set(s[0],s[1])}}function wp(){this.size=0,this.__data__={hash:new jt,map:new(Wn||bt),string:new jt}}function bp(e){var t=Zr(this,e).delete(e);return this.size-=t?1:0,t}function xp(e){return Zr(this,e).get(e)}function $p(e){return Zr(this,e).has(e)}function Cp(e,t){var r=Zr(this,e),s=r.size;return r.set(e,t),this.size+=r.size==s?0:1,this}xt.prototype.clear=wp,xt.prototype.delete=bp,xt.prototype.get=xp,xt.prototype.has=$p,xt.prototype.set=Cp;function Zt(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new xt;++t<r;)this.add(e[t])}function Tp(e){return this.__data__.set(e,w),this}function Sp(e){return this.__data__.has(e)}Zt.prototype.add=Zt.prototype.push=Tp,Zt.prototype.has=Sp;function ot(e){var t=this.__data__=new bt(e);this.size=t.size}function Ap(){this.__data__=new bt,this.size=0}function zp(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function Bp(e){return this.__data__.get(e)}function Ep(e){return this.__data__.has(e)}function Pp(e,t){var r=this.__data__;if(r instanceof bt){var s=r.__data__;if(!Wn||s.length<d-1)return s.push([e,t]),this.size=++r.size,this;r=this.__data__=new xt(s)}return r.set(e,t),this.size=r.size,this}ot.prototype.clear=Ap,ot.prototype.delete=zp,ot.prototype.get=Bp,ot.prototype.has=Ep,ot.prototype.set=Pp;function Fs(e,t){var r=U(e),s=!r&&en(e),l=!r&&!s&&Mt(e),f=!r&&!s&&!l&&Cn(e),p=r||s||l||f,_=p?eo(e.length,Hd):[],y=_.length;for(var C in e)(t||ne.call(e,C))&&!(p&&(C=="length"||l&&(C=="offset"||C=="parent")||f&&(C=="buffer"||C=="byteLength"||C=="byteOffset")||Tt(C,y)))&&_.push(C);return _}function Hs(e){var t=e.length;return t?e[mo(0,t-1)]:i}function kp(e,t){return Yr(Ie(e),Yt(t,0,e.length))}function Op(e){return Yr(Ie(e))}function so(e,t,r){(r!==i&&!st(e[t],r)||r===i&&!(t in e))&&pt(e,t,r)}function qn(e,t,r){var s=e[t];(!(ne.call(e,t)&&st(s,r))||r===i&&!(t in e))&&pt(e,t,r)}function Nr(e,t){for(var r=e.length;r--;)if(st(e[r][0],t))return r;return-1}function Lp(e,t,r,s){return It(e,function(l,f,p){t(s,l,r(l),p)}),s}function Ws(e,t){return e&>(t,Te(t),e)}function Ip(e,t){return e&>(t,Ne(t),e)}function pt(e,t,r){t=="__proto__"&&Pr?Pr(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}function lo(e,t){for(var r=-1,s=t.length,l=x(s),f=e==null;++r<s;)l[r]=f?i:Uo(e,t[r]);return l}function Yt(e,t,r){return e===e&&(r!==i&&(e=e<=r?e:r),t!==i&&(e=e>=t?e:t)),e}function Ye(e,t,r,s,l,f){var p,_=t&E,y=t&k,C=t&z;if(r&&(p=l?r(e,s,l,f):r(e)),p!==i)return p;if(!ge(e))return e;var T=U(e);if(T){if(p=$h(e),!_)return Ie(e,p)}else{var S=Pe(e),O=S==gr||S==Va;if(Mt(e))return dl(e,_);if(S==wt||S==cn||O&&!l){if(p=y||O?{}:Pl(e),!_)return y?dh(e,Ip(p,e)):fh(e,Ws(p,e))}else{if(!oe[S])return l?e:{};p=Ch(e,S,_)}}f||(f=new ot);var D=f.get(e);if(D)return D;f.set(e,p),au(e)?e.forEach(function(F){p.add(Ye(F,t,r,F,e,f))}):iu(e)&&e.forEach(function(F,Y){p.set(Y,Ye(F,t,r,Y,e,f))});var W=C?y?Bo:zo:y?Ne:Te,j=T?i:W(e);return He(j||e,function(F,Y){j&&(Y=F,F=e[Y]),qn(p,Y,Ye(F,t,r,Y,e,f))}),p}function Rp(e){var t=Te(e);return function(r){return Vs(r,e,t)}}function Vs(e,t,r){var s=r.length;if(e==null)return!s;for(e=ie(e);s--;){var l=r[s],f=t[l],p=e[l];if(p===i&&!(l in e)||!f(p))return!1}return!0}function Us(e,t,r){if(typeof e!="function")throw new je(h);return Qn(function(){e.apply(i,r)},t)}function Kn(e,t,r,s){var l=-1,f=wr,p=!0,_=e.length,y=[],C=t.length;if(!_)return y;r&&(t=fe(t,We(r))),s?(f=ji,p=!1):t.length>=d&&(f=Fn,p=!1,t=new Zt(t));e:for(;++l<_;){var T=e[l],S=r==null?T:r(T);if(T=s||T!==0?T:0,p&&S===S){for(var O=C;O--;)if(t[O]===S)continue e;y.push(T)}else f(t,S,s)||y.push(T)}return y}var It=vl(ht),Gs=vl(co,!0);function Np(e,t){var r=!0;return It(e,function(s,l,f){return r=!!t(s,l,f),r}),r}function Dr(e,t,r){for(var s=-1,l=e.length;++s<l;){var f=e[s],p=t(f);if(p!=null&&(_===i?p===p&&!Ue(p):r(p,_)))var _=p,y=f}return y}function Dp(e,t,r,s){var l=e.length;for(r=q(r),r<0&&(r=-r>l?0:l+r),s=s===i||s>l?l:q(s),s<0&&(s+=l),s=r>s?0:lu(s);r<s;)e[r++]=t;return e}function qs(e,t){var r=[];return It(e,function(s,l,f){t(s,l,f)&&r.push(s)}),r}function Be(e,t,r,s,l){var f=-1,p=e.length;for(r||(r=Sh),l||(l=[]);++f<p;){var _=e[f];t>0&&r(_)?t>1?Be(_,t-1,r,s,l):kt(l,_):s||(l[l.length]=_)}return l}var uo=ml(),Ks=ml(!0);function ht(e,t){return e&&uo(e,t,Te)}function co(e,t){return e&&Ks(e,t,Te)}function Mr(e,t){return Pt(t,function(r){return St(e[r])})}function Xt(e,t){t=Nt(t,e);for(var r=0,s=t.length;e!=null&&r<s;)e=e[at(t[r++])];return r&&r==s?e:i}function js(e,t,r){var s=t(e);return U(e)?s:kt(s,r(e))}function ke(e){return e==null?e===i?hf:df:Kt&&Kt in ie(e)?wh(e):Oh(e)}function fo(e,t){return e>t}function Mp(e,t){return e!=null&&ne.call(e,t)}function Fp(e,t){return e!=null&&t in ie(e)}function Hp(e,t,r){return e>=Ee(t,r)&&e<Ce(t,r)}function po(e,t,r){for(var s=r?ji:wr,l=e[0].length,f=e.length,p=f,_=x(f),y=1/0,C=[];p--;){var T=e[p];p&&t&&(T=fe(T,We(t))),y=Ee(T.length,y),_[p]=!r&&(t||l>=120&&T.length>=120)?new Zt(p&&T):i}T=e[0];var S=-1,O=_[0];e:for(;++S<l&&C.length<y;){var D=T[S],W=t?t(D):D;if(D=r||D!==0?D:0,!(O?Fn(O,W):s(C,W,r))){for(p=f;--p;){var j=_[p];if(!(j?Fn(j,W):s(e[p],W,r)))continue e}O&&O.push(W),C.push(D)}}return C}function Wp(e,t,r,s){return ht(e,function(l,f,p){t(s,r(l),f,p)}),s}function jn(e,t,r){t=Nt(t,e),e=Il(e,t);var s=e==null?e:e[at(Je(t))];return s==null?i:Fe(s,e,r)}function Zs(e){return ve(e)&&ke(e)==cn}function Vp(e){return ve(e)&&ke(e)==Mn}function Up(e){return ve(e)&&ke(e)==Ln}function Zn(e,t,r,s,l){return e===t?!0:e==null||t==null||!ve(e)&&!ve(t)?e!==e&&t!==t:Gp(e,t,r,s,Zn,l)}function Gp(e,t,r,s,l,f){var p=U(e),_=U(t),y=p?pr:Pe(e),C=_?pr:Pe(t);y=y==cn?wt:y,C=C==cn?wt:C;var T=y==wt,S=C==wt,O=y==C;if(O&&Mt(e)){if(!Mt(t))return!1;p=!0,T=!1}if(O&&!T)return f||(f=new ot),p||Cn(e)?zl(e,t,r,s,l,f):mh(e,t,y,r,s,l,f);if(!(r&L)){var D=T&&ne.call(e,"__wrapped__"),W=S&&ne.call(t,"__wrapped__");if(D||W){var j=D?e.value():e,F=W?t.value():t;return f||(f=new ot),l(j,F,r,s,f)}}return O?(f||(f=new ot),yh(e,t,r,s,l,f)):!1}function qp(e){return ve(e)&&Pe(e)==nt}function ho(e,t,r,s){var l=r.length,f=l,p=!s;if(e==null)return!f;for(e=ie(e);l--;){var _=r[l];if(p&&_[2]?_[1]!==e[_[0]]:!(_[0]in e))return!1}for(;++l<f;){_=r[l];var y=_[0],C=e[y],T=_[1];if(p&&_[2]){if(C===i&&!(y in e))return!1}else{var S=new ot;if(s)var O=s(C,T,y,e,t,S);if(!(O===i?Zn(T,C,L|P,s,S):O))return!1}}return!0}function Ys(e){if(!ge(e)||zh(e))return!1;var t=St(e)?qd:Rf;return t.test(Qt(e))}function Kp(e){return ve(e)&&ke(e)==Rn}function jp(e){return ve(e)&&Pe(e)==rt}function Zp(e){return ve(e)&&ni(e.length)&&!!ue[ke(e)]}function Xs(e){return typeof e=="function"?e:e==null?De:typeof e=="object"?U(e)?el(e[0],e[1]):Qs(e):wu(e)}function go(e){if(!Jn(e))return Jd(e);var t=[];for(var r in ie(e))ne.call(e,r)&&r!="constructor"&&t.push(r);return t}function Yp(e){if(!ge(e))return kh(e);var t=Jn(e),r=[];for(var s in e)s=="constructor"&&(t||!ne.call(e,s))||r.push(s);return r}function _o(e,t){return e<t}function Js(e,t){var r=-1,s=Re(e)?x(e.length):[];return It(e,function(l,f,p){s[++r]=t(l,f,p)}),s}function Qs(e){var t=Po(e);return t.length==1&&t[0][2]?Ol(t[0][0],t[0][1]):function(r){return r===e||ho(r,e,t)}}function el(e,t){return Oo(e)&&kl(t)?Ol(at(e),t):function(r){var s=Uo(r,e);return s===i&&s===t?Go(r,e):Zn(t,s,L|P)}}function Fr(e,t,r,s,l){e!==t&&uo(t,function(f,p){if(l||(l=new ot),ge(f))Xp(e,t,p,r,Fr,s,l);else{var _=s?s(Io(e,p),f,p+"",e,t,l):i;_===i&&(_=f),so(e,p,_)}},Ne)}function Xp(e,t,r,s,l,f,p){var _=Io(e,r),y=Io(t,r),C=p.get(y);if(C){so(e,r,C);return}var T=f?f(_,y,r+"",e,t,p):i,S=T===i;if(S){var O=U(y),D=!O&&Mt(y),W=!O&&!D&&Cn(y);T=y,O||D||W?U(_)?T=_:me(_)?T=Ie(_):D?(S=!1,T=dl(y,!0)):W?(S=!1,T=pl(y,!0)):T=[]:er(y)||en(y)?(T=_,en(_)?T=uu(_):(!ge(_)||St(_))&&(T=Pl(y))):S=!1}S&&(p.set(y,T),l(T,y,s,f,p),p.delete(y)),so(e,r,T)}function tl(e,t){var r=e.length;if(r)return t+=t<0?r:0,Tt(t,r)?e[t]:i}function nl(e,t,r){t.length?t=fe(t,function(f){return U(f)?function(p){return Xt(p,f.length===1?f[0]:f)}:f}):t=[De];var s=-1;t=fe(t,We(H()));var l=Js(e,function(f,p,_){var y=fe(t,function(C){return C(f)});return{criteria:y,index:++s,value:f}});return Cd(l,function(f,p){return ch(f,p,r)})}function Jp(e,t){return rl(e,t,function(r,s){return Go(e,s)})}function rl(e,t,r){for(var s=-1,l=t.length,f={};++s<l;){var p=t[s],_=Xt(e,p);r(_,p)&&Yn(f,Nt(p,e),_)}return f}function Qp(e){return function(t){return Xt(t,e)}}function vo(e,t,r,s){var l=s?$d:pn,f=-1,p=t.length,_=e;for(e===t&&(t=Ie(t)),r&&(_=fe(e,We(r)));++f<p;)for(var y=0,C=t[f],T=r?r(C):C;(y=l(_,T,y,s))>-1;)_!==e&&Er.call(_,y,1),Er.call(e,y,1);return e}function il(e,t){for(var r=e?t.length:0,s=r-1;r--;){var l=t[r];if(r==s||l!==f){var f=l;Tt(l)?Er.call(e,l,1):bo(e,l)}}return e}function mo(e,t){return e+Or(Ds()*(t-e+1))}function eh(e,t,r,s){for(var l=-1,f=Ce(kr((t-e)/(r||1)),0),p=x(f);f--;)p[s?f:++l]=e,e+=r;return p}function yo(e,t){var r="";if(!e||t<1||t>Ae)return r;do t%2&&(r+=e),t=Or(t/2),t&&(e+=e);while(t);return r}function Z(e,t){return Ro(Ll(e,t,De),e+"")}function th(e){return Hs(Tn(e))}function nh(e,t){var r=Tn(e);return Yr(r,Yt(t,0,r.length))}function Yn(e,t,r,s){if(!ge(e))return e;t=Nt(t,e);for(var l=-1,f=t.length,p=f-1,_=e;_!=null&&++l<f;){var y=at(t[l]),C=r;if(y==="__proto__"||y==="constructor"||y==="prototype")return e;if(l!=p){var T=_[y];C=s?s(T,y,_):i,C===i&&(C=ge(T)?T:Tt(t[l+1])?[]:{})}qn(_,y,C),_=_[y]}return e}var ol=Lr?function(e,t){return Lr.set(e,t),e}:De,rh=Pr?function(e,t){return Pr(e,"toString",{configurable:!0,enumerable:!1,value:Ko(t),writable:!0})}:De;function ih(e){return Yr(Tn(e))}function Xe(e,t,r){var s=-1,l=e.length;t<0&&(t=-t>l?0:l+t),r=r>l?l:r,r<0&&(r+=l),l=t>r?0:r-t>>>0,t>>>=0;for(var f=x(l);++s<l;)f[s]=e[s+t];return f}function oh(e,t){var r;return It(e,function(s,l,f){return r=t(s,l,f),!r}),!!r}function Hr(e,t,r){var s=0,l=e==null?s:e.length;if(typeof t=="number"&&t===t&&l<=lf){for(;s<l;){var f=s+l>>>1,p=e[f];p!==null&&!Ue(p)&&(r?p<=t:p<t)?s=f+1:l=f}return l}return wo(e,t,De,r)}function wo(e,t,r,s){var l=0,f=e==null?0:e.length;if(f===0)return 0;t=r(t);for(var p=t!==t,_=t===null,y=Ue(t),C=t===i;l<f;){var T=Or((l+f)/2),S=r(e[T]),O=S!==i,D=S===null,W=S===S,j=Ue(S);if(p)var F=s||W;else C?F=W&&(s||O):_?F=W&&O&&(s||!D):y?F=W&&O&&!D&&(s||!j):D||j?F=!1:F=s?S<=t:S<t;F?l=T+1:f=T}return Ee(f,sf)}function al(e,t){for(var r=-1,s=e.length,l=0,f=[];++r<s;){var p=e[r],_=t?t(p):p;if(!r||!st(_,y)){var y=_;f[l++]=p===0?0:p}}return f}function sl(e){return typeof e=="number"?e:Ue(e)?dr:+e}function Ve(e){if(typeof e=="string")return e;if(U(e))return fe(e,Ve)+"";if(Ue(e))return Ms?Ms.call(e):"";var t=e+"";return t=="0"&&1/e==-xe?"-0":t}function Rt(e,t,r){var s=-1,l=wr,f=e.length,p=!0,_=[],y=_;if(r)p=!1,l=ji;else if(f>=d){var C=t?null:_h(e);if(C)return xr(C);p=!1,l=Fn,y=new Zt}else y=t?[]:_;e:for(;++s<f;){var T=e[s],S=t?t(T):T;if(T=r||T!==0?T:0,p&&S===S){for(var O=y.length;O--;)if(y[O]===S)continue e;t&&y.push(S),_.push(T)}else l(y,S,r)||(y!==_&&y.push(S),_.push(T))}return _}function bo(e,t){t=Nt(t,e);var r=-1,s=t.length;if(!s)return!0;for(;++r<s;){var l=at(t[r]);if(l==="__proto__"&&!ne.call(e,"__proto__")||(l==="constructor"||l==="prototype")&&r<s-1)return!1}var f=Il(e,t);return f==null||delete f[at(Je(t))]}function ll(e,t,r,s){return Yn(e,t,r(Xt(e,t)),s)}function Wr(e,t,r,s){for(var l=e.length,f=s?l:-1;(s?f--:++f<l)&&t(e[f],f,e););return r?Xe(e,s?0:f,s?f+1:l):Xe(e,s?f+1:0,s?l:f)}function ul(e,t){var r=e;return r instanceof X&&(r=r.value()),Zi(t,function(s,l){return l.func.apply(l.thisArg,kt([s],l.args))},r)}function xo(e,t,r){var s=e.length;if(s<2)return s?Rt(e[0]):[];for(var l=-1,f=x(s);++l<s;)for(var p=e[l],_=-1;++_<s;)_!=l&&(f[l]=Kn(f[l]||p,e[_],t,r));return Rt(Be(f,1),t,r)}function cl(e,t,r){for(var s=-1,l=e.length,f=t.length,p={};++s<l;){var _=s<f?t[s]:i;r(p,e[s],_)}return p}function $o(e){return me(e)?e:[]}function Co(e){return typeof e=="function"?e:De}function Nt(e,t){return U(e)?e:Oo(e,t)?[e]:Ml(re(e))}var ah=Z;function Dt(e,t,r){var s=e.length;return r=r===i?s:r,!t&&r>=s?e:Xe(e,t,r)}var fl=Kd||function(e){return ze.clearTimeout(e)};function dl(e,t){if(t)return e.slice();var r=e.length,s=Os?Os(r):new e.constructor(r);return e.copy(s),s}function To(e){var t=new e.constructor(e.byteLength);return new zr(t).set(new zr(e)),t}function sh(e,t){var r=t?To(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}function lh(e){var t=new e.constructor(e.source,Za.exec(e));return t.lastIndex=e.lastIndex,t}function uh(e){return Gn?ie(Gn.call(e)):{}}function pl(e,t){var r=t?To(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function hl(e,t){if(e!==t){var r=e!==i,s=e===null,l=e===e,f=Ue(e),p=t!==i,_=t===null,y=t===t,C=Ue(t);if(!_&&!C&&!f&&e>t||f&&p&&y&&!_&&!C||s&&p&&y||!r&&y||!l)return 1;if(!s&&!f&&!C&&e<t||C&&r&&l&&!s&&!f||_&&r&&l||!p&&l||!y)return-1}return 0}function ch(e,t,r){for(var s=-1,l=e.criteria,f=t.criteria,p=l.length,_=r.length;++s<p;){var y=hl(l[s],f[s]);if(y){if(s>=_)return y;var C=r[s];return y*(C=="desc"?-1:1)}}return e.index-t.index}function gl(e,t,r,s){for(var l=-1,f=e.length,p=r.length,_=-1,y=t.length,C=Ce(f-p,0),T=x(y+C),S=!s;++_<y;)T[_]=t[_];for(;++l<p;)(S||l<f)&&(T[r[l]]=e[l]);for(;C--;)T[_++]=e[l++];return T}function _l(e,t,r,s){for(var l=-1,f=e.length,p=-1,_=r.length,y=-1,C=t.length,T=Ce(f-_,0),S=x(T+C),O=!s;++l<T;)S[l]=e[l];for(var D=l;++y<C;)S[D+y]=t[y];for(;++p<_;)(O||l<f)&&(S[D+r[p]]=e[l++]);return S}function Ie(e,t){var r=-1,s=e.length;for(t||(t=x(s));++r<s;)t[r]=e[r];return t}function gt(e,t,r,s){var l=!r;r||(r={});for(var f=-1,p=t.length;++f<p;){var _=t[f],y=s?s(r[_],e[_],_,r,e):i;y===i&&(y=e[_]),l?pt(r,_,y):qn(r,_,y)}return r}function fh(e,t){return gt(e,ko(e),t)}function dh(e,t){return gt(e,Bl(e),t)}function Vr(e,t){return function(r,s){var l=U(r)?vd:Lp,f=t?t():{};return l(r,e,H(s,2),f)}}function bn(e){return Z(function(t,r){var s=-1,l=r.length,f=l>1?r[l-1]:i,p=l>2?r[2]:i;for(f=e.length>3&&typeof f=="function"?(l--,f):i,p&&Oe(r[0],r[1],p)&&(f=l<3?i:f,l=1),t=ie(t);++s<l;){var _=r[s];_&&e(t,_,s,f)}return t})}function vl(e,t){return function(r,s){if(r==null)return r;if(!Re(r))return e(r,s);for(var l=r.length,f=t?l:-1,p=ie(r);(t?f--:++f<l)&&s(p[f],f,p)!==!1;);return r}}function ml(e){return function(t,r,s){for(var l=-1,f=ie(t),p=s(t),_=p.length;_--;){var y=p[e?_:++l];if(r(f[y],y,f)===!1)break}return t}}function ph(e,t,r){var s=t&I,l=Xn(e);function f(){var p=this&&this!==ze&&this instanceof f?l:e;return p.apply(s?r:this,arguments)}return f}function yl(e){return function(t){t=re(t);var r=hn(t)?it(t):i,s=r?r[0]:t.charAt(0),l=r?Dt(r,1).join(""):t.slice(1);return s[e]()+l}}function xn(e){return function(t){return Zi(mu(vu(t).replace(rd,"")),e,"")}}function Xn(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=wn(e.prototype),s=e.apply(r,t);return ge(s)?s:r}}function hh(e,t,r){var s=Xn(e);function l(){for(var f=arguments.length,p=x(f),_=f,y=$n(l);_--;)p[_]=arguments[_];var C=f<3&&p[0]!==y&&p[f-1]!==y?[]:Ot(p,y);if(f-=C.length,f<r)return Cl(e,t,Ur,l.placeholder,i,p,C,i,i,r-f);var T=this&&this!==ze&&this instanceof l?s:e;return Fe(T,this,p)}return l}function wl(e){return function(t,r,s){var l=ie(t);if(!Re(t)){var f=H(r,3);t=Te(t),r=function(_){return f(l[_],_,l)}}var p=e(t,r,s);return p>-1?l[f?t[p]:p]:i}}function bl(e){return Ct(function(t){var r=t.length,s=r,l=Ze.prototype.thru;for(e&&t.reverse();s--;){var f=t[s];if(typeof f!="function")throw new je(h);if(l&&!p&&jr(f)=="wrapper")var p=new Ze([],!0)}for(s=p?s:r;++s<r;){f=t[s];var _=jr(f),y=_=="wrapper"?Eo(f):i;y&&Lo(y[0])&&y[1]==(pe|G|ee|_e)&&!y[4].length&&y[9]==1?p=p[jr(y[0])].apply(p,y[3]):p=f.length==1&&Lo(f)?p[_]():p.thru(f)}return function(){var C=arguments,T=C[0];if(p&&C.length==1&&U(T))return p.plant(T).value();for(var S=0,O=r?t[S].apply(this,C):T;++S<r;)O=t[S].call(this,O);return O}})}function Ur(e,t,r,s,l,f,p,_,y,C){var T=t&pe,S=t&I,O=t&N,D=t&(G|le),W=t&M,j=O?i:Xn(e);function F(){for(var Y=arguments.length,J=x(Y),Ge=Y;Ge--;)J[Ge]=arguments[Ge];if(D)var Le=$n(F),qe=Sd(J,Le);if(s&&(J=gl(J,s,l,D)),f&&(J=_l(J,f,p,D)),Y-=qe,D&&Y<C){var ye=Ot(J,Le);return Cl(e,t,Ur,F.placeholder,r,J,ye,_,y,C-Y)}var lt=S?r:this,zt=O?lt[e]:e;return Y=J.length,_?J=Lh(J,_):W&&Y>1&&J.reverse(),T&&y<Y&&(J.length=y),this&&this!==ze&&this instanceof F&&(zt=j||Xn(zt)),zt.apply(lt,J)}return F}function xl(e,t){return function(r,s){return Wp(r,e,t(s),{})}}function Gr(e,t){return function(r,s){var l;if(r===i&&s===i)return t;if(r!==i&&(l=r),s!==i){if(l===i)return s;typeof r=="string"||typeof s=="string"?(r=Ve(r),s=Ve(s)):(r=sl(r),s=sl(s)),l=e(r,s)}return l}}function So(e){return Ct(function(t){return t=fe(t,We(H())),Z(function(r){var s=this;return e(t,function(l){return Fe(l,s,r)})})})}function qr(e,t){t=t===i?" ":Ve(t);var r=t.length;if(r<2)return r?yo(t,e):t;var s=yo(t,kr(e/gn(t)));return hn(t)?Dt(it(s),0,e).join(""):s.slice(0,e)}function gh(e,t,r,s){var l=t&I,f=Xn(e);function p(){for(var _=-1,y=arguments.length,C=-1,T=s.length,S=x(T+y),O=this&&this!==ze&&this instanceof p?f:e;++C<T;)S[C]=s[C];for(;y--;)S[C++]=arguments[++_];return Fe(O,l?r:this,S)}return p}function $l(e){return function(t,r,s){return s&&typeof s!="number"&&Oe(t,r,s)&&(r=s=i),t=At(t),r===i?(r=t,t=0):r=At(r),s=s===i?t<r?1:-1:At(s),eh(t,r,s,e)}}function Kr(e){return function(t,r){return typeof t=="string"&&typeof r=="string"||(t=Qe(t),r=Qe(r)),e(t,r)}}function Cl(e,t,r,s,l,f,p,_,y,C){var T=t&G,S=T?p:i,O=T?i:p,D=T?f:i,W=T?i:f;t|=T?ee:de,t&=~(T?de:ee),t&K||(t&=-4);var j=[e,t,l,D,S,W,O,_,y,C],F=r.apply(i,j);return Lo(e)&&Rl(F,j),F.placeholder=s,Nl(F,e,t)}function Ao(e){var t=$e[e];return function(r,s){if(r=Qe(r),s=s==null?0:Ee(q(s),292),s&&Ns(r)){var l=(re(r)+"e").split("e"),f=t(l[0]+"e"+(+l[1]+s));return l=(re(f)+"e").split("e"),+(l[0]+"e"+(+l[1]-s))}return t(r)}}var _h=mn&&1/xr(new mn([,-0]))[1]==xe?function(e){return new mn(e)}:Yo;function Tl(e){return function(t){var r=Pe(t);return r==nt?no(t):r==rt?Od(t):Td(t,e(t))}}function $t(e,t,r,s,l,f,p,_){var y=t&N;if(!y&&typeof e!="function")throw new je(h);var C=s?s.length:0;if(C||(t&=-97,s=l=i),p=p===i?p:Ce(q(p),0),_=_===i?_:q(_),C-=l?l.length:0,t&de){var T=s,S=l;s=l=i}var O=y?i:Eo(e),D=[e,t,r,s,l,T,S,f,p,_];if(O&&Ph(D,O),e=D[0],t=D[1],r=D[2],s=D[3],l=D[4],_=D[9]=D[9]===i?y?0:e.length:Ce(D[9]-C,0),!_&&t&(G|le)&&(t&=-25),!t||t==I)var W=ph(e,t,r);else t==G||t==le?W=hh(e,t,_):(t==ee||t==(I|ee))&&!l.length?W=gh(e,t,r,s):W=Ur.apply(i,D);var j=O?ol:Rl;return Nl(j(W,D),e,t)}function Sl(e,t,r,s){return e===i||st(e,vn[r])&&!ne.call(s,r)?t:e}function Al(e,t,r,s,l,f){return ge(e)&&ge(t)&&(f.set(t,e),Fr(e,t,i,Al,f),f.delete(t)),e}function vh(e){return er(e)?i:e}function zl(e,t,r,s,l,f){var p=r&L,_=e.length,y=t.length;if(_!=y&&!(p&&y>_))return!1;var C=f.get(e),T=f.get(t);if(C&&T)return C==t&&T==e;var S=-1,O=!0,D=r&P?new Zt:i;for(f.set(e,t),f.set(t,e);++S<_;){var W=e[S],j=t[S];if(s)var F=p?s(j,W,S,t,e,f):s(W,j,S,e,t,f);if(F!==i){if(F)continue;O=!1;break}if(D){if(!Yi(t,function(Y,J){if(!Fn(D,J)&&(W===Y||l(W,Y,r,s,f)))return D.push(J)})){O=!1;break}}else if(!(W===j||l(W,j,r,s,f))){O=!1;break}}return f.delete(e),f.delete(t),O}function mh(e,t,r,s,l,f,p){switch(r){case fn:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Mn:return!(e.byteLength!=t.byteLength||!f(new zr(e),new zr(t)));case On:case Ln:case In:return st(+e,+t);case hr:return e.name==t.name&&e.message==t.message;case Rn:case Nn:return e==t+"";case nt:var _=no;case rt:var y=s&L;if(_||(_=xr),e.size!=t.size&&!y)return!1;var C=p.get(e);if(C)return C==t;s|=P,p.set(e,t);var T=zl(_(e),_(t),s,l,f,p);return p.delete(e),T;case _r:if(Gn)return Gn.call(e)==Gn.call(t)}return!1}function yh(e,t,r,s,l,f){var p=r&L,_=zo(e),y=_.length,C=zo(t),T=C.length;if(y!=T&&!p)return!1;for(var S=y;S--;){var O=_[S];if(!(p?O in t:ne.call(t,O)))return!1}var D=f.get(e),W=f.get(t);if(D&&W)return D==t&&W==e;var j=!0;f.set(e,t),f.set(t,e);for(var F=p;++S<y;){O=_[S];var Y=e[O],J=t[O];if(s)var Ge=p?s(J,Y,O,t,e,f):s(Y,J,O,e,t,f);if(!(Ge===i?Y===J||l(Y,J,r,s,f):Ge)){j=!1;break}F||(F=O=="constructor")}if(j&&!F){var Le=e.constructor,qe=t.constructor;Le!=qe&&"constructor"in e&&"constructor"in t&&!(typeof Le=="function"&&Le instanceof Le&&typeof qe=="function"&&qe instanceof qe)&&(j=!1)}return f.delete(e),f.delete(t),j}function Ct(e){return Ro(Ll(e,i,Vl),e+"")}function zo(e){return js(e,Te,ko)}function Bo(e){return js(e,Ne,Bl)}var Eo=Lr?function(e){return Lr.get(e)}:Yo;function jr(e){for(var t=e.name+"",r=yn[t],s=ne.call(yn,t)?r.length:0;s--;){var l=r[s],f=l.func;if(f==null||f==e)return l.name}return t}function $n(e){var t=ne.call(c,"placeholder")?c:e;return t.placeholder}function H(){var e=c.iteratee||jo;return e=e===jo?Xs:e,arguments.length?e(arguments[0],arguments[1]):e}function Zr(e,t){var r=e.__data__;return Ah(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Po(e){for(var t=Te(e),r=t.length;r--;){var s=t[r],l=e[s];t[r]=[s,l,kl(l)]}return t}function Jt(e,t){var r=Ed(e,t);return Ys(r)?r:i}function wh(e){var t=ne.call(e,Kt),r=e[Kt];try{e[Kt]=i;var s=!0}catch{}var l=Sr.call(e);return s&&(t?e[Kt]=r:delete e[Kt]),l}var ko=io?function(e){return e==null?[]:(e=ie(e),Pt(io(e),function(t){return Is.call(e,t)}))}:Xo,Bl=io?function(e){for(var t=[];e;)kt(t,ko(e)),e=Br(e);return t}:Xo,Pe=ke;(oo&&Pe(new oo(new ArrayBuffer(1)))!=fn||Wn&&Pe(new Wn)!=nt||ao&&Pe(ao.resolve())!=Ua||mn&&Pe(new mn)!=rt||Vn&&Pe(new Vn)!=Dn)&&(Pe=function(e){var t=ke(e),r=t==wt?e.constructor:i,s=r?Qt(r):"";if(s)switch(s){case np:return fn;case rp:return nt;case ip:return Ua;case op:return rt;case ap:return Dn}return t});function bh(e,t,r){for(var s=-1,l=r.length;++s<l;){var f=r[s],p=f.size;switch(f.type){case"drop":e+=p;break;case"dropRight":t-=p;break;case"take":t=Ee(t,e+p);break;case"takeRight":e=Ce(e,t-p);break}}return{start:e,end:t}}function xh(e){var t=e.match(Bf);return t?t[1].split(Ef):[]}function El(e,t,r){t=Nt(t,e);for(var s=-1,l=t.length,f=!1;++s<l;){var p=at(t[s]);if(!(f=e!=null&&r(e,p)))break;e=e[p]}return f||++s!=l?f:(l=e==null?0:e.length,!!l&&ni(l)&&Tt(p,l)&&(U(e)||en(e)))}function $h(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&ne.call(e,"index")&&(r.index=e.index,r.input=e.input),r}function Pl(e){return typeof e.constructor=="function"&&!Jn(e)?wn(Br(e)):{}}function Ch(e,t,r){var s=e.constructor;switch(t){case Mn:return To(e);case On:case Ln:return new s(+e);case fn:return sh(e,r);case Ei:case Pi:case ki:case Oi:case Li:case Ii:case Ri:case Ni:case Di:return pl(e,r);case nt:return new s;case In:case Nn:return new s(e);case Rn:return lh(e);case rt:return new s;case _r:return uh(e)}}function Th(e,t){var r=t.length;if(!r)return e;var s=r-1;return t[s]=(r>1?"& ":"")+t[s],t=t.join(r>2?", ":" "),e.replace(zf,`{
|
|
9
|
+
/* [wrapped with `+t+`] */
|
|
10
|
+
`)}function Sh(e){return U(e)||en(e)||!!(Rs&&e&&e[Rs])}function Tt(e,t){var r=typeof e;return t=t??Ae,!!t&&(r=="number"||r!="symbol"&&Df.test(e))&&e>-1&&e%1==0&&e<t}function Oe(e,t,r){if(!ge(r))return!1;var s=typeof t;return(s=="number"?Re(r)&&Tt(t,r.length):s=="string"&&t in r)?st(r[t],e):!1}function Oo(e,t){if(U(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Ue(e)?!0:Cf.test(e)||!$f.test(e)||t!=null&&e in ie(t)}function Ah(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Lo(e){var t=jr(e),r=c[t];if(typeof r!="function"||!(t in X.prototype))return!1;if(e===r)return!0;var s=Eo(r);return!!s&&e===s[0]}function zh(e){return!!ks&&ks in e}var Bh=Cr?St:Jo;function Jn(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||vn;return e===r}function kl(e){return e===e&&!ge(e)}function Ol(e,t){return function(r){return r==null?!1:r[e]===t&&(t!==i||e in ie(r))}}function Eh(e){var t=ei(e,function(s){return r.size===A&&r.clear(),s}),r=t.cache;return t}function Ph(e,t){var r=e[1],s=t[1],l=r|s,f=l<(I|N|pe),p=s==pe&&r==G||s==pe&&r==_e&&e[7].length<=t[8]||s==(pe|_e)&&t[7].length<=t[8]&&r==G;if(!(f||p))return e;s&I&&(e[2]=t[2],l|=r&I?0:K);var _=t[3];if(_){var y=e[3];e[3]=y?gl(y,_,t[4]):_,e[4]=y?Ot(e[3],B):t[4]}return _=t[5],_&&(y=e[5],e[5]=y?_l(y,_,t[6]):_,e[6]=y?Ot(e[5],B):t[6]),_=t[7],_&&(e[7]=_),s&pe&&(e[8]=e[8]==null?t[8]:Ee(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=l,e}function kh(e){var t=[];if(e!=null)for(var r in ie(e))t.push(r);return t}function Oh(e){return Sr.call(e)}function Ll(e,t,r){return t=Ce(t===i?e.length-1:t,0),function(){for(var s=arguments,l=-1,f=Ce(s.length-t,0),p=x(f);++l<f;)p[l]=s[t+l];l=-1;for(var _=x(t+1);++l<t;)_[l]=s[l];return _[t]=r(p),Fe(e,this,_)}}function Il(e,t){return t.length<2?e:Xt(e,Xe(t,0,-1))}function Lh(e,t){for(var r=e.length,s=Ee(t.length,r),l=Ie(e);s--;){var f=t[s];e[s]=Tt(f,r)?l[f]:i}return e}function Io(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Rl=Dl(ol),Qn=Zd||function(e,t){return ze.setTimeout(e,t)},Ro=Dl(rh);function Nl(e,t,r){var s=t+"";return Ro(e,Th(s,Ih(xh(s),r)))}function Dl(e){var t=0,r=0;return function(){var s=Qd(),l=Se-(s-r);if(r=s,l>0){if(++t>=be)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Yr(e,t){var r=-1,s=e.length,l=s-1;for(t=t===i?s:t;++r<t;){var f=mo(r,l),p=e[f];e[f]=e[r],e[r]=p}return e.length=t,e}var Ml=Eh(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Tf,function(r,s,l,f){t.push(l?f.replace(kf,"$1"):s||r)}),t});function at(e){if(typeof e=="string"||Ue(e))return e;var t=e+"";return t=="0"&&1/e==-xe?"-0":t}function Qt(e){if(e!=null){try{return Tr.call(e)}catch{}try{return e+""}catch{}}return""}function Ih(e,t){return He(uf,function(r){var s="_."+r[0];t&r[1]&&!wr(e,s)&&e.push(s)}),e.sort()}function Fl(e){if(e instanceof X)return e.clone();var t=new Ze(e.__wrapped__,e.__chain__);return t.__actions__=Ie(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Rh(e,t,r){(r?Oe(e,t,r):t===i)?t=1:t=Ce(q(t),0);var s=e==null?0:e.length;if(!s||t<1)return[];for(var l=0,f=0,p=x(kr(s/t));l<s;)p[f++]=Xe(e,l,l+=t);return p}function Nh(e){for(var t=-1,r=e==null?0:e.length,s=0,l=[];++t<r;){var f=e[t];f&&(l[s++]=f)}return l}function Dh(){var e=arguments.length;if(!e)return[];for(var t=x(e-1),r=arguments[0],s=e;s--;)t[s-1]=arguments[s];return kt(U(r)?Ie(r):[r],Be(t,1))}var Mh=Z(function(e,t){return me(e)?Kn(e,Be(t,1,me,!0)):[]}),Fh=Z(function(e,t){var r=Je(t);return me(r)&&(r=i),me(e)?Kn(e,Be(t,1,me,!0),H(r,2)):[]}),Hh=Z(function(e,t){var r=Je(t);return me(r)&&(r=i),me(e)?Kn(e,Be(t,1,me,!0),i,r):[]});function Wh(e,t,r){var s=e==null?0:e.length;return s?(t=r||t===i?1:q(t),Xe(e,t<0?0:t,s)):[]}function Vh(e,t,r){var s=e==null?0:e.length;return s?(t=r||t===i?1:q(t),t=s-t,Xe(e,0,t<0?0:t)):[]}function Uh(e,t){return e&&e.length?Wr(e,H(t,3),!0,!0):[]}function Gh(e,t){return e&&e.length?Wr(e,H(t,3),!0):[]}function qh(e,t,r,s){var l=e==null?0:e.length;return l?(r&&typeof r!="number"&&Oe(e,t,r)&&(r=0,s=l),Dp(e,t,r,s)):[]}function Hl(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=r==null?0:q(r);return l<0&&(l=Ce(s+l,0)),br(e,H(t,3),l)}function Wl(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=s-1;return r!==i&&(l=q(r),l=r<0?Ce(s+l,0):Ee(l,s-1)),br(e,H(t,3),l,!0)}function Vl(e){var t=e==null?0:e.length;return t?Be(e,1):[]}function Kh(e){var t=e==null?0:e.length;return t?Be(e,xe):[]}function jh(e,t){var r=e==null?0:e.length;return r?(t=t===i?1:q(t),Be(e,t)):[]}function Zh(e){for(var t=-1,r=e==null?0:e.length,s={};++t<r;){var l=e[t];pt(s,l[0],l[1])}return s}function Ul(e){return e&&e.length?e[0]:i}function Yh(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=r==null?0:q(r);return l<0&&(l=Ce(s+l,0)),pn(e,t,l)}function Xh(e){var t=e==null?0:e.length;return t?Xe(e,0,-1):[]}var Jh=Z(function(e){var t=fe(e,$o);return t.length&&t[0]===e[0]?po(t):[]}),Qh=Z(function(e){var t=Je(e),r=fe(e,$o);return t===Je(r)?t=i:r.pop(),r.length&&r[0]===e[0]?po(r,H(t,2)):[]}),eg=Z(function(e){var t=Je(e),r=fe(e,$o);return t=typeof t=="function"?t:i,t&&r.pop(),r.length&&r[0]===e[0]?po(r,i,t):[]});function tg(e,t){return e==null?"":Xd.call(e,t)}function Je(e){var t=e==null?0:e.length;return t?e[t-1]:i}function ng(e,t,r){var s=e==null?0:e.length;if(!s)return-1;var l=s;return r!==i&&(l=q(r),l=l<0?Ce(s+l,0):Ee(l,s-1)),t===t?Id(e,t,l):br(e,Cs,l,!0)}function rg(e,t){return e&&e.length?tl(e,q(t)):i}var ig=Z(Gl);function Gl(e,t){return e&&e.length&&t&&t.length?vo(e,t):e}function og(e,t,r){return e&&e.length&&t&&t.length?vo(e,t,H(r,2)):e}function ag(e,t,r){return e&&e.length&&t&&t.length?vo(e,t,i,r):e}var sg=Ct(function(e,t){var r=e==null?0:e.length,s=lo(e,t);return il(e,fe(t,function(l){return Tt(l,r)?+l:l}).sort(hl)),s});function lg(e,t){var r=[];if(!(e&&e.length))return r;var s=-1,l=[],f=e.length;for(t=H(t,3);++s<f;){var p=e[s];t(p,s,e)&&(r.push(p),l.push(s))}return il(e,l),r}function No(e){return e==null?e:tp.call(e)}function ug(e,t,r){var s=e==null?0:e.length;return s?(r&&typeof r!="number"&&Oe(e,t,r)?(t=0,r=s):(t=t==null?0:q(t),r=r===i?s:q(r)),Xe(e,t,r)):[]}function cg(e,t){return Hr(e,t)}function fg(e,t,r){return wo(e,t,H(r,2))}function dg(e,t){var r=e==null?0:e.length;if(r){var s=Hr(e,t);if(s<r&&st(e[s],t))return s}return-1}function pg(e,t){return Hr(e,t,!0)}function hg(e,t,r){return wo(e,t,H(r,2),!0)}function gg(e,t){var r=e==null?0:e.length;if(r){var s=Hr(e,t,!0)-1;if(st(e[s],t))return s}return-1}function _g(e){return e&&e.length?al(e):[]}function vg(e,t){return e&&e.length?al(e,H(t,2)):[]}function mg(e){var t=e==null?0:e.length;return t?Xe(e,1,t):[]}function yg(e,t,r){return e&&e.length?(t=r||t===i?1:q(t),Xe(e,0,t<0?0:t)):[]}function wg(e,t,r){var s=e==null?0:e.length;return s?(t=r||t===i?1:q(t),t=s-t,Xe(e,t<0?0:t,s)):[]}function bg(e,t){return e&&e.length?Wr(e,H(t,3),!1,!0):[]}function xg(e,t){return e&&e.length?Wr(e,H(t,3)):[]}var $g=Z(function(e){return Rt(Be(e,1,me,!0))}),Cg=Z(function(e){var t=Je(e);return me(t)&&(t=i),Rt(Be(e,1,me,!0),H(t,2))}),Tg=Z(function(e){var t=Je(e);return t=typeof t=="function"?t:i,Rt(Be(e,1,me,!0),i,t)});function Sg(e){return e&&e.length?Rt(e):[]}function Ag(e,t){return e&&e.length?Rt(e,H(t,2)):[]}function zg(e,t){return t=typeof t=="function"?t:i,e&&e.length?Rt(e,i,t):[]}function Do(e){if(!(e&&e.length))return[];var t=0;return e=Pt(e,function(r){if(me(r))return t=Ce(r.length,t),!0}),eo(t,function(r){return fe(e,Xi(r))})}function ql(e,t){if(!(e&&e.length))return[];var r=Do(e);return t==null?r:fe(r,function(s){return Fe(t,i,s)})}var Bg=Z(function(e,t){return me(e)?Kn(e,t):[]}),Eg=Z(function(e){return xo(Pt(e,me))}),Pg=Z(function(e){var t=Je(e);return me(t)&&(t=i),xo(Pt(e,me),H(t,2))}),kg=Z(function(e){var t=Je(e);return t=typeof t=="function"?t:i,xo(Pt(e,me),i,t)}),Og=Z(Do);function Lg(e,t){return cl(e||[],t||[],qn)}function Ig(e,t){return cl(e||[],t||[],Yn)}var Rg=Z(function(e){var t=e.length,r=t>1?e[t-1]:i;return r=typeof r=="function"?(e.pop(),r):i,ql(e,r)});function Kl(e){var t=c(e);return t.__chain__=!0,t}function Ng(e,t){return t(e),e}function Xr(e,t){return t(e)}var Dg=Ct(function(e){var t=e.length,r=t?e[0]:0,s=this.__wrapped__,l=function(f){return lo(f,e)};return t>1||this.__actions__.length||!(s instanceof X)||!Tt(r)?this.thru(l):(s=s.slice(r,+r+(t?1:0)),s.__actions__.push({func:Xr,args:[l],thisArg:i}),new Ze(s,this.__chain__).thru(function(f){return t&&!f.length&&f.push(i),f}))});function Mg(){return Kl(this)}function Fg(){return new Ze(this.value(),this.__chain__)}function Hg(){this.__values__===i&&(this.__values__=su(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function Wg(){return this}function Vg(e){for(var t,r=this;r instanceof Rr;){var s=Fl(r);s.__index__=0,s.__values__=i,t?l.__wrapped__=s:t=s;var l=s;r=r.__wrapped__}return l.__wrapped__=e,t}function Ug(){var e=this.__wrapped__;if(e instanceof X){var t=e;return this.__actions__.length&&(t=new X(this)),t=t.reverse(),t.__actions__.push({func:Xr,args:[No],thisArg:i}),new Ze(t,this.__chain__)}return this.thru(No)}function Gg(){return ul(this.__wrapped__,this.__actions__)}var qg=Vr(function(e,t,r){ne.call(e,r)?++e[r]:pt(e,r,1)});function Kg(e,t,r){var s=U(e)?xs:Np;return r&&Oe(e,t,r)&&(t=i),s(e,H(t,3))}function jg(e,t){var r=U(e)?Pt:qs;return r(e,H(t,3))}var Zg=wl(Hl),Yg=wl(Wl);function Xg(e,t){return Be(Jr(e,t),1)}function Jg(e,t){return Be(Jr(e,t),xe)}function Qg(e,t,r){return r=r===i?1:q(r),Be(Jr(e,t),r)}function jl(e,t){var r=U(e)?He:It;return r(e,H(t,3))}function Zl(e,t){var r=U(e)?md:Gs;return r(e,H(t,3))}var e_=Vr(function(e,t,r){ne.call(e,r)?e[r].push(t):pt(e,r,[t])});function t_(e,t,r,s){e=Re(e)?e:Tn(e),r=r&&!s?q(r):0;var l=e.length;return r<0&&(r=Ce(l+r,0)),ri(e)?r<=l&&e.indexOf(t,r)>-1:!!l&&pn(e,t,r)>-1}var n_=Z(function(e,t,r){var s=-1,l=typeof t=="function",f=Re(e)?x(e.length):[];return It(e,function(p){f[++s]=l?Fe(t,p,r):jn(p,t,r)}),f}),r_=Vr(function(e,t,r){pt(e,r,t)});function Jr(e,t){var r=U(e)?fe:Js;return r(e,H(t,3))}function i_(e,t,r,s){return e==null?[]:(U(t)||(t=t==null?[]:[t]),r=s?i:r,U(r)||(r=r==null?[]:[r]),nl(e,t,r))}var o_=Vr(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]});function a_(e,t,r){var s=U(e)?Zi:Ss,l=arguments.length<3;return s(e,H(t,4),r,l,It)}function s_(e,t,r){var s=U(e)?yd:Ss,l=arguments.length<3;return s(e,H(t,4),r,l,Gs)}function l_(e,t){var r=U(e)?Pt:qs;return r(e,ti(H(t,3)))}function u_(e){var t=U(e)?Hs:th;return t(e)}function c_(e,t,r){(r?Oe(e,t,r):t===i)?t=1:t=q(t);var s=U(e)?kp:nh;return s(e,t)}function f_(e){var t=U(e)?Op:ih;return t(e)}function d_(e){if(e==null)return 0;if(Re(e))return ri(e)?gn(e):e.length;var t=Pe(e);return t==nt||t==rt?e.size:go(e).length}function p_(e,t,r){var s=U(e)?Yi:oh;return r&&Oe(e,t,r)&&(t=i),s(e,H(t,3))}var h_=Z(function(e,t){if(e==null)return[];var r=t.length;return r>1&&Oe(e,t[0],t[1])?t=[]:r>2&&Oe(t[0],t[1],t[2])&&(t=[t[0]]),nl(e,Be(t,1),[])}),Qr=jd||function(){return ze.Date.now()};function g_(e,t){if(typeof t!="function")throw new je(h);return e=q(e),function(){if(--e<1)return t.apply(this,arguments)}}function Yl(e,t,r){return t=r?i:t,t=e&&t==null?e.length:t,$t(e,pe,i,i,i,i,t)}function Xl(e,t){var r;if(typeof t!="function")throw new je(h);return e=q(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=i),r}}var Mo=Z(function(e,t,r){var s=I;if(r.length){var l=Ot(r,$n(Mo));s|=ee}return $t(e,s,t,r,l)}),Jl=Z(function(e,t,r){var s=I|N;if(r.length){var l=Ot(r,$n(Jl));s|=ee}return $t(t,s,e,r,l)});function Ql(e,t,r){t=r?i:t;var s=$t(e,G,i,i,i,i,i,t);return s.placeholder=Ql.placeholder,s}function eu(e,t,r){t=r?i:t;var s=$t(e,le,i,i,i,i,i,t);return s.placeholder=eu.placeholder,s}function tu(e,t,r){var s,l,f,p,_,y,C=0,T=!1,S=!1,O=!0;if(typeof e!="function")throw new je(h);t=Qe(t)||0,ge(r)&&(T=!!r.leading,S="maxWait"in r,f=S?Ce(Qe(r.maxWait)||0,t):f,O="trailing"in r?!!r.trailing:O);function D(ye){var lt=s,zt=l;return s=l=i,C=ye,p=e.apply(zt,lt),p}function W(ye){return C=ye,_=Qn(Y,t),T?D(ye):p}function j(ye){var lt=ye-y,zt=ye-C,bu=t-lt;return S?Ee(bu,f-zt):bu}function F(ye){var lt=ye-y,zt=ye-C;return y===i||lt>=t||lt<0||S&&zt>=f}function Y(){var ye=Qr();if(F(ye))return J(ye);_=Qn(Y,j(ye))}function J(ye){return _=i,O&&s?D(ye):(s=l=i,p)}function Ge(){_!==i&&fl(_),C=0,s=y=l=_=i}function Le(){return _===i?p:J(Qr())}function qe(){var ye=Qr(),lt=F(ye);if(s=arguments,l=this,y=ye,lt){if(_===i)return W(y);if(S)return fl(_),_=Qn(Y,t),D(y)}return _===i&&(_=Qn(Y,t)),p}return qe.cancel=Ge,qe.flush=Le,qe}var __=Z(function(e,t){return Us(e,1,t)}),v_=Z(function(e,t,r){return Us(e,Qe(t)||0,r)});function m_(e){return $t(e,M)}function ei(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new je(h);var r=function(){var s=arguments,l=t?t.apply(this,s):s[0],f=r.cache;if(f.has(l))return f.get(l);var p=e.apply(this,s);return r.cache=f.set(l,p)||f,p};return r.cache=new(ei.Cache||xt),r}ei.Cache=xt;function ti(e){if(typeof e!="function")throw new je(h);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function y_(e){return Xl(2,e)}var w_=ah(function(e,t){t=t.length==1&&U(t[0])?fe(t[0],We(H())):fe(Be(t,1),We(H()));var r=t.length;return Z(function(s){for(var l=-1,f=Ee(s.length,r);++l<f;)s[l]=t[l].call(this,s[l]);return Fe(e,this,s)})}),Fo=Z(function(e,t){var r=Ot(t,$n(Fo));return $t(e,ee,i,t,r)}),nu=Z(function(e,t){var r=Ot(t,$n(nu));return $t(e,de,i,t,r)}),b_=Ct(function(e,t){return $t(e,_e,i,i,i,t)});function x_(e,t){if(typeof e!="function")throw new je(h);return t=t===i?t:q(t),Z(e,t)}function $_(e,t){if(typeof e!="function")throw new je(h);return t=t==null?0:Ce(q(t),0),Z(function(r){var s=r[t],l=Dt(r,0,t);return s&&kt(l,s),Fe(e,this,l)})}function C_(e,t,r){var s=!0,l=!0;if(typeof e!="function")throw new je(h);return ge(r)&&(s="leading"in r?!!r.leading:s,l="trailing"in r?!!r.trailing:l),tu(e,t,{leading:s,maxWait:t,trailing:l})}function T_(e){return Yl(e,1)}function S_(e,t){return Fo(Co(t),e)}function A_(){if(!arguments.length)return[];var e=arguments[0];return U(e)?e:[e]}function z_(e){return Ye(e,z)}function B_(e,t){return t=typeof t=="function"?t:i,Ye(e,z,t)}function E_(e){return Ye(e,E|z)}function P_(e,t){return t=typeof t=="function"?t:i,Ye(e,E|z,t)}function k_(e,t){return t==null||Vs(e,t,Te(t))}function st(e,t){return e===t||e!==e&&t!==t}var O_=Kr(fo),L_=Kr(function(e,t){return e>=t}),en=Zs(function(){return arguments}())?Zs:function(e){return ve(e)&&ne.call(e,"callee")&&!Is.call(e,"callee")},U=x.isArray,I_=_s?We(_s):Vp;function Re(e){return e!=null&&ni(e.length)&&!St(e)}function me(e){return ve(e)&&Re(e)}function R_(e){return e===!0||e===!1||ve(e)&&ke(e)==On}var Mt=Yd||Jo,N_=vs?We(vs):Up;function D_(e){return ve(e)&&e.nodeType===1&&!er(e)}function M_(e){if(e==null)return!0;if(Re(e)&&(U(e)||typeof e=="string"||typeof e.splice=="function"||Mt(e)||Cn(e)||en(e)))return!e.length;var t=Pe(e);if(t==nt||t==rt)return!e.size;if(Jn(e))return!go(e).length;for(var r in e)if(ne.call(e,r))return!1;return!0}function F_(e,t){return Zn(e,t)}function H_(e,t,r){r=typeof r=="function"?r:i;var s=r?r(e,t):i;return s===i?Zn(e,t,i,r):!!s}function Ho(e){if(!ve(e))return!1;var t=ke(e);return t==hr||t==ff||typeof e.message=="string"&&typeof e.name=="string"&&!er(e)}function W_(e){return typeof e=="number"&&Ns(e)}function St(e){if(!ge(e))return!1;var t=ke(e);return t==gr||t==Va||t==cf||t==pf}function ru(e){return typeof e=="number"&&e==q(e)}function ni(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Ae}function ge(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function ve(e){return e!=null&&typeof e=="object"}var iu=ms?We(ms):qp;function V_(e,t){return e===t||ho(e,t,Po(t))}function U_(e,t,r){return r=typeof r=="function"?r:i,ho(e,t,Po(t),r)}function G_(e){return ou(e)&&e!=+e}function q_(e){if(Bh(e))throw new V(g);return Ys(e)}function K_(e){return e===null}function j_(e){return e==null}function ou(e){return typeof e=="number"||ve(e)&&ke(e)==In}function er(e){if(!ve(e)||ke(e)!=wt)return!1;var t=Br(e);if(t===null)return!0;var r=ne.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Tr.call(r)==Ud}var Wo=ys?We(ys):Kp;function Z_(e){return ru(e)&&e>=-Ae&&e<=Ae}var au=ws?We(ws):jp;function ri(e){return typeof e=="string"||!U(e)&&ve(e)&&ke(e)==Nn}function Ue(e){return typeof e=="symbol"||ve(e)&&ke(e)==_r}var Cn=bs?We(bs):Zp;function Y_(e){return e===i}function X_(e){return ve(e)&&Pe(e)==Dn}function J_(e){return ve(e)&&ke(e)==gf}var Q_=Kr(_o),ev=Kr(function(e,t){return e<=t});function su(e){if(!e)return[];if(Re(e))return ri(e)?it(e):Ie(e);if(Hn&&e[Hn])return kd(e[Hn]());var t=Pe(e),r=t==nt?no:t==rt?xr:Tn;return r(e)}function At(e){if(!e)return e===0?e:0;if(e=Qe(e),e===xe||e===-xe){var t=e<0?-1:1;return t*Bi}return e===e?e:0}function q(e){var t=At(e),r=t%1;return t===t?r?t-r:t:0}function lu(e){return e?Yt(q(e),0,dt):0}function Qe(e){if(typeof e=="number")return e;if(Ue(e))return dr;if(ge(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=ge(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=As(e);var r=If.test(e);return r||Nf.test(e)?gd(e.slice(2),r?2:8):Lf.test(e)?dr:+e}function uu(e){return gt(e,Ne(e))}function tv(e){return e?Yt(q(e),-Ae,Ae):e===0?e:0}function re(e){return e==null?"":Ve(e)}var nv=bn(function(e,t){if(Jn(t)||Re(t)){gt(t,Te(t),e);return}for(var r in t)ne.call(t,r)&&qn(e,r,t[r])}),cu=bn(function(e,t){gt(t,Ne(t),e)}),fu=bn(function(e,t,r,s){gt(t,Ne(t),e,s)}),Vo=bn(function(e,t,r,s){gt(t,Te(t),e,s)}),rv=Ct(lo);function iv(e,t){var r=wn(e);return t==null?r:Ws(r,t)}var ov=Z(function(e,t){e=ie(e);var r=-1,s=t.length,l=s>2?t[2]:i;for(l&&Oe(t[0],t[1],l)&&(s=1);++r<s;)for(var f=t[r],p=Ne(f),_=-1,y=p.length;++_<y;){var C=p[_],T=e[C];(T===i||st(T,vn[C])&&!ne.call(e,C))&&(e[C]=f[C])}return e}),av=Z(function(e){return e.push(i,Al),Fe(du,i,e)});function sv(e,t){return $s(e,H(t,3),ht)}function lv(e,t){return $s(e,H(t,3),co)}function uv(e,t){return e==null?e:uo(e,H(t,3),Ne)}function cv(e,t){return e==null?e:Ks(e,H(t,3),Ne)}function fv(e,t){return e&&ht(e,H(t,3))}function dv(e,t){return e&&co(e,H(t,3))}function pv(e){return e==null?[]:Mr(e,Te(e))}function hv(e){return e==null?[]:Mr(e,Ne(e))}function Uo(e,t,r){var s=e==null?i:Xt(e,t);return s===i?r:s}function gv(e,t){return e!=null&&El(e,t,Mp)}function Go(e,t){return e!=null&&El(e,t,Fp)}var _v=xl(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=Sr.call(t)),e[t]=r},Ko(De)),vv=xl(function(e,t,r){t!=null&&typeof t.toString!="function"&&(t=Sr.call(t)),ne.call(e,t)?e[t].push(r):e[t]=[r]},H),mv=Z(jn);function Te(e){return Re(e)?Fs(e):go(e)}function Ne(e){return Re(e)?Fs(e,!0):Yp(e)}function yv(e,t){var r={};return t=H(t,3),ht(e,function(s,l,f){pt(r,t(s,l,f),s)}),r}function wv(e,t){var r={};return t=H(t,3),ht(e,function(s,l,f){pt(r,l,t(s,l,f))}),r}var bv=bn(function(e,t,r){Fr(e,t,r)}),du=bn(function(e,t,r,s){Fr(e,t,r,s)}),xv=Ct(function(e,t){var r={};if(e==null)return r;var s=!1;t=fe(t,function(f){return f=Nt(f,e),s||(s=f.length>1),f}),gt(e,Bo(e),r),s&&(r=Ye(r,E|k|z,vh));for(var l=t.length;l--;)bo(r,t[l]);return r});function $v(e,t){return pu(e,ti(H(t)))}var Cv=Ct(function(e,t){return e==null?{}:Jp(e,t)});function pu(e,t){if(e==null)return{};var r=fe(Bo(e),function(s){return[s]});return t=H(t),rl(e,r,function(s,l){return t(s,l[0])})}function Tv(e,t,r){t=Nt(t,e);var s=-1,l=t.length;for(l||(l=1,e=i);++s<l;){var f=e==null?i:e[at(t[s])];f===i&&(s=l,f=r),e=St(f)?f.call(e):f}return e}function Sv(e,t,r){return e==null?e:Yn(e,t,r)}function Av(e,t,r,s){return s=typeof s=="function"?s:i,e==null?e:Yn(e,t,r,s)}var hu=Tl(Te),gu=Tl(Ne);function zv(e,t,r){var s=U(e),l=s||Mt(e)||Cn(e);if(t=H(t,4),r==null){var f=e&&e.constructor;l?r=s?new f:[]:ge(e)?r=St(f)?wn(Br(e)):{}:r={}}return(l?He:ht)(e,function(p,_,y){return t(r,p,_,y)}),r}function Bv(e,t){return e==null?!0:bo(e,t)}function Ev(e,t,r){return e==null?e:ll(e,t,Co(r))}function Pv(e,t,r,s){return s=typeof s=="function"?s:i,e==null?e:ll(e,t,Co(r),s)}function Tn(e){return e==null?[]:to(e,Te(e))}function kv(e){return e==null?[]:to(e,Ne(e))}function Ov(e,t,r){return r===i&&(r=t,t=i),r!==i&&(r=Qe(r),r=r===r?r:0),t!==i&&(t=Qe(t),t=t===t?t:0),Yt(Qe(e),t,r)}function Lv(e,t,r){return t=At(t),r===i?(r=t,t=0):r=At(r),e=Qe(e),Hp(e,t,r)}function Iv(e,t,r){if(r&&typeof r!="boolean"&&Oe(e,t,r)&&(t=r=i),r===i&&(typeof t=="boolean"?(r=t,t=i):typeof e=="boolean"&&(r=e,e=i)),e===i&&t===i?(e=0,t=1):(e=At(e),t===i?(t=e,e=0):t=At(t)),e>t){var s=e;e=t,t=s}if(r||e%1||t%1){var l=Ds();return Ee(e+l*(t-e+hd("1e-"+((l+"").length-1))),t)}return mo(e,t)}var Rv=xn(function(e,t,r){return t=t.toLowerCase(),e+(r?_u(t):t)});function _u(e){return qo(re(e).toLowerCase())}function vu(e){return e=re(e),e&&e.replace(Mf,Ad).replace(id,"")}function Nv(e,t,r){e=re(e),t=Ve(t);var s=e.length;r=r===i?s:Yt(q(r),0,s);var l=r;return r-=t.length,r>=0&&e.slice(r,l)==t}function Dv(e){return e=re(e),e&&wf.test(e)?e.replace(qa,zd):e}function Mv(e){return e=re(e),e&&Sf.test(e)?e.replace(Mi,"\\$&"):e}var Fv=xn(function(e,t,r){return e+(r?"-":"")+t.toLowerCase()}),Hv=xn(function(e,t,r){return e+(r?" ":"")+t.toLowerCase()}),Wv=yl("toLowerCase");function Vv(e,t,r){e=re(e),t=q(t);var s=t?gn(e):0;if(!t||s>=t)return e;var l=(t-s)/2;return qr(Or(l),r)+e+qr(kr(l),r)}function Uv(e,t,r){e=re(e),t=q(t);var s=t?gn(e):0;return t&&s<t?e+qr(t-s,r):e}function Gv(e,t,r){e=re(e),t=q(t);var s=t?gn(e):0;return t&&s<t?qr(t-s,r)+e:e}function qv(e,t,r){return r||t==null?t=0:t&&(t=+t),ep(re(e).replace(Fi,""),t||0)}function Kv(e,t,r){return(r?Oe(e,t,r):t===i)?t=1:t=q(t),yo(re(e),t)}function jv(){var e=arguments,t=re(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Zv=xn(function(e,t,r){return e+(r?"_":"")+t.toLowerCase()});function Yv(e,t,r){return r&&typeof r!="number"&&Oe(e,t,r)&&(t=r=i),r=r===i?dt:r>>>0,r?(e=re(e),e&&(typeof t=="string"||t!=null&&!Wo(t))&&(t=Ve(t),!t&&hn(e))?Dt(it(e),0,r):e.split(t,r)):[]}var Xv=xn(function(e,t,r){return e+(r?" ":"")+qo(t)});function Jv(e,t,r){return e=re(e),r=r==null?0:Yt(q(r),0,e.length),t=Ve(t),e.slice(r,r+t.length)==t}function Qv(e,t,r){var s=c.templateSettings;r&&Oe(e,t,r)&&(t=i),e=re(e),t=Vo({},t,s,Sl);var l=Vo({},t.imports,s.imports,Sl),f=Te(l),p=to(l,f);He(f,function(F){if(ja.test(F))throw new V(b)});var _,y,C=0,T=t.interpolate||vr,S="__p += '",O=ro((t.escape||vr).source+"|"+T.source+"|"+(T===Ka?Of:vr).source+"|"+(t.evaluate||vr).source+"|$","g"),D="//# sourceURL="+(ne.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ud+"]")+`
|
|
11
|
+
`;e.replace(O,function(F,Y,J,Ge,Le,qe){return J||(J=Ge),S+=e.slice(C,qe).replace(Ff,Bd),Y&&(_=!0,S+=`' +
|
|
12
|
+
__e(`+Y+`) +
|
|
13
|
+
'`),Le&&(y=!0,S+=`';
|
|
14
|
+
`+Le+`;
|
|
15
|
+
__p += '`),J&&(S+=`' +
|
|
16
|
+
((__t = (`+J+`)) == null ? '' : __t) +
|
|
17
|
+
'`),C=qe+F.length,F}),S+=`';
|
|
18
|
+
`;var W=ne.call(t,"variable")&&t.variable;if(!W)S=`with (obj) {
|
|
19
|
+
`+S+`
|
|
20
|
+
}
|
|
21
|
+
`;else if(ja.test(W))throw new V(v);S=(y?S.replace(_f,""):S).replace(vf,"$1").replace(mf,"$1;"),S="function("+(W||"obj")+`) {
|
|
22
|
+
`+(W?"":`obj || (obj = {});
|
|
23
|
+
`)+"var __t, __p = ''"+(_?", __e = _.escape":"")+(y?`, __j = Array.prototype.join;
|
|
24
|
+
function print() { __p += __j.call(arguments, '') }
|
|
25
|
+
`:`;
|
|
26
|
+
`)+S+`return __p
|
|
27
|
+
}`;var j=yu(function(){return te(f,D+"return "+S).apply(i,p)});if(j.source=S,Ho(j))throw j;return j}function em(e){return re(e).toLowerCase()}function tm(e){return re(e).toUpperCase()}function nm(e,t,r){if(e=re(e),e&&(r||t===i))return As(e);if(!e||!(t=Ve(t)))return e;var s=it(e),l=it(t),f=zs(s,l),p=Bs(s,l)+1;return Dt(s,f,p).join("")}function rm(e,t,r){if(e=re(e),e&&(r||t===i))return e.slice(0,Ps(e)+1);if(!e||!(t=Ve(t)))return e;var s=it(e),l=Bs(s,it(t))+1;return Dt(s,0,l).join("")}function im(e,t,r){if(e=re(e),e&&(r||t===i))return e.replace(Fi,"");if(!e||!(t=Ve(t)))return e;var s=it(e),l=zs(s,it(t));return Dt(s,l).join("")}function om(e,t){var r=he,s=we;if(ge(t)){var l="separator"in t?t.separator:l;r="length"in t?q(t.length):r,s="omission"in t?Ve(t.omission):s}e=re(e);var f=e.length;if(hn(e)){var p=it(e);f=p.length}if(r>=f)return e;var _=r-gn(s);if(_<1)return s;var y=p?Dt(p,0,_).join(""):e.slice(0,_);if(l===i)return y+s;if(p&&(_+=y.length-_),Wo(l)){if(e.slice(_).search(l)){var C,T=y;for(l.global||(l=ro(l.source,re(Za.exec(l))+"g")),l.lastIndex=0;C=l.exec(T);)var S=C.index;y=y.slice(0,S===i?_:S)}}else if(e.indexOf(Ve(l),_)!=_){var O=y.lastIndexOf(l);O>-1&&(y=y.slice(0,O))}return y+s}function am(e){return e=re(e),e&&yf.test(e)?e.replace(Ga,Rd):e}var sm=xn(function(e,t,r){return e+(r?" ":"")+t.toUpperCase()}),qo=yl("toUpperCase");function mu(e,t,r){return e=re(e),t=r?i:t,t===i?Pd(e)?Md(e):xd(e):e.match(t)||[]}var yu=Z(function(e,t){try{return Fe(e,i,t)}catch(r){return Ho(r)?r:new V(r)}}),lm=Ct(function(e,t){return He(t,function(r){r=at(r),pt(e,r,Mo(e[r],e))}),e});function um(e){var t=e==null?0:e.length,r=H();return e=t?fe(e,function(s){if(typeof s[1]!="function")throw new je(h);return[r(s[0]),s[1]]}):[],Z(function(s){for(var l=-1;++l<t;){var f=e[l];if(Fe(f[0],this,s))return Fe(f[1],this,s)}})}function cm(e){return Rp(Ye(e,E))}function Ko(e){return function(){return e}}function fm(e,t){return e==null||e!==e?t:e}var dm=bl(),pm=bl(!0);function De(e){return e}function jo(e){return Xs(typeof e=="function"?e:Ye(e,E))}function hm(e){return Qs(Ye(e,E))}function gm(e,t){return el(e,Ye(t,E))}var _m=Z(function(e,t){return function(r){return jn(r,e,t)}}),vm=Z(function(e,t){return function(r){return jn(e,r,t)}});function Zo(e,t,r){var s=Te(t),l=Mr(t,s);r==null&&!(ge(t)&&(l.length||!s.length))&&(r=t,t=e,e=this,l=Mr(t,Te(t)));var f=!(ge(r)&&"chain"in r)||!!r.chain,p=St(e);return He(l,function(_){var y=t[_];e[_]=y,p&&(e.prototype[_]=function(){var C=this.__chain__;if(f||C){var T=e(this.__wrapped__),S=T.__actions__=Ie(this.__actions__);return S.push({func:y,args:arguments,thisArg:e}),T.__chain__=C,T}return y.apply(e,kt([this.value()],arguments))})}),e}function mm(){return ze._===this&&(ze._=Gd),this}function Yo(){}function ym(e){return e=q(e),Z(function(t){return tl(t,e)})}var wm=So(fe),bm=So(xs),xm=So(Yi);function wu(e){return Oo(e)?Xi(at(e)):Qp(e)}function $m(e){return function(t){return e==null?i:Xt(e,t)}}var Cm=$l(),Tm=$l(!0);function Xo(){return[]}function Jo(){return!1}function Sm(){return{}}function Am(){return""}function zm(){return!0}function Bm(e,t){if(e=q(e),e<1||e>Ae)return[];var r=dt,s=Ee(e,dt);t=H(t),e-=dt;for(var l=eo(s,t);++r<e;)t(r);return l}function Em(e){return U(e)?fe(e,at):Ue(e)?[e]:Ie(Ml(re(e)))}function Pm(e){var t=++Vd;return re(e)+t}var km=Gr(function(e,t){return e+t},0),Om=Ao("ceil"),Lm=Gr(function(e,t){return e/t},1),Im=Ao("floor");function Rm(e){return e&&e.length?Dr(e,De,fo):i}function Nm(e,t){return e&&e.length?Dr(e,H(t,2),fo):i}function Dm(e){return Ts(e,De)}function Mm(e,t){return Ts(e,H(t,2))}function Fm(e){return e&&e.length?Dr(e,De,_o):i}function Hm(e,t){return e&&e.length?Dr(e,H(t,2),_o):i}var Wm=Gr(function(e,t){return e*t},1),Vm=Ao("round"),Um=Gr(function(e,t){return e-t},0);function Gm(e){return e&&e.length?Qi(e,De):0}function qm(e,t){return e&&e.length?Qi(e,H(t,2)):0}return c.after=g_,c.ary=Yl,c.assign=nv,c.assignIn=cu,c.assignInWith=fu,c.assignWith=Vo,c.at=rv,c.before=Xl,c.bind=Mo,c.bindAll=lm,c.bindKey=Jl,c.castArray=A_,c.chain=Kl,c.chunk=Rh,c.compact=Nh,c.concat=Dh,c.cond=um,c.conforms=cm,c.constant=Ko,c.countBy=qg,c.create=iv,c.curry=Ql,c.curryRight=eu,c.debounce=tu,c.defaults=ov,c.defaultsDeep=av,c.defer=__,c.delay=v_,c.difference=Mh,c.differenceBy=Fh,c.differenceWith=Hh,c.drop=Wh,c.dropRight=Vh,c.dropRightWhile=Uh,c.dropWhile=Gh,c.fill=qh,c.filter=jg,c.flatMap=Xg,c.flatMapDeep=Jg,c.flatMapDepth=Qg,c.flatten=Vl,c.flattenDeep=Kh,c.flattenDepth=jh,c.flip=m_,c.flow=dm,c.flowRight=pm,c.fromPairs=Zh,c.functions=pv,c.functionsIn=hv,c.groupBy=e_,c.initial=Xh,c.intersection=Jh,c.intersectionBy=Qh,c.intersectionWith=eg,c.invert=_v,c.invertBy=vv,c.invokeMap=n_,c.iteratee=jo,c.keyBy=r_,c.keys=Te,c.keysIn=Ne,c.map=Jr,c.mapKeys=yv,c.mapValues=wv,c.matches=hm,c.matchesProperty=gm,c.memoize=ei,c.merge=bv,c.mergeWith=du,c.method=_m,c.methodOf=vm,c.mixin=Zo,c.negate=ti,c.nthArg=ym,c.omit=xv,c.omitBy=$v,c.once=y_,c.orderBy=i_,c.over=wm,c.overArgs=w_,c.overEvery=bm,c.overSome=xm,c.partial=Fo,c.partialRight=nu,c.partition=o_,c.pick=Cv,c.pickBy=pu,c.property=wu,c.propertyOf=$m,c.pull=ig,c.pullAll=Gl,c.pullAllBy=og,c.pullAllWith=ag,c.pullAt=sg,c.range=Cm,c.rangeRight=Tm,c.rearg=b_,c.reject=l_,c.remove=lg,c.rest=x_,c.reverse=No,c.sampleSize=c_,c.set=Sv,c.setWith=Av,c.shuffle=f_,c.slice=ug,c.sortBy=h_,c.sortedUniq=_g,c.sortedUniqBy=vg,c.split=Yv,c.spread=$_,c.tail=mg,c.take=yg,c.takeRight=wg,c.takeRightWhile=bg,c.takeWhile=xg,c.tap=Ng,c.throttle=C_,c.thru=Xr,c.toArray=su,c.toPairs=hu,c.toPairsIn=gu,c.toPath=Em,c.toPlainObject=uu,c.transform=zv,c.unary=T_,c.union=$g,c.unionBy=Cg,c.unionWith=Tg,c.uniq=Sg,c.uniqBy=Ag,c.uniqWith=zg,c.unset=Bv,c.unzip=Do,c.unzipWith=ql,c.update=Ev,c.updateWith=Pv,c.values=Tn,c.valuesIn=kv,c.without=Bg,c.words=mu,c.wrap=S_,c.xor=Eg,c.xorBy=Pg,c.xorWith=kg,c.zip=Og,c.zipObject=Lg,c.zipObjectDeep=Ig,c.zipWith=Rg,c.entries=hu,c.entriesIn=gu,c.extend=cu,c.extendWith=fu,Zo(c,c),c.add=km,c.attempt=yu,c.camelCase=Rv,c.capitalize=_u,c.ceil=Om,c.clamp=Ov,c.clone=z_,c.cloneDeep=E_,c.cloneDeepWith=P_,c.cloneWith=B_,c.conformsTo=k_,c.deburr=vu,c.defaultTo=fm,c.divide=Lm,c.endsWith=Nv,c.eq=st,c.escape=Dv,c.escapeRegExp=Mv,c.every=Kg,c.find=Zg,c.findIndex=Hl,c.findKey=sv,c.findLast=Yg,c.findLastIndex=Wl,c.findLastKey=lv,c.floor=Im,c.forEach=jl,c.forEachRight=Zl,c.forIn=uv,c.forInRight=cv,c.forOwn=fv,c.forOwnRight=dv,c.get=Uo,c.gt=O_,c.gte=L_,c.has=gv,c.hasIn=Go,c.head=Ul,c.identity=De,c.includes=t_,c.indexOf=Yh,c.inRange=Lv,c.invoke=mv,c.isArguments=en,c.isArray=U,c.isArrayBuffer=I_,c.isArrayLike=Re,c.isArrayLikeObject=me,c.isBoolean=R_,c.isBuffer=Mt,c.isDate=N_,c.isElement=D_,c.isEmpty=M_,c.isEqual=F_,c.isEqualWith=H_,c.isError=Ho,c.isFinite=W_,c.isFunction=St,c.isInteger=ru,c.isLength=ni,c.isMap=iu,c.isMatch=V_,c.isMatchWith=U_,c.isNaN=G_,c.isNative=q_,c.isNil=j_,c.isNull=K_,c.isNumber=ou,c.isObject=ge,c.isObjectLike=ve,c.isPlainObject=er,c.isRegExp=Wo,c.isSafeInteger=Z_,c.isSet=au,c.isString=ri,c.isSymbol=Ue,c.isTypedArray=Cn,c.isUndefined=Y_,c.isWeakMap=X_,c.isWeakSet=J_,c.join=tg,c.kebabCase=Fv,c.last=Je,c.lastIndexOf=ng,c.lowerCase=Hv,c.lowerFirst=Wv,c.lt=Q_,c.lte=ev,c.max=Rm,c.maxBy=Nm,c.mean=Dm,c.meanBy=Mm,c.min=Fm,c.minBy=Hm,c.stubArray=Xo,c.stubFalse=Jo,c.stubObject=Sm,c.stubString=Am,c.stubTrue=zm,c.multiply=Wm,c.nth=rg,c.noConflict=mm,c.noop=Yo,c.now=Qr,c.pad=Vv,c.padEnd=Uv,c.padStart=Gv,c.parseInt=qv,c.random=Iv,c.reduce=a_,c.reduceRight=s_,c.repeat=Kv,c.replace=jv,c.result=Tv,c.round=Vm,c.runInContext=m,c.sample=u_,c.size=d_,c.snakeCase=Zv,c.some=p_,c.sortedIndex=cg,c.sortedIndexBy=fg,c.sortedIndexOf=dg,c.sortedLastIndex=pg,c.sortedLastIndexBy=hg,c.sortedLastIndexOf=gg,c.startCase=Xv,c.startsWith=Jv,c.subtract=Um,c.sum=Gm,c.sumBy=qm,c.template=Qv,c.times=Bm,c.toFinite=At,c.toInteger=q,c.toLength=lu,c.toLower=em,c.toNumber=Qe,c.toSafeInteger=tv,c.toString=re,c.toUpper=tm,c.trim=nm,c.trimEnd=rm,c.trimStart=im,c.truncate=om,c.unescape=am,c.uniqueId=Pm,c.upperCase=sm,c.upperFirst=qo,c.each=jl,c.eachRight=Zl,c.first=Ul,Zo(c,function(){var e={};return ht(c,function(t,r){ne.call(c.prototype,r)||(e[r]=t)}),e}(),{chain:!1}),c.VERSION=u,He(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){c[e].placeholder=c}),He(["drop","take"],function(e,t){X.prototype[e]=function(r){r=r===i?1:Ce(q(r),0);var s=this.__filtered__&&!t?new X(this):this.clone();return s.__filtered__?s.__takeCount__=Ee(r,s.__takeCount__):s.__views__.push({size:Ee(r,dt),type:e+(s.__dir__<0?"Right":"")}),s},X.prototype[e+"Right"]=function(r){return this.reverse()[e](r).reverse()}}),He(["filter","map","takeWhile"],function(e,t){var r=t+1,s=r==ft||r==Me;X.prototype[e]=function(l){var f=this.clone();return f.__iteratees__.push({iteratee:H(l,3),type:r}),f.__filtered__=f.__filtered__||s,f}}),He(["head","last"],function(e,t){var r="take"+(t?"Right":"");X.prototype[e]=function(){return this[r](1).value()[0]}}),He(["initial","tail"],function(e,t){var r="drop"+(t?"":"Right");X.prototype[e]=function(){return this.__filtered__?new X(this):this[r](1)}}),X.prototype.compact=function(){return this.filter(De)},X.prototype.find=function(e){return this.filter(e).head()},X.prototype.findLast=function(e){return this.reverse().find(e)},X.prototype.invokeMap=Z(function(e,t){return typeof e=="function"?new X(this):this.map(function(r){return jn(r,e,t)})}),X.prototype.reject=function(e){return this.filter(ti(H(e)))},X.prototype.slice=function(e,t){e=q(e);var r=this;return r.__filtered__&&(e>0||t<0)?new X(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(t=q(t),r=t<0?r.dropRight(-t):r.take(t-e)),r)},X.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},X.prototype.toArray=function(){return this.take(dt)},ht(X.prototype,function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),l=c[s?"take"+(t=="last"?"Right":""):t],f=s||/^find/.test(t);l&&(c.prototype[t]=function(){var p=this.__wrapped__,_=s?[1]:arguments,y=p instanceof X,C=_[0],T=y||U(p),S=function(Y){var J=l.apply(c,kt([Y],_));return s&&O?J[0]:J};T&&r&&typeof C=="function"&&C.length!=1&&(y=T=!1);var O=this.__chain__,D=!!this.__actions__.length,W=f&&!O,j=y&&!D;if(!f&&T){p=j?p:new X(this);var F=e.apply(p,_);return F.__actions__.push({func:Xr,args:[S],thisArg:i}),new Ze(F,O)}return W&&j?e.apply(this,_):(F=this.thru(S),W?s?F.value()[0]:F.value():F)})}),He(["pop","push","shift","sort","splice","unshift"],function(e){var t=$r[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);c.prototype[e]=function(){var l=arguments;if(s&&!this.__chain__){var f=this.value();return t.apply(U(f)?f:[],l)}return this[r](function(p){return t.apply(U(p)?p:[],l)})}}),ht(X.prototype,function(e,t){var r=c[t];if(r){var s=r.name+"";ne.call(yn,s)||(yn[s]=[]),yn[s].push({name:t,func:r})}}),yn[Ur(i,N).name]=[{name:"wrapper",func:i}],X.prototype.clone=sp,X.prototype.reverse=lp,X.prototype.value=up,c.prototype.at=Dg,c.prototype.chain=Mg,c.prototype.commit=Fg,c.prototype.next=Hg,c.prototype.plant=Vg,c.prototype.reverse=Ug,c.prototype.toJSON=c.prototype.valueOf=c.prototype.value=Gg,c.prototype.first=c.prototype.head,Hn&&(c.prototype[Hn]=Wg),c},_n=Fd();qt?((qt.exports=_n)._=_n,qi._=_n):ze._=_n}).call(Bt)})(pi,pi.exports);var WT=pi.exports;const VT=["top","right","bottom","left"],Ku=["start","end"],ju=VT.reduce((n,o)=>n.concat(o,o+"-"+Ku[0],o+"-"+Ku[1]),[]),ar=Math.min,rn=Math.max,UT={left:"right",right:"left",bottom:"top",top:"bottom"};function da(n,o,i){return rn(n,ar(o,i))}function un(n,o){return typeof n=="function"?n(o):n}function mt(n){return n.split("-")[0]}function ct(n){return n.split("-")[1]}function Dc(n){return n==="x"?"y":"x"}function Oa(n){return n==="y"?"height":"width"}function Et(n){const o=n[0];return o==="t"||o==="b"?"y":"x"}function La(n){return Dc(Et(n))}function Mc(n,o,i){i===void 0&&(i=!1);const u=ct(n),d=La(n),g=Oa(d);let h=d==="x"?u===(i?"end":"start")?"right":"left":u==="start"?"bottom":"top";return o.reference[g]>o.floating[g]&&(h=gi(h)),[h,gi(h)]}function GT(n){const o=gi(n);return[hi(n),o,hi(o)]}function hi(n){return n.includes("start")?n.replace("start","end"):n.replace("end","start")}const Zu=["left","right"],Yu=["right","left"],qT=["top","bottom"],KT=["bottom","top"];function jT(n,o,i){switch(n){case"top":case"bottom":return i?o?Yu:Zu:o?Zu:Yu;case"left":case"right":return o?qT:KT;default:return[]}}function ZT(n,o,i,u){const d=ct(n);let g=jT(mt(n),i==="start",u);return d&&(g=g.map(h=>h+"-"+d),o&&(g=g.concat(g.map(hi)))),g}function gi(n){const o=mt(n);return UT[o]+n.slice(o.length)}function YT(n){return{top:0,right:0,bottom:0,left:0,...n}}function Fc(n){return typeof n!="number"?YT(n):{top:n,right:n,bottom:n,left:n}}function nr(n){const{x:o,y:i,width:u,height:d}=n;return{width:u,height:d,top:i,left:o,right:o+u,bottom:i+d,x:o,y:i}}function Xu(n,o,i){let{reference:u,floating:d}=n;const g=Et(o),h=La(o),v=Oa(h),b=mt(o),w=g==="y",A=u.x+u.width/2-d.width/2,B=u.y+u.height/2-d.height/2,E=u[v]/2-d[v]/2;let k;switch(b){case"top":k={x:A,y:u.y-d.height};break;case"bottom":k={x:A,y:u.y+u.height};break;case"right":k={x:u.x+u.width,y:B};break;case"left":k={x:u.x-d.width,y:B};break;default:k={x:u.x,y:u.y}}switch(ct(o)){case"start":k[h]-=E*(i&&w?-1:1);break;case"end":k[h]+=E*(i&&w?-1:1);break}return k}async function XT(n,o){var i;o===void 0&&(o={});const{x:u,y:d,platform:g,rects:h,elements:v,strategy:b}=n,{boundary:w="clippingAncestors",rootBoundary:A="viewport",elementContext:B="floating",altBoundary:E=!1,padding:k=0}=un(o,n),z=Fc(k),P=v[E?B==="floating"?"reference":"floating":B],I=nr(await g.getClippingRect({element:(i=await(g.isElement==null?void 0:g.isElement(P)))==null||i?P:P.contextElement||await(g.getDocumentElement==null?void 0:g.getDocumentElement(v.floating)),boundary:w,rootBoundary:A,strategy:b})),N=B==="floating"?{x:u,y:d,width:h.floating.width,height:h.floating.height}:h.reference,K=await(g.getOffsetParent==null?void 0:g.getOffsetParent(v.floating)),G=await(g.isElement==null?void 0:g.isElement(K))?await(g.getScale==null?void 0:g.getScale(K))||{x:1,y:1}:{x:1,y:1},le=nr(g.convertOffsetParentRelativeRectToViewportRelativeRect?await g.convertOffsetParentRelativeRectToViewportRelativeRect({elements:v,rect:N,offsetParent:K,strategy:b}):N);return{top:(I.top-le.top+z.top)/G.y,bottom:(le.bottom-I.bottom+z.bottom)/G.y,left:(I.left-le.left+z.left)/G.x,right:(le.right-I.right+z.right)/G.x}}const JT=50,QT=async(n,o,i)=>{const{placement:u="bottom",strategy:d="absolute",middleware:g=[],platform:h}=i,v=h.detectOverflow?h:{...h,detectOverflow:XT},b=await(h.isRTL==null?void 0:h.isRTL(o));let w=await h.getElementRects({reference:n,floating:o,strategy:d}),{x:A,y:B}=Xu(w,u,b),E=u,k=0;const z={};for(let L=0;L<g.length;L++){const P=g[L];if(!P)continue;const{name:I,fn:N}=P,{x:K,y:G,data:le,reset:ee}=await N({x:A,y:B,initialPlacement:u,placement:E,strategy:d,middlewareData:z,rects:w,platform:v,elements:{reference:n,floating:o}});A=K??A,B=G??B,z[I]={...z[I],...le},ee&&k<JT&&(k++,typeof ee=="object"&&(ee.placement&&(E=ee.placement),ee.rects&&(w=ee.rects===!0?await h.getElementRects({reference:n,floating:o,strategy:d}):ee.rects),{x:A,y:B}=Xu(w,E,b)),L=-1)}return{x:A,y:B,placement:E,strategy:d,middlewareData:z}},eS=n=>({name:"arrow",options:n,async fn(o){const{x:i,y:u,placement:d,rects:g,platform:h,elements:v,middlewareData:b}=o,{element:w,padding:A=0}=un(n,o)||{};if(w==null)return{};const B=Fc(A),E={x:i,y:u},k=La(d),z=Oa(k),L=await h.getDimensions(w),P=k==="y",I=P?"top":"left",N=P?"bottom":"right",K=P?"clientHeight":"clientWidth",G=g.reference[z]+g.reference[k]-E[k]-g.floating[z],le=E[k]-g.reference[k],ee=await(h.getOffsetParent==null?void 0:h.getOffsetParent(w));let de=ee?ee[K]:0;(!de||!await(h.isElement==null?void 0:h.isElement(ee)))&&(de=v.floating[K]||g.floating[z]);const pe=G/2-le/2,_e=de/2-L[z]/2-1,M=ar(B[I],_e),he=ar(B[N],_e),we=M,be=de-L[z]-he,Se=de/2-L[z]/2+pe,ft=da(we,Se,be),tt=!b.arrow&&ct(d)!=null&&Se!==ft&&g.reference[z]/2-(Se<we?M:he)-L[z]/2<0,Me=tt?Se<we?Se-we:Se-be:0;return{[k]:E[k]+Me,data:{[k]:ft,centerOffset:Se-ft-Me,...tt&&{alignmentOffset:Me}},reset:tt}}});function tS(n,o,i){return(n?[...i.filter(d=>ct(d)===n),...i.filter(d=>ct(d)!==n)]:i.filter(d=>mt(d)===d)).filter(d=>n?ct(d)===n||(o?hi(d)!==d:!1):!0)}const nS=function(n){return n===void 0&&(n={}),{name:"autoPlacement",options:n,async fn(o){var i,u,d;const{rects:g,middlewareData:h,placement:v,platform:b,elements:w}=o,{crossAxis:A=!1,alignment:B,allowedPlacements:E=ju,autoAlignment:k=!0,...z}=un(n,o),L=B!==void 0||E===ju?tS(B||null,k,E):E,P=await b.detectOverflow(o,z),I=((i=h.autoPlacement)==null?void 0:i.index)||0,N=L[I];if(N==null)return{};const K=Mc(N,g,await(b.isRTL==null?void 0:b.isRTL(w.floating)));if(v!==N)return{reset:{placement:L[0]}};const G=[P[mt(N)],P[K[0]],P[K[1]]],le=[...((u=h.autoPlacement)==null?void 0:u.overflows)||[],{placement:N,overflows:G}],ee=L[I+1];if(ee)return{data:{index:I+1,overflows:le},reset:{placement:ee}};const de=le.map(M=>{const he=ct(M.placement);return[M.placement,he&&A?M.overflows.slice(0,2).reduce((we,be)=>we+be,0):M.overflows[0],M.overflows]}).sort((M,he)=>M[1]-he[1]),_e=((d=de.filter(M=>M[2].slice(0,ct(M[0])?2:3).every(he=>he<=0))[0])==null?void 0:d[0])||de[0][0];return _e!==v?{data:{index:I+1,overflows:le},reset:{placement:_e}}:{}}}},rS=function(n){return n===void 0&&(n={}),{name:"flip",options:n,async fn(o){var i,u;const{placement:d,middlewareData:g,rects:h,initialPlacement:v,platform:b,elements:w}=o,{mainAxis:A=!0,crossAxis:B=!0,fallbackPlacements:E,fallbackStrategy:k="bestFit",fallbackAxisSideDirection:z="none",flipAlignment:L=!0,...P}=un(n,o);if((i=g.arrow)!=null&&i.alignmentOffset)return{};const I=mt(d),N=Et(v),K=mt(v)===v,G=await(b.isRTL==null?void 0:b.isRTL(w.floating)),le=E||(K||!L?[gi(v)]:GT(v)),ee=z!=="none";!E&&ee&&le.push(...ZT(v,L,z,G));const de=[v,...le],pe=await b.detectOverflow(o,P),_e=[];let M=((u=g.flip)==null?void 0:u.overflows)||[];if(A&&_e.push(pe[I]),B){const Se=Mc(d,h,G);_e.push(pe[Se[0]],pe[Se[1]])}if(M=[...M,{placement:d,overflows:_e}],!_e.every(Se=>Se<=0)){var he,we;const Se=(((he=g.flip)==null?void 0:he.index)||0)+1,ft=de[Se];if(ft&&(!(B==="alignment"?N!==Et(ft):!1)||M.every(xe=>Et(xe.placement)===N?xe.overflows[0]>0:!0)))return{data:{index:Se,overflows:M},reset:{placement:ft}};let tt=(we=M.filter(Me=>Me.overflows[0]<=0).sort((Me,xe)=>Me.overflows[1]-xe.overflows[1])[0])==null?void 0:we.placement;if(!tt)switch(k){case"bestFit":{var be;const Me=(be=M.filter(xe=>{if(ee){const Ae=Et(xe.placement);return Ae===N||Ae==="y"}return!0}).map(xe=>[xe.placement,xe.overflows.filter(Ae=>Ae>0).reduce((Ae,Bi)=>Ae+Bi,0)]).sort((xe,Ae)=>xe[1]-Ae[1])[0])==null?void 0:be[0];Me&&(tt=Me);break}case"initialPlacement":tt=v;break}if(d!==tt)return{reset:{placement:tt}}}return{}}}},iS=new Set(["left","top"]);async function oS(n,o){const{placement:i,platform:u,elements:d}=n,g=await(u.isRTL==null?void 0:u.isRTL(d.floating)),h=mt(i),v=ct(i),b=Et(i)==="y",w=iS.has(h)?-1:1,A=g&&b?-1:1,B=un(o,n);let{mainAxis:E,crossAxis:k,alignmentAxis:z}=typeof B=="number"?{mainAxis:B,crossAxis:0,alignmentAxis:null}:{mainAxis:B.mainAxis||0,crossAxis:B.crossAxis||0,alignmentAxis:B.alignmentAxis};return v&&typeof z=="number"&&(k=v==="end"?z*-1:z),b?{x:k*A,y:E*w}:{x:E*w,y:k*A}}const aS=function(n){return n===void 0&&(n=0),{name:"offset",options:n,async fn(o){var i,u;const{x:d,y:g,placement:h,middlewareData:v}=o,b=await oS(o,n);return h===((i=v.offset)==null?void 0:i.placement)&&(u=v.arrow)!=null&&u.alignmentOffset?{}:{x:d+b.x,y:g+b.y,data:{...b,placement:h}}}}},sS=function(n){return n===void 0&&(n={}),{name:"shift",options:n,async fn(o){const{x:i,y:u,placement:d,platform:g}=o,{mainAxis:h=!0,crossAxis:v=!1,limiter:b={fn:I=>{let{x:N,y:K}=I;return{x:N,y:K}}},...w}=un(n,o),A={x:i,y:u},B=await g.detectOverflow(o,w),E=Et(mt(d)),k=Dc(E);let z=A[k],L=A[E];if(h){const I=k==="y"?"top":"left",N=k==="y"?"bottom":"right",K=z+B[I],G=z-B[N];z=da(K,z,G)}if(v){const I=E==="y"?"top":"left",N=E==="y"?"bottom":"right",K=L+B[I],G=L-B[N];L=da(K,L,G)}const P=b.fn({...o,[k]:z,[E]:L});return{...P,data:{x:P.x-i,y:P.y-u,enabled:{[k]:h,[E]:v}}}}}},lS=function(n){return n===void 0&&(n={}),{name:"size",options:n,async fn(o){var i,u;const{placement:d,rects:g,platform:h,elements:v}=o,{apply:b=()=>{},...w}=un(n,o),A=await h.detectOverflow(o,w),B=mt(d),E=ct(d),k=Et(d)==="y",{width:z,height:L}=g.floating;let P,I;B==="top"||B==="bottom"?(P=B,I=E===(await(h.isRTL==null?void 0:h.isRTL(v.floating))?"start":"end")?"left":"right"):(I=B,P=E==="end"?"top":"bottom");const N=L-A.top-A.bottom,K=z-A.left-A.right,G=ar(L-A[P],N),le=ar(z-A[I],K),ee=!o.middlewareData.shift;let de=G,pe=le;if((i=o.middlewareData.shift)!=null&&i.enabled.x&&(pe=K),(u=o.middlewareData.shift)!=null&&u.enabled.y&&(de=N),ee&&!E){const M=rn(A.left,0),he=rn(A.right,0),we=rn(A.top,0),be=rn(A.bottom,0);k?pe=z-2*(M!==0||he!==0?M+he:rn(A.left,A.right)):de=L-2*(we!==0||be!==0?we+be:rn(A.top,A.bottom))}await b({...o,availableWidth:pe,availableHeight:de});const _e=await h.getDimensions(v.floating);return z!==_e.width||L!==_e.height?{reset:{rects:!0}}:{}}}};function et(n){var o;return((o=n.ownerDocument)==null?void 0:o.defaultView)||window}function _t(n){return et(n).getComputedStyle(n)}const Ju=Math.min,rr=Math.max,_i=Math.round;function Hc(n){const o=_t(n);let i=parseFloat(o.width),u=parseFloat(o.height);const d=n.offsetWidth,g=n.offsetHeight,h=_i(i)!==d||_i(u)!==g;return h&&(i=d,u=g),{width:i,height:u,fallback:h}}function Gt(n){return Vc(n)?(n.nodeName||"").toLowerCase():""}let ii;function Wc(){if(ii)return ii;const n=navigator.userAgentData;return n&&Array.isArray(n.brands)?(ii=n.brands.map(o=>o.brand+"/"+o.version).join(" "),ii):navigator.userAgent}function vt(n){return n instanceof et(n).HTMLElement}function Wt(n){return n instanceof et(n).Element}function Vc(n){return n instanceof et(n).Node}function Qu(n){return typeof ShadowRoot>"u"?!1:n instanceof et(n).ShadowRoot||n instanceof ShadowRoot}function Si(n){const{overflow:o,overflowX:i,overflowY:u,display:d}=_t(n);return/auto|scroll|overlay|hidden|clip/.test(o+u+i)&&!["inline","contents"].includes(d)}function uS(n){return["table","td","th"].includes(Gt(n))}function pa(n){const o=/firefox/i.test(Wc()),i=_t(n),u=i.backdropFilter||i.WebkitBackdropFilter;return i.transform!=="none"||i.perspective!=="none"||!!u&&u!=="none"||o&&i.willChange==="filter"||o&&!!i.filter&&i.filter!=="none"||["transform","perspective"].some(d=>i.willChange.includes(d))||["paint","layout","strict","content"].some(d=>{const g=i.contain;return g!=null&&g.includes(d)})}function Uc(){return!/^((?!chrome|android).)*safari/i.test(Wc())}function Ia(n){return["html","body","#document"].includes(Gt(n))}function Gc(n){return Wt(n)?n:n.contextElement}const qc={x:1,y:1};function An(n){const o=Gc(n);if(!vt(o))return qc;const i=o.getBoundingClientRect(),{width:u,height:d,fallback:g}=Hc(o);let h=(g?_i(i.width):i.width)/u,v=(g?_i(i.height):i.height)/d;return h&&Number.isFinite(h)||(h=1),v&&Number.isFinite(v)||(v=1),{x:h,y:v}}function sr(n,o,i,u){var d,g;o===void 0&&(o=!1),i===void 0&&(i=!1);const h=n.getBoundingClientRect(),v=Gc(n);let b=qc;o&&(u?Wt(u)&&(b=An(u)):b=An(n));const w=v?et(v):window,A=!Uc()&&i;let B=(h.left+(A&&((d=w.visualViewport)==null?void 0:d.offsetLeft)||0))/b.x,E=(h.top+(A&&((g=w.visualViewport)==null?void 0:g.offsetTop)||0))/b.y,k=h.width/b.x,z=h.height/b.y;if(v){const L=et(v),P=u&&Wt(u)?et(u):u;let I=L.frameElement;for(;I&&u&&P!==L;){const N=An(I),K=I.getBoundingClientRect(),G=getComputedStyle(I);K.x+=(I.clientLeft+parseFloat(G.paddingLeft))*N.x,K.y+=(I.clientTop+parseFloat(G.paddingTop))*N.y,B*=N.x,E*=N.y,k*=N.x,z*=N.y,B+=K.x,E+=K.y,I=et(I).frameElement}}return{width:k,height:z,top:E,right:B+k,bottom:E+z,left:B,x:B,y:E}}function Vt(n){return((Vc(n)?n.ownerDocument:n.document)||window.document).documentElement}function Ai(n){return Wt(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Kc(n){return sr(Vt(n)).left+Ai(n).scrollLeft}function lr(n){if(Gt(n)==="html")return n;const o=n.assignedSlot||n.parentNode||Qu(n)&&n.host||Vt(n);return Qu(o)?o.host:o}function jc(n){const o=lr(n);return Ia(o)?o.ownerDocument.body:vt(o)&&Si(o)?o:jc(o)}function vi(n,o){var i;o===void 0&&(o=[]);const u=jc(n),d=u===((i=n.ownerDocument)==null?void 0:i.body),g=et(u);return d?o.concat(g,g.visualViewport||[],Si(u)?u:[]):o.concat(u,vi(u))}function ec(n,o,i){return o==="viewport"?nr(function(u,d){const g=et(u),h=Vt(u),v=g.visualViewport;let b=h.clientWidth,w=h.clientHeight,A=0,B=0;if(v){b=v.width,w=v.height;const E=Uc();(E||!E&&d==="fixed")&&(A=v.offsetLeft,B=v.offsetTop)}return{width:b,height:w,x:A,y:B}}(n,i)):Wt(o)?nr(function(u,d){const g=sr(u,!0,d==="fixed"),h=g.top+u.clientTop,v=g.left+u.clientLeft,b=vt(u)?An(u):{x:1,y:1};return{width:u.clientWidth*b.x,height:u.clientHeight*b.y,x:v*b.x,y:h*b.y}}(o,i)):nr(function(u){const d=Vt(u),g=Ai(u),h=u.ownerDocument.body,v=rr(d.scrollWidth,d.clientWidth,h.scrollWidth,h.clientWidth),b=rr(d.scrollHeight,d.clientHeight,h.scrollHeight,h.clientHeight);let w=-g.scrollLeft+Kc(u);const A=-g.scrollTop;return _t(h).direction==="rtl"&&(w+=rr(d.clientWidth,h.clientWidth)-v),{width:v,height:b,x:w,y:A}}(Vt(n)))}function tc(n){return vt(n)&&_t(n).position!=="fixed"?n.offsetParent:null}function nc(n){const o=et(n);let i=tc(n);for(;i&&uS(i)&&_t(i).position==="static";)i=tc(i);return i&&(Gt(i)==="html"||Gt(i)==="body"&&_t(i).position==="static"&&!pa(i))?o:i||function(u){let d=lr(u);for(;vt(d)&&!Ia(d);){if(pa(d))return d;d=lr(d)}return null}(n)||o}function cS(n,o,i){const u=vt(o),d=Vt(o),g=sr(n,!0,i==="fixed",o);let h={scrollLeft:0,scrollTop:0};const v={x:0,y:0};if(u||!u&&i!=="fixed")if((Gt(o)!=="body"||Si(d))&&(h=Ai(o)),vt(o)){const b=sr(o,!0);v.x=b.x+o.clientLeft,v.y=b.y+o.clientTop}else d&&(v.x=Kc(d));return{x:g.left+h.scrollLeft-v.x,y:g.top+h.scrollTop-v.y,width:g.width,height:g.height}}const fS={getClippingRect:function(n){let{element:o,boundary:i,rootBoundary:u,strategy:d}=n;const g=i==="clippingAncestors"?function(w,A){const B=A.get(w);if(B)return B;let E=vi(w).filter(P=>Wt(P)&&Gt(P)!=="body"),k=null;const z=_t(w).position==="fixed";let L=z?lr(w):w;for(;Wt(L)&&!Ia(L);){const P=_t(L),I=pa(L);(z?I||k:I||P.position!=="static"||!k||!["absolute","fixed"].includes(k.position))?k=P:E=E.filter(N=>N!==L),L=lr(L)}return A.set(w,E),E}(o,this._c):[].concat(i),h=[...g,u],v=h[0],b=h.reduce((w,A)=>{const B=ec(o,A,d);return w.top=rr(B.top,w.top),w.right=Ju(B.right,w.right),w.bottom=Ju(B.bottom,w.bottom),w.left=rr(B.left,w.left),w},ec(o,v,d));return{width:b.right-b.left,height:b.bottom-b.top,x:b.left,y:b.top}},convertOffsetParentRelativeRectToViewportRelativeRect:function(n){let{rect:o,offsetParent:i,strategy:u}=n;const d=vt(i),g=Vt(i);if(i===g)return o;let h={scrollLeft:0,scrollTop:0},v={x:1,y:1};const b={x:0,y:0};if((d||!d&&u!=="fixed")&&((Gt(i)!=="body"||Si(g))&&(h=Ai(i)),vt(i))){const w=sr(i);v=An(i),b.x=w.x+i.clientLeft,b.y=w.y+i.clientTop}return{width:o.width*v.x,height:o.height*v.y,x:o.x*v.x-h.scrollLeft*v.x+b.x,y:o.y*v.y-h.scrollTop*v.y+b.y}},isElement:Wt,getDimensions:function(n){return vt(n)?Hc(n):n.getBoundingClientRect()},getOffsetParent:nc,getDocumentElement:Vt,getScale:An,async getElementRects(n){let{reference:o,floating:i,strategy:u}=n;const d=this.getOffsetParent||nc,g=this.getDimensions;return{reference:cS(o,await d(i),u),floating:{x:0,y:0,...await g(i)}}},getClientRects:n=>Array.from(n.getClientRects()),isRTL:n=>_t(n).direction==="rtl"},dS=(n,o,i)=>{const u=new Map,d={platform:fS,...i},g={...d.platform,_c:u};return QT(n,o,{...d,platform:g})},Ut={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,themes:{tooltip:{placement:"top",triggers:["hover","focus","touch"],hideTriggers:n=>[...n,"click"],delay:{show:200,hide:0},handleResize:!1,html:!1,loadingContent:"..."},dropdown:{placement:"bottom",triggers:["click"],delay:0,handleResize:!0,autoHide:!0},menu:{$extend:"dropdown",triggers:["hover","focus"],popperTriggers:["hover"],delay:{show:0,hide:400}}}};function ha(n,o){let i=Ut.themes[n]||{},u;do u=i[o],typeof u>"u"?i.$extend?i=Ut.themes[i.$extend]||{}:(i=null,u=Ut[o]):i=null;while(i);return u}function pS(n){const o=[n];let i=Ut.themes[n]||{};do i.$extend&&!i.$resetCss?(o.push(i.$extend),i=Ut.themes[i.$extend]||{}):i=null;while(i);return o.map(u=>`v-popper--theme-${u}`)}function rc(n){const o=[n];let i=Ut.themes[n]||{};do i.$extend?(o.push(i.$extend),i=Ut.themes[i.$extend]||{}):i=null;while(i);return o}let ur=!1;if(typeof window<"u"){ur=!1;try{const n=Object.defineProperty({},"passive",{get(){ur=!0}});window.addEventListener("test",null,n)}catch{}}let Zc=!1;typeof window<"u"&&typeof navigator<"u"&&(Zc=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const hS=["auto","top","bottom","left","right"].reduce((n,o)=>n.concat([o,`${o}-start`,`${o}-end`]),[]),ic={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},oc={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function ac(n,o){const i=n.indexOf(o);i!==-1&&n.splice(i,1)}function ea(){return new Promise(n=>requestAnimationFrame(()=>{requestAnimationFrame(n)}))}const ut=[];let tn=null;const sc={};function lc(n){let o=sc[n];return o||(o=sc[n]=[]),o}let ga=function(){};typeof window<"u"&&(ga=window.Element);function Q(n){return function(o){return ha(o.theme,n)}}const ta="__floating-vue__popper",Yc=()=>a.defineComponent({name:"VPopper",provide(){return{[ta]:{parentPopper:this}}},inject:{[ta]:{default:null}},props:{theme:{type:String,required:!0},targetNodes:{type:Function,required:!0},referenceNode:{type:Function,default:null},popperNode:{type:Function,required:!0},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:Q("disabled")},positioningDisabled:{type:Boolean,default:Q("positioningDisabled")},placement:{type:String,default:Q("placement"),validator:n=>hS.includes(n)},delay:{type:[String,Number,Object],default:Q("delay")},distance:{type:[Number,String],default:Q("distance")},skidding:{type:[Number,String],default:Q("skidding")},triggers:{type:Array,default:Q("triggers")},showTriggers:{type:[Array,Function],default:Q("showTriggers")},hideTriggers:{type:[Array,Function],default:Q("hideTriggers")},popperTriggers:{type:Array,default:Q("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:Q("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:Q("popperHideTriggers")},container:{type:[String,Object,ga,Boolean],default:Q("container")},boundary:{type:[String,ga],default:Q("boundary")},strategy:{type:String,validator:n=>["absolute","fixed"].includes(n),default:Q("strategy")},autoHide:{type:[Boolean,Function],default:Q("autoHide")},handleResize:{type:Boolean,default:Q("handleResize")},instantMove:{type:Boolean,default:Q("instantMove")},eagerMount:{type:Boolean,default:Q("eagerMount")},popperClass:{type:[String,Array,Object],default:Q("popperClass")},computeTransformOrigin:{type:Boolean,default:Q("computeTransformOrigin")},autoMinSize:{type:Boolean,default:Q("autoMinSize")},autoSize:{type:[Boolean,String],default:Q("autoSize")},autoMaxSize:{type:Boolean,default:Q("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:Q("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:Q("preventOverflow")},overflowPadding:{type:[Number,String],default:Q("overflowPadding")},arrowPadding:{type:[Number,String],default:Q("arrowPadding")},arrowOverflow:{type:Boolean,default:Q("arrowOverflow")},flip:{type:Boolean,default:Q("flip")},shift:{type:Boolean,default:Q("shift")},shiftCrossAxis:{type:Boolean,default:Q("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:Q("noAutoFocus")},disposeTimeout:{type:Number,default:Q("disposeTimeout")}},emits:{show:()=>!0,hide:()=>!0,"update:shown":n=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},data(){return{isShown:!1,isMounted:!1,skipTransition:!1,classes:{showFrom:!1,showTo:!1,hideFrom:!1,hideTo:!0},result:{x:0,y:0,placement:"",strategy:this.strategy,arrow:{x:0,y:0,centerOffset:0},transformOrigin:null},randomId:`popper_${[Math.random(),Date.now()].map(n=>n.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},computed:{popperId(){return this.ariaId!=null?this.ariaId:this.randomId},shouldMountContent(){return this.eagerMount||this.isMounted},slotData(){return{popperId:this.popperId,isShown:this.isShown,shouldMountContent:this.shouldMountContent,skipTransition:this.skipTransition,autoHide:typeof this.autoHide=="function"?this.lastAutoHide:this.autoHide,show:this.show,hide:this.hide,handleResize:this.handleResize,onResize:this.onResize,classes:{...this.classes,popperClass:this.popperClass},result:this.positioningDisabled?null:this.result,attrs:this.$attrs}},parentPopper(){var n;return(n=this[ta])==null?void 0:n.parentPopper},hasPopperShowTriggerHover(){var n,o;return((n=this.popperTriggers)==null?void 0:n.includes("hover"))||((o=this.popperShowTriggers)==null?void 0:o.includes("hover"))}},watch:{shown:"$_autoShowHide",disabled(n){n?this.dispose():this.init()},async container(){this.isShown&&(this.$_ensureTeleport(),await this.$_computePosition())},triggers:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((n,o)=>(n[o]="$_computePosition",n),{})},created(){this.autoMinSize&&console.warn('[floating-vue] `autoMinSize` option is deprecated. Use `autoSize="min"` instead.'),this.autoMaxSize&&console.warn("[floating-vue] `autoMaxSize` option is deprecated. Use `autoBoundaryMaxSize` instead.")},mounted(){this.init(),this.$_detachPopperNode()},activated(){this.$_autoShowHide()},deactivated(){this.hide()},beforeUnmount(){this.dispose()},methods:{show({event:n=null,skipDelay:o=!1,force:i=!1}={}){var u,d;(u=this.parentPopper)!=null&&u.lockedChild&&this.parentPopper.lockedChild!==this||(this.pendingHide=!1,(i||!this.disabled)&&(((d=this.parentPopper)==null?void 0:d.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.$_scheduleShow(n,o),this.$emit("show"),this.$_showFrameLocked=!0,requestAnimationFrame(()=>{this.$_showFrameLocked=!1})),this.$emit("update:shown",!0))},hide({event:n=null,skipDelay:o=!1}={}){var i;if(!this.$_hideInProgress){if(this.shownChildren.size>0){this.pendingHide=!0;return}if(this.hasPopperShowTriggerHover&&this.$_isAimingPopper()){this.parentPopper&&(this.parentPopper.lockedChild=this,clearTimeout(this.parentPopper.lockedChildTimer),this.parentPopper.lockedChildTimer=setTimeout(()=>{this.parentPopper.lockedChild===this&&(this.parentPopper.lockedChild.hide({skipDelay:o}),this.parentPopper.lockedChild=null)},1e3));return}((i=this.parentPopper)==null?void 0:i.lockedChild)===this&&(this.parentPopper.lockedChild=null),this.pendingHide=!1,this.$_scheduleHide(n,o),this.$emit("hide"),this.$emit("update:shown",!1)}},init(){var n;this.isDisposed&&(this.isDisposed=!1,this.isMounted=!1,this.$_events=[],this.$_preventShow=!1,this.$_referenceNode=((n=this.referenceNode)==null?void 0:n.call(this))??this.$el,this.$_targetNodes=this.targetNodes().filter(o=>o.nodeType===o.ELEMENT_NODE),this.$_popperNode=this.popperNode(),this.$_innerNode=this.$_popperNode.querySelector(".v-popper__inner"),this.$_arrowNode=this.$_popperNode.querySelector(".v-popper__arrow-container"),this.$_swapTargetAttrs("title","data-original-title"),this.$_detachPopperNode(),this.triggers.length&&this.$_addEventListeners(),this.shown&&this.show())},dispose(){this.isDisposed||(this.isDisposed=!0,this.$_removeEventListeners(),this.hide({skipDelay:!0}),this.$_detachPopperNode(),this.isMounted=!1,this.isShown=!1,this.$_updateParentShownChildren(!1),this.$_swapTargetAttrs("data-original-title","title"))},async onResize(){this.isShown&&(await this.$_computePosition(),this.$emit("resize"))},async $_computePosition(){if(this.isDisposed||this.positioningDisabled)return;const n={strategy:this.strategy,middleware:[]};(this.distance||this.skidding)&&n.middleware.push(aS({mainAxis:this.distance,crossAxis:this.skidding}));const o=this.placement.startsWith("auto");if(o?n.middleware.push(nS({alignment:this.placement.split("-")[1]??""})):n.placement=this.placement,this.preventOverflow&&(this.shift&&n.middleware.push(sS({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!o&&this.flip&&n.middleware.push(rS({padding:this.overflowPadding,boundary:this.boundary}))),n.middleware.push(eS({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&n.middleware.push({name:"arrowOverflow",fn:({placement:u,rects:d,middlewareData:g})=>{let h;const{centerOffset:v}=g.arrow;return u.startsWith("top")||u.startsWith("bottom")?h=Math.abs(v)>d.reference.width/2:h=Math.abs(v)>d.reference.height/2,{data:{overflow:h}}}}),this.autoMinSize||this.autoSize){const u=this.autoSize?this.autoSize:this.autoMinSize?"min":null;n.middleware.push({name:"autoSize",fn:({rects:d,placement:g,middlewareData:h})=>{var v;if((v=h.autoSize)!=null&&v.skip)return{};let b,w;return g.startsWith("top")||g.startsWith("bottom")?b=d.reference.width:w=d.reference.height,this.$_innerNode.style[u==="min"?"minWidth":u==="max"?"maxWidth":"width"]=b!=null?`${b}px`:null,this.$_innerNode.style[u==="min"?"minHeight":u==="max"?"maxHeight":"height"]=w!=null?`${w}px`:null,{data:{skip:!0},reset:{rects:!0}}}})}(this.autoMaxSize||this.autoBoundaryMaxSize)&&(this.$_innerNode.style.maxWidth=null,this.$_innerNode.style.maxHeight=null,n.middleware.push(lS({boundary:this.boundary,padding:this.overflowPadding,apply:({availableWidth:u,availableHeight:d})=>{this.$_innerNode.style.maxWidth=u!=null?`${u}px`:null,this.$_innerNode.style.maxHeight=d!=null?`${d}px`:null}})));const i=await dS(this.$_referenceNode,this.$_popperNode,n);Object.assign(this.result,{x:i.x,y:i.y,placement:i.placement,strategy:i.strategy,arrow:{...i.middlewareData.arrow,...i.middlewareData.arrowOverflow}})},$_scheduleShow(n,o=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),tn&&this.instantMove&&tn.instantMove&&tn!==this.parentPopper){tn.$_applyHide(!0),this.$_applyShow(!0);return}o?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(n,o=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(tn=this),o?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(n){const o=this.delay;return parseInt(o&&o[n]||o||0)},async $_applyShow(n=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=n,!this.isShown&&(this.$_ensureTeleport(),await ea(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...vi(this.$_referenceNode),...vi(this.$_popperNode)],"scroll",()=>{this.$_computePosition()}))},async $_applyShowEffect(){if(this.$_hideInProgress)return;if(this.computeTransformOrigin){const o=this.$_referenceNode.getBoundingClientRect(),i=this.$_popperNode.querySelector(".v-popper__wrapper"),u=i.parentNode.getBoundingClientRect(),d=o.x+o.width/2-(u.left+i.offsetLeft),g=o.y+o.height/2-(u.top+i.offsetTop);this.result.transformOrigin=`${d}px ${g}px`}this.isShown=!0,this.$_applyAttrsToTarget({"aria-describedby":this.popperId,"data-popper-shown":""});const n=this.showGroup;if(n){let o;for(let i=0;i<ut.length;i++)o=ut[i],o.showGroup!==n&&(o.hide(),o.$emit("close-group"))}ut.push(this),document.body.classList.add("v-popper--some-open");for(const o of rc(this.theme))lc(o).push(this),document.body.classList.add(`v-popper--some-open--${o}`);this.$emit("apply-show"),this.classes.showFrom=!0,this.classes.showTo=!1,this.classes.hideFrom=!1,this.classes.hideTo=!1,await ea(),this.classes.showFrom=!1,this.classes.showTo=!0,this.noAutoFocus||this.$_popperNode.focus()},async $_applyHide(n=!1){if(this.shownChildren.size>0){this.pendingHide=!0,this.$_hideInProgress=!1;return}if(clearTimeout(this.$_scheduleTimer),!this.isShown)return;this.skipTransition=n,ac(ut,this),ut.length===0&&document.body.classList.remove("v-popper--some-open");for(const i of rc(this.theme)){const u=lc(i);ac(u,this),u.length===0&&document.body.classList.remove(`v-popper--some-open--${i}`)}tn===this&&(tn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const o=this.disposeTimeout;o!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},o)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ea(),this.classes.hideFrom=!1,this.classes.hideTo=!0},$_autoShowHide(){this.shown?this.show():this.hide()},$_ensureTeleport(){if(this.isDisposed)return;let n=this.container;if(typeof n=="string"?n=window.document.querySelector(n):n===!1&&(n=this.$_targetNodes[0].parentNode),!n)throw new Error("No container for popover: "+this.container);n.appendChild(this.$_popperNode),this.isMounted=!0},$_addEventListeners(){const n=i=>{this.isShown&&!this.$_hideInProgress||(i.usedByTooltip=!0,!this.$_preventShow&&this.show({event:i}))};this.$_registerTriggerListeners(this.$_targetNodes,ic,this.triggers,this.showTriggers,n),this.$_registerTriggerListeners([this.$_popperNode],ic,this.popperTriggers,this.popperShowTriggers,n);const o=i=>{i.usedByTooltip||this.hide({event:i})};this.$_registerTriggerListeners(this.$_targetNodes,oc,this.triggers,this.hideTriggers,o),this.$_registerTriggerListeners([this.$_popperNode],oc,this.popperTriggers,this.popperHideTriggers,o)},$_registerEventListeners(n,o,i){this.$_events.push({targetNodes:n,eventType:o,handler:i}),n.forEach(u=>u.addEventListener(o,i,ur?{passive:!0}:void 0))},$_registerTriggerListeners(n,o,i,u,d){let g=i;u!=null&&(g=typeof u=="function"?u(g):u),g.forEach(h=>{const v=o[h];v&&this.$_registerEventListeners(n,v,d)})},$_removeEventListeners(n){const o=[];this.$_events.forEach(i=>{const{targetNodes:u,eventType:d,handler:g}=i;!n||n===d?u.forEach(h=>h.removeEventListener(d,g)):o.push(i)}),this.$_events=o},$_refreshListeners(){this.isDisposed||(this.$_removeEventListeners(),this.$_addEventListeners())},$_handleGlobalClose(n,o=!1){this.$_showFrameLocked||(this.hide({event:n}),n.closePopover?this.$emit("close-directive"):this.$emit("auto-hide"),o&&(this.$_preventShow=!0,setTimeout(()=>{this.$_preventShow=!1},300)))},$_detachPopperNode(){this.$_popperNode.parentNode&&this.$_popperNode.parentNode.removeChild(this.$_popperNode)},$_swapTargetAttrs(n,o){for(const i of this.$_targetNodes){const u=i.getAttribute(n);u&&(i.removeAttribute(n),i.setAttribute(o,u))}},$_applyAttrsToTarget(n){for(const o of this.$_targetNodes)for(const i in n){const u=n[i];u==null?o.removeAttribute(i):o.setAttribute(i,u)}},$_updateParentShownChildren(n){let o=this.parentPopper;for(;o;)n?o.shownChildren.add(this.randomId):(o.shownChildren.delete(this.randomId),o.pendingHide&&o.hide()),o=o.parentPopper},$_isAimingPopper(){const n=this.$_referenceNode.getBoundingClientRect();if(ir>=n.left&&ir<=n.right&&or>=n.top&&or<=n.bottom){const o=this.$_popperNode.getBoundingClientRect(),i=ir-Ft,u=or-Ht,d=o.left+o.width/2-Ft+(o.top+o.height/2)-Ht+o.width+o.height,g=Ft+i*d,h=Ht+u*d;return oi(Ft,Ht,g,h,o.left,o.top,o.left,o.bottom)||oi(Ft,Ht,g,h,o.left,o.top,o.right,o.top)||oi(Ft,Ht,g,h,o.right,o.top,o.right,o.bottom)||oi(Ft,Ht,g,h,o.left,o.bottom,o.right,o.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Zc){const n=ur?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",o=>uc(o),n),document.addEventListener("touchend",o=>cc(o,!0),n)}else window.addEventListener("mousedown",n=>uc(n),!0),window.addEventListener("click",n=>cc(n,!1),!0);window.addEventListener("resize",vS)}function uc(n,o){for(let i=0;i<ut.length;i++){const u=ut[i];try{u.mouseDownContains=u.popperNode().contains(n.target)}catch{}}}function cc(n,o){gS(n,o)}function gS(n,o){const i={};for(let u=ut.length-1;u>=0;u--){const d=ut[u];try{const g=d.containsGlobalTarget=d.mouseDownContains||d.popperNode().contains(n.target);d.pendingHide=!1,requestAnimationFrame(()=>{if(d.pendingHide=!1,!i[d.randomId]&&fc(d,g,n)){if(d.$_handleGlobalClose(n,o),!n.closeAllPopover&&n.closePopover&&g){let v=d.parentPopper;for(;v;)i[v.randomId]=!0,v=v.parentPopper;return}let h=d.parentPopper;for(;h&&fc(h,h.containsGlobalTarget,n);)h.$_handleGlobalClose(n,o),h=h.parentPopper}})}catch{}}}function fc(n,o,i){return i.closeAllPopover||i.closePopover&&o||_S(n,i)&&!o}function _S(n,o){if(typeof n.autoHide=="function"){const i=n.autoHide(o);return n.lastAutoHide=i,i}return n.autoHide}function vS(){for(let n=0;n<ut.length;n++)ut[n].$_computePosition()}let Ft=0,Ht=0,ir=0,or=0;typeof window<"u"&&window.addEventListener("mousemove",n=>{Ft=ir,Ht=or,ir=n.clientX,or=n.clientY},ur?{passive:!0}:void 0);function oi(n,o,i,u,d,g,h,v){const b=((h-d)*(o-g)-(v-g)*(n-d))/((v-g)*(i-n)-(h-d)*(u-o)),w=((i-n)*(o-g)-(u-o)*(n-d))/((v-g)*(i-n)-(h-d)*(u-o));return b>=0&&b<=1&&w>=0&&w<=1}const mS={extends:Yc()},Ra=(n,o)=>{const i=n.__vccOpts||n;for(const[u,d]of o)i[u]=d;return i};function yS(n,o,i,u,d,g){return a.openBlock(),a.createElementBlock("div",{ref:"reference",class:a.normalizeClass(["v-popper",{"v-popper--shown":n.slotData.isShown}])},[a.renderSlot(n.$slots,"default",a.normalizeProps(a.guardReactiveProps(n.slotData)))],2)}const wS=Ra(mS,[["render",yS]]);function bS(){var n=window.navigator.userAgent,o=n.indexOf("MSIE ");if(o>0)return parseInt(n.substring(o+5,n.indexOf(".",o)),10);var i=n.indexOf("Trident/");if(i>0){var u=n.indexOf("rv:");return parseInt(n.substring(u+3,n.indexOf(".",u)),10)}var d=n.indexOf("Edge/");return d>0?parseInt(n.substring(d+5,n.indexOf(".",d)),10):-1}let li;function _a(){_a.init||(_a.init=!0,li=bS()!==-1)}var zi={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){_a(),a.nextTick(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const n=document.createElement("object");this._resizeObject=n,n.setAttribute("aria-hidden","true"),n.setAttribute("tabindex",-1),n.onload=this.addResizeHandlers,n.type="text/html",li&&this.$el.appendChild(n),n.data="about:blank",li||this.$el.appendChild(n)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!li&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const xS=a.withScopeId("data-v-b329ee4c");a.pushScopeId("data-v-b329ee4c");const $S={class:"resize-observer",tabindex:"-1"};a.popScopeId();const CS=xS((n,o,i,u,d,g)=>(a.openBlock(),a.createBlock("div",$S)));zi.render=CS;zi.__scopeId="data-v-b329ee4c";zi.__file="src/components/ResizeObserver.vue";const Xc=(n="theme")=>({computed:{themeClass(){return pS(this[n])}}}),TS=a.defineComponent({name:"VPopperContent",components:{ResizeObserver:zi},mixins:[Xc()],props:{popperId:String,theme:String,shown:Boolean,mounted:Boolean,skipTransition:Boolean,autoHide:Boolean,handleResize:Boolean,classes:Object,result:Object},emits:["hide","resize"],methods:{toPx(n){return n!=null&&!isNaN(n)?`${n}px`:null}}}),SS=["id","aria-hidden","tabindex","data-popper-placement"],AS={ref:"inner",class:"v-popper__inner"},zS=a.createElementVNode("div",{class:"v-popper__arrow-outer"},null,-1),BS=a.createElementVNode("div",{class:"v-popper__arrow-inner"},null,-1),ES=[zS,BS];function PS(n,o,i,u,d,g){const h=a.resolveComponent("ResizeObserver");return a.openBlock(),a.createElementBlock("div",{id:n.popperId,ref:"popover",class:a.normalizeClass(["v-popper__popper",[n.themeClass,n.classes.popperClass,{"v-popper__popper--shown":n.shown,"v-popper__popper--hidden":!n.shown,"v-popper__popper--show-from":n.classes.showFrom,"v-popper__popper--show-to":n.classes.showTo,"v-popper__popper--hide-from":n.classes.hideFrom,"v-popper__popper--hide-to":n.classes.hideTo,"v-popper__popper--skip-transition":n.skipTransition,"v-popper__popper--arrow-overflow":n.result&&n.result.arrow.overflow,"v-popper__popper--no-positioning":!n.result}]]),style:a.normalizeStyle(n.result?{position:n.result.strategy,transform:`translate3d(${Math.round(n.result.x)}px,${Math.round(n.result.y)}px,0)`}:void 0),"aria-hidden":n.shown?"false":"true",tabindex:n.autoHide?0:void 0,"data-popper-placement":n.result?n.result.placement:void 0,onKeyup:o[2]||(o[2]=a.withKeys(v=>n.autoHide&&n.$emit("hide"),["esc"]))},[a.createElementVNode("div",{class:"v-popper__backdrop",onClick:o[0]||(o[0]=v=>n.autoHide&&n.$emit("hide"))}),a.createElementVNode("div",{class:"v-popper__wrapper",style:a.normalizeStyle(n.result?{transformOrigin:n.result.transformOrigin}:void 0)},[a.createElementVNode("div",AS,[n.mounted?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("div",null,[a.renderSlot(n.$slots,"default")]),n.handleResize?(a.openBlock(),a.createBlock(h,{key:0,onNotify:o[1]||(o[1]=v=>n.$emit("resize",v))})):a.createCommentVNode("",!0)],64)):a.createCommentVNode("",!0)],512),a.createElementVNode("div",{ref:"arrow",class:"v-popper__arrow-container",style:a.normalizeStyle(n.result?{left:n.toPx(n.result.arrow.x),top:n.toPx(n.result.arrow.y)}:void 0)},ES,4)],4)],46,SS)}const Jc=Ra(TS,[["render",PS]]),Qc={methods:{show(...n){return this.$refs.popper.show(...n)},hide(...n){return this.$refs.popper.hide(...n)},dispose(...n){return this.$refs.popper.dispose(...n)},onResize(...n){return this.$refs.popper.onResize(...n)}}};let va=function(){};typeof window<"u"&&(va=window.Element);const kS=a.defineComponent({name:"VPopperWrapper",components:{Popper:wS,PopperContent:Jc},mixins:[Qc,Xc("finalTheme")],props:{theme:{type:String,default:null},referenceNode:{type:Function,default:null},shown:{type:Boolean,default:!1},showGroup:{type:String,default:null},ariaId:{default:null},disabled:{type:Boolean,default:void 0},positioningDisabled:{type:Boolean,default:void 0},placement:{type:String,default:void 0},delay:{type:[String,Number,Object],default:void 0},distance:{type:[Number,String],default:void 0},skidding:{type:[Number,String],default:void 0},triggers:{type:Array,default:void 0},showTriggers:{type:[Array,Function],default:void 0},hideTriggers:{type:[Array,Function],default:void 0},popperTriggers:{type:Array,default:void 0},popperShowTriggers:{type:[Array,Function],default:void 0},popperHideTriggers:{type:[Array,Function],default:void 0},container:{type:[String,Object,va,Boolean],default:void 0},boundary:{type:[String,va],default:void 0},strategy:{type:String,default:void 0},autoHide:{type:[Boolean,Function],default:void 0},handleResize:{type:Boolean,default:void 0},instantMove:{type:Boolean,default:void 0},eagerMount:{type:Boolean,default:void 0},popperClass:{type:[String,Array,Object],default:void 0},computeTransformOrigin:{type:Boolean,default:void 0},autoMinSize:{type:Boolean,default:void 0},autoSize:{type:[Boolean,String],default:void 0},autoMaxSize:{type:Boolean,default:void 0},autoBoundaryMaxSize:{type:Boolean,default:void 0},preventOverflow:{type:Boolean,default:void 0},overflowPadding:{type:[Number,String],default:void 0},arrowPadding:{type:[Number,String],default:void 0},arrowOverflow:{type:Boolean,default:void 0},flip:{type:Boolean,default:void 0},shift:{type:Boolean,default:void 0},shiftCrossAxis:{type:Boolean,default:void 0},noAutoFocus:{type:Boolean,default:void 0},disposeTimeout:{type:Number,default:void 0}},emits:{show:()=>!0,hide:()=>!0,"update:shown":n=>!0,"apply-show":()=>!0,"apply-hide":()=>!0,"close-group":()=>!0,"close-directive":()=>!0,"auto-hide":()=>!0,resize:()=>!0},computed:{finalTheme(){return this.theme??this.$options.vPopperTheme}},methods:{getTargetNodes(){return Array.from(this.$el.children).filter(n=>n!==this.$refs.popperContent.$el)}}});function OS(n,o,i,u,d,g){const h=a.resolveComponent("PopperContent"),v=a.resolveComponent("Popper");return a.openBlock(),a.createBlock(v,a.mergeProps({ref:"popper"},n.$props,{theme:n.finalTheme,"target-nodes":n.getTargetNodes,"popper-node":()=>n.$refs.popperContent.$el,class:[n.themeClass],onShow:o[0]||(o[0]=()=>n.$emit("show")),onHide:o[1]||(o[1]=()=>n.$emit("hide")),"onUpdate:shown":o[2]||(o[2]=b=>n.$emit("update:shown",b)),onApplyShow:o[3]||(o[3]=()=>n.$emit("apply-show")),onApplyHide:o[4]||(o[4]=()=>n.$emit("apply-hide")),onCloseGroup:o[5]||(o[5]=()=>n.$emit("close-group")),onCloseDirective:o[6]||(o[6]=()=>n.$emit("close-directive")),onAutoHide:o[7]||(o[7]=()=>n.$emit("auto-hide")),onResize:o[8]||(o[8]=()=>n.$emit("resize"))}),{default:a.withCtx(({popperId:b,isShown:w,shouldMountContent:A,skipTransition:B,autoHide:E,show:k,hide:z,handleResize:L,onResize:P,classes:I,result:N})=>[a.renderSlot(n.$slots,"default",{shown:w,show:k,hide:z}),a.createVNode(h,{ref:"popperContent","popper-id":b,theme:n.finalTheme,shown:w,mounted:A,"skip-transition":B,"auto-hide":E,"handle-resize":L,classes:I,result:N,onHide:z,onResize:P},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"popper",{shown:w,hide:z})]),_:2},1032,["popper-id","theme","shown","mounted","skip-transition","auto-hide","handle-resize","classes","result","onHide","onResize"])]),_:3},16,["theme","target-nodes","popper-node","class"])}const Na=Ra(kS,[["render",OS]]),LS={...Na,name:"VDropdown",vPopperTheme:"dropdown"};({...Na});const IS={...Na,name:"VTooltip",vPopperTheme:"tooltip"};a.defineComponent({name:"VTooltipDirective",components:{Popper:Yc(),PopperContent:Jc},mixins:[Qc],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:n=>ha(n.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:n=>ha(n.theme,"loadingContent")},targetNodes:{type:Function,required:!0}},data(){return{asyncContent:null}},computed:{isContentAsync(){return typeof this.content=="function"},loading(){return this.isContentAsync&&this.asyncContent==null},finalContent(){return this.isContentAsync?this.loading?this.loadingContent:this.asyncContent:this.content}},watch:{content:{handler(){this.fetchContent(!0)},immediate:!0},async finalContent(){await this.$nextTick(),this.$refs.popper.onResize()}},created(){this.$_fetchId=0},methods:{fetchContent(n){if(typeof this.content=="function"&&this.$_isShown&&(n||!this.$_loading&&this.asyncContent==null)){this.asyncContent=null,this.$_loading=!0;const o=++this.$_fetchId,i=this.content(this);i.then?i.then(u=>this.onResult(o,u)):this.onResult(o,i)}},onResult(n,o){n===this.$_fetchId&&(this.$_loading=!1,this.asyncContent=o)},onShow(){this.$_isShown=!0,this.fetchContent()},onHide(){this.$_isShown=!1}}});const ef=Ut,RS=LS,NS=IS,ma=ef.themes??{};ma["dark-tooltip"]||(ma["dark-tooltip"]={$extend:"tooltip"});ef.themes=ma;const DS=a.defineComponent({name:"PzHint",__name:"PzHint",props:{wrapperClass:{default:""},containerWrapperClass:{default:""},placement:{default:"top"},theme:{default:"tooltip"}},setup(n){return(o,i)=>(a.openBlock(),a.createElementBlock("span",{class:a.normalizeClass(["pz-hint-container",n.containerWrapperClass])},[a.createVNode(a.unref(NS),{class:a.normalizeClass(["pz-hint",n.wrapperClass]),theme:n.theme,placement:n.placement},{popper:a.withCtx(()=>[a.renderSlot(o.$slots,"content",{},void 0,!0)]),default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3},8,["class","theme","placement"])],2))}}),tf=se(DS,[["__scopeId","data-v-19cc0b71"]]),MS={type:"button","aria-label":"Information",class:"pz-info-hint-trigger"},FS=a.defineComponent({name:"PzInfoHint",__name:"PzInfoHint",props:{infoContent:{},wrapperClass:{default:""},containerWrapperClass:{default:""},placement:{default:"top"}},setup(n){return(o,i)=>(a.openBlock(),a.createBlock(tf,{"wrapper-class":n.wrapperClass,"container-wrapper-class":n.containerWrapperClass,placement:n.placement,theme:"dark-tooltip"},{content:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.infoContent,u=>(a.openBlock(),a.createElementBlock("p",{key:u.id},[a.createElementVNode("b",null,a.toDisplayString(u.title??""),1),a.createTextVNode(" "+a.toDisplayString(u.text??""),1)]))),128))]),default:a.withCtx(()=>[a.createElementVNode("button",MS,[a.createVNode(sn,{name:"help",size:"16",class:"pz-info-hint-icon"})])]),_:1},8,["wrapper-class","container-wrapper-class","placement"]))}}),Da=se(FS,[["__scopeId","data-v-540d7970"]]),HS={class:"pz-table-data__title"},WS=["innerHTML"],VS=a.defineComponent({name:"PzTableData",__name:"PzTableData",props:{column:{},data:{default:void 0},defaultValue:{},isBold:{type:Boolean,default:!1}},setup(n){const o=n,i=a.computed(()=>WT.get(o.data,o.column.key)||o.defaultValue);return(u,d)=>{var g;return a.openBlock(),a.createElementBlock("td",{class:a.normalizeClass(["pz-table-data",{"pz-table-data--bold":n.isBold}])},[a.createElementVNode("p",HS,[a.createElementVNode("span",null,a.toDisplayString(n.column.mobileName||n.column.name),1),(g=n.column.infoContent)!=null&&g.length?(a.openBlock(),a.createBlock(a.unref(Da),{key:0,"info-content":n.column.infoContent},null,8,["info-content"])):a.createCommentVNode("",!0)]),a.renderSlot(u.$slots,"default",{data:n.data,column:n.column,value:i.value},()=>[n.column.isContentHtml?(a.openBlock(),a.createElementBlock("span",{key:0,innerHTML:String(i.value)},null,8,WS)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createTextVNode(a.toDisplayString(i.value),1)],64))],!0)],2)}}}),nf=se(VS,[["__scopeId","data-v-56d44b2b"]]),US={class:"pz-table-head",scope:"col"},GS=a.defineComponent({name:"PzTableHead",__name:"PzTableHead",props:{column:{}},setup(n){return(o,i)=>{var u;return a.openBlock(),a.createElementBlock("th",US,[a.createElementVNode("span",null,a.toDisplayString(n.column.name),1),(u=n.column.infoContent)!=null&&u.length?(a.openBlock(),a.createBlock(a.unref(Da),{key:0,"info-content":n.column.infoContent,class:"pz-table-head__hint"},null,8,["info-content"])):a.createCommentVNode("",!0)])}}}),ya=se(GS,[["__scopeId","data-v-2150e9e1"]]),qS="—",KS={class:"pz-table-wrap"},jS={class:"pz-table"},ZS={key:0,class:"pz-table__head"},YS={class:"pz-table__row pz-table__row--head"},XS=100,JS=a.defineComponent({name:"PzTable",__name:"PzTable",props:{config:{},data:{},defaultValue:{default:qS},visibleHeader:{type:Boolean,default:!0},isBoldFirstColumn:{type:Boolean,default:!0}},setup(n){const o=a.useSlots(),i=n,u=({colWidth:g})=>({width:i.config.some(({colWidth:v})=>!!v)?`${g}%`:`${Math.floor(XS/i.config.length)}%`}),d=g=>!!o[g];return(g,h)=>(a.openBlock(),a.createElementBlock("div",KS,[a.createElementVNode("table",jS,[n.visibleHeader?(a.openBlock(),a.createElementBlock("thead",ZS,[a.createElementVNode("tr",YS,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.config,v=>(a.openBlock(),a.createBlock(ya,{key:v.id,column:v,style:a.normalizeStyle(u(v))},null,8,["column","style"]))),128))])])):a.createCommentVNode("",!0),a.createElementVNode("tbody",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.data,(v,b)=>(a.openBlock(),a.createElementBlock("tr",{key:v.id??b,class:"pz-table__row"},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.config,(w,A)=>(a.openBlock(),a.createBlock(nf,{key:w.id,column:w,data:v,"default-value":n.defaultValue,"is-bold":n.isBoldFirstColumn&&A===0,style:a.normalizeStyle(u(w))},a.createSlots({_:2},[d(w.key)?{name:"default",fn:a.withCtx(B=>[a.renderSlot(g.$slots,w.key,a.mergeProps({ref_for:!0},B),void 0,!0)]),key:"0"}:void 0]),1032,["column","data","default-value","is-bold","style"]))),128))]))),128))])])]))}}),QS=se(JS,[["__scopeId","data-v-46090426"]]),eA="—",tA=100,nA={id:"accordion-toggle",name:"",key:""},rA={class:"pz-accordion-table-wrap"},iA={class:"pz-accordion-table"},oA={key:0,class:"pz-accordion-table__head"},aA={class:"pz-accordion-table__row pz-accordion-table__row--head"},sA=["id","onClick"],lA={key:0,class:"pz-accordion-table__toggle-cell"},uA=["aria-expanded","aria-label","onClick"],cA=["colspan"],fA=a.defineComponent({name:"PzAccordionTable",__name:"PzAccordionTable",props:{rowIdFn:{type:Function,default:({id:n})=>String(n??"")},defaultOpenedSubRowFn:{type:Function,default:()=>!1},visibleToggleBtnFn:{type:Function,default:()=>!1},fields:{},data:{},defaultValue:{default:eA},visibleHeader:{type:Boolean,default:!0}},setup(n){const o=a.useSlots(),i=a.reactive({array:[]}),u=n;a.onMounted(()=>k()),a.watch(()=>[u.data,u.defaultOpenedSubRowFn],()=>k(),{deep:!0});const d=a.computed(()=>i.array.some(z=>b(z))),g=a.computed(()=>u.fields.length+(d.value?1:0)),h=({colWidth:z})=>({width:u.fields.some(({colWidth:P})=>!!P)?`${z}%`:`${Math.floor(tA/u.fields.length)}%`}),v=z=>!!o[z],b=z=>u.visibleToggleBtnFn(z),w=z=>{b(z)&&(z.showSubRow=!z.showSubRow)},A=z=>u.rowIdFn(z)||void 0,B=z=>{const{target:L}=z;return L instanceof Element&&!!L.closest("a, button, input, select, textarea, summary, [role='button']")},E=(z,L)=>{B(L)||w(z)},k=()=>{i.array=HT(u.data||[]).map(z=>({...z,showSubRow:u.defaultOpenedSubRowFn(z)}))};return(z,L)=>(a.openBlock(),a.createElementBlock("div",rA,[a.createElementVNode("table",iA,[n.visibleHeader?(a.openBlock(),a.createElementBlock("thead",oA,[a.createElementVNode("tr",aA,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.fields,P=>(a.openBlock(),a.createBlock(a.unref(ya),{key:P.id,column:P,style:a.normalizeStyle(h(P))},null,8,["column","style"]))),128)),d.value?(a.openBlock(),a.createBlock(a.unref(ya),{key:0,column:a.unref(nA),class:"pz-accordion-table__toggle-head"},null,8,["column"])):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0),a.createElementVNode("tbody",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.array,(P,I)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:P.id??I},[a.createElementVNode("tr",{id:A(P),class:a.normalizeClass(["pz-accordion-table__row",{expandable:b(P),open:P.showSubRow}]),onClick:N=>E(P,N)},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(n.fields,(N,K)=>(a.openBlock(),a.createBlock(a.unref(nf),{key:`${N.id}-${N.key}`,column:N,data:P,style:a.normalizeStyle(h(N)),"default-value":n.defaultValue,class:a.normalizeClass({"pz-accordion-table__cell--first-col":K===0})},a.createSlots({_:2},[v(N.key)?{name:"default",fn:a.withCtx(({value:G})=>[a.renderSlot(z.$slots,N.key,{data:P,column:N,value:G,expanded:P.showSubRow,toggle:()=>w(P)},void 0,!0)]),key:"0"}:void 0]),1032,["column","data","style","default-value","class"]))),128)),d.value?(a.openBlock(),a.createElementBlock("td",lA,[b(P)?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:a.normalizeClass(["pz-accordion-table__toggle-button",{"pz-accordion-table__toggle-button--open":P.showSubRow}]),"aria-expanded":P.showSubRow,"aria-label":P.showSubRow?"Згорнути деталі рядка":"Розгорнути деталі рядка",onClick:a.withModifiers(N=>w(P),["stop"])},[a.createVNode(a.unref(sn),{name:"expand_more",size:"20"})],10,uA)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)],10,sA),b(P)?(a.openBlock(),a.createElementBlock("tr",{key:0,class:a.normalizeClass(["pz-accordion-table__row pz-accordion-table__row--sub-row",{"pz-accordion-table__row--sub-row-open":P.showSubRow}])},[a.createElementVNode("td",{colspan:g.value,class:"pz-accordion-table__sub-row-cell"},[a.createVNode(a.unref(gc),{active:P.showSubRow,"content-class":"pz-accordion-table-sub-row-surface"},{default:a.withCtx(()=>[a.renderSlot(z.$slots,"subRow",{data:P,expanded:P.showSubRow,toggle:()=>w(P)},void 0,!0)]),_:2},1032,["active"])],8,cA)],2)):a.createCommentVNode("",!0)],64))),128))])])]))}}),dA=se(fA,[["__scopeId","data-v-b95525d7"]]),pA=["type","disabled"],hA={key:0,class:"pz-btn-prefix"},gA={key:1,class:"pz-btn-content"},_A={key:2,class:"pz-btn-suffix"},vA=a.defineComponent({name:"PzBtn",__name:"PzBtn",props:{variant:{default:"primary"},type:{default:"button"},disabled:{type:Boolean,default:!1}},setup(n){const o=n;return(i,u)=>(a.openBlock(),a.createElementBlock("button",{type:o.type,disabled:o.disabled,class:a.normalizeClass(["pz-btn",`pz-btn--${o.variant}`])},[i.$slots.prefix?(a.openBlock(),a.createElementBlock("span",hA,[a.renderSlot(i.$slots,"prefix",{},void 0,!0)])):a.createCommentVNode("",!0),i.$slots.default?(a.openBlock(),a.createElementBlock("span",gA,[a.renderSlot(i.$slots,"default",{},void 0,!0)])):a.createCommentVNode("",!0),i.$slots.suffix?(a.openBlock(),a.createElementBlock("span",_A,[a.renderSlot(i.$slots,"suffix",{},void 0,!0)])):a.createCommentVNode("",!0)],10,pA))}}),mA=se(vA,[["__scopeId","data-v-1c1e8351"]]),na={label:"Головна",to:"/"},yA={class:"pz-breadcrumb","aria-label":"Breadcrumb"},wA={class:"pz-breadcrumb__list"},bA={class:"pz-breadcrumb__item"},xA={key:0,class:"pz-breadcrumb__link pz-breadcrumb__link--current","aria-current":"page"},$A=a.defineComponent({name:"PzBreadcrumb",__name:"PzBreadcrumb",props:{items:{}},setup(n){const o=Sn.useRoute(),i=n,u=v=>typeof v!="string"?v:v.split("/").map(b=>{if(!b.startsWith(":"))return b;const w=o.params[b.slice(1)];return Array.isArray(w)?w.join("/"):w??b}).join("/"),d=a.computed(()=>{const v=[];return o.matched.forEach(b=>{const w=b.meta,A=String(w.breadcrumb??w.name??b.name??"").trim();!A||b.path==="/"||v.push({label:A,to:u(b.path)})}),v}),g=a.computed(()=>{var v;return(v=i.items)!=null&&v.length?i.items.map(b=>({...b,to:u(b.to)})):d.value}),h=v=>v===g.value.length-1;return(v,b)=>(a.openBlock(),a.createElementBlock("nav",yA,[a.createElementVNode("ul",wA,[a.createElementVNode("li",bA,[a.createVNode(a.unref(Sn.RouterLink),{to:a.unref(na).to,class:"pz-breadcrumb__link"},{default:a.withCtx(()=>[a.renderSlot(v.$slots,"home",{data:a.unref(na),index:-1,isCurrent:!1},()=>[a.createTextVNode(a.toDisplayString(a.unref(na).label),1)],!0)]),_:3},8,["to"])]),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(g.value,(w,A)=>(a.openBlock(),a.createElementBlock("li",{key:`${w.label}-${A}`,class:"pz-breadcrumb__item"},[h(A)||!w.to?(a.openBlock(),a.createElementBlock("span",xA,[a.renderSlot(v.$slots,"view",{data:w,isCurrent:h(A)||!w.to,index:A},()=>[a.createTextVNode(a.toDisplayString(w.label),1)],!0)])):(a.openBlock(),a.createBlock(a.unref(Sn.RouterLink),{key:1,to:w.to,class:"pz-breadcrumb__link"},{default:a.withCtx(()=>[a.renderSlot(v.$slots,"view",{data:w,isCurrent:!1,index:A},()=>[a.createTextVNode(a.toDisplayString(w.label),1)],!0)]),_:2},1032,["to"]))]))),128))])]))}}),CA=se($A,[["__scopeId","data-v-121084ee"]]),TA=a.defineComponent({name:"PzGrid",__name:"PzGrid",props:{as:{default:"div"},container:{type:Boolean,default:!1},fluid:{type:Boolean,default:!1},grid:{type:Boolean,default:!0},fit:{type:Boolean,default:!1},dense:{type:Boolean,default:!1}},setup(n){const o=n,i=a.computed(()=>[{"pz-container":o.container&&!o.fluid,"pz-container-fluid":o.container&&o.fluid,"pz-grid":o.grid,"pz-grid-fit":o.grid&&o.fit,"pz-grid-dense":o.grid&&o.dense}]);return(u,d)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.as),{class:a.normalizeClass(i.value)},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},8,["class"]))}}),SA=a.defineComponent({name:"PzGridItem",__name:"PzGridItem",props:{as:{default:"div"},span:{default:void 0},sm:{default:void 0},md:{default:void 0},lg:{default:void 0},xl:{default:void 0},xxl:{default:void 0},start:{default:void 0},startSm:{default:void 0},startMd:{default:void 0},startLg:{default:void 0},startXl:{default:void 0},startXxl:{default:void 0}},setup(n){const o=n,i=(g,h)=>h?h==="full"?`pz-col-${g}full`:`pz-col-${g}${h}`:null,u=(g,h)=>h?`pz-start-${g}${h}`:null,d=a.computed(()=>["pz-grid-item",i("",o.span),i("sm-",o.sm),i("md-",o.md),i("lg-",o.lg),i("xl-",o.xl),i("xxl-",o.xxl),u("",o.start),u("sm-",o.startSm),u("md-",o.startMd),u("lg-",o.startLg),u("xl-",o.startXl),u("xxl-",o.startXxl)]);return(g,h)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.as),{class:a.normalizeClass(d.value)},{default:a.withCtx(()=>[a.renderSlot(g.$slots,"default")]),_:3},8,["class"]))}}),AA=a.defineComponent({name:"PzText",__name:"PzText",props:{variant:{},as:{default:void 0}},setup(n){const o={"h1-bold":"h1","h1-regular":"h1","h2-bold":"h2","h3-bold":"h3","h3-regular":"h3","h4-regular":"h4","h4-semibold":"h4","h4-bold":"h4",subtitle:"p","body-regular":"p","body-semibold":"p","body-bold":"p",capitalized:"span",hint:"span","line-through":"span","small-regular":"span","small-semibold":"span","small-bold":"span",link:"a",document:"p"},i=n,u=a.computed(()=>i.as??o[i.variant]??"span");return(d,g)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(u.value),{class:a.normalizeClass(["pz-text",`pz-text--${n.variant}`])},{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default",{},void 0,!0)]),_:3},8,["class"]))}}),Ma=se(AA,[["__scopeId","data-v-bd3b2150"]]),zA={class:"pz-info-block-layout"},BA={class:"pz-info-block-layout-header"},EA={key:0,class:"pz-info-block-layout-actions"},PA={key:0,class:"pz-info-block-layout-helper"},kA=a.defineComponent({name:"PzInfoBlockLayout",__name:"PzInfoBlockLayout",props:{title:{},titleClass:{default:""},mode:{default:""}},setup(n){return(o,i)=>(a.openBlock(),a.createElementBlock("section",zA,[a.createElementVNode("div",BA,[a.createVNode(a.unref(Ma),{variant:"h4-bold"},{default:a.withCtx(()=>[a.renderSlot(o.$slots,"title",{},()=>[a.createTextVNode(a.toDisplayString(n.title),1)],!0)]),_:3}),o.$slots.right_section?(a.openBlock(),a.createElementBlock("div",EA,[a.renderSlot(o.$slots,"right_section",{},void 0,!0)])):a.createCommentVNode("",!0)]),o.$slots.heading?(a.openBlock(),a.createElementBlock("div",PA,[a.renderSlot(o.$slots,"heading",{},void 0,!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["pz-info-block-layout-content",{mode:n.mode}])},[a.renderSlot(o.$slots,"default",{},void 0,!0)],2)]))}}),OA=se(kA,[["__scopeId","data-v-976b9034"]]),LA=["src","alt","loading","decoding"],IA=a.defineComponent({name:"PzImage",__name:"PzImage",props:{src:{},alt:{},fit:{default:"contain"},loading:{default:void 0},decoding:{default:"async"}},setup(n){const o=n,i=a.computed(()=>({"--pz-image-fit":o.fit}));return(u,d)=>(a.openBlock(),a.createElementBlock("img",{class:"pz-image",src:o.src,alt:o.alt,loading:o.loading,decoding:o.decoding,style:a.normalizeStyle(i.value)},null,12,LA))}}),RA=se(IA,[["__scopeId","data-v-33d59ff0"]]),NA=a.defineComponent({name:"PzDropdown",__name:"PzDropdown",setup(n){return(o,i)=>(a.openBlock(),a.createBlock(a.unref(RS),{class:"pz-dropdown",theme:"dropdown"},{popper:a.withCtx(()=>[a.renderSlot(o.$slots,"content",{},void 0,!0)]),default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},void 0,!0)]),_:3}))}}),DA=se(NA,[["__scopeId","data-v-a2315284"]]),MA="noopener noreferrer",FA=["href","target","rel","aria-disabled","tabindex"],HA={key:0,class:"pz-link-prefix"},WA={key:1,class:"pz-link-content"},VA={key:2,class:"pz-link-suffix"},UA=a.defineComponent({name:"PzLink",__name:"PzLink",props:{href:{},variant:{default:"primary"},target:{default:"_self"},rel:{default:void 0},disabled:{type:Boolean,default:!1},inline:{type:Boolean,default:!0},bold:{type:Boolean,default:!1},italic:{type:Boolean,default:!1},lineThrough:{type:Boolean,default:!1}},setup(n){const o=a.useSlots(),i=n,u=a.computed(()=>!!o.default),d=a.computed(()=>i.rel?i.rel:i.target==="_blank"?MA:void 0),g=a.computed(()=>[`pz-link--${i.variant}`,{"pz-link--inline":i.inline,"pz-link--block":!i.inline,"pz-link--disabled":i.disabled,"pz-link--bold":i.bold,"pz-link--italic":i.italic,"pz-link--line-through":i.lineThrough,"pz-link--icon-only":i.variant==="icon"&&!u.value}]),h=v=>{i.disabled&&(v.preventDefault(),v.stopPropagation())};return(v,b)=>(a.openBlock(),a.createElementBlock("a",{href:i.href,target:i.target,rel:d.value,"aria-disabled":i.disabled||void 0,tabindex:i.disabled?-1:void 0,class:a.normalizeClass(["pz-link",g.value]),onClick:h},[v.$slots.prefix?(a.openBlock(),a.createElementBlock("span",HA,[a.renderSlot(v.$slots,"prefix",{},void 0,!0)])):a.createCommentVNode("",!0),v.$slots.default?(a.openBlock(),a.createElementBlock("span",WA,[a.renderSlot(v.$slots,"default",{},void 0,!0)])):a.createCommentVNode("",!0),v.$slots.suffix?(a.openBlock(),a.createElementBlock("span",VA,[a.renderSlot(v.$slots,"suffix",{},void 0,!0)])):a.createCommentVNode("",!0)],10,FA))}}),rf=se(UA,[["__scopeId","data-v-568cb8cc"]]),GA="close",qA={id:"default",title:"",size:"regular",closeOnOverlay:!0,closeOnEscape:!0,showCloseButton:!0,closeLabel:"Close modal"},KA=["aria-labelledby","aria-describedby"],jA=["id"],ZA=["aria-label"],YA=["id"],XA={key:1,class:"pz-modal-footer"},JA=a.defineComponent({name:"PzModal",__name:"PzModal",props:a.mergeDefaults({id:{},isOpen:{type:Boolean},title:{},size:{},closeOnOverlay:{type:Boolean},closeOnEscape:{type:Boolean},showCloseButton:{type:Boolean},closeLabel:{}},qA),setup(n,{emit:o}){const i=a.useSlots(),u=n,d=o,g=a.computed(()=>`pz-modal-title-${u.id}`),h=a.computed(()=>`pz-modal-description-${u.id}`),v=a.computed(()=>!!(u.title||i.header)),b=a.computed(()=>v.value||u.showCloseButton),w=a.computed(()=>[`pz-modal-dialog--${u.size}`]);let A="";const B=L=>{if(!(typeof document>"u")){if(L){A=document.body.style.overflow,document.body.style.overflow="hidden";return}document.body.style.overflow=A}},E=()=>{d(GA)},k=()=>{u.closeOnOverlay&&E()},z=()=>{u.closeOnEscape&&E()};return a.watch(()=>u.isOpen,L=>{B(L)},{immediate:!0}),a.onBeforeUnmount(()=>{B(!1)}),(L,P)=>(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[u.isOpen?(a.openBlock(),a.createElementBlock("div",{key:0,class:"pz-modal",onKeydown:a.withKeys(z,["esc"])},[a.createElementVNode("div",{class:"pz-modal-overlay",onClick:k},[a.createElementVNode("div",{ref:"dialogRef",class:a.normalizeClass(["pz-modal-dialog",w.value]),role:"dialog","aria-modal":!0,"aria-labelledby":g.value,"aria-describedby":h.value,onClick:P[0]||(P[0]=a.withModifiers(()=>{},["stop"]))},[b.value?(a.openBlock(),a.createElementBlock("header",{key:0,class:a.normalizeClass(["pz-modal-header",{"pz-modal-header--between":v.value}])},[v.value?(a.openBlock(),a.createElementBlock("div",{key:0,id:g.value,class:"pz-modal-title"},[a.renderSlot(L.$slots,"header",{},()=>[u.title?(a.openBlock(),a.createBlock(a.unref(Ma),{key:0,variant:"h4-bold",as:"h2"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(u.title),1)]),_:1})):a.createCommentVNode("",!0)],!0)],8,jA)):a.createCommentVNode("",!0),u.showCloseButton?(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",class:"pz-modal-close","aria-label":u.closeLabel,onClick:E},[a.createVNode(a.unref(sn),{name:"close",size:"24",label:"Close modal"})],8,ZA)):a.createCommentVNode("",!0)],2)):a.createCommentVNode("",!0),a.createElementVNode("div",{id:h.value,class:"pz-modal-body"},[a.renderSlot(L.$slots,"default",{},void 0,!0)],8,YA),L.$slots.footer?(a.openBlock(),a.createElementBlock("footer",XA,[a.renderSlot(L.$slots,"footer",{},void 0,!0)])):a.createCommentVNode("",!0)],10,KA)])],32)):a.createCommentVNode("",!0)]))}}),QA=se(JA,[["__scopeId","data-v-8dc1c00e"]]),ez={class:"pz-nav"},tz=a.defineComponent({name:"PzNav",__name:"PzNav",props:{config:{}},setup(n){const o=Sn.useRoute(),i=n,u=v=>{const[b=""]=v.split("#");return b?b.startsWith("/")?b:`/${b}`:"/"},d=v=>v.startsWith("#")?v:u(v),g=a.computed(()=>!i.config.some(v=>u(v.path)===o.path)),h=v=>u(v.path)===o.path||g.value&&!!v.isDefault;return(v,b)=>(a.openBlock(),a.createElementBlock("ul",ez,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(i.config,(w,A)=>(a.openBlock(),a.createElementBlock("li",{key:`${w.path}-${A}`,class:a.normalizeClass(["pz-nav__item",[{disabled:w.disabled},{active:h(w)}]])},[w.disabled?(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass(["pz-nav__text",{active:h(w)}])},[a.renderSlot(v.$slots,"view",{data:w},()=>[a.createTextVNode(a.toDisplayString(w.text),1)],!0)],2)):(a.openBlock(),a.createBlock(a.unref(Sn.RouterLink),{key:0,to:d(w.path),class:a.normalizeClass(["pz-nav__text",{active:h(w)}])},{default:a.withCtx(()=>[a.renderSlot(v.$slots,"view",{data:w},()=>[a.createTextVNode(a.toDisplayString(w.text),1)],!0)]),_:2},1032,["to","class"]))],2))),128))]))}}),nz=se(tz,[["__scopeId","data-v-23082985"]]),rz={class:"pz-pagination","aria-label":"Pagination"},iz={class:"pz-pagination__list"},oz=["disabled"],az={key:0,class:"pz-pagination__dots","aria-hidden":"true"},sz=["aria-current","onClick"],lz=["disabled"],ra=1,uz=a.defineComponent({name:"PzPagination",__name:"PzPagination",props:{modelValue:{},total:{},perPage:{},radius:{default:2}},emits:["update:modelValue"],setup(n,{emit:o}){const i=n,u=o,d=a.computed(()=>Math.ceil(i.total/i.perPage)),g=a.computed(()=>i.modelValue<=1),h=a.computed(()=>i.modelValue>=d.value),v=a.computed(()=>{const B=d.value;if(B<=0)return[];if(B===1)return[{type:"page",page:ra}];const E=i.modelValue,k=i.radius,z=ra+1,L=B-1,P=Math.max(z,E-k),I=Math.min(L,E+k),N=[{type:"page",page:ra}];P>z&&N.push({type:"dots",side:"left"});for(let K=P;K<=I;K++)N.push({type:"page",page:K});return I<L&&N.push({type:"dots",side:"right"}),N.push({type:"page",page:B}),N}),b=B=>{B!==i.modelValue&&u("update:modelValue",B)},w=()=>{g.value||u("update:modelValue",i.modelValue-1)},A=()=>{h.value||u("update:modelValue",i.modelValue+1)};return(B,E)=>(a.openBlock(),a.createElementBlock("nav",rz,[a.createElementVNode("ul",iz,[a.createElementVNode("li",null,[a.createElementVNode("button",{type:"button",class:"pz-pagination__btn pz-pagination__btn--nav",disabled:g.value,"aria-label":"Попередня сторінка",onClick:w},[a.createVNode(a.unref(sn),{name:"chevron_left",size:"24"})],8,oz)]),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(v.value,k=>(a.openBlock(),a.createElementBlock("li",{key:k.type==="page"?`p-${k.page}`:`d-${k.side}`,class:"pz-pagination__item"},[k.type==="dots"?(a.openBlock(),a.createElementBlock("span",az," … ")):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",class:a.normalizeClass(["pz-pagination__btn",{"pz-pagination__btn--active":k.page===n.modelValue}]),"aria-current":k.page===n.modelValue?"page":void 0,onClick:z=>b(k.page)},a.toDisplayString(k.page),11,sz))]))),128)),a.createElementVNode("li",null,[a.createElementVNode("button",{type:"button",class:"pz-pagination__btn pz-pagination__btn--nav",disabled:h.value,"aria-label":"Наступна сторінка",onClick:A},[a.createVNode(a.unref(sn),{name:"chevron_right",size:"24"})],8,lz)])])]))}}),cz=se(uz,[["__scopeId","data-v-6295b1b5"]]),fz=a.defineComponent({name:"PzRouterLink",inheritAttrs:!1,__name:"PzRouterLink",props:{to:{},replace:{type:Boolean,default:!1},variant:{default:"primary"},target:{default:"_self"},rel:{default:void 0},disabled:{type:Boolean,default:!1},inline:{type:Boolean,default:!0},bold:{type:Boolean,default:!1},italic:{type:Boolean,default:!1},lineThrough:{type:Boolean,default:!1}},setup(n){const o=n,i=a.useAttrs(),u=(d,g)=>{o.disabled||o.target!=="_self"||g(d)};return(d,g)=>(a.openBlock(),a.createBlock(a.unref(Sn.RouterLink),{custom:"",to:o.to,replace:o.replace},{default:a.withCtx(({href:h,navigate:v})=>[a.createVNode(a.unref(rf),a.mergeProps(a.unref(i),{href:h,variant:o.variant,target:o.target,rel:o.rel,disabled:o.disabled,inline:o.inline,bold:o.bold,italic:o.italic,"line-through":o.lineThrough,onClick:b=>u(b,v)}),a.createSlots({default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:2},[d.$slots.prefix?{name:"prefix",fn:a.withCtx(()=>[a.renderSlot(d.$slots,"prefix")]),key:"0"}:void 0,d.$slots.suffix?{name:"suffix",fn:a.withCtx(()=>[a.renderSlot(d.$slots,"suffix")]),key:"1"}:void 0]),1040,["href","variant","target","rel","disabled","inline","bold","italic","line-through","onClick"])]),_:3},8,["to","replace"]))}}),dz={class:"pz-search-result-item-layout-surface"},pz={class:"pz-search-result-item-layout-grid"},hz={class:"pz-search-result-item-layout-main"},gz={class:"pz-search-result-item-layout-aside"},_z=a.defineComponent({name:"PzSearchResultItemLayout",__name:"PzSearchResultItemLayout",props:{as:{default:"li"}},setup(n){const o=n;return(i,u)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.as),{class:"pz-search-result-item-layout"},{default:a.withCtx(()=>[a.createElementVNode("div",dz,[a.createElementVNode("div",pz,[a.createElementVNode("div",hz,[a.renderSlot(i.$slots,"first-col",{},void 0,!0)]),a.createElementVNode("div",gz,[a.renderSlot(i.$slots,"second-col",{},void 0,!0)])])])]),_:3}))}}),vz=se(_z,[["__scopeId","data-v-7d1503e1"]]),mz=["auction-progress","auction-waiting","auction-success"],yz={class:"pz-status__label"},wz=a.defineComponent({name:"PzStatus",__name:"PzStatus",props:{variant:{default:"progress"},as:{default:"span"}},setup(n){const o=n,i=a.computed(()=>[`pz-status--${o.variant}`,{"pz-status--gradient":mz.includes(o.variant)}]);return(u,d)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.as),{class:a.normalizeClass(["pz-status",i.value])},{default:a.withCtx(()=>[a.createElementVNode("span",yz,[a.renderSlot(u.$slots,"default",{},void 0,!0)])]),_:3},8,["class"]))}}),bz=se(wz,[["__scopeId","data-v-c3b8f015"]]),xz={key:0,class:"pz-tag-prefix"},$z={class:"pz-tag-label"},Cz={key:1,class:"pz-tag-suffix"},Tz=a.defineComponent({name:"PzTag",__name:"PzTag",props:{variant:{default:"grey"},as:{default:"span"}},setup(n){const o=n;return(i,u)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.as),{class:a.normalizeClass(["pz-tag",`pz-tag--${o.variant}`])},{default:a.withCtx(()=>[i.$slots.prefix?(a.openBlock(),a.createElementBlock("span",xz,[a.renderSlot(i.$slots,"prefix",{},void 0,!0)])):a.createCommentVNode("",!0),a.createElementVNode("span",$z,[a.renderSlot(i.$slots,"default",{},void 0,!0)]),i.$slots.suffix?(a.openBlock(),a.createElementBlock("span",Cz,[a.renderSlot(i.$slots,"suffix",{},void 0,!0)])):a.createCommentVNode("",!0)]),_:3},8,["class"]))}}),Sz=se(Tz,[["__scopeId","data-v-7a827d32"]]);var an=(n=>(n.INIT_TAB="init-tab",n.TABS_STATE="tabs-state",n.REMOVE_TAB="remove-tab",n))(an||{});const Az={class:"pz-tabs__nav"},zz=["onClick"],Bz={class:"pz-tabs__content"},Ez=a.defineComponent({name:"PzTabs",__name:"PzTabs",props:{skin:{default:""},maxWidth:{default:""}},setup(n){const o=a.reactive({tabs:[],activeTab:""}),i=n,u=a.computed(()=>i.skin?`pz-tabs--${i.skin}`:"");a.provide(an.TABS_STATE,o),a.provide(an.INIT_TAB,g=>o.tabs.push(g)),a.provide(an.REMOVE_TAB,g=>{o.tabs=o.tabs.filter(h=>h.id!==g.id),d()}),a.onMounted(()=>d());const d=()=>{var h;const[{name:g}={name:""}]=o.tabs.filter(({selected:v})=>v);o.activeTab=g||((h=o.tabs[0])==null?void 0:h.name)||""};return(g,h)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["pz-tabs",u.value]),style:a.normalizeStyle({maxWidth:n.maxWidth})},[a.createElementVNode("ul",Az,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.tabs,v=>(a.openBlock(),a.createElementBlock("li",{key:v.id,class:a.normalizeClass(["pz-tabs__item",{active:o.activeTab===v.name}]),onClick:b=>o.activeTab=v.name||""},a.toDisplayString(v.name),11,zz))),128))]),a.createElementVNode("div",Bz,[a.renderSlot(g.$slots,"default",{},void 0,!0)])],6))}}),Pz=se(Ez,[["__scopeId","data-v-f64a88aa"]]),kz={class:"pz-tab"},Oz=a.defineComponent({name:"PzTab",__name:"PzTab",props:{name:{default:"Tab"},selected:{type:Boolean,default:!1},id:{default:void 0}},setup(n){const o=n,i=a.getCurrentInstance(),u=a.ref(!1),d=a.inject(an.REMOVE_TAB,void 0),g=a.inject(an.TABS_STATE,void 0),h=a.inject(an.INIT_TAB,void 0),v={get id(){return o.id??`pz-tab-${(i==null?void 0:i.uid)??o.name}`},get name(){return o.name}};return a.watch(()=>g==null?void 0:g.activeTab,b=>{u.value=o.name===b}),a.onBeforeMount(()=>{h==null||h(v),u.value=o.selected}),a.onBeforeUnmount(()=>d==null?void 0:d(v)),(b,w)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",kz,[a.renderSlot(b.$slots,"default",{},void 0,!0)],512)),[[a.vShow,u.value]])}}),Lz=se(Oz,[["__scopeId","data-v-2cffa4a1"]]);var ia=null;function Iz(n){return ia||(ia=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(o){return setTimeout(o,16)}).bind(window)),ia(n)}var oa=null;function Rz(n){oa||(oa=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(o){clearTimeout(o)}).bind(window)),oa(n)}function Nz(n){var o=document.createElement("style");return o.styleSheet?o.styleSheet.cssText=n:o.appendChild(document.createTextNode(n)),(document.querySelector("head")||document.body).appendChild(o),o}function ai(n,o){o===void 0&&(o={});var i=document.createElement(n);return Object.keys(o).forEach(function(u){i[u]=o[u]}),i}function of(n,o,i){var u=window.getComputedStyle(n,null)||{display:"none"};return u[o]}function wa(n){if(!document.documentElement.contains(n))return{detached:!0,rendered:!1};for(var o=n;o!==document;){if(of(o,"display")==="none")return{detached:!1,rendered:!1};o=o.parentNode}return{detached:!1,rendered:!0}}var Dz='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',ba=0,ui=null;function Mz(n,o){n.__resize_mutation_handler__||(n.__resize_mutation_handler__=Wz.bind(n));var i=n.__resize_listeners__;if(!i){if(n.__resize_listeners__=[],window.ResizeObserver){var u=n.offsetWidth,d=n.offsetHeight,g=new ResizeObserver(function(){!n.__resize_observer_triggered__&&(n.__resize_observer_triggered__=!0,n.offsetWidth===u&&n.offsetHeight===d)||mi(n)}),h=wa(n),v=h.detached,b=h.rendered;n.__resize_observer_triggered__=v===!1&&b===!1,n.__resize_observer__=g,g.observe(n)}else if(n.attachEvent&&n.addEventListener)n.__resize_legacy_resize_handler__=function(){mi(n)},n.attachEvent("onresize",n.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",n.__resize_mutation_handler__);else if(ba||(ui=Nz(Dz)),Vz(n),n.__resize_rendered__=wa(n).rendered,window.MutationObserver){var w=new MutationObserver(n.__resize_mutation_handler__);w.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),n.__resize_mutation_observer__=w}}n.__resize_listeners__.push(o),ba++}function Fz(n,o){var i=n.__resize_listeners__;if(i){if(o&&i.splice(i.indexOf(o),1),!i.length||!o){if(n.detachEvent&&n.removeEventListener){n.detachEvent("onresize",n.__resize_legacy_resize_handler__),document.removeEventListener("DOMSubtreeModified",n.__resize_mutation_handler__);return}n.__resize_observer__?(n.__resize_observer__.unobserve(n),n.__resize_observer__.disconnect(),n.__resize_observer__=null):(n.__resize_mutation_observer__&&(n.__resize_mutation_observer__.disconnect(),n.__resize_mutation_observer__=null),n.removeEventListener("scroll",Fa),n.removeChild(n.__resize_triggers__.triggers),n.__resize_triggers__=null),n.__resize_listeners__=null}!--ba&&ui&&ui.parentNode.removeChild(ui)}}function Hz(n){var o=n.__resize_last__,i=o.width,u=o.height,d=n.offsetWidth,g=n.offsetHeight;return d!==i||g!==u?{width:d,height:g}:null}function Wz(){var n=wa(this),o=n.rendered,i=n.detached;o!==this.__resize_rendered__&&(!i&&this.__resize_triggers__&&(Ha(this),this.addEventListener("scroll",Fa,!0)),this.__resize_rendered__=o,mi(this))}function Fa(){var n=this;Ha(this),this.__resize_raf__&&Rz(this.__resize_raf__),this.__resize_raf__=Iz(function(){var o=Hz(n);o&&(n.__resize_last__=o,mi(n))})}function mi(n){!n||!n.__resize_listeners__||n.__resize_listeners__.forEach(function(o){o.call(n,n)})}function Vz(n){var o=of(n,"position");(!o||o==="static")&&(n.style.position="relative"),n.__resize_old_position__=o,n.__resize_last__={};var i=ai("div",{className:"resize-triggers"}),u=ai("div",{className:"resize-expand-trigger"}),d=ai("div"),g=ai("div",{className:"resize-contract-trigger"});u.appendChild(d),i.appendChild(u),i.appendChild(g),n.appendChild(i),n.__resize_triggers__={triggers:i,expand:u,expandChild:d,contract:g},Ha(n),n.addEventListener("scroll",Fa,!0),n.__resize_last__={width:n.offsetWidth,height:n.offsetHeight}}function Ha(n){var o=n.__resize_triggers__,i=o.expand,u=o.expandChild,d=o.contract,g=d.scrollWidth,h=d.scrollHeight,v=i.offsetWidth,b=i.offsetHeight,w=i.scrollWidth,A=i.scrollHeight;d.scrollLeft=g,d.scrollTop=h,u.style.width=v+1+"px",u.style.height=b+1+"px",i.scrollLeft=w,i.scrollTop=A}const Uz=["aria-label"];var af=a.defineComponent({__name:"text-clamp",props:{text:{type:String,required:!0},maxHeight:{type:[String,Number],required:!1},maxLines:{type:Number,required:!1},expanded:{type:Boolean,required:!1,default:!1},location:{type:String,required:!1,default:"end"},ellipsis:{type:String,required:!1,default:"…"},autoResize:{type:Boolean,required:!1,default:!1}},emits:["clamp-change","update:expanded"],setup(n,{emit:o}){const i=n,u=a.ref(null),d=a.ref(null),g=a.ref(null),h=a.reactive({offset:0,localExpanded:!!i.expanded,unregisterResizeCallback:null}),v=a.computed(()=>{if(!h.localExpanded&&i.maxHeight)return typeof(i==null?void 0:i.maxHeight)=="number"?`${i==null?void 0:i.maxHeight}px`:i==null?void 0:i.maxHeight}),b=()=>{g.value&&(g.value.textContent=le.value)},w=()=>{h.localExpanded||(b(),(E()||G.value)&&z())},A=()=>{i.text&&(h.offset=i.text.length,B(),i.autoResize&&u.value&&(Mz(u.value,w),h.unregisterResizeCallback=()=>{u.value&&Fz(u.value,w)}),w())},B=()=>{var M;(M=h.unregisterResizeCallback)==null||M.call(h)},E=()=>!(!i.maxLines&&!i.maxHeight)&&!!u.value&&(!!(i.maxLines&&k()>i.maxLines)||!!(i.maxHeight&&u.value.scrollHeight>u.value.offsetHeight)),k=()=>d.value?Object.keys(Array.prototype.slice.call(d.value.getClientRects()).reduce((M,{top:he,bottom:we})=>{const be=`${he}/${we}`;return M[be]||(M[be]=!0),M},{})).length:0,z=(...M)=>{const[he=0,we=h.offset]=M;if(we-he<=3)return void P();const be=Math.floor((we+he)/2);L(be),E()?z(he,be):z(be,we)},L=M=>{h.offset=M,b()},P=()=>{I(),N()},I=()=>{for(;(!E()||k()<2)&&h.offset<i.text.length;)K(1)},N=()=>{for(;E()&&k()>1&&h.offset>0;)K(-1)},K=M=>{L(h.offset+M)},G=a.computed(()=>!!i.text&&h.offset!==i.text.length);a.watch(()=>G.value,M=>{setTimeout(()=>{o("clamp-change",M)},0)},{immediate:!0});const le=a.computed(()=>G.value?ee.value:i.text),ee=a.computed(()=>{if(i.location==="start")return i.ellipsis+(i.text.slice(-h.offset)||"").trim();if(i.location==="middle"){const M=Math.floor(h.offset/2);return(i.text.slice(0,M)||"").trim()+i.ellipsis+(i.text.slice(-M)||"").trim()}return(i.text.slice(0,h.offset)||"").trim()+i.ellipsis}),de=()=>{h.localExpanded=!0},pe=()=>{h.localExpanded=!1},_e=()=>{h.localExpanded=!h.localExpanded};return a.watch(()=>i.expanded,M=>{h.localExpanded=M}),a.watch(()=>h.localExpanded,M=>{M?L(i.text.length):w(),i.expanded!==M&&o("update:expanded",M)}),a.watch(()=>[i.maxLines,i.maxHeight,i.ellipsis,i.location,G.value].join(),()=>{a.nextTick(()=>{w()})}),a.watch(()=>[i.text,i.autoResize].join(),()=>{a.nextTick(()=>{A()})}),a.onUnmounted(()=>{B()}),a.onMounted(()=>{A()}),(M,he)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"textClampRef",ref:u,class:"text-clamp",style:a.normalizeStyle({overflow:"hidden",maxHeight:a.unref(v)})},[a.createElementVNode("span",{ref_key:"contentRef",ref:d},[a.renderSlot(M.$slots,"before",{expand:de,collapse:pe,toggle:_e,clamped:a.unref(G),expanded:h.localExpanded}),a.createElementVNode("span",{ref_key:"textRef",ref:g,"aria-label":n.text},null,8,Uz),a.renderSlot(M.$slots,"after",{expand:de,collapse:pe,toggle:_e,clamped:a.unref(G),expanded:h.localExpanded})],512)],4))}});af.__file="package/text-clamp.vue";const Gz=n=>(n.install=function(o){o.component(n.__name,n)},n),qz=Gz(af),Kz=3,jz="... ",Zz=["aria-expanded","onClick"],Yz=a.defineComponent({name:"PzTextClamp",__name:"PzTextClamp",props:{text:{},maxContentLines:{default:Kz},clampPostfix:{default:jz},btnClass:{default:""},autoResize:{type:Boolean,default:!0},expanded:{type:Boolean,default:!1},expandLabel:{default:"Show more"},collapseLabel:{default:"Collapse"}},emits:["update:expanded","clamp-change"],setup(n,{emit:o}){const i=n,u=o,d=h=>{u("update:expanded",h)},g=h=>{u("clamp-change",h)};return(h,v)=>(a.openBlock(),a.createBlock(a.unref(qz),{text:i.text,"max-lines":i.maxContentLines,ellipsis:i.clampPostfix,expanded:i.expanded,"auto-resize":i.autoResize,class:"pz-text-clamp","onUpdate:expanded":d,onClampChange:g},{after:a.withCtx(({toggle:b,expanded:w,clamped:A})=>[a.renderSlot(h.$slots,"toggle",{toggle:b,expanded:w,clamped:A},()=>[A||w?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:a.normalizeClass(["pz-text-clamp__toggle",i.btnClass]),"aria-expanded":w,onClick:a.withModifiers(b,["stop"])},a.toDisplayString(w?i.collapseLabel:i.expandLabel),11,Zz)):a.createCommentVNode("",!0)],!0)]),_:3},8,["text","max-lines","ellipsis","expanded","auto-resize"]))}}),Xz=se(Yz,[["__scopeId","data-v-17225f94"]]),Jz=2e3,Qz="pz-scroll-to-highlight",eB="smooth",aa=n=>typeof n=="number"?{offsetTop:n}:n??{},dc=n=>{if(typeof window>"u"||typeof document>"u")return null;if(typeof n=="number")return n;const o=typeof n=="string"?document.querySelector(n):n instanceof HTMLElement?n:null;return o?window.scrollY+o.getBoundingClientRect().top:null},pc=(n,o)=>{if(!n||typeof window>"u")return;const i=o.highlightClassName??Qz,u=o.highlightDuration??Jz;i&&(n.classList.add(i),window.setTimeout(()=>{n.classList.remove(i)},u))};class on{static moveById(o,i){if(typeof document>"u")return!1;const u=document.getElementById(o);if(!u)return!1;const d=on.moveToElement(u,i);return d&&pc(u,aa(i)),d}static moveToTop(o){return on.moveTo(0,o)}static moveTo(o,i){if(typeof window>"u")return!1;const u=aa(i);return window.scrollTo({top:Math.max(o-(u.offsetTop??0),0),left:0,behavior:u.behavior??eB}),!0}static moveByQuerySelector(o,i){if(typeof document>"u")return!1;const u=document.querySelector(o);if(!u)return!1;const d=on.moveToElement(u,i);return d&&pc(u,aa(i)),d}static moveToElement(o,i){const u=dc(o);return u===null?!1:on.moveTo(u,i)}static move(o,i){const u=dc(o);return u===null?!1:on.moveTo(u,i)}}class yi{static validQuery(o){const i={};return Object.keys(o).forEach(u=>{const d=o[u];Array.isArray(d)?i[u]=d.map(g=>yi.validString(g)):i[u]=yi.validString(d)}),i}static validString(o){return o==null?"":String(o).replace(/<[^>]*>/gim,"").trim()}}const tB=["rgba(0, 0, 0, 0)","transparent","initial","inherit","revert","revert-layer","unset"];class Wa{static async copyToClipboard(o){if(navigator.clipboard)try{await navigator.clipboard.writeText(o);return}catch{}const i=document.createElement("textarea");i.value=o,i.setAttribute("readonly",""),i.style.position="absolute",i.style.left="-9999px",document.body.appendChild(i),i.select(),document.execCommand("copy"),document.body.removeChild(i)}static getParentNearestBackground(o){if(!o||typeof window>"u")return"#fff";const i=window.getComputedStyle(o).backgroundColor;return tB.includes(i)?Wa.getParentNearestBackground(o.parentElement):i}}exports.PzAccordion=uy;exports.PzAccordionTable=dA;exports.PzArrayClamp=Xm;exports.PzBreadcrumb=CA;exports.PzBtn=mA;exports.PzDomHandler=Wa;exports.PzDropdown=DA;exports.PzGrid=TA;exports.PzGridItem=SA;exports.PzHint=tf;exports.PzIcon=sn;exports.PzImage=RA;exports.PzInfoBlockLayout=OA;exports.PzInfoHint=Da;exports.PzLink=rf;exports.PzModal=QA;exports.PzNav=nz;exports.PzPagination=cz;exports.PzRouterLink=fz;exports.PzScrollTo=on;exports.PzSearchResultItemLayout=vz;exports.PzSkeleton=hc;exports.PzStatus=bz;exports.PzTab=Lz;exports.PzTable=QS;exports.PzTabs=Pz;exports.PzTag=Sz;exports.PzText=Ma;exports.PzTextClamp=Xz;exports.PzValidatorXSS=yi;
|