dibk-design 10.3.2 → 10.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,12 +1,12 @@
1
- (function(X,v){typeof exports=="object"&&typeof module<"u"?v(exports,require("react"),require("react-router-dom"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-router-dom","react-dom"],v):(X=typeof globalThis<"u"?globalThis:X||self,v(X.DibkDesign={},X.React,X.reactRouterDom,X.ReactDOM))})(this,(function(X,v,Tt,hn){"use strict";function fo(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const o=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,o.get?o:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const L=fo(v);var ut={exports:{}},He={};var In;function po(){if(In)return He;In=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(o,n,i){var s=null;if(i!==void 0&&(s=""+i),n.key!==void 0&&(s=""+n.key),"key"in n){i={};for(var l in n)l!=="key"&&(i[l]=n[l])}else i=n;return n=i.ref,{$$typeof:t,type:o,key:s,ref:n!==void 0?n:null,props:i}}return He.Fragment=e,He.jsx=r,He.jsxs=r,He}var je={};var Cn;function mo(){return Cn||(Cn=1,process.env.NODE_ENV!=="production"&&(function(){function t(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===W?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case b:return"Fragment";case S:return"Profiler";case h:return"StrictMode";case E:return"Suspense";case B:return"SuspenseList";case O:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case m:return"Portal";case G:return x.displayName||"Context";case y:return(x._context.displayName||"Context")+".Consumer";case I:var N=x.render;return x=x.displayName,x||(x=N.displayName||N.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case _:return N=x.displayName||null,N!==null?N:t(x.type)||"Memo";case P:N=x._payload,x=x._init;try{return t(x(N))}catch{}}return null}function e(x){return""+x}function r(x){try{e(x);var N=!1}catch{N=!0}if(N){N=console;var M=N.error,Z=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return M.call(N,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",Z),e(x)}}function o(x){if(x===b)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===P)return"<...>";try{var N=t(x);return N?"<"+N+">":"<...>"}catch{return"<...>"}}function n(){var x=K.A;return x===null?null:x.getOwner()}function i(){return Error("react-stack-top-frame")}function s(x){if(ne.call(x,"key")){var N=Object.getOwnPropertyDescriptor(x,"key").get;if(N&&N.isReactWarning)return!1}return x.key!==void 0}function l(x,N){function M(){j||(j=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",N))}M.isReactWarning=!0,Object.defineProperty(x,"key",{get:M,configurable:!0})}function a(){var x=t(this.type);return k[x]||(k[x]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),x=this.props.ref,x!==void 0?x:null}function u(x,N,M,Z,se,oe){var A=M.ref;return x={$$typeof:C,type:x,key:N,props:M,_owner:Z},(A!==void 0?A:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:a}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:se}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:oe}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function c(x,N,M,Z,se,oe){var A=N.children;if(A!==void 0)if(Z)if(re(A)){for(Z=0;Z<A.length;Z++)g(A[Z]);Object.freeze&&Object.freeze(A)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(A);if(ne.call(N,"key")){A=t(x);var T=Object.keys(N).filter(function(ee){return ee!=="key"});Z=0<T.length?"{key: someKey, "+T.join(": ..., ")+": ...}":"{key: someKey}",ae[A+Z]||(T=0<T.length?"{"+T.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
1
+ (function(R,C){typeof exports=="object"&&typeof module<"u"?C(exports,require("react"),require("react-router-dom"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-router-dom","react-dom"],C):(R=typeof globalThis<"u"?globalThis:R||self,C(R.DibkDesign={},R.React,R.reactRouterDom,R.ReactDOM))})(this,(function(R,C,Rt,In){"use strict";function pa(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const a=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,a.get?a:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const L=pa(C);var ct={exports:{}},je={};var xn;function ma(){if(xn)return je;xn=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(a,n,i){var s=null;if(i!==void 0&&(s=""+i),n.key!==void 0&&(s=""+n.key),"key"in n){i={};for(var l in n)l!=="key"&&(i[l]=n[l])}else i=n;return n=i.ref,{$$typeof:t,type:a,key:s,ref:n!==void 0?n:null,props:i}}return je.Fragment=e,je.jsx=r,je.jsxs=r,je}var De={};var yn;function va(){return yn||(yn=1,process.env.NODE_ENV!=="production"&&(function(){function t(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===O?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case b:return"Fragment";case A:return"Profiler";case h:return"StrictMode";case E:return"Suspense";case G:return"SuspenseList";case X:return"Activity"}if(typeof x=="object")switch(typeof x.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),x.$$typeof){case m:return"Portal";case S:return x.displayName||"Context";case y:return(x._context.displayName||"Context")+".Consumer";case v:var _=x.render;return x=x.displayName,x||(x=_.displayName||_.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case B:return _=x.displayName||null,_!==null?_:t(x.type)||"Memo";case F:_=x._payload,x=x._init;try{return t(x(_))}catch{}}return null}function e(x){return""+x}function r(x){try{e(x);var _=!1}catch{_=!0}if(_){_=console;var H=_.error,W=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return H.call(_,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",W),e(x)}}function a(x){if(x===b)return"<>";if(typeof x=="object"&&x!==null&&x.$$typeof===F)return"<...>";try{var _=t(x);return _?"<"+_+">":"<...>"}catch{return"<...>"}}function n(){var x=K.A;return x===null?null:x.getOwner()}function i(){return Error("react-stack-top-frame")}function s(x){if(ee.call(x,"key")){var _=Object.getOwnPropertyDescriptor(x,"key").get;if(_&&_.isReactWarning)return!1}return x.key!==void 0}function l(x,_){function H(){z||(z=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",_))}H.isReactWarning=!0,Object.defineProperty(x,"key",{get:H,configurable:!0})}function o(){var x=t(this.type);return te[x]||(te[x]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),x=this.props.ref,x!==void 0?x:null}function c(x,_,H,W,ce,ae){var k=H.ref;return x={$$typeof:I,type:x,key:_,props:H,_owner:W},(k!==void 0?k:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:o}):Object.defineProperty(x,"ref",{enumerable:!1,value:null}),x._store={},Object.defineProperty(x._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(x,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(x,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ce}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:ae}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function u(x,_,H,W,ce,ae){var k=_.children;if(k!==void 0)if(W)if(ue(k)){for(W=0;W<k.length;W++)g(k[W]);Object.freeze&&Object.freeze(k)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else g(k);if(ee.call(_,"key")){k=t(x);var oe=Object.keys(_).filter(function(M){return M!=="key"});W=0<oe.length?"{key: someKey, "+oe.join(": ..., ")+": ...}":"{key: someKey}",Y[k+W]||(oe=0<oe.length?"{"+oe.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
2
2
  let props = %s;
3
3
  <%s {...props} />
4
4
  React keys must be passed directly to JSX without using spread:
5
5
  let props = %s;
6
- <%s key={someKey} {...props} />`,Z,A,T,A),ae[A+Z]=!0)}if(A=null,M!==void 0&&(r(M),A=""+M),s(N)&&(r(N.key),A=""+N.key),"key"in N){M={};for(var D in N)D!=="key"&&(M[D]=N[D])}else M=N;return A&&l(M,typeof x=="function"?x.displayName||x.name||"Unknown":x),u(x,A,M,n(),se,oe)}function g(x){p(x)?x._store&&(x._store.validated=1):typeof x=="object"&&x!==null&&x.$$typeof===P&&(x._payload.status==="fulfilled"?p(x._payload.value)&&x._payload.value._store&&(x._payload.value._store.validated=1):x._store&&(x._store.validated=1))}function p(x){return typeof x=="object"&&x!==null&&x.$$typeof===C}var f=v,C=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),G=Symbol.for("react.context"),I=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),P=Symbol.for("react.lazy"),O=Symbol.for("react.activity"),W=Symbol.for("react.client.reference"),K=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=Object.prototype.hasOwnProperty,re=Array.isArray,q=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(x){return x()}};var j,k={},z=f.react_stack_bottom_frame.bind(f,i)(),le=q(o(i)),ae={};je.Fragment=b,je.jsx=function(x,N,M){var Z=1e4>K.recentlyCreatedOwnerStacks++;return c(x,N,M,!1,Z?Error("react-stack-top-frame"):z,Z?q(o(x)):le)},je.jsxs=function(x,N,M){var Z=1e4>K.recentlyCreatedOwnerStacks++;return c(x,N,M,!0,Z?Error("react-stack-top-frame"):z,Z?q(o(x)):le)}})()),je}var xn;function vo(){return xn||(xn=1,process.env.NODE_ENV==="production"?ut.exports=po():ut.exports=mo()),ut.exports}var d=vo();const Y=t=>t?.filter(Boolean).join(" ")||"",yn=t=>t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),ho=t=>!t?.colors||!Object.entries(t.colors).length?{}:Object.entries(t.colors).reduce((e,[r,o])=>(r&&o&&(e[`--color-${yn(r)}`]=o),e),{}),Io=t=>!t?.sizes||!Object.entries(t.sizes).length?{}:Object.entries(t.sizes).reduce((e,[r,o])=>(r&&o&&(e[`--size-${yn(r)}`]=o),e),{}),Co=t=>({...ho(t),...Io(t)}),xo=(t,e)=>{if(typeof document>"u")return;const r=document.createElement("style");r.setAttribute("id",t),r.textContent=e;const o=document.getElementById(t);o&&o.remove(),document.head.appendChild(r)},yo=t=>Object.entries(t).map(([e,r])=>`${e}: ${r};`).join(""),Xe=t=>{const e=[];return v.Children.forEach(t,r=>{if(v.isValidElement(r)){const o=r;if(o.type===v.Fragment){const n=Xe(o.props.children);e.push(...n)}else e.push(v.cloneElement(o,{...o.props}))}else e.push(r)}),e},Ao=t=>{if(typeof document>"u")return;const e=document.createElement("button");e.style.position="absolute",e.style.opacity="0",t.prepend(e),e.focus(),e.remove()},Eo=t=>Array.from(t.querySelectorAll('button, [href], input, [tabindex="0"]')).filter(r=>!!r),So=t=>{Ao(t);const e=Eo(t),r=e[0],o=e[e.length-1]||r;r&&(r.onkeydown=n=>{n.key==="Tab"&&n.shiftKey&&(n.preventDefault(),o.focus())}),o&&(o.onclick=()=>{r?.focus()},o.onkeydown=n=>{n.key==="Tab"&&!n.shiftKey&&(n.preventDefault(),r?.focus())})},Ie={accordion:"_accordion_kwqaf_67",default:"_default_kwqaf_73",panel:"_panel_kwqaf_76",content:"_content_kwqaf_77",secondary:"_secondary_kwqaf_80",info:"_info_kwqaf_88",contrast:"_contrast_kwqaf_96",margin:"_margin_kwqaf_104",panelText:"_panelText_kwqaf_138",panelChevron:"_panelChevron_kwqaf_144",expanded:"_expanded_kwqaf_171",initialized:"_initialized_kwqaf_187",hide:"_hide_kwqaf_1",show:"_show_kwqaf_1"},Go=({title:t,buttonProps:e,expanded:r,handleToggleExpand:o})=>d.jsxs("button",{...e,className:Ie.panel,onClick:o,"aria-expanded":r?"true":"false",children:[d.jsx("span",{className:Ie.panelText,children:t}),d.jsx("span",{className:`${Ie.panelChevron} ${r?Ie.expanded:""}`})]}),Bo=({title:t,color:e="default",expanded:r=!1,onToggleExpand:o,buttonProps:n,noMargin:i=!1,initialized:s,children:l,...a})=>{const[u,c]=v.useState(r),[g,p]=v.useState(s),f=()=>{c(!u),p(!0),o&&o()};v.useEffect(()=>{c(r)},[r]);const C=Y([Ie.accordion,e&&Ie[e],!i&&Ie.margin,a.className]);return d.jsxs("div",{className:C,...a,children:[d.jsx(Go,{title:t??"",buttonProps:n??{},expanded:u??!1,handleToggleExpand:f}),d.jsx("div",{className:`${Ie.content} ${g?Ie.initialized:""} ${u?Ie.expanded:""}`,children:l})]})},fe={button:"_button_frvev_161",noMargin:"_noMargin_frvev_181",regular:"_regular_frvev_194",small:"_small_frvev_197",primary:"_primary_frvev_203",noHover:"_noHover_frvev_208",secondary:"_secondary_frvev_224",neutral:"_neutral_frvev_247",disabled:"_disabled_frvev_267",hasErrors:"_hasErrors_frvev_287",hasArrowLeft:"_hasArrowLeft_frvev_293",pushprev:"_pushprev_frvev_1",hasArrowRight:"_hasArrowRight_frvev_331",pushnext:"_pushnext_frvev_1",hasIcon:"_hasIcon_frvev_369",buttonIcon:"_buttonIcon_frvev_373",buttonContent:"_buttonContent_frvev_385",hasIconLeft:"_hasIconLeft_frvev_388",hasIconRight:"_hasIconRight_frvev_391"},Fe=({content:t,color:e="primary",size:r="regular",arrow:o="none",disabled:n=!1,inputType:i,defaultChecked:s,hasErrors:l=!1,noHover:a=!1,noMargin:u=!1,href:c,children:g,iconLeft:p,iconRight:f,className:C,...m})=>{const b=_=>_?d.jsx("span",{className:fe.buttonIcon,children:_}):null,h=_=>{switch(_){case"left":return fe.hasArrowLeft;case"right":return fe.hasArrowRight;default:return""}},S=i==="radio"?s?"primary":"secondary":e,y=Y([fe.button,fe[S],fe[r],h(o),a||i==="radio"?fe.noHover:null,l&&fe.hasErrors,n?fe.disabled:null,u?fe.noMargin:null,p||f?fe.hasIcon:null,C]),G=Y([fe.buttonContent,p?fe.hasIconLeft:null,f?fe.hasIconRight:null]),I={"aria-invalid":l||void 0,href:!n&&c?.length?c:void 0,className:y,...m},E=_=>v.Children.toArray(Xe(_)).map(O=>{if(!v.isValidElement(O))return null;const W=O,K=W.type===Tt.Link&&typeof W.props=="object"&&W.props!==null&&"to"in W.props;return!n&&K?v.cloneElement(W,{className:y,key:`button-${W.key}`,to:W.props.to},b(p),d.jsx("span",{className:G,children:W.props.children}),b(f)):v.createElement("button",{...I,key:`button-${W.key}`},b(p),d.jsx("span",{className:G,children:t||(W.props?W.props.children:null)}),b(f))});if(i==="button")return d.jsxs("button",{type:"button",...I,children:[b(p),d.jsx("span",{className:G,children:t||g}),b(f)]});if(i==="radio"){const _={...I};return delete _.href,d.jsxs("label",{className:y,children:[d.jsx("input",{..._,type:"radio"}),b(p),d.jsx("span",{className:G,children:t}),b(f)]})}if(c?.length&&!n){const _={...I};return"type"in _&&delete _.type,d.jsxs("a",{..._,children:[b(p),d.jsx("span",{className:G,children:t||g}),b(f)]})}return v.isValidElement(g)&&g.type===Tt.Link?d.jsx(v.Fragment,{children:E(v.Children.toArray(g))}):d.jsxs("button",{...I,children:[b(p),d.jsx("span",{className:G,children:t||g}),b(f)]})},Pe={checkBoxIcon:"_checkBoxIcon_181ug_1",showBox:"_showBox_181ug_21",hasErrors:"_hasErrors_181ug_24",checked:"_checked_181ug_34",disabled:"_disabled_181ug_50",checkmark:"_checkmark_181ug_55",checkmarkIcon:"_checkmarkIcon_181ug_62"},An=({size:t="20px",checked:e=!1,disabled:r=!1,showBox:o=!0,hasErrors:n=!1,checkmarkCharacter:i="✔",checkmarkIconSrc:s})=>{const l={height:t,width:t,fontSize:t},a=[Pe.checkBoxIcon,e&&Pe.checked,r&&Pe.disabled,o&&Pe.showBox,n&&Pe.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:a,style:l,children:d.jsx("span",{"aria-hidden":!0,className:Pe.checkmark,children:e?s?d.jsx("img",{src:s,alt:"","aria-hidden":"true",className:Pe.checkmarkIcon}):i:""})})},Ve="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32.275'%20height='30.469'%20focusable='false'%3e%3cpath%20fill='%239d2024'%20d='m0%2014.355%202.246-6.933c5.176%201.823%208.936%203.402%2011.28%204.736-.62-5.892-.945-9.944-.977-12.158h7.08c-.098%203.223-.472%207.26-1.123%2012.11%203.353-1.693%207.194-3.256%2011.523-4.688l2.246%206.933c-4.134%201.368-8.186%202.28-12.158%202.735%201.986%201.725%204.785%204.801%208.399%209.228l-5.86%204.15c-1.888-2.57-4.118-6.07-6.69-10.497-2.408%204.59-4.524%208.089-6.347%2010.498l-5.762-4.15c3.776-4.656%206.478-7.732%208.106-9.23-4.2-.813-8.187-1.724-11.963-2.734'/%3e%3c/svg%3e",En="data:image/svg+xml,%3csvg%20width='14'%20height='11'%20viewBox='0%200%2014%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.90476%203.80952L0%205.71429L4.7619%2010.4762L13.3333%201.90476L11.4286%200L4.7619%206.66667L1.90476%203.80952Z'%20fill='%23003045'/%3e%3c/svg%3e",ze={checkBoxInput:"_checkBoxInput_1octn_1",requiredSymbol:"_requiredSymbol_1octn_6",disabled:"_disabled_1octn_13",labelText:"_labelText_1octn_19",hasErrors:"_hasErrors_1octn_27"},Rt=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:i="",onChange:s,hasErrors:l=!1,checkmarkCharacter:a="✔",tabIndex:u=0,children:c,"aria-controls":g,"aria-describedby":p,value:f})=>{const C=[ze.checkBoxInput,e&&ze.disabled,l&&ze.hasErrors].filter(Boolean).join(" "),m={checked:t,disabled:e,showBox:!0,hasErrors:l,checkmarkCharacter:a,checkmarkIconSrc:En},b={id:n,name:i,type:"checkbox",checked:t,disabled:e,required:r||o,onChange:s,tabIndex:u,"aria-controls":g,"aria-invalid":l?"true":void 0,"aria-describedby":p,value:f};return d.jsxs("label",{htmlFor:n,className:C,children:[d.jsx(An,{...m}),d.jsx("input",{...b}),d.jsxs("span",{className:ze.labelText,children:[c,r&&d.jsx("img",{src:Ve,alt:"",className:ze.requiredSymbol})]})]})},Sn={checkBoxList:"_checkBoxList_1cjjb_1",requiredSymbol:"_requiredSymbol_1cjjb_16"},Xt={headerContainer:"_headerContainer_1dym9_1",header:"_header_1dym9_1","size-1":"_size-1_1dym9_8",bigHeader:"_bigHeader_1dym9_17","size-2":"_size-2_1dym9_29","size-3":"_size-3_1dym9_37","size-4":"_size-4_1dym9_45","size-5":"_size-5_1dym9_53"},Ye=({id:t,content:e,size:r=1,htmlTag:o,htmlFor:n,children:i})=>{const s=o||`h${r}`,l=Y([Xt.header,Xt[`size-${r}`]]),a=v.createElement(s,{className:l,id:t||void 0,htmlFor:n||void 0},e?.length?e:i);return d.jsx("div",{className:Xt.headerContainer,children:a})},_o=({legend:t,legendSize:e,required:r=!1,compact:o=!1,children:n})=>{const i=s=>Xe(s).map(a=>v.isValidElement(a)&&a.type?.displayName==="RadioButtonListItem"?v.cloneElement(a,{requiredGroup:r,compact:o,key:`checkboxListItem-${a.key}`}):a);return d.jsxs("fieldset",{className:Sn.checkBoxList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(Ye,{size:e,children:t}):t,r&&d.jsx("img",{src:Ve,alt:"",className:Sn.requiredSymbol})]}),i(v.Children.toArray(n))]})},Je={checkBoxListItem:"_checkBoxListItem_j7hys_1",compact:"_compact_j7hys_26",disabled:"_disabled_j7hys_34",checked:"_checked_j7hys_37"},wo=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:i="",onChange:s,compact:l=!1,hasErrors:a=!1,checkmarkCharacter:u="✔","aria-controls":c,"aria-describedby":g,children:p,value:f})=>{const C=Y([Je.checkBoxListItem,t&&Je.checked,e&&Je.disabled,l&&Je.compact,a&&Je.hasErrors]),m={onChange:s??(()=>{}),checked:t,disabled:e,required:r,requiredGroup:o,hasErrors:a,"aria-controls":c,"aria-describedby":g,id:n,name:i,checkmarkCharacter:u,value:f};return d.jsx("div",{className:C,children:d.jsx(Rt,{...m,children:p})})},No={container:"_container_f8z49_1"},Gn=({maxWidth:t,children:e})=>{const r={"--max-width":t?.length?t:void 0};return d.jsx("div",{className:No.container,style:r,children:e})},Me={contentBox:"_contentBox_1ndvc_1",link:"_link_1ndvc_8",default:"_default_1ndvc_21",content:"_content_1ndvc_1",title:"_title_1ndvc_25",secondary:"_secondary_1ndvc_28",regular:"_regular_1ndvc_36",large:"_large_1ndvc_45"},Vo=({title:t="",titleSize:e="regular",content:r="",children:o,color:n="default",href:i=null})=>{const s=()=>{if(!t)return null;const p=`${Me.title} ${Me[e]}`;return d.jsx("h2",{className:p,children:t})},l=Me[n]||"",a=i?Me.link:"",u=`${Me.contentBox} ${l} ${a}`.trim(),c=r?.length?r:o,g=d.jsxs(d.Fragment,{children:[s(),d.jsx("div",{className:Me.content,children:c})]});return i?d.jsx("a",{href:i,className:u,children:g}):d.jsx("div",{className:u,children:g})},Bn={descriptionDetails:"_descriptionDetails_1d1dj_1",compact:"_compact_1d1dj_7"},Fo=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dd",{className:Y([Bn.descriptionDetails,t&&Bn.compact]),style:{"--title-width":e||void 0},children:r}),_n={descriptionList:"_descriptionList_w11ua_1",compact:"_compact_w11ua_13"},Po=({compact:t=!1,titleWidth:e,children:r})=>{const o=n=>Xe(n).map(s=>v.isValidElement(s)?v.cloneElement(s,{compact:t,titleWidth:e,key:`descriptionListItem-${s.key}`}):s);return v.createElement("dl",{className:Y([_n.descriptionList,t&&_n.compact]),style:{"--title-width":e||void 0}},o(v.Children.toArray(r)))},wn={descriptionTerm:"_descriptionTerm_uuapd_1",compact:"_compact_uuapd_8"},To=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dt",{className:Y([wn.descriptionTerm,t&&wn.compact]),style:{"--title-width":e||void 0},children:r}),Ro="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%3e%3cpath%20fill='%23072938'%20stroke='%23072938'%20stroke-linecap='round'%20stroke-width='3.23'%20d='m3.97%203.57%2017.44%2018.2m-17.44.01L21.41%203.57'/%3e%3c/svg%3e",Ce={dialog:"_dialog_tgq37_19",backdrop:"_backdrop_tgq37_34",backdropTransparent:"_backdropTransparent_tgq37_45",dialogContainer:"_dialogContainer_tgq37_48",modalInVertical:"_modalInVertical_tgq37_1",dialogContent:"_dialogContent_tgq37_60",dialogHeader:"_dialogHeader_tgq37_67",dialogBody:"_dialogBody_tgq37_77",noPadding:"_noPadding_tgq37_81",isSidebar:"_isSidebar_tgq37_84",left:"_left_tgq37_102",modalInHorizontalLeft:"_modalInHorizontalLeft_tgq37_1",right:"_right_tgq37_108",modalInHorizontalRight:"_modalInHorizontalRight_tgq37_1"},Xo=({maxWidth:t="none",noPadding:e,title:r,onClickOutside:o,modal:n=!0,attachTo:i,hidden:s=!1,children:l})=>{const[a,u]=v.useState(null),c=v.useRef(null),g=v.useCallback(m=>{m&&So(m)},[]);v.useEffect(()=>{if(s)return;const m=b=>{b.key==="Escape"&&o&&o()};return document.addEventListener("keydown",m,!1),()=>{document.removeEventListener("keydown",m,!1)}},[s,o]),v.useEffect(()=>{if(typeof window>"u")return;const b=(()=>{const S="dibk-design-dialog-root";let y=document.getElementById(S);return y||(y=document.createElement("div"),y.setAttribute("id",S),document.body.appendChild(y)),y})(),h=document.createElement("div");return b.appendChild(h),u(h),()=>{u(null),b.contains(h)&&b.removeChild(h)}},[]),v.useEffect(()=>{if(s||!n)return;const m=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=m}},[s,n]);const p=i&&Y([Ce.isSidebar,Ce[i]]),f={"--max-width":t};if(s||!a)return null;const C=n?{role:"dialog","aria-modal":"true"}:{role:"dialog"};return hn.createPortal(d.jsxs("div",{className:Y([Ce.dialog,p]),...C,children:[d.jsx("button",{type:"button",className:Y([Ce.backdrop,!n&&Ce.backdropTransparent]),onClick:o,"aria-label":"Lukk dialog"}),d.jsx("div",{ref:c,className:Ce.dialogContainer,style:f,children:d.jsxs("div",{ref:g,className:Y([Ce.dialogContent,e&&Ce.noPadding]),children:[r&&d.jsxs("div",{className:Ce.dialogHeader,children:[r?d.jsx(Ye,{size:2,children:r}):d.jsx("span",{}),d.jsx(Fe,{color:"neutral","aria-label":"Lukk dialog",onClick:o,iconRight:d.jsx("img",{src:Ro,alt:""}),children:"Lukk"})]}),d.jsx("div",{className:Ce.dialogBody,"aria-live":"assertive",children:l})]})})]}),a)},$e={dragAndDropFileInput:"_dragAndDropFileInput_1hivh_1",requiredSymbol:"_requiredSymbol_1hivh_1",dragAndDropContainer:"_dragAndDropContainer_1hivh_8",highlighted:"_highlighted_1hivh_26",hasErrors:"_hasErrors_1hivh_30"},Nn="data:image/svg+xml,%3csvg%20width='24'%20height='28'%20viewBox='0%200%2024%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cellipse%20cx='12.0008'%20cy='20.0008'%20rx='1.2'%20ry='1.2'%20fill='black'/%3e%3cpath%20d='M12.0008%209.19922C12.6635%209.19922%2013.2007%2010.0348%2013.2008%2011.0656C13.2008%2011.2742%2013.1767%2011.4744%2013.1362%2011.6617L12.6008%2016.6656C12.6008%2017.181%2012.3322%2017.5992%2012.0008%2017.5992C11.6694%2017.5992%2011.4008%2017.181%2011.4008%2016.6656L10.8646%2011.6617C10.8241%2011.4745%2010.8008%2011.2741%2010.8008%2011.0656C10.8009%2010.0348%2011.3381%209.19922%2012.0008%209.19922Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.833%205.08415C11.3507%204.16987%2012.6456%204.16987%2013.1633%205.08415L22.4834%2021.5413C23.0007%2022.4554%2022.3534%2023.5982%2021.3182%2023.5984H2.67934C1.64389%2023.5984%200.996537%2022.4556%201.51416%2021.5413L10.833%205.08415ZM12.2898%206.28415C12.1603%206.05562%2011.8373%206.0557%2011.7078%206.28415L2.96965%2021.7127C2.84068%2021.9412%203.0027%2022.2268%203.26127%2022.227H20.735C20.9938%2022.227%2021.1559%2021.9413%2021.0266%2021.7127L12.2898%206.28415Z'%20fill='black'/%3e%3c/svg%3e",Vn={errorMessage:"_errorMessage_15d1p_1",errorSign:"_errorSign_15d1p_10"},Ue=({id:t,content:e=""})=>{const r=()=>({id:t?.length?t:void 0,className:Vn.errorMessage});return(typeof e=="string"?e.trim().length>0:!!e)?d.jsxs("span",{"aria-live":"polite",...r(),children:[d.jsx("img",{src:Nn,alt:"",className:Vn.errorSign}),e]}):null},Qe={label:"_label_sxta8_1",inline:"_inline_sxta8_11",normalCursor:"_normalCursor_sxta8_14",labelText:"_labelText_sxta8_18",subLabel:"_subLabel_sxta8_23"},qe=({inline:t=!1,normalCursor:e=!1,htmlTag:r="label",children:o,subLabel:n,id:i,...s})=>{const l=[Qe.label,t&&Qe.inline,e&&Qe.normalCursor].filter(Boolean).join(" "),a={...s,className:l,id:i||void 0};return v.createElement(r,a,d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Qe.labelText,children:o}),n&&d.jsx("span",{className:Qe.subLabel,children:n})]}))},Mo=({id:t,name:e,onSelectChange:r,onDragAndDropChange:o,label:n="",subLabel:i="",buttonContent:s,buttonContentWhenSelectedFile:l,selectedFileName:a,hasErrors:u=!1,errorMessage:c="",required:g=!1,"data-transaction-name":p})=>{const[f,C]=v.useState(!1),m=v.useRef(null),b=v.useRef(null),h=P=>{P.preventDefault(),P.stopPropagation()},S=()=>{b.current?.click()},y=()=>`${t}-errorMessage`,G={id:t,"aria-describedby":u&&c?.toString().length?y():void 0,"aria-invalid":u?"true":void 0,name:e,required:g},I=a&&l||s,E=v.useCallback(()=>C(!0),[]),B=v.useCallback(()=>C(!1),[]),_=v.useCallback(P=>{h(P),P.dataTransfer?.files&&o(P.dataTransfer.files),C(!1)},[o]);return v.useEffect(()=>{const P=m.current;if(P)return["dragenter","dragover"].forEach(O=>{P.addEventListener(O,E)}),["dragleave","drop"].forEach(O=>{P.addEventListener(O,B)}),["dragenter","dragover","dragleave","drop"].forEach(O=>{P.addEventListener(O,h)}),P.addEventListener("drop",_),()=>{["dragenter","dragover","dragleave","drop"].forEach(O=>{P.removeEventListener(O,h),P.removeEventListener(O,E),P.removeEventListener(O,B)}),P.removeEventListener("drop",_)}},[o]),d.jsxs("div",{className:$e.dragAndDropFileInput,children:[d.jsxs(qe,{htmlFor:t,subLabel:i,children:[n,g&&d.jsx("img",{src:Ve,alt:"",className:$e.requiredSymbol})]}),d.jsxs("div",{ref:m,className:`${$e.dragAndDropContainer} ${f?$e.highlighted:""} ${u?$e.hasErrors:""}`,children:[a?d.jsx("div",{children:d.jsxs("span",{children:[d.jsx("b",{children:"Valgt fil:"})," ",a]})}):d.jsx("div",{children:"Slipp fil her"}),d.jsx("input",{...G,ref:b,type:"file",onChange:r}),s&&d.jsxs(d.Fragment,{children:[d.jsx("div",{children:a?"":"eller klikk på knappen for å velge fil"}),d.jsx(Fe,{size:"small",inputType:"button",color:"secondary",onClick:S,content:I,"data-transaction-name":p})]})]}),d.jsx(Ue,{id:y(),content:c})]})},Fn="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9984%202.39844C17.3004%202.39844%2021.5984%206.6965%2021.5984%2011.9984C21.5984%2017.3004%2017.3004%2021.5984%2011.9984%2021.5984C6.6965%2021.5984%202.39844%2017.3004%202.39844%2011.9984C2.39844%206.6965%206.6965%202.39844%2011.9984%202.39844ZM11.9984%203.59844C7.35925%203.59844%203.59844%207.35925%203.59844%2011.9984C3.59844%2016.6376%207.35925%2020.3984%2011.9984%2020.3984C16.6376%2020.3984%2020.3984%2016.6376%2020.3984%2011.9984C20.3984%207.35925%2016.6376%203.59844%2011.9984%203.59844Z'%20fill='black'/%3e%3cellipse%20cx='12.0203'%20cy='8.37578'%20rx='1.2'%20ry='1.2'%20fill='black'/%3e%3cpath%20d='M13.1563%2011.1562V17.5934H13.1586C13.3618%2017.5934%2013.5266%2017.7583%2013.5266%2017.9613C13.5264%2018.1642%2013.3617%2018.3281%2013.1586%2018.3281L13.1563%2018.327L11.0984%2018.3281V18.3258H10.7551C10.7469%2018.3263%2010.7388%2018.3281%2010.7305%2018.3281C10.5274%2018.3281%2010.3627%2018.1642%2010.3625%2017.9613C10.3625%2017.7591%2010.526%2017.5946%2010.7281%2017.5934H10.9133C10.9133%2017.5934%2010.9906%2017.5875%2011.0609%2017.4938C11.1313%2017.4%2011.0984%2017.2172%2011.0984%2017.2172V12.9C11.0984%2012.9%2011.1266%2012.6293%2011.0047%2012.4781C10.8828%2012.327%2010.7094%2012.327%2010.7094%2012.327H10.3203C9.9969%2012.327%209.73469%2012.0652%209.73438%2011.7422C9.73438%2011.4189%209.99671%2011.1562%2010.3203%2011.1562H13.1563Z'%20fill='black'/%3e%3c/svg%3e",Lo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.37223%2011.899L7.78938%2010.4086L11.0086%2014.0181L16.9006%207.59082L18.5625%209.10819L11.0086%2017.0301L6.37223%2011.899Z'%20fill='%23202020'/%3e%3cpath%20d='M11.9984%202.40039C17.3004%202.40039%2021.5984%206.69846%2021.5984%2012.0004C21.5984%2017.3023%2017.3004%2021.6004%2011.9984%2021.6004C6.6965%2021.6004%202.39844%2017.3023%202.39844%2012.0004C2.39844%206.69846%206.6965%202.40039%2011.9984%202.40039ZM11.9984%203.60039C7.35925%203.60039%203.59844%207.3612%203.59844%2012.0004C3.59844%2016.6396%207.35925%2020.4004%2011.9984%2020.4004C16.6376%2020.4004%2020.3984%2016.6396%2020.3984%2012.0004C20.3984%207.3612%2016.6376%203.60039%2011.9984%203.60039Z'%20fill='black'/%3e%3c/svg%3e",Wo="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9984%202.39844C17.3004%202.39844%2021.5984%206.6965%2021.5984%2011.9984C21.5984%2017.3004%2017.3004%2021.5984%2011.9984%2021.5984C6.6965%2021.5984%202.39844%2017.3004%202.39844%2011.9984C2.39844%206.6965%206.6965%202.39844%2011.9984%202.39844ZM11.9984%203.59844C7.35925%203.59844%203.59844%207.35925%203.59844%2011.9984C3.59844%2016.6376%207.35925%2020.3984%2011.9984%2020.3984C16.6376%2020.3984%2020.3984%2016.6376%2020.3984%2011.9984C20.3984%207.35925%2016.6376%203.59844%2011.9984%203.59844Z'%20fill='black'/%3e%3ccircle%20cx='12.0008'%20cy='17.45'%20r='1.2'%20fill='black'/%3e%3cpath%20d='M12.0008%205.07422C12.9741%205.07422%2013.7631%206.05478%2013.7633%207.26445C13.7633%207.50925%2013.728%207.74425%2013.6684%207.96406L12.882%2013.8363C12.882%2014.4413%2012.4875%2014.932%2012.0008%2014.932C11.5141%2014.932%2011.1195%2014.4413%2011.1195%2013.8363L10.332%207.96406C10.2725%207.74433%2010.2383%207.50914%2010.2383%207.26445C10.2385%206.05478%2011.0275%205.07422%2012.0008%205.07422Z'%20fill='black'/%3e%3c/svg%3e",xe={box:"_box_19oe1_7",messageIn:"_messageIn_19oe1_1",fullScreen:"_fullScreen_19oe1_15",noBorder:"_noBorder_19oe1_18",info:"_info_19oe1_21",warning:"_warning_19oe1_25",error:"_error_19oe1_29",tip:"_tip_19oe1_33",success:"_success_19oe1_37",inner:"_inner_19oe1_42",hasIcon:"_hasIcon_19oe1_58",icon:"_icon_19oe1_67",iconImage:"_iconImage_19oe1_76",content:"_content_19oe1_82",title:"_title_19oe1_87",body:"_body_19oe1_94"},Pn=({title:t,children:e="",variant:r="info",fullScreen:o=!1,noBorder:n=!1,hideIcon:i=!1,icon:s,className:l})=>{const a={info:Fn,warning:Wo,error:Nn,tip:Fn,success:Lo},u=s??d.jsx("img",{src:a[r],alt:"",className:xe.iconImage}),c=!i&&u;return d.jsx("div",{className:Y([xe.box,xe[r],o&&xe.fullScreen,n&&xe.noBorder,c?xe.hasIcon:null,l]),children:d.jsxs("div",{className:xe.inner,children:[c?d.jsx("div",{className:xe.icon,children:u}):null,d.jsxs("div",{className:xe.content,children:[t?d.jsx(Ye,{size:3,children:t}):null,e?d.jsx("div",{className:xe.body,children:e}):null]})]})})},Oo=({type:t="warning",children:e="",...r})=>d.jsx(Pn,{variant:t,children:e,...r}),ko={footer:"_footer_19fad_1"},Zo=({children:t})=>d.jsx("footer",{className:ko.footer,children:d.jsx(Gn,{children:t})}),ve={inputField:"_inputField_1x7wx_1",requiredSymbol:"_requiredSymbol_1x7wx_1",file:"_file_1x7wx_9",input:"_input_1x7wx_1",hasErrors:"_hasErrors_1x7wx_44",dateInput:"_dateInput_1x7wx_53",inputWithButton:"_inputWithButton_1x7wx_71",fileInputContainer:"_fileInputContainer_1x7wx_79",visuallyHidden:"_visuallyHidden_1x7wx_92",caption:"_caption_1x7wx_103"},Tn=t=>{if(t==null||t==="")return;const e=t instanceof Date?t:new Date(t);if(Number.isNaN(e.getTime()))return;const r=e.getFullYear(),o=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return`${r}-${o}-${n}`},Do=t=>!t||["text","search","url","email","tel","password","number"].includes(t),Ho=({id:t,onChange:e=()=>{},onBlur:r,onFocus:o,name:n="",type:i="text",disabled:s=!1,required:l=!1,readOnly:a,width:u,value:c,defaultValue:g,elementKey:p,label:f="",buttonColor:C="primary",buttonContent:m,actionButtonContent:b,actionButtonIconLeft:h,actionButtonIconRight:S,actionButtonOnClick:y,actionButtonDisabled:G=!1,actionButtonAriaLabel:I,selectedFileName:E,placeholder:B="",min:_,max:P,role:O,"aria-describedby":W,"aria-autocomplete":K,hasErrors:ne=!1,errorMessage:re="",noMargin:q=!1,caption:j})=>{const k=v.useRef(null),z=()=>`${t}-errorMessage`,le=`${t}-caption`,ae=u?{maxWidth:u}:{},x=i==="date"&&!s&&!a,N=!!b&&!!y&&i!=="file",M=()=>{if(!x||!k.current)return;document.activeElement!==k.current&&k.current.focus(),k.current.showPicker?.()},Z=ee=>{M(),o?.(ee)},se=()=>{i==="file"&&(s||k.current?.click())},oe=ee=>{i!=="file"||s||(ee.key==="Enter"||ee.key===" ")&&(ee.preventDefault(),k.current?.click())},A=(()=>{if(i==="file")return{};if(i==="date"){const ue=c!==void 0?Tn(c):void 0,w=c===void 0&&g!==void 0?Tn(g):void 0;return c!==void 0?{value:ue??""}:g!==void 0?{defaultValue:w}:{}}const ee=ue=>ue instanceof Date?String(ue.getTime()):ue;return c!==void 0?{value:ee(c)}:g!==void 0?{defaultValue:ee(g)}:{}})(),T=Y([ne&&ve.hasErrors,i==="date"&&ve.dateInput,i==="file"&&ve.visuallyHidden]),D={name:n,readOnly:a,disabled:s,required:l,type:i,role:O,id:t,min:_,max:P,onChange:e,onBlur:r,onFocus:Z,placeholder:i==="file"?void 0:B,className:T||void 0,"aria-describedby":[ne&&re?z():null,j?le:null,W].filter(Boolean).join(" ").trim()||void 0,"aria-invalid":ne||void 0,"aria-autocomplete":Do(i)?K:void 0,style:N?void 0:ae,...A};return d.jsxs("div",{className:Y([ve.inputField,ve[i],q&&ve.noMargin]),children:[d.jsxs(qe,{htmlFor:t,children:[f,l&&d.jsx("img",{src:Ve,alt:"",className:ve.requiredSymbol}),i==="file"&&d.jsxs("div",{className:ve.fileInputContainer,onClick:se,onKeyDown:oe,role:"button",tabIndex:s?-1:0,"aria-disabled":s||void 0,children:[d.jsx("span",{className:ve.input,children:E}),m&&d.jsx(Fe,{color:C,inputType:"button",onClick:()=>k.current?.click(),content:m})]})]}),N?d.jsxs("div",{className:ve.inputWithButton,style:ae,children:[d.jsx("input",{...D,ref:k},p||t),d.jsx(Fe,{color:C,inputType:"button",onClick:y,disabled:G,"aria-label":I,iconLeft:h,iconRight:S,noMargin:!0,children:b})]}):d.jsx("input",{...D,ref:k},p||t),j?d.jsx("p",{className:ve.caption,id:le,children:j}):null,ne&&re?d.jsx(Ue,{id:z(),content:re}):null]})},Rn={list:"_list_16gsl_1",compact:"_compact_16gsl_10"},jo=({listStyle:t,compact:e=!1,ordered:r=!1,children:o})=>{const n=a=>Xe(a).map(c=>v.isValidElement(c)?v.cloneElement(c,{compact:e,key:`listItem-${c.key}`}):c),i=r?"ol":"ul",s=r?"decimal":"disc";return v.createElement(i,{className:`${Rn.list} ${e?Rn.compact:""}`,style:{"--listStyle":t||s}},n(v.Children.toArray(o)))},Xn={listItem:"_listItem_33xs0_1",compact:"_compact_33xs0_5"},zo=({compact:t=!1,children:e})=>{const r=Y([Xn.listItem,t&&Xn.compact]);return d.jsx("li",{className:r,children:e})},Mn={LoadingAnimation:"_LoadingAnimation_1blqf_1",dot:"_dot_1blqf_11"},Ln=({ariaLabel:t="Laster inn"})=>{const e=[0,.15,.3];return d.jsx("div",{role:"img","aria-label":t,className:Mn.LoadingAnimation,children:e.map(r=>d.jsx("span",{className:Mn.dot,style:{animationDelay:`${r}s`}},r))})},Yo=(t,e)=>e?t?.logoCompact??"":t?.logo??"",Jo=t=>t?.logoPadding??"",$o=t=>t?.appName??"",Ke={navigationBarContainer:"_navigationBarContainer_1s633_1",compact:"_compact_1s633_11",navigationBar:"_navigationBar_1s633_1",logoContainer:"_logoContainer_1s633_38",secondary:"_secondary_1s633_45",mainContentLink:"_mainContentLink_1s633_58"},Uo=({logoLink:t="",logoLinkTitle:e,openLogoLinkInNewTab:r,theme:o,compact:n,color:i="neutral"})=>{const s=a=>({padding:Jo(a)}),l=(a,u)=>{const c=Yo(o,n),g=$o(o),p=a&&u?"":c&&g?`${g} logo`:"DIBK logo",f=c?d.jsx("img",{alt:p,src:c,style:s(o)}):null;return a?.length?d.jsx("a",{href:a,title:u,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,children:f}):f};return d.jsx("div",{className:Y([n&&Ke.compact,i&&Ke[i],Ke.navigationBarContainer]),children:d.jsx("div",{className:Y([Ke.navigationBar]),children:d.jsx("div",{className:Ke.logoContainer,children:l(t,e)})})})},Mt={paper:"_paper_1lgl3_1",noMargin:"_noMargin_1lgl3_6",noPadding:"_noPadding_1lgl3_9"},Qo=({noMargin:t=!1,noPadding:e=!1,children:r})=>{const o=[Mt.paper,t&&Mt.noMargin,e&&Mt.noPadding].filter(Boolean).join(" ");return d.jsx("div",{className:o,children:r})},Wn={paragraph:"_paragraph_1aaue_1",lead:"_lead_1aaue_9",large:"_large_1aaue_14",small:"_small_1aaue_19"},qo=({id:t,htmlTag:e="p",variant:r="small",children:o,className:n})=>{const i=Y([Wn.paragraph,Wn[r],n]);return v.createElement(e,{className:i,id:t||void 0},o)},On={progressBar:"_progressBar_t5aid_1",hasErrors:"_hasErrors_t5aid_23"},Ko=({progress:t=0,hasErrors:e=!1})=>d.jsx("div",{className:`${On.progressBar} ${e?On.hasErrors:""}`,role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":100,style:{"--value":t}}),ct={radioButtonIcon:"_radioButtonIcon_32fe0_1",hasErrors:"_hasErrors_32fe0_22",checked:"_checked_32fe0_32",disabled:"_disabled_32fe0_48"},kn=({size:t="10px",checked:e=!1,disabled:r=!1,hasErrors:o=!1})=>{const n={height:t,width:t},i=[ct.radioButtonIcon,e&&ct.checked,r&&ct.disabled,o&&ct.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:i,style:n})},Le={radioButtonInput:"_radioButtonInput_9xta0_1",requiredSymbol:"_requiredSymbol_9xta0_6",disabled:"_disabled_9xta0_13",labelText:"_labelText_9xta0_19",hasErrors:"_hasErrors_9xta0_27"},Lt=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:i="",onChange:s,hasErrors:l=!1,inputValue:a,tabIndex:u,children:c,"aria-controls":g,"aria-describedby":p})=>{const f=[Le.radioButtonInput,t&&Le.checked,e&&Le.disabled,l&&Le.hasErrors].filter(Boolean).join(" "),C={checked:t,disabled:e,hasErrors:l},m={id:n,name:i,type:"radio",value:a,checked:t,disabled:e,required:r||o,onChange:s,tabIndex:u??void 0,"aria-controls":g,"aria-invalid":l?"true":void 0,"aria-describedby":p};return d.jsxs("label",{htmlFor:n,className:f,children:[d.jsx(kn,{...C}),d.jsx("input",{...m}),d.jsxs("span",{className:Le.labelText,children:[c,r&&d.jsx("img",{src:Ve,alt:"",className:Le.requiredSymbol})]})]})},Zn={radioButtonList:"_radioButtonList_18lo8_1",requiredSymbol:"_requiredSymbol_18lo8_16"},ei=({legend:t,legendSize:e,required:r=!1,compact:o=!1,children:n})=>{const i=s=>Xe(s).map(a=>v.isValidElement(a)&&a.type?.displayName==="RadioButtonListItem"?v.cloneElement(a,{requiredGroup:r,compact:o,key:`radioButtonListItem-${a.key}`}):a);return d.jsxs("fieldset",{className:Zn.radioButtonList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(Ye,{size:e,children:t}):t,r&&d.jsx("img",{src:Ve,alt:"",className:Zn.requiredSymbol})]}),i(v.Children.toArray(n))]})},et={radioButtonListItem:"_radioButtonListItem_14vz4_1",compact:"_compact_14vz4_26",disabled:"_disabled_14vz4_34",checked:"_checked_14vz4_37"},ti=({inputValue:t,checked:e=!1,disabled:r=!1,required:o=!1,requiredGroup:n=!1,name:i="",id:s,onChange:l,compact:a=!1,hasErrors:u=!1,"aria-controls":c,"aria-describedby":g,children:p})=>{const f=Y([et.radioButtonListItem,e&&et.checked,r&&et.disabled,a&&et.compact,u&&et.hasErrors]),C={onChange:l,inputValue:t,checked:e,disabled:r,required:o,requiredGroup:n,hasErrors:u,"aria-controls":c,"aria-describedby":g,id:s,name:i};return d.jsx("div",{className:f,children:d.jsx(Lt,{...C,children:p})})};function Te(t){"@babel/helpers - typeof";return Te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Te(t)}function ni(t,e){if(Te(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e);if(Te(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Dn(t){var e=ni(t,"string");return Te(e)=="symbol"?e:e+""}function tt(t,e,r){return(e=Dn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Hn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);e&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,o)}return r}function F(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?Hn(Object(r),!0).forEach(function(o){tt(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Hn(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function ri(t){if(Array.isArray(t))return t}function oi(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var o,n,i,s,l=[],a=!0,u=!1;try{if(i=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;a=!1}else for(;!(a=(o=i.call(r)).done)&&(l.push(o.value),l.length!==e);a=!0);}catch(c){u=!0,n=c}finally{try{if(!a&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(u)throw n}}return l}}function Wt(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,o=Array(e);r<e;r++)o[r]=t[r];return o}function jn(t,e){if(t){if(typeof t=="string")return Wt(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wt(t,e):void 0}}function ii(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _e(t,e){return ri(t)||oi(t,e)||jn(t,e)||ii()}function ai(t,e){if(t==null)return{};var r={};for(var o in t)if({}.hasOwnProperty.call(t,o)){if(e.indexOf(o)!==-1)continue;r[o]=t[o]}return r}function we(t,e){if(t==null)return{};var r,o,n=ai(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(o=0;o<i.length;o++)r=i[o],e.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var si=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function li(t){var e=t.defaultInputValue,r=e===void 0?"":e,o=t.defaultMenuIsOpen,n=o===void 0?!1:o,i=t.defaultValue,s=i===void 0?null:i,l=t.inputValue,a=t.menuIsOpen,u=t.onChange,c=t.onInputChange,g=t.onMenuClose,p=t.onMenuOpen,f=t.value,C=we(t,si),m=v.useState(l!==void 0?l:r),b=_e(m,2),h=b[0],S=b[1],y=v.useState(a!==void 0?a:n),G=_e(y,2),I=G[0],E=G[1],B=v.useState(f!==void 0?f:s),_=_e(B,2),P=_[0],O=_[1],W=v.useCallback(function(z,le){typeof u=="function"&&u(z,le),O(z)},[u]),K=v.useCallback(function(z,le){var ae;typeof c=="function"&&(ae=c(z,le)),S(ae!==void 0?ae:z)},[c]),ne=v.useCallback(function(){typeof p=="function"&&p(),E(!0)},[p]),re=v.useCallback(function(){typeof g=="function"&&g(),E(!1)},[g]),q=l!==void 0?l:h,j=a!==void 0?a:I,k=f!==void 0?f:P;return F(F({},C),{},{inputValue:q,menuIsOpen:j,onChange:W,onInputChange:K,onMenuClose:re,onMenuOpen:ne,value:k})}function R(){return R=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var o in r)({}).hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},R.apply(null,arguments)}function ui(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e){for(var r=0;r<e.length;r++){var o=e[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,Dn(o.key),o)}}function ci(t,e,r){return e&&zn(t.prototype,e),r&&zn(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ot(t,e){return Ot=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Ot(t,e)}function di(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Ot(t,e)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},dt(t)}function Yn(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Yn=function(){return!!t})()}function gi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bi(t,e){if(e&&(Te(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return gi(t)}function fi(t){var e=Yn();return function(){var r,o=dt(t);if(e){var n=dt(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return bi(this,r)}}function pi(t){if(Array.isArray(t))return Wt(t)}function mi(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vi(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
8
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function kt(t){return pi(t)||mi(t)||jn(t)||vi()}function hi(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function Ii(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var Ci=(function(){function t(r){var o=this;this._insertTag=function(n){var i;o.tags.length===0?o.insertionPoint?i=o.insertionPoint.nextSibling:o.prepend?i=o.container.firstChild:i=o.before:i=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,i),o.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(o){o.forEach(this._insertTag)},e.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ii(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=hi(n);try{i.insertRule(o,i.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(o));this.ctr++},e.flush=function(){this.tags.forEach(function(o){var n;return(n=o.parentNode)==null?void 0:n.removeChild(o)}),this.tags=[],this.ctr=0},t})(),be="-ms-",gt="-moz-",J="-webkit-",Jn="comm",Zt="rule",Dt="decl",xi="@import",$n="@keyframes",yi="@layer",Ai=Math.abs,bt=String.fromCharCode,Ei=Object.assign;function Si(t,e){return ce(t,0)^45?(((e<<2^ce(t,0))<<2^ce(t,1))<<2^ce(t,2))<<2^ce(t,3):0}function Un(t){return t.trim()}function Gi(t,e){return(t=e.exec(t))?t[0]:t}function $(t,e,r){return t.replace(e,r)}function Ht(t,e){return t.indexOf(e)}function ce(t,e){return t.charCodeAt(e)|0}function nt(t,e,r){return t.slice(e,r)}function ye(t){return t.length}function jt(t){return t.length}function ft(t,e){return e.push(t),t}function Bi(t,e){return t.map(e).join("")}var pt=1,We=1,Qn=0,pe=0,ie=0,Oe="";function mt(t,e,r,o,n,i,s){return{value:t,root:e,parent:r,type:o,props:n,children:i,line:pt,column:We,length:s,return:""}}function rt(t,e){return Ei(mt("",null,null,"",null,null,0),t,{length:-t.length},e)}function _i(){return ie}function wi(){return ie=pe>0?ce(Oe,--pe):0,We--,ie===10&&(We=1,pt--),ie}function me(){return ie=pe<Qn?ce(Oe,pe++):0,We++,ie===10&&(We=1,pt++),ie}function Ae(){return ce(Oe,pe)}function vt(){return pe}function ot(t,e){return nt(Oe,t,e)}function it(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function qn(t){return pt=We=1,Qn=ye(Oe=t),pe=0,[]}function Kn(t){return Oe="",t}function ht(t){return Un(ot(pe-1,zt(t===91?t+2:t===40?t+1:t)))}function Ni(t){for(;(ie=Ae())&&ie<33;)me();return it(t)>2||it(ie)>3?"":" "}function Vi(t,e){for(;--e&&me()&&!(ie<48||ie>102||ie>57&&ie<65||ie>70&&ie<97););return ot(t,vt()+(e<6&&Ae()==32&&me()==32))}function zt(t){for(;me();)switch(ie){case t:return pe;case 34:case 39:t!==34&&t!==39&&zt(ie);break;case 40:t===41&&zt(t);break;case 92:me();break}return pe}function Fi(t,e){for(;me()&&t+ie!==57;)if(t+ie===84&&Ae()===47)break;return"/*"+ot(e,pe-1)+"*"+bt(t===47?t:me())}function Pi(t){for(;!it(Ae());)me();return ot(t,pe)}function Ti(t){return Kn(It("",null,null,null,[""],t=qn(t),0,[0],t))}function It(t,e,r,o,n,i,s,l,a){for(var u=0,c=0,g=s,p=0,f=0,C=0,m=1,b=1,h=1,S=0,y="",G=n,I=i,E=o,B=y;b;)switch(C=S,S=me()){case 40:if(C!=108&&ce(B,g-1)==58){Ht(B+=$(ht(S),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:B+=ht(S);break;case 9:case 10:case 13:case 32:B+=Ni(C);break;case 92:B+=Vi(vt()-1,7);continue;case 47:switch(Ae()){case 42:case 47:ft(Ri(Fi(me(),vt()),e,r),a);break;default:B+="/"}break;case 123*m:l[u++]=ye(B)*h;case 125*m:case 59:case 0:switch(S){case 0:case 125:b=0;case 59+c:h==-1&&(B=$(B,/\f/g,"")),f>0&&ye(B)-g&&ft(f>32?tr(B+";",o,r,g-1):tr($(B," ","")+";",o,r,g-2),a);break;case 59:B+=";";default:if(ft(E=er(B,e,r,u,c,n,l,y,G=[],I=[],g),i),S===123)if(c===0)It(B,e,E,E,G,i,g,l,I);else switch(p===99&&ce(B,3)===110?100:p){case 100:case 108:case 109:case 115:It(t,E,E,o&&ft(er(t,E,E,0,0,n,l,y,n,G=[],g),I),n,I,g,l,o?G:I);break;default:It(B,E,E,E,[""],I,0,l,I)}}u=c=f=0,m=h=1,y=B="",g=s;break;case 58:g=1+ye(B),f=C;default:if(m<1){if(S==123)--m;else if(S==125&&m++==0&&wi()==125)continue}switch(B+=bt(S),S*m){case 38:h=c>0?1:(B+="\f",-1);break;case 44:l[u++]=(ye(B)-1)*h,h=1;break;case 64:Ae()===45&&(B+=ht(me())),p=Ae(),c=g=ye(y=B+=Pi(vt())),S++;break;case 45:C===45&&ye(B)==2&&(m=0)}}return i}function er(t,e,r,o,n,i,s,l,a,u,c){for(var g=n-1,p=n===0?i:[""],f=jt(p),C=0,m=0,b=0;C<o;++C)for(var h=0,S=nt(t,g+1,g=Ai(m=s[C])),y=t;h<f;++h)(y=Un(m>0?p[h]+" "+S:$(S,/&\f/g,p[h])))&&(a[b++]=y);return mt(t,e,r,n===0?Zt:l,a,u,c)}function Ri(t,e,r){return mt(t,e,r,Jn,bt(_i()),nt(t,2,-2),0)}function tr(t,e,r,o){return mt(t,e,r,Dt,nt(t,0,o),nt(t,o+1,-1),o)}function ke(t,e){for(var r="",o=jt(t),n=0;n<o;n++)r+=e(t[n],n,t,e)||"";return r}function Xi(t,e,r,o){switch(t.type){case yi:if(t.children.length)break;case xi:case Dt:return t.return=t.return||t.value;case Jn:return"";case $n:return t.return=t.value+"{"+ke(t.children,o)+"}";case Zt:t.value=t.props.join(",")}return ye(r=ke(t.children,o))?t.return=t.value+"{"+r+"}":""}function Mi(t){var e=jt(t);return function(r,o,n,i){for(var s="",l=0;l<e;l++)s+=t[l](r,o,n,i)||"";return s}}function Li(t){return function(e){e.root||(e=e.return)&&t(e)}}function Wi(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var Oi=function(e,r,o){for(var n=0,i=0;n=i,i=Ae(),n===38&&i===12&&(r[o]=1),!it(i);)me();return ot(e,pe)},ki=function(e,r){var o=-1,n=44;do switch(it(n)){case 0:n===38&&Ae()===12&&(r[o]=1),e[o]+=Oi(pe-1,r,o);break;case 2:e[o]+=ht(n);break;case 4:if(n===44){e[++o]=Ae()===58?"&\f":"",r[o]=e[o].length;break}default:e[o]+=bt(n)}while(n=me());return e},Zi=function(e,r){return Kn(ki(qn(e),r))},nr=new WeakMap,Di=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,o=e.parent,n=e.column===o.column&&e.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!nr.get(o))&&!n){nr.set(e,!0);for(var i=[],s=Zi(r,i),l=o.props,a=0,u=0;a<s.length;a++)for(var c=0;c<l.length;c++,u++)e.props[u]=i[a]?s[a].replace(/&\f/g,l[c]):l[c]+" "+s[a]}}},Hi=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function rr(t,e){switch(Si(t,e)){case 5103:return J+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return J+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return J+t+gt+t+be+t+t;case 6828:case 4268:return J+t+be+t+t;case 6165:return J+t+be+"flex-"+t+t;case 5187:return J+t+$(t,/(\w+).+(:[^]+)/,J+"box-$1$2"+be+"flex-$1$2")+t;case 5443:return J+t+be+"flex-item-"+$(t,/flex-|-self/,"")+t;case 4675:return J+t+be+"flex-line-pack"+$(t,/align-content|flex-|-self/,"")+t;case 5548:return J+t+be+$(t,"shrink","negative")+t;case 5292:return J+t+be+$(t,"basis","preferred-size")+t;case 6060:return J+"box-"+$(t,"-grow","")+J+t+be+$(t,"grow","positive")+t;case 4554:return J+$(t,/([^-])(transform)/g,"$1"+J+"$2")+t;case 6187:return $($($(t,/(zoom-|grab)/,J+"$1"),/(image-set)/,J+"$1"),t,"")+t;case 5495:case 3959:return $(t,/(image-set\([^]*)/,J+"$1$`$1");case 4968:return $($(t,/(.+:)(flex-)?(.*)/,J+"box-pack:$3"+be+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+J+t+t;case 4095:case 3583:case 4068:case 2532:return $(t,/(.+)-inline(.+)/,J+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ye(t)-1-e>6)switch(ce(t,e+1)){case 109:if(ce(t,e+4)!==45)break;case 102:return $(t,/(.+:)(.+)-([^]+)/,"$1"+J+"$2-$3$1"+gt+(ce(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Ht(t,"stretch")?rr($(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(ce(t,e+1)!==115)break;case 6444:switch(ce(t,ye(t)-3-(~Ht(t,"!important")&&10))){case 107:return $(t,":",":"+J)+t;case 101:return $(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+J+(ce(t,14)===45?"inline-":"")+"box$3$1"+J+"$2$3$1"+be+"$2box$3")+t}break;case 5936:switch(ce(t,e+11)){case 114:return J+t+be+$(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return J+t+be+$(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return J+t+be+$(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return J+t+be+t+t}return t}var ji=function(e,r,o,n){if(e.length>-1&&!e.return)switch(e.type){case Dt:e.return=rr(e.value,e.length);break;case $n:return ke([rt(e,{value:$(e.value,"@","@"+J)})],n);case Zt:if(e.length)return Bi(e.props,function(i){switch(Gi(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return ke([rt(e,{props:[$(i,/:(read-\w+)/,":"+gt+"$1")]})],n);case"::placeholder":return ke([rt(e,{props:[$(i,/:(plac\w+)/,":"+J+"input-$1")]}),rt(e,{props:[$(i,/:(plac\w+)/,":"+gt+"$1")]}),rt(e,{props:[$(i,/:(plac\w+)/,be+"input-$1")]})],n)}return""})}},zi=[ji],Yi=function(e){var r=e.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(m){var b=m.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||zi,i={},s,l=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var b=m.getAttribute("data-emotion").split(" "),h=1;h<b.length;h++)i[b[h]]=!0;l.push(m)});var a,u=[Di,Hi];{var c,g=[Xi,Li(function(m){c.insert(m)})],p=Mi(u.concat(n,g)),f=function(b){return ke(Ti(b),p)};a=function(b,h,S,y){c=S,f(b?b+"{"+h.styles+"}":h.styles),y&&(C.inserted[h.name]=!0)}}var C={key:r,sheet:new Ci({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:a};return C.sheet.hydrate(l),C},Ct={exports:{}},U={};var or;function Ji(){if(or)return U;or=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,f=t?Symbol.for("react.memo"):60115,C=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function y(I){if(typeof I=="object"&&I!==null){var E=I.$$typeof;switch(E){case e:switch(I=I.type,I){case a:case u:case o:case i:case n:case g:return I;default:switch(I=I&&I.$$typeof,I){case l:case c:case C:case f:case s:return I;default:return E}}case r:return E}}}function G(I){return y(I)===u}return U.AsyncMode=a,U.ConcurrentMode=u,U.ContextConsumer=l,U.ContextProvider=s,U.Element=e,U.ForwardRef=c,U.Fragment=o,U.Lazy=C,U.Memo=f,U.Portal=r,U.Profiler=i,U.StrictMode=n,U.Suspense=g,U.isAsyncMode=function(I){return G(I)||y(I)===a},U.isConcurrentMode=G,U.isContextConsumer=function(I){return y(I)===l},U.isContextProvider=function(I){return y(I)===s},U.isElement=function(I){return typeof I=="object"&&I!==null&&I.$$typeof===e},U.isForwardRef=function(I){return y(I)===c},U.isFragment=function(I){return y(I)===o},U.isLazy=function(I){return y(I)===C},U.isMemo=function(I){return y(I)===f},U.isPortal=function(I){return y(I)===r},U.isProfiler=function(I){return y(I)===i},U.isStrictMode=function(I){return y(I)===n},U.isSuspense=function(I){return y(I)===g},U.isValidElementType=function(I){return typeof I=="string"||typeof I=="function"||I===o||I===u||I===i||I===n||I===g||I===p||typeof I=="object"&&I!==null&&(I.$$typeof===C||I.$$typeof===f||I.$$typeof===s||I.$$typeof===l||I.$$typeof===c||I.$$typeof===b||I.$$typeof===h||I.$$typeof===S||I.$$typeof===m)},U.typeOf=y,U}var Q={};var ir;function $i(){return ir||(ir=1,process.env.NODE_ENV!=="production"&&(function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,o=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,a=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,c=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,f=t?Symbol.for("react.memo"):60115,C=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function y(w){return typeof w=="string"||typeof w=="function"||w===o||w===u||w===i||w===n||w===g||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===C||w.$$typeof===f||w.$$typeof===s||w.$$typeof===l||w.$$typeof===c||w.$$typeof===b||w.$$typeof===h||w.$$typeof===S||w.$$typeof===m)}function G(w){if(typeof w=="object"&&w!==null){var de=w.$$typeof;switch(de){case e:var he=w.type;switch(he){case a:case u:case o:case i:case n:case g:return he;default:var Be=he&&he.$$typeof;switch(Be){case l:case c:case C:case f:case s:return Be;default:return de}}case r:return de}}}var I=a,E=u,B=l,_=s,P=e,O=c,W=o,K=C,ne=f,re=r,q=i,j=n,k=g,z=!1;function le(w){return z||(z=!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.")),ae(w)||G(w)===a}function ae(w){return G(w)===u}function x(w){return G(w)===l}function N(w){return G(w)===s}function M(w){return typeof w=="object"&&w!==null&&w.$$typeof===e}function Z(w){return G(w)===c}function se(w){return G(w)===o}function oe(w){return G(w)===C}function A(w){return G(w)===f}function T(w){return G(w)===r}function D(w){return G(w)===i}function ee(w){return G(w)===n}function ue(w){return G(w)===g}Q.AsyncMode=I,Q.ConcurrentMode=E,Q.ContextConsumer=B,Q.ContextProvider=_,Q.Element=P,Q.ForwardRef=O,Q.Fragment=W,Q.Lazy=K,Q.Memo=ne,Q.Portal=re,Q.Profiler=q,Q.StrictMode=j,Q.Suspense=k,Q.isAsyncMode=le,Q.isConcurrentMode=ae,Q.isContextConsumer=x,Q.isContextProvider=N,Q.isElement=M,Q.isForwardRef=Z,Q.isFragment=se,Q.isLazy=oe,Q.isMemo=A,Q.isPortal=T,Q.isProfiler=D,Q.isStrictMode=ee,Q.isSuspense=ue,Q.isValidElementType=y,Q.typeOf=G})()),Q}var ar;function Ui(){return ar||(ar=1,process.env.NODE_ENV==="production"?Ct.exports=Ji():Ct.exports=$i()),Ct.exports}var Yt,sr;function Qi(){if(sr)return Yt;sr=1;var t=Ui(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[t.ForwardRef]=o,i[t.Memo]=n;function s(C){return t.isMemo(C)?n:i[C.$$typeof]||e}var l=Object.defineProperty,a=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,p=Object.prototype;function f(C,m,b){if(typeof m!="string"){if(p){var h=g(m);h&&h!==p&&f(C,h,b)}var S=a(m);u&&(S=S.concat(u(m)));for(var y=s(C),G=s(m),I=0;I<S.length;++I){var E=S[I];if(!r[E]&&!(b&&b[E])&&!(G&&G[E])&&!(y&&y[E])){var B=c(m,E);try{l(C,E,B)}catch{}}}}return C}return Yt=f,Yt}Qi();var qi=!0;function Ki(t,e,r){var o="";return r.split(" ").forEach(function(n){t[n]!==void 0?e.push(t[n]+";"):n&&(o+=n+" ")}),o}var lr=function(e,r,o){var n=e.key+"-"+r.name;(o===!1||qi===!1)&&e.registered[n]===void 0&&(e.registered[n]=r.styles)},ea=function(e,r,o){lr(e,r,o);var n=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var i=r;do e.insert(r===i?"."+n:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};function ta(t){for(var e=0,r,o=0,n=t.length;n>=4;++o,n-=4)r=t.charCodeAt(o)&255|(t.charCodeAt(++o)&255)<<8|(t.charCodeAt(++o)&255)<<16|(t.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(n){case 3:e^=(t.charCodeAt(o+2)&255)<<16;case 2:e^=(t.charCodeAt(o+1)&255)<<8;case 1:e^=t.charCodeAt(o)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var na={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},ra=/[A-Z]|^ms/g,oa=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ur=function(e){return e.charCodeAt(1)===45},cr=function(e){return e!=null&&typeof e!="boolean"},Jt=Wi(function(t){return ur(t)?t:t.replace(ra,"-$&").toLowerCase()}),dr=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(oa,function(o,n,i){return Ee={name:n,styles:i,next:Ee},n})}return na[e]!==1&&!ur(e)&&typeof r=="number"&&r!==0?r+"px":r};function at(t,e,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return Ee={name:n.name,styles:n.styles,next:Ee},n.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Ee={name:s.name,styles:s.styles,next:Ee},s=s.next;var l=i.styles+";";return l}return ia(t,e,r)}case"function":{if(t!==void 0){var a=Ee,u=r(t);return Ee=a,at(t,e,u)}break}}var c=r;return c}function ia(t,e,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=at(t,e,r[n])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var l=s;cr(l)&&(o+=Jt(i)+":"+dr(i,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&e==null)for(var a=0;a<s.length;a++)cr(s[a])&&(o+=Jt(i)+":"+dr(i,s[a])+";");else{var u=at(t,e,s);switch(i){case"animation":case"animationName":{o+=Jt(i)+":"+u+";";break}default:o+=i+"{"+u+"}"}}}return o}var gr=/label:\s*([^\s;{]+)\s*(;|$)/g,Ee;function br(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var o=!0,n="";Ee=void 0;var i=t[0];if(i==null||i.raw===void 0)o=!1,n+=at(r,e,i);else{var s=i;n+=s[0]}for(var l=1;l<t.length;l++)if(n+=at(r,e,t[l]),o){var a=i;n+=a[l]}gr.lastIndex=0;for(var u="",c;(c=gr.exec(n))!==null;)u+="-"+c[1];var g=ta(n)+u;return{name:g,styles:n,next:Ee}}var aa=function(e){return e()},sa=L.useInsertionEffect?L.useInsertionEffect:!1,la=sa||aa,fr=L.createContext(typeof HTMLElement<"u"?Yi({key:"css"}):null);fr.Provider;var ua=function(e){return v.forwardRef(function(r,o){var n=v.useContext(fr);return e(r,n,o)})},ca=L.createContext({}),$t={}.hasOwnProperty,Ut="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",da=function(e,r){var o={};for(var n in r)$t.call(r,n)&&(o[n]=r[n]);return o[Ut]=e,o},ga=function(e){var r=e.cache,o=e.serialized,n=e.isStringTag;return lr(r,o,n),la(function(){return ea(r,o,n)}),null},ba=ua(function(t,e,r){var o=t.css;typeof o=="string"&&e.registered[o]!==void 0&&(o=e.registered[o]);var n=t[Ut],i=[o],s="";typeof t.className=="string"?s=Ki(e.registered,i,t.className):t.className!=null&&(s=t.className+" ");var l=br(i,void 0,L.useContext(ca));s+=e.key+"-"+l.name;var a={};for(var u in t)$t.call(t,u)&&u!=="css"&&u!==Ut&&(a[u]=t[u]);return a.className=s,r&&(a.ref=r),L.createElement(L.Fragment,null,L.createElement(ga,{cache:e,serialized:l,isStringTag:typeof n=="string"}),L.createElement(n,a))}),fa=ba,V=function(e,r){var o=arguments;if(r==null||!$t.call(r,"css"))return L.createElement.apply(void 0,o);var n=o.length,i=new Array(n);i[0]=fa,i[1]=da(e,r);for(var s=2;s<n;s++)i[s]=o[s];return L.createElement.apply(null,i)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(V||(V={}));function Qt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return br(e)}function pa(){var t=Qt.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function ma(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const va=Math.min,ha=Math.max,xt=Math.round,yt=Math.floor,At=t=>({x:t,y:t});function Ia(t){const{x:e,y:r,width:o,height:n}=t;return{width:o,height:n,top:r,left:e,right:e+o,bottom:r+n,x:e,y:r}}function Et(){return typeof window<"u"}function pr(t){return vr(t)?(t.nodeName||"").toLowerCase():"#document"}function Ne(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function mr(t){var e;return(e=(vr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function vr(t){return Et()?t instanceof Node||t instanceof Ne(t).Node:!1}function Ca(t){return Et()?t instanceof Element||t instanceof Ne(t).Element:!1}function qt(t){return Et()?t instanceof HTMLElement||t instanceof Ne(t).HTMLElement:!1}function hr(t){return!Et()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Ne(t).ShadowRoot}const xa=new Set(["inline","contents"]);function Ir(t){const{overflow:e,overflowX:r,overflowY:o,display:n}=Kt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!xa.has(n)}function ya(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Aa=new Set(["html","body","#document"]);function Ea(t){return Aa.has(pr(t))}function Kt(t){return Ne(t).getComputedStyle(t)}function Sa(t){if(pr(t)==="html")return t;const e=t.assignedSlot||t.parentNode||hr(t)&&t.host||mr(t);return hr(e)?e.host:e}function Cr(t){const e=Sa(t);return Ea(e)?t.ownerDocument?t.ownerDocument.body:t.body:qt(e)&&Ir(e)?e:Cr(e)}function St(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=Cr(t),i=n===((o=t.ownerDocument)==null?void 0:o.body),s=Ne(n);if(i){const l=en(s);return e.concat(s,s.visualViewport||[],Ir(n)?n:[],l&&r?St(l):[])}return e.concat(n,St(n,[],r))}function en(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ga(t){const e=Kt(t);let r=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const n=qt(t),i=n?t.offsetWidth:r,s=n?t.offsetHeight:o,l=xt(r)!==i||xt(o)!==s;return l&&(r=i,o=s),{width:r,height:o,$:l}}function tn(t){return Ca(t)?t:t.contextElement}function xr(t){const e=tn(t);if(!qt(e))return At(1);const r=e.getBoundingClientRect(),{width:o,height:n,$:i}=Ga(e);let s=(i?xt(r.width):r.width)/o,l=(i?xt(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const Ba=At(0);function _a(t){const e=Ne(t);return!ya()||!e.visualViewport?Ba:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function wa(t,e,r){return!1}function yr(t,e,r,o){e===void 0&&(e=!1);const n=t.getBoundingClientRect(),i=tn(t);let s=At(1);e&&(s=xr(t));const l=wa()?_a(i):At(0);let a=(n.left+l.x)/s.x,u=(n.top+l.y)/s.y,c=n.width/s.x,g=n.height/s.y;if(i){const p=Ne(i),f=o;let C=p,m=en(C);for(;m&&o&&f!==C;){const b=xr(m),h=m.getBoundingClientRect(),S=Kt(m),y=h.left+(m.clientLeft+parseFloat(S.paddingLeft))*b.x,G=h.top+(m.clientTop+parseFloat(S.paddingTop))*b.y;a*=b.x,u*=b.y,c*=b.x,g*=b.y,a+=y,u+=G,C=Ne(m),m=en(C)}}return Ia({width:c,height:g,x:a,y:u})}function Ar(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Na(t,e){let r=null,o;const n=mr(t);function i(){var l;clearTimeout(o),(l=r)==null||l.disconnect(),r=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),i();const u=t.getBoundingClientRect(),{left:c,top:g,width:p,height:f}=u;if(l||e(),!p||!f)return;const C=yt(g),m=yt(n.clientWidth-(c+p)),b=yt(n.clientHeight-(g+f)),h=yt(c),y={rootMargin:-C+"px "+-m+"px "+-b+"px "+-h+"px",threshold:ha(0,va(1,a))||1};let G=!0;function I(E){const B=E[0].intersectionRatio;if(B!==a){if(!G)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Ar(u,t.getBoundingClientRect())&&s(),G=!1}try{r=new IntersectionObserver(I,{...y,root:n.ownerDocument})}catch{r=new IntersectionObserver(I,y)}r.observe(t)}return s(!0),i}function Va(t,e,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=o,u=tn(t),c=n||i?[...u?St(u):[],...St(e)]:[];c.forEach(h=>{n&&h.addEventListener("scroll",r,{passive:!0}),i&&h.addEventListener("resize",r)});const g=u&&l?Na(u,r):null;let p=-1,f=null;s&&(f=new ResizeObserver(h=>{let[S]=h;S&&S.target===u&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),r()}),u&&!a&&f.observe(u),f.observe(e));let C,m=a?yr(t):null;a&&b();function b(){const h=yr(t);m&&!Ar(m,h)&&r(),m=h,C=requestAnimationFrame(b)}return r(),()=>{var h;c.forEach(S=>{n&&S.removeEventListener("scroll",r),i&&S.removeEventListener("resize",r)}),g?.(),(h=f)==null||h.disconnect(),f=null,a&&cancelAnimationFrame(C)}}var nn=v.useLayoutEffect,Fa=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Gt=function(){};function Pa(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function Ta(t,e){for(var r=arguments.length,o=new Array(r>2?r-2:0),n=2;n<r;n++)o[n-2]=arguments[n];var i=[].concat(o);if(e&&t)for(var s in e)e.hasOwnProperty(s)&&e[s]&&i.push("".concat(Pa(t,s)));return i.filter(function(l){return l}).map(function(l){return String(l).trim()}).join(" ")}var Er=function(e){return Da(e)?e.filter(Boolean):Te(e)==="object"&&e!==null?[e]:[]},Sr=function(e){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;var r=we(e,Fa);return F({},r)},te=function(e,r,o){var n=e.cx,i=e.getStyles,s=e.getClassNames,l=e.className;return{css:i(r,e),className:n(o??{},s(r,e),l)}};function Bt(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function Ra(t){return Bt(t)?window.innerHeight:t.clientHeight}function Gr(t){return Bt(t)?window.pageYOffset:t.scrollTop}function _t(t,e){if(Bt(t)){window.scrollTo(0,e);return}t.scrollTop=e}function Xa(t){var e=getComputedStyle(t),r=e.position==="absolute",o=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var n=t;n=n.parentElement;)if(e=getComputedStyle(n),!(r&&e.position==="static")&&o.test(e.overflow+e.overflowY+e.overflowX))return n;return document.documentElement}function Ma(t,e,r,o){return r*((t=t/o-1)*t*t+1)+e}function wt(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Gt,n=Gr(t),i=e-n,s=10,l=0;function a(){l+=s;var u=Ma(l,n,i,r);_t(t,u),l<r?window.requestAnimationFrame(a):o(t)}a()}function Br(t,e){var r=t.getBoundingClientRect(),o=e.getBoundingClientRect(),n=e.offsetHeight/3;o.bottom+n>r.bottom?_t(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+n,t.scrollHeight)):o.top-n<r.top&&_t(t,Math.max(e.offsetTop-n,0))}function La(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function _r(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Wa(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var wr=!1,Oa={get passive(){return wr=!0}},Nt=typeof window<"u"?window:{};Nt.addEventListener&&Nt.removeEventListener&&(Nt.addEventListener("p",Gt,Oa),Nt.removeEventListener("p",Gt,!1));var ka=wr;function Za(t){return t!=null}function Da(t){return Array.isArray(t)}function Vt(t,e,r){return t?e:r}function ig(t){return t}function ag(t){return t}var Ha=function(e){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];var i=Object.entries(e).filter(function(s){var l=_e(s,1),a=l[0];return!o.includes(a)});return i.reduce(function(s,l){var a=_e(l,2),u=a[0],c=a[1];return s[u]=c,s},{})},ja=["children","innerProps"],za=["children","innerProps"];function Ya(t){var e=t.maxHeight,r=t.menuEl,o=t.minHeight,n=t.placement,i=t.shouldScroll,s=t.isFixedPosition,l=t.controlHeight,a=Xa(r),u={placement:"bottom",maxHeight:e};if(!r||!r.offsetParent)return u;var c=a.getBoundingClientRect(),g=c.height,p=r.getBoundingClientRect(),f=p.bottom,C=p.height,m=p.top,b=r.offsetParent.getBoundingClientRect(),h=b.top,S=s?window.innerHeight:Ra(a),y=Gr(a),G=parseInt(getComputedStyle(r).marginBottom,10),I=parseInt(getComputedStyle(r).marginTop,10),E=h-I,B=S-m,_=E+y,P=g-y-m,O=f-S+y+G,W=y+m-I,K=160;switch(n){case"auto":case"bottom":if(B>=C)return{placement:"bottom",maxHeight:e};if(P>=C&&!s)return i&&wt(a,O,K),{placement:"bottom",maxHeight:e};if(!s&&P>=o||s&&B>=o){i&&wt(a,O,K);var ne=s?B-G:P-G;return{placement:"bottom",maxHeight:ne}}if(n==="auto"||s){var re=e,q=s?E:_;return q>=o&&(re=Math.min(q-G-l,e)),{placement:"top",maxHeight:re}}if(n==="bottom")return i&&_t(a,O),{placement:"bottom",maxHeight:e};break;case"top":if(E>=C)return{placement:"top",maxHeight:e};if(_>=C&&!s)return i&&wt(a,W,K),{placement:"top",maxHeight:e};if(!s&&_>=o||s&&E>=o){var j=e;return(!s&&_>=o||s&&E>=o)&&(j=s?E-I:_-I),i&&wt(a,W,K),{placement:"top",maxHeight:j}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return u}function Ja(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Nr=function(e){return e==="auto"?"bottom":e},$a=function(e,r){var o,n=e.placement,i=e.theme,s=i.borderRadius,l=i.spacing,a=i.colors;return F((o={label:"menu"},tt(o,Ja(n),"100%"),tt(o,"position","absolute"),tt(o,"width","100%"),tt(o,"zIndex",1),o),r?{}:{backgroundColor:a.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},Vr=v.createContext(null),Ua=function(e){var r=e.children,o=e.minMenuHeight,n=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,l=e.menuShouldScrollIntoView,a=e.theme,u=v.useContext(Vr)||{},c=u.setPortalPlacement,g=v.useRef(null),p=v.useState(n),f=_e(p,2),C=f[0],m=f[1],b=v.useState(null),h=_e(b,2),S=h[0],y=h[1],G=a.spacing.controlHeight;return nn(function(){var I=g.current;if(I){var E=s==="fixed",B=l&&!E,_=Ya({maxHeight:n,menuEl:I,minHeight:o,placement:i,shouldScroll:B,isFixedPosition:E,controlHeight:G});m(_.maxHeight),y(_.placement),c?.(_.placement)}},[n,i,s,l,o,c,G]),r({ref:g,placerProps:F(F({},e),{},{placement:S||Nr(i),maxHeight:C})})},Qa=function(e){var r=e.children,o=e.innerRef,n=e.innerProps;return V("div",R({},te(e,"menu",{menu:!0}),{ref:o},n),r)},qa=Qa,Ka=function(e,r){var o=e.maxHeight,n=e.theme.spacing.baseUnit;return F({maxHeight:o,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:n,paddingTop:n})},es=function(e){var r=e.children,o=e.innerProps,n=e.innerRef,i=e.isMulti;return V("div",R({},te(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:n},o),r)},Fr=function(e,r){var o=e.theme,n=o.spacing.baseUnit,i=o.colors;return F({textAlign:"center"},r?{}:{color:i.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},ts=Fr,ns=Fr,rs=function(e){var r=e.children,o=r===void 0?"No options":r,n=e.innerProps,i=we(e,ja);return V("div",R({},te(F(F({},i),{},{children:o,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),o)},os=function(e){var r=e.children,o=r===void 0?"Loading...":r,n=e.innerProps,i=we(e,za);return V("div",R({},te(F(F({},i),{},{children:o,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),o)},is=function(e){var r=e.rect,o=e.offset,n=e.position;return{left:r.left,position:n,top:o,width:r.width,zIndex:1}},as=function(e){var r=e.appendTo,o=e.children,n=e.controlElement,i=e.innerProps,s=e.menuPlacement,l=e.menuPosition,a=v.useRef(null),u=v.useRef(null),c=v.useState(Nr(s)),g=_e(c,2),p=g[0],f=g[1],C=v.useMemo(function(){return{setPortalPlacement:f}},[]),m=v.useState(null),b=_e(m,2),h=b[0],S=b[1],y=v.useCallback(function(){if(n){var B=La(n),_=l==="fixed"?0:window.pageYOffset,P=B[p]+_;(P!==h?.offset||B.left!==h?.rect.left||B.width!==h?.rect.width)&&S({offset:P,rect:B})}},[n,l,p,h?.offset,h?.rect.left,h?.rect.width]);nn(function(){y()},[y]);var G=v.useCallback(function(){typeof u.current=="function"&&(u.current(),u.current=null),n&&a.current&&(u.current=Va(n,a.current,y,{elementResize:"ResizeObserver"in window}))},[n,y]);nn(function(){G()},[G]);var I=v.useCallback(function(B){a.current=B,G()},[G]);if(!r&&l!=="fixed"||!h)return null;var E=V("div",R({ref:I},te(F(F({},e),{},{offset:h.offset,position:l,rect:h.rect}),"menuPortal",{"menu-portal":!0}),i),o);return V(Vr.Provider,{value:C},r?hn.createPortal(E,r):E)},ss=function(e){var r=e.isDisabled,o=e.isRtl;return{label:"container",direction:o?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},ls=function(e){var r=e.children,o=e.innerProps,n=e.isDisabled,i=e.isRtl;return V("div",R({},te(e,"container",{"--is-disabled":n,"--is-rtl":i}),o),r)},us=function(e,r){var o=e.theme.spacing,n=e.isMulti,i=e.hasValue,s=e.selectProps.controlShouldRenderValue;return F({alignItems:"center",display:n&&i&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(o.baseUnit/2,"px ").concat(o.baseUnit*2,"px")})},cs=function(e){var r=e.children,o=e.innerProps,n=e.isMulti,i=e.hasValue;return V("div",R({},te(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":i}),o),r)},ds=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},gs=function(e){var r=e.children,o=e.innerProps;return V("div",R({},te(e,"indicatorsContainer",{indicators:!0}),o),r)},Pr,bs=["size"],fs=["innerProps","isRtl","size"];function ps(){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)."}var ms=process.env.NODE_ENV==="production"?{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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChc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CYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:ps},Tr=function(e){var r=e.size,o=we(e,bs);return V("svg",R({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:ms},o))},rn=function(e){return V(Tr,R({size:20},e),V("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"}))},Rr=function(e){return V(Tr,R({size:20},e),V("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"}))},Xr=function(e,r){var o=e.isFocused,n=e.theme,i=n.spacing.baseUnit,s=n.colors;return F({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:o?s.neutral60:s.neutral20,padding:i*2,":hover":{color:o?s.neutral80:s.neutral40}})},vs=Xr,hs=function(e){var r=e.children,o=e.innerProps;return V("div",R({},te(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),o),r||V(Rr,null))},Is=Xr,Cs=function(e){var r=e.children,o=e.innerProps;return V("div",R({},te(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),o),r||V(rn,null))},xs=function(e,r){var o=e.isDisabled,n=e.theme,i=n.spacing.baseUnit,s=n.colors;return F({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:o?s.neutral10:s.neutral20,marginBottom:i*2,marginTop:i*2})},ys=function(e){var r=e.innerProps;return V("span",R({},r,te(e,"indicatorSeparator",{"indicator-separator":!0})))},As=pa(Pr||(Pr=ma([`
6
+ <%s key={someKey} {...props} />`,W,k,oe,k),Y[k+W]=!0)}if(k=null,H!==void 0&&(r(H),k=""+H),s(_)&&(r(_.key),k=""+_.key),"key"in _){H={};for(var V in _)V!=="key"&&(H[V]=_[V])}else H=_;return k&&l(H,typeof x=="function"?x.displayName||x.name||"Unknown":x),c(x,k,H,n(),ce,ae)}function g(x){p(x)?x._store&&(x._store.validated=1):typeof x=="object"&&x!==null&&x.$$typeof===F&&(x._payload.status==="fulfilled"?p(x._payload.value)&&x._payload.value._store&&(x._payload.value._store.validated=1):x._store&&(x._store.validated=1))}function p(x){return typeof x=="object"&&x!==null&&x.$$typeof===I}var f=C,I=Symbol.for("react.transitional.element"),m=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),S=Symbol.for("react.context"),v=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),G=Symbol.for("react.suspense_list"),B=Symbol.for("react.memo"),F=Symbol.for("react.lazy"),X=Symbol.for("react.activity"),O=Symbol.for("react.client.reference"),K=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ee=Object.prototype.hasOwnProperty,ue=Array.isArray,re=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(x){return x()}};var z,te={},q=f.react_stack_bottom_frame.bind(f,i)(),ne=re(a(i)),Y={};De.Fragment=b,De.jsx=function(x,_,H){var W=1e4>K.recentlyCreatedOwnerStacks++;return u(x,_,H,!1,W?Error("react-stack-top-frame"):q,W?re(a(x)):ne)},De.jsxs=function(x,_,H){var W=1e4>K.recentlyCreatedOwnerStacks++;return u(x,_,H,!0,W?Error("react-stack-top-frame"):q,W?re(a(x)):ne)}})()),De}var An;function ha(){return An||(An=1,process.env.NODE_ENV==="production"?ct.exports=ma():ct.exports=va()),ct.exports}var d=ha();const D=t=>t?.filter(Boolean).join(" ")||"",En=t=>t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),Ca=t=>!t?.colors||!Object.entries(t.colors).length?{}:Object.entries(t.colors).reduce((e,[r,a])=>(r&&a&&(e[`--color-${En(r)}`]=a),e),{}),Ia=t=>!t?.sizes||!Object.entries(t.sizes).length?{}:Object.entries(t.sizes).reduce((e,[r,a])=>(r&&a&&(e[`--size-${En(r)}`]=a),e),{}),xa=t=>({...Ca(t),...Ia(t)}),ya=(t,e)=>{if(typeof document>"u")return;const r=document.createElement("style");r.setAttribute("id",t),r.textContent=e;const a=document.getElementById(t);a&&a.remove(),document.head.appendChild(r)},Aa=t=>Object.entries(t).map(([e,r])=>`${e}: ${r};`).join(""),Me=t=>{const e=[];return C.Children.forEach(t,r=>{if(C.isValidElement(r)){const a=r;if(a.type===C.Fragment){const n=Me(a.props.children);e.push(...n)}else e.push(C.cloneElement(a,{...a.props}))}else e.push(r)}),e},Ea=t=>{if(typeof document>"u")return;const e=document.createElement("button");e.style.position="absolute",e.style.opacity="0",t.prepend(e),e.focus(),e.remove()},Sa=t=>Array.from(t.querySelectorAll('button, [href], input, [tabindex="0"]')).filter(r=>!!r),Ga=t=>{Ea(t);const e=Sa(t),r=e[0],a=e[e.length-1]||r;r&&(r.onkeydown=n=>{n.key==="Tab"&&n.shiftKey&&(n.preventDefault(),a.focus())}),a&&(a.onclick=()=>{r?.focus()},a.onkeydown=n=>{n.key==="Tab"&&!n.shiftKey&&(n.preventDefault(),r?.focus())})},xe={accordion:"_accordion_kwqaf_67",default:"_default_kwqaf_73",panel:"_panel_kwqaf_76",content:"_content_kwqaf_77",secondary:"_secondary_kwqaf_80",info:"_info_kwqaf_88",contrast:"_contrast_kwqaf_96",margin:"_margin_kwqaf_104",panelText:"_panelText_kwqaf_138",panelChevron:"_panelChevron_kwqaf_144",expanded:"_expanded_kwqaf_171",initialized:"_initialized_kwqaf_187",hide:"_hide_kwqaf_1",show:"_show_kwqaf_1"},Ba=({title:t,buttonProps:e,expanded:r,handleToggleExpand:a})=>d.jsxs("button",{...e,className:xe.panel,onClick:a,"aria-expanded":r?"true":"false",children:[d.jsx("span",{className:xe.panelText,children:t}),d.jsx("span",{className:`${xe.panelChevron} ${r?xe.expanded:""}`})]}),Va=({title:t,color:e="default",expanded:r=!1,onToggleExpand:a,buttonProps:n,noMargin:i=!1,initialized:s,children:l,...o})=>{const[c,u]=C.useState(r),[g,p]=C.useState(s),f=()=>{u(!c),p(!0),a&&a()};C.useEffect(()=>{u(r)},[r]);const I=D([xe.accordion,e&&xe[e],!i&&xe.margin,o.className]);return d.jsxs("div",{className:I,...o,children:[d.jsx(Ba,{title:t??"",buttonProps:n??{},expanded:c??!1,handleToggleExpand:f}),d.jsx("div",{className:`${xe.content} ${g?xe.initialized:""} ${c?xe.expanded:""}`,children:l})]})},pe={button:"_button_frvev_161",noMargin:"_noMargin_frvev_181",regular:"_regular_frvev_194",small:"_small_frvev_197",primary:"_primary_frvev_203",noHover:"_noHover_frvev_208",secondary:"_secondary_frvev_224",neutral:"_neutral_frvev_247",disabled:"_disabled_frvev_267",hasErrors:"_hasErrors_frvev_287",hasArrowLeft:"_hasArrowLeft_frvev_293",pushprev:"_pushprev_frvev_1",hasArrowRight:"_hasArrowRight_frvev_331",pushnext:"_pushnext_frvev_1",hasIcon:"_hasIcon_frvev_369",buttonIcon:"_buttonIcon_frvev_373",buttonContent:"_buttonContent_frvev_385",hasIconLeft:"_hasIconLeft_frvev_388",hasIconRight:"_hasIconRight_frvev_391"},Fe=({content:t,color:e="primary",size:r="regular",arrow:a="none",disabled:n=!1,inputType:i,defaultChecked:s,hasErrors:l=!1,noHover:o=!1,noMargin:c=!1,href:u,children:g,iconLeft:p,iconRight:f,className:I,...m})=>{const b=B=>B?d.jsx("span",{className:pe.buttonIcon,children:B}):null,h=B=>{switch(B){case"left":return pe.hasArrowLeft;case"right":return pe.hasArrowRight;default:return""}},A=i==="radio"?s?"primary":"secondary":e,y=D([pe.button,pe[A],pe[r],h(a),o||i==="radio"?pe.noHover:null,l&&pe.hasErrors,n?pe.disabled:null,c?pe.noMargin:null,p||f?pe.hasIcon:null,I]),S=D([pe.buttonContent,p?pe.hasIconLeft:null,f?pe.hasIconRight:null]),v={"aria-invalid":l||void 0,href:!n&&u?.length?u:void 0,className:y,...m},E=B=>C.Children.toArray(Me(B)).map(X=>{if(!C.isValidElement(X))return null;const O=X,K=O.type===Rt.Link&&typeof O.props=="object"&&O.props!==null&&"to"in O.props;return!n&&K?C.cloneElement(O,{className:y,key:`button-${O.key}`,to:O.props.to},b(p),d.jsx("span",{className:S,children:O.props.children}),b(f)):C.createElement("button",{...v,key:`button-${O.key}`},b(p),d.jsx("span",{className:S,children:t||(O.props?O.props.children:null)}),b(f))});if(i==="button")return d.jsxs("button",{type:"button",...v,children:[b(p),d.jsx("span",{className:S,children:t||g}),b(f)]});if(i==="radio"){const B={...v};return delete B.href,d.jsxs("label",{className:y,children:[d.jsx("input",{...B,type:"radio"}),b(p),d.jsx("span",{className:S,children:t}),b(f)]})}if(u?.length&&!n){const B={...v};return"type"in B&&delete B.type,d.jsxs("a",{...B,children:[b(p),d.jsx("span",{className:S,children:t||g}),b(f)]})}return C.isValidElement(g)&&g.type===Rt.Link?d.jsx(C.Fragment,{children:E(C.Children.toArray(g))}):d.jsxs("button",{...v,children:[b(p),d.jsx("span",{className:S,children:t||g}),b(f)]})},Pe={checkBoxIcon:"_checkBoxIcon_181ug_1",showBox:"_showBox_181ug_21",hasErrors:"_hasErrors_181ug_24",checked:"_checked_181ug_34",disabled:"_disabled_181ug_50",checkmark:"_checkmark_181ug_55",checkmarkIcon:"_checkmarkIcon_181ug_62"},Sn=({size:t="20px",checked:e=!1,disabled:r=!1,showBox:a=!0,hasErrors:n=!1,checkmarkCharacter:i="✔",checkmarkIconSrc:s})=>{const l={height:t,width:t,fontSize:t},o=[Pe.checkBoxIcon,e&&Pe.checked,r&&Pe.disabled,a&&Pe.showBox,n&&Pe.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:o,style:l,children:d.jsx("span",{"aria-hidden":!0,className:Pe.checkmark,children:e?s?d.jsx("img",{src:s,alt:"","aria-hidden":"true",className:Pe.checkmarkIcon}):i:""})})},Ne="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='32.275'%20height='30.469'%20focusable='false'%3e%3cpath%20fill='%239d2024'%20d='m0%2014.355%202.246-6.933c5.176%201.823%208.936%203.402%2011.28%204.736-.62-5.892-.945-9.944-.977-12.158h7.08c-.098%203.223-.472%207.26-1.123%2012.11%203.353-1.693%207.194-3.256%2011.523-4.688l2.246%206.933c-4.134%201.368-8.186%202.28-12.158%202.735%201.986%201.725%204.785%204.801%208.399%209.228l-5.86%204.15c-1.888-2.57-4.118-6.07-6.69-10.497-2.408%204.59-4.524%208.089-6.347%2010.498l-5.762-4.15c3.776-4.656%206.478-7.732%208.106-9.23-4.2-.813-8.187-1.724-11.963-2.734'/%3e%3c/svg%3e",Gn="data:image/svg+xml,%3csvg%20width='14'%20height='11'%20viewBox='0%200%2014%2011'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M1.90476%203.80952L0%205.71429L4.7619%2010.4762L13.3333%201.90476L11.4286%200L4.7619%206.66667L1.90476%203.80952Z'%20fill='%23003045'/%3e%3c/svg%3e",ze={checkBoxInput:"_checkBoxInput_1octn_1",requiredSymbol:"_requiredSymbol_1octn_6",disabled:"_disabled_1octn_13",labelText:"_labelText_1octn_19",hasErrors:"_hasErrors_1octn_27"},Mt=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:a=!1,id:n,name:i="",onChange:s,hasErrors:l=!1,checkmarkCharacter:o="✔",tabIndex:c=0,children:u,"aria-controls":g,"aria-describedby":p,value:f})=>{const I=[ze.checkBoxInput,e&&ze.disabled,l&&ze.hasErrors].filter(Boolean).join(" "),m={checked:t,disabled:e,showBox:!0,hasErrors:l,checkmarkCharacter:o,checkmarkIconSrc:Gn},b={id:n,name:i,type:"checkbox",checked:t,disabled:e,required:r||a,onChange:s,tabIndex:c,"aria-controls":g,"aria-invalid":l?"true":void 0,"aria-describedby":p,value:f};return d.jsxs("label",{htmlFor:n,className:I,children:[d.jsx(Sn,{...m}),d.jsx("input",{...b}),d.jsxs("span",{className:ze.labelText,children:[u,r&&d.jsx("img",{src:Ne,alt:"",className:ze.requiredSymbol})]})]})},Bn={checkBoxList:"_checkBoxList_1cjjb_1",requiredSymbol:"_requiredSymbol_1cjjb_16"},Ht={headerContainer:"_headerContainer_1dym9_1",header:"_header_1dym9_1","size-1":"_size-1_1dym9_8",bigHeader:"_bigHeader_1dym9_17","size-2":"_size-2_1dym9_29","size-3":"_size-3_1dym9_37","size-4":"_size-4_1dym9_45","size-5":"_size-5_1dym9_53"},Ye=({id:t,content:e,size:r=1,htmlTag:a,htmlFor:n,children:i})=>{const s=a||`h${r}`,l=D([Ht.header,Ht[`size-${r}`]]),o=C.createElement(s,{className:l,id:t||void 0,htmlFor:n||void 0},e?.length?e:i);return d.jsx("div",{className:Ht.headerContainer,children:o})},wa=({legend:t,legendSize:e,required:r=!1,compact:a=!1,children:n})=>{const i=s=>Me(s).map(o=>C.isValidElement(o)&&o.type?.displayName==="RadioButtonListItem"?C.cloneElement(o,{requiredGroup:r,compact:a,key:`checkboxListItem-${o.key}`}):o);return d.jsxs("fieldset",{className:Bn.checkBoxList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(Ye,{size:e,children:t}):t,r&&d.jsx("img",{src:Ne,alt:"",className:Bn.requiredSymbol})]}),i(C.Children.toArray(n))]})},Je={checkBoxListItem:"_checkBoxListItem_j7hys_1",compact:"_compact_j7hys_26",disabled:"_disabled_j7hys_34",checked:"_checked_j7hys_37"},_a=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:a=!1,id:n,name:i="",onChange:s,compact:l=!1,hasErrors:o=!1,checkmarkCharacter:c="✔","aria-controls":u,"aria-describedby":g,children:p,value:f})=>{const I=D([Je.checkBoxListItem,t&&Je.checked,e&&Je.disabled,l&&Je.compact,o&&Je.hasErrors]),m={onChange:s??(()=>{}),checked:t,disabled:e,required:r,requiredGroup:a,hasErrors:o,"aria-controls":u,"aria-describedby":g,id:n,name:i,checkmarkCharacter:c,value:f};return d.jsx("div",{className:I,children:d.jsx(Mt,{...m,children:p})})},Na={container:"_container_f8z49_1"},Vn=({maxWidth:t,children:e})=>{const r={"--max-width":t?.length?t:void 0};return d.jsx("div",{className:Na.container,style:r,children:e})},He={contentBox:"_contentBox_1ndvc_1",link:"_link_1ndvc_8",default:"_default_1ndvc_21",content:"_content_1ndvc_1",title:"_title_1ndvc_25",secondary:"_secondary_1ndvc_28",regular:"_regular_1ndvc_36",large:"_large_1ndvc_45"},Fa=({title:t="",titleSize:e="regular",content:r="",children:a,color:n="default",href:i=null})=>{const s=()=>{if(!t)return null;const p=`${He.title} ${He[e]}`;return d.jsx("h2",{className:p,children:t})},l=He[n]||"",o=i?He.link:"",c=`${He.contentBox} ${l} ${o}`.trim(),u=r?.length?r:a,g=d.jsxs(d.Fragment,{children:[s(),d.jsx("div",{className:He.content,children:u})]});return i?d.jsx("a",{href:i,className:c,children:g}):d.jsx("div",{className:c,children:g})},wn={descriptionDetails:"_descriptionDetails_1d1dj_1",compact:"_compact_1d1dj_7"},Pa=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dd",{className:D([wn.descriptionDetails,t&&wn.compact]),style:{"--title-width":e||void 0},children:r}),_n={descriptionList:"_descriptionList_w11ua_1",compact:"_compact_w11ua_13"},Ta=({compact:t=!1,titleWidth:e,children:r})=>{const a=n=>Me(n).map(s=>C.isValidElement(s)?C.cloneElement(s,{compact:t,titleWidth:e,key:`descriptionListItem-${s.key}`}):s);return C.createElement("dl",{className:D([_n.descriptionList,t&&_n.compact]),style:{"--title-width":e||void 0}},a(C.Children.toArray(r)))},Nn={descriptionTerm:"_descriptionTerm_uuapd_1",compact:"_compact_uuapd_8"},Ra=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dt",{className:D([Nn.descriptionTerm,t&&Nn.compact]),style:{"--title-width":e||void 0},children:r}),Ma="data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='25'%20height='25'%3e%3cpath%20fill='%23072938'%20stroke='%23072938'%20stroke-linecap='round'%20stroke-width='3.23'%20d='m3.97%203.57%2017.44%2018.2m-17.44.01L21.41%203.57'/%3e%3c/svg%3e",ye={dialog:"_dialog_11gtp_19",backdrop:"_backdrop_11gtp_34",backdropTransparent:"_backdropTransparent_11gtp_45",dialogContainer:"_dialogContainer_11gtp_48",modalInVertical:"_modalInVertical_11gtp_1",dialogContent:"_dialogContent_11gtp_60",dialogHeader:"_dialogHeader_11gtp_67",dialogBody:"_dialogBody_11gtp_77",noPadding:"_noPadding_11gtp_83",isSidebar:"_isSidebar_11gtp_86",left:"_left_11gtp_104",modalInHorizontalLeft:"_modalInHorizontalLeft_11gtp_1",right:"_right_11gtp_110",modalInHorizontalRight:"_modalInHorizontalRight_11gtp_1"},Ha=({maxWidth:t="none",noPadding:e,title:r,onClickOutside:a,modal:n=!0,attachTo:i,hidden:s=!1,children:l})=>{const[o,c]=C.useState(null),u=C.useRef(null),g=C.useCallback(m=>{m&&Ga(m)},[]);C.useEffect(()=>{if(s)return;const m=b=>{b.key==="Escape"&&a&&a()};return document.addEventListener("keydown",m,!1),()=>{document.removeEventListener("keydown",m,!1)}},[s,a]),C.useEffect(()=>{if(typeof window>"u")return;const b=(()=>{const A="dibk-design-dialog-root";let y=document.getElementById(A);return y||(y=document.createElement("div"),y.setAttribute("id",A),document.body.appendChild(y)),y})(),h=document.createElement("div");return b.appendChild(h),c(h),()=>{c(null),b.contains(h)&&b.removeChild(h)}},[]),C.useEffect(()=>{if(s||!n)return;const m=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=m}},[s,n]);const p=i&&D([ye.isSidebar,ye[i]]),f={"--max-width":t};if(s||!o)return null;const I=n?{role:"dialog","aria-modal":"true"}:{role:"dialog"};return In.createPortal(d.jsxs("div",{className:D([ye.dialog,p]),...I,children:[d.jsx("button",{type:"button",className:D([ye.backdrop,!n&&ye.backdropTransparent]),onClick:a,"aria-label":"Lukk dialog"}),d.jsx("div",{ref:u,className:ye.dialogContainer,style:f,children:d.jsxs("div",{ref:g,className:D([ye.dialogContent,e&&ye.noPadding]),children:[r&&d.jsxs("div",{className:ye.dialogHeader,children:[r?d.jsx(Ye,{size:2,children:r}):d.jsx("span",{}),d.jsx(Fe,{color:"neutral","aria-label":"Lukk dialog",onClick:a,iconRight:d.jsx("img",{src:Ma,alt:""}),children:"Lukk"})]}),d.jsx("div",{className:ye.dialogBody,"aria-live":"assertive",children:l})]})})]}),o)},$e={dragAndDropFileInput:"_dragAndDropFileInput_1hivh_1",requiredSymbol:"_requiredSymbol_1hivh_1",dragAndDropContainer:"_dragAndDropContainer_1hivh_8",highlighted:"_highlighted_1hivh_26",hasErrors:"_hasErrors_1hivh_30"},Fn="data:image/svg+xml,%3csvg%20width='24'%20height='28'%20viewBox='0%200%2024%2028'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cellipse%20cx='12.0008'%20cy='20.0008'%20rx='1.2'%20ry='1.2'%20fill='black'/%3e%3cpath%20d='M12.0008%209.19922C12.6635%209.19922%2013.2007%2010.0348%2013.2008%2011.0656C13.2008%2011.2742%2013.1767%2011.4744%2013.1362%2011.6617L12.6008%2016.6656C12.6008%2017.181%2012.3322%2017.5992%2012.0008%2017.5992C11.6694%2017.5992%2011.4008%2017.181%2011.4008%2016.6656L10.8646%2011.6617C10.8241%2011.4745%2010.8008%2011.2741%2010.8008%2011.0656C10.8009%2010.0348%2011.3381%209.19922%2012.0008%209.19922Z'%20fill='black'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10.833%205.08415C11.3507%204.16987%2012.6456%204.16987%2013.1633%205.08415L22.4834%2021.5413C23.0007%2022.4554%2022.3534%2023.5982%2021.3182%2023.5984H2.67934C1.64389%2023.5984%200.996537%2022.4556%201.51416%2021.5413L10.833%205.08415ZM12.2898%206.28415C12.1603%206.05562%2011.8373%206.0557%2011.7078%206.28415L2.96965%2021.7127C2.84068%2021.9412%203.0027%2022.2268%203.26127%2022.227H20.735C20.9938%2022.227%2021.1559%2021.9413%2021.0266%2021.7127L12.2898%206.28415Z'%20fill='black'/%3e%3c/svg%3e",Pn={errorMessage:"_errorMessage_15d1p_1",errorSign:"_errorSign_15d1p_10"},Ue=({id:t,content:e=""})=>{const r=()=>({id:t?.length?t:void 0,className:Pn.errorMessage});return(typeof e=="string"?e.trim().length>0:!!e)?d.jsxs("span",{"aria-live":"polite",...r(),children:[d.jsx("img",{src:Fn,alt:"",className:Pn.errorSign}),e]}):null},Qe={label:"_label_sxta8_1",inline:"_inline_sxta8_11",normalCursor:"_normalCursor_sxta8_14",labelText:"_labelText_sxta8_18",subLabel:"_subLabel_sxta8_23"},qe=({inline:t=!1,normalCursor:e=!1,htmlTag:r="label",children:a,subLabel:n,id:i,...s})=>{const l=[Qe.label,t&&Qe.inline,e&&Qe.normalCursor].filter(Boolean).join(" "),o={...s,className:l,id:i||void 0};return C.createElement(r,o,d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Qe.labelText,children:a}),n&&d.jsx("span",{className:Qe.subLabel,children:n})]}))},La=({id:t,name:e,onSelectChange:r,onDragAndDropChange:a,label:n="",subLabel:i="",buttonContent:s,buttonContentWhenSelectedFile:l,selectedFileName:o,hasErrors:c=!1,errorMessage:u="",required:g=!1,"data-transaction-name":p})=>{const[f,I]=C.useState(!1),m=C.useRef(null),b=C.useRef(null),h=F=>{F.preventDefault(),F.stopPropagation()},A=()=>{b.current?.click()},y=()=>`${t}-errorMessage`,S={id:t,"aria-describedby":c&&u?.toString().length?y():void 0,"aria-invalid":c?"true":void 0,name:e,required:g},v=o&&l||s,E=C.useCallback(()=>I(!0),[]),G=C.useCallback(()=>I(!1),[]),B=C.useCallback(F=>{h(F),F.dataTransfer?.files&&a(F.dataTransfer.files),I(!1)},[a]);return C.useEffect(()=>{const F=m.current;if(F)return["dragenter","dragover"].forEach(X=>{F.addEventListener(X,E)}),["dragleave","drop"].forEach(X=>{F.addEventListener(X,G)}),["dragenter","dragover","dragleave","drop"].forEach(X=>{F.addEventListener(X,h)}),F.addEventListener("drop",B),()=>{["dragenter","dragover","dragleave","drop"].forEach(X=>{F.removeEventListener(X,h),F.removeEventListener(X,E),F.removeEventListener(X,G)}),F.removeEventListener("drop",B)}},[a]),d.jsxs("div",{className:$e.dragAndDropFileInput,children:[d.jsxs(qe,{htmlFor:t,subLabel:i,children:[n,g&&d.jsx("img",{src:Ne,alt:"",className:$e.requiredSymbol})]}),d.jsxs("div",{ref:m,className:`${$e.dragAndDropContainer} ${f?$e.highlighted:""} ${c?$e.hasErrors:""}`,children:[o?d.jsx("div",{children:d.jsxs("span",{children:[d.jsx("b",{children:"Valgt fil:"})," ",o]})}):d.jsx("div",{children:"Slipp fil her"}),d.jsx("input",{...S,ref:b,type:"file",onChange:r}),s&&d.jsxs(d.Fragment,{children:[d.jsx("div",{children:o?"":"eller klikk på knappen for å velge fil"}),d.jsx(Fe,{size:"small",inputType:"button",color:"secondary",onClick:A,content:v,"data-transaction-name":p})]})]}),d.jsx(Ue,{id:y(),content:u})]})},Tn="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9984%202.39844C17.3004%202.39844%2021.5984%206.6965%2021.5984%2011.9984C21.5984%2017.3004%2017.3004%2021.5984%2011.9984%2021.5984C6.6965%2021.5984%202.39844%2017.3004%202.39844%2011.9984C2.39844%206.6965%206.6965%202.39844%2011.9984%202.39844ZM11.9984%203.59844C7.35925%203.59844%203.59844%207.35925%203.59844%2011.9984C3.59844%2016.6376%207.35925%2020.3984%2011.9984%2020.3984C16.6376%2020.3984%2020.3984%2016.6376%2020.3984%2011.9984C20.3984%207.35925%2016.6376%203.59844%2011.9984%203.59844Z'%20fill='black'/%3e%3cellipse%20cx='12.0203'%20cy='8.37578'%20rx='1.2'%20ry='1.2'%20fill='black'/%3e%3cpath%20d='M13.1563%2011.1562V17.5934H13.1586C13.3618%2017.5934%2013.5266%2017.7583%2013.5266%2017.9613C13.5264%2018.1642%2013.3617%2018.3281%2013.1586%2018.3281L13.1563%2018.327L11.0984%2018.3281V18.3258H10.7551C10.7469%2018.3263%2010.7388%2018.3281%2010.7305%2018.3281C10.5274%2018.3281%2010.3627%2018.1642%2010.3625%2017.9613C10.3625%2017.7591%2010.526%2017.5946%2010.7281%2017.5934H10.9133C10.9133%2017.5934%2010.9906%2017.5875%2011.0609%2017.4938C11.1313%2017.4%2011.0984%2017.2172%2011.0984%2017.2172V12.9C11.0984%2012.9%2011.1266%2012.6293%2011.0047%2012.4781C10.8828%2012.327%2010.7094%2012.327%2010.7094%2012.327H10.3203C9.9969%2012.327%209.73469%2012.0652%209.73438%2011.7422C9.73438%2011.4189%209.99671%2011.1562%2010.3203%2011.1562H13.1563Z'%20fill='black'/%3e%3c/svg%3e",Xa="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.37223%2011.899L7.78938%2010.4086L11.0086%2014.0181L16.9006%207.59082L18.5625%209.10819L11.0086%2017.0301L6.37223%2011.899Z'%20fill='%23202020'/%3e%3cpath%20d='M11.9984%202.40039C17.3004%202.40039%2021.5984%206.69846%2021.5984%2012.0004C21.5984%2017.3023%2017.3004%2021.6004%2011.9984%2021.6004C6.6965%2021.6004%202.39844%2017.3023%202.39844%2012.0004C2.39844%206.69846%206.6965%202.40039%2011.9984%202.40039ZM11.9984%203.60039C7.35925%203.60039%203.59844%207.3612%203.59844%2012.0004C3.59844%2016.6396%207.35925%2020.4004%2011.9984%2020.4004C16.6376%2020.4004%2020.3984%2016.6396%2020.3984%2012.0004C20.3984%207.3612%2016.6376%203.60039%2011.9984%203.60039Z'%20fill='black'/%3e%3c/svg%3e",Za="data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.9984%202.39844C17.3004%202.39844%2021.5984%206.6965%2021.5984%2011.9984C21.5984%2017.3004%2017.3004%2021.5984%2011.9984%2021.5984C6.6965%2021.5984%202.39844%2017.3004%202.39844%2011.9984C2.39844%206.6965%206.6965%202.39844%2011.9984%202.39844ZM11.9984%203.59844C7.35925%203.59844%203.59844%207.35925%203.59844%2011.9984C3.59844%2016.6376%207.35925%2020.3984%2011.9984%2020.3984C16.6376%2020.3984%2020.3984%2016.6376%2020.3984%2011.9984C20.3984%207.35925%2016.6376%203.59844%2011.9984%203.59844Z'%20fill='black'/%3e%3ccircle%20cx='12.0008'%20cy='17.45'%20r='1.2'%20fill='black'/%3e%3cpath%20d='M12.0008%205.07422C12.9741%205.07422%2013.7631%206.05478%2013.7633%207.26445C13.7633%207.50925%2013.728%207.74425%2013.6684%207.96406L12.882%2013.8363C12.882%2014.4413%2012.4875%2014.932%2012.0008%2014.932C11.5141%2014.932%2011.1195%2014.4413%2011.1195%2013.8363L10.332%207.96406C10.2725%207.74433%2010.2383%207.50914%2010.2383%207.26445C10.2385%206.05478%2011.0275%205.07422%2012.0008%205.07422Z'%20fill='black'/%3e%3c/svg%3e",Ce={box:"_box_19oe1_7",messageIn:"_messageIn_19oe1_1",fullScreen:"_fullScreen_19oe1_15",noBorder:"_noBorder_19oe1_18",info:"_info_19oe1_21",warning:"_warning_19oe1_25",error:"_error_19oe1_29",tip:"_tip_19oe1_33",success:"_success_19oe1_37",inner:"_inner_19oe1_42",hasIcon:"_hasIcon_19oe1_58",icon:"_icon_19oe1_67",iconImage:"_iconImage_19oe1_76",content:"_content_19oe1_82",title:"_title_19oe1_87",body:"_body_19oe1_94"},Rn=({title:t,children:e="",variant:r="info",fullScreen:a=!1,isAlert:n=!1,noBorder:i=!1,hideIcon:s=!1,icon:l,className:o})=>{const c={info:Tn,warning:Za,error:Fn,tip:Tn,success:Xa},u=l??d.jsx("img",{src:c[r],alt:"",className:Ce.iconImage}),g=!s&&u;return d.jsx("div",{className:D([Ce.box,Ce[r],a&&Ce.fullScreen,n&&Ce.alert,i&&Ce.noBorder,g?Ce.hasIcon:null,o]),children:d.jsxs("div",{className:Ce.inner,children:[g?d.jsx("div",{className:Ce.icon,children:u}):null,d.jsxs("div",{className:Ce.content,children:[t?d.jsx(Ye,{size:3,children:t}):null,e?d.jsx("div",{className:Ce.body,children:e}):null]})]})})},Wa=({type:t="warning",children:e="",...r})=>d.jsx(Rn,{variant:t,children:e,...r}),Oa={footer:"_footer_19fad_1"},ka=({children:t})=>d.jsx("footer",{className:Oa.footer,children:d.jsx(Vn,{children:t})}),Ie={inputField:"_inputField_1x7wx_1",requiredSymbol:"_requiredSymbol_1x7wx_1",file:"_file_1x7wx_9",input:"_input_1x7wx_1",hasErrors:"_hasErrors_1x7wx_44",dateInput:"_dateInput_1x7wx_53",inputWithButton:"_inputWithButton_1x7wx_71",fileInputContainer:"_fileInputContainer_1x7wx_79",visuallyHidden:"_visuallyHidden_1x7wx_92",caption:"_caption_1x7wx_103"},Mn=t=>{if(t==null||t==="")return;const e=t instanceof Date?t:new Date(t);if(Number.isNaN(e.getTime()))return;const r=e.getFullYear(),a=String(e.getMonth()+1).padStart(2,"0"),n=String(e.getDate()).padStart(2,"0");return`${r}-${a}-${n}`},ja=t=>!t||["text","search","url","email","tel","password","number"].includes(t),Da=({id:t,onChange:e=()=>{},onBlur:r,onFocus:a,name:n="",type:i="text",disabled:s=!1,required:l=!1,readOnly:o,width:c,value:u,defaultValue:g,elementKey:p,label:f="",buttonColor:I="primary",buttonContent:m,actionButtonContent:b,actionButtonIconLeft:h,actionButtonIconRight:A,actionButtonOnClick:y,actionButtonDisabled:S=!1,actionButtonAriaLabel:v,selectedFileName:E,placeholder:G="",min:B,max:F,role:X,"aria-describedby":O,"aria-autocomplete":K,hasErrors:ee=!1,errorMessage:ue="",noMargin:re=!1,caption:z})=>{const te=C.useRef(null),q=()=>`${t}-errorMessage`,ne=`${t}-caption`,Y=c?{maxWidth:c}:{},x=i==="date"&&!s&&!o,_=!!b&&!!y&&i!=="file",H=()=>{if(!x||!te.current)return;document.activeElement!==te.current&&te.current.focus(),te.current.showPicker?.()},W=M=>{H(),a?.(M)},ce=()=>{i==="file"&&(s||te.current?.click())},ae=M=>{i!=="file"||s||(M.key==="Enter"||M.key===" ")&&(M.preventDefault(),te.current?.click())},k=(()=>{if(i==="file")return{};if(i==="date"){const j=u!==void 0?Mn(u):void 0,w=u===void 0&&g!==void 0?Mn(g):void 0;return u!==void 0?{value:j??""}:g!==void 0?{defaultValue:w}:{}}const M=j=>j instanceof Date?String(j.getTime()):j;return u!==void 0?{value:M(u)}:g!==void 0?{defaultValue:M(g)}:{}})(),oe=D([ee&&Ie.hasErrors,i==="date"&&Ie.dateInput,i==="file"&&Ie.visuallyHidden]),V={name:n,readOnly:o,disabled:s,required:l,type:i,role:X,id:t,min:B,max:F,onChange:e,onBlur:r,onFocus:W,placeholder:i==="file"?void 0:G,className:oe||void 0,"aria-describedby":[ee&&ue?q():null,z?ne:null,O].filter(Boolean).join(" ").trim()||void 0,"aria-invalid":ee||void 0,"aria-autocomplete":ja(i)?K:void 0,style:_?void 0:Y,...k};return d.jsxs("div",{className:D([Ie.inputField,Ie[i],re&&Ie.noMargin]),children:[d.jsxs(qe,{htmlFor:t,children:[f,l&&d.jsx("img",{src:Ne,alt:"",className:Ie.requiredSymbol}),i==="file"&&d.jsxs("div",{className:Ie.fileInputContainer,onClick:ce,onKeyDown:ae,role:"button",tabIndex:s?-1:0,"aria-disabled":s||void 0,children:[d.jsx("span",{className:Ie.input,children:E}),m&&d.jsx(Fe,{color:I,inputType:"button",onClick:()=>te.current?.click(),content:m})]})]}),_?d.jsxs("div",{className:Ie.inputWithButton,style:Y,children:[d.jsx("input",{...V,ref:te},p||t),d.jsx(Fe,{color:I,inputType:"button",onClick:y,disabled:S,"aria-label":v,iconLeft:h,iconRight:A,noMargin:!0,children:b})]}):d.jsx("input",{...V,ref:te},p||t),z?d.jsx("p",{className:Ie.caption,id:ne,children:z}):null,ee&&ue?d.jsx(Ue,{id:q(),content:ue}):null]})},Hn={list:"_list_16gsl_1",compact:"_compact_16gsl_10"},za=({listStyle:t,compact:e=!1,ordered:r=!1,children:a})=>{const n=o=>Me(o).map(u=>C.isValidElement(u)?C.cloneElement(u,{compact:e,key:`listItem-${u.key}`}):u),i=r?"ol":"ul",s=r?"decimal":"disc";return C.createElement(i,{className:`${Hn.list} ${e?Hn.compact:""}`,style:{"--listStyle":t||s}},n(C.Children.toArray(a)))},Ln={listItem:"_listItem_33xs0_1",compact:"_compact_33xs0_5"},Ya=({compact:t=!1,children:e})=>{const r=D([Ln.listItem,t&&Ln.compact]);return d.jsx("li",{className:r,children:e})},Xn={LoadingAnimation:"_LoadingAnimation_1blqf_1",dot:"_dot_1blqf_11"},Zn=({ariaLabel:t="Laster inn"})=>{const e=[0,.15,.3];return d.jsx("div",{role:"img","aria-label":t,className:Xn.LoadingAnimation,children:e.map(r=>d.jsx("span",{className:Xn.dot,style:{animationDelay:`${r}s`}},r))})},Ja={dibk:{appName:"DiBK",logo:"data:image/svg+xml,%3csvg%20width='283'%20height='47'%20viewBox='0%200%20283%2047'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_5119_83056)'%3e%3cpath%20d='M17.3789%2014.2536L-0.164062%2022.5076V30.0949L17.3997%2021.8198L34.9635%2030.0949V22.5076L17.4206%2014.2536H17.3789ZM-0.164062%2041.7047H34.9635V34.847H-0.164062V41.7047ZM16.1496%202.26857C11.9202%203.91522%207.79485%204.22787%203.89875%203.14401C2.00275%202.62294%200.606826%201.87256%20-0.164062%201.41401V9.25117C2.08611%2010.1266%205.06547%2010.877%208.58656%2010.877C12.1077%2010.877%2014.9621%2010.335%2018.6498%208.89684C22.8793%207.25019%2027.0046%206.93754%2030.9007%208.0214C32.7967%208.54247%2034.1926%209.29285%2034.9635%209.7514V1.91424C30.7965%200.309309%2024.2127%20-0.878783%2016.1496%202.26857Z'%20fill='%23003045'/%3e%3c/g%3e%3cpath%20d='M92.2652%2019.561C88.355%2019.561%2085.6758%2016.7612%2085.6758%2012.8511C85.6758%208.62723%2088.4515%206.02051%2092.0238%206.02051C95.6443%206.02051%2098.058%208.55482%2098.1305%2012.7063V13.3821H88.5239C88.717%2015.6268%2090.117%2017.1474%2092.2893%2017.1474C93.7617%2017.1474%2094.872%2016.4233%2095.3064%2015.144H98.0822C97.4305%2017.8956%2095.2823%2019.561%2092.2652%2019.561ZM88.6446%2011.3788H95.1857C94.8237%209.54441%2093.6893%208.43414%2092.0238%208.43414C90.3342%208.43414%2089.0791%209.54441%2088.6446%2011.3788Z'%20fill='%23003045'/%3e%3cpath%20d='M73.5649%204.69286C72.527%204.69286%2071.7305%203.87222%2071.7305%202.83436C71.7305%201.7965%2072.527%201%2073.5649%201C74.6269%201%2075.3993%201.7965%2075.3993%202.83436C75.3993%203.87222%2074.6269%204.69286%2073.5649%204.69286ZM74.989%2019.1988H72.1408V6.40653H74.989V19.1988Z'%20fill='%23003045'/%3e%3cpath%20d='M57.8964%2019.1991H55V2.30371H58.1378L66.5133%2015.0236V2.30371H69.4098V19.1991H66.272L57.8964%206.47929V19.1991Z'%20fill='%23003045'/%3e%3cpath%20d='M79.9182%206.8571L80.262%209.56095L84.0868%206.49219L85.6767%208.3163L80.4553%2012.3941V19.0895H77.7266V6.8571H79.9182Z'%20fill='%23003045'/%3e%3cpath%20d='M105.142%206.02051C107.054%206.02051%20108.622%206.92176%20109.374%208.27344L109.611%206.38574H111.781V18.2539C111.781%2021.4938%20109.181%2023.6181%20105.765%2023.6182C102.348%2023.6182%2099.9854%2021.9658%2099.9854%2019.3262H102.714C102.714%2020.4851%20103.595%2021.4082%20105.765%2021.4082C107.935%2021.4082%20109.074%2020.12%20109.074%2018.2744V16.5361C108.279%2017.7166%20108.45%2018.4463%20105.163%2018.4463C101.875%2018.4462%2099.5117%2015.9138%2099.5117%2012.2656C99.5118%208.61706%20101.876%206.02056%20105.142%206.02051ZM105.68%208.31738C103.703%208.31738%20102.327%209.90489%20102.327%2012.2441C102.327%2014.5831%20103.682%2016.1504%20105.68%2016.1504C107.656%2016.1502%20109.053%2014.5403%20109.053%2012.2227C109.053%209.90508%20107.656%208.31761%20105.68%208.31738Z'%20fill='%23003045'/%3e%3cpath%20d='M57.704%2041.6182H56.36V30.4182H57.896L64.232%2039.6982V30.4182H65.576V41.6182H64.04L57.704%2032.3382V41.6182ZM70.7615%2041.7462C68.8415%2041.7462%2067.6095%2040.7542%2067.6095%2039.2022C67.6095%2037.2502%2069.4975%2036.8822%2071.1935%2036.7062C72.4895%2036.5782%2073.6095%2036.5942%2073.6255%2035.9062C73.6095%2034.8342%2072.7295%2034.0822%2071.4495%2034.0822C70.2175%2034.0822%2069.2575%2034.7702%2069.1135%2035.7782H67.8015C67.9615%2034.1142%2069.4655%2032.9462%2071.4815%2032.9462C73.5775%2032.9462%2074.9215%2034.1942%2074.9215%2035.9862V40.1142C74.9215%2040.3862%2075.0655%2040.5302%2075.3535%2040.5302H75.8335V41.6182H75.0815C74.1695%2041.6182%2073.6895%2041.2022%2073.6895%2040.4182V40.1622C73.1935%2041.1382%2072.2335%2041.7462%2070.7615%2041.7462ZM70.9535%2040.6102C72.5375%2040.6102%2073.6255%2039.6022%2073.6255%2038.1942V37.0902C73.2575%2037.5862%2072.3135%2037.6822%2071.2735%2037.7942C70.1055%2037.9222%2068.9375%2038.0822%2068.9375%2039.1702C68.9375%2040.0502%2069.7375%2040.6102%2070.9535%2040.6102ZM80.4904%2041.7942C78.4744%2041.7942%2076.9864%2040.7382%2076.8744%2038.9462H78.1704C78.2664%2040.0502%2079.2744%2040.6582%2080.5544%2040.6582C81.7544%2040.6582%2082.3304%2040.1942%2082.3304%2039.3462C82.3304%2038.5462%2081.7064%2038.3702%2080.8264%2038.0662L79.5944%2037.6502C78.3464%2037.2342%2077.0984%2036.8502%2077.0984%2035.3142C77.0984%2033.8742%2078.2184%2032.9462%2080.0744%2032.9462C81.9464%2032.9462%2083.2424%2033.9542%2083.4504%2035.8422H82.1544C82.0104%2034.6582%2081.1784%2034.0822%2080.0264%2034.0822C78.9864%2034.0822%2078.3784%2034.5462%2078.3784%2035.2822C78.3784%2036.1622%2079.3064%2036.3382%2080.0104%2036.5782L81.1624%2036.9622C82.7144%2037.4742%2083.6424%2038.0022%2083.6424%2039.4102C83.6424%2040.8982%2082.5544%2041.7942%2080.4904%2041.7942ZM85.9475%2031.7142C85.3715%2031.7142%2084.9555%2031.2982%2084.9555%2030.7222C84.9555%2030.1622%2085.3715%2029.7462%2085.9475%2029.7462C86.5075%2029.7462%2086.9235%2030.1622%2086.9235%2030.7222C86.9235%2031.2982%2086.5075%2031.7142%2085.9475%2031.7142ZM84.0755%2044.8182H82.8915V43.6982H84.0755C84.8595%2043.6982%2085.2755%2043.2502%2085.2755%2042.4022V33.1382H86.6035V42.4022C86.6035%2043.9702%2085.7235%2044.8182%2084.0755%2044.8182ZM92.5035%2041.7942C89.7835%2041.7942%2088.3435%2039.8582%2088.3435%2037.2982C88.3435%2034.4662%2090.1995%2032.9462%2092.5035%2032.9462C95.2075%2032.9462%2096.6635%2034.8982%2096.6635%2037.2982C96.6635%2040.2262%2094.8875%2041.7942%2092.5035%2041.7942ZM92.5035%2040.6422C94.3115%2040.6422%2095.3035%2039.1382%2095.3035%2037.2982C95.3035%2035.3942%2094.1995%2034.0982%2092.5035%2034.0982C90.8075%2034.0982%2089.7035%2035.3942%2089.7035%2037.2982C89.7035%2039.4742%2090.9675%2040.6422%2092.5035%2040.6422ZM99.7285%2041.6182H98.4005V33.1382H99.4565L99.5845%2034.4342C100.161%2033.5382%20101.265%2032.9462%20102.529%2032.9462C104.353%2032.9462%20105.569%2034.1302%20105.569%2036.0022V41.6182H104.241V36.0502C104.241%2034.8662%20103.473%2034.1142%20102.193%2034.1142C100.673%2034.1142%2099.7445%2035.1702%2099.7285%2036.4662V41.6182ZM110.387%2041.7462C108.467%2041.7462%20107.235%2040.7542%20107.235%2039.2022C107.235%2037.2502%20109.123%2036.8822%20110.819%2036.7062C112.115%2036.5782%20113.235%2036.5942%20113.251%2035.9062C113.235%2034.8342%20112.355%2034.0822%20111.075%2034.0822C109.843%2034.0822%20108.883%2034.7702%20108.739%2035.7782H107.427C107.587%2034.1142%20109.091%2032.9462%20111.107%2032.9462C113.203%2032.9462%20114.547%2034.1942%20114.547%2035.9862V40.1142C114.547%2040.3862%20114.691%2040.5302%20114.979%2040.5302H115.459V41.6182H114.707C113.795%2041.6182%20113.315%2041.2022%20113.315%2040.4182V40.1622C112.819%2041.1382%20111.859%2041.7462%20110.387%2041.7462ZM110.579%2040.6102C112.163%2040.6102%20113.251%2039.6022%20113.251%2038.1942V37.0902C112.883%2037.5862%20111.939%2037.6822%20110.899%2037.7942C109.731%2037.9222%20108.562%2038.0822%20108.562%2039.1702C108.562%2040.0502%20109.363%2040.6102%20110.579%2040.6102ZM118.323%2041.6182H116.995V29.6182H118.323V41.6182ZM124.957%2041.6182H124.013C122.365%2041.6182%20121.485%2040.7702%20121.485%2039.2022V34.2582H119.917V33.1382H121.485V30.2422H122.813V33.1382H125.101V34.2582H122.813V39.2022C122.813%2040.0502%20123.229%2040.4982%20124.013%2040.4982H124.957V41.6182ZM130.932%2031.7142C130.372%2031.7142%20129.94%2031.2822%20129.94%2030.7222C129.94%2030.1622%20130.372%2029.7462%20130.932%2029.7462C131.492%2029.7462%20131.908%2030.1622%20131.908%2030.7222C131.908%2031.2822%20131.492%2031.7142%20130.932%2031.7142ZM131.588%2041.6182H130.26V33.1382H131.588V41.6182ZM135.088%2041.6182H133.76V33.1382H134.816L134.944%2034.4342C135.52%2033.5382%20136.624%2032.9462%20137.888%2032.9462C139.712%2032.9462%20140.928%2034.1302%20140.928%2036.0022V41.6182H139.6V36.0502C139.6%2034.8662%20138.832%2034.1142%20137.552%2034.1142C136.032%2034.1142%20135.104%2035.1702%20135.088%2036.4662V41.6182ZM146.178%2041.7942C144.162%2041.7942%20142.674%2040.7382%20142.562%2038.9462H143.858C143.954%2040.0502%20144.962%2040.6582%20146.242%2040.6582C147.442%2040.6582%20148.018%2040.1942%20148.018%2039.3462C148.018%2038.5462%20147.394%2038.3702%20146.514%2038.0662L145.282%2037.6502C144.034%2037.2342%20142.786%2036.8502%20142.786%2035.3142C142.786%2033.8742%20143.906%2032.9462%20145.762%2032.9462C147.634%2032.9462%20148.93%2033.9542%20149.138%2035.8422H147.842C147.698%2034.6582%20146.866%2034.0822%20145.714%2034.0822C144.674%2034.0822%20144.066%2034.5462%20144.066%2035.2822C144.066%2036.1622%20144.994%2036.3382%20145.698%2036.5782L146.85%2036.9622C148.402%2037.4742%20149.33%2038.0022%20149.33%2039.4102C149.33%2040.8982%20148.242%2041.7942%20146.178%2041.7942ZM155.16%2041.6182H154.216C152.568%2041.6182%20151.688%2040.7702%20151.688%2039.2022V34.2582H150.12V33.1382H151.688V30.2422H153.016V33.1382H155.304V34.2582H153.016V39.2022C153.016%2040.0502%20153.432%2040.4982%20154.216%2040.4982H155.16V41.6182ZM159.605%2041.7462C157.685%2041.7462%20156.453%2040.7542%20156.453%2039.2022C156.453%2037.2502%20158.341%2036.8822%20160.037%2036.7062C161.333%2036.5782%20162.453%2036.5942%20162.469%2035.9062C162.453%2034.8342%20161.573%2034.0822%20160.293%2034.0822C159.061%2034.0822%20158.101%2034.7702%20157.957%2035.7782H156.645C156.805%2034.1142%20158.309%2032.9462%20160.325%2032.9462C162.421%2032.9462%20163.765%2034.1942%20163.765%2035.9862V40.1142C163.765%2040.3862%20163.909%2040.5302%20164.197%2040.5302H164.677V41.6182H163.925C163.013%2041.6182%20162.533%2041.2022%20162.533%2040.4182V40.1622C162.037%2041.1382%20161.077%2041.7462%20159.605%2041.7462ZM159.797%2040.6102C161.381%2040.6102%20162.469%2039.6022%20162.469%2038.1942V37.0902C162.101%2037.5862%20161.157%2037.6822%20160.117%2037.7942C158.949%2037.9222%20157.781%2038.0822%20157.781%2039.1702C157.781%2040.0502%20158.581%2040.6102%20159.797%2040.6102ZM167.542%2041.6182H166.214V29.6182H167.542V41.6182ZM171.136%2041.6182H169.808V29.6182H171.136V41.6182ZM176.09%2041.7462C174.17%2041.7462%20172.938%2040.7542%20172.938%2039.2022C172.938%2037.2502%20174.826%2036.8822%20176.522%2036.7062C177.818%2036.5782%20178.938%2036.5942%20178.954%2035.9062C178.938%2034.8342%20178.058%2034.0822%20176.778%2034.0822C175.546%2034.0822%20174.586%2034.7702%20174.442%2035.7782H173.13C173.29%2034.1142%20174.794%2032.9462%20176.81%2032.9462C178.906%2032.9462%20180.25%2034.1942%20180.25%2035.9862V40.1142C180.25%2040.3862%20180.394%2040.5302%20180.682%2040.5302H181.162V41.6182H180.41C179.498%2041.6182%20179.018%2041.2022%20179.018%2040.4182V40.1622C178.522%2041.1382%20177.562%2041.7462%20176.09%2041.7462ZM176.282%2040.6102C177.866%2040.6102%20178.954%2039.6022%20178.954%2038.1942V37.0902C178.586%2037.5862%20177.642%2037.6822%20176.602%2037.7942C175.434%2037.9222%20174.266%2038.0822%20174.266%2039.1702C174.266%2040.0502%20175.066%2040.6102%20176.282%2040.6102ZM185.819%2041.7942C183.803%2041.7942%20182.315%2040.7382%20182.203%2038.9462H183.499C183.595%2040.0502%20184.603%2040.6582%20185.883%2040.6582C187.083%2040.6582%20187.659%2040.1942%20187.659%2039.3462C187.659%2038.5462%20187.035%2038.3702%20186.155%2038.0662L184.923%2037.6502C183.674%2037.2342%20182.427%2036.8502%20182.427%2035.3142C182.427%2033.8742%20183.547%2032.9462%20185.403%2032.9462C187.275%2032.9462%20188.571%2033.9542%20188.779%2035.8422H187.483C187.339%2034.6582%20186.507%2034.0822%20185.355%2034.0822C184.315%2034.0822%20183.707%2034.5462%20183.707%2035.2822C183.707%2036.1622%20184.635%2036.3382%20185.339%2036.5782L186.491%2036.9622C188.043%2037.4742%20188.971%2038.0022%20188.971%2039.4102C188.971%2040.8982%20187.883%2041.7942%20185.819%2041.7942ZM191.276%2031.7142C190.7%2031.7142%20190.284%2031.2982%20190.284%2030.7222C190.284%2030.1622%20190.7%2029.7462%20191.276%2029.7462C191.836%2029.7462%20192.252%2030.1622%20192.252%2030.7222C192.252%2031.2982%20191.836%2031.7142%20191.276%2031.7142ZM189.404%2044.8182H188.22V43.6982H189.404C190.188%2043.6982%20190.604%2043.2502%20190.604%2042.4022V33.1382H191.932V42.4022C191.932%2043.9702%20191.052%2044.8182%20189.404%2044.8182ZM197.832%2041.7942C195.112%2041.7942%20193.672%2039.8582%20193.672%2037.2982C193.672%2034.4662%20195.528%2032.9462%20197.832%2032.9462C200.536%2032.9462%20201.992%2034.8982%20201.992%2037.2982C201.992%2040.2262%20200.216%2041.7942%20197.832%2041.7942ZM197.832%2040.6422C199.64%2040.6422%20200.632%2039.1382%20200.632%2037.2982C200.632%2035.3942%20199.528%2034.0982%20197.832%2034.0982C196.136%2034.0982%20195.032%2035.3942%20195.032%2037.2982C195.032%2039.4742%20196.296%2040.6422%20197.832%2040.6422ZM205.057%2041.6182H203.729V33.1382H204.785L204.913%2034.4342C205.489%2033.5382%20206.593%2032.9462%20207.857%2032.9462C209.681%2032.9462%20210.897%2034.1302%20210.897%2036.0022V41.6182H209.569V36.0502C209.569%2034.8662%20208.801%2034.1142%20207.521%2034.1142C206.001%2034.1142%20205.073%2035.1702%20205.057%2036.4662V41.6182ZM216.147%2041.7942C214.131%2041.7942%20212.643%2040.7382%20212.531%2038.9462H213.827C213.923%2040.0502%20214.931%2040.6582%20216.211%2040.6582C217.411%2040.6582%20217.987%2040.1942%20217.987%2039.3462C217.987%2038.5462%20217.363%2038.3702%20216.483%2038.0662L215.251%2037.6502C214.003%2037.2342%20212.755%2036.8502%20212.755%2035.3142C212.755%2033.8742%20213.875%2032.9462%20215.731%2032.9462C217.603%2032.9462%20218.899%2033.9542%20219.107%2035.8422H217.811C217.667%2034.6582%20216.835%2034.0822%20215.683%2034.0822C214.643%2034.0822%20214.035%2034.5462%20214.035%2035.2822C214.035%2036.1622%20214.963%2036.3382%20215.667%2036.5782L216.819%2036.9622C218.371%2037.4742%20219.299%2038.0022%20219.299%2039.4102C219.299%2040.8982%20218.211%2041.7942%20216.147%2041.7942ZM222.26%2041.6182H220.932V33.1382H221.988L222.148%2034.7542C222.692%2033.6662%20223.684%2033.0902%20225.092%2033.0902H225.38V34.4022H225.092C223.3%2034.4022%20222.26%2035.4262%20222.26%2037.1702V41.6182ZM230.254%2041.7942C227.742%2041.7942%20226.078%2039.9542%20226.078%2037.4102C226.078%2034.5142%20227.95%2032.9462%20230.094%2032.9462C232.43%2032.9462%20233.934%2034.5142%20233.982%2037.2342V37.6022H227.406C227.486%2039.4102%20228.542%2040.6422%20230.254%2040.6422C231.438%2040.6422%20232.302%2040.0502%20232.654%2038.9462H233.95C233.566%2040.6902%20232.19%2041.7942%20230.254%2041.7942ZM227.486%2036.4982H232.59C232.35%2035.0102%20231.454%2034.0982%20230.094%2034.0982C228.75%2034.0982%20227.758%2034.9782%20227.486%2036.4982ZM239.425%2045.0102C237.137%2045.0102%20235.585%2043.9062%20235.585%2042.1142H236.913C236.913%2043.1222%20237.937%2043.8902%20239.425%2043.8902C241.169%2043.8902%20242.081%2042.8502%20242.081%2041.3942V40.0182C241.489%2040.8982%20240.465%2041.4742%20239.169%2041.4742C236.913%2041.4742%20235.297%2039.7462%20235.297%2037.2502C235.297%2034.7062%20236.929%2032.9462%20239.169%2032.9462C240.529%2032.9462%20241.633%2033.5862%20242.209%2034.6102L242.353%2033.1382H243.393V41.3942C243.393%2043.5382%20241.953%2045.0102%20239.425%2045.0102ZM239.361%2040.3222C240.961%2040.3222%20242.081%2039.0422%20242.081%2037.2022C242.081%2035.3782%20240.961%2034.0982%20239.361%2034.0982C237.777%2034.0982%20236.673%2035.3782%20236.673%2037.2342C236.673%2039.0582%20237.777%2040.3222%20239.361%2040.3222ZM246.244%2031.7142C245.684%2031.7142%20245.252%2031.2822%20245.252%2030.7222C245.252%2030.1622%20245.684%2029.7462%20246.244%2029.7462C246.804%2029.7462%20247.22%2030.1622%20247.22%2030.7222C247.22%2031.2822%20246.804%2031.7142%20246.244%2031.7142ZM246.9%2041.6182H245.572V33.1382H246.9V41.6182ZM252.24%2041.7942C250.224%2041.7942%20248.736%2040.7382%20248.624%2038.9462H249.92C250.016%2040.0502%20251.024%2040.6582%20252.304%2040.6582C253.504%2040.6582%20254.08%2040.1942%20254.08%2039.3462C254.08%2038.5462%20253.456%2038.3702%20252.576%2038.0662L251.344%2037.6502C250.096%2037.2342%20248.848%2036.8502%20248.848%2035.3142C248.848%2033.8742%20249.968%2032.9462%20251.824%2032.9462C253.696%2032.9462%20254.992%2033.9542%20255.2%2035.8422H253.904C253.76%2034.6582%20252.928%2034.0822%20251.776%2034.0822C250.736%2034.0822%20250.128%2034.5462%20250.128%2035.2822C250.128%2036.1622%20251.056%2036.3382%20251.76%2036.5782L252.912%2036.9622C254.464%2037.4742%20255.392%2038.0022%20255.392%2039.4102C255.392%2040.8982%20254.304%2041.7942%20252.24%2041.7942ZM261.223%2041.6182H260.279C258.631%2041.6182%20257.751%2040.7702%20257.751%2039.2022V34.2582H256.183V33.1382H257.751V30.2422H259.079V33.1382H261.367V34.2582H259.079V39.2022C259.079%2040.0502%20259.495%2040.4982%20260.279%2040.4982H261.223V41.6182ZM266.473%2041.7942C263.961%2041.7942%20262.297%2039.9542%20262.297%2037.4102C262.297%2034.5142%20264.169%2032.9462%20266.313%2032.9462C268.649%2032.9462%20270.153%2034.5142%20270.201%2037.2342V37.6022H263.625C263.705%2039.4102%20264.761%2040.6422%20266.473%2040.6422C267.657%2040.6422%20268.521%2040.0502%20268.873%2038.9462H270.169C269.785%2040.6902%20268.409%2041.7942%20266.473%2041.7942ZM263.705%2036.4982H268.809C268.569%2035.0102%20267.673%2034.0982%20266.313%2034.0982C264.969%2034.0982%20263.977%2034.9782%20263.705%2036.4982ZM273.275%2041.6182H271.947V33.1382H273.003L273.163%2034.7542C273.707%2033.6662%20274.699%2033.0902%20276.107%2033.0902H276.395V34.4022H276.107C274.315%2034.4022%20273.275%2035.4262%20273.275%2037.1702V41.6182Z'%20fill='%23003045'/%3e%3cdefs%3e%3cclipPath%20id='clip0_5119_83056'%3e%3crect%20width='35'%20height='42'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e",colors:{bodyBackground:"#ebf4fa",defaultText:"#202020",headingText:"#003045",primaryText:"#005275",primary:"#003045",primaryLight:"#264f61",primaryXLight:"#406474",primaryContrast:"#ffffff",secondary:"#ffffff",secondaryLight:"#c7e0f2",secondaryXLight:"#ebf4fa",secondaryContrast:"#005275",formElement:"#003045",border:"#89bad6",focus:"rgba(0, 92, 173, 0.4)",defaultBackground:"#f1fae3",secondaryBackground:"#f5f0f0",success:"#177912",successLight:"#cbebb0",successXLight:"#f1fae3",warning:"#ffbe00",warningLight:"#fcefb6",warningXLight:"#fff8db",error:"#db0000",errorLight:"#ffc5c2",errorXLight:"#fceceb"}},arbeidstilsynet:{appName:"Arbeidstilsynet",logo:"data:image/svg+xml,%3csvg%20id='Layer_1'%20data-name='Layer%201'%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20668.4%20171.17'%3e%3cdefs%3e%3cstyle%3e.cls-1{fill:%23fff;}.cls-2{fill:%2311c1b0;}%3c/style%3e%3c/defs%3e%3ctitle%3eArtboard%201%3c/title%3e%3ccircle%20class='cls-1'%20cx='75.91'%20cy='79.24'%20r='68.12'/%3e%3cpath%20d='M161.61,155.16l21.66-50.54h6.86l21.66,50.54H201.61L196.84,144H176.56l-4.76,11.19Zm18.63-19.86h12.85l-6.43-14.95Z'/%3e%3cpath%20d='M237.05,128.44a13,13,0,0,0-3.39-.36,10.39,10.39,0,0,0-8.52,5.06v22h-9.39v-35h9v3.54c2.09-2.6,5.92-4.26,10.18-4.26a19.08,19.08,0,0,1,3.18.29Z'/%3e%3cpath%20d='M243.91,155.16V103.89h9.39v18.77a15.52,15.52,0,0,1,9.89-3.25c9.53,0,17.18,7.94,17.18,18.27A18.8,18.8,0,0,1,275.89,150a17.61,17.61,0,0,1-13.21,5.92,14.65,14.65,0,0,1-9.75-3.54v2.82Zm9.39-12.27a10.25,10.25,0,0,0,8.45,4.33,9.15,9.15,0,0,0,9.24-9.53c0-5.06-3.54-9.6-9-9.6a10.76,10.76,0,0,0-8.66,4.33Z'/%3e%3cpath%20d='M317.4,149.6A19,19,0,0,1,303,155.88c-10.47,0-18.34-7.22-18.34-18.19,0-9.75,6.64-18.27,17-18.27,9.68,0,16.53,8.16,16.53,17.91a15.48,15.48,0,0,1-.22,2.67H293.79a9.19,9.19,0,0,0,9.46,8.3,12.39,12.39,0,0,0,8.81-4Zm-8.74-16.46a7,7,0,0,0-6.93-6.14,7.6,7.6,0,0,0-7.51,6.14Z'/%3e%3cpath%20d='M329.45,101.72a6,6,0,1,1-6.14,6A6,6,0,0,1,329.45,101.72Zm4.69,53.43h-9.39v-35h9.39Z'/%3e%3cpath%20d='M368.08,155.16v-2.82a14.65,14.65,0,0,1-9.75,3.54A17.61,17.61,0,0,1,345.12,150a18.8,18.8,0,0,1-4.48-12.27c0-10.33,7.65-18.27,17.19-18.27a15.52,15.52,0,0,1,9.89,3.25V103.89h9.39v51.26Zm-.36-22.74a10.77,10.77,0,0,0-8.66-4.33c-5.49,0-9,4.55-9,9.6a9.15,9.15,0,0,0,9.24,9.53,10.25,10.25,0,0,0,8.45-4.33Z'/%3e%3cpath%20d='M387.56,144.47a14.75,14.75,0,0,0,9.6,3.46c2.53,0,4.48-1.23,4.48-3,0-5.27-17-3.39-17-14.66,0-6.71,6.5-10.9,13.43-10.9,4.55,0,9.53,1.73,11.84,3.54l-4.4,6.79a11.81,11.81,0,0,0-6.71-2.38c-2.6,0-4.77,1-4.77,2.82,0,4.55,17,2.75,17,14.87,0,6.71-6.57,10.83-13.94,10.83A24.22,24.22,0,0,1,383,151.18Z'/%3e%3cpath%20d='M443.15,155.16a23.14,23.14,0,0,1-5.85.72c-5.63,0-9.75-1.88-12.13-5.05-1.8-2.38-2.6-5.49-2.6-10.47V128.08h-9.75v-7.94h9.75v-9.75H432v9.75h11.55v7.94H432v13.36c0,2.17.36,3.46,1.16,4.4s2.45,1.73,4.76,1.73a22.8,22.8,0,0,0,3.83-.36Z'/%3e%3cpath%20d='M455.78,101.72a6,6,0,1,1-6.14,6A6,6,0,0,1,455.78,101.72Zm4.69,53.43h-9.39v-35h9.39Z'/%3e%3cpath%20d='M479.25,155.16h-9.39V103.89h9.39Z'/%3e%3cpath%20d='M489.71,144.47a14.75,14.75,0,0,0,9.6,3.46c2.53,0,4.48-1.23,4.48-3,0-5.27-17-3.39-17-14.66,0-6.71,6.5-10.9,13.43-10.9,4.55,0,9.53,1.73,11.84,3.54l-4.4,6.79a11.81,11.81,0,0,0-6.71-2.38c-2.6,0-4.77,1-4.77,2.82,0,4.55,17,2.75,17,14.87,0,6.71-6.57,10.83-13.94,10.83a24.22,24.22,0,0,1-14.08-4.69Z'/%3e%3cpath%20d='M521.69,172.49l9.67-20.87L515.7,120.14H526l10.25,21,9.46-21h9.89l-24.12,52.35Z'/%3e%3cpath%20d='M560.31,155.16v-35h9V123a15.45,15.45,0,0,1,9.89-3.54A15.78,15.78,0,0,1,591.36,125c2.31,2.75,3.61,6.28,3.61,12.27v17.83h-9.39V136.6c0-3.46-.79-5.27-2.09-6.57a7.38,7.38,0,0,0-5.27-2,11.18,11.18,0,0,0-8.52,4.33v22.74Z'/%3e%3cpath%20d='M633.45,149.6a19,19,0,0,1-14.37,6.28c-10.47,0-18.34-7.22-18.34-18.19,0-9.75,6.64-18.27,17-18.27,9.68,0,16.53,8.16,16.53,17.91a15.48,15.48,0,0,1-.22,2.67H609.84a9.19,9.19,0,0,0,9.46,8.3,12.39,12.39,0,0,0,8.81-4Zm-8.74-16.46a7,7,0,0,0-6.93-6.14,7.6,7.6,0,0,0-7.51,6.14Z'/%3e%3cpath%20d='M666.44,155.16a23.16,23.16,0,0,1-5.85.72c-5.63,0-9.75-1.88-12.13-5.05-1.8-2.38-2.6-5.49-2.6-10.47V128.08h-9.75v-7.94h9.75v-9.75h9.39v9.75H666.8v7.94H655.25v13.36c0,2.17.36,3.46,1.16,4.4s2.45,1.73,4.76,1.73a22.8,22.8,0,0,0,3.83-.36Z'/%3e%3cpath%20class='cls-2'%20d='M84.69,34.34c.52,1.69,0,3.34-1.25,3.74a5.9,5.9,0,0,1-1.21.29,3.83,3.83,0,0,0,.73.17,3.85,3.85,0,1,0,1-7.63,4,4,0,0,0-3.71,1.58A6.54,6.54,0,0,1,81.55,32C82.77,31.6,84.17,32.65,84.69,34.34Z'/%3e%3cpath%20class='cls-2'%20d='M69.13,33.52c-1.33.07-2.86,1-4.72,2.84-.14.14,2.56-1.41,3.24-.69a2.17,2.17,0,0,0,1.91.73c1-.08,1.56-.58,1.5-1.44A1.72,1.72,0,0,0,69.13,33.52Z'/%3e%3cpath%20class='cls-2'%20d='M75.91,3.33A75.91,75.91,0,0,0,0,79.24v75.91H75.91a75.91,75.91,0,0,0,0-151.82ZM126.2,80.78c-.47-5.58-2.41-6.54-2.19-5.26a22.38,22.38,0,0,1,.3,7.45c-.48,3.69-5.49,9-5.49,9s-2.9-4.41-2.5-8.31,4.75-7.76,2.27-6.45c-2.11,1.12-3.52,4.84-3.52,4.84s-1.08-1.29-.59-4.41,5.31-7,5.87-7.55a2.72,2.72,0,0,0,.34-2.46,7.4,7.4,0,0,0-6.18-4.57,9.58,9.58,0,0,0-10.89,8,9,9,0,0,0,1.2,5.75,50.28,50.28,0,0,0,4.51,6.24,28.94,28.94,0,0,1,4.1,6,9.45,9.45,0,0,1,.65,5.16A10.72,10.72,0,0,1,102,103.39c-.95-.12-1.89-.27-2.8-.45a8.77,8.77,0,0,0,3.35,5.1c2.4,1.85,5,1.25,7.19,2.47s2.6,2.11,2.6,2.11-2.94-.61-3.05.23,1.89.94,3.09,1.32a3.44,3.44,0,0,1,1.79,1.7s-1.83-.78-1.55,0c0,.06.94,1.42,1.76,2.62s1.46,2.43.27,4.2a58.43,58.43,0,0,1-15.16,9.78,12.21,12.21,0,0,1-.82-6.66c.4-2.4,1.7-3.3,3.51-3.36s3.41.31,4.52-1a1.74,1.74,0,0,0,.34-1.25,23.71,23.71,0,0,0-3.9-3.47c-2.15-1.36-2.93-2.54-6.89-2.43s-12.09,1.94-16.34-2.95a12.44,12.44,0,0,1-2.41-4.25,14.24,14.24,0,0,1-1.58,1h0c-.42.23-2.38,1.09-2.38,1.09-2.61,1-5.64,1.74-7.6,2.29-2.61.74-3.66,1.51-4.25,3-.66,1.71.58,4.31.58,4.31a12.83,12.83,0,0,1-2.12,3.21,18,18,0,0,1-4.42,3.13s2.35-5,0-2.2a10.21,10.21,0,0,1-4.61,3.37c1.2-1.4,1.45-3.4,0-1.72s-4.82,2.49-4.82,2.49c1.48-1,2.78-2.91,1.25-2.25a15.19,15.19,0,0,1-5,1,3.43,3.43,0,0,1-1.75-.3,58.76,58.76,0,0,1-12.52-13,16.23,16.23,0,0,1,7.21-2.09c2.43-.07,2.61.75,3.44,2.36.91,1.76,1.21,6,1.21,6s2.21,1.35,6.52.82c3-.73,4.7-1.91,4.86-2.42s-2.33-7.71.6-12.09a11.22,11.22,0,0,1,2.75-2.86h0a19.59,19.59,0,0,1,4-2.13c-7.61-2.83-9.26-7.62-9.78-8.79-.85-1.91-.5,4-.5,4a11.43,11.43,0,0,1-1.86-6.72h0a26.88,26.88,0,0,1,.32-3.3,26.65,26.65,0,0,1-7.11-1.07s5.58-2.23-.18-1.29c-5.51.9-8.45-.85-8.45-.85.95-.22,4.32-2.32.82-1.5-5.25,1.23-7.85-1.47-7.85-1.47,1.46.24,4.47-.35,2.5-1.17a28.94,28.94,0,0,1-4-2.29c-.27-.16-4.17-2.83-4.29-5.63a57.77,57.77,0,0,1,4.4-14.71A13.17,13.17,0,0,1,27.84,60a3.65,3.65,0,0,1-.64,5c-1.3,1.25-2.68,2.14-2.68,3.42,0,.76.67,1.37,1.35,1.83.35.23.69.42.94.57a78,78,0,0,0,17.7,4.56A18.41,18.41,0,0,1,48.18,68l-.08-.09a22.3,22.3,0,0,1-5-8.09s5.39,2.66.84-1c-4.36-3.5-5-6.85-5-6.85.8.55,4.61,1.66,1.67-.39-4.43-3.08-4.16-6.82-4.16-6.82.8,1.25,3.25,3.09,2.55,1.08a34.89,34.89,0,0,1-1-4.45c-.07-.28-.13-.58-.2-.92-.32-1.77-.73-3.8.69-5.81A58.43,58.43,0,0,1,51.14,26.5a12.78,12.78,0,0,1,1,6.81,3.54,3.54,0,0,1-3.71,3.29c-1.8.1-3.2-.25-4.29,1.07-.76.93,0,2.63.23,3.44v0a79.25,79.25,0,0,0,9.47,17.71,14.57,14.57,0,0,1,7-2.62c1.55-.15,4.24-.51,1.9-1.08-2.56-.62-5.82.14-2.79-1.16,3.69-1.59,8.6.33,10.13,0s1.85-3.17,1.91-4.53h-.34c-1.77.15-6.48.61-8.17,1.36a11.37,11.37,0,0,1-1.12-4.29,2.4,2.4,0,0,0,.69.56,6.89,6.89,0,0,0,3-.12,3.1,3.1,0,0,0,2.51-1.77,2.33,2.33,0,0,0-1.09-2.67,4.65,4.65,0,0,0-3.22.44l-.65.41c-1.72,1.09-1.35,2.31-1.35,2.31s-1.64-1-2.81-4.88c0,0-2.16-1.55-2.13-2.53a22.76,22.76,0,0,1,5.93-4.15,13.29,13.29,0,0,1,7.06-4.5s2.44-5.39,10.08-5.88c3.07-.2-3.35,1.53-4.14,2.42-1.49,1.68,3.29-1.94,10.53-.91l.38.05c.33.05,1.27.27,1.41.31l.73.22c7.15,2.4,13.45,10.61,12.4,21.12a17.11,17.11,0,0,0-3.15-6.76c-2.3-3.26-3-2.83-1.07.77,1.79,3.37,3.76,10.13,1.57,15.47a33.26,33.26,0,0,1-2.74,4.79A15.57,15.57,0,0,0,96,53.25c-.91-3.48-1.64-3.33-1.16.3.45,3.41,0,9.75-3.6,13.54a38,38,0,0,1-3.67,3,14.18,14.18,0,0,0,2-6.67c.3-3.29-.38-3.39-1.09-.1-.64,3-2.85,8-6.78,10.29a43.45,43.45,0,0,1-6.11,2.45h0A21.78,21.78,0,0,0,78,84.63a18.71,18.71,0,0,0,4.41,5c.35.27.7.54,1.08.81,0,0,3,.59,5.59,1.07s7.1,2.61,9.35,6.23h0A10.5,10.5,0,0,0,102.14,99c3.86.5,7.59-1.6,8.07-5.38a5.93,5.93,0,0,0-.35-3.18,25.35,25.35,0,0,0-3.54-5.16,52,52,0,0,1-4.71-6.58A12.39,12.39,0,0,1,100,70.79a13,13,0,0,1,14.65-11,13.23,13.23,0,0,1,9.93,6.67C128.5,72.73,126.2,80.78,126.2,80.78ZM56.07,45.18a4,4,0,0,1,5.1.86v0c-1.88-.72-2.94.15-5.69,2.12s-5.24-1-5.24-1v0C52.11,47.84,53.18,46.93,56.07,45.18Z'/%3e%3c/svg%3e",colors:{bodyBackground:"#e7f9f7",defaultText:"#262626",headingText:"#323232",primaryText:"#D13C0A",primary:"#0D7168",primaryLight:"#4a958e",primaryXLight:"#86b8b4",primaryContrast:"#ffffff",secondary:"#a0e6df",secondaryLight:"#d0f3ef",secondaryXLight:"#e7f9f7",secondaryContrast:"#38514e",formElement:"#333",border:"#0D7168",focus:"#00C0B0",defaultBackground:"#EDEEF2",secondaryBackground:"#f6f7f9",success:"#13D646",successLight:"#c4f5d1",successXLight:"#e2fae8",warning:"#FFC414",warningLight:"#fff0c2",warningXLight:"#fff7e0",error:"#FF3116",errorLight:"#ffccc5",errorXLight:"#ffe5e2"}}},$a=t=>t?.logo??"",Ua=t=>t?.logoPadding??"",Qa=t=>t?.appName??"",ut={navigationBarContainer:"_navigationBarContainer_1o17l_1",navigationBar:"_navigationBar_1o17l_1",logoContainer:"_logoContainer_1o17l_41"},qa=({logoLink:t="",logoLinkTitle:e,openLogoLinkInNewTab:r,theme:a,color:n="neutral"})=>{const i=a?Ja[a]:void 0,s=o=>({padding:Ua(o)}),l=(o,c)=>{const u=$a(i),g=Qa(i),p=o&&c?"":u&&g?`${g} logo`:"DIBK logo",f=u?d.jsx("img",{alt:p,src:u,style:s(i)}):null;return o?.length?d.jsx("a",{href:o,title:c,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,children:f}):f};return d.jsx("div",{className:D([n&&ut[n],ut.navigationBarContainer]),children:d.jsx("div",{className:D([ut.navigationBar]),children:d.jsx("div",{className:ut.logoContainer,children:l(t,e)})})})},Lt={paper:"_paper_1lgl3_1",noMargin:"_noMargin_1lgl3_6",noPadding:"_noPadding_1lgl3_9"},Ka=({noMargin:t=!1,noPadding:e=!1,children:r})=>{const a=[Lt.paper,t&&Lt.noMargin,e&&Lt.noPadding].filter(Boolean).join(" ");return d.jsx("div",{className:a,children:r})},Wn={paragraph:"_paragraph_1aaue_1",lead:"_lead_1aaue_9",large:"_large_1aaue_14",small:"_small_1aaue_19"},ei=({id:t,htmlTag:e="p",variant:r="small",children:a,className:n})=>{const i=D([Wn.paragraph,Wn[r],n]);return C.createElement(e,{className:i,id:t||void 0},a)},On={progressBar:"_progressBar_t5aid_1",hasErrors:"_hasErrors_t5aid_23"},ti=({progress:t=0,hasErrors:e=!1})=>d.jsx("div",{className:`${On.progressBar} ${e?On.hasErrors:""}`,role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":100,style:{"--value":t}}),dt={radioButtonIcon:"_radioButtonIcon_32fe0_1",hasErrors:"_hasErrors_32fe0_22",checked:"_checked_32fe0_32",disabled:"_disabled_32fe0_48"},kn=({size:t="10px",checked:e=!1,disabled:r=!1,hasErrors:a=!1})=>{const n={height:t,width:t},i=[dt.radioButtonIcon,e&&dt.checked,r&&dt.disabled,a&&dt.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:i,style:n})},Le={radioButtonInput:"_radioButtonInput_9xta0_1",requiredSymbol:"_requiredSymbol_9xta0_6",disabled:"_disabled_9xta0_13",labelText:"_labelText_9xta0_19",hasErrors:"_hasErrors_9xta0_27"},Xt=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:a=!1,id:n,name:i="",onChange:s,hasErrors:l=!1,inputValue:o,tabIndex:c,children:u,"aria-controls":g,"aria-describedby":p})=>{const f=[Le.radioButtonInput,t&&Le.checked,e&&Le.disabled,l&&Le.hasErrors].filter(Boolean).join(" "),I={checked:t,disabled:e,hasErrors:l},m={id:n,name:i,type:"radio",value:o,checked:t,disabled:e,required:r||a,onChange:s,tabIndex:c??void 0,"aria-controls":g,"aria-invalid":l?"true":void 0,"aria-describedby":p};return d.jsxs("label",{htmlFor:n,className:f,children:[d.jsx(kn,{...I}),d.jsx("input",{...m}),d.jsxs("span",{className:Le.labelText,children:[u,r&&d.jsx("img",{src:Ne,alt:"",className:Le.requiredSymbol})]})]})},jn={radioButtonList:"_radioButtonList_18lo8_1",requiredSymbol:"_requiredSymbol_18lo8_16"},ni=({legend:t,legendSize:e,required:r=!1,compact:a=!1,children:n})=>{const i=s=>Me(s).map(o=>C.isValidElement(o)&&o.type?.displayName==="RadioButtonListItem"?C.cloneElement(o,{requiredGroup:r,compact:a,key:`radioButtonListItem-${o.key}`}):o);return d.jsxs("fieldset",{className:jn.radioButtonList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(Ye,{size:e,children:t}):t,r&&d.jsx("img",{src:Ne,alt:"",className:jn.requiredSymbol})]}),i(C.Children.toArray(n))]})},Ke={radioButtonListItem:"_radioButtonListItem_14vz4_1",compact:"_compact_14vz4_26",disabled:"_disabled_14vz4_34",checked:"_checked_14vz4_37"},ri=({inputValue:t,checked:e=!1,disabled:r=!1,required:a=!1,requiredGroup:n=!1,name:i="",id:s,onChange:l,compact:o=!1,hasErrors:c=!1,"aria-controls":u,"aria-describedby":g,children:p})=>{const f=D([Ke.radioButtonListItem,e&&Ke.checked,r&&Ke.disabled,o&&Ke.compact,c&&Ke.hasErrors]),I={onChange:l,inputValue:t,checked:e,disabled:r,required:a,requiredGroup:n,hasErrors:c,"aria-controls":u,"aria-describedby":g,id:s,name:i};return d.jsx("div",{className:f,children:d.jsx(Xt,{...I,children:p})})};function Te(t){"@babel/helpers - typeof";return Te=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Te(t)}function ai(t,e){if(Te(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var a=r.call(t,e);if(Te(a)!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Dn(t){var e=ai(t,"string");return Te(e)=="symbol"?e:e+""}function et(t,e,r){return(e=Dn(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function zn(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter(function(n){return Object.getOwnPropertyDescriptor(t,n).enumerable})),r.push.apply(r,a)}return r}function P(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?zn(Object(r),!0).forEach(function(a){et(t,a,r[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):zn(Object(r)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(r,a))})}return t}function ii(t){if(Array.isArray(t))return t}function oi(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var a,n,i,s,l=[],o=!0,c=!1;try{if(i=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;o=!1}else for(;!(o=(a=i.call(r)).done)&&(l.push(a.value),l.length!==e);o=!0);}catch(u){c=!0,n=u}finally{try{if(!o&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(c)throw n}}return l}}function Zt(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,a=Array(e);r<e;r++)a[r]=t[r];return a}function Yn(t,e){if(t){if(typeof t=="string")return Zt(t,e);var r={}.toString.call(t).slice(8,-1);return r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set"?Array.from(t):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Zt(t,e):void 0}}function si(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
7
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ve(t,e){return ii(t)||oi(t,e)||Yn(t,e)||si()}function li(t,e){if(t==null)return{};var r={};for(var a in t)if({}.hasOwnProperty.call(t,a)){if(e.indexOf(a)!==-1)continue;r[a]=t[a]}return r}function we(t,e){if(t==null)return{};var r,a,n=li(t,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);for(a=0;a<i.length;a++)r=i[a],e.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var ci=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function ui(t){var e=t.defaultInputValue,r=e===void 0?"":e,a=t.defaultMenuIsOpen,n=a===void 0?!1:a,i=t.defaultValue,s=i===void 0?null:i,l=t.inputValue,o=t.menuIsOpen,c=t.onChange,u=t.onInputChange,g=t.onMenuClose,p=t.onMenuOpen,f=t.value,I=we(t,ci),m=C.useState(l!==void 0?l:r),b=Ve(m,2),h=b[0],A=b[1],y=C.useState(o!==void 0?o:n),S=Ve(y,2),v=S[0],E=S[1],G=C.useState(f!==void 0?f:s),B=Ve(G,2),F=B[0],X=B[1],O=C.useCallback(function(q,ne){typeof c=="function"&&c(q,ne),X(q)},[c]),K=C.useCallback(function(q,ne){var Y;typeof u=="function"&&(Y=u(q,ne)),A(Y!==void 0?Y:q)},[u]),ee=C.useCallback(function(){typeof p=="function"&&p(),E(!0)},[p]),ue=C.useCallback(function(){typeof g=="function"&&g(),E(!1)},[g]),re=l!==void 0?l:h,z=o!==void 0?o:v,te=f!==void 0?f:F;return P(P({},I),{},{inputValue:re,menuIsOpen:z,onChange:O,onInputChange:K,onMenuClose:ue,onMenuOpen:ee,value:te})}function T(){return T=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var a in r)({}).hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},T.apply(null,arguments)}function di(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jn(t,e){for(var r=0;r<e.length;r++){var a=e[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,Dn(a.key),a)}}function gi(t,e,r){return e&&Jn(t.prototype,e),r&&Jn(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Wt(t,e){return Wt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,a){return r.__proto__=a,r},Wt(t,e)}function bi(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Wt(t,e)}function gt(t){return gt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},gt(t)}function $n(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return($n=function(){return!!t})()}function fi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pi(t,e){if(e&&(Te(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return fi(t)}function mi(t){var e=$n();return function(){var r,a=gt(t);if(e){var n=gt(this).constructor;r=Reflect.construct(a,arguments,n)}else r=a.apply(this,arguments);return pi(this,r)}}function vi(t){if(Array.isArray(t))return Zt(t)}function hi(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ci(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
8
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ot(t){return vi(t)||hi(t)||Yn(t)||Ci()}function Ii(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}function xi(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),t.nonce!==void 0&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}var yi=(function(){function t(r){var a=this;this._insertTag=function(n){var i;a.tags.length===0?a.insertionPoint?i=a.insertionPoint.nextSibling:a.prepend?i=a.container.firstChild:i=a.before:i=a.tags[a.tags.length-1].nextSibling,a.container.insertBefore(n,i),a.tags.push(n)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(a){a.forEach(this._insertTag)},e.insert=function(a){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(xi(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Ii(n);try{i.insertRule(a,i.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(a));this.ctr++},e.flush=function(){this.tags.forEach(function(a){var n;return(n=a.parentNode)==null?void 0:n.removeChild(a)}),this.tags=[],this.ctr=0},t})(),be="-ms-",bt="-moz-",J="-webkit-",Un="comm",kt="rule",jt="decl",Ai="@import",Qn="@keyframes",Ei="@layer",Si=Math.abs,ft=String.fromCharCode,Gi=Object.assign;function Bi(t,e){return de(t,0)^45?(((e<<2^de(t,0))<<2^de(t,1))<<2^de(t,2))<<2^de(t,3):0}function qn(t){return t.trim()}function Vi(t,e){return(t=e.exec(t))?t[0]:t}function $(t,e,r){return t.replace(e,r)}function Dt(t,e){return t.indexOf(e)}function de(t,e){return t.charCodeAt(e)|0}function tt(t,e,r){return t.slice(e,r)}function Ae(t){return t.length}function zt(t){return t.length}function pt(t,e){return e.push(t),t}function wi(t,e){return t.map(e).join("")}var mt=1,Xe=1,Kn=0,me=0,le=0,Ze="";function vt(t,e,r,a,n,i,s){return{value:t,root:e,parent:r,type:a,props:n,children:i,line:mt,column:Xe,length:s,return:""}}function nt(t,e){return Gi(vt("",null,null,"",null,null,0),t,{length:-t.length},e)}function _i(){return le}function Ni(){return le=me>0?de(Ze,--me):0,Xe--,le===10&&(Xe=1,mt--),le}function ve(){return le=me<Kn?de(Ze,me++):0,Xe++,le===10&&(Xe=1,mt++),le}function Ee(){return de(Ze,me)}function ht(){return me}function rt(t,e){return tt(Ze,t,e)}function at(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function er(t){return mt=Xe=1,Kn=Ae(Ze=t),me=0,[]}function tr(t){return Ze="",t}function Ct(t){return qn(rt(me-1,Yt(t===91?t+2:t===40?t+1:t)))}function Fi(t){for(;(le=Ee())&&le<33;)ve();return at(t)>2||at(le)>3?"":" "}function Pi(t,e){for(;--e&&ve()&&!(le<48||le>102||le>57&&le<65||le>70&&le<97););return rt(t,ht()+(e<6&&Ee()==32&&ve()==32))}function Yt(t){for(;ve();)switch(le){case t:return me;case 34:case 39:t!==34&&t!==39&&Yt(le);break;case 40:t===41&&Yt(t);break;case 92:ve();break}return me}function Ti(t,e){for(;ve()&&t+le!==57;)if(t+le===84&&Ee()===47)break;return"/*"+rt(e,me-1)+"*"+ft(t===47?t:ve())}function Ri(t){for(;!at(Ee());)ve();return rt(t,me)}function Mi(t){return tr(It("",null,null,null,[""],t=er(t),0,[0],t))}function It(t,e,r,a,n,i,s,l,o){for(var c=0,u=0,g=s,p=0,f=0,I=0,m=1,b=1,h=1,A=0,y="",S=n,v=i,E=a,G=y;b;)switch(I=A,A=ve()){case 40:if(I!=108&&de(G,g-1)==58){Dt(G+=$(Ct(A),"&","&\f"),"&\f")!=-1&&(h=-1);break}case 34:case 39:case 91:G+=Ct(A);break;case 9:case 10:case 13:case 32:G+=Fi(I);break;case 92:G+=Pi(ht()-1,7);continue;case 47:switch(Ee()){case 42:case 47:pt(Hi(Ti(ve(),ht()),e,r),o);break;default:G+="/"}break;case 123*m:l[c++]=Ae(G)*h;case 125*m:case 59:case 0:switch(A){case 0:case 125:b=0;case 59+u:h==-1&&(G=$(G,/\f/g,"")),f>0&&Ae(G)-g&&pt(f>32?rr(G+";",a,r,g-1):rr($(G," ","")+";",a,r,g-2),o);break;case 59:G+=";";default:if(pt(E=nr(G,e,r,c,u,n,l,y,S=[],v=[],g),i),A===123)if(u===0)It(G,e,E,E,S,i,g,l,v);else switch(p===99&&de(G,3)===110?100:p){case 100:case 108:case 109:case 115:It(t,E,E,a&&pt(nr(t,E,E,0,0,n,l,y,n,S=[],g),v),n,v,g,l,a?S:v);break;default:It(G,E,E,E,[""],v,0,l,v)}}c=u=f=0,m=h=1,y=G="",g=s;break;case 58:g=1+Ae(G),f=I;default:if(m<1){if(A==123)--m;else if(A==125&&m++==0&&Ni()==125)continue}switch(G+=ft(A),A*m){case 38:h=u>0?1:(G+="\f",-1);break;case 44:l[c++]=(Ae(G)-1)*h,h=1;break;case 64:Ee()===45&&(G+=Ct(ve())),p=Ee(),u=g=Ae(y=G+=Ri(ht())),A++;break;case 45:I===45&&Ae(G)==2&&(m=0)}}return i}function nr(t,e,r,a,n,i,s,l,o,c,u){for(var g=n-1,p=n===0?i:[""],f=zt(p),I=0,m=0,b=0;I<a;++I)for(var h=0,A=tt(t,g+1,g=Si(m=s[I])),y=t;h<f;++h)(y=qn(m>0?p[h]+" "+A:$(A,/&\f/g,p[h])))&&(o[b++]=y);return vt(t,e,r,n===0?kt:l,o,c,u)}function Hi(t,e,r){return vt(t,e,r,Un,ft(_i()),tt(t,2,-2),0)}function rr(t,e,r,a){return vt(t,e,r,jt,tt(t,0,a),tt(t,a+1,-1),a)}function We(t,e){for(var r="",a=zt(t),n=0;n<a;n++)r+=e(t[n],n,t,e)||"";return r}function Li(t,e,r,a){switch(t.type){case Ei:if(t.children.length)break;case Ai:case jt:return t.return=t.return||t.value;case Un:return"";case Qn:return t.return=t.value+"{"+We(t.children,a)+"}";case kt:t.value=t.props.join(",")}return Ae(r=We(t.children,a))?t.return=t.value+"{"+r+"}":""}function Xi(t){var e=zt(t);return function(r,a,n,i){for(var s="",l=0;l<e;l++)s+=t[l](r,a,n,i)||"";return s}}function Zi(t){return function(e){e.root||(e=e.return)&&t(e)}}function Wi(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var Oi=function(e,r,a){for(var n=0,i=0;n=i,i=Ee(),n===38&&i===12&&(r[a]=1),!at(i);)ve();return rt(e,me)},ki=function(e,r){var a=-1,n=44;do switch(at(n)){case 0:n===38&&Ee()===12&&(r[a]=1),e[a]+=Oi(me-1,r,a);break;case 2:e[a]+=Ct(n);break;case 4:if(n===44){e[++a]=Ee()===58?"&\f":"",r[a]=e[a].length;break}default:e[a]+=ft(n)}while(n=ve());return e},ji=function(e,r){return tr(ki(er(e),r))},ar=new WeakMap,Di=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var r=e.value,a=e.parent,n=e.column===a.column&&e.line===a.line;a.type!=="rule";)if(a=a.parent,!a)return;if(!(e.props.length===1&&r.charCodeAt(0)!==58&&!ar.get(a))&&!n){ar.set(e,!0);for(var i=[],s=ji(r,i),l=a.props,o=0,c=0;o<s.length;o++)for(var u=0;u<l.length;u++,c++)e.props[c]=i[o]?s[o].replace(/&\f/g,l[u]):l[u]+" "+s[o]}}},zi=function(e){if(e.type==="decl"){var r=e.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(e.return="",e.value="")}};function ir(t,e){switch(Bi(t,e)){case 5103:return J+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return J+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return J+t+bt+t+be+t+t;case 6828:case 4268:return J+t+be+t+t;case 6165:return J+t+be+"flex-"+t+t;case 5187:return J+t+$(t,/(\w+).+(:[^]+)/,J+"box-$1$2"+be+"flex-$1$2")+t;case 5443:return J+t+be+"flex-item-"+$(t,/flex-|-self/,"")+t;case 4675:return J+t+be+"flex-line-pack"+$(t,/align-content|flex-|-self/,"")+t;case 5548:return J+t+be+$(t,"shrink","negative")+t;case 5292:return J+t+be+$(t,"basis","preferred-size")+t;case 6060:return J+"box-"+$(t,"-grow","")+J+t+be+$(t,"grow","positive")+t;case 4554:return J+$(t,/([^-])(transform)/g,"$1"+J+"$2")+t;case 6187:return $($($(t,/(zoom-|grab)/,J+"$1"),/(image-set)/,J+"$1"),t,"")+t;case 5495:case 3959:return $(t,/(image-set\([^]*)/,J+"$1$`$1");case 4968:return $($(t,/(.+:)(flex-)?(.*)/,J+"box-pack:$3"+be+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+J+t+t;case 4095:case 3583:case 4068:case 2532:return $(t,/(.+)-inline(.+)/,J+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Ae(t)-1-e>6)switch(de(t,e+1)){case 109:if(de(t,e+4)!==45)break;case 102:return $(t,/(.+:)(.+)-([^]+)/,"$1"+J+"$2-$3$1"+bt+(de(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Dt(t,"stretch")?ir($(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(de(t,e+1)!==115)break;case 6444:switch(de(t,Ae(t)-3-(~Dt(t,"!important")&&10))){case 107:return $(t,":",":"+J)+t;case 101:return $(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+J+(de(t,14)===45?"inline-":"")+"box$3$1"+J+"$2$3$1"+be+"$2box$3")+t}break;case 5936:switch(de(t,e+11)){case 114:return J+t+be+$(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return J+t+be+$(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return J+t+be+$(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return J+t+be+t+t}return t}var Yi=function(e,r,a,n){if(e.length>-1&&!e.return)switch(e.type){case jt:e.return=ir(e.value,e.length);break;case Qn:return We([nt(e,{value:$(e.value,"@","@"+J)})],n);case kt:if(e.length)return wi(e.props,function(i){switch(Vi(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return We([nt(e,{props:[$(i,/:(read-\w+)/,":"+bt+"$1")]})],n);case"::placeholder":return We([nt(e,{props:[$(i,/:(plac\w+)/,":"+J+"input-$1")]}),nt(e,{props:[$(i,/:(plac\w+)/,":"+bt+"$1")]}),nt(e,{props:[$(i,/:(plac\w+)/,be+"input-$1")]})],n)}return""})}},Ji=[Yi],$i=function(e){var r=e.key;if(r==="css"){var a=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(a,function(m){var b=m.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var n=e.stylisPlugins||Ji,i={},s,l=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(m){for(var b=m.getAttribute("data-emotion").split(" "),h=1;h<b.length;h++)i[b[h]]=!0;l.push(m)});var o,c=[Di,zi];{var u,g=[Li,Zi(function(m){u.insert(m)})],p=Xi(c.concat(n,g)),f=function(b){return We(Mi(b),p)};o=function(b,h,A,y){u=A,f(b?b+"{"+h.styles+"}":h.styles),y&&(I.inserted[h.name]=!0)}}var I={key:r,sheet:new yi({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return I.sheet.hydrate(l),I},xt={exports:{}},U={};var or;function Ui(){if(or)return U;or=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,o=t?Symbol.for("react.async_mode"):60111,c=t?Symbol.for("react.concurrent_mode"):60111,u=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,f=t?Symbol.for("react.memo"):60115,I=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,A=t?Symbol.for("react.scope"):60119;function y(v){if(typeof v=="object"&&v!==null){var E=v.$$typeof;switch(E){case e:switch(v=v.type,v){case o:case c:case a:case i:case n:case g:return v;default:switch(v=v&&v.$$typeof,v){case l:case u:case I:case f:case s:return v;default:return E}}case r:return E}}}function S(v){return y(v)===c}return U.AsyncMode=o,U.ConcurrentMode=c,U.ContextConsumer=l,U.ContextProvider=s,U.Element=e,U.ForwardRef=u,U.Fragment=a,U.Lazy=I,U.Memo=f,U.Portal=r,U.Profiler=i,U.StrictMode=n,U.Suspense=g,U.isAsyncMode=function(v){return S(v)||y(v)===o},U.isConcurrentMode=S,U.isContextConsumer=function(v){return y(v)===l},U.isContextProvider=function(v){return y(v)===s},U.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},U.isForwardRef=function(v){return y(v)===u},U.isFragment=function(v){return y(v)===a},U.isLazy=function(v){return y(v)===I},U.isMemo=function(v){return y(v)===f},U.isPortal=function(v){return y(v)===r},U.isProfiler=function(v){return y(v)===i},U.isStrictMode=function(v){return y(v)===n},U.isSuspense=function(v){return y(v)===g},U.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===a||v===c||v===i||v===n||v===g||v===p||typeof v=="object"&&v!==null&&(v.$$typeof===I||v.$$typeof===f||v.$$typeof===s||v.$$typeof===l||v.$$typeof===u||v.$$typeof===b||v.$$typeof===h||v.$$typeof===A||v.$$typeof===m)},U.typeOf=y,U}var Q={};var sr;function Qi(){return sr||(sr=1,process.env.NODE_ENV!=="production"&&(function(){var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,n=t?Symbol.for("react.strict_mode"):60108,i=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,l=t?Symbol.for("react.context"):60110,o=t?Symbol.for("react.async_mode"):60111,c=t?Symbol.for("react.concurrent_mode"):60111,u=t?Symbol.for("react.forward_ref"):60112,g=t?Symbol.for("react.suspense"):60113,p=t?Symbol.for("react.suspense_list"):60120,f=t?Symbol.for("react.memo"):60115,I=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,h=t?Symbol.for("react.responder"):60118,A=t?Symbol.for("react.scope"):60119;function y(w){return typeof w=="string"||typeof w=="function"||w===a||w===c||w===i||w===n||w===g||w===p||typeof w=="object"&&w!==null&&(w.$$typeof===I||w.$$typeof===f||w.$$typeof===s||w.$$typeof===l||w.$$typeof===u||w.$$typeof===b||w.$$typeof===h||w.$$typeof===A||w.$$typeof===m)}function S(w){if(typeof w=="object"&&w!==null){var he=w.$$typeof;switch(he){case e:var se=w.type;switch(se){case o:case c:case a:case i:case n:case g:return se;default:var fe=se&&se.$$typeof;switch(fe){case l:case u:case I:case f:case s:return fe;default:return he}}case r:return he}}}var v=o,E=c,G=l,B=s,F=e,X=u,O=a,K=I,ee=f,ue=r,re=i,z=n,te=g,q=!1;function ne(w){return q||(q=!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.")),Y(w)||S(w)===o}function Y(w){return S(w)===c}function x(w){return S(w)===l}function _(w){return S(w)===s}function H(w){return typeof w=="object"&&w!==null&&w.$$typeof===e}function W(w){return S(w)===u}function ce(w){return S(w)===a}function ae(w){return S(w)===I}function k(w){return S(w)===f}function oe(w){return S(w)===r}function V(w){return S(w)===i}function M(w){return S(w)===n}function j(w){return S(w)===g}Q.AsyncMode=v,Q.ConcurrentMode=E,Q.ContextConsumer=G,Q.ContextProvider=B,Q.Element=F,Q.ForwardRef=X,Q.Fragment=O,Q.Lazy=K,Q.Memo=ee,Q.Portal=ue,Q.Profiler=re,Q.StrictMode=z,Q.Suspense=te,Q.isAsyncMode=ne,Q.isConcurrentMode=Y,Q.isContextConsumer=x,Q.isContextProvider=_,Q.isElement=H,Q.isForwardRef=W,Q.isFragment=ce,Q.isLazy=ae,Q.isMemo=k,Q.isPortal=oe,Q.isProfiler=V,Q.isStrictMode=M,Q.isSuspense=j,Q.isValidElementType=y,Q.typeOf=S})()),Q}var lr;function qi(){return lr||(lr=1,process.env.NODE_ENV==="production"?xt.exports=Ui():xt.exports=Qi()),xt.exports}var Jt,cr;function Ki(){if(cr)return Jt;cr=1;var t=qi(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},n={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},i={};i[t.ForwardRef]=a,i[t.Memo]=n;function s(I){return t.isMemo(I)?n:i[I.$$typeof]||e}var l=Object.defineProperty,o=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,u=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,p=Object.prototype;function f(I,m,b){if(typeof m!="string"){if(p){var h=g(m);h&&h!==p&&f(I,h,b)}var A=o(m);c&&(A=A.concat(c(m)));for(var y=s(I),S=s(m),v=0;v<A.length;++v){var E=A[v];if(!r[E]&&!(b&&b[E])&&!(S&&S[E])&&!(y&&y[E])){var G=u(m,E);try{l(I,E,G)}catch{}}}}return I}return Jt=f,Jt}Ki();var eo=!0;function to(t,e,r){var a="";return r.split(" ").forEach(function(n){t[n]!==void 0?e.push(t[n]+";"):n&&(a+=n+" ")}),a}var ur=function(e,r,a){var n=e.key+"-"+r.name;(a===!1||eo===!1)&&e.registered[n]===void 0&&(e.registered[n]=r.styles)},no=function(e,r,a){ur(e,r,a);var n=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var i=r;do e.insert(r===i?"."+n:"",i,e.sheet,!0),i=i.next;while(i!==void 0)}};function ro(t){for(var e=0,r,a=0,n=t.length;n>=4;++a,n-=4)r=t.charCodeAt(a)&255|(t.charCodeAt(++a)&255)<<8|(t.charCodeAt(++a)&255)<<16|(t.charCodeAt(++a)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,e=(r&65535)*1540483477+((r>>>16)*59797<<16)^(e&65535)*1540483477+((e>>>16)*59797<<16);switch(n){case 3:e^=(t.charCodeAt(a+2)&255)<<16;case 2:e^=(t.charCodeAt(a+1)&255)<<8;case 1:e^=t.charCodeAt(a)&255,e=(e&65535)*1540483477+((e>>>16)*59797<<16)}return e^=e>>>13,e=(e&65535)*1540483477+((e>>>16)*59797<<16),((e^e>>>15)>>>0).toString(36)}var ao={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},io=/[A-Z]|^ms/g,oo=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dr=function(e){return e.charCodeAt(1)===45},gr=function(e){return e!=null&&typeof e!="boolean"},$t=Wi(function(t){return dr(t)?t:t.replace(io,"-$&").toLowerCase()}),br=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(oo,function(a,n,i){return Se={name:n,styles:i,next:Se},n})}return ao[e]!==1&&!dr(e)&&typeof r=="number"&&r!==0?r+"px":r};function it(t,e,r){if(r==null)return"";var a=r;if(a.__emotion_styles!==void 0)return a;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return Se={name:n.name,styles:n.styles,next:Se},n.name;var i=r;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)Se={name:s.name,styles:s.styles,next:Se},s=s.next;var l=i.styles+";";return l}return so(t,e,r)}case"function":{if(t!==void 0){var o=Se,c=r(t);return Se=o,it(t,e,c)}break}}var u=r;return u}function so(t,e,r){var a="";if(Array.isArray(r))for(var n=0;n<r.length;n++)a+=it(t,e,r[n])+";";else for(var i in r){var s=r[i];if(typeof s!="object"){var l=s;gr(l)&&(a+=$t(i)+":"+br(i,l)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&e==null)for(var o=0;o<s.length;o++)gr(s[o])&&(a+=$t(i)+":"+br(i,s[o])+";");else{var c=it(t,e,s);switch(i){case"animation":case"animationName":{a+=$t(i)+":"+c+";";break}default:a+=i+"{"+c+"}"}}}return a}var fr=/label:\s*([^\s;{]+)\s*(;|$)/g,Se;function pr(t,e,r){if(t.length===1&&typeof t[0]=="object"&&t[0]!==null&&t[0].styles!==void 0)return t[0];var a=!0,n="";Se=void 0;var i=t[0];if(i==null||i.raw===void 0)a=!1,n+=it(r,e,i);else{var s=i;n+=s[0]}for(var l=1;l<t.length;l++)if(n+=it(r,e,t[l]),a){var o=i;n+=o[l]}fr.lastIndex=0;for(var c="",u;(u=fr.exec(n))!==null;)c+="-"+u[1];var g=ro(n)+c;return{name:g,styles:n,next:Se}}var lo=function(e){return e()},co=L.useInsertionEffect?L.useInsertionEffect:!1,uo=co||lo,mr=L.createContext(typeof HTMLElement<"u"?$i({key:"css"}):null);mr.Provider;var go=function(e){return C.forwardRef(function(r,a){var n=C.useContext(mr);return e(r,n,a)})},bo=L.createContext({}),Ut={}.hasOwnProperty,Qt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",fo=function(e,r){var a={};for(var n in r)Ut.call(r,n)&&(a[n]=r[n]);return a[Qt]=e,a},po=function(e){var r=e.cache,a=e.serialized,n=e.isStringTag;return ur(r,a,n),uo(function(){return no(r,a,n)}),null},mo=go(function(t,e,r){var a=t.css;typeof a=="string"&&e.registered[a]!==void 0&&(a=e.registered[a]);var n=t[Qt],i=[a],s="";typeof t.className=="string"?s=to(e.registered,i,t.className):t.className!=null&&(s=t.className+" ");var l=pr(i,void 0,L.useContext(bo));s+=e.key+"-"+l.name;var o={};for(var c in t)Ut.call(t,c)&&c!=="css"&&c!==Qt&&(o[c]=t[c]);return o.className=s,r&&(o.ref=r),L.createElement(L.Fragment,null,L.createElement(po,{cache:e,serialized:l,isStringTag:typeof n=="string"}),L.createElement(n,o))}),vo=mo,N=function(e,r){var a=arguments;if(r==null||!Ut.call(r,"css"))return L.createElement.apply(void 0,a);var n=a.length,i=new Array(n);i[0]=vo,i[1]=fo(e,r);for(var s=2;s<n;s++)i[s]=a[s];return L.createElement.apply(null,i)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(N||(N={}));function qt(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return pr(e)}function ho(){var t=qt.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}function Co(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const Io=Math.min,xo=Math.max,yt=Math.round,At=Math.floor,Et=t=>({x:t,y:t});function yo(t){const{x:e,y:r,width:a,height:n}=t;return{width:a,height:n,top:r,left:e,right:e+a,bottom:r+n,x:e,y:r}}function St(){return typeof window<"u"}function vr(t){return Cr(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function hr(t){var e;return(e=(Cr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Cr(t){return St()?t instanceof Node||t instanceof _e(t).Node:!1}function Ao(t){return St()?t instanceof Element||t instanceof _e(t).Element:!1}function Kt(t){return St()?t instanceof HTMLElement||t instanceof _e(t).HTMLElement:!1}function Ir(t){return!St()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}const Eo=new Set(["inline","contents"]);function xr(t){const{overflow:e,overflowX:r,overflowY:a,display:n}=en(t);return/auto|scroll|overlay|hidden|clip/.test(e+a+r)&&!Eo.has(n)}function So(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Go=new Set(["html","body","#document"]);function Bo(t){return Go.has(vr(t))}function en(t){return _e(t).getComputedStyle(t)}function Vo(t){if(vr(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Ir(t)&&t.host||hr(t);return Ir(e)?e.host:e}function yr(t){const e=Vo(t);return Bo(e)?t.ownerDocument?t.ownerDocument.body:t.body:Kt(e)&&xr(e)?e:yr(e)}function Gt(t,e,r){var a;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=yr(t),i=n===((a=t.ownerDocument)==null?void 0:a.body),s=_e(n);if(i){const l=tn(s);return e.concat(s,s.visualViewport||[],xr(n)?n:[],l&&r?Gt(l):[])}return e.concat(n,Gt(n,[],r))}function tn(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function wo(t){const e=en(t);let r=parseFloat(e.width)||0,a=parseFloat(e.height)||0;const n=Kt(t),i=n?t.offsetWidth:r,s=n?t.offsetHeight:a,l=yt(r)!==i||yt(a)!==s;return l&&(r=i,a=s),{width:r,height:a,$:l}}function nn(t){return Ao(t)?t:t.contextElement}function Ar(t){const e=nn(t);if(!Kt(e))return Et(1);const r=e.getBoundingClientRect(),{width:a,height:n,$:i}=wo(e);let s=(i?yt(r.width):r.width)/a,l=(i?yt(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const _o=Et(0);function No(t){const e=_e(t);return!So()||!e.visualViewport?_o:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Fo(t,e,r){return!1}function Er(t,e,r,a){e===void 0&&(e=!1);const n=t.getBoundingClientRect(),i=nn(t);let s=Et(1);e&&(s=Ar(t));const l=Fo()?No(i):Et(0);let o=(n.left+l.x)/s.x,c=(n.top+l.y)/s.y,u=n.width/s.x,g=n.height/s.y;if(i){const p=_e(i),f=a;let I=p,m=tn(I);for(;m&&a&&f!==I;){const b=Ar(m),h=m.getBoundingClientRect(),A=en(m),y=h.left+(m.clientLeft+parseFloat(A.paddingLeft))*b.x,S=h.top+(m.clientTop+parseFloat(A.paddingTop))*b.y;o*=b.x,c*=b.y,u*=b.x,g*=b.y,o+=y,c+=S,I=_e(m),m=tn(I)}}return yo({width:u,height:g,x:o,y:c})}function Sr(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Po(t,e){let r=null,a;const n=hr(t);function i(){var l;clearTimeout(a),(l=r)==null||l.disconnect(),r=null}function s(l,o){l===void 0&&(l=!1),o===void 0&&(o=1),i();const c=t.getBoundingClientRect(),{left:u,top:g,width:p,height:f}=c;if(l||e(),!p||!f)return;const I=At(g),m=At(n.clientWidth-(u+p)),b=At(n.clientHeight-(g+f)),h=At(u),y={rootMargin:-I+"px "+-m+"px "+-b+"px "+-h+"px",threshold:xo(0,Io(1,o))||1};let S=!0;function v(E){const G=E[0].intersectionRatio;if(G!==o){if(!S)return s();G?s(!1,G):a=setTimeout(()=>{s(!1,1e-7)},1e3)}G===1&&!Sr(c,t.getBoundingClientRect())&&s(),S=!1}try{r=new IntersectionObserver(v,{...y,root:n.ownerDocument})}catch{r=new IntersectionObserver(v,y)}r.observe(t)}return s(!0),i}function To(t,e,r,a){a===void 0&&(a={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:o=!1}=a,c=nn(t),u=n||i?[...c?Gt(c):[],...Gt(e)]:[];u.forEach(h=>{n&&h.addEventListener("scroll",r,{passive:!0}),i&&h.addEventListener("resize",r)});const g=c&&l?Po(c,r):null;let p=-1,f=null;s&&(f=new ResizeObserver(h=>{let[A]=h;A&&A.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),r()}),c&&!o&&f.observe(c),f.observe(e));let I,m=o?Er(t):null;o&&b();function b(){const h=Er(t);m&&!Sr(m,h)&&r(),m=h,I=requestAnimationFrame(b)}return r(),()=>{var h;u.forEach(A=>{n&&A.removeEventListener("scroll",r),i&&A.removeEventListener("resize",r)}),g?.(),(h=f)==null||h.disconnect(),f=null,o&&cancelAnimationFrame(I)}}var rn=C.useLayoutEffect,Ro=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Bt=function(){};function Mo(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function Ho(t,e){for(var r=arguments.length,a=new Array(r>2?r-2:0),n=2;n<r;n++)a[n-2]=arguments[n];var i=[].concat(a);if(e&&t)for(var s in e)e.hasOwnProperty(s)&&e[s]&&i.push("".concat(Mo(t,s)));return i.filter(function(l){return l}).map(function(l){return String(l).trim()}).join(" ")}var Gr=function(e){return zo(e)?e.filter(Boolean):Te(e)==="object"&&e!==null?[e]:[]},Br=function(e){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;var r=we(e,Ro);return P({},r)},ie=function(e,r,a){var n=e.cx,i=e.getStyles,s=e.getClassNames,l=e.className;return{css:i(r,e),className:n(a??{},s(r,e),l)}};function Vt(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function Lo(t){return Vt(t)?window.innerHeight:t.clientHeight}function Vr(t){return Vt(t)?window.pageYOffset:t.scrollTop}function wt(t,e){if(Vt(t)){window.scrollTo(0,e);return}t.scrollTop=e}function Xo(t){var e=getComputedStyle(t),r=e.position==="absolute",a=/(auto|scroll)/;if(e.position==="fixed")return document.documentElement;for(var n=t;n=n.parentElement;)if(e=getComputedStyle(n),!(r&&e.position==="static")&&a.test(e.overflow+e.overflowY+e.overflowX))return n;return document.documentElement}function Zo(t,e,r,a){return r*((t=t/a-1)*t*t+1)+e}function _t(t,e){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Bt,n=Vr(t),i=e-n,s=10,l=0;function o(){l+=s;var c=Zo(l,n,i,r);wt(t,c),l<r?window.requestAnimationFrame(o):a(t)}o()}function wr(t,e){var r=t.getBoundingClientRect(),a=e.getBoundingClientRect(),n=e.offsetHeight/3;a.bottom+n>r.bottom?wt(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+n,t.scrollHeight)):a.top-n<r.top&&wt(t,Math.max(e.offsetTop-n,0))}function Wo(t){var e=t.getBoundingClientRect();return{bottom:e.bottom,height:e.height,left:e.left,right:e.right,top:e.top,width:e.width}}function _r(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Oo(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Nr=!1,ko={get passive(){return Nr=!0}},Nt=typeof window<"u"?window:{};Nt.addEventListener&&Nt.removeEventListener&&(Nt.addEventListener("p",Bt,ko),Nt.removeEventListener("p",Bt,!1));var jo=Nr;function Do(t){return t!=null}function zo(t){return Array.isArray(t)}function Ft(t,e,r){return t?e:r}function c0(t){return t}function u0(t){return t}var Yo=function(e){for(var r=arguments.length,a=new Array(r>1?r-1:0),n=1;n<r;n++)a[n-1]=arguments[n];var i=Object.entries(e).filter(function(s){var l=Ve(s,1),o=l[0];return!a.includes(o)});return i.reduce(function(s,l){var o=Ve(l,2),c=o[0],u=o[1];return s[c]=u,s},{})},Jo=["children","innerProps"],$o=["children","innerProps"];function Uo(t){var e=t.maxHeight,r=t.menuEl,a=t.minHeight,n=t.placement,i=t.shouldScroll,s=t.isFixedPosition,l=t.controlHeight,o=Xo(r),c={placement:"bottom",maxHeight:e};if(!r||!r.offsetParent)return c;var u=o.getBoundingClientRect(),g=u.height,p=r.getBoundingClientRect(),f=p.bottom,I=p.height,m=p.top,b=r.offsetParent.getBoundingClientRect(),h=b.top,A=s?window.innerHeight:Lo(o),y=Vr(o),S=parseInt(getComputedStyle(r).marginBottom,10),v=parseInt(getComputedStyle(r).marginTop,10),E=h-v,G=A-m,B=E+y,F=g-y-m,X=f-A+y+S,O=y+m-v,K=160;switch(n){case"auto":case"bottom":if(G>=I)return{placement:"bottom",maxHeight:e};if(F>=I&&!s)return i&&_t(o,X,K),{placement:"bottom",maxHeight:e};if(!s&&F>=a||s&&G>=a){i&&_t(o,X,K);var ee=s?G-S:F-S;return{placement:"bottom",maxHeight:ee}}if(n==="auto"||s){var ue=e,re=s?E:B;return re>=a&&(ue=Math.min(re-S-l,e)),{placement:"top",maxHeight:ue}}if(n==="bottom")return i&&wt(o,X),{placement:"bottom",maxHeight:e};break;case"top":if(E>=I)return{placement:"top",maxHeight:e};if(B>=I&&!s)return i&&_t(o,O,K),{placement:"top",maxHeight:e};if(!s&&B>=a||s&&E>=a){var z=e;return(!s&&B>=a||s&&E>=a)&&(z=s?E-v:B-v),i&&_t(o,O,K),{placement:"top",maxHeight:z}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return c}function Qo(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var Fr=function(e){return e==="auto"?"bottom":e},qo=function(e,r){var a,n=e.placement,i=e.theme,s=i.borderRadius,l=i.spacing,o=i.colors;return P((a={label:"menu"},et(a,Qo(n),"100%"),et(a,"position","absolute"),et(a,"width","100%"),et(a,"zIndex",1),a),r?{}:{backgroundColor:o.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},Pr=C.createContext(null),Ko=function(e){var r=e.children,a=e.minMenuHeight,n=e.maxMenuHeight,i=e.menuPlacement,s=e.menuPosition,l=e.menuShouldScrollIntoView,o=e.theme,c=C.useContext(Pr)||{},u=c.setPortalPlacement,g=C.useRef(null),p=C.useState(n),f=Ve(p,2),I=f[0],m=f[1],b=C.useState(null),h=Ve(b,2),A=h[0],y=h[1],S=o.spacing.controlHeight;return rn(function(){var v=g.current;if(v){var E=s==="fixed",G=l&&!E,B=Uo({maxHeight:n,menuEl:v,minHeight:a,placement:i,shouldScroll:G,isFixedPosition:E,controlHeight:S});m(B.maxHeight),y(B.placement),u?.(B.placement)}},[n,i,s,l,a,u,S]),r({ref:g,placerProps:P(P({},e),{},{placement:A||Fr(i),maxHeight:I})})},es=function(e){var r=e.children,a=e.innerRef,n=e.innerProps;return N("div",T({},ie(e,"menu",{menu:!0}),{ref:a},n),r)},ts=es,ns=function(e,r){var a=e.maxHeight,n=e.theme.spacing.baseUnit;return P({maxHeight:a,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:n,paddingTop:n})},rs=function(e){var r=e.children,a=e.innerProps,n=e.innerRef,i=e.isMulti;return N("div",T({},ie(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:n},a),r)},Tr=function(e,r){var a=e.theme,n=a.spacing.baseUnit,i=a.colors;return P({textAlign:"center"},r?{}:{color:i.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},as=Tr,is=Tr,os=function(e){var r=e.children,a=r===void 0?"No options":r,n=e.innerProps,i=we(e,Jo);return N("div",T({},ie(P(P({},i),{},{children:a,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),a)},ss=function(e){var r=e.children,a=r===void 0?"Loading...":r,n=e.innerProps,i=we(e,$o);return N("div",T({},ie(P(P({},i),{},{children:a,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),a)},ls=function(e){var r=e.rect,a=e.offset,n=e.position;return{left:r.left,position:n,top:a,width:r.width,zIndex:1}},cs=function(e){var r=e.appendTo,a=e.children,n=e.controlElement,i=e.innerProps,s=e.menuPlacement,l=e.menuPosition,o=C.useRef(null),c=C.useRef(null),u=C.useState(Fr(s)),g=Ve(u,2),p=g[0],f=g[1],I=C.useMemo(function(){return{setPortalPlacement:f}},[]),m=C.useState(null),b=Ve(m,2),h=b[0],A=b[1],y=C.useCallback(function(){if(n){var G=Wo(n),B=l==="fixed"?0:window.pageYOffset,F=G[p]+B;(F!==h?.offset||G.left!==h?.rect.left||G.width!==h?.rect.width)&&A({offset:F,rect:G})}},[n,l,p,h?.offset,h?.rect.left,h?.rect.width]);rn(function(){y()},[y]);var S=C.useCallback(function(){typeof c.current=="function"&&(c.current(),c.current=null),n&&o.current&&(c.current=To(n,o.current,y,{elementResize:"ResizeObserver"in window}))},[n,y]);rn(function(){S()},[S]);var v=C.useCallback(function(G){o.current=G,S()},[S]);if(!r&&l!=="fixed"||!h)return null;var E=N("div",T({ref:v},ie(P(P({},e),{},{offset:h.offset,position:l,rect:h.rect}),"menuPortal",{"menu-portal":!0}),i),a);return N(Pr.Provider,{value:I},r?In.createPortal(E,r):E)},us=function(e){var r=e.isDisabled,a=e.isRtl;return{label:"container",direction:a?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},ds=function(e){var r=e.children,a=e.innerProps,n=e.isDisabled,i=e.isRtl;return N("div",T({},ie(e,"container",{"--is-disabled":n,"--is-rtl":i}),a),r)},gs=function(e,r){var a=e.theme.spacing,n=e.isMulti,i=e.hasValue,s=e.selectProps.controlShouldRenderValue;return P({alignItems:"center",display:n&&i&&s?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(a.baseUnit/2,"px ").concat(a.baseUnit*2,"px")})},bs=function(e){var r=e.children,a=e.innerProps,n=e.isMulti,i=e.hasValue;return N("div",T({},ie(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":i}),a),r)},fs=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},ps=function(e){var r=e.children,a=e.innerProps;return N("div",T({},ie(e,"indicatorsContainer",{indicators:!0}),a),r)},Rr,ms=["size"],vs=["innerProps","isRtl","size"];function hs(){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)."}var Cs=process.env.NODE_ENV==="production"?{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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3B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i9cbiAgaXNGb2N1c2VkOiBib29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:hs},Mr=function(e){var r=e.size,a=we(e,ms);return N("svg",T({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Cs},a))},an=function(e){return N(Mr,T({size:20},e),N("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"}))},Hr=function(e){return N(Mr,T({size:20},e),N("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"}))},Lr=function(e,r){var a=e.isFocused,n=e.theme,i=n.spacing.baseUnit,s=n.colors;return P({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:a?s.neutral60:s.neutral20,padding:i*2,":hover":{color:a?s.neutral80:s.neutral40}})},Is=Lr,xs=function(e){var r=e.children,a=e.innerProps;return N("div",T({},ie(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),a),r||N(Hr,null))},ys=Lr,As=function(e){var r=e.children,a=e.innerProps;return N("div",T({},ie(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),a),r||N(an,null))},Es=function(e,r){var a=e.isDisabled,n=e.theme,i=n.spacing.baseUnit,s=n.colors;return P({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:a?s.neutral10:s.neutral20,marginBottom:i*2,marginTop:i*2})},Ss=function(e){var r=e.innerProps;return N("span",T({},r,ie(e,"indicatorSeparator",{"indicator-separator":!0})))},Gs=ho(Rr||(Rr=Co([`
9
9
  0%, 80%, 100% { opacity: 0; }
10
10
  40% { opacity: 1; }
11
- `]))),Es=function(e,r){var o=e.isFocused,n=e.size,i=e.theme,s=i.colors,l=i.spacing.baseUnit;return F({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},r?{}:{color:o?s.neutral60:s.neutral20,padding:l*2})},on=function(e){var r=e.delay,o=e.offset;return V("span",{css:Qt({animation:"".concat(As," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:o?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAu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XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Ss=function(e){var r=e.innerProps,o=e.isRtl,n=e.size,i=n===void 0?4:n,s=we(e,fs);return V("div",R({},te(F(F({},s),{},{innerProps:r,isRtl:o,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),V(on,{delay:0,offset:o}),V(on,{delay:160,offset:!0}),V(on,{delay:320,offset:!o}))},Gs=function(e,r){var o=e.isDisabled,n=e.isFocused,i=e.theme,s=i.colors,l=i.borderRadius,a=i.spacing;return F({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:a.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:o?s.neutral5:s.neutral0,borderColor:o?s.neutral10:n?s.primary:s.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:n?s.primary:s.neutral30}})},Bs=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,i=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return V("div",R({ref:i},te(e,"control",{control:!0,"control--is-disabled":o,"control--is-focused":n,"control--menu-is-open":l}),s,{"aria-disabled":o||void 0}),r)},_s=Bs,ws=["data"],Ns=function(e,r){var o=e.theme.spacing;return r?{}:{paddingBottom:o.baseUnit*2,paddingTop:o.baseUnit*2}},Vs=function(e){var r=e.children,o=e.cx,n=e.getStyles,i=e.getClassNames,s=e.Heading,l=e.headingProps,a=e.innerProps,u=e.label,c=e.theme,g=e.selectProps;return V("div",R({},te(e,"group",{group:!0}),a),V(s,R({},l,{selectProps:g,theme:c,getStyles:n,getClassNames:i,cx:o}),u),V("div",null,r))},Fs=function(e,r){var o=e.theme,n=o.colors,i=o.spacing;return F({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},Ps=function(e){var r=Sr(e);r.data;var o=we(r,ws);return V("div",R({},te(e,"groupHeading",{"group-heading":!0}),o))},Ts=Vs,Rs=["innerRef","isDisabled","isHidden","inputClassName"],Xs=function(e,r){var o=e.isDisabled,n=e.value,i=e.theme,s=i.spacing,l=i.colors;return F(F({visibility:o?"hidden":"visible",transform:n?"translateZ(0)":""},Ms),r?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:l.neutral80})},Mr={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Ms={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":F({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Mr)},Ls=function(e){return F({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Mr)},Ws=function(e){var r=e.cx,o=e.value,n=Sr(e),i=n.innerRef,s=n.isDisabled,l=n.isHidden,a=n.inputClassName,u=we(n,Rs);return V("div",R({},te(e,"input",{"input-container":!0}),{"data-value":o||""}),V("input",R({className:r({input:!0},a),ref:i,style:Ls(l),disabled:s},u)))},Os=Ws,ks=function(e,r){var o=e.theme,n=o.spacing,i=o.borderRadius,s=o.colors;return F({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:s.neutral10,borderRadius:i/2,margin:n.baseUnit/2})},Zs=function(e,r){var o=e.theme,n=o.borderRadius,i=o.colors,s=e.cropWithEllipsis;return F({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Ds=function(e,r){var o=e.theme,n=o.spacing,i=o.borderRadius,s=o.colors,l=e.isFocused;return F({alignItems:"center",display:"flex"},r?{}:{borderRadius:i/2,backgroundColor:l?s.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},Lr=function(e){var r=e.children,o=e.innerProps;return V("div",o,r)},Hs=Lr,js=Lr;function zs(t){var e=t.children,r=t.innerProps;return V("div",R({role:"button"},r),e||V(rn,{size:14}))}var Ys=function(e){var r=e.children,o=e.components,n=e.data,i=e.innerProps,s=e.isDisabled,l=e.removeProps,a=e.selectProps,u=o.Container,c=o.Label,g=o.Remove;return V(u,{data:n,innerProps:F(F({},te(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),i),selectProps:a},V(c,{data:n,innerProps:F({},te(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:a},r),V(g,{data:n,innerProps:F(F({},te(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},l),selectProps:a}))},Js=Ys,$s=function(e,r){var o=e.isDisabled,n=e.isFocused,i=e.isSelected,s=e.theme,l=s.spacing,a=s.colors;return F({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:i?a.primary:n?a.primary25:"transparent",color:o?a.neutral20:i?a.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:o?void 0:i?a.primary:a.primary50}})},Us=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,i=e.isSelected,s=e.innerRef,l=e.innerProps;return V("div",R({},te(e,"option",{option:!0,"option--is-disabled":o,"option--is-focused":n,"option--is-selected":i}),{ref:s,"aria-disabled":o},l),r)},Qs=Us,qs=function(e,r){var o=e.theme,n=o.spacing,i=o.colors;return F({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:i.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},Ks=function(e){var r=e.children,o=e.innerProps;return V("div",R({},te(e,"placeholder",{placeholder:!0}),o),r)},el=Ks,tl=function(e,r){var o=e.isDisabled,n=e.theme,i=n.spacing,s=n.colors;return F({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:o?s.neutral40:s.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},nl=function(e){var r=e.children,o=e.isDisabled,n=e.innerProps;return V("div",R({},te(e,"singleValue",{"single-value":!0,"single-value--is-disabled":o}),n),r)},rl=nl,ol={ClearIndicator:Cs,Control:_s,DropdownIndicator:hs,DownChevron:Rr,CrossIcon:rn,Group:Ts,GroupHeading:Ps,IndicatorsContainer:gs,IndicatorSeparator:ys,Input:Os,LoadingIndicator:Ss,Menu:qa,MenuList:es,MenuPortal:as,LoadingMessage:os,NoOptionsMessage:rs,MultiValue:Js,MultiValueContainer:Hs,MultiValueLabel:js,MultiValueRemove:zs,Option:Qs,Placeholder:el,SelectContainer:ls,SingleValue:rl,ValueContainer:cs},il=function(e){return F(F({},ol),e.components)},Wr=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function al(t,e){return!!(t===e||Wr(t)&&Wr(e))}function sl(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!al(t[r],e[r]))return!1;return!0}function ll(t,e){e===void 0&&(e=sl);var r=null;function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&e(n,r.lastArgs))return r.lastResult;var s=t.apply(this,n);return r={lastResult:s,lastArgs:n,lastThis:this},s}return o.clear=function(){r=null},o}function ul(){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)."}for(var cl=process.env.NODE_ENV==="production"?{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:ul},dl=function(e){return V("span",R({css:cl},e))},Or=dl,gl={guidance:function(e){var r=e.isSearchable,o=e.isMulti,n=e.tabSelectsValue,i=e.context,s=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(n?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(e["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(o?" 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 r=e.action,o=e.label,n=o===void 0?"":o,i=e.labels,s=e.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", 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 s?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(e){var r=e.context,o=e.focused,n=e.options,i=e.label,s=i===void 0?"":i,l=e.selectValue,a=e.isDisabled,u=e.isSelected,c=e.isAppleDevice,g=function(m,b){return m&&m.length?"".concat(m.indexOf(b)+1," of ").concat(m.length):""};if(r==="value"&&l)return"value ".concat(s," focused, ").concat(g(l,o),".");if(r==="menu"&&c){var p=a?" disabled":"",f="".concat(u?" selected":"").concat(p);return"".concat(s).concat(f,", ").concat(g(n,o),".")}return""},onFilter:function(e){var r=e.inputValue,o=e.resultsMessage;return"".concat(o).concat(r?" for search term "+r:"",".")}},bl=function(e){var r=e.ariaSelection,o=e.focusedOption,n=e.focusedValue,i=e.focusableOptions,s=e.isFocused,l=e.selectValue,a=e.selectProps,u=e.id,c=e.isAppleDevice,g=a.ariaLiveMessages,p=a.getOptionLabel,f=a.inputValue,C=a.isMulti,m=a.isOptionDisabled,b=a.isSearchable,h=a.menuIsOpen,S=a.options,y=a.screenReaderStatus,G=a.tabSelectsValue,I=a.isLoading,E=a["aria-label"],B=a["aria-live"],_=v.useMemo(function(){return F(F({},gl),g||{})},[g]),P=v.useMemo(function(){var q="";if(r&&_.onChange){var j=r.option,k=r.options,z=r.removedValue,le=r.removedValues,ae=r.value,x=function(T){return Array.isArray(T)?null:T},N=z||j||x(ae),M=N?p(N):"",Z=k||le||void 0,se=Z?Z.map(p):[],oe=F({isDisabled:N&&m(N,l),label:M,labels:se},r);q=_.onChange(oe)}return q},[r,_,m,l,p]),O=v.useMemo(function(){var q="",j=o||n,k=!!(o&&l&&l.includes(o));if(j&&_.onFocus){var z={focused:j,label:p(j),isDisabled:m(j,l),isSelected:k,options:i,context:j===o?"menu":"value",selectValue:l,isAppleDevice:c};q=_.onFocus(z)}return q},[o,n,p,m,_,i,l,c]),W=v.useMemo(function(){var q="";if(h&&S.length&&!I&&_.onFilter){var j=y({count:i.length});q=_.onFilter({inputValue:f,resultsMessage:j})}return q},[i,f,h,_,S,y,I]),K=r?.action==="initial-input-focus",ne=v.useMemo(function(){var q="";if(_.guidance){var j=n?"value":h?"menu":"input";q=_.guidance({"aria-label":E,context:j,isDisabled:o&&m(o,l),isMulti:C,isSearchable:b,tabSelectsValue:G,isInitialFocus:K})}return q},[E,o,n,C,m,b,h,_,l,G,K]),re=V(v.Fragment,null,V("span",{id:"aria-selection"},P),V("span",{id:"aria-focused"},O),V("span",{id:"aria-results"},W),V("span",{id:"aria-guidance"},ne));return V(v.Fragment,null,V(Or,{id:u},K&&re),V(Or,{"aria-live":B,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!K&&re))},fl=bl,an=[{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źẑżžẓẕƶȥɀⱬꝣ"}],pl=new RegExp("["+an.map(function(t){return t.letters}).join("")+"]","g"),kr={},sn=0;sn<an.length;sn++)for(var ln=an[sn],un=0;un<ln.letters.length;un++)kr[ln.letters[un]]=ln.base;var Zr=function(e){return e.replace(pl,function(r){return kr[r]})},ml=ll(Zr),Dr=function(e){return e.replace(/^\s+|\s+$/g,"")},vl=function(e){return"".concat(e.label," ").concat(e.value)},hl=function(e){return function(r,o){if(r.data.__isNew__)return!0;var n=F({ignoreCase:!0,ignoreAccents:!0,stringify:vl,trim:!0,matchFrom:"any"},e),i=n.ignoreCase,s=n.ignoreAccents,l=n.stringify,a=n.trim,u=n.matchFrom,c=a?Dr(o):o,g=a?Dr(l(r)):l(r);return i&&(c=c.toLowerCase(),g=g.toLowerCase()),s&&(c=ml(c),g=Zr(g)),u==="start"?g.substr(0,c.length)===c:g.indexOf(c)>-1}},Il=["innerRef"];function Cl(t){var e=t.innerRef,r=we(t,Il),o=Ha(r,"onExited","in","enter","exit","appear");return V("input",R({ref:e},o,{css:Qt({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)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250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gLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var xl=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function yl(t){var e=t.isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,n=t.onTopArrive,i=t.onTopLeave,s=v.useRef(!1),l=v.useRef(!1),a=v.useRef(0),u=v.useRef(null),c=v.useCallback(function(b,h){if(u.current!==null){var S=u.current,y=S.scrollTop,G=S.scrollHeight,I=S.clientHeight,E=u.current,B=h>0,_=G-I-y,P=!1;_>h&&s.current&&(o&&o(b),s.current=!1),B&&l.current&&(i&&i(b),l.current=!1),B&&h>_?(r&&!s.current&&r(b),E.scrollTop=G,P=!0,s.current=!0):!B&&-h>y&&(n&&!l.current&&n(b),E.scrollTop=0,P=!0,l.current=!0),P&&xl(b)}},[r,o,n,i]),g=v.useCallback(function(b){c(b,b.deltaY)},[c]),p=v.useCallback(function(b){a.current=b.changedTouches[0].clientY},[]),f=v.useCallback(function(b){var h=a.current-b.changedTouches[0].clientY;c(b,h)},[c]),C=v.useCallback(function(b){if(b){var h=ka?{passive:!1}:!1;b.addEventListener("wheel",g,h),b.addEventListener("touchstart",p,h),b.addEventListener("touchmove",f,h)}},[f,p,g]),m=v.useCallback(function(b){b&&(b.removeEventListener("wheel",g,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",f,!1))},[f,p,g]);return v.useEffect(function(){if(e){var b=u.current;return C(b),function(){m(b)}}},[e,C,m]),function(b){u.current=b}}var Hr=["boxSizing","height","overflow","paddingRight","position"],jr={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function zr(t){t.cancelable&&t.preventDefault()}function Yr(t){t.stopPropagation()}function Jr(){var t=this.scrollTop,e=this.scrollHeight,r=t+this.offsetHeight;t===0?this.scrollTop=1:r===e&&(this.scrollTop=t-1)}function $r(){return"ontouchstart"in window||navigator.maxTouchPoints}var Ur=!!(typeof window<"u"&&window.document&&window.document.createElement),st=0,Ze={capture:!1,passive:!1};function Al(t){var e=t.isEnabled,r=t.accountForScrollbars,o=r===void 0?!0:r,n=v.useRef({}),i=v.useRef(null),s=v.useCallback(function(a){if(Ur){var u=document.body,c=u&&u.style;if(o&&Hr.forEach(function(C){var m=c&&c[C];n.current[C]=m}),o&&st<1){var g=parseInt(n.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,f=window.innerWidth-p+g||0;Object.keys(jr).forEach(function(C){var m=jr[C];c&&(c[C]=m)}),c&&(c.paddingRight="".concat(f,"px"))}u&&$r()&&(u.addEventListener("touchmove",zr,Ze),a&&(a.addEventListener("touchstart",Jr,Ze),a.addEventListener("touchmove",Yr,Ze))),st+=1}},[o]),l=v.useCallback(function(a){if(Ur){var u=document.body,c=u&&u.style;st=Math.max(st-1,0),o&&st<1&&Hr.forEach(function(g){var p=n.current[g];c&&(c[g]=p)}),u&&$r()&&(u.removeEventListener("touchmove",zr,Ze),a&&(a.removeEventListener("touchstart",Jr,Ze),a.removeEventListener("touchmove",Yr,Ze)))}},[o]);return v.useEffect(function(){if(e){var a=i.current;return s(a),function(){l(a)}}},[e,s,l]),function(a){i.current=a}}function El(){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)."}var Sl=function(e){var r=e.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},Gl=process.env.NODE_ENV==="production"?{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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaX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4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:El};function Bl(t){var e=t.children,r=t.lockEnabled,o=t.captureEnabled,n=o===void 0?!0:o,i=t.onBottomArrive,s=t.onBottomLeave,l=t.onTopArrive,a=t.onTopLeave,u=yl({isEnabled:n,onBottomArrive:i,onBottomLeave:s,onTopArrive:l,onTopLeave:a}),c=Al({isEnabled:r}),g=function(f){u(f),c(f)};return V(v.Fragment,null,r&&V("div",{onClick:Sl,css:Gl}),e(g))}function _l(){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)."}var wl=process.env.NODE_ENV==="production"?{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:_l},Nl=function(e){var r=e.name,o=e.onFocus;return V("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:o,css:wl,value:"",onChange:function(){}})},Vl=Nl;function cn(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function Fl(){return cn(/^iPhone/i)}function Qr(){return cn(/^Mac/i)}function Pl(){return cn(/^iPad/i)||Qr()&&navigator.maxTouchPoints>1}function Tl(){return Fl()||Pl()}function Rl(){return Qr()||Tl()}var Xl=function(e){return e.label},Ml=function(e){return e.label},Ll=function(e){return e.value},Wl=function(e){return!!e.isDisabled},Ol={clearIndicator:Is,container:ss,control:Gs,dropdownIndicator:vs,group:Ns,groupHeading:Fs,indicatorsContainer:ds,indicatorSeparator:xs,input:Xs,loadingIndicator:Es,loadingMessage:ns,menu:$a,menuList:Ka,menuPortal:is,multiValue:ks,multiValueLabel:Zs,multiValueRemove:Ds,noOptionsMessage:ts,option:$s,placeholder:qs,singleValue:tl,valueContainer:us},kl={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%)"},Zl=4,qr=4,Dl=38,Hl=qr*2,jl={baseUnit:qr,controlHeight:Dl,menuGutter:Hl},dn={borderRadius:Zl,colors:kl,spacing:jl},zl={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:_r(),captureMenuScroll:!_r(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:hl(),formatGroupLabel:Xl,getOptionLabel:Ml,getOptionValue:Ll,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Wl,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Wa(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var r=e.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function Kr(t,e,r,o){var n=oo(t,e,r),i=io(t,e,r),s=ro(t,e),l=Pt(t,e);return{type:"option",data:e,isDisabled:n,isSelected:i,label:s,value:l,index:o}}function Ft(t,e){return t.options.map(function(r,o){if("options"in r){var n=r.options.map(function(s,l){return Kr(t,s,e,l)}).filter(function(s){return no(t,s)});return n.length>0?{type:"group",data:r,options:n,index:o}:void 0}var i=Kr(t,r,e,o);return no(t,i)?i:void 0}).filter(Za)}function eo(t){return t.reduce(function(e,r){return r.type==="group"?e.push.apply(e,kt(r.options.map(function(o){return o.data}))):e.push(r.data),e},[])}function to(t,e){return t.reduce(function(r,o){return o.type==="group"?r.push.apply(r,kt(o.options.map(function(n){return{data:n.data,id:"".concat(e,"-").concat(o.index,"-").concat(n.index)}}))):r.push({data:o.data,id:"".concat(e,"-").concat(o.index)}),r},[])}function Yl(t,e){return eo(Ft(t,e))}function no(t,e){var r=t.inputValue,o=r===void 0?"":r,n=e.data,i=e.isSelected,s=e.label,l=e.value;return(!so(t)||!i)&&ao(t,{label:s,value:l,data:n},o)}function Jl(t,e){var r=t.focusedValue,o=t.selectValue,n=o.indexOf(r);if(n>-1){var i=e.indexOf(r);if(i>-1)return r;if(n<e.length)return e[n]}return null}function $l(t,e){var r=t.focusedOption;return r&&e.indexOf(r)>-1?r:e[0]}var gn=function(e,r){var o,n=(o=e.find(function(i){return i.data===r}))===null||o===void 0?void 0:o.id;return n||null},ro=function(e,r){return e.getOptionLabel(r)},Pt=function(e,r){return e.getOptionValue(r)};function oo(t,e,r){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,r):!1}function io(t,e,r){if(r.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,r);var o=Pt(t,e);return r.some(function(n){return Pt(t,n)===o})}function ao(t,e,r){return t.filterOption?t.filterOption(e,r):!0}var so=function(e){var r=e.hideSelectedOptions,o=e.isMulti;return r===void 0?o:r},Ul=1,lo=(function(t){di(r,t);var e=fi(r);function r(o){var n;if(ui(this,r),n=e.call(this,o),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},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(a){n.controlRef=a},n.focusedOptionRef=null,n.getFocusedOptionRef=function(a){n.focusedOptionRef=a},n.menuListRef=null,n.getMenuListRef=function(a){n.menuListRef=a},n.inputRef=null,n.getInputRef=function(a){n.inputRef=a},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(a,u){var c=n.props,g=c.onChange,p=c.name;u.name=p,n.ariaOnChange(a,u),g(a,u)},n.setValue=function(a,u,c){var g=n.props,p=g.closeMenuOnSelect,f=g.isMulti,C=g.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:C}),p&&(n.setState({inputIsHiddenAfterUpdate:!f}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(a,{action:u,option:c})},n.selectOption=function(a){var u=n.props,c=u.blurInputOnSelect,g=u.isMulti,p=u.name,f=n.state.selectValue,C=g&&n.isOptionSelected(a,f),m=n.isOptionDisabled(a,f);if(C){var b=n.getOptionValue(a);n.setValue(f.filter(function(h){return n.getOptionValue(h)!==b}),"deselect-option",a)}else if(!m)g?n.setValue([].concat(kt(f),[a]),"select-option",a):n.setValue(a,"select-option");else{n.ariaOnChange(a,{action:"select-option",option:a,name:p});return}c&&n.blurInput()},n.removeValue=function(a){var u=n.props.isMulti,c=n.state.selectValue,g=n.getOptionValue(a),p=c.filter(function(C){return n.getOptionValue(C)!==g}),f=Vt(u,p,p[0]||null);n.onChange(f,{action:"remove-value",removedValue:a}),n.focusInput()},n.clearValue=function(){var a=n.state.selectValue;n.onChange(Vt(n.props.isMulti,[],null),{action:"clear",removedValues:a})},n.popValue=function(){var a=n.props.isMulti,u=n.state.selectValue,c=u[u.length-1],g=u.slice(0,u.length-1),p=Vt(a,g,g[0]||null);c&&n.onChange(p,{action:"pop-value",removedValue:c})},n.getFocusedOptionId=function(a){return gn(n.state.focusableOptionsWithIds,a)},n.getFocusableOptionsWithIds=function(){return to(Ft(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var a=arguments.length,u=new Array(a),c=0;c<a;c++)u[c]=arguments[c];return Ta.apply(void 0,[n.props.classNamePrefix].concat(u))},n.getOptionLabel=function(a){return ro(n.props,a)},n.getOptionValue=function(a){return Pt(n.props,a)},n.getStyles=function(a,u){var c=n.props.unstyled,g=Ol[a](u,c);g.boxSizing="border-box";var p=n.props.styles[a];return p?p(g,u):g},n.getClassNames=function(a,u){var c,g;return(c=(g=n.props.classNames)[a])===null||c===void 0?void 0:c.call(g,u)},n.getElementId=function(a){return"".concat(n.state.instancePrefix,"-").concat(a)},n.getComponents=function(){return il(n.props)},n.buildCategorizedOptions=function(){return Ft(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return eo(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(a,u){n.setState({ariaSelection:F({value:a},u)})},n.onMenuMouseDown=function(a){a.button===0&&(a.stopPropagation(),a.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(a){n.blockOptionHover=!1},n.onControlMouseDown=function(a){if(!a.defaultPrevented){var u=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&n.onMenuClose():u&&n.openMenu("first"):(u&&(n.openAfterFocus=!0),n.focusInput()),a.target.tagName!=="INPUT"&&a.target.tagName!=="TEXTAREA"&&a.preventDefault()}},n.onDropdownIndicatorMouseDown=function(a){if(!(a&&a.type==="mousedown"&&a.button!==0)&&!n.props.isDisabled){var u=n.props,c=u.isMulti,g=u.menuIsOpen;n.focusInput(),g?(n.setState({inputIsHiddenAfterUpdate:!c}),n.onMenuClose()):n.openMenu("first"),a.preventDefault()}},n.onClearIndicatorMouseDown=function(a){a&&a.type==="mousedown"&&a.button!==0||(n.clearValue(),a.preventDefault(),n.openAfterFocus=!1,a.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(a){typeof n.props.closeMenuOnScroll=="boolean"?a.target instanceof HTMLElement&&Bt(a.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(a)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(a){var u=a.touches,c=u&&u.item(0);c&&(n.initialTouchX=c.clientX,n.initialTouchY=c.clientY,n.userIsDragging=!1)},n.onTouchMove=function(a){var u=a.touches,c=u&&u.item(0);if(c){var g=Math.abs(c.clientX-n.initialTouchX),p=Math.abs(c.clientY-n.initialTouchY),f=5;n.userIsDragging=g>f||p>f}},n.onTouchEnd=function(a){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(a.target)&&n.menuListRef&&!n.menuListRef.contains(a.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(a){n.userIsDragging||n.onControlMouseDown(a)},n.onClearIndicatorTouchEnd=function(a){n.userIsDragging||n.onClearIndicatorMouseDown(a)},n.onDropdownIndicatorTouchEnd=function(a){n.userIsDragging||n.onDropdownIndicatorMouseDown(a)},n.handleInputChange=function(a){var u=n.props.inputValue,c=a.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(c,{action:"input-change",prevInputValue:u}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(a){n.props.onFocus&&n.props.onFocus(a),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(a){var u=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(a),n.onInputChange("",{action:"input-blur",prevInputValue:u}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(a){if(!(n.blockOptionHover||n.state.focusedOption===a)){var u=n.getFocusableOptions(),c=u.indexOf(a);n.setState({focusedOption:a,focusedOptionId:c>-1?n.getFocusedOptionId(a):null})}},n.shouldHideSelectedOptions=function(){return so(n.props)},n.onValueInputFocus=function(a){a.preventDefault(),a.stopPropagation(),n.focus()},n.onKeyDown=function(a){var u=n.props,c=u.isMulti,g=u.backspaceRemovesValue,p=u.escapeClearsValue,f=u.inputValue,C=u.isClearable,m=u.isDisabled,b=u.menuIsOpen,h=u.onKeyDown,S=u.tabSelectsValue,y=u.openMenuOnFocus,G=n.state,I=G.focusedOption,E=G.focusedValue,B=G.selectValue;if(!m&&!(typeof h=="function"&&(h(a),a.defaultPrevented))){switch(n.blockOptionHover=!0,a.key){case"ArrowLeft":if(!c||f)return;n.focusValue("previous");break;case"ArrowRight":if(!c||f)return;n.focusValue("next");break;case"Delete":case"Backspace":if(f)return;if(E)n.removeValue(E);else{if(!g)return;c?n.popValue():C&&n.clearValue()}break;case"Tab":if(n.isComposing||a.shiftKey||!b||!S||!I||y&&n.isOptionSelected(I,B))return;n.selectOption(I);break;case"Enter":if(a.keyCode===229)break;if(b){if(!I||n.isComposing)return;n.selectOption(I);break}return;case"Escape":b?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:f}),n.onMenuClose()):C&&p&&n.clearValue();break;case" ":if(f)return;if(!b){n.openMenu("first");break}if(!I)return;n.selectOption(I);break;case"ArrowUp":b?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":b?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!b)return;n.focusOption("pageup");break;case"PageDown":if(!b)return;n.focusOption("pagedown");break;case"Home":if(!b)return;n.focusOption("first");break;case"End":if(!b)return;n.focusOption("last");break;default:return}a.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++Ul),n.state.selectValue=Er(o.value),o.menuIsOpen&&n.state.selectValue.length){var i=n.getFocusableOptionsWithIds(),s=n.buildFocusableOptions(),l=s.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=i,n.state.focusedOption=s[l],n.state.focusedOptionId=gn(i,s[l])}return n}return ci(r,[{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&&Br(this.menuListRef,this.focusedOptionRef),Rl()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var i=this.props,s=i.isDisabled,l=i.menuIsOpen,a=this.state.isFocused;(a&&!s&&n.isDisabled||a&&l&&!n.menuIsOpen)&&this.focusInput(),a&&s&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!a&&!s&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(Br(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(n,i){this.props.onInputChange(n,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var i=this,s=this.state,l=s.selectValue,a=s.isFocused,u=this.buildFocusableOptions(),c=n==="first"?0:u.length-1;if(!this.props.isMulti){var g=u.indexOf(l[0]);g>-1&&(c=g)}this.scrollToFocusedOptionOnUpdate=!(a&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:u[c],focusedOptionId:this.getFocusedOptionId(u[c])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(n){var i=this.state,s=i.selectValue,l=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var a=s.indexOf(l);l||(a=-1);var u=s.length-1,c=-1;if(s.length){switch(n){case"previous":a===0?c=0:a===-1?c=u:c=a-1;break;case"next":a>-1&&a<u&&(c=a+1);break}this.setState({inputIsHidden:c!==-1,focusedValue:s[c]})}}}},{key:"focusOption",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,s=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var a=0,u=l.indexOf(s);s||(u=-1),n==="up"?a=u>0?u-1:l.length-1:n==="down"?a=(u+1)%l.length:n==="pageup"?(a=u-i,a<0&&(a=0)):n==="pagedown"?(a=u+i,a>l.length-1&&(a=l.length-1)):n==="last"&&(a=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[a],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[a])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(dn):F(F({},dn),this.props.theme):dn}},{key:"getCommonProps",value:function(){var n=this.clearValue,i=this.cx,s=this.getStyles,l=this.getClassNames,a=this.getValue,u=this.selectOption,c=this.setValue,g=this.props,p=g.isMulti,f=g.isRtl,C=g.options,m=this.hasValue();return{clearValue:n,cx:i,getStyles:s,getClassNames:l,getValue:a,hasValue:m,isMulti:p,isRtl:f,options:C,selectOption:u,selectProps:g,setValue:c,theme:this.getTheme()}}},{key:"hasValue",value:function(){var n=this.state.selectValue;return n.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var n=this.props,i=n.isClearable,s=n.isMulti;return i===void 0?s:i}},{key:"isOptionDisabled",value:function(n,i){return oo(this.props,n,i)}},{key:"isOptionSelected",value:function(n,i){return io(this.props,n,i)}},{key:"filterOption",value:function(n,i){return ao(this.props,n,i)}},{key:"formatOptionLabel",value:function(n,i){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(n,{context:i,inputValue:s,selectValue:l})}else return this.getOptionLabel(n)}},{key:"formatGroupLabel",value:function(n){return this.props.formatGroupLabel(n)}},{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 n=this.props,i=n.isDisabled,s=n.isSearchable,l=n.inputId,a=n.inputValue,u=n.tabIndex,c=n.form,g=n.menuIsOpen,p=n.required,f=this.getComponents(),C=f.Input,m=this.state,b=m.inputIsHidden,h=m.ariaSelection,S=this.commonProps,y=l||this.getElementId("input"),G=F(F(F({"aria-autocomplete":"list","aria-expanded":g,"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":p,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},g&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?h?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?L.createElement(C,R({},S,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:i,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:u,form:c,type:"text",value:a},G)):L.createElement(Cl,R({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Gt,onFocus:this.onInputFocus,disabled:i,tabIndex:u,inputMode:"none",form:c,value:""},G))}},{key:"renderPlaceholderOrValue",value:function(){var n=this,i=this.getComponents(),s=i.MultiValue,l=i.MultiValueContainer,a=i.MultiValueLabel,u=i.MultiValueRemove,c=i.SingleValue,g=i.Placeholder,p=this.commonProps,f=this.props,C=f.controlShouldRenderValue,m=f.isDisabled,b=f.isMulti,h=f.inputValue,S=f.placeholder,y=this.state,G=y.selectValue,I=y.focusedValue,E=y.isFocused;if(!this.hasValue()||!C)return h?null:L.createElement(g,R({},p,{key:"placeholder",isDisabled:m,isFocused:E,innerProps:{id:this.getElementId("placeholder")}}),S);if(b)return G.map(function(_,P){var O=_===I,W="".concat(n.getOptionLabel(_),"-").concat(n.getOptionValue(_));return L.createElement(s,R({},p,{components:{Container:l,Label:a,Remove:u},isFocused:O,isDisabled:m,key:W,index:P,removeProps:{onClick:function(){return n.removeValue(_)},onTouchEnd:function(){return n.removeValue(_)},onMouseDown:function(ne){ne.preventDefault()}},data:_}),n.formatOptionLabel(_,"value"))});if(h)return null;var B=G[0];return L.createElement(c,R({},p,{data:B,isDisabled:m}),this.formatOptionLabel(B,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),i=n.ClearIndicator,s=this.commonProps,l=this.props,a=l.isDisabled,u=l.isLoading,c=this.state.isFocused;if(!this.isClearable()||!i||a||!this.hasValue()||u)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(i,R({},s,{innerProps:g,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),i=n.LoadingIndicator,s=this.commonProps,l=this.props,a=l.isDisabled,u=l.isLoading,c=this.state.isFocused;if(!i||!u)return null;var g={"aria-hidden":"true"};return L.createElement(i,R({},s,{innerProps:g,isDisabled:a,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator,s=n.IndicatorSeparator;if(!i||!s)return null;var l=this.commonProps,a=this.props.isDisabled,u=this.state.isFocused;return L.createElement(s,R({},l,{isDisabled:a,isFocused:u}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator;if(!i)return null;var s=this.commonProps,l=this.props.isDisabled,a=this.state.isFocused,u={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(i,R({},s,{innerProps:u,isDisabled:l,isFocused:a}))}},{key:"renderMenu",value:function(){var n=this,i=this.getComponents(),s=i.Group,l=i.GroupHeading,a=i.Menu,u=i.MenuList,c=i.MenuPortal,g=i.LoadingMessage,p=i.NoOptionsMessage,f=i.Option,C=this.commonProps,m=this.state.focusedOption,b=this.props,h=b.captureMenuScroll,S=b.inputValue,y=b.isLoading,G=b.loadingMessage,I=b.minMenuHeight,E=b.maxMenuHeight,B=b.menuIsOpen,_=b.menuPlacement,P=b.menuPosition,O=b.menuPortalTarget,W=b.menuShouldBlockScroll,K=b.menuShouldScrollIntoView,ne=b.noOptionsMessage,re=b.onMenuScrollToTop,q=b.onMenuScrollToBottom;if(!B)return null;var j=function(M,Z){var se=M.type,oe=M.data,A=M.isDisabled,T=M.isSelected,D=M.label,ee=M.value,ue=m===oe,w=A?void 0:function(){return n.onOptionHover(oe)},de=A?void 0:function(){return n.selectOption(oe)},he="".concat(n.getElementId("option"),"-").concat(Z),Be={id:he,onClick:de,onMouseMove:w,onMouseOver:w,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:T};return L.createElement(f,R({},C,{innerProps:Be,data:oe,isDisabled:A,isSelected:T,key:he,label:D,type:se,value:ee,isFocused:ue,innerRef:ue?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(M.data,"menu"))},k;if(this.hasOptions())k=this.getCategorizedOptions().map(function(N){if(N.type==="group"){var M=N.data,Z=N.options,se=N.index,oe="".concat(n.getElementId("group"),"-").concat(se),A="".concat(oe,"-heading");return L.createElement(s,R({},C,{key:oe,data:M,options:Z,Heading:l,headingProps:{id:A,data:N.data},label:n.formatGroupLabel(N.data)}),N.options.map(function(T){return j(T,"".concat(se,"-").concat(T.index))}))}else if(N.type==="option")return j(N,"".concat(N.index))});else if(y){var z=G({inputValue:S});if(z===null)return null;k=L.createElement(g,C,z)}else{var le=ne({inputValue:S});if(le===null)return null;k=L.createElement(p,C,le)}var ae={minMenuHeight:I,maxMenuHeight:E,menuPlacement:_,menuPosition:P,menuShouldScrollIntoView:K},x=L.createElement(Ua,R({},C,ae),function(N){var M=N.ref,Z=N.placerProps,se=Z.placement,oe=Z.maxHeight;return L.createElement(a,R({},C,ae,{innerRef:M,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:y,placement:se}),L.createElement(Bl,{captureEnabled:h,onTopArrive:re,onBottomArrive:q,lockEnabled:W},function(A){return L.createElement(u,R({},C,{innerRef:function(D){n.getMenuListRef(D),A(D)},innerProps:{role:"listbox","aria-multiselectable":C.isMulti,id:n.getElementId("listbox")},isLoading:y,maxHeight:oe,focusedOption:m}),k)}))});return O||P==="fixed"?L.createElement(c,R({},C,{appendTo:O,controlElement:this.controlRef,menuPlacement:_,menuPosition:P}),x):x}},{key:"renderFormField",value:function(){var n=this,i=this.props,s=i.delimiter,l=i.isDisabled,a=i.isMulti,u=i.name,c=i.required,g=this.state.selectValue;if(c&&!this.hasValue()&&!l)return L.createElement(Vl,{name:u,onFocus:this.onValueInputFocus});if(!(!u||l))if(a)if(s){var p=g.map(function(m){return n.getOptionValue(m)}).join(s);return L.createElement("input",{name:u,type:"hidden",value:p})}else{var f=g.length>0?g.map(function(m,b){return L.createElement("input",{key:"i-".concat(b),name:u,type:"hidden",value:n.getOptionValue(m)})}):L.createElement("input",{name:u,type:"hidden",value:""});return L.createElement("div",null,f)}else{var C=g[0]?this.getOptionValue(g[0]):"";return L.createElement("input",{name:u,type:"hidden",value:C})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,i=this.state,s=i.ariaSelection,l=i.focusedOption,a=i.focusedValue,u=i.isFocused,c=i.selectValue,g=this.getFocusableOptions();return L.createElement(fl,R({},n,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:l,focusedValue:a,isFocused:u,selectValue:c,focusableOptions:g,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),i=n.Control,s=n.IndicatorsContainer,l=n.SelectContainer,a=n.ValueContainer,u=this.props,c=u.className,g=u.id,p=u.isDisabled,f=u.menuIsOpen,C=this.state.isFocused,m=this.commonProps=this.getCommonProps();return L.createElement(l,R({},m,{className:c,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:C}),this.renderLiveRegion(),L.createElement(i,R({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:C,menuIsOpen:f}),L.createElement(a,R({},m,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),L.createElement(s,R({},m,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,i){var s=i.prevProps,l=i.clearFocusValueOnUpdate,a=i.inputIsHiddenAfterUpdate,u=i.ariaSelection,c=i.isFocused,g=i.prevWasFocused,p=i.instancePrefix,f=n.options,C=n.value,m=n.menuIsOpen,b=n.inputValue,h=n.isMulti,S=Er(C),y={};if(s&&(C!==s.value||f!==s.options||m!==s.menuIsOpen||b!==s.inputValue)){var G=m?Yl(n,S):[],I=m?to(Ft(n,S),"".concat(p,"-option")):[],E=l?Jl(i,S):null,B=$l(i,G),_=gn(I,B);y={selectValue:S,focusedOption:B,focusedOptionId:_,focusableOptionsWithIds:I,focusedValue:E,clearFocusValueOnUpdate:!1}}var P=a!=null&&n!==s?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},O=u,W=c&&g;return c&&!W&&(O={value:Vt(h,S,S[0]||null),options:S,action:"initial-input-focus"},W=!g),u?.action==="initial-input-focus"&&(O=null),F(F(F({},y),P),{},{prevProps:n,ariaSelection:O,prevWasFocused:W})}}]),r})(v.Component);lo.defaultProps=zl;var Ql=v.forwardRef(function(t,e){var r=li(t);return L.createElement(lo,R({ref:e},r))}),ql=Ql;const Re={select:"_select_3o48x_1",requiredSymbol:"_requiredSymbol_3o48x_1",selectContainer:"_selectContainer_3o48x_8",small:"_small_3o48x_11",selectListArrow:"_selectListArrow_3o48x_11",hasErrors:"_hasErrors_3o48x_126"},uo=t=>{const{id:e,name:r="",required:o=!1,disabled:n=!1,options:i=[],width:s,label:l="",placeholder:a="",defaultContent:u="",role:c,"aria-describedby":g,hasErrors:p=!1,errorMessage:f="",size:C="medium"}=t,m=()=>`${e}-errorMessage`,b=t.multiple===!0,h=v.useMemo(()=>i.map(E=>typeof E=="object"?{value:E.value,label:String(E.key)}:{value:E,label:String(E)}),[i]),S=E=>h.find(_=>_.value===E)??{value:E,label:String(E)},y=E=>E===void 0?null:Array.isArray(E)?E.map(S):S(E),G=a||u||"",I=E=>{if(b){const _=E.map(P=>P.value);t.multiple&&t.onChange(_);return}const B=E;t.multiple||B&&t.onChange(B.value)};return d.jsxs("div",{className:Re.select,children:[d.jsxs(qe,{htmlFor:e,children:[l,o&&d.jsx("img",{src:Ve,alt:"",className:Re.requiredSymbol})]}),d.jsxs("div",{className:Y([Re.selectContainer,C==="small"&&Re.small]),style:s?{maxWidth:s}:void 0,role:c,children:[d.jsx("span",{className:Re.selectListArrow}),d.jsx(ql,{inputId:e,name:r,"aria-describedby":p&&f?m():g,"aria-invalid":p||void 0,"aria-required":o||void 0,isDisabled:n,isMulti:b,isSearchable:!1,closeMenuOnSelect:!b,placeholder:G,onChange:I,options:h,className:Y([p&&Re.hasErrors,C==="small"&&Re.small]),classNamePrefix:"reactSelect",components:{DropdownIndicator:()=>null,IndicatorSeparator:()=>null},...t.value!==void 0?{value:y(t.value)}:t.defaultValue!==void 0?{defaultValue:y(t.defaultValue)}:{}})]}),d.jsx(Ue,{id:m(),content:f})]})},Se={wizardTopnavItem:"_wizardTopnavItem_5ar16_1",wizardTopnavItemContent:"_wizardTopnavItemContent_5ar16_4",vertical:"_vertical_5ar16_7",stepNumber:"_stepNumber_5ar16_24",stepName:"_stepName_5ar16_36",active:"_active_5ar16_46",finished:"_finished_5ar16_46",hasErrors:"_hasErrors_5ar16_46",horizontal:"_horizontal_5ar16_64"},co=({step:t,index:e,activeStepId:r,direction:o="vertical"})=>{const n=r===t.id,i=o==="vertical",s=Y([Se.wizardTopnavItem,n&&Se.active,t.finished&&Se.finished,t.hasErrors&&Se.hasErrors,Se[o]]),l=n?"step":void 0,a=()=>d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Se.stepNumber,children:e+1}),d.jsx("span",{className:Se.stepName,children:t.name}),i&&t.finished&&!n&&d.jsx("img",{src:En,alt:"",className:Se.checkmarkSymbol})]});return t.link&&Object.keys(t.link).length>0?d.jsx("li",{className:s,children:d.jsx(Tt.Link,{to:t.link,"aria-current":l,className:Se.wizardTopnavItemContent,children:a()})}):d.jsx("li",{className:s,children:d.jsx("span",{"aria-current":l,className:Se.wizardTopnavItemContent,children:a()})})},H={table:"_table_m7buf_1",thButton:"_thButton_m7buf_19",sortable:"_sortable_m7buf_29",label:"_label_m7buf_39",sortIndicators:"_sortIndicators_m7buf_43",sortArrow:"_sortArrow_m7buf_49",activeArrow:"_activeArrow_m7buf_55",evenRow:"_evenRow_m7buf_59",oddRow:"_oddRow_m7buf_62",loadingRow:"_loadingRow_m7buf_73",loadingCell:"_loadingCell_m7buf_77",selectionHeader:"_selectionHeader_m7buf_82",selectionCell:"_selectionCell_m7buf_88",selectionControl:"_selectionControl_m7buf_102",rowClickable:"_rowClickable_m7buf_109",srOnly:"_srOnly_m7buf_116",pagination:"_pagination_m7buf_127",paginationControls:"_paginationControls_m7buf_134",paginationWithPageSize:"_paginationWithPageSize_m7buf_143",pageSizeSelector:"_pageSizeSelector_m7buf_147",pageNavButtonHidden:"_pageNavButtonHidden_m7buf_151",pageNavIcon:"_pageNavIcon_m7buf_155",pageList:"_pageList_m7buf_161",pageNumber:"_pageNumber_m7buf_167",pageNumberActive:"_pageNumberActive_m7buf_188",pageEllipsis:"_pageEllipsis_m7buf_193"},Kl=(t,e)=>e<=7?Array.from({length:e},(r,o)=>o+1):t<=4?[1,2,3,4,5,"...",e]:t>=e-3?[1,"...",e-4,e-3,e-2,e-1,e]:[1,"...",t-1,t,t+1,"...",e],eu=({columns:t,data:e,loading:r=!1,loadingAriaLabel:o,getRowId:n,selectionType:i,selectionLabel:s="Velg rad",selectedRowId:l,onSelect:a,selectedRowIds:u,onSelectMany:c,onRowClick:g,pageSize:p,page:f,defaultPage:C=1,onPageChange:m,pageSizeOptions:b,defaultPageSize:h,onPageSizeChange:S})=>{const[y,G]=v.useState(null),I=v.useId(),[E,B]=v.useState(C),[_,P]=v.useState(()=>{if(p===void 0){if(h&&h>0)return h;if(b?.length)return b[0]}});v.useEffect(()=>{const A=t.find(T=>T.sortable);G(A?{headerKey:A.key,direction:"asc"}:null)},[t]);const O=v.useMemo(()=>{const A=new Map;for(const T of t)A.set(T.key,T);return A},[t]),W=v.useMemo(()=>{if(!y)return e;const A=O.get(y.headerKey);if(!A)return e;const T=A.sortAccessor??A.accessor;if(!T)return e;const D=[...e];return D.sort((ee,ue)=>{const w=T(ee),de=T(ue);if(w==null||de==null)return 0;if(typeof w=="number"&&typeof de=="number")return y.direction==="asc"?w-de:de-w;if(w instanceof Date&&de instanceof Date)return y.direction==="asc"?w.getTime()-de.getTime():de.getTime()-w.getTime();const he=String(w),Be=String(de);return y.direction==="asc"?he.localeCompare(Be,void 0,{numeric:!0}):Be.localeCompare(he,void 0,{numeric:!0})}),D},[e,y,O]),K=A=>{G(T=>!T||T.headerKey!==A?{headerKey:A,direction:"asc"}:{headerKey:A,direction:T.direction==="asc"?"desc":"asc"})},ne=(A,T)=>{if(T)return y?.headerKey!==A?"none":y.direction==="asc"?"ascending":"descending"},re=(A,T)=>{const D=n?.(A,T);if(D==null||D===""){const ee=e.indexOf(A);return ee===-1?T:ee}return D},q=v.useMemo(()=>i!=="multiple"?new Set:new Set(u??[]),[u,i]),j=v.useMemo(()=>{const A=p??_;return!A||A<=0?W.length||e.length||1:A},[p,_,W.length,e.length]),k=v.useMemo(()=>Math.max(1,Math.ceil(W.length/j)),[W.length,j]),z=v.useMemo(()=>{const A=f??E;return!Number.isFinite(A)||A<1?1:A>k?k:A},[f,E,k]);v.useEffect(()=>{f===void 0&&z>k&&B(k)},[z,k,f]);const le=v.useMemo(()=>{if(j>=W.length)return W;const A=(z-1)*j;return W.slice(A,A+j)},[W,z,j]),ae=t.length+(i?1:0),x=A=>{const T=Math.min(Math.max(A,1),k);f!==void 0?m?.(T):B(T)},N=A=>{const T=A>0?Math.floor(A):1;p!==void 0?S?.(T):(P(T),B(1))},M=!r&&k>1,Z=!r&&!!b?.length,se=v.useMemo(()=>Kl(z,k),[z,k]),oe=Y([H.paginationControls,Z&&H.paginationWithPageSize]);return d.jsxs(d.Fragment,{children:[d.jsxs("table",{className:H.table,children:[d.jsx("thead",{children:d.jsxs("tr",{children:[i&&d.jsx("th",{className:H.selectionHeader,"aria-label":s,children:d.jsx("span",{className:H.srOnly,children:s})}),t.map(({key:A,label:T,sortable:D,ariaLabel:ee})=>{const ue=y?.headerKey===A,w=ue&&y.direction==="asc",de=ue&&y.direction==="desc";return d.jsx("th",{"aria-sort":ne(A,D),scope:"col",children:D?d.jsxs("button",{type:"button",className:`${H.thButton} ${H.sortable}`,onClick:()=>K(A),"aria-label":`${ee??T}: sort ${ue&&w?"descending":"ascending"}`,children:[d.jsx("span",{className:H.label,children:T}),d.jsxs("span",{className:H.sortIndicators,"aria-hidden":"true",children:[d.jsx("span",{className:`${H.sortArrow} ${w?H.activeArrow:""}`,children:d.jsx("svg",{viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:d.jsx("path",{d:"M2 6 6 2 10 6",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),d.jsx("span",{className:`${H.sortArrow} ${de?H.activeArrow:""}`,children:d.jsx("svg",{viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:d.jsx("path",{d:"M2 2 6 6 10 2",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}):d.jsx("span",{className:H.thButton,children:d.jsx("span",{className:H.label,children:T})})},A)})]})}),d.jsx("tbody",{children:r?d.jsx("tr",{className:H.loadingRow,children:d.jsx("td",{className:H.loadingCell,colSpan:ae,children:d.jsx(Ln,{ariaLabel:o})})}):le.map((A,T)=>{const D=re(A,T),ee=`${I}-${D}`,ue=i==="single"&&l===D,w=i==="multiple"&&q.has(D),Be=!!g||i==="single"&&!!a||i==="multiple"&&!!c,uu=()=>{if(i==="single")a?.(A);else if(i==="multiple"&&c){const ge=new Set(q);ge.has(D)?ge.delete(D):ge.add(D);const De=e.filter((pn,mn)=>{const vn=re(pn,mn);return ge.has(vn)});c(De)}g?.(A)};return d.jsxs("tr",{className:Y([T%2===0?H.evenRow:H.oddRow,Be&&H.rowClickable]),onClick:Be?uu:void 0,children:[i==="single"&&d.jsx("td",{className:H.selectionCell,children:d.jsx("button",{type:"button",className:H.selectionControl,onClick:ge=>ge.stopPropagation(),children:d.jsx(Lt,{id:ee,name:I,inputValue:String(D),checked:ue,onChange:ge=>{ge?.stopPropagation(),a?.(A)},"aria-label":s})})}),i==="multiple"&&d.jsx("td",{className:H.selectionCell,children:d.jsx("button",{type:"button",className:H.selectionControl,onClick:ge=>ge.stopPropagation(),children:d.jsx(Rt,{id:ee,value:String(D),checked:w,onChange:ge=>{if(ge?.stopPropagation(),!c)return;const De=new Set(q);De.has(D)?De.delete(D):De.add(D);const pn=e.filter((mn,vn)=>{const cu=re(mn,vn);return De.has(cu)});c(pn)},"aria-label":s})})}),t.map(ge=>d.jsx("td",{children:ge.render?ge.render(A):String(ge.accessor?.(A)??"")},ge.key))]},D)})})]}),(M||Z)&&d.jsxs("div",{className:oe,children:[Z&&d.jsx("div",{className:H.pageSizeSelector,children:d.jsx(uo,{id:`${I}-page-size`,label:"Rader per side",options:b,value:j,onChange:A=>N(Number(A)),width:"120px",size:"small"})}),M&&d.jsxs("div",{className:H.pagination,children:[d.jsx(Fe,{type:"button",color:"neutral",noMargin:!0,className:Y([H.pageNavButtonPrevious,z<=1&&H.pageNavButtonHidden]),onClick:()=>x(z-1),disabled:z<=1,"aria-label":"Forrige side",content:"Forrige",iconLeft:d.jsx("span",{className:H.pageNavIcon,"aria-hidden":"true",children:d.jsxs("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("title",{children:"Forrige side"}),d.jsx("path",{d:"M10.5 3.5L6 8l4.5 4.5",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})})}),d.jsx("div",{className:H.pageList,children:se.map(A=>A==="..."?d.jsx("span",{className:H.pageEllipsis,children:"..."},`ellipsis-${A}`):d.jsx("button",{type:"button",className:Y([H.pageNumber,A===z&&H.pageNumberActive]),onClick:()=>x(Number(A)),"aria-current":A===z?"page":void 0,children:A},A))}),d.jsx(Fe,{type:"button",color:"neutral",noMargin:!0,className:Y([H.pageNavButtonNext,z>=k&&H.pageNavButtonHidden]),onClick:()=>x(z+1),disabled:z>=k,"aria-label":"Neste side",content:"Neste",iconRight:d.jsx("span",{className:H.pageNavIcon,"aria-hidden":"true",children:d.jsxs("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("title",{children:"Neste side"}),d.jsx("path",{d:"M5.5 3.5L10 8l-4.5 4.5",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})})})]})]})]})},Ge={tabs:"_tabs_x3s88_1",tabList:"_tabList_x3s88_5",tab:"_tab_x3s88_1",active:"_active_x3s88_42",disabled:"_disabled_x3s88_47",tabLabel:"_tabLabel_x3s88_55",tabAmount:"_tabAmount_x3s88_59",tabPanels:"_tabPanels_x3s88_66",tabPanel:"_tabPanel_x3s88_66",hidden:"_hidden_x3s88_74"},lt=({children:t,defaultIndex:e=0,onChange:r,className:o})=>{const[n,i]=v.useState(e),s=v.useId(),l=v.useMemo(()=>s.replace(/:/g,""),[s]),a=u=>{i(u),r?.(u)};return d.jsx("div",{className:Y([Ge.tabs,o]),children:v.Children.map(t,u=>v.isValidElement(u)?u.type===go?v.cloneElement(u,{activeIndex:n,setActiveIndex:a,baseId:l}):u.type===bo?v.cloneElement(u,{activeIndex:n,baseId:l}):u:null)})},go=({children:t,activeIndex:e=0,setActiveIndex:r,baseId:o})=>{const n=v.useMemo(()=>v.Children.toArray(t).filter(l=>v.isValidElement(l)),[t]),i=n.length,s=(l,a)=>{if(!r||i===0)return;let u=a;switch(l.key){case"ArrowRight":l.preventDefault(),u=(a+1)%i;break;case"ArrowLeft":l.preventDefault(),u=(a-1+i)%i;break;case"Home":l.preventDefault(),u=0;break;case"End":l.preventDefault(),u=i-1;break;default:return}r(u)};return d.jsx("div",{className:Ge.tabList,role:"tablist",children:n.map((l,a)=>{if(!v.isValidElement(l))return null;const u=`${o}-tab-${a}`,c=`${o}-panel-${a}`,g=a===e;return v.cloneElement(l,{tabId:u,panelId:c,isActive:g,onSelect:()=>r?.(a),onKeyDown:p=>s(p,a)})})})},tu=({children:t,amount:e,isActive:r,onSelect:o,onClick:n,onKeyDown:i,tabId:s,panelId:l,className:a,...u})=>{const c=Y([Ge.tab,r&&Ge.active,u.disabled&&Ge.disabled,a]),g=f=>{n?.(f),!f.defaultPrevented&&o?.()},p=f=>{i?.(f)};return d.jsxs("button",{...u,id:s,role:"tab",type:"button","aria-selected":r,"aria-controls":l,className:c,onClick:g,onKeyDown:p,children:[d.jsx("span",{className:Ge.tabLabel,children:t}),e&&d.jsx("span",{className:Ge.tabAmount,children:e})]})},bo=({children:t,activeIndex:e=0,baseId:r})=>d.jsx("div",{className:Ge.tabPanels,children:v.Children.map(t,(o,n)=>{if(!v.isValidElement(o))return null;const i=`${r}-tab-${n}`,s=`${r}-panel-${n}`;return v.cloneElement(o,{isActive:n===e,tabId:i,panelId:s})})}),nu=({children:t,isActive:e,tabId:r,panelId:o})=>d.jsx("div",{role:"tabpanel",id:o,"aria-labelledby":r,className:Y([Ge.tabPanel,!e&&Ge.hidden]),hidden:!e,children:t});lt.List=go,lt.Tab=tu,lt.Panels=bo,lt.Panel=nu;const ru=t=>{let e="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=r.length;for(let n=0;n<t;n++)e+=r.charAt(Math.floor(Math.random()*o));return e},bn={textarea:"_textarea_1596u_1",requiredSymbol:"_requiredSymbol_1596u_4",hasErrors:"_hasErrors_1596u_55"},ou=({id:t,onChange:e,onBlur:r,name:o="",required:n=!1,readOnly:i,disabled:s,width:l,resize:a="both",value:u,defaultValue:c,elementKey:g,rows:p,label:f="",placeholder:C="","aria-describedby":m,hasErrors:b=!1,errorMessage:h=""})=>{const S=()=>`${t}-errorMessage`,y=!u?.length&&c?.length?c:void 0,G=g||`${t}-${ru(6)}`,I={...l&&{maxWidth:l},...a&&{resize:a}},E={name:o,readOnly:i,disabled:s,required:n,id:t,onChange:e,onBlur:r,value:y?void 0:u,defaultValue:y||void 0,placeholder:C,rows:p?parseInt(p,10):void 0,className:b?bn.hasErrors:"","aria-describedby":b&&h?S():m,"aria-invalid":b?"true":void 0,style:I};return d.jsxs("div",{className:bn.textarea,children:[d.jsxs(qe,{htmlFor:t,children:[f,n&&d.jsx("img",{src:Ve,alt:"",className:bn.requiredSymbol})]}),d.jsx("textarea",{...E},G),d.jsx(Ue,{id:S(),content:h})]})},iu=({theme:t,children:e})=>{const r=Co(t),o=yo(r);return xo("theme-provider",`:root {${o}}`),e},au={toggleNavigationButton:"_toggleNavigationButton_1eb2w_1"},su=({id:t,htmlTag:e="button",showText:r,hideText:o,buttonProps:n={},isOpen:i=!1})=>v.createElement(e,{...n,className:au.toggleNavigationButton,id:t||void 0},i?o:r),fn={wizardTopnavContainer:"_wizardTopnavContainer_qiy2o_1",wizardTopnav:"_wizardTopnav_qiy2o_1",vertical:"_vertical_qiy2o_6",horizontal:"_horizontal_qiy2o_11"},lu=({steps:t,activeStepId:e,direction:r="vertical","aria-label":o})=>{const n=Object.keys(t),s=`I dette skjemaet er det totalt ${n.length} steg som du skal gå igjennom`,l=o?.length?o:s;return d.jsx("nav",{"aria-label":l,className:Y([fn.wizardTopnavContainer,fn[r]]),children:d.jsx("ol",{className:fn.wizardTopnav,children:n.map((a,u)=>d.jsx(co,{step:t[a],activeStepId:e,direction:r,index:u},a))})})};X.Accordion=Bo,X.Button=Fe,X.CheckBoxIcon=An,X.CheckBoxInput=Rt,X.CheckBoxList=_o,X.CheckBoxListItem=wo,X.Container=Gn,X.ContentBox=Vo,X.DescriptionDetails=Fo,X.DescriptionList=Po,X.DescriptionTerm=To,X.Dialog=Xo,X.DragAndDropFileInput=Mo,X.ErrorBox=Oo,X.ErrorMessage=Ue,X.Footer=Zo,X.Header=Ye,X.InfoBox=Pn,X.InputField=Ho,X.Label=qe,X.List=jo,X.ListItem=zo,X.LoadingAnimation=Ln,X.NavigationBar=Uo,X.Paper=Qo,X.Paragraph=qo,X.ProgressBar=Ko,X.RadioButtonIcon=kn,X.RadioButtonInput=Lt,X.RadioButtonList=ei,X.RadioButtonListItem=ti,X.Select=uo,X.Table=eu,X.Tabs=lt,X.Textarea=ou,X.ThemeProvider=iu,X.ToggleNavigationButton=su,X.WizardNavigation=lu,X.WizardNavigationStep=co,Object.defineProperty(X,Symbol.toStringTag,{value:"Module"})}));
11
+ `]))),Bs=function(e,r){var a=e.isFocused,n=e.size,i=e.theme,s=i.colors,l=i.spacing.baseUnit;return P({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},r?{}:{color:a?s.neutral60:s.neutral20,padding:l*2})},on=function(e){var r=e.delay,a=e.offset;return N("span",{css:qt({animation:"".concat(Gs," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:a?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},process.env.NODE_ENV==="production"?"":";label:LoadingDot;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbHMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyI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MgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Vs=function(e){var r=e.innerProps,a=e.isRtl,n=e.size,i=n===void 0?4:n,s=we(e,vs);return N("div",T({},ie(P(P({},s),{},{innerProps:r,isRtl:a,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),N(on,{delay:0,offset:a}),N(on,{delay:160,offset:!0}),N(on,{delay:320,offset:!a}))},ws=function(e,r){var a=e.isDisabled,n=e.isFocused,i=e.theme,s=i.colors,l=i.borderRadius,o=i.spacing;return P({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:o.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:a?s.neutral5:s.neutral0,borderColor:a?s.neutral10:n?s.primary:s.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:n?s.primary:s.neutral30}})},_s=function(e){var r=e.children,a=e.isDisabled,n=e.isFocused,i=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return N("div",T({ref:i},ie(e,"control",{control:!0,"control--is-disabled":a,"control--is-focused":n,"control--menu-is-open":l}),s,{"aria-disabled":a||void 0}),r)},Ns=_s,Fs=["data"],Ps=function(e,r){var a=e.theme.spacing;return r?{}:{paddingBottom:a.baseUnit*2,paddingTop:a.baseUnit*2}},Ts=function(e){var r=e.children,a=e.cx,n=e.getStyles,i=e.getClassNames,s=e.Heading,l=e.headingProps,o=e.innerProps,c=e.label,u=e.theme,g=e.selectProps;return N("div",T({},ie(e,"group",{group:!0}),o),N(s,T({},l,{selectProps:g,theme:u,getStyles:n,getClassNames:i,cx:a}),c),N("div",null,r))},Rs=function(e,r){var a=e.theme,n=a.colors,i=a.spacing;return P({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},Ms=function(e){var r=Br(e);r.data;var a=we(r,Fs);return N("div",T({},ie(e,"groupHeading",{"group-heading":!0}),a))},Hs=Ts,Ls=["innerRef","isDisabled","isHidden","inputClassName"],Xs=function(e,r){var a=e.isDisabled,n=e.value,i=e.theme,s=i.spacing,l=i.colors;return P(P({visibility:a?"hidden":"visible",transform:n?"translateZ(0)":""},Zs),r?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:l.neutral80})},Xr={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Zs={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":P({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Xr)},Ws=function(e){return P({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Xr)},Os=function(e){var r=e.cx,a=e.value,n=Br(e),i=n.innerRef,s=n.isDisabled,l=n.isHidden,o=n.inputClassName,c=we(n,Ls);return N("div",T({},ie(e,"input",{"input-container":!0}),{"data-value":a||""}),N("input",T({className:r({input:!0},o),ref:i,style:Ws(l),disabled:s},c)))},ks=Os,js=function(e,r){var a=e.theme,n=a.spacing,i=a.borderRadius,s=a.colors;return P({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:s.neutral10,borderRadius:i/2,margin:n.baseUnit/2})},Ds=function(e,r){var a=e.theme,n=a.borderRadius,i=a.colors,s=e.cropWithEllipsis;return P({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},zs=function(e,r){var a=e.theme,n=a.spacing,i=a.borderRadius,s=a.colors,l=e.isFocused;return P({alignItems:"center",display:"flex"},r?{}:{borderRadius:i/2,backgroundColor:l?s.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},Zr=function(e){var r=e.children,a=e.innerProps;return N("div",a,r)},Ys=Zr,Js=Zr;function $s(t){var e=t.children,r=t.innerProps;return N("div",T({role:"button"},r),e||N(an,{size:14}))}var Us=function(e){var r=e.children,a=e.components,n=e.data,i=e.innerProps,s=e.isDisabled,l=e.removeProps,o=e.selectProps,c=a.Container,u=a.Label,g=a.Remove;return N(c,{data:n,innerProps:P(P({},ie(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),i),selectProps:o},N(u,{data:n,innerProps:P({},ie(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:o},r),N(g,{data:n,innerProps:P(P({},ie(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},l),selectProps:o}))},Qs=Us,qs=function(e,r){var a=e.isDisabled,n=e.isFocused,i=e.isSelected,s=e.theme,l=s.spacing,o=s.colors;return P({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:i?o.primary:n?o.primary25:"transparent",color:a?o.neutral20:i?o.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:a?void 0:i?o.primary:o.primary50}})},Ks=function(e){var r=e.children,a=e.isDisabled,n=e.isFocused,i=e.isSelected,s=e.innerRef,l=e.innerProps;return N("div",T({},ie(e,"option",{option:!0,"option--is-disabled":a,"option--is-focused":n,"option--is-selected":i}),{ref:s,"aria-disabled":a},l),r)},el=Ks,tl=function(e,r){var a=e.theme,n=a.spacing,i=a.colors;return P({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:i.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},nl=function(e){var r=e.children,a=e.innerProps;return N("div",T({},ie(e,"placeholder",{placeholder:!0}),a),r)},rl=nl,al=function(e,r){var a=e.isDisabled,n=e.theme,i=n.spacing,s=n.colors;return P({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:a?s.neutral40:s.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},il=function(e){var r=e.children,a=e.isDisabled,n=e.innerProps;return N("div",T({},ie(e,"singleValue",{"single-value":!0,"single-value--is-disabled":a}),n),r)},ol=il,sl={ClearIndicator:As,Control:Ns,DropdownIndicator:xs,DownChevron:Hr,CrossIcon:an,Group:Hs,GroupHeading:Ms,IndicatorsContainer:ps,IndicatorSeparator:Ss,Input:ks,LoadingIndicator:Vs,Menu:ts,MenuList:rs,MenuPortal:cs,LoadingMessage:ss,NoOptionsMessage:os,MultiValue:Qs,MultiValueContainer:Ys,MultiValueLabel:Js,MultiValueRemove:$s,Option:el,Placeholder:rl,SelectContainer:ds,SingleValue:ol,ValueContainer:bs},ll=function(e){return P(P({},sl),e.components)},Wr=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function cl(t,e){return!!(t===e||Wr(t)&&Wr(e))}function ul(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!cl(t[r],e[r]))return!1;return!0}function dl(t,e){e===void 0&&(e=ul);var r=null;function a(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&e(n,r.lastArgs))return r.lastResult;var s=t.apply(this,n);return r={lastResult:s,lastArgs:n,lastThis:this},s}return a.clear=function(){r=null},a}function gl(){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)."}for(var bl=process.env.NODE_ENV==="production"?{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:gl},fl=function(e){return N("span",T({css:bl},e))},Or=fl,pl={guidance:function(e){var r=e.isSearchable,a=e.isMulti,n=e.tabSelectsValue,i=e.context,s=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(n?", press Tab to select the option and exit the menu":"",".");case"input":return s?"".concat(e["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(a?" 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 r=e.action,a=e.label,n=a===void 0?"":a,i=e.labels,s=e.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", 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 s?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(e){var r=e.context,a=e.focused,n=e.options,i=e.label,s=i===void 0?"":i,l=e.selectValue,o=e.isDisabled,c=e.isSelected,u=e.isAppleDevice,g=function(m,b){return m&&m.length?"".concat(m.indexOf(b)+1," of ").concat(m.length):""};if(r==="value"&&l)return"value ".concat(s," focused, ").concat(g(l,a),".");if(r==="menu"&&u){var p=o?" disabled":"",f="".concat(c?" selected":"").concat(p);return"".concat(s).concat(f,", ").concat(g(n,a),".")}return""},onFilter:function(e){var r=e.inputValue,a=e.resultsMessage;return"".concat(a).concat(r?" for search term "+r:"",".")}},ml=function(e){var r=e.ariaSelection,a=e.focusedOption,n=e.focusedValue,i=e.focusableOptions,s=e.isFocused,l=e.selectValue,o=e.selectProps,c=e.id,u=e.isAppleDevice,g=o.ariaLiveMessages,p=o.getOptionLabel,f=o.inputValue,I=o.isMulti,m=o.isOptionDisabled,b=o.isSearchable,h=o.menuIsOpen,A=o.options,y=o.screenReaderStatus,S=o.tabSelectsValue,v=o.isLoading,E=o["aria-label"],G=o["aria-live"],B=C.useMemo(function(){return P(P({},pl),g||{})},[g]),F=C.useMemo(function(){var re="";if(r&&B.onChange){var z=r.option,te=r.options,q=r.removedValue,ne=r.removedValues,Y=r.value,x=function(oe){return Array.isArray(oe)?null:oe},_=q||z||x(Y),H=_?p(_):"",W=te||ne||void 0,ce=W?W.map(p):[],ae=P({isDisabled:_&&m(_,l),label:H,labels:ce},r);re=B.onChange(ae)}return re},[r,B,m,l,p]),X=C.useMemo(function(){var re="",z=a||n,te=!!(a&&l&&l.includes(a));if(z&&B.onFocus){var q={focused:z,label:p(z),isDisabled:m(z,l),isSelected:te,options:i,context:z===a?"menu":"value",selectValue:l,isAppleDevice:u};re=B.onFocus(q)}return re},[a,n,p,m,B,i,l,u]),O=C.useMemo(function(){var re="";if(h&&A.length&&!v&&B.onFilter){var z=y({count:i.length});re=B.onFilter({inputValue:f,resultsMessage:z})}return re},[i,f,h,B,A,y,v]),K=r?.action==="initial-input-focus",ee=C.useMemo(function(){var re="";if(B.guidance){var z=n?"value":h?"menu":"input";re=B.guidance({"aria-label":E,context:z,isDisabled:a&&m(a,l),isMulti:I,isSearchable:b,tabSelectsValue:S,isInitialFocus:K})}return re},[E,a,n,I,m,b,h,B,l,S,K]),ue=N(C.Fragment,null,N("span",{id:"aria-selection"},F),N("span",{id:"aria-focused"},X),N("span",{id:"aria-results"},O),N("span",{id:"aria-guidance"},ee));return N(C.Fragment,null,N(Or,{id:c},K&&ue),N(Or,{"aria-live":G,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!K&&ue))},vl=ml,sn=[{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źẑżžẓẕƶȥɀⱬꝣ"}],hl=new RegExp("["+sn.map(function(t){return t.letters}).join("")+"]","g"),kr={},ln=0;ln<sn.length;ln++)for(var cn=sn[ln],un=0;un<cn.letters.length;un++)kr[cn.letters[un]]=cn.base;var jr=function(e){return e.replace(hl,function(r){return kr[r]})},Cl=dl(jr),Dr=function(e){return e.replace(/^\s+|\s+$/g,"")},Il=function(e){return"".concat(e.label," ").concat(e.value)},xl=function(e){return function(r,a){if(r.data.__isNew__)return!0;var n=P({ignoreCase:!0,ignoreAccents:!0,stringify:Il,trim:!0,matchFrom:"any"},e),i=n.ignoreCase,s=n.ignoreAccents,l=n.stringify,o=n.trim,c=n.matchFrom,u=o?Dr(a):a,g=o?Dr(l(r)):l(r);return i&&(u=u.toLowerCase(),g=g.toLowerCase()),s&&(u=Cl(u),g=jr(g)),c==="start"?g.substr(0,u.length)===u:g.indexOf(u)>-1}},yl=["innerRef"];function Al(t){var e=t.innerRef,r=we(t,yl),a=Yo(r,"onExited","in","enter","exit","appear");return N("input",T({ref:e},a,{css:qt({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)"},process.env.NODE_ENV==="production"?"":";label:DummyInput;",process.env.NODE_ENV==="production"?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmc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IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var El=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function Sl(t){var e=t.isEnabled,r=t.onBottomArrive,a=t.onBottomLeave,n=t.onTopArrive,i=t.onTopLeave,s=C.useRef(!1),l=C.useRef(!1),o=C.useRef(0),c=C.useRef(null),u=C.useCallback(function(b,h){if(c.current!==null){var A=c.current,y=A.scrollTop,S=A.scrollHeight,v=A.clientHeight,E=c.current,G=h>0,B=S-v-y,F=!1;B>h&&s.current&&(a&&a(b),s.current=!1),G&&l.current&&(i&&i(b),l.current=!1),G&&h>B?(r&&!s.current&&r(b),E.scrollTop=S,F=!0,s.current=!0):!G&&-h>y&&(n&&!l.current&&n(b),E.scrollTop=0,F=!0,l.current=!0),F&&El(b)}},[r,a,n,i]),g=C.useCallback(function(b){u(b,b.deltaY)},[u]),p=C.useCallback(function(b){o.current=b.changedTouches[0].clientY},[]),f=C.useCallback(function(b){var h=o.current-b.changedTouches[0].clientY;u(b,h)},[u]),I=C.useCallback(function(b){if(b){var h=jo?{passive:!1}:!1;b.addEventListener("wheel",g,h),b.addEventListener("touchstart",p,h),b.addEventListener("touchmove",f,h)}},[f,p,g]),m=C.useCallback(function(b){b&&(b.removeEventListener("wheel",g,!1),b.removeEventListener("touchstart",p,!1),b.removeEventListener("touchmove",f,!1))},[f,p,g]);return C.useEffect(function(){if(e){var b=c.current;return I(b),function(){m(b)}}},[e,I,m]),function(b){c.current=b}}var zr=["boxSizing","height","overflow","paddingRight","position"],Yr={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function Jr(t){t.cancelable&&t.preventDefault()}function $r(t){t.stopPropagation()}function Ur(){var t=this.scrollTop,e=this.scrollHeight,r=t+this.offsetHeight;t===0?this.scrollTop=1:r===e&&(this.scrollTop=t-1)}function Qr(){return"ontouchstart"in window||navigator.maxTouchPoints}var qr=!!(typeof window<"u"&&window.document&&window.document.createElement),ot=0,Oe={capture:!1,passive:!1};function Gl(t){var e=t.isEnabled,r=t.accountForScrollbars,a=r===void 0?!0:r,n=C.useRef({}),i=C.useRef(null),s=C.useCallback(function(o){if(qr){var c=document.body,u=c&&c.style;if(a&&zr.forEach(function(I){var m=u&&u[I];n.current[I]=m}),a&&ot<1){var g=parseInt(n.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,f=window.innerWidth-p+g||0;Object.keys(Yr).forEach(function(I){var m=Yr[I];u&&(u[I]=m)}),u&&(u.paddingRight="".concat(f,"px"))}c&&Qr()&&(c.addEventListener("touchmove",Jr,Oe),o&&(o.addEventListener("touchstart",Ur,Oe),o.addEventListener("touchmove",$r,Oe))),ot+=1}},[a]),l=C.useCallback(function(o){if(qr){var c=document.body,u=c&&c.style;ot=Math.max(ot-1,0),a&&ot<1&&zr.forEach(function(g){var p=n.current[g];u&&(u[g]=p)}),c&&Qr()&&(c.removeEventListener("touchmove",Jr,Oe),o&&(o.removeEventListener("touchstart",Ur,Oe),o.removeEventListener("touchmove",$r,Oe)))}},[a]);return C.useEffect(function(){if(e){var o=i.current;return s(o),function(){l(o)}}},[e,s,l]),function(o){i.current=o}}function Bl(){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)."}var Vl=function(e){var r=e.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},wl=process.env.NODE_ENV==="production"?{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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PikgPT4gUmVhY3RFbGVtZW50O1xuICByZWFkb25seSBsb2NrRW5hYmxlZDogYm9vbGVhbjtcbiAgcmVhZG9ubHkgY2FwdHVyZUVuYWJsZWQ6IGJvb2xlYW47XG4gIHJlYWRvbmx5IG9uQm90dG9tQXJyaXZlPzogKGV2ZW50OiBXaGVlbEV2ZW50IHwgVG91Y2hFdmVudCkgPT4g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7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Bl};function _l(t){var e=t.children,r=t.lockEnabled,a=t.captureEnabled,n=a===void 0?!0:a,i=t.onBottomArrive,s=t.onBottomLeave,l=t.onTopArrive,o=t.onTopLeave,c=Sl({isEnabled:n,onBottomArrive:i,onBottomLeave:s,onTopArrive:l,onTopLeave:o}),u=Gl({isEnabled:r}),g=function(f){c(f),u(f)};return N(C.Fragment,null,r&&N("div",{onClick:Vl,css:wl}),e(g))}function Nl(){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)."}var Fl=process.env.NODE_ENV==="production"?{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:Nl},Pl=function(e){var r=e.name,a=e.onFocus;return N("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:a,css:Fl,value:"",onChange:function(){}})},Tl=Pl;function dn(t){var e;return typeof window<"u"&&window.navigator!=null?t.test(((e=window.navigator.userAgentData)===null||e===void 0?void 0:e.platform)||window.navigator.platform):!1}function Rl(){return dn(/^iPhone/i)}function Kr(){return dn(/^Mac/i)}function Ml(){return dn(/^iPad/i)||Kr()&&navigator.maxTouchPoints>1}function Hl(){return Rl()||Ml()}function Ll(){return Kr()||Hl()}var Xl=function(e){return e.label},Zl=function(e){return e.label},Wl=function(e){return e.value},Ol=function(e){return!!e.isDisabled},kl={clearIndicator:ys,container:us,control:ws,dropdownIndicator:Is,group:Ps,groupHeading:Rs,indicatorsContainer:fs,indicatorSeparator:Es,input:Xs,loadingIndicator:Bs,loadingMessage:is,menu:qo,menuList:ns,menuPortal:ls,multiValue:js,multiValueLabel:Ds,multiValueRemove:zs,noOptionsMessage:as,option:qs,placeholder:tl,singleValue:al,valueContainer:gs},jl={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%)"},Dl=4,ea=4,zl=38,Yl=ea*2,Jl={baseUnit:ea,controlHeight:zl,menuGutter:Yl},gn={borderRadius:Dl,colors:jl,spacing:Jl},$l={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:_r(),captureMenuScroll:!_r(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:xl(),formatGroupLabel:Xl,getOptionLabel:Zl,getOptionValue:Wl,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Ol,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Oo(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var r=e.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function ta(t,e,r,a){var n=oa(t,e,r),i=sa(t,e,r),s=ia(t,e),l=Tt(t,e);return{type:"option",data:e,isDisabled:n,isSelected:i,label:s,value:l,index:a}}function Pt(t,e){return t.options.map(function(r,a){if("options"in r){var n=r.options.map(function(s,l){return ta(t,s,e,l)}).filter(function(s){return aa(t,s)});return n.length>0?{type:"group",data:r,options:n,index:a}:void 0}var i=ta(t,r,e,a);return aa(t,i)?i:void 0}).filter(Do)}function na(t){return t.reduce(function(e,r){return r.type==="group"?e.push.apply(e,Ot(r.options.map(function(a){return a.data}))):e.push(r.data),e},[])}function ra(t,e){return t.reduce(function(r,a){return a.type==="group"?r.push.apply(r,Ot(a.options.map(function(n){return{data:n.data,id:"".concat(e,"-").concat(a.index,"-").concat(n.index)}}))):r.push({data:a.data,id:"".concat(e,"-").concat(a.index)}),r},[])}function Ul(t,e){return na(Pt(t,e))}function aa(t,e){var r=t.inputValue,a=r===void 0?"":r,n=e.data,i=e.isSelected,s=e.label,l=e.value;return(!ca(t)||!i)&&la(t,{label:s,value:l,data:n},a)}function Ql(t,e){var r=t.focusedValue,a=t.selectValue,n=a.indexOf(r);if(n>-1){var i=e.indexOf(r);if(i>-1)return r;if(n<e.length)return e[n]}return null}function ql(t,e){var r=t.focusedOption;return r&&e.indexOf(r)>-1?r:e[0]}var bn=function(e,r){var a,n=(a=e.find(function(i){return i.data===r}))===null||a===void 0?void 0:a.id;return n||null},ia=function(e,r){return e.getOptionLabel(r)},Tt=function(e,r){return e.getOptionValue(r)};function oa(t,e,r){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,r):!1}function sa(t,e,r){if(r.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,r);var a=Tt(t,e);return r.some(function(n){return Tt(t,n)===a})}function la(t,e,r){return t.filterOption?t.filterOption(e,r):!0}var ca=function(e){var r=e.hideSelectedOptions,a=e.isMulti;return r===void 0?a:r},Kl=1,ua=(function(t){bi(r,t);var e=mi(r);function r(a){var n;if(di(this,r),n=e.call(this,a),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},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(o){n.controlRef=o},n.focusedOptionRef=null,n.getFocusedOptionRef=function(o){n.focusedOptionRef=o},n.menuListRef=null,n.getMenuListRef=function(o){n.menuListRef=o},n.inputRef=null,n.getInputRef=function(o){n.inputRef=o},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(o,c){var u=n.props,g=u.onChange,p=u.name;c.name=p,n.ariaOnChange(o,c),g(o,c)},n.setValue=function(o,c,u){var g=n.props,p=g.closeMenuOnSelect,f=g.isMulti,I=g.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:I}),p&&(n.setState({inputIsHiddenAfterUpdate:!f}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(o,{action:c,option:u})},n.selectOption=function(o){var c=n.props,u=c.blurInputOnSelect,g=c.isMulti,p=c.name,f=n.state.selectValue,I=g&&n.isOptionSelected(o,f),m=n.isOptionDisabled(o,f);if(I){var b=n.getOptionValue(o);n.setValue(f.filter(function(h){return n.getOptionValue(h)!==b}),"deselect-option",o)}else if(!m)g?n.setValue([].concat(Ot(f),[o]),"select-option",o):n.setValue(o,"select-option");else{n.ariaOnChange(o,{action:"select-option",option:o,name:p});return}u&&n.blurInput()},n.removeValue=function(o){var c=n.props.isMulti,u=n.state.selectValue,g=n.getOptionValue(o),p=u.filter(function(I){return n.getOptionValue(I)!==g}),f=Ft(c,p,p[0]||null);n.onChange(f,{action:"remove-value",removedValue:o}),n.focusInput()},n.clearValue=function(){var o=n.state.selectValue;n.onChange(Ft(n.props.isMulti,[],null),{action:"clear",removedValues:o})},n.popValue=function(){var o=n.props.isMulti,c=n.state.selectValue,u=c[c.length-1],g=c.slice(0,c.length-1),p=Ft(o,g,g[0]||null);u&&n.onChange(p,{action:"pop-value",removedValue:u})},n.getFocusedOptionId=function(o){return bn(n.state.focusableOptionsWithIds,o)},n.getFocusableOptionsWithIds=function(){return ra(Pt(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var o=arguments.length,c=new Array(o),u=0;u<o;u++)c[u]=arguments[u];return Ho.apply(void 0,[n.props.classNamePrefix].concat(c))},n.getOptionLabel=function(o){return ia(n.props,o)},n.getOptionValue=function(o){return Tt(n.props,o)},n.getStyles=function(o,c){var u=n.props.unstyled,g=kl[o](c,u);g.boxSizing="border-box";var p=n.props.styles[o];return p?p(g,c):g},n.getClassNames=function(o,c){var u,g;return(u=(g=n.props.classNames)[o])===null||u===void 0?void 0:u.call(g,c)},n.getElementId=function(o){return"".concat(n.state.instancePrefix,"-").concat(o)},n.getComponents=function(){return ll(n.props)},n.buildCategorizedOptions=function(){return Pt(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return na(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(o,c){n.setState({ariaSelection:P({value:o},c)})},n.onMenuMouseDown=function(o){o.button===0&&(o.stopPropagation(),o.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(o){n.blockOptionHover=!1},n.onControlMouseDown=function(o){if(!o.defaultPrevented){var c=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&n.onMenuClose():c&&n.openMenu("first"):(c&&(n.openAfterFocus=!0),n.focusInput()),o.target.tagName!=="INPUT"&&o.target.tagName!=="TEXTAREA"&&o.preventDefault()}},n.onDropdownIndicatorMouseDown=function(o){if(!(o&&o.type==="mousedown"&&o.button!==0)&&!n.props.isDisabled){var c=n.props,u=c.isMulti,g=c.menuIsOpen;n.focusInput(),g?(n.setState({inputIsHiddenAfterUpdate:!u}),n.onMenuClose()):n.openMenu("first"),o.preventDefault()}},n.onClearIndicatorMouseDown=function(o){o&&o.type==="mousedown"&&o.button!==0||(n.clearValue(),o.preventDefault(),n.openAfterFocus=!1,o.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(o){typeof n.props.closeMenuOnScroll=="boolean"?o.target instanceof HTMLElement&&Vt(o.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(o)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(o){var c=o.touches,u=c&&c.item(0);u&&(n.initialTouchX=u.clientX,n.initialTouchY=u.clientY,n.userIsDragging=!1)},n.onTouchMove=function(o){var c=o.touches,u=c&&c.item(0);if(u){var g=Math.abs(u.clientX-n.initialTouchX),p=Math.abs(u.clientY-n.initialTouchY),f=5;n.userIsDragging=g>f||p>f}},n.onTouchEnd=function(o){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(o.target)&&n.menuListRef&&!n.menuListRef.contains(o.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(o){n.userIsDragging||n.onControlMouseDown(o)},n.onClearIndicatorTouchEnd=function(o){n.userIsDragging||n.onClearIndicatorMouseDown(o)},n.onDropdownIndicatorTouchEnd=function(o){n.userIsDragging||n.onDropdownIndicatorMouseDown(o)},n.handleInputChange=function(o){var c=n.props.inputValue,u=o.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(u,{action:"input-change",prevInputValue:c}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(o){n.props.onFocus&&n.props.onFocus(o),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(o){var c=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(o),n.onInputChange("",{action:"input-blur",prevInputValue:c}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(o){if(!(n.blockOptionHover||n.state.focusedOption===o)){var c=n.getFocusableOptions(),u=c.indexOf(o);n.setState({focusedOption:o,focusedOptionId:u>-1?n.getFocusedOptionId(o):null})}},n.shouldHideSelectedOptions=function(){return ca(n.props)},n.onValueInputFocus=function(o){o.preventDefault(),o.stopPropagation(),n.focus()},n.onKeyDown=function(o){var c=n.props,u=c.isMulti,g=c.backspaceRemovesValue,p=c.escapeClearsValue,f=c.inputValue,I=c.isClearable,m=c.isDisabled,b=c.menuIsOpen,h=c.onKeyDown,A=c.tabSelectsValue,y=c.openMenuOnFocus,S=n.state,v=S.focusedOption,E=S.focusedValue,G=S.selectValue;if(!m&&!(typeof h=="function"&&(h(o),o.defaultPrevented))){switch(n.blockOptionHover=!0,o.key){case"ArrowLeft":if(!u||f)return;n.focusValue("previous");break;case"ArrowRight":if(!u||f)return;n.focusValue("next");break;case"Delete":case"Backspace":if(f)return;if(E)n.removeValue(E);else{if(!g)return;u?n.popValue():I&&n.clearValue()}break;case"Tab":if(n.isComposing||o.shiftKey||!b||!A||!v||y&&n.isOptionSelected(v,G))return;n.selectOption(v);break;case"Enter":if(o.keyCode===229)break;if(b){if(!v||n.isComposing)return;n.selectOption(v);break}return;case"Escape":b?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:f}),n.onMenuClose()):I&&p&&n.clearValue();break;case" ":if(f)return;if(!b){n.openMenu("first");break}if(!v)return;n.selectOption(v);break;case"ArrowUp":b?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":b?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!b)return;n.focusOption("pageup");break;case"PageDown":if(!b)return;n.focusOption("pagedown");break;case"Home":if(!b)return;n.focusOption("first");break;case"End":if(!b)return;n.focusOption("last");break;default:return}o.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++Kl),n.state.selectValue=Gr(a.value),a.menuIsOpen&&n.state.selectValue.length){var i=n.getFocusableOptionsWithIds(),s=n.buildFocusableOptions(),l=s.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=i,n.state.focusedOption=s[l],n.state.focusedOptionId=bn(i,s[l])}return n}return gi(r,[{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&&wr(this.menuListRef,this.focusedOptionRef),Ll()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var i=this.props,s=i.isDisabled,l=i.menuIsOpen,o=this.state.isFocused;(o&&!s&&n.isDisabled||o&&l&&!n.menuIsOpen)&&this.focusInput(),o&&s&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!o&&!s&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(wr(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(n,i){this.props.onInputChange(n,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var i=this,s=this.state,l=s.selectValue,o=s.isFocused,c=this.buildFocusableOptions(),u=n==="first"?0:c.length-1;if(!this.props.isMulti){var g=c.indexOf(l[0]);g>-1&&(u=g)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[u],focusedOptionId:this.getFocusedOptionId(c[u])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(n){var i=this.state,s=i.selectValue,l=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=s.indexOf(l);l||(o=-1);var c=s.length-1,u=-1;if(s.length){switch(n){case"previous":o===0?u=0:o===-1?u=c:u=o-1;break;case"next":o>-1&&o<c&&(u=o+1);break}this.setState({inputIsHidden:u!==-1,focusedValue:s[u]})}}}},{key:"focusOption",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,s=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var o=0,c=l.indexOf(s);s||(c=-1),n==="up"?o=c>0?c-1:l.length-1:n==="down"?o=(c+1)%l.length:n==="pageup"?(o=c-i,o<0&&(o=0)):n==="pagedown"?(o=c+i,o>l.length-1&&(o=l.length-1)):n==="last"&&(o=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[o])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(gn):P(P({},gn),this.props.theme):gn}},{key:"getCommonProps",value:function(){var n=this.clearValue,i=this.cx,s=this.getStyles,l=this.getClassNames,o=this.getValue,c=this.selectOption,u=this.setValue,g=this.props,p=g.isMulti,f=g.isRtl,I=g.options,m=this.hasValue();return{clearValue:n,cx:i,getStyles:s,getClassNames:l,getValue:o,hasValue:m,isMulti:p,isRtl:f,options:I,selectOption:c,selectProps:g,setValue:u,theme:this.getTheme()}}},{key:"hasValue",value:function(){var n=this.state.selectValue;return n.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var n=this.props,i=n.isClearable,s=n.isMulti;return i===void 0?s:i}},{key:"isOptionDisabled",value:function(n,i){return oa(this.props,n,i)}},{key:"isOptionSelected",value:function(n,i){return sa(this.props,n,i)}},{key:"filterOption",value:function(n,i){return la(this.props,n,i)}},{key:"formatOptionLabel",value:function(n,i){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(n,{context:i,inputValue:s,selectValue:l})}else return this.getOptionLabel(n)}},{key:"formatGroupLabel",value:function(n){return this.props.formatGroupLabel(n)}},{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 n=this.props,i=n.isDisabled,s=n.isSearchable,l=n.inputId,o=n.inputValue,c=n.tabIndex,u=n.form,g=n.menuIsOpen,p=n.required,f=this.getComponents(),I=f.Input,m=this.state,b=m.inputIsHidden,h=m.ariaSelection,A=this.commonProps,y=l||this.getElementId("input"),S=P(P(P({"aria-autocomplete":"list","aria-expanded":g,"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":p,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},g&&{"aria-controls":this.getElementId("listbox")}),!s&&{"aria-readonly":!0}),this.hasValue()?h?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?L.createElement(I,T({},A,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:i,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:u,type:"text",value:o},S)):L.createElement(Al,T({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Bt,onFocus:this.onInputFocus,disabled:i,tabIndex:c,inputMode:"none",form:u,value:""},S))}},{key:"renderPlaceholderOrValue",value:function(){var n=this,i=this.getComponents(),s=i.MultiValue,l=i.MultiValueContainer,o=i.MultiValueLabel,c=i.MultiValueRemove,u=i.SingleValue,g=i.Placeholder,p=this.commonProps,f=this.props,I=f.controlShouldRenderValue,m=f.isDisabled,b=f.isMulti,h=f.inputValue,A=f.placeholder,y=this.state,S=y.selectValue,v=y.focusedValue,E=y.isFocused;if(!this.hasValue()||!I)return h?null:L.createElement(g,T({},p,{key:"placeholder",isDisabled:m,isFocused:E,innerProps:{id:this.getElementId("placeholder")}}),A);if(b)return S.map(function(B,F){var X=B===v,O="".concat(n.getOptionLabel(B),"-").concat(n.getOptionValue(B));return L.createElement(s,T({},p,{components:{Container:l,Label:o,Remove:c},isFocused:X,isDisabled:m,key:O,index:F,removeProps:{onClick:function(){return n.removeValue(B)},onTouchEnd:function(){return n.removeValue(B)},onMouseDown:function(ee){ee.preventDefault()}},data:B}),n.formatOptionLabel(B,"value"))});if(h)return null;var G=S[0];return L.createElement(u,T({},p,{data:G,isDisabled:m}),this.formatOptionLabel(G,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),i=n.ClearIndicator,s=this.commonProps,l=this.props,o=l.isDisabled,c=l.isLoading,u=this.state.isFocused;if(!this.isClearable()||!i||o||!this.hasValue()||c)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(i,T({},s,{innerProps:g,isFocused:u}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),i=n.LoadingIndicator,s=this.commonProps,l=this.props,o=l.isDisabled,c=l.isLoading,u=this.state.isFocused;if(!i||!c)return null;var g={"aria-hidden":"true"};return L.createElement(i,T({},s,{innerProps:g,isDisabled:o,isFocused:u}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator,s=n.IndicatorSeparator;if(!i||!s)return null;var l=this.commonProps,o=this.props.isDisabled,c=this.state.isFocused;return L.createElement(s,T({},l,{isDisabled:o,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator;if(!i)return null;var s=this.commonProps,l=this.props.isDisabled,o=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return L.createElement(i,T({},s,{innerProps:c,isDisabled:l,isFocused:o}))}},{key:"renderMenu",value:function(){var n=this,i=this.getComponents(),s=i.Group,l=i.GroupHeading,o=i.Menu,c=i.MenuList,u=i.MenuPortal,g=i.LoadingMessage,p=i.NoOptionsMessage,f=i.Option,I=this.commonProps,m=this.state.focusedOption,b=this.props,h=b.captureMenuScroll,A=b.inputValue,y=b.isLoading,S=b.loadingMessage,v=b.minMenuHeight,E=b.maxMenuHeight,G=b.menuIsOpen,B=b.menuPlacement,F=b.menuPosition,X=b.menuPortalTarget,O=b.menuShouldBlockScroll,K=b.menuShouldScrollIntoView,ee=b.noOptionsMessage,ue=b.onMenuScrollToTop,re=b.onMenuScrollToBottom;if(!G)return null;var z=function(H,W){var ce=H.type,ae=H.data,k=H.isDisabled,oe=H.isSelected,V=H.label,M=H.value,j=m===ae,w=k?void 0:function(){return n.onOptionHover(ae)},he=k?void 0:function(){return n.selectOption(ae)},se="".concat(n.getElementId("option"),"-").concat(W),fe={id:se,onClick:he,onMouseMove:w,onMouseOver:w,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:oe};return L.createElement(f,T({},I,{innerProps:fe,data:ae,isDisabled:k,isSelected:oe,key:se,label:V,type:ce,value:M,isFocused:j,innerRef:j?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(H.data,"menu"))},te;if(this.hasOptions())te=this.getCategorizedOptions().map(function(_){if(_.type==="group"){var H=_.data,W=_.options,ce=_.index,ae="".concat(n.getElementId("group"),"-").concat(ce),k="".concat(ae,"-heading");return L.createElement(s,T({},I,{key:ae,data:H,options:W,Heading:l,headingProps:{id:k,data:_.data},label:n.formatGroupLabel(_.data)}),_.options.map(function(oe){return z(oe,"".concat(ce,"-").concat(oe.index))}))}else if(_.type==="option")return z(_,"".concat(_.index))});else if(y){var q=S({inputValue:A});if(q===null)return null;te=L.createElement(g,I,q)}else{var ne=ee({inputValue:A});if(ne===null)return null;te=L.createElement(p,I,ne)}var Y={minMenuHeight:v,maxMenuHeight:E,menuPlacement:B,menuPosition:F,menuShouldScrollIntoView:K},x=L.createElement(Ko,T({},I,Y),function(_){var H=_.ref,W=_.placerProps,ce=W.placement,ae=W.maxHeight;return L.createElement(o,T({},I,Y,{innerRef:H,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:y,placement:ce}),L.createElement(_l,{captureEnabled:h,onTopArrive:ue,onBottomArrive:re,lockEnabled:O},function(k){return L.createElement(c,T({},I,{innerRef:function(V){n.getMenuListRef(V),k(V)},innerProps:{role:"listbox","aria-multiselectable":I.isMulti,id:n.getElementId("listbox")},isLoading:y,maxHeight:ae,focusedOption:m}),te)}))});return X||F==="fixed"?L.createElement(u,T({},I,{appendTo:X,controlElement:this.controlRef,menuPlacement:B,menuPosition:F}),x):x}},{key:"renderFormField",value:function(){var n=this,i=this.props,s=i.delimiter,l=i.isDisabled,o=i.isMulti,c=i.name,u=i.required,g=this.state.selectValue;if(u&&!this.hasValue()&&!l)return L.createElement(Tl,{name:c,onFocus:this.onValueInputFocus});if(!(!c||l))if(o)if(s){var p=g.map(function(m){return n.getOptionValue(m)}).join(s);return L.createElement("input",{name:c,type:"hidden",value:p})}else{var f=g.length>0?g.map(function(m,b){return L.createElement("input",{key:"i-".concat(b),name:c,type:"hidden",value:n.getOptionValue(m)})}):L.createElement("input",{name:c,type:"hidden",value:""});return L.createElement("div",null,f)}else{var I=g[0]?this.getOptionValue(g[0]):"";return L.createElement("input",{name:c,type:"hidden",value:I})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,i=this.state,s=i.ariaSelection,l=i.focusedOption,o=i.focusedValue,c=i.isFocused,u=i.selectValue,g=this.getFocusableOptions();return L.createElement(vl,T({},n,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:l,focusedValue:o,isFocused:c,selectValue:u,focusableOptions:g,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),i=n.Control,s=n.IndicatorsContainer,l=n.SelectContainer,o=n.ValueContainer,c=this.props,u=c.className,g=c.id,p=c.isDisabled,f=c.menuIsOpen,I=this.state.isFocused,m=this.commonProps=this.getCommonProps();return L.createElement(l,T({},m,{className:u,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:I}),this.renderLiveRegion(),L.createElement(i,T({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:I,menuIsOpen:f}),L.createElement(o,T({},m,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),L.createElement(s,T({},m,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,i){var s=i.prevProps,l=i.clearFocusValueOnUpdate,o=i.inputIsHiddenAfterUpdate,c=i.ariaSelection,u=i.isFocused,g=i.prevWasFocused,p=i.instancePrefix,f=n.options,I=n.value,m=n.menuIsOpen,b=n.inputValue,h=n.isMulti,A=Gr(I),y={};if(s&&(I!==s.value||f!==s.options||m!==s.menuIsOpen||b!==s.inputValue)){var S=m?Ul(n,A):[],v=m?ra(Pt(n,A),"".concat(p,"-option")):[],E=l?Ql(i,A):null,G=ql(i,S),B=bn(v,G);y={selectValue:A,focusedOption:G,focusedOptionId:B,focusableOptionsWithIds:v,focusedValue:E,clearFocusValueOnUpdate:!1}}var F=o!=null&&n!==s?{inputIsHidden:o,inputIsHiddenAfterUpdate:void 0}:{},X=c,O=u&&g;return u&&!O&&(X={value:Ft(h,A,A[0]||null),options:A,action:"initial-input-focus"},O=!g),c?.action==="initial-input-focus"&&(X=null),P(P(P({},y),F),{},{prevProps:n,ariaSelection:X,prevWasFocused:O})}}]),r})(C.Component);ua.defaultProps=$l;var ec=C.forwardRef(function(t,e){var r=ui(t);return L.createElement(ua,T({ref:e},r))}),tc=ec;const Re={select:"_select_3o48x_1",requiredSymbol:"_requiredSymbol_3o48x_1",selectContainer:"_selectContainer_3o48x_8",small:"_small_3o48x_11",selectListArrow:"_selectListArrow_3o48x_11",hasErrors:"_hasErrors_3o48x_126"},da=t=>{const{id:e,name:r="",required:a=!1,disabled:n=!1,options:i=[],width:s,label:l="",placeholder:o="",defaultContent:c="",role:u,"aria-describedby":g,hasErrors:p=!1,errorMessage:f="",size:I="medium"}=t,m=()=>`${e}-errorMessage`,b=t.multiple===!0,h=C.useMemo(()=>i.map(E=>typeof E=="object"?{value:E.value,label:String(E.key)}:{value:E,label:String(E)}),[i]),A=E=>h.find(B=>B.value===E)??{value:E,label:String(E)},y=E=>E===void 0?null:Array.isArray(E)?E.map(A):A(E),S=o||c||"",v=E=>{if(b){const B=E.map(F=>F.value);t.multiple&&t.onChange(B);return}const G=E;t.multiple||G&&t.onChange(G.value)};return d.jsxs("div",{className:Re.select,children:[d.jsxs(qe,{htmlFor:e,children:[l,a&&d.jsx("img",{src:Ne,alt:"",className:Re.requiredSymbol})]}),d.jsxs("div",{className:D([Re.selectContainer,I==="small"&&Re.small]),style:s?{maxWidth:s}:void 0,role:u,children:[d.jsx("span",{className:Re.selectListArrow}),d.jsx(tc,{inputId:e,name:r,"aria-describedby":p&&f?m():g,"aria-invalid":p||void 0,"aria-required":a||void 0,isDisabled:n,isMulti:b,isSearchable:!1,closeMenuOnSelect:!b,placeholder:S,onChange:v,options:h,className:D([p&&Re.hasErrors,I==="small"&&Re.small]),classNamePrefix:"reactSelect",components:{DropdownIndicator:()=>null,IndicatorSeparator:()=>null},...t.value!==void 0?{value:y(t.value)}:t.defaultValue!==void 0?{defaultValue:y(t.defaultValue)}:{}})]}),d.jsx(Ue,{id:m(),content:f})]})},Ge={wizardTopnavItem:"_wizardTopnavItem_5ar16_1",wizardTopnavItemContent:"_wizardTopnavItemContent_5ar16_4",vertical:"_vertical_5ar16_7",stepNumber:"_stepNumber_5ar16_24",stepName:"_stepName_5ar16_36",active:"_active_5ar16_46",finished:"_finished_5ar16_46",hasErrors:"_hasErrors_5ar16_46",horizontal:"_horizontal_5ar16_64"},ga=({step:t,index:e,activeStepId:r,direction:a="vertical"})=>{const n=r===t.id,i=a==="vertical",s=D([Ge.wizardTopnavItem,n&&Ge.active,t.finished&&Ge.finished,t.hasErrors&&Ge.hasErrors,Ge[a]]),l=n?"step":void 0,o=()=>d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Ge.stepNumber,children:e+1}),d.jsx("span",{className:Ge.stepName,children:t.name}),i&&t.finished&&!n&&d.jsx("img",{src:Gn,alt:"",className:Ge.checkmarkSymbol})]});return t.link&&Object.keys(t.link).length>0?d.jsx("li",{className:s,children:d.jsx(Rt.Link,{to:t.link,"aria-current":l,className:Ge.wizardTopnavItemContent,children:o()})}):d.jsx("li",{className:s,children:d.jsx("span",{"aria-current":l,className:Ge.wizardTopnavItemContent,children:o()})})},Z={table:"_table_1qdja_1",thButton:"_thButton_1qdja_21",sortable:"_sortable_1qdja_29",label:"_label_1qdja_39",sortIndicators:"_sortIndicators_1qdja_43",sortArrow:"_sortArrow_1qdja_51",activeArrow:"_activeArrow_1qdja_58",evenRow:"_evenRow_1qdja_62",oddRow:"_oddRow_1qdja_65",loadingRow:"_loadingRow_1qdja_78",loadingCell:"_loadingCell_1qdja_82",selectionHeader:"_selectionHeader_1qdja_87",selectionCell:"_selectionCell_1qdja_93",selectionControl:"_selectionControl_1qdja_107",rowClickable:"_rowClickable_1qdja_114",srOnly:"_srOnly_1qdja_121",pagination:"_pagination_1qdja_132",paginationControls:"_paginationControls_1qdja_139",paginationWithPageSize:"_paginationWithPageSize_1qdja_148",pageSizeSelector:"_pageSizeSelector_1qdja_152",pageNavButtonHidden:"_pageNavButtonHidden_1qdja_156",pageNavIcon:"_pageNavIcon_1qdja_160",pageList:"_pageList_1qdja_166",pageNumber:"_pageNumber_1qdja_172",pageNumberActive:"_pageNumberActive_1qdja_193",pageEllipsis:"_pageEllipsis_1qdja_198"},nc=(t,e)=>e<=7?Array.from({length:e},(r,a)=>a+1):t<=4?[1,2,3,4,5,"...",e]:t>=e-3?[1,"...",e-4,e-3,e-2,e-1,e]:[1,"...",t-1,t,t+1,"...",e],rc=({columns:t,data:e,loading:r=!1,loadingAriaLabel:a,getRowId:n,selectionType:i,selectionLabel:s="Velg rad",selectedRowId:l,onSelect:o,selectedRowIds:c,onSelectMany:u,onRowClick:g,pageSize:p,page:f,defaultPage:I=1,onPageChange:m,totalCount:b,totalPages:h,pageSizeOptions:A,defaultPageSize:y,onPageSizeChange:S})=>{const[v,E]=C.useState(null),G=C.useId(),[B,F]=C.useState(I),[X,O]=C.useState(()=>{if(p===void 0){if(y&&y>0)return y;if(A?.length)return A[0]}});C.useEffect(()=>{const V=t.find(M=>M.sortable);E(V?{headerKey:V.key,direction:"asc"}:null)},[t]);const K=C.useMemo(()=>{const V=new Map;for(const M of t)V.set(M.key,M);return V},[t]),ee=C.useMemo(()=>{if(!v)return e;const V=K.get(v.headerKey);if(!V)return e;const M=V.sortAccessor??V.accessor;if(!M)return e;const j=[...e];return j.sort((w,he)=>{const se=M(w),fe=M(he);if(se==null||fe==null)return 0;if(typeof se=="number"&&typeof fe=="number")return v.direction==="asc"?se-fe:fe-se;if(se instanceof Date&&fe instanceof Date)return v.direction==="asc"?se.getTime()-fe.getTime():fe.getTime()-se.getTime();const mn=String(se),lt=String(fe);return v.direction==="asc"?mn.localeCompare(lt,void 0,{numeric:!0}):lt.localeCompare(mn,void 0,{numeric:!0})}),j},[e,v,K]),ue=V=>{E(M=>!M||M.headerKey!==V?{headerKey:V,direction:"asc"}:{headerKey:V,direction:M.direction==="asc"?"desc":"asc"})},re=(V,M)=>{if(M)return v?.headerKey!==V?"none":v.direction==="asc"?"ascending":"descending"},z=(V,M)=>{const j=n?.(V,M);if(j==null||j===""){const w=e.indexOf(V);return w===-1?M:w}return j},te=C.useMemo(()=>i!=="multiple"?new Set:new Set(c??[]),[c,i]),q=C.useMemo(()=>{const V=p??X;return!V||V<=0?ee.length||e.length||1:V},[p,X,ee.length,e.length]),ne=C.useMemo(()=>h!==void 0?Math.max(1,Math.floor(h)):b!==void 0?Math.max(1,Math.ceil(b/q)):Math.max(1,Math.ceil(ee.length/q)),[ee.length,q,b,h]),Y=C.useMemo(()=>{const V=f??B;return!Number.isFinite(V)||V<1?1:V>ne?ne:V},[f,B,ne]);C.useEffect(()=>{f===void 0&&Y>ne&&F(ne)},[Y,ne,f]);const x=C.useMemo(()=>{if(h!==void 0||b!==void 0||q>=ee.length)return ee;const V=(Y-1)*q;return ee.slice(V,V+q)},[ee,Y,q,b,h]),_=t.length+(i?1:0),H=V=>{const M=Math.min(Math.max(V,1),ne);f!==void 0?m?.(M):F(M)},W=V=>{const M=V>0?Math.floor(V):1;p!==void 0?S?.(M):(O(M),F(1))},ce=!r&&ne>1,ae=!r&&!!A?.length,k=C.useMemo(()=>nc(Y,ne),[Y,ne]),oe=D([Z.paginationControls,ae&&Z.paginationWithPageSize]);return d.jsxs(d.Fragment,{children:[d.jsxs("table",{className:Z.table,children:[d.jsx("thead",{children:d.jsxs("tr",{children:[i&&d.jsx("th",{className:Z.selectionHeader,"aria-label":s,children:d.jsx("span",{className:Z.srOnly,children:s})}),t.map(({key:V,label:M,sortable:j,ariaLabel:w})=>{const he=v?.headerKey===V,se=he&&v.direction==="asc",fe=he&&v.direction==="desc";return d.jsx("th",{"aria-sort":re(V,j),scope:"col",children:j?d.jsxs("button",{type:"button",className:`${Z.thButton} ${Z.sortable}`,onClick:()=>ue(V),"aria-label":`${w??M}: sort ${he&&se?"descending":"ascending"}`,children:[d.jsx("span",{className:Z.label,children:M}),d.jsxs("span",{className:Z.sortIndicators,"aria-hidden":"true",children:[d.jsx("span",{className:`${Z.sortArrow} ${se?Z.activeArrow:""}`,children:d.jsx("svg",{viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:d.jsx("path",{d:"M2 6 6 2 10 6",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),d.jsx("span",{className:`${Z.sortArrow} ${fe?Z.activeArrow:""}`,children:d.jsx("svg",{viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:d.jsx("path",{d:"M2 2 6 6 10 2",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}):d.jsx("span",{className:Z.thButton,children:d.jsx("span",{className:Z.label,children:M})})},V)})]})}),d.jsx("tbody",{children:r?d.jsx("tr",{className:Z.loadingRow,children:d.jsx("td",{className:Z.loadingCell,colSpan:_,children:d.jsx(Zn,{ariaLabel:a})})}):x.map((V,M)=>{const j=z(V,M),w=`${G}-${j}`,he=i==="single"&&l===j,se=i==="multiple"&&te.has(j),lt=!!g||i==="single"&&!!o||i==="multiple"&&!!u,gc=()=>{if(i==="single")o?.(V);else if(i==="multiple"&&u){const ge=new Set(te);ge.has(j)?ge.delete(j):ge.add(j);const ke=e.filter((vn,hn)=>{const Cn=z(vn,hn);return ge.has(Cn)});u(ke)}g?.(V)};return d.jsxs("tr",{className:D([M%2===0?Z.evenRow:Z.oddRow,lt&&Z.rowClickable]),onClick:lt?gc:void 0,children:[i==="single"&&d.jsx("td",{className:Z.selectionCell,children:d.jsx("button",{type:"button",className:Z.selectionControl,onClick:ge=>ge.stopPropagation(),children:d.jsx(Xt,{id:w,name:G,inputValue:String(j),checked:he,onChange:ge=>{ge?.stopPropagation(),o?.(V)},"aria-label":s})})}),i==="multiple"&&d.jsx("td",{className:Z.selectionCell,children:d.jsx("button",{type:"button",className:Z.selectionControl,onClick:ge=>ge.stopPropagation(),children:d.jsx(Mt,{id:w,value:String(j),checked:se,onChange:ge=>{if(ge?.stopPropagation(),!u)return;const ke=new Set(te);ke.has(j)?ke.delete(j):ke.add(j);const vn=e.filter((hn,Cn)=>{const bc=z(hn,Cn);return ke.has(bc)});u(vn)},"aria-label":s})})}),t.map(ge=>d.jsx("td",{children:ge.render?ge.render(V):String(ge.accessor?.(V)??"")},ge.key))]},j)})})]}),(ce||ae)&&d.jsxs("div",{className:oe,children:[ae&&d.jsx("div",{className:Z.pageSizeSelector,children:d.jsx(da,{id:`${G}-page-size`,label:"Rader per side",options:A,value:q,onChange:V=>W(Number(V)),width:"120px",size:"small"})}),ce&&d.jsxs("div",{className:Z.pagination,children:[d.jsx(Fe,{type:"button",color:"neutral",noMargin:!0,className:D([Z.pageNavButtonPrevious,Y<=1&&Z.pageNavButtonHidden]),onClick:()=>H(Y-1),disabled:Y<=1,"aria-label":"Forrige side",content:"Forrige",iconLeft:d.jsx("span",{className:Z.pageNavIcon,"aria-hidden":"true",children:d.jsxs("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("title",{children:"Forrige side"}),d.jsx("path",{d:"M10.5 3.5L6 8l4.5 4.5",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})})}),d.jsx("div",{className:Z.pageList,children:k.map(V=>V==="..."?d.jsx("span",{className:Z.pageEllipsis,children:"..."},`ellipsis-${V}`):d.jsx("button",{type:"button",className:D([Z.pageNumber,V===Y&&Z.pageNumberActive]),onClick:()=>H(Number(V)),"aria-current":V===Y?"page":void 0,children:V},V))}),d.jsx(Fe,{type:"button",color:"neutral",noMargin:!0,className:D([Z.pageNavButtonNext,Y>=ne&&Z.pageNavButtonHidden]),onClick:()=>H(Y+1),disabled:Y>=ne,"aria-label":"Neste side",content:"Neste",iconRight:d.jsx("span",{className:Z.pageNavIcon,"aria-hidden":"true",children:d.jsxs("svg",{viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:[d.jsx("title",{children:"Neste side"}),d.jsx("path",{d:"M5.5 3.5L10 8l-4.5 4.5",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})]})})})]})]})]})},Be={tabs:"_tabs_x3s88_1",tabList:"_tabList_x3s88_5",tab:"_tab_x3s88_1",active:"_active_x3s88_42",disabled:"_disabled_x3s88_47",tabLabel:"_tabLabel_x3s88_55",tabAmount:"_tabAmount_x3s88_59",tabPanels:"_tabPanels_x3s88_66",tabPanel:"_tabPanel_x3s88_66",hidden:"_hidden_x3s88_74"},st=({children:t,defaultIndex:e=0,onChange:r,className:a})=>{const[n,i]=C.useState(e),s=C.useId(),l=C.useMemo(()=>s.replace(/:/g,""),[s]),o=c=>{i(c),r?.(c)};return d.jsx("div",{className:D([Be.tabs,a]),children:C.Children.map(t,c=>C.isValidElement(c)?c.type===ba?C.cloneElement(c,{activeIndex:n,setActiveIndex:o,baseId:l}):c.type===fa?C.cloneElement(c,{activeIndex:n,baseId:l}):c:null)})},ba=({children:t,activeIndex:e=0,setActiveIndex:r,baseId:a})=>{const n=C.useMemo(()=>C.Children.toArray(t).filter(l=>C.isValidElement(l)),[t]),i=n.length,s=(l,o)=>{if(!r||i===0)return;let c=o;switch(l.key){case"ArrowRight":l.preventDefault(),c=(o+1)%i;break;case"ArrowLeft":l.preventDefault(),c=(o-1+i)%i;break;case"Home":l.preventDefault(),c=0;break;case"End":l.preventDefault(),c=i-1;break;default:return}r(c)};return d.jsx("div",{className:Be.tabList,role:"tablist",children:n.map((l,o)=>{if(!C.isValidElement(l))return null;const c=`${a}-tab-${o}`,u=`${a}-panel-${o}`,g=o===e;return C.cloneElement(l,{tabId:c,panelId:u,isActive:g,onSelect:()=>r?.(o),onKeyDown:p=>s(p,o)})})})},ac=({children:t,amount:e,isActive:r,onSelect:a,onClick:n,onKeyDown:i,tabId:s,panelId:l,className:o,...c})=>{const u=D([Be.tab,r&&Be.active,c.disabled&&Be.disabled,o]),g=f=>{n?.(f),!f.defaultPrevented&&a?.()},p=f=>{i?.(f)};return d.jsxs("button",{...c,id:s,role:"tab",type:"button","aria-selected":r,"aria-controls":l,className:u,onClick:g,onKeyDown:p,children:[d.jsx("span",{className:Be.tabLabel,children:t}),e&&d.jsx("span",{className:Be.tabAmount,children:e})]})},fa=({children:t,activeIndex:e=0,baseId:r})=>d.jsx("div",{className:Be.tabPanels,children:C.Children.map(t,(a,n)=>{if(!C.isValidElement(a))return null;const i=`${r}-tab-${n}`,s=`${r}-panel-${n}`;return C.cloneElement(a,{isActive:n===e,tabId:i,panelId:s})})}),ic=({children:t,isActive:e,tabId:r,panelId:a})=>d.jsx("div",{role:"tabpanel",id:a,"aria-labelledby":r,className:D([Be.tabPanel,!e&&Be.hidden]),hidden:!e,children:t});st.List=ba,st.Tab=ac,st.Panels=fa,st.Panel=ic;const oc=t=>{let e="";const r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",a=r.length;for(let n=0;n<t;n++)e+=r.charAt(Math.floor(Math.random()*a));return e},fn={textarea:"_textarea_1596u_1",requiredSymbol:"_requiredSymbol_1596u_4",hasErrors:"_hasErrors_1596u_55"},sc=({id:t,onChange:e,onBlur:r,name:a="",required:n=!1,readOnly:i,disabled:s,width:l,resize:o="both",value:c,defaultValue:u,elementKey:g,rows:p,label:f="",placeholder:I="","aria-describedby":m,hasErrors:b=!1,errorMessage:h=""})=>{const A=()=>`${t}-errorMessage`,y=!c?.length&&u?.length?u:void 0,S=g||`${t}-${oc(6)}`,v={...l&&{maxWidth:l},...o&&{resize:o}},E={name:a,readOnly:i,disabled:s,required:n,id:t,onChange:e,onBlur:r,value:y?void 0:c,defaultValue:y||void 0,placeholder:I,rows:p?parseInt(p,10):void 0,className:b?fn.hasErrors:"","aria-describedby":b&&h?A():m,"aria-invalid":b?"true":void 0,style:v};return d.jsxs("div",{className:fn.textarea,children:[d.jsxs(qe,{htmlFor:t,children:[f,n&&d.jsx("img",{src:Ne,alt:"",className:fn.requiredSymbol})]}),d.jsx("textarea",{...E},S),d.jsx(Ue,{id:A(),content:h})]})},lc=({theme:t,children:e})=>{const r=xa(t),a=Aa(r);return ya("theme-provider",`:root {${a}}`),e},cc={toggleNavigationButton:"_toggleNavigationButton_1eb2w_1"},uc=({id:t,htmlTag:e="button",showText:r,hideText:a,buttonProps:n={},isOpen:i=!1})=>C.createElement(e,{...n,className:cc.toggleNavigationButton,id:t||void 0},i?a:r),pn={wizardTopnavContainer:"_wizardTopnavContainer_qiy2o_1",wizardTopnav:"_wizardTopnav_qiy2o_1",vertical:"_vertical_qiy2o_6",horizontal:"_horizontal_qiy2o_11"},dc=({steps:t,activeStepId:e,direction:r="vertical","aria-label":a})=>{const n=Object.keys(t),s=`I dette skjemaet er det totalt ${n.length} steg som du skal gå igjennom`,l=a?.length?a:s;return d.jsx("nav",{"aria-label":l,className:D([pn.wizardTopnavContainer,pn[r]]),children:d.jsx("ol",{className:pn.wizardTopnav,children:n.map((o,c)=>d.jsx(ga,{step:t[o],activeStepId:e,direction:r,index:c},o))})})};R.Accordion=Va,R.Button=Fe,R.CheckBoxIcon=Sn,R.CheckBoxInput=Mt,R.CheckBoxList=wa,R.CheckBoxListItem=_a,R.Container=Vn,R.ContentBox=Fa,R.DescriptionDetails=Pa,R.DescriptionList=Ta,R.DescriptionTerm=Ra,R.Dialog=Ha,R.DragAndDropFileInput=La,R.ErrorBox=Wa,R.ErrorMessage=Ue,R.Footer=ka,R.Header=Ye,R.InfoBox=Rn,R.InputField=Da,R.Label=qe,R.List=za,R.ListItem=Ya,R.LoadingAnimation=Zn,R.NavigationBar=qa,R.Paper=Ka,R.Paragraph=ei,R.ProgressBar=ti,R.RadioButtonIcon=kn,R.RadioButtonInput=Xt,R.RadioButtonList=ni,R.RadioButtonListItem=ri,R.Select=da,R.Table=rc,R.Tabs=st,R.Textarea=sc,R.ThemeProvider=lc,R.ToggleNavigationButton=uc,R.WizardNavigation=dc,R.WizardNavigationStep=ga,Object.defineProperty(R,Symbol.toStringTag,{value:"Module"})}));
12
12
  //# sourceMappingURL=index.umd.js.map