dibk-design 10.1.0 → 10.3.2

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.cjs.js CHANGED
@@ -1,23 +1,12 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("react"),Te=require("react-router-dom"),gt=require("react-dom");var je={exports:{}},be={};/**
2
- * @license React
3
- * react-jsx-runtime.production.js
4
- *
5
- * Copyright (c) Meta Platforms, Inc. and affiliates.
6
- *
7
- * This source code is licensed under the MIT license found in the
8
- * LICENSE file in the root directory of this source tree.
9
- */var Fe;function vt(){if(Fe)return be;Fe=1;var e=Symbol.for("react.transitional.element"),s=Symbol.for("react.fragment");function n(o,r,a){var m=null;if(a!==void 0&&(m=""+a),r.key!==void 0&&(m=""+r.key),"key"in r){a={};for(var l in r)l!=="key"&&(a[l]=r[l])}else a=r;return r=a.ref,{$$typeof:e,type:o,key:m,ref:r!==void 0?r:null,props:a}}return be.Fragment=s,be.jsx=n,be.jsxs=n,be}var xe={};/**
10
- * @license React
11
- * react-jsx-runtime.development.js
12
- *
13
- * Copyright (c) Meta Platforms, Inc. and affiliates.
14
- *
15
- * This source code is licensed under the MIT license found in the
16
- * LICENSE file in the root directory of this source tree.
17
- */var Ve;function bt(){return Ve||(Ve=1,process.env.NODE_ENV!=="production"&&function(){function e(c){if(c==null)return null;if(typeof c=="function")return c.$$typeof===x?null:c.displayName||c.name||null;if(typeof c=="string")return c;switch(c){case b:return"Fragment";case B:return"Profiler";case N:return"StrictMode";case Y:return"Suspense";case Z:return"SuspenseList";case P:return"Activity"}if(typeof c=="object")switch(typeof c.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),c.$$typeof){case L:return"Portal";case T:return(c.displayName||"Context")+".Provider";case k:return(c._context.displayName||"Context")+".Consumer";case R:var y=c.render;return c=c.displayName,c||(c=y.displayName||y.name||"",c=c!==""?"ForwardRef("+c+")":"ForwardRef"),c;case E:return y=c.displayName||null,y!==null?y:e(c.type)||"Memo";case D:y=c._payload,c=c._init;try{return e(c(y))}catch{}}return null}function s(c){return""+c}function n(c){try{s(c);var y=!1}catch{y=!0}if(y){y=console;var A=y.error,u=typeof Symbol=="function"&&Symbol.toStringTag&&c[Symbol.toStringTag]||c.constructor.name||"Object";return A.call(y,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",u),s(c)}}function o(c){if(c===b)return"<>";if(typeof c=="object"&&c!==null&&c.$$typeof===D)return"<...>";try{var y=e(c);return y?"<"+y+">":"<...>"}catch{return"<...>"}}function r(){var c=O.A;return c===null?null:c.getOwner()}function a(){return Error("react-stack-top-frame")}function m(c){if(X.call(c,"key")){var y=Object.getOwnPropertyDescriptor(c,"key").get;if(y&&y.isReactWarning)return!1}return c.key!==void 0}function l(c,y){function A(){G||(G=!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)",y))}A.isReactWarning=!0,Object.defineProperty(c,"key",{get:A,configurable:!0})}function _(){var c=e(this.type);return p[c]||(p[c]=!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.")),c=this.props.ref,c!==void 0?c:null}function d(c,y,A,u,v,C,J,Q){return A=C.ref,c={$$typeof:j,type:c,key:y,props:C,_owner:v},(A!==void 0?A:null)!==null?Object.defineProperty(c,"ref",{enumerable:!1,get:_}):Object.defineProperty(c,"ref",{enumerable:!1,value:null}),c._store={},Object.defineProperty(c._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(c,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(c,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:J}),Object.defineProperty(c,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Q}),Object.freeze&&(Object.freeze(c.props),Object.freeze(c)),c}function h(c,y,A,u,v,C,J,Q){var $=y.children;if($!==void 0)if(u)if(w($)){for(u=0;u<$.length;u++)f($[u]);Object.freeze&&Object.freeze($)}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 f($);if(X.call(y,"key")){$=e(c);var H=Object.keys(y).filter(function(ie){return ie!=="key"});u=0<H.length?"{key: someKey, "+H.join(": ..., ")+": ...}":"{key: someKey}",U[$+u]||(H=0<H.length?"{"+H.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("react"),Jt=require("react-router-dom"),dr=require("react-dom");function po(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 W=po(C);var ut={exports:{}},ke={};var vn;function mo(){if(vn)return ke;vn=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function r(o,n,a){var s=null;if(a!==void 0&&(s=""+a),n.key!==void 0&&(s=""+n.key),"key"in n){a={};for(var u in n)u!=="key"&&(a[u]=n[u])}else a=n;return n=a.ref,{$$typeof:t,type:o,key:s,ref:n!==void 0?n:null,props:a}}return ke.Fragment=e,ke.jsx=r,ke.jsxs=r,ke}var je={};var hn;function vo(){return hn||(hn=1,process.env.NODE_ENV!=="production"&&(function(){function t(x){if(x==null)return null;if(typeof x=="function")return x.$$typeof===M?null:x.displayName||x.name||null;if(typeof x=="string")return x;switch(x){case b:return"Fragment";case G:return"Profiler";case v:return"StrictMode";case E:return"Suspense";case B:return"SuspenseList";case L: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 h:var w=x.render;return x=x.displayName,x||(x=w.displayName||w.name||"",x=x!==""?"ForwardRef("+x+")":"ForwardRef"),x;case _:return w=x.displayName||null,w!==null?w:t(x.type)||"Memo";case V:w=x._payload,x=x._init;try{return t(x(w))}catch{}}return null}function e(x){return""+x}function r(x){try{e(x);var w=!1}catch{w=!0}if(w){w=console;var X=w.error,Z=typeof Symbol=="function"&&Symbol.toStringTag&&x[Symbol.toStringTag]||x.constructor.name||"Object";return X.call(w,"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===V)return"<...>";try{var w=t(x);return w?"<"+w+">":"<...>"}catch{return"<...>"}}function n(){var x=q.A;return x===null?null:x.getOwner()}function a(){return Error("react-stack-top-frame")}function s(x){if(te.call(x,"key")){var w=Object.getOwnPropertyDescriptor(x,"key").get;if(w&&w.isReactWarning)return!1}return x.key!==void 0}function u(x,w){function X(){k||(k=!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)",w))}X.isReactWarning=!0,Object.defineProperty(x,"key",{get:X,configurable:!0})}function i(){var x=t(this.type);return O[x]||(O[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 l(x,w,X,Z,ie,re){var A=X.ref;return x={$$typeof:I,type:x,key:w,props:X,_owner:Z},(A!==void 0?A:null)!==null?Object.defineProperty(x,"ref",{enumerable:!1,get:i}):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:ie}),Object.defineProperty(x,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:re}),Object.freeze&&(Object.freeze(x.props),Object.freeze(x)),x}function c(x,w,X,Z,ie,re){var A=w.children;if(A!==void 0)if(Z)if(ne(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(te.call(w,"key")){A=t(x);var P=Object.keys(w).filter(function(K){return K!=="key"});Z=0<P.length?"{key: someKey, "+P.join(": ..., ")+": ...}":"{key: someKey}",ae[A+Z]||(P=0<P.length?"{"+P.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
2
  let props = %s;
19
3
  <%s {...props} />
20
4
  React keys must be passed directly to JSX without using spread:
21
5
  let props = %s;
22
- <%s key={someKey} {...props} />`,u,$,H,$),U[$+u]=!0)}if($=null,A!==void 0&&(n(A),$=""+A),m(y)&&(n(y.key),$=""+y.key),"key"in y){A={};for(var le in y)le!=="key"&&(A[le]=y[le])}else A=y;return $&&l(A,typeof c=="function"?c.displayName||c.name||"Unknown":c),d(c,$,C,v,r(),A,J,Q)}function f(c){typeof c=="object"&&c!==null&&c.$$typeof===j&&c._store&&(c._store.validated=1)}var g=i,j=Symbol.for("react.transitional.element"),L=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),k=Symbol.for("react.consumer"),T=Symbol.for("react.context"),R=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),Z=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),D=Symbol.for("react.lazy"),P=Symbol.for("react.activity"),x=Symbol.for("react.client.reference"),O=g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,X=Object.prototype.hasOwnProperty,w=Array.isArray,M=console.createTask?console.createTask:function(){return null};g={"react-stack-bottom-frame":function(c){return c()}};var G,p={},I=g["react-stack-bottom-frame"].bind(g,a)(),V=M(o(a)),U={};xe.Fragment=b,xe.jsx=function(c,y,A,u,v){var C=1e4>O.recentlyCreatedOwnerStacks++;return h(c,y,A,!1,u,v,C?Error("react-stack-top-frame"):I,C?M(o(c)):V)},xe.jsxs=function(c,y,A,u,v){var C=1e4>O.recentlyCreatedOwnerStacks++;return h(c,y,A,!0,u,v,C?Error("react-stack-top-frame"):I,C?M(o(c)):V)}}()),xe}var Oe;function xt(){return Oe||(Oe=1,process.env.NODE_ENV==="production"?je.exports=vt():je.exports=bt()),je.exports}var t=xt();const S=e=>(e==null?void 0:e.filter(Boolean).join(" "))||"",nt=e=>e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),yt=e=>!(e!=null&&e.colors)||!Object.entries(e.colors).length?{}:Object.entries(e.colors).reduce((s,[n,o])=>(n&&o&&(s[`--color-${nt(n)}`]=o),s),{}),jt=e=>!(e!=null&&e.sizes)||!Object.entries(e.sizes).length?{}:Object.entries(e.sizes).reduce((s,[n,o])=>(n&&o&&(s[`--size-${nt(n)}`]=o),s),{}),wt=e=>({...yt(e),...jt(e)}),kt=(e,s)=>{if(typeof document>"u")return;const n=document.createElement("style");n.setAttribute("id",e),n.textContent=s;const o=document.getElementById(e);o&&o.remove(),document.head.appendChild(n)},Ct=e=>Object.entries(e).map(([s,n])=>`${s}: ${n};`).join(""),ve=e=>{const s=[];return i.Children.forEach(e,n=>{if(i.isValidElement(n)){const o=n;if(o.type===i.Fragment){const r=ve(o.props.children);s.push(...r)}else s.push(i.cloneElement(o,{...o.props}))}else s.push(n)}),s},Lt=e=>{if(typeof document>"u")return;const s=document.createElement("button");s.style.position="absolute",s.style.opacity="0",e.prepend(s),s.focus(),s.remove()},It=e=>Array.from(e.querySelectorAll('button, [href], input, [tabindex="0"]')).filter(n=>!!n),rt=e=>{Lt(e);const s=It(e),n=s[0],o=s[s.length-1]||n;n&&(n.onkeydown=r=>{r.key==="Tab"&&r.shiftKey&&(r.preventDefault(),o.focus())}),o&&(o.onclick=()=>{n==null||n.focus()},o.onkeydown=r=>{r.key==="Tab"&&!r.shiftKey&&(r.preventDefault(),n==null||n.focus())})},Nt="_accordion_kwqaf_67",Et="_panel_kwqaf_76",$t="_content_kwqaf_77",St="_secondary_kwqaf_80",Mt="_info_kwqaf_88",Bt="_contrast_kwqaf_96",Tt="_margin_kwqaf_104",Dt="_panelText_kwqaf_138",At="_panelChevron_kwqaf_144",Rt="_expanded_kwqaf_171",zt="_initialized_kwqaf_187",Pt="_hide_kwqaf_1",qt="_show_kwqaf_1",ne={accordion:Nt,default:"_default_kwqaf_73",panel:Et,content:$t,secondary:St,info:Mt,contrast:Bt,margin:Tt,panelText:Dt,panelChevron:At,expanded:Rt,initialized:zt,hide:Pt,show:qt},Ft=({title:e,buttonProps:s,expanded:n,handleToggleExpand:o})=>t.jsxs("button",{...s,className:ne.panel,onClick:o,"aria-expanded":n?"true":"false",children:[t.jsx("span",{className:ne.panelText,children:e}),t.jsx("span",{className:`${ne.panelChevron} ${n?ne.expanded:""}`})]}),Vt=({title:e,color:s="default",expanded:n=!1,onToggleExpand:o,buttonProps:r,noMargin:a=!1,initialized:m,children:l,..._})=>{const[d,h]=i.useState(n),[f,g]=i.useState(m),j=()=>{h(!d),g(!0),o&&o()};i.useEffect(()=>{h(n)},[n]);const L=S([ne.accordion,s&&ne[s],!a&&ne.margin,_.className]);return t.jsxs("div",{className:L,..._,children:[t.jsx(Ft,{title:e??"",buttonProps:r??{},expanded:d??!1,handleToggleExpand:j}),t.jsx("div",{className:`${ne.content} ${f?ne.initialized:""} ${d?ne.expanded:""}`,children:l})]})},Ot="_button_119rg_161",Xt="_noMargin_119rg_189",Ht="_regular_119rg_199",Yt="_small_119rg_202",Zt="_primary_119rg_214",Wt="_noHover_119rg_218",Gt="_secondary_119rg_234",Ut="_neutral_119rg_253",Jt="_disabled_119rg_272",Kt="_hasErrors_119rg_292",Qt="_rounded_119rg_298",es="_hasArrowLeft_119rg_302",ts="_pushprev_119rg_1",ss="_hasArrowRight_119rg_340",ns="_pushnext_119rg_1",rs="_hasIcon_119rg_378",os="_buttonContent_119rg_382",W={button:Ot,noMargin:Xt,regular:Ht,small:Yt,primary:Zt,noHover:Wt,secondary:Gt,neutral:Ut,disabled:Jt,hasErrors:Kt,rounded:Qt,hasArrowLeft:es,pushprev:ts,hasArrowRight:ss,pushnext:ns,hasIcon:rs,buttonContent:os},Re=({content:e,color:s="primary",size:n="regular",arrow:o="none",disabled:r=!1,inputType:a,defaultChecked:m,hasErrors:l=!1,noHover:_=!1,rounded:d=!1,noMargin:h=!1,href:f,children:g,iconLeft:j,iconRight:L,className:b,...N})=>{const B=E=>{switch(E){case"left":return W.hasArrowLeft;case"right":return W.hasArrowRight;default:return""}},k=a==="radio"?m?"primary":"secondary":s,T=S([W.button,W[k],W[n],B(o),_||a==="radio"?W.noHover:null,d&&W.rounded,l&&W.hasErrors,r?W.disabled:null,h?W.noMargin:null,j||L?W.hasIcon:null,b]),R={"aria-invalid":l||void 0,href:!r&&(f!=null&&f.length)?f:void 0,className:T,...N},Y=E=>i.Children.toArray(ve(E)).map(P=>{if(!i.isValidElement(P))return null;const x=P,O=x.type===Te.Link&&typeof x.props=="object"&&x.props!==null&&"to"in x.props;return!r&&O?i.cloneElement(x,{className:T,key:`button-${x.key}`,to:x.props.to},j,t.jsx("span",{className:W.buttonContent,children:x.props.children}),L):i.createElement("button",{...R,key:`button-${x.key}`},j,t.jsx("span",{className:W.buttonContent,children:e||(x.props?x.props.children:null)}),L)});if(a==="button")return t.jsxs("button",{type:"button",...R,children:[j,t.jsx("span",{className:W.buttonContent,children:e||g}),L]});if(a==="radio"){const E={...R};return delete E.href,t.jsxs("label",{className:T,children:[t.jsx("input",{...E,type:"radio"}),j,t.jsx("span",{className:W.buttonContent,children:e}),L]})}if(f!=null&&f.length&&!r){const E={...R};return"type"in E&&delete E.type,t.jsxs("a",{...E,children:[j,t.jsx("span",{className:W.buttonContent,children:e||g}),L]})}return i.isValidElement(g)&&g.type===Te.Link?t.jsx(i.Fragment,{children:Y(i.Children.toArray(g))}):t.jsxs("button",{...R,children:[j,t.jsx("span",{className:W.buttonContent,children:e||g}),L]})},as="_checkBoxIcon_1kc3w_1",cs="_showBox_1kc3w_22",ls="_hasErrors_1kc3w_27",is="_checked_1kc3w_37",ds="_disabled_1kc3w_53",us="_checkmark_1kc3w_58",ue={checkBoxIcon:as,showBox:cs,hasErrors:ls,checked:is,disabled:ds,checkmark:us},De=({size:e="20px",checked:s=!1,disabled:n=!1,showBox:o=!0,hasErrors:r=!1,checkmarkCharacter:a="✔"})=>{const m={height:e,width:e,fontSize:e},l=[ue.checkBoxIcon,s&&ue.checked,n&&ue.disabled,o&&ue.showBox,r&&ue.hasErrors].filter(Boolean).join(" ");return t.jsx("span",{className:l,style:m,children:t.jsx("span",{"aria-hidden":!0,className:ue.checkmark,children:s?a:""})})},ce="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",_s="_checkBoxInput_f1w9m_1",ms="_requiredSymbol_f1w9m_6",hs="_contentOnly_f1w9m_13",ps="_disabled_f1w9m_13",fs="_labelText_f1w9m_19",gs="_hasErrors_f1w9m_27",_e={checkBoxInput:_s,requiredSymbol:ms,contentOnly:hs,disabled:ps,labelText:fs,hasErrors:gs},ze=({checked:e=!1,disabled:s=!1,required:n=!1,requiredGroup:o=!1,id:r,name:a="",onChange:m,contentOnly:l=!1,hasErrors:_=!1,checkmarkCharacter:d="✔",tabIndex:h=0,children:f,"aria-controls":g,"aria-describedby":j,value:L})=>{const b=[_e.checkBoxInput,l&&_e.contentOnly,s&&_e.disabled,_&&_e.hasErrors].filter(Boolean).join(" "),N={checked:e,disabled:s,showBox:!l,hasErrors:l&&_,checkmarkCharacter:d},B={id:r,name:a,type:"checkbox",checked:e,disabled:s,required:n||o,onChange:m,tabIndex:h,"aria-controls":g,"aria-invalid":_?"true":void 0,"aria-describedby":j,value:L};return t.jsxs("label",{htmlFor:r,className:b,children:[l?t.jsx(De,{...N}):t.jsxs(t.Fragment,{children:[t.jsx(De,{...N}),t.jsx("input",{...B})]}),t.jsxs("span",{className:_e.labelText,children:[f,n&&t.jsx("img",{src:ce,alt:"",className:_e.requiredSymbol})]})]})},vs="_checkBoxList_1sp8d_1",bs="_requiredSymbol_1sp8d_16",Xe={checkBoxList:vs,requiredSymbol:bs},xs="_headerContainer_1hyx9_1",ys="_header_1hyx9_1",js="_bigHeader_1hyx9_16",we={headerContainer:xs,header:ys,"size-1":"_size-1_1hyx9_8",bigHeader:js,"size-2":"_size-2_1hyx9_28","size-3":"_size-3_1hyx9_36","size-4":"_size-4_1hyx9_44","size-5":"_size-5_1hyx9_52"},Pe=({id:e,content:s,size:n=1,big:o,label:r,htmlTag:a,htmlFor:m,children:l})=>{const _=a||`h${n}`,d=S([we.header,we[`size-${n}`],o&&we.bigHeader]),h=r!=null&&r.length&&typeof r=="string"?{"--label":`"${r}"`}:void 0,f=i.createElement(_,{className:d,id:e||void 0,htmlFor:m||void 0,style:h},s!=null&&s.length?s:l);return t.jsx("div",{className:we.headerContainer,children:f})},ot=({legend:e,legendSize:s,required:n=!1,compact:o=!1,children:r})=>{const a=m=>ve(m).map(_=>{var d;return i.isValidElement(_)&&((d=_.type)==null?void 0:d.displayName)==="RadioButtonListItem"?i.cloneElement(_,{requiredGroup:n,compact:o,key:`checkboxListItem-${_.key}`}):_});return t.jsxs("fieldset",{className:Xe.checkBoxList,children:[!!(e!=null&&e.length)&&t.jsxs("legend",{children:[s?t.jsx(Pe,{size:s,children:e}):e,n&&t.jsx("img",{src:ce,alt:"",className:Xe.requiredSymbol})]}),a(i.Children.toArray(r))]})},ws="_checkBoxListItem_jnb8z_1",ks="_contentOnly_jnb8z_26",Cs="_compact_jnb8z_26",Ls="_disabled_jnb8z_41",Is="_checked_jnb8z_44",me={checkBoxListItem:ws,contentOnly:ks,compact:Cs,disabled:Ls,checked:Is},at=({checked:e=!1,disabled:s=!1,required:n=!1,requiredGroup:o=!1,id:r,name:a="",onChange:m,contentOnly:l=!1,compact:_=!1,hasErrors:d=!1,checkmarkCharacter:h="✔","aria-controls":f,"aria-describedby":g,children:j,value:L})=>{const b=S([me.checkBoxListItem,e&&me.checked,s&&me.disabled,_&&me.compact,l&&me.contentOnly,d&&me.hasErrors]),N={onChange:m??(()=>{}),checked:e,disabled:s,required:n,requiredGroup:o,contentOnly:l,hasErrors:d,"aria-controls":f,"aria-describedby":g,id:r,name:a,checkmarkCharacter:h,value:L};return t.jsx("div",{className:b,children:t.jsx(ze,{...N,children:j})})},Ns="_container_f8z49_1",Es={container:Ns},ct=({maxWidth:e,children:s})=>{const n={"--max-width":e!=null&&e.length?e:void 0};return t.jsx("div",{className:Es.container,style:n,children:s})},$s="_contentBox_1ndvc_1",Ss="_link_1ndvc_8",Ms="_content_1ndvc_1",Bs="_title_1ndvc_25",Ts="_secondary_1ndvc_28",Ds="_regular_1ndvc_36",As="_large_1ndvc_45",he={contentBox:$s,link:Ss,default:"_default_1ndvc_21",content:Ms,title:Bs,secondary:Ts,regular:Ds,large:As},Rs=({title:e=null,titleSize:s="regular",content:n="",children:o,color:r="default",href:a=null})=>{const m=()=>{if(!e)return null;const g=`${he.title} ${he[s]}`;return t.jsx("h2",{className:g,children:e})},l=he[r]||"",_=a?he.link:"",d=`${he.contentBox} ${l} ${_}`.trim(),h=n!=null&&n.length?n:o,f=t.jsxs(t.Fragment,{children:[m(),t.jsx("div",{className:he.content,children:h})]});return a?t.jsx("a",{href:a,className:d,children:f}):t.jsx("div",{className:d,children:f})},zs="_descriptionDetails_1d1dj_1",Ps="_compact_1d1dj_7",He={descriptionDetails:zs,compact:Ps},qs=({compact:e=!1,titleWidth:s,children:n})=>t.jsx("dd",{className:S([He.descriptionDetails,e&&He.compact]),style:{"--title-width":s||void 0},children:n}),Fs="_descriptionList_w11ua_1",Vs="_compact_w11ua_13",Ye={descriptionList:Fs,compact:Vs},Os=({compact:e=!1,titleWidth:s,children:n})=>{const o=r=>ve(r).map(m=>i.isValidElement(m)?i.cloneElement(m,{compact:e,titleWidth:s,key:`descriptionListItem-${m.key}`}):m);return i.createElement("dl",{className:S([Ye.descriptionList,e&&Ye.compact]),style:{"--title-width":s||void 0}},o(i.Children.toArray(n)))},Xs="_descriptionTerm_uuapd_1",Hs="_compact_uuapd_8",Ze={descriptionTerm:Xs,compact:Hs},Ys=({compact:e=!1,titleWidth:s,children:n})=>t.jsx("dt",{className:S([Ze.descriptionTerm,e&&Ze.compact]),style:{"--title-width":s||void 0},children:n}),Zs="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",Ws="_dialog_pl6ui_19",Gs="_backdrop_pl6ui_34",Us="_dialogContainer_pl6ui_42",Js="_modalInVertical_pl6ui_1",Ks="_dialogContent_pl6ui_52",Qs="_noPadding_pl6ui_57",en="_closeButton_pl6ui_65",tn="_isSidebar_pl6ui_94",sn="_left_pl6ui_117",nn="_modalInHorizontalLeft_pl6ui_1",rn="_right_pl6ui_123",on="_modalInHorizontalRight_pl6ui_1",ae={dialog:Ws,backdrop:Gs,dialogContainer:Us,modalInVertical:Js,dialogContent:Ks,noPadding:Qs,closeButton:en,isSidebar:tn,left:sn,modalInHorizontalLeft:nn,right:rn,modalInHorizontalRight:on},an=({maxWidth:e="none",noPadding:s,closeButton:n,onClickOutside:o,modal:r=!0,attachTo:a,hidden:m=!1,children:l})=>{const[_,d]=i.useState(null),h=i.useRef(null),f=i.useCallback(b=>{b&&rt(b)},[]);i.useEffect(()=>{if(m)return;const b=N=>{N.key==="Escape"&&o&&o()};return document.addEventListener("keydown",b,!1),()=>{document.removeEventListener("keydown",b,!1)}},[m,o]),i.useEffect(()=>{if(typeof window>"u")return;const N=(()=>{const k="dibk-design-dialog-root";let T=document.getElementById(k);return T||(T=document.createElement("div"),T.setAttribute("id",k),document.body.appendChild(T)),T})(),B=document.createElement("div");return N.appendChild(B),d(B),()=>{d(null),N.contains(B)&&N.removeChild(B)}},[]),i.useEffect(()=>{if(m||!r)return;const b=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=b}},[m,r]);const g=a&&S([ae.isSidebar,ae[a]]),j={"--max-width":e};if(m||!_)return null;const L=r?{role:"dialog","aria-modal":"true"}:{role:"dialog"};return gt.createPortal(t.jsxs("div",{className:S([ae.dialog,g]),onClick:o,...L,children:[r&&t.jsx("div",{className:ae.backdrop,"aria-hidden":"true"}),t.jsx("div",{ref:h,className:ae.dialogContainer,style:j,onClick:b=>b.stopPropagation(),children:t.jsxs("div",{ref:f,className:S([ae.dialogContent,s&&ae.noPadding]),children:[n&&t.jsx("button",{type:"button","aria-label":"Lukk dialog",onClick:o,className:S([ae.closeButton,s&&ae.noPadding]),children:t.jsx("img",{src:Zs,alt:""})}),t.jsx("div",{"aria-live":"assertive",children:l})]})})]}),_)},cn="_dragAndDropFileInput_pfifv_1",ln="_requiredSymbol_pfifv_1",dn="_dragAndDropContainer_pfifv_8",un="_highlighted_pfifv_25",ke={dragAndDropFileInput:cn,requiredSymbol:ln,dragAndDropContainer:dn,highlighted:un},lt="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",_n="_errorMessage_15d1p_1",mn="_errorSign_15d1p_10",We={errorMessage:_n,errorSign:mn},ge=({id:e,content:s=""})=>{const n=()=>({id:e!=null&&e.length?e:void 0,className:We.errorMessage});return(typeof s=="string"?s.trim().length>0:!!s)?t.jsxs("span",{"aria-live":"polite",...n(),children:[t.jsx("img",{src:lt,alt:"",className:We.errorSign}),s]}):null},hn="_label_18de6_1",pn="_inline_18de6_11",fn="_normalCursor_18de6_14",Ee={label:hn,inline:pn,normalCursor:fn},de=({inline:e=!1,normalCursor:s=!1,htmlTag:n="label",children:o,id:r,...a})=>{const m=[Ee.label,e&&Ee.inline,s&&Ee.normalCursor].filter(Boolean).join(" "),l={...a,className:m,id:r||void 0};return i.createElement(n,l,o)},gn=({id:e,name:s,onSelectChange:n,onDragAndDropChange:o,label:r="",contentOnly:a=!1,buttonColor:m="primary",buttonContent:l,buttonContentWhenSelectedFile:_,selectedFileName:d,defaultContent:h="",hasErrors:f=!1,errorMessage:g="",required:j=!1,children:L,"data-transaction-name":b})=>{const[N,B]=i.useState(!1),k=i.useRef(null),T=i.useRef(null),R=w=>{w.preventDefault(),w.stopPropagation()},Y=(w,M)=>w||M,Z=()=>{var w;(w=T.current)==null||w.click()},E=()=>`${e}-errorMessage`,D={id:e,"aria-describedby":f&&(g!=null&&g.toString().length)?E():void 0,"aria-invalid":f?"true":void 0,name:s,required:j},P=d&&_||l,x=i.useCallback(()=>B(!0),[]),O=i.useCallback(()=>B(!1),[]),X=i.useCallback(w=>{var M;R(w),(M=w.dataTransfer)!=null&&M.files&&o(w.dataTransfer.files),B(!1)},[o]);return i.useEffect(()=>{const w=k.current;if(w)return["dragenter","dragover"].forEach(M=>{w.addEventListener(M,x)}),["dragleave","drop"].forEach(M=>{w.addEventListener(M,O)}),["dragenter","dragover","dragleave","drop"].forEach(M=>{w.addEventListener(M,R)}),w.addEventListener("drop",X),()=>{["dragenter","dragover","dragleave","drop"].forEach(M=>{w.removeEventListener(M,R),w.removeEventListener(M,x),w.removeEventListener(M,O)}),w.removeEventListener("drop",X)}},[o]),t.jsxs("div",{className:ke.dragAndDropFileInput,children:[t.jsxs(de,{htmlFor:e,children:[r,j&&t.jsx("img",{src:ce,alt:"",className:ke.requiredSymbol})]}),t.jsx("div",{children:L}),!a&&t.jsxs("div",{ref:k,className:`${ke.dragAndDropContainer} ${N?ke.highlighted:""}`,children:[d?t.jsx("div",{children:t.jsxs("span",{children:[t.jsx("b",{children:"Valgt fil:"})," ",d]})}):t.jsx("div",{children:"Slipp fil her"}),t.jsx("input",{...D,ref:T,type:"file",onChange:n}),l&&t.jsxs(t.Fragment,{children:[t.jsx("div",{children:d?"":"eller klikk på knappen for å velge fil"}),t.jsx(Re,{size:"small",inputType:"button",color:m,onClick:Z,content:P,hasErrors:f,"data-transaction-name":b})]})]}),a&&t.jsx("span",{children:Y(d,h)}),t.jsx(ge,{id:E(),content:g})]})},Ge="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",vn="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",bn="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",xn="_box_17fcq_7",yn="_messageIn_17fcq_1",jn="_fullScreen_17fcq_16",wn="_info_17fcq_19",kn="_warning_17fcq_23",Cn="_error_17fcq_27",Ln="_tip_17fcq_31",In="_success_17fcq_35",Nn="_inner_17fcq_40",En="_hasIcon_17fcq_56",$n="_icon_17fcq_65",Sn="_iconImage_17fcq_73",Mn="_content_17fcq_79",Bn="_title_17fcq_85",Tn="_body_17fcq_92",te={box:xn,messageIn:yn,fullScreen:jn,info:wn,warning:kn,error:Cn,tip:Ln,success:In,inner:Nn,hasIcon:En,icon:$n,iconImage:Sn,content:Mn,title:Bn,body:Tn},it=({title:e,children:s="",variant:n="info",fullScreen:o=!1,hideIcon:r=!1,icon:a,className:m})=>{const l={info:Ge,warning:bn,error:lt,tip:Ge,success:vn},_=a??t.jsx("img",{src:l[n],alt:"",className:te.iconImage}),d=!r&&_;return t.jsx("div",{className:S([te.box,te[n],o&&te.fullScreen,d?te.hasIcon:null,m]),children:t.jsxs("div",{className:te.inner,children:[d?t.jsx("div",{className:te.icon,children:_}):null,t.jsxs("div",{className:te.content,children:[e?t.jsx("div",{className:te.title,children:e}):null,s?t.jsx("div",{className:te.body,children:s}):null]})]})})},Dn=({type:e="warning",children:s="",...n})=>t.jsx(it,{variant:e,children:s,...n}),An="_footer_19fad_1",Rn={footer:An},zn=({children:e})=>t.jsx("footer",{className:Rn.footer,children:t.jsx(ct,{children:e})}),Pn="_inputField_1o2jw_1",qn="_noMargin_1o2jw_4",Fn="_requiredSymbol_1o2jw_10",Vn="_file_1o2jw_17",On="_input_1o2jw_1",Xn="_hasErrors_1o2jw_57",Hn="_fileInputContainer_1o2jw_74",Yn="_visuallyHidden_1o2jw_87",Zn="_caption_1o2jw_98",K={inputField:Pn,noMargin:qn,requiredSymbol:Fn,file:Vn,input:On,hasErrors:Xn,fileInputContainer:Hn,visuallyHidden:Yn,caption:Zn},Wn=e=>{const s=typeof e=="string"?new Date(e):e;if(Number.isNaN(s.getTime()))return String(e??"");const n=String(s.getDate()).padStart(2,"0"),o=String(s.getMonth()+1).padStart(2,"0"),r=s.getFullYear();return`${n}.${o}.${r}`},Ue=e=>{if(e==null||e==="")return;const s=e instanceof Date?e:new Date(e);if(Number.isNaN(s.getTime()))return;const n=s.getFullYear(),o=String(s.getMonth()+1).padStart(2,"0"),r=String(s.getDate()).padStart(2,"0");return`${n}-${o}-${r}`},Gn=e=>!e||["text","search","url","email","tel","password","number"].includes(e),Un=({id:e,onChange:s=()=>{},onBlur:n,onFocus:o,name:r="",type:a="text",disabled:m=!1,required:l=!1,readOnly:_,width:d,value:h,defaultValue:f,elementKey:g,label:j="",contentOnly:L=!1,buttonColor:b="primary",buttonContent:N,selectedFileName:B,placeholder:k="",defaultContent:T="",min:R,max:Y,role:Z,"aria-describedby":E,"aria-autocomplete":D,hasErrors:P=!1,errorMessage:x="",noMargin:O=!1,caption:X})=>{const w=i.useRef(null),M=()=>`${e}-errorMessage`,G=`${e}-caption`,p=d?{maxWidth:d}:{},I=a==="date"&&!m&&!_,V=()=>{var v;if(!I||!w.current)return;document.activeElement!==w.current&&w.current.focus();const u=w.current;(v=u.showPicker)==null||v.call(u)},U=u=>{V(),o==null||o(u)},c=(()=>{if(a==="file")return{};if(a==="date"){const v=h!==void 0?Ue(h):void 0,C=h===void 0&&f!==void 0?Ue(f):void 0;return h!==void 0?{value:v??""}:f!==void 0?{defaultValue:C}:{}}const u=v=>v instanceof Date?String(v.getTime()):v;return h!==void 0?{value:u(h)}:f!==void 0?{defaultValue:u(f)}:{}})(),y=S([P&&K.hasErrors,a==="file"&&K.visuallyHidden]),A={name:r,readOnly:_,disabled:m,required:l,type:a,role:Z,id:e,min:R,max:Y,onChange:s,onBlur:n,onFocus:U,placeholder:a==="file"?void 0:k,className:y||void 0,"aria-describedby":[P&&x?M():null,X?G:null,E].filter(Boolean).join(" ").trim()||void 0,"aria-invalid":P||void 0,"aria-autocomplete":Gn(a)?D:void 0,style:p,...c};if(L){const u=h??f??"",v=a==="date"?u?Wn(u):T:String(u??"")||T;return t.jsxs("div",{className:S([K.inputField,K[a],O&&K.noMargin]),children:[t.jsxs(de,{htmlFor:e,children:[j,l&&t.jsx("img",{src:ce,alt:"",className:K.requiredSymbol})]}),t.jsx("span",{children:v}),P&&x?t.jsx(ge,{id:M(),content:x}):null]})}return t.jsxs("div",{className:S([K.inputField,K[a],O&&K.noMargin]),children:[t.jsxs(de,{htmlFor:e,children:[j,l&&t.jsx("img",{src:ce,alt:"",className:K.requiredSymbol}),a==="file"&&t.jsxs("div",{className:K.fileInputContainer,children:[t.jsx("span",{className:K.input,children:B}),N&&t.jsx(Re,{color:b,inputType:"button",onClick:()=>{var u;return(u=w.current)==null?void 0:u.click()},content:N})]})]}),t.jsx("input",{...A,ref:w},g||e),X?t.jsx("p",{className:K.caption,id:G,children:X}):null,P&&x?t.jsx(ge,{id:M(),content:x}):null]})},Jn="_lead_176gy_1",Kn={lead:Jn},Qn=({id:e,htmlTag:s="p",children:n})=>i.createElement(s,{className:Kn.lead,id:e||void 0},n),er="_list_16gsl_1",tr="_compact_16gsl_10",Je={list:er,compact:tr},sr=({listStyle:e,compact:s=!1,ordered:n=!1,children:o})=>{const r=_=>ve(_).map(h=>i.isValidElement(h)?i.cloneElement(h,{compact:s,key:`listItem-${h.key}`}):h),a=n?"ol":"ul",m=n?"decimal":"disc";return i.createElement(a,{className:`${Je.list} ${s?Je.compact:""}`,style:{["--listStyle"]:e||m}},r(i.Children.toArray(o)))},nr="_listItem_33xs0_1",rr="_compact_33xs0_5",Ke={listItem:nr,compact:rr},or=({compact:e=!1,children:s})=>{const n=S([Ke.listItem,e&&Ke.compact]);return t.jsx("li",{className:n,children:s})},ar="_loadingAnimation_hzd5u_1",cr="_fixed_hzd5u_17",$e={loadingAnimation:ar,fixed:cr},lr=({fixed:e=!1,message:s=""})=>{const n=e?`${$e.loadingAnimation} ${$e.fixed}`:$e.loadingAnimation;return t.jsx("div",{className:n,children:s})},ir="_LoadingAnimation2_onmfe_1",dr="_dot_onmfe_10",Qe={LoadingAnimation2:ir,dot:dr},ur=({ariaLabel:e="Laster inn"})=>{const s=[0,.15,.3];return t.jsx("div",{role:"img","aria-label":e,className:Qe.LoadingAnimation2,children:s.map(n=>t.jsx("span",{className:Qe.dot,style:{animationDelay:`${n}s`}},n))})},_r="data:image/svg+xml,%3csvg%20width='128'%20height='128'%20viewBox='0%200%20128%20128'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3crect%20width='128'%20height='128'%20rx='7'%20fill='white'/%3e%3cpath%20d='M63.9443%2046.0779L17%2068.0042V88.1594L64%2066.1771L111%2088.1594V68.0042L64.0558%2046.0779H63.9443ZM17%20119H111V100.783H17V119ZM60.6548%2014.2403C49.3369%2018.6145%2038.2977%2019.445%2027.8719%2016.5658C22.7983%2015.1816%2019.0629%2013.1883%2017%2011.9702V32.7891C23.0214%2035.1148%2030.994%2037.108%2040.4163%2037.108C49.8386%2037.108%2057.4769%2035.6684%2067.3451%2031.8479C78.6631%2027.4737%2089.7022%2026.6431%20100.128%2029.5224C105.201%2030.9066%20108.937%2032.8999%20111%2034.118V13.299C99.8497%209.03563%2082.2312%205.87952%2060.6548%2014.2403Z'%20fill='%23003045'/%3e%3c/svg%3e",mr="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2019.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='14%20337%20406%20110'%20style='enable-background:new%2014%20337%20406%20110;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{display:none;}%20.st1{fill:%23003045;}%20.st2{fill:%2389BAD6;}%20.st3{fill:%23FFFFFF;}%20.st4{display:inline;fill:%23FFFFFF;}%20.st5{display:inline;fill:%23D7D4D1;}%20%3c/style%3e%3cg%20id='skisse__x28_forstørret_x29_'%20class='st0'%3e%3c/g%3e%3cg%20id='logo'%3e%3crect%20id='XMLID_5_'%20x='14'%20y='337'%20class='st1'%20width='640'%20height='110'/%3e%3cg%20id='XMLID_82_'%3e%3crect%20id='XMLID_80_'%20x='14'%20y='337'%20class='st2'%20width='150'%20height='110'/%3e%3cg%20id='XMLID_74_'%3e%3cpolygon%20id='XMLID_79_'%20class='st3'%20points='75.1,420.7%2083.2,426.1%2083.2,389.4%20103,402.2%20103,384%2075.1,365.9%20'/%3e%3cpolygon%20id='XMLID_78_'%20class='st3'%20points='41.9,424.2%2041.9,404.7%2060.9,392.4%2060.9,350.3%2027.3,372.1%2027.3,433.7%20'/%3e%3cpolygon%20id='XMLID_77_'%20class='st3'%20points='106.1,381.9%20106.1,417.1%20118.9,425.4%20118.9,354.7%2091.6,372.5%20'/%3e%3cpolygon%20id='XMLID_76_'%20class='st3'%20points='64,350.3%2064,409.8%2071.9,404.7%2071.9,363.9%2071.9,355.5%20'/%3e%3cpolygon%20id='XMLID_75_'%20class='st3'%20points='128.4,385.6%20122.1,389.7%20122.1,423.4%20128.4,419.3%20150.7,433.7%20150.7,399.9%20'/%3e%3c/g%3e%3c/g%3e%3cg%20id='XMLID_6_'%3e%3crect%20id='XMLID_81_'%20x='164.5'%20y='367.5'%20class='st1'%20width='255.5'%20height='79.5'/%3e%3cg%20id='XMLID_7_'%3e%3cg%20id='XMLID_44_'%3e%3cpath%20id='XMLID_71_'%20class='st3'%20d='M187.3,385.6h4.7c5.5,0,8.7,2.2,8.7,8.2s-4,8.2-8.7,8.2h-4.7V385.6z%20M191.9,399.4%20c4.2,0,5.5-1.6,5.5-5.4c0-3.7-1.3-5.6-5.5-5.6h-1.5v11H191.9z'/%3e%3cpath%20id='XMLID_69_'%20class='st3'%20d='M203.5,385.6h3.2v16.5h-3.2V385.6z'/%3e%3cpath%20id='XMLID_66_'%20class='st3'%20d='M213.7,396h-0.2v6.1h-3.2v-16.5h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L213.7,396z%20M215,393.7c2,0,3.2-1,3.2-2.9c0-1.9-1.2-2.7-3.2-2.7h-1.5v5.5h1.5V393.7z'/%3e%3cpath%20id='XMLID_64_'%20class='st3'%20d='M224.6,385.6h10.5v2.7h-7.3v4h4.9v2.5h-4.9v4.5h7.3v2.7h-10.5V385.6z'/%3e%3cpath%20id='XMLID_62_'%20class='st3'%20d='M238,385.6h3.2v7.4l6.5-7.3h3.3l-5.9,6.6l6.3,9.9h-3.6l-4.7-7.7l-1.9,2.1v5.5H238V385.6z'/%3e%3cpath%20id='XMLID_60_'%20class='st3'%20d='M256.8,388.4H252v-2.7h12.6v2.7H260v13.7h-3.2V388.4z'/%3e%3cpath%20id='XMLID_57_'%20class='st3'%20d='M265.7,393.9c0-5.7,4-8.6,8.1-8.6c4.8,0,8.1,3,8.1,8.6c0,5.7-4,8.6-8.1,8.6%20C269,402.5,265.7,399.6,265.7,393.9z%20M278.7,394c0-3.9-1.9-6-4.8-6s-4.8,2.1-4.8,5.8c0,3.9,1.9,6.1,4.8,6.1%20C276.7,399.8,278.7,397.7,278.7,394z'/%3e%3cpath%20id='XMLID_54_'%20class='st3'%20d='M288,396h-0.2v6.1h-3.2v-16.5h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L288,396z%20M289.3,393.7c2,0,3.2-1,3.2-2.9c0-1.9-1.2-2.7-3.2-2.7h-1.5v5.5h1.5V393.7z'/%3e%3cpath%20id='XMLID_51_'%20class='st3'%20d='M303.1,387.3l-0.6-1.7h3.3l6.5,16.5H309l-1.3-3.4h-6.1l-1.3,3.4h-3.1L303.1,387.3z%20M302.5,396.4h4.4l-1.7-4.5l-0.5-1.4l-0.5,1.4L302.5,396.4z'/%3e%3cpath%20id='XMLID_49_'%20class='st3'%20d='M316,388.4h-4.7v-2.7h12.6v2.7h-4.7v13.7H316V388.4z'/%3e%3cpath%20id='XMLID_47_'%20class='st3'%20d='M326.2,385.6h10.5v2.7h-7.3v4h4.9v2.5h-4.9v4.5h7.3v2.7h-10.5V385.6z'/%3e%3cpath%20id='XMLID_45_'%20class='st3'%20d='M343.1,388.4h-4.7v-2.7H351v2.7h-4.7v13.7h-3.2L343.1,388.4L343.1,388.4z'/%3e%3c/g%3e%3cg%20id='XMLID_8_'%3e%3cpath%20id='XMLID_42_'%20class='st3'%20d='M187.3,412.3h10.3v2.7h-7.1v4.1h4.7v2.4h-4.7v7.2h-3.2V412.3z'/%3e%3cpath%20id='XMLID_39_'%20class='st3'%20d='M198.8,420.5c0-5.7,4-8.6,8.1-8.6c4.8,0,8.1,3,8.1,8.6c0,5.7-4,8.6-8.1,8.6%20C202.1,429.1,198.8,426.2,198.8,420.5z%20M211.7,420.6c0-3.9-1.9-6-4.8-6c-2.9,0-4.8,2.1-4.8,5.8c0,3.9,1.9,6.1,4.8,6.1%20C209.8,426.4,211.7,424.3,211.7,420.6z'/%3e%3cpath%20id='XMLID_36_'%20class='st3'%20d='M221.1,422.6h-0.2v6.1h-3.2v-16.4h4.7c3.8,0,6.4,1.4,6.4,4.9c0,2.8-1.7,4.6-4.4,5.2l5.6,6.3%20h-3.8L221.1,422.6z%20M222.4,420.3c2,0,3.2-1,3.2-2.9s-1.2-2.7-3.2-2.7h-1.5v5.5L222.4,420.3L222.4,420.3z'/%3e%3cpath%20id='XMLID_32_'%20class='st3'%20d='M237.8,412.3h4.9c4.5,0,6.4,1.5,6.4,4.1c0,2.3-1.3,3.4-3.1,3.8l0,0c2,0.3,3.3,1.3,3.3,3.9%20s-1.8,4.7-6.5,4.7h-5L237.8,412.3L237.8,412.3z%20M242.8,419c2.4,0,3.1-0.8,3.1-2.2c0-1.4-0.9-2-3.1-2H241v4.2H242.8z%20M243,426.1%20c2.4,0,3.2-0.8,3.2-2.3c0-1.4-0.8-2.3-3.2-2.3h-2v4.5h2V426.1z'/%3e%3cpath%20id='XMLID_30_'%20class='st3'%20d='M255.5,422l-5.4-9.7h3.5l3.6,6.9l3.7-6.9h3.2l-5.4,9.7v6.8h-3.2L255.5,422L255.5,422z'/%3e%3cpath%20id='XMLID_28_'%20class='st3'%20d='M264.5,420.5c0-5.7,3.6-8.6,8-8.6c2.7,0,4.3,0.8,5.2,1.6v3.6c-0.9-1.4-2.4-2.4-4.8-2.4%20c-3.3,0-5.2,2-5.2,5.7s1.8,6.2,4.7,6.2c0.8,0,1.5-0.1,2.1-0.3v-5.1h3.2v6.6c-1.1,0.7-2.9,1.4-5.4,1.4%20C267.7,429.1,264.5,426.3,264.5,420.5z'/%3e%3cpath%20id='XMLID_26_'%20class='st3'%20d='M280,420.5c0-5.7,3.6-8.6,8-8.6c2.7,0,4.3,0.8,5.2,1.6v3.6c-0.9-1.4-2.4-2.4-4.8-2.4%20c-3.3,0-5.2,2-5.2,5.7s1.8,6.2,4.7,6.2c0.8,0,1.5-0.1,2.1-0.3v-5.1h3.2v6.6c-1.1,0.7-2.9,1.4-5.4,1.4%20C283.2,429.1,280,426.3,280,420.5z'/%3e%3cpath%20id='XMLID_24_'%20class='st3'%20d='M296.5,412.3h3.2v7.3l6.5-7.3h3.3l-5.9,6.6l6.3,9.9h-3.6l-4.7-7.7l-1.9,2.1v5.5h-3.2%20L296.5,412.3L296.5,412.3z'/%3e%3cpath%20id='XMLID_22_'%20class='st3'%20d='M310.1,412.3h3.3l3.9,11.5h0.1l4-11.5h3.1l-5.9,16.5H316L310.1,412.3z'/%3e%3cpath%20id='XMLID_19_'%20class='st3'%20d='M329.2,413.9l-0.6-1.7h3.3l6.5,16.5h-3.3l-1.3-3.4h-6.1l-1.3,3.4h-3.1L329.2,413.9z%20M328.6,423h4.4l-1.7-4.5l-0.5-1.4l-0.5,1.4L328.6,423z'/%3e%3cpath%20id='XMLID_17_'%20class='st3'%20d='M340.4,412.3h3.2V426h6.1v2.8h-9.3L340.4,412.3L340.4,412.3z'/%3e%3cpath%20id='XMLID_15_'%20class='st3'%20d='M352.1,412.3h3.2v16.5h-3.2V412.3z'/%3e%3cpath%20id='XMLID_13_'%20class='st3'%20d='M362.3,415h-4.7v-2.7h12.6v2.7h-4.7v13.7h-3.2L362.3,415L362.3,415z'/%3e%3cpath%20id='XMLID_11_'%20class='st3'%20d='M372.6,412.3h10.5v2.7h-7.3v3.9h4.9v2.5h-4.9v4.6h7.3v2.7h-10.5V412.3z'/%3e%3cpath%20id='XMLID_9_'%20class='st3'%20d='M389.4,415h-4.7v-2.7h12.6v2.7h-4.7v13.7h-3.2L389.4,415L389.4,415z'/%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20id='hamburgermeny'%20class='st0'%3e%3crect%20id='XMLID_94_'%20x='578'%20y='386'%20class='st4'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_95_'%20x='578'%20y='423'%20class='st4'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_96_'%20x='578'%20y='405'%20class='st4'%20width='60'%20height='6'/%3e%3c/g%3e%3cg%20id='hamburgermeny__hover'%20class='st0'%3e%3crect%20id='XMLID_97_'%20x='578'%20y='386'%20class='st5'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_93_'%20x='578'%20y='423'%20class='st5'%20width='60'%20height='6'/%3e%3crect%20id='XMLID_91_'%20x='578'%20y='405'%20class='st5'%20width='60'%20height='6'/%3e%3c/g%3e%3c/svg%3e",hr=e=>(e==null?void 0:e.logo)??"",pr=e=>(e==null?void 0:e.logoPadding)??"",fr=e=>(e==null?void 0:e.appName)??"",gr="_navigationBarContainer_yyg3t_1",vr="_primary_yyg3t_5",br="_neutral_yyg3t_8",xr="_secondary_yyg3t_11",yr="_mainContentLink_yyg3t_14",jr="_compact_yyg3t_43",wr="_navigationBar_yyg3t_1",kr="_logoContainer_yyg3t_87",Cr="_childElements_yyg3t_100",Lr="_menuToggle_yyg3t_106",Ir="_hamburgerIcon_yyg3t_134",Nr="_active_yyg3t_170",Er="_dropdownContainer_yyg3t_179",$r="_dropdown_yyg3t_179",Sr="_primaryList_yyg3t_212",Mr="_secondaryList_yyg3t_213",Br="_closeOverlay_yyg3t_341",Tr="_closeText_yyg3t_358",Dr="_closeIcon_yyg3t_361",Ar="_closeLine_yyg3t_367",Rr="_line_yyg3t_461",F={navigationBarContainer:gr,primary:vr,neutral:br,secondary:xr,mainContentLink:yr,compact:jr,navigationBar:wr,logoContainer:kr,childElements:Cr,menuToggle:Lr,hamburgerIcon:Ir,active:Nr,dropdownContainer:Er,dropdown:$r,primaryList:Sr,secondaryList:Mr,closeOverlay:Br,closeText:Tr,closeIcon:Dr,closeLine:Ar,line:Rr},Ae=({listItem:e})=>typeof e=="string"?t.jsx("li",{children:t.jsx("span",{children:e})}):typeof e=="object"?t.jsx("li",{children:t.jsx("a",{href:e.href,children:e.name})}):null,zr=({primaryListItems:e=[],secondaryListItems:s=[],menuContent:n,logoLink:o="",logoLinkTitle:r,openLogoLinkInNewTab:a,theme:m,compact:l,mainContentId:_,color:d="neutral",children:h})=>{const[f,g]=i.useState(!1),j=()=>g(!f),L=()=>g(!1),b=D=>({padding:pr(D)}),N=(D=e,P=0)=>D.length?t.jsx("ul",{className:F.primaryList,children:D.map((x,O)=>{const X=`${P}-${O}`;return x.listItems?t.jsxs("li",{children:[t.jsx("span",{children:x.name}),N(x.listItems,P+1)]},X):t.jsx(Ae,{listItem:x},X)})}):null,B=()=>s.length?t.jsx("ul",{className:F.secondaryList,children:s.map(D=>t.jsx(Ae,{listItem:D},D.name))}):null,k=(D,P)=>{const x=hr(m),O=fr(m),X=D&&P?"":x&&O?`${O} logo`:"DIBK logo",w=x?t.jsx("img",{alt:X,src:x,style:b(m)}):t.jsx("img",{alt:X,src:l?mr:_r});return D!=null&&D.length?t.jsx("a",{href:D,title:P,target:a?"_blank":void 0,rel:a?"noopener noreferrer":void 0,children:w}):w},R=e.length>0||s.length>0||!!n,Y=i.useId(),Z=i.useId(),E=i.useId();return t.jsxs("div",{className:S([l&&F.compact,d&&F[d],F.navigationBarContainer]),children:[_&&t.jsx("a",{id:Y,href:`#${_}`,className:F.mainContentLink,children:t.jsx("span",{id:Z,children:"Hopp til hovedinnhold"})}),t.jsxs("div",{className:S([F.navigationBar]),children:[t.jsx("div",{className:F.logoContainer,children:k(o,r)}),h&&t.jsx("div",{className:F.childElements,children:h}),R&&t.jsxs("button",{type:"button",className:`${F.menuToggle} ${f?F.active:""}`,onClick:j,"aria-expanded":f?"true":"false","aria-controls":E,children:[!l&&"Meny",t.jsxs("span",{className:F.hamburgerIcon,children:[t.jsx("span",{className:F.line}),t.jsx("span",{className:F.line}),t.jsx("span",{className:F.line})]})]})]}),R&&t.jsx("div",{className:S([F.dropdownContainer,f&&F.active]),role:"dialog","aria-modal":"true","aria-label":"Hovedmeny",children:t.jsxs("div",{id:E,className:F.dropdown,children:[n??t.jsxs(t.Fragment,{children:[N(),B()]}),!l&&t.jsxs("button",{type:"button",className:F.closeOverlay,onClick:L,"aria-label":"Lukk meny",children:[t.jsx("span",{className:F.closeText,children:"Lukk"}),t.jsxs("span",{"aria-hidden":"true",className:F.closeIcon,children:[t.jsx("span",{className:F.closeLine}),t.jsx("span",{className:F.closeLine})]})]})]})})]})},Pr="_paragraph_1mdeu_1",qr="_lead_1mdeu_9",Fr="_large_1mdeu_14",Vr="_small_1mdeu_19",et={paragraph:Pr,lead:qr,large:Fr,small:Vr},Or=({id:e,htmlTag:s="p",variant:n="large",children:o,className:r})=>{const a=S([et.paragraph,et[n],r]);return i.createElement(s,{className:a,id:e||void 0},o)},Xr="_paper_1lgl3_1",Hr="_noMargin_1lgl3_6",Yr="_noPadding_1lgl3_9",Se={paper:Xr,noMargin:Hr,noPadding:Yr},Zr=({noMargin:e=!1,noPadding:s=!1,children:n})=>{const o=[Se.paper,e&&Se.noMargin,s&&Se.noPadding].filter(Boolean).join(" ");return t.jsx("div",{className:o,children:n})},Wr="_progressBar_t5aid_1",Gr="_hasErrors_t5aid_23",tt={progressBar:Wr,hasErrors:Gr},Ur=({progress:e=0,hasErrors:s=!1})=>t.jsx("div",{className:`${tt.progressBar} ${s?tt.hasErrors:""}`,role:"progressbar","aria-valuenow":e,"aria-valuemin":0,"aria-valuemax":100,style:{"--value":e}}),Jr="_radioButtonIcon_32fe0_1",Kr="_hasErrors_32fe0_22",Qr="_checked_32fe0_32",eo="_disabled_32fe0_48",Ce={radioButtonIcon:Jr,hasErrors:Kr,checked:Qr,disabled:eo},dt=({size:e="10px",checked:s=!1,disabled:n=!1,hasErrors:o=!1})=>{const r={height:e,width:e},a=[Ce.radioButtonIcon,s&&Ce.checked,n&&Ce.disabled,o&&Ce.hasErrors].filter(Boolean).join(" ");return t.jsx("span",{className:a,style:r})},to="_radioButtonInput_1i7cy_1",so="_requiredSymbol_1i7cy_6",no="_disabled_1i7cy_13",ro="_labelText_1i7cy_19",oo="_hasErrors_1i7cy_27",pe={radioButtonInput:to,requiredSymbol:so,disabled:no,labelText:ro,hasErrors:oo},qe=({checked:e=!1,disabled:s=!1,required:n=!1,requiredGroup:o=!1,id:r,name:a="",onChange:m,contentOnly:l=!1,hasErrors:_=!1,inputValue:d,tabIndex:h,children:f,"aria-controls":g,"aria-describedby":j})=>{const L=[pe.radioButtonInput,e&&pe.checked,s&&pe.disabled,_&&pe.hasErrors].filter(Boolean).join(" "),b={checked:e,disabled:s,hasErrors:!l&&_},N={id:r,name:a,type:"radio",value:d,checked:e,disabled:s,required:n||o,onChange:m,tabIndex:h??void 0,"aria-controls":g,"aria-invalid":_?"true":void 0,"aria-describedby":j};return t.jsxs("label",{htmlFor:r,className:L,children:[!l&&t.jsxs(t.Fragment,{children:[t.jsx(dt,{...b}),t.jsx("input",{...N})]}),t.jsxs("span",{className:pe.labelText,children:[f,n&&t.jsx("img",{src:ce,alt:"",className:pe.requiredSymbol})]})]})},ao="_radioButtonList_1cyu3_1",co="_requiredSymbol_1cyu3_16",st={radioButtonList:ao,requiredSymbol:co},lo=({legend:e,legendSize:s,required:n=!1,compact:o=!1,children:r})=>{const a=m=>ve(m).map(_=>{var d;return i.isValidElement(_)&&((d=_.type)==null?void 0:d.displayName)==="RadioButtonListItem"?i.cloneElement(_,{requiredGroup:n,compact:o,key:`radioButtonListItem-${_.key}`}):_});return t.jsxs("fieldset",{className:st.radioButtonList,children:[!!(e!=null&&e.length)&&t.jsxs("legend",{children:[s?t.jsx(Pe,{size:s,children:e}):e,n&&t.jsx("img",{src:ce,alt:"",className:st.requiredSymbol})]}),a(i.Children.toArray(r))]})},io="_radioButtonListItem_1ggab_1",uo="_contentOnly_1ggab_26",_o="_compact_1ggab_26",mo="_disabled_1ggab_41",ho="_checked_1ggab_44",fe={radioButtonListItem:io,contentOnly:uo,compact:_o,disabled:mo,checked:ho},po=({inputValue:e,checked:s=!1,disabled:n=!1,required:o=!1,requiredGroup:r=!1,name:a="",id:m,onChange:l,contentOnly:_=!1,compact:d=!1,hasErrors:h=!1,"aria-controls":f,"aria-describedby":g,children:j})=>{const L=S([fe.radioButtonListItem,s&&fe.checked,n&&fe.disabled,d&&fe.compact,_&&fe.contentOnly,h&&fe.hasErrors]),b={onChange:l,inputValue:e,checked:s,disabled:n,required:o,requiredGroup:r,contentOnly:_,hasErrors:h,"aria-controls":f,"aria-describedby":g,id:m,name:a};return t.jsx("div",{className:L,children:t.jsx(qe,{...b,children:j})})},fo="_select_vw2qd_1",go="_requiredSymbol_vw2qd_1",vo="_selectContainer_vw2qd_8",bo="_small_vw2qd_11",xo="_selectListArrow_vw2qd_11",yo="_multipleSelectDropdown_vw2qd_50",jo="_multipleSelectElement_vw2qd_60",wo="_hasErrors_vw2qd_115",ee={select:fo,requiredSymbol:go,selectContainer:vo,small:bo,selectListArrow:xo,multipleSelectDropdown:yo,multipleSelectElement:jo,hasErrors:wo},ut=e=>{const{id:s,name:n="",required:o=!1,disabled:r=!1,options:a=[],width:m,label:l="",contentOnly:_=!1,keyAsContent:d=!1,placeholder:h="",placeholderValue:f="",defaultContent:g="",role:j,"aria-describedby":L,hasErrors:b=!1,errorMessage:N="",size:B="medium"}=e,[k,T]=i.useState(!1),R=i.useRef(null),Y=i.useCallback(p=>{p&&rt(p)},[]),Z=()=>T(!1);i.useEffect(()=>{const p=V=>{V.key==="Escape"&&Z()},I=V=>{R.current&&!R.current.contains(V.target)&&Z()};return document.addEventListener("mousedown",I),document.addEventListener("keydown",p),()=>{document.removeEventListener("mousedown",I),document.removeEventListener("keydown",p)}},[]);const E=p=>typeof p=="object"?{key:p.key,value:p.value}:{key:p,value:p},D=p=>{const I=a.map(E).find(V=>V.value===p||V.key===p);return I?I.key??I.value:p},P=p=>Array.isArray(p)?p:p==null?[]:[p],x=()=>e.value!==void 0?P(e.value):e.defaultValue!==void 0?P(e.defaultValue):[],O=()=>{const p=x();return p.length===0?h||g||"":p.map(D).join(", ")},X=p=>{const I=x(),U=I.includes(p)?I.filter(c=>c!==p):[...I,p];e.multiple&&e.onChange(U)},w=()=>{const p=x();return a.map(I=>{const{key:V,value:U}=E(I),c=p.includes(U),y=`${s}-${String(U)}`;return t.jsx(at,{id:y,value:U,checked:c,onChange:()=>X(U),children:V},String(U))})},M=()=>`${s}-errorMessage`;if(_){const p=x(),I=p.length===0?g:d?p.map(D).join(", "):p.join(", ");return t.jsxs("div",{className:ee.select,children:[t.jsx(de,{htmlFor:s,children:l}),t.jsx("span",{children:I})]})}const G=p=>{const I=a.map(E).find(V=>String(V.value)===p);return I?I.value:p};return t.jsxs("div",{className:ee.select,children:[t.jsxs(de,{htmlFor:s,children:[l,o&&t.jsx("img",{src:ce,alt:"",className:ee.requiredSymbol})]}),t.jsxs("div",{className:S([ee.selectContainer,B==="small"&&ee.small]),style:m?{maxWidth:m}:void 0,children:[t.jsx("span",{className:ee.selectListArrow}),e.multiple?t.jsxs("div",{ref:R,children:[t.jsx("button",{type:"button",id:s,"aria-haspopup":"listbox","aria-expanded":k,onClick:()=>T(p=>!p),className:S([ee.multipleSelectElement,B==="small"&&ee.small]),disabled:r,children:O()}),k&&t.jsx("div",{ref:Y,className:ee.multipleSelectDropdown,role:"listbox","aria-multiselectable":"true","aria-labelledby":s,children:t.jsx(ot,{compact:!0,children:w()})})]}):t.jsxs("select",{name:n,required:o,disabled:r,onChange:p=>e.onChange(G(p.target.value)),id:s,role:j,className:S([b&&ee.hasErrors,B==="small"&&ee.small]),"aria-describedby":b&&N?M():L,"aria-invalid":b||void 0,style:m?{maxWidth:m}:void 0,...e.value!==void 0?{value:e.value}:e.defaultValue!==void 0?{defaultValue:e.defaultValue}:{},children:[h&&t.jsx("option",{value:f,disabled:!0,children:h}),a.map(p=>{const{key:I,value:V}=E(p);return t.jsx("option",{value:String(V),children:I},String(V))})]})]}),t.jsx(ge,{id:M(),content:N})]})},ko="_wizardTopnavItem_5ar16_1",Co="_wizardTopnavItemContent_5ar16_4",Lo="_vertical_5ar16_7",Io="_stepNumber_5ar16_24",No="_stepName_5ar16_36",Eo="_active_5ar16_46",$o="_finished_5ar16_46",So="_hasErrors_5ar16_46",Mo="_horizontal_5ar16_64",se={wizardTopnavItem:ko,wizardTopnavItemContent:Co,vertical:Lo,stepNumber:Io,stepName:No,active:Eo,finished:$o,hasErrors:So,horizontal:Mo},Bo="data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%20aria-label='Ferdig'%20style='fill:%20rgb(23,%20121,%2018);'%3e%3cmask%20id='mask0_1089_7430'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='20'%20height='20'%20style='mask-type:%20alpha;'%3e%3crect%20width='20'%20height='20'%3e%3c/rect%3e%3c/mask%3e%3cg%20mask='url(%23mask0_1089_7430)'%3e%3cpath%20d='M5.71427%208.57149L3.80951%2010.4762L8.57141%2015.2382L17.1428%206.66672L15.2381%204.76196L8.57141%2011.4286L5.71427%208.57149Z'%3e%3c/path%3e%3c/g%3e%3c/svg%3e",_t=({step:e,index:s,activeStepId:n,direction:o="vertical"})=>{const r=n===e.id,a=o==="vertical",m=S([se.wizardTopnavItem,r&&se.active,e.finished&&se.finished,e.hasErrors&&se.hasErrors,se[o]]),l=r?"step":void 0,_=()=>t.jsxs(t.Fragment,{children:[t.jsx("span",{className:se.stepNumber,children:s+1}),t.jsx("span",{className:se.stepName,children:e.name}),a&&e.finished&&!r&&t.jsx("img",{src:Bo,alt:"",className:se.checkmarkSymbol})]});return e.link&&Object.keys(e.link).length>0?t.jsx("li",{className:m,children:t.jsx(Te.Link,{to:e.link,"aria-current":l,className:se.wizardTopnavItemContent,children:_()})}):t.jsx("li",{className:m,children:t.jsx("span",{"aria-current":l,className:se.wizardTopnavItemContent,children:_()})})},To="_table_kaso3_1",Do="_thButton_kaso3_30",Ao="_sortable_kaso3_41",Ro="_label_kaso3_51",zo="_sortIndicators_kaso3_55",Po="_sortArrow_kaso3_61",qo="_activeArrow_kaso3_67",Fo="_evenRow_kaso3_71",Vo="_oddRow_kaso3_74",Oo="_selectionHeader_kaso3_85",Xo="_selectionCell_kaso3_91",Ho="_selectionControl_kaso3_105",Yo="_rowClickable_kaso3_112",Zo="_srOnly_kaso3_119",Wo="_pagination_kaso3_130",Go="_paginationControls_kaso3_137",Uo="_pageSizeSelector_kaso3_145",Jo="_pageButton_kaso3_149",Ko="_pageInfo_kaso3_167",z={table:To,thButton:Do,sortable:Ao,label:Ro,sortIndicators:zo,sortArrow:Po,activeArrow:qo,evenRow:Fo,oddRow:Vo,selectionHeader:Oo,selectionCell:Xo,selectionControl:Ho,rowClickable:Yo,srOnly:Zo,pagination:Wo,paginationControls:Go,pageSizeSelector:Uo,pageButton:Jo,pageInfo:Ko},Qo=({columns:e,data:s,caption:n,getRowId:o,selectionType:r,selectionLabel:a="Velg rad",selectedRowId:m,onSelect:l,selectedRowIds:_,onSelectMany:d,onRowClick:h,pageSize:f,page:g,defaultPage:j=1,onPageChange:L,pageSizeOptions:b,defaultPageSize:N,onPageSizeChange:B})=>{const[k,T]=i.useState(null),R=i.useId(),[Y,Z]=i.useState(j),[E,D]=i.useState(()=>{if(f===void 0){if(N&&N>0)return N;if(b!=null&&b.length)return b[0]}});i.useEffect(()=>{const u=e.find(v=>v.sortable);T(u?{headerKey:u.key,direction:"asc"}:null)},[e]);const P=i.useMemo(()=>{const u=new Map;for(const v of e)u.set(v.key,v);return u},[e]),x=i.useMemo(()=>{if(!k)return s;const u=P.get(k.headerKey);if(!u)return s;const v=u.sortAccessor??u.accessor;if(!v)return s;const C=[...s];return C.sort((J,Q)=>{const $=v(J),H=v(Q);if($==null||H==null)return 0;if(typeof $=="number"&&typeof H=="number")return k.direction==="asc"?$-H:H-$;if($ instanceof Date&&H instanceof Date)return k.direction==="asc"?$.getTime()-H.getTime():H.getTime()-$.getTime();const le=String($),ie=String(H);return k.direction==="asc"?le.localeCompare(ie,void 0,{numeric:!0}):ie.localeCompare(le,void 0,{numeric:!0})}),C},[s,k,P]),O=u=>{T(v=>!v||v.headerKey!==u?{headerKey:u,direction:"asc"}:{headerKey:u,direction:v.direction==="asc"?"desc":"asc"})},X=(u,v)=>{if(v)return(k==null?void 0:k.headerKey)!==u?"none":k.direction==="asc"?"ascending":"descending"},w=(u,v)=>{const C=o==null?void 0:o(u,v);if(C==null||C===""){const J=s.indexOf(u);return J===-1?v:J}return C},M=i.useMemo(()=>r!=="multiple"?new Set:new Set(_??[]),[_,r]),G=i.useMemo(()=>{const u=f??E;return!u||u<=0?x.length||s.length||1:u},[f,E,x.length,s.length]),p=i.useMemo(()=>Math.max(1,Math.ceil(x.length/G)),[x.length,G]),I=i.useMemo(()=>{const u=g??Y;return!Number.isFinite(u)||u<1?1:u>p?p:u},[g,Y,p]);i.useEffect(()=>{g===void 0&&I>p&&Z(p)},[I,p,g]);const V=i.useMemo(()=>{if(G>=x.length)return x;const u=(I-1)*G;return x.slice(u,u+G)},[x,I,G]),U=u=>{const v=Math.min(Math.max(u,1),p);g!==void 0?L==null||L(v):Z(v)},c=u=>{const v=u>0?Math.floor(u):1;f!==void 0?B==null||B(v):(D(v),Z(1))},y=p>1,A=!!(b!=null&&b.length);return t.jsxs(t.Fragment,{children:[t.jsxs("table",{className:z.table,children:[n&&t.jsx("caption",{children:n}),t.jsx("thead",{children:t.jsxs("tr",{children:[r&&t.jsx("th",{className:z.selectionHeader,"aria-label":a,children:t.jsx("span",{className:z.srOnly,children:a})}),e.map(({key:u,label:v,sortable:C,ariaLabel:J})=>{const Q=(k==null?void 0:k.headerKey)===u,$=Q&&k.direction==="asc",H=Q&&k.direction==="desc";return t.jsx("th",{"aria-sort":X(u,C),scope:"col",children:C?t.jsxs("button",{type:"button",className:`${z.thButton} ${z.sortable}`,onClick:()=>O(u),"aria-label":`${J??v}: sort ${Q&&$?"descending":"ascending"}`,children:[t.jsx("span",{className:z.label,children:v}),t.jsxs("span",{className:z.sortIndicators,"aria-hidden":"true",children:[t.jsx("span",{className:`${z.sortArrow} ${$?z.activeArrow:""}`,children:t.jsx("svg",{viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:t.jsx("path",{d:"M2 6 6 2 10 6",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})}),t.jsx("span",{className:`${z.sortArrow} ${H?z.activeArrow:""}`,children:t.jsx("svg",{viewBox:"0 0 12 8",xmlns:"http://www.w3.org/2000/svg",role:"presentation",children:t.jsx("path",{d:"M2 2 6 6 10 2",fill:"none",stroke:"currentColor",strokeWidth:"1.8",strokeLinecap:"round",strokeLinejoin:"round"})})})]})]}):t.jsx("span",{className:z.thButton,children:t.jsx("span",{className:z.label,children:v})})},u)})]})}),t.jsx("tbody",{children:V.map((u,v)=>{const C=w(u,v),J=`${R}-${C}`,Q=r==="single"&&m===C,$=r==="multiple"&&M.has(C),ie=!!h||r==="single"&&!!l||r==="multiple"&&!!d,pt=()=>{if(r==="single")l==null||l(u);else if(r==="multiple"&&d){const q=new Set(M);q.has(C)?q.delete(C):q.add(C);const oe=s.filter((Le,Ie)=>{const Ne=w(Le,Ie);return q.has(Ne)});d(oe)}h==null||h(u)};return t.jsxs("tr",{className:S([v%2===0?z.evenRow:z.oddRow,ie&&z.rowClickable]),onClick:ie?pt:void 0,children:[r==="single"&&t.jsx("td",{className:z.selectionCell,children:t.jsx("button",{type:"button",className:z.selectionControl,onClick:q=>q.stopPropagation(),children:t.jsx(qe,{id:J,name:R,inputValue:String(C),checked:Q,onChange:q=>{q==null||q.stopPropagation(),l==null||l(u)},"aria-label":a})})}),r==="multiple"&&t.jsx("td",{className:z.selectionCell,children:t.jsx("button",{type:"button",className:z.selectionControl,onClick:q=>q.stopPropagation(),children:t.jsx(ze,{id:J,value:String(C),checked:$,onChange:q=>{if(q==null||q.stopPropagation(),!d)return;const oe=new Set(M);oe.has(C)?oe.delete(C):oe.add(C);const Le=s.filter((Ie,Ne)=>{const ft=w(Ie,Ne);return oe.has(ft)});d(Le)},"aria-label":a})})}),e.map(q=>{var oe;return t.jsx("td",{children:q.render?q.render(u):String(((oe=q.accessor)==null?void 0:oe.call(q,u))??"")},q.key)})]},C)})})]}),(y||A)&&t.jsxs("div",{className:z.paginationControls,children:[A&&t.jsx("div",{className:z.pageSizeSelector,children:t.jsx(ut,{id:`${R}-page-size`,label:"Rader per side",options:b,value:G,onChange:u=>c(Number(u)),width:"120px",size:"small"})}),y&&t.jsxs("div",{className:z.pagination,children:[t.jsx("button",{type:"button",className:z.pageButton,onClick:()=>U(I-1),disabled:I<=1,"aria-label":"Forrige side",children:"Forrige"}),t.jsxs("span",{className:z.pageInfo,children:["Side ",I," av ",p]}),t.jsx("button",{type:"button",className:z.pageButton,onClick:()=>U(I+1),disabled:I>=p,"aria-label":"Neste side",children:"Neste"})]})]})]})},ea="_tabs_r5vii_1",ta="_tabList_r5vii_5",sa="_tab_r5vii_1",na="_active_r5vii_41",ra="_disabled_r5vii_47",oa="_tabLabel_r5vii_55",aa="_tabAmount_r5vii_59",ca="_tabPanels_r5vii_66",la="_tabPanel_r5vii_66",ia="_hidden_r5vii_74",re={tabs:ea,tabList:ta,tab:sa,active:na,disabled:ra,tabLabel:oa,tabAmount:aa,tabPanels:ca,tabPanel:la,hidden:ia},ye=({children:e,defaultIndex:s=0,onChange:n,className:o})=>{const[r,a]=i.useState(s),m=i.useId(),l=i.useMemo(()=>m.replace(/:/g,""),[m]),_=d=>{a(d),n==null||n(d)};return t.jsx("div",{className:S([re.tabs,o]),children:i.Children.map(e,d=>i.isValidElement(d)?d.type===mt?i.cloneElement(d,{activeIndex:r,setActiveIndex:_,baseId:l}):d.type===ht?i.cloneElement(d,{activeIndex:r,baseId:l}):d:null)})},mt=({children:e,activeIndex:s=0,setActiveIndex:n,baseId:o})=>{const r=i.useMemo(()=>i.Children.toArray(e).filter(l=>i.isValidElement(l)),[e]),a=r.length,m=(l,_)=>{if(!n||a===0)return;let d=_;switch(l.key){case"ArrowRight":l.preventDefault(),d=(_+1)%a;break;case"ArrowLeft":l.preventDefault(),d=(_-1+a)%a;break;case"Home":l.preventDefault(),d=0;break;case"End":l.preventDefault(),d=a-1;break;default:return}n(d)};return t.jsx("div",{className:re.tabList,role:"tablist",children:r.map((l,_)=>{if(!i.isValidElement(l))return null;const d=`${o}-tab-${_}`,h=`${o}-panel-${_}`,f=_===s;return i.cloneElement(l,{tabId:d,panelId:h,isActive:f,onSelect:()=>n==null?void 0:n(_),onKeyDown:g=>m(g,_)})})})},da=({children:e,amount:s,isActive:n,onSelect:o,onClick:r,onKeyDown:a,tabId:m,panelId:l,className:_,...d})=>{const h=S([re.tab,n&&re.active,d.disabled&&re.disabled,_]),f=j=>{r==null||r(j),!j.defaultPrevented&&(o==null||o())},g=j=>{a==null||a(j)};return t.jsxs("button",{...d,id:m,role:"tab",type:"button","aria-selected":n,"aria-controls":l,className:h,onClick:f,onKeyDown:g,children:[t.jsx("span",{className:re.tabLabel,children:e}),s&&t.jsx("span",{className:re.tabAmount,children:s})]})},ht=({children:e,activeIndex:s=0,baseId:n})=>t.jsx("div",{className:re.tabPanels,children:i.Children.map(e,(o,r)=>{if(!i.isValidElement(o))return null;const a=`${n}-tab-${r}`,m=`${n}-panel-${r}`;return i.cloneElement(o,{isActive:r===s,tabId:a,panelId:m})})}),ua=({children:e,isActive:s,tabId:n,panelId:o})=>t.jsx("div",{role:"tabpanel",id:o,"aria-labelledby":n,className:S([re.tabPanel,!s&&re.hidden]),hidden:!s,children:e});ye.List=mt;ye.Tab=da;ye.Panels=ht;ye.Panel=ua;const _a=e=>{let s="";const n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",o=n.length;for(let r=0;r<e;r++)s+=n.charAt(Math.floor(Math.random()*o));return s},ma="_textarea_1596u_1",ha="_requiredSymbol_1596u_4",pa="_hasErrors_1596u_55",Me={textarea:ma,requiredSymbol:ha,hasErrors:pa},fa=({id:e,onChange:s,onBlur:n,name:o="",required:r=!1,readOnly:a,disabled:m,width:l,resize:_="both",value:d,defaultValue:h,elementKey:f,rows:g,label:j="",contentOnly:L=!1,placeholder:b="",defaultContent:N="","aria-describedby":B,hasErrors:k=!1,errorMessage:T=""})=>{const R=()=>`${e}-errorMessage`,Y=!(d!=null&&d.length)&&(h!=null&&h.length)?h:void 0,Z=f||`${e}-${_a(6)}`,E={...l&&{maxWidth:l},..._&&{resize:_}},D={name:o,readOnly:a,disabled:m,required:r,id:e,onChange:s,onBlur:n,value:Y?void 0:d,defaultValue:Y||void 0,placeholder:b,rows:g?parseInt(g,10):void 0,className:k?Me.hasErrors:"","aria-describedby":k&&T?R():B,"aria-invalid":k?"true":void 0,style:E};return t.jsxs("div",{className:Me.textarea,children:[t.jsxs(de,{htmlFor:e,children:[j,r&&t.jsx("img",{src:ce,alt:"",className:Me.requiredSymbol})]}),L?t.jsx("span",{children:d||h||N}):t.jsx("textarea",{...D},Z),t.jsx(ge,{id:R(),content:T})]})},ga=({theme:e,children:s})=>{const n=wt(e),o=Ct(n);return kt("theme-provider",`:root {${o}}`),s},va="_toggleNavigationButton_1eb2w_1",ba={toggleNavigationButton:va},xa=({id:e,htmlTag:s="button",showText:n,hideText:o,buttonProps:r={},isOpen:a=!1})=>i.createElement(s,{...r,className:ba.toggleNavigationButton,id:e||void 0},a?o:n),ya="_wizardTopnavContainer_qiy2o_1",ja="_wizardTopnav_qiy2o_1",wa="_vertical_qiy2o_6",ka="_horizontal_qiy2o_11",Be={wizardTopnavContainer:ya,wizardTopnav:ja,vertical:wa,horizontal:ka},Ca=({steps:e,activeStepId:s,direction:n="vertical","aria-label":o})=>{const r=Object.keys(e),m=`I dette skjemaet er det totalt ${r.length} steg som du skal gå igjennom`,l=o!=null&&o.length?o:m;return t.jsx("nav",{"aria-label":l,className:S([Be.wizardTopnavContainer,Be[n]]),children:t.jsx("ol",{className:Be.wizardTopnav,children:r.map((_,d)=>t.jsx(_t,{step:e[_],activeStepId:s,direction:n,index:d},_))})})};exports.Accordion=Vt;exports.Button=Re;exports.CheckBoxIcon=De;exports.CheckBoxInput=ze;exports.CheckBoxList=ot;exports.CheckBoxListItem=at;exports.Container=ct;exports.ContentBox=Rs;exports.DescriptionDetails=qs;exports.DescriptionList=Os;exports.DescriptionTerm=Ys;exports.Dialog=an;exports.DragAndDropFileInput=gn;exports.ErrorBox=Dn;exports.ErrorMessage=ge;exports.Footer=zn;exports.Header=Pe;exports.InfoBox=it;exports.InputField=Un;exports.Label=de;exports.Lead=Qn;exports.List=sr;exports.ListItem=or;exports.LoadingAnimation=lr;exports.LoadingAnimation2=ur;exports.NavigationBar=zr;exports.NavigationBarListItem=Ae;exports.Paper=Zr;exports.Paragraph=Or;exports.ProgressBar=Ur;exports.RadioButtonIcon=dt;exports.RadioButtonInput=qe;exports.RadioButtonList=lo;exports.RadioButtonListItem=po;exports.Select=ut;exports.Table=Qo;exports.Tabs=ye;exports.Textarea=fa;exports.ThemeProvider=ga;exports.ToggleNavigationButton=xa;exports.WizardNavigation=Ca;exports.WizardNavigationStep=_t;
6
+ <%s key={someKey} {...props} />`,Z,A,P,A),ae[A+Z]=!0)}if(A=null,X!==void 0&&(r(X),A=""+X),s(w)&&(r(w.key),A=""+w.key),"key"in w){X={};for(var D in w)D!=="key"&&(X[D]=w[D])}else X=w;return A&&u(X,typeof x=="function"?x.displayName||x.name||"Unknown":x),l(x,A,X,n(),ie,re)}function g(x){p(x)?x._store&&(x._store.validated=1):typeof x=="object"&&x!==null&&x.$$typeof===V&&(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"),v=Symbol.for("react.strict_mode"),G=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),S=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),B=Symbol.for("react.suspense_list"),_=Symbol.for("react.memo"),V=Symbol.for("react.lazy"),L=Symbol.for("react.activity"),M=Symbol.for("react.client.reference"),q=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=Object.prototype.hasOwnProperty,ne=Array.isArray,$=console.createTask?console.createTask:function(){return null};f={react_stack_bottom_frame:function(x){return x()}};var k,O={},j=f.react_stack_bottom_frame.bind(f,a)(),se=$(o(a)),ae={};je.Fragment=b,je.jsx=function(x,w,X){var Z=1e4>q.recentlyCreatedOwnerStacks++;return c(x,w,X,!1,Z?Error("react-stack-top-frame"):j,Z?$(o(x)):se)},je.jsxs=function(x,w,X){var Z=1e4>q.recentlyCreatedOwnerStacks++;return c(x,w,X,!0,Z?Error("react-stack-top-frame"):j,Z?$(o(x)):se)}})()),je}var In;function ho(){return In||(In=1,process.env.NODE_ENV==="production"?ut.exports=mo():ut.exports=vo()),ut.exports}var d=ho();const Y=t=>t?.filter(Boolean).join(" ")||"",gr=t=>t.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g,"$1-$2").toLowerCase(),Io=t=>!t?.colors||!Object.entries(t.colors).length?{}:Object.entries(t.colors).reduce((e,[r,o])=>(r&&o&&(e[`--color-${gr(r)}`]=o),e),{}),Co=t=>!t?.sizes||!Object.entries(t.sizes).length?{}:Object.entries(t.sizes).reduce((e,[r,o])=>(r&&o&&(e[`--size-${gr(r)}`]=o),e),{}),xo=t=>({...Io(t),...Co(t)}),yo=(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)},Ao=t=>Object.entries(t).map(([e,r])=>`${e}: ${r};`).join(""),Ze=t=>{const e=[];return C.Children.forEach(t,r=>{if(C.isValidElement(r)){const o=r;if(o.type===C.Fragment){const n=Ze(o.props.children);e.push(...n)}else e.push(C.cloneElement(o,{...o.props}))}else e.push(r)}),e},Eo=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()},Go=t=>Array.from(t.querySelectorAll('button, [href], input, [tabindex="0"]')).filter(r=>!!r),So=t=>{Eo(t);const e=Go(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())})},Bo="_accordion_kwqaf_67",_o="_panel_kwqaf_76",Ro="_content_kwqaf_77",wo="_secondary_kwqaf_80",No="_info_kwqaf_88",Vo="_contrast_kwqaf_96",Fo="_margin_kwqaf_104",Po="_panelText_kwqaf_138",To="_panelChevron_kwqaf_144",Xo="_expanded_kwqaf_171",Mo="_initialized_kwqaf_187",Wo="_hide_kwqaf_1",Lo="_show_kwqaf_1",ye={accordion:Bo,default:"_default_kwqaf_73",panel:_o,content:Ro,secondary:wo,info:No,contrast:Vo,margin:Fo,panelText:Po,panelChevron:To,expanded:Xo,initialized:Mo,hide:Wo,show:Lo},Oo=({title:t,buttonProps:e,expanded:r,handleToggleExpand:o})=>d.jsxs("button",{...e,className:ye.panel,onClick:o,"aria-expanded":r?"true":"false",children:[d.jsx("span",{className:ye.panelText,children:t}),d.jsx("span",{className:`${ye.panelChevron} ${r?ye.expanded:""}`})]}),Zo=({title:t,color:e="default",expanded:r=!1,onToggleExpand:o,buttonProps:n,noMargin:a=!1,initialized:s,children:u,...i})=>{const[l,c]=C.useState(r),[g,p]=C.useState(s),f=()=>{c(!l),p(!0),o&&o()};C.useEffect(()=>{c(r)},[r]);const I=Y([ye.accordion,e&&ye[e],!a&&ye.margin,i.className]);return d.jsxs("div",{className:I,...i,children:[d.jsx(Oo,{title:t??"",buttonProps:n??{},expanded:l??!1,handleToggleExpand:f}),d.jsx("div",{className:`${ye.content} ${g?ye.initialized:""} ${l?ye.expanded:""}`,children:u})]})},Do="_button_frvev_161",ko="_noMargin_frvev_181",jo="_regular_frvev_194",Ho="_small_frvev_197",Yo="_primary_frvev_203",zo="_noHover_frvev_208",Jo="_secondary_frvev_224",$o="_neutral_frvev_247",Uo="_disabled_frvev_267",Qo="_hasErrors_frvev_287",qo="_hasArrowLeft_frvev_293",Ko="_pushprev_frvev_1",ea="_hasArrowRight_frvev_331",ta="_pushnext_frvev_1",na="_hasIcon_frvev_369",ra="_buttonIcon_frvev_373",oa="_buttonContent_frvev_385",aa="_hasIconLeft_frvev_388",ia="_hasIconRight_frvev_391",be={button:Do,noMargin:ko,regular:jo,small:Ho,primary:Yo,noHover:zo,secondary:Jo,neutral:$o,disabled:Uo,hasErrors:Qo,hasArrowLeft:qo,pushprev:Ko,hasArrowRight:ea,pushnext:ta,hasIcon:na,buttonIcon:ra,buttonContent:oa,hasIconLeft:aa,hasIconRight:ia},Fe=({content:t,color:e="primary",size:r="regular",arrow:o="none",disabled:n=!1,inputType:a,defaultChecked:s,hasErrors:u=!1,noHover:i=!1,noMargin:l=!1,href:c,children:g,iconLeft:p,iconRight:f,className:I,...m})=>{const b=_=>_?d.jsx("span",{className:be.buttonIcon,children:_}):null,v=_=>{switch(_){case"left":return be.hasArrowLeft;case"right":return be.hasArrowRight;default:return""}},G=a==="radio"?s?"primary":"secondary":e,y=Y([be.button,be[G],be[r],v(o),i||a==="radio"?be.noHover:null,u&&be.hasErrors,n?be.disabled:null,l?be.noMargin:null,p||f?be.hasIcon:null,I]),S=Y([be.buttonContent,p?be.hasIconLeft:null,f?be.hasIconRight:null]),h={"aria-invalid":u||void 0,href:!n&&c?.length?c:void 0,className:y,...m},E=_=>C.Children.toArray(Ze(_)).map(L=>{if(!C.isValidElement(L))return null;const M=L,q=M.type===Jt.Link&&typeof M.props=="object"&&M.props!==null&&"to"in M.props;return!n&&q?C.cloneElement(M,{className:y,key:`button-${M.key}`,to:M.props.to},b(p),d.jsx("span",{className:S,children:M.props.children}),b(f)):C.createElement("button",{...h,key:`button-${M.key}`},b(p),d.jsx("span",{className:S,children:t||(M.props?M.props.children:null)}),b(f))});if(a==="button")return d.jsxs("button",{type:"button",...h,children:[b(p),d.jsx("span",{className:S,children:t||g}),b(f)]});if(a==="radio"){const _={...h};return delete _.href,d.jsxs("label",{className:y,children:[d.jsx("input",{..._,type:"radio"}),b(p),d.jsx("span",{className:S,children:t}),b(f)]})}if(c?.length&&!n){const _={...h};return"type"in _&&delete _.type,d.jsxs("a",{..._,children:[b(p),d.jsx("span",{className:S,children:t||g}),b(f)]})}return C.isValidElement(g)&&g.type===Jt.Link?d.jsx(C.Fragment,{children:E(C.Children.toArray(g))}):d.jsxs("button",{...h,children:[b(p),d.jsx("span",{className:S,children:t||g}),b(f)]})},sa="_checkBoxIcon_181ug_1",ua="_showBox_181ug_21",la="_hasErrors_181ug_24",ca="_checked_181ug_34",da="_disabled_181ug_50",ga="_checkmark_181ug_55",ba="_checkmarkIcon_181ug_62",Ne={checkBoxIcon:sa,showBox:ua,hasErrors:la,checked:ca,disabled:da,checkmark:ga,checkmarkIcon:ba},br=({size:t="20px",checked:e=!1,disabled:r=!1,showBox:o=!0,hasErrors:n=!1,checkmarkCharacter:a="✔",checkmarkIconSrc:s})=>{const u={height:t,width:t,fontSize:t},i=[Ne.checkBoxIcon,e&&Ne.checked,r&&Ne.disabled,o&&Ne.showBox,n&&Ne.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:i,style:u,children:d.jsx("span",{"aria-hidden":!0,className:Ne.checkmark,children:e?s?d.jsx("img",{src:s,alt:"","aria-hidden":"true",className:Ne.checkmarkIcon}):a:""})})},we="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",fr="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",fa="_checkBoxInput_1octn_1",pa="_requiredSymbol_1octn_6",ma="_disabled_1octn_13",va="_labelText_1octn_19",ha="_hasErrors_1octn_27",He={checkBoxInput:fa,requiredSymbol:pa,disabled:ma,labelText:va,hasErrors:ha},rn=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:a="",onChange:s,hasErrors:u=!1,checkmarkCharacter:i="✔",tabIndex:l=0,children:c,"aria-controls":g,"aria-describedby":p,value:f})=>{const I=[He.checkBoxInput,e&&He.disabled,u&&He.hasErrors].filter(Boolean).join(" "),m={checked:t,disabled:e,showBox:!0,hasErrors:u,checkmarkCharacter:i,checkmarkIconSrc:fr},b={id:n,name:a,type:"checkbox",checked:t,disabled:e,required:r||o,onChange:s,tabIndex:l,"aria-controls":g,"aria-invalid":u?"true":void 0,"aria-describedby":p,value:f};return d.jsxs("label",{htmlFor:n,className:I,children:[d.jsx(br,{...m}),d.jsx("input",{...b}),d.jsxs("span",{className:He.labelText,children:[c,r&&d.jsx("img",{src:we,alt:"",className:He.requiredSymbol})]})]})},Ia="_checkBoxList_1cjjb_1",Ca="_requiredSymbol_1cjjb_16",Cn={checkBoxList:Ia,requiredSymbol:Ca},xa="_headerContainer_1dym9_1",ya="_header_1dym9_1",Aa="_bigHeader_1dym9_17",Xt={headerContainer:xa,header:ya,"size-1":"_size-1_1dym9_8",bigHeader:Aa,"size-2":"_size-2_1dym9_29","size-3":"_size-3_1dym9_37","size-4":"_size-4_1dym9_45","size-5":"_size-5_1dym9_53"},rt=({id:t,content:e,size:r=1,htmlTag:o,htmlFor:n,children:a})=>{const s=o||`h${r}`,u=Y([Xt.header,Xt[`size-${r}`]]),i=C.createElement(s,{className:u,id:t||void 0,htmlFor:n||void 0},e?.length?e:a);return d.jsx("div",{className:Xt.headerContainer,children:i})},Ea=({legend:t,legendSize:e,required:r=!1,compact:o=!1,children:n})=>{const a=s=>Ze(s).map(i=>C.isValidElement(i)&&i.type?.displayName==="RadioButtonListItem"?C.cloneElement(i,{requiredGroup:r,compact:o,key:`checkboxListItem-${i.key}`}):i);return d.jsxs("fieldset",{className:Cn.checkBoxList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(rt,{size:e,children:t}):t,r&&d.jsx("img",{src:we,alt:"",className:Cn.requiredSymbol})]}),a(C.Children.toArray(n))]})},Ga="_checkBoxListItem_j7hys_1",Sa="_compact_j7hys_26",Ba="_disabled_j7hys_34",_a="_checked_j7hys_37",Ye={checkBoxListItem:Ga,compact:Sa,disabled:Ba,checked:_a},Ra=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:a="",onChange:s,compact:u=!1,hasErrors:i=!1,checkmarkCharacter:l="✔","aria-controls":c,"aria-describedby":g,children:p,value:f})=>{const I=Y([Ye.checkBoxListItem,t&&Ye.checked,e&&Ye.disabled,u&&Ye.compact,i&&Ye.hasErrors]),m={onChange:s??(()=>{}),checked:t,disabled:e,required:r,requiredGroup:o,hasErrors:i,"aria-controls":c,"aria-describedby":g,id:n,name:a,checkmarkCharacter:l,value:f};return d.jsx("div",{className:I,children:d.jsx(rn,{...m,children:p})})},wa="_container_f8z49_1",Na={container:wa},pr=({maxWidth:t,children:e})=>{const r={"--max-width":t?.length?t:void 0};return d.jsx("div",{className:Na.container,style:r,children:e})},Va="_contentBox_1ndvc_1",Fa="_link_1ndvc_8",Pa="_content_1ndvc_1",Ta="_title_1ndvc_25",Xa="_secondary_1ndvc_28",Ma="_regular_1ndvc_36",Wa="_large_1ndvc_45",Xe={contentBox:Va,link:Fa,default:"_default_1ndvc_21",content:Pa,title:Ta,secondary:Xa,regular:Ma,large:Wa},La=({title:t="",titleSize:e="regular",content:r="",children:o,color:n="default",href:a=null})=>{const s=()=>{if(!t)return null;const p=`${Xe.title} ${Xe[e]}`;return d.jsx("h2",{className:p,children:t})},u=Xe[n]||"",i=a?Xe.link:"",l=`${Xe.contentBox} ${u} ${i}`.trim(),c=r?.length?r:o,g=d.jsxs(d.Fragment,{children:[s(),d.jsx("div",{className:Xe.content,children:c})]});return a?d.jsx("a",{href:a,className:l,children:g}):d.jsx("div",{className:l,children:g})},Oa="_descriptionDetails_1d1dj_1",Za="_compact_1d1dj_7",xn={descriptionDetails:Oa,compact:Za},Da=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dd",{className:Y([xn.descriptionDetails,t&&xn.compact]),style:{"--title-width":e||void 0},children:r}),ka="_descriptionList_w11ua_1",ja="_compact_w11ua_13",yn={descriptionList:ka,compact:ja},Ha=({compact:t=!1,titleWidth:e,children:r})=>{const o=n=>Ze(n).map(s=>C.isValidElement(s)?C.cloneElement(s,{compact:t,titleWidth:e,key:`descriptionListItem-${s.key}`}):s);return C.createElement("dl",{className:Y([yn.descriptionList,t&&yn.compact]),style:{"--title-width":e||void 0}},o(C.Children.toArray(r)))},Ya="_descriptionTerm_uuapd_1",za="_compact_uuapd_8",An={descriptionTerm:Ya,compact:za},Ja=({compact:t=!1,titleWidth:e,children:r})=>d.jsx("dt",{className:Y([An.descriptionTerm,t&&An.compact]),style:{"--title-width":e||void 0},children:r}),$a="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",Ua="_dialog_tgq37_19",Qa="_backdrop_tgq37_34",qa="_backdropTransparent_tgq37_45",Ka="_dialogContainer_tgq37_48",ei="_modalInVertical_tgq37_1",ti="_dialogContent_tgq37_60",ni="_dialogHeader_tgq37_67",ri="_dialogBody_tgq37_77",oi="_noPadding_tgq37_81",ai="_isSidebar_tgq37_84",ii="_left_tgq37_102",si="_modalInHorizontalLeft_tgq37_1",ui="_right_tgq37_108",li="_modalInHorizontalRight_tgq37_1",Ie={dialog:Ua,backdrop:Qa,backdropTransparent:qa,dialogContainer:Ka,modalInVertical:ei,dialogContent:ti,dialogHeader:ni,dialogBody:ri,noPadding:oi,isSidebar:ai,left:ii,modalInHorizontalLeft:si,right:ui,modalInHorizontalRight:li},ci=({maxWidth:t="none",noPadding:e,title:r,onClickOutside:o,modal:n=!0,attachTo:a,hidden:s=!1,children:u})=>{const[i,l]=C.useState(null),c=C.useRef(null),g=C.useCallback(m=>{m&&So(m)},[]);C.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]),C.useEffect(()=>{if(typeof window>"u")return;const b=(()=>{const G="dibk-design-dialog-root";let y=document.getElementById(G);return y||(y=document.createElement("div"),y.setAttribute("id",G),document.body.appendChild(y)),y})(),v=document.createElement("div");return b.appendChild(v),l(v),()=>{l(null),b.contains(v)&&b.removeChild(v)}},[]),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=a&&Y([Ie.isSidebar,Ie[a]]),f={"--max-width":t};if(s||!i)return null;const I=n?{role:"dialog","aria-modal":"true"}:{role:"dialog"};return dr.createPortal(d.jsxs("div",{className:Y([Ie.dialog,p]),...I,children:[d.jsx("button",{type:"button",className:Y([Ie.backdrop,!n&&Ie.backdropTransparent]),onClick:o,"aria-label":"Lukk dialog"}),d.jsx("div",{ref:c,className:Ie.dialogContainer,style:f,children:d.jsxs("div",{ref:g,className:Y([Ie.dialogContent,e&&Ie.noPadding]),children:[r&&d.jsxs("div",{className:Ie.dialogHeader,children:[r?d.jsx(rt,{size:2,children:r}):d.jsx("span",{}),d.jsx(Fe,{color:"neutral","aria-label":"Lukk dialog",onClick:o,iconRight:d.jsx("img",{src:$a,alt:""}),children:"Lukk"})]}),d.jsx("div",{className:Ie.dialogBody,"aria-live":"assertive",children:u})]})})]}),i)},di="_dragAndDropFileInput_1hivh_1",gi="_requiredSymbol_1hivh_1",bi="_dragAndDropContainer_1hivh_8",fi="_highlighted_1hivh_26",pi="_hasErrors_1hivh_30",ze={dragAndDropFileInput:di,requiredSymbol:gi,dragAndDropContainer:bi,highlighted:fi,hasErrors:pi},mr="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",mi="_errorMessage_15d1p_1",vi="_errorSign_15d1p_10",En={errorMessage:mi,errorSign:vi},ot=({id:t,content:e=""})=>{const r=()=>({id:t?.length?t:void 0,className:En.errorMessage});return(typeof e=="string"?e.trim().length>0:!!e)?d.jsxs("span",{"aria-live":"polite",...r(),children:[d.jsx("img",{src:mr,alt:"",className:En.errorSign}),e]}):null},hi="_label_sxta8_1",Ii="_inline_sxta8_11",Ci="_normalCursor_sxta8_14",xi="_labelText_sxta8_18",yi="_subLabel_sxta8_23",Je={label:hi,inline:Ii,normalCursor:Ci,labelText:xi,subLabel:yi},at=({inline:t=!1,normalCursor:e=!1,htmlTag:r="label",children:o,subLabel:n,id:a,...s})=>{const u=[Je.label,t&&Je.inline,e&&Je.normalCursor].filter(Boolean).join(" "),i={...s,className:u,id:a||void 0};return C.createElement(r,i,d.jsxs(d.Fragment,{children:[d.jsx("span",{className:Je.labelText,children:o}),n&&d.jsx("span",{className:Je.subLabel,children:n})]}))},Ai=({id:t,name:e,onSelectChange:r,onDragAndDropChange:o,label:n="",subLabel:a="",buttonContent:s,buttonContentWhenSelectedFile:u,selectedFileName:i,hasErrors:l=!1,errorMessage:c="",required:g=!1,"data-transaction-name":p})=>{const[f,I]=C.useState(!1),m=C.useRef(null),b=C.useRef(null),v=V=>{V.preventDefault(),V.stopPropagation()},G=()=>{b.current?.click()},y=()=>`${t}-errorMessage`,S={id:t,"aria-describedby":l&&c?.toString().length?y():void 0,"aria-invalid":l?"true":void 0,name:e,required:g},h=i&&u||s,E=C.useCallback(()=>I(!0),[]),B=C.useCallback(()=>I(!1),[]),_=C.useCallback(V=>{v(V),V.dataTransfer?.files&&o(V.dataTransfer.files),I(!1)},[o]);return C.useEffect(()=>{const V=m.current;if(V)return["dragenter","dragover"].forEach(L=>{V.addEventListener(L,E)}),["dragleave","drop"].forEach(L=>{V.addEventListener(L,B)}),["dragenter","dragover","dragleave","drop"].forEach(L=>{V.addEventListener(L,v)}),V.addEventListener("drop",_),()=>{["dragenter","dragover","dragleave","drop"].forEach(L=>{V.removeEventListener(L,v),V.removeEventListener(L,E),V.removeEventListener(L,B)}),V.removeEventListener("drop",_)}},[o]),d.jsxs("div",{className:ze.dragAndDropFileInput,children:[d.jsxs(at,{htmlFor:t,subLabel:a,children:[n,g&&d.jsx("img",{src:we,alt:"",className:ze.requiredSymbol})]}),d.jsxs("div",{ref:m,className:`${ze.dragAndDropContainer} ${f?ze.highlighted:""} ${l?ze.hasErrors:""}`,children:[i?d.jsx("div",{children:d.jsxs("span",{children:[d.jsx("b",{children:"Valgt fil:"})," ",i]})}):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:i?"":"eller klikk på knappen for å velge fil"}),d.jsx(Fe,{size:"small",inputType:"button",color:"secondary",onClick:G,content:h,"data-transaction-name":p})]})]}),d.jsx(ot,{id:y(),content:c})]})},Gn="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",Ei="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",Gi="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",Si="_box_19oe1_7",Bi="_messageIn_19oe1_1",_i="_fullScreen_19oe1_15",Ri="_noBorder_19oe1_18",wi="_info_19oe1_21",Ni="_warning_19oe1_25",Vi="_error_19oe1_29",Fi="_tip_19oe1_33",Pi="_success_19oe1_37",Ti="_inner_19oe1_42",Xi="_hasIcon_19oe1_58",Mi="_icon_19oe1_67",Wi="_iconImage_19oe1_76",Li="_content_19oe1_82",Oi="_title_19oe1_87",Zi="_body_19oe1_94",Ce={box:Si,messageIn:Bi,fullScreen:_i,noBorder:Ri,info:wi,warning:Ni,error:Vi,tip:Fi,success:Pi,inner:Ti,hasIcon:Xi,icon:Mi,iconImage:Wi,content:Li,title:Oi,body:Zi},vr=({title:t,children:e="",variant:r="info",fullScreen:o=!1,noBorder:n=!1,hideIcon:a=!1,icon:s,className:u})=>{const i={info:Gn,warning:Gi,error:mr,tip:Gn,success:Ei},l=s??d.jsx("img",{src:i[r],alt:"",className:Ce.iconImage}),c=!a&&l;return d.jsx("div",{className:Y([Ce.box,Ce[r],o&&Ce.fullScreen,n&&Ce.noBorder,c?Ce.hasIcon:null,u]),children:d.jsxs("div",{className:Ce.inner,children:[c?d.jsx("div",{className:Ce.icon,children:l}):null,d.jsxs("div",{className:Ce.content,children:[t?d.jsx(rt,{size:3,children:t}):null,e?d.jsx("div",{className:Ce.body,children:e}):null]})]})})},Di=({type:t="warning",children:e="",...r})=>d.jsx(vr,{variant:t,children:e,...r}),ki="_footer_19fad_1",ji={footer:ki},Hi=({children:t})=>d.jsx("footer",{className:ji.footer,children:d.jsx(pr,{children:t})}),Yi="_inputField_1x7wx_1",zi="_requiredSymbol_1x7wx_1",Ji="_file_1x7wx_9",$i="_input_1x7wx_1",Ui="_hasErrors_1x7wx_44",Qi="_dateInput_1x7wx_53",qi="_inputWithButton_1x7wx_71",Ki="_fileInputContainer_1x7wx_79",es="_visuallyHidden_1x7wx_92",ts="_caption_1x7wx_103",ve={inputField:Yi,requiredSymbol:zi,file:Ji,input:$i,hasErrors:Ui,dateInput:Qi,inputWithButton:qi,fileInputContainer:Ki,visuallyHidden:es,caption:ts},Sn=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}`},ns=t=>!t||["text","search","url","email","tel","password","number"].includes(t),rs=({id:t,onChange:e=()=>{},onBlur:r,onFocus:o,name:n="",type:a="text",disabled:s=!1,required:u=!1,readOnly:i,width:l,value:c,defaultValue:g,elementKey:p,label:f="",buttonColor:I="primary",buttonContent:m,actionButtonContent:b,actionButtonIconLeft:v,actionButtonIconRight:G,actionButtonOnClick:y,actionButtonDisabled:S=!1,actionButtonAriaLabel:h,selectedFileName:E,placeholder:B="",min:_,max:V,role:L,"aria-describedby":M,"aria-autocomplete":q,hasErrors:te=!1,errorMessage:ne="",noMargin:$=!1,caption:k})=>{const O=C.useRef(null),j=()=>`${t}-errorMessage`,se=`${t}-caption`,ae=l?{maxWidth:l}:{},x=a==="date"&&!s&&!i,w=!!b&&!!y&&a!=="file",X=()=>{if(!x||!O.current)return;document.activeElement!==O.current&&O.current.focus(),O.current.showPicker?.()},Z=K=>{X(),o?.(K)},ie=()=>{a==="file"&&(s||O.current?.click())},re=K=>{a!=="file"||s||(K.key==="Enter"||K.key===" ")&&(K.preventDefault(),O.current?.click())},A=(()=>{if(a==="file")return{};if(a==="date"){const ue=c!==void 0?Sn(c):void 0,R=c===void 0&&g!==void 0?Sn(g):void 0;return c!==void 0?{value:ue??""}:g!==void 0?{defaultValue:R}:{}}const K=ue=>ue instanceof Date?String(ue.getTime()):ue;return c!==void 0?{value:K(c)}:g!==void 0?{defaultValue:K(g)}:{}})(),P=Y([te&&ve.hasErrors,a==="date"&&ve.dateInput,a==="file"&&ve.visuallyHidden]),D={name:n,readOnly:i,disabled:s,required:u,type:a,role:L,id:t,min:_,max:V,onChange:e,onBlur:r,onFocus:Z,placeholder:a==="file"?void 0:B,className:P||void 0,"aria-describedby":[te&&ne?j():null,k?se:null,M].filter(Boolean).join(" ").trim()||void 0,"aria-invalid":te||void 0,"aria-autocomplete":ns(a)?q:void 0,style:w?void 0:ae,...A};return d.jsxs("div",{className:Y([ve.inputField,ve[a],$&&ve.noMargin]),children:[d.jsxs(at,{htmlFor:t,children:[f,u&&d.jsx("img",{src:we,alt:"",className:ve.requiredSymbol}),a==="file"&&d.jsxs("div",{className:ve.fileInputContainer,onClick:ie,onKeyDown:re,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:I,inputType:"button",onClick:()=>O.current?.click(),content:m})]})]}),w?d.jsxs("div",{className:ve.inputWithButton,style:ae,children:[d.jsx("input",{...D,ref:O},p||t),d.jsx(Fe,{color:I,inputType:"button",onClick:y,disabled:S,"aria-label":h,iconLeft:v,iconRight:G,noMargin:!0,children:b})]}):d.jsx("input",{...D,ref:O},p||t),k?d.jsx("p",{className:ve.caption,id:se,children:k}):null,te&&ne?d.jsx(ot,{id:j(),content:ne}):null]})},os="_list_16gsl_1",as="_compact_16gsl_10",Bn={list:os,compact:as},is=({listStyle:t,compact:e=!1,ordered:r=!1,children:o})=>{const n=i=>Ze(i).map(c=>C.isValidElement(c)?C.cloneElement(c,{compact:e,key:`listItem-${c.key}`}):c),a=r?"ol":"ul",s=r?"decimal":"disc";return C.createElement(a,{className:`${Bn.list} ${e?Bn.compact:""}`,style:{"--listStyle":t||s}},n(C.Children.toArray(o)))},ss="_listItem_33xs0_1",us="_compact_33xs0_5",_n={listItem:ss,compact:us},ls=({compact:t=!1,children:e})=>{const r=Y([_n.listItem,t&&_n.compact]);return d.jsx("li",{className:r,children:e})},cs="_LoadingAnimation_1blqf_1",ds="_dot_1blqf_11",Rn={LoadingAnimation:cs,dot:ds},hr=({ariaLabel:t="Laster inn"})=>{const e=[0,.15,.3];return d.jsx("div",{role:"img","aria-label":t,className:Rn.LoadingAnimation,children:e.map(r=>d.jsx("span",{className:Rn.dot,style:{animationDelay:`${r}s`}},r))})},gs=(t,e)=>e?t?.logoCompact??"":t?.logo??"",bs=t=>t?.logoPadding??"",fs=t=>t?.appName??"",ps="_navigationBarContainer_1s633_1",ms="_compact_1s633_11",vs="_navigationBar_1s633_1",hs="_logoContainer_1s633_38",Is="_secondary_1s633_45",Cs="_mainContentLink_1s633_58",$e={navigationBarContainer:ps,compact:ms,navigationBar:vs,logoContainer:hs,secondary:Is,mainContentLink:Cs},xs=({logoLink:t="",logoLinkTitle:e,openLogoLinkInNewTab:r,theme:o,compact:n,color:a="neutral"})=>{const s=i=>({padding:bs(i)}),u=(i,l)=>{const c=gs(o,n),g=fs(o),p=i&&l?"":c&&g?`${g} logo`:"DIBK logo",f=c?d.jsx("img",{alt:p,src:c,style:s(o)}):null;return i?.length?d.jsx("a",{href:i,title:l,target:r?"_blank":void 0,rel:r?"noopener noreferrer":void 0,children:f}):f};return d.jsx("div",{className:Y([n&&$e.compact,a&&$e[a],$e.navigationBarContainer]),children:d.jsx("div",{className:Y([$e.navigationBar]),children:d.jsx("div",{className:$e.logoContainer,children:u(t,e)})})})},ys="_paper_1lgl3_1",As="_noMargin_1lgl3_6",Es="_noPadding_1lgl3_9",Mt={paper:ys,noMargin:As,noPadding:Es},Gs=({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})},Ss="_paragraph_1aaue_1",Bs="_lead_1aaue_9",_s="_large_1aaue_14",Rs="_small_1aaue_19",wn={paragraph:Ss,lead:Bs,large:_s,small:Rs},ws=({id:t,htmlTag:e="p",variant:r="small",children:o,className:n})=>{const a=Y([wn.paragraph,wn[r],n]);return C.createElement(e,{className:a,id:t||void 0},o)},Ns="_progressBar_t5aid_1",Vs="_hasErrors_t5aid_23",Nn={progressBar:Ns,hasErrors:Vs},Fs=({progress:t=0,hasErrors:e=!1})=>d.jsx("div",{className:`${Nn.progressBar} ${e?Nn.hasErrors:""}`,role:"progressbar","aria-valuenow":t,"aria-valuemin":0,"aria-valuemax":100,style:{"--value":t}}),Ps="_radioButtonIcon_32fe0_1",Ts="_hasErrors_32fe0_22",Xs="_checked_32fe0_32",Ms="_disabled_32fe0_48",lt={radioButtonIcon:Ps,hasErrors:Ts,checked:Xs,disabled:Ms},Ir=({size:t="10px",checked:e=!1,disabled:r=!1,hasErrors:o=!1})=>{const n={height:t,width:t},a=[lt.radioButtonIcon,e&&lt.checked,r&&lt.disabled,o&&lt.hasErrors].filter(Boolean).join(" ");return d.jsx("span",{className:a,style:n})},Ws="_radioButtonInput_9xta0_1",Ls="_requiredSymbol_9xta0_6",Os="_disabled_9xta0_13",Zs="_labelText_9xta0_19",Ds="_hasErrors_9xta0_27",Me={radioButtonInput:Ws,requiredSymbol:Ls,disabled:Os,labelText:Zs,hasErrors:Ds},on=({checked:t=!1,disabled:e=!1,required:r=!1,requiredGroup:o=!1,id:n,name:a="",onChange:s,hasErrors:u=!1,inputValue:i,tabIndex:l,children:c,"aria-controls":g,"aria-describedby":p})=>{const f=[Me.radioButtonInput,t&&Me.checked,e&&Me.disabled,u&&Me.hasErrors].filter(Boolean).join(" "),I={checked:t,disabled:e,hasErrors:u},m={id:n,name:a,type:"radio",value:i,checked:t,disabled:e,required:r||o,onChange:s,tabIndex:l??void 0,"aria-controls":g,"aria-invalid":u?"true":void 0,"aria-describedby":p};return d.jsxs("label",{htmlFor:n,className:f,children:[d.jsx(Ir,{...I}),d.jsx("input",{...m}),d.jsxs("span",{className:Me.labelText,children:[c,r&&d.jsx("img",{src:we,alt:"",className:Me.requiredSymbol})]})]})},ks="_radioButtonList_18lo8_1",js="_requiredSymbol_18lo8_16",Vn={radioButtonList:ks,requiredSymbol:js},Hs=({legend:t,legendSize:e,required:r=!1,compact:o=!1,children:n})=>{const a=s=>Ze(s).map(i=>C.isValidElement(i)&&i.type?.displayName==="RadioButtonListItem"?C.cloneElement(i,{requiredGroup:r,compact:o,key:`radioButtonListItem-${i.key}`}):i);return d.jsxs("fieldset",{className:Vn.radioButtonList,children:[!!t?.length&&d.jsxs("legend",{children:[e?d.jsx(rt,{size:e,children:t}):t,r&&d.jsx("img",{src:we,alt:"",className:Vn.requiredSymbol})]}),a(C.Children.toArray(n))]})},Ys="_radioButtonListItem_14vz4_1",zs="_compact_14vz4_26",Js="_disabled_14vz4_34",$s="_checked_14vz4_37",Ue={radioButtonListItem:Ys,compact:zs,disabled:Js,checked:$s},Us=({inputValue:t,checked:e=!1,disabled:r=!1,required:o=!1,requiredGroup:n=!1,name:a="",id:s,onChange:u,compact:i=!1,hasErrors:l=!1,"aria-controls":c,"aria-describedby":g,children:p})=>{const f=Y([Ue.radioButtonListItem,e&&Ue.checked,r&&Ue.disabled,i&&Ue.compact,l&&Ue.hasErrors]),I={onChange:u,inputValue:t,checked:e,disabled:r,required:o,requiredGroup:n,hasErrors:l,"aria-controls":c,"aria-describedby":g,id:s,name:a};return d.jsx("div",{className:f,children:d.jsx(on,{...I,children:p})})};function Pe(t){"@babel/helpers - typeof";return Pe=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},Pe(t)}function Qs(t,e){if(Pe(t)!="object"||!t)return t;var r=t[Symbol.toPrimitive];if(r!==void 0){var o=r.call(t,e);if(Pe(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Cr(t){var e=Qs(t,"string");return Pe(e)=="symbol"?e:e+""}function Ke(t,e,r){return(e=Cr(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function Fn(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?Fn(Object(r),!0).forEach(function(o){Ke(t,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Fn(Object(r)).forEach(function(o){Object.defineProperty(t,o,Object.getOwnPropertyDescriptor(r,o))})}return t}function qs(t){if(Array.isArray(t))return t}function Ks(t,e){var r=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(r!=null){var o,n,a,s,u=[],i=!0,l=!1;try{if(a=(r=r.call(t)).next,e===0){if(Object(r)!==r)return;i=!1}else for(;!(i=(o=a.call(r)).done)&&(u.push(o.value),u.length!==e);i=!0);}catch(c){l=!0,n=c}finally{try{if(!i&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw n}}return u}}function $t(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 xr(t,e){if(t){if(typeof t=="string")return $t(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)?$t(t,e):void 0}}function eu(){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 Be(t,e){return qs(t)||Ks(t,e)||xr(t,e)||eu()}function tu(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 Re(t,e){if(t==null)return{};var r,o,n=tu(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(o=0;o<a.length;o++)r=a[o],e.indexOf(r)===-1&&{}.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}var nu=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function ru(t){var e=t.defaultInputValue,r=e===void 0?"":e,o=t.defaultMenuIsOpen,n=o===void 0?!1:o,a=t.defaultValue,s=a===void 0?null:a,u=t.inputValue,i=t.menuIsOpen,l=t.onChange,c=t.onInputChange,g=t.onMenuClose,p=t.onMenuOpen,f=t.value,I=Re(t,nu),m=C.useState(u!==void 0?u:r),b=Be(m,2),v=b[0],G=b[1],y=C.useState(i!==void 0?i:n),S=Be(y,2),h=S[0],E=S[1],B=C.useState(f!==void 0?f:s),_=Be(B,2),V=_[0],L=_[1],M=C.useCallback(function(j,se){typeof l=="function"&&l(j,se),L(j)},[l]),q=C.useCallback(function(j,se){var ae;typeof c=="function"&&(ae=c(j,se)),G(ae!==void 0?ae:j)},[c]),te=C.useCallback(function(){typeof p=="function"&&p(),E(!0)},[p]),ne=C.useCallback(function(){typeof g=="function"&&g(),E(!1)},[g]),$=u!==void 0?u:v,k=i!==void 0?i:h,O=f!==void 0?f:V;return F(F({},I),{},{inputValue:$,menuIsOpen:k,onChange:M,onInputChange:q,onMenuClose:ne,onMenuOpen:te,value:O})}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 o in r)({}).hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},T.apply(null,arguments)}function ou(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(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,Cr(o.key),o)}}function au(t,e,r){return e&&Pn(t.prototype,e),r&&Pn(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function Ut(t,e){return Ut=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Ut(t,e)}function iu(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&&Ut(t,e)}function Ct(t){return Ct=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ct(t)}function yr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(yr=function(){return!!t})()}function su(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uu(t,e){if(e&&(Pe(e)=="object"||typeof e=="function"))return e;if(e!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return su(t)}function lu(t){var e=yr();return function(){var r,o=Ct(t);if(e){var n=Ct(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return uu(this,r)}}function cu(t){if(Array.isArray(t))return $t(t)}function du(t){if(typeof Symbol<"u"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gu(){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 an(t){return cu(t)||du(t)||xr(t)||gu()}function bu(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 fu(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 pu=(function(){function t(r){var o=this;this._insertTag=function(n){var a;o.tags.length===0?o.insertionPoint?a=o.insertionPoint.nextSibling:o.prepend?a=o.container.firstChild:a=o.before:a=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,a),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(fu(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var a=bu(n);try{a.insertRule(o,a.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})(),ge="-ms-",xt="-moz-",z="-webkit-",Ar="comm",sn="rule",un="decl",mu="@import",Er="@keyframes",vu="@layer",hu=Math.abs,_t=String.fromCharCode,Iu=Object.assign;function Cu(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 Gr(t){return t.trim()}function xu(t,e){return(t=e.exec(t))?t[0]:t}function J(t,e,r){return t.replace(e,r)}function Qt(t,e){return t.indexOf(e)}function de(t,e){return t.charCodeAt(e)|0}function et(t,e,r){return t.slice(e,r)}function Ae(t){return t.length}function ln(t){return t.length}function ct(t,e){return e.push(t),t}function yu(t,e){return t.map(e).join("")}var Rt=1,Oe=1,Sr=0,fe=0,oe=0,De="";function wt(t,e,r,o,n,a,s){return{value:t,root:e,parent:r,type:o,props:n,children:a,line:Rt,column:Oe,length:s,return:""}}function Qe(t,e){return Iu(wt("",null,null,"",null,null,0),t,{length:-t.length},e)}function Au(){return oe}function Eu(){return oe=fe>0?de(De,--fe):0,Oe--,oe===10&&(Oe=1,Rt--),oe}function pe(){return oe=fe<Sr?de(De,fe++):0,Oe++,oe===10&&(Oe=1,Rt++),oe}function Se(){return de(De,fe)}function mt(){return fe}function it(t,e){return et(De,t,e)}function tt(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 Br(t){return Rt=Oe=1,Sr=Ae(De=t),fe=0,[]}function _r(t){return De="",t}function vt(t){return Gr(it(fe-1,qt(t===91?t+2:t===40?t+1:t)))}function Gu(t){for(;(oe=Se())&&oe<33;)pe();return tt(t)>2||tt(oe)>3?"":" "}function Su(t,e){for(;--e&&pe()&&!(oe<48||oe>102||oe>57&&oe<65||oe>70&&oe<97););return it(t,mt()+(e<6&&Se()==32&&pe()==32))}function qt(t){for(;pe();)switch(oe){case t:return fe;case 34:case 39:t!==34&&t!==39&&qt(oe);break;case 40:t===41&&qt(t);break;case 92:pe();break}return fe}function Bu(t,e){for(;pe()&&t+oe!==57;)if(t+oe===84&&Se()===47)break;return"/*"+it(e,fe-1)+"*"+_t(t===47?t:pe())}function _u(t){for(;!tt(Se());)pe();return it(t,fe)}function Ru(t){return _r(ht("",null,null,null,[""],t=Br(t),0,[0],t))}function ht(t,e,r,o,n,a,s,u,i){for(var l=0,c=0,g=s,p=0,f=0,I=0,m=1,b=1,v=1,G=0,y="",S=n,h=a,E=o,B=y;b;)switch(I=G,G=pe()){case 40:if(I!=108&&de(B,g-1)==58){Qt(B+=J(vt(G),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:B+=vt(G);break;case 9:case 10:case 13:case 32:B+=Gu(I);break;case 92:B+=Su(mt()-1,7);continue;case 47:switch(Se()){case 42:case 47:ct(wu(Bu(pe(),mt()),e,r),i);break;default:B+="/"}break;case 123*m:u[l++]=Ae(B)*v;case 125*m:case 59:case 0:switch(G){case 0:case 125:b=0;case 59+c:v==-1&&(B=J(B,/\f/g,"")),f>0&&Ae(B)-g&&ct(f>32?Xn(B+";",o,r,g-1):Xn(J(B," ","")+";",o,r,g-2),i);break;case 59:B+=";";default:if(ct(E=Tn(B,e,r,l,c,n,u,y,S=[],h=[],g),a),G===123)if(c===0)ht(B,e,E,E,S,a,g,u,h);else switch(p===99&&de(B,3)===110?100:p){case 100:case 108:case 109:case 115:ht(t,E,E,o&&ct(Tn(t,E,E,0,0,n,u,y,n,S=[],g),h),n,h,g,u,o?S:h);break;default:ht(B,E,E,E,[""],h,0,u,h)}}l=c=f=0,m=v=1,y=B="",g=s;break;case 58:g=1+Ae(B),f=I;default:if(m<1){if(G==123)--m;else if(G==125&&m++==0&&Eu()==125)continue}switch(B+=_t(G),G*m){case 38:v=c>0?1:(B+="\f",-1);break;case 44:u[l++]=(Ae(B)-1)*v,v=1;break;case 64:Se()===45&&(B+=vt(pe())),p=Se(),c=g=Ae(y=B+=_u(mt())),G++;break;case 45:I===45&&Ae(B)==2&&(m=0)}}return a}function Tn(t,e,r,o,n,a,s,u,i,l,c){for(var g=n-1,p=n===0?a:[""],f=ln(p),I=0,m=0,b=0;I<o;++I)for(var v=0,G=et(t,g+1,g=hu(m=s[I])),y=t;v<f;++v)(y=Gr(m>0?p[v]+" "+G:J(G,/&\f/g,p[v])))&&(i[b++]=y);return wt(t,e,r,n===0?sn:u,i,l,c)}function wu(t,e,r){return wt(t,e,r,Ar,_t(Au()),et(t,2,-2),0)}function Xn(t,e,r,o){return wt(t,e,r,un,et(t,0,o),et(t,o+1,-1),o)}function Le(t,e){for(var r="",o=ln(t),n=0;n<o;n++)r+=e(t[n],n,t,e)||"";return r}function Nu(t,e,r,o){switch(t.type){case vu:if(t.children.length)break;case mu:case un:return t.return=t.return||t.value;case Ar:return"";case Er:return t.return=t.value+"{"+Le(t.children,o)+"}";case sn:t.value=t.props.join(",")}return Ae(r=Le(t.children,o))?t.return=t.value+"{"+r+"}":""}function Vu(t){var e=ln(t);return function(r,o,n,a){for(var s="",u=0;u<e;u++)s+=t[u](r,o,n,a)||"";return s}}function Fu(t){return function(e){e.root||(e=e.return)&&t(e)}}function Pu(t){var e=Object.create(null);return function(r){return e[r]===void 0&&(e[r]=t(r)),e[r]}}var Tu=function(e,r,o){for(var n=0,a=0;n=a,a=Se(),n===38&&a===12&&(r[o]=1),!tt(a);)pe();return it(e,fe)},Xu=function(e,r){var o=-1,n=44;do switch(tt(n)){case 0:n===38&&Se()===12&&(r[o]=1),e[o]+=Tu(fe-1,r,o);break;case 2:e[o]+=vt(n);break;case 4:if(n===44){e[++o]=Se()===58?"&\f":"",r[o]=e[o].length;break}default:e[o]+=_t(n)}while(n=pe());return e},Mu=function(e,r){return _r(Xu(Br(e),r))},Mn=new WeakMap,Wu=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&&!Mn.get(o))&&!n){Mn.set(e,!0);for(var a=[],s=Mu(r,a),u=o.props,i=0,l=0;i<s.length;i++)for(var c=0;c<u.length;c++,l++)e.props[l]=a[i]?s[i].replace(/&\f/g,u[c]):u[c]+" "+s[i]}}},Lu=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(Cu(t,e)){case 5103:return z+"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 z+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return z+t+xt+t+ge+t+t;case 6828:case 4268:return z+t+ge+t+t;case 6165:return z+t+ge+"flex-"+t+t;case 5187:return z+t+J(t,/(\w+).+(:[^]+)/,z+"box-$1$2"+ge+"flex-$1$2")+t;case 5443:return z+t+ge+"flex-item-"+J(t,/flex-|-self/,"")+t;case 4675:return z+t+ge+"flex-line-pack"+J(t,/align-content|flex-|-self/,"")+t;case 5548:return z+t+ge+J(t,"shrink","negative")+t;case 5292:return z+t+ge+J(t,"basis","preferred-size")+t;case 6060:return z+"box-"+J(t,"-grow","")+z+t+ge+J(t,"grow","positive")+t;case 4554:return z+J(t,/([^-])(transform)/g,"$1"+z+"$2")+t;case 6187:return J(J(J(t,/(zoom-|grab)/,z+"$1"),/(image-set)/,z+"$1"),t,"")+t;case 5495:case 3959:return J(t,/(image-set\([^]*)/,z+"$1$`$1");case 4968:return J(J(t,/(.+:)(flex-)?(.*)/,z+"box-pack:$3"+ge+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+z+t+t;case 4095:case 3583:case 4068:case 2532:return J(t,/(.+)-inline(.+)/,z+"$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 J(t,/(.+:)(.+)-([^]+)/,"$1"+z+"$2-$3$1"+xt+(de(t,e+3)==108?"$3":"$2-$3"))+t;case 115:return~Qt(t,"stretch")?Rr(J(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-(~Qt(t,"!important")&&10))){case 107:return J(t,":",":"+z)+t;case 101:return J(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+z+(de(t,14)===45?"inline-":"")+"box$3$1"+z+"$2$3$1"+ge+"$2box$3")+t}break;case 5936:switch(de(t,e+11)){case 114:return z+t+ge+J(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return z+t+ge+J(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return z+t+ge+J(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return z+t+ge+t+t}return t}var Ou=function(e,r,o,n){if(e.length>-1&&!e.return)switch(e.type){case un:e.return=Rr(e.value,e.length);break;case Er:return Le([Qe(e,{value:J(e.value,"@","@"+z)})],n);case sn:if(e.length)return yu(e.props,function(a){switch(xu(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Le([Qe(e,{props:[J(a,/:(read-\w+)/,":"+xt+"$1")]})],n);case"::placeholder":return Le([Qe(e,{props:[J(a,/:(plac\w+)/,":"+z+"input-$1")]}),Qe(e,{props:[J(a,/:(plac\w+)/,":"+xt+"$1")]}),Qe(e,{props:[J(a,/:(plac\w+)/,ge+"input-$1")]})],n)}return""})}},Zu=[Ou],Du=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||Zu,a={},s,u=[];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(" "),v=1;v<b.length;v++)a[b[v]]=!0;u.push(m)});var i,l=[Wu,Lu];{var c,g=[Nu,Fu(function(m){c.insert(m)})],p=Vu(l.concat(n,g)),f=function(b){return Le(Ru(b),p)};i=function(b,v,G,y){c=G,f(b?b+"{"+v.styles+"}":v.styles),y&&(I.inserted[v.name]=!0)}}var I={key:r,sheet:new pu({key:r,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:i};return I.sheet.hydrate(u),I},dt={exports:{}},U={};var Wn;function ku(){if(Wn)return U;Wn=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,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,i=t?Symbol.for("react.async_mode"):60111,l=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,I=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,G=t?Symbol.for("react.scope"):60119;function y(h){if(typeof h=="object"&&h!==null){var E=h.$$typeof;switch(E){case e:switch(h=h.type,h){case i:case l:case o:case a:case n:case g:return h;default:switch(h=h&&h.$$typeof,h){case u:case c:case I:case f:case s:return h;default:return E}}case r:return E}}}function S(h){return y(h)===l}return U.AsyncMode=i,U.ConcurrentMode=l,U.ContextConsumer=u,U.ContextProvider=s,U.Element=e,U.ForwardRef=c,U.Fragment=o,U.Lazy=I,U.Memo=f,U.Portal=r,U.Profiler=a,U.StrictMode=n,U.Suspense=g,U.isAsyncMode=function(h){return S(h)||y(h)===i},U.isConcurrentMode=S,U.isContextConsumer=function(h){return y(h)===u},U.isContextProvider=function(h){return y(h)===s},U.isElement=function(h){return typeof h=="object"&&h!==null&&h.$$typeof===e},U.isForwardRef=function(h){return y(h)===c},U.isFragment=function(h){return y(h)===o},U.isLazy=function(h){return y(h)===I},U.isMemo=function(h){return y(h)===f},U.isPortal=function(h){return y(h)===r},U.isProfiler=function(h){return y(h)===a},U.isStrictMode=function(h){return y(h)===n},U.isSuspense=function(h){return y(h)===g},U.isValidElementType=function(h){return typeof h=="string"||typeof h=="function"||h===o||h===l||h===a||h===n||h===g||h===p||typeof h=="object"&&h!==null&&(h.$$typeof===I||h.$$typeof===f||h.$$typeof===s||h.$$typeof===u||h.$$typeof===c||h.$$typeof===b||h.$$typeof===v||h.$$typeof===G||h.$$typeof===m)},U.typeOf=y,U}var Q={};var Ln;function ju(){return Ln||(Ln=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,a=t?Symbol.for("react.profiler"):60114,s=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,i=t?Symbol.for("react.async_mode"):60111,l=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,I=t?Symbol.for("react.lazy"):60116,m=t?Symbol.for("react.block"):60121,b=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,G=t?Symbol.for("react.scope"):60119;function y(R){return typeof R=="string"||typeof R=="function"||R===o||R===l||R===a||R===n||R===g||R===p||typeof R=="object"&&R!==null&&(R.$$typeof===I||R.$$typeof===f||R.$$typeof===s||R.$$typeof===u||R.$$typeof===c||R.$$typeof===b||R.$$typeof===v||R.$$typeof===G||R.$$typeof===m)}function S(R){if(typeof R=="object"&&R!==null){var le=R.$$typeof;switch(le){case e:var me=R.type;switch(me){case i:case l:case o:case a:case n:case g:return me;default:var he=me&&me.$$typeof;switch(he){case u:case c:case I:case f:case s:return he;default:return le}}case r:return le}}}var h=i,E=l,B=u,_=s,V=e,L=c,M=o,q=I,te=f,ne=r,$=a,k=n,O=g,j=!1;function se(R){return j||(j=!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(R)||S(R)===i}function ae(R){return S(R)===l}function x(R){return S(R)===u}function w(R){return S(R)===s}function X(R){return typeof R=="object"&&R!==null&&R.$$typeof===e}function Z(R){return S(R)===c}function ie(R){return S(R)===o}function re(R){return S(R)===I}function A(R){return S(R)===f}function P(R){return S(R)===r}function D(R){return S(R)===a}function K(R){return S(R)===n}function ue(R){return S(R)===g}Q.AsyncMode=h,Q.ConcurrentMode=E,Q.ContextConsumer=B,Q.ContextProvider=_,Q.Element=V,Q.ForwardRef=L,Q.Fragment=M,Q.Lazy=q,Q.Memo=te,Q.Portal=ne,Q.Profiler=$,Q.StrictMode=k,Q.Suspense=O,Q.isAsyncMode=se,Q.isConcurrentMode=ae,Q.isContextConsumer=x,Q.isContextProvider=w,Q.isElement=X,Q.isForwardRef=Z,Q.isFragment=ie,Q.isLazy=re,Q.isMemo=A,Q.isPortal=P,Q.isProfiler=D,Q.isStrictMode=K,Q.isSuspense=ue,Q.isValidElementType=y,Q.typeOf=S})()),Q}var On;function Hu(){return On||(On=1,process.env.NODE_ENV==="production"?dt.exports=ku():dt.exports=ju()),dt.exports}var Wt,Zn;function Yu(){if(Zn)return Wt;Zn=1;var t=Hu(),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},a={};a[t.ForwardRef]=o,a[t.Memo]=n;function s(I){return t.isMemo(I)?n:a[I.$$typeof]||e}var u=Object.defineProperty,i=Object.getOwnPropertyNames,l=Object.getOwnPropertySymbols,c=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,p=Object.prototype;function f(I,m,b){if(typeof m!="string"){if(p){var v=g(m);v&&v!==p&&f(I,v,b)}var G=i(m);l&&(G=G.concat(l(m)));for(var y=s(I),S=s(m),h=0;h<G.length;++h){var E=G[h];if(!r[E]&&!(b&&b[E])&&!(S&&S[E])&&!(y&&y[E])){var B=c(m,E);try{u(I,E,B)}catch{}}}}return I}return Wt=f,Wt}Yu();var zu=!0;function Ju(t,e,r){var o="";return r.split(" ").forEach(function(n){t[n]!==void 0?e.push(t[n]+";"):n&&(o+=n+" ")}),o}var wr=function(e,r,o){var n=e.key+"-"+r.name;(o===!1||zu===!1)&&e.registered[n]===void 0&&(e.registered[n]=r.styles)},$u=function(e,r,o){wr(e,r,o);var n=e.key+"-"+r.name;if(e.inserted[r.name]===void 0){var a=r;do e.insert(r===a?"."+n:"",a,e.sheet,!0),a=a.next;while(a!==void 0)}};function Uu(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 Qu={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},qu=/[A-Z]|^ms/g,Ku=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Nr=function(e){return e.charCodeAt(1)===45},Dn=function(e){return e!=null&&typeof e!="boolean"},Lt=Pu(function(t){return Nr(t)?t:t.replace(qu,"-$&").toLowerCase()}),kn=function(e,r){switch(e){case"animation":case"animationName":if(typeof r=="string")return r.replace(Ku,function(o,n,a){return Ee={name:n,styles:a,next:Ee},n})}return Qu[e]!==1&&!Nr(e)&&typeof r=="number"&&r!==0?r+"px":r};function nt(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 a=r;if(a.styles!==void 0){var s=a.next;if(s!==void 0)for(;s!==void 0;)Ee={name:s.name,styles:s.styles,next:Ee},s=s.next;var u=a.styles+";";return u}return el(t,e,r)}case"function":{if(t!==void 0){var i=Ee,l=r(t);return Ee=i,nt(t,e,l)}break}}var c=r;return c}function el(t,e,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=nt(t,e,r[n])+";";else for(var a in r){var s=r[a];if(typeof s!="object"){var u=s;Dn(u)&&(o+=Lt(a)+":"+kn(a,u)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&e==null)for(var i=0;i<s.length;i++)Dn(s[i])&&(o+=Lt(a)+":"+kn(a,s[i])+";");else{var l=nt(t,e,s);switch(a){case"animation":case"animationName":{o+=Lt(a)+":"+l+";";break}default:o+=a+"{"+l+"}"}}}return o}var jn=/label:\s*([^\s;{]+)\s*(;|$)/g,Ee;function Vr(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 a=t[0];if(a==null||a.raw===void 0)o=!1,n+=nt(r,e,a);else{var s=a;n+=s[0]}for(var u=1;u<t.length;u++)if(n+=nt(r,e,t[u]),o){var i=a;n+=i[u]}jn.lastIndex=0;for(var l="",c;(c=jn.exec(n))!==null;)l+="-"+c[1];var g=Uu(n)+l;return{name:g,styles:n,next:Ee}}var tl=function(e){return e()},nl=W.useInsertionEffect?W.useInsertionEffect:!1,rl=nl||tl,Fr=W.createContext(typeof HTMLElement<"u"?Du({key:"css"}):null);Fr.Provider;var ol=function(e){return C.forwardRef(function(r,o){var n=C.useContext(Fr);return e(r,n,o)})},al=W.createContext({}),cn={}.hasOwnProperty,Kt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",il=function(e,r){var o={};for(var n in r)cn.call(r,n)&&(o[n]=r[n]);return o[Kt]=e,o},sl=function(e){var r=e.cache,o=e.serialized,n=e.isStringTag;return wr(r,o,n),rl(function(){return $u(r,o,n)}),null},ul=ol(function(t,e,r){var o=t.css;typeof o=="string"&&e.registered[o]!==void 0&&(o=e.registered[o]);var n=t[Kt],a=[o],s="";typeof t.className=="string"?s=Ju(e.registered,a,t.className):t.className!=null&&(s=t.className+" ");var u=Vr(a,void 0,W.useContext(al));s+=e.key+"-"+u.name;var i={};for(var l in t)cn.call(t,l)&&l!=="css"&&l!==Kt&&(i[l]=t[l]);return i.className=s,r&&(i.ref=r),W.createElement(W.Fragment,null,W.createElement(sl,{cache:e,serialized:u,isStringTag:typeof n=="string"}),W.createElement(n,i))}),ll=ul,N=function(e,r){var o=arguments;if(r==null||!cn.call(r,"css"))return W.createElement.apply(void 0,o);var n=o.length,a=new Array(n);a[0]=ll,a[1]=il(e,r);for(var s=2;s<n;s++)a[s]=o[s];return W.createElement.apply(null,a)};(function(t){var e;e||(e=t.JSX||(t.JSX={}))})(N||(N={}));function dn(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return Vr(e)}function cl(){var t=dn.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 dl(t,e){return e||(e=t.slice(0)),Object.freeze(Object.defineProperties(t,{raw:{value:Object.freeze(e)}}))}const gl=Math.min,bl=Math.max,yt=Math.round,gt=Math.floor,At=t=>({x:t,y:t});function fl(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 Nt(){return typeof window<"u"}function Pr(t){return Xr(t)?(t.nodeName||"").toLowerCase():"#document"}function _e(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Tr(t){var e;return(e=(Xr(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Xr(t){return Nt()?t instanceof Node||t instanceof _e(t).Node:!1}function pl(t){return Nt()?t instanceof Element||t instanceof _e(t).Element:!1}function gn(t){return Nt()?t instanceof HTMLElement||t instanceof _e(t).HTMLElement:!1}function Hn(t){return!Nt()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof _e(t).ShadowRoot}const ml=new Set(["inline","contents"]);function Mr(t){const{overflow:e,overflowX:r,overflowY:o,display:n}=bn(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+r)&&!ml.has(n)}function vl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const hl=new Set(["html","body","#document"]);function Il(t){return hl.has(Pr(t))}function bn(t){return _e(t).getComputedStyle(t)}function Cl(t){if(Pr(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Hn(t)&&t.host||Tr(t);return Hn(e)?e.host:e}function Wr(t){const e=Cl(t);return Il(e)?t.ownerDocument?t.ownerDocument.body:t.body:gn(e)&&Mr(e)?e:Wr(e)}function Et(t,e,r){var o;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=Wr(t),a=n===((o=t.ownerDocument)==null?void 0:o.body),s=_e(n);if(a){const u=en(s);return e.concat(s,s.visualViewport||[],Mr(n)?n:[],u&&r?Et(u):[])}return e.concat(n,Et(n,[],r))}function en(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function xl(t){const e=bn(t);let r=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const n=gn(t),a=n?t.offsetWidth:r,s=n?t.offsetHeight:o,u=yt(r)!==a||yt(o)!==s;return u&&(r=a,o=s),{width:r,height:o,$:u}}function fn(t){return pl(t)?t:t.contextElement}function Yn(t){const e=fn(t);if(!gn(e))return At(1);const r=e.getBoundingClientRect(),{width:o,height:n,$:a}=xl(e);let s=(a?yt(r.width):r.width)/o,u=(a?yt(r.height):r.height)/n;return(!s||!Number.isFinite(s))&&(s=1),(!u||!Number.isFinite(u))&&(u=1),{x:s,y:u}}const yl=At(0);function Al(t){const e=_e(t);return!vl()||!e.visualViewport?yl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function El(t,e,r){return!1}function zn(t,e,r,o){e===void 0&&(e=!1);const n=t.getBoundingClientRect(),a=fn(t);let s=At(1);e&&(s=Yn(t));const u=El()?Al(a):At(0);let i=(n.left+u.x)/s.x,l=(n.top+u.y)/s.y,c=n.width/s.x,g=n.height/s.y;if(a){const p=_e(a),f=o;let I=p,m=en(I);for(;m&&o&&f!==I;){const b=Yn(m),v=m.getBoundingClientRect(),G=bn(m),y=v.left+(m.clientLeft+parseFloat(G.paddingLeft))*b.x,S=v.top+(m.clientTop+parseFloat(G.paddingTop))*b.y;i*=b.x,l*=b.y,c*=b.x,g*=b.y,i+=y,l+=S,I=_e(m),m=en(I)}}return fl({width:c,height:g,x:i,y:l})}function Lr(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Gl(t,e){let r=null,o;const n=Tr(t);function a(){var u;clearTimeout(o),(u=r)==null||u.disconnect(),r=null}function s(u,i){u===void 0&&(u=!1),i===void 0&&(i=1),a();const l=t.getBoundingClientRect(),{left:c,top:g,width:p,height:f}=l;if(u||e(),!p||!f)return;const I=gt(g),m=gt(n.clientWidth-(c+p)),b=gt(n.clientHeight-(g+f)),v=gt(c),y={rootMargin:-I+"px "+-m+"px "+-b+"px "+-v+"px",threshold:bl(0,gl(1,i))||1};let S=!0;function h(E){const B=E[0].intersectionRatio;if(B!==i){if(!S)return s();B?s(!1,B):o=setTimeout(()=>{s(!1,1e-7)},1e3)}B===1&&!Lr(l,t.getBoundingClientRect())&&s(),S=!1}try{r=new IntersectionObserver(h,{...y,root:n.ownerDocument})}catch{r=new IntersectionObserver(h,y)}r.observe(t)}return s(!0),a}function Sl(t,e,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:a=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:u=typeof IntersectionObserver=="function",animationFrame:i=!1}=o,l=fn(t),c=n||a?[...l?Et(l):[],...Et(e)]:[];c.forEach(v=>{n&&v.addEventListener("scroll",r,{passive:!0}),a&&v.addEventListener("resize",r)});const g=l&&u?Gl(l,r):null;let p=-1,f=null;s&&(f=new ResizeObserver(v=>{let[G]=v;G&&G.target===l&&f&&(f.unobserve(e),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var y;(y=f)==null||y.observe(e)})),r()}),l&&!i&&f.observe(l),f.observe(e));let I,m=i?zn(t):null;i&&b();function b(){const v=zn(t);m&&!Lr(m,v)&&r(),m=v,I=requestAnimationFrame(b)}return r(),()=>{var v;c.forEach(G=>{n&&G.removeEventListener("scroll",r),a&&G.removeEventListener("resize",r)}),g?.(),(v=f)==null||v.disconnect(),f=null,i&&cancelAnimationFrame(I)}}var tn=C.useLayoutEffect,Bl=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],Gt=function(){};function _l(t,e){return e?e[0]==="-"?t+e:t+"__"+e:t}function Rl(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 a=[].concat(o);if(e&&t)for(var s in e)e.hasOwnProperty(s)&&e[s]&&a.push("".concat(_l(t,s)));return a.filter(function(u){return u}).map(function(u){return String(u).trim()}).join(" ")}var Jn=function(e){return Wl(e)?e.filter(Boolean):Pe(e)==="object"&&e!==null?[e]:[]},Or=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=Re(e,Bl);return F({},r)},ee=function(e,r,o){var n=e.cx,a=e.getStyles,s=e.getClassNames,u=e.className;return{css:a(r,e),className:n(o??{},s(r,e),u)}};function Vt(t){return[document.documentElement,document.body,window].indexOf(t)>-1}function wl(t){return Vt(t)?window.innerHeight:t.clientHeight}function Zr(t){return Vt(t)?window.pageYOffset:t.scrollTop}function St(t,e){if(Vt(t)){window.scrollTo(0,e);return}t.scrollTop=e}function Nl(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 Vl(t,e,r,o){return r*((t=t/o-1)*t*t+1)+e}function bt(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=Zr(t),a=e-n,s=10,u=0;function i(){u+=s;var l=Vl(u,n,a,r);St(t,l),u<r?window.requestAnimationFrame(i):o(t)}i()}function $n(t,e){var r=t.getBoundingClientRect(),o=e.getBoundingClientRect(),n=e.offsetHeight/3;o.bottom+n>r.bottom?St(t,Math.min(e.offsetTop+e.clientHeight-t.offsetHeight+n,t.scrollHeight)):o.top-n<r.top&&St(t,Math.max(e.offsetTop-n,0))}function Fl(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 Un(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function Pl(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Dr=!1,Tl={get passive(){return Dr=!0}},ft=typeof window<"u"?window:{};ft.addEventListener&&ft.removeEventListener&&(ft.addEventListener("p",Gt,Tl),ft.removeEventListener("p",Gt,!1));var Xl=Dr;function Ml(t){return t!=null}function Wl(t){return Array.isArray(t)}function pt(t,e,r){return t?e:r}var Ll=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 a=Object.entries(e).filter(function(s){var u=Be(s,1),i=u[0];return!o.includes(i)});return a.reduce(function(s,u){var i=Be(u,2),l=i[0],c=i[1];return s[l]=c,s},{})},Ol=["children","innerProps"],Zl=["children","innerProps"];function Dl(t){var e=t.maxHeight,r=t.menuEl,o=t.minHeight,n=t.placement,a=t.shouldScroll,s=t.isFixedPosition,u=t.controlHeight,i=Nl(r),l={placement:"bottom",maxHeight:e};if(!r||!r.offsetParent)return l;var c=i.getBoundingClientRect(),g=c.height,p=r.getBoundingClientRect(),f=p.bottom,I=p.height,m=p.top,b=r.offsetParent.getBoundingClientRect(),v=b.top,G=s?window.innerHeight:wl(i),y=Zr(i),S=parseInt(getComputedStyle(r).marginBottom,10),h=parseInt(getComputedStyle(r).marginTop,10),E=v-h,B=G-m,_=E+y,V=g-y-m,L=f-G+y+S,M=y+m-h,q=160;switch(n){case"auto":case"bottom":if(B>=I)return{placement:"bottom",maxHeight:e};if(V>=I&&!s)return a&&bt(i,L,q),{placement:"bottom",maxHeight:e};if(!s&&V>=o||s&&B>=o){a&&bt(i,L,q);var te=s?B-S:V-S;return{placement:"bottom",maxHeight:te}}if(n==="auto"||s){var ne=e,$=s?E:_;return $>=o&&(ne=Math.min($-S-u,e)),{placement:"top",maxHeight:ne}}if(n==="bottom")return a&&St(i,L),{placement:"bottom",maxHeight:e};break;case"top":if(E>=I)return{placement:"top",maxHeight:e};if(_>=I&&!s)return a&&bt(i,M,q),{placement:"top",maxHeight:e};if(!s&&_>=o||s&&E>=o){var k=e;return(!s&&_>=o||s&&E>=o)&&(k=s?E-h:_-h),a&&bt(i,M,q),{placement:"top",maxHeight:k}}return{placement:"bottom",maxHeight:e};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return l}function kl(t){var e={bottom:"top",top:"bottom"};return t?e[t]:"bottom"}var kr=function(e){return e==="auto"?"bottom":e},jl=function(e,r){var o,n=e.placement,a=e.theme,s=a.borderRadius,u=a.spacing,i=a.colors;return F((o={label:"menu"},Ke(o,kl(n),"100%"),Ke(o,"position","absolute"),Ke(o,"width","100%"),Ke(o,"zIndex",1),o),r?{}:{backgroundColor:i.neutral0,borderRadius:s,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:u.menuGutter,marginTop:u.menuGutter})},jr=C.createContext(null),Hl=function(e){var r=e.children,o=e.minMenuHeight,n=e.maxMenuHeight,a=e.menuPlacement,s=e.menuPosition,u=e.menuShouldScrollIntoView,i=e.theme,l=C.useContext(jr)||{},c=l.setPortalPlacement,g=C.useRef(null),p=C.useState(n),f=Be(p,2),I=f[0],m=f[1],b=C.useState(null),v=Be(b,2),G=v[0],y=v[1],S=i.spacing.controlHeight;return tn(function(){var h=g.current;if(h){var E=s==="fixed",B=u&&!E,_=Dl({maxHeight:n,menuEl:h,minHeight:o,placement:a,shouldScroll:B,isFixedPosition:E,controlHeight:S});m(_.maxHeight),y(_.placement),c?.(_.placement)}},[n,a,s,u,o,c,S]),r({ref:g,placerProps:F(F({},e),{},{placement:G||kr(a),maxHeight:I})})},Yl=function(e){var r=e.children,o=e.innerRef,n=e.innerProps;return N("div",T({},ee(e,"menu",{menu:!0}),{ref:o},n),r)},zl=Yl,Jl=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})},$l=function(e){var r=e.children,o=e.innerProps,n=e.innerRef,a=e.isMulti;return N("div",T({},ee(e,"menuList",{"menu-list":!0,"menu-list--is-multi":a}),{ref:n},o),r)},Hr=function(e,r){var o=e.theme,n=o.spacing.baseUnit,a=o.colors;return F({textAlign:"center"},r?{}:{color:a.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},Ul=Hr,Ql=Hr,ql=function(e){var r=e.children,o=r===void 0?"No options":r,n=e.innerProps,a=Re(e,Ol);return N("div",T({},ee(F(F({},a),{},{children:o,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),o)},Kl=function(e){var r=e.children,o=r===void 0?"Loading...":r,n=e.innerProps,a=Re(e,Zl);return N("div",T({},ee(F(F({},a),{},{children:o,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),o)},ec=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}},tc=function(e){var r=e.appendTo,o=e.children,n=e.controlElement,a=e.innerProps,s=e.menuPlacement,u=e.menuPosition,i=C.useRef(null),l=C.useRef(null),c=C.useState(kr(s)),g=Be(c,2),p=g[0],f=g[1],I=C.useMemo(function(){return{setPortalPlacement:f}},[]),m=C.useState(null),b=Be(m,2),v=b[0],G=b[1],y=C.useCallback(function(){if(n){var B=Fl(n),_=u==="fixed"?0:window.pageYOffset,V=B[p]+_;(V!==v?.offset||B.left!==v?.rect.left||B.width!==v?.rect.width)&&G({offset:V,rect:B})}},[n,u,p,v?.offset,v?.rect.left,v?.rect.width]);tn(function(){y()},[y]);var S=C.useCallback(function(){typeof l.current=="function"&&(l.current(),l.current=null),n&&i.current&&(l.current=Sl(n,i.current,y,{elementResize:"ResizeObserver"in window}))},[n,y]);tn(function(){S()},[S]);var h=C.useCallback(function(B){i.current=B,S()},[S]);if(!r&&u!=="fixed"||!v)return null;var E=N("div",T({ref:h},ee(F(F({},e),{},{offset:v.offset,position:u,rect:v.rect}),"menuPortal",{"menu-portal":!0}),a),o);return N(jr.Provider,{value:I},r?dr.createPortal(E,r):E)},nc=function(e){var r=e.isDisabled,o=e.isRtl;return{label:"container",direction:o?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},rc=function(e){var r=e.children,o=e.innerProps,n=e.isDisabled,a=e.isRtl;return N("div",T({},ee(e,"container",{"--is-disabled":n,"--is-rtl":a}),o),r)},oc=function(e,r){var o=e.theme.spacing,n=e.isMulti,a=e.hasValue,s=e.selectProps.controlShouldRenderValue;return F({alignItems:"center",display:n&&a&&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")})},ac=function(e){var r=e.children,o=e.innerProps,n=e.isMulti,a=e.hasValue;return N("div",T({},ee(e,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":a}),o),r)},ic=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},sc=function(e){var r=e.children,o=e.innerProps;return N("div",T({},ee(e,"indicatorsContainer",{indicators:!0}),o),r)},Qn,uc=["size"],lc=["innerProps","isRtl","size"];function cc(){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 dc=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0Jztc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wfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */",toString:cc},Yr=function(e){var r=e.size,o=Re(e,uc);return N("svg",T({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:dc},o))},pn=function(e){return N(Yr,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"}))},zr=function(e){return N(Yr,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"}))},Jr=function(e,r){var o=e.isFocused,n=e.theme,a=n.spacing.baseUnit,s=n.colors;return F({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:o?s.neutral60:s.neutral20,padding:a*2,":hover":{color:o?s.neutral80:s.neutral40}})},gc=Jr,bc=function(e){var r=e.children,o=e.innerProps;return N("div",T({},ee(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),o),r||N(zr,null))},fc=Jr,pc=function(e){var r=e.children,o=e.innerProps;return N("div",T({},ee(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),o),r||N(pn,null))},mc=function(e,r){var o=e.isDisabled,n=e.theme,a=n.spacing.baseUnit,s=n.colors;return F({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:o?s.neutral10:s.neutral20,marginBottom:a*2,marginTop:a*2})},vc=function(e){var r=e.innerProps;return N("span",T({},r,ee(e,"indicatorSeparator",{"indicator-separator":!0})))},hc=cl(Qn||(Qn=dl([`
9
+ 0%, 80%, 100% { opacity: 0; }
10
+ 40% { opacity: 1; }
11
+ `]))),Ic=function(e,r){var o=e.isFocused,n=e.size,a=e.theme,s=a.colors,u=a.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:u*2})},Ot=function(e){var r=e.delay,o=e.offset;return N("span",{css:dn({animation:"".concat(hc," 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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW1RSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWFjdE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHtcbiAgQ29tbW9uUHJvcHNBbmRDbGFzc05hbWUsXG4gIENTU09iamVjdFdpdGhMYWJlbCxcbiAgR3JvdXBCYXNlLFxufSBmcm9tICcuLi90eXBlcyc7XG5pbXBvcnQgeyBnZXRTdHlsZVByb3BzIH0gZnJvbSAnLi4vdXRpbH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29sZWFuO1xuICBpc0Rpc2FibGVkOiBib29sZWFuO1xuICAvKiogU2V0IHNpemUgb2YgdGhlIGNvbnRhaW5lci4gKi9cbiAgc2l6ZTogbnVtYmVyO1xufVxuZXhwb3J0IGNvbnN0IExvYWRpbmdJbmRpY2F0b3IgPSA8XG4gIE9wdGlvbixcbiAgSXNNdWx0aSBleHRlbmRzIGJvb2xlYW4sXG4gIEdyb3VwIGV4dGVuZHMgR3JvdXBCYXNlPE9wdGlvbj5cbj4oe1xuICBpbm5lclByb3BzLFxuICBpc1J0bCxcbiAgc2l6ZSA9IDQsXG4gIC4uLnJlc3RQcm9wc1xufTogTG9hZGluZ0luZGljYXRvclByb3BzPE9wdGlvbiwgSXNNdWx0aSwgR3JvdXA+KSA9PiB7XG4gIHJldHVybiAoXG4gICAgPGRpdlxuICAgICAgey4uLmdldFN0eWxlUHJvcHMoXG4gICAgICAgIHsgLi4ucmVzdFByb3BzLCBpbm5lclByb3BzLCBpc1J0bCwgc2l6ZSB9LFxuICAgICAgICAnbG9hZGluZ0luZGljYXRvcicsXG4gICAgICAgIHtcbiAgICAgICAgICBpbmRpY2F0b3I6IHRydWUsXG4gICAgICAgICAgJ2xvYWRpbmctaW5kaWNhdG9yJzogdHJ1ZSxcbiAgICAgICAgfVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG4iXX0= */")})},Cc=function(e){var r=e.innerProps,o=e.isRtl,n=e.size,a=n===void 0?4:n,s=Re(e,lc);return N("div",T({},ee(F(F({},s),{},{innerProps:r,isRtl:o,size:a}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),N(Ot,{delay:0,offset:o}),N(Ot,{delay:160,offset:!0}),N(Ot,{delay:320,offset:!o}))},xc=function(e,r){var o=e.isDisabled,n=e.isFocused,a=e.theme,s=a.colors,u=a.borderRadius,i=a.spacing;return F({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:i.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:u,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(s.primary):void 0,"&:hover":{borderColor:n?s.primary:s.neutral30}})},yc=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,a=e.innerRef,s=e.innerProps,u=e.menuIsOpen;return N("div",T({ref:a},ee(e,"control",{control:!0,"control--is-disabled":o,"control--is-focused":n,"control--menu-is-open":u}),s,{"aria-disabled":o||void 0}),r)},Ac=yc,Ec=["data"],Gc=function(e,r){var o=e.theme.spacing;return r?{}:{paddingBottom:o.baseUnit*2,paddingTop:o.baseUnit*2}},Sc=function(e){var r=e.children,o=e.cx,n=e.getStyles,a=e.getClassNames,s=e.Heading,u=e.headingProps,i=e.innerProps,l=e.label,c=e.theme,g=e.selectProps;return N("div",T({},ee(e,"group",{group:!0}),i),N(s,T({},u,{selectProps:g,theme:c,getStyles:n,getClassNames:a,cx:o}),l),N("div",null,r))},Bc=function(e,r){var o=e.theme,n=o.colors,a=o.spacing;return F({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:a.baseUnit*3,paddingRight:a.baseUnit*3,textTransform:"uppercase"})},_c=function(e){var r=Or(e);r.data;var o=Re(r,Ec);return N("div",T({},ee(e,"groupHeading",{"group-heading":!0}),o))},Rc=Sc,wc=["innerRef","isDisabled","isHidden","inputClassName"],Nc=function(e,r){var o=e.isDisabled,n=e.value,a=e.theme,s=a.spacing,u=a.colors;return F(F({visibility:o?"hidden":"visible",transform:n?"translateZ(0)":""},Vc),r?{}:{margin:s.baseUnit/2,paddingBottom:s.baseUnit/2,paddingTop:s.baseUnit/2,color:u.neutral80})},$r={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Vc={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"},$r)},Fc=function(e){return F({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},$r)},Pc=function(e){var r=e.cx,o=e.value,n=Or(e),a=n.innerRef,s=n.isDisabled,u=n.isHidden,i=n.inputClassName,l=Re(n,wc);return N("div",T({},ee(e,"input",{"input-container":!0}),{"data-value":o||""}),N("input",T({className:r({input:!0},i),ref:a,style:Fc(u),disabled:s},l)))},Tc=Pc,Xc=function(e,r){var o=e.theme,n=o.spacing,a=o.borderRadius,s=o.colors;return F({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:s.neutral10,borderRadius:a/2,margin:n.baseUnit/2})},Mc=function(e,r){var o=e.theme,n=o.borderRadius,a=o.colors,s=e.cropWithEllipsis;return F({overflow:"hidden",textOverflow:s||s===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},Wc=function(e,r){var o=e.theme,n=o.spacing,a=o.borderRadius,s=o.colors,u=e.isFocused;return F({alignItems:"center",display:"flex"},r?{}:{borderRadius:a/2,backgroundColor:u?s.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:s.dangerLight,color:s.danger}})},Ur=function(e){var r=e.children,o=e.innerProps;return N("div",o,r)},Lc=Ur,Oc=Ur;function Zc(t){var e=t.children,r=t.innerProps;return N("div",T({role:"button"},r),e||N(pn,{size:14}))}var Dc=function(e){var r=e.children,o=e.components,n=e.data,a=e.innerProps,s=e.isDisabled,u=e.removeProps,i=e.selectProps,l=o.Container,c=o.Label,g=o.Remove;return N(l,{data:n,innerProps:F(F({},ee(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),a),selectProps:i},N(c,{data:n,innerProps:F({},ee(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:i},r),N(g,{data:n,innerProps:F(F({},ee(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},u),selectProps:i}))},kc=Dc,jc=function(e,r){var o=e.isDisabled,n=e.isFocused,a=e.isSelected,s=e.theme,u=s.spacing,i=s.colors;return F({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:a?i.primary:n?i.primary25:"transparent",color:o?i.neutral20:a?i.neutral0:"inherit",padding:"".concat(u.baseUnit*2,"px ").concat(u.baseUnit*3,"px"),":active":{backgroundColor:o?void 0:a?i.primary:i.primary50}})},Hc=function(e){var r=e.children,o=e.isDisabled,n=e.isFocused,a=e.isSelected,s=e.innerRef,u=e.innerProps;return N("div",T({},ee(e,"option",{option:!0,"option--is-disabled":o,"option--is-focused":n,"option--is-selected":a}),{ref:s,"aria-disabled":o},u),r)},Yc=Hc,zc=function(e,r){var o=e.theme,n=o.spacing,a=o.colors;return F({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:a.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},Jc=function(e){var r=e.children,o=e.innerProps;return N("div",T({},ee(e,"placeholder",{placeholder:!0}),o),r)},$c=Jc,Uc=function(e,r){var o=e.isDisabled,n=e.theme,a=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:a.baseUnit/2,marginRight:a.baseUnit/2})},Qc=function(e){var r=e.children,o=e.isDisabled,n=e.innerProps;return N("div",T({},ee(e,"singleValue",{"single-value":!0,"single-value--is-disabled":o}),n),r)},qc=Qc,Kc={ClearIndicator:pc,Control:Ac,DropdownIndicator:bc,DownChevron:zr,CrossIcon:pn,Group:Rc,GroupHeading:_c,IndicatorsContainer:sc,IndicatorSeparator:vc,Input:Tc,LoadingIndicator:Cc,Menu:zl,MenuList:$l,MenuPortal:tc,LoadingMessage:Kl,NoOptionsMessage:ql,MultiValue:kc,MultiValueContainer:Lc,MultiValueLabel:Oc,MultiValueRemove:Zc,Option:Yc,Placeholder:$c,SelectContainer:rc,SingleValue:qc,ValueContainer:ac},ed=function(e){return F(F({},Kc),e.components)},qn=Number.isNaN||function(e){return typeof e=="number"&&e!==e};function td(t,e){return!!(t===e||qn(t)&&qn(e))}function nd(t,e){if(t.length!==e.length)return!1;for(var r=0;r<t.length;r++)if(!td(t[r],e[r]))return!1;return!0}function rd(t,e){e===void 0&&(e=nd);var r=null;function o(){for(var n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];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 od(){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 ad=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:od},id=function(e){return N("span",T({css:ad},e))},Kn=id,sd={guidance:function(e){var r=e.isSearchable,o=e.isMulti,n=e.tabSelectsValue,a=e.context,s=e.isInitialFocus;switch(a){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,a=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(a.length>1?"s":""," ").concat(a.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,a=e.label,s=a===void 0?"":a,u=e.selectValue,i=e.isDisabled,l=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"&&u)return"value ".concat(s," focused, ").concat(g(u,o),".");if(r==="menu"&&c){var p=i?" disabled":"",f="".concat(l?" 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:"",".")}},ud=function(e){var r=e.ariaSelection,o=e.focusedOption,n=e.focusedValue,a=e.focusableOptions,s=e.isFocused,u=e.selectValue,i=e.selectProps,l=e.id,c=e.isAppleDevice,g=i.ariaLiveMessages,p=i.getOptionLabel,f=i.inputValue,I=i.isMulti,m=i.isOptionDisabled,b=i.isSearchable,v=i.menuIsOpen,G=i.options,y=i.screenReaderStatus,S=i.tabSelectsValue,h=i.isLoading,E=i["aria-label"],B=i["aria-live"],_=C.useMemo(function(){return F(F({},sd),g||{})},[g]),V=C.useMemo(function(){var $="";if(r&&_.onChange){var k=r.option,O=r.options,j=r.removedValue,se=r.removedValues,ae=r.value,x=function(P){return Array.isArray(P)?null:P},w=j||k||x(ae),X=w?p(w):"",Z=O||se||void 0,ie=Z?Z.map(p):[],re=F({isDisabled:w&&m(w,u),label:X,labels:ie},r);$=_.onChange(re)}return $},[r,_,m,u,p]),L=C.useMemo(function(){var $="",k=o||n,O=!!(o&&u&&u.includes(o));if(k&&_.onFocus){var j={focused:k,label:p(k),isDisabled:m(k,u),isSelected:O,options:a,context:k===o?"menu":"value",selectValue:u,isAppleDevice:c};$=_.onFocus(j)}return $},[o,n,p,m,_,a,u,c]),M=C.useMemo(function(){var $="";if(v&&G.length&&!h&&_.onFilter){var k=y({count:a.length});$=_.onFilter({inputValue:f,resultsMessage:k})}return $},[a,f,v,_,G,y,h]),q=r?.action==="initial-input-focus",te=C.useMemo(function(){var $="";if(_.guidance){var k=n?"value":v?"menu":"input";$=_.guidance({"aria-label":E,context:k,isDisabled:o&&m(o,u),isMulti:I,isSearchable:b,tabSelectsValue:S,isInitialFocus:q})}return $},[E,o,n,I,m,b,v,_,u,S,q]),ne=N(C.Fragment,null,N("span",{id:"aria-selection"},V),N("span",{id:"aria-focused"},L),N("span",{id:"aria-results"},M),N("span",{id:"aria-guidance"},te));return N(C.Fragment,null,N(Kn,{id:l},q&&ne),N(Kn,{"aria-live":B,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},s&&!q&&ne))},ld=ud,nn=[{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źẑżžẓẕƶȥɀⱬꝣ"}],cd=new RegExp("["+nn.map(function(t){return t.letters}).join("")+"]","g"),Qr={};for(var Zt=0;Zt<nn.length;Zt++)for(var Dt=nn[Zt],kt=0;kt<Dt.letters.length;kt++)Qr[Dt.letters[kt]]=Dt.base;var qr=function(e){return e.replace(cd,function(r){return Qr[r]})},dd=rd(qr),er=function(e){return e.replace(/^\s+|\s+$/g,"")},gd=function(e){return"".concat(e.label," ").concat(e.value)},bd=function(e){return function(r,o){if(r.data.__isNew__)return!0;var n=F({ignoreCase:!0,ignoreAccents:!0,stringify:gd,trim:!0,matchFrom:"any"},e),a=n.ignoreCase,s=n.ignoreAccents,u=n.stringify,i=n.trim,l=n.matchFrom,c=i?er(o):o,g=i?er(u(r)):u(r);return a&&(c=c.toLowerCase(),g=g.toLowerCase()),s&&(c=dd(c),g=qr(g)),l==="start"?g.substr(0,c.length)===c:g.indexOf(c)>-1}},fd=["innerRef"];function pd(t){var e=t.innerRef,r=Re(t,fd),o=Ll(r,"onExited","in","enter","exit","appear");return N("input",T({ref:e},o,{css:dn({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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXlCTSIsImZpbGUiOiJEdW1teUlucHV0LnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgSlNYLCBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5pbXBvcnQgeyByZW1vdmVQcm9wcyB9IGZyb20gJy4uL3V0aWxzJztcblxuZXhwb3J0IGRlZmF1bHQgZnVuY3Rpb24gRHVtbXlJbnB1dCh7XG4gIGlubmVyUmVmLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydpbnB1dCddICYge1xuICByZWFkb25seSBpbm5lclJlZjogUmVmPEhUTUxJbnB1dEVsZW1lbnQ+O1xufSkge1xuICAvLyBSZW1vdmUgYW5pbWF0aW9uIHByb3BzIG5vdCBtZWFudCBmb3IgSFRNTCBlbGVtZW50c1xuICBjb25zdCBmaWx0ZXJlZFByb3BzID0gcmVtb3ZlUHJvcHMoXG4gICAgcHJvcHMsXG4gICAgJ29uRXhpdGVkJyxcbiAgICAnaW4nLFxuICAgICdlbnRlcicsXG4gICAgJ2V4aXQnLFxuICAgICdhcHBlYXInXG4gICk7XG5cbiAgcmV0dXJuIChcbiAgICA8aW5wdXRcbiAgICAgIHJlZj17aW5uZXJSZWZ9XG4gICAgICB7Li4uZmlsdGVyZWRQcm9wc31cbiAgICAgIGNzcz17e1xuICAgICAgICBsYWJlbDogJ2R1bW15SW5wdXQnLFxuICAgICAgICAvLyBnZXQgcmlkIG9mIGFueSBkZWZhdWx0IHN0eWxlc1xuICAgICAgICBiYWNrZ3JvdW5kOiAwLFxuICAgICAgICBib3JkZXI6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgdGhpcyBoaWRlcyB0aGUgZmxhc2hpbmcgY3Vyc29yXG4gICAgICAgIGNhcmV0Q29sb3I6ICd0cmFuc3BhcmVudCcsXG4gICAgICAgIGZvbnRTaXplOiAnaW5oZXJpdCcsXG4gICAgICAgIGdyaWRBcmVhOiAnMSAvIDEgLyAyIC8gMycsXG4gICAgICAgIG91dGxpbmU6IDAsXG4gICAgICAgIHBhZGRpbmc6IDAsXG4gICAgICAgIC8vIGltcG9ydGFudCEgd2l0aG91dCBgd2lkdGhgIGJyb3dzZXJzIHdvbid0IGFsbG93IGZvY3VzXG4gICAgICAgIHdpZHRoOiAxLFxuXG4gICAgICAgIC8vIHJlbW92ZSBjdXJzb3Igb24gZGVza3RvcFxuICAgICAgICBjb2xvcjogJ3RyYW5zcGFyZW50JyxcblxuICAgICAgICAvLyByZW1vdmUgY3Vyc29yIG9uIG1vYmlsZSB3aGlsc3QgbWFpbnRhaW5pbmcgXCJzY3JvbGwgaW50byB2aWV3XCIgYmVoYXZpb3VyXG4gICAgICAgIGxlZnQ6IC0xMDAsXG4gICAgICAgIG9wYWNpdHk6IDAsXG4gICAgICAgIHBvc2l0aW9uOiAncmVsYXRpdmUnLFxuICAgICAgICB0cmFuc2Zvcm06ICdzY2FsZSguMDEpJyxcbiAgICAgIH19XG4gICAgLz5cbiAgKTtcbn1cbiJdfQ== */")}))}var md=function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()};function vd(t){var e=t.isEnabled,r=t.onBottomArrive,o=t.onBottomLeave,n=t.onTopArrive,a=t.onTopLeave,s=C.useRef(!1),u=C.useRef(!1),i=C.useRef(0),l=C.useRef(null),c=C.useCallback(function(b,v){if(l.current!==null){var G=l.current,y=G.scrollTop,S=G.scrollHeight,h=G.clientHeight,E=l.current,B=v>0,_=S-h-y,V=!1;_>v&&s.current&&(o&&o(b),s.current=!1),B&&u.current&&(a&&a(b),u.current=!1),B&&v>_?(r&&!s.current&&r(b),E.scrollTop=S,V=!0,s.current=!0):!B&&-v>y&&(n&&!u.current&&n(b),E.scrollTop=0,V=!0,u.current=!0),V&&md(b)}},[r,o,n,a]),g=C.useCallback(function(b){c(b,b.deltaY)},[c]),p=C.useCallback(function(b){i.current=b.changedTouches[0].clientY},[]),f=C.useCallback(function(b){var v=i.current-b.changedTouches[0].clientY;c(b,v)},[c]),I=C.useCallback(function(b){if(b){var v=Xl?{passive:!1}:!1;b.addEventListener("wheel",g,v),b.addEventListener("touchstart",p,v),b.addEventListener("touchmove",f,v)}},[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=l.current;return I(b),function(){m(b)}}},[e,I,m]),function(b){l.current=b}}var tr=["boxSizing","height","overflow","paddingRight","position"],nr={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function rr(t){t.cancelable&&t.preventDefault()}function or(t){t.stopPropagation()}function ar(){var t=this.scrollTop,e=this.scrollHeight,r=t+this.offsetHeight;t===0?this.scrollTop=1:r===e&&(this.scrollTop=t-1)}function ir(){return"ontouchstart"in window||navigator.maxTouchPoints}var sr=!!(typeof window<"u"&&window.document&&window.document.createElement),qe=0,We={capture:!1,passive:!1};function hd(t){var e=t.isEnabled,r=t.accountForScrollbars,o=r===void 0?!0:r,n=C.useRef({}),a=C.useRef(null),s=C.useCallback(function(i){if(sr){var l=document.body,c=l&&l.style;if(o&&tr.forEach(function(I){var m=c&&c[I];n.current[I]=m}),o&&qe<1){var g=parseInt(n.current.paddingRight,10)||0,p=document.body?document.body.clientWidth:0,f=window.innerWidth-p+g||0;Object.keys(nr).forEach(function(I){var m=nr[I];c&&(c[I]=m)}),c&&(c.paddingRight="".concat(f,"px"))}l&&ir()&&(l.addEventListener("touchmove",rr,We),i&&(i.addEventListener("touchstart",ar,We),i.addEventListener("touchmove",or,We))),qe+=1}},[o]),u=C.useCallback(function(i){if(sr){var l=document.body,c=l&&l.style;qe=Math.max(qe-1,0),o&&qe<1&&tr.forEach(function(g){var p=n.current[g];c&&(c[g]=p)}),l&&ir()&&(l.removeEventListener("touchmove",rr,We),i&&(i.removeEventListener("touchstart",ar,We),i.removeEventListener("touchmove",or,We)))}},[o]);return C.useEffect(function(){if(e){var i=a.current;return s(i),function(){u(i)}}},[e,s,u]),function(i){a.current=i}}function Id(){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 Cd=function(e){var r=e.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},xd=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,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQW9EVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2ssIE1vdXNlRXZlbnQgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxuaW50ZXJmYWNlIFByb3BzIHtcbiAgcmVhZG9ubHkgY2hpbGRyZW46IChyZWY6IFJlZkNh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BzKSB7XG4gIGNvbnN0IHNldFNjcm9sbENhcHR1cmVUYXJnZXQgPSB1c2VTY3JvbGxDYXB0dXJlKHtcbiAgICBpc0VuYWJsZWQ6IGNhcHR1cmVFbmFibGVkLFxuICAgIG9uQm90dG9tQXJyaXZlLFxuICAgIG9uQm90dG9tTGVhdmUsXG4gICAgb25Ub3BBcnJpdmUsXG4gICAgb25Ub3BMZWF2ZSxcbiAgfSk7XG4gIGNvbnN0IHNldFNjcm9sbExvY2tUYXJnZXQgPSB1c2VTY3JvbGxMb2NrKHsgaXNFbmFibGVkOiBsb2NrRW5hYmxlZCB9KTtcblxuICBjb25zdCB0YXJnZXRSZWY6IFJlZkNhbGxiYWNrPEhUTUxFbGVtZW50PiA9IChlbGVtZW50KSA9PiB7XG4gICAgc2V0U2Nyb2xsQ2FwdHVyZVRhcmdldChlbGVtZW50KTtcbiAgICBzZXRTY3JvbGxMb2NrVGFyZ2V0KGVsZW1lbnQpO1xuICB9O1xuXG4gIHJldHVybiAoXG4gICAgPEZyYWdtZW50PlxuICAgICAge2xvY2tFbmFibGVkICYmIChcbiAgICAgICAgPGRpdlxuICAgICAgICAgIG9uQ2xpY2s9e2JsdXJTZWxlY3RJbnB1dH1cbiAgICAgICAgICBjc3M9e3sgcG9zaXRpb246ICdmaXhlZCcsIGxlZnQ6IDAsIGJvdHRvbTogMCwgcmlnaHQ6IDAsIHRvcDogMCB9fVxuICAgICAgICAvPlxuICAgICAgKX1cbiAgICAgIHtjaGlsZHJlbih0YXJnZXRSZWYpfVxuICAgIDwvRnJhZ21lbnQ+XG4gICk7XG59XG4iXX0= */",toString:Id};function yd(t){var e=t.children,r=t.lockEnabled,o=t.captureEnabled,n=o===void 0?!0:o,a=t.onBottomArrive,s=t.onBottomLeave,u=t.onTopArrive,i=t.onTopLeave,l=vd({isEnabled:n,onBottomArrive:a,onBottomLeave:s,onTopArrive:u,onTopLeave:i}),c=hd({isEnabled:r}),g=function(f){l(f),c(f)};return N(C.Fragment,null,r&&N("div",{onClick:Cd,css:xd}),e(g))}function Ad(){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 Ed=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:Ad},Gd=function(e){var r=e.name,o=e.onFocus;return N("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:o,css:Ed,value:"",onChange:function(){}})},Sd=Gd;function mn(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 Bd(){return mn(/^iPhone/i)}function Kr(){return mn(/^Mac/i)}function _d(){return mn(/^iPad/i)||Kr()&&navigator.maxTouchPoints>1}function Rd(){return Bd()||_d()}function wd(){return Kr()||Rd()}var Nd=function(e){return e.label},Vd=function(e){return e.label},Fd=function(e){return e.value},Pd=function(e){return!!e.isDisabled},Td={clearIndicator:fc,container:nc,control:xc,dropdownIndicator:gc,group:Gc,groupHeading:Bc,indicatorsContainer:ic,indicatorSeparator:mc,input:Nc,loadingIndicator:Ic,loadingMessage:Ql,menu:jl,menuList:Jl,menuPortal:ec,multiValue:Xc,multiValueLabel:Mc,multiValueRemove:Wc,noOptionsMessage:Ul,option:jc,placeholder:zc,singleValue:Uc,valueContainer:oc},Xd={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%)"},Md=4,eo=4,Wd=38,Ld=eo*2,Od={baseUnit:eo,controlHeight:Wd,menuGutter:Ld},jt={borderRadius:Md,colors:Xd,spacing:Od},Zd={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Un(),captureMenuScroll:!Un(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:bd(),formatGroupLabel:Nd,getOptionLabel:Vd,getOptionValue:Fd,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Pd,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!Pl(),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 ur(t,e,r,o){var n=ro(t,e,r),a=oo(t,e,r),s=no(t,e),u=Bt(t,e);return{type:"option",data:e,isDisabled:n,isSelected:a,label:s,value:u,index:o}}function It(t,e){return t.options.map(function(r,o){if("options"in r){var n=r.options.map(function(s,u){return ur(t,s,e,u)}).filter(function(s){return cr(t,s)});return n.length>0?{type:"group",data:r,options:n,index:o}:void 0}var a=ur(t,r,e,o);return cr(t,a)?a:void 0}).filter(Ml)}function to(t){return t.reduce(function(e,r){return r.type==="group"?e.push.apply(e,an(r.options.map(function(o){return o.data}))):e.push(r.data),e},[])}function lr(t,e){return t.reduce(function(r,o){return o.type==="group"?r.push.apply(r,an(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 Dd(t,e){return to(It(t,e))}function cr(t,e){var r=t.inputValue,o=r===void 0?"":r,n=e.data,a=e.isSelected,s=e.label,u=e.value;return(!io(t)||!a)&&ao(t,{label:s,value:u,data:n},o)}function kd(t,e){var r=t.focusedValue,o=t.selectValue,n=o.indexOf(r);if(n>-1){var a=e.indexOf(r);if(a>-1)return r;if(n<e.length)return e[n]}return null}function jd(t,e){var r=t.focusedOption;return r&&e.indexOf(r)>-1?r:e[0]}var Ht=function(e,r){var o,n=(o=e.find(function(a){return a.data===r}))===null||o===void 0?void 0:o.id;return n||null},no=function(e,r){return e.getOptionLabel(r)},Bt=function(e,r){return e.getOptionValue(r)};function ro(t,e,r){return typeof t.isOptionDisabled=="function"?t.isOptionDisabled(e,r):!1}function oo(t,e,r){if(r.indexOf(e)>-1)return!0;if(typeof t.isOptionSelected=="function")return t.isOptionSelected(e,r);var o=Bt(t,e);return r.some(function(n){return Bt(t,n)===o})}function ao(t,e,r){return t.filterOption?t.filterOption(e,r):!0}var io=function(e){var r=e.hideSelectedOptions,o=e.isMulti;return r===void 0?o:r},Hd=1,so=(function(t){iu(r,t);var e=lu(r);function r(o){var n;if(ou(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(i){n.controlRef=i},n.focusedOptionRef=null,n.getFocusedOptionRef=function(i){n.focusedOptionRef=i},n.menuListRef=null,n.getMenuListRef=function(i){n.menuListRef=i},n.inputRef=null,n.getInputRef=function(i){n.inputRef=i},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(i,l){var c=n.props,g=c.onChange,p=c.name;l.name=p,n.ariaOnChange(i,l),g(i,l)},n.setValue=function(i,l,c){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(i,{action:l,option:c})},n.selectOption=function(i){var l=n.props,c=l.blurInputOnSelect,g=l.isMulti,p=l.name,f=n.state.selectValue,I=g&&n.isOptionSelected(i,f),m=n.isOptionDisabled(i,f);if(I){var b=n.getOptionValue(i);n.setValue(f.filter(function(v){return n.getOptionValue(v)!==b}),"deselect-option",i)}else if(!m)g?n.setValue([].concat(an(f),[i]),"select-option",i):n.setValue(i,"select-option");else{n.ariaOnChange(i,{action:"select-option",option:i,name:p});return}c&&n.blurInput()},n.removeValue=function(i){var l=n.props.isMulti,c=n.state.selectValue,g=n.getOptionValue(i),p=c.filter(function(I){return n.getOptionValue(I)!==g}),f=pt(l,p,p[0]||null);n.onChange(f,{action:"remove-value",removedValue:i}),n.focusInput()},n.clearValue=function(){var i=n.state.selectValue;n.onChange(pt(n.props.isMulti,[],null),{action:"clear",removedValues:i})},n.popValue=function(){var i=n.props.isMulti,l=n.state.selectValue,c=l[l.length-1],g=l.slice(0,l.length-1),p=pt(i,g,g[0]||null);c&&n.onChange(p,{action:"pop-value",removedValue:c})},n.getFocusedOptionId=function(i){return Ht(n.state.focusableOptionsWithIds,i)},n.getFocusableOptionsWithIds=function(){return lr(It(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var i=arguments.length,l=new Array(i),c=0;c<i;c++)l[c]=arguments[c];return Rl.apply(void 0,[n.props.classNamePrefix].concat(l))},n.getOptionLabel=function(i){return no(n.props,i)},n.getOptionValue=function(i){return Bt(n.props,i)},n.getStyles=function(i,l){var c=n.props.unstyled,g=Td[i](l,c);g.boxSizing="border-box";var p=n.props.styles[i];return p?p(g,l):g},n.getClassNames=function(i,l){var c,g;return(c=(g=n.props.classNames)[i])===null||c===void 0?void 0:c.call(g,l)},n.getElementId=function(i){return"".concat(n.state.instancePrefix,"-").concat(i)},n.getComponents=function(){return ed(n.props)},n.buildCategorizedOptions=function(){return It(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return to(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(i,l){n.setState({ariaSelection:F({value:i},l)})},n.onMenuMouseDown=function(i){i.button===0&&(i.stopPropagation(),i.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(i){n.blockOptionHover=!1},n.onControlMouseDown=function(i){if(!i.defaultPrevented){var l=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&n.onMenuClose():l&&n.openMenu("first"):(l&&(n.openAfterFocus=!0),n.focusInput()),i.target.tagName!=="INPUT"&&i.target.tagName!=="TEXTAREA"&&i.preventDefault()}},n.onDropdownIndicatorMouseDown=function(i){if(!(i&&i.type==="mousedown"&&i.button!==0)&&!n.props.isDisabled){var l=n.props,c=l.isMulti,g=l.menuIsOpen;n.focusInput(),g?(n.setState({inputIsHiddenAfterUpdate:!c}),n.onMenuClose()):n.openMenu("first"),i.preventDefault()}},n.onClearIndicatorMouseDown=function(i){i&&i.type==="mousedown"&&i.button!==0||(n.clearValue(),i.preventDefault(),n.openAfterFocus=!1,i.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(i){typeof n.props.closeMenuOnScroll=="boolean"?i.target instanceof HTMLElement&&Vt(i.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(i)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(i){var l=i.touches,c=l&&l.item(0);c&&(n.initialTouchX=c.clientX,n.initialTouchY=c.clientY,n.userIsDragging=!1)},n.onTouchMove=function(i){var l=i.touches,c=l&&l.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(i){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(i.target)&&n.menuListRef&&!n.menuListRef.contains(i.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(i){n.userIsDragging||n.onControlMouseDown(i)},n.onClearIndicatorTouchEnd=function(i){n.userIsDragging||n.onClearIndicatorMouseDown(i)},n.onDropdownIndicatorTouchEnd=function(i){n.userIsDragging||n.onDropdownIndicatorMouseDown(i)},n.handleInputChange=function(i){var l=n.props.inputValue,c=i.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(c,{action:"input-change",prevInputValue:l}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(i){n.props.onFocus&&n.props.onFocus(i),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(i){var l=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(i),n.onInputChange("",{action:"input-blur",prevInputValue:l}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(i){if(!(n.blockOptionHover||n.state.focusedOption===i)){var l=n.getFocusableOptions(),c=l.indexOf(i);n.setState({focusedOption:i,focusedOptionId:c>-1?n.getFocusedOptionId(i):null})}},n.shouldHideSelectedOptions=function(){return io(n.props)},n.onValueInputFocus=function(i){i.preventDefault(),i.stopPropagation(),n.focus()},n.onKeyDown=function(i){var l=n.props,c=l.isMulti,g=l.backspaceRemovesValue,p=l.escapeClearsValue,f=l.inputValue,I=l.isClearable,m=l.isDisabled,b=l.menuIsOpen,v=l.onKeyDown,G=l.tabSelectsValue,y=l.openMenuOnFocus,S=n.state,h=S.focusedOption,E=S.focusedValue,B=S.selectValue;if(!m&&!(typeof v=="function"&&(v(i),i.defaultPrevented))){switch(n.blockOptionHover=!0,i.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():I&&n.clearValue()}break;case"Tab":if(n.isComposing||i.shiftKey||!b||!G||!h||y&&n.isOptionSelected(h,B))return;n.selectOption(h);break;case"Enter":if(i.keyCode===229)break;if(b){if(!h||n.isComposing)return;n.selectOption(h);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(!h)return;n.selectOption(h);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}i.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++Hd),n.state.selectValue=Jn(o.value),o.menuIsOpen&&n.state.selectValue.length){var a=n.getFocusableOptionsWithIds(),s=n.buildFocusableOptions(),u=s.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=a,n.state.focusedOption=s[u],n.state.focusedOptionId=Ht(a,s[u])}return n}return au(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&&$n(this.menuListRef,this.focusedOptionRef),wd()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var a=this.props,s=a.isDisabled,u=a.menuIsOpen,i=this.state.isFocused;(i&&!s&&n.isDisabled||i&&u&&!n.menuIsOpen)&&this.focusInput(),i&&s&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!i&&!s&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&($n(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,a){this.props.onInputChange(n,a)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var a=this,s=this.state,u=s.selectValue,i=s.isFocused,l=this.buildFocusableOptions(),c=n==="first"?0:l.length-1;if(!this.props.isMulti){var g=l.indexOf(u[0]);g>-1&&(c=g)}this.scrollToFocusedOptionOnUpdate=!(i&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:l[c],focusedOptionId:this.getFocusedOptionId(l[c])},function(){return a.onMenuOpen()})}},{key:"focusValue",value:function(n){var a=this.state,s=a.selectValue,u=a.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var i=s.indexOf(u);u||(i=-1);var l=s.length-1,c=-1;if(s.length){switch(n){case"previous":i===0?c=0:i===-1?c=l:c=i-1;break;case"next":i>-1&&i<l&&(c=i+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",a=this.props.pageSize,s=this.state.focusedOption,u=this.getFocusableOptions();if(u.length){var i=0,l=u.indexOf(s);s||(l=-1),n==="up"?i=l>0?l-1:u.length-1:n==="down"?i=(l+1)%u.length:n==="pageup"?(i=l-a,i<0&&(i=0)):n==="pagedown"?(i=l+a,i>u.length-1&&(i=u.length-1)):n==="last"&&(i=u.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:u[i],focusedValue:null,focusedOptionId:this.getFocusedOptionId(u[i])})}}},{key:"getTheme",value:function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(jt):F(F({},jt),this.props.theme):jt}},{key:"getCommonProps",value:function(){var n=this.clearValue,a=this.cx,s=this.getStyles,u=this.getClassNames,i=this.getValue,l=this.selectOption,c=this.setValue,g=this.props,p=g.isMulti,f=g.isRtl,I=g.options,m=this.hasValue();return{clearValue:n,cx:a,getStyles:s,getClassNames:u,getValue:i,hasValue:m,isMulti:p,isRtl:f,options:I,selectOption:l,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,a=n.isClearable,s=n.isMulti;return a===void 0?s:a}},{key:"isOptionDisabled",value:function(n,a){return ro(this.props,n,a)}},{key:"isOptionSelected",value:function(n,a){return oo(this.props,n,a)}},{key:"filterOption",value:function(n,a){return ao(this.props,n,a)}},{key:"formatOptionLabel",value:function(n,a){if(typeof this.props.formatOptionLabel=="function"){var s=this.props.inputValue,u=this.state.selectValue;return this.props.formatOptionLabel(n,{context:a,inputValue:s,selectValue:u})}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,a=n.isDisabled,s=n.isSearchable,u=n.inputId,i=n.inputValue,l=n.tabIndex,c=n.form,g=n.menuIsOpen,p=n.required,f=this.getComponents(),I=f.Input,m=this.state,b=m.inputIsHidden,v=m.ariaSelection,G=this.commonProps,y=u||this.getElementId("input"),S=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()?v?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return s?W.createElement(I,T({},G,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:y,innerRef:this.getInputRef,isDisabled:a,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:l,form:c,type:"text",value:i},S)):W.createElement(pd,T({id:y,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:Gt,onFocus:this.onInputFocus,disabled:a,tabIndex:l,inputMode:"none",form:c,value:""},S))}},{key:"renderPlaceholderOrValue",value:function(){var n=this,a=this.getComponents(),s=a.MultiValue,u=a.MultiValueContainer,i=a.MultiValueLabel,l=a.MultiValueRemove,c=a.SingleValue,g=a.Placeholder,p=this.commonProps,f=this.props,I=f.controlShouldRenderValue,m=f.isDisabled,b=f.isMulti,v=f.inputValue,G=f.placeholder,y=this.state,S=y.selectValue,h=y.focusedValue,E=y.isFocused;if(!this.hasValue()||!I)return v?null:W.createElement(g,T({},p,{key:"placeholder",isDisabled:m,isFocused:E,innerProps:{id:this.getElementId("placeholder")}}),G);if(b)return S.map(function(_,V){var L=_===h,M="".concat(n.getOptionLabel(_),"-").concat(n.getOptionValue(_));return W.createElement(s,T({},p,{components:{Container:u,Label:i,Remove:l},isFocused:L,isDisabled:m,key:M,index:V,removeProps:{onClick:function(){return n.removeValue(_)},onTouchEnd:function(){return n.removeValue(_)},onMouseDown:function(te){te.preventDefault()}},data:_}),n.formatOptionLabel(_,"value"))});if(v)return null;var B=S[0];return W.createElement(c,T({},p,{data:B,isDisabled:m}),this.formatOptionLabel(B,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),a=n.ClearIndicator,s=this.commonProps,u=this.props,i=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!this.isClearable()||!a||i||!this.hasValue()||l)return null;var g={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return W.createElement(a,T({},s,{innerProps:g,isFocused:c}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),a=n.LoadingIndicator,s=this.commonProps,u=this.props,i=u.isDisabled,l=u.isLoading,c=this.state.isFocused;if(!a||!l)return null;var g={"aria-hidden":"true"};return W.createElement(a,T({},s,{innerProps:g,isDisabled:i,isFocused:c}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),a=n.DropdownIndicator,s=n.IndicatorSeparator;if(!a||!s)return null;var u=this.commonProps,i=this.props.isDisabled,l=this.state.isFocused;return W.createElement(s,T({},u,{isDisabled:i,isFocused:l}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),a=n.DropdownIndicator;if(!a)return null;var s=this.commonProps,u=this.props.isDisabled,i=this.state.isFocused,l={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return W.createElement(a,T({},s,{innerProps:l,isDisabled:u,isFocused:i}))}},{key:"renderMenu",value:function(){var n=this,a=this.getComponents(),s=a.Group,u=a.GroupHeading,i=a.Menu,l=a.MenuList,c=a.MenuPortal,g=a.LoadingMessage,p=a.NoOptionsMessage,f=a.Option,I=this.commonProps,m=this.state.focusedOption,b=this.props,v=b.captureMenuScroll,G=b.inputValue,y=b.isLoading,S=b.loadingMessage,h=b.minMenuHeight,E=b.maxMenuHeight,B=b.menuIsOpen,_=b.menuPlacement,V=b.menuPosition,L=b.menuPortalTarget,M=b.menuShouldBlockScroll,q=b.menuShouldScrollIntoView,te=b.noOptionsMessage,ne=b.onMenuScrollToTop,$=b.onMenuScrollToBottom;if(!B)return null;var k=function(X,Z){var ie=X.type,re=X.data,A=X.isDisabled,P=X.isSelected,D=X.label,K=X.value,ue=m===re,R=A?void 0:function(){return n.onOptionHover(re)},le=A?void 0:function(){return n.selectOption(re)},me="".concat(n.getElementId("option"),"-").concat(Z),he={id:me,onClick:le,onMouseMove:R,onMouseOver:R,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:P};return W.createElement(f,T({},I,{innerProps:he,data:re,isDisabled:A,isSelected:P,key:me,label:D,type:ie,value:K,isFocused:ue,innerRef:ue?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(X.data,"menu"))},O;if(this.hasOptions())O=this.getCategorizedOptions().map(function(w){if(w.type==="group"){var X=w.data,Z=w.options,ie=w.index,re="".concat(n.getElementId("group"),"-").concat(ie),A="".concat(re,"-heading");return W.createElement(s,T({},I,{key:re,data:X,options:Z,Heading:u,headingProps:{id:A,data:w.data},label:n.formatGroupLabel(w.data)}),w.options.map(function(P){return k(P,"".concat(ie,"-").concat(P.index))}))}else if(w.type==="option")return k(w,"".concat(w.index))});else if(y){var j=S({inputValue:G});if(j===null)return null;O=W.createElement(g,I,j)}else{var se=te({inputValue:G});if(se===null)return null;O=W.createElement(p,I,se)}var ae={minMenuHeight:h,maxMenuHeight:E,menuPlacement:_,menuPosition:V,menuShouldScrollIntoView:q},x=W.createElement(Hl,T({},I,ae),function(w){var X=w.ref,Z=w.placerProps,ie=Z.placement,re=Z.maxHeight;return W.createElement(i,T({},I,ae,{innerRef:X,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:y,placement:ie}),W.createElement(yd,{captureEnabled:v,onTopArrive:ne,onBottomArrive:$,lockEnabled:M},function(A){return W.createElement(l,T({},I,{innerRef:function(D){n.getMenuListRef(D),A(D)},innerProps:{role:"listbox","aria-multiselectable":I.isMulti,id:n.getElementId("listbox")},isLoading:y,maxHeight:re,focusedOption:m}),O)}))});return L||V==="fixed"?W.createElement(c,T({},I,{appendTo:L,controlElement:this.controlRef,menuPlacement:_,menuPosition:V}),x):x}},{key:"renderFormField",value:function(){var n=this,a=this.props,s=a.delimiter,u=a.isDisabled,i=a.isMulti,l=a.name,c=a.required,g=this.state.selectValue;if(c&&!this.hasValue()&&!u)return W.createElement(Sd,{name:l,onFocus:this.onValueInputFocus});if(!(!l||u))if(i)if(s){var p=g.map(function(m){return n.getOptionValue(m)}).join(s);return W.createElement("input",{name:l,type:"hidden",value:p})}else{var f=g.length>0?g.map(function(m,b){return W.createElement("input",{key:"i-".concat(b),name:l,type:"hidden",value:n.getOptionValue(m)})}):W.createElement("input",{name:l,type:"hidden",value:""});return W.createElement("div",null,f)}else{var I=g[0]?this.getOptionValue(g[0]):"";return W.createElement("input",{name:l,type:"hidden",value:I})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,a=this.state,s=a.ariaSelection,u=a.focusedOption,i=a.focusedValue,l=a.isFocused,c=a.selectValue,g=this.getFocusableOptions();return W.createElement(ld,T({},n,{id:this.getElementId("live-region"),ariaSelection:s,focusedOption:u,focusedValue:i,isFocused:l,selectValue:c,focusableOptions:g,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),a=n.Control,s=n.IndicatorsContainer,u=n.SelectContainer,i=n.ValueContainer,l=this.props,c=l.className,g=l.id,p=l.isDisabled,f=l.menuIsOpen,I=this.state.isFocused,m=this.commonProps=this.getCommonProps();return W.createElement(u,T({},m,{className:c,innerProps:{id:g,onKeyDown:this.onKeyDown},isDisabled:p,isFocused:I}),this.renderLiveRegion(),W.createElement(a,T({},m,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:p,isFocused:I,menuIsOpen:f}),W.createElement(i,T({},m,{isDisabled:p}),this.renderPlaceholderOrValue(),this.renderInput()),W.createElement(s,T({},m,{isDisabled:p}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,a){var s=a.prevProps,u=a.clearFocusValueOnUpdate,i=a.inputIsHiddenAfterUpdate,l=a.ariaSelection,c=a.isFocused,g=a.prevWasFocused,p=a.instancePrefix,f=n.options,I=n.value,m=n.menuIsOpen,b=n.inputValue,v=n.isMulti,G=Jn(I),y={};if(s&&(I!==s.value||f!==s.options||m!==s.menuIsOpen||b!==s.inputValue)){var S=m?Dd(n,G):[],h=m?lr(It(n,G),"".concat(p,"-option")):[],E=u?kd(a,G):null,B=jd(a,S),_=Ht(h,B);y={selectValue:G,focusedOption:B,focusedOptionId:_,focusableOptionsWithIds:h,focusedValue:E,clearFocusValueOnUpdate:!1}}var V=i!=null&&n!==s?{inputIsHidden:i,inputIsHiddenAfterUpdate:void 0}:{},L=l,M=c&&g;return c&&!M&&(L={value:pt(v,G,G[0]||null),options:G,action:"initial-input-focus"},M=!g),l?.action==="initial-input-focus"&&(L=null),F(F(F({},y),V),{},{prevProps:n,ariaSelection:L,prevWasFocused:M})}}]),r})(C.Component);so.defaultProps=Zd;var Yd=C.forwardRef(function(t,e){var r=ru(t);return W.createElement(so,T({ref:e},r))}),zd=Yd;const Jd="_select_3o48x_1",$d="_requiredSymbol_3o48x_1",Ud="_selectContainer_3o48x_8",Qd="_small_3o48x_11",qd="_selectListArrow_3o48x_11",Kd="_hasErrors_3o48x_126",Ve={select:Jd,requiredSymbol:$d,selectContainer:Ud,small:Qd,selectListArrow:qd,hasErrors:Kd},uo=t=>{const{id:e,name:r="",required:o=!1,disabled:n=!1,options:a=[],width:s,label:u="",placeholder:i="",defaultContent:l="",role:c,"aria-describedby":g,hasErrors:p=!1,errorMessage:f="",size:I="medium"}=t,m=()=>`${e}-errorMessage`,b=t.multiple===!0,v=C.useMemo(()=>a.map(E=>typeof E=="object"?{value:E.value,label:String(E.key)}:{value:E,label:String(E)}),[a]),G=E=>v.find(_=>_.value===E)??{value:E,label:String(E)},y=E=>E===void 0?null:Array.isArray(E)?E.map(G):G(E),S=i||l||"",h=E=>{if(b){const _=E.map(V=>V.value);t.multiple&&t.onChange(_);return}const B=E;t.multiple||B&&t.onChange(B.value)};return d.jsxs("div",{className:Ve.select,children:[d.jsxs(at,{htmlFor:e,children:[u,o&&d.jsx("img",{src:we,alt:"",className:Ve.requiredSymbol})]}),d.jsxs("div",{className:Y([Ve.selectContainer,I==="small"&&Ve.small]),style:s?{maxWidth:s}:void 0,role:c,children:[d.jsx("span",{className:Ve.selectListArrow}),d.jsx(zd,{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:S,onChange:h,options:v,className:Y([p&&Ve.hasErrors,I==="small"&&Ve.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(ot,{id:m(),content:f})]})},eg="_wizardTopnavItem_5ar16_1",tg="_wizardTopnavItemContent_5ar16_4",ng="_vertical_5ar16_7",rg="_stepNumber_5ar16_24",og="_stepName_5ar16_36",ag="_active_5ar16_46",ig="_finished_5ar16_46",sg="_hasErrors_5ar16_46",ug="_horizontal_5ar16_64",xe={wizardTopnavItem:eg,wizardTopnavItemContent:tg,vertical:ng,stepNumber:rg,stepName:og,active:ag,finished:ig,hasErrors:sg,horizontal:ug},lo=({step:t,index:e,activeStepId:r,direction:o="vertical"})=>{const n=r===t.id,a=o==="vertical",s=Y([xe.wizardTopnavItem,n&&xe.active,t.finished&&xe.finished,t.hasErrors&&xe.hasErrors,xe[o]]),u=n?"step":void 0,i=()=>d.jsxs(d.Fragment,{children:[d.jsx("span",{className:xe.stepNumber,children:e+1}),d.jsx("span",{className:xe.stepName,children:t.name}),a&&t.finished&&!n&&d.jsx("img",{src:fr,alt:"",className:xe.checkmarkSymbol})]});return t.link&&Object.keys(t.link).length>0?d.jsx("li",{className:s,children:d.jsx(Jt.Link,{to:t.link,"aria-current":u,className:xe.wizardTopnavItemContent,children:i()})}):d.jsx("li",{className:s,children:d.jsx("span",{"aria-current":u,className:xe.wizardTopnavItemContent,children:i()})})},lg="_table_m7buf_1",cg="_thButton_m7buf_19",dg="_sortable_m7buf_29",gg="_label_m7buf_39",bg="_sortIndicators_m7buf_43",fg="_sortArrow_m7buf_49",pg="_activeArrow_m7buf_55",mg="_evenRow_m7buf_59",vg="_oddRow_m7buf_62",hg="_loadingRow_m7buf_73",Ig="_loadingCell_m7buf_77",Cg="_selectionHeader_m7buf_82",xg="_selectionCell_m7buf_88",yg="_selectionControl_m7buf_102",Ag="_rowClickable_m7buf_109",Eg="_srOnly_m7buf_116",Gg="_pagination_m7buf_127",Sg="_paginationControls_m7buf_134",Bg="_paginationWithPageSize_m7buf_143",_g="_pageSizeSelector_m7buf_147",Rg="_pageNavButtonHidden_m7buf_151",wg="_pageNavIcon_m7buf_155",Ng="_pageList_m7buf_161",Vg="_pageNumber_m7buf_167",Fg="_pageNumberActive_m7buf_188",Pg="_pageEllipsis_m7buf_193",H={table:lg,thButton:cg,sortable:dg,label:gg,sortIndicators:bg,sortArrow:fg,activeArrow:pg,evenRow:mg,oddRow:vg,loadingRow:hg,loadingCell:Ig,selectionHeader:Cg,selectionCell:xg,selectionControl:yg,rowClickable:Ag,srOnly:Eg,pagination:Gg,paginationControls:Sg,paginationWithPageSize:Bg,pageSizeSelector:_g,pageNavButtonHidden:Rg,pageNavIcon:wg,pageList:Ng,pageNumber:Vg,pageNumberActive:Fg,pageEllipsis:Pg},Tg=(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],Xg=({columns:t,data:e,loading:r=!1,loadingAriaLabel:o,getRowId:n,selectionType:a,selectionLabel:s="Velg rad",selectedRowId:u,onSelect:i,selectedRowIds:l,onSelectMany:c,onRowClick:g,pageSize:p,page:f,defaultPage:I=1,onPageChange:m,pageSizeOptions:b,defaultPageSize:v,onPageSizeChange:G})=>{const[y,S]=C.useState(null),h=C.useId(),[E,B]=C.useState(I),[_,V]=C.useState(()=>{if(p===void 0){if(v&&v>0)return v;if(b?.length)return b[0]}});C.useEffect(()=>{const A=t.find(P=>P.sortable);S(A?{headerKey:A.key,direction:"asc"}:null)},[t]);const L=C.useMemo(()=>{const A=new Map;for(const P of t)A.set(P.key,P);return A},[t]),M=C.useMemo(()=>{if(!y)return e;const A=L.get(y.headerKey);if(!A)return e;const P=A.sortAccessor??A.accessor;if(!P)return e;const D=[...e];return D.sort((K,ue)=>{const R=P(K),le=P(ue);if(R==null||le==null)return 0;if(typeof R=="number"&&typeof le=="number")return y.direction==="asc"?R-le:le-R;if(R instanceof Date&&le instanceof Date)return y.direction==="asc"?R.getTime()-le.getTime():le.getTime()-R.getTime();const me=String(R),he=String(le);return y.direction==="asc"?me.localeCompare(he,void 0,{numeric:!0}):he.localeCompare(me,void 0,{numeric:!0})}),D},[e,y,L]),q=A=>{S(P=>!P||P.headerKey!==A?{headerKey:A,direction:"asc"}:{headerKey:A,direction:P.direction==="asc"?"desc":"asc"})},te=(A,P)=>{if(P)return y?.headerKey!==A?"none":y.direction==="asc"?"ascending":"descending"},ne=(A,P)=>{const D=n?.(A,P);if(D==null||D===""){const K=e.indexOf(A);return K===-1?P:K}return D},$=C.useMemo(()=>a!=="multiple"?new Set:new Set(l??[]),[l,a]),k=C.useMemo(()=>{const A=p??_;return!A||A<=0?M.length||e.length||1:A},[p,_,M.length,e.length]),O=C.useMemo(()=>Math.max(1,Math.ceil(M.length/k)),[M.length,k]),j=C.useMemo(()=>{const A=f??E;return!Number.isFinite(A)||A<1?1:A>O?O:A},[f,E,O]);C.useEffect(()=>{f===void 0&&j>O&&B(O)},[j,O,f]);const se=C.useMemo(()=>{if(k>=M.length)return M;const A=(j-1)*k;return M.slice(A,A+k)},[M,j,k]),ae=t.length+(a?1:0),x=A=>{const P=Math.min(Math.max(A,1),O);f!==void 0?m?.(P):B(P)},w=A=>{const P=A>0?Math.floor(A):1;p!==void 0?G?.(P):(V(P),B(1))},X=!r&&O>1,Z=!r&&!!b?.length,ie=C.useMemo(()=>Tg(j,O),[j,O]),re=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:[a&&d.jsx("th",{className:H.selectionHeader,"aria-label":s,children:d.jsx("span",{className:H.srOnly,children:s})}),t.map(({key:A,label:P,sortable:D,ariaLabel:K})=>{const ue=y?.headerKey===A,R=ue&&y.direction==="asc",le=ue&&y.direction==="desc";return d.jsx("th",{"aria-sort":te(A,D),scope:"col",children:D?d.jsxs("button",{type:"button",className:`${H.thButton} ${H.sortable}`,onClick:()=>q(A),"aria-label":`${K??P}: sort ${ue&&R?"descending":"ascending"}`,children:[d.jsx("span",{className:H.label,children:P}),d.jsxs("span",{className:H.sortIndicators,"aria-hidden":"true",children:[d.jsx("span",{className:`${H.sortArrow} ${R?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} ${le?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:P})})},A)})]})}),d.jsx("tbody",{children:r?d.jsx("tr",{className:H.loadingRow,children:d.jsx("td",{className:H.loadingCell,colSpan:ae,children:d.jsx(hr,{ariaLabel:o})})}):se.map((A,P)=>{const D=ne(A,P),K=`${h}-${D}`,ue=a==="single"&&u===D,R=a==="multiple"&&$.has(D),he=!!g||a==="single"&&!!i||a==="multiple"&&!!c,bo=()=>{if(a==="single")i?.(A);else if(a==="multiple"&&c){const ce=new Set($);ce.has(D)?ce.delete(D):ce.add(D);const Te=e.filter((Ft,Pt)=>{const Tt=ne(Ft,Pt);return ce.has(Tt)});c(Te)}g?.(A)};return d.jsxs("tr",{className:Y([P%2===0?H.evenRow:H.oddRow,he&&H.rowClickable]),onClick:he?bo:void 0,children:[a==="single"&&d.jsx("td",{className:H.selectionCell,children:d.jsx("button",{type:"button",className:H.selectionControl,onClick:ce=>ce.stopPropagation(),children:d.jsx(on,{id:K,name:h,inputValue:String(D),checked:ue,onChange:ce=>{ce?.stopPropagation(),i?.(A)},"aria-label":s})})}),a==="multiple"&&d.jsx("td",{className:H.selectionCell,children:d.jsx("button",{type:"button",className:H.selectionControl,onClick:ce=>ce.stopPropagation(),children:d.jsx(rn,{id:K,value:String(D),checked:R,onChange:ce=>{if(ce?.stopPropagation(),!c)return;const Te=new Set($);Te.has(D)?Te.delete(D):Te.add(D);const Ft=e.filter((Pt,Tt)=>{const fo=ne(Pt,Tt);return Te.has(fo)});c(Ft)},"aria-label":s})})}),t.map(ce=>d.jsx("td",{children:ce.render?ce.render(A):String(ce.accessor?.(A)??"")},ce.key))]},D)})})]}),(X||Z)&&d.jsxs("div",{className:re,children:[Z&&d.jsx("div",{className:H.pageSizeSelector,children:d.jsx(uo,{id:`${h}-page-size`,label:"Rader per side",options:b,value:k,onChange:A=>w(Number(A)),width:"120px",size:"small"})}),X&&d.jsxs("div",{className:H.pagination,children:[d.jsx(Fe,{type:"button",color:"neutral",noMargin:!0,className:Y([H.pageNavButtonPrevious,j<=1&&H.pageNavButtonHidden]),onClick:()=>x(j-1),disabled:j<=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:ie.map(A=>A==="..."?d.jsx("span",{className:H.pageEllipsis,children:"..."},`ellipsis-${A}`):d.jsx("button",{type:"button",className:Y([H.pageNumber,A===j&&H.pageNumberActive]),onClick:()=>x(Number(A)),"aria-current":A===j?"page":void 0,children:A},A))}),d.jsx(Fe,{type:"button",color:"neutral",noMargin:!0,className:Y([H.pageNavButtonNext,j>=O&&H.pageNavButtonHidden]),onClick:()=>x(j+1),disabled:j>=O,"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"})]})})})]})]})]})},Mg="_tabs_x3s88_1",Wg="_tabList_x3s88_5",Lg="_tab_x3s88_1",Og="_active_x3s88_42",Zg="_disabled_x3s88_47",Dg="_tabLabel_x3s88_55",kg="_tabAmount_x3s88_59",jg="_tabPanels_x3s88_66",Hg="_tabPanel_x3s88_66",Yg="_hidden_x3s88_74",Ge={tabs:Mg,tabList:Wg,tab:Lg,active:Og,disabled:Zg,tabLabel:Dg,tabAmount:kg,tabPanels:jg,tabPanel:Hg,hidden:Yg},st=({children:t,defaultIndex:e=0,onChange:r,className:o})=>{const[n,a]=C.useState(e),s=C.useId(),u=C.useMemo(()=>s.replace(/:/g,""),[s]),i=l=>{a(l),r?.(l)};return d.jsx("div",{className:Y([Ge.tabs,o]),children:C.Children.map(t,l=>C.isValidElement(l)?l.type===co?C.cloneElement(l,{activeIndex:n,setActiveIndex:i,baseId:u}):l.type===go?C.cloneElement(l,{activeIndex:n,baseId:u}):l:null)})},co=({children:t,activeIndex:e=0,setActiveIndex:r,baseId:o})=>{const n=C.useMemo(()=>C.Children.toArray(t).filter(u=>C.isValidElement(u)),[t]),a=n.length,s=(u,i)=>{if(!r||a===0)return;let l=i;switch(u.key){case"ArrowRight":u.preventDefault(),l=(i+1)%a;break;case"ArrowLeft":u.preventDefault(),l=(i-1+a)%a;break;case"Home":u.preventDefault(),l=0;break;case"End":u.preventDefault(),l=a-1;break;default:return}r(l)};return d.jsx("div",{className:Ge.tabList,role:"tablist",children:n.map((u,i)=>{if(!C.isValidElement(u))return null;const l=`${o}-tab-${i}`,c=`${o}-panel-${i}`,g=i===e;return C.cloneElement(u,{tabId:l,panelId:c,isActive:g,onSelect:()=>r?.(i),onKeyDown:p=>s(p,i)})})})},zg=({children:t,amount:e,isActive:r,onSelect:o,onClick:n,onKeyDown:a,tabId:s,panelId:u,className:i,...l})=>{const c=Y([Ge.tab,r&&Ge.active,l.disabled&&Ge.disabled,i]),g=f=>{n?.(f),!f.defaultPrevented&&o?.()},p=f=>{a?.(f)};return d.jsxs("button",{...l,id:s,role:"tab",type:"button","aria-selected":r,"aria-controls":u,className:c,onClick:g,onKeyDown:p,children:[d.jsx("span",{className:Ge.tabLabel,children:t}),e&&d.jsx("span",{className:Ge.tabAmount,children:e})]})},go=({children:t,activeIndex:e=0,baseId:r})=>d.jsx("div",{className:Ge.tabPanels,children:C.Children.map(t,(o,n)=>{if(!C.isValidElement(o))return null;const a=`${r}-tab-${n}`,s=`${r}-panel-${n}`;return C.cloneElement(o,{isActive:n===e,tabId:a,panelId:s})})}),Jg=({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});st.List=co;st.Tab=zg;st.Panels=go;st.Panel=Jg;const $g=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},Ug="_textarea_1596u_1",Qg="_requiredSymbol_1596u_4",qg="_hasErrors_1596u_55",Yt={textarea:Ug,requiredSymbol:Qg,hasErrors:qg},Kg=({id:t,onChange:e,onBlur:r,name:o="",required:n=!1,readOnly:a,disabled:s,width:u,resize:i="both",value:l,defaultValue:c,elementKey:g,rows:p,label:f="",placeholder:I="","aria-describedby":m,hasErrors:b=!1,errorMessage:v=""})=>{const G=()=>`${t}-errorMessage`,y=!l?.length&&c?.length?c:void 0,S=g||`${t}-${$g(6)}`,h={...u&&{maxWidth:u},...i&&{resize:i}},E={name:o,readOnly:a,disabled:s,required:n,id:t,onChange:e,onBlur:r,value:y?void 0:l,defaultValue:y||void 0,placeholder:I,rows:p?parseInt(p,10):void 0,className:b?Yt.hasErrors:"","aria-describedby":b&&v?G():m,"aria-invalid":b?"true":void 0,style:h};return d.jsxs("div",{className:Yt.textarea,children:[d.jsxs(at,{htmlFor:t,children:[f,n&&d.jsx("img",{src:we,alt:"",className:Yt.requiredSymbol})]}),d.jsx("textarea",{...E},S),d.jsx(ot,{id:G(),content:v})]})},eb=({theme:t,children:e})=>{const r=xo(t),o=Ao(r);return yo("theme-provider",`:root {${o}}`),e},tb="_toggleNavigationButton_1eb2w_1",nb={toggleNavigationButton:tb},rb=({id:t,htmlTag:e="button",showText:r,hideText:o,buttonProps:n={},isOpen:a=!1})=>C.createElement(e,{...n,className:nb.toggleNavigationButton,id:t||void 0},a?o:r),ob="_wizardTopnavContainer_qiy2o_1",ab="_wizardTopnav_qiy2o_1",ib="_vertical_qiy2o_6",sb="_horizontal_qiy2o_11",zt={wizardTopnavContainer:ob,wizardTopnav:ab,vertical:ib,horizontal:sb},ub=({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`,u=o?.length?o:s;return d.jsx("nav",{"aria-label":u,className:Y([zt.wizardTopnavContainer,zt[r]]),children:d.jsx("ol",{className:zt.wizardTopnav,children:n.map((i,l)=>d.jsx(lo,{step:t[i],activeStepId:e,direction:r,index:l},i))})})};exports.Accordion=Zo;exports.Button=Fe;exports.CheckBoxIcon=br;exports.CheckBoxInput=rn;exports.CheckBoxList=Ea;exports.CheckBoxListItem=Ra;exports.Container=pr;exports.ContentBox=La;exports.DescriptionDetails=Da;exports.DescriptionList=Ha;exports.DescriptionTerm=Ja;exports.Dialog=ci;exports.DragAndDropFileInput=Ai;exports.ErrorBox=Di;exports.ErrorMessage=ot;exports.Footer=Hi;exports.Header=rt;exports.InfoBox=vr;exports.InputField=rs;exports.Label=at;exports.List=is;exports.ListItem=ls;exports.LoadingAnimation=hr;exports.NavigationBar=xs;exports.Paper=Gs;exports.Paragraph=ws;exports.ProgressBar=Fs;exports.RadioButtonIcon=Ir;exports.RadioButtonInput=on;exports.RadioButtonList=Hs;exports.RadioButtonListItem=Us;exports.Select=uo;exports.Table=Xg;exports.Tabs=st;exports.Textarea=Kg;exports.ThemeProvider=eb;exports.ToggleNavigationButton=rb;exports.WizardNavigation=ub;exports.WizardNavigationStep=lo;
23
12
  //# sourceMappingURL=index.cjs.js.map