vendor: 10,757 bytes, line 1
1!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).AcosSharedComponents=e.AcosSharedComponents||{})}(this,function(e){"use strict";var t,n=Object.defineProperty,o=(e,t,o)=>((e,t,o)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:o}):e[t]=o)(e,"symbol"!=typeof t?t+"":t,o),a={};function r(){if(t)return a;t=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function o(t,n,o){var a=null;if(void 0!==o&&(a=""+o),void 0!==n.key&&(a=""+n.key),"key"in n)for(var r in o={},n)"key"!==r&&(o[r]=n[r]);else o=n;return{$$typeof:e,type:t,key:a,ref:void 0!==(n=o.ref)?n:null,props:o}}return a.Fragment=n,a.jsx=o,a.jsxs=o,a}var i,l=r(),c={},s={};function u(){if(i)return s;i=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),r=Symbol.for("react.consumer"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),m=Symbol.for("react.lazy"),_=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},f=Object.assign,b={};function h(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||p}function g(){}function v(e,t,n){this.props=e,this.context=t,this.refs=b,this.updater=n||p}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=h.prototype;var y=v.prototype=new g;y.constructor=v,f(y,h.prototype),y.isPureReactComponent=!0;var x=Array.isArray,k={H:null,A:null,T:null,S:null,V:null},w=Object.prototype.hasOwnProperty;function C(t,n,o,a,r,i){return{$$typeof:e,type:t,key:n,ref:void 0!==(o=i.ref)?o:null,props:i}}function S(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var N=/\/+/g;function T(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(n={"=":"=0",":":"=2"},"$"+(""+e.key).replace(/[=:]/g,function(e){return n[e]})):t.toString(36);var n}function j(){}function E(n,o,a,r,i){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var c,s,u=!1;if(null===n)u=!0;else switch(l){case"bigint":case"string":case"number":u=!0;break;case"object":switch(n.$$typeof){case e:case t:u=!0;break;case m:return E((u=n._init)(n._payload),o,a,r,i)}}if(u)return i=i(n),u=""===r?"."+T(n,0):r,x(i)?(a="",null!=u&&(a=u.replace(N,"$&/")+"/"),E(i,o,a,"",function(e){return e})):null!=i&&(S(i)&&(c=i,s=a+(null==i.key||n&&n.key===i.key?"":(""+i.key).replace(N,"$&/")+"/")+u,i=C(c.type,s,void 0,0,0,c.props)),o.push(i)),1;u=0;var d,p=""===r?".":r+":";if(x(n))for(var f=0;f<n.length;f++)u+=E(r=n[f],o,a,l=p+T(r,f),i);else if("function"==typeof(f=null===(d=n)||"object"!=typeof d?null:"function"==typeof(d=_&&d[_]||d["@@iterator"])?d:null))for(n=f.call(n),f=0;!(r=n.next()).done;)u+=E(r=r.value,o,a,l=p+T(r,f++),i);else if("object"===l){if("function"==typeof n.then)return E(function(e){switch(e.status){case"fulfilled":return e.value;case"rejected":throw e.reason;default:switch("string"==typeof e.status?e.then(j,j):(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e.status){case"fulfilled":return e.value;case"rejected":throw e.reason}}throw e}(n),o,a,r,i);throw o=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===o?"object with keys {"+Object.keys(n).join(", ")+"}":o)+"). If you meant to render a collection of children, use an array instead.")}return u}function P(e,t,n){if(null==e)return e;var o=[],a=0;return E(e,o,"","",function(e){return t.call(n,e,a++)}),o}function D(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var A="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:String("object"==typeof e&&null!==e&&"string"==typeof e.message?e.message:e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)};function R(){}return s.Children={map:P,forEach:function(e,t,n){P(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return P(e,function(){t++}),t},toArray:function(e){return P(e,function(e){return e})||[]},only:function(e){if(!S(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},s.Component=h,s.Fragment=n,s.Profiler=a,s.PureComponent=v,s.StrictMode=o,s.Suspense=u,s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,s.__COMPILER_RUNTIME={__proto__:null,c:function(e){return k.H.useMemoCache(e)}},s.cache=function(e){return function(){return e.apply(null,arguments)}},s.cloneElement=function(e,t,n){if(null==e)throw Error("The argument must be a React element, but you passed "+e+".");var o=f({},e.props),a=e.key;if(null!=t)for(r in void 0!==t.key&&(a=""+t.key),t)!w.call(t,r)||"key"===r||"__self"===r||"__source"===r||"ref"===r&&void 0===t.ref||(o[r]=t[r]);var r=arguments.length-2;if(1===r)o.children=n;else if(1<r){for(var i=Array(r),l=0;l<r;l++)i[l]=arguments[l+2];o.children=i}return C(e.type,a,void 0,0,0,o)},s.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider=e,e.Consumer={$$typeof:r,_context:e},e},s.createElement=function(e,t,n){var o,a={},r=null;if(null!=t)for(o in void 0!==t.key&&(r=""+t.key),t)w.call(t,o)&&"key"!==o&&"__self"!==o&&"__source"!==o&&(a[o]=t[o]);var i=arguments.length-2;if(1===i)a.children=n;else if(1<i){for(var l=Array(i),c=0;c<i;c++)l[c]=arguments[c+2];a.children=l}if(e&&e.defaultProps)for(o in i=e.defaultProps)void 0===a[o]&&(a[o]=i[o]);return C(e,r,void 0,0,0,a)},s.createRef=function(){return{current:null}},s.forwardRef=function(e){return{$$typeof:c,render:e}},s.isValidElement=S,s.lazy=function(e){return{$$typeof:m,_payload:{_status:-1,_result:e},_init:D}},s.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},s.startTransition=function(e){var t=k.T,n={};k.T=n;try{var o=e(),a=k.S;null!==a&&a(n,o),"object"==typeof o&&null!==o&&"function"==typeof o.then&&o.then(R,A)}catch(r){A(r)}finally{k.T=t}},s.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},s.use=function(e){return k.H.use(e)},s.useActionState=function(e,t,n){return k.H.useActionState(e,t,n)},s.useCallback=function(e,t){return k.H.useCallback(e,t)},s.useContext=function(e){return k.H.useContext(e)},s.useDebugValue=function(){},s.useDeferredValue=function(e,t){return k.H.useDeferredValue(e,t)},s.useEffect=function(e,t,n){var o=k.H;if("function"==typeof n)throw Error("useEffect CRUD overload is not enabled in this build of React.");return o.useEffect(e,t)},s.useId=function(){return k.H.useId()},s.useImperativeHandle=function(e,t,n){return k.H.useImperativeHandle(e,t,n)},s.useInsertionEffect=function(e,t){return k.H.useInsertionEffect(e,t)},s.useLayoutEffect=function(e,t){return k.H.useLayoutEffect(e,t)},s.useMemo=function(e,t){return k.H.useMemo(e,t)},s.useOptimistic=function(e,t){return k.H.useOptimistic(e,t)},s.useReducer=function(e,t,n){return k.H.useReducer(e,t,n)},s.useRef=function(e){return k.H.useRef(e)},s.useState=function(e){return k.H.useState(e)},s.useSyncExternalStore=function(e,t,n){return k.H.useSyncExternalStore(e,t,n)},s.useTransition=function(){return k.H.useTransition()},s.version="19.1.0",s}var d,m,_={};function p(){if(d)return _;d=1;var e=u();function t(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var o={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal"),r=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function i(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return _.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,_.createPortal=function(e,n){var o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!n||1!==n.nodeType&&9!==n.nodeType&&11!==n.nodeType)throw Error(t(299));return function(e,t,n){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:a,key:null==o?null:""+o,children:e,containerInfo:t,implementation:n}}(e,n,null,o)},_.flushSync=function(e){var t=r.T,n=o.p;try{if(r.T=null,o.p=2,e)return e()}finally{r.T=t,o.p=n,o.d.f()}},_.preconnect=function(e,t){"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,o.d.C(e,t))},_.prefetchDNS=function(e){"string"==typeof e&&o.d.D(e)},_.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var n=t.as,a=i(n,t.crossOrigin),r="string"==typeof t.integrity?t.integrity:void 0,l="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===n?o.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:a,integrity:r,fetchPriority:l}):"script"===n&&o.d.X(e,{crossOrigin:a,integrity:r,fetchPriority:l,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},_.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var n=i(t.as,t.crossOrigin);o.d.M(e,{crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})}}else null==t&&o.d.M(e)},_.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var n=t.as,a=i(n,t.crossOrigin);o.d.L(e,n,{crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0,type:"string"==typeof t.type?t.type:void 0,fetchPriority:"string"==typeof t.fetchPriority?t.fetchPriority:void 0,referrerPolicy:"str
1ing"==typeof t.referrerPolicy?t.referrerPolicy:void 0,imageSrcSet:"string"==typeof t.imageSrcSet?t.imageSrcSet:void 0,imageSizes:"string"==typeof t.imageSizes?t.imageSizes:void 0,media:"string"==typeof t.media?t.media:void 0})}},_.preloadModule=function(e,t){if("string"==typeof e)if(t){var n=i(t.as,t.crossOrigin);o.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:n,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else o.d.m(e)},_.requestFormReset=function(e){o.d.r(e)},_.unstable_batchedUpdates=function(e,t){return e(t)},_.useFormState=function(e,t,n){return r.H.useFormState(e,t,n)},_.useFormStatus=function(){return r.H.useHostTransitionStatus()},_.version="19.1.0",_}var f=(m||(m=1,function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=r(),n=u(),o=p();function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=function(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}(n),l=a(n),c=a(o);function s(e,t){void 0===t&&(t={});var n=t.insertAt;if(e&&"undefined"!=typeof document){var o=document.head||document.getElementsByTagName("head")[0],a=document.createElement("style");a.type="text/css","top"===n&&o.firstChild?o.insertBefore(a,o.firstChild):o.appendChild(a),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(document.createTextNode(e))}}s(".bc-padding{padding:1rem}.bc-padding-top{padding-top:1rem}.bc-padding-right{padding-right:1rem}.bc-padding-bottom{padding-bottom:1rem}.bc-padding-left{padding-left:1rem}@media only screen and (max-width:48em){.bc-padding-mobile-top{padding-top:1rem}.bc-padding-mobile-right{padding-right:1rem}.bc-padding-mobile-bottom{padding-bottom:1rem}.bc-padding-mobile-left{padding-left:1rem}}@media only screen and (min-width:48.0625em) and (max-width:62em){.bc-padding-tablet-top{padding-top:1rem}.bc-padding-tablet-right{padding-right:1rem}.bc-padding-tablet-bottom{padding-bottom:1rem}.bc-padding-tablet-left{padding-left:1rem}}@media only screen and (min-width:62.0625em){.bc-padding-desktop-top{padding-top:1rem}.bc-padding-desktop-right{padding-right:1rem}.bc-padding-desktop-bottom{padding-bottom:1rem}.bc-padding-desktop-left{padding-left:1rem}}.bc-padding-top-2{padding-top:2rem}.bc-padding-right-2{padding-right:2rem}.bc-padding-bottom-2{padding-bottom:2rem}.bc-padding-left-2{padding-left:2rem}@media only screen and (max-width:48em){.bc-padding-mobile-top-2{padding-top:2rem}.bc-padding-mobile-right-2{padding-right:2rem}.bc-padding-mobile-bottom-2{padding-bottom:2rem}.bc-padding-mobile-left-2{padding-left:2rem}}@media only screen and (min-width:48.0625em) and (max-width:62em){.bc-padding-tablet-top-2{padding-top:2rem}.bc-padding-tablet-right-2{padding-right:2rem}.bc-padding-tablet-bottom-2{padding-bottom:2rem}.bc-padding-tablet-left-2{padding-left:2rem}}@media only screen and (min-width:62.0625em){.bc-padding-desktop-top-2{padding-top:2rem}.bc-padding-desktop-right-2{padding-right:2rem}.bc-padding-desktop-bottom-2{padding-bottom:2rem}.bc-padding-desktop-left-2{padding-left:2rem}}.bc-padding-top-3{padding-top:3rem}.bc-padding-right-3{padding-right:3rem}.bc-padding-bottom-3{padding-bottom:3rem}.bc-padding-left-3{padding-left:3rem}@media only screen and (max-width:48em){.bc-padding-mobile-top-3{padding-top:3rem}.bc-padding-mobile-right-3{padding-right:3rem}.bc-padding-mobile-bottom-3{padding-bottom:3rem}.bc-padding-mobile-left-3{padding-left:3rem}}@media only screen and (min-width:48.0625em) and (max-width:62em){.bc-padding-tablet-top-3{padding-top:3rem}.bc-padding-tablet-right-3{padding-right:3rem}.bc-padding-tablet-bottom-3{padding-bottom:3rem}.bc-padding-tablet-left-3{padding-left:3rem}}@media only screen and (min-width:62.0625em){.bc-padding-desktop-top-3{padding-top:3rem}.bc-padding-desktop-right-3{padding-right:3rem}.bc-padding-desktop-bottom-3{padding-bottom:3rem}.bc-padding-desktop-left-3{padding-left:3rem}}.bc-padding-top-4{padding-top:4rem}.bc-padding-right-4{padding-right:4rem}.bc-padding-bottom-4{padding-bottom:4rem}.bc-padding-left-4{padding-left:4rem}
1@media only screen and (max-width:48em){.bc-padding-mobile-top-4{padding-top:4rem}.bc-padding-mobile-right-4{padding-right:4rem}.bc-padding-mobile-bottom-4{padding-bottom:4rem}.bc-padding-mobile-left-4{padding-left:4rem}}@media only screen and (min-width:48.0625em) and (max-width:62em){.bc-padding-tablet-top-4{padding-top:4rem}.bc-padding-tablet-right-4{padding-right:4rem}.bc-padding-tablet-bottom-4{padding-bottom:4rem}.bc-padding-tablet-left-4{padding-left:4rem}}@media only screen and (min-width:62.0625em){.bc-padding-desktop-top-4{padding-top:4rem}.bc-padding-desktop-right-4{padding-right:4rem}.bc-padding-desktop-bottom-4{padding-bottom:4rem}.bc-padding-desktop-left-4{padding-left:4rem}}.bc-padding-top-5{padding-top:5rem}.bc-padding-right-5{padding-right:5rem}.bc-padding-bottom-5{padding-bottom:5rem}.bc-padding-left-5{padding-left:5rem}@media only screen and (max-width:48em){.bc-padding-mobile-top-5{padding-top:5rem}.bc-padding-mobile-right-5{padding-right:5rem}.bc-padding-mobile-bottom-5{padding-bottom:5rem}.bc-padding-mobile-left-5{padding-left:5rem}}@media only screen and (min-width:48.0625em) and (max-width:62em){.bc-padding-tablet-top-5{padding-top:5rem}.bc-padding-tablet-right-5{padding-right:5rem}.bc-padding-tablet-bottom-5{padding-bottom:5rem}.bc-padding-tablet-left-5{padding-left:5rem}}@media only screen and (min-width:62.0625em){.bc-padding-desktop-top-5{padding-top:5rem}.bc-padding-desktop-right-5{padding-right:5rem}.bc-padding-desktop-bottom-5{padding-bottom:5rem}.bc-padding-desktop-left-5{padding-left:5rem}}.bc-padding-2{padding:2rem}.bc-padding-3{padding:3rem}.bc-padding-4{padding:4rem}.bc-padding-5{padding:5rem}@keyframes ripple{0%{opacity:.4;transform:scale(1)}20%{opacity:.2;transform:scale(25)}to{opacity:0;transform:scale(100)}}@-moz-keyframes ripple{0%{opacity:.4;transform:scale(1)}20%{opacity:.2;transform:scale(25)}to{opacity:0;transform:scale(100)}}@-moz-keyframes spinner{0%{-moz-transform:rotate(0deg);transform:rotate(0deg)}50%{-moz-transform:rotate(180deg);transform:rotate(180deg)}to{-moz-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes spinner{0%{-webkit-transform:rotate(0deg);-moz-transform:rotate(0deg);-o-transform:rotate(0deg);transform:rotate(0deg)}50%{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg)}to{-webkit-transform:rotate(1turn);-moz-transform:rotate(1turn);-o-transform:rotate(1turn);transform:rotate(1turn)}}@media only screen and (max-width:48em){.bc-visually-hidden--mobile{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}}.bc-visually-hidden--mobile-down,.bc-visually-hidden--mobile-up{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@media only screen and (min-width:48.0625em) and (max-width:62em){.bc-visually-hidden--tablet{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}}@media only screen and (min-width:48.0625em){.bc-visually-hidden--tablet-up{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}}@media only screen and (max-width:62em){.bc-visually-hidden--tablet-down{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}}@media only screen and (min-width:62.0625em){.bc-visually-hidden--desktop{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}}.bc-visually-hidden,.bc-visually-hidden--desktop-down,.bc-visually-hidden--desktop-up{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}:root{--bc-primary-color-500:#0e3b6c;--bc-primary-color-400:#082f59;--bc-primary-color-300:#66769b;--bc-primary-color-200:#b1b8cc;--bc-primary-color-100:#d8dbe5;--bc-basic-color-500:#333;--bc-background-color:#fff;--bc-background-color-2:#eee;--bc-background-color-3:#d3d3d3;--bc-dark-background-color-500:#2d2d2d;--bc-dark-background-color-400:#474747;--bc-dark-background-color-300:#606060;--bc-dark-background-color-200:#7a7a7a;--bc-dark-background-color-100:#adadad;--bc-success-color-500:#2bc02b;--bc-success-color-400:#48d648;--bc-success-color-300:#72df72;--bc-success-color-200:#9be99b;--bc-success-color-100:#effbef;--bc-success-color-foreground:#000;--bc-danger-color-500:#c0392b;--bc-danger-color-400:#d65548;--bc-danger-color-300:#df7c72;--bc-danger-color-200:#e9a39b;--bc-danger-color-100:#fbf0ef;--bc-danger-color-foreground:#000;--bc-warning-color-500:#e4d500;--bc-warning-color-400:#fff018;--bc-warning-color-300:#fff34b;--bc-warning-color-200:#fff77e;--bc-warning-color-100:#fffde4;--bc-warning-color-foreground:#000;--bc-input-border-width:1px;--bc-input-padding-size-h:1rem;--bc-input-height:4rem;--bc-input-placeholder-color:#666;--bc-input-font-size:1.17em;--bc-c-action-primary:var(--bc-primary-color-500);--bc-c-action-primary-border:var(--bc-primary-color-500);--bc-c-action-primary-foreground:#fff;--bc-c-action-primary-hover:var(--bc-primary-color-400);--bc-c-action-primary-foreground-hover:#fff;--bc-c-action-primary-foreground-disabled:#666;--bc-c-action-primary-border-disabled:#666;--bc-c-action-primary-background-disabled:var(--bc-primary-color-100);--bc-c-action-secondary:#fff;--bc-c-action-secondary-border:#2d2d2d;--bc-c-action-secondary-foreground:var(--bc-basic-color-500);--bc-c-action-secondary-hover:#fff;--bc-c-action-secondary-foreground-hover:var(--bc-primary-color-500);--bc-c-action-secondary-border-hover:var(--bc-primary-color-500);--bc-c-action-secondary-foreground-disabled:#666;--bc-c-action-secondary-border-disabled:#666;--bc-c-action-secondary-background-disabled:#0000;--bc-c-border-separator:#ccc;--bc-c-border-input:#666;--bc-c-border-active:var(--bc-c-action-primary);--bc-c-text-primary:var(--bc-basic-color-500);--bc-c-text-secondary:#595959;--bc-c-text-primary-disabled:#666;--bc-c-text-secondary-disabled:#999;--bc-c-icon-color:var(--bc-c-text-primary);--bc-c-error-color:var(--bc-danger-color-500);--bc-c-checkbox-focus-background-color:var(--bc-background-color);--bc-border-radius:2px;--bc-border-color-disabled:#a8a8a8;--bc-border-color:#000}");
1var d=function(e,t){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function m(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}d(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var _=function(){return _=Object.assign||function(e){for(var t,n=1,o=arguments.length;n<o;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},_.apply(this,arguments)};function f(e,t){var n={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.indexOf(o)<0&&(n[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(o=Object.getOwnPropertySymbols(e);a<o.length;a++)t.indexOf(o[a])<0&&Object.prototype.propertyIsEnumerable.call(e,o[a])&&(n[o[a]]=e[o[a]])}return n}function b(e,t,n,o){return new(n||(n=Promise))(function(t,a){function r(e){try{l(o.next(e))}catch(t){a(t)}}function i(e){try{l(o.throw(e))}catch(t){a(t)}}function l(e){var o;e.done?t(e.value):(o=e.value,o instanceof n?o:new n(function(e){e(o)})).then(r,i)}l((o=o.apply(e,[])).next())})}function h(e,t){var n,o,a,r,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(r[Symbol.iterator]=function(){return this}),r;function l(l){return function(c){return function(l){if(n)throw new TypeError("Generator is already executing.");for(;r&&(r=0,l[0]&&(i=0)),i;)try{if(n=1,o&&(a=2&l[0]?o.return:l[0]?o.throw||((a=o.return)&&a.call(o),0):o.next)&&!(a=a.call(o,l[1])).done)return a;switch(o=0,a&&(l=[2&l[0],a.value]),l[0]){case 0:case 1:a=l;break;case 4:return i.label++,{value:l[1],done:!1};case 5:i.label++,o=l[1],l=[0];continue;case 7:l=i.ops.pop(),i.trys.pop();continue;default:if(!((a=(a=i.trys).length>0&&a[a.length-1])||6!==l[0]&&2!==l[0])){i=0;continue}if(3===l[0]&&(!a||l[1]>a[0]&&l[1]<a[3])){i.label=l[1];break}if(6===l[0]&&i.label<a[1]){i.label=a[1],a=l;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(l);break}a[2]&&i.ops.pop(),i.trys.pop();continue}l=t.call(e,i)}catch(c){l=[6,c],o=0}finally{n=a=0}if(5&l[0])throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}([l,c])}}}function g(e,t,n){if(n||2===arguments.length)for(var o,a=0,r=t.length;a<r;a++)!o&&a in t||(o||(o=Array.prototype.slice.call(t,0,a)),o[a]=t[a]);return e.concat(o||Array.prototype.slice.call(t))}"function"==typeof SuppressedError&&SuppressedError;var v="bc";s(".bc-container{margin-left:auto;margin-right:auto;width:100%}");var y=n.forwardRef(function(e,n){var o=e.as,a=f(e,["as"]),r=o||"div",i=["".concat(v,"-container")];return a.className&&i.push(a.className),t.jsx(r,_({},a,{className:i.join(" "),id:a.id,ref:n},{children:a.children}))});s(".bc-row{display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.bc-row.centered{justify-content:center}.bc-row>*{flex-shrink:0;max-width:100%;width:100%}");var x=n.forwardRef(function(e,n){var o=e.as,a=e.children,r=e.centered,i=f(e,["as","children","centered"]),l=o||"div",c=["".concat(v,"-row"),"".concat(v,"-content-row")];return r&&c.push("centered"),i.className&&c.push(i.className),t.jsx(l,_({},i,{className:c.join(" "),ref:n,id:i.id},{children:a}))});s(".bc-col{flex:1 0}@media (min-width:0){.bc-col.col-xs-1{flex:0 0 auto;width:8.3333333333%}.bc-col.col-xs-2{flex:0 0 auto;width:16.6666666667%}.bc-col.col-xs-3{flex:0 0 auto;width:25%}.bc-col.col-xs-4{flex:0 0 auto;width:33.3333333333%}.bc-col.col-xs-5{flex:0 0 auto;width:41.6666666667%}.bc-col.col-xs-6{flex:0 0 auto;width:50%}.bc-col.col-xs-7{flex:0 0 auto;width:58.3333333333%}.bc-col.col-xs-8{flex:0 0 auto;width:66.6666666667%}.bc-col.col-xs-9{flex:0 0 auto;width:75%}.bc-col.col-xs-10{flex:0 0 auto;width:83.3333333333%}.bc-col.col-xs-11{flex:0 0 auto;width:91.6666666667%}.bc-col.col-xs-12{flex:0 0 auto;width:100%}.bc-col.col-xs-auto{flex:0 0 auto;width:auto}.bc-col.col-xs{flex:1 1 auto;width:auto}}@media (min-width:576px){.bc-col.col-sm-1{flex:0 0 auto;width:8.3333333333%}.bc-col.col-sm-2{flex:0 0 auto;width:16.6666666667%}.bc-col.col-sm-3{flex:0 0 auto;width:25%}.bc-col.col-sm-4{flex:0 0 auto;width:33.3333333333%}.bc-col.col-sm-5{flex:0 0 auto;width:41.6666666667%}.bc-col.col-sm-6{flex:0 0 auto;width:50%}.bc-col.col-sm-7{flex:0 0 auto;width:58.3333333333%}.bc-col.col-sm-8{flex:0 0 auto;width:66.6666666667%}.bc-col.col-sm-9{flex:0 0 auto;width:75%}.bc-col.col-sm-10{flex:0 0 auto;width:83.3333333333%}.bc-col.col-sm-11{flex:0 0 auto;width:91.6666666667%}.bc-col.col-sm-12{flex:0 0 auto;width:100%}.bc-col.col-sm-auto{flex:0 0 auto;width:auto}.bc-col.col-sm{flex:1 1 auto;width:auto}}@media (min-width:768px){.bc-col.col-md-1{flex:0 0 auto;width:8.3333333333%}.bc-col.col-md-2{flex:0 0 auto;width:16.6666666667%}.bc-col.col-md-3{flex:0 0 auto;width:25%}.bc-col.col-md-4{flex:0 0 auto;width:33.3333333333%}.bc-col.col-md-5{flex:0 0 auto;width:41.6666666667%}.bc-col.col-md-6{flex:0 0 auto;width:50%}.bc-col.col-md-7{flex:0 0 auto;width:58.3333333333%}.bc-col.col-md-8{flex:0 0 auto;width:66.6666666667%}.bc-col.col-md-9{flex:0 0 auto;width:75%}.bc-col.col-md-10{flex:0 0 auto;width:83.3333333333%}.bc-col.col-md-11{flex:0 0 auto;width:91.6666666667%}.bc-col.col-md-12{flex:0 0 auto;width:100%}.bc-col.col-md-auto{flex:0 0 auto;width:auto}.bc-col.col-md{flex:1 1 auto;width:auto}}@media (min-width:992px){.bc-col.col-lg-1{flex:0 0 auto;width:8.3333333333%}.bc-col.col-lg-2{flex:0 0 auto;width:16.6666666667%}.bc-col.col-lg-3{flex:0 0 auto;width:25%}.bc-col.col-lg-4{flex:0 0 auto;width:33.3333333333%}.bc-col.col-lg-5{flex:0 0 auto;width:41.6666666667%}.bc-col.col-lg-6{flex:0 0 auto;width:50%}.bc-col.col-lg-7{flex:0 0 auto;width:58.3333333333%}.bc-col.col-lg-8{flex:0 0 auto;width:66.6666666667%}.bc-col.col-lg-9{flex:0 0 auto;width:75%}.bc-col.col-lg-10{flex:0 0 auto;width:83.3333333333%}.bc-col.col-lg-11{flex:0 0 auto;width:91.6666666667%}.bc-col.col-lg-12{flex:0 0 auto;width:100%}.bc-col.col-lg-auto{flex:0 0 auto;width:auto}.bc-col.col-lg{flex:1 1 auto;width:auto}}@media (min-width:1200px){.bc-col.col-xl-1{flex:0 0 auto;width:8.3333333333%}.bc-col.col-xl-2{flex:0 0 auto;width:16.6666666667%}.bc-col.col-xl-3{flex:0 0 auto;width:25%}.bc-col.col-xl-4{flex:0 0 auto;width:33.3333333333%}.bc-col.col-xl-5{flex:0 0 auto;width:41.6666666667%}.bc-col.col-xl-6{flex:0 0 auto;width:50%}.bc-col.col-xl-7{flex:0 0 auto;width:58.3333333333%}.bc-col.col-xl-8{flex:0 0 auto;width:66.6666666667%}.bc-col.col-xl-9{flex:0 0 auto;width:75%}.bc-col.col-xl-10{flex:0 0 auto;width:83.3333333333%}.bc-col.col-xl-11{flex:0 0 auto;width:91.6666666667%}.bc-col.col-xl-12{flex:0 0 auto;width:100%}.bc-col.col-xl-auto{flex:0 0 auto;width:auto}.bc-col.col-xl{flex:1 1 auto;width:auto}}@media (min-width:1400px){.bc-col.col-xxl-1{flex:0 0 auto;width:8.3333333333%}.bc-col.col-xxl-2{flex:0 0 auto;width:16.6666666667%}.bc-col.col-xxl-3{flex:0 0 auto;width:25%}.bc-col.col-xxl-4{flex:0 0 auto;width:33.3333333333%}.bc-col.col-xxl-5{flex:0 0 auto;width:41.6666666667%}.bc-col.col-xxl-6{flex:0 0 auto;width:50%}.bc-col.col-xxl-7{flex:0 0 auto;width:58.3333333333%}.bc-col.col-xxl-8{flex:0 0 auto;width:66.6666666667%}.bc-col.col-xxl-9{flex:0 0 auto;width:75%}.bc-col.col-xxl-10{flex:0 0 auto;width:83.3333333333%}.bc-col.col-xxl-11{flex:0 0 auto;width:91.6666666667%}.bc-col.col-xxl-12{flex:0 0 auto;width:100%}.bc-col.col-xxl-auto{flex:0 0 auto;width:auto}.bc-col.col-xxl{flex:1 1 auto;width:auto}}@media (min-width:0){.bc-col.offset-xs-1{margin-left:8.3333333333%}.bc-col.offset-xs-2{margin-left:16.6666666667%}.bc-col.offset-xs-3{margin-left:25%}.bc-col.offset-xs-4{margin-left:33.3333333333%}.bc-col.offset-xs-5{margin-left:41.6666666667%}.bc-col.offset-xs-6{margin-left:50%}
1.bc-col.offset-xs-7{margin-left:58.3333333333%}.bc-col.offset-xs-8{margin-left:66.6666666667%}.bc-col.offset-xs-9{margin-left:75%}.bc-col.offset-xs-10{margin-left:83.3333333333%}.bc-col.offset-xs-11{margin-left:91.6666666667%}.bc-col.offset-xs-12{margin-left:100%}}@media (min-width:576px){.bc-col.offset-sm-1{margin-left:8.3333333333%}.bc-col.offset-sm-2{margin-left:16.6666666667%}.bc-col.offset-sm-3{margin-left:25%}.bc-col.offset-sm-4{margin-left:33.3333333333%}.bc-col.offset-sm-5{margin-left:41.6666666667%}.bc-col.offset-sm-6{margin-left:50%}.bc-col.offset-sm-7{margin-left:58.3333333333%}.bc-col.offset-sm-8{margin-left:66.6666666667%}.bc-col.offset-sm-9{margin-left:75%}.bc-col.offset-sm-10{margin-left:83.3333333333%}.bc-col.offset-sm-11{margin-left:91.6666666667%}.bc-col.offset-sm-12{margin-left:100%}}@media (min-width:768px){.bc-col.offset-md-1{margin-left:8.3333333333%}.bc-col.offset-md-2{margin-left:16.6666666667%}.bc-col.offset-md-3{margin-left:25%}.bc-col.offset-md-4{margin-left:33.3333333333%}.bc-col.offset-md-5{margin-left:41.6666666667%}.bc-col.offset-md-6{margin-left:50%}.bc-col.offset-md-7{margin-left:58.3333333333%}.bc-col.offset-md-8{margin-left:66.6666666667%}.bc-col.offset-md-9{margin-left:75%}.bc-col.offset-md-10{margin-left:83.3333333333%}.bc-col.offset-md-11{margin-left:91.6666666667%}.bc-col.offset-md-12{margin-left:100%}}@media (min-width:992px){.bc-col.offset-lg-1{margin-left:8.3333333333%}.bc-col.offset-lg-2{margin-left:16.6666666667%}.bc-col.offset-lg-3{margin-left:25%}.bc-col.offset-lg-4{margin-left:33.3333333333%}.bc-col.offset-lg-5{margin-left:41.6666666667%}.bc-col.offset-lg-6{margin-left:50%}.bc-col.offset-lg-7{margin-left:58.3333333333%}.bc-col.offset-lg-8{margin-left:66.6666666667%}.bc-col.offset-lg-9{margin-left:75%}.bc-col.offset-lg-10{margin-left:83.3333333333%}.bc-col.offset-lg-11{margin-left:91.6666666667%}.bc-col.offset-lg-12{margin-left:100%}}@media (min-width:1200px){.bc-col.offset-xl-1{margin-left:8.3333333333%}.bc-col.offset-xl-2{margin-left:16.6666666667%}.bc-col.offset-xl-3{margin-left:25%}.bc-col.offset-xl-4{margin-left:33.3333333333%}.bc-col.offset-xl-5{margin-left:41.6666666667%}.bc-col.offset-xl-6{margin-left:50%}.bc-col.offset-xl-7{margin-left:58.3333333333%}.bc-col.offset-xl-8{margin-left:66.6666666667%}.bc-col.offset-xl-9{margin-left:75%}.bc-col.offset-xl-10{margin-left:83.3333333333%}.bc-col.offset-xl-11{margin-left:91.6666666667%}.bc-col.offset-xl-12{margin-left:100%}}@media (min-width:1400px){.bc-col.offset-xxl-1{margin-left:8.3333333333%}.bc-col.offset-xxl-2{margin-left:16.6666666667%}.bc-col.offset-xxl-3{margin-left:25%}.bc-col.offset-xxl-4{margin-left:33.3333333333%}.bc-col.offset-xxl-5{margin-left:41.6666666667%}.bc-col.offset-xxl-6{margin-left:50%}.bc-col.offset-xxl-7{margin-left:58.3333333333%}.bc-col.offset-xxl-8{margin-left:66.6666666667%}.bc-col.offset-xxl-9{margin-left:75%}.bc-col.offset-xxl-10{margin-left:83.3333333333%}.bc-col.offset-xxl-11{margin-left:91.6666666667%}.bc-col.offset-xxl-12{margin-left:100%}}@media (min-width:0){.bc-col.order-xs-1{order:1}.bc-col.order-xs-2{order:2}.bc-col.order-xs-3{order:3}.bc-col.order-xs-4{order:4}.bc-col.order-xs-5{order:5}.bc-col.order-xs-6{order:6}.bc-col.order-xs-7{order:7}.bc-col.order-xs-8{order:8}.bc-col.order-xs-9{order:9}.bc-col.order-xs-10{order:10}.bc-col.order-xs-11{order:11}.bc-col.order-xs-12{order:12}.bc-col.order-xs-first{order:-1}.bc-col.order-xs-last{order:12}}@media (min-width:576px){.bc-col.order-sm-1{order:1}.bc-col.order-sm-2{order:2}.bc-col.order-sm-3{order:3}.bc-col.order-sm-4{order:4}.bc-col.order-sm-5{order:5}.bc-col.order-sm-6{order:6}.bc-col.order-sm-7{order:7}.bc-col.order-sm-8{order:8}.bc-col.order-sm-9{order:9}.bc-col.order-sm-10{order:10}.bc-col.order-sm-11{order:11}.bc-col.order-sm-12{order:12}.bc-col.order-sm-first{order:-1}.bc-col.order-sm-last{order:12}}@media (min-width:768px){.bc-col.order-md-1{order:1}.bc-col.order-md-2{order:2}.bc-col.order-md-3{order:3}.bc-col.order-md-4{order:4}.bc-col.order-md-5{order:5}.bc-col.order-md-6{order:6}.bc-col.order-md-7{order:7}.bc-col.order-md-8{order:8}.bc-col.order-md-9{order:9}.bc-col.order-md-10{order:10}.bc-col.order-md-11{order:11}.bc-col.order-md-12{order:12}.bc-col.order-md-first{order:-1}.bc-col.order-md-last{order:12}}@media (min-width:992px){.bc-col.order-lg-1{order:1}.bc-col.order-lg-2{order:2}.bc-col.order-lg-3{order:3}.bc-col.order-lg-4{order:4}.bc-col.order-lg-5{order:5}.bc-col.order-lg-6{order:6}.bc-col.order-lg-7{order:7}.bc-col.order-lg-8{order:8}.bc-col.order-lg-9{order:9}.bc-col.order-lg-10{order:10}.bc-col.order-lg-11{order:11}.bc-col.order-lg-12{order:12}.bc-col.order-lg-first{order:-1}.bc-col.order-lg-last{order:12}}@media (min-width:1200px){.bc-col.order-xl-1{order:1}.bc-col.order-xl-2{order:2}.bc-col.order-xl-3{order:3}.bc-col.order-xl-4{order:4}.bc-col.order-xl-5{order:5}.bc-col.order-xl-6{order:6}.bc-col.order-xl-7{order:7}.bc-col.order-xl-8{order:8}.bc-col.order-xl-9{order:9}.bc-col.order-xl-10{order:10}.bc-col.order-xl-11{order:11}.bc-col.order-xl-12{order:12}.bc-col.order-xl-first{order:-1}.bc-col.order-xl-last{order:12}}@media (min-width:1400px){.bc-col.order-xxl-1{order:1}.bc-col.order-xxl-2{order:2}.bc-col.order-xxl-3{order:3}.bc-col.order-xxl-4{order:4}.bc-col.order-xxl-5{order:5}.bc-col.order-xxl-6{order:6}.bc-col.order-xxl-7{order:7}.bc-col.order-xxl-8{order:8}.bc-col.order-xxl-9{order:9}.bc-col.order-xxl-10{order:10}.bc-col.order-xxl-11{order:11}.bc-col.order-xxl-12{order:12}.bc-col.order-xxl-first{order:-1}.bc-col.order-xxl-last{order:12}}@media (min-width:0){.bc-col.display-xs-block{display:block}.bc-col.display-xs-none{display:none}}@media (min-width:576px){.bc-col.display-sm-block{display:block}.bc-col.display-sm-none{display:none}}@media (min-width:768px){.bc-col.display-md-block{display:block}.bc-col.display-md-none{display:none}}@media (min-width:992px){.bc-col.display-lg-block{display:block}.bc-col.display-lg-none{display:none}}@media (min-width:1200px){.bc-col.display-xl-block{display:block}.bc-col.display-xl-none{display:none}}@media (min-width:1400px){.bc-col.display-xxl-block{display:block}.bc-col.display-xxl-none{display:none}}");var k=function(e,t){if(!t)return"";if("boolean"==typeof t&&t)return"col-"+e;if("number"==typeof t||"string"==typeof t)return"col-"+e+"-"+t;var n=[];return t.width&&("boolean"!=typeof t.width?n.push("col-"+e+"-"+t.width):t.width&&n.push("col-"+e)),t.offset&&n.push("offset-"+e+"-"+t.offset),t.order&&n.push("order-"+e+"-"+t.order),t.display&&n.push("display-"+e+"-"+t.display),n.join(" ")},w=function(e){var n=e.as,o=e.xs,a=e.sm,r=e.md,i=e.lg,l=e.xl,c=e.xxl,s=f(e,["as","xs","sm","md","lg","xl","xxl"]),u=["".concat(v,"-col")],d=n||"div";return o&&u.push(k("xs",o)),a&&u.push(k("sm",a)),r&&u.push(k("md",r)),i&&u.push(k("lg",i)),l&&u.push(k("xl",l)),c&&u.push(k("xxl",c)),s.className&&u.push(s.className),t.jsx(d,_({},s,{className:u.join(" "),id:s.id},{children:s.children}))};s(""),s("");var C=function(e){var o,a=f(e,[]),r="h".concat(null!==(o=a.level)&&void 0!==o?o:1),i=["".concat(v,"-heading")];return i.push("".concat(v,"-heading--").concat(r)),a.className&&i.push(a.className),n.createElement(r,{className:i.join(" ")},t.jsxs(t.Fragment,{children:[a.text,a.children]}))};s(""),s(""),s(""),s(""),s(""),s(""),s("");var S=Object.assign(function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"article",l=["".concat(v,"-content"),"content-module__base_9322_OAq3Z"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},{Header:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"header",l=["".concat(v,"-content-header"),"header-module__base_9322_KmwG5"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},Title:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||C,l=["".concat(v,"-content-title"),"title-module__base_9322_sReYg"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},Body:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"div",l=["".concat(v,"-content-body"),"body-module__base_9322_L1o3X"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},Footer:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"footer",l=["".concat(v,"-content-footer"),"footer-module__base_9322_O3AJu"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},Lead:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"div",l=["".concat(v,"-content-lead"),"lead-module__base_9322_t0cG-"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},Section:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"div",l=["".concat(v,"-content-section"),"section-module__base_9322_8iLCV"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},Row:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"div",l=["".concat(v,"-content-row"),"row-module__base_9322_AYfkO"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},Col:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"div",l=["".concat(v,"-content-col"),"col-module__base_9322_1iLo-"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))}});s(""),s(""),s("");var N=Object.assign(function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"section",l=["".concat(v,"-page"),"page-module__base_9322_RhsUn"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},{Row:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"div",l=["".concat(v,"-page-row"),"row-module__base_9322_dlW75"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},Col:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"div",l=["".concat(v,"-page-col"),"col-module__base_9322_TSon2"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))}});s(""),s(""),s(""),s("");var T={Content:S,Page:N,Block:Object.assign(function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"div",l=["".concat(v,"-block"),"block-module__base_9322_zVjpx"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},{Title:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||C,l=["".concat(v,"-block-title"),"title-module__base_9322_OLZPv"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},Description:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"div",l=["".concat(v,"-block-description"),"description-module__base_9322_d0yLo"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))},Item:function(e){var n=e.as,o=e.children,a=e.className,r=f(e,["as","children","className"]),i=n||"div",l=["".concat(v,"-block-item"),"item-module__base_9322_JbLon"];return a&&l.push(a),t.jsx(i,_({},r,{className:l.join(" ")},{children:o}))}})};function j(e){var t=e.children,n=e.target,o=i.useState(!1),a=o[0],r=o[1];return i.useEffect(function(){r(!0)},[]),a?c.default.createPortal(t,null!=n?n:document.body):null}var E={base:"spinner-module__base_9322_slpUx","spinner-spin":"spinner-module__spinner-spin_9322_LDqgA","--display-overlay":"spinner-module__--display-overlay_9322_sTzzQ","spinner-spin-overlay":"spinner-module__spinner-spin-overlay_9322_g7ZLR","style--classic":"spinner-module__style--classic_9322_kvVRf","style--full":"spinner-module__style--full_9322_KLWgp","variant--secondary":"spinner-module__variant--secondary_9322_-7m-c","style--double":"spinner-module__style--double_9322_EJhIv","animation-function--linear":"spinner-module__animation-function--linear_9322_iqDYe","animation-function--ease":"spinner-module__animation-function--ease_9322_2HRIS","size--xsmall":"spinner-module__size--xsmall_9322_1dUcH","size--small":"spinner-module__size--small_9322_bXS8J","size--medium":"spinner-module__size--medium_9322_MTOT-","size--large":"spinner-module__size--large_9322_aM0Ev","size--xlarge":"spinner-module__size--xlarge_9322_rPZha"};function P(e){var o=e.isOverlay,a=void 0!==o&&o,r=e.style,i=void 0===r?"classic":r,l=e.size,c=void 0===l?"small":l,s=e.variant,u=void 0===s?"primary":s,d=e.animationFunction,m=void 0===d?"linear":d,_=f(e,["isOverlay","style","size","variant","animationFunction"]),p=a?j:n.Fragment,b=["".concat(v,"-spinner ").concat(E.base)];return b.push("".concat(v,"-spinner--style-").concat(i," ").concat(E["style--".concat(i)])),b.pu
1sh("".concat(v,"-spinner--variant-").concat(u," ").concat(E["variant--".concat(u)])),b.push("".concat(v,"-spinner--size-").concat(c," ").concat(E["size--".concat(c)])),b.push("".concat(v,"-spinner--animation-function-").concat(m,"\n\t\t").concat(E["animation-function--".concat(m)])),a&&b.push("".concat(v,"-spinner--display-overlay ").concat(E["--display-overlay"])),_.className&&b.push(_.className),t.jsx(p,{children:t.jsx("div",{className:b.join(" "),id:_.id})})}s("@keyframes spinner-module__spinner-spin_9322_LDqgA{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes spinner-module__spinner-spin-overlay_9322_g7ZLR{0%{transform:translate(-50%,-50%) rotate(0deg)}to{transform:translate(-50%,-50%) rotate(1turn)}}.spinner-module__base_9322_slpUx{animation:spinner-module__spinner-spin_9322_LDqgA 1.5s ease infinite;height:50px;width:50px}.spinner-module__base_9322_slpUx.spinner-module__--display-overlay_9322_sTzzQ{animation:spinner-module__spinner-spin-overlay_9322_g7ZLR 1.5s ease infinite;display:block;left:50%;position:fixed;top:50%;transform:translate(-50px,-50px)}.spinner-module__base_9322_slpUx.spinner-module__style--classic_9322_kvVRf{border:4px solid var(--bc-primary-color-100);border-radius:50%;border-top-color:var(--bc-primary-color-500)}.spinner-module__base_9322_slpUx.spinner-module__style--full_9322_KLWgp{border:4px solid var(--bc-primary-color-500);border-radius:50%;border-top-color:var(--bc-primary-color-100)}.spinner-module__base_9322_slpUx.spinner-module__variant--secondary_9322_-7m-c.spinner-module__style--classic_9322_kvVRf{border-color:#fff;border-top-color:var(--bc-primary-color-500)}.spinner-module__base_9322_slpUx.spinner-module__variant--secondary_9322_-7m-c.spinner-module__style--full_9322_KLWgp{border-color:var(--bc-primary-color-500);border-top-color:#fff}.spinner-module__base_9322_slpUx.spinner-module__variant--secondary_9322_-7m-c.spinner-module__style--double_9322_EJhIv{border-color:var(--bc-primary-color-500);border-bottom-color:#fff;border-top-color:#fff}.spinner-module__base_9322_slpUx.spinner-module__animation-function--linear_9322_iqDYe{animation-timing-function:linear}.spinner-module__base_9322_slpUx.spinner-module__animation-function--ease_9322_2HRIS{animation-timing-function:ease}.spinner-module__base_9322_slpUx.spinner-module__size--xsmall_9322_1dUcH{height:25px;width:25px}.spinner-module__base_9322_slpUx.spinner-module__size--small_9322_bXS8J{height:50px;width:50px}.spinner-module__base_9322_slpUx.spinner-module__size--medium_9322_MTOT-{height:100px;width:100px}.spinner-module__base_9322_slpUx.spinner-module__size--large_9322_aM0Ev{height:150px;width:150px}.spinner-module__base_9322_slpUx.spinner-module__size--xlarge_9322_rPZha{height:200px;width:200px}");var D={base:"button-module__base_9322_L-zrA","status--primary":"button-module__status--primary_9322_yaJCb","status--secondary":"button-module__status--secondary_9322_6XEH4","appearance--link":"button-module__appearance--link_9322_94ddR","theme--dark":"button-module__theme--dark_9322_CF1tH","appearance--ghost":"button-module__appearance--ghost_9322_dxd-F","appearance--icon":"button-module__appearance--icon_9322_ZtJ4j",spinner:"button-module__spinner_9322_2xPbf"};s(".button-module__base_9322_L-zrA{align-items:center;background-color:#fff;border:.125rem solid var(--bc-c-action-primary);border-radius:var(--bc-border-radius);color:var(--bc-c-text-primary);cursor:pointer;display:inline-flex;font-size:inherit;justify-content:center;margin:0;padding:1.25rem 1.5rem;transition:border-color .1s ease-in-out,color .1s ease-in-out,background-color .1s ease-in-out}.button-module__base_9322_L-zrA:focus,.button-module__base_9322_L-zrA:hover{background-color:#e1e1e1;border-color:var(--bc-c-action-primary);color:var(--bc-c-action-primary-foreground)}.button-module__base_9322_L-zrA[aria-disabled=true],.button-module__base_9322_L-zrA[disabled]{background-color:var(--bc-c-action-primary-background-disabled);border-color:var(--bc-c-action-primary-border-disabled);color:var(--bc-c-action-primary-foreground-disabled);cursor:not-allowed}.button-module__base_9322_L-zrA[readonly]{cursor:not-allowed}.button-module__base_9322_L-zrA.button-module__status--primary_9322_yaJCb{background-color:var(--bc-c-action-primary);border-color:var(--bc-c-action-primary-border);color:var(--bc-c-action-primary-foreground)}.button-module__base_9322_L-zrA.button-module__status--primary_9322_yaJCb:focus,.button-module__base_9322_L-zrA.button-module__status--primary_9322_yaJCb:hover{background-color:var(--bc-c-action-primary-hover);border-color:var(--bc-c-action-primary-hover);color:var(--bc-c-action-primary-foreground);outline:2px solid var(--bc-c-action-primary-hover)}.button-module__base_9322_L-zrA.button-module__status--primary_9322_yaJCb[aria-disabled=true],.button-module__base_9322_L-zrA.button-module__status--primary_9322_yaJCb[disabled]{background-color:var(--bc-primary-color-100);border-color:var(--bc-primary-color-100);color:#fff}.button-module__base_9322_L-zrA.button-module__status--secondary_9322_6XEH4{background-color:var(--bc-c-action-secondary);border-color:var(--bc-c-action-secondary-border);color:var(--bc-c-action-secondary-foreground)}.button-module__base_9322_L-zrA.button-module__status--secondary_9322_6XEH4:focus,.button-module__base_9322_L-zrA.button-module__status--secondary_9322_6XEH4:hover{background-color:var(--bc-c-action-secondary-hover);border-color:var(--bc-c-action-secondary-border-hover);color:var(--bc-c-action-secondary-foreground-hover);outline:2px solid var(--bc-c-action-primary-hover)}.button-module__base_9322_L-zrA.button-module__status--secondary_9322_6XEH4[aria-disabled=true],.button-module__base_9322_L-zrA.button-module__status--secondary_9322_6XEH4[disabled]{background-color:var(--bc-c-action-secondary-background-disabled);border-color:var(--bc-c-action-secondary-border-disabled);color:var(--bc-c-action-secondary-foreground-disabled)}.button-module__base_9322_L-zrA.button-module__appearance--link_9322_94ddR{align-self:center;background-color:initial;border:none;color:#000;font-family:inherit;font-size:inherit;height:fit-content;margin:0;padding:0;text-decoration:underline}.button-module__base_9322_L-zrA.button-module__appearance--link_9322_94ddR:focus,.button-module__base_9322_L-zrA.button-module__appearance--link_9322_94ddR:hover{background-color:initial;color:#000;outline:1px solid #000}.button-module__base_9322_L-zrA.button-module__appearance--link_9322_94ddR.button-module__theme--dark_9322_CF1tH{color:#fff}.button-module__base_9322_L-zrA.button-module__appearance--link_9322_94ddR.button-module__theme--dark_9322_CF1tH:focus,.button-module__base_9322_L-zrA.button-module__appearance--link_9322_94ddR.button-module__theme--dark_9322_CF1tH:hover{border-color:#fff;color:#fff;outline-color:#fff}.button-module__base_9322_L-zrA.button-module__appearance--ghost_9322_dxd-F{background-color:initial;border:none;color:var(--bc-c-text-primary)}.button-module__base_9322_L-zrA.button-module__appearance--ghost_9322_dxd-F.button-module__theme--dark_9322_CF1tH{color:#fff}.button-module__base_9322_L-zrA.button-module__appearance--ghost_9322_dxd-F.button-module__theme--dark_9322_CF1tH:focus,.button-module__base_9322_L-zrA.button-module__appearance--ghost_9322_dxd-F.button-module__theme--dark_9322_CF1tH:hover{color:var(--bc-c-action-primary-foreground);outline-color:#fff}.button-module__base_9322_L-zrA.button-module__appearance--icon_9322_ZtJ4j{background-color:initial;border:none;color:var(--bc-c-text-primary);min-height:auto;padding:.25rem}.button-module__base_9322_L-zrA.button-module__appearance--icon_9322_ZtJ4j:focus,.button-module__base_9322_L-zrA.button-module__appearance--icon_9322_ZtJ4j:hover{background-color:initial;color:var(--bc-c-text-primary);outline:1px solid var(--bc-c-text-primary)}.button-module__base_9322_L-zrA.button-module__appearance--icon_9322_ZtJ4j.button-module__theme--dark_9322_CF1tH{color:#fff}.button-module__base_9322_L-zrA.button-module__appearance--icon_9322_ZtJ4j.button-module__theme--dark_9322_CF1tH:focus,.button-module__base_9322_L-zrA.button-module__appearance--icon_9322_ZtJ4j.button-module__theme--dark_9322_CF1tH:hover{border-color:#fff;color:#fff;outline-color:#fff}.button-module__base_9322_L-zrA .button-module__spinner_9322_2xPbf{height:15px;margin:5px 10px 5px -10px;width:15px}");var A,R,z=n.forwardRef(function(e,n){var o=e.text,a=e.status,r=void 0===a?"primary":a,i=e.appearance,l=void 0===i?"default":i,c=e.type,s=void 0===c?"button":c,u=e.loading,d=void 0!==u&&u,m=e.htmlTitle,p=e.theme,b=e.children,h=f(e,["text","status","appearance","type","loading","htmlTitle","theme","children"]),g=["".concat(v,"-content-button ").concat(D.base)];return g.push("".concat(v,"-content-button--").concat(r),D["status--"+r]),g.push("".concat(v,"-content-button--appearance-").concat(l),D["appearance--"+l]),p&&g.push("".concat(v,"-content-button--theme-").concat(p)),h.className&&g.pu
1sh(h.className),t.jsxs("button",_({ref:n},h,{title:m,"aria-label":h["aria-label"],id:h.id?"".concat(v,"-content-button-").concat(h.id):void 0,className:g.join(" "),type:s},{children:[d&&t.jsx(P,{isOverlay:!1,style:"classic",size:"xsmall",variant:r,animationFunction:"linear",className:D.spinner}),null!=o&&""!==o&&t.jsx("span",_({id:h.id?"".concat(v,"-content-button-text-").concat(h.id):void 0,className:"".concat(v,"-content-button-text")},{children:o})),b]}))});(R=A||(A={})).DEFAULT="ri-remixicon-line",R.EYE_OPEN="ri-eye-line",R.EYE_CLOSED="ri-eye-close-line";var L=function(e){var n=e.icon,o=void 0===n?A.DEFAULT:n,a=f(e,["icon"]),r=["".concat(v,"-icon")];return r.push(o),a.size&&r.push(a.size),a.className&&r.push(a.className),t.jsx("i",{className:r.join(" "),"aria-hidden":"true"})};function M(e){return!isNaN(new Date(e).valueOf())}function I(e){var t=new Date,n=e.split(/\D/g);return n.length&&4!==n[0].length&&t.setDate(Number.parseInt(n[0])),n.length&&4===n[0].length&&t.setFullYear(Number.parseInt(n[0])),n.length>1&&t.setMonth(Number.parseInt(n[1])-1),n.length>2&&4!==n[2].length&&t.setDate(Number.parseInt(n[2])),n.length>2&&4===n[2].length&&t.setFullYear(Number.parseInt(n[2])),t}function F(e){if(isNaN(e.getTime()))return"";var t=e.getFullYear().toString().padStart(4,"0"),n=(e.getMonth()+1).toString().padStart(2,"0"),o=e.getDate().toString().padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(o)}var O={base:"datePicker-module__base_9322_hIHcF",container:"datePicker-module__container_9322_kX5W6",header:"datePicker-module__header_9322_9xoBH","header-text":"datePicker-module__header-text_9322_xyl0-","header-months":"datePicker-module__header-months_9322_3NEJM","header-month":"datePicker-module__header-month_9322_YnZbo","header-month-button":"datePicker-module__header-month-button_9322_XMr4T",body:"datePicker-module__body_9322_8gh35","body-header":"datePicker-module__body-header_9322_NkBT0","body-header-day":"datePicker-module__body-header-day_9322_pWibe","body-content":"datePicker-module__body-content_9322_QMOrg",days:"datePicker-module__days_9322_vpqVw",disabled:"datePicker-module__disabled_9322_NPdl6","in-range":"datePicker-module__in-range_9322_oOkUy",selected:"datePicker-module__selected_9322_8CamA",active:"datePicker-module__active_9322_3vYe9",months:"datePicker-module__months_9322_QuMa8",years:"datePicker-module__years_9322_U1RF0",footer:"datePicker-module__footer_9322_WL5zj","footer-button":"datePicker-module__footer-button_9322_2Os86",error:"datePicker-module__error_9322_ZwBpU","theme--dark":"datePicker-module__theme--dark_9322_QjBwd"};function B(e,t,n){var o=!0;return t||n?(t&&e.getTime()<t.getTime()&&(o=!1),n&&e.getTime()>n.getTime()&&(o=!1),o):o}s(".datePicker-module__base_9322_hIHcF{height:fit-content;width:fit-content}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6{background-color:var(--bc-background-color);box-shadow:0 0 8px 3px #5757573d;min-width:fit-content}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__header_9322_9xoBH{color:var(--bc-c-text-primary);min-height:2rem;width:100%}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__header_9322_9xoBH .datePicker-module__header-text_9322_xyl0-{color:var(--bc-primary-color-400);font-size:.9em;font-weight:500;padding-top:.5rem;text-align:center;width:100%}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__header_9322_9xoBH .datePicker-module__header-months_9322_3NEJM{align-items:center;display:flex;flex-direction:row;justify-content:space-between;min-height:3rem}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__header_9322_9xoBH .datePicker-module__header-months_9322_3NEJM .datePicker-module__header-month_9322_YnZbo{align-items:center;cursor:pointer;display:flex;flex-direction:row;font-size:1.2em;font-weight:600;justify-content:space-between;margin:.5rem auto}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__header_9322_9xoBH .datePicker-module__header-months_9322_3NEJM .datePicker-module__header-month-button_9322_XMr4T{align-items:center;background-color:initial;border:none;cursor:pointer;display:flex;flex-direction:row;font-size:large;justify-content:space-between;padding:0}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__header_9322_9xoBH .datePicker-module__header-months_9322_3NEJM .datePicker-module__header-month-button_9322_XMr4T i{margin:.5rem}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35{width:fit-content}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-header_9322_NkBT0{border-bottom:1px solid #e0e0e0;display:flex;flex-direction:row;justify-content:space-between;padding:0 .5rem}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-header_9322_NkBT0 .datePicker-module__body-header-day_9322_pWibe{color:var(--bc-c-text-primary);margin:.5rem 0;text-align:center;width:100%}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-header_9322_NkBT0 .datePicker-module__body-header-day_9322_pWibe:last-of-type{color:var(--bc-danger-color-500)}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg{padding:.5rem}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg:focus-within{outline:1px solid gray}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw{display:grid;grid-template-columns:3rem 3rem 3rem 3rem 3rem 3rem 3rem;row-gap:8px}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div{color:var(--bc-c-text-primary);cursor:pointer;font-weight:500;margin:0 auto;padding:.5rem 0;text-align:center;width:100%}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div.datePicker-module__disabled_9322_NPdl6{color:var(--bc-c-text-primary-disabled);font-weight:300}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div.datePicker-module__in-range_9322_oOkUy{background-color:var(--bc-primary-color-200)}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div.datePicker-module__selected_9322_8CamA,.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div:hover{background-color:var(--bc-primary-color-100);color:#414141}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div.datePicker-module__active_9322_3vYe9{background-color:var(--bc-primary-color-500);color:var(--bc-c-action-primary-foreground)}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div:focus{outline:none}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__months_9322_QuMa8{color:var(--bc-c-text-primary);display:grid;grid-template-columns:auto auto auto;height:18.9rem;row-gap:8px}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__months_9322_QuMa8 div{cursor:pointer;margin:0 auto;padding:1rem;text-align:center;width:100%}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__months_9322_QuMa8 div.datePicker-module__selected_9322_8CamA,.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__months_9322_QuMa8 div:hover{background-color:var(--bc-primary-color-100);color:#414141}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__months_9322_QuMa8 div.datePicker-module__active_9322_3vYe9{background-color:var(--bc-primary-color-500);color:var(--bc-c-action-primary-foreground)}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__years_9322_U1RF0{color:var(--bc-c-text-primary);display:grid;grid-template-columns:auto auto auto auto;height:18.9rem;overflow-y:scroll;row-gap:8px}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__years_9322_U1RF0 div{cursor:pointer;margin:0 auto;padding:1rem}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__years_9322_U1RF0 div.datePicker-module__selected_9322_8CamA,.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__years_9322_U1RF0 div:hover{background-color:var(--bc-primary-color-100);color:#414141}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__years_9322_U1RF0 div.datePicker-module__active_9322_3vYe9{background-color:var(--bc-primary-color-500);color:var(--bc-c-action-primary-foreground)}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__footer_9322_WL5zj{border-top:1px solid #e0e0e0;display:flex;flex-direction:row;justify-content:space-between;padding:.5rem}.datePicker-module__base_9322_hIHcF .datePicker-module__container_9322_kX5W6 .datePicker-module__footer_9322_WL5zj .datePicker-module__footer-button_9322_2Os86{padding:1rem}.datePicker-module__base_9322_hIHcF .datePicker-module__error_9322_ZwBpU{color:var(--bc-danger-color-500);display:block}.datePicker-module__base_9322_hIHcF.datePicker-module__theme--dark_9322_QjBwd{background-color:var(--bc-dark-background-color-500);box-shadow:2px 2px 4px 1px #5a5a5a;color:#fff}.datePicker-module__base_9322_hIHcF.datePicker-module__theme--dark_9322_QjBwd .datePicker-module__header_9322_9xoBH .datePicker-module__header-text_9322_xyl0-{color:var(--bc-primary-color-100)}.datePicker-module__base_9322_hIHcF.datePicker-module__theme--dark_9322_QjBwd .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div.datePicker-module__disabled_9322_NPdl6{color:#d3d3d3}.datePicker-module__base_9322_hIHcF.datePicker-module__theme--dark_9322_QjBwd .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div.datePicker-module__in-range_9322_oOkUy{color:#000}.datePicker-module__base_9322_hIHcF.datePicker-module__theme--dark_9322_QjBwd .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div.datePicker-module__active_9322_3vYe9{color:#fff}.datePicker-module__base_9322_hIHcF.datePicker-module__theme--dark_9322_QjBwd .datePicker-module__body_9322_8gh35 .datePicker-module__body-content_9322_QMOrg.datePicker-module__days_9322_vpqVw div:hover{background-color:var(--bc-primary-color-100);color:#000}");var H=n.createContext({}),V=function(e,t){var n;void 0===t&&(t="first");var o=null===(n=e.current)||void 0===n?void 0:n.querySelectorAll('a[href], button, input, textarea, select, details, [tabindex]:not
1([tabindex="-1"])');(null==o?void 0:o.length)&&("number"==typeof t&&(t=Math.min(Math.max(0,t),o.length-1)),"last"===t&&(t=o.length-1),"first"===t&&(t=0),o[t].focus())};function U(e,t,n){clearTimeout(U.timeoutID);var o=function(){U.sum=0,e()};0===U.sum&&(new Date).getTime()-U.lastTime>t&&(U.lastTime=(new Date).getTime()),U.sum>=n?o():(new Date).getTime()-U.lastTime<t?(U.sum+=Math.min((new Date).getTime()-U.lastTime,t),clearTimeout(U.timeoutID),U.timeoutID=setTimeout(o,t)):o(),U.lastTime=(new Date).getTime()}U.sum=0,U.timeoutID=void 0,U.lastTime=(new Date).getTime();var G=function(){var e=null===navigator||void 0===navigator?void 0:navigator.userAgent;return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(e)?"mobile":/Windows|Macintosh|Linux/i.test(e)?"desktop":"unknown"};function Q(e,t,n,o,a,r){return b(this,0,void 0,function(){var i,l,c,s,u;return h(this,function(d){switch(d.label){case 0:return void 0!==(i=a)&&null!=i||(i={"Content-Type":"application/json"}),window.portalID&&(i.PortalID=window.portalID),window.menypunktID&&(i.MenypunktID=window.menypunktID),window.sprakID&&(i.SprakID=window.sprakID),window.webobjektID&&(i.WebObjektID=window.webobjektID),window.objektID&&(i.ObjektID=window.objektID),(l=G())&&(i.DeviceType=l),i["X-ANTI-CSRF"]="1",c={method:e,headers:i,credentials:"same-origin"},"post"===e.toLocaleLowerCase()&&(c.body=JSON.stringify(o)),r&&(c.signal=r.signal),[4,fetch("".concat(t).concat(n),c)];case 1:return(s=d.sent()).ok?[4,s.json()]:[3,3];case 2:return[2,d.sent()];case 3:return[4,s.text()];case 4:return u=d.sent(),[2,{statusCode:s.status,messages:[],content:u}]}})})}var W=function(e){var o=n.useContext(H),a=o.year,r=o.setYear,i=o.month,c=o.setMonth,s=o.day,u=o.setDay,d=new Date(a,i+1,0),m=(new Date(a,i,1).getDay()+6)%7+1,p=d.getDate(),f=new Date(a,i,0).getDate(),b=l.default.createRef(),h=n.useState("string"==typeof e.date?0:e.date.getDate()+m-2),y=h[0],x=h[1];return n.useEffect(function(){x(s+m-2)},[e.mode,m,e.date,e.rangeStart]),n.useEffect(function(){var e;document.activeElement&&(null===(e=b.current)||void 0===e?void 0:e.contains(document.activeElement))&&V(b,y)},[y]),t.jsxs(t.Fragment,{children:[t.jsx("div",_({className:"".concat(v,"-datepicker-body-header ").concat(O["body-header"])},{children:["M","T","O","T","F","L","S"].map(function(e,n){return t.jsx("div",_({className:"".concat(v,"-datepicker-body-header-day ").concat(O["body-header-day"])},{children:e}),"day-"+n)})})),t.jsx("div",_({className:"".concat(v,"-datepicker-body-content days ").concat(O["body-content"]," ").concat(O.days),onKeyDown:function(t){var n=new Date(a,i,y-(m-1)+1),o=e.rangeStart&&n.getTime()<new Date(e.rangeStart).getTime(),l=e.rangeEnd&&n.getTime()>new Date(e.rangeEnd).getTime();switch(t.key){case"ArrowDown":t.preventDefault(),y<=34&&x(y+7);break;case"ArrowUp":t.preventDefault(),y>=7&&x(y-7);break;case"ArrowLeft":t.preventDefault(),y>0&&x(y-1);break;case"ArrowRight":t.preventDefault(),y<41&&x(y+1);break;case"Enter":case" ":if(t.preventDefault(),o||l)return;x(y-(m-1)+1+m-2),e.setValue(n,!0),u(y-(m-1)+1+m-2),c(n.getMonth()),r(n.getFullYear())}},ref:b,"aria-live":"polite"},{children:g([],Array(42),!0).map(function(n,o){var l=o-(m-1)+1,s=l;s+=s>p?-p:0,s+=s<1?f:0;var d=new Date(a,i,l),b=B(new Date(a,i,l),e.date?new Date(e.date):void 0,e.rangeDate?new Date(e.rangeDate):void 0)||B(new Date(a,i,l),e.rangeDate?new Date(e.rangeDate):void 0,e.date?new Date(e.date):void 0),h=e.rangeStart&&d.getTime()<new Date(e.rangeStart).getTime(),g=e.rangeEnd&&d.getTime()>new Date(e.rangeEnd).getTime(),v="string"!=typeof e.date&&e.date.getDate()===s&&l>0&&l<=p;return t.jsx("div",_({className:(v?"active "+O.active:"")+(l<1||l>p||h||g?" disabled "+O.disabled:"")+(e.rangeDate&&b?" in-range "+O["in-range"]:"")+(y===o?" selected "+O.selected:""),tabIndex:y===o?0:-1,role:"button",onClick:function(){x(l+(m-2)),u(d.getDate()),c(d.getMonth()),r(d.getFullYear()),e.setValue(d,!0)}},{children:s}),"calenderday-"+o)})}))]})},q=["Januar","Februar","Mars","April","Mai","Juni","Juli","August","September","Oktober","November","Desember"],K=function(e){var o=n.useContext(H).setMonth,a=l.default.createRef(),r="string"==typeof e.date?new Date(e.date).getMonth():e.date.getMonth();isNaN(r)&&(r=(new Date).getMonth());var i=n.useState(r),c=i[0],s=i[1];return n.useEffect(function(){var e;document.activeElement&&(null===(e=a.current)||void 0===e?void 0:e.contains(document.activeElement))&&V(a,c)},[c]),t.jsx("div",_({className:"".concat(v,"-datepicker-body-content months ").concat(O["body-content"]," ").concat(O.months),onKeyDown:function(t){switch(t.key){case"ArrowDown":t.preventDefault(),c+3<12&&s(c+3);break;case"ArrowUp":t.preventDefault(),c>=3&&s(c-3);break;case"ArrowLeft":t.preventDefault(),c>0&&s(c-1);break;case"ArrowRight":t.preventDefault(),c<11&&s(c+1);break;case"Enter":case" ":t.preventDefault(),o(c),e.setMode("DAYS")}},ref:a},{children:q.map(function(n,a){return t.jsx("div",_({className:("string"!=typeof e.date&&e.date.getMonth()===a?"active "+O.active:"")+(a===c?" selected "+O.selected:""),tabIndex:c===a?0:-1,role:"button",onClick:function(){o(a),s(a),e.setMode("DAYS")}},{children:n}),"month-"+n)})}))},X=function(e){var o=n.useContext(H),a=o.year,r=o.setYear,i="string"==typeof e.date?new Date(e.date).getFullYear()-1900:e.date.getFullYear()-1900;isNaN(i)&&(i=(new Date).getFullYear()-1900);var c=n.useState(i),s=c[0],u=c[1],d=l.default.useRef(null),m=l.default.useRef(null);return n.useEffect(function(){var e;if(d.current&&m.current){var t=m.current,n=d.current,o=t.scrollTop,a=o+t.clientHeight,r=n.offsetTop,i=r+n.clientHeight;r<o?t.scrollTop=r:i>a&&(t.scrollTop=i-t.clientHeight)}document.activeElement&&(null===(e=m.current)||void 0===e?void 0:e.contains(document.activeElement))&&V(m,s)},[s]),t.jsx("div",_({className:"".concat(v,"-datepicker-body-content years ").concat(O["body-content"]," ").concat(O.years),onKeyDown:function(t){switch(t.key){case"ArrowDown":s+4<300&&u(s+4);break;case"ArrowUp":s>=3&&u(s-4);break;case"ArrowLeft":s>0&&u(s-1);break;case"ArrowRight":s+1<300&&u(s+1);break;case"Enter":case" ":t.preventDefault(),e.setMode("MONTHS"),r(s+1900)}},ref:m},{children:g([],Array(300),!0).map(function(n,o){return t.jsx("div",_({tabIndex:s===o?0:-1,ref:s===o?d:null,className:(a===o+1900?"active "+O.active:"")+(s===o?" selected "+O.selected:""),role:"button",onClick:function(){e.setMode("MONTHS"),r(o+1900)}},{children:1900+o}),"year-"+o)})}))},Y=function(e){return t.jsxs("div",_({className:"".concat(v,"-datepicker-body ").concat(O.body)},{children:["DAYS"===e.mode&&t.jsx(W,{date:e.date,mode:e.mode,setMode:e.setMode,rangeDate:e.rangeDate,rangeStart:e.rangeStart,rangeEnd:e.rangeEnd,setValue:e.setValue}),"MONTHS"===e.mode&&t.jsx(K,{date:e.date,mode:e.mode,setMode:e.setMode,setValue:e.setValue}),"YEARS"===e.mode&&t.jsx(X,{date:e.date,mode:e.mode,setMode:e.setMode,setValue:e.setValue})]}))},J=function(e){var o,a,r=e.previousMonthTextAria,i=void 0===r?"Forrige måned":r,l=e.nextMonthTextAria,c=void 0===l?"Neste måned":l,s=f(e,["previousMonthTextAria","nextMonthTextAria"]),u=n.useContext(H),d=u.year,m=u.setYear,p=u.month,b=u.setMonth;return t.jsxs("div",_({className:"".concat(v,"-datepicker-header ").concat(O.header)},{children:[s.headerText&&t.jsx("div",_({className:"".concat(v,"-datepicker-header-text ").concat(O["header-text"])},{children:s.headerText})),"NONE"!==s.mode&&(o=function(){var e=new Date(d,p+1,1);b(e.getMonth()),11===p&&m(d+1)},a=function(){var e=new Date(d,p-1,1);b(e.getMonth()),0===p&&m(d-1)},t.jsx("div",_({className:"".concat(v,"-datepicker-header-months ").concat(O["header-months"])},{children:"YEARS"!==s.mode&&t.jsxs(t.Fragment,{children:["MONTHS"!==s.mode&&t.jsx("i",{className:"ri-arrow-left-s-line bc-icon ".concat(v,"-datepicker-header-month-button ").concat(O["header-month-button"]),onClick:a,"aria-label":i,role:"button",tabIndex:0,onKeyDown:function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),a())}}),t.jsxs("div",_({className:"".concat(v,"-datepicker-header-month ").concat(O["header-month"]),tabIndex:0,role:"button",onKeyDown:function(e){"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),s.setMode("DAYS"===s.mode?"MONTHS":"YEARS"))},onClick:function(){s.setMode("DAYS"===s.mode?"MONTHS":"YEARS")}},{children:["DAYS"==s.mode&&q[p]+" "+d,"MONTHS"==s.mode&&d,t.jsx("i",{className:"ri-arrow-down-s-fill bc-icon"})]})),"MONTHS"!==s.mode&&t.jsx("i",{className:"ri-arrow-right-s-line bc-icon ".concat(v,"-datepicker-header-month-button ").concat(O["header-month-button"]),"aria-label":c,onClick:o,role:"button",tabIndex:0,onKeyDown:function(e){" "!==e.key&&"Enter"!==e.key||(e.preventDefault(),o())}})]})})))]}))};function Z(e,t){var n={};return t.moreThan&&e<=t.moreThan.data?(n.error=t.moreThan.errorMessage,n):t.lessThan&&e>=t.lessThan.data?(n.error=t.lessThan.errorMessage,n):void 0}function $(e,t){var n,o,a,r,i={};if((null===(n=t.required)||void 0===n?void 0:n.data)&&("boolean"!=typeof e&&!e||"string"==typeof e&&""===e||null==e))return i.error=t.required.errorMessage,i;if(t.type&&typeof e!==t.type.data)return i.error=t.type.errorMessage,i;if(t.custom&&!t.custom.data(e))return i.error=t.custom.errorMessage,i;if("string"==typeof e){var l=function(e,t){var n={};if(t.minimumLength&&e.length<t.minimumLength.data)return n.error=t.minimumLength.errorMessage,n;if(t.maximumLength&&e.length>t.maximumLength.data)return n.error=t.maximumLength.errorMessage,n;if(t.isMail){if(""===e)return;if(!/^[^@]+@[^@]+\.[^@]+$/.test(String(e).toLowerCase())||/\s/.test(e))return n.error=t.isMail.errorMessage,n}}(e,t);if(l)return l}if("number"==typeof e){var c=Z(e,t);if(c)return c}if(e instanceof FileList){var s=(o=e,r={},(a=t).moreThan&&o.length<=a.moreThan.data?(r.error=a.moreThan.errorMessage,r):a.lessThan&&o.length>=a.lessThan.data?(r.error=a.lessThan.errorMessage,r):void 0);if(s)return s}return e instanceof Date?Z(e.valueOf(),t):void 0}var ee=function(e){var o=f(e,[]),a=n.useContext(H),r=a.setYear,i=a.setMonth,l=a.setDay;return t.jsxs("div",_({className:"".concat(v,"-datepicker-footer ").concat(O.footer)}
1,{children:[o.todayText&&t.jsx(z,_({appearance:"ghost",className:O["footer-button"],onClick:function(){o.setMode("DAYS");var e=new Date;o.setValue(new Date,!0),r(e.getFullYear()),i(e.getMonth()),l(e.getDate())}},{children:o.todayText})),o.clearText&&t.jsx(z,_({appearance:"ghost",className:O["footer-button"],onClick:function(){var e;o.setMode(null!==(e=o.defaultMode)&&void 0!==e?e:"YEARS"),o.setValue("",!0);var t=new Date;r(t.getFullYear()),i(t.getMonth()),l(t.getDate())}},{children:o.clearText}))]}))},te=n.forwardRef(function(e,o){var a,r,i,l,c,s=null!==(a=e.value)&&void 0!==a?a:e.defaultValue,u=s?new Date(s):"",d=n.useState(u?u.getFullYear():(new Date).getFullYear()),m=d[0],p=d[1],f=n.useState(u?u.getMonth():(new Date).getMonth()),b=f[0],h=f[1],g=n.useState(u?u.getDate():(new Date).getDate()),y=g[0],x=g[1],k=n.useState(function(){return u}),w=k[0],C=k[1],S=n.useState(null!==(r=e.defaultMode)&&void 0!==r?r:function(){return M(u)?"DAYS":"YEARS"}),N=S[0],T=S[1],j=n.useState(""),E=j[0],P=j[1],D=n.useRef(null),A=n.useRef(null);n.useEffect(function(){var t;if(e.value){var n=new Date(e.value);p(n.getFullYear()),h(n.getMonth()),x(n.getDate()),"Invalid Date"!==n.toString()?(C(n),T("DAYS")):T(null!==(t=e.defaultMode)&&void 0!==t?t:"YEARS")}},[e.defaultMode,e.value]);var R=n.useCallback(function(t,n){var o;if(void 0===n&&(n=!1),C(t),n){e.onChange&&e.onChange(t);var a=new Event("change",{bubbles:!0});null===(o=A.current)||void 0===o||o.dispatchEvent(a)}},[e]);n.useEffect(function(){var t,n,o,a=new Date(null!==(t=e.rangeStart)&&void 0!==t?t:""),r=new Date(null!==(n=e.rangeEnd)&&void 0!==n?n:""),i="string"==typeof w,l=""===w,c=!i&&e.rangeStart&&a.getTime()>w.getTime(),s=!i&&e.rangeEnd&&r.getTime()<w.getTime();!(null===(o=e.formValidation)||void 0===o?void 0:o.required)&&l||(c?(R(a,!0),p(a.getFullYear()),h(a.getMonth()),x(a.getDate())):s&&(R(r,!0),p(r.getFullYear()),h(r.getMonth()),x(r.getDate())))},[e.rangeStart,e.rangeEnd,w,R,null===(i=e.formValidation)||void 0===i?void 0:i.required]),((null===(l=e.formValidation)||void 0===l?void 0:l.required)||""!==w)&&("string"!=typeof w&&e.min&&new Date(e.min).getTime()>w.getTime()?R(new Date(e.min)):"string"!=typeof w&&e.max&&new Date(e.max).getTime()<w.getTime()&&R(new Date(e.max)));var z=function(){if(e.formValidation){P("");var t=$(w,e.formValidation);if(t&&t.error)return P(t.error),t.error}return!1};n.useImperativeHandle(o,function(){return{setValue:{},getValue:function(){return w&&M(w)?w.toString():void 0},getName:function(){return e.name},getLabel:function(){return e.headerText},validate:z,getNativeRef:function(){return D},focus:function(){var e;return null===(e=D.current)||void 0===e?void 0:e.focus()},type:"DatePicker",reset:function(){C(e.defaultValue?new Date(e.defaultValue):"")}}});var L=["".concat(v,"-datepicker ").concat(O.base)];return e.theme&&L.push("".concat(v,"-datepicker--theme-").concat(e.theme," ").concat(O["theme--"+e.theme])),e.className&&L.push(e.className),t.jsx(H.Provider,_({value:{year:m,month:b,day:y,setYear:p,setMonth:h,setDay:x}},{children:t.jsx("div",_({className:L.join(" "),ref:D,role:"application"},{children:t.jsxs("div",_({className:"".concat(v,"-datepicker-container ").concat(O.container)},{children:[""!==E&&t.jsx("p",_({className:"".concat(v,"-datepicker-error ").concat(O.error),id:(null!==(c=e.id)&&void 0!==c?c:"date-".concat((new Date).valueOf()))+"-error"},{children:E})),"YEARS"!==N&&t.jsx(J,{headerText:e.headerText,mode:N,setMode:T,date:"string"==typeof w?new Date:w,rangeStart:s?e.rangeStart:void 0,rangeEnd:s?e.rangeEnd:void 0,setValue:R,nextMonthTextAria:e.nextMonthTextAria,previousMonthTextAria:e.previousMonthTextAria}),t.jsx(Y,{mode:N,setMode:T,date:w,rangeDate:s?e.rangeDate:void 0,rangeStart:s?e.rangeStart:void 0,rangeEnd:s?e.rangeEnd:void 0,setValue:R}),(e.todayText||e.clearText)&&t.jsx(ee,{setMode:T,rangeStart:e.rangeStart,rangeEnd:e.rangeEnd,setValue:R,todayText:e.todayText,clearText:e.clearText,defaultMode:e.defaultMode}),t.jsx("select",{ref:A,onChange:function(){},value:"string"!=typeof w&&M(w)?w.toISOString().split("T")[0]:"",style:{display:"none"}})]}))}))}))}),ne=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not
1(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],oe=ne.join(","),ae="undefined"==typeof Element,re=ae?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,ie=!ae&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},le=function e(t,n){var o;void 0===n&&(n=!0);var a=null==t||null===(o=t.getAttribute)||void 0===o?void 0:o.call(t,"inert");return""===a||"true"===a||n&&t&&e(t.parentNode)},ce=function(e,t,n){if(le(e))return[];var o=Array.prototype.slice.apply(e.querySelectorAll(oe));return t&&re.call(e,oe)&&o.unshift(e),o.filter(n)},se=function e(t,n,o){for(var a=[],r=Array.from(t);r.length;){var i=r.shift();if(!le(i,!1))if("SLOT"===i.tagName){var l=i.assignedElements(),c=e(l.length?l:i.children,!0,o);o.flatten?a.push.apply(a,c):a.push({scopeParent:i,candidates:c})}else{re.call(i,oe)&&o.filter(i)&&(n||!t.includes(i))&&a.push(i);var s=i.shadowRoot||"function"==typeof o.getShadowRoot&&o.getShadowRoot(i),u=!le(s,!1)&&(!o.shadowRootFilter||o.shadowRootFilter(i));if(s&&u){var d=e(!0===s?i.children:s.children,!0,o);o.flatten?a.push.apply(a,d):a.push({scopeParent:i,candidates:d})}else r.unshift.apply(r,i.children)}}return a},ue=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},de=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||""===(o=null==(t=e)||null===(n=t.getAttribute)||void 0===n?void 0:n.call(t,"contenteditable"))||"true"===o)&&!ue(e)?0:e.tabIndex;var t,n,o},me=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},_e=function(e){return"INPUT"===e.tagName},pe=function(e){var t=e.getBoundingClientRect();return 0===t.width&&0===t.height},fe=function(e,t){return!(t.disabled||le(t)||(n=t,_e(n)&&"hidden"===n.type)||function(e,t){var n=t.displayCheck,o=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var a=re.call(e,"details>summary:first-of-type")?e.parentElement:e;if(re.call(a,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return pe(e)}else{if("function"==typeof o){for(var r=e;e;){var i=e.parentElement,l=ie(e);if(i&&!i.shadowRoot&&!0===o(i))return pe(e);e=e.assignedSlot?e.assignedSlot:i||l===e.ownerDocument?i:l.host}e=r}if(function(e){var t,n,o,a,r=e&&ie(e),i=null===(t=r)||void 0===t?void 0:t.host,l=!1;if(r&&r!==e)for(l=!!(null!==(n=i)&&void 0!==n&&null!==(o=n.ownerDocument)&&void 0!==o&&o.contains(i)||null!=e&&null!==(a=e.ownerDocument)&&void 0!==a&&a.contains(e));!l&&i;){var c,s,u;l=!(null===(s=i=null===(c=r=ie(i))||void 0===c?void 0:c.host)||void 0===s||null===(u=s.ownerDocument)||void 0===u||!u.contains(i))}return l}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var o=t.children.item(n);if("LEGEND"===o.tagName)return!!re.call(t,"fieldset[disabled] *")||!o.contains(e)}return!0}t=t.parentElement}return!1}(t));var n},be=function(e,t){return!(function(e){return _e(t=e)&&"radio"===t.type&&!function(e){if(!e.name)return!0;var t,n=e.form||ie(e),o=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=o(window.CSS.escape(e.name));else try{t=o(e.name)}catch(r){return!1}var a=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!a||a===e}(e);var t}(t)||de(t)<0||!fe(e,t))},he=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},ge=function e(t){var n=[],o=[];return t.forEach(function(t,a){var r,i,l,c=!!t.scopeParent,s=c?t.scopeParent:t,u=(i=c,(l=de(r=s))<0&&i&&!ue(r)?0:l),d=c?e(t.candidates):s;
10===u?c?n.push.apply(n,d):n.push(s):o.push({documentOrder:a,tabIndex:u,item:t,isScope:c,content:d})}),o.sort(me).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(n)},ve=function(e,t){var n;return n=(t=t||{}).getShadowRoot?se([e],t.includeContainer,{filter:be.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:he}):ce(e,t.includeContainer,be.bind(null,t)),ge(n)},ye=function(e,t){return(t=t||{}).getShadowRoot?se([e],t.includeContainer,{filter:fe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):ce(e,t.includeContainer,fe.bind(null,t))},xe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==re.call(e,oe)&&be(t,e)},ke=ne.concat("iframe").join(","),we=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==re.call(e,ke)&&fe(t,e)},Ce=Object.freeze({__proto__:null,focusable:ye,getTabIndex:de,isFocusable:we,isTabbable:xe,tabbable:ve});function Se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function Ne(e,t,n){return(t="symbol"==typeof(o=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?o:o+"")in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e;var o}function Te(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,o)}return n}function je(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Te(Object(n),!0).forEach(function(t){Ne(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Te(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ee=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},Pe=function(e){return Ee(e)&&!e.shiftKey},De=function(e){return Ee(e)&&e.shiftKey},Ae=function(e){return setTimeout(e,0)},Re=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return"function"==typeof e?e.apply(void 0,n):e},ze=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Le=[];function Me(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),t}var Ie,Fe,Oe=Me(Object.freeze({__proto__:null,createFocusTrap:function(e,t){var n,o=(null==t?void 0:t.document)||document,a=(null==t?void 0:t.trapStack)||Le,r=je({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:Pe,isKeyBackward:De},t),i={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,manuallyPaused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},l=function(e,t,n){return e&&void 0!==e[t]?e[t]:r[n||t]},c=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return i.containerGroups.findIndex(function(t){var o=t.container,a=t.tabbableNodes;return o.contains(e)||(null==n?void 0:n.includes(o))||a.find(function(t){return t===e})})},s=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasFallback,a=void 0!==n&&n,i=t.params,l=r[e];if("function"==typeof l&&(l=l.apply(void 0,function(e){return function(e){if(Array.isArray(e))return Se(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Se(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Se(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(void 0===i?[]:i))),!0===l&&(l=void 0),!l){if(void 0===l||!1===l)return l;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var c=l;if("string"==typeof l){try{c=o.querySelector(l)}catch(s){throw new Error("`".concat(e,'` appears to be an invali
1d selector; error="').concat(s.message,'"'))}if(!c&&!a)throw new Error("`".concat(e,"` as selector refers to no known node"))}return c},u=function(){var e=s("initialFocus",{hasFallback:!0});if(!1===e)return!1;if(void 0===e||e&&!we(e,r.tabbableOptions))if(c(o.activeElement)>=0)e=o.activeElement;else{var t=i.tabbableGroups[0];e=t&&t.firstTabbableNode||s("fallbackFocus")}else null===e&&(e=s("fallbackFocus"));if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},d=function(){if(i.containerGroups=i.containers.map(function(e){var t=ve(e,r.tabbableOptions),n=ye(e,r.tabbableOptions),o=t.length>0?t[0]:void 0,a=t.length>0?t[t.length-1]:void 0,i=n.find(function(e){return xe(e)}),l=n.slice().reverse().find(function(e){return xe(e)}),c=!!t.find(function(e){return de(e)>0});return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:c,firstTabbableNode:o,lastTabbableNode:a,firstDomTabbableNode:i,lastDomTabbableNode:l,nextTabbableNode:function(e){var o=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=t.indexOf(e);return a<0?o?n.slice(n.indexOf(e)+1).find(function(e){return xe(e)}):n.slice(0,n.indexOf(e)).reverse().find(function(e){return xe(e)}):t[a+(o?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(e){return e.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!s("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(e){return e.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},m=function(e){var t=e.activeElement;if(t)return t.shadowRoot&&null!==t.shadowRoot.activeElement?m(t.shadowRoot):t},_=function(e){var t;!1!==e&&e!==m(document)&&(e&&e.focus?(e.focus({preventScroll:!!r.preventScroll}),i.mostRecentlyFocusedNode=e,(t=e).tagName&&"input"===t.tagName.toLowerCase()&&"function"==typeof t.select&&e.select()):_(u()))},p=function(e){var t=s("setReturnFocus",{params:[e]});return t||!1!==t&&e},f=function(e){var t=e.target,n=e.event,o=e.isBackward,a=void 0!==o&&o;t=t||ze(n),d();var l=null;if(i.tabbableGroups.length>0){var u=c(t,n),m=u>=0?i.containerGroups[u]:void 0;if(u<0)l=a?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(a){var _=i.tabbableGroups.findIndex(function(e){return t===e.firstTabbableNode});if(_<0&&(m.container===t||we(t,r.tabbableOptions)&&!xe(t,r.tabbableOptions)&&!m.nextTabbableNode(t,!1))&&(_=u),_>=0){var p=i.tabbableGroups[0===_?i.tabbableGroups.length-1:_-1];l=de(t)>=0?p.lastTabbableNode:p.lastDomTabbableNode}else Ee(n)||(l=m.nextTabbableNode(t,!1))}else{var f=i.tabbableGroups.findIndex(function(e){return t===e.lastTabbableNode});if(f<0&&(m.container===t||we(t,r.tabbableOptions)&&!xe(t,r.tabbableOptions)&&!m.nextTabbableNode(t))&&(f=u),f>=0){var b=i.tabbableGroups[f===i.tabbableGroups.length-1?0:f+1];l=de(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode}else Ee(n)||(l=m.nextTabbableNode(t))}}else l=s("fallbackFocus");return l},b=function(e){var t=ze(e);c(t,e)>=0||(Re(r.clickOutsideDeactivates,e)?n.deactivate({returnFocus:r.returnFocusOnDeactivate}):Re(r.allowOutsideClick,e)||e.preventDefault())},h=function(e){var t=ze(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(i.mostRecentlyFocusedNode=t);else{var o;e.stopImmediatePropagation();var a=!0;if(i.mostRecentlyFocusedNode)if(de(i.mostRecentlyFocusedNode)>0){var l=c(i.mostRecentlyFocusedNode),s=i.containerGroups[l].tabbableNodes;if(s.length>0){var d=s.findIndex(function(e){return e===i.mostRecentlyFocusedNode});d>=0&&(r.isKeyForward(i.recentNavEvent)?d+1<s.length&&(o=s[d+1],a=!1):d-1>=0&&(o=s[d-1],a=!1))}}else i.containerGroups.some(function(e){return e.tabbableNodes.some(function(e){return de(e)>0})})||(a=!1);else a=!1;a&&(o=f({target:i.mostRecentlyFocusedNode,isBackward:r.isKeyBackward(i.recentNavEvent)})),_(o||i.mostRecentlyFocusedNode||u())}i.recentNavEvent=void 0},g=function(e){(r.isKeyForward(e)||r.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i.recentNavEvent=e;var n=f({event:e,isBackward:t});n&&(Ee(e)&&e.preventDefault(),_(n))}(e,r.isKeyBackward(e))},v=function(e){var t;"Escape"!==(null==(t=e)?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===Re(r.escapeDeactivates,e)||(e.preventDefault(),n.deactivate())},y=function(e){var t=ze(e);c(t,e)>=0||Re(r.clickOutsideDeactivates,e)||Re(r.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},x=function(){if(i.active)return function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n._setPausedState(!0)}var o=e.indexOf(t);-1===o||e.splice(o,1),e.push(t)}(a,n),i.delayInitialFocusTimer=r.delayInitialFocus?Ae(function(){_(u())}):_(u()),o.addEventListener("focusin",h,!0),o.addEventListener("mousedown",b,{capture:!0,passive:!1}),o.addEventListener("touchstart",b,{capture:!0,passive:!1}),o.addEventListener("click",y,{capture:!0,passive:!1}),o.addEventListener("keydown",g,{capture:!0,passive:!1}),o.addEventListener("keydown",v),n},k=function(){if(i.active)return o.removeEventListener("focusin",h,!0),o.removeEventListener("mousedown",b,!0),o.removeEventListener("touchstart",b,!0),o.removeEventListener("click",y,!0),o.removeEventListener("keydown",g,!0),o.removeEventListener("keydown",v),n},w="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver(function(e){e.some(function(e){return Array.from(e.removedNodes
1).some(function(e){return e===i.mostRecentlyFocusedNode})})&&_(u())}):void 0,C=function(){w&&(w.disconnect(),i.active&&!i.paused&&i.containers.map(function(e){w.observe(e,{subtree:!0,childList:!0})}))};return n={get active(){return i.active},get paused(){return i.paused},activate:function(e){if(i.active)return this;var t=l(e,"onActivate"),n=l(e,"onPostActivate"),a=l(e,"checkCanFocusTrap");a||d(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=o.activeElement,null==t||t();var r=function(){a&&d(),x(),C(),null==n||n()};return a?(a(i.containers.concat()).then(r,r),this):(r(),this)},deactivate:function(e){if(!i.active)return this;var t=je({onDeactivate:r.onDeactivate,onPostDeactivate:r.onPostDeactivate,checkCanReturnFocus:r.checkCanReturnFocus},e);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,k(),i.active=!1,i.paused=!1,C(),function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&!e[e.length-1]._isManuallyPaused()&&e[e.length-1]._setPausedState(!1)}(a,n);var o=l(t,"onDeactivate"),c=l(t,"onPostDeactivate"),s=l(t,"checkCanReturnFocus"),u=l(t,"returnFocus","returnFocusOnDeactivate");null==o||o();var d=function(){Ae(function(){u&&_(p(i.nodeFocusedBeforeActivation)),null==c||c()})};return u&&s?(s(p(i.nodeFocusedBeforeActivation)).then(d,d),this):(d(),this)},pause:function(e){return i.active?(i.manuallyPaused=!0,this._setPausedState(!0,e)):this},unpause:function(e){return i.active?(i.manuallyPaused=!1,a[a.length-1]!==this?this:this._setPausedState(!1,e)):this}
1,updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return i.containers=t.map(function(e){return"string"==typeof e?o.querySelector(e):e}),i.active&&d(),C(),this}},Object.defineProperties(n,{_isManuallyPaused:{value:function(){return i.manuallyPaused}},_setPausedState:{value:function(e,t){if(i.paused===e)return this;if(i.paused=e,e){var n=l(t,"onPause"),o=l(t,"onPostPause");null==n||n(),k(),C(),null==o||o()}else{var a=l(t,"onUnpause"),r=l(t,"onPostUnpause");null==a||a(),d(),x(),C(),null==r||r()}return this}}}),n.updateContainerElements(e),n}})),Be=Me(Ce);function He(e){return(He="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ve(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(Ve=function(){return!!e})()}function Ue(e){return(Ue=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Ge(e,t){return(Ge=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function Qe(e){var t=function(e){if("object"!=He(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=He(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==He(t)?t:t+""}var We=Oe.createFocusTrap,qe=Be.isFocusable,Ke=parseInt(null!==(Ie=null===(Fe=/^(\d+)\./.exec(l.default.version))||void 0===Fe?void 0:Fe[1])&&void 0!==Ie?Ie:0,10),Xe=function(){function e(t){var n,o,a,r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),n=function(e,t,n){return t=Ue(t),function(e,t){if(t&&("object"==He(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ve()?Reflect.construct(t,n||[],Ue(e).constructor):t.apply(e,n))}(this,e,[t]),o=n,r=function(e){var t,n=null!==(t=this.internalOptions[e])&&void 0!==t?t:this.originalOptions[e];if("function"==typeof n){for(var o=arguments.length,a=new Array(o>1?o-1:0),r=1;r<o;r++)a[r-1]=arguments[r];n=n.apply(void 0,a)}if(!0===n&&(n=void 0),!n){if(void 0===n||!1===n)return n;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var i,l=n;if("string"==typeof n&&!(l=null===(i=this.getDocument())||void 0===i?void 0:i.querySelector(n)))throw new Error("`".concat(e,"` as selector refers to no known node"));return l},(a=Qe(a="getNodeForOption"))in o?Object.defineProperty(o,a,{value:r,enumerable:!0,configurable:!0,writable:!0}):o[a]=r,n.handleDeactivate=n.handleDeactivate.bind(n),n.handlePostDeactivate=n.handlePostDeactivate.bind(n),n.handleClickOutsideDeactivates=n.handleClickOutsideDeactivates.bind(n),n.internalOptions={returnFocusOnDeactivate:!1,checkCanReturnFocus:null,onDeactivate:n.handleDeactivate,onPostDeactivate:n.handlePostDeactivate,clickOutsideDeactivates:n.handleClickOutsideDeactivates},n.originalOptions={returnFocusOnDeactivate:!0,onDeactivate:null,onPostDeactivate:null,checkCanReturnFocus:null,clickOutsideDeactivates:!1};var i=t.focusTrapOptions;for(var l in i)Object.prototype.hasOwnProperty.call(i,l)&&("returnFocusOnDeactivate"!==l&&"onDeactivate"!==l&&"onPostDeactivate"!==l&&"checkCanReturnFocus"!==l&&"clickOutsideDeactivates"!==l?n.internalOptions[l]=i[l]:n.originalOptions[l]=i[l]);return n.outsideClick=null,n.focusTrapElements=t.containerElements||[],n.updatePreviousElement(),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ge(e,t)}(e,l.default.Component),t=e,(n=[{key:"getDocument",value:function(){return this.props.focusTrapOptions.document||("undefined"!=typeof document?document:void 0)}},{key:"getReturnFocusNode",value:function(){var e=this.getNodeForOption("setReturnFocus",this.previouslyFocusedElement);return e||!1!==e&&this.previouslyFocusedElement}},{key:"updatePreviousElement",value:function(){var e=this.getDocument();e&&(this.previouslyFocusedElement=e.activeElement)}},{key:"deactivateTrap",value:function(){this.focusTrap&&this.focusTrap.active&&this.focusTrap.deactivate({returnFocus:!1,checkCanReturnFocus:null,onDeactivate:this.originalOptions.onDeactivate})}},{key:"handleClickOutsideDeactivates",value:function(e){var t="function"==typeof this.originalOptions.clickOutsideDeactivates?this.originalOptions.clickOutsideDeactivates.call(null,e):this.originalOptions.clickOutsideDeactivates;return t&&(this.outsideClick={target:e.target,allowDeactivation:t}),t}},{key:"handleDeactivate",value:function(){this.originalOptions.onDeactivate&&this.originalOptions.onDeactivate.call(null),this.deactivateTrap()}},{key:"handlePostDeactivate",value:function(){var e=this,t=function(){var t=e.getReturnFocusNode(),n=!(!e.originalOptions.returnFocusOnDeactivate||null==t||!t.focus||e.outsideClick&&(!e.outsideClick.allowDeactivation||qe(e.outsideClick.target,e.internalOptions.tabbableOptions))),o=e.internalOptions.preventScroll;
1n&&t.focus({preventScroll:void 0!==o&&o}),e.originalOptions.onPostDeactivate&&e.originalOptions.onPostDeactivate.call(null),e.outsideClick=null};this.originalOptions.checkCanReturnFocus?this.originalOptions.checkCanReturnFocus.call(null,this.getReturnFocusNode()).then(t,t):t()}},{key:"setupFocusTrap",value:function(){this.focusTrap?this.props.active&&!this.focusTrap.active&&(this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause()):this.focusTrapElements.some(Boolean)&&(this.focusTrap=this.props._createFocusTrap(this.focusTrapElements,this.internalOptions),this.props.active&&this.focusTrap.activate(),this.props.paused&&this.focusTrap.pause())}},{key:"componentDidMount",value:function(){this.props.active&&this.setupFocusTrap()}},{key:"componentDidUpdate",value:function(e){if(this.focusTrap){e.containerElements!==this.props.containerElements&&this.focusTrap.updateContainerElements(this.props.containerElements);var t=e.active&&!this.props.active,n=!e.paused&&this.props.paused,o=e.paused&&!this.props.paused;if(!e.active&&this.props.active&&(this.updatePreviousElement(),this.focusTrap.activate()),t)return void this.deactivateTrap();n&&this.focusTrap.pause(),o&&this.focusTrap.unpause()}else e.containerElements!==this.props.containerElements&&(this.focusTrapElements=this.props.containerElements),this.props.active&&(this.updatePreviousElement(),this.setupFocusTrap())}},{key:"componentWillUnmount",value:function(){this.deactivateTrap()}},{key:"render",value:function(){var e=this,t=this.props.children?l.default.Children.only(this.props.children):void 0;if(t){if(t.type&&t.type===l.default.Fragment)throw new Error("A focus-trap cannot use a Fragment as its child container. Try replacing it with a <div> element.");return l.default.cloneElement(t,{ref:function(n){var o=e.props.containerElements;t&&(Ke>=19?"function"==typeof t.props.ref?t.props.ref(n):t.props.ref&&(t.props.ref.current=n):"function"==typeof t.ref?t.ref(n):t.ref&&(t.ref.current=n)),e.focusTrapElements=o||[n]}})}return null}}])&&function(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,Qe(o.key),o)}}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n}();Xe.defaultProps={active:!0,paused:!1,focusTrapOptions:{},_createFocusTrap:We};var Ye=Xe,Je=Xe;Ye.FocusTrap=Je;var Ze="modal-module__button_9322_uAc6i",$e="modal-module__datepicker_9322_mkGeX";s(".modal-module__modal-backdrop_9322_AqOrY{backdrop-filter:blur(1px);background-color:#1c1c1c80;height:100%;left:0;position:fixed;top:0;width:100%}.modal-module__modal_9322_hoxHH{align-items:center;display:flex;height:100%;justify-content:center;left:0;position:fixed;top:0;width:100%;z-index:999}.modal-module__modal_9322_hoxHH .modal-module__modal-content_9322_vBa5d{background-color:var(--bc-background-color);max-height:100vh;max-width:100vw;overflow-y:auto;padding:1.5rem;position:relative}.modal-module__modal_9322_hoxHH .modal-module__modal-content_9322_vBa5d .modal-module__close_9322_Y-bSW{font-size:1.5rem;position:absolute;right:.25rem;top:.25rem}.modal-module__modal_9322_hoxHH .modal-module__modal-content_9322_vBa5d .modal-module__datepickerContainer_9322_pVcus{display:flex;flex-wrap:wrap;margin-top:1rem}.modal-module__modal_9322_hoxHH .modal-module__modal-content_9322_vBa5d .modal-module__button-container_9322_iXcFY{display:flex;justify-content:flex-end;margin-top:1rem}.modal-module__modal_9322_hoxHH .modal-module__modal-content_9322_vBa5d .modal-module__button-container_9322_iXcFY .modal-module__button_9322_uAc6i{margin-right:.5rem;margin-top:.5rem}.modal-module__modal_9322_hoxHH .modal-module__modal-content_9322_vBa5d .modal-module__button-container_9322_iXcFY .modal-module__button_9322_uAc6i.modal-module__resetButton_9322_xoO21{padding:1.3rem 1.5rem}.modal-module__modal_9322_hoxHH .modal-module__modal-content_9322_vBa5d .modal-module__datepicker_9322_mkGeX:first-of-type{margin-right:1rem}");var et=function(e){var o,a,r,i,c,s,u=e.closeTextAria,d=void 0===u?"Lukk":u,m=f(e,["closeTextAria"]),p=n.useRef(null),b=n.useRef(null),h=l.default.useState(null!==(o=m.startDate)&&void 0!==o?o:m.defaultStartDate),g=h[0],y=h[1],x=l.default.useState(null!==(a=m.endDate)&&void 0!==a?a:m.defaultEndDate),k=x[0],w=x[1];n.useEffect(function(){y(m.startDate),w(m.endDate)},[m.startDate,m.endDate]);
1var C=function(){m.setOpen(!1)};return t.jsx(Ye,_({active:m.open},{children:t.jsxs("div",_({className:"".concat(v,"-daterangepicker-modal ").concat("modal-module__modal_9322_hoxHH"),onClick:function(e){e.stopPropagation()},onKeyDown:function(e){"Escape"===e.key&&C()}},{children:[t.jsx("div",{className:"modal-module__modal-backdrop_9322_AqOrY",onClick:C}),t.jsxs("div",_({className:"".concat(v,"-daterangepicker-modal-content ").concat("modal-module__modal-content_9322_vBa5d")},{children:[t.jsx(z,_({appearance:"icon",className:"modal-module__close_9322_Y-bSW",onClick:C,"aria-label":d},{children:t.jsx(L,{icon:"ri-close-line"})})),t.jsxs("div",_({className:"modal-module__datepickerContainer_9322_pVcus",onChange:function(e){return e.stopPropagation()}},{children:[t.jsx(te,_({ref:p,className:$e,defaultValue:m.defaultStartDate,rangeDate:k&&!M(k)||g&&!M(g)?g:k,theme:m.theme,value:g&&M(g)?g:void 0,onChange:function(e){return y("string"!=typeof e?F(e):e)}},m.datePickerStartProps)),t.jsx(te,_({ref:b,defaultValue:m.defaultEndDate,className:$e,rangeDate:g&&!M(g)||k&&!M(k)?k:g,theme:m.theme,value:k&&M(k)?k:void 0,onChange:function(e){return w("string"!=typeof e?F(e):e)}},m.datePickerEndProps))]})),t.jsxs("div",_({className:"modal-module__button-container_9322_iXcFY"},{children:[t.jsx(z,_({className:"".concat(Ze," ").concat("modal-module__resetButton_9322_xoO21"," "),appearance:"link",type:"reset",onClick:function(){p&&p.current&&p.current.reset&&p.current.reset(),b&&b.current&&b.current.reset&&b.current.reset();var e=m.defaultStartDate&&m.defaultStartDate instanceof Date?F(m.defaultStartDate):m.defaultStartDate,t=m.defaultEndDate&&m.defaultEndDate instanceof Date?F(m.defaultEndDate):m.defaultEndDate;y(e),w(t)}},{children:null!==(i=null===(r=m.texts)||void 0===r?void 0:r.resetButton)&&void 0!==i?i:"Nullstille"})),t.jsx(z,_({className:Ze,onClick:function(){var e=g&&g instanceof Date?F(g):g,t=k&&k instanceof Date?F(k):k;C(),m.setDates(e,t),m.setTriggerEvent(!0)}},{children:null!==(s=null===(c=m.texts)||void 0===c?void 0:c.closeButton)&&void 0!==s?s:"Ferdig"}))]}))]}))]}))}))},tt={base:"dateRangePicker-module__base_9322_uAV-a",labels:"dateRangePicker-module__labels_9322_G3LmG",label:"dateRangePicker-module__label_9322_KGJv4",labelEnd:"dateRangePicker-module__labelEnd_9322_pZxdJ",inputs:"dateRangePicker-module__inputs_9322_WF1f0",inputContainer:"dateRangePicker-module__inputContainer_9322_D4IFi",input:"dateRangePicker-module__input_9322_UKh-T","hidden-labels":"dateRangePicker-module__hidden-labels_9322_RFBRc",eventInput:"dateRangePicker-module__eventInput_9322_uHmEQ"};function nt(e,t){void 0===t&&(t="abcdefghijklmnopqrstuvxyz123456789");for(var n="",o=0;o<e;o++)n+=t.charAt(Math.floor(Math.random()*t.length));return n}s(".dateRangePicker-module__base_9322_uAV-a .dateRangePicker-module__labels_9322_G3LmG{align-items:center;display:flex;justify-content:flex-start;width:100%}.dateRangePicker-module__base_9322_uAV-a .dateRangePicker-module__labels_9322_G3LmG .dateRangePicker-module__labelEnd_9322_pZxdJ,.dateRangePicker-module__base_9322_uAV-a .dateRangePicker-module__labels_9322_G3LmG .dateRangePicker-module__label_9322_KGJv4{margin-bottom:.25rem;width:100%}.dateRangePicker-module__base_9322_uAV-a .dateRangePicker-module__inputs_9322_WF1f0{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:flex-start;width:100%}.dateRangePicker-module__base_9322_uAV-a .dateRangePicker-module__inputs_9322_WF1f0 .dateRangePicker-module__inputContainer_9322_D4IFi .dateRangePicker-module__input_9322_UKh-T{margin:0;width:100%}.dateRangePicker-module__base_9322_uAV-a .dateRangePicker-module__inputs_9322_WF1f0 .dateRangePicker-module__inputContainer_9322_D4IFi .dateRangePicker-module__input_9322_UKh-T input{cursor:pointer;font-size:1rem;margin:0}.dateRangePicker-module__base_9322_uAV-a .dateRangePicker-module__inputs_9322_WF1f0 .dateRangePicker-module__inputContainer_9322_D4IFi .dateRangePicker-module__input_9322_UKh-T input::-webkit-calendar-picker-indicator{font-size:1.5rem;pointer-events:none}.dateRangePicker-module__base_9322_uAV-a.dateRangePicker-module__width--auto_9322_-4Wxn .dateRangePicker-module__inputs_9322_WF1f0{justify-content:start}.dateRangePicker-module__base_9322_uAV-a.dateRangePicker-module__width--auto_9322_-4Wxn .dateRangePicker-module__inputs_9322_WF1f0 .dateRangePicker-module__input_9322_UKh-T,.dateRangePicker-module__base_9322_uAV-a.dateRangePicker-module__width--auto_9322_-4Wxn .dateRangePicker-module__inputs_9322_WF1f0 .dateRangePicker-module__input_9322_UKh-T input{width:auto}.dateRangePicker-module__base_9322_uAV-a.dateRangePicker-module__hidden-labels_9322_RFBRc .dateRangePicker-module__labels_9322_G3LmG{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.dateRangePicker-module__base_9322_uAV-a .dateRangePicker-module__eventInput_9322_uHmEQ{display:none}");var ot={base:"input-module__base_9322_pzGvo",container:"input-module__container_9322_HHqh-",showPasswordbutton:"input-module__showPasswordbutton_9322_unitM",inputTypeText:"input-module__inputTypeText_9322_c-Dq5",clearButton:"input-module__clearButton_9322_eEtzK",text:"input-module__text_9322_1IF-e",counter:"input-module__counter_9322_JaxwJ","error-text":"input-module__error-text_9322_66CKY",error:"input-module__error_9322_UMV5s","theme--dark":"input-module__theme--dark_9322_VzdDM",sublabel:"input-module__sublabel_9322_ehYi3",hiddenLabel:"input-module__hiddenLabel_9322_F-TU4"};s(".input-module__base_9322_pzGvo .input-module__container_9322_HHqh- .input-module__showPasswordbutton_9322_unitM{-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input{-webkit-appearance:none;background-color:#fff;background-color:var(--bc-background-color);border:var(--bc-input-border-width) solid var(--bc-c-border-input);box-sizing:border-box;color:var(--bc-c-text-primary);font-size:var(--bc-input-font-size);height:calc(var(--bc-input-height) - .25rem);min-height:calc(var(--bc-input-height) - .25rem);transition:color .1s ease-in-out,background-color .1s ease-in-out;width:100%}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input:hover{background-color:var(--bc-background-color);color:var(--bc-basic-color-500)}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input:focus{background-color:var(--bc-background-color);border-color:var(--bc-basic-color-500);color:var(--bc-basic-color-500)}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input[disabled],.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input[readonly]{background-color:var(--bc-background-color);color:var(--basic-color-300);
1cursor:not-allowed}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input::-ms-clear{display:none}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input:-ms-input-placeholder,.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input::-moz-placeholder,.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input::-webkit-input-placeholder,.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input::placeholder{color:var(--bc-input-placeholder-color);opacity:1}.input-module__base_9322_pzGvo label{font-size:var(--bc-input-font-size);font-weight:700;margin-left:0;margin-right:0}.input-module__base_9322_pzGvo{margin-top:.5rem}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh-{position:relative}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input{padding:0 1rem}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- input.input-module__inputTypeText_9322_c-Dq5{padding-right:2.5rem}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- .input-module__clearButton_9322_eEtzK{font-size:1.6em;font-weight:700;height:fit-content;padding:0}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- .input-module__clearButton_9322_eEtzK,.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- .input-module__showPasswordbutton_9322_unitM{background-color:initial;border:none;cursor:pointer;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- .input-module__showPasswordbutton_9322_unitM.input-module__text_9322_1IF-e{text-decoration:underline}.input-module__base_9322_pzGvo .input-module__container_9322_HHqh- .input-module__showPasswordbutton_9322_unitM i{font-size:1.3rem}.input-module__base_9322_pzGvo label{display:block;padding:0 0 .5rem}.input-module__base_9322_pzGvo label span{color:var(--bc-c-text-secondary);font-size:1rem;font-weight:400;margin-left:.5rem}.input-module__base_9322_pzGvo p{font-size:medium;margin:2px 0 0;width:fit-content}.input-module__base_9322_pzGvo .input-module__counter_9322_JaxwJ{float:right}.input-module__base_9322_pzGvo .input-module__error-text_9322_66CKY{color:var(--bc-danger-color-500)}.input-module__base_9322_pzGvo.input-module__error_9322_UMV5s{padding-bottom:0}.input-module__base_9322_pzGvo.input-module__error_9322_UMV5s input{border:none;outline:1px solid var(--bc-danger-color-500)}.input-module__base_9322_pzGvo.input-module__theme--dark_9322_VzdDM input,.input-module__base_9322_pzGvo.input-module__theme--dark_9322_VzdDM input:focus,.input-module__base_9322_pzGvo.input-module__theme--dark_9322_VzdDM input:hover{background-color:initial;color:#fff}.input-module__base_9322_pzGvo.input-module__theme--dark_9322_VzdDM .input-module__sublabel_9322_ehYi3,.input-module__base_9322_pzGvo.input-module__theme--dark_9322_VzdDM label,.input-module__base_9322_pzGvo.input-module__theme--dark_9322_VzdDM label span,.input-module__base_9322_pzGvo.input-module__theme--dark_9322_VzdDM p{color:#fff}.input-module__base_9322_pzGvo.input-module__hiddenLabel_9322_F-TU4 label{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}");var at=n.forwardRef(function(e,o){var a,r,i,l,c,s,u,d,m=null!==(a=e.value)&&void 0!==a?a:e.defaultValue,p=n.createRef(),f=n.useState(m instanceof Date?F(m):m),b=f[0],h=f[1],g=n.useState(0),y=g[0],x=g[1],k=n.useState(""),w=k[0],C=k[1],S=n.useState(e.type),N=S[0],T=S[1];n.useEffect(function(){var t;e.readOnly&&(null===(t=p.current)||void 0===t||t.addEventListener("touchstart",function(){return!1}))},[e.readOnly,p]),n.useEffect(function(){T(e.type)},[e.type]),n.useEffect(function(){void 0!==e.value&&h(e.value instanceof Date?F(e.value):e.value)},[e.value]),n.useEffect(function(){x("string"==typeof b?b.length:"number"==typeof b?b.toString().length:0)},[b]);var j=function(){var t;if(e.formValidation){var n=$("number"===e.type?parseFloat(b):b,e.formValidation);if(C(""),n&&n.error)return C(null!==(t=n.error)&&void 0!==t?t:""),n.error}return!1},E=function(){return h(m instanceof Date?F(m):m)};n.useImperativeHandle(o,function(){return{type:"Input",setValue:{},getValue:function(){var e;return null===(e=p.current)||void 0===e?void 0:e.value},getName:function(){return e.name},getLabel:function(){return e.labelText},getNativeRef:function(){return p},focus:function(){var e;return null===(e=null==p?void 0:p.current)||void 0===e?void 0:e.focus()},reset:E,validate:j}});var P,D=n.useCallback(function(e){var t,n;if(p.current){var o=null===(t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===t?void 0:t.set;null==o||o.call(p.current,e);var a=new Event("input",{bubbles:!0});null===(n=p.current)||void 0===n||n.dispatchEvent(a)}},[p]),A=n.useCallback(function(){e.onCleared&&e.onCleared(),h(""),D("")},[e,D]);P=e.formValidation&&e.formValidation.required&&(null===(r=e.formValidation)||void 0===r?void 0:r.required.data)?null!==(i=e.requiredText)&&void 0!==i?i:"(påkrevd)":null!==(l=e.notRequiredText)&&void 0!==l?l:"";var R=["".concat(v,"-content-input")];w&&R.push("".concat(v,"-content-input--error")),e.theme&&R.push("theme--".concat(e.theme)),e.className&&R.push(e.className),R.push(ot.base),e.theme&&R.push("".concat(ot["theme--"+e.theme])),w&&R.push(ot.error),e.hiddenLabel&&R.push(ot.hiddenLabel);var z=null!==(c=e.id)&&void 0!==c?c:"".concat(v,"-content-input-").concat(e.name,"-").concat(nt(5));return t.jsxs("div",_({className:R.join(" ")},{children:[e.labelText&&t.jsxs("label",_({htmlFor:z,className:"".concat(v,"-content-input-label")},{children:[e.labelText,t.jsx("span",{children:P})]})),e.subLabelText&&t.jsxs("span",_({className:"".concat(v,"-content-input-sublabel ").concat(ot.sublabel),id:z+"-sublabel"},{children:[e.subLabelText," "]})),t.jsxs("div",_({className:"".concat(v,"-content-input-container ").concat(ot.container)}
1,{children:[t.jsx("input",{id:z,className:"text"===e.type?ot.inputTypeText:void 0,type:N,placeholder:e.placeholderText,disabled:e.disabled,readOnly:e.readOnly,onChange:function(t){h(t.target.value),e.onChange&&e.onChange(t)},onClick:e.onClick,onKeyDown:e.onKeyDown,onTouchStart:e.onTouchStart,spellCheck:e.spellCheck,autoComplete:null!==(s=e.autocomplete)&&void 0!==s?s:"off",maxLength:e.maxCharacters,minLength:e.minCharacters,"aria-invalid":""!==w,value:b,step:e.step,name:e.name,title:e.title,min:e.min,max:e.max,ref:p,"aria-errormessage":""!==w?z+"-error":void 0,"aria-labelledby":e.labelText?void 0:e.labelledBy,"aria-describedby":null!==(u=e["aria-describedby"])&&void 0!==u?u:e.subLabelText?z+"-sublabel":void 0}),"password"===e.type&&e.showHideShow&&t.jsx("button",_({onClick:function(){T("password"===N?"text":"password")},type:"button",className:[ot.showPasswordbutton,e.showHideIcon?"icon":"text"].join(" ")},{children:e.showHideIcon?t.jsx(L,{icon:"password"==N?"ri-eye-line":"ri-eye-off-line"}):null!==(d=e.hideShowText)&&void 0!==d?d:"Vis/skjul"})),e.clearButton&&b&&t.jsx("button",_({className:ot.clearButton,title:e.clearButtonTitle,"aria-label":e.clearButtonTitle,"data-clear-input":!0,onClick:A},{children:"×"}))]})),e.showCounter&&t.jsxs("p",_({className:"".concat(v,"-content-input-counter ").concat(ot.counter)},{children:[y," / ",e.maxCharacters]})),""!==w&&t.jsx("p",_({className:"".concat(v,"-content-input-error ").concat(ot["error-text"]),id:z+"-error"},{children:w}))]}))}),rt=function(e){var n,o,a,r,i=function(t){e.disableOnMobile&&e.width<768||(t.preventDefault(),t.stopPropagation(),e.setOpen(!0))};return a=e.inputFromDateName?e.inputFromDateName:e.name?e.name+"-start":void 0,r=e.inputToDateName?e.inputToDateName:e.name?e.name+"-end":void 0,t.jsxs("div",_({className:"".concat(v,"-daterangepicker-inputs ").concat(tt.inputs),onChange:function(t){t.stopPropagation(),t.preventDefault(),e.setTriggerEvent(!0)}},{children:[t.jsxs("div",_({className:"".concat(v,"-daterangepicker-input ").concat(tt.inputContainer)},{children:[e.labelText&&t.jsx("div",_({className:"".concat(v,"-daterangepicker-labels ").concat(tt.labels)},{children:t.jsx("label",_({htmlFor:e.id+"-input-start",className:"".concat(v,"-daterangepicker-label ").concat(tt.label)},{children:e.labelText}))})),t.jsx(at,{id:e.id+"-input-start",type:"date",className:tt.input,theme:e.theme,name:a,value:e.startDate,onChange:function(t){return e.setStartDate(t.target.value)},onClick:i,onKeyDown:e.onKeyDown,ref:e.startInputRef,formValidation:e.formValidationStart,defaultValue:F(new Date(null!==(n=e.defaultStartDate)&&void 0!==n?n:""))})]})),t.jsxs("div",_({className:"".concat(v,"-daterangepicker-input ").concat(tt.inputContainer)},{children:[e.labelEndText&&t.jsx("div",_({className:"".concat(v,"-daterangepicker-labels ").concat(tt.labels)},{children:t.jsx("label",_({htmlFor:e.id+"-input-end",className:"".concat(v,"-daterangepicker-label ").concat(tt.label," ").concat(tt.labelEnd)},{children:e.labelEndText}))})),t.jsx(at,{id:e.id+"-input-end",type:"date",className:tt.input,theme:e.theme,name:r,value:e.endDate,onChange:function(t){return e.setEndDate(t.target.value)},onClick:i,onKeyDown:e.onKeyDown,ref:e.endInputRef,formValidation:e.formValidationEnd,defaultValue:F(new Date(null!==(o=e.defaultEndDate)&&void 0!==o?o:""))})]}))]}))},it=n.forwardRef(function(e,a){var r,i,l,c,s,u,d,m=null!==(i=null!==(r=e.startDate)&&void 0!==r?r:e.defaultStartDate)&&void 0!==i?i:void 0,p=null!==(c=null!==(l=e.endDate)&&void 0!==l?l:e.defaultEndDate)&&void 0!==c?c:void 0,f=n.useState(!1),b=f[0],h=f[1],g=n.useState(m),y=g[0],x=g[1],k=n.useState(p),w=k[0],C=k[1],S=n.useState(window.innerWidth),N=S[0],T=S[1],j=n.useState(!1),E=j[0],P=j[1],D=n.useRef(null),A=n.useRef(null),R=n.useRef(null),z=n.useRef(null);n.useEffect(function(){x(m),C(p)},[m,p]),n.useEffect(function(){var e=function(){return T(window.innerWidth)};return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[]),n.useEffect(function(){var e;if(E){var t=new Event("change",{bubbles:!0});null===(e=z.current)||void 0===e||e.dispatchEvent(t),P(!1)}},[E]);var L=function(){var t,n,o,a,r,i;return!(!e.formValidationStart&&!e.formValidationEnd)&&null!==(i=null!==(o=null===(n=null===(t=A.current)||void 0===t?void 0:t.validate)||void 0===n?void 0:n.call(t))&&void 0!==o?o:null===(r=null===(a=R.current)||void 0===a?void 0:a.validate)||void 0===r?void 0:r.call(a))&&void 0!==i&&i},M=function(){var t,n,o,a;x(e.defaultStartDate),C(e.defaultEndDate),null===(n=null===(t=A.current)||void 0===t?void 0:t.reset)||void 0===n||n.call(t),null===(a=null===(o=R.current)||void 0===o?void 0:o.reset)||void 0===a||a.call(o)},I=function(e,t){x(e),C(t),P(!0)},O=function(){var t,n,o,a;if(e.inputFromDateName&&e.inputToDateName){var r={};r[e.inputFromDateName]=null!==(t=y instanceof Date?F(y):y)&&void 0!==t?t:"";var i={};return i[e.inputToDateName]=null!==(n=w instanceof Date?F(w):w)&&void 0!==n?n:"",[r,i]}return[null!==(o=y instanceof Date?F(y):y)&&void 0!==o?o:"",null!==(a=w instanceof Date?F(w):w)&&void 0!==a?a:""]};n.useImperativeHandle(a,function(){return{setValue:I,getValue:O,getName:function(){return e.name},getLabel:function(){return e.labelText},getNativeRef:function(){return D},focus:focus,type:"DateRangePicker",validate:L,reset:M}});var B="".concat(v,"-daterangepicker"),H=[e.className,B,tt.base];H.push("AutoWidth"===e.width?"".concat(B,"-width--auto"):"".concat(B,"-width--full ").concat(tt["with--full"])),e.hiddenLabels&&H.push("".concat(B,"-hidden-labels ").concat(tt["hidden-labels"]));var V="daterangepicker-".concat(nt(5),"-").concat(null!==(s=e.id)&&void 0!==s?s:"");return t.jsxs("div",{children:[t.jsxs("div",_({id:V,className:H.join(" "),ref:D},{children:[t.jsx("select",{className:tt.eventInput,title:"eventInput",ref:z,name:"eventInput",onChange:function(){return null}}),t.jsx(rt,{id:V,inputFromDateName:e.inputFromDateName,inputToDateName:e.inputToDateName,setOpen:h,theme:null!==(u=e.theme)&&void 0!==u?u:"light",startDate:y,endDate:w,setStartDate:x,setEndDate:C,labelText:e.labelText,labelEndText:e.labelEndText,startInputRef:A,endInputRef:R,formValidationStart:e.formValidationStart,formValidationEnd:e.formValidationEnd,onKeyDown:function(t){" "!==t.key||e.disableOnMobile&&N<768||(t.preventDefault(),t.stopPropagation(),h(!0))},disableOnMobile:e.disableOnMobile,defaultEndDate:e.defaultEndDate,defaultStartDate:e.defaultStartDate,width:N,setTriggerEvent:P})]})),b&&o.createPortal(t.jsx(et,{defaultStartDate:e.defaultStartDate,defaultEndDate:e.defaultEndDate,startDate:y,endDate:w,theme:null!==(d=e.theme)&&void 0!==d?d:"light",datePickerStartProps:e.datePickerStartProps,datePickerEndProps:e.datePickerEndProps,open:b,setTriggerEvent:P,setOpen:h,texts:e.texts,reset:function(){return!1},setDates:function(e,t){x(null!=e?e:""),C(null!=t?t:"")}}),document.body)]})}),lt={base:"radioDateRangePicker-module__base_9322_ohXet",radioGroup:"radioDateRangePicker-module__radioGroup_9322_WZu2b"};s(".radioDateRangePicker-module__base_9322_ohXet .radioDateRangePicker-module__labels_9322_KLU5Y{align-items:center;display:flex;justify-content:flex-start;width:100%}.radioDateRangePicker-module__base_9322_ohXet .radioDateRangePicker-module__labels_9322_KLU5Y .radioDateRangePicker-module__labelEnd_9322_o2AWd,.radioDateRangePicker-module__base_9322_ohXet .radioDateRangePicker-module__labels_9322_KLU5Y .radioDateRangePicker-module__label_9322_HAKzH{margin-bottom:.25rem;width:100%}.radioDateRangePicker-module__base_9322_ohXet .radioDateRangePicker-module__inputs_9322_Nxen-{align-items:center;display:flex;flex-wrap:wrap;gap:1rem;justify-content:flex-start;width:100%}.radioDateRangePicker-module__base_9322_ohXet .radioDateRangePicker-module__inputs_9322_Nxen- .radioDateRangePicker-module__inputContainer_9322_GOZHj .radioDateRangePicker-module__input_9322_alO-M{margin:0;width:100%}.radioDateRangePicker-module__base_9322_ohXet .radioDateRangePicker-module__inputs_9322_Nxen- .radioDateRangePicker-module__inputContainer_9322_GOZHj .radioDateRangePicker-module__input_9322_alO-M input{cursor:pointer;font-size:1rem;margin:0}.radioDateRangePicker-module__base_9322_ohXet .radioDateRangePicker-module__inputs_9322_Nxen- .radioDateRangePicker-module__inputContainer_9322_GOZHj .radioDateRangePicker-module__input_9322_alO-M input::-webkit-calendar-picker-indicator{font-size:1.5rem;pointer-events:none}.radioDateRangePicker-module__base_9322_ohXet.radioDateRangePicker-module__width--auto_9322_6CyhL .radioDateRangePicker-module__inputs_9322_Nxen-{justify-content:start}.radioDateRangePicker-module__base_9322_ohXet.radioDateRangePicker-module__width--auto_9322_6CyhL .radioDateRangePicker-module__inputs_9322_Nxen- .radioDateRangePicker-module__input_9322_alO-M,.radioDateRangePicker-module__base_9322_ohXet.radioDateRangePicker-module__width--auto_9322_6CyhL .radioDateRangePicker-module__inputs_9322_Nxen- .radioDateRangePicker-module__input_9322_alO-M input{width:auto}.radioDateRangePicker-module__base_9322_ohXet.radioDateRangePicker-module__hidden-labels_9322_zufub .radioDateRangePicker-module__labels_9322_KLU5Y{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.radioDateRangePicker-module__base_9322_ohXet .radioDateRangePicker-module__eventInput_9322_Spp3r{display:none}.radioDateRangePicker-module__base_9322_ohXet .radioDateRangePicker-module__radioGroup_9322_WZu2b{margin-bottom:1rem}");
1var ct={base:"radio-module__base_9322_URRqW","--color-label":"radio-module__--color-label_9322_BKzqJ","variant--inset":"radio-module__variant--inset_9322_zTG89","variant--grow":"radio-module__variant--grow_9322_43SGd","theme--dark":"radio-module__theme--dark_9322_apSqG"};s('.radio-module__base_9322_URRqW,.radio-module__base_9322_URRqW label{align-items:center;display:flex;flex-direction:row}.radio-module__base_9322_URRqW label{margin:0;position:relative}.radio-module__base_9322_URRqW label>input[type=radio]{cursor:pointer;height:100%;margin:0;opacity:0;position:absolute;width:100%}.radio-module__base_9322_URRqW label>input[type=radio]:focus+div{outline:2px solid #000}.radio-module__base_9322_URRqW label>input[type=radio]+div{border:.125rem solid #000;border-radius:50%;content:"";display:inline-block;height:1.4rem;min-width:1.4rem;vertical-align:bottom;width:1.4rem}.radio-module__base_9322_URRqW label>input[type=radio]:checked+div{background:radial-gradient(var(--bc-c-action-primary) 0,var(--bc-c-action-primary) 40%,#0000 50%,#0000)}.radio-module__base_9322_URRqW label span{padding-left:1.5rem}.radio-module__base_9322_URRqW.radio-module__--color-label_9322_BKzqJ label>input[type=radio]:checked+*{color:var(--bc-c-action-primary)}.radio-module__base_9322_URRqW.radio-module__variant--inset_9322_zTG89 label>input[type=radio]:checked+div{background:#0000;box-shadow:inset 0 0 0 .4rem var(--bc-c-action-primary);transition:all .25s linear}.radio-module__base_9322_URRqW.radio-module__variant--grow_9322_43SGd label>input[type=radio]:checked+div{background:var(--bc-c-action-primary);box-shadow:inset 0 0 0 .4rem var(--bc-c-action-primary);box-shadow:none;transition:background .25s linear;-webkit-transition:background .25s linear}.radio-module__base_9322_URRqW.radio-module__theme--dark_9322_apSqG label{color:#fff}.radio-module__base_9322_URRqW.radio-module__theme--dark_9322_apSqG label>input[type=radio]:focus+div{outline:#fff}.radio-module__base_9322_URRqW.radio-module__theme--dark_9322_apSqG label>input[type=radio]:checked+div{background:radial-gradient(var(--bc-c-action-primary) 0,var(--bc-c-action-primary) 40%,#fff 50%,#fff)}');var st=n.forwardRef(function(e,o){var a,r=f(e,[]),i=n.createRef(),l=function(){return r.value},c=function(e){r.onChange&&r.onChange(e)},s=function(){var e;return null===(e=i.current)||void 0===e?void 0:e.checked},u=function(){var e;return(null===(e=i.current)||void 0===e?void 0:e.checked)?r.name:""},d=function(){return r.labelText},m=function(){return i},p=function(){(null==i?void 0:i.current)&&i.current.focus()};n.useImperativeHandle(o,function(){return{setValue:{},getValue:l,getName:u,getLabel:d,setChecked:c,isChecked:s,formType:"radio",getNativeRef:m,focus:p,type:"Radio"}});var b=["".concat(v,"-content-radio ").concat(ct.base)];b.push("".concat(v,"-content-form-control")),b.push("".concat(v,"-content-form-control--radio-button")),r.status&&b.push("".concat(v,"-content-radio--").concat(r.status)),r.variant&&b.push("".concat(v,"-content-radio--variant-").concat(r.variant," ").concat(ct["variant--"+r.variant])),r.colorLabel&&b.push("".concat(v,"-content-radio--color-label ").concat(ct["--color-label"])),r.theme&&b.push("".concat(v,"-content-radio--theme-").concat(r.theme," ").concat(ct["theme--"+r.theme])),r.className&&b.push(r.className);var h="radio-".concat(nt(5),"-").concat(null!==(a=r.id)&&void 0!==a?a:"");return t.jsx("div",_({className:b.join(" "),"data-level":r.level},{children:t.jsxs("label",_({htmlFor:h,className:"".concat(v,"-content-radio-label")},{children:[t.jsx("input",{id:h,className:"".concat(v,"-content-form-radio"),ref:i,checked:r.checked,"data-level":r.level,type:"radio",name:r.name,value:r.value,onChange:function(e){r.onChange&&r.onChange(e.currentTarget.checked)}}),t.jsx("div",{}),r.labelText&&t.jsx("span",{children:r.labelText})]}))}))}),ut=function(e){var t=-1,o=0;return l.default.Children.forEach(e,function(e){n.isValidElement(e)&&(e.props.default&&(t=o),o++)}),t},dt=n.createContext({}),mt=function(e){var t=n.useContext(dt);return"function"==typeof e.children?e.children(t.open,t.setOpen):e.children};s(".collapsible-module__base_9322_G-rXb .collapsible-module__header_9322_shnc9{cursor:pointer;display:flex;justify-content:space-between}.collapsible-module__base_9322_G-rXb .collapsible-module__header_9322_shnc9 .collapsible-module__title_9322_O5270{font-weight:700;margin:1em 0}.collapsible-module__base_9322_G-rXb .collapsible-module__--hidden_9322_dH4W7{display:none}.collapsible-module__base_9322_G-rXb .collapsible-module__buttonContainer_9322_0OUUZ{margin-top:.25rem}");var _t,pt,ft=function(e){var o,a,r=n.useContext(dt),i=r.open,l=r.setOpen,c={type:"button",status:null!==(o=e.buttonStatus)&&void 0!==o?o:"secondary",appearance:null!==(a=e.buttonVariant)&&void 0!==a?a:"ghost"},s=_(_({},c),e.buttonProps);return t.jsxs("div",_({id:e.id,className:"".concat(v,"-content-collapsible-header ").concat("collapsible-module__header_9322_shnc9"),onClick:function(){return l(function(e){return!e})}},{children:[e.title&&""!==e.title&&t.jsx("div",_({className:"".concat(v,"-content-collapsible-title ").concat("collapsible-module__title_9322_O5270")},{children:e.title})),e.withButton&&t.jsx("div",_({className:"".concat(v,"-collapsible-button-container ").concat("collapsible-module__buttonContainer_9322_0OUUZ")},{children:t.jsxs(z,_({}
1,s,{"aria-controls":e.ariaControlsId,"aria-expanded":i?"true":"false",onClick:function(e){e.stopPropagation(),l(function(e){return!e})}},{children:[i?e.closeText:e.openText,e.showChevron&&t.jsx(L,i?{icon:"ri-arrow-up-s-line"}:{icon:"ri-arrow-down-s-line"})]}))}))]}))};e.ComponentPadding=void 0,(_t=e.ComponentPadding||(e.ComponentPadding={}))[_t.NotSet=0]="NotSet",_t[_t.None=1]="None",_t[_t.Top=2]="Top",_t[_t.Right=4]="Right",_t[_t.Bottom=8]="Bottom",_t[_t.Left=16]="Left",_t[_t.Topx2=32]="Topx2",_t[_t.Rightx2=64]="Rightx2",_t[_t.Bottomx2=128]="Bottomx2",_t[_t.Leftx2=256]="Leftx2",_t[_t.Topx3=512]="Topx3",_t[_t.Rightx3=1024]="Rightx3",_t[_t.Bottomx3=2048]="Bottomx3",_t[_t.Leftx3=4096]="Leftx3",_t[_t.Topx4=8192]="Topx4",_t[_t.Rightx4=16384]="Rightx4",_t[_t.Bottomx4=32768]="Bottomx4",_t[_t.Leftx4=65536]="Leftx4",_t[_t.Topx5=131072]="Topx5",_t[_t.Rightx5=262144]="Rightx5",_t[_t.Bottomx5=524288]="Bottomx5",_t[_t.Leftx5=1048576]="Leftx5",_t[_t.All=30]="All",_t[_t.Allx2=480]="Allx2",_t[_t.Allx3=7680]="Allx3",_t[_t.Allx4=122880]="Allx4",_t[_t.Allx5=1966080]="Allx5",e.CssVisibilityRange=void 0,(pt=e.CssVisibilityRange||(e.CssVisibilityRange={}))[pt.None=0]="None",pt[pt.Mobile=1]="Mobile",pt[pt.Tablet=2]="Tablet",pt[pt.TabletDown=3]="TabletDown",pt[pt.Desktop=4]="Desktop",pt[pt.TabletUp=6]="TabletUp",pt[pt.All=7]="All",pt[pt.Print=8]="Print";var bt=function(){function t(){}return t.getNextClientID=function(e,t){return void 0===e&&(e=""),void 0===t&&this.clientID++,"".concat(v,"-").concat(e,"-component-").concat(void 0===t?this.clientID:t)},t.getNewID=function(){return this.lastId++,this.lastId},t.getClassName=function(e,t){return this.getClassNameAsArray(e,t).join(" ")},t.getClassNameAsArray=function(t,n){var o=[],a="".concat(v,"-").concat(t);
1if(o.push(a),n){if(n.variants&&n.variants.forEach(function(e){o.push("".concat(a,"--").concat(e))}),n.visibilityHidden){switch(n.visibilityHidden){case e.CssVisibilityRange.All:o.push("".concat(v,"-visually-hidden"));break;case e.CssVisibilityRange.Mobile:o.push("".concat(v,"-visually-hidden--mobile"));break;case e.CssVisibilityRange.Tablet:o.push("".concat(v,"-visually-hidden--tablet"));break;case e.CssVisibilityRange.TabletDown:o.push("".concat(v,"-visually-hidden--tablet-down"));break;case e.CssVisibilityRange.TabletUp:o.push("".concat(v,"-visually-hidden--tablet-up"));break;case e.CssVisibilityRange.Desktop:o.push("".concat(v,"-visually-hidden--desktop"))}delete n.visibilityHidden}n.className&&(o.push(n.className),delete n.className),n.size&&(o.push("".concat(v,"-size-").concat(n.size)),delete n.size),(n.isPrimary||n._isPrimary)&&(o.push("is-primary"),delete n._isPrimary),(n.isOpen||n._isOpen)&&(o.push("is-open"),delete n._isOpen),(n.isToggled||n._isToggled)&&(o.push("is-toggled"),delete n._isToggled),(n.isExpanded||n._isExpanded)&&(o.push("is-expanded"),delete n._isExpanded),n.hasHover&&(o.push("has-hover"),delete n.hover),n.hasFocus&&(o.push("has-focus"),delete n.hasFocus),n.isClickable&&(o.push("is-clickable"),delete n.isClickable),n.isSelected&&(o.push("is-selected"),delete n.isSelected),n.isLoading&&(o.push("is-loading"),delete n.isLoading),n.columnWidth&&(o.push("".concat(v,"-").concat(t,"--").concat(n.columnWidth)),delete n.columnWidth),n.mobileColumnWidth&&(o.push("".concat(v,"-").concat(t,"--mobile-").concat(n.mobileColumnWidth)),delete n.mobileColumnWidth),n.tabletColumnWidth&&(o.push("".concat(v,"-").concat(t,"--tablet-").concat(n.tabletColumnWidth)),delete n.tabletColumnWidth),n.desktopColumnWidth&&(o.push("".concat(v,"-").concat(t,"--desktop-").concat(n.desktopColumnWidth)),delete n.desktopColumnWidth),n.padding&&(o.push.apply(o,ht("",n.padding)),delete n.padding),n.mobilePadding&&(o.push.apply(o,ht("mobile",n.mobilePadding)),delete n.mobilePadding),n.tabletPadding&&(o.push.apply(o,ht("tablet",n.tabletPadding)),delete n.tabletPadding),n.desktopPadding&&(o.push.apply(o,ht("desktop",n.desktopPadding)),delete n.desktopPadding)}return o},t.clientID=0,t.lastId=0,t}(),ht=function(t,n){var o=[];switch(n){case e.ComponentPadding.Top:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","top"));break;case e.ComponentPadding.Right:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","right"));break;case e.ComponentPadding.Bottom:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","bottom"));break;case e.ComponentPadding.Left:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","left"));break;case e.ComponentPadding.All:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","left")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","right")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","top")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","bottom"));break;case e.ComponentPadding.Topx2:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","top-2"));break;case e.ComponentPadding.Rightx2:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","right-2"));break;case e.ComponentPadding.Bottomx2:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","bottom-2"));break;case e.ComponentPadding.Leftx2:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","left-2"));break;case e.ComponentPadding.Allx2:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","left-2")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","right-2")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","top-2")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","bottom-2"));break;case e.ComponentPadding.Topx3:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","top-3"));break;case e.ComponentPadding.Rightx3:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","right-3"));break;case e.ComponentPadding.Bottomx3:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","bottom-3"));break;case e.ComponentPadding.Leftx3:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","left-3"));break;case e.ComponentPadding.Allx3:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","left-3")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","right-3")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","top-3")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","bottom-3"));break;case e.ComponentPadding.Topx4:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","top-4"));break;case e.ComponentPadding.Rightx4:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","right-4"));break;case e.ComponentPadding.Bottomx4:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","bottom-4"));break;case e.ComponentPadding.Leftx4:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","left-4"));break;case e.ComponentPadding.Allx4:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","left-4")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","right-4")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","top-4")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","bottom-4"));break;case e.ComponentPadding.Topx5:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","top-5"));break;case e.ComponentPadding.Rightx5:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","right-5"));break;case e.ComponentPadding.Bottomx5:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","bottom-5"));break;case e.ComponentPadding.Leftx5:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","left-5"));break;case e.ComponentPadding.Allx5:o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","left-5")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","right-5")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","top-5")),o.push("".concat(v,"-padding-").concat(""!==t?t+"-":"","bottom-5"))}return o},gt=Object.assign(function(e){var o,a,r=e.open,l=void 0===r?void 0:r,c=e.mobileDefaultOpen,s=void 0===c?void 0:c,u=e.openText,d=void 0===u?"Åpne":u,m=e.closeText,p=void 0===m?"Lukk":m,b=e.buttonVariant,h=void 0===b?"ghost":b,g=e.buttonStatus,y=void 0===g?"secondary":g,x=e.contentPosition,k=void 0===x?"bottom":x,w=e.mobileWidth,C=void 0===w?768:w,S=f(e,["open","mobileDefaultOpen","openText","closeText","buttonVariant","buttonStatus","contentPosition","mobileWidth"]),N=null!==(o=S.as)&&void 0!==o?o:"div",T=i.useMemo(function(){return i.Children.toArray(S.children).some(function(e){return i.isValidElement(e)&&(null==e?void 0:e.type)===mt})},[S.children]),j=n.useState(window.innerWidth<C?null!=s&&s:null!==(a=S.defaultOpen)&&void 0!==a&&a),E=j[0],P=j[1];i.useEffect(function(){null!=l&&P(l)},[l]);var D=S.id?S.id+"-content":void 0,A=function(){var e=[];return E&&e.push("".concat(v,"-content-collapsible-content")),t.jsx("div",_({className:"".concat(e.join(" ")," ").concat("collapsible-module__content_9322_YfhFS"),id:D},{children:(E||S.softHide)&&t.jsx("div",_({className:S.softHide&&!E?"".concat(v,"-content-collapsible--hidden ").concat("collapsible-module__--hidden_9322_dH4W7"):""},{children:i.Children.map(S.children,function(e){return i.isValidElement(e)&&(null==e?void 0:e.type)===mt?null:e})}))}))},R=S.id?S.id+"-header":void 0,z=bt.getClassNameAsArray("content-collapsible",S);return S.className&&z.push(S.className),t.jsx(dt.Provider,_({value:{open:E,setOpen:P}},{children:t.jsxs(N,_({className:"".concat(z.join(" ")," ").concat("collapsible-module__base_9322_G-rXb"," "),id:S.id},{children:["top"===k&&A(),!T&&t.jsx(ft,{id:R,title:S.title,withButton:S.withButton,buttonProps:S.buttonProps,buttonVariant:h,buttonStatus:y,openText:d,closeText:p,showChevron:S.showChevron,ariaControl
1sId:D}),T&&i.Children.map(S.children,function(e){return i.isValidElement(e)&&(null==e?void 0:e.type)===mt?e:null}),"bottom"===k&&A()]}))}))},{Header:mt,Body:function(e){return t.jsx(t.Fragment,{children:e.children})}}),vt={base:"radioGroup-module__base_9322_UCQUg",label:"radioGroup-module__label_9322_PXSws","direction--vertical":"radioGroup-module__direction--vertical_9322_BYX7M",radio:"radioGroup-module__radio_9322_StKSW","direction--horizontal":"radioGroup-module__direction--horizontal_9322_8KusQ",sublabel:"radioGroup-module__sublabel_9322_Mq81C",collapsible:"radioGroup-module__collapsible_9322_hYNXh",error:"radioGroup-module__error_9322_tvKzO","theme--dark":"radioGroup-module__theme--dark_9322_cVTB2"};s(".radioGroup-module__base_9322_UCQUg .radioGroup-module__label_9322_PXSws{font-size:var(--bc-input-font-size);font-weight:700;margin-left:0;margin-right:0}.radioGroup-module__base_9322_UCQUg{width:100%}.radioGroup-module__base_9322_UCQUg.radioGroup-module__direction--vertical_9322_BYX7M .radioGroup-module__radio_9322_StKSW{margin:1rem 0}.radioGroup-module__base_9322_UCQUg.radioGroup-module__direction--vertical_9322_BYX7M .radioGroup-module__radio_9322_StKSW:first-child{margin-top:0}.radioGroup-module__base_9322_UCQUg.radioGroup-module__direction--vertical_9322_BYX7M .radioGroup-module__radio_9322_StKSW:last-child,.radioGroup-module__base_9322_UCQUg.radioGroup-module__direction--vertical_9322_BYX7M .radioGroup-module__radio_9322_StKSW:last-child label{margin-bottom:0}.radioGroup-module__base_9322_UCQUg.radioGroup-module__direction--horizontal_9322_8KusQ .radioGroup-module__radio_9322_StKSW{display:inline-block;margin-right:1rem}.radioGroup-module__base_9322_UCQUg.radioGroup-module__direction--horizontal_9322_8KusQ .radioGroup-module__radio_9322_StKSW:last-child{margin-right:0}.radioGroup-module__base_9322_UCQUg .radioGroup-module__label_9322_PXSws{display:block;padding:0 0 .5rem}.radioGroup-module__base_9322_UCQUg .radioGroup-module__label_9322_PXSws span{color:var(--bc-c-text-secondary);font-size:1rem;font-weight:400;margin-left:.5rem}.radioGroup-module__base_9322_UCQUg .radioGroup-module__sublabel_9322_Mq81C{display:block;margin-bottom:.5rem}.radioGroup-module__base_9322_UCQUg .radioGroup-module__collapsible_9322_hYNXh{margin-top:0}.radioGroup-module__base_9322_UCQUg fieldset{border:none;margin:.5rem 0;padding:0}.radioGroup-module__base_9322_UCQUg fieldset:focus-within{outline:1px solid var(--bc-c-border-input);outline-offset:3px}.radioGroup-module__base_9322_UCQUg .radioGroup-module__error_9322_tvKzO{color:var(--bc-danger-color-500)}.radioGroup-module__base_9322_UCQUg.radioGroup-module__theme--dark_9322_cVTB2 label{color:#fff}");var yt={title:"",withButton:!0,openText:"Vis flere",closeText:"Vis færre",showChevron:!0,buttonVariant:"icon"},xt=n.forwardRef(function(e,o){var a,r,i,c,s,u,d=e.direction,m=void 0===d?"vertical":d,p=f(e,["direction"]),b=n.useRef([]),h=n.useRef(ut(p.children)),g=n.useState(h.current),y=g[0],x=g[1],k=n.useState(""),w=k[0],C=k[1],S=n.Children.map(p.children,function(e,t){var o;if(n.isValidElement(e)){b.current[t]||(b.current[t]=n.createRef());var a=_(_({},e.props),{ref:b.current[t],className:(e.props.className?e.props.className+" ":"")+vt.radio,name:p.name,id:"radio-index-".concat(t,"-").concat(nt(5),"-").concat(null!==(o=e.props.id)&&void 0!==o?o:""),checked:t===y,onChange:function(e){e&&(h.current=t,x(t))}});return n.cloneElement(e,a)}return e});n.useEffect(function(){n.Children.forEach(p.children,function(e,t){return n.isValidElement(e)&&e.props.checked&&(h.current=t,x(t)),!1})},[p.children]);var N=n.useCallback(function(){var e;if(-1!==h.current)return null===(e=b.current[h.current].current)||void 0===e?void 0:e.getValue()},[]);n.useEffect(function(){p.onChange&&void 0!==N()&&p.onChange(N())},[N,p]);var T,j=function(){return p.name},E=function(){return p.labelText},P=function(){var e;b.current.length&&(null===(e=b.current[0].current)||void 0===e?void 0:e.focus)&&b.current[0].current.focus()},D=function(){h.current=ut(p.children),x(h.current)},A=function(){return b.current.length?b.current[0]:void 0},R=function(){var e=!1;if(b.current.forEach(function(t){var n;if(t&&t.current&&t.current.validate){var o=null===(n=null==t?void 0:t.current)||void 0===n?void 0:n.validate();o&&(e=o)}}),p.formValidation){var t=N();if(p.formValidation.required&&p.formValidation.required.data&&(C(""),$(t,p.formValidation)))return C(p.formValidation.required.errorMessage),p.formValidation.required.errorMessage}return e};n.useImperativeHandle(o,function(){return{setValue:{},getValue:N,getName:j,getLabel:E,reset:D,getNativeRef:A,focus:P,type:"RadioGroup",validate:R}}),T=p.formValidation&&p.formValidation.required&&(null===(a=p.formValidation)||void 0===a?void 0:a.required.data)?null!==(r=p.requiredText)&&void 0!==r?r:"(påkrevd)":null!==(i=p.notRequiredText)&&void 0!==i?i:"";var z=["".concat(v,"-radiogroup ").concat(vt.base)];z.push("".concat(v,"-radiogroup--direction-").concat(null!=m?m:"vertical"," ").concat(vt["direction--"+(null!=m?m:"vertical")])),p.theme&&z.pu
1sh("".concat(v,"-radiogroup--theme-").concat(p.theme," ").concat(vt["theme--dark"])),p.className&&z.push(p.className);var L="radiogroup-fieldset-".concat(nt(5),"-").concat(null!==(c=p.id)&&void 0!==c?c:""),M=L+"-error",I=t.jsxs(t.Fragment,{children:[l.default.Children.toArray(S).slice(0,null!==(s=p.maxItemCount)&&void 0!==s?s:l.default.Children.count(S)),p.maxItemCount&&l.default.Children.count(S)>p.maxItemCount&&t.jsx(gt,_({className:"".concat(v,"-radiogroup-collapsible ").concat(vt.collapsible)},null!==(u=p.collapsibleProps)&&void 0!==u?u:yt,{children:l.default.Children.toArray(S).slice(p.maxItemCount,l.default.Children.count(S))}))]}),F=t.jsxs("div",_({className:z.join(" ")},{children:[t.jsxs("fieldset",_({id:L,"aria-describedby":p.subLabelText?L+"-sublabel":void 0,"aria-errormessage":w?M:void 0,"aria-invalid":w?"true":void 0},{children:[p.labelText&&t.jsxs("legend",_({"aria-label":p.uuLabelText,className:"".concat(v,"-radiogroup-label ").concat(vt.label)},{children:[p.labelText,t.jsx("span",{children:T})]})),p.subLabelText&&t.jsx("div",{children:t.jsxs("span",_({id:L+"-sublabel",className:"".concat(v,"-radiogroup-sublabel ").concat(vt.sublabel)},{children:[p.subLabelText," "]}))}),I]})),""!==w&&t.jsx("p",_({className:"".concat(v,"-radiogroup-error ").concat(vt.error),id:M},{children:w}))]})),O=t.jsxs("div",_({className:z.join(" ")},{children:[I,""!==w&&t.jsx("p",_({className:"".concat(v,"-radiogroup-error ").concat(vt.error)},{children:w}))]}));return p.labelText?F:O}),kt=n.forwardRef(function(e,o){var a,r,i=e.checkedIdentifier,l=e.options,c=f(e,["checkedIdentifier","options"]),s=n.useState(function(){return"other"===(null==i?void 0:i.toLowerCase())}),u=s[0],d=s[1],m=n.useState(function(){return null!=i?i:""}),p=m[0],b=m[1],h=n.useRef(null),g=n.useRef(null),y=n.useRef(null),x=null!==(a=null==l?void 0:l.map(function(e,t){return{id:c.name+"-"+e.identifier+"-"+t,labelText:e.description,value:e.identifier,default:"true"===e.defaultValue,checked:""===p&&0===t||e.identifier===p}}))&&void 0!==a?a:[],k=function(){var e;return!!(null===(e=y.current)||void 0===e?void 0:e.validate)&&y.current.validate()},w=function(){y.current&&y.current.reset&&y.current.reset(),g.current&&g.current.reset&&g.current.reset()},C=function(e,t){var n,o;"function"==typeof(null===(n=y.current)||void 0===n?void 0:n.setValue)&&(null===(o=y.current)||void 0===o||o.setValue(e,t))},S=function(){var e,t,n,o,a,r=c.defaultEndDate,i=c.startDate,l=c.endDate,s=F(new Date(null!==(e=null!=i?i:c.defaultStartDate)&&void 0!==e?e:"")),u=F(new Date(null!==(t=null!=l?l:r)&&void 0!==t?t:"")),d=null!==(o=null===(n=y.current)||void 0===n?void 0:n.getValue())&&void 0!==o?o:["",""];return""===d[0]&&""===d[1]&&(d[0]=M(s)?s:"",d[1]=M(u)?u:""),g.current&&d.push(null!==(a=g.current.getValue())&&void 0!==a?a:""),d};n.useImperativeHandle(o,function(){return{setValue:C,getValue:S,getName:function(){return c.name},getLabel:function(){return c.labelText},getNativeRef:function(){return h},focus:focus,type:"RadioDateRangePicker",validate:k,reset:w}});var N=["".concat(v,"-radioDateRangePicker"),lt.base],T="radioDateRangePicker-".concat(nt(5),"-").concat(null!==(r=c.id)&&void 0!==r?r:""),j=function(e){d("other"===e.toLowerCase()),b(e)};return n.useEffect(function(){j(null!=i?i:"")},[i]),t.jsxs("div",_({id:T,className:N.join(" "),ref:h},{children:[t.jsx(xt,_({ref:g,onChange:j,className:lt.radioGroup},{children:x.map(function(e){return t.jsx(st,_({},e),e.id)})})),u&&t.jsx(it,_({ref:y,className:lt.dateRangePicker},c))]}))}),wt={base:"modal-module__base_9322_na0C6",backdrop:"modal-module__backdrop_9322_uYIoQ",container:"modal-module__container_9322_VPbD6",closeIcon:"modal-module__closeIcon_9322_Phw3s",header:"modal-module__header_9322_nHiSn",body:"modal-module__body_9322_iImbA",footer:"modal-module__footer_9322_gr3nq",buttonClose:"modal-module__buttonClose_9322_WZs8c",buttonConfirm:"modal-module__buttonConfirm_9322_yltXx","size--small":"modal-module__size--small_9322_uvd5y","size--medium":"modal-module__size--medium_9322_hx8wp","size--large":"modal-module__size--large_9322_wM6r9","size--fullscreen":"modal-module__size--fullscreen_9322_wN0-A"};
1s('.modal-module__base_9322_na0C6{height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:1000}.modal-module__base_9322_na0C6 .modal-module__backdrop_9322_uYIoQ{backdrop-filter:blur(3px);background-color:hsla(0,0%,66%,.404);height:100vh;left:0;position:fixed;top:0;width:100vw}.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6{background-color:var(--bc-background-color);box-shadow:0 0 10px #616161;display:flex;flex-direction:column;left:50%;margin-right:-50%;max-height:100vh;max-width:100vw;position:fixed;top:50%;transform:translate(-50%,-50%);width:fit-content;z-index:1001}.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__closeIcon_9322_Phw3s{background-color:initial;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ny45NzEgNDcuOTcxIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0Ny45NzEgNDcuOTcxIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjguMjI4IDIzLjk4NiA0Ny4wOTIgNS4xMjJhMi45OTggMi45OTggMCAwIDAgMC00LjI0MiAyLjk5OCAyLjk5OCAwIDAgMC00LjI0MiAwTDIzLjk4NiAxOS43NDQgNS4xMjEuODhhMi45OTggMi45OTggMCAwIDAtNC4yNDIgMCAyLjk5OCAyLjk5OCAwIDAgMCAwIDQuMjQybDE4Ljg2NSAxOC44NjRMLjg3OSA0Mi44NWEyLjk5OCAyLjk5OCAwIDEgMCA0LjI0MiA0LjI0MWwxOC44NjUtMTguODY0TDQyLjg1IDQ3LjA5MWMuNTg2LjU4NiAxLjM1NC44NzkgMi4xMjEuODc5czEuNTM1LS4yOTMgMi4xMjEtLjg3OWEyLjk5OCAyLjk5OCAwIDAgMCAwLTQuMjQyTDI4LjIyOCAyMy45ODZ6Ii8+PC9zdmc+");background-repeat:no-repeat;border:none;cursor:pointer;height:13px;margin:5px;outline:none;position:absolute;right:10px;top:10px;width:13px}.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__closeIcon_9322_Phw3s:focus,.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__closeIcon_9322_Phw3s:hover{border-radius:var(--bc-border-radius);outline:1px solid #000;outline-offset:2px;transform:scale(1.2);transition:all .2s}.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__header_9322_nHiSn{flex-shrink:1;padding-left:1rem;padding-right:1rem}.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__header_9322_nHiSn h1{font-size:26px;font-weight:400}@media only screen and (max-width:30em){.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__header_9322_nHiSn{padding:0 1rem}.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__header_9322_nHiSn h1{margin:.5rem 0}}.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__body_9322_iImbA{background-color:var(--bc-background-color);border-bottom:1px solid #d3d3d3;border-top:1px solid #d3d3d3;flex-grow:1;overflow-y:auto;padding:1rem}.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__footer_9322_gr3nq{display:flex;flex-direction:row;flex-shrink:1;margin:1rem;min-height:fit-content}@media only screen and (max-width:48em){.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__footer_9322_gr3nq{min-height:fit-content}}.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__footer_9322_gr3nq .modal-module__buttonClose_9322_WZs8c,.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__footer_9322_gr3nq .modal-module__buttonConfirm_9322_yltXx{width:150px}@media only screen and (max-width:48em){.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__footer_9322_gr3nq .modal-module__buttonClose_9322_WZs8c,.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__footer_9322_gr3nq .modal-module__buttonConfirm_9322_yltXx{margin:0;min-height:80px;width:100%}}@media only screen and (max-width:30em){.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__footer_9322_gr3nq .modal-module__buttonClose_9322_WZs8c,.modal-module__base_9322_na0C6 .modal-module__container_9322_VPbD6 .modal-module__footer_9322_gr3nq .modal-module__buttonConfirm_9322_yltXx{min-height:3rem;padding:0}}.modal-module__base_9322_na0C6.modal-module__size--small_9322_uvd5y .modal-module__container_9322_VPbD6{width:450px}.modal-module__base_9322_na0C6.modal-module__size--medium_9322_hx8wp .modal-module__container_9322_VPbD6{width:800px}.modal-module__base_9322_na0C6.modal-module__size--large_9322_wM6r9 .modal
1-module__container_9322_VPbD6{width:1200px}.modal-module__base_9322_na0C6.modal-module__size--fullscreen_9322_wN0-A .modal-module__container_9322_VPbD6{height:90vh;width:90vw}@media only screen and (max-width:48em){.modal-module__base_9322_na0C6.modal-module__size--fullscreen_9322_wN0-A .modal-module__container_9322_VPbD6{height:98vh;width:98vw}}'),s("body.modal-open{overflow:hidden}@media only screen and (max-width:48em){body.modal-open{position:fixed;width:100vw}}");var Ct=function(e){var o=e.closeOnClickOutside,a=void 0===o||o,r=e.variant,i=void 0===r?"dialog":r,l=e.closeText,c=void 0===l?"Lukk":l,s=e.yesText,u=void 0===s?"Ja":s,d=e.noText,m=void 0===d?"Nei":d,p=e.ariaDetailCloseTopButton,b=void 0===p?"Lukk vindu":p,h=f(e,["closeOnClickOutside","variant","closeText","yesText","noText","ariaDetailCloseTopButton"]),g=n.useState(h.show),y=g[0],x=g[1];n.useEffect(function(){return x(h.show)},[h.show]),n.useEffect(function(){return y&&document.body.classList.add("modal-open"),function(){return document.body.classList.remove("modal-open")}},[y]);var k=function(){h.onClose?h.onClose():x(!1)},w=function(e){"Escape"===e.key&&k()},C=function(e){" "!==e.key&&"Enter"!==e.key||k()},S=n.useId(),N=S+"-title",T=function(){if(h.renderFooter)return h.renderFooter();switch(i){case"alert":case"information":case"dialog":return t.jsx(z,{className:"".concat(v,"-content-modal-default-button-close ").concat(wt.buttonClose),status:"primary",text:c,onClick:k});case"confirmation":return t.jsxs(t.Fragment,{children:[t.jsx(z,{className:"".concat(v,"-content-modal-default-button-confirm ").concat(wt.buttonConfirm),status:"primary",text:u,onClick:h.onConfirm}),t.jsx(z,{className:"".concat(v,"-content-modal-default-button-close ").concat(wt.buttonClose),status:"secondary",text:m,onClick:k})]});default:return t.jsx(t.Fragment,{})}};return y?t.jsx(j,_({target:h.target},{children:function(){var e=["".concat(v,"-content-modal ").concat(wt.base)];h.className&&e.push(h.className),h.size&&e.push("".concat(v,"-content-modal-size--").concat(h.size," ").concat(wt["size--".concat(h.size)]));var n=a?k:void 0,o="alert"===i?"alertdialog":"dialog",r=h.id?S+"-"+h.id:S+"-body";return t.jsxs("div",_({id:h.id,className:e.join(" "),onKeyDown:w,role:o,"aria-modal":"true","aria-labelledby":N,"aria-describedby":r},{children:[t.jsx("div",{className:"".concat(v,"-content-modal-backdrop ").concat(wt.backdrop),onMouseDown:n}),t.jsx(Je,_({active:y,focusTrapOptions:_({clickOutsideDeactivates:!0},h.focusTrapOptions)},{children:t.jsxs("div",_({className:"".concat(v,"-content-modal-container ").concat(wt.container)},{children:[t.jsx("div",_({className:"".concat(v,"-content-modal-header ").concat(wt.header)},{children:h.renderHeader?h.renderHeader(N):t.jsx("h1",_({id:N},{children:h.title}))})),t.jsx("div",_({id:r,className:"".concat(v,"-content-modal-body ").concat(wt.body)},{children:h.children})),!h.hideFooter&&t.jsx("div",_({className:"".concat(v,"-content-modal-footer ").concat(wt.footer)},{children:T()})),h.closable&&t.jsx("button",{"aria-label":b,className:"".concat(v,"-content-modal-close-icon ").concat(wt.closeIcon),onKeyDown:C,onClick:k})]}))}))]}))}()})):null},St=n.forwardRef(function(e,o){var a=i.useState([]),r=a[0],l=a[1],c=i.useState([]),s=c[0],u=c[1];i.useEffect(function(){var t=[],o=function(e,t,a){if(a.push([]),i.isValidElement(e)){var r={},l=e.props;if(e.props&&l.children&&!l.name)r={children:i.Children.map(l.children,function(e,n){return o(e,n,a[t])})};else{if(!l.name)return e;a[t]=n.createRef(),r={ref:a[t],returnEmptyValues:l.returnEmptyValues}}return i.cloneElement(e,r)}return e};u(i.Children.map(e.children,function(e,n){return o(e,n,t)}));var a=[],r=function(e){e.forEach?e.forEach(function(e){r(e)}):a.push(e)};r(t),l(a)},[e.children,r.length,null==s?void 0:s.length]);var d=function(){var e=!0;return r.forEach(function(t){t.current&&t.current.validate&&t.current.validate()&&(e=!1)}),e},m=function(t){t&&t.preventDefault(),e.validate&&!d()||e.onSubmit&&(null==e||e.onSubmit(b()))},p=function(){r.forEach(function(e){e.current&&e.current.reset&&e.current.reset()})},f=function(){return r},b=function(){var t={};return r.forEach(function(n){if(n.current&&n.current.getValue&&n.current.getName){var o=n.current.getName(),a=n.current.getValue(),r=n.current.getFileList?n.current.getFileList():void 0;o&&("File"===n.current.type?r&&r.length>1?t[o]=Array.from(r).map(function(e){return e.name}).join(", "):r&&r.length&&(t[o]=r[0].name):(e.returnEmptyValues||a)&&(void 0!==t[o]?(Array.isArray(t[o])||(t[o]=Array(t[o])),t[o].push(a)):t[o]=a))}}),t},h=function(){var e=new FormData,t=b();return Object.keys(t).forEach(function(n,o){var a,i,l,c=t[n],s=r[o],u=(null===(a=s.current)||void 0===a?void 0:a.getFileList)?null===(i=s.current)||void 0===i?void 0:i.getFileList():void 0;"File"===(null===(l=s.current)||void 0===l?void 0:l.type)?u&&Array.from(u).forEach(function(t){e.append(n,t,t.name)}):e.append(n,c)}),e};return n.useImperativeHandle(o,function(){return{setValue:{},validate:d,getValues:b,getFormData:h,getRefs:f,submit:m,reset:p}}),t.jsx("form",_({onReset:p,className:e.className,id:e.id,onChange:function(t){e.onChange&&e.onChange(t,b())},encType:e.enctype,action:e.action,method:e.method,"aria-live":e.ariaLive,noValidate:e.noValidate,onSubmit:m},{children:s}))}
1),Nt={base:"checkbox-module__base_9322_aR8yp",checkbox:"checkbox-module__checkbox_9322_zxCfS","checkbox-container":"checkbox-module__checkbox-container_9322_xqkZM","status--primary":"checkbox-module__status--primary_9322_Jumgx","checkbox-content":"checkbox-module__checkbox-content_9322_HB8J7",error:"checkbox-module__error_9322_5uKjO","--error":"checkbox-module__--error_9322_3T4wM","hidden-label":"checkbox-module__hidden-label_9322_68F0v"};s('.checkbox-module__base_9322_aR8yp{margin-top:0;overflow:visible;position:relative}.checkbox-module__base_9322_aR8yp:not(:first-child){margin-top:1rem}.checkbox-module__base_9322_aR8yp[data-level="1"]{padding-left:1rem}.checkbox-module__base_9322_aR8yp[data-level="2"]{padding-left:2rem}.checkbox-module__base_9322_aR8yp[data-level="3"]{padding-left:3rem}.checkbox-module__base_9322_aR8yp[data-level="4"]{padding-left:4rem}.checkbox-module__base_9322_aR8yp[data-level="5"]{padding-left:5rem}.checkbox-module__base_9322_aR8yp[data-level="6"]{padding-left:6rem}.checkbox-module__base_9322_aR8yp[data-level="7"]{padding-left:7rem}.checkbox-module__base_9322_aR8yp[data-level="8"]{padding-left:8rem}.checkbox-module__base_9322_aR8yp[data-level="9"]{padding-left:9rem}.checkbox-module__base_9322_aR8yp[data-level="10"]{padding-left:10rem}.checkbox-module__base_9322_aR8yp .checkbox-module__checkbox_9322_zxCfS:checked+.checkbox-module__checkbox-container_9322_xqkZM:after{opacity:1}.checkbox-module__base_9322_aR8yp .checkbox-module__checkbox_9322_zxCfS:focus+.checkbox-module__checkbox-container_9322_xqkZM{box-shadow:inset 0 0 0 2px var(--bc-c-border-input)}.checkbox-module__base_9322_aR8yp.checkbox-module__status--primary_9322_Jumgx .checkbox-module__checkbox_9322_zxCfS:checked+.checkbox-module__checkbox-container_9322_xqkZM{background-color:var(--bc-c-action-primary)}.checkbox-module__base_9322_aR8yp.checkbox-module__status--primary_9322_Jumgx .checkbox-module__checkbox-container_9322_xqkZM:after{border-color:#fff}.checkbox-module__base_9322_aR8yp .checkbox-module__checkbox-content_9322_HB8J7{align-items:center;display:flex;position:relative}.checkbox-module__base_9322_aR8yp .checkbox-module__checkbox-container_9322_xqkZM{background-color:#fff;background-color:var(--bc-background-color);border:.125rem solid var(--bc-c-border-input);border-radius:0;box-shadow:none;cursor:pointer;display:flex;flex-direction:column;height:1.5rem;justify-content:center;left:0;line-height:1;min-height:1.5rem;min-width:1.5rem;position:relative;top:0;transition:border-color .1s ease-in-out,color .1s ease-in-out,background-color .1s ease-in-out;width:1.5rem}.checkbox-module__base_9322_aR8yp .checkbox-module__checkbox-container_9322_xqkZM:after{border:.225rem solid var(--bc-c-action-primary);border-left:0;border-radius:.075rem;border-top:0;content:"";display:block;height:.75rem;left:50%;opacity:0;position:absolute;top:40%;-webkit-transform:translate(-50%,-50%) rotate(45deg);-moz-transform:translate(-50%,-50%) rotate(45deg);transform:translate(-50%,-50%) rotate(45deg);width:.5rem}.checkbox-module__base_9322_aR8yp .checkbox-module__checkbox_9322_zxCfS{cursor:pointer;height:100%;margin:0;min-height:1.5rem;min-width:1.5rem;opacity:0;position:absolute;width:100%;z-index:1}.checkbox-module__base_9322_aR8yp label{cursor:pointer;display:block;display:flex;flex-direction:column;justify-content:center;line-height:1;margin:0;padding-left:1.5rem;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;-o-user-select:none;user-select:none}.checkbox-module__base_9322_aR8yp .checkbox-module__error_9322_5uKjO{color:var(--bc-danger-color-500)}.checkbox-module__base_9322_aR8yp.checkbox-module__--error_9322_3T4wM{padding-bottom:0}.checkbox-module__base_9322_aR8yp.checkbox-module__--error_9322_3T4wM input{border:none;outline:1px solid var(--bc-danger-color-500)}.checkbox-module__base_9322_aR8yp.checkbox-module__hidden-label_9322_68F0v label{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}');var Tt=function(e,o){var a,r,i=e.text,l=e.status,c=void 0===l?"primary":l,s=e.name,u=e.value,d=void 0===u?void 0:u,m=e.level,p=void 0===m?0:m,b=e.children,h=void 0===b?[]:b,g=e.index,y=void 0===g?0:g,x=e.onChange,k=void 0===x?void 0:x,w=f(e,["text","status","name","value","level","children","index","onChange"]),C=n.useState(null!==(a=w.defaultChecked)&&void 0!==a&&a),S=C[0],N=C[1],T=n.useState(""),j=T[0],E=T[1],P=n.createRef(),D=n.createRef();n.useEffect(function(){void 0!==w.checked&&N(w.checked)},[w.checked]);var A=function(){(null==D?void 0:D.current)&&D.current.focus()},R=function(){return P},z=function(){var e;N(null!==(e=w.defaultChecked)&&void 0!==e&&e)},L=function(){var e;if(w.formValidation){var t=$(S?d:void 0,w.formValidation);if(t&&t.error)return E(null!==(e=t.error)&&void 0!==e?e:""),t.error;E("")}return!1};n.useImperativeHandle(o,function(){return{setValue:{},getNativeRef:R,focus:A,validate:L,type:"Checkbox",reset:z,getValue:function(){var e;return!!(null===(e=D.current)||void 0===e?void 0:e.checked)&&d},getName:function(){return s},getLabel:function(){return w.label}}});var M="".concat(v,"-content-form-checkbox-").concat(nt(5),"-").concat(null!==(r=w.id)&&void 0!==r?r:""),I=bt.getClassNameAsArray("content-checkbox",w);return I.push(Nt.base),I.push("".concat(v,"-content-form-control")),I.push("".concat(v,"-content-form-control--checkbox")),w.hiddenLabel&&I.push("".concat(v,"-content-form-control--hidden-label"),Nt["hidden-label"]),I.push("".concat(v,"-content-checkbox--").concat(c," ").concat(Nt["status--"+c])),w.className&&I.push(w.className),t.jsxs(n.Fragment,{children:[t.jsxs("div",_({ref:P,className:I.join(" "),"data-level":p},{children:[t.jsxs("div",_({className:"".concat(v,"-content-form-checkbox-content ").concat(Nt["checkbox-content"])},{children:[t.jsx("input",{ref:D,id:M,className:"".concat(v,"-content-form-checkbox ").concat(Nt.checkbox),"data-level":p,type:"checkbox",name:s,value:d,checked:S,onChange:function(e){var t;t=e,k&&k(t.currentTarget.checked,y),w.nativeOnChange&&w.nativeOnChange(t),N(t.currentTarget.checked)}}),t.jsx("div",{className:"".concat(v,"-content-form-checkbox-container ").concat(Nt["checkbox-container"])}),null!=i&&""!==i&&t.jsx("label",_({htmlFor:M,className:"".concat(v,"-content-checkbox-label")},{children:t.jsx("span",_({className:"".concat(v,"-content-checkbox-text")},{children:i}))}))]})),""!==j&&t.jsx("p",_({className:"".concat(v,"-content-form-checkbox-error ").concat(Nt.error)},{children:j}))]}
1)),S&&(null==h?void 0:h.map(function(e,n){return t.jsx(jt,_({level:p++,status:c},e),n)}))]})},jt=n.forwardRef(Tt),Et={base:"textArea-module__base_9322_xQ7eU",counter:"textArea-module__counter_9322_1qXzn",error:"textArea-module__error_9322_7g1lx","--error":"textArea-module__--error_9322_1JxVX","theme--dark":"textArea-module__theme--dark_9322_s3v-T",sublabel:"textArea-module__sublabel_9322_85MqA"};s(".textArea-module__base_9322_xQ7eU textarea{-webkit-appearance:none;background-color:#fff;background-color:var(--bc-background-color);border:var(--bc-input-border-width) solid var(--bc-c-border-input);box-sizing:border-box;color:var(--bc-c-text-primary);font-size:var(--bc-input-font-size);height:calc(var(--bc-input-height) - .25rem);min-height:calc(var(--bc-input-height) - .25rem);padding:0 1rem;transition:color .1s ease-in-out,background-color .1s ease-in-out;width:100%}.textArea-module__base_9322_xQ7eU textarea:focus,.textArea-module__base_9322_xQ7eU textarea:hover{background-color:var(--bc-background-color);color:var(--bc-basic-color-500)}.textArea-module__base_9322_xQ7eU textarea:focus{border-color:var(--bc-basic-color-500)}.textArea-module__base_9322_xQ7eU textarea[disabled],.textArea-module__base_9322_xQ7eU textarea[readonly]{background-color:var(--bc-background-color);color:var(--basic-color-300);cursor:not-allowed}.textArea-module__base_9322_xQ7eU textarea::-ms-clear{display:none}.textArea-module__base_9322_xQ7eU textarea:-ms-input-placeholder,.textArea-module__base_9322_xQ7eU textarea::-moz-placeholder,.textArea-module__base_9322_xQ7eU textarea::-webkit-input-placeholder,.textArea-module__base_9322_xQ7eU textarea::placeholder{color:var(--bc-input-placeholder-color);opacity:1}.textArea-module__base_9322_xQ7eU label{font-size:var(--bc-input-font-size);font-weight:700;margin-left:0;margin-right:0}.textArea-module__base_9322_xQ7eU{font-size:1rem;height:fit-content;padding-bottom:calc(1rem + 2px);width:100%}.textArea-module__base_9322_xQ7eU textarea{display:block;height:auto;margin-top:.5rem;padding:1rem}.textArea-module__base_9322_xQ7eU label{display:block;padding:0 0 .5rem}.textArea-module__base_9322_xQ7eU label span{color:var(--bc-c-text-secondary);font-size:1rem;font-weight:400;margin-left:.5rem}.textArea-module__base_9322_xQ7eU p{font-size:medium;margin:2px 0 0;width:fit-content}.textArea-module__base_9322_xQ7eU .textArea-module__counter_9322_1qXzn{float:right}.textArea-module__base_9322_xQ7eU .textArea-module__error_9322_7g1lx{color:var(--bc-danger-color-500)}.textArea-module__base_9322_xQ7eU.textArea-module__--error_9322_1JxVX{padding-bottom:0}.textArea-module__base_9322_xQ7eU.textArea-module__--error_9322_1JxVX textarea{border:none;outline:1px solid var(--bc-danger-color-500)}.textArea-module__base_9322_xQ7eU.textArea-module__theme--dark_9322_s3v-T textarea,.textArea-module__base_9322_xQ7eU.textArea-module__theme--dark_9322_s3v-T textarea:focus,.textArea-module__base_9322_xQ7eU.textArea-module__theme--dark_9322_s3v-T textarea:hover{background-color:initial;color:#fff}.textArea-module__base_9322_xQ7eU.textArea-module__theme--dark_9322_s3v-T .textArea-module__sublabel_9322_85MqA,.textArea-module__base_9322_xQ7eU.textArea-module__theme--dark_9322_s3v-T label,.textArea-module__base_9322_xQ7eU.textArea-module__theme--dark_9322_s3v-T label span,.textArea-module__base_9322_xQ7eU.textArea-module__theme--dark_9322_s3v-T p{color:#fff}");var Pt=n.forwardRef(function(e,o){var a,r,i,l,c,s,u=f(e,[]),d=n.createRef(),m=n.useState(0),p=m[0],b=m[1],h=n.useState(""),g=h[0],y=h[1],x=n.useState(null!==(a=u.defaultValue)&&void 0!==a?a:""),k=x[0],w=x[1];n.useEffect(function(){u.value&&w(u.value)},[u.value]);var C,S=function(){var e;if(u.formValidation){var t=$(k,u.formValidation);if(y(""),t&&t.error)return y(null!==(e=t.error)&&void 0!==e?e:""),t.error}return!1},N=function(){var e;return null===(e=d.current)||void 0===e?void 0:e.value},T=function(){return u.name},j=function(){return u.labelText},E=function(){var e;w(null!==(e=u.defaultValue)&&void 0!==e?e:"")},P=function(){return d},D=function(){(null==d?void 0:d.current)&&d.current.focus()};n.useImperativeHandle(o,function(){return{setValue:{},getValue:N,getName:T,getLabel:j,validate:S,getNativeRef:P,focus:D,type:"TextArea",reset:E}}),C=(null===(i=null===(r=u.formValidation)||void 0===r?void 0:r.required)||void 0===i?void 0:i.data)?null!==(l=u.requiredText)&&void 0!==l?l:"(påkrevd)":null!==(c=u.notRequiredText)&&void 0!==c?c:"";var A=["".concat(v,"-content-textarea ").concat(Et.base)];g&&A.push("".concat(v,"-content-textarea--error ").concat(Et["--error"])),u.theme&&A.push("".concat(v,"-content-textarea--theme-").concat(u.theme," ").concat(Et["theme--"+u.theme])),u.className&&A.push(u.className);var R=u.id?"".concat(v,"-content-textarea-").concat(u.id):"generic-textarea"+u.name,z=R+"-error";return t.jsxs("div",_({className:A.join(" "),id:u.id},{children:[u.labelText&&t.jsxs("label",_({htmlFor:R,className:"".concat(v,"-content-textarea-label")},{children:[u.labelText,t.jsx("span",{children:C})]})),u.subLabelText&&t.jsx("span",_({className:"".concat(v,"-content-textarea-sublabel ").concat(Et.sublabel),id:R+"-sublabel"},{children:u.subLabelText})),t.jsx("textarea",_({id:R,rows:u.rows?u.rows:5,disabled:u.disabled,placeholder:u.placeholderText,maxLength:u.maxCharacters,minLength:u.minCharacters,onChange:function(e){w(e.target.value),b(e.target.value.length),u.onChange&&u.onChange(e)},spellCheck:u.spellCheck,"aria-invalid":""!=g,"aria-errormessage":g?z:void 0,"aria-describedby":u.subLabelText?R+"-sublabel":void 0,className:"".concat(v,"-content-textarea-content"),name:u.name,value:k,ref:d,autoComplete:null!==(s=u.autoComplete)&&void 0!==s?s:"off"},{children:u.children})),u.showCounter&&t.jsxs("p",_({className:"".concat(v,"-content-textarea-counter ").concat(Et.counter)}
1,{children:[p," / ",u.maxCharacters]})),""!==g&&t.jsx("p",_({className:"".concat(v,"-content-textarea-error ").concat(Et.error),id:z},{children:g}))]}))}),Dt={base:"singleDatePicker-module__base_9322_-HU1t",label:"singleDatePicker-module__label_9322_-lcII",inputs:"singleDatePicker-module__inputs_9322_7maqk",input:"singleDatePicker-module__input_9322_c4OlF",icon:"singleDatePicker-module__icon_9322_70b-j",modal:"singleDatePicker-module__modal_9322_84-a6","modal-content":"singleDatePicker-module__modal-content_9322_HfK14",datepicker:"singleDatePicker-module__datepicker_9322_fkHB9"};function At(e,t){var n;return function(){for(var o=this,a=[],r=0;r<arguments.length;r++)a[r]=arguments[r];clearTimeout(n),n=setTimeout(function(){return e.apply(o,a)},t)}}s(".singleDatePicker-module__base_9322_-HU1t .singleDatePicker-module__label_9322_-lcII{display:block;font-size:var(--bc-input-font-size);font-weight:700;margin-left:0;margin-right:0;padding:0 0 .5rem}.singleDatePicker-module__base_9322_-HU1t .singleDatePicker-module__label_9322_-lcII span{color:var(--bc-c-text-secondary);font-size:1rem;font-weight:400;margin-left:.5rem}.singleDatePicker-module__base_9322_-HU1t .singleDatePicker-module__inputs_9322_7maqk{display:flex;position:relative}.singleDatePicker-module__base_9322_-HU1t .singleDatePicker-module__inputs_9322_7maqk .singleDatePicker-module__input_9322_c4OlF{margin:.5rem 0 0;width:100%}.singleDatePicker-module__base_9322_-HU1t .singleDatePicker-module__inputs_9322_7maqk .singleDatePicker-module__input_9322_c4OlF input{cursor:pointer;margin:0}.singleDatePicker-module__base_9322_-HU1t .singleDatePicker-module__inputs_9322_7maqk .singleDatePicker-module__input_9322_c4OlF input::-webkit-calendar-picker-indicator{display:none;pointer-events:none}.singleDatePicker-module__base_9322_-HU1t .singleDatePicker-module__inputs_9322_7maqk .singleDatePicker-module__icon_9322_70b-j{background-color:var(--bc-background-color);position:absolute;right:1rem;top:40%;translate:translateY(-40%)}.singleDatePicker-module__modal_9322_84-a6{position:absolute;z-index:999}.singleDatePicker-module__modal_9322_84-a6 .singleDatePicker-module__modal-content_9322_HfK14{align-items:flex-start;display:flex;flex-wrap:wrap;max-width:100vw;position:relative}.singleDatePicker-module__modal_9322_84-a6 .singleDatePicker-module__modal-content_9322_HfK14 .singleDatePicker-module__datepicker_9322_fkHB9{margin-top:1rem}.singleDatePicker-module__modal_9322_84-a6 .singleDatePicker-module__modal-content_9322_HfK14 .singleDatePicker-module__datepicker_9322_fkHB9:first-of-type{margin-right:1rem}");var Rt=n.forwardRef(function(e,o){var a,r,i,l,c,s=e.autoClose,u=void 0===s||s,d=f(e,["autoClose"]),m=n.useState(!1),p=m[0],b=m[1],h=n.useRef(F(d.date?new Date(d.date):new Date(""))),g=n.useState(h.current),y=g[0],x=g[1],k=n.useState(window.innerWidth),w=k[0],C=k[1],S=n.useRef(null),N=n.useRef(null),T=n.useRef(null);function j(){C(window.innerWidth)}n.useEffect(function(){var e=At(j,250);return window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[]);var E=function(e){var t;(null===(t=N.current)||void 0===t?void 0:t.contains(e.target))||b(!1)};n.useEffect(function(){return p&&(document.addEventListener("mousedown",E,!1),document.addEventListener("touchstart",E,!1)),function(){document.removeEventListener("mousedown",E,!1),document.removeEventListener("touchstart",E,!1)}},[p]);var P,D=function(){return[M(h.current)?h.current:""]},A=function(){return d.name},R=function(){return d.labelText},I=function(e){M(e)&&x(e)},O=function(){var e,t;return d.formValidation&&(null===(t=null===(e=T.current)||void 0===e?void 0:e.validate)||void 0===t?void 0:t.call(e))||!1},B=function(){return S},H=function(){var e,t;(null===(e=null==T?void 0:T.current)||void 0===e?void 0:e.reset)&&(null===(t=T.current)||void 0===t||t.reset()),h.current=F(d.date?new Date(d.date):new Date("")),x(h.current)},V=function(){var e,t;null===(t=null===(e=null==T?void 0:T.current)||void 0===e?void 0:e.focus)||void 0===t||t.call(e)};n.useImperativeHandle(o,function(){return{getValue:D,getName:A,getLabel:R,setValue:I,val
1idate:O,getNativeRef:B,focus:V,type:"SingleDatePicker",reset:H}}),P=d.formValidation&&d.formValidation.required&&(null===(a=d.formValidation)||void 0===a?void 0:a.required.data)?null!==(r=d.requiredText)&&void 0!==r?r:"(påkrevd)":null!==(i=d.notRequiredText)&&void 0!==i?i:"";var U=["".concat(v,"-singledatepicker"),Dt.base],G="singledatepicker-".concat(nt(5),"-").concat(null!==(l=d.id)&&void 0!==l?l:"");return t.jsxs("div",_({className:U.join(" "),ref:S,onKeyDown:function(e){"Escape"===e.key&&b(!1)}},{children:[d.labelText&&t.jsxs("label",_({htmlFor:G,className:"".concat(v,"-singledatepicker-label ").concat(Dt.label)},{children:[d.labelText,t.jsx("span",{children:P})]})),d.subLabelText&&t.jsxs("span",_({className:"".concat(v,"-singledatepicker-sublabel ").concat(Dt.sublabel),id:G+"-sublabel"},{children:[d.subLabelText," "]})),t.jsxs("div",_({className:"".concat(v,"-singledatepicker-inputs ").concat(Dt.inputs)},{children:[t.jsx(at,{id:G,name:d.name+"-input",className:"".concat(Dt.input),type:"date",value:M(y)?y:"",theme:d.theme,onChange:function(e){M(e.target.value)&&(h.current=e.target.value,x(h.current))},autocomplete:d.autocomplete,onKeyDown:function(e){if(" "==e.key){if(d.disableOnMobile&&w<768)return;e.stopPropagation(),e.preventDefault(),b(!0)}},ref:T,formValidation:d.formValidation,labelledBy:d.labelText?void 0:d.labelledBy,"aria-describedby":d.subLabelText?G+"-sublabel":void 0,max:d.max}),t.jsx(z,_({appearance:"icon",className:Dt.icon,onClick:function(e){d.disableOnMobile&&w<768||(e.preventDefault(),e.stopPropagation(),b(!0))},onTouchStart:function(e){d.disableOnMobile&&w<768||(e.preventDefault(),e.stopPropagation(),b(!0))},"aria-label":null!==(c=d.calendarButtonAriaLabel)&&void 0!==c?c:"Åpne kalender"},{children:t.jsx(L,{icon:"ri-calendar-line"})}))]})),p&&t.jsx("div",_({className:"".concat(v,"-singledatepicker-modal ").concat(Dt.modal),ref:N,onClick:function(e){e.stopPropagation()}},{children:t.jsx(Ye,_({active:p},{children:t.jsx("div",_({className:"".concat(v,"-singledatepicker-modal-content ").concat(Dt["modal
1-content"])},{children:t.jsx(te,_({name:d.name,className:Dt.datepicker,theme:d.theme,value:M(y)?y:new Date,onChange:function(e){if("string"!=typeof e&&M(e)){var t=new Date(M(y)?y:new Date);h.current=F(e),x(h.current),u&&e.getDate()!==t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()&&b(!1)}}},d.datePickerProps))}))}))}))]}))}),zt={base:"select-module__base_9322_Ieby6","button-container":"select-module__button-container_9322_-05oP",error:"select-module__error_9322_Fkf05","--error":"select-module__--error_9322_jkeXX",body:"select-module__body_9322_cXMiF",open:"select-module__open_9322_NvoLm",option:"select-module__option_9322_k-K7R","theme--dark":"select-module__theme--dark_9322_o5fgE",hiddenLabel:"select-module__hiddenLabel_9322_cdktG"};s('.select-module__base_9322_Ieby6 button{-webkit-appearance:none;background-color:#fff;background-color:var(--bc-background-color);border:var(--bc-input-border-width) solid var(--bc-c-border-input);box-sizing:border-box;color:var(--bc-c-text-primary);font-size:var(--bc-input-font-size);height:calc(var(--bc-input-height) - .25rem);min-height:calc(var(--bc-input-height) - .25rem);padding:0 1rem;transition:color .1s ease-in-out,background-color .1s ease-in-out;width:100%}.select-module__base_9322_Ieby6 button:focus,.select-module__base_9322_Ieby6 button:hover{background-color:var(--bc-background-color);color:var(--bc-basic-color-500)}.select-module__base_9322_Ieby6 button:focus{border-color:var(--bc-basic-color-500)}.select-module__base_9322_Ieby6 button[disabled],.select-module__base_9322_Ieby6 button[readonly]{background-color:var(--bc-background-color);color:var(--basic-color-300);cursor:not-allowed}.select-module__base_9322_Ieby6 button::-ms-clear{display:none}.select-module__base_9322_Ieby6 button:-ms-input-placeholder,.select-module__base_9322_Ieby6 button::-moz-placeholder,.select-module__base_9322_Ieby6 button::-webkit-input-placeholder,.select-module__base_9322_Ieby6 button::placeholder{color:var(--bc-input-placeholder-color);opacity:1}.select-module__base_9322_Ieby6 label{font-size:var(--bc-input-font-size);font-weight:700;margin-left:0;margin-right:0}.select-module__base_9322_Ieby6{position:relative;width:100%}.select-module__base_9322_Ieby6 label{display:block;padding:0 0 .5rem}.select-module__base_9322_Ieby6 label span{color:var(--bc-c-text-secondary);font-size:1rem;font-weight:400;margin-left:1rem}.select-module__base_9322_Ieby6 .select-module__button-container_9322_-05oP{background-color:var(--bc-background-color);margin-top:.5rem;position:relative}.select-module__base_9322_Ieby6 .select-module__button-container_9322_-05oP button:focus{border-radius:3px;outline:1.5px solid #000}.select-module__base_9322_Ieby6 .select-module__button-container_9322_-05oP button:after{border:2px solid #000;border-left:none;border-top:none;content:" ";height:.5rem;position:absolute;right:1rem;top:40%;transform:rotate(45deg) translateY(-40%);width:.5rem}.select-module__base_9322_Ieby6 .select-module__button-container_9322_-05oP button span{color:var(--bc-c-text-secondary)}.select-module__base_9322_Ieby6 button{background-color:initial;border:1px solid #000;cursor:pointer;display:block;height:fit-content;padding-left:1rem;padding-right:2rem;text-align:left}.select-module__base_9322_Ieby6 .select-module__error_9322_Fkf05{color:var(--bc-danger-color-500);margin:2px 0 0}.select-module__base_9322_Ieby6.select-module__--error_9322_jkeXX{padding-bottom:0}.select-module__base_9322_Ieby6 .select-module__body_9322_cXMiF{background-color:#fff;border-radius:3px;box-shadow:0 5px 5px gray;display:none;max-height:300px;outline:1px solid #000;overflow-y:auto;position:absolute;width:100%;z-index:1000}.select-module__base_9322_Ieby6 .select-module__body_9322_cXMiF.select-module__open_9322_NvoLm{display:block}.select-module__base_9322_Ieby6 .select-module__body_9322_cXMiF .select-module__option_9322_k-K7R{border:none;position:relative;width:100%}.select-module__base_9322_Ieby6 .select-module__body_9322_cXMiF .select-module__option_9322_k-K7R:focus{background-color:var(--bc-background-color-2);border:2px solid #000}.select-module__base_9322_Ieby6 .select-module__body_9322_cXMiF .select-module__option_9322_k-K7R:hover{background-color:var(--bc-primary-color-500);color:#fff}.select-module__base_9322_Ieby6.select-module__theme--dark_9322_o5fgE label{color:#fff}.select-module__base_9322_Ieby6.select-module__hiddenLabel_9322_cdktG label{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}');var Lt=n.forwardRef(function(e,n){var o=["".concat(v,"-select-option ").concat(zt.option)];return e.className&&o.push(e.className),t.jsxs("button",_({className:o.join(" "),id:e.id,ref:n,type:"button"},{children:[e.text,e.children]}))}),Mt=function(e){var t=-1,o=0;
1return n.Children.forEach(e,function(e){n.isValidElement(e)&&(e.props.defaultSelected&&(t=o),o++)}),t},It=function(e){var t=-1,o=0;return n.Children.forEach(e,function(e){n.isValidElement(e)&&(e.props.selected&&(t=o),o++)}),-1!==t?t:void 0},Ft=function(e){var n=["".concat(v,"-select-body"),zt.body];return e.open&&n.push(zt.open),t.jsx("div",_({id:e.id,className:n.join(" "),onKeyDown:e.handleOptionsKeyboardEvents,role:"application"},{children:l.default.Children.map(e.selectChildren,function(n,o){return t.jsx("div",_({onClick:function(t){e.optionClickHandler(t,o)}},{children:n}),o)})}))},Ot={base:"label-module__base_9322_A5ycb",hidden:"label-module__hidden_9322_6X0cq"};s(".label-module__base_9322_A5ycb{display:block;font-size:1.17em;font-weight:700;margin-left:0;margin-right:0;padding:0 0 .5rem}.label-module__base_9322_A5ycb.label-module__hidden_9322_6X0cq{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}");var Bt=n.createContext({}),Ht=Bt.Provider,Vt=function(e){var o,a,r=e.theme,i=e.hidden,l=f(e,["theme","hidden"]),c=n.useContext(Bt),s=["".concat(v,"-label ").concat(Ot.base)];return r&&s.push("".concat(v,"-label--theme-").concat(r," ").concat(Ot["theme--"+r])),i&&s.push("".concat(v,"-label--hidden ").concat(Ot.hidden)),l.className&&s.push(l.className),t.jsx("label",_({},l,{className:s.join(" "),htmlFor:null!==(a=null!==(o=l.htmlFor)&&void 0!==o?o:c.controlID)&&void 0!==a?a:void 0},{children:l.children}))};s(".sublabel-module__base_9322_6vQXc{color:var(--bc-c-text-secondary);display:block;font-weight:400;margin-top:.3rem}");var Ut=function(e){var n=f(e,[]),o=["".concat(v,"-sublabel"),"sublabel-module__base_9322_6vQXc"];return n.className&&o.push(n.className),t.jsx("small",_({className:o.join(" ")},{children:n.children}))},Gt=Object.assign(n.forwardRef(function(e,o){var a,r,i,c,s,u,d,m,p,b=f(e,[]),h=n.useRef(null),g=n.useRef(null),y=n.useRef(null),x=n.useState(null!==(r=null!==(a=It(b.children))&&void 0!==a?a:Mt(b.children))&&void 0!==r?r:-1),k=x[0],w=x[1],C=n.useState(0),S=C[0],N=C[1],T=n.useState(!1),j=T[0],E=T[1],P=n.useRef([]),D=n.useRef({}),A=n.useState(""),R=A[0],z=A[1],L=n.useState(!1),M=L[0],I=L[1];n.useEffect(function(){var e=At(function(){var e,t;if(y.current&&h.current&&j){var n=null===(e=y.current)||void 0===e?void 0:e.getBoundingClientRect(),o=window.innerHeight-n.bottom,a=n.top,r=h.current.querySelector(".".concat(v,"-select-body"));null==r||r.setAttribute("style","display: block");var i=null!==(t=null==r?void 0:r.getBoundingClientRect().height)&&void 0!==t?t:0;null==r||r.removeAttribute("style"),o<i&&a>i?null==r||r.setAttribute("style","bottom: ".concat(n.height,"px;")):null==r||r.removeAttribute("style")}},250);return window.addEventListener("scroll",e),window.addEventListener("resize",e),function(){window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[]);var F=n.useMemo(function(){return l.default.Children.map(b.children,function(e,t){if(P.current[t]=n.createRef(),l.default.isValidElement(e)){var o=_(_({},e.props),{ref:P.current[t],selected:e.props.selected});
1return D.current[t]=e.props.value,n.cloneElement(e,o)}})},[b.children]);n.useEffect(function(){var e;void 0!==It(b.children)&&w(null!==(e=It(b.children))&&void 0!==e?e:0)},[b.children]),n.useEffect(function(){var e;if(M){var t=new Event("change",{bubbles:!0});null===(e=g.current)||void 0===e||e.dispatchEvent(t),I(!1)}},[M]),n.useEffect(function(){return j?document.addEventListener("click",B,!0):document.removeEventListener("click",B,!0),function(){document.removeEventListener("click",B,!0)}},[j]);var O,B=function(e){e.target instanceof Node&&h.current&&!h.current.contains(e.target)&&E(!1)},H=function(){E(function(e){var t;return e||null===(t=y.current)||void 0===t||t.focus(),!e})},V=function(){(null==y?void 0:y.current)&&y.current.focus()},U=function(){var e;w(null!==(e=Mt(b.children))&&void 0!==e?e:0)},G=function(){var e;if(b.formValidation){var t=$(D.current[k],b.formValidation);if(z(""),t&&t.error)return z(null!==(e=t.error)&&void 0!==e?e:""),t.error}return!1};n.useImperativeHandle(o,function(){return{setValue:{},getValue:function(){return D.current[k]},getName:function(){return b.name},getLabel:function(){return b.labelText},validate:G,getNativeRef:function(){return y},focus:V,type:"Select",reset:U}}),O=b.formValidation&&b.formValidation.required&&(null===(i=b.formValidation)||void 0===i?void 0:i.required.data)?null!==(c=b.requiredText)&&void 0!==c?c:"(påkrevd)":null!==(s=b.notRequiredText)&&void 0!==s?s:"";var Q=["".concat(v,"-select ").concat(zt.base)];b.theme&&Q.push("".concat(v,"-select--theme-").concat(b.theme," ").concat(zt["theme--"+b.theme])),R&&Q.push("".concat(v,"-select--error ").concat(zt["--error"])),b.className&&Q.push(b.className),b.hiddenLabel&&Q.push(zt.hiddenLabel);var W="".concat(v,"-content-form-select-").concat(nt(5),"-").concat(null!==(u=b.id)&&void 0!==u?u:"");return t.jsxs("div",_({className:Q.join(" "),ref:h},{children:[b.labelText&&t.jsxs(Vt,_({htmlFor:W,className:"".concat(v,"-select-label"),onClick:H},{children:[b.labelText,t.jsx("span",{children:O}),b.subLabelText&&t.jsxs(Ut,_({id:W+"-sublabel",className:"".concat(v,"-select-sublabel ").concat(zt.sublabel)},{children:[b.subLabelText," "]}))]})),t.jsxs("div",_({className:"button-container ".concat(zt["button-container"])},{children:[t.jsx("button",_({role:"combobox",id:W,type:"button",ref:y,"aria-describedby":b.subLabelText?W+"-sublabel":void 0,onKeyDown:function(e){var t,n,o;return"ArrowDown"==e.key?(e.preventDefault(),j?(null===(t=(o=P.current[0]).current)||void 0===t?void 0:t.focus)&&o.current.focus():E(!0),N(0),!1):"ArrowUp"==e.key?(e.preventDefault(),j?(null===(n=(o=P.current[P.current.length-1]).current)||void 0===n?void 0:n.focus)&&o.current.focus():E(!0),N(P.current.length-1),!1):void("Escape"===e.key&&E(!1))},onClick:H,"aria-expanded":j,"aria-controls":W+"-dropdown","data-toggle":"dropdown","aria-haspopup":!0,"aria-invalid":""!=R,"aria-errormessage":""!=R?W+"-error":void 0},{children:F&&F[k]?null!==(d=F[k].props.text)&&void 0!==d?d:F[k].props.children:t.jsx("span",{children:null!==(m=b.noneSelectedText)&&void 0!==m?m:"Velg..."})})),t.jsx("select",{id:W+"-select",style:{display:"none"},ref:g,"aria-labelledby":b.labelText?W:b.labelledBy,autoComplete:null!==(p=b.autoComplete)&&void 0!==p?p:"off"})]})),t.jsx(Ft,{id:W+"-dropdown",open:j,selectChildren:F,optionClickHandler:function(e,t){var n;E(!1),null===(n=y.current)||void 0===n||n.focus(),w(t),I(!0)},handleOptionsKeyboardEvents:function(e){var t,n,o,a=function(e){return e<0?P.current.length-1:e>=P.current.length?0:e};if("ArrowDown"==e.key||"Tab"==e.key&&!e.shiftKey)e.preventDefault(),N(a(r=S+1)),(null===(t=(i=P.current[a(r)]).current)||void 0===t?void 0:t.focus)&&i.current.focus();else if("ArrowUp"==e.key||e.shiftKey&&"Tab"==e.key){var r,i;e.preventDefault(),N(a(r=S-1)),(null===(n=(i=P.current[a(r)]).current)||void 0===n?void 0:n.focus)&&i.current.focus()}else"Escape"===e.key&&(E(!1),null===(o=y.current)||void 0===o||o.focus())}}),""!==R&&t.jsx("div",_({className:"".concat(v,"-select-error ").concat(zt.error),id:W+"-error"},{children:R}))]}))}),{Option:Lt}),Qt={base:"checkboxGroup-module__base_9322_a4UP-",label:"checkboxGroup-module__label_9322_Yd5jk",sublabel:"checkboxGroup-module__sublabel_9322_Bwusf","theme--dark":"checkboxGroup-module__theme--dark_9322_S33-t",error:"checkboxGroup-module__error_9322_-ybr4",collapsible:"checkboxGroup-module__collapsible_9322_1bpFM",collapsibleContent:"checkboxGroup-module__collapsibleContent_9322_A9
1VT-"};s(".checkboxGroup-module__base_9322_a4UP- .checkboxGroup-module__label_9322_Yd5jk{font-size:var(--bc-input-font-size);font-weight:700;margin-left:0;margin-right:0}.checkboxGroup-module__base_9322_a4UP-{border:none;margin:.5rem 0;padding:0}.checkboxGroup-module__base_9322_a4UP- .checkboxGroup-module__label_9322_Yd5jk{display:block;padding:0 0 .5rem}.checkboxGroup-module__base_9322_a4UP- .checkboxGroup-module__label_9322_Yd5jk span{color:var(--bc-c-text-secondary);font-size:1rem;font-weight:400;margin-left:.5rem}.checkboxGroup-module__base_9322_a4UP- .checkboxGroup-module__sublabel_9322_Bwusf{display:block;margin-bottom:.5rem}.checkboxGroup-module__base_9322_a4UP-:focus-within{outline:1px solid var(--bc-c-border-input);outline-offset:.5rem}.checkboxGroup-module__base_9322_a4UP-.checkboxGroup-module__theme--dark_9322_S33-t label{color:#fff}.checkboxGroup-module__base_9322_a4UP- .checkboxGroup-module__error_9322_-ybr4{color:var(--bc-danger-color-500)}.checkboxGroup-module__base_9322_a4UP- .checkboxGroup-module__collapsible_9322_1bpFM{margin-top:1rem}.checkboxGroup-module__base_9322_a4UP- .checkboxGroup-module__collapsible_9322_1bpFM .checkboxGroup-module__collapsibleContent_9322_A9
1VT-{margin-bottom:1rem}");var Wt={title:"",withButton:!0,openText:"Vis flere",closeText:"Vis færre",showChevron:!0,softHide:!0,buttonVariant:"icon"},qt=function(e,o){var a,r,l,c,s,u,d=e.labelText,m=e.name,p=e.onChange,b=void 0===p?void 0:p,h=f(e,["labelText","name","onChange"]),g=n.useRef([]),y=n.useState([]),x=y[0],k=y[1],w=n.useState(""),C=w[0],S=w[1];n.useEffect(function(){var e=n.Children.map(h.children,function(e,t){var o;if(n.isValidElement(e)&&e.type===jt){g.current[t]=n.createRef();var a={ref:g.current[t],id:"checkbox-index-".concat(t,"-").concat(nt(5),"-").concat(null!==(o=e.props.id)&&void 0!==o?o:""),returnEmptyValues:h.returnEmptyValues};return n.cloneElement(e,a)}return e});k(e)},[h.children,h.returnEmptyValues]);var N=n.useCallback(function(){var e=[];if(g.current.forEach(function(t){var n,o,a=null===(o=null===(n=t.current)||void 0===n?void 0:n.getValue)||void 0===o?void 0:o.call(n);(h.returnEmptyValues||a)&&e.push(a)}),h.returnEmptyValues||e.length)return e},[g,h.returnEmptyValues]);n.useEffect(function(){b&&void 0!==N()&&b(N())},[N,b]);var T,j=function(){return m},E=function(){return d},P=function(){var e;g.current.length&&(null===(e=g.current[0].current)||void 0===e?void 0:e.focus)&&g.current[0].current.focus()},D=function(){g.current.forEach(function(e){var t,n;(null===(t=e.current)||void 0===t?void 0:t.reset)&&(null===(n=e.current)||void 0===n||n.reset())})},A=function(){return g.current.length?g.current[0]:void 0},R=function(){var e=!1;if(g.current.forEach(function(t){var n;if(t&&t.current&&t.current.validate){var o=null===(n=null==t?void 0:t.current)||void 0===n?void 0:n.validate();o&&(e=o)}}),h.formValidation){var t=N();if(h.formValidation.required&&h.formValidation.required.data&&(S(""),(null==t?void 0:t.filter(function(e){return!1===e}).length)===(null==t?void 0:t.length)))return S(h.formValidation.required.errorMessage),h.formValidation.required.errorMessage}return e};n.useImperativeHandle(o,function(){return{setValue:{},getValue:N,getName:j,getLabel:E,reset:D,getNativeRef:A,focus:P,type:"CheckboxGroup",validate:R}}),T=h.formValidation&&h.formValidation.required&&(null===(a=h.formValidation)||void 0===a?void 0:a.required.data)?null!==(r=h.requiredText)&&void 0!==r?r:"(påkrevd)":null!==(l=h.notRequiredText)&&void 0!==l?l:"";var z=["".concat(v,"-checkboxgroup ").concat(Qt.base)];h.theme&&z.push("".concat(v,"-content-textarea--theme-").concat(h.theme," ").concat(Qt["theme--"+h.theme])),h.className&&z.push(h.className);var L="checkboxgroup-".concat(nt(5),"-").concat(null!==(c=h.id)&&void 0!==c?c:""),M=L+"-error",I=L?"".concat(L,"-collapsible-").concat(nt(5)):void 0,F=t.jsxs(t.Fragment,{children:[i.Children.count(x)&&i.Children.toArray(x).slice(0,null!==(s=h.maxItemCount)&&void 0!==s?s:i.Children.count(x)),h.maxItemCount&&i.Children.count(x)>h.maxItemCount&&t.jsx(gt,_({id:I,className:"".concat(v,"-checkboxgroup-collapsible ").concat(Qt.collapsible)},null!==(u=h.collapsibleProps)&&void 0!==u?u:Wt,{children:t.jsx("div",_({className:Qt.collapsibleContent},{children:i.Children.toArray(x).slice(h.maxItemCount,i.Children.count(x))}))}))]}),O=t.jsxs("fieldset",_({id:L,className:z.join(" "),"aria-errormessage":C?M:void 0,"aria-invalid":C?"true":void 0,"aria-describedby":h.subLabelText?L+"-sublabel":void 0},{children:[d&&t.jsxs("legend",_({className:"".concat(v,"-checkboxgroup-label ").concat(Qt.label)},{children:[d,t.jsx("span",{children:T})]})),h.subLabelText&&t.jsxs("span",_({className:"".concat(v,"-checkboxgroup-sublabel ").concat(Qt.sublabel),id:L+"-sublabel"},{children:[h.subLabelText," "]})),F,""!==C&&t.jsx("p",_({className:"".concat(v,"-checkboxgroup-error ").concat(Qt.error),id:M},{children:C}))]})),B=t.jsxs("div",_({className:z.join(" "),id:L},{children:[F,""!==C&&t.jsx("p",_({className:"".concat(v,"-checkboxgroup-error ").concat(Qt.error)},{children:C}))]}));return d?O:B},Kt=n.forwardRef(qt),Xt={base:"reCAPTCHA-module__base_9322_aKAsd","captcha-error":"reCAPTCHA-module__captcha-error_9322_rB-eg"};function Yt(e,t,n,o,a){var r,i=document.getElementById(e);if(i)i.remove(),Yt(e,t,n,o);else{var l=document.createElement("script");
1l.type="text/javascript",l.src=t,l.id=e,l.async=!0,l.defer=!0,l.onload=function(){},o?null===(r=document.querySelector(o))||void 0===r||r.appendChild(l):document.body.appendChild(l)}}s(".reCAPTCHA-module__base_9322_aKAsd{height:auto;margin-bottom:10px}.reCAPTCHA-module__captcha-error_9322_rB-eg{color:var(--bc-danger-color-500);font-size:medium;margin:2px 0 0;width:fit-content}"),s(".grecaptcha-badge{z-index:2000}");var Jt=n.forwardRef(function(e,o){var a=e.textUncheckedError,r=void 0===a?"The reCAPTCHA needs to be checked":a,i=e.theme,l=void 0===i?"light":i,c=e.version,s=void 0===c?"V2":c,u=f(e,["textUncheckedError","theme","version"]),d=n.useState(!1),m=d[0],p=d[1],b=n.useState(0),h=b[0],g=b[1],y=n.useState(""),x=y[0],k=y[1],w=n.useState(!1),C=w[0],S=w[1];n.useEffect(function(){window.reCaptchaNumber||(window.reCaptchaNumber=0),g(window.reCaptchaNumber),window.reCaptchaNumber++},[u.id]),n.useEffect(function(){window.reCaptchaLoading?setTimeout(function(){p(!0)},1e3):(window.reCaptchaLoading=!0,window.onRecaptchaLoadCallback=function(){p(!0)},"V3"===s?Yt(u.id+"-script-v3","https://www.google.com/recaptcha/api.js?onload=onRecaptchaLoadCallback&hl=no&render=".concat(u.siteKey),void 0,u.scriptContainer):Yt(u.id+"-script-v2","https://www.google.com/recaptcha/api.js?onload=onRecaptchaLoadCallback&hl=no&render=explicit",void 0,u.scriptContainer))},[u.id,u.scriptContainer,u.siteKey,s]),n.useEffect(function(){var e;"V2"===s&&m&&(null===(e=window.grecaptcha)||void 0===e||e.ready(function(){var e;if("V2"===s&&!u.renderTargetID&&document.getElementById(u.id+"-captcha-container"))try{window.grecaptcha.render(null!==(e=u.renderTargetID)&&void 0!==e?e:u.id+"-captcha-container",{sitekey:u.siteKey,theme:l})}catch(t){}}))},[u.renderTargetID,u.siteKey,s,m,u.id,l]);var N=function(){var e,t;return"V3"===s?null===(e=window.grecaptcha)||void 0===e?void 0:e.execute(u.siteKey,{action:"submit"}):null===(t=window.grecaptcha)||void 0===t?void 0:t.getResponse(h)},T=function(){var e;return k(""),"V2"===s&&0===(null===(e=window.grecaptcha)||void 0===e?void 0:e.getResponse(h).length)&&(k(r),S(!0),r)},j=function(){},E=function(){return""},P=function(){return u.name};n.useImperativeHandle(o,function(){return{setValue:{},getValue:N,validate:T,getName:P,getLabel:E,getNativeRef:j,type:"ReCAPTCHA"}});var D=["".concat(v,"-content-reCAPTCHA"),"g-recaptcha",Xt.base];return l&&D.push("".concat(v,"-content-textarea--theme-").concat(l),Xt["theme--"+l]),u.className&&D.push(u.className),t.jsxs(t.Fragment,{children:["V2"===s&&t.jsx("div",{id:u.id+"-captcha-container",className:D.join(" "),"data-sitekey":u.siteKey,"aria-invalid":C,"aria-describedby":C?u.id+"-captcha-error":void 0}),""!==x&&t.jsx("p",_({id:u.id+"-captcha-error",className:"captcha-error ".concat(Xt["captcha-error"])},{children:x}))]})}),Zt={base:"avatar-module__base_9322_PcKQm","shape--rounded":"avatar-module__shape--rounded_9322_O-5Ls","shape--squared":"avatar-module__shape--squared_9322_JQstV","size--small":"avatar-module__size--small_9322_Z8WEk","size--medium":"avatar-module__size--medium_9322_4DDa5","size--large":"avatar-module__size--large_9322_KOUQC","size--full":"avatar-module__size--full_9322_OQXF9","theme--dark":"avatar-module__theme--dark_9322_EBcKS"};s(".avatar-module__base_9322_PcKQm{border:1px solid #000;height:100px;width:100px}.avatar-module__base_9322_PcKQm.avatar-module__shape--rounded_9322_O-5Ls{border-radius:100%}.avatar-module__base_9322_PcKQm.avatar-module__shape--squared_9322_JQstV{border-radius:3px}.avatar-module__base_9322_PcKQm.avatar-module__size--small_9322_Z8WEk{height:50px;width:50px}.avatar-module__base_9322_PcKQm.avatar-module__size--medium_9322_4DDa5{height:100px;width:100px}.avatar-module__base_9322_PcKQm.avatar-module__size--large_9322_KOUQC{height:200px;width:200px}.avatar-module__base_9322_PcKQm.avatar-module__size--full_9322_OQXF9{aspect-ratio:1;height:auto;width:100%}.avatar-module__base_9322_PcKQm.avatar-module__theme--dark_9322_EBcKS{border-color:#fff}");var $t=function(e){var n,o=f(e,[]),a=["".concat(v,"-content-avatar ").concat(Zt.base)];return o.variant&&a.push("".concat(v,"-shape--").concat(o.variant),Zt["shape--".concat(o.variant)]),o.size&&a.push("".concat(v,"-size--").concat(o.size),Zt["size--".concat(o.size)]),o.theme&&a.push("".concat(v,"-content-avatar--theme-").concat(o.theme),Zt["theme--".concat(o.theme)]),o.className&&a.push(o.className),t.jsx("img",{src:null!==(n=o.src)&&void 0!==n?n:"data:image/svg+xml;
1base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyNS40LjEsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCA0MDAwIDQwMDAiIHN0eWxlPSJlbmFibGUtYmFja2dyb3VuZDpuZXcgMCAwIDQwMDAgNDAwMDsiIHhtbDpzcGFjZT0icHJlc2VydmUiPg0KPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkuc3Qwe2ZpbGw6I0YyRjJGMjt9DQoJLnN0MXtmaWxsOiNEM0QzRDM7fQ0KPC9zdHlsZT4NCjxnPg0KCTxnPg0KCQk8Y2lyY2xlIGNsYXNzPSJzdDAiIGN4PSIyMDAwIiBjeT0iMjAwMCIgcj0iMTYzMS42Ii8+DQoJCTxwYXRoIGNsYXNzPSJzdDEiIGQ9Ik0yMDAwLDIxMTIuMWMtNDg1LjYsMC04NzkuMywyNzUuNi04NzkuMyw2MTUuNVYyOTEyaDE3NTguN3YtMTg0LjNDMjg3OS4zLDIzODcuNywyNDg1LjYsMjExMi4xLDIwMDAsMjExMi4xeg0KCQkJIi8+DQoJCQ0KCQkJPGVsbGlwc2UgdHJhbnNmb3JtPSJtYXRyaXgoMC43MDcxIC0wLjcwNzEgMC43MDcxIDAuNzA3MSAtNDkwLjI5MTEgMTg1OS45Mzk1KSIgY2xhc3M9InN0MSIgY3g9IjIwMDAiIGN5PSIxNTIxLjgiIHJ4PSI0MzMuOCIgcnk9IjQzMy44Ii8+DQoJPC9nPg0KPC9nPg0KPC9zdmc+DQo=",alt:o.alt,id:o.id,className:a.join(" ")})},en=function(e){var t="";return"string"==typeof e?t=e:"number"==typeof e?t=e.toString():e instanceof Array?e.forEach(function(e){t+=en(e)}):n.isValidElement(e)&&(t+=en(e.props.children)),t},tn={base:"paragraph-module__base_9322_ECN3S",showMoreButton:"paragraph-module__showMoreButton_9322_z-S-r","theme--dark":"paragraph-module__theme--dark_9322_O9BFo","align--left":"paragraph-module__align--left_9322_vro3x","align--right":"paragraph-module__align--right_9322_YKxwg","align--center":"paragraph-module__align--center_9322_Fim1V"};s(".paragraph-module__base_9322_ECN3S .paragraph-module__showMoreButton_9322_z-S-r{-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;background:#0000;border:none;color:inherit;font:inherit;line-height:normal;margin:0;overflow:visible;padding:0;width:auto}.paragraph-module__base_9322_ECN3S.paragraph-module__theme--dark_9322_O9BFo{color:#fff}.paragraph-module__base_9322_ECN3S.paragraph-module__align--left_9322_vro3x{text-align:left}.paragraph-module__base_9322_ECN3S.paragraph-module__align--right_9322_YKxwg{text-align:right}.paragraph-module__base_9322_ECN3S.paragraph-module__align--center_9322_Fim1V{text-align:center}.paragraph-module__base_9322_ECN3S .paragraph-module__showMoreButton_9322_z-S-r{backdrop-filter:blur(3px);background-color:hsla(0,0%,100%,.733);box-shadow:0 -1rem 15px #fff;display:block;margin-top:-1rem;padding-top:1rem;text-align:center;text-decoration:underline;width:100%;z-index:1}.paragraph-module__base_9322_ECN3S .paragraph-module__showMoreButton_9322_z-S-r:focus,.paragraph-module__base_9322_ECN3S .paragraph-module__showMoreButton_9322_z-S-r:hover{font-weight:700}");var nn=function(e){var o,a,r,i,l,c=f(e,[]),s=n.useState(null!==(o=c.lineLimit)&&void 0!==o?o:0),u=s[0],d=s[1],m=null!==(r=null!==(a=c.innerHTML)&&void 0!==a?a:c.text)&&void 0!==r?r:"";c.children&&(m=en(c.children)),c.characterLimit&&(m=m.substring(0,c.characterLimit));var p=["".concat(v,"-paragraph ").concat(tn.base," ").concat(tn.base)];return c.theme&&p.push("".concat(v,"-paragraph-theme--").concat(c.theme," ").concat(tn["theme--"+c.theme])),c.align&&p.push("".concat(v,"-paragraph-align--").concat(c.align," ").concat(tn["align--"+c.align])),c.className&&p.push(c.className),t.jsxs("div",_({className:p.join(" ")},{children:[t.jsx("p",_({dangerouslySetInnerHTML:void 0===c.children?{__html:m}:void 0,style:{maxHeight:u?u+1+"rem":void 0,overflow:u?"hidden":void 0}},{children:void 0!==c.children?m:void 0})),0!==u&&t.jsx("button",_({type:"button",className:tn.showMoreButton,onClick:function(){d(0)}},{children:null!==(l=null===(i=c.translations)||void 0===i?void 0:i.showMore)&&void 0!==l?l:"Les videre"}))]}))},on={base:"link-module__base_9322_-XNSx",text:"link-module__text_9322_SO5JF",renderAsButton:"link-module__renderAsButton_9322_zvs-N"};s(".link-module__base_9322_-XNSx{color:var(--bc-primary-color-500);cursor:pointer;display:inline-block;text-decoration:none}.link-module__base_9322_-XNSx[aria-disabled=true],.link-module__base_9322_-XNSx[disabled]{cursor:not-allowed}.link-module__base_9322_-XNSx .link-module__text_9322_SO5JF{text-decoration:underline}.link-module__base_9322_-XNSx.link-module__renderAsButton_9322_zvs-N .link-module__text_9322_SO5JF{color:inherit;text-decoration:none}");var an=function(e){var n=e.text,o=e.href,a=e.renderAsButton,r=void 0!==a&&a,i=e.status,l=void 0===i?"primary":i,c=e.onClick,s=void 0===c?void 0:c,u=f(e,["text","href","renderAsButton","status","onClick"]),d=["".concat(v,"-content-link ").concat(on.base)];return r&&(d.push("".concat(v,"-content-link--button ").concat(D.base," ").concat(D["status--"+l])),d.push("".concat(v,"-link-render-as-button ").concat(on.renderAsButton))),d.push("".concat(v,"-content-link--").concat(l," ").concat(on["status--"+l])),u.className&&d.push(u.className),null!==n&&""!==o||(n=o),t.jsxs("a",_({id:u.id,className:d.join(" "),target:u.target,href:o,role:r?"button":void 0,onClick:s},{children:[null!=n&&""!==n&&t.jsx("span",_({id:u.id?"".concat(v,"-content-link-text-").concat(u.id):void 0,className:"".concat(v,"-content-link-text ").concat(on.text)},{children:n})),u.children]}))};s("");var rn=function(e){var t=f(e,[]),o=n.useState(t.in?"entered":"exited"),a=o[0],r=o[1],i=n.useState(!1),l=i[0],c=i[1],s=function(){var e,n,o,a=t.timeout;return n=e=o=a,null!=a&&"number"!=typeof a&&(n=a.exit,e=a.enter,o=a.appear),{enter:e,exit:n,appear:o}};n.useEffect(function(){var e;return t.in?e=function(){r("entering");var e=setTimeout(function(){r("entered")},l?s().enter:s().appear);return l||c(!0),e}():(r("exiting"),e=setTimeout(function(){r("exited")},s().exit)),function(){clearTimeout(e)}},[t.in]);var u=["".concat(v,"-transition ").concat("transition-module__base_9322_MFZcd")];return t.className&&u.push(t.className),"function"==typeof t.children?t.children(a):t.children},ln={base:"carousel-module__base_9322_Fsw0G","button-container":"carousel-module__button-container_9322_Vjvkp",button:"carousel-module__button_9322_31let",container:"carousel-module__container_9322_OVAyo",content:"carousel-module__content_9322_1fpWK",active:"carousel-module__active_9322_8CEN4",caption:"carousel-module__caption_9322_-JKlQ",previous:"carousel-module__previous_9322_03xXH",next:"carousel-module__next_9322_JvVKd",indicators:"carousel-module__indicators_9322_-UXKR","animation--slide":"carousel-module__animation--slide_9322_-KRz8","slide-left":"carousel-module__slide-left_9322_zx-Gf","slide-out-right":"carousel-module__slide-out-right_9322_hfPvj","slide-right":"carousel-module__slide-right_9322_N0CK7","slide-out-left":"carousel-module__slide-out-left_9322_-sDQZ",exiting:"carousel-module__exiting_9322_eOGYv","animation--fade":"carousel-module__animation--fade_9322_qMxRm","theme--dark":"carousel-module__theme--dark_9322_PzHW5","indicator-item":"carousel-module__indicator-item_9322_vaRQO",miniature:"carousel-module__miniature_9322_99wr2","description-position--over":"carousel-module__description-position--over_9322_ogrqv","description-position--under":"carousel-module__description-position--under_9322_tQw61"};s(".carousel-module__base_9322_Fsw0G .carousel-module__button-container_9322_Vjvkp .carousel-module__button_9322_31let{-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;-webkit-appearance:none;background:#0000;border:none;color:inherit;font:inherit;line-height:normal;margin:0;overflow:visible;padding:0;width:auto}.carousel-module__base_9322_Fsw0G,.carousel-module__base_9322_Fsw0G .carousel-module__container_9322_OVAyo{display:block;position:relative}.carousel-module__base_9322_Fsw0G .carousel-module__content_9322_1fpWK{display:block;min-height:200px;overflow:hidden;position:relative;width:100%}
1.carousel-module__base_9322_Fsw0G .carousel-module__content_9322_1fpWK>div{-webkit-box-align:center;align-items:center;bottom:0;display:none;left:0;perspective:1000px;position:relative;right:0;top:0}.carousel-module__base_9322_Fsw0G .carousel-module__content_9322_1fpWK .carousel-module__active_9322_8CEN4{display:block;z-index:1}.carousel-module__base_9322_Fsw0G .carousel-module__content_9322_1fpWK .carousel-module__caption_9322_-JKlQ{backdrop-filter:blur(3px);background-color:#2d2d2dcc;bottom:25px;color:#fff;display:block;left:20%;padding-bottom:10px;padding-top:10px;position:absolute;right:20%;text-align:center}@media only screen and (max-width:48em){.carousel-module__base_9322_Fsw0G .carousel-module__content_9322_1fpWK .carousel-module__caption_9322_-JKlQ{margin-top:.5rem;position:static}}.carousel-module__base_9322_Fsw0G .carousel-module__button-container_9322_Vjvkp{align-items:center;bottom:0;cursor:pointer;display:flex;justify-content:center;opacity:0;position:absolute;top:0;z-index:5}.carousel-module__base_9322_Fsw0G .carousel-module__button-container_9322_Vjvkp .carousel-module__button_9322_31let{align-items:center;background-color:var(--bc-background-color);border:1px solid var(--bc-border-color);border-radius:100%;cursor:pointer;display:inline-flex;height:fit-content;height:2.5rem;justify-content:center;width:2.5rem}.carousel-module__base_9322_Fsw0G .carousel-module__button-container_9322_Vjvkp .carousel-module__button_9322_31let:focus,.carousel-module__base_9322_Fsw0G .carousel-module__button-container_9322_Vjvkp .carousel-module__button_9322_31let:hover{background-color:var(--bc-c-action-primary-hover);border-color:var(--bc-c-action-primary-hover);color:var(--bc-c-action-primary-foreground-hover)}.carousel-module__base_9322_Fsw0G .carousel-module__previous_9322_03xXH{left:5px}.carousel-module__base_9322_Fsw0G .carousel-module__next_9322_JvVKd{right:5px}.carousel-module__base_9322_Fsw0G:focus-within .carousel-module__button-container_9322_Vjvkp,.carousel-module__base_9322_Fsw0G:hover .carousel-module__button-container_9322_Vjvkp{opacity:1}.carousel-module__base_9322_Fsw0G .carousel-module__indicators_9322_-UXKR{-webkit-box-pack:center;bottom:10px;display:flex;flex-wrap:wrap;justify-content:center;margin:1rem 15%;padding-left:0;z-index:100}@keyframes carousel-module__slide-left_9322_zx-Gf{0%{transform:translateX(-100%)}to{transform:translateX(0)}}@keyframes carousel-module__slide-right_9322_N0CK7{0%{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes carousel-module__slide-out-left_9322_-sDQZ{0%{transform:translateX(0)}to{transform:translateX(100%)}}@keyframes carousel-module__slide-out-right_9322_hfPvj{0%{transform:translateX(0)}to{transform:translateX(-100%)}}.carousel-module__base_9322_Fsw0G.carousel-module__animation--slide_9322_-KRz8 .carousel-module__content_9322_1fpWK>div{display:block;opacity:0;position:absolute;transition:all .5s ease-in-out}.carousel-module__base_9322_Fsw0G.carousel-module__animation--slide_9322_-KRz8 .carousel-module__content_9322_1fpWK .carousel-module__active_9322_8CEN4{opacity:1;position:relative}.carousel-module__base_9322_Fsw0G.carousel-module__animation--slide_9322_-KRz8 .carousel-module__content_9322_1fpWK .carousel-module__slide-left_9322_zx-Gf{animation:carousel-module__slide-out-right_9322_hfPvj .5s ease-in-out;display:block}.carousel-module__base_9322_Fsw0G.carousel-module__animation--slide_9322_-KRz8 .carousel-module__content_9322_1fpWK .carousel-module__slide-left_9322_zx-Gf.carousel-module__active_9322_8CEN4{animation:carousel-module__slide-right_9322_N0CK7 .5s ease-in-out}.carousel-module__base_9322_Fsw0G.carousel-module__animation--slide_9322_-KRz8 .carousel-module__content_9322_1fpWK .carousel-module__slide-right_9322_N0CK7{animation:carousel-module__slide-out-left_9322_-sDQZ .5s ease-in-out;display:block}.carousel-module__base_9322_Fsw0G.carousel-module__animation--slide_9322_-KRz8 .carousel-module__content_9322_1fpWK .carousel-module__slide-right_9322_N0CK7.carousel-module__active_9322_8CEN4{animation:carousel-module__slide-left_9322_zx-Gf .5s ease-in-out}.carousel-module__base_9322_Fsw0G.carousel-module__animation--slide_9322_-KRz8 .carousel-module__content_9322_1fpWK .carousel-module__exiting_9322_eOGYv{display:block;position:absolute}.carousel-module__base_9322_Fsw0G.carousel-module__animation--fade_9322_qMxRm .carousel-module__content_9322_1fpWK{position:relative}.carousel-module__base_9322_Fsw0G.carousel-module__animation--fade_9322_qMxRm .carousel-module__content_9322_1fpWK>div{display:block;opacity:0;position:absolute;transition:opacity .5s ease-in-out}.carousel-module__base_9322_Fsw0G.carousel-module__animation--fade_9322_qMxRm .carousel-module__content_9322_1fpWK .carousel-module__active_9322_8CEN4{opacity:1;position:relative}.carousel-module__base_9322_Fsw0G.carousel-module__animation--fade_9322_qMxRm .carousel-module__content_9322_1fpWK .carousel-module__exiting_9322_eOGYv{display:block;position:absolute}.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__caption_9322_-JKlQ{background-color:#2d2d2dcc;color:#fff}.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__indicator-item_9322_vaRQO{border:1px solid #000}.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__next_9322_JvVKd .carousel-module__button_9322_31let,.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__previous_9322_03xXH .carousel-module__button_9322_31let{background-color:var(--bc-primary-color-500)}.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__next_9322_JvVKd .carousel-module__button_9322_31let i,.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__previous_9322_03xXH .carousel-module__button_9322_31let i{color:#fff}.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__next_9322_JvVKd .carousel-module__button_9322_31let:focus,.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__next_9322_JvVKd .carousel-module__button_9322_31let:hover,.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__previous_9322_03xXH .carousel-module__button_9322_31let:focus,.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__previous_9322_03xXH .carousel-module__button_9322_31let:hover{background-color:var(--bc-c-action-secondary-hover);border-color:#000}.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__next_9322_JvVKd .carousel-module__button_9322_31let:focus i,.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__next_9322_JvVKd .carousel-module__button_9322_31let:hover i,.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__previous_9322_03xXH .carousel-module__button_9322_31let:focus i,.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__previous_9322_03xXH .carousel-module__button_9322_31let:hover i{color:#000}.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__miniature_9322_99wr2{border-color:#fff}.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__miniature_9322_99wr2:
1active,.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__miniature_9322_99wr2:focus,.carousel-module__base_9322_Fsw0G.carousel-module__theme--dark_9322_PzHW5 .carousel-module__miniature_9322_99wr2:hover{outline-color:#fff}.carousel-module__base_9322_Fsw0G.carousel-module__description-position--under_9322_tQw61 .carousel-module__caption_9322_-JKlQ{margin-top:.5rem;position:static}");var cn=n.createContext({}),sn=function(e){return e.className&&[ln.miniature,"bc-carousel-miniature"].push(e.className),t.jsx("div",_({className:e.className},{children:e.children}))},un=function(e){var o=n.useContext(cn),a=o.selected,r=o.previousSelected,i=[e.className];return e.active&&i.push(ln.active,"active"),"entering"===e.status&&i.push(ln.entering,"entering"),"exiting"===e.status&&i.push(ln.exiting,"exiting"),"entering"!==e.status&&"exiting"!==e.status||(a<r&&i.push(ln["slide-right"],"slide-right"),a>r&&i.push(ln["slide-left"],"slide-left")),t.jsx("div",_({className:i.join(" "),role:"group","aria-roledescription":"slide"},{children:e.children}))};s('.indicators-module__miniature_9322_tp9RA{cursor:pointer;display:none;height:100px;margin:0 .5rem;opacity:.5;transition:all .5s ease-in-out;width:auto}.indicators-module__miniature_9322_tp9RA img{height:100px;width:auto}.indicators-module__miniature_9322_tp9RA .indicators-module__caption_9322_T-iuS{display:none}.indicators-module__miniature_9322_tp9RA.indicators-module__visible_9322_97vKL{display:initial}.indicators-module__miniature_9322_tp9RA:active,.indicators-module__miniature_9322_tp9RA:hover{outline:2px solid var(--bc-primary-color-500)}.indicators-module__miniature_9322_tp9RA.indicators-module__active_9322_HO6RG{box-shadow:0 0 0 2px var(--bc-primary-color-500);opacity:1}.indicators-module__indicator-item_9322_Qw7lY{background-color:var(--bc-background-color);border:1px solid var(--bc-border-color);border-radius:50%;content:" ";cursor:pointer;display:block;height:1rem;margin-bottom:.5rem;margin-left:.5rem;margin-right:.5rem;width:1rem}.indicators-module__indicator-item_9322_Qw7lY:hover{background-color:var(--bc-background-color-2)}.indicators-module__indicator-item_9322_Qw7lY.indicators-module__active_9322_HO6RG{background-color:var(--bc-primary-color-500)}');var dn=function(e){var o=n.useContext(cn),a=o.selected,r=o.setSelected;return t.jsx(t.Fragment,{children:n.Children.map(e.children,function(o,i){var l=n.isValidElement(o)&&o.props.children?n.Children.toArray(o.props.children).filter(function(e){return"string"!=typeof e&&"number"!=typeof e&&"type"in e&&(null==e?void 0:e.type)===sn}):null,c=[];return(null==l?void 0:l.length)&&c.push("indicators-module__miniature_9322_tp9RA","".concat(v,"-carousel-miniature")),l&&(null==l?void 0:l.length)||c.push("indicators-module__indicator-item_9322_Qw7lY","".concat(v,"-carousel-indicator-item")),(null==l?void 0:l.length)&&Math.abs(a-i)<2&&c.push("indicators-module__visible_9322_97vKL","visible"),a===i&&c.push("indicators-module__active_9322_HO6RG","active"),t.jsx("div",_({role:"button",tabIndex:0,"aria-label":"".concat(e.indicatorText," ").concat(i+1),className:c.join(" "),onClick:function(){return r(i)},onKeyDown:function(t){return e.onIndicatorKeyDown(t,i)}},{children:l}),"carousel-miniature-"+i)})})},mn=function(e){var o,a,r,i,c,s,u,d,m=l.default.useContext(cn).selected;return t.jsxs("div",_({className:e.className,role:"region","aria-roledescription":"carousel","aria-label":null!==(a=null===(o=e.translations)||void 0===o?void 0:o.carousel)&&void 0!==a?a:"carousel"},{children:[t.jsxs("div",_({className:"".concat(ln.container," ").concat(v,"-carousel-container")},{children:[t.jsx("div",_({onClick:e.prevSlide,className:"".concat(ln["button-container"]," ").concat(ln.previous," ").concat(v,"-carousel-previous")},{children:t.jsx("button",_({ref:e.refPreviousButton,type:"button",className:ln.button,"aria-label":null!==(i=null===(r=e.translations)||void 0===r?void 0:r.previousSlide)&&void 0!==i?i:"previous slide",onKeyDown:function(t){return e.onKeyDownArrow(t)}},{children:t.jsx(L,{icon:"ri-arrow-left-s-line",size:"ri-2x"})}))})),t.jsx("div",_({className:"".concat(ln.content," ").concat(v,"-carousel-content")},{children:n.Children.map(e.children,function(e,o){return t.jsx(rn,_({in:m===o,timeout:500},{children:function(a){var r=n.Children.map(e.props.children,function(e){if(e&&(null==e?void 0:e.type)!=sn)return n.cloneElement(e,{selected:m===o})});return t.jsx(un,_({status:a,index:o,active:m===o},{children:r}))}}),"carousel-element-"+o)})})),t.jsx("div",_({onClick:e.nextSlide,className:"".concat(ln["button-container"]," ").concat(ln.next," ").concat(v,"-carousel-next")},{children:t.jsx("button",_({ref:e.refNextButton,type:"button",className:ln.button,"aria-label":null!==(s=null===(c=e.translations)||void 0===c?void 0:c.nextSlide)&&void 0!==s?s:"next slide",onKeyDown:function(t){return e.onKeyDownArrow(t)}},{children:t.jsx(L,{icon:"ri-arrow-right-s-line",size:"ri-2x"})}))}))]})),t.jsx("div",_({className:"".concat(ln.indicators," ").concat(v,"-carousel-indicators")},{children:t.jsx(dn,_({indicatorText:null!==(d=null===(u=e.translations)||void 0===u?void 0:u.indicatorText)&&void 0!==d?d:"",onIndicatorKeyDown:e.onIndicatorKeyDown},{children:e.children}))}))]}))},_n=function(e){return!e.children||"string"==typeof e.children&&!e.children.length?null:t.jsx("div",_({className:[ln.caption,"".concat(v,"-carousel-caption")].join(" ")},{children:e.children}))},pn=function(e){return t.jsx(t.Fragment,{children:e.children})},fn={base:"step-module__base_9322_dl6a0",indicator:"step-module__indicator_9322_BAFSF","indicator-dot":"step-module__indicator-dot_9322_sLlV9",icon:"step-module__icon_9322_RIHuu",dot:"step-module__dot_9322_QzmWG","indicator-line":"step-module__indicator-line_9322_YxoLc",pending:"step-module__pending_9322_IO
1X1n",inProgress:"step-module__inProgress_9322_WMMb7",content:"step-module__content_9322_MyQLk","content-title":"step-module__content-title_9322_pQQhr",substep:"step-module__substep_9322_93s8B"};s(".step-module__base_9322_dl6a0{display:flex;flex-direction:row}.step-module__base_9322_dl6a0 .step-module__indicator_9322_BAFSF{align-items:center;display:flex;flex-direction:column;width:4rem}.step-module__base_9322_dl6a0 .step-module__indicator_9322_BAFSF .step-module__indicator-dot_9322_sLlV9{align-items:center;background-color:#d3d3d3;border:3px solid #4b4b4b;border-radius:50%;display:flex;height:4rem;justify-content:center;width:4rem}.step-module__base_9322_dl6a0 .step-module__indicator_9322_BAFSF .step-module__indicator-dot_9322_sLlV9 .step-module__icon_9322_RIHuu{font-size:2.5rem}.step-module__base_9322_dl6a0 .step-module__indicator_9322_BAFSF .step-module__indicator-dot_9322_sLlV9 .step-module__dot_9322_QzmWG{background-color:#4b4b4b;border-radius:50%;height:2.5rem;width:2.5rem}.step-module__base_9322_dl6a0 .step-module__indicator_9322_BAFSF .step-module__indicator-line_9322_YxoLc{border-left:3px solid #4b4b4b;height:calc(100% - 4rem - 16px);margin:4px auto;width:1px}.step-module__base_9322_dl6a0 .step-module__indicator_9322_BAFSF .step-module__indicator-line_9322_YxoLc.step-module__inProgress_9322_WMMb7,.step-module__base_9322_dl6a0 .step-module__indicator_9322_BAFSF .step-module__indicator-line_9322_YxoLc.step-module__pending_9322_IOX1n{border-left-style:dashed}.step-module__base_9322_dl6a0 .step-module__content_9322_MyQLk{flex-grow:1;margin-left:2rem;padding-bottom:1rem}.step-module__base_9322_dl6a0 .step-module__content_9322_MyQLk .step-module__content-title_9322_pQQhr{margin-top:1rem}.step-module__base_9322_dl6a0.step-module__substep_9322_93s8B .step-module__indicator_9322_BAFSF .step-module__indicator-dot_9322_sLlV9{height:2rem;width:2rem}.step-module__base_9322_dl6a0.step-module__substep_9322_93s8B .step-module__indicator_9322_BAFSF .step-module__indicator-dot_9322_sLlV9 .step-module__icon_9322_RIHuu{font-size:1.5rem}.step-module__base_9322_dl6a0.step-module__substep_9322_93s8B .step-module__indicator_9322_BAFSF .step-module__indicator-dot_9322_sLlV9 .step-module__dot_9322_QzmWG{height:1.5rem;width:1.5rem}.step-module__base_9322_dl6a0.step-module__substep_9322_93s8B .step-module__indicator_9322_BAFSF .step-module__indicator-line_9322_YxoLc{height:calc(100% - 2rem - 16px)}");var bn=function(e){var n,o="complete"===e.status?"ri-check-line icon":"dot";o="pending"===e.status?"empty":o;var a=["".concat(v,"-timeline-step"),fn.base];return e.substep&&a.push("substep",fn.substep),t.jsxs("div",_({className:a.join(" ")},{children:[t.jsxs("div",_({className:"".concat(v,"-timeline-step-indicator ").concat(fn.indicator)},{children:[t.jsx("div",_({className:"".concat(v,"-timeline-step-indicator-dot ").concat(fn["indicator-dot"])},{children:t.jsx("i",{className:o+" bc-icon"})})),t.jsx("div",{className:"".concat(v,"-timeline-step-indicator-line ").concat(fn["indicator-line"])+" "+e.status+" "+fn[null!==(n=e.status)&&void 0!==n?n:""]})]})),t.jsxs("div",_({className:"".concat(v,"-timeline-step-content ").concat(fn.content)},{children:[e.title&&t.jsx("div",_({className:"".concat(v,"-timeline-step-content-title ").concat(fn["content-title"])},{children:e.title})),e.description&&t.jsx("div",_({className:"".concat(v,"-timeline-step-content-description")},{children:e.description})),e.children]}))]}))},hn={};s("");var gn=Object.assign(function(e){var o=n.useMemo(function(){var n=[];return l.default.Children.forEach(e.children,function(e){if(l.default.isValidElement(e)&&e.type===t.jsx(bn,{children:" "}).type){var o={children:l.default.Children.toArray(e.props.children).filter(function(e){return l.default.isValidElement(e)&&e.type!==t.jsx(bn,{children:" "}).type})};n.push(l.default.cloneElement(e,o)),n.push(l.default.Children.toArray(e.props.children).filter(function(e){return l.default.isValidElement(e)&&e.type===t.jsx(bn,{children:" "}).type}).map(function(e){return l.default.isValidElement(e)?l.default.cloneElement(e,{substep:!0}):null}))}}),n},[e.children]),a=["".concat(v,"-timeline"),hn.base];return e.className&&a.push(e.className),t.jsx("div",_({className:a.join(" ")},{children:o}))},{Milestone:bn}),vn={base:"wizard-module__base_9322_xhVqg",indicators:"wizard-module__indicators_9322_F9Yl-",active:"wizard-module__active_9322_E7NXN",disabled:"wizard-module__disabled_9322_fQJQH",content:"wizard-module__content_9322_y-nPr","wizard-page":"wizard-module__wizard-page_9322_ZL2AO",hidden:"wizard-module__hidden_9322_36pTK",controls:"wizard-module__controls_9322_N1Sru",backButton:"wizard-module__backButton_9322_Ndzzg"};
1s(".wizard-module__base_9322_xhVqg .wizard-module__indicators_9322_F9Yl-{align-items:center;display:flex;flex-direction:row;justify-content:center}.wizard-module__base_9322_xhVqg .wizard-module__indicators_9322_F9Yl- button{align-items:center;aspect-ratio:1;border:1px solid var(--bc-primary-color-500);border-radius:100%;cursor:pointer;display:flex;font-size:large;font-weight:700;height:50px;justify-content:center;margin:1rem;padding:1rem;text-align:center;user-select:none;width:50px}.wizard-module__base_9322_xhVqg .wizard-module__indicators_9322_F9Yl- button:hover{background-color:var(--bc-primary-color-100)}.wizard-module__base_9322_xhVqg .wizard-module__indicators_9322_F9Yl- button.wizard-module__active_9322_E7NXN{background-color:var(--bc-primary-color-500);color:#fff}.wizard-module__base_9322_xhVqg .wizard-module__indicators_9322_F9Yl- button.wizard-module__active_9322_E7NXN:hover{background-color:var(--bc-primary-color-400)}.wizard-module__base_9322_xhVqg .wizard-module__indicators_9322_F9Yl- button.wizard-module__disabled_9322_fQJQH{border-color:var(--bc-border-color-disabled);color:var(--bc-border-color-disabled);pointer-events:none}.wizard-module__base_9322_xhVqg .wizard-module__content_9322_y-nPr{min-height:100px}.wizard-module__base_9322_xhVqg .wizard-module__content_9322_y-nPr .wizard-module__wizard-page_9322_ZL2AO.wizard-module__hidden_9322_36pTK{display:none}.wizard-module__base_9322_xhVqg .wizard-module__controls_9322_N1Sru{align-items:center;display:flex;flex-direction:row;margin-top:1rem}.wizard-module__base_9322_xhVqg .wizard-module__controls_9322_N1Sru .wizard-module__backButton_9322_Ndzzg{margin-left:1rem;padding-left:1rem;padding-right:1rem}.wizard-module__base_9322_xhVqg .wizard-module__controls_9322_N1Sru .wizard-module__backButton_9322_Ndzzg:only-child{margin-left:0}");var yn=function(e){var n=["".concat(v,"-wizard-page"),vn["wizard-page"]];return e.show||n.push("hidden",vn.hidden),e.className&&n.push(e.className),t.jsx("div",_({className:n.join(" "),id:e.id},{children:e.children}))},xn=Object.assign(function(e){var o,a,r,l,c,s,u,d,m,p,b,h,g,y=f(e,[]),x=n.useState(1),k=x[0],w=x[1],C=n.useState(2),S=C[0],N=C[1],T=null!==(o=i.Children.map(y.children,function(e,t){if(i.isValidElement(e))return i.cloneElement(e,{show:k===t+1})}))&&void 0!==o?o:[],j=i.Children.map(T,function(e,n){var o=[],a=i.isValidElement(e)&&e.props.disabled||n+1>=S;return a&&o.push("disabled",vn.disabled),n+1===k&&o.push("active",vn.active),t.jsx("button",_({type:"button",tabIndex:a?-1:0,className:o.join(" "),onClick:y.indicatorNavigation&&i.isValidElement(e)&&!e.props.disabled?function(){return w(n+1)}:void 0},{children:n+1}))}),E=["".concat(v,"-wizard"),vn.base];E.push("".concat(v,"-wizard--theme-").concat(y.theme),vn["theme--"+y.theme]),y.className&&E.push(y.className);var P=!1,D=T[k],A=T[k-1],R=null!==(c=null!==(r=i.isValidElement(A)?null===(a=A.props.texts)||void 0===a?void 0:a.back:void 0)&&void 0!==r?r:null===(l=y.texts)||void 0===l?void 0:l.back)&&void 0!==c?c:"Tilbake",L=null!==(m=null!==(u=i.isValidElement(A)?null===(s=A.props.texts)||void 0===s?void 0:s.next:void 0)&&void 0!==u?u:null===(d=y.texts)||void 0===d?void 0:d.next)&&void 0!==m?m:"Neste",M=null!==(g=null!==(b=i.isValidElement(A)?null===(p=A.props.texts)||void 0===p?void 0:p.submit:void 0)&&void 0!==b?b:null===(h=y.texts)||void 0===h?void 0:h.submit)&&void 0!==g?g:"Fullfør";i.isValidElement(D)&&(P=!D.props.disabled);var I=function(e){y.indicatorNavigation&&("ArrowRight"===e.key?k<T.length&&F():"ArrowLeft"===e.key&&k>1&&O())},F=function(){i.isValidElement(A)&&A.props.validate?A.props.validate()&&(w(k+1),N(k+2)):(w(k+1),N(k+2))},O=function(){w(k-1)};return t.jsxs("div",_({className:E.join(" "),id:y.id},{children:[y.showIndicator&&("top"===y.indicatorPosition||void 0===y.indicatorPosition)&&t.jsx("div",_({className:"".concat(v,"-indicators ").concat(vn.indicators),onKeyDown:I},{children:j})),t.jsx("div",_({className:"".concat(v,"-content ").concat(vn.content),onChange:function(){N(k+1)}},{children:T})),y.showIndicator&&"bottom"===y.indicatorPosition&&t.jsx("div",_({className:"".concat(v,"-indicators ").concat(vn.indicators),onKeyDown:I},{children:j})),(y.showNext||y.showBack)&&t.jsxs("div",_({className:"".concat(v,"-control
1s ").concat(vn.controls)},{children:[T&&y.showNext&&P&&k<T.length&&t.jsx(z,{className:"".concat(v,"-next-button ").concat(vn.nextButton),loading:i.isValidElement(A)&&A.props.loading,type:"button",text:L,onClick:F}),T&&y.showSubmit&&k===T.length&&t.jsx(z,{className:"".concat(v,"-next-button ").concat(vn.nextButton),loading:i.isValidElement(A)&&A.props.loading,type:"button",text:M,onClick:function(){i.isValidElement(A)&&A.props.validate&&A.props.validate()&&y.onSubmit&&y.onSubmit()}}),T&&y.showBack&&k>1&&t.jsx(z,{className:"".concat(v,"-back-button ").concat(vn.backButton),type:"button",text:R,theme:y.theme,appearance:"link",onClick:O})]}))]}))},{Step:yn});s('.toggle-module__base_9322_alGWt{min-width:5rem;width:5rem}.toggle-module__base_9322_alGWt .toggle-module__toggleInput_9322_zNGat{cursor:pointer;margin:0;min-height:2rem;min-width:5rem;opacity:0;position:absolute;width:5rem;z-index:1}.toggle-module__base_9322_alGWt .toggle-module__toggleInput_9322_zNGat+.toggle-module__toggle_9322_co2Gf{background-color:var(--bc-primary-color-200);border-color:var(--bc-c-border-input);border-radius:2rem;border-style:solid;border-width:.125rem;content:"";display:inline-block;min-height:2rem;min-width:5rem;position:relative;transition:all .3s;vertical-align:bottom;width:100%}.toggle-module__base_9322_alGWt .toggle-module__toggleInput_9322_zNGat+.toggle-module__toggle_9322_co2Gf .toggle-module__toggleInner_9322_-h1J3{text-wrap:none;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);user-select:none}.toggle-module__base_9322_alGWt .toggle-module__toggleInput_9322_zNGat+.toggle-module__toggle_9322_co2Gf .toggle-module__icon_9322_i4H6T{background-color:var(--bc-background-color);border-radius:100%;color:#000;display:block;font-size:1.5rem;font-weight:600;left:1rem;position:absolute;top:50%;transform:translate(-50%,-50%);transition:all .3s}.toggle-module__base_9322_alGWt .toggle-module__toggleInput_9322_zNGat:focus+.toggle-module__toggle_9322_co2Gf{box-shadow:0 0 0 .2rem var(--bc-c-action-primary)}.toggle-module__base_9322_alGWt .toggle-module__toggleInput_9322_zNGat:checked+.toggle-module__toggle_9322_co2Gf{background-color:var(--bc-primary-color-500);height:2rem}.toggle-module__base_9322_alGWt .toggle-module__toggleInput_9322_zNGat:checked+.toggle-module__toggle_9322_co2Gf .toggle-module__toggleInner_9322_-h1J3{color:#fff}.toggle-module__base_9322_alGWt .toggle-module__toggleInput_9322_zNGat:checked+.toggle-module__toggle_9322_co2Gf .toggle-module__icon_9322_i4H6T{left:calc(100% - 1rem);top:50%;transform:translate(-50%,-50%)}'),s(".dynamicIcon-module__base_9322_NiQpG{display:inline-block;position:relative}.dynamicIcon-module__base_9322_NiQpG .dynamicIcon-module__leftCross_9322_-o-uk,.dynamicIcon-module__base_9322_NiQpG .dynamicIcon-module__rightCross_9322_b8enE{background-color:currentColor;border-radius:2px;color:var(--bc-c-text-primary);left:50%;position:absolute;top:50%;transform-origin:center;transition:transform .3s ease}.dynamicIcon-module__base_9322_NiQpG .dynamicIcon-module__leftCross_9322_-o-uk{transform:translateX(-50%) translateY(-50%) rotate(45deg)}.dynamicIcon-module__base_9322_NiQpG .dynamicIcon-module__rightCross_9322_b8enE{transform:translateX(-50%) translateY(-50%) rotate(-45deg)}.dynamicIcon-module__base_9322_NiQpG.dynamicIcon-module__active_9322_aInys .dynamicIcon-module__leftCross_9322_-o-uk{transform:translateX(-240%) translateY(-25%) rotate(-45deg) scaleY(.5)}.dynamicIcon-module__base_9322_NiQpG.dynamicIcon-module__active_9322_aInys .dynamicIcon-module__rightCross_9322_b8enE{transform:translateX(50%) translateY(-40%) rotate(45deg) scaleX(1.2)}");var kn=function(e){var n=e.active,o=void 0!==n&&n,a=e.size,r=void 0===a?16:a,i=e.className,l=f(e,["active","size","className"]),c=["".concat(v,"-dynamic-icon"),"dynamicIcon-module__base_9322_NiQpG"];i&&c.push(i),o&&c.push("dynamicIcon-module__active_9322_aInys");var s={width:"".concat(r,"px"),height:"".concat(r,"px")},u={width:"".concat(.125*r,"px"),height:"".concat(.8*r,"px")};return t.jsxs("div",_({className:c.join(" "),style:s},l,{children:[t.jsx("span",{className:"dynamicIcon-module__leftCross_9322_-o-uk",style:u}),t.jsx("span",{className:"dynamicIcon-module__rightCross_9322_b8enE",style:u})]}))},wn=function(e){var o,a,r=e.className,i=e.innerText,l=e.innerTextHorizontalPadding,c=void 0===l?"1rem":l,s=f(e,["className","innerText","innerTextHorizontalPadding"]),u=n.useState(null!==(a=null!==(o=s.checked)&&void 0!==o?o:s.defaultChecked)&&void 0!==a&&a),d=u[0],m=u[1],p=["".concat(v,"-toggle"),"toggle-module__base_9322_alGWt"];r&&p.push(r);var b=i?"calc(".concat(Math.max(i.length,2),"ch + 2.5rem + ").concat(c,")"):"";return t.jsxs("div",_({className:p.join(" "),style:{width:b}},{children:[t.jsx("input",_({}
1,s,{type:"checkbox",className:"toggle-module__toggleInput_9322_zNGat",onChange:function(e){m(e.target.checked),s.onChange&&s.onChange(e)},role:"switch",style:{width:b}})),t.jsxs("span",_({className:"toggle-module__toggle_9322_co2Gf"},{children:[t.jsx("span",_({className:"toggle-module__toggleInner_9322_-h1J3","aria-hidden":"true"},{children:i})),t.jsx(kn,{active:d,className:"toggle-module__icon_9322_i4H6T",size:24})]}))]}))},Cn=new Map;Cn.set("input",at),Cn.set("textarea",Pt),Cn.set("file",File),Cn.set("datepicker",te),Cn.set("singledatepicker",Rt),Cn.set("form",St),Cn.set("select",Gt),Cn.set("select.option",Gt.Option),Cn.set("radiogroup",xt),Cn.set("radio",st),Cn.set("checkboxgroup",Kt),Cn.set("checkbox",jt),Cn.set("reCAPTCHA",Jt),Cn.set("button",z),Cn.set("avatar",$t),Cn.set("icon",L),Cn.set("paragraph",nn),Cn.set("link",an),Cn.set("collapsible",gt),Cn.set("timeline",gn),Cn.set("timelineMilestone",gn.Milestone),Cn.set("carousel",mn),Cn.set("carouselItem",pn),Cn.set("carouselCaption",_n),Cn.set("carouselMiniature",sn),Cn.set("wizard",xn),Cn.set("wizardStep",xn.Step),Cn.set("col",w),Cn.set("row",x),Cn.set("container",y),Cn.set("flowToggle",function(e){var o,a=n.useState(null!==(o=e.defaultChecked)&&void 0!==o&&o),r=a[0],i=a[1];return t.jsxs(t.Fragment,{children:[t.jsx(wn,{onChange:function(e){i(e.target.checked)}}),r?e.children:null]})});var Sn=function(e,n,o,a){return o?o.map(function(o,a){var r,i=null!==(r=n.get(o.type))&&void 0!==r?r:l.default.Fragment;return t.jsx(i,_({},o.props,{children:Sn(e,n,o.elements)}),o.type+(new Date).valueOf()+"-"+a)}):null};s("");var Nn={base:"summary-module__base_9322_7R-7K",group:"summary-module__group_9322_TlTaX","group-body":"summary-module__group-body_9322_CXk4j","group-body-field":"summary-module__group-body-field_9322_420rT","group-body-field-container":"summary-module__group-body-field-container_9322_t4MEm","theme--dark":"summary-module__theme--dark_9322_O4LYA","group-body-field-value":"summary-module__group-body-field-value_9322_9aN-M"};s(".summary-module__base_9322_7R-7K,.summary-module__base_9322_7R-7K .summary-module__group_9322_TlTaX{display:flex;flex-direction:column}.summary-module__base_9322_7R-7K .summary-module__group_9322_TlTaX .summary-module__group-body_9322_CXk4j .summary-module__group-body-field_9322_420rT{align-items:stretch;display:flex;flex-direction:column;padding-top:1rem}.summary-module__base_9322_7R-7K .summary-module__group_9322_TlTaX .summary-module__group-body_9322_CXk4j .summary-module__group-body-field_9322_420rT label{margin-bottom:.25rem}.summary-module__base_9322_7R-7K .summary-module__group_9322_TlTaX .summary-module__group-body_9322_CXk4j .summary-module__group-body-field_9322_420rT .summary-module__group-body-field-container_9322_t4MEm{background-color:var(--bc-background-color-2);padding:.75rem;white-space:pre-wrap}.summary-module__base_9322_7R-7K.summary-module__theme--dark_9322_O4LYA{color:#fff}.summary-module__base_9322_7R-7K.summary-module__theme--dark_9322_O4LYA .summary-module__group_9322_TlTaX .summary-module__group-body_9322_CXk4j .summary-module__group-body-field_9322_420rT .summary-module__group-body-field-value_9322_9aN-M{background-color:var(--bc-dark-background-color-500)}");var Tn={base:"alert-module__base_9322_b8vAz","close-icon":"alert-module__close-icon_9322_G2fAe",primary:"alert-module__primary_9322_FNt4O",secondary:"alert-module__secondary_9322_2DRoF",success:"alert-module__success_9322_lshjs",danger:"alert-module__danger_9322_fm8gR",warning:"alert-module__warning_9322_zuYb-"};s(".alert-module__base_9322_b8vAz{border:1px solid var(--bc-primary-color-500);border-radius:var(--bc-border-radius);padding:1rem 2rem;position:relative}.alert-module__base_9322_b8vAz .alert-module__close-icon_9322_G2fAe{background-color:initial;cursor:pointer;position:absolute;right:.75rem;top:.75rem}.alert-module__base_9322_b8vAz .alert-module__close-icon_9322_G2fAe:focus,.alert-module__base_9322_b8vAz .alert-module__close-icon_9322_G2fAe:hover{border:none}.alert-module__base_9322_b8vAz .alert-module__close-icon_9322_G2fAe:focus i,.alert-module__base_9322_b8vAz .alert-module__close-icon_9322_G2fAe:hover i{transform:scale(1.2);transition:all .2s}.alert-module__primary_9322_FNt4O{background-color:var(--bc-primary-color-300);color:var(--bc-c-action-primary-foreground)}.alert-module__secondary_9322_2DRoF{background-color:var(--bc-primary-color-100);border-color:var(--bc-primary-color-500);color:var(--bc-c-text-secondary)}.alert-module__success_9322_lshjs{background-color:var(--bc-success-color-100);border-color:var(--bc-success-color-500);color:var(--bc-success-color-foreground)}.alert-module__danger_9322_fm8gR{background-color:var(--bc-danger-color-100);border-color:var(--bc-danger-color-500);color:var(--bc-danger-color-foreground)}.alert-module__warning_9322_zuYb-{background-color:var(--bc-warning-color-100);border-color:var(--bc-warning-color-500);color:var(--bc-warning-color-foreground)}");var jn=function(e){var o,a=e.variant,r=void 0===a?"primary":a,i=f(e,["variant"]),l=n.useState(!0),c=l[0],s=l[1];if(n.useEffect(function(){void 0!==i.show&&s(i.show)},[i.show]),!c)return null;var u=["".concat(v,"-alert"),Tn.base];return u.push("".concat(v,"-alert--").concat(r),Tn[r]),i.className&&u.push(i.className),t.jsxs("div",_({id:i.id,className:u.join(" "),role:"alert"},{children:[i.dissmisible&&t.jsx(z,_({appearance:"icon",className:"".concat(v,"-alert-close-icon ").concat(Tn["close-icon"]),type:"button",onClick:null!==(o=i.onClose)&&void 0!==o?o:function(){return s(!1)}},{children:t.jsx(L,{icon:"ri-close-line"})})),i.children]}))},En=n.createContext({});s(".collapsible-module__base_9322_YKC30 .collapsible-module__header_9322_95dxe{cursor:pointer;display:flex;justify-content:space-between}.collapsible-module__base_9322_YKC30 .collapsible-module__header_9322_95dxe .collapsible-module__title_9322_nsBgC{font-weight:700;margin:1em 0}.collapsible-module__base_9322_YKC30 .collapsible-module__--hidden_9322_YGGiY{display:none}.collapsible-module__base_9322_YKC30 .collapsible-module__buttonContainer_9322_0E5n-{margin-top:.25rem}");var Pn=function(e){var o,a,r=n.useContext(En),i=r.open,l=r.setOpen,c={type:"button",status:null!==(o=e.buttonStatus)&&void 0!==o?o:"secondary",appearance:null!==(a=e.buttonVariant)&&void 0!==a?a:"ghost"},s=_(_({},c),e.buttonProps);return t.jsxs("div",_({id:e.id,className:"".concat(v,"-content-collapsible-header ").concat("collapsible-module__header_9322_95dxe"),onClick:function(){return l(function(e){return!e})}},{children:[e.title&&""!==e.title&&t.jsx("div",_({className:"".concat(v,"-content-collapsible-title ").concat("collapsible-module__title_9322_nsBgC")},{children:e.title})),e.withButton&&t.jsx("div",_({className:"".concat(v,"-collapsible-button-container ").concat("collapsible-module__buttonContainer_9322_0E5n-")},{children:t.jsxs(z,_({}
1,s,{"aria-controls":e.ariaControlsId,"aria-expanded":i?"true":"false",onClick:function(e){e.stopPropagation(),l(function(e){return!e})}},{children:[i?e.closeText:e.openText,e.showChevron&&t.jsx(L,i?{icon:"ri-arrow-up-s-line"}:{icon:"ri-arrow-down-s-line"})]}))}))]}))};s(".body-module__--hidden_9322_817nu{display:none}");var Dn=Object.assign(function(e){var o,a,r=e.open,i=void 0===r?void 0:r,l=e.mobileDefaultOpen,c=void 0===l?void 0:l,s=e.mobileWidth,u=void 0===s?768:s,d=f(e,["open","mobileDefaultOpen","mobileWidth"]),m=null!==(o=d.as)&&void 0!==o?o:"div",p=n.useState(window.innerWidth<u?null!=c&&c:null!==(a=d.defaultOpen)&&void 0!==a&&a),b=p[0],h=p[1];n.useEffect(function(){null!=i&&h(i)},[i]);var g=bt.getClassNameAsArray("content-collapsible",d);return g.push("collapsible-module__base_9322_YKC30"),d.className&&g.push(d.className),t.jsx(En.Provider,_({value:{open:b,setOpen:h}},d.pure?{children:d.children}:{children:t.jsx(m,_({className:"".concat(g.join(" ")),id:d.id},{children:d.children}))}))},{Header:function(e){var o=n.useContext(En);return"children"in e?t.jsx(t.Fragment,"function"==typeof e.children?{children:e.children(o.open,o.setOpen)}:{children:e.children}):t.jsx(Pn,_({},e))},Body:function(e){var o=n.useContext(En).open,a=[e.className,"".concat(v,"-content-collapsible-content")];return t.jsx("div",_({className:a.join(" "),id:e.id},{children:(o||e.softHide)&&t.jsx("div",_({className:e.softHide&&!o?"".concat(v,"-content-collapsible--hidden ").concat("body-module__--hidden_9322_817nu"):""},{children:e.children}))}))}});s(".bc-content-form-control.bc-content-form-control--select .bc-content-form-select{background-color:#fff;background-color:var(--bc-background-color);border:var(--bc-input-border-width) solid var(--bc-c-border-input);box-sizing:border-box;color:var(--bc-c-text-primary);font-size:var(--bc-input-font-size);height:calc(var(--bc-input-height) - .25rem);min-height:calc(var(--bc-input-height) - .25rem);padding:0 1rem;transition:color .1s ease-in-out,background-color .1s ease-in-out;width:100%}.bc-content-form-control.bc-content-form-control--select .bc-content-form-select:hover{background-color:var(--bc-background-color);color:var(--bc-basic-color-500)}.bc-content-form-control.bc-content-form-control--select .bc-content-form-select:focus{background-color:var(--bc-background-color);border-color:var(--bc-basic-color-500);color:var(--bc-basic-color-500)}.bc-content-form-control.bc-content-form-control--select [disabled].bc-content-form-select,.bc-content-form-control.bc-content-form-control--select [readonly].bc-content-form-select{background-color:var(--bc-background-color);color:var(--basic-color-300);cursor:not-allowed}.bc-content-form-control.bc-content-form-control--select .bc-content-form-select::-ms-clear{display:none}.bc-content-form-control.bc-content-form-control--select .bc-content-form-select:-ms-input-placeholder,.bc-content-form-control.bc-content-form-control--select .bc-content-form-select::-moz-placeholder,.bc-content-form-control.bc-content-form-control--select .bc-content-form-select::-webkit-input-placeholder,.bc-content-form-control.bc-content-form-control--select .bc-content-form-select::placeholder{color:var(--bc-input-placeholder-color);opacity:1}.bc-content-form-control.bc-content-form-control--select .bc-content-form-control-dropdown--label{display:block}.bc-content-form-control.bc-content-form-control--select .bc-content-form-select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-color:var(--bc-background-color-1);background-image:url(\"data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' width='20' height='15' viewBox='0 0 1766 1024'><title></title><g id='icomoon-ignore'></g><path fill='AC-RGBA(var(--bc-primary-color-5000), 1)' d='M1765.517 146.033c0 14.074-7.077 29.909-17.69 40.468l-824.38 819.906c-10.616 10.558-26.534 17.594-40.689 17.594s-30.073-7.041-40.689-17.594l-824.38-819.906c-10.616-10.558-17.69-26.39-17.69-40.468s7.077-29.91 17.69-40.468l88.451-87.971c10.616-10.558 24.767-17.594 40.689-17.594 14.151 0 30.073 7.041 40.689 17.594l695.237 691.463 695.237-691.463c10.616-10.558 26.534-17.594 40.689-17.594s30.073 7.041 40.689 17.594l88.451 87.971c10.616 10.558 17.69 26.39 17.69 40.468z'></path></svg>\");background-position:calc(100% - 1rem);background-repeat:no-repeat;border:.125rem solid var(--bc-c-border-input);border-radius:var(--bc-border-radius);cursor:pointer;height:3.25rem;padding-left:1rem;padding-right:4rem}.bc-content-form-control.bc-content-form-control--select .bc-content-form-select::-ms-expand{display:none}.bc-content-form-control.bc-content-form-control--select .bc-content-form-select[disabled]{background-image:url(\"data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' width='20' height='15' viewBox='0 0 1766 1024'><title></title><g id='icomoon-ignore'></g><path fill='AC-RGBA(var(--basic-color-300), 1)' d='M1765.517 146.033c0 14.074-7.077 29.909-17.69 40.468l-824.38 819.906c-10.616 10.558-26.534 17.594-40.689 17.594s-30.073-7.041-40.689-17.594l-824.38-819.906c-10.616-10.558-17.69-26.39-17.69-40.468s7.077-29.91 17.69-40.468l88.451-87.971c10.616-10.558 24.767-17.594 40.689-17.594 14.151 0 30.073 7.041 40.689 17.594l695.237 691.463 695.237-691.463c10.616-10.558 26.534-17.594 40.689-17.594s30.073 7.041 40.689 17.594l88.451 87.971c10.616 10.558 17.69 26.39 17.69 40.468z'></path></svg>\")}.bc-content-form-control.bc-content-form-control--select .bc-content-form-select.compact{padding-right:0}.bc-content-form-control.bc-content-form-control--select.bc-content-form-control--hover{border-color:var(--bc-c-border-active)}.bc-content-form-control.bc-content-form-control--select.bc-content-form-control--focus{background-color:#efefef;border-color:var(--bc-c-border-active)}.bc-content-form-control.bc-content-form-control--select.bc-content-form-control--invalid{background-color:#c0392b;background-color:var(--bc-danger-color-500);border-color:#c0392b}"),s('.checkbox-module__base_9322_mJK4C{cursor:pointer;height:1.4rem;margin:0;opacity:0;position:absolute;width:1.4rem;z-index:1}.checkbox-module__base_9322_mJK4C+.checkbox-module__checkmark_9322_ozMhj{border-color:var(--bc-c-border-input);border-style:solid;border-width:.125rem;content:"";display:inline-block;height:1.4rem;min-width:1.4rem;position:relative;vertical-align:bottom;width:1.4rem}.checkbox-module__base_9322_mJK4C+.checkbox-module__checkmark_9322_ozMhj .checkbox-module__icon_9322_o15mw{color:#fff;display:none;font-weight:600}
1.checkbox-module__base_9322_mJK4C:focus+.checkbox-module__checkmark_9322_ozMhj{box-shadow:0 0 0 .2rem var(--bc-c-action-primary)}.checkbox-module__base_9322_mJK4C:checked+.checkbox-module__checkmark_9322_ozMhj{background-color:var(--bc-primary-color-500);height:1.4rem;width:1.4rem}.checkbox-module__base_9322_mJK4C:checked+.checkbox-module__checkmark_9322_ozMhj .checkbox-module__icon_9322_o15mw{display:block;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.checkbox-module__base_9322_mJK4C.checkbox-module__variant--inset_9322_tye4v:checked+.checkbox-module__checkmark_9322_ozMhj{background:#0000;box-shadow:inset 0 0 0 .4rem var(--bc-c-action-primary);transition:all .25s linear}.checkbox-module__base_9322_mJK4C.checkbox-module__variant--grow_9322_VnnOn:checked+.checkbox-module__checkmark_9322_ozMhj{background:var(--bc-c-action-primary);box-shadow:inset 0 0 0 .4rem var(--bc-c-action-primary);box-shadow:none;transition:background .25s linear;-webkit-transition:background .25s linear}');var An=function(e){var n=e.className,o=f(e,["className"]),a=["".concat(v,"-checkbox"),"checkbox-module__base_9322_mJK4C"];return n&&a.push(n),t.jsxs(t.Fragment,{children:[t.jsx("input",_({},o,{type:"checkbox",className:a.join(" ")})),t.jsx("span",_({className:"checkbox-module__checkmark_9322_ozMhj"},{children:t.jsx(L,{icon:"ri-check-line",className:"checkbox-module__icon_9322_o15mw"})}))]})};s(".digitalClockPicker-module__base_9322_n3Hkz{column-gap:2px;display:flex;flex-direction:row;height:15rem}"),s('.columnList-module__base_9322_eZQpY{height:100%;margin:0;overflow-x:hidden;overflow-y:hidden;padding:0}.columnList-module__base_9322_eZQpY:not(:last-child){border-right:1px solid #f5f5f5;margin-right:.2rem}.columnList-module__base_9322_eZQpY li{cursor:pointer;list-style:none;padding:.5rem 1rem;transition:background-color .3s ease}.columnList-module__base_9322_eZQpY li:hover{background-color:#f5f5f5}.columnList-module__base_9322_eZQpY::-webkit-scrollbar{width:.5rem}.columnList-module__base_9322_eZQpY::-webkit-scrollbar-thumb{background-color:#2d8bc5}.columnList-module__base_9322_eZQpY::-webkit-scrollbar-track{background-color:#f5f5f5}.columnList-module__base_9322_eZQpY:hover{overflow-y:auto}.columnList-module__base_9322_eZQpY:after{content:"";display:block}.columnList-module__base_9322_eZQpY [tabIndex="0"]{background-color:blue;color:#fff}.columnList-module__base_9322_eZQpY [tabIndex="0"]:hover{color:#000}');var Rn=function(e){var o=l.default.useState(0),a=o[0],r=o[1],i=n.useRef(null);return function(e,t,o){n.useEffect(function(){var t=Math.random().toString(36).substring(7);if(e.current){var n=e.current.firstChild;e.current.setAttribute("id","list-".concat(t)),e.current.insertAdjacentHTML("beforeend","<style>\n\t\t\t\t.".concat(e.current.className,"#list-").concat(t,"::after {\n\t\t\t\t\theight: ").concat(e.current.clientHeight-n.getBoundingClientRect().height,"px;\n\t\t\t\t}\n\t\t\t</style>"))}},[t,e]),n.useEffect(function(){if(null!=o&&e.current){var t=e.current.firstChild,n=e.current.querySelector('[aria-selected="true"]');n&&(e.current.scrollTop=n.offsetTop-t.getBoundingClientRect().height/2+7.5)}},[o,e])}(i,e.items.length,a),n.useEffect(function(){if(i.current){var e,t="".concat((e=document,Math.abs(window.innerWidth-e.documentElement.clientWidth)),"px");i.current.style.paddingRight=t,i.current.style.width="calc(100% + ".concat(t,")")}},[i]),n.useEffect(function(){r(e.items[0].value)},[e.items]),t.jsx("ul",_({ref:i,className:["columnList-module__base_9322_eZQpY"].join(" "),role:"listbox",tabIndex:-1},{children:e.items.map(function(e){return t.jsx("li",_({role:"option",tabIndex:a===e.value?0:-1,"aria-selected":a===e.value,onClick:function(){r(e.value)}},{children:e.label}),e.value)})}))},zn=n.createContext({}),Ln=zn.Provider;function Mn(e){var o,a,r=function(o){var a,r,i=n.useContext(zn);if(!o.name)throw new Error("withControlled: name prop is required");return t.jsx(e,_({},o,{value:null!==(r=null!==(a=o.value)&&void 0!==a?a:i.values[o.name])&&void 0!==r?r:"",onChange:function(e){var t;if(!e.target)throw new Error("withControlled: onChange event must have a target");null===(t=o.onChange)||void 0===t||t.call(o,e),i.setData(e.target.name,e.target.value)}}))};return r.displayName="withControlled(".concat(null!==(a=null!==(o=e.displayName)&&void 0!==o?o:e.name)&&void 0!==a?a:"Component",")"),r}function In(e){var o,a,r=n.forwardRef(function(o,a){var r,i,l=n.useContext(Bt);return t.jsx(e,_({},o,{id:null!==(i=null!==(r=o.id)&&void 0!==r?r:l.controlID)&&void 0!==i?i:void 0,ref:a}))});return r.displayName="withGroupControlled(".concat(null!==(a=null!==(o=e.displayName)&&void 0!==o?o:e.name)&&void 0!==a?a:"Component",")"),r}s(".input-module__base_9322_9aUtd{-webkit-appearance:none;background-color:#fff;background-color:var(--bc-background-color);border:var(--bc-input-border-width) solid var(--bc-c-border-input);box-sizing:border-box;color:var(--bc-c-text-primary);font-size:var(--bc-input-font-size);height:calc(var(--bc-input-height) - .25rem);min-height:calc(var(--bc-input-height) - .25rem);padding:0 1rem;transition:color .1s ease-in-out,background-color .1s ease-in-out;width:100%}.input-module__base_9322_9aUtd:focus,.input-module__base_9322_9aUtd:hover{background-color:var(--bc-background-color);color:var(--bc-basic-color-500)}.input-module__base_9322_9aUtd:focus{border-color:var(--bc-basic-color-500)}[disabled].input-module__base_9322_9aUtd,[readonly].input-module__base_9322_9aUtd{background-color:var(--bc-background-color);color:var(--basic-color-300);
1cursor:not-allowed}.input-module__base_9322_9aUtd::-ms-clear{display:none}.input-module__base_9322_9aUtd:-ms-input-placeholder,.input-module__base_9322_9aUtd::-moz-placeholder,.input-module__base_9322_9aUtd::-webkit-input-placeholder,.input-module__base_9322_9aUtd::placeholder{color:var(--bc-input-placeholder-color);opacity:1}");var Fn=n.forwardRef(function(e,n){var o=e.className,a=f(e,["className"]),r=["".concat(v,"-input"),"input-module__base_9322_9aUtd"];return o&&r.push(o),t.jsx("input",_({},a,{className:r.join(" "),ref:n}))});Fn.displayName="Input";var On=In(Fn);s(".textarea-module__base_9322_-3rZE{-webkit-appearance:none;background-color:#fff;background-color:var(--bc-background-color);border:var(--bc-input-border-width) solid var(--bc-c-border-input);box-sizing:border-box;color:var(--bc-c-text-primary);font-size:var(--bc-input-font-size);height:calc(var(--bc-input-height) - .25rem);min-height:calc(var(--bc-input-height) - .25rem);padding:0 1rem;transition:color .1s ease-in-out,background-color .1s ease-in-out;width:100%}.textarea-module__base_9322_-3rZE:focus,.textarea-module__base_9322_-3rZE:hover{background-color:var(--bc-background-color);color:var(--bc-basic-color-500)}.textarea-module__base_9322_-3rZE:focus{border-color:var(--bc-basic-color-500)}[disabled].textarea-module__base_9322_-3rZE,[readonly].textarea-module__base_9322_-3rZE{background-color:var(--bc-background-color);color:var(--basic-color-300);cursor:not-allowed}.textarea-module__base_9322_-3rZE::-ms-clear{display:none}.textarea-module__base_9322_-3rZE:-ms-input-placeholder,.textarea-module__base_9322_-3rZE::-moz-placeholder,.textarea-module__base_9322_-3rZE::-webkit-input-placeholder,.textarea-module__base_9322_-3rZE::placeholder{color:var(--bc-input-placeholder-color);opacity:1}.textarea-module__base_9322_-3rZE{display:block;padding:1rem}");var Bn=function(e){var n=e.className,o=f(e,["className"]),a=["".concat(v,"-textarea"),"textarea-module__base_9322_-3rZE"];return n&&a.push(n),t.jsx("textarea",_({},o,{className:a.join(" ")}))};Bn.displayName="Textarea";var Hn=In(Bn);s(".group-module__base_9322_45NLO{margin-bottom:1rem}");var Vn=function(e){var n=e.className,o=e.controlID,a=f(e,["className","controlID"]),r=["".concat(v,"-group"),"group-module__base_9322_45NLO"];return n&&r.push(n),t.jsx(Ht,_({value:{controlID:o}},{children:t.jsx("div",_({},a,{className:r.join(" ")}))}))},Un={base:"radio-module__base_9322_8dRKf",checkmark:"radio-module__checkmark_9322_84zkE","variant--inset":"radio-module__variant--inset_9322_AcFC4","variant--grow":"radio-module__variant--grow_9322_krBMf"};s('.radio-module__base_9322_8dRKf{height:1.4rem;margin:0;opacity:0;position:absolute;width:1.4rem}.radio-module__base_9322_8dRKf+.radio-module__checkmark_9322_84zkE{border:.125rem solid #000;border-radius:50%;content:"";cursor:pointer;display:inline-block;height:1.4rem;min-width:1.4rem;vertical-align:bottom;width:1.4rem}.radio-module__base_9322_8dRKf:focus+.radio-module__checkmark_9322_84zkE{outline:2px solid #000}.radio-module__base_9322_8dRKf:checked+.radio-module__checkmark_9322_84zkE{background:radial-gradient(var(--bc-c-action-primary) 0,var(--bc-c-action-primary) 40%,#0000 50%,#0000)}.radio-module__base_9322_8dRKf.radio-module__variant--inset_9322_AcFC4:checked+.radio-module__checkmark_9322_84zkE{background:#0000;box-shadow:inset 0 0 0 .4rem var(--bc-c-action-primary);transition:all .25s linear}.radio-module__base_9322_8dRKf.radio-module__variant--grow_9322_krBMf:checked+.radio-module__checkmark_9322_84zkE{background:var(--bc-c-action-primary);box-shadow:inset 0 0 0 .4rem var(--bc-c-action-primary);box-shadow:none;transition:background .25s linear;-webkit-transition:background .25s linear}');var Gn=function(e){var n=e.className,o=e.variant,a=f(e,["className","variant"]),r=["".concat(v,"-radio"),Un.base];return o&&r.push("".concat(v,"-content-radio--variant-").concat(o," ").concat(Un["variant--"+o])),n&&r.push(n),t.jsxs(t.Fragment,{children:[t.jsx("input",_({},a,{type:"radio",className:r.join(" ")})),t.jsx("span",{className:Un.checkmark})]})};Gn.displayName="Radio";var Qn=In(Gn);function Wn(e){var o,a,r=function(o){var a=n.useContext(zn);if(!o.name)throw new Error("withCheckControlled: name prop is required");return t.jsx(e,_({},o,{checked:o.value===a.values[o.name],onChange:function(e){var t;if(!e.target)throw new Error("withCheckControlled: onChange event must have a target");null===(t=o.onChange)||void 0===t||t.call(o,e),a.setData(e.target.name,e.target.checked?e.target.value:void 0)}}))};return r.displayName="withCheckControlled(".concat(null!==(a=null!==(o=e.displayName)&&void 0!==o?o:e.name)&&void 0!==a?a:"Component",")"),r}function qn(e){var o,a,r=function(o){var a=n.useContext(zn),r=n.useRef();if(!o.name)throw new Error("withRefControlled: name prop is required");return t.jsx("div",_({onChange:function(e){var t,n,i,l,c=null!==(n=null===(t=r.current)||void 0===t?void 0:t.getName())&&void 0!==n?n:o.name,s=null!==(l=null===(i=r.current)||void 0===i?void 0:i.getValue())&&void 0!==l?l:e.target.value;if(!e.target)throw new Error("withRefControlled: onChange event must have a target");a.setData(c,s)}},{children:t.jsx(e,_({},o,{ref:r}))}))};return r.displayName="withRefControlled(".concat(null!==(a=null!==(o=e.displayName)&&void 0!==o?o:e.name)&&void 0!==a?a:"Component",")"),r}var Kn=function(){var e=this;
1this._validations=[],this._errorMessage="",this.validate=function(t){var n=[];return e._validations.forEach(function(e){var o=e.validate(t);!0!==o&&n.push(o)}),!(n.length>0)||n[0]}},Xn=function(e){function t(t){var n=e.call(this)||this;return n.validate=function(e){return!(null==e||""===e)||n._errorMessage},n._errorMessage=null!=t?t:"Dette feltet er påkrevd",n}return m(t,e),t}(Kn),Yn=function(e){function t(t,n){var o=e.call(this)||this;return o._length=0,o.validate=function(e){return+e<=o._length||o._errorMessage},o._length=t,o._errorMessage=null!=n?n:"Maks er ".concat(t),o}return m(t,e),t}(Kn),Jn=function(e){function t(t,n){var o=e.call(this)||this;return o._length=0,o.validate=function(e){return+e>=o._length||o._errorMessage},o._length=t,o._errorMessage=null!=n?n:"Minimum er ".concat(t),o}return m(t,e),t}(Kn),Zn=function(e){function t(t){var n=e.call(this)||this;return n.validate=function(e){return!isNaN(+e)||n._errorMessage},n._errorMessage=null!=t?t:"Må være et nummer",n}return m(t,e),t}(Kn),$n=function(e){function t(t){var n=e.call(this)||this;return n.required=function(e){return n._validations.push(new Xn(e)),n},n.min=function(e,t){return n._validations.push(new Jn(e,t)),n},n.max=function(e,t){return n._validations.push(new Yn(e,t)),n},n._errorMessage=null!=t?t:"Må være et nummer",n._validations.push(new Zn(n._errorMessage)),n}return m(t,e),t}(Kn),eo=function(e){function t(t){var n=e.call(this)||this;return n.validate=function(e){return!(!/^[^@]+@[^@]+\.[^@]+$/.test(String(e).toLowerCase())||/\s/.test(e))||n._errorMessage},n._errorMessage=null!=t?t:"E-post er ikke gyldig",n}return m(t,e),t}(Kn),to=function(e){function t(t,n){var o=e.call(this)||this;return o._length=0,o.validate=function(e){return e.length<=o._length||o._errorMessage},o._length=t,o._errorMessage=null!=n?n:"Maks lengde er ".concat(t),o}return m(t,e),t}(Kn),no=function(e){function t(t,n){var o=e.call(this)||this;return o._length=0,o.validate=function(e){return e.length>=o._length||o._errorMessage},o._length=t,o._errorMessage=null!=n?n:"Minimum lengde er ".concat(t),o}return m(t,e),t}(Kn),oo=function(e){function t(t){var n=e.call(this)||this;return n.validate=function(e){return"string"==typeof e||n._errorMessage},n._errorMessage=null!=t?t:"Må være en tekststreng",n}return m(t,e),t}(Kn),ao=function(e){function t(t){var n=e.call(this)||this;return n.maxLength=function(e,t){return n._validations.push(new to(e,t)),n},n.minLength=function(e,t){return n._validations.push(new no(e,t)),n},n.required=function(e){return n._validations.push(new Xn(e)),n},n.email=function(e){return n._validations.push(new eo(e)),n},n._errorMessage=null!=t?t:"Må være en tekststreng",n._validations.push(new oo(n._errorMessage)),n}return m(t,e),t}(Kn),ro=function(){function e(e){var t=this;this._validationData={},this.validate=function(e){var n={};return Object.keys(t._validationData).forEach(function(o){var a=t._validationData[o].validate(e[o]);!0!==a&&(n[o]=a)}),!Object.keys(n).length||n},this._validationData=e}return e.string=function(){return new ao},e.number=function(){return new $n},e}(),io={errorMessage:"withErrorMessage-module__errorMessage_9322_OeG5T",error:"withErrorMessage-module__error_9322_SrxYu"};function lo(e){var o,a,r=function(o){var a,r=o.errorMessage,i=f(o,["errorMessage"]),l=null!==(a=i.id)&&void 0!==a?a:n.useId(),c="error-message-"+i.name,s="string"==typeof r&&r.length;return t.jsxs(t.Fragment,{children:[t.jsx(e,_({},i,{className:r?[i.className,io.error].join(" "):i.className,"aria-invalid":s,"aria-errormessage":r?c:void 0,id:l})),s&&t.jsx("div",_({className:io.errorMessage,id:c},{children:r}))]})};return r.displayName="withErrorMessage(".concat(null!==(a=null!==(o=e.displayName)&&void 0!==o?o:e.name)&&void 0!==a?a:"Component",")"),r}function co(e){var o,a,r=n.forwardRef(function(o,a){var r=n.useContext(zn).validationData[o.name],i=n.useMemo(function(){return lo(e)},[]);return t.jsx(t.Fragment,{children:t.jsx(i,_({},o,{errorMessage:r,ref:a}))})});return r.displayName="withFormErrorMessage(".concat(null!==(a=null!==(o=e.displayName)&&void 0!==o?o:e.name)&&void 0!==a?a:"Component",")"),r}s(".withErrorMessage-module__errorMessage_9322_OeG5T{color:var(--bc-danger-color-500);margin-top:2px}.withErrorMessage-module__error_9322_SrxYu{border:none;outline:1px solid var(--bc-danger-color-500)}"),s(".select-module__base_9322_kKp9l{background-color:#fff;background-color:var(--bc-background-color);border:var(--bc-input-border-width) solid var(--bc-c-border-input);box-sizing:border-box;color:var(--bc-c-text-primary);font-size:inherit;height:calc(var(--bc-input-height) - .25rem);min-height:calc(var(--bc-input-height) - .25rem);padding:0 1rem;transition:color .1s ease-in-out,background-color .1s ease-in-out;width:100%}");var so=function(e){var n=e.className,o=f(e,["className"]),a=["".concat(v,"-select"),"select-module__base_9322_kKp9l"];return n&&a.push(n),t.jsx("select",_({},o,{className:a.join(" ")}))};so.displayName="Select";var uo=In(so);s("");var mo,_o,po,fo,bo=Object.assign(function(e){var o=e.className,a=e.onChange,r=e.onSubmit,i=e.onReset,l=e.validationMode,c=void 0===l?"onSubmit":l,s=e.initialValues,u=e.validationSchema,d=f(e,["className","onChange","onSubmit","onReset","validationMode","initialValues","validationSchema"]),m=n.useState(null!=s?s:{}),p=m[0],b=m[1],h=n.useRef(p),g=n.useState({}),y=g[0],x=g[1],k=n.useCallback(function(e,t){var n=_({},p);void 0===t?delete n[e]:n[e]=t,b(n),h.current=n},[p]),w=["".concat(v,"-form"),"form-module__base_9322_kVtHz"];return o&&w.push(o),t.jsx(Ln,_({value:{values:p,setData:k,validationData:y}},{children:t.jsx("form",_({},d,{className:w.join(" "),onChange:function(e){a&&a(e,h.current)},onSubmit:function(e){if(u&&"onSubmit"===c){var t=new ro(u).validate(p);if(!0!==t)return e.preventDefault(),void x(t)}r&&r(e,h.current)},onReset:function(e){b({}),h.current={},i&&i(e)}}))}))},{Group:Vn,Input:Mn(co(On)),Textarea:Mn(co(Hn)),Radio:Wn(co(Qn)),Checkbox:Wn(An),DatePicker:(mo=co(te),fo=function(e){var o,a=n.useContext(zn);if(!e.name)throw new Error("withValueControlled: name prop is required");return t.jsx(mo,_({}
1,e,{value:null!==(o=a.values[e.name])&&void 0!==o?o:"",onChange:function(t){a.setData(e.name,t)}}))},fo.displayName="withValueControlled(".concat(null!==(po=null!==(_o=mo.displayName)&&void 0!==_o?_o:mo.name)&&void 0!==po?po:"Component",")"),fo),SingleDatePicker:qn(co(Rt)),Select:Mn(co(uo)),ReCAPTCHA:qn(co(Jt))});s(".withCharacterCounter-module__counter_9322_2UuzF{float:right}"),s(".withClearButton-module__base_9322_e7Upv{position:relative}.withClearButton-module__base_9322_e7Upv input{padding-right:2.5rem}.withClearButton-module__base_9322_e7Upv input::-webkit-search-cancel-button{-webkit-appearance:none}.withClearButton-module__base_9322_e7Upv .withClearButton-module__button_9322_fMi4e{position:absolute;right:1rem;top:50%;transform:translateY(-50%)}");var ho={base:"withDatepicker-module__base_9322_XTS9Y",button:"withDatepicker-module__button_9322_r7Gd8",balloon:"withDatepicker-module__balloon_9322_TRf4E",datepicker:"withDatepicker-module__datepicker_9322_X47ZY"};s(".withDatepicker-module__base_9322_XTS9Y{position:relative}.withDatepicker-module__base_9322_XTS9Y .withDatepicker-module__button_9322_r7Gd8.withDatepicker-module__button_9322_r7Gd8{background-color:var(--bc-background-color);position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.withDatepicker-module__base_9322_XTS9Y input::-webkit-calendar-picker-indicator{display:none}.withDatepicker-module__balloon_9322_TRf4E .withDatepicker-module__datepicker_9322_X47ZY{color:#000}");var go={base:"balloon-module__base_9322_-jItw","balloonDirection--top":"balloon-module__balloonDirection--top_9322_fk7U7","balloonDirection--bottom":"balloon-module__balloonDirection--bottom_9322_gZE4R","balloonDirection--left":"balloon-module__balloonDirection--left_9322_M7-oW","balloonDirection--right":"balloon-module__balloonDirection--right_9322_VqJWJ"};s('.balloon-module__base_9322_-jItw{background-color:var(--bc-admin-primary-color-500);border-radius:var(--bc-admin-border-radius);color:var(--bc-admin-secondary-text-color);padding:.5rem;position:absolute;width:fit-content;z-index:1}.balloon-module__base_9322_-jItw.balloon-module__balloonDirection--top_9322_fk7U7:after{bottom:-.5rem}.balloon-module__base_9322_-jItw.balloon-module__balloonDirection--bottom_9322_gZE4R:before,.balloon-module__base_9322_-jItw.balloon-module__balloonDirection--top_9322_fk7U7:after{background-color:var(--bc-admin-primary-color-500);content:"";display:block;height:1rem;left:50%;position:absolute;right:50%;transform:rotate(45deg);transform:translateX(-50%) rotate(45deg);width:1rem;z-index:-1}.balloon-module__base_9322_-jItw.balloon-module__balloonDirection--bottom_9322_gZE4R:before{top:-.5rem}.balloon-module__base_9322_-jItw.balloon-module__balloonDirection--left_9322_M7-oW:before{right:-.5rem}.balloon-module__base_9322_-jItw.balloon-module__balloonDirection--left_9322_M7-oW:before,.balloon-module__base_9322_-jItw.balloon-module__balloonDirection--right_9322_VqJWJ:before{background-color:var(--bc-admin-primary-color-500);bottom:50%;content:"";display:block;height:1rem;position:absolute;top:50%;transform:rotate(45deg);transform:translateY(-50%) rotate(45deg);width:1rem;z-index:-1}.balloon-module__base_9322_-jItw.balloon-module__balloonDirection--right_9322_VqJWJ:before{left:-.5rem}');var vo=function(e,t){var n=null==t?void 0:t.getBoundingClientRect(),o=null==e?void 0:e.getBoundingClientRect(),a={};return n&&o?(a.bottom={direction:"bottom",top:o.bottom+10,left:o.left+o.width/2-n.width/2,width:n.width,height:n.height},a.left={direction:"left",top:o.top+o.height/2-n.height/2,left:o.left-n.width-10,width:n.width,height:n.height},a.right={direction:"right",top:o.top+o.height/2-n.height/2,left:o.right+10,width:n.width,height:n.height},a.top={direction:"top",top:o.top-n.height-10,left:o.left+o.width/2-n.width/2,width:n.width,height:n.height},a):a},yo=function(e){var o,a,r=f(e,[]),i=n.useRef(!0),l=n.useState({}),c=l[0],s=l[1],u=n.useCallback(function(e){var t,n,o;e&&(r.show||i.current)&&(i.current=!1,s(vo(null===(t=r.target)||void 0===t?void 0:t.current,e)),(null!==(o=null===(n=r.parentContainer)||void 0===n?void 0:n.current)&&void 0!==o?o:window.document.body).addEventListener("resize",function(){s(vo(r.target.current,e))}))},[r.parentContainer,r.target,r.show]),d=r.placement?c[r.placement]:function(e,t,n){void 0===n&&(n=window.document.body);var o=t[e];if(o){var a=n.getBoundingClientRect(),r=a.width,i=a.height,l=a.top,c=a.left,s=function(e,t,n,o){return e>=l&&t>=c&&e+o<=l+i&&t+n<=c+r};if(s(o.top,o.left,o.width,o.height))return o;for(var u=0,d=Object.keys(t).filter(function(t){return t!==e});u<d.length;u++){var m=t[d[u]];if(m&&s(m.top,m.left,m.width,m.height))return m}return o}}(r.preferredPlacement,c,null!==(a=null===(o=r.parentContainer)||void 0===o?void 0:o.current)&&void 0!==a?a:window.document.body);d&&((null==d?void 0:d.left)<0&&(d.left=0),(null==d?void 0:d.left)+(null==d?void 0:d.width)>window.innerWidth&&(d.left=window.innerWidth-d.width),(null==d?void 0:d.top)<0&&(d.top=0),(null==d?void 0:d.top)+(null==d?void 0:d.height)>window.innerHeight&&(d.top=window.innerHeight-d.height));var m=["".concat(v,"-balloon"),go.base];return r.className&&m.push(r.className),m.push(go["balloonDirection--"+(null==d?void 0:d.direction)]),t.jsx(j,{children:t.jsx("div",_({style:{to
1p:null==d?void 0:d.top,left:r.show?null==d?void 0:d.left:-999999999,opacity:r.show?"100%":"0"},className:m.join(" "),ref:u},{children:r.children}))})};s(":root{--bc-admin-primary-color-500:#0e3b6c;--bc-admin-primary-color-400:#082f59;--bc-admin-primary-color-300:#66769b;--bc-admin-primary-color-200:#b1b8cc;--bc-admin-primary-color-100:#d8dbe5;--bc-admin-primary-text-color:#000;--bc-admin-secondary-text-color:#fff;--bc-admin-border-radius:4px}"),s(".withShowPasswordButton-module__base_9322_LANPs{position:relative}.withShowPasswordButton-module__base_9322_LANPs input{padding-right:2.5rem}.withShowPasswordButton-module__base_9322_LANPs .withShowPasswordButton-module__button_9322_sjR2C{position:absolute;right:1rem;top:50%;transform:translateY(-50%)}");var xo={base:"withIcon-module__base_9322_YDC8R","icon--right":"withIcon-module__icon--right_9322_Ab13v"};s(".withIcon-module__base_9322_YDC8R{position:relative}.withIcon-module__base_9322_YDC8R input{padding-right:2.5rem}.withIcon-module__base_9322_YDC8R .withIcon-module__icon--right_9322_Ab13v{position:absolute;right:1rem;top:50%;transform:translateY(-50%)}");var ko={base:"withSuggestions-module__base_9322_td0Ud",suggestions:"withSuggestions-module__suggestions_9322_6G-Ra",suggestion:"withSuggestions-module__suggestion_9322_jwz-8"};s(".withSuggestions-module__base_9322_td0Ud{position:relative}.withSuggestions-module__base_9322_td0Ud .withSuggestions-module__suggestions_9322_6G-Ra{background-color:var(--bc-background-color);border:1px solid var(--bc-c-border-input);border-top:none;display:none;margin-top:0;max-height:80vh;overflow-y:auto;padding:0;position:absolute;width:100%;z-index:1}.withSuggestions-module__base_9322_td0Ud .withSuggestions-module__suggestions_9322_6G-Ra .withSuggestions-module__suggestion_9322_jwz-8{list-style:none;margin:0}.withSuggestions-module__base_9322_td0Ud .withSuggestions-module__suggestions_9322_6G-Ra .withSuggestions-module__suggestion_9322_jwz-8 button{background-color:initial;border:none;padding:15px 15px 15px 20px;text-align:left;width:100%}.withSuggestions-module__base_9322_td0Ud .withSuggestions-module__suggestions_9322_6G-Ra .withSuggestions-module__suggestion_9322_jwz-8 button:hover{background-color:#efefef}.withSuggestions-module__base_9322_td0Ud .withSuggestions-module__suggestions_9322_6G-Ra .withSuggestions-module__suggestion_9322_jwz-8:not(:last-child){border-bottom:1px solid var(--bc-c-border-input)}.withSuggestions-module__base_9322_td0Ud:focus-within .withSuggestions-module__suggestions_9322_6G-Ra{display:block}");function wo(){return t.jsx("div",_({className:"loader-module__base_9322_e6-ZK"},{children:t.jsxs("svg",_({role:"img",width:"100%",height:"100","aria-labelledby":"loading-aria",viewBox:"0 0 100% 100"},{children:[t.jsx("title",_({id:"loading-aria"},{children:"Loading..."})),t.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(#clip-path)",style:{fill:'url("#fill")'}}),t.jsxs("defs",{children:[t.jsxs("clipPath",_({id:"clip-path"},{children:[t.jsx("rect",{x:"0",y:"15",rx:"5",ry:"5",width:"100%",height:"20"}),t.jsx("rect",{x:"0",y:"45",rx:"5",ry:"5",width:"100%",height:"20"}),t.jsx("rect",{x:"0",y:"75",rx:"5",ry:"5",width:"100%",height:"20"})]})),t.jsxs("linearGradient",_({id:"fill"},{children:[t.jsx("stop",_({offset:"0.599964",stopColor:"#e3e3e3",stopOpacity:"1"},{children:t.jsx("animate",{attributeName:"offset",values:"-2; -2; 1",keyTimes:"0; 0.25; 1",dur:"2s",repeatCount:"indefinite"})})),t.jsx("stop",_({offset:"1.59996",stopColor:"#dcdbdb",stopOpacity:"1"},{children:t.jsx("animate",{attributeName:"offset",values:"-1; -1; 2",keyTimes:"0; 0.25; 1",dur:"2s",repeatCount:"indefinite"})})),t.jsx("stop",_({offset:"2.59996",stopColor:"#e3e3e3",stopOpacity:"1"},{children:t.jsx("animate",{attributeName:"offset",values:"0; 0; 3",keyTimes:"0; 0.25; 1",dur:"2s",repeatCount:"indefinite"})}))]}))]})]}))}))}s(".loader-module__base_9322_e6-ZK{padding:0 1rem}");var Co=function(){var e=this;this.isRequired=!1,this.required=function(){return e.isRequired=!0,e}},So=function(){function e(e){this._validationData={},this.validate=function(e){return!0}
1,this._validationData=e}var t;return t=e,e._validationType=new Co,e.string=function(){return t._validationType=new No,t._validationType},e}(),No=function(e){function t(){var t=e.call(this)||this;return t._maxLength=0,t.maxLength=function(e){return t._maxLength=e,t},t}return m(t,e),t}(Co);So.string().required().maxLength(10);var To=function(e){function n(t){var n=e.call(this,t)||this;return n.state={error:void 0,errorInfo:void 0},n}return m(n,e),n.prototype.componentDidCatch=function(e,t){this.setState({error:e,errorInfo:t})},n.prototype.render=function(){var e=["".concat(v,"-errorboundary")];return this.state.errorInfo?void 0!==this.props.errorRenderer?this.props.errorRenderer({error:this.state.error,errorInfo:this.state.errorInfo}):t.jsxs("div",_({className:e.join(" ")},{children:[t.jsx("h2",{children:"Det har skjedd en feil."}),t.jsxs("details",_({style:{whiteSpace:"pre-wrap"}},{children:[this.state.error&&this.state.error.toString(),t.jsx("br",{}),this.state.errorInfo.componentStack]}))]})):this.props.children},n}(l.default.Component);s("");var jo={ordered:"ol",unordered:"ul",definition:"dl"},Eo={listItem:"li",term:"dt",description:"dd"};s(""),s("");var Po=Object.assign(function(e){var t=e.type,n=void 0===t?"unordered":t,o=f(e,["type"]),a=["".concat(v,"-list ").concat("list-module__base_9322_z0mW7")];return a.push("".concat(v,"-list-type--").concat(n)),o.className&&a.push(o.className),l.default.createElement(jo[n],{className:a.join(" ")},o.children)},{Item:function(e){var t=e.type,n=void 0===t?"listItem":t,o=f(e,["type"]),a=["".concat(v,"-item ").concat("item-module__base_9322_OFgG8")];return a.push("".concat(v,"-list-type--").concat(n)),o.className&&a.push(o.className),l.default.createElement(Eo[n],{className:a.join(" ")},o.children)}}),Do=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var o,a,r;if(Array.isArray(t)){if((o=t.length)!=n.length)return!1;for(a=o;0!=a--;)if(!e(t[a],n[a]))return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((o=(r=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(a=o;0!=a--;)if(!Object.prototype.hasOwnProperty.call(n,r[a]))return!1;for(a=o;0!=a--;){var i=r[a];if(!e(t[i],n[i]))return!1}return!0}return t!=t&&n!=n};const Ao="__googleMapsScriptId";var Ro,zo;!function(e){e[e.INITIALIZED=0]="INITIALIZED",e[e.LOADING=1]="LOADING",e[e.SUCCESS=2]="SUCCESS",e[e.FAILURE=3]="FAILURE"}(Ro||(Ro={}));class Lo{constructor({apiKey:e,authReferrerPolicy:t,channel:n,client:o,id:a=Ao,language:r,libraries:i=[],mapIds:l,nonce:c,region:s,retries:u=3,url:d="https://maps.googleapis.com/maps/api/js",version:m}){if(this.callbacks=[],this.done=!1,this.loading=!1,this.errors=[],this.apiKey=e,this.authReferrerPolicy=t,this.channel=n,this.client=o,this.id=a||Ao,this.language=r,this.libraries=i,this.mapIds=l,this.nonce=c,this.region=s,this.retries=u,this.url=d,this.version=m,Lo.instance){if(!Do(this.options,Lo.instance.options))throw new Error(`Loader must not be called again with different options. ${JSON.stringify(this.options)} !== ${JSON.stringify(Lo.instance.options)}`);return Lo.instance}Lo.instance=this}get options(){return{version:this.version,apiKey:this.apiKey,channel:this.channel,client:this.client,id:this.id,libraries:this.libraries,language:this.language,region:this.region,mapIds:this.mapIds,nonce:this.nonce,url:this.url,authReferrerPolicy:this.authReferrerPolicy}}get status(){return this.errors.length?Ro.FAILURE:this.done?Ro.SUCCESS:this.loading?Ro.LOADING:Ro.INITIALIZED}get failed(){return this.done&&!this.loading&&this.errors.length>=this.retries+1}createUrl(){let e=this.url;return e+="?callback=__googleMapsCallback",this.apiKey&&(e+=`&key=${this.apiKey}`),this.channel&&(e+=`&channel=${this.channel}`),this.client&&(e+=`&client=${this.client}`),this.libraries.length>0&&(e+=`&libraries=${this.libraries.join(",")}`),this.language&&(e+=`&language=${this.language}`),this.region&&(e+=`®ion=${this.region}`),this.version&&(e+=`&v=${this.version}`),this.mapIds&&(e+=`&map_ids=${this.mapIds.join(",")}`),this.authReferrerPolicy&&(e+=`&auth_referrer_policy=${this.authReferrerPolicy}`),e}deleteScript(){const e=document.getElementById(this.id);e&&e.remove()}load(){return this.loadPromise()}loadPromise(){return new Promise((e,t)=>
1{this.loadCallback(n=>{n?t(n.error):e(window.google)})})}importLibrary(e){return this.execute(),google.maps.importLibrary(e)}loadCallback(e){this.callbacks.push(e),this.execute()}setScript(){var e,t;if(document.getElementById(this.id))return void this.callback();const n={key:this.apiKey,channel:this.channel,client:this.client,libraries:this.libraries.length&&this.libraries,v:this.version,mapIds:this.mapIds,language:this.language,region:this.region,authReferrerPolicy:this.authReferrerPolicy};Object.keys(n).forEach(e=>!n[e]&&delete n[e]),(null===(t=null===(e=null===window||void 0===window?void 0:window.google)||void 0===e?void 0:e.maps)||void 0===t?void 0:t.importLibrary)||(e=>{let t,n,o,a="google",r="importLibrary",i="__ib__",l=document,c=window;c=c[a]||(c[a]={});const s=c.maps||(c.maps={}),u=new Set,d=new URLSearchParams,m=()=>t||(t=new Promise((r,c)=>function(e,t,n,o){return new(n||(n=Promise))(function(t,a){function r(e){try{l(o.next(e))}catch(t){a(t)}}function i(e){try{l(o.throw(e))}catch(t){a(t)}}function l(e){var o;e.done?t(e.value):(o=e.value,o instanceof n?o:new n(function(e){e(o)})).then(r,i)}l((o=o.apply(e,[])).next())})}(this,0,void 0,function*(){var m;for(o in yield n=l.createElement("script"),n.id=this.id,d.set("libraries",[...u]+""),e)d.set(o.replace(/[A-Z]/g,e=>"_"+e[0].toLowerCase()),e[o]);d.set("callback",a+".maps."+i),n.src=this.url+"?"+d,s[i]=r,n.onerror=()=>t=c(Error("The Google Maps JavaScript API could not load.")),n.nonce=this.nonce||(null===(m=l.querySelector("script[nonce]"))||void 0===m?void 0:m.nonce)||"",l.head.append(n)})));s[r]||(s[r]=(e,...t)=>u.add(e)&&m().then(()=>s[r](e,...t)))})(n);const o=this.libraries.map(e=>this.importLibrary(e));o.length||o.push(this.importLibrary("core")),Promise.all(o).then(()=>this.callback(),e=>{const t=new ErrorEvent("error",{error:e});this.loadErrorCallback(t)})}reset(){this.deleteScript(),this.done=!1,this.loading=!1,this.errors=[],this.onerrorEvent=null}resetIfRetryingFailed(){this.failed&&this.reset()}loadErrorCallback(e){if(this.errors.push(e),this.errors.length<=this.retries){const e=this.errors.length*Math.pow(2,this.errors.length);setTimeout(()=>{this.deleteScript(),this.setScript()},e)}else this.onerrorEvent=e,this.callback()}callback(){this.done=!0,this.loading=!1,this.callbacks.forEach(e=>{e(this.onerrorEvent)}),this.callbacks=[]}execute(){if(this.resetIfRetryingFailed(),this.done)this.callback();else{if(window.google&&window.google.maps&&window.google.maps.version)return void this.callback();this.loading||(this.loading=!0,this.setScript())}}}!function(e){e.LOADING="LOADING",e.FAILURE="FAILURE",e.SUCCESS="SUCCESS"}(zo||(zo={}));const Mo=({children:e,render:t,callback:o,...a})=>{const[r,i]=n.useState(zo.LOADING);return n.useEffect(()=>{const e=new Lo(a),t=t=>{o&&o(t,e),i(t)};t(zo.LOADING),e.load().then(()=>t(zo.SUCCESS),()=>t(zo.FAILURE))},[]),r===zo.SUCCESS&&e?l.default.createElement(l.default.Fragment,null,e):t?t(r):l.default.createElement(l.default.Fragment,null)};s('.googlemaps-module__base_9322_p9-MN{display:flex}.googlemaps-module__base_9322_p9-MN .googlemaps-module__map_9322_6-iBc{flex-grow:1;height:"100%"}');var Io=function(e){var t=e.map,o=e.info,a=f(e,["map","info"]),r=n.useRef(null);return n.useEffect(function(){if(t){r.current=new google.maps.Marker(_({map:t},a));var e=new google.maps.InfoWindow({content:o});r.current.addListener("click",function(){e.setContent(o),e.open(t,r.current)})}return function(){r.current&&(google.maps.event.clearInstanceListeners(r.current),r.current.setMap(null))}},[t,a,o]),null},Fo=function(e){var o=e.mapPoints,a=e.center,r=f(e,["mapPoints","center"]),i=n.useRef(null),l=n.useState(),c=l[0],s=l[1];return n.useEffect(function(){if(c){var e=new google.maps.LatLngBounds;o.forEach(function(t){var n=new google.maps.LatLng(t.coordinates.lat,t.coordinates.lng);e.extend(n)});var t=_(_({},r),{center:0===o.length?a:void 0});c.setOptions(t),o.length>0&&c.fitBounds(e)}},[o,c,r,a]),n.useEffect(function(){if(i.current){var e=new google.maps.Map(i.current,{});return s(e),function(){google.maps.event.clearInstanceListeners(e)}}},[]),t.jsxs(t.Fragment,{children:[t.jsx("div",{ref:i,className:"".concat(v,"-map ").concat("googlemaps-module__map_9322_6-iBc")}
1),c&&o.map(function(e,n){return t.jsx(Io,{position:{lat:e.coordinates.lat,lng:e.coordinates.lng},info:e.info,map:c},n)})]})};function Oo(){return t.jsxs("svg",_({role:"img",width:"100%",height:"100","aria-labelledby":"loading-aria",viewBox:"0 0 100% 100"},{children:[t.jsx("title",_({id:"loading-aria"},{children:"Loading..."})),t.jsx("rect",{x:"0",y:"0",width:"100%",height:"100%",clipPath:"url(#clip-path)",style:{fill:'url("#fill")'}}),t.jsxs("defs",{children:[t.jsxs("clipPath",_({id:"clip-path"},{children:[t.jsx("rect",{x:"0",y:"15",rx:"5",ry:"5",width:"100%",height:"20"}),t.jsx("rect",{x:"0",y:"45",rx:"5",ry:"5",width:"100%",height:"20"}),t.jsx("rect",{x:"0",y:"75",rx:"5",ry:"5",width:"100%",height:"20"})]})),t.jsxs("linearGradient",_({id:"fill"},{children:[t.jsx("stop",_({offset:"0.599964",stopColor:"#e3e3e3",stopOpacity:"1"},{children:t.jsx("animate",{attributeName:"offset",values:"-2; -2; 1",keyTimes:"0; 0.25; 1",dur:"2s",repeatCount:"indefinite"})})),t.jsx("stop",_({offset:"1.59996",stopColor:"#dcdbdb",stopOpacity:"1"},{children:t.jsx("animate",{attributeName:"offset",values:"-1; -1; 2",keyTimes:"0; 0.25; 1",dur:"2s",repeatCount:"indefinite"})})),t.jsx("stop",_({offset:"2.59996",stopColor:"#e3e3e3",stopOpacity:"1"},{children:t.jsx("animate",{attributeName:"offset",values:"0; 0; 3",keyTimes:"0; 0.25; 1",dur:"2s",repeatCount:"indefinite"})}))]}))]})]}))}s(".suggestions-module__base_9322_GB1de{display:block;position:relative;width:100%}.suggestions-module__base_9322_GB1de .suggestions-module__ul_9322_7PwOM{background-color:#fff;border:1px solid var(--bc-c-border-input);border-radius:3px;border-top:none;margin-top:0;padding:0;position:absolute;width:100%;z-index:1}.suggestions-module__base_9322_GB1de .suggestions-module__ul_9322_7PwOM .suggestions-module__loader_9322_D0-MK{height:auto;margin:0 auto 10px;width:98%}.suggestions-module__base_9322_GB1de .suggestions-module__ul_9322_7PwOM .suggestions-module__no-results_9322_THmA8{padding:1rem}.suggestions-module__base_9322_GB1de .suggestions-module__ul_9322_7PwOM li{list-style:none}.suggestions-module__base_9322_GB1de .suggestions-module__ul_9322_7PwOM li a{align-items:center;color:var(--bc-c-text-primary);display:flex;justify-content:space-between;text-decoration:none}.suggestions-module__base_9322_GB1de .suggestions-module__ul_9322_7PwOM li a p{margin:0;padding:15px 15px 15px 20px;width:-moz-fit-content;width:fit-content}.suggestions-module__base_9322_GB1de .suggestions-module__ul_9322_7PwOM li a:focus{background-color:#efefef;outline:none}.suggestions-module__base_9322_GB1de .suggestions-module__ul_9322_7PwOM li:not(:last-child){border-bottom:1px solid var(--bc-c-border-input)}");var Bo=n.forwardRef(function(e,o){var a=f(e,[]),r=["suggestions-module__base_9322_GB1de",a.className,"".concat(v,"-content-search-suggestions")],i=[],l=0;a.data.forEach(function(){i.push(n.createRef())});var c=function(e){i.forEach(function(t,n){t.current===e.target&&(l=n)})},s=function(){l=0,i.length&&i[l].current.focus()};n.useImperativeHandle(o,function(){return{focusFirst:s}});var u=a.data.map(function(e,n){var o;if(a.renderListItem)o=a.renderListItem(e);else{var r=a.highlighting?e.text.replace(new RegExp("(^|)("+a.searchText+")(|$)","ig"),"$1<b>$2</b>$3"):e.text;o=t.jsxs(t.Fragment,{children:[t.jsx("p",{dangerouslySetInnerHTML:{__html:r}}),a.suggestionsIcon&&t.jsx("i",{})]})}return t.jsx("li",_({onKeyDown:function(t){return function(e,t){"ArrowDown"===e.key&&l++,"ArrowUp"===e.key&&l--,l<0&&(l=i.length-1),l>=i.length&&(l=0),"ArrowDown"!==e.key&&"ArrowUp"!==e.key||(e.preventDefault(),i[l].current.focus()),"Escape"===e.key&&a.retrieveFocus(e),"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),a.onSearch&&a.onSearch(t),a.onClick(t),a.retrieveFocus(e))}(t,e)},role:"option",className:"".concat(v,"-content-search-suggestions-list-item")},{children:t.jsx("a",_({href:"#",onClick:function(t){t.preventDefault(),a.onClick(e)},onFocus:c,ref:i[n],className:"".concat(v,"-content-search-suggestions-list-link")},{children:o}))}),"suggestion-"+n)}),d=a.noResultsText?a.noResultsText:"Ingen resultater...";return t.jsx("div",a.disableSuggestions||!a.showNoResultsText&&(!a.data||a.data.length<1)?{id:a.id}:_({className:r.join(" ")},{children:t.jsxs("ul",_({id:a.id,onKeyDown:a.onKeyDown,"aria-label":"Søkeforslag",role:"listbox",className:"suggestions-module__ul_9322_7PwOM"},{children:[a.loading&&t.jsx("li",_({role:"option",className:"".concat(v,"-content-search-suggestions-loader ").concat("suggestions-module__loader_9322_D0-MK")},{children:t.jsx(Oo,{})})),!a.loading&&u,(!a.data||a.data.length<1)&&!a.loading&&a.showNoResultsText&&t.jsx("li",_({role:"option"},{children:t.jsx("p",_({className:"".concat(v,"-content-search-suggestions-no-results ").concat("suggestions-module__no-results_9322_THmA8")},{children:d}))}))]}))}))}),Ho={base:"search-module__base_9322_uNSBR","input-container":"search-module__input-container_9322_RJg2k","style--icon-inside":"search-module__style--icon-inside_9322_S6tk5","style--icon-outside":"search-module__style--icon-outside_9322_9FHZQ",container:"search-module__container_9322_eO7XG",hidden:"search-module__hidden_9322_41EUq",clearButton:"search-module__clearButton_9322_yR2sT","size--small":"search-module__size--small_9322_06E09","size--medium":"search-module__size--medium_9322_Z3p2y","size--large":"search-module__size--large_9322_ElXw-","size--full":"search-module__size--full_9322_vfGSN","theme--dark":"search-module__theme--dark_9322_ZFi5f"};s(".search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input{-webkit-appearance:none;background-color:#fff;background-color:var(--bc-background-color);border:var(--bc-input-border-width) solid var(--bc-c-border-input);box-sizing:border-box;color:var(--bc-c-text-primary);font-size:var(--bc-input-font-size);height:calc(var(--bc-input-height) - .25rem);min-height:calc(var(--bc-input-height) - .25rem);padding:0 1rem;transition:color .1s ease-in-out,background-color .1s ease-in-out}.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input:hover{background-color:var(--bc-background-color);color:var(--bc-basic-color-500)}.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input:focus{background-color:var(--bc-background-color);border-color:var(--bc-basic-color-500);color:var(--bc-basic-color-500)}.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input[disabled],.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input[readonly]{background-color:var(--bc-background-color);color:var(--basic-color-300);
1cursor:not-allowed}.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input::-ms-clear{display:none}.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input:-ms-input-placeholder,.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input::-moz-placeholder,.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input::-webkit-input-placeholder,.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input::placeholder{color:var(--bc-input-placeholder-color);opacity:1}.search-module__base_9322_uNSBR.search-module__style--icon-inside_9322_S6tk5 input[type=search],.search-module__base_9322_uNSBR.search-module__style--icon-outside_9322_9FHZQ .search-module__container_9322_eO7XG{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAABjUlEQVRYhe2WTU4CQRCFPyGwEdcaFx4AvIO40KUoMegNCGj8uYQxnkFXRu+iO9HIiJi4MyTuxoUsBBddk26JylCNGBJeUmmYmVfvTVdNzcAEY4w0UAIugQB4kwiACzmX/ivxIvAEdPtEE9gYpnACOHEEboA9IAtMS+SAfaDmXHcsXG9E4u9AuU/SBFCRayMTXig64ksD8PKOiXWteBpb87KCXxXuI5DSGChha66pZRK4lRyb7om4yaJOPgU6CgMfwJn8VpXhAeM+qyELcpIj0JBDIWc8DMxIjtA9GLcEUx7CvTm+lDCugZasCx4GIu6LxsCVrCseBlZlvdaQtzH1q6F/DO/45jGMixTwLAkqCv6ucBsoBxFAATuK8wPwloE2pvnWtOIAc8CrY6KK2dqfkMTceVs4R77idUkUmehixusBZshkJBaBQ2zNOyKufh274nX5X8D2xG/RYAjb3iseIQVsYT6/mpjPsRC4B84x3a5uOIBZ7DYGwLxPson4WIiDnVi9DTdS7Pyn+AQjxye0yX9Iv8qNSwAAAABJRU5ErkJggg==);background-position:5px 50%;background-repeat:no-repeat;background-size:30px 30px;padding-left:40px}.search-module__base_9322_uNSBR{display:flex;flex-direction:column;margin-top:.5rem;max-width:100%}.search-module__base_9322_uNSBR .search-module__hidden_9322_41EUq{display:none!important}.search-module__base_9322_uNSBR label{display:block;font-size:inherit;font-weight:600;padding-bottom:10px}.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k{position:relative}.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input{flex-grow:1;padding:15px 2.5rem 15px 15px;width:100%}.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input::-webkit-search-cancel-button{-webkit-appearance:none}.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k input::placeholder{color:var(--bc-input-placeholder-color);opacity:1}.search-module__base_9322_uNSBR .search-module__input-container_9322_RJg2k .search-module__clearButton_9322_yR2sT{background-color:initial;border:none;cursor:pointer;font-size:1.6em;font-weight:700;height:fit-content;padding:0;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.search-module__base_9322_uNSBR .search-module__container_9322_eO7XG{display:flex;flex-direction:row;width:100%}.search-module__base_9322_uNSBR .search-module__container_9322_eO7XG div{display:flex;flex-direction:column;flex-grow:1}.search-module__base_9322_uNSBR button{height:auto;width:-moz-fit-content;width:fit-content}.search-module__base_9322_uNSBR.search-module__style--icon-outside_9322_9FHZQ label{padding-left:40px}.search-module__base_9322_uNSBR.search-module__style--icon-outside_9322_9FHZQ .search-module__container_9322_eO7XG{max-width:100%}.search-module__base_9322_uNSBR.search-module__style--icon-inside_9322_S6tk5 input[type=search]{padding-left:40px}.search-module__base_9322_uNSBR.search-module__size--small_9322_06E09{width:200px}.search-module__base_9322_uNSBR.search-module__size--medium_9322_Z3p2y{width:400px}.search-module__base_9322_uNSBR.search-module__size--large_9322_ElXw-{width:800px}.search-module__base_9322_uNSBR.search-module__size--full_9322_vfGSN{width:100%}.search-module__base_9322_uNSBR li a{height:auto}.search-module__base_9322_uNSBR.search-module__theme--dark_9322_ZFi5f label{color:#fff}");var Vo="",Uo=n.forwardRef(function(e,o){var a,r=e.minCharactersForSearch,i=void 0===r?2:r,l=e.showNoResultsText,c=void 0===l||l,s=e.maxResultsInSuggestions,u=void 0===s?10:s,d=e.searchTimeout,m=void 0===d?1e3:d,p=e.loadingBar,b=void 0===p||p,h=e.autoSearchTimeout,g=void 0===h?250:h,y=e.showSuggestions,x=void 0===y||y,k=e.clearButtonTitle,w=void 0===k?"Tøm søkeboks":k,C=e.searchText,S=void 0===C?"":C,N=f(e,["minCharactersForSearch","showNoResultsText","maxResultsInSuggestions","searchTimeout","loadingBar","autoSearchTimeout","showSuggestions","clearButtonTitle","searchText"]),T=n.useState(null!==(a=null!=S?S:N.defaultSearchText)&&void 0!==a?a:""),j=T[0],E=T[1],P=n.useState([]),D=P[0],A=P[1],R=n.useState(-1),L=R[0],M=R[1],I=n.useState(-1),F=I[0],O=I[1],B=n.useState(!1),H=B[0],V=B[1],U=n.useState(!1),G=U[0],Q=U[1],W=n.useRef(null),q=n.useRef(null),K=n.useRef(null),X=_(_({},{type:"button",text:N.searchButtonText||"Søk"}),N.buttonProps),Y=["".concat(v,"-content-search"),Ho.base];N.size&&Y.push("".concat(v,"-content-search-size--").concat(N.size," ").concat(Ho["size--".concat(N.size)])),N.searchIcon&&"none"!==N.searchIcon&&Y.push("".concat(v,"-content-search-style--icon-")+N.searchIcon,Ho["style--icon-".concat(N.searchIcon)]),N.theme&&Y.push("".concat(v,"-content-search--theme-").concat(N.theme),Ho["theme--".concat(N.theme)]),N.className&&Y.push(N.className);var J=function(){N.fetchSuggestionData&&(M(-1),N.fetchSuggestionData(Vo).then(function(e){A(e)}).finally(function(){V(!1)}))},Z=n.useCallback(function(e){var t;i<=e.length&&(E(e),null===(t=K.current)||void 0===t||t.focus(),N.onSearch&&N.onSearch(e),Q(!0))},[K,i,N]),$=n.useCallback(function(e){var t;N.onSelect&&N.onSelect(e),E(e.text),null===(t=N.onChange)||void 0===t||t.call(N,e.link),Q(!0)},[N]);n.useEffect(function(){var e,t=null!==(e=null!=S?S:N.defaultSearchText)&&void 0!==e?e:"";E(t)},[N.defaultSearchText,S]),n.useEffect(function(){N.autoSearch&&(-1!==F&&window.clearTimeout(F),O(window.setTimeout(function(){M(-1),Z(j)},g)))},[g,F,Z,N.autoSearch,j]);var ee=function(e){var t,n;if(K.current){var o=null===(t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===t?void 0:t.set;null==o||o.call(K.current,e);var a=new Event("input",{bubbles:!0});null===(n=K.current)||void 0===n||n.dispatchEvent(a)}},te=n.useCallback(function(){var e;N.onCleared&&N.onCleared(),E(""),ee(""),null===(e=K.current)||void 0===e||e.focus()},[N]);n.useEffect(function(){function e(e){var t;(null===(t=W.current)||void 0===t?void 0:t.contains(e.target))||Q(!0)}var t=N.scrollTarget&&null!=N.scrollTarget?N.scrollTarget:window;return window.addEventListener("click",e),t.addEventListener("scroll",e),window.addEventListener("touchstart",e),function(){window.removeEventListener("click",e),t.removeEventListener("scroll",e),window.removeEventListener("touchstart",e)}},[W,N.scrollTarget]),n.useImperativeHandle(o,function(){return{setValue:ee,getValue:function(){var e;return null===(e=K.current)||void 0===e?void 0:e.value},getName:function(){return N.name},getLabel:function(){return N.labelText},validate:function(){return!1},getNativeRef:function(){return K},type:"Search",focus:function(){var e;return null===(e=K.current)||void 0===e?void 0:e.focus()},reset:te}},[te,K,N.labelText,N.name]);var ne=void 0,oe=void 0,ae=void 0;x&&(ne=j.length>=i&&(!H||H&&b),oe=N.id?N.id+"-input-suggestions":"generic-search-id-suggestions",ae="listbox");var re=N.id?N.id+"-label":"generic-search-id-label";return N.labelText&&""!==N.labelText||(re=void 0),t.jsxs("div",_({id:N.id,ref:W,className:Y.join(" ")},{children:[re&&t.jsx("label",_({id:re,className:N.hideLabel?"".concat(v,"-visually-hidden"):"",htmlFor:N.id?N.id+"-input"
1:"generic-search-id"},{children:N.labelText})),t.jsxs("div",_({className:"".concat(v,"-content-search-container ").concat(Ho.container)},{children:[t.jsxs("div",{children:[t.jsxs("div",_({className:"".concat(v,"-content-search-container-input-container ").concat(Ho["input-container"])},{children:[t.jsx("input",{id:N.id?N.id+"-input":"generic-search-id",type:x?"text":"search",role:x?"combobox":void 0,"aria-controls":x?oe:void 0,"aria-expanded":x?ne:void 0,"aria-haspopup":ae,placeholder:!ne&&N.placeholderText?N.placeholderText:void 0,value:j,name:N.name,onChange:function(e){var t;V(!0),E(e.target.value),Vo=e.target.value,""===j&&(null==D?void 0:D.length)&&A([]),N.fetchSuggestionData&&-1===L&&""!==j&&i<=Vo.length&&(window.clearTimeout(L),M(window.setTimeout(J,m))),N.onCleared&&""===Vo&&N.onCleared(),null===(t=N.onChange)||void 0===t||t.call(N,e.target.value,e)},"aria-labelledby":re?void 0:N.labelledBy,"aria-owns":x?oe:void 0,onClick:function(e){e.stopPropagation()},autoComplete:"off",onKeyDown:function(e){var t;"Enter"===e.key?(e.preventDefault(),Z(j),null===(t=N.onChange)||void 0===t||t.call(N,j)):G&&"Tab"!==e.key&&Q(!1),"ArrowDown"===e.key&&(e.preventDefault(),q.current&&q.current.focusFirst())},ref:K}),j&&t.jsx("button",_({title:w,"aria-label":w,className:Ho.clearButton,onClick:te},{children:"×"}))]})),x&&t.jsx(Bo,{className:ne?void 0:Ho.hidden,id:oe,ref:q,data:D.slice(0,u),highlighting:N.highlighting,disableSuggestions:G,onClick:$,searchText:j,retrieveFocus:function(){var e;null===(e=K.current)||void 0===e||e.focus(),Q(!0)},loading:H,renderListItem:N.renderListItem,noResultsText:N.noResultsText,showNoResultsText:c,suggestionsIcon:N.suggestionsIcon})]}),N.searchButton&&t.jsx(z,_({onClick:function(){Z(j),Q(!0)}},X))]}))]}))}),Go={base:"selectSearch-module__base_9322_gw85p","input-container":"selectSearch-module__input-container_9322_j-5Dv","style--icon-inside":"selectSearch-module__style--icon-inside_9322_9T3Bj","style--icon-outside":"selectSearch-module__style--icon-outside_9322_Q8Q42",container:"selectSearch-module__container_9322_g3ai9","size--small":"selectSearch-module__size--small_9322_gkxBb","size--medium":"selectSearch-module__size--medium_9322_-7n60","size--large":"selectSearch-module__size--large_9322_2qLiw","size--full":"selectSearch-module__size--full_9322_35xzs"};s(".selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]{-webkit-appearance:none;background-color:#fff;background-color:var(--bc-background-color);border:var(--bc-input-border-width) solid var(--bc-c-border-input);box-sizing:border-box;color:var(--bc-c-text-primary);font-size:var(--bc-input-font-size);height:calc(var(--bc-input-height) - .25rem);min-height:calc(var(--bc-input-height) - .25rem);padding:0 1rem;transition:color .1s ease-in-out,background-color .1s ease-in-out}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]:hover{background-color:var(--bc-background-color);color:var(--bc-basic-color-500)}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]:focus{background-color:var(--bc-background-color);border-color:var(--bc-basic-color-500);color:var(--bc-basic-color-500)}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[disabled][type=search],.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[readonly][type=search]{background-color:var(--bc-background-color);color:var(--basic-color-300);cursor:not-allowed}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]::-ms-clear{display:none}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]:-ms-input-placeholder,.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]::-moz-placeholder,.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]::-webkit-input-placeholder,.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]::placeholder{color:var(--bc-input-placeholder-color);opacity:1}.selectSearch-module__base_9322_gw85p.selectSearch-module__style--icon-inside_9322_9T3Bj input[type=search],.selectSearch-module__base_9322_gw85p.selectSearch-module__style--icon-outside_9322_Q8Q42 .selectSearch-module__container_9322_g3ai9{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAABjUlEQVRYhe2WTU4CQRCFPyGwEdcaFx4AvIO40KUoMegNCGj8uYQxnkFXRu+iO9HIiJi4MyTuxoUsBBddk26JylCNGBJeUmmYmVfvTVdNzcAEY4w0UAIugQB4kwiACzmX/ivxIvAEdPtEE9gYpnACOHEEboA9IAtMS+SAfaDmXHcsXG9E4u9AuU/SBFCRayMTXig64ksD8PKOiXWteBpb87KCXxXuI5DSGChha66pZRK4lRyb7om4yaJOPgU6CgMfwJn8VpXhAeM+qyELcpIj0JBDIWc8DMxIjtA9GLcEUx7CvTm+lDCugZasCx4GIu6LxsCVrCseBlZlvdaQtzH1q6F/DO/45jGMixTwLAkqCv6ucBsoBxFAATuK8wPwloE2pvnWtOIAc8CrY6KK2dqfkMTceVs4R77idUkUmehixusBZshkJBaBQ2zNOyKufh274nX5X8D2xG/RYAjb3iseIQVsYT6/mpjPsRC4B84x3a5uOIBZ7DYGwLxPson4WIiDnVi9DTdS7Pyn+AQjxye0yX9Iv8qNSwAAAABJRU5ErkJggg==);background-position:5px 50%;background-repeat:no-repeat;background-size:30px 30px;padding-left:40px}.selectSearch-module__base_9322_gw85p{display:flex;flex-direction:column;max-width:100%}.selectSearch-module__base_9322_gw85p label{display:block;font-size:90%;font-weight:600;padding-bottom:10px}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv{position:relative}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]{border:2px solid #000;border-radius:4px;flex-grow:1;height:auto;padding-left:1rem;width:100%}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]::placeholder{opacity:1}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]:-ms-input-placeholder{color:#000}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv input[type=search]::-ms-input-placeholder{color:#000}.selectSearch-module__base_9322_gw85p .selectSearch-module__input-container_9322_j-5Dv [data-clear-input]{cursor:pointer;font-size:1.6em;font-weight:700;padding:0 .2em;position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.selectSearch-module__base_9322_gw85p .selectSearch-module__container_9322_g3ai9{display:flex;flex-direction:row;width:100%}.selectSearch-module__base_9322_gw85p .selectSearch-module__container_9322_g3ai9 div{display:flex;flex-direction:column;flex-grow:1}.selectSearch-module__base_9322_gw85p.selectSearch-module__style--icon-outside_9322_Q8Q42 label{padding-left:40px}.selectSearch-module__base_9322_gw85p.selectSearch-module__style--icon-outside_9322_Q8Q42 .selectSearch-module__container_9322_g3ai9{max-width:calc(100% - 40px)}.selectSearch-module__base_9322_gw85p.selectSearch-module__style--icon-inside_9322_9T3Bj input[type=search]{padding-left:40px}.selectSearch-module__base_9322_gw85p.selectSearch-module__size--small_9322_gkxBb{width:200
1px}.selectSearch-module__base_9322_gw85p.selectSearch-module__size--medium_9322_-7n60{width:400px}.selectSearch-module__base_9322_gw85p.selectSearch-module__size--large_9322_2qLiw{width:800px}.selectSearch-module__base_9322_gw85p.selectSearch-module__size--full_9322_35xzs{width:100%}.selectSearch-module__base_9322_gw85p li a{height:auto}");var Qo="",Wo={visuallyHidden:"table-module__visuallyHidden_9322_AcyU-",body:"table-module__body_9322_HOcxD",footer:"table-module__footer_9322_6yOvD",header:"table-module__header_9322_OkMTW","header-cell":"table-module__header-cell_9322_-xSSP","data-cell":"table-module__data-cell_9322_diQK6",row:"table-module__row_9322_p9nvi"};s(".table-module__visuallyHidden_9322_AcyU-{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}");var qo=Object.assign(function(e){var n=f(e,[]),o=["".concat(v,"-table ").concat(Wo.base)];return n.className&&o.push(n.className),t.jsx("table",_({},n,{className:o.join(" ")},{children:n.children}))},{Body:function(e){var n=f(e,[]),o=["".concat(v,"-table-body ").concat(Wo.body)];return n.className&&o.push(n.className),t.jsx("tbody",_({className:o.join(" ")},{children:n.children}))},Header:function(e){var n=f(e,[]),o=["".concat(v,"-table-header ").concat(Wo.header)];return n.className&&o.push(n.className),t.jsx("thead",_({className:o.join(" ")},{children:n.children}))},Footer:function(e){var n=f(e,[]),o=["".concat(v,"-table-footer ").concat(Wo.footer)];return n.className&&o.push(n.className),t.jsx("tfoot",_({className:o.join(" ")},{children:n.children}))},HeaderCell:function(e){var n=f(e,[]),o=["".concat(v,"-table-header-cell ").concat(Wo["header-cell"])];return n.className&&o.push(n.className),t.jsx("th",_({className:o.join(" ")},{children:n.children}))},Row:function(e){var n=f(e,[]),o=["".concat(v,"-table-row ").concat(Wo.row)];return n.className&&o.push(n.className),t.jsx("tr",_({},n,{className:o.join(" ")},{children:n.children}))},DataCell:function(e){var n=f(e,[]),o=["".concat(v,"-table-data-cell ").concat(Wo["data-cell"])];return n.className&&o.push(n.className),t.jsx("td",_({},n,{className:o.join(" ")},{children:n.children}))},Caption:function(e){var n=f(e,[]),o=["".concat(v,"-table-caption ").concat(Wo.caption)];return n.className&&o.push(n.className),void 0!==n.visuallyHidden&&n.visuallyHidden&&o.push(Wo.visuallyHidden),t.jsx("caption",_({className:o.join(" ")},{children:n.children}))}}),Ko=n.forwardRef(function(e,o){var a=f(e,[]),r=n.useState(a.selected),l=r[0],c=r[1];i.useLayoutEffect(function(){c(a.selected)},[a.selected]);var s=function(){return a.title},u=function(){return l},d=function(e){c(e)};return n.useImperativeHandle(o,function(){return{getTitle:s,setVisibility:d,isVisible:u}}),t.jsx(t.Fragment,{children:l&&a.children})});s(".tabs-module__base_9322_I1MuQ{width:100%}.tabs-module__base_9322_I1MuQ .tabs-module__header_9322_YL-7j{border-bottom:1px solid var(--bc-c-border-separator);margin:0 0 10px;overflow:visible;padding:0;width:100%}.tabs-module__base_9322_I1MuQ .tabs-module__header_9322_YL-7j .tabs-module__header-item_9322_7dSZ7{background-color:initial;display:inline-block;margin:0 5px 0 0}.tabs-module__base_9322_I1MuQ .tabs-module__header_9322_YL-7j .tabs-module__header-item_9322_7dSZ7 button{background-color:initial;border:none;cursor:pointer;font-size:1rem;height:50px;min-width:100px;outline:none;position:relative;width:fit-content;z-index:1}.tabs-module__base_9322_I1MuQ .tabs-module__header_9322_YL-7j .tabs-module__header-item_9322_7dSZ7 button:focus,.tabs-module__base_9322_I1MuQ .tabs-module__header_9322_YL-7j .tabs-module__header-item_9322_7dSZ7 button:hover{box-shadow:inset 0 -2px 0 var(--bc-c-action-primary-hover);outline:0}.tabs-module__base_9322_I1MuQ .tabs-module__--selected_9322_qqTe1,.tabs-module__base_9322_I1MuQ .tabs-module__header_9322_YL-7j .tabs-module__header-item_9322_7dSZ7 button:focus{box-shadow:inset 0 -3px 0 var(--bc-c-action-primary)}.tabs-module__base_9322_I1MuQ .tabs-module__body_9322_yI7QP{background:#fbfcfe;padding:.5rem .5rem .7rem;position:relative}");var Xo=Ko,Yo={base:"tag-module__base_9322_C7yjx","size--small":"tag-module__size--small_9322_3vh3Q","size--medium":"tag-module__size--medium_9322_V0Pcy","size--large":"tag-module__size--large_9322_cbfYF","size--xlarge":"tag-module__size--xlarge_9322_ZDfzo","--primary":"tag-module__--primary_9322_1l7Q-","appearance--ghost":"tag-module__appearance--ghost_9322_XSre8",clickable:"tag-module__clickable_9322_wznAt","--secondary":"tag-module__--secondary_9322_z4CMu"};s(".tag-module__base_9322_C7yjx{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:.0625rem solid #00000026;border-radius:4rem;cursor:pointer;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;font-size:1rem;margin:0 .5rem .5rem 0;max-width:100%;padding:.5rem .5rem .5rem 1rem}.tag-module__base_9322_C7yjx span{font-size:1rem;white-space:nowrap}.tag-module__base_9322_C7yjx i{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;-webkit-box-pack:center;-ms-flex-pack:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#fff;border-radius:2rem;color:#000;display:-webkit-box;display:-ms-flexbox;display:flex;font-family:datasource;font-style:normal;font-variant:normal;font-weight:400;height:1.5rem;justify-content:center;line-height:1;margin-left:.5rem;text-transform:none;width:1.5rem}.tag-module__base_9322_C7yjx.tag-module__size--small_9322_3vh3Q{font-size:1rem;padding:.5rem .5rem .5rem 1rem}.tag-module__base_9322_C7yjx.tag-module__size--small_9322_3vh3Q span{font-size:1rem}.tag-module__base_9322_C7yjx.tag-module__size--small_9322_3vh3Q:after{height:1.5rem;margin-left:.5rem;width:1.5rem}.tag-module__base_9322_C7yjx.tag-module__size--medium_9322_V0Pcy{font-size:2rem;padding:1rem 1rem 1rem 1.5rem}.tag-module__base_9322_C7yjx.tag-module__size--medium_9322_V0Pcy span{font-size:2rem}.tag-module__base_9322_C7yjx.tag-module__size--medium_9322_V0Pcy:after{height:2.5rem;margin-left:1rem;width:2.5rem}.tag-module__base_9322_C7yjx.tag-module__size--large_9322_cbfYF{font-size:3rem;padding:1.5rem 1.5rem 1.5rem 2rem}.tag-module__base_9322_C7yjx.tag-module__size--large_9322_cbfYF span{font-size:3rem}.tag-module__base_9322_C7yjx.tag-module__size--large_9322_cbfYF:after{height:3.5rem;margin-left:1.5rem;width:3.5rem}.tag-module__base_9322_C7yjx.tag-module__size--xlarge_9322_ZDfzo{font-size:4rem;padding:2rem 2rem 2rem 2.5rem}.tag-module__base_9322_C7yjx.tag-module__size--xlarge_9322_ZDfzo span{font-size:4rem}.tag-module__base_9322_C7yjx.tag-module__size--xlarge_9322_ZDfzo:after{height:4.5rem;margin-left:2rem;width:4.5rem}.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-{background-color:var(--bc-c-action-primary);border-color:var(--bc-c-action-primary);color:#fff}.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-:focus,.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-:hover{background-color:var(--bc-primary-color-100);border-color:var(--bc-primary-color-300);color:var(--bc-c-action-primary)}.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-:focus:after,.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-:hover:after{color:var(--bc-c-action-primary)}.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-[aria-disabled=true],.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-[disabled]{background-color:var(--bc-primary-color-100);border-color:var(--bc-primary-color-100);color:#fff}.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-:after{color:var(--bc-c-action-primary)}.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-.tag-module__appearance--ghost_9322_XSre8{background:none;background-color:#0000;border-color:var(--bc-primary-color-300);color:var(--bc-primary-color-300)}.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-.tag-module__appearance--ghost_9322_XSre8:after,.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-.tag-module__appearance--ghost_9322_XSre8:hover{background-color:var(--bc-primary-color-300);color:#fff}.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-.tag-module__appearance--ghost_9322_XSre8:hover.tag-module__clickable_9322_wznAt{cursor:pointer}.tag-module__base_9322_C7yjx.tag-module__--primary_9322_1l7Q-.tag-module__appearance--ghost_9322_XSre8:hover:after{background-color:#fff;color:var(--bc-primary-color-300)}.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu{background-color:#fff;border-color:var(--bc-c-action-primary);color:#282828}.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu:focus,.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu:hover{background-color:var(--bc-c-action-primary);border-color:var(--bc-c-action-primary);color:#fff}.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu:focus:after,.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu:hover:after{background-color:#fff;color:var(--bc-c-action-primary)}.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu[aria-disabled=true],.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu[disabled]{background-color:#e1e1e1;border-color:#e1e1e1;color:#fff}.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu:after{background-color:var(--bc-c-action-primary);color:#e1e1e1}.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu.tag-module__appearance--ghost_9322_XSre8{background:none;background-color:#0000;border-color:var(--bc-primary-color-300);color:var(--bc-primary-color-300)}.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu.tag-module__appearance--ghost_9322_XSre8:after,.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu.tag-module__appearance--ghost_9322_XSre8:hover{background-color:var(--bc-primary-color-300);color:#fff}.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu.tag-module__appearance--ghost_9322_XSre8:hover.tag-module__clickable_9322_wznAt{cursor:pointer}.tag-module__base_9322_C7yjx.tag-module__--secondary_9322_z4CMu.tag-module__appearance--ghost_9322_XSre8:hover:after{background-color:#fff;color:var(--bc-primary-color-300)}");var Jo=function(e){var n,o=e.text,a=e.status,r=void 0===a?"primary":a,i=e.appearance,l=void 0===i?"filled":i,c=e.name,s=void 0===c?void 0:c,u=e.index,d=void 0===u?void 0:u,m=e.onDelete,p=void 0===m?void 0:m,b=e.maxLength,h=void 0===b?32:b,g=e.removeItemText,y=void 0===g?"Fjern det valgte elementet:":g,x=f(e,["text","status","appearance","name","index","onDelete","maxLength","removeItemText"]),k=null!=o?o:s;o&&o.length>h&&(o=o.substring(0,h)+"...");var w=bt.getClassNameAsArray("content-tag",x);return w.push(Yo.base),w.push("".concat(v,"-content-tag--").concat(r),Yo["--"+r]),w.push("".concat(v,"-content-tag--appearance-").concat(l),Yo["appearance--"+l]),t.jsxs("button",_({"aria-label":"".concat(y," ").concat(k),title:k,type:"button",className:w.join(" "),onClick:p&&void 0!==d?function(e){return p(d,e)}:void 0},{children:[t.jsxs("span",_({className:"".concat(v,"-content-tag-span")},{children:[null===(n=o||s)||void 0===n?void 0:n.substring(0,h),o&&(null==o?void 0:o.length)>h||s&&(null==s?void 0:s.length)>h?"...":""]})),t.jsx(L,{icon:"ri-close-line"})]}))},Zo="tag-list-module__tag_9322_Bgc2u";s(".tag-list-module__base_9322_L3VSE{display:inline;margin:0 5px 0 0;padding:0}.tag-list-module__base_9322_L3VSE .tag-list-module__tag_9322_Bgc2u{margin-right:.5rem}.tag-list-module__base_9322_L3VSE .tag-list-module__tag_9322_Bgc2u:last-child{margin-right:0}");var $o=function(e){var o=e.status,a=void 0===o?"primary":o,r=e.appearance,i=void 0===r?"filled":r,l=e.onTagDelete,c=e.tags,s=void 0===c?[]:c,u=e.invertCloseAllTagStatus,d=void 0===u||u,m=f(e,["status","appearance","onTagDelete","tags","invertCloseAllTagStatus"]);if(null==s||0===s.length)return null;var p=bt.getClassNameAsArray("content-tag-list",m);p.push("tag-list-module__base_9322_L3VSE"),p.push("".concat(v,"-content-tag-list--").concat(a)),p.push("".concat(v,"-content-tag-list--appearance-").concat(i)),m.className&&p.push(m.className);var b="primary"===a?"secondary":"primary";return b=d?b:a,t.jsxs("div",_({"aria-label":m.ariaLabel,className:p.join(" ")},{children:[m.displayCloseAllTag&&s.length>0&&t.jsx(Jo,{className:Zo,text:m.closeAllTagText,onDelete:m.onClickCloseAllTags,size:m.size,status:b,appearance:i,index:-1}),s.map(function(e,t){return n.createElement(Jo,_({},e,{className:Zo,onDelete:l,index:t,key:t,size:m.size,status:a,appearance:i}))})]}))},ea={base:"tag-input-module__base_9322_psn-e","input-wrapper":"tag-input-module__input-wrapper_9322_p3pBl"};s(".tag-input-module__base_9322_psn-e{border:none;display:block;flex:1 1 auto;font-size:12pt;margin:5px;min-height:100%;position:relative}.tag-input-module__input-wrapper_9322_p3pBl{border:1px solid #ccc;border-radius:5px;
1display:flex;flex-flow:row wrap;padding:10px}.tag-input-module__input-wrapper_9322_p3pBl :focus{outline:blue}.tag-input-module__tagsList_9322_LeugA{display:inline;margin:0 5px 0 0;padding:0}.tag-input-module__tagsList_9322_LeugA li{background:#ddd;border-radius:4px;color:#444;display:inline-block;font-size:11pt;margin:3px;padding:3px 5px}.tag-input-module__tagsList_9322_LeugA li.tag-input-module__clickable_9322_MrajG:hover{background:#aaa;color:#000;cursor:pointer}.tag-input-module__tagsList_9322_LeugA li a{color:#666;margin-left:5px;padding:0 2px;text-decoration:none}.tag-input-module__tagsList_9322_LeugA li a:hover{color:#dd3345}"),s('.tooltip-module__base_9322_2GSwR{display:inline;position:relative}.tooltip-module__trigger_9322_T8lCz{align-items:center;background-color:#000;border:0;border-radius:50%;color:#fff;cursor:pointer;display:inline-flex;height:1em;justify-content:center;margin:0;padding:0;text-align:center;width:1em}.tooltip-module__trigger_9322_T8lCz:focus{outline:none}.tooltip-module__trigger_9322_T8lCz[aria-expanded=true]+.tooltip-module__content_9322_M9kUB{display:block}.tooltip-module__trigger-text_9322_TOvqw{display:none}.tooltip-module__content_9322_M9kUB{background:#fff;border:.0625rem solid #000;box-shadow:0 3px 5px 0 #00000026;display:none;left:100%;margin-left:.5rem;max-width:22em;min-width:12em;padding:.5rem;position:absolute;top:-50%;z-index:100}.tooltip-module__closeIcon_9322_BOcTI{background-color:initial;background-image:url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ny45NzEgNDcuOTcxIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0Ny45NzEgNDcuOTcxIiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBkPSJNMjguMjI4IDIzLjk4NiA0Ny4wOTIgNS4xMjJhMi45OTggMi45OTggMCAwIDAgMC00LjI0MiAyLjk5OCAyLjk5OCAwIDAgMC00LjI0MiAwTDIzLjk4NiAxOS43NDQgNS4xMjEuODhhMi45OTggMi45OTggMCAwIDAtNC4yNDIgMCAyLjk5OCAyLjk5OCAwIDAgMCAwIDQuMjQybDE4Ljg2NSAxOC44NjRMLjg3OSA0Mi44NWEyLjk5OCAyLjk5OCAwIDEgMCA0LjI0MiA0LjI0MWwxOC44NjUtMTguODY0TDQyLjg1IDQ3LjA5MWMuNTg2LjU4NiAxLjM1NC44NzkgMi4xMjEuODc5czEuNTM1LS4yOTMgMi4xMjEtLjg3OWEyLjk5OCAyLjk5OCAwIDAgMCAwLTQuMjQyTDI4LjIyOCAyMy45ODZ6Ii8+PC9zdmc+");background-repeat:no-repeat;border:none;cursor:pointer;height:13px;outline:none;position:absolute;right:10px;top:10px;width:13px}.tooltip-module__closeIcon_9322_BOcTI:focus,.tooltip-module__closeIcon_9322_BOcTI:hover{transform:scale(1.2);transition:all .2s}');const{entries:ta,setPrototypeOf:na,isFrozen:oa,getPrototypeOf:aa,getOwnPropertyDescriptor:ra}=Object;let{freeze:ia,seal:la,create:ca}=Object,{apply:sa,construct:ua}="undefined"!=typeof Reflect&&Reflect;ia||(ia=function(e){return e}),la||(la=function(e){return e}),sa||(sa=function(e,t,n){return e.apply(t,n)}),ua||(ua=function(e,t){return new e(...t)});const da=Ca(Array.prototype.forEach),ma=Ca(Array.prototype.pop),_a=Ca(Array.prototype.push),pa=Ca(String.prototype.toLowerCase),fa=Ca(String.prototype.toString),ba=Ca(String.prototype.match),ha=Ca(String.prototype.replace),ga=Ca(String.prototype.indexOf),va=Ca(String.prototype.trim),ya=Ca(Object.prototype.hasOwnProperty),xa=Ca(RegExp.prototype.test),ka=(wa=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ua(wa,t)});var wa;function Ca(e){return function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),a=1;a<n;a++)o[a-1]=arguments[a];return sa(e,t,o)}}function Sa(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:pa;na&&na(e,null);let o=t.length;for(;o--;){let a=t[o];if("string"==typeof a){const e=n(a);e!==a&&(oa(t)||(t[o]=e),a=e)}e[a]=!0}return e}function Na(e){for(let t=0;t<e.length;t++)ya(e,t)||(e[t]=null);return e}function Ta(e){const t=ca(null);for(const[n,o]of ta(e))ya(e,n)&&(t[n]=Array.isArray(o)?Na(o):o&&"object"==typeof o&&o.constructor===Object?Ta(o):o);return t}function ja(e,t){for(;null!==e;){const n=ra(e,t);if(n){if(n.get)return Ca(n.get);if("function"==typeof n.value)return Ca(n.value)}e=aa(e)}return function(){return null}}const Ea=ia(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Pa=ia(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Da=ia(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Aa=ia(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ra=ia(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),za=ia(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),La=ia(["#text"]),Ma=ia(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
1spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Ia=ia(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Fa=ia(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Oa=ia(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ba=la(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ha=la(/<%[\w\W]*|[\w\W]*%>/gm),Va=la(/\${[\w\W]*}/gm),Ua=la(/^data-[\-\w.\u00B7-\uFFFF]/),Ga=la(/^aria-[\-\w]+$/),Qa=la(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Wa=la(/^(?:\w+script|data):/i),qa=la(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Ka=la(/^html$/i),Xa=la(/^[a-z][.\w]*(-[.\w]+)+$/i);var Ya=Object.freeze({__proto__:null,MUSTACHE_EXPR:Ba,ERB_EXPR:Ha,TMPLIT_EXPR:Va,DATA_ATTR:Ua,ARIA_ATTR:Ga,IS_ALLOWED_URI:Qa,IS_SCRIPT_OR_DATA:Wa,ATTR_WHITESPACE:qa,DOCTYPE_NAME:Ka,CUSTOM_ELEMENT:Xa}),Ja=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window;const n=t=>e(t);if(n.version="3.1.7",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;let{document:o}=t;const a=o,r=a.currentScript,{DocumentFragment:i,HTMLTemplateElement:l,Node:c,Element:s,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:m,DOMParser:_,trustedTypes:p}=t,f=s.prototype,b=ja(f,"cloneNode"),h=ja(f,"remove"),g=ja(f,"nextSibling"),v=ja(f,"childNodes"),y=ja(f,"parentNode");if("function"==typeof l){const e=o.createElement("template");e.content&&e.content.ownerDocument&&(o=e.content.ownerDocument)}let x,k="";const{implementation:w,createNodeIterator:C,createDocumentFragment:S,getElementsByTagName:N}=o,{importNode:T}=a;let j={};n.isSupported="function"==typeof ta&&"function"==typeof y&&w&&void 0!==w.createHTMLDocument;const{MUSTACHE_EXPR:E,ERB_EXPR:P,TMPLIT_EXPR:D,DATA_ATTR:A,ARIA_ATTR:R,IS_SCRIPT_OR_DATA:z,ATTR_WHITESPACE:L,CUSTOM_ELEMENT:M}=Ya;let{IS_ALLOWED_URI:I}=Ya,F=null;const O=Sa({},[...Ea,...Pa,...Da,...Ra,...La]);let B=null;const H=Sa({},[...Ma,...Ia,...Fa,...Oa]);
vendor: 6,124 bytes, line 1
1let V=Object.seal(ca(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),U=null,G=null,Q=!0,W=!0,q=!1,K=!0,X=!1,Y=!0,J=!1,Z=!1,$=!1,ee=!1,te=!1,ne=!1,oe=!0,ae=!1,re=!0,ie=!1,le={},ce=null;const se=Sa({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ue=null;const de=Sa({},["audio","video","img","source","image","track"]);let me=null;const _e=Sa({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pe="http://www.w3.org/1998/Math/MathML",fe="http://www.w3.org/2000/svg",be="http://www.w3.org/1999/xhtml";let he=be,ge=!1,ve=null;const ye=Sa({},[pe,fe,be],fa);let xe=null;const ke=["application/xhtml+xml","text/html"];let we=null,Ce=null;const Se=o.createElement("form"),Ne=function(e){return e instanceof RegExp||e instanceof Function},Te=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Ce||Ce!==e){if(e&&"object"==typeof e||(e={}),e=Ta(e),xe=-1===ke.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,we="application/xhtml+xml"===xe?fa:pa,F=ya(e,"ALLOWED_TAGS")?Sa({},e.ALLOWED_TAGS,we):O,B=ya(e,"ALLOWED_ATTR")?Sa({},e.ALLOWED_ATTR,we):H,ve=ya(e,"ALLOWED_NAMESPACES")?Sa({},e.ALLOWED_NAMESPACES,fa):ye,me=ya(e,"ADD_URI_SAFE_ATTR")?Sa(Ta(_e),e.ADD_URI_SAFE_ATTR,we):_e,ue=ya(e,"ADD_DATA_URI_TAGS")?Sa(Ta(de),e.ADD_DATA_URI_TAGS,we):de,ce=ya(e,"FORBID_CONTENTS")?Sa({},e.FORBID_CONTENTS,we):se,U=ya(e,"FORBID_TAGS")?Sa({},e.FORBID_TAGS,we):{},G=ya(e,"FORBID_ATTR")?Sa({},e.FORBID_ATTR,we):{},le=!!ya(e,"USE_PROFILES")&&e.USE_PROFILES,Q=!1!==e.ALLOW_ARIA_ATTR,W=!1!==e.ALLOW_DATA_ATTR,q=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,X=e.SAFE_FOR_TEMPLATES||!1,Y=!1!==e.SAFE_FOR_XML,J=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,$=e.FORCE_BODY||!1,oe=!1!==e.SANITIZE_DOM,ae=e.SANITIZE_NAMED_PROPS||!1,re=!1!==e.KEEP_CONTENT,ie=e.IN_PLACE||!1,I=e.ALLOWED_URI_REGEXP||Qa,he=e.NAMESPACE||be,V=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Ne(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(V.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Ne(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(V.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(V.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),X&&(W=!1),te&&(ee=!0),le&&(F=Sa({},La),B=[],!0===le.html&&(Sa(F,Ea),Sa(B,Ma)),!0===le.svg&&(Sa(F,Pa),Sa(B,Ia),Sa(B,Oa)),!0===le.svgFilters&&(Sa(F,Da),Sa(B,Ia),Sa(B,Oa)),!0===le.mathMl&&(Sa(F,Ra),Sa(B,Fa),Sa(B,Oa))),e.ADD_TAGS&&(F===O&&(F=Ta(F)),Sa(F,e.ADD_TAGS,we)),e.ADD_ATTR&&(B===H&&(B=Ta(B)),Sa(B,e.ADD_ATTR,we)),e.ADD_URI_SAFE_ATTR&&Sa(me,e.ADD_URI_SAFE_ATTR,we),e.FORBID_CONTENTS&&(ce===se&&(ce=Ta(ce)),Sa(ce,e.FORBID_CONTENTS,we)),re&&(F["#text"]=!0),J&&Sa(F,["html","head","body"]),F.table&&(Sa(F,["tbody"]),delete U.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw ka('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw ka('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');x=e.TRUSTED_TYPES_POLICY,k=x.createHTML("")}else void 0===x&&(x=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const o="data-tt-policy-suffix";t&&t.hasAttribute(o)&&(n=t.getAttribute(o));const a="dompurify"+(n?"#"+n:"");try{return e.createPolicy(a,{createHTML:e=>e,createScriptURL:e=>e})}catch(r){return null}}(p,r)),null!==x&&"string"==typeof k&&(k=x.createHTML(""));ia&&ia(e),Ce=e}},je=Sa({},["mi","mo","mn","ms","mtext"]),Ee=Sa({},["annotation-xml"]),Pe=Sa({},["title","style","font","a","script"]),De=Sa({},[...Pa,...Da,...Aa]),Ae=Sa({},[...Ra,...za]),Re=function(e){_a(n.removed,{element:e});try{y(e).removeChild(e)}catch(t){h(e)}},ze=function(e,t){try{_a(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(o){_a(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!B[e])if(ee||te)try{Re(t)}catch(o){}else try{t.setAttribute(e,"")}catch(o){}},Le=function(e){let t=null,n=null;if($)e="<remove></remove>"+e;else{const t=ba(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===xe&&he===be&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const a=x?x.createHTML(e):e;if(he===be)try{t=(new _).parseFromString(a,xe)}catch(i){}if(!t||!t.documentElement){t=w.createDocument(he,"template",null);try{t.documentElement.innerHTML=ge?k:a}catch(i){}}const r=t.body||t.documentElement;return e&&n&&r.insertBefore(o.createTextNode(n),r.childNodes[0]||null),he===be?N.call(t,J?"html":"body")[0]:J?t.documentElement:r},Me=function(e){return C.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Ie=function(e){return e instanceof m&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Fe=function(e){return"function"==typeof c&&e instanceof c},Oe=function(e,t,o){j[e]&&da(j[e],e=>{e.call(n,t,o,Ce)})},Be=function(e){let t=null;if(Oe("beforeSanitizeElements",e,null),Ie(e))return Re(e),!0;const o=we(e.nodeName);if(Oe("uponSanitizeElement",e,{tagName:o,allowedTags:F}),e.hasChildNodes()&&!Fe(e.firstElementChild)&&xa(/<[/\w]/g,e.innerHTML)&&xa(/<[/\w]/g,e.textContent))return Re(e),!0;if(7===e.nodeType)return Re(e),!0;
vendor: 1,108 bytes, line 1
1if(Y&&8===e.nodeType&&xa(/<[/\w]/g,e.data))return Re(e),!0;if(!F[o]||U[o]){if(!U[o]&&Ve(o)){if(V.tagNameCheck instanceof RegExp&&xa(V.tagNameCheck,o))return!1;if(V.tagNameCheck instanceof Function&&V.tagNameCheck(o))return!1}if(re&&!ce[o]){const t=y(e)||e.parentNode,n=v(e)||e.childNodes;if(n&&t)for(let o=n.length-1;o>=0;--o){const a=b(n[o],!0);a.__removalCount=(e.__removalCount||0)+1,t.insertBefore(a,g(e))}}return Re(e),!0}return e instanceof s&&!function(e){let t=y(e);t&&t.tagName||(t={namespaceURI:he,tagName:"template"});const n=pa(e.tagName),o=pa(t.tagName);return!!ve[e.namespaceURI]&&(e.namespaceURI===fe?t.namespaceURI===be?"svg"===n:t.namespaceURI===pe?"svg"===n&&("annotation-xml"===o||je[o]):Boolean(De[n]):e.namespaceURI===pe?t.namespaceURI===be?"math"===n:t.namespaceURI===fe?"math"===n&&Ee[o]:Boolean(Ae[n]):e.namespaceURI===be?!(t.namespaceURI===fe&&!Ee[o])&&!(t.namespaceURI===pe&&!je[o])&&!Ae[n]&&(Pe[n]||!De[n]):!("application/xhtml+xml"!==xe||!ve[e.namespaceURI]))}(e)?(Re(e),!0):"noscript"!==o&&"noembed"!==o&&"noframes"!==o||!xa(/<\/no(script|embed|frames)/i,e.innerHTML)?(X&&3===e.n
vendor: 4,164 bytes, line 1
1odeType&&(t=e.textContent,da([E,P,D],e=>{t=ha(t,e," ")}),e.textContent!==t&&(_a(n.removed,{element:e.cloneNode()}),e.textContent=t)),Oe("afterSanitizeElements",e,null),!1):(Re(e),!0)},He=function(e,t,n){if(oe&&("id"===t||"name"===t)&&(n in o||n in Se))return!1;if(W&&!G[t]&&xa(A,t));else if(Q&&xa(R,t));else if(!B[t]||G[t]){if(!(Ve(e)&&(V.tagNameCheck instanceof RegExp&&xa(V.tagNameCheck,e)||V.tagNameCheck instanceof Function&&V.tagNameCheck(e))&&(V.attributeNameCheck instanceof RegExp&&xa(V.attributeNameCheck,t)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(t))||"is"===t&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&xa(V.tagNameCheck,n)||V.tagNameCheck instanceof Function&&V.tagNameCheck(n))))return!1}else if(me[t]);else if(xa(I,ha(n,L,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==ga(n,"data:")||!ue[e])if(q&&!xa(z,ha(n,L,"")));else if(n)return!1;return!0},Ve=function(e){return"annotation-xml"!==e&&ba(e,M)},Ue=function(e){Oe("beforeSanitizeAttributes",e,null);const{attributes:t}=e;if(!t)return;const o={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:B};let a=t.length;for(;a--;){const i=t[a],{name:l,namespaceURI:c,value:s}=i,u=we(l);let d="value"===l?s:va(s);if(o.attrName=u,o.attrValue=d,o.keepAttr=!0,o.forceKeepAttr=void 0,Oe("uponSanitizeAttribute",e,o),d=o.attrValue,o.forceKeepAttr)continue;if(ze(l,e),!o.keepAttr)continue;if(!K&&xa(/\/>/i,d)){ze(l,e);continue}X&&da([E,P,D],e=>{d=ha(d,e," ")});const m=we(e.nodeName);if(He(m,u,d))if(!ae||"id"!==u&&"name"!==u||(ze(l,e),d="user-content-"+d),Y&&xa(/((--!?|])>)|<\/(style|title)/i,d))ze(l,e);else{if(x&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(c);else switch(p.getAttributeType(m,u)){case"TrustedHTML":d=x.createHTML(d);break;case"TrustedScriptURL":d=x.createScriptURL(d)}try{c?e.setAttributeNS(c,l,d):e.setAttribute(l,d),Ie(e)?Re(e):ma(n.removed)}catch(r){}}}Oe("afterSanitizeAttributes",e,null)},Ge=function e(t){let n=null;const o=Me(t);for(Oe("beforeSanitizeShadowDOM",t,null);n=o.nextNode();)Oe("uponSanitizeShadowNode",n,null),Be(n)||(n.content instanceof i&&e(n.content),Ue(n));Oe("afterSanitizeShadowDOM",t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=null,r=null,l=null,s=null;if(ge=!e,ge&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Fe(e)){if("function"!=typeof e.toString)throw ka("toString is not a function");if("string"!=typeof(e=e.toString()))throw ka("dirty is not a string, aborting")}if(!n.isSupported)return e;if(Z||Te(t),n.removed=[],"string"==typeof e&&(ie=!1),ie){if(e.nodeName){const t=we(e.nodeName);if(!F[t]||U[t])throw ka("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof c)o=Le("\x3c!----\x3e"),r=o.ownerDocument.importNode(e,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?o=r:o.appendChild(r);else{if(!ee&&!X&&!J&&-1===e.indexOf("<"))return x&&ne?x.createHTML(e):e;if(o=Le(e),!o)return ee?null:ne?k:""}o&&$&&Re(o.firstChild);const u=Me(ie?e:o);for(;l=u.nextNode();)Be(l)||(l.content instanceof i&&Ge(l.content),Ue(l));if(ie)return e;if(ee){if(te)for(s=S.call(o.ownerDocument);o.firstChild;)s.appendChild(o.firstChild);else s=o;return(B.shadowroot||B.shadowrootmode)&&(s=T.call(a,s,!0)),s}let d=J?o.outerHTML:o.innerHTML;return J&&F["!doctype"]&&o.ownerDocument&&o.ownerDocument.doctype&&o.ownerDocument.doctype.name&&xa(Ka,o.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+o.ownerDocument.doctype.name+">\n"+d),X&&da([E,P,D],e=>{d=ha(d,e," ")}),x&&ne?x.createHTML(d):d},n.setConfig=function(){Te(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Z=!0},n.clearConfig=function(){Ce=null,Z=!1},n.isValidAttribute=function(e,t,n){Ce||Te({});const o=we(e),a=we(t);return He(o,a,n)},n.addHook=function(e,t){"function"==typeof t&&(j[e]=j[e]||[],_a(j[e],t))},n.removeHook=function(e){if(j[e])return ma(j[e])},n.removeHooks=function(e){j[e]&&(j[e]=[])},n.removeAllHooks=function(){j={}},n}();s("");var Za=["cc-app-component","cc-htmx-app-component","cc-breadcrumb-component","cc-detail-list-component","cc-double-scrollbar-container-component","cc-event-bus-component","cc-faq
1-component","cc-image-gallery-component","cc-map-component","cc-show-more-container-component","cc-tab-container-component","cc-table-component","cc-tooltip-component","tooltip-component","cc-word-explanation-component","cc-scroll-to-link-target-component","cc-assets-loader-component"],$a=function(e,n){var o;return null===(o=e.current)||void 0===o?void 0:o.getRefs().map(function(e,o){var a,r,i,l,c,s=null===(a=e.current)||void 0===a?void 0:a.getValue();return"Input"==(null===(r=e.current)||void 0===r?void 0:r.type)&&"date"===(null===(i=e.current.getNativeRef().current)||void 0===i?void 0:i.type)&&(s=new Date(s).toLocaleDateString()),t.jsxs("div",_({className:"".concat(n,"-body-field ").concat(Nn["group-body-field"])},{children:[t.jsx("label",_({id:"".concat(n,"-body-field-label-").concat(o),className:"".concat(n,"-body-field-label")},{children:null===(c=null===(l=e.current)||void 0===l?void 0:l.getLabel)||void 0===c?void 0:c.call(l)})),t.jsx("div",_({tabIndex:0,"aria-labelledby":"".concat(n,"-body-field-label-").concat(o),className:"".concat(n,"-body-field-value ").concat(Nn["group-body-field-value"])},{children:s}))]}),o)})},er=n.createContext({locale:"nb",defaultLocale:"nb",texts:{}}),tr=function(){var e=n.useContext(er),t=e.locale,o=e.texts,a=e.defaultLocale;return n.useCallback(function(e,n){var r,i,l,c,s=null!==(c=null!==(i=null===(r=null==o?void 0:o[t])||void 0===r?void 0:r[e])&&void 0!==i?i:null===(l=null==o?void 0:o[a])||void 0===l?void 0:l[e])&&void 0!==c?c:"";for(var u in n)s=s.replaceAll("{{"+u+"}}",String(n[u]));return s},[a,t,o])};function nr(e){var n=f(e,[]);return t.jsxs("div",_({className:"".concat(v,"-feedback")},{children:[t.jsx("h2",{children:n.translations.textHeader}),!n.formSubmited&&t.jsxs("div",_({className:"".concat(v,"-feedback-button-container")},{children:[t.jsx(z,{text:n.translations.textYes,onClick:function(){n.buttonPressed("yes")},className:"".concat(v,"-feedback-button-yes")}),t.jsx(z,{text:n.translations.textNo,onClick:function(){n.buttonPressed("no")},className:"".concat(v,"-feedback-button-no")})]})),n.formSubmited&&t.jsx("h3",_({className:"".concat(v,"-feedback-feedback")},{children:n.translations.textFeedbackResult}))]}))}function or(e){var n=f(e,[]);return t.jsxs("div",_({className:"il-feedback-form tilbakemelding"},{children:[t.jsx("span",_({role:"heading","aria-level":2,className:"fantDuLabel il-feedback-form-heading"},{children:n.translations.textHeader})),!n.formSubmited&&t.jsxs("ul",_({className:"fantDuDetDuLetteEtter il-feedback-form-options"},{children:[t.jsx("li",_({id:"fant1",className:"il-feedback-form-option"},{children:t.jsx("button",_({type:"button",id:"tilbakeJa",name:"tilbakemelding",className:"il-feedback-form-button il-feedback-form-button--yes",onClick:function(){n.buttonPressed("yes")}},{children:n.translations.textYes}))})),t.jsx("li",_({id:"fant0",className:"il-feedback-form-option"},{children:t.jsx("button",_({type:"button",id:"tilbakeNei",name:"tilbakemelding",className:"il-feedback-form-button il-feedback-form-button--no",onClick:function(){n.buttonPressed("no")}},{children:n.translations.textNo}))}))]})),n.formSubmited&&t.jsx("div",_({className:"kviteringMelding"},{children:n.translations.textFeedbackResult}))]}))}s("iframe[title=reCAPTCHA]{margin-bottom:10px;margin-top:10px}.bc-feedback .bc-feedback-feedback{margin-top:1rem}.bc-modal-feedback .bc-content-modal-header{padding:1rem}.bc-modal-feedback .bc-content-modal-header h1{margin:0}.bc-modal-feedback .bc-content-modal .feedback-modal-description{background-color:#f3f3f3;font-weight:700;margin-top:1rem;padding:10px}");var ar,rr=function(e){var o=l.default.useRef(null);return n.useEffect(function(){o.current&&setTimeout(function(){!function(e,t){var n;void 0===t&&(t="first");var o=null===(n=e.current)||void 0===n?void 0:n.querySelectorAll("input:checked");(null==o?void 0:o.length)&&("number"==typeof t&&(t=Math.min(Math.max(0,t),o.length-1)),"last"===t&&(t=o.length-1),"first"===t&&(t=0),o[t].focus())}(o)},100)},[o]),t.jsx("div",_({ref:o,onKeyDown:function(e){"Enter"===e.key&&e.preventDefault()}}
1,{children:t.jsx(T.Block,{children:t.jsxs(St,_({onSubmit:e.handleSubmit,onChange:e.handleChange,ref:e.formRef},{children:[t.jsx(T.Content.Row,{children:t.jsxs(xt,_({name:"status",id:"yesNoRadio",direction:"vertical",labelText:e.translations.textStatusRadioLabel,uuLabelText:e.translations.textUUStatusRadioLabel},{children:[t.jsx(st,{labelText:e.translations.textYes,variant:"inset",value:"yes",id:"radioYes",default:"yes"==e.status}),t.jsx(st,{labelText:e.translations.textNo,variant:"inset",value:"no",id:"radioNo",default:"no"==e.status})]}))}),e.displayCommentField&&t.jsxs(t.Fragment,{children:[t.jsx(T.Content.Row,{children:t.jsx("p",_({className:"feedback-modal-description"},{children:"yes"===e.status?e.translations.textPositiveCommentDescription:e.translations.textNegativeCommentDescription}))}),t.jsx(T.Content.Row,{children:t.jsx(Pt,{name:"comment",labelText:e.translations.textCommentLabel,notRequiredText:e.translations.textOptional})})]}),e.displayEmailField&&t.jsx(T.Content.Row,{children:t.jsx(at,{name:"mail",type:"email",labelText:e.translations.textMailLabel,subLabelText:e.translations.textMailSubLabel,notRequiredText:e.translations.textOptional,formValidation:{isMail:{data:!0,errorMessage:e.translations.textIsMailErrorMessage}}})}),e.reCAPTCHAVersion&&e.siteKey&&t.jsx(T.Content.Row,{children:t.jsx(Jt,{className:"".concat(v,"-content-mail-form-reCAPTCHA"),id:e.id+"-captcha",siteKey:e.siteKey,version:e.reCAPTCHAVersion,textUncheckedError:e.translations.textRecaptchaErrorMessage,name:"token"})})]}))})}))};function ir(e){var o=f(e,[]),a=n.createRef(),r=n.useState(!1),i=r[0],l=r[1],c=n.useCallback(function(e,t){var n;o.setStatus(t.status),i&&(null===(n=a.current)||void 0===n||n.validate())},[a,o,i]),s=function(){var e;if(l(!0),null===(e=a.current)||void 0===e?void 0:e.validate()){var t=a.current.getValues();t.mail||(t.mail=""),t.comment||(t.comment=""),o.onSubmit(t)}};return t.jsx(Ct,_({className:"".concat(v,"-modal-feedback"),show:o.display,onClose:o.onClose,title:o.translations.textModalTitle,closable:!0,size:"medium",variant:"confirmation",renderFooter:function(){return t.jsxs(t.Fragment,{children:[t.jsx(z,{loading:o.loading,className:"".concat(v,"-content-mail-form-send-btn"),type:"button",onClick:function(){s()},text:o.loading?o.translations.textButtonSendLoading:o.translations.textButtonSend}),t.jsx(z,{className:"".concat(v,"-content-mail-form-cancel-btn"),status:"secondary",text:o.translations.textButtonCancel,onClick:o.onClose})]})},ariaLabel:o.translations.textAriaLabel},{children:t.jsx(rr,{id:o.id,displayEmailField:!!o.displayEmailField,displayCommentField:!!o.displayCommentField,reCAPTCHAVersion:o.reCAPTCHAVersion,siteKey:o.siteKey,status:o.status,handleChange:c,translations:o.translations,handleSubmit:s,formRef:a})}))}function lr(e){var n=f(e,[]);return t.jsx(Ct,_({className:"".concat(v,"-modal-feedback-receipt"),id:n.id,show:n.display,onClose:n.onClose,title:n.translations.textModalTitle,size:"small",closable:!0,closeText:n.translations.textButtonClose},{children:t.jsx(jn,_({show:!0,variant:n.success?"success":"danger"},{children:n.translations.textFeedbackResult}))}))}e.SearchFilterType=void 0,(ar=e.SearchFilterType||(e.SearchFilterType={}))[ar.None=0]="None",ar[ar.TextBox=1]="TextBox",ar[ar.Boolean=2]="Boolean",ar[ar.NumberPicker=3]="NumberPicker",ar[ar.DatePicker=4]="DatePicker",ar[ar.DropDownList=5]="DropDownList",ar[ar.RadioButtonList=6]="RadioButtonList",ar[ar.CheckBoxList=7]="CheckBoxList",ar[ar.Geolocation=8]="Geolocation",ar[ar.Button=9]="Button";var cr={};s(".bc-filter-collapsible .bc-content-collapsible-content>*{padding-top:1rem}");var sr=function(e){var n=e.legendText,o=void 0===n?"":n,a=e.cssGroup,r=void 0===a?"":a,i=e.id,l=e.className,c=f(e,["legendText","cssGroup","id","className"]);if(!c.children)return null;var s=["".concat(v,"-content-form-fieldset"),"".concat(v,"-content-form-fieldset--").concat(r),l];return t.jsxs("fieldset",_({id:i?"".concat(v,"-content-form-fieldset-").concat(i):void 0,className:s.join(" ")},{children:[""!==o&&t.jsx("legend",_({id:i?"".concat(v,"-content-form-legend-").concat(i):void 0,className:"".concat(v,"-content-form-legend")},{children:t.jsx("span",_({id:i?"".concat(v,"-content-form-legend-text-").concat(i):void 0,className:"".concat(v,"-content-form-legend-text")},{children:o}))})),c.children]}))},ur={legend:"formElementLegend-module__legend_9322_Xzbsw",text:"formElementLegend-module__text_9322_4R0Qo",button:"formElementLegend-module__button_9322_d1x9R"};s('.formElementLegend-module__legend_9322_Xzbsw{align-items:center;border-bottom:1px solid #d3d3d3;display:flex;gap:1rem;justify-content:space-between;padding:1rem 0;position:relative;width:100%}.formElementLegend-module__legend_9322_Xzbsw .formElementLegend-module__text_9322_4R0Qo{align-items:center;cursor:pointer;display:flex;z-index:1}.formElementLegend-module__legend_9322_Xzbsw .formElementLegend-module__button_9322_d1x9R{appearance:none;background:#0000;border:0;border-radius:0;cursor:pointer}.formElementLegend-module__legend_9322_Xzbsw .formElementLegend-module__button_9322_d1x9R:after{content:"";inset:0;position:absolute}');var dr=function(e){var n=e.onClick,o=e.buttonLabel,a=null!=o?o:"Vis hjelpetekst for ".concat(e.title);return t.jsx(z,_({type:"button",onClick:n,appearance:"icon","aria-label":a,htmlTitle:a,className:"".concat(v,"-filter-button-helptext")},{children:t.jsx(L,{icon:"ri-question-line"})}))},mr=function(e){var n=e.text,o=e.onClickModalHelp,a=e.toggleCollapsible,r=e.open,i=e.ariaControl
1sId,l=e.openText,c=e.closeText,s=e.textId;return t.jsxs("legend",_({className:[ur.legend,e.className].join(" ")},{children:[t.jsxs("div",_({className:ur.text},{children:[t.jsx("div",_({id:s,onClick:function(e){e.stopPropagation(),null==a||a()}},{children:n})),o&&t.jsx(dr,{title:n,onClick:function(e){null==e||e.stopPropagation(),null==o||o()}})]})),a&&t.jsx("button",_({type:"button",className:ur.button,"aria-controls":i,"aria-expanded":r?"true":"false","aria-label":(r?c:l)+" "+n,onClick:function(e){e.stopPropagation(),null==a||a()}},{children:t.jsx(L,r?{icon:"ri-arrow-up-s-line"}:{icon:"ri-arrow-down-s-line"})}))]}))},_r=function(e){var n,o=["collapsible",e.labelId].join("-"),a=[o,"wrapper"].join("-");return t.jsx(Dn,_({defaultOpen:null===(n=e.searchFilter.isOpen)||void 0===n||n,mobileDefaultOpen:!1,id:a},{children:t.jsxs(sr,_({cssGroup:e.searchFilter.identifier,className:cr.fieldset},{children:[t.jsx(Dn.Header,{children:function(n,a){return t.jsx(mr,{textId:e.labelId,className:"".concat(v,"-filter-legend"),closeText:e.closeText,openText:e.openText,ariaControlsId:o,text:e.searchFilter.name,onClickModalHelp:e.searchFilter.helpHtml&&""!==e.searchFilter.helpHtml?e.onClickModalHelp:void 0,open:n,toggleCollapsible:function(){return a(!n)}})}}),t.jsx(Dn.Body,_({softHide:!0,id:o},{children:e.children}))]}))}))},pr=n.createContext(void 0),fr=function(){var e=n.useContext(pr);if(!e)throw new Error("useGeolocationContext must be used within GeolocationProvider");return[e.available,e.location,e.setLocation,e.askForLocation,e.resetLocation]},br=n.forwardRef(function(e,o){var a=e.apiKey,r=e.apiOptions,i=void 0===r?{}:r,l=e.autocompletionRequest,c=void 0===l?{}:l,s=e.minLengthAutocomplete,u=void 0===s?0:s,d=e.onLoadFailed,m=void 0===d?console.error:d,p=e.name,g=e.id,v=e.className,y=e.label,x=e.placeholderText,k=e.searchText,w=e.clearButtonTitle,C=e.labelledBy,S=fr(),N=S[1],T=S[2],j=S[4],E=n.useState(),P=E[0],D=E[1],A=n.useState(),R=A[0],z=A[1],L=n.useRef(null),M=n.useRef(!1),I=n.useRef(N);n.useEffect(function(){var e;if(I.current=N,P&&P.geocode){if(0===N.lat&&0===N.lng&&"function"==typeof(null===(e=L.current)||void 0===e?void 0:e.setValue))return M.current=!0,void L.current.setValue("");var t=P.geocode({location:N});t&&t.then(function(e){var t;e.results[0]&&"function"==typeof(null===(t=L.current)||void 0===t?void 0:t.setValue)&&(M.current=!0,L.current.setValue(e.results[0].formatted_address))})}},[P,N]);var F=n.useCallback(function(){var e,t;return[null!==(t=null===(e=L.current)||void 0===e?void 0:e.getValue())&&void 0!==t?t:"",I.current]},[]),O=function(e){var t;"function"==typeof(null===(t=L.current)||void 0===t?void 0:t.setValue)&&(M.current=!0,L.current.setValue(e))};n.useImperativeHandle(o,function(){return{getName:function(){return p},getValue:F,setValue:O,type:"Places",focus:function(){var e,t;return null===(t=null===(e=L.current)||void 0===e?void 0:e.focus)||void 0===t?void 0:t.call(e)},getNativeRef:function(){var e;return null===(e=L.current)||void 0===e?void 0:e.getNativeRef()},getLabel:function(){return y},reset:function(){return j()}}},[F,y,p,j]),n.useEffect(function(){a&&b(void 0,0,void 0,function(){var e;return h(this,function(t){switch(t.label){case 0:return t.trys.push([0,3,,4]),!a||window.google&&window.google.maps&&window.google.maps.places&&window.google.maps.Geocoder?[3,2]:[4,new Lo(_({apiKey:a},_({libraries:["places"]},i))).load()];case 1:t.sent(),function(){if(!window.google)throw new Error("[Places]: Google script not loaded");if(!window.google.maps)throw new Error("[Places]: Google maps script not loaded");if(!window.google.maps.places)throw new Error("[Places]: Google maps places script not loaded");if(!window.google.maps.Geocoder)throw new Error("[Places]: Google maps geocoder script not loaded");D(new window.google.maps.Geocoder),z(new window.google.maps.places.AutocompleteService)}(),t.label=2;case 2:return[3,4];case 3:return e=t.sent(),m(e),[3,4];case 4:return[2]}})})},[a,i,m]);var B=[g,p,"places"].filter(function(e){return!!e}).join("-");return t.jsx(Uo,{ref:L,id:B,labelText:y,className:v,placeholderText:x,onSelect:function(e){return function(e){if(""!==e&&P&&P.geocode){var t=P.geocode({placeId:e});t&&t.then(function(e){var t,n;e.results[0]&&"function"==typeof(null===(t=L.current)||void 0===t?void 0:t.setValue)&&(I.current={lat:e.results[0].geometry.location.lat(),lng:e.results[0].geometry.location.lng()},T(I.current),M.current=!0,null===(n=L.current)||void 0===n||n.setValue(e.results[0].formatted_address))})}}(e.place_id)},onChange:function(e,t){M.current||""===e||(null==t||t.preventDefault(),null==t||t.stopPropagation()),M.current=!1},onCleared:function(){I.current&&(I.current={lat:0,lng:0}),j()},fetchSuggestionData:function(e){return b(void 0,0,void 0,function(){var t,n;return h(this,function(o){return R?e.length<u?[2,[]]:(t=_({},c),(n=null==R?void 0:R.getPlacePredictions((r=e,i=(a=t).location,l=a.radius,s=f(a,["location","radius"]),d=_({input:r},s),i&&(d.locationBias=new google.maps.Circle({center:i,radius:null!=l?l:5e4})),d),function(e){return e}))?[2,n.then(function(e){return e.predictions.map(function(e){return _(_({},e),{link:e.place_id,text:e.description})})})]:[2,[]]):[2,[]];var a,r,i,l,s,d})})},searchText:k,clearButtonTitle:w,labelledBy:C})}
1),hr={base:"geolocation-module__base_9322_tgj-w",input:"geolocation-module__input_9322_pdfYa",button:"geolocation-module__button_9322_3Msqc",buttonIcon:"geolocation-module__buttonIcon_9322_qibwH",alert:"geolocation-module__alert_9322_EyP6q"};s(".geolocation-module__base_9322_tgj-w .geolocation-module__input_9322_pdfYa>*{margin-bottom:1rem}.geolocation-module__base_9322_tgj-w .geolocation-module__button_9322_3Msqc{border-radius:4px;margin-bottom:1rem;padding:1rem}.geolocation-module__base_9322_tgj-w .geolocation-module__button_9322_3Msqc .geolocation-module__buttonIcon_9322_qibwH{margin-right:1rem}.geolocation-module__base_9322_tgj-w .geolocation-module__alert_9322_EyP6q{margin-bottom:1rem}");var gr=n.forwardRef(function(e,o){var a=e.buttonText,r=e.errorText,i=e.radiuses,l=e.name,c=e.className,s=e.id,u=e.inputLabel,d=e.placeholderText,m=e.apiKey,p=e.searchText,f=e.country,b=void 0===f?"no":f,h=e.locationBias,g=e.radius,v=e.clearButtonTitle,y=e.labelledBy,x=e.showMyPositionButton,k=e.showAddressTextbox,w=fr(),C=w[0],S=w[1],N=w[3],T=n.useRef(null),j=n.useRef(null),E=n.useRef(null),P=[hr.base],D=n.useRef(null),A=n.useRef(!1);c&&P.push(c);var R=function(){var e,t,n,o,a,r,i,l,c,s,u,d,m=null!==(t=null===(e=T.current)||void 0===e?void 0:e.getValue())&&void 0!==t?t:"",_=null!==(o=null===(n=E.current)||void 0===n?void 0:n.getValue())&&void 0!==o?o:[void 0,void 0],p=(null===(a=D.current)||void 0===a?void 0:a.value)?M(D.current.value):void 0,f=null!==(l=null!==(i=null===(r=_[1])||void 0===r?void 0:r.lat.toString())&&void 0!==i?i:null==p?void 0:p.lat.toString())&&void 0!==l?l:"",b=null!==(u=null!==(s=null===(c=_[1])||void 0===c?void 0:c.lng.toString())&&void 0!==s?s:null==p?void 0:p.lng.toString())&&void 0!==u?u:"",h=null!==(d=_[0])&&void 0!==d?d:"";return"".concat(f,";").concat(b,";").concat(m,";").concat(h)},M=function(e){try{var t=JSON.parse(e);if(null==t)return;if("lat"in t&&"lng"in t)return t}catch(n){}},I=function(){E.current&&E.current.focus&&E.current.focus()},F=n.useCallback(function(){T.current&&T.current.reset&&T.current.reset(),E.current&&E.current.reset&&E.current.reset(),D.current&&(D.current.value="")},[]);n.useEffect(function(){D.current&&A.current&&(O(JSON.stringify(S)),A.current=!1)},[S]);var O=function(e){var t,n;if(D.current){var o=null===(t=Object.getOwnPropertyDescriptor(window.HTMLInputElement.prototype,"value"))||void 0===t?void 0:t.set;null==o||o.call(D.current,e);var a=new Event("input",{bubbles:!0});null===(n=D.current)||void 0===n||n.dispatchEvent(a)}};n.useImperativeHandle(o,function(){return{setValue:{},getValue:R,getName:function(){return l},getLabel:function(){return u},validate:function(){return!1},getNativeRef:function(){return j},focus:I,type:"Geolocation",reset:F}});var B="Geolocation-".concat(nt(5),"-").concat(null!=s?s:"");return t.jsxs("div",_({id:B,className:P.join(" ")},{children:[k&&t.jsx("div",_({className:hr.input},{children:t.jsx(br,{apiKey:m,label:u,placeholderText:d,name:l,autocompletionRequest:{componentRestrictions:{country:b},location:h,radius:g},id:B,ref:E,searchText:p,clearButtonTitle:v,labelledBy:y})})),x&&t.jsxs(t.Fragment,{children:[!k&&t.jsx("input",{type:"text",ref:D,name:"".concat(l,"-hidden"),style:{display:"none"}}),t.jsxs(z,_({className:hr.button,ref:j,type:"button",onClick:function(){A.current=!0,N()}},{children:[t.jsx(L,{className:hr.buttonIcon,icon:"ri-map-pin-line"}),a]})),!C&&t.jsx(jn,_({className:hr.alert,variant:"warning"},{children:r}))]}),t.jsx(xt,_({className:hr.radiogroup,ref:T,name:l},{children:null==i?void 0:i.map(function(e){return t.jsx(st,_({className:hr.radio},e),e.value)})}))]}))}),vr=n.forwardRef(function(e,o){var a=e.coords,r=f(e,["coords"]),i=n.useState(!0),l=i[0],c=i[1],s=n.useState(function(){return null!=a?a:{lat:0,lng:0}}),u=s[0],d=s[1],m=function(e){return{lat:e.coords.latitude,lng:e.coords.longitude}},p=n.useCallback(function(){navigator.permissions&&navigator.permissions.query||c(!1),navigator.permissions.query({name:"geolocation"}).then(function(e){"granted"===e.state||"prompt"===e.state?navigator.geolocation.getCurrentPosition(function(e){c(!0),d(m(e))}):c(!1),e.onchange=function(){"granted"===e.state?(c(!0),navigator.geolocation.getCurrentPosition(function(e){d(m(e))})):c(!1)}}).catch(function(){c(!1)})},[]),b=n.useCallback(function(){return d({lat:0,lng:0})},[]);return t.jsx(pr.Provider,_({value:{askForLocation:p,available:l,location:u,setLocation:d,resetLocation:b}},{children:t.jsx(gr,_({},r,{ref:o}))}))}),yr={base:"filter-module__base_9322_BcPpA",resetButton:"filter-module__resetButton_9322_Xcyl1","collapsible-panel-content-item":"filter-module__collapsible-panel-content-item_9322_bOmLK",modalFilter:"filter-module__modalFilter_9322_is2Wc",modalHeader:"filter-module__modalHeader_9322_Z82qU",modalFooter:"filter-module__modalFooter_9322_EcV2I",modalFooterResults:"filter-module__modalFooterResults_9322_UGj3X",modalFooterButtonsCol:"filter-module__modalFooterButtonsCol_9322_EOwV3",modalFooterButtonWrapper:"filter-module__modalFooterButtonWrapper_9322_BXn5Z",modalFooterButton:"filter-module__modalFooterButton_9322_v6KZL",collapsibleFilter:"filter-module__collapsibleFilter_9322_pvG6g"};s('.filter-module__base_9322_BcPpA>form .bc-content-button{word-break:keep-all}.filter-module__base_9322_BcPpA>form .bc-filter-label{display:inline-block;margin-bottom:1rem}.filter-module__base_9322_BcPpA>form .bc-filter-label>button{margin-left:.25rem}.filter-module__base_9322_BcPpA>form fieldset{border:.0625rem solid #0000;border-radius:.1875rem;box-shadow:none;margin:0;padding:0;position:relative}.filter-module__base_9322_BcPpA>form fieldset .bc-radiogroup{padding-top:0}.filter-module__base_9322_BcPpA>form fieldset legend{font-weight:700}.filter-module__base_9322_BcPpA>form fieldset .bc-select-body{max-height:15rem;overflow:auto}.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-legend{display:block;font-weight:700;left:0;padding-bottom:1rem;position:relative}.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-legend+.filter-module__bc-content-form-control_9322_yqrVz{margin-top:0}.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-control{display:flex;position:relative}.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-control.bc-content-checkbox{overflow:visible}.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-control.bc-content-radio~.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-control.bc-content-radio{margin-top:1rem}.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-control.bc-content-radio .bc-content-form-radio{-moz-appearance:none;appearance:none;line-height:1;opacity:0;position:absolute}.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-control.bc-content-radio .bc-content-form-radio .bc-content-radio-label span:before{margin-right:20px}.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-control.bc-content-radio .bc-content-form-radio:focus+label:before,.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-control.bc-content-radio .bc-content-form-radio:hover+label:before{background-color:#fefefe;border-color:#0e3b6c}.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-control.bc-content-radio .bc-content-form-radio:checked+label:before{background-color:#fff;border-color:#0e3b6c}.filter-module__base_9322_BcPpA>form fieldset .bc-content-form-control.bc-content-radio .bc-content-form-radio:checked+label:after{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(0);transform:scale(1)}.filter-module__base_9322_BcPpA>form .filter-module__resetButton_9322_Xcyl1{margin-top:1rem}.filter-module__base_9322_BcPpA>form .filter-module__collapsible-panel-content-item_9322_bOmLK{padding-top:1rem}.filter-module__base_9322_BcPpA>form .filter-module__collapsible-panel-content-item_9322_bOmLK:first-child{padding-top:0}.filter-module__base_9322_BcPpA>form .filter-module__collapsible-panel_9322_1qxA4 .filter-module__collapsible_9322_Rdbut .bc-content-collapsible-content{overflow:visible;padding:0}.filter-module__base_9322_BcPpA>form .filter-module__collapsible-panel_9322_1qxA4 .filter-module__collapsible_9322_Rdbut .bc-content-collapsible-content .bc-collapsible-panel-content{border:1px solid #000;padding:0 1rem 1rem;text-align:left}.filter-module__base_9322_BcPpA>form .filter-module__collapsible-panel_9322_1qxA4 .filter-module__collapsible_9322_Rdbut .bc-content-collapsible-content .bc-collapsible-panel-content .bc-content-form .bc-content-form-column{margin:1rem 0 1rem .5rem;min-height:1px}@media only screen and (min-width:48.0625em){.filter-module__base_9322_BcPpA>form .filter-module__collapsible-panel_9322_1qxA4 .filter-module__collapsible_9322_Rdbut .bc-content-collapsible-content .bc-collapsible-panel-content .bc-content-form .bc-content-form-column{margin:0}}.filter-module__base_9322_BcPpA>form .filter-module__collapsible-panel_9322_1qxA4 .filter-module__collapsible_9322_Rdbut .bc-content-collapsible-content .bc-collapsible-panel-content .bc-content-form .bc-content-form-column:after{clear:both;content:"";display:table}.filter-module__base_9322_BcPpA>form .filter-module__collapsible-panel_9322_1qxA4 .filter-module__collapsible_9322_Rdbut .bc-content-collapsible-content .bc-collapsible-panel-content .bc-content-form .bc-content-form-column .bc-filter-button-helptext{margin-left:.5rem}.filter-module__base_9322_BcPpA>form .filter-module__collapsible-panel_9322_1qxA4 .filter-module__collapsible_9322_Rdbut .bc-content-collapsible-content .bc-collapsible-panel-content .bc-content-form .bc-content-form-column .bc-content-form-row{clear:both;margin:1rem 0}.filter-module__modalFilter_9322_is2Wc .filter-module__modalHeader_9322_Z82qU{align-items:center;column-gap:1rem;display:flex;flex-direction:row;justify-content:center}.filter-module__modalFilter_9322_is2Wc .filter-module__modalFooter_9322_EcV2I{align-items:center;column-gap:1rem;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}@media only screen and (max-width:992px){.filter-module__modalFilter_9322_is2Wc .filter-module__modalFooter_9322_EcV2I{column-gap:0}.filter-module__modalFilter_9322_is2Wc .filter-module__modalFooter_9322_EcV2I>*{width:100%}}.filter-module__modalFilter_9322_is2Wc .filter-module__modalFooter_9322_EcV2I .f
1ilter-module__modalFooterResults_9322_UGj3X{margin-bottom:1rem;text-align:center}.filter-module__modalFilter_9322_is2Wc .filter-module__modalFooter_9322_EcV2I .filter-module__modalFooterButtonsCol_9322_EOwV3 .filter-module__modalFooterButtonWrapper_9322_BXn5Z{margin-left:1rem}.filter-module__modalFilter_9322_is2Wc .filter-module__modalFooter_9322_EcV2I .filter-module__modalFooterButtonsCol_9322_EOwV3 .filter-module__modalFooterButtonWrapper_9322_BXn5Z:last-child{margin-right:1rem}.filter-module__collapsibleFilter_9322_pvG6g>.bc-content-collapsible-header .bc-collapsible-button-container,.filter-module__modalFilter_9322_is2Wc .filter-module__modalFooter_9322_EcV2I .filter-module__modalFooterButtonsCol_9322_EOwV3 .filter-module__modalFooterButtonWrapper_9322_BXn5Z .filter-module__modalFooterButton_9322_v6KZL{width:100%}.filter-module__collapsibleFilter_9322_pvG6g>.bc-content-collapsible-header .bc-content-button{display:none}@media only screen and (max-width:768px){.filter-module__collapsibleFilter_9322_pvG6g>.bc-content-collapsible-header .bc-content-button{display:block;margin-bottom:16px;margin-top:16px;width:100%}}');var xr,kr=n.forwardRef(function(o,a){var r=o.searchOptions,i=o.onChange,l=o.onClearFilter,c=o.texts,s=o.maxFieldsPerGroup,u=o.displayEmptyFilterButton,d=void 0===u||u,m=o.apikey,p=o.className,f=void 0===p?"":p,b=o.country,h=o.locationBias,g=n.useState(),y=g[0],x=g[1],k=n.useReducer(function(e){return e+1},1),w=k[0],C=k[1],S=n.useRef(null),N=n.useMemo(function(){var n=[];return r&&w&&r.searchFilters.forEach(function(o){if(o.identifier!==r.searchTermFilterIdentifier){var a=function(n,o,a,r,i,l,c){var s,u,d,m,p,f,b,h=[],g="".concat(n.identifier,"-").concat(nt(5));switch(n.type){case e.SearchFilterType.NumberPicker:case e.SearchFilterType.TextBox:h.push((d=o,m=null==a?void 0:a.open,p=null==a?void 0:a.close,f=(u=n).texts,b={id:s=g,className:u.identifier,name:u.identifier,type:function(t){switch(t){case e.SearchFilterType.NumberPicker:return"number";case e.SearchFilterType.DatePicker:return"date";default:return"text"}}(n.type),value:u.value,defaultValue:u.defaultValue,notRequiredText:"",placeholderText:u.placeHolder,clearButtonTitle:null==f?void 0:f.clearButtonTitle,labelledBy:s+"-label"},t.jsx(_r,_({labelId:s+"-label",searchFilter:u,onClickModalHelp:d,closeText:p,openText:m},{children:t.jsx(at,_({},b),u.identifier)}))));break;case e.SearchFilterType.Boolean:h.push(function(e,n,o,a,r){var i={id:e,name:n.name,text:n.name,value:n.identifier,checked:"true"===n.value.toLowerCase()};return t.jsx(_r,_({labelId:e,searchFilter:n,onClickModalHelp:o,closeText:r,openText:a},{children:t.jsx(Kt,_({id:e?"".concat(e,"-checkboxgroup"):void 0,className:n.identifier,name:n.identifier},{children:t.jsx(jt,_({status:"primary"},i,{text:n.name}))}),n.identifier)}))}(g,n,o,null==a?void 0:a.open,null==a?void 0:a.close));break;case e.SearchFilterType.DatePicker:h.push(n.fields&&n.fields.length>0?function(n,o,a,r,i,l,c){var s=o.fields.find(function(e){return"FromDate"===e.identifier}),u=o.fields.find(function(e){return"ToDate"===e.identifier}),d=o.fields.filter(function(t){return t.type===e.SearchFilterType.Boolean}),m={id:n,className:o.identifier,name:o.identifier,labelText:null==s?void 0:s.description,labelEndText:null==u?void 0:u.description,defaultStartDate:(null==s?void 0:s.defaultValue)&&""!==(null==s?void 0:s.defaultValue)?I(s.defaultValue):void 0,startDate:(null==s?void 0:s.value)&&""!==(null==s?void 0:s.value)?I(s.value):void 0,defaultEndDate:(null==u?void 0:u.defaultValue)&&""!==(null==u?void 0:u.defaultValue)?I(u.defaultValue):void 0,endDate:(null==u?void 0:u.value)&&""!==(null==u?void 0:u.value)?I(u.value):void 0,datePickerStartProps:s?{name:s.identifier,headerText:s.name,defaultMode:"DAYS"}:void 0,datePickerEndProps:u?{name:u.identifier,headerText:u.name,defaultMode:"DAYS"}:void 0,options:d.length>0?d:void 0,checkedIdentifier:o.value,texts:{closeButton:null!=c?c:"Ferdig",resetButton:null!=l?l:"Nullstill"}};return t.jsx(_r,_({labelId:n,searchFilter:o,onClickModalHelp:a,closeText:i,openText:r},{children:t.jsx(kt,_({},m,{disableOnMobile:!0,width:"AutoWidth"}),o.identifier)}))}(g,n,o,null==a?void 0:a.open,null==a?void 0:a.close,null==a?void 0:a.reset,null==a?void 0:a.done):function(e,n,o,a,r){return t.jsx(_r,_({labelId:e,searchFilter:n,onClickModalHelp:o,closeText:r,openText:a},{children:t.jsx(Rt,_({disableOnMobile:!0},{id:e,className:n.identifier,name:n.identifier,date:n.value,datePickerProps:{name:n.identifier,headerText:n.name,defaultMode:"DAYS"},autoClose:!0,labelledBy:e}),n.identifier)}))}(g,n,o,null==a?void 0:a.open,null==a?void 0:a.close));break;case e.SearchFilterType.DropDownList:h.push(function(e,n,o,a,r){var i=n.fields.map(function(e,o){var a={id:n+e.identifier,value:e.identifier,text:e.name,selected:"true"===e.value.toLowerCase(),defaultSelected:"true"===e.defaultValue.toLowerCase()};return t.jsx(Gt.Option,_({},a),o)});return t.jsx(_r,_({labelId:e,searchFilter:n,onClickModalHelp:o,closeText:r,openText:a},{children:t.jsx(Gt,_({id:e,className:n.identifier,name:n.identifier,labelledBy:e},{children:i.map(function(e){return e})}),n.identifier)}))}(g,n,o,null==a?void 0:a.open,null==a?void 0:a.close));break;case e.SearchFilterType.RadioButtonList:h.push(function(e,n,o,a,r){var i,l,c=n.fields.map(function(e,o){var a=n.identifier+"-"+e.identifier+"-"+o;
1return t.jsx(st,_({status:"primary"},{id:a,name:e.name,labelText:e.name,level:e.level,value:e.identifier,checked:n.value===e.identifier,default:n.defaultValue===e.identifier}),a)});return t.jsx(_r,_({labelId:e,searchFilter:n,onClickModalHelp:r,closeText:null==o?void 0:o.close,openText:null==o?void 0:o.open},{children:t.jsx(xt,_({id:e,className:n.identifier,name:n.identifier,collapsibleProps:{title:"",withButton:!0,openText:null!==(i=null==o?void 0:o.showMore)&&void 0!==i?i:"Vis flere",closeText:null!==(l=null==o?void 0:o.showLess)&&void 0!==l?l:"Vis færre",showChevron:!0,contentPosition:"top",softHide:!0,buttonVariant:"icon"},maxItemCount:null!=a?a:6},{children:c.map(function(e){return e})}),n.identifier)}))}(g,n,a,r,o));break;case e.SearchFilterType.CheckBoxList:h.push(function(e,n,o,a,r){var i,l,c=n.fields.map(function(e,o){var a=n.identifier+"-"+e.identifier+"-"+o,r={id:a,text:e.name,name:e.name,level:e.level,value:e.identifier,checked:"true"===e.value.toLowerCase()};return t.jsx(jt,_({status:"primary"},r),a)});return t.jsx(_r,_({labelId:e,searchFilter:n,onClickModalHelp:r,closeText:null==o?void 0:o.close,openText:null==o?void 0:o.open},{children:t.jsx(Kt,_({id:e,className:n.identifier,maxItemCount:null!=a?a:6,collapsibleProps:{title:"",withButton:!0,openText:null!==(i=null==o?void 0:o.showMore)&&void 0!==i?i:"Vis flere",closeText:null!==(l=null==o?void 0:o.showLess)&&void 0!==l?l:"Vis færre",softHide:!0,showChevron:!0,contentPosition:"top",buttonVariant:"icon"},name:n.identifier},{children:c}),n.identifier)}))}(g,n,a,r,o));break;case e.SearchFilterType.Geolocation:h.push(function(e){var n,o,a=e.id,r=e.searchFilter,i=e.onClickModalHelp,l=e.apiKey,c=e.country,s=e.locationBias,u=e.closeText,d=e.openText,m=r.texts,p="",f="",b="",h=r.value.split(";"),g=null===(n=r.defaultValue)||void 0===n?void 0:n.split(";");if(4===(null==g?void 0:g.length)&&(f=g[2]),4==h.length){p=h[2];var v=h[0],y=h[1],x=parseFloat(v),k=parseFloat(y);""!==v&&""!==y&&0!==x&&0!==k&&(o={lat:x,lng:k}),b=h[3]}var w=r.fields.map(function(e,t){return{id:r.identifier+"-"+e.identifier+"-"+t,name:e.name,labelText:e.name,value:e.identifier,checked:p===e.identifier,default:f===e.identifier}});return t.jsx(_r,_({labelId:a,searchFilter:r,onClickModalHelp:i,closeText:u,openText:d},{children:t.jsx(vr,_({},{buttonText:null==m?void 0:m.buttonText,errorText:null==m?void 0:m.errorText,radiuses:w,id:r.identifier,name:r.identifier,inputLabel:null==m?void 0:m.inputLabel,placeholderText:null==m?void 0:m.placeholderText,apiKey:l,searchText:b,country:c,locationBias:s,clearButtonTitle:null==m?void 0:m.clearButtonTitle,labelledBy:a,showMyPositionButton:!!r.configuration.showMyPositionButton,showAddressTextbox:!!r.configuration.showAddressTextbox},{coords:o}))}))}({id:g,searchFilter:n,onClickModalHelp:o,apiKey:i,country:l,locationBias:c,closeText:null==a?void 0:a.close,openText:null==a?void 0:a.open}))}return h}(o,function(){o.helpTitle&&o.helpHtml&&x({title:o.helpTitle,html:o.helpHtml})},c,s,m,b,h);n.push.apply(n,a)}}),n},[r,w,c,s,m,b,h]),j=function(){var e;null===(e=S.current)||void 0===e||e.reset(),l()};return n.useImperativeHandle(a,function(){return{getValues:function(){var e;return null===(e=S.current)||void 0===e?void 0:e.getValues()},reset:j,update:function(){return C()}}}),t.jsxs("div",_({className:"".concat(v,"-content-filter ").concat(yr.base," ").concat(f)},{children:[t.jsxs(St,_({onChange:i,ref:S,returnEmptyValues:!0},{children:[N.map(function(e,n){return t.jsx("div",_({className:"".concat(v,"-collapsible-panel-content-item ").concat(yr["collapsible-panel-content-item"])},{children:e}),n)}),d&&t.jsx(z,{onClick:j,text:null==c?void 0:c.emptyFilter,className:["nullstill-sokefilter",yr.resetButton].join(" ")})]})),y&&t.jsx(Ct,_({title:y.title,show:null!=y,onClose:function(){return x(void 0)},closable:!0,size:"medium"},{children:t.jsx(T.Content.Body,{children:t.jsx("div",{dangerouslySetInnerHTML:{__html:y.html}})})}))]}))}),wr=function(e){var o,a,r=f(e,[]),i=n.useState(0),l=i[0],c=i[1],s=n.useState(0),u=s[0],d=s[1],m=n.useRef(null),p=n.useRef(null),b=function(){var e=l+1>n.Children.count(r.children)-1?0:l+1;c(e),d(e-1)},h=function(){var e=l-1<0?n.Children.count(r.children)-1:l-1;c(e),d(e+1)},g=function(e){"ArrowRight"===e.key?b():"ArrowLeft"===e.key&&h()}
1,y=["".concat(v,"-carousel ").concat(ln.base)];return r.className&&y.push(r.className),r.animation&&y.push(ln["animation--"+r.animation],"animation--"+r.animation),r.theme&&y.push(ln["theme--"+r.theme],"theme--"+r.theme),y.push(ln["description-position--"+(null!==(o=null==r?void 0:r.descriptionPosition)&&void 0!==o?o:"over")],"description-position--"+(null!==(a=null==r?void 0:r.descriptionPosition)&&void 0!==a?a:"over")),t.jsx(cn.Provider,_({value:{selected:l,setSelected:c,previousSelected:u,setPreviousSelected:d}},{children:t.jsx(mn,_({className:y.join(" "),onIndicatorKeyDown:function(e,t){g(e)," "!==e.key&&"Enter"!==e.key||c(t)},onKeyDownArrow:g,refPreviousButton:m,refNextButton:p,nextSlide:b,prevSlide:h,translations:r.translations},{children:r.children}))}))},Cr=Object.assign(wr,{displayName:"Carousel",Item:pn,Caption:_n,Miniature:sn});e.VanillaEventBrokerEventNames=void 0,(xr=e.VanillaEventBrokerEventNames||(e.VanillaEventBrokerEventNames={})).AddBreadcrumb="add-breadcrumb-item",xr.RemoveBreadcrumb="remove-breadcrumb-item",xr.ResetBreadcrumb="reset-breadcrumb",xr.SetPageTitle="set-page-title";var Sr=function(){function e(){}return e.dispatch=function(e){window.eventBus&&window.eventBus.dispatch(e.name,e.args)},e}(),Nr={base:"file-module__base_9322_9tISH","button-container":"file-module__button-container_9322_clMvg",error:"file-module__error_9322_x-7z0","--error":"file-module__--error_9322_vVjfw","theme--dark":"file-module__theme--dark_9322_bWrNU"};s(".file-module__base_9322_9tISH label{font-size:var(--bc-input-font-size);font-weight:700;margin-left:0;margin-right:0}.file-module__base_9322_9tISH{padding-bottom:calc(1rem + 2px)}.file-module__base_9322_9tISH :focus-within{border-radius:3px;outline:1.5px solid #000}.file-module__base_9322_9tISH label{display:block;margin-bottom:1rem}.file-module__base_9322_9tISH label span{color:var(--bc-c-text-secondary);font-size:1rem;font-weight:400;margin-left:1rem}.file-module__base_9322_9tISH .file-module__button-container_9322_clMvg input[type=file]{margin-left:1rem}.file-module__base_9322_9tISH .file-module__button-container_9322_clMvg input[type=file]::-webkit-file-upload-button{display:none}.file-module__base_9322_9tISH .file-module__error_9322_x-7z0{color:var(--bc-danger-color-500);margin:0}.file-module__base_9322_9tISH.file-module__--error_9322_vVjfw{padding-bottom:0}.file-module__base_9322_9tISH.file-module__theme--dark_9322_bWrNU,.file-module__base_9322_9tISH.file-module__theme--dark_9322_bWrNU label{color:#fff}");var Tr=n.forwardRef(function(e,o){var a,r,i,l,c,s=e.buttonText,u=void 0===s?"Last opp en fil":s,d=f(e,["buttonText"]),m=n.createRef(),p=n.useState(null),b=p[0],h=p[1],g=n.useRef(""),y=n.useState(""),x=y[0],k=y[1],w=function(){return g.current},C=function(){return d.name},S=function(){return d.labelText},N=function(){(null==m?void 0:m.current)&&m.current.focus()},T=function(){var e,t;k("");var n=$(b,null!==(e=d.formValidation)&&void 0!==e?e:{});return!(!n||!n.error)&&(k(null!==(t=n.error)&&void 0!==t?t:""),n.error)},j=function(){return m},E=function(){return b};n.useImperativeHandle(o,function(){return{setValue:{},getValue:w,getName:C,getLabel:S,validate:T,getNativeRef:j,type:"File",focus:N,getFileList:E}}),c=(null===(r=null===(a=d.formValidation)||void 0===a?void 0:a.required)||void 0===r?void 0:r.data)?null!==(i=d.requiredText)&&void 0!==i?i:"(påkrevd)":null!==(l=d.notRequiredText)&&void 0!==l?l:"";var P=["".concat(v,"-file-upload ").concat(Nr.base)],D=d.id?"".concat(d.id,"-upload"):"generic-upload";return x&&P.push("".concat(v,"-file-upload--error ").concat(Nr["--error"])),d.theme&&P.push("".concat(v,"-file-upload--theme-").concat(d.theme," ").concat(Nr["theme--".concat(d.theme)])),d.className&&P.push(d.className),t.jsxs("div",_({className:P.join(" "),id:d.id},{children:[d.labelText&&t.jsxs("label",_({htmlFor:D},{children:[d.labelText,t.jsx("span",{children:c})]})),t.jsxs("div",_({className:"".concat(v,"-file-upload-button-container ").concat(Nr["button-container"])},{children:[t.jsxs("span",_({onClick:function(){m.current&&m.current.click()}},{children:[!d.renderUploadButton&&t.jsx(z,{type:"button",text:null!=u?u:"Last opp"}),d.renderUploadButton&&d.renderUploadButton()]})),t.jsx("input",{id:D+"-file",onChange:function(e){h(e.target.files),g.current=e.target.value},multiple:d.multipleFiles,ref:m,type:"file","aria-describedby":x?D+"-error":void 0,"aria-invalid":""!=x})]})),""!==x&&t.jsx("p",_({className:"".concat(v,"-file-upload-error ").concat(Nr.error),id:D+"-error"},{children:x}))]}))}),jr={base:"formErrorSummary-module__base_9322_QmCQQ"};s(".formErrorSummary-module__base_9322_QmCQQ button{background-color:initial;border:none;color:var(--bc-danger-color-500);cursor:pointer;display:block;margin:.5rem 0;outline:none;padding:0;text-align:left;text-decoration:underline}.formErrorSummary-module__base_9322_QmCQQ button:focus{outline:1px solid #000}");var Er=n.forwardRef(function(e,o){var a=n.createRef(),r=n.useState([]),i=r[0],l=r[1],c=function(t){var n,o,a,r=null===(o=null===(n=e.formRef)||void 0===n?void 0:n.current)||void 0===o?void 0:o.getRefs();if(t&&(r=null===(a=t.current)||void 0===a?void 0:a.getRefs()),r){var i=[];r.forEach(function(e){e&&e.current&&e.current.validate&&i.push({msg:e.current.validate(),ref:e})}),l(i)}};n.useImperativeHandle(o,function(){return{update:c,focus:function(){var e;a.current&&(null===(e=a.current)||void 0===e||e.focus())},hasErrors:i.some(function(e){return e.msg})}});var s=["".concat(v,"-form-error-summary ").concat(jr.base)];return e.theme&&s.push("".concat(v,"-content-textarea--theme-").concat(e.theme," ").concat(jr["theme--"+e.theme])),e.className&&s.push(e.className),t.jsx("div",_({className:s.join(" "),role:"alert",id:e.id},{children:i.filter(function(e){return e.msg}).map(function(n,o){var r,i,l,c,s,u;return n.msg?t.jsxs("button",_({type:"button",ref:o?void 0:a,autoFocus:!o,onClick:function(){var e,t,o;null===(o=null===(t=null===(e=n.ref)||void 0===e?void 0:e.current)||void 0===t?void 0:t.focus)||void 0===o||o.call(t)}},{children:[e.includeLabels&&(null===(l=null===(i=null===(r=n.ref)||void 0===r?void 0:r.current)||void 0===i?void 0:i.getLabel)||void 0===l?void 0:l.call(i))+" - ",n.msg]}),o+(null!==(u=null===(s=null===(c=n.ref.current)||void 0===c?void 0:c.getName)||void 0===s?void 0:s.call(c))&&void 0!==u?u:n.msg)):null})}))});s(".bc-content-table-wrapper{overflow:auto}.bc-content-table{border:.0625rem solid #ccc;border-collapse:collapse}.bc-content-table caption{margin-bottom:1rem}.bc-content-table--normal.bc-content-table--fixed{table-layout:fixed}.bc-content-table--normal thead tr,.bc-content-table--normal thead tr:nth-child(2n){background-color:var(--bc-background-color);color:var(--bc-c-text-primary)}.bc-content-table--normal thead th{border:.0625rem solid #291111;font-weight:400;padding:1rem;text-align:left}.bc-content-table--normal thead th.bc-content-table-cell--left{text-align:left}.bc-content-table--normal thead th.bc-content-table-cell--center{text-align:center}.bc-content-table--normal thead th.bc-content-table-cell--right{text-align:right}.bc-content-table--normal tbody tr{background-color:#fff;color:var(--bc-c-text-primary)}.bc-content-table--normal tbody tr:nth-child(2n){background-color:#dedede;color:var(--bc-c-text-primary)}.bc-content-table--normal tbody td{border:.0625rem solid #ccc;padding:1rem}.bc-content-table--normal tbody td.bc-content-table-cell--left{text-align:left}.bc-content-table--normal tbody td.bc-content-table-cell--center{text-align:center}.bc-content-table--normal tbody td.bc-content-table-cell--right{text-align:right}.bc-content-table--stackable{width:100%}.bc-content-table--stackable thead{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.bc-content-table--stackable tr{background-color:#fff;border-top:.0625rem solid #ccc;color:var(--bc-c-text-primary);display:block}.bc-content-table--stackable tr:first-child{border-top:none}.bc-content-table--stackable tr:nth-child(2n){background-color:#dedede;color:var(--bc-c-text-primary)}.bc-content-table--stackable td{border:none;display:block;padding:1rem;text-align:left}.bc-content-table--stackable td:before{content:attr(data-label);display:block;font-weight:700}.bc-content-table--full-width{width:100%}@media only screen and (max-width:48em){.bc-content-table--mobile-normal thead tr,.bc-content-table--mobile-normal thead tr:nth-child(2n){background-color:var(--bc-background-color);color:var(--bc-c-text-primary)}.bc-content-table--mobile-normal thead th{border:.0625rem solid #291111;font-weight:400;padding:1rem;text-align:left}.bc-content-table--mobile-normal thead th.bc-content-table-cell--left{text-align:left}.bc-content-table--mobile-normal thead th.bc-content-table-cell--center{text-align:center}.bc-content-table--mobile-normal thead th.bc-content-table-cell--right{text-align:right}.bc-content-table--mobile-normal tbody tr{background-color:#fff;color:var(--bc-c-text-primary)}.bc-content-table--mobile-normal tbody tr:nth-child(2n){background-color:#dedede;color:var(--bc-c-text-primary)}.bc-content-table--mobile-normal tbody td{border:.0625rem solid #ccc;padding:1rem}.bc-content-table--mobile-normal tbody td.bc-content-table-cell--left{text-align:left}.bc-content-table--mobile-normal tbody td.bc-content-table-cell--center{text-align:center}.bc-content-table--mobile-normal tbody td.bc-content-table-cell--right{text-align:right}.bc-content-table--mobile-normal.bc-content-table--mobile-fixed{table-layout:fixed}.bc-content-table--mobile-stackable{width:100%}.bc-content-table--mobile-stackable thead{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.bc-content-table--mobile-stackable tr{background-color:#fff;border-top:.0625rem solid #ccc;color:var(--bc-c-text-primary);display:block}.bc-content-table--mobile-stackable tr:first-child{border-top:none}.bc-content-table--mobile-stackable tr:nth-child(2n){background-color:#dedede;color:var(--bc-c-text-primary)}.bc-content-table--mobile-stackable td{border:none;display:block;padding:1rem;text-align:left}.bc-content-table--mobile-stackable td:before{content:attr(data-label);display:block;font-weight:700}}@media only screen and (min-width:48.0625em) and (max-width:62em){.bc-content-table--tablet-normal thead tr,.bc-content-table--tablet-normal thead tr:nth-child(2n){background-color:var(--bc-background-color);color:var(--bc-c-text-primary)}.bc-content-table--tablet-normal thead th{border:.0625rem solid #291111;font-weight:400;padding:1rem;text-align:left}.bc-content-table--tablet-normal thead th.bc-content-table-cell--left{text-align:left}.bc-content-table--tablet-normal thead th.bc-content-table-cell--center{text-align:center}.bc-content-table--tablet-normal thead th.bc-content-table-cell--right{text-align:right}.bc-content-table--tablet-normal tbody tr{background-color:#fff;color:var(--bc-c-text-primary)}.bc-content-table--tablet-normal tbody tr:nth-child(2n){background-color:#dedede;color:var(--bc-c-text-primary)}.bc-content-table--tablet-normal tbody td{border:.0625rem solid #ccc;padding:1rem}.bc-content-table--tablet-normal tbody td.bc-content-table-cell--left{text-align:left}.bc-content-table--tablet-normal tbody td.bc-content-table-cell--center{text-align:center}.bc-content-table--tablet-normal tbody td.bc-content-table-cell--right{text-align:right}.bc-content-table--tablet-normal.bc-content-table--tablet-fixed{table-layout:fixed}.bc-content-table--tablet-stackable{width:100%}.bc-content-table--tablet-stackable thead{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.bc-content-table--tablet-stackable tr{background-color:#fff;border-top:.0625rem solid #ccc;color:var(--bc-c-text-primary);display:block}.bc-content-table--tablet-stackable tr:first-child{border-top:none}.bc-content-table--tablet-stackable tr:nth-child(2n){background-color:#dedede;color:var(--bc-c-text-primary)}.bc-content-table--tablet-stackable td{border:none;display:block;padding:1rem;text-align:left}.bc-content-table--tablet-stackable td:before{content:attr(data-label);display:block;font-weight:700}}@media only screen and (min-width:62.0625em){.bc-content-table--desktop-normal thead tr,.bc-content-table--desktop-normal thead tr:nth-child(2n){background-color:var(--bc-background-color);color:var(--bc-c-text-primary)}.bc-content-table--desktop-normal thead th{border:.0625rem solid #291111;font-weight:400;padding:1rem;text-align:left}.bc-content-table--desktop-normal thead th.bc-content-table-cell--left{text-align:left}.bc-content-table--desktop-normal thead th.bc-content-table-cell--center{text-align:center}.bc-content-table--desktop-normal thead th.bc-content-table-cell--right{text-align:right}.bc-content-table--desktop-normal tbody tr{background-color:#fff;color:var(--bc-c-text-primary)}.bc-content-table--desktop-normal tbody tr:nth-child(2n){background-color:#dedede;color:var(--bc-c-text-primary)}.bc-content-table--desktop-normal tbody td{border:.0625rem solid #ccc;padding:1rem}.bc-content-table--desktop-normal tbody td.bc-content-table-cell--left{text-align:left}.bc-content-table--desktop-normal tbody td.bc-content-table-cell--center{text-align:center}.bc-content-table--desktop-normal tbody td.bc-content-table-cell--right{text-align:right}.bc-content-table--desktop-normal.bc-content-table--desktop-fixed{table-layout:fixed}.bc-content-table--desktop-stackable{width:100%}.bc-content-table--desktop-stackable thead{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.bc-content-table--desktop-stackable tr{background-color:#fff;border-top:.0625rem solid #ccc;color:var(--bc-c-text-primary);display:block}.bc-content-table--desktop-stackable tr:first-child{border-top:none}.bc-content-table--desktop-stackable tr:nth-child(2n){background-color:#dedede;color:var(--bc-c-text-primary)}.bc-content-table--desktop-stackable td{border:none;display:block;padding:1rem;text-align:left}.bc-content-table--desktop-stackable td:before{content:attr(data-label);display:block;font-weight:700}}.bc-content-table-upper-scrollbar{overflow:auto}.bc-content-table-upper-scrollbar-content{height:1px;overflow:none}.bc-width-full .bc-content-table{width:100%}@media only screen and (max-width:48em){.bc-width-mobile-full .bc-content-table{width:100%}}@media only screen and (min-width:48.0625em) and (max-width:62em){.bc-width-tablet-full .bc-content-table{width:100%}}@media only screen and (min-width:62.0625em){.bc-width-desktop-full .bc-content-table{width:100%}}"),s(".bc-content-mail-form-send-btn{margin:0;width:150px}.bc-content-mail-form-cancel-btn{margin:0 20px;width:150px}@media only screen and (max-width:48em){.bc-content-mail-form-reCAPTCHA{width:100%}}.bc-content-mail-form-all-fields-required-text{color:var(--bc-c-text-secondary)}.bc-content-mail-form-error{color:red}#MailFormTest-captcha-container{margin-top:20px}.bc-content-mail-form-error{margin-top:10px}"),s(".bc-pagination-stats{margin:0;padding:1rem 0}.bc-pagination-stats-list{margin:0;padding:0}.bc-pagination-stats-list-item{display:block;margin:0;padding:0}
1@media only screen and (min-width:48.0625em){.bc-pagination-stats-list-item{display:inline}}.bc-pagination-stats-metrics{font-weight:700}.bc-pagination-stats--centered{text-align:center}");var Pr=function(e){var n=e.totalItemCount,o=void 0===n?10:n,a=e.itemsPerPage,r=void 0===a?o:a,i=e.pageNumber,l=void 0===i?1:i,c=e.showingTranslation,s=void 0===c?"Showing":c,u=e.ofTranslation,d=void 0===u?"of":u,m=e.objectsTranslation,p=void 0===m?"personer":m,b=e.pageTranslation,h=void 0===b?"page":b,g=f(e,["totalItemCount","itemsPerPage","pageNumber","showingTranslation","ofTranslation","objectsTranslation","pageTranslation"]),y=o>0?1+r*(l-1):0,x=r*l>o?o:r*l,k=Math.max(Math.ceil(o/r),1),w=g.fullTranslation;return g.fullTranslation&&(w=null==(w=null==(w=null==(w=null==w?void 0:w.replace("{totalItemCount}","<span className={`${cssClassPrefix}-pagination-stats-metrics`}>"+o.toString()+"</span>"))?void 0:w.replace("{pageNumber}","<span className={`${cssClassPrefix}-pagination-stats-metrics`}>"+l.toString()+"</span>"))?void 0:w.replace("{numberOfPages}","<span className={`${cssClassPrefix}-pagination-stats-metrics`}>"+k.toString()+"</span>"))?void 0:w.replace("{from}-{to}","<span className={`${cssClassPrefix}-pagination-stats-metrics`}>"+ +y+"-"+x+"</span>")),t.jsx("div",_({className:bt.getClassName("pagination-stats",g)},{children:t.jsx("div",_({className:"".concat(v,"-pagination-stats-list")},{children:t.jsxs("div",_({"aria-live":"polite",className:"".concat(v,"-pagination-stats-list-item")},{children:[!g.fullTranslation&&t.jsxs(t.Fragment,{children:[s,t.jsxs("span",_({className:"".concat(v,"-pagination-stats-metrics")},{children:[" "+y,"-",x]}))," "+d,t.jsx("span",_({className:"".concat(v,"-pagination-stats-metrics")},{children:" "+o}))," "+p+","," "+h,t.jsx("span",_({className:"".concat(v,"-pagination-stats-metrics")},{children:" "+l}))," "+d,t.jsx("span",_({className:"".concat(v,"-pagination-stats-metrics")},{children:" "+k}))]}),g.fullTranslation&&w&&t.jsx(t.Fragment,{children:t.jsx("div",{dangerouslySetInnerHTML:{__html:w}})})]}))}))}))};function Dr(e){var n=["".concat(v,"-pagination-count-selector")];return t.jsx(St,_({onChange:e.onChange,className:"".concat(v,"-pagination-count-selector-container")},{children:t.jsxs(Gt,_({id:e.id?e.id:"pagination_result_count",labelText:e.labelText,className:n.join(" "),name:"count"},{children:[t.jsx(Lt,{value:10,text:"10",selected:10===e.defaultPageSize||!e.defaultPageSize}),t.jsx(Lt,{value:25,text:"25",selected:25===e.defaultPageSize}),t.jsx(Lt,{value:50,text:"50",selected:50===e.defaultPageSize}),t.jsx(Lt,{value:75,text:"75",selected:75===e.defaultPageSize}),t.jsx(Lt,{value:100,text:"100",selected:100===e.defaultPageSize})]}))}))}s(".bc-pagination-count-selector{width:fit-content}.bc-pagination-count-selector .form{width:100%}.bc-pagination-count-selector label{padding:1rem 0 0}"),s('.bc-pagination-selector fieldset legend{display:block;font-size:var(--bc-input-font-size);font-weight:700;margin-left:0;margin-right:0}.bc-pagination-selector fieldset label{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.bc-pagination{margin:0}.bc-pagination-selector{width:100%}.bc-pagination-selector fieldset{align-items:center;border:none;column-gap:.4rem;display:flex;flex-direction:row;padding:0;width:100%}.bc-pagination-selector fieldset div{flex-grow:0;flex-shrink:1}.bc-pagination-selector fieldset div:nth-child(3){flex-grow:1;flex-shrink:0}.bc-pagination-selector fieldset .bc-content-button{height:3.75rem;margin-top:.6rem}.bc-pagination--centered{text-align:center}.bc-pagination-list{display:flex;flex-wrap:wrap;margin:0;padding:0}.bc-pagination-list-item{margin-left:0;margin-right:.5rem;padding:0}.bc-pagination-item,.bc-pagination-list-item{align-items:center;display:flex}.bc-pagination-item--link{background-color:var(--bc-background-color);border:var(--bc-input-border-width) solid var(--bc-c-border-input);border-radius:0;color:var(--bc-c-text-primary);display:flex;height:3.75rem;justify-content:center;margin:0;min-width:3.75rem;padding:0 1rem;text-align:center;transition:color .1s ease-in-out,background-color .1s ease-in-out;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;
1-o-user-select:none;user-select:none}.bc-pagination-item--link:focus,.bc-pagination-item--link:hover{background-color:var(--bc-c-action-primary-hover);border-color:var(--bc-c-action-primary-hover);color:var(--bc-c-action-primary-foreground-hover)}.bc-pagination-item--link[aria-current=true]{background-color:var(--bc-c-action-primary);border-color:var(--bc-c-action-primary);color:var(--bc-c-action-primary-foreground)}.bc-pagination-item--link[rel=next]:after,.bc-pagination-item--link[rel=prev]:before{display:inline-block}button.bc-pagination-item--link{-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}a.bc-pagination-item--link{text-decoration:none}.bc-pagination-item-text{display:inline-block;font-weight:700;line-height:normal;vertical-align:middle}@media only screen and (max-width:320px){.bc-pagination-list-item[data-val-gte~="1"]{display:none!important}}@media only screen and (max-width:480px){.bc-pagination-list-item[data-val-gte~="2"]{display:none!important}}.bc-page-select-label{text-transform:capitalize}');var Ar=function(e){var n=e.defaultPageNumber,o=void 0===n?1:n,a=e.currentPage,r=void 0===a?1:a,i=e.pagesToShow,l=void 0===i?o:i,c=e.numberOfPages,s=void 0===c?o:c,u=e.goToFirstPageTranslation,d=void 0===u?"Goto first page":u,m=e.goToPreviousPageTranslation,p=void 0===m?"Goto previous page":m,b=e.goToNextPageTranslation,h=void 0===b?"Goto next page":b,g=e.goToLastPageTranslation,y=void 0===g?"Goto last page":g,x=e.goToPageTranslation,k=void 0===x?"Goto page":x,w=e.currentPageTranslation,C=void 0===w?"Current page, page":w,S=e.onPageChange,N=void 0===S?void 0:S,T=e.navLabelTranslation,j=void 0===T?"pagination":T,E=f(e,["defaultPageNumber","currentPage","pagesToShow","numberOfPages","goToFirstPageTranslation","goToPreviousPageTranslation","goToNextPageTranslation","goToLastPageTranslation","goToPageTranslation","currentPageTranslation","onPageChange","navLabelTranslation"]);if(E.pagesToShowOnMobile&&window.innerWidth<768&&(l=E.pagesToShowOnMobile),l=l>s?s:l,o=o<=s?o:1,E.selector){for(var P=[],D=0;D<s;D++)P.push(t.jsx(Lt,{value:D+1,text:(D+1).toString(),selected:r===D+1},D));return t.jsx(St,_({className:"".concat(v,"-pagination-selector"),onChange:function(e,t){var n;N&&N(null!==(n=t["page-selector"])&&void 0!==n?n:1)}},{children:t.jsxs(sr,{children:[t.jsx("legend",{children:E.pageTranslation}),t.jsxs("div",{children:[t.jsx(Vt,_({className:"visually-hidden"},{children:p})),t.jsx(z,_({type:"button",status:"secondary",disabled:1===r,onClick:function(){N&&r>1&&N(r-1)},className:"".concat(v,"-pagination-selector-button ").concat(v,"-pagination-selector-button--previous")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item--2-text"):void 0,"aria-hidden":"true",className:"".concat(v,"-pagination-item-text")},{children:"‹"}))}))]}),t.jsxs("div",{children:[t.jsx(Vt,_({htmlFor:E.id,className:"".concat(v,"-page-select-label visually-hidden")},{children:E.pageTranslation})),t.jsx(Gt,_({id:E.id,name:"page-selector"},{children:P}))]}),t.jsxs("div",{children:[t.jsx(Vt,_({className:"visually-hidden"},{children:h})),t.jsx(z,_({type:"button",status:"secondary",disabled:r===s,onClick:function(){N&&r<s&&N(r+1)},className:"".concat(v,"-pagination-selector-button ").concat(v,"-pagination-selector-button--next")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item--2-text"):void 0,"aria-hidden":"true",className:"".concat(v,"-pagination-item-text")},{children:"›"}))}))]})]})}))}var A=[];1!==r&&A.push(t.jsx("div",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item--3"):void 0,className:"".concat(v,"-pagination-list-item")},{children:t.jsx("button",_({type:"button",id:E.id?"".concat(v,"-pagination-").concat(E.id,"-item--link--3"):void 0,onClick:function(){N&&N(1)},"aria-label":d,className:"".concat(v,"-pagination-item ").concat(v,"-pagination-item--link")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item--3-text"):void 0,"aria-hidden":"true",className:"".concat(v,"-pagination-item-text")},{children:"«"}))}))}),"Pagination--3"),t.jsx("div",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item--2"):void 0,className:"".concat(v,"-pagination-list-item")},{children:t.jsx("button",_({type:"button",id:E.id?"".concat(v,"-pagination-").concat(E.id,"-item--link--2"):void 0,onClick:function(){N&&r>1&&N(r-1)},"aria-label":p,className:"".concat(v,"-pagination-item ").concat(v,"-pagination-item--link")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item--2-text"):void 0,"aria-hidden":"true",className:"".concat(v,"-pagination-item-text")},{children:"‹"}))}))}),"Pagination--2"));var R=Math.floor(l/2),L=r-R;L>1&&l<s&&A.push(t.jsx("div",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item--1"):void 0,className:"".concat(v,"-pagination-list-item")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item--1--ellipsis"):void 0,className:"".concat(v,"-pagination-item ").concat(v,"-pagination-item--ellipsis")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item--1-text"):void 0,className:"".concat(v,"-pagination-item-text")},{children:"..."}))}))}),"Pagination--1"));var M=r,I=r,F=I<s,O=r-R>0?r-R:1;for(D=1;D<l;D++)M>1&&(M>O||I===s)?M--:F&&I++;for(var B=function(e){var n="".concat(e===r?C:k)+" "+e;A.push(t.jsx("div",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item-").concat(e):void 0,className:"".concat(v,"-pagination-list-item")},{children:t.jsx("button",_({type:"button",disabled:r===e,id:E.id?"".concat(v,"-pagination-").concat(E.id,"-item--link-").concat(e):void 0,onClick:N?function(){return N(e)}:void 0,"aria-current":e===r,"aria-label":n,className:"".concat(v,"-pagination-item ").concat(v,"-pagination-item--link")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item-").concat(s,"-text"):void 0,className:"".concat(v,"-pagination-item-text")},{children:e}))}))}),"Pagination-"+e))},H=M;H<=I;H++)B(H);var V=l%2==0;return r+R+(L<0?Math.abs(L):0)+(V?-1:0)<s&&l<s&&A.push(t.jsx("div",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item-").concat(s+1):void 0,className:"".concat(v,"-pagination-list-item")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item-").concat(s+1,"--ellipsis"):void 0,className:"".concat(v,"-pagination-item ").concat(v,"-pagination-item--ellipsis")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item-").concat(s+1,"-text"):void 0,className:"".concat(v,"-pagination-item-text")},{children:"..."}))}))}),"Pagination-"+s+1)),r!==s&&A.push(t.jsx("div",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item-").concat(s+2):void 0,className:"".concat(v,"-pagination-list-item")},{children:t.jsx("button",_({type:"button",id:E.id?"".concat(v,"-pagination-").concat(E.id,"-item--link-").concat(s+2):void 0,onClick:function(){N&&r<s&&N(r+1)},"aria-label":h,className:"".concat(v,"-pagination-item ").concat(v,"-pagination-item--link")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item-").concat(s+2,"-text"):void 0,"aria-hidden":"true",className:"".concat(v,"-pagination-item-text")},{children:"›"}))}))}),"Pagination-"+s+2),t.jsx("div",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item-").concat(s+3):void 0,className:"".concat(v,"-pagination-list-item")},{children:t.jsx("button",_({type:"button",id:E.id?"".concat(v,"-pagination-").concat(E.id,"-item--link-").concat(s+3):void 0,onClick:function(){N&&r<s&&N(s)},"aria-label":y,className:"".concat(v,"-pagination-item ").concat(v,"-pagination-item--link")},{children:t.jsx("span",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list-item-").concat(s+3,"-text"):void 0,"aria-hidden":"true",className:"".concat(v,"-pagination-item-text")},{children:"»"}))}))}),"Pagination-"+s+3)),t.jsx("nav",_({id:E.id?"".concat(v,"-pagination-").concat(E.id):void 0,"aria-label":j,className:bt.getClassName("pagination",E)},{children:t.jsx("div",_({id:E.id?"".concat(v,"-pagination-").concat(E.id,"-list"):void 0,className:"".concat(v,"-pagination-list")},{children:A}))}))};s(".bc-pagination-composit{display:flex;width:100%}.bc-pagination-composit.bc-pagination-composit-selector--active{width:100%}.bc-pagination-composit.bc-pagination-composit-selector--active .bc-pagination-composit-selector-container{flex:1;margin-bottom:.75rem;margin-right:.75rem}.bc-pagination-composit.bc-pagination-composit-selector--active .bc-pagination-composit-count-container{align-self:flex-end;display:flex;flex-direction:column;justify-self:end}.bc-pagination-composit.stats-disabled .bc-pagination{margin-top:calc(3rem + 2px)}.bc-pagination-composit .bc-pagination{margin-bottom:.75rem}
1@media only screen and (max-width:48em){.bc-pagination-composit{display:block}}.bc-pagination-composit .bc-pagination-composit-selector-container{flex-grow:1}@media only screen and (max-width:48em){.bc-pagination-composit .bc-pagination-composit-selector-container{width:100%}}.bc-pagination-composit .bc-pagination-count-selector-container{margin-bottom:.75rem}@media only screen and (max-width:48em){.bc-pagination-composit .bc-pagination-count-selector-container{width:100%}}.bc-pagination-composit .bc-pagination-composit-count-container{align-self:flex-end}.bc-pagination-composit .bc-page-select-label{padding-top:0}.bc-pagination-composit .bc-pagination-stats{width:fit-content}.bc-pagination-composit .bc-pagination-count-selector label{padding-top:0}@media only screen and (max-width:48em){.bc-pagination-composit .bc-pagination-count-selector{width:100%}}.bc-pagination-composit.hidden-selector-label .bc-pagination-composit-count-container label{clip:rect(0 0 0 0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}");var Rr=n.forwardRef(function(e,o){var a=f(e,[]),r=n.useState(a.defaultPageNumber),i=r[0],l=r[1],c=n.useState(a.defaultPageSize),s=c[0],u=c[1];n.useEffect(function(){u(a.defaultPageSize)},[a.defaultPageSize]);var d=function(e){l(e)};n.useImperativeHandle(o,function(){return{reset:d}});var m=["".concat(v,"-pagination-composit")];return a.disableStats&&m.push("stats-disabled"),a.selector&&m.push("".concat(v,"-pagination-composit-selector--active")),a.hiddenCountSelectorLabel&&m.push("hidden-selector-label"),t.jsxs("div",_({className:m.join(" ")},{children:[t.jsxs("div",_({className:"".concat(v,"-pagination-composit-selector-container")},{children:[!a.disableStats&&t.jsx(Pr,{totalItemCount:a.totalItemCount,pageNumber:i,itemsPerPage:s,showingTranslation:a.translations.textShowing,ofTranslation:a.translations.textOf,objectsTranslation:a.translations.textItem,pageTranslation:a.translations.textPage,fullTranslation:a.translations.textStatsFull}),t.jsx(Ar,{defaultPageNumber:a.defaultPageNumber,currentPage:i,numberOfPages:Math.max(Math.ceil(a.totalItemCount/s),1),pagesToShow:a.pagesToShow,pagesToShowOnMobile:a.pagesToShowOnMobile,onPageChange:function(e){e!==i&&(l(e),a.onPageChange&&a.onPageChange(e))},currentPageTranslation:a.translations.textCurrentPage,goToFirstPageTranslation:a.translations.textGoToFirstPage,goToLastPageTranslation:a.translations.textGoToLastPage,goToNextPageTranslation:a.translations.textGoToNextPage,goToPreviousPageTranslation:a.translations.textGoToPreviousPage,pageTranslation:a.translations.textPage,goToPageTranslation:a.translations.textGoToPage,selector:a.selector,navLabelTranslation:a.translations.textNavLabel})]})),t.jsx("div",_({className:"".concat(v,"-pagination-composit-count-container")},{children:t.jsx(Dr,{id:"pagination-count-button",onChange:function(e,t){var n=parseInt(t.count),o=Math.max(Math.ceil((i-1)*s/n),1);l(o),u(n),a.countSelectorOnChange&&a.countSelectorOnChange(n)},defaultPageSize:s,labelText:a.translations.textCountSelectorLabel,labelledBy:"pagination-count-button-label"})}))]}))}),zr=function(e){var n=f(e,[]);return t.jsx("div",_({className:bt.getClassName("content-list-item",n)},{children:t.jsx("div",_({className:bt.getClassName("content-list-item-body",n)},{children:n.renderItem(n.item,n.index)}))}))};s(".bc-content-list{margin:0;padding:0}.bc-content-list-item{display:block}.bc-content-list-item .bc-content-teaser-title{font-size:1.375rem}");var Lr=function(e){var n=f(e,[]);return t.jsx("div",_({className:bt.getClassName("content-detail-list-header-column",n)},{children:t.jsx("div",_({className:bt.getClassName("content-detail-list-header-column-title")},{children:t.jsx("span",_({className:bt.getClassName("content-detail-list-header-column-title-text")},{children:n.title}))}))}))},Mr=function(e){var n=f(e,[]);return t.jsxs("div",_({className:bt.getClassName("content-detail-list-header",n)},{children:[n.primaryColumn&&t.jsx(Lr,_({_isPrimary:!0},n.primaryColumn)),n.secondaryColumns&&n.secondaryColumns.map(function(e,n){return t.jsx(Lr,_({},e),n)}),n.children]}))};s('@charset "UTF-8";.bc-content-detail-list .bc-content-detail-list-header{align-items:flex-start;border-color:var(--bc-c-border-input);border-style:solid;border-width:0 0 .125rem;display:flex;flex-direction:row;justify-content:space-between;padding:1rem}.bc-content-detail-list .bc-content-detail-list-header .bc-content-detail-list-header-column{min-width:10rem;padding:0 .5rem}.bc-content-detail-list .bc-content-detail-list-header .bc-content-detail-list-header-column.is-primary{flex-grow:1}.bc-content-detail-list .bc-content-detail-list-header .bc-content-detail-list-header-column:not(.is-primary){text-align:left}.bc-content-detail-list .bc-content-detail-list-header .bc-content-detail-list-header-column .bc-content-detail-list-header-column-title{font-size:inherit;font-weight:400;font-weight:700;margin:0;padding:0}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item{border-color:var(--bc-c-border-separator);border-style:solid;border-width:0 0 .1rem}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item.is-expanded>.bc-content-detail-list-item-header{border-color:var(--bc-c-border-active)}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item.is-expanded>.bc-content-detail-list-item-header:before{content:"\\ea78"}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header{align-items:flex-start;background-color:var(--bc-background-color);border:solid #0000;border-width:0 0 0 .25rem;cursor:pointer;display:flex;flex-direction:row;justify-content:space-between;padding:1.5rem 0 1.5rem 1rem;text-align:left;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:-moz-none;
1-o-user-select:none;user-select:none;width:100%}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header:before{content:"\\ea4e";font-size:1.25rem;position:relative;top:-.15rem}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header.is-clickable{cursor:pointer}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header.bc-icon:before{align-self:center}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column{min-width:10rem;padding:0 .5rem}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column.is-primary{flex-grow:1}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column.is-primary .bc-content-detail-list-item-header-column-title{font-weight:700}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column:not(.is-primary){text-align:left}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column .bc-content-detail-list-item-header-column-title{font-size:inherit;font-weight:400;margin:0;padding:0}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column .bc-content-detail-list-item-header-column-trigger{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#0000;border:none;border-radius:0;color:inherit;cursor:pointer;font:inherit;padding-left:0;padding-right:0;text-align:left}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column .bc-content-detail-list-item-header-column-description{margin-top:.5rem}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column .bc-content-detail-list-item-header-column-description .bc-content-detail-list-item-header-column-description-list{display:flex;flex-wrap:wrap;margin:0;padding:0;position:relative}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column .bc-content-detail-list-item-header-column-description .bc-content-detail-list-item-header-column-description-list .bc-content-detail-list-item-header-column-description-list-item{display:inline-block;list-style-type:none}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column .bc-content-detail-list-item-header-column-description .bc-content-detail-list-item-header-column-description-list .bc-content-detail-list-item-header-column-description-list-item:first-child{margin-left:0}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column .bc-content-detail-list-item-header-column-description .bc-content-detail-list-item-header-column-description-list .bc-content-detail-list-item-header-column-description-list-item-separator,.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column .bc-content-detail-list-item-header-column-description .bc-content-detail-list-item-header-column-description-list .bc-content-detail-list-item-header-column-description-list-item-text{display:inline-block}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column .bc-content-detail-list-item-header-column-description .bc-content-detail-list-item-header-column-description-list .bc-content-detail-list-item-header-column-description-list-item-separator:before{color:#000000b3;content:"·";font-size:24px;padding:0 .5rem;position:relative;top:-8px}@media only screen and (min-width:48.0625em){.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-header .bc-content-detail-list-item-header-column .bc-content-detail-list-item-header-column-description .bc-content-detail-list-item-header-column-description-list .bc-content-detail-list-item-header-column-description-list-item-separator:before{top:-6px}}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-body{background-color:var(--bc-background-color);border-color:var(--bc-background-color);border-style:solid;border-width:0 0 0 .25rem;display:none;padding:.5rem 2.25rem 2rem 2.5rem}.bc-content-detail-list .bc-content-detail-list-body .bc-content-detail-list-item .bc-content-detail-list-item-body.is-open{border-color:var(--bc-c-border-active);display:block}');var Ir=function(e){var o=f(e,[]);return t.jsxs("div",_({className:bt.getClassName("content-detail-list-item-header-column",o)},{children:[t.jsx("h3",_({className:bt.getClassName("content-detail-list-item-header-column-title")},{children:t.jsx("span",_({className:bt.getClassName("content-detail-list-item-header-column-title-text")},{children:o.title}))})),o.description&&t.jsx("div",{className:bt.getClassName("content-detail-list-item-header-column-description"),dangerouslySetInnerHTML:{__html:o.description}}),o.subtitles&&t.jsx("div",_({className:bt.getClassName("content-detail-list-item-header-column-description")},{children:t.jsx("div",_({className:bt.getClassName("content-detail-list-item-header-column-description-list")},{children:o.subtitles.map(function(e,o){return t.jsxs(n.Fragment,{children:[o>0&&t.jsx("span",{className:bt.getClassName("content-detail-list-item-header-column-description-list-item-separator")}),t.jsx("span",_({className:bt.getClassName("content-detail-list-item-header-column-description-list-item")},{children:t.jsx("span",_({className:bt.getClassName("content-detail-list-item-header-column-description-list-item-text")},{children:e.title}))}))]},o)})}))}))]}))},Fr=function(e){var o=f(e,[]),a=n.useState(o._isToggled),r=a[0],i=a[1];return t.jsxs("button",_({className:bt.getClassName("content-detail-list-item-header",o),type:"button","aria-controls":o._bodyClientID,tabIndex:0,onClick:function(e){o._isCl
1ickable&&o.onCommand&&(e.preventDefault(),o.onCommand({name:"toggle",args:{itemIndex:o._itemIndex}}),i(function(e){return!e}))},"aria-expanded":r},{children:[o.primaryColumn&&t.jsx(Ir,_({},o.primaryColumn,{_isPrimary:!0,onCommand:o.onCommand,_itemIndex:o._itemIndex})),o.secondaryColumns&&o.secondaryColumns.map(function(e,n){return t.jsx(Ir,_({onCommand:o.onCommand,_itemIndex:o._itemIndex},e),n)}),o.children]}))},Or=function(e){var n=f(e,[]),o=n._isOpen;return t.jsx("div",_({id:n.id,className:bt.getClassName("content-detail-list-item-body",n)},{children:(o||!n.mountOnOpen)&&t.jsxs(t.Fragment,{children:[n.renderItemBody&&n.item&&n.renderItemBody(n.item),n.children]})}))},Br=function(e){var o=f(e,[]),a=n.useRef(bt.getNewID()).current,r=n.useRef(bt.getNextClientID("content-detail-list-item-header",void 0===o._index?a:o._index)).current,i=n.useRef(bt.getNextClientID("content-detail-list-item-body",void 0===o._index?a:o._index)).current;return t.jsxs("div",_({className:bt.getClassName("content-detail-list-item",o),id:o.id},{children:[o.header&&t.jsx(Fr,_({},o.header,{onCommand:o.onCommand,_bodyClientID:i,id:r,_isClickable:o.isExpandable,_isToggled:o.isExpanded,_itemIndex:o._index})),o.renderItemBody&&t.jsx(Or,{renderItemBody:o.renderItemBody,item:o.item,id:i,mountOnOpen:o.mountOnOpen,_headerClientID:r,_isOpen:o.isExpanded}),o.children]}))},Hr=function(e){var o,a=f(e,[]),r=null===(o=a.items)||void 0===o?void 0:o.map(function(e){return e.isExpanded||!1}),i=n.useState(r),l=i[0],c=i[1],s=function(e){"toggle"===e.name&&c(function(t){return null==t?void 0:t.map(function(t,n){return e.args.itemIndex===n?!t:t})})};return t.jsxs("div",_({className:bt.getClassName("content-detail-list-body",a)},{children:[a.items&&a.items.map(function(e,n){return t.jsx(Br,_({},e,{isExpanded:!!l&&l[n],onCommand:s,mountOnOpen:a.mountOnOpen,renderItemBody:a.renderItemBody,_index:n}),n)}),a.children]}))},Vr=function(e){var n=f(e,[]);return t.jsx("dt",_({className:bt.getClassName("content-property-list-item-label",n)},{children:t.jsx("span",_({className:bt.getClassName("content-property-list-item-label-text")},{children:n.text}))}))},Ur=function(e){var n=f(e,[]);return t.jsxs("dd",_({className:bt.getClassName("content-property-list-item-value",n)},{children:[n.content,n.children]}))},Gr=function(e){var n=f(e,[]);return t.jsxs("div",_({className:bt.getClassName("content-property-list-item",n)},{children:[n.label&&t.jsx(Vr,_({},n.label)),n.value&&t.jsx(Ur,_({},n.value)),n.children]}))};s('.bc-content-property-list{margin:0;padding:0}.bc-content-property-list *{box-sizing:inherit}.bc-content-property-list.bc-orientation-vertical.bc-orientation-vertical.bc-content-property-list--tabular{border-collapse:collapse;display:table}.bc-content-property-list.bc-orientation-vertical.bc-orientation-vertical.bc-content-property-list--tabular .bc-content-property-list-item{display:table-row;margin:0;padding:.5rem}.bc-content-property-list.bc-orientation-vertical.bc-orientation-vertical.bc-content-property-list--tabular .bc-content-property-list-item-label{padding-bottom:.35rem;padding-top:.35rem}.bc-content-property-list.bc-orientation-vertical.bc-orientation-vertical.bc-content-property-list--tabular .bc-content-property-list-item-value{display:table-cell;padding-bottom:.35rem;padding-left:.5rem;padding-top:.35rem}.bc-content-property-list .bc-content-property-list-item{margin:.5rem 0;text-align:left}.bc-content-property-list .bc-content-property-list-item .bc-content-property-list-item-value{margin:0;padding-top:.25rem}.bc-content-property-list .bc-content-property-list-item .bc-content-property-list-item-value:after{clear:both;content:"";display:table}'),s('.bc-content-teaser:after{clear:both;content:"";display:table}.bc-content-teaser .is-clickable{cursor:pointer;position:relative}.bc-content-teaser .is-clickable .bc-content-teaser-title-link:after{bottom:0;content:"";left:0;position:absolute;right:0;top:0}.bc-content-teaser-title{color:var(--bc-primary-color-500);font-size:1.75rem}.bc-content-teaser-section-header-text{font-size:2rem;font-weight:700}.bc-content-teaser-title-link{text-decoration:none}.bc-content-teaser-title-link .bc-content-teaser-title-text{text-decoration:underline}.bc-content-teaser-title-text{color:#2d2d2d;color:var(--bc-c-text-primary)}.bc-content-teaser-meta{color:var(--bc-c-text-primary);font-size:.875rem;font-size:.9rem;font-weight:400;line-height:1.1428571429;margin-top:1rem}@media only screen and (min-width:48.0625em){.bc-content-teaser-meta{font-size:1rem;line-height:1.25}}@media only print{.bc-content-teaser-meta{font-size:12pt}}.bc-content-teaser-meta-property{display:block;margin-top:.5rem}.bc-content-teaser-meta-property:first-child{margin-top:0}.bc-content-teaser-meta-property-label,.bc-content-teaser-meta-property-value{display:inline-block;margin:0;padding:0}.bc-content-teaser-meta-orientation--vertical .bc-content-teaser-meta-property-label{display:block}.bc-content-teaser-meta-orientation--vertical .bc-content-teaser-meta-property-value{display:block;margin-top:.15rem}.bc-content-teaser-meta-orientation--vertical.bc-content-teaser-meta--tabular{border-collapse:collapse;display:table}.bc-content-teaser-meta-orientation--vertical.bc-content-teaser-meta--tabular .bc-content-teaser-meta-property{display:table-row;margin:0;padding:.5rem}.bc-content-teaser-meta-orientation--vertical.bc-content-teaser-meta--tabular .bc-content-teaser-meta-property-label{padding-bottom:.35rem;padding-top:.35rem}.bc-content-teaser-meta-orientation--vertical.bc-content-teaser-meta--tabular .bc-content-teaser-meta-property-value{display:table-cell;padding-bottom:.35rem;padding-left:.5rem;padding-top:.35rem}.bc-content-teaser-excerpt{font-size:1rem;font-weight:400;line-height:1.25;margin-top:1rem}@media only screen and (min-width:48.0625em){.bc-content-teaser-excerpt{font-size:1.1875rem;line-height:1.5}}@media only print{.bc-content-teaser-excerpt{font-size:14pt}}.bc-content-teaser--has-image .bc-content-teaser-image img{display:block;max-width:100%;min-height:15rem;min-width:10rem}.bc-content-teaser--has-image.bc-content-teaser--left-aligned .bc-content-teaser-image{float:left;margin-right:1rem;max-height:10rem;max-width:10rem;overflow:hidden}.bc-content-teaser--has-image.bc-content-teaser--left-aligned .bc-content-teaser-text{margin-left:11rem}.bc-content-teaser--has-image.bc-content-teaser--right-aligned .bc-content-teaser-image{float:right;margin-left:1rem;max-height:10rem;max-width:10rem;overflow:hidden}.bc-content-teaser--has-image.bc-content-teaser--top-aligned .bc-content-teaser-text{margin-top:1rem}');var Qr=function(e){var n=e.level,o=f(e,["level"]);return t.jsxs(i.Fragment,{children:[n&&t.jsx(C,_({level:n,className:bt.getClassName("content-teaser-title",o)},{children:t.jsxs("span",_({className:bt.getClassName("content-teaser-title-text",null)},{children:[o.text,o.children]}))})),!n&&t.jsx("div",_({className:bt.getClassName("content-teaser-title",o)},{children:t.jsxs("span",_({className:bt.getClassName("content-teaser-title-text",null)},{children:[o.text,o.children]}))}))]})},Wr=n.forwardRef(function(e,n){var o=e.title,a=e.variants,r=e.children,i=f(e,["title","variants","children"]);return t.jsxs("article",_({},i,{className:bt.getClassName("content-teaser",_(_({},i),{variants:a})),ref:n},{children:[o&&t.jsx(Qr,{variants:a,text:o}),r]}))}),qr=function(e){var n=f(e,[]);return t.jsx("dt",_({className:bt.getClassName("content-teaser-meta-property-label",n)},{children:n.children}))},Kr=function(e){var n=f(e,[]);return t.jsx("dd",_({className:bt.getClassName("content-teaser-meta-property-value",n)},{children:n.children}))};function Xr(e){var t=window.location.search.substr(1);return null!=t&&""!==t?function(e){for(var t,n={},o=e.split("&"),a=0;a<o.length;a++){var r=o[a].split("=");n[r[0]]=null!=(t=r[1])&&""!=t?decodeURIComponent(t.replace(/\+/g,"%20")):t}return n}(t)[e]:{}}e.Alert=jn,e.Avatar=$t,e.Balloon=yo,e.Button=z,e.ButtonDecryptValue=function(e){var o=e.encryptedValue,a=e.onDecryptClick,r=e.renderDecryptedItem,l=void 0===r?void 0:r,c=f(e,["encryptedValue","onDecryptClick","renderDecryptedItem"]),s=n.useState(""),u=s[0],d=s[1],m=i.useCallback(function(){return b(void 0,0,void 0,function(){var e;return h(this,function(t){switch(t.label){case 0:return[4,a(o)];case 1:return e=t.sent(),d(e),[2]}})})},[o,c]);return t.jsxs(t.Fragment,{children:[(""===u||!l)&&t.jsx(z,_({},c,{text:""===u?c.text:String(u),onClick:m})),""!==u&&l&&l(u)]})},e.CCarousel=wr,e.Carousel=Cr,e.Checkbox=An,e.CheckboxComponent=Tt,e.CheckboxGroup=Kt,e.CheckboxGroupComponent=qt,e.Col=w,e.Collapsible=Dn,e.CollapsibleFilter=function(e){var n=e.collapsibleProps,o=e.collapsibleBodyProps,a=e.collapsibleHeaderProps,r=e.filterRef,i=e.title,l=void 0===i?"Filter":i,c=f(e,["collapsibleProps","collapsibleBodyProps","collapsibleHeaderProps","filterRef","title"]),s=void 0;return(!a||a&&!("children"in a))&&(s={title:l,openText:"Åpne filter",withButton:!0,buttonStatus:"primary",buttonVariant:"default",closeText:"Lukk filter"}),s=_(_({},s),a),t.jsxs(Dn,_({className:"".concat(v,"-filter-collapsible ").concat(yr.collapsibleFilter),defaultOpen:!0,mobileDefaultOpen:!1},n,{children:[t.jsx(Dn.Header,_({},s)),t.jsx(Dn.Body,_({},o,{children:t.jsx("div",_({className:"".concat(v,"-collapsible-panel-content")},{children:t.jsx(kr,_({},c,{ref:r}))}))}))]}))},e.Container=y,e.ContentDetailList=function(e){var n=e.header,o=e.items,a=e.renderItemBody,r=f(e,["header","items","renderItemBody"]);return t.jsxs("div",_({className:bt.getClassName("content-detail-list",r)},{children:[n&&t.jsx(Mr,_({},n)),o&&t.jsx(Hr,{items:o,mountOnOpen:r.mountOnOpen,renderItemBody:a}),r.children]}))},e.ContentDetailListBody=Hr,e.ContentDetailListHeader=Mr,e.ContentDetailListHeaderColumn=Lr,e.ContentDetailListItem=Br,e.ContentDetailListItemBody=Or,e.ContentDetailListItemHeader=Fr,e.ContentDetailListItemHeaderColumn=Ir,e.ContentList=function(e){var n=f(e,[]);return t.jsxs("div",_({className:bt.getClassName("content-list",n)},{children:[n.items&&n.items.map(function(e,o){return t.jsx(zr,{index:o,item:e,renderItem:n.renderItem},o)}),n.children]}))},e.ContentListItem=zr,e.ContentPropertyList=function(e){var n=e.orientation,o=void 0===n?"Horizontal":n,a=f(e,["orientation"]),r=bt.getClassNameAsArray("content-property-list",a);return"Vertical"===o&&(r.push("".concat(v,"-orientation")),r.push("".concat(v,"-orientation-vertical")),r.push("".concat(v,"-content-property-list--tabular"))),t.jsxs("dl",_({className:r.join(" ")},{children:[a.items&&a.items.map(function(e,n){return t.jsx(Gr,_({},e),n)}),a.children]}))},e.ContentPropertyListItem=Gr,e.ContentPropertyListItemLabel=Vr,e.ContentPropertyListItemValue=Ur,e.ContentTable=function(e){var n=e.layout,o=void 0===n?"normal":n,a=f(e,["layout"]),r=bt.getClassNameAsArray("content-table",a);return a.desktopLayout||r.push("".concat(v,"-content-table--").concat(o)),a.mobileLayout&&(r.push("".concat(v,"-content-table--mobile-").concat(a.mobileLayout)),delete a.mobileLayout),a.tableLayout&&(r.push("".concat(v,"-content-table--table-").concat(a.tableLayout)),delete a.tableLayout),a.desktopLayout&&(r.push("".concat(v,"-content-table--desktop-").concat(a.desktopLayout)),delete a.desktopLayout),a.width&&(r.push("".concat(v,"-content-table--").concat(a.width)),delete a.width),t.jsx("table",_({className:r.join(" ")},{children:a.children}))},e.ContentTableBody=function(e){var n=f(e,[]);return t.jsx("tbody",_({className:bt.getClassName("content-table-body",n)},{children:n.children}))},e.ContentTableCell=function(e){var n=f(e,[]),o=bt.getClassNameAsArray("content-table-cell",n);return n.alignment&&o.push("".concat(v,"-content-table-cell--").concat(n.alignment)),t.jsx("td",_({className:o.join(" ")},{children:n.children}))},e.ContentTableHead=function(e){var n=f(e,[]);return t.jsx("thead",_({className:bt.getClassName("content-table-head",n)},{children:n.children}))},e.ContentTableHeadCell=function(e){var n=f(e,[]);return t.jsx("th",_({className:bt.getClassName("content-table-cell",n)},{children:n.children}))},e.ContentTableRow=function(e){var n=f(e,[]),o=bt.getClassNameAsArray("content-table-row",n);return void 0!==n.className&&""!==n.className&&o.push(n.className),t.jsx("tr",_({className:o.join(" ")},{children:n.children}))},e.ContentTeaser=Wr,e.ContentTeaserBody=function(e){var n=f(e,[]);return t.jsx("div",_({className:bt.getClassName("content-teaser-body",n)},{children:n.children}))},e.ContentTeaserExcerpt=function(e){var n=e.content,o=void 0===n?"":n,a=f(e,["content"]),r=bt.getClassName("content-teaser-excerpt",a);return t.jsx("div",a.children?_({className:r},{children:a.children}):{className:r,dangerouslySetInnerHTML:{__html:o}})},e.ContentTeaserFooter=function(e){var n=f(e,[]);return t.jsx("div",_({className:bt.getClassName("content-teaser-footer",n)},{children:n.children}))},e.ContentTeaserHeader=function(e){var n=f(e,[]);return t.jsx("div",_({className:bt.getClassName("content-teaser-header",n)},{children:n.children}))},e.ContentTeaserImage=function(e){var n=f(e,[]);return t.jsx("div",_({className:bt.getClassName("content-teaser-image",n)},{children:n.children}))},e.ContentTeaserMeta=function(e){var n=e.orientation,o=void 0===n?"Horizontal":n,a=f(e,["orientation"]),r=bt.getClassNameAsArray("content-teaser-meta",a);return"Vertical"===o&&r.push("".concat(v,"-content-teaser-meta-orientation--vertical")),t.jsx("dl",_({className:r.join(" ")},{children:a.children}))},e.ContentTeaserMetaLabel=qr,e.ContentTeaserMetaProperty=function(e){var n=f(e,[]);return t.jsxs("div",_({className:bt.getClassName("content-teaser-meta-property",n)},{children:[n.label&&t.jsx(qr,{children:n.label}),n.value&&t.jsx(Kr,{children:n.value}),n.children]}))},e.ContentTeaserMetaValue=Kr,e.ContentTeaserText=function(e){var n=f(e,[]);return t.jsx("div",_({className:bt.getClassName("content-teaser-text",n)},{children:n.children}))},e.ContentTeaserTitle=Qr,e.DangerousHtml=function(e){var n=e.as,o=e.children,a=e.className,r=e.dangerousHtml,i=f(e,["as","children","className","dangerousHtml"]),l=n||"div",c=Ja.sanitize(null!=r?r:"",{CUSTOM_ELEMENT_HANDLING:{tagNameCheck:function(e){return Za.indexOf(e)>-1},attributeNameCheck:function(e){return!0},allowCustomizedBuiltInElements:!0},ADD_ATTR:["hx-ext","hx-get","hx-indicator","hx-post","hx-target","hx-trigger"]}),s=["".concat(v,"-dangerousHtml"),"dangerousHtml-module__base_9322_-4VRd"];return a&&s.push(a),t.jsx(l,_({},i,{className:s.join(" "),dangerouslySetInnerHTML:r?{__html:c}:void 0},{children:o}))},e.DatePicker=te,e.DateRangePicker=it,e.DigitalClockPicker=function(e){var o=e.format,a=void 0===o?"hh:mm":o,r=f(e,["format"]),i=function(e){var t=null;return e.includes("h")&&e.includes("A")?t=Array.from({length:12},function(e,t){return t+1}).map(function(t){return{value:t,label:t.toString().padStart(e.includes("hh")?2:1,"0")}}):e.includes("h")&&(t=Array.from({length:24},function(e,t){return t}).map(function(t){return{value:t,label:t.toString().padStart(e.includes("hh")?2:1,"0")}})),[t,e.includes("m")?Array.from({length:12},function(e,t){return 5*t}).map(function(t){return{value:t,label:t.toString().padStart(e.includes("mm")?2:1,"0")}}):null,e.includes("s")?Array.from({length:12},function(e,t){return 5*t}).map(function(t){return{value:t,label:t.toString().padStart(e.includes("ss")?2:1,"0")}}):null,e.includes("A")?[{value:0,label:"AM"},{value:1,label:"PM"}]:null]}(a),l=i[0],c=i[1],s=i[2],u=i[3],d=n.useState(r.value),m=d[0],p=d[1],b=["".concat(v,"-digitalClockPicker"),"digitalClockPicker-module__base_9322_n3Hkz"];return r.className&&b.push(r.className),t.jsxs("div",_({className:b.join(" ")},{children:[l&&t.jsx(Rn,{onSelect:function(e){var t;p(e.toString()),null===(t=r.onChange)||void 0===t||t.call(r,e.toString())},items:l}),c&&t.jsx(Rn,{onSelect:function(e){var t;p("".concat(m,":").concat(e)),null===(t=r.onChange)||void 0===t||t.call(r,"".concat(m,":").concat(e))},items:c}),s&&t.jsx(Rn,{onSelect:function(e){var t;p("".concat(m,":").concat(e)),null===(t=r.onChange)||void 0===t||t.call(r,"".concat(m,":").concat(e))},items:s}),u&&t.jsx(Rn,{onSelect:function(e){var t;p("".concat(m," ").concat(0===e?"AM":"PM")),null===(t=r.onChange)||void 0===t||t.call(r,"".concat(m," ").concat(0===e?"AM":"PM"))},items:u})]}))}
1,e.Dropdown=function(e){var o,a=e.id,r=e.options,i=e.onChange,l=void 0===i?void 0:i,c=e.name,s=f(e,["id","options","onChange","name"]),u=bt.getClassNameAsArray("content-form-control",s);u.push("".concat(v,"-content-form-control--select")),s.className&&u.push(s.className);var d=n.useState(null!==(o=s.selectedValue)&&void 0!==o?o:""),m=d[0],p=d[1];return t.jsxs("div",_({className:u.join(" ")},{children:[null!==s.text&&""!==s.text&&t.jsx("label",_({id:a?"".concat(v,"-content-form-control-dropdown--label-").concat(a):void 0,htmlFor:a?"".concat(v,"-content-form-select-").concat(a):void 0,className:"".concat(v,"-content-form-control-dropdown--label")},{children:s.text})),t.jsx("select",_({name:c,id:a?"".concat(v,"-content-form-select-").concat(a):void 0,className:"".concat(v,"-content-form-select"),onChange:function(e){p(e.target.value),l&&l(e)},value:m},{children:r.map(function(e,t){return s.renderOption(e,t)})})),s.children]}))},e.DynamicDebounce=U,e.ErrorBoundary=To,e.Feedback=function(e){var o,a=e.displayLegacy,r=void 0!==a&&a,i=e.reCAPTCHAVersion,l=void 0===i?"V2":i,c=e.translations,s=void 0===c?{textHeader:"Fant du det du lette etter på denne siden?",textYes:"Ja",textNo:"Nei",textButtonClose:"Lukk",textButtonCancel:"Avbryt",textButtonSend:"Send",textModalTitle:"Fant du det du lette etter?",textStatusRadioLabel:"Ditt svar: ",textNegativeCommentDescription:"Hva lette du etter? Din tilbakemelding hjelper oss å forbedre nettsiden",textPositiveCommentDescription:"Så bra! Hva fant du på denne siden som du lette etter?",textCommentLabel:"Kommentar: ",textMailLabel:"Din e-post: ",textIsMailErrorMessage:"Skriv in en gyldig e-post",textFeedbackResult:"Takk for ditt innspill :)",textMailSubLabel:"default sublabel",textRecaptchaErrorMessage:"Fullfør recaptcha før du sender!",textButtonSendLoading:"Sender...",textOptional:"Valgfri",textAriaLabel:"Modal for å gi tilbakemelding"}:c,u=f(e,["displayLegacy","reCAPTCHAVersion","translations"]),d=n.useState(!1),m=d[0],p=d[1],b=n.useState(!1),h=b[0],g=b[1],v=n.useState("no"),y=v[0],x=v[1],k=n.useState(!1),w=k[0],C=k[1],S=n.useState(!1),N=S[0],T=S[1],j=n.useState(!1),E=j[0],P=j[1],D={id:u.id,translations:s,formSubmited:N,buttonPressed:function(e){p(!0),x(e),u.displayEmailField||u.displayCommentField||""!=l||(p(!1),u.onSubmit({status:e,comment:"",mail:"",token:""}).then(function(){g(!1),C(!1),T(!0)}))}};return t.jsxs(t.Fragment,{children:[t.jsx(r?or:nr,_({},D)),t.jsx(ir,{id:u.id,display:m&&(u.displayCommentField||u.displayEmailField||""!==l),reCAPTCHAVersion:l,onClose:function(){p(!1)},translations:s,onSubmit:function(e){p(!1),C(!0),u.onSubmit(e).then(function(e){g(!0),C(!1),T(!0),P(e)})},status:y,setStatus:x,siteKey:null!==(o=u.siteKey)&&void 0!==o?o:"",loading:w,displayEmailField:u.displayEmailField,displayCommentField:u.displayCommentField}),t.jsx(lr,{id:u.id,display:h&&(!!u.displayCommentField||!!u.displayEmailField),onClose:function(){g(!1)},translations:s,success:E})]})},e.Fieldset=sr,e.File=Tr,e.Filter=kr,e.FocusTrap=function(e){var n=f(e,[]);return t.jsx(Je,_({},n))},e.Form=bo,e.FormErrorSummary=Er,e.FormatText=function(e){var n=tr();return t.jsx(t.Fragment,{children:n(e.id,e.values)})},e.GeolocationElement=vr,e.GoogleMaps=function(e){var n=e.mapPoints,o=void 0===n?[{coordinates:{lat:60.3470899,lng:5.1320129},info:'<a href="https://www.acos.no">Gå til ACOS sine nettsider</a>'},{coordinates:{lat:60.3508603,lng:5.1301421},info:"<p>Sotra Arena</p>"},{coordinates:{lat:30.3471963,lng:5.1345316},info:'<span style="color: blue; font-weight: bold;">Obs Bygg Straume</span>'}]:n,a=e.mapZoom,r=void 0===a?14:a,i=e.height,l=void 0===i?"20rem":i,c=e.width,s=void 0===c?"40rem":c,u=e.apiKey;return t.jsx("div",_({className:"".concat(v,"-google-maps ").concat("googlemaps-module__base_9322_p9-MN"),style:{height:l,width:s}},{children:t.jsx(Mo,_({apiKey:u,libraries:["places"]},{children:t.jsx(Fo,{center:o.length>0?o[0].coordinates:{lat:0,lng:0},zoom:r,mapPoints:o})}))}))},e.Group=Vn,e.Heading=C,e.Icon=L,e.InBody=function(e){var t=e.children,n=i.useState(!1),o=n[0],a=n[1];return i.useEffect(function(){a(!0)},[]),o?c.default.createPortal(t,document.body):null},e.Input=On,e.Internationalize=function(e){return t.jsx(er.Provider,_({value:{locale:e.locale,defaultLocale:e.defaultLocale,texts:e.texts}},{children:e.children}))},e.Label=Vt,e.LegacyCheckbox=jt,e.LegacyCollapsible=gt,e.LegacyForm=St,e.LegacyInput=at,e.LegacyRadio=st,e.LegacySelect=Gt,e.Library=Cn,e.Link=an,e.List=Po,e.MailForm=function(e){var o=e.texts,a=void 0===o?{formTitle:"E-post til Marte Berg",sendButton:"Send",cancelButton:"Avbryt",fromLabelText:"Fra",fromRequiredErrorText:"Dette feltet er påkrevd!",fromTypeErrorText:"Bare text i dette feltet!",fromMinimumErrorText:"Dette er for kort!",fromMailErrorText:"Mailen er ikke gyldig!",t
1itleLabelText:"Tittel",titleRequiredErrorText:"Dette feltet er påkrevd!",titleTypeErrorText:"Bare text i dette feltet!",titleMinimumErrorText:"Dette er for kort!",contentLabelText:"Melding",contentRequiredErrorText:"Dette feltet er påkrevd!",contentTypeErrorText:"Bare text i dette feltet!",contentMinimumErrorText:"Dette er for kort, fortell oss mer!",recaptchaErrorText:"Fullfør recaptcha før du sender!",modalAriaDetailCloseTopButton:"Knapp for å lukke modalen",modalAllFieldsAreObligatory:"Alle felt er obligatorisk"}:o,r=e.loading,i=f(e,["texts","loading"]),l=["".concat(v,"-content-mail-form")],c=n.useRef(null);return t.jsx("div",_({className:l.join(" ")},{children:t.jsx(Ct,_({title:a.formTitle,show:i.show,onClose:i.onClose,closable:!0,size:"medium",renderFooter:function(){return t.jsxs(t.Fragment,{children:[t.jsx(z,{loading:r,disabled:r,onClick:function(){!function(){var e,t,n=null===(e=c.current)||void 0===e?void 0:e.getValues();if(n){var o={title:"string"==typeof n.title?n.title:"",message:"string"==typeof n.content?n.content:"",from:"string"==typeof n.from?n.from:"",reCAPTCHA:"string"==typeof n.recaptcha?n.recaptcha:""};(null===(t=c.current)||void 0===t?void 0:t.validate())?i.onSubmit(o):i.onNotValid&&i.onNotValid(o)}}()},type:"button",className:"".concat(v,"-content-mail-form-send-btn"),text:a.sendButton}),t.jsx(z,{disabled:r,className:"".concat(v,"-content-mail-form-cancel-btn"),status:"secondary",text:a.cancelButton,onClick:i.onClose})]})},ariaDetailCloseTopButton:a.modalAriaDetailCloseTopButton},{children:t.jsxs(T.Content.Body,{children:[t.jsx("p",_({className:"".concat(v,"-content-mail-form-all-fields-required-text")},{children:a.modalAllFieldsAreObligatory})),t.jsxs(St,_({onSubmit:i.onSubmit,ref:c},{children:[null,t.jsx(T.Content.Row,{children:t.jsx(at,{labelText:a.titleLabelText,type:"text",name:"title",maxCharacters:256,minCharacters:3,disabled:r,formValidation:{required:{data:!0,errorMessage:a.titleRequiredErrorText},type:{data:"string",errorMessage:a.titleTypeErrorText},minimumLength:{data:3,errorMessage:a.titleMinimumErrorText}}})}),t.jsx(T.Content.Row,{children:t.jsx(Pt,{labelText:a.contentLabelText,maxCharacters:500,minCharacters:5,showCounter:!0,name:"content",disabled:r,formValidation:{required:{data:!0,errorMessage:a.contentRequiredErrorText},type:{data:"string",errorMessage:a.contentTypeErrorText},minimumLength:{data:5,errorMessage:a.contentMinimumErrorText}}})}),t.jsx(T.Content.Row,{children:t.jsx(at,{labelText:a.fromLabelText,type:"email",name:"from",minCharacters:3,autocomplete:"email",disabled:r,formValidation:{required:{data:!0,errorMessage:a.fromRequiredErrorText},type:{data:"string",errorMessage:a.fromTypeErrorText},minimumLength:{data:3,errorMessage:a.fromMinimumErrorText},isMail:{data:!0,errorMessage:a.fromMailErrorText}}})}),i.reCAPTCHAVersion&&i.siteKey&&t.jsx(T.Content.Row,{children:t.jsx(Jt,{version:i.reCAPTCHAVersion,siteKey:i.siteKey,id:i.id+"-captcha",textUncheckedError:a.recaptchaErrorText,name:"recaptcha"})})]}))]})}))}))},e.Modal=Ct,e.ModalFilter=function(e){var n=e.modalProps,o=e.modalTexts,a=e.onCloseModal,r=e.onConfirmModal,i=e.onClearModal,l=e.showModal,c=void 0!==l&&l,s=e.filterRef,u=f(e,["modalProps","modalTexts","onCloseModal","onConfirmModal","onClearModal","showModal","filterRef"]),d=function(e){var n=e.titleId;return t.jsxs("div",_({className:"".concat(v,"-modal-header ").concat(yr.modalHeader)},{children:[t.jsx(L,{icon:"ri-equalizer-fill"}),t.jsx("h2",_({id:n,className:"".concat(v,"-modal-title")},{children:null==o?void 0:o.header}))]}))},m=function(){return t.jsxs("div",_({className:"".concat(v,"-modal-footer ").concat(yr.modalFooter)},{children:[(null==o?void 0:o.results)&&t.jsx(x,{children:t.jsx(w,_({xs:"12"},{children:t.jsx("div",_({className:yr.modalFooterResults},{children:o.results}))}))}),t.jsxs(x,{children:[(null==o?void 0:o.reset)&&t.jsx(w,_({xs:o.apply?"6":"12",className:yr.modalFooterButtonsCol},{children:t.jsx("div",_({className:yr.modalFooterButtonWrapper},{children:t.jsx(z,_({status:"secondary",className:yr.modalFooterButton,onClick:i},{children:t.jsx("span",_({className:"".concat(v,"-modal-footer-button-text")},{children:o.reset}))}))}))})),(null==o?void 0:o.apply)&&t.jsx(w,_({xs:o.reset?"6":"12",className:yr.modalFooterButtonsCol},{children:t.jsx("div",_({className:yr.modalFooterButtonWrapper},{children:t.jsx(z,_({status:"primary",className:yr.modalFooterButton,onClick:r},{children:t.jsx("span",_({className:"".concat(v,"-modal-footer-button-text")},{children:o.apply}))}))}))}))]})]}))},p=["".concat(v,"-filter-modal"),yr.modalFilter,null==n?void 0:n.className];return t.jsx(Ct,_({show:c,closable:!0,onClose:a,size:"medium",variant:"dialog",renderHeader:function(e){return t.jsx(d,{titleId:e})},renderFooter:function(){return t.jsx(m,{})}},n,{className:p.join(" ")},{children:t.jsx("div",_({className:"".concat(v,"-modal-content")},{children:t.jsx(kr,_({},u,{ref:s}))}
1))}))},e.OnClickOutside=function(e){var o=f(e,[]),a=n.createRef(),r=o.active,i=o.clickHandler,l=o.children,c=f(o,["active","clickHandler","children"]);n.useEffect(function(){var e=function(e){e.target instanceof Node&&a.current&&!a.current.contains(e.target)&&i()};return r||void 0===r?(document.addEventListener("click",e,!0),document.addEventListener("touchstart",e,!0)):(document.removeEventListener("click",e,!0),document.removeEventListener("touchstart",e,!0)),function(){document.removeEventListener("click",e,!0),document.removeEventListener("touchstart",e,!0)}},[r,i]);var s=["".concat(v,"-onClickOutside ").concat("onClickOutside-module__base_9322_hf2-L")];return o.className&&s.push(o.className),t.jsx("div",_({},c,{ref:a},{children:l}))},e.Option=Lt,e.Pagination=Rr,e.PaginationCountSelector=Dr,e.PaginationSelector=Ar,e.PaginationStats=Pr,e.Paragraph=nn,e.Radio=Qn,e.RadioDateRangePicker=kt,e.RadioGroup=xt,e.ReCAPTCHA=Jt,e.Region=T,e.Renderer=function(e){var o=e.library,a=void 0===o?Cn:o,r=f(e,["library"]),i=["".concat(v,"-renderer ").concat("renderer-module__base_9322_XXiaq")];return r.className&&i.push(r.className),n.useState(0),t.jsxs("div",_({className:i.join(" ")},{children:[Sn(r,a,r.data.elements),r.children]}))},e.Row=x,e.Search=Uo,e.Select=uo,e.SelectSearch=function(e){var o=e.minCharactersForSearch,a=void 0===o?2:o,r=e.showNoResultsText,i=void 0===r||r,l=e.loadingBar,c=void 0===l||l,s=e.clearButtonTitle,u=void 0===s?"Tøm søkeboks":s,d=e.searchTimeout,m=void 0===d?500:d,p=e.maxResultsInSuggestions,b=void 0===p?10:p,h=e.size,g=void 0===h?"medium":h,y=e.scrollTarget,x=void 0===y?window:y,k=f(e,["minCharactersForSearch","showNoResultsText","loadingBar","clearButtonTitle","searchTimeout","maxResultsInSuggestions","size","scrollTarget"]),w=n.useState(""),C=w[0],S=w[1],N=n.useState(k.defaultPlaceholder),T=N[0],j=N[1],E=n.useState([]),P=E[0],D=E[1],A=n.useState(-1),R=A[0],z=A[1],L=n.useState(!1),M=L[0],I=L[1],F=n.useState(!0),O=F[0],B=F[1],H=n.createRef(),V=n.createRef(),U=n.createRef(),G=["".concat(v,"-content-select-search"),Go.base];G.push("".concat(v,"-content-select-search-size--").concat(g),Go["size--".concat(g)]),k.className&&G.push(k.className);var Q=function(){z(-1),k.fetchSuggestionData(Qo).then(function(e){D(e)}).finally(function(){I(!1)})},W=n.useCallback(function(e){var t;null===(t=U.current)||void 0===t||t.focus(),k.onSelect(e.text,e),B(!0),j(e.text),S("")},[U,k]);return n.useEffect(function(){function e(e){var t;(null===(t=H.current)||void 0===t?void 0:t.contains(e.target))||B(!0)}var t=At(e,250),n=x&&null!=x?x:window;return window.addEventListener("click",e),n.addEventListener("scroll",t),window.addEventListener("touchstart",e),function(){window.removeEventListener("click",e),n.removeEventListener("scroll",t),window.removeEventListener("touchstart",e)}},[x,H]),t.jsxs("div",_({id:k.id,ref:H,className:G.join(" ")},{children:[""!==k.labelText&&k.labelText&&t.jsx("label",_({className:k.hideLabel?"".concat(v,"-visually-hidden"):"",htmlFor:k.id+"-input"},{children:k.labelText})),t.jsx("div",_({className:"".concat(v,"-content-select-search-container ").concat(Go.container)},{children:t.jsxs("div",{children:[t.jsxs("div",_({className:"".concat(v,"-content-select-search-container-input-container ").concat(Go["input-container"])},{children:[t.jsx("input",{id:k.id+"-input",type:"search",placeholder:null!=T?T:k.defaultPlaceholder,value:C,onChange:function(e){I(!0),S(e.target.value),Qo=e.target.value,""===C&&null!==P&&P.length>0&&D([]),-1===R&&""!==C&&a<=Qo.length&&(window.clearTimeout(R),z(window.setTimeout(Q,m))),k.onCleared&&""===Qo&&k.onCleared()},onFocus:function(){Q(),B(!1)},onClick:function(e){e.stopPropagation()},autoComplete:"off",onKeyDown:function(e){O&&"Tab"!==e.key&&B(!1),"ArrowDown"===e.key&&(e.preventDefault(),V.current&&V.current.focusFirst())},ref:U}),(C||T)&&t.jsx("span",_({title:u,"data-clear-input":!0,onClick:function(){S(""),j(k.defaultPlaceholder),k.onCleared&&k.onCleared()}},{children:"×"}))]})),C.length>=a&&(!M||M&&c)&&t.jsx(Bo,{ref:V,data:P.slice(0,b),highlighting:k.highlighting,disableSuggestions:O,searchText:C,retrieveFocus:function(){var e;null===(e=U.current)||void 0===e||e.focus(),B(!0)},loading:M,renderListItem:k.renderListItem,noResultsText:k.noResultsText,showNoResultsText:i,suggestionsIcon:k.suggestionsIcon,onClick:W})]})}))]}))},e.SingleDatePicker=Rt,e.Spinner=P,e.StringValidation=No,e.Sublabel=Ut,e.Suggestions=Bo,e.Summary=function(e){var n,o=e.title,a=e.subtitle,r=e.description,i=e.footer,l=e.groups,c=f(e,["title","subtitle","description","footer","groups"]),s="".concat(v,"-summary"),u="".concat(s,"-group"),d=[s,Nn.base];return c.theme&&d.push("".concat(v,"-summary--theme-").concat(c.theme," ").concat(Nn["theme--".concat(c.theme)])),t.jsxs("div",_({className:d.join(" ")},{children:[o.length>0&&t.jsx(C,_({level:null!==(n=c.titleHeadingLevel)&&void 0!==n?n:2,className:"".concat(s,"-header-title")},{children:o})),a&&t.jsx("span",_({className:"".concat(s,"-header-subtitle")},{children:a})),r&&t.jsx("p",_({className:"".concat(s,"-header-description")},{children:r})),l.map(function(e,n){var o,a=e.title,r=e.description,i=e.fields,l=e.fieldsAlt;return t.jsxs("div",_({className:u+" "+Nn.group},{children:[t.jsxs("div",_({className:"".concat(u,"-header")},{children:[a.length>0&&t.jsx(C,_({className:"".concat(u,"-header-title"),level:Math.min((null!==(o=c.titleHeadingLevel)&&void 0!==o?o:2)+1,6)},{children:a})),t.jsx("p",_({className:"".concat(u,"-header-description")},{children:r}))]})),t.jsxs("div",_({className:"".concat(u,"-body ").concat(Nn["group-body"])},{children:[!l&&i&&i.map(function(e,n){return t.jsxs("div",_({className:"".concat(u,"-body-field ").concat(Nn["group-body-field"])},{children:[t.jsx("label",_({id:"".concat(u,"-body-field-label-").concat(n),className:"".concat(u,"-body-field-label")},{children:e.label})),t.jsx("div",_({className:"".concat(u,"-body-field-value-container ").concat(Nn["group-body-field-container"])},{children:t.jsx("div",_({"aria-describedby":"".concat(u,"-body-field-label-").concat(n),className:"".concat(u,"-body-field-value ").concat(Nn["group-body-field-value"]),dangerouslySetInnerHTML:e.isHTML?{__html:e.value}:void 0},{children:e.isHTML?void 0:e.value}))}))]}),n)}),!i&&t.jsxs(t.Fragment,{children:[l&&l.constructor!==Array&&$a(l,u),l&&l.constructor===Array&&l.map(function(e){return $a(e,u)})]})]}))]}),n)}),t.jsx("div",_({className:"".concat(s,"-footer")}
1,{children:i}))]}))},e.Tab=Xo,e.Table=qo,e.Tabs=function(e){var o=e.onChange,a=void 0===o?void 0:o,r=f(e,["onChange"]),l=n.useState([]),c=l[0],s=l[1],u=n.useState([]),d=u[0],m=u[1],p=n.useState([]),b=p[0],h=p[1],g=n.useState([]),y=g[0],x=g[1],k=n.useState(!1),w=k[0],C=k[1];n.useEffect(function(){var e=[];h(i.Children.map(r.children,function(t,o){return e.push(null),i.isValidElement(t)?(e[o]=n.createRef(),i.cloneElement(t,{ref:e[o],selected:t.props.selected})):t})),s(e)},[r.children]),n.useEffect(function(){var e=[];x(c.map(function(o,i){var l="tab",s="";return e.push(n.createRef()),o&&o.current&&(o.current.getTitle&&(l=o.current.getTitle()),r.children[i].props.selected&&(s="".concat(v,"-content-tabs--selected ").concat("tabs-module__--selected_9322_qqTe1"))),t.jsx("div",_({className:"".concat(v,"-content-tabs-header-item ").concat("tabs-module__header-item_9322_7dSZ7")},{children:t.jsx("button",_({type:"button",tabIndex:i?-1:0,role:"tab",ref:e[i],className:s,onClick:function(){!function(e){var t,n=0;c.forEach(function(t){t&&t.current&&t.current.setVisibility&&t.current.setVisibility(!1),a&&t===e&&a(n),n++}),(null===(t=null==e?void 0:e.current)||void 0===t?void 0:t.setVisibility)&&e.current.setVisibility(!0),C(!w)}(o)}},{children:l}))}),"tabkey-"+l+"-"+i)})),m(e)},[b,w,r.children]);var S=["".concat(v,"-content-tabs"),"tabs-module__base_9322_I1MuQ"],N=["".concat(v,"-content-tabs-body"),"tabs-module__body_9322_yI7QP"];return r.className&&S.push(r.className),t.jsxs("div",_({className:S.join(" "),id:r.id,onKeyDown:function(e){var t,n;"ArrowRight"==e.key?(t=!0,d.forEach(function(e,n){document.activeElement===e.current&&t&&(d[(n+1)%d.length].current.focus(),t=!1)})):"ArrowLeft"==e.key?(n=!0,d.forEach(function(e,t){document.activeElement===e.current&&n&&(d[(0==t?d.length-1:t-1)%d.length].current.focus(),n=!1)})):"Home"==e.key&&d.length?d[0].current.focus():"End"==e.key&&d.length&&d[d.length-1].current.focus()}},{children:[t.jsx("div",_({className:"".concat(v,"-content-tabs-header ").concat("tabs-module__header_9322_YL-7j"),role:"tablist"},{children:y})),t.jsx("div",_({className:N.join(" "),role:"tabpanel"},{children:b}))]}))},e.Tag=Jo,e.TagInput=function(e){var o=e.status,a=void 0===o?"primary":o,r=e.appearance,i=void 0===r?"filled":r,l=e.name,c=void 0===l?void 0:l,s=e.value,u=void 0===s?void 0:s,d=e.allowDuplicates,m=void 0!==d&&d,p=e.initialTags,b=void 0===p?[]:p,h=e.onNewTag,y=void 0===h?void 0:h,x=e.onTagChange,k=void 0===x?void 0:x,w=f(e,["status","appearance","name","value","allowDuplicates","initialTags","onNewTag","onTagChange"]),C=n.useState(b),S=C[0],N=C[1],T=n.useState(u),j=T[0],E=T[1],P=w.size,D=bt.getClassNameAsArray("content-tag-input",w);D.push(ea.base),D.push("".concat(v,"-content-tag-input--").concat(a)),D.push("".concat(v,"-content-tag-input--appearance-").concat(i));var A=function(e,t){return!e.includes(t)||m},R=function(e){z(e,k(S))},z=function(e,t){N(function(t){return t.filter(function(t,n){return n!==e})}),t&&t()};return t.jsxs("span",_({className:"".concat(v,"-content-tag-input-wrapper ").concat(ea["input-wrapper"])},{children:[t.jsx($o,{className:ea.tagList,onTagDelete:R,tags:S,size:P,status:a,appearance:i}),t.jsx("input",{name:c,className:"".concat(v,"-content-tag-input"),placeholder:"enter a tag...",value:j,onChange:function(e){var t=e.target.value;E(t=","===t?"":t)},onKeyDown:function(e){var t,n=e.currentTarget.value;switch(e.key){case"Tab":n&&e.preventDefault();case"Enter":case",":(n=n.trim())&&A(S,n)?A(S,t={name:n})&&(N(function(e){return g(g([],e,!0),[t],!1)}),E(""),function(e){y&&y(e),k&&k(e)}(S)):E("");break;case"Backspace":n||R(S.length-1)}}})]}))},e.TagList=$o,e.TextArea=Pt,e.Textarea=Hn,e.Timeline=gn,e.Toggle=wn,e.Tooltip=function(e){var o=f(e,[]),a=n.useState(!1),r=a[0],i=a[1],l=n.useRef(null);if(!(o.text&&""!==o.text||o.children&&0!==o.children))return null;n.useEffect(function(){var e=function(e){l.current&&r&&!l.current.contains(e.target)&&i(!1)};return document.addEventListener("click",e,!0),function(){document.removeEventListener("click",e,!0)}});var c=["".concat(v,"-tooltip"),"tooltip-module__base_9322_2GSwR"];return t.jsxs("div",_({id:o.id,className:c.join(" "),onKeyDown:function(e){"Escape"===e.key&&i(!1)},ref:l},{children:[t.jsxs("button",_({className:"".concat(v,"-content-tooltip-trigger ").concat("tooltip-module__trigger_9322_T8lCz"),type:"button",id:o.id?"".concat(o.id,"-button"):void 0,"aria-labelledby":o.id?"".concat(o.id,"-tooltip"):void 0,"aria-expanded":r,onClick:function(){return i(!r)}},{children:["?",t.jsx("span",_({className:"".concat(v,"-content-tooltip-trigger-text ").concat("tooltip-module__trigger-text_9322_TOvqw")},{children:o.htmlTitle}))]})),t.jsxs("div",_({id:o.id?"".concat(o.id,"-tooltip"):void 0,role:"tooltip",className:"".concat(v,"-content-tooltip-content ").concat("tooltip-module__content_9322_M9kUB")},{children:[o.text&&o.text,o.children,t.jsx("button",{"aria-label":"Knapp for å lukke tooltip",className:"".concat(v,"-content-tooltip-close-icon ").concat("tooltip-module__closeIcon_9322_BOcTI"),onClick:function(){return i(!1)}})]}))]}))},e.Transition=rn,e.ValidateFormElement=$,e.Validation=So,e.VanillaEventBroker=Sr,e.Wizard=xn,e.WizardStep=yn,e.callApi=Q,e.callApiMultiForm=function(e,t,n,o,a,r,i){return b(this,0,void 0,function(){var l=this;return h(this,function(c){return[2,new Promise(function(c,s){var u=new Headers;u.delete("Content-Type"),window.portalID&&u.append("PortalID",window.portalID),window.portalID&&u.append("MenypunktID",window.menypunktID),window.portalID&&u.append("SprakID",window.sprakID),window.webobjektID&&u.append("WebObjektID",window.webobjektID),window.objektID&&u.append("ObjektID",window.objektID);var d=G();d&&u.append("DeviceType",d),u.append("X-ANTI-CSRF","1"),u.append("enctype","multipart/form-data");var m=new FormData;if(r)for(var _=0;_<r.length;_++)m.append("files"+_,r[_]);m.append(o,JSON.stringify(a));var p={method:e,headers:u,body:m,credentials:"same-origin"};i&&(p.signal=i.signal),fetch("".concat(t).concat(n),p).then(function(e){return b(l,0,void 0,function(){var t;return h(this,function(n){switch(n.label){case 0:return[4,e.json()];case 1:return t=n.sent(),e.ok&&200===t.statusCode?c(t):s(t),[2]}})})}).catch(function(e){"AbortError"!==e.name&&s(e)})})]})})},e.createResponseConfig=function(e){var t;return void 0===e&&(e={}),{redirectOn404:null===(t=e.redirectOn404)||void 0===t||t}}
1,e.cssClassPrefix=v,e.dateToString=F,e.focusChild=V,e.getAPIEndPoint=function(){return window.API_ENDPOINT_V2?window.API_ENDPOINT_V2:window.top!==window.self&&window.top.API_ENDPOINT_V2?window.top.API_ENDPOINT_V2:"/api/v2"},e.getAPIEndPointLegacy=function(){return window.API_ENDPOINT||"/api"},e.getBaseUrl=function(){return window.BASE_URL?window.BASE_URL:window.top!==window.self&&window.top.BASE_URL?window.top.BASE_URL:"/"},e.getCurrentUrlWithoutParameter=function(e){for(var t=window.location.href,n=0;n<e.length;n++){var o=Xr(e[n]);t=(t=t.replace("&".concat(e[n],"=").concat(o),"")).replace("?".concat(e[n],"=").concat(o),"")}return t},e.getDeviceType=G,e.getUniqueID=function(e){var t=Math.random().toString(36).substr(2,9);return"__".concat(e,"--").concat(t)},e.getUrlParameter=Xr,e.handleApiResponse=function(e,t){if(t.redirectOn404&&404===e.statusCode&&(window.location.href="/404"),!e.statusCode||200!==e.statusCode)throw new Error(e.messages.join(", "));return e.content},e.isValidDate=M,e.stringToDate=I,e.useApi=function(e,t){var o=this;void 0===e&&(e="POST");var a=n.useState(!0),r=a[0],i=a[1],l=n.useState(),c=l[0],s=l[1],u=n.useState(),d=u[0],m=u[1];return[n.useCallback(function(n,a,r){return b(o,0,void 0,function(){var o,l;return h(this,function(c){switch(c.label){case 0:i(!0),c.label=1;case 1:return c.trys.push([1,3,4,5]),[4,Q(e,t,n,a,void 0,r)];case 2:return o=c.sent(),s(o.content),200!==o.statusCode&&m(o.messages),[2,o.content];case 3:return(l=c.sent()).messages?m(l.messages):m([{text:"Noe gikk galt. Prøv igjen senere."}]),[3,5];case 4:return i(!1),[7];case 5:return[2]}})})},[e,t]),r,c,d,s]},e.useTranslation=tr,e.withBaseUrl=function(e){var t="";return void 0===e||""===e?"":(window.BASE_URL&&(t=window.BASE_URL),""===t&&window.top!==window.self&&window.top.BASE_URL&&(t=window.top.BASE_URL),""===t&&(t="/"),e.startsWith("/")?t+e.substring(1,e.length):t+e)},e.withCharacterCounter=function(e){var o,a,r=function(o){var a,r,i,l=n.useState(null!==(r=null===(a=o.defaultValue)||void 0===a?void 0:a.length)&&void 0!==r?r:0),c=l[0],s=l[1],u=null!==(i=o.maxLength)&&void 0!==i?i:0;return t.jsxs(t.Fragment,{children:[t.jsx(e,_({},o,{onChange:function(e){s(e.target.value.length),o.onChange&&o.onChange(e)}})),t.jsxs("span",_({className:"withCharacterCounter-module__counter_9322_2UuzF"},{children:[c," / ",u]}))]})};return r.displayName="withCharacterCounter(".concat(null!==(a=null!==(o=e.displayName)&&void 0!==o?o:e.name)&&void 0!==a?a:"Component",")"),r},e.withClearButton=function(e){var o=function(o,a){var r=o.onClearButtonClick,i=o.showClearButton,l=o.clearButtonProps,c=f(o,["onClearButtonClick","showClearButton","clearButtonProps"]),s=n.useRef(null);return t.jsxs("div",_({className:"withClearButton-module__base_9322_e7Upv",ref:s},{children:[t.jsx(e,_({},c,{ref:a})),i&&t.jsx(z,_({className:"withClearButton-module__button_9322_fMi4e",onClick:function(){r&&r(),V(s)},appearance:"icon"},l,{children:t.jsx(L,{icon:"ri-close-line"})}))]}))};return o.displayName="withClearButton(".concat(e.displayName||e.name||"Component",")"),n.forwardRef(o)},e.withDatepicker=function(e){var o=function(o){var a,r=o.onChange,i=o.onKeyDown,l=o.onClick,c=o.openDatePickerAria,s=o.value,u=o.defaultValue,d=o.datepickerProps,m=f(o,["onChange","onKeyDown","onClick","openDatePickerAria","value","defaultValue","datepickerProps"]),p=n.useState(null!==(a=null!=s?s:u)&&void 0!==a?a:""),b=p[0],h=p[1],g=n.useState(!1),v=g[0],y=g[1],x=n.useRef(null);n.useEffect(function(){s&&!isNaN(Date.parse(s))&&h(s)},[s]);var k=n.useCallback(function(e){"Escape"!==e.key&&"Enter"!==e.key||(e.stopPropagation(),e.preventDefault(),y(!1))},[]),w=n.useCallback(function(e){null==i||i(e)," "===e.key&&(e.stopPropagation(),e.preventDefault(),y(!0))},[i]),C=n.useCallback(function(e){h(e.target.value),null==r||r(e)},[r]),S=n.useCallback(function(e){e.preventDefault(),null==l||l(e)},[l]),N=null!=d?d:{},T=N.className,j=f(N,["className"]);return t.jsxs("div",_({className:ho.base,onKeyDown:k},{children:[t.jsx(e,_({value:b,type:"date",ref:x,onChange:C,onKeyDown:w,onClick:S},m)),t.jsx(z,_({className:ho.button,appearance:"icon",onClick:function(){y(!v)},"aria-label":c},{children:t.jsx(L,{icon:"ri-calendar-line"})})),t.jsx(yo,_({show:v,preferredPlacement:"bottom",target:x,className:ho.balloon},{children:t.jsx(Ye,_({active:v,focusTrapOptions:{clickOutsideDeactivates:!0,onDeactivate:function(){var e;y(!1),null===(e=x.current)||void 0===e||e.focus()}}},{children:t.jsx("div",{children:t.jsx(te,_({},j,{onChange:function(e){var t="string"!=typeof e?F(e):e;h(t),null==r||r({target:{value:t}})},className:[ho.datepicker,T].join(" "),value:b}))})}))}))]}))};return o.displayName="withDatepicker(".concat(e.displayName||e.name||"Component",")"),o},e.withErrorMessage=lo,e.withIcon=function(e){var o=function(n,o){var a=n.icon,r=n.iconPosition,i=f(n,["icon","iconPosition"]);return t.jsxs("div",_({className:xo.base},{children:[t.jsx(e,_({},i,{ref:o})),a&&t.jsx(L,{icon:a,className:xo["icon--"+r]})]}))};return o.displayName="withIcon(".concat(e.displayName||e.name||"Component",")"),n.forwardRef(o)},e.withShowPasswordButton=function(e){var o=function(o){var a=n.useState(!1),r=a[0],i=a[1];return t.jsxs("div",_({className:"withShowPasswordButton-module__base_9322_LANPs"},{children:[t.jsx(e,_({},o,{type:r?"text":"password"})),t.jsx(z,_({className:"withShowPasswordButton-module__button_9322_sjR2C",appearance:"icon",onClick:function(){i(!r)}},{children:t.jsx(L,{icon:r?"ri-eye-line":"ri-eye-off-line"})}))]}))};return o.displayName="withShowPasswordButton(".concat(e.displayName||e.name||"Component",")"),o},e.withSuggestions=function(e){var o=function(o){var a=o.suggestions,r=f(o,["suggestions"]),i=n.useState([]),l=i[0],c=i[1],s=n.useRef(null),u=n.useRef([]);n.useEffect(function(){c(a.suggestions||[])},[a.suggestions]);var d=function(e){var t,n,o,a,r;if("ArrowDown"===e.key)e.preventDefault(),(l=((i=u.current.findIndex(function(e){return e===document.activeElement}))+1)%(u.current.length+1))===u.current.length?null===(t=s.current)||void 0===t||t.focus():null===(n=u.current[l])||void 0===n||n.focus();else if("ArrowUp"===e.key){var i,l;e.preventDefault(),(l=0===(i=u.current.findIndex(function(e){return e===document.activeElement}))?u.current.length:i-1)===u.current.length?null===(o=s.current)||void 0===o||o.focus():null===(a=u.current[l])||void 0===a||a.focus()}else"Escape"===e.key&&(e.preventDefault(),null===(r=s.current)||void 0===r||r.focus(),c([]))};return t.jsxs("div",_({className:ko.base},{children:[t.jsx(e,_({},r,{ref:s,onKeyDown:function(e){d(e),r.onKeyDown&&r.onKeyDown(e)}})),a.search.length>=a.minLength&&t.jsxs("ul",_({className:["".concat(v,"-suggestions"),ko.suggestions].join(" "),role:"listbox"},{children:[a.loading&&t.jsx("li",_({className:[ko.suggestion].join(" "),role:"option"},{children:t.jsx(wo,{})})),!a.loading&&(null==l?void 0:l.map(function(e,n){return t.jsx("li",_({className:["".concat(v,"-suggestion"),k
1o.suggestion].join(" ")},{children:t.jsx("button",_({type:"button",role:"option",className:"".concat(v,"-suggestion-button"),ref:function(e){return u.current[n]=e},onClick:function(){return a.onSelect&&a.onSelect(e)},onKeyDown:function(t){"Enter"!=t.key&&" "!=t.key||!a.onSelect||(t.preventDefault(),a.onSelect(e)),d(t)}},{children:e.value}))}),n)}))]}))]}))};return o.displayName="withSuggestions(".concat(e.displayName||e.name||"Component",")"),o}}(c)),c),b=u();const h=({personName:e,personIdentifier:t,translations:n={},reCaptchaSiteKey:o,showMailForm:a,setShowMailForm:r,encryptedEmailAddress:i})=>{const{mailFormTitle:c,mailFormHeader:s,mailFormText:u,mailFormFieldContentRequired:d,mailFormFieldMailRequired:m,mailFormFieldTitleRequired:_,mailFormSendButton:p,mailFormCancelButton:h,mailFormAriaDetailCloseTopButton:g,mailFormMinimumErrorText:v,mailFormInputTypeError:y,mailFormFrom:x,mailFormFromError:k,mailFormRecaptchaError:w,mailFormAllFieldsAreObligatory:C,receiptTitle:S,receiptBodyMailTo:N,receiptBodySent:T,receiptClose:j,receiptErrorBody:E}=n,[P,D]=b.useState(!1),[A,R]=b.useState(!1),[z,L]=b.useState(!1),M=b.useRef(null),I=()=>{R(!1),L(!1),r(!1),M.current&&!M.current.signal.aborted&&(M.current.abort(),D(!1))},F=()=>{r(!1),R(!0)},O=e=>{r(!1),L(!0)},B=e=>{M.current&&(M.current.abort(),M.current=null),M.current=new AbortController,D(!0),i?(async(e,t,n,o,a)=>{const r={from:e.from,message:e.message,reCAPTCHA:e.reCAPTCHA,title:e.title,emailAddressEncrypted:t};try{if(!(await f.callApi("POST","/api/presentation/v2/person/","sendemailmessagewithemail",r,void 0,n)))throw new Error("API call failed");o&&o()}catch(i){a&&a(i)}})(e,i,M.current,F,O).finally(()=>{D(!1)}):t?(async(e,t,n,o,a)=>{const r={from:e.from,message:e.message,reCAPTCHA:e.reCAPTCHA,title:e.title,personIdentifier:t};try{const e=window.baseUrl||"",t=e&&e.length>0?`${e}/api/presentation/v2/person/`:"api/presentation/v2/person/";if(!(await f.callApi("POST",t,"sendemailmessage",r,void 0,n)))throw new Error("API call failed");o&&o()}catch(i){a&&a(i)}})(e,t,M.current,F,O).finally(()=>{D(!1)}):(O(),D(!1))};return l.jsxs(l.Fragment,{children:[l.jsx(f.MailForm,{id:"contact-modal-mail-form",show:a,texts:{formTitle:s&&e?s+" "+e:s||"",cancelButton:h??"",contentLabelText:u??"",contentMinimumErrorText:(null==v?void 0:v.replace("#0#","5"))??"",contentRequiredErrorText:d??"",contentTypeErrorText:y??"",fromLabelText:x??"",fromMailErrorText:k??"",fromMinimumErrorText:(null==v?void 0:v.replace("#0#","3"))??"",fromRequiredErrorText:m??"",fromTypeErrorText:y??"",sendButton:p??"",titleLabelText:c??"",titleMinimumErrorText:(null==v?void 0:v.replace("#0#","3"))??"",titleRequiredErrorText:_??"",titleTypeErrorText:y??"",modalAriaDetailCloseTopButton:g??"",recaptchaErrorText:w??"",modalAllFieldsAreObligatory:C??""},onClose:()=>{I()},reCAPTCHAVersion:""!==o?"V2":o,onSubmit:e=>B(e),siteKey:o,loading:P}),l.jsx(f.Modal,{show:A,onClose:()=>I(),closable:!0,size:"small",variant:"information",title:S,ariaDetailCloseTopButton:g,closeText:j,closeTextAria:g,children:l.jsx(f.Alert,{variant:"success",show:!0,children:e?N+" "+e+" "+T:T||"Melding sendt"})}),l.jsx(f.Modal,{show:z,onClose:()=>{L(!1)},closable:!0,size:"small",variant:"information",ariaDetailCloseTopButton:g,closeText:j,closeTextAria:g,children:l.jsx(f.Alert,{variant:"danger",show:!0,children:E})})]})};var g,v,y,x={},k={exports:{}},w={};var C=function(){if(y)return x;y=1;var e,t=(v||(v=1,k.exports=(g||(g=1,e=w,function(){function t(){if(x=!1,S){var t=e.unstable_now();j=t;var n=!0;try{e:{v=!1,y&&(y=!1,w(N),N=-1),g=!0;var r=h;try{t:{for(i(t),b=o(_);null!==b&&!(b.expirationTime>t&&c());){var u=b.callback;if("function"==typeof u){b.callback=null,h=b.priorityLevel;var d=u(b.expirationTime<=t);if(t=e.unstable_now(),"function"==typeof d){b.callback=d,i(t),n=!0;break t}b===o(_)&&a(_),i(t)}else a(_);b=o(_)}if(null!==b)n=!0;else{var m=o(p);null!==m&&s(l,m.startTime-t),n=!1}}break e}finally{b=null,h=r,g=!1}n=void 0}}finally{n?E():S=!1}}}function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var o=n-1>>>1,a=e[o];if(!(0<r(a,t)))break e;e[o]=t,e[n]=a,n=o}}function o(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var o=0,a=e.length,i=a>>>1;o<i;){var l=2*(o+1)-1,c=e[l],s=l+1,u=e[s];if(0>r(c,n))s<a&&0>r(u,c)?(e[o]=u,e[s]=n,o=s):(e[o]=c,e[l]=n,o=l);else{if(!(s<a&&0>r(u,n)))break e;e[o]=u,e[s]=n,o=s}}}return t}function r(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}function i(e){for(var t=o(p);null!==t;){if(null===t.callback)a(p);else{if(!(t.startTime<=e))break;a(p),t.sortIndex=t.expirationTime,n(_,t)}t=o(p)}}function l(e){if(y=!1,i(e),!v)if(null!==o(_))v=!0,S||(S=!0,E());else{var t=o(p);null!==t&&s(l,t.startTime-e)}}function c(){return!(!x&&e.unstable_now()-j<T)}function s(t,n){N=k(function(){t(e.unstable_now())},n)}if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()),e.unstable_now=void 0,"object"==typeof performance&&"function"==typeof performance.now){var u=performance;e.unstable_now=function(){return u.now()}}else{var d=Date,m=d.now();e.unstable_now=function(){return d.now()-m}}var _=[],p=[],f=1,b=null,h=3,g=!1,v=!1,y=!1,x=!1,k="function"==typeof setTimeout?setTimeout:null,w="function"==typeof clearTimeout?clearTimeout:null,C="undefined"!=typeof setImmediate?setImmediate:null,S=!1,N=-1,T=5,j=-1;if("function"==typeof C)var E=function(){C(t)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,D=P.port2;P.port1.onmessage=t,E=function(){D.postMessage(null)}}else E=function(){k(t,0)};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_forceFrameRate=function(e){0>e||125<e||(T=0<e?Math.floor(1e3/e):5)},e.unstable_getCurrentPriorityLevel=function(){return h},e.unstable_next=function(e){switch(h){case 1:case 2:case 3:var t=3;break;default:t=h}var n=h;h=t;try{return e()}finally{h=n}},e.unstable_requestPaint=function(){x=!0},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=h;h=e;try{return t()}finally{h=n}},e.unstable_scheduleCallback=function(t,a,r){var i=e.unstable_now();switch(r="object"==typeof r&&null!==r&&"number"==typeof(r=r.delay)&&0<r?i+r:i,t){case 1:var c=-1;break;case 2:c=250;break;case 5:c=1073741823;break;case 4:c=1e4;break;default:c=5e3}return t={id:f++,callback:a,priorityLevel:t,startTime:r,expirationTime:c=r+c,sortIndex:-1},r>i?(t.sortIndex=r,n(p,t),null===o(_)&&t===o(p)&&(y?(w(N),N=-1):y=!0,s(l,r-i))):(t.sortIndex=c,n(_,t),v||g||(v=!0,S||(S=!0,E()))),t},e.unstable_shouldYield=c,e.unstable_wrapCallback=function(e){var t=h;return function(){var n=h;h=t;try{return e.apply(this,arguments)}finally{h=n}}},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}
vendor: 13,726 bytes, line 1
1()),w)),k.exports),n=u(),o=p();function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function i(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function l(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function c(e){if(i(e)!==e)throw Error(a(188))}function s(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e;for(e=e.child;null!==e;){if(null!==(t=s(e)))return t;e=e.sibling}return null}var d=Object.assign,m=Symbol.for("react.element"),_=Symbol.for("react.transitional.element"),f=Symbol.for("react.portal"),b=Symbol.for("react.fragment"),h=Symbol.for("react.strict_mode"),C=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),N=Symbol.for("react.consumer"),T=Symbol.for("react.context"),j=Symbol.for("react.forward_ref"),E=Symbol.for("react.suspense"),P=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),R=Symbol.for("react.activity"),z=Symbol.for("react.memo_cache_sentinel"),L=Symbol.iterator;function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=L&&e[L]||e["@@iterator"])?e:null}var I=Symbol.for("react.client.reference");function F(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===I?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case b:return"Fragment";case C:return"Profiler";case h:return"StrictMode";case E:return"Suspense";case P:return"SuspenseList";case R:return"Activity"}if("object"==typeof e)switch(e.$$typeof){case f:return"Portal";case T:return(e.displayName||"Context")+".Provider";case N:return(e._context.displayName||"Context")+".Consumer";case j:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case D:return null!==(t=e.displayName||null)?t:F(e.type)||"Memo";case A:t=e._payload,e=e._init;try{return F(e(t))}catch(n){}}return null}var O=Array.isArray,B=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,H=o.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,V={pending:!1,data:null,method:null,action:null},U=[],G=-1;function Q(e){return{current:e}}function W(e){0>G||(e.current=U[G],U[G]=null,G--)}function q(e,t){G++,U[G]=e.current,e.current=t}var K=Q(null),X=Q(null),Y=Q(null),J=Q(null);function Z(e,t){switch(q(Y,t),q(X,e),q(K,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?ud(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)e=dd(t=ud(t),e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}W(K),q(K,e)}function $(){W(K),W(X),W(Y)}function ee(e){null!==e.memoizedState&&q(J,e);var t=K.current,n=dd(t,e.type);t!==n&&(q(X,e),q(K,n))}function te(e){X.current===e&&(W(K),W(X)),J.current===e&&(W(J),em._currentValue=V)}var ne=Object.prototype.hasOwnProperty,oe=t.unstable_scheduleCallback,ae=t.unstable_cancelCallback,re=t.unstable_shouldYield,ie=t.unstable_requestPaint,le=t.unstable_now,ce=t.unstable_getCurrentPriorityLevel,se=t.unstable_ImmediatePriority,ue=t.unstable_UserBlockingPriority,de=t.unstable_NormalPriority,me=t.unstable_LowPriority,_e=t.unstable_IdlePriority,pe=t.log,fe=t.unstable_setDisableYieldValue,be=null,he=null;function ge(e){if("function"==typeof pe&&fe(e),he&&"function"==typeof he.setStrictMode)try{he.setStrictMode(be,e)}catch(t){}}var ve=Math.clz32?Math.clz32:function(e){return 0==(e>>>=0)?32:31-(ye(e)/xe|0)|0},ye=Math.log,xe=Math.LN2,ke=256,we=4194304;function Ce(e){var t=42&e;if(0!==t)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194048&e;case 4194304:case 8388608:case 16777216:case 33554432:return 62914560&e;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function Se(e,t,n){var o=e.pendingLanes;if(0===o)return 0;var a=0,r=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=134217727&o;return 0!==l?0!==(o=l&~r)?a=Ce(o):0!==(i&=l)?a=Ce(i):n||0!==(n=l&~e)&&(a=Ce(n)):0!==(l=o&~r)?a=Ce(l):0!==i?a=Ce(i):n||0!==(n=o&~e)&&(a=Ce(n)),0===a?0:0!==t&&t!==a&&0===(t&r)&&((r=a&-a)>=(n=t&-t)||32===r&&4194048&n)?t:a}function Ne(e,t){return 0===(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)}function Te(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function je(){var e=ke;return!(4194048&(ke<<=1))&&(ke=256),e}function Ee(){var e=we;return!(62914560&(we<<=1))&&(we=4194304),e}function Pe(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function De(e,t){e.pendingLanes|=t,268435456!==t&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Ae(e,t,n){e.pendingLanes|=t,e.suspendedLanes&=~t;var o=31-ve(t);e.entangledLanes|=t,e.entanglements[o]=1073741824|e.entanglements[o]|4194090&n}function Re(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var o=31-ve(n),a=1<<o;a&t|e[o]&t&&(e[o]|=t),n&=~a}}function ze(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function Le(e){return 2<(e&=-e)?8<e?134217727&e?32:268435456:8:2}function Me(){var e=H.p;return 0!==e?e:void 0===(e=window.event)?32:fm(e.type)}var Ie=Math.random().toString(36).slice(2),Fe="__reactFiber$"+Ie,Oe="__reactProps$"+Ie,Be="__reactContainer$"+Ie,He="__reactEvents$"+Ie,Ve="__reactListeners$"+Ie,Ue="__reactHandles$"+Ie,Ge="__reactResources$"+Ie,Qe="__reactMarker$"+Ie;function We(e){delete e[Fe],delete e[Oe],delete e[He],delete e[Ve],delete e[Ue]}function qe(e){var t=e[Fe];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Be]||n[Fe]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Sd(e);null!==e;){if(n=e[Fe])return n;e=Sd(e)}return t}n=(e=n).parentNode}return null}function Ke(e){if(e=e[Fe]||e[Be]){var t=e.tag;if(5===t||6===t||13===t||26===t||27===t||3===t)return e}return null}function Xe(e){var t=e.tag;if(5===t||26===t||27===t||6===t)return e.stateNode;throw Error(a(33))}function Ye(e){var t=e[Ge];return t||(t=e[Ge]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Je(e){e[Qe]=!0}var Ze=new Set,$e={};function et(e,t){tt(e,t),tt(e+"Capture",t)}function tt(e,t){for($e[e]=t,e=0;e<t.length;e++)Ze.add(t[e])}var nt,ot,at=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),rt={},it={};function lt(e,t,n){if(ne.call(it,a=t)||!ne.call(rt,a)&&(at.test(a)?it[a]=!0:(rt[a]=!0,0)))if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":return void e.removeAttribute(t);case"boolean":var o=t.toLowerCase().slice(0,5);if("data-"!==o&&"aria-"!==o)return void e.removeAttribute(t)}e.setAttribute(t,""+n)}var a}function ct(e,t,n){if(null===n)e.removeAttribute(t);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(t)}e.setAttribute(t,""+n)}}function st(e,t,n,o){if(null===o)e.removeAttribute(n);else{switch(typeof o){case"undefined":case"function":case"symbol":case"boolean":return void e.removeAttribute(n)}e.setAttributeNS(t,n,""+o)}}function ut(e){if(void 0===nt)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);nt=t&&t[1]||"",ot=-1<n.stack.indexOf("\n at")?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return"\n"+nt+e+ot}var dt=!1;function mt(e,t){if(!e||dt)return"";dt=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var o={DetermineComponentFrameRoot:function(){try{if(t){var n=function(){throw Error()};if(Object.defineProperty(n.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(n,[])}catch(a){var o=a}Reflect.construct(e,[],n)}else{try{n.call()}catch(r){o=r}e.call(n.prototype)}}else{try{throw Error()}catch(i){o=i}(n=e())&&"function"==typeof n.catch&&n.catch(function(){})}}catch(l){if(l&&o&&"string"==typeof l.stack)return[l.stack,o.stack]}return[null,null]}};o.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var a=Object.getOwnPropertyDescriptor(o.DetermineComponentFrameRoot,"name");a&&a.configurable&&Object.defineProperty(o.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=o.DetermineComponentFrameRoot(),i=r[0],l=r[1];if(i&&l){var c=i.split("\n"),s=l.split("\n");for(a=o=0;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;for(;a<s.length&&!s[a].includes("DetermineComponentFrameRoot");)a++;if(o===c.length||a===s.length)for(o=c.length-1,a=s.length-1;1<=o&&0<=a&&c[o]!==s[a];)a--;for(;1<=o&&0<=a;o--,a--)if(c[o]!==s[a]){if(1!==o||1!==a)do{if(o--,0>--a||c[o]!==s[a]){var u="\n"+c[o].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=o&&0<=a);break}}}finally{dt=!1,Error.prepareStackTrace=n}return(n=e?e.displayName||e.name:"")?ut(n):""}function _t(e){switch(e.tag){case 26:case 27:case 5:return ut(e.type);case 16:return ut("Lazy");case 13:return ut("Suspense");case 19:return ut("SuspenseList");case 0:case 15:return mt(e.type,!1);case 11:return mt(e.type.render,!1);case 1:return mt(e.type,!0);case 31:return ut("Activity");default:return""}}function pt(e){try{var t="";do{t+=_t(e),e=e.return}while(e);return t}catch(n){return"\nError generating stack: "+n.message+"\n"+n.stack}}function ft(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function bt(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function ht(e){e._valueTracker||(e._valueTracker=function(e){var t=bt(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var a=n.get,r=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){o=""+e,r.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return o},setValue:function(e){o=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function gt(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),o="";return e&&(o=bt(e)?e.checked?"true":"false":e.value),(e=o)!==n&&(t.setValue(e),!0)}function vt(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}var yt=/[\n"\\]/g;function xt(e){return e.replace(yt,function(e){return"\\"+e.charCodeAt(0).toString(16)+" "})}function kt(e,t,n,o,a,r,i,l){e.name="",null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i?e.type=i:e.removeAttribute("type"),null!=t?"number"===i?(0===t&&""===e.value||e.value!=t)&&(e.value=""+ft(t)):e.value!==""+ft(t)&&(e.value=""+ft(t)):"submit"!==i&&"reset"!==i||e.removeAttribute("value"),null!=t?Ct(e,i,ft(t)):null!=n?Ct(e,i,ft(n)):null!=o&&e.removeAttribute("value"),null==a&&null!=r&&(e.defaultChecked=!!r),null!=a&&(e.checked=a&&"function"!=typeof a&&"symbol"!=typeof a),null!=l&&"function"!=typeof l&&"symbol"!=typeof l&&"boolean"!=typeof l?e.name=""+ft(l):e.removeAttribute("name")}function wt(e,t,n,o,a,r,i,l){if(null!=r&&"function"!=typeof r&&"symbol"!=typeof r&&"boolean"!=typeof r&&(e.type=r),null!=t||null!=n){if(("submit"===r||"reset"===r)&&null==t)return;n=null!=n?""+ft(n):"",t=null!=t?""+ft(t):n,l||t===e.value||(e.value=t),e.defaultValue=t}o="function"!=typeof(o=null!=o?o:a)&&"symbol"!=typeof o&&!!o,e.checked=l?e.checked:!!o,e.defaultChecked=!!o,null!=i&&"function"!=typeof i&&"symbol"!=typeof i&&"boolean"!=typeof i&&(e.name=i)}function Ct(e,t,n){"number"===t&&vt(e.ownerDocument)===e||e.defaultValue===""+n||(e.defaultValue=""+n)}function St(e,t,n,o){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&o&&(e[n].defaultSelected=!0)}else{for(n=""+ft(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(o&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function Nt(e,t,n){null==t||((t=""+ft(t))!==e.value&&(e.value=t),null!=n)?e.defaultValue=null!=n?""+ft(n):"":e.defaultValue!==t&&(e.defaultValue=t)}
vendor: 4,412 bytes, line 1
1function Tt(e,t,n,o){if(null==t){if(null!=o){if(null!=n)throw Error(a(92));if(O(o)){if(1<o.length)throw Error(a(93));o=o[0]}n=o}null==n&&(n=""),t=n}n=ft(t),e.defaultValue=n,(o=e.textContent)===n&&""!==o&&null!==o&&(e.value=o)}function jt(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var Et=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function Pt(e,t,n){var o=0===t.indexOf("--");null==n||"boolean"==typeof n||""===n?o?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":o?e.setProperty(t,n):"number"!=typeof n||0===n||Et.has(t)?"float"===t?e.cssFloat=n:e[t]=(""+n).trim():e[t]=n+"px"}function Dt(e,t,n){if(null!=t&&"object"!=typeof t)throw Error(a(62));if(e=e.style,null!=n){for(var o in n)!n.hasOwnProperty(o)||null!=t&&t.hasOwnProperty(o)||(0===o.indexOf("--")?e.setProperty(o,""):"float"===o?e.cssFloat="":e[o]="");for(var r in t)o=t[r],t.hasOwnProperty(r)&&n[r]!==o&&Pt(e,r,o)}else for(var i in t)t.hasOwnProperty(i)&&Pt(e,i,t[i])}function At(e){if(-1===e.indexOf("-"))return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Rt=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode
1-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),zt=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function Lt(e){return zt.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}var Mt=null;function It(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Ft=null,Ot=null;function Bt(e){var t=Ke(e);if(t&&(e=t.stateNode)){var n=e[Oe]||null;e:switch(e=t.stateNode,t.type){case"input":if(kt(e,n.value,n.defaultValue,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll('input[name="'+xt(""+t)+'"][type="radio"]'),t=0;t<n.length;t++){var o=n[t];if(o!==e&&o.form===e.form){var r=o[Oe]||null;if(!r)throw Error(a(90));kt(o,r.value,r.defaultValue,r.defaultValue,r.checked,r.defaultChecked,r.type,r.name)}}for(t=0;t<n.length;t++)(o=n[t]).form===e.form&>(o)}break e;case"textarea":Nt(e,n.value,n.defaultValue);break e;case"select":null!=(t=n.value)&&St(e,!!n.multiple,t,!1)}}}var Ht=!1;function Vt(e,t,n){if(Ht)return e(t,n);Ht=!0;try{return e(t)}finally{if(Ht=!1,(null!==Ft||null!==Ot)&&(qs(),Ft&&(t=Ft,e=Ot,Ot=Ft=null,Bt(t),e)))for(t=0;t<e.length;t++)Bt(e[t])}}function Ut(e,t){var n=e.stateNode;if(null===n)return null;var o=n[Oe]||null;if(null===o)return null;n=o[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Gt=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),Qt=!1;if(Gt)try{var Wt={};Object.defineProperty(Wt,"passive",{get:function(){Qt=!0}}),window.addEventListener("test",Wt,Wt),window.removeEventListener("test",Wt,Wt)}catch(Om){Qt=!1}var qt=null,Kt=null,Xt=null;function Yt(){if(Xt)return Xt;var e,t,n=Kt,o=n.length,a="value"in qt?qt.value:qt.textContent,r=a.length;for(e=0;e<o&&n[e]===a[e];e++);var i=o-e;for(t=1;t<=i&&n[o-t]===a[r-t];t++);return Xt=a.slice(e,1<t?1-t:void 0)}function Jt(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function Zt(){return!0}function $t(){return!1}function en(e){function t(t,n,o,a,r){for(var i in this._reactName=t,this._targetInst=o,this.type=n,this.nativeEvent=a,this.target=r,this.currentTarget=null,e)e.hasOwnProperty(i)&&(this[i]=(t=e[i])?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?Zt:$t,this.isPropagationStopped=$t,this}return d(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=Zt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Zt)},persist:function(){},isPersistent:Zt}),t}var tn,nn,on,an={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},rn=en(an),ln=d({},an,{view:0,detail:0}),cn=en(ln),sn=d({},ln,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:yn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.from
vendor: 4,394 bytes, line 1
1Element===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==on&&(on&&"mousemove"===e.type?(tn=e.screenX-on.screenX,nn=e.screenY-on.screenY):nn=tn=0,on=e),tn)},movementY:function(e){return"movementY"in e?e.movementY:nn}}),un=en(sn),dn=en(d({},sn,{dataTransfer:0})),mn=en(d({},ln,{relatedTarget:0})),_n=en(d({},an,{animationName:0,elapsedTime:0,pseudoElement:0})),pn=en(d({},an,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),fn=en(d({},an,{data:0})),bn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},hn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},gn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function vn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=gn[e])&&!!t[e]}function yn(){return vn}var xn=en(d({},ln,{key:function(e){if(e.key){var t=bn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Jt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?hn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:yn,charCode:function(e){return"keypress"===e.type?Jt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Jt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),kn=en(d({},sn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),wn=en(d({},ln,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:yn})),Cn=en(d({},an,{propertyName:0,elapsedTime:0,pseudoElement:0})),Sn=en(d({},sn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0})),Nn=en(d({},an,{newState:0,oldState:0})),Tn=[9,13,27,32],jn=Gt&&"CompositionEvent"in window,En=null;Gt&&"documentMode"in document&&(En=document.documentMode);var Pn=Gt&&"TextEvent"in window&&!En,Dn=Gt&&(!jn||En&&8<En&&11>=En),An=String.fromCharCode(32),Rn=!1;function zn(e,t){switch(e){case"keyup":return-1!==Tn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Ln(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Mn=!1,In={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!In[e.type]:"textarea"===t}function On(e,t,n,o){Ft?Ot?Ot.push(o):Ot=[o]:Ft=o,0<(t=Yu(t,"onChange")).length&&(n=new rn("onChange","change",null,n,o),e.push({event:n,listeners:t}))}var Bn=null,Hn=null;function Vn(e){Vu(e,0)}function Un(e){if(gt(Xe(e)))return e}function Gn(e,t){if("change"===e)return t}var Qn=!1;if(Gt){var Wn;if(Gt){var qn="oninput"in document;if(!qn){var Kn=document.createElement("div");Kn.setAttribute("oninput","return;"),qn="function"==typeof Kn.oninput}Wn=qn}else Wn=!1;Qn=Wn&&(!document.documentMode||9<document.documentMode)}function Xn(){Bn&&(Bn.detachEvent("onpropertychange",Yn),Hn=Bn=null)}function Yn(e){if("value"===e.propertyName&&Un(Hn)){var t=[];On(t,Hn,e,It(e)),Vt(Vn,t)}}function Jn(e,t,n){"focusin"===e?(Xn(),Hn=n,(Bn=t).attachEvent("onpropertychange",Yn)):"focusout"===e&&Xn()}function Zn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Un(Hn)}function $n(e,t){if("click"===e)return Un(t)}function eo(e,t){if("input"===e||"change"===e)return Un(t)}var to="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function no(e,t){if(to(e,t))return!0;
vendor: 17,062 bytes, line 1
1if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(o=0;o<n.length;o++){var a=n[o];if(!ne.call(t,a)||!to(e[a],t[a]))return!1}return!0}function oo(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ao(e,t){var n,o=oo(e);for(e=0;o;){if(3===o.nodeType){if(n=e+o.textContent.length,e<=t&&n>=t)return{node:o,offset:t-e};e=n}e:{for(;o;){if(o.nextSibling){o=o.nextSibling;break e}o=o.parentNode}o=void 0}o=oo(o)}}function ro(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ro(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function io(e){for(var t=vt((e=null!=e&&null!=e.ownerDocument&&null!=e.ownerDocument.defaultView?e.ownerDocument.defaultView:window).document);t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(o){n=!1}if(!n)break;t=vt((e=t.contentWindow).document)}return t}function lo(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var co=Gt&&"documentMode"in document&&11>=document.documentMode,so=null,uo=null,mo=null,_o=!1;function po(e,t,n){var o=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;_o||null==so||so!==vt(o)||(o="selectionStart"in(o=so)&&lo(o)?{start:o.selectionStart,end:o.selectionEnd}:{anchorNode:(o=(o.ownerDocument&&o.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:o.anchorOffset,focusNode:o.focusNode,focusOffset:o.focusOffset},mo&&no(mo,o)||(mo=o,0<(o=Yu(uo,"onSelect")).length&&(t=new rn("onSelect","select",null,t,n),e.push({event:t,listeners:o}),t.target=so)))}function fo(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var bo={animationend:fo("Animation","AnimationEnd"),animationiteration:fo("Animation","AnimationIteration"),animationstart:fo("Animation","AnimationStart"),transitionrun:fo("Transition","TransitionRun"),transitionstart:fo("Transition","TransitionStart"),transitioncancel:fo("Transition","TransitionCancel"),transitionend:fo("Transition","TransitionEnd")},ho={},go={};function vo(e){if(ho[e])return ho[e];if(!bo[e])return e;var t,n=bo[e];for(t in n)if(n.hasOwnProperty(t)&&t in go)return ho[e]=n[t];return e}Gt&&(go=document.createElement("div").style,"AnimationEvent"in window||(delete bo.animationend.animation,delete bo.animationiteration.animation,delete bo.animationstart.animation),"TransitionEvent"in window||delete bo.transitionend.transition);var yo=vo("animationend"),xo=vo("animationiteration"),ko=vo("animationstart"),wo=vo("transitionrun"),Co=vo("transitionstart"),So=vo("transitioncancel"),No=vo("transitionend"),To=new Map,jo="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Eo(e,t){To.set(e,t),et(t,[e])}jo.push("scrollEnd");var Po=new WeakMap;function Do(e,t){if("object"==typeof e&&null!==e){var n=Po.get(e);return void 0!==n?n:(t={value:e,source:t,stack:pt(t)},Po.set(e,t),t)}return{value:e,source:t,stack:pt(t)}}var Ao=[],Ro=0,zo=0;function Lo(){for(var e=Ro,t=zo=Ro=0;t<e;){var n=Ao[t];Ao[t++]=null;var o=Ao[t];Ao[t++]=null;var a=Ao[t];Ao[t++]=null;var r=Ao[t];if(Ao[t++]=null,null!==o&&null!==a){var i=o.pending;null===i?a.next=a:(a.next=i.next,i.next=a),o.pending=a}0!==r&&Oo(n,a,r)}}function Mo(e,t,n,o){Ao[Ro++]=e,Ao[Ro++]=t,Ao[Ro++]=n,Ao[Ro++]=o,zo|=o,e.lanes|=o,null!==(e=e.alternate)&&(e.lanes|=o)}function Io(e,t,n,o){return Mo(e,t,n,o),Bo(e)}function Fo(e,t){return Mo(e,null,null,t),Bo(e)}function Oo(e,t,n){e.lanes|=n;var o=e.alternate;null!==o&&(o.lanes|=n);for(var a=!1,r=e.return;null!==r;)r.childLanes|=n,null!==(o=r.alternate)&&(o.childLanes|=n),22===r.tag&&(null===(e=r.stateNode)||1&e._visibility||(a=!0)),e=r,r=r.return;return 3===e.tag?(r=e.stateNode,a&&null!==t&&(a=31-ve(n),null===(o=(e=r.hiddenUpdates)[a])?e[a]=[t]:o.push(t),t.lane=536870912|n),r):null}function Bo(e){if(50<Fs)throw Fs=0,Os=null,Error(a(185));for(var t=e.return;null!==t;)t=(e=t).return;return 3===e.tag?e.stateNode:null}var Ho={};function Vo(e,t,n,o){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=o,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Uo(e,t,n,o){return new Vo(e,t,n,o)}function Go(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Qo(e,t){var n=e.alternate;return null===n?((n=Uo(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=65011712&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,n.dependencies=null===(t=e.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.refCleanup=e.refCleanup,n}function Wo(e,t){e.flags&=65011714;var n=e.alternate;return null===n?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type,e.dependencies=null===(t=n.dependencies)?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function qo(e,t,n,o,r,i){var l=0;if(o=e,"function"==typeof e)Go(e)&&(l=1);else if("string"==typeof e)l=function(e,t,n){if(1===n||null!=t.itemProp)return!1;switch(e){case"meta":case"title":return!0;case"style":if("string"!=typeof t.precedence||"string"!=typeof t.href||""===t.href)break;return!0;case"link":if("string"!=typeof t.rel||"string"!=typeof t.href||""===t.href||t.onLoad||t.onError)break;return"stylesheet"!==t.rel||(e=t.disabled,"string"==typeof t.precedence&&null==e);case"script":if(t.async&&"function"!=typeof t.async&&"symbol"!=typeof t.async&&!t.onLoad&&!t.onError&&t.src&&"string"==typeof t.src)return!0}return!1}(e,n,K.current)?26:"html"===e||"head"===e||"body"===e?27:5;else e:switch(e){case R:return(e=Uo(31,n,t,r)).elementType=R,e.lanes=i,e;case b:return Ko(n.children,r,i,t);case h:l=8,r|=24;break;case C:return(e=Uo(12,n,t,2|r)).elementType=C,e.lanes=i,e;case E:return(e=Uo(13,n,t,r)).elementType=E,e.lanes=i,e;case P:return(e=Uo(19,n,t,r)).elementType=P,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:case T:l=10;break e;case N:l=9;break e;case j:l=11;break e;case D:l=14;break e;case A:l=16,o=null;break e}l=29,n=Error(a(130,null===e?"null":typeof e,"")),o=null}return(t=Uo(l,n,t,r)).elementType=e,t.type=o,t.lanes=i,t}function Ko(e,t,n,o){return(e=Uo(7,e,o,t)).lanes=n,e}function Xo(e,t,n){return(e=Uo(6,e,null,t)).lanes=n,e}function Yo(e,t,n){return(t=Uo(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var Jo=[],Zo=0,$o=null,ea=0,ta=[],na=0,oa=null,aa=1,ra="";function ia(e,t){Jo[Zo++]=ea,Jo[Zo++]=$o,$o=e,ea=t}function la(e,t,n){ta[na++]=aa,ta[na++]=ra,ta[na++]=oa,oa=e;var o=aa;e=ra;var a=32-ve(o)-1;o&=~(1<<a),n+=1;var r=32-ve(t)+a;if(30<r){var i=a-a%5;r=(o&(1<<i)-1).toString(32),o>>=i,a-=i,aa=1<<32-ve(t)+a|n<<a|o,ra=r+e}else aa=1<<r|n<<a|o,ra=e}function ca(e){null!==e.return&&(ia(e,1),la(e,1,0))}function sa(e){for(;e===$o;)$o=Jo[--Zo],Jo[Zo]=null,ea=Jo[--Zo],Jo[Zo]=null;for(;e===oa;)oa=ta[--na],ta[na]=null,ra=ta[--na],ta[na]=null,aa=ta[--na],ta[na]=null}var ua=null,da=null,ma=!1,_a=null,pa=!1,fa=Error(a(519));function ba(e){throw ka(Do(Error(a(418,"")),e)),fa}function ha(e){var t=e.stateNode,n=e.type,o=e.memoizedProps;switch(t[Fe]=e,t[Oe]=o,n){case"dialog":Uu("cancel",t),Uu("close",t);break;case"iframe":case"object":case"embed":Uu("load",t);break;case"video":case"audio":for(n=0;n<Bu.length;n++)Uu(Bu[n],t);break;case"source":Uu("error",t);break;case"img":case"image":case"link":Uu("error",t),Uu("load",t);break;case"details":Uu("toggle",t);break;case"input":Uu("invalid",t),wt(t,o.value,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name,!0),ht(t);break;case"select":Uu("invalid",t);break;case"textarea":Uu("invalid",t),Tt(t,o.value,o.defaultValue,o.children),ht(t)}"string"!=typeof(n=o.children)&&"number"!=typeof n&&"bigint"!=typeof n||t.textContent===""+n||!0===o.suppressHydrationWarning||nd(t.textContent,n)?(null!=o.popover&&(Uu("beforetoggle",t),Uu("toggle",t)),null!=o.onScroll&&Uu("scroll",t),null!=o.onScrollEnd&&Uu("scrollend",t),null!=o.onClick&&(t.onclick=od),t=!0):t=!1,t||ba(e)}function ga(e){for(ua=e.return;ua;)switch(ua.tag){case 5:case 13:return void(pa=!1);case 27:case 3:return void(pa=!0);default:ua=ua.return}}function va(e){if(e!==ua)return!1;if(!ma)return ga(e),ma=!0,!1;var t,n=e.tag;if((t=3!==n&&27!==n)&&((t=5===n)&&(t=!("form"!==(t=e.type)&&"button"!==t)||md(e.type,e.memoizedProps)),t=!t),t&&da&&ba(e),ga(e),13===n){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,n=0;e;){if(8===e.nodeType)if("/$"===(t=e.data)){if(0===n){da=wd(e.nextSibling);break e}n--}else"$"!==t&&"$!"!==t&&"$?"!==t||n++;e=e.nextSibling}da=null}}else 27===n?(n=da,vd(e.type)?(e=Cd,Cd=null,da=e):da=n):da=ua?wd(e.stateNode.nextSibling):null;return!0}function ya(){da=ua=null,ma=!1}function xa(){var e=_a;return null!==e&&(null===Ss?Ss=e:Ss.push.apply(Ss,e),_a=null),e}function ka(e){null===_a?_a=[e]:_a.push(e)}var wa=Q(null),Ca=null,Sa=null;function Na(e,t,n){q(wa,t._currentValue),t._currentValue=n}function Ta(e){e._currentValue=wa.current,W(wa)}function ja(e,t,n){for(;null!==e;){var o=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==o&&(o.childLanes|=t)):null!==o&&(o.childLanes&t)!==t&&(o.childLanes|=t),e===n)break;e=e.return}}function Ea(e,t,n,o){var r=e.child;for(null!==r&&(r.return=e);null!==r;){var i=r.dependencies;if(null!==i){var l=r.child;i=i.firstContext;e:for(;null!==i;){var c=i;i=r;for(var s=0;s<t.length;s++)if(c.context===t[s]){i.lanes|=n,null!==(c=i.alternate)&&(c.lanes|=n),ja(i.return,n,e),o||(l=null);break e}i=c.next}}else if(18===r.tag){if(null===(l=r.return))throw Error(a(341));l.lanes|=n,null!==(i=l.alternate)&&(i.lanes|=n),ja(l,n,e),l=null}else l=r.child;if(null!==l)l.return=r;else for(l=r;null!==l;){if(l===e){l=null;break}if(null!==(r=l.sibling)){r.return=l.return,l=r;break}l=l.return}r=l}}function Pa(e,t,n,o){e=null;for(var r=t,i=!1;null!==r;){if(!i)if(524288&r.flags)i=!0;else if(262144&r.flags)break;if(10===r.tag){var l=r.alternate;if(null===l)throw Error(a(387));if(null!==(l=l.memoizedProps)){var c=r.type;to(r.pendingProps.value,l.value)||(null!==e?e.push(c):e=[c])}}else if(r===J.current){if(null===(l=r.alternate))throw Error(a(387));l.memoizedState.memoizedState!==r.memoizedState.memoizedState&&(null!==e?e.push(em):e=[em])}r=r.return}null!==e&&Ea(t,e,n,o),t.flags|=262144}function Da(e){for(e=e.firstContext;null!==e;){if(!to(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Aa(e){Ca=e,Sa=null,null!==(e=e.dependencies)&&(e.firstContext=null)}function Ra(e){return La(Ca,e)}function za(e,t){return null===Ca&&Aa(e),La(e,t)}function La(e,t){var n=t._currentValue;if(t={context:t,memoizedValue:n,next:null},null===Sa){if(null===e)throw Error(a(308));Sa=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else Sa=Sa.next=t;return n}var Ma="undefined"!=typeof AbortController?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(t,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(e){return e()})}},Ia=t.unstable_scheduleCallback,Fa=t.unstable_NormalPriority,Oa={$$typeof:T,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Ba(){return{controller:new Ma,data:new Map,refCount:0}}function Ha(e){e.refCount--,0===e.refCount&&Ia(Fa,function(){e.controller.abort()})}var Va=null,Ua=0,Ga=0,Qa=null;function Wa(){if(0===--Ua&&null!==Va){null!==Qa&&(Qa.status="fulfilled");var e=Va;Va=null,Ga=0,Qa=null;for(var t=0;t<e.length;t++)(0,e[t])()}}var qa=B.S;B.S=function(e,t){"object"==typeof t&&null!==t&&"function"==typeof t.then&&function(e,t){if(null===Va){var n=Va=[];Ua=0,Ga=Lu(),Qa={status:"pending",value:void 0,then:function(e){n.push(e)}}}Ua++,t.then(Wa,Wa)}(0,t),null!==qa&&qa(e,t)};var Ka=Q(null);function Xa(){var e=Ka.current;return null!==e?e:ss.pooledCache}function Ya(e,t){q(Ka,null===t?Ka.current:t.pool)}function Ja(){var e=Xa();return null===e?null:{parent:Oa._currentValue,pool:e}}var Za=Error(a(460)),$a=Error(a(474)),er=Error(a(542)),tr={then:function(){}};function nr(e){return"fulfilled"===(e=e.status)||"rejected"===e}function or(){}function ar(e,t,n){switch(void 0===(n=e[n])?e.push(t):n!==t&&(t.then(or,or),t=n),t.status){case"fulfilled":return t.value;case"rejected":throw lr(e=t.reason),e;default:if("string"==typeof t.status)t.then(or,or);else{if(null!==(e=ss)&&100<e.shellSuspendCounter)throw Error(a(482));(e=t).status="pending",e.then(function(e){if("pending"===t.status){var n=t;n.status="fulfilled",n.value=e}},function(e){if("pending"===t.status){var n=t;n.status="rejected",n.reason=e}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw lr(e=t.reason),e}throw rr=t,Za}}var rr=null;function ir(){if(null===rr)throw Error(a(459));var e=rr;return rr=null,e}function lr(e){if(e===Za||e===er)throw Error(a(483))}var cr=!1;function sr(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function ur(e,t){t.updateQueue===(e=e.updateQueue)&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function dr(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function mr(e,t,n){var o=e.updateQueue;if(null===o)return null;if(o=o.shared,2&cs){var a=o.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),o.pending=t,t=Bo(e),Oo(e,null,n),t}return Mo(e,o,t,n),Bo(e)}function _r(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194048&n)){var o=t.lanes;t.lanes=n|=o&=e.pendingLanes,Re(e,n)}}function pr(e,t){var n=e.updateQueue,o=e.alternate;if(null===o||n!==(o=o.updateQueue))null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t;else{var a=null,r=null;if(null!==(n=n.firstBaseUpdate)){do{var i={lane:n.lane,tag:n.tag,payload:n.payload,callback:null,next:null};null===r?a=r=i:r=r.next=i,n=n.next}while(null!==n);null===r?a=r=t:r=r.next=t}else a=r=t;e.updateQueue=n={baseState:o.baseState,firstBaseUpdate:a,lastBaseUpdate:r,shared:o.shared,callbacks:o.callbacks}}}var fr=!1;function br(){if(fr&&null!==Qa)throw Qa}function hr(e,t,n,o){fr=!1;var a=e.updateQueue;cr=!1;var r=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var c=l,s=c.next;c.next=null,null===i?r=s:i.next=s,i=c;var u=e.alternate;null!==u&&(l=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===l?u.firstBaseUpdate=s:l.next=s,u.lastBaseUpdate=c)}if(null!==r){var m=a.baseState;for(i=0,u=s=c=null,l=r;;){var _=-536870913&l.lane,p=_!==l.lane;if(p?(ds&_)===_:(o&_)===_){0!==_&&_===Ga&&(fr=!0),null!==u&&(u=u.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var f=e,b=l;_=t;var h=n;switch(b.tag){case 1:if("function"==typeof(f=b.payload)){m=f.call(h,m,_);break e}m=f;break e;case 3:f.flags=-65537&f.flags|128;case 0:if(null==(_="function"==typeof(f=b.payload)?f.call(h,m,_):f))break e;m=d({},m,_);break e;case 2:cr=!0}}null!==(_=l.callback)&&(e.flags|=64,p&&(e.flags|=8192),null===(p=a.callbacks)?a.callbacks=[_]:p.push(_))}else p={lane:_,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===u?(s=u=p,c=m):u=u.next=p,i|=_;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(p=l).next,p.next=null,a.lastBaseUpdate=p,a.shared.pending=null}}null===u&&(c=m),a.baseState=c,a.firstBaseUpdate=s,a.lastBaseUpdate=u,null===r&&(a.shared.lanes=0),vs|=i,e.lanes=i,e.memoizedState=m}}function gr(e,t){if("function"!=typeof e)throw Error(a(191,e));e.call(t)}function vr(e,t){var n=e.callbacks;
vendor: 9,267 bytes, line 1
1if(null!==n)for(e.callbacks=null,e=0;e<n.length;e++)gr(n[e],t)}var yr=Q(null),xr=Q(0);function kr(e,t){q(xr,e=hs),q(yr,t),hs=e|t.baseLanes}function wr(){q(xr,hs),q(yr,yr.current)}function Cr(){hs=xr.current,W(yr),W(xr)}var Sr=0,Nr=null,Tr=null,jr=null,Er=!1,Pr=!1,Dr=!1,Ar=0,Rr=0,zr=null,Lr=0;function Mr(){throw Error(a(321))}function Ir(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!to(e[n],t[n]))return!1;return!0}function Fr(e,t,n,o,a,r){return Sr=r,Nr=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,B.H=null===e||null===e.memoizedState?Zi:$i,Dr=!1,r=n(o,a),Dr=!1,Pr&&(r=Br(t,n,o,a)),Or(e),r}function Or(e){B.H=Ji;var t=null!==Tr&&null!==Tr.next;if(Sr=0,jr=Tr=Nr=null,Er=!1,Rr=0,zr=null,t)throw Error(a(300));null===e||Rl||null!==(e=e.dependencies)&&Da(e)&&(Rl=!0)}function Br(e,t,n,o){Nr=e;var r=0;do{if(Pr&&(zr=null),Rr=0,Pr=!1,25<=r)throw Error(a(301));if(r+=1,jr=Tr=null,null!=e.updateQueue){var i=e.updateQueue;i.lastEffect=null,i.events=null,i.stores=null,null!=i.memoCache&&(i.memoCache.index=0)}B.H=el,i=t(n,o)}while(Pr);return i}function Hr(){var e=B.H,t=e.useState()[0];return t="function"==typeof t.then?qr(t):t,e=e.useState()[0],(null!==Tr?Tr.memoizedState:null)!==e&&(Nr.flags|=1024),t}function Vr(){var e=0!==Ar;return Ar=0,e}function Ur(e,t,n){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~n}function Gr(e){if(Er){for(e=e.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}Er=!1}Sr=0,jr=Tr=Nr=null,Pr=!1,Rr=Ar=0,zr=null}function Qr(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===jr?Nr.memoizedState=jr=e:jr=jr.next=e,jr}function Wr(){if(null===Tr){var e=Nr.alternate;e=null!==e?e.memoizedState:null}else e=Tr.next;var t=null===jr?Nr.memoizedState:jr.next;if(null!==t)jr=t,Tr=e;else{if(null===e){if(null===Nr.alternate)throw Error(a(467));throw Error(a(310))}e={memoizedState:(Tr=e).memoizedState,baseState:Tr.baseState,baseQueue:Tr.baseQueue,queue:Tr.queue,next:null},null===jr?Nr.memoizedState=jr=e:jr=jr.next=e}return jr}function qr(e){var t=Rr;return Rr+=1,null===zr&&(zr=[]),e=ar(zr,e,t),t=Nr,null===(null===jr?t.memoizedState:jr.next)&&(B.H=null===(t=t.alternate)||null===t.memoizedState?Zi:$i),e}function Kr(e){if(null!==e&&"object"==typeof e){if("function"==typeof e.then)return qr(e);if(e.$$typeof===T)return Ra(e)}throw Error(a(438,String(e)))}function Xr(e){var t=null,n=Nr.updateQueue;if(null!==n&&(t=n.memoCache),null==t){var o=Nr.alternate;null!==o&&null!==(o=o.updateQueue)&&null!=(o=o.memoCache)&&(t={data:o.data.map(function(e){return e.slice()}),index:0})}if(null==t&&(t={data:[],index:0}),null===n&&(Nr.updateQueue=n={lastEffect:null,events:null,stores:null,memoCache:null}),n.memoCache=t,void 0===(n=t.data[t.index]))for(n=t.data[t.index]=Array(e),o=0;o<e;o++)n[o]=z;return t.index++,n}function Yr(e,t){return"function"==typeof t?t(e):t}function Jr(e){return Zr(Wr(),Tr,e)}function Zr(e,t,n){var o=e.queue;if(null===o)throw Error(a(311));o.lastRenderedReducer=n;var r=e.baseQueue,i=o.pending;if(null!==i){if(null!==r){var l=r.next;r.next=i.next,i.next=l}t.baseQueue=r=i,o.pending=null}if(i=e.baseState,null===r)e.memoizedState=i;else{var c=l=null,s=null,u=t=r.next,d=!1;do{var m=-536870913&u.lane;if(m!==u.lane?(ds&m)===m:(Sr&m)===m){var _=u.revertLane;if(0===_)null!==s&&(s=s.next={lane:0,revertLane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),m===Ga&&(d=!0);else{if((Sr&_)===_){u=u.next,_===Ga&&(d=!0);continue}m={lane:0,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===s?(c=s=m,l=i):s=s.next=m,Nr.lanes|=_,vs|=_}m=u.action,Dr&&n(i,m),i=u.hasEagerState?u.eagerState:n(i,m)}else _={lane:m,revertLane:u.revertLane,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null},null===s?(c=s=_,l=i):s=s.next=_,Nr.lanes|=m,vs|=m;u=u.next}while(null!==u&&u!==t);if(null===s?l=i:s.next=c,!to(i,e.memoizedState)&&(Rl=!0,d&&null!==(n=Qa)))throw n;e.memoizedState=i,e.baseState=l,e.baseQueue=s,o.lastRenderedState=i}return null===r&&(o.lanes=0),[e.memoizedState,o.dispatch]}function $r(e){var t=Wr(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var o=n.dispatch,r=n.pending,i=t.memoizedState;if(null!==r){n.pending=null;var l=r=r.next;do{i=e(i,l.action),l=l.next}while(l!==r);to(i,t.memoizedState)||(Rl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,o]}function ei(e,t,n){var o=Nr,r=Wr(),i=ma;if(i){if(void 0===n)throw Error(a(407));n=n()}else n=t();var l=!to((Tr||r).memoizedState,n);if(l&&(r.memoizedState=n,Rl=!0),wi(2048,8,oi.bind(null,o,r=r.queue,e),[e]),r.getSnapshot!==t||l||null!==jr&&1&jr.memoizedState.tag){if(o.flags|=2048,yi(9,{destroy:void 0,resource:void 0},ni.bind(null,o,r,n,t),null),null===ss)throw Error(a(349));i||124&Sr||ti(o,t,n)}return n}function ti(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=Nr.updateQueue)?(Nr.updateQueue=t={lastEffect:null,events:null,stores:null,memoCache:null},t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ni(e,t,n,o){t.value=n,t.getSnapshot=o,ai(t)&&ri(e)}function oi(e,t,n){return n(function(){ai(t)&&ri(e)})}function ai(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!to(e,n)}catch(o){return!0}}function ri(e){var t=Fo(e,2);null!==t&&Vs(t,0,2)}function ii(e){var t=Qr();if("function"==typeof e){var n=e;if(e=n(),Dr){ge(!0);try{n()}finally{ge(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yr,lastRenderedState:e},t}function li(e,t,n,o){return e.baseState=n,Zr(e,Tr,"function"==typeof o?o:Yr)}function ci(e,t,n,o,r){if(Ki(e))throw Error(a(485));if(null!==(e=t.action)){var i={payload:r,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(e){i.listeners.push(e)}};null!==B.T?n(!0):i.isTransition=!1,o(i),null===(n=t.pending)?(i.next=t.pending=i,si(t,i)):(i.next=n.next,t.pending=n.next=i)}}function si(e,t){var n=t.action,o=t.payload,a=e.state;if(t.isTransition){var r=B.T,i={};B.T=i;try{var l=n(a,o),c=B.S;null!==c&&c(i,l),ui(e,t,l)}catch(s){mi(e,t,s)}finally{B.T=r}}else try{ui(e,t,r=n(a,o))}catch(u){mi(e,t,u)}}function ui(e,t,n){null!==n&&"object"==typeof n&&"function"==typeof n.then?n.then(function(n){di(e,t,n)},function(n){return mi(e,t,n)}):di(e,t,n)}function di(e,t,n){t.status="fulfilled",t.value=n,_i(t),e.state=n,null!==(t=e.pending)&&((n=t.next)===t?e.pending=null:(t.next=n=n.next,si(e,n)))}function mi(e,t,n){var o=e.pending;if(e.pending=null,null!==o){o=o.next;do{t.status="rejected",t.reason=n,_i(t),t=t.next}while(t!==o)}e.action=null}function _i(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function pi(e,t){return t}function fi(e,t){if(ma){var n=ss.formState;if(null!==n){e:{var o=Nr;if(ma){if(da){t:{for(var a=da,r=pa;8!==a.nodeType;){if(!r){a=null;break t}if(null===(a=wd(a.nextSibling))){a=null;break t}}a="F!"===(r=a.data)||"F"===r?a:null}if(a){da=wd(a.nextSibling),o="F!"===a.data;break e}}ba(o)}o=!1}o&&(t=n[0])}}return(n=Qr()).memoizedState=n.baseState=t,n.queue=o={pending:null,lanes:0,dispatch:null,lastRenderedReducer:pi,lastRenderedState:t},n=Qi.bind(null,Nr,o),o.dispatch=n,o=ii(!1),r=qi.bind(null,Nr,!1,o.queue),(o=Qr()).queue=a={state:t,dispatch:null,action:e,pending:null},n=ci.bind(null,Nr,a,r,n),a.dispatch=n,o.memoizedState=e,[t,n,!1]}function bi(e){return hi(Wr(),Tr,e)}function hi(e,t,n){if(t=Zr(e,t,pi)[0],e=Jr(Yr)[0],"object"==typeof t&&null!==t&&"function"==typeof t.then)try{var o=qr(t)}catch(i){if(i===Za)throw er;throw i}else o=t;var a=(t=Wr()).queue,r=a.dispatch;return n!==t.memoizedState&&(Nr.flags|=2048,yi(9,{destroy:void 0,resource:void 0},gi.bind(null,a,n),null)),[o,r,e]}function gi(e,t){e.action=t}function vi(e){var t=Wr(),n=Tr;if(null!==n)return hi(t,n,e);Wr(),t=t.memoizedState;var o=(n=Wr()).queue.dispatch;return n.memoizedState=e,[t,o,!1]}function yi(e,t,n,o){return e={tag:e,create:n,deps:o,inst:t,next:null},null===(t=Nr.updateQueue)&&(Nr.updateQueue=t={lastEffect:null,events:null,stores:null,memoCache:null}),null===(n=t.lastEffect)?t.lastEffect=e.next=e:(o=n.next,n.next=e,e.next=o,t.lastEffect=e),e}function xi(){return Wr().memoizedState}function ki(e,t,n,o){var a=Qr();o=void 0===o?null:o,Nr.flags|=e,a.memoizedState=yi(1|t,{destroy:void 0,resource:void 0},n,o)}function wi(e,t,n,o){var a=Wr();o=void 0===o?null:o;var r=a.memoizedState.inst;null!==Tr&&null!==o&&Ir(o,Tr.memoizedState.deps)?a.memoizedState=yi(t,r,n,o):(Nr.flags|=e,a.memoizedState=yi(1|t,r,n,o))}function Ci(e,t){ki(8390656,8,e,t)}function Si(e,t){wi(2048,8,e,t)}function Ni(e,t){return wi(4,2,e,t)}function Ti(e,t){return wi(4,4,e,t)}function ji(e,t){if("function"==typeof t){e=e();var n=t(e);return function(){"function"==typeof n?n():t(null)}}if(null!=t)return e=e(),t.current=e,function(){t.current=null}}function Ei(e,t,n){n=null!=n?n.concat([e]):null,wi(4,4,ji.bind(null,t,e),n)}function Pi(){}function Di(e,t){var n=Wr(),o=n.memoizedState;return null!==(t=void 0===t?null:t)&&Ir(t,o[1])?o[0]:(n.memoizedState=[e,t],e)}function Ai(e,t){var n=Wr(),o=n.memoizedState;if(null!==(t=void 0===t?null:t)&&Ir(t,o[1]))return o[0];if(o=e(),Dr){ge(!0);try{e()}finally{ge(!1)}}return n.memoizedState=[o,t],o}
vendor: 39,788 bytes, line 1
1function Ri(e,t,n){return void 0===n||1073741824&Sr?e.memoizedState=t:(e.memoizedState=n,e=Hs(),Nr.lanes|=e,vs|=e,n)}function zi(e,t,n,o){return to(n,t)?n:null!==yr.current?(e=Ri(e,n,o),to(e,t)||(Rl=!0),e):42&Sr?(e=Hs(),Nr.lanes|=e,vs|=e,t):(Rl=!0,e.memoizedState=n)}function Li(e,t,n,o,a){var r=H.p;H.p=0!==r&&8>r?r:8;var i,l,c,s=B.T,u={};B.T=u,qi(e,!1,t,n);try{var d=a(),m=B.S;null!==m&&m(u,d),Wi(e,t,null!==d&&"object"==typeof d&&"function"==typeof d.then?(i=o,l=[],c={status:"pending",value:null,reason:null,then:function(e){l.push(e)}},d.then(function(){c.status="fulfilled",c.value=i;for(var e=0;e<l.length;e++)(0,l[e])(i)},function(e){for(c.status="rejected",c.reason=e,e=0;e<l.length;e++)(0,l[e])(void 0)}),c):o,Bs())}catch(_){Wi(e,t,{then:function(){},status:"rejected",reason:_},Bs())}finally{H.p=r,B.T=s}}function Mi(){}function Ii(e,t,n,o){if(5!==e.tag)throw Error(a(476));var r=Fi(e).queue;Li(e,r,t,V,null===n?Mi:function(){return Oi(e),n(o)})}function Fi(e){var t=e.memoizedState;if(null!==t)return t;var n={};return(t={memoizedState:V,baseState:V,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yr,lastRenderedState:V},next:null}).next={memoizedState:n,baseState:n,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Yr,lastRenderedState:n},next:null},e.memoizedState=t,null!==(e=e.alternate)&&(e.memoizedState=t),t}function Oi(e){Wi(e,Fi(e).next.queue,{},Bs())}function Bi(){return Ra(em)}function Hi(){return Wr().memoizedState}function Vi(){return Wr().memoizedState}function Ui(e){for(var t=e.return;null!==t;){switch(t.tag){case 24:case 3:var n=Bs(),o=mr(t,e=dr(n),n);return null!==o&&(Vs(o,0,n),_r(o,t,n)),t={cache:Ba()},void(e.payload=t)}t=t.return}}function Gi(e,t,n){var o=Bs();n={lane:o,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null},Ki(e)?Xi(t,n):null!==(n=Io(e,t,n,o))&&(Vs(n,0,o),Yi(n,t,o))}function Qi(e,t,n){Wi(e,t,n,Bs())}function Wi(e,t,n,o){var a={lane:o,revertLane:0,action:n,hasEagerState:!1,eagerState:null,next:null};if(Ki(e))Xi(t,a);else{var r=e.alternate;if(0===e.lanes&&(null===r||0===r.lanes)&&null!==(r=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=r(i,n);if(a.hasEagerState=!0,a.eagerState=l,to(l,i))return Mo(e,t,a,0),null===ss&&Lo(),!1}catch(c){}if(null!==(n=Io(e,t,a,o)))return Vs(n,0,o),Yi(n,t,o),!0}return!1}function qi(e,t,n,o){if(o={lane:2,revertLane:Lu(),action:o,hasEagerState:!1,eagerState:null,next:null},Ki(e)){if(t)throw Error(a(479))}else null!==(t=Io(e,n,o,2))&&Vs(t,0,2)}function Ki(e){var t=e.alternate;return e===Nr||null!==t&&t===Nr}function Xi(e,t){Pr=Er=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Yi(e,t,n){if(4194048&n){var o=t.lanes;t.lanes=n|=o&=e.pendingLanes,Re(e,n)}}var Ji={readContext:Ra,use:Kr,useCallback:Mr,useContext:Mr,useEffect:Mr,useImperativeHandle:Mr,useLayoutEffect:Mr,useInsertionEffect:Mr,useMemo:Mr,useReducer:Mr,useRef:Mr,useState:Mr,useDebugValue:Mr,useDeferredValue:Mr,useTransition:Mr,useSyncExternalStore:Mr,useId:Mr,useHostTransitionStatus:Mr,useFormState:Mr,useActionState:Mr,useOptimistic:Mr,useMemoCache:Mr,useCacheRefresh:Mr},Zi={readContext:Ra,use:Kr,useCallback:function(e,t){return Qr().memoizedState=[e,void 0===t?null:t],e},useContext:Ra,useEffect:Ci,useImperativeHandle:function(e,t,n){n=null!=n?n.concat([e]):null,ki(4194308,4,ji.bind(null,t,e),n)},useLayoutEffect:function(e,t){return ki(4194308,4,e,t)},useInsertionEffect:function(e,t){ki(4,2,e,t)},useMemo:function(e,t){var n=Qr();t=void 0===t?null:t;var o=e();if(Dr){ge(!0);try{e()}finally{ge(!1)}}return n.memoizedState=[o,t],o},useReducer:function(e,t,n){var o=Qr();if(void 0!==n){var a=n(t);if(Dr){ge(!0);try{n(t)}finally{ge(!1)}}}else a=t;return o.memoizedState=o.baseState=a,o.queue=e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:a},e=e.dispatch=Gi.bind(null,Nr,e),[o.memoizedState,e]},useRef:function(e){return Qr().memoizedState={current:e}},useState:function(e){var t=(e=ii(e)).queue,n=Qi.bind(null,Nr,t);return t.dispatch=n,[e.memoizedState,n]},useDebugValue:Pi,useDeferredValue:function(e,t){return Ri(Qr(),e,t)},useTransition:function(){var e=ii(!1);return e=Li.bind(null,Nr,e.queue,!0,!1),Qr().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,n){var o=Nr,r=Qr();if(ma){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===ss)throw Error(a(349));124&ds||ti(o,t,n)}r.memoizedState=n;var i={value:n,getSnapshot:t};return r.queue=i,Ci(oi.bind(null,o,i,e),[e]),o.flags|=2048,yi(9,{destroy:void 0,resource:void 0},ni.bind(null,o,i,n,t),null),n},useId:function(){var e=Qr(),t=ss.identifierPrefix;if(ma){var n=ra;t="«"+t+"R"+(n=(aa&~(1<<32-ve(aa)-1)).toString(32)+n),0<(n=Ar++)&&(t+="H"+n.toString(32)),t+="»"}else t="«"+t+"r"+(n=Lr++).toString(32)+"»";return e.memoizedState=t},useHostTransitionStatus:Bi,useFormState:fi,useActionState:fi,useOptimistic:function(e){var t=Qr();t.memoizedState=t.baseState=e;var n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=n,t=qi.bind(null,Nr,!0,n),n.dispatch=t,[e,t]},useMemoCache:Xr,useCacheRefresh:function(){return Qr().memoizedState=Ui.bind(null,Nr)}},$i={readContext:Ra,use:Kr,useCallback:Di,useContext:Ra,useEffect:Si,useImperativeHandle:Ei,useInsertionEffect:Ni,useLayoutEffect:Ti,useMemo:Ai,useReducer:Jr,useRef:xi,useState:function(){return Jr(Yr)},useDebugValue:Pi,useDeferredValue:function(e,t){return zi(Wr(),Tr.memoizedState,e,t)},useTransition:function(){var e=Jr(Yr)[0],t=Wr().memoizedState;return["boolean"==typeof e?e:qr(e),t]},useSyncExternalStore:ei,useId:Hi,useHostTransitionStatus:Bi,useFormState:bi,useActionState:bi,useOptimistic:function(e,t){return li(Wr(),0,e,t)},useMemoCache:Xr,useCacheRefresh:Vi},el={readContext:Ra,use:Kr,useCallback:Di,useContext:Ra,useEffect:Si,useImperativeHandle:Ei,useInsertionEffect:Ni,useLayoutEffect:Ti,useMemo:Ai,useReducer:$r,useRef:xi,useState:function(){return $r(Yr)},useDebugValue:Pi,useDeferredValue:function(e,t){var n=Wr();return null===Tr?Ri(n,e,t):zi(n,Tr.memoizedState,e,t)},useTransition:function(){var e=$r(Yr)[0],t=Wr().memoizedState;return["boolean"==typeof e?e:qr(e),t]},useSyncExternalStore:ei,useId:Hi,useHostTransitionStatus:Bi,useFormState:vi,useActionState:vi,useOptimistic:function(e,t){var n=Wr();return null!==Tr?li(n,0,e,t):(n.baseState=e,[e,n.queue.dispatch])},useMemoCache:Xr,useCacheRefresh:Vi},tl=null,nl=0;function ol(e){var t=nl;return nl+=1,null===tl&&(tl=[]),ar(tl,e,t)}function al(e,t){e.ref=void 0!==(t=t.props.ref)?t:null}function rl(e,t){if(t.$$typeof===m)throw Error(a(525));throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function il(e){return(0,e._init)(e._payload)}function ll(e){function t(t,n){if(e){var o=t.deletions;null===o?(t.deletions=[n],t.flags|=16):o.push(n)}}function n(n,o){if(!e)return null;for(;null!==o;)t(n,o),o=o.sibling;return null}function o(e){for(var t=new Map;null!==e;)t.set(null!==e.key?e.key:e.index,e),e=e.sibling;return t}function r(e,t){return(e=Qo(e,t)).index=0,e.sibling=null,e}function i(t,n,o){return t.index=o,e?null!==(o=t.alternate)?(o=o.index)<n?(t.flags|=67108866,n):o:(t.flags|=67108866,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=67108866),t}function c(e,t,n,o){return null===t||6!==t.tag?((t=Xo(n,e.mode,o)).return=e,t):((t=r(t,n)).return=e,t)}function s(e,t,n,o){var a=n.type;return a===b?d(e,t,n.props.children,o,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===A&&il(a)===t.type)?(al(t=r(t,n.props),n),t.return=e,t):(al(t=qo(n.type,n.key,n.props,null,e.mode,o),n),t.return=e,t)}function u(e,t,n,o){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Yo(n,e.mode,o)).return=e,t):((t=r(t,n.children||[])).return=e,t)}function d(e,t,n,o,a){return null===t||7!==t.tag?((t=Ko(n,e.mode,o,a)).return=e,t):((t=r(t,n)).return=e,t)}function m(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t||"bigint"==typeof t)return(t=Xo(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return al(n=qo(t.type,t.key,t.props,null,e.mode,n),t),n.return=e,n;case f:return(t=Yo(t,e.mode,n)).return=e,t;case A:return m(e,t=(0,t._init)(t._payload),n)}if(O(t)||M(t))return(t=Ko(t,e.mode,n,null)).return=e,t;if("function"==typeof t.then)return m(e,ol(t),n);if(t.$$typeof===T)return m(e,za(e,t),n);rl(e,t)}return null}function p(e,t,n,o){var a=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n||"bigint"==typeof n)return null!==a?null:c(e,t,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===a?s(e,t,n,o):null;case f:return n.key===a?u(e,t,n,o):null;case A:return p(e,t,n=(a=n._init)(n._payload),o)}if(O(n)||M(n))return null!==a?null:d(e,t,n,o,null);if("function"==typeof n.then)return p(e,t,ol(n),o);if(n.$$typeof===T)return p(e,t,za(e,n),o);rl(e,n)}return null}function h(e,t,n,o,a){if("string"==typeof o&&""!==o||"number"==typeof o||"bigint"==typeof o)return c(t,e=e.get(n)||null,""+o,a);if("object"==typeof o&&null!==o){switch(o.$$typeof){case _:return s(t,e=e.get(null===o.key?n:o.key)||null,o,a);case f:return u(t,e=e.get(null===o.key?n:o.key)||null,o,a);case A:return h(e,t,n,o=(0,o._init)(o._payload),a)}if(O(o)||M(o))return d(t,e=e.get(n)||null,o,a,null);if("function"==typeof o.then)return h(e,t,n,ol(o),a);if(o.$$typeof===T)return h(e,t,n,za(t,o),a);rl(t,o)}return null}function g(c,s,u,d){if("object"==typeof u&&null!==u&&u.type===b&&null===u.key&&(u=u.props.children),"object"==typeof u&&null!==u){switch(u.$$typeof){case _:e:{for(var v=u.key;null!==s;){if(s.key===v){if((v=u.type)===b){if(7===s.tag){n(c,s.sibling),(d=r(s,u.props.children)).return=c,c=d;break e}}else if(s.elementType===v||"object"==typeof v&&null!==v&&v.$$typeof===A&&il(v)===s.type){n(c,s.sibling),al(d=r(s,u.props),u),d.return=c,c=d;break e}n(c,s);break}t(c,s),s=s.sibling}u.type===b?((d=Ko(u.props.children,c.mode,d,u.key)).return=c,c=d):(al(d=qo(u.type,u.key,u.props,null,c.mode,d),u),d.return=c,c=d)}return l(c);case f:e:{for(v=u.key;null!==s;){if(s.key===v){if(4===s.tag&&s.stateNode.containerInfo===u.containerInfo&&s.stateNode.implementation===u.implementation){n(c,s.sibling),(d=r(s,u.children||[])).return=c,c=d;break e}n(c,s);break}t(c,s),s=s.sibling}(d=Yo(u,c.mode,d)).return=c,c=d}return l(c);case A:return g(c,s,u=(v=u._init)(u._payload),d)}if(O(u))return function(a,r,l,c){for(var s=null,u=null,d=r,_=r=0,f=null;null!==d&&_<l.length;_++){d.index>_?(f=d,d=null):f=d.sibling;var b=p(a,d,l[_],c);if(null===b){null===d&&(d=f);break}e&&d&&null===b.alternate&&t(a,d),r=i(b,r,_),null===u?s=b:u.sibling=b,u=b,d=f}if(_===l.length)return n(a,d),ma&&ia(a,_),s;if(null===d){for(;_<l.length;_++)null!==(d=m(a,l[_],c))&&(r=i(d,r,_),null===u?s=d:u.sibling=d,u=d);return ma&&ia(a,_),s}for(d=o(d);_<l.length;_++)null!==(f=h(d,a,_,l[_],c))&&(e&&null!==f.alternate&&d.delete(null===f.key?_:f.key),r=i(f,r,_),null===u?s=f:u.sibling=f,u=f);return e&&d.forEach(function(e){return t(a,e)}),ma&&ia(a,_),s}(c,s,u,d);if(M(u)){if("function"!=typeof(v=M(u)))throw Error(a(150));return function(r,l,c,s){if(null==c)throw Error(a(151));for(var u=null,d=null,_=l,f=l=0,b=null,g=c.next();null!==_&&!g.done;f++,g=c.next()){_.index>f?(b=_,_=null):b=_.sibling;var v=p(r,_,g.value,s);if(null===v){null===_&&(_=b);break}e&&_&&null===v.alternate&&t(r,_),l=i(v,l,f),null===d?u=v:d.sibling=v,d=v,_=b}if(g.done)return n(r,_),ma&&ia(r,f),u;if(null===_){for(;!g.done;f++,g=c.next())null!==(g=m(r,g.value,s))&&(l=i(g,l,f),null===d?u=g:d.sibling=g,d=g);return ma&&ia(r,f),u}for(_=o(_);!g.done;f++,g=c.next())null!==(g=h(_,r,f,g.value,s))&&(e&&null!==g.alternate&&_.delete(null===g.key?f:g.key),l=i(g,l,f),null===d?u=g:d.sibling=g,d=g);return e&&_.forEach(function(e){return t(r,e)}),ma&&ia(r,f),u}(c,s,u=v.call(u),d)}if("function"==typeof u.then)return g(c,s,ol(u),d);if(u.$$typeof===T)return g(c,s,za(c,u),d);rl(c,u)}return"string"==typeof u&&""!==u||"number"==typeof u||"bigint"==typeof u?(u=""+u,null!==s&&6===s.tag?(n(c,s.sibling),(d=r(s,u)).return=c,c=d):(n(c,s),(d=Xo(u,c.mode,d)).return=c,c=d),l(c)):n(c,s)}return function(e,t,n,o){try{nl=0;var a=g(e,t,n,o);return tl=null,a}catch(i){if(i===Za||i===er)throw i;var r=Uo(29,i,null,e.mode);return r.lanes=o,r.return=e,r}}}var cl=ll(!0),sl=ll(!1),ul=Q(null),dl=null;function ml(e){var t=e.alternate;q(bl,1&bl.current),q(ul,e),null===dl&&(null===t||null!==yr.current||null!==t.memoizedState)&&(dl=e)}function _l(e){if(22===e.tag){if(q(bl,bl.current),q(ul,e),null===dl){var t=e.alternate;null!==t&&null!==t.memoizedState&&(dl=e)}}else pl()}function pl(){q(bl,bl.current),q(ul,ul.current)}function fl(e){W(ul),dl===e&&(dl=null),W(bl)}var bl=Q(0);function hl(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||kd(n)))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}function gl(e,t,n,o){n=null==(n=n(o,t=e.memoizedState))?t:d({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var vl={enqueueSetState:function(e,t,n){e=e._reactInternals;var o=Bs(),a=dr(o);a.payload=t,null!=n&&(a.callback=n),null!==(t=mr(e,a,o))&&(Vs(t,0,o),_r(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var o=Bs(),a=dr(o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=mr(e,a,o))&&(Vs(t,0,o),_r(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Bs(),o=dr(n);o.tag=2,null!=t&&(o.callback=t),null!==(t=mr(e,o,n))&&(Vs(t,0,n),_r(t,e,n))}};function yl(e,t,n,o,a,r,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(o,r,i):!(t.prototype&&t.prototype.isPureReactComponent&&no(n,o)&&no(a,r))}function xl(e,t,n,o){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,o),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,o),t.state!==e&&vl.enqueueReplaceState(t,t.state,null)}function kl(e,t){var n=t;if("ref"in t)for(var o in n={},t)"ref"!==o&&(n[o]=t[o]);if(e=e.defaultProps)for(var a in n===t&&(n=d({},n)),e)void 0===n[a]&&(n[a]=e[a]);return n}var wl="function"==typeof reportError?reportError:function(e){if("object"==typeof window&&"function"==typeof window.ErrorEvent){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:String("object"==typeof e&&null!==e&&"string"==typeof e.message?e.message:e),error:e});if(!window.dispatchEvent(t))return}else if("object"==typeof process&&"function"==typeof process.emit)return void process.emit("uncaughtException",e)};function Cl(e){wl(e)}function Sl(e){}function Nl(e){wl(e)}function Tl(e,t){try{(0,e.onUncaughtError)(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function jl(e,t,n){try{(0,e.onCaughtError)(n.value,{componentStack:n.stack,errorBoundary:1===t.tag?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function El(e,t,n){return(n=dr(n)).tag=3,n.payload={element:null},n.callback=function(){Tl(e,t)},n}function Pl(e){return(e=dr(e)).tag=3,e}function Dl(e,t,n,o){var a=n.type.getDerivedStateFromError;if("function"==typeof a){var r=o.value;e.payload=function(){return a(r)},e.callback=function(){jl(t,n,o)}}var i=n.stateNode;null!==i&&"function"==typeof i.componentDidCatch&&(e.callback=function(){jl(t,n,o),"function"!=typeof a&&(null===Ps?Ps=new Set([this]):Ps.add(this));var e=o.stack;this.componentDidCatch(o.value,{componentStack:null!==e?e:""})})}var Al=Error(a(461)),Rl=!1;function zl(e,t,n,o){t.child=null===e?sl(t,null,n,o):cl(t,e.child,n,o)}function Ll(e,t,n,o,a){n=n.render;var r=t.ref;if("ref"in o){var i={};for(var l in o)"ref"!==l&&(i[l]=o[l])}else i=o;return Aa(t),o=Fr(e,t,n,i,r,a),l=Vr(),null===e||Rl?(ma&&l&&ca(t),t.flags|=1,zl(e,t,o,a),t.child):(Ur(e,t,a),tc(e,t,a))}function Ml(e,t,n,o,a){if(null===e){var r=n.type;return"function"!=typeof r||Go(r)||void 0!==r.defaultProps||null!==n.compare?((e=qo(n.type,null,o,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=r,Il(e,t,r,o,a))}return r=e.child,!nc(e,a)&&(n=null!==(n=n.compare)?n:no)(r.memoizedProps,o)&&e.ref===t.ref?tc(e,t,a):(t.flags|=1,(e=Qo(r,o)).ref=t.ref,e.return=t,t.child=e)}function Il(e,t,n,o,a){if(null!==e){var r=e.memoizedProps;if(no(r,o)&&e.ref===t.ref){if(Rl=!1,t.pendingProps=o=r,!nc(e,a))return t.lanes=e.lanes,tc(e,t,a);131072&e.flags&&(Rl=!0)}}return Hl(e,t,n,o,a)}function Fl(e,t,n){var o=t.pendingProps,a=o.children,r=null!==e?e.memoizedState:null;if("hidden"===o.mode){if(128&t.flags){if(o=null!==r?r.baseLanes|n:n,null!==e){for(a=t.child=e.child,r=0;null!==a;)r=r|a.lanes|a.childLanes,a=a.sibling;t.childLanes=r&~o}else t.childLanes=0,t.child=null;return Ol(e,t,o,n)}if(!(536870912&n))return t.lanes=t.childLanes=536870912,Ol(e,t,null!==r?r.baseLanes|n:n,n);t.memoizedState={baseLanes:0,cachePool:null},null!==e&&Ya(0,null!==r?r.cachePool:null),null!==r?kr(t,r):wr(),_l(t)}else null!==r?(Ya(0,r.cachePool),kr(t,r),pl(),t.memoizedState=null):(null!==e&&Ya(0,null),wr(),pl());return zl(e,t,a,n),t.child}function Ol(e,t,n,o){var a=Xa();return t.memoizedState={baseLanes:n,cachePool:a=null===a?null:{parent:Oa._currentValue,pool:a}},null!==e&&Ya(0,null),wr(),_l(t),null!==e&&Pa(e,t,o,!0),null}function Bl(e,t){var n=t.ref;if(null===n)null!==e&&null!==e.ref&&(t.flags|=4194816);else{if("function"!=typeof n&&"object"!=typeof n)throw Error(a(284));null!==e&&e.ref===n||(t.flags|=4194816)}}function Hl(e,t,n,o,a){return Aa(t),n=Fr(e,t,n,o,void 0,a),o=Vr(),null===e||Rl?(ma&&o&&ca(t),t.flags|=1,zl(e,t,n,a),t.child):(Ur(e,t,a),tc(e,t,a))}function Vl(e,t,n,o,a,r){return Aa(t),t.updateQueue=null,n=Br(t,o,n,a),Or(e),o=Vr(),null===e||Rl?(ma&&o&&ca(t),t.flags|=1,zl(e,t,n,r),t.child):(Ur(e,t,r),tc(e,t,r))}function Ul(e,t,n,o,a){if(Aa(t),null===t.stateNode){var r=Ho,i=n.contextType;"object"==typeof i&&null!==i&&(r=Ra(i)),r=new n(o,r),t.memoizedState=null!=r.state?r.state:null,r.updater=vl,t.stateNode=r,r._reactInternals=t,(r=t.stateNode).props=o,r.state=t.memoizedState,r.refs={},sr(t),r.context="object"==typeof(i=n.contextType)&&null!==i?Ra(i):Ho,r.state=t.memoizedState,"function"==typeof(i=n.getDerivedStateFromProps)&&(gl(t,n,i,o),r.state=t.memoizedState),"function"==typeof n.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(i=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),i!==r.state&&vl.enqueueReplaceState(r,r.state,null),hr(t,o,r,a),br(),r.state=t.memoizedState),"function"==typeof r.componentDidMount&&(t.flags|=4194308),o=!0}else if(null===e){r=t.stateNode;var l=t.memoizedProps,c=kl(n,l);r.props=c;var s=r.context,u=n.contextType;i=Ho,"object"==typeof u&&null!==u&&(i=Ra(u));var d=n.getDerivedStateFromProps;l=t.pendingProps!==l,(u="function"==typeof d||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(l||s!==i)&&xl(t,r,o,i),cr=!1;var m=t.memoizedState;r.state=m,hr(t,o,r,a),br(),s=t.memoizedState,l||m!==s||cr?("function"==typeof d&&(gl(t,n,d,o),s=t.memoizedState),(c=cr||yl(t,n,c,o,m,s,i))?(u||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||("function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount()),"function"==typeof r.componentDidMount&&(t.flags|=4194308)):("function"==typeof r.componentDidMount&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=s),r.props=o,r.state=s,r.context=i,o=c):("function"==typeof r.componentDidMount&&(t.flags|=4194308),o=!1)}else{r=t.stateNode,ur(e,t),u=kl(n,i=t.memoizedProps),r.props=u,d=t.pendingProps,m=r.context,c=Ho,"object"==typeof(s=n.contextType)&&null!==s&&(c=Ra(s)),(s="function"==typeof(l=n.getDerivedStateFromProps)||"function"==typeof r.getSnapshotBeforeUpdate)||"function"!=typeof r.UNSAFE_componentWillReceiveProps&&"function"!=typeof r.componentWillReceiveProps||(i!==d||m!==c)&&xl(t,r,o,c),cr=!1,r.state=m=t.memoizedState,hr(t,o,r,a),br();var _=t.memoizedState;i!==d||m!==_||cr||null!==e&&null!==e.dependencies&&Da(e.dependencies)?("function"==typeof l&&(gl(t,n,l,o),_=t.memoizedState),(u=cr||yl(t,n,u,o,m,_,c)||null!==e&&null!==e.dependencies&&Da(e.dependencies))?(s||"function"!=typeof r.UNSAFE_componentWillUpdate&&"function"!=typeof r.componentWillUpdate||("function"==typeof r.componentWillUpdate&&r.componentWillUpdate(o,_,c),"function"==typeof r.UNSAFE_componentWillUpdate&&r.UNSAFE_componentWillUpdate(o,_,c)),"function"==typeof r.componentDidUpdate&&(t.flags|=4),"function"==typeof r.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof r.componentDidUpdate||i===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),"function"!=typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),t.memoizedProps=o,t.memoizedState=_),r.props=o,r.state=_,r.context=c,o=u):("function"!=typeof r.componentDidUpdate||i===e.memoizedProps&&m===e.memoizedState||(t.flags|=4),"function"!=typeof r.getSnapshotBeforeUpdate||i===e.memoizedProps&&m===e.memoizedState||(t.flags|=1024),o=!1)}return r=o,Bl(e,t),o=!!(128&t.flags),r||o?(r=t.stateNode,n=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render(),t.flags|=1,null!==e&&o?(t.child=cl(t,e.child,null,a),t.child=cl(t,null,n,a)):zl(e,t,n,a),t.memoizedState=r.state,e=t.child):e=tc(e,t,a),e}function Gl(e,t,n,o){return ya(),t.flags|=256,zl(e,t,n,o),t.child}var Ql={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Wl(e){return{baseLanes:e,cachePool:Ja()}}function ql(e,t,n){return e=null!==e?e.childLanes&~n:0,t&&(e|=ks),e}function Kl(e,t,n){var o,r=t.pendingProps,i=!1,l=!!(128&t.flags);if((o=l)||(o=(null===e||null!==e.memoizedState)&&!!(2&bl.current)),o&&(i=!0,t.flags&=-129),o=!!(32&t.flags),t.flags&=-33,null===e){if(ma){if(i?ml(t):pl(),ma){var c,s=da;if(c=s){e:{for(c=s,s=pa;8!==c.nodeType;){if(!s){s=null;break e}if(null===(c=wd(c.nextSibling))){s=null;break e}}s=c}null!==s?(t.memoizedState={dehydrated:s,treeContext:null!==oa?{id:aa,overflow:ra}:null,retryLane:536870912,hydrationErrors:null},(c=Uo(18,null,null,0)).stateNode=s,c.return=t,t.child=c,ua=t,da=null,c=!0):c=!1}c||ba(t)}if(null!==(s=t.memoizedState)&&null!==(s=s.dehydrated))return t.lanes=kd(s)?32:536870912,null;fl(t)}return s=r.children,r=r.fallback,i?(pl(),s=Yl({mode:"hidden",children:s},i=t.mode),r=Ko(r,i,n,null),s.return=t,r.return=t,s.sibling=r,t.child=s,(i=t.child).memoizedState=Wl(n),i.childLanes=ql(e,o,n),t.memoizedState=Ql,r):(ml(t),Xl(t,s))}if(null!==(c=e.memoizedState)&&null!==(s=c.dehydrated)){if(l)256&t.flags?(ml(t),t.flags&=-257,t=Jl(e,t,n)):null!==t.memoizedState?(pl(),t.child=e.child,t.flags|=128,t=null):(pl(),i=r.fallback,r=Yl({mode:"visible",children:r.children},s=t.mode),(i=Ko(i,s,n,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,cl(t,e.child,null,n),(r=t.child).memoizedState=Wl(n),r.childLanes=ql(e,o,n),t.memoizedState=Ql,t=i);else if(ml(t),kd(s)){if(o=s.nextSibling&&s.nextSibling.dataset)var u=o.dgst;o=u,(r=Error(a(419))).stack="",r.digest=o,ka({value:r,source:null,stack:null}),t=Jl(e,t,n)}else if(Rl||Pa(e,t,n,!1),o=0!==(n&e.childLanes),Rl||o){if(null!==(o=ss)&&0!==(r=0!==((r=42&(r=n&-n)?1:ze(r))&(o.suspendedLanes|n))?0:r)&&r!==c.retryLane)throw c.retryLane=r,Fo(e,r),Vs(o,0,r),Al;"$?"===s.data||$s(),t=Jl(e,t,n)}else"$?"===s.data?(t.flags|=192,t.child=e.child,t=null):(e=c.treeContext,da=wd(s.nextSibling),ua=t,ma=!0,_a=null,pa=!1,null!==e&&(ta[na++]=aa,ta[na++]=ra,ta[na++]=oa,aa=e.id,ra=e.overflow,oa=t),(t=Xl(t,r.children)).flags|=4096);return t}return i?(pl(),i=r.fallback,s=t.mode,u=(c=e.child).sibling,(r=Qo(c,{mode:"hidden",children:r.children})).subtreeFlags=65011712&c.subtreeFlags,null!==u?i=Qo(u,i):(i=Ko(i,s,n,null)).flags|=2,i.return=t,r.return=t,r.sibling=i,t.child=r,r=i,i=t.child,null===(s=e.child.memoizedState)?s=Wl(n):(c=null!==(c=s.cachePool)?c.parent!==(u=Oa._currentValue)?{parent:u,pool:u}:c:Ja(),s={baseLanes:s.baseLanes|n,cachePool:c}),i.memoizedState=s,i.childLanes=ql(e,o,n),t.memoizedState=Ql,r):(ml(t),e=(n=e.child).sibling,(n=Qo(n,{mode:"visible",children:r.children})).return=t,n.sibling=null,null!==e&&(null===(o=t.deletions)?(t.deletions=[e],t.flags|=16):o.push(e)),t.child=n,t.memoizedState=null,n)}function Xl(e,t){return(t=Yl({mode:"visible",children:t},e.mode)).return=e,e.child=t}function Yl(e,t){return(e=Uo(22,e,null,t)).lanes=0,e.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null},e}function Jl(e,t,n){return cl(t,e.child,null,n),(e=Xl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Zl(e,t,n){e.lanes|=t;var o=e.alternate;null!==o&&(o.lanes|=t),ja(e.return,t,n)}function $l(e,t,n,o,a){var r=e.memoizedState;null===r?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:o,tail:n,tailMode:a}:(r.isBackwards=t,r.rendering=null,r.renderingStartTime=0,r.last=o,r.tail=n,r.tailMode=a)}function ec(e,t,n){var o=t.pendingProps,a=o.revealOrder,r=o.tail;if(zl(e,t,o.children,n),2&(o=bl.current))o=1&o|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Zl(e,n,t);else if(19===e.tag)Zl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}o&=1}switch(q(bl,o),a){case"forwards":for(n=t.child,a=null;null!==n;)null!==(e=n.alternate)&&null===hl(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),$l(t,!1,a,n,r);break;case"backwards":for(n=null,a=t.child,t.child=null;null!==a;){if(null!==(e=a.alternate)&&null===hl(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}$l(t,!0,n,null,r);break;case"together":$l(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function tc(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),vs|=t.lanes,0===(n&t.childLanes)){if(null===e)return null;if(Pa(e,t,n,!1),0===(n&t.childLanes))return null}if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Qo(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)(n=n.sibling=Qo(e=e.sibling,e.pendingProps)).return=t;n.sibling=null}return t.child}function nc(e,t){return 0!==(e.lanes&t)||!(null===(e=e.dependencies)||!Da(e))}function oc(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps)Rl=!0;else{if(!(nc(e,n)||128&t.flags))return Rl=!1,function(e,t,n){switch(t.tag){case 3:Z(t,t.stateNode.containerInfo),Na(0,Oa,e.memoizedState.cache),ya();break;case 27:case 5:ee(t);break;case 4:Z(t,t.stateNode.containerInfo);break;case 10:Na(0,t.type,t.memoizedProps.value);break;case 13:var o=t.memoizedState;if(null!==o)return null!==o.dehydrated?(ml(t),t.flags|=128,null):0!==(n&t.child.childLanes)?Kl(e,t,n):(ml(t),null!==(e=tc(e,t,n))?e.sibling:null);ml(t);break;case 19:var a=!!(128&e.flags);if((o=0!==(n&t.childLanes))||(Pa(e,t,n,!1),o=0!==(n&t.childLanes)),a){if(o)return ec(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),q(bl,bl.current),o)break;return null;case 22:case 23:return t.lanes=0,Fl(e,t,n);case 24:Na(0,Oa,e.memoizedState.cache)}return tc(e,t,n)}(e,t,n);Rl=!!(131072&e.flags)}else Rl=!1,ma&&1048576&t.flags&&la(t,ea,t.index);switch(t.lanes=0,t.tag){case 16:e:{e=t.pendingProps;var o=t.elementType,r=o._init;if(o=r(o._payload),t.type=o,"function"!=typeof o){if(null!=o){if((r=o.$$typeof)===j){t.tag=11,t=Ll(null,t,o,e,n);break e}if(r===D){t.tag=14,t=Ml(null,t,o,e,n);break e}}throw t=F(o)||o,Error(a(306,t,""))}Go(o)?(e=kl(o,e),t.tag=1,t=Ul(null,t,o,e,n)):(t.tag=0,t=Hl(null,t,o,e,n))}return t;case 0:return Hl(e,t,t.type,t.pendingProps,n);case 1:return Ul(e,t,o=t.type,r=kl(o,t.pendingProps),n);case 3:e:{if(Z(t,t.stateNode.containerInfo),null===e)throw Error(a(387));o=t.pendingProps;var i=t.memoizedState;r=i.element,ur(e,t),hr(t,o,null,n);var l=t.memoizedState;if(Na(0,Oa,o=l.cache),o!==i.cache&&Ea(t,[Oa],n,!0),br(),o=l.element,i.isDehydrated){if(t.updateQueue.baseState=i={element:o,isDehydrated:!1,cache:l.cache},t.memoizedState=i,256&t.flags){t=Gl(e,t,o,n);break e}if(o!==r){ka(r=Do(Error(a(424)),t)),t=Gl(e,t,o,n);break e}for(e=9===(e=t.stateNode.containerInfo).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,da=wd(e.firstChild),ua=t,ma=!0,_a=null,pa=!0,n=sl(t,null,o,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ya(),o===r){t=tc(e,t,n);break e}zl(e,t,o,n)}t=t.child}return t;case 26:return Bl(e,t),null===e?(n=zd(t.type,null,t.pendingProps,null))?t.memoizedState=n:ma||(n=t.type,e=t.pendingProps,(o=sd(Y.current).createElement(n))[Fe]=t,o[Oe]=e,id(o,n,e),Je(o),t.stateNode=o):t.memoizedState=zd(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return ee(t),null===e&&ma&&(o=t.stateNode=Nd(t.type,t.pendingProps,Y.current),ua=t,pa=!0,r=da,vd(t.type)?(Cd=r,da=wd(o.firstChild)):da=r),zl(e,t,t.pendingProps.children,n),Bl(e,t),null===e&&(t.flags|=4194304),t.child;case 5:return null===e&&ma&&((r=o=da)&&(null!==(o=function(e,t,n,o){for(;1===e.nodeType;){var a=n;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!o&&("INPUT"!==e.nodeName||"hidden"!==e.type))break}else if(o){if(!e[Qe])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if("stylesheet"===(r=e.getAttribute("rel"))&&e.hasAttribute("data-precedence"))break;if(r!==a.rel||e.getAttribute("href")!==(null==a.href||""===a.href?null:a.href)||e.getAttribute("crossorigin")!==(null==a.crossOrigin?null:a.crossOrigin)||e.getAttribute("title")!==(null==a.title?null:a.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(((r=e.getAttribute("src"))!==(null==a.src?null:a.src)||e.getAttribute("type")!==(null==a.type?null:a.type)||e.getAttribute("crossorigin")!==(null==a.crossOrigin?null:a.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else{if("input"!==t||"hidden"!==e.type)return e;var r=null==a.name?null:""+a.name;if("hidden"===a.type&&e.getAttribute("name")===r)return e}if(null===(e=wd(e.nextSibling)))break}return null}(o,t.type,t.pendingProps,pa))?(t.stateNode=o,ua=t,da=wd(o.firstChild),pa=!1,r=!0):r=!1),r||ba(t)),ee(t),l=null!==e?e.memoizedProps:null,o=(i=t.pendingProps).children,md(r=t.type,i)?o=null:null!==l&&md(r,l)&&(t.flags|=32),null!==t.memoizedState&&(r=Fr(e,t,Hr,null,null,n),em._currentValue=r),Bl(e,t),zl(e,t,o,n),t.child;case 6:return null===e&&ma&&((e=n=da)&&(null!==(n=function(e,t,n){if(""===t)return null;for(;3!==e.nodeType;){if((1!==e.nodeType||"INPUT"!==e.nodeName||"hidden"!==e.type)&&!n)return null;if(null===(e=wd(e.nextSibling)))return null}return e}(n,t.pendingProps,pa))?(t.stateNode=n,ua=t,da=null,e=!0):e=!1),e||ba(t)),null;case 13:return Kl(e,t,n);case 4:return Z(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=cl(t,null,o,n):zl(e,t,o,n),t.child;case 11:return Ll(e,t,t.type,t.pendingProps,n);case 7:return zl(e,t,t.pendingProps,n),t.child;case 8:case 12:return zl(e,t,t.pendingProps.children,n),t.child;case 10:return Na(0,t.type,(o=t.pendingProps).value),zl(e,t,o.children,n),t.child;case 9:return r=t.type._context,o=t.pendingProps.children,Aa(t),o=o(r=Ra(r)),t.flags|=1,zl(e,t,o,n),t.child;case 14:return Ml(e,t,t.type,t.pendingProps,n);case 15:return Il(e,t,t.type,t.pendingProps,n);case 19:return ec(e,t,n);case 31:return n=t.mode,o={mode:(o=t.pendingProps).mode,children:o.children},null===e?((n=Yl(o,n)).ref=t.ref,t.child=n,n.return=t,t=n):((n=Qo(e.child,o)).ref=t.ref,t.child=n,n.return=t,t=n),t;case 22:return Fl(e,t,n);case 24:return Aa(t),o=Ra(Oa),null===e?(null===(r=Xa())&&(r=ss,i=Ba(),r.pooledCache=i,i.refCount++,null!==i&&(r.pooledCacheLanes|=n),r=i),t.memoizedState={parent:o,cache:r},sr(t),Na(0,Oa,r)):(0!==(e.lanes&n)&&(ur(e,t),hr(t,null,null,n),br()),i=t.memoizedState,(r=e.memoizedState).parent!==o?(t.memoizedState=r={parent:o,cache:o},0===t.lanes&&(t.memoizedState=t.updateQueue.baseState=r),Na(0,Oa,o)):(Na(0,Oa,o=i.cache),o!==r.cache&&Ea(t,[Oa],n,!0))),zl(e,t,t.pendingProps.children,n),t.child;case 29:throw t.pendingProps}throw Error(a(156,t.tag))}function ac(e){e.flags|=4}function rc(e,t){if("stylesheet"!==t.type||4&t.state.loading)e.flags&=-16777217;else if(e.flags|=16777216,!qd(t)){if(null!==(t=ul.current)&&((4194048&ds)===ds?null!==dl:(62914560&ds)!==ds&&!(536870912&ds)||t!==dl))throw rr=tr,$a;e.flags|=8192}}function ic(e,t){null!==t&&(e.flags|=4),16384&e.flags&&(t=22!==e.tag?Ee():536870912,e.lanes|=t,ws|=t)}function lc(e,t){if(!ma)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var o=null;null!==n;)null!==n.alternate&&(o=n),n=n.sibling;null===o?t||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function cc(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,o=0;if(t)for(var a=e.child;null!==a;)n|=a.lanes|a.childLanes,o|=65011712&a.subtreeFlags,o|=65011712&a.flags,a.return=e,a=a.sibling;else for(a=e.child;null!==a;)n|=a.lanes|a.childLanes,o|=a.subtreeFlags,o|=a.flags,a.return=e,a=a.sibling;return e.subtreeFlags|=o,e.childLanes=n,t}function sc(e,t,n){var o=t.pendingProps;switch(sa(t),t.tag){case 31:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:case 1:return cc(t),null;case 3:return n=t.stateNode,o=null,null!==e&&(o=e.memoizedState.cache),t.memoizedState.cache!==o&&(t.flags|=2048),Ta(Oa),$(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(va(t)?ac(t):null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,xa())),cc(t),null;case 26:return n=t.memoizedState,null===e?(ac(t),null!==n?(cc(t),rc(t,n)):(cc(t),t.flags&=-16777217)):n?n!==e.memoizedState?(ac(t),cc(t),rc(t,n)):(cc(t),t.flags&=-16777217):(e.memoizedProps!==o&&ac(t),cc(t),t.flags&=-16777217),null;case 27:te(t),n=Y.current;var r=t.type;if(null!==e&&null!=t.stateNode)e.memoizedProps!==o&&ac(t);else{if(!o){if(null===t.stateNode)throw Error(a(166));return cc(t),null}e=K.current,va(t)?ha(t):(e=Nd(r,o,n),t.stateNode=e,ac(t))}return cc(t),null;case 5:if(te(t),n=t.type,null!==e&&null!=t.stateNode)e.memoizedProps!==o&&ac(t);else{if(!o){if(null===t.stateNode)throw Error(a(166));return cc(t),null}if(e=K.current,va(t))ha(t);else{switch(r=sd(Y.current),e){case 1:e=r.createElementNS("http://www.w3.org/2000/svg",n);break;case 2:e=r.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;default:switch(n){case"svg":e=r.createElementNS("http://www.w3.org/2000/svg",n);break;case"math":e=r.createElementNS("http://www.w3.org/1998/Math/MathML",n);break;case"script":(e=r.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild);break;case"select":e="string"==typeof o.is?r.createElement("select",{is:o.is}):r.createElement("select"),o.multiple?e.multiple=!0:o.size&&(e.size=o.size);break;default:e="string"==typeof o.is?r.createElement(n,{is:o.is}):r.createElement(n)}}e[Fe]=t,e[Oe]=o;e:for(r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&27!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break e;for(;null===r.sibling;){if(null===r.return||r.return===t)break e;r=r.return}r.sibling.return=r.return,r=r.sibling}t.stateNode=e;e:switch(id(e,n,o),n){case"button":case"input":case"select":case"textarea":e=!!o.autoFocus;break e;case"img":e=!0;break e;default:e=!1}e&&ac(t)}}return cc(t),t.flags&=-16777217,null;case 6:if(e&&null!=t.stateNode)e.memoizedProps!==o&&ac(t);else{if("string"!=typeof o&&null===t.stateNode)throw Error(a(166));if(e=Y.current,va(t)){if(e=t.stateNode,n=t.memoizedProps,o=null,null!==(r=ua))switch(r.tag){case 27:case 5:o=r.memoizedProps}e[Fe]=t,(e=!!(e.nodeValue===n||null!==o&&!0===o.suppressHydrationWarning||nd(e.nodeValue,n)))||ba(t)}else(e=sd(e).createTextNode(o))[Fe]=t,t.stateNode=e}return cc(t),null;case 13:if(o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(r=va(t),null!==o&&null!==o.dehydrated){if(null===e){if(!r)throw Error(a(318));if(!(r=null!==(r=t.memoizedState)?r.dehydrated:null))throw Error(a(317));r[Fe]=t}else ya(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;cc(t),r=!1}else r=xa(),null!==e&&null!==e.memoizedState&&(e.memoizedState.hydrationErrors=r),r=!0;if(!r)return 256&t.flags?(fl(t),t):(fl(t),null)}if(fl(t),128&t.flags)return t.lanes=n,t;if(e=null!==e&&null!==e.memoizedState,n=null!==o){r=null,null!==(o=t.child).alternate&&null!==o.alternate.memoizedState&&null!==o.alternate.memoizedState.cachePool&&(r=o.alternate.memoizedState.cachePool.pool);var i=null;null!==o.memoizedState&&null!==o.memoizedState.cachePool&&(i=o.memoizedState.cachePool.pool),i!==r&&(o.flags|=2048)}return n!==e&&n&&(t.child.flags|=8192),ic(t,t.updateQueue),cc(t),null;case 4:return $(),null===e&&Wu(t.stateNode.containerInfo),cc(t),null;case 10:return Ta(t.type),cc(t),null;case 19:if(W(bl),null===(r=t.memoizedState))return cc(t),null;if(o=!!(128&t.flags),null===(i=r.rendering))if(o)lc(r,!1);else{if(0!==gs||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(i=hl(e))){for(t.flags|=128,lc(r,!1),t.updateQueue=e=i.updateQueue,ic(t,e),t.subtreeFlags=0,e=n,n=t.child;null!==n;)Wo(n,e),n=n.sibling;return q(bl,1&bl.current|2),t.child}e=e.sibling}null!==r.tail&&le()>js&&(t.flags|=128,o=!0,lc(r,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=hl(i))){if(t.flags|=128,o=!0,t.updateQueue=e=e.updateQueue,ic(t,e),lc(r,!0),null===r.tail&&"hidden"===r.tailMode&&!i.alternate&&!ma)return cc(t),null}else 2*le()-r.renderingStartTime>js&&536870912!==n&&(t.flags|=128,o=!0,lc(r,!1),t.lanes=4194304);r.isBackwards?(i.sibling=t.child,t.child=i):(null!==(e=r.last)?e.sibling=i:t.child=i,r.last=i)}return null!==r.tail?(r.rendering=t=r.tail,r.tail=t.sibling,r.renderingStartTime=le(),t.sibling=null,e=bl.current,q(bl,o?1&e|2:1&e),t):(cc(t),null);case 22:case 23:return fl(t),Cr(),o=null!==t.memoizedState,null!==e?null!==e.memoizedState!==o&&(t.flags|=8192):o&&(t.flags|=8192),o?!!(536870912&n)&&!(128&t.flags)&&(cc(t),6&t.subtreeFlags&&(t.flags|=8192)):cc(t),null!==(n=t.updateQueue)&&ic(t,n.retryQueue),n=null,null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),o=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(o=t.memoizedState.cachePool.pool),o!==n&&(t.flags|=2048),null!==e&&W(Ka),null;case 24:return n=null,null!==e&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),Ta(Oa),cc(t),null;case 25:case 30:return null}throw Error(a(156,t.tag))}function uc(e,t){switch(sa(t),t.tag){case 1:return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Ta(Oa),$(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 26:case 27:case 5:return te(t),null;case 13:if(fl(t),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ya()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return W(bl),null;case 4:return $(),null;case 10:return Ta(t.type),null;case 22:case 23:return fl(t),Cr(),null!==e&&W(Ka),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 24:return Ta(Oa),null;default:return null}}function dc(e,t){switch(sa(t),t.tag){case 3:Ta(Oa),$();break;case 26:case 27:case 5:te(t);break;case 4:$();break;case 13:fl(t);break;
vendor: 8,150 bytes, line 1
1case 19:W(bl);break;case 10:Ta(t.type);break;case 22:case 23:fl(t),Cr(),null!==e&&W(Ka);break;case 24:Ta(Oa)}}function mc(e,t){try{var n=t.updateQueue,o=null!==n?n.lastEffect:null;if(null!==o){var a=o.next;n=a;do{if((n.tag&e)===e){o=void 0;var r=n.inst;o=(0,n.create)(),r.destroy=o}n=n.next}while(n!==a)}}catch(i){bu(t,t.return,i)}}function _c(e,t,n){try{var o=t.updateQueue,a=null!==o?o.lastEffect:null;if(null!==a){var r=a.next;o=r;do{if((o.tag&e)===e){var i=o.inst,l=i.destroy;if(void 0!==l){i.destroy=void 0,a=t;var c=n,s=l;try{s()}catch(u){bu(a,c,u)}}}o=o.next}while(o!==r)}}catch(u){bu(t,t.return,u)}}function pc(e){var t=e.updateQueue;if(null!==t){var n=e.stateNode;try{vr(t,n)}catch(o){bu(e,e.return,o)}}}function fc(e,t,n){n.props=kl(e.type,e.memoizedProps),n.state=e.memoizedState;try{n.componentWillUnmount()}catch(o){bu(e,t,o)}}function bc(e,t){try{var n=e.ref;if(null!==n){switch(e.tag){case 26:case 27:case 5:var o=e.stateNode;break;default:o=e.stateNode}"function"==typeof n?e.refCleanup=n(o):n.current=o}}catch(a){bu(e,t,a)}}function hc(e,t){var n=e.ref,o=e.refCleanup;if(null!==n)if("function"==typeof o)try{o()}catch(a){bu(e,t,a)}finally{e.refCleanup=null,null!=(e=e.alternate)&&(e.refCleanup=null)}else if("function"==typeof n)try{n(null)}catch(r){bu(e,t,r)}else n.current=null}function gc(e){var t=e.type,n=e.memoizedProps,o=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":n.autoFocus&&o.focus();break e;case"img":n.src?o.src=n.src:n.srcSet&&(o.srcset=n.srcSet)}}catch(a){bu(e,e.return,a)}}function vc(e,t,n){try{var o=e.stateNode;!function(e,t,n,o){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var r=null,i=null,l=null,c=null,s=null,u=null,d=null;for(p in n){var m=n[p];if(n.hasOwnProperty(p)&&null!=m)switch(p){case"checked":case"value":break;case"defaultValue":s=m;default:o.hasOwnProperty(p)||ad(e,t,p,null,o,m)}}for(var _ in o){var p=o[_];if(m=n[_],o.hasOwnProperty(_)&&(null!=p||null!=m))switch(_){case"type":i=p;break;case"name":r=p;break;case"checked":u=p;break;case"defaultChecked":d=p;break;case"value":l=p;break;case"defaultValue":c=p;break;case"children":case"dangerouslySetInnerHTML":if(null!=p)throw Error(a(137,t));break;default:p!==m&&ad(e,t,_,p,o,m)}}return void kt(e,l,c,s,u,d,i,r);case"select":for(i in p=l=c=_=null,n)if(s=n[i],n.hasOwnProperty(i)&&null!=s)switch(i){case"value":break;case"multiple":p=s;default:o.hasOwnProperty(i)||ad(e,t,i,null,o,s)}for(r in o)if(i=o[r],s=n[r],o.hasOwnProperty(r)&&(null!=i||null!=s))switch(r){case"value":_=i;break;case"defaultValue":c=i;break;case"multiple":l=i;default:i!==s&&ad(e,t,r,i,o,s)}return t=c,n=l,o=p,void(null!=_?St(e,!!n,_,!1):!!o!=!!n&&(null!=t?St(e,!!n,t,!0):St(e,!!n,n?[]:"",!1)));case"textarea":for(c in p=_=null,n)if(r=n[c],n.hasOwnProperty(c)&&null!=r&&!o.hasOwnProperty(c))switch(c){case"value":case"children":break;default:ad(e,t,c,null,o,r)}for(l in o)if(r=o[l],i=n[l],o.hasOwnProperty(l)&&(null!=r||null!=i))switch(l){case"value":_=r;break;case"defaultValue":p=r;break;case"children":break;case"dangerouslySetInnerHTML":if(null!=r)throw Error(a(91));break;default:r!==i&&ad(e,t,l,r,o,i)}return void Nt(e,_,p);case"option":for(var f in n)_=n[f],n.hasOwnProperty(f)&&null!=_&&!o.hasOwnProperty(f)&&("selected"===f?e.selected=!1:ad(e,t,f,null,o,_));for(s in o)_=o[s],p=n[s],!o.hasOwnProperty(s)||_===p||null==_&&null==p||("selected"===s?e.selected=_&&"function"!=typeof _&&"symbol"!=typeof _:ad(e,t,s,_,o,p));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var b in n)_=n[b],n.hasOwnProperty(b)&&null!=_&&!o.hasOwnProperty(b)&&ad(e,t,b,null,o,_);for(u in o)if(_=o[u],p=n[u],o.hasOwnProperty(u)&&_!==p&&(null!=_||null!=p))switch(u){case"children":case"dangerouslySetInnerHTML":if(null!=_)throw Error(a(137,t));break;default:ad(e,t,u,_,o,p)}return;default:if(At(t)){for(var h in n)_=n[h],n.hasOwnProperty(h)&&void 0!==_&&!o.hasOwnProperty(h)&&rd(e,t,h,void 0,o,_);for(d in o)_=o[d],p=n[d],!o.hasOwnProperty(d)||_===p||void 0===_&&void 0===p||rd(e,t,d,_,o,p);return}}for(var g in n)_=n[g],n.hasOwnProperty(g)&&null!=_&&!o.hasOwnProperty(g)&&ad(e,t,g,null,o,_);for(m in o)_=o[m],p=n[m],!o.hasOwnProperty(m)||_===p||null==_&&null==p||ad(e,t,m,_,o,p)}(o,e.type,n,t),o[Oe]=t}catch(r){bu(e,e.return,r)}}function yc(e){return 5===e.tag||3===e.tag||26===e.tag||27===e.tag&&vd(e.type)||4===e.tag}function xc(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||yc(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(27===e.tag&&vd(e.type))continue e;if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function kc(e,t,n){var o=e.tag;if(5===o||6===o)e=e.stateNode,t?(9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).insertBefore(e,t):((t=9===n.nodeType?n.body:"HTML"===n.nodeName?n.ownerDocument.body:n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=od));else if(4!==o&&(27===o&&vd(e.type)&&(n=e.stateNode,t=null),null!==(e=e.child)))for(kc(e,t,n),e=e.sibling;null!==e;)kc(e,t,n),e=e.sibling}function wc(e,t,n){var o=e.tag;if(5===o||6===o)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==o&&(27===o&&vd(e.type)&&(n=e.stateNode),null!==(e=e.child)))for(wc(e,t,n),e=e.sibling;null!==e;)wc(e,t,n),e=e.sibling}function Cc(e){var t=e.stateNode,n=e.memoizedProps;try{for(var o=e.type,a=t.attributes;a.length;)t.removeAttributeNode(a[0]);id(t,o,n),t[Fe]=e,t[Oe]=n}catch(r){bu(e,e.return,r)}}var Sc=!1,Nc=!1,Tc=!1,jc="function"==typeof WeakSet?WeakSet:Set,Ec=null;function Pc(e,t,n){var o=n.flags;switch(n.tag){case 0:case 11:case 15:Uc(e,n),4&o&&mc(5,n);break;case 1:if(Uc(e,n),4&o)if(e=n.stateNode,null===t)try{e.componentDidMount()}catch(i){bu(n,n.return,i)}else{var a=kl(n.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(a,t,e.__reactInternalSnapshotBeforeUpdate)}catch(l){bu(n,n.return,l)}}64&o&&pc(n),512&o&&bc(n,n.return);break;case 3:if(Uc(e,n),64&o&&null!==(e=n.updateQueue)){if(t=null,null!==n.child)switch(n.child.tag){case 27:case 5:case 1:t=n.child.stateNode}try{vr(e,t)}catch(i){bu(n,n.return,i)}}break;case 27:null===t&&4&o&&Cc(n);case 26:case 5:Uc(e,n),null===t&&4&o&&gc(n),512&o&&bc(n,n.return);break;case 12:Uc(e,n);break;case 13:Uc(e,n),4&o&&Mc(e,n),64&o&&null!==(e=n.memoizedState)&&null!==(e=e.dehydrated)&&function(e,t){var n=e.ownerDocument;if("$?"!==e.data||"complete"===n.readyState)t();else{var o=function(){t(),n.removeEventListener("DOMContentLoaded",o)};n.addEventListener("DOMContentLoaded",o),e._reactRetry=o}}(e,n=yu.bind(null,n));break;case 22:if(!(o=null!==n.memoizedState||Sc)){a=Sc;var r=Nc;Sc=o,(Nc=t=null!==t&&null!==t.memoizedState||Nc)&&!r?Qc(e,n,!!(8772&n.subtreeFlags)):Uc(e,n),Sc=a,Nc=r}break;case 30:break;default:Uc(e,n)}}function Dc(e){var t=e.alternate;null!==t&&(e.alternate=null,Dc(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&We(t),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ac=null,Rc=!1;function zc(e,t,n){for(n=n.child;null!==n;)Lc(e,t,n),n=n.sibling}function Lc(e,t,n){if(he&&"function"==typeof he.onCommitFiberUnmount)try{he.onCommitFiberUnmount(be,n)}catch(r){}switch(n.tag){case 26:Nc||hc(n,t),zc(e,t,n),n.memoizedState?n.memoizedState.count--:n.stateNode&&(n=n.stateNode).parentNode.removeChild(n);break;case 27:Nc||hc(n,t);var o=Ac,a=Rc;vd(n.type)&&(Ac=n.stateNode,Rc=!1),zc(e,t,n),Td(n.stateNode),Ac=o,Rc=a;break;case 5:Nc||hc(n,t);case 6:if(o=Ac,a=Rc,Ac=null,zc(e,t,n),Rc=a,null!==(Ac=o))if(Rc)try{(9===Ac.nodeType?Ac.body:"HTML"===Ac.nodeName?Ac.ownerDocument.body:Ac).removeChild(n.stateNode)}catch(i){bu(n,t,i)}else try{Ac.removeChild(n.stateNode)}catch(i){bu(n,t,i)}break;case 18:null!==Ac&&(Rc?(yd(9===(e=Ac).nodeType?e.body:"HTML"===e.nodeName?e.ownerDocument.body:e,n.stateNode),Rm(e)):yd(Ac,n.stateNode));break;
vendor: 14,909 bytes, line 1
1case 4:o=Ac,a=Rc,Ac=n.stateNode.containerInfo,Rc=!0,zc(e,t,n),Ac=o,Rc=a;break;case 0:case 11:case 14:case 15:Nc||_c(2,n,t),Nc||_c(4,n,t),zc(e,t,n);break;case 1:Nc||(hc(n,t),"function"==typeof(o=n.stateNode).componentWillUnmount&&fc(n,t,o)),zc(e,t,n);break;case 21:zc(e,t,n);break;case 22:Nc=(o=Nc)||null!==n.memoizedState,zc(e,t,n),Nc=o;break;default:zc(e,t,n)}}function Mc(e,t){if(null===t.memoizedState&&null!==(e=t.alternate)&&null!==(e=e.memoizedState)&&null!==(e=e.dehydrated))try{Rm(e)}catch(n){bu(t,t.return,n)}}function Ic(e,t){var n=function(e){switch(e.tag){case 13:case 19:var t=e.stateNode;return null===t&&(t=e.stateNode=new jc),t;case 22:return null===(t=(e=e.stateNode)._retryCache)&&(t=e._retryCache=new jc),t;default:throw Error(a(435,e.tag))}}(e);t.forEach(function(t){var o=xu.bind(null,e,t);n.has(t)||(n.add(t),t.then(o,o))})}function Fc(e,t){var n=t.deletions;if(null!==n)for(var o=0;o<n.length;o++){var r=n[o],i=e,l=t,c=l;e:for(;null!==c;){switch(c.tag){case 27:if(vd(c.type)){Ac=c.stateNode,Rc=!1;break e}break;case 5:Ac=c.stateNode,Rc=!1;break e;case 3:case 4:Ac=c.stateNode.containerInfo,Rc=!0;break e}c=c.return}if(null===Ac)throw Error(a(160));Lc(i,l,r),Ac=null,Rc=!1,null!==(i=r.alternate)&&(i.return=null),r.return=null}if(13878&t.subtreeFlags)for(t=t.child;null!==t;)Bc(t,e),t=t.sibling}var Oc=null;function Bc(e,t){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:Fc(t,e),Hc(e),4&o&&(_c(3,e,e.return),mc(3,e),_c(5,e,e.return));break;case 1:Fc(t,e),Hc(e),512&o&&(Nc||null===n||hc(n,n.return)),64&o&&Sc&&null!==(e=e.updateQueue)&&null!==(o=e.callbacks)&&(e.shared.hiddenCallbacks=null===(n=e.shared.hiddenCallbacks)?o:n.concat(o));break;case 26:var r=Oc;if(Fc(t,e),Hc(e),512&o&&(Nc||null===n||hc(n,n.return)),4&o){var i=null!==n?n.memoizedState:null;if(o=e.memoizedState,null===n)if(null===o)if(null===e.stateNode){e:{n=e.memoizedProps,r=r.ownerDocument||r;t:switch(o=e.type){case"title":(!(i=r.getElementsByTagName("title")[0])||i[Qe]||i[Fe]||"http://www.w3.org/2000/svg"===i.namespaceURI||i.hasAttribute("itemprop"))&&(i=r.createElement(o),r.head.insertBefore(i,r.querySelector("head > title"))),id(i,o,n),i[Fe]=e,Je(i),o=i;break e;case"link":var l=Qd("link","href",r).get(o+(n.href||""));if(l)for(var c=0;c<l.length;c++)if((i=l[c]).getAttribute("href")===(null==n.href||""===n.href?null:n.href)&&i.getAttribute("rel")===(null==n.rel?null:n.rel)&&i.getAttribute("title")===(null==n.title?null:n.title)&&i.getAttribute("crossorigin")===(null==n.crossOrigin?null:n.crossOrigin)){l.splice(c,1);break t}id(i=r.createElement(o),o,n),r.head.appendChild(i);break;case"meta":if(l=Qd("meta","content",r).get(o+(n.content||"")))for(c=0;c<l.length;c++)if((i=l[c]).getAttribute("content")===(null==n.content?null:""+n.content)&&i.getAttribute("name")===(null==n.name?null:n.name)&&i.getAttribute("property")===(null==n.property?null:n.property)&&i.getAttribute("http-equiv")===(null==n.httpEquiv?null:n.httpEquiv)&&i.getAttribute("charset")===(null==n.charSet?null:n.charSet)){l.splice(c,1);break t}id(i=r.createElement(o),o,n),r.head.appendChild(i);break;default:throw Error(a(468,o))}i[Fe]=e,Je(i),o=i}e.stateNode=o}else Wd(r,e.type,e.stateNode);else e.stateNode=Bd(r,o,e.memoizedProps);else i!==o?(null===i?null!==n.stateNode&&(n=n.stateNode).parentNode.removeChild(n):i.count--,null===o?Wd(r,e.type,e.stateNode):Bd(r,o,e.memoizedProps)):null===o&&null!==e.stateNode&&vc(e,e.memoizedProps,n.memoizedProps)}break;case 27:Fc(t,e),Hc(e),512&o&&(Nc||null===n||hc(n,n.return)),null!==n&&4&o&&vc(e,e.memoizedProps,n.memoizedProps);break;case 5:if(Fc(t,e),Hc(e),512&o&&(Nc||null===n||hc(n,n.return)),32&e.flags){r=e.stateNode;try{jt(r,"")}catch(p){bu(e,e.return,p)}}4&o&&null!=e.stateNode&&vc(e,r=e.memoizedProps,null!==n?n.memoizedProps:r),1024&o&&(Tc=!0);break;case 6:if(Fc(t,e),Hc(e),4&o){if(null===e.stateNode)throw Error(a(162));o=e.memoizedProps,n=e.stateNode;try{n.nodeValue=o}catch(p){bu(e,e.return,p)}}break;case 3:if(Gd=null,r=Oc,Oc=Pd(t.containerInfo),Fc(t,e),Oc=r,Hc(e),4&o&&null!==n&&n.memoizedState.isDehydrated)try{Rm(t.containerInfo)}catch(p){bu(e,e.return,p)}Tc&&(Tc=!1,Vc(e));break;case 4:o=Oc,Oc=Pd(e.stateNode.containerInfo),Fc(t,e),Hc(e),Oc=o;break;case 12:default:Fc(t,e),Hc(e);break;case 13:Fc(t,e),Hc(e),8192&e.child.flags&&null!==e.memoizedState!=(null!==n&&null!==n.memoizedState)&&(Ts=le()),4&o&&null!==(o=e.updateQueue)&&(e.updateQueue=null,Ic(e,o));break;case 22:r=null!==e.memoizedState;var s=null!==n&&null!==n.memoizedState,u=Sc,d=Nc;if(Sc=u||r,Nc=d||s,Fc(t,e),Nc=d,Sc=u,Hc(e),8192&o)e:for(t=e.stateNode,t._visibility=r?-2&t._visibility:1|t._visibility,r&&(null===n||s||Sc||Nc||Gc(e)),n=null,t=e;;){if(5===t.tag||26===t.tag){if(null===n){s=n=t;try{if(i=s.stateNode,r)"function"==typeof(l=i.style).setProperty?l.setProperty("display","none","important"):l.display="none";else{c=s.stateNode;var m=s.memoizedProps.style,_=null!=m&&m.hasOwnProperty("display")?m.display:null;c.style.display=null==_||"boolean"==typeof _?"":(""+_).trim()}}catch(p){bu(s,s.return,p)}}}else if(6===t.tag){if(null===n){s=t;try{s.stateNode.nodeValue=r?"":s.memoizedProps}catch(p){bu(s,s.return,p)}}}else if((22!==t.tag&&23!==t.tag||null===t.memoizedState||t===e)&&null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break e;for(;null===t.sibling;){if(null===t.return||t.return===e)break e;n===t&&(n=null),t=t.return}n===t&&(n=null),t.sibling.return=t.return,t=t.sibling}4&o&&null!==(o=e.updateQueue)&&null!==(n=o.retryQueue)&&(o.retryQueue=null,Ic(e,n));break;case 19:Fc(t,e),Hc(e),4&o&&null!==(o=e.updateQueue)&&(e.updateQueue=null,Ic(e,o));case 30:case 21:}}function Hc(e){var t=e.flags;if(2&t){try{for(var n,o=e.return;null!==o;){if(yc(o)){n=o;break}o=o.return}if(null==n)throw Error(a(160));switch(n.tag){case 27:var r=n.stateNode;wc(e,xc(e),r);break;case 5:var i=n.stateNode;32&n.flags&&(jt(i,""),n.flags&=-33),wc(e,xc(e),i);break;case 3:case 4:var l=n.stateNode.containerInfo;kc(e,xc(e),l);break;default:throw Error(a(161))}}catch(c){bu(e,e.return,c)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Vc(e){if(1024&e.subtreeFlags)for(e=e.child;null!==e;){var t=e;Vc(t),5===t.tag&&1024&t.flags&&t.stateNode.reset(),e=e.sibling}}function Uc(e,t){if(8772&t.subtreeFlags)for(t=t.child;null!==t;)Pc(e,t.alternate,t),t=t.sibling}function Gc(e){for(e=e.child;null!==e;){var t=e;switch(t.tag){case 0:case 11:case 14:case 15:_c(4,t,t.return),Gc(t);break;case 1:hc(t,t.return);var n=t.stateNode;"function"==typeof n.componentWillUnmount&&fc(t,t.return,n),Gc(t);break;case 27:Td(t.stateNode);case 26:case 5:hc(t,t.return),Gc(t);break;case 22:null===t.memoizedState&&Gc(t);break;default:Gc(t)}e=e.sibling}}function Qc(e,t,n){for(n=n&&!!(8772&t.subtreeFlags),t=t.child;null!==t;){var o=t.alternate,a=e,r=t,i=r.flags;switch(r.tag){case 0:case 11:case 15:Qc(a,r,n),mc(4,r);break;case 1:if(Qc(a,r,n),"function"==typeof(a=(o=r).stateNode).componentDidMount)try{a.componentDidMount()}catch(s){bu(o,o.return,s)}if(null!==(a=(o=r).updateQueue)){var l=o.stateNode;try{var c=a.shared.hiddenCallbacks;if(null!==c)for(a.shared.hiddenCallbacks=null,a=0;a<c.length;a++)gr(c[a],l)}catch(s){bu(o,o.return,s)}}n&&64&i&&pc(r),bc(r,r.return);break;case 27:Cc(r);case 26:case 5:Qc(a,r,n),n&&null===o&&4&i&&gc(r),bc(r,r.return);break;case 12:Qc(a,r,n);break;case 13:Qc(a,r,n),n&&4&i&&Mc(a,r);break;case 22:null===r.memoizedState&&Qc(a,r,n),bc(r,r.return);break;case 30:break;default:Qc(a,r,n)}t=t.sibling}}function Wc(e,t){var n=null;null!==e&&null!==e.memoizedState&&null!==e.memoizedState.cachePool&&(n=e.memoizedState.cachePool.pool),e=null,null!==t.memoizedState&&null!==t.memoizedState.cachePool&&(e=t.memoizedState.cachePool.pool),e!==n&&(null!=e&&e.refCount++,null!=n&&Ha(n))}function qc(e,t){e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Ha(e))}function Kc(e,t,n,o){if(10256&t.subtreeFlags)for(t=t.child;null!==t;)Xc(e,t,n,o),t=t.sibling}function Xc(e,t,n,o){var a=t.flags;switch(t.tag){case 0:case 11:case 15:Kc(e,t,n,o),2048&a&&mc(9,t);break;case 1:case 13:default:Kc(e,t,n,o);break;case 3:Kc(e,t,n,o),2048&a&&(e=null,null!==t.alternate&&(e=t.alternate.memoizedState.cache),(t=t.memoizedState.cache)!==e&&(t.refCount++,null!=e&&Ha(e)));break;case 12:if(2048&a){Kc(e,t,n,o),e=t.stateNode;try{var r=t.memoizedProps,i=r.id,l=r.onPostCommit;"function"==typeof l&&l(i,null===t.alternate?"mount":"update",e.passiveEffectDuration,-0)}catch(c){bu(t,t.return,c)}}else Kc(e,t,n,o);break;case 23:break;case 22:r=t.stateNode,i=t.alternate,null!==t.memoizedState?2&r._visibility?Kc(e,t,n,o):Jc(e,t):2&r._visibility?Kc(e,t,n,o):(r._visibility|=2,Yc(e,t,n,o,!!(10256&t.subtreeFlags))),2048&a&&Wc(i,t);break;case 24:Kc(e,t,n,o),2048&a&&qc(t.alternate,t)}}function Yc(e,t,n,o,a){for(a=a&&!!(10256&t.subtreeFlags),t=t.child;null!==t;){var r=e,i=t,l=n,c=o,s=i.flags;switch(i.tag){case 0:case 11:case 15:Yc(r,i,l,c,a),mc(8,i);break;case 23:break;case 22:var u=i.stateNode;null!==i.memoizedState?2&u._visibility?Yc(r,i,l,c,a):Jc(r,i):(u._visibility|=2,Yc(r,i,l,c,a)),a&&2048&s&&Wc(i.alternate,i);break;case 24:Yc(r,i,l,c,a),a&&2048&s&&qc(i.alternate,i);break;default:Yc(r,i,l,c,a)}t=t.sibling}}function Jc(e,t){if(10256&t.subtreeFlags)for(t=t.child;null!==t;){var n=e,o=t,a=o.flags;switch(o.tag){case 22:Jc(n,o),2048&a&&Wc(o.alternate,o);break;case 24:Jc(n,o),2048&a&&qc(o.alternate,o);break;default:Jc(n,o)}t=t.sibling}}var Zc=8192;function $c(e){if(e.subtreeFlags&Zc)for(e=e.child;null!==e;)es(e),e=e.sibling}function es(e){switch(e.tag){case 26:$c(e),e.flags&Zc&&null!==e.memoizedState&&function(e,t,n){if(null===Kd)throw Error(a(475));var o=Kd;if(!("stylesheet"!==t.type||"string"==typeof n.media&&!1===matchMedia(n.media).matches||4&t.state.loading)){if(null===t.instance){var r=Ld(n.href),i=e.querySelector(Md(r));if(i)return null!==(e=i._p)&&"object"==typeof e&&"function"==typeof e.then&&(o.count++,o=Yd.bind(o),e.then(o,o)),t.state.loading|=4,t.instance=i,void Je(i);i=e.ownerDocument||e,n=Id(n),(r=jd.get(r))&&Vd(n,r),Je(i=i.createElement("link"));var l=i;l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),id(i,"link",n),t.instance=i}null===o.stylesheets&&(o.stylesheets=new Map),o.stylesheets.set(t,e),(e=t.state.preload)&&!(3&t.state.loading)&&(o.count++,t=Yd.bind(o),e.addEventListener("load",t),e.addEventListener("error",t))}}(Oc,e.memoizedState,e.memoizedProps);break;case 5:default:$c(e);break;case 3:case 4:var t=Oc;Oc=Pd(e.stateNode.containerInfo),$c(e),Oc=t;break;case 22:null===e.memoizedState&&(null!==(t=e.alternate)&&null!==t.memoizedState?(t=Zc,Zc=16777216,$c(e),Zc=t):$c(e))}}function ts(e){var t=e.alternate;if(null!==t&&null!==(e=t.child)){t.child=null;do{t=e.sibling,e.sibling=null,e=t}while(null!==e)}}function ns(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var o=t[n];Ec=o,rs(o,e)}ts(e)}if(10256&e.subtreeFlags)for(e=e.child;null!==e;)os(e),e=e.sibling}function os(e){switch(e.tag){case 0:case 11:case 15:ns(e),2048&e.flags&&_c(9,e,e.return);break;case 3:case 12:default:ns(e);break;case 22:var t=e.stateNode;null!==e.memoizedState&&2&t._visibility&&(null===e.return||13!==e.return.tag)?(t._visibility&=-3,as(e)):ns(e)}}function as(e){var t=e.deletions;if(16&e.flags){if(null!==t)for(var n=0;n<t.length;n++){var o=t[n];Ec=o,rs(o,e)}ts(e)}for(e=e.child;null!==e;){switch((t=e).tag){case 0:case 11:case 15:_c(8,t,t.return),as(t);break;case 22:2&(n=t.stateNode)._visibility&&(n._visibility&=-3,as(t));break;default:as(t)}e=e.sibling}}function rs(e,t){for(;null!==Ec;){var n=Ec;switch(n.tag){case 0:case 11:case 15:_c(8,n,t);break;case 23:case 22:if(null!==n.memoizedState&&null!==n.memoizedState.cachePool){var o=n.memoizedState.cachePool.pool;null!=o&&o.refCount++}break;case 24:Ha(n.memoizedState.cache)}if(null!==(o=n.child))o.return=n,Ec=o;else e:for(n=e;null!==Ec;){var a=(o=Ec).sibling,r=o.return;if(Dc(o),o===n){Ec=null;break e}if(null!==a){a.return=r,Ec=a;break e}Ec=r}}}var is={getCacheForType:function(e){var t=Ra(Oa),n=t.data.get(e);return void 0===n&&(n=e(),t.data.set(e,n)),n}},ls="function"==typeof WeakMap?WeakMap:Map,cs=0,ss=null,us=null,ds=0,ms=0,_s=null,ps=!1,fs=!1,bs=!1,hs=0,gs=0,vs=0,ys=0,xs=0,ks=0,ws=0,Cs=null,Ss=null,Ns=!1,Ts=0,js=1/0,Es=null,Ps=null,Ds=0,As=null,Rs=null,zs=0,Ls=0,Ms=null,Is=null,Fs=0,Os=null;function Bs(){return 2&cs&&0!==ds?ds&-ds:null!==B.T?0!==Ga?Ga:Lu():Me()}function Hs(){0===ks&&(ks=536870912&ds&&!ma?536870912:je());var e=ul.current;return null!==e&&(e.flags|=32),ks}function Vs(e,t,n){(e!==ss||2!==ms&&9!==ms)&&null===e.cancelPendingCommit||(Xs(e,0),Ws(e,ds,ks,!1)),De(e,n),2&cs&&e===ss||(e===ss&&(!(2&cs)&&(ys|=n),4===gs&&Ws(e,ds,ks,!1)),ju(e))}function Us(e,t,n){if(6&cs)throw Error(a(327));for(var o=!n&&!(124&t)&&0===(t&e.expiredLanes)||Ne(e,t),r=o?function(e,t){var n=cs;cs|=2;var o=Js(),r=Zs();ss!==e||ds!==t?(Es=null,js=le()+500,Xs(e,t)):fs=Ne(e,t);e:for(;;)try{if(0!==ms&&null!==us){t=us;var i=_s;t:switch(ms){case 1:ms=0,_s=null,ru(e,t,i,1);break;case 2:case 9:if(nr(i)){ms=0,_s=null,au(t);break}i.then(t=function(){2!==ms&&9!==ms||ss!==e||(ms=7),ju(e)},t);break e;case 3:ms=7;break e;case 4:ms=5;break e;case 7:nr(i)?(ms=0,_s=null,au(t)):(ms=0,_s=null,ru(e,t,i,7));break;case 5:var l=null;switch(us.tag){case 26:l=us.memoizedState;case 5:case 27:var c=us;if(!l||qd(l)){ms=0,_s=null;var s=c.sibling;if(null!==s)us=s;else{var u=c.return;null!==u?(us=u,iu(u)):us=null}break t}}ms=0,_s=null,ru(e,t,i,5);break;case 6:ms=0,_s=null,ru(e,t,i,6);break;case 8:Ks(),gs=6;break e;default:throw Error(a(462))}}nu();break}catch(d){Ys(e,d)}return Sa=Ca=null,B.H=o,B.A=r,cs=n,null!==us?0:(ss=null,ds=0,Lo(),gs)}(e,t):eu(e,t,!0),i=o;;){if(0===r){fs&&!o&&Ws(e,t,0,!1);break}if(n=e.current.alternate,!i||Qs(n)){if(2===r){if(e.errorRecoveryDisabledLanes&(i=t))var l=0;else l=0!=(l=-536870913&e.pendingLanes)?l:536870912&l?536870912:0;if(0!==l){t=l;e:{var c=e;r=Cs;var s=c.current.memoizedState.isDehydrated;if(s&&(Xs(c,l).flags|=256),2!==(l=eu(c,l,!1))){if(bs&&!s){c.errorRecoveryDisabledLanes|=i,ys|=i,r=4;break e}i=Ss,Ss=r,null!==i&&(null===Ss?Ss=i:Ss.push.apply(Ss,i))}r=l}if(i=!1,2!==r)continue}}if(1===r){Xs(e,0),Ws(e,t,0,!0);break}e:{switch(o=e,i=r){case 0:case 1:throw Error(a(345));case 4:if((4194048&t)!==t)break;case 6:Ws(o,t,ks,!ps);break e;case 2:Ss=null;break;case 3:case 5:break;default:throw Error(a(329))}if((62914560&t)===t&&10<(r=Ts+300-le())){if(Ws(o,t,ks,!ps),0!==Se(o,0,!0))break e;o.timeoutHandle=pd(Gs.bind(null,o,n,Ss,Es,Ns,t,ks,ys,ws,ps,i,2,-0,0),r)}else Gs(o,n,Ss,Es,Ns,t,ks,ys,ws,ps,i,0,-0,0)}break}r=eu(e,t,!1),i=!1}ju(e)}function Gs(e,t,n,o,r,i,l,c,s,u,d,m,_,p){if(e.timeoutHandle=-1,(8192&(m=t.subtreeFlags)||!(16785408&~m))&&(Kd={stylesheets:null,count:0,unsuspend:Xd},es(t),null!==(m=function(){if(null===Kd)throw Error(a(475));var e=Kd;return e.stylesheets&&0===e.count&&Zd(e,e.stylesheets),0<e.count?function(t){var n=setTimeout(function(){if(e.stylesheets&&Zd(e,e.stylesheets),e.unsu
vendor: 9,171 bytes, line 1
1spend){var t=e.unsuspend;e.unsuspend=null,t()}},6e4);return e.unsuspend=t,function(){e.unsuspend=null,clearTimeout(n)}}:null}())))return e.cancelPendingCommit=m(cu.bind(null,e,t,i,n,o,r,l,c,s,d,1,_,p)),void Ws(e,i,l,!u);cu(e,t,i,n,o,r,l,c,s)}function Qs(e){for(var t=e;;){var n=t.tag;if((0===n||11===n||15===n)&&16384&t.flags&&null!==(n=t.updateQueue)&&null!==(n=n.stores))for(var o=0;o<n.length;o++){var a=n[o],r=a.getSnapshot;a=a.value;try{if(!to(r(),a))return!1}catch(i){return!1}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Ws(e,t,n,o){t&=~xs,e.suspendedLanes|=t&=~ys,e.pingedLanes&=~t,o&&(e.warmLanes|=t),o=e.expirationTimes;for(var a=t;0<a;){var r=31-ve(a),i=1<<r;o[r]=-1,a&=~i}0!==n&&Ae(e,n,t)}function qs(){return!!(6&cs)||(Eu(0),!1)}function Ks(){if(null!==us){if(0===ms)var e=us.return;else Sa=Ca=null,Gr(e=us),tl=null,nl=0,e=us;for(;null!==e;)dc(e.alternate,e),e=e.return;us=null}}function Xs(e,t){var n=e.timeoutHandle;-1!==n&&(e.timeoutHandle=-1,fd(n)),null!==(n=e.cancelPendingCommit)&&(e.cancelPendingCommit=null,n()),Ks(),ss=e,us=n=Qo(e.current,null),ds=t,ms=0,_s=null,ps=!1,fs=Ne(e,t),bs=!1,ws=ks=xs=ys=vs=gs=0,Ss=Cs=null,Ns=!1,8&t&&(t|=32&t);var o=e.entangledLanes;if(0!==o)for(e=e.entanglements,o&=t;0<o;){var a=31-ve(o);t|=e[a],o&=~(1<<a)}return hs=t,Lo(),n}function Ys(e,t){Nr=null,B.H=Ji,t===Za||t===er?(t=ir(),ms=3):t===$a?(t=ir(),ms=4):ms=t===Al?8:null!==t&&"object"==typeof t&&"function"==typeof t.then?6:1,_s=t,null===us&&(gs=1,Tl(e,Do(t,e.current)))}function Js(){var e=B.H;return B.H=Ji,null===e?Ji:e}function Zs(){var e=B.A;return B.A=is,e}function $s(){gs=4,ps||(4194048&ds)!==ds&&null!==ul.current||(fs=!0),!(134217727&vs)&&!(134217727&ys)||null===ss||Ws(ss,ds,ks,!1)}function eu(e,t,n){var o=cs;cs|=2;var a=Js(),r=Zs();ss===e&&ds===t||(Es=null,Xs(e,t)),t=!1;var i=gs;e:for(;;)try{if(0!==ms&&null!==us){var l=us,c=_s;switch(ms){case 8:Ks(),i=6;break e;case 3:case 2:case 9:case 6:null===ul.current&&(t=!0);var s=ms;if(ms=0,_s=null,ru(e,l,c,s),n&&fs){i=0;break e}break;default:s=ms,ms=0,_s=null,ru(e,l,c,s)}}tu(),i=gs;break}catch(u){Ys(e,u)}return t&&e.shellSuspendCounter++,Sa=Ca=null,cs=o,B.H=a,B.A=r,null===us&&(ss=null,ds=0,Lo()),i}function tu(){for(;null!==us;)ou(us)}function nu(){for(;null!==us&&!re();)ou(us)}function ou(e){var t=oc(e.alternate,e,hs);e.memoizedProps=e.pendingProps,null===t?iu(e):us=t}function au(e){var t=e,n=t.alternate;switch(t.tag){case 15:case 0:t=Vl(n,t,t.pendingProps,t.type,void 0,ds);break;case 11:t=Vl(n,t,t.pendingProps,t.type.render,t.ref,ds);break;case 5:Gr(t);default:dc(n,t),t=oc(n,t=us=Wo(t,hs),hs)}e.memoizedProps=e.pendingProps,null===t?iu(e):us=t}function ru(e,t,n,o){Sa=Ca=null,Gr(t),tl=null,nl=0;var r=t.return;try{if(function(e,t,n,o,r){if(n.flags|=32768,null!==o&&"object"==typeof o&&"function"==typeof o.then){if(null!==(t=n.alternate)&&Pa(t,n,r,!0),null!==(n=ul.current)){switch(n.tag){case 13:return null===dl?$s():null===n.alternate&&0===gs&&(gs=3),n.flags&=-257,n.flags|=65536,n.lanes=r,o===tr?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=new Set([o]):t.add(o),hu(e,o,r)),!1;case 22:return n.flags|=65536,o===tr?n.flags|=16384:(null===(t=n.updateQueue)?n.updateQueue=t={transitions:null,markerInstances:null,retryQueue:new Set([o])}:null===(n=t.retryQueue)?t.retryQueue=new Set([o]):n.add(o),hu(e,o,r)),!1}throw Error(a(435,n.tag))}return hu(e,o,r),$s(),!1}if(ma)return null!==(t=ul.current)?(!(65536&t.flags)&&(t.flags|=256),t.flags|=65536,t.lanes=r,o!==fa&&ka(Do(e=Error(a(422),{cause:o}),n))):(o!==fa&&ka(Do(t=Error(a(423),{cause:o}),n)),(e=e.current.alternate).flags|=65536,e.lanes|=r&=-r,o=Do(o,n),pr(e,r=El(e.stateNode,o,r)),4!==gs&&(gs=2)),!1;var i=Error(a(520),{cause:o});if(i=Do(i,n),null===Cs?Cs=[i]:Cs.push(i),4!==gs&&(gs=2),null===t)return!0;o=Do(o,n),n=t;do{switch(n.tag){case 3:return n.flags|=65536,n.lanes|=e=r&-r,pr(n,e=El(n.stateNode,o,e)),!1;case 1:if(t=n.type,i=n.stateNode,!(128&n.flags||"function"!=typeof t.getDerivedStateFromError&&(null===i||"function"!=typeof i.componentDidCatch||null!==Ps&&Ps.has(i))))return n.flags|=65536,n.lanes|=r&=-r,Dl(r=Pl(r),e,n,o),pr(n,r),!1}n=n.return}while(null!==n);return!1}(e,r,t,n,ds))return gs=1,Tl(e,Do(n,e.current)),void(us=null)}catch(i){if(null!==r)throw us=r,i;return gs=1,Tl(e,Do(n,e.current)),void(us=null)}32768&t.flags?(ma||1===o?e=!0:fs||536870912&ds?e=!1:(ps=e=!0,(2===o||9===o||3===o||6===o)&&null!==(o=ul.current)&&13===o.tag&&(o.flags|=16384)),lu(t,e)):iu(t)}function iu(e){var t=e;do{if(32768&t.flags)return void lu(t,ps);e=t.return;var n=sc(t.alternate,t,hs);if(null!==n)return void(us=n);if(null!==(t=t.sibling))return void(us=t);us=t=e}while(null!==t);0===gs&&(gs=5)}function lu(e,t){do{var n=uc(e.alternate,e);if(null!==n)return n.flags&=32767,void(us=n);if(null!==(n=e.return)&&(n.flags|=32768,n.subtreeFlags=0,n.deletions=null),!t&&null!==(e=e.sibling))return void(us=e);us=e=n}while(null!==e);gs=6,us=null}function cu(e,t,n,o,r,i,l,c,s){e.cancelPendingCommit=null;do{_u()}while(0!==Ds);if(6&cs)throw Error(a(327));if(null!==t){if(t===e.current)throw Error(a(177));if(i=t.lanes|t.childLanes,function(e,t,n,o,a,r){var i=e.pendingLanes;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=n,e.entangledLanes&=n,e.errorRecoveryDisabledLanes&=n,e.shellSuspendCounter=0;var l=e.entanglements,c=e.expirationTimes,s=e.hiddenUpdates;for(n=i&~n;0<n;){var u=31-ve(n),d=1<<u;l[u]=0,c[u]=-1;var m=s[u];if(null!==m)for(s[u]=null,u=0;u<m.length;u++){var _=m[u];null!==_&&(_.lane&=-536870913)}n&=~d}0!==o&&Ae(e,o,0),0!==r&&0===a&&0!==e.tag&&(e.suspendedLanes|=r&~(i&~t))}(e,n,i|=zo,l,c,s),e===ss&&(us=ss=null,ds=0),Rs=t,As=e,zs=n,Ls=i,Ms=r,Is=o,10256&t.subtreeFlags||10256&t.flags?(e.callbackNode=null,e.callbackPriority=0,oe(de,function(){return pu(),null})):(e.callbackNode=null,e.callbackPriority=0),o=!!(13878&t.flags),13878&t.subtreeFlags||o){o=B.T,B.T=null,r=H.p,H.p=2,l=cs,cs|=4;try{!function(e,t){if(ld=cm,lo(e=io(e=e.containerInfo))){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else{var o=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(o&&0!==o.rangeCount){n=o.anchorNode;var r=o.anchorOffset,i=o.focusNode;o=o.focusOffset;var l=0,c=-1,s=-1,u=0,d=0,m=e,_=null;e:for(;;){for(var p;m!==n||0!==r&&3!==m.nodeType||(c=l+r),m!==i||0!==o&&3!==m.nodeType||(s=l+o),3===m.nodeType&&(l+=m.nodeValue.length),null!==(p=m.firstChild);)_=m,m=p;for(;;){if(m===e)break e;if(_===n&&++u===r&&(c=l),_===i&&++d===o&&(s=l),null!==(p=m.nextSibling))break;_=(m=_).parentNode}m=p}n=-1===c||-1===s?null:{start:c,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(cd={focusedElem:e,selectionRange:n},cm=!1,Ec=t;null!==Ec;)if(e=(t=Ec).child,1024&t.subtreeFlags&&null!==e)e.return=t,Ec=e;else for(;null!==Ec;){switch(i=(t=Ec).alternate,e=t.flags,t.tag){case 0:case 11:case 15:case 5:case 26:case 27:case 6:case 4:case 17:break;case 1:if(1024&e&&null!==i){e=void 0,r=i.memoizedProps,i=i.memoizedState,o=(n=t).stateNode;try{var f=kl(n.type,r);e=o.getSnapshotBeforeUpdate(f,i),o.__reactInternalSnapshotBeforeUpdate=e}catch(b){bu(n,n.return,b)}}break;case 3:if(1024&e)if(9===(n=(e=t.stateNode.containerInfo).nodeType))xd(e);else if(1===n)switch(e.nodeName){case"HEAD":case"HTML":case"BODY":xd(e);break;default:e.textContent=""}break;default:if(1024&e)throw Error(a(163))}if(null!==(e=t.sibling)){e.return=t.return,Ec=e;break}Ec=t.return}}(e,t)}finally{cs=l,H.p=r,B.T=o}}Ds=1,su(),uu(),du()}}function su(){if(1===Ds){Ds=0;var e=As,t=Rs,n=!!(13878&t.flags);if(13878&t.subtreeFlags||n){n=B.T,B.T=null;var o=H.p;H.p=2;var a=cs;cs|=4;try{Bc(t,e);var r=cd,i=io(e.containerInfo),l=r.focusedElem,c=r.selectionRange;if(i!==l&&l&&l.ownerDocument&&ro(l.ownerDocument.documentElement,l)){if(null!==c&&lo(l)){var s=c.start,u=c.end;if(void 0===u&&(u=s),"selectionStart"in l)l.selectionStart=s,l.selectionEnd=Math.min(u,l.value.length);else{var d=l.ownerDocument||document,m=d&&d.defaultView||window;if(m.getSelection){var _=m.getSelection(),p=l.textContent.length,f=Math.min(c.start,p),b=void 0===c.end?f:Math.min(c.end,p);!_.extend&&f>b&&(i=b,b=f,f=i);var h=ao(l,f),g=ao(l,b);if(h&&g&&(1!==_.rangeCount||_.anchorNode!==h.node||_.anchorOffset!==h.offset||_.focusNode!==g.node||_.focusOffset!==g.offset)){var v=d.createRange();v.setStart(h.node,h.offset),_.removeAllRanges(),f>b?(_.addRange(v),_.extend(g.node,g.offset)):(v.setEnd(g.node,g.offset),_.addRange(v))}}}}for(d=[],_=l;_=_.parentNode;)1===_.nodeType&&d.push({element:_,left:_.scrollLeft,top:_.scrollTop});for("function"==typeof l.focus&&l.focus(),l=0;l<d.length;l++){var y=d[l];y.element.scrollLeft=y.left,y.element.scrollTop=y.top}}cm=!!ld,cd=ld=null}finally{cs=a,H.p=o,B.T=n}}e.current=t,Ds=2}}function uu(){if(2===Ds){Ds=0;var e=As,t=Rs,n=!!(8772&t.flags);if(8772&t.subtreeFlags||n){n=B.T,B.T=null;var o=H.p;H.p=2;var a=cs;cs|=4;try{Pc(e,t.alternate,t)}finally{cs=a,H.p=o,B.T=n}}Ds=3}}function du(){if(4===Ds||3===Ds){Ds=0,ie();var e=As,t=Rs,n=zs,o=Is;10256&t.subtreeFlags||10256&t.flags?Ds=5:(Ds=0,Rs=As=null,mu(e,e.pen
vendor: 4,405 bytes, line 1
1dingLanes));var a=e.pendingLanes;if(0===a&&(Ps=null),Le(n),t=t.stateNode,he&&"function"==typeof he.onCommitFiberRoot)try{he.onCommitFiberRoot(be,t,void 0,!(128&~t.current.flags))}catch(c){}if(null!==o){t=B.T,a=H.p,H.p=2,B.T=null;try{for(var r=e.onRecoverableError,i=0;i<o.length;i++){var l=o[i];r(l.value,{componentStack:l.stack})}}finally{B.T=t,H.p=a}}3&zs&&_u(),ju(e),a=e.pendingLanes,4194090&n&&42&a?e===Os?Fs++:(Fs=0,Os=e):Fs=0,Eu(0)}}function mu(e,t){0===(e.pooledCacheLanes&=t)&&null!=(t=e.pooledCache)&&(e.pooledCache=null,Ha(t))}function _u(e){return su(),uu(),du(),pu()}function pu(){if(5!==Ds)return!1;var e=As,t=Ls;Ls=0;var n=Le(zs),o=B.T,r=H.p;try{H.p=32>n?32:n,B.T=null,n=Ms,Ms=null;var i=As,l=zs;if(Ds=0,Rs=As=null,zs=0,6&cs)throw Error(a(331));var c=cs;if(cs|=4,os(i.current),Xc(i,i.current,l,n),cs=c,Eu(0),he&&"function"==typeof he.onPostCommitFiberRoot)try{he.onPostCommitFiberRoot(be,i)}catch(s){}return!0}finally{H.p=r,B.T=o,mu(e,t)}}function fu(e,t,n){t=Do(n,t),null!==(e=mr(e,t=El(e.stateNode,t,2),2))&&(De(e,2),ju(e))}function bu(e,t,n){if(3===e.tag)fu(e,e,n);else for(;null!==t;){if(3===t.tag){fu(t,e,n);break}if(1===t.tag){var o=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof o.componentDidCatch&&(null===Ps||!Ps.has(o))){e=Do(n,e),null!==(o=mr(t,n=Pl(2),2))&&(Dl(n,o,t,e),De(o,2),ju(o));break}}t=t.return}}function hu(e,t,n){var o=e.pingCache;if(null===o){o=e.pingCache=new ls;var a=new Set;o.set(t,a)}else void 0===(a=o.get(t))&&o.set(t,a=new Set);a.has(n)||(bs=!0,a.add(n),e=gu.bind(null,e,t,n),t.then(e,e))}function gu(e,t,n){var o=e.pingCache;null!==o&&o.delete(t),e.pingedLanes|=e.suspendedLanes&n,e.warmLanes&=~n,ss===e&&(ds&n)===n&&(4===gs||3===gs&&(62914560&ds)===ds&&300>le()-Ts?!(2&cs)&&Xs(e,0):xs|=n,ws===ds&&(ws=0)),ju(e)}function vu(e,t){0===t&&(t=Ee()),null!==(e=Fo(e,t))&&(De(e,t),ju(e))}function yu(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),vu(e,n)}function xu(e,t){var n=0;switch(e.tag){case 13:var o=e.stateNode,r=e.memoizedState;null!==r&&(n=r.retryLane);break;case 19:o=e.stateNode;break;case 22:o=e.stateNode._retryCache;break;default:throw Error(a(314))}null!==o&&o.delete(t),vu(e,n)}var ku=null,wu=null,Cu=!1,Su=!1,Nu=!1,Tu=0;function ju(e){e!==wu&&null===e.next&&(null===wu?ku=wu=e:wu=wu.next=e),Su=!0,Cu||(Cu=!0,hd(function(){6&cs?oe(se,Pu):Du()}))}function Eu(e,t){if(!Nu&&Su){Nu=!0;do{for(var n=!1,o=ku;null!==o;){if(0!==e){var a=o.pendingLanes;if(0===a)var r=0;else{var i=o.suspendedLanes,l=o.pingedLanes;r=(1<<31-ve(42|e)+1)-1,r=201326741&(r&=a&~(i&~l))?201326741&r|1:r?2|r:0}0!==r&&(n=!0,zu(o,r))}else r=ds,!(3&(r=Se(o,o===ss?r:0,null!==o.cancelPendingCommit||-1!==o.timeoutHandle)))||Ne(o,r)||(n=!0,zu(o,r));o=o.next}}while(n);Nu=!1}}function Pu(){Du()}function Du(){Su=Cu=!1;var e,t=0;0!==Tu&&(((e=window.event)&&"popstate"===e.type?e!==_d&&(_d=e,!0):(_d=null,!1))&&(t=Tu),Tu=0);for(var n=le(),o=null,a=ku;null!==a;){var r=a.next,i=Au(a,n);0===i?(a.next=null,null===o?ku=r:o.next=r,null===r&&(wu=o)):(o=a,(0!==t||3&i)&&(Su=!0)),a=r}Eu(t)}function Au(e,t){for(var n=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,r=-62914561&e.pendingLanes;0<r;){var i=31-ve(r),l=1<<i,c=a[i];-1===c?0!==(l&n)&&0===(l&o)||(a[i]=Te(l,t)):c<=t&&(e.expiredLanes|=l),r&=~l}if(n=ds,n=Se(e,e===(t=ss)?n:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle),o=e.callbackNode,0===n||e===t&&(2===ms||9===ms)||null!==e.cancelPendingCommit)return null!==o&&null!==o&&ae(o),e.callbackNode=null,e.callbackPriority=0;if(!(3&n)||Ne(e,n)){if((t=n&-n)===e.callbackPriority)return t;switch(null!==o&&ae(o),Le(n)){case 2:case 8:n=ue;break;case 32:default:n=de;break;case 268435456:n=_e}return o=Ru.bind(null,e),n=oe(n,o),e.callbackPriority=t,e.callbackNode=n,t}return null!==o&&null!==o&&ae(o),e.callbackPriority=2,e.callbackNode=null,2}function Ru(e,t){if(0!==Ds&&5!==Ds)return e.callbackNode=null,e.callbackPriority=0,null;var n=e.callbackNode;if(_u()&&e.callbackNode!==n)return null;var o=ds;return 0===(o=Se(e,e===ss?o:0,null!==e.cancelPendingCommit||-1!==e.timeoutHandle))?null:(Us(e,o,t),Au(e,le()),null!=e.callbackNode&&e.callbackNode===n?Ru.bind(null,e):null)}function zu(e,t){if(_u())return null;Us(e,t,!0)}function Lu(){return 0===Tu&&(Tu=je()),Tu}function Mu(e){return null==e||"symbol"==typeof e||"boolean"==typeof e?null:"function"==typeof e?e:Lt(""+e)}function Iu(e,t){var n=t.ownerDocument.createElement("input");
vendor: 4,713 bytes, line 1
1return n.name=t.name,n.value=t.value,e.id&&n.setAttribute("form",e.id),t.parentNode.insertBefore(n,t),e=new FormData(e),n.parentNode.removeChild(n),e}for(var Fu=0;Fu<jo.length;Fu++){var Ou=jo[Fu];Eo(Ou.toLowerCase(),"on"+(Ou[0].toUpperCase()+Ou.slice(1)))}Eo(yo,"onAnimationEnd"),Eo(xo,"onAnimationIteration"),Eo(ko,"onAnimationStart"),Eo("dblclick","onDoubleClick"),Eo("focusin","onFocus"),Eo("focusout","onBlur"),Eo(wo,"onTransitionRun"),Eo(Co,"onTransitionStart"),Eo(So,"onTransitionCancel"),Eo(No,"onTransitionEnd"),tt("onMouseEnter",["mouseout","mouseover"]),tt("onMouseLeave",["mouseout","mouseover"]),tt("onPointerEnter",["pointerout","pointerover"]),tt("onPointerLeave",["pointerout","pointerover"]),et("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),et("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),et("onBeforeInput",["compositionend","keypress","textInput","paste"]),et("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),et("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),et("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Bu="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Hu=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Bu));function Vu(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var o=e[n],a=o.event;o=o.listeners;e:{var r=void 0;if(t)for(var i=o.length-1;0<=i;i--){var l=o[i],c=l.instance,s=l.currentTarget;if(l=l.listener,c!==r&&a.isPropagationStopped())break e;r=l,a.currentTarget=s;try{r(a)}catch(u){wl(u)}a.currentTarget=null,r=c}else for(i=0;i<o.length;i++){if(c=(l=o[i]).instance,s=l.currentTarget,l=l.listener,c!==r&&a.isPropagationStopped())break e;r=l,a.currentTarget=s;try{r(a)}catch(u){wl(u)}a.currentTarget=null,r=c}}}}function Uu(e,t){var n=t[He];void 0===n&&(n=t[He]=new Set);var o=e+"__bubble";n.has(o)||(qu(t,e,2,!1),n.add(o))}function Gu(e,t,n){var o=0;t&&(o|=4),qu(n,e,o,t)}var Qu="_reactListening"+Math.random().toString(36).slice(2);function Wu(e){if(!e[Qu]){e[Qu]=!0,Ze.forEach(function(t){"selectionchange"!==t&&(Hu.has(t)||Gu(t,!1,e),Gu(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Qu]||(t[Qu]=!0,Gu("selectionchange",!1,t))}}function qu(e,t,n,o){switch(fm(t)){case 2:var a=sm;break;case 8:a=um;break;default:a=dm}n=a.bind(null,t,n,e),a=void 0,!Qt||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),e.addEventListener(t,n,o?void 0===a||{capture:!0,passive:a}:void 0!==a&&{passive:a})}function Ku(e,t,n,o,a){var r=o;if(!(1&t||2&t||null===o))e:for(;;){if(null===o)return;var l=o.tag;if(3===l||4===l){var c=o.stateNode.containerInfo;if(c===a)break;if(4===l)for(l=o.return;null!==l;){var s=l.tag;if((3===s||4===s)&&l.stateNode.containerInfo===a)return;l=l.return}for(;null!==c;){if(null===(l=qe(c)))return;if(5===(s=l.tag)||6===s||26===s||27===s){o=r=l;continue e}c=c.parentNode}}o=o.return}Vt(function(){var o=r,a=It(n),l=[];e:{var c=To.get(e);if(void 0!==c){var s=rn,u=e;switch(e){case"keypress":if(0===Jt(n))break e;case"keydown":case"keyup":s=xn;break;case"focusin":u="focus",s=mn;break;case"focusout":u="blur",s=mn;break;case"beforeblur":case"afterblur":s=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=un;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=dn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=wn;break;case yo:case xo:case ko:s=_n;break;case No:s=Cn;break;case"scroll":case"scrollend":s=cn;break;case"wheel":s=Sn;break;case"copy":case"cut":case"paste":s=pn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=kn;break;case"toggle":case"beforetoggle":s=Nn}var d=!!(4&t),m=!d&&("scroll"===e||"scrollend"===e),_=d?null!==c?c+"Capture":null:c;d=[];for(var p,f=o;null!==f;){var b=f;if(p=b.stateNode,5!==(b=b.tag)&&26!==b&&27!==b||null===p||null===_||null!=(b=Ut(f,_))&&d.push(Xu(f,b,p)),m)break;f=f.return}0<d.length&&(c=new s(c,u,null,n,a),l.push({event:c,listeners:d}))}}if(!(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(c="mouseover"===e||"pointerover"===e)||n===Mt||!(u=n.relatedTarget||n.fromElement)||!qe(u)&&!u[Be])&&(s||c)&&
vendor: 4,190 bytes, line 1
1(c=a.window===a?a:(c=a.ownerDocument)?c.defaultView||c.parentWindow:window,s?(s=o,null!==(u=(u=n.relatedTarget||n.toElement)?qe(u):null)&&(m=i(u),d=u.tag,u!==m||5!==d&&27!==d&&6!==d)&&(u=null)):(s=null,u=o),s!==u)){if(d=un,b="onMouseLeave",_="onMouseEnter",f="mouse","pointerout"!==e&&"pointerover"!==e||(d=kn,b="onPointerLeave",_="onPointerEnter",f="pointer"),m=null==s?c:Xe(s),p=null==u?c:Xe(u),(c=new d(b,f+"leave",s,n,a)).target=m,c.relatedTarget=p,b=null,qe(a)===o&&((d=new d(_,f+"enter",u,n,a)).target=p,d.relatedTarget=m,b=d),m=b,s&&u)e:{for(_=u,f=0,p=d=s;p;p=Ju(p))f++;for(p=0,b=_;b;b=Ju(b))p++;for(;0<f-p;)d=Ju(d),f--;for(;0<p-f;)_=Ju(_),p--;for(;f--;){if(d===_||null!==_&&d===_.alternate)break e;d=Ju(d),_=Ju(_)}d=null}else d=null;null!==s&&Zu(l,c,s,d,!1),null!==u&&null!==m&&Zu(l,m,u,d,!0)}if("select"===(s=(c=o?Xe(o):window).nodeName&&c.nodeName.toLowerCase())||"input"===s&&"file"===c.type)var h=Gn;else if(Fn(c))if(Qn)h=eo;else{h=Zn;var g=Jn}else!(s=c.nodeName)||"input"!==s.toLowerCase()||"checkbox"!==c.type&&"radio"!==c.type?o&&At(o.elementType)&&(h=Gn):h=$n;switch(h&&(h=h(e,o))?On(l,h,n,a):(g&&g(e,c,o),"focusout"===e&&o&&"number"===c.type&&null!=o.memoizedProps.value&&Ct(c,"number",c.value)),g=o?Xe(o):window,e){case"focusin":(Fn(g)||"true"===g.contentEditable)&&(so=g,uo=o,mo=null);break;case"focusout":mo=uo=so=null;break;case"mousedown":_o=!0;break;case"contextmenu":case"mouseup":case"dragend":_o=!1,po(l,n,a);break;case"selectionchange":if(co)break;case"keydown":case"keyup":po(l,n,a)}var v;if(jn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Mn?zn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Dn&&"ko"!==n.locale&&(Mn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Mn&&(v=Yt()):(Kt="value"in(qt=a)?qt.value:qt.textContent,Mn=!0)),0<(g=Yu(o,y)).length&&(y=new fn(y,e,null,n,a),l.push({event:y,listeners:g}),(v||null!==(v=Ln(n)))&&(y.data=v))),(v=Pn?function(e,t){switch(e){case"compositionend":return Ln(t);case"keypress":return 32!==t.which?null:(Rn=!0,An);case"textInput":return(e=t.data)===An&&Rn?null:e;default:return null}}(e,n):function(e,t){if(Mn)return"compositionend"===e||!jn&&zn(e,t)?(e=Yt(),Xt=Kt=qt=null,Mn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(y=Yu(o,"onBeforeInput")).length&&(g=new fn("onBeforeInput","beforeinput",null,n,a),l.push({event:g,listeners:y}),g.data=v),function(e,t,n,o,a){if("submit"===t&&n&&n.stateNode===a){var r=Mu((a[Oe]||null).action),i=o.submitter;i&&null!==(t=(t=i[Oe]||null)?Mu(t.formAction):i.getAttribute("formAction"))&&(r=t,i=null);var l=new rn("action","action",null,o,a);e.push({event:l,listeners:[{instance:null,listener:function(){if(o.defaultPrevented){if(0!==Tu){var e=i?Iu(a,i):new FormData(a);Ii(n,{pending:!0,data:e,method:a.method,action:r},null,e)}}else"function"==typeof r&&(l.preventDefault(),e=i?Iu(a,i):new FormData(a),Ii(n,{pending:!0,data:e,method:a.method,action:r},r,e))},currentTarget:a}]})}}(l,e,o,n,a)}Vu(l,t)})}function Xu(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Yu(e,t){for(var n=t+"Capture",o=[];null!==e;){var a=e,r=a.stateNode;if(5!==(a=a.tag)&&26!==a&&27!==a||null===r||(null!=(a=Ut(e,n))&&o.unshift(Xu(e,a,r)),null!=(a=Ut(e,t))&&o.push(Xu(e,a,r))),3===e.tag)return o;e=e.return}return[]}function Ju(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag&&27!==e.tag);return e||null}function Zu(e,t,n,o,a){for(var r=t._reactName,i=[];null!==n&&n!==o;){var l=n,c=l.alternate,s=l.stateNode;if(l=l.tag,null!==c&&c===o)break;5!==l&&26!==l&&27!==l||null===s||(c=s,a?null!=(s=Ut(n,r))&&i.unshift(Xu(n,s,c)):a||null!=(s=Ut(n,r))&&i.push(Xu(n,s,c))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var $u=/\r\n?/g,ed=/\u0000|\uFFFD/g;function td(e){return("string"==typeof e?e:""+e).replace($u,"\n").replace(ed,"")}
vendor: 4,480 bytes, line 1
1function nd(e,t){return t=td(t),td(e)===t}function od(){}function ad(e,t,n,o,r,i){switch(n){case"children":"string"==typeof o?"body"===t||"textarea"===t&&""===o||jt(e,o):("number"==typeof o||"bigint"==typeof o)&&"body"!==t&&jt(e,""+o);break;case"className":ct(e,"class",o);break;case"tabIndex":ct(e,"tabindex",o);break;case"dir":case"role":case"viewBox":case"width":case"height":ct(e,n,o);break;case"style":Dt(e,o,i);break;case"data":if("object"!==t){ct(e,"data",o);break}case"src":case"href":if(""===o&&("a"!==t||"href"!==n)){e.removeAttribute(n);break}if(null==o||"function"==typeof o||"symbol"==typeof o||"boolean"==typeof o){e.removeAttribute(n);break}o=Lt(""+o),e.setAttribute(n,o);break;case"action":case"formAction":if("function"==typeof o){e.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}if("function"==typeof i&&("formAction"===n?("input"!==t&&ad(e,t,"name",r.name,r,null),ad(e,t,"formEncType",r.formEncType,r,null),ad(e,t,"formMethod",r.formMethod,r,null),ad(e,t,"formTarget",r.formTarget,r,null)):(ad(e,t,"encType",r.encType,r,null),ad(e,t,"method",r.method,r,null),ad(e,t,"target",r.target,r,null))),null==o||"symbol"==typeof o||"boolean"==typeof o){e.removeAttribute(n);break}o=Lt(""+o),e.setAttribute(n,o);break;case"onClick":null!=o&&(e.onclick=od);break;case"onScroll":null!=o&&Uu("scroll",e);break;case"onScrollEnd":null!=o&&Uu("scrollend",e);break;case"dangerouslySetInnerHTML":if(null!=o){if("object"!=typeof o||!("__html"in o))throw Error(a(61));if(null!=(n=o.__html)){if(null!=r.children)throw Error(a(60));e.innerHTML=n}}break;case"multiple":e.multiple=o&&"function"!=typeof o&&"symbol"!=typeof o;break;case"muted":e.muted=o&&"function"!=typeof o&&"symbol"!=typeof o;break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":case"autoFocus":break;case"xlinkHref":if(null==o||"function"==typeof o||"boolean"==typeof o||"symbol"==typeof o){e.removeAttribute("xlink:href");break}n=Lt(""+o),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":null!=o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,""+o):e.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,""):e.removeAttribute(n);break;case"capture":case"download":!0===o?e.setAttribute(n,""):!1!==o&&null!=o&&"function"!=typeof o&&"symbol"!=typeof o?e.setAttribute(n,o):e.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":null!=o&&"function"!=typeof o&&"symbol"!=typeof o&&!isNaN(o)&&1<=o?e.setAttribute(n,o):e.removeAttribute(n);break;case"rowSpan":case"start":null==o||"function"==typeof o||"symbol"==typeof o||isNaN(o)?e.removeAttribute(n):e.setAttribute(n,o);break;case"popover":Uu("beforetoggle",e),Uu("toggle",e),lt(e,"popover",o);break;case"xlinkActuate":st(e,"http://www.w3.org/1999/xlink","xlink:actuate",o);break;case"xlinkArcrole":st(e,"http://www.w3.org/1999/xlink","xlink:arcrole",o);break;case"xlinkRole":st(e,"http://www.w3.org/1999/xlink","xlink:role",o);break;case"xlinkShow":st(e,"http://www.w3.org/1999/xlink","xlink:show",o);break;case"xlinkTitle":st(e,"http://www.w3.org/1999/xlink","xlink:title",o);break;case"xlinkType":st(e,"http://www.w3.org/1999/xlink","xlink:type",o);break;case"xmlBase":st(e,"http://www.w3.org/XML/1998/namespace","xml:base",o);break;case"xmlLang":st(e,"http://www.w3.org/XML/1998/namespace","xml:lang",o);break;case"xmlSpace":st(e,"http://www.w3.org/XML/1998/namespace","xml:space",o);break;case"is":lt(e,"is",o);break;case"innerText":case"textContent":break;default:(!(2<n.length)||"o"!==n[0]&&"O"!==n[0]||"n"!==n[1]&&"N"!==n[1])&<(e,n=Rt.get(n)||n,o)}}function rd(e,t,n,o,r,i){switch(n){case"style":Dt(e,o,i);break;
vendor: 8,664 bytes, line 1
1case"dangerouslySetInnerHTML":if(null!=o){if("object"!=typeof o||!("__html"in o))throw Error(a(61));if(null!=(n=o.__html)){if(null!=r.children)throw Error(a(60));e.innerHTML=n}}break;case"children":"string"==typeof o?jt(e,o):("number"==typeof o||"bigint"==typeof o)&&jt(e,""+o);break;case"onScroll":null!=o&&Uu("scroll",e);break;case"onScrollEnd":null!=o&&Uu("scrollend",e);break;case"onClick":null!=o&&(e.onclick=od);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":case"innerText":case"textContent":break;default:$e.hasOwnProperty(n)||("o"!==n[0]||"n"!==n[1]||(r=n.endsWith("Capture"),t=n.slice(2,r?n.length-7:void 0),"function"==typeof(i=null!=(i=e[Oe]||null)?i[n]:null)&&e.removeEventListener(t,i,r),"function"!=typeof o)?n in e?e[n]=o:!0===o?e.setAttribute(n,""):lt(e,n,o):("function"!=typeof i&&null!==i&&(n in e?e[n]=null:e.hasAttribute(n)&&e.removeAttribute(n)),e.addEventListener(t,o,r)))}}function id(e,t,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":Uu("error",e),Uu("load",e);var o,r=!1,i=!1;for(o in n)if(n.hasOwnProperty(o)){var l=n[o];if(null!=l)switch(o){case"src":r=!0;break;case"srcSet":i=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(a(137,t));default:ad(e,t,o,l,n,null)}}return i&&ad(e,t,"srcSet",n.srcSet,n,null),void(r&&ad(e,t,"src",n.src,n,null));case"input":Uu("invalid",e);var c=o=l=i=null,s=null,u=null;for(r in n)if(n.hasOwnProperty(r)){var d=n[r];if(null!=d)switch(r){case"name":i=d;break;case"type":l=d;break;case"checked":s=d;break;case"defaultChecked":u=d;break;case"value":o=d;break;case"defaultValue":c=d;break;case"children":case"dangerouslySetInnerHTML":if(null!=d)throw Error(a(137,t));break;default:ad(e,t,r,d,n,null)}}return wt(e,o,c,s,u,l,i,!1),void ht(e);case"select":for(i in Uu("invalid",e),r=l=o=null,n)if(n.hasOwnProperty(i)&&null!=(c=n[i]))switch(i){case"value":o=c;break;case"defaultValue":l=c;break;case"multiple":r=c;default:ad(e,t,i,c,n,null)}return t=o,n=l,e.multiple=!!r,void(null!=t?St(e,!!r,t,!1):null!=n&&St(e,!!r,n,!0));case"textarea":for(l in Uu("invalid",e),o=i=r=null,n)if(n.hasOwnProperty(l)&&null!=(c=n[l]))switch(l){case"value":r=c;break;case"defaultValue":i=c;break;case"children":o=c;break;case"dangerouslySetInnerHTML":if(null!=c)throw Error(a(91));break;default:ad(e,t,l,c,n,null)}return Tt(e,r,i,o),void ht(e);case"option":for(s in n)n.hasOwnProperty(s)&&null!=(r=n[s])&&("selected"===s?e.selected=r&&"function"!=typeof r&&"symbol"!=typeof r:ad(e,t,s,r,n,null));return;case"dialog":Uu("beforetoggle",e),Uu("toggle",e),Uu("cancel",e),Uu("close",e);break;case"iframe":case"object":Uu("load",e);break;case"video":case"audio":for(r=0;r<Bu.length;r++)Uu(Bu[r],e);break;case"image":Uu("error",e),Uu("load",e);break;case"details":Uu("toggle",e);break;case"embed":case"source":case"link":Uu("error",e),Uu("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(u in n)if(n.hasOwnProperty(u)&&null!=(r=n[u]))switch(u){case"children":case"dangerouslySetInnerHTML":throw Error(a(137,t));default:ad(e,t,u,r,n,null)}return;default:if(At(t)){for(d in n)n.hasOwnProperty(d)&&void 0!==(r=n[d])&&rd(e,t,d,r,n,void 0);return}}for(c in n)n.hasOwnProperty(c)&&null!=(r=n[c])&&ad(e,t,c,r,n,null)}var ld=null,cd=null;function sd(e){return 9===e.nodeType?e:e.ownerDocument}function ud(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function dd(e,t){if(0===e)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return 1===e&&"foreignObject"===t?0:e}function md(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"bigint"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var _d=null,pd="function"==typeof setTimeout?setTimeout:void 0,fd="function"==typeof clearTimeout?clearTimeout:void 0,bd="function"==typeof Promise?Promise:void 0,hd="function"==typeof queueMicrotask?queueMicrotask:void 0!==bd?function(e){return bd.resolve(null).then(e).catch(gd)}:pd;function gd(e){setTimeout(function(){throw e})}function vd(e){return"head"===e}function yd(e,t){var n=t,o=0,a=0;do{var r=n.nextSibling;if(e.removeChild(n),r&&8===r.nodeType)if("/$"===(n=r.data)){if(0<o&&8>o){var i=e.ownerDocument;if(1&(n=o)&&Td(i.documentElement),2&n&&Td(i.body),4&n)for(Td(n=i.head),i=n.firstChild;i;){var l=i.nextSibling,c=i.nodeName;i[Qe]||"SCRIPT"===c||"STYLE"===c||"LINK"===c&&"stylesheet"===i.rel.toLowerCase()||n.removeChild(i),i=l}}if(0===a)return e.removeChild(r),void Rm(t);a--}else"$"===n||"$?"===n||"$!"===n?a++:o=n.charCodeAt(0)-48;else o=0;n=r}while(n);Rm(t)}function xd(e){var t=e.firstChild;for(t&&10===t.nodeType&&(t=t.nextSibling);t;){var n=t;switch(t=t.nextSibling,n.nodeName){case"HTML":case"HEAD":case"BODY":xd(n),We(n);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if("stylesheet"===n.rel.toLowerCase())continue}e.removeChild(n)}}function kd(e){return"$!"===e.data||"$?"===e.data&&"complete"===e.ownerDocument.readyState}function wd(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t||"F!"===t||"F"===t)break;if("/$"===t)return null}}return e}var Cd=null;function Sd(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}function Nd(e,t,n){switch(t=sd(n),e){case"html":if(!(e=t.documentElement))throw Error(a(452));return e;case"head":if(!(e=t.head))throw Error(a(453));return e;case"body":if(!(e=t.body))throw Error(a(454));return e;default:throw Error(a(451))}}function Td(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);We(e)}var jd=new Map,Ed=new Set;function Pd(e){return"function"==typeof e.getRootNode?e.getRootNode():9===e.nodeType?e:e.ownerDocument}var Dd=H.d;H.d={f:function(){var e=Dd.f(),t=qs();return e||t},r:function(e){var t=Ke(e);null!==t&&5===t.tag&&"form"===t.type?Oi(t):Dd.r(e)},D:function(e){Dd.D(e),Rd("dns-prefetch",e,null)},C:function(e,t){Dd.C(e,t),Rd("preconnect",e,t)},L:function(e,t,n){Dd.L(e,t,n);var o=Ad;if(o&&e&&t){var a='link[rel="preload"][as="'+xt(t)+'"]';"image"===t&&n&&n.imageSrcSet?(a+='[imagesrcset="'+xt(n.imageSrcSet)+'"]',"string"==typeof n.imageSizes&&(a+='[imagesizes="'+xt(n.imageSizes)+'"]')):a+='[href="'+xt(e)+'"]';var r=a;switch(t){case"style":r=Ld(e);break;case"script":r=Fd(e)}jd.has(r)||(e=d({rel:"preload",href:"image"===t&&n&&n.imageSrcSet?void 0:e,as:t},n),jd.set(r,e),null!==o.querySelector(a)||"style"===t&&o.querySelector(Md(r))||"script"===t&&o.querySelector(Od(r))||(id(t=o.createElement("link"),"link",e),Je(t),o.head.appendChild(t)))}},m:function(e,t){Dd.m(e,t);var n=Ad;if(n&&e){var o=t&&"string"==typeof t.as?t.as:"script",a='link[rel="modulepreload"][as="'+xt(o)+'"][href="'+xt(e)+'"]',r=a;switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Fd(e)}if(!jd.has(r)&&(e=d({rel:"modulepreload",href:e},t),jd.set(r,e),null===n.querySelector(a))){switch(o){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(n.querySelector(Od(r)))return}id(o=n.createElement("link"),"link",e),Je(o),n.head.appendChild(o)}}},X:function(e,t){Dd.X(e,t);var n=Ad;if(n&&e){var o=Ye(n).hoistableScripts,a=Fd(e),r=o.get(a);r||((r=n.querySelector(Od(a)))||(e=d({src:e,async:!0},t),(t=jd.get(a))&&Ud(e,t),Je(r=n.createElement("script")),id(r,"link",e),n.head.appendChild(r)),o.set(a,r={type:"script",instance:r,count:1,state:null}))}},S:function(e,t,n){Dd.S(e,t,n);var o=Ad;if(o&&e){var a=Ye(o).hoistableStyles,r=Ld(e);t=t||"default";var i=a.get(r);if(!i){var l={loading:0,preload:null};if(i=o.querySelector(Md(r)))l.loading=5;else{e=d({rel:"stylesheet",href:e,"data-precedence":t},n),(n=jd.get(r))&&Vd(e,n);var c=i=o.createElement("link");Je(c),id(c,"link",e),c._p=new Promise(function(e,t){c.onload=e,c.onerror=t}),c.addEventListener("load",function(){l.loading|=1}),c.addEventListener("error",function(){l.loading|=2}),l.loading|=4,Hd(i,t,o)}a.set(r,i={type:"stylesheet",instance:i,count:1,state:l})}}},M:function(e,t){Dd.M(e,t);var n=Ad;if(n&&e){var o=Ye(n).hoistableScripts,a=Fd(e),r=o.get(a);r||((r=n.querySelector(Od(a)))||(e=d({src:e,async:!0,type:"module"},t),(t=jd.get(a))&&Ud(e,t),Je(r=n.createElement("script")),id(r,"link",e),n.head.appendChild(r)),o.set(a,r={type:"script",instance:r,count:1,state:null}))}}};
vendor: 7,845 bytes, line 1
1var Ad="undefined"==typeof document?null:document;function Rd(e,t,n){var o=Ad;if(o&&"string"==typeof t&&t){var a=xt(t);a='link[rel="'+e+'"][href="'+a+'"]',"string"==typeof n&&(a+='[crossorigin="'+n+'"]'),Ed.has(a)||(Ed.add(a),e={rel:e,crossOrigin:n,href:t},null===o.querySelector(a)&&(id(t=o.createElement("link"),"link",e),Je(t),o.head.appendChild(t)))}}function zd(e,t,n,o){var r,i,l,c,s=(s=Y.current)?Pd(s):null;if(!s)throw Error(a(446));switch(e){case"meta":case"title":return null;case"style":return"string"==typeof n.precedence&&"string"==typeof n.href?(t=Ld(n.href),(o=(n=Ye(s).hoistableStyles).get(t))||n.set(t,o={type:"style",instance:null,count:0,state:null}),o):{type:"void",instance:null,count:0,state:null};case"link":if("stylesheet"===n.rel&&"string"==typeof n.href&&"string"==typeof n.precedence){e=Ld(n.href);var u=Ye(s).hoistableStyles,d=u.get(e);if(d||(s=s.ownerDocument||s,u.set(e,d={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}}),(u=s.querySelector(Md(e)))&&!u._p&&(d.instance=u,d.state.loading=5),jd.has(e)||(jd.set(e,n={rel:"preload",as:"style",href:n.href,crossOrigin:n.crossOrigin,integrity:n.integrity,media:n.media,hrefLang:n.hrefLang,referrerPolicy:n.referrerPolicy}),u||(l=n,c=d.state,(r=s).querySelector('link[rel="preload"][as="style"]['+(i=e)+"]")?c.loading=1:(i=r.createElement("link"),c.preload=i,i.addEventListener("load",function(){return c.loading|=1}),i.addEventListener("error",function(){return c.loading|=2}),id(i,"link",l),Je(i),r.head.appendChild(i))))),t&&null===o)throw Error(a(528,""));return d}if(t&&null!==o)throw Error(a(529,""));return null;case"script":return t=n.async,"string"==typeof(n=n.src)&&t&&"function"!=typeof t&&"symbol"!=typeof t?(t=Fd(n),(o=(n=Ye(s).hoistableScripts).get(t))||n.set(t,o={type:"script",instance:null,count:0,state:null}),o):{type:"void",instance:null,count:0,state:null};default:throw Error(a(444,e))}}function Ld(e){return'href="'+xt(e)+'"'}function Md(e){return'link[rel="stylesheet"]['+e+"]"}function Id(e){return d({},e,{"data-precedence":e.precedence,precedence:null})}function Fd(e){return'[src="'+xt(e)+'"]'}function Od(e){return"script[async]"+e}function Bd(e,t,n){if(t.count++,null===t.instance)switch(t.type){case"style":var o=e.querySelector('style[data-href~="'+xt(n.href)+'"]');if(o)return t.instance=o,Je(o),o;var r=d({},n,{"data-href":n.href,"data-precedence":n.precedence,href:null,precedence:null});return Je(o=(e.ownerDocument||e).createElement("style")),id(o,"style",r),Hd(o,n.precedence,e),t.instance=o;case"stylesheet":r=Ld(n.href);var i=e.querySelector(Md(r));if(i)return t.state.loading|=4,t.instance=i,Je(i),i;o=Id(n),(r=jd.get(r))&&Vd(o,r),Je(i=(e.ownerDocument||e).createElement("link"));var l=i;return l._p=new Promise(function(e,t){l.onload=e,l.onerror=t}),id(i,"link",o),t.state.loading|=4,Hd(i,n.precedence,e),t.instance=i;case"script":return i=Fd(n.src),(r=e.querySelector(Od(i)))?(t.instance=r,Je(r),r):(o=n,(r=jd.get(i))&&Ud(o=d({},n),r),Je(r=(e=e.ownerDocument||e).createElement("script")),id(r,"link",o),e.head.appendChild(r),t.instance=r);case"void":return null;default:throw Error(a(443,t.type))}else"stylesheet"===t.type&&!(4&t.state.loading)&&(o=t.instance,t.state.loading|=4,Hd(o,n.precedence,e));return t.instance}function Hd(e,t,n){for(var o=n.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),a=o.length?o[o.length-1]:null,r=a,i=0;i<o.length;i++){var l=o[i];if(l.dataset.precedence===t)r=l;else if(r!==a)break}r?r.parentNode.insertBefore(e,r.nextSibling):(t=9===n.nodeType?n.head:n).insertBefore(e,t.firstChild)}function Vd(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.title&&(e.title=t.title)}function Ud(e,t){null==e.crossOrigin&&(e.crossOrigin=t.crossOrigin),null==e.referrerPolicy&&(e.referrerPolicy=t.referrerPolicy),null==e.integrity&&(e.integrity=t.integrity)}var Gd=null;function Qd(e,t,n){if(null===Gd){var o=new Map,a=Gd=new Map;a.set(n,o)}else(o=(a=Gd).get(n))||a.set(n,o=new Map);if(o.has(e))return o;for(o.set(e,null),n=n.getElementsByTagName(e),a=0;a<n.length;a++){var r=n[a];if(!(r[Qe]||r[Fe]||"link"===e&&"stylesheet"===r.getAttribute("rel"))&&"http://www.w3.org/2000/svg"!==r.namespaceURI){var i=r.getAttribute(t)||"",l=o.get(i=e+i);l?l.push(r):o.set(i,[r])}}return o}function Wd(e,t,n){(e=e.ownerDocument||e).head.insertBefore(n,"title"===t?e.querySelector("head > title"):null)}function qd(e){return!!("stylesheet"!==e.type||3&e.state.loading)}var Kd=null;function Xd(){}function Yd(){if(this.count--,0===this.count)if(this.stylesheets)Zd(this,this.stylesheets);else if(this.unsuspend){var e=this.unsuspend;this.unsuspend=null,e()}}var Jd=null;function Zd(e,t){e.stylesheets=null,null!==e.unsuspend&&(e.count++,Jd=new Map,t.forEach($d,e),Jd=null,Yd.call(e))}function $d(e,t){if(!(4&t.state.loading)){var n=Jd.get(e);if(n)var o=n.get(null);else{Jd.set(e,n=new Map);for(var a=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<a.length;r++){var i=a[r];"LINK"!==i.nodeName&&"not all"===i.getAttribute("media")||(n.set(i.dataset.precedence,i),o=i)}o&&n.set(null,o)}i=(a=t.instance).getAttribute("data-precedence"),(r=n.get(i)||o)===o&&n.set(null,a),n.set(i,a),this.count++,o=Yd.bind(this),a.addEventListener("load",o),a.addEventListener("error",o),r?r.parentNode.insertBefore(a,r.nextSibling):(e=9===e.nodeType?e.head:e).insertBefore(a,e.firstChild),t.state.loading|=4}}var em={$$typeof:T,Provider:null,Consumer:null,_currentValue:V,_currentValue2:V,_threadCount:0};function tm(e,t,n,o,a,r,i,l){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Pe(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Pe(0),this.hiddenUpdates=Pe(null),this.identifierPrefix=o,this.onUncaughtError=a,this.onCaughtError=r,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=l,this.incompleteTransitions=new Map}function nm(e,t,n,o,a,r,i,l,c,s,u,d){return e=new tm(e,t,n,i,l,c,s,d),t=1,!0===r&&(t|=24),r=Uo(3,null,null,t),e.current=r,r.stateNode=e,(t=Ba()).refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:o,isDehydrated:n,cache:t},sr(r),e}function om(e){return e?e=Ho:Ho}function am(e,t,n,o,a,r){a=om(a),null===o.context?o.context=a:o.pendingContext=a,(o=dr(t)).payload={element:n},null!==(r=void 0===r?null:r)&&(o.callback=r),null!==(n=mr(e,o,t))&&(Vs(n,0,t),_r(n,e,t))}function rm(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function im(e,t){rm(e,t),(e=e.alternate)&&rm(e,t)}function lm(e){if(13===e.tag){var t=Fo(e,67108864);null!==t&&Vs(t,0,67108864),im(e,67108864)}}var cm=!0;function sm(e,t,n,o){var a=B.T;B.T=null;var r=H.p;try{H.p=2,dm(e,t,n,o)}finally{H.p=r,B.T=a}}function um(e,t,n,o){var a=B.T;B.T=null;var r=H.p;try{H.p=8,dm(e,t,n,o)}finally{H.p=r,B.T=a}}function dm(e,t,n,o){if(cm){var a=mm(o);if(null===a)Ku(e,t,o,_m,n),Cm(e,o);else if(function(e,t,n,o,a){switch(t){case"focusin":return hm=Sm(hm,e,t,n,o,a),!0;case"dragenter":return gm=Sm(gm,e,t,n,o,a),!0;case"mouseover":return vm=Sm(vm,e,t,n,o,a),!0;case"pointerover":var r=a.pointerId;return ym.set(r,Sm(ym.get(r)||null,e,t,n,o,a)),!0;case"gotpointercapture":return xm.set(r=a.pointerId,Sm(xm.get(r)||null,e,t,n,o,a)),!0}return!1}(a,e,t,n,o))o.stopPropagation();else if(Cm(e,o),4&t&&-1<wm.indexOf(e)){for(;null!==a;){var r=Ke(a);if(null!==r)switch(r.tag){case 3:if((r=r.stateNode).current.memoizedState.isDehydrated){var i=Ce(r.pendingLanes);if(0!==i){var l=r;
vendor: 2,867 bytes, line 1
1for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var c=1<<31-ve(i);l.entanglements[1]|=c,i&=~c}ju(r),!(6&cs)&&(js=le()+500,Eu(0))}}break;case 13:null!==(l=Fo(r,2))&&Vs(l,0,2),qs(),im(r,2)}if(null===(r=mm(o))&&Ku(e,t,o,_m,n),r===a)break;a=r}null!==a&&o.stopPropagation()}else Ku(e,t,o,null,n)}}function mm(e){return pm(e=It(e))}var _m=null;function pm(e){if(_m=null,null!==(e=qe(e))){var t=i(e);if(null===t)e=null;else{var n=t.tag;if(13===n){if(null!==(e=l(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return _m=e,null}function fm(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(ce()){case se:return 2;case ue:return 8;case de:case me:return 32;case _e:return 268435456;default:return 32}default:return 32}}var bm=!1,hm=null,gm=null,vm=null,ym=new Map,xm=new Map,km=[],wm="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function Cm(e,t){switch(e){case"focusin":case"focusout":hm=null;break;case"dragenter":case"dragleave":gm=null;break;case"mouseover":case"mouseout":vm=null;break;case"pointerover":case"pointerout":ym.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":xm.delete(t.pointerId)}}function Sm(e,t,n,o,a,r){return null===e||e.nativeEvent!==r?(e={blockedOn:t,domEventName:n,eventSystemFlags:o,nativeEvent:r,targetContainers:[a]},null!==t&&null!==(t=Ke(t))&&lm(t),e):(e.eventSystemFlags|=o,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Nm(e){var t=qe(e.target);if(null!==t){var n=i(t);
1if(null!==n)if(13===(t=n.tag)){if(null!==(t=l(n)))return e.blockedOn=t,void function(e){var t=H.p;try{return H.p=e,function(){if(13===n.tag){var e=Bs();e=ze(e);var t=Fo(n,e);null!==t&&Vs(t,0,e),im(n,e)}}()}finally{H.p=t}}(e.priority)}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Tm(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=mm(e.nativeEvent);if(null!==n)return null!==(t=Ke(n))&&lm(t),e.blockedOn=n,!1;var o=new(n=e.nativeEvent).constructor(n.type,n);Mt=o,n.target.dispatchEvent(o),Mt=null,t.shift()}return!0}function jm(e,t,n){Tm(e)&&n.delete(t)}function Em(){bm=!1,null!==hm&&Tm(hm)&&(hm=null),null!==gm&&Tm(gm)&&(gm=null),null!==vm&&Tm(vm)&&(vm=null),ym.forEach(jm),xm.forEach(jm)}function Pm(e,n){e.blockedOn===n&&(e.blockedOn=null,bm||(bm=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Em)))}var Dm=null;function Am(e){Dm!==e&&(Dm=e,t.unstable_scheduleCallback(t.unstable_NormalPriority,function(){Dm===e&&(Dm=null);for(var t=0;t<e.length;t+=3){var n=e[t],o=e[t+1],a=e[t+2];if("function"!=typeof o){if(null===pm(o||n))continue;break}var r=Ke(n);null!==r&&(e.splice(t,3),t-=3,Ii(r,{pending:!0,data:a,method:n.method,action:o},o,a))}}))}function Rm(e){function t(t){return Pm(t,e)}null!==hm&&Pm(hm,e),null!==gm&&Pm(gm,e),null!==vm&&Pm(vm,e),ym.forEach(t),xm.forEach(t);for(var n=0;n<km.length;n++){var o=km[n];o.blockedOn===e&&(o.blockedOn=null)}for(;0<km.length&&null===(n=km[0]).blockedOn;)Nm(n),null===n.blockedOn&&km.shift();if(null!=(n=(e.ownerDocument||e).$$reactFormReplay))for(o=0;o<n.length;o+=3){var a=n[o],r=n[o+1],i=a[Oe]||null;if("function"==typeof r)i||Am(n);else if(i){var l=null;if(r&&r.hasAttribute("formAction")){if(a=r,i=r[Oe]||null)l=i.formAction;else if(null!==pm(a))continue}else l=i.action;"function"==typeof l?n[o+1]=l:(n.splice(o,3),o-=3),Am(n)}}}function zm(e){this._internalRoot=e}function Lm(e){this._internalRoot=e}Lm.prototype.render=zm.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));am(t.current,Bs(),e,t,null,null)},Lm.prototype.unmount=zm.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;am(e.current,2,null,e,null,null),qs(),t[Be]=null}},Lm.prototype.unstable_scheduleHydration=function(e){if(e){var t=Me();e={blockedOn:null,target:e,priority:t};for(var n=0;n<km.length&&0!==t&&t<km[n].priority;n++);km.splice(n,0,e),0===n&&Nm(e)}};var Mm=n.version;if("19.1.0"!==Mm)throw Error(a(527,Mm,"19.1.0"));H.findDOMNode=function(e){var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return e=function(e){var t=e.alternate;if(!t){if(null===(t=i(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,o=t;;){var r=n.return;if(null===r)break;var l=r.alternate;if(null===l){if(null!==(o=r.return)){n=o;continue}break}if(r.child===l.child){for(l=r.child;l;){if(l===n)return c(r),e;if(l===o)return c(r),t;l=l.sibling}throw Error(a(188))}if(n.return!==o.return)n=r,o=l;else{for(var s=!1,u=r.child;u;){if(u===n){s=!0,n=r,o=l;break}if(u===o){s=!0,o=r,n=l;break}u=u.sibling}if(!s){for(u=l.child;u;){if(u===n){s=!0,n=l,o=r;break}if(u===o){s=!0,o=l,n=r;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==o)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(t),null===(e=null!==e?s(e):null)?null:e.stateNode};var Im={bundleType:0,version:"19.1.0",rendererPackageName:"react-dom",currentDispatcherRef:B,reconcilerVersion:"19.1.0"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var Fm=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Fm.isDisabled&&Fm.supportsFiber)try{be=Fm.inject(Im),he=Fm}catch(Bm){}}return x.createRoot=function(e,t){if(!r(e))throw Error(a(299));var n=!1,o="",i=Cl,l=Sl,c=Nl;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onUncaughtError&&(i=t.onUncaughtError),void 0!==t.onCaughtError&&(l=t.onCaughtError),void 0!==t.onRecoverableError&&(c=t.onRecoverableError)),t=nm(e,1,!1,null,0,n,o,i,l,c,0,null),e[Be]=t.current,Wu(e),new zm(t)},x.hydrateRoot=function(e,t,n){if(!r(e))throw Error(a(299));var o=!1,i="",l=Cl,c=Sl,s=Nl,u=null;return null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onUncaughtError&&(l=n.onUncaughtError),void 0!==n.onCaughtError&&(c=n.onCaughtError),void 0!==n.onRecoverableError&&(s=n.onRecoverableError),void 0!==n.formState&&(u=n.formState)),(t=nm(e,1,!0,t,0,o,i,l,c,s,0,u)).context=om(null),n=t.current,(i=dr(o=ze(o=Bs()))).callback=null,mr(n,i,o),t.current.lanes=n=o,De(t,n),ju(t),e[Be]=t.current,Wu(e),new Lm(t)},x.version="19.1.0",x}();class S{constructor(){o(this,"rootElement",null),o(this,"root",null),o(this,"visible",!1),o(this,"personIdentifier"),o(this,"encryptedEmailAddress"),o(this,"headerTitle"),o(this,"translations"),o(this,"element"),o(this,"reCaptchaSiteKey",""),o(this,"onVisibilityChangeCallback",null),this.toggleModal=this.toggleModal.bind(this),this.showModal=this.showModal.bind(this),this.hideModal=this.hideModal.bind(this),this.updatePersonIdentifier=this.updatePersonIdentifier.bind(this),this.updateEncryptedEmail=this.updateEncryptedEmail.bind(this),this.updateHeaderTitle=this.updateHeaderTitle.bind(this)}updatePersonIdentifier(e){this.personIdentifier=e,this.renderModal()}updateEncryptedEmail(e){this.encryptedEmailAddress=e,this.renderModal()}updateHeaderTitle(e){this.headerTitle=e,this.renderModal()}async initialize(e){const{element:t,translations:n,reCaptchaSiteKey:o,onVisibilityChange:a}=e;this.element=t,this.translations=n,this.reCaptchaSiteKey=o||"",this.onVisibilityChangeCallback=a||null}async fetchSettingsAndCreateElement(){if(this.translations)this.reCaptchaSiteKey=this.reCaptchaSiteKey||"";else try{const e=await(async()=>{try{const e=await f.callApi("GET","/api/presentation/v2/person/","contact-modal-configuration",void 0,void 0);if(!e||!e.content)throw new Error("Failed to fetch contact modal configuration");const t=e.content;return{translations:{mailFormHeader:t.mailFormTranslations.mailFormHeader,mailFormTitle:t.mailFormTranslations.mailFormTitle,mailFormText:t.mailFormTranslations.mailFormText,mailFormFrom:t.mailFormTranslations.mailFormFrom,mailFormRequired:t.mailFormTranslations.mailFormRequired,mailFormFieldRequired:t.mailFormTranslations.mailFormFieldRequired,mailFormFieldTitleRequired:t.mailFormTranslations.mailFormFieldTitleRequired,mailFormFieldContentRequired:t.mailFormTranslations.mailFormFieldContentRequired,mailFormFieldMailRequired:t.mailFormTranslations.mailFormFieldMailRequired,mailFormSendButton:t.mailFormTranslations.mailFormSendButton,mailFormCancelButton:t.mailFormTranslations.mailFormCancelButton,mailFormAriaDetailCloseTopButton:t.mailFormTranslations.mailFormAriaDetailCloseTopButton,mailFormMinimumErrorText:t.mailFormTranslations.mailFormMinimumErrorText,mailFormInputTypeError:t.mailFormTranslations.mailFormInputTypeError,mailFormFromError:t.mailFormTranslations.mailFormFromError,mailFormRecaptchaError:t.mailFormTranslations.mailFormRecaptchaError,mailFormAllFieldsAreObligatory:t.mailFormTranslations.mailFormAllFieldsAreObligatory,receiptTitle:t.mailFormTranslations.receiptTitle,receiptBodyMailTo:t.mailFormTranslations.receiptBodyMailTo,receiptBodySent:t.mailFormTranslations.receiptBodySent,receiptClose:t.mailFormTranslations.receiptClose,receiptErrorTitle:t.mailFormTranslations.receiptErrorTitle,receiptErrorBody:t.mailFormTranslations.receiptErrorBody},reCaptchaSiteKey:t.reCaptchaSiteKey||""}}catch(e){return{translations:{},reCaptchaSiteKey:""}}})();this.translations=e.translations,this.reCaptchaSiteKey=this.reCaptchaSiteKey||e.reCaptchaSiteKey||""}catch(e){this.translations={},this.reCaptchaSiteKey=this.reCaptchaSiteKey||""}if("string"==typeof this.element){let e=document.getElementById(this.element);e||(e=document.createElement("div"),e.id=this.element,document.body.appendChild(e)),this.rootElement=e}else this.rootElement=this.element;this.root||(this.root=C.createRoot(this.rootElement)),this.renderModal()}toggleModal(){this.visible=!this.visible,this.fetchSettingsAndCreateElement(),this.onVisibilityChangeCallback&&this.onVisibilityChangeCallback(this.visible)}async showModal(){this.visible||(this.visible=!0,await this.fetchSettingsAndCreateElement(),this.onVisibilityChangeCallback&&this.onVisibilityChangeCallback(!0))}hideModal(){this.visible&&(this.visible=!1,this.renderModal(),this.onVisibilityChangeCallback&&this.onVisibilityChangeCallback(!1))}renderModal(){this.root&&this.root.render(this.visible||this.personIdentifier||this.encryptedEmailAddress?l.jsx(h,{personIdentifier:this.personIdentifier,encryptedEmailAddress:this.encryptedEmailAddress,personName:this.headerTitle,showMailForm:this.visible,setShowMailForm:e=>{const t="boolean"==typeof e?e:!this.visible;this.visible!==t&&(this.visible=t,this.renderModal(),this.onVisibilityChangeCallback&&this.onVisibilityChangeCallback(this.visible))},translations:this.translations,reCaptchaSiteKey:this.reCaptchaSiteKey}):null)}destroy(){this.root&&(this.root.unmount(),this.root=null),this.rootElement&&(this.rootElement.remove(),this.rootElement=null)}}class N extends HTMLElement{constructor(){super(),o(this,"bridge"),o(this,"container"),o(this,"contentContainer"),o(this,"initialized",!1),o(this,"personIdentifier",null),o(this,"_email",null),o(this,"_headerTitle",null),o(this,"boundHandleClick"),o(this,"handleVisibilityChange",e=>{!e&&this.hasAttribute("open")?this.removeAttribute("open"):e&&!this.hasAttribute("open")&&this.setAttribute("open","")}),this.bridge=new S,this.container=document.createElement("div"),this.container.id=`contact-modal-container-${Math.round(1e4*Math.random())}`,this.style.display="block",this.contentContainer=document.createElement("div"),this.contentContainer.className="
1contact-modal-content";const e=document.createElement("slot");this.contentContainer.appendChild(e),this.boundHandleClick=this.handleClick.bind(this),this.attachShadow({mode:"open"}),this.shadowRoot.appendChild(this.contentContainer),this.shadowRoot.appendChild(this.container),this.contentContainer.addEventListener("click",this.boundHandleClick)}static get observedAttributes(){return["encryptedemail","personidentifier","open","headertitle"]}handleClick(e){this.setAttribute("open",""),e.preventDefault(),e.stopPropagation()}initializeBridge(){this.initialized||this.bridge.initialize({element:this.container,onVisibilityChange:this.handleVisibilityChange}).then(()=>{this.initialized=!0,this.updateConfiguration(),this.hasAttribute("open")&&this.bridge.showModal()}).catch(e=>{})}updateConfiguration(){this.personIdentifier&&this.bridge.updatePersonIdentifier(this.personIdentifier),this._email&&this.bridge.updateEncryptedEmail(this._email),this._headerTitle&&this.bridge.updateHeaderTitle(this._headerTitle)}connectedCallback(){this.initializeBridge()}attributeChangedCallback(e,t,n){if(t!==n)switch(e=e.toLowerCase().replace(/-/g,"")){case"encryptedemail":this._email=n,this.initialized&&this.updateConfiguration();break;case"personidentifier":this.personIdentifier=n,n&&this.initialized&&this.updateConfiguration();break;case"headertitle":this._headerTitle=n,this.initialized&&this.updateConfiguration();break;case"open":this.initialized&&(null!==n?this.bridge.showModal():this.bridge.hideModal())}}disconnectedCallback(){this.contentContainer.removeEventListener("click",this.boundHandleClick),this.bridge&&this.bridge.destroy()}}class T extends HTMLElement{constructor(){super(),o(this,"button",null),o(this,"_encryptedValue",""),o(this,"_buttonText","Click me"),o(this,"_buttonTextAria","Click me"),o(this,"originalButtonText","Click me"),o(this,"originalButtonTextAria","Click me"),o(this,"_customButton",!1),o(this,"abortController",null),o(this,"buttonTextTimeout",null),o(this,"_buttonTimeoutText","Please wait {0} seconds"),o(this,"ariaLiveRegion",null)}static get observedAttributes(){return["encrypted-value","button-text","button-timeout-text"]}connectedCallback(){setTimeout(()=>{if(this.button=this.querySelector("button"),this.button){this._customButton=!0,this._buttonText=this.button.textContent??this._buttonText,this._buttonTextAria=this.button.getAttribute("aria-label")||this._buttonTextAria,this.originalButtonText=this._buttonText,this.originalButtonTextAria=this._buttonTextAria;const e=this.querySelector("button span");e&&e.setAttribute("aria-hidden","true")}else this._customButton=!1,this.attachShadow({mode:"open"}),this.button=document.createElement("button"),this.shadowRoot.appendChild(this.button),this.originalButtonText=this._buttonText,this.originalButtonTextAria=this._buttonTextAria;this.createAriaLiveRegion(),this.button&&this.button.setAttribute("aria-label",this.originalButtonTextAria),this.button.addEventListener("click",this.handleClick.bind(this)),this.updateButton()},0)}disconnectedCallback(){this.abortController&&(this.abortController.abort(),this.abortController=null),null!==this.buttonTextTimeout&&(clearTimeout(this.buttonTextTimeout),this.buttonTextTimeout=null),this.ariaLiveRegion&&this.ariaLiveRegion.parentNode&&(this.ariaLiveRegion.parentNode.removeChild(this.ariaLiveRegion),this.ariaLiveRegion=null)}get encryptedValue(){return this._encryptedValue}set encryptedValue(e){this._encryptedValue=e}get buttonText(){return this._buttonText}set buttonText(e){this._buttonText=e}get buttonTextAria(){return this._buttonTextAria}set buttonTextAria(e){this._buttonTextAria=e}get buttonTimeoutText(){return this._buttonTimeoutText}set buttonTimeoutText(e){this._buttonTimeoutText=e}attributeChangedCallback(e,t,n){if(t!==n)switch(e){case"encrypted-value":this.encryptedValue=n||"";break;case"button-text":this.buttonText=n||"Click me",this.originalButtonText=this.buttonText,this.updateButton();break;case"button-timeout-text":this.buttonTimeoutText=n||"Please wait {0} seconds"}}updateButton(){if(!this._customButton&&this.button&&(this.button.textContent=this._buttonText),this._customButton){const e=this.querySelector("button span");e&&(e.textContent=this._buttonText)}}createAriaLiveRegion(){this.ariaLiveRegion=document.createElement("div"),this.ariaLiveRegion.setAttribute("aria-live","polite"),this.ariaLiveRegion.setAttribute("aria-atomic","true"),this.ariaLiveRegion.style.position="absolute",this.ariaLiveRegion.style.left="-10000px",this.ariaLiveRegion.style.width="1px",this.ariaLiveRegion.style.height="1px",this.ariaLiveRegion.style.overflow="hidden",document.body.appendChild(this.ariaLiveRegion)}announceToScreenReader(e){this.ariaLiveRegion&&(this.ariaLiveRegion.textContent="",setTimeout(()=>{this.ariaLiveRegion&&(this.ariaLiveRegion.textContent=e)},100))}setButtonTextAfterDelay(e){this.buttonTextTimeout=window.setTimeout(()=>{e>0?(this.buttonText=this._buttonTimeoutText.replace("{0}",e.toString()),this.updateButton(),e%5==0&&this.announceToScreenReader(this.buttonText),this.setButtonTextAfterDelay(e-1)):(this.buttonText=this.originalButtonText,this.updateButton(),this.announceToScreenReader(this.originalButtonTextAria),null!==this.buttonTextTimeout&&(clearTimeout(this.buttonTextTimeout),this.buttonTextTimeout=null))},1e3)}handleClick(e){e.stopPropagation(),null===this.buttonTextTimeout&&(this.abortController&&this.abortController.abort(),this.abortController=new AbortController,(async(e,t)=>{try{const n=(window.baseUrl||"").replace(/\/+$/,""),o=n?`${n}/api/presentation/v2/person/`:"/api/presentation/v2/person/",a=await f.callApi("POST",o,"valuev2",e,void 0,t);
1if(!a||!a.content)throw new Error("API call failed");return a.content}catch(n){throw n instanceof Error?n:new Error("Decryption failed")}})(this._encryptedValue,this.abortController).then(e=>{if("number"==typeof e)null!==this.buttonTextTimeout&&(clearTimeout(this.buttonTextTimeout),this.buttonTextTimeout=null),this.buttonText=this._buttonTimeoutText.replace("{0}",e.toString()),this.updateButton(),this.announceToScreenReader(this.buttonText),this.setButtonTextAfterDelay(e-1);else{const t=this.parentNode;if(t){const n=document.createRange().createContextualFragment(e.content);t.replaceChild(n,this)}}}).catch(e=>{}).finally(()=>{this.abortController=null}),e.preventDefault())}}const j=S;"undefined"!=typeof window&&(window.AcosSharedComponents=window.AcosSharedComponents||{},window.AcosSharedComponents.ContactModalVanillaJs=j,"undefined"!=typeof customElements&&(customElements.get("contact-modal")||customElements.define("contact-modal",N),customElements.get("decrypt-value-button")||customElements.define("decrypt-value-button",T))),e.ContactModal=h,e.ContactModalBridge=S,e.ContactModalElement=N,e.DecryptValueButton=T,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.