vue3-popper
Advanced tools
Comparing version 0.6.0 to 1.0.0
@@ -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 l(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function f(e){var t=l(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function d(e){return e instanceof l(e).Element||e instanceof Element}function v(e){return e instanceof l(e).HTMLElement||e instanceof HTMLElement}function h(e){return"undefined"!=typeof ShadowRoot&&(e instanceof l(e).ShadowRoot||e instanceof ShadowRoot)}function m(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+f(e).scrollLeft}function g(e){return l(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 O(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"!==m(t)||w(a))&&(c=(n=t)!==l(n)&&v(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:f(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 x(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"===m(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||b(e)}function j(e){return["html","body","#document"].indexOf(m(e))>=0?e.ownerDocument.body:v(e)&&w(e)?e:j(k(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=l(n),i=o?[a].concat(a.visualViewport||[],w(n)?n:[]):n,p=t.concat(i);return o?p:p.concat(D(k(i)))}function P(e){return["table","td","th"].indexOf(m(e))>=0}function S(e){return v(e)&&"fixed"!==g(e).position?e.offsetParent:null}function E(e){for(var t=l(e),r=S(e);r&&P(r)&&"static"===g(r).position;)r=S(r);return r&&("html"===m(r)||"body"===m(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(m(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",T="bottom",B="right",C="left",L="auto",M=[A,T,B,C],N="start",R="end",I="viewport",W="popper",H=M.reduce((function(e,t){return e.concat([t+"-"+N,t+"-"+R])}),[]),V=[].concat(M,[L]).reduce((function(e,t){return e.concat([t,t+"-"+N,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 U(e){return e.split("-")[0]}var z=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&&h(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=l(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=f(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=z(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=z(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+=z(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=D(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"!==m(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=z(n.top,t.top),t.right=F(n.right,t.right),t.bottom=F(n.bottom,t.bottom),t.left=z(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?U(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 T:t={x:p,y:r.y+r.height};break;case B:t={x:r.x+r.width,y:c};break;case C: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 N: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,l=void 0===s?W:s,f=r.altBoundary,v=void 0!==f&&f,h=r.padding,m=void 0===h?0:h,y=ee("number"!=typeof m?m:te(m,M)),g=l===W?"reference":W,w=e.elements.reference,O=e.rects.popper,x=e.elements[v?g:l],k=G(d(x)?x:x.contextElement||b(e.elements.popper),i,c),j=u(w),D=Z({reference:j,element:O,strategy:"absolute",placement:o}),P=K(Object.assign({},O,D)),S=l===W?P:j,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},C=e.modifiersData.offset;if(l===W&&C){var L=C[o];Object.keys(E).forEach((function(e){var t=[B,T].indexOf(e)>=0?1:-1,r=[A,T].indexOf(e)>=0?"y":"x";E[e]+=L[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){l(),p.options=Object.assign({},a,p.options,r),p.scrollParents={reference:d(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: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:O(t,E(r),"fixed"===p.options.strategy),popper:x(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,l=o.name;"function"==typeof a&&(p=a({state:p,options:c,name:l,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(){l(),s=!0}};if(!oe(e,t))return u;function l(){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,f=u.x,d=void 0===f?0:f,v=u.y,h=void 0===v?0:v,m=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),w=C,O=A,x=window;if(c){var k=E(r),j="clientHeight",D="clientWidth";k===l(r)&&"static"!==g(k=b(r)).position&&(j="scrollHeight",D="scrollWidth"),k=k,o===A&&(O=T,h-=k[j]-n.height,h*=p?1:-1),o===C&&(w=B,d-=k[D]-n.width,d*=p?1:-1)}var P,S=Object.assign({position:i},c&&pe);return p?Object.assign({},S,((P={})[O]=y?"0":"",P[w]=m?"0":"",P.transform=(x.devicePixelRatio||1)<2?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",P)):Object.assign({},S,((t={})[O]=y?h+"px":"",t[w]=m?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=l(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: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,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)&&m(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)&&m(n)&&(Object.assign(n.style,a),Object.keys(o).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]}]});function ue(e,t,r){return z(e,F(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,u=r.altBoundary,l=r.padding,f=r.tether,d=void 0===f||f,v=r.tetherOffset,h=void 0===v?0:v,m=re(t,{boundary:c,rootBoundary:s,padding:l,altBoundary:u}),b=U(t.placement),y=J(t.placement),g=!y,w=Q(b),O="x"===w?"y":"x",k=t.modifiersData.popperOffsets,j=t.rects.reference,D=t.rects.popper,P="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,S={x:0,y:0};if(k){if(a||p){var L="y"===w?A:C,M="y"===w?T:B,R="y"===w?"height":"width",I=k[w],W=k[w]+m[L],H=k[w]-m[M],V=d?-D[R]/2:0,_=y===N?j[R]:D[R],q=y===N?-D[R]:-j[R],Y=t.elements.arrow,$=d&&Y?x(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[L],G=K[M],Z=ue(0,j[R],$[R]),ee=g?j[R]/2-V-Z-X-P:_-Z-X-P,te=g?-j[R]/2+V+Z+G+P:q+Z+G+P,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?z(H,pe):H);k[w]=ce,S[w]=ce-I}if(p){var se="x"===w?A:C,le="x"===w?T:B,fe=k[O],de=fe+m[se],ve=fe-m[le],he=ue(d?F(de,ie):de,fe,d?z(ve,pe):ve);k[O]=he,S[O]=he-fe}}t.modifiersData[n]=S}},requiresIfExists:["offset"]},fe={left:"right",right:"left",bottom:"top",top:"bottom"};function de(e){return e.replace(/left|right|bottom|top/g,(function(e){return fe[e]}))}var ve={start:"end",end:"start"};function he(e){return e.replace(/start|end/g,(function(e){return ve[e]}))}function me(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),l=u?p?H:H.filter((function(e){return J(e)===u})):M,f=l.filter((function(e){return s.indexOf(e)>=0}));0===f.length&&(f=l);var d=f.reduce((function(t,r){return t[r]=re(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 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,l=r.rootBoundary,f=r.altBoundary,d=r.flipVariations,v=void 0===d||d,h=r.allowedAutoPlacements,m=t.options.placement,b=U(m),y=c||(b===m||!v?[de(m)]:function(e){if(U(e)===L)return[];var t=de(e);return[he(e),t,he(t)]}(m)),g=[m].concat(y).reduce((function(e,r){return e.concat(U(r)===L?me(t,{placement:r,boundary:u,rootBoundary:l,padding:s,flipVariations:v,allowedAutoPlacements:h}):r)}),[]),w=t.rects.reference,O=t.rects.popper,x=new Map,k=!0,j=g[0],D=0;D<g.length;D++){var P=g[D],S=U(P),E=J(P)===N,M=[A,T].indexOf(S)>=0,R=M?"width":"height",I=re(t,{placement:P,boundary:u,rootBoundary:l,altBoundary:f,padding:s}),W=M?E?B:C:E?T:A;w[R]>O[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}))){j=P,k=!1;break}x.set(P,V)}if(k)for(var _=function(e){var t=g.find((function(t){var r=x.get(t);if(r)return r.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},q=v?3:1;q>0;q--){if("break"===_(q))break}t.placement!==j&&(t.modifiersData[n]._skip=!0,t.placement=j,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=U(e),o=[C,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,[C,B].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=U(r.placement),c=Q(p),s=[C,B].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,M))}(o.padding,r),l=x(a),f="y"===c?A:C,d="y"===c?T:B,v=r.rects.reference[s]+r.rects.reference[c]-i[c]-r.rects.popper[s],h=i[c]-r.rects.reference[c],m=E(a),b=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,y=v/2-h/2,g=u[f],w=b-l[s]-u[d],O=b/2-l[s]/2+y,k=ue(g,O,w),j=c;r.modifiersData[n]=((t={})[j]=k,t.centerOffset=k-O,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 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)}},xe=function(e){return new Promise((function(t){return setTimeout(t,e)}))},ke=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},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0}},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),l=e.ref(null),f=e.ref(!1),d=e.toRefs(t),v=d.offsetSkid,h=d.offsetDistance,m=d.arrowPadding,b=d.placement,y=d.disabled,g=d.disableClickAway,w=d.openDelay,O=d.closeDelay,x=d.interactive,k=function(t){var n=t.popperNode,a=t.triggerNode,p=t.placement,c=t.arrowPadding,s=t.offsetSkid,u=t.offsetDistance,l=t.emit,f=e.reactive({isOpen:!1,popperInstance:null});e.watch([function(){return f.isOpen},p],function(){var t=o(regeneratorRuntime.mark((function t(r){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!i(r,1)[0]){t.next=5;break}return t.next=4,e.nextTick();case 4:d();case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());var d=function(){f.popperInstance=se(a.value,n.value,{placement:p.value,modifiers:[le,be,ge,{name:"arrow",options:{padding:we(c.value)}},ye,{name:"offset",options:{offset:[we(s.value),we(u.value)]}}]}),f.popperInstance.update()};return e.onBeforeUnmount((function(){var e;null===(e=f.popperInstance)||void 0===e||e.destroy()})),r(r({},e.toRefs(f)),{},{open:function(){f.isOpen||(f.isOpen=!0,l("open:popper"))},close:function(){f.isOpen&&(f.isOpen=!1,l("close:popper"))}})}({popperNode:u,triggerNode:l,offsetSkid:v,offsetDistance:h,arrowPadding:m,placement:b,emit:p}),j=k.isOpen,D=k.open,P=k.close,S=function(t,r){var n=null,o=e.ref(!1);e.onMounted((function(){void 0!==t.content&&(o.value=!0),(n=new MutationObserver(a)).observe(r.value,{childList:!0,subtree:!0})})),e.onBeforeUnmount((function(){return n.disconnect()}));var a=function(){t.content?o.value=!0:o.value=!1};return{hasContent:o}}(a,u).hasContent;e.watch([S,y],(function(e){var t=i(e,2),r=t[0],n=t[1];!j.value||r&&!n||P()})),e.watch(j,(function(e){e?f.value=!0:s.debounce((function(){f.value=!1}),200)}));var E=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,xe(w.value);case 4:D();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),A=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xe(O.value);case 2:P();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T=e.computed((function(){return y.value||!S.value})),B=e.computed((function(){return j.value&&!T.value})),C=e.computed((function(){return!g.value})),L=e.computed((function(){return x.value?"border: ".concat(h.value,"px solid transparent; margin: -").concat(h.value,"px;"):null}));return{popperNode:u,triggerNode:l,isOpen:j,close:P,handleToggle:function(){j.value?A():E()},handleOpen:E,handleClose:A,shouldShowPopper:B,enableClickAway:C,modifiedIsOpen:f,interactive:x,interactiveStyle:L}}}),je=e.withScopeId("data-v-064d4c43");e.pushScopeId("data-v-064d4c43");var De={key:0,id:"arrow","data-popper-arrow":""};e.popScopeId();var Pe=je((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[7]||(r[7]=function(e){return t.hover&&t.handleClose()})},[e.createVNode("div",{ref:"triggerNode",onMouseover:r[1]||(r[1]=function(e){return t.hover&&t.handleOpen()}),onClick:r[2]||(r[2]=function(){return t.handleToggle&&t.handleToggle.apply(t,arguments)}),onFocus:r[3]||(r[3]=function(){return t.handleOpen&&t.handleOpen.apply(t,arguments)}),onBlur:r[4]||(r[4]=function(){return t.handleClose&&t.handleClose.apply(t,arguments)}),onKeyup:r[5]||(r[5]=e.withKeys((function(){return t.handleClose&&t.handleClose.apply(t,arguments)}),["esc"])),class:"inline-block"},[e.renderSlot(t.$slots,"default")],544),e.createVNode(e.Transition,{name:"fade"},{default:je((function(){return[e.withDirectives(e.createVNode("div",{onClick:r[6]||(r[6]=function(e){return!t.interactive&&t.handleToggle()}),class:["popper",t.shouldShowPopper?"inline-block":null],ref:"popperNode"},[e.renderSlot(t.$slots,"content",{close:t.close,isOpen:t.modifiedIsOpen}),t.arrow?(e.openBlock(),e.createBlock("div",De)):e.createCommentVNode("",!0)],2),[[e.vShow,t.shouldShowPopper]])]})),_:3})],36)),[[p,{handler:t.handleClose,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-064d4c43],\n #arrow[data-v-064d4c43]::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-064d4c43] {\n visibility: hidden;\n}\n#arrow[data-v-064d4c43]::before {\n visibility: visible;\n content: "";\n transform: rotate(45deg);\n}\n\n /* Top arrow */\n.popper[data-popper-placement^="top"] > #arrow[data-v-064d4c43] {\n bottom: -5px;\n}\n.popper[data-popper-placement^="top"] > #arrow[data-v-064d4c43]::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-064d4c43] {\n top: -5px;\n}\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-064d4c43]::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-064d4c43] {\n right: -5px;\n}\n.popper[data-popper-placement^="left"] > #arrow[data-v-064d4c43]::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-064d4c43] {\n left: -5px;\n}\n.popper[data-popper-placement^="right"] > #arrow[data-v-064d4c43]::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-064d4c43] {\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}\n.popper[data-v-064d4c43]:hover,\n .popper:hover > #arrow[data-v-064d4c43]::before {\n background: var(--popper-theme-background-color-hover);\n}\n.inline-block[data-v-064d4c43] {\n display: inline-block;\n}\n.fade-enter-active[data-v-064d4c43],\n .fade-leave-active[data-v-064d4c43] {\n transition: opacity 0.2s ease;\n}\n.fade-enter-from[data-v-064d4c43],\n .fade-leave-to[data-v-064d4c43] {\n opacity: 0;\n}\n'),ke.render=Pe,ke.__scopeId="data-v-064d4c43";var Se=function(){var e=ke;return e.install=function(t){t.component("Popper",e)},e}(),Ee=Object.freeze({__proto__:null,default:Se});return Object.entries(Ee).forEach((function(e){var t=i(e,2),r=t[0],n=t[1];"default"!==r&&(Se[r]=n)})),Se}(Vue); | ||
var Popper=function(e){"use strict";function t(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function n(e){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?t(Object(r),!0).forEach((function(t){a(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):t(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function r(e,t,n,r,o,a,i){try{var p=e[a](i),c=p.value}catch(e){return void n(e)}p.done?t(c):Promise.resolve(c).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,a){var i=e.apply(t,n);function p(e){r(i,o,a,p,c,"next",e)}function c(e){r(i,o,a,p,c,"throw",e)}p(void 0)}))}}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=e&&("undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"]);if(null==n)return;var r,o,a=[],i=!0,p=!1;try{for(n=n.call(e);!(i=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);i=!0);}catch(e){p=!0,o=e}finally{try{i||null==n.return||n.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 n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))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 n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e,t,n){var r,o,a,i,p;function c(){var s=Date.now()-i;s<t&&s>=0?r=setTimeout(c,t-s):(r=null,n||(p=e.apply(a,o),a=o=null))}null==t&&(t=100);var s=function(){a=this,o=arguments,i=Date.now();var s=n&&!r;return r||(r=setTimeout(c,t)),s&&(p=e.apply(a,o),a=o=null),p};return s.clear=function(){r&&(clearTimeout(r),r=null)},s.flush=function(){r&&(p=e.apply(a,o),a=o=null,clearTimeout(r),r=null)},s}c.debounce=c;var s=c;function f(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 u(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=u(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function d(e){return e instanceof u(e).Element||e instanceof Element}function v(e){return e instanceof u(e).HTMLElement||e instanceof HTMLElement}function h(e){return"undefined"!=typeof ShadowRoot&&(e instanceof u(e).ShadowRoot||e instanceof ShadowRoot)}function m(e){return e?(e.nodeName||"").toLowerCase():null}function b(e){return((d(e)?e.ownerDocument:e.document)||window.document).documentElement}function y(e){return f(b(e)).left+l(e).scrollLeft}function g(e){return u(e).getComputedStyle(e)}function w(e){var t=g(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function O(e,t,n){void 0===n&&(n=!1);var r,o,a=b(t),i=f(e),p=v(t),c={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(p||!p&&!n)&&(("body"!==m(t)||w(a))&&(c=(r=t)!==u(r)&&v(r)?{scrollLeft:(o=r).scrollLeft,scrollTop:o.scrollTop}:l(r)),v(t)?((s=f(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 x(e){var t=f(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function k(e){return"html"===m(e)?e:e.assignedSlot||e.parentNode||(h(e)?e.host:null)||b(e)}function j(e){return["html","body","#document"].indexOf(m(e))>=0?e.ownerDocument.body:v(e)&&w(e)?e:j(k(e))}function D(e,t){var n;void 0===t&&(t=[]);var r=j(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=u(r),i=o?[a].concat(a.visualViewport||[],w(r)?r:[]):r,p=t.concat(i);return o?p:p.concat(D(k(i)))}function S(e){return["table","td","th"].indexOf(m(e))>=0}function P(e){return v(e)&&"fixed"!==g(e).position?e.offsetParent:null}function E(e){for(var t=u(e),n=P(e);n&&S(n)&&"static"===g(n).position;)n=P(n);return n&&("html"===m(n)||"body"===m(n)&&"static"===g(n).position)?t:n||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 n=k(e);v(n)&&["html","body"].indexOf(m(n))<0;){var r=g(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}var A="top",T="bottom",B="right",C="left",L="auto",M=[A,T,B,C],N="start",R="end",I="viewport",W="popper",H=M.reduce((function(e,t){return e.concat([t+"-"+N,t+"-"+R])}),[]),V=[].concat(M,[L]).reduce((function(e,t){return e.concat([t,t+"-"+N,t+"-"+R])}),[]),_=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function q(e){var t=new Map,n=new Set,r=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&o(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),r}function U(e){return e.split("-")[0]}var z=Math.max,F=Math.min,Y=Math.round;function $(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&h(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}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=u(e),n=b(e),r=t.visualViewport,o=n.clientWidth,a=n.clientHeight,i=0,p=0;return r&&(o=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(i=r.offsetLeft,p=r.offsetTop)),{width:o,height:a,x:i+y(e),y:p}}(e)):v(t)?function(e){var t=f(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,n=b(e),r=l(e),o=null==(t=e.ownerDocument)?void 0:t.body,a=z(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=z(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),p=-r.scrollLeft+y(e),c=-r.scrollTop;return"rtl"===g(o||n).direction&&(p+=z(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:p,y:c}}(b(e)))}function G(e,t,n){var r="clippingParents"===t?function(e){var t=D(k(e)),n=["absolute","fixed"].indexOf(g(e).position)>=0&&v(e)?E(e):e;return d(n)?t.filter((function(e){return d(e)&&$(e,n)&&"body"!==m(e)})):[]}(e):[].concat(t),o=[].concat(r,[n]),a=o[0],i=o.reduce((function(t,n){var r=X(e,n);return t.top=z(r.top,t.top),t.right=F(r.right,t.right),t.bottom=F(r.bottom,t.bottom),t.left=z(r.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,n=e.reference,r=e.element,o=e.placement,a=o?U(o):null,i=o?J(o):null,p=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(a){case A:t={x:p,y:n.y-r.height};break;case T:t={x:p,y:n.y+n.height};break;case B:t={x:n.x+n.width,y:c};break;case C:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var s=a?Q(a):null;if(null!=s){var f="y"===s?"height":"width";switch(i){case N:t[s]=t[s]-(n[f]/2-r[f]/2);break;case R:t[s]=t[s]+(n[f]/2-r[f]/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,n){return t[n]=e,t}),{})}function ne(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,a=n.boundary,i=void 0===a?"clippingParents":a,p=n.rootBoundary,c=void 0===p?I:p,s=n.elementContext,u=void 0===s?W:s,l=n.altBoundary,v=void 0!==l&&l,h=n.padding,m=void 0===h?0:h,y=ee("number"!=typeof m?m:te(m,M)),g=u===W?"reference":W,w=e.elements.reference,O=e.rects.popper,x=e.elements[v?g:u],k=G(d(x)?x:x.contextElement||b(e.elements.popper),i,c),j=f(w),D=Z({reference:j,element:O,strategy:"absolute",placement:o}),S=K(Object.assign({},O,D)),P=u===W?S:j,E={top:k.top-P.top+y.top,bottom:P.bottom-k.bottom+y.bottom,left:k.left-P.left+y.left,right:P.right-k.right+y.right},C=e.modifiersData.offset;if(u===W&&C){var L=C[o];Object.keys(E).forEach((function(e){var t=[B,T].indexOf(e)>=0?1:-1,n=[A,T].indexOf(e)>=0?"y":"x";E[e]+=L[n]*t}))}return E}var re={placement:"bottom",modifiers:[],strategy:"absolute"};function oe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function ae(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,o=t.defaultOptions,a=void 0===o?re:o;return function(e,t,n){void 0===n&&(n=a);var o,i,p={placement:"bottom",orderedModifiers:[],options:Object.assign({},re,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],s=!1,f={state:p,setOptions:function(n){u(),p.options=Object.assign({},a,p.options,n),p.scrollParents={reference:d(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,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((o=[].concat(r,p.options.modifiers),i=o.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.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,n=e.options,r=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var a=o({state:p,name:t,instance:f,options:r}),i=function(){};c.push(a||i)}})),f.update()},forceUpdate:function(){if(!s){var e=p.elements,t=e.reference,n=e.popper;if(oe(t,n)){p.rects={reference:O(t,E(n),"fixed"===p.options.strategy),popper:x(n)},p.reset=!1,p.placement=p.options.placement,p.orderedModifiers.forEach((function(e){return p.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<p.orderedModifiers.length;r++)if(!0!==p.reset){var o=p.orderedModifiers[r],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,r=-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(){u(),s=!0}};if(!oe(e,t))return f;function u(){c.forEach((function(e){return e()})),c=[]}return f.setOptions(n).then((function(e){!s&&n.onFirstUpdate&&n.onFirstUpdate(e)})),f}}var ie={passive:!0};var pe={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ce(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.offsets,i=e.position,p=e.gpuAcceleration,c=e.adaptive,s=e.roundOffsets,f=!0===s?function(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:Y(Y(t*r)/r)||0,y:Y(Y(n*r)/r)||0}}(a):"function"==typeof s?s(a):a,l=f.x,d=void 0===l?0:l,v=f.y,h=void 0===v?0:v,m=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),w=C,O=A,x=window;if(c){var k=E(n),j="clientHeight",D="clientWidth";k===u(n)&&"static"!==g(k=b(n)).position&&(j="scrollHeight",D="scrollWidth"),k=k,o===A&&(O=T,h-=k[j]-r.height,h*=p?1:-1),o===C&&(w=B,d-=k[D]-r.width,d*=p?1:-1)}var S,P=Object.assign({position:i},c&&pe);return p?Object.assign({},P,((S={})[O]=y?"0":"",S[w]=m?"0":"",S.transform=(x.devicePixelRatio||1)<2?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",S)):Object.assign({},P,((t={})[O]=y?h+"px":"",t[w]=m?d+"px":"",t.transform="",t))}var se=ae({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=void 0===o||o,i=r.resize,p=void 0===i||i,c=u(t.elements.popper),s=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&s.forEach((function(e){e.addEventListener("scroll",n.update,ie)})),p&&c.addEventListener("resize",n.update,ie),function(){a&&s.forEach((function(e){e.removeEventListener("scroll",n.update,ie)})),p&&c.removeEventListener("resize",n.update,ie)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=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,n=e.options,r=n.gpuAcceleration,o=void 0===r||r,a=n.adaptive,i=void 0===a||a,p=n.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,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 n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];v(o)&&m(o)&&(Object.assign(o.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],o=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});v(r)&&m(r)&&(Object.assign(r.style,a),Object.keys(o).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]}]});function fe(e,t,n){return z(e,F(t,n))}var ue={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=void 0===o||o,i=n.altAxis,p=void 0!==i&&i,c=n.boundary,s=n.rootBoundary,f=n.altBoundary,u=n.padding,l=n.tether,d=void 0===l||l,v=n.tetherOffset,h=void 0===v?0:v,m=ne(t,{boundary:c,rootBoundary:s,padding:u,altBoundary:f}),b=U(t.placement),y=J(t.placement),g=!y,w=Q(b),O="x"===w?"y":"x",k=t.modifiersData.popperOffsets,j=t.rects.reference,D=t.rects.popper,S="function"==typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,P={x:0,y:0};if(k){if(a||p){var L="y"===w?A:C,M="y"===w?T:B,R="y"===w?"height":"width",I=k[w],W=k[w]+m[L],H=k[w]-m[M],V=d?-D[R]/2:0,_=y===N?j[R]:D[R],q=y===N?-D[R]:-j[R],Y=t.elements.arrow,$=d&&Y?x(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[L],G=K[M],Z=fe(0,j[R],$[R]),ee=g?j[R]/2-V-Z-X-S:_-Z-X-S,te=g?-j[R]/2+V+Z+G+S:q+Z+G+S,re=t.elements.arrow&&E(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=k[w]+ee-ae-oe,pe=k[w]+te-ae;if(a){var ce=fe(d?F(W,ie):W,I,d?z(H,pe):H);k[w]=ce,P[w]=ce-I}if(p){var se="x"===w?A:C,ue="x"===w?T:B,le=k[O],de=le+m[se],ve=le-m[ue],he=fe(d?F(de,ie):de,le,d?z(ve,pe):ve);k[O]=he,P[O]=he-le}}t.modifiersData[r]=P}},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 he(e){return e.replace(/start|end/g,(function(e){return ve[e]}))}function me(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,p=n.flipVariations,c=n.allowedAutoPlacements,s=void 0===c?V:c,f=J(r),u=f?p?H:H.filter((function(e){return J(e)===f})):M,l=u.filter((function(e){return s.indexOf(e)>=0}));0===l.length&&(l=u);var d=l.reduce((function(t,n){return t[n]=ne(e,{placement:n,boundary:o,rootBoundary:a,padding:i})[U(n)],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,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=void 0===o||o,i=n.altAxis,p=void 0===i||i,c=n.fallbackPlacements,s=n.padding,f=n.boundary,u=n.rootBoundary,l=n.altBoundary,d=n.flipVariations,v=void 0===d||d,h=n.allowedAutoPlacements,m=t.options.placement,b=U(m),y=c||(b===m||!v?[de(m)]:function(e){if(U(e)===L)return[];var t=de(e);return[he(e),t,he(t)]}(m)),g=[m].concat(y).reduce((function(e,n){return e.concat(U(n)===L?me(t,{placement:n,boundary:f,rootBoundary:u,padding:s,flipVariations:v,allowedAutoPlacements:h}):n)}),[]),w=t.rects.reference,O=t.rects.popper,x=new Map,k=!0,j=g[0],D=0;D<g.length;D++){var S=g[D],P=U(S),E=J(S)===N,M=[A,T].indexOf(P)>=0,R=M?"width":"height",I=ne(t,{placement:S,boundary:f,rootBoundary:u,altBoundary:l,padding:s}),W=M?E?B:C:E?T:A;w[R]>O[R]&&(W=de(W));var H=de(W),V=[];if(a&&V.push(I[P]<=0),p&&V.push(I[W]<=0,I[H]<=0),V.every((function(e){return e}))){j=S,k=!1;break}x.set(S,V)}if(k)for(var _=function(e){var t=g.find((function(t){var n=x.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return j=t,"break"},q=v?3:1;q>0;q--){if("break"===_(q))break}t.placement!==j&&(t.modifiersData[r]._skip=!0,t.placement=j,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,n=e.options,r=e.name,o=n.offset,a=void 0===o?[0,0]:o,i=V.reduce((function(e,n){return e[n]=function(e,t,n){var r=U(e),o=[C,A].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},t,{placement:e})):n,i=a[0],p=a[1];return i=i||0,p=(p||0)*o,[C,B].indexOf(r)>=0?{x:p,y:i}:{x:i,y:p}}(n,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[r]=i}};var ge={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,p=U(n.placement),c=Q(p),s=[C,B].indexOf(p)>=0?"height":"width";if(a&&i){var f=function(e,t){return ee("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:te(e,M))}(o.padding,n),u=x(a),l="y"===c?A:C,d="y"===c?T:B,v=n.rects.reference[s]+n.rects.reference[c]-i[c]-n.rects.popper[s],h=i[c]-n.rects.reference[c],m=E(a),b=m?"y"===c?m.clientHeight||0:m.clientWidth||0:0,y=v/2-h/2,g=f[l],w=b-u[s]-f[d],O=b/2-u[s]/2+y,k=fe(g,O,w),j=c;n.modifiersData[r]=((t={})[j]=k,t.centerOffset=k-O,t)}},effect:function(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=t.elements.popper.querySelector(r)))&&$(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},we=function(e){return parseInt(e,10)};var Oe={beforeMount:function(e,t){e.clickAwayEvent=function(n){e!=n.target&&!e.contains(n.target)&&t.value.enabled&&t.value.handler()},document.addEventListener("click",e.clickAwayEvent)},unmounted:function(e){document.removeEventListener("click",e.clickAwayEvent)}},xe=function(e){return new Promise((function(t){return setTimeout(t,e)}))},ke=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},disabled:{type:Boolean,default:!1},openDelay:{type:[Number,String],default:0},closeDelay:{type:[Number,String],default:0},arrow:{type:Boolean,default:!1},arrowPadding:{type:String,default:"0"},interactive:{type:Boolean,default:!0},content:{type:String,default:null}},setup:function(t,r){var a=r.slots,p=r.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.offsetSkid,h=d.offsetDistance,m=d.arrowPadding,b=d.placement,y=d.disabled,g=d.disableClickAway,w=d.openDelay,O=d.closeDelay,x=d.interactive,k=d.content,j=function(t){var r=t.popperNode,a=t.triggerNode,p=t.placement,c=t.arrowPadding,s=t.offsetSkid,f=t.offsetDistance,u=t.emit,l=e.reactive({isOpen:!1,popperInstance:null});e.watch([function(){return l.isOpen},p],function(){var t=o(regeneratorRuntime.mark((function t(n){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!i(n,1)[0]){t.next=5;break}return t.next=4,e.nextTick();case 4:d();case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());var d=function(){l.popperInstance=se(a.value,r.value,{placement:p.value,modifiers:[ue,be,ge,{name:"arrow",options:{padding:we(c.value)}},ye,{name:"offset",options:{offset:[we(s.value),we(f.value)]}}]}),l.popperInstance.update()};return e.onBeforeUnmount((function(){var e;null===(e=l.popperInstance)||void 0===e||e.destroy()})),n(n({},e.toRefs(l)),{},{open:function(){l.isOpen||(l.isOpen=!0,u("open:popper"))},close:function(){l.isOpen&&(l.isOpen=!1,u("close:popper"))}})}({popperNode:f,triggerNode:u,offsetSkid:v,offsetDistance:h,arrowPadding:m,placement:b,emit:p}),D=j.isOpen,S=j.open,P=j.close,E=function(t,n,r){var o=null,a=e.ref(!1);e.onMounted((function(){(void 0!==t.content||r.value)&&(a.value=!0),(o=new MutationObserver(i)).observe(n.value,{childList:!0,subtree:!0})})),e.onBeforeUnmount((function(){return o.disconnect()})),e.watch(r,(function(e){a.value=!!e}));var i=function(){t.content?a.value=!0:a.value=!1};return{hasContent:a}}(a,f,k).hasContent;e.watch([E,y],(function(e){var t=i(e,2),n=t[0],r=t[1];!D.value||n&&!r||P()})),e.watch(D,(function(e){e?l.value=!0:s.debounce((function(){l.value=!1}),200)}));var A=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,xe(w.value);case 4:S();case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),T=function(){var e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,xe(O.value);case 2:P();case 3:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),B=e.computed((function(){return y.value||!E.value})),C=e.computed((function(){return D.value&&!B.value})),L=e.computed((function(){return!g.value})),M=e.computed((function(){return x.value?"border: ".concat(h.value,"px solid transparent; margin: -").concat(h.value,"px;"):null}));return{popperNode:f,triggerNode:u,isOpen:D,close:P,handleToggle:function(){D.value?T():A()},handleOpen:A,handleClose:T,shouldShowPopper:C,enableClickAway:L,modifiedIsOpen:l,interactive:x,interactiveStyle:M,content:k}}}),je=e.withScopeId("data-v-4de8f669");e.pushScopeId("data-v-4de8f669");var De={key:0,id:"arrow","data-popper-arrow":""};e.popScopeId();var Se=je((function(t,n,r,o,a,i){var p=e.resolveDirective("click-away");return e.withDirectives((e.openBlock(),e.createBlock("div",{style:t.interactiveStyle,onMouseleave:n[7]||(n[7]=function(e){return t.hover&&t.handleClose()})},[e.createVNode("div",{ref:"triggerNode",onMouseover:n[1]||(n[1]=function(e){return t.hover&&t.handleOpen()}),onClick:n[2]||(n[2]=function(){return t.handleToggle&&t.handleToggle.apply(t,arguments)}),onFocus:n[3]||(n[3]=function(){return t.handleOpen&&t.handleOpen.apply(t,arguments)}),onBlur:n[4]||(n[4]=function(){return t.handleClose&&t.handleClose.apply(t,arguments)}),onKeyup:n[5]||(n[5]=e.withKeys((function(){return t.handleClose&&t.handleClose.apply(t,arguments)}),["esc"])),class:"inline-block"},[e.renderSlot(t.$slots,"default")],544),e.createVNode(e.Transition,{name:"fade"},{default:je((function(){return[e.withDirectives(e.createVNode("div",{onClick:n[6]||(n[6]=function(e){return!t.interactive&&t.handleToggle()}),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",De)):e.createCommentVNode("",!0)],2),[[e.vShow,t.shouldShowPopper]])]})),_:3})],36)),[[p,{handler:t.handleClose,enabled:t.enableClickAway}]])}));!function(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var r=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===n&&r.firstChild?r.insertBefore(o,r.firstChild):r.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}('\n#arrow[data-v-4de8f669],\n #arrow[data-v-4de8f669]::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-4de8f669] {\n visibility: hidden;\n}\n#arrow[data-v-4de8f669]::before {\n visibility: visible;\n content: "";\n transform: rotate(45deg);\n}\n\n /* Top arrow */\n.popper[data-popper-placement^="top"] > #arrow[data-v-4de8f669] {\n bottom: -5px;\n}\n.popper[data-popper-placement^="top"] > #arrow[data-v-4de8f669]::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-4de8f669] {\n top: -5px;\n}\n.popper[data-popper-placement^="bottom"] > #arrow[data-v-4de8f669]::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-4de8f669] {\n right: -5px;\n}\n.popper[data-popper-placement^="left"] > #arrow[data-v-4de8f669]::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-4de8f669] {\n left: -5px;\n}\n.popper[data-popper-placement^="right"] > #arrow[data-v-4de8f669]::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-4de8f669] {\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}\n.popper[data-v-4de8f669]:hover,\n .popper:hover > #arrow[data-v-4de8f669]::before {\n background: var(--popper-theme-background-color-hover);\n}\n.inline-block[data-v-4de8f669] {\n display: inline-block;\n}\n.fade-enter-active[data-v-4de8f669],\n .fade-leave-active[data-v-4de8f669] {\n transition: opacity 0.2s ease;\n}\n.fade-enter-from[data-v-4de8f669],\n .fade-leave-to[data-v-4de8f669] {\n opacity: 0;\n}\n'),ke.render=Se,ke.__scopeId="data-v-4de8f669";var Pe=function(){var e=ke;return e.install=function(t){t.component("Popper",e)},e}(),Ee=Object.freeze({__proto__:null,default:Pe});return Object.entries(Ee).forEach((function(e){var t=i(e,2),n=t[0],r=t[1];"default"!==n&&(Pe[n]=r)})),Pe}(Vue); |
{ | ||
"name": "vue3-popper", | ||
"version": "0.6.0", | ||
"version": "1.0.0", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Valgeir Björnsson", |
@@ -35,3 +35,11 @@ <p align="center"> | ||
```html | ||
<!-- If your content is only a simple string, you can use the content prop: --> | ||
<template> | ||
<Popper content="This is the Popper content"> | ||
<button>Trigger element</button> | ||
</Popper> | ||
</template> | ||
<!-- If your content is more complex, you can use the content slot: --> | ||
<template> | ||
<Popper> | ||
@@ -59,15 +67,16 @@ <button>Trigger element</button> | ||
| 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 when false | | ||
| 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 | | ||
@@ -74,0 +83,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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
194838
3825
1
118