@cfpb/cfpb-design-system 3.14.0 → 4.0.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.
Files changed (35) hide show
  1. package/CHANGELOG.md +35 -1
  2. package/dist/base/index.css +1 -1
  3. package/dist/base/index.css.map +2 -2
  4. package/dist/base/index.js.map +1 -1
  5. package/dist/components/cfpb-buttons/index.css +1 -1
  6. package/dist/components/cfpb-buttons/index.css.map +2 -2
  7. package/dist/components/cfpb-buttons/index.js.map +1 -1
  8. package/dist/components/cfpb-expandables/index.css +1 -1
  9. package/dist/components/cfpb-expandables/index.css.map +2 -2
  10. package/dist/components/cfpb-expandables/index.js +1 -1
  11. package/dist/components/cfpb-expandables/index.js.map +4 -4
  12. package/dist/components/cfpb-forms/index.css +1 -1
  13. package/dist/components/cfpb-forms/index.css.map +2 -2
  14. package/dist/components/cfpb-forms/index.js +1 -1
  15. package/dist/components/cfpb-forms/index.js.map +4 -4
  16. package/dist/elements/cfpb-button/index.js +3 -3
  17. package/dist/elements/cfpb-button/index.js.map +3 -3
  18. package/dist/elements/cfpb-file-upload/index.js +4 -3
  19. package/dist/elements/cfpb-file-upload/index.js.map +4 -4
  20. package/dist/index.css +1 -1
  21. package/dist/index.css.map +2 -2
  22. package/dist/index.js +4 -4
  23. package/dist/index.js.map +3 -3
  24. package/package.json +2 -1
  25. package/src/abstracts/vars.scss +1 -1
  26. package/src/base/base.scss +5 -0
  27. package/src/base/font.scss +11 -13
  28. package/src/components/cfpb-buttons/button.scss +1 -1
  29. package/src/components/cfpb-expandables/summary-minimal.scss +5 -0
  30. package/src/components/cfpb-expandables/summary.scss +10 -2
  31. package/src/components/cfpb-forms/search-input.scss +4 -7
  32. package/src/components/cfpb-forms/tag.scss +2 -2
  33. package/src/components/cfpb-typography/mixins.scss +1 -1
  34. package/src/elements/cfpb-button/index.js +5 -3
  35. package/src/elements/cfpb-file-upload/index.js +10 -3
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- (()=>{var vt=Object.defineProperty;var gt=Object.getOwnPropertySymbols;var ua=Object.prototype.hasOwnProperty,pa=Object.prototype.propertyIsEnumerable;var _t=t=>{throw TypeError(t)};var cr=(t,e,r)=>e in t?vt(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,lr=(t,e)=>{for(var r in e||(e={}))ua.call(e,r)&&cr(t,r,e[r]);if(gt)for(var r of gt(e))pa.call(e,r)&&cr(t,r,e[r]);return t};var v=(t,e)=>{for(var r in e)vt(t,r,{get:e[r],enumerable:!0})};var ue=(t,e,r)=>cr(t,typeof e!="symbol"?e+"":e,r),fa=(t,e,r)=>e.has(t)||_t("Cannot "+r);var yt=(t,e,r)=>e.has(t)?_t("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var te=(t,e,r)=>(fa(t,e,"access private method"),r);var xt=(t,e,r)=>new Promise((a,o)=>{var i=d=>{try{c(r.next(d))}catch(s){o(s)}},n=d=>{try{c(r.throw(d))}catch(s){o(s)}},c=d=>d.done?a(d.value):Promise.resolve(d.value).then(i,n);c((r=r.apply(t,e)).next())});var Me={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};var sr={};v(sr,{default:()=>ma});var ma={};var hr={};v(hr,{default:()=>va});var va={};var ur={};v(ur,{default:()=>ya});var ya={};var pr={};v(pr,{default:()=>wa});var wa={};var fr={};v(fr,{default:()=>Ea});var Ea={};var br={};v(br,{default:()=>Sa});var Sa={};function Ie(){let t=getComputedStyle(document.body).fontSize;return t=t===""?-1:t,parseFloat(t)}function $a(t,e){let r=t.min,a=t.max;Ie()>0&&Ie()!==16&&(r=r/16*Ie(),a=a/16*Ie());let i=r||0,n=a||Number.POSITIVE_INFINITY;return i<=e&&e<=n}function La(t){let e={};t=t||window.innerWidth;let r;for(r in Me)e[r]=$a(Me[r],t);return e}var Ne="mobile",za="tablet",Ta="desktop";function mr(t){let e=!1,r=La();return(t===Ne&&r.bpXS||t===za&&r.bpSM||t===Ta&&(r.bpMED||r.bpLG||r.bpXL))&&(e=!0),e}var I="data-js-hook",pe="behavior_",gr="state_";function z(){let t={};function e(o,i){return{}.hasOwnProperty.call(t,o)?t[o].push(i):t[o]=[i],this}function r(o,i){if(!{}.hasOwnProperty.call(t,o))return this;let n=t[o].indexOf(i);return n!==-1&&t[o].splice(n,1),this}function a(o,i){if(!{}.hasOwnProperty.call(t,o))return this;i=i||{};let n=t[o];for(let c=0,d=n.length;c<d;c++)n[c].call(this,i);return this}return this.addEventListener=e,this.removeEventListener=r,this.dispatchEvent=a,this.getRegisteredEvents=()=>t,this}function ae(t,e){if(!t)return!1;let r=t.getAttribute(I);return r?(r=r.split(" "),r.indexOf(e)>-1):!1}function T(t,e){if(ae(t,e))return e;if(e.indexOf(" ")!==-1){let a=I+" values cannot contain spaces!";throw new Error(a)}let r=t.getAttribute(I);return r!==null&&(e=r+" "+e),t.setAttribute(I,e),e}var vr=gr+"atomic_init";function Ca(t,e){if(!t||!t.classList){let r=t+' is not valid. Check that element is a DOM node with class "'+e+'"';throw new Error(r)}return t}function Oa(t,e){let r=t.classList.contains(e)?t:t.querySelector("."+e);if(!r){let a=e+" not found on or in passed DOM node.";throw new Error(a)}return r}function H(t,e){return Ca(t,e),Oa(t,e)}function j(t){return ae(t,vr)?!1:(T(t,vr),!0)}function P(t,e,r,a={}){let i=(r||document).querySelectorAll(t),n=[],c,d;for(let s=0,l=i.length;s<l;s++)d=i[s],ae(d,vr)===!1&&(c=new e(d),c.init(a),n.push(c));return n}function wt(t,e){e=e||document;let r=[];try{r=e.querySelectorAll(t)}catch(a){let o=`${t} not found in DOM! ${a}`;throw new Error(o)}return r.length===0&&t.indexOf(pe)===-1&&(r=kt(t,e)),r}function Ma(t,e,r,a){let o=[];t instanceof NodeList?o=t:t instanceof Node?o=[t]:typeof t=="string"&&(o=wt(t,a));for(let i=0,n=o.length;i<n;i++)o[i].addEventListener(e,r,!1);return o}function je(t,e){let r;if(ae(t,e))return r=t,r;if(t){let a="["+I+"="+e+"]";r=t.querySelector(a)}if(!r){let a=e+" behavior not found on passed DOM node!";throw new Error(a)}return r}function kt(t,e){return t=I+"*="+pe+t,t="["+t+"]",wt(t,e)}var ve=Object.prototype.toString;function Et(t){return typeof t=="undefined"}function Ia(t){return typeof t!="undefined"}function Na(t){return t!==null&&typeof t=="object"}function At(t){return ve.call(t)==="[object String]"}function ja(t){return ve.call(t)==="[object Number]"}function Da(t){return ve.call(t)==="[object Date]"}var qa=Array.isArray||function(e){return ve.call(e)==="[object Array]"};function Ha(t){return ve.call(t)==="[object Function]"}function Pa(t){return Et(t)||t===null||At(t)&&t.length<=0||/^\s*$/.test(t)}function _r(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}function x(t,e,r){let a=e,o=t;if(!r)throw new Error("Child transition argument must be defined!");let i=r,n,c,d,s=!1,l=!1,p=!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 b(){c&&s?(o.addEventListener(c,d),i.dispatchEvent(x.BEGIN_EVENT,{target:i,type:x.BEGIN_EVENT}),o.classList.add(x.ANIMATING_CLASS),l=!0):(i.dispatchEvent(x.BEGIN_EVENT,{target:i,type:x.BEGIN_EVENT}),d())}function g(){o.removeEventListener(c,d)}function S(y){return y&&y.propertyName!==a.CSS_PROPERTY?!1:(g(),o.classList.remove(x.ANIMATING_CLASS),i.dispatchEvent(x.END_EVENT,{target:i,type:x.END_EVENT}),l=!1,!0)}function A(){let y;for(y in a)({}).hasOwnProperty.call(a,y)&&a[y]!==a.BASE_CLASS&&o.classList.contains(a[y])&&o.classList.remove(a[y])}function $(){l&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(c,d),d(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function C(){$(),A(),o.classList.remove(a.BASE_CLASS)}function U(){o.classList.remove(x.NO_ANIMATION_CLASS),s=!0}function G(){o.classList.add(x.NO_ANIMATION_CLASS),s=!1}function M(y){if(!y){let he="Element does not have TransitionEnd event. It may be null!";throw new Error(he)}let O,q={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},X;for(X in q)if({}.hasOwnProperty.call(q,X)&&typeof y.style[X]!="undefined"){O=q[X];break}return O}function _(y){C(),U(),o=y,o.classList.add(a.BASE_CLASS),c=M(o)}function w(y){if(s=!o.classList.contains(x.NO_ANIMATION_CLASS),d=S.bind(this),_(o),!y)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(y),this}function L(y){return p||(A(),p=!0),o.classList.contains(y)?!1:(g(),o.classList.remove(n),n=y,b(),o.classList.add(n),!0)}return this.animateOff=G,this.animateOn=U,this.applyClass=L,this.halt=$,this.init=w,this.isAnimated=()=>s,this.remove=C,this.setElement=_,this}x.BEGIN_EVENT="transitionbegin";x.END_EVENT="transitionend";x.NO_ANIMATION_CLASS="u-no-animation";x.ANIMATING_CLASS="u-is-animating";var _e=pe+"flyout-menu",Ra="["+I+"="+_e;function Y(t,e=!0){let r=je(t,_e),a=U(t),o=je(t,_e+"_content"),i=0,n=0,c=1,d=2,s=3,l,p,b,g=he.bind(this),S=X.bind(this),A,$=!0,C=!1;function U(h){let u=[],f=h.querySelectorAll(`${Ra}_trigger]`),m,k,K;for(let F=f.length>>>0;F--;){for(K=!1,m=f[F],k=m.parentElement;k!==h;)k.getAttribute(I)&&k.getAttribute(I).split(" ").indexOf(_e)!==-1?(K=!0,k=h):k=k.parentElement;K||u.unshift(f[F])}return u}function G(h=!1){return i=h?s:n,a.forEach(u=>{M("expanded",u,h),u.addEventListener("click",y.bind(this)),u.addEventListener("touchstart",_,{passive:!0}),u.addEventListener("mouseover",w.bind(this)),u.addEventListener("mouseout",L.bind(this))}),o.setAttribute("data-open",h?"true":"false"),e&&!h&&o.setAttribute("hidden",""),Oe(),this}function M(h,u,f){let m=String(f);return u.setAttribute("aria-"+h,m),m}function _(){C=!0}function w(h){$||(C||this.dispatchEvent("triggerover",{target:this,trigger:h.target,type:"triggerover"}),C=!1)}function L(h){$||this.dispatchEvent("triggerout",{target:this,trigger:h.target,type:"triggerout"})}function y(h){if(!$)switch(this.dispatchEvent("triggerclick",{target:this,trigger:h.target,type:"triggerclick"}),h.preventDefault(),i){case n:case c:this.expand();break;case d:case s:this.collapse();break}}function O(){if(l==null||l.halt(),i===d||i===s)return this;if(i=d,e&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!p||!b)return S(),this;let h=l==null?void 0:l.isAnimated();return h&&l.addEventListener(x.END_EVENT,S),p(),h||S(),this}function q(){if(l==null||l.halt(),i===c||i===n)return this;for(let u=0,f=a.length;u<f;u++)M("expanded",a[u],!1);if(o.setAttribute("data-open","false"),i=c,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!b||!p)return g(),this;let h=l==null?void 0:l.isAnimated();return h&&l.addEventListener(x.END_EVENT,g),b(),h||g(),this}function X(){i=s,o.setAttribute("data-open","true"),l&&l.removeEventListener(x.END_EVENT,S),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let h=0,u=a.length;h<u;h++)M("expanded",a[h],!0)}function he(){i=n,e&&o.setAttribute("hidden",""),l&&l.removeEventListener(x.END_EVENT,g),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function Ce(h,u,f){l=h,u&&u!==b&&(b=u),f&&f!==p&&(p=f)}function or(){l&&l.remove();let h;l=h,p=h,b=h}function ir(){return{container:r,content:o,trigger:a}}function Oe(){return $&&($=!1),!$}function nr(){return $||($=!0),$}function dr(h){return A=h,this}let re=new z;return this.addEventListener=re.addEventListener,this.removeEventListener=re.removeEventListener,this.dispatchEvent=re.dispatchEvent,this.init=G,this.expand=O,this.collapse=q,this.setTransition=Ce,this.clearTransition=or,this.getData=()=>A,this.getTransition=()=>l,this.getDom=ir,this.isAnimating=()=>i===d||i===c,this.isExpanded=()=>i===s,this.resume=Oe,this.setData=dr,this.suspend=nr,Y.BASE_CLASS=_e,this}var De={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function St(t){let e=new z,r=new x(t,De,this);function a(n){return r.init(n),this}function o(){return r.applyClass(De.ALPHA_100),this}function i(){return r.applyClass(De.ALPHA_0),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.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}St.CLASSES=De;var ye={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 N(t){let e=new z,r=new x(t,ye,this),a=0;function o(){let b=t.scrollHeight+"px";t.style.maxHeight=b}function i(){window.removeEventListener("load",i),o()}function n(p){return r.init(p),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function c(){return o(),r.applyClass(ye.MH_DEFAULT),(!a||t.scrollHeight>a)&&(a=t.scrollHeight),this}function d(){return r.applyClass(ye.MH_SUMMARY),a=t.scrollHeight,this}function s(){return r.applyClass(ye.MH_ZERO),a=t.scrollHeight,this}function l(){return t.style.maxHeight="",r.remove()}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.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=l,this.init=n,this.maxHeightDefault=c,this.maxHeightSummary=d,this.maxHeightZero=s,this}N.CLASSES=ye;var J={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 $t(t){let e=new z,r=new x(t,J,this);function a(d){return r.init(d),this}function o(){return r.applyClass(J.MOVE_TO_ORIGIN),this}function i(d){d=d||1;let s=[J.MOVE_LEFT,J.MOVE_LEFT_2X,J.MOVE_LEFT_3X];return r.applyClass(s[d-1]),this}function n(){return r.applyClass(J.MOVE_RIGHT),this}function c(){return r.applyClass(J.MOVE_UP),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.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=n,this.moveToOrigin=o,this.moveUp=c,this}$t.CLASSES=J;var yr={};v(yr,{default:()=>Fa});var Fa={};var fe="o-expandable";function Q(t){let e=H(t,fe),r,a,o,i,n;function c(){if(!j(e))return this;r=e.querySelector(`.${fe}__header`),a=e.querySelector(`.${fe}__content`),o=e.querySelector(`.${fe}__label`);let l=e.classList.contains(`${fe}--onload-open`);T(e,"behavior_flyout-menu"),T(r,"behavior_flyout-menu_trigger"),T(a,"behavior_flyout-menu_content");let p=l?N.CLASSES.MH_DEFAULT:N.CLASSES.MH_ZERO;return i=new N(a).init(p),n=new Y(e),n.setTransition(i,i.maxHeightZero,i.maxHeightDefault),n.init(l),n.addEventListener("expandbegin",()=>{a.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),n.addEventListener("collapseend",()=>{a.classList.add("u-hidden")}),this}function d(){return o.textContent.trim()}this.init=c,this.expand=()=>n.expand(),this.collapse=()=>n.collapse(),this.isExpanded=()=>n.isExpanded(),this.refresh=()=>n.getTransition().refresh(),this.getLabelText=d;let s=new z;return this.addEventListener=s.addEventListener,this.removeEventListener=s.removeEventListener,this.dispatchEvent=s.dispatchEvent,this}Q.BASE_CLASS=fe;Q.init=t=>P(`.${Q.BASE_CLASS}`,Q,t);var xr={};v(xr,{default:()=>Ga});var Ga={};var qe="o-expandable-group";function He(t){let e=H(t,qe),r=e.classList.contains(`${qe}--accordion`),a,o;function i(c){let d=c.target;o&&o!==d&&o.collapse(),o=d}function n(c){return j(e)?(r&&(a=c,a.forEach(d=>{d.addEventListener("expandbegin",i)})),this):this}return this.init=n,this}He.BASE_CLASS=qe;He.init=t=>{(t||document).querySelectorAll(`.${qe}`).forEach(a=>{let o=P(`.${Q.BASE_CLASS}`,Q,a);new He(a).init(o)})};var wr={};v(wr,{default:()=>Ka});var Ka={};var be="o-summary";function Pe(t){let e=H(t,be),r=e.classList.contains(`${be}--mobile`),a=e.querySelector(`.${be}__content`),o=e.querySelector(`.${be}__btn`),i,n,c;function d(){return j(e)?(window.addEventListener("load",s),this):this}function s(){window.removeEventListener("load",s),c=!g(),T(e,"behavior_flyout-menu"),T(a,"behavior_flyout-menu_content"),T(o,"behavior_flyout-menu_trigger"),n=new Y(e,!1),i=new N(a),i.init(c?N.CLASSES.MH_SUMMARY:N.CLASSES.MH_DEFAULT),n.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),n.addEventListener("triggerclick",S),n.init(),b(),window.addEventListener("resize",b),"onorientationchange"in window&&window.addEventListener("orientationchange",b),e.addEventListener("focusin",l),a.addEventListener("click",p)}function l(_){!c&&_.target!==o&&(o.click(),e.removeEventListener("focusin",l))}function p(_){_.target.tagName!=="A"&&n.isExpanded()&&i.refresh()}function b(){g()?G():U()}function g(){return r&&!mr(Ne)||a.scrollHeight<=88}function S(){n.addEventListener("expandend",A)}function A(){C(),window.removeEventListener("resize",b),window.removeEventListener("orientationchange",b),n.removeEventListener("expandend",A),n.suspend(),i.remove()}function $(){o.classList.remove("u-hidden")}function C(){o.classList.add("u-hidden")}function U(){return c&&(n.collapse(),i.animateOn(),$(),c=!1),!c}function G(){return c||(i.animateOff(),n.expand(),C(),c=!0),c}let M=new z;return this.addEventListener=M.addEventListener,this.removeEventListener=M.removeEventListener,this.dispatchEvent=M.dispatchEvent,this.init=d,this}Pe.BASE_CLASS=be;Pe.init=t=>P(`.${be}`,Pe,t);var xe="o-summary-minimal";function Be(t){let e=H(t,xe),r=e.querySelector(`.${xe}__content`),a=e.querySelector(`.${xe}__btn`),o,i;function n(){return j(e)?(T(e,"behavior_flyout-menu"),T(r,"behavior_flyout-menu_content"),T(a,"behavior_flyout-menu_trigger"),window.addEventListener("load",c),this):this}function c(){window.removeEventListener("load",c),i=new Y(e,!1),o=new N(r),o.init(N.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),e.addEventListener("focusin",d),r.addEventListener("click",s),i.collapse(),o.animateOn()}function d(p){p.target!==a&&(a.click(),e.removeEventListener("focusin",d))}function s(p){p.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let l=new z;return this.addEventListener=l.addEventListener,this.removeEventListener=l.removeEventListener,this.dispatchEvent=l.dispatchEvent,this.init=n,this}Be.BASE_CLASS=xe;Be.init=t=>P(`.${xe}`,Be,t);var kr={};v(kr,{default:()=>Ya});var Ya={};var Er={};v(Er,{default:()=>Qa});var Qa={};var Ar={};v(Ar,{default:()=>ro});var ro={};var Sr={};v(Sr,{default:()=>ao});var ao={};var $r={};v($r,{default:()=>io});var io={};var Lr={};v(Lr,{default:()=>co});var co={};var zr={};v(zr,{default:()=>so});var so={};var Tr={};v(Tr,{default:()=>uo});var uo={};var Cr={};v(Cr,{default:()=>fo});var fo={};var bo;function mo(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function go(t,e){return RegExp(mo(e.trim()),"i").test(t)}function vo(t,e,r){let a=t,o=e,i=(r==null?void 0:r.maxSelections)||5,n=[],c=[],d=[],s=[],l=-1;function p(_){return o+"-"+_.value.trim().replace(/\s+/g,"-").toLowerCase()}function b(){return c.length>=i}function g(_){let w,L=[],y=!1;for(let O=0,q=_.length;O<q;O++)w=_[O],y=b()?!1:w.defaultSelected,L.push({id:p(w),value:w.value,text:w.text,checked:y}),y&&c.push(O);return L}function S(){return n=g(a),this}function A(_){return n[_].checked=!n[_].checked,c.length<i&&n[_].checked?(c.push(_),c.sort(),!0):(n[_].checked=!1,c=c.filter(function(w){return w!==_}),!1)}function $(_,w,L,y){return go(w.text,y)&&_.push(L),_}function C(_){return Object.prototype.toString.call(_)!=="[object String]"&&(_=""),s=d,n.length>0&&(d=n.reduce(function(w,L,y){return $(w,L,y,_)},[])),l=-1,d}function U(_){return n[_]}function G(_){let w=d.length,L=w===0?n.length:w;_<0?l=-1:_>=L?l=L-1:l=_}function M(){return l}return this.init=S,this.toggleOption=A,this.getSelectedIndices=function(){return c},this.isAtMaxSelections=b,this.filterIndices=C,this.clearFilter=function(){return d=s=[],bo},this.getFilterIndices=function(){return d},this.getLastFilterIndices=function(){return s},this.getIndex=M,this.setIndex=G,this.resetIndex=function(){return l=-1,l},this.getOption=U,this}var Lt=vo;function B(t,e,r){let a=document.createElement(t);return Object.keys(r).forEach(o=>{let i=r[o];o in a?a[o]=i:a.setAttribute(o,i)}),e&&e.appendChild(a),a}var zt='<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 ko=zt,R="o-multiselect",Eo="a-checkbox",Ao="a-text-input",Tt="prev",Re="next",Or="Enter",So=" ",Ct="Escape",$o="ArrowUp",Ot="ArrowDown",Mt="Tab",It={renderTags:!0,maxSelections:5};function Ue(t){t.classList.add(R);let e=H(t,R),r=!1,a,o,i,n,c,d,s,l,p,b,g,S=[],A;function $(){g.classList.remove("u-no-results"),g.classList.add("u-filtered");let h=i.getLastFilterIndices();for(let u=0,f=h.length;u<f;u++)S[h[u]].classList.remove("u-filter-match");h=i.getFilterIndices();for(let u=0,f=h.length;u<f;u++)S[h[u]].classList.add("u-filter-match")}function C(){g.classList.remove("u-filtered","u-no-results");for(let h=0,u=g.children.length;h<u;h++)g.children[h].classList.remove("u-filter-match");i.clearFilter()}function U(){g.classList.add("u-no-results"),g.classList.remove("u-filtered")}function G(h){return h.length>0?($(),!0):(U(),!1)}function M(h){C(),i.resetIndex();let u=i.filterIndices(h);G(u)}function _(){return d.classList.add("u-active"),b.classList.remove("u-invisible"),b.setAttribute("aria-hidden",!1),A.dispatchEvent("expandbegin",{target:A}),A}function w(){return d.classList.remove("u-active"),b.classList.add("u-invisible"),b.setAttribute("aria-hidden",!0),i.resetIndex(),A.dispatchEvent("collapsebegin",{target:A}),A}function L(h){h===Re?i.setIndex(i.getIndex()+1):h===Tt&&i.setIndex(i.getIndex()-1);let u=i.getIndex();if(u>-1){let f=u,m=i.getFilterIndices();m.length>0&&(f=m[u]);let K=i.getOption(f).value,ha=g.querySelector('[data-option="'+K+'"]').querySelector("input");r=!0,ha.focus()}else r=!1,p.focus()}function y(){p.value="",C()}function O(h){let u=h.target;u.tagName==="BUTTON"&&(h.preventDefault(),u.removeEventListener("click",O),u.querySelector("label").click())}function q(h){if(h.key===So||h.key===Or){let u=h.target.querySelector("label");g.querySelector("#"+u.getAttribute("for")).click()}}function X(h){return a+"-"+h.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function he(h,u){let f=X(u),m=B("li",null,{"data-option":u.value}),k=B("button",m,{type:"button",class:"a-tag-filter",innerHTML:"<label for="+f+">"+u.text+ko+"</label>"});h.appendChild(m),k.addEventListener("click",O),k.addEventListener("keydown",q)}function Ce(h){let u=i.getOption(h)||i.getOption(i.getIndex());if(u){if(u.checked){g.classList.contains("u-max-selections")&&g.classList.remove("u-max-selections");let f='[data-option="'+u.value+'"]',m=s.querySelector(f);typeof m!="undefined"&&m&&(s==null||s.removeChild(m))}else c!=null&&c.renderTags&&s&&he(s,u);i.toggleOption(h),i.isAtMaxSelections()&&g.classList.add("u-max-selections"),A.dispatchEvent("selectionsupdated",{target:A})}i.resetIndex(),r=!1,b.getAttribute("aria-hidden")==="false"&&p.focus()}function or(h){Ce(Number(h.target.getAttribute("data-index"))),y()}function ir(){l.addEventListener("mousemove",function(f){let m=f.target;f.offsetX>m.offsetWidth-35?m.style.cursor="pointer":m.style.cursor="auto"}),l.addEventListener("mouseup",function(f){let m=f.target;f.offsetX>m.offsetWidth-35&&b.offsetHeight===140&&p.blur()}),p.addEventListener("input",function(){M(this.value)}),p.addEventListener("focus",function(){b.getAttribute("aria-hidden")==="true"&&_()}),p.addEventListener("blur",function(){!r&&b.getAttribute("aria-hidden")==="false"&&w()}),p.addEventListener("keydown",function(f){let m=f.key;b.getAttribute("aria-hidden")==="true"&&m!==Mt&&_(),m===Or?(f.preventDefault(),L(Re)):m===Ct?(y(),w()):m===Ot?L(Re):m===Mt&&!f.shiftKey&&b.getAttribute("aria-hidden")==="false"&&w()}),g.addEventListener("mousedown",function(){r=!0}),g.addEventListener("keydown",function(f){let m=f.key,k=f.target,K=k.checked;if(m===Or){f.preventDefault(),k.checked=!K;let F=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(F)}else m===Ct?(p.focus(),w()):m===$o?L(Tt):m===Ot&&L(Re)}),b.addEventListener("mousedown",function(f){f.target.tagName==="LABEL"&&(r=!0)});let h=g.querySelectorAll("input");for(let f=0,m=h.length;f<m;f++)h[f].addEventListener("change",or);let u=s.querySelectorAll("button");for(let f=0,m=u.length;f<m;f++)u[f].addEventListener("click",O),u[f].addEventListener("keydown",q)}function Oe(){d=document.createElement("div"),d.className=R,s=B("ul",null,{className:"m-tag-group"}),l=B("header",d,{className:R+"__header"}),p=B("input",l,{className:R+"__search "+Ao,type:"text",placeholder:o||"Select up to five",id:e.id,autocomplete:"off"}),b=B("fieldset",d,{className:R+"__fieldset u-invisible","aria-hidden":"true"});let h=R+"__options";i.isAtMaxSelections()&&(h+=" u-max-selections"),g=B("ul",b,{className:h});let u,f,m;for(let k=0,K=n.length;k<K;k++){u=n[k],f=X(u),m=i.getOption(k).checked;let F=B("li",g,{"data-option":u.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});B("input",F,{id:f,type:"checkbox",value:u.value,name:a,class:Eo+" "+R+"__checkbox",checked:m,"data-index":k}),B("label",F,{for:f,textContent:u.text,className:R+"__label a-label"}),S.push(F),m&&(c!=null&&c.renderTags)&&he(s,u)}return d.insertBefore(s,l),e.parentNode.insertBefore(d,e),d.appendChild(e),d}function nr(h=It){if(!j(e))return this;if(_r())return this;if(A=this,a=e.name||e.id,o=e.getAttribute("placeholder"),n=e.options||[],c=lr(lr({},It),h),n.length>0){i=new Lt(n,a,c).init();let u=Oe();e.parentNode.removeChild(e),e=u,j(e),ir()}return this}function dr(){return i}this.init=nr,this.expand=_,this.collapse=w;let re=new z;return this.addEventListener=re.addEventListener,this.removeEventListener=re.removeEventListener,this.dispatchEvent=re.dispatchEvent,this.getModel=dr,this.updateSelections=Ce,this.selectionClickHandler=O,this.selectionKeyDownHandler=q,this}Ue.BASE_CLASS=R;Ue.init=t=>P(`.${R}`,Ue,void 0,t);var Mr={};v(Mr,{default:()=>zo});var zo={};var Ir={};v(Ir,{default:()=>Co});var Co={};var Nr={};v(Nr,{default:()=>Mo});var Mo={};var jr={};v(jr,{default:()=>No});var No={};var Dr={};v(Dr,{default:()=>Do});var Do={};var qr={};v(qr,{default:()=>Ho});var Ho={};var Hr={};v(Hr,{default:()=>Bo});var Bo={};var Pr={};v(Pr,{default:()=>Uo});var Uo={};var Br={};v(Br,{default:()=>Vo});var Vo={};var Rr={};v(Rr,{default:()=>Xo});var Xo={};var Ur={};v(Ur,{default:()=>Wo});var Wo={};var Fr={};v(Fr,{default:()=>Yo});var Yo={};var Vr={};v(Vr,{default:()=>Qo});var Qo={};var Gr={};v(Gr,{default:()=>ri});var ri={};var Xr={};v(Xr,{default:()=>ai});var ai={};var Kr={};v(Kr,{default:()=>ii});var ii={};var Wr={};v(Wr,{default:()=>di});var di={};var Zr={};v(Zr,{default:()=>li});var li={};var Yr={};v(Yr,{default:()=>hi});var hi={};var Jr={};v(Jr,{default:()=>pi});var pi={};var Fe=globalThis,Ve=Fe.ShadowRoot&&(Fe.ShadyCSS===void 0||Fe.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Qr=Symbol(),Nt=new WeakMap,we=class{constructor(e,r,a){if(this._$cssResult$=!0,a!==Qr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Ve&&e===void 0){let a=r!==void 0&&r.length===1;a&&(e=Nt.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),a&&Nt.set(r,e))}return e}toString(){return this.cssText}},me=t=>new we(typeof t=="string"?t:t+"",void 0,Qr),ke=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((a,o,i)=>a+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1],t[0]);return new we(r,t,Qr)},jt=(t,e)=>{if(Ve)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let a=document.createElement("style"),o=Fe.litNonce;o!==void 0&&a.setAttribute("nonce",o),a.textContent=r.cssText,t.appendChild(a)}},et=Ve?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let a of e.cssRules)r+=a.cssText;return me(r)})(t):t;var{is:fi,defineProperty:bi,getOwnPropertyDescriptor:mi,getOwnPropertyNames:gi,getOwnPropertySymbols:vi,getPrototypeOf:_i}=Object,ee=globalThis,Dt=ee.trustedTypes,yi=Dt?Dt.emptyScript:"",rt=ee.reactiveElementPolyfillSupport,Ee=(t,e)=>t,tt={toAttribute(t,e){switch(e){case Boolean:t=t?yi:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(a){r=null}}return r}},Rt=(t,e)=>!fi(t,e),qt={attribute:!0,type:String,converter:tt,reflect:!1,useDefault:!1,hasChanged:Rt},Ht,Pt;(Ht=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Pt=ee.litPropertyMetadata)!=null||(ee.litPropertyMetadata=new WeakMap);var W=class extends HTMLElement{static addInitializer(e){var r;this._$Ei(),((r=this.l)!=null?r:this.l=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=qt){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let a=Symbol(),o=this.getPropertyDescriptor(e,a,r);o!==void 0&&bi(this.prototype,e,o)}}static getPropertyDescriptor(e,r,a){var n;let{get:o,set:i}=(n=mi(this.prototype,e))!=null?n:{get(){return this[r]},set(c){this[r]=c}};return{get:o,set(c){let d=o==null?void 0:o.call(this);i==null||i.call(this,c),this.requestUpdate(e,d,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){var r;return(r=this.elementProperties.get(e))!=null?r:qt}static _$Ei(){if(this.hasOwnProperty(Ee("elementProperties")))return;let e=_i(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ee("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ee("properties"))){let r=this.properties,a=[...gi(r),...vi(r)];for(let o of a)this.createProperty(o,r[o])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[a,o]of r)this.elementProperties.set(a,o)}this._$Eh=new Map;for(let[r,a]of this.elementProperties){let o=this._$Eu(r,a);o!==void 0&&this._$Eh.set(o,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let a=new Set(e.flat(1/0).reverse());for(let o of a)r.unshift(et(o))}else e!==void 0&&r.push(et(e));return r}static _$Eu(e,r){let a=r.attribute;return a===!1?void 0:typeof a=="string"?a:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(r=>r(this))}addController(e){var r,a;((r=this._$EO)!=null?r:this._$EO=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&((a=e.hostConnected)==null||a.call(e))}removeController(e){var r;(r=this._$EO)==null||r.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let a of r.keys())this.hasOwnProperty(a)&&(e.set(a,this[a]),delete this[a]);e.size>0&&(this._$Ep=e)}createRenderRoot(){var r;let e=(r=this.shadowRoot)!=null?r:this.attachShadow(this.constructor.shadowRootOptions);return jt(e,this.constructor.elementStyles),e}connectedCallback(){var e,r;(e=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(r=this._$EO)==null||r.forEach(a=>{var o;return(o=a.hostConnected)==null?void 0:o.call(a)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(r=>{var a;return(a=r.hostDisconnected)==null?void 0:a.call(r)})}attributeChangedCallback(e,r,a){this._$AK(e,a)}_$ET(e,r){var i;let a=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,a);if(o!==void 0&&a.reflect===!0){let n=(((i=a.converter)==null?void 0:i.toAttribute)!==void 0?a.converter:tt).toAttribute(r,a.type);this._$Em=e,n==null?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(e,r){var i,n,c,d;let a=this.constructor,o=a._$Eh.get(e);if(o!==void 0&&this._$Em!==o){let s=a.getPropertyOptions(o),l=typeof s.converter=="function"?{fromAttribute:s.converter}:((i=s.converter)==null?void 0:i.fromAttribute)!==void 0?s.converter:tt;this._$Em=o,this[o]=(d=(c=l.fromAttribute(r,s.type))!=null?c:(n=this._$Ej)==null?void 0:n.get(o))!=null?d:null,this._$Em=null}}requestUpdate(e,r,a){var o,i;if(e!==void 0){let n=this.constructor,c=this[e];if(a!=null||(a=n.getPropertyOptions(e)),!(((o=a.hasChanged)!=null?o:Rt)(c,r)||a.useDefault&&a.reflect&&c===((i=this._$Ej)==null?void 0:i.get(e))&&!this.hasAttribute(n._$Eu(e,a))))return;this.C(e,r,a)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:a,reflect:o,wrapped:i},n){var c,d,s;a&&!((c=this._$Ej)!=null?c:this._$Ej=new Map).has(e)&&(this._$Ej.set(e,(d=n!=null?n:r)!=null?d:this[e]),i!==!0||n!==void 0)||(this._$AL.has(e)||(this.hasUpdated||a||(r=void 0),this._$AL.set(e,r)),o===!0&&this._$Em!==e&&((s=this._$Eq)!=null?s:this._$Eq=new Set).add(e))}_$EP(){return xt(this,null,function*(){this.isUpdatePending=!0;try{yield this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&(yield e),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var a,o;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((a=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[n,c]of this._$Ep)this[n]=c;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,c]of i){let{wrapped:d}=c,s=this[n];d!==!0||this._$AL.has(n)||s===void 0||this.C(n,void 0,c,s)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),(o=this._$EO)==null||o.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){var r;(r=this._$EO)==null||r.forEach(a=>{var o;return(o=a.hostUpdated)==null?void 0:o.call(a)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&(this._$Eq=this._$Eq.forEach(r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}},Bt;W.elementStyles=[],W.shadowRootOptions={mode:"open"},W[Ee("elementProperties")]=new Map,W[Ee("finalized")]=new Map,rt==null||rt({ReactiveElement:W}),((Bt=ee.reactiveElementVersions)!=null?Bt:ee.reactiveElementVersions=[]).push("2.1.0");var Se=globalThis,Ge=Se.trustedTypes,Ut=Ge?Ge.createPolicy("lit-html",{createHTML:t=>t}):void 0,it="$lit$",Z=`lit$${Math.random().toFixed(9).slice(2)}$`,nt="?"+Z,xi=`<${nt}>`,ne=document,$e=()=>ne.createComment(""),Le=t=>t===null||typeof t!="object"&&typeof t!="function",dt=Array.isArray,Zt=t=>dt(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",at=`[
2
- \f\r]`,Ae=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ft=/-->/g,Vt=/>/g,oe=RegExp(`>|${at}(?:([^\\s"'>=/]+)(${at}*=${at}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Gt=/'/g,Xt=/"/g,Yt=/^(?:script|style|textarea|title)$/i,ct=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Je=ct(1),nd=ct(2),dd=ct(3),de=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),Kt=new WeakMap,ie=ne.createTreeWalker(ne,129);function Jt(t,e){if(!dt(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ut!==void 0?Ut.createHTML(e):e}var Qt=(t,e)=>{let r=t.length-1,a=[],o,i=e===2?"<svg>":e===3?"<math>":"",n=Ae;for(let c=0;c<r;c++){let d=t[c],s,l,p=-1,b=0;for(;b<d.length&&(n.lastIndex=b,l=n.exec(d),l!==null);)b=n.lastIndex,n===Ae?l[1]==="!--"?n=Ft:l[1]!==void 0?n=Vt:l[2]!==void 0?(Yt.test(l[2])&&(o=RegExp("</"+l[2],"g")),n=oe):l[3]!==void 0&&(n=oe):n===oe?l[0]===">"?(n=o!=null?o:Ae,p=-1):l[1]===void 0?p=-2:(p=n.lastIndex-l[2].length,s=l[1],n=l[3]===void 0?oe:l[3]==='"'?Xt:Gt):n===Xt||n===Gt?n=oe:n===Ft||n===Vt?n=Ae:(n=oe,o=void 0);let g=n===oe&&t[c+1].startsWith("/>")?" ":"";i+=n===Ae?d+xi:p>=0?(a.push(s),d.slice(0,p)+it+d.slice(p)+Z+g):d+Z+(p===-2?c:g)}return[Jt(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),a]},ze=class t{constructor({strings:e,_$litType$:r},a){let o;this.parts=[];let i=0,n=0,c=e.length-1,d=this.parts,[s,l]=Qt(e,r);if(this.el=t.createElement(s,a),ie.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(o=ie.nextNode())!==null&&d.length<c;){if(o.nodeType===1){if(o.hasAttributes())for(let p of o.getAttributeNames())if(p.endsWith(it)){let b=l[n++],g=o.getAttribute(p).split(Z),S=/([.?@])?(.*)/.exec(b);d.push({type:1,index:i,name:S[2],strings:g,ctor:S[1]==="."?Ke:S[1]==="?"?We:S[1]==="@"?Ze:le}),o.removeAttribute(p)}else p.startsWith(Z)&&(d.push({type:6,index:i}),o.removeAttribute(p));if(Yt.test(o.tagName)){let p=o.textContent.split(Z),b=p.length-1;if(b>0){o.textContent=Ge?Ge.emptyScript:"";for(let g=0;g<b;g++)o.append(p[g],$e()),ie.nextNode(),d.push({type:2,index:++i});o.append(p[b],$e())}}}else if(o.nodeType===8)if(o.data===nt)d.push({type:2,index:i});else{let p=-1;for(;(p=o.data.indexOf(Z,p+1))!==-1;)d.push({type:7,index:i}),p+=Z.length-1}i++}}static createElement(e,r){let a=ne.createElement("template");return a.innerHTML=e,a}};function ce(t,e,r=t,a){var n,c,d;if(e===de)return e;let o=a!==void 0?(n=r._$Co)==null?void 0:n[a]:r._$Cl,i=Le(e)?void 0:e._$litDirective$;return(o==null?void 0:o.constructor)!==i&&((c=o==null?void 0:o._$AO)==null||c.call(o,!1),i===void 0?o=void 0:(o=new i(t),o._$AT(t,r,a)),a!==void 0?((d=r._$Co)!=null?d:r._$Co=[])[a]=o:r._$Cl=o),o!==void 0&&(e=ce(t,o._$AS(t,e.values),o,a)),e}var Xe=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var s;let{el:{content:r},parts:a}=this._$AD,o=((s=e==null?void 0:e.creationScope)!=null?s:ne).importNode(r,!0);ie.currentNode=o;let i=ie.nextNode(),n=0,c=0,d=a[0];for(;d!==void 0;){if(n===d.index){let l;d.type===2?l=new ge(i,i.nextSibling,this,e):d.type===1?l=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(l=new Ye(i,this,e)),this._$AV.push(l),d=a[++c]}n!==(d==null?void 0:d.index)&&(i=ie.nextNode(),n++)}return ie.currentNode=ne,o}p(e){let r=0;for(let a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(e,a,r),r+=a.strings.length-2):a._$AI(e[r])),r++}},ge=class t{get _$AU(){var e,r;return(r=(e=this._$AM)==null?void 0:e._$AU)!=null?r:this._$Cv}constructor(e,r,a,o){var i;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=a,this.options=o,this._$Cv=(i=o==null?void 0:o.isConnected)!=null?i:!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ce(this,e,r),Le(e)?e===E||e==null||e===""?(this._$AH!==E&&this._$AR(),this._$AH=E):e!==this._$AH&&e!==de&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Zt(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==E&&Le(this._$AH)?this._$AA.nextSibling.data=e:this.T(ne.createTextNode(e)),this._$AH=e}$(e){var i;let{values:r,_$litType$:a}=e,o=typeof a=="number"?this._$AC(e):(a.el===void 0&&(a.el=ze.createElement(Jt(a.h,a.h[0]),this.options)),a);if(((i=this._$AH)==null?void 0:i._$AD)===o)this._$AH.p(r);else{let n=new Xe(o,this),c=n.u(this.options);n.p(r),this.T(c),this._$AH=n}}_$AC(e){let r=Kt.get(e.strings);return r===void 0&&Kt.set(e.strings,r=new ze(e)),r}k(e){dt(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,a,o=0;for(let i of e)o===r.length?r.push(a=new t(this.O($e()),this.O($e()),this,this.options)):a=r[o],a._$AI(i),o++;o<r.length&&(this._$AR(a&&a._$AB.nextSibling,o),r.length=o)}_$AR(e=this._$AA.nextSibling,r){var a;for((a=this._$AP)==null?void 0:a.call(this,!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){var r;this._$AM===void 0&&(this._$Cv=e,(r=this._$AP)==null||r.call(this,e))}},le=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,a,o,i){this.type=1,this._$AH=E,this._$AN=void 0,this.element=e,this.name=r,this._$AM=o,this.options=i,a.length>2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=E}_$AI(e,r=this,a,o){let i=this.strings,n=!1;if(i===void 0)e=ce(this,e,r,0),n=!Le(e)||e!==this._$AH&&e!==de,n&&(this._$AH=e);else{let c=e,d,s;for(e=i[0],d=0;d<i.length-1;d++)s=ce(this,c[a+d],r,d),s===de&&(s=this._$AH[d]),n||(n=!Le(s)||s!==this._$AH[d]),s===E?e=E:e!==E&&(e+=(s!=null?s:"")+i[d+1]),this._$AH[d]=s}n&&!o&&this.j(e)}j(e){e===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}},Ke=class extends le{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===E?void 0:e}},We=class extends le{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==E)}},Ze=class extends le{constructor(e,r,a,o,i){super(e,r,a,o,i),this.type=5}_$AI(e,r=this){var n;if((e=(n=ce(this,e,r,0))!=null?n:E)===de)return;let a=this._$AH,o=e===E&&a!==E||e.capture!==a.capture||e.once!==a.once||e.passive!==a.passive,i=e!==E&&(a===E||o);o&&this.element.removeEventListener(this.name,this,a),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r,a;typeof this._$AH=="function"?this._$AH.call((a=(r=this.options)==null?void 0:r.host)!=null?a:this.element,e):this._$AH.handleEvent(e)}},Ye=class{constructor(e,r,a){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(e){ce(this,e)}},ea={M:it,P:Z,A:nt,C:1,L:Qt,R:Xe,D:Zt,V:ce,I:ge,H:le,N:We,U:Ze,B:Ke,F:Ye},ot=Se.litHtmlPolyfillSupport,Wt;ot==null||ot(ze,ge),((Wt=Se.litHtmlVersions)!=null?Wt:Se.litHtmlVersions=[]).push("3.3.0");var ra=(t,e,r)=>{var i,n;let a=(i=r==null?void 0:r.renderBefore)!=null?i:e,o=a._$litPart$;if(o===void 0){let c=(n=r==null?void 0:r.renderBefore)!=null?n:null;a._$litPart$=o=new ge(e.insertBefore($e(),c),c,void 0,r!=null?r:{})}return o._$AI(t),o};var se=globalThis,V=class extends W{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var r,a;let e=super.createRenderRoot();return(a=(r=this.renderOptions).renderBefore)!=null||(r.renderBefore=e.firstChild),e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ra(r,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return de}},ta;V._$litElement$=!0,V.finalized=!0,(ta=se.litElementHydrateSupport)==null||ta.call(se,{LitElement:V});var lt=se.litElementPolyfillSupport;lt==null||lt({LitElement:V});var aa;((aa=se.litElementVersions)!=null?aa:se.litElementVersions=[]).push("4.2.0");var oa=`@charset "UTF-8";
4
- /*! normalize.css v2.1.3 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}q{quotes:"\u201C" "\u201D" "\u2018" "\u2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}:root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}body{color:var(--black);font-size:100%;line-height:1.375;-webkit-font-smoothing:antialiased}body,button,input,select,textarea{font-family:var(--font-stack)}input[type=date]{display:revert;min-height:35px;min-width:100px;padding-bottom:0;padding-top:0}input[type=date].a-text-input--full{min-width:100%}hr{border:none;border-top:1px solid var(--gray-40)}b,strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-top:0}.h1,h1{font-size:2.125em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7647058824em}@media only screen and (max-width:37.5em){blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h2+.h1,.h2+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h2+.h1,h2+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}.h1,h1{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h1+.h1,.h1+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h1+.h1,h1+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}}.h2,h2{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.7307692308em}.h1+.h2,.h1+h2,.h3+.h2,.h3+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,h1+.h2,h1+h2,h3+.h2,h3+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}.h2,h2{font-size:1.375em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h2,.h1+h2,.h2+.h2,.h2+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,h1+.h2,h1+h2,h2+.h2,h2+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}}.h3,h3{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h4+.h3,.h4+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h4+.h3,h4+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.3636363636em}@media only screen and (max-width:37.5em){.h3,h3{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h3+.h3,.h3+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h3+.h3,h3+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.6666666667em}}.h4,h4{font-size:1.125em;font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h4,.h1+h4,.h2+.h4,.h2+h4,.h3+.h4,.h3+h4,.h5+.h4,.h5+h4,.h6+.h4,.h6+h4,blockquote+.h4,blockquote+h4,dl+.h4,dl+h4,figure+.h4,figure+h4,h1+.h4,h1+h4,h2+.h4,h2+h4,h3+.h4,h3+h4,h5+.h4,h5+h4,h6+.h4,h6+h4,img+.h4,img+h4,ol+.h4,ol+h4,p+.h4,p+h4,table+.h4,table+h4,ul+.h4,ul+h4{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.h4,h4{font-size:1em;line-height:1.125;margin-bottom:.625em}}.h5,h5{font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.h5,.h1+h5,.h2+.h5,.h2+h5,.h3+.h5,.h3+h5,.h4+.h5,.h4+h5,.h6+.h5,.h6+h5,blockquote+.h5,blockquote+h5,dl+.h5,dl+h5,figure+.h5,figure+h5,h1+.h5,h1+h5,h2+.h5,h2+h5,h3+.h5,h3+h5,h4+.h5,h4+h5,h6+.h5,h6+h5,img+.h5,img+h5,ol+.h5,ol+h5,p+.h5,p+h5,table+.h5,table+h5,ul+.h5,ul+h5{margin-top:2.1428571429em}.h6,h6{font-size:.75em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.25em;text-transform:uppercase}.h1+.h6,.h1+h6,.h2+.h6,.h2+h6,.h3+.h6,.h3+h6,.h4+.h6,.h4+h6,.h5+.h6,.h5+h6,blockquote+.h6,blockquote+h6,dl+.h6,dl+h6,figure+.h6,figure+h6,h1+.h6,h1+h6,h2+.h6,h2+h6,h3+.h6,h3+h6,h4+.h6,h4+h6,h5+.h6,h5+h6,img+.h6,img+h6,ol+.h6,ol+h6,p+.h6,p+h6,table+.h6,table+h6,ul+.h6,ul+h6{margin-top:2.5em}.lead-paragraph{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.lead-paragraph{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.superheading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}blockquote,dl,figure,ol,p,table,ul{margin-bottom:.9375em;margin-top:0}blockquote:last-child,dl:last-child,figure:last-child,ol:last-child,p:last-child,table:last-child,ul:last-child{margin-bottom:0}p+ol,p+ul{margin-top:-.3125em}ol ol,ol ul,ul ol,ul ul{margin-top:.5em}li{margin-bottom:.5em}li:last-child,nav li{margin-bottom:0}a{border-color:var(--pacific);border-style:dotted;border-width:0;color:var(--pacific);text-decoration:none}a.visited,a:visited{border-color:var(--teal);color:var(--teal)}a.hover,a:hover{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}a.focus,a:focus{border-style:solid;outline:thin dotted;outline-offset:1px}a.active,a:active{border-color:var(--navy);border-style:solid;color:var(--navy)}dd a,li a,p a{border-bottom-width:1px}nav a{border-bottom-width:0}ul{list-style:square;padding-left:1.125em}ul ul{list-style-type:circle}ol{padding-left:1.3125em}ol li:nth-last-child(n+10),ol li:nth-last-child(n+10)~li{margin-left:.5625rem}ol ol{list-style-type:lower-alpha}ol ol li{margin-left:0!important}ol ol ol{list-style-type:lower-roman}nav ol,nav ol ol,nav ul,nav ul ul{list-style:none;list-style-image:none}caption{margin-bottom:.625em;text-align:left}td,th{padding:.625em}thead td,thead th{background:var(--gray-5);color:var(--black);font-size:1em;padding:.7142857143em;vertical-align:top}tbody tr,thead{border-bottom:1px solid var(--gray)}th{font-weight:600;text-align:left}thead th .h2,thead th .h3,thead th .h4,thead th .h5,thead th .h6,thead th h2,thead th h3,thead th h4,thead th h5,thead th h6{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;text-transform:inherit}blockquote{margin-left:.9375em;margin-right:.9375em}@media only screen and (min-width:37.5625em){blockquote{margin-left:1.875em;margin-right:1.875em}}img{max-width:100%}figure{margin-left:0;margin-right:0}figure img{vertical-align:middle}code,pre{background:var(--gray-5);border-radius:4px;color:var(--black);font-family:Input Mono,Consolas,Monaco,Courier New,monospace}code{font-size:.8125em;padding:.2307692308em .2307692308em 0}pre{display:block;overflow-wrap:break-word;padding:.625em .9375em;white-space:pre-wrap}pre code{background-color:transparent;padding:0}button.a-btn::-moz-focus-inner,input.a-btn::-moz-focus-inner{border:0}.a-btn{appearance:none;border:0;border-radius:.25em;box-sizing:border-box;cursor:pointer;display:flex;font-size:1em;font-weight:500;gap:.625rem;height:fit-content;justify-content:center;line-height:normal;margin:0;padding:.5em .875em;text-align:center;text-decoration:none;transition:background-color .1s;width:fit-content}.a-btn,.a-btn:link,.a-btn:visited{background-color:var(--pacific);color:var(--white)}.a-btn.focus,.a-btn.hover,.a-btn:focus,.a-btn:hover{background-color:var(--pacific-dark);color:var(--white)}.a-btn.focus,.a-btn:focus{outline:1px dotted var(--pacific);outline-offset:1px}.a-btn.active,.a-btn:active{background-color:var(--navy)}.a-btn--secondary,.a-btn--secondary:link,.a-btn--secondary:visited{background-color:var(--white);box-shadow:0 0 0 1px var(--pacific) inset;color:var(--pacific)}.a-btn--secondary.focus,.a-btn--secondary.hover,.a-btn--secondary:focus,.a-btn--secondary:hover{background-color:var(--pacific-10);box-shadow:0 0 0 1px var(--pacific-dark) inset;color:var(--pacific-dark)}.a-btn--secondary.focus,.a-btn--secondary:focus{outline-color:var(--pacific)}.a-btn--secondary.active,.a-btn--secondary:active{background-color:var(--pacific-20);box-shadow:0 0 0 1px var(--navy) inset;color:var(--navy)}.a-btn--warning,.a-btn--warning:link,.a-btn--warning:visited{background-color:var(--red-mid-dark);color:var(--white)}.a-btn--warning.focus,.a-btn--warning.hover,.a-btn--warning:focus,.a-btn--warning:hover{background-color:var(--red-dark)}.a-btn--warning.focus,.a-btn--warning:focus{outline-color:var(--red-mid-dark)}.a-btn--warning.active,.a-btn--warning:active{background-color:var(--gray-dark)}.a-btn--disabled,.a-btn--disabled.active,.a-btn--disabled.focus,.a-btn--disabled.hover,.a-btn--disabled:active,.a-btn--disabled:focus,.a-btn--disabled:hover,.a-btn--disabled:link,.a-btn--disabled:visited,.a-btn[disabled],.a-btn[disabled].active,.a-btn[disabled].focus,.a-btn[disabled].hover,.a-btn[disabled]:active,.a-btn[disabled]:focus,.a-btn[disabled]:hover,.a-btn[disabled]:link,.a-btn[disabled]:visited{background-color:var(--gray-20);color:var(--gray-dark);cursor:default;cursor:not-allowed}.a-btn--disabled.focus,.a-btn--disabled:focus,.a-btn[disabled].focus,.a-btn[disabled]:focus{outline-color:var(--gray-20)}@media only screen and (max-width:37.5em){.a-btn--full-on-xs{width:100%}}.a-btn:has(svg+span) span{order:3}.a-btn:has(span+svg) svg{flex:none;order:3}.a-btn:not(.a-btn--hide-icon):has(span+svg):before,.a-btn:not(.a-btn--hide-icon):has(svg+span):before{border-left:1px solid var(--pacific-60);content:"";order:2;place-self:normal}.a-btn--secondary:has(svg):before{border-color:var(--pacific-60)!important}.a-btn--warning:has(svg):before{border-color:var(--red-60)!important}.a-btn--disabled:has(svg):before,.a-btn[disabled]:has(svg):before{border-color:var(--gray-60)!important}.a-btn--hide-icon svg{display:none}:host{display:flex;width:fit-content}`;var Qe=class extends V{static get properties(){return{isDisabled:{type:Boolean},type:{type:String}}}constructor(){super(),this.isDisabled=!1,this.type=""}get _btnClass(){let e="a-btn";switch(this.type){case"secondary":e+=" a-btn--secondary";break;case"warning":e+=" a-btn--warning";break;case"disabled":e+=" a-btn--disabled";break}return e}render(){return Je`<button class="${this._btnClass}" ?disabled="${this.isDisabled}"><slot></slot></button>`}};ue(Qe,"styles",ke`${me(oa)}`);window.customElements.get("cfpb-button")||window.customElements.define("cfpb-button",Qe);var{I:Sd}=ea;var ia=t=>t.strings===void 0;var na={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},st=t=>(...e)=>({_$litDirective$:t,values:e}),er=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,a){this._$Ct=e,this._$AM=r,this._$Ci=a}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var Te=(t,e)=>{var a;let r=t._$AN;if(r===void 0)return!1;for(let o of r)(a=o._$AO)==null||a.call(o,e,!1),Te(o,e);return!0},rr=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while((r==null?void 0:r.size)===0)},da=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),Ai(e)}};function ki(t){this._$AN!==void 0?(rr(this),this._$AM=t,da(this)):this._$AM=t}function Ei(t,e=!1,r=0){let a=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(e)if(Array.isArray(a))for(let i=r;i<a.length;i++)Te(a[i],!1),rr(a[i]);else a!=null&&(Te(a,!1),rr(a));else Te(this,t)}var Ai=t=>{var e,r;t.type==na.CHILD&&((e=t._$AP)!=null||(t._$AP=Ei),(r=t._$AQ)!=null||(t._$AQ=ki))},tr=class extends er{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,a){super._$AT(e,r,a),da(this),this.isConnected=e._$AU}_$AO(e,r=!0){var a,o;e!==this.isConnected&&(this.isConnected=e,e?(a=this.reconnected)==null||a.call(this):(o=this.disconnected)==null||o.call(this)),r&&(Te(this,e),rr(this))}setValue(e){if(ia(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var pt=()=>new ut,ut=class{},ht=new WeakMap,ft=st(class extends tr{render(t){return E}update(t,[e]){var a;let r=e!==this.G;return r&&this.G!==void 0&&this.rt(void 0),(r||this.lt!==this.ct)&&(this.G=e,this.ht=(a=t.options)==null?void 0:a.host,this.rt(this.ct=t.element)),E}rt(t){var e;if(this.isConnected||(t=void 0),typeof this.G=="function"){let r=(e=this.ht)!=null?e:globalThis,a=ht.get(r);a===void 0&&(a=new WeakMap,ht.set(r,a)),a.get(this.G)!==void 0&&this.G.call(this.ht,void 0),a.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){var t,e,r;return typeof this.G=="function"?(e=ht.get((t=this.ht)!=null?t:globalThis))==null?void 0:e.get(this.G):(r=this.G)==null?void 0:r.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var ca=":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}:host{display:flex;flex-direction:column;width:fit-content}:host::part(upload-details)[hidden=true]{display:none}";var D,la,sa,bt,mt,ar=class extends V{constructor(){super();yt(this,D);ue(this,"fileInput",pt());ue(this,"fileDetails",pt());te(this,D,bt).call(this)}static get properties(){return{isDetailHidden:{type:Boolean},fileName:{type:String},accept:{type:String},value:{type:String},files:{type:FileList}}}render(){return Je`<cfpb-button type="secondary" @click="${()=>{this.fileInput.value.click()}}"><slot></slot></cfpb-button><input class="a-btn a-btn--secondary" type="file" hidden accept="${this.accept}" @input="${()=>te(this,D,mt).call(this)}" @cancel="${()=>te(this,D,mt).call(this)}" ${ft(this.fileInput)}><div part="upload-details" ?hidden="${this.isDetailHidden}" ${ft(this.fileDetails)}><h4>File added</h4><ul><li>${this.fileName}</li></ul><p>To remove or replace your file, select a new file and upload again.</p></div>`}};D=new WeakSet,la=function(r){let a=r;if(a.indexOf("\\")>-1){let o=a.split("\\");a=o[o.length-1]}return a},sa=function(){this.fileName=te(this,D,la).call(this,this.fileInput.value.value),this.value=this.fileInput.value.value,this.files=this.fileInput.value.files,this.isDetailHidden=!1},bt=function(){this.fileName="",this.value="",this.files={},this.isDetailHidden=!0},mt=function(){this.fileInput.value.value==""?te(this,D,bt).call(this):te(this,D,sa).call(this)},ue(ar,"styles",ke`${me(ca)}`);window.customElements.get("cfpb-file-upload")||window.customElements.define("cfpb-file-upload",ar);})();
1
+ (()=>{var _t=Object.defineProperty;var vt=Object.getOwnPropertySymbols;var fa=Object.prototype.hasOwnProperty,ba=Object.prototype.propertyIsEnumerable;var yt=t=>{throw TypeError(t)};var lr=(t,e,r)=>e in t?_t(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,sr=(t,e)=>{for(var r in e||(e={}))fa.call(e,r)&&lr(t,r,e[r]);if(vt)for(var r of vt(e))ba.call(e,r)&&lr(t,r,e[r]);return t};var v=(t,e)=>{for(var r in e)_t(t,r,{get:e[r],enumerable:!0})};var ue=(t,e,r)=>lr(t,typeof e!="symbol"?e+"":e,r),ma=(t,e,r)=>e.has(t)||yt("Cannot "+r);var xt=(t,e,r)=>e.has(t)?yt("Cannot add the same private member more than once"):e instanceof WeakSet?e.add(t):e.set(t,r);var te=(t,e,r)=>(ma(t,e,"access private method"),r);var wt=(t,e,r)=>new Promise((a,o)=>{var i=d=>{try{c(r.next(d))}catch(s){o(s)}},n=d=>{try{c(r.throw(d))}catch(s){o(s)}},c=d=>d.done?a(d.value):Promise.resolve(d.value).then(i,n);c((r=r.apply(t,e)).next())});var Me={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};var hr={};v(hr,{default:()=>va});var va={};var ur={};v(ur,{default:()=>ya});var ya={};var pr={};v(pr,{default:()=>wa});var wa={};var fr={};v(fr,{default:()=>Ea});var Ea={};var br={};v(br,{default:()=>Sa});var Sa={};var mr={};v(mr,{default:()=>La});var La={};function Ie(){let t=getComputedStyle(document.body).fontSize;return t=t===""?-1:t,parseFloat(t)}function za(t,e){let r=t.min,a=t.max;Ie()>0&&Ie()!==16&&(r=r/16*Ie(),a=a/16*Ie());let i=r||0,n=a||Number.POSITIVE_INFINITY;return i<=e&&e<=n}function Ta(t){let e={};t=t||window.innerWidth;let r;for(r in Me)e[r]=za(Me[r],t);return e}var Ne="mobile",Ca="tablet",Oa="desktop";function gr(t){let e=!1,r=Ta();return(t===Ne&&r.bpXS||t===Ca&&r.bpSM||t===Oa&&(r.bpMED||r.bpLG||r.bpXL))&&(e=!0),e}var I="data-js-hook",pe="behavior_",vr="state_";function z(){let t={};function e(o,i){return{}.hasOwnProperty.call(t,o)?t[o].push(i):t[o]=[i],this}function r(o,i){if(!{}.hasOwnProperty.call(t,o))return this;let n=t[o].indexOf(i);return n!==-1&&t[o].splice(n,1),this}function a(o,i){if(!{}.hasOwnProperty.call(t,o))return this;i=i||{};let n=t[o];for(let c=0,d=n.length;c<d;c++)n[c].call(this,i);return this}return this.addEventListener=e,this.removeEventListener=r,this.dispatchEvent=a,this.getRegisteredEvents=()=>t,this}function ae(t,e){if(!t)return!1;let r=t.getAttribute(I);return r?(r=r.split(" "),r.indexOf(e)>-1):!1}function T(t,e){if(ae(t,e))return e;if(e.indexOf(" ")!==-1){let a=I+" values cannot contain spaces!";throw new Error(a)}let r=t.getAttribute(I);return r!==null&&(e=r+" "+e),t.setAttribute(I,e),e}var _r=vr+"atomic_init";function Ma(t,e){if(!t||!t.classList){let r=t+' is not valid. Check that element is a DOM node with class "'+e+'"';throw new Error(r)}return t}function Ia(t,e){let r=t.classList.contains(e)?t:t.querySelector("."+e);if(!r){let a=e+" not found on or in passed DOM node.";throw new Error(a)}return r}function H(t,e){return Ma(t,e),Ia(t,e)}function j(t){return ae(t,_r)?!1:(T(t,_r),!0)}function P(t,e,r,a={}){let i=(r||document).querySelectorAll(t),n=[],c,d;for(let s=0,l=i.length;s<l;s++)d=i[s],ae(d,_r)===!1&&(c=new e(d),c.init(a),n.push(c));return n}function kt(t,e){e=e||document;let r=[];try{r=e.querySelectorAll(t)}catch(a){let o=`${t} not found in DOM! ${a}`;throw new Error(o)}return r.length===0&&t.indexOf(pe)===-1&&(r=Et(t,e)),r}function Na(t,e,r,a){let o=[];t instanceof NodeList?o=t:t instanceof Node?o=[t]:typeof t=="string"&&(o=kt(t,a));for(let i=0,n=o.length;i<n;i++)o[i].addEventListener(e,r,!1);return o}function je(t,e){let r;if(ae(t,e))return r=t,r;if(t){let a="["+I+"="+e+"]";r=t.querySelector(a)}if(!r){let a=e+" behavior not found on passed DOM node!";throw new Error(a)}return r}function Et(t,e){return t=I+"*="+pe+t,t="["+t+"]",kt(t,e)}var ve=Object.prototype.toString;function At(t){return typeof t=="undefined"}function ja(t){return typeof t!="undefined"}function Da(t){return t!==null&&typeof t=="object"}function St(t){return ve.call(t)==="[object String]"}function qa(t){return ve.call(t)==="[object Number]"}function Ha(t){return ve.call(t)==="[object Date]"}var Pa=Array.isArray||function(e){return ve.call(e)==="[object Array]"};function Ba(t){return ve.call(t)==="[object Function]"}function Ra(t){return At(t)||t===null||St(t)&&t.length<=0||/^\s*$/.test(t)}function yr(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}function x(t,e,r){let a=e,o=t;if(!r)throw new Error("Child transition argument must be defined!");let i=r,n,c,d,s=!1,l=!1,p=!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 b(){c&&s?(o.addEventListener(c,d),i.dispatchEvent(x.BEGIN_EVENT,{target:i,type:x.BEGIN_EVENT}),o.classList.add(x.ANIMATING_CLASS),l=!0):(i.dispatchEvent(x.BEGIN_EVENT,{target:i,type:x.BEGIN_EVENT}),d())}function g(){o.removeEventListener(c,d)}function S(y){return y&&y.propertyName!==a.CSS_PROPERTY?!1:(g(),o.classList.remove(x.ANIMATING_CLASS),i.dispatchEvent(x.END_EVENT,{target:i,type:x.END_EVENT}),l=!1,!0)}function A(){let y;for(y in a)({}).hasOwnProperty.call(a,y)&&a[y]!==a.BASE_CLASS&&o.classList.contains(a[y])&&o.classList.remove(a[y])}function $(){l&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(c,d),d(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function C(){$(),A(),o.classList.remove(a.BASE_CLASS)}function U(){o.classList.remove(x.NO_ANIMATION_CLASS),s=!0}function G(){o.classList.add(x.NO_ANIMATION_CLASS),s=!1}function M(y){if(!y){let he="Element does not have TransitionEnd event. It may be null!";throw new Error(he)}let O,q={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},X;for(X in q)if({}.hasOwnProperty.call(q,X)&&typeof y.style[X]!="undefined"){O=q[X];break}return O}function _(y){C(),U(),o=y,o.classList.add(a.BASE_CLASS),c=M(o)}function w(y){if(s=!o.classList.contains(x.NO_ANIMATION_CLASS),d=S.bind(this),_(o),!y)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(y),this}function L(y){return p||(A(),p=!0),o.classList.contains(y)?!1:(g(),o.classList.remove(n),n=y,b(),o.classList.add(n),!0)}return this.animateOff=G,this.animateOn=U,this.applyClass=L,this.halt=$,this.init=w,this.isAnimated=()=>s,this.remove=C,this.setElement=_,this}x.BEGIN_EVENT="transitionbegin";x.END_EVENT="transitionend";x.NO_ANIMATION_CLASS="u-no-animation";x.ANIMATING_CLASS="u-is-animating";var _e=pe+"flyout-menu",Fa="["+I+"="+_e;function Y(t,e=!0){let r=je(t,_e),a=U(t),o=je(t,_e+"_content"),i=0,n=0,c=1,d=2,s=3,l,p,b,g=he.bind(this),S=X.bind(this),A,$=!0,C=!1;function U(h){let u=[],f=h.querySelectorAll(`${Fa}_trigger]`),m,k,K;for(let F=f.length>>>0;F--;){for(K=!1,m=f[F],k=m.parentElement;k!==h;)k.getAttribute(I)&&k.getAttribute(I).split(" ").indexOf(_e)!==-1?(K=!0,k=h):k=k.parentElement;K||u.unshift(f[F])}return u}function G(h=!1){return i=h?s:n,a.forEach(u=>{M("expanded",u,h),u.addEventListener("click",y.bind(this)),u.addEventListener("touchstart",_,{passive:!0}),u.addEventListener("mouseover",w.bind(this)),u.addEventListener("mouseout",L.bind(this))}),o.setAttribute("data-open",h?"true":"false"),e&&!h&&o.setAttribute("hidden",""),Oe(),this}function M(h,u,f){let m=String(f);return u.setAttribute("aria-"+h,m),m}function _(){C=!0}function w(h){$||(C||this.dispatchEvent("triggerover",{target:this,trigger:h.target,type:"triggerover"}),C=!1)}function L(h){$||this.dispatchEvent("triggerout",{target:this,trigger:h.target,type:"triggerout"})}function y(h){if(!$)switch(this.dispatchEvent("triggerclick",{target:this,trigger:h.target,type:"triggerclick"}),h.preventDefault(),i){case n:case c:this.expand();break;case d:case s:this.collapse();break}}function O(){if(l==null||l.halt(),i===d||i===s)return this;if(i=d,e&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!p||!b)return S(),this;let h=l==null?void 0:l.isAnimated();return h&&l.addEventListener(x.END_EVENT,S),p(),h||S(),this}function q(){if(l==null||l.halt(),i===c||i===n)return this;for(let u=0,f=a.length;u<f;u++)M("expanded",a[u],!1);if(o.setAttribute("data-open","false"),i=c,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!b||!p)return g(),this;let h=l==null?void 0:l.isAnimated();return h&&l.addEventListener(x.END_EVENT,g),b(),h||g(),this}function X(){i=s,o.setAttribute("data-open","true"),l&&l.removeEventListener(x.END_EVENT,S),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let h=0,u=a.length;h<u;h++)M("expanded",a[h],!0)}function he(){i=n,e&&o.setAttribute("hidden",""),l&&l.removeEventListener(x.END_EVENT,g),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function Ce(h,u,f){l=h,u&&u!==b&&(b=u),f&&f!==p&&(p=f)}function ir(){l&&l.remove();let h;l=h,p=h,b=h}function nr(){return{container:r,content:o,trigger:a}}function Oe(){return $&&($=!1),!$}function dr(){return $||($=!0),$}function cr(h){return A=h,this}let re=new z;return this.addEventListener=re.addEventListener,this.removeEventListener=re.removeEventListener,this.dispatchEvent=re.dispatchEvent,this.init=G,this.expand=O,this.collapse=q,this.setTransition=Ce,this.clearTransition=ir,this.getData=()=>A,this.getTransition=()=>l,this.getDom=nr,this.isAnimating=()=>i===d||i===c,this.isExpanded=()=>i===s,this.resume=Oe,this.setData=cr,this.suspend=dr,Y.BASE_CLASS=_e,this}var De={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function $t(t){let e=new z,r=new x(t,De,this);function a(n){return r.init(n),this}function o(){return r.applyClass(De.ALPHA_100),this}function i(){return r.applyClass(De.ALPHA_0),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.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}$t.CLASSES=De;var ye={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 N(t){let e=new z,r=new x(t,ye,this),a=0;function o(){let b=t.scrollHeight+"px";t.style.maxHeight=b}function i(){window.removeEventListener("load",i),o()}function n(p){return r.init(p),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function c(){return o(),r.applyClass(ye.MH_DEFAULT),(!a||t.scrollHeight>a)&&(a=t.scrollHeight),this}function d(){return r.applyClass(ye.MH_SUMMARY),a=t.scrollHeight,this}function s(){return r.applyClass(ye.MH_ZERO),a=t.scrollHeight,this}function l(){return t.style.maxHeight="",r.remove()}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.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=l,this.init=n,this.maxHeightDefault=c,this.maxHeightSummary=d,this.maxHeightZero=s,this}N.CLASSES=ye;var J={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 Lt(t){let e=new z,r=new x(t,J,this);function a(d){return r.init(d),this}function o(){return r.applyClass(J.MOVE_TO_ORIGIN),this}function i(d){d=d||1;let s=[J.MOVE_LEFT,J.MOVE_LEFT_2X,J.MOVE_LEFT_3X];return r.applyClass(s[d-1]),this}function n(){return r.applyClass(J.MOVE_RIGHT),this}function c(){return r.applyClass(J.MOVE_UP),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.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=n,this.moveToOrigin=o,this.moveUp=c,this}Lt.CLASSES=J;var xr={};v(xr,{default:()=>Ga});var Ga={};var fe="o-expandable";function Q(t){let e=H(t,fe),r,a,o,i,n;function c(){if(!j(e))return this;r=e.querySelector(`.${fe}__header`),a=e.querySelector(`.${fe}__content`),o=e.querySelector(`.${fe}__label`);let l=e.classList.contains(`${fe}--onload-open`);T(e,"behavior_flyout-menu"),T(r,"behavior_flyout-menu_trigger"),T(a,"behavior_flyout-menu_content");let p=l?N.CLASSES.MH_DEFAULT:N.CLASSES.MH_ZERO;return i=new N(a).init(p),n=new Y(e),n.setTransition(i,i.maxHeightZero,i.maxHeightDefault),n.init(l),n.addEventListener("expandbegin",()=>{a.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),n.addEventListener("collapseend",()=>{a.classList.add("u-hidden")}),this}function d(){return o.textContent.trim()}this.init=c,this.expand=()=>n.expand(),this.collapse=()=>n.collapse(),this.isExpanded=()=>n.isExpanded(),this.refresh=()=>n.getTransition().refresh(),this.getLabelText=d;let s=new z;return this.addEventListener=s.addEventListener,this.removeEventListener=s.removeEventListener,this.dispatchEvent=s.dispatchEvent,this}Q.BASE_CLASS=fe;Q.init=t=>P(`.${Q.BASE_CLASS}`,Q,t);var wr={};v(wr,{default:()=>Ka});var Ka={};var qe="o-expandable-group";function He(t){let e=H(t,qe),r=e.classList.contains(`${qe}--accordion`),a,o;function i(c){let d=c.target;o&&o!==d&&o.collapse(),o=d}function n(c){return j(e)?(r&&(a=c,a.forEach(d=>{d.addEventListener("expandbegin",i)})),this):this}return this.init=n,this}He.BASE_CLASS=qe;He.init=t=>{(t||document).querySelectorAll(`.${qe}`).forEach(a=>{let o=P(`.${Q.BASE_CLASS}`,Q,a);new He(a).init(o)})};var kr={};v(kr,{default:()=>Za});var Za={};var be="o-summary";function Pe(t){let e=H(t,be),r=e.classList.contains(`${be}--mobile`),a=e.querySelector(`.${be}__content`),o=e.querySelector(`.${be}__btn`),i,n,c;function d(){return j(e)?(window.addEventListener("load",s),this):this}function s(){window.removeEventListener("load",s),c=!g(),T(e,"behavior_flyout-menu"),T(a,"behavior_flyout-menu_content"),T(o,"behavior_flyout-menu_trigger"),n=new Y(e,!1),i=new N(a),i.init(c?N.CLASSES.MH_SUMMARY:N.CLASSES.MH_DEFAULT),n.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),n.addEventListener("triggerclick",S),n.init(),b(),window.addEventListener("resize",b),"onorientationchange"in window&&window.addEventListener("orientationchange",b),e.addEventListener("focusin",l),a.addEventListener("click",p)}function l(_){!c&&_.target!==o&&(o.click(),e.removeEventListener("focusin",l))}function p(_){_.target.tagName!=="A"&&n.isExpanded()&&i.refresh()}function b(){g()?G():U()}function g(){return r&&!gr(Ne)||a.scrollHeight<=88}function S(){n.addEventListener("expandend",A)}function A(){C(),window.removeEventListener("resize",b),window.removeEventListener("orientationchange",b),n.removeEventListener("expandend",A),n.suspend(),i.remove()}function $(){o.classList.remove("u-hidden")}function C(){o.classList.add("u-hidden")}function U(){return c&&(n.collapse(),i.animateOn(),$(),c=!1),!c}function G(){return c||(i.animateOff(),n.expand(),C(),c=!0),c}let M=new z;return this.addEventListener=M.addEventListener,this.removeEventListener=M.removeEventListener,this.dispatchEvent=M.dispatchEvent,this.init=d,this}Pe.BASE_CLASS=be;Pe.init=t=>P(`.${be}`,Pe,t);var xe="o-summary-minimal";function Be(t){let e=H(t,xe),r=e.querySelector(`.${xe}__content`),a=e.querySelector(`.${xe}__btn`),o,i;function n(){return j(e)?(T(e,"behavior_flyout-menu"),T(r,"behavior_flyout-menu_content"),T(a,"behavior_flyout-menu_trigger"),window.addEventListener("load",c),this):this}function c(){window.removeEventListener("load",c),i=new Y(e,!1),o=new N(r),o.init(N.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),e.addEventListener("focusin",d),r.addEventListener("click",s),i.collapse(),o.animateOn()}function d(p){p.target!==a&&(a.click(),e.removeEventListener("focusin",d))}function s(p){p.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let l=new z;return this.addEventListener=l.addEventListener,this.removeEventListener=l.removeEventListener,this.dispatchEvent=l.dispatchEvent,this.init=n,this}Be.BASE_CLASS=xe;Be.init=t=>P(`.${xe}`,Be,t);var Er={};v(Er,{default:()=>Qa});var Qa={};var Ar={};v(Ar,{default:()=>ro});var ro={};var Sr={};v(Sr,{default:()=>ao});var ao={};var $r={};v($r,{default:()=>io});var io={};var Lr={};v(Lr,{default:()=>co});var co={};var zr={};v(zr,{default:()=>so});var so={};var Tr={};v(Tr,{default:()=>uo});var uo={};var Cr={};v(Cr,{default:()=>fo});var fo={};var Or={};v(Or,{default:()=>mo});var mo={};var go;function vo(t){return t.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function _o(t,e){return RegExp(vo(e.trim()),"i").test(t)}function yo(t,e,r){let a=t,o=e,i=(r==null?void 0:r.maxSelections)||5,n=[],c=[],d=[],s=[],l=-1;function p(_){return o+"-"+_.value.trim().replace(/\s+/g,"-").toLowerCase()}function b(){return c.length>=i}function g(_){let w,L=[],y=!1;for(let O=0,q=_.length;O<q;O++)w=_[O],y=b()?!1:w.defaultSelected,L.push({id:p(w),value:w.value,text:w.text,checked:y}),y&&c.push(O);return L}function S(){return n=g(a),this}function A(_){return n[_].checked=!n[_].checked,c.length<i&&n[_].checked?(c.push(_),c.sort(),!0):(n[_].checked=!1,c=c.filter(function(w){return w!==_}),!1)}function $(_,w,L,y){return _o(w.text,y)&&_.push(L),_}function C(_){return Object.prototype.toString.call(_)!=="[object String]"&&(_=""),s=d,n.length>0&&(d=n.reduce(function(w,L,y){return $(w,L,y,_)},[])),l=-1,d}function U(_){return n[_]}function G(_){let w=d.length,L=w===0?n.length:w;_<0?l=-1:_>=L?l=L-1:l=_}function M(){return l}return this.init=S,this.toggleOption=A,this.getSelectedIndices=function(){return c},this.isAtMaxSelections=b,this.filterIndices=C,this.clearFilter=function(){return d=s=[],go},this.getFilterIndices=function(){return d},this.getLastFilterIndices=function(){return s},this.getIndex=M,this.setIndex=G,this.resetIndex=function(){return l=-1,l},this.getOption=U,this}var zt=yo;function B(t,e,r){let a=document.createElement(t);return Object.keys(r).forEach(o=>{let i=r[o];o in a?a[o]=i:a.setAttribute(o,i)}),e&&e.appendChild(a),a}var Tt='<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 Ao=Tt,R="o-multiselect",So="a-checkbox",$o="a-text-input",Ct="prev",Re="next",Mr="Enter",Lo=" ",Ot="Escape",zo="ArrowUp",Mt="ArrowDown",It="Tab",Nt={renderTags:!0,maxSelections:5};function Ue(t){t.classList.add(R);let e=H(t,R),r=!1,a,o,i,n,c,d,s,l,p,b,g,S=[],A;function $(){g.classList.remove("u-no-results"),g.classList.add("u-filtered");let h=i.getLastFilterIndices();for(let u=0,f=h.length;u<f;u++)S[h[u]].classList.remove("u-filter-match");h=i.getFilterIndices();for(let u=0,f=h.length;u<f;u++)S[h[u]].classList.add("u-filter-match")}function C(){g.classList.remove("u-filtered","u-no-results");for(let h=0,u=g.children.length;h<u;h++)g.children[h].classList.remove("u-filter-match");i.clearFilter()}function U(){g.classList.add("u-no-results"),g.classList.remove("u-filtered")}function G(h){return h.length>0?($(),!0):(U(),!1)}function M(h){C(),i.resetIndex();let u=i.filterIndices(h);G(u)}function _(){return d.classList.add("u-active"),b.classList.remove("u-invisible"),b.setAttribute("aria-hidden",!1),A.dispatchEvent("expandbegin",{target:A}),A}function w(){return d.classList.remove("u-active"),b.classList.add("u-invisible"),b.setAttribute("aria-hidden",!0),i.resetIndex(),A.dispatchEvent("collapsebegin",{target:A}),A}function L(h){h===Re?i.setIndex(i.getIndex()+1):h===Ct&&i.setIndex(i.getIndex()-1);let u=i.getIndex();if(u>-1){let f=u,m=i.getFilterIndices();m.length>0&&(f=m[u]);let K=i.getOption(f).value,pa=g.querySelector('[data-option="'+K+'"]').querySelector("input");r=!0,pa.focus()}else r=!1,p.focus()}function y(){p.value="",C()}function O(h){let u=h.target;u.tagName==="BUTTON"&&(h.preventDefault(),u.removeEventListener("click",O),u.querySelector("label").click())}function q(h){if(h.key===Lo||h.key===Mr){let u=h.target.querySelector("label");g.querySelector("#"+u.getAttribute("for")).click()}}function X(h){return a+"-"+h.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function he(h,u){let f=X(u),m=B("li",null,{"data-option":u.value}),k=B("button",m,{type:"button",class:"a-tag-filter",innerHTML:"<label for="+f+">"+u.text+Ao+"</label>"});h.appendChild(m),k.addEventListener("click",O),k.addEventListener("keydown",q)}function Ce(h){let u=i.getOption(h)||i.getOption(i.getIndex());if(u){if(u.checked){g.classList.contains("u-max-selections")&&g.classList.remove("u-max-selections");let f='[data-option="'+u.value+'"]',m=s.querySelector(f);typeof m!="undefined"&&m&&(s==null||s.removeChild(m))}else c!=null&&c.renderTags&&s&&he(s,u);i.toggleOption(h),i.isAtMaxSelections()&&g.classList.add("u-max-selections"),A.dispatchEvent("selectionsupdated",{target:A})}i.resetIndex(),r=!1,b.getAttribute("aria-hidden")==="false"&&p.focus()}function ir(h){Ce(Number(h.target.getAttribute("data-index"))),y()}function nr(){l.addEventListener("mousemove",function(f){let m=f.target;f.offsetX>m.offsetWidth-35?m.style.cursor="pointer":m.style.cursor="auto"}),l.addEventListener("mouseup",function(f){let m=f.target;f.offsetX>m.offsetWidth-35&&b.offsetHeight===140&&p.blur()}),p.addEventListener("input",function(){M(this.value)}),p.addEventListener("focus",function(){b.getAttribute("aria-hidden")==="true"&&_()}),p.addEventListener("blur",function(){!r&&b.getAttribute("aria-hidden")==="false"&&w()}),p.addEventListener("keydown",function(f){let m=f.key;b.getAttribute("aria-hidden")==="true"&&m!==It&&_(),m===Mr?(f.preventDefault(),L(Re)):m===Ot?(y(),w()):m===Mt?L(Re):m===It&&!f.shiftKey&&b.getAttribute("aria-hidden")==="false"&&w()}),g.addEventListener("mousedown",function(){r=!0}),g.addEventListener("keydown",function(f){let m=f.key,k=f.target,K=k.checked;if(m===Mr){f.preventDefault(),k.checked=!K;let F=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(F)}else m===Ot?(p.focus(),w()):m===zo?L(Ct):m===Mt&&L(Re)}),b.addEventListener("mousedown",function(f){f.target.tagName==="LABEL"&&(r=!0)});let h=g.querySelectorAll("input");for(let f=0,m=h.length;f<m;f++)h[f].addEventListener("change",ir);let u=s.querySelectorAll("button");for(let f=0,m=u.length;f<m;f++)u[f].addEventListener("click",O),u[f].addEventListener("keydown",q)}function Oe(){d=document.createElement("div"),d.className=R,s=B("ul",null,{className:"m-tag-group"}),l=B("header",d,{className:R+"__header"}),p=B("input",l,{className:R+"__search "+$o,type:"text",placeholder:o||"Select up to five",id:e.id,autocomplete:"off"}),b=B("fieldset",d,{className:R+"__fieldset u-invisible","aria-hidden":"true"});let h=R+"__options";i.isAtMaxSelections()&&(h+=" u-max-selections"),g=B("ul",b,{className:h});let u,f,m;for(let k=0,K=n.length;k<K;k++){u=n[k],f=X(u),m=i.getOption(k).checked;let F=B("li",g,{"data-option":u.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});B("input",F,{id:f,type:"checkbox",value:u.value,name:a,class:So+" "+R+"__checkbox",checked:m,"data-index":k}),B("label",F,{for:f,textContent:u.text,className:R+"__label a-label"}),S.push(F),m&&(c!=null&&c.renderTags)&&he(s,u)}return d.insertBefore(s,l),e.parentNode.insertBefore(d,e),d.appendChild(e),d}function dr(h=Nt){if(!j(e))return this;if(yr())return this;if(A=this,a=e.name||e.id,o=e.getAttribute("placeholder"),n=e.options||[],c=sr(sr({},Nt),h),n.length>0){i=new zt(n,a,c).init();let u=Oe();e.parentNode.removeChild(e),e=u,j(e),nr()}return this}function cr(){return i}this.init=dr,this.expand=_,this.collapse=w;let re=new z;return this.addEventListener=re.addEventListener,this.removeEventListener=re.removeEventListener,this.dispatchEvent=re.dispatchEvent,this.getModel=cr,this.updateSelections=Ce,this.selectionClickHandler=O,this.selectionKeyDownHandler=q,this}Ue.BASE_CLASS=R;Ue.init=t=>P(`.${R}`,Ue,void 0,t);var Ir={};v(Ir,{default:()=>Co});var Co={};var Nr={};v(Nr,{default:()=>Mo});var Mo={};var jr={};v(jr,{default:()=>No});var No={};var Dr={};v(Dr,{default:()=>Do});var Do={};var qr={};v(qr,{default:()=>Ho});var Ho={};var Hr={};v(Hr,{default:()=>Bo});var Bo={};var Pr={};v(Pr,{default:()=>Uo});var Uo={};var Br={};v(Br,{default:()=>Vo});var Vo={};var Rr={};v(Rr,{default:()=>Xo});var Xo={};var Ur={};v(Ur,{default:()=>Wo});var Wo={};var Fr={};v(Fr,{default:()=>Yo});var Yo={};var Vr={};v(Vr,{default:()=>Qo});var Qo={};var Gr={};v(Gr,{default:()=>ri});var ri={};var Xr={};v(Xr,{default:()=>ai});var ai={};var Kr={};v(Kr,{default:()=>ii});var ii={};var Wr={};v(Wr,{default:()=>di});var di={};var Zr={};v(Zr,{default:()=>li});var li={};var Yr={};v(Yr,{default:()=>hi});var hi={};var Jr={};v(Jr,{default:()=>pi});var pi={};var Qr={};v(Qr,{default:()=>bi});var bi={};var Fe=globalThis,Ve=Fe.ShadowRoot&&(Fe.ShadyCSS===void 0||Fe.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,et=Symbol(),jt=new WeakMap,we=class{constructor(e,r,a){if(this._$cssResult$=!0,a!==et)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o,r=this.t;if(Ve&&e===void 0){let a=r!==void 0&&r.length===1;a&&(e=jt.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),a&&jt.set(r,e))}return e}toString(){return this.cssText}},me=t=>new we(typeof t=="string"?t:t+"",void 0,et),ke=(t,...e)=>{let r=t.length===1?t[0]:e.reduce((a,o,i)=>a+(n=>{if(n._$cssResult$===!0)return n.cssText;if(typeof n=="number")return n;throw Error("Value passed to 'css' function must be a 'css' function result: "+n+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(o)+t[i+1],t[0]);return new we(r,t,et)},Dt=(t,e)=>{if(Ve)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(let r of e){let a=document.createElement("style"),o=Fe.litNonce;o!==void 0&&a.setAttribute("nonce",o),a.textContent=r.cssText,t.appendChild(a)}},rt=Ve?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(let a of e.cssRules)r+=a.cssText;return me(r)})(t):t;var{is:mi,defineProperty:gi,getOwnPropertyDescriptor:vi,getOwnPropertyNames:_i,getOwnPropertySymbols:yi,getPrototypeOf:xi}=Object,ee=globalThis,qt=ee.trustedTypes,wi=qt?qt.emptyScript:"",tt=ee.reactiveElementPolyfillSupport,Ee=(t,e)=>t,at={toAttribute(t,e){switch(e){case Boolean:t=t?wi:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(a){r=null}}return r}},Ut=(t,e)=>!mi(t,e),Ht={attribute:!0,type:String,converter:at,reflect:!1,useDefault:!1,hasChanged:Ut},Pt,Bt;(Pt=Symbol.metadata)!=null||(Symbol.metadata=Symbol("metadata")),(Bt=ee.litPropertyMetadata)!=null||(ee.litPropertyMetadata=new WeakMap);var W=class extends HTMLElement{static addInitializer(e){var r;this._$Ei(),((r=this.l)!=null?r:this.l=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Ht){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){let a=Symbol(),o=this.getPropertyDescriptor(e,a,r);o!==void 0&&gi(this.prototype,e,o)}}static getPropertyDescriptor(e,r,a){var n;let{get:o,set:i}=(n=vi(this.prototype,e))!=null?n:{get(){return this[r]},set(c){this[r]=c}};return{get:o,set(c){let d=o==null?void 0:o.call(this);i==null||i.call(this,c),this.requestUpdate(e,d,a)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){var r;return(r=this.elementProperties.get(e))!=null?r:Ht}static _$Ei(){if(this.hasOwnProperty(Ee("elementProperties")))return;let e=xi(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(Ee("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Ee("properties"))){let r=this.properties,a=[..._i(r),...yi(r)];for(let o of a)this.createProperty(o,r[o])}let e=this[Symbol.metadata];if(e!==null){let r=litPropertyMetadata.get(e);if(r!==void 0)for(let[a,o]of r)this.elementProperties.set(a,o)}this._$Eh=new Map;for(let[r,a]of this.elementProperties){let o=this._$Eu(r,a);o!==void 0&&this._$Eh.set(o,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){let r=[];if(Array.isArray(e)){let a=new Set(e.flat(1/0).reverse());for(let o of a)r.unshift(rt(o))}else e!==void 0&&r.push(rt(e));return r}static _$Eu(e,r){let a=r.attribute;return a===!1?void 0:typeof a=="string"?a:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){var e;this._$ES=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(r=>r(this))}addController(e){var r,a;((r=this._$EO)!=null?r:this._$EO=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&((a=e.hostConnected)==null||a.call(e))}removeController(e){var r;(r=this._$EO)==null||r.delete(e)}_$E_(){let e=new Map,r=this.constructor.elementProperties;for(let a of r.keys())this.hasOwnProperty(a)&&(e.set(a,this[a]),delete this[a]);e.size>0&&(this._$Ep=e)}createRenderRoot(){var r;let e=(r=this.shadowRoot)!=null?r:this.attachShadow(this.constructor.shadowRootOptions);return Dt(e,this.constructor.elementStyles),e}connectedCallback(){var e,r;(e=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(r=this._$EO)==null||r.forEach(a=>{var o;return(o=a.hostConnected)==null?void 0:o.call(a)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(r=>{var a;return(a=r.hostDisconnected)==null?void 0:a.call(r)})}attributeChangedCallback(e,r,a){this._$AK(e,a)}_$ET(e,r){var i;let a=this.constructor.elementProperties.get(e),o=this.constructor._$Eu(e,a);if(o!==void 0&&a.reflect===!0){let n=(((i=a.converter)==null?void 0:i.toAttribute)!==void 0?a.converter:at).toAttribute(r,a.type);this._$Em=e,n==null?this.removeAttribute(o):this.setAttribute(o,n),this._$Em=null}}_$AK(e,r){var i,n,c,d;let a=this.constructor,o=a._$Eh.get(e);if(o!==void 0&&this._$Em!==o){let s=a.getPropertyOptions(o),l=typeof s.converter=="function"?{fromAttribute:s.converter}:((i=s.converter)==null?void 0:i.fromAttribute)!==void 0?s.converter:at;this._$Em=o,this[o]=(d=(c=l.fromAttribute(r,s.type))!=null?c:(n=this._$Ej)==null?void 0:n.get(o))!=null?d:null,this._$Em=null}}requestUpdate(e,r,a){var o,i;if(e!==void 0){let n=this.constructor,c=this[e];if(a!=null||(a=n.getPropertyOptions(e)),!(((o=a.hasChanged)!=null?o:Ut)(c,r)||a.useDefault&&a.reflect&&c===((i=this._$Ej)==null?void 0:i.get(e))&&!this.hasAttribute(n._$Eu(e,a))))return;this.C(e,r,a)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:a,reflect:o,wrapped:i},n){var c,d,s;a&&!((c=this._$Ej)!=null?c:this._$Ej=new Map).has(e)&&(this._$Ej.set(e,(d=n!=null?n:r)!=null?d:this[e]),i!==!0||n!==void 0)||(this._$AL.has(e)||(this.hasUpdated||a||(r=void 0),this._$AL.set(e,r)),o===!0&&this._$Em!==e&&((s=this._$Eq)!=null?s:this._$Eq=new Set).add(e))}_$EP(){return wt(this,null,function*(){this.isUpdatePending=!0;try{yield this._$ES}catch(r){Promise.reject(r)}let e=this.scheduleUpdate();return e!=null&&(yield e),!this.isUpdatePending})}scheduleUpdate(){return this.performUpdate()}performUpdate(){var a,o;if(!this.isUpdatePending)return;if(!this.hasUpdated){if((a=this.renderRoot)!=null||(this.renderRoot=this.createRenderRoot()),this._$Ep){for(let[n,c]of this._$Ep)this[n]=c;this._$Ep=void 0}let i=this.constructor.elementProperties;if(i.size>0)for(let[n,c]of i){let{wrapped:d}=c,s=this[n];d!==!0||this._$AL.has(n)||s===void 0||this.C(n,void 0,c,s)}}let e=!1,r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),(o=this._$EO)==null||o.forEach(i=>{var n;return(n=i.hostUpdate)==null?void 0:n.call(i)}),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){var r;(r=this._$EO)==null||r.forEach(a=>{var o;return(o=a.hostUpdated)==null?void 0:o.call(a)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&(this._$Eq=this._$Eq.forEach(r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}},Rt;W.elementStyles=[],W.shadowRootOptions={mode:"open"},W[Ee("elementProperties")]=new Map,W[Ee("finalized")]=new Map,tt==null||tt({ReactiveElement:W}),((Rt=ee.reactiveElementVersions)!=null?Rt:ee.reactiveElementVersions=[]).push("2.1.0");var Se=globalThis,Ge=Se.trustedTypes,Ft=Ge?Ge.createPolicy("lit-html",{createHTML:t=>t}):void 0,nt="$lit$",Z=`lit$${Math.random().toFixed(9).slice(2)}$`,dt="?"+Z,ki=`<${dt}>`,ne=document,$e=()=>ne.createComment(""),Le=t=>t===null||typeof t!="object"&&typeof t!="function",ct=Array.isArray,Yt=t=>ct(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",ot=`[
2
+ \f\r]`,Ae=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Vt=/-->/g,Gt=/>/g,oe=RegExp(`>|${ot}(?:([^\\s"'>=/]+)(${ot}*=${ot}*(?:[^
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Xt=/'/g,Kt=/"/g,Jt=/^(?:script|style|textarea|title)$/i,lt=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Je=lt(1),cd=lt(2),ld=lt(3),de=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),Wt=new WeakMap,ie=ne.createTreeWalker(ne,129);function Qt(t,e){if(!ct(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ft!==void 0?Ft.createHTML(e):e}var ea=(t,e)=>{let r=t.length-1,a=[],o,i=e===2?"<svg>":e===3?"<math>":"",n=Ae;for(let c=0;c<r;c++){let d=t[c],s,l,p=-1,b=0;for(;b<d.length&&(n.lastIndex=b,l=n.exec(d),l!==null);)b=n.lastIndex,n===Ae?l[1]==="!--"?n=Vt:l[1]!==void 0?n=Gt:l[2]!==void 0?(Jt.test(l[2])&&(o=RegExp("</"+l[2],"g")),n=oe):l[3]!==void 0&&(n=oe):n===oe?l[0]===">"?(n=o!=null?o:Ae,p=-1):l[1]===void 0?p=-2:(p=n.lastIndex-l[2].length,s=l[1],n=l[3]===void 0?oe:l[3]==='"'?Kt:Xt):n===Kt||n===Xt?n=oe:n===Vt||n===Gt?n=Ae:(n=oe,o=void 0);let g=n===oe&&t[c+1].startsWith("/>")?" ":"";i+=n===Ae?d+ki:p>=0?(a.push(s),d.slice(0,p)+nt+d.slice(p)+Z+g):d+Z+(p===-2?c:g)}return[Qt(t,i+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),a]},ze=class t{constructor({strings:e,_$litType$:r},a){let o;this.parts=[];let i=0,n=0,c=e.length-1,d=this.parts,[s,l]=ea(e,r);if(this.el=t.createElement(s,a),ie.currentNode=this.el.content,r===2||r===3){let p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(o=ie.nextNode())!==null&&d.length<c;){if(o.nodeType===1){if(o.hasAttributes())for(let p of o.getAttributeNames())if(p.endsWith(nt)){let b=l[n++],g=o.getAttribute(p).split(Z),S=/([.?@])?(.*)/.exec(b);d.push({type:1,index:i,name:S[2],strings:g,ctor:S[1]==="."?Ke:S[1]==="?"?We:S[1]==="@"?Ze:le}),o.removeAttribute(p)}else p.startsWith(Z)&&(d.push({type:6,index:i}),o.removeAttribute(p));if(Jt.test(o.tagName)){let p=o.textContent.split(Z),b=p.length-1;if(b>0){o.textContent=Ge?Ge.emptyScript:"";for(let g=0;g<b;g++)o.append(p[g],$e()),ie.nextNode(),d.push({type:2,index:++i});o.append(p[b],$e())}}}else if(o.nodeType===8)if(o.data===dt)d.push({type:2,index:i});else{let p=-1;for(;(p=o.data.indexOf(Z,p+1))!==-1;)d.push({type:7,index:i}),p+=Z.length-1}i++}}static createElement(e,r){let a=ne.createElement("template");return a.innerHTML=e,a}};function ce(t,e,r=t,a){var n,c,d;if(e===de)return e;let o=a!==void 0?(n=r._$Co)==null?void 0:n[a]:r._$Cl,i=Le(e)?void 0:e._$litDirective$;return(o==null?void 0:o.constructor)!==i&&((c=o==null?void 0:o._$AO)==null||c.call(o,!1),i===void 0?o=void 0:(o=new i(t),o._$AT(t,r,a)),a!==void 0?((d=r._$Co)!=null?d:r._$Co=[])[a]=o:r._$Cl=o),o!==void 0&&(e=ce(t,o._$AS(t,e.values),o,a)),e}var Xe=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var s;let{el:{content:r},parts:a}=this._$AD,o=((s=e==null?void 0:e.creationScope)!=null?s:ne).importNode(r,!0);ie.currentNode=o;let i=ie.nextNode(),n=0,c=0,d=a[0];for(;d!==void 0;){if(n===d.index){let l;d.type===2?l=new ge(i,i.nextSibling,this,e):d.type===1?l=new d.ctor(i,d.name,d.strings,this,e):d.type===6&&(l=new Ye(i,this,e)),this._$AV.push(l),d=a[++c]}n!==(d==null?void 0:d.index)&&(i=ie.nextNode(),n++)}return ie.currentNode=ne,o}p(e){let r=0;for(let a of this._$AV)a!==void 0&&(a.strings!==void 0?(a._$AI(e,a,r),r+=a.strings.length-2):a._$AI(e[r])),r++}},ge=class t{get _$AU(){var e,r;return(r=(e=this._$AM)==null?void 0:e._$AU)!=null?r:this._$Cv}constructor(e,r,a,o){var i;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=a,this.options=o,this._$Cv=(i=o==null?void 0:o.isConnected)!=null?i:!0}get parentNode(){let e=this._$AA.parentNode,r=this._$AM;return r!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=ce(this,e,r),Le(e)?e===E||e==null||e===""?(this._$AH!==E&&this._$AR(),this._$AH=E):e!==this._$AH&&e!==de&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Yt(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==E&&Le(this._$AH)?this._$AA.nextSibling.data=e:this.T(ne.createTextNode(e)),this._$AH=e}$(e){var i;let{values:r,_$litType$:a}=e,o=typeof a=="number"?this._$AC(e):(a.el===void 0&&(a.el=ze.createElement(Qt(a.h,a.h[0]),this.options)),a);if(((i=this._$AH)==null?void 0:i._$AD)===o)this._$AH.p(r);else{let n=new Xe(o,this),c=n.u(this.options);n.p(r),this.T(c),this._$AH=n}}_$AC(e){let r=Wt.get(e.strings);return r===void 0&&Wt.set(e.strings,r=new ze(e)),r}k(e){ct(this._$AH)||(this._$AH=[],this._$AR());let r=this._$AH,a,o=0;for(let i of e)o===r.length?r.push(a=new t(this.O($e()),this.O($e()),this,this.options)):a=r[o],a._$AI(i),o++;o<r.length&&(this._$AR(a&&a._$AB.nextSibling,o),r.length=o)}_$AR(e=this._$AA.nextSibling,r){var a;for((a=this._$AP)==null?void 0:a.call(this,!1,!0,r);e&&e!==this._$AB;){let o=e.nextSibling;e.remove(),e=o}}setConnected(e){var r;this._$AM===void 0&&(this._$Cv=e,(r=this._$AP)==null||r.call(this,e))}},le=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,a,o,i){this.type=1,this._$AH=E,this._$AN=void 0,this.element=e,this.name=r,this._$AM=o,this.options=i,a.length>2||a[0]!==""||a[1]!==""?(this._$AH=Array(a.length-1).fill(new String),this.strings=a):this._$AH=E}_$AI(e,r=this,a,o){let i=this.strings,n=!1;if(i===void 0)e=ce(this,e,r,0),n=!Le(e)||e!==this._$AH&&e!==de,n&&(this._$AH=e);else{let c=e,d,s;for(e=i[0],d=0;d<i.length-1;d++)s=ce(this,c[a+d],r,d),s===de&&(s=this._$AH[d]),n||(n=!Le(s)||s!==this._$AH[d]),s===E?e=E:e!==E&&(e+=(s!=null?s:"")+i[d+1]),this._$AH[d]=s}n&&!o&&this.j(e)}j(e){e===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e!=null?e:"")}},Ke=class extends le{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===E?void 0:e}},We=class extends le{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==E)}},Ze=class extends le{constructor(e,r,a,o,i){super(e,r,a,o,i),this.type=5}_$AI(e,r=this){var n;if((e=(n=ce(this,e,r,0))!=null?n:E)===de)return;let a=this._$AH,o=e===E&&a!==E||e.capture!==a.capture||e.once!==a.once||e.passive!==a.passive,i=e!==E&&(a===E||o);o&&this.element.removeEventListener(this.name,this,a),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r,a;typeof this._$AH=="function"?this._$AH.call((a=(r=this.options)==null?void 0:r.host)!=null?a:this.element,e):this._$AH.handleEvent(e)}},Ye=class{constructor(e,r,a){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=a}get _$AU(){return this._$AM._$AU}_$AI(e){ce(this,e)}},ra={M:nt,P:Z,A:dt,C:1,L:ea,R:Xe,D:Yt,V:ce,I:ge,H:le,N:We,U:Ze,B:Ke,F:Ye},it=Se.litHtmlPolyfillSupport,Zt;it==null||it(ze,ge),((Zt=Se.litHtmlVersions)!=null?Zt:Se.litHtmlVersions=[]).push("3.3.0");var ta=(t,e,r)=>{var i,n;let a=(i=r==null?void 0:r.renderBefore)!=null?i:e,o=a._$litPart$;if(o===void 0){let c=(n=r==null?void 0:r.renderBefore)!=null?n:null;a._$litPart$=o=new ge(e.insertBefore($e(),c),c,void 0,r!=null?r:{})}return o._$AI(t),o};var se=globalThis,V=class extends W{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var r,a;let e=super.createRenderRoot();return(a=(r=this.renderOptions).renderBefore)!=null||(r.renderBefore=e.firstChild),e}update(e){let r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=ta(r,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return de}},aa;V._$litElement$=!0,V.finalized=!0,(aa=se.litElementHydrateSupport)==null||aa.call(se,{LitElement:V});var st=se.litElementPolyfillSupport;st==null||st({LitElement:V});var oa;((oa=se.litElementVersions)!=null?oa:se.litElementVersions=[]).push("4.2.0");var ia=`@charset "UTF-8";
4
+ /*! normalize.css v2.1.3 | MIT License | git.io/normalize */html{font-family:sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{margin:0}a:focus{outline:thin dotted}a:active,a:hover{outline:0}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,serif;font-size:1em}q{quotes:"\u201C" "\u201D" "\u2018" "\u2019"}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}figure{margin:0}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}button,input,select,textarea{font-family:inherit;font-size:100%;margin:0}button,input{line-height:normal}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=search]{appearance:textfield;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{appearance:none}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}textarea{overflow:auto;vertical-align:top}table{border-collapse:collapse;border-spacing:0}:root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}body{color:var(--black);font-family:var(--font-stack);font-size:100%;line-height:1.375;-webkit-font-smoothing:antialiased}button,input,select,textarea{font-family:var(--font-stack);line-height:1.1875}input[type=date]{display:revert;min-height:35px;min-width:100px;padding-bottom:0;padding-top:0}input[type=date].a-text-input--full{min-width:100%}hr{border:none;border-top:1px solid var(--gray-40)}b,strong{font-weight:600}h1,h2,h3,h4,h5,h6{margin-top:0}.h1,h1{font-size:2.125em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.4411764706em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7647058824em}@media only screen and (max-width:37.5em){blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h2+.h1,.h2+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h2+.h1,h2+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}.h1,h1{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h1,blockquote+h1,dl+.h1,dl+h1,figure+.h1,figure+h1,img+.h1,img+h1,ol+.h1,ol+h1,p+.h1,p+h1,table+.h1,table+h1,ul+.h1,ul+h1{margin-top:1.7307692308em}.h1+.h1,.h1+h1,.h3+.h1,.h3+h1,.h4+.h1,.h4+h1,.h5+.h1,.h5+h1,.h6+.h1,.h6+h1,h1+.h1,h1+h1,h3+.h1,h3+h1,h4+.h1,h4+h1,h5+.h1,h5+h1,h6+.h1,h6+h1{margin-top:1.1538461538em}}.h2,h2{font-size:1.625em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.5769230769em;text-transform:inherit}blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.7307692308em}.h1+.h2,.h1+h2,.h3+.h2,.h3+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,h1+.h2,h1+h2,h3+.h2,h3+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2{margin-top:1.1538461538em}@media only screen and (max-width:37.5em){blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}.h2,h2{font-size:1.375em;font-weight:600;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h2,.h1+h2,.h2+.h2,.h2+h2,.h4+.h2,.h4+h2,.h5+.h2,.h5+h2,.h6+.h2,.h6+h2,blockquote+.h2,blockquote+h2,dl+.h2,dl+h2,figure+.h2,figure+h2,h1+.h2,h1+h2,h2+.h2,h2+h2,h4+.h2,h4+h2,h5+.h2,h5+h2,h6+.h2,h6+h2,img+.h2,img+h2,ol+.h2,ol+h2,p+.h2,p+h2,table+.h2,table+h2,ul+.h2,ul+h2{margin-top:1.3636363636em}}.h3,h3{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.6818181818em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h4+.h3,.h4+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h4+.h3,h4+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.3636363636em}@media only screen and (max-width:37.5em){.h3,h3{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h3,.h1+h3,.h2+.h3,.h2+h3,.h3+.h3,.h3+h3,.h5+.h3,.h5+h3,.h6+.h3,.h6+h3,blockquote+.h3,blockquote+h3,dl+.h3,dl+h3,figure+.h3,figure+h3,h1+.h3,h1+h3,h2+.h3,h2+h3,h3+.h3,h3+h3,h5+.h3,h5+h3,h6+.h3,h6+h3,img+.h3,img+h3,ol+.h3,ol+h3,p+.h3,p+h3,table+.h3,table+h3,ul+.h3,ul+h3{margin-top:1.6666666667em}}.h4,h4{font-size:1.125em;font-weight:500;letter-spacing:inherit;line-height:1.25;margin-bottom:.8333333333em;text-transform:inherit}.h1+.h4,.h1+h4,.h2+.h4,.h2+h4,.h3+.h4,.h3+h4,.h5+.h4,.h5+h4,.h6+.h4,.h6+h4,blockquote+.h4,blockquote+h4,dl+.h4,dl+h4,figure+.h4,figure+h4,h1+.h4,h1+h4,h2+.h4,h2+h4,h3+.h4,h3+h4,h5+.h4,h5+h4,h6+.h4,h6+h4,img+.h4,img+h4,ol+.h4,ol+h4,p+.h4,p+h4,table+.h4,table+h4,ul+.h4,ul+h4{margin-top:1.6666666667em}@media only screen and (max-width:37.5em){.h4,h4{font-size:1em;line-height:1.125;margin-bottom:.625em}}.h5,h5{font-size:.875em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.0714285714em;text-transform:uppercase}.h1+.h5,.h1+h5,.h2+.h5,.h2+h5,.h3+.h5,.h3+h5,.h4+.h5,.h4+h5,.h6+.h5,.h6+h5,blockquote+.h5,blockquote+h5,dl+.h5,dl+h5,figure+.h5,figure+h5,h1+.h5,h1+h5,h2+.h5,h2+h5,h3+.h5,h3+h5,h4+.h5,h4+h5,h6+.h5,h6+h5,img+.h5,img+h5,ol+.h5,ol+h5,p+.h5,p+h5,table+.h5,table+h5,ul+.h5,ul+h5{margin-top:2.1428571429em}.h6,h6{font-size:.75em;font-weight:600;letter-spacing:1px;line-height:1.25;margin-bottom:1.25em;text-transform:uppercase}.h1+.h6,.h1+h6,.h2+.h6,.h2+h6,.h3+.h6,.h3+h6,.h4+.h6,.h4+h6,.h5+.h6,.h5+h6,blockquote+.h6,blockquote+h6,dl+.h6,dl+h6,figure+.h6,figure+h6,h1+.h6,h1+h6,h2+.h6,h2+h6,h3+.h6,h3+h6,h4+.h6,h4+h6,h5+.h6,h5+h6,img+.h6,img+h6,ol+.h6,ol+h6,p+.h6,p+h6,table+.h6,table+h6,ul+.h6,ul+h6{margin-top:2.5em}.lead-paragraph{font-size:1.375em;font-weight:400;letter-spacing:inherit;line-height:1.25;margin-bottom:15px;margin-top:0;text-transform:inherit}@media only screen and (max-width:37.5em){.lead-paragraph{font-size:1.125em;font-weight:400;letter-spacing:inherit;line-height:1.25;text-transform:inherit}}.superheading{font-size:3em;font-weight:400;line-height:1.25;margin-bottom:.4166666667em}blockquote,dl,figure,ol,p,table,ul{margin-bottom:.9375em;margin-top:0}blockquote:last-child,dl:last-child,figure:last-child,ol:last-child,p:last-child,table:last-child,ul:last-child{margin-bottom:0}p+ol,p+ul{margin-top:-.3125em}ol ol,ol ul,ul ol,ul ul{margin-top:.5em}li{margin-bottom:.5em}li:last-child,nav li{margin-bottom:0}a{border-color:var(--pacific);border-style:dotted;border-width:0;color:var(--pacific);text-decoration:none}a.visited,a:visited{border-color:var(--teal);color:var(--teal)}a.hover,a:hover{border-color:var(--pacific-dark);border-style:solid;color:var(--pacific-dark)}a.focus,a:focus{border-style:solid;outline:thin dotted;outline-offset:1px}a.active,a:active{border-color:var(--navy);border-style:solid;color:var(--navy)}dd a,li a,p a{border-bottom-width:1px}nav a{border-bottom-width:0}ul{list-style:square;padding-left:1.125em}ul ul{list-style-type:circle}ol{padding-left:1.3125em}ol li:nth-last-child(n+10),ol li:nth-last-child(n+10)~li{margin-left:.5625rem}ol ol{list-style-type:lower-alpha}ol ol li{margin-left:0!important}ol ol ol{list-style-type:lower-roman}nav ol,nav ol ol,nav ul,nav ul ul{list-style:none;list-style-image:none}caption{margin-bottom:.625em;text-align:left}td,th{padding:.625em}thead td,thead th{background:var(--gray-5);color:var(--black);font-size:1em;padding:.7142857143em;vertical-align:top}tbody tr,thead{border-bottom:1px solid var(--gray)}th{font-weight:600;text-align:left}thead th .h2,thead th .h3,thead th .h4,thead th .h5,thead th .h6,thead th h2,thead th h3,thead th h4,thead th h5,thead th h6{font-size:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;text-transform:inherit}blockquote{margin-left:.9375em;margin-right:.9375em}@media only screen and (min-width:37.5625em){blockquote{margin-left:1.875em;margin-right:1.875em}}img{max-width:100%}figure{margin-left:0;margin-right:0}figure img{vertical-align:middle}code,pre{background:var(--gray-5);border-radius:4px;color:var(--black);font-family:Input Mono,Consolas,Monaco,Courier New,monospace}code{font-size:.8125em;padding:.2307692308em .2307692308em 0}pre{display:block;overflow-wrap:break-word;padding:.625em .9375em;white-space:pre-wrap}pre code{background-color:transparent;padding:0}button.a-btn::-moz-focus-inner,input.a-btn::-moz-focus-inner{border:0}.a-btn{align-items:center;appearance:none;border:0;border-radius:.25em;box-sizing:border-box;cursor:pointer;display:flex;font-size:1em;font-weight:500;gap:.625rem;height:fit-content;justify-content:center;margin:0;padding:.5em .875em;text-align:center;text-decoration:none;transition:background-color .1s;width:fit-content}.a-btn,.a-btn:link,.a-btn:visited{background-color:var(--pacific);color:var(--white)}.a-btn.focus,.a-btn.hover,.a-btn:focus,.a-btn:hover{background-color:var(--pacific-dark);color:var(--white)}.a-btn.focus,.a-btn:focus{outline:1px dotted var(--pacific);outline-offset:1px}.a-btn.active,.a-btn:active{background-color:var(--navy)}.a-btn--secondary,.a-btn--secondary:link,.a-btn--secondary:visited{background-color:var(--white);box-shadow:0 0 0 1px var(--pacific) inset;color:var(--pacific)}.a-btn--secondary.focus,.a-btn--secondary.hover,.a-btn--secondary:focus,.a-btn--secondary:hover{background-color:var(--pacific-10);box-shadow:0 0 0 1px var(--pacific-dark) inset;color:var(--pacific-dark)}.a-btn--secondary.focus,.a-btn--secondary:focus{outline-color:var(--pacific)}.a-btn--secondary.active,.a-btn--secondary:active{background-color:var(--pacific-20);box-shadow:0 0 0 1px var(--navy) inset;color:var(--navy)}.a-btn--warning,.a-btn--warning:link,.a-btn--warning:visited{background-color:var(--red-mid-dark);color:var(--white)}.a-btn--warning.focus,.a-btn--warning.hover,.a-btn--warning:focus,.a-btn--warning:hover{background-color:var(--red-dark)}.a-btn--warning.focus,.a-btn--warning:focus{outline-color:var(--red-mid-dark)}.a-btn--warning.active,.a-btn--warning:active{background-color:var(--gray-dark)}.a-btn--disabled,.a-btn--disabled.active,.a-btn--disabled.focus,.a-btn--disabled.hover,.a-btn--disabled:active,.a-btn--disabled:focus,.a-btn--disabled:hover,.a-btn--disabled:link,.a-btn--disabled:visited,.a-btn[disabled],.a-btn[disabled].active,.a-btn[disabled].focus,.a-btn[disabled].hover,.a-btn[disabled]:active,.a-btn[disabled]:focus,.a-btn[disabled]:hover,.a-btn[disabled]:link,.a-btn[disabled]:visited{background-color:var(--gray-20);color:var(--gray-dark);cursor:default;cursor:not-allowed}.a-btn--disabled.focus,.a-btn--disabled:focus,.a-btn[disabled].focus,.a-btn[disabled]:focus{outline-color:var(--gray-20)}@media only screen and (max-width:37.5em){.a-btn--full-on-xs{width:100%}}.a-btn:has(svg+span) span{order:3}.a-btn:has(span+svg) svg{flex:none;order:3}.a-btn:not(.a-btn--hide-icon):has(span+svg):before,.a-btn:not(.a-btn--hide-icon):has(svg+span):before{border-left:1px solid var(--pacific-60);content:"";order:2;place-self:normal}.a-btn--secondary:has(svg):before{border-color:var(--pacific-60)!important}.a-btn--warning:has(svg):before{border-color:var(--red-60)!important}.a-btn--disabled:has(svg):before,.a-btn[disabled]:has(svg):before{border-color:var(--gray-60)!important}.a-btn--hide-icon svg{display:none}:host{display:flex;width:fit-content}`;var er=class er extends V{static get properties(){return{isDisabled:{type:Boolean},type:{type:String}}}constructor(){super(),this.isDisabled=!1,this.type=""}get _btnClass(){let e="a-btn";switch(this.type){case"secondary":e+=" a-btn--secondary";break;case"warning":e+=" a-btn--warning";break;case"disabled":e+=" a-btn--disabled";break}return e}render(){return Je`<button class="${this._btnClass}" ?disabled="${this.isDisabled}"><slot></slot></button>`}static init(){window.customElements.get("cfpb-button")||window.customElements.define("cfpb-button",er)}};ue(er,"styles",ke`${me(ia)}`);var Qe=er;var{I:Ld}=ra;var na=t=>t.strings===void 0;var da={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ht=t=>(...e)=>({_$litDirective$:t,values:e}),rr=class{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,a){this._$Ct=e,this._$AM=r,this._$Ci=a}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}};var Te=(t,e)=>{var a;let r=t._$AN;if(r===void 0)return!1;for(let o of r)(a=o._$AO)==null||a.call(o,e,!1),Te(o,e);return!0},tr=t=>{let e,r;do{if((e=t._$AM)===void 0)break;r=e._$AN,r.delete(t),t=e}while((r==null?void 0:r.size)===0)},ca=t=>{for(let e;e=t._$AM;t=e){let r=e._$AN;if(r===void 0)e._$AN=r=new Set;else if(r.has(t))break;r.add(t),$i(e)}};function Ai(t){this._$AN!==void 0?(tr(this),this._$AM=t,ca(this)):this._$AM=t}function Si(t,e=!1,r=0){let a=this._$AH,o=this._$AN;if(o!==void 0&&o.size!==0)if(e)if(Array.isArray(a))for(let i=r;i<a.length;i++)Te(a[i],!1),tr(a[i]);else a!=null&&(Te(a,!1),tr(a));else Te(this,t)}var $i=t=>{var e,r;t.type==da.CHILD&&((e=t._$AP)!=null||(t._$AP=Si),(r=t._$AQ)!=null||(t._$AQ=Ai))},ar=class extends rr{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,r,a){super._$AT(e,r,a),ca(this),this.isConnected=e._$AU}_$AO(e,r=!0){var a,o;e!==this.isConnected&&(this.isConnected=e,e?(a=this.reconnected)==null||a.call(this):(o=this.disconnected)==null||o.call(this)),r&&(Te(this,e),tr(this))}setValue(e){if(na(this._$Ct))this._$Ct._$AI(e,this);else{let r=[...this._$Ct._$AH];r[this._$Ci]=e,this._$Ct._$AI(r,this,0)}}disconnected(){}reconnected(){}};var ft=()=>new pt,pt=class{},ut=new WeakMap,bt=ht(class extends ar{render(t){return E}update(t,[e]){var a;let r=e!==this.G;return r&&this.G!==void 0&&this.rt(void 0),(r||this.lt!==this.ct)&&(this.G=e,this.ht=(a=t.options)==null?void 0:a.host,this.rt(this.ct=t.element)),E}rt(t){var e;if(this.isConnected||(t=void 0),typeof this.G=="function"){let r=(e=this.ht)!=null?e:globalThis,a=ut.get(r);a===void 0&&(a=new WeakMap,ut.set(r,a)),a.get(this.G)!==void 0&&this.G.call(this.ht,void 0),a.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){var t,e,r;return typeof this.G=="function"?(e=ut.get((t=this.ht)!=null?t:globalThis))==null?void 0:e.get(this.G):(r=this.G)==null?void 0:r.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var la=":root{--input-text-default:var(--black);--input-text-disabled-default:var(--gray-dark);--input-text-placeholder-default:var(--gray-dark);--input-border-default:var(--gray-60);--input-border-disabled:var(--gray-60);--input-border-success:var(--green);--input-border-warning:var(--gold);--input-border-error:var(--red);--input-border-hover-default:var(--pacific);--input-border-focus-default:var(--pacific);--input-bg-default:var(--white);--input-bg-disabled-default:var(--gray-10);--form-alert-icon-color-default:var(--gray);--form-alert-icon-color-success:var(--green);--form-alert-icon-color-warning:var(--gold);--form-alert-icon-color-error:var(--red);--select-border-default:var(--gray-60);--select-border-width-default:1px;--select-border-error:var(--red);--select-border-width-error:2px;--select-border-hover-default:var(--pacific);--select-border-focus-default:var(--pacific);--select-bg-disabled-default:var(--gray-10);--select-icon-bg-default:var(--gray-10);--select-text-disabled-default:var(--gray-dark);--choice-border-default:var(--gray-60);--choice-border-disabled:var(--gray-60);--choice-border-success:var(--green);--choice-border-warning:var(--gold);--choice-border-error:var(--red);--choice-border-hover-default:var(--pacific);--choice-border-focus-default:var(--pacific);--choice-outline-focus-default:var(--pacific);--choice-bg-default:var(--white);--choice-bg-disabled:var(--gray-10);--choice-bg-selected-default:var(--pacific);--choice-bg-selected-disabled:var(--gray-40);--choice-bg-selected-focus-default:var(--pacific);--choice-label-disabled-default:var(--gray-dark)}:host{display:flex;flex-direction:column;width:fit-content}:host::part(upload-details)[hidden=true]{display:none}";var D,ha,ua,mt,gt,or=class or extends V{constructor(){super();xt(this,D);ue(this,"fileInput",ft());ue(this,"fileDetails",ft());te(this,D,mt).call(this)}static get properties(){return{isDetailHidden:{type:Boolean},fileName:{type:String},accept:{type:String},value:{type:String},files:{type:FileList}}}render(){return Je`<cfpb-button type="secondary" @click="${()=>{this.fileInput.value.click()}}"><slot></slot></cfpb-button><input class="a-btn a-btn--secondary" type="file" hidden accept="${this.accept}" @input="${()=>te(this,D,gt).call(this)}" @cancel="${()=>te(this,D,gt).call(this)}" ${bt(this.fileInput)}><div part="upload-details" ?hidden="${this.isDetailHidden}" ${bt(this.fileDetails)}><h4>File added</h4><ul><li>${this.fileName}</li></ul><p>To remove or replace your file, select a new file and upload again.</p></div>`}static init(){Qe.init(),window.customElements.get("cfpb-file-upload")||window.customElements.define("cfpb-file-upload",or)}};D=new WeakSet,ha=function(r){let a=r;if(a.indexOf("\\")>-1){let o=a.split("\\");a=o[o.length-1]}return a},ua=function(){this.fileName=te(this,D,ha).call(this,this.fileInput.value.value),this.value=this.fileInput.value.value,this.files=this.fileInput.value.files,this.isDetailHidden=!1},mt=function(){this.fileName="",this.value="",this.files={},this.isDetailHidden=!0},gt=function(){this.fileInput.value.value==""?te(this,D,mt).call(this):te(this,D,ua).call(this)},ue(or,"styles",ke`${me(la)}`);var sa=or;})();
5
5
  /*! Bundled license information:
6
6
 
7
7
  @lit/reactive-element/css-tag.js: