@cfpb/cfpb-design-system
Advanced tools
Comparing version 3.1.0 to 3.1.1
@@ -1,2 +0,2 @@ | ||
(()=>{var bt=Object.defineProperty;var mt=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable;var pt=(a,e,t)=>e in a?bt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,_e=(a,e)=>{for(var t in e||(e={}))Et.call(e,t)&&pt(a,t,e[t]);if(mt)for(var t of mt(e))Dt.call(e,t)&&pt(a,t,e[t]);return a};var u=(a,e)=>{for(var t in e)bt(a,t,{get:e[t],enumerable:!0})};var we={};u(we,{default:()=>Lt});var Lt={};var re={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};function ne(){let a=getComputedStyle(document.body).fontSize;return a=a===""?-1:a,parseFloat(a)}function Tt(a,e){let t=a.min,r=a.max;ne()>0&&ne()!==16&&(t=t/16*ne(),r=r/16*ne());let i=t||0,l=r||Number.POSITIVE_INFINITY;return i<=e&&e<=l}function jt(a){let e={};a=a||window.innerWidth;let t;for(t in re)e[t]=Tt(re[t],a);return e}var le="mobile",zt="tablet",Ot="desktop";function ke(a){let e=!1,t=jt();return(a===le&&t.bpXS||a===zt&&t.bpSM||a===Ot&&(t.bpMED||t.bpLG||t.bpXL))&&(e=!0),e}var B="data-js-hook",se="behavior_",Se="state_";function A(){let a={};function e(o,i){return{}.hasOwnProperty.call(a,o)?a[o].push(i):a[o]=[i],this}function t(o,i){if(!{}.hasOwnProperty.call(a,o))return this;let l=a[o].indexOf(i);return l!==-1&&a[o].splice(l,1),this}function r(o,i){if(!{}.hasOwnProperty.call(a,o))return this;i=i||{};let l=a[o];for(let d=0,c=l.length;d<c;d++)l[d].call(this,i);return this}return this.addEventListener=e,this.removeEventListener=t,this.dispatchEvent=r,this.getRegisteredEvents=()=>a,this}function W(a,e){if(!a)return!1;let t=a.getAttribute(B);return t?(t=t.split(" "),t.indexOf(e)>-1):!1}function L(a,e){if(W(a,e))return e;if(e.indexOf(" ")!==-1){let r=B+" values cannot contain spaces!";throw new Error(r)}let t=a.getAttribute(B);return t!==null&&(e=t+" "+e),a.setAttribute(B,e),e}var Ee=Se+"atomic_init";function It(a,e){if(!a||!a.classList){let t=a+' is not valid. Check that element is a DOM node with class "'+e+'"';throw new Error(t)}return a}function Bt(a,e){let t=a.classList.contains(e)?a:a.querySelector("."+e);if(!t){let r=e+" not found on or in passed DOM node.";throw new Error(r)}return t}function q(a,e){return It(a,e),Bt(a,e)}function M(a){return W(a,Ee)?!1:(L(a,Ee),!0)}function F(a,e,t,r={}){let i=(t||document).querySelectorAll(a),l=[],d,c;for(let p=0,h=i.length;p<h;p++)c=i[p],W(c,Ee)===!1&&(d=new e(c),d.init(r),l.push(d));return l}var De={};u(De,{default:()=>Nt});var Nt={};var Ae={};u(Ae,{default:()=>qt});var qt={};var Le={};u(Le,{default:()=>Ht});var Ht={};var Te={};u(Te,{default:()=>Gt});var Gt={};var je={};u(je,{default:()=>Ut});var Ut={};var ze={};u(ze,{default:()=>Xt});var Xt={};var Oe={};u(Oe,{default:()=>Jt});var Jt={};var Ie={};u(Ie,{default:()=>Wt});var Wt={};var Be={};u(Be,{default:()=>Zt});var Zt={};var Me={};u(Me,{default:()=>ea});var ea={};var Ne={};u(Ne,{default:()=>aa});var aa={};var Ce={};u(Ce,{default:()=>oa});var oa={};var qe={};u(qe,{default:()=>na});var na={};var Fe={};u(Fe,{default:()=>sa});var sa={};var He={};u(He,{default:()=>ca});var ca={};var ha;function ma(a){return a.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function pa(a,e){return RegExp(ma(e.trim()),"i").test(a)}function ba(a,e,t){let r=a,o=e,i=(t==null?void 0:t.maxSelections)||5,l=[],d=[],c=[],p=[],h=-1;function f(g){return o+"-"+g.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function v(g){let w,D=[],x=!1;for(let z=0,C=g.length;z<C;z++)w=g[z],x=y()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:x}),x&&d.push(z);return D}function T(){return l=v(r),this}function S(g){return l[g].checked=!l[g].checked,d.length<i&&l[g].checked?(d.push(g),d.sort(),!0):(l[g].checked=!1,d=d.filter(function(w){return w!==g}),!1)}function E(g,w,D,x){return pa(w.text,x)&&g.push(D),g}function j(g){return Object.prototype.toString.call(g)!=="[object String]"&&(g=""),p=c,l.length>0&&(c=l.reduce(function(w,D,x){return E(w,D,x,g)},[])),h=-1,c}function V(g){return l[g]}function R(g){let w=c.length,D=w===0?l.length:w;g<0?h=-1:g>=D?h=D-1:h=g}function O(){return h}return this.init=T,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=j,this.clearFilter=function(){return c=p=[],ha},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=O,this.setIndex=R,this.resetIndex=function(){return h=-1,h},this.getOption=V,this}var ut=ba;function H(a,e,t){let r=document.createElement(a);return Object.keys(t).forEach(o=>{let i=t[o];o in r?r[o]=i:r.setAttribute(o,i)}),e&&e.appendChild(r),r}var gt='<svg xmlns="http://www.w3.org/2000/svg" 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 xa=gt,N="o-multiselect",va="a-checkbox",_a="a-text-input",ft="prev",de="next",Ve="Enter",wa=" ",yt="Escape",ka="ArrowUp",xt="ArrowDown",vt="Tab",_t={renderTags:!0,maxSelections:5};function ce(a){a.classList.add(N);let e=q(a,N),t=!1,r,o,i,l,d,c,p,h,f,y,v,T=[],S;function E(){v.classList.remove("u-no-results"),v.classList.add("u-filtered");let n=i.getLastFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.remove("u-filter-match");n=i.getFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.add("u-filter-match")}function j(){v.classList.remove("u-filtered","u-no-results");for(let n=0,s=v.children.length;n<s;n++)v.children[n].classList.remove("u-filter-match");i.clearFilter()}function V(){v.classList.add("u-no-results"),v.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function O(n){j(),i.resetIndex();let s=i.filterIndices(n);R(s)}function g(){return c.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===de?i.setIndex(i.getIndex()+1):n===ft&&i.setIndex(i.getIndex()-1);let s=i.getIndex();if(s>-1){let m=s,b=i.getFilterIndices();b.length>0&&(m=b[s]);let P=i.getOption(m).value,St=v.querySelector('[data-option="'+P+'"]').querySelector("input");t=!0,St.focus()}else t=!1,f.focus()}function x(){f.value="",j()}function z(n){let s=n.target;s.tagName==="BUTTON"&&(n.preventDefault(),s.removeEventListener("click",z),s.querySelector("label").click())}function C(n){if(n.key===wa||n.key===Ve){let s=n.target.querySelector("label");v.querySelector("#"+s.getAttribute("for")).click()}}function U(n){return r+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,s){let m=U(s),b=H("li",null,{"data-option":s.value}),k=H("button",b,{type:"button",innerHTML:"<label for="+m+">"+s.text+xa+"</label>"});n.appendChild(b),k.addEventListener("click",z),k.addEventListener("keydown",C)}function ie(n){let s=i.getOption(n)||i.getOption(i.getIndex());if(s){if(s.checked){v.classList.contains("u-max-selections")&&v.classList.remove("u-max-selections");let m='[data-option="'+s.value+'"]',b=p.querySelector(m);typeof b!="undefined"&&b&&(p==null||p.removeChild(b))}else d!=null&&d.renderTags&&p&&$(p,s);i.toggleOption(n),i.isAtMaxSelections()&&v.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}i.resetIndex(),t=!1,y.getAttribute("aria-hidden")==="false"&&f.focus()}function fe(n){ie(Number(n.target.getAttribute("data-index"))),x()}function ye(){h.addEventListener("mousemove",function(m){let b=m.target;m.offsetX>b.offsetWidth-35?b.style.cursor="pointer":b.style.cursor="auto"}),h.addEventListener("mouseup",function(m){let b=m.target;m.offsetX>b.offsetWidth-35&&y.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){O(this.value)}),f.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&g()}),f.addEventListener("blur",function(){!t&&y.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(m){let b=m.key;y.getAttribute("aria-hidden")==="true"&&b!==vt&&g(),b===Ve?(m.preventDefault(),D(de)):b===yt?(x(),w()):b===xt?D(de):b===vt&&!m.shiftKey&&y.getAttribute("aria-hidden")==="false"&&w()}),v.addEventListener("mousedown",function(){t=!0}),v.addEventListener("keydown",function(m){let b=m.key,k=m.target,P=k.checked;if(b===Ve){m.preventDefault(),k.checked=!P;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else b===yt?(f.focus(),w()):b===ka?D(ft):b===xt&&D(de)}),y.addEventListener("mousedown",function(m){m.target.tagName==="LABEL"&&(t=!0)});let n=v.querySelectorAll("input");for(let m=0,b=n.length;m<b;m++)n[m].addEventListener("change",fe);let s=p.querySelectorAll("button");for(let m=0,b=s.length;m<b;m++)s[m].addEventListener("click",z),s[m].addEventListener("keydown",C)}function oe(){c=document.createElement("div"),c.className=N,p=H("ul",null,{className:N+"__choices"}),h=H("header",c,{className:N+"__header"}),f=H("input",h,{className:N+"__search "+_a,type:"text",placeholder:o||"Select up to five",id:e.id,autocomplete:"off"}),y=H("fieldset",c,{className:N+"__fieldset u-invisible","aria-hidden":"true"});let n=N+"__options";i.isAtMaxSelections()&&(n+=" u-max-selections"),v=H("ul",y,{className:n});let s,m,b;for(let k=0,P=l.length;k<P;k++){s=l[k],m=U(s),b=i.getOption(k).checked;let G=H("li",v,{"data-option":s.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});H("input",G,{id:m,type:"checkbox",value:s.value,name:r,class:va+" "+N+"__checkbox",checked:b,"data-index":k}),H("label",G,{for:m,textContent:s.text,className:N+"__label a-label"}),T.push(G),b&&(d!=null&&d.renderTags)&&$(p,s)}return c.insertBefore(p,h),e.parentNode.insertBefore(c,e),c.appendChild(e),c}function xe(n=_t){if(!M(e))return this;if(Ge())return this;if(S=this,r=e.name||e.id,o=e.getAttribute("placeholder"),l=e.options||[],d=_e(_e({},_t),n),l.length>0){i=new ut(l,r,d).init();let s=oe();e.parentNode.removeChild(e),e=s,M(e),ye()}return this}function ve(){return i}this.init=xe,this.expand=g,this.collapse=w;let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.getModel=ve,this.updateSelections=ie,this.selectionClickHandler=z,this.selectionKeyDownHandler=C,this}ce.BASE_CLASS=N;ce.init=a=>F(`.${N}`,ce,void 0,a);var Re={};u(Re,{default:()=>Ea});var Ea={};var Ue={};u(Ue,{default:()=>Aa});var Aa={};var Pe={};u(Pe,{default:()=>Ta});var Ta={};var Xe={};u(Xe,{default:()=>za});var za={};var Ke={};u(Ke,{default:()=>Ia});var Ia={};var Je={};u(Je,{default:()=>Ma});var Ma={};var Ye={};u(Ye,{default:()=>Ca});var Ca={};var We={};u(We,{default:()=>Fa});var Fa={};var $e={};u($e,{default:()=>Va});var Va={};var Ze={};u(Ze,{default:()=>Ra});var Ra={};var Qe={};u(Qe,{default:()=>Pa});var Pa={};var et={};u(et,{default:()=>Ka});var Ka={};var tt={};u(tt,{default:()=>Ya});var Ya={};var at={};u(at,{default:()=>$a});var $a={};var it={};u(it,{default:()=>Qa});var Qa={};var ot={};u(ot,{default:()=>ti});var ti={};var rt={};u(rt,{default:()=>ii});var ii={};var nt={};u(nt,{default:()=>ri});var ri={};var lt={};u(lt,{default:()=>li});var li={};var st={};u(st,{default:()=>di});var di={};function he(a,e){let t;if(W(a,e))return t=a,t;if(a){let r="["+B+"="+e+"]";t=a.querySelector(r)}if(!t){let r=e+" behavior not found on passed DOM node!";throw new Error(r)}return t}var ci=Object.prototype.toString;var hi=Array.isArray||function(e){return ci.call(e)==="[object Array]"};function Ge(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var ee=se+"flyout-menu",mi="["+B+"="+ee;function X(a,e=!0){let t=he(a,ee),r=V(a),o=he(a,ee+"_content"),i=0,l=0,d=1,c=2,p=3,h,f,y,v=$.bind(this),T=U.bind(this),S,E=!0,j=!1;function V(n){let s=[],m=n.querySelectorAll(`${mi}_trigger]`),b,k,P;for(let G=m.length>>>0;G--;){for(P=!1,b=m[G],k=b.parentElement;k!==n;)k.getAttribute(B)&&k.getAttribute(B).split(" ").indexOf(ee)!==-1?(P=!0,k=n):k=k.parentElement;P||s.unshift(m[G])}return s}function R(n=!1){return i=n?p:l,r.forEach(s=>{O("expanded",s,n),s.addEventListener("click",x.bind(this)),s.addEventListener("touchstart",g,{passive:!0}),s.addEventListener("mouseover",w.bind(this)),s.addEventListener("mouseout",D.bind(this))}),o.setAttribute("data-open",n?"true":"false"),e&&!n&&o.setAttribute("hidden",""),oe(),this}function O(n,s,m){let b=String(m);return s.setAttribute("aria-"+n,b),b}function g(){j=!0}function w(n){E||(j||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),j=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function x(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),i){case l:case d:this.expand();break;case c:case p:this.collapse();break}}function z(){if(h==null||h.halt(),i===c||i===p)return this;if(i=c,e&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!y)return T(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,T),f(),n||T(),this}function C(){if(h==null||h.halt(),i===d||i===l)return this;for(let s=0,m=r.length;s<m;s++)O("expanded",r[s],!1);if(o.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!f)return v(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,v),y(),n||v(),this}function U(){i=p,o.setAttribute("data-open","true"),h&&h.removeEventListener(_.END_EVENT,T),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,s=r.length;n<s;n++)O("expanded",r[n],!0)}function $(){i=l,e&&o.setAttribute("hidden",""),h&&h.removeEventListener(_.END_EVENT,v),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function ie(n,s,m){h=n,s&&s!==y&&(y=s),m&&m!==f&&(f=m)}function fe(){h&&h.remove();let n;h=n,f=n,y=n}function ye(){return{container:t,content:o,trigger:r}}function oe(){return E&&(E=!1),!E}function xe(){return E||(E=!0),E}function ve(n){return S=n,this}let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.init=R,this.expand=z,this.collapse=C,this.setTransition=ie,this.clearTransition=fe,this.getData=()=>S,this.getTransition=()=>h,this.getDom=ye,this.isAnimating=()=>i===c||i===d,this.isExpanded=()=>i===p,this.resume=oe,this.setData=ve,this.suspend=xe,X.BASE_CLASS=ee,this}var me={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function wt(a){let e=new A,t=new _(a,me,this);function r(l){return t.init(l),this}function o(){return t.applyClass(me.ALPHA_100),this}function i(){return t.applyClass(me.ALPHA_0),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.remove=t.remove,this.setElement=t.setElement,this.fadeIn=o,this.fadeOut=i,this.init=r,this}wt.CLASSES=me;function _(a,e,t){let r=e,o=a;if(!t)throw new Error("Child transition argument must be defined!");let i=t,l,d,c,p=!1,h=!1,f=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(o.addEventListener(d,c),i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),o.classList.add(_.ANIMATING_CLASS),h=!0):(i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),c())}function v(){o.removeEventListener(d,c)}function T(x){return x&&x.propertyName!==r.CSS_PROPERTY?!1:(v(),o.classList.remove(_.ANIMATING_CLASS),i.dispatchEvent(_.END_EVENT,{target:i,type:_.END_EVENT}),h=!1,!0)}function S(){let x;for(x in r)({}).hasOwnProperty.call(r,x)&&r[x]!==r.BASE_CLASS&&o.classList.contains(r[x])&&o.classList.remove(r[x])}function E(){h&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(d,c),c(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function j(){E(),S(),o.classList.remove(r.BASE_CLASS)}function V(){o.classList.remove(_.NO_ANIMATION_CLASS),p=!0}function R(){o.classList.add(_.NO_ANIMATION_CLASS),p=!1}function O(x){if(!x){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let z,C={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},U;for(U in C)if({}.hasOwnProperty.call(C,U)&&typeof x.style[U]!="undefined"){z=C[U];break}return z}function g(x){j(),V(),o=x,o.classList.add(r.BASE_CLASS),d=O(o)}function w(x){if(p=!o.classList.contains(_.NO_ANIMATION_CLASS),c=T.bind(this),g(o),!x)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(x),this}function D(x){return f||(S(),f=!0),o.classList.contains(x)?!1:(v(),o.classList.remove(l),l=x,y(),o.classList.add(l),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=j,this.setElement=g,this}_.BEGIN_EVENT="transitionbegin";_.END_EVENT="transitionend";_.NO_ANIMATION_CLASS="u-no-animation";_.ANIMATING_CLASS="u-is-animating";var te={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 I(a){let e=new A,t=new _(a,te,this),r=0;function o(){let y=a.scrollHeight+"px";a.style.maxHeight=y}function i(){window.removeEventListener("load",i),o()}function l(f){return t.init(f),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function d(){return o(),t.applyClass(te.MH_DEFAULT),(!r||a.scrollHeight>r)&&(r=a.scrollHeight),this}function c(){return t.applyClass(te.MH_SUMMARY),r=a.scrollHeight,this}function p(){return t.applyClass(te.MH_ZERO),r=a.scrollHeight,this}function h(){return a.style.maxHeight="",t.remove()}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.refresh=o,this.remove=h,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}I.CLASSES=te;var K={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 kt(a){let e=new A,t=new _(a,K,this);function r(c){return t.init(c),this}function o(){return t.applyClass(K.MOVE_TO_ORIGIN),this}function i(c){c=c||1;let p=[K.MOVE_LEFT,K.MOVE_LEFT_2X,K.MOVE_LEFT_3X];return t.applyClass(p[c-1]),this}function l(){return t.applyClass(K.MOVE_RIGHT),this}function d(){return t.applyClass(K.MOVE_UP),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.remove=t.remove,this.init=r,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=d,this}kt.CLASSES=K;var dt={};u(dt,{default:()=>ui});var ui={};var Z="o-expandable";function J(a){let e=q(a,Z),t,r,o,i,l;function d(){if(!M(e))return this;t=e.querySelector(`.${Z}__header`),r=e.querySelector(`.${Z}__content`),o=e.querySelector(`.${Z}__label`);let h=e.classList.contains(`${Z}--onload-open`);L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_trigger"),L(r,"behavior_flyout-menu_content");let f=h?I.CLASSES.MH_DEFAULT:I.CLASSES.MH_ZERO;return i=new I(r).init(f),l=new X(e),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(h),l.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function c(){return o.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}J.BASE_CLASS=Z;J.init=a=>F(`.${J.BASE_CLASS}`,J,a);var ct={};u(ct,{default:()=>fi});var fi={};var pe="o-expandable-group";function be(a){let e=q(a,pe),t=e.classList.contains(`${pe}__accordion`),r,o;function i(d){let c=d.target;o&&o!==c&&o.collapse(),o=c}function l(d){return M(e)?(t&&(r=d,r.forEach(c=>{c.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}be.BASE_CLASS=pe;be.init=a=>{(a||document).querySelectorAll(`.${pe}`).forEach(r=>{let o=F(`.${J.BASE_CLASS}`,J,r);new be(r).init(o)})};var ht={};u(ht,{default:()=>xi});var xi={};var Q="o-summary";function ue(a){let e=q(a,Q),t=e.classList.contains(`${Q}--mobile`),r=e.querySelector(`.${Q}__content`),o=e.querySelector(`.${Q}__btn`),i,l,d;function c(){return M(e)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!v(),L(e,"behavior_flyout-menu"),L(r,"behavior_flyout-menu_content"),L(o,"behavior_flyout-menu_trigger"),l=new X(e,!1),i=new I(r),i.init(d?I.CLASSES.MH_SUMMARY:I.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",T),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),e.addEventListener("focusin",h),r.addEventListener("click",f)}function h(g){!d&&g.target!==o&&(o.click(),e.removeEventListener("focusin",h))}function f(g){g.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){v()?R():V()}function v(){return t&&!ke(le)||r.scrollHeight<=88}function T(){l.addEventListener("expandend",S)}function S(){j(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",S),l.suspend(),i.remove()}function E(){o.classList.remove("u-hidden")}function j(){o.classList.add("u-hidden")}function V(){return d&&(l.collapse(),i.animateOn(),E(),d=!1),!d}function R(){return d||(i.animateOff(),l.expand(),j(),d=!0),d}let O=new A;return this.addEventListener=O.addEventListener,this.removeEventListener=O.removeEventListener,this.dispatchEvent=O.dispatchEvent,this.init=c,this}ue.BASE_CLASS=Q;ue.init=a=>F(`.${Q}`,ue,a);var ae="o-summary-minimal";function ge(a){let e=q(a,ae),t=e.querySelector(`.${ae}__content`),r=e.querySelector(`.${ae}__btn`),o,i;function l(){return M(e)?(L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new X(e,!1),o=new I(t),o.init(I.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),e.addEventListener("focusin",c),t.addEventListener("click",p),i.collapse(),o.animateOn()}function c(f){f.target!==r&&(r.click(),e.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let h=new A;return this.addEventListener=h.addEventListener,this.removeEventListener=h.removeEventListener,this.dispatchEvent=h.dispatchEvent,this.init=l,this}ge.BASE_CLASS=ae;ge.init=a=>F(`.${ae}`,ge,a);})(); | ||
(()=>{var bt=Object.defineProperty;var mt=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable;var pt=(a,e,t)=>e in a?bt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,_e=(a,e)=>{for(var t in e||(e={}))Et.call(e,t)&&pt(a,t,e[t]);if(mt)for(var t of mt(e))Dt.call(e,t)&&pt(a,t,e[t]);return a};var u=(a,e)=>{for(var t in e)bt(a,t,{get:e[t],enumerable:!0})};var we={};u(we,{default:()=>Lt});var Lt={};var re={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};function ne(){let a=getComputedStyle(document.body).fontSize;return a=a===""?-1:a,parseFloat(a)}function Tt(a,e){let t=a.min,r=a.max;ne()>0&&ne()!==16&&(t=t/16*ne(),r=r/16*ne());let i=t||0,l=r||Number.POSITIVE_INFINITY;return i<=e&&e<=l}function jt(a){let e={};a=a||window.innerWidth;let t;for(t in re)e[t]=Tt(re[t],a);return e}var le="mobile",zt="tablet",Ot="desktop";function ke(a){let e=!1,t=jt();return(a===le&&t.bpXS||a===zt&&t.bpSM||a===Ot&&(t.bpMED||t.bpLG||t.bpXL))&&(e=!0),e}var B="data-js-hook",se="behavior_",Se="state_";function A(){let a={};function e(o,i){return{}.hasOwnProperty.call(a,o)?a[o].push(i):a[o]=[i],this}function t(o,i){if(!{}.hasOwnProperty.call(a,o))return this;let l=a[o].indexOf(i);return l!==-1&&a[o].splice(l,1),this}function r(o,i){if(!{}.hasOwnProperty.call(a,o))return this;i=i||{};let l=a[o];for(let d=0,c=l.length;d<c;d++)l[d].call(this,i);return this}return this.addEventListener=e,this.removeEventListener=t,this.dispatchEvent=r,this.getRegisteredEvents=()=>a,this}function W(a,e){if(!a)return!1;let t=a.getAttribute(B);return t?(t=t.split(" "),t.indexOf(e)>-1):!1}function L(a,e){if(W(a,e))return e;if(e.indexOf(" ")!==-1){let r=B+" values cannot contain spaces!";throw new Error(r)}let t=a.getAttribute(B);return t!==null&&(e=t+" "+e),a.setAttribute(B,e),e}var Ee=Se+"atomic_init";function It(a,e){if(!a||!a.classList){let t=a+' is not valid. Check that element is a DOM node with class "'+e+'"';throw new Error(t)}return a}function Bt(a,e){let t=a.classList.contains(e)?a:a.querySelector("."+e);if(!t){let r=e+" not found on or in passed DOM node.";throw new Error(r)}return t}function q(a,e){return It(a,e),Bt(a,e)}function M(a){return W(a,Ee)?!1:(L(a,Ee),!0)}function F(a,e,t,r={}){let i=(t||document).querySelectorAll(a),l=[],d,c;for(let p=0,h=i.length;p<h;p++)c=i[p],W(c,Ee)===!1&&(d=new e(c),d.init(r),l.push(d));return l}var De={};u(De,{default:()=>Nt});var Nt={};var Ae={};u(Ae,{default:()=>qt});var qt={};var Le={};u(Le,{default:()=>Ht});var Ht={};var Te={};u(Te,{default:()=>Gt});var Gt={};var je={};u(je,{default:()=>Ut});var Ut={};var ze={};u(ze,{default:()=>Xt});var Xt={};var Oe={};u(Oe,{default:()=>Jt});var Jt={};var Ie={};u(Ie,{default:()=>Wt});var Wt={};var Be={};u(Be,{default:()=>Zt});var Zt={};var Me={};u(Me,{default:()=>ea});var ea={};var Ne={};u(Ne,{default:()=>aa});var aa={};var Ce={};u(Ce,{default:()=>oa});var oa={};var qe={};u(qe,{default:()=>na});var na={};var Fe={};u(Fe,{default:()=>sa});var sa={};var He={};u(He,{default:()=>ca});var ca={};var ha;function ma(a){return a.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function pa(a,e){return RegExp(ma(e.trim()),"i").test(a)}function ba(a,e,t){let r=a,o=e,i=(t==null?void 0:t.maxSelections)||5,l=[],d=[],c=[],p=[],h=-1;function f(g){return o+"-"+g.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function v(g){let w,D=[],x=!1;for(let z=0,C=g.length;z<C;z++)w=g[z],x=y()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:x}),x&&d.push(z);return D}function T(){return l=v(r),this}function S(g){return l[g].checked=!l[g].checked,d.length<i&&l[g].checked?(d.push(g),d.sort(),!0):(l[g].checked=!1,d=d.filter(function(w){return w!==g}),!1)}function E(g,w,D,x){return pa(w.text,x)&&g.push(D),g}function j(g){return Object.prototype.toString.call(g)!=="[object String]"&&(g=""),p=c,l.length>0&&(c=l.reduce(function(w,D,x){return E(w,D,x,g)},[])),h=-1,c}function V(g){return l[g]}function R(g){let w=c.length,D=w===0?l.length:w;g<0?h=-1:g>=D?h=D-1:h=g}function O(){return h}return this.init=T,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=j,this.clearFilter=function(){return c=p=[],ha},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=O,this.setIndex=R,this.resetIndex=function(){return h=-1,h},this.getOption=V,this}var ut=ba;function H(a,e,t){let r=document.createElement(a);return Object.keys(t).forEach(o=>{let i=t[o];o in r?r[o]=i:r.setAttribute(o,i)}),e&&e.appendChild(r),r}var gt='<svg xmlns="http://www.w3.org/2000/svg" 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 xa=gt,N="o-multiselect",va="a-checkbox",_a="a-text-input",ft="prev",de="next",Ve="Enter",wa=" ",yt="Escape",ka="ArrowUp",xt="ArrowDown",vt="Tab",_t={renderTags:!0,maxSelections:5};function ce(a){a.classList.add(N);let e=q(a,N),t=!1,r,o,i,l,d,c,p,h,f,y,v,T=[],S;function E(){v.classList.remove("u-no-results"),v.classList.add("u-filtered");let n=i.getLastFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.remove("u-filter-match");n=i.getFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.add("u-filter-match")}function j(){v.classList.remove("u-filtered","u-no-results");for(let n=0,s=v.children.length;n<s;n++)v.children[n].classList.remove("u-filter-match");i.clearFilter()}function V(){v.classList.add("u-no-results"),v.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function O(n){j(),i.resetIndex();let s=i.filterIndices(n);R(s)}function g(){return c.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===de?i.setIndex(i.getIndex()+1):n===ft&&i.setIndex(i.getIndex()-1);let s=i.getIndex();if(s>-1){let m=s,b=i.getFilterIndices();b.length>0&&(m=b[s]);let P=i.getOption(m).value,St=v.querySelector('[data-option="'+P+'"]').querySelector("input");t=!0,St.focus()}else t=!1,f.focus()}function x(){f.value="",j()}function z(n){let s=n.target;s.tagName==="BUTTON"&&(n.preventDefault(),s.removeEventListener("click",z),s.querySelector("label").click())}function C(n){if(n.key===wa||n.key===Ve){let s=n.target.querySelector("label");v.querySelector("#"+s.getAttribute("for")).click()}}function U(n){return r+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,s){let m=U(s),b=H("li",null,{"data-option":s.value}),k=H("button",b,{type:"button",innerHTML:"<label for="+m+">"+s.text+xa+"</label>"});n.appendChild(b),k.addEventListener("click",z),k.addEventListener("keydown",C)}function ie(n){let s=i.getOption(n)||i.getOption(i.getIndex());if(s){if(s.checked){v.classList.contains("u-max-selections")&&v.classList.remove("u-max-selections");let m='[data-option="'+s.value+'"]',b=p.querySelector(m);typeof b!="undefined"&&b&&(p==null||p.removeChild(b))}else d!=null&&d.renderTags&&p&&$(p,s);i.toggleOption(n),i.isAtMaxSelections()&&v.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}i.resetIndex(),t=!1,y.getAttribute("aria-hidden")==="false"&&f.focus()}function fe(n){ie(Number(n.target.getAttribute("data-index"))),x()}function ye(){h.addEventListener("mousemove",function(m){let b=m.target;m.offsetX>b.offsetWidth-35?b.style.cursor="pointer":b.style.cursor="auto"}),h.addEventListener("mouseup",function(m){let b=m.target;m.offsetX>b.offsetWidth-35&&y.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){O(this.value)}),f.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&g()}),f.addEventListener("blur",function(){!t&&y.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(m){let b=m.key;y.getAttribute("aria-hidden")==="true"&&b!==vt&&g(),b===Ve?(m.preventDefault(),D(de)):b===yt?(x(),w()):b===xt?D(de):b===vt&&!m.shiftKey&&y.getAttribute("aria-hidden")==="false"&&w()}),v.addEventListener("mousedown",function(){t=!0}),v.addEventListener("keydown",function(m){let b=m.key,k=m.target,P=k.checked;if(b===Ve){m.preventDefault(),k.checked=!P;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else b===yt?(f.focus(),w()):b===ka?D(ft):b===xt&&D(de)}),y.addEventListener("mousedown",function(m){m.target.tagName==="LABEL"&&(t=!0)});let n=v.querySelectorAll("input");for(let m=0,b=n.length;m<b;m++)n[m].addEventListener("change",fe);let s=p.querySelectorAll("button");for(let m=0,b=s.length;m<b;m++)s[m].addEventListener("click",z),s[m].addEventListener("keydown",C)}function oe(){c=document.createElement("div"),c.className=N,p=H("ul",null,{className:N+"__choices"}),h=H("header",c,{className:N+"__header"}),f=H("input",h,{className:N+"__search "+_a,type:"text",placeholder:o||"Select up to five",id:e.id,autocomplete:"off"}),y=H("fieldset",c,{className:N+"__fieldset u-invisible","aria-hidden":"true"});let n=N+"__options";i.isAtMaxSelections()&&(n+=" u-max-selections"),v=H("ul",y,{className:n});let s,m,b;for(let k=0,P=l.length;k<P;k++){s=l[k],m=U(s),b=i.getOption(k).checked;let G=H("li",v,{"data-option":s.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});H("input",G,{id:m,type:"checkbox",value:s.value,name:r,class:va+" "+N+"__checkbox",checked:b,"data-index":k}),H("label",G,{for:m,textContent:s.text,className:N+"__label a-label"}),T.push(G),b&&(d!=null&&d.renderTags)&&$(p,s)}return c.insertBefore(p,h),e.parentNode.insertBefore(c,e),c.appendChild(e),c}function xe(n=_t){if(!M(e))return this;if(Ge())return this;if(S=this,r=e.name||e.id,o=e.getAttribute("placeholder"),l=e.options||[],d=_e(_e({},_t),n),l.length>0){i=new ut(l,r,d).init();let s=oe();e.parentNode.removeChild(e),e=s,M(e),ye()}return this}function ve(){return i}this.init=xe,this.expand=g,this.collapse=w;let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.getModel=ve,this.updateSelections=ie,this.selectionClickHandler=z,this.selectionKeyDownHandler=C,this}ce.BASE_CLASS=N;ce.init=a=>F(`.${N}`,ce,void 0,a);var Re={};u(Re,{default:()=>Ea});var Ea={};var Ue={};u(Ue,{default:()=>Aa});var Aa={};var Pe={};u(Pe,{default:()=>Ta});var Ta={};var Xe={};u(Xe,{default:()=>za});var za={};var Ke={};u(Ke,{default:()=>Ia});var Ia={};var Je={};u(Je,{default:()=>Ma});var Ma={};var Ye={};u(Ye,{default:()=>Ca});var Ca={};var We={};u(We,{default:()=>Fa});var Fa={};var $e={};u($e,{default:()=>Va});var Va={};var Ze={};u(Ze,{default:()=>Ra});var Ra={};var Qe={};u(Qe,{default:()=>Pa});var Pa={};var et={};u(et,{default:()=>Ka});var Ka={};var tt={};u(tt,{default:()=>Ya});var Ya={};var at={};u(at,{default:()=>$a});var $a={};var it={};u(it,{default:()=>Qa});var Qa={};var ot={};u(ot,{default:()=>ti});var ti={};var rt={};u(rt,{default:()=>ii});var ii={};var nt={};u(nt,{default:()=>ri});var ri={};var lt={};u(lt,{default:()=>li});var li={};var st={};u(st,{default:()=>di});var di={};function he(a,e){let t;if(W(a,e))return t=a,t;if(a){let r="["+B+"="+e+"]";t=a.querySelector(r)}if(!t){let r=e+" behavior not found on passed DOM node!";throw new Error(r)}return t}var ci=Object.prototype.toString;var hi=Array.isArray||function(e){return ci.call(e)==="[object Array]"};function Ge(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var ee=se+"flyout-menu",mi="["+B+"="+ee;function X(a,e=!0){let t=he(a,ee),r=V(a),o=he(a,ee+"_content"),i=0,l=0,d=1,c=2,p=3,h,f,y,v=$.bind(this),T=U.bind(this),S,E=!0,j=!1;function V(n){let s=[],m=n.querySelectorAll(`${mi}_trigger]`),b,k,P;for(let G=m.length>>>0;G--;){for(P=!1,b=m[G],k=b.parentElement;k!==n;)k.getAttribute(B)&&k.getAttribute(B).split(" ").indexOf(ee)!==-1?(P=!0,k=n):k=k.parentElement;P||s.unshift(m[G])}return s}function R(n=!1){return i=n?p:l,r.forEach(s=>{O("expanded",s,n),s.addEventListener("click",x.bind(this)),s.addEventListener("touchstart",g,{passive:!0}),s.addEventListener("mouseover",w.bind(this)),s.addEventListener("mouseout",D.bind(this))}),o.setAttribute("data-open",n?"true":"false"),e&&!n&&o.setAttribute("hidden",""),oe(),this}function O(n,s,m){let b=String(m);return s.setAttribute("aria-"+n,b),b}function g(){j=!0}function w(n){E||(j||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),j=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function x(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),i){case l:case d:this.expand();break;case c:case p:this.collapse();break}}function z(){if(h==null||h.halt(),i===c||i===p)return this;if(i=c,e&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!y)return T(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,T),f(),n||T(),this}function C(){if(h==null||h.halt(),i===d||i===l)return this;for(let s=0,m=r.length;s<m;s++)O("expanded",r[s],!1);if(o.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!f)return v(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,v),y(),n||v(),this}function U(){i=p,o.setAttribute("data-open","true"),h&&h.removeEventListener(_.END_EVENT,T),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,s=r.length;n<s;n++)O("expanded",r[n],!0)}function $(){i=l,e&&o.setAttribute("hidden",""),h&&h.removeEventListener(_.END_EVENT,v),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function ie(n,s,m){h=n,s&&s!==y&&(y=s),m&&m!==f&&(f=m)}function fe(){h&&h.remove();let n;h=n,f=n,y=n}function ye(){return{container:t,content:o,trigger:r}}function oe(){return E&&(E=!1),!E}function xe(){return E||(E=!0),E}function ve(n){return S=n,this}let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.init=R,this.expand=z,this.collapse=C,this.setTransition=ie,this.clearTransition=fe,this.getData=()=>S,this.getTransition=()=>h,this.getDom=ye,this.isAnimating=()=>i===c||i===d,this.isExpanded=()=>i===p,this.resume=oe,this.setData=ve,this.suspend=xe,X.BASE_CLASS=ee,this}var me={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function wt(a){let e=new A,t=new _(a,me,this);function r(l){return t.init(l),this}function o(){return t.applyClass(me.ALPHA_100),this}function i(){return t.applyClass(me.ALPHA_0),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.remove=t.remove,this.setElement=t.setElement,this.fadeIn=o,this.fadeOut=i,this.init=r,this}wt.CLASSES=me;function _(a,e,t){let r=e,o=a;if(!t)throw new Error("Child transition argument must be defined!");let i=t,l,d,c,p=!1,h=!1,f=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(o.addEventListener(d,c),i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),o.classList.add(_.ANIMATING_CLASS),h=!0):(i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),c())}function v(){o.removeEventListener(d,c)}function T(x){return x&&x.propertyName!==r.CSS_PROPERTY?!1:(v(),o.classList.remove(_.ANIMATING_CLASS),i.dispatchEvent(_.END_EVENT,{target:i,type:_.END_EVENT}),h=!1,!0)}function S(){let x;for(x in r)({}).hasOwnProperty.call(r,x)&&r[x]!==r.BASE_CLASS&&o.classList.contains(r[x])&&o.classList.remove(r[x])}function E(){h&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(d,c),c(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function j(){E(),S(),o.classList.remove(r.BASE_CLASS)}function V(){o.classList.remove(_.NO_ANIMATION_CLASS),p=!0}function R(){o.classList.add(_.NO_ANIMATION_CLASS),p=!1}function O(x){if(!x){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let z,C={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},U;for(U in C)if({}.hasOwnProperty.call(C,U)&&typeof x.style[U]!="undefined"){z=C[U];break}return z}function g(x){j(),V(),o=x,o.classList.add(r.BASE_CLASS),d=O(o)}function w(x){if(p=!o.classList.contains(_.NO_ANIMATION_CLASS),c=T.bind(this),g(o),!x)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(x),this}function D(x){return f||(S(),f=!0),o.classList.contains(x)?!1:(v(),o.classList.remove(l),l=x,y(),o.classList.add(l),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=j,this.setElement=g,this}_.BEGIN_EVENT="transitionbegin";_.END_EVENT="transitionend";_.NO_ANIMATION_CLASS="u-no-animation";_.ANIMATING_CLASS="u-is-animating";var te={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 I(a){let e=new A,t=new _(a,te,this),r=0;function o(){let y=a.scrollHeight+"px";a.style.maxHeight=y}function i(){window.removeEventListener("load",i),o()}function l(f){return t.init(f),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function d(){return o(),t.applyClass(te.MH_DEFAULT),(!r||a.scrollHeight>r)&&(r=a.scrollHeight),this}function c(){return t.applyClass(te.MH_SUMMARY),r=a.scrollHeight,this}function p(){return t.applyClass(te.MH_ZERO),r=a.scrollHeight,this}function h(){return a.style.maxHeight="",t.remove()}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.refresh=o,this.remove=h,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}I.CLASSES=te;var K={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 kt(a){let e=new A,t=new _(a,K,this);function r(c){return t.init(c),this}function o(){return t.applyClass(K.MOVE_TO_ORIGIN),this}function i(c){c=c||1;let p=[K.MOVE_LEFT,K.MOVE_LEFT_2X,K.MOVE_LEFT_3X];return t.applyClass(p[c-1]),this}function l(){return t.applyClass(K.MOVE_RIGHT),this}function d(){return t.applyClass(K.MOVE_UP),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.remove=t.remove,this.init=r,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=d,this}kt.CLASSES=K;var dt={};u(dt,{default:()=>ui});var ui={};var Z="o-expandable";function J(a){let e=q(a,Z),t,r,o,i,l;function d(){if(!M(e))return this;t=e.querySelector(`.${Z}__header`),r=e.querySelector(`.${Z}__content`),o=e.querySelector(`.${Z}__label`);let h=e.classList.contains(`${Z}--onload-open`);L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_trigger"),L(r,"behavior_flyout-menu_content");let f=h?I.CLASSES.MH_DEFAULT:I.CLASSES.MH_ZERO;return i=new I(r).init(f),l=new X(e),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(h),l.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function c(){return o.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}J.BASE_CLASS=Z;J.init=a=>F(`.${J.BASE_CLASS}`,J,a);var ct={};u(ct,{default:()=>fi});var fi={};var pe="o-expandable-group";function be(a){let e=q(a,pe),t=e.classList.contains(`${pe}--accordion`),r,o;function i(d){let c=d.target;o&&o!==c&&o.collapse(),o=c}function l(d){return M(e)?(t&&(r=d,r.forEach(c=>{c.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}be.BASE_CLASS=pe;be.init=a=>{(a||document).querySelectorAll(`.${pe}`).forEach(r=>{let o=F(`.${J.BASE_CLASS}`,J,r);new be(r).init(o)})};var ht={};u(ht,{default:()=>xi});var xi={};var Q="o-summary";function ue(a){let e=q(a,Q),t=e.classList.contains(`${Q}--mobile`),r=e.querySelector(`.${Q}__content`),o=e.querySelector(`.${Q}__btn`),i,l,d;function c(){return M(e)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!v(),L(e,"behavior_flyout-menu"),L(r,"behavior_flyout-menu_content"),L(o,"behavior_flyout-menu_trigger"),l=new X(e,!1),i=new I(r),i.init(d?I.CLASSES.MH_SUMMARY:I.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",T),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),e.addEventListener("focusin",h),r.addEventListener("click",f)}function h(g){!d&&g.target!==o&&(o.click(),e.removeEventListener("focusin",h))}function f(g){g.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){v()?R():V()}function v(){return t&&!ke(le)||r.scrollHeight<=88}function T(){l.addEventListener("expandend",S)}function S(){j(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",S),l.suspend(),i.remove()}function E(){o.classList.remove("u-hidden")}function j(){o.classList.add("u-hidden")}function V(){return d&&(l.collapse(),i.animateOn(),E(),d=!1),!d}function R(){return d||(i.animateOff(),l.expand(),j(),d=!0),d}let O=new A;return this.addEventListener=O.addEventListener,this.removeEventListener=O.removeEventListener,this.dispatchEvent=O.dispatchEvent,this.init=c,this}ue.BASE_CLASS=Q;ue.init=a=>F(`.${Q}`,ue,a);var ae="o-summary-minimal";function ge(a){let e=q(a,ae),t=e.querySelector(`.${ae}__content`),r=e.querySelector(`.${ae}__btn`),o,i;function l(){return M(e)?(L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new X(e,!1),o=new I(t),o.init(I.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),e.addEventListener("focusin",c),t.addEventListener("click",p),i.collapse(),o.animateOn()}function c(f){f.target!==r&&(r.click(),e.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let h=new A;return this.addEventListener=h.addEventListener,this.removeEventListener=h.removeEventListener,this.dispatchEvent=h.dispatchEvent,this.init=l,this}ge.BASE_CLASS=ae;ge.init=a=>F(`.${ae}`,ge,a);})(); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
(()=>{var ht=Object.defineProperty;var dt=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable;var ct=(a,e,t)=>e in a?ht(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,_e=(a,e)=>{for(var t in e||(e={}))Et.call(e,t)&&ct(a,t,e[t]);if(dt)for(var t of dt(e))Dt.call(e,t)&&ct(a,t,e[t]);return a};var g=(a,e)=>{for(var t in e)ht(a,t,{get:e[t],enumerable:!0})};var we={};g(we,{default:()=>Lt});var Lt={};var ke={};g(ke,{default:()=>jt});var jt={};var Se={};g(Se,{default:()=>Ot});var Ot={};var Ee={};g(Ee,{default:()=>Bt});var Bt={};var De={};g(De,{default:()=>Nt});var Nt={};var Ae={};g(Ae,{default:()=>qt});var qt={};var Le={};g(Le,{default:()=>Ht});var Ht={};var Te={};g(Te,{default:()=>Gt});var Gt={};var je={};g(je,{default:()=>Ut});var Ut={};var ze={};g(ze,{default:()=>Xt});var Xt={};var re={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};function ne(){let a=getComputedStyle(document.body).fontSize;return a=a===""?-1:a,parseFloat(a)}function Kt(a,e){let t=a.min,r=a.max;ne()>0&&ne()!==16&&(t=t/16*ne(),r=r/16*ne());let i=t||0,l=r||Number.POSITIVE_INFINITY;return i<=e&&e<=l}function Jt(a){let e={};a=a||window.innerWidth;let t;for(t in re)e[t]=Kt(re[t],a);return e}var le="mobile",Yt="tablet",Wt="desktop";function Oe(a){let e=!1,t=Jt();return(a===le&&t.bpXS||a===Yt&&t.bpSM||a===Wt&&(t.bpMED||t.bpLG||t.bpXL))&&(e=!0),e}var B="data-js-hook",se="behavior_",Ie="state_";function A(){let a={};function e(o,i){return{}.hasOwnProperty.call(a,o)?a[o].push(i):a[o]=[i],this}function t(o,i){if(!{}.hasOwnProperty.call(a,o))return this;let l=a[o].indexOf(i);return l!==-1&&a[o].splice(l,1),this}function r(o,i){if(!{}.hasOwnProperty.call(a,o))return this;i=i||{};let l=a[o];for(let d=0,c=l.length;d<c;d++)l[d].call(this,i);return this}return this.addEventListener=e,this.removeEventListener=t,this.dispatchEvent=r,this.getRegisteredEvents=()=>a,this}function W(a,e){if(!a)return!1;let t=a.getAttribute(B);return t?(t=t.split(" "),t.indexOf(e)>-1):!1}function L(a,e){if(W(a,e))return e;if(e.indexOf(" ")!==-1){let r=B+" values cannot contain spaces!";throw new Error(r)}let t=a.getAttribute(B);return t!==null&&(e=t+" "+e),a.setAttribute(B,e),e}var Be=Ie+"atomic_init";function $t(a,e){if(!a||!a.classList){let t=a+' is not valid. Check that element is a DOM node with class "'+e+'"';throw new Error(t)}return a}function Zt(a,e){let t=a.classList.contains(e)?a:a.querySelector("."+e);if(!t){let r=e+" not found on or in passed DOM node.";throw new Error(r)}return t}function q(a,e){return $t(a,e),Zt(a,e)}function M(a){return W(a,Be)?!1:(L(a,Be),!0)}function F(a,e,t,r={}){let i=(t||document).querySelectorAll(a),l=[],d,c;for(let p=0,h=i.length;p<h;p++)c=i[p],W(c,Be)===!1&&(d=new e(c),d.init(r),l.push(d));return l}var Me={};g(Me,{default:()=>ea});var ea={};var Ne={};g(Ne,{default:()=>aa});var aa={};var Ce={};g(Ce,{default:()=>oa});var oa={};var qe={};g(qe,{default:()=>na});var na={};var Fe={};g(Fe,{default:()=>sa});var sa={};var He={};g(He,{default:()=>ca});var ca={};var Z="o-expandable";function X(a){let e=q(a,Z),t,r,o,i,l;function d(){if(!M(e))return this;t=e.querySelector(`.${Z}__header`),r=e.querySelector(`.${Z}__content`),o=e.querySelector(`.${Z}__label`);let h=e.classList.contains(`${Z}--onload-open`);L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_trigger"),L(r,"behavior_flyout-menu_content");let f=h?I.CLASSES.MH_DEFAULT:I.CLASSES.MH_ZERO;return i=new I(r).init(f),l=new K(e),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(h),l.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function c(){return o.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}X.BASE_CLASS=Z;X.init=a=>F(`.${X.BASE_CLASS}`,X,a);var de="o-expandable-group";function ce(a){let e=q(a,de),t=e.classList.contains(`${de}__accordion`),r,o;function i(d){let c=d.target;o&&o!==c&&o.collapse(),o=c}function l(d){return M(e)?(t&&(r=d,r.forEach(c=>{c.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}ce.BASE_CLASS=de;ce.init=a=>{(a||document).querySelectorAll(`.${de}`).forEach(r=>{let o=F(`.${X.BASE_CLASS}`,X,r);new ce(r).init(o)})};var Q="o-summary";function he(a){let e=q(a,Q),t=e.classList.contains(`${Q}--mobile`),r=e.querySelector(`.${Q}__content`),o=e.querySelector(`.${Q}__btn`),i,l,d;function c(){return M(e)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!v(),L(e,"behavior_flyout-menu"),L(r,"behavior_flyout-menu_content"),L(o,"behavior_flyout-menu_trigger"),l=new K(e,!1),i=new I(r),i.init(d?I.CLASSES.MH_SUMMARY:I.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",T),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),e.addEventListener("focusin",h),r.addEventListener("click",f)}function h(u){!d&&u.target!==o&&(o.click(),e.removeEventListener("focusin",h))}function f(u){u.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){v()?R():V()}function v(){return t&&!Oe(le)||r.scrollHeight<=88}function T(){l.addEventListener("expandend",S)}function S(){j(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",S),l.suspend(),i.remove()}function E(){o.classList.remove("u-hidden")}function j(){o.classList.add("u-hidden")}function V(){return d&&(l.collapse(),i.animateOn(),E(),d=!1),!d}function R(){return d||(i.animateOff(),l.expand(),j(),d=!0),d}let O=new A;return this.addEventListener=O.addEventListener,this.removeEventListener=O.removeEventListener,this.dispatchEvent=O.dispatchEvent,this.init=c,this}he.BASE_CLASS=Q;he.init=a=>F(`.${Q}`,he,a);var ee="o-summary-minimal";function me(a){let e=q(a,ee),t=e.querySelector(`.${ee}__content`),r=e.querySelector(`.${ee}__btn`),o,i;function l(){return M(e)?(L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new K(e,!1),o=new I(t),o.init(I.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),e.addEventListener("focusin",c),t.addEventListener("click",p),i.collapse(),o.animateOn()}function c(f){f.target!==r&&(r.click(),e.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let h=new A;return this.addEventListener=h.addEventListener,this.removeEventListener=h.removeEventListener,this.dispatchEvent=h.dispatchEvent,this.init=l,this}me.BASE_CLASS=ee;me.init=a=>F(`.${ee}`,me,a);var Ve={};g(Ve,{default:()=>pa});var pa={};var Ge={};g(Ge,{default:()=>ua});var ua={};var Re={};g(Re,{default:()=>fa});var fa={};var Ue={};g(Ue,{default:()=>xa});var xa={};var Pe={};g(Pe,{default:()=>_a});var _a={};var Xe={};g(Xe,{default:()=>ka});var ka={};var Ke={};g(Ke,{default:()=>Ea});var Ea={};var Je={};g(Je,{default:()=>Aa});var Aa={};var Ye={};g(Ye,{default:()=>Ta});var Ta={};var We={};g(We,{default:()=>za});var za={};var $e={};g($e,{default:()=>Ia});var Ia={};var Ze={};g(Ze,{default:()=>Ma});var Ma={};var Qe={};g(Qe,{default:()=>Ca});var Ca={};var et={};g(et,{default:()=>Fa});var Fa={};var tt={};g(tt,{default:()=>Va});var Va={};var at={};g(at,{default:()=>Ra});var Ra={};var it={};g(it,{default:()=>Pa});var Pa={};var ot={};g(ot,{default:()=>Ka});var Ka={};var rt={};g(rt,{default:()=>Ya});var Ya={};var nt={};g(nt,{default:()=>$a});var $a={};function pe(a,e){let t;if(W(a,e))return t=a,t;if(a){let r="["+B+"="+e+"]";t=a.querySelector(r)}if(!t){let r=e+" behavior not found on passed DOM node!";throw new Error(r)}return t}var Za=Object.prototype.toString;var Qa=Array.isArray||function(e){return Za.call(e)==="[object Array]"};function lt(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var te=se+"flyout-menu",ei="["+B+"="+te;function K(a,e=!0){let t=pe(a,te),r=V(a),o=pe(a,te+"_content"),i=0,l=0,d=1,c=2,p=3,h,f,y,v=$.bind(this),T=U.bind(this),S,E=!0,j=!1;function V(n){let s=[],m=n.querySelectorAll(`${ei}_trigger]`),b,k,P;for(let G=m.length>>>0;G--;){for(P=!1,b=m[G],k=b.parentElement;k!==n;)k.getAttribute(B)&&k.getAttribute(B).split(" ").indexOf(te)!==-1?(P=!0,k=n):k=k.parentElement;P||s.unshift(m[G])}return s}function R(n=!1){return i=n?p:l,r.forEach(s=>{O("expanded",s,n),s.addEventListener("click",x.bind(this)),s.addEventListener("touchstart",u,{passive:!0}),s.addEventListener("mouseover",w.bind(this)),s.addEventListener("mouseout",D.bind(this))}),o.setAttribute("data-open",n?"true":"false"),e&&!n&&o.setAttribute("hidden",""),oe(),this}function O(n,s,m){let b=String(m);return s.setAttribute("aria-"+n,b),b}function u(){j=!0}function w(n){E||(j||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),j=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function x(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),i){case l:case d:this.expand();break;case c:case p:this.collapse();break}}function z(){if(h==null||h.halt(),i===c||i===p)return this;if(i=c,e&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!y)return T(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,T),f(),n||T(),this}function C(){if(h==null||h.halt(),i===d||i===l)return this;for(let s=0,m=r.length;s<m;s++)O("expanded",r[s],!1);if(o.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!f)return v(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,v),y(),n||v(),this}function U(){i=p,o.setAttribute("data-open","true"),h&&h.removeEventListener(_.END_EVENT,T),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,s=r.length;n<s;n++)O("expanded",r[n],!0)}function $(){i=l,e&&o.setAttribute("hidden",""),h&&h.removeEventListener(_.END_EVENT,v),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function ie(n,s,m){h=n,s&&s!==y&&(y=s),m&&m!==f&&(f=m)}function fe(){h&&h.remove();let n;h=n,f=n,y=n}function ye(){return{container:t,content:o,trigger:r}}function oe(){return E&&(E=!1),!E}function xe(){return E||(E=!0),E}function ve(n){return S=n,this}let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.init=R,this.expand=z,this.collapse=C,this.setTransition=ie,this.clearTransition=fe,this.getData=()=>S,this.getTransition=()=>h,this.getDom=ye,this.isAnimating=()=>i===c||i===d,this.isExpanded=()=>i===p,this.resume=oe,this.setData=ve,this.suspend=xe,K.BASE_CLASS=te,this}var be={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function ut(a){let e=new A,t=new _(a,be,this);function r(l){return t.init(l),this}function o(){return t.applyClass(be.ALPHA_100),this}function i(){return t.applyClass(be.ALPHA_0),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.remove=t.remove,this.setElement=t.setElement,this.fadeIn=o,this.fadeOut=i,this.init=r,this}ut.CLASSES=be;function _(a,e,t){let r=e,o=a;if(!t)throw new Error("Child transition argument must be defined!");let i=t,l,d,c,p=!1,h=!1,f=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(o.addEventListener(d,c),i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),o.classList.add(_.ANIMATING_CLASS),h=!0):(i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),c())}function v(){o.removeEventListener(d,c)}function T(x){return x&&x.propertyName!==r.CSS_PROPERTY?!1:(v(),o.classList.remove(_.ANIMATING_CLASS),i.dispatchEvent(_.END_EVENT,{target:i,type:_.END_EVENT}),h=!1,!0)}function S(){let x;for(x in r)({}).hasOwnProperty.call(r,x)&&r[x]!==r.BASE_CLASS&&o.classList.contains(r[x])&&o.classList.remove(r[x])}function E(){h&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(d,c),c(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function j(){E(),S(),o.classList.remove(r.BASE_CLASS)}function V(){o.classList.remove(_.NO_ANIMATION_CLASS),p=!0}function R(){o.classList.add(_.NO_ANIMATION_CLASS),p=!1}function O(x){if(!x){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let z,C={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},U;for(U in C)if({}.hasOwnProperty.call(C,U)&&typeof x.style[U]!="undefined"){z=C[U];break}return z}function u(x){j(),V(),o=x,o.classList.add(r.BASE_CLASS),d=O(o)}function w(x){if(p=!o.classList.contains(_.NO_ANIMATION_CLASS),c=T.bind(this),u(o),!x)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(x),this}function D(x){return f||(S(),f=!0),o.classList.contains(x)?!1:(v(),o.classList.remove(l),l=x,y(),o.classList.add(l),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=j,this.setElement=u,this}_.BEGIN_EVENT="transitionbegin";_.END_EVENT="transitionend";_.NO_ANIMATION_CLASS="u-no-animation";_.ANIMATING_CLASS="u-is-animating";var ae={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 I(a){let e=new A,t=new _(a,ae,this),r=0;function o(){let y=a.scrollHeight+"px";a.style.maxHeight=y}function i(){window.removeEventListener("load",i),o()}function l(f){return t.init(f),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function d(){return o(),t.applyClass(ae.MH_DEFAULT),(!r||a.scrollHeight>r)&&(r=a.scrollHeight),this}function c(){return t.applyClass(ae.MH_SUMMARY),r=a.scrollHeight,this}function p(){return t.applyClass(ae.MH_ZERO),r=a.scrollHeight,this}function h(){return a.style.maxHeight="",t.remove()}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.refresh=o,this.remove=h,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}I.CLASSES=ae;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 gt(a){let e=new A,t=new _(a,J,this);function r(c){return t.init(c),this}function o(){return t.applyClass(J.MOVE_TO_ORIGIN),this}function i(c){c=c||1;let p=[J.MOVE_LEFT,J.MOVE_LEFT_2X,J.MOVE_LEFT_3X];return t.applyClass(p[c-1]),this}function l(){return t.applyClass(J.MOVE_RIGHT),this}function d(){return t.applyClass(J.MOVE_UP),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.remove=t.remove,this.init=r,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=d,this}gt.CLASSES=J;var ai;function ii(a){return a.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function oi(a,e){return RegExp(ii(e.trim()),"i").test(a)}function ri(a,e,t){let r=a,o=e,i=(t==null?void 0:t.maxSelections)||5,l=[],d=[],c=[],p=[],h=-1;function f(u){return o+"-"+u.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function v(u){let w,D=[],x=!1;for(let z=0,C=u.length;z<C;z++)w=u[z],x=y()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:x}),x&&d.push(z);return D}function T(){return l=v(r),this}function S(u){return l[u].checked=!l[u].checked,d.length<i&&l[u].checked?(d.push(u),d.sort(),!0):(l[u].checked=!1,d=d.filter(function(w){return w!==u}),!1)}function E(u,w,D,x){return oi(w.text,x)&&u.push(D),u}function j(u){return Object.prototype.toString.call(u)!=="[object String]"&&(u=""),p=c,l.length>0&&(c=l.reduce(function(w,D,x){return E(w,D,x,u)},[])),h=-1,c}function V(u){return l[u]}function R(u){let w=c.length,D=w===0?l.length:w;u<0?h=-1:u>=D?h=D-1:h=u}function O(){return h}return this.init=T,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=j,this.clearFilter=function(){return c=p=[],ai},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=O,this.setIndex=R,this.resetIndex=function(){return h=-1,h},this.getOption=V,this}var ft=ri;function H(a,e,t){let r=document.createElement(a);return Object.keys(t).forEach(o=>{let i=t[o];o in r?r[o]=i:r.setAttribute(o,i)}),e&&e.appendChild(r),r}var yt='<svg xmlns="http://www.w3.org/2000/svg" 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 ci=yt,N="o-multiselect",hi="a-checkbox",mi="a-text-input",xt="prev",ue="next",st="Enter",pi=" ",vt="Escape",bi="ArrowUp",_t="ArrowDown",wt="Tab",kt={renderTags:!0,maxSelections:5};function ge(a){a.classList.add(N);let e=q(a,N),t=!1,r,o,i,l,d,c,p,h,f,y,v,T=[],S;function E(){v.classList.remove("u-no-results"),v.classList.add("u-filtered");let n=i.getLastFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.remove("u-filter-match");n=i.getFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.add("u-filter-match")}function j(){v.classList.remove("u-filtered","u-no-results");for(let n=0,s=v.children.length;n<s;n++)v.children[n].classList.remove("u-filter-match");i.clearFilter()}function V(){v.classList.add("u-no-results"),v.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function O(n){j(),i.resetIndex();let s=i.filterIndices(n);R(s)}function u(){return c.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===ue?i.setIndex(i.getIndex()+1):n===xt&&i.setIndex(i.getIndex()-1);let s=i.getIndex();if(s>-1){let m=s,b=i.getFilterIndices();b.length>0&&(m=b[s]);let P=i.getOption(m).value,St=v.querySelector('[data-option="'+P+'"]').querySelector("input");t=!0,St.focus()}else t=!1,f.focus()}function x(){f.value="",j()}function z(n){let s=n.target;s.tagName==="BUTTON"&&(n.preventDefault(),s.removeEventListener("click",z),s.querySelector("label").click())}function C(n){if(n.key===pi||n.key===st){let s=n.target.querySelector("label");v.querySelector("#"+s.getAttribute("for")).click()}}function U(n){return r+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,s){let m=U(s),b=H("li",null,{"data-option":s.value}),k=H("button",b,{type:"button",innerHTML:"<label for="+m+">"+s.text+ci+"</label>"});n.appendChild(b),k.addEventListener("click",z),k.addEventListener("keydown",C)}function ie(n){let s=i.getOption(n)||i.getOption(i.getIndex());if(s){if(s.checked){v.classList.contains("u-max-selections")&&v.classList.remove("u-max-selections");let m='[data-option="'+s.value+'"]',b=p.querySelector(m);typeof b!="undefined"&&b&&(p==null||p.removeChild(b))}else d!=null&&d.renderTags&&p&&$(p,s);i.toggleOption(n),i.isAtMaxSelections()&&v.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}i.resetIndex(),t=!1,y.getAttribute("aria-hidden")==="false"&&f.focus()}function fe(n){ie(Number(n.target.getAttribute("data-index"))),x()}function ye(){h.addEventListener("mousemove",function(m){let b=m.target;m.offsetX>b.offsetWidth-35?b.style.cursor="pointer":b.style.cursor="auto"}),h.addEventListener("mouseup",function(m){let b=m.target;m.offsetX>b.offsetWidth-35&&y.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){O(this.value)}),f.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&u()}),f.addEventListener("blur",function(){!t&&y.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(m){let b=m.key;y.getAttribute("aria-hidden")==="true"&&b!==wt&&u(),b===st?(m.preventDefault(),D(ue)):b===vt?(x(),w()):b===_t?D(ue):b===wt&&!m.shiftKey&&y.getAttribute("aria-hidden")==="false"&&w()}),v.addEventListener("mousedown",function(){t=!0}),v.addEventListener("keydown",function(m){let b=m.key,k=m.target,P=k.checked;if(b===st){m.preventDefault(),k.checked=!P;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else b===vt?(f.focus(),w()):b===bi?D(xt):b===_t&&D(ue)}),y.addEventListener("mousedown",function(m){m.target.tagName==="LABEL"&&(t=!0)});let n=v.querySelectorAll("input");for(let m=0,b=n.length;m<b;m++)n[m].addEventListener("change",fe);let s=p.querySelectorAll("button");for(let m=0,b=s.length;m<b;m++)s[m].addEventListener("click",z),s[m].addEventListener("keydown",C)}function oe(){c=document.createElement("div"),c.className=N,p=H("ul",null,{className:N+"__choices"}),h=H("header",c,{className:N+"__header"}),f=H("input",h,{className:N+"__search "+mi,type:"text",placeholder:o||"Select up to five",id:e.id,autocomplete:"off"}),y=H("fieldset",c,{className:N+"__fieldset u-invisible","aria-hidden":"true"});let n=N+"__options";i.isAtMaxSelections()&&(n+=" u-max-selections"),v=H("ul",y,{className:n});let s,m,b;for(let k=0,P=l.length;k<P;k++){s=l[k],m=U(s),b=i.getOption(k).checked;let G=H("li",v,{"data-option":s.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});H("input",G,{id:m,type:"checkbox",value:s.value,name:r,class:hi+" "+N+"__checkbox",checked:b,"data-index":k}),H("label",G,{for:m,textContent:s.text,className:N+"__label a-label"}),T.push(G),b&&(d!=null&&d.renderTags)&&$(p,s)}return c.insertBefore(p,h),e.parentNode.insertBefore(c,e),c.appendChild(e),c}function xe(n=kt){if(!M(e))return this;if(lt())return this;if(S=this,r=e.name||e.id,o=e.getAttribute("placeholder"),l=e.options||[],d=_e(_e({},kt),n),l.length>0){i=new ft(l,r,d).init();let s=oe();e.parentNode.removeChild(e),e=s,M(e),ye()}return this}function ve(){return i}this.init=xe,this.expand=u,this.collapse=w;let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.getModel=ve,this.updateSelections=ie,this.selectionClickHandler=z,this.selectionKeyDownHandler=C,this}ge.BASE_CLASS=N;ge.init=a=>F(`.${N}`,ge,void 0,a);})(); | ||
(()=>{var ht=Object.defineProperty;var dt=Object.getOwnPropertySymbols;var Et=Object.prototype.hasOwnProperty,Dt=Object.prototype.propertyIsEnumerable;var ct=(a,e,t)=>e in a?ht(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t,_e=(a,e)=>{for(var t in e||(e={}))Et.call(e,t)&&ct(a,t,e[t]);if(dt)for(var t of dt(e))Dt.call(e,t)&&ct(a,t,e[t]);return a};var g=(a,e)=>{for(var t in e)ht(a,t,{get:e[t],enumerable:!0})};var we={};g(we,{default:()=>Lt});var Lt={};var ke={};g(ke,{default:()=>jt});var jt={};var Se={};g(Se,{default:()=>Ot});var Ot={};var Ee={};g(Ee,{default:()=>Bt});var Bt={};var De={};g(De,{default:()=>Nt});var Nt={};var Ae={};g(Ae,{default:()=>qt});var qt={};var Le={};g(Le,{default:()=>Ht});var Ht={};var Te={};g(Te,{default:()=>Gt});var Gt={};var je={};g(je,{default:()=>Ut});var Ut={};var ze={};g(ze,{default:()=>Xt});var Xt={};var re={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};function ne(){let a=getComputedStyle(document.body).fontSize;return a=a===""?-1:a,parseFloat(a)}function Kt(a,e){let t=a.min,r=a.max;ne()>0&&ne()!==16&&(t=t/16*ne(),r=r/16*ne());let i=t||0,l=r||Number.POSITIVE_INFINITY;return i<=e&&e<=l}function Jt(a){let e={};a=a||window.innerWidth;let t;for(t in re)e[t]=Kt(re[t],a);return e}var le="mobile",Yt="tablet",Wt="desktop";function Oe(a){let e=!1,t=Jt();return(a===le&&t.bpXS||a===Yt&&t.bpSM||a===Wt&&(t.bpMED||t.bpLG||t.bpXL))&&(e=!0),e}var B="data-js-hook",se="behavior_",Ie="state_";function A(){let a={};function e(o,i){return{}.hasOwnProperty.call(a,o)?a[o].push(i):a[o]=[i],this}function t(o,i){if(!{}.hasOwnProperty.call(a,o))return this;let l=a[o].indexOf(i);return l!==-1&&a[o].splice(l,1),this}function r(o,i){if(!{}.hasOwnProperty.call(a,o))return this;i=i||{};let l=a[o];for(let d=0,c=l.length;d<c;d++)l[d].call(this,i);return this}return this.addEventListener=e,this.removeEventListener=t,this.dispatchEvent=r,this.getRegisteredEvents=()=>a,this}function W(a,e){if(!a)return!1;let t=a.getAttribute(B);return t?(t=t.split(" "),t.indexOf(e)>-1):!1}function L(a,e){if(W(a,e))return e;if(e.indexOf(" ")!==-1){let r=B+" values cannot contain spaces!";throw new Error(r)}let t=a.getAttribute(B);return t!==null&&(e=t+" "+e),a.setAttribute(B,e),e}var Be=Ie+"atomic_init";function $t(a,e){if(!a||!a.classList){let t=a+' is not valid. Check that element is a DOM node with class "'+e+'"';throw new Error(t)}return a}function Zt(a,e){let t=a.classList.contains(e)?a:a.querySelector("."+e);if(!t){let r=e+" not found on or in passed DOM node.";throw new Error(r)}return t}function q(a,e){return $t(a,e),Zt(a,e)}function M(a){return W(a,Be)?!1:(L(a,Be),!0)}function F(a,e,t,r={}){let i=(t||document).querySelectorAll(a),l=[],d,c;for(let p=0,h=i.length;p<h;p++)c=i[p],W(c,Be)===!1&&(d=new e(c),d.init(r),l.push(d));return l}var Me={};g(Me,{default:()=>ea});var ea={};var Ne={};g(Ne,{default:()=>aa});var aa={};var Ce={};g(Ce,{default:()=>oa});var oa={};var qe={};g(qe,{default:()=>na});var na={};var Fe={};g(Fe,{default:()=>sa});var sa={};var He={};g(He,{default:()=>ca});var ca={};var Z="o-expandable";function X(a){let e=q(a,Z),t,r,o,i,l;function d(){if(!M(e))return this;t=e.querySelector(`.${Z}__header`),r=e.querySelector(`.${Z}__content`),o=e.querySelector(`.${Z}__label`);let h=e.classList.contains(`${Z}--onload-open`);L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_trigger"),L(r,"behavior_flyout-menu_content");let f=h?I.CLASSES.MH_DEFAULT:I.CLASSES.MH_ZERO;return i=new I(r).init(f),l=new K(e),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(h),l.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function c(){return o.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}X.BASE_CLASS=Z;X.init=a=>F(`.${X.BASE_CLASS}`,X,a);var de="o-expandable-group";function ce(a){let e=q(a,de),t=e.classList.contains(`${de}--accordion`),r,o;function i(d){let c=d.target;o&&o!==c&&o.collapse(),o=c}function l(d){return M(e)?(t&&(r=d,r.forEach(c=>{c.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}ce.BASE_CLASS=de;ce.init=a=>{(a||document).querySelectorAll(`.${de}`).forEach(r=>{let o=F(`.${X.BASE_CLASS}`,X,r);new ce(r).init(o)})};var Q="o-summary";function he(a){let e=q(a,Q),t=e.classList.contains(`${Q}--mobile`),r=e.querySelector(`.${Q}__content`),o=e.querySelector(`.${Q}__btn`),i,l,d;function c(){return M(e)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!v(),L(e,"behavior_flyout-menu"),L(r,"behavior_flyout-menu_content"),L(o,"behavior_flyout-menu_trigger"),l=new K(e,!1),i=new I(r),i.init(d?I.CLASSES.MH_SUMMARY:I.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",T),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),e.addEventListener("focusin",h),r.addEventListener("click",f)}function h(u){!d&&u.target!==o&&(o.click(),e.removeEventListener("focusin",h))}function f(u){u.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){v()?R():V()}function v(){return t&&!Oe(le)||r.scrollHeight<=88}function T(){l.addEventListener("expandend",S)}function S(){j(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",S),l.suspend(),i.remove()}function E(){o.classList.remove("u-hidden")}function j(){o.classList.add("u-hidden")}function V(){return d&&(l.collapse(),i.animateOn(),E(),d=!1),!d}function R(){return d||(i.animateOff(),l.expand(),j(),d=!0),d}let O=new A;return this.addEventListener=O.addEventListener,this.removeEventListener=O.removeEventListener,this.dispatchEvent=O.dispatchEvent,this.init=c,this}he.BASE_CLASS=Q;he.init=a=>F(`.${Q}`,he,a);var ee="o-summary-minimal";function me(a){let e=q(a,ee),t=e.querySelector(`.${ee}__content`),r=e.querySelector(`.${ee}__btn`),o,i;function l(){return M(e)?(L(e,"behavior_flyout-menu"),L(t,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new K(e,!1),o=new I(t),o.init(I.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),e.addEventListener("focusin",c),t.addEventListener("click",p),i.collapse(),o.animateOn()}function c(f){f.target!==r&&(r.click(),e.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let h=new A;return this.addEventListener=h.addEventListener,this.removeEventListener=h.removeEventListener,this.dispatchEvent=h.dispatchEvent,this.init=l,this}me.BASE_CLASS=ee;me.init=a=>F(`.${ee}`,me,a);var Ve={};g(Ve,{default:()=>pa});var pa={};var Ge={};g(Ge,{default:()=>ua});var ua={};var Re={};g(Re,{default:()=>fa});var fa={};var Ue={};g(Ue,{default:()=>xa});var xa={};var Pe={};g(Pe,{default:()=>_a});var _a={};var Xe={};g(Xe,{default:()=>ka});var ka={};var Ke={};g(Ke,{default:()=>Ea});var Ea={};var Je={};g(Je,{default:()=>Aa});var Aa={};var Ye={};g(Ye,{default:()=>Ta});var Ta={};var We={};g(We,{default:()=>za});var za={};var $e={};g($e,{default:()=>Ia});var Ia={};var Ze={};g(Ze,{default:()=>Ma});var Ma={};var Qe={};g(Qe,{default:()=>Ca});var Ca={};var et={};g(et,{default:()=>Fa});var Fa={};var tt={};g(tt,{default:()=>Va});var Va={};var at={};g(at,{default:()=>Ra});var Ra={};var it={};g(it,{default:()=>Pa});var Pa={};var ot={};g(ot,{default:()=>Ka});var Ka={};var rt={};g(rt,{default:()=>Ya});var Ya={};var nt={};g(nt,{default:()=>$a});var $a={};function pe(a,e){let t;if(W(a,e))return t=a,t;if(a){let r="["+B+"="+e+"]";t=a.querySelector(r)}if(!t){let r=e+" behavior not found on passed DOM node!";throw new Error(r)}return t}var Za=Object.prototype.toString;var Qa=Array.isArray||function(e){return Za.call(e)==="[object Array]"};function lt(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var te=se+"flyout-menu",ei="["+B+"="+te;function K(a,e=!0){let t=pe(a,te),r=V(a),o=pe(a,te+"_content"),i=0,l=0,d=1,c=2,p=3,h,f,y,v=$.bind(this),T=U.bind(this),S,E=!0,j=!1;function V(n){let s=[],m=n.querySelectorAll(`${ei}_trigger]`),b,k,P;for(let G=m.length>>>0;G--;){for(P=!1,b=m[G],k=b.parentElement;k!==n;)k.getAttribute(B)&&k.getAttribute(B).split(" ").indexOf(te)!==-1?(P=!0,k=n):k=k.parentElement;P||s.unshift(m[G])}return s}function R(n=!1){return i=n?p:l,r.forEach(s=>{O("expanded",s,n),s.addEventListener("click",x.bind(this)),s.addEventListener("touchstart",u,{passive:!0}),s.addEventListener("mouseover",w.bind(this)),s.addEventListener("mouseout",D.bind(this))}),o.setAttribute("data-open",n?"true":"false"),e&&!n&&o.setAttribute("hidden",""),oe(),this}function O(n,s,m){let b=String(m);return s.setAttribute("aria-"+n,b),b}function u(){j=!0}function w(n){E||(j||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),j=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function x(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),i){case l:case d:this.expand();break;case c:case p:this.collapse();break}}function z(){if(h==null||h.halt(),i===c||i===p)return this;if(i=c,e&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!y)return T(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,T),f(),n||T(),this}function C(){if(h==null||h.halt(),i===d||i===l)return this;for(let s=0,m=r.length;s<m;s++)O("expanded",r[s],!1);if(o.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!f)return v(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,v),y(),n||v(),this}function U(){i=p,o.setAttribute("data-open","true"),h&&h.removeEventListener(_.END_EVENT,T),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,s=r.length;n<s;n++)O("expanded",r[n],!0)}function $(){i=l,e&&o.setAttribute("hidden",""),h&&h.removeEventListener(_.END_EVENT,v),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function ie(n,s,m){h=n,s&&s!==y&&(y=s),m&&m!==f&&(f=m)}function fe(){h&&h.remove();let n;h=n,f=n,y=n}function ye(){return{container:t,content:o,trigger:r}}function oe(){return E&&(E=!1),!E}function xe(){return E||(E=!0),E}function ve(n){return S=n,this}let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.init=R,this.expand=z,this.collapse=C,this.setTransition=ie,this.clearTransition=fe,this.getData=()=>S,this.getTransition=()=>h,this.getDom=ye,this.isAnimating=()=>i===c||i===d,this.isExpanded=()=>i===p,this.resume=oe,this.setData=ve,this.suspend=xe,K.BASE_CLASS=te,this}var be={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function ut(a){let e=new A,t=new _(a,be,this);function r(l){return t.init(l),this}function o(){return t.applyClass(be.ALPHA_100),this}function i(){return t.applyClass(be.ALPHA_0),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.remove=t.remove,this.setElement=t.setElement,this.fadeIn=o,this.fadeOut=i,this.init=r,this}ut.CLASSES=be;function _(a,e,t){let r=e,o=a;if(!t)throw new Error("Child transition argument must be defined!");let i=t,l,d,c,p=!1,h=!1,f=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(o.addEventListener(d,c),i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),o.classList.add(_.ANIMATING_CLASS),h=!0):(i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),c())}function v(){o.removeEventListener(d,c)}function T(x){return x&&x.propertyName!==r.CSS_PROPERTY?!1:(v(),o.classList.remove(_.ANIMATING_CLASS),i.dispatchEvent(_.END_EVENT,{target:i,type:_.END_EVENT}),h=!1,!0)}function S(){let x;for(x in r)({}).hasOwnProperty.call(r,x)&&r[x]!==r.BASE_CLASS&&o.classList.contains(r[x])&&o.classList.remove(r[x])}function E(){h&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(d,c),c(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function j(){E(),S(),o.classList.remove(r.BASE_CLASS)}function V(){o.classList.remove(_.NO_ANIMATION_CLASS),p=!0}function R(){o.classList.add(_.NO_ANIMATION_CLASS),p=!1}function O(x){if(!x){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let z,C={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},U;for(U in C)if({}.hasOwnProperty.call(C,U)&&typeof x.style[U]!="undefined"){z=C[U];break}return z}function u(x){j(),V(),o=x,o.classList.add(r.BASE_CLASS),d=O(o)}function w(x){if(p=!o.classList.contains(_.NO_ANIMATION_CLASS),c=T.bind(this),u(o),!x)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(x),this}function D(x){return f||(S(),f=!0),o.classList.contains(x)?!1:(v(),o.classList.remove(l),l=x,y(),o.classList.add(l),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=j,this.setElement=u,this}_.BEGIN_EVENT="transitionbegin";_.END_EVENT="transitionend";_.NO_ANIMATION_CLASS="u-no-animation";_.ANIMATING_CLASS="u-is-animating";var ae={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 I(a){let e=new A,t=new _(a,ae,this),r=0;function o(){let y=a.scrollHeight+"px";a.style.maxHeight=y}function i(){window.removeEventListener("load",i),o()}function l(f){return t.init(f),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function d(){return o(),t.applyClass(ae.MH_DEFAULT),(!r||a.scrollHeight>r)&&(r=a.scrollHeight),this}function c(){return t.applyClass(ae.MH_SUMMARY),r=a.scrollHeight,this}function p(){return t.applyClass(ae.MH_ZERO),r=a.scrollHeight,this}function h(){return a.style.maxHeight="",t.remove()}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.refresh=o,this.remove=h,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}I.CLASSES=ae;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 gt(a){let e=new A,t=new _(a,J,this);function r(c){return t.init(c),this}function o(){return t.applyClass(J.MOVE_TO_ORIGIN),this}function i(c){c=c||1;let p=[J.MOVE_LEFT,J.MOVE_LEFT_2X,J.MOVE_LEFT_3X];return t.applyClass(p[c-1]),this}function l(){return t.applyClass(J.MOVE_RIGHT),this}function d(){return t.applyClass(J.MOVE_UP),this}return this.addEventListener=e.addEventListener,this.dispatchEvent=e.dispatchEvent,this.removeEventListener=e.removeEventListener,this.animateOff=t.animateOff,this.animateOn=t.animateOn,this.halt=t.halt,this.isAnimated=t.isAnimated,this.setElement=t.setElement,this.remove=t.remove,this.init=r,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=d,this}gt.CLASSES=J;var ai;function ii(a){return a.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function oi(a,e){return RegExp(ii(e.trim()),"i").test(a)}function ri(a,e,t){let r=a,o=e,i=(t==null?void 0:t.maxSelections)||5,l=[],d=[],c=[],p=[],h=-1;function f(u){return o+"-"+u.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function v(u){let w,D=[],x=!1;for(let z=0,C=u.length;z<C;z++)w=u[z],x=y()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:x}),x&&d.push(z);return D}function T(){return l=v(r),this}function S(u){return l[u].checked=!l[u].checked,d.length<i&&l[u].checked?(d.push(u),d.sort(),!0):(l[u].checked=!1,d=d.filter(function(w){return w!==u}),!1)}function E(u,w,D,x){return oi(w.text,x)&&u.push(D),u}function j(u){return Object.prototype.toString.call(u)!=="[object String]"&&(u=""),p=c,l.length>0&&(c=l.reduce(function(w,D,x){return E(w,D,x,u)},[])),h=-1,c}function V(u){return l[u]}function R(u){let w=c.length,D=w===0?l.length:w;u<0?h=-1:u>=D?h=D-1:h=u}function O(){return h}return this.init=T,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=j,this.clearFilter=function(){return c=p=[],ai},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=O,this.setIndex=R,this.resetIndex=function(){return h=-1,h},this.getOption=V,this}var ft=ri;function H(a,e,t){let r=document.createElement(a);return Object.keys(t).forEach(o=>{let i=t[o];o in r?r[o]=i:r.setAttribute(o,i)}),e&&e.appendChild(r),r}var yt='<svg xmlns="http://www.w3.org/2000/svg" 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 ci=yt,N="o-multiselect",hi="a-checkbox",mi="a-text-input",xt="prev",ue="next",st="Enter",pi=" ",vt="Escape",bi="ArrowUp",_t="ArrowDown",wt="Tab",kt={renderTags:!0,maxSelections:5};function ge(a){a.classList.add(N);let e=q(a,N),t=!1,r,o,i,l,d,c,p,h,f,y,v,T=[],S;function E(){v.classList.remove("u-no-results"),v.classList.add("u-filtered");let n=i.getLastFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.remove("u-filter-match");n=i.getFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.add("u-filter-match")}function j(){v.classList.remove("u-filtered","u-no-results");for(let n=0,s=v.children.length;n<s;n++)v.children[n].classList.remove("u-filter-match");i.clearFilter()}function V(){v.classList.add("u-no-results"),v.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function O(n){j(),i.resetIndex();let s=i.filterIndices(n);R(s)}function u(){return c.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===ue?i.setIndex(i.getIndex()+1):n===xt&&i.setIndex(i.getIndex()-1);let s=i.getIndex();if(s>-1){let m=s,b=i.getFilterIndices();b.length>0&&(m=b[s]);let P=i.getOption(m).value,St=v.querySelector('[data-option="'+P+'"]').querySelector("input");t=!0,St.focus()}else t=!1,f.focus()}function x(){f.value="",j()}function z(n){let s=n.target;s.tagName==="BUTTON"&&(n.preventDefault(),s.removeEventListener("click",z),s.querySelector("label").click())}function C(n){if(n.key===pi||n.key===st){let s=n.target.querySelector("label");v.querySelector("#"+s.getAttribute("for")).click()}}function U(n){return r+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,s){let m=U(s),b=H("li",null,{"data-option":s.value}),k=H("button",b,{type:"button",innerHTML:"<label for="+m+">"+s.text+ci+"</label>"});n.appendChild(b),k.addEventListener("click",z),k.addEventListener("keydown",C)}function ie(n){let s=i.getOption(n)||i.getOption(i.getIndex());if(s){if(s.checked){v.classList.contains("u-max-selections")&&v.classList.remove("u-max-selections");let m='[data-option="'+s.value+'"]',b=p.querySelector(m);typeof b!="undefined"&&b&&(p==null||p.removeChild(b))}else d!=null&&d.renderTags&&p&&$(p,s);i.toggleOption(n),i.isAtMaxSelections()&&v.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}i.resetIndex(),t=!1,y.getAttribute("aria-hidden")==="false"&&f.focus()}function fe(n){ie(Number(n.target.getAttribute("data-index"))),x()}function ye(){h.addEventListener("mousemove",function(m){let b=m.target;m.offsetX>b.offsetWidth-35?b.style.cursor="pointer":b.style.cursor="auto"}),h.addEventListener("mouseup",function(m){let b=m.target;m.offsetX>b.offsetWidth-35&&y.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){O(this.value)}),f.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&u()}),f.addEventListener("blur",function(){!t&&y.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(m){let b=m.key;y.getAttribute("aria-hidden")==="true"&&b!==wt&&u(),b===st?(m.preventDefault(),D(ue)):b===vt?(x(),w()):b===_t?D(ue):b===wt&&!m.shiftKey&&y.getAttribute("aria-hidden")==="false"&&w()}),v.addEventListener("mousedown",function(){t=!0}),v.addEventListener("keydown",function(m){let b=m.key,k=m.target,P=k.checked;if(b===st){m.preventDefault(),k.checked=!P;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else b===vt?(f.focus(),w()):b===bi?D(xt):b===_t&&D(ue)}),y.addEventListener("mousedown",function(m){m.target.tagName==="LABEL"&&(t=!0)});let n=v.querySelectorAll("input");for(let m=0,b=n.length;m<b;m++)n[m].addEventListener("change",fe);let s=p.querySelectorAll("button");for(let m=0,b=s.length;m<b;m++)s[m].addEventListener("click",z),s[m].addEventListener("keydown",C)}function oe(){c=document.createElement("div"),c.className=N,p=H("ul",null,{className:N+"__choices"}),h=H("header",c,{className:N+"__header"}),f=H("input",h,{className:N+"__search "+mi,type:"text",placeholder:o||"Select up to five",id:e.id,autocomplete:"off"}),y=H("fieldset",c,{className:N+"__fieldset u-invisible","aria-hidden":"true"});let n=N+"__options";i.isAtMaxSelections()&&(n+=" u-max-selections"),v=H("ul",y,{className:n});let s,m,b;for(let k=0,P=l.length;k<P;k++){s=l[k],m=U(s),b=i.getOption(k).checked;let G=H("li",v,{"data-option":s.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});H("input",G,{id:m,type:"checkbox",value:s.value,name:r,class:hi+" "+N+"__checkbox",checked:b,"data-index":k}),H("label",G,{for:m,textContent:s.text,className:N+"__label a-label"}),T.push(G),b&&(d!=null&&d.renderTags)&&$(p,s)}return c.insertBefore(p,h),e.parentNode.insertBefore(c,e),c.appendChild(e),c}function xe(n=kt){if(!M(e))return this;if(lt())return this;if(S=this,r=e.name||e.id,o=e.getAttribute("placeholder"),l=e.options||[],d=_e(_e({},kt),n),l.length>0){i=new ft(l,r,d).init();let s=oe();e.parentNode.removeChild(e),e=s,M(e),ye()}return this}function ve(){return i}this.init=xe,this.expand=u,this.collapse=w;let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.getModel=ve,this.updateSelections=ie,this.selectionClickHandler=z,this.selectionKeyDownHandler=C,this}ge.BASE_CLASS=N;ge.init=a=>F(`.${N}`,ge,void 0,a);})(); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
(()=>{var ut=Object.defineProperty;var pt=Object.getOwnPropertySymbols;var jt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable;var bt=(e,t,a)=>t in e?ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,we=(e,t)=>{for(var a in t||(t={}))jt.call(t,a)&&bt(e,a,t[a]);if(pt)for(var a of pt(t))zt.call(t,a)&&bt(e,a,t[a]);return e};var u=(e,t)=>{for(var a in t)ut(e,a,{get:t[a],enumerable:!0})};var le={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};var ke={};u(ke,{default:()=>It});var It={};var Se={};u(Se,{default:()=>Mt});var Mt={};var Ee={};u(Ee,{default:()=>Ct});var Ct={};var De={};u(De,{default:()=>Ft});var Ft={};var Ae={};u(Ae,{default:()=>Vt});var Vt={};var Le={};u(Le,{default:()=>Rt});var Rt={};var Te={};u(Te,{default:()=>Pt});var Pt={};function se(){let e=getComputedStyle(document.body).fontSize;return e=e===""?-1:e,parseFloat(e)}function Xt(e,t){let a=e.min,r=e.max;se()>0&&se()!==16&&(a=a/16*se(),r=r/16*se());let i=a||0,l=r||Number.POSITIVE_INFINITY;return i<=t&&t<=l}function Kt(e){let t={};e=e||window.innerWidth;let a;for(a in le)t[a]=Xt(le[a],e);return t}var de="mobile",Jt="tablet",Yt="desktop";function je(e){let t=!1,a=Kt();return(e===de&&a.bpXS||e===Jt&&a.bpSM||e===Yt&&(a.bpMED||a.bpLG||a.bpXL))&&(t=!0),t}var I="data-js-hook",Z="behavior_",ze="state_";function A(){let e={};function t(o,i){return{}.hasOwnProperty.call(e,o)?e[o].push(i):e[o]=[i],this}function a(o,i){if(!{}.hasOwnProperty.call(e,o))return this;let l=e[o].indexOf(i);return l!==-1&&e[o].splice(l,1),this}function r(o,i){if(!{}.hasOwnProperty.call(e,o))return this;i=i||{};let l=e[o];for(let d=0,c=l.length;d<c;d++)l[d].call(this,i);return this}return this.addEventListener=t,this.removeEventListener=a,this.dispatchEvent=r,this.getRegisteredEvents=()=>e,this}function W(e,t){if(!e)return!1;let a=e.getAttribute(I);return a?(a=a.split(" "),a.indexOf(t)>-1):!1}function L(e,t){if(W(e,t))return t;if(t.indexOf(" ")!==-1){let r=I+" values cannot contain spaces!";throw new Error(r)}let a=e.getAttribute(I);return a!==null&&(t=a+" "+t),e.setAttribute(I,t),t}var Oe=ze+"atomic_init";function Wt(e,t){if(!e||!e.classList){let a=e+' is not valid. Check that element is a DOM node with class "'+t+'"';throw new Error(a)}return e}function $t(e,t){let a=e.classList.contains(t)?e:e.querySelector("."+t);if(!a){let r=t+" not found on or in passed DOM node.";throw new Error(r)}return a}function q(e,t){return Wt(e,t),$t(e,t)}function M(e){return W(e,Oe)?!1:(L(e,Oe),!0)}function F(e,t,a,r={}){let i=(a||document).querySelectorAll(e),l=[],d,c;for(let p=0,h=i.length;p<h;p++)c=i[p],W(c,Oe)===!1&&(d=new t(c),d.init(r),l.push(d));return l}function gt(e,t){t=t||document;let a=[];try{a=t.querySelectorAll(e)}catch(r){let o=`${e} not found in DOM! ${r}`;throw new Error(o)}return a.length===0&&e.indexOf(Z)===-1&&(a=ft(e,t)),a}function Zt(e,t,a,r){let o=[];e instanceof NodeList?o=e:e instanceof Node?o=[e]:typeof e=="string"&&(o=gt(e,r));for(let i=0,l=o.length;i<l;i++)o[i].addEventListener(t,a,!1);return o}function ce(e,t){let a;if(W(e,t))return a=e,a;if(e){let r="["+I+"="+t+"]";a=e.querySelector(r)}if(!a){let r=t+" behavior not found on passed DOM node!";throw new Error(r)}return a}function ft(e,t){return e=I+"*="+Z+e,e="["+e+"]",gt(e,t)}function Qt(e,t,a){e.removeEventListener(t,a)}var te=Object.prototype.toString;function yt(e){return typeof e=="undefined"}function ea(e){return typeof e!="undefined"}function ta(e){return e!==null&&typeof e=="object"}function xt(e){return te.call(e)==="[object String]"}function aa(e){return te.call(e)==="[object Number]"}function ia(e){return te.call(e)==="[object Date]"}var oa=Array.isArray||function(t){return te.call(t)==="[object Array]"};function ra(e){return te.call(e)==="[object Function]"}function na(e){return yt(e)||e===null||xt(e)&&e.length<=0||/^\s*$/.test(e)}function Ie(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var ae=Z+"flyout-menu",la="["+I+"="+ae;function X(e,t=!0){let a=ce(e,ae),r=V(e),o=ce(e,ae+"_content"),i=0,l=0,d=1,c=2,p=3,h,f,y,v=$.bind(this),T=U.bind(this),S,E=!0,j=!1;function V(n){let s=[],m=n.querySelectorAll(`${la}_trigger]`),b,k,P;for(let G=m.length>>>0;G--;){for(P=!1,b=m[G],k=b.parentElement;k!==n;)k.getAttribute(I)&&k.getAttribute(I).split(" ").indexOf(ae)!==-1?(P=!0,k=n):k=k.parentElement;P||s.unshift(m[G])}return s}function R(n=!1){return i=n?p:l,r.forEach(s=>{O("expanded",s,n),s.addEventListener("click",x.bind(this)),s.addEventListener("touchstart",g,{passive:!0}),s.addEventListener("mouseover",w.bind(this)),s.addEventListener("mouseout",D.bind(this))}),o.setAttribute("data-open",n?"true":"false"),t&&!n&&o.setAttribute("hidden",""),ne(),this}function O(n,s,m){let b=String(m);return s.setAttribute("aria-"+n,b),b}function g(){j=!0}function w(n){E||(j||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),j=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function x(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),i){case l:case d:this.expand();break;case c:case p:this.collapse();break}}function z(){if(h==null||h.halt(),i===c||i===p)return this;if(i=c,t&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!y)return T(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,T),f(),n||T(),this}function C(){if(h==null||h.halt(),i===d||i===l)return this;for(let s=0,m=r.length;s<m;s++)O("expanded",r[s],!1);if(o.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!f)return v(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,v),y(),n||v(),this}function U(){i=p,o.setAttribute("data-open","true"),h&&h.removeEventListener(_.END_EVENT,T),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,s=r.length;n<s;n++)O("expanded",r[n],!0)}function $(){i=l,t&&o.setAttribute("hidden",""),h&&h.removeEventListener(_.END_EVENT,v),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function re(n,s,m){h=n,s&&s!==y&&(y=s),m&&m!==f&&(f=m)}function ye(){h&&h.remove();let n;h=n,f=n,y=n}function xe(){return{container:a,content:o,trigger:r}}function ne(){return E&&(E=!1),!E}function ve(){return E||(E=!0),E}function _e(n){return S=n,this}let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.init=R,this.expand=z,this.collapse=C,this.setTransition=re,this.clearTransition=ye,this.getData=()=>S,this.getTransition=()=>h,this.getDom=xe,this.isAnimating=()=>i===c||i===d,this.isExpanded=()=>i===p,this.resume=ne,this.setData=_e,this.suspend=ve,X.BASE_CLASS=ae,this}var he={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function vt(e){let t=new A,a=new _(e,he,this);function r(l){return a.init(l),this}function o(){return a.applyClass(he.ALPHA_100),this}function i(){return a.applyClass(he.ALPHA_0),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.remove=a.remove,this.setElement=a.setElement,this.fadeIn=o,this.fadeOut=i,this.init=r,this}vt.CLASSES=he;function _(e,t,a){let r=t,o=e;if(!a)throw new Error("Child transition argument must be defined!");let i=a,l,d,c,p=!1,h=!1,f=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(o.addEventListener(d,c),i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),o.classList.add(_.ANIMATING_CLASS),h=!0):(i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),c())}function v(){o.removeEventListener(d,c)}function T(x){return x&&x.propertyName!==r.CSS_PROPERTY?!1:(v(),o.classList.remove(_.ANIMATING_CLASS),i.dispatchEvent(_.END_EVENT,{target:i,type:_.END_EVENT}),h=!1,!0)}function S(){let x;for(x in r)({}).hasOwnProperty.call(r,x)&&r[x]!==r.BASE_CLASS&&o.classList.contains(r[x])&&o.classList.remove(r[x])}function E(){h&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(d,c),c(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function j(){E(),S(),o.classList.remove(r.BASE_CLASS)}function V(){o.classList.remove(_.NO_ANIMATION_CLASS),p=!0}function R(){o.classList.add(_.NO_ANIMATION_CLASS),p=!1}function O(x){if(!x){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let z,C={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},U;for(U in C)if({}.hasOwnProperty.call(C,U)&&typeof x.style[U]!="undefined"){z=C[U];break}return z}function g(x){j(),V(),o=x,o.classList.add(r.BASE_CLASS),d=O(o)}function w(x){if(p=!o.classList.contains(_.NO_ANIMATION_CLASS),c=T.bind(this),g(o),!x)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(x),this}function D(x){return f||(S(),f=!0),o.classList.contains(x)?!1:(v(),o.classList.remove(l),l=x,y(),o.classList.add(l),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=j,this.setElement=g,this}_.BEGIN_EVENT="transitionbegin";_.END_EVENT="transitionend";_.NO_ANIMATION_CLASS="u-no-animation";_.ANIMATING_CLASS="u-is-animating";var ie={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 B(e){let t=new A,a=new _(e,ie,this),r=0;function o(){let y=e.scrollHeight+"px";e.style.maxHeight=y}function i(){window.removeEventListener("load",i),o()}function l(f){return a.init(f),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function d(){return o(),a.applyClass(ie.MH_DEFAULT),(!r||e.scrollHeight>r)&&(r=e.scrollHeight),this}function c(){return a.applyClass(ie.MH_SUMMARY),r=e.scrollHeight,this}function p(){return a.applyClass(ie.MH_ZERO),r=e.scrollHeight,this}function h(){return e.style.maxHeight="",a.remove()}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.refresh=o,this.remove=h,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}B.CLASSES=ie;var K={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(e){let t=new A,a=new _(e,K,this);function r(c){return a.init(c),this}function o(){return a.applyClass(K.MOVE_TO_ORIGIN),this}function i(c){c=c||1;let p=[K.MOVE_LEFT,K.MOVE_LEFT_2X,K.MOVE_LEFT_3X];return a.applyClass(p[c-1]),this}function l(){return a.applyClass(K.MOVE_RIGHT),this}function d(){return a.applyClass(K.MOVE_UP),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.remove=a.remove,this.init=r,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=d,this}_t.CLASSES=K;var Be={};u(Be,{default:()=>ca});var ca={};var Q="o-expandable";function J(e){let t=q(e,Q),a,r,o,i,l;function d(){if(!M(t))return this;a=t.querySelector(`.${Q}__header`),r=t.querySelector(`.${Q}__content`),o=t.querySelector(`.${Q}__label`);let h=t.classList.contains(`${Q}--onload-open`);L(t,"behavior_flyout-menu"),L(a,"behavior_flyout-menu_trigger"),L(r,"behavior_flyout-menu_content");let f=h?B.CLASSES.MH_DEFAULT:B.CLASSES.MH_ZERO;return i=new B(r).init(f),l=new X(t),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(h),l.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function c(){return o.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}J.BASE_CLASS=Q;J.init=e=>F(`.${J.BASE_CLASS}`,J,e);var Me={};u(Me,{default:()=>ma});var ma={};var me="o-expandable-group";function pe(e){let t=q(e,me),a=t.classList.contains(`${me}__accordion`),r,o;function i(d){let c=d.target;o&&o!==c&&o.collapse(),o=c}function l(d){return M(t)?(a&&(r=d,r.forEach(c=>{c.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}pe.BASE_CLASS=me;pe.init=e=>{(e||document).querySelectorAll(`.${me}`).forEach(r=>{let o=F(`.${J.BASE_CLASS}`,J,r);new pe(r).init(o)})};var Ne={};u(Ne,{default:()=>ba});var ba={};var ee="o-summary";function be(e){let t=q(e,ee),a=t.classList.contains(`${ee}--mobile`),r=t.querySelector(`.${ee}__content`),o=t.querySelector(`.${ee}__btn`),i,l,d;function c(){return M(t)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!v(),L(t,"behavior_flyout-menu"),L(r,"behavior_flyout-menu_content"),L(o,"behavior_flyout-menu_trigger"),l=new X(t,!1),i=new B(r),i.init(d?B.CLASSES.MH_SUMMARY:B.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",T),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),t.addEventListener("focusin",h),r.addEventListener("click",f)}function h(g){!d&&g.target!==o&&(o.click(),t.removeEventListener("focusin",h))}function f(g){g.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){v()?R():V()}function v(){return a&&!je(de)||r.scrollHeight<=88}function T(){l.addEventListener("expandend",S)}function S(){j(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",S),l.suspend(),i.remove()}function E(){o.classList.remove("u-hidden")}function j(){o.classList.add("u-hidden")}function V(){return d&&(l.collapse(),i.animateOn(),E(),d=!1),!d}function R(){return d||(i.animateOff(),l.expand(),j(),d=!0),d}let O=new A;return this.addEventListener=O.addEventListener,this.removeEventListener=O.removeEventListener,this.dispatchEvent=O.dispatchEvent,this.init=c,this}be.BASE_CLASS=ee;be.init=e=>F(`.${ee}`,be,e);var oe="o-summary-minimal";function ue(e){let t=q(e,oe),a=t.querySelector(`.${oe}__content`),r=t.querySelector(`.${oe}__btn`),o,i;function l(){return M(t)?(L(t,"behavior_flyout-menu"),L(a,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new X(t,!1),o=new B(a),o.init(B.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),t.addEventListener("focusin",c),a.addEventListener("click",p),i.collapse(),o.animateOn()}function c(f){f.target!==r&&(r.click(),t.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let h=new A;return this.addEventListener=h.addEventListener,this.removeEventListener=h.removeEventListener,this.dispatchEvent=h.dispatchEvent,this.init=l,this}ue.BASE_CLASS=oe;ue.init=e=>F(`.${oe}`,ue,e);var Ce={};u(Ce,{default:()=>fa});var fa={};var qe={};u(qe,{default:()=>xa});var xa={};var Fe={};u(Fe,{default:()=>_a});var _a={};var He={};u(He,{default:()=>ka});var ka={};var Ve={};u(Ve,{default:()=>Ea});var Ea={};var Ge={};u(Ge,{default:()=>Aa});var Aa={};var Re={};u(Re,{default:()=>Ta});var Ta={};var Ue={};u(Ue,{default:()=>za});var za={};var Pe={};u(Pe,{default:()=>Ia});var Ia={};var Ba;function Ma(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function Na(e,t){return RegExp(Ma(t.trim()),"i").test(e)}function Ca(e,t,a){let r=e,o=t,i=(a==null?void 0:a.maxSelections)||5,l=[],d=[],c=[],p=[],h=-1;function f(g){return o+"-"+g.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function v(g){let w,D=[],x=!1;for(let z=0,C=g.length;z<C;z++)w=g[z],x=y()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:x}),x&&d.push(z);return D}function T(){return l=v(r),this}function S(g){return l[g].checked=!l[g].checked,d.length<i&&l[g].checked?(d.push(g),d.sort(),!0):(l[g].checked=!1,d=d.filter(function(w){return w!==g}),!1)}function E(g,w,D,x){return Na(w.text,x)&&g.push(D),g}function j(g){return Object.prototype.toString.call(g)!=="[object String]"&&(g=""),p=c,l.length>0&&(c=l.reduce(function(w,D,x){return E(w,D,x,g)},[])),h=-1,c}function V(g){return l[g]}function R(g){let w=c.length,D=w===0?l.length:w;g<0?h=-1:g>=D?h=D-1:h=g}function O(){return h}return this.init=T,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=j,this.clearFilter=function(){return c=p=[],Ba},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=O,this.setIndex=R,this.resetIndex=function(){return h=-1,h},this.getOption=V,this}var wt=Ca;function H(e,t,a){let r=document.createElement(e);return Object.keys(a).forEach(o=>{let i=a[o];o in r?r[o]=i:r.setAttribute(o,i)}),t&&t.appendChild(r),r}var kt='<svg xmlns="http://www.w3.org/2000/svg" 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 Ga=kt,N="o-multiselect",Ra="a-checkbox",Ua="a-text-input",St="prev",ge="next",Xe="Enter",Pa=" ",Et="Escape",Xa="ArrowUp",Dt="ArrowDown",At="Tab",Lt={renderTags:!0,maxSelections:5};function fe(e){e.classList.add(N);let t=q(e,N),a=!1,r,o,i,l,d,c,p,h,f,y,v,T=[],S;function E(){v.classList.remove("u-no-results"),v.classList.add("u-filtered");let n=i.getLastFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.remove("u-filter-match");n=i.getFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.add("u-filter-match")}function j(){v.classList.remove("u-filtered","u-no-results");for(let n=0,s=v.children.length;n<s;n++)v.children[n].classList.remove("u-filter-match");i.clearFilter()}function V(){v.classList.add("u-no-results"),v.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function O(n){j(),i.resetIndex();let s=i.filterIndices(n);R(s)}function g(){return c.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===ge?i.setIndex(i.getIndex()+1):n===St&&i.setIndex(i.getIndex()-1);let s=i.getIndex();if(s>-1){let m=s,b=i.getFilterIndices();b.length>0&&(m=b[s]);let P=i.getOption(m).value,Tt=v.querySelector('[data-option="'+P+'"]').querySelector("input");a=!0,Tt.focus()}else a=!1,f.focus()}function x(){f.value="",j()}function z(n){let s=n.target;s.tagName==="BUTTON"&&(n.preventDefault(),s.removeEventListener("click",z),s.querySelector("label").click())}function C(n){if(n.key===Pa||n.key===Xe){let s=n.target.querySelector("label");v.querySelector("#"+s.getAttribute("for")).click()}}function U(n){return r+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,s){let m=U(s),b=H("li",null,{"data-option":s.value}),k=H("button",b,{type:"button",innerHTML:"<label for="+m+">"+s.text+Ga+"</label>"});n.appendChild(b),k.addEventListener("click",z),k.addEventListener("keydown",C)}function re(n){let s=i.getOption(n)||i.getOption(i.getIndex());if(s){if(s.checked){v.classList.contains("u-max-selections")&&v.classList.remove("u-max-selections");let m='[data-option="'+s.value+'"]',b=p.querySelector(m);typeof b!="undefined"&&b&&(p==null||p.removeChild(b))}else d!=null&&d.renderTags&&p&&$(p,s);i.toggleOption(n),i.isAtMaxSelections()&&v.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}i.resetIndex(),a=!1,y.getAttribute("aria-hidden")==="false"&&f.focus()}function ye(n){re(Number(n.target.getAttribute("data-index"))),x()}function xe(){h.addEventListener("mousemove",function(m){let b=m.target;m.offsetX>b.offsetWidth-35?b.style.cursor="pointer":b.style.cursor="auto"}),h.addEventListener("mouseup",function(m){let b=m.target;m.offsetX>b.offsetWidth-35&&y.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){O(this.value)}),f.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&g()}),f.addEventListener("blur",function(){!a&&y.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(m){let b=m.key;y.getAttribute("aria-hidden")==="true"&&b!==At&&g(),b===Xe?(m.preventDefault(),D(ge)):b===Et?(x(),w()):b===Dt?D(ge):b===At&&!m.shiftKey&&y.getAttribute("aria-hidden")==="false"&&w()}),v.addEventListener("mousedown",function(){a=!0}),v.addEventListener("keydown",function(m){let b=m.key,k=m.target,P=k.checked;if(b===Xe){m.preventDefault(),k.checked=!P;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else b===Et?(f.focus(),w()):b===Xa?D(St):b===Dt&&D(ge)}),y.addEventListener("mousedown",function(m){m.target.tagName==="LABEL"&&(a=!0)});let n=v.querySelectorAll("input");for(let m=0,b=n.length;m<b;m++)n[m].addEventListener("change",ye);let s=p.querySelectorAll("button");for(let m=0,b=s.length;m<b;m++)s[m].addEventListener("click",z),s[m].addEventListener("keydown",C)}function ne(){c=document.createElement("div"),c.className=N,p=H("ul",null,{className:N+"__choices"}),h=H("header",c,{className:N+"__header"}),f=H("input",h,{className:N+"__search "+Ua,type:"text",placeholder:o||"Select up to five",id:t.id,autocomplete:"off"}),y=H("fieldset",c,{className:N+"__fieldset u-invisible","aria-hidden":"true"});let n=N+"__options";i.isAtMaxSelections()&&(n+=" u-max-selections"),v=H("ul",y,{className:n});let s,m,b;for(let k=0,P=l.length;k<P;k++){s=l[k],m=U(s),b=i.getOption(k).checked;let G=H("li",v,{"data-option":s.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});H("input",G,{id:m,type:"checkbox",value:s.value,name:r,class:Ra+" "+N+"__checkbox",checked:b,"data-index":k}),H("label",G,{for:m,textContent:s.text,className:N+"__label a-label"}),T.push(G),b&&(d!=null&&d.renderTags)&&$(p,s)}return c.insertBefore(p,h),t.parentNode.insertBefore(c,t),c.appendChild(t),c}function ve(n=Lt){if(!M(t))return this;if(Ie())return this;if(S=this,r=t.name||t.id,o=t.getAttribute("placeholder"),l=t.options||[],d=we(we({},Lt),n),l.length>0){i=new wt(l,r,d).init();let s=ne();t.parentNode.removeChild(t),t=s,M(t),xe()}return this}function _e(){return i}this.init=ve,this.expand=g,this.collapse=w;let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.getModel=_e,this.updateSelections=re,this.selectionClickHandler=z,this.selectionKeyDownHandler=C,this}fe.BASE_CLASS=N;fe.init=e=>F(`.${N}`,fe,void 0,e);var Ke={};u(Ke,{default:()=>Ja});var Ja={};var Je={};u(Je,{default:()=>Wa});var Wa={};var Ye={};u(Ye,{default:()=>Za});var Za={};var We={};u(We,{default:()=>ei});var ei={};var $e={};u($e,{default:()=>ai});var ai={};var Ze={};u(Ze,{default:()=>oi});var oi={};var Qe={};u(Qe,{default:()=>ni});var ni={};var et={};u(et,{default:()=>si});var si={};var tt={};u(tt,{default:()=>ci});var ci={};var at={};u(at,{default:()=>mi});var mi={};var it={};u(it,{default:()=>bi});var bi={};var ot={};u(ot,{default:()=>gi});var gi={};var rt={};u(rt,{default:()=>yi});var yi={};var nt={};u(nt,{default:()=>vi});var vi={};var lt={};u(lt,{default:()=>wi});var wi={};var st={};u(st,{default:()=>Si});var Si={};var dt={};u(dt,{default:()=>Di});var Di={};var ct={};u(ct,{default:()=>Li});var Li={};var ht={};u(ht,{default:()=>ji});var ji={};var mt={};u(mt,{default:()=>Oi});var Oi={};})(); | ||
(()=>{var ut=Object.defineProperty;var pt=Object.getOwnPropertySymbols;var jt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable;var bt=(e,t,a)=>t in e?ut(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,we=(e,t)=>{for(var a in t||(t={}))jt.call(t,a)&&bt(e,a,t[a]);if(pt)for(var a of pt(t))zt.call(t,a)&&bt(e,a,t[a]);return e};var u=(e,t)=>{for(var a in t)ut(e,a,{get:t[a],enumerable:!0})};var le={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};var ke={};u(ke,{default:()=>It});var It={};var Se={};u(Se,{default:()=>Mt});var Mt={};var Ee={};u(Ee,{default:()=>Ct});var Ct={};var De={};u(De,{default:()=>Ft});var Ft={};var Ae={};u(Ae,{default:()=>Vt});var Vt={};var Le={};u(Le,{default:()=>Rt});var Rt={};var Te={};u(Te,{default:()=>Pt});var Pt={};function se(){let e=getComputedStyle(document.body).fontSize;return e=e===""?-1:e,parseFloat(e)}function Xt(e,t){let a=e.min,r=e.max;se()>0&&se()!==16&&(a=a/16*se(),r=r/16*se());let i=a||0,l=r||Number.POSITIVE_INFINITY;return i<=t&&t<=l}function Kt(e){let t={};e=e||window.innerWidth;let a;for(a in le)t[a]=Xt(le[a],e);return t}var de="mobile",Jt="tablet",Yt="desktop";function je(e){let t=!1,a=Kt();return(e===de&&a.bpXS||e===Jt&&a.bpSM||e===Yt&&(a.bpMED||a.bpLG||a.bpXL))&&(t=!0),t}var I="data-js-hook",Z="behavior_",ze="state_";function A(){let e={};function t(o,i){return{}.hasOwnProperty.call(e,o)?e[o].push(i):e[o]=[i],this}function a(o,i){if(!{}.hasOwnProperty.call(e,o))return this;let l=e[o].indexOf(i);return l!==-1&&e[o].splice(l,1),this}function r(o,i){if(!{}.hasOwnProperty.call(e,o))return this;i=i||{};let l=e[o];for(let d=0,c=l.length;d<c;d++)l[d].call(this,i);return this}return this.addEventListener=t,this.removeEventListener=a,this.dispatchEvent=r,this.getRegisteredEvents=()=>e,this}function W(e,t){if(!e)return!1;let a=e.getAttribute(I);return a?(a=a.split(" "),a.indexOf(t)>-1):!1}function L(e,t){if(W(e,t))return t;if(t.indexOf(" ")!==-1){let r=I+" values cannot contain spaces!";throw new Error(r)}let a=e.getAttribute(I);return a!==null&&(t=a+" "+t),e.setAttribute(I,t),t}var Oe=ze+"atomic_init";function Wt(e,t){if(!e||!e.classList){let a=e+' is not valid. Check that element is a DOM node with class "'+t+'"';throw new Error(a)}return e}function $t(e,t){let a=e.classList.contains(t)?e:e.querySelector("."+t);if(!a){let r=t+" not found on or in passed DOM node.";throw new Error(r)}return a}function q(e,t){return Wt(e,t),$t(e,t)}function M(e){return W(e,Oe)?!1:(L(e,Oe),!0)}function F(e,t,a,r={}){let i=(a||document).querySelectorAll(e),l=[],d,c;for(let p=0,h=i.length;p<h;p++)c=i[p],W(c,Oe)===!1&&(d=new t(c),d.init(r),l.push(d));return l}function gt(e,t){t=t||document;let a=[];try{a=t.querySelectorAll(e)}catch(r){let o=`${e} not found in DOM! ${r}`;throw new Error(o)}return a.length===0&&e.indexOf(Z)===-1&&(a=ft(e,t)),a}function Zt(e,t,a,r){let o=[];e instanceof NodeList?o=e:e instanceof Node?o=[e]:typeof e=="string"&&(o=gt(e,r));for(let i=0,l=o.length;i<l;i++)o[i].addEventListener(t,a,!1);return o}function ce(e,t){let a;if(W(e,t))return a=e,a;if(e){let r="["+I+"="+t+"]";a=e.querySelector(r)}if(!a){let r=t+" behavior not found on passed DOM node!";throw new Error(r)}return a}function ft(e,t){return e=I+"*="+Z+e,e="["+e+"]",gt(e,t)}function Qt(e,t,a){e.removeEventListener(t,a)}var te=Object.prototype.toString;function yt(e){return typeof e=="undefined"}function ea(e){return typeof e!="undefined"}function ta(e){return e!==null&&typeof e=="object"}function xt(e){return te.call(e)==="[object String]"}function aa(e){return te.call(e)==="[object Number]"}function ia(e){return te.call(e)==="[object Date]"}var oa=Array.isArray||function(t){return te.call(t)==="[object Array]"};function ra(e){return te.call(e)==="[object Function]"}function na(e){return yt(e)||e===null||xt(e)&&e.length<=0||/^\s*$/.test(e)}function Ie(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var ae=Z+"flyout-menu",la="["+I+"="+ae;function X(e,t=!0){let a=ce(e,ae),r=V(e),o=ce(e,ae+"_content"),i=0,l=0,d=1,c=2,p=3,h,f,y,v=$.bind(this),T=U.bind(this),S,E=!0,j=!1;function V(n){let s=[],m=n.querySelectorAll(`${la}_trigger]`),b,k,P;for(let G=m.length>>>0;G--;){for(P=!1,b=m[G],k=b.parentElement;k!==n;)k.getAttribute(I)&&k.getAttribute(I).split(" ").indexOf(ae)!==-1?(P=!0,k=n):k=k.parentElement;P||s.unshift(m[G])}return s}function R(n=!1){return i=n?p:l,r.forEach(s=>{O("expanded",s,n),s.addEventListener("click",x.bind(this)),s.addEventListener("touchstart",g,{passive:!0}),s.addEventListener("mouseover",w.bind(this)),s.addEventListener("mouseout",D.bind(this))}),o.setAttribute("data-open",n?"true":"false"),t&&!n&&o.setAttribute("hidden",""),ne(),this}function O(n,s,m){let b=String(m);return s.setAttribute("aria-"+n,b),b}function g(){j=!0}function w(n){E||(j||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),j=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function x(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),i){case l:case d:this.expand();break;case c:case p:this.collapse();break}}function z(){if(h==null||h.halt(),i===c||i===p)return this;if(i=c,t&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!y)return T(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,T),f(),n||T(),this}function C(){if(h==null||h.halt(),i===d||i===l)return this;for(let s=0,m=r.length;s<m;s++)O("expanded",r[s],!1);if(o.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!f)return v(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,v),y(),n||v(),this}function U(){i=p,o.setAttribute("data-open","true"),h&&h.removeEventListener(_.END_EVENT,T),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,s=r.length;n<s;n++)O("expanded",r[n],!0)}function $(){i=l,t&&o.setAttribute("hidden",""),h&&h.removeEventListener(_.END_EVENT,v),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function re(n,s,m){h=n,s&&s!==y&&(y=s),m&&m!==f&&(f=m)}function ye(){h&&h.remove();let n;h=n,f=n,y=n}function xe(){return{container:a,content:o,trigger:r}}function ne(){return E&&(E=!1),!E}function ve(){return E||(E=!0),E}function _e(n){return S=n,this}let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.init=R,this.expand=z,this.collapse=C,this.setTransition=re,this.clearTransition=ye,this.getData=()=>S,this.getTransition=()=>h,this.getDom=xe,this.isAnimating=()=>i===c||i===d,this.isExpanded=()=>i===p,this.resume=ne,this.setData=_e,this.suspend=ve,X.BASE_CLASS=ae,this}var he={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function vt(e){let t=new A,a=new _(e,he,this);function r(l){return a.init(l),this}function o(){return a.applyClass(he.ALPHA_100),this}function i(){return a.applyClass(he.ALPHA_0),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.remove=a.remove,this.setElement=a.setElement,this.fadeIn=o,this.fadeOut=i,this.init=r,this}vt.CLASSES=he;function _(e,t,a){let r=t,o=e;if(!a)throw new Error("Child transition argument must be defined!");let i=a,l,d,c,p=!1,h=!1,f=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(o.addEventListener(d,c),i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),o.classList.add(_.ANIMATING_CLASS),h=!0):(i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),c())}function v(){o.removeEventListener(d,c)}function T(x){return x&&x.propertyName!==r.CSS_PROPERTY?!1:(v(),o.classList.remove(_.ANIMATING_CLASS),i.dispatchEvent(_.END_EVENT,{target:i,type:_.END_EVENT}),h=!1,!0)}function S(){let x;for(x in r)({}).hasOwnProperty.call(r,x)&&r[x]!==r.BASE_CLASS&&o.classList.contains(r[x])&&o.classList.remove(r[x])}function E(){h&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(d,c),c(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function j(){E(),S(),o.classList.remove(r.BASE_CLASS)}function V(){o.classList.remove(_.NO_ANIMATION_CLASS),p=!0}function R(){o.classList.add(_.NO_ANIMATION_CLASS),p=!1}function O(x){if(!x){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let z,C={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},U;for(U in C)if({}.hasOwnProperty.call(C,U)&&typeof x.style[U]!="undefined"){z=C[U];break}return z}function g(x){j(),V(),o=x,o.classList.add(r.BASE_CLASS),d=O(o)}function w(x){if(p=!o.classList.contains(_.NO_ANIMATION_CLASS),c=T.bind(this),g(o),!x)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(x),this}function D(x){return f||(S(),f=!0),o.classList.contains(x)?!1:(v(),o.classList.remove(l),l=x,y(),o.classList.add(l),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=j,this.setElement=g,this}_.BEGIN_EVENT="transitionbegin";_.END_EVENT="transitionend";_.NO_ANIMATION_CLASS="u-no-animation";_.ANIMATING_CLASS="u-is-animating";var ie={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 B(e){let t=new A,a=new _(e,ie,this),r=0;function o(){let y=e.scrollHeight+"px";e.style.maxHeight=y}function i(){window.removeEventListener("load",i),o()}function l(f){return a.init(f),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function d(){return o(),a.applyClass(ie.MH_DEFAULT),(!r||e.scrollHeight>r)&&(r=e.scrollHeight),this}function c(){return a.applyClass(ie.MH_SUMMARY),r=e.scrollHeight,this}function p(){return a.applyClass(ie.MH_ZERO),r=e.scrollHeight,this}function h(){return e.style.maxHeight="",a.remove()}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.refresh=o,this.remove=h,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}B.CLASSES=ie;var K={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(e){let t=new A,a=new _(e,K,this);function r(c){return a.init(c),this}function o(){return a.applyClass(K.MOVE_TO_ORIGIN),this}function i(c){c=c||1;let p=[K.MOVE_LEFT,K.MOVE_LEFT_2X,K.MOVE_LEFT_3X];return a.applyClass(p[c-1]),this}function l(){return a.applyClass(K.MOVE_RIGHT),this}function d(){return a.applyClass(K.MOVE_UP),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.remove=a.remove,this.init=r,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=d,this}_t.CLASSES=K;var Be={};u(Be,{default:()=>ca});var ca={};var Q="o-expandable";function J(e){let t=q(e,Q),a,r,o,i,l;function d(){if(!M(t))return this;a=t.querySelector(`.${Q}__header`),r=t.querySelector(`.${Q}__content`),o=t.querySelector(`.${Q}__label`);let h=t.classList.contains(`${Q}--onload-open`);L(t,"behavior_flyout-menu"),L(a,"behavior_flyout-menu_trigger"),L(r,"behavior_flyout-menu_content");let f=h?B.CLASSES.MH_DEFAULT:B.CLASSES.MH_ZERO;return i=new B(r).init(f),l=new X(t),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(h),l.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function c(){return o.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}J.BASE_CLASS=Q;J.init=e=>F(`.${J.BASE_CLASS}`,J,e);var Me={};u(Me,{default:()=>ma});var ma={};var me="o-expandable-group";function pe(e){let t=q(e,me),a=t.classList.contains(`${me}--accordion`),r,o;function i(d){let c=d.target;o&&o!==c&&o.collapse(),o=c}function l(d){return M(t)?(a&&(r=d,r.forEach(c=>{c.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}pe.BASE_CLASS=me;pe.init=e=>{(e||document).querySelectorAll(`.${me}`).forEach(r=>{let o=F(`.${J.BASE_CLASS}`,J,r);new pe(r).init(o)})};var Ne={};u(Ne,{default:()=>ba});var ba={};var ee="o-summary";function be(e){let t=q(e,ee),a=t.classList.contains(`${ee}--mobile`),r=t.querySelector(`.${ee}__content`),o=t.querySelector(`.${ee}__btn`),i,l,d;function c(){return M(t)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!v(),L(t,"behavior_flyout-menu"),L(r,"behavior_flyout-menu_content"),L(o,"behavior_flyout-menu_trigger"),l=new X(t,!1),i=new B(r),i.init(d?B.CLASSES.MH_SUMMARY:B.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",T),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),t.addEventListener("focusin",h),r.addEventListener("click",f)}function h(g){!d&&g.target!==o&&(o.click(),t.removeEventListener("focusin",h))}function f(g){g.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){v()?R():V()}function v(){return a&&!je(de)||r.scrollHeight<=88}function T(){l.addEventListener("expandend",S)}function S(){j(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",S),l.suspend(),i.remove()}function E(){o.classList.remove("u-hidden")}function j(){o.classList.add("u-hidden")}function V(){return d&&(l.collapse(),i.animateOn(),E(),d=!1),!d}function R(){return d||(i.animateOff(),l.expand(),j(),d=!0),d}let O=new A;return this.addEventListener=O.addEventListener,this.removeEventListener=O.removeEventListener,this.dispatchEvent=O.dispatchEvent,this.init=c,this}be.BASE_CLASS=ee;be.init=e=>F(`.${ee}`,be,e);var oe="o-summary-minimal";function ue(e){let t=q(e,oe),a=t.querySelector(`.${oe}__content`),r=t.querySelector(`.${oe}__btn`),o,i;function l(){return M(t)?(L(t,"behavior_flyout-menu"),L(a,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new X(t,!1),o=new B(a),o.init(B.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),t.addEventListener("focusin",c),a.addEventListener("click",p),i.collapse(),o.animateOn()}function c(f){f.target!==r&&(r.click(),t.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let h=new A;return this.addEventListener=h.addEventListener,this.removeEventListener=h.removeEventListener,this.dispatchEvent=h.dispatchEvent,this.init=l,this}ue.BASE_CLASS=oe;ue.init=e=>F(`.${oe}`,ue,e);var Ce={};u(Ce,{default:()=>fa});var fa={};var qe={};u(qe,{default:()=>xa});var xa={};var Fe={};u(Fe,{default:()=>_a});var _a={};var He={};u(He,{default:()=>ka});var ka={};var Ve={};u(Ve,{default:()=>Ea});var Ea={};var Ge={};u(Ge,{default:()=>Aa});var Aa={};var Re={};u(Re,{default:()=>Ta});var Ta={};var Ue={};u(Ue,{default:()=>za});var za={};var Pe={};u(Pe,{default:()=>Ia});var Ia={};var Ba;function Ma(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function Na(e,t){return RegExp(Ma(t.trim()),"i").test(e)}function Ca(e,t,a){let r=e,o=t,i=(a==null?void 0:a.maxSelections)||5,l=[],d=[],c=[],p=[],h=-1;function f(g){return o+"-"+g.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function v(g){let w,D=[],x=!1;for(let z=0,C=g.length;z<C;z++)w=g[z],x=y()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:x}),x&&d.push(z);return D}function T(){return l=v(r),this}function S(g){return l[g].checked=!l[g].checked,d.length<i&&l[g].checked?(d.push(g),d.sort(),!0):(l[g].checked=!1,d=d.filter(function(w){return w!==g}),!1)}function E(g,w,D,x){return Na(w.text,x)&&g.push(D),g}function j(g){return Object.prototype.toString.call(g)!=="[object String]"&&(g=""),p=c,l.length>0&&(c=l.reduce(function(w,D,x){return E(w,D,x,g)},[])),h=-1,c}function V(g){return l[g]}function R(g){let w=c.length,D=w===0?l.length:w;g<0?h=-1:g>=D?h=D-1:h=g}function O(){return h}return this.init=T,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=j,this.clearFilter=function(){return c=p=[],Ba},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=O,this.setIndex=R,this.resetIndex=function(){return h=-1,h},this.getOption=V,this}var wt=Ca;function H(e,t,a){let r=document.createElement(e);return Object.keys(a).forEach(o=>{let i=a[o];o in r?r[o]=i:r.setAttribute(o,i)}),t&&t.appendChild(r),r}var kt='<svg xmlns="http://www.w3.org/2000/svg" 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 Ga=kt,N="o-multiselect",Ra="a-checkbox",Ua="a-text-input",St="prev",ge="next",Xe="Enter",Pa=" ",Et="Escape",Xa="ArrowUp",Dt="ArrowDown",At="Tab",Lt={renderTags:!0,maxSelections:5};function fe(e){e.classList.add(N);let t=q(e,N),a=!1,r,o,i,l,d,c,p,h,f,y,v,T=[],S;function E(){v.classList.remove("u-no-results"),v.classList.add("u-filtered");let n=i.getLastFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.remove("u-filter-match");n=i.getFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.add("u-filter-match")}function j(){v.classList.remove("u-filtered","u-no-results");for(let n=0,s=v.children.length;n<s;n++)v.children[n].classList.remove("u-filter-match");i.clearFilter()}function V(){v.classList.add("u-no-results"),v.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function O(n){j(),i.resetIndex();let s=i.filterIndices(n);R(s)}function g(){return c.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===ge?i.setIndex(i.getIndex()+1):n===St&&i.setIndex(i.getIndex()-1);let s=i.getIndex();if(s>-1){let m=s,b=i.getFilterIndices();b.length>0&&(m=b[s]);let P=i.getOption(m).value,Tt=v.querySelector('[data-option="'+P+'"]').querySelector("input");a=!0,Tt.focus()}else a=!1,f.focus()}function x(){f.value="",j()}function z(n){let s=n.target;s.tagName==="BUTTON"&&(n.preventDefault(),s.removeEventListener("click",z),s.querySelector("label").click())}function C(n){if(n.key===Pa||n.key===Xe){let s=n.target.querySelector("label");v.querySelector("#"+s.getAttribute("for")).click()}}function U(n){return r+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,s){let m=U(s),b=H("li",null,{"data-option":s.value}),k=H("button",b,{type:"button",innerHTML:"<label for="+m+">"+s.text+Ga+"</label>"});n.appendChild(b),k.addEventListener("click",z),k.addEventListener("keydown",C)}function re(n){let s=i.getOption(n)||i.getOption(i.getIndex());if(s){if(s.checked){v.classList.contains("u-max-selections")&&v.classList.remove("u-max-selections");let m='[data-option="'+s.value+'"]',b=p.querySelector(m);typeof b!="undefined"&&b&&(p==null||p.removeChild(b))}else d!=null&&d.renderTags&&p&&$(p,s);i.toggleOption(n),i.isAtMaxSelections()&&v.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}i.resetIndex(),a=!1,y.getAttribute("aria-hidden")==="false"&&f.focus()}function ye(n){re(Number(n.target.getAttribute("data-index"))),x()}function xe(){h.addEventListener("mousemove",function(m){let b=m.target;m.offsetX>b.offsetWidth-35?b.style.cursor="pointer":b.style.cursor="auto"}),h.addEventListener("mouseup",function(m){let b=m.target;m.offsetX>b.offsetWidth-35&&y.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){O(this.value)}),f.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&g()}),f.addEventListener("blur",function(){!a&&y.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(m){let b=m.key;y.getAttribute("aria-hidden")==="true"&&b!==At&&g(),b===Xe?(m.preventDefault(),D(ge)):b===Et?(x(),w()):b===Dt?D(ge):b===At&&!m.shiftKey&&y.getAttribute("aria-hidden")==="false"&&w()}),v.addEventListener("mousedown",function(){a=!0}),v.addEventListener("keydown",function(m){let b=m.key,k=m.target,P=k.checked;if(b===Xe){m.preventDefault(),k.checked=!P;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else b===Et?(f.focus(),w()):b===Xa?D(St):b===Dt&&D(ge)}),y.addEventListener("mousedown",function(m){m.target.tagName==="LABEL"&&(a=!0)});let n=v.querySelectorAll("input");for(let m=0,b=n.length;m<b;m++)n[m].addEventListener("change",ye);let s=p.querySelectorAll("button");for(let m=0,b=s.length;m<b;m++)s[m].addEventListener("click",z),s[m].addEventListener("keydown",C)}function ne(){c=document.createElement("div"),c.className=N,p=H("ul",null,{className:N+"__choices"}),h=H("header",c,{className:N+"__header"}),f=H("input",h,{className:N+"__search "+Ua,type:"text",placeholder:o||"Select up to five",id:t.id,autocomplete:"off"}),y=H("fieldset",c,{className:N+"__fieldset u-invisible","aria-hidden":"true"});let n=N+"__options";i.isAtMaxSelections()&&(n+=" u-max-selections"),v=H("ul",y,{className:n});let s,m,b;for(let k=0,P=l.length;k<P;k++){s=l[k],m=U(s),b=i.getOption(k).checked;let G=H("li",v,{"data-option":s.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});H("input",G,{id:m,type:"checkbox",value:s.value,name:r,class:Ra+" "+N+"__checkbox",checked:b,"data-index":k}),H("label",G,{for:m,textContent:s.text,className:N+"__label a-label"}),T.push(G),b&&(d!=null&&d.renderTags)&&$(p,s)}return c.insertBefore(p,h),t.parentNode.insertBefore(c,t),c.appendChild(t),c}function ve(n=Lt){if(!M(t))return this;if(Ie())return this;if(S=this,r=t.name||t.id,o=t.getAttribute("placeholder"),l=t.options||[],d=we(we({},Lt),n),l.length>0){i=new wt(l,r,d).init();let s=ne();t.parentNode.removeChild(t),t=s,M(t),xe()}return this}function _e(){return i}this.init=ve,this.expand=g,this.collapse=w;let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.getModel=_e,this.updateSelections=re,this.selectionClickHandler=z,this.selectionKeyDownHandler=C,this}fe.BASE_CLASS=N;fe.init=e=>F(`.${N}`,fe,void 0,e);var Ke={};u(Ke,{default:()=>Ja});var Ja={};var Je={};u(Je,{default:()=>Wa});var Wa={};var Ye={};u(Ye,{default:()=>Za});var Za={};var We={};u(We,{default:()=>ei});var ei={};var $e={};u($e,{default:()=>ai});var ai={};var Ze={};u(Ze,{default:()=>oi});var oi={};var Qe={};u(Qe,{default:()=>ni});var ni={};var et={};u(et,{default:()=>si});var si={};var tt={};u(tt,{default:()=>ci});var ci={};var at={};u(at,{default:()=>mi});var mi={};var it={};u(it,{default:()=>bi});var bi={};var ot={};u(ot,{default:()=>gi});var gi={};var rt={};u(rt,{default:()=>yi});var yi={};var nt={};u(nt,{default:()=>vi});var vi={};var lt={};u(lt,{default:()=>wi});var wi={};var st={};u(st,{default:()=>Si});var Si={};var dt={};u(dt,{default:()=>Di});var Di={};var ct={};u(ct,{default:()=>Li});var Li={};var ht={};u(ht,{default:()=>ji});var ji={};var mt={};u(mt,{default:()=>Oi});var Oi={};})(); | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
(()=>{var mt=Object.defineProperty;var ct=Object.getOwnPropertySymbols;var jt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable;var ht=(e,t,a)=>t in e?mt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,we=(e,t)=>{for(var a in t||(t={}))jt.call(t,a)&&ht(e,a,t[a]);if(ct)for(var a of ct(t))zt.call(t,a)&&ht(e,a,t[a]);return e};var g=(e,t)=>{for(var a in t)mt(e,a,{get:t[a],enumerable:!0})};var ke={};g(ke,{default:()=>It});var It={};var le={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};function se(){let e=getComputedStyle(document.body).fontSize;return e=e===""?-1:e,parseFloat(e)}function Bt(e,t){let a=e.min,r=e.max;se()>0&&se()!==16&&(a=a/16*se(),r=r/16*se());let i=a||0,l=r||Number.POSITIVE_INFINITY;return i<=t&&t<=l}function Mt(e){let t={};e=e||window.innerWidth;let a;for(a in le)t[a]=Bt(le[a],e);return t}var de="mobile",Nt="tablet",Ct="desktop";function Se(e){let t=!1,a=Mt();return(e===de&&a.bpXS||e===Nt&&a.bpSM||e===Ct&&(a.bpMED||a.bpLG||a.bpXL))&&(t=!0),t}var I="data-js-hook",Z="behavior_",Ee="state_";function A(){let e={};function t(o,i){return{}.hasOwnProperty.call(e,o)?e[o].push(i):e[o]=[i],this}function a(o,i){if(!{}.hasOwnProperty.call(e,o))return this;let l=e[o].indexOf(i);return l!==-1&&e[o].splice(l,1),this}function r(o,i){if(!{}.hasOwnProperty.call(e,o))return this;i=i||{};let l=e[o];for(let d=0,c=l.length;d<c;d++)l[d].call(this,i);return this}return this.addEventListener=t,this.removeEventListener=a,this.dispatchEvent=r,this.getRegisteredEvents=()=>e,this}function W(e,t){if(!e)return!1;let a=e.getAttribute(I);return a?(a=a.split(" "),a.indexOf(t)>-1):!1}function L(e,t){if(W(e,t))return t;if(t.indexOf(" ")!==-1){let r=I+" values cannot contain spaces!";throw new Error(r)}let a=e.getAttribute(I);return a!==null&&(t=a+" "+t),e.setAttribute(I,t),t}var De=Ee+"atomic_init";function qt(e,t){if(!e||!e.classList){let a=e+' is not valid. Check that element is a DOM node with class "'+t+'"';throw new Error(a)}return e}function Ft(e,t){let a=e.classList.contains(t)?e:e.querySelector("."+t);if(!a){let r=t+" not found on or in passed DOM node.";throw new Error(r)}return a}function q(e,t){return qt(e,t),Ft(e,t)}function M(e){return W(e,De)?!1:(L(e,De),!0)}function F(e,t,a,r={}){let i=(a||document).querySelectorAll(e),l=[],d,c;for(let p=0,h=i.length;p<h;p++)c=i[p],W(c,De)===!1&&(d=new t(c),d.init(r),l.push(d));return l}var Ae={};g(Ae,{default:()=>Vt});var Vt={};var Le={};g(Le,{default:()=>Rt});var Rt={};var Te={};g(Te,{default:()=>Pt});var Pt={};var je={};g(je,{default:()=>Kt});var Kt={};var ze={};g(ze,{default:()=>Yt});var Yt={};var Oe={};g(Oe,{default:()=>$t});var $t={};var Q="o-expandable";function X(e){let t=q(e,Q),a,r,o,i,l;function d(){if(!M(t))return this;a=t.querySelector(`.${Q}__header`),r=t.querySelector(`.${Q}__content`),o=t.querySelector(`.${Q}__label`);let h=t.classList.contains(`${Q}--onload-open`);L(t,"behavior_flyout-menu"),L(a,"behavior_flyout-menu_trigger"),L(r,"behavior_flyout-menu_content");let f=h?B.CLASSES.MH_DEFAULT:B.CLASSES.MH_ZERO;return i=new B(r).init(f),l=new K(t),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(h),l.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function c(){return o.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}X.BASE_CLASS=Q;X.init=e=>F(`.${X.BASE_CLASS}`,X,e);var ce="o-expandable-group";function he(e){let t=q(e,ce),a=t.classList.contains(`${ce}__accordion`),r,o;function i(d){let c=d.target;o&&o!==c&&o.collapse(),o=c}function l(d){return M(t)?(a&&(r=d,r.forEach(c=>{c.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}he.BASE_CLASS=ce;he.init=e=>{(e||document).querySelectorAll(`.${ce}`).forEach(r=>{let o=F(`.${X.BASE_CLASS}`,X,r);new he(r).init(o)})};var ee="o-summary";function me(e){let t=q(e,ee),a=t.classList.contains(`${ee}--mobile`),r=t.querySelector(`.${ee}__content`),o=t.querySelector(`.${ee}__btn`),i,l,d;function c(){return M(t)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!v(),L(t,"behavior_flyout-menu"),L(r,"behavior_flyout-menu_content"),L(o,"behavior_flyout-menu_trigger"),l=new K(t,!1),i=new B(r),i.init(d?B.CLASSES.MH_SUMMARY:B.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",T),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),t.addEventListener("focusin",h),r.addEventListener("click",f)}function h(u){!d&&u.target!==o&&(o.click(),t.removeEventListener("focusin",h))}function f(u){u.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){v()?R():V()}function v(){return a&&!Se(de)||r.scrollHeight<=88}function T(){l.addEventListener("expandend",S)}function S(){j(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",S),l.suspend(),i.remove()}function E(){o.classList.remove("u-hidden")}function j(){o.classList.add("u-hidden")}function V(){return d&&(l.collapse(),i.animateOn(),E(),d=!1),!d}function R(){return d||(i.animateOff(),l.expand(),j(),d=!0),d}let O=new A;return this.addEventListener=O.addEventListener,this.removeEventListener=O.removeEventListener,this.dispatchEvent=O.dispatchEvent,this.init=c,this}me.BASE_CLASS=ee;me.init=e=>F(`.${ee}`,me,e);var te="o-summary-minimal";function pe(e){let t=q(e,te),a=t.querySelector(`.${te}__content`),r=t.querySelector(`.${te}__btn`),o,i;function l(){return M(t)?(L(t,"behavior_flyout-menu"),L(a,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new K(t,!1),o=new B(a),o.init(B.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),t.addEventListener("focusin",c),a.addEventListener("click",p),i.collapse(),o.animateOn()}function c(f){f.target!==r&&(r.click(),t.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let h=new A;return this.addEventListener=h.addEventListener,this.removeEventListener=h.removeEventListener,this.dispatchEvent=h.dispatchEvent,this.init=l,this}pe.BASE_CLASS=te;pe.init=e=>F(`.${te}`,pe,e);var Ie={};g(Ie,{default:()=>ea});var ea={};var Be={};g(Be,{default:()=>aa});var aa={};var Me={};g(Me,{default:()=>oa});var oa={};var Ne={};g(Ne,{default:()=>na});var na={};var Ce={};g(Ce,{default:()=>sa});var sa={};var qe={};g(qe,{default:()=>ca});var ca={};var Fe={};g(Fe,{default:()=>ma});var ma={};var He={};g(He,{default:()=>ba});var ba={};var Ve={};g(Ve,{default:()=>ga});var ga={};var fa;function ya(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function xa(e,t){return RegExp(ya(t.trim()),"i").test(e)}function va(e,t,a){let r=e,o=t,i=(a==null?void 0:a.maxSelections)||5,l=[],d=[],c=[],p=[],h=-1;function f(u){return o+"-"+u.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function v(u){let w,D=[],x=!1;for(let z=0,C=u.length;z<C;z++)w=u[z],x=y()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:x}),x&&d.push(z);return D}function T(){return l=v(r),this}function S(u){return l[u].checked=!l[u].checked,d.length<i&&l[u].checked?(d.push(u),d.sort(),!0):(l[u].checked=!1,d=d.filter(function(w){return w!==u}),!1)}function E(u,w,D,x){return xa(w.text,x)&&u.push(D),u}function j(u){return Object.prototype.toString.call(u)!=="[object String]"&&(u=""),p=c,l.length>0&&(c=l.reduce(function(w,D,x){return E(w,D,x,u)},[])),h=-1,c}function V(u){return l[u]}function R(u){let w=c.length,D=w===0?l.length:w;u<0?h=-1:u>=D?h=D-1:h=u}function O(){return h}return this.init=T,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=j,this.clearFilter=function(){return c=p=[],fa},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=O,this.setIndex=R,this.resetIndex=function(){return h=-1,h},this.getOption=V,this}var gt=va;function H(e,t,a){let r=document.createElement(e);return Object.keys(a).forEach(o=>{let i=a[o];o in r?r[o]=i:r.setAttribute(o,i)}),t&&t.appendChild(r),r}var ft='<svg xmlns="http://www.w3.org/2000/svg" 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 Ea=ft,N="o-multiselect",Da="a-checkbox",Aa="a-text-input",yt="prev",be="next",Ge="Enter",La=" ",xt="Escape",Ta="ArrowUp",vt="ArrowDown",_t="Tab",wt={renderTags:!0,maxSelections:5};function ue(e){e.classList.add(N);let t=q(e,N),a=!1,r,o,i,l,d,c,p,h,f,y,v,T=[],S;function E(){v.classList.remove("u-no-results"),v.classList.add("u-filtered");let n=i.getLastFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.remove("u-filter-match");n=i.getFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.add("u-filter-match")}function j(){v.classList.remove("u-filtered","u-no-results");for(let n=0,s=v.children.length;n<s;n++)v.children[n].classList.remove("u-filter-match");i.clearFilter()}function V(){v.classList.add("u-no-results"),v.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function O(n){j(),i.resetIndex();let s=i.filterIndices(n);R(s)}function u(){return c.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===be?i.setIndex(i.getIndex()+1):n===yt&&i.setIndex(i.getIndex()-1);let s=i.getIndex();if(s>-1){let m=s,b=i.getFilterIndices();b.length>0&&(m=b[s]);let P=i.getOption(m).value,Tt=v.querySelector('[data-option="'+P+'"]').querySelector("input");a=!0,Tt.focus()}else a=!1,f.focus()}function x(){f.value="",j()}function z(n){let s=n.target;s.tagName==="BUTTON"&&(n.preventDefault(),s.removeEventListener("click",z),s.querySelector("label").click())}function C(n){if(n.key===La||n.key===Ge){let s=n.target.querySelector("label");v.querySelector("#"+s.getAttribute("for")).click()}}function U(n){return r+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,s){let m=U(s),b=H("li",null,{"data-option":s.value}),k=H("button",b,{type:"button",innerHTML:"<label for="+m+">"+s.text+Ea+"</label>"});n.appendChild(b),k.addEventListener("click",z),k.addEventListener("keydown",C)}function re(n){let s=i.getOption(n)||i.getOption(i.getIndex());if(s){if(s.checked){v.classList.contains("u-max-selections")&&v.classList.remove("u-max-selections");let m='[data-option="'+s.value+'"]',b=p.querySelector(m);typeof b!="undefined"&&b&&(p==null||p.removeChild(b))}else d!=null&&d.renderTags&&p&&$(p,s);i.toggleOption(n),i.isAtMaxSelections()&&v.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}i.resetIndex(),a=!1,y.getAttribute("aria-hidden")==="false"&&f.focus()}function ye(n){re(Number(n.target.getAttribute("data-index"))),x()}function xe(){h.addEventListener("mousemove",function(m){let b=m.target;m.offsetX>b.offsetWidth-35?b.style.cursor="pointer":b.style.cursor="auto"}),h.addEventListener("mouseup",function(m){let b=m.target;m.offsetX>b.offsetWidth-35&&y.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){O(this.value)}),f.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&u()}),f.addEventListener("blur",function(){!a&&y.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(m){let b=m.key;y.getAttribute("aria-hidden")==="true"&&b!==_t&&u(),b===Ge?(m.preventDefault(),D(be)):b===xt?(x(),w()):b===vt?D(be):b===_t&&!m.shiftKey&&y.getAttribute("aria-hidden")==="false"&&w()}),v.addEventListener("mousedown",function(){a=!0}),v.addEventListener("keydown",function(m){let b=m.key,k=m.target,P=k.checked;if(b===Ge){m.preventDefault(),k.checked=!P;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else b===xt?(f.focus(),w()):b===Ta?D(yt):b===vt&&D(be)}),y.addEventListener("mousedown",function(m){m.target.tagName==="LABEL"&&(a=!0)});let n=v.querySelectorAll("input");for(let m=0,b=n.length;m<b;m++)n[m].addEventListener("change",ye);let s=p.querySelectorAll("button");for(let m=0,b=s.length;m<b;m++)s[m].addEventListener("click",z),s[m].addEventListener("keydown",C)}function ne(){c=document.createElement("div"),c.className=N,p=H("ul",null,{className:N+"__choices"}),h=H("header",c,{className:N+"__header"}),f=H("input",h,{className:N+"__search "+Aa,type:"text",placeholder:o||"Select up to five",id:t.id,autocomplete:"off"}),y=H("fieldset",c,{className:N+"__fieldset u-invisible","aria-hidden":"true"});let n=N+"__options";i.isAtMaxSelections()&&(n+=" u-max-selections"),v=H("ul",y,{className:n});let s,m,b;for(let k=0,P=l.length;k<P;k++){s=l[k],m=U(s),b=i.getOption(k).checked;let G=H("li",v,{"data-option":s.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});H("input",G,{id:m,type:"checkbox",value:s.value,name:r,class:Da+" "+N+"__checkbox",checked:b,"data-index":k}),H("label",G,{for:m,textContent:s.text,className:N+"__label a-label"}),T.push(G),b&&(d!=null&&d.renderTags)&&$(p,s)}return c.insertBefore(p,h),t.parentNode.insertBefore(c,t),c.appendChild(t),c}function ve(n=wt){if(!M(t))return this;if(Re())return this;if(S=this,r=t.name||t.id,o=t.getAttribute("placeholder"),l=t.options||[],d=we(we({},wt),n),l.length>0){i=new gt(l,r,d).init();let s=ne();t.parentNode.removeChild(t),t=s,M(t),xe()}return this}function _e(){return i}this.init=ve,this.expand=u,this.collapse=w;let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.getModel=_e,this.updateSelections=re,this.selectionClickHandler=z,this.selectionKeyDownHandler=C,this}ue.BASE_CLASS=N;ue.init=e=>F(`.${N}`,ue,void 0,e);var Ue={};g(Ue,{default:()=>za});var za={};var Pe={};g(Pe,{default:()=>Ia});var Ia={};var Xe={};g(Xe,{default:()=>Ma});var Ma={};var Ke={};g(Ke,{default:()=>Ca});var Ca={};var Je={};g(Je,{default:()=>Fa});var Fa={};var Ye={};g(Ye,{default:()=>Va});var Va={};var We={};g(We,{default:()=>Ra});var Ra={};var $e={};g($e,{default:()=>Pa});var Pa={};var Ze={};g(Ze,{default:()=>Ka});var Ka={};var Qe={};g(Qe,{default:()=>Ya});var Ya={};var et={};g(et,{default:()=>$a});var $a={};var tt={};g(tt,{default:()=>Qa});var Qa={};var at={};g(at,{default:()=>ti});var ti={};var it={};g(it,{default:()=>ii});var ii={};var ot={};g(ot,{default:()=>ri});var ri={};var rt={};g(rt,{default:()=>li});var li={};var nt={};g(nt,{default:()=>di});var di={};var lt={};g(lt,{default:()=>hi});var hi={};var st={};g(st,{default:()=>pi});var pi={};var dt={};g(dt,{default:()=>ui});var ui={};function kt(e,t){t=t||document;let a=[];try{a=t.querySelectorAll(e)}catch(r){let o=`${e} not found in DOM! ${r}`;throw new Error(o)}return a.length===0&&e.indexOf(Z)===-1&&(a=St(e,t)),a}function gi(e,t,a,r){let o=[];e instanceof NodeList?o=e:e instanceof Node?o=[e]:typeof e=="string"&&(o=kt(e,r));for(let i=0,l=o.length;i<l;i++)o[i].addEventListener(t,a,!1);return o}function ge(e,t){let a;if(W(e,t))return a=e,a;if(e){let r="["+I+"="+t+"]";a=e.querySelector(r)}if(!a){let r=t+" behavior not found on passed DOM node!";throw new Error(r)}return a}function St(e,t){return e=I+"*="+Z+e,e="["+e+"]",kt(e,t)}function fi(e,t,a){e.removeEventListener(t,a)}var ae=Object.prototype.toString;function Et(e){return typeof e=="undefined"}function yi(e){return typeof e!="undefined"}function xi(e){return e!==null&&typeof e=="object"}function Dt(e){return ae.call(e)==="[object String]"}function vi(e){return ae.call(e)==="[object Number]"}function _i(e){return ae.call(e)==="[object Date]"}var wi=Array.isArray||function(t){return ae.call(t)==="[object Array]"};function ki(e){return ae.call(e)==="[object Function]"}function Si(e){return Et(e)||e===null||Dt(e)&&e.length<=0||/^\s*$/.test(e)}function Re(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var ie=Z+"flyout-menu",Ei="["+I+"="+ie;function K(e,t=!0){let a=ge(e,ie),r=V(e),o=ge(e,ie+"_content"),i=0,l=0,d=1,c=2,p=3,h,f,y,v=$.bind(this),T=U.bind(this),S,E=!0,j=!1;function V(n){let s=[],m=n.querySelectorAll(`${Ei}_trigger]`),b,k,P;for(let G=m.length>>>0;G--;){for(P=!1,b=m[G],k=b.parentElement;k!==n;)k.getAttribute(I)&&k.getAttribute(I).split(" ").indexOf(ie)!==-1?(P=!0,k=n):k=k.parentElement;P||s.unshift(m[G])}return s}function R(n=!1){return i=n?p:l,r.forEach(s=>{O("expanded",s,n),s.addEventListener("click",x.bind(this)),s.addEventListener("touchstart",u,{passive:!0}),s.addEventListener("mouseover",w.bind(this)),s.addEventListener("mouseout",D.bind(this))}),o.setAttribute("data-open",n?"true":"false"),t&&!n&&o.setAttribute("hidden",""),ne(),this}function O(n,s,m){let b=String(m);return s.setAttribute("aria-"+n,b),b}function u(){j=!0}function w(n){E||(j||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),j=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function x(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),i){case l:case d:this.expand();break;case c:case p:this.collapse();break}}function z(){if(h==null||h.halt(),i===c||i===p)return this;if(i=c,t&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!y)return T(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,T),f(),n||T(),this}function C(){if(h==null||h.halt(),i===d||i===l)return this;for(let s=0,m=r.length;s<m;s++)O("expanded",r[s],!1);if(o.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!f)return v(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,v),y(),n||v(),this}function U(){i=p,o.setAttribute("data-open","true"),h&&h.removeEventListener(_.END_EVENT,T),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,s=r.length;n<s;n++)O("expanded",r[n],!0)}function $(){i=l,t&&o.setAttribute("hidden",""),h&&h.removeEventListener(_.END_EVENT,v),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function re(n,s,m){h=n,s&&s!==y&&(y=s),m&&m!==f&&(f=m)}function ye(){h&&h.remove();let n;h=n,f=n,y=n}function xe(){return{container:a,content:o,trigger:r}}function ne(){return E&&(E=!1),!E}function ve(){return E||(E=!0),E}function _e(n){return S=n,this}let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.init=R,this.expand=z,this.collapse=C,this.setTransition=re,this.clearTransition=ye,this.getData=()=>S,this.getTransition=()=>h,this.getDom=xe,this.isAnimating=()=>i===c||i===d,this.isExpanded=()=>i===p,this.resume=ne,this.setData=_e,this.suspend=ve,K.BASE_CLASS=ie,this}var fe={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function At(e){let t=new A,a=new _(e,fe,this);function r(l){return a.init(l),this}function o(){return a.applyClass(fe.ALPHA_100),this}function i(){return a.applyClass(fe.ALPHA_0),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.remove=a.remove,this.setElement=a.setElement,this.fadeIn=o,this.fadeOut=i,this.init=r,this}At.CLASSES=fe;function _(e,t,a){let r=t,o=e;if(!a)throw new Error("Child transition argument must be defined!");let i=a,l,d,c,p=!1,h=!1,f=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(o.addEventListener(d,c),i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),o.classList.add(_.ANIMATING_CLASS),h=!0):(i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),c())}function v(){o.removeEventListener(d,c)}function T(x){return x&&x.propertyName!==r.CSS_PROPERTY?!1:(v(),o.classList.remove(_.ANIMATING_CLASS),i.dispatchEvent(_.END_EVENT,{target:i,type:_.END_EVENT}),h=!1,!0)}function S(){let x;for(x in r)({}).hasOwnProperty.call(r,x)&&r[x]!==r.BASE_CLASS&&o.classList.contains(r[x])&&o.classList.remove(r[x])}function E(){h&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(d,c),c(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function j(){E(),S(),o.classList.remove(r.BASE_CLASS)}function V(){o.classList.remove(_.NO_ANIMATION_CLASS),p=!0}function R(){o.classList.add(_.NO_ANIMATION_CLASS),p=!1}function O(x){if(!x){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let z,C={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},U;for(U in C)if({}.hasOwnProperty.call(C,U)&&typeof x.style[U]!="undefined"){z=C[U];break}return z}function u(x){j(),V(),o=x,o.classList.add(r.BASE_CLASS),d=O(o)}function w(x){if(p=!o.classList.contains(_.NO_ANIMATION_CLASS),c=T.bind(this),u(o),!x)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(x),this}function D(x){return f||(S(),f=!0),o.classList.contains(x)?!1:(v(),o.classList.remove(l),l=x,y(),o.classList.add(l),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=j,this.setElement=u,this}_.BEGIN_EVENT="transitionbegin";_.END_EVENT="transitionend";_.NO_ANIMATION_CLASS="u-no-animation";_.ANIMATING_CLASS="u-is-animating";var oe={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 B(e){let t=new A,a=new _(e,oe,this),r=0;function o(){let y=e.scrollHeight+"px";e.style.maxHeight=y}function i(){window.removeEventListener("load",i),o()}function l(f){return a.init(f),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function d(){return o(),a.applyClass(oe.MH_DEFAULT),(!r||e.scrollHeight>r)&&(r=e.scrollHeight),this}function c(){return a.applyClass(oe.MH_SUMMARY),r=e.scrollHeight,this}function p(){return a.applyClass(oe.MH_ZERO),r=e.scrollHeight,this}function h(){return e.style.maxHeight="",a.remove()}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.refresh=o,this.remove=h,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}B.CLASSES=oe;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(e){let t=new A,a=new _(e,J,this);function r(c){return a.init(c),this}function o(){return a.applyClass(J.MOVE_TO_ORIGIN),this}function i(c){c=c||1;let p=[J.MOVE_LEFT,J.MOVE_LEFT_2X,J.MOVE_LEFT_3X];return a.applyClass(p[c-1]),this}function l(){return a.applyClass(J.MOVE_RIGHT),this}function d(){return a.applyClass(J.MOVE_UP),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.remove=a.remove,this.init=r,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=d,this}Lt.CLASSES=J;})(); | ||
(()=>{var mt=Object.defineProperty;var ct=Object.getOwnPropertySymbols;var jt=Object.prototype.hasOwnProperty,zt=Object.prototype.propertyIsEnumerable;var ht=(e,t,a)=>t in e?mt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:a}):e[t]=a,we=(e,t)=>{for(var a in t||(t={}))jt.call(t,a)&&ht(e,a,t[a]);if(ct)for(var a of ct(t))zt.call(t,a)&&ht(e,a,t[a]);return e};var g=(e,t)=>{for(var a in t)mt(e,a,{get:t[a],enumerable:!0})};var ke={};g(ke,{default:()=>It});var It={};var le={bpXS:{min:0,max:600},bpSM:{min:601,max:900},bpMED:{min:901,max:1020},bpLG:{min:1021,max:1200},bpXL:{min:1201}};function se(){let e=getComputedStyle(document.body).fontSize;return e=e===""?-1:e,parseFloat(e)}function Bt(e,t){let a=e.min,r=e.max;se()>0&&se()!==16&&(a=a/16*se(),r=r/16*se());let i=a||0,l=r||Number.POSITIVE_INFINITY;return i<=t&&t<=l}function Mt(e){let t={};e=e||window.innerWidth;let a;for(a in le)t[a]=Bt(le[a],e);return t}var de="mobile",Nt="tablet",Ct="desktop";function Se(e){let t=!1,a=Mt();return(e===de&&a.bpXS||e===Nt&&a.bpSM||e===Ct&&(a.bpMED||a.bpLG||a.bpXL))&&(t=!0),t}var I="data-js-hook",Z="behavior_",Ee="state_";function A(){let e={};function t(o,i){return{}.hasOwnProperty.call(e,o)?e[o].push(i):e[o]=[i],this}function a(o,i){if(!{}.hasOwnProperty.call(e,o))return this;let l=e[o].indexOf(i);return l!==-1&&e[o].splice(l,1),this}function r(o,i){if(!{}.hasOwnProperty.call(e,o))return this;i=i||{};let l=e[o];for(let d=0,c=l.length;d<c;d++)l[d].call(this,i);return this}return this.addEventListener=t,this.removeEventListener=a,this.dispatchEvent=r,this.getRegisteredEvents=()=>e,this}function W(e,t){if(!e)return!1;let a=e.getAttribute(I);return a?(a=a.split(" "),a.indexOf(t)>-1):!1}function L(e,t){if(W(e,t))return t;if(t.indexOf(" ")!==-1){let r=I+" values cannot contain spaces!";throw new Error(r)}let a=e.getAttribute(I);return a!==null&&(t=a+" "+t),e.setAttribute(I,t),t}var De=Ee+"atomic_init";function qt(e,t){if(!e||!e.classList){let a=e+' is not valid. Check that element is a DOM node with class "'+t+'"';throw new Error(a)}return e}function Ft(e,t){let a=e.classList.contains(t)?e:e.querySelector("."+t);if(!a){let r=t+" not found on or in passed DOM node.";throw new Error(r)}return a}function q(e,t){return qt(e,t),Ft(e,t)}function M(e){return W(e,De)?!1:(L(e,De),!0)}function F(e,t,a,r={}){let i=(a||document).querySelectorAll(e),l=[],d,c;for(let p=0,h=i.length;p<h;p++)c=i[p],W(c,De)===!1&&(d=new t(c),d.init(r),l.push(d));return l}var Ae={};g(Ae,{default:()=>Vt});var Vt={};var Le={};g(Le,{default:()=>Rt});var Rt={};var Te={};g(Te,{default:()=>Pt});var Pt={};var je={};g(je,{default:()=>Kt});var Kt={};var ze={};g(ze,{default:()=>Yt});var Yt={};var Oe={};g(Oe,{default:()=>$t});var $t={};var Q="o-expandable";function X(e){let t=q(e,Q),a,r,o,i,l;function d(){if(!M(t))return this;a=t.querySelector(`.${Q}__header`),r=t.querySelector(`.${Q}__content`),o=t.querySelector(`.${Q}__label`);let h=t.classList.contains(`${Q}--onload-open`);L(t,"behavior_flyout-menu"),L(a,"behavior_flyout-menu_trigger"),L(r,"behavior_flyout-menu_content");let f=h?B.CLASSES.MH_DEFAULT:B.CLASSES.MH_ZERO;return i=new B(r).init(f),l=new K(t),l.setTransition(i,i.maxHeightZero,i.maxHeightDefault),l.init(h),l.addEventListener("expandbegin",()=>{r.classList.remove("u-hidden"),this.dispatchEvent("expandbegin",{target:this})}),l.addEventListener("collapseend",()=>{r.classList.add("u-hidden")}),this}function c(){return o.textContent.trim()}this.init=d,this.expand=()=>l.expand(),this.collapse=()=>l.collapse(),this.isExpanded=()=>l.isExpanded(),this.refresh=()=>l.getTransition().refresh(),this.getLabelText=c;let p=new A;return this.addEventListener=p.addEventListener,this.removeEventListener=p.removeEventListener,this.dispatchEvent=p.dispatchEvent,this}X.BASE_CLASS=Q;X.init=e=>F(`.${X.BASE_CLASS}`,X,e);var ce="o-expandable-group";function he(e){let t=q(e,ce),a=t.classList.contains(`${ce}--accordion`),r,o;function i(d){let c=d.target;o&&o!==c&&o.collapse(),o=c}function l(d){return M(t)?(a&&(r=d,r.forEach(c=>{c.addEventListener("expandbegin",i)})),this):this}return this.init=l,this}he.BASE_CLASS=ce;he.init=e=>{(e||document).querySelectorAll(`.${ce}`).forEach(r=>{let o=F(`.${X.BASE_CLASS}`,X,r);new he(r).init(o)})};var ee="o-summary";function me(e){let t=q(e,ee),a=t.classList.contains(`${ee}--mobile`),r=t.querySelector(`.${ee}__content`),o=t.querySelector(`.${ee}__btn`),i,l,d;function c(){return M(t)?(window.addEventListener("load",p),this):this}function p(){window.removeEventListener("load",p),d=!v(),L(t,"behavior_flyout-menu"),L(r,"behavior_flyout-menu_content"),L(o,"behavior_flyout-menu_trigger"),l=new K(t,!1),i=new B(r),i.init(d?B.CLASSES.MH_SUMMARY:B.CLASSES.MH_DEFAULT),l.setTransition(i,i.maxHeightSummary,i.maxHeightDefault),l.addEventListener("triggerclick",T),l.init(),y(),window.addEventListener("resize",y),"onorientationchange"in window&&window.addEventListener("orientationchange",y),t.addEventListener("focusin",h),r.addEventListener("click",f)}function h(u){!d&&u.target!==o&&(o.click(),t.removeEventListener("focusin",h))}function f(u){u.target.tagName!=="A"&&l.isExpanded()&&i.refresh()}function y(){v()?R():V()}function v(){return a&&!Se(de)||r.scrollHeight<=88}function T(){l.addEventListener("expandend",S)}function S(){j(),window.removeEventListener("resize",y),window.removeEventListener("orientationchange",y),l.removeEventListener("expandend",S),l.suspend(),i.remove()}function E(){o.classList.remove("u-hidden")}function j(){o.classList.add("u-hidden")}function V(){return d&&(l.collapse(),i.animateOn(),E(),d=!1),!d}function R(){return d||(i.animateOff(),l.expand(),j(),d=!0),d}let O=new A;return this.addEventListener=O.addEventListener,this.removeEventListener=O.removeEventListener,this.dispatchEvent=O.dispatchEvent,this.init=c,this}me.BASE_CLASS=ee;me.init=e=>F(`.${ee}`,me,e);var te="o-summary-minimal";function pe(e){let t=q(e,te),a=t.querySelector(`.${te}__content`),r=t.querySelector(`.${te}__btn`),o,i;function l(){return M(t)?(L(t,"behavior_flyout-menu"),L(a,"behavior_flyout-menu_content"),L(r,"behavior_flyout-menu_trigger"),window.addEventListener("load",d),this):this}function d(){window.removeEventListener("load",d),i=new K(t,!1),o=new B(a),o.init(B.CLASSES.MH_SUMMARY),i.setTransition(o,o.maxHeightSummary,o.maxHeightDefault),i.init(),t.addEventListener("focusin",c),a.addEventListener("click",p),i.collapse(),o.animateOn()}function c(f){f.target!==r&&(r.click(),t.removeEventListener("focusin",c))}function p(f){f.target.tagName!=="A"&&i.isExpanded()&&o.refresh()}let h=new A;return this.addEventListener=h.addEventListener,this.removeEventListener=h.removeEventListener,this.dispatchEvent=h.dispatchEvent,this.init=l,this}pe.BASE_CLASS=te;pe.init=e=>F(`.${te}`,pe,e);var Ie={};g(Ie,{default:()=>ea});var ea={};var Be={};g(Be,{default:()=>aa});var aa={};var Me={};g(Me,{default:()=>oa});var oa={};var Ne={};g(Ne,{default:()=>na});var na={};var Ce={};g(Ce,{default:()=>sa});var sa={};var qe={};g(qe,{default:()=>ca});var ca={};var Fe={};g(Fe,{default:()=>ma});var ma={};var He={};g(He,{default:()=>ba});var ba={};var Ve={};g(Ve,{default:()=>ga});var ga={};var fa;function ya(e){return e.replace(/[-\\^$*+?.()|[\]{}]/g,"\\$&")}function xa(e,t){return RegExp(ya(t.trim()),"i").test(e)}function va(e,t,a){let r=e,o=t,i=(a==null?void 0:a.maxSelections)||5,l=[],d=[],c=[],p=[],h=-1;function f(u){return o+"-"+u.value.trim().replace(/\s+/g,"-").toLowerCase()}function y(){return d.length>=i}function v(u){let w,D=[],x=!1;for(let z=0,C=u.length;z<C;z++)w=u[z],x=y()?!1:w.defaultSelected,D.push({id:f(w),value:w.value,text:w.text,checked:x}),x&&d.push(z);return D}function T(){return l=v(r),this}function S(u){return l[u].checked=!l[u].checked,d.length<i&&l[u].checked?(d.push(u),d.sort(),!0):(l[u].checked=!1,d=d.filter(function(w){return w!==u}),!1)}function E(u,w,D,x){return xa(w.text,x)&&u.push(D),u}function j(u){return Object.prototype.toString.call(u)!=="[object String]"&&(u=""),p=c,l.length>0&&(c=l.reduce(function(w,D,x){return E(w,D,x,u)},[])),h=-1,c}function V(u){return l[u]}function R(u){let w=c.length,D=w===0?l.length:w;u<0?h=-1:u>=D?h=D-1:h=u}function O(){return h}return this.init=T,this.toggleOption=S,this.getSelectedIndices=function(){return d},this.isAtMaxSelections=y,this.filterIndices=j,this.clearFilter=function(){return c=p=[],fa},this.getFilterIndices=function(){return c},this.getLastFilterIndices=function(){return p},this.getIndex=O,this.setIndex=R,this.resetIndex=function(){return h=-1,h},this.getOption=V,this}var gt=va;function H(e,t,a){let r=document.createElement(e);return Object.keys(a).forEach(o=>{let i=a[o];o in r?r[o]=i:r.setAttribute(o,i)}),t&&t.appendChild(r),r}var ft='<svg xmlns="http://www.w3.org/2000/svg" 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 Ea=ft,N="o-multiselect",Da="a-checkbox",Aa="a-text-input",yt="prev",be="next",Ge="Enter",La=" ",xt="Escape",Ta="ArrowUp",vt="ArrowDown",_t="Tab",wt={renderTags:!0,maxSelections:5};function ue(e){e.classList.add(N);let t=q(e,N),a=!1,r,o,i,l,d,c,p,h,f,y,v,T=[],S;function E(){v.classList.remove("u-no-results"),v.classList.add("u-filtered");let n=i.getLastFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.remove("u-filter-match");n=i.getFilterIndices();for(let s=0,m=n.length;s<m;s++)T[n[s]].classList.add("u-filter-match")}function j(){v.classList.remove("u-filtered","u-no-results");for(let n=0,s=v.children.length;n<s;n++)v.children[n].classList.remove("u-filter-match");i.clearFilter()}function V(){v.classList.add("u-no-results"),v.classList.remove("u-filtered")}function R(n){return n.length>0?(E(),!0):(V(),!1)}function O(n){j(),i.resetIndex();let s=i.filterIndices(n);R(s)}function u(){return c.classList.add("u-active"),y.classList.remove("u-invisible"),y.setAttribute("aria-hidden",!1),S.dispatchEvent("expandbegin",{target:S}),S}function w(){return c.classList.remove("u-active"),y.classList.add("u-invisible"),y.setAttribute("aria-hidden",!0),i.resetIndex(),S.dispatchEvent("collapsebegin",{target:S}),S}function D(n){n===be?i.setIndex(i.getIndex()+1):n===yt&&i.setIndex(i.getIndex()-1);let s=i.getIndex();if(s>-1){let m=s,b=i.getFilterIndices();b.length>0&&(m=b[s]);let P=i.getOption(m).value,Tt=v.querySelector('[data-option="'+P+'"]').querySelector("input");a=!0,Tt.focus()}else a=!1,f.focus()}function x(){f.value="",j()}function z(n){let s=n.target;s.tagName==="BUTTON"&&(n.preventDefault(),s.removeEventListener("click",z),s.querySelector("label").click())}function C(n){if(n.key===La||n.key===Ge){let s=n.target.querySelector("label");v.querySelector("#"+s.getAttribute("for")).click()}}function U(n){return r+"-"+n.value.trim().replace(/[^\w]/g,"-").toLowerCase()}function $(n,s){let m=U(s),b=H("li",null,{"data-option":s.value}),k=H("button",b,{type:"button",innerHTML:"<label for="+m+">"+s.text+Ea+"</label>"});n.appendChild(b),k.addEventListener("click",z),k.addEventListener("keydown",C)}function re(n){let s=i.getOption(n)||i.getOption(i.getIndex());if(s){if(s.checked){v.classList.contains("u-max-selections")&&v.classList.remove("u-max-selections");let m='[data-option="'+s.value+'"]',b=p.querySelector(m);typeof b!="undefined"&&b&&(p==null||p.removeChild(b))}else d!=null&&d.renderTags&&p&&$(p,s);i.toggleOption(n),i.isAtMaxSelections()&&v.classList.add("u-max-selections"),S.dispatchEvent("selectionsupdated",{target:S})}i.resetIndex(),a=!1,y.getAttribute("aria-hidden")==="false"&&f.focus()}function ye(n){re(Number(n.target.getAttribute("data-index"))),x()}function xe(){h.addEventListener("mousemove",function(m){let b=m.target;m.offsetX>b.offsetWidth-35?b.style.cursor="pointer":b.style.cursor="auto"}),h.addEventListener("mouseup",function(m){let b=m.target;m.offsetX>b.offsetWidth-35&&y.offsetHeight===140&&f.blur()}),f.addEventListener("input",function(){O(this.value)}),f.addEventListener("focus",function(){y.getAttribute("aria-hidden")==="true"&&u()}),f.addEventListener("blur",function(){!a&&y.getAttribute("aria-hidden")==="false"&&w()}),f.addEventListener("keydown",function(m){let b=m.key;y.getAttribute("aria-hidden")==="true"&&b!==_t&&u(),b===Ge?(m.preventDefault(),D(be)):b===xt?(x(),w()):b===vt?D(be):b===_t&&!m.shiftKey&&y.getAttribute("aria-hidden")==="false"&&w()}),v.addEventListener("mousedown",function(){a=!0}),v.addEventListener("keydown",function(m){let b=m.key,k=m.target,P=k.checked;if(b===Ge){m.preventDefault(),k.checked=!P;let G=new Event("change",{bubbles:!1,cancelable:!0});k.dispatchEvent(G)}else b===xt?(f.focus(),w()):b===Ta?D(yt):b===vt&&D(be)}),y.addEventListener("mousedown",function(m){m.target.tagName==="LABEL"&&(a=!0)});let n=v.querySelectorAll("input");for(let m=0,b=n.length;m<b;m++)n[m].addEventListener("change",ye);let s=p.querySelectorAll("button");for(let m=0,b=s.length;m<b;m++)s[m].addEventListener("click",z),s[m].addEventListener("keydown",C)}function ne(){c=document.createElement("div"),c.className=N,p=H("ul",null,{className:N+"__choices"}),h=H("header",c,{className:N+"__header"}),f=H("input",h,{className:N+"__search "+Aa,type:"text",placeholder:o||"Select up to five",id:t.id,autocomplete:"off"}),y=H("fieldset",c,{className:N+"__fieldset u-invisible","aria-hidden":"true"});let n=N+"__options";i.isAtMaxSelections()&&(n+=" u-max-selections"),v=H("ul",y,{className:n});let s,m,b;for(let k=0,P=l.length;k<P;k++){s=l[k],m=U(s),b=i.getOption(k).checked;let G=H("li",v,{"data-option":s.value,"data-cy":"multiselect-option",class:"m-form-field m-form-field--checkbox"});H("input",G,{id:m,type:"checkbox",value:s.value,name:r,class:Da+" "+N+"__checkbox",checked:b,"data-index":k}),H("label",G,{for:m,textContent:s.text,className:N+"__label a-label"}),T.push(G),b&&(d!=null&&d.renderTags)&&$(p,s)}return c.insertBefore(p,h),t.parentNode.insertBefore(c,t),c.appendChild(t),c}function ve(n=wt){if(!M(t))return this;if(Re())return this;if(S=this,r=t.name||t.id,o=t.getAttribute("placeholder"),l=t.options||[],d=we(we({},wt),n),l.length>0){i=new gt(l,r,d).init();let s=ne();t.parentNode.removeChild(t),t=s,M(t),xe()}return this}function _e(){return i}this.init=ve,this.expand=u,this.collapse=w;let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.getModel=_e,this.updateSelections=re,this.selectionClickHandler=z,this.selectionKeyDownHandler=C,this}ue.BASE_CLASS=N;ue.init=e=>F(`.${N}`,ue,void 0,e);var Ue={};g(Ue,{default:()=>za});var za={};var Pe={};g(Pe,{default:()=>Ia});var Ia={};var Xe={};g(Xe,{default:()=>Ma});var Ma={};var Ke={};g(Ke,{default:()=>Ca});var Ca={};var Je={};g(Je,{default:()=>Fa});var Fa={};var Ye={};g(Ye,{default:()=>Va});var Va={};var We={};g(We,{default:()=>Ra});var Ra={};var $e={};g($e,{default:()=>Pa});var Pa={};var Ze={};g(Ze,{default:()=>Ka});var Ka={};var Qe={};g(Qe,{default:()=>Ya});var Ya={};var et={};g(et,{default:()=>$a});var $a={};var tt={};g(tt,{default:()=>Qa});var Qa={};var at={};g(at,{default:()=>ti});var ti={};var it={};g(it,{default:()=>ii});var ii={};var ot={};g(ot,{default:()=>ri});var ri={};var rt={};g(rt,{default:()=>li});var li={};var nt={};g(nt,{default:()=>di});var di={};var lt={};g(lt,{default:()=>hi});var hi={};var st={};g(st,{default:()=>pi});var pi={};var dt={};g(dt,{default:()=>ui});var ui={};function kt(e,t){t=t||document;let a=[];try{a=t.querySelectorAll(e)}catch(r){let o=`${e} not found in DOM! ${r}`;throw new Error(o)}return a.length===0&&e.indexOf(Z)===-1&&(a=St(e,t)),a}function gi(e,t,a,r){let o=[];e instanceof NodeList?o=e:e instanceof Node?o=[e]:typeof e=="string"&&(o=kt(e,r));for(let i=0,l=o.length;i<l;i++)o[i].addEventListener(t,a,!1);return o}function ge(e,t){let a;if(W(e,t))return a=e,a;if(e){let r="["+I+"="+t+"]";a=e.querySelector(r)}if(!a){let r=t+" behavior not found on passed DOM node!";throw new Error(r)}return a}function St(e,t){return e=I+"*="+Z+e,e="["+e+"]",kt(e,t)}function fi(e,t,a){e.removeEventListener(t,a)}var ae=Object.prototype.toString;function Et(e){return typeof e=="undefined"}function yi(e){return typeof e!="undefined"}function xi(e){return e!==null&&typeof e=="object"}function Dt(e){return ae.call(e)==="[object String]"}function vi(e){return ae.call(e)==="[object Number]"}function _i(e){return ae.call(e)==="[object Date]"}var wi=Array.isArray||function(t){return ae.call(t)==="[object Array]"};function ki(e){return ae.call(e)==="[object Function]"}function Si(e){return Et(e)||e===null||Dt(e)&&e.length<=0||/^\s*$/.test(e)}function Re(){return!!new RegExp(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i).test(navigator.userAgent)}var ie=Z+"flyout-menu",Ei="["+I+"="+ie;function K(e,t=!0){let a=ge(e,ie),r=V(e),o=ge(e,ie+"_content"),i=0,l=0,d=1,c=2,p=3,h,f,y,v=$.bind(this),T=U.bind(this),S,E=!0,j=!1;function V(n){let s=[],m=n.querySelectorAll(`${Ei}_trigger]`),b,k,P;for(let G=m.length>>>0;G--;){for(P=!1,b=m[G],k=b.parentElement;k!==n;)k.getAttribute(I)&&k.getAttribute(I).split(" ").indexOf(ie)!==-1?(P=!0,k=n):k=k.parentElement;P||s.unshift(m[G])}return s}function R(n=!1){return i=n?p:l,r.forEach(s=>{O("expanded",s,n),s.addEventListener("click",x.bind(this)),s.addEventListener("touchstart",u,{passive:!0}),s.addEventListener("mouseover",w.bind(this)),s.addEventListener("mouseout",D.bind(this))}),o.setAttribute("data-open",n?"true":"false"),t&&!n&&o.setAttribute("hidden",""),ne(),this}function O(n,s,m){let b=String(m);return s.setAttribute("aria-"+n,b),b}function u(){j=!0}function w(n){E||(j||this.dispatchEvent("triggerover",{target:this,trigger:n.target,type:"triggerover"}),j=!1)}function D(n){E||this.dispatchEvent("triggerout",{target:this,trigger:n.target,type:"triggerout"})}function x(n){if(!E)switch(this.dispatchEvent("triggerclick",{target:this,trigger:n.target,type:"triggerclick"}),n.preventDefault(),i){case l:case d:this.expand();break;case c:case p:this.collapse();break}}function z(){if(h==null||h.halt(),i===c||i===p)return this;if(i=c,t&&o.removeAttribute("hidden"),this.dispatchEvent("expandbegin",{target:this,type:"expandbegin"}),!f||!y)return T(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,T),f(),n||T(),this}function C(){if(h==null||h.halt(),i===d||i===l)return this;for(let s=0,m=r.length;s<m;s++)O("expanded",r[s],!1);if(o.setAttribute("data-open","false"),i=d,this.dispatchEvent("collapsebegin",{target:this,type:"collapsebegin"}),!y||!f)return v(),this;let n=h==null?void 0:h.isAnimated();return n&&h.addEventListener(_.END_EVENT,v),y(),n||v(),this}function U(){i=p,o.setAttribute("data-open","true"),h&&h.removeEventListener(_.END_EVENT,T),this.dispatchEvent("expandend",{target:this,type:"expandend"});for(let n=0,s=r.length;n<s;n++)O("expanded",r[n],!0)}function $(){i=l,t&&o.setAttribute("hidden",""),h&&h.removeEventListener(_.END_EVENT,v),this.dispatchEvent("collapseend",{target:this,type:"collapseend"})}function re(n,s,m){h=n,s&&s!==y&&(y=s),m&&m!==f&&(f=m)}function ye(){h&&h.remove();let n;h=n,f=n,y=n}function xe(){return{container:a,content:o,trigger:r}}function ne(){return E&&(E=!1),!E}function ve(){return E||(E=!0),E}function _e(n){return S=n,this}let Y=new A;return this.addEventListener=Y.addEventListener,this.removeEventListener=Y.removeEventListener,this.dispatchEvent=Y.dispatchEvent,this.init=R,this.expand=z,this.collapse=C,this.setTransition=re,this.clearTransition=ye,this.getData=()=>S,this.getTransition=()=>h,this.getDom=xe,this.isAnimating=()=>i===c||i===d,this.isExpanded=()=>i===p,this.resume=ne,this.setData=_e,this.suspend=ve,K.BASE_CLASS=ie,this}var fe={CSS_PROPERTY:"opacity",BASE_CLASS:"u-alpha-transition",ALPHA_100:"u-alpha-100",ALPHA_0:"u-alpha-0"};function At(e){let t=new A,a=new _(e,fe,this);function r(l){return a.init(l),this}function o(){return a.applyClass(fe.ALPHA_100),this}function i(){return a.applyClass(fe.ALPHA_0),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.remove=a.remove,this.setElement=a.setElement,this.fadeIn=o,this.fadeOut=i,this.init=r,this}At.CLASSES=fe;function _(e,t,a){let r=t,o=e;if(!a)throw new Error("Child transition argument must be defined!");let i=a,l,d,c,p=!1,h=!1,f=!1;if(typeof r.CSS_PROPERTY=="undefined"||typeof r.BASE_CLASS=="undefined")throw new Error("Transitions require CSS_PROPERTY and BASE_CLASS to be passed into BaseTransition.");function y(){d&&p?(o.addEventListener(d,c),i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),o.classList.add(_.ANIMATING_CLASS),h=!0):(i.dispatchEvent(_.BEGIN_EVENT,{target:i,type:_.BEGIN_EVENT}),c())}function v(){o.removeEventListener(d,c)}function T(x){return x&&x.propertyName!==r.CSS_PROPERTY?!1:(v(),o.classList.remove(_.ANIMATING_CLASS),i.dispatchEvent(_.END_EVENT,{target:i,type:_.END_EVENT}),h=!1,!0)}function S(){let x;for(x in r)({}).hasOwnProperty.call(r,x)&&r[x]!==r.BASE_CLASS&&o.classList.contains(r[x])&&o.classList.remove(r[x])}function E(){h&&(o.style.webkitTransitionDuration="0",o.style.mozTransitionDuration="0",o.style.oTransitionDuration="0",o.style.transitionDuration="0",o.removeEventListener(d,c),c(),o.style.webkitTransitionDuration="",o.style.mozTransitionDuration="",o.style.oTransitionDuration="",o.style.transitionDuration="")}function j(){E(),S(),o.classList.remove(r.BASE_CLASS)}function V(){o.classList.remove(_.NO_ANIMATION_CLASS),p=!0}function R(){o.classList.add(_.NO_ANIMATION_CLASS),p=!1}function O(x){if(!x){let $="Element does not have TransitionEnd event. It may be null!";throw new Error($)}let z,C={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},U;for(U in C)if({}.hasOwnProperty.call(C,U)&&typeof x.style[U]!="undefined"){z=C[U];break}return z}function u(x){j(),V(),o=x,o.classList.add(r.BASE_CLASS),d=O(o)}function w(x){if(p=!o.classList.contains(_.NO_ANIMATION_CLASS),c=T.bind(this),u(o),!x)throw new Error("Transition needs to be passed an initial CSS class on initialization!");return o.classList.add(x),this}function D(x){return f||(S(),f=!0),o.classList.contains(x)?!1:(v(),o.classList.remove(l),l=x,y(),o.classList.add(l),!0)}return this.animateOff=R,this.animateOn=V,this.applyClass=D,this.halt=E,this.init=w,this.isAnimated=()=>p,this.remove=j,this.setElement=u,this}_.BEGIN_EVENT="transitionbegin";_.END_EVENT="transitionend";_.NO_ANIMATION_CLASS="u-no-animation";_.ANIMATING_CLASS="u-is-animating";var oe={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 B(e){let t=new A,a=new _(e,oe,this),r=0;function o(){let y=e.scrollHeight+"px";e.style.maxHeight=y}function i(){window.removeEventListener("load",i),o()}function l(f){return a.init(f),window.addEventListener("load",i),window.addEventListener("resize",()=>{o()}),this}function d(){return o(),a.applyClass(oe.MH_DEFAULT),(!r||e.scrollHeight>r)&&(r=e.scrollHeight),this}function c(){return a.applyClass(oe.MH_SUMMARY),r=e.scrollHeight,this}function p(){return a.applyClass(oe.MH_ZERO),r=e.scrollHeight,this}function h(){return e.style.maxHeight="",a.remove()}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.refresh=o,this.remove=h,this.init=l,this.maxHeightDefault=d,this.maxHeightSummary=c,this.maxHeightZero=p,this}B.CLASSES=oe;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(e){let t=new A,a=new _(e,J,this);function r(c){return a.init(c),this}function o(){return a.applyClass(J.MOVE_TO_ORIGIN),this}function i(c){c=c||1;let p=[J.MOVE_LEFT,J.MOVE_LEFT_2X,J.MOVE_LEFT_3X];return a.applyClass(p[c-1]),this}function l(){return a.applyClass(J.MOVE_RIGHT),this}function d(){return a.applyClass(J.MOVE_UP),this}return this.addEventListener=t.addEventListener,this.dispatchEvent=t.dispatchEvent,this.removeEventListener=t.removeEventListener,this.animateOff=a.animateOff,this.animateOn=a.animateOn,this.halt=a.halt,this.isAnimated=a.isAnimated,this.setElement=a.setElement,this.remove=a.remove,this.init=r,this.moveLeft=()=>i(1),this.moveLeft2=()=>i(2),this.moveLeft3=()=>i(3),this.moveRight=l,this.moveToOrigin=o,this.moveUp=d,this}Lt.CLASSES=J;})(); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@cfpb/cfpb-design-system", | ||
"version": "3.1.0", | ||
"version": "3.1.1", | ||
"description": "CFPB's UI framework", | ||
@@ -22,4 +22,4 @@ "main": "src/index.js", | ||
}, | ||
"gitHead": "95e07185441126cf0376f28f49180a77168ee413", | ||
"gitHead": "6d08f674140b371f4c5eb6cfa1837320f5350fb9", | ||
"type": "module" | ||
} |
@@ -23,3 +23,3 @@ /* ========================================================================== | ||
const _dom = checkDom(element, BASE_CLASS); | ||
const _isAccordion = _dom.classList.contains(`${BASE_CLASS}__accordion`); | ||
const _isAccordion = _dom.classList.contains(`${BASE_CLASS}--accordion`); | ||
let _expandables; | ||
@@ -26,0 +26,0 @@ let _lastExpanded; |
@@ -172,3 +172,3 @@ import { Expandable, ExpandableGroup } from './index.js'; | ||
expandableGroup = document.querySelector('.o-expandable-group'); | ||
expandableGroup.classList.add('o-expandable-group__accordion'); | ||
expandableGroup.classList.add('o-expandable-group--accordion'); | ||
expandableDom1 = document.querySelector('#test-subject-one'); | ||
@@ -175,0 +175,0 @@ expandableDom2 = document.querySelector('#test-subject-two'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
3836347