New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@cfpb/cfpb-design-system

Package Overview
Dependencies
Maintainers
0
Versions
164
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cfpb/cfpb-design-system - npm Package Compare versions

Comparing version 3.6.2 to 3.6.3

14

CHANGELOG.md

@@ -5,6 +5,18 @@ # Changelog

## [3.6.2](https://github.com/cfpb/design-system/compare/v3.6.1..3.6.2) - December 18, 2024
## [3.6.3](https://github.com/cfpb/design-system/compare/v3.6.2..3.6.3) - January 8, 2025
### PRs in this release
- PR #[2139](https://github.com/cfpb/design-system/pull/2139): Provide instantiated tooltip object on initialized component - Wyatt Pearsall
### General
- Provide instantiated tooltip object on initialized component - ([c4fee52](https://github.com/cfpb/design-system/commit/c4fee5263ea4869c914e980cbc8b9ce3beb9178b)) - Wyatt Pearsall
- Update jsdoc - ([72163a3](https://github.com/cfpb/design-system/commit/72163a3ac16e801179f32a5c8fbaa07cdba2dea1)) - Wyatt Pearsall
- Add tooltip update dist - ([4a3916b](https://github.com/cfpb/design-system/commit/4a3916bc13d5076153e6e3008f4bf18aa1c27a36)) - Wyatt Pearsall
## [3.6.2](https://github.com/cfpb/design-system/compare/v3.6.1..v3.6.2) - December 18, 2024
### PRs in this release
- PR #[2137](https://github.com/cfpb/design-system/pull/2137): Provide icon exports - Wyatt Pearsall

@@ -11,0 +23,0 @@

2

dist/components/cfpb-tooltips/index.js

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

(()=>{var vo=Object.defineProperty;var go=Object.getOwnPropertySymbols;var ka=Object.prototype.hasOwnProperty,Sa=Object.prototype.propertyIsEnumerable;var bo=(e,t,r)=>t in e?vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nr=(e,t)=>{for(var r in t||(t={}))ka.call(t,r)&&bo(e,r,t[r]);if(go)for(var r of go(t))Sa.call(t,r)&&bo(e,r,t[r]);return e};var j=(e,t)=>{for(var r in t)vo(e,r,{get:t[r],enumerable:!0})};var $="top",J="bottom",K="right",G="left",Nt="auto",Me=[$,J,K,G],Oe="start",Ve="end",yo="clippingParents",zt="viewport",et="popper",xo="reference",sr=Me.reduce(function(e,t){return e.concat([t+"-"+Oe,t+"-"+Ve])},[]),Pt=[].concat(Me,[Nt]).reduce(function(e,t){return e.concat([t,t+"-"+Oe,t+"-"+Ve])},[]),Ea="beforeRead",Da="read",Oa="afterRead",La="beforeMain",Aa="main",Ta="afterMain",ja="beforeWrite",Ca="write",Ma="afterWrite",_o=[Ea,Da,Oa,La,Aa,Ta,ja,Ca,Ma];function ee(e){return e?(e.nodeName||"").toLowerCase():null}function H(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function me(e){var t=H(e).Element;return e instanceof t||e instanceof Element}function Z(e){var t=H(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tt(e){if(typeof ShadowRoot=="undefined")return!1;var t=H(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ba(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},a=t.attributes[r]||{},i=t.elements[r];!Z(i)||!ee(i)||(Object.assign(i.style,o),Object.keys(a).forEach(function(s){var d=a[s];d===!1?i.removeAttribute(s):i.setAttribute(s,d===!0?"":d)}))})}function Ia(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(o){var a=t.elements[o],i=t.attributes[o]||{},s=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),d=s.reduce(function(l,m){return l[m]="",l},{});!Z(a)||!ee(a)||(Object.assign(a.style,d),Object.keys(i).forEach(function(l){a.removeAttribute(l)}))})}}var ut={name:"applyStyles",enabled:!0,phase:"write",fn:Ba,effect:Ia,requires:["computeStyles"]};function te(e){return e.split("-")[0]}var be=Math.max,qe=Math.min,Le=Math.round;function rt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ht(){return!/^((?!chrome|android).)*safari/i.test(rt())}function ue(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),a=1,i=1;t&&Z(e)&&(a=e.offsetWidth>0&&Le(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Le(o.height)/e.offsetHeight||1);var s=me(e)?H(e):window,d=s.visualViewport,l=!ht()&&r,m=(o.left+(l&&d?d.offsetLeft:0))/a,c=(o.top+(l&&d?d.offsetTop:0))/i,v=o.width/a,y=o.height/i;return{width:v,height:y,top:c,right:m+v,bottom:c+y,left:m,x:m,y:c}}function He(e){var t=ue(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function ft(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&tt(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function se(e){return H(e).getComputedStyle(e)}function lr(e){return["table","td","th"].indexOf(ee(e))>=0}function ae(e){return((me(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ae(e){return ee(e)==="html"?e:e.assignedSlot||e.parentNode||(tt(e)?e.host:null)||ae(e)}function wo(e){return!Z(e)||se(e).position==="fixed"?null:e.offsetParent}function Na(e){var t=/firefox/i.test(rt()),r=/Trident/i.test(rt());if(r&&Z(e)){var o=se(e);if(o.position==="fixed")return null}var a=Ae(e);for(tt(a)&&(a=a.host);Z(a)&&["html","body"].indexOf(ee(a))<0;){var i=se(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function ve(e){for(var t=H(e),r=wo(e);r&&lr(r)&&se(r).position==="static";)r=wo(r);return r&&(ee(r)==="html"||ee(r)==="body"&&se(r).position==="static")?t:r||Na(e)||t}function $e(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Fe(e,t,r){return be(e,qe(t,r))}function ko(e,t,r){var o=Fe(e,t,r);return o>r?r:o}function gt(){return{top:0,right:0,bottom:0,left:0}}function bt(e){return Object.assign({},gt(),e)}function vt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var za=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,bt(typeof t!="number"?t:vt(t,Me))};function Pa(e){var t,r=e.state,o=e.name,a=e.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,d=te(r.placement),l=$e(d),m=[G,K].indexOf(d)>=0,c=m?"height":"width";if(!(!i||!s)){var v=za(a.padding,r),y=He(i),f=l==="y"?$:G,E=l==="y"?J:K,w=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],k=s[l]-r.rects.reference[l],L=ve(i),T=L?l==="y"?L.clientHeight||0:L.clientWidth||0:0,B=w/2-k/2,n=v[f],b=T-y[c]-v[E],h=T/2-y[c]/2+B,A=Fe(n,h,b),S=l;r.modifiersData[o]=(t={},t[S]=A,t.centerOffset=A-h,t)}}function Ra(e){var t=e.state,r=e.options,o=r.element,a=o===void 0?"[data-popper-arrow]":o;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||ft(t.elements.popper,a)&&(t.elements.arrow=a))}var So={name:"arrow",enabled:!0,phase:"main",fn:Pa,effect:Ra,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function he(e){return e.split("-")[1]}var Va={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qa(e,t){var r=e.x,o=e.y,a=t.devicePixelRatio||1;return{x:Le(r*a)/a||0,y:Le(o*a)/a||0}}function Eo(e){var t,r=e.popper,o=e.popperRect,a=e.placement,i=e.variation,s=e.offsets,d=e.position,l=e.gpuAcceleration,m=e.adaptive,c=e.roundOffsets,v=e.isFixed,y=s.x,f=y===void 0?0:y,E=s.y,w=E===void 0?0:E,k=typeof c=="function"?c({x:f,y:w}):{x:f,y:w};f=k.x,w=k.y;var L=s.hasOwnProperty("x"),T=s.hasOwnProperty("y"),B=G,n=$,b=window;if(m){var h=ve(r),A="clientHeight",S="clientWidth";if(h===H(r)&&(h=ae(r),se(h).position!=="static"&&d==="absolute"&&(A="scrollHeight",S="scrollWidth")),h=h,a===$||(a===G||a===K)&&i===Ve){n=J;var C=v&&h===b&&b.visualViewport?b.visualViewport.height:h[A];w-=C-o.height,w*=l?1:-1}if(a===G||(a===$||a===J)&&i===Ve){B=K;var M=v&&h===b&&b.visualViewport?b.visualViewport.width:h[S];f-=M-o.width,f*=l?1:-1}}var z=Object.assign({position:d},m&&Va),P=c===!0?qa({x:f,y:w},H(r)):{x:f,y:w};if(f=P.x,w=P.y,l){var V;return Object.assign({},z,(V={},V[n]=T?"0":"",V[B]=L?"0":"",V.transform=(b.devicePixelRatio||1)<=1?"translate("+f+"px, "+w+"px)":"translate3d("+f+"px, "+w+"px, 0)",V))}return Object.assign({},z,(t={},t[n]=T?w+"px":"",t[B]=L?f+"px":"",t.transform="",t))}function Ha(e){var t=e.state,r=e.options,o=r.gpuAcceleration,a=o===void 0?!0:o,i=r.adaptive,s=i===void 0?!0:i,d=r.roundOffsets,l=d===void 0?!0:d,m={placement:te(t.placement),variation:he(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Eo(Object.assign({},m,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Eo(Object.assign({},m,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Do={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ha,data:{}};var Rt={passive:!0};function $a(e){var t=e.state,r=e.instance,o=e.options,a=o.scroll,i=a===void 0?!0:a,s=o.resize,d=s===void 0?!0:s,l=H(t.elements.popper),m=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&m.forEach(function(c){c.addEventListener("scroll",r.update,Rt)}),d&&l.addEventListener("resize",r.update,Rt),function(){i&&m.forEach(function(c){c.removeEventListener("scroll",r.update,Rt)}),d&&l.removeEventListener("resize",r.update,Rt)}}var Oo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$a,data:{}};var Fa={left:"right",right:"left",bottom:"top",top:"bottom"};function ot(e){return e.replace(/left|right|bottom|top/g,function(t){return Fa[t]})}var Ua={start:"end",end:"start"};function Vt(e){return e.replace(/start|end/g,function(t){return Ua[t]})}function Ue(e){var t=H(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function We(e){return ue(ae(e)).left+Ue(e).scrollLeft}function dr(e,t){var r=H(e),o=ae(e),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,d=0,l=0;if(a){i=a.width,s=a.height;var m=ht();(m||!m&&t==="fixed")&&(d=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:d+We(e),y:l}}function cr(e){var t,r=ae(e),o=Ue(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=be(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=be(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),d=-o.scrollLeft+We(e),l=-o.scrollTop;return se(a||r).direction==="rtl"&&(d+=be(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:s,x:d,y:l}}function Ge(e){var t=se(e),r=t.overflow,o=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+o)}function qt(e){return["html","body","#document"].indexOf(ee(e))>=0?e.ownerDocument.body:Z(e)&&Ge(e)?e:qt(Ae(e))}function Be(e,t){var r;t===void 0&&(t=[]);var o=qt(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=H(o),s=a?[i].concat(i.visualViewport||[],Ge(o)?o:[]):o,d=t.concat(s);return a?d:d.concat(Be(Ae(s)))}function at(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Wa(e,t){var r=ue(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Lo(e,t,r){return t===zt?at(dr(e,r)):me(t)?Wa(t,r):at(cr(ae(e)))}function Ga(e){var t=Be(Ae(e)),r=["absolute","fixed"].indexOf(se(e).position)>=0,o=r&&Z(e)?ve(e):e;return me(o)?t.filter(function(a){return me(a)&&ft(a,o)&&ee(a)!=="body"}):[]}function pr(e,t,r,o){var a=t==="clippingParents"?Ga(e):[].concat(t),i=[].concat(a,[r]),s=i[0],d=i.reduce(function(l,m){var c=Lo(e,m,o);return l.top=be(c.top,l.top),l.right=qe(c.right,l.right),l.bottom=qe(c.bottom,l.bottom),l.left=be(c.left,l.left),l},Lo(e,s,o));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function yt(e){var t=e.reference,r=e.element,o=e.placement,a=o?te(o):null,i=o?he(o):null,s=t.x+t.width/2-r.width/2,d=t.y+t.height/2-r.height/2,l;switch(a){case $:l={x:s,y:t.y-r.height};break;case J:l={x:s,y:t.y+t.height};break;case K:l={x:t.x+t.width,y:d};break;case G:l={x:t.x-r.width,y:d};break;default:l={x:t.x,y:t.y}}var m=a?$e(a):null;if(m!=null){var c=m==="y"?"height":"width";switch(i){case Oe:l[m]=l[m]-(t[c]/2-r[c]/2);break;case Ve:l[m]=l[m]+(t[c]/2-r[c]/2);break;default:}}return l}function ye(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=o===void 0?e.placement:o,i=r.strategy,s=i===void 0?e.strategy:i,d=r.boundary,l=d===void 0?yo:d,m=r.rootBoundary,c=m===void 0?zt:m,v=r.elementContext,y=v===void 0?et:v,f=r.altBoundary,E=f===void 0?!1:f,w=r.padding,k=w===void 0?0:w,L=bt(typeof k!="number"?k:vt(k,Me)),T=y===et?xo:et,B=e.rects.popper,n=e.elements[E?T:y],b=pr(me(n)?n:n.contextElement||ae(e.elements.popper),l,c,s),h=ue(e.elements.reference),A=yt({reference:h,element:B,strategy:"absolute",placement:a}),S=at(Object.assign({},B,A)),C=y===et?S:h,M={top:b.top-C.top+L.top,bottom:C.bottom-b.bottom+L.bottom,left:b.left-C.left+L.left,right:C.right-b.right+L.right},z=e.modifiersData.offset;if(y===et&&z){var P=z[a];Object.keys(M).forEach(function(V){var re=[K,J].indexOf(V)>=0?1:-1,oe=[$,J].indexOf(V)>=0?"y":"x";M[V]+=P[oe]*re})}return M}function mr(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=r.boundary,i=r.rootBoundary,s=r.padding,d=r.flipVariations,l=r.allowedAutoPlacements,m=l===void 0?Pt:l,c=he(o),v=c?d?sr:sr.filter(function(E){return he(E)===c}):Me,y=v.filter(function(E){return m.indexOf(E)>=0});y.length===0&&(y=v);var f=y.reduce(function(E,w){return E[w]=ye(e,{placement:w,boundary:a,rootBoundary:i,padding:s})[te(w)],E},{});return Object.keys(f).sort(function(E,w){return f[E]-f[w]})}function Xa(e){if(te(e)===Nt)return[];var t=ot(e);return[Vt(e),t,Vt(t)]}function Ya(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,d=s===void 0?!0:s,l=r.fallbackPlacements,m=r.padding,c=r.boundary,v=r.rootBoundary,y=r.altBoundary,f=r.flipVariations,E=f===void 0?!0:f,w=r.allowedAutoPlacements,k=t.options.placement,L=te(k),T=L===k,B=l||(T||!E?[ot(k)]:Xa(k)),n=[k].concat(B).reduce(function(N,W){return N.concat(te(W)===Nt?mr(t,{placement:W,boundary:c,rootBoundary:v,padding:m,flipVariations:E,allowedAutoPlacements:w}):W)},[]),b=t.rects.reference,h=t.rects.popper,A=new Map,S=!0,C=n[0],M=0;M<n.length;M++){var z=n[M],P=te(z),V=he(z)===Oe,re=[$,J].indexOf(P)>=0,oe=re?"width":"height",F=ye(t,{placement:z,boundary:c,rootBoundary:v,altBoundary:y,padding:m}),X=re?V?K:G:V?J:$;b[oe]>h[oe]&&(X=ot(X));var U=ot(X),Q=[];if(i&&Q.push(F[P]<=0),d&&Q.push(F[X]<=0,F[U]<=0),Q.every(function(N){return N})){C=z,S=!1;break}A.set(z,Q)}if(S)for(var u=E?3:1,g=function(W){var Y=n.find(function(Te){var Ee=A.get(Te);if(Ee)return Ee.slice(0,W).every(function(Ke){return Ke})});if(Y)return C=Y,"break"},x=u;x>0;x--){var D=g(x);if(D==="break")break}t.placement!==C&&(t.modifiersData[o]._skip=!0,t.placement=C,t.reset=!0)}}var Ao={name:"flip",enabled:!0,phase:"main",fn:Ya,requiresIfExists:["offset"],data:{_skip:!1}};function To(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function jo(e){return[$,K,J,G].some(function(t){return e[t]>=0})}function Ka(e){var t=e.state,r=e.name,o=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,s=ye(t,{elementContext:"reference"}),d=ye(t,{altBoundary:!0}),l=To(s,o),m=To(d,a,i),c=jo(l),v=jo(m);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:m,isReferenceHidden:c,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":v})}var Co={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ka};function Ja(e,t,r){var o=te(e),a=[G,$].indexOf(o)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=i[0],d=i[1];return s=s||0,d=(d||0)*a,[G,K].indexOf(o)>=0?{x:d,y:s}:{x:s,y:d}}function Za(e){var t=e.state,r=e.options,o=e.name,a=r.offset,i=a===void 0?[0,0]:a,s=Pt.reduce(function(c,v){return c[v]=Ja(v,t.rects,i),c},{}),d=s[t.placement],l=d.x,m=d.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=m),t.modifiersData[o]=s}var Mo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Za};function Qa(e){var t=e.state,r=e.name;t.modifiersData[r]=yt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Bo={name:"popperOffsets",enabled:!0,phase:"read",fn:Qa,data:{}};function ur(e){return e==="x"?"y":"x"}function ei(e){var t=e.state,r=e.options,o=e.name,a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,d=s===void 0?!1:s,l=r.boundary,m=r.rootBoundary,c=r.altBoundary,v=r.padding,y=r.tether,f=y===void 0?!0:y,E=r.tetherOffset,w=E===void 0?0:E,k=ye(t,{boundary:l,rootBoundary:m,padding:v,altBoundary:c}),L=te(t.placement),T=he(t.placement),B=!T,n=$e(L),b=ur(n),h=t.modifiersData.popperOffsets,A=t.rects.reference,S=t.rects.popper,C=typeof w=="function"?w(Object.assign({},t.rects,{placement:t.placement})):w,M=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(h){if(i){var V,re=n==="y"?$:G,oe=n==="y"?J:K,F=n==="y"?"height":"width",X=h[n],U=X+k[re],Q=X-k[oe],u=f?-S[F]/2:0,g=T===Oe?A[F]:S[F],x=T===Oe?-S[F]:-A[F],D=t.elements.arrow,N=f&&D?He(D):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gt(),Y=W[re],Te=W[oe],Ee=Fe(0,A[F],N[F]),Ke=B?A[F]/2-u-Ee-Y-M.mainAxis:g-Ee-Y-M.mainAxis,je=B?-A[F]/2+u+Ee+Te+M.mainAxis:x+Ee+Te+M.mainAxis,Je=t.elements.arrow&&ve(t.elements.arrow),Et=Je?n==="y"?Je.clientTop||0:Je.clientLeft||0:0,lt=(V=z==null?void 0:z[n])!=null?V:0,Dt=X+Ke-lt-Et,Ot=X+je-lt,dt=Fe(f?qe(U,Dt):U,X,f?be(Q,Ot):Q);h[n]=dt,P[n]=dt-X}if(d){var ct,Lt=n==="x"?$:G,At=n==="x"?J:K,De=h[b],Ce=b==="y"?"height":"width",pt=De+k[Lt],Pe=De-k[At],mt=[$,G].indexOf(L)!==-1,Tt=(ct=z==null?void 0:z[b])!=null?ct:0,jt=mt?pt:De-A[Ce]-S[Ce]-Tt+M.altAxis,Ct=mt?De+A[Ce]+S[Ce]-Tt-M.altAxis:Pe,Mt=f&&mt?ko(jt,De,Ct):Fe(f?jt:pt,De,f?Ct:Pe);h[b]=Mt,P[b]=Mt-De}t.modifiersData[o]=P}}var Io={name:"preventOverflow",enabled:!0,phase:"main",fn:ei,requiresIfExists:["offset"]};function hr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fr(e){return e===H(e)||!Z(e)?Ue(e):hr(e)}function ti(e){var t=e.getBoundingClientRect(),r=Le(t.width)/e.offsetWidth||1,o=Le(t.height)/e.offsetHeight||1;return r!==1||o!==1}function gr(e,t,r){r===void 0&&(r=!1);var o=Z(t),a=Z(t)&&ti(t),i=ae(t),s=ue(e,a,r),d={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!r)&&((ee(t)!=="body"||Ge(i))&&(d=fr(t)),Z(t)?(l=ue(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=We(i))),{x:s.left+d.scrollLeft-l.x,y:s.top+d.scrollTop-l.y,width:s.width,height:s.height}}function ri(e){var t=new Map,r=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(d){if(!r.has(d)){var l=t.get(d);l&&a(l)}}),o.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),o}function br(e){var t=ri(e);return _o.reduce(function(r,o){return r.concat(t.filter(function(a){return a.phase===o}))},[])}function vr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function yr(e){var t=e.reduce(function(r,o){var a=r[o.name];return r[o.name]=a?Object.assign({},a,o,{options:Object.assign({},a.options,o.options),data:Object.assign({},a.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var No={placement:"bottom",modifiers:[],strategy:"absolute"};function zo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Po(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?No:a;return function(d,l,m){m===void 0&&(m=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},No,i),modifiersData:{},elements:{reference:d,popper:l},attributes:{},styles:{}},v=[],y=!1,f={state:c,setOptions:function(L){var T=typeof L=="function"?L(c.options):L;w(),c.options=Object.assign({},i,c.options,T),c.scrollParents={reference:me(d)?Be(d):d.contextElement?Be(d.contextElement):[],popper:Be(l)};var B=br(yr([].concat(o,c.options.modifiers)));return c.orderedModifiers=B.filter(function(n){return n.enabled}),E(),f.update()},forceUpdate:function(){if(!y){var L=c.elements,T=L.reference,B=L.popper;if(zo(T,B)){c.rects={reference:gr(T,ve(B),c.options.strategy==="fixed"),popper:He(B)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(M){return c.modifiersData[M.name]=Object.assign({},M.data)});for(var n=0;n<c.orderedModifiers.length;n++){if(c.reset===!0){c.reset=!1,n=-1;continue}var b=c.orderedModifiers[n],h=b.fn,A=b.options,S=A===void 0?{}:A,C=b.name;typeof h=="function"&&(c=h({state:c,options:S,name:C,instance:f})||c)}}}},update:vr(function(){return new Promise(function(k){f.forceUpdate(),k(c)})}),destroy:function(){w(),y=!0}};if(!zo(d,l))return f;f.setOptions(m).then(function(k){!y&&m.onFirstUpdate&&m.onFirstUpdate(k)});function E(){c.orderedModifiers.forEach(function(k){var L=k.name,T=k.options,B=T===void 0?{}:T,n=k.effect;if(typeof n=="function"){var b=n({state:c,name:L,instance:f,options:B}),h=function(){};v.push(b||h)}})}function w(){v.forEach(function(k){return k()}),v=[]}return f}}var oi=[Oo,Bo,Do,ut,Mo,Ao,Io,So,Co],xr=Po({defaultModifiers:oi});var ai="tippy-box",Xo="tippy-content",ii="tippy-backdrop",Yo="tippy-arrow",Ko="tippy-svg-arrow",Xe={passive:!0,capture:!0},Jo=function(){return document.body};function _r(e,t,r){if(Array.isArray(e)){var o=e[t];return o==null?Array.isArray(r)?r[t]:r:o}return e}function Or(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function Zo(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Ro(e,t){if(t===0)return e;var r;return function(o){clearTimeout(r),r=setTimeout(function(){e(o)},t)}}function ni(e){return e.split(/\s+/).filter(Boolean)}function it(e){return[].concat(e)}function Vo(e,t){e.indexOf(t)===-1&&e.push(t)}function si(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function li(e){return e.split("-")[0]}function $t(e){return[].slice.call(e)}function qo(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function xt(){return document.createElement("div")}function Ft(e){return["Element","Fragment"].some(function(t){return Or(e,t)})}function di(e){return Or(e,"NodeList")}function ci(e){return Or(e,"MouseEvent")}function pi(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function mi(e){return Ft(e)?[e]:di(e)?$t(e):Array.isArray(e)?e:$t(document.querySelectorAll(e))}function wr(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Ho(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function ui(e){var t,r=it(e),o=r[0];return o!=null&&(t=o.ownerDocument)!=null&&t.body?o.ownerDocument:document}function hi(e,t){var r=t.clientX,o=t.clientY;return e.every(function(a){var i=a.popperRect,s=a.popperState,d=a.props,l=d.interactiveBorder,m=li(s.placement),c=s.modifiersData.offset;if(!c)return!0;var v=m==="bottom"?c.top.y:0,y=m==="top"?c.bottom.y:0,f=m==="right"?c.left.x:0,E=m==="left"?c.right.x:0,w=i.top-o+v>l,k=o-i.bottom-y>l,L=i.left-r+f>l,T=r-i.right-E>l;return w||k||L||T})}function kr(e,t,r){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[o](a,r)})}function $o(e,t){for(var r=t;r;){var o;if(e.contains(r))return!0;r=r.getRootNode==null||(o=r.getRootNode())==null?void 0:o.host}return!1}var Se={isTouch:!1},Fo=0;function fi(){Se.isTouch||(Se.isTouch=!0,window.performance&&document.addEventListener("mousemove",Qo))}function Qo(){var e=performance.now();e-Fo<20&&(Se.isTouch=!1,document.removeEventListener("mousemove",Qo)),Fo=e}function gi(){var e=document.activeElement;if(pi(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function bi(){document.addEventListener("touchstart",fi,Xe),window.addEventListener("blur",gi)}var vi=typeof window!="undefined"&&typeof document!="undefined",yi=vi?!!window.msCrypto:!1;var xi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},_i={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},xe=Object.assign({appendTo:Jo,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},xi,_i),wi=Object.keys(xe),ki=function(t){var r=Object.keys(t);r.forEach(function(o){xe[o]=t[o]})};function ea(e){var t=e.plugins||[],r=t.reduce(function(o,a){var i=a.name,s=a.defaultValue;if(i){var d;o[i]=e[i]!==void 0?e[i]:(d=xe[i])!=null?d:s}return o},{});return Object.assign({},e,r)}function Si(e,t){var r=t?Object.keys(ea(Object.assign({},xe,{plugins:t}))):wi,o=r.reduce(function(a,i){var s=(e.getAttribute("data-tippy-"+i)||"").trim();if(!s)return a;if(i==="content")a[i]=s;else try{a[i]=JSON.parse(s)}catch(d){a[i]=s}return a},{});return o}function Uo(e,t){var r=Object.assign({},t,{content:Zo(t.content,[e])},t.ignoreAttributes?{}:Si(e,t.plugins));return r.aria=Object.assign({},xe.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var Ei=function(){return"innerHTML"};function Er(e,t){e[Ei()]=t}function Wo(e){var t=xt();return e===!0?t.className=Yo:(t.className=Ko,Ft(e)?t.appendChild(e):Er(t,e)),t}function Go(e,t){Ft(t.content)?(Er(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Er(e,t.content):e.textContent=t.content)}function Dr(e){var t=e.firstElementChild,r=$t(t.children);return{box:t,content:r.find(function(o){return o.classList.contains(Xo)}),arrow:r.find(function(o){return o.classList.contains(Yo)||o.classList.contains(Ko)}),backdrop:r.find(function(o){return o.classList.contains(ii)})}}function ta(e){var t=xt(),r=xt();r.className=ai,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var o=xt();o.className=Xo,o.setAttribute("data-state","hidden"),Go(o,e.props),t.appendChild(r),r.appendChild(o),a(e.props,e.props);function a(i,s){var d=Dr(t),l=d.box,m=d.content,c=d.arrow;s.theme?l.setAttribute("data-theme",s.theme):l.removeAttribute("data-theme"),typeof s.animation=="string"?l.setAttribute("data-animation",s.animation):l.removeAttribute("data-animation"),s.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?l.setAttribute("role",s.role):l.removeAttribute("role"),(i.content!==s.content||i.allowHTML!==s.allowHTML)&&Go(m,e.props),s.arrow?c?i.arrow!==s.arrow&&(l.removeChild(c),l.appendChild(Wo(s.arrow))):l.appendChild(Wo(s.arrow)):c&&l.removeChild(c)}return{popper:t,onUpdate:a}}ta.$$tippy=!0;var Di=1,Ht=[],Sr=[];function Oi(e,t){var r=Uo(e,Object.assign({},xe,ea(qo(t)))),o,a,i,s=!1,d=!1,l=!1,m=!1,c,v,y,f=[],E=Ro(Dt,r.interactiveDebounce),w,k=Di++,L=null,T=si(r.plugins),B={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},n={id:k,reference:e,popper:xt(),popperInstance:L,props:r,state:B,plugins:T,clearDelayTimeouts:jt,setProps:Ct,setContent:Mt,show:ba,hide:va,hideWithInteractivity:ya,enable:mt,disable:Tt,unmount:xa,destroy:_a};if(!r.render)return n;var b=r.render(n),h=b.popper,A=b.onUpdate;h.setAttribute("data-tippy-root",""),h.id="tippy-"+n.id,n.popper=h,e._tippy=n,h._tippy=n;var S=T.map(function(p){return p.fn(n)}),C=e.hasAttribute("aria-expanded");return Je(),u(),X(),U("onCreate",[n]),r.showOnCreate&&pt(),h.addEventListener("mouseenter",function(){n.props.interactive&&n.state.isVisible&&n.clearDelayTimeouts()}),h.addEventListener("mouseleave",function(){n.props.interactive&&n.props.trigger.indexOf("mouseenter")>=0&&re().addEventListener("mousemove",E)}),n;function M(){var p=n.props.touch;return Array.isArray(p)?p:[p,0]}function z(){return M()[0]==="hold"}function P(){var p;return!!((p=n.props.render)!=null&&p.$$tippy)}function V(){return w||e}function re(){var p=V().parentNode;return p?ui(p):document}function oe(){return Dr(h)}function F(p){return n.state.isMounted&&!n.state.isVisible||Se.isTouch||c&&c.type==="focus"?0:_r(n.props.delay,p?0:1,xe.delay)}function X(p){p===void 0&&(p=!1),h.style.pointerEvents=n.props.interactive&&!p?"":"none",h.style.zIndex=""+n.props.zIndex}function U(p,_,O){if(O===void 0&&(O=!0),S.forEach(function(I){I[p]&&I[p].apply(I,_)}),O){var R;(R=n.props)[p].apply(R,_)}}function Q(){var p=n.props.aria;if(p.content){var _="aria-"+p.content,O=h.id,R=it(n.props.triggerTarget||e);R.forEach(function(I){var ne=I.getAttribute(_);if(n.state.isVisible)I.setAttribute(_,ne?ne+" "+O:O);else{var pe=ne&&ne.replace(O,"").trim();pe?I.setAttribute(_,pe):I.removeAttribute(_)}})}}function u(){if(!(C||!n.props.aria.expanded)){var p=it(n.props.triggerTarget||e);p.forEach(function(_){n.props.interactive?_.setAttribute("aria-expanded",n.state.isVisible&&_===V()?"true":"false"):_.removeAttribute("aria-expanded")})}}function g(){re().removeEventListener("mousemove",E),Ht=Ht.filter(function(p){return p!==E})}function x(p){if(!(Se.isTouch&&(l||p.type==="mousedown"))){var _=p.composedPath&&p.composedPath()[0]||p.target;if(!(n.props.interactive&&$o(h,_))){if(it(n.props.triggerTarget||e).some(function(O){return $o(O,_)})){if(Se.isTouch||n.state.isVisible&&n.props.trigger.indexOf("click")>=0)return}else U("onClickOutside",[n,p]);n.props.hideOnClick===!0&&(n.clearDelayTimeouts(),n.hide(),d=!0,setTimeout(function(){d=!1}),n.state.isMounted||Y())}}}function D(){l=!0}function N(){l=!1}function W(){var p=re();p.addEventListener("mousedown",x,!0),p.addEventListener("touchend",x,Xe),p.addEventListener("touchstart",N,Xe),p.addEventListener("touchmove",D,Xe)}function Y(){var p=re();p.removeEventListener("mousedown",x,!0),p.removeEventListener("touchend",x,Xe),p.removeEventListener("touchstart",N,Xe),p.removeEventListener("touchmove",D,Xe)}function Te(p,_){Ke(p,function(){!n.state.isVisible&&h.parentNode&&h.parentNode.contains(h)&&_()})}function Ee(p,_){Ke(p,_)}function Ke(p,_){var O=oe().box;function R(I){I.target===O&&(kr(O,"remove",R),_())}if(p===0)return _();kr(O,"remove",v),kr(O,"add",R),v=R}function je(p,_,O){O===void 0&&(O=!1);var R=it(n.props.triggerTarget||e);R.forEach(function(I){I.addEventListener(p,_,O),f.push({node:I,eventType:p,handler:_,options:O})})}function Je(){z()&&(je("touchstart",lt,{passive:!0}),je("touchend",Ot,{passive:!0})),ni(n.props.trigger).forEach(function(p){if(p!=="manual")switch(je(p,lt),p){case"mouseenter":je("mouseleave",Ot);break;case"focus":je(yi?"focusout":"blur",dt);break;case"focusin":je("focusout",dt);break}})}function Et(){f.forEach(function(p){var _=p.node,O=p.eventType,R=p.handler,I=p.options;_.removeEventListener(O,R,I)}),f=[]}function lt(p){var _,O=!1;if(!(!n.state.isEnabled||ct(p)||d)){var R=((_=c)==null?void 0:_.type)==="focus";c=p,w=p.currentTarget,u(),!n.state.isVisible&&ci(p)&&Ht.forEach(function(I){return I(p)}),p.type==="click"&&(n.props.trigger.indexOf("mouseenter")<0||s)&&n.props.hideOnClick!==!1&&n.state.isVisible?O=!0:pt(p),p.type==="click"&&(s=!O),O&&!R&&Pe(p)}}function Dt(p){var _=p.target,O=V().contains(_)||h.contains(_);if(!(p.type==="mousemove"&&O)){var R=Ce().concat(h).map(function(I){var ne,pe=I._tippy,Ze=(ne=pe.popperInstance)==null?void 0:ne.state;return Ze?{popperRect:I.getBoundingClientRect(),popperState:Ze,props:r}:null}).filter(Boolean);hi(R,p)&&(g(),Pe(p))}}function Ot(p){var _=ct(p)||n.props.trigger.indexOf("click")>=0&&s;if(!_){if(n.props.interactive){n.hideWithInteractivity(p);return}Pe(p)}}function dt(p){n.props.trigger.indexOf("focusin")<0&&p.target!==V()||n.props.interactive&&p.relatedTarget&&h.contains(p.relatedTarget)||Pe(p)}function ct(p){return Se.isTouch?z()!==p.type.indexOf("touch")>=0:!1}function Lt(){At();var p=n.props,_=p.popperOptions,O=p.placement,R=p.offset,I=p.getReferenceClientRect,ne=p.moveTransition,pe=P()?Dr(h).arrow:null,Ze=I?{getBoundingClientRect:I,contextElement:I.contextElement||V()}:e,fo={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Bt){var Qe=Bt.state;if(P()){var wa=oe(),ir=wa.box;["placement","reference-hidden","escaped"].forEach(function(It){It==="placement"?ir.setAttribute("data-placement",Qe.placement):Qe.attributes.popper["data-popper-"+It]?ir.setAttribute("data-"+It,""):ir.removeAttribute("data-"+It)}),Qe.attributes.popper={}}}},Re=[{name:"offset",options:{offset:R}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!ne}},fo];P()&&pe&&Re.push({name:"arrow",options:{element:pe,padding:3}}),Re.push.apply(Re,(_==null?void 0:_.modifiers)||[]),n.popperInstance=xr(Ze,h,Object.assign({},_,{placement:O,onFirstUpdate:y,modifiers:Re}))}function At(){n.popperInstance&&(n.popperInstance.destroy(),n.popperInstance=null)}function De(){var p=n.props.appendTo,_,O=V();n.props.interactive&&p===Jo||p==="parent"?_=O.parentNode:_=Zo(p,[O]),_.contains(h)||_.appendChild(h),n.state.isMounted=!0,Lt()}function Ce(){return $t(h.querySelectorAll("[data-tippy-root]"))}function pt(p){n.clearDelayTimeouts(),p&&U("onTrigger",[n,p]),W();var _=F(!0),O=M(),R=O[0],I=O[1];Se.isTouch&&R==="hold"&&I&&(_=I),_?o=setTimeout(function(){n.show()},_):n.show()}function Pe(p){if(n.clearDelayTimeouts(),U("onUntrigger",[n,p]),!n.state.isVisible){Y();return}if(!(n.props.trigger.indexOf("mouseenter")>=0&&n.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(p.type)>=0&&s)){var _=F(!1);_?a=setTimeout(function(){n.state.isVisible&&n.hide()},_):i=requestAnimationFrame(function(){n.hide()})}}function mt(){n.state.isEnabled=!0}function Tt(){n.hide(),n.state.isEnabled=!1}function jt(){clearTimeout(o),clearTimeout(a),cancelAnimationFrame(i)}function Ct(p){if(!n.state.isDestroyed){U("onBeforeUpdate",[n,p]),Et();var _=n.props,O=Uo(e,Object.assign({},_,qo(p),{ignoreAttributes:!0}));n.props=O,Je(),_.interactiveDebounce!==O.interactiveDebounce&&(g(),E=Ro(Dt,O.interactiveDebounce)),_.triggerTarget&&!O.triggerTarget?it(_.triggerTarget).forEach(function(R){R.removeAttribute("aria-expanded")}):O.triggerTarget&&e.removeAttribute("aria-expanded"),u(),X(),A&&A(_,O),n.popperInstance&&(Lt(),Ce().forEach(function(R){requestAnimationFrame(R._tippy.popperInstance.forceUpdate)})),U("onAfterUpdate",[n,p])}}function Mt(p){n.setProps({content:p})}function ba(){var p=n.state.isVisible,_=n.state.isDestroyed,O=!n.state.isEnabled,R=Se.isTouch&&!n.props.touch,I=_r(n.props.duration,0,xe.duration);if(!(p||_||O||R)&&!V().hasAttribute("disabled")&&(U("onShow",[n],!1),n.props.onShow(n)!==!1)){if(n.state.isVisible=!0,P()&&(h.style.visibility="visible"),X(),W(),n.state.isMounted||(h.style.transition="none"),P()){var ne=oe(),pe=ne.box,Ze=ne.content;wr([pe,Ze],0)}y=function(){var Re;if(!(!n.state.isVisible||m)){if(m=!0,h.offsetHeight,h.style.transition=n.props.moveTransition,P()&&n.props.animation){var ar=oe(),Bt=ar.box,Qe=ar.content;wr([Bt,Qe],I),Ho([Bt,Qe],"visible")}Q(),u(),Vo(Sr,n),(Re=n.popperInstance)==null||Re.forceUpdate(),U("onMount",[n]),n.props.animation&&P()&&Ee(I,function(){n.state.isShown=!0,U("onShown",[n])})}},De()}}function va(){var p=!n.state.isVisible,_=n.state.isDestroyed,O=!n.state.isEnabled,R=_r(n.props.duration,1,xe.duration);if(!(p||_||O)&&(U("onHide",[n],!1),n.props.onHide(n)!==!1)){if(n.state.isVisible=!1,n.state.isShown=!1,m=!1,s=!1,P()&&(h.style.visibility="hidden"),g(),Y(),X(!0),P()){var I=oe(),ne=I.box,pe=I.content;n.props.animation&&(wr([ne,pe],R),Ho([ne,pe],"hidden"))}Q(),u(),n.props.animation?P()&&Te(R,n.unmount):n.unmount()}}function ya(p){re().addEventListener("mousemove",E),Vo(Ht,E),E(p)}function xa(){n.state.isVisible&&n.hide(),n.state.isMounted&&(At(),Ce().forEach(function(p){p._tippy.unmount()}),h.parentNode&&h.parentNode.removeChild(h),Sr=Sr.filter(function(p){return p!==n}),n.state.isMounted=!1,U("onHidden",[n]))}function _a(){n.state.isDestroyed||(n.clearDelayTimeouts(),n.unmount(),Et(),delete e._tippy,n.state.isDestroyed=!0,U("onDestroy",[n]))}}function _t(e,t){t===void 0&&(t={});var r=xe.plugins.concat(t.plugins||[]);bi();var o=Object.assign({},t,{plugins:r}),a=mi(e);if(0)var i,s;var d=a.reduce(function(l,m){var c=m&&Oi(m,o);return c&&l.push(c),l},[]);return Ft(e)?d[0]:d}_t.defaultProps=xe;_t.setDefaultProps=ki;_t.currentInput=Se;var hp=Object.assign({},ut,{effect:function(t){var r=t.state,o={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,o.popper),r.styles=o,r.elements.arrow&&Object.assign(r.elements.arrow.style,o.arrow)}});_t.setDefaultProps({render:ta});var ra=_t;var Ut={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};var Lr={};j(Lr,{default:()=>Ai});var Ai={};var Ar={};j(Ar,{default:()=>ji});var ji={};var Tr={};j(Tr,{default:()=>Mi});var Mi={};var jr={};j(jr,{default:()=>Ii});var Ii={};var Cr={};j(Cr,{default:()=>zi});var zi={};var Mr={};j(Mr,{default:()=>Ri});var Ri={};function Wt(){let e=getComputedStyle(document.body).fontSize;return e=e===""?-1:e,parseFloat(e)}function Vi(e,t){let r=e.min,o=e.max;Wt()>0&&Wt()!==16&&(r=r/16*Wt(),o=o/16*Wt());let i=r||0,s=o||Number.POSITIVE_INFINITY;return i<=t&&t<=s}function qi(e){let t={};e=e||window.innerWidth;let r;for(r in Ut)t[r]=Vi(Ut[r],e);return t}var Gt="mobile",Hi="tablet",$i="desktop";function Br(e){let t=!1,r=qi();return(e===Gt&&r.bpXS||e===Hi&&r.bpSM||e===$i&&(r.bpMED||r.bpLG||r.bpXL))&&(t=!0),t}var fe="data-js-hook",Xt="behavior_",Ir="state_";function ie(){let e={};function t(a,i){return{}.hasOwnProperty.call(e,a)?e[a].push(i):e[a]=[i],this}function r(a,i){if(!{}.hasOwnProperty.call(e,a))return this;let s=e[a].indexOf(i);return s!==-1&&e[a].splice(s,1),this}function o(a,i){if(!{}.hasOwnProperty.call(e,a))return this;i=i||{};let s=e[a];for(let d=0,l=s.length;d<l;d++)s[d].call(this,i);return this}return this.addEventListener=t,this.removeEventListener=r,this.dispatchEvent=o,this.getRegisteredEvents=()=>e,this}function Ye(e,t){if(!e)return!1;let r=e.getAttribute(fe);return r?(r=r.split(" "),r.indexOf(t)>-1):!1}function le(e,t){if(Ye(e,t))return t;if(t.indexOf(" ")!==-1){let o=fe+" values cannot contain spaces!";throw new Error(o)}let r=e.getAttribute(fe);return r!==null&&(t=r+" "+t),e.setAttribute(fe,t),t}var Nr=Ir+"atomic_init";function Fi(e,t){if(!e||!e.classList){let r=e+' is not valid. Check that element is a DOM node with class "'+t+'"';throw new Error(r)}return e}function Ui(e,t){let r=e.classList.contains(t)?e:e.querySelector("."+t);if(!r){let o=t+" not found on or in passed DOM node.";throw new Error(o)}return r}function _e(e,t){return Fi(e,t),Ui(e,t)}function ge(e){return Ye(e,Nr)?!1:(le(e,Nr),!0)}function de(e,t,r,o={}){let i=(r||document).querySelectorAll(e),s=[],d,l;for(let m=0,c=i.length;m<c;m++)l=i[m],Ye(l,Nr)===!1&&(d=new t(l),d.init(o),s.push(d));return s}function Yt(e,t){let r;if(Ye(e,t))return r=e,r;if(e){let o="["+fe+"="+t+"]";r=e.querySelector(o)}if(!r){let o=t+" behavior not found on passed DOM node!";throw new Error(o)}return r}var Wi=Object.prototype.toString;var Gi=Array.isArray||function(t){return Wi.call(t)==="[object Array]"};function zr(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var wt=Xt+"flyout-menu",Xi="["+fe+"="+wt;function Ie(e,t=!0){let r=Yt(e,wt),o=T(e),a=Yt(e,wt+"_content"),i=0,s=0,d=1,l=2,m=3,c,v,y,f=P.bind(this),E=z.bind(this),w,k=!0,L=!1;function T(u){let g=[],x=u.querySelectorAll(`${Xi}_trigger]`),D,N,W;for(let Y=x.length>>>0;Y--;){for(W=!1,D=x[Y],N=D.parentElement;N!==u;)N.getAttribute(fe)&&N.getAttribute(fe).split(" ").indexOf(wt)!==-1?(W=!0,N=u):N=N.parentElement;W||g.unshift(x[Y])}return g}function B(u=!1){return i=u?m:s,o.forEach(g=>{n("expanded",g,u),g.addEventListener("click",S.bind(this)),g.addEventListener("touchstart",b,{passive:!0}),g.addEventListener("mouseover",h.bind(this)),g.addEventListener("mouseout",A.bind(this))}),a.setAttribute("data-open",u?"true":"false"),t&&!u&&a.setAttribute("hidden",""),F(),this}function n(u,g,x){let D=String(x);return g.setAttribute("aria-"+u,D),D}function b(){L=!0}function h(u){k||(L||this.dispatchEvent("triggerover",{target:this,trigger:u.target,type:"triggerover"}),L=!1)}function A(u){k||this.dispatchEvent("triggerout",{target:this,trigger:u.target,type:"triggerout"})}function S(u){if(!k)switch(this.dispatchEvent("triggerclick",{target:this,trigger:u.target,type:"triggerclick"}),u.preventDefault(),i){case s:case d:this.expand();break;case l:case m:this.collapse();break}}function C(){if(c==null||c.halt(),i===l||i===m)return this;if(i=l,t&&a.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!v||!y)return E(),this;let u=c==null?void 0:c.isAnimated();return u&&c.addEventListener(q.END_EVENT,E),v(),u||E(),this}function M(){if(c==null||c.halt(),i===d||i===s)return this;for(let g=0,x=o.length;g<x;g++)n("expanded",o[g],!1);if(a.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!v)return f(),this;let u=c==null?void 0:c.isAnimated();return u&&c.addEventListener(q.END_EVENT,f),y(),u||f(),this}function z(){i=m,a.setAttribute("data-open","true"),c&&c.removeEventListener(q.END_EVENT,E),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let u=0,g=o.length;u<g;u++)n("expanded",o[u],!0)}function P(){i=s,t&&a.setAttribute("hidden",""),c&&c.removeEventListener(q.END_EVENT,f),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function V(u,g,x){c=u,g&&g!==y&&(y=g),x&&x!==v&&(v=x)}function re(){c&&c.remove();let u;c=u,v=u,y=u}function oe(){return{container:r,content:a,trigger:o}}function F(){return k&&(k=!1),!k}function X(){return k||(k=!0),k}function U(u){return w=u,this}let Q=new ie;return this.addEventListener=Q.addEventListener,this.removeEventListener=Q.removeEventListener,this.dispatchEvent=Q.dispatchEvent,this.init=B,this.expand=C,this.collapse=M,this.setTransition=V,this.clearTransition=re,this.getData=()=>w,this.getTransition=()=>c,this.getDom=oe,this.isAnimating=()=>i===l||i===d,this.isExpanded=()=>i===m,this.resume=F,this.setData=U,this.suspend=X,Ie.BASE_CLASS=wt,this}var Kt={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function oa(e){let t=new ie,r=new q(e,Kt,this);function o(s){return r.init(s),this}function a(){return r.applyClass(Kt.ALPHA_100),this}function i(){return r.applyClass(Kt.ALPHA_0),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=r.animateOff,this.animateOn=r.animateOn,this.halt=r.halt,this.isAnimated=r.isAnimated,this.remove=r.remove,this.setElement=r.setElement,this.fadeIn=a,this.fadeOut=i,this.init=o,this}oa.CLASSES=Kt;function q(e,t,r){let o=t,a=e;if(!r)throw new Error("Child transition argument must be defined!");let i=r,s,d,l,m=!1,c=!1,v=!1;if(typeof o.CSS_PROPERTY=="undefined"||typeof o.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&m?(a.addEventListener(d,l),i.dispatchEvent(q.BEGIN_EVENT,{target:i,type:q.BEGIN_EVENT}),a.classList.add(q.ANIMATING_CLASS),c=!0):(i.dispatchEvent(q.BEGIN_EVENT,{target:i,type:q.BEGIN_EVENT}),l())}function f(){a.removeEventListener(d,l)}function E(S){return S&&S.propertyName!==o.CSS_PROPERTY?!1:(f(),a.classList.remove(q.ANIMATING_CLASS),i.dispatchEvent(q.END_EVENT,{target:i,type:q.END_EVENT}),c=!1,!0)}function w(){let S;for(S in o)({}).hasOwnProperty.call(o,S)&&o[S]!==o.BASE_CLASS&&a.classList.contains(o[S])&&a.classList.remove(o[S])}function k(){c&&(a.style.webkitTransitionDuration="0",a.style.mozTransitionDuration="0",a.style.oTransitionDuration="0",a.style.transitionDuration="0",a.removeEventListener(d,l),l(),a.style.webkitTransitionDuration="",a.style.mozTransitionDuration="",a.style.oTransitionDuration="",a.style.transitionDuration="")}function L(){k(),w(),a.classList.remove(o.BASE_CLASS)}function T(){a.classList.remove(q.NO_ANIMATION_CLASS),m=!0}function B(){a.classList.add(q.NO_ANIMATION_CLASS),m=!1}function n(S){if(!S){let P="Element does not have TransitionEnd event. It may be null!";throw new Error(P)}let C,M={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},z;for(z in M)if({}.hasOwnProperty.call(M,z)&&typeof S.style[z]!="undefined"){C=M[z];break}return C}function b(S){L(),T(),a=S,a.classList.add(o.BASE_CLASS),d=n(a)}function h(S){if(m=!a.classList.contains(q.NO_ANIMATION_CLASS),l=E.bind(this),b(a),!S)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return a.classList.add(S),this}function A(S){return v||(w(),v=!0),a.classList.contains(S)?!1:(f(),a.classList.remove(s),s=S,y(),a.classList.add(s),!0)}return this.animateOff=B,this.animateOn=T,this.applyClass=A,this.halt=k,this.init=h,this.isAnimated=()=>m,this.remove=L,this.setElement=b,this}q.BEGIN_EVENT="transitionbegin";q.END_EVENT="transitionend";q.NO_ANIMATION_CLASS="u-no-animation";q.ANIMATING_CLASS="u-is-animating";var kt={CSS_PROPERTY:"max-height",BASE_CLASS:"u-max-height-transition",MH_DEFAULT:"u-max-height-default",MH_SUMMARY:"u-max-height-summary",MH_ZERO:"u-max-height-zero"};function ce(e){let t=new ie,r=new q(e,kt,this),o=0;function a(){let y=e.scrollHeight+"px";e.style.maxHeight=y}function i(){window.removeEventListener("load",i),a()}function s(v){return r.init(v),window.addEventListener("load",i),window.addEventListener("resize",()=>{a()}),this}function d(){return a(),r.applyClass(kt.MH_DEFAULT),(!o||e.scrollHeight>o)&&(o=e.scrollHeight),this}function l(){return r.applyClass(kt.MH_SUMMARY),o=e.scrollHeight,this}function m(){return r.applyClass(kt.MH_ZERO),o=e.scrollHeight,this}function c(){return e.style.maxHeight="",r.remove()}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=r.animateOff,this.animateOn=r.animateOn,this.halt=r.halt,this.isAnimated=r.isAnimated,this.setElement=r.setElement,this.refresh=a,this.remove=c,this.init=s,this.maxHeightDefault=d,this.maxHeightSummary=l,this.maxHeightZero=m,this}ce.CLASSES=kt;var Ne={CSS_PROPERTY:"transform",BASE_CLASS:"u-move-transition",MOVE_TO_ORIGIN:"u-move-to-origin",MOVE_LEFT:"u-move-left",MOVE_LEFT_2X:"u-move-left-2x",MOVE_LEFT_3X:"u-move-left-3x",MOVE_RIGHT:"u-move-right",MOVE_UP:"u-move-up"};function aa(e){let t=new ie,r=new q(e,Ne,this);function o(l){return r.init(l),this}function a(){return r.applyClass(Ne.MOVE_TO_ORIGIN),this}function i(l){l=l||1;let m=[Ne.MOVE_LEFT,Ne.MOVE_LEFT_2X,Ne.MOVE_LEFT_3X];return r.applyClass(m[l-1]),this}function s(){return r.applyClass(Ne.MOVE_RIGHT),this}function d(){return r.applyClass(Ne.MOVE_UP),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=r.animateOff,this.animateOn=r.animateOn,this.halt=r.halt,this.isAnimated=r.isAnimated,this.setElement=r.setElement,this.remove=r.remove,this.init=o,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=s,this.moveToOrigin=a,this.moveUp=d,this}aa.CLASSES=Ne;var nt="o-expandable";function ze(e){let t=_e(e,nt),r,o,a,i,s;function d(){if(!ge(t))return this;r=t.querySelector(`.${nt}__header`),o=t.querySelector(`.${nt}__content`),a=t.querySelector(`.${nt}__label`);let c=t.classList.contains(`${nt}--onload-open`);le(t,"behavior_flyout-menu"),le(r,"behavior_flyout-menu_trigger"),le(o,"behavior_flyout-menu_content");let v=c?ce.CLASSES.MH_DEFAULT:ce.CLASSES.MH_ZERO;return i=new ce(o).init(v),s=new Ie(t),s.setTransition(i,i.maxHeightZero,i.maxHeightDefault),s.init(c),s.addEventListener("expandbegin",()=>{o.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),s.addEventListener("collapseend",()=>{o.classList.add("u-hidden")}),this}function l(){return a.textContent.trim()}this.init=d,this.expand=()=>s.expand(),this.collapse=()=>s.collapse(),this.isExpanded=()=>s.isExpanded(),this.refresh=()=>s.getTransition().refresh(),this.getLabelText=l;let m=new ie;return this.addEventListener=m.addEventListener,this.removeEventListener=m.removeEventListener,this.dispatchEvent=m.dispatchEvent,this}ze.BASE_CLASS=nt;ze.init=e=>de(`.${ze.BASE_CLASS}`,ze,e);var Jt="o-expandable-group";function Zt(e){let t=_e(e,Jt),r=t.classList.contains(`${Jt}--accordion`),o,a;function i(d){let l=d.target;a&&a!==l&&a.collapse(),a=l}function s(d){return ge(t)?(r&&(o=d,o.forEach(l=>{l.addEventListener("expandbegin",i)})),this):this}return this.init=s,this}Zt.BASE_CLASS=Jt;Zt.init=e=>{(e||document).querySelectorAll(`.${Jt}`).forEach(o=>{let a=de(`.${ze.BASE_CLASS}`,ze,o);new Zt(o).init(a)})};var st="o-summary";function Qt(e){let t=_e(e,st),r=t.classList.contains(`${st}--mobile`),o=t.querySelector(`.${st}__content`),a=t.querySelector(`.${st}__btn`),i,s,d;function l(){return ge(t)?(window.addEventListener("load",m),this):this}function m(){window.removeEventListener("load",m),d=!f(),le(t,"behavior_flyout-menu"),le(o,"behavior_flyout-menu_content"),le(a,"behavior_flyout-menu_trigger"),s=new Ie(t,!1),i=new ce(o),i.init(d?ce.CLASSES.MH_SUMMARY:ce.CLASSES.MH_DEFAULT),s.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),s.addEventListener("triggerclick",E),s.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),t.addEventListener("focusin",c),o.addEventListener("click",v)}function c(b){!d&&b.target!==a&&(a.click(),t.removeEventListener("focusin",c))}function v(b){b.target.tagName!=="A"&&s.isExpanded()&&i.refresh()}function y(){f()?B():T()}function f(){return r&&!Br(Gt)||o.scrollHeight<=88}function E(){s.addEventListener("expandend",w)}function w(){L(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),s.removeEventListener("expandend",w),s.suspend(),i.remove()}function k(){a.classList.remove("u-hidden")}function L(){a.classList.add("u-hidden")}function T(){return d&&(s.collapse(),i.animateOn(),k(),d=!1),!d}function B(){return d||(i.animateOff(),s.expand(),L(),d=!0),d}let n=new ie;return this.addEventListener=n.addEventListener,this.removeEventListener=n.removeEventListener,this.dispatchEvent=n.dispatchEvent,this.init=l,this}Qt.BASE_CLASS=st;Qt.init=e=>de(`.${st}`,Qt,e);var St="o-summary-minimal";function er(e){let t=_e(e,St),r=t.querySelector(`.${St}__content`),o=t.querySelector(`.${St}__btn`),a,i;function s(){return ge(t)?(le(t,"behavior_flyout-menu"),le(r,"behavior_flyout-menu_content"),le(o,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new Ie(t,!1),a=new ce(r),a.init(ce.CLASSES.MH_SUMMARY),i.setTransition(a,a.maxHeightSummary,a.maxHeightDefault),i.init(),t.addEventListener("focusin",l),r.addEventListener("click",m),i.collapse(),a.animateOn()}function l(v){v.target!==o&&(o.click(),t.removeEventListener("focusin",l))}function m(v){v.target.tagName!=="A"&&i.isExpanded()&&a.refresh()}let c=new ie;return this.addEventListener=c.addEventListener,this.removeEventListener=c.removeEventListener,this.dispatchEvent=c.dispatchEvent,this.init=s,this}er.BASE_CLASS=St;er.init=e=>de(`.${St}`,er,e);var Pr={};j(Pr,{default:()=>Zi});var Zi={};var Rr={};j(Rr,{default:()=>en});var en={};var Vr={};j(Vr,{default:()=>rn});var rn={};var qr={};j(qr,{default:()=>an});var an={};var Hr={};j(Hr,{default:()=>sn});var sn={};var $r={};j($r,{default:()=>dn});var dn={};var Fr={};j(Fr,{default:()=>pn});var pn={};var Ur={};j(Ur,{default:()=>un});var un={};var Wr={};j(Wr,{default:()=>fn});var fn={};var gn;function bn(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function vn(e,t){return RegExp(bn(t.trim()),"i").test(e)}function yn(e,t,r){let o=e,a=t,i=(r==null?void 0:r.maxSelections)||5,s=[],d=[],l=[],m=[],c=-1;function v(b){return a+"-"+b.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function f(b){let h,A=[],S=!1;for(let C=0,M=b.length;C<M;C++)h=b[C],S=y()?!1:h.defaultSelected,A.push({id:v(h),value:h.value,text:h.text,checked:S}),S&&d.push(C);return A}function E(){return s=f(o),this}function w(b){return s[b].checked=!s[b].checked,d.length<i&&s[b].checked?(d.push(b),d.sort(),!0):(s[b].checked=!1,d=d.filter(function(h){return h!==b}),!1)}function k(b,h,A,S){return vn(h.text,S)&&b.push(A),b}function L(b){return Object.prototype.toString.call(b)!=="[object String]"&&(b=""),m=l,s.length>0&&(l=s.reduce(function(h,A,S){return k(h,A,S,b)},[])),c=-1,l}function T(b){return s[b]}function B(b){let h=l.length,A=h===0?s.length:h;b<0?c=-1:b>=A?c=A-1:c=b}function n(){return c}return this.init=E,this.toggleOption=w,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=L,this.clearFilter=function(){return l=m=[],gn},this.getFilterIndices=function(){return l},this.getLastFilterIndices=function(){return m},this.getIndex=n,this.setIndex=B,this.resetIndex=function(){return c=-1,c},this.getOption=T,this}var la=yn;function we(e,t,r){let o=document.createElement(e);return Object.keys(r).forEach(a=>{let i=r[a];a in o?o[a]=i:o.setAttribute(a,i)}),t&&t.appendChild(o),o}var da='<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="cf-icon-svg cf-icon-svg--error" viewBox="0 0 12 19"><path d="M11.383 13.644A1.03 1.03 0 0 1 9.928 15.1L6 11.172 2.072 15.1a1.03 1.03 0 1 1-1.455-1.456l3.928-3.928L.617 5.79a1.03 1.03 0 1 1 1.455-1.456L6 8.261l3.928-3.928a1.03 1.03 0 0 1 1.455 1.456L7.455 9.716z"/></svg>';var Sn=da,ke="o-multiselect",En="a-checkbox",Dn="a-text-input",ca="prev",tr="next",Gr="Enter",On=" ",pa="Escape",Ln="ArrowUp",ma="ArrowDown",ua="Tab",ha={renderTags:!0,maxSelections:5};function rr(e){e.classList.add(ke);let t=_e(e,ke),r=!1,o,a,i,s,d,l,m,c,v,y,f,E=[],w;function k(){f.classList.remove("u-no-results"),f.classList.add("u-filtered");let u=i.getLastFilterIndices();for(let g=0,x=u.length;g<x;g++)E[u[g]].classList.remove("u-filter-match");u=i.getFilterIndices();for(let g=0,x=u.length;g<x;g++)E[u[g]].classList.add("u-filter-match")}function L(){f.classList.remove("u-filtered","u-no-results");for(let u=0,g=f.children.length;u<g;u++)f.children[u].classList.remove("u-filter-match");i.clearFilter()}function T(){f.classList.add("u-no-results"),f.classList.remove("u-filtered")}function B(u){return u.length>0?(k(),!0):(T(),!1)}function n(u){L(),i.resetIndex();let g=i.filterIndices(u);B(g)}function b(){return l.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),w.dispatchEvent("expandbegin",{target:w}),w}function h(){return l.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),w.dispatchEvent("collapsebegin",{target:w}),w}function A(u){u===tr?i.setIndex(i.getIndex()+1):u===ca&&i.setIndex(i.getIndex()-1);let g=i.getIndex();if(g>-1){let x=g,D=i.getFilterIndices();D.length>0&&(x=D[g]);let W=i.getOption(x).value,Te=f.querySelector('[data-option="'+W+'"]').querySelector("input");r=!0,Te.focus()}else r=!1,v.focus()}function S(){v.value="",L()}function C(u){let g=u.target;g.tagName==="BUTTON"&&(u.preventDefault(),g.removeEventListener("click",C),g.querySelector("label").click())}function M(u){if(u.key===On||u.key===Gr){let g=u.target.querySelector("label");f.querySelector("#"+g.getAttribute("for")).click()}}function z(u){return o+"-"+u.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function P(u,g){let x=z(g),D=we("li",null,{"data-option":g.value}),N=we("button",D,{type:"button",class:"a-tag-filter",innerHTML:"<label for="+x+">"+g.text+Sn+"</label>"});u.appendChild(D),N.addEventListener("click",C),N.addEventListener("keydown",M)}function V(u){let g=i.getOption(u)||i.getOption(i.getIndex());if(g){if(g.checked){f.classList.contains("u-max-selections")&&f.classList.remove("u-max-selections");let x='[data-option="'+g.value+'"]',D=m.querySelector(x);typeof D!="undefined"&&D&&(m==null||m.removeChild(D))}else d!=null&&d.renderTags&&m&&P(m,g);i.toggleOption(u),i.isAtMaxSelections()&&f.classList.add("u-max-selections"),w.dispatchEvent("selectionsupdated",{target:w})}i.resetIndex(),r=!1,y.getAttribute("aria-hidden")==="false"&&v.focus()}function re(u){V(Number(u.target.getAttribute("data-index"))),S()}function oe(){c.addEventListener("mousemove",function(x){let D=x.target;x.offsetX>D.offsetWidth-35?D.style.cursor="pointer":D.style.cursor="auto"}),c.addEventListener("mouseup",function(x){let D=x.target;x.offsetX>D.offsetWidth-35&&y.offsetHeight===140&&v.blur()}),v.addEventListener("input",function(){n(this.value)}),v.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&b()}),v.addEventListener("blur",function(){!r&&y.getAttribute("aria-hidden")==="false"&&h()}),v.addEventListener("keydown",function(x){let D=x.key;y.getAttribute("aria-hidden")==="true"&&D!==ua&&b(),D===Gr?(x.preventDefault(),A(tr)):D===pa?(S(),h()):D===ma?A(tr):D===ua&&!x.shiftKey&&y.getAttribute("aria-hidden")==="false"&&h()}),f.addEventListener("mousedown",function(){r=!0}),f.addEventListener("keydown",function(x){let D=x.key,N=x.target,W=N.checked;if(D===Gr){x.preventDefault(),N.checked=!W;let Y=new Event("change",{bubbles:!1,cancelable:!0});N.dispatchEvent(Y)}else D===pa?(v.focus(),h()):D===Ln?A(ca):D===ma&&A(tr)}),y.addEventListener("mousedown",function(x){x.target.tagName==="LABEL"&&(r=!0)});let u=f.querySelectorAll("input");for(let x=0,D=u.length;x<D;x++)u[x].addEventListener("change",re);let g=m.querySelectorAll("button");for(let x=0,D=g.length;x<D;x++)g[x].addEventListener("click",C),g[x].addEventListener("keydown",M)}function F(){l=document.createElement("div"),l.className=ke,m=we("ul",null,{className:"m-tag-group"}),c=we("header",l,{className:ke+"__header"}),v=we("input",c,{className:ke+"__search "+Dn,type:"text",placeholder:a||"Select up to five",id:t.id,autocomplete:"off"}),y=we("fieldset",l,{className:ke+"__fieldset u-invisible","aria-hidden":"true"});let u=ke+"__options";i.isAtMaxSelections()&&(u+=" u-max-selections"),f=we("ul",y,{className:u});let g,x,D;for(let N=0,W=s.length;N<W;N++){g=s[N],x=z(g),D=i.getOption(N).checked;let Y=we("li",f,{"data-option":g.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});we("input",Y,{id:x,type:"checkbox",value:g.value,name:o,class:En+" "+ke+"__checkbox",checked:D,"data-index":N}),we("label",Y,{for:x,textContent:g.text,className:ke+"__label a-label"}),E.push(Y),D&&(d!=null&&d.renderTags)&&P(m,g)}return l.insertBefore(m,c),t.parentNode.insertBefore(l,t),l.appendChild(t),l}function X(u=ha){if(!ge(t))return this;if(zr())return this;if(w=this,o=t.name||t.id,a=t.getAttribute("placeholder"),s=t.options||[],d=nr(nr({},ha),u),s.length>0){i=new la(s,o,d).init();let g=F();t.parentNode.removeChild(t),t=g,ge(t),oe()}return this}function U(){return i}this.init=X,this.expand=b,this.collapse=h;let Q=new ie;return this.addEventListener=Q.addEventListener,this.removeEventListener=Q.removeEventListener,this.dispatchEvent=Q.dispatchEvent,this.getModel=U,this.updateSelections=V,this.selectionClickHandler=C,this.selectionKeyDownHandler=M,this}rr.BASE_CLASS=ke;rr.init=e=>de(`.${ke}`,rr,void 0,e);var Xr={};j(Xr,{default:()=>Tn});var Tn={};var Yr={};j(Yr,{default:()=>Cn});var Cn={};var Kr={};j(Kr,{default:()=>Bn});var Bn={};var Jr={};j(Jr,{default:()=>Nn});var Nn={};var Zr={};j(Zr,{default:()=>Pn});var Pn={};var Qr={};j(Qr,{default:()=>Vn});var Vn={};var eo={};j(eo,{default:()=>Hn});var Hn={};var to={};j(to,{default:()=>Fn});var Fn={};var ro={};j(ro,{default:()=>Wn});var Wn={};var oo={};j(oo,{default:()=>Xn});var Xn={};var ao={};j(ao,{default:()=>Kn});var Kn={};var io={};j(io,{default:()=>Zn});var Zn={};var no={};j(no,{default:()=>es});var es={};var so={};j(so,{default:()=>rs});var rs={};var lo={};j(lo,{default:()=>as});var as={};var co={};j(co,{default:()=>ns});var ns={};var po={};j(po,{default:()=>ls});var ls={};var mo={};j(mo,{default:()=>cs});var cs={};var uo={};j(uo,{default:()=>ms});var ms={};var ho={};j(ho,{default:()=>hs});var hs={};var fa={};j(fa,{default:()=>gs});var gs={};var ga="data-tooltip";function or(e){let t=e.getAttribute(ga);function r(){return ra(e,{theme:"cfpb",maxWidth:450,content:function(o){let a=o.parentElement.querySelector(`#${t}`),i=document.createElement("div"),s=document.importNode(a.content,!0);return i.appendChild(s),i},plugins:[{name:"hideOnEsc",defaultValue:!0,fn({hide:o}){function a(i){i.key==="Escape"&&o()}return{onShow(){document.body.addEventListener("keydown",a)},onHide(){document.body.removeEventListener("keydown",a)}}}}]})}return this.init=r,this}or.BASE_ATTRIBUTE=ga;or.init=e=>de(`[${or.BASE_ATTRIBUTE}]`,or,e);})();
(()=>{var vo=Object.defineProperty;var go=Object.getOwnPropertySymbols;var ka=Object.prototype.hasOwnProperty,Sa=Object.prototype.propertyIsEnumerable;var bo=(e,t,r)=>t in e?vo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nr=(e,t)=>{for(var r in t||(t={}))ka.call(t,r)&&bo(e,r,t[r]);if(go)for(var r of go(t))Sa.call(t,r)&&bo(e,r,t[r]);return e};var j=(e,t)=>{for(var r in t)vo(e,r,{get:t[r],enumerable:!0})};var $="top",J="bottom",K="right",G="left",Nt="auto",Me=[$,J,K,G],Oe="start",Ve="end",yo="clippingParents",zt="viewport",et="popper",xo="reference",sr=Me.reduce(function(e,t){return e.concat([t+"-"+Oe,t+"-"+Ve])},[]),Pt=[].concat(Me,[Nt]).reduce(function(e,t){return e.concat([t,t+"-"+Oe,t+"-"+Ve])},[]),Ea="beforeRead",Da="read",Oa="afterRead",La="beforeMain",Aa="main",Ta="afterMain",ja="beforeWrite",Ca="write",Ma="afterWrite",_o=[Ea,Da,Oa,La,Aa,Ta,ja,Ca,Ma];function ee(e){return e?(e.nodeName||"").toLowerCase():null}function H(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function me(e){var t=H(e).Element;return e instanceof t||e instanceof Element}function Z(e){var t=H(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function tt(e){if(typeof ShadowRoot=="undefined")return!1;var t=H(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Ba(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var o=t.styles[r]||{},a=t.attributes[r]||{},i=t.elements[r];!Z(i)||!ee(i)||(Object.assign(i.style,o),Object.keys(a).forEach(function(s){var d=a[s];d===!1?i.removeAttribute(s):i.setAttribute(s,d===!0?"":d)}))})}function Ia(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(o){var a=t.elements[o],i=t.attributes[o]||{},s=Object.keys(t.styles.hasOwnProperty(o)?t.styles[o]:r[o]),d=s.reduce(function(l,m){return l[m]="",l},{});!Z(a)||!ee(a)||(Object.assign(a.style,d),Object.keys(i).forEach(function(l){a.removeAttribute(l)}))})}}var ut={name:"applyStyles",enabled:!0,phase:"write",fn:Ba,effect:Ia,requires:["computeStyles"]};function te(e){return e.split("-")[0]}var be=Math.max,qe=Math.min,Le=Math.round;function rt(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function ht(){return!/^((?!chrome|android).)*safari/i.test(rt())}function ue(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),a=1,i=1;t&&Z(e)&&(a=e.offsetWidth>0&&Le(o.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Le(o.height)/e.offsetHeight||1);var s=me(e)?H(e):window,d=s.visualViewport,l=!ht()&&r,m=(o.left+(l&&d?d.offsetLeft:0))/a,c=(o.top+(l&&d?d.offsetTop:0))/i,v=o.width/a,y=o.height/i;return{width:v,height:y,top:c,right:m+v,bottom:c+y,left:m,x:m,y:c}}function He(e){var t=ue(e),r=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:o}}function ft(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&tt(r)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function se(e){return H(e).getComputedStyle(e)}function lr(e){return["table","td","th"].indexOf(ee(e))>=0}function ae(e){return((me(e)?e.ownerDocument:e.document)||window.document).documentElement}function Ae(e){return ee(e)==="html"?e:e.assignedSlot||e.parentNode||(tt(e)?e.host:null)||ae(e)}function wo(e){return!Z(e)||se(e).position==="fixed"?null:e.offsetParent}function Na(e){var t=/firefox/i.test(rt()),r=/Trident/i.test(rt());if(r&&Z(e)){var o=se(e);if(o.position==="fixed")return null}var a=Ae(e);for(tt(a)&&(a=a.host);Z(a)&&["html","body"].indexOf(ee(a))<0;){var i=se(a);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none")return a;a=a.parentNode}return null}function ve(e){for(var t=H(e),r=wo(e);r&&lr(r)&&se(r).position==="static";)r=wo(r);return r&&(ee(r)==="html"||ee(r)==="body"&&se(r).position==="static")?t:r||Na(e)||t}function $e(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Fe(e,t,r){return be(e,qe(t,r))}function ko(e,t,r){var o=Fe(e,t,r);return o>r?r:o}function gt(){return{top:0,right:0,bottom:0,left:0}}function bt(e){return Object.assign({},gt(),e)}function vt(e,t){return t.reduce(function(r,o){return r[o]=e,r},{})}var za=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,bt(typeof t!="number"?t:vt(t,Me))};function Pa(e){var t,r=e.state,o=e.name,a=e.options,i=r.elements.arrow,s=r.modifiersData.popperOffsets,d=te(r.placement),l=$e(d),m=[G,K].indexOf(d)>=0,c=m?"height":"width";if(!(!i||!s)){var v=za(a.padding,r),y=He(i),f=l==="y"?$:G,E=l==="y"?J:K,w=r.rects.reference[c]+r.rects.reference[l]-s[l]-r.rects.popper[c],k=s[l]-r.rects.reference[l],L=ve(i),T=L?l==="y"?L.clientHeight||0:L.clientWidth||0:0,B=w/2-k/2,n=v[f],b=T-y[c]-v[E],h=T/2-y[c]/2+B,A=Fe(n,h,b),S=l;r.modifiersData[o]=(t={},t[S]=A,t.centerOffset=A-h,t)}}function Ra(e){var t=e.state,r=e.options,o=r.element,a=o===void 0?"[data-popper-arrow]":o;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||ft(t.elements.popper,a)&&(t.elements.arrow=a))}var So={name:"arrow",enabled:!0,phase:"main",fn:Pa,effect:Ra,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function he(e){return e.split("-")[1]}var Va={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qa(e,t){var r=e.x,o=e.y,a=t.devicePixelRatio||1;return{x:Le(r*a)/a||0,y:Le(o*a)/a||0}}function Eo(e){var t,r=e.popper,o=e.popperRect,a=e.placement,i=e.variation,s=e.offsets,d=e.position,l=e.gpuAcceleration,m=e.adaptive,c=e.roundOffsets,v=e.isFixed,y=s.x,f=y===void 0?0:y,E=s.y,w=E===void 0?0:E,k=typeof c=="function"?c({x:f,y:w}):{x:f,y:w};f=k.x,w=k.y;var L=s.hasOwnProperty("x"),T=s.hasOwnProperty("y"),B=G,n=$,b=window;if(m){var h=ve(r),A="clientHeight",S="clientWidth";if(h===H(r)&&(h=ae(r),se(h).position!=="static"&&d==="absolute"&&(A="scrollHeight",S="scrollWidth")),h=h,a===$||(a===G||a===K)&&i===Ve){n=J;var C=v&&h===b&&b.visualViewport?b.visualViewport.height:h[A];w-=C-o.height,w*=l?1:-1}if(a===G||(a===$||a===J)&&i===Ve){B=K;var M=v&&h===b&&b.visualViewport?b.visualViewport.width:h[S];f-=M-o.width,f*=l?1:-1}}var z=Object.assign({position:d},m&&Va),P=c===!0?qa({x:f,y:w},H(r)):{x:f,y:w};if(f=P.x,w=P.y,l){var V;return Object.assign({},z,(V={},V[n]=T?"0":"",V[B]=L?"0":"",V.transform=(b.devicePixelRatio||1)<=1?"translate("+f+"px, "+w+"px)":"translate3d("+f+"px, "+w+"px, 0)",V))}return Object.assign({},z,(t={},t[n]=T?w+"px":"",t[B]=L?f+"px":"",t.transform="",t))}function Ha(e){var t=e.state,r=e.options,o=r.gpuAcceleration,a=o===void 0?!0:o,i=r.adaptive,s=i===void 0?!0:i,d=r.roundOffsets,l=d===void 0?!0:d,m={placement:te(t.placement),variation:he(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Eo(Object.assign({},m,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Eo(Object.assign({},m,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Do={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ha,data:{}};var Rt={passive:!0};function $a(e){var t=e.state,r=e.instance,o=e.options,a=o.scroll,i=a===void 0?!0:a,s=o.resize,d=s===void 0?!0:s,l=H(t.elements.popper),m=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&m.forEach(function(c){c.addEventListener("scroll",r.update,Rt)}),d&&l.addEventListener("resize",r.update,Rt),function(){i&&m.forEach(function(c){c.removeEventListener("scroll",r.update,Rt)}),d&&l.removeEventListener("resize",r.update,Rt)}}var Oo={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$a,data:{}};var Fa={left:"right",right:"left",bottom:"top",top:"bottom"};function ot(e){return e.replace(/left|right|bottom|top/g,function(t){return Fa[t]})}var Ua={start:"end",end:"start"};function Vt(e){return e.replace(/start|end/g,function(t){return Ua[t]})}function Ue(e){var t=H(e),r=t.pageXOffset,o=t.pageYOffset;return{scrollLeft:r,scrollTop:o}}function We(e){return ue(ae(e)).left+Ue(e).scrollLeft}function dr(e,t){var r=H(e),o=ae(e),a=r.visualViewport,i=o.clientWidth,s=o.clientHeight,d=0,l=0;if(a){i=a.width,s=a.height;var m=ht();(m||!m&&t==="fixed")&&(d=a.offsetLeft,l=a.offsetTop)}return{width:i,height:s,x:d+We(e),y:l}}function cr(e){var t,r=ae(e),o=Ue(e),a=(t=e.ownerDocument)==null?void 0:t.body,i=be(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),s=be(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),d=-o.scrollLeft+We(e),l=-o.scrollTop;return se(a||r).direction==="rtl"&&(d+=be(r.clientWidth,a?a.clientWidth:0)-i),{width:i,height:s,x:d,y:l}}function Ge(e){var t=se(e),r=t.overflow,o=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+o)}function qt(e){return["html","body","#document"].indexOf(ee(e))>=0?e.ownerDocument.body:Z(e)&&Ge(e)?e:qt(Ae(e))}function Be(e,t){var r;t===void 0&&(t=[]);var o=qt(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=H(o),s=a?[i].concat(i.visualViewport||[],Ge(o)?o:[]):o,d=t.concat(s);return a?d:d.concat(Be(Ae(s)))}function at(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Wa(e,t){var r=ue(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Lo(e,t,r){return t===zt?at(dr(e,r)):me(t)?Wa(t,r):at(cr(ae(e)))}function Ga(e){var t=Be(Ae(e)),r=["absolute","fixed"].indexOf(se(e).position)>=0,o=r&&Z(e)?ve(e):e;return me(o)?t.filter(function(a){return me(a)&&ft(a,o)&&ee(a)!=="body"}):[]}function pr(e,t,r,o){var a=t==="clippingParents"?Ga(e):[].concat(t),i=[].concat(a,[r]),s=i[0],d=i.reduce(function(l,m){var c=Lo(e,m,o);return l.top=be(c.top,l.top),l.right=qe(c.right,l.right),l.bottom=qe(c.bottom,l.bottom),l.left=be(c.left,l.left),l},Lo(e,s,o));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function yt(e){var t=e.reference,r=e.element,o=e.placement,a=o?te(o):null,i=o?he(o):null,s=t.x+t.width/2-r.width/2,d=t.y+t.height/2-r.height/2,l;switch(a){case $:l={x:s,y:t.y-r.height};break;case J:l={x:s,y:t.y+t.height};break;case K:l={x:t.x+t.width,y:d};break;case G:l={x:t.x-r.width,y:d};break;default:l={x:t.x,y:t.y}}var m=a?$e(a):null;if(m!=null){var c=m==="y"?"height":"width";switch(i){case Oe:l[m]=l[m]-(t[c]/2-r[c]/2);break;case Ve:l[m]=l[m]+(t[c]/2-r[c]/2);break;default:}}return l}function ye(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=o===void 0?e.placement:o,i=r.strategy,s=i===void 0?e.strategy:i,d=r.boundary,l=d===void 0?yo:d,m=r.rootBoundary,c=m===void 0?zt:m,v=r.elementContext,y=v===void 0?et:v,f=r.altBoundary,E=f===void 0?!1:f,w=r.padding,k=w===void 0?0:w,L=bt(typeof k!="number"?k:vt(k,Me)),T=y===et?xo:et,B=e.rects.popper,n=e.elements[E?T:y],b=pr(me(n)?n:n.contextElement||ae(e.elements.popper),l,c,s),h=ue(e.elements.reference),A=yt({reference:h,element:B,strategy:"absolute",placement:a}),S=at(Object.assign({},B,A)),C=y===et?S:h,M={top:b.top-C.top+L.top,bottom:C.bottom-b.bottom+L.bottom,left:b.left-C.left+L.left,right:C.right-b.right+L.right},z=e.modifiersData.offset;if(y===et&&z){var P=z[a];Object.keys(M).forEach(function(V){var re=[K,J].indexOf(V)>=0?1:-1,oe=[$,J].indexOf(V)>=0?"y":"x";M[V]+=P[oe]*re})}return M}function mr(e,t){t===void 0&&(t={});var r=t,o=r.placement,a=r.boundary,i=r.rootBoundary,s=r.padding,d=r.flipVariations,l=r.allowedAutoPlacements,m=l===void 0?Pt:l,c=he(o),v=c?d?sr:sr.filter(function(E){return he(E)===c}):Me,y=v.filter(function(E){return m.indexOf(E)>=0});y.length===0&&(y=v);var f=y.reduce(function(E,w){return E[w]=ye(e,{placement:w,boundary:a,rootBoundary:i,padding:s})[te(w)],E},{});return Object.keys(f).sort(function(E,w){return f[E]-f[w]})}function Xa(e){if(te(e)===Nt)return[];var t=ot(e);return[Vt(e),t,Vt(t)]}function Ya(e){var t=e.state,r=e.options,o=e.name;if(!t.modifiersData[o]._skip){for(var a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,d=s===void 0?!0:s,l=r.fallbackPlacements,m=r.padding,c=r.boundary,v=r.rootBoundary,y=r.altBoundary,f=r.flipVariations,E=f===void 0?!0:f,w=r.allowedAutoPlacements,k=t.options.placement,L=te(k),T=L===k,B=l||(T||!E?[ot(k)]:Xa(k)),n=[k].concat(B).reduce(function(N,W){return N.concat(te(W)===Nt?mr(t,{placement:W,boundary:c,rootBoundary:v,padding:m,flipVariations:E,allowedAutoPlacements:w}):W)},[]),b=t.rects.reference,h=t.rects.popper,A=new Map,S=!0,C=n[0],M=0;M<n.length;M++){var z=n[M],P=te(z),V=he(z)===Oe,re=[$,J].indexOf(P)>=0,oe=re?"width":"height",F=ye(t,{placement:z,boundary:c,rootBoundary:v,altBoundary:y,padding:m}),X=re?V?K:G:V?J:$;b[oe]>h[oe]&&(X=ot(X));var U=ot(X),Q=[];if(i&&Q.push(F[P]<=0),d&&Q.push(F[X]<=0,F[U]<=0),Q.every(function(N){return N})){C=z,S=!1;break}A.set(z,Q)}if(S)for(var u=E?3:1,g=function(W){var Y=n.find(function(Te){var Ee=A.get(Te);if(Ee)return Ee.slice(0,W).every(function(Ke){return Ke})});if(Y)return C=Y,"break"},x=u;x>0;x--){var D=g(x);if(D==="break")break}t.placement!==C&&(t.modifiersData[o]._skip=!0,t.placement=C,t.reset=!0)}}var Ao={name:"flip",enabled:!0,phase:"main",fn:Ya,requiresIfExists:["offset"],data:{_skip:!1}};function To(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function jo(e){return[$,K,J,G].some(function(t){return e[t]>=0})}function Ka(e){var t=e.state,r=e.name,o=t.rects.reference,a=t.rects.popper,i=t.modifiersData.preventOverflow,s=ye(t,{elementContext:"reference"}),d=ye(t,{altBoundary:!0}),l=To(s,o),m=To(d,a,i),c=jo(l),v=jo(m);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:m,isReferenceHidden:c,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":v})}var Co={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ka};function Ja(e,t,r){var o=te(e),a=[G,$].indexOf(o)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,s=i[0],d=i[1];return s=s||0,d=(d||0)*a,[G,K].indexOf(o)>=0?{x:d,y:s}:{x:s,y:d}}function Za(e){var t=e.state,r=e.options,o=e.name,a=r.offset,i=a===void 0?[0,0]:a,s=Pt.reduce(function(c,v){return c[v]=Ja(v,t.rects,i),c},{}),d=s[t.placement],l=d.x,m=d.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=m),t.modifiersData[o]=s}var Mo={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Za};function Qa(e){var t=e.state,r=e.name;t.modifiersData[r]=yt({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Bo={name:"popperOffsets",enabled:!0,phase:"read",fn:Qa,data:{}};function ur(e){return e==="x"?"y":"x"}function ei(e){var t=e.state,r=e.options,o=e.name,a=r.mainAxis,i=a===void 0?!0:a,s=r.altAxis,d=s===void 0?!1:s,l=r.boundary,m=r.rootBoundary,c=r.altBoundary,v=r.padding,y=r.tether,f=y===void 0?!0:y,E=r.tetherOffset,w=E===void 0?0:E,k=ye(t,{boundary:l,rootBoundary:m,padding:v,altBoundary:c}),L=te(t.placement),T=he(t.placement),B=!T,n=$e(L),b=ur(n),h=t.modifiersData.popperOffsets,A=t.rects.reference,S=t.rects.popper,C=typeof w=="function"?w(Object.assign({},t.rects,{placement:t.placement})):w,M=typeof C=="number"?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),z=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,P={x:0,y:0};if(h){if(i){var V,re=n==="y"?$:G,oe=n==="y"?J:K,F=n==="y"?"height":"width",X=h[n],U=X+k[re],Q=X-k[oe],u=f?-S[F]/2:0,g=T===Oe?A[F]:S[F],x=T===Oe?-S[F]:-A[F],D=t.elements.arrow,N=f&&D?He(D):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:gt(),Y=W[re],Te=W[oe],Ee=Fe(0,A[F],N[F]),Ke=B?A[F]/2-u-Ee-Y-M.mainAxis:g-Ee-Y-M.mainAxis,je=B?-A[F]/2+u+Ee+Te+M.mainAxis:x+Ee+Te+M.mainAxis,Je=t.elements.arrow&&ve(t.elements.arrow),Et=Je?n==="y"?Je.clientTop||0:Je.clientLeft||0:0,lt=(V=z==null?void 0:z[n])!=null?V:0,Dt=X+Ke-lt-Et,Ot=X+je-lt,dt=Fe(f?qe(U,Dt):U,X,f?be(Q,Ot):Q);h[n]=dt,P[n]=dt-X}if(d){var ct,Lt=n==="x"?$:G,At=n==="x"?J:K,De=h[b],Ce=b==="y"?"height":"width",pt=De+k[Lt],Pe=De-k[At],mt=[$,G].indexOf(L)!==-1,Tt=(ct=z==null?void 0:z[b])!=null?ct:0,jt=mt?pt:De-A[Ce]-S[Ce]-Tt+M.altAxis,Ct=mt?De+A[Ce]+S[Ce]-Tt-M.altAxis:Pe,Mt=f&&mt?ko(jt,De,Ct):Fe(f?jt:pt,De,f?Ct:Pe);h[b]=Mt,P[b]=Mt-De}t.modifiersData[o]=P}}var Io={name:"preventOverflow",enabled:!0,phase:"main",fn:ei,requiresIfExists:["offset"]};function hr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fr(e){return e===H(e)||!Z(e)?Ue(e):hr(e)}function ti(e){var t=e.getBoundingClientRect(),r=Le(t.width)/e.offsetWidth||1,o=Le(t.height)/e.offsetHeight||1;return r!==1||o!==1}function gr(e,t,r){r===void 0&&(r=!1);var o=Z(t),a=Z(t)&&ti(t),i=ae(t),s=ue(e,a,r),d={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(o||!o&&!r)&&((ee(t)!=="body"||Ge(i))&&(d=fr(t)),Z(t)?(l=ue(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):i&&(l.x=We(i))),{x:s.left+d.scrollLeft-l.x,y:s.top+d.scrollTop-l.y,width:s.width,height:s.height}}function ri(e){var t=new Map,r=new Set,o=[];e.forEach(function(i){t.set(i.name,i)});function a(i){r.add(i.name);var s=[].concat(i.requires||[],i.requiresIfExists||[]);s.forEach(function(d){if(!r.has(d)){var l=t.get(d);l&&a(l)}}),o.push(i)}return e.forEach(function(i){r.has(i.name)||a(i)}),o}function br(e){var t=ri(e);return _o.reduce(function(r,o){return r.concat(t.filter(function(a){return a.phase===o}))},[])}function vr(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function yr(e){var t=e.reduce(function(r,o){var a=r[o.name];return r[o.name]=a?Object.assign({},a,o,{options:Object.assign({},a.options,o.options),data:Object.assign({},a.data,o.data)}):o,r},{});return Object.keys(t).map(function(r){return t[r]})}var No={placement:"bottom",modifiers:[],strategy:"absolute"};function zo(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(o){return!(o&&typeof o.getBoundingClientRect=="function")})}function Po(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,o=r===void 0?[]:r,a=t.defaultOptions,i=a===void 0?No:a;return function(d,l,m){m===void 0&&(m=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},No,i),modifiersData:{},elements:{reference:d,popper:l},attributes:{},styles:{}},v=[],y=!1,f={state:c,setOptions:function(L){var T=typeof L=="function"?L(c.options):L;w(),c.options=Object.assign({},i,c.options,T),c.scrollParents={reference:me(d)?Be(d):d.contextElement?Be(d.contextElement):[],popper:Be(l)};var B=br(yr([].concat(o,c.options.modifiers)));return c.orderedModifiers=B.filter(function(n){return n.enabled}),E(),f.update()},forceUpdate:function(){if(!y){var L=c.elements,T=L.reference,B=L.popper;if(zo(T,B)){c.rects={reference:gr(T,ve(B),c.options.strategy==="fixed"),popper:He(B)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach(function(M){return c.modifiersData[M.name]=Object.assign({},M.data)});for(var n=0;n<c.orderedModifiers.length;n++){if(c.reset===!0){c.reset=!1,n=-1;continue}var b=c.orderedModifiers[n],h=b.fn,A=b.options,S=A===void 0?{}:A,C=b.name;typeof h=="function"&&(c=h({state:c,options:S,name:C,instance:f})||c)}}}},update:vr(function(){return new Promise(function(k){f.forceUpdate(),k(c)})}),destroy:function(){w(),y=!0}};if(!zo(d,l))return f;f.setOptions(m).then(function(k){!y&&m.onFirstUpdate&&m.onFirstUpdate(k)});function E(){c.orderedModifiers.forEach(function(k){var L=k.name,T=k.options,B=T===void 0?{}:T,n=k.effect;if(typeof n=="function"){var b=n({state:c,name:L,instance:f,options:B}),h=function(){};v.push(b||h)}})}function w(){v.forEach(function(k){return k()}),v=[]}return f}}var oi=[Oo,Bo,Do,ut,Mo,Ao,Io,So,Co],xr=Po({defaultModifiers:oi});var ai="tippy-box",Xo="tippy-content",ii="tippy-backdrop",Yo="tippy-arrow",Ko="tippy-svg-arrow",Xe={passive:!0,capture:!0},Jo=function(){return document.body};function _r(e,t,r){if(Array.isArray(e)){var o=e[t];return o==null?Array.isArray(r)?r[t]:r:o}return e}function Or(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function Zo(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Ro(e,t){if(t===0)return e;var r;return function(o){clearTimeout(r),r=setTimeout(function(){e(o)},t)}}function ni(e){return e.split(/\s+/).filter(Boolean)}function it(e){return[].concat(e)}function Vo(e,t){e.indexOf(t)===-1&&e.push(t)}function si(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function li(e){return e.split("-")[0]}function $t(e){return[].slice.call(e)}function qo(e){return Object.keys(e).reduce(function(t,r){return e[r]!==void 0&&(t[r]=e[r]),t},{})}function xt(){return document.createElement("div")}function Ft(e){return["Element","Fragment"].some(function(t){return Or(e,t)})}function di(e){return Or(e,"NodeList")}function ci(e){return Or(e,"MouseEvent")}function pi(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function mi(e){return Ft(e)?[e]:di(e)?$t(e):Array.isArray(e)?e:$t(document.querySelectorAll(e))}function wr(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function Ho(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function ui(e){var t,r=it(e),o=r[0];return o!=null&&(t=o.ownerDocument)!=null&&t.body?o.ownerDocument:document}function hi(e,t){var r=t.clientX,o=t.clientY;return e.every(function(a){var i=a.popperRect,s=a.popperState,d=a.props,l=d.interactiveBorder,m=li(s.placement),c=s.modifiersData.offset;if(!c)return!0;var v=m==="bottom"?c.top.y:0,y=m==="top"?c.bottom.y:0,f=m==="right"?c.left.x:0,E=m==="left"?c.right.x:0,w=i.top-o+v>l,k=o-i.bottom-y>l,L=i.left-r+f>l,T=r-i.right-E>l;return w||k||L||T})}function kr(e,t,r){var o=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(a){e[o](a,r)})}function $o(e,t){for(var r=t;r;){var o;if(e.contains(r))return!0;r=r.getRootNode==null||(o=r.getRootNode())==null?void 0:o.host}return!1}var Se={isTouch:!1},Fo=0;function fi(){Se.isTouch||(Se.isTouch=!0,window.performance&&document.addEventListener("mousemove",Qo))}function Qo(){var e=performance.now();e-Fo<20&&(Se.isTouch=!1,document.removeEventListener("mousemove",Qo)),Fo=e}function gi(){var e=document.activeElement;if(pi(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function bi(){document.addEventListener("touchstart",fi,Xe),window.addEventListener("blur",gi)}var vi=typeof window!="undefined"&&typeof document!="undefined",yi=vi?!!window.msCrypto:!1;var xi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},_i={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},xe=Object.assign({appendTo:Jo,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},xi,_i),wi=Object.keys(xe),ki=function(t){var r=Object.keys(t);r.forEach(function(o){xe[o]=t[o]})};function ea(e){var t=e.plugins||[],r=t.reduce(function(o,a){var i=a.name,s=a.defaultValue;if(i){var d;o[i]=e[i]!==void 0?e[i]:(d=xe[i])!=null?d:s}return o},{});return Object.assign({},e,r)}function Si(e,t){var r=t?Object.keys(ea(Object.assign({},xe,{plugins:t}))):wi,o=r.reduce(function(a,i){var s=(e.getAttribute("data-tippy-"+i)||"").trim();if(!s)return a;if(i==="content")a[i]=s;else try{a[i]=JSON.parse(s)}catch(d){a[i]=s}return a},{});return o}function Uo(e,t){var r=Object.assign({},t,{content:Zo(t.content,[e])},t.ignoreAttributes?{}:Si(e,t.plugins));return r.aria=Object.assign({},xe.aria,r.aria),r.aria={expanded:r.aria.expanded==="auto"?t.interactive:r.aria.expanded,content:r.aria.content==="auto"?t.interactive?null:"describedby":r.aria.content},r}var Ei=function(){return"innerHTML"};function Er(e,t){e[Ei()]=t}function Wo(e){var t=xt();return e===!0?t.className=Yo:(t.className=Ko,Ft(e)?t.appendChild(e):Er(t,e)),t}function Go(e,t){Ft(t.content)?(Er(e,""),e.appendChild(t.content)):typeof t.content!="function"&&(t.allowHTML?Er(e,t.content):e.textContent=t.content)}function Dr(e){var t=e.firstElementChild,r=$t(t.children);return{box:t,content:r.find(function(o){return o.classList.contains(Xo)}),arrow:r.find(function(o){return o.classList.contains(Yo)||o.classList.contains(Ko)}),backdrop:r.find(function(o){return o.classList.contains(ii)})}}function ta(e){var t=xt(),r=xt();r.className=ai,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var o=xt();o.className=Xo,o.setAttribute("data-state","hidden"),Go(o,e.props),t.appendChild(r),r.appendChild(o),a(e.props,e.props);function a(i,s){var d=Dr(t),l=d.box,m=d.content,c=d.arrow;s.theme?l.setAttribute("data-theme",s.theme):l.removeAttribute("data-theme"),typeof s.animation=="string"?l.setAttribute("data-animation",s.animation):l.removeAttribute("data-animation"),s.inertia?l.setAttribute("data-inertia",""):l.removeAttribute("data-inertia"),l.style.maxWidth=typeof s.maxWidth=="number"?s.maxWidth+"px":s.maxWidth,s.role?l.setAttribute("role",s.role):l.removeAttribute("role"),(i.content!==s.content||i.allowHTML!==s.allowHTML)&&Go(m,e.props),s.arrow?c?i.arrow!==s.arrow&&(l.removeChild(c),l.appendChild(Wo(s.arrow))):l.appendChild(Wo(s.arrow)):c&&l.removeChild(c)}return{popper:t,onUpdate:a}}ta.$$tippy=!0;var Di=1,Ht=[],Sr=[];function Oi(e,t){var r=Uo(e,Object.assign({},xe,ea(qo(t)))),o,a,i,s=!1,d=!1,l=!1,m=!1,c,v,y,f=[],E=Ro(Dt,r.interactiveDebounce),w,k=Di++,L=null,T=si(r.plugins),B={isEnabled:!0,isVisible:!1,isDestroyed:!1,isMounted:!1,isShown:!1},n={id:k,reference:e,popper:xt(),popperInstance:L,props:r,state:B,plugins:T,clearDelayTimeouts:jt,setProps:Ct,setContent:Mt,show:ba,hide:va,hideWithInteractivity:ya,enable:mt,disable:Tt,unmount:xa,destroy:_a};if(!r.render)return n;var b=r.render(n),h=b.popper,A=b.onUpdate;h.setAttribute("data-tippy-root",""),h.id="tippy-"+n.id,n.popper=h,e._tippy=n,h._tippy=n;var S=T.map(function(p){return p.fn(n)}),C=e.hasAttribute("aria-expanded");return Je(),u(),X(),U("onCreate",[n]),r.showOnCreate&&pt(),h.addEventListener("mouseenter",function(){n.props.interactive&&n.state.isVisible&&n.clearDelayTimeouts()}),h.addEventListener("mouseleave",function(){n.props.interactive&&n.props.trigger.indexOf("mouseenter")>=0&&re().addEventListener("mousemove",E)}),n;function M(){var p=n.props.touch;return Array.isArray(p)?p:[p,0]}function z(){return M()[0]==="hold"}function P(){var p;return!!((p=n.props.render)!=null&&p.$$tippy)}function V(){return w||e}function re(){var p=V().parentNode;return p?ui(p):document}function oe(){return Dr(h)}function F(p){return n.state.isMounted&&!n.state.isVisible||Se.isTouch||c&&c.type==="focus"?0:_r(n.props.delay,p?0:1,xe.delay)}function X(p){p===void 0&&(p=!1),h.style.pointerEvents=n.props.interactive&&!p?"":"none",h.style.zIndex=""+n.props.zIndex}function U(p,_,O){if(O===void 0&&(O=!0),S.forEach(function(I){I[p]&&I[p].apply(I,_)}),O){var R;(R=n.props)[p].apply(R,_)}}function Q(){var p=n.props.aria;if(p.content){var _="aria-"+p.content,O=h.id,R=it(n.props.triggerTarget||e);R.forEach(function(I){var ne=I.getAttribute(_);if(n.state.isVisible)I.setAttribute(_,ne?ne+" "+O:O);else{var pe=ne&&ne.replace(O,"").trim();pe?I.setAttribute(_,pe):I.removeAttribute(_)}})}}function u(){if(!(C||!n.props.aria.expanded)){var p=it(n.props.triggerTarget||e);p.forEach(function(_){n.props.interactive?_.setAttribute("aria-expanded",n.state.isVisible&&_===V()?"true":"false"):_.removeAttribute("aria-expanded")})}}function g(){re().removeEventListener("mousemove",E),Ht=Ht.filter(function(p){return p!==E})}function x(p){if(!(Se.isTouch&&(l||p.type==="mousedown"))){var _=p.composedPath&&p.composedPath()[0]||p.target;if(!(n.props.interactive&&$o(h,_))){if(it(n.props.triggerTarget||e).some(function(O){return $o(O,_)})){if(Se.isTouch||n.state.isVisible&&n.props.trigger.indexOf("click")>=0)return}else U("onClickOutside",[n,p]);n.props.hideOnClick===!0&&(n.clearDelayTimeouts(),n.hide(),d=!0,setTimeout(function(){d=!1}),n.state.isMounted||Y())}}}function D(){l=!0}function N(){l=!1}function W(){var p=re();p.addEventListener("mousedown",x,!0),p.addEventListener("touchend",x,Xe),p.addEventListener("touchstart",N,Xe),p.addEventListener("touchmove",D,Xe)}function Y(){var p=re();p.removeEventListener("mousedown",x,!0),p.removeEventListener("touchend",x,Xe),p.removeEventListener("touchstart",N,Xe),p.removeEventListener("touchmove",D,Xe)}function Te(p,_){Ke(p,function(){!n.state.isVisible&&h.parentNode&&h.parentNode.contains(h)&&_()})}function Ee(p,_){Ke(p,_)}function Ke(p,_){var O=oe().box;function R(I){I.target===O&&(kr(O,"remove",R),_())}if(p===0)return _();kr(O,"remove",v),kr(O,"add",R),v=R}function je(p,_,O){O===void 0&&(O=!1);var R=it(n.props.triggerTarget||e);R.forEach(function(I){I.addEventListener(p,_,O),f.push({node:I,eventType:p,handler:_,options:O})})}function Je(){z()&&(je("touchstart",lt,{passive:!0}),je("touchend",Ot,{passive:!0})),ni(n.props.trigger).forEach(function(p){if(p!=="manual")switch(je(p,lt),p){case"mouseenter":je("mouseleave",Ot);break;case"focus":je(yi?"focusout":"blur",dt);break;case"focusin":je("focusout",dt);break}})}function Et(){f.forEach(function(p){var _=p.node,O=p.eventType,R=p.handler,I=p.options;_.removeEventListener(O,R,I)}),f=[]}function lt(p){var _,O=!1;if(!(!n.state.isEnabled||ct(p)||d)){var R=((_=c)==null?void 0:_.type)==="focus";c=p,w=p.currentTarget,u(),!n.state.isVisible&&ci(p)&&Ht.forEach(function(I){return I(p)}),p.type==="click"&&(n.props.trigger.indexOf("mouseenter")<0||s)&&n.props.hideOnClick!==!1&&n.state.isVisible?O=!0:pt(p),p.type==="click"&&(s=!O),O&&!R&&Pe(p)}}function Dt(p){var _=p.target,O=V().contains(_)||h.contains(_);if(!(p.type==="mousemove"&&O)){var R=Ce().concat(h).map(function(I){var ne,pe=I._tippy,Ze=(ne=pe.popperInstance)==null?void 0:ne.state;return Ze?{popperRect:I.getBoundingClientRect(),popperState:Ze,props:r}:null}).filter(Boolean);hi(R,p)&&(g(),Pe(p))}}function Ot(p){var _=ct(p)||n.props.trigger.indexOf("click")>=0&&s;if(!_){if(n.props.interactive){n.hideWithInteractivity(p);return}Pe(p)}}function dt(p){n.props.trigger.indexOf("focusin")<0&&p.target!==V()||n.props.interactive&&p.relatedTarget&&h.contains(p.relatedTarget)||Pe(p)}function ct(p){return Se.isTouch?z()!==p.type.indexOf("touch")>=0:!1}function Lt(){At();var p=n.props,_=p.popperOptions,O=p.placement,R=p.offset,I=p.getReferenceClientRect,ne=p.moveTransition,pe=P()?Dr(h).arrow:null,Ze=I?{getBoundingClientRect:I,contextElement:I.contextElement||V()}:e,fo={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Bt){var Qe=Bt.state;if(P()){var wa=oe(),ir=wa.box;["placement","reference-hidden","escaped"].forEach(function(It){It==="placement"?ir.setAttribute("data-placement",Qe.placement):Qe.attributes.popper["data-popper-"+It]?ir.setAttribute("data-"+It,""):ir.removeAttribute("data-"+It)}),Qe.attributes.popper={}}}},Re=[{name:"offset",options:{offset:R}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5}},{name:"computeStyles",options:{adaptive:!ne}},fo];P()&&pe&&Re.push({name:"arrow",options:{element:pe,padding:3}}),Re.push.apply(Re,(_==null?void 0:_.modifiers)||[]),n.popperInstance=xr(Ze,h,Object.assign({},_,{placement:O,onFirstUpdate:y,modifiers:Re}))}function At(){n.popperInstance&&(n.popperInstance.destroy(),n.popperInstance=null)}function De(){var p=n.props.appendTo,_,O=V();n.props.interactive&&p===Jo||p==="parent"?_=O.parentNode:_=Zo(p,[O]),_.contains(h)||_.appendChild(h),n.state.isMounted=!0,Lt()}function Ce(){return $t(h.querySelectorAll("[data-tippy-root]"))}function pt(p){n.clearDelayTimeouts(),p&&U("onTrigger",[n,p]),W();var _=F(!0),O=M(),R=O[0],I=O[1];Se.isTouch&&R==="hold"&&I&&(_=I),_?o=setTimeout(function(){n.show()},_):n.show()}function Pe(p){if(n.clearDelayTimeouts(),U("onUntrigger",[n,p]),!n.state.isVisible){Y();return}if(!(n.props.trigger.indexOf("mouseenter")>=0&&n.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(p.type)>=0&&s)){var _=F(!1);_?a=setTimeout(function(){n.state.isVisible&&n.hide()},_):i=requestAnimationFrame(function(){n.hide()})}}function mt(){n.state.isEnabled=!0}function Tt(){n.hide(),n.state.isEnabled=!1}function jt(){clearTimeout(o),clearTimeout(a),cancelAnimationFrame(i)}function Ct(p){if(!n.state.isDestroyed){U("onBeforeUpdate",[n,p]),Et();var _=n.props,O=Uo(e,Object.assign({},_,qo(p),{ignoreAttributes:!0}));n.props=O,Je(),_.interactiveDebounce!==O.interactiveDebounce&&(g(),E=Ro(Dt,O.interactiveDebounce)),_.triggerTarget&&!O.triggerTarget?it(_.triggerTarget).forEach(function(R){R.removeAttribute("aria-expanded")}):O.triggerTarget&&e.removeAttribute("aria-expanded"),u(),X(),A&&A(_,O),n.popperInstance&&(Lt(),Ce().forEach(function(R){requestAnimationFrame(R._tippy.popperInstance.forceUpdate)})),U("onAfterUpdate",[n,p])}}function Mt(p){n.setProps({content:p})}function ba(){var p=n.state.isVisible,_=n.state.isDestroyed,O=!n.state.isEnabled,R=Se.isTouch&&!n.props.touch,I=_r(n.props.duration,0,xe.duration);if(!(p||_||O||R)&&!V().hasAttribute("disabled")&&(U("onShow",[n],!1),n.props.onShow(n)!==!1)){if(n.state.isVisible=!0,P()&&(h.style.visibility="visible"),X(),W(),n.state.isMounted||(h.style.transition="none"),P()){var ne=oe(),pe=ne.box,Ze=ne.content;wr([pe,Ze],0)}y=function(){var Re;if(!(!n.state.isVisible||m)){if(m=!0,h.offsetHeight,h.style.transition=n.props.moveTransition,P()&&n.props.animation){var ar=oe(),Bt=ar.box,Qe=ar.content;wr([Bt,Qe],I),Ho([Bt,Qe],"visible")}Q(),u(),Vo(Sr,n),(Re=n.popperInstance)==null||Re.forceUpdate(),U("onMount",[n]),n.props.animation&&P()&&Ee(I,function(){n.state.isShown=!0,U("onShown",[n])})}},De()}}function va(){var p=!n.state.isVisible,_=n.state.isDestroyed,O=!n.state.isEnabled,R=_r(n.props.duration,1,xe.duration);if(!(p||_||O)&&(U("onHide",[n],!1),n.props.onHide(n)!==!1)){if(n.state.isVisible=!1,n.state.isShown=!1,m=!1,s=!1,P()&&(h.style.visibility="hidden"),g(),Y(),X(!0),P()){var I=oe(),ne=I.box,pe=I.content;n.props.animation&&(wr([ne,pe],R),Ho([ne,pe],"hidden"))}Q(),u(),n.props.animation?P()&&Te(R,n.unmount):n.unmount()}}function ya(p){re().addEventListener("mousemove",E),Vo(Ht,E),E(p)}function xa(){n.state.isVisible&&n.hide(),n.state.isMounted&&(At(),Ce().forEach(function(p){p._tippy.unmount()}),h.parentNode&&h.parentNode.removeChild(h),Sr=Sr.filter(function(p){return p!==n}),n.state.isMounted=!1,U("onHidden",[n]))}function _a(){n.state.isDestroyed||(n.clearDelayTimeouts(),n.unmount(),Et(),delete e._tippy,n.state.isDestroyed=!0,U("onDestroy",[n]))}}function _t(e,t){t===void 0&&(t={});var r=xe.plugins.concat(t.plugins||[]);bi();var o=Object.assign({},t,{plugins:r}),a=mi(e);if(0)var i,s;var d=a.reduce(function(l,m){var c=m&&Oi(m,o);return c&&l.push(c),l},[]);return Ft(e)?d[0]:d}_t.defaultProps=xe;_t.setDefaultProps=ki;_t.currentInput=Se;var hp=Object.assign({},ut,{effect:function(t){var r=t.state,o={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,o.popper),r.styles=o,r.elements.arrow&&Object.assign(r.elements.arrow.style,o.arrow)}});_t.setDefaultProps({render:ta});var ra=_t;var Ut={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};var Lr={};j(Lr,{default:()=>Ai});var Ai={};var Ar={};j(Ar,{default:()=>ji});var ji={};var Tr={};j(Tr,{default:()=>Mi});var Mi={};var jr={};j(jr,{default:()=>Ii});var Ii={};var Cr={};j(Cr,{default:()=>zi});var zi={};var Mr={};j(Mr,{default:()=>Ri});var Ri={};function Wt(){let e=getComputedStyle(document.body).fontSize;return e=e===""?-1:e,parseFloat(e)}function Vi(e,t){let r=e.min,o=e.max;Wt()>0&&Wt()!==16&&(r=r/16*Wt(),o=o/16*Wt());let i=r||0,s=o||Number.POSITIVE_INFINITY;return i<=t&&t<=s}function qi(e){let t={};e=e||window.innerWidth;let r;for(r in Ut)t[r]=Vi(Ut[r],e);return t}var Gt="mobile",Hi="tablet",$i="desktop";function Br(e){let t=!1,r=qi();return(e===Gt&&r.bpXS||e===Hi&&r.bpSM||e===$i&&(r.bpMED||r.bpLG||r.bpXL))&&(t=!0),t}var fe="data-js-hook",Xt="behavior_",Ir="state_";function ie(){let e={};function t(a,i){return{}.hasOwnProperty.call(e,a)?e[a].push(i):e[a]=[i],this}function r(a,i){if(!{}.hasOwnProperty.call(e,a))return this;let s=e[a].indexOf(i);return s!==-1&&e[a].splice(s,1),this}function o(a,i){if(!{}.hasOwnProperty.call(e,a))return this;i=i||{};let s=e[a];for(let d=0,l=s.length;d<l;d++)s[d].call(this,i);return this}return this.addEventListener=t,this.removeEventListener=r,this.dispatchEvent=o,this.getRegisteredEvents=()=>e,this}function Ye(e,t){if(!e)return!1;let r=e.getAttribute(fe);return r?(r=r.split(" "),r.indexOf(t)>-1):!1}function le(e,t){if(Ye(e,t))return t;if(t.indexOf(" ")!==-1){let o=fe+" values cannot contain spaces!";throw new Error(o)}let r=e.getAttribute(fe);return r!==null&&(t=r+" "+t),e.setAttribute(fe,t),t}var Nr=Ir+"atomic_init";function Fi(e,t){if(!e||!e.classList){let r=e+' is not valid. Check that element is a DOM node with class "'+t+'"';throw new Error(r)}return e}function Ui(e,t){let r=e.classList.contains(t)?e:e.querySelector("."+t);if(!r){let o=t+" not found on or in passed DOM node.";throw new Error(o)}return r}function _e(e,t){return Fi(e,t),Ui(e,t)}function ge(e){return Ye(e,Nr)?!1:(le(e,Nr),!0)}function de(e,t,r,o={}){let i=(r||document).querySelectorAll(e),s=[],d,l;for(let m=0,c=i.length;m<c;m++)l=i[m],Ye(l,Nr)===!1&&(d=new t(l),d.init(o),s.push(d));return s}function Yt(e,t){let r;if(Ye(e,t))return r=e,r;if(e){let o="["+fe+"="+t+"]";r=e.querySelector(o)}if(!r){let o=t+" behavior not found on passed DOM node!";throw new Error(o)}return r}var Wi=Object.prototype.toString;var Gi=Array.isArray||function(t){return Wi.call(t)==="[object Array]"};function zr(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var wt=Xt+"flyout-menu",Xi="["+fe+"="+wt;function Ie(e,t=!0){let r=Yt(e,wt),o=T(e),a=Yt(e,wt+"_content"),i=0,s=0,d=1,l=2,m=3,c,v,y,f=P.bind(this),E=z.bind(this),w,k=!0,L=!1;function T(u){let g=[],x=u.querySelectorAll(`${Xi}_trigger]`),D,N,W;for(let Y=x.length>>>0;Y--;){for(W=!1,D=x[Y],N=D.parentElement;N!==u;)N.getAttribute(fe)&&N.getAttribute(fe).split(" ").indexOf(wt)!==-1?(W=!0,N=u):N=N.parentElement;W||g.unshift(x[Y])}return g}function B(u=!1){return i=u?m:s,o.forEach(g=>{n("expanded",g,u),g.addEventListener("click",S.bind(this)),g.addEventListener("touchstart",b,{passive:!0}),g.addEventListener("mouseover",h.bind(this)),g.addEventListener("mouseout",A.bind(this))}),a.setAttribute("data-open",u?"true":"false"),t&&!u&&a.setAttribute("hidden",""),F(),this}function n(u,g,x){let D=String(x);return g.setAttribute("aria-"+u,D),D}function b(){L=!0}function h(u){k||(L||this.dispatchEvent("triggerover",{target:this,trigger:u.target,type:"triggerover"}),L=!1)}function A(u){k||this.dispatchEvent("triggerout",{target:this,trigger:u.target,type:"triggerout"})}function S(u){if(!k)switch(this.dispatchEvent("triggerclick",{target:this,trigger:u.target,type:"triggerclick"}),u.preventDefault(),i){case s:case d:this.expand();break;case l:case m:this.collapse();break}}function C(){if(c==null||c.halt(),i===l||i===m)return this;if(i=l,t&&a.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!v||!y)return E(),this;let u=c==null?void 0:c.isAnimated();return u&&c.addEventListener(q.END_EVENT,E),v(),u||E(),this}function M(){if(c==null||c.halt(),i===d||i===s)return this;for(let g=0,x=o.length;g<x;g++)n("expanded",o[g],!1);if(a.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!v)return f(),this;let u=c==null?void 0:c.isAnimated();return u&&c.addEventListener(q.END_EVENT,f),y(),u||f(),this}function z(){i=m,a.setAttribute("data-open","true"),c&&c.removeEventListener(q.END_EVENT,E),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let u=0,g=o.length;u<g;u++)n("expanded",o[u],!0)}function P(){i=s,t&&a.setAttribute("hidden",""),c&&c.removeEventListener(q.END_EVENT,f),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function V(u,g,x){c=u,g&&g!==y&&(y=g),x&&x!==v&&(v=x)}function re(){c&&c.remove();let u;c=u,v=u,y=u}function oe(){return{container:r,content:a,trigger:o}}function F(){return k&&(k=!1),!k}function X(){return k||(k=!0),k}function U(u){return w=u,this}let Q=new ie;return this.addEventListener=Q.addEventListener,this.removeEventListener=Q.removeEventListener,this.dispatchEvent=Q.dispatchEvent,this.init=B,this.expand=C,this.collapse=M,this.setTransition=V,this.clearTransition=re,this.getData=()=>w,this.getTransition=()=>c,this.getDom=oe,this.isAnimating=()=>i===l||i===d,this.isExpanded=()=>i===m,this.resume=F,this.setData=U,this.suspend=X,Ie.BASE_CLASS=wt,this}var Kt={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function oa(e){let t=new ie,r=new q(e,Kt,this);function o(s){return r.init(s),this}function a(){return r.applyClass(Kt.ALPHA_100),this}function i(){return r.applyClass(Kt.ALPHA_0),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=r.animateOff,this.animateOn=r.animateOn,this.halt=r.halt,this.isAnimated=r.isAnimated,this.remove=r.remove,this.setElement=r.setElement,this.fadeIn=a,this.fadeOut=i,this.init=o,this}oa.CLASSES=Kt;function q(e,t,r){let o=t,a=e;if(!r)throw new Error("Child transition argument must be defined!");let i=r,s,d,l,m=!1,c=!1,v=!1;if(typeof o.CSS_PROPERTY=="undefined"||typeof o.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&m?(a.addEventListener(d,l),i.dispatchEvent(q.BEGIN_EVENT,{target:i,type:q.BEGIN_EVENT}),a.classList.add(q.ANIMATING_CLASS),c=!0):(i.dispatchEvent(q.BEGIN_EVENT,{target:i,type:q.BEGIN_EVENT}),l())}function f(){a.removeEventListener(d,l)}function E(S){return S&&S.propertyName!==o.CSS_PROPERTY?!1:(f(),a.classList.remove(q.ANIMATING_CLASS),i.dispatchEvent(q.END_EVENT,{target:i,type:q.END_EVENT}),c=!1,!0)}function w(){let S;for(S in o)({}).hasOwnProperty.call(o,S)&&o[S]!==o.BASE_CLASS&&a.classList.contains(o[S])&&a.classList.remove(o[S])}function k(){c&&(a.style.webkitTransitionDuration="0",a.style.mozTransitionDuration="0",a.style.oTransitionDuration="0",a.style.transitionDuration="0",a.removeEventListener(d,l),l(),a.style.webkitTransitionDuration="",a.style.mozTransitionDuration="",a.style.oTransitionDuration="",a.style.transitionDuration="")}function L(){k(),w(),a.classList.remove(o.BASE_CLASS)}function T(){a.classList.remove(q.NO_ANIMATION_CLASS),m=!0}function B(){a.classList.add(q.NO_ANIMATION_CLASS),m=!1}function n(S){if(!S){let P="Element does not have TransitionEnd event. It may be null!";throw new Error(P)}let C,M={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},z;for(z in M)if({}.hasOwnProperty.call(M,z)&&typeof S.style[z]!="undefined"){C=M[z];break}return C}function b(S){L(),T(),a=S,a.classList.add(o.BASE_CLASS),d=n(a)}function h(S){if(m=!a.classList.contains(q.NO_ANIMATION_CLASS),l=E.bind(this),b(a),!S)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return a.classList.add(S),this}function A(S){return v||(w(),v=!0),a.classList.contains(S)?!1:(f(),a.classList.remove(s),s=S,y(),a.classList.add(s),!0)}return this.animateOff=B,this.animateOn=T,this.applyClass=A,this.halt=k,this.init=h,this.isAnimated=()=>m,this.remove=L,this.setElement=b,this}q.BEGIN_EVENT="transitionbegin";q.END_EVENT="transitionend";q.NO_ANIMATION_CLASS="u-no-animation";q.ANIMATING_CLASS="u-is-animating";var kt={CSS_PROPERTY:"max-height",BASE_CLASS:"u-max-height-transition",MH_DEFAULT:"u-max-height-default",MH_SUMMARY:"u-max-height-summary",MH_ZERO:"u-max-height-zero"};function ce(e){let t=new ie,r=new q(e,kt,this),o=0;function a(){let y=e.scrollHeight+"px";e.style.maxHeight=y}function i(){window.removeEventListener("load",i),a()}function s(v){return r.init(v),window.addEventListener("load",i),window.addEventListener("resize",()=>{a()}),this}function d(){return a(),r.applyClass(kt.MH_DEFAULT),(!o||e.scrollHeight>o)&&(o=e.scrollHeight),this}function l(){return r.applyClass(kt.MH_SUMMARY),o=e.scrollHeight,this}function m(){return r.applyClass(kt.MH_ZERO),o=e.scrollHeight,this}function c(){return e.style.maxHeight="",r.remove()}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=r.animateOff,this.animateOn=r.animateOn,this.halt=r.halt,this.isAnimated=r.isAnimated,this.setElement=r.setElement,this.refresh=a,this.remove=c,this.init=s,this.maxHeightDefault=d,this.maxHeightSummary=l,this.maxHeightZero=m,this}ce.CLASSES=kt;var Ne={CSS_PROPERTY:"transform",BASE_CLASS:"u-move-transition",MOVE_TO_ORIGIN:"u-move-to-origin",MOVE_LEFT:"u-move-left",MOVE_LEFT_2X:"u-move-left-2x",MOVE_LEFT_3X:"u-move-left-3x",MOVE_RIGHT:"u-move-right",MOVE_UP:"u-move-up"};function aa(e){let t=new ie,r=new q(e,Ne,this);function o(l){return r.init(l),this}function a(){return r.applyClass(Ne.MOVE_TO_ORIGIN),this}function i(l){l=l||1;let m=[Ne.MOVE_LEFT,Ne.MOVE_LEFT_2X,Ne.MOVE_LEFT_3X];return r.applyClass(m[l-1]),this}function s(){return r.applyClass(Ne.MOVE_RIGHT),this}function d(){return r.applyClass(Ne.MOVE_UP),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=r.animateOff,this.animateOn=r.animateOn,this.halt=r.halt,this.isAnimated=r.isAnimated,this.setElement=r.setElement,this.remove=r.remove,this.init=o,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=s,this.moveToOrigin=a,this.moveUp=d,this}aa.CLASSES=Ne;var nt="o-expandable";function ze(e){let t=_e(e,nt),r,o,a,i,s;function d(){if(!ge(t))return this;r=t.querySelector(`.${nt}__header`),o=t.querySelector(`.${nt}__content`),a=t.querySelector(`.${nt}__label`);let c=t.classList.contains(`${nt}--onload-open`);le(t,"behavior_flyout-menu"),le(r,"behavior_flyout-menu_trigger"),le(o,"behavior_flyout-menu_content");let v=c?ce.CLASSES.MH_DEFAULT:ce.CLASSES.MH_ZERO;return i=new ce(o).init(v),s=new Ie(t),s.setTransition(i,i.maxHeightZero,i.maxHeightDefault),s.init(c),s.addEventListener("expandbegin",()=>{o.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),s.addEventListener("collapseend",()=>{o.classList.add("u-hidden")}),this}function l(){return a.textContent.trim()}this.init=d,this.expand=()=>s.expand(),this.collapse=()=>s.collapse(),this.isExpanded=()=>s.isExpanded(),this.refresh=()=>s.getTransition().refresh(),this.getLabelText=l;let m=new ie;return this.addEventListener=m.addEventListener,this.removeEventListener=m.removeEventListener,this.dispatchEvent=m.dispatchEvent,this}ze.BASE_CLASS=nt;ze.init=e=>de(`.${ze.BASE_CLASS}`,ze,e);var Jt="o-expandable-group";function Zt(e){let t=_e(e,Jt),r=t.classList.contains(`${Jt}--accordion`),o,a;function i(d){let l=d.target;a&&a!==l&&a.collapse(),a=l}function s(d){return ge(t)?(r&&(o=d,o.forEach(l=>{l.addEventListener("expandbegin",i)})),this):this}return this.init=s,this}Zt.BASE_CLASS=Jt;Zt.init=e=>{(e||document).querySelectorAll(`.${Jt}`).forEach(o=>{let a=de(`.${ze.BASE_CLASS}`,ze,o);new Zt(o).init(a)})};var st="o-summary";function Qt(e){let t=_e(e,st),r=t.classList.contains(`${st}--mobile`),o=t.querySelector(`.${st}__content`),a=t.querySelector(`.${st}__btn`),i,s,d;function l(){return ge(t)?(window.addEventListener("load",m),this):this}function m(){window.removeEventListener("load",m),d=!f(),le(t,"behavior_flyout-menu"),le(o,"behavior_flyout-menu_content"),le(a,"behavior_flyout-menu_trigger"),s=new Ie(t,!1),i=new ce(o),i.init(d?ce.CLASSES.MH_SUMMARY:ce.CLASSES.MH_DEFAULT),s.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),s.addEventListener("triggerclick",E),s.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),t.addEventListener("focusin",c),o.addEventListener("click",v)}function c(b){!d&&b.target!==a&&(a.click(),t.removeEventListener("focusin",c))}function v(b){b.target.tagName!=="A"&&s.isExpanded()&&i.refresh()}function y(){f()?B():T()}function f(){return r&&!Br(Gt)||o.scrollHeight<=88}function E(){s.addEventListener("expandend",w)}function w(){L(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),s.removeEventListener("expandend",w),s.suspend(),i.remove()}function k(){a.classList.remove("u-hidden")}function L(){a.classList.add("u-hidden")}function T(){return d&&(s.collapse(),i.animateOn(),k(),d=!1),!d}function B(){return d||(i.animateOff(),s.expand(),L(),d=!0),d}let n=new ie;return this.addEventListener=n.addEventListener,this.removeEventListener=n.removeEventListener,this.dispatchEvent=n.dispatchEvent,this.init=l,this}Qt.BASE_CLASS=st;Qt.init=e=>de(`.${st}`,Qt,e);var St="o-summary-minimal";function er(e){let t=_e(e,St),r=t.querySelector(`.${St}__content`),o=t.querySelector(`.${St}__btn`),a,i;function s(){return ge(t)?(le(t,"behavior_flyout-menu"),le(r,"behavior_flyout-menu_content"),le(o,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new Ie(t,!1),a=new ce(r),a.init(ce.CLASSES.MH_SUMMARY),i.setTransition(a,a.maxHeightSummary,a.maxHeightDefault),i.init(),t.addEventListener("focusin",l),r.addEventListener("click",m),i.collapse(),a.animateOn()}function l(v){v.target!==o&&(o.click(),t.removeEventListener("focusin",l))}function m(v){v.target.tagName!=="A"&&i.isExpanded()&&a.refresh()}let c=new ie;return this.addEventListener=c.addEventListener,this.removeEventListener=c.removeEventListener,this.dispatchEvent=c.dispatchEvent,this.init=s,this}er.BASE_CLASS=St;er.init=e=>de(`.${St}`,er,e);var Pr={};j(Pr,{default:()=>Zi});var Zi={};var Rr={};j(Rr,{default:()=>en});var en={};var Vr={};j(Vr,{default:()=>rn});var rn={};var qr={};j(qr,{default:()=>an});var an={};var Hr={};j(Hr,{default:()=>sn});var sn={};var $r={};j($r,{default:()=>dn});var dn={};var Fr={};j(Fr,{default:()=>pn});var pn={};var Ur={};j(Ur,{default:()=>un});var un={};var Wr={};j(Wr,{default:()=>fn});var fn={};var gn;function bn(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function vn(e,t){return RegExp(bn(t.trim()),"i").test(e)}function yn(e,t,r){let o=e,a=t,i=(r==null?void 0:r.maxSelections)||5,s=[],d=[],l=[],m=[],c=-1;function v(b){return a+"-"+b.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function f(b){let h,A=[],S=!1;for(let C=0,M=b.length;C<M;C++)h=b[C],S=y()?!1:h.defaultSelected,A.push({id:v(h),value:h.value,text:h.text,checked:S}),S&&d.push(C);return A}function E(){return s=f(o),this}function w(b){return s[b].checked=!s[b].checked,d.length<i&&s[b].checked?(d.push(b),d.sort(),!0):(s[b].checked=!1,d=d.filter(function(h){return h!==b}),!1)}function k(b,h,A,S){return vn(h.text,S)&&b.push(A),b}function L(b){return Object.prototype.toString.call(b)!=="[object String]"&&(b=""),m=l,s.length>0&&(l=s.reduce(function(h,A,S){return k(h,A,S,b)},[])),c=-1,l}function T(b){return s[b]}function B(b){let h=l.length,A=h===0?s.length:h;b<0?c=-1:b>=A?c=A-1:c=b}function n(){return c}return this.init=E,this.toggleOption=w,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=L,this.clearFilter=function(){return l=m=[],gn},this.getFilterIndices=function(){return l},this.getLastFilterIndices=function(){return m},this.getIndex=n,this.setIndex=B,this.resetIndex=function(){return c=-1,c},this.getOption=T,this}var la=yn;function we(e,t,r){let o=document.createElement(e);return Object.keys(r).forEach(a=>{let i=r[a];a in o?o[a]=i:o.setAttribute(a,i)}),t&&t.appendChild(o),o}var da='<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" class="cf-icon-svg cf-icon-svg--error" viewBox="0 0 12 19"><path d="M11.383 13.644A1.03 1.03 0 0 1 9.928 15.1L6 11.172 2.072 15.1a1.03 1.03 0 1 1-1.455-1.456l3.928-3.928L.617 5.79a1.03 1.03 0 1 1 1.455-1.456L6 8.261l3.928-3.928a1.03 1.03 0 0 1 1.455 1.456L7.455 9.716z"/></svg>';var Sn=da,ke="o-multiselect",En="a-checkbox",Dn="a-text-input",ca="prev",tr="next",Gr="Enter",On=" ",pa="Escape",Ln="ArrowUp",ma="ArrowDown",ua="Tab",ha={renderTags:!0,maxSelections:5};function rr(e){e.classList.add(ke);let t=_e(e,ke),r=!1,o,a,i,s,d,l,m,c,v,y,f,E=[],w;function k(){f.classList.remove("u-no-results"),f.classList.add("u-filtered");let u=i.getLastFilterIndices();for(let g=0,x=u.length;g<x;g++)E[u[g]].classList.remove("u-filter-match");u=i.getFilterIndices();for(let g=0,x=u.length;g<x;g++)E[u[g]].classList.add("u-filter-match")}function L(){f.classList.remove("u-filtered","u-no-results");for(let u=0,g=f.children.length;u<g;u++)f.children[u].classList.remove("u-filter-match");i.clearFilter()}function T(){f.classList.add("u-no-results"),f.classList.remove("u-filtered")}function B(u){return u.length>0?(k(),!0):(T(),!1)}function n(u){L(),i.resetIndex();let g=i.filterIndices(u);B(g)}function b(){return l.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),w.dispatchEvent("expandbegin",{target:w}),w}function h(){return l.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),w.dispatchEvent("collapsebegin",{target:w}),w}function A(u){u===tr?i.setIndex(i.getIndex()+1):u===ca&&i.setIndex(i.getIndex()-1);let g=i.getIndex();if(g>-1){let x=g,D=i.getFilterIndices();D.length>0&&(x=D[g]);let W=i.getOption(x).value,Te=f.querySelector('[data-option="'+W+'"]').querySelector("input");r=!0,Te.focus()}else r=!1,v.focus()}function S(){v.value="",L()}function C(u){let g=u.target;g.tagName==="BUTTON"&&(u.preventDefault(),g.removeEventListener("click",C),g.querySelector("label").click())}function M(u){if(u.key===On||u.key===Gr){let g=u.target.querySelector("label");f.querySelector("#"+g.getAttribute("for")).click()}}function z(u){return o+"-"+u.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function P(u,g){let x=z(g),D=we("li",null,{"data-option":g.value}),N=we("button",D,{type:"button",class:"a-tag-filter",innerHTML:"<label for="+x+">"+g.text+Sn+"</label>"});u.appendChild(D),N.addEventListener("click",C),N.addEventListener("keydown",M)}function V(u){let g=i.getOption(u)||i.getOption(i.getIndex());if(g){if(g.checked){f.classList.contains("u-max-selections")&&f.classList.remove("u-max-selections");let x='[data-option="'+g.value+'"]',D=m.querySelector(x);typeof D!="undefined"&&D&&(m==null||m.removeChild(D))}else d!=null&&d.renderTags&&m&&P(m,g);i.toggleOption(u),i.isAtMaxSelections()&&f.classList.add("u-max-selections"),w.dispatchEvent("selectionsupdated",{target:w})}i.resetIndex(),r=!1,y.getAttribute("aria-hidden")==="false"&&v.focus()}function re(u){V(Number(u.target.getAttribute("data-index"))),S()}function oe(){c.addEventListener("mousemove",function(x){let D=x.target;x.offsetX>D.offsetWidth-35?D.style.cursor="pointer":D.style.cursor="auto"}),c.addEventListener("mouseup",function(x){let D=x.target;x.offsetX>D.offsetWidth-35&&y.offsetHeight===140&&v.blur()}),v.addEventListener("input",function(){n(this.value)}),v.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&b()}),v.addEventListener("blur",function(){!r&&y.getAttribute("aria-hidden")==="false"&&h()}),v.addEventListener("keydown",function(x){let D=x.key;y.getAttribute("aria-hidden")==="true"&&D!==ua&&b(),D===Gr?(x.preventDefault(),A(tr)):D===pa?(S(),h()):D===ma?A(tr):D===ua&&!x.shiftKey&&y.getAttribute("aria-hidden")==="false"&&h()}),f.addEventListener("mousedown",function(){r=!0}),f.addEventListener("keydown",function(x){let D=x.key,N=x.target,W=N.checked;if(D===Gr){x.preventDefault(),N.checked=!W;let Y=new Event("change",{bubbles:!1,cancelable:!0});N.dispatchEvent(Y)}else D===pa?(v.focus(),h()):D===Ln?A(ca):D===ma&&A(tr)}),y.addEventListener("mousedown",function(x){x.target.tagName==="LABEL"&&(r=!0)});let u=f.querySelectorAll("input");for(let x=0,D=u.length;x<D;x++)u[x].addEventListener("change",re);let g=m.querySelectorAll("button");for(let x=0,D=g.length;x<D;x++)g[x].addEventListener("click",C),g[x].addEventListener("keydown",M)}function F(){l=document.createElement("div"),l.className=ke,m=we("ul",null,{className:"m-tag-group"}),c=we("header",l,{className:ke+"__header"}),v=we("input",c,{className:ke+"__search "+Dn,type:"text",placeholder:a||"Select up to five",id:t.id,autocomplete:"off"}),y=we("fieldset",l,{className:ke+"__fieldset u-invisible","aria-hidden":"true"});let u=ke+"__options";i.isAtMaxSelections()&&(u+=" u-max-selections"),f=we("ul",y,{className:u});let g,x,D;for(let N=0,W=s.length;N<W;N++){g=s[N],x=z(g),D=i.getOption(N).checked;let Y=we("li",f,{"data-option":g.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});we("input",Y,{id:x,type:"checkbox",value:g.value,name:o,class:En+" "+ke+"__checkbox",checked:D,"data-index":N}),we("label",Y,{for:x,textContent:g.text,className:ke+"__label a-label"}),E.push(Y),D&&(d!=null&&d.renderTags)&&P(m,g)}return l.insertBefore(m,c),t.parentNode.insertBefore(l,t),l.appendChild(t),l}function X(u=ha){if(!ge(t))return this;if(zr())return this;if(w=this,o=t.name||t.id,a=t.getAttribute("placeholder"),s=t.options||[],d=nr(nr({},ha),u),s.length>0){i=new la(s,o,d).init();let g=F();t.parentNode.removeChild(t),t=g,ge(t),oe()}return this}function U(){return i}this.init=X,this.expand=b,this.collapse=h;let Q=new ie;return this.addEventListener=Q.addEventListener,this.removeEventListener=Q.removeEventListener,this.dispatchEvent=Q.dispatchEvent,this.getModel=U,this.updateSelections=V,this.selectionClickHandler=C,this.selectionKeyDownHandler=M,this}rr.BASE_CLASS=ke;rr.init=e=>de(`.${ke}`,rr,void 0,e);var Xr={};j(Xr,{default:()=>Tn});var Tn={};var Yr={};j(Yr,{default:()=>Cn});var Cn={};var Kr={};j(Kr,{default:()=>Bn});var Bn={};var Jr={};j(Jr,{default:()=>Nn});var Nn={};var Zr={};j(Zr,{default:()=>Pn});var Pn={};var Qr={};j(Qr,{default:()=>Vn});var Vn={};var eo={};j(eo,{default:()=>Hn});var Hn={};var to={};j(to,{default:()=>Fn});var Fn={};var ro={};j(ro,{default:()=>Wn});var Wn={};var oo={};j(oo,{default:()=>Xn});var Xn={};var ao={};j(ao,{default:()=>Kn});var Kn={};var io={};j(io,{default:()=>Zn});var Zn={};var no={};j(no,{default:()=>es});var es={};var so={};j(so,{default:()=>rs});var rs={};var lo={};j(lo,{default:()=>as});var as={};var co={};j(co,{default:()=>ns});var ns={};var po={};j(po,{default:()=>ls});var ls={};var mo={};j(mo,{default:()=>cs});var cs={};var uo={};j(uo,{default:()=>ms});var ms={};var ho={};j(ho,{default:()=>hs});var hs={};var fa={};j(fa,{default:()=>gs});var gs={};var ga="data-tooltip";function or(e){let t=e.getAttribute(ga);function r(){return this.tooltip=ra(e,{theme:"cfpb",maxWidth:450,content:function(o){let a=o.parentElement.querySelector(`#${t}`),i=document.createElement("div"),s=document.importNode(a.content,!0);return i.appendChild(s),i},plugins:[{name:"hideOnEsc",defaultValue:!0,fn({hide:o}){function a(i){i.key==="Escape"&&o()}return{onShow(){document.body.addEventListener("keydown",a)},onHide(){document.body.removeEventListener("keydown",a)}}}}]})}return this.init=r,this.tooltip=null,this}or.BASE_ATTRIBUTE=ga;or.init=e=>de(`[${or.BASE_ATTRIBUTE}]`,or,e);})();
//# sourceMappingURL=index.js.map
{
"name": "@cfpb/cfpb-design-system",
"version": "3.6.2",
"version": "3.6.3",
"description": "CFPB's UI framework",

@@ -5,0 +5,0 @@ "exports": {

@@ -25,6 +25,6 @@ /* ==========================================================================

* Set up and create the tooltip.
* @returns {Tooltip} An instance.
* @returns {object} An initialized tippy tooltip instance.
*/
function init() {
return tippy(element, {
return (this.tooltip = tippy(element, {
theme: 'cfpb',

@@ -67,3 +67,3 @@ maxWidth: 450,

],
});
}));
}

@@ -73,2 +73,3 @@

this.init = init;
this.tooltip = null;

@@ -75,0 +76,0 @@ return this;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc