xframelib
Version:
The accumulated front-end development foundation library originates from projects and serves projects.
1 lines • 268 kB
JavaScript
import{Fragment as e,KeepAlive as t,Suspense as n,Transition as r,TransitionGroup as i,computed as o,createBlock as s,createCommentVNode as a,createElementBlock as c,createElementVNode as l,createTextVNode as u,createVNode as f,defineComponent as d,h,markRaw as p,mergeProps as m,nextTick as g,normalizeClass as v,normalizeStyle as y,onErrorCaptured as w,onMounted as b,onUnmounted as S,openBlock as x,reactive as E,ref as C,renderList as k,renderSlot as T,resolveComponent as A,resolveDynamicComponent as M,shallowReactive as z,toDisplayString as O,unref as D,useCssVars as L,useTemplateRef as _,vShow as R,watch as I,withCtx as P,withDirectives as N,withModifiers as B}from"vue";import j from"axios";import{Client as F,ClientContext as W}from"@hprose/rpc-core";import{ByteStream as U,Reader as $,ValueReader as H,Writer as q}from"@hprose/io";import{HttpTransport as V}from"@hprose/rpc-html5";import G,{default as X}from"iconv-lite";import*as Y from"@microsoft/signalr";import Z from"qs";import{Icon as K}from"@iconify/vue";var J=Object.create,Q=Object.defineProperty,ee=Object.getOwnPropertyDescriptor,te=Object.getOwnPropertyNames,ne=Object.getPrototypeOf,re=Object.prototype.hasOwnProperty,ie=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),oe=(e,t,n)=>(n=null!=e?J(ne(e)):{},((e,t,n,r)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,o=te(t),s=0,a=o.length;s<a;s++)i=o[s],re.call(e,i)||void 0===i||Q(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(r=ee(t,i))||r.enumerable});return e})(!t&&e&&e.__esModule?n:Q(n,"default",{value:e,enumerable:!0}),e)),se=(e=>"undefined"!=typeof require?require:"undefined"!=typeof Proxy?new Proxy(e,{get:(e,t)=>("undefined"!=typeof require?require:e)[t]}):e)(function(e){if("undefined"!=typeof require)return require.apply(this,arguments);throw Error('Calling `require` for "'+e+"\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.")});function ae(e){return{all:e=e||new Map,on(t,n){const r=e.get(t);r?r.push(n):e.set(t,[n])},off(t,n){const r=e.get(t);r&&(n?r.splice(r.indexOf(n)>>>0,1):e.set(t,[]))},emit(t,n){let r=e.get(t);r&&r.slice().map(e=>{e(n)}),r=e.get("*"),r&&r.slice().map(e=>{e(t,n)})}}}var ce=ae();var le,ue,fe={exports:{}},de=fe.exports={};function he(){throw new Error("setTimeout has not been defined")}function pe(){throw new Error("clearTimeout has not been defined")}function me(e){if(le===setTimeout)return setTimeout(e,0);if((le===he||!le)&&setTimeout)return le=setTimeout,setTimeout(e,0);try{return le(e,0)}catch(t){try{return le.call(null,e,0)}catch(t){return le.call(this,e,0)}}}!function(){try{le="function"==typeof setTimeout?setTimeout:he}catch(e){le=he}try{ue="function"==typeof clearTimeout?clearTimeout:pe}catch(e){ue=pe}}();var ge,ve=[],ye=!1,we=-1;function be(){ye&&ge&&(ye=!1,ge.length?ve=ge.concat(ve):we=-1,ve.length&&Se())}function Se(){if(!ye){var e=me(be);ye=!0;for(var t=ve.length;t;){for(ge=ve,ve=[];++we<t;)ge&&ge[we].run();we=-1,t=ve.length}ge=null,ye=!1,function(e){if(ue===clearTimeout)return clearTimeout(e);if((ue===pe||!ue)&&clearTimeout)return ue=clearTimeout,clearTimeout(e);try{return ue(e)}catch(t){try{return ue.call(null,e)}catch(t){return ue.call(this,e)}}}(e)}}function xe(e,t){this.fun=e,this.array=t}function Ee(){}de.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];ve.push(new xe(e,t)),1!==ve.length||ye||me(Se)},xe.prototype.run=function(){this.fun.apply(null,this.array)},de.title="browser",de.browser=!0,de.env={},de.argv=[],de.version="",de.versions={},de.on=Ee,de.addListener=Ee,de.once=Ee,de.off=Ee,de.removeListener=Ee,de.removeAllListeners=Ee,de.emit=Ee,de.prependListener=Ee,de.prependOnceListener=Ee,de.listeners=function(e){return[]},de.binding=function(e){throw new Error("process.binding is not supported")},de.cwd=function(){return"/"},de.chdir=function(e){throw new Error("process.chdir is not supported")},de.umask=function(){return 0};var Ce=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(fe.exports),ke="bottom",Te="right",Ae="left",Me=["top",ke,Te,Ae],ze="start",Oe="popper",De=Me.reduce(function(e,t){return e.concat([t+"-"+ze,t+"-end"])},[]),Le=[].concat(Me,["auto"]).reduce(function(e,t){return e.concat([t,t+"-"+ze,t+"-end"])},[]),_e=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Re(e){return e?(e.nodeName||"").toLowerCase():null}function Ie(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Pe(e){return e instanceof Ie(e).Element||e instanceof Element}function Ne(e){return e instanceof Ie(e).HTMLElement||e instanceof HTMLElement}function Be(e){return"undefined"!=typeof ShadowRoot&&(e instanceof Ie(e).ShadowRoot||e instanceof ShadowRoot)}var je={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]||{},i=t.elements[e];Ne(i)&&Re(i)&&(Object.assign(i.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?i.removeAttribute(e):i.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],i=t.attributes[e]||{},o=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});Ne(r)&&Re(r)&&(Object.assign(r.style,o),Object.keys(i).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]};function Fe(e){return e.split("-")[0]}var We=Math.max,Ue=Math.min,$e=Math.round;function He(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function qe(){return!/^((?!chrome|android).)*safari/i.test(He())}function Ve(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var r=e.getBoundingClientRect(),i=1,o=1;t&&Ne(e)&&(i=e.offsetWidth>0&&$e(r.width)/e.offsetWidth||1,o=e.offsetHeight>0&&$e(r.height)/e.offsetHeight||1);var s=(Pe(e)?Ie(e):window).visualViewport,a=!qe()&&n,c=(r.left+(a&&s?s.offsetLeft:0))/i,l=(r.top+(a&&s?s.offsetTop:0))/o,u=r.width/i,f=r.height/o;return{width:u,height:f,top:l,right:c+u,bottom:l+f,left:c,x:c,y:l}}function Ge(e){var t=Ve(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 Xe(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&Be(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Ye(e){return Ie(e).getComputedStyle(e)}function Ze(e){return["table","td","th"].indexOf(Re(e))>=0}function Ke(e){return((Pe(e)?e.ownerDocument:e.document)||window.document).documentElement}function Je(e){return"html"===Re(e)?e:e.assignedSlot||e.parentNode||(Be(e)?e.host:null)||Ke(e)}function Qe(e){return Ne(e)&&"fixed"!==Ye(e).position?e.offsetParent:null}function et(e){for(var t=Ie(e),n=Qe(e);n&&Ze(n)&&"static"===Ye(n).position;)n=Qe(n);return n&&("html"===Re(n)||"body"===Re(n)&&"static"===Ye(n).position)?t:n||function(e){var t=/firefox/i.test(He());if(/Trident/i.test(He())&&Ne(e)&&"fixed"===Ye(e).position)return null;var n=Je(e);for(Be(n)&&(n=n.host);Ne(n)&&["html","body"].indexOf(Re(n))<0;){var r=Ye(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}function tt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function nt(e,t,n){return We(e,Ue(t,n))}function rt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function it(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}var ot={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,i=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=Fe(n.placement),c=tt(a),l=["left","right"].indexOf(a)>=0?"height":"width";if(o&&s){var u=function(e,t){return rt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:it(e,Me))}(i.padding,n),f=Ge(o),d="y"===c?"top":Ae,h="y"===c?ke:Te,p=n.rects.reference[l]+n.rects.reference[c]-s[c]-n.rects.popper[l],m=s[c]-n.rects.reference[c],g=et(o),v=g?"y"===c?g.clientHeight||0:g.clientWidth||0:0,y=p/2-m/2,w=u[d],b=v-f[l]-u[h],S=v/2-f[l]/2+y,x=nt(w,S,b),E=c;n.modifiersData[r]=((t={})[E]=x,t.centerOffset=x-S,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)))&&Xe(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function st(e){return e.split("-")[1]}var at={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ct(e){var t,n=e.popper,r=e.popperRect,i=e.placement,o=e.variation,s=e.offsets,a=e.position,c=e.gpuAcceleration,l=e.adaptive,u=e.roundOffsets,f=e.isFixed,d=s.x,h=void 0===d?0:d,p=s.y,m=void 0===p?0:p,g="function"==typeof u?u({x:h,y:m}):{x:h,y:m};h=g.x,m=g.y;var v=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),w=Ae,b="top",S=window;if(l){var x=et(n),E="clientHeight",C="clientWidth";x===Ie(n)&&"static"!==Ye(x=Ke(n)).position&&"absolute"===a&&(E="scrollHeight",C="scrollWidth"),("top"===i||("left"===i||"right"===i)&&"end"===o)&&(b=ke,m-=(f&&x===S&&S.visualViewport?S.visualViewport.height:x[E])-r.height,m*=c?1:-1),"left"!==i&&("top"!==i&&"bottom"!==i||"end"!==o)||(w=Te,h-=(f&&x===S&&S.visualViewport?S.visualViewport.width:x[C])-r.width,h*=c?1:-1)}var k,T=Object.assign({position:a},l&&at),A=!0===u?function(e,t){var n=e.x,r=e.y,i=t.devicePixelRatio||1;return{x:$e(n*i)/i||0,y:$e(r*i)/i||0}}({x:h,y:m},Ie(n)):{x:h,y:m};return h=A.x,m=A.y,c?Object.assign({},T,((k={})[b]=y?"0":"",k[w]=v?"0":"",k.transform=(S.devicePixelRatio||1)<=1?"translate("+h+"px, "+m+"px)":"translate3d("+h+"px, "+m+"px, 0)",k)):Object.assign({},T,((t={})[b]=y?m+"px":"",t[w]=v?h+"px":"",t.transform="",t))}var lt={passive:!0},ut={left:"right",right:"left",bottom:"top",top:"bottom"};function ft(e){return e.replace(/left|right|bottom|top/g,function(e){return ut[e]})}var dt={start:"end",end:"start"};function ht(e){return e.replace(/start|end/g,function(e){return dt[e]})}function pt(e){var t=Ie(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function mt(e){return Ve(Ke(e)).left+pt(e).scrollLeft}function gt(e){var t=Ye(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function vt(e){return["html","body","#document"].indexOf(Re(e))>=0?e.ownerDocument.body:Ne(e)&>(e)?e:vt(Je(e))}function yt(e,t){var n;void 0===t&&(t=[]);var r=vt(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),o=Ie(r),s=i?[o].concat(o.visualViewport||[],gt(r)?r:[]):r,a=t.concat(s);return i?a:a.concat(yt(Je(s)))}function wt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function bt(e,t,n){return"viewport"===t?wt(function(e,t){var n=Ie(e),r=Ke(e),i=n.visualViewport,o=r.clientWidth,s=r.clientHeight,a=0,c=0;if(i){o=i.width,s=i.height;var l=qe();(l||!l&&"fixed"===t)&&(a=i.offsetLeft,c=i.offsetTop)}return{width:o,height:s,x:a+mt(e),y:c}}(e,n)):Pe(t)?function(e,t){var n=Ve(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):wt(function(e){var t,n=Ke(e),r=pt(e),i=null==(t=e.ownerDocument)?void 0:t.body,o=We(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),s=We(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),a=-r.scrollLeft+mt(e),c=-r.scrollTop;return"rtl"===Ye(i||n).direction&&(a+=We(n.clientWidth,i?i.clientWidth:0)-o),{width:o,height:s,x:a,y:c}}(Ke(e)))}function St(e){var t,n=e.reference,r=e.element,i=e.placement,o=i?Fe(i):null,s=i?st(i):null,a=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(o){case"top":t={x:a,y:n.y-r.height};break;case ke:t={x:a,y:n.y+n.height};break;case Te:t={x:n.x+n.width,y:c};break;case Ae:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var l=o?tt(o):null;if(null!=l){var u="y"===l?"height":"width";switch(s){case ze:t[l]=t[l]-(n[u]/2-r[u]/2);break;case"end":t[l]=t[l]+(n[u]/2-r[u]/2)}}return t}function xt(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,o=n.strategy,s=void 0===o?e.strategy:o,a=n.boundary,c=void 0===a?"clippingParents":a,l=n.rootBoundary,u=void 0===l?"viewport":l,f=n.elementContext,d=void 0===f?Oe:f,h=n.altBoundary,p=void 0!==h&&h,m=n.padding,g=void 0===m?0:m,v=rt("number"!=typeof g?g:it(g,Me)),y="popper"===d?"reference":Oe,w=e.rects.popper,b=e.elements[p?y:d],S=function(e,t,n,r){var i="clippingParents"===t?function(e){var t=yt(Je(e)),n=["absolute","fixed"].indexOf(Ye(e).position)>=0&&Ne(e)?et(e):e;return Pe(n)?t.filter(function(e){return Pe(e)&&Xe(e,n)&&"body"!==Re(e)}):[]}(e):[].concat(t),o=[].concat(i,[n]),s=o[0],a=o.reduce(function(t,n){var i=bt(e,n,r);return t.top=We(i.top,t.top),t.right=Ue(i.right,t.right),t.bottom=Ue(i.bottom,t.bottom),t.left=We(i.left,t.left),t},bt(e,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(Pe(b)?b:b.contextElement||Ke(e.elements.popper),c,u,s),x=Ve(e.elements.reference),E=St({reference:x,element:w,strategy:"absolute",placement:i}),C=wt(Object.assign({},w,E)),k="popper"===d?C:x,T={top:S.top-k.top+v.top,bottom:k.bottom-S.bottom+v.bottom,left:S.left-k.left+v.left,right:k.right-S.right+v.right},A=e.modifiersData.offset;if("popper"===d&&A){var M=A[i];Object.keys(T).forEach(function(e){var t=["right","bottom"].indexOf(e)>=0?1:-1,n=["top","bottom"].indexOf(e)>=0?"y":"x";T[e]+=M[n]*t})}return T}var Et={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 i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0===s||s,c=n.fallbackPlacements,l=n.padding,u=n.boundary,f=n.rootBoundary,d=n.altBoundary,h=n.flipVariations,p=void 0===h||h,m=n.allowedAutoPlacements,g=t.options.placement,v=Fe(g)===g,y=c||(v||!p?[ft(g)]:function(e){if("auto"===Fe(e))return[];var t=ft(e);return[ht(e),t,ht(t)]}(g)),w=[g].concat(y).reduce(function(e,n){return e.concat("auto"===Fe(n)?function(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,o=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,l=void 0===c?Le:c,u=st(r),f=u?a?De:De.filter(function(e){return st(e)===u}):Me,d=f.filter(function(e){return l.indexOf(e)>=0});0===d.length&&(d=f);var h=d.reduce(function(t,n){return t[n]=xt(e,{placement:n,boundary:i,rootBoundary:o,padding:s})[Fe(n)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}(t,{placement:n,boundary:u,rootBoundary:f,padding:l,flipVariations:p,allowedAutoPlacements:m}):n)},[]),b=t.rects.reference,S=t.rects.popper,x=new Map,E=!0,C=w[0],k=0;k<w.length;k++){var T=w[k],A=Fe(T),M=st(T)===ze,z=["top",ke].indexOf(A)>=0,O=z?"width":"height",D=xt(t,{placement:T,boundary:u,rootBoundary:f,altBoundary:d,padding:l}),L=z?M?Te:Ae:M?ke:"top";b[O]>S[O]&&(L=ft(L));var _=ft(L),R=[];if(o&&R.push(D[A]<=0),a&&R.push(D[L]<=0,D[_]<=0),R.every(function(e){return e})){C=T,E=!1;break}x.set(T,R)}if(E)for(var I=function(e){var t=w.find(function(t){var n=x.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return C=t,"break"},P=p?3:1;P>0&&"break"!==I(P);P--);t.placement!==C&&(t.modifiersData[r]._skip=!0,t.placement=C,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function Ct(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function kt(e){return["top",Te,ke,Ae].some(function(t){return e[t]>=0})}var Tt={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.offset,o=void 0===i?[0,0]:i,s=Le.reduce(function(e,n){return e[n]=function(e,t,n){var r=Fe(e),i=["left","top"].indexOf(r)>=0?-1:1,o="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*i,["left","right"].indexOf(r)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,o),e},{}),a=s[t.placement],c=a.x,l=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=s}},At={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,o=void 0===i||i,s=n.altAxis,a=void 0!==s&&s,c=n.boundary,l=n.rootBoundary,u=n.altBoundary,f=n.padding,d=n.tether,h=void 0===d||d,p=n.tetherOffset,m=void 0===p?0:p,g=xt(t,{boundary:c,rootBoundary:l,padding:f,altBoundary:u}),v=Fe(t.placement),y=st(t.placement),w=!y,b=tt(v),S="x"===b?"y":"x",x=t.modifiersData.popperOffsets,E=t.rects.reference,C=t.rects.popper,k="function"==typeof m?m(Object.assign({},t.rects,{placement:t.placement})):m,T="number"==typeof k?{mainAxis:k,altAxis:k}:Object.assign({mainAxis:0,altAxis:0},k),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,M={x:0,y:0};if(x){if(o){var z,O="y"===b?"top":Ae,D="y"===b?ke:Te,L="y"===b?"height":"width",_=x[b],R=_+g[O],I=_-g[D],P=h?-C[L]/2:0,N="start"===y?E[L]:C[L],B="start"===y?-C[L]:-E[L],j=t.elements.arrow,F=h&&j?Ge(j):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},U=W[O],$=W[D],H=nt(0,E[L],F[L]),q=w?E[L]/2-P-H-U-T.mainAxis:N-H-U-T.mainAxis,V=w?-E[L]/2+P+H+$+T.mainAxis:B+H+$+T.mainAxis,G=t.elements.arrow&&et(t.elements.arrow),X=G?"y"===b?G.clientTop||0:G.clientLeft||0:0,Y=null!=(z=null==A?void 0:A[b])?z:0,Z=_+V-Y,K=nt(h?Ue(R,_+q-Y-X):R,_,h?We(I,Z):I);x[b]=K,M[b]=K-_}if(a){var J,Q="x"===b?"top":Ae,ee="x"===b?ke:Te,te=x[S],ne="y"===S?"height":"width",re=te+g[Q],ie=te-g[ee],oe=-1!==["top",Ae].indexOf(v),se=null!=(J=null==A?void 0:A[S])?J:0,ae=oe?re:te-E[ne]-C[ne]-se+T.altAxis,ce=oe?te+E[ne]+C[ne]-se-T.altAxis:ie,le=h&&oe?function(e,t,n){var r=nt(e,t,n);return r>n?n:r}(ae,te,ce):nt(h?ae:re,te,h?ce:ie);x[S]=le,M[S]=le-te}t.modifiersData[r]=M}},requiresIfExists:["offset"]};function Mt(e,t,n){void 0===n&&(n=!1);var r,i,o=Ne(t),s=Ne(t)&&function(e){var t=e.getBoundingClientRect(),n=$e(t.width)/e.offsetWidth||1,r=$e(t.height)/e.offsetHeight||1;return 1!==n||1!==r}(t),a=Ke(t),c=Ve(e,s,n),l={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(o||!o&&!n)&&(("body"!==Re(t)||gt(a))&&(l=(r=t)!==Ie(r)&&Ne(r)?{scrollLeft:(i=r).scrollLeft,scrollTop:i.scrollTop}:pt(r)),Ne(t)?((u=Ve(t,!0)).x+=t.clientLeft,u.y+=t.clientTop):a&&(u.x=mt(a))),{x:c.left+l.scrollLeft-u.x,y:c.top+l.scrollTop-u.y,width:c.width,height:c.height}}function zt(e){var t=new Map,n=new Set,r=[];function i(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!n.has(e)){var r=t.get(e);r&&i(r)}}),r.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){n.has(e.name)||i(e)}),r}var Ot={placement:"bottom",modifiers:[],strategy:"absolute"};function Dt(){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)})}var Lt=function(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,o=void 0===i?Ot:i;return function(e,t,n){void 0===n&&(n=o);var i,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ot,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,u={state:a,setOptions:function(n){var i="function"==typeof n?n(a.options):n;f(),a.options=Object.assign({},o,a.options,i),a.scrollParents={reference:Pe(e)?yt(e):e.contextElement?yt(e.contextElement):[],popper:yt(t)};var s,l,d=function(e){var t=zt(e);return _e.reduce(function(e,n){return e.concat(t.filter(function(e){return e.phase===n}))},[])}((s=[].concat(r,a.options.modifiers),l=s.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(l).map(function(e){return l[e]})));return a.orderedModifiers=d.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"==typeof i){var o=i({state:a,name:t,instance:u,options:r});c.push(o||function(){})}}),u.update()},forceUpdate:function(){if(!l){var e=a.elements,t=e.reference,n=e.popper;if(Dt(t,n)){a.rects={reference:Mt(t,et(n),"fixed"===a.options.strategy),popper:Ge(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var r=0;r<a.orderedModifiers.length;r++)if(!0!==a.reset){var i=a.orderedModifiers[r],o=i.fn,s=i.options,c=void 0===s?{}:s,f=i.name;"function"==typeof o&&(a=o({state:a,options:c,name:f,instance:u})||a)}else a.reset=!1,r=-1}}},update:(i=function(){return new Promise(function(e){u.forceUpdate(),e(a)})},function(){return s||(s=new Promise(function(e){Promise.resolve().then(function(){s=void 0,e(i())})})),s}),destroy:function(){f(),l=!0}};if(!Dt(e,t))return u;function f(){c.forEach(function(e){return e()}),c=[]}return u.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,o=void 0===i||i,s=r.resize,a=void 0===s||s,c=Ie(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&l.forEach(function(e){e.addEventListener("scroll",n.update,lt)}),a&&c.addEventListener("resize",n.update,lt),function(){o&&l.forEach(function(e){e.removeEventListener("scroll",n.update,lt)}),a&&c.removeEventListener("resize",n.update,lt)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=St({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,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,c=void 0===a||a,l={placement:Fe(t.placement),variation:st(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,ct(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:c})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,ct(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},je,Tt,Et,At,ot,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,o=t.modifiersData.preventOverflow,s=xt(t,{elementContext:"reference"}),a=xt(t,{altBoundary:!0}),c=Ct(s,r),l=Ct(a,i,o),u=kt(c),f=kt(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":f})}}]}),_t='<svg width="16" height="6" xmlns="http://www.w3.org/2000/svg"><path d="M0 6s1.796-.013 4.67-3.615C5.851.9 6.93.006 8 0c1.07-.006 2.148.887 3.343 2.385C14.233 6.005 16 6 16 6H0z"></svg>',Rt="tippy-content",It="tippy-backdrop",Pt="tippy-arrow",Nt="tippy-svg-arrow",Bt={passive:!0,capture:!0},jt=function(){return document.body};function Ft(e,t,n){if(Array.isArray(e)){var r=e[t];return null==r?Array.isArray(n)?n[t]:n:r}return e}function Wt(e,t){var n={}.toString.call(e);return 0===n.indexOf("[object")&&n.indexOf(t+"]")>-1}function Ut(e,t){return"function"==typeof e?e.apply(void 0,t):e}function $t(e,t){return 0===t?e:function(r){clearTimeout(n),n=setTimeout(function(){e(r)},t)};var n}function Ht(e,t){var n=Object.assign({},e);return t.forEach(function(e){delete n[e]}),n}function qt(e){return[].concat(e)}function Vt(e,t){-1===e.indexOf(t)&&e.push(t)}function Gt(e){return e.split("-")[0]}function Xt(e){return[].slice.call(e)}function Yt(e){return Object.keys(e).reduce(function(t,n){return void 0!==e[n]&&(t[n]=e[n]),t},{})}function Zt(){return document.createElement("div")}function Kt(e){return["Element","Fragment"].some(function(t){return Wt(e,t)})}function Jt(e){return Wt(e,"MouseEvent")}function Qt(e){return!(!e||!e._tippy||e._tippy.reference!==e)}function en(e,t){e.forEach(function(e){e&&(e.style.transitionDuration=t+"ms")})}function tn(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function nn(e){var t,n=qt(e)[0];return null!=n&&null!=(t=n.ownerDocument)&&t.body?n.ownerDocument:document}function rn(e,t,n){var r=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(t){e[r](t,n)})}function on(e,t){for(var n=t;n;){var r;if(e.contains(n))return!0;n=null==n.getRootNode||null==(r=n.getRootNode())?void 0:r.host}return!1}var sn={isTouch:!1},an=0;function cn(){sn.isTouch||(sn.isTouch=!0,window.performance&&document.addEventListener("mousemove",ln))}function ln(){var e=performance.now();e-an<20&&(sn.isTouch=!1,document.removeEventListener("mousemove",ln)),an=e}function un(){var e=document.activeElement;if(Qt(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}var fn,dn="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.msCrypto;function hn(e){return[e+"() was called on a"+("destroy"===e?"n already-":" ")+"destroyed instance. This is a no-op but","indicates a potential memory leak."].join(" ")}function pn(e){return e.replace(/[ \t]{2,}/g," ").replace(/^[ \t]*/gm,"").trim()}function mn(e){return pn("\n %ctippy.js\n\n %c"+pn(e)+"\n\n %c👷 This is a development-only message. It will be removed in production.\n ")}function gn(e){return[mn(e),"color: #00C584; font-size: 1.3em; font-weight: bold;","line-height: 1.5","color: #a6a095;"]}function vn(e,t){var n;e&&!fn.has(t)&&(fn.add(t),(n=console).warn.apply(n,gn(t)))}function yn(e,t){var n;e&&!fn.has(t)&&(fn.add(t),(n=console).error.apply(n,gn(t)))}"production"!==Ce.env.NODE_ENV&&(fn=new Set);var wn={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},bn=Object.assign({appendTo:jt,aria:{content:"auto",expanded:"auto"},delay:0,duration:[300,250],getReferenceClientRect:null,hideOnClick:!0,ignoreAttributes:!1,interactive:!1,interactiveBorder:2,interactiveDebounce:0,moveTransition:"",offset:[0,10],onAfterUpdate:function(){},onBeforeUpdate:function(){},onCreate:function(){},onDestroy:function(){},onHidden:function(){},onHide:function(){},onMount:function(){},onShow:function(){},onShown:function(){},onTrigger:function(){},onUntrigger:function(){},onClickOutside:function(){},placement:"top",plugins:[],popperOptions:{},render:null,showOnCreate:!1,touch:!0,trigger:"mouseenter focus",triggerTarget:null},wn,{allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999}),Sn=Object.keys(bn);function xn(e){var t=(e.plugins||[]).reduce(function(t,n){var r,i=n.name,o=n.defaultValue;return i&&(t[i]=void 0!==e[i]?e[i]:null!=(r=bn[i])?r:o),t},{});return Object.assign({},e,t)}function En(e,t){var n=Object.assign({},t,{content:Ut(t.content,[e])},t.ignoreAttributes?{}:function(e,t){return(t?Object.keys(xn(Object.assign({},bn,{plugins:t}))):Sn).reduce(function(t,n){var r=(e.getAttribute("data-tippy-"+n)||"").trim();if(!r)return t;if("content"===n)t[n]=r;else try{t[n]=JSON.parse(r)}catch(e){t[n]=r}return t},{})}(e,t.plugins));return n.aria=Object.assign({},bn.aria,n.aria),n.aria={expanded:"auto"===n.aria.expanded?t.interactive:n.aria.expanded,content:"auto"===n.aria.content?t.interactive?null:"describedby":n.aria.content},n}function Cn(e,t){void 0===e&&(e={}),void 0===t&&(t=[]),Object.keys(e).forEach(function(e){var n,r,i=(n=Ht(bn,Object.keys(wn)),r=e,!{}.hasOwnProperty.call(n,r));i&&(i=0===t.filter(function(t){return t.name===e}).length),vn(i,["`"+e+"`","is not a valid prop. You may have spelled it incorrectly, or if it's","a plugin, forgot to pass it in an array as props.plugins.","\n\n","All props: https://atomiks.github.io/tippyjs/v6/all-props/\n","Plugins: https://atomiks.github.io/tippyjs/v6/plugins/"].join(" "))})}function kn(e,t){e.innerHTML=t}function Tn(e){var t=Zt();return!0===e?t.className=Pt:(t.className=Nt,Kt(e)?t.appendChild(e):kn(t,e)),t}function An(e,t){Kt(t.content)?(kn(e,""),e.appendChild(t.content)):"function"!=typeof t.content&&(t.allowHTML?kn(e,t.content):e.textContent=t.content)}function Mn(e){var t=e.firstElementChild,n=Xt(t.children);return{box:t,content:n.find(function(e){return e.classList.contains(Rt)}),arrow:n.find(function(e){return e.classList.contains(Pt)||e.classList.contains(Nt)}),backdrop:n.find(function(e){return e.classList.contains(It)})}}function zn(e){var t=Zt(),n=Zt();n.className="tippy-box",n.setAttribute("data-state","hidden"),n.setAttribute("tabindex","-1");var r=Zt();function i(n,r){var i=Mn(t),o=i.box,s=i.content,a=i.arrow;r.theme?o.setAttribute("data-theme",r.theme):o.removeAttribute("data-theme"),"string"==typeof r.animation?o.setAttribute("data-animation",r.animation):o.removeAttribute("data-animation"),r.inertia?o.setAttribute("data-inertia",""):o.removeAttribute("data-inertia"),o.style.maxWidth="number"==typeof r.maxWidth?r.maxWidth+"px":r.maxWidth,r.role?o.setAttribute("role",r.role):o.removeAttribute("role"),n.content===r.content&&n.allowHTML===r.allowHTML||An(s,e.props),r.arrow?a?n.arrow!==r.arrow&&(o.removeChild(a),o.appendChild(Tn(r.arrow))):o.appendChild(Tn(r.arrow)):a&&o.removeChild(a)}return r.className=Rt,r.setAttribute("data-state","hidden"),An(r,e.props),t.appendChild(n),n.appendChild(r),i(e.props,e.props),{popper:t,onUpdate:i}}zn.$$tippy=!0;var On=1,Dn=[],Ln=[];function _n(e,t){var n,r,i,o,s,a,c,l,u=En(e,Object.assign({},bn,xn(Yt(t)))),f=!1,d=!1,h=!1,p=!1,m=[],g=$t(G,u.interactiveDebounce),v=On++,y=(l=u.plugins).filter(function(e,t){return l.indexOf(e)===t}),w={id:v,reference:e,popper:Zt(),popperInstance:null,props:u,state:{isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},plugins:y,clearDelayTimeouts:function(){clearTimeout(n),clearTimeout(r),cancelAnimationFrame(i)},setProps:function(t){if("production"!==Ce.env.NODE_ENV&&vn(w.state.isDestroyed,hn("setProps")),!w.state.isDestroyed){_("onBeforeUpdate",[w,t]),q();var n=w.props,r=En(e,Object.assign({},n,Yt(t),{ignoreAttributes:!0}));w.props=r,H(),n.interactiveDebounce!==r.interactiveDebounce&&(P(),g=$t(G,r.interactiveDebounce)),n.triggerTarget&&!r.triggerTarget?qt(n.triggerTarget).forEach(function(e){e.removeAttribute("aria-expanded")}):r.triggerTarget&&e.removeAttribute("aria-expanded"),I(),L(),x&&x(n,r),w.popperInstance&&(K(),Q().forEach(function(e){requestAnimationFrame(e._tippy.popperInstance.forceUpdate)})),_("onAfterUpdate",[w,t])}},setContent:function(e){w.setProps({content:e})},show:function(){"production"!==Ce.env.NODE_ENV&&vn(w.state.isDestroyed,hn("show"));var e=w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,r=sn.isTouch&&!w.props.touch,i=Ft(w.props.duration,0,bn.duration);if(!(e||t||n||r||M().hasAttribute("disabled")||(_("onShow",[w],!1),!1===w.props.onShow(w)))){if(w.state.isVisible=!0,A()&&(S.style.visibility="visible"),L(),F(),w.state.isMounted||(S.style.transition="none"),A()){var o=O();en([o.box,o.content],0)}a=function(){var e;if(w.state.isVisible&&!p){if(p=!0,S.offsetHeight,S.style.transition=w.props.moveTransition,A()&&w.props.animation){var t=O(),n=t.box,r=t.content;en([n,r],i),tn([n,r],"visible")}R(),I(),Vt(Ln,w),null==(e=w.popperInstance)||e.forceUpdate(),_("onMount",[w]),w.props.animation&&A()&&function(e){U(e,function(){w.state.isShown=!0,_("onShown",[w])})}(i)}},function(){var e,t=w.props.appendTo,n=M();(e=w.props.interactive&&t===jt||"parent"===t?n.parentNode:Ut(t,[n])).contains(S)||e.appendChild(S),w.state.isMounted=!0,K(),"production"!==Ce.env.NODE_ENV&&vn(w.props.interactive&&t===bn.appendTo&&n.nextElementSibling!==S,["Interactive tippy element may not be accessible via keyboard","navigation because it is not directly after the reference element","in the DOM source order.","\n\n","Using a wrapper <div> or <span> tag around the reference element","solves this by creating a new parentNode context.","\n\n","Specifying `appendTo: document.body` silences this warning, but it","assumes you are using a focus management solution to handle","keyboard navigation.","\n\n","See: https://atomiks.github.io/tippyjs/v6/accessibility/#interactivity"].join(" "))}()}},hide:function(){"production"!==Ce.env.NODE_ENV&&vn(w.state.isDestroyed,hn("hide"));var e=!w.state.isVisible,t=w.state.isDestroyed,n=!w.state.isEnabled,r=Ft(w.props.duration,1,bn.duration);if(!(e||t||n)&&(_("onHide",[w],!1),!1!==w.props.onHide(w))){if(w.state.isVisible=!1,w.state.isShown=!1,p=!1,f=!1,A()&&(S.style.visibility="hidden"),P(),W(),L(!0),A()){var i=O(),o=i.box,s=i.content;w.props.animation&&(en([o,s],r),tn([o,s],"hidden"))}R(),I(),w.props.animation?A()&&function(e,t){U(e,function(){!w.state.isVisible&&S.parentNode&&S.parentNode.contains(S)&&t()})}(r,w.unmount):w.unmount()}},hideWithInteractivity:function(e){"production"!==Ce.env.NODE_ENV&&vn(w.state.isDestroyed,hn("hideWithInteractivity")),z().addEventListener("mousemove",g),Vt(Dn,g),g(e)},enable:function(){w.state.isEnabled=!0},disable:function(){w.hide(),w.state.isEnabled=!1},unmount:function(){"production"!==Ce.env.NODE_ENV&&vn(w.state.isDestroyed,hn("unmount")),w.state.isVisible&&w.hide(),w.state.isMounted&&(J(),Q().forEach(function(e){e._tippy.unmount()}),S.parentNode&&S.parentNode.removeChild(S),Ln=Ln.filter(function(e){return e!==w}),w.state.isMounted=!1,_("onHidden",[w]))},destroy:function(){"production"!==Ce.env.NODE_ENV&&vn(w.state.isDestroyed,hn("destroy")),w.state.isDestroyed||(w.clearDelayTimeouts(),w.unmount(),q(),delete e._tippy,w.state.isDestroyed=!0,_("onDestroy",[w]))}};if(!u.render)return"production"!==Ce.env.NODE_ENV&&yn(!0,"render() function has not been supplied."),w;var b=u.render(w),S=b.popper,x=b.onUpdate;S.setAttribute("data-tippy-root",""),S.id="tippy-"+w.id,w.popper=S,e._tippy=w,S._tippy=w;var E=y.map(function(e){return e.fn(w)}),C=e.hasAttribute("aria-expanded");return H(),I(),L(),_("onCreate",[w]),u.showOnCreate&&ee(),S.addEventListener("mouseenter",function(){w.props.interactive&&w.state.isVisible&&w.clearDelayTimeouts()}),S.addEventListener("mouseleave",function(){w.props.interactive&&w.props.trigger.indexOf("mouseenter")>=0&&z().addEventListener("mousemove",g)}),w;function k(){var e=w.props.touch;return Array.isArray(e)?e:[e,0]}function T(){return"hold"===k()[0]}function A(){var e;return!(null==(e=w.props.render)||!e.$$tippy)}function M(){return c||e}function z(){var e=M().parentNode;return e?nn(e):document}function O(){return Mn(S)}function D(e){return w.state.isMounted&&!w.state.isVisible||sn.isTouch||o&&"focus"===o.type?0:Ft(w.props.delay,e?0:1,bn.delay)}function L(e){void 0===e&&(e=!1),S.style.pointerEvents=w.props.interactive&&!e?"":"none",S.style.zIndex=""+w.props.zIndex}function _(e,t,n){var r;void 0===n&&(n=!0),E.forEach(function(n){n[e]&&n[e].apply(n,t)}),n&&(r=w.props)[e].apply(r,t)}function R(){var t=w.props.aria;if(t.content){var n="aria-"+t.content,r=S.id;qt(w.props.triggerTarget||e).forEach(function(e){var t=e.getAttribute(n);if(w.state.isVisible)e.setAttribute(n,t?t+" "+r:r);else{var i=t&&t.replace(r,"").trim();i?e.setAttribute(n,i):e.removeAttribute(n)}})}}function I(){!C&&w.props.aria.expanded&&qt(w.props.triggerTarget||e).forEach(function(e){w.props.interactive?e.setAttribute("aria-expanded",w.state.isVisible&&e===M()?"true":"false"):e.removeAttribute("aria-expanded")})}function P(){z().removeEventListener("mousemove",g),Dn=Dn.filter(function(e){return e!==g})}function N(t){if(!sn.isTouch||!h&&"mousedown"!==t.type){var n=t.composedPath&&t.composedPath()[0]||t.target;if(!w.props.interactive||!on(S,n)){if(qt(w.props.triggerTarget||e).some(function(e){return on(e,n)})){if(sn.isTouch)return;if(w.state.isVisible&&w.props.trigger.indexOf("click")>=0)return}else _("onClickOutside",[w,t]);!0===w.props.hideOnClick&&(w.clearDelayTimeouts(),w.hide(),d=!0,setTimeout(function(){d=!1}),w.state.isMounted||W())}}}function B(){h=!0}function j(){h=!1}function F(){var e=z();e.addEventListener("mousedown",N,!0),e.addEventListener("touchend",N,Bt),e.addEventListener("touchstart",j,Bt),e.addEventListener("touchmove",B,Bt)}function W(){var e=z();e.removeEventListener("mousedown",N,!0),e.removeEventListener("touchend",N,Bt),e.removeEventListener("touchstart",j,Bt),e.removeEventListener("touchmove",B,Bt)}function U(e,t){var n=O().box;function r(e){e.target===n&&(rn(n,"remove",r),t())}if(0===e)return t();rn(n,"remove",s),rn(n,"add",r),s=r}function $(t,n,r){void 0===r&&(r=!1),qt(w.props.triggerTarget||e).forEach(function(e){e.addEventListener(t,n,r),m.push({node:e,eventType:t,handler:n,options:r})})}function H(){var e;T()&&($("touchstart",V,{passive:!0}),$("touchend",X,{passive:!0})),(e=w.props.trigger,e.split(/\s+/).filter(Boolean)).forEach(function(e){if("manual"!==e)switch($(e,V),e){case"mouseenter":$("mouseleave",X);break;case"focus":$(dn?"focusout":"blur",Y);break;case"focusin":$("focusout",Y)}})}function q(){m.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),m=[]}function V(e){var t,n=!1;if(w.state.isEnabled&&!Z(e)&&!d){var r="focus"===(null==(t=o)?void 0:t.type);o=e,c=e.currentTarget,I(),!w.state.isVisible&&Jt(e)&&Dn.forEach(function(t){return t(e)}),"click"===e.type&&(w.props.trigger.indexOf("mouseenter")<0||f)&&!1!==w.props.hideOnClick&&w.state.isVisible?n=!0:ee(e),"click"===e.type&&(f=!n),n&&!r&&te(e)}}function G(e){var t=e.target,n=M().contains(t)||S.contains(t);"mousemove"===e.type&&n||function(e,t){var n=t.clientX,r=t.clientY;return e.every(function(e){var t=e.popperRect,i=e.popperState,o=e.props.interactiveBorder,s=Gt(i.placement),a=i.modifiersData.offset;if(!a)return!0;var c="bottom"===s?a.top.y:0,l="top"===s?a.bottom.y:0,u="right"===s?a.left.x:0,f="left"===s?a.right.x:0,d=t.top-r+c>o,h=r-t.bottom-l>o,p=t.left-n+u>o,m=n-t.right-f>o;return d||h||p||m})}(Q().concat(S).map(function(e){var t,n=null==(t=e._tippy.popperInstance)?void 0:t.state;return n?{popperRect:e.getBoundingClientRect(),popperState:n,props:u}:null}).filter(Boolean),e)&&(P(),te(e))}function X(e){Z(e)||w.props.trigger.indexOf("click")>=0&&f||(w.props.interactive?w.hideWithInteractivity(e):te(e))}function Y(e){w.props.trigger.indexOf("focusin")<0&&e.target!==M()||w.props.interactive&&e.relatedTarget&&S.contains(e.relatedTarget)||te(e)}function Z(e){return!!sn.isTouch&&T()!==e.type.indexOf("touch")>=0}function K(){J();var t=w.props,n=t.popperOptions,r=t.placement,i=t.offset,o=t.getReferenceClientRect,s=t.moveTransition,c=A()?Mn(S).arrow:null,l=o?{getBoundingClientRect:o,contextElement:o.contextElement||M()}:e,u=[{name:"offset",options:{offset:i}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!s}},{name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(e){var t=e.state;if(A()){var n=O().box;["placement","reference-hidden","escaped"].forEach(function(e){"placement"===e?n.setAttribute("data-placement",t.placement):t.attributes.popper["data-popper-"+e]?n.setAttribute("data-"+e,""):n.removeAttribute("data-"+e)}),t.attributes.popper={}}}}];A()&&c&&u.push({name:"arrow",options:{element:c,padding:3}}),u.push.apply(u,(null==n?void 0:n.modifiers)||[]),w.popperInstance=Lt(l,S,Object.assign({},n,{placement:r,onFirstUpdate:a,modifiers:u}))}function J(){w.popperInstance&&(w.popperInstance.destroy(),w.popperInstance=null)}function Q(){return Xt(S.querySelectorAll("[data-tippy-root]"))}function ee(e){w.clearDelayTimeouts(),e&&_("onTrigger",[w,e]),F();var t=D(!0),r=k(),i=r[0],o=r[1];sn.isTouch&&"hold"===i&&o&&(t=o),t?n=setTimeout(function(){w.show()},t):w.show()}function te(e){if(w.clearDelayTimeouts(),_("onUntrigger",[w,e]),w.state.isVisible){if(!(w.props.trigger.indexOf("mouseenter")>=0&&w.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(e.type)>=0&&f)){var t=D(!1);t?r=setTimeout(function(){w.state.isVisible&&w.hide()},t):i=requestAnimationFrame(function(){w.hide()})}}else W()}}function Rn(e,t){void 0===t&&(t={});var n=bn.plugins.concat(t.plugins||[]);"production"!==Ce.env.NODE_ENV&&(function(e){var t=!e,n="[object Object]"===Object.prototype.toString.call(e)&&!e.addEventListener;yn(t,["tippy() was passed","`"+String(e)+"`","as its targets (first) argument. Valid types are: String, Element,","Element[], or NodeList."].join(" ")),yn(n,["tippy() was passed a plain object which is not supported as an argument","for virtual positioning. Use props.getReferenceClientRect instead."].join(" "))}(e),Cn(t,n)),document.addEventListener("touchstart",cn,Bt),window.addEventListener("blur",un);var r=Object.assign({},t,{plugins:n}),i=function(e){return Kt(e)?[e]:function(e){return Wt(e,"NodeList")}(e)?Xt(e):Array.isArray(e)?e:Xt(document.querySelectorAll(e))}(e);if("production"!==Ce.env.NODE_ENV){var o=Kt(r.content),s=i.length>1;vn(o&&s,["tippy() was passed an Element as the `content` prop, but more than","one tippy instance was created by this invocation. This means the","content element will only be appended to the last tippy instance.","\n\n","Instead, pass the .innerHTML of the element, or use a function that","returns a cloned version of the element instead.","\n\n","1) content: element.innerHTML\n","2) content: () => element.cloneNode(true)"].join(" "))}var a=i.reduce(function(e,t){var n=t&&_n(t,r);return n&&e.push(n),e},[]);return Kt(e)?a[0]:a}Rn.defaultProps=bn,Rn.setDefaultProps=function(e){"production"!==Ce.env.NODE_ENV&&Cn(e,[]),Object.keys(e).forEach(function(t){bn[t]=e[t]})},Rn.currentInput=sn;var In=function(e){var t=void 0===e?{}:e,n=t.exclude,r=t.duration;Ln.forEach(function(e){var t=!1;if(n&&(t=Qt(n)?e.reference===n:e.popper===n.popper),!t){var i=e.props.duration;e.setProps({duration:r}),e.hide(),e.state.isDestroyed||e.setProps({duration:i})}})},Pn=Object.assign({},je,{effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow)}}),Nn=function(e,t){var n;void 0===t&&(t={}),"production"!==Ce.env.NODE_ENV&&yn(!Array.isArray(e),["The first argument passed to createSingleton() must be an array of","tippy instances. The passed value was",String(e)].join(" "));var r,i=e,o=[],s=[],a=t.overrides,c=[],l=!1;function u(){s=i.map(function(e){return qt(e.props.triggerTarget||e.reference)}).reduce(function(e,t){return e.concat(t)},[])}function f(){o=i.map(function(e){return e.reference})}function d(e){i.forEach(function(t){e?t.enable():t.disable()})}function h(e){return i.map(function(t){var n=t.setProps;return t.setProps=function(i){n(i),t.reference===r&&e.setProps(i)},function(){t.setProps=n}})}function p(e,t){var n=s.indexOf(t);if(t!==r){r=t;var c=(a||[]).concat("content").reduce(function(e,t){return e[t]=i[n].props[t],e},{});e.setProps(Object.assign({},c,{getReferenceClientRect:"function"==typeof c.getReferenceClientRect?c.getReferenceClientRect:function(){var e;return null==(e=o[n])?void 0:e.getBoundingClientRect()}}))}}d(!1),f(),u();var m=Rn(Zt(),Object.assign({},Ht(t,["overrides"]),{plugins:[{fn:function(){return{onDestroy:function(){d(!0)},onHidden:function(){r=null},onClickOutside:function(e){e.props.showOnCreate&&!l&&(l=!0,r=null)},onShow:function(e){e.props.showOnCreate&&!l&&(l=!0,p(e,o[0]))},onTrigger:function(e,t){p(e,t.currentTarget)}}}}].concat(t.plugins||[]),triggerTarget:s,popperOptions:Object.assign({},t.popperOptions,{modifiers:[].concat((null==(n=t.popperOptions)?void 0:n.modifiers)||[],[Pn])})})),g=m.show;m.show=function(e){if(g(),!r&&null==e)return p(m,o[0]);if(!r||null!=e){if("number"==typeof e)return o[e]&&p(m,o[e]);if(i.indexOf(e)>=0){var t=e.reference;return p(m,t)}return o.indexOf(e)>=0?p(m,e):void 0}},m.showNext=function(){var e=o[0];if(!r)return m.show(0);var t=o.indexOf(r);m.show(o[t+1]||e)},m.showPrevious=function(){var e=o[o.length-1];if(!r)return m.show(e);var t=o.indexOf(r),n=o[t-1]||e;m.show(n)};var v=m.setProps;return m.setProps=function(e){a=e.overrides||a,v(e)},m.setInstances=function(e){d(!0),c.forEach(function(e){return e()}),i=e,d(!1),f(),u(),c=h(m),m.setProps({triggerTarget:s})},c=h(m),m},Bn={mouseover:"mouseenter",focusin:"focus",click:"click"};function jn(e,t){"production"!==Ce.env.NODE_ENV&&yn(!(t&&t.target),["You must specity a `target` prop indicating a CSS selector string matching","the target elements that should receive a tippy."].join(" "));var n=[],r=[],i=!1,o=t.target,s=Ht(t,["target"]),a=Object.assign({},s,{trigger:"manual",touch:!1}),c=Object.assign({touch:bn.touch},s,{showOnCreate:!0}),l=Rn(e,a);function u(e){if(e.target&&!i){var n=e.target.closest(o);if(n){var s=n.getAttribute("data-tippy-trigger")||t.trigger||bn.trigger;if(!n._tippy&&!("touchstart"===e.type&&"boolean"==typeof c.touch||"touchstart"!==e.type&&s.indexOf(Bn[e.type])<0)){var a=Rn(n,c);a&&(r=r.concat(a))}}}}function f(e,t,r,i){void 0===i&&(i=!1),e.addEventListener(t,r,i),n.push({node:e,eventType:t,handler:r,options:i})}return qt(l).forEach(function(e){var t=e.destroy,o=e.enable,s=e.disable;e.destroy=function(e){void 0===e&&(e=!0),e&&r.forEach(function(e){e.destroy()}),r=[],n.forEach(function(e){var t=e.node,n=e.eventType,r=e.handler,i=e.options;t.removeEventListener(n,r,i)}),n=[],t()},e.enable=function(){o(),r.forEach(function(e){return e.enable()}),i=!1},e.disable=function(){s(),r.forEach(function(e){return e.disable()}),i=!0},function(e){var t=e.reference;f(t,"touchstart",u,Bt),f(t,"mouseover",u),f(t,"focusin",u),f(t,"click",u)}(e)}),l}var Fn={name:"animateFill",defaultValue:!1,fn:function(e){var t;if(null==(t=e.props.render)||!t.$$tippy)return"production"!==Ce.env.NODE_ENV&&yn(e.props.animateFill,"The `animateFill` plugin requires the default render function."),{};var n=Mn(e.popper),r=n.box,i=n.content,o=e.props.animateFill?function(){var e=Zt();return e.className=It,tn([e],"hidden"),e}():null;return{onCreate:function(){o&&(r.insertBefore(o,r.firstElementChild),r.setAttribute("data-animatefill",""),r.style.overflow="hidden",e.setProps({arrow:!1,animation:"shift-away"}))},onMount:function(){if(o){var e=r.style.transitionDuration,t=Number(e.replace("ms",""));i.style.transitionDelay=Math.round(t/10)+"ms",o.style.transitionDuration=e,tn([o],"visible")}},onShow:function(){o&&(o.style.transitionDuration="0ms")},onHide:function(){o&&tn([o],"hidden")}}}},Wn={clientX:0,clientY:0},Un=[];function $n(e){Wn={clientX:e.clientX,clientY:e.clientY}}var Hn={name:"followCursor",defaultValue:!1,fn:function(e){var t=e.reference,n=nn(e.props.triggerTarget||t),r=!1,i=!1,o=!0,s=e.props;function a(){return"initial"===e.props.followCursor&&e.state.isVisible}function c(){n.addEventListener("mousemove",f)}function l(){n.removeEventListener("mousemove",f)}function u(){r=!0,e.setProps({getReferenceClientRect:null}),r=!1}function f(n){var r=!n.target||t.contains(n.target),i=e.props.followCursor,o=n.clientX,s=n.clientY,a=t.getBoundingClientRect(),c=o-a.left,l=s-a.top;!r&&e.props.interactive||e.setProps({getReferenceClientRect:function(){var e=t.getBoundingClientRect(),n=o,r=s;"initial"===i&&(n=e.left+c,r=e.top+l);var a="horizontal"===i?e.top:r,u="vertical"===i?e.right:n,f="horizontal"===i?e.bottom:r,d="vertical"===i?e.left:n;return{width:u-d,height:f-a,top:a,right:u,bottom:f,left:d}}})}function d(){e.props.followCursor&&(Un.push({instance:e,doc:n}),function(e){e.addEventListener("mousemove",$n)}(n))}function h(){Un=Un.filter(function(t){return t.instance!==e}),0===Un.filter(function(e){return e.doc===n}).length&&function(e){e.removeEventListener("mousemove",$n)}(n)}return{onCreate:d,onDestroy:h,onBeforeUpdate:function(){s=e.props},onAfterUpdate:function(t,n){var o=n.followCursor;r||void 0!==o&&s.followCursor!==o&&(h(),o?(d(),!e.state.isMounted||i||a()||c()):(l(),u()))},onMount:function(){e.props.followCursor&&!i&&(o&&(f(Wn),o=!1),a()||c())},onTrigger:function(e,t){Jt(t)&&(Wn={clientX:t.clientX,clientY:t.clientY}),i="focus"===t.type},onHidden:function(){e.props.followCursor&&(u(),l(),o=!0)}}}},qn={name:"inlinePositioning",defaultValue:!1,fn:function(e){var t,n=e.reference,r=-1,i=!1,o=[],s={name:"tippyInlinePositioning",enabled:!0,phase:"afterWrite",fn:function(i){var s=i.state;e.props.inlinePositioning&&(-1!==o.indexOf(s.placement)&&(o=[]),t!==s.placement&&-1===o.indexOf(s.placement)&&(o.push(s.placement),e.setProps({getReferenceClientRect:function(){return function(e){return function(e,t,n,r){if(n.length<2||null===e)return t;if(2===n.length&&r>=0&&n[0].left>n[1].right)return n[r]||t;switch(e){case"top":case"bottom":var i=n[0],o=n[n.length-1],s="top"===e,a=i.top,c=o.bottom,l=s?i.left:o.left,u=s?i.right:o.right;return{top:a,bottom:c,left:l,right:u,width:u-l,height:c-a};case"left":case"right":var f=Math.min.apply(Math,n.map(function(e){return e.left})),d=Math.max.apply(Math,n.map(function(e){return e.right})),h=n.filter(function(t){return"left"===e?t.left===f:t.right===d}),p=h[0].top,m=h[h.length-1].bottom;return{top:p,bottom:m,left:f,right:d,width:d-f,heig