@cfpb/cfpb-design-system 3.10.0 → 3.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +94 -51
- package/dist/base/index.css +1 -1
- package/dist/base/index.css.map +2 -2
- package/dist/base/index.js +1 -1
- package/dist/base/index.js.map +1 -1
- package/dist/components/cfpb-buttons/index.css +1 -1
- package/dist/components/cfpb-buttons/index.css.map +2 -2
- package/dist/components/cfpb-buttons/index.js +1 -1
- package/dist/components/cfpb-buttons/index.js.map +1 -1
- package/dist/components/cfpb-expandables/index.css +1 -1
- package/dist/components/cfpb-expandables/index.css.map +2 -2
- package/dist/components/cfpb-expandables/index.js +1 -1
- package/dist/components/cfpb-expandables/index.js.map +1 -1
- package/dist/components/cfpb-forms/index.css +1 -1
- package/dist/components/cfpb-forms/index.css.map +2 -2
- package/dist/components/cfpb-forms/index.js +1 -1
- package/dist/components/cfpb-forms/index.js.map +1 -1
- package/dist/components/cfpb-icons/index.css +1 -1
- package/dist/components/cfpb-icons/index.css.map +2 -2
- package/dist/components/cfpb-icons/index.js +1 -1
- package/dist/components/cfpb-icons/index.js.map +1 -1
- package/dist/components/cfpb-layout/index.css +1 -1
- package/dist/components/cfpb-layout/index.css.map +2 -2
- package/dist/components/cfpb-layout/index.js +1 -1
- package/dist/components/cfpb-layout/index.js.map +1 -1
- package/dist/components/cfpb-notifications/index.css +1 -1
- package/dist/components/cfpb-notifications/index.css.map +2 -2
- package/dist/components/cfpb-notifications/index.js +1 -1
- package/dist/components/cfpb-notifications/index.js.map +1 -1
- package/dist/components/cfpb-pagination/index.css +1 -1
- package/dist/components/cfpb-pagination/index.css.map +2 -2
- package/dist/components/cfpb-pagination/index.js +1 -1
- package/dist/components/cfpb-pagination/index.js.map +1 -1
- package/dist/components/cfpb-tables/index.css +1 -1
- package/dist/components/cfpb-tables/index.css.map +2 -2
- package/dist/components/cfpb-tables/index.js +1 -1
- package/dist/components/cfpb-tables/index.js.map +1 -1
- package/dist/components/cfpb-tooltips/index.css +1 -1
- package/dist/components/cfpb-tooltips/index.css.map +2 -2
- package/dist/components/cfpb-tooltips/index.js +1 -1
- package/dist/components/cfpb-tooltips/index.js.map +1 -1
- package/dist/components/cfpb-typography/index.css +1 -1
- package/dist/components/cfpb-typography/index.css.map +2 -2
- package/dist/components/cfpb-typography/index.js +1 -1
- package/dist/components/cfpb-typography/index.js.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/utilities/index.css +1 -1
- package/dist/utilities/index.css.map +2 -2
- package/dist/utilities/index.js +1 -1
- package/dist/utilities/index.js.map +1 -1
- package/package.json +1 -1
- package/src/abstracts/vars.scss +51 -40
- package/src/components/cfpb-forms/form-alert.scss +8 -6
- package/src/components/cfpb-forms/form-field.scss +76 -156
- package/src/components/cfpb-forms/multiselect.scss +4 -5
- package/src/components/cfpb-forms/select.scss +25 -11
- package/src/components/cfpb-forms/text-input.scss +34 -98
- package/src/utilities/utilities.scss +18 -5
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(()=>{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);})();
|
|
1
|
+
(()=>{var ga=Object.defineProperty;var ma=Object.getOwnPropertySymbols;var ko=Object.prototype.hasOwnProperty,So=Object.prototype.propertyIsEnumerable;var ba=(e,t,r)=>t in e?ga(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,nr=(e,t)=>{for(var r in t||(t={}))ko.call(t,r)&&ba(e,r,t[r]);if(ma)for(var r of ma(t))So.call(t,r)&&ba(e,r,t[r]);return e};var j=(e,t)=>{for(var r in t)ga(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",va="clippingParents",zt="viewport",et="popper",ya="reference",lr=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])},[]),Eo="beforeRead",Do="read",Oo="afterRead",Lo="beforeMain",Ao="main",To="afterMain",jo="beforeWrite",Co="write",Mo="afterWrite",xa=[Eo,Do,Oo,Lo,Ao,To,jo,Co,Mo];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 pe(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 Bo(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var a=t.styles[r]||{},o=t.attributes[r]||{},i=t.elements[r];!Z(i)||!ee(i)||(Object.assign(i.style,a),Object.keys(o).forEach(function(l){var d=o[l];d===!1?i.removeAttribute(l):i.setAttribute(l,d===!0?"":d)}))})}function Io(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(a){var o=t.elements[a],i=t.attributes[a]||{},l=Object.keys(t.styles.hasOwnProperty(a)?t.styles[a]:r[a]),d=l.reduce(function(s,p){return s[p]="",s},{});!Z(o)||!ee(o)||(Object.assign(o.style,d),Object.keys(i).forEach(function(s){o.removeAttribute(s)}))})}}var ft={name:"applyStyles",enabled:!0,phase:"write",fn:Bo,effect:Io,requires:["computeStyles"]};function te(e){return e.split("-")[0]}var ge=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 fe(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var a=e.getBoundingClientRect(),o=1,i=1;t&&Z(e)&&(o=e.offsetWidth>0&&Le(a.width)/e.offsetWidth||1,i=e.offsetHeight>0&&Le(a.height)/e.offsetHeight||1);var l=pe(e)?H(e):window,d=l.visualViewport,s=!ht()&&r,p=(a.left+(s&&d?d.offsetLeft:0))/o,c=(a.top+(s&&d?d.offsetTop:0))/i,v=a.width/o,y=a.height/i;return{width:v,height:y,top:c,right:p+v,bottom:c+y,left:p,x:p,y:c}}function He(e){var t=fe(e),r=e.offsetWidth,a=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-a)<=1&&(a=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:a}}function mt(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&tt(r)){var a=t;do{if(a&&e.isSameNode(a))return!0;a=a.parentNode||a.host}while(a)}return!1}function le(e){return H(e).getComputedStyle(e)}function sr(e){return["table","td","th"].indexOf(ee(e))>=0}function oe(e){return((pe(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)||oe(e)}function wa(e){return!Z(e)||le(e).position==="fixed"?null:e.offsetParent}function No(e){var t=/firefox/i.test(rt()),r=/Trident/i.test(rt());if(r&&Z(e)){var a=le(e);if(a.position==="fixed")return null}var o=Ae(e);for(tt(o)&&(o=o.host);Z(o)&&["html","body"].indexOf(ee(o))<0;){var i=le(o);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 o;o=o.parentNode}return null}function ve(e){for(var t=H(e),r=wa(e);r&&sr(r)&&le(r).position==="static";)r=wa(r);return r&&(ee(r)==="html"||ee(r)==="body"&&le(r).position==="static")?t:r||No(e)||t}function $e(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Fe(e,t,r){return ge(e,qe(t,r))}function _a(e,t,r){var a=Fe(e,t,r);return a>r?r:a}function bt(){return{top:0,right:0,bottom:0,left:0}}function gt(e){return Object.assign({},bt(),e)}function vt(e,t){return t.reduce(function(r,a){return r[a]=e,r},{})}var zo=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,gt(typeof t!="number"?t:vt(t,Me))};function Po(e){var t,r=e.state,a=e.name,o=e.options,i=r.elements.arrow,l=r.modifiersData.popperOffsets,d=te(r.placement),s=$e(d),p=[G,K].indexOf(d)>=0,c=p?"height":"width";if(!(!i||!l)){var v=zo(o.padding,r),y=He(i),m=s==="y"?$:G,E=s==="y"?J:K,_=r.rects.reference[c]+r.rects.reference[s]-l[s]-r.rects.popper[c],k=l[s]-r.rects.reference[s],L=ve(i),T=L?s==="y"?L.clientHeight||0:L.clientWidth||0:0,B=_/2-k/2,n=v[m],g=T-y[c]-v[E],h=T/2-y[c]/2+B,A=Fe(n,h,g),S=s;r.modifiersData[a]=(t={},t[S]=A,t.centerOffset=A-h,t)}}function Ro(e){var t=e.state,r=e.options,a=r.element,o=a===void 0?"[data-popper-arrow]":a;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||mt(t.elements.popper,o)&&(t.elements.arrow=o))}var ka={name:"arrow",enabled:!0,phase:"main",fn:Po,effect:Ro,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function he(e){return e.split("-")[1]}var Vo={top:"auto",right:"auto",bottom:"auto",left:"auto"};function qo(e,t){var r=e.x,a=e.y,o=t.devicePixelRatio||1;return{x:Le(r*o)/o||0,y:Le(a*o)/o||0}}function Sa(e){var t,r=e.popper,a=e.popperRect,o=e.placement,i=e.variation,l=e.offsets,d=e.position,s=e.gpuAcceleration,p=e.adaptive,c=e.roundOffsets,v=e.isFixed,y=l.x,m=y===void 0?0:y,E=l.y,_=E===void 0?0:E,k=typeof c=="function"?c({x:m,y:_}):{x:m,y:_};m=k.x,_=k.y;var L=l.hasOwnProperty("x"),T=l.hasOwnProperty("y"),B=G,n=$,g=window;if(p){var h=ve(r),A="clientHeight",S="clientWidth";if(h===H(r)&&(h=oe(r),le(h).position!=="static"&&d==="absolute"&&(A="scrollHeight",S="scrollWidth")),h=h,o===$||(o===G||o===K)&&i===Ve){n=J;var C=v&&h===g&&g.visualViewport?g.visualViewport.height:h[A];_-=C-a.height,_*=s?1:-1}if(o===G||(o===$||o===J)&&i===Ve){B=K;var M=v&&h===g&&g.visualViewport?g.visualViewport.width:h[S];m-=M-a.width,m*=s?1:-1}}var z=Object.assign({position:d},p&&Vo),P=c===!0?qo({x:m,y:_},H(r)):{x:m,y:_};if(m=P.x,_=P.y,s){var V;return Object.assign({},z,(V={},V[n]=T?"0":"",V[B]=L?"0":"",V.transform=(g.devicePixelRatio||1)<=1?"translate("+m+"px, "+_+"px)":"translate3d("+m+"px, "+_+"px, 0)",V))}return Object.assign({},z,(t={},t[n]=T?_+"px":"",t[B]=L?m+"px":"",t.transform="",t))}function Ho(e){var t=e.state,r=e.options,a=r.gpuAcceleration,o=a===void 0?!0:a,i=r.adaptive,l=i===void 0?!0:i,d=r.roundOffsets,s=d===void 0?!0:d,p={placement:te(t.placement),variation:he(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Sa(Object.assign({},p,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Sa(Object.assign({},p,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Ea={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ho,data:{}};var Rt={passive:!0};function $o(e){var t=e.state,r=e.instance,a=e.options,o=a.scroll,i=o===void 0?!0:o,l=a.resize,d=l===void 0?!0:l,s=H(t.elements.popper),p=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&p.forEach(function(c){c.addEventListener("scroll",r.update,Rt)}),d&&s.addEventListener("resize",r.update,Rt),function(){i&&p.forEach(function(c){c.removeEventListener("scroll",r.update,Rt)}),d&&s.removeEventListener("resize",r.update,Rt)}}var Da={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:$o,data:{}};var Fo={left:"right",right:"left",bottom:"top",top:"bottom"};function at(e){return e.replace(/left|right|bottom|top/g,function(t){return Fo[t]})}var Uo={start:"end",end:"start"};function Vt(e){return e.replace(/start|end/g,function(t){return Uo[t]})}function Ue(e){var t=H(e),r=t.pageXOffset,a=t.pageYOffset;return{scrollLeft:r,scrollTop:a}}function We(e){return fe(oe(e)).left+Ue(e).scrollLeft}function dr(e,t){var r=H(e),a=oe(e),o=r.visualViewport,i=a.clientWidth,l=a.clientHeight,d=0,s=0;if(o){i=o.width,l=o.height;var p=ht();(p||!p&&t==="fixed")&&(d=o.offsetLeft,s=o.offsetTop)}return{width:i,height:l,x:d+We(e),y:s}}function cr(e){var t,r=oe(e),a=Ue(e),o=(t=e.ownerDocument)==null?void 0:t.body,i=ge(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),l=ge(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),d=-a.scrollLeft+We(e),s=-a.scrollTop;return le(o||r).direction==="rtl"&&(d+=ge(r.clientWidth,o?o.clientWidth:0)-i),{width:i,height:l,x:d,y:s}}function Ge(e){var t=le(e),r=t.overflow,a=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+a)}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 a=qt(e),o=a===((r=e.ownerDocument)==null?void 0:r.body),i=H(a),l=o?[i].concat(i.visualViewport||[],Ge(a)?a:[]):a,d=t.concat(l);return o?d:d.concat(Be(Ae(l)))}function ot(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Wo(e,t){var r=fe(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 Oa(e,t,r){return t===zt?ot(dr(e,r)):pe(t)?Wo(t,r):ot(cr(oe(e)))}function Go(e){var t=Be(Ae(e)),r=["absolute","fixed"].indexOf(le(e).position)>=0,a=r&&Z(e)?ve(e):e;return pe(a)?t.filter(function(o){return pe(o)&&mt(o,a)&&ee(o)!=="body"}):[]}function ur(e,t,r,a){var o=t==="clippingParents"?Go(e):[].concat(t),i=[].concat(o,[r]),l=i[0],d=i.reduce(function(s,p){var c=Oa(e,p,a);return s.top=ge(c.top,s.top),s.right=qe(c.right,s.right),s.bottom=qe(c.bottom,s.bottom),s.left=ge(c.left,s.left),s},Oa(e,l,a));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,a=e.placement,o=a?te(a):null,i=a?he(a):null,l=t.x+t.width/2-r.width/2,d=t.y+t.height/2-r.height/2,s;switch(o){case $:s={x:l,y:t.y-r.height};break;case J:s={x:l,y:t.y+t.height};break;case K:s={x:t.x+t.width,y:d};break;case G:s={x:t.x-r.width,y:d};break;default:s={x:t.x,y:t.y}}var p=o?$e(o):null;if(p!=null){var c=p==="y"?"height":"width";switch(i){case Oe:s[p]=s[p]-(t[c]/2-r[c]/2);break;case Ve:s[p]=s[p]+(t[c]/2-r[c]/2);break;default:}}return s}function ye(e,t){t===void 0&&(t={});var r=t,a=r.placement,o=a===void 0?e.placement:a,i=r.strategy,l=i===void 0?e.strategy:i,d=r.boundary,s=d===void 0?va:d,p=r.rootBoundary,c=p===void 0?zt:p,v=r.elementContext,y=v===void 0?et:v,m=r.altBoundary,E=m===void 0?!1:m,_=r.padding,k=_===void 0?0:_,L=gt(typeof k!="number"?k:vt(k,Me)),T=y===et?ya:et,B=e.rects.popper,n=e.elements[E?T:y],g=ur(pe(n)?n:n.contextElement||oe(e.elements.popper),s,c,l),h=fe(e.elements.reference),A=yt({reference:h,element:B,strategy:"absolute",placement:o}),S=ot(Object.assign({},B,A)),C=y===et?S:h,M={top:g.top-C.top+L.top,bottom:C.bottom-g.bottom+L.bottom,left:g.left-C.left+L.left,right:C.right-g.right+L.right},z=e.modifiersData.offset;if(y===et&&z){var P=z[o];Object.keys(M).forEach(function(V){var re=[K,J].indexOf(V)>=0?1:-1,ae=[$,J].indexOf(V)>=0?"y":"x";M[V]+=P[ae]*re})}return M}function pr(e,t){t===void 0&&(t={});var r=t,a=r.placement,o=r.boundary,i=r.rootBoundary,l=r.padding,d=r.flipVariations,s=r.allowedAutoPlacements,p=s===void 0?Pt:s,c=he(a),v=c?d?lr:lr.filter(function(E){return he(E)===c}):Me,y=v.filter(function(E){return p.indexOf(E)>=0});y.length===0&&(y=v);var m=y.reduce(function(E,_){return E[_]=ye(e,{placement:_,boundary:o,rootBoundary:i,padding:l})[te(_)],E},{});return Object.keys(m).sort(function(E,_){return m[E]-m[_]})}function Xo(e){if(te(e)===Nt)return[];var t=at(e);return[Vt(e),t,Vt(t)]}function Yo(e){var t=e.state,r=e.options,a=e.name;if(!t.modifiersData[a]._skip){for(var o=r.mainAxis,i=o===void 0?!0:o,l=r.altAxis,d=l===void 0?!0:l,s=r.fallbackPlacements,p=r.padding,c=r.boundary,v=r.rootBoundary,y=r.altBoundary,m=r.flipVariations,E=m===void 0?!0:m,_=r.allowedAutoPlacements,k=t.options.placement,L=te(k),T=L===k,B=s||(T||!E?[at(k)]:Xo(k)),n=[k].concat(B).reduce(function(N,W){return N.concat(te(W)===Nt?pr(t,{placement:W,boundary:c,rootBoundary:v,padding:p,flipVariations:E,allowedAutoPlacements:_}):W)},[]),g=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,ae=re?"width":"height",F=ye(t,{placement:z,boundary:c,rootBoundary:v,altBoundary:y,padding:p}),X=re?V?K:G:V?J:$;g[ae]>h[ae]&&(X=at(X));var U=at(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 f=E?3:1,b=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=f;x>0;x--){var D=b(x);if(D==="break")break}t.placement!==C&&(t.modifiersData[a]._skip=!0,t.placement=C,t.reset=!0)}}var La={name:"flip",enabled:!0,phase:"main",fn:Yo,requiresIfExists:["offset"],data:{_skip:!1}};function Aa(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 Ta(e){return[$,K,J,G].some(function(t){return e[t]>=0})}function Ko(e){var t=e.state,r=e.name,a=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,l=ye(t,{elementContext:"reference"}),d=ye(t,{altBoundary:!0}),s=Aa(l,a),p=Aa(d,o,i),c=Ta(s),v=Ta(p);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:p,isReferenceHidden:c,hasPopperEscaped:v},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":v})}var ja={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ko};function Jo(e,t,r){var a=te(e),o=[G,$].indexOf(a)>=0?-1:1,i=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=i[0],d=i[1];return l=l||0,d=(d||0)*o,[G,K].indexOf(a)>=0?{x:d,y:l}:{x:l,y:d}}function Zo(e){var t=e.state,r=e.options,a=e.name,o=r.offset,i=o===void 0?[0,0]:o,l=Pt.reduce(function(c,v){return c[v]=Jo(v,t.rects,i),c},{}),d=l[t.placement],s=d.x,p=d.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=p),t.modifiersData[a]=l}var Ca={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Zo};function Qo(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 Ma={name:"popperOffsets",enabled:!0,phase:"read",fn:Qo,data:{}};function fr(e){return e==="x"?"y":"x"}function ei(e){var t=e.state,r=e.options,a=e.name,o=r.mainAxis,i=o===void 0?!0:o,l=r.altAxis,d=l===void 0?!1:l,s=r.boundary,p=r.rootBoundary,c=r.altBoundary,v=r.padding,y=r.tether,m=y===void 0?!0:y,E=r.tetherOffset,_=E===void 0?0:E,k=ye(t,{boundary:s,rootBoundary:p,padding:v,altBoundary:c}),L=te(t.placement),T=he(t.placement),B=!T,n=$e(L),g=fr(n),h=t.modifiersData.popperOffsets,A=t.rects.reference,S=t.rects.popper,C=typeof _=="function"?_(Object.assign({},t.rects,{placement:t.placement})):_,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,ae=n==="y"?J:K,F=n==="y"?"height":"width",X=h[n],U=X+k[re],Q=X-k[ae],f=m?-S[F]/2:0,b=T===Oe?A[F]:S[F],x=T===Oe?-S[F]:-A[F],D=t.elements.arrow,N=m&&D?He(D):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:bt(),Y=W[re],Te=W[ae],Ee=Fe(0,A[F],N[F]),Ke=B?A[F]/2-f-Ee-Y-M.mainAxis:b-Ee-Y-M.mainAxis,je=B?-A[F]/2+f+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,st=(V=z==null?void 0:z[n])!=null?V:0,Dt=X+Ke-st-Et,Ot=X+je-st,dt=Fe(m?qe(U,Dt):U,X,m?ge(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[g],Ce=g==="y"?"height":"width",ut=De+k[Lt],Pe=De-k[At],pt=[$,G].indexOf(L)!==-1,Tt=(ct=z==null?void 0:z[g])!=null?ct:0,jt=pt?ut:De-A[Ce]-S[Ce]-Tt+M.altAxis,Ct=pt?De+A[Ce]+S[Ce]-Tt-M.altAxis:Pe,Mt=m&&pt?_a(jt,De,Ct):Fe(m?jt:ut,De,m?Ct:Pe);h[g]=Mt,P[g]=Mt-De}t.modifiersData[a]=P}}var Ba={name:"preventOverflow",enabled:!0,phase:"main",fn:ei,requiresIfExists:["offset"]};function hr(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function mr(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,a=Le(t.height)/e.offsetHeight||1;return r!==1||a!==1}function br(e,t,r){r===void 0&&(r=!1);var a=Z(t),o=Z(t)&&ti(t),i=oe(t),l=fe(e,o,r),d={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(a||!a&&!r)&&((ee(t)!=="body"||Ge(i))&&(d=mr(t)),Z(t)?(s=fe(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):i&&(s.x=We(i))),{x:l.left+d.scrollLeft-s.x,y:l.top+d.scrollTop-s.y,width:l.width,height:l.height}}function ri(e){var t=new Map,r=new Set,a=[];e.forEach(function(i){t.set(i.name,i)});function o(i){r.add(i.name);var l=[].concat(i.requires||[],i.requiresIfExists||[]);l.forEach(function(d){if(!r.has(d)){var s=t.get(d);s&&o(s)}}),a.push(i)}return e.forEach(function(i){r.has(i.name)||o(i)}),a}function gr(e){var t=ri(e);return xa.reduce(function(r,a){return r.concat(t.filter(function(o){return o.phase===a}))},[])}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,a){var o=r[a.name];return r[a.name]=o?Object.assign({},o,a,{options:Object.assign({},o.options,a.options),data:Object.assign({},o.data,a.data)}):a,r},{});return Object.keys(t).map(function(r){return t[r]})}var Ia={placement:"bottom",modifiers:[],strategy:"absolute"};function Na(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(a){return!(a&&typeof a.getBoundingClientRect=="function")})}function za(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,a=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?Ia:o;return function(d,s,p){p===void 0&&(p=i);var c={placement:"bottom",orderedModifiers:[],options:Object.assign({},Ia,i),modifiersData:{},elements:{reference:d,popper:s},attributes:{},styles:{}},v=[],y=!1,m={state:c,setOptions:function(L){var T=typeof L=="function"?L(c.options):L;_(),c.options=Object.assign({},i,c.options,T),c.scrollParents={reference:pe(d)?Be(d):d.contextElement?Be(d.contextElement):[],popper:Be(s)};var B=gr(yr([].concat(a,c.options.modifiers)));return c.orderedModifiers=B.filter(function(n){return n.enabled}),E(),m.update()},forceUpdate:function(){if(!y){var L=c.elements,T=L.reference,B=L.popper;if(Na(T,B)){c.rects={reference:br(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 g=c.orderedModifiers[n],h=g.fn,A=g.options,S=A===void 0?{}:A,C=g.name;typeof h=="function"&&(c=h({state:c,options:S,name:C,instance:m})||c)}}}},update:vr(function(){return new Promise(function(k){m.forceUpdate(),k(c)})}),destroy:function(){_(),y=!0}};if(!Na(d,s))return m;m.setOptions(p).then(function(k){!y&&p.onFirstUpdate&&p.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 g=n({state:c,name:L,instance:m,options:B}),h=function(){};v.push(g||h)}})}function _(){v.forEach(function(k){return k()}),v=[]}return m}}var ai=[Da,Ma,Ea,ft,Ca,La,Ba,ka,ja],xr=za({defaultModifiers:ai});var oi="tippy-box",Ga="tippy-content",ii="tippy-backdrop",Xa="tippy-arrow",Ya="tippy-svg-arrow",Xe={passive:!0,capture:!0},Ka=function(){return document.body};function wr(e,t,r){if(Array.isArray(e)){var a=e[t];return a==null?Array.isArray(r)?r[t]:r:a}return e}function Or(e,t){var r={}.toString.call(e);return r.indexOf("[object")===0&&r.indexOf(t+"]")>-1}function Ja(e,t){return typeof e=="function"?e.apply(void 0,t):e}function Pa(e,t){if(t===0)return e;var r;return function(a){clearTimeout(r),r=setTimeout(function(){e(a)},t)}}function ni(e){return e.split(/\s+/).filter(Boolean)}function it(e){return[].concat(e)}function Ra(e,t){e.indexOf(t)===-1&&e.push(t)}function li(e){return e.filter(function(t,r){return e.indexOf(t)===r})}function si(e){return e.split("-")[0]}function $t(e){return[].slice.call(e)}function Va(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 ui(e){return!!(e&&e._tippy&&e._tippy.reference===e)}function pi(e){return Ft(e)?[e]:di(e)?$t(e):Array.isArray(e)?e:$t(document.querySelectorAll(e))}function _r(e,t){e.forEach(function(r){r&&(r.style.transitionDuration=t+"ms")})}function qa(e,t){e.forEach(function(r){r&&r.setAttribute("data-state",t)})}function fi(e){var t,r=it(e),a=r[0];return a!=null&&(t=a.ownerDocument)!=null&&t.body?a.ownerDocument:document}function hi(e,t){var r=t.clientX,a=t.clientY;return e.every(function(o){var i=o.popperRect,l=o.popperState,d=o.props,s=d.interactiveBorder,p=si(l.placement),c=l.modifiersData.offset;if(!c)return!0;var v=p==="bottom"?c.top.y:0,y=p==="top"?c.bottom.y:0,m=p==="right"?c.left.x:0,E=p==="left"?c.right.x:0,_=i.top-a+v>s,k=a-i.bottom-y>s,L=i.left-r+m>s,T=r-i.right-E>s;return _||k||L||T})}function kr(e,t,r){var a=t+"EventListener";["transitionend","webkitTransitionEnd"].forEach(function(o){e[a](o,r)})}function Ha(e,t){for(var r=t;r;){var a;if(e.contains(r))return!0;r=r.getRootNode==null||(a=r.getRootNode())==null?void 0:a.host}return!1}var Se={isTouch:!1},$a=0;function mi(){Se.isTouch||(Se.isTouch=!0,window.performance&&document.addEventListener("mousemove",Za))}function Za(){var e=performance.now();e-$a<20&&(Se.isTouch=!1,document.removeEventListener("mousemove",Za)),$a=e}function bi(){var e=document.activeElement;if(ui(e)){var t=e._tippy;e.blur&&!t.state.isVisible&&e.blur()}}function gi(){document.addEventListener("touchstart",mi,Xe),window.addEventListener("blur",bi)}var vi=typeof window!="undefined"&&typeof document!="undefined",yi=vi?!!window.msCrypto:!1;var xi={animateFill:!1,followCursor:!1,inlinePositioning:!1,sticky:!1},wi={allowHTML:!1,animation:"fade",arrow:!0,content:"",inertia:!1,maxWidth:350,role:"tooltip",theme:"",zIndex:9999},xe=Object.assign({appendTo:Ka,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,wi),_i=Object.keys(xe),ki=function(t){var r=Object.keys(t);r.forEach(function(a){xe[a]=t[a]})};function Qa(e){var t=e.plugins||[],r=t.reduce(function(a,o){var i=o.name,l=o.defaultValue;if(i){var d;a[i]=e[i]!==void 0?e[i]:(d=xe[i])!=null?d:l}return a},{});return Object.assign({},e,r)}function Si(e,t){var r=t?Object.keys(Qa(Object.assign({},xe,{plugins:t}))):_i,a=r.reduce(function(o,i){var l=(e.getAttribute("data-tippy-"+i)||"").trim();if(!l)return o;if(i==="content")o[i]=l;else try{o[i]=JSON.parse(l)}catch(d){o[i]=l}return o},{});return a}function Fa(e,t){var r=Object.assign({},t,{content:Ja(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 Ua(e){var t=xt();return e===!0?t.className=Xa:(t.className=Ya,Ft(e)?t.appendChild(e):Er(t,e)),t}function Wa(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(a){return a.classList.contains(Ga)}),arrow:r.find(function(a){return a.classList.contains(Xa)||a.classList.contains(Ya)}),backdrop:r.find(function(a){return a.classList.contains(ii)})}}function eo(e){var t=xt(),r=xt();r.className=oi,r.setAttribute("data-state","hidden"),r.setAttribute("tabindex","-1");var a=xt();a.className=Ga,a.setAttribute("data-state","hidden"),Wa(a,e.props),t.appendChild(r),r.appendChild(a),o(e.props,e.props);function o(i,l){var d=Dr(t),s=d.box,p=d.content,c=d.arrow;l.theme?s.setAttribute("data-theme",l.theme):s.removeAttribute("data-theme"),typeof l.animation=="string"?s.setAttribute("data-animation",l.animation):s.removeAttribute("data-animation"),l.inertia?s.setAttribute("data-inertia",""):s.removeAttribute("data-inertia"),s.style.maxWidth=typeof l.maxWidth=="number"?l.maxWidth+"px":l.maxWidth,l.role?s.setAttribute("role",l.role):s.removeAttribute("role"),(i.content!==l.content||i.allowHTML!==l.allowHTML)&&Wa(p,e.props),l.arrow?c?i.arrow!==l.arrow&&(s.removeChild(c),s.appendChild(Ua(l.arrow))):s.appendChild(Ua(l.arrow)):c&&s.removeChild(c)}return{popper:t,onUpdate:o}}eo.$$tippy=!0;var Di=1,Ht=[],Sr=[];function Oi(e,t){var r=Fa(e,Object.assign({},xe,Qa(Va(t)))),a,o,i,l=!1,d=!1,s=!1,p=!1,c,v,y,m=[],E=Pa(Dt,r.interactiveDebounce),_,k=Di++,L=null,T=li(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:go,hide:vo,hideWithInteractivity:yo,enable:pt,disable:Tt,unmount:xo,destroy:wo};if(!r.render)return n;var g=r.render(n),h=g.popper,A=g.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(u){return u.fn(n)}),C=e.hasAttribute("aria-expanded");return Je(),f(),X(),U("onCreate",[n]),r.showOnCreate&&ut(),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 u=n.props.touch;return Array.isArray(u)?u:[u,0]}function z(){return M()[0]==="hold"}function P(){var u;return!!((u=n.props.render)!=null&&u.$$tippy)}function V(){return _||e}function re(){var u=V().parentNode;return u?fi(u):document}function ae(){return Dr(h)}function F(u){return n.state.isMounted&&!n.state.isVisible||Se.isTouch||c&&c.type==="focus"?0:wr(n.props.delay,u?0:1,xe.delay)}function X(u){u===void 0&&(u=!1),h.style.pointerEvents=n.props.interactive&&!u?"":"none",h.style.zIndex=""+n.props.zIndex}function U(u,w,O){if(O===void 0&&(O=!0),S.forEach(function(I){I[u]&&I[u].apply(I,w)}),O){var R;(R=n.props)[u].apply(R,w)}}function Q(){var u=n.props.aria;if(u.content){var w="aria-"+u.content,O=h.id,R=it(n.props.triggerTarget||e);R.forEach(function(I){var ne=I.getAttribute(w);if(n.state.isVisible)I.setAttribute(w,ne?ne+" "+O:O);else{var ue=ne&&ne.replace(O,"").trim();ue?I.setAttribute(w,ue):I.removeAttribute(w)}})}}function f(){if(!(C||!n.props.aria.expanded)){var u=it(n.props.triggerTarget||e);u.forEach(function(w){n.props.interactive?w.setAttribute("aria-expanded",n.state.isVisible&&w===V()?"true":"false"):w.removeAttribute("aria-expanded")})}}function b(){re().removeEventListener("mousemove",E),Ht=Ht.filter(function(u){return u!==E})}function x(u){if(!(Se.isTouch&&(s||u.type==="mousedown"))){var w=u.composedPath&&u.composedPath()[0]||u.target;if(!(n.props.interactive&&Ha(h,w))){if(it(n.props.triggerTarget||e).some(function(O){return Ha(O,w)})){if(Se.isTouch||n.state.isVisible&&n.props.trigger.indexOf("click")>=0)return}else U("onClickOutside",[n,u]);n.props.hideOnClick===!0&&(n.clearDelayTimeouts(),n.hide(),d=!0,setTimeout(function(){d=!1}),n.state.isMounted||Y())}}}function D(){s=!0}function N(){s=!1}function W(){var u=re();u.addEventListener("mousedown",x,!0),u.addEventListener("touchend",x,Xe),u.addEventListener("touchstart",N,Xe),u.addEventListener("touchmove",D,Xe)}function Y(){var u=re();u.removeEventListener("mousedown",x,!0),u.removeEventListener("touchend",x,Xe),u.removeEventListener("touchstart",N,Xe),u.removeEventListener("touchmove",D,Xe)}function Te(u,w){Ke(u,function(){!n.state.isVisible&&h.parentNode&&h.parentNode.contains(h)&&w()})}function Ee(u,w){Ke(u,w)}function Ke(u,w){var O=ae().box;function R(I){I.target===O&&(kr(O,"remove",R),w())}if(u===0)return w();kr(O,"remove",v),kr(O,"add",R),v=R}function je(u,w,O){O===void 0&&(O=!1);var R=it(n.props.triggerTarget||e);R.forEach(function(I){I.addEventListener(u,w,O),m.push({node:I,eventType:u,handler:w,options:O})})}function Je(){z()&&(je("touchstart",st,{passive:!0}),je("touchend",Ot,{passive:!0})),ni(n.props.trigger).forEach(function(u){if(u!=="manual")switch(je(u,st),u){case"mouseenter":je("mouseleave",Ot);break;case"focus":je(yi?"focusout":"blur",dt);break;case"focusin":je("focusout",dt);break}})}function Et(){m.forEach(function(u){var w=u.node,O=u.eventType,R=u.handler,I=u.options;w.removeEventListener(O,R,I)}),m=[]}function st(u){var w,O=!1;if(!(!n.state.isEnabled||ct(u)||d)){var R=((w=c)==null?void 0:w.type)==="focus";c=u,_=u.currentTarget,f(),!n.state.isVisible&&ci(u)&&Ht.forEach(function(I){return I(u)}),u.type==="click"&&(n.props.trigger.indexOf("mouseenter")<0||l)&&n.props.hideOnClick!==!1&&n.state.isVisible?O=!0:ut(u),u.type==="click"&&(l=!O),O&&!R&&Pe(u)}}function Dt(u){var w=u.target,O=V().contains(w)||h.contains(w);if(!(u.type==="mousemove"&&O)){var R=Ce().concat(h).map(function(I){var ne,ue=I._tippy,Ze=(ne=ue.popperInstance)==null?void 0:ne.state;return Ze?{popperRect:I.getBoundingClientRect(),popperState:Ze,props:r}:null}).filter(Boolean);hi(R,u)&&(b(),Pe(u))}}function Ot(u){var w=ct(u)||n.props.trigger.indexOf("click")>=0&&l;if(!w){if(n.props.interactive){n.hideWithInteractivity(u);return}Pe(u)}}function dt(u){n.props.trigger.indexOf("focusin")<0&&u.target!==V()||n.props.interactive&&u.relatedTarget&&h.contains(u.relatedTarget)||Pe(u)}function ct(u){return Se.isTouch?z()!==u.type.indexOf("touch")>=0:!1}function Lt(){At();var u=n.props,w=u.popperOptions,O=u.placement,R=u.offset,I=u.getReferenceClientRect,ne=u.moveTransition,ue=P()?Dr(h).arrow:null,Ze=I?{getBoundingClientRect:I,contextElement:I.contextElement||V()}:e,ha={name:"$$tippy",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:function(Bt){var Qe=Bt.state;if(P()){var _o=ae(),ir=_o.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}},ha];P()&&ue&&Re.push({name:"arrow",options:{element:ue,padding:3}}),Re.push.apply(Re,(w==null?void 0:w.modifiers)||[]),n.popperInstance=xr(Ze,h,Object.assign({},w,{placement:O,onFirstUpdate:y,modifiers:Re}))}function At(){n.popperInstance&&(n.popperInstance.destroy(),n.popperInstance=null)}function De(){var u=n.props.appendTo,w,O=V();n.props.interactive&&u===Ka||u==="parent"?w=O.parentNode:w=Ja(u,[O]),w.contains(h)||w.appendChild(h),n.state.isMounted=!0,Lt()}function Ce(){return $t(h.querySelectorAll("[data-tippy-root]"))}function ut(u){n.clearDelayTimeouts(),u&&U("onTrigger",[n,u]),W();var w=F(!0),O=M(),R=O[0],I=O[1];Se.isTouch&&R==="hold"&&I&&(w=I),w?a=setTimeout(function(){n.show()},w):n.show()}function Pe(u){if(n.clearDelayTimeouts(),U("onUntrigger",[n,u]),!n.state.isVisible){Y();return}if(!(n.props.trigger.indexOf("mouseenter")>=0&&n.props.trigger.indexOf("click")>=0&&["mouseleave","mousemove"].indexOf(u.type)>=0&&l)){var w=F(!1);w?o=setTimeout(function(){n.state.isVisible&&n.hide()},w):i=requestAnimationFrame(function(){n.hide()})}}function pt(){n.state.isEnabled=!0}function Tt(){n.hide(),n.state.isEnabled=!1}function jt(){clearTimeout(a),clearTimeout(o),cancelAnimationFrame(i)}function Ct(u){if(!n.state.isDestroyed){U("onBeforeUpdate",[n,u]),Et();var w=n.props,O=Fa(e,Object.assign({},w,Va(u),{ignoreAttributes:!0}));n.props=O,Je(),w.interactiveDebounce!==O.interactiveDebounce&&(b(),E=Pa(Dt,O.interactiveDebounce)),w.triggerTarget&&!O.triggerTarget?it(w.triggerTarget).forEach(function(R){R.removeAttribute("aria-expanded")}):O.triggerTarget&&e.removeAttribute("aria-expanded"),f(),X(),A&&A(w,O),n.popperInstance&&(Lt(),Ce().forEach(function(R){requestAnimationFrame(R._tippy.popperInstance.forceUpdate)})),U("onAfterUpdate",[n,u])}}function Mt(u){n.setProps({content:u})}function go(){var u=n.state.isVisible,w=n.state.isDestroyed,O=!n.state.isEnabled,R=Se.isTouch&&!n.props.touch,I=wr(n.props.duration,0,xe.duration);if(!(u||w||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=ae(),ue=ne.box,Ze=ne.content;_r([ue,Ze],0)}y=function(){var Re;if(!(!n.state.isVisible||p)){if(p=!0,h.offsetHeight,h.style.transition=n.props.moveTransition,P()&&n.props.animation){var or=ae(),Bt=or.box,Qe=or.content;_r([Bt,Qe],I),qa([Bt,Qe],"visible")}Q(),f(),Ra(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 vo(){var u=!n.state.isVisible,w=n.state.isDestroyed,O=!n.state.isEnabled,R=wr(n.props.duration,1,xe.duration);if(!(u||w||O)&&(U("onHide",[n],!1),n.props.onHide(n)!==!1)){if(n.state.isVisible=!1,n.state.isShown=!1,p=!1,l=!1,P()&&(h.style.visibility="hidden"),b(),Y(),X(!0),P()){var I=ae(),ne=I.box,ue=I.content;n.props.animation&&(_r([ne,ue],R),qa([ne,ue],"hidden"))}Q(),f(),n.props.animation?P()&&Te(R,n.unmount):n.unmount()}}function yo(u){re().addEventListener("mousemove",E),Ra(Ht,E),E(u)}function xo(){n.state.isVisible&&n.hide(),n.state.isMounted&&(At(),Ce().forEach(function(u){u._tippy.unmount()}),h.parentNode&&h.parentNode.removeChild(h),Sr=Sr.filter(function(u){return u!==n}),n.state.isMounted=!1,U("onHidden",[n]))}function wo(){n.state.isDestroyed||(n.clearDelayTimeouts(),n.unmount(),Et(),delete e._tippy,n.state.isDestroyed=!0,U("onDestroy",[n]))}}function wt(e,t){t===void 0&&(t={});var r=xe.plugins.concat(t.plugins||[]);gi();var a=Object.assign({},t,{plugins:r}),o=pi(e);if(0)var i,l;var d=o.reduce(function(s,p){var c=p&&Oi(p,a);return c&&s.push(c),s},[]);return Ft(e)?d[0]:d}wt.defaultProps=xe;wt.setDefaultProps=ki;wt.currentInput=Se;var hu=Object.assign({},ft,{effect:function(t){var r=t.state,a={popper:{position:r.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(r.elements.popper.style,a.popper),r.styles=a,r.elements.arrow&&Object.assign(r.elements.arrow.style,a.arrow)}});wt.setDefaultProps({render:eo});var to=wt;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,a=e.max;Wt()>0&&Wt()!==16&&(r=r/16*Wt(),a=a/16*Wt());let i=r||0,l=a||Number.POSITIVE_INFINITY;return i<=t&&t<=l}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 me="data-js-hook",Xt="behavior_",Ir="state_";function ie(){let e={};function t(o,i){return{}.hasOwnProperty.call(e,o)?e[o].push(i):e[o]=[i],this}function r(o,i){if(!{}.hasOwnProperty.call(e,o))return this;let l=e[o].indexOf(i);return l!==-1&&e[o].splice(l,1),this}function a(o,i){if(!{}.hasOwnProperty.call(e,o))return this;i=i||{};let l=e[o];for(let d=0,s=l.length;d<s;d++)l[d].call(this,i);return this}return this.addEventListener=t,this.removeEventListener=r,this.dispatchEvent=a,this.getRegisteredEvents=()=>e,this}function Ye(e,t){if(!e)return!1;let r=e.getAttribute(me);return r?(r=r.split(" "),r.indexOf(t)>-1):!1}function se(e,t){if(Ye(e,t))return t;if(t.indexOf(" ")!==-1){let a=me+" values cannot contain spaces!";throw new Error(a)}let r=e.getAttribute(me);return r!==null&&(t=r+" "+t),e.setAttribute(me,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 a=t+" not found on or in passed DOM node.";throw new Error(a)}return r}function we(e,t){return Fi(e,t),Ui(e,t)}function be(e){return Ye(e,Nr)?!1:(se(e,Nr),!0)}function de(e,t,r,a={}){let i=(r||document).querySelectorAll(e),l=[],d,s;for(let p=0,c=i.length;p<c;p++)s=i[p],Ye(s,Nr)===!1&&(d=new t(s),d.init(a),l.push(d));return l}function Yt(e,t){let r;if(Ye(e,t))return r=e,r;if(e){let a="["+me+"="+t+"]";r=e.querySelector(a)}if(!r){let a=t+" behavior not found on passed DOM node!";throw new Error(a)}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 _t=Xt+"flyout-menu",Xi="["+me+"="+_t;function Ie(e,t=!0){let r=Yt(e,_t),a=T(e),o=Yt(e,_t+"_content"),i=0,l=0,d=1,s=2,p=3,c,v,y,m=P.bind(this),E=z.bind(this),_,k=!0,L=!1;function T(f){let b=[],x=f.querySelectorAll(`${Xi}_trigger]`),D,N,W;for(let Y=x.length>>>0;Y--;){for(W=!1,D=x[Y],N=D.parentElement;N!==f;)N.getAttribute(me)&&N.getAttribute(me).split(" ").indexOf(_t)!==-1?(W=!0,N=f):N=N.parentElement;W||b.unshift(x[Y])}return b}function B(f=!1){return i=f?p:l,a.forEach(b=>{n("expanded",b,f),b.addEventListener("click",S.bind(this)),b.addEventListener("touchstart",g,{passive:!0}),b.addEventListener("mouseover",h.bind(this)),b.addEventListener("mouseout",A.bind(this))}),o.setAttribute("data-open",f?"true":"false"),t&&!f&&o.setAttribute("hidden",""),F(),this}function n(f,b,x){let D=String(x);return b.setAttribute("aria-"+f,D),D}function g(){L=!0}function h(f){k||(L||this.dispatchEvent("triggerover",{target:this,trigger:f.target,type:"triggerover"}),L=!1)}function A(f){k||this.dispatchEvent("triggerout",{target:this,trigger:f.target,type:"triggerout"})}function S(f){if(!k)switch(this.dispatchEvent("triggerclick",{target:this,trigger:f.target,type:"triggerclick"}),f.preventDefault(),i){case l:case d:this.expand();break;case s:case p:this.collapse();break}}function C(){if(c==null||c.halt(),i===s||i===p)return this;if(i=s,t&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!v||!y)return E(),this;let f=c==null?void 0:c.isAnimated();return f&&c.addEventListener(q.END_EVENT,E),v(),f||E(),this}function M(){if(c==null||c.halt(),i===d||i===l)return this;for(let b=0,x=a.length;b<x;b++)n("expanded",a[b],!1);if(o.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!v)return m(),this;let f=c==null?void 0:c.isAnimated();return f&&c.addEventListener(q.END_EVENT,m),y(),f||m(),this}function z(){i=p,o.setAttribute("data-open","true"),c&&c.removeEventListener(q.END_EVENT,E),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let f=0,b=a.length;f<b;f++)n("expanded",a[f],!0)}function P(){i=l,t&&o.setAttribute("hidden",""),c&&c.removeEventListener(q.END_EVENT,m),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function V(f,b,x){c=f,b&&b!==y&&(y=b),x&&x!==v&&(v=x)}function re(){c&&c.remove();let f;c=f,v=f,y=f}function ae(){return{container:r,content:o,trigger:a}}function F(){return k&&(k=!1),!k}function X(){return k||(k=!0),k}function U(f){return _=f,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=()=>_,this.getTransition=()=>c,this.getDom=ae,this.isAnimating=()=>i===s||i===d,this.isExpanded=()=>i===p,this.resume=F,this.setData=U,this.suspend=X,Ie.BASE_CLASS=_t,this}var Kt={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function ro(e){let t=new ie,r=new q(e,Kt,this);function a(l){return r.init(l),this}function o(){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=o,this.fadeOut=i,this.init=a,this}ro.CLASSES=Kt;function q(e,t,r){let a=t,o=e;if(!r)throw new Error("Child transition argument must be defined!");let i=r,l,d,s,p=!1,c=!1,v=!1;if(typeof a.CSS_PROPERTY=="undefined"||typeof a.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(o.addEventListener(d,s),i.dispatchEvent(q.BEGIN_EVENT,{target:i,type:q.BEGIN_EVENT}),o.classList.add(q.ANIMATING_CLASS),c=!0):(i.dispatchEvent(q.BEGIN_EVENT,{target:i,type:q.BEGIN_EVENT}),s())}function m(){o.removeEventListener(d,s)}function E(S){return S&&S.propertyName!==a.CSS_PROPERTY?!1:(m(),o.classList.remove(q.ANIMATING_CLASS),i.dispatchEvent(q.END_EVENT,{target:i,type:q.END_EVENT}),c=!1,!0)}function _(){let S;for(S in a)({}).hasOwnProperty.call(a,S)&&a[S]!==a.BASE_CLASS&&o.classList.contains(a[S])&&o.classList.remove(a[S])}function k(){c&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(d,s),s(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function L(){k(),_(),o.classList.remove(a.BASE_CLASS)}function T(){o.classList.remove(q.NO_ANIMATION_CLASS),p=!0}function B(){o.classList.add(q.NO_ANIMATION_CLASS),p=!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 g(S){L(),T(),o=S,o.classList.add(a.BASE_CLASS),d=n(o)}function h(S){if(p=!o.classList.contains(q.NO_ANIMATION_CLASS),s=E.bind(this),g(o),!S)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(S),this}function A(S){return v||(_(),v=!0),o.classList.contains(S)?!1:(m(),o.classList.remove(l),l=S,y(),o.classList.add(l),!0)}return this.animateOff=B,this.animateOn=T,this.applyClass=A,this.halt=k,this.init=h,this.isAnimated=()=>p,this.remove=L,this.setElement=g,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),a=0;function o(){let y=e.scrollHeight+"px";e.style.maxHeight=y}function i(){window.removeEventListener("load",i),o()}function l(v){return r.init(v),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function d(){return o(),r.applyClass(kt.MH_DEFAULT),(!a||e.scrollHeight>a)&&(a=e.scrollHeight),this}function s(){return r.applyClass(kt.MH_SUMMARY),a=e.scrollHeight,this}function p(){return r.applyClass(kt.MH_ZERO),a=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=o,this.remove=c,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=s,this.maxHeightZero=p,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 ao(e){let t=new ie,r=new q(e,Ne,this);function a(s){return r.init(s),this}function o(){return r.applyClass(Ne.MOVE_TO_ORIGIN),this}function i(s){s=s||1;let p=[Ne.MOVE_LEFT,Ne.MOVE_LEFT_2X,Ne.MOVE_LEFT_3X];return r.applyClass(p[s-1]),this}function l(){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=a,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=d,this}ao.CLASSES=Ne;var nt="o-expandable";function ze(e){let t=we(e,nt),r,a,o,i,l;function d(){if(!be(t))return this;r=t.querySelector(`.${nt}__header`),a=t.querySelector(`.${nt}__content`),o=t.querySelector(`.${nt}__label`);let c=t.classList.contains(`${nt}--onload-open`);se(t,"behavior_flyout-menu"),se(r,"behavior_flyout-menu_trigger"),se(a,"behavior_flyout-menu_content");let v=c?ce.CLASSES.MH_DEFAULT:ce.CLASSES.MH_ZERO;return i=new ce(a).init(v),l=new Ie(t),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(c),l.addEventListener("expandbegin",()=>{a.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{a.classList.add("u-hidden")}),this}function s(){return o.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=s;let p=new ie;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.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=we(e,Jt),r=t.classList.contains(`${Jt}--accordion`),a,o;function i(d){let s=d.target;o&&o!==s&&o.collapse(),o=s}function l(d){return be(t)?(r&&(a=d,a.forEach(s=>{s.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}Zt.BASE_CLASS=Jt;Zt.init=e=>{(e||document).querySelectorAll(`.${Jt}`).forEach(a=>{let o=de(`.${ze.BASE_CLASS}`,ze,a);new Zt(a).init(o)})};var lt="o-summary";function Qt(e){let t=we(e,lt),r=t.classList.contains(`${lt}--mobile`),a=t.querySelector(`.${lt}__content`),o=t.querySelector(`.${lt}__btn`),i,l,d;function s(){return be(t)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!m(),se(t,"behavior_flyout-menu"),se(a,"behavior_flyout-menu_content"),se(o,"behavior_flyout-menu_trigger"),l=new Ie(t,!1),i=new ce(a),i.init(d?ce.CLASSES.MH_SUMMARY:ce.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",E),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),t.addEventListener("focusin",c),a.addEventListener("click",v)}function c(g){!d&&g.target!==o&&(o.click(),t.removeEventListener("focusin",c))}function v(g){g.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){m()?B():T()}function m(){return r&&!Br(Gt)||a.scrollHeight<=88}function E(){l.addEventListener("expandend",_)}function _(){L(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",_),l.suspend(),i.remove()}function k(){o.classList.remove("u-hidden")}function L(){o.classList.add("u-hidden")}function T(){return d&&(l.collapse(),i.animateOn(),k(),d=!1),!d}function B(){return d||(i.animateOff(),l.expand(),L(),d=!0),d}let n=new ie;return this.addEventListener=n.addEventListener,this.removeEventListener=n.removeEventListener,this.dispatchEvent=n.dispatchEvent,this.init=s,this}Qt.BASE_CLASS=lt;Qt.init=e=>de(`.${lt}`,Qt,e);var St="o-summary-minimal";function er(e){let t=we(e,St),r=t.querySelector(`.${St}__content`),a=t.querySelector(`.${St}__btn`),o,i;function l(){return be(t)?(se(t,"behavior_flyout-menu"),se(r,"behavior_flyout-menu_content"),se(a,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new Ie(t,!1),o=new ce(r),o.init(ce.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),t.addEventListener("focusin",s),r.addEventListener("click",p),i.collapse(),o.animateOn()}function s(v){v.target!==a&&(a.click(),t.removeEventListener("focusin",s))}function p(v){v.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let c=new ie;return this.addEventListener=c.addEventListener,this.removeEventListener=c.removeEventListener,this.dispatchEvent=c.dispatchEvent,this.init=l,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:()=>on});var on={};var Hr={};j(Hr,{default:()=>ln});var ln={};var $r={};j($r,{default:()=>dn});var dn={};var Fr={};j(Fr,{default:()=>un});var un={};var Ur={};j(Ur,{default:()=>fn});var fn={};var Wr={};j(Wr,{default:()=>mn});var mn={};var bn;function gn(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function vn(e,t){return RegExp(gn(t.trim()),"i").test(e)}function yn(e,t,r){let a=e,o=t,i=(r==null?void 0:r.maxSelections)||5,l=[],d=[],s=[],p=[],c=-1;function v(g){return o+"-"+g.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function m(g){let h,A=[],S=!1;for(let C=0,M=g.length;C<M;C++)h=g[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 l=m(a),this}function _(g){return l[g].checked=!l[g].checked,d.length<i&&l[g].checked?(d.push(g),d.sort(),!0):(l[g].checked=!1,d=d.filter(function(h){return h!==g}),!1)}function k(g,h,A,S){return vn(h.text,S)&&g.push(A),g}function L(g){return Object.prototype.toString.call(g)!=="[object String]"&&(g=""),p=s,l.length>0&&(s=l.reduce(function(h,A,S){return k(h,A,S,g)},[])),c=-1,s}function T(g){return l[g]}function B(g){let h=s.length,A=h===0?l.length:h;g<0?c=-1:g>=A?c=A-1:c=g}function n(){return c}return this.init=E,this.toggleOption=_,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=L,this.clearFilter=function(){return s=p=[],bn},this.getFilterIndices=function(){return s},this.getLastFilterIndices=function(){return p},this.getIndex=n,this.setIndex=B,this.resetIndex=function(){return c=-1,c},this.getOption=T,this}var lo=yn;function _e(e,t,r){let a=document.createElement(e);return Object.keys(r).forEach(o=>{let i=r[o];o in a?a[o]=i:a.setAttribute(o,i)}),t&&t.appendChild(a),a}var so='<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=so,ke="o-multiselect",En="a-checkbox",Dn="a-text-input",co="prev",tr="next",Gr="Enter",On=" ",uo="Escape",Ln="ArrowUp",po="ArrowDown",fo="Tab",ho={renderTags:!0,maxSelections:5};function rr(e){e.classList.add(ke);let t=we(e,ke),r=!1,a,o,i,l,d,s,p,c,v,y,m,E=[],_;function k(){m.classList.remove("u-no-results"),m.classList.add("u-filtered");let f=i.getLastFilterIndices();for(let b=0,x=f.length;b<x;b++)E[f[b]].classList.remove("u-filter-match");f=i.getFilterIndices();for(let b=0,x=f.length;b<x;b++)E[f[b]].classList.add("u-filter-match")}function L(){m.classList.remove("u-filtered","u-no-results");for(let f=0,b=m.children.length;f<b;f++)m.children[f].classList.remove("u-filter-match");i.clearFilter()}function T(){m.classList.add("u-no-results"),m.classList.remove("u-filtered")}function B(f){return f.length>0?(k(),!0):(T(),!1)}function n(f){L(),i.resetIndex();let b=i.filterIndices(f);B(b)}function g(){return s.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),_.dispatchEvent("expandbegin",{target:_}),_}function h(){return s.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),_.dispatchEvent("collapsebegin",{target:_}),_}function A(f){f===tr?i.setIndex(i.getIndex()+1):f===co&&i.setIndex(i.getIndex()-1);let b=i.getIndex();if(b>-1){let x=b,D=i.getFilterIndices();D.length>0&&(x=D[b]);let W=i.getOption(x).value,Te=m.querySelector('[data-option="'+W+'"]').querySelector("input");r=!0,Te.focus()}else r=!1,v.focus()}function S(){v.value="",L()}function C(f){let b=f.target;b.tagName==="BUTTON"&&(f.preventDefault(),b.removeEventListener("click",C),b.querySelector("label").click())}function M(f){if(f.key===On||f.key===Gr){let b=f.target.querySelector("label");m.querySelector("#"+b.getAttribute("for")).click()}}function z(f){return a+"-"+f.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function P(f,b){let x=z(b),D=_e("li",null,{"data-option":b.value}),N=_e("button",D,{type:"button",class:"a-tag-filter",innerHTML:"<label for="+x+">"+b.text+Sn+"</label>"});f.appendChild(D),N.addEventListener("click",C),N.addEventListener("keydown",M)}function V(f){let b=i.getOption(f)||i.getOption(i.getIndex());if(b){if(b.checked){m.classList.contains("u-max-selections")&&m.classList.remove("u-max-selections");let x='[data-option="'+b.value+'"]',D=p.querySelector(x);typeof D!="undefined"&&D&&(p==null||p.removeChild(D))}else d!=null&&d.renderTags&&p&&P(p,b);i.toggleOption(f),i.isAtMaxSelections()&&m.classList.add("u-max-selections"),_.dispatchEvent("selectionsupdated",{target:_})}i.resetIndex(),r=!1,y.getAttribute("aria-hidden")==="false"&&v.focus()}function re(f){V(Number(f.target.getAttribute("data-index"))),S()}function ae(){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"&&g()}),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!==fo&&g(),D===Gr?(x.preventDefault(),A(tr)):D===uo?(S(),h()):D===po?A(tr):D===fo&&!x.shiftKey&&y.getAttribute("aria-hidden")==="false"&&h()}),m.addEventListener("mousedown",function(){r=!0}),m.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===uo?(v.focus(),h()):D===Ln?A(co):D===po&&A(tr)}),y.addEventListener("mousedown",function(x){x.target.tagName==="LABEL"&&(r=!0)});let f=m.querySelectorAll("input");for(let x=0,D=f.length;x<D;x++)f[x].addEventListener("change",re);let b=p.querySelectorAll("button");for(let x=0,D=b.length;x<D;x++)b[x].addEventListener("click",C),b[x].addEventListener("keydown",M)}function F(){s=document.createElement("div"),s.className=ke,p=_e("ul",null,{className:"m-tag-group"}),c=_e("header",s,{className:ke+"__header"}),v=_e("input",c,{className:ke+"__search "+Dn,type:"text",placeholder:o||"Select up to five",id:t.id,autocomplete:"off"}),y=_e("fieldset",s,{className:ke+"__fieldset u-invisible","aria-hidden":"true"});let f=ke+"__options";i.isAtMaxSelections()&&(f+=" u-max-selections"),m=_e("ul",y,{className:f});let b,x,D;for(let N=0,W=l.length;N<W;N++){b=l[N],x=z(b),D=i.getOption(N).checked;let Y=_e("li",m,{"data-option":b.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});_e("input",Y,{id:x,type:"checkbox",value:b.value,name:a,class:En+" "+ke+"__checkbox",checked:D,"data-index":N}),_e("label",Y,{for:x,textContent:b.text,className:ke+"__label a-label"}),E.push(Y),D&&(d!=null&&d.renderTags)&&P(p,b)}return s.insertBefore(p,c),t.parentNode.insertBefore(s,t),s.appendChild(t),s}function X(f=ho){if(!be(t))return this;if(zr())return this;if(_=this,a=t.name||t.id,o=t.getAttribute("placeholder"),l=t.options||[],d=nr(nr({},ho),f),l.length>0){i=new lo(l,a,d).init();let b=F();t.parentNode.removeChild(t),t=b,be(t),ae()}return this}function U(){return i}this.init=X,this.expand=g,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 ea={};j(ea,{default:()=>Hn});var Hn={};var ta={};j(ta,{default:()=>Fn});var Fn={};var ra={};j(ra,{default:()=>Wn});var Wn={};var aa={};j(aa,{default:()=>Xn});var Xn={};var oa={};j(oa,{default:()=>Kn});var Kn={};var ia={};j(ia,{default:()=>Zn});var Zn={};var na={};j(na,{default:()=>el});var el={};var la={};j(la,{default:()=>rl});var rl={};var sa={};j(sa,{default:()=>ol});var ol={};var da={};j(da,{default:()=>nl});var nl={};var ca={};j(ca,{default:()=>sl});var sl={};var ua={};j(ua,{default:()=>cl});var cl={};var pa={};j(pa,{default:()=>pl});var pl={};var fa={};j(fa,{default:()=>hl});var hl={};var mo={};j(mo,{default:()=>bl});var bl={};var bo="data-tooltip";function ar(e){let t=e.getAttribute(bo);function r(){return this.tooltip=to(e,{theme:"cfpb",maxWidth:450,content:function(a){let o=a.parentElement.querySelector(`#${t}`),i=document.createElement("div"),l=document.importNode(o.content,!0);return i.appendChild(l),i},plugins:[{name:"hideOnEsc",defaultValue:!0,fn({hide:a}){function o(i){i.key==="Escape"&&a()}return{onShow(){document.body.addEventListener("keydown",o)},onHide(){document.body.removeEventListener("keydown",o)}}}}]})}return this.init=r,this.tooltip=null,this}ar.BASE_ATTRIBUTE=bo;ar.init=e=>de(`[${ar.BASE_ATTRIBUTE}]`,ar,e);})();
|
|
2
2
|
//# sourceMappingURL=index.js.map
|