Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

vue3-popper

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue3-popper - npm Package Compare versions

Comparing version 1.2.1 to 1.3.0

2

dist/popper.min.js

@@ -1,1 +0,1 @@

var Popper=function(e){"use strict";function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?t(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function n(e,t,r,n,o,a,i){try{var p=e[a](i),c=p.value}catch(e){return void r(e)}p.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function p(e){n(i,o,a,p,c,"next",e)}function c(e){n(i,o,a,p,c,"throw",e)}p(void 0)}))}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==r)return;var n,o,a=[],i=!0,p=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){p=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(p)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t,r){var n,o,a,i,p;function c(){var s=Date.now()-i;s<t&&s>=0?n=setTimeout(c,t-s):(n=null,r||(p=e.apply(a,o),a=o=null))}null==t&&(t=100);var s=function(){a=this,o=arguments,i=Date.now();var s=r&&!n;return n||(n=setTimeout(c,t)),s&&(p=e.apply(a,o),a=o=null),p};return s.clear=function(){n&&(clearTimeout(n),n=null)},s.flush=function(){n&&(p=e.apply(a,o),a=o=null,clearTimeout(n),n=null)},s}c.debounce=c;var s=c;function u(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function f(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function l(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function d(e){return e instanceof f(e).Element||e instanceof Element}function v(e){return e instanceof f(e).HTMLElement||e instanceof HTMLElement}function m(e){return"undefined"!=typeof ShadowRoot&&(e instanceof f(e).ShadowRoot||e instanceof ShadowRoot)}function h(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){return((d(e)?e.ownerDocument:e.document)||window.document).documentElement}function y(e){return u(b(e)).left+l(e).scrollLeft}function g(e){return f(e).getComputedStyle(e)}function w(e){var t=g(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function x(e,t,r){void 0===r&&(r=!1);var n,o,a=b(t),i=u(e),p=v(t),c={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(p||!p&&!r)&&(("body"!==h(t)||w(a))&&(c=(n=t)!==f(n)&&v(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:l(n)),v(t)?((s=u(t)).x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=y(a))),{x:i.left+c.scrollLeft-s.x,y:i.top+c.scrollTop-s.y,width:i.width,height:i.height}}function O(e){var t=u(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 k(e){return"html"===h(e)?e:e.assignedSlot||e.parentNode||(m(e)?e.host:null)||b(e)}function P(e){return["html","body","#document"].indexOf(h(e))>=0?e.ownerDocument.body:v(e)&&w(e)?e:P(k(e))}function j(e,t){var r;void 0===t&&(t=[]);var n=P(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=f(n),i=o?[a].concat(a.visualViewport||[],w(n)?n:[]):n,p=t.concat(i);return o?p:p.concat(j(k(i)))}function D(e){return["table","td","th"].indexOf(h(e))>=0}function S(e){return v(e)&&"fixed"!==g(e).position?e.offsetParent:null}function E(e){for(var t=f(e),r=S(e);r&&D(r)&&"static"===g(r).position;)r=S(r);return r&&("html"===h(r)||"body"===h(r)&&"static"===g(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&v(e)&&"fixed"===g(e).position)return null;for(var r=k(e);v(r)&&["html","body"].indexOf(h(r))<0;){var n=g(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var A="top",B="bottom",T="right",L="left",M="auto",N=[A,B,T,L],C="start",R="end",I="viewport",W="popper",H=N.reduce((function(e,t){return e.concat([t+"-"+C,t+"-"+R])}),[]),V=[].concat(N,[M]).reduce((function(e,t){return e.concat([t,t+"-"+C,t+"-"+R])}),[]),_=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function q(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||o(e)})),n}function z(e){return e.split("-")[0]}var U=Math.max,F=Math.min,Y=Math.round;function $(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&m(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function K(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function X(e,t){return t===I?K(function(e){var t=f(e),r=b(e),n=t.visualViewport,o=r.clientWidth,a=r.clientHeight,i=0,p=0;return n&&(o=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,p=n.offsetTop)),{width:o,height:a,x:i+y(e),y:p}}(e)):v(t)?function(e){var t=u(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):K(function(e){var t,r=b(e),n=l(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=U(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=U(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),p=-n.scrollLeft+y(e),c=-n.scrollTop;return"rtl"===g(o||r).direction&&(p+=U(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:p,y:c}}(b(e)))}function G(e,t,r){var n="clippingParents"===t?function(e){var t=j(k(e)),r=["absolute","fixed"].indexOf(g(e).position)>=0&&v(e)?E(e):e;return d(r)?t.filter((function(e){return d(e)&&$(e,r)&&"body"!==h(e)})):[]}(e):[].concat(t),o=[].concat(n,[r]),a=o[0],i=o.reduce((function(t,r){var n=X(e,r);return t.top=U(n.top,t.top),t.right=F(n.right,t.right),t.bottom=F(n.bottom,t.bottom),t.left=U(n.left,t.left),t}),X(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function J(e){return e.split("-")[1]}function Q(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Z(e){var t,r=e.reference,n=e.element,o=e.placement,a=o?z(o):null,i=o?J(o):null,p=r.x+r.width/2-n.width/2,c=r.y+r.height/2-n.height/2;switch(a){case A:t={x:p,y:r.y-n.height};break;case B:t={x:p,y:r.y+r.height};break;case T:t={x:r.x+r.width,y:c};break;case L:t={x:r.x-n.width,y:c};break;default:t={x:r.x,y:r.y}}var s=a?Q(a):null;if(null!=s){var u="y"===s?"height":"width";switch(i){case C:t[s]=t[s]-(r[u]/2-n[u]/2);break;case R:t[s]=t[s]+(r[u]/2-n[u]/2)}}return t}function ee(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function te(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function re(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,a=r.boundary,i=void 0===a?"clippingParents":a,p=r.rootBoundary,c=void 0===p?I:p,s=r.elementContext,f=void 0===s?W:s,l=r.altBoundary,v=void 0!==l&&l,m=r.padding,h=void 0===m?0:m,y=ee("number"!=typeof h?h:te(h,N)),g=f===W?"reference":W,w=e.elements.reference,x=e.rects.popper,O=e.elements[v?g:f],k=G(d(O)?O:O.contextElement||b(e.elements.popper),i,c),P=u(w),j=Z({reference:P,element:x,strategy:"absolute",placement:o}),D=K(Object.assign({},x,j)),S=f===W?D:P,E={top:k.top-S.top+y.top,bottom:S.bottom-k.bottom+y.bottom,left:k.left-S.left+y.left,right:S.right-k.right+y.right},L=e.modifiersData.offset;if(f===W&&L){var M=L[o];Object.keys(E).forEach((function(e){var t=[T,B].indexOf(e)>=0?1:-1,r=[A,B].indexOf(e)>=0?"y":"x";E[e]+=M[r]*t}))}return E}var ne={placement:"bottom",modifiers:[],strategy:"absolute"};function oe(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ae(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,a=void 0===o?ne:o;return function(e,t,r){void 0===r&&(r=a);var o,i,p={placement:"bottom",orderedModifiers:[],options:Object.assign({},ne,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],s=!1,u={state:p,setOptions:function(r){f(),p.options=Object.assign({},a,p.options,r),p.scrollParents={reference:d(e)?j(e):e.contextElement?j(e.contextElement):[],popper:j(t)};var o,i,s=function(e){var t=q(e);return _.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((o=[].concat(n,p.options.modifiers),i=o.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(i).map((function(e){return i[e]}))));return p.orderedModifiers=s.filter((function(e){return e.enabled})),p.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var a=o({state:p,name:t,instance:u,options:n}),i=function(){};c.push(a||i)}})),u.update()},forceUpdate:function(){if(!s){var e=p.elements,t=e.reference,r=e.popper;if(oe(t,r)){p.rects={reference:x(t,E(r),"fixed"===p.options.strategy),popper:O(r)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach((function(e){return p.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<p.orderedModifiers.length;n++)if(!0!==p.reset){var o=p.orderedModifiers[n],a=o.fn,i=o.options,c=void 0===i?{}:i,f=o.name;"function"==typeof a&&(p=a({state:p,options:c,name:f,instance:u})||p)}else p.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(e){u.forceUpdate(),e(p)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){f(),s=!0}};if(!oe(e,t))return u;function f(){c.forEach((function(e){return e()})),c=[]}return u.setOptions(r).then((function(e){!s&&r.onFirstUpdate&&r.onFirstUpdate(e)})),u}}var ie={passive:!0};var pe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ce(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.offsets,i=e.position,p=e.gpuAcceleration,c=e.adaptive,s=e.roundOffsets,u=!0===s?function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:Y(Y(t*n)/n)||0,y:Y(Y(r*n)/n)||0}}(a):"function"==typeof s?s(a):a,l=u.x,d=void 0===l?0:l,v=u.y,m=void 0===v?0:v,h=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),w=L,x=A,O=window;if(c){var k=E(r),P="clientHeight",j="clientWidth";k===f(r)&&"static"!==g(k=b(r)).position&&(P="scrollHeight",j="scrollWidth"),k=k,o===A&&(x=B,m-=k[P]-n.height,m*=p?1:-1),o===L&&(w=T,d-=k[j]-n.width,d*=p?1:-1)}var D,S=Object.assign({position:i},c&&pe);return p?Object.assign({},S,((D={})[x]=y?"0":"",D[w]=h?"0":"",D.transform=(O.devicePixelRatio||1)<2?"translate("+d+"px, "+m+"px)":"translate3d("+d+"px, "+m+"px, 0)",D)):Object.assign({},S,((t={})[x]=y?m+"px":"",t[w]=h?d+"px":"",t.transform="",t))}var se=ae({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,i=n.resize,p=void 0===i||i,c=f(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&s.forEach((function(e){e.addEventListener("scroll",r.update,ie)})),p&&c.addEventListener("resize",r.update,ie),function(){a&&s.forEach((function(e){e.removeEventListener("scroll",r.update,ie)})),p&&c.removeEventListener("resize",r.update,ie)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=Z({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,a=r.adaptive,i=void 0===a||a,p=r.roundOffsets,c=void 0===p||p,s={placement:z(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ce(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ce(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];v(o)&&h(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(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(e){var n=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});v(n)&&h(n)&&(Object.assign(n.style,a),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]}]});function ue(e,t,r){return U(e,F(t,r))}var fe={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=void 0===o||o,i=r.altAxis,p=void 0!==i&&i,c=r.boundary,s=r.rootBoundary,u=r.altBoundary,f=r.padding,l=r.tether,d=void 0===l||l,v=r.tetherOffset,m=void 0===v?0:v,h=re(t,{boundary:c,rootBoundary:s,padding:f,altBoundary:u}),b=z(t.placement),y=J(t.placement),g=!y,w=Q(b),x="x"===w?"y":"x",k=t.modifiersData.popperOffsets,P=t.rects.reference,j=t.rects.popper,D="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,S={x:0,y:0};if(k){if(a||p){var M="y"===w?A:L,N="y"===w?B:T,R="y"===w?"height":"width",I=k[w],W=k[w]+h[M],H=k[w]-h[N],V=d?-j[R]/2:0,_=y===C?P[R]:j[R],q=y===C?-j[R]:-P[R],Y=t.elements.arrow,$=d&&Y?O(Y):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=K[M],G=K[N],Z=ue(0,P[R],$[R]),ee=g?P[R]/2-V-Z-X-D:_-Z-X-D,te=g?-P[R]/2+V+Z+G+D:q+Z+G+D,ne=t.elements.arrow&&E(t.elements.arrow),oe=ne?"y"===w?ne.clientTop||0:ne.clientLeft||0:0,ae=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,ie=k[w]+ee-ae-oe,pe=k[w]+te-ae;if(a){var ce=ue(d?F(W,ie):W,I,d?U(H,pe):H);k[w]=ce,S[w]=ce-I}if(p){var se="x"===w?A:L,fe="x"===w?B:T,le=k[x],de=le+h[se],ve=le-h[fe],me=ue(d?F(de,ie):de,le,d?U(ve,pe):ve);k[x]=me,S[x]=me-le}}t.modifiersData[n]=S}},requiresIfExists:["offset"]},le={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return le[e]}))}var ve={start:"end",end:"start"};function me(e){return e.replace(/start|end/g,(function(e){return ve[e]}))}function he(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,p=r.flipVariations,c=r.allowedAutoPlacements,s=void 0===c?V:c,u=J(n),f=u?p?H:H.filter((function(e){return J(e)===u})):N,l=f.filter((function(e){return s.indexOf(e)>=0}));0===l.length&&(l=f);var d=l.reduce((function(t,r){return t[r]=re(e,{placement:r,boundary:o,rootBoundary:a,padding:i})[z(r)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var be={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=void 0===o||o,i=r.altAxis,p=void 0===i||i,c=r.fallbackPlacements,s=r.padding,u=r.boundary,f=r.rootBoundary,l=r.altBoundary,d=r.flipVariations,v=void 0===d||d,m=r.allowedAutoPlacements,h=t.options.placement,b=z(h),y=c||(b===h||!v?[de(h)]:function(e){if(z(e)===M)return[];var t=de(e);return[me(e),t,me(t)]}(h)),g=[h].concat(y).reduce((function(e,r){return e.concat(z(r)===M?he(t,{placement:r,boundary:u,rootBoundary:f,padding:s,flipVariations:v,allowedAutoPlacements:m}):r)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,k=!0,P=g[0],j=0;j<g.length;j++){var D=g[j],S=z(D),E=J(D)===C,N=[A,B].indexOf(S)>=0,R=N?"width":"height",I=re(t,{placement:D,boundary:u,rootBoundary:f,altBoundary:l,padding:s}),W=N?E?T:L:E?B:A;w[R]>x[R]&&(W=de(W));var H=de(W),V=[];if(a&&V.push(I[S]<=0),p&&V.push(I[W]<=0,I[H]<=0),V.every((function(e){return e}))){P=D,k=!1;break}O.set(D,V)}if(k)for(var _=function(e){var t=g.find((function(t){var r=O.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},q=v?3:1;q>0;q--){if("break"===_(q))break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};var ye={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=void 0===o?[0,0]:o,i=V.reduce((function(e,r){return e[r]=function(e,t,r){var n=z(e),o=[L,A].indexOf(n)>=0?-1:1,a="function"==typeof r?r(Object.assign({},t,{placement:e})):r,i=a[0],p=a[1];return i=i||0,p=(p||0)*o,[L,T].indexOf(n)>=0?{x:p,y:i}:{x:i,y:p}}(r,t.rects,a),e}),{}),p=i[t.placement],c=p.x,s=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=s),t.modifiersData[n]=i}};var ge={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,i=r.modifiersData.popperOffsets,p=z(r.placement),c=Q(p),s=[L,T].indexOf(p)>=0?"height":"width";if(a&&i){var u=function(e,t){return ee("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:te(e,N))}(o.padding,r),f=O(a),l="y"===c?A:L,d="y"===c?B:T,v=r.rects.reference[s]+r.rects.reference[c]-i[c]-r.rects.popper[s],m=i[c]-r.rects.reference[c],h=E(a),b=h?"y"===c?h.clientHeight||0:h.clientWidth||0:0,y=v/2-m/2,g=u[l],w=b-f[s]-u[d],x=b/2-f[s]/2+y,k=ue(g,x,w),P=c;r.modifiersData[n]=((t={})[P]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&$(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},we=function(e){return parseInt(e,10)};var xe={beforeMount:function(e,t){e.clickAwayEvent=function(r){e!=r.target&&!e.contains(r.target)&&t.value.enabled&&t.value.handler()},document.addEventListener("click",e.clickAwayEvent)},unmounted:function(e){document.removeEventListener("click",e.clickAwayEvent)}},Oe=function(e){return new Promise((function(t){return setTimeout(t,e)}))},ke=e.defineComponent({name:"Popper",emits:["open:popper","close:popper"],directives:{clickAway:xe},props:{placement:{type:String,default:"bottom",validator:function(e){return["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"].includes(e)}},disableClickAway:{type:Boolean,default:!1},offsetSkid:{type:String,default:"0"},offsetDistance:{type:String,default:"12"},hover:{type:Boolean,default:!1},show:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:9999},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0},content:{type:String,default:null}},setup:function(t,n){var a=n.slots,p=n.emit,c=a.default();if(c&&c.length>1)return console.error("[Popper]: The <Popper> component expects only one child element at its root. You passed ".concat(c.length," child nodes."));var u=e.ref(null),f=e.ref(null),l=e.ref(!1),d=e.toRefs(t),v=d.arrowPadding,m=d.closeDelay,h=d.content,b=d.disableClickAway,y=d.disabled,g=d.interactive,w=d.show,x=d.offsetDistance,O=d.offsetSkid,k=d.openDelay,P=d.placement,j=function(t){var n=t.arrowPadding,a=t.emit,p=t.offsetDistance,c=t.offsetSkid,s=t.placement,u=t.popperNode,f=t.triggerNode,l=e.reactive({isOpen:!1,popperInstance:null});e.watch([function(){return l.isOpen},s],(function(e){i(e,1)[0]&&d()}));var d=function(){var t=o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.nextTick();case 2:l.popperInstance=se(f.value,u.value,{placement:s.value,modifiers:[fe,be,ge,{name:"arrow",options:{padding:we(n.value)}},ye,{name:"offset",options:{offset:[we(c.value),we(p.value)]}}]}),l.popperInstance.update();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return e.onBeforeUnmount((function(){var e;null===(e=l.popperInstance)||void 0===e||e.destroy()})),r(r({},e.toRefs(l)),{},{open:function(){l.isOpen||(l.isOpen=!0,a("open:popper"))},close:function(){l.isOpen&&(l.isOpen=!1,a("close:popper"))}})}({arrowPadding:v,emit:p,offsetDistance:x,offsetSkid:O,placement:P,popperNode:u,triggerNode:f}),D=j.isOpen,S=j.open,E=j.close,A=function(t,r,n){var o=null,a=e.ref(!1);e.onMounted((function(){(void 0!==t.content||n.value)&&(a.value=!0),(o=new MutationObserver(i)).observe(r.value,{childList:!0,subtree:!0})})),e.onBeforeUnmount((function(){return o.disconnect()})),e.watch(n,(function(e){a.value=!!e}));var i=function(){t.content?a.value=!0:a.value=!1};return{hasContent:a}}(a,u,h).hasContent,B=e.computed((function(){return null!==w.value})),T=e.computed((function(){return y.value||!A.value})),L=e.computed((function(){return D.value&&!T.value})),M=e.computed((function(){return!b.value&&!B.value})),N=e.computed((function(){return g.value?"border: ".concat(x.value,"px solid transparent; margin: -").concat(x.value,"px;"):null})),C=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!T.value&&!B.value){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Oe(k.value);case 4:S();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),R=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!B.value){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Oe(m.value);case 4:E();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return e.watch([A,y],(function(e){var t=i(e,2),r=t[0],n=t[1];!D.value||r&&!n||E()})),e.watch(D,(function(e){e?l.value=!0:s.debounce((function(){l.value=!1}),200)})),e.watchEffect((function(){B.value&&(w.value?Oe(k.value).then(S):Oe(m.value).then(E))})),{popperNode:u,triggerNode:f,close:E,shouldShowPopper:L,enableClickAway:M,modifiedIsOpen:l,interactive:g,interactiveStyle:N,content:h,togglePopper:function(){D.value?R():C()},closePopper:R,openPopper:C}}}),Pe=function(){e.useCssVars((function(e){return{23121010:e.zIndex}}))},je=ke.setup;ke.setup=je?function(e,t){return Pe(),je(e,t)}:Pe;var De=e.withScopeId("data-v-48ac0994");e.pushScopeId("data-v-48ac0994");var Se={key:0,id:"arrow","data-popper-arrow":""};e.popScopeId();var Ee=De((function(t,r,n,o,a,i){var p=e.resolveDirective("click-away");return e.withDirectives((e.openBlock(),e.createBlock("div",{style:t.interactiveStyle,onMouseleave:r[6]||(r[6]=function(e){return t.hover&&t.closePopper()})},[e.createVNode("div",{ref:"triggerNode",onMouseover:r[1]||(r[1]=function(e){return t.hover&&t.openPopper()}),onClick:r[2]||(r[2]=function(){return t.togglePopper&&t.togglePopper.apply(t,arguments)}),onFocus:r[3]||(r[3]=function(){return t.openPopper&&t.openPopper.apply(t,arguments)}),onKeyup:r[4]||(r[4]=e.withKeys((function(){return t.closePopper&&t.closePopper.apply(t,arguments)}),["esc"])),class:"inline-block"},[e.renderSlot(t.$slots,"default")],544),e.createVNode(e.Transition,{name:"fade"},{default:De((function(){return[e.withDirectives(e.createVNode("div",{onClick:r[5]||(r[5]=function(e){return!t.interactive&&t.closePopper()}),class:["popper",t.shouldShowPopper?"inline-block":null],ref:"popperNode"},[e.renderSlot(t.$slots,"content",{close:t.close,isOpen:t.modifiedIsOpen},(function(){return[e.createTextVNode(e.toDisplayString(t.content),1)]})),t.arrow?(e.openBlock(),e.createBlock("div",Se)):e.createCommentVNode("",!0)],2),[[e.vShow,t.shouldShowPopper]])]})),_:3})],36)),[[p,{handler:t.closePopper,enabled:t.enableClickAway}]])}));!function(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('\n#arrow[data-v-48ac0994],\n #arrow[data-v-48ac0994]::before {\n transition: background 250ms ease-in-out;\n position: absolute;\n width: calc(10px - var(--popper-theme-border-width, 0px));\n height: calc(10px - var(--popper-theme-border-width, 0px));\n box-sizing: border-box;\n background: var(--popper-theme-background-color);\n}\n#arrow[data-v-48ac0994] {\n visibility: hidden;\n}\n#arrow[data-v-48ac0994]::before {\n visibility: visible;\n content: "";\n transform: rotate(45deg);\n}\n\n /* Top arrow */\n.popper[data-popper-placement^="top"] > #arrow[data-v-48ac0994] {\n bottom: -5px;\n}\n.popper[data-popper-placement^="top"] > #arrow[data-v-48ac0994]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-bottom: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Bottom arrow */\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-48ac0994] {\n top: -5px;\n}\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-48ac0994]::before {\n border-left: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Left arrow */\n.popper[data-popper-placement^="left"] > #arrow[data-v-48ac0994] {\n right: -5px;\n}\n.popper[data-popper-placement^="left"] > #arrow[data-v-48ac0994]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Right arrow */\n.popper[data-popper-placement^="right"] > #arrow[data-v-48ac0994] {\n left: -5px;\n}\n.popper[data-popper-placement^="right"] > #arrow[data-v-48ac0994]::before {\n border-left: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-bottom: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n.popper[data-v-48ac0994] {\n transition: background 250ms ease-in-out;\n background: var(--popper-theme-background-color);\n padding: var(--popper-theme-padding);\n color: var(--popper-theme-text-color);\n border-radius: var(--popper-theme-border-radius);\n border-width: var(--popper-theme-border-width);\n border-style: var(--popper-theme-border-style);\n border-color: var(--popper-theme-border-color);\n box-shadow: var(--popper-theme-box-shadow);\n z-index: var(--23121010);\n}\n.popper[data-v-48ac0994]:hover,\n .popper:hover > #arrow[data-v-48ac0994]::before {\n background: var(--popper-theme-background-color-hover);\n}\n.inline-block[data-v-48ac0994] {\n display: inline-block;\n}\n.fade-enter-active[data-v-48ac0994],\n .fade-leave-active[data-v-48ac0994] {\n transition: opacity 0.2s ease;\n}\n.fade-enter-from[data-v-48ac0994],\n .fade-leave-to[data-v-48ac0994] {\n opacity: 0;\n}\n'),ke.render=Ee,ke.__scopeId="data-v-48ac0994";var Ae=function(){var e=ke;return e.install=function(t){t.component("Popper",e)},e}(),Be=Object.freeze({__proto__:null,default:Ae});return Object.entries(Be).forEach((function(e){var t=i(e,2),r=t[0],n=t[1];"default"!==r&&(Ae[r]=n)})),Ae}(Vue);
var Popper=function(e){"use strict";function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function r(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};r%2?t(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function n(e,t,r,n,o,a,i){try{var p=e[a](i),c=p.value}catch(e){return void r(e)}p.done?t(c):Promise.resolve(c).then(n,o)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(o,a){var i=e.apply(t,r);function p(e){n(i,o,a,p,c,"next",e)}function c(e){n(i,o,a,p,c,"throw",e)}p(void 0)}))}}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,a=[],i=!0,p=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){p=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(p)throw o}}return a}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return p(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return p(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function c(e,t,r){var n,o,a,i,p;function c(){var s=Date.now()-i;s<t&&s>=0?n=setTimeout(c,t-s):(n=null,r||(p=e.apply(a,o),a=o=null))}null==t&&(t=100);var s=function(){a=this,o=arguments,i=Date.now();var s=r&&!n;return n||(n=setTimeout(c,t)),s&&(p=e.apply(a,o),a=o=null),p};return s.clear=function(){n&&(clearTimeout(n),n=null)},s.flush=function(){n&&(p=e.apply(a,o),a=o=null,clearTimeout(n),n=null)},s}c.debounce=c;var s=c;function f(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function u(e){return e instanceof f(e).Element||e instanceof Element}function l(e){return e instanceof f(e).HTMLElement||e instanceof HTMLElement}function d(e){return"undefined"!=typeof ShadowRoot&&(e instanceof f(e).ShadowRoot||e instanceof ShadowRoot)}var v=Math.round;function m(e,t){void 0===t&&(t=!1);var r=e.getBoundingClientRect(),n=1,o=1;return l(e)&&t&&(n=r.width/e.offsetWidth||1,o=r.height/e.offsetHeight||1),{width:v(r.width/n),height:v(r.height/o),top:v(r.top/o),right:v(r.right/n),bottom:v(r.bottom/o),left:v(r.left/n),x:v(r.left/n),y:v(r.top/o)}}function h(e){var t=f(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function b(e){return e?(e.nodeName||"").toLowerCase():null}function y(e){return((u(e)?e.ownerDocument:e.document)||window.document).documentElement}function g(e){return m(y(e)).left+h(e).scrollLeft}function w(e){return f(e).getComputedStyle(e)}function x(e){var t=w(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function O(e,t,r){void 0===r&&(r=!1);var n,o,a=l(t),i=l(t)&&function(e){var t=e.getBoundingClientRect(),r=t.width/e.offsetWidth||1,n=t.height/e.offsetHeight||1;return 1!==r||1!==n}(t),p=y(t),c=m(e,i),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(a||!a&&!r)&&(("body"!==b(t)||x(p))&&(s=(n=t)!==f(n)&&l(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:h(n)),l(t)?((u=m(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):p&&(u.x=g(p))),{x:c.left+s.scrollLeft-u.x,y:c.top+s.scrollTop-u.y,width:c.width,height:c.height}}function k(e){var t=m(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 P(e){return"html"===b(e)?e:e.assignedSlot||e.parentNode||(d(e)?e.host:null)||y(e)}function j(e){return["html","body","#document"].indexOf(b(e))>=0?e.ownerDocument.body:l(e)&&x(e)?e:j(P(e))}function D(e,t){var r;void 0===t&&(t=[]);var n=j(e),o=n===(null==(r=e.ownerDocument)?void 0:r.body),a=f(n),i=o?[a].concat(a.visualViewport||[],x(n)?n:[]):n,p=t.concat(i);return o?p:p.concat(D(P(i)))}function E(e){return["table","td","th"].indexOf(b(e))>=0}function S(e){return l(e)&&"fixed"!==w(e).position?e.offsetParent:null}function A(e){for(var t=f(e),r=S(e);r&&E(r)&&"static"===w(r).position;)r=S(r);return r&&("html"===b(r)||"body"===b(r)&&"static"===w(r).position)?t:r||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&l(e)&&"fixed"===w(e).position)return null;for(var r=P(e);l(r)&&["html","body"].indexOf(b(r))<0;){var n=w(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}(e)||t}var B="top",T="bottom",C="right",M="left",L="auto",N=[B,T,C,M],R="start",I="end",W="viewport",H="popper",V=N.reduce((function(e,t){return e.concat([t+"-"+R,t+"-"+I])}),[]),z=[].concat(N,[L]).reduce((function(e,t){return e.concat([t,t+"-"+R,t+"-"+I])}),[]),_=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function q(e){var t=new Map,r=new Set,n=[];function o(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!r.has(e)){var n=t.get(e);n&&o(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){r.has(e.name)||o(e)})),n}function U(e){return e.split("-")[0]}var F=Math.max,Y=Math.min,$=Math.round;function K(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&d(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function X(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function G(e,t){return t===W?X(function(e){var t=f(e),r=y(e),n=t.visualViewport,o=r.clientWidth,a=r.clientHeight,i=0,p=0;return n&&(o=n.width,a=n.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=n.offsetLeft,p=n.offsetTop)),{width:o,height:a,x:i+g(e),y:p}}(e)):l(t)?function(e){var t=m(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):X(function(e){var t,r=y(e),n=h(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=F(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=F(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),p=-n.scrollLeft+g(e),c=-n.scrollTop;return"rtl"===w(o||r).direction&&(p+=F(r.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:p,y:c}}(y(e)))}function J(e,t,r){var n="clippingParents"===t?function(e){var t=D(P(e)),r=["absolute","fixed"].indexOf(w(e).position)>=0&&l(e)?A(e):e;return u(r)?t.filter((function(e){return u(e)&&K(e,r)&&"body"!==b(e)})):[]}(e):[].concat(t),o=[].concat(n,[r]),a=o[0],i=o.reduce((function(t,r){var n=G(e,r);return t.top=F(n.top,t.top),t.right=Y(n.right,t.right),t.bottom=Y(n.bottom,t.bottom),t.left=F(n.left,t.left),t}),G(e,a));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}function Q(e){return e.split("-")[1]}function Z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function ee(e){var t,r=e.reference,n=e.element,o=e.placement,a=o?U(o):null,i=o?Q(o):null,p=r.x+r.width/2-n.width/2,c=r.y+r.height/2-n.height/2;switch(a){case B:t={x:p,y:r.y-n.height};break;case T:t={x:p,y:r.y+r.height};break;case C:t={x:r.x+r.width,y:c};break;case M:t={x:r.x-n.width,y:c};break;default:t={x:r.x,y:r.y}}var s=a?Z(a):null;if(null!=s){var f="y"===s?"height":"width";switch(i){case R:t[s]=t[s]-(r[f]/2-n[f]/2);break;case I:t[s]=t[s]+(r[f]/2-n[f]/2)}}return t}function te(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function re(e,t){return t.reduce((function(t,r){return t[r]=e,t}),{})}function ne(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=void 0===n?e.placement:n,a=r.boundary,i=void 0===a?"clippingParents":a,p=r.rootBoundary,c=void 0===p?W:p,s=r.elementContext,f=void 0===s?H:s,l=r.altBoundary,d=void 0!==l&&l,v=r.padding,h=void 0===v?0:v,b=te("number"!=typeof h?h:re(h,N)),g=f===H?"reference":H,w=e.elements.reference,x=e.rects.popper,O=e.elements[d?g:f],k=J(u(O)?O:O.contextElement||y(e.elements.popper),i,c),P=m(w),j=ee({reference:P,element:x,strategy:"absolute",placement:o}),D=X(Object.assign({},x,j)),E=f===H?D:P,S={top:k.top-E.top+b.top,bottom:E.bottom-k.bottom+b.bottom,left:k.left-E.left+b.left,right:E.right-k.right+b.right},A=e.modifiersData.offset;if(f===H&&A){var M=A[o];Object.keys(S).forEach((function(e){var t=[C,T].indexOf(e)>=0?1:-1,r=[B,T].indexOf(e)>=0?"y":"x";S[e]+=M[r]*t}))}return S}var oe={placement:"bottom",modifiers:[],strategy:"absolute"};function ae(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ie(e){void 0===e&&(e={});var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,o=t.defaultOptions,a=void 0===o?oe:o;return function(e,t,r){void 0===r&&(r=a);var o,i,p={placement:"bottom",orderedModifiers:[],options:Object.assign({},oe,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],s=!1,f={state:p,setOptions:function(r){l(),p.options=Object.assign({},a,p.options,r),p.scrollParents={reference:u(e)?D(e):e.contextElement?D(e.contextElement):[],popper:D(t)};var o,i,s=function(e){var t=q(e);return _.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}((o=[].concat(n,p.options.modifiers),i=o.reduce((function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e}),{}),Object.keys(i).map((function(e){return i[e]}))));return p.orderedModifiers=s.filter((function(e){return e.enabled})),p.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,o=e.effect;if("function"==typeof o){var a=o({state:p,name:t,instance:f,options:n}),i=function(){};c.push(a||i)}})),f.update()},forceUpdate:function(){if(!s){var e=p.elements,t=e.reference,r=e.popper;if(ae(t,r)){p.rects={reference:O(t,A(r),"fixed"===p.options.strategy),popper:k(r)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach((function(e){return p.modifiersData[e.name]=Object.assign({},e.data)}));for(var n=0;n<p.orderedModifiers.length;n++)if(!0!==p.reset){var o=p.orderedModifiers[n],a=o.fn,i=o.options,c=void 0===i?{}:i,u=o.name;"function"==typeof a&&(p=a({state:p,options:c,name:u,instance:f})||p)}else p.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(e){f.forceUpdate(),e(p)}))},function(){return i||(i=new Promise((function(e){Promise.resolve().then((function(){i=void 0,e(o())}))}))),i}),destroy:function(){l(),s=!0}};if(!ae(e,t))return f;function l(){c.forEach((function(e){return e()})),c=[]}return f.setOptions(r).then((function(e){!s&&r.onFirstUpdate&&r.onFirstUpdate(e)})),f}}var pe={passive:!0};var ce={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t,r=e.popper,n=e.popperRect,o=e.placement,a=e.offsets,i=e.position,p=e.gpuAcceleration,c=e.adaptive,s=e.roundOffsets,u=!0===s?function(e){var t=e.x,r=e.y,n=window.devicePixelRatio||1;return{x:$($(t*n)/n)||0,y:$($(r*n)/n)||0}}(a):"function"==typeof s?s(a):a,l=u.x,d=void 0===l?0:l,v=u.y,m=void 0===v?0:v,h=a.hasOwnProperty("x"),b=a.hasOwnProperty("y"),g=M,x=B,O=window;if(c){var k=A(r),P="clientHeight",j="clientWidth";k===f(r)&&"static"!==w(k=y(r)).position&&(P="scrollHeight",j="scrollWidth"),k=k,o===B&&(x=T,m-=k[P]-n.height,m*=p?1:-1),o===M&&(g=C,d-=k[j]-n.width,d*=p?1:-1)}var D,E=Object.assign({position:i},c&&ce);return p?Object.assign({},E,((D={})[x]=b?"0":"",D[g]=h?"0":"",D.transform=(O.devicePixelRatio||1)<2?"translate("+d+"px, "+m+"px)":"translate3d("+d+"px, "+m+"px, 0)",D)):Object.assign({},E,((t={})[x]=b?m+"px":"",t[g]=h?d+"px":"",t.transform="",t))}var fe=ie({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,o=n.scroll,a=void 0===o||o,i=n.resize,p=void 0===i||i,c=f(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&s.forEach((function(e){e.addEventListener("scroll",r.update,pe)})),p&&c.addEventListener("resize",r.update,pe),function(){a&&s.forEach((function(e){e.removeEventListener("scroll",r.update,pe)})),p&&c.removeEventListener("resize",r.update,pe)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=ee({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,o=void 0===n||n,a=r.adaptive,i=void 0===a||a,p=r.roundOffsets,c=void 0===p||p,s={placement:U(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,se(Object.assign({},s,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,se(Object.assign({},s,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},o=t.elements[e];l(o)&&b(o)&&(Object.assign(o.style,r),Object.keys(n).forEach((function(e){var t=n[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(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(e){var n=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce((function(e,t){return e[t]="",e}),{});l(n)&&b(n)&&(Object.assign(n.style,a),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]}]});function ue(e,t,r){return F(e,Y(t,r))}var le={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.mainAxis,a=void 0===o||o,i=r.altAxis,p=void 0!==i&&i,c=r.boundary,s=r.rootBoundary,f=r.altBoundary,u=r.padding,l=r.tether,d=void 0===l||l,v=r.tetherOffset,m=void 0===v?0:v,h=ne(t,{boundary:c,rootBoundary:s,padding:u,altBoundary:f}),b=U(t.placement),y=Q(t.placement),g=!y,w=Z(b),x="x"===w?"y":"x",O=t.modifiersData.popperOffsets,P=t.rects.reference,j=t.rects.popper,D="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,E={x:0,y:0};if(O){if(a||p){var S="y"===w?B:M,L="y"===w?T:C,N="y"===w?"height":"width",I=O[w],W=O[w]+h[S],H=O[w]-h[L],V=d?-j[N]/2:0,z=y===R?P[N]:j[N],_=y===R?-j[N]:-P[N],q=t.elements.arrow,$=d&&q?k(q):{width:0,height:0},K=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},X=K[S],G=K[L],J=ue(0,P[N],$[N]),ee=g?P[N]/2-V-J-X-D:z-J-X-D,te=g?-P[N]/2+V+J+G+D:_+J+G+D,re=t.elements.arrow&&A(t.elements.arrow),oe=re?"y"===w?re.clientTop||0:re.clientLeft||0:0,ae=t.modifiersData.offset?t.modifiersData.offset[t.placement][w]:0,ie=O[w]+ee-ae-oe,pe=O[w]+te-ae;if(a){var ce=ue(d?Y(W,ie):W,I,d?F(H,pe):H);O[w]=ce,E[w]=ce-I}if(p){var se="x"===w?B:M,fe="x"===w?T:C,le=O[x],de=le+h[se],ve=le-h[fe],me=ue(d?Y(de,ie):de,le,d?F(ve,pe):ve);O[x]=me,E[x]=me-le}}t.modifiersData[n]=E}},requiresIfExists:["offset"]},de={left:"right",right:"left",bottom:"top",top:"bottom"};function ve(e){return e.replace(/left|right|bottom|top/g,(function(e){return de[e]}))}var me={start:"end",end:"start"};function he(e){return e.replace(/start|end/g,(function(e){return me[e]}))}function be(e,t){void 0===t&&(t={});var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,p=r.flipVariations,c=r.allowedAutoPlacements,s=void 0===c?z:c,f=Q(n),u=f?p?V:V.filter((function(e){return Q(e)===f})):N,l=u.filter((function(e){return s.indexOf(e)>=0}));0===l.length&&(l=u);var d=l.reduce((function(t,r){return t[r]=ne(e,{placement:r,boundary:o,rootBoundary:a,padding:i})[U(r)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}var ye={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var o=r.mainAxis,a=void 0===o||o,i=r.altAxis,p=void 0===i||i,c=r.fallbackPlacements,s=r.padding,f=r.boundary,u=r.rootBoundary,l=r.altBoundary,d=r.flipVariations,v=void 0===d||d,m=r.allowedAutoPlacements,h=t.options.placement,b=U(h),y=c||(b===h||!v?[ve(h)]:function(e){if(U(e)===L)return[];var t=ve(e);return[he(e),t,he(t)]}(h)),g=[h].concat(y).reduce((function(e,r){return e.concat(U(r)===L?be(t,{placement:r,boundary:f,rootBoundary:u,padding:s,flipVariations:v,allowedAutoPlacements:m}):r)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,k=!0,P=g[0],j=0;j<g.length;j++){var D=g[j],E=U(D),S=Q(D)===R,A=[B,T].indexOf(E)>=0,N=A?"width":"height",I=ne(t,{placement:D,boundary:f,rootBoundary:u,altBoundary:l,padding:s}),W=A?S?C:M:S?T:B;w[N]>x[N]&&(W=ve(W));var H=ve(W),V=[];if(a&&V.push(I[E]<=0),p&&V.push(I[W]<=0,I[H]<=0),V.every((function(e){return e}))){P=D,k=!1;break}O.set(D,V)}if(k)for(var z=function(e){var t=g.find((function(t){var r=O.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},_=v?3:1;_>0;_--){if("break"===z(_))break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};var ge={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,o=r.offset,a=void 0===o?[0,0]:o,i=z.reduce((function(e,r){return e[r]=function(e,t,r){var n=U(e),o=[M,B].indexOf(n)>=0?-1:1,a="function"==typeof r?r(Object.assign({},t,{placement:e})):r,i=a[0],p=a[1];return i=i||0,p=(p||0)*o,[M,C].indexOf(n)>=0?{x:p,y:i}:{x:i,y:p}}(r,t.rects,a),e}),{}),p=i[t.placement],c=p.x,s=p.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=s),t.modifiersData[n]=i}};var we={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,o=e.options,a=r.elements.arrow,i=r.modifiersData.popperOffsets,p=U(r.placement),c=Z(p),s=[M,C].indexOf(p)>=0?"height":"width";if(a&&i){var f=function(e,t){return te("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:re(e,N))}(o.padding,r),u=k(a),l="y"===c?B:M,d="y"===c?T:C,v=r.rects.reference[s]+r.rects.reference[c]-i[c]-r.rects.popper[s],m=i[c]-r.rects.reference[c],h=A(a),b=h?"y"===c?h.clientHeight||0:h.clientWidth||0:0,y=v/2-m/2,g=f[l],w=b-u[s]-f[d],x=b/2-u[s]/2+y,O=ue(g,x,w),P=c;r.modifiersData[n]=((t={})[P]=O,t.centerOffset=O-x,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&K(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},xe=function(e){return parseInt(e,10)};var Oe={beforeMount:function(e,t){e.clickAwayEvent=function(r){e!=r.target&&!e.contains(r.target)&&t.value.enabled&&t.value.handler()},document.addEventListener("click",e.clickAwayEvent)},unmounted:function(e){document.removeEventListener("click",e.clickAwayEvent)}},ke=function(e){return new Promise((function(t){return setTimeout(t,e)}))},Pe=e.defineComponent({name:"Popper",emits:["open:popper","close:popper"],directives:{clickAway:Oe},props:{placement:{type:String,default:"bottom",validator:function(e){return["auto","auto-start","auto-end","top","top-start","top-end","bottom","bottom-start","bottom-end","right","right-start","right-end","left","left-start","left-end"].includes(e)}},disableClickAway:{type:Boolean,default:!1},offsetSkid:{type:String,default:"0"},offsetDistance:{type:String,default:"12"},hover:{type:Boolean,default:!1},show:{type:Boolean,default:null},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},zIndex:{type:[Number,String],default:9999},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0},locked:{type:Boolean,default:!1},content:{type:String,default:null}},setup:function(t,n){var a=n.slots,p=n.emit,c=a.default();if(c&&c.length>1)return console.error("[Popper]: The <Popper> component expects only one child element at its root. You passed ".concat(c.length," child nodes."));var f=e.ref(null),u=e.ref(null),l=e.ref(!1),d=e.toRefs(t),v=d.arrowPadding,m=d.closeDelay,h=d.content,b=d.disableClickAway,y=d.disabled,g=d.interactive,w=d.locked,x=d.offsetDistance,O=d.offsetSkid,k=d.openDelay,P=d.placement,j=d.show,D=function(t){var n=t.arrowPadding,a=t.emit,p=t.locked,c=t.offsetDistance,s=t.offsetSkid,f=t.placement,u=t.popperNode,l=t.triggerNode,d=e.reactive({isOpen:!1,popperInstance:null});e.watch([function(){return d.isOpen},f],(function(e){i(e,1)[0]&&v()}));var v=function(){var t=o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.nextTick();case 2:d.popperInstance=fe(l.value,u.value,{placement:f.value,modifiers:[le,ye,{name:"flip",enabled:!p.value},we,{name:"arrow",options:{padding:xe(n.value)}},ge,{name:"offset",options:{offset:[xe(s.value),xe(c.value)]}}]}),d.popperInstance.update();case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}();return e.onBeforeUnmount((function(){var e;null===(e=d.popperInstance)||void 0===e||e.destroy()})),r(r({},e.toRefs(d)),{},{open:function(){d.isOpen||(d.isOpen=!0,a("open:popper"))},close:function(){d.isOpen&&(d.isOpen=!1,a("close:popper"))}})}({arrowPadding:v,emit:p,locked:w,offsetDistance:x,offsetSkid:O,placement:P,popperNode:f,triggerNode:u}),E=D.isOpen,S=D.open,A=D.close,B=function(t,r,n){var o=null,a=e.ref(!1);e.onMounted((function(){(void 0!==t.content||n.value)&&(a.value=!0),(o=new MutationObserver(i)).observe(r.value,{childList:!0,subtree:!0})})),e.onBeforeUnmount((function(){return o.disconnect()})),e.watch(n,(function(e){a.value=!!e}));var i=function(){t.content?a.value=!0:a.value=!1};return{hasContent:a}}(a,f,h).hasContent,T=e.computed((function(){return null!==j.value})),C=e.computed((function(){return y.value||!B.value})),M=e.computed((function(){return E.value&&!C.value})),L=e.computed((function(){return!b.value&&!T.value})),N=e.computed((function(){return g.value?"border: ".concat(x.value,"px solid transparent; margin: -").concat(x.value,"px;"):null})),R=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!C.value&&!T.value){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,ke(k.value);case 4:S();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),I=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!T.value){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,ke(m.value);case 4:A();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return e.watch([B,y],(function(e){var t=i(e,2),r=t[0],n=t[1];!E.value||r&&!n||A()})),e.watch(E,(function(e){e?l.value=!0:s.debounce((function(){l.value=!1}),200)})),e.watchEffect((function(){T.value&&(j.value?ke(k.value).then(S):ke(m.value).then(A))})),{popperNode:f,triggerNode:u,close:A,shouldShowPopper:M,enableClickAway:L,modifiedIsOpen:l,interactive:g,interactiveStyle:N,content:h,togglePopper:function(){E.value?I():R()},closePopper:I,openPopper:R}}}),je=function(){e.useCssVars((function(e){return{"5d153e2f":e.zIndex}}))},De=Pe.setup;Pe.setup=De?function(e,t){return je(),De(e,t)}:je;var Ee=Pe;e.pushScopeId("data-v-7fd39a94");var Se={key:0,id:"arrow","data-popper-arrow":""};e.popScopeId();!function(e,t){void 0===t&&(t={});var r=t.insertAt;if(e&&"undefined"!=typeof document){var n=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&n.firstChild?n.insertBefore(o,n.firstChild):n.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('\n#arrow[data-v-7fd39a94],\n #arrow[data-v-7fd39a94]::before {\n transition: background 250ms ease-in-out;\n position: absolute;\n width: calc(10px - var(--popper-theme-border-width, 0px));\n height: calc(10px - var(--popper-theme-border-width, 0px));\n box-sizing: border-box;\n background: var(--popper-theme-background-color);\n}\n#arrow[data-v-7fd39a94] {\n visibility: hidden;\n}\n#arrow[data-v-7fd39a94]::before {\n visibility: visible;\n content: "";\n transform: rotate(45deg);\n}\n\n /* Top arrow */\n.popper[data-popper-placement^="top"] > #arrow[data-v-7fd39a94] {\n bottom: -5px;\n}\n.popper[data-popper-placement^="top"] > #arrow[data-v-7fd39a94]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-bottom: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Bottom arrow */\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-7fd39a94] {\n top: -5px;\n}\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-7fd39a94]::before {\n border-left: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Left arrow */\n.popper[data-popper-placement^="left"] > #arrow[data-v-7fd39a94] {\n right: -5px;\n}\n.popper[data-popper-placement^="left"] > #arrow[data-v-7fd39a94]::before {\n border-right: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-top: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n\n /* Right arrow */\n.popper[data-popper-placement^="right"] > #arrow[data-v-7fd39a94] {\n left: -5px;\n}\n.popper[data-popper-placement^="right"] > #arrow[data-v-7fd39a94]::before {\n border-left: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n border-bottom: var(--popper-theme-border-width)\n var(--popper-theme-border-style) var(--popper-theme-border-color);\n}\n.popper[data-v-7fd39a94] {\n transition: background 250ms ease-in-out;\n background: var(--popper-theme-background-color);\n padding: var(--popper-theme-padding);\n color: var(--popper-theme-text-color);\n border-radius: var(--popper-theme-border-radius);\n border-width: var(--popper-theme-border-width);\n border-style: var(--popper-theme-border-style);\n border-color: var(--popper-theme-border-color);\n box-shadow: var(--popper-theme-box-shadow);\n z-index: var(--5d153e2f);\n}\n.popper[data-v-7fd39a94]:hover,\n .popper:hover > #arrow[data-v-7fd39a94]::before {\n background: var(--popper-theme-background-color-hover);\n}\n.inline-block[data-v-7fd39a94] {\n display: inline-block;\n}\n.fade-enter-active[data-v-7fd39a94],\n .fade-leave-active[data-v-7fd39a94] {\n transition: opacity 0.2s ease;\n}\n.fade-enter-from[data-v-7fd39a94],\n .fade-leave-to[data-v-7fd39a94] {\n opacity: 0;\n}\n'),Ee.render=function(t,r,n,o,a,i){var p=e.resolveDirective("click-away");return e.withDirectives((e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle(t.interactiveStyle),onMouseleave:r[5]||(r[5]=function(e){return t.hover&&t.closePopper()})},[e.createElementVNode("div",{ref:"triggerNode",onMouseover:r[0]||(r[0]=function(e){return t.hover&&t.openPopper()}),onClick:r[1]||(r[1]=function(){return t.togglePopper&&t.togglePopper.apply(t,arguments)}),onFocus:r[2]||(r[2]=function(){return t.openPopper&&t.openPopper.apply(t,arguments)}),onKeyup:r[3]||(r[3]=e.withKeys((function(){return t.closePopper&&t.closePopper.apply(t,arguments)}),["esc"])),class:"inline-block"},[e.renderSlot(t.$slots,"default")],544),e.createVNode(e.Transition,{name:"fade"},{default:e.withCtx((function(){return[e.withDirectives(e.createElementVNode("div",{onClick:r[4]||(r[4]=function(e){return!t.interactive&&t.closePopper()}),class:e.normalizeClass(["popper",t.shouldShowPopper?"inline-block":null]),ref:"popperNode"},[e.renderSlot(t.$slots,"content",{close:t.close,isOpen:t.modifiedIsOpen},(function(){return[e.createTextVNode(e.toDisplayString(t.content),1)]})),t.arrow?(e.openBlock(),e.createElementBlock("div",Se)):e.createCommentVNode("",!0)],2),[[e.vShow,t.shouldShowPopper]])]})),_:3})],36)),[[p,{handler:t.closePopper,enabled:t.enableClickAway}]])},Ee.__scopeId="data-v-7fd39a94";var Ae=function(){var e=Ee;return e.install=function(t){t.component("Popper",e)},e}(),Be=Object.freeze({__proto__:null,default:Ae});return Object.entries(Be).forEach((function(e){var t=i(e,2),r=t[0],n=t[1];"default"!==r&&(Ae[r]=n)})),Ae}(Vue);
{
"name": "vue3-popper",
"version": "1.2.1",
"version": "1.3.0",
"author": {

@@ -5,0 +5,0 @@ "name": "Valgeir Björnsson",

@@ -66,18 +66,19 @@ <p align="center">

| Name | Default | Description |
| ------------------ | -------- | ------------------------------------------------------------------------------------------------------- |
| `placement` | `bottom` | Preferred placement of the Popper |
| `disableClickAway` | `false` | Disables automatically closing the Popper when the user clicks away from it |
| `offsetSkid` | `0` | Offset in pixels along the trigger element |
| `offsetDistance` | `12` | Offset in pixels away from the trigger element |
| `hover` | `false` | Trigger the Popper on hover |
| `arrow` | `false` | Display an arrow on the Popper |
| `arrowPadding` | `0` | Stop arrow from reaching the edge of the Popper (in pixels) |
| `disabled` | `false` | Disables the Popper. If it was already open, it will be closed. |
| `openDelay` | `0` | Open the Popper after a delay (ms) |
| `closeDelay` | `0` | Close the Popper after a delay (ms) |
| `interactive` | `true` | If the Popper should be interactive, it will close when clicked/hovered if false |
| `content` | `null` | If your content is just a simple string, you can pass it as a prop |
| `show` | `null` | Control the Popper **manually**, other events (click, hover) are ignored if this is set to `true/false` |
| `zIndex` | `9999` | The z-index of the Popper |
| Name | Default | Description |
| ------------------ | -------- | ----------------------------------------------------------------------------------------------------------- |
| `placement` | `bottom` | Preferred placement of the Popper |
| `disableClickAway` | `false` | Disables automatically closing the Popper when the user clicks away from it |
| `offsetSkid` | `0` | Offset in pixels along the trigger element |
| `offsetDistance` | `12` | Offset in pixels away from the trigger element |
| `hover` | `false` | Trigger the Popper on hover |
| `arrow` | `false` | Display an arrow on the Popper |
| `arrowPadding` | `0` | Stop arrow from reaching the edge of the Popper (in pixels) |
| `disabled` | `false` | Disables the Popper. If it was already open, it will be closed. |
| `openDelay` | `0` | Open the Popper after a delay (ms) |
| `closeDelay` | `0` | Close the Popper after a delay (ms) |
| `interactive` | `true` | If the Popper should be interactive, it will close when clicked/hovered if false |
| `content` | `null` | If your content is just a simple string, you can pass it as a prop |
| `show` | `null` | Control the Popper **manually**, other events (click, hover) are ignored if this is set to `true/false` |
| `zIndex` | `9999` | The z-index of the Popper |
| `locked` | `false` | Lock the Popper into place, it will not flip dynamically when it runs out of space if this is set to `true` |

@@ -84,0 +85,0 @@ ## Events

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc