vendor: 19,366 bytes, line 1
1import{a as Rt,d as Pt,c as ft}from"./index-ldHLwq-R.js";import{a as At,b as Dt}from"./index-B2tiVmvc.js";import{w as Q,o as kt,b as St,i as Ct,x as jt,a as G,H as ge,m as Bt,l as Tt,g as De,ai as $t,r as xe,a2 as Ge,z as Lt,n as Mt,a0 as Wt}from"./index-Cs-J4kvO.js";import{P as Ht}from"./api-BfEHLpFa.js";import{e as ct,h as ke}from"./index-DsvvIVaI.js";import"./SScrollbar.vue_vue_type_style_index_0_lang-CKKJcn_I.js";var j="top",M="bottom",W="right",B="left",je="auto",ue=[j,M,W,B],_="start",fe="end",Nt="clippingParents",ut="viewport",oe="popper",Vt="reference",Ke=ue.reduce(function(e,t){return e.concat([t+"-"+_,t+"-"+fe])},[]),Be=[].concat(ue,[je]).reduce(function(e,t){return e.concat([t,t+"-"+_,t+"-"+fe])},[]),zt="beforeRead",It="read",qt="afterRead",Ft="beforeMain",Xt="main",Yt="afterMain",Ut="beforeWrite",Gt="write",Kt="afterWrite",Zt=[zt,It,qt,Ft,Xt,Yt,Ut,Gt,Kt];function V(e){return e?(e.nodeName||"").toLowerCase():null}function $(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Z(e){var t=$(e).Element;return e instanceof t||e instanceof Element}function L(e){var t=$(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function Te(e){if(typeof ShadowRoot>"u")return!1;var t=$(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Jt(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},s=t.elements[r];!L(s)||!V(s)||(Object.assign(s.style,n),Object.keys(a).forEach(function(c){var o=a[c];o===!1?s.removeAttribute(c):s.setAttribute(c,o===!0?"":o)}))})}function Qt(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],s=t.attributes[n]||{},c=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),o=c.reduce(function(i,u){return i[u]="",i},{});!L(a)||!V(a)||(Object.assign(a.style,o),Object.keys(s).forEach(function(i){a.removeAttribute(i)}))})}}const _t={name:"applyStyles",enabled:!0,phase:"write",fn:Jt,effect:Qt,requires:["computeStyles"]};function N(e){return e.split("-")[0]}var K=Math.max,be=Math.min,ee=Math.round;function Se(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function lt(){return!/^((?!chrome|android).)*safari/i.test(Se())}function te(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,s=1;t&&L(e)&&(a=e.offsetWidth>0&&ee(n.width)/e.offsetWidth||1,s=e.offsetHeight>0&&ee(n.height)/e.offsetHeight||1);var c=Z(e)?$(e):window,o=c.visualViewport,i=!lt()&&r,u=(n.left+(i&&o?o.offsetLeft:0))/a,f=(n.top+(i&&o?o.offsetTop:0))/s,m=n.width/a,b=n.height/s;return{width:m,height:b,top:f,right:u+m,bottom:f+b,left:u,x:u,y:f}}function $e(e){var t=te(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function pt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&Te(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function z(e){return $(e).getComputedStyle(e)}function er(e){return["table","td","th"].indexOf(V(e))>=0}function q(e){return((Z(e)?e.ownerDocument:e.document)||window.document).documentElement}function Oe(e){return V(e)==="html"?e:e.assignedSlot||e.parentNode||(Te(e)?e.host:null)||q(e)}function Ze(e){return!L(e)||z(e).position==="fixed"?null:e.offsetParent}function tr(e){var t=/firefox/i.test(Se()),r=/Trident/i.test(Se());if(r&&L(e)){var n=z(e);if(n.position==="fixed")return null}var a=Oe(e);for(Te(a)&&(a=a.host);L(a)&&["html","body"].indexOf(V(a))<0;){var s=z(a);if(s.transform!=="none"||s.perspective!=="none"||s.contain==="paint"||["transform","perspective"].indexOf(s.willChange)!==-1||t&&s.willChange==="filter"||t&&s.filter&&s.filter!=="none")return a;a=a.parentNode}return null}function le(e){for(var t=$(e),r=Ze(e);r&&er(r)&&z(r).position==="static";)r=Ze(r);return r&&(V(r)==="html"||V(r)==="body"&&z(r).position==="static")?t:r||tr(e)||t}function Le(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ie(e,t,r){return K(e,be(t,r))}function rr(e,t,r){var n=ie(e,t,r);return n>r?r:n}function vt(){return{top:0,right:0,bottom:0,left:0}}function dt(e){return Object.assign({},vt(),e)}function ht(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var nr=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,dt(typeof t!="number"?t:ht(t,ue))};function ar(e){var t,r=e.state,n=e.name,a=e.options,s=r.elements.arrow,c=r.modifiersData.popperOffsets,o=N(r.placement),i=Le(o),u=[B,W].indexOf(o)>=0,f=u?"height":"width";if(!(!s||!c)){var m=nr(a.padding,r),b=$e(s),p=i==="y"?j:B,x=i==="y"?M:W,h=r.rects.reference[f]+r.rects.reference[i]-c[i]-r.rects.popper[f],v=c[i]-r.rects.reference[i],g=le(s),R=g?i==="y"?g.clientHeight||0:g.clientWidth||0:0,E=h/2-v/2,d=m[p],y=R-b[f]-m[x],w=R/2-b[f]/2+E,O=ie(d,w,y),S=i;r.modifiersData[n]=(t={},t[S]=O,t.centerOffset=O-w,t)}}function or(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||pt(t.elements.popper,a)&&(t.elements.arrow=a))}const ir={name:"arrow",enabled:!0,phase:"main",fn:ar,effect:or,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function re(e){return e.split("-")[1]}var sr={top:"auto",right:"auto",bottom:"auto",left:"auto"};function fr(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:ee(r*a)/a||0,y:ee(n*a)/a||0}}function Je(e){var t,r=e.popper,n=e.popperRect,a=e.placement,s=e.variation,c=e.offsets,o=e.position,i=e.gpuAcceleration,u=e.adaptive,f=e.roundOffsets,m=e.isFixed,b=c.x,p=b===void 0?0:b,x=c.y,h=x===void 0?0:x,v=typeof f=="function"?f({x:p,y:h}):{x:p,y:h};p=v.x,h=v.y;var g=c.hasOwnProperty("x"),R=c.hasOwnProperty("y"),E=B,d=j,y=window;if(u){var w=le(r),O="clientHeight",S="clientWidth";if(w===$(r)&&(w=q(r),z(w).position!=="static"&&o==="absolute"&&(O="scrollHeight",S="scrollWidth")),w=w,a===j||(a===B||a===W)&&s===fe){d=M;var k=m&&w===y&&y.visualViewport?y.visualViewport.height:w[O];h-=k-n.height,h*=i?1:-1}if(a===B||(a===j||a===M)&&s===fe){E=W;var P=m&&w===y&&y.visualViewport?y.visualViewport.width:w[S];p-=P-n.width,p*=i?1:-1}}var l=Object.assign({position:o},u&&sr),A=f===!0?fr({x:p,y:h},$(r)):{x:p,y:h};if(p=A.x,h=A.y,i){var D;return Object.assign({},l,(D={},D[d]=R?"0":"",D[E]=g?"0":"",D.transform=(y.devicePixelRatio||1)<=1?"translate("+p+"px, "+h+"px)":"translate3d("+p+"px, "+h+"px, 0)",D))}return Object.assign({},l,(t={},t[d]=R?h+"px":"",t[E]=g?p+"px":"",t.transform="",t))}function cr(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,s=r.adaptive,c=s===void 0?!0:s,o=r.roundOffsets,i=o===void 0?!0:o,u={placement:N(t.placement),variation:re(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Je(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:c,roundOffsets:i})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Je(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:i})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const ur={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:cr,data:{}};var ye={passive:!0};function lr(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,s=a===void 0?!0:a,c=n.resize,o=c===void 0?!0:c,i=$(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return s&&u.forEach(function(f){f.addEventListener("scroll",r.update,ye)}),o&&i.addEventListener("resize",r.update,ye),function(){s&&u.forEach(function(f){f.removeEventListener("scroll",r.update,ye)}),o&&i.removeEventListener("resize",r.update,ye)}}const pr={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:lr,data:{}};var vr={left:"right",right:"left",bottom:"top",top:"bottom"};function we(e){return e.replace(/left|right|bottom|top/g,function(t){return vr[t]})}var dr={start:"end",end:"start"};function Qe(e){return e.replace(/start|end/g,function(t){return dr[t]})}function Me(e){var t=$(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function We(e){return te(q(e)).left+Me(e).scrollLeft}function hr(e,t){var r=$(e),n=q(e),a=r.visualViewport,s=n.clientWidth,c=n.clientHeight,o=0,i=0;if(a){s=a.width,c=a.height;var u=lt();(u||!u&&t==="fixed")&&(o=a.offsetLeft,i=a.offsetTop)}return{width:s,height:c,x:o+We(e),y:i}}function mr(e){var t,r=q(e),n=Me(e),a=(t=e.ownerDocument)==null?void 0:t.body,s=K(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),c=K(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),o=-n.scrollLeft+We(e),i=-n.scrollTop;return z(a||r).direction==="rtl"&&(o+=K(r.clientWidth,a?a.clientWidth:0)-s),{width:s,height:c,x:o,y:i}}function He(e){var t=z(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}function mt(e){return["html","body","#document"].indexOf(V(e))>=0?e.ownerDocument.body:L(e)&&He(e)?e:mt(Oe(e))}function se(e,t){var r;t===void 0&&(t=[]);var n=mt(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),s=$(n),c=a?[s].concat(s.visualViewport||[],He(n)?n:[]):n,o=t.concat(c);return a?o:o.concat(se(Oe(c)))}function Ce(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function gr(e,t){var r=te(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function _e(e,t,r){return t===ut?Ce(hr(e,r)):Z(t)?gr(t,r):Ce(mr(q(e)))}function yr(e){var t=se(Oe(e)),r=["absolute","fixed"].indexOf(z(e).position)>=0,n=r&&L(e)?le(e):e;return Z(n)?t.filter(function(a){return Z(a)&&pt(a,n)&&V(a)!=="body"}):[]}function wr(e,t,r,n){var a=t==="clippingParents"?yr(e):[].concat(t),s=[].concat(a,[r]),c=s[0],o=s.reduce(function(i,u){var f=_e(e,u,n);return i.top=K(f.top,i.top),i.right=be(f.right,i.right),i.bottom=be(f.bottom,i.bottom),i.left=K(f.left,i.left),i},_e(e,c,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function gt(e){var t=e.reference,r=e.element,n=e.placement,a=n?N(n):null,s=n?re(n):null,c=t.x+t.width/2-r.width/2,o=t.y+t.height/2-r.height/2,i;switch(a){case j:i={x:c,y:t.y-r.height};break;case M:i={x:c,y:t.y+t.height};break;case W:i={x:t.x+t.width,y:o};break;case B:i={x:t.x-r.width,y:o};break;default:i={x:t.x,y:t.y}}var u=a?Le(a):null;if(u!=null){var f=u==="y"?"height":"width";switch(s){case _:i[u]=i[u]-(t[f]/2-r[f]/2);break;case fe:i[u]=i[u]+(t[f]/2-r[f]/2);break}}return i}function ce(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,s=r.strategy,c=s===void 0?e.strategy:s,o=r.boundary,i=o===void 0?Nt:o,u=r.rootBoundary,f=u===void 0?ut:u,m=r.elementContext,b=m===void 0?oe:m,p=r.altBoundary,x=p===void 0?!1:p,h=r.padding,v=h===void 0?0:h,g=dt(typeof v!="number"?v:ht(v,ue)),R=b===oe?Vt:oe,E=e.rects.popper,d=e.elements[x?R:b],y=wr(Z(d)?d:d.contextElement||q(e.elements.popper),i,f,c),w=te(e.elements.reference),O=gt({reference:w,element:E,placement:a}),S=Ce(Object.assign({},E,O)),k=b===oe?S:w,P={top:y.top-k.top+g.top,bottom:k.bottom-y.bottom+g.bottom,left:y.left-k.left+g.left,right:k.right-y.right+g.right},l=e.modifiersData.offset;if(b===oe&&l){var A=l[a];Object.keys(P).forEach(function(D){var C=[W,M].indexOf(D)>=0?1:-1,F=[j,M].indexOf(D)>=0?"y":"x";P[D]+=A[F]*C})}return P}function br(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,s=r.rootBoundary,c=r.padding,o=r.flipVariations,i=r.allowedAutoPlacements,u=i===void 0?Be:i,f=re(n),m=f?o?Ke:Ke.filter(function(x){return re(x)===f}):ue,b=m.filter(function(x){return u.indexOf(x)>=0});b.length===0&&(b=m);var p=b.reduce(function(x,h){return x[h]=ce(e,{placement:h,boundary:a,rootBoundary:s,padding:c})[N(h)],x},{});return Object.keys(p).sort(function(x,h){return p[x]-p[h]})}function xr(e){if(N(e)===je)return[];var t=we(e);return[Qe(e),t,Qe(t)]}function Or(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,s=a===void 0?!0:a,c=r.altAxis,o=c===void 0?!0:c,i=r.fallbackPlacements,u=r.padding,f=r.boundary,m=r.rootBoundary,b=r.altBoundary,p=r.flipVariations,x=p===void 0?!0:p,h=r.allowedAutoPlacements,v=t.options.placement,g=N(v),R=g===v,E=i||(R||!x?[we(v)]:xr(v)),d=[v].concat(E).reduce(function(J,I){return J.concat(N(I)===je?br(t,{placement:I,boundary:f,rootBoundary:m,padding:u,flipVariations:x,allowedAutoPlacements:h}):I)},[]),y=t.rects.reference,w=t.rects.popper,O=new Map,S=!0,k=d[0],P=0;P<d.length;P++){var l=d[P],A=N(l),D=re(l)===_,C=[j,M].indexOf(A)>=0,F=C?"width":"height",T=ce(t,{placement:l,boundary:f,rootBoundary:m,altBoundary:b,padding:u}),H=C?D?W:B:D?M:j;y[F]>w[F]&&(H=we(H));var pe=we(H),X=[];if(s&&X.push(T[A]<=0),o&&X.push(T[H]<=0,T[pe]<=0),X.every(function(J){return J})){k=l,S=!1;break}O.set(l,X)}if(S)for(var ve=x?3:1,Ee=function(I){var ae=d.find(function(he){var Y=O.get(he);if(Y)return Y.slice(0,I).every(function(Re){return Re})});if(ae)return k=ae,"break"},ne=ve;ne>0;ne--){var de=Ee(ne);if(de==="break")break}t.placement!==k&&(t.modifiersData[n]._skip=!0,t.placement=k,t.reset=!0)}}const Er={name:"flip",enabled:!0,phase:"main",fn:Or,requiresIfExists:["offset"],data:{_skip:!1}};function et(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function tt(e){return[j,W,M,B].some(function(t){return e[t]>=0})}function Rr(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,s=t.modifiersData.preventOverflow,c=ce(t,{elementContext:"reference"}),o=ce(t,{altBoundary:!0}),i=et(c,n),u=et(o,a,s),f=tt(i),m=tt(u);t.modifiersData[r]={referenceClippingOffsets:i,popperEscapeOffsets:u,isReferenceHidden:f,hasPopperEscaped:m},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":f,"data-popper-escaped":m})}const Pr={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Rr};function Ar(e,t,r){var n=N(e),a=[B,j].indexOf(n)>=0?-1:1,s=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,c=s[0],o=s[1];return c=c||0,o=(o||0)*a,[B,W].indexOf(n)>=0?{x:o,y:c}:{x:c,y:o}}function Dr(e){var t=e.state,r=e.options,n=e.name,a=r.offset,s=a===void 0?[0,0]:a,c=Be.reduce(function(f,m){return f[m]=Ar(m,t.rects,s),f},{}),o=c[t.placement],i=o.x,u=o.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=i,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=c}const kr={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Dr};function Sr(e){var t=e.state,r=e.name;t.modifiersData[r]=gt({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const Cr={name:"popperOffsets",enabled:!0,phase:"read",fn:Sr,data:{}};function jr(e){return e==="x"?"y":"x"}function Br(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,s=a===void 0?!0:a,c=r.altAxis,o=c===void 0?!1:c,i=r.boundary,u=r.rootBoundary,f=r.altBoundary,m=r.padding,b=r.tether,p=b===void 0?!0:b,x=r.tetherOffset,h=x===void 0?0:x,v=ce(t,{boundary:i,rootBoundary:u,padding:m,altBoundary:f}),g=N(t.placement),R=re(t.placement),E=!R,d=Le(g),y=jr(d),w=t.modifiersData.popperOffsets,O=t.rects.reference,S=t.rects.popper,k=typeof h=="function"?h(Object.assign({},t.rects,{placement:t.placement})):h,P=typeof k=="number"?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),l=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,A={x:0,y:0};if(w){if(s){var D,C=d==="y"?j:B,F=d==="y"?M:W,T=d==="y"?"height":"width",H=w[d],pe=H+v[C],X=H-v[F],ve=p?-S[T]/2:0,Ee=R===_?O[T]:S[T],ne=R===_?-S[T]:-O[T],de=t.elements.arrow,J=p&&de?$e(de):{width:0,height:0},I=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:vt(),ae=I[C],he=I[F],Y=ie(0,O[T],J[T]),Re=E?O[T]/2-ve-Y-ae-P.mainAxis:Ee-Y-ae-P.mainAxis,yt=E?-O[T]/2+ve+Y+he+P.mainAxis:ne+Y+he+P.mainAxis,Pe=t.elements.arrow&&le(t.elements.arrow),wt=Pe?d==="y"?Pe.clientTop||0:Pe.clientLeft||0:0,Ne=(D=l?.[d])!=null?D:0,bt=H+Re-Ne-wt,xt=H+yt-Ne,Ve=ie(p?be(pe,bt):pe,H,p?K(X,xt):X);w[d]=Ve,A[d]=Ve-H}if(o){var ze,Ot=d==="x"?j:B,Et=d==="x"?M:W,U=w[y],me=y==="y"?"height":"width",Ie=U+v[Ot],qe=U-v[Et],Ae=[j,B].indexOf(g)!==-1,Fe=(ze=l?.[y])!=null?ze:0,Xe=Ae?Ie:U-O[me]-S[me]-Fe+P.altAxis,Ye=Ae?U+O[me]+S[me]-Fe-P.altAxis:qe,Ue=p&&Ae?rr(Xe,U,Ye):ie(p?Xe:Ie,U,p?Ye:qe);w[y]=Ue,A[y]=Ue-U}t.modifiersData[n]=A}}const Tr={name:"preventOverflow",enabled:!0,phase:"main",fn:Br,requiresIfExists:["offset"]};function $r(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Lr(e){return e===$(e)||!L(e)?Me(e):$r(e)}function Mr(e){var t=e.getBoundingClientRect(),r=ee(t.width)/e.offsetWidth||1,n=ee(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Wr(e,t,r){r===void 0&&(r=!1);var n=L(t),a=L(t)&&Mr(t),s=q(t),c=te(e,a,r),o={scrollLeft:0,scrollTop:0},i={x:0,y:0};return(n||!n&&!r)&&((V(t)!=="body"||He(s))&&(o=Lr(t)),L(t)?(i=te(t,!0),i.x+=t.clientLeft,i.y+=t.clientTop):s&&(i.x=We(s))),{x:c.left+o.scrollLeft-i.x,y:c.top+o.scrollTop-i.y,width:c.width,height:c.height}}function Hr(e){var t=new Map,r=new Set,n=[];e.forEach(function(s){t.set(s.name,s)});function a(s){r.add(s.name);var c=[].concat(s.requires||[],s.requiresIfExists||[]);c.forEach(function(o){if(!r.has(o)){var i=t.get(o);i&&a(i)}}),n.push(s)}return e.forEach(function(s){r.has(s.name)||a(s)}),n}function Nr(e){var t=Hr(e);return Zt.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}function Vr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function zr(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var rt={placement:"bottom",modifiers:[],strategy:"absolute"};function nt(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Ir(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,a=t.defaultOptions,s=a===void 0?rt:a;return function(o,i,u){u===void 0&&(u=s);var f={placement:"bottom",orderedModifiers:[],options:Object.assign({},rt,s),modifiersData:{},elements:{reference:o,popper:i},attributes:{},styles:{}},m=[],b=!1,p={state:f,setOptions:function(g){var R=typeof g=="function"?g(f.options):g;h(),f.options=Object.assign({},s,f.options,R),f.scrollParents={reference:Z(o)?se(o):o.contextElement?se(o.contextElement):[],popper:se(i)};var E=Nr(zr([].concat(n,f.options.modifiers)));return f.orderedModifiers=E.filter(function(d){return d.enabled}),x(),p.update()}
1,forceUpdate:function(){if(!b){var g=f.elements,R=g.reference,E=g.popper;if(nt(R,E)){f.rects={reference:Wr(R,le(E),f.options.strategy==="fixed"),popper:$e(E)},f.reset=!1,f.placement=f.options.placement,f.orderedModifiers.forEach(function(P){return f.modifiersData[P.name]=Object.assign({},P.data)});for(var d=0;d<f.orderedModifiers.length;d++){if(f.reset===!0){f.reset=!1,d=-1;continue}var y=f.orderedModifiers[d],w=y.fn,O=y.options,S=O===void 0?{}:O,k=y.name;typeof w=="function"&&(f=w({state:f,options:S,name:k,instance:p})||f)}}}},update:Vr(function(){return new Promise(function(v){p.forceUpdate(),v(f)})}),destroy:function(){h(),b=!0}};if(!nt(o,i))return p;p.setOptions(u).then(function(v){!b&&u.onFirstUpdate&&u.onFirstUpdate(v)});function x(){f.orderedModifiers.forEach(function(v){var g=v.name,R=v.options,E=R===void 0?{}:R,d=v.effect;if(typeof d=="function"){var y=d({state:f,name:g,instance:p,options:E}),w=function(){};m.push(y||w)}})}function h(){m.forEach(function(v){return v()}),m=[]}return p}}var qr=[pr,Cr,ur,_t,kr,Er,Tr,ir,Pr],Fr=Ir({defaultModifiers:qr});function Xr(e){const t=G(()=>ge(e.referenceElem)),r=G(()=>ge(e.popperElem)),n=e.options||{},a=jt(null);function s(o,i){a.value=Bt(e.callbackInit?.(o,i)??Fr(o,i,ge(n)))}function c(){const o=a.value;if(o)try{e.callbackDestroy?e.callbackDestroy(o):o.destroy()}finally{a.value=null}}return Q([t,r],([o,i])=>{c(),o&&i&&s(o,i)},{immediate:!0}),kt(c),(St(n)||Ct(n))&&Q(n,o=>{a.value&&a.value.setOptions(ge(o))},{deep:!0}),{instance:a}}function at(e){return G(()=>{const t=e(),r=typeof t=="number"?t:Number(t);return Math.max(0,r)})}function ot(e){return G(()=>Number(e()))}function Yr(e,t){const r=xe(e.value);return ke(e,n=>{n&&(r.value=!0)},{debounce:t.show}),ke(At(e),n=>{n&&(r.value=!1)},{debounce:t.hide}),r}function it(){const e=xe(null),t=ct(()=>{const r=ft(e);return r&&r instanceof HTMLElement?r:null});return{rawRef:e,sanitizedRef:t}}function st(e){const t=xe(!1);return Q(e,(r,n)=>{n&&(t.value=!1)}),{hover:t,listeners:{onMouseenter:()=>{t.value=!0},onMouseleave:()=>{t.value=!1}}}}function Ur(e){const t=De(e);return Lt(t)}const en=Tt({name:"SPopover",props:{show:Boolean,trigger:{type:String,default:"hover",validator:e=>e==="manual"||e==="hover"||e==="click"},placement:{type:String,default:"auto",validator:e=>Be.includes(e)},skidding:{type:[Number,String],default:0},distance:{type:[Number,String],default:0},showDelay:{type:[Number,String],default:0},hideDelay:{type:[Number,String],default:0},sameWidth:Boolean},emits:["update:show","click-outside"],setup(e,{slots:t,emit:r}){const n=at(()=>e.showDelay),a=at(()=>e.hideDelay),s=ot(()=>e.skidding),c=ot(()=>e.distance),{rawRef:o,sanitizedRef:i}
1=it(),{rawRef:u,sanitizedRef:f}=it(),m=De(new Set),b=G(()=>{if(m.size)for(const l of m)return l;return null}),p=ct(()=>b.value||f.value),x=De({placement:G(()=>e.placement),modifiers:[{name:"offset",options:{offset:G(()=>[s.value,c.value])}},$t({name:"sameWidth",enabled:e.sameWidth,phase:"beforeWrite",requires:["computeStyles"],fn:({state:l})=>{l.styles.popper.width=`${l.rects.reference.width}px`},effect:({state:l})=>{l.elements.reference instanceof HTMLElement&&(l.elements.popper.style.width=`${l.elements.reference.offsetWidth}px`)}})]}),{instance:h}=Xr({referenceElem:i,popperElem:p,options:x});Q([s,c],()=>{const l=h.value;l&&l.setOptions({...l.state.options,modifiers:(l.state.options.modifiers||[]).map(A=>A?.name==="offset"?{...A,options:{...A.options,offset:[s.value,c.value]}}:A)})});const v=xe(e.show);let g=!1;Q(()=>e.show,l=>{g||(g=!0,v.value=l,Mt(()=>{g=!1}))}),Q(v,l=>{g||Object.is(l,e.show)||r("update:show",l)});const E=Yr(v,{show:n,hide:a}),{hover:d,listeners:y}=st(i),{hover:w,listeners:O}=st(p),S=Dt(d,w);Rt(i,()=>{h.value?.update()}),ke(()=>e.trigger==="hover"&&[S.value],l=>{if(l){const[A]=l;v.value=A}},{debounce:50});function k(){e.trigger==="click"&&(v.value=!v.value)}Pt(p,l=>{l.composedPath().includes(ft(i))||(r("click-outside"),e.trigger==="click"&&(v.value=!1))});const P=Ur({show:E,popper:h,addPopperRefOverride:l=>m.add(l),deletePopperRefOverride:l=>m.delete(l)});return Wt(Ht,P),()=>{const l=t.trigger;if(!l)return null;let A;{const C=l();if(!C||C.length===0)return null;C.length,[A]=C}let D;if(!t.popper)D=null;else{const C=t.popper(P);C?.length?([D]=C,C.length>1):D=null}return[Ge(A,{ref:o,...y,onClick:k},!0),D&&Ge(D,{ref:u,...O},!0)]}}});export{en as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.