!function(){"use strict";var t=function(){function t(t,e){void 0===e&&(e=[]),this._eventType=t,this._eventFunctions=e}return t.prototype.init=function(){var t=this;this._eventFunctions.forEach((function(e){"undefined"!=typeof window&&window.addEventListener(t._eventType,e)}))},t}(),e=function(){return e=Object.assign||function(t){for(var e,i=1,n=arguments.length;i0&&L(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&L(n.height)/t.offsetHeight||1);var s=(y(t)?m(t):window).visualViewport,a=!x()&&i,c=(n.left+(a&&s?s.offsetLeft:0))/o,l=(n.top+(a&&s?s.offsetTop:0))/r,d=n.width/o,u=n.height/r;return{width:d,height:u,top:l,right:c+d,bottom:l+u,left:c,x:c,y:l}}function A(t){var e=m(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function T(t){return t?(t.nodeName||"").toLowerCase():null}function C(t){return((y(t)?t.ownerDocument:t.document)||window.document).documentElement}function j(t){return O(C(t)).left+A(t).scrollLeft}function S(t){return m(t).getComputedStyle(t)}function I(t){var e=S(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function P(t,e,i){void 0===i&&(i=!1);var n,o,r=_(e),s=_(e)&&function(t){var e=t.getBoundingClientRect(),i=L(e.width)/t.offsetWidth||1,n=L(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=C(e),c=O(t,s,i),l={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(r||!r&&!i)&&(("body"!==T(e)||I(a))&&(l=(n=e)!==m(n)&&_(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:A(n)),_(e)?((d=O(e,!0)).x+=e.clientLeft,d.y+=e.clientTop):a&&(d.x=j(a))),{x:c.left+l.scrollLeft-d.x,y:c.top+l.scrollTop-d.y,width:c.width,height:c.height}}function D(t){var e=O(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function q(t){return"html"===T(t)?t:t.assignedSlot||t.parentNode||(b(t)?t.host:null)||C(t)}function H(t){return["html","body","#document"].indexOf(T(t))>=0?t.ownerDocument.body:_(t)&&I(t)?t:H(q(t))}function B(t,e){var i;void 0===e&&(e=[]);var n=H(t),o=n===(null==(i=t.ownerDocument)?void 0:i.body),r=m(n),s=o?[r].concat(r.visualViewport||[],I(n)?n:[]):n,a=e.concat(s);return o?a:a.concat(B(q(s)))}function M(t){return["table","td","th"].indexOf(T(t))>=0}function V(t){return _(t)&&"fixed"!==S(t).position?t.offsetParent:null}function z(t){for(var e=m(t),i=V(t);i&&M(i)&&"static"===S(i).position;)i=V(i);return i&&("html"===T(i)||"body"===T(i)&&"static"===S(i).position)?e:i||function(t){var e=/firefox/i.test(k());if(/Trident/i.test(k())&&_(t)&&"fixed"===S(t).position)return null;var i=q(t);for(b(i)&&(i=i.host);_(i)&&["html","body"].indexOf(T(i))<0;){var n=S(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}var W="top",R="bottom",N="right",K="left",F="auto",U=[W,R,N,K],X="start",Y="end",G="clippingParents",J="viewport",Q="popper",Z="reference",$=U.reduce((function(t,e){return t.concat([e+"-"+X,e+"-"+Y])}),[]),tt=[].concat(U,[F]).reduce((function(t,e){return t.concat([e,e+"-"+X,e+"-"+Y])}),[]),et=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function it(t){var e=new Map,i=new Set,n=[];function o(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&o(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||o(t)})),n}var nt={placement:"bottom",modifiers:[],strategy:"absolute"};function ot(){for(var t=arguments.length,e=new Array(t),i=0;i=0?"x":"y"}function dt(t){var e,i=t.reference,n=t.element,o=t.placement,r=o?at(o):null,s=o?ct(o):null,a=i.x+i.width/2-n.width/2,c=i.y+i.height/2-n.height/2;switch(r){case W:e={x:a,y:i.y-n.height};break;case R:e={x:a,y:i.y+i.height};break;case N:e={x:i.x+i.width,y:c};break;case K:e={x:i.x-n.width,y:c};break;default:e={x:i.x,y:i.y}}var l=r?lt(r):null;if(null!=l){var d="y"===l?"height":"width";switch(s){case X:e[l]=e[l]-(i[d]/2-n[d]/2);break;case Y:e[l]=e[l]+(i[d]/2-n[d]/2)}}return e}var ut={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pt(t){var e,i=t.popper,n=t.popperRect,o=t.placement,r=t.variation,s=t.offsets,a=t.position,c=t.gpuAcceleration,l=t.adaptive,d=t.roundOffsets,u=t.isFixed,p=s.x,f=void 0===p?0:p,h=s.y,g=void 0===h?0:h,v="function"==typeof d?d({x:f,y:g}):{x:f,y:g};f=v.x,g=v.y;var y=s.hasOwnProperty("x"),_=s.hasOwnProperty("y"),b=K,w=W,E=window;if(l){var k=z(i),x="clientHeight",O="clientWidth";if(k===m(i)&&"static"!==S(k=C(i)).position&&"absolute"===a&&(x="scrollHeight",O="scrollWidth"),o===W||(o===K||o===N)&&r===Y)w=R,g-=(u&&k===E&&E.visualViewport?E.visualViewport.height:k[x])-n.height,g*=c?1:-1;if(o===K||(o===W||o===R)&&r===Y)b=N,f-=(u&&k===E&&E.visualViewport?E.visualViewport.width:k[O])-n.width,f*=c?1:-1}var A,T=Object.assign({position:a},l&&ut),j=!0===d?function(t,e){var i=t.x,n=t.y,o=e.devicePixelRatio||1;return{x:L(i*o)/o||0,y:L(n*o)/o||0}}({x:f,y:g},m(i)):{x:f,y:g};return f=j.x,g=j.y,c?Object.assign({},T,((A={})[w]=_?"0":"",A[b]=y?"0":"",A.transform=(E.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",A)):Object.assign({},T,((e={})[w]=_?g+"px":"",e[b]=y?f+"px":"",e.transform="",e))}var ft={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,n=t.name,o=i.offset,r=void 0===o?[0,0]:o,s=tt.reduce((function(t,i){return t[i]=function(t,e,i){var n=at(t),o=[K,W].indexOf(n)>=0?-1:1,r="function"==typeof i?i(Object.assign({},e,{placement:t})):i,s=r[0],a=r[1];return s=s||0,a=(a||0)*o,[K,N].indexOf(n)>=0?{x:a,y:s}:{x:s,y:a}}(i,e.rects,r),t}),{}),a=s[e.placement],c=a.x,l=a.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=c,e.modifiersData.popperOffsets.y+=l),e.modifiersData[n]=s}},ht={left:"right",right:"left",bottom:"top",top:"bottom"};function gt(t){return t.replace(/left|right|bottom|top/g,(function(t){return ht[t]}))}var vt={start:"end",end:"start"};function mt(t){return t.replace(/start|end/g,(function(t){return vt[t]}))}function yt(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&b(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function _t(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function bt(t,e,i){return e===J?_t(function(t,e){var i=m(t),n=C(t),o=i.visualViewport,r=n.clientWidth,s=n.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;var l=x();(l||!l&&"fixed"===e)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a+j(t),y:c}}(t,i)):y(e)?function(t,e){var i=O(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):_t(function(t){var e,i=C(t),n=A(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=w(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=w(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-n.scrollLeft+j(t),c=-n.scrollTop;return"rtl"===S(o||i).direction&&(a+=w(i.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}(C(t)))}function wt(t,e,i,n){var o="clippingParents"===e?function(t){var e=B(q(t)),i=["absolute","fixed"].indexOf(S(t).position)>=0&&_(t)?z(t):t;return y(i)?e.filter((function(t){return y(t)&&yt(t,i)&&"body"!==T(t)})):[]}(t):[].concat(e),r=[].concat(o,[i]),s=r[0],a=r.reduce((function(e,i){var o=bt(t,i,n);return e.top=w(o.top,e.top),e.right=E(o.right,e.right),e.bottom=E(o.bottom,e.bottom),e.left=w(o.left,e.left),e}),bt(t,s,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}function Et(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Lt(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}function kt(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=void 0===n?t.placement:n,r=i.strategy,s=void 0===r?t.strategy:r,a=i.boundary,c=void 0===a?G:a,l=i.rootBoundary,d=void 0===l?J:l,u=i.elementContext,p=void 0===u?Q:u,f=i.altBoundary,h=void 0!==f&&f,g=i.padding,v=void 0===g?0:g,m=Et("number"!=typeof v?v:Lt(v,U)),_=p===Q?Z:Q,b=t.rects.popper,w=t.elements[h?_:p],E=wt(y(w)?w:w.contextElement||C(t.elements.popper),c,d,s),L=O(t.elements.reference),k=dt({reference:L,element:b,strategy:"absolute",placement:o}),x=_t(Object.assign({},b,k)),A=p===Q?x:L,T={top:E.top-A.top+m.top,bottom:A.bottom-E.bottom+m.bottom,left:E.left-A.left+m.left,right:A.right-E.right+m.right},j=t.modifiersData.offset;if(p===Q&&j){var S=j[o];Object.keys(T).forEach((function(t){var e=[N,R].indexOf(t)>=0?1:-1,i=[W,R].indexOf(t)>=0?"y":"x";T[t]+=S[i]*e}))}return T}function xt(t,e,i){return w(t,E(e,i))}var Ot={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name,o=i.mainAxis,r=void 0===o||o,s=i.altAxis,a=void 0!==s&&s,c=i.boundary,l=i.rootBoundary,d=i.altBoundary,u=i.padding,p=i.tether,f=void 0===p||p,h=i.tetherOffset,g=void 0===h?0:h,v=kt(e,{boundary:c,rootBoundary:l,padding:u,altBoundary:d}),m=at(e.placement),y=ct(e.placement),_=!y,b=lt(m),L="x"===b?"y":"x",k=e.modifiersData.popperOffsets,x=e.rects.reference,O=e.rects.popper,A="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,T="number"==typeof A?{mainAxis:A,altAxis:A}:Object.assign({mainAxis:0,altAxis:0},A),C=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,j={x:0,y:0};if(k){if(r){var S,I="y"===b?W:K,P="y"===b?R:N,q="y"===b?"height":"width",H=k[b],B=H+v[I],M=H-v[P],V=f?-O[q]/2:0,F=y===X?x[q]:O[q],U=y===X?-O[q]:-x[q],Y=e.elements.arrow,G=f&&Y?D(Y):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Q=J[I],Z=J[P],$=xt(0,x[q],G[q]),tt=_?x[q]/2-V-$-Q-T.mainAxis:F-$-Q-T.mainAxis,et=_?-x[q]/2+V+$+Z+T.mainAxis:U+$+Z+T.mainAxis,it=e.elements.arrow&&z(e.elements.arrow),nt=it?"y"===b?it.clientTop||0:it.clientLeft||0:0,ot=null!=(S=null==C?void 0:C[b])?S:0,rt=H+et-ot,st=xt(f?E(B,H+tt-ot-nt):B,H,f?w(M,rt):M);k[b]=st,j[b]=st-H}if(a){var dt,ut="x"===b?W:K,pt="x"===b?R:N,ft=k[L],ht="y"===L?"height":"width",gt=ft+v[ut],vt=ft-v[pt],mt=-1!==[W,K].indexOf(m),yt=null!=(dt=null==C?void 0:C[L])?dt:0,_t=mt?gt:ft-x[ht]-O[ht]-yt+T.altAxis,bt=mt?ft+x[ht]+O[ht]-yt-T.altAxis:vt,wt=f&&mt?function(t,e,i){var n=xt(t,e,i);return n>i?i:n}(_t,ft,bt):xt(f?_t:gt,ft,f?bt:vt);k[L]=wt,j[L]=wt-ft}e.modifiersData[n]=j}},requiresIfExists:["offset"]};var At={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,n=t.name,o=t.options,r=i.elements.arrow,s=i.modifiersData.popperOffsets,a=at(i.placement),c=lt(a),l=[K,N].indexOf(a)>=0?"height":"width";if(r&&s){var d=function(t,e){return Et("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Lt(t,U))}(o.padding,i),u=D(r),p="y"===c?W:K,f="y"===c?R:N,h=i.rects.reference[l]+i.rects.reference[c]-s[c]-i.rects.popper[l],g=s[c]-i.rects.reference[c],v=z(r),m=v?"y"===c?v.clientHeight||0:v.clientWidth||0:0,y=h/2-g/2,_=d[p],b=m-u[l]-d[f],w=m/2-u[l]/2+y,E=xt(_,w,b),L=c;i.modifiersData[n]=((e={})[L]=E,e.centerOffset=E-w,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&yt(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Tt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function Ct(t){return[W,N,R,K].some((function(e){return t[e]>=0}))}var jt=rt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,o=n.scroll,r=void 0===o||o,s=n.resize,a=void 0===s||s,c=m(e.elements.popper),l=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&l.forEach((function(t){t.addEventListener("scroll",i.update,st)})),a&&c.addEventListener("resize",i.update,st),function(){r&&l.forEach((function(t){t.removeEventListener("scroll",i.update,st)})),a&&c.removeEventListener("resize",i.update,st)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=dt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,o=void 0===n||n,r=i.adaptive,s=void 0===r||r,a=i.roundOffsets,c=void 0===a||a,l={placement:at(e.placement),variation:ct(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,pt(Object.assign({},l,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,pt(Object.assign({},l,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},o=e.elements[t];_(o)&&T(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});_(n)&&T(n)&&(Object.assign(n.style,r),Object.keys(o).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]},ft,{name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,n=t.name;if(!e.modifiersData[n]._skip){for(var o=i.mainAxis,r=void 0===o||o,s=i.altAxis,a=void 0===s||s,c=i.fallbackPlacements,l=i.padding,d=i.boundary,u=i.rootBoundary,p=i.altBoundary,f=i.flipVariations,h=void 0===f||f,g=i.allowedAutoPlacements,v=e.options.placement,m=at(v),y=c||(m===v||!h?[gt(v)]:function(t){if(at(t)===F)return[];var e=gt(t);return[mt(t),e,mt(e)]}(v)),_=[v].concat(y).reduce((function(t,i){return t.concat(at(i)===F?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=i.boundary,r=i.rootBoundary,s=i.padding,a=i.flipVariations,c=i.allowedAutoPlacements,l=void 0===c?tt:c,d=ct(n),u=d?a?$:$.filter((function(t){return ct(t)===d})):U,p=u.filter((function(t){return l.indexOf(t)>=0}));0===p.length&&(p=u);var f=p.reduce((function(e,i){return e[i]=kt(t,{placement:i,boundary:o,rootBoundary:r,padding:s})[at(i)],e}),{});return Object.keys(f).sort((function(t,e){return f[t]-f[e]}))}(e,{placement:i,boundary:d,rootBoundary:u,padding:l,flipVariations:h,allowedAutoPlacements:g}):i)}),[]),b=e.rects.reference,w=e.rects.popper,E=new Map,L=!0,k=_[0],x=0;x<_.length;x++){var O=_[x],A=at(O),T=ct(O)===X,C=[W,R].indexOf(A)>=0,j=C?"width":"height",S=kt(e,{placement:O,boundary:d,rootBoundary:u,altBoundary:p,padding:l}),I=C?T?N:K:T?R:W;b[j]>w[j]&&(I=gt(I));var P=gt(I),D=[];if(r&&D.push(S[A]<=0),a&&D.push(S[I]<=0,S[P]<=0),D.every((function(t){return t}))){k=O,L=!1;break}E.set(O,D)}if(L)for(var q=function(t){var e=_.find((function(e){var i=E.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return k=e,"break"},H=h?3:1;H>0;H--){if("break"===q(H))break}e.placement!==k&&(e.modifiersData[n]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},Ot,At,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=kt(e,{elementContext:"reference"}),a=kt(e,{altBoundary:!0}),c=Tt(s,n),l=Tt(a,o,r),d=Ct(c),u=Ct(l);e.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}}]}),St=function(){return St=Object.assign||function(t){for(var e,i=1,n=arguments.length;i