@windstream/react-shared-components 0.2.72 → 0.2.73

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -22,5 +22,5 @@ var t,n,r;r=function(){var e,t,n,r=Object.prototype.toString,i="undefined"!=type
22
22
  *
23
23
  * This source code is licensed under the MIT license found in the
24
24
  * LICENSE file in the root directory of this source tree.
25
- */function Mg(){return Rg||(Rg=1,"production"===process.env.NODE_ENV?Pg.exports=function(){if(Eg)return Bg;Eg=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case m:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Bg.AsyncMode=l,Bg.ConcurrentMode=c,Bg.ContextConsumer=s,Bg.ContextProvider=a,Bg.Element=t,Bg.ForwardRef=u,Bg.Fragment=r,Bg.Lazy=h,Bg.Memo=m,Bg.Portal=n,Bg.Profiler=o,Bg.StrictMode=i,Bg.Suspense=d,Bg.isAsyncMode=function(e){return x(e)||y(e)===l},Bg.isConcurrentMode=x,Bg.isContextConsumer=function(e){return y(e)===s},Bg.isContextProvider=function(e){return y(e)===a},Bg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Bg.isForwardRef=function(e){return y(e)===u},Bg.isFragment=function(e){return y(e)===r},Bg.isLazy=function(e){return y(e)===h},Bg.isMemo=function(e){return y(e)===m},Bg.isPortal=function(e){return y(e)===n},Bg.isProfiler=function(e){return y(e)===o},Bg.isStrictMode=function(e){return y(e)===i},Bg.isSuspense=function(e){return y(e)===d},Bg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Bg.typeOf=y,Bg}():Pg.exports=(Lg||(Lg=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case h:case m:case a:return g;default:return p}}case n:return p}}}var x=l,w=c,C=s,I=a,N=t,A=u,E=r,T=h,S=m,k=n,P=o,B=i,L=d,R=!1;function O(e){return y(e)===c}Dg.AsyncMode=x,Dg.ConcurrentMode=w,Dg.ContextConsumer=C,Dg.ContextProvider=I,Dg.Element=N,Dg.ForwardRef=A,Dg.Fragment=E,Dg.Lazy=T,Dg.Memo=S,Dg.Portal=k,Dg.Profiler=P,Dg.StrictMode=B,Dg.Suspense=L,Dg.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(e)||y(e)===l},Dg.isConcurrentMode=O,Dg.isContextConsumer=function(e){return y(e)===s},Dg.isContextProvider=function(e){return y(e)===a},Dg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Dg.isForwardRef=function(e){return y(e)===u},Dg.isFragment=function(e){return y(e)===r},Dg.isLazy=function(e){return y(e)===h},Dg.isMemo=function(e){return y(e)===m},Dg.isPortal=function(e){return y(e)===n},Dg.isProfiler=function(e){return y(e)===o},Dg.isStrictMode=function(e){return y(e)===i},Dg.isSuspense=function(e){return y(e)===d},Dg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Dg.typeOf=y}()),Dg)),Pg.exports}!function(){if(Gg)return Og;Gg=1;var e=Mg(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Og=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var m=s(r);l&&(m=m.concat(l(r)));for(var h=o(t),f=o(r),g=0;g<m.length;++g){var b=m[g];if(!(n[b]||i&&i[b]||f&&f[b]||h&&h[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Vg="undefined"!=typeof document;var Fg=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Vg&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var jg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Hg(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Wg=/[A-Z]|^ms/g,Xg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zg=function(e){return 45===e.charCodeAt(1)},_g=function(e){return null!=e&&"boolean"!=typeof e},Zg=Hg(function(e){return zg(e)?e:e.replace(Wg,"-$&").toLowerCase()}),Yg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Xg,function(e,t,n){return Jg={name:t,styles:n,next:Jg},t})}return 1===jg[e]||zg(e)||"number"!=typeof t||0===t?t:t+"px"};function Ug(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return Jg={name:i.name,styles:i.styles,next:Jg},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)Jg={name:a.name,styles:a.styles,next:Jg},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ug(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;_g(s)&&(r+=Zg(o)+":"+Yg(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)_g(a[l])&&(r+=Zg(o)+":"+Yg(o,a[l])+";");else{var c=Ug(e,t,a);switch(o){case"animation":case"animationName":r+=Zg(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=Jg,l=n(e);return Jg=s,Ug(e,t,l)}}return n}var Jg,$g=/label:\s*([^\s;{]+)\s*(;|$)/g;function Kg(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";Jg=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Ug(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=Ug(n,t,e[a]),r)i+=o[a]}$g.lastIndex=0;for(var s,l="";null!==(s=$g.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:Jg}}var Qg="undefined"!=typeof document,qg=function(e){return e()},eb=!!r.useInsertionEffect&&r.useInsertionEffect,tb=Qg&&eb||qg,nb="undefined"!=typeof document,rb=r.createContext("undefined"!=typeof HTMLElement?kg({key:"css"}):null);rb.Provider;var ib=function(e){return o(function(t,n){var r=m(rb);return e(t,r,n)})};nb||(ib=function(e){return function(t){var n=m(rb);return null===n?(n=kg({key:"css"}),r.createElement(rb.Provider,{value:n},e(t,n))):e(t,n)}});var ob,ab,sb=r.createContext({}),lb={}.hasOwnProperty,cb="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ub=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;Fg(t,n,i);var o=tb(function(){return function(e,t,n){Fg(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);Vg||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!Vg&&0!==i.length)return i}}(t,n,i)});if(!nb&&void 0!==o){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},db=ib(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[cb],a=[i],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Kg(a,void 0,r.useContext(sb));s+=t.key+"-"+l.name;var c={};for(var u in e)lb.call(e,u)&&"css"!==u&&u!==cb&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(ub,{cache:t,serialized:l,isStringTag:"string"==typeof o}),r.createElement(o,c))}),pb=db,mb=function(e,t){var n=arguments;if(null==t||!lb.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=pb,o[1]=function(e,t){var n={};for(var r in t)lb.call(t,r)&&(n[r]=t[r]);return n[cb]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function hb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Kg(t)}ob=mb||(mb={}),ab||(ab=ob.JSX||(ob.JSX={}));const fb=Math.min,gb=Math.max,bb=Math.round,vb=Math.floor,yb=e=>({x:e,y:e});function xb(){return"undefined"!=typeof window}function wb(e){return Nb(e)?(e.nodeName||"").toLowerCase():"#document"}function Cb(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ib(e){var t;return null==(t=(Nb(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Nb(e){return!!xb()&&(e instanceof Node||e instanceof Cb(e).Node)}function Ab(e){return!!xb()&&(e instanceof HTMLElement||e instanceof Cb(e).HTMLElement)}function Eb(e){return!(!xb()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Cb(e).ShadowRoot)}const Tb=new Set(["inline","contents"]);function Sb(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Pb(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Tb.has(i)}const kb=new Set(["html","body","#document"]);function Pb(e){return Cb(e).getComputedStyle(e)}function Bb(e){const t=function(e){if("html"===wb(e))return e;const t=e.assignedSlot||e.parentNode||Eb(e)&&e.host||Ib(e);return Eb(t)?t.host:t}(e);return function(e){return kb.has(wb(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ab(t)&&Sb(t)?t:Bb(t)}function Lb(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Bb(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Cb(i);if(o){const e=Rb(a);return t.concat(a,a.visualViewport||[],Sb(i)?i:[],e&&n?Lb(e):[])}return t.concat(i,Lb(i,[],n))}function Rb(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ob(e){return t=e,xb()&&(t instanceof Element||t instanceof Cb(t).Element)?e:e.contextElement;var t}function Gb(e){const t=Ob(e);if(!Ab(t))return yb(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Pb(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ab(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=bb(n)!==o||bb(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?bb(n.width):n.width)/r,s=(o?bb(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Db(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=Ob(e);let a=yb(1);t&&(a=Gb(e));const s=yb(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=Cb(o),n=Rb(t);for(;n&&r&&e!==t;){const e=Gb(n),r=n.getBoundingClientRect(),i=Pb(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=Cb(n),n=Rb(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Mb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Vb(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ob(e),u=i||o?[...c?Lb(c):[],...Lb(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const i=Ib(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(s||t(),!p||!m)return;const h={rootMargin:-vb(d)+"px "+-vb(i.clientWidth-(u+p))+"px "+-vb(i.clientHeight-(d+m))+"px "+-vb(u)+"px",threshold:gb(0,fb(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||Mb(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),o}(c,n):null;let p,m=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let f=l?Db(e):null;return l&&function t(){const r=Db(e);f&&!Mb(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var Fb="undefined"!=typeof document?p:function(){},jb=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Hb=function(){};function Wb(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Xb(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(Wb(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var zb=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===af(e)&&null!==e?[e]:[];var t},_b=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,uf({},hf(e,jb))},Zb=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function Yb(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ub(e){return Yb(e)?window.pageYOffset:e.scrollTop}function Jb(e,t){Yb(e)?window.scrollTo(0,t):e.scrollTop=t}function $b(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Hb,i=Ub(e),o=t-i,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;Jb(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function Kb(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Jb(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Jb(e,Math.max(t.offsetTop-i,0))}function Qb(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var qb=!1,ev={get passive(){return qb=!0}},tv="undefined"!=typeof window?window:{};tv.addEventListener&&tv.removeEventListener&&(tv.addEventListener("p",Hb,ev),tv.removeEventListener("p",Hb,!1));var nv=qb;function rv(e){return null!=e}function iv(e,t,n){return e?t:n}var ov=["children","innerProps"],av=["children","innerProps"];function sv(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:Yb(u=l)?window.innerHeight:u.clientHeight,v=Ub(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),w=g-x,C=b-f,I=w+v,N=d-v-f,A=m-b+v+y,E=v+f-x,T=160;switch(i){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(N>=h&&!a)return o&&$b(l,A,T),{placement:"bottom",maxHeight:t};if(!a&&N>=r||a&&C>=r)return o&&$b(l,A,T),{placement:"bottom",maxHeight:a?C-y:N-y};if("auto"===i||a){var S=t,k=a?w:I;return k>=r&&(S=Math.min(k-y-s,t)),{placement:"top",maxHeight:S}}if("bottom"===i)return o&&Jb(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(I>=h&&!a)return o&&$b(l,E,T),{placement:"top",maxHeight:t};if(!a&&I>=r||a&&w>=r){var P=t;return(!a&&I>=r||a&&w>=r)&&(P=a?w-x:I-x),o&&$b(l,E,T),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var lv,cv=function(e){return"auto"===e?"bottom":e},uv=d(null),dv=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,u=(m(uv)||{}).setPortalPlacement,d=s(null),p=mf(c(r),2),h=p[0],f=p[1],g=mf(c(null),2),b=g[0],v=g[1],y=l.spacing.controlHeight;return Fb(function(){var e=d.current;if(e){var t="fixed"===o,s=sv({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});f(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[r,i,o,a,n,u,y]),t({ref:d,placerProps:uf(uf({},e),{},{placement:b||cv(i),maxHeight:h})})},pv=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return mb("div",Up({},Zb(e,"menu",{menu:!0}),{ref:n},r),t)},mv=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return uf({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},hv=mv,fv=mv,gv=["size"],bv=["innerProps","isRtl","size"];var vv,yv,xv="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9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CBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},wv=function(e){var t=e.size,n=hf(e,gv);return mb("svg",Up({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:xv},n))},Cv=function(e){return mb(wv,Up({size:20},e),mb("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Iv=function(e){return mb(wv,Up({size:20},e),mb("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Nv=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return uf({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Av=Nv,Ev=Nv,Tv=function(){var e=hb.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(lv||(vv=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],yv||(yv=vv.slice(0)),lv=Object.freeze(Object.defineProperties(vv,{raw:{value:Object.freeze(yv)}})))),Sv=function(e){var t=e.delay,n=e.offset;return mb("span",{css:hb({animation:"".concat(Tv," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD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ICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},kv=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return mb("div",Up({ref:i},Zb(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Pv=["data"],Bv=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return mb("div",Up({},Zb(e,"group",{group:!0}),s),mb(o,Up({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),mb("div",null,t))},Lv=["innerRef","isDisabled","isHidden","inputClassName"],Rv={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ov={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":uf({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Rv)},Gv=function(e){return uf({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Rv)},Dv=function(e){var t=e.cx,n=e.value,r=_b(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=hf(r,Lv);return mb("div",Up({},Zb(e,"input",{"input-container":!0}),{"data-value":n||""}),mb("input",Up({className:t({input:!0},s),ref:i,style:Gv(a),disabled:o},l)))},Mv=function(e){var t=e.children,n=e.innerProps;return mb("div",n,t)};var Vv=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return mb(l,{data:r,innerProps:uf(uf({},Zb(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},mb(c,{data:r,innerProps:uf({},Zb(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),mb(u,{data:r,innerProps:uf(uf({},Zb(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Fv={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return mb("div",Up({},Zb(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||mb(Cv,null))},Control:kv,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return mb("div",Up({},Zb(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||mb(Iv,null))},DownChevron:Iv,CrossIcon:Cv,Group:Bv,GroupHeading:function(e){var t=_b(e);t.data;var n=hf(t,Pv);return mb("div",Up({},Zb(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return mb("div",Up({},Zb(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return mb("span",Up({},t,Zb(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Dv,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=hf(e,bv);return mb("div",Up({},Zb(uf(uf({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),mb(Sv,{delay:0,offset:n}),mb(Sv,{delay:160,offset:!0}),mb(Sv,{delay:320,offset:!n}))},Menu:pv,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return mb("div",Up({},Zb(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,a=e.menuPosition,u=s(null),d=s(null),p=mf(c(cv(o)),2),m=p[0],h=p[1],g=l(function(){return{setPortalPlacement:h}},[]),b=mf(c(null),2),v=b[0],y=b[1],x=f(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[m]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[r,a,m,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Fb(function(){x()},[x]);var w=f(function(){"function"==typeof d.current&&(d.current(),d.current=null),r&&u.current&&(d.current=Vb(r,u.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);Fb(function(){w()},[w]);var C=f(function(e){u.current=e,w()},[w]);if(!t&&"fixed"!==a||!v)return null;var I=mb("div",Up({ref:C},Zb(uf(uf({},e),{},{offset:v.offset,position:a,rect:v.rect}),"menuPortal",{"menu-portal":!0}),i),n);return mb(uv.Provider,{value:g},t?S(I,t):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=hf(e,av);return mb("div",Up({},Zb(uf(uf({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=hf(e,ov);return mb("div",Up({},Zb(uf(uf({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Vv,MultiValueContainer:Mv,MultiValueLabel:Mv,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return mb("div",Up({role:"button"},n),t||mb(Cv,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return mb("div",Up({},Zb(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return mb("div",Up({},Zb(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return mb("div",Up({},Zb(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return mb("div",Up({},Zb(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return mb("div",Up({},Zb(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},jv=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Hv(e,t){return e===t||!(!jv(e)||!jv(t))}function Wv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Hv(e[n],t[n]))return!1;return!0}for(var Xv="production"===process.env.NODE_ENV?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},zv=function(e){return mb("span",Up({css:Xv},e))},_v={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Zv=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,s=e.selectProps,c=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,m=s.inputValue,h=s.isMulti,f=s.isOptionDisabled,g=s.isSearchable,b=s.menuIsOpen,v=s.options,y=s.screenReaderStatus,w=s.tabSelectsValue,C=s.isLoading,I=s["aria-label"],N=s["aria-live"],A=l(function(){return uf(uf({},_v),d||{})},[d]),E=l(function(){var e,n="";if(t&&A.onChange){var r=t.option,i=t.options,o=t.removedValue,s=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,m=d?d.map(p):[],h=uf({isDisabled:c&&f(c,a),label:u,labels:m},t);n=A.onChange(h)}return n},[t,A,f,a,p]),T=l(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&A.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=A.onFocus(s)}return e},[n,r,p,f,A,i,a,u]),S=l(function(){var e="";if(b&&v.length&&!C&&A.onFilter){var t=y({count:i.length});e=A.onFilter({inputValue:m,resultsMessage:t})}return e},[i,m,b,A,v,y,C]),k="initial-input-focus"===(null==t?void 0:t.action),P=l(function(){var e="";if(A.guidance){var t=r?"value":b?"menu":"input";e=A.guidance({"aria-label":I,context:t,isDisabled:n&&f(n,a),isMulti:h,isSearchable:g,tabSelectsValue:w,isInitialFocus:k})}return e},[I,n,r,h,f,g,b,A,a,w,k]),B=mb(x,null,mb("span",{id:"aria-selection"},E),mb("span",{id:"aria-focused"},T),mb("span",{id:"aria-results"},S),mb("span",{id:"aria-guidance"},P));return mb(x,null,mb(zv,{id:c},k&&B),mb(zv,{"aria-live":N,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!k&&B))},Yv=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Uv=new RegExp("["+Yv.map(function(e){return e.letters}).join("")+"]","g"),Jv={},$v=0;$v<Yv.length;$v++)for(var Kv=Yv[$v],Qv=0;Qv<Kv.letters.length;Qv++)Jv[Kv.letters[Qv]]=Kv.base;var qv=function(e){return e.replace(Uv,function(e){return Jv[e]})},ey=function(e,t){void 0===t&&(t=Wv);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(qv),ty=function(e){return e.replace(/^\s+|\s+$/g,"")},ny=function(e){return"".concat(e.label," ").concat(e.value)},ry=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=uf({ignoreCase:!0,ignoreAccents:!0,stringify:ny,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?ty(n):n,u=s?ty(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=ey(c),u=qv(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},iy=["innerRef"];function oy(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter(function(e){var t=mf(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=mf(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(hf(e,iy),"onExited","in","enter","exit","appear");return mb("input",Up({ref:t},n,{css:hb({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogS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vLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var ay=["boxSizing","height","overflow","paddingRight","position"],sy={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ly(e){e.cancelable&&e.preventDefault()}function cy(e){e.stopPropagation()}function uy(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function dy(){return"ontouchstart"in window||navigator.maxTouchPoints}var py=!("undefined"==typeof window||!window.document||!window.document.createElement),my=0,hy={capture:!1,passive:!1};var fy=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},gy="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlR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21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function by(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,l=s(!1),c=s(!1),u=s(0),d=s(null),p=f(function(e,t){if(null!==d.current){var a=d.current,s=a.scrollTop,u=a.scrollHeight,p=a.clientHeight,m=d.current,h=t>0,f=u-p-s,g=!1;f>t&&l.current&&(r&&r(e),l.current=!1),h&&c.current&&(o&&o(e),c.current=!1),h&&t>f?(n&&!l.current&&n(e),m.scrollTop=u,g=!0,l.current=!0):!h&&-t>s&&(i&&!c.current&&i(e),m.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),m=f(function(e){p(e,e.deltaY)},[p]),h=f(function(e){u.current=e.changedTouches[0].clientY},[]),g=f(function(e){var t=u.current-e.changedTouches[0].clientY;p(e,t)},[p]),b=f(function(e){if(e){var t=!!nv&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",g,t)}},[g,h,m]),v=f(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",g,!1))},[g,h,m]);return a(function(){if(t){var e=d.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){d.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=s({}),o=s(null),l=f(function(e){if(py){var t=document.body,n=t&&t.style;if(r&&ay.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&my<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(sy).forEach(function(e){var t=sy[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&dy()&&(t.addEventListener("touchmove",ly,hy),e&&(e.addEventListener("touchstart",uy,hy),e.addEventListener("touchmove",cy,hy))),my+=1}},[r]),c=f(function(e){if(py){var t=document.body,n=t&&t.style;my=Math.max(my-1,0),r&&my<1&&ay.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&dy()&&(t.removeEventListener("touchmove",ly,hy),e&&(e.removeEventListener("touchstart",uy,hy),e.removeEventListener("touchmove",cy,hy)))}},[r]);return a(function(){if(t){var e=o.current;return l(e),function(){c(e)}}},[t,l,c]),function(e){o.current=e}}({isEnabled:n});return mb(x,null,n&&mb("div",{onClick:fy,css:gy}),t(function(e){i(e),o(e)}))}var vy="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},yy=function(e){var t=e.name,n=e.onFocus;return mb("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:vy,value:"",onChange:function(){}})};function xy(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function wy(){return xy(/^Mac/i)}function Cy(){return xy(/^iPhone/i)||xy(/^iPad/i)||wy()&&navigator.maxTouchPoints>1}var Iy={clearIndicator:Ev,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return uf({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Av,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return uf({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return uf({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return uf(uf({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Ov),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return uf({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:fv,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return uf((lf(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),lf(n,"position","absolute"),lf(n,"width","100%"),lf(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return uf({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return uf({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return uf({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return uf({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:hv,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return uf({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return uf({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return uf({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return uf({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Ny={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Ay={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Qb(),captureMenuScroll:!Qb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:ry(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Ey(e,t,n,r){return{type:"option",data:t,isDisabled:Oy(e,t,n),isSelected:Gy(e,t,n),label:Ly(e,t),value:Ry(e,t),index:r}}function Ty(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return Ey(e,n,t,r)}).filter(function(t){return Py(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Ey(e,n,t,r);return Py(e,o)?o:void 0}).filter(rv)}function Sy(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,wf(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function ky(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,wf(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function Py(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!My(e)||!o)&&Dy(e,{label:a,value:s,data:i},r)}var By=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Ly=function(e,t){return e.getOptionLabel(t)},Ry=function(e,t){return e.getOptionValue(t)};function Oy(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Gy(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Ry(e,t);return n.some(function(t){return Ry(e,t)===r})}function Dy(e,t,n){return!e.filterOption||e.filterOption(t,n)}var My=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Vy=1,Fy=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bf(e,t)}(t,C);var e=function(e){var t=yf();return function(){var n,r=vf(e);if(t){var i=vf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xf(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(wf(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=iv(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(iv(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=iv(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return By(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return ky(Ty(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Xb.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Ly(r.props,e)},r.getOptionValue=function(e){return Ry(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Iy[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,uf(uf({},Fv),e.components);var e},r.buildCategorizedOptions=function(){return Ty(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Sy(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:uf({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Yb(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return My(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=r.state,h=m.focusedOption,f=m.focusedValue,g=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Vy),r.state.selectValue=zb(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=By(i,o[a])}return r}return function(e,t,n){t&&gf(e.prototype,t),n&&gf(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Kb(this.menuListRef,this.focusedOptionRef),(wy()||Cy())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Kb(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ny):uf(uf({},Ny),this.props.theme):Ny}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Oy(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Gy(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Dy(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,h=this.commonProps,f=i||this.getElementId("input"),g=uf(uf(uf({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,Up({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:o},g)):r.createElement(oy,Up({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Hb,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,h=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return h?null:r.createElement(l,Up({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(m)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,Up({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var x=b[0];return r.createElement(s,Up({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Up({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,Up({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,Up({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Up({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,f=m.inputValue,g=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,y=m.maxMenuHeight,x=m.menuIsOpen,w=m.menuPlacement,C=m.menuPosition,I=m.menuPortalTarget,N=m.menuShouldBlockScroll,A=m.menuShouldScrollIntoView,E=m.noOptionsMessage,T=m.onMenuScrollToTop,S=m.onMenuScrollToBottom;if(!x)return null;var k,P=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,m=p===o,h=a?void 0:function(){return e.onOptionHover(o)},f=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,Up({},d,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:g,label:l,type:i,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())k=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,Up({},d,{key:l,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var B=b({inputValue:f});if(null===B)return null;k=r.createElement(l,d,B)}else{var L=E({inputValue:f});if(null===L)return null;k=r.createElement(c,d,L)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:w,menuPosition:C,menuShouldScrollIntoView:A},O=r.createElement(dv,Up({},d,R),function(t){var n=t.ref,i=t.placerProps,s=i.placement,l=i.maxHeight;return r.createElement(o,Up({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(by,{captureEnabled:h,onTopArrive:T,onBottomArrive:S,lockEnabled:N},function(t){return r.createElement(a,Up({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),k)}))});return I||"fixed"===C?r.createElement(s,Up({},d,{appendTo:I,controlElement:this.controlRef,menuPlacement:w,menuPosition:C}),O):O}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!i)return r.createElement(yy,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(Zv,Up({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(i,Up({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,Up({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,Up({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,Up({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=zb(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Sy(Ty(e,t))}(e,h):[],b=d?ky(Ty(e,h),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:h,focusedOption:y,focusedOptionId:By(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=o,C=a&&s;return a&&!C&&(w={value:iv(m,h,h[0]||null),options:h,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(w=null),uf(uf(uf({},f),x),{},{prevProps:e,ariaSelection:w,prevWasFocused:C})}}]),t}();Fy.defaultProps=Ay;var jy=o(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,h=e.value,g=hf(e,ff),b=mf(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=mf(c(void 0!==l?l:i),2),w=x[0],C=x[1],I=mf(c(void 0!==h?h:a),2),N=I[0],A=I[1],E=f(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),T=f(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)},[d]),S=f(function(){"function"==typeof m&&m(),C(!0)},[m]),k=f(function(){"function"==typeof p&&p(),C(!1)},[p]),P=void 0!==s?s:v,B=void 0!==l?l:w,L=void 0!==h?h:N;return uf(uf({},g),{},{inputValue:P,menuIsOpen:B,onChange:E,onInputChange:T,onMenuClose:k,onMenuOpen:S,value:L})}(e);return r.createElement(Fy,Up({ref:t},n))}),Hy=jy;const Wy={sm:"h-12 px-3 rounded-lg",md:"h-14 px-3 rounded-xl",lg:"h-16 px-3 rounded-2xl"},Xy=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:s,required:c,onChange:u,filterOptions:d,hasError:p,error:m,menuClassName:h,helperText:f,label:g,labelClassName:b,singleValueClassName:v,size:y="md",variant:x="default","data-cy":w,"data-testid":C,...I})=>{const N=l(()=>ry(d),[d]),A=l(()=>({control:({isFocused:e})=>{var t;return _e(null!==(t=Wy[y])&&void 0!==t?t:Wy.md,"border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},i)},indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>_e(a?"text-text text-body1 whitespace-normal":"text-text-secondary",v),menu:()=>_e("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:r})=>{var i;return _e("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,h,n,p,y,v]);return"unstyled"===x?e(Hy,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:N,className:_e("rounded-xl",r),classNames:A,"data-cy":w,"data-testid":C,...I}):t("div",{className:"w-full",children:[g&&e("label",{className:_e("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(Hy,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:N,className:_e("rounded-xl",r),classNames:A,"data-cy":w,"data-testid":C,...I}),m&&e(yr,{className:"footnote mt-1 text-text-critical",children:m}),!m&&f&&e(yr,{className:"footnote mt-1 text-text-info",children:f})]})});function zy({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:l,categoryOptions:c}){const u=k(),d=P(),p=B(),m=s(!0);return a(()=>{m.current?m.current=!1:window.scrollTo({top:0,behavior:"smooth"})},[i]),t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(yr,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(yr,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(yr,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(yr,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(Xy,{options:c,value:l,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;!function(e,t){const n=new URLSearchParams(p.toString());t?n.set(e,t):n.delete(e),n.delete("page"),u.push(`${d}?${n.toString()}`,{scroll:!1})}("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Kd,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(yr,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(of,{currentPage:i,totalPages:o,getPageHref:function(e){const t=new URLSearchParams(p.toString());1===e?t.delete("page"):t.set("page",e.toString());const n=t.toString();return n?`${d}?${n}`:d},onPageChange:function(e){},ariaLabel:"Blog article pagination"})]})}function _y({title:n="recent articles",description:r,paginatedArticles:i,totalArticles:o,currentPage:a,totalPages:s,selectedCategory:l,categoryOptions:c,onCategoryChange:u,onPageChange:d,getPageHref:p,asList:m=!1,imageComponent:h}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[r&&e(yr,{as:"p",className:"body1 mb-4 w-full text-center md:mb-6",children:r}),e(yr,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:n}),c.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(yr,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(yr,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(yr,{as:"span",className:"md:hidden",children:["showing"," "]}),i.length," of ",o," articles"]})]}),e(Xy,{options:c,value:l,onChange:function(e){if(!e||Array.isArray(e))return;null==u||u(e)},className:"w-full md:w-[280px]"})]})]}),i.length>0?e("div",{className:m?"mx-auto flex max-w-[1200px] flex-col gap-1 px-5 pb-16":"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:i.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Kd,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:h,asGrid:!m,index:n},t.slug)})}):e(yr,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),s>1&&e(of,{currentPage:a,totalPages:s,getPageHref:p,onPageChange:function(e){null==d||d(e)},ariaLabel:"Blog article pagination"})]})}Xy.displayName="Select";const Zy=n=>{const{links:r=[],textColor:i="dark",mobileTextColor:o,desktopTextColor:a,maxWidth:s=!0,float:l="desktop"}=n,c=`${"dark"===(null!=o?o:"desktop"===l?"dark":i)?"text-text":"text-white"} ${"dark"===(null!=a?a:"mobile"===l?"dark":i)?"xl:text-text":"xl:text-white"}`,u="always"===l?"absolute":"mobile"===l?"absolute xl:relative":"desktop"===l?"relative xl:absolute":"relative";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===l&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`${"always"===l&&"px-7 md:px-14"} right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 pb-0 pt-8 ${u} xl:mx-auto xl:flex-wrap xl:px-3`,children:r.map((n,i)=>{const{image:o,...a}=n,s=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"",l=i===r.length-1;return t("li",l?{className:"flex min-w-0 items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(yr,{as:"span",className:`body3 mr-2 break-words ${c}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(Ir,{href:a.href,className:`label3 mr-2 whitespace-nowrap ${c} hover:underline`,children:a.buttonLabel}),e(vr,{name:"chevron_right",className:`${c} `})]},i)})})}):null},Yy=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:p,color:m,onSubmit:h}=n,[f,g]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==m?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(yr,{as:a?"h1":"h2",className:_e("heading2 md:heading1"),children:i}),o&&e(yr,{as:"div",className:_e("subheading2 mt-2 md:subheading1"),children:o})]}),s?e(yr,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==h||h({searchText:f})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(Bi,{type:"submit",className:"ml-2 inline-flex",children:e(vr,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(kp,{value:f,onChange:e=>g(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},Uy={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"white",text:"text"},navy:{bg:"bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-fill-success",text:"text-inverse"}},Jy=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=Uy[null==i?void 0:i.toLowerCase()]||Uy.yellow;if(!s)return null;const u=(null==o?void 0:o.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return t("div",{style:{top:`${a}px`},className:_e(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(yr,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:r}),d?e("div",{children:d}):null]})},$y="America/New_York";function Ky(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function Qy(e,t,n){const r=Date.UTC(e,t-1,n);return r-function(e){const t=new Intl.DateTimeFormat("en-US",{timeZone:$y,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).formatToParts(new Date(e)),n={};for(const e of t)n[e.type]=e.value;const r="24"===n.hour?"00":n.hour;return Date.UTC(Number(n.year),Number(n.month)-1,Number(n.day),Number(r),Number(n.minute),Number(n.second))-e}(r)}function qy(e){if(!e)return;const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e.trim());if(!t){const t=Date.parse(e);return Number.isFinite(t)?t+864e5:void 0}const n=new Date(Date.UTC(Number(t[1]),Number(t[2])-1,Number(t[3])));return n.setUTCDate(n.getUTCDate()+1),Qy(n.getUTCFullYear(),n.getUTCMonth()+1,n.getUTCDate())}function ex(e){return new Intl.DateTimeFormat("en-US",{timeZone:$y,weekday:"long"}).format(new Date(e)).toUpperCase()}function tx(e,t){const n=function(e){if(!e)return;const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e.trim());if(!t){const t=Date.parse(e);return Number.isFinite(t)?t:void 0}return Qy(Number(t[1]),Number(t[2]),Number(t[3]))}(e.scheduledStart),r=qy(e.scheduleEnd),i=void 0===n||t>=n,o=void 0===r||t<r,a=Ky(e.countdownEndDateTime);return i&&o&&(void 0===a||t<a)&&function(e,t){if(!e||0===e.length)return!0;const n=e.map(e=>e.trim().toUpperCase());if(n.includes("ALL"))return!0;const r=ex(t);return n.includes(r)||n.includes(r.slice(0,3))}(e.daysToShow,t)}function nx(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}const rx=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:u,ctaButtonLink:d,ctaButtonTarget:p,anchorId:m="anchored-banner",enableCountdownTimer:h,countdownStartDateTime:g,countdownEndDateTime:b,scheduledMessages:v,onResolved:y})=>{const x=r?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-supporting",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[r]:"bg-bg-fill-brand-accent",w="yellow"===r||"white"===r||!r?"text-text-primary":"text-white",[C,I]=c(()=>Date.now()),A=s(null),[E,T]=c(!1);a(()=>T(!0),[]);const S=l(()=>E?null==v?void 0:v.find(e=>tx(e,C)):void 0,[v,C,E]),k=void 0!==S,P=ex(C);a(()=>{E&&(null==y||y({hasActiveMessage:k,activeMessage:S,applicableWeekday:P}))},[E,k,S,P,y]);const B=l(()=>{if(!(null==v?void 0:v.length))return;const e=v.map(e=>qy(e.scheduleEnd)).filter(e=>void 0!==e);return e.length?Math.max(...e):void 0},[v]),L=k?null==S?void 0:S.countdownStartDateTime:g,R=k?null==S?void 0:S.countdownEndDateTime:b,O=l(()=>Ky(R),[R]),G=l(()=>Ky(L),[L]),D=l(()=>!(!k&&!h)&&(void 0!==O&&((!L||void 0!==G)&&(!(void 0!==G&&G>=O)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:L,countdownEndDateTime:R}),!1)))),[k,h,O,G,L,R]),M=f(()=>{null!==A.current&&(window.clearInterval(A.current),A.current=null)},[]);a(()=>{if(D&&void 0!==O&&C<O||void 0!==B&&C<B)return A.current=window.setInterval(()=>{I(Date.now())},1e3),M;M()},[D,O,B,C,M]);const V=l(()=>{if(!D||void 0===O)return{shouldShow:!1,text:""};if(void 0!==G&&C<G||C>=O)return{shouldShow:!1,text:""};const e=(O-C)/1e3;return{shouldShow:e>0,text:nx(e)}},[D,O,G,C]),F=k?null==S?void 0:S.iconName:i,j=k?null==S?void 0:S.ctaButtonLabel:u,H=k?null==S?void 0:S.ctaSuffixText:n,W=k?null==S?void 0:S.ctaButtonLink:d,X=k?null==S?void 0:S.ctaButtonTarget:p;return e("section",{id:m,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${x} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(N,{href:W||"#",target:X||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${w} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[F&&e(vr,{name:F,size:24,fill:1,className:`${w} align-text-bottom`}),E&&V.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:V.text}),E&&V.shouldShow?" ":null,j&&j," ",H&&e("span",{className:"ml-0.5",children:H})]})})})})})};function ix({content:n}){let r=3;const[i,o]=c(!1),[l,u]=c(!1),d=s(null);a(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=It.get(e);return t?wt(t):null}("cookieBannerClosed");o("true"!==e)},[]),a(()=>{(()=>{const e=document.getElementById("anchored-banner");u(!!e)})()},[]),a(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),a(()=>{if(!i)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,l]);l&&(r=14);return i?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(Ud,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=xt(r);It.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e(vr,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const ox=({fill:n="#FFFEEF"})=>{const r=`logo-cream-clip-${i.useId()}`;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",fill:"none",viewBox:"0 0 100 99",preserveAspectRatio:"xMidYMid meet",children:[t("g",{fill:n,clipPath:`url(#${r})`,children:[e("path",{d:"M23.877 73.439c2.829 9.044 7.288 13.706 25.03 18.07 16.735 4.111 43.31 12.356 48.798 3.65 3.454-5.095 1.534-12.395.415-18.244-.875-3.853-1.756-7.3-2.534-11.074-.255-1.237-2.034-1.22-2.278.022-1.284 6.552-3.528 11.26-8.55 14.482-8.572 6.125-28.7 2.295-39.453-2.272-11.487-4.656-14.696-13.509-15.486-23.126-.296-5.157.437-10.123 1.818-14.392.409-1.254-1.273-2.097-2.045-1.023-6.113 8.464-8.073 23.88-5.71 33.913",opacity:".45"}),e("path",{d:"M74.18 75.362c9.135-2.8 13.845-7.215 18.253-24.779 4.153-16.569 12.481-42.878 3.687-48.31-5.147-3.42-12.52-1.52-18.429-.411-3.89.866-7.373 1.738-11.185 2.508-1.25.253-1.233 2.014.023 2.255 6.618 1.271 11.373 3.493 14.628 8.465 6.186 8.486 2.318 28.412-2.295 39.059-4.704 11.371-13.646 14.549-23.36 15.33-5.21.293-10.226-.432-14.537-1.799-1.267-.405-2.12 1.26-1.034 2.025 8.55 6.051 24.12 7.992 34.255 5.652",opacity:".45"}),e("path",{d:"M76.124 25.562c-2.83-9.044-7.289-13.706-25.03-18.07C34.358 3.38 7.783-4.865 2.3 3.842-1.153 8.937.767 16.237 1.886 22.086c.875 3.852 1.756 7.3 2.534 11.074.256 1.237 2.034 1.22 2.278-.023 1.284-6.552 3.528-11.26 8.55-14.482 8.572-6.124 28.7-2.294 39.453 2.272 11.487 4.657 14.696 13.51 15.486 23.126.296 5.158-.437 10.124-1.818 14.392-.409 1.255 1.273 2.098 2.045 1.024 6.113-8.464 8.073-23.88 5.71-33.913",opacity:".45"}),e("path",{d:"M25.82 23.638c-9.135 2.8-13.845 7.216-18.253 24.78-4.153 16.568-12.48 42.877-3.687 48.31 5.147 3.42 12.52 1.519 18.429.41 3.891-.865 7.374-1.737 11.186-2.508 1.25-.253 1.232-2.013-.023-2.255-6.619-1.27-11.373-3.492-14.629-8.464-6.186-8.487-2.317-28.413 2.296-39.059 4.703-11.372 13.645-14.55 23.36-15.331 5.209-.293 10.225.433 14.537 1.8 1.266.404 2.118-1.26 1.033-2.025-8.55-6.052-24.12-7.992-34.255-5.652",opacity:".45"})]}),e("defs",{children:e("clipPath",{id:r,children:e("path",{fill:"#fff",d:"M0 0h100v99H0z"})})})]})},ax=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaButtonText:l,ctaText:u,caption:d,backgroundColor:p="white",successFeedback:m,onSubmit:h,themeColor:f,showPinWheel:g=!0,padding:b="large",requiredErrorMessage:v="Email is required",validationErrorMessage:y="Invalid email address"}=n||{},x=l||u||"Sign me up",w={green:"bg-bg-fill-brand",white:"bg-bg",gray90:"bg-[var(--color-text-secondary)]"},C={green:"bg-bg-fill-brand",blue:"bg-bg-fill-brand-supporting",orange:"bg-orange-500",purple:"bg-bg-fill-brand-tertiary",white:"bg-bg"},I=(p||"").trim().toLowerCase()||"white",N=w[I]||w.white,A="white"===I?"text-text":"text-white",E=(f||"").trim().toLowerCase()||"green",T=C[E]||C.green,S=["green","blue","purple"].includes(E),k=S?"text-white":"text-text",P=S?"text-text-inverse":"text-text",B="white"===E?"#E0E0E0":"#FFFEEF",L="none"===b?"!py-0 md:!py-0":"!py-8 md:!py-20",[R,O]=c(""),[G,D]=c(!1),[M,V]=c(""),F=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e);return t("section",{id:r,className:`w-full px-4 ${L} md:px-0 ${N}`,children:[t("div",{className:`mx-auto max-w-[1200px] overflow-hidden !rounded-[20px] md:rounded-[20px] flex flex-col items-start !px-5 !pt-6 !pb-10 md:!p-10 md:!pt-12 !h-[344px] md:!w-auto md:!h-[367px] relative ${T}`,children:[g&&e("div",{className:"absolute right-[-50px] top-[-30px] hidden h-[420px] w-[420px] pointer-events-none lg:block","aria-hidden":"true",children:e(ox,{fill:B})}),t("div",{className:"w-full",children:[t("div",{className:"lg:w-[548px]",children:[i&&e("h2",{className:`mb-3 text-[2.25rem] leading-[2.5rem] font-black md:text-heading1 md:font-black ${k}`,children:i}),o&&e("h3",{className:`mb-3 text-heading1 font-black ${k}`,children:o}),a&&e("p",{className:`!mb-4 md:!mb-16 text-xl leading-7 font-medium md:text-subheading1 md:!leading-8 md:!font-bold opacity-95 ${k}`,children:a})]}),t("div",{className:"relative max-w-[548px] flex w-full flex-col items-center sm:flex-row sm:overflow-hidden sm:rounded-3xl sm:border-2 sm:!border-gray-600 sm:bg-white sm:p-1.5 sm:shadow-xl sm:transition-all md:!h-[75px] md:p-2",children:[e("div",{className:"w-full !rounded-lg border border-transparent bg-white p-1.5 shadow-md sm:border-0 sm:p-0 sm:rounded-none sm:shadow-none",children:e("input",{type:"email",placeholder:s,value:R,onChange:e=>{const t=e.target.value;O(t),G&&D(!1),t.trim()?F(t)?V(""):V(y):V(v)},className:"w-full flex-grow bg-transparent !pl-4 pr-6 py-3 text-[1rem] leading-none md:text-base font-normal text-text outline-none placeholder:input-text-placeholder md:py-4"})}),e(Ud,{buttonLabel:x,buttonVariant:"primary_inverse",buttonClassName:"capitalize-first whitespace-nowrap rounded-2xl px-8 !text-lg mt-3 w-full sm:mt-0 sm:w-auto sm:absolute sm:right-[8px] sm:top-[calc(50%-28px)]",onClick:()=>{R.trim()?F(R)?(h({email:R}),O(""),D(!0),V("")):V(y):V(v)}})]}),M&&e("p",{className:`mt-2 text-label4 font-semibold ${P}`,children:M}),m&&G&&!M&&e("p",{className:`mt-2 text-label4 font-semibold ${k}`,children:m})]})]}),d&&e("div",{className:`mx-auto max-w-[1200px] px-6 md:px-8 ${A}`,children:d})]})},sx={white:"bg-white",navy:"bg-[#00002D] text-white",green:"bg-[#26B170] text-white",blue:"bg-[#07B2E2] text-white",purple:"bg-[#931D69] text-white",yellow:"bg-[#F5FF1E]",cream500:"bg-[#FFFEEF]",gray100:"bg-bg-fill-secondary",transparent:""},lx=["blue","green","yellow","purple","white","navy"],cx=({fields:r,isInPopupContainer:i=!1,onClose:o,onContinueCheckout:s,checkShouldShowBanner:l,onBannerShown:u})=>{var d;const{anchorId:p,mainHeading:m,description:h,cta:f,image:g,imageAltText:b,imagePosition:v="center",backgroundColor:y,imageAccentColor:x,showImageAsIcon:w=!1,Logo:C}=r,I=Boolean(g)&&"center"!==v,N="right"===v,A=y&&null!==(d=sx[y])&&void 0!==d?d:"",E=(e=>!!e&&lx.includes(e))(x),[T,S]=c(!1);a(()=>{const e=()=>{(null==l?void 0:l())&&!T&&(S(!0),null==u||u())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const k=()=>{null==s||s()},P=()=>C?e("div",{className:"cart-retention-banner-logo relative mx-auto mb-4 h-12 w-40",children:e(hi,{src:C,alt:null!=m?m:"",fill:!0,sizes:"160px",className:"object-contain"})}):null,B=()=>g?e("div",w?{className:"cart-retention-banner-image relative mx-auto mb-4 h-[87px] w-[93px] overflow-hidden md:h-[193px] md:w-[207px]",children:e(hi,{src:g,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 768px) 207px, 93px",className:"object-contain"})}:I?{className:"cart-retention-banner-image relative md:h-full",children:e("div",{className:"relative h-[258px] w-full overflow-hidden rounded-[20px] md:h-[400px]",children:e(hi,{src:g,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 768px) 314px, 100vw",className:"object-cover object-top"})})}:{className:"cart-retention-banner-image relative mb-4 aspect-[2/1] w-full overflow-hidden rounded-[20px]",children:e(hi,{src:g,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 640px) 400px, 90vw",className:"object-cover"})}):null,L=()=>{var r,i;return t(n,{children:[e(yr,{className:_e("heading2",I?"text-center md:text-left":"text-center"),children:m||"Welcome back. Let's finish your order"}),h&&Ei(St(null==h?void 0:h.json),!1,_e("body2",I?"text-center md:text-left":"text-center")),e("div",{className:_e("flex w-full pt-5 md:px-4",I?"justify-center md:justify-start":"justify-center"),children:e(Ud,{onClick:k,buttonLabel:null!==(r=null==f?void 0:f.buttonLabel)&&void 0!==r?r:"Continue checkout",disableAnimation:null===(i=null==f?void 0:f.disableAnimation)||void 0===i||i,animationType:null==f?void 0:f.animationType,fullWidth:!0})})]})},R=t(n,I?{children:[P(),t("div",{className:_e("flex flex-col md:grid md:gap-6",N?"md:grid-cols-[1fr_314px]":"md:grid-cols-[314px_1fr]"),children:[e("div",{className:_e("order-1",N&&"md:order-2","md:max-w-[314px]",w&&"flex items-center justify-center"),children:B()}),e("div",{className:_e("order-2 flex flex-col justify-center gap-8 pt-5 md:gap-10 md:pt-0",N?"md:order-1":""),children:L()})]})]}:{children:[P(),B(),L()]}),O=e(qh,{path:"path5",fill:x,background:"transparent",className:_e("rounded-3xl px-6 pb-8 md:p-6",w&&"md:!py-[95px]",C?"pt-6":"pt-13"),show:E,children:R});return i?e("div",{className:_e("pop-up-body w-full",I?"overflow-hidden":"mb-5 mt-10",A),"data-section-type":"cart-retention-banner","data-section-index":"0",children:O}):e("section",{id:p,"data-testid":"cart-retention-banner",children:e(Qh,{size:"sm",isOpen:T,onRequestClose:()=>{null==o||o(),S(!1)},bodyClassName:_e(I?_e("overflow-hidden md:!max-w-[828px]",!E&&"p-0"):"flex items-center justify-center","min-[370px] p-[0px]",A),type:"cart-retention-banner",children:I?O:e("div",{className:"pop-up-body mb-5 w-full [overflow-x:clip] px-3 md:px-6",children:O})})})},ux={gray90:"#464646",green:"#24A76A",white:"#FFFFFF"},dx=({iframeUrl:t,anchorId:n,backgroundColor:r,height:i})=>{const o=s(null);return a(()=>{if(!t)return;const e=e=>{var t;const n=null===(t=e.data)||void 0===t?void 0:t.iframeHeight;"number"==typeof n&&Number.isFinite(n)&&n>0&&n<=1e4&&o.current&&(o.current.style.height=`${n}px`)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[t]),t?e("section",{id:n,className:"w-full",children:e("iframe",{ref:o,src:t,width:"100%",frameBorder:"0",scrolling:"no",style:{background:r?ux[r]:"transparent",...i?{height:`${i}px`}:{}},title:"Iframe Embed",loading:"lazy"})}):null},px={IP_PHONE_NUMBER:"ip_or_phone",TARGET_EMAIL:"target_email",REQUIRED_FIELDS_MISSING:"Required fields missing",PROVIDE_AT_LEAST_ONE:"Please provide at least one",ONE_REQUIRED_FIELD:"At least One Required"},mx="* Please fill all required fields and checkboxes",hx={phone:/^(?:\d{10}|\(\d{3}\)\s\d{3}-\d{4}|\d{3}-\d{3}-\d{4}|\+1\s\d{3}-\d{3}-\d{4})$/,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^(?:(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,7}:|(?:[0-9A-Fa-f]{1,4}:){1,6}:[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,5}(?::[0-9A-Fa-f]{1,4}){1,2}|(?:[0-9A-Fa-f]{1,4}:){1,4}(?::[0-9A-Fa-f]{1,4}){1,3}|(?:[0-9A-Fa-f]{1,4}:){1,3}(?::[0-9A-Fa-f]{1,4}){1,4}|(?:[0-9A-Fa-f]{1,4}:){1,2}(?::[0-9A-Fa-f]{1,4}){1,5}|[0-9A-Fa-f]{1,4}:(?:(?::[0-9A-Fa-f]{1,4}){1,6})|:(?:(?::[0-9A-Fa-f]{1,4}){1,7}|:))$/,email:/^[a-zA-Z0-9._%+-]+@((?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{1,}|(?:\d{1,3}\.){3}\d{1,3})$/},fx=d(void 0),gx=({state:n,checked:r=!1,onChange:i,className:o,label:a,labelClassName:s,containerClassName:l,name:c,value:u,id:d,disabled:p=!1,required:m=!1,error:h=!1,"data-cy":g,renderInfoIcon:b,...v})=>{var y,x;const w=p||"disabled"===n,C=d||c,I=_e("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",o),N=f(e=>{w||i&&(1===i.length?i(e.target.checked):i())},[w,i]);return t("div",{className:_e("flex items-center gap-3",l),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:C,name:c,value:u,checked:r,onChange:N,disabled:w,required:m,className:"peer sr-only","data-cy":g,...v}),e("label",{htmlFor:C,className:_e("peer-focus:outline",I),style:{pointerEvents:w?"none":"auto"},children:t("svg",r?{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{width:"24",height:"24",rx:"4",className:_e(w?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:_e(w?"fill-checkbox-bg-surface-disabled":"fill-white")}),e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e("label",{htmlFor:C,className:_e("cursor-pointer",h&&"text-text-critical",s),children:a}),b&&e(Bi,{type:"button",onClick:b.onClick,"data-testid":b.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:null!==(y=b.iconSize)&&void 0!==y?y:24,height:null!==(x=b.iconSize)&&void 0!==x?x:24,viewBox:"0 0 24 24",fill:"none",children:[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};gx.displayName="Checkbox";const bx=n=>{const{name:r,value:i,label:o,subText:a,checked:s,onChange:l,className:c,variant:u="circle",hasError:d=!1,labelProps:p={},"data-cy":m,labelClassName:h="",disabled:f,...g}=n,b=()=>null==l?void 0:l(i||r);return t("label",{htmlFor:r,className:_e("flex items-center",c),"data-cy":m,...p,children:[e("input",{className:"hidden",type:"radio",name:r,value:i,checked:s,readOnly:!0,disabled:f,...g}),e(Bi,{type:"button",onClick:b,disabled:f,className:_e("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",s&&"border-[1px] border-solid border-border-brand",f&&"opacity-50"),children:s&&e("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),t(Bi,{type:"button",onClick:b,disabled:f,tabIndex:o?0:-1,children:[e("div",{className:_e("text-body2 font-normal",h),children:o}),e("div",{className:"text-body1 text-text-info",children:a})]})]})};bx.displayName="RadioButton";const vx=e=>{const t=(e||"").replace(/\D/g,"");return t.length<=3?t:t.length<=6?`${t.slice(0,3)}-${t.slice(3)}`:t.length<=9?`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6)}`:`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6,10)}`},yx=(n,r,i="footnote")=>t(yr,{as:"div",className:_e(i,"validation-label mb-1"),children:[n,r?e("span",{className:"text-text-critical",children:"*"}):null]}),xx=r=>{const{requiredField:i,handleInputChange:o,fieldId:a,displayName:s,hasError:l}=r,[u,d]=c(!1);return e(gx,{name:a,id:a,checked:u,error:l,onChange:()=>{d(e=>(o(!e),!e))},labelClassName:"footnote text-text-secondary",label:t(n,{children:[s,i?e("span",{className:"text-text-critical",children:"*"}):null]})})},wx={Checkbox:t=>{const{formData:n,handleInputChange:r,fieldId:i,dataSource:o,isConsentCheckbox:a,hasError:s}=t;if(a)return e(xx,{...t});const l=null==n?void 0:n[i],c="string"==typeof l&&l.length>0?l.split(","):[];return e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:(o||[]).map((t,n)=>e("div",{className:"w-full lg:w-[384px]",children:e(gx,{name:i,id:`${i}-${n}`,label:t.label,value:t.value,checked:c.includes(t.value),onChange:()=>(e=>{let t;t=c.includes(e)?c.filter(t=>t!==e):[...c,e],r(t.join(","))})(t.value),error:s,labelClassName:"footnote"})},`${i}-${n}`))})},Imageupload:n=>{const{handleInputChange:r,loading:i}=n,[o,l]=c([]),[u,d]=c([]),[p,h]=c(!1),[f,g]=c(null),b=s(null),v=m(fx);a(()=>{const e=o.map(e=>e.type.startsWith("image/")?URL.createObjectURL(e):"");return d(e),()=>{e.forEach(e=>{e&&URL.revokeObjectURL(e)})}},[o]);const y=e=>{const t=[];if(e&&e.length){if(Array.from(e).forEach(e=>{e.type.startsWith("image/")&&t.push(e)}),0===t.length)return void g("Only image files are allowed.");if(o.length+t.length>5)return void g("You can only upload a maximum of 5 files.");const n=[...o,...t];if(!((e,t)=>{const n=e.reduce((e,t)=>e+t.size,0);return{total:n,ok:n<=t}})(n,20971520).ok)return void g("Total file size should not be more than 20 MB.");null==v||v.setFiles(n),l(n),r(n),g(null)}};return e("div",{children:t("div",{onDragOver:e=>{e.preventDefault(),e.stopPropagation(),h(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),h(!1)},onDrop:e=>{e.preventDefault(),e.stopPropagation(),h(!1),e.dataTransfer.files&&e.dataTransfer.files.length>0&&(y(e.dataTransfer.files),e.dataTransfer.clearData())},className:_e("relative flex flex-col items-center justify-center rounded-xl border border-input-border bg-white px-4 py-10 text-center transition",p?"border-input-border-selected bg-bg-surface-active":"hover:border-input-border-hover"),children:[e("p",{className:"mb-3 text-sm text-text-secondary",children:"Drop files here or"}),t("button",{type:"button",onClick:()=>{var e;return null===(e=b.current)||void 0===e?void 0:e.click()},className:"inline-flex items-center gap-2 rounded-md bg-white px-4 py-2 text-sm font-medium text-text shadow-sm ring-1 ring-inset ring-input-border hover:bg-bg-surface-hover",children:[e(vr,{name:"upload",weight:"700",size:24}),"Choose files"]}),e("input",{ref:b,type:"file",accept:"image/*",multiple:!0,name:"files",onChange:e=>{e.target.files&&e.target.files.length>0&&(y(e.target.files),e.target.value="")},className:"pointer-events-none absolute inset-0 h-0 w-0 opacity-0","aria-hidden":!0,tabIndex:-1}),f&&e("p",{className:"mt-2 text-sm text-text-critical",children:f}),o.length>0&&e("div",{className:"mt-8",children:e("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4",children:o.map((n,a)=>t("li",{className:"group relative rounded-xl border border-input-border p-2",children:[n.type.startsWith("image/")&&u[a]?e("img",{src:u[a],alt:n.name,className:"h-28 w-full rounded object-cover"}):e("div",{className:"h-28 w-full rounded bg-bg-surface-active"}),t("div",{className:"mt-2 flex items-center justify-between",children:[e("span",{className:"max-w-[50%] truncate text-sm text-text",title:n.name,children:n.name}),e("button",i?{type:"button",disabled:!0,className:"cursor-default text-sm text-text-secondary",children:"Remove"}:{type:"button",onClick:()=>(e=>{const t=[...o];t.splice(e,1),l(t),null==v||v.setFiles(t),r(t)})(a),className:"text-sm text-text-critical hover:underline",children:"Remove"})]})]},a))})})]})})},Datepicker:t=>{var n;const{displayName:r,handleInputChange:i,errorClass:o,formData:a,fieldId:s}=t;return e("div",{className:"w-full",children:e("input",{type:"datetime-local","aria-label":r,value:null!==(n=null==a?void 0:a[s])&&void 0!==n?n:"",onChange:e=>i(e.target.value),className:_e("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",o)})})},Dropdown:t=>{var n;const{formData:r,handleInputChange:i,fieldId:o,dataSource:s,existingDataSource:l,errorClass:u}=t,[d,p]=c(null!=s?s:[]),h=m(fx),f=null==h?void 0:h.resolveExistingDataSource;a(()=>{(async()=>{var e;if((null==s||s.length<=0)&&l){if("City List"===l)return;if(!f)return;try{const e=await f(l,{selectedState:null==h?void 0:h.selectedState});p(e||[])}catch(t){null===(e=null==h?void 0:h.onError)||void 0===e||e.call(h,{type:"resolve_data_source",error:t,metadata:{existingDataSource:l}})}}})()},[s,l]),a(()=>{if("City List"===l&&(i(null),p([]),(null==h?void 0:h.selectedState)&&f)){const e=async()=>{var e;try{const e=await f("City List",{selectedState:null==h?void 0:h.selectedState});p(e||[])}catch(t){null===(e=null==h?void 0:h.onError)||void 0===e||e.call(h,{type:"resolve_data_source",error:t,metadata:{existingDataSource:"City List"}})}};e()}},[null==h?void 0:h.selectedState,l]);const g=(null==r?void 0:r[o])?d.find(e=>e.value===(null==r?void 0:r[o])):null;return e(Xy,{className:_e("body3",u),controlClassName:"px-4 [&>div]:p-0",options:d,value:null!=g?g:void 0,onChange:i,"aria-label":null!==(n=t.displayName)&&void 0!==n?n:"Select"})},Radio:t=>{const{requiredField:n,formData:r,handleInputChange:i,fieldId:o,hasError:a,dataSource:s}=t;return e("div",{className:"mt-6 flex flex-col gap-8 sm:flex-row",children:(s||[]).map((t,s)=>e("div",{className:"w-full lg:w-[384px]",children:e(bx,{name:o,label:t.label,value:t.value,checked:(null==r?void 0:r[o])===t.value,hasError:a,onChange:i,required:n,labelClassName:"footnote text-left"})},s))})},Text:t=>{var n,r;const{displayName:i,formData:o,textInputType:a,handleInputChange:s,fieldId:l,errorClass:c,enableAddressAutocomplete:u}=t,d=m(fx),p=null==d?void 0:d.renderAddressAutocomplete;return!!u&&!!p&&"phone"!==a&&"email"!==a&&"multiline"!==a&&p?e(p,{...t}):e("div","phone"===a?{className:"w-full",children:e(kp,{"aria-label":i,name:l,type:"tel",value:o[l]?vx(o[l]):"",onChange:s,className:_e("w-full",c),maxLength:14})}:"multiline"===a?{className:"w-full",children:e("textarea",{"aria-label":i,name:l,value:null!==(n=null==o?void 0:o[l])&&void 0!==n?n:"",onChange:s,rows:4,className:_e("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",c)})}:{className:"w-full",children:e(kp,{"aria-label":i,name:l,value:null!==(r=null==o?void 0:o[l])&&void 0!==r?r:"",onChange:s,className:_e("w-full",c)})})}},Cx=n=>{const r=m(fx),{formData:i,setFormData:o,submitErrorFields:a,fieldId:s,displayName:l,requiredField:u,formFieldsToShow:d=[],dataSource:p,note:h,grouped:f=!1,renderConditionalFields:g}=n,[b,v]=c(!1),[y,x]=c({fieldId:"",errorMessage:""}),w=f&&(s===px.TARGET_EMAIL||s===px.IP_PHONE_NUMBER),C=wx.Radio;if(!C)return null;const I=a.includes(s);let N="";I&&(N="Datepicker"===s||"Dropdown"===s?"border border-border-critical border-solid rounded-xl":"border border-border-critical");return t("div",{className:_e("w-full",w&&"bg-bg-surface-secondary px-5 pt-1",w&&s===px.IP_PHONE_NUMBER&&"rounded-t-xl border-x border-b border-border-secondary",w&&s===px.TARGET_EMAIL&&"rounded-b-xl border-x border-t border-border-secondary pb-5"),children:[t("div",{className:"mb-4",children:[yx(l,u),e(C,{displayName:l,requiredField:u,formData:i,fieldId:s,handleInputChange:e=>{x({fieldId:"",errorMessage:""}),null==r||r.setHasError(!1),v("yes"===(null==e?void 0:e.toLowerCase())),o(t=>({...t,[s]:e}))},error:y,hasError:I,dataSource:p,errorClass:N}),y.fieldId===s&&y.errorMessage&&e(yr,{as:"div",className:"footnote mt-1 text-text-critical",children:y.errorMessage}),h&&e(yr,{as:"div",className:"footnote mt-1",children:h})]}),e("div",{className:"transition duration-300 ease-in-out "+(b?"translate-y-0 opacity-100":"translate-y-4 opacity-0"),children:b&&g(!1,d,i,o,a)})]})},Ix=n=>{var r;const i=m(fx),{loading:o,formData:a,setFormData:s,submitErrorFields:l,isGrouped:u=!1,fieldId:d,fieldType:p,fieldClassName:h,displayName:f,requiredField:g,textInputType:b,errorMessage:v,dataSource:y,existingDataSource:x,note:w,noteClassName:C,validationNote:I,validationGroupId:N,validationType:A,applyRegularExpression:E,regexPattern:T,enableAddressAutocomplete:S}=n,[k,P]=c({fieldId:"",errorMessage:""}),B=(p?null===(r=null==i?void 0:i.fieldComponentOverrides)||void 0===r?void 0:r[p]:void 0)||(p?wx[p]:void 0);if(!B)return null;const L=N&&A&&!u,R="Checkbox"===p&&!y&&!x,O=l.includes(d);let G="";O&&(G="Datepicker"===d||"Dropdown"===d?"border border-border-critical border-solid rounded-xl":"border border-border-critical");const D=(e,t)=>{P({fieldId:e,errorMessage:t})},M=(e,t)=>{s(n=>({...n,[e]:t}))};return t("div",{className:_e(L?"groupingField rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1":"",(null==h?void 0:h.split("|")[1])||"w-full"),children:[L&&!u?yx(I||px.PROVIDE_AT_LEAST_ONE,!0,"body2"):null,!R&&yx(f,g),e("div",{className:"Checkbox"===p||"Radio"===p?R?"":"mt-6":"",children:e(B,{loading:o,displayName:f,requiredField:g,formData:a,fieldId:d,textInputType:b,handleInputChange:e=>{var t;if(null==i||i.clearFieldError(d),P({fieldId:"",errorMessage:""}),null==i||i.setHasError(!1),"Checkbox"===p||"Radio"===p)M(d,e);else if("Dropdown"===p)M(d,null==e?void 0:e.value),"State List"===x&&(null==i||i.setSelectedState(e));else if("Datepicker"===p)e?M(d,e):(D(d,v||""),null==i||i.setHasError(!0),null==i||i.setFieldError(d,v||""));else{if("Imageupload"===p){const t=Array.isArray(e)?e:[];return null==i||i.setFiles(t),void M("files",t)}{const{name:n,value:r}=e.target;if(!r)return void M(n,r);if("phone"===b){const t=vx(r).replace(/\D/g,"");return M(n,t),e.target.value=t,void(10!==t.length&&(D(d,v||""),null==i||i.setHasError(!0),null==i||i.setFieldError(d,v||"")))}if("email"!==b||(e=>{const[,t]=e.split("@");return!(!t||t.includes(".."))&&hx.email.test(e)})(r)||(D(d,v||""),null==i||i.setHasError(!0),null==i||i.setFieldError(d,v||"")),E&&T)try{new RegExp(T).test(r)||""===r||(D(d,v||""),null==i||i.setHasError(!0),null==i||i.setFieldError(d,v||""))}catch(e){null===(t=null==i?void 0:i.onError)||void 0===t||t.call(i,{type:"invalid_regex_pattern",error:e,metadata:{fieldId:d,regexPattern:T}})}M(n,r)}}},dataSource:y,error:k,errorClass:G,hasError:O,existingDataSource:x,isConsentCheckbox:R,enableAddressAutocomplete:S,"data-testid":"form-component"})}),k.fieldId===d&&k.errorMessage&&e(yr,{as:"div",className:"footnote text-text-critical",children:k.errorMessage}),w&&e(yr,{as:"div",className:_e("footnote",C),children:w})]})},Nx=e=>"formField"===e.itemType,Ax=e=>"conditional"===e.itemType,Ex=(e,t=!1,n={})=>{const r=((e,t)=>{const n=e.filter(Ax).flatMap(e=>{const n=t[e.fieldId];return"string"==typeof n&&"yes"===n.toLowerCase()?e.formFieldsToShow:[]});return[...e,...n]})(e,n);return r.filter(Nx).map(e=>{if(t)return{[e.fieldId]:e.sftpFieldId};const{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:a}=e;return{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:a}})},Tx=(e,t)=>{const n={};return e.forEach(e=>{const{fieldId:r,formSection:i}=e;i&&"string"==typeof i&&(n[i]||(n[i]=[]),r in t&&n[i].push({[r]:t[r]}))}),n},Sx=e=>{var t,n,r,i,o;const a=e instanceof Error?e.message:String(e),s=a.replace(/Bearer\s+\S+/gi,"Bearer [REDACTED]").replace(/["']?Authorization["']?\s*[:=]\s*(?:"[^"]*"|'[^']*'|\S+)/gi,"Authorization: [REDACTED]").replace(/(api(?:[_-]|\s)?key|apikey|access(?:[_-]|\s)?token|token|secret|password|key)(\s*["']?\s*[:=]\s*)(?:"[^"]*"|'[^']*'|[^\s&"']+)/gi,"$1$2[REDACTED]");const l=null==e?void 0:e.cause;return{errorMessage:s,errorStatus:null!==(o=null!==(r=null!==(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status)&&void 0!==n?n:null==e?void 0:e.status)&&void 0!==r?r:null===(i=null==l?void 0:l.response)||void 0===i?void 0:i.status)&&void 0!==o?o:void 0,errorCode:[e,l].map(e=>null==e?void 0:e.code).find(e=>"string"==typeof e)}},kx=e=>{const{errorMessage:t,errorStatus:n,errorCode:r}=Sx(e);return{name:e instanceof Error?e.name:"Error",message:t,...void 0!==n?{status:n}:{},...void 0!==r?{code:r}:{}}},Px=(t,n,r,o,a,s,l=!1)=>{if("formField"===t.itemType)return e(Ix,{loading:r,...t,formData:o,setFormData:a,submitErrorFields:s,isGrouped:l},n);if("conditional"===t.itemType)return e(Cx,{...t,formData:o,setFormData:a,submitErrorFields:s,renderConditionalFields:Bx},n);if("divider"===t.itemType){const r=Math.max(t.dividerThickness||1,1),i=!1===t.dividerLength?"w-1/2":"w-full";return e("div",{className:"flex w-full justify-center",children:e(Oi,{role:"separator","aria-label":"Content divider",className:i,style:{height:`${r}px`}})},n)}return e(i.Fragment,{children:t.content},n)},Bx=(n,r,i,o,a)=>(e=>{const t=[];let n=0;for(;n<e.length;){const r=e[n];if(!Nx(r)){t.push({type:"single",fields:[r]}),n++;continue}const i=r.validationGroupId;if(i){const o=[];let a=n;for(;a<e.length;){const t=e[a];if(!Nx(t)||t.validationGroupId!==i)break;o.push(t),a++}const s={type:"validationGroup",validationGroupId:i,validationNote:r.validationNote,validationType:r.validationType,subGroups:[]};let l=0;for(;l<o.length;){const e=o[l];if(!1===e.fieldWidth){const t=o[l+1];t&&!1===t.fieldWidth?(s.subGroups.push({type:"double",fields:[e,t]}),l+=2):(s.subGroups.push({type:"single",fields:[e]}),l++)}else s.subGroups.push({type:"single",fields:[e]}),l++}t.push(s),n=a}else if(!1===r.fieldWidth){const i=e[n+1];i&&Nx(i)&&!1===i.fieldWidth&&!i.validationGroupId?(t.push({type:"double",fields:[r,i]}),n+=2):(t.push({type:"single",fields:[r]}),n++)}else t.push({type:"single",fields:[r]}),n++}return t})(r).map((r,s)=>{var l,c;if("validationGroup"===r.type)return t("div",{className:"mb-0 w-full rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1",children:[r.validationNote&&t(yr,{as:"div",className:"validation-label body3 mb-3 mt-4 sm:mt-5",children:[r.validationNote,r.validationType===px.ONE_REQUIRED_FIELD?e("span",{className:"text-text-critical",children:"*"}):null]}),r.subGroups.map((r,s)=>"single"===r.type?e("div",{className:"mb-0 w-full",children:Px(r.fields[0],`subgroup-field-${s}`,n,i,o,a,!0)},`subgroup-${s}`):t("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e("div",{className:"w-full lg:flex-1",children:Px(r.fields[0],`subgroup-field-${s}-0`,n,i,o,a,!0)}),e("div",{className:"w-full lg:flex-1",children:Px(r.fields[1],`subgroup-field-${s}-1`,n,i,o,a,!0)})]},`subgroup-${s}`))]},`validation-group-${s}`);if("single"===r.type){const t=r.fields[0],u="formField"===t.itemType?`${null!==(c=null===(l=t.fieldClassName)||void 0===l?void 0:l.split("|")[0])&&void 0!==c?c:""} mb-0 w-full`:"w-full";return e("div",{className:u,children:Px(t,`group-field-${s}`,n,i,o,a)},`group-${s}`)}return t("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e("div",{className:"w-full lg:flex-1",children:Px(r.fields[0],`group-field-${s}-0`,n,i,o,a)}),e("div",{className:"w-full lg:flex-1",children:Px(r.fields[1],`group-field-${s}-1`,n,i,o,a)})]},`group-${s}`)}),Lx=n=>{const{color:r="#fff",size:i="medium"}=n;return t("div",{role:"status",className:"relative flex flex-row items-center",children:[t("svg",{"aria-hidden":"true",className:_e("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[i],n.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:r,children:[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e("span",{className:"sr-only",children:"Loading..."})]})};Lx.displayName="Spinner";class Rx extends Error{constructor(e,t){super(e),this.name="FormValidationError",this.invalidFields=t}}class Ox extends Error{constructor(e,t,n){super(e),this.name="FormSubmissionError",this.errorActions=t,this.isCompleteFailure=n}}const Gx=e=>String(e).padStart(2,"0"),Dx=e=>{const t=Gx(e.getMonth()+1),n=Gx(e.getDate()),r=e.getFullYear();let i=e.getHours();const o=i>=12?"PM":"AM";return i=i%12||12,`${t}/${n}/${r} ${i}:${Gx(e.getMinutes())} ${o}`},Mx=n=>{const{anchorId:r,title:i,subTitle:o,formHeading:u,description:d,disclaimer:p,successMessage:m,errorMessage:h,formClassName:g,fields:b,formSubmitOptions:v=[],submitLabel:y="Submit",ctaClassName:x,validationErrorText:w=mx,formName:C,emailSubject:I,emailTemplateName:N,toEmail:A,testEmail:E,isProduction:T,segmentEventId:S,onEmailSubmit:k,onSmtpSubmit:P,onSmsSubmit:B,actionHandlers:L,buildPayload:R,onSubmitSuccess:O,onTrack:G,onError:D,fieldComponentOverrides:M,resolveExistingDataSource:V,renderAddressAutocomplete:F,renderSubmitButton:j}=n,H=s("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),W=s(null),[X,z]=c({}),[_,Z]=c(!1),[Y,U]=c(!1),[J,$]=c(!1),[K,Q]=c(!1),[q,ee]=c([]),[te,ne]=c(""),[re,ie]=c(null),[oe,ae]=c({}),[se,le]=c([]),ce=f(e=>{le(e)},[]),ue=f((e,t)=>{ae(n=>({...n,[e]:t}))},[]),de=f(e=>{ae(t=>{const n={...t};return delete n[e],n})},[]),pe=l(()=>b.reduce((e,t)=>{if("formField"!==t.itemType)return e;const n=t.validationGroupId;return null!=n&&null!=n&&(e[n]||(e[n]=[]),e[n].push(t)),e},{}),[b]);a(()=>{if(Y&&"undefined"!=typeof window&&W.current){const e=140,t=W.current.offsetTop-e;window.scrollTo({top:t,behavior:"smooth"})}},[Y]);const me=l(()=>({fieldErrors:oe,setFieldError:ue,clearFieldError:de,hasError:J,setHasError:$,selectedState:re,setSelectedState:ie,files:se,setFiles:ce,resolveExistingDataSource:V,fieldComponentOverrides:M,renderAddressAutocomplete:F,onError:D}),[oe,ue,de,J,re,se,ce,V,M,F,D]),he=()=>{const e={...X};return b.forEach(t=>{"formField"===t.itemType&&t.applyPresetValidations&&"TN-IP-Validation"===t.selectPresetValidationsToApply&&(e[t.fieldId]=(e=>{const t=null==e?void 0:e.trim();if(!t)return e;if(hx.phone.test(t)){let e=t.replace(/\D/g,"");return 11===e.length&&e.startsWith("1")&&(e=e.slice(1)),e}return hx.ipv4.test(t)||hx.ipv6.test(t)?t:e})(e[t.fieldId]))}),z(e),e},fe=l(()=>({email:k,sftp:P,sms:B,...L||{}}),[k,P,B,L]),ge=async e=>{e.preventDefault(),Z(!0),ne("");const t=he();try{const e=Ex(b,!1,t),r=((e,t={})=>Ex(e,!0,t).reduce((e,t)=>({...e,...t}),{}))(b,t),i=(n=t,e.filter(e=>{if(!e.requiredField)return!1;const t=n[e.fieldId];return"Checkbox"!==e.fieldType||e.dataSource?""===t||null==t:!0!==t}).map(e=>e.fieldId));if(ee(i),Object.keys(pe).forEach(e=>{const n=pe[e],r=n.map(e=>e.fieldId);if(n.filter(e=>e.validationType===px.ONE_REQUIRED_FIELD&&(""===t[e.fieldId]||void 0===t[e.fieldId])).length===n.length&&n.length>0)throw ee(e=>[...e,...r]),new Rx(px.REQUIRED_FIELDS_MISSING,r)}),0!==i.length||0!==Object.keys(oe).length)throw new Rx(px.REQUIRED_FIELDS_MISSING,i);const o=((e,t)=>{const n=Object.fromEntries(Object.entries(t).filter(([,e])=>""!==e&&void 0!==e)),r=Ex(e,!1,n);return r.every(e=>{const t=e.formSection;return"string"==typeof t&&""!==t})&&r.length>0?{...Tx(r,n)}:{form1:{...n}}})(b,t),a={submissionId:H.current,formName:C,toEmail:A,subject:I,emailTemplate:N,submittedOn:Dx(new Date),formSubmitOptions:v,formData:o,files:se},s=R?R(a,t):a;null==G||G(S,s);let l=s.formSubmitOptions||[];if(!1===T&&l.includes("email")){const e=(E||"").split(",").map(e=>e.trim()).filter(Boolean).join(",");e?s.toEmail=e:l=l.filter(e=>"email"!==e)}const c=l,u=c.includes("post"),d=c.filter(e=>"post"!==e),p=await(async(e,t,n)=>{const r=[],i=JSON.stringify({...t.formData});let o;if(t.files&&t.files.length>0){const e=new FormData;Object.keys(t).forEach(n=>{"files"!==n&&"formData"!==n&&e.append(n,t[n])}),e.append("formData",i),t.files.forEach(t=>e.append("files",t)),o=e}else o={...t,formData:i};const a=((e,t)=>t?e:e.filter(e=>"email"!==e))(e,t.emailTemplate);return await Promise.all(a.map(async e=>{const i=fe[e],a=o instanceof FormData?{headers:{"Content-Type":void 0}}:{};if(i)try{await i(o,{...n,action:e,options:a}),null==G||G(`${S}_${e}_success`,{...t,eventSuccess:!0})}catch(n){r.push(e);const{errorMessage:i,errorStatus:o,errorCode:a}=Sx(n);null==G||G(`${S}_${e}_failure`,{...t,eventSuccess:!1,errorMessage:i,errorStatus:o,errorCode:a}),null==D||D({type:"action_failure",error:kx(n),metadata:{action:e,submissionId:H.current}})}else{r.push(e);const n=new Error(`Action "${e}" is not supported`),{errorMessage:i,errorStatus:o,errorCode:a}=Sx(n);null==G||G(`${S}_${e}_failure`,{...t,eventSuccess:!1,errorMessage:i,errorStatus:o,errorCode:a}),null==D||D({type:"unsupported_action",error:n,metadata:{action:e}})}})),{error:r.length>0,errorActions:r}})(d,s,{payload:s,formValues:t,sftpMap:r,formSubmitOptions:c,files:se});if(p.error&&d.length===p.errorActions.length)throw new Ox("All form actions failed",p.errorActions,!0);if(p.error)throw new Ox("Some form actions failed",p.errorActions,!1);if(Z(!1),U(!0),u){const e=fe.post;e&&await e({...s},{payload:s,formValues:t,sftpMap:r,formSubmitOptions:c,files:se,action:"post",options:{}})}((e,t)=>e.some(e=>{if(!Nx(e))return!1;const n=e.dataSource;if(!Array.isArray(n))return!1;const r=t[e.fieldId],i=n.find(e=>e.value===r);return!0===(null==i?void 0:i.popup)}))(b,t)?null==O||O(t,{shouldShowPopup:!0}):null==O||O(t,{shouldShowPopup:!1})}catch(e){let t="unknown";e instanceof Rx?(t="validation",ne(w)):e instanceof Ox?(t=e.isCompleteFailure?"complete_submission_failure":"partial_submission_failure",e.isCompleteFailure?(U(!1),Q(!0)):(U(!0),Q(!1))):(t="unexpected",ne("An error occurred while submitting the form. Please try again later."),Q(!0),U(!1)),null==D||D({type:t,error:kx(e),metadata:{formName:C,submissionId:H.current,formSubmitOptions:v,segmentEventId:S}}),Z(!1)}finally{Z(!1)}var n};return Y?e("div",{ref:W,className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:m})}):K?e("div",{className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:h})}):e("section",{id:r,"aria-labelledby":`${r}-title`,children:e("div",{className:"mx-auto min-h-screen max-w-[800px] px-5 py-8 md:px-5 md:py-20",children:t("div",{className:"pb-8 sm:pb-6 lg:pb-4",children:[t("div",{className:"mb-8 lg:mb-16",children:[i&&e(yr,{as:"h2",className:"heading2 text-center",children:i}),o&&e(yr,{as:"h3",className:"subheading3 mt-3 text-center",children:o})]}),d?e("div",{className:"text-center",children:d}):null,u?e("div",{className:"mb-6 w-full px-2 sm:px-4",children:e(yr,{as:"div",className:"body3 mb-2 text-center text-xl sm:mb-4 md:text-left",children:u})}):null,e("div",{className:"mt-8 md:mt-16",children:e(fx.Provider,{value:me,children:t("form",{onSubmit:ge,className:_e("flex w-full flex-col gap-5 md:gap-8",g),children:[Bx(_,b,X,z,q),te&&e(yr,{as:"div",className:"footnote text-text-critical",children:te}),e("div",{className:"flex justify-center",children:j?j({isLoading:_,disabled:J||_,submitLabel:y,onSubmit:ge}):t(Bi,{type:"submit",disabled:J||_,"aria-label":"Submit Form",className:_e("button-submit mt-3 inline-flex h-[64px] w-full items-center justify-center gap-2 whitespace-nowrap rounded-full bg-bg-fill-brand px-[60px] text-base font-semibold text-text-brand-on-bg-fill transition hover:bg-bg-fill-brand-hover disabled:bg-bg-fill-brand-disabled md:mt-8 md:w-auto",x),children:[_&&e(Lx,{}),y]})})]})})}),p&&e(yr,{as:"div",className:"footnote m-2",children:p})]})})})};export{Gi as Accordion,Jy as AddressInputBanner,rx as AnchoredBottomBanner,Fi as AwardMarquee,Kd as BlogCard,zy as BlogGrid,_y as BlogGridBase,Zy as BreadcrumbNavigation,Ud as Button,up as Callout,dp as Cards,wp as Carousel,cx as CartRetentionBanner,nf as ComparisonTable,ix as CookieBanner,ef as CtaCallout,Mx as DynamicForm,Wp as DynamicTabs,ax as EmailInputBlock,tf as FindKinetic,Cp as FloatingBanner,Ip as Footer,dx as IframeEmbed,Np as ImagePromoBar,Qh as Modal,Pp as Navigation,Xp as OrderedList,Op as PrimaryHero,hp as ProductCard,Yy as SearchBlock,qh as ShapeBackgroundWrapper,op as SimpleCard,fp as TestimonialCard,zp as Text,px as dynamicFormConstants,hx as dynamicFormRegex,ki as label1BoldOptions,Ei as renderContentfulRichText,Si as renderContentfulRichTextTable,St as toDocument,Ti as useContentfulRichText,Pi as useProcessedChecklist};
25
+ */function Mg(){return Rg||(Rg=1,"production"===process.env.NODE_ENV?Pg.exports=function(){if(Eg)return Bg;Eg=1;var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case l:case c:case r:case o:case i:case d:return e;default:switch(e=e&&e.$$typeof){case s:case u:case h:case m:case a:return e;default:return p}}case n:return p}}}function x(e){return y(e)===c}return Bg.AsyncMode=l,Bg.ConcurrentMode=c,Bg.ContextConsumer=s,Bg.ContextProvider=a,Bg.Element=t,Bg.ForwardRef=u,Bg.Fragment=r,Bg.Lazy=h,Bg.Memo=m,Bg.Portal=n,Bg.Profiler=o,Bg.StrictMode=i,Bg.Suspense=d,Bg.isAsyncMode=function(e){return x(e)||y(e)===l},Bg.isConcurrentMode=x,Bg.isContextConsumer=function(e){return y(e)===s},Bg.isContextProvider=function(e){return y(e)===a},Bg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Bg.isForwardRef=function(e){return y(e)===u},Bg.isFragment=function(e){return y(e)===r},Bg.isLazy=function(e){return y(e)===h},Bg.isMemo=function(e){return y(e)===m},Bg.isPortal=function(e){return y(e)===n},Bg.isProfiler=function(e){return y(e)===o},Bg.isStrictMode=function(e){return y(e)===i},Bg.isSuspense=function(e){return y(e)===d},Bg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Bg.typeOf=y,Bg}():Pg.exports=(Lg||(Lg=1,"production"!==process.env.NODE_ENV&&function(){var e="function"==typeof Symbol&&Symbol.for,t=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,r=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,s=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,u=e?Symbol.for("react.forward_ref"):60112,d=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,m=e?Symbol.for("react.memo"):60115,h=e?Symbol.for("react.lazy"):60116,f=e?Symbol.for("react.block"):60121,g=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,v=e?Symbol.for("react.scope"):60119;function y(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:var f=e.type;switch(f){case l:case c:case r:case o:case i:case d:return f;default:var g=f&&f.$$typeof;switch(g){case s:case u:case h:case m:case a:return g;default:return p}}case n:return p}}}var x=l,w=c,C=s,I=a,N=t,A=u,E=r,T=h,S=m,k=n,P=o,B=i,L=d,R=!1;function O(e){return y(e)===c}Dg.AsyncMode=x,Dg.ConcurrentMode=w,Dg.ContextConsumer=C,Dg.ContextProvider=I,Dg.Element=N,Dg.ForwardRef=A,Dg.Fragment=E,Dg.Lazy=T,Dg.Memo=S,Dg.Portal=k,Dg.Profiler=P,Dg.StrictMode=B,Dg.Suspense=L,Dg.isAsyncMode=function(e){return R||(R=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),O(e)||y(e)===l},Dg.isConcurrentMode=O,Dg.isContextConsumer=function(e){return y(e)===s},Dg.isContextProvider=function(e){return y(e)===a},Dg.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},Dg.isForwardRef=function(e){return y(e)===u},Dg.isFragment=function(e){return y(e)===r},Dg.isLazy=function(e){return y(e)===h},Dg.isMemo=function(e){return y(e)===m},Dg.isPortal=function(e){return y(e)===n},Dg.isProfiler=function(e){return y(e)===o},Dg.isStrictMode=function(e){return y(e)===i},Dg.isSuspense=function(e){return y(e)===d},Dg.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===r||e===c||e===o||e===i||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===a||e.$$typeof===s||e.$$typeof===u||e.$$typeof===g||e.$$typeof===b||e.$$typeof===v||e.$$typeof===f)},Dg.typeOf=y}()),Dg)),Pg.exports}!function(){if(Gg)return Og;Gg=1;var e=Mg(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};function o(n){return e.isMemo(n)?r:i[n.$$typeof]||t}i[e.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i[e.Memo]=r;var a=Object.defineProperty,s=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,u=Object.getPrototypeOf,d=Object.prototype;Og=function e(t,r,i){if("string"!=typeof r){if(d){var p=u(r);p&&p!==d&&e(t,p,i)}var m=s(r);l&&(m=m.concat(l(r)));for(var h=o(t),f=o(r),g=0;g<m.length;++g){var b=m[g];if(!(n[b]||i&&i[b]||f&&f[b]||h&&h[b])){var v=c(r,b);try{a(t,b,v)}catch(e){}}}}return t}}();var Vg="undefined"!=typeof document;var Fg=function(e,t,n){var r=e.key+"-"+t.name;(!1===n||!1===Vg&&void 0!==e.compat)&&void 0===e.registered[r]&&(e.registered[r]=t.styles)};var jg={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Hg(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Wg=/[A-Z]|^ms/g,Xg=/_EMO_([^_]+?)_([^]*?)_EMO_/g,zg=function(e){return 45===e.charCodeAt(1)},_g=function(e){return null!=e&&"boolean"!=typeof e},Zg=Hg(function(e){return zg(e)?e:e.replace(Wg,"-$&").toLowerCase()}),Yg=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Xg,function(e,t,n){return Jg={name:t,styles:n,next:Jg},t})}return 1===jg[e]||zg(e)||"number"!=typeof t||0===t?t:t+"px"};function Ug(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return Jg={name:i.name,styles:i.styles,next:Jg},i.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)Jg={name:a.name,styles:a.styles,next:Jg},a=a.next;return o.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ug(e,t,n[i])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;_g(s)&&(r+=Zg(o)+":"+Yg(o,s)+";")}else if(Array.isArray(a)&&"string"==typeof a[0]&&null==t)for(var l=0;l<a.length;l++)_g(a[l])&&(r+=Zg(o)+":"+Yg(o,a[l])+";");else{var c=Ug(e,t,a);switch(o){case"animation":case"animationName":r+=Zg(o)+":"+c+";";break;default:r+=o+"{"+c+"}"}}}return r}(e,t,n);case"function":if(void 0!==e){var s=Jg,l=n(e);return Jg=s,Ug(e,t,l)}}return n}var Jg,$g=/label:\s*([^\s;{]+)\s*(;|$)/g;function Kg(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";Jg=void 0;var o=e[0];null==o||void 0===o.raw?(r=!1,i+=Ug(n,t,o)):i+=o[0];for(var a=1;a<e.length;a++){if(i+=Ug(n,t,e[a]),r)i+=o[a]}$g.lastIndex=0;for(var s,l="";null!==(s=$g.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:Jg}}var Qg="undefined"!=typeof document,qg=function(e){return e()},eb=!!r.useInsertionEffect&&r.useInsertionEffect,tb=Qg&&eb||qg,nb="undefined"!=typeof document,rb=r.createContext("undefined"!=typeof HTMLElement?kg({key:"css"}):null);rb.Provider;var ib=function(e){return o(function(t,n){var r=m(rb);return e(t,r,n)})};nb||(ib=function(e){return function(t){var n=m(rb);return null===n?(n=kg({key:"css"}),r.createElement(rb.Provider,{value:n},e(t,n))):e(t,n)}});var ob,ab,sb=r.createContext({}),lb={}.hasOwnProperty,cb="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ub=function(e){var t=e.cache,n=e.serialized,i=e.isStringTag;Fg(t,n,i);var o=tb(function(){return function(e,t,n){Fg(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i="",o=t;do{var a=e.insert(t===o?"."+r:"",o,e.sheet,!0);Vg||void 0===a||(i+=a),o=o.next}while(void 0!==o);if(!Vg&&0!==i.length)return i}}(t,n,i)});if(!nb&&void 0!==o){for(var a,s=n.name,l=n.next;void 0!==l;)s+=" "+l.name,l=l.next;return r.createElement("style",((a={})["data-emotion"]=t.key+" "+s,a.dangerouslySetInnerHTML={__html:o},a.nonce=t.sheet.nonce,a))}return null},db=ib(function(e,t,n){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var o=e[cb],a=[i],s="";"string"==typeof e.className?s=function(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=Kg(a,void 0,r.useContext(sb));s+=t.key+"-"+l.name;var c={};for(var u in e)lb.call(e,u)&&"css"!==u&&u!==cb&&(c[u]=e[u]);return c.className=s,n&&(c.ref=n),r.createElement(r.Fragment,null,r.createElement(ub,{cache:t,serialized:l,isStringTag:"string"==typeof o}),r.createElement(o,c))}),pb=db,mb=function(e,t){var n=arguments;if(null==t||!lb.call(t,"css"))return r.createElement.apply(void 0,n);var i=n.length,o=new Array(i);o[0]=pb,o[1]=function(e,t){var n={};for(var r in t)lb.call(t,r)&&(n[r]=t[r]);return n[cb]=e,n}(e,t);for(var a=2;a<i;a++)o[a]=n[a];return r.createElement.apply(null,o)};function hb(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Kg(t)}ob=mb||(mb={}),ab||(ab=ob.JSX||(ob.JSX={}));const fb=Math.min,gb=Math.max,bb=Math.round,vb=Math.floor,yb=e=>({x:e,y:e});function xb(){return"undefined"!=typeof window}function wb(e){return Nb(e)?(e.nodeName||"").toLowerCase():"#document"}function Cb(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Ib(e){var t;return null==(t=(Nb(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function Nb(e){return!!xb()&&(e instanceof Node||e instanceof Cb(e).Node)}function Ab(e){return!!xb()&&(e instanceof HTMLElement||e instanceof Cb(e).HTMLElement)}function Eb(e){return!(!xb()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof Cb(e).ShadowRoot)}const Tb=new Set(["inline","contents"]);function Sb(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Pb(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!Tb.has(i)}const kb=new Set(["html","body","#document"]);function Pb(e){return Cb(e).getComputedStyle(e)}function Bb(e){const t=function(e){if("html"===wb(e))return e;const t=e.assignedSlot||e.parentNode||Eb(e)&&e.host||Ib(e);return Eb(t)?t.host:t}(e);return function(e){return kb.has(wb(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ab(t)&&Sb(t)?t:Bb(t)}function Lb(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const i=Bb(e),o=i===(null==(r=e.ownerDocument)?void 0:r.body),a=Cb(i);if(o){const e=Rb(a);return t.concat(a,a.visualViewport||[],Sb(i)?i:[],e&&n?Lb(e):[])}return t.concat(i,Lb(i,[],n))}function Rb(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ob(e){return t=e,xb()&&(t instanceof Element||t instanceof Cb(t).Element)?e:e.contextElement;var t}function Gb(e){const t=Ob(e);if(!Ab(t))return yb(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=function(e){const t=Pb(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=Ab(e),o=i?e.offsetWidth:n,a=i?e.offsetHeight:r,s=bb(n)!==o||bb(r)!==a;return s&&(n=o,r=a),{width:n,height:r,$:s}}(t);let a=(o?bb(n.width):n.width)/r,s=(o?bb(n.height):n.height)/i;return a&&Number.isFinite(a)||(a=1),s&&Number.isFinite(s)||(s=1),{x:a,y:s}}function Db(e,t,n,r){void 0===t&&(t=!1);const i=e.getBoundingClientRect(),o=Ob(e);let a=yb(1);t&&(a=Gb(e));const s=yb(0);let l=(i.left+s.x)/a.x,c=(i.top+s.y)/a.y,u=i.width/a.x,d=i.height/a.y;if(o){const e=r;let t=Cb(o),n=Rb(t);for(;n&&r&&e!==t;){const e=Gb(n),r=n.getBoundingClientRect(),i=Pb(n),o=r.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,a=r.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=o,c+=a,t=Cb(n),n=Rb(t)}}return function(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}({width:u,height:d,x:l,y:c})}function Mb(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Vb(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Ob(e),u=i||o?[...c?Lb(c):[],...Lb(t)]:[];u.forEach(e=>{i&&e.addEventListener("scroll",n,{passive:!0}),o&&e.addEventListener("resize",n)});const d=c&&s?function(e,t){let n,r=null;const i=Ib(e);function o(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),o();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:m}=c;if(s||t(),!p||!m)return;const h={rootMargin:-vb(d)+"px "+-vb(i.clientWidth-(u+p))+"px "+-vb(i.clientHeight-(d+m))+"px "+-vb(u)+"px",threshold:gb(0,fb(1,l))||1};let f=!0;function g(t){const r=t[0].intersectionRatio;if(r!==l){if(!f)return a();r?a(!1,r):n=setTimeout(()=>{a(!1,1e-7)},1e3)}1!==r||Mb(c,e.getBoundingClientRect())||a(),f=!1}try{r=new IntersectionObserver(g,{...h,root:i.ownerDocument})}catch(e){r=new IntersectionObserver(g,h)}r.observe(e)}(!0),o}(c,n):null;let p,m=-1,h=null;a&&(h=new ResizeObserver(e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var e;null==(e=h)||e.observe(t)})),n()}),c&&!l&&h.observe(c),h.observe(t));let f=l?Db(e):null;return l&&function t(){const r=Db(e);f&&!Mb(f,r)&&n();f=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach(e=>{i&&e.removeEventListener("scroll",n),o&&e.removeEventListener("resize",n)}),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}var Fb="undefined"!=typeof document?p:function(){},jb=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Hb=function(){};function Wb(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function Xb(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var o=[].concat(r);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&o.push("".concat(Wb(e,a)));return o.filter(function(e){return e}).map(function(e){return String(e).trim()}).join(" ")}var zb=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===af(e)&&null!==e?[e]:[];var t},_b=function(e){return e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme,uf({},hf(e,jb))},Zb=function(e,t,n){var r=e.cx,i=e.getStyles,o=e.getClassNames,a=e.className;return{css:i(t,e),className:r(null!=n?n:{},o(t,e),a)}};function Yb(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Ub(e){return Yb(e)?window.pageYOffset:e.scrollTop}function Jb(e,t){Yb(e)?window.scrollTo(0,t):e.scrollTop=t}function $b(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Hb,i=Ub(e),o=t-i,a=0;!function t(){var s,l=o*((s=(s=a+=10)/n-1)*s*s+1)+i;Jb(e,l),a<n?window.requestAnimationFrame(t):r(e)}()}function Kb(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=t.offsetHeight/3;r.bottom+i>n.bottom?Jb(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+i,e.scrollHeight)):r.top-i<n.top&&Jb(e,Math.max(t.offsetTop-i,0))}function Qb(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}var qb=!1,ev={get passive(){return qb=!0}},tv="undefined"!=typeof window?window:{};tv.addEventListener&&tv.removeEventListener&&(tv.addEventListener("p",Hb,ev),tv.removeEventListener("p",Hb,!1));var nv=qb;function rv(e){return null!=e}function iv(e,t,n){return e?t:n}var ov=["children","innerProps"],av=["children","innerProps"];function sv(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,i=e.placement,o=e.shouldScroll,a=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var i=e;i=i.parentElement;)if(t=getComputedStyle(i),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return i;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),m=p.bottom,h=p.height,f=p.top,g=n.offsetParent.getBoundingClientRect().top,b=a?window.innerHeight:Yb(u=l)?window.innerHeight:u.clientHeight,v=Ub(l),y=parseInt(getComputedStyle(n).marginBottom,10),x=parseInt(getComputedStyle(n).marginTop,10),w=g-x,C=b-f,I=w+v,N=d-v-f,A=m-b+v+y,E=v+f-x,T=160;switch(i){case"auto":case"bottom":if(C>=h)return{placement:"bottom",maxHeight:t};if(N>=h&&!a)return o&&$b(l,A,T),{placement:"bottom",maxHeight:t};if(!a&&N>=r||a&&C>=r)return o&&$b(l,A,T),{placement:"bottom",maxHeight:a?C-y:N-y};if("auto"===i||a){var S=t,k=a?w:I;return k>=r&&(S=Math.min(k-y-s,t)),{placement:"top",maxHeight:S}}if("bottom"===i)return o&&Jb(l,A),{placement:"bottom",maxHeight:t};break;case"top":if(w>=h)return{placement:"top",maxHeight:t};if(I>=h&&!a)return o&&$b(l,E,T),{placement:"top",maxHeight:t};if(!a&&I>=r||a&&w>=r){var P=t;return(!a&&I>=r||a&&w>=r)&&(P=a?w-x:I-x),o&&$b(l,E,T),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(i,'".'))}return c}var lv,cv=function(e){return"auto"===e?"bottom":e},uv=d(null),dv=function(e){var t=e.children,n=e.minMenuHeight,r=e.maxMenuHeight,i=e.menuPlacement,o=e.menuPosition,a=e.menuShouldScrollIntoView,l=e.theme,u=(m(uv)||{}).setPortalPlacement,d=s(null),p=mf(c(r),2),h=p[0],f=p[1],g=mf(c(null),2),b=g[0],v=g[1],y=l.spacing.controlHeight;return Fb(function(){var e=d.current;if(e){var t="fixed"===o,s=sv({maxHeight:r,menuEl:e,minHeight:n,placement:i,shouldScroll:a&&!t,isFixedPosition:t,controlHeight:y});f(s.maxHeight),v(s.placement),null==u||u(s.placement)}},[r,i,o,a,n,u,y]),t({ref:d,placerProps:uf(uf({},e),{},{placement:b||cv(i),maxHeight:h})})},pv=function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return mb("div",Up({},Zb(e,"menu",{menu:!0}),{ref:n},r),t)},mv=function(e,t){var n=e.theme,r=n.spacing.baseUnit,i=n.colors;return uf({textAlign:"center"},t?{}:{color:i.neutral40,padding:"".concat(2*r,"px ").concat(3*r,"px")})},hv=mv,fv=mv,gv=["size"],bv=["innerProps","isRtl","size"];var vv,yv,xv="production"===process.env.NODE_ENV?{name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"}:{name:"tj5bde-Svg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogb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V4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},wv=function(e){var t=e.size,n=hf(e,gv);return mb("svg",Up({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:xv},n))},Cv=function(e){return mb(wv,Up({size:20},e),mb("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},Iv=function(e){return mb(wv,Up({size:20},e),mb("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},Nv=function(e,t){var n=e.isFocused,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return uf({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*i,":hover":{color:n?o.neutral80:o.neutral40}})},Av=Nv,Ev=Nv,Tv=function(){var e=hb.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}(lv||(vv=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],yv||(yv=vv.slice(0)),lv=Object.freeze(Object.defineProperties(vv,{raw:{value:Object.freeze(yv)}})))),Sv=function(e){var t=e.delay,n=e.offset;return mb("span",{css:hb({animation:"".concat(Tv," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"production"===process.env.NODE_ENV?"":";label:LoadingDot;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsIm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gICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},kv=function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,o=e.innerProps,a=e.menuIsOpen;return mb("div",Up({ref:i},Zb(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":a}),o,{"aria-disabled":n||void 0}),t)},Pv=["data"],Bv=function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,o=e.Heading,a=e.headingProps,s=e.innerProps,l=e.label,c=e.theme,u=e.selectProps;return mb("div",Up({},Zb(e,"group",{group:!0}),s),mb(o,Up({},a,{selectProps:u,theme:c,getStyles:r,getClassNames:i,cx:n}),l),mb("div",null,t))},Lv=["innerRef","isDisabled","isHidden","inputClassName"],Rv={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ov={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":uf({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Rv)},Gv=function(e){return uf({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Rv)},Dv=function(e){var t=e.cx,n=e.value,r=_b(e),i=r.innerRef,o=r.isDisabled,a=r.isHidden,s=r.inputClassName,l=hf(r,Lv);return mb("div",Up({},Zb(e,"input",{"input-container":!0}),{"data-value":n||""}),mb("input",Up({className:t({input:!0},s),ref:i,style:Gv(a),disabled:o},l)))},Mv=function(e){var t=e.children,n=e.innerProps;return mb("div",n,t)};var Vv=function(e){var t=e.children,n=e.components,r=e.data,i=e.innerProps,o=e.isDisabled,a=e.removeProps,s=e.selectProps,l=n.Container,c=n.Label,u=n.Remove;return mb(l,{data:r,innerProps:uf(uf({},Zb(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":o})),i),selectProps:s},mb(c,{data:r,innerProps:uf({},Zb(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},t),mb(u,{data:r,innerProps:uf(uf({},Zb(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},a),selectProps:s}))},Fv={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return mb("div",Up({},Zb(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||mb(Cv,null))},Control:kv,DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return mb("div",Up({},Zb(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||mb(Iv,null))},DownChevron:Iv,CrossIcon:Cv,Group:Bv,GroupHeading:function(e){var t=_b(e);t.data;var n=hf(t,Pv);return mb("div",Up({},Zb(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return mb("div",Up({},Zb(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return mb("span",Up({},t,Zb(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:Dv,LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,r=e.size,i=void 0===r?4:r,o=hf(e,bv);return mb("div",Up({},Zb(uf(uf({},o),{},{innerProps:t,isRtl:n,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),mb(Sv,{delay:0,offset:n}),mb(Sv,{delay:160,offset:!0}),mb(Sv,{delay:320,offset:!n}))},Menu:pv,MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return mb("div",Up({},Zb(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,r=e.controlElement,i=e.innerProps,o=e.menuPlacement,a=e.menuPosition,u=s(null),d=s(null),p=mf(c(cv(o)),2),m=p[0],h=p[1],g=l(function(){return{setPortalPlacement:h}},[]),b=mf(c(null),2),v=b[0],y=b[1],x=f(function(){if(r){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(r),t="fixed"===a?0:window.pageYOffset,n=e[m]+t;n===(null==v?void 0:v.offset)&&e.left===(null==v?void 0:v.rect.left)&&e.width===(null==v?void 0:v.rect.width)||y({offset:n,rect:e})}},[r,a,m,null==v?void 0:v.offset,null==v?void 0:v.rect.left,null==v?void 0:v.rect.width]);Fb(function(){x()},[x]);var w=f(function(){"function"==typeof d.current&&(d.current(),d.current=null),r&&u.current&&(d.current=Vb(r,u.current,x,{elementResize:"ResizeObserver"in window}))},[r,x]);Fb(function(){w()},[w]);var C=f(function(e){u.current=e,w()},[w]);if(!t&&"fixed"!==a||!v)return null;var I=mb("div",Up({ref:C},Zb(uf(uf({},e),{},{offset:v.offset,position:a,rect:v.rect}),"menuPortal",{"menu-portal":!0}),i),n);return mb(uv.Provider,{value:g},t?S(I,t):I)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,r=e.innerProps,i=hf(e,av);return mb("div",Up({},Zb(uf(uf({},i),{},{children:n,innerProps:r}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),r),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,r=e.innerProps,i=hf(e,ov);return mb("div",Up({},Zb(uf(uf({},i),{},{children:n,innerProps:r}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),r),n)},MultiValue:Vv,MultiValueContainer:Mv,MultiValueLabel:Mv,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return mb("div",Up({role:"button"},n),t||mb(Cv,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.innerRef,a=e.innerProps;return mb("div",Up({},Zb(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:o,"aria-disabled":n},a),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return mb("div",Up({},Zb(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return mb("div",Up({},Zb(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return mb("div",Up({},Zb(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return mb("div",Up({},Zb(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},jv=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function Hv(e,t){return e===t||!(!jv(e)||!jv(t))}function Wv(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!Hv(e[n],t[n]))return!1;return!0}for(var Xv="production"===process.env.NODE_ENV?{name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"}:{name:"1f43avz-a11yText-A11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IEpTWCB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},zv=function(e){return mb("span",Up({css:Xv},e))},_v={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,i=e.context,o=e.isInitialFocus;switch(i){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return o?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,i=e.labels,o=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return"option ".concat(r,o?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,i=e.label,o=void 0===i?"":i,a=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&a)return"value ".concat(o," focused, ").concat(u(a,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(o).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},Zv=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,i=e.focusableOptions,o=e.isFocused,a=e.selectValue,s=e.selectProps,c=e.id,u=e.isAppleDevice,d=s.ariaLiveMessages,p=s.getOptionLabel,m=s.inputValue,h=s.isMulti,f=s.isOptionDisabled,g=s.isSearchable,b=s.menuIsOpen,v=s.options,y=s.screenReaderStatus,w=s.tabSelectsValue,C=s.isLoading,I=s["aria-label"],N=s["aria-live"],A=l(function(){return uf(uf({},_v),d||{})},[d]),E=l(function(){var e,n="";if(t&&A.onChange){var r=t.option,i=t.options,o=t.removedValue,s=t.removedValues,l=t.value,c=o||r||(e=l,Array.isArray(e)?null:e),u=c?p(c):"",d=i||s||void 0,m=d?d.map(p):[],h=uf({isDisabled:c&&f(c,a),label:u,labels:m},t);n=A.onChange(h)}return n},[t,A,f,a,p]),T=l(function(){var e="",t=n||r,o=!!(n&&a&&a.includes(n));if(t&&A.onFocus){var s={focused:t,label:p(t),isDisabled:f(t,a),isSelected:o,options:i,context:t===n?"menu":"value",selectValue:a,isAppleDevice:u};e=A.onFocus(s)}return e},[n,r,p,f,A,i,a,u]),S=l(function(){var e="";if(b&&v.length&&!C&&A.onFilter){var t=y({count:i.length});e=A.onFilter({inputValue:m,resultsMessage:t})}return e},[i,m,b,A,v,y,C]),k="initial-input-focus"===(null==t?void 0:t.action),P=l(function(){var e="";if(A.guidance){var t=r?"value":b?"menu":"input";e=A.guidance({"aria-label":I,context:t,isDisabled:n&&f(n,a),isMulti:h,isSearchable:g,tabSelectsValue:w,isInitialFocus:k})}return e},[I,n,r,h,f,g,b,A,a,w,k]),B=mb(x,null,mb("span",{id:"aria-selection"},E),mb("span",{id:"aria-focused"},T),mb("span",{id:"aria-results"},S),mb("span",{id:"aria-guidance"},P));return mb(x,null,mb(zv,{id:c},k&&B),mb(zv,{"aria-live":N,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},o&&!k&&B))},Yv=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],Uv=new RegExp("["+Yv.map(function(e){return e.letters}).join("")+"]","g"),Jv={},$v=0;$v<Yv.length;$v++)for(var Kv=Yv[$v],Qv=0;Qv<Kv.letters.length;Qv++)Jv[Kv.letters[Qv]]=Kv.base;var qv=function(e){return e.replace(Uv,function(e){return Jv[e]})},ey=function(e,t){void 0===t&&(t=Wv);var n=null;function r(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var o=e.apply(this,r);return n={lastResult:o,lastArgs:r,lastThis:this},o}return r.clear=function(){n=null},r}(qv),ty=function(e){return e.replace(/^\s+|\s+$/g,"")},ny=function(e){return"".concat(e.label," ").concat(e.value)},ry=function(e){return function(t,n){if(t.data.__isNew__)return!0;var r=uf({ignoreCase:!0,ignoreAccents:!0,stringify:ny,trim:!0,matchFrom:"any"},e),i=r.ignoreCase,o=r.ignoreAccents,a=r.stringify,s=r.trim,l=r.matchFrom,c=s?ty(n):n,u=s?ty(a(t)):a(t);return i&&(c=c.toLowerCase(),u=u.toLowerCase()),o&&(c=ey(c),u=qv(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1}},iy=["innerRef"];function oy(e){var t=e.innerRef,n=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var i=Object.entries(e).filter(function(e){var t=mf(e,1)[0];return!n.includes(t)});return i.reduce(function(e,t){var n=mf(t,2),r=n[0],i=n[1];return e[r]=i,e},{})}(hf(e,iy),"onExited","in","enter","exit","appear");return mb("input",Up({ref:t},n,{css:hb({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"production"===process.env.NODE_ENV?"":";label:DummyInput;","production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var ay=["boxSizing","height","overflow","paddingRight","position"],sy={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function ly(e){e.cancelable&&e.preventDefault()}function cy(e){e.stopPropagation()}function uy(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function dy(){return"ontouchstart"in window||navigator.maxTouchPoints}var py=!("undefined"==typeof window||!window.document||!window.document.createElement),my=0,hy={capture:!1,passive:!1};var fy=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},gy="production"===process.env.NODE_ENV?{name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"}:{name:"bp8cua-ScrollManager",styles:"position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2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3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}};function by(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,i=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,i=e.onTopArrive,o=e.onTopLeave,l=s(!1),c=s(!1),u=s(0),d=s(null),p=f(function(e,t){if(null!==d.current){var a=d.current,s=a.scrollTop,u=a.scrollHeight,p=a.clientHeight,m=d.current,h=t>0,f=u-p-s,g=!1;f>t&&l.current&&(r&&r(e),l.current=!1),h&&c.current&&(o&&o(e),c.current=!1),h&&t>f?(n&&!l.current&&n(e),m.scrollTop=u,g=!0,l.current=!0):!h&&-t>s&&(i&&!c.current&&i(e),m.scrollTop=0,g=!0,c.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}},[n,r,i,o]),m=f(function(e){p(e,e.deltaY)},[p]),h=f(function(e){u.current=e.changedTouches[0].clientY},[]),g=f(function(e){var t=u.current-e.changedTouches[0].clientY;p(e,t)},[p]),b=f(function(e){if(e){var t=!!nv&&{passive:!1};e.addEventListener("wheel",m,t),e.addEventListener("touchstart",h,t),e.addEventListener("touchmove",g,t)}},[g,h,m]),v=f(function(e){e&&(e.removeEventListener("wheel",m,!1),e.removeEventListener("touchstart",h,!1),e.removeEventListener("touchmove",g,!1))},[g,h,m]);return a(function(){if(t){var e=d.current;return b(e),function(){v(e)}}},[t,b,v]),function(e){d.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),o=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,i=s({}),o=s(null),l=f(function(e){if(py){var t=document.body,n=t&&t.style;if(r&&ay.forEach(function(e){var t=n&&n[e];i.current[e]=t}),r&&my<1){var o=parseInt(i.current.paddingRight,10)||0,a=document.body?document.body.clientWidth:0,s=window.innerWidth-a+o||0;Object.keys(sy).forEach(function(e){var t=sy[e];n&&(n[e]=t)}),n&&(n.paddingRight="".concat(s,"px"))}t&&dy()&&(t.addEventListener("touchmove",ly,hy),e&&(e.addEventListener("touchstart",uy,hy),e.addEventListener("touchmove",cy,hy))),my+=1}},[r]),c=f(function(e){if(py){var t=document.body,n=t&&t.style;my=Math.max(my-1,0),r&&my<1&&ay.forEach(function(e){var t=i.current[e];n&&(n[e]=t)}),t&&dy()&&(t.removeEventListener("touchmove",ly,hy),e&&(e.removeEventListener("touchstart",uy,hy),e.removeEventListener("touchmove",cy,hy)))}},[r]);return a(function(){if(t){var e=o.current;return l(e),function(){c(e)}}},[t,l,c]),function(e){o.current=e}}({isEnabled:n});return mb(x,null,n&&mb("div",{onClick:fy,css:gy}),t(function(e){i(e),o(e)}))}var vy="production"===process.env.NODE_ENV?{name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"}:{name:"5kkxb2-requiredInput-RequiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%;label:RequiredInput;",map:"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlJlcXVpcmVkSW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNJIiwiZmlsZSI6IlJlcXVpcmVkSW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBGb2N1c0V2ZW50SGFuZGxlciwgRnVuY3Rpb25Db21wb25lbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmNvbnN0IFJlcXVpcmVkSW5wdXQ6IEZ1bmN0aW9uQ29tcG9uZW50PHtcbiAgcmVhZG9ubHkgbmFtZT86IHN0cmluZztcbiAgcmVhZG9ubHkgb25Gb2N1czogRm9jdXNFdmVudEhhbmRsZXI8SFRNTElucHV0RWxlbWVudD47XG59PiA9ICh7IG5hbWUsIG9uRm9jdXMgfSkgPT4gKFxuICA8aW5wdXRcbiAgICByZXF1aXJlZFxuICAgIG5hbWU9e25hbWV9XG4gICAgdGFiSW5kZXg9ey0xfVxuICAgIGFyaWEtaGlkZGVuPVwidHJ1ZVwiXG4gICAgb25Gb2N1cz17b25Gb2N1c31cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAncmVxdWlyZWRJbnB1dCcsXG4gICAgICBvcGFjaXR5OiAwLFxuICAgICAgcG9pbnRlckV2ZW50czogJ25vbmUnLFxuICAgICAgcG9zaXRpb246ICdhYnNvbHV0ZScsXG4gICAgICBib3R0b206IDAsXG4gICAgICBsZWZ0OiAwLFxuICAgICAgcmlnaHQ6IDAsXG4gICAgICB3aWR0aDogJzEwMCUnLFxuICAgIH19XG4gICAgLy8gUHJldmVudCBgU3dpdGNoaW5nIGZyb20gdW5jb250cm9sbGVkIHRvIGNvbnRyb2xsZWRgIGVycm9yXG4gICAgdmFsdWU9XCJcIlxuICAgIG9uQ2hhbmdlPXsoKSA9PiB7fX1cbiAgLz5cbik7XG5cbmV4cG9ydCBkZWZhdWx0IFJlcXVpcmVkSW5wdXQ7XG4iXX0= */",toString:function(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}},yy=function(e){var t=e.name,n=e.onFocus;return mb("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:vy,value:"",onChange:function(){}})};function xy(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function wy(){return xy(/^Mac/i)}function Cy(){return xy(/^iPhone/i)||xy(/^iPad/i)||wy()&&navigator.maxTouchPoints>1}var Iy={clearIndicator:Ev,container:function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},control:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.theme,o=i.colors,a=i.borderRadius;return uf({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.spacing.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?o.neutral5:o.neutral0,borderColor:n?o.neutral10:r?o.primary:o.neutral20,borderRadius:a,borderStyle:"solid",borderWidth:1,boxShadow:r?"0 0 0 1px ".concat(o.primary):void 0,"&:hover":{borderColor:r?o.primary:o.neutral30}})},dropdownIndicator:Av,group:function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},groupHeading:function(e,t){var n=e.theme,r=n.colors,i=n.spacing;return uf({label:"group",cursor:"default",display:"block"},t?{}:{color:r.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*i.baseUnit,paddingRight:3*i.baseUnit,textTransform:"uppercase"})},indicatorsContainer:function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},indicatorSeparator:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing.baseUnit,o=r.colors;return uf({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?o.neutral10:o.neutral20,marginBottom:2*i,marginTop:2*i})},input:function(e,t){var n=e.isDisabled,r=e.value,i=e.theme,o=i.spacing,a=i.colors;return uf(uf({visibility:n?"hidden":"visible",transform:r?"translateZ(0)":""},Ov),t?{}:{margin:o.baseUnit/2,paddingBottom:o.baseUnit/2,paddingTop:o.baseUnit/2,color:a.neutral80})},loadingIndicator:function(e,t){var n=e.isFocused,r=e.size,i=e.theme,o=i.colors,a=i.spacing.baseUnit;return uf({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:r,lineHeight:1,marginRight:r,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?o.neutral60:o.neutral20,padding:2*a})},loadingMessage:fv,menu:function(e,t){var n,r=e.placement,i=e.theme,o=i.borderRadius,a=i.spacing,s=i.colors;return uf((lf(n={label:"menu"},function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(r),"100%"),lf(n,"position","absolute"),lf(n,"width","100%"),lf(n,"zIndex",1),n),t?{}:{backgroundColor:s.neutral0,borderRadius:o,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:a.menuGutter,marginTop:a.menuGutter})},menuList:function(e,t){var n=e.maxHeight,r=e.theme.spacing.baseUnit;return uf({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:r,paddingTop:r})},menuPortal:function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},multiValue:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors;return uf({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:o.neutral10,borderRadius:i/2,margin:r.baseUnit/2})},multiValueLabel:function(e,t){var n=e.theme,r=n.borderRadius,i=n.colors,o=e.cropWithEllipsis;return uf({overflow:"hidden",textOverflow:o||void 0===o?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:r/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},multiValueRemove:function(e,t){var n=e.theme,r=n.spacing,i=n.borderRadius,o=n.colors,a=e.isFocused;return uf({alignItems:"center",display:"flex"},t?{}:{borderRadius:i/2,backgroundColor:a?o.dangerLight:void 0,paddingLeft:r.baseUnit,paddingRight:r.baseUnit,":hover":{backgroundColor:o.dangerLight,color:o.danger}})},noOptionsMessage:hv,option:function(e,t){var n=e.isDisabled,r=e.isFocused,i=e.isSelected,o=e.theme,a=o.spacing,s=o.colors;return uf({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:i?s.primary:r?s.primary25:"transparent",color:n?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(2*a.baseUnit,"px ").concat(3*a.baseUnit,"px"),":active":{backgroundColor:n?void 0:i?s.primary:s.primary50}})},placeholder:function(e,t){var n=e.theme,r=n.spacing,i=n.colors;return uf({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:i.neutral50,marginLeft:r.baseUnit/2,marginRight:r.baseUnit/2})},singleValue:function(e,t){var n=e.isDisabled,r=e.theme,i=r.spacing,o=r.colors;return uf({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?o.neutral40:o.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},valueContainer:function(e,t){var n=e.theme.spacing,r=e.isMulti,i=e.hasValue,o=e.selectProps.controlShouldRenderValue;return uf({alignItems:"center",display:r&&i&&o?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})}},Ny={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},Ay={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Qb(),captureMenuScroll:!Qb(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:ry(),formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!function(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Ey(e,t,n,r){return{type:"option",data:t,isDisabled:Oy(e,t,n),isSelected:Gy(e,t,n),label:Ly(e,t),value:Ry(e,t),index:r}}function Ty(e,t){return e.options.map(function(n,r){if("options"in n){var i=n.options.map(function(n,r){return Ey(e,n,t,r)}).filter(function(t){return Py(e,t)});return i.length>0?{type:"group",data:n,options:i,index:r}:void 0}var o=Ey(e,n,t,r);return Py(e,o)?o:void 0}).filter(rv)}function Sy(e){return e.reduce(function(e,t){return"group"===t.type?e.push.apply(e,wf(t.options.map(function(e){return e.data}))):e.push(t.data),e},[])}function ky(e,t){return e.reduce(function(e,n){return"group"===n.type?e.push.apply(e,wf(n.options.map(function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}}))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e},[])}function Py(e,t){var n=e.inputValue,r=void 0===n?"":n,i=t.data,o=t.isSelected,a=t.label,s=t.value;return(!My(e)||!o)&&Dy(e,{label:a,value:s,data:i},r)}var By=function(e,t){var n;return(null===(n=e.find(function(e){return e.data===t}))||void 0===n?void 0:n.id)||null},Ly=function(e,t){return e.getOptionLabel(t)},Ry=function(e,t){return e.getOptionValue(t)};function Oy(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function Gy(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=Ry(e,t);return n.some(function(t){return Ry(e,t)===r})}function Dy(e,t,n){return!e.filterOption||e.filterOption(t,n)}var My=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},Vy=1,Fy=function(){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bf(e,t)}(t,C);var e=function(e){var t=yf();return function(){var n,r=vf(e);if(t){var i=vf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xf(this,n)}}(t);function t(n){var r;if(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(r=e.call(this,n)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,i=n.onChange,o=n.name;t.name=o,r.ariaOnChange(e,t),i(e,t)},r.setValue=function(e,t,n){var i=r.props,o=i.closeMenuOnSelect,a=i.isMulti,s=i.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),o&&(r.setState({inputIsHiddenAfterUpdate:!a}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,i=t.isMulti,o=t.name,a=r.state.selectValue,s=i&&r.isOptionSelected(e,a),l=r.isOptionDisabled(e,a);if(s){var c=r.getOptionValue(e);r.setValue(a.filter(function(e){return r.getOptionValue(e)!==c}),"deselect-option",e)}else{if(l)return void r.ariaOnChange(e,{action:"select-option",option:e,name:o});i?r.setValue([].concat(wf(a),[e]),"select-option",e):r.setValue(e,"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,i=r.getOptionValue(e),o=n.filter(function(e){return r.getOptionValue(e)!==i}),a=iv(t,o,o[0]||null);r.onChange(a,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange(iv(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],i=t.slice(0,t.length-1),o=iv(e,i,i[0]||null);n&&r.onChange(o,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return By(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return ky(Ty(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Xb.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return Ly(r.props,e)},r.getOptionValue=function(e){return Ry(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,i=Iy[e](t,n);i.boxSizing="border-box";var o=r.props.styles[e];return o?o(i,t):i},r.getClassNames=function(e,t){var n,i;return null===(n=(i=r.props.classNames)[e])||void 0===n?void 0:n.call(i,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return e=r.props,uf(uf({},Fv),e.components);var e},r.buildCategorizedOptions=function(){return Ty(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return Sy(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:uf({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,i=t.menuIsOpen;r.focusInput(),i?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout(function(){return r.focusInput()}))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&Yb(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var i=Math.abs(n.clientX-r.initialTouchX),o=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=i>5||o>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return My(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,i=t.backspaceRemovesValue,o=t.escapeClearsValue,a=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,m=r.state,h=m.focusedOption,f=m.focusedValue,g=m.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||a)return;r.focusValue("previous");break;case"ArrowRight":if(!n||a)return;r.focusValue("next");break;case"Delete":case"Backspace":if(a)return;if(f)r.removeValue(f);else{if(!i)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!h||p&&r.isOptionSelected(h,g))return;r.selectOption(h);break;case"Enter":if(229===e.keyCode)break;if(c){if(!h)return;if(r.isComposing)return;r.selectOption(h);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:a}),r.onMenuClose()):s&&o&&r.clearValue();break;case" ":if(a)return;if(!c){r.openMenu("first");break}if(!h)return;r.selectOption(h);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++Vy),r.state.selectValue=zb(n.value),n.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),o=r.buildFocusableOptions(),a=o.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=o[a],r.state.focusedOptionId=By(i,o[a])}return r}return function(e,t,n){t&&gf(e.prototype,t),n&&gf(e,n),Object.defineProperty(e,"prototype",{writable:!1})}(t,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&Kb(this.menuListRef,this.focusedOptionRef),(wy()||Cy())&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,i=this.state.isFocused;(i&&!n&&e.isDisabled||i&&r&&!e.menuIsOpen)&&this.focusInput(),i&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):i||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Kb(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,i=n.isFocused,o=this.buildFocusableOptions(),a="first"===e?0:o.length-1;if(!this.props.isMulti){var s=o.indexOf(r[0]);s>-1&&(a=s)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:o[a],focusedOptionId:this.getFocusedOptionId(o[a])},function(){return t.onMenuOpen()})}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=n.indexOf(r);r||(i=-1);var o=n.length-1,a=-1;if(n.length){switch(e){case"previous":a=0===i?0:-1===i?o:i-1;break;case"next":i>-1&&i<o&&(a=i+1)}this.setState({inputIsHidden:-1!==a,focusedValue:n[a]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var i=0,o=r.indexOf(n);n||(o=-1),"up"===e?i=o>0?o-1:r.length-1:"down"===e?i=(o+1)%r.length:"pageup"===e?(i=o-t)<0&&(i=0):"pagedown"===e?(i=o+t)>r.length-1&&(i=r.length-1):"last"===e&&(i=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[i])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Ny):uf(uf({},Ny),this.props.theme):Ny}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,i=this.getValue,o=this.selectOption,a=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:i,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:o,selectProps:s,setValue:a,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return Oy(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return Gy(this.props,e,t)}},{key:"filterOption",value:function(e,t){return Dy(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,i=e.inputId,o=e.inputValue,a=e.tabIndex,s=e.form,l=e.menuIsOpen,c=e.required,u=this.getComponents().Input,d=this.state,p=d.inputIsHidden,m=d.ariaSelection,h=this.commonProps,f=i||this.getElementId("input"),g=uf(uf(uf({"aria-autocomplete":"list","aria-expanded":l,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":c,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},l&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==m?void 0:m.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?r.createElement(u,Up({},h,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:f,innerRef:this.getInputRef,isDisabled:t,isHidden:p,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:a,form:s,type:"text",value:o},g)):r.createElement(oy,Up({id:f,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Hb,onFocus:this.onInputFocus,disabled:t,tabIndex:a,inputMode:"none",form:s,value:""},g))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,i=t.MultiValueContainer,o=t.MultiValueLabel,a=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,p=u.isDisabled,m=u.isMulti,h=u.inputValue,f=u.placeholder,g=this.state,b=g.selectValue,v=g.focusedValue,y=g.isFocused;if(!this.hasValue()||!d)return h?null:r.createElement(l,Up({},c,{key:"placeholder",isDisabled:p,isFocused:y,innerProps:{id:this.getElementId("placeholder")}}),f);if(m)return b.map(function(t,s){var l=t===v,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return r.createElement(n,Up({},c,{components:{Container:i,Label:o,Remove:a},isFocused:l,isDisabled:p,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))});if(h)return null;var x=b[0];return r.createElement(s,Up({},c,{data:x,isDisabled:p}),this.formatOptionLabel(x,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!this.isClearable()||!e||i||!this.hasValue()||o)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Up({},t,{innerProps:s,isFocused:a}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,i=n.isDisabled,o=n.isLoading,a=this.state.isFocused;if(!e||!o)return null;return r.createElement(e,Up({},t,{innerProps:{"aria-hidden":"true"},isDisabled:i,isFocused:a}))}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var i=this.commonProps,o=this.props.isDisabled,a=this.state.isFocused;return r.createElement(n,Up({},i,{isDisabled:o,isFocused:a}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,i=this.state.isFocused,o={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return r.createElement(e,Up({},t,{innerProps:o,isDisabled:n,isFocused:i}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,i=t.GroupHeading,o=t.Menu,a=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,p=this.state.focusedOption,m=this.props,h=m.captureMenuScroll,f=m.inputValue,g=m.isLoading,b=m.loadingMessage,v=m.minMenuHeight,y=m.maxMenuHeight,x=m.menuIsOpen,w=m.menuPlacement,C=m.menuPosition,I=m.menuPortalTarget,N=m.menuShouldBlockScroll,A=m.menuShouldScrollIntoView,E=m.noOptionsMessage,T=m.onMenuScrollToTop,S=m.onMenuScrollToBottom;if(!x)return null;var k,P=function(t,n){var i=t.type,o=t.data,a=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,m=p===o,h=a?void 0:function(){return e.onOptionHover(o)},f=a?void 0:function(){return e.selectOption(o)},g="".concat(e.getElementId("option"),"-").concat(n),b={id:g,onClick:f,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return r.createElement(u,Up({},d,{innerProps:b,data:o,isDisabled:a,isSelected:s,key:g,label:l,type:i,value:c,isFocused:m,innerRef:m?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())k=this.getCategorizedOptions().map(function(t){if("group"===t.type){var o=t.data,a=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return r.createElement(n,Up({},d,{key:l,data:o,options:a,Heading:i,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map(function(e){return P(e,"".concat(s,"-").concat(e.index))}))}if("option"===t.type)return P(t,"".concat(t.index))});else if(g){var B=b({inputValue:f});if(null===B)return null;k=r.createElement(l,d,B)}else{var L=E({inputValue:f});if(null===L)return null;k=r.createElement(c,d,L)}var R={minMenuHeight:v,maxMenuHeight:y,menuPlacement:w,menuPosition:C,menuShouldScrollIntoView:A},O=r.createElement(dv,Up({},d,R),function(t){var n=t.ref,i=t.placerProps,s=i.placement,l=i.maxHeight;return r.createElement(o,Up({},d,R,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:g,placement:s}),r.createElement(by,{captureEnabled:h,onTopArrive:T,onBottomArrive:S,lockEnabled:N},function(t){return r.createElement(a,Up({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:g,maxHeight:l,focusedOption:p}),k)}))});return I||"fixed"===C?r.createElement(s,Up({},d,{appendTo:I,controlElement:this.controlRef,menuPlacement:w,menuPosition:C}),O):O}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,i=t.isDisabled,o=t.isMulti,a=t.name,s=t.required,l=this.state.selectValue;if(s&&!this.hasValue()&&!i)return r.createElement(yy,{name:a,onFocus:this.onValueInputFocus});if(a&&!i){if(o){if(n){var c=l.map(function(t){return e.getOptionValue(t)}).join(n);return r.createElement("input",{name:a,type:"hidden",value:c})}var u=l.length>0?l.map(function(t,n){return r.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})}):r.createElement("input",{name:a,type:"hidden",value:""});return r.createElement("div",null,u)}var d=l[0]?this.getOptionValue(l[0]):"";return r.createElement("input",{name:a,type:"hidden",value:d})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,i=t.focusedOption,o=t.focusedValue,a=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return r.createElement(Zv,Up({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:i,focusedValue:o,isFocused:a,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,i=e.SelectContainer,o=e.ValueContainer,a=this.props,s=a.className,l=a.id,c=a.isDisabled,u=a.menuIsOpen,d=this.state.isFocused,p=this.commonProps=this.getCommonProps();return r.createElement(i,Up({},p,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),r.createElement(t,Up({},p,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),r.createElement(o,Up({},p,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),r.createElement(n,Up({},p,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,i=t.inputIsHiddenAfterUpdate,o=t.ariaSelection,a=t.isFocused,s=t.prevWasFocused,l=t.instancePrefix,c=e.options,u=e.value,d=e.menuIsOpen,p=e.inputValue,m=e.isMulti,h=zb(u),f={};if(n&&(u!==n.value||c!==n.options||d!==n.menuIsOpen||p!==n.inputValue)){var g=d?function(e,t){return Sy(Ty(e,t))}(e,h):[],b=d?ky(Ty(e,h),"".concat(l,"-option")):[],v=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,h):null,y=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,g);f={selectValue:h,focusedOption:y,focusedOptionId:By(b,y),focusableOptionsWithIds:b,focusedValue:v,clearFocusValueOnUpdate:!1}}var x=null!=i&&e!==n?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},w=o,C=a&&s;return a&&!C&&(w={value:iv(m,h,h[0]||null),options:h,action:"initial-input-focus"},C=!s),"initial-input-focus"===(null==o?void 0:o.action)&&(w=null),uf(uf(uf({},f),x),{},{prevProps:e,ariaSelection:w,prevWasFocused:C})}}]),t}();Fy.defaultProps=Ay;var jy=o(function(e,t){var n=function(e){var t=e.defaultInputValue,n=void 0===t?"":t,r=e.defaultMenuIsOpen,i=void 0!==r&&r,o=e.defaultValue,a=void 0===o?null:o,s=e.inputValue,l=e.menuIsOpen,u=e.onChange,d=e.onInputChange,p=e.onMenuClose,m=e.onMenuOpen,h=e.value,g=hf(e,ff),b=mf(c(void 0!==s?s:n),2),v=b[0],y=b[1],x=mf(c(void 0!==l?l:i),2),w=x[0],C=x[1],I=mf(c(void 0!==h?h:a),2),N=I[0],A=I[1],E=f(function(e,t){"function"==typeof u&&u(e,t),A(e)},[u]),T=f(function(e,t){var n;"function"==typeof d&&(n=d(e,t)),y(void 0!==n?n:e)},[d]),S=f(function(){"function"==typeof m&&m(),C(!0)},[m]),k=f(function(){"function"==typeof p&&p(),C(!1)},[p]),P=void 0!==s?s:v,B=void 0!==l?l:w,L=void 0!==h?h:N;return uf(uf({},g),{},{inputValue:P,menuIsOpen:B,onChange:E,onInputChange:T,onMenuClose:k,onMenuOpen:S,value:L})}(e);return r.createElement(Fy,Up({ref:t},n))}),Hy=jy;const Wy={sm:"h-12 px-3 rounded-lg",md:"h-14 px-3 rounded-xl",lg:"h-16 px-3 rounded-2xl"},Xy=i.memo(({options:n,className:r,controlClassName:i,value:o,isCustomStyle:a=!1,placeholder:s,required:c,onChange:u,filterOptions:d,hasError:p,error:m,menuClassName:h,helperText:f,label:g,labelClassName:b,singleValueClassName:v,size:y="md",variant:x="default","data-cy":w,"data-testid":C,...I})=>{const N=l(()=>ry(d),[d]),A=l(()=>({control:({isFocused:e})=>{var t;return _e(null!==(t=Wy[y])&&void 0!==t?t:Wy.md,"border border-input-border bg-white hover:not-focus:border-input-border-hover",{"border-input-border-selected outline outline-2 outline-input-border-selected":e&&!p,"border-input-border-critical shadow-none":p},i)},indicatorSeparator:()=>"hidden",dropdownIndicator:({selectProps:e})=>a?e.value?"hidden":"block":"block text-icon-default "+(p?"text-icon-critical":""),singleValue:()=>_e(a?"text-text text-body1 whitespace-normal":"text-text-secondary",v),menu:()=>_e("z-20 mt-2 rounded-input-poppers bg-surface shadow-dark-drop",h),option:({isFocused:e,isSelected:t,label:r})=>{var i;return _e("min-h-[40px] px-4 py-2 cursor-pointer",t?"bg-gray-200 text-text font-semibold":"bg-white text-text-secondary",!t&&"hover:bg-bg-surface-hover",!t&&e&&"bg-bg-surface-hover",a?"text-body1 text-text":"",a&&(null===(i=n[n.length-1])||void 0===i?void 0:i.label)!==r?"border-b border-border-brand":"")},placeholder:()=>"text-input-text-placeholder",input:()=>"text-text",valueContainer:()=>"px-0"}),[a,i,h,n,p,y,v]);return"unstyled"===x?e(Hy,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:N,className:_e("rounded-xl",r),classNames:A,"data-cy":w,"data-testid":C,...I}):t("div",{className:"w-full",children:[g&&e("label",{className:_e("mb-1 block text-sm font-medium text-text-secondary",b),children:g}),e(Hy,{options:n,value:o,placeholder:c?`${s}*`:s,onChange:u,filterOption:N,className:_e("rounded-xl",r),classNames:A,"data-cy":w,"data-testid":C,...I}),m&&e(yr,{className:"footnote mt-1 text-text-critical",children:m}),!m&&f&&e(yr,{className:"footnote mt-1 text-text-info",children:f})]})});function zy({paginatedArticles:n,totalArticles:r,currentPage:i,totalPages:o,selectedCategory:l,categoryOptions:c}){const u=k(),d=P(),p=B(),m=s(!0);return a(()=>{m.current?m.current=!1:window.scrollTo({top:0,behavior:"smooth"})},[i]),t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[e(yr,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:"recent articles"}),t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(yr,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(yr,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(yr,{as:"span",className:"md:hidden",children:["showing"," "]}),n.length," of ",r," articles"]})]}),e(Xy,{options:c,value:l,onChange:function(e){if(!e||Array.isArray(e))return;const t=e;!function(e,t){const n=new URLSearchParams(p.toString());t?n.set(e,t):n.delete(e),n.delete("page"),u.push(`${d}?${n.toString()}`,{scroll:!1})}("category","all"===t.value?"":t.value)},className:"w-full md:w-[280px]"})]})]}),n.length>0?e("div",{className:"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:n.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Kd,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,index:n},t.slug)})}):e(yr,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),o>1&&e(of,{currentPage:i,totalPages:o,getPageHref:function(e){const t=new URLSearchParams(p.toString());1===e?t.delete("page"):t.set("page",e.toString());const n=t.toString();return n?`${d}?${n}`:d},onPageChange:function(e){},ariaLabel:"Blog article pagination"})]})}function _y({title:n="recent articles",description:r,paginatedArticles:i,totalArticles:o,currentPage:a,totalPages:s,selectedCategory:l,categoryOptions:c,onCategoryChange:u,onPageChange:d,getPageHref:p,asList:m=!1,imageComponent:h}){return t("section",{"aria-label":"Blog articles","data-section-type":"blogs-grid","data-section-index":"0",children:[t("div",{className:"mx-auto flex max-w-[1200px] flex-wrap items-center justify-between gap-3 px-6 pb-6",children:[r&&e(yr,{as:"p",className:"body1 mb-4 w-full text-center md:mb-6",children:r}),e(yr,{className:"w-full text-center text-heading5 font-black lowercase text-text-secondary md:w-auto md:text-left",children:n}),c.length>0&&t("div",{className:"flex w-full flex-col-reverse gap-3 md:w-auto md:flex-row md:items-center md:gap-6",children:[t(yr,{className:"whitespace-nowrap text-center text-label3 font-bold text-text-info md:text-right md:text-label2",children:[e(yr,{as:"span",className:"hidden md:block",children:"showing"}),t("strong",{className:"block text-nowrap font-bold text-text-info",children:[t(yr,{as:"span",className:"md:hidden",children:["showing"," "]}),i.length," of ",o," articles"]})]}),e(Xy,{options:c,value:l,onChange:function(e){if(!e||Array.isArray(e))return;null==u||u(e)},className:"w-full md:w-[280px]"})]})]}),i.length>0?e("div",{className:m?"mx-auto flex max-w-[1200px] flex-col gap-1 px-5 pb-16":"mx-auto grid max-w-[1200px] grid-cols-1 gap-6 px-5 pb-16 sm:grid-cols-2 lg:grid-cols-3",children:i.map((t,n)=>{var r,i,o,a,s;const l=t.slug.startsWith("/")?t.slug:`/${t.slug}`,c=(null===(r=null==t?void 0:t.cover)||void 0===r?void 0:r.url)?{src:null===(i=null==t?void 0:t.cover)||void 0===i?void 0:i.url,alt:(null===(o=null==t?void 0:t.cover)||void 0===o?void 0:o.title)||(null==t?void 0:t.title)||"Blog article image",width:(null===(a=null==t?void 0:t.cover)||void 0===a?void 0:a.width)||600,height:(null===(s=null==t?void 0:t.cover)||void 0===s?void 0:s.height)||338}:void 0;return e(Kd,{href:l,title:t.title,description:t.shortDescription,date:t.blogCreationDate,category:t.category,image:c,imageComponent:h,asGrid:!m,index:n},t.slug)})}):e(yr,{className:"px-6 py-12 text-center text-text-info",children:"No articles found."}),s>1&&e(of,{currentPage:a,totalPages:s,getPageHref:p,onPageChange:function(e){null==d||d(e)},ariaLabel:"Blog article pagination"})]})}Xy.displayName="Select";const Zy=n=>{const{links:r=[],textColor:i="dark",mobileTextColor:o,desktopTextColor:a,maxWidth:s=!0,float:l="desktop"}=n,c=`${"dark"===(null!=o?o:"desktop"===l?"dark":i)?"text-text":"text-white"} ${"dark"===(null!=a?a:"mobile"===l?"dark":i)?"xl:text-text":"xl:text-white"}`,u="always"===l?"absolute":"mobile"===l?"absolute xl:relative":"desktop"===l?"relative xl:absolute":"relative";return r.length?e("nav",{"aria-label":"Breadcrumb",className:(s?`${"none"===l&&"mx-5"} max-w-120 xl:mx-auto`:"mx-auto")+" relative",children:e("ol",{className:`${"always"===l&&"px-7 md:px-14"} right-0 z-10 mx-0 flex w-full flex-nowrap items-center gap-2 pb-0 pt-8 ${u} xl:mx-auto xl:flex-wrap xl:px-3`,children:r.map((n,i)=>{const{image:o,...a}=n,s=(null==o?void 0:o.url)?o.url.startsWith("//")?`https:${o.url}`:o.url:"",l=i===r.length-1;return t("li",l?{className:"flex min-w-0 items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(yr,{as:"span",className:`body3 mr-2 break-words ${c}`,children:n.buttonLabel})]}:{className:"flex flex-none items-center",children:[s&&e("img",{src:s,alt:(null==o?void 0:o.alt)||"",width:20,height:20,className:"mr-2 h-10 w-10"}),e(Ir,{href:a.href,className:`label3 mr-2 whitespace-nowrap ${c} hover:underline`,children:a.buttonLabel}),e(vr,{name:"chevron_right",className:`${c} `})]},i)})})}):null},Yy=n=>{const{anchorId:r="SearchBlock",title:i,subTitle:o,enableHeading:a,searchDescription:s,searchInputPlaceholder:l,basicCaption:u,caption:d,backgroundColor:p,color:m,onSubmit:h}=n,[f,g]=c("");return e("div",{className:`py-10 md:py-20 ${{supporting:"bg-bg-fill-brand-supporting",white:"bg-bg",brand:"bg-bg-fill-brand"}[p]} ${"dark"==m?"text-text":"text-white"}`,id:r,"data-testid":"search-block",children:e("div",{className:"flex justify-center",children:t("div",{className:"w-[1200px]",children:[t("div",{className:"mb-8 text-center",children:[e(yr,{as:a?"h1":"h2",className:_e("heading2 md:heading1"),children:i}),o&&e(yr,{as:"div",className:_e("subheading2 mt-2 md:subheading1"),children:o})]}),s?e(yr,{className:"heading6 text-center",children:s}):null,e("span",{className:"w-full",children:t("form",{onSubmit:e=>{e.preventDefault(),null==h||h({searchText:f})},className:"flex items-center rounded-md border bg-bg transition-colors focus-within:border-border-focus",children:[e(Bi,{type:"submit",className:"ml-2 inline-flex",children:e(vr,{name:"search",className:"text-text"})}),e("div",{className:"flex-grow",children:e(kp,{value:f,onChange:e=>g(e.target.value),placeholder:l,containerClassName:"px-4 pl-0 rounded-md flex-grow border-none",className:"body3 rounded-md text-text"})})]})}),d||null,u]})})})},Uy={yellow:{bg:"bg-fill-brand-accent",text:"text"},white:{bg:"white",text:"text"},navy:{bg:"bg-fill-inverse",text:"text-inverse"},green:{bg:"bg-fill-success",text:"text-inverse"}},Jy=n=>{const{title:r,variant:i="yellow",cta:o,navHeight:a,isVisible:s,renderCheckPlans:l}=n,c=Uy[null==i?void 0:i.toLowerCase()]||Uy.yellow;if(!s)return null;const u=(null==o?void 0:o.buttonLabel)||"Check plans",d=null==l?void 0:l({ctaText:u,buttonVariant:null==o?void 0:o.buttonVariant,showButtonAs:"solid",cta:o});return t("div",{style:{top:`${a}px`},className:_e(`sticky left-0 right-0 z-[89] w-full shadow-drop transition-all duration-200 bg-${c.bg} text-${c.text}`,"flex flex-col items-center justify-center gap-3 p-[10px] lg:flex-row lg:gap-8 lg:px-6 lg:py-[10px]"),children:[e(yr,{className:"label3 w-full text-center md:label1 lg:w-auto lg:text-left",children:r}),d?e("div",{children:d}):null]})},$y="America/New_York";function Ky(e){if(!e)return;const t=Date.parse(e);if(Number.isFinite(t))return t;console.error("Invalid countdown datetime",{value:e})}function Qy(e,t,n){const r=Date.UTC(e,t-1,n);return r-function(e){const t=new Intl.DateTimeFormat("en-US",{timeZone:$y,hour12:!1,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).formatToParts(new Date(e)),n={};for(const e of t)n[e.type]=e.value;const r="24"===n.hour?"00":n.hour;return Date.UTC(Number(n.year),Number(n.month)-1,Number(n.day),Number(r),Number(n.minute),Number(n.second))-e}(r)}function qy(e){if(!e)return;const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e.trim());if(!t){const t=Date.parse(e);return Number.isFinite(t)?t+864e5:void 0}const n=new Date(Date.UTC(Number(t[1]),Number(t[2])-1,Number(t[3])));return n.setUTCDate(n.getUTCDate()+1),Qy(n.getUTCFullYear(),n.getUTCMonth()+1,n.getUTCDate())}function ex(e){return new Intl.DateTimeFormat("en-US",{timeZone:$y,weekday:"long"}).format(new Date(e)).toUpperCase()}function tx(e,t){const n=function(e){if(!e)return;const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(e.trim());if(!t){const t=Date.parse(e);return Number.isFinite(t)?t:void 0}return Qy(Number(t[1]),Number(t[2]),Number(t[3]))}(e.scheduledStart),r=qy(e.scheduleEnd);return(void 0===n||t>=n)&&(void 0===r||t<r)&&function(e,t){if(!e||0===e.length)return!0;const n=e.map(e=>e.trim().toUpperCase());if(n.includes("ALL"))return!0;const r=ex(t);return n.includes(r)||n.includes(r.slice(0,3))}(e.daysToShow,t)}function nx(e){const t=Math.max(0,Math.floor(e)),n=Math.floor(t/3600),r=Math.floor(t%3600/60),i=t%60;return`${String(n).padStart(2,"0")}H : ${String(r).padStart(2,"0")}M : ${String(i).padStart(2,"0")}`}const rx=({ctaSuffixText:n,backgroundColor:r,iconName:i,boxShadow:o,ctaButtonLabel:u,ctaButtonLink:d,ctaButtonTarget:p,anchorId:m="anchored-banner",enableCountdownTimer:h,countdownStartDateTime:g,countdownEndDateTime:b,scheduledMessages:v,onResolved:y})=>{const[x,w]=c(()=>Date.now()),C=s(null),[I,A]=c(!1);a(()=>A(!0),[]);const E=l(()=>I?null==v?void 0:v.find(e=>tx(e,x)):void 0,[v,x,I]),T=void 0!==E,S=ex(x);a(()=>{I&&(null==y||y({hasActiveMessage:T,activeMessage:E,applicableWeekday:S}))},[I,T,E,S,v,y]);const k=l(()=>{if(!(null==v?void 0:v.length))return;const e=v.map(e=>qy(e.scheduleEnd)).filter(e=>void 0!==e);return e.length?Math.max(...e):void 0},[v]),P=T?null==E?void 0:E.countdownStartDateTime:g,B=T?null==E?void 0:E.countdownEndDateTime:b,L=T?null==E?void 0:E.enableCountdownTimer:h,R=l(()=>Ky(B),[B]),O=l(()=>Ky(P),[P]),G=l(()=>!!L&&(void 0!==R&&((!P||void 0!==O)&&(!(void 0!==O&&O>=R)||(console.error("Invalid countdown range: start must be before end",{countdownStartDateTime:P,countdownEndDateTime:B}),!1)))),[L,R,O,P,B]),D=f(()=>{null!==C.current&&(window.clearInterval(C.current),C.current=null)},[]);a(()=>{if(G&&void 0!==R&&x<R||void 0!==k&&x<k)return C.current=window.setInterval(()=>{w(Date.now())},1e3),D;D()},[G,R,k,x,D]);const M=l(()=>{if(!G||void 0===R)return{shouldShow:!1,text:""};if(void 0!==O&&x<O||x>=R)return{shouldShow:!1,text:""};const e=(R-x)/1e3;return{shouldShow:e>0,text:nx(e)}},[G,R,O,x]),V=T?null==E?void 0:E.iconName:i,F=T?null==E?void 0:E.ctaButtonLabel:u,j=T?null==E?void 0:E.ctaSuffixText:n,H=T?null==E?void 0:E.ctaButtonLink:d,W=T?null==E?void 0:E.ctaButtonTarget:p,X=T?null==E?void 0:E.backgroundColor:r,z="yellow"===X||"white"===X||!X?"text-text-primary":"text-white";return e("section",{id:m,children:e("div",{className:`fixed bottom-0 left-0 right-0 z-[30] flex w-full items-center justify-center px-4 py-3 transition-all duration-300 ${X?{navy:"bg-bg-fill-inverse",green:"bg-bg-fill-success",blue:"bg-bg-fill-brand-info",purple:"bg-bg-fill-brand-tertiary",yellow:"bg-bg-fill-brand-accent",white:"bg-white"}[X]:"bg-bg-fill-brand-accent"} ${o||"shadow-[0_-4px_10px_rgba(0,0,0,0.1)]"}`,children:e(N,{href:H||"#",target:W||"_self",className:"max-w-screen-xl w-full transition-all",children:e("div",{className:"flex flex-col items-center justify-center gap-1 text-center font-black",children:t("div",{className:`${z} break-words text-body1 font-black leading-snug md:text-[18px]`,children:[V&&e(vr,{name:V,size:24,fill:1,className:`${z} align-text-bottom`}),I&&M.shouldShow&&e("span",{className:"inline-block whitespace-nowrap rounded-lg bg-white px-1 tabular-nums text-text",children:M.text}),I&&M.shouldShow?" ":null,F&&F," ",j&&e("span",{className:"ml-0.5",children:j})]})})})})})};function ix({content:n}){let r=3;const[i,o]=c(!1),[l,u]=c(!1),d=s(null);a(()=>{const e=function(e){if("undefined"==typeof window)return"";const t=It.get(e);return t?wt(t):null}("cookieBannerClosed");o("true"!==e)},[]),a(()=>{(()=>{const e=document.getElementById("anchored-banner");u(!!e)})()},[]),a(()=>{var e,t,n,r;return i?null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.add("cookie-banner-visible"):null===(r=null===(n=null===window||void 0===window?void 0:window.document)||void 0===n?void 0:n.body)||void 0===r||r.classList.remove("cookie-banner-visible"),()=>{var e,t;null===(t=null===(e=null===window||void 0===window?void 0:window.document)||void 0===e?void 0:e.body)||void 0===t||t.classList.remove("cookie-banner-visible")}},[i]),a(()=>{if(!i)return;const e=()=>{if(d.current){const e=d.current.getBoundingClientRect(),t=window.innerHeight-e.top;document.documentElement.style.setProperty("--cookie-banner-height",`${t}px`)}},t=setTimeout(e,100),n=setTimeout(e,300);let r;const o=()=>{clearTimeout(r),r=setTimeout(e,150)};return window.addEventListener("resize",o),()=>{clearTimeout(t),clearTimeout(n),clearTimeout(r),window.removeEventListener("resize",o),document.documentElement.style.removeProperty("--cookie-banner-height")}},[i,l]);l&&(r=14);return i?t("div",{id:"cookie-banner",ref:d,className:"fixed z-[1000] max-w-[350px] rounded-xl bg-white py-5 pl-6 pr-12 text-black shadow-lg ring-1 ring-gray-900/10 md:max-w-[656px]",style:{bottom:"0px",right:"20px",marginBottom:`${4*r}px`,marginLeft:"12px"},"aria-label":"Cookie usage notification",children:[" ",e(Ud,{showButtonAs:"unstyled",buttonClassName:"absolute right-2 top-3 mr-2 mt-0 h-6 w-6 bg-white",onClick:()=>{const e=new Date(Date.now()+2592e6);o(!1),((e,t,n)=>{if("undefined"==typeof window)return;const r=JSON.stringify(t),i=xt(r);It.set(e,i,n)})("cookieBannerClosed",!0,{expires:e})},children:e(vr,{name:"close"})}),n.richText?e("div",{className:"mx-auto my-4 [&>a]:footnote",children:n.richText}):null]}):null}const ox=({fill:n="#FFFEEF"})=>{const r=`logo-cream-clip-${i.useId()}`;return t("svg",{xmlns:"http://www.w3.org/2000/svg",width:"100%",height:"100%",fill:"none",viewBox:"0 0 100 99",preserveAspectRatio:"xMidYMid meet",children:[t("g",{fill:n,clipPath:`url(#${r})`,children:[e("path",{d:"M23.877 73.439c2.829 9.044 7.288 13.706 25.03 18.07 16.735 4.111 43.31 12.356 48.798 3.65 3.454-5.095 1.534-12.395.415-18.244-.875-3.853-1.756-7.3-2.534-11.074-.255-1.237-2.034-1.22-2.278.022-1.284 6.552-3.528 11.26-8.55 14.482-8.572 6.125-28.7 2.295-39.453-2.272-11.487-4.656-14.696-13.509-15.486-23.126-.296-5.157.437-10.123 1.818-14.392.409-1.254-1.273-2.097-2.045-1.023-6.113 8.464-8.073 23.88-5.71 33.913",opacity:".45"}),e("path",{d:"M74.18 75.362c9.135-2.8 13.845-7.215 18.253-24.779 4.153-16.569 12.481-42.878 3.687-48.31-5.147-3.42-12.52-1.52-18.429-.411-3.89.866-7.373 1.738-11.185 2.508-1.25.253-1.233 2.014.023 2.255 6.618 1.271 11.373 3.493 14.628 8.465 6.186 8.486 2.318 28.412-2.295 39.059-4.704 11.371-13.646 14.549-23.36 15.33-5.21.293-10.226-.432-14.537-1.799-1.267-.405-2.12 1.26-1.034 2.025 8.55 6.051 24.12 7.992 34.255 5.652",opacity:".45"}),e("path",{d:"M76.124 25.562c-2.83-9.044-7.289-13.706-25.03-18.07C34.358 3.38 7.783-4.865 2.3 3.842-1.153 8.937.767 16.237 1.886 22.086c.875 3.852 1.756 7.3 2.534 11.074.256 1.237 2.034 1.22 2.278-.023 1.284-6.552 3.528-11.26 8.55-14.482 8.572-6.124 28.7-2.294 39.453 2.272 11.487 4.657 14.696 13.51 15.486 23.126.296 5.158-.437 10.124-1.818 14.392-.409 1.255 1.273 2.098 2.045 1.024 6.113-8.464 8.073-23.88 5.71-33.913",opacity:".45"}),e("path",{d:"M25.82 23.638c-9.135 2.8-13.845 7.216-18.253 24.78-4.153 16.568-12.48 42.877-3.687 48.31 5.147 3.42 12.52 1.519 18.429.41 3.891-.865 7.374-1.737 11.186-2.508 1.25-.253 1.232-2.013-.023-2.255-6.619-1.27-11.373-3.492-14.629-8.464-6.186-8.487-2.317-28.413 2.296-39.059 4.703-11.372 13.645-14.55 23.36-15.331 5.209-.293 10.225.433 14.537 1.8 1.266.404 2.118-1.26 1.033-2.025-8.55-6.052-24.12-7.992-34.255-5.652",opacity:".45"})]}),e("defs",{children:e("clipPath",{id:r,children:e("path",{fill:"#fff",d:"M0 0h100v99H0z"})})})]})},ax=n=>{const{anchorId:r="email-input",title:i,subTitle:o,emailInputDescription:a,inputPlaceholder:s="Enter your email here",ctaButtonText:l,ctaText:u,caption:d,backgroundColor:p="white",successFeedback:m,onSubmit:h,themeColor:f,showPinWheel:g=!0,padding:b="large",requiredErrorMessage:v="Email is required",validationErrorMessage:y="Invalid email address"}=n||{},x=l||u||"Sign me up",w={green:"bg-bg-fill-brand",white:"bg-bg",gray90:"bg-[var(--color-text-secondary)]"},C={green:"bg-bg-fill-brand",blue:"bg-bg-fill-brand-supporting",orange:"bg-orange-500",purple:"bg-bg-fill-brand-tertiary",white:"bg-bg"},I=(p||"").trim().toLowerCase()||"white",N=w[I]||w.white,A="white"===I?"text-text":"text-white",E=(f||"").trim().toLowerCase()||"green",T=C[E]||C.green,S=["green","blue","purple"].includes(E),k=S?"text-white":"text-text",P=S?"text-text-inverse":"text-text",B="white"===E?"#E0E0E0":"#FFFEEF",L="none"===b?"!py-0 md:!py-0":"!py-8 md:!py-20",[R,O]=c(""),[G,D]=c(!1),[M,V]=c(""),F=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e);return t("section",{id:r,className:`w-full px-4 ${L} md:px-0 ${N}`,children:[t("div",{className:`mx-auto max-w-[1200px] overflow-hidden !rounded-[20px] md:rounded-[20px] flex flex-col items-start !px-5 !pt-6 !pb-10 md:!p-10 md:!pt-12 !h-[344px] md:!w-auto md:!h-[367px] relative ${T}`,children:[g&&e("div",{className:"absolute right-[-50px] top-[-30px] hidden h-[420px] w-[420px] pointer-events-none lg:block","aria-hidden":"true",children:e(ox,{fill:B})}),t("div",{className:"w-full",children:[t("div",{className:"lg:w-[548px]",children:[i&&e("h2",{className:`mb-3 text-[2.25rem] leading-[2.5rem] font-black md:text-heading1 md:font-black ${k}`,children:i}),o&&e("h3",{className:`mb-3 text-heading1 font-black ${k}`,children:o}),a&&e("p",{className:`!mb-4 md:!mb-16 text-xl leading-7 font-medium md:text-subheading1 md:!leading-8 md:!font-bold opacity-95 ${k}`,children:a})]}),t("div",{className:"relative max-w-[548px] flex w-full flex-col items-center sm:flex-row sm:overflow-hidden sm:rounded-3xl sm:border-2 sm:!border-gray-600 sm:bg-white sm:p-1.5 sm:shadow-xl sm:transition-all md:!h-[75px] md:p-2",children:[e("div",{className:"w-full !rounded-lg border border-transparent bg-white p-1.5 shadow-md sm:border-0 sm:p-0 sm:rounded-none sm:shadow-none",children:e("input",{type:"email",placeholder:s,value:R,onChange:e=>{const t=e.target.value;O(t),G&&D(!1),t.trim()?F(t)?V(""):V(y):V(v)},className:"w-full flex-grow bg-transparent !pl-4 pr-6 py-3 text-[1rem] leading-none md:text-base font-normal text-text outline-none placeholder:input-text-placeholder md:py-4"})}),e(Ud,{buttonLabel:x,buttonVariant:"primary_inverse",buttonClassName:"capitalize-first whitespace-nowrap rounded-2xl px-8 !text-lg mt-3 w-full sm:mt-0 sm:w-auto sm:absolute sm:right-[8px] sm:top-[calc(50%-28px)]",onClick:()=>{R.trim()?F(R)?(h({email:R}),O(""),D(!0),V("")):V(y):V(v)}})]}),M&&e("p",{className:`mt-2 text-label4 font-semibold ${P}`,children:M}),m&&G&&!M&&e("p",{className:`mt-2 text-label4 font-semibold ${k}`,children:m})]})]}),d&&e("div",{className:`mx-auto max-w-[1200px] px-6 md:px-8 ${A}`,children:d})]})},sx={white:"bg-white",navy:"bg-[#00002D] text-white",green:"bg-[#26B170] text-white",blue:"bg-[#07B2E2] text-white",purple:"bg-[#931D69] text-white",yellow:"bg-[#F5FF1E]",cream500:"bg-[#FFFEEF]",gray100:"bg-bg-fill-secondary",transparent:""},lx=["blue","green","yellow","purple","white","navy"],cx=({fields:r,isInPopupContainer:i=!1,onClose:o,onContinueCheckout:s,checkShouldShowBanner:l,onBannerShown:u})=>{var d;const{anchorId:p,mainHeading:m,description:h,cta:f,image:g,imageAltText:b,imagePosition:v="center",backgroundColor:y,imageAccentColor:x,showImageAsIcon:w=!1,Logo:C}=r,I=Boolean(g)&&"center"!==v,N="right"===v,A=y&&null!==(d=sx[y])&&void 0!==d?d:"",E=(e=>!!e&&lx.includes(e))(x),[T,S]=c(!1);a(()=>{const e=()=>{(null==l?void 0:l())&&!T&&(S(!0),null==u||u())};e();const t=setTimeout(e,100);return()=>clearTimeout(t)},[]);const k=()=>{null==s||s()},P=()=>C?e("div",{className:"cart-retention-banner-logo relative mx-auto mb-4 h-12 w-40",children:e(hi,{src:C,alt:null!=m?m:"",fill:!0,sizes:"160px",className:"object-contain"})}):null,B=()=>g?e("div",w?{className:"cart-retention-banner-image relative mx-auto mb-4 h-[87px] w-[93px] overflow-hidden md:h-[193px] md:w-[207px]",children:e(hi,{src:g,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 768px) 207px, 93px",className:"object-contain"})}:I?{className:"cart-retention-banner-image relative md:h-full",children:e("div",{className:"relative h-[258px] w-full overflow-hidden rounded-[20px] md:h-[400px]",children:e(hi,{src:g,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 768px) 314px, 100vw",className:"object-cover object-top"})})}:{className:"cart-retention-banner-image relative mb-4 aspect-[2/1] w-full overflow-hidden rounded-[20px]",children:e(hi,{src:g,alt:null!=b?b:"",fill:!0,sizes:"(min-width: 640px) 400px, 90vw",className:"object-cover"})}):null,L=()=>{var r,i;return t(n,{children:[e(yr,{className:_e("heading2",I?"text-center md:text-left":"text-center"),children:m||"Welcome back. Let's finish your order"}),h&&Ei(St(null==h?void 0:h.json),!1,_e("body2",I?"text-center md:text-left":"text-center")),e("div",{className:_e("flex w-full pt-5 md:px-4",I?"justify-center md:justify-start":"justify-center"),children:e(Ud,{onClick:k,buttonLabel:null!==(r=null==f?void 0:f.buttonLabel)&&void 0!==r?r:"Continue checkout",disableAnimation:null===(i=null==f?void 0:f.disableAnimation)||void 0===i||i,animationType:null==f?void 0:f.animationType,fullWidth:!0})})]})},R=t(n,I?{children:[P(),t("div",{className:_e("flex flex-col md:grid md:gap-6",N?"md:grid-cols-[1fr_314px]":"md:grid-cols-[314px_1fr]"),children:[e("div",{className:_e("order-1",N&&"md:order-2","md:max-w-[314px]",w&&"flex items-center justify-center"),children:B()}),e("div",{className:_e("order-2 flex flex-col justify-center gap-8 pt-5 md:gap-10 md:pt-0",N?"md:order-1":""),children:L()})]})]}:{children:[P(),B(),L()]}),O=e(qh,{path:"path5",fill:x,background:"transparent",className:_e("rounded-3xl px-6 pb-8 md:p-6",w&&"md:!py-[95px]",C?"pt-6":"pt-13"),show:E,children:R});return i?e("div",{className:_e("pop-up-body w-full",I?"overflow-hidden":"mb-5 mt-10",A),"data-section-type":"cart-retention-banner","data-section-index":"0",children:O}):e("section",{id:p,"data-testid":"cart-retention-banner",children:e(Qh,{size:"sm",isOpen:T,onRequestClose:()=>{null==o||o(),S(!1)},bodyClassName:_e(I?_e("overflow-hidden md:!max-w-[828px]",!E&&"p-0"):"flex items-center justify-center","min-[370px] p-[0px]",A),type:"cart-retention-banner",children:I?O:e("div",{className:"pop-up-body mb-5 w-full [overflow-x:clip] px-3 md:px-6",children:O})})})},ux={gray90:"#464646",green:"#24A76A",white:"#FFFFFF"},dx=({iframeUrl:t,anchorId:n,backgroundColor:r,height:i})=>{const o=s(null);return a(()=>{if(!t)return;const e=e=>{var t;const n=null===(t=e.data)||void 0===t?void 0:t.iframeHeight;"number"==typeof n&&Number.isFinite(n)&&n>0&&n<=1e4&&o.current&&(o.current.style.height=`${n}px`)};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[t]),t?e("section",{id:n,className:"w-full",children:e("iframe",{ref:o,src:t,width:"100%",frameBorder:"0",scrolling:"no",style:{background:r?ux[r]:"transparent",...i?{height:`${i}px`}:{}},title:"Iframe Embed",loading:"lazy"})}):null},px={IP_PHONE_NUMBER:"ip_or_phone",TARGET_EMAIL:"target_email",REQUIRED_FIELDS_MISSING:"Required fields missing",PROVIDE_AT_LEAST_ONE:"Please provide at least one",ONE_REQUIRED_FIELD:"At least One Required"},mx="* Please fill all required fields and checkboxes",hx={phone:/^(?:\d{10}|\(\d{3}\)\s\d{3}-\d{4}|\d{3}-\d{3}-\d{4}|\+1\s\d{3}-\d{3}-\d{4})$/,ipv4:/^(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]?\d)$/,ipv6:/^(?:(?:[0-9A-Fa-f]{1,4}:){7}[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,7}:|(?:[0-9A-Fa-f]{1,4}:){1,6}:[0-9A-Fa-f]{1,4}|(?:[0-9A-Fa-f]{1,4}:){1,5}(?::[0-9A-Fa-f]{1,4}){1,2}|(?:[0-9A-Fa-f]{1,4}:){1,4}(?::[0-9A-Fa-f]{1,4}){1,3}|(?:[0-9A-Fa-f]{1,4}:){1,3}(?::[0-9A-Fa-f]{1,4}){1,4}|(?:[0-9A-Fa-f]{1,4}:){1,2}(?::[0-9A-Fa-f]{1,4}){1,5}|[0-9A-Fa-f]{1,4}:(?:(?::[0-9A-Fa-f]{1,4}){1,6})|:(?:(?::[0-9A-Fa-f]{1,4}){1,7}|:))$/,email:/^[a-zA-Z0-9._%+-]+@((?:[a-zA-Z0-9-]+\.)+[a-zA-Z]{1,}|(?:\d{1,3}\.){3}\d{1,3})$/},fx=d(void 0),gx=({state:n,checked:r=!1,onChange:i,className:o,label:a,labelClassName:s,containerClassName:l,name:c,value:u,id:d,disabled:p=!1,required:m=!1,error:h=!1,"data-cy":g,renderInfoIcon:b,...v})=>{var y,x;const w=p||"disabled"===n,C=d||c,I=_e("flex items-center justify-center w-6 h-6 rounded-[4px] outline-offset-2","focus"===n&&"outline",o),N=f(e=>{w||i&&(1===i.length?i(e.target.checked):i())},[w,i]);return t("div",{className:_e("flex items-center gap-3",l),children:[t("div",{className:"relative",children:[e("input",{type:"checkbox",id:C,name:c,value:u,checked:r,onChange:N,disabled:w,required:m,className:"peer sr-only","data-cy":g,...v}),e("label",{htmlFor:C,className:_e("peer-focus:outline",I),style:{pointerEvents:w?"none":"auto"},children:t("svg",r?{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{width:"24",height:"24",rx:"4",className:_e(w?"fill-checkbox-bg-surface-selected-disabled":"fill-bg-fill-brand")}),e("path",{d:"M8 11.9593L11.0316 15L17 9",stroke:"white",strokeWidth:"2.2",strokeLinecap:"round",strokeLinejoin:"round"})]}:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:[e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",className:_e(w?"fill-checkbox-bg-surface-disabled":"fill-white")}),e("rect",{x:"0.5",y:"0.5",width:"23",height:"23",rx:"3.5",stroke:"#CECECE"})]})})]}),a&&e("label",{htmlFor:C,className:_e("cursor-pointer",h&&"text-text-critical",s),children:a}),b&&e(Bi,{type:"button",onClick:b.onClick,"data-testid":b.dataTestId,className:"ml-2 cursor-pointer text-icon-info","aria-label":"More information",children:t("svg",{xmlns:"http://www.w3.org/2000/svg",width:null!==(y=b.iconSize)&&void 0!==y?y:24,height:null!==(x=b.iconSize)&&void 0!==x?x:24,viewBox:"0 0 24 24",fill:"none",children:[e("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"2"}),e("path",{d:"M12 16v-4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),e("path",{d:"M12 8h.01",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})})]})};gx.displayName="Checkbox";const bx=n=>{const{name:r,value:i,label:o,subText:a,checked:s,onChange:l,className:c,variant:u="circle",hasError:d=!1,labelProps:p={},"data-cy":m,labelClassName:h="",disabled:f,...g}=n,b=()=>null==l?void 0:l(i||r);return t("label",{htmlFor:r,className:_e("flex items-center",c),"data-cy":m,...p,children:[e("input",{className:"hidden",type:"radio",name:r,value:i,checked:s,readOnly:!0,disabled:f,...g}),e(Bi,{type:"button",onClick:b,disabled:f,className:_e("mr-3 flex h-6 w-6 flex-shrink-0 items-center justify-center rounded-full border-[1px] border-solid border-border-secondary-on-bg-fill bg-bg outline-offset-4",s&&"border-[1px] border-solid border-border-brand",f&&"opacity-50"),children:s&&e("div",{className:"h-[0.875rem] w-[0.875rem] rounded-full bg-bg-fill-brand"})}),t(Bi,{type:"button",onClick:b,disabled:f,tabIndex:o?0:-1,children:[e("div",{className:_e("text-body2 font-normal",h),children:o}),e("div",{className:"text-body1 text-text-info",children:a})]})]})};bx.displayName="RadioButton";const vx=e=>{const t=(e||"").replace(/\D/g,"");return t.length<=3?t:t.length<=6?`${t.slice(0,3)}-${t.slice(3)}`:t.length<=9?`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6)}`:`${t.slice(0,3)}-${t.slice(3,6)}-${t.slice(6,10)}`},yx=(n,r,i="footnote")=>t(yr,{as:"div",className:_e(i,"validation-label mb-1"),children:[n,r?e("span",{className:"text-text-critical",children:"*"}):null]}),xx=r=>{const{requiredField:i,handleInputChange:o,fieldId:a,displayName:s,hasError:l}=r,[u,d]=c(!1);return e(gx,{name:a,id:a,checked:u,error:l,onChange:()=>{d(e=>(o(!e),!e))},labelClassName:"footnote text-text-secondary",label:t(n,{children:[s,i?e("span",{className:"text-text-critical",children:"*"}):null]})})},wx={Checkbox:t=>{const{formData:n,handleInputChange:r,fieldId:i,dataSource:o,isConsentCheckbox:a,hasError:s}=t;if(a)return e(xx,{...t});const l=null==n?void 0:n[i],c="string"==typeof l&&l.length>0?l.split(","):[];return e("div",{className:"grid grid-cols-1 gap-6 sm:grid-cols-2",children:(o||[]).map((t,n)=>e("div",{className:"w-full lg:w-[384px]",children:e(gx,{name:i,id:`${i}-${n}`,label:t.label,value:t.value,checked:c.includes(t.value),onChange:()=>(e=>{let t;t=c.includes(e)?c.filter(t=>t!==e):[...c,e],r(t.join(","))})(t.value),error:s,labelClassName:"footnote"})},`${i}-${n}`))})},Imageupload:n=>{const{handleInputChange:r,loading:i}=n,[o,l]=c([]),[u,d]=c([]),[p,h]=c(!1),[f,g]=c(null),b=s(null),v=m(fx);a(()=>{const e=o.map(e=>e.type.startsWith("image/")?URL.createObjectURL(e):"");return d(e),()=>{e.forEach(e=>{e&&URL.revokeObjectURL(e)})}},[o]);const y=e=>{const t=[];if(e&&e.length){if(Array.from(e).forEach(e=>{e.type.startsWith("image/")&&t.push(e)}),0===t.length)return void g("Only image files are allowed.");if(o.length+t.length>5)return void g("You can only upload a maximum of 5 files.");const n=[...o,...t];if(!((e,t)=>{const n=e.reduce((e,t)=>e+t.size,0);return{total:n,ok:n<=t}})(n,20971520).ok)return void g("Total file size should not be more than 20 MB.");null==v||v.setFiles(n),l(n),r(n),g(null)}};return e("div",{children:t("div",{onDragOver:e=>{e.preventDefault(),e.stopPropagation(),h(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),h(!1)},onDrop:e=>{e.preventDefault(),e.stopPropagation(),h(!1),e.dataTransfer.files&&e.dataTransfer.files.length>0&&(y(e.dataTransfer.files),e.dataTransfer.clearData())},className:_e("relative flex flex-col items-center justify-center rounded-xl border border-input-border bg-white px-4 py-10 text-center transition",p?"border-input-border-selected bg-bg-surface-active":"hover:border-input-border-hover"),children:[e("p",{className:"mb-3 text-sm text-text-secondary",children:"Drop files here or"}),t("button",{type:"button",onClick:()=>{var e;return null===(e=b.current)||void 0===e?void 0:e.click()},className:"inline-flex items-center gap-2 rounded-md bg-white px-4 py-2 text-sm font-medium text-text shadow-sm ring-1 ring-inset ring-input-border hover:bg-bg-surface-hover",children:[e(vr,{name:"upload",weight:"700",size:24}),"Choose files"]}),e("input",{ref:b,type:"file",accept:"image/*",multiple:!0,name:"files",onChange:e=>{e.target.files&&e.target.files.length>0&&(y(e.target.files),e.target.value="")},className:"pointer-events-none absolute inset-0 h-0 w-0 opacity-0","aria-hidden":!0,tabIndex:-1}),f&&e("p",{className:"mt-2 text-sm text-text-critical",children:f}),o.length>0&&e("div",{className:"mt-8",children:e("ul",{className:"grid grid-cols-2 gap-3 sm:grid-cols-3 md:grid-cols-4",children:o.map((n,a)=>t("li",{className:"group relative rounded-xl border border-input-border p-2",children:[n.type.startsWith("image/")&&u[a]?e("img",{src:u[a],alt:n.name,className:"h-28 w-full rounded object-cover"}):e("div",{className:"h-28 w-full rounded bg-bg-surface-active"}),t("div",{className:"mt-2 flex items-center justify-between",children:[e("span",{className:"max-w-[50%] truncate text-sm text-text",title:n.name,children:n.name}),e("button",i?{type:"button",disabled:!0,className:"cursor-default text-sm text-text-secondary",children:"Remove"}:{type:"button",onClick:()=>(e=>{const t=[...o];t.splice(e,1),l(t),null==v||v.setFiles(t),r(t)})(a),className:"text-sm text-text-critical hover:underline",children:"Remove"})]})]},a))})})]})})},Datepicker:t=>{var n;const{displayName:r,handleInputChange:i,errorClass:o,formData:a,fieldId:s}=t;return e("div",{className:"w-full",children:e("input",{type:"datetime-local","aria-label":r,value:null!==(n=null==a?void 0:a[s])&&void 0!==n?n:"",onChange:e=>i(e.target.value),className:_e("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",o)})})},Dropdown:t=>{var n;const{formData:r,handleInputChange:i,fieldId:o,dataSource:s,existingDataSource:l,errorClass:u}=t,[d,p]=c(null!=s?s:[]),h=m(fx),f=null==h?void 0:h.resolveExistingDataSource;a(()=>{(async()=>{var e;if((null==s||s.length<=0)&&l){if("City List"===l)return;if(!f)return;try{const e=await f(l,{selectedState:null==h?void 0:h.selectedState});p(e||[])}catch(t){null===(e=null==h?void 0:h.onError)||void 0===e||e.call(h,{type:"resolve_data_source",error:t,metadata:{existingDataSource:l}})}}})()},[s,l]),a(()=>{if("City List"===l&&(i(null),p([]),(null==h?void 0:h.selectedState)&&f)){const e=async()=>{var e;try{const e=await f("City List",{selectedState:null==h?void 0:h.selectedState});p(e||[])}catch(t){null===(e=null==h?void 0:h.onError)||void 0===e||e.call(h,{type:"resolve_data_source",error:t,metadata:{existingDataSource:"City List"}})}};e()}},[null==h?void 0:h.selectedState,l]);const g=(null==r?void 0:r[o])?d.find(e=>e.value===(null==r?void 0:r[o])):null;return e(Xy,{className:_e("body3",u),controlClassName:"px-4 [&>div]:p-0",options:d,value:null!=g?g:void 0,onChange:i,"aria-label":null!==(n=t.displayName)&&void 0!==n?n:"Select"})},Radio:t=>{const{requiredField:n,formData:r,handleInputChange:i,fieldId:o,hasError:a,dataSource:s}=t;return e("div",{className:"mt-6 flex flex-col gap-8 sm:flex-row",children:(s||[]).map((t,s)=>e("div",{className:"w-full lg:w-[384px]",children:e(bx,{name:o,label:t.label,value:t.value,checked:(null==r?void 0:r[o])===t.value,hasError:a,onChange:i,required:n,labelClassName:"footnote text-left"})},s))})},Text:t=>{var n,r;const{displayName:i,formData:o,textInputType:a,handleInputChange:s,fieldId:l,errorClass:c,enableAddressAutocomplete:u}=t,d=m(fx),p=null==d?void 0:d.renderAddressAutocomplete;return!!u&&!!p&&"phone"!==a&&"email"!==a&&"multiline"!==a&&p?e(p,{...t}):e("div","phone"===a?{className:"w-full",children:e(kp,{"aria-label":i,name:l,type:"tel",value:o[l]?vx(o[l]):"",onChange:s,className:_e("w-full",c),maxLength:14})}:"multiline"===a?{className:"w-full",children:e("textarea",{"aria-label":i,name:l,value:null!==(n=null==o?void 0:o[l])&&void 0!==n?n:"",onChange:s,rows:4,className:_e("w-full rounded-xl border border-input-border bg-white px-4 py-3 text-text outline-none focus:border-input-border-selected",c)})}:{className:"w-full",children:e(kp,{"aria-label":i,name:l,value:null!==(r=null==o?void 0:o[l])&&void 0!==r?r:"",onChange:s,className:_e("w-full",c)})})}},Cx=n=>{const r=m(fx),{formData:i,setFormData:o,submitErrorFields:a,fieldId:s,displayName:l,requiredField:u,formFieldsToShow:d=[],dataSource:p,note:h,grouped:f=!1,renderConditionalFields:g}=n,[b,v]=c(!1),[y,x]=c({fieldId:"",errorMessage:""}),w=f&&(s===px.TARGET_EMAIL||s===px.IP_PHONE_NUMBER),C=wx.Radio;if(!C)return null;const I=a.includes(s);let N="";I&&(N="Datepicker"===s||"Dropdown"===s?"border border-border-critical border-solid rounded-xl":"border border-border-critical");return t("div",{className:_e("w-full",w&&"bg-bg-surface-secondary px-5 pt-1",w&&s===px.IP_PHONE_NUMBER&&"rounded-t-xl border-x border-b border-border-secondary",w&&s===px.TARGET_EMAIL&&"rounded-b-xl border-x border-t border-border-secondary pb-5"),children:[t("div",{className:"mb-4",children:[yx(l,u),e(C,{displayName:l,requiredField:u,formData:i,fieldId:s,handleInputChange:e=>{x({fieldId:"",errorMessage:""}),null==r||r.setHasError(!1),v("yes"===(null==e?void 0:e.toLowerCase())),o(t=>({...t,[s]:e}))},error:y,hasError:I,dataSource:p,errorClass:N}),y.fieldId===s&&y.errorMessage&&e(yr,{as:"div",className:"footnote mt-1 text-text-critical",children:y.errorMessage}),h&&e(yr,{as:"div",className:"footnote mt-1",children:h})]}),e("div",{className:"transition duration-300 ease-in-out "+(b?"translate-y-0 opacity-100":"translate-y-4 opacity-0"),children:b&&g(!1,d,i,o,a)})]})},Ix=n=>{var r;const i=m(fx),{loading:o,formData:a,setFormData:s,submitErrorFields:l,isGrouped:u=!1,fieldId:d,fieldType:p,fieldClassName:h,displayName:f,requiredField:g,textInputType:b,errorMessage:v,dataSource:y,existingDataSource:x,note:w,noteClassName:C,validationNote:I,validationGroupId:N,validationType:A,applyRegularExpression:E,regexPattern:T,enableAddressAutocomplete:S}=n,[k,P]=c({fieldId:"",errorMessage:""}),B=(p?null===(r=null==i?void 0:i.fieldComponentOverrides)||void 0===r?void 0:r[p]:void 0)||(p?wx[p]:void 0);if(!B)return null;const L=N&&A&&!u,R="Checkbox"===p&&!y&&!x,O=l.includes(d);let G="";O&&(G="Datepicker"===d||"Dropdown"===d?"border border-border-critical border-solid rounded-xl":"border border-border-critical");const D=(e,t)=>{P({fieldId:e,errorMessage:t})},M=(e,t)=>{s(n=>({...n,[e]:t}))};return t("div",{className:_e(L?"groupingField rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1":"",(null==h?void 0:h.split("|")[1])||"w-full"),children:[L&&!u?yx(I||px.PROVIDE_AT_LEAST_ONE,!0,"body2"):null,!R&&yx(f,g),e("div",{className:"Checkbox"===p||"Radio"===p?R?"":"mt-6":"",children:e(B,{loading:o,displayName:f,requiredField:g,formData:a,fieldId:d,textInputType:b,handleInputChange:e=>{var t;if(null==i||i.clearFieldError(d),P({fieldId:"",errorMessage:""}),null==i||i.setHasError(!1),"Checkbox"===p||"Radio"===p)M(d,e);else if("Dropdown"===p)M(d,null==e?void 0:e.value),"State List"===x&&(null==i||i.setSelectedState(e));else if("Datepicker"===p)e?M(d,e):(D(d,v||""),null==i||i.setHasError(!0),null==i||i.setFieldError(d,v||""));else{if("Imageupload"===p){const t=Array.isArray(e)?e:[];return null==i||i.setFiles(t),void M("files",t)}{const{name:n,value:r}=e.target;if(!r)return void M(n,r);if("phone"===b){const t=vx(r).replace(/\D/g,"");return M(n,t),e.target.value=t,void(10!==t.length&&(D(d,v||""),null==i||i.setHasError(!0),null==i||i.setFieldError(d,v||"")))}if("email"!==b||(e=>{const[,t]=e.split("@");return!(!t||t.includes(".."))&&hx.email.test(e)})(r)||(D(d,v||""),null==i||i.setHasError(!0),null==i||i.setFieldError(d,v||"")),E&&T)try{new RegExp(T).test(r)||""===r||(D(d,v||""),null==i||i.setHasError(!0),null==i||i.setFieldError(d,v||""))}catch(e){null===(t=null==i?void 0:i.onError)||void 0===t||t.call(i,{type:"invalid_regex_pattern",error:e,metadata:{fieldId:d,regexPattern:T}})}M(n,r)}}},dataSource:y,error:k,errorClass:G,hasError:O,existingDataSource:x,isConsentCheckbox:R,enableAddressAutocomplete:S,"data-testid":"form-component"})}),k.fieldId===d&&k.errorMessage&&e(yr,{as:"div",className:"footnote text-text-critical",children:k.errorMessage}),w&&e(yr,{as:"div",className:_e("footnote",C),children:w})]})},Nx=e=>"formField"===e.itemType,Ax=e=>"conditional"===e.itemType,Ex=(e,t=!1,n={})=>{const r=((e,t)=>{const n=e.filter(Ax).flatMap(e=>{const n=t[e.fieldId];return"string"==typeof n&&"yes"===n.toLowerCase()?e.formFieldsToShow:[]});return[...e,...n]})(e,n);return r.filter(Nx).map(e=>{if(t)return{[e.fieldId]:e.sftpFieldId};const{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:a}=e;return{fieldId:n,requiredField:r,fieldType:i,formSection:o,dataSource:a}})},Tx=(e,t)=>{const n={};return e.forEach(e=>{const{fieldId:r,formSection:i}=e;i&&"string"==typeof i&&(n[i]||(n[i]=[]),r in t&&n[i].push({[r]:t[r]}))}),n},Sx=e=>{var t,n,r,i,o;const a=e instanceof Error?e.message:String(e),s=a.replace(/Bearer\s+\S+/gi,"Bearer [REDACTED]").replace(/["']?Authorization["']?\s*[:=]\s*(?:"[^"]*"|'[^']*'|\S+)/gi,"Authorization: [REDACTED]").replace(/(api(?:[_-]|\s)?key|apikey|access(?:[_-]|\s)?token|token|secret|password|key)(\s*["']?\s*[:=]\s*)(?:"[^"]*"|'[^']*'|[^\s&"']+)/gi,"$1$2[REDACTED]");const l=null==e?void 0:e.cause;return{errorMessage:s,errorStatus:null!==(o=null!==(r=null!==(n=null===(t=null==e?void 0:e.response)||void 0===t?void 0:t.status)&&void 0!==n?n:null==e?void 0:e.status)&&void 0!==r?r:null===(i=null==l?void 0:l.response)||void 0===i?void 0:i.status)&&void 0!==o?o:void 0,errorCode:[e,l].map(e=>null==e?void 0:e.code).find(e=>"string"==typeof e)}},kx=e=>{const{errorMessage:t,errorStatus:n,errorCode:r}=Sx(e);return{name:e instanceof Error?e.name:"Error",message:t,...void 0!==n?{status:n}:{},...void 0!==r?{code:r}:{}}},Px=(t,n,r,o,a,s,l=!1)=>{if("formField"===t.itemType)return e(Ix,{loading:r,...t,formData:o,setFormData:a,submitErrorFields:s,isGrouped:l},n);if("conditional"===t.itemType)return e(Cx,{...t,formData:o,setFormData:a,submitErrorFields:s,renderConditionalFields:Bx},n);if("divider"===t.itemType){const r=Math.max(t.dividerThickness||1,1),i=!1===t.dividerLength?"w-1/2":"w-full";return e("div",{className:"flex w-full justify-center",children:e(Oi,{role:"separator","aria-label":"Content divider",className:i,style:{height:`${r}px`}})},n)}return e(i.Fragment,{children:t.content},n)},Bx=(n,r,i,o,a)=>(e=>{const t=[];let n=0;for(;n<e.length;){const r=e[n];if(!Nx(r)){t.push({type:"single",fields:[r]}),n++;continue}const i=r.validationGroupId;if(i){const o=[];let a=n;for(;a<e.length;){const t=e[a];if(!Nx(t)||t.validationGroupId!==i)break;o.push(t),a++}const s={type:"validationGroup",validationGroupId:i,validationNote:r.validationNote,validationType:r.validationType,subGroups:[]};let l=0;for(;l<o.length;){const e=o[l];if(!1===e.fieldWidth){const t=o[l+1];t&&!1===t.fieldWidth?(s.subGroups.push({type:"double",fields:[e,t]}),l+=2):(s.subGroups.push({type:"single",fields:[e]}),l++)}else s.subGroups.push({type:"single",fields:[e]}),l++}t.push(s),n=a}else if(!1===r.fieldWidth){const i=e[n+1];i&&Nx(i)&&!1===i.fieldWidth&&!i.validationGroupId?(t.push({type:"double",fields:[r,i]}),n+=2):(t.push({type:"single",fields:[r]}),n++)}else t.push({type:"single",fields:[r]}),n++}return t})(r).map((r,s)=>{var l,c;if("validationGroup"===r.type)return t("div",{className:"mb-0 w-full rounded-b-xl rounded-t-xl border border-border-secondary bg-bg-surface-secondary px-5 pb-5 pt-1",children:[r.validationNote&&t(yr,{as:"div",className:"validation-label body3 mb-3 mt-4 sm:mt-5",children:[r.validationNote,r.validationType===px.ONE_REQUIRED_FIELD?e("span",{className:"text-text-critical",children:"*"}):null]}),r.subGroups.map((r,s)=>"single"===r.type?e("div",{className:"mb-0 w-full",children:Px(r.fields[0],`subgroup-field-${s}`,n,i,o,a,!0)},`subgroup-${s}`):t("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e("div",{className:"w-full lg:flex-1",children:Px(r.fields[0],`subgroup-field-${s}-0`,n,i,o,a,!0)}),e("div",{className:"w-full lg:flex-1",children:Px(r.fields[1],`subgroup-field-${s}-1`,n,i,o,a,!0)})]},`subgroup-${s}`))]},`validation-group-${s}`);if("single"===r.type){const t=r.fields[0],u="formField"===t.itemType?`${null!==(c=null===(l=t.fieldClassName)||void 0===l?void 0:l.split("|")[0])&&void 0!==c?c:""} mb-0 w-full`:"w-full";return e("div",{className:u,children:Px(t,`group-field-${s}`,n,i,o,a)},`group-${s}`)}return t("div",{className:"mb-0 flex w-full flex-col gap-5 lg:flex-row",children:[e("div",{className:"w-full lg:flex-1",children:Px(r.fields[0],`group-field-${s}-0`,n,i,o,a)}),e("div",{className:"w-full lg:flex-1",children:Px(r.fields[1],`group-field-${s}-1`,n,i,o,a)})]},`group-${s}`)}),Lx=n=>{const{color:r="#fff",size:i="medium"}=n;return t("div",{role:"status",className:"relative flex flex-row items-center",children:[t("svg",{"aria-hidden":"true",className:_e("mr-2 h-5 w-5 animate-spin text-transparent",{small:"w-4 h-4",medium:"w-6 h-6",large:"w-8 h-8",xlarge:"w-12 h-12"}[i],n.className),style:{animation:"spin 0.75s linear infinite"},viewBox:"0 0 100 100",fill:r,children:[e("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),e("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]}),e("span",{className:"sr-only",children:"Loading..."})]})};Lx.displayName="Spinner";class Rx extends Error{constructor(e,t){super(e),this.name="FormValidationError",this.invalidFields=t}}class Ox extends Error{constructor(e,t,n){super(e),this.name="FormSubmissionError",this.errorActions=t,this.isCompleteFailure=n}}const Gx=e=>String(e).padStart(2,"0"),Dx=e=>{const t=Gx(e.getMonth()+1),n=Gx(e.getDate()),r=e.getFullYear();let i=e.getHours();const o=i>=12?"PM":"AM";return i=i%12||12,`${t}/${n}/${r} ${i}:${Gx(e.getMinutes())} ${o}`},Mx=n=>{const{anchorId:r,title:i,subTitle:o,formHeading:u,description:d,disclaimer:p,successMessage:m,errorMessage:h,formClassName:g,fields:b,formSubmitOptions:v=[],submitLabel:y="Submit",ctaClassName:x,validationErrorText:w=mx,formName:C,emailSubject:I,emailTemplateName:N,toEmail:A,testEmail:E,isProduction:T,segmentEventId:S,onEmailSubmit:k,onSmtpSubmit:P,onSmsSubmit:B,actionHandlers:L,buildPayload:R,onSubmitSuccess:O,onTrack:G,onError:D,fieldComponentOverrides:M,resolveExistingDataSource:V,renderAddressAutocomplete:F,renderSubmitButton:j}=n,H=s("undefined"!=typeof crypto&&"function"==typeof crypto.randomUUID?crypto.randomUUID():"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{const t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})),W=s(null),[X,z]=c({}),[_,Z]=c(!1),[Y,U]=c(!1),[J,$]=c(!1),[K,Q]=c(!1),[q,ee]=c([]),[te,ne]=c(""),[re,ie]=c(null),[oe,ae]=c({}),[se,le]=c([]),ce=f(e=>{le(e)},[]),ue=f((e,t)=>{ae(n=>({...n,[e]:t}))},[]),de=f(e=>{ae(t=>{const n={...t};return delete n[e],n})},[]),pe=l(()=>b.reduce((e,t)=>{if("formField"!==t.itemType)return e;const n=t.validationGroupId;return null!=n&&null!=n&&(e[n]||(e[n]=[]),e[n].push(t)),e},{}),[b]);a(()=>{if(Y&&"undefined"!=typeof window&&W.current){const e=140,t=W.current.offsetTop-e;window.scrollTo({top:t,behavior:"smooth"})}},[Y]);const me=l(()=>({fieldErrors:oe,setFieldError:ue,clearFieldError:de,hasError:J,setHasError:$,selectedState:re,setSelectedState:ie,files:se,setFiles:ce,resolveExistingDataSource:V,fieldComponentOverrides:M,renderAddressAutocomplete:F,onError:D}),[oe,ue,de,J,re,se,ce,V,M,F,D]),he=()=>{const e={...X};return b.forEach(t=>{"formField"===t.itemType&&t.applyPresetValidations&&"TN-IP-Validation"===t.selectPresetValidationsToApply&&(e[t.fieldId]=(e=>{const t=null==e?void 0:e.trim();if(!t)return e;if(hx.phone.test(t)){let e=t.replace(/\D/g,"");return 11===e.length&&e.startsWith("1")&&(e=e.slice(1)),e}return hx.ipv4.test(t)||hx.ipv6.test(t)?t:e})(e[t.fieldId]))}),z(e),e},fe=l(()=>({email:k,sftp:P,sms:B,...L||{}}),[k,P,B,L]),ge=async e=>{e.preventDefault(),Z(!0),ne("");const t=he();try{const e=Ex(b,!1,t),r=((e,t={})=>Ex(e,!0,t).reduce((e,t)=>({...e,...t}),{}))(b,t),i=(n=t,e.filter(e=>{if(!e.requiredField)return!1;const t=n[e.fieldId];return"Checkbox"!==e.fieldType||e.dataSource?""===t||null==t:!0!==t}).map(e=>e.fieldId));if(ee(i),Object.keys(pe).forEach(e=>{const n=pe[e],r=n.map(e=>e.fieldId);if(n.filter(e=>e.validationType===px.ONE_REQUIRED_FIELD&&(""===t[e.fieldId]||void 0===t[e.fieldId])).length===n.length&&n.length>0)throw ee(e=>[...e,...r]),new Rx(px.REQUIRED_FIELDS_MISSING,r)}),0!==i.length||0!==Object.keys(oe).length)throw new Rx(px.REQUIRED_FIELDS_MISSING,i);const o=((e,t)=>{const n=Object.fromEntries(Object.entries(t).filter(([,e])=>""!==e&&void 0!==e)),r=Ex(e,!1,n);return r.every(e=>{const t=e.formSection;return"string"==typeof t&&""!==t})&&r.length>0?{...Tx(r,n)}:{form1:{...n}}})(b,t),a={submissionId:H.current,formName:C,toEmail:A,subject:I,emailTemplate:N,submittedOn:Dx(new Date),formSubmitOptions:v,formData:o,files:se},s=R?R(a,t):a;null==G||G(S,s);let l=s.formSubmitOptions||[];if(!1===T&&l.includes("email")){const e=(E||"").split(",").map(e=>e.trim()).filter(Boolean).join(",");e?s.toEmail=e:l=l.filter(e=>"email"!==e)}const c=l,u=c.includes("post"),d=c.filter(e=>"post"!==e),p=await(async(e,t,n)=>{const r=[],i=JSON.stringify({...t.formData});let o;if(t.files&&t.files.length>0){const e=new FormData;Object.keys(t).forEach(n=>{"files"!==n&&"formData"!==n&&e.append(n,t[n])}),e.append("formData",i),t.files.forEach(t=>e.append("files",t)),o=e}else o={...t,formData:i};const a=((e,t)=>t?e:e.filter(e=>"email"!==e))(e,t.emailTemplate);return await Promise.all(a.map(async e=>{const i=fe[e],a=o instanceof FormData?{headers:{"Content-Type":void 0}}:{};if(i)try{await i(o,{...n,action:e,options:a}),null==G||G(`${S}_${e}_success`,{...t,eventSuccess:!0})}catch(n){r.push(e);const{errorMessage:i,errorStatus:o,errorCode:a}=Sx(n);null==G||G(`${S}_${e}_failure`,{...t,eventSuccess:!1,errorMessage:i,errorStatus:o,errorCode:a}),null==D||D({type:"action_failure",error:kx(n),metadata:{action:e,submissionId:H.current}})}else{r.push(e);const n=new Error(`Action "${e}" is not supported`),{errorMessage:i,errorStatus:o,errorCode:a}=Sx(n);null==G||G(`${S}_${e}_failure`,{...t,eventSuccess:!1,errorMessage:i,errorStatus:o,errorCode:a}),null==D||D({type:"unsupported_action",error:n,metadata:{action:e}})}})),{error:r.length>0,errorActions:r}})(d,s,{payload:s,formValues:t,sftpMap:r,formSubmitOptions:c,files:se});if(p.error&&d.length===p.errorActions.length)throw new Ox("All form actions failed",p.errorActions,!0);if(p.error)throw new Ox("Some form actions failed",p.errorActions,!1);if(Z(!1),U(!0),u){const e=fe.post;e&&await e({...s},{payload:s,formValues:t,sftpMap:r,formSubmitOptions:c,files:se,action:"post",options:{}})}((e,t)=>e.some(e=>{if(!Nx(e))return!1;const n=e.dataSource;if(!Array.isArray(n))return!1;const r=t[e.fieldId],i=n.find(e=>e.value===r);return!0===(null==i?void 0:i.popup)}))(b,t)?null==O||O(t,{shouldShowPopup:!0}):null==O||O(t,{shouldShowPopup:!1})}catch(e){let t="unknown";e instanceof Rx?(t="validation",ne(w)):e instanceof Ox?(t=e.isCompleteFailure?"complete_submission_failure":"partial_submission_failure",e.isCompleteFailure?(U(!1),Q(!0)):(U(!0),Q(!1))):(t="unexpected",ne("An error occurred while submitting the form. Please try again later."),Q(!0),U(!1)),null==D||D({type:t,error:kx(e),metadata:{formName:C,submissionId:H.current,formSubmitOptions:v,segmentEventId:S}}),Z(!1)}finally{Z(!1)}var n};return Y?e("div",{ref:W,className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:m})}):K?e("div",{className:"mx-auto min-h-screen w-full px-4 sm:px-6 lg:px-8",children:e("div",{className:"max-w-2xl mx-auto py-4 sm:py-6 lg:py-8",children:h})}):e("section",{id:r,"aria-labelledby":`${r}-title`,children:e("div",{className:"mx-auto min-h-screen max-w-[800px] px-5 py-8 md:px-5 md:py-20",children:t("div",{className:"pb-8 sm:pb-6 lg:pb-4",children:[t("div",{className:"mb-8 lg:mb-16",children:[i&&e(yr,{as:"h2",className:"heading2 text-center",children:i}),o&&e(yr,{as:"h3",className:"subheading3 mt-3 text-center",children:o})]}),d?e("div",{className:"text-center",children:d}):null,u?e("div",{className:"mb-6 w-full px-2 sm:px-4",children:e(yr,{as:"div",className:"body3 mb-2 text-center text-xl sm:mb-4 md:text-left",children:u})}):null,e("div",{className:"mt-8 md:mt-16",children:e(fx.Provider,{value:me,children:t("form",{onSubmit:ge,className:_e("flex w-full flex-col gap-5 md:gap-8",g),children:[Bx(_,b,X,z,q),te&&e(yr,{as:"div",className:"footnote text-text-critical",children:te}),e("div",{className:"flex justify-center",children:j?j({isLoading:_,disabled:J||_,submitLabel:y,onSubmit:ge}):t(Bi,{type:"submit",disabled:J||_,"aria-label":"Submit Form",className:_e("button-submit mt-3 inline-flex h-[64px] w-full items-center justify-center gap-2 whitespace-nowrap rounded-full bg-bg-fill-brand px-[60px] text-base font-semibold text-text-brand-on-bg-fill transition hover:bg-bg-fill-brand-hover disabled:bg-bg-fill-brand-disabled md:mt-8 md:w-auto",x),children:[_&&e(Lx,{}),y]})})]})})}),p&&e(yr,{as:"div",className:"footnote m-2",children:p})]})})})};export{Gi as Accordion,Jy as AddressInputBanner,rx as AnchoredBottomBanner,Fi as AwardMarquee,Kd as BlogCard,zy as BlogGrid,_y as BlogGridBase,Zy as BreadcrumbNavigation,Ud as Button,up as Callout,dp as Cards,wp as Carousel,cx as CartRetentionBanner,nf as ComparisonTable,ix as CookieBanner,ef as CtaCallout,Mx as DynamicForm,Wp as DynamicTabs,ax as EmailInputBlock,tf as FindKinetic,Cp as FloatingBanner,Ip as Footer,dx as IframeEmbed,Np as ImagePromoBar,Qh as Modal,Pp as Navigation,Xp as OrderedList,Op as PrimaryHero,hp as ProductCard,Yy as SearchBlock,qh as ShapeBackgroundWrapper,op as SimpleCard,fp as TestimonialCard,zp as Text,px as dynamicFormConstants,hx as dynamicFormRegex,ki as label1BoldOptions,Ei as renderContentfulRichText,Si as renderContentfulRichTextTable,St as toDocument,Ti as useContentfulRichText,Pi as useProcessedChecklist};
26
26
  //# sourceMappingURL=index.esm.js.map