prlg-ui 1.8.322 → 1.8.324
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/FileIcon-BE4ItwkK.cjs +1 -0
- package/dist/{FileIcon-D68SKu3j.js → FileIcon-maHE2Nhr.js} +64 -23
- package/dist/Image-Bw1o6pOr.cjs +1 -0
- package/dist/Image-tPMTZw8q.js +195 -0
- package/dist/QuestionIcon-6GiQdzqJ.cjs +1 -0
- package/dist/{QuestionIcon-Co6o-S7o.js → QuestionIcon-C4O35j-7.js} +1 -1
- package/dist/SendIcon-CH6S0QWh.cjs +1 -0
- package/dist/{SendIcon-MVeP0ZnP.js → SendIcon-Cqdt2QWN.js} +1 -1
- package/dist/StarIcon-DNs-9ufZ.cjs +1 -0
- package/dist/{StarIcon-ClDmw28r.js → StarIcon-LrRNM_ak.js} +1 -1
- package/dist/WarningFillIcon-BNEZgAf-.cjs +1 -0
- package/dist/{WarningFillIcon-DiIFVYf6.js → WarningFillIcon-CEGT-_cr.js} +1 -1
- package/dist/blocks/index.cjs.js +1 -1
- package/dist/blocks/index.es.js +4 -4
- package/dist/icons/index.cjs.js +1 -1
- package/dist/icons/index.es.js +38 -39
- package/dist/{index-Bart793F.cjs → index-Dp7bcaNg.cjs} +1 -1
- package/dist/{index-NJFcTcwk.js → index-DpwRE3qr.js} +1 -1
- package/dist/prlg-ui.cjs.js +1 -1
- package/dist/prlg-ui.css +1 -1
- package/dist/prlg-ui.es.js +6 -6
- package/dist/reka-ui/index.cjs.js +5 -5
- package/dist/reka-ui/index.es.js +2487 -2411
- package/dist/rekaUI.d.ts +36 -13
- package/dist/typeFile.util-CwOoIMBz.cjs +1 -0
- package/dist/{useOverlay-CkT4RNfY.js → typeFile.util-DerifWNY.js} +21 -17
- package/package.json +1 -1
- package/dist/EyeIcon-CJg2W9QQ.cjs +0 -1
- package/dist/EyeIcon-D6SZWKKH.js +0 -46
- package/dist/FileIcon-Dt-TWf3B.cjs +0 -1
- package/dist/Image-bZf6ZaIG.js +0 -200
- package/dist/Image-kzSjYHy-.cjs +0 -1
- package/dist/QuestionIcon-DhpAg23l.cjs +0 -1
- package/dist/SendIcon-Hp7buqZM.cjs +0 -1
- package/dist/StarIcon-dnnmVyG-.cjs +0 -1
- package/dist/WarningFillIcon-DC2QP6Gx.cjs +0 -1
- package/dist/useOverlay-DDiMe8yV.cjs +0 -1
package/dist/icons/index.es.js
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { B as p4, I as a4, P as f4, S as w4 } from "../SendIcon-
|
|
1
|
+
import { B as p4, I as a4, P as f4, S as w4 } from "../SendIcon-Cqdt2QWN.js";
|
|
2
2
|
import { createElementBlock as n, openBlock as o, createStaticVNode as e, createElementVNode as t } from "vue";
|
|
3
|
-
import { _ as r } from "../
|
|
4
|
-
import { C as L4, E as H4 } from "../
|
|
5
|
-
import {
|
|
6
|
-
import { A as
|
|
7
|
-
import {
|
|
8
|
-
import { C as J4, a as K4, E as X4, S as Y4, b as C7 } from "../StarIcon-ClDmw28r.js";
|
|
3
|
+
import { _ as r } from "../FileIcon-maHE2Nhr.js";
|
|
4
|
+
import { C as L4, E as H4, a as g4, F as V4, P as M4, W as Z4 } from "../FileIcon-maHE2Nhr.js";
|
|
5
|
+
import { A as v4, a as $4, b as m4, C as I4, c as B4, E as k4, I as E4, W as y4 } from "../WarningFillIcon-CEGT-_cr.js";
|
|
6
|
+
import { A as S4, a as G4, B as P4, C as F4, b as A4, c as D4, E as O4, I as j4, M as b4, P as R4, Q as T4, d as W4, S as q4, W as N4 } from "../QuestionIcon-C4O35j-7.js";
|
|
7
|
+
import { C as z4, a as J4, E as K4, S as X4, b as Y4 } from "../StarIcon-LrRNM_ak.js";
|
|
9
8
|
const i = {}, s = {
|
|
10
9
|
width: "18",
|
|
11
10
|
height: "18",
|
|
@@ -1689,17 +1688,17 @@ function V2(l, C) {
|
|
|
1689
1688
|
}
|
|
1690
1689
|
const d4 = /* @__PURE__ */ r(H2, [["render", V2]]);
|
|
1691
1690
|
export {
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1691
|
+
v4 as AngleBottomIcon,
|
|
1692
|
+
$4 as AngleDoubleLeftIcon,
|
|
1693
|
+
m4 as AngleDoubleRightIcon,
|
|
1694
|
+
S4 as AngleLeftIcon,
|
|
1695
|
+
G4 as AngleRightIcon,
|
|
1697
1696
|
U2 as AngleTopIcon,
|
|
1698
1697
|
S2 as ArrowRightTopIcon,
|
|
1699
1698
|
G2 as AtIcon,
|
|
1700
1699
|
P2 as AvatarIcon,
|
|
1701
1700
|
F2 as BagIcon,
|
|
1702
|
-
|
|
1701
|
+
P4 as BanIcon,
|
|
1703
1702
|
A2 as BankIcon,
|
|
1704
1703
|
D2 as BarsIcon,
|
|
1705
1704
|
O2 as BellIcon,
|
|
@@ -1708,7 +1707,7 @@ export {
|
|
|
1708
1707
|
b2 as BoxIcon,
|
|
1709
1708
|
j2 as BriefcaseIcon,
|
|
1710
1709
|
T2 as BuildingIcon,
|
|
1711
|
-
|
|
1710
|
+
I4 as CalendarIcon,
|
|
1712
1711
|
J2 as CameraIcon,
|
|
1713
1712
|
W2 as CarIcon,
|
|
1714
1713
|
q2 as CarSearchIcon,
|
|
@@ -1717,17 +1716,17 @@ export {
|
|
|
1717
1716
|
x2 as CashbackIcon,
|
|
1718
1717
|
z2 as CatalogToIcon,
|
|
1719
1718
|
v2 as CertificateIcon,
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1719
|
+
z4 as CevronBottomIcon,
|
|
1720
|
+
J4 as CevronLeftIcon,
|
|
1721
|
+
F4 as CevronRightIcon,
|
|
1723
1722
|
K2 as CevronTopIcon,
|
|
1724
|
-
|
|
1725
|
-
|
|
1723
|
+
B4 as CheckFilledIcon,
|
|
1724
|
+
A4 as CheckIcon,
|
|
1726
1725
|
X2 as CheckRoundedIcon,
|
|
1727
1726
|
Y2 as ClockIcon,
|
|
1728
1727
|
C8 as ClockPayIcon,
|
|
1729
1728
|
L4 as CloseIcon,
|
|
1730
|
-
|
|
1729
|
+
D4 as CloseRoundedIcon,
|
|
1731
1730
|
t8 as CogIcon,
|
|
1732
1731
|
o8 as CommentIcon,
|
|
1733
1732
|
r8 as CommentsIcon,
|
|
@@ -1738,15 +1737,15 @@ export {
|
|
|
1738
1737
|
s8 as DeliveryTimeIcon,
|
|
1739
1738
|
k2 as DiscountIcon,
|
|
1740
1739
|
c8 as DownloadIcon,
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1740
|
+
k4 as ErrorFillIcon,
|
|
1741
|
+
K4 as ErrorIcon,
|
|
1742
|
+
H4 as ExcelIcon,
|
|
1743
|
+
O4 as EyeCloseIcon,
|
|
1744
|
+
g4 as EyeIcon,
|
|
1746
1745
|
m2 as FaviconIcon,
|
|
1747
1746
|
h8 as FileEditIcon,
|
|
1748
1747
|
d8 as FileExport,
|
|
1749
|
-
|
|
1748
|
+
V4 as FileIcon,
|
|
1750
1749
|
_8 as FileUploadIcon,
|
|
1751
1750
|
a8 as FilterFillIcon,
|
|
1752
1751
|
p8 as FilterIcon,
|
|
@@ -1759,8 +1758,8 @@ export {
|
|
|
1759
1758
|
H8 as HeartOutlinedIcon,
|
|
1760
1759
|
V8 as HomeIcon,
|
|
1761
1760
|
a4 as ImageIcon,
|
|
1762
|
-
|
|
1763
|
-
|
|
1761
|
+
j4 as InfoFillIcon,
|
|
1762
|
+
E4 as InfoIcon,
|
|
1764
1763
|
M8 as LikeIcon,
|
|
1765
1764
|
Z8 as ListIcon,
|
|
1766
1765
|
v8 as LocationIcon,
|
|
@@ -1770,17 +1769,17 @@ export {
|
|
|
1770
1769
|
I8 as MapPointFilledIcon,
|
|
1771
1770
|
m8 as MapPointIcon,
|
|
1772
1771
|
k8 as MessageIcon,
|
|
1773
|
-
|
|
1772
|
+
b4 as MinusIcon,
|
|
1774
1773
|
E8 as MoneyBillIcon,
|
|
1775
1774
|
y8 as NewIcon,
|
|
1776
1775
|
U8 as PackageIcon,
|
|
1777
|
-
|
|
1776
|
+
M4 as PdfIcon,
|
|
1778
1777
|
S8 as PencelLineIcon,
|
|
1779
|
-
|
|
1778
|
+
R4 as PlusIcon,
|
|
1780
1779
|
f4 as PlusRoundedIcon,
|
|
1781
1780
|
F8 as PrintIcon,
|
|
1782
1781
|
A8 as ProcentIcon,
|
|
1783
|
-
|
|
1782
|
+
T4 as QuestionIcon,
|
|
1784
1783
|
c4 as QuestionRoundedIcon,
|
|
1785
1784
|
D8 as ReplaceIcon,
|
|
1786
1785
|
P8 as ReplayIcon,
|
|
@@ -1796,13 +1795,13 @@ export {
|
|
|
1796
1795
|
q8 as ShieldErrorIcon,
|
|
1797
1796
|
J8 as ShopIcon,
|
|
1798
1797
|
z8 as ShoppingCartIcon,
|
|
1799
|
-
|
|
1798
|
+
W4 as SortDownFillIcon,
|
|
1800
1799
|
Q8 as SortDownIcon,
|
|
1801
|
-
|
|
1800
|
+
q4 as SortUpFillIcon,
|
|
1802
1801
|
N8 as SortUpIcon,
|
|
1803
1802
|
I2 as SpbIcon,
|
|
1804
|
-
|
|
1805
|
-
|
|
1803
|
+
X4 as StarFillIcon,
|
|
1804
|
+
Y4 as StarIcon,
|
|
1806
1805
|
K8 as SyncIcon,
|
|
1807
1806
|
t4 as TelegramIcon,
|
|
1808
1807
|
n4 as TimerIcon,
|
|
@@ -1818,7 +1817,7 @@ export {
|
|
|
1818
1817
|
s4 as WarehouseIcon,
|
|
1819
1818
|
B2 as WarehousePointIcon,
|
|
1820
1819
|
i4 as WarnRoundedIcon,
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1820
|
+
y4 as WarningFillIcon,
|
|
1821
|
+
N4 as WarningIcon,
|
|
1822
|
+
Z4 as WordIcon
|
|
1824
1823
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";const C=require("vue"),Gt=require("./EyeIcon-CJg2W9QQ.cjs"),zt={key:1,class:"button__content"},Tt=C.defineComponent({__name:"Button",props:{label:{},size:{default:"default"},variant:{default:"primary"},url:{},rounded:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},buttonStyle:{},icon:{},iconPosition:{default:"left"},iconOnly:{type:Boolean,default:!1},full:{type:Boolean}},setup(e){const n=C.computed(()=>e.variant==="link"&&e.url||e.url?C.resolveComponent("RouterLink"):"button"),t=C.computed(()=>["button",`button--${e.size}`,`button--${e.variant}`,{"button--rounded":e.rounded,[`button--${e.buttonStyle}`]:e.buttonStyle,[`button--icon-${e.iconPosition}`]:e.icon,"button--only-icon":e.iconOnly,"button--full":e.full}]);return(o,i)=>(C.openBlock(),C.createBlock(C.resolveDynamicComponent(n.value),{to:o.url,class:C.normalizeClass(t.value),disabled:o.disabled},{default:C.withCtx(()=>[o.icon?(C.openBlock(),C.createBlock(C.resolveDynamicComponent(o.icon),{key:0,class:"button__icon"})):C.createCommentVNode("",!0),o.iconOnly?C.createCommentVNode("",!0):(C.openBlock(),C.createElementBlock("div",zt,[C.renderSlot(o.$slots,"default",{},void 0,!0),o.label&&!o.$slots.default?(C.openBlock(),C.createElementBlock(C.Fragment,{key:0},[C.createTextVNode(C.toDisplayString(o.label),1)],64)):C.createCommentVNode("",!0)]))]),_:3},8,["to","class","disabled"]))}}),Bt=Gt._export_sfc(Tt,[["__scopeId","data-v-60e7e104"]]),kt=["top","right","bottom","left"],Z=Math.min,I=Math.max,ve=Math.round,me=Math.floor,b=e=>({x:e,y:e}),Nt={left:"right",right:"left",bottom:"top",top:"bottom"},bt={start:"end",end:"start"};function Ge(e,n,t){return I(e,Z(n,t))}function X(e,n){return typeof e=="function"?e(n):e}function K(e){return e.split("-")[0]}function ue(e){return e.split("-")[1]}function We(e){return e==="x"?"y":"x"}function Ue(e){return e==="y"?"height":"width"}const qt=new Set(["top","bottom"]);function N(e){return qt.has(K(e))?"y":"x"}function Xe(e){return We(N(e))}function jt(e,n,t){t===void 0&&(t=!1);const o=ue(e),i=Xe(e),r=Ue(i);let l=i==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return n.reference[r]>n.floating[r]&&(l=Re(l)),[l,Re(l)]}function Wt(e){const n=Re(e);return[ze(e),n,ze(n)]}function ze(e){return e.replace(/start|end/g,n=>bt[n])}const nt=["left","right"],ot=["right","left"],Ut=["top","bottom"],Xt=["bottom","top"];function Kt(e,n,t){switch(e){case"top":case"bottom":return t?n?ot:nt:n?nt:ot;case"left":case"right":return n?Ut:Xt;default:return[]}}function Yt(e,n,t,o){const i=ue(e);let r=Kt(K(e),t==="start",o);return i&&(r=r.map(l=>l+"-"+i),n&&(r=r.concat(r.map(ze)))),r}function Re(e){return e.replace(/left|right|bottom|top/g,n=>Nt[n])}function Jt(e){return{top:0,right:0,bottom:0,left:0,...e}}function mt(e){return typeof e!="number"?Jt(e):{top:e,right:e,bottom:e,left:e}}function xe(e){const{x:n,y:t,width:o,height:i}=e;return{width:o,height:i,top:t,left:n,right:n+o,bottom:t+i,x:n,y:t}}function it(e,n,t){let{reference:o,floating:i}=e;const r=N(n),l=Xe(n),s=Ue(l),u=K(n),g=r==="y",c=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,d=o[s]/2-i[s]/2;let a;switch(u){case"top":a={x:c,y:o.y-i.height};break;case"bottom":a={x:c,y:o.y+o.height};break;case"right":a={x:o.x+o.width,y:f};break;case"left":a={x:o.x-i.width,y:f};break;default:a={x:o.x,y:o.y}}switch(ue(n)){case"start":a[l]-=d*(t&&g?-1:1);break;case"end":a[l]+=d*(t&&g?-1:1);break}return a}const Qt=async(e,n,t)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=t,s=r.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(n));let g=await l.getElementRects({reference:e,floating:n,strategy:i}),{x:c,y:f}=it(g,o,u),d=o,a={},p=0;for(let m=0;m<s.length;m++){const{name:w,fn:h}=s[m],{x:v,y:S,data:y,reset:_}=await h({x:c,y:f,initialPlacement:o,placement:d,strategy:i,middlewareData:a,rects:g,platform:l,elements:{reference:e,floating:n}});c=v??c,f=S??f,a={...a,[w]:{...a[w],...y}},_&&p<=50&&(p++,typeof _=="object"&&(_.placement&&(d=_.placement),_.rects&&(g=_.rects===!0?await l.getElementRects({reference:e,floating:n,strategy:i}):_.rects),{x:c,y:f}=it(g,d,u)),m=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:a}};async function de(e,n){var t;n===void 0&&(n={});const{x:o,y:i,platform:r,rects:l,elements:s,strategy:u}=e,{boundary:g="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:a=0}=X(n,e),p=mt(a),w=s[d?f==="floating"?"reference":"floating":f],h=xe(await r.getClippingRect({element:(t=await(r.isElement==null?void 0:r.isElement(w)))==null||t?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(s.floating)),boundary:g,rootBoundary:c,strategy:u})),v=f==="floating"?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,S=await(r.getOffsetParent==null?void 0:r.getOffsetParent(s.floating)),y=await(r.isElement==null?void 0:r.isElement(S))?await(r.getScale==null?void 0:r.getScale(S))||{x:1,y:1}:{x:1,y:1},_=xe(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:S,strategy:u}):v);return{top:(h.top-_.top+p.top)/y.y,bottom:(_.bottom-h.bottom+p.bottom)/y.y,left:(h.left-_.left+p.left)/y.x,right:(_.right-h.right+p.right)/y.x}}const Zt=e=>({name:"arrow",options:e,async fn(n){const{x:t,y:o,placement:i,rects:r,platform:l,elements:s,middlewareData:u}=n,{element:g,padding:c=0}=X(e,n)||{};if(g==null)return{};const f=mt(c),d={x:t,y:o},a=Xe(i),p=Ue(a),m=await l.getDimensions(g),w=a==="y",h=w?"top":"left",v=w?"bottom":"right",S=w?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[a]-d[a]-r.floating[p],_=d[a]-r.reference[a],P=await(l.getOffsetParent==null?void 0:l.getOffsetParent(g));let F=P?P[S]:0;(!F||!await(l.isElement==null?void 0:l.isElement(P)))&&(F=s.floating[S]||r.floating[p]);const $=y/2-_/2,M=F/2-m[p]/2-1,E=Z(f[h],M),L=Z(f[v],M),k=E,Y=F-m[p]-L,A=F/2-m[p]/2+$,ne=Ge(k,A,Y),W=!u.arrow&&ue(i)!=null&&A!==ne&&r.reference[p]/2-(A<k?E:L)-m[p]/2<0,H=W?A<k?A-k:A-Y:0;return{[a]:d[a]+H,data:{[a]:ne,centerOffset:A-ne-H,...W&&{alignmentOffset:H}},reset:W}}}),en=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var t,o;const{placement:i,middlewareData:r,rects:l,initialPlacement:s,platform:u,elements:g}=n,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:a="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(e,n);if((t=r.arrow)!=null&&t.alignmentOffset)return{};const h=K(i),v=N(s),S=K(s)===s,y=await(u.isRTL==null?void 0:u.isRTL(g.floating)),_=d||(S||!m?[Re(s)]:Wt(s)),P=p!=="none";!d&&P&&_.push(...Yt(s,m,p,y));const F=[s,..._],$=await de(n,w),M=[];let E=((o=r.flip)==null?void 0:o.overflows)||[];if(c&&M.push($[h]),f){const A=jt(i,l,y);M.push($[A[0]],$[A[1]])}if(E=[...E,{placement:i,overflows:M}],!M.every(A=>A<=0)){var L,k;const A=(((L=r.flip)==null?void 0:L.index)||0)+1,ne=F[A];if(ne&&(!(f==="alignment"?v!==N(ne):!1)||E.every(G=>N(G.placement)===v?G.overflows[0]>0:!0)))return{data:{index:A,overflows:E},reset:{placement:ne}};let W=(k=E.filter(H=>H.overflows[0]<=0).sort((H,G)=>H.overflows[1]-G.overflows[1])[0])==null?void 0:k.placement;if(!W)switch(a){case"bestFit":{var Y;const H=(Y=E.filter(G=>{if(P){const J=N(G.placement);return J===v||J==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(J=>J>0).reduce((J,Ht)=>J+Ht,0)]).sort((G,J)=>G[1]-J[1])[0])==null?void 0:Y[0];H&&(W=H);break}case"initialPlacement":W=s;break}if(i!==W)return{reset:{placement:W}}}return{}}}};function rt(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function lt(e){return kt.some(n=>e[n]>=0)}const tn=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:t}=n,{strategy:o="referenceHidden",...i}=X(e,n);switch(o){case"referenceHidden":{const r=await de(n,{...i,elementContext:"reference"}),l=rt(r,t.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:lt(l)}}}case"escaped":{const r=await de(n,{...i,altBoundary:!0}),l=rt(r,t.floating);return{data:{escapedOffsets:l,escaped:lt(l)}}}default:return{}}}}},ht=new Set(["left","top"]);async function nn(e,n){const{placement:t,platform:o,elements:i}=e,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=K(t),s=ue(t),u=N(t)==="y",g=ht.has(l)?-1:1,c=r&&u?-1:1,f=X(n,e);let{mainAxis:d,crossAxis:a,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof p=="number"&&(a=s==="end"?p*-1:p),u?{x:a*c,y:d*g}:{x:d*g,y:a*c}}const on=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var t,o;const{x:i,y:r,placement:l,middlewareData:s}=n,u=await nn(n,e);return l===((t=s.offset)==null?void 0:t.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:i+u.x,y:r+u.y,data:{...u,placement:l}}}}},rn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:t,y:o,placement:i}=n,{mainAxis:r=!0,crossAxis:l=!1,limiter:s={fn:w=>{let{x:h,y:v}=w;return{x:h,y:v}}},...u}=X(e,n),g={x:t,y:o},c=await de(n,u),f=N(K(i)),d=We(f);let a=g[d],p=g[f];if(r){const w=d==="y"?"top":"left",h=d==="y"?"bottom":"right",v=a+c[w],S=a-c[h];a=Ge(v,a,S)}if(l){const w=f==="y"?"top":"left",h=f==="y"?"bottom":"right",v=p+c[w],S=p-c[h];p=Ge(v,p,S)}const m=s.fn({...n,[d]:a,[f]:p});return{...m,data:{x:m.x-t,y:m.y-o,enabled:{[d]:r,[f]:l}}}}}},ln=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:t,y:o,placement:i,rects:r,middlewareData:l}=n,{offset:s=0,mainAxis:u=!0,crossAxis:g=!0}=X(e,n),c={x:t,y:o},f=N(i),d=We(f);let a=c[d],p=c[f];const m=X(s,n),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const S=d==="y"?"height":"width",y=r.reference[d]-r.floating[S]+w.mainAxis,_=r.reference[d]+r.reference[S]-w.mainAxis;a<y?a=y:a>_&&(a=_)}if(g){var h,v;const S=d==="y"?"width":"height",y=ht.has(K(i)),_=r.reference[f]-r.floating[S]+(y&&((h=l.offset)==null?void 0:h[f])||0)+(y?0:w.crossAxis),P=r.reference[f]+r.reference[S]+(y?0:((v=l.offset)==null?void 0:v[f])||0)-(y?w.crossAxis:0);p<_?p=_:p>P&&(p=P)}return{[d]:a,[f]:p}}}},sn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var t,o;const{placement:i,rects:r,platform:l,elements:s}=n,{apply:u=()=>{},...g}=X(e,n),c=await de(n,g),f=K(i),d=ue(i),a=N(i)==="y",{width:p,height:m}=r.floating;let w,h;f==="top"||f==="bottom"?(w=f,h=d===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(h=f,w=d==="end"?"top":"bottom");const v=m-c.top-c.bottom,S=p-c.left-c.right,y=Z(m-c[w],v),_=Z(p-c[h],S),P=!n.middlewareData.shift;let F=y,$=_;if((t=n.middlewareData.shift)!=null&&t.enabled.x&&($=S),(o=n.middlewareData.shift)!=null&&o.enabled.y&&(F=v),P&&!d){const E=I(c.left,0),L=I(c.right,0),k=I(c.top,0),Y=I(c.bottom,0);a?$=p-2*(E!==0||L!==0?E+L:I(c.left,c.right)):F=m-2*(k!==0||Y!==0?k+Y:I(c.top,c.bottom))}await u({...n,availableWidth:$,availableHeight:F});const M=await l.getDimensions(s.floating);return p!==M.width||m!==M.height?{reset:{rects:!0}}:{}}}};function ye(){return typeof window<"u"}function ie(e){return Ke(e)?(e.nodeName||"").toLowerCase():"#document"}function D(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function j(e){var n;return(n=(Ke(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function Ke(e){return ye()?e instanceof Node||e instanceof D(e).Node:!1}function T(e){return ye()?e instanceof Element||e instanceof D(e).Element:!1}function q(e){return ye()?e instanceof HTMLElement||e instanceof D(e).HTMLElement:!1}function st(e){return!ye()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof D(e).ShadowRoot}const un=new Set(["inline","contents"]);function pe(e){const{overflow:n,overflowX:t,overflowY:o,display:i}=B(e);return/auto|scroll|overlay|hidden|clip/.test(n+o+t)&&!un.has(i)}const an=new Set(["table","td","th"]);function gn(e){return an.has(ie(e))}const cn=[":popover-open",":modal"];function _e(e){return cn.some(n=>{try{return e.matches(n)}catch{return!1}})}const dn=["transform","translate","scale","rotate","perspective"],fn=["transform","translate","scale","rotate","perspective","filter"],pn=["paint","layout","strict","content"];function Ye(e){const n=Je(),t=T(e)?B(e):e;return dn.some(o=>t[o]?t[o]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!n&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!n&&(t.filter?t.filter!=="none":!1)||fn.some(o=>(t.willChange||"").includes(o))||pn.some(o=>(t.contain||"").includes(o))}function mn(e){let n=ee(e);for(;q(n)&&!se(n);){if(Ye(n))return n;if(_e(n))return null;n=ee(n)}return null}function Je(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const hn=new Set(["html","body","#document"]);function se(e){return hn.has(ie(e))}function B(e){return D(e).getComputedStyle(e)}function Fe(e){return T(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ee(e){if(ie(e)==="html")return e;const n=e.assignedSlot||e.parentNode||st(e)&&e.host||j(e);return st(n)?n.host:n}function wt(e){const n=ee(e);return se(n)?e.ownerDocument?e.ownerDocument.body:e.body:q(n)&&pe(n)?n:wt(n)}function fe(e,n,t){var o;n===void 0&&(n=[]),t===void 0&&(t=!0);const i=wt(e),r=i===((o=e.ownerDocument)==null?void 0:o.body),l=D(i);if(r){const s=Te(l);return n.concat(l,l.visualViewport||[],pe(i)?i:[],s&&t?fe(s):[])}return n.concat(i,fe(i,[],t))}function Te(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function St(e){const n=B(e);let t=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const i=q(e),r=i?e.offsetWidth:t,l=i?e.offsetHeight:o,s=ve(t)!==r||ve(o)!==l;return s&&(t=r,o=l),{width:t,height:o,$:s}}function Qe(e){return T(e)?e:e.contextElement}function le(e){const n=Qe(e);if(!q(n))return b(1);const t=n.getBoundingClientRect(),{width:o,height:i,$:r}=St(n);let l=(r?ve(t.width):t.width)/o,s=(r?ve(t.height):t.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const wn=b(0);function Ct(e){const n=D(e);return!Je()||!n.visualViewport?wn:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Sn(e,n,t){return n===void 0&&(n=!1),!t||n&&t!==D(e)?!1:n}function oe(e,n,t,o){n===void 0&&(n=!1),t===void 0&&(t=!1);const i=e.getBoundingClientRect(),r=Qe(e);let l=b(1);n&&(o?T(o)&&(l=le(o)):l=le(e));const s=Sn(r,t,o)?Ct(r):b(0);let u=(i.left+s.x)/l.x,g=(i.top+s.y)/l.y,c=i.width/l.x,f=i.height/l.y;if(r){const d=D(r),a=o&&T(o)?D(o):o;let p=d,m=Te(p);for(;m&&o&&a!==p;){const w=le(m),h=m.getBoundingClientRect(),v=B(m),S=h.left+(m.clientLeft+parseFloat(v.paddingLeft))*w.x,y=h.top+(m.clientTop+parseFloat(v.paddingTop))*w.y;u*=w.x,g*=w.y,c*=w.x,f*=w.y,u+=S,g+=y,p=D(m),m=Te(p)}}return xe({width:c,height:f,x:u,y:g})}function $e(e,n){const t=Fe(e).scrollLeft;return n?n.left+t:oe(j(e)).left+t}function vt(e,n){const t=e.getBoundingClientRect(),o=t.left+n.scrollLeft-$e(e,t),i=t.top+n.scrollTop;return{x:o,y:i}}function Cn(e){let{elements:n,rect:t,offsetParent:o,strategy:i}=e;const r=i==="fixed",l=j(o),s=n?_e(n.floating):!1;if(o===l||s&&r)return t;let u={scrollLeft:0,scrollTop:0},g=b(1);const c=b(0),f=q(o);if((f||!f&&!r)&&((ie(o)!=="body"||pe(l))&&(u=Fe(o)),q(o))){const a=oe(o);g=le(o),c.x=a.x+o.clientLeft,c.y=a.y+o.clientTop}const d=l&&!f&&!r?vt(l,u):b(0);return{width:t.width*g.x,height:t.height*g.y,x:t.x*g.x-u.scrollLeft*g.x+c.x+d.x,y:t.y*g.y-u.scrollTop*g.y+c.y+d.y}}function vn(e){return Array.from(e.getClientRects())}function Rn(e){const n=j(e),t=Fe(e),o=e.ownerDocument.body,i=I(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),r=I(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-t.scrollLeft+$e(e);const s=-t.scrollTop;return B(o).direction==="rtl"&&(l+=I(n.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:s}}const ut=25;function xn(e,n){const t=D(e),o=j(e),i=t.visualViewport;let r=o.clientWidth,l=o.clientHeight,s=0,u=0;if(i){r=i.width,l=i.height;const c=Je();(!c||c&&n==="fixed")&&(s=i.offsetLeft,u=i.offsetTop)}const g=$e(o);if(g<=0){const c=o.ownerDocument,f=c.body,d=getComputedStyle(f),a=c.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,p=Math.abs(o.clientWidth-f.clientWidth-a);p<=ut&&(r-=p)}else g<=ut&&(r+=g);return{width:r,height:l,x:s,y:u}}const yn=new Set(["absolute","fixed"]);function _n(e,n){const t=oe(e,!0,n==="fixed"),o=t.top+e.clientTop,i=t.left+e.clientLeft,r=q(e)?le(e):b(1),l=e.clientWidth*r.x,s=e.clientHeight*r.y,u=i*r.x,g=o*r.y;return{width:l,height:s,x:u,y:g}}function at(e,n,t){let o;if(n==="viewport")o=xn(e,t);else if(n==="document")o=Rn(j(e));else if(T(n))o=_n(n,t);else{const i=Ct(e);o={x:n.x-i.x,y:n.y-i.y,width:n.width,height:n.height}}return xe(o)}function Rt(e,n){const t=ee(e);return t===n||!T(t)||se(t)?!1:B(t).position==="fixed"||Rt(t,n)}function Fn(e,n){const t=n.get(e);if(t)return t;let o=fe(e,[],!1).filter(s=>T(s)&&ie(s)!=="body"),i=null;const r=B(e).position==="fixed";let l=r?ee(e):e;for(;T(l)&&!se(l);){const s=B(l),u=Ye(l);!u&&s.position==="fixed"&&(i=null),(r?!u&&!i:!u&&s.position==="static"&&!!i&&yn.has(i.position)||pe(l)&&!u&&Rt(e,l))?o=o.filter(c=>c!==l):i=s,l=ee(l)}return n.set(e,o),o}function $n(e){let{element:n,boundary:t,rootBoundary:o,strategy:i}=e;const l=[...t==="clippingAncestors"?_e(n)?[]:Fn(n,this._c):[].concat(t),o],s=l[0],u=l.reduce((g,c)=>{const f=at(n,c,i);return g.top=I(f.top,g.top),g.right=Z(f.right,g.right),g.bottom=Z(f.bottom,g.bottom),g.left=I(f.left,g.left),g},at(n,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Pn(e){const{width:n,height:t}=St(e);return{width:n,height:t}}function Vn(e,n,t){const o=q(n),i=j(n),r=t==="fixed",l=oe(e,!0,r,n);let s={scrollLeft:0,scrollTop:0};const u=b(0);function g(){u.x=$e(i)}if(o||!o&&!r)if((ie(n)!=="body"||pe(i))&&(s=Fe(n)),o){const a=oe(n,!0,r,n);u.x=a.x+n.clientLeft,u.y=a.y+n.clientTop}else i&&g();r&&!o&&i&&g();const c=i&&!o&&!r?vt(i,s):b(0),f=l.left+s.scrollLeft-u.x-c.x,d=l.top+s.scrollTop-u.y-c.y;return{x:f,y:d,width:l.width,height:l.height}}function Ve(e){return B(e).position==="static"}function gt(e,n){if(!q(e)||B(e).position==="fixed")return null;if(n)return n(e);let t=e.offsetParent;return j(e)===t&&(t=t.ownerDocument.body),t}function xt(e,n){const t=D(e);if(_e(e))return t;if(!q(e)){let i=ee(e);for(;i&&!se(i);){if(T(i)&&!Ve(i))return i;i=ee(i)}return t}let o=gt(e,n);for(;o&&gn(o)&&Ve(o);)o=gt(o,n);return o&&se(o)&&Ve(o)&&!Ye(o)?t:o||mn(e)||t}const Mn=async function(e){const n=this.getOffsetParent||xt,t=this.getDimensions,o=await t(e.floating);return{reference:Vn(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function An(e){return B(e).direction==="rtl"}const En={convertOffsetParentRelativeRectToViewportRelativeRect:Cn,getDocumentElement:j,getClippingRect:$n,getOffsetParent:xt,getElementRects:Mn,getClientRects:vn,getDimensions:Pn,getScale:le,isElement:T,isRTL:An};function yt(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function In(e,n){let t=null,o;const i=j(e);function r(){var s;clearTimeout(o),(s=t)==null||s.disconnect(),t=null}function l(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),r();const g=e.getBoundingClientRect(),{left:c,top:f,width:d,height:a}=g;if(s||n(),!d||!a)return;const p=me(f),m=me(i.clientWidth-(c+d)),w=me(i.clientHeight-(f+a)),h=me(c),S={rootMargin:-p+"px "+-m+"px "+-w+"px "+-h+"px",threshold:I(0,Z(1,u))||1};let y=!0;function _(P){const F=P[0].intersectionRatio;if(F!==u){if(!y)return l();F?l(!1,F):o=setTimeout(()=>{l(!1,1e-7)},1e3)}F===1&&!yt(g,e.getBoundingClientRect())&&l(),y=!1}try{t=new IntersectionObserver(_,{...S,root:i.ownerDocument})}catch{t=new IntersectionObserver(_,S)}t.observe(e)}return l(!0),r}function Dn(e,n,t,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,g=Qe(e),c=i||r?[...g?fe(g):[],...fe(n)]:[];c.forEach(h=>{i&&h.addEventListener("scroll",t,{passive:!0}),r&&h.addEventListener("resize",t)});const f=g&&s?In(g,t):null;let d=-1,a=null;l&&(a=new ResizeObserver(h=>{let[v]=h;v&&v.target===g&&a&&(a.unobserve(n),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var S;(S=a)==null||S.observe(n)})),t()}),g&&!u&&a.observe(g),a.observe(n));let p,m=u?oe(e):null;u&&w();function w(){const h=oe(e);m&&!yt(m,h)&&t(),m=h,p=requestAnimationFrame(w)}return t(),()=>{var h;c.forEach(v=>{i&&v.removeEventListener("scroll",t),r&&v.removeEventListener("resize",t)}),f?.(),(h=a)==null||h.disconnect(),a=null,u&&cancelAnimationFrame(p)}}const On=on,Ln=rn,Hn=en,Gn=sn,zn=tn,_t=Zt,Tn=ln,Ft=(e,n,t)=>{const o=new Map,i={platform:En,...t},r={...i.platform,_c:o};return Qt(e,n,{...i,platform:r})};function Bn(e){return e!=null&&typeof e=="object"&&"$el"in e}function Be(e){if(Bn(e)){const n=e.$el;return Ke(n)&&ie(n)==="#comment"?null:n}return e}function re(e){return typeof e=="function"?e():C.unref(e)}function kn(e){return{name:"arrow",options:e,fn(n){const t=Be(re(e.element));return t==null?{}:_t({element:t,padding:e.padding}).fn(n)}}}function $t(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ct(e,n){const t=$t(e);return Math.round(n*t)/t}function Nn(e,n,t){t===void 0&&(t={});const o=t.whileElementsMounted,i=C.computed(()=>{var F;return(F=re(t.open))!=null?F:!0}),r=C.computed(()=>re(t.middleware)),l=C.computed(()=>{var F;return(F=re(t.placement))!=null?F:"bottom"}),s=C.computed(()=>{var F;return(F=re(t.strategy))!=null?F:"absolute"}),u=C.computed(()=>{var F;return(F=re(t.transform))!=null?F:!0}),g=C.computed(()=>Be(e.value)),c=C.computed(()=>Be(n.value)),f=C.ref(0),d=C.ref(0),a=C.ref(s.value),p=C.ref(l.value),m=C.shallowRef({}),w=C.ref(!1),h=C.computed(()=>{const F={position:a.value,left:"0",top:"0"};if(!c.value)return F;const $=ct(c.value,f.value),M=ct(c.value,d.value);return u.value?{...F,transform:"translate("+$+"px, "+M+"px)",...$t(c.value)>=1.5&&{willChange:"transform"}}:{position:a.value,left:$+"px",top:M+"px"}});let v;function S(){if(g.value==null||c.value==null)return;const F=i.value;Ft(g.value,c.value,{middleware:r.value,placement:l.value,strategy:s.value}).then($=>{f.value=$.x,d.value=$.y,a.value=$.strategy,p.value=$.placement,m.value=$.middlewareData,w.value=F!==!1})}function y(){typeof v=="function"&&(v(),v=void 0)}function _(){if(y(),o===void 0){S();return}if(g.value!=null&&c.value!=null){v=o(g.value,c.value,S);return}}function P(){i.value||(w.value=!1)}return C.watch([r,l,s,i],S,{flush:"sync"}),C.watch([g,c],_,{flush:"sync"}),C.watch(i,P,{flush:"sync"}),C.getCurrentScope()&&C.onScopeDispose(y),{x:C.shallowReadonly(f),y:C.shallowReadonly(d),strategy:C.shallowReadonly(a),placement:C.shallowReadonly(p),middlewareData:C.shallowReadonly(m),isPositioned:C.shallowReadonly(w),floatingStyles:h,update:S}}/**
|
|
1
|
+
"use strict";const C=require("vue"),Gt=require("./FileIcon-BE4ItwkK.cjs"),zt={key:1,class:"button__content"},Tt=C.defineComponent({__name:"Button",props:{label:{},size:{default:"default"},variant:{default:"primary"},url:{},rounded:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},buttonStyle:{},icon:{},iconPosition:{default:"left"},iconOnly:{type:Boolean,default:!1},full:{type:Boolean}},setup(e){const n=C.computed(()=>e.variant==="link"&&e.url||e.url?C.resolveComponent("RouterLink"):"button"),t=C.computed(()=>["button",`button--${e.size}`,`button--${e.variant}`,{"button--rounded":e.rounded,[`button--${e.buttonStyle}`]:e.buttonStyle,[`button--icon-${e.iconPosition}`]:e.icon,"button--only-icon":e.iconOnly,"button--full":e.full}]);return(o,i)=>(C.openBlock(),C.createBlock(C.resolveDynamicComponent(n.value),{to:o.url,class:C.normalizeClass(t.value),disabled:o.disabled},{default:C.withCtx(()=>[o.icon?(C.openBlock(),C.createBlock(C.resolveDynamicComponent(o.icon),{key:0,class:"button__icon"})):C.createCommentVNode("",!0),o.iconOnly?C.createCommentVNode("",!0):(C.openBlock(),C.createElementBlock("div",zt,[C.renderSlot(o.$slots,"default",{},void 0,!0),o.label&&!o.$slots.default?(C.openBlock(),C.createElementBlock(C.Fragment,{key:0},[C.createTextVNode(C.toDisplayString(o.label),1)],64)):C.createCommentVNode("",!0)]))]),_:3},8,["to","class","disabled"]))}}),Bt=Gt._export_sfc(Tt,[["__scopeId","data-v-60e7e104"]]),kt=["top","right","bottom","left"],Z=Math.min,I=Math.max,ve=Math.round,me=Math.floor,b=e=>({x:e,y:e}),Nt={left:"right",right:"left",bottom:"top",top:"bottom"},bt={start:"end",end:"start"};function Ge(e,n,t){return I(e,Z(n,t))}function X(e,n){return typeof e=="function"?e(n):e}function K(e){return e.split("-")[0]}function ue(e){return e.split("-")[1]}function We(e){return e==="x"?"y":"x"}function Ue(e){return e==="y"?"height":"width"}const qt=new Set(["top","bottom"]);function N(e){return qt.has(K(e))?"y":"x"}function Xe(e){return We(N(e))}function jt(e,n,t){t===void 0&&(t=!1);const o=ue(e),i=Xe(e),r=Ue(i);let l=i==="x"?o===(t?"end":"start")?"right":"left":o==="start"?"bottom":"top";return n.reference[r]>n.floating[r]&&(l=Re(l)),[l,Re(l)]}function Wt(e){const n=Re(e);return[ze(e),n,ze(n)]}function ze(e){return e.replace(/start|end/g,n=>bt[n])}const nt=["left","right"],ot=["right","left"],Ut=["top","bottom"],Xt=["bottom","top"];function Kt(e,n,t){switch(e){case"top":case"bottom":return t?n?ot:nt:n?nt:ot;case"left":case"right":return n?Ut:Xt;default:return[]}}function Yt(e,n,t,o){const i=ue(e);let r=Kt(K(e),t==="start",o);return i&&(r=r.map(l=>l+"-"+i),n&&(r=r.concat(r.map(ze)))),r}function Re(e){return e.replace(/left|right|bottom|top/g,n=>Nt[n])}function Jt(e){return{top:0,right:0,bottom:0,left:0,...e}}function mt(e){return typeof e!="number"?Jt(e):{top:e,right:e,bottom:e,left:e}}function xe(e){const{x:n,y:t,width:o,height:i}=e;return{width:o,height:i,top:t,left:n,right:n+o,bottom:t+i,x:n,y:t}}function it(e,n,t){let{reference:o,floating:i}=e;const r=N(n),l=Xe(n),s=Ue(l),u=K(n),g=r==="y",c=o.x+o.width/2-i.width/2,f=o.y+o.height/2-i.height/2,d=o[s]/2-i[s]/2;let a;switch(u){case"top":a={x:c,y:o.y-i.height};break;case"bottom":a={x:c,y:o.y+o.height};break;case"right":a={x:o.x+o.width,y:f};break;case"left":a={x:o.x-i.width,y:f};break;default:a={x:o.x,y:o.y}}switch(ue(n)){case"start":a[l]-=d*(t&&g?-1:1);break;case"end":a[l]+=d*(t&&g?-1:1);break}return a}const Qt=async(e,n,t)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:l}=t,s=r.filter(Boolean),u=await(l.isRTL==null?void 0:l.isRTL(n));let g=await l.getElementRects({reference:e,floating:n,strategy:i}),{x:c,y:f}=it(g,o,u),d=o,a={},p=0;for(let m=0;m<s.length;m++){const{name:w,fn:h}=s[m],{x:v,y:S,data:y,reset:_}=await h({x:c,y:f,initialPlacement:o,placement:d,strategy:i,middlewareData:a,rects:g,platform:l,elements:{reference:e,floating:n}});c=v??c,f=S??f,a={...a,[w]:{...a[w],...y}},_&&p<=50&&(p++,typeof _=="object"&&(_.placement&&(d=_.placement),_.rects&&(g=_.rects===!0?await l.getElementRects({reference:e,floating:n,strategy:i}):_.rects),{x:c,y:f}=it(g,d,u)),m=-1)}return{x:c,y:f,placement:d,strategy:i,middlewareData:a}};async function de(e,n){var t;n===void 0&&(n={});const{x:o,y:i,platform:r,rects:l,elements:s,strategy:u}=e,{boundary:g="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:a=0}=X(n,e),p=mt(a),w=s[d?f==="floating"?"reference":"floating":f],h=xe(await r.getClippingRect({element:(t=await(r.isElement==null?void 0:r.isElement(w)))==null||t?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(s.floating)),boundary:g,rootBoundary:c,strategy:u})),v=f==="floating"?{x:o,y:i,width:l.floating.width,height:l.floating.height}:l.reference,S=await(r.getOffsetParent==null?void 0:r.getOffsetParent(s.floating)),y=await(r.isElement==null?void 0:r.isElement(S))?await(r.getScale==null?void 0:r.getScale(S))||{x:1,y:1}:{x:1,y:1},_=xe(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:v,offsetParent:S,strategy:u}):v);return{top:(h.top-_.top+p.top)/y.y,bottom:(_.bottom-h.bottom+p.bottom)/y.y,left:(h.left-_.left+p.left)/y.x,right:(_.right-h.right+p.right)/y.x}}const Zt=e=>({name:"arrow",options:e,async fn(n){const{x:t,y:o,placement:i,rects:r,platform:l,elements:s,middlewareData:u}=n,{element:g,padding:c=0}=X(e,n)||{};if(g==null)return{};const f=mt(c),d={x:t,y:o},a=Xe(i),p=Ue(a),m=await l.getDimensions(g),w=a==="y",h=w?"top":"left",v=w?"bottom":"right",S=w?"clientHeight":"clientWidth",y=r.reference[p]+r.reference[a]-d[a]-r.floating[p],_=d[a]-r.reference[a],P=await(l.getOffsetParent==null?void 0:l.getOffsetParent(g));let F=P?P[S]:0;(!F||!await(l.isElement==null?void 0:l.isElement(P)))&&(F=s.floating[S]||r.floating[p]);const $=y/2-_/2,M=F/2-m[p]/2-1,E=Z(f[h],M),L=Z(f[v],M),k=E,Y=F-m[p]-L,A=F/2-m[p]/2+$,ne=Ge(k,A,Y),W=!u.arrow&&ue(i)!=null&&A!==ne&&r.reference[p]/2-(A<k?E:L)-m[p]/2<0,H=W?A<k?A-k:A-Y:0;return{[a]:d[a]+H,data:{[a]:ne,centerOffset:A-ne-H,...W&&{alignmentOffset:H}},reset:W}}}),en=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(n){var t,o;const{placement:i,middlewareData:r,rects:l,initialPlacement:s,platform:u,elements:g}=n,{mainAxis:c=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:a="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...w}=X(e,n);if((t=r.arrow)!=null&&t.alignmentOffset)return{};const h=K(i),v=N(s),S=K(s)===s,y=await(u.isRTL==null?void 0:u.isRTL(g.floating)),_=d||(S||!m?[Re(s)]:Wt(s)),P=p!=="none";!d&&P&&_.push(...Yt(s,m,p,y));const F=[s,..._],$=await de(n,w),M=[];let E=((o=r.flip)==null?void 0:o.overflows)||[];if(c&&M.push($[h]),f){const A=jt(i,l,y);M.push($[A[0]],$[A[1]])}if(E=[...E,{placement:i,overflows:M}],!M.every(A=>A<=0)){var L,k;const A=(((L=r.flip)==null?void 0:L.index)||0)+1,ne=F[A];if(ne&&(!(f==="alignment"?v!==N(ne):!1)||E.every(G=>N(G.placement)===v?G.overflows[0]>0:!0)))return{data:{index:A,overflows:E},reset:{placement:ne}};let W=(k=E.filter(H=>H.overflows[0]<=0).sort((H,G)=>H.overflows[1]-G.overflows[1])[0])==null?void 0:k.placement;if(!W)switch(a){case"bestFit":{var Y;const H=(Y=E.filter(G=>{if(P){const J=N(G.placement);return J===v||J==="y"}return!0}).map(G=>[G.placement,G.overflows.filter(J=>J>0).reduce((J,Ht)=>J+Ht,0)]).sort((G,J)=>G[1]-J[1])[0])==null?void 0:Y[0];H&&(W=H);break}case"initialPlacement":W=s;break}if(i!==W)return{reset:{placement:W}}}return{}}}};function rt(e,n){return{top:e.top-n.height,right:e.right-n.width,bottom:e.bottom-n.height,left:e.left-n.width}}function lt(e){return kt.some(n=>e[n]>=0)}const tn=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(n){const{rects:t}=n,{strategy:o="referenceHidden",...i}=X(e,n);switch(o){case"referenceHidden":{const r=await de(n,{...i,elementContext:"reference"}),l=rt(r,t.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:lt(l)}}}case"escaped":{const r=await de(n,{...i,altBoundary:!0}),l=rt(r,t.floating);return{data:{escapedOffsets:l,escaped:lt(l)}}}default:return{}}}}},ht=new Set(["left","top"]);async function nn(e,n){const{placement:t,platform:o,elements:i}=e,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),l=K(t),s=ue(t),u=N(t)==="y",g=ht.has(l)?-1:1,c=r&&u?-1:1,f=X(n,e);let{mainAxis:d,crossAxis:a,alignmentAxis:p}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof p=="number"&&(a=s==="end"?p*-1:p),u?{x:a*c,y:d*g}:{x:d*g,y:a*c}}const on=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(n){var t,o;const{x:i,y:r,placement:l,middlewareData:s}=n,u=await nn(n,e);return l===((t=s.offset)==null?void 0:t.placement)&&(o=s.arrow)!=null&&o.alignmentOffset?{}:{x:i+u.x,y:r+u.y,data:{...u,placement:l}}}}},rn=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(n){const{x:t,y:o,placement:i}=n,{mainAxis:r=!0,crossAxis:l=!1,limiter:s={fn:w=>{let{x:h,y:v}=w;return{x:h,y:v}}},...u}=X(e,n),g={x:t,y:o},c=await de(n,u),f=N(K(i)),d=We(f);let a=g[d],p=g[f];if(r){const w=d==="y"?"top":"left",h=d==="y"?"bottom":"right",v=a+c[w],S=a-c[h];a=Ge(v,a,S)}if(l){const w=f==="y"?"top":"left",h=f==="y"?"bottom":"right",v=p+c[w],S=p-c[h];p=Ge(v,p,S)}const m=s.fn({...n,[d]:a,[f]:p});return{...m,data:{x:m.x-t,y:m.y-o,enabled:{[d]:r,[f]:l}}}}}},ln=function(e){return e===void 0&&(e={}),{options:e,fn(n){const{x:t,y:o,placement:i,rects:r,middlewareData:l}=n,{offset:s=0,mainAxis:u=!0,crossAxis:g=!0}=X(e,n),c={x:t,y:o},f=N(i),d=We(f);let a=c[d],p=c[f];const m=X(s,n),w=typeof m=="number"?{mainAxis:m,crossAxis:0}:{mainAxis:0,crossAxis:0,...m};if(u){const S=d==="y"?"height":"width",y=r.reference[d]-r.floating[S]+w.mainAxis,_=r.reference[d]+r.reference[S]-w.mainAxis;a<y?a=y:a>_&&(a=_)}if(g){var h,v;const S=d==="y"?"width":"height",y=ht.has(K(i)),_=r.reference[f]-r.floating[S]+(y&&((h=l.offset)==null?void 0:h[f])||0)+(y?0:w.crossAxis),P=r.reference[f]+r.reference[S]+(y?0:((v=l.offset)==null?void 0:v[f])||0)-(y?w.crossAxis:0);p<_?p=_:p>P&&(p=P)}return{[d]:a,[f]:p}}}},sn=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(n){var t,o;const{placement:i,rects:r,platform:l,elements:s}=n,{apply:u=()=>{},...g}=X(e,n),c=await de(n,g),f=K(i),d=ue(i),a=N(i)==="y",{width:p,height:m}=r.floating;let w,h;f==="top"||f==="bottom"?(w=f,h=d===(await(l.isRTL==null?void 0:l.isRTL(s.floating))?"start":"end")?"left":"right"):(h=f,w=d==="end"?"top":"bottom");const v=m-c.top-c.bottom,S=p-c.left-c.right,y=Z(m-c[w],v),_=Z(p-c[h],S),P=!n.middlewareData.shift;let F=y,$=_;if((t=n.middlewareData.shift)!=null&&t.enabled.x&&($=S),(o=n.middlewareData.shift)!=null&&o.enabled.y&&(F=v),P&&!d){const E=I(c.left,0),L=I(c.right,0),k=I(c.top,0),Y=I(c.bottom,0);a?$=p-2*(E!==0||L!==0?E+L:I(c.left,c.right)):F=m-2*(k!==0||Y!==0?k+Y:I(c.top,c.bottom))}await u({...n,availableWidth:$,availableHeight:F});const M=await l.getDimensions(s.floating);return p!==M.width||m!==M.height?{reset:{rects:!0}}:{}}}};function ye(){return typeof window<"u"}function ie(e){return Ke(e)?(e.nodeName||"").toLowerCase():"#document"}function D(e){var n;return(e==null||(n=e.ownerDocument)==null?void 0:n.defaultView)||window}function j(e){var n;return(n=(Ke(e)?e.ownerDocument:e.document)||window.document)==null?void 0:n.documentElement}function Ke(e){return ye()?e instanceof Node||e instanceof D(e).Node:!1}function T(e){return ye()?e instanceof Element||e instanceof D(e).Element:!1}function q(e){return ye()?e instanceof HTMLElement||e instanceof D(e).HTMLElement:!1}function st(e){return!ye()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof D(e).ShadowRoot}const un=new Set(["inline","contents"]);function pe(e){const{overflow:n,overflowX:t,overflowY:o,display:i}=B(e);return/auto|scroll|overlay|hidden|clip/.test(n+o+t)&&!un.has(i)}const an=new Set(["table","td","th"]);function gn(e){return an.has(ie(e))}const cn=[":popover-open",":modal"];function _e(e){return cn.some(n=>{try{return e.matches(n)}catch{return!1}})}const dn=["transform","translate","scale","rotate","perspective"],fn=["transform","translate","scale","rotate","perspective","filter"],pn=["paint","layout","strict","content"];function Ye(e){const n=Je(),t=T(e)?B(e):e;return dn.some(o=>t[o]?t[o]!=="none":!1)||(t.containerType?t.containerType!=="normal":!1)||!n&&(t.backdropFilter?t.backdropFilter!=="none":!1)||!n&&(t.filter?t.filter!=="none":!1)||fn.some(o=>(t.willChange||"").includes(o))||pn.some(o=>(t.contain||"").includes(o))}function mn(e){let n=ee(e);for(;q(n)&&!se(n);){if(Ye(n))return n;if(_e(n))return null;n=ee(n)}return null}function Je(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const hn=new Set(["html","body","#document"]);function se(e){return hn.has(ie(e))}function B(e){return D(e).getComputedStyle(e)}function Fe(e){return T(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ee(e){if(ie(e)==="html")return e;const n=e.assignedSlot||e.parentNode||st(e)&&e.host||j(e);return st(n)?n.host:n}function wt(e){const n=ee(e);return se(n)?e.ownerDocument?e.ownerDocument.body:e.body:q(n)&&pe(n)?n:wt(n)}function fe(e,n,t){var o;n===void 0&&(n=[]),t===void 0&&(t=!0);const i=wt(e),r=i===((o=e.ownerDocument)==null?void 0:o.body),l=D(i);if(r){const s=Te(l);return n.concat(l,l.visualViewport||[],pe(i)?i:[],s&&t?fe(s):[])}return n.concat(i,fe(i,[],t))}function Te(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function St(e){const n=B(e);let t=parseFloat(n.width)||0,o=parseFloat(n.height)||0;const i=q(e),r=i?e.offsetWidth:t,l=i?e.offsetHeight:o,s=ve(t)!==r||ve(o)!==l;return s&&(t=r,o=l),{width:t,height:o,$:s}}function Qe(e){return T(e)?e:e.contextElement}function le(e){const n=Qe(e);if(!q(n))return b(1);const t=n.getBoundingClientRect(),{width:o,height:i,$:r}=St(n);let l=(r?ve(t.width):t.width)/o,s=(r?ve(t.height):t.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!s||!Number.isFinite(s))&&(s=1),{x:l,y:s}}const wn=b(0);function Ct(e){const n=D(e);return!Je()||!n.visualViewport?wn:{x:n.visualViewport.offsetLeft,y:n.visualViewport.offsetTop}}function Sn(e,n,t){return n===void 0&&(n=!1),!t||n&&t!==D(e)?!1:n}function oe(e,n,t,o){n===void 0&&(n=!1),t===void 0&&(t=!1);const i=e.getBoundingClientRect(),r=Qe(e);let l=b(1);n&&(o?T(o)&&(l=le(o)):l=le(e));const s=Sn(r,t,o)?Ct(r):b(0);let u=(i.left+s.x)/l.x,g=(i.top+s.y)/l.y,c=i.width/l.x,f=i.height/l.y;if(r){const d=D(r),a=o&&T(o)?D(o):o;let p=d,m=Te(p);for(;m&&o&&a!==p;){const w=le(m),h=m.getBoundingClientRect(),v=B(m),S=h.left+(m.clientLeft+parseFloat(v.paddingLeft))*w.x,y=h.top+(m.clientTop+parseFloat(v.paddingTop))*w.y;u*=w.x,g*=w.y,c*=w.x,f*=w.y,u+=S,g+=y,p=D(m),m=Te(p)}}return xe({width:c,height:f,x:u,y:g})}function $e(e,n){const t=Fe(e).scrollLeft;return n?n.left+t:oe(j(e)).left+t}function vt(e,n){const t=e.getBoundingClientRect(),o=t.left+n.scrollLeft-$e(e,t),i=t.top+n.scrollTop;return{x:o,y:i}}function Cn(e){let{elements:n,rect:t,offsetParent:o,strategy:i}=e;const r=i==="fixed",l=j(o),s=n?_e(n.floating):!1;if(o===l||s&&r)return t;let u={scrollLeft:0,scrollTop:0},g=b(1);const c=b(0),f=q(o);if((f||!f&&!r)&&((ie(o)!=="body"||pe(l))&&(u=Fe(o)),q(o))){const a=oe(o);g=le(o),c.x=a.x+o.clientLeft,c.y=a.y+o.clientTop}const d=l&&!f&&!r?vt(l,u):b(0);return{width:t.width*g.x,height:t.height*g.y,x:t.x*g.x-u.scrollLeft*g.x+c.x+d.x,y:t.y*g.y-u.scrollTop*g.y+c.y+d.y}}function vn(e){return Array.from(e.getClientRects())}function Rn(e){const n=j(e),t=Fe(e),o=e.ownerDocument.body,i=I(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),r=I(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let l=-t.scrollLeft+$e(e);const s=-t.scrollTop;return B(o).direction==="rtl"&&(l+=I(n.clientWidth,o.clientWidth)-i),{width:i,height:r,x:l,y:s}}const ut=25;function xn(e,n){const t=D(e),o=j(e),i=t.visualViewport;let r=o.clientWidth,l=o.clientHeight,s=0,u=0;if(i){r=i.width,l=i.height;const c=Je();(!c||c&&n==="fixed")&&(s=i.offsetLeft,u=i.offsetTop)}const g=$e(o);if(g<=0){const c=o.ownerDocument,f=c.body,d=getComputedStyle(f),a=c.compatMode==="CSS1Compat"&&parseFloat(d.marginLeft)+parseFloat(d.marginRight)||0,p=Math.abs(o.clientWidth-f.clientWidth-a);p<=ut&&(r-=p)}else g<=ut&&(r+=g);return{width:r,height:l,x:s,y:u}}const yn=new Set(["absolute","fixed"]);function _n(e,n){const t=oe(e,!0,n==="fixed"),o=t.top+e.clientTop,i=t.left+e.clientLeft,r=q(e)?le(e):b(1),l=e.clientWidth*r.x,s=e.clientHeight*r.y,u=i*r.x,g=o*r.y;return{width:l,height:s,x:u,y:g}}function at(e,n,t){let o;if(n==="viewport")o=xn(e,t);else if(n==="document")o=Rn(j(e));else if(T(n))o=_n(n,t);else{const i=Ct(e);o={x:n.x-i.x,y:n.y-i.y,width:n.width,height:n.height}}return xe(o)}function Rt(e,n){const t=ee(e);return t===n||!T(t)||se(t)?!1:B(t).position==="fixed"||Rt(t,n)}function Fn(e,n){const t=n.get(e);if(t)return t;let o=fe(e,[],!1).filter(s=>T(s)&&ie(s)!=="body"),i=null;const r=B(e).position==="fixed";let l=r?ee(e):e;for(;T(l)&&!se(l);){const s=B(l),u=Ye(l);!u&&s.position==="fixed"&&(i=null),(r?!u&&!i:!u&&s.position==="static"&&!!i&&yn.has(i.position)||pe(l)&&!u&&Rt(e,l))?o=o.filter(c=>c!==l):i=s,l=ee(l)}return n.set(e,o),o}function $n(e){let{element:n,boundary:t,rootBoundary:o,strategy:i}=e;const l=[...t==="clippingAncestors"?_e(n)?[]:Fn(n,this._c):[].concat(t),o],s=l[0],u=l.reduce((g,c)=>{const f=at(n,c,i);return g.top=I(f.top,g.top),g.right=Z(f.right,g.right),g.bottom=Z(f.bottom,g.bottom),g.left=I(f.left,g.left),g},at(n,s,i));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}}function Pn(e){const{width:n,height:t}=St(e);return{width:n,height:t}}function Vn(e,n,t){const o=q(n),i=j(n),r=t==="fixed",l=oe(e,!0,r,n);let s={scrollLeft:0,scrollTop:0};const u=b(0);function g(){u.x=$e(i)}if(o||!o&&!r)if((ie(n)!=="body"||pe(i))&&(s=Fe(n)),o){const a=oe(n,!0,r,n);u.x=a.x+n.clientLeft,u.y=a.y+n.clientTop}else i&&g();r&&!o&&i&&g();const c=i&&!o&&!r?vt(i,s):b(0),f=l.left+s.scrollLeft-u.x-c.x,d=l.top+s.scrollTop-u.y-c.y;return{x:f,y:d,width:l.width,height:l.height}}function Ve(e){return B(e).position==="static"}function gt(e,n){if(!q(e)||B(e).position==="fixed")return null;if(n)return n(e);let t=e.offsetParent;return j(e)===t&&(t=t.ownerDocument.body),t}function xt(e,n){const t=D(e);if(_e(e))return t;if(!q(e)){let i=ee(e);for(;i&&!se(i);){if(T(i)&&!Ve(i))return i;i=ee(i)}return t}let o=gt(e,n);for(;o&&gn(o)&&Ve(o);)o=gt(o,n);return o&&se(o)&&Ve(o)&&!Ye(o)?t:o||mn(e)||t}const Mn=async function(e){const n=this.getOffsetParent||xt,t=this.getDimensions,o=await t(e.floating);return{reference:Vn(e.reference,await n(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function An(e){return B(e).direction==="rtl"}const En={convertOffsetParentRelativeRectToViewportRelativeRect:Cn,getDocumentElement:j,getClippingRect:$n,getOffsetParent:xt,getElementRects:Mn,getClientRects:vn,getDimensions:Pn,getScale:le,isElement:T,isRTL:An};function yt(e,n){return e.x===n.x&&e.y===n.y&&e.width===n.width&&e.height===n.height}function In(e,n){let t=null,o;const i=j(e);function r(){var s;clearTimeout(o),(s=t)==null||s.disconnect(),t=null}function l(s,u){s===void 0&&(s=!1),u===void 0&&(u=1),r();const g=e.getBoundingClientRect(),{left:c,top:f,width:d,height:a}=g;if(s||n(),!d||!a)return;const p=me(f),m=me(i.clientWidth-(c+d)),w=me(i.clientHeight-(f+a)),h=me(c),S={rootMargin:-p+"px "+-m+"px "+-w+"px "+-h+"px",threshold:I(0,Z(1,u))||1};let y=!0;function _(P){const F=P[0].intersectionRatio;if(F!==u){if(!y)return l();F?l(!1,F):o=setTimeout(()=>{l(!1,1e-7)},1e3)}F===1&&!yt(g,e.getBoundingClientRect())&&l(),y=!1}try{t=new IntersectionObserver(_,{...S,root:i.ownerDocument})}catch{t=new IntersectionObserver(_,S)}t.observe(e)}return l(!0),r}function Dn(e,n,t,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:l=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:u=!1}=o,g=Qe(e),c=i||r?[...g?fe(g):[],...fe(n)]:[];c.forEach(h=>{i&&h.addEventListener("scroll",t,{passive:!0}),r&&h.addEventListener("resize",t)});const f=g&&s?In(g,t):null;let d=-1,a=null;l&&(a=new ResizeObserver(h=>{let[v]=h;v&&v.target===g&&a&&(a.unobserve(n),cancelAnimationFrame(d),d=requestAnimationFrame(()=>{var S;(S=a)==null||S.observe(n)})),t()}),g&&!u&&a.observe(g),a.observe(n));let p,m=u?oe(e):null;u&&w();function w(){const h=oe(e);m&&!yt(m,h)&&t(),m=h,p=requestAnimationFrame(w)}return t(),()=>{var h;c.forEach(v=>{i&&v.removeEventListener("scroll",t),r&&v.removeEventListener("resize",t)}),f?.(),(h=a)==null||h.disconnect(),a=null,u&&cancelAnimationFrame(p)}}const On=on,Ln=rn,Hn=en,Gn=sn,zn=tn,_t=Zt,Tn=ln,Ft=(e,n,t)=>{const o=new Map,i={platform:En,...t},r={...i.platform,_c:o};return Qt(e,n,{...i,platform:r})};function Bn(e){return e!=null&&typeof e=="object"&&"$el"in e}function Be(e){if(Bn(e)){const n=e.$el;return Ke(n)&&ie(n)==="#comment"?null:n}return e}function re(e){return typeof e=="function"?e():C.unref(e)}function kn(e){return{name:"arrow",options:e,fn(n){const t=Be(re(e.element));return t==null?{}:_t({element:t,padding:e.padding}).fn(n)}}}function $t(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function ct(e,n){const t=$t(e);return Math.round(n*t)/t}function Nn(e,n,t){t===void 0&&(t={});const o=t.whileElementsMounted,i=C.computed(()=>{var F;return(F=re(t.open))!=null?F:!0}),r=C.computed(()=>re(t.middleware)),l=C.computed(()=>{var F;return(F=re(t.placement))!=null?F:"bottom"}),s=C.computed(()=>{var F;return(F=re(t.strategy))!=null?F:"absolute"}),u=C.computed(()=>{var F;return(F=re(t.transform))!=null?F:!0}),g=C.computed(()=>Be(e.value)),c=C.computed(()=>Be(n.value)),f=C.ref(0),d=C.ref(0),a=C.ref(s.value),p=C.ref(l.value),m=C.shallowRef({}),w=C.ref(!1),h=C.computed(()=>{const F={position:a.value,left:"0",top:"0"};if(!c.value)return F;const $=ct(c.value,f.value),M=ct(c.value,d.value);return u.value?{...F,transform:"translate("+$+"px, "+M+"px)",...$t(c.value)>=1.5&&{willChange:"transform"}}:{position:a.value,left:$+"px",top:M+"px"}});let v;function S(){if(g.value==null||c.value==null)return;const F=i.value;Ft(g.value,c.value,{middleware:r.value,placement:l.value,strategy:s.value}).then($=>{f.value=$.x,d.value=$.y,a.value=$.strategy,p.value=$.placement,m.value=$.middlewareData,w.value=F!==!1})}function y(){typeof v=="function"&&(v(),v=void 0)}function _(){if(y(),o===void 0){S();return}if(g.value!=null&&c.value!=null){v=o(g.value,c.value,S);return}}function P(){i.value||(w.value=!1)}return C.watch([r,l,s,i],S,{flush:"sync"}),C.watch([g,c],_,{flush:"sync"}),C.watch(i,P,{flush:"sync"}),C.getCurrentScope()&&C.onScopeDispose(y),{x:C.shallowReadonly(f),y:C.shallowReadonly(d),strategy:C.shallowReadonly(a),placement:C.shallowReadonly(p),middlewareData:C.shallowReadonly(m),isPositioned:C.shallowReadonly(w),floatingStyles:h,update:S}}/**
|
|
2
2
|
* table-core
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) TanStack
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as yt, computed as k, resolveComponent as Wt, createBlock as st, openBlock as we, resolveDynamicComponent as ut, normalizeClass as Ut, withCtx as Xt, createCommentVNode as Ie, createElementBlock as at, renderSlot as Kt, Fragment as Yt, createTextVNode as Jt, toDisplayString as Qt, ref as le, shallowRef as _t, watch as ye, getCurrentScope as Zt, onScopeDispose as en, shallowReadonly as re, unref as Ft, isRef as tn, watchEffect as nn, h as on } from "vue";
|
|
2
|
-
import { _ as rn } from "./
|
|
2
|
+
import { _ as rn } from "./FileIcon-maHE2Nhr.js";
|
|
3
3
|
const ln = {
|
|
4
4
|
key: 1,
|
|
5
5
|
class: "button__content"
|