quicksnack 3.90.0 → 3.91.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.js
CHANGED
|
@@ -2046,9 +2046,9 @@ const SimpleTimeline = ({ color, icon, title, titleMeta, }) => (React.createElem
|
|
|
2046
2046
|
React.createElement(Box, { pb: 4, flexGrow: 1 },
|
|
2047
2047
|
React.createElement(Panel, { className: classes$e.flatPanel, titleMeta: titleMeta, title: title }))));
|
|
2048
2048
|
|
|
2049
|
-
var classes$d = {"wrapper":"TopBar-module_wrapper__DVlec"};
|
|
2049
|
+
var classes$d = {"wrapper":"TopBar-module_wrapper__DVlec","sticky":"TopBar-module_sticky__89fwl"};
|
|
2050
2050
|
|
|
2051
|
-
const TopBar = ({ left, right, }) => (React.createElement(Box, { className: classes$d.wrapper },
|
|
2051
|
+
const TopBar = ({ left, right, isSticky = false, }) => (React.createElement(Box, { className: clsx(classes$d.wrapper, isSticky && classes$d.sticky) },
|
|
2052
2052
|
React.createElement(Box, { display: "flex", alignItems: "center", pb: 1, pt: 1, pr: 5, pl: {
|
|
2053
2053
|
mobile: 5,
|
|
2054
2054
|
laptop: 5 + SIDEBAR_COLLAPSED_WIDTH,
|
package/dist/bundle.min.js
CHANGED
|
@@ -7,4 +7,4 @@
|
|
|
7
7
|
*
|
|
8
8
|
* This source code is licensed under the MIT license found in the
|
|
9
9
|
* LICENSE file in the root directory of this source tree.
|
|
10
|
-
*/"production"===process.env.NODE_ENV?(!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==process.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),ce.exports=function(){if(me)return ue;me=1;var t=e;function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}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(){}var o={d:{f:r,r:function(){throw Error(a(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},l=Symbol.for("react.portal"),n=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return ue.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,ue.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(a(299));return function(e,t,a){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:l,key:null==r?null:""+r,children:e,containerInfo:t,implementation:a}}(e,t,null,r)},ue.flushSync=function(e){var t=n.T,a=o.p;try{if(n.T=null,o.p=2,e)return e()}finally{n.T=t,o.p=a,o.d.f()}},ue.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))},ue.prefetchDNS=function(e){"string"==typeof e&&o.d.D(e)},ue.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var a=t.as,r=s(a,t.crossOrigin),l="string"==typeof t.integrity?t.integrity:void 0,n="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===a?o.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:l,fetchPriority:n}):"script"===a&&o.d.X(e,{crossOrigin:r,integrity:l,fetchPriority:n,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},ue.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var a=s(t.as,t.crossOrigin);o.d.M(e,{crossOrigin:a,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)},ue.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var a=t.as,r=s(a,t.crossOrigin);o.d.L(e,a,{crossOrigin:r,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:"string"==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})}},ue.preloadModule=function(e,t){if("string"==typeof e)if(t){var a=s(t.as,t.crossOrigin);o.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else o.d.m(e)},ue.requestFormReset=function(e){o.d.r(e)},ue.unstable_batchedUpdates=function(e,t){return e(t)},ue.useFormState=function(e,t,a){return n.H.useFormState(e,t,a)},ue.useFormStatus=function(){return n.H.useHostTransitionStatus()},ue.version="19.2.5",ue}()):ce.exports=(pe||(pe=1,"production"!==process.env.NODE_ENV&&function(){function t(){}function a(e){return""+e}function r(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}function o(e){return null===e?"`null`":void 0===e?"`undefined`":""===e?"an empty string":'something with type "'+typeof e+'"'}function l(e){return null===e?"`null`":void 0===e?"`undefined`":""===e?"an empty string":"string"==typeof e?JSON.stringify(e):"number"==typeof e?"`"+e+"`":'something with type "'+typeof e+'"'}function n(){var e=c.H;return null===e&&console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),e}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=e,i={d:{f:t,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},p=Symbol.for("react.portal"),c=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),de.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,de.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error("Target container is not a DOM element.");return function(e,t,r){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;try{a(o);var l=!1}catch(e){l=!0}return l&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.","function"==typeof Symbol&&Symbol.toStringTag&&o[Symbol.toStringTag]||o.constructor.name||"Object"),a(o)),{$$typeof:p,key:null==o?null:""+o,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},de.flushSync=function(e){var t=c.T,a=i.p;try{if(c.T=null,i.p=2,e)return e()}finally{c.T=t,i.p=a,i.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},de.preconnect=function(e,t){"string"==typeof e&&e?null!=t&&"object"!=typeof t?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",l(t)):null!=t&&"string"!=typeof t.crossOrigin&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",o(t.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(e)),"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},de.prefetchDNS=function(e){if("string"==typeof e&&e){if(1<arguments.length){var t=arguments[1];"object"==typeof t&&t.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",l(t)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",l(t))}}else console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(e));"string"==typeof e&&i.d.D(e)},de.preinit=function(e,t){if("string"==typeof e&&e?null==t||"object"!=typeof t?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",l(t)):"style"!==t.as&&"script"!==t.as&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',l(t.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(e)),"string"==typeof e&&t&&"string"==typeof t.as){var a=t.as,n=r(a,t.crossOrigin),s="string"==typeof t.integrity?t.integrity:void 0,p="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===a?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:n,integrity:s,fetchPriority:p}):"script"===a&&i.d.X(e,{crossOrigin:n,integrity:s,fetchPriority:p,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},de.preinitModule=function(e,t){var a="";"string"==typeof e&&e||(a+=" The `href` argument encountered was "+o(e)+"."),void 0!==t&&"object"!=typeof t?a+=" The `options` argument encountered was "+o(t)+".":t&&"as"in t&&"script"!==t.as&&(a+=" The `as` option encountered was "+l(t.as)+"."),a?console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",a):"script"===(a=t&&"string"==typeof t.as?t.as:"script")||(a=l(a),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',a,e)),"string"==typeof e&&("object"==typeof t&&null!==t?null!=t.as&&"script"!==t.as||(a=r(t.as,t.crossOrigin),i.d.M(e,{crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})):null==t&&i.d.M(e))},de.preload=function(e,t){var a="";if("string"==typeof e&&e||(a+=" The `href` argument encountered was "+o(e)+"."),null==t||"object"!=typeof t?a+=" The `options` argument encountered was "+o(t)+".":"string"==typeof t.as&&t.as||(a+=" The `as` option encountered was "+o(t.as)+"."),a&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',a),"string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var l=r(a=t.as,t.crossOrigin);i.d.L(e,a,{crossOrigin:l,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:"string"==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})}},de.preloadModule=function(e,t){var a="";"string"==typeof e&&e||(a+=" The `href` argument encountered was "+o(e)+"."),void 0!==t&&"object"!=typeof t?a+=" The `options` argument encountered was "+o(t)+".":t&&"as"in t&&"string"!=typeof t.as&&(a+=" The `as` option encountered was "+o(t.as)+"."),a&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',a),"string"==typeof e&&(t?(a=r(t.as,t.crossOrigin),i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0})):i.d.m(e))},de.requestFormReset=function(e){i.d.r(e)},de.unstable_batchedUpdates=function(e,t){return e(t)},de.useFormState=function(e,t,a){return n().useFormState(e,t,a)},de.useFormStatus=function(){return n().useHostTransitionStatus()},de.version="19.2.5","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),de);var fe=ce.exports,_e="Hide-module_hidden__flCWB";const be=({when:t,children:a})=>e.createElement("div",{className:p(t&&_e)},a),ge=t=>{var{isHidden:a=!1,children:r,handleClickOverlay:o,buttons:l,onSubmit:s}=t,i=n(t,["isHidden","children","handleClickOverlay","buttons","onSubmit"]);e.useEffect(()=>(document.body.style.overflow="hidden",()=>{document.body.style.overflow="visible"}),[]);const p=e.createElement(Y,Object.assign({className:ne,footer:l?e.createElement(C,{display:"flex",justifyContent:"flex-end"},l):void 0},i),r&&e.createElement("div",{className:le},r));return fe.createPortal(e.createElement(be,{when:a},e.createElement(re,{onClick:o}),e.createElement("div",{className:oe},e.createElement(c,null,s?e.createElement("form",{onSubmit:s},p):p))),document.getElementById("modal-root")||document.body)};var ve={wrapper:"Button-module_wrapper__nbaE8",stretch:"Button-module_stretch__JWfY7",actionButton:"Button-module_actionButton__S1gAt",button:"Button-module_button__PNye2",inline:"Button-module_inline__AMjqw",interactiveDisabled:"Button-module_interactiveDisabled__oFKm4","variant-basic":"Button-module_variant-basic__lKAIX","variant-default":"Button-module_variant-default__Sr0CI","variant-text":"Button-module_variant-text__Nc1vT",icon:"Button-module_icon__OlcRJ",hasChildren:"Button-module_hasChildren__rEq-P","variant-primary":"Button-module_variant-primary__RNJDU","variant-secondary":"Button-module_variant-secondary__TnXFg","variant-danger":"Button-module_variant-danger__PZS1I",iconWrapper:"Button-module_iconWrapper__YwLLt"};const he=e.forwardRef((t,a)=>{var{children:r,icon:o,variant:l="default",actionButton:s,stretch:i,inline:c,interactiveDisabled:d,className:m}=t,u=n(t,["children","icon","variant","actionButton","stretch","inline","interactiveDisabled","className"]);return e.createElement("div",{className:p(ve.wrapper,s&&ve.actionButton,i&&ve.stretch)},e.createElement("button",Object.assign({className:p(ve.button,ve[`variant-${l}`],!!r&&ve.hasChildren,o&&ve.icon,s&&ve.actionButton,i&&ve.stretch,c&&ve.inline,d&&ve.interactiveDisabled,m),ref:a},u),o&&e.createElement("span",{className:p(ve.iconWrapper,ve[`variant-${l}`],!!r&&ve.hasChildren)},o),r))});var ye="ConfirmModal-module_button__rndXD";const xe=t=>{var{children:a,cancelLabel:r="Nee, annuleren",confirmLabel:o="Ja",confirmVariant:l="secondary",confirmIcon:s,cancelIcon:i,isOpen:p,isPending:c,onCancel:d,onConfirm:m}=t,u=n(t,["children","cancelLabel","confirmLabel","confirmVariant","confirmIcon","cancelIcon","isOpen","isPending","onCancel","onConfirm"]);return p?e.createElement(ge,Object.assign({},u,{handleClickOverlay:d,buttons:e.createElement(e.Fragment,null,e.createElement(he,{className:ye,"data-testid":"btn-cancel",onClick:d,variant:"basic",icon:i,disabled:c},r),e.createElement(he,{className:ye,"data-testid":"btn-confirm",onClick:m,variant:l,icon:s,disabled:c},o))}),a):null},Ee=()=>{};var ke="Container-module_wrapper__RRZ0b";var we={table:"Table-module_table__Dkosn",tr:"Table-module_tr__7UG8J","variant-positive":"Table-module_variant-positive__71gFV",disableHover:"Table-module_disableHover__vv-sQ","variant-negative":"Table-module_variant-negative__dtSY7","variant-info":"Table-module_variant-info__oxZNe","variant-warning":"Table-module_variant-warning__buDZq","variant-basic":"Table-module_variant-basic__QksCj","variant-emphasized":"Table-module_variant-emphasized__K1CXV",td:"Table-module_td__jv9tA",width:"Table-module_width__bS4aU",th:"Table-module_th__PNuEx",inner:"Table-module_inner__TCfso",sortable:"Table-module_sortable__W4c6P",asc:"Table-module_asc__-caTr",desc:"Table-module_desc__jQI8s"};const Oe=e.forwardRef((t,a)=>{var{className:r,disableHover:o}=t,l=n(t,["className","disableHover"]);return e.createElement("tr",Object.assign({ref:a,className:p(we.tr,o&&we.disableHover,r)},l))}),Ne=e.forwardRef((t,a)=>{var{className:r,variant:o="basic",width:l}=t,s=n(t,["className","variant","width"]);const i=null!=l;return e.createElement("td",Object.assign({ref:a,className:p(we.td,we[`variant-${o}`],i&&we.width,r),style:i?{"--width":l}:void 0},s))}),Se=e.forwardRef((t,a)=>{var{sortable:r,sortDirection:o,width:l,className:s,children:i}=t,c=n(t,["sortable","sortDirection","width","className","children"]);const d=null!=l;return e.createElement("th",Object.assign({ref:a,className:p(we.th,r&&we.sortable,o&&we[o],d&&we.width,s),style:d?{"--width":l}:void 0},c),e.createElement("span",{className:we.inner},i))}),Ce=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement("table",Object.assign({className:p(we.table,a)},r))};Ce.Row=Oe,Ce.HeadCell=Se,Ce.Cell=Ne;var je={row:"Details-module_row__0d8vi",isFirstRow:"Details-module_isFirstRow__iVno4"};var Ge="Dropdown-module_wrapper__79ooc",Te="Dropdown-module_dropper__uVdEf",De="Dropdown-module_left__JYKmP",Pe="Dropdown-module_right__UefzB",Ae="Dropdown-module_hidden__FmQN5",Me="Dropdown-module_dropdownMenu__5R4vo",Re="Dropdown-module_dropdownMenuItem__dj4Gp";var Be="Dropzone-module_dropzone__WvixK",Fe="Dropzone-module_centered__00ZHP",Le="Dropzone-module_isReadyToDrop__NX-Ix",Ie="Dropzone-module_input__AEKgL",We="Dropzone-module_idle__HViGO",He="Dropzone-module_deleteButton__6zeTi",ze="Dropzone-module_fileName__XqXj8";const Ve=e.forwardRef((t,a)=>{var{className:r,placeholder:o,icon:l}=t,s=n(t,["className","placeholder","icon"]);const[i,c]=e.useState(),d=e.useRef(null),[m,u]=e.useState(!1),[f,_]=e.useState(),b=f&&f.length>0,g=e.useCallback(e=>{const t=(null==e?void 0:e.target).files,a=Array.from(t).map(e=>e.name);_(a)},[]),v=e.useCallback(e=>{e.preventDefault(),u(!0)},[]),h=e.useCallback(e=>{e.preventDefault(),u(!1)},[]),y=e.useCallback(()=>{u(!1)},[]),x=e.useCallback(()=>{null==i||i.click()},[i]),E=e.useCallback(()=>{i&&(i.value="",i.files=null,i.dispatchEvent(new Event("change",{bubbles:!0})))},[i]),k=e.useMemo(()=>e=>{null==e||e.addEventListener("change",g),c(e),"function"==typeof a&&(null==a||a(e))},[a,g]);return e.createElement("div",{ref:d,onDragOver:v,onDragLeave:h,onDrop:y,onClick:b?void 0:x,className:p(Be,!b&&Fe,m&&Le)},e.createElement("input",Object.assign({className:p(Ie,m?Le:We),"data-testid":"dropzone-file-input",type:"file",ref:k,multiple:!0},s)),e.createElement(C,null,!b&&e.createElement(he,{variant:"text",color:"secondary",type:"button",icon:l},o),b&&e.createElement(e.Fragment,null,e.createElement("button",{className:He,"data-testid":"file-clear",onClick:E}),e.createElement("ol",null,f.map((t,a)=>e.createElement("li",{key:a,className:ze},t))))))});var Ue="Feedback-module_box__ESWf9";const $e={mobile:1,laptop:0},qe={laptop:1},Ye=t=>{var{stretch:a,laptopWidth:r}=t,o=n(t,["stretch","laptopWidth"]);const l=e.useMemo(()=>({laptop:r}),[r]);return e.createElement(C,Object.assign({flexGrow:a?qe:void 0,width:l,pt:$e,pb:$e},o))},Xe={laptop:-1},Ke={mobile:-1,laptop:0},Je={mobile:"block",laptop:"flex"};var Ze="Footer-module_box__KZvsx",Qe="SideBar-module_wrapper__8tZbH",et="SideBar-module_isMobileMenuOpen__1yI4z",tt="SideBar-module_isDesktopMenuOpen__S25Jl";const at=15,rt=({isMobileMenuOpen:t,minWidth:a,children:o})=>{const{closeSideMenu:l,openSideMenu:n,isSideMenuOpen:s}=r();return e.createElement(C,{className:p("sidebar",Qe,t&&et,s&&tt),onMouseEnter:n,onMouseLeave:l,style:{"--minWidth":a||75,"--collapsed-width":at}},o)},ot=({children:t})=>e.createElement(C,{pt:2,pb:2,pr:5,pl:{mobile:5,laptop:20},className:Ze},t);var lt="HorizontalScroller-module_box__W07vp";var nt="HamburgerButton-module_hamburgerButton__uFuws";var st="Menu-module_menu__uj3BS",it="Menu-module_menuItem__96xoX",pt="Menu-module_isActive__idoz4",ct="Menu-module_isOpen__p1ar3";var dt="MenuCloseButton-module_menuCloseButton__c2jye";var mt="MenuSlideOpenIndicator-module_wrapper__Q6Ykj";var ut="SideBarHeader-module_sideBarHeader__7zbYN";const ft=()=>{const[t,a]=e.useState(window.innerWidth);e.useEffect(()=>{const e=()=>a(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);return e.useMemo(()=>({isMobile:t>=y.mobile,isTablet:t>=y.tablet,isLaptop:t>=y.laptop,isDesktop:t>=y.desktop}),[t])};var _t="Paginator-module_wrapper__IPIcn",bt="Paginator-module_button__lkNBq",gt="Paginator-module_isActive__Qk3mv",vt="Paginator-module_isDisabled__uHGss";var ht={wrapper:"Statistic-module_wrapper__4eJ86",blue:"Statistic-module_blue__SsMhE",indigo:"Statistic-module_indigo__8DByg",purple:"Statistic-module_purple__mieHQ",pink:"Statistic-module_pink__2PBSu",red:"Statistic-module_red__T7SC1",orange:"Statistic-module_orange__eq9b2",yellow:"Statistic-module_yellow__0A2sj",green:"Statistic-module_green__LjLEE",teal:"Statistic-module_teal__rz09e",cyan:"Statistic-module_cyan__ljMqB",gray:"Statistic-module_gray__Bukv9",grayDark:"Statistic-module_grayDark__JoQc8",light:"Statistic-module_light__Q1XW7",dark:"Statistic-module_dark__HWch8",label:"Statistic-module_label__O256y",value:"Statistic-module_value__Af9tB",smaller:"Statistic-module_smaller__ni0vP",iconWrapper:"Statistic-module_iconWrapper__TudZL"};var yt={tab:"Tab-module_tab__Iwytl",isActive:"Tab-module_isActive__DXImz",hint:"Tab-module_hint__ynkFR",error:"Tab-module_error__OF1Ji"};var xt="TabContent-module_tabContent__hMTiE";var Et="Tabs-module_tabs__QzIkz";var kt="Timeline-module_flatPanel__TzdFU",wt="Timeline-module_wrapper__sWd71",Ot="Timeline-module_line__CwY-N",Nt="Timeline-module_circle__7kyfg";var St="TopBar-module_wrapper__DVlec";const Ct=({left:t,right:a})=>e.createElement(C,{className:St},e.createElement(C,{display:"flex",alignItems:"center",pb:1,pt:1,pr:5,pl:{mobile:5,laptop:20}},e.createElement(C,{flexGrow:1,display:"flex",pl:2},t),e.createElement(C,{flexGrow:1,display:"flex",justifyContent:"flex-end"},a)));var jt="Toggle-module_toggle__kmzmH",Gt="Toggle-module_checked__wOt93",Tt="Toggle-module_disabled__zqNfH",Dt="Toggle-module_thumb__nibyJ";var Pt="FormGridWrapper-module_label__3OAEA",At="FormGridWrapper-module_error__80-SA",Mt="FormGridWrapper-module_hint__lj9vT",Rt="FormGridWrapper-module_requiredAsterisk__-4sG4";const Bt=({error:t,isRequired:a,className:r,children:o})=>e.createElement("label",{className:p(Pt,!!t&&At,r)},o,a&&e.createElement("span",{className:Rt}));var Ft="Checkbox-module_label__uYQc9",Lt="Checkbox-module_input__a4Cy-",It="Checkbox-module_dimmed__wAzQa";const Wt=e.forwardRef((t,a)=>{var{options:r,spacing:o=1,name:l,dimmed:s,className:i,orientation:c="vertical",labelStyle:d}=t,m=n(t,["options","spacing","name","dimmed","className","orientation","labelStyle"]);const u=Array.isArray(r)?r:Object.entries(r),f=e.createElement(e.Fragment,null,u.map(([t,r])=>e.createElement(C,{key:t,mt:o,mb:o},e.createElement("label",{className:Ft,key:t},e.createElement("input",Object.assign({className:p(i,Lt),type:"checkbox",value:t,name:l,ref:a},m)),e.createElement("span",{className:p(s&&It),style:d},r)))));return"horizontal"===c?e.createElement(C,{display:"flex",columnGap:4},f):f});var Ht="TextField-module_input__73ULM",zt="TextField-module_textarea__DzXRI";const Vt=e.forwardRef((t,a)=>{var{multiline:r=!1,className:o}=t,l=n(t,["multiline","className"]);return r?e.createElement("textarea",Object.assign({className:p(zt,Ht,o),ref:a},l)):e.createElement("input",Object.assign({className:p(Ht,o),ref:a,type:"text"},l))});var Ut="FileField-module_wrapper__Av1Bz",$t="FileField-module_hiddenInput__42z5Q",qt="FileField-module_button__13cFn",Yt="FileField-module_textField__-9ZPk",Xt="FileField-module_deleteButton__RpWa3";const Kt=e.forwardRef((t,a)=>{var{className:r,placeholder:o,chooseFileLabel:l="Choose file",changeFileLabel:s="Change file",onClear:i}=t,c=n(t,["className","placeholder","chooseFileLabel","changeFileLabel","onClear"]);const[d,m]=e.useState(),[u,f]=e.useState(""),_=e.useCallback(e=>{var t;const a=(null==e?void 0:e.target).files;f((null===(t=null==a?void 0:a[0])||void 0===t?void 0:t.name)||"")},[]),b=e.useCallback(()=>{d&&(d.value="",d.files=null,d.dispatchEvent(new Event("change",{bubbles:!0})),i&&i())},[d,i]),g=e.useMemo(()=>e=>{null==e||e.addEventListener("change",_),m(e),"function"==typeof a&&(null==a||a(e))},[a,_]);return e.createElement("div",{className:Ut},e.createElement("input",Object.assign({className:$t,type:"file",ref:g},c)),e.createElement(he,{className:qt,variant:"basic"},u?s:l),e.createElement(Vt,{placeholder:o,className:p(Yt,r),disabled:!0,value:u}),!!u&&i&&e.createElement("button",{className:Xt,"data-testid":"file-clear",onClick:b}))});var Jt="Select-module_wrapper__vBUHm",Zt="Select-module_select__tfPHD",Qt="Select-module_paddingOverlay__Y6O4-";const ea=e.forwardRef((t,a)=>{var{options:r,className:o}=t,l=n(t,["options","className"]);const s=Array.isArray(r)?r:Object.entries(r);return e.createElement("div",{className:Jt},e.createElement("select",Object.assign({className:p(Zt,o),ref:a},l),s.map(([t,a])=>e.createElement("option",{key:t,value:t},a))),e.createElement("div",{className:Qt},"▾"))});var ta="PasswordStrengthField-module_progress__KIvlC",aa="PasswordStrengthField-module_progressBar__Wz5Rz",ra="PasswordStrengthField-module_bad__n300O",oa="PasswordStrengthField-module_ok__LMIms",la="PasswordStrengthField-module_good__MhPYT";const na=e=>e.length>=8,sa=e=>/\d/.test(e),ia=e=>/[a-z]/.test(e)&&/[A-Z]/.test(e),pa=e=>/[-’/`~!#*$@_%+=.,^&(){}[\]|;:”<>?\\]/.test(e),ca=[na,sa,ia,pa],da=ca.length+1,ma=e=>ca.map(t=>t(e)).reduce((e,t)=>t?e+1:e,1),ua=e.forwardRef((t,a)=>{const[r,o]=e.useState(0),l=e.useCallback(e=>{const t=e.target;o(t.value?ma(t.value):0)},[]),n=e.useMemo(()=>e=>{null==e||e.addEventListener("keyup",l),"function"==typeof a&&(null==a||a(e))},[a,l]);return e.createElement(e.Fragment,null,e.createElement(Vt,Object.assign({},t,{type:"password",ref:n})),e.createElement("div",{className:ta},e.createElement("div",{className:p(aa,r<=2?ra:r<=3?oa:la),style:{"--width":r/da*100+"%"}})))});var fa="FormGridCell-module_formGridCell__Y3e5s",_a="FormGridCell-module_rowOffset__xvXeK",ba="FormGridCell-module_mobile--position__1AeHR",ga="FormGridCell-module_tablet--position__Xxybj",va="FormGridCell-module_laptop--position__gMNqe",ha="FormGridCell-module_desktop--position__UDC4a";const ya=({position:t,align:a,rowOffset:r=0,children:o,className:l})=>{if(!t||!N(t))throw new Error("FormGridCell should set a position");const{classNames:n,variables:s}=x({textAlign:a}),i=((e,t)=>h.reduce((a,r)=>(null==e?void 0:e[r])?Object.assign(Object.assign({},a),((e,t,a)=>{const r={};return void 0!==t.row&&(r[`--${e}-row`]=2*t.row+1+a),t.rowSpan&&a&&(r[`--${e}-rowSpan`]=2*t.rowSpan-1),void 0!==t.column&&(r[`--${e}-column`]=t.column+1),void 0!==t.columnSpan&&(r[`--${e}-columnSpan`]=t.columnSpan),r})(r,e[r],t)):a,{}))(t,r);return e.createElement("div",{className:p(fa,r&&_a,t.mobile&&ba,t.tablet&&ga,t.laptop&&va,t.desktop&&ha,n,l),style:Object.assign(Object.assign({},s),i)},o)},xa=({position:t,align:a,label:r,hint:o,error:l,isRequired:n,children:s})=>e.createElement(e.Fragment,null,e.createElement(ya,{position:t,align:a,className:"form-grid-cell__label-hint"},r&&e.createElement(Bt,{error:!!l,isRequired:n},r),o&&e.createElement("div",{className:p(Mt,!!l&&At)},o)),e.createElement(ya,{position:t,align:a,rowOffset:1,className:p({"form-grid-cell__field-error":!0,"has-error":!!l})},s,l&&e.createElement("div",{className:At},l)));var Ea="FormGrid-module_formGrid__2OSmK";const ka=t=>{var{columns:a,className:r}=t,o=n(t,["columns","className"]);const{classNames:l,variables:s}=x({columns:a});return e.createElement("div",Object.assign({className:p(Ea,r,l),style:Object.assign(Object.assign({},s),{"--numRowsPerField":2})},o))};var wa="DefaultLayout-module_wrapper__UPzJr",Oa="DefaultLayout-module_wrapperInner__ZdGKn",Na="DefaultLayout-module_sidebarWrapper__Jehqe",Sa="DefaultLayout-module_contentBox__lVxGL";const Ca=({sideBarProps:t,topBarProps:a,footerProps:r,children:o})=>e.createElement(C,{className:wa,flexGrow:1,display:"flex",flexDirection:"column"},e.createElement(C,{className:Oa,flexGrow:1,flexShrink:0,"data-foo":"test",flexBasis:{mobile:"100%",laptop:"25%"}},t&&e.createElement(C,{className:Na},e.createElement(rt,Object.assign({},t))),e.createElement(C,{className:Sa,display:"flex",flexDirection:"column"},e.createElement(Ct,Object.assign({},a)),o,e.createElement(ot,Object.assign({},r)))));var ja="FloatingPanelLayout-module_wrapper__XlZwj",Ga="FloatingPanelLayout-module_background__vI4Uc",Ta="FloatingPanelLayout-module_animation__031Vf",Da="FloatingPanelLayout-module_panel__Dmfof",Pa="FloatingPanelLayout-module_logo__-5gan";var Aa="Split-module_left__SVDRN",Ma="Split-module_right__UTnql",Ra="Split-module_split__UsPG7";var Ba="InverseSplit-module_right__szSPP",Fa="InverseSplit-module_left__wVE1r",La="InverseSplit-module_split__DMjia";var Ia=1/0,Wa=9007199254740991,Ha=17976931348623157e292,za=NaN,Va="[object Function]",Ua="[object GeneratorFunction]",$a="[object Symbol]",qa=/^\s+|\s+$/g,Ya=/^[-+]0x[0-9a-f]+$/i,Xa=/^0b[01]+$/i,Ka=/^0o[0-7]+$/i,Ja=/^(?:0|[1-9]\d*)$/,Za=parseInt,Qa=Object.prototype.toString,er=Math.ceil,tr=Math.max;function ar(e,t,a){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(a=a>o?o:a)<0&&(a+=o),o=t>a?0:a-t>>>0,t>>>=0;for(var l=Array(o);++r<o;)l[r]=e[r+t];return l}function rr(e,t,a){if(!or(a))return!1;var r=typeof t;return!!("number"==r?function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Wa}(e.length)&&!function(e){var t=or(e)?Qa.call(e):"";return t==Va||t==Ua}(e)}(a)&&function(e,t){return!!(t=null==t?Wa:t)&&("number"==typeof e||Ja.test(e))&&e>-1&&e%1==0&&e<t}(t,a.length):"string"==r&&t in a)&&function(e,t){return e===t||e!=e&&t!=t}(a[t],e)}function or(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var lr=ie(function(e,t,a){t=(a?rr(e,t,a):void 0===t)?1:tr(function(e){var t=function(e){if(!e)return 0===e?e:0;if(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&Qa.call(e)==$a}(e))return za;if(or(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=or(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(qa,"");var a=Xa.test(e);return a||Ka.test(e)?Za(e.slice(2),a?2:8):Ya.test(e)?za:+e}(e),e===Ia||e===-1/0){return(e<0?-1:1)*Ha}return e==e?e:0}(e),a=t%1;return t==t?a?t-a:t:0}(t),0);var r=e?e.length:0;if(!r||t<1)return[];for(var o=0,l=0,n=Array(er(r/t));o<r;)n[l++]=ar(e,o,o+=t);return n});class nr{constructor(e){this.grid=e}getValues(){return this.grid}getDistinctValues(){const e=[];return this.grid.forEach(t=>{t.forEach(t=>{e.includes(t)||e.push(t)})}),e}sliceArea(e,t){if(e.x>t.x||e.y>t.y)throw new Error("Coordinates are mixed up. Please ensure topLeft is actually in the top-left corner. And bottomRight is actually in the bottom-right corner");return new nr(this.grid.slice(e.y,t.y+1).map(a=>a.slice(e.x,t.x+1)))}getCoordinatesForValue(e){const t=[],a=[];return this.grid.forEach((r,o)=>{r.forEach((r,l)=>{r===e&&(t.push(l),a.push(o))})}),{topLeft:{x:Math.min(...t),y:Math.min(...a)},bottomRight:{x:Math.max(...t),y:Math.max(...a)}}}}var sr="__lodash_hash_undefined__",ir=9007199254740991,pr="[object Arguments]",cr=/^\[object .+?Constructor\]$/,dr="object"==typeof se&&se&&se.Object===Object&&se,mr="object"==typeof self&&self&&self.Object===Object&&self,ur=dr||mr||Function("return this")();function fr(e,t){return!!(e?e.length:0)&&function(e,t,a){if(t!=t)return function(e,t,a,r){var o=e.length,l=a+(r?1:-1);for(;r?l--:++l<o;)if(t(e[l],l,e))return l;return-1}(e,gr,a);var r=a-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,0)>-1}function _r(e,t,a){for(var r=-1,o=e?e.length:0;++r<o;)if(a(t,e[r]))return!0;return!1}function br(e,t){for(var a=-1,r=t.length,o=e.length;++a<r;)e[o+a]=t[a];return e}function gr(e){return e!=e}function vr(e,t){return e.has(t)}var hr,yr=Array.prototype,xr=Function.prototype,Er=Object.prototype,kr=ur["__core-js_shared__"],wr=(hr=/[^.]+$/.exec(kr&&kr.keys&&kr.keys.IE_PROTO||""))?"Symbol(src)_1."+hr:"",Or=xr.toString,Nr=Er.hasOwnProperty,Sr=Er.toString,Cr=RegExp("^"+Or.call(Nr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),jr=ur.Symbol,Gr=Er.propertyIsEnumerable,Tr=yr.splice,Dr=jr?jr.isConcatSpreadable:void 0,Pr=Math.max,Ar=Ur(ur,"Map"),Mr=Ur(Object,"create");function Rr(e){var t=-1,a=e?e.length:0;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}function Br(e){var t=-1,a=e?e.length:0;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}function Fr(e){var t=-1,a=e?e.length:0;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}function Lr(e){var t=-1,a=e?e.length:0;for(this.__data__=new Fr;++t<a;)this.add(e[t])}function Ir(e,t){for(var a=e.length;a--;)if(Kr(e[a][0],t))return a;return-1}function Wr(e,t,a,r){var o,l=-1,n=fr,s=!0,i=e.length,p=[],c=t.length;if(!i)return p;a&&(t=function(e,t){for(var a=-1,r=e?e.length:0,o=Array(r);++a<r;)o[a]=t(e[a],a,e);return o}(t,(o=a,function(e){return o(e)}))),r?(n=_r,s=!1):t.length>=200&&(n=vr,s=!1,t=new Lr(t));e:for(;++l<i;){var d=e[l],m=a?a(d):d;if(d=r||0!==d?d:0,s&&m==m){for(var u=c;u--;)if(t[u]===m)continue e;p.push(d)}else n(t,m,r)||p.push(d)}return p}function Hr(e,t,a,r,o){var l=-1,n=e.length;for(a||(a=$r),o||(o=[]);++l<n;){var s=e[l];t>0&&a(s)?t>1?Hr(s,t-1,a,r,o):br(o,s):r||(o[o.length]=s)}return o}function zr(e){if(!to(e)||(t=e,wr&&wr in t))return!1;var t,a=eo(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?Cr:cr;return a.test(function(e){if(null!=e){try{return Or.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function Vr(e,t){var a,r,o=e.__data__;return("string"==(r=typeof(a=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==a:null===a)?o["string"==typeof t?"string":"hash"]:o.map}function Ur(e,t){var a=function(e,t){return null==e?void 0:e[t]}(e,t);return zr(a)?a:void 0}function $r(e){return Jr(e)||function(e){return Qr(e)&&Nr.call(e,"callee")&&(!Gr.call(e,"callee")||Sr.call(e)==pr)}(e)||!!(Dr&&e&&e[Dr])}Rr.prototype.clear=function(){this.__data__=Mr?Mr(null):{}},Rr.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Rr.prototype.get=function(e){var t=this.__data__;if(Mr){var a=t[e];return a===sr?void 0:a}return Nr.call(t,e)?t[e]:void 0},Rr.prototype.has=function(e){var t=this.__data__;return Mr?void 0!==t[e]:Nr.call(t,e)},Rr.prototype.set=function(e,t){return this.__data__[e]=Mr&&void 0===t?sr:t,this},Br.prototype.clear=function(){this.__data__=[]},Br.prototype.delete=function(e){var t=this.__data__,a=Ir(t,e);return!(a<0)&&(a==t.length-1?t.pop():Tr.call(t,a,1),!0)},Br.prototype.get=function(e){var t=this.__data__,a=Ir(t,e);return a<0?void 0:t[a][1]},Br.prototype.has=function(e){return Ir(this.__data__,e)>-1},Br.prototype.set=function(e,t){var a=this.__data__,r=Ir(a,e);return r<0?a.push([e,t]):a[r][1]=t,this},Fr.prototype.clear=function(){this.__data__={hash:new Rr,map:new(Ar||Br),string:new Rr}},Fr.prototype.delete=function(e){return Vr(this,e).delete(e)},Fr.prototype.get=function(e){return Vr(this,e).get(e)},Fr.prototype.has=function(e){return Vr(this,e).has(e)},Fr.prototype.set=function(e,t){return Vr(this,e).set(e,t),this},Lr.prototype.add=Lr.prototype.push=function(e){return this.__data__.set(e,sr),this},Lr.prototype.has=function(e){return this.__data__.has(e)};var qr,Yr,Xr=(qr=function(e,t){return Qr(e)?Wr(e,Hr(t,1,Qr,!0)):[]},Yr=Pr(void 0===Yr?qr.length-1:Yr,0),function(){for(var e=arguments,t=-1,a=Pr(e.length-Yr,0),r=Array(a);++t<a;)r[t]=e[Yr+t];t=-1;for(var o=Array(Yr+1);++t<Yr;)o[t]=e[t];return o[Yr]=r,function(e,t,a){switch(a.length){case 0:return e.call(t);case 1:return e.call(t,a[0]);case 2:return e.call(t,a[0],a[1]);case 3:return e.call(t,a[0],a[1],a[2])}return e.apply(t,a)}(qr,this,o)});function Kr(e,t){return e===t||e!=e&&t!=t}var Jr=Array.isArray;function Zr(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=ir}(e.length)&&!eo(e)}function Qr(e){return function(e){return!!e&&"object"==typeof e}(e)&&Zr(e)}function eo(e){var t=to(e)?Sr.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function to(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var ao=ie(Xr);const ro=(e,t)=>{const a=[...Array(e)].map(e=>"1fr");return t&&a.push("auto"),a.join(" ")};class oo{constructor(e,t={}){this.fields=e,this.columns=t}setGrid(e,t,a){"object"==typeof this.columns&&(this.columns[e]=t);const r=new nr(a);((e,t)=>{const a=t.getDistinctValues();if(a.length<e.length)throw new Error(`Not all given fields are present in the grid. Please add these fields ${ao(a,e).map(e=>`"${e}"`).join(", ")}`);a.forEach(a=>{if(!e.includes(a))throw new Error(`${a} is not an existing field. Existing fields are ${e.map(e=>`"${e}"`).join(", ")}.`);const r=t.getCoordinatesForValue(a),o=t.sliceArea(r.topLeft,r.bottomRight).getDistinctValues();if(1!==o.length||o[0]!==a)throw new Error(`Grid contains an unsupported shape. Please make sure "${a}" has a rectangular shape.`)})})(Object.keys(this.fields),r);const o=Object.entries(this.fields).reduce((t,[a,o])=>{var l,n;let s=(null===(l=o.props)||void 0===l?void 0:l.position)?lo(null===(n=o.props)||void 0===n?void 0:n.position):{};N(s)||(s={mobile:s});const{topLeft:i,bottomRight:p}=r.getCoordinatesForValue(a);return s[e]={column:i.x,columnSpan:p.x-i.x+1,row:i.y,rowSpan:p.y-i.y+1},Object.assign(Object.assign({},t),{[a]:Object.assign(Object.assign({},o),{props:Object.assign(Object.assign({},o.props),{position:s})})})},{});return new oo(o,this.columns)}setVertical(e,t=1,a){return this.setGrid(e,null!=a?a:ro(t,!1),lr(Object.keys(this.fields),t))}setHorizontal(e,t){const a=Object.keys(this.fields);return this.setGrid(e,null!=t?t:ro(a.length,!1),[a])}getColumns(){return this.columns}getFields(){return this.fields}getScaffoldProps(){return{fields:this.fields,columns:this.columns}}}const lo=e=>JSON.parse(JSON.stringify(e)),no=e.createContext({factory:void 0}),so=e.forwardRef((t,a)=>{var{name:r,field:o}=t,l=n(t,["name","field"]);const{factory:s}=e.useContext(no);if("Empty"===o.type)return null;const i=o.props,{position:c,align:d,label:m,hint:u,error:f,isRequired:_,skip:b}=i,g=n(i,["position","align","label","hint","error","isRequired","skip"]);if(b)return null;const v=(null==s?void 0:s(o))||(e=>{switch(e.type){case"Button":return he;case"Checkbox":return Wt;case"Select":return ea;case"FileField":return Kt;case"DropZone":return Ve;case"PasswordStrengthField":return ua;default:return Vt}})(o);return(e=>"TextField"===e.type)(o)&&!o.props.multiline&&"hidden"===o.props.type?e.createElement(v,Object.assign({ref:a,name:r},l,g)):e.createElement(xa,{position:c,align:d,label:m,hint:u,error:f,isRequired:_},e.createElement(v,Object.assign({ref:a,name:r,placeholder:o.props.placeholder||m,className:p(!!f&&"error",o.props.className)},l,g)))}),io=e.forwardRef((t,a)=>{var{children:r,columns:o,fields:l,prefixFieldNames:s}=t,i=n(t,["children","columns","fields","prefixFieldNames"]);return e.createElement(ka,{columns:o},Object.entries(l).map(([t,r])=>e.createElement(so,Object.assign({name:`${null!=s?s:""}${t}`,key:t,field:r,ref:a},i))),r)});exports.Alert=({children:t,title:a,variant:r="basic",actions:o})=>e.createElement("div",{className:p(d.wrapper,d[`variant-${r}`])},e.createElement(C,{p:3,display:"flex"},e.createElement(C,{flexGrow:1},a&&e.createElement(C,{pb:t?1:0},e.createElement(f,{level:4},a)),t&&e.createElement(b,null,t)),o&&e.createElement(C,{display:"flex",alignItems:"center",justifyContent:"center"},o))),exports.AnimatedCheckmark=A,exports.BasicLayout=({sideBarProps:t,topBarProps:a,footerProps:r,isLoading:o,loader:l,children:n})=>e.createElement(Ca,{sideBarProps:t,topBarProps:a,footerProps:r},e.createElement(C,{p:{laptop:7,mobile:4},pl:{laptop:22},flexGrow:1},o&&l?l:n)),exports.Box=C,exports.BreadCrumbs=t=>e.createElement("ul",Object.assign({className:p(M,t.className)},t)),exports.BreakPointValues=y,exports.Button=he,exports.Checkbox=Wt,exports.CollapsiblePanel=te,exports.ConfirmButton=t=>{var a,{modalProps:r}=t,o=n(t,["modalProps"]);const[l,s]=(({onConfirm:t})=>{const[a,r]=e.useState(!1);return[{onCancel:()=>r(!1),onConfirm:()=>{t(),r(!1)},isOpen:a},()=>r(!0)]})({onConfirm:null!==(a=r.onConfirm)&&void 0!==a?a:Ee});return e.createElement(e.Fragment,null,e.createElement(he,Object.assign({},o,{onClick:s})),e.createElement(xe,Object.assign({title:"Are you sure?"},r,l)))},exports.ConfirmModal=xe,exports.Container=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement("div",Object.assign({},r,{className:p(ke,a)}))},exports.Crumb=t=>e.createElement("li",Object.assign({className:p(R,t.className)},t)),exports.Details=({className:t,details:a,firstColumnWidth:r})=>e.createElement(Ce,{className:t},e.createElement("tbody",null,Object.entries(a).map(([t,a],o)=>e.createElement(Ce.Row,{key:t,disableHover:!0},e.createElement(Ce.Cell,{style:{width:r},className:p(je.cell,0===o&&je.isFirstRow)},t),e.createElement(Ce.Cell,{className:p(je.cell,0===o&&je.isFirstRow)},a))))),exports.Dropdown=({buttonProps:t,align:a="left",children:r,stayOpenOnClick:o,hideUsingCss:l})=>{const n=e.useRef(null),[s,i]=e.useState(!1),c=e.useCallback(()=>i(!0),[i]),d=e.useCallback(e=>{var t;o&&(null===(t=n.current)||void 0===t?void 0:t.contains(e.target))||i(!1)},[i,o]);return e.useEffect(()=>(s&&setTimeout(()=>document.addEventListener("click",d),1),()=>{document.removeEventListener("click",d)}),[s,d]),e.createElement("div",{className:Ge},e.createElement(he,Object.assign({},t,{onClick:c})),(s||l)&&e.createElement("span",{className:p(Te,!s&&Ae,"left"===a&&De,"right"===a&&Pe),ref:n},r))},exports.DropdownMenu=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement("ul",Object.assign({className:p(Me,a)},r))},exports.DropdownMenuItem=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement("li",Object.assign({className:p(Re,a)},r))},exports.Dropzone=Ve,exports.Feedback=({onConfirm:t,buttonLabel:a,buttonIcon:r,title:o,subtitle:l})=>e.createElement(ge,{handleClickOverlay:t,buttons:e.createElement(he,{"data-testid":"confirm",stretch:!0,icon:r,variant:"secondary",onClick:t},a)},e.createElement(C,{pt:3,pb:3,className:Ue},e.createElement(C,{pb:5,textAlign:"center"},e.createElement(f,null,o),l&&e.createElement(C,{pt:5},e.createElement(f,{level:5},l))),e.createElement(C,{pt:5,pb:5,pl:7,pr:7},e.createElement(A,null)))),exports.FileField=Kt,exports.Floater=t=>{var{items:a,forceEqualWidth:r=!1,stretch:o=!1,multiRow:l=!0}=t,s=n(t,["items","forceEqualWidth","stretch","multiRow"]);return e.createElement(C,Object.assign({mb:Ke,mt:Ke,ml:Xe,mr:Xe,display:Je,flexWrap:l?{laptop:"wrap"}:void 0,rowGap:l?{laptop:2}:void 0,columnGap:{laptop:2},pl:{laptop:1},pr:{laptop:1}},s),a.filter(Boolean).map((t,l)=>(e=>!!e.element)(t)?e.createElement(Ye,{key:l,laptopWidth:t.forceEqualWidth?100/a.length+"%":void 0,stretch:t.stretch||!1},t.element):e.createElement(Ye,{key:l,laptopWidth:r?100/a.length+"%":void 0,stretch:o},t)))},exports.FloatingPanelLayout=({panelProps:t,imageUrl:a,alert:r,logoUrl:o,backgroundBaseColor:l,backgroundOpacity:n})=>e.createElement(C,{className:ja,style:l&&{"--base-color":l},display:"flex",alignItems:"center"},e.createElement("div",{className:Ga,style:{opacity:n||1,backgroundImage:`url(${a})`}}),o&&e.createElement("img",{src:o,alt:"Logo",className:Pa}),e.createElement(c,{className:Ta},r&&e.createElement(C,{pb:7},r),e.createElement(Y,Object.assign({},t,{className:p(Da,t.className)})))),exports.Footer=ot,exports.FormGrid=ka,exports.FormGridWrapper=xa,exports.FormPositioner=oo,exports.HamburgerButton=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement(he,Object.assign({className:p(nt,a)},r))},exports.Header=f,exports.Hide=be,exports.HorizontalScroller=({children:t})=>e.createElement("div",{className:lt},t),exports.InverseSplit=({rightWidth:t="calc(100 * var(--spacing))",wrapperBoxProps:a,left:r,leftBoxProps:o,right:l,rightBoxProps:n})=>e.createElement(C,Object.assign({display:"flex",flexDirection:"column",className:p(La,null==a?void 0:a.className)},a,{style:Object.assign({"--right-width":t,"--collapsed-sidebar-width":"calc(15 * var(--spacing))"},null==a?void 0:a.style)}),e.createElement(C,{flexGrow:1,display:"flex",flexDirection:{laptop:"row",mobile:"column"}},e.createElement(C,Object.assign({className:Fa,p:{laptop:7,mobile:4}},o),r),e.createElement(C,Object.assign({className:Ba,p:{laptop:7,mobile:4}},n),l))),exports.Label=Bt,exports.Menu=({children:t})=>e.createElement("ul",{className:st},t),exports.MenuCloseButton=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement(he,Object.assign({actionButton:!0,className:p(dt,a)},r))},exports.MenuItem=({item:t,isOpen:a,isActive:r,children:o})=>{const[l,n]=e.useState(!!a);return e.createElement("li",{className:p(it,l&&ct,!!r&&pt)},t,o&&e.createElement(ee,{onChange:n,isOpen:!!a,duration:.25},o))},exports.MenuSlideOpenIndicator=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement(C,Object.assign({className:p(mt,a),style:{"--collapsed-width":at}},r))},exports.Modal=ge,exports.Overlay=re,exports.Paginator=t=>{const{isTablet:a}=ft(),{pageCount:r,onChange:o}=t,l=Math.min(Math.max(t.currentPage,0),r),n=a?2:0,s=Math.max(1,l-n),i=Math.min(r,l+n);return e.createElement("div",{className:_t},e.createElement("button",{"data-testid":"paginate-prev",disabled:1===l,onClick:()=>o(l-1),className:p(bt,1===l&&vt)},"⟨"),s>1&&e.createElement("button",{"data-testid":"paginate-page-1","data-paginator":"first",onClick:()=>o(1),className:p(bt,1===l&>)},"1"),s>2&&e.createElement("button",{disabled:!0,className:p(bt,vt)},"..."),((e,t)=>{let a=[];for(let r=e;r<t;r++)a.push(r);return a})(s,i+1).map(t=>e.createElement("button",{"data-testid":`paginate-page-${t}`,key:t,onClick:()=>o(t),className:p(bt,l===t&>)},t)),i<r-1&&e.createElement("button",{disabled:!0,className:p(bt,vt)},"..."),i<r&&e.createElement("button",{"data-testid":`paginate-page-${r}`,"data-paginator":"last",onClick:()=>o(r),className:p(bt,l===r&>)},r),e.createElement("button",{"data-testid":"paginate-next",disabled:l===r,onClick:()=>o(l+1),className:p(bt,l===r&&vt)},"⟩"))},exports.Panel=Y,exports.Paragraph=b,exports.PasswordStrengthField=ua,exports.ScaffoldField=so,exports.ScaffoldForm=io,exports.ScaffoldFormContext=no,exports.ScaffoldFormProvider=({factory:t,children:a})=>e.createElement(no.Provider,{value:{factory:t}},a),exports.Section=t=>e.createElement(C,Object.assign({pb:{laptop:7,mobile:4}},t)),exports.Select=ea,exports.SideBarHeader=({children:t,right:a})=>e.createElement(C,{className:ut},e.createElement(C,{flexGrow:1,display:"flex"},e.createElement(C,{flexGrow:1,display:"flex",flexDirection:"column",justifyContent:"center"},t)),a&&e.createElement(C,null,a)),exports.SimpleTimeline=({color:t,icon:a,title:r,titleMeta:o})=>e.createElement(C,{className:wt},e.createElement(C,{className:p(Ot,"line")},e.createElement("div",{className:Nt,style:{"--background-color":t}},a)),e.createElement(C,{pb:4,flexGrow:1},e.createElement(Y,{className:kt,titleMeta:o,title:r}))),exports.SlideInFromTop=c,exports.Split=({leftWidth:t="calc(135 * var(--spacing))",wrapperBoxProps:a,left:r,leftBoxProps:o,right:l,rightBoxProps:n})=>e.createElement(C,Object.assign({display:"flex",flexDirection:"column",className:p(Ra,null==a?void 0:a.className)},a,{style:Object.assign({"--left-width":t,"--collapsed-sidebar-width":"calc(15 * var(--spacing))"},null==a?void 0:a.style)}),e.createElement(C,{flexGrow:1,display:"flex",flexDirection:{laptop:"row",mobile:"column"}},e.createElement(C,Object.assign({className:Aa,p:{laptop:7,mobile:4}},o),r),e.createElement(C,Object.assign({className:Ma,p:{laptop:7,mobile:4}},n),l))),exports.SplitLayout=({sideBarProps:t,topBarProps:a,footerProps:r,isLoading:o,loader:l,children:n})=>e.createElement(Ca,{sideBarProps:t,topBarProps:a,footerProps:r},e.createElement(C,{pl:{laptop:at},flexGrow:1},o&&l?l:n)),exports.Statistic=({icon:t,value:a,label:r,backgroundColor:o,smallerValue:l,valueTestId:n})=>e.createElement("div",{className:p(ht.wrapper,ht[o])},e.createElement("div",{className:ht.iconWrapper},t),e.createElement(C,{flexGrow:1,textAlign:"right"},e.createElement("div",{className:ht.label},r),e.createElement("div",{"data-testid":n,className:p(ht.value,l&&ht.smaller)},a))),exports.Tab=t=>{var{id:a,isActive:r,onClick:o,variant:l}=t,s=n(t,["id","isActive","onClick","variant"]);const i=e.useCallback(()=>{r||null==o||o(a)},[a,r,o]);return e.createElement(C,Object.assign({className:p(yt.tab,r&&yt.isActive,l&&yt[l])},s,{onClick:i}))},exports.TabContent=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement(C,Object.assign({className:p(xt,a),p:3},r))},exports.Table=Ce,exports.Tabs=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement(C,Object.assign({className:p(a,Et)},r))},exports.TextField=Vt,exports.Timeline=({title:t,icon:a,color:r,isInitiallyOpen:o,titleMeta:l,chevron:n,children:s})=>e.createElement(C,{className:wt},e.createElement(C,{className:Ot},e.createElement("div",{className:Nt,style:{"--background-color":r}},a)),e.createElement(C,{pb:4,flexGrow:1},e.createElement(te,{isInitiallyOpen:o,titleMeta:l,title:t,titleAction:n},s))),exports.Toggle=({isChecked:t,isDisabled:a,onChange:r})=>e.createElement("div",{onClick:()=>null==r?void 0:r(!t),className:p(jt,t&&Gt,a&&Tt)},e.createElement("div",{className:Dt})),exports.TopBar=Ct,exports.UiWrapper=({children:t})=>e.createElement(o,null,e.createElement("div",{className:l},t)),exports.VerticalRhythmLaptop=7,exports.VerticalRhythmMobile=4,exports.breakPoints=h,exports.calculatePasswordScore=ma,exports.getResponsiveProps=x,exports.isResponsiveObject=N,exports.passwordHasLowerAndUppercase=ia,exports.passwordHasNumbers=sa,exports.passwordHasSpecialChars=pa,exports.passwordMinLength=na,exports.useCloseSidebarOnNavigate=t=>{const{closeSideMenu:a}=r();e.useEffect(()=>{a()},[t,a])},exports.useResponsiveBreakpoints=ft,exports.useToggleMobileMenu=({currentRoute:t})=>{const[a,r]=e.useState(!1),o=e.useCallback(()=>{r(e=>!e)},[]),l=e.useCallback(()=>{r(!0)},[]),n=e.useCallback(()=>{r(!1)},[]);return e.useEffect(()=>{n()},[t,n]),{isOpen:a,open:l,close:n,toggle:o}},exports.useUiStateContext=r;
|
|
10
|
+
*/"production"===process.env.NODE_ENV?(!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==process.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),ce.exports=function(){if(me)return ue;me=1;var t=e;function a(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}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(){}var o={d:{f:r,r:function(){throw Error(a(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},l=Symbol.for("react.portal"),n=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function s(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}return ue.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,ue.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error(a(299));return function(e,t,a){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:l,key:null==r?null:""+r,children:e,containerInfo:t,implementation:a}}(e,t,null,r)},ue.flushSync=function(e){var t=n.T,a=o.p;try{if(n.T=null,o.p=2,e)return e()}finally{n.T=t,o.p=a,o.d.f()}},ue.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))},ue.prefetchDNS=function(e){"string"==typeof e&&o.d.D(e)},ue.preinit=function(e,t){if("string"==typeof e&&t&&"string"==typeof t.as){var a=t.as,r=s(a,t.crossOrigin),l="string"==typeof t.integrity?t.integrity:void 0,n="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===a?o.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:r,integrity:l,fetchPriority:n}):"script"===a&&o.d.X(e,{crossOrigin:r,integrity:l,fetchPriority:n,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},ue.preinitModule=function(e,t){if("string"==typeof e)if("object"==typeof t&&null!==t){if(null==t.as||"script"===t.as){var a=s(t.as,t.crossOrigin);o.d.M(e,{crossOrigin:a,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)},ue.preload=function(e,t){if("string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var a=t.as,r=s(a,t.crossOrigin);o.d.L(e,a,{crossOrigin:r,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:"string"==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})}},ue.preloadModule=function(e,t){if("string"==typeof e)if(t){var a=s(t.as,t.crossOrigin);o.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0})}else o.d.m(e)},ue.requestFormReset=function(e){o.d.r(e)},ue.unstable_batchedUpdates=function(e,t){return e(t)},ue.useFormState=function(e,t,a){return n.H.useFormState(e,t,a)},ue.useFormStatus=function(){return n.H.useHostTransitionStatus()},ue.version="19.2.5",ue}()):ce.exports=(pe||(pe=1,"production"!==process.env.NODE_ENV&&function(){function t(){}function a(e){return""+e}function r(e,t){return"font"===e?"":"string"==typeof t?"use-credentials"===t?t:"":void 0}function o(e){return null===e?"`null`":void 0===e?"`undefined`":""===e?"an empty string":'something with type "'+typeof e+'"'}function l(e){return null===e?"`null`":void 0===e?"`undefined`":""===e?"an empty string":"string"==typeof e?JSON.stringify(e):"number"==typeof e?"`"+e+"`":'something with type "'+typeof e+'"'}function n(){var e=c.H;return null===e&&console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."),e}"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=e,i={d:{f:t,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},p=Symbol.for("react.portal"),c=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),de.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=i,de.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)throw Error("Target container is not a DOM element.");return function(e,t,r){var o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;try{a(o);var l=!1}catch(e){l=!0}return l&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.","function"==typeof Symbol&&Symbol.toStringTag&&o[Symbol.toStringTag]||o.constructor.name||"Object"),a(o)),{$$typeof:p,key:null==o?null:""+o,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},de.flushSync=function(e){var t=c.T,a=i.p;try{if(c.T=null,i.p=2,e)return e()}finally{c.T=t,i.p=a,i.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},de.preconnect=function(e,t){"string"==typeof e&&e?null!=t&&"object"!=typeof t?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",l(t)):null!=t&&"string"!=typeof t.crossOrigin&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",o(t.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(e)),"string"==typeof e&&(t=t?"string"==typeof(t=t.crossOrigin)?"use-credentials"===t?t:"":void 0:null,i.d.C(e,t))},de.prefetchDNS=function(e){if("string"==typeof e&&e){if(1<arguments.length){var t=arguments[1];"object"==typeof t&&t.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",l(t)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",l(t))}}else console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(e));"string"==typeof e&&i.d.D(e)},de.preinit=function(e,t){if("string"==typeof e&&e?null==t||"object"!=typeof t?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",l(t)):"style"!==t.as&&"script"!==t.as&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',l(t.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(e)),"string"==typeof e&&t&&"string"==typeof t.as){var a=t.as,n=r(a,t.crossOrigin),s="string"==typeof t.integrity?t.integrity:void 0,p="string"==typeof t.fetchPriority?t.fetchPriority:void 0;"style"===a?i.d.S(e,"string"==typeof t.precedence?t.precedence:void 0,{crossOrigin:n,integrity:s,fetchPriority:p}):"script"===a&&i.d.X(e,{crossOrigin:n,integrity:s,fetchPriority:p,nonce:"string"==typeof t.nonce?t.nonce:void 0})}},de.preinitModule=function(e,t){var a="";"string"==typeof e&&e||(a+=" The `href` argument encountered was "+o(e)+"."),void 0!==t&&"object"!=typeof t?a+=" The `options` argument encountered was "+o(t)+".":t&&"as"in t&&"script"!==t.as&&(a+=" The `as` option encountered was "+l(t.as)+"."),a?console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",a):"script"===(a=t&&"string"==typeof t.as?t.as:"script")||(a=l(a),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',a,e)),"string"==typeof e&&("object"==typeof t&&null!==t?null!=t.as&&"script"!==t.as||(a=r(t.as,t.crossOrigin),i.d.M(e,{crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0,nonce:"string"==typeof t.nonce?t.nonce:void 0})):null==t&&i.d.M(e))},de.preload=function(e,t){var a="";if("string"==typeof e&&e||(a+=" The `href` argument encountered was "+o(e)+"."),null==t||"object"!=typeof t?a+=" The `options` argument encountered was "+o(t)+".":"string"==typeof t.as&&t.as||(a+=" The `as` option encountered was "+o(t.as)+"."),a&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',a),"string"==typeof e&&"object"==typeof t&&null!==t&&"string"==typeof t.as){var l=r(a=t.as,t.crossOrigin);i.d.L(e,a,{crossOrigin:l,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:"string"==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})}},de.preloadModule=function(e,t){var a="";"string"==typeof e&&e||(a+=" The `href` argument encountered was "+o(e)+"."),void 0!==t&&"object"!=typeof t?a+=" The `options` argument encountered was "+o(t)+".":t&&"as"in t&&"string"!=typeof t.as&&(a+=" The `as` option encountered was "+o(t.as)+"."),a&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',a),"string"==typeof e&&(t?(a=r(t.as,t.crossOrigin),i.d.m(e,{as:"string"==typeof t.as&&"script"!==t.as?t.as:void 0,crossOrigin:a,integrity:"string"==typeof t.integrity?t.integrity:void 0})):i.d.m(e))},de.requestFormReset=function(e){i.d.r(e)},de.unstable_batchedUpdates=function(e,t){return e(t)},de.useFormState=function(e,t,a){return n().useFormState(e,t,a)},de.useFormStatus=function(){return n().useHostTransitionStatus()},de.version="19.2.5","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())}()),de);var fe=ce.exports,_e="Hide-module_hidden__flCWB";const be=({when:t,children:a})=>e.createElement("div",{className:p(t&&_e)},a),ge=t=>{var{isHidden:a=!1,children:r,handleClickOverlay:o,buttons:l,onSubmit:s}=t,i=n(t,["isHidden","children","handleClickOverlay","buttons","onSubmit"]);e.useEffect(()=>(document.body.style.overflow="hidden",()=>{document.body.style.overflow="visible"}),[]);const p=e.createElement(Y,Object.assign({className:ne,footer:l?e.createElement(C,{display:"flex",justifyContent:"flex-end"},l):void 0},i),r&&e.createElement("div",{className:le},r));return fe.createPortal(e.createElement(be,{when:a},e.createElement(re,{onClick:o}),e.createElement("div",{className:oe},e.createElement(c,null,s?e.createElement("form",{onSubmit:s},p):p))),document.getElementById("modal-root")||document.body)};var ve={wrapper:"Button-module_wrapper__nbaE8",stretch:"Button-module_stretch__JWfY7",actionButton:"Button-module_actionButton__S1gAt",button:"Button-module_button__PNye2",inline:"Button-module_inline__AMjqw",interactiveDisabled:"Button-module_interactiveDisabled__oFKm4","variant-basic":"Button-module_variant-basic__lKAIX","variant-default":"Button-module_variant-default__Sr0CI","variant-text":"Button-module_variant-text__Nc1vT",icon:"Button-module_icon__OlcRJ",hasChildren:"Button-module_hasChildren__rEq-P","variant-primary":"Button-module_variant-primary__RNJDU","variant-secondary":"Button-module_variant-secondary__TnXFg","variant-danger":"Button-module_variant-danger__PZS1I",iconWrapper:"Button-module_iconWrapper__YwLLt"};const he=e.forwardRef((t,a)=>{var{children:r,icon:o,variant:l="default",actionButton:s,stretch:i,inline:c,interactiveDisabled:d,className:m}=t,u=n(t,["children","icon","variant","actionButton","stretch","inline","interactiveDisabled","className"]);return e.createElement("div",{className:p(ve.wrapper,s&&ve.actionButton,i&&ve.stretch)},e.createElement("button",Object.assign({className:p(ve.button,ve[`variant-${l}`],!!r&&ve.hasChildren,o&&ve.icon,s&&ve.actionButton,i&&ve.stretch,c&&ve.inline,d&&ve.interactiveDisabled,m),ref:a},u),o&&e.createElement("span",{className:p(ve.iconWrapper,ve[`variant-${l}`],!!r&&ve.hasChildren)},o),r))});var ye="ConfirmModal-module_button__rndXD";const xe=t=>{var{children:a,cancelLabel:r="Nee, annuleren",confirmLabel:o="Ja",confirmVariant:l="secondary",confirmIcon:s,cancelIcon:i,isOpen:p,isPending:c,onCancel:d,onConfirm:m}=t,u=n(t,["children","cancelLabel","confirmLabel","confirmVariant","confirmIcon","cancelIcon","isOpen","isPending","onCancel","onConfirm"]);return p?e.createElement(ge,Object.assign({},u,{handleClickOverlay:d,buttons:e.createElement(e.Fragment,null,e.createElement(he,{className:ye,"data-testid":"btn-cancel",onClick:d,variant:"basic",icon:i,disabled:c},r),e.createElement(he,{className:ye,"data-testid":"btn-confirm",onClick:m,variant:l,icon:s,disabled:c},o))}),a):null},Ee=()=>{};var ke="Container-module_wrapper__RRZ0b";var we={table:"Table-module_table__Dkosn",tr:"Table-module_tr__7UG8J","variant-positive":"Table-module_variant-positive__71gFV",disableHover:"Table-module_disableHover__vv-sQ","variant-negative":"Table-module_variant-negative__dtSY7","variant-info":"Table-module_variant-info__oxZNe","variant-warning":"Table-module_variant-warning__buDZq","variant-basic":"Table-module_variant-basic__QksCj","variant-emphasized":"Table-module_variant-emphasized__K1CXV",td:"Table-module_td__jv9tA",width:"Table-module_width__bS4aU",th:"Table-module_th__PNuEx",inner:"Table-module_inner__TCfso",sortable:"Table-module_sortable__W4c6P",asc:"Table-module_asc__-caTr",desc:"Table-module_desc__jQI8s"};const Oe=e.forwardRef((t,a)=>{var{className:r,disableHover:o}=t,l=n(t,["className","disableHover"]);return e.createElement("tr",Object.assign({ref:a,className:p(we.tr,o&&we.disableHover,r)},l))}),Ne=e.forwardRef((t,a)=>{var{className:r,variant:o="basic",width:l}=t,s=n(t,["className","variant","width"]);const i=null!=l;return e.createElement("td",Object.assign({ref:a,className:p(we.td,we[`variant-${o}`],i&&we.width,r),style:i?{"--width":l}:void 0},s))}),Se=e.forwardRef((t,a)=>{var{sortable:r,sortDirection:o,width:l,className:s,children:i}=t,c=n(t,["sortable","sortDirection","width","className","children"]);const d=null!=l;return e.createElement("th",Object.assign({ref:a,className:p(we.th,r&&we.sortable,o&&we[o],d&&we.width,s),style:d?{"--width":l}:void 0},c),e.createElement("span",{className:we.inner},i))}),Ce=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement("table",Object.assign({className:p(we.table,a)},r))};Ce.Row=Oe,Ce.HeadCell=Se,Ce.Cell=Ne;var je={row:"Details-module_row__0d8vi",isFirstRow:"Details-module_isFirstRow__iVno4"};var Ge="Dropdown-module_wrapper__79ooc",Te="Dropdown-module_dropper__uVdEf",De="Dropdown-module_left__JYKmP",Pe="Dropdown-module_right__UefzB",Ae="Dropdown-module_hidden__FmQN5",Me="Dropdown-module_dropdownMenu__5R4vo",Re="Dropdown-module_dropdownMenuItem__dj4Gp";var Be="Dropzone-module_dropzone__WvixK",Fe="Dropzone-module_centered__00ZHP",Le="Dropzone-module_isReadyToDrop__NX-Ix",Ie="Dropzone-module_input__AEKgL",We="Dropzone-module_idle__HViGO",He="Dropzone-module_deleteButton__6zeTi",ze="Dropzone-module_fileName__XqXj8";const Ve=e.forwardRef((t,a)=>{var{className:r,placeholder:o,icon:l}=t,s=n(t,["className","placeholder","icon"]);const[i,c]=e.useState(),d=e.useRef(null),[m,u]=e.useState(!1),[f,_]=e.useState(),b=f&&f.length>0,g=e.useCallback(e=>{const t=(null==e?void 0:e.target).files,a=Array.from(t).map(e=>e.name);_(a)},[]),v=e.useCallback(e=>{e.preventDefault(),u(!0)},[]),h=e.useCallback(e=>{e.preventDefault(),u(!1)},[]),y=e.useCallback(()=>{u(!1)},[]),x=e.useCallback(()=>{null==i||i.click()},[i]),E=e.useCallback(()=>{i&&(i.value="",i.files=null,i.dispatchEvent(new Event("change",{bubbles:!0})))},[i]),k=e.useMemo(()=>e=>{null==e||e.addEventListener("change",g),c(e),"function"==typeof a&&(null==a||a(e))},[a,g]);return e.createElement("div",{ref:d,onDragOver:v,onDragLeave:h,onDrop:y,onClick:b?void 0:x,className:p(Be,!b&&Fe,m&&Le)},e.createElement("input",Object.assign({className:p(Ie,m?Le:We),"data-testid":"dropzone-file-input",type:"file",ref:k,multiple:!0},s)),e.createElement(C,null,!b&&e.createElement(he,{variant:"text",color:"secondary",type:"button",icon:l},o),b&&e.createElement(e.Fragment,null,e.createElement("button",{className:He,"data-testid":"file-clear",onClick:E}),e.createElement("ol",null,f.map((t,a)=>e.createElement("li",{key:a,className:ze},t))))))});var Ue="Feedback-module_box__ESWf9";const $e={mobile:1,laptop:0},qe={laptop:1},Ye=t=>{var{stretch:a,laptopWidth:r}=t,o=n(t,["stretch","laptopWidth"]);const l=e.useMemo(()=>({laptop:r}),[r]);return e.createElement(C,Object.assign({flexGrow:a?qe:void 0,width:l,pt:$e,pb:$e},o))},Xe={laptop:-1},Ke={mobile:-1,laptop:0},Je={mobile:"block",laptop:"flex"};var Ze="Footer-module_box__KZvsx",Qe="SideBar-module_wrapper__8tZbH",et="SideBar-module_isMobileMenuOpen__1yI4z",tt="SideBar-module_isDesktopMenuOpen__S25Jl";const at=15,rt=({isMobileMenuOpen:t,minWidth:a,children:o})=>{const{closeSideMenu:l,openSideMenu:n,isSideMenuOpen:s}=r();return e.createElement(C,{className:p("sidebar",Qe,t&&et,s&&tt),onMouseEnter:n,onMouseLeave:l,style:{"--minWidth":a||75,"--collapsed-width":at}},o)},ot=({children:t})=>e.createElement(C,{pt:2,pb:2,pr:5,pl:{mobile:5,laptop:20},className:Ze},t);var lt="HorizontalScroller-module_box__W07vp";var nt="HamburgerButton-module_hamburgerButton__uFuws";var st="Menu-module_menu__uj3BS",it="Menu-module_menuItem__96xoX",pt="Menu-module_isActive__idoz4",ct="Menu-module_isOpen__p1ar3";var dt="MenuCloseButton-module_menuCloseButton__c2jye";var mt="MenuSlideOpenIndicator-module_wrapper__Q6Ykj";var ut="SideBarHeader-module_sideBarHeader__7zbYN";const ft=()=>{const[t,a]=e.useState(window.innerWidth);e.useEffect(()=>{const e=()=>a(window.innerWidth);return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);return e.useMemo(()=>({isMobile:t>=y.mobile,isTablet:t>=y.tablet,isLaptop:t>=y.laptop,isDesktop:t>=y.desktop}),[t])};var _t="Paginator-module_wrapper__IPIcn",bt="Paginator-module_button__lkNBq",gt="Paginator-module_isActive__Qk3mv",vt="Paginator-module_isDisabled__uHGss";var ht={wrapper:"Statistic-module_wrapper__4eJ86",blue:"Statistic-module_blue__SsMhE",indigo:"Statistic-module_indigo__8DByg",purple:"Statistic-module_purple__mieHQ",pink:"Statistic-module_pink__2PBSu",red:"Statistic-module_red__T7SC1",orange:"Statistic-module_orange__eq9b2",yellow:"Statistic-module_yellow__0A2sj",green:"Statistic-module_green__LjLEE",teal:"Statistic-module_teal__rz09e",cyan:"Statistic-module_cyan__ljMqB",gray:"Statistic-module_gray__Bukv9",grayDark:"Statistic-module_grayDark__JoQc8",light:"Statistic-module_light__Q1XW7",dark:"Statistic-module_dark__HWch8",label:"Statistic-module_label__O256y",value:"Statistic-module_value__Af9tB",smaller:"Statistic-module_smaller__ni0vP",iconWrapper:"Statistic-module_iconWrapper__TudZL"};var yt={tab:"Tab-module_tab__Iwytl",isActive:"Tab-module_isActive__DXImz",hint:"Tab-module_hint__ynkFR",error:"Tab-module_error__OF1Ji"};var xt="TabContent-module_tabContent__hMTiE";var Et="Tabs-module_tabs__QzIkz";var kt="Timeline-module_flatPanel__TzdFU",wt="Timeline-module_wrapper__sWd71",Ot="Timeline-module_line__CwY-N",Nt="Timeline-module_circle__7kyfg";var St="TopBar-module_wrapper__DVlec",Ct="TopBar-module_sticky__89fwl";const jt=({left:t,right:a,isSticky:r=!1})=>e.createElement(C,{className:p(St,r&&Ct)},e.createElement(C,{display:"flex",alignItems:"center",pb:1,pt:1,pr:5,pl:{mobile:5,laptop:20}},e.createElement(C,{flexGrow:1,display:"flex",pl:2},t),e.createElement(C,{flexGrow:1,display:"flex",justifyContent:"flex-end"},a)));var Gt="Toggle-module_toggle__kmzmH",Tt="Toggle-module_checked__wOt93",Dt="Toggle-module_disabled__zqNfH",Pt="Toggle-module_thumb__nibyJ";var At="FormGridWrapper-module_label__3OAEA",Mt="FormGridWrapper-module_error__80-SA",Rt="FormGridWrapper-module_hint__lj9vT",Bt="FormGridWrapper-module_requiredAsterisk__-4sG4";const Ft=({error:t,isRequired:a,className:r,children:o})=>e.createElement("label",{className:p(At,!!t&&Mt,r)},o,a&&e.createElement("span",{className:Bt}));var Lt="Checkbox-module_label__uYQc9",It="Checkbox-module_input__a4Cy-",Wt="Checkbox-module_dimmed__wAzQa";const Ht=e.forwardRef((t,a)=>{var{options:r,spacing:o=1,name:l,dimmed:s,className:i,orientation:c="vertical",labelStyle:d}=t,m=n(t,["options","spacing","name","dimmed","className","orientation","labelStyle"]);const u=Array.isArray(r)?r:Object.entries(r),f=e.createElement(e.Fragment,null,u.map(([t,r])=>e.createElement(C,{key:t,mt:o,mb:o},e.createElement("label",{className:Lt,key:t},e.createElement("input",Object.assign({className:p(i,It),type:"checkbox",value:t,name:l,ref:a},m)),e.createElement("span",{className:p(s&&Wt),style:d},r)))));return"horizontal"===c?e.createElement(C,{display:"flex",columnGap:4},f):f});var zt="TextField-module_input__73ULM",Vt="TextField-module_textarea__DzXRI";const Ut=e.forwardRef((t,a)=>{var{multiline:r=!1,className:o}=t,l=n(t,["multiline","className"]);return r?e.createElement("textarea",Object.assign({className:p(Vt,zt,o),ref:a},l)):e.createElement("input",Object.assign({className:p(zt,o),ref:a,type:"text"},l))});var $t="FileField-module_wrapper__Av1Bz",qt="FileField-module_hiddenInput__42z5Q",Yt="FileField-module_button__13cFn",Xt="FileField-module_textField__-9ZPk",Kt="FileField-module_deleteButton__RpWa3";const Jt=e.forwardRef((t,a)=>{var{className:r,placeholder:o,chooseFileLabel:l="Choose file",changeFileLabel:s="Change file",onClear:i}=t,c=n(t,["className","placeholder","chooseFileLabel","changeFileLabel","onClear"]);const[d,m]=e.useState(),[u,f]=e.useState(""),_=e.useCallback(e=>{var t;const a=(null==e?void 0:e.target).files;f((null===(t=null==a?void 0:a[0])||void 0===t?void 0:t.name)||"")},[]),b=e.useCallback(()=>{d&&(d.value="",d.files=null,d.dispatchEvent(new Event("change",{bubbles:!0})),i&&i())},[d,i]),g=e.useMemo(()=>e=>{null==e||e.addEventListener("change",_),m(e),"function"==typeof a&&(null==a||a(e))},[a,_]);return e.createElement("div",{className:$t},e.createElement("input",Object.assign({className:qt,type:"file",ref:g},c)),e.createElement(he,{className:Yt,variant:"basic"},u?s:l),e.createElement(Ut,{placeholder:o,className:p(Xt,r),disabled:!0,value:u}),!!u&&i&&e.createElement("button",{className:Kt,"data-testid":"file-clear",onClick:b}))});var Zt="Select-module_wrapper__vBUHm",Qt="Select-module_select__tfPHD",ea="Select-module_paddingOverlay__Y6O4-";const ta=e.forwardRef((t,a)=>{var{options:r,className:o}=t,l=n(t,["options","className"]);const s=Array.isArray(r)?r:Object.entries(r);return e.createElement("div",{className:Zt},e.createElement("select",Object.assign({className:p(Qt,o),ref:a},l),s.map(([t,a])=>e.createElement("option",{key:t,value:t},a))),e.createElement("div",{className:ea},"▾"))});var aa="PasswordStrengthField-module_progress__KIvlC",ra="PasswordStrengthField-module_progressBar__Wz5Rz",oa="PasswordStrengthField-module_bad__n300O",la="PasswordStrengthField-module_ok__LMIms",na="PasswordStrengthField-module_good__MhPYT";const sa=e=>e.length>=8,ia=e=>/\d/.test(e),pa=e=>/[a-z]/.test(e)&&/[A-Z]/.test(e),ca=e=>/[-’/`~!#*$@_%+=.,^&(){}[\]|;:”<>?\\]/.test(e),da=[sa,ia,pa,ca],ma=da.length+1,ua=e=>da.map(t=>t(e)).reduce((e,t)=>t?e+1:e,1),fa=e.forwardRef((t,a)=>{const[r,o]=e.useState(0),l=e.useCallback(e=>{const t=e.target;o(t.value?ua(t.value):0)},[]),n=e.useMemo(()=>e=>{null==e||e.addEventListener("keyup",l),"function"==typeof a&&(null==a||a(e))},[a,l]);return e.createElement(e.Fragment,null,e.createElement(Ut,Object.assign({},t,{type:"password",ref:n})),e.createElement("div",{className:aa},e.createElement("div",{className:p(ra,r<=2?oa:r<=3?la:na),style:{"--width":r/ma*100+"%"}})))});var _a="FormGridCell-module_formGridCell__Y3e5s",ba="FormGridCell-module_rowOffset__xvXeK",ga="FormGridCell-module_mobile--position__1AeHR",va="FormGridCell-module_tablet--position__Xxybj",ha="FormGridCell-module_laptop--position__gMNqe",ya="FormGridCell-module_desktop--position__UDC4a";const xa=({position:t,align:a,rowOffset:r=0,children:o,className:l})=>{if(!t||!N(t))throw new Error("FormGridCell should set a position");const{classNames:n,variables:s}=x({textAlign:a}),i=((e,t)=>h.reduce((a,r)=>(null==e?void 0:e[r])?Object.assign(Object.assign({},a),((e,t,a)=>{const r={};return void 0!==t.row&&(r[`--${e}-row`]=2*t.row+1+a),t.rowSpan&&a&&(r[`--${e}-rowSpan`]=2*t.rowSpan-1),void 0!==t.column&&(r[`--${e}-column`]=t.column+1),void 0!==t.columnSpan&&(r[`--${e}-columnSpan`]=t.columnSpan),r})(r,e[r],t)):a,{}))(t,r);return e.createElement("div",{className:p(_a,r&&ba,t.mobile&&ga,t.tablet&&va,t.laptop&&ha,t.desktop&&ya,n,l),style:Object.assign(Object.assign({},s),i)},o)},Ea=({position:t,align:a,label:r,hint:o,error:l,isRequired:n,children:s})=>e.createElement(e.Fragment,null,e.createElement(xa,{position:t,align:a,className:"form-grid-cell__label-hint"},r&&e.createElement(Ft,{error:!!l,isRequired:n},r),o&&e.createElement("div",{className:p(Rt,!!l&&Mt)},o)),e.createElement(xa,{position:t,align:a,rowOffset:1,className:p({"form-grid-cell__field-error":!0,"has-error":!!l})},s,l&&e.createElement("div",{className:Mt},l)));var ka="FormGrid-module_formGrid__2OSmK";const wa=t=>{var{columns:a,className:r}=t,o=n(t,["columns","className"]);const{classNames:l,variables:s}=x({columns:a});return e.createElement("div",Object.assign({className:p(ka,r,l),style:Object.assign(Object.assign({},s),{"--numRowsPerField":2})},o))};var Oa="DefaultLayout-module_wrapper__UPzJr",Na="DefaultLayout-module_wrapperInner__ZdGKn",Sa="DefaultLayout-module_sidebarWrapper__Jehqe",Ca="DefaultLayout-module_contentBox__lVxGL";const ja=({sideBarProps:t,topBarProps:a,footerProps:r,children:o})=>e.createElement(C,{className:Oa,flexGrow:1,display:"flex",flexDirection:"column"},e.createElement(C,{className:Na,flexGrow:1,flexShrink:0,"data-foo":"test",flexBasis:{mobile:"100%",laptop:"25%"}},t&&e.createElement(C,{className:Sa},e.createElement(rt,Object.assign({},t))),e.createElement(C,{className:Ca,display:"flex",flexDirection:"column"},e.createElement(jt,Object.assign({},a)),o,e.createElement(ot,Object.assign({},r)))));var Ga="FloatingPanelLayout-module_wrapper__XlZwj",Ta="FloatingPanelLayout-module_background__vI4Uc",Da="FloatingPanelLayout-module_animation__031Vf",Pa="FloatingPanelLayout-module_panel__Dmfof",Aa="FloatingPanelLayout-module_logo__-5gan";var Ma="Split-module_left__SVDRN",Ra="Split-module_right__UTnql",Ba="Split-module_split__UsPG7";var Fa="InverseSplit-module_right__szSPP",La="InverseSplit-module_left__wVE1r",Ia="InverseSplit-module_split__DMjia";var Wa=1/0,Ha=9007199254740991,za=17976931348623157e292,Va=NaN,Ua="[object Function]",$a="[object GeneratorFunction]",qa="[object Symbol]",Ya=/^\s+|\s+$/g,Xa=/^[-+]0x[0-9a-f]+$/i,Ka=/^0b[01]+$/i,Ja=/^0o[0-7]+$/i,Za=/^(?:0|[1-9]\d*)$/,Qa=parseInt,er=Object.prototype.toString,tr=Math.ceil,ar=Math.max;function rr(e,t,a){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(a=a>o?o:a)<0&&(a+=o),o=t>a?0:a-t>>>0,t>>>=0;for(var l=Array(o);++r<o;)l[r]=e[r+t];return l}function or(e,t,a){if(!lr(a))return!1;var r=typeof t;return!!("number"==r?function(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=Ha}(e.length)&&!function(e){var t=lr(e)?er.call(e):"";return t==Ua||t==$a}(e)}(a)&&function(e,t){return!!(t=null==t?Ha:t)&&("number"==typeof e||Za.test(e))&&e>-1&&e%1==0&&e<t}(t,a.length):"string"==r&&t in a)&&function(e,t){return e===t||e!=e&&t!=t}(a[t],e)}function lr(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var nr=ie(function(e,t,a){t=(a?or(e,t,a):void 0===t)?1:ar(function(e){var t=function(e){if(!e)return 0===e?e:0;if(e=function(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&er.call(e)==qa}(e))return Va;if(lr(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=lr(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Ya,"");var a=Ka.test(e);return a||Ja.test(e)?Qa(e.slice(2),a?2:8):Xa.test(e)?Va:+e}(e),e===Wa||e===-1/0){return(e<0?-1:1)*za}return e==e?e:0}(e),a=t%1;return t==t?a?t-a:t:0}(t),0);var r=e?e.length:0;if(!r||t<1)return[];for(var o=0,l=0,n=Array(tr(r/t));o<r;)n[l++]=rr(e,o,o+=t);return n});class sr{constructor(e){this.grid=e}getValues(){return this.grid}getDistinctValues(){const e=[];return this.grid.forEach(t=>{t.forEach(t=>{e.includes(t)||e.push(t)})}),e}sliceArea(e,t){if(e.x>t.x||e.y>t.y)throw new Error("Coordinates are mixed up. Please ensure topLeft is actually in the top-left corner. And bottomRight is actually in the bottom-right corner");return new sr(this.grid.slice(e.y,t.y+1).map(a=>a.slice(e.x,t.x+1)))}getCoordinatesForValue(e){const t=[],a=[];return this.grid.forEach((r,o)=>{r.forEach((r,l)=>{r===e&&(t.push(l),a.push(o))})}),{topLeft:{x:Math.min(...t),y:Math.min(...a)},bottomRight:{x:Math.max(...t),y:Math.max(...a)}}}}var ir="__lodash_hash_undefined__",pr=9007199254740991,cr="[object Arguments]",dr=/^\[object .+?Constructor\]$/,mr="object"==typeof se&&se&&se.Object===Object&&se,ur="object"==typeof self&&self&&self.Object===Object&&self,fr=mr||ur||Function("return this")();function _r(e,t){return!!(e?e.length:0)&&function(e,t,a){if(t!=t)return function(e,t,a,r){var o=e.length,l=a+(r?1:-1);for(;r?l--:++l<o;)if(t(e[l],l,e))return l;return-1}(e,vr,a);var r=a-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,0)>-1}function br(e,t,a){for(var r=-1,o=e?e.length:0;++r<o;)if(a(t,e[r]))return!0;return!1}function gr(e,t){for(var a=-1,r=t.length,o=e.length;++a<r;)e[o+a]=t[a];return e}function vr(e){return e!=e}function hr(e,t){return e.has(t)}var yr,xr=Array.prototype,Er=Function.prototype,kr=Object.prototype,wr=fr["__core-js_shared__"],Or=(yr=/[^.]+$/.exec(wr&&wr.keys&&wr.keys.IE_PROTO||""))?"Symbol(src)_1."+yr:"",Nr=Er.toString,Sr=kr.hasOwnProperty,Cr=kr.toString,jr=RegExp("^"+Nr.call(Sr).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gr=fr.Symbol,Tr=kr.propertyIsEnumerable,Dr=xr.splice,Pr=Gr?Gr.isConcatSpreadable:void 0,Ar=Math.max,Mr=$r(fr,"Map"),Rr=$r(Object,"create");function Br(e){var t=-1,a=e?e.length:0;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}function Fr(e){var t=-1,a=e?e.length:0;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}function Lr(e){var t=-1,a=e?e.length:0;for(this.clear();++t<a;){var r=e[t];this.set(r[0],r[1])}}function Ir(e){var t=-1,a=e?e.length:0;for(this.__data__=new Lr;++t<a;)this.add(e[t])}function Wr(e,t){for(var a=e.length;a--;)if(Jr(e[a][0],t))return a;return-1}function Hr(e,t,a,r){var o,l=-1,n=_r,s=!0,i=e.length,p=[],c=t.length;if(!i)return p;a&&(t=function(e,t){for(var a=-1,r=e?e.length:0,o=Array(r);++a<r;)o[a]=t(e[a],a,e);return o}(t,(o=a,function(e){return o(e)}))),r?(n=br,s=!1):t.length>=200&&(n=hr,s=!1,t=new Ir(t));e:for(;++l<i;){var d=e[l],m=a?a(d):d;if(d=r||0!==d?d:0,s&&m==m){for(var u=c;u--;)if(t[u]===m)continue e;p.push(d)}else n(t,m,r)||p.push(d)}return p}function zr(e,t,a,r,o){var l=-1,n=e.length;for(a||(a=qr),o||(o=[]);++l<n;){var s=e[l];t>0&&a(s)?t>1?zr(s,t-1,a,r,o):gr(o,s):r||(o[o.length]=s)}return o}function Vr(e){if(!ao(e)||(t=e,Or&&Or in t))return!1;var t,a=to(e)||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?jr:dr;return a.test(function(e){if(null!=e){try{return Nr.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))}function Ur(e,t){var a,r,o=e.__data__;return("string"==(r=typeof(a=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==a:null===a)?o["string"==typeof t?"string":"hash"]:o.map}function $r(e,t){var a=function(e,t){return null==e?void 0:e[t]}(e,t);return Vr(a)?a:void 0}function qr(e){return Zr(e)||function(e){return eo(e)&&Sr.call(e,"callee")&&(!Tr.call(e,"callee")||Cr.call(e)==cr)}(e)||!!(Pr&&e&&e[Pr])}Br.prototype.clear=function(){this.__data__=Rr?Rr(null):{}},Br.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Br.prototype.get=function(e){var t=this.__data__;if(Rr){var a=t[e];return a===ir?void 0:a}return Sr.call(t,e)?t[e]:void 0},Br.prototype.has=function(e){var t=this.__data__;return Rr?void 0!==t[e]:Sr.call(t,e)},Br.prototype.set=function(e,t){return this.__data__[e]=Rr&&void 0===t?ir:t,this},Fr.prototype.clear=function(){this.__data__=[]},Fr.prototype.delete=function(e){var t=this.__data__,a=Wr(t,e);return!(a<0)&&(a==t.length-1?t.pop():Dr.call(t,a,1),!0)},Fr.prototype.get=function(e){var t=this.__data__,a=Wr(t,e);return a<0?void 0:t[a][1]},Fr.prototype.has=function(e){return Wr(this.__data__,e)>-1},Fr.prototype.set=function(e,t){var a=this.__data__,r=Wr(a,e);return r<0?a.push([e,t]):a[r][1]=t,this},Lr.prototype.clear=function(){this.__data__={hash:new Br,map:new(Mr||Fr),string:new Br}},Lr.prototype.delete=function(e){return Ur(this,e).delete(e)},Lr.prototype.get=function(e){return Ur(this,e).get(e)},Lr.prototype.has=function(e){return Ur(this,e).has(e)},Lr.prototype.set=function(e,t){return Ur(this,e).set(e,t),this},Ir.prototype.add=Ir.prototype.push=function(e){return this.__data__.set(e,ir),this},Ir.prototype.has=function(e){return this.__data__.has(e)};var Yr,Xr,Kr=(Yr=function(e,t){return eo(e)?Hr(e,zr(t,1,eo,!0)):[]},Xr=Ar(void 0===Xr?Yr.length-1:Xr,0),function(){for(var e=arguments,t=-1,a=Ar(e.length-Xr,0),r=Array(a);++t<a;)r[t]=e[Xr+t];t=-1;for(var o=Array(Xr+1);++t<Xr;)o[t]=e[t];return o[Xr]=r,function(e,t,a){switch(a.length){case 0:return e.call(t);case 1:return e.call(t,a[0]);case 2:return e.call(t,a[0],a[1]);case 3:return e.call(t,a[0],a[1],a[2])}return e.apply(t,a)}(Yr,this,o)});function Jr(e,t){return e===t||e!=e&&t!=t}var Zr=Array.isArray;function Qr(e){return null!=e&&function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=pr}(e.length)&&!to(e)}function eo(e){return function(e){return!!e&&"object"==typeof e}(e)&&Qr(e)}function to(e){var t=ao(e)?Cr.call(e):"";return"[object Function]"==t||"[object GeneratorFunction]"==t}function ao(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}var ro=ie(Kr);const oo=(e,t)=>{const a=[...Array(e)].map(e=>"1fr");return t&&a.push("auto"),a.join(" ")};class lo{constructor(e,t={}){this.fields=e,this.columns=t}setGrid(e,t,a){"object"==typeof this.columns&&(this.columns[e]=t);const r=new sr(a);((e,t)=>{const a=t.getDistinctValues();if(a.length<e.length)throw new Error(`Not all given fields are present in the grid. Please add these fields ${ro(a,e).map(e=>`"${e}"`).join(", ")}`);a.forEach(a=>{if(!e.includes(a))throw new Error(`${a} is not an existing field. Existing fields are ${e.map(e=>`"${e}"`).join(", ")}.`);const r=t.getCoordinatesForValue(a),o=t.sliceArea(r.topLeft,r.bottomRight).getDistinctValues();if(1!==o.length||o[0]!==a)throw new Error(`Grid contains an unsupported shape. Please make sure "${a}" has a rectangular shape.`)})})(Object.keys(this.fields),r);const o=Object.entries(this.fields).reduce((t,[a,o])=>{var l,n;let s=(null===(l=o.props)||void 0===l?void 0:l.position)?no(null===(n=o.props)||void 0===n?void 0:n.position):{};N(s)||(s={mobile:s});const{topLeft:i,bottomRight:p}=r.getCoordinatesForValue(a);return s[e]={column:i.x,columnSpan:p.x-i.x+1,row:i.y,rowSpan:p.y-i.y+1},Object.assign(Object.assign({},t),{[a]:Object.assign(Object.assign({},o),{props:Object.assign(Object.assign({},o.props),{position:s})})})},{});return new lo(o,this.columns)}setVertical(e,t=1,a){return this.setGrid(e,null!=a?a:oo(t,!1),nr(Object.keys(this.fields),t))}setHorizontal(e,t){const a=Object.keys(this.fields);return this.setGrid(e,null!=t?t:oo(a.length,!1),[a])}getColumns(){return this.columns}getFields(){return this.fields}getScaffoldProps(){return{fields:this.fields,columns:this.columns}}}const no=e=>JSON.parse(JSON.stringify(e)),so=e.createContext({factory:void 0}),io=e.forwardRef((t,a)=>{var{name:r,field:o}=t,l=n(t,["name","field"]);const{factory:s}=e.useContext(so);if("Empty"===o.type)return null;const i=o.props,{position:c,align:d,label:m,hint:u,error:f,isRequired:_,skip:b}=i,g=n(i,["position","align","label","hint","error","isRequired","skip"]);if(b)return null;const v=(null==s?void 0:s(o))||(e=>{switch(e.type){case"Button":return he;case"Checkbox":return Ht;case"Select":return ta;case"FileField":return Jt;case"DropZone":return Ve;case"PasswordStrengthField":return fa;default:return Ut}})(o);return(e=>"TextField"===e.type)(o)&&!o.props.multiline&&"hidden"===o.props.type?e.createElement(v,Object.assign({ref:a,name:r},l,g)):e.createElement(Ea,{position:c,align:d,label:m,hint:u,error:f,isRequired:_},e.createElement(v,Object.assign({ref:a,name:r,placeholder:o.props.placeholder||m,className:p(!!f&&"error",o.props.className)},l,g)))}),po=e.forwardRef((t,a)=>{var{children:r,columns:o,fields:l,prefixFieldNames:s}=t,i=n(t,["children","columns","fields","prefixFieldNames"]);return e.createElement(wa,{columns:o},Object.entries(l).map(([t,r])=>e.createElement(io,Object.assign({name:`${null!=s?s:""}${t}`,key:t,field:r,ref:a},i))),r)});exports.Alert=({children:t,title:a,variant:r="basic",actions:o})=>e.createElement("div",{className:p(d.wrapper,d[`variant-${r}`])},e.createElement(C,{p:3,display:"flex"},e.createElement(C,{flexGrow:1},a&&e.createElement(C,{pb:t?1:0},e.createElement(f,{level:4},a)),t&&e.createElement(b,null,t)),o&&e.createElement(C,{display:"flex",alignItems:"center",justifyContent:"center"},o))),exports.AnimatedCheckmark=A,exports.BasicLayout=({sideBarProps:t,topBarProps:a,footerProps:r,isLoading:o,loader:l,children:n})=>e.createElement(ja,{sideBarProps:t,topBarProps:a,footerProps:r},e.createElement(C,{p:{laptop:7,mobile:4},pl:{laptop:22},flexGrow:1},o&&l?l:n)),exports.Box=C,exports.BreadCrumbs=t=>e.createElement("ul",Object.assign({className:p(M,t.className)},t)),exports.BreakPointValues=y,exports.Button=he,exports.Checkbox=Ht,exports.CollapsiblePanel=te,exports.ConfirmButton=t=>{var a,{modalProps:r}=t,o=n(t,["modalProps"]);const[l,s]=(({onConfirm:t})=>{const[a,r]=e.useState(!1);return[{onCancel:()=>r(!1),onConfirm:()=>{t(),r(!1)},isOpen:a},()=>r(!0)]})({onConfirm:null!==(a=r.onConfirm)&&void 0!==a?a:Ee});return e.createElement(e.Fragment,null,e.createElement(he,Object.assign({},o,{onClick:s})),e.createElement(xe,Object.assign({title:"Are you sure?"},r,l)))},exports.ConfirmModal=xe,exports.Container=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement("div",Object.assign({},r,{className:p(ke,a)}))},exports.Crumb=t=>e.createElement("li",Object.assign({className:p(R,t.className)},t)),exports.Details=({className:t,details:a,firstColumnWidth:r})=>e.createElement(Ce,{className:t},e.createElement("tbody",null,Object.entries(a).map(([t,a],o)=>e.createElement(Ce.Row,{key:t,disableHover:!0},e.createElement(Ce.Cell,{style:{width:r},className:p(je.cell,0===o&&je.isFirstRow)},t),e.createElement(Ce.Cell,{className:p(je.cell,0===o&&je.isFirstRow)},a))))),exports.Dropdown=({buttonProps:t,align:a="left",children:r,stayOpenOnClick:o,hideUsingCss:l})=>{const n=e.useRef(null),[s,i]=e.useState(!1),c=e.useCallback(()=>i(!0),[i]),d=e.useCallback(e=>{var t;o&&(null===(t=n.current)||void 0===t?void 0:t.contains(e.target))||i(!1)},[i,o]);return e.useEffect(()=>(s&&setTimeout(()=>document.addEventListener("click",d),1),()=>{document.removeEventListener("click",d)}),[s,d]),e.createElement("div",{className:Ge},e.createElement(he,Object.assign({},t,{onClick:c})),(s||l)&&e.createElement("span",{className:p(Te,!s&&Ae,"left"===a&&De,"right"===a&&Pe),ref:n},r))},exports.DropdownMenu=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement("ul",Object.assign({className:p(Me,a)},r))},exports.DropdownMenuItem=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement("li",Object.assign({className:p(Re,a)},r))},exports.Dropzone=Ve,exports.Feedback=({onConfirm:t,buttonLabel:a,buttonIcon:r,title:o,subtitle:l})=>e.createElement(ge,{handleClickOverlay:t,buttons:e.createElement(he,{"data-testid":"confirm",stretch:!0,icon:r,variant:"secondary",onClick:t},a)},e.createElement(C,{pt:3,pb:3,className:Ue},e.createElement(C,{pb:5,textAlign:"center"},e.createElement(f,null,o),l&&e.createElement(C,{pt:5},e.createElement(f,{level:5},l))),e.createElement(C,{pt:5,pb:5,pl:7,pr:7},e.createElement(A,null)))),exports.FileField=Jt,exports.Floater=t=>{var{items:a,forceEqualWidth:r=!1,stretch:o=!1,multiRow:l=!0}=t,s=n(t,["items","forceEqualWidth","stretch","multiRow"]);return e.createElement(C,Object.assign({mb:Ke,mt:Ke,ml:Xe,mr:Xe,display:Je,flexWrap:l?{laptop:"wrap"}:void 0,rowGap:l?{laptop:2}:void 0,columnGap:{laptop:2},pl:{laptop:1},pr:{laptop:1}},s),a.filter(Boolean).map((t,l)=>(e=>!!e.element)(t)?e.createElement(Ye,{key:l,laptopWidth:t.forceEqualWidth?100/a.length+"%":void 0,stretch:t.stretch||!1},t.element):e.createElement(Ye,{key:l,laptopWidth:r?100/a.length+"%":void 0,stretch:o},t)))},exports.FloatingPanelLayout=({panelProps:t,imageUrl:a,alert:r,logoUrl:o,backgroundBaseColor:l,backgroundOpacity:n})=>e.createElement(C,{className:Ga,style:l&&{"--base-color":l},display:"flex",alignItems:"center"},e.createElement("div",{className:Ta,style:{opacity:n||1,backgroundImage:`url(${a})`}}),o&&e.createElement("img",{src:o,alt:"Logo",className:Aa}),e.createElement(c,{className:Da},r&&e.createElement(C,{pb:7},r),e.createElement(Y,Object.assign({},t,{className:p(Pa,t.className)})))),exports.Footer=ot,exports.FormGrid=wa,exports.FormGridWrapper=Ea,exports.FormPositioner=lo,exports.HamburgerButton=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement(he,Object.assign({className:p(nt,a)},r))},exports.Header=f,exports.Hide=be,exports.HorizontalScroller=({children:t})=>e.createElement("div",{className:lt},t),exports.InverseSplit=({rightWidth:t="calc(100 * var(--spacing))",wrapperBoxProps:a,left:r,leftBoxProps:o,right:l,rightBoxProps:n})=>e.createElement(C,Object.assign({display:"flex",flexDirection:"column",className:p(Ia,null==a?void 0:a.className)},a,{style:Object.assign({"--right-width":t,"--collapsed-sidebar-width":"calc(15 * var(--spacing))"},null==a?void 0:a.style)}),e.createElement(C,{flexGrow:1,display:"flex",flexDirection:{laptop:"row",mobile:"column"}},e.createElement(C,Object.assign({className:La,p:{laptop:7,mobile:4}},o),r),e.createElement(C,Object.assign({className:Fa,p:{laptop:7,mobile:4}},n),l))),exports.Label=Ft,exports.Menu=({children:t})=>e.createElement("ul",{className:st},t),exports.MenuCloseButton=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement(he,Object.assign({actionButton:!0,className:p(dt,a)},r))},exports.MenuItem=({item:t,isOpen:a,isActive:r,children:o})=>{const[l,n]=e.useState(!!a);return e.createElement("li",{className:p(it,l&&ct,!!r&&pt)},t,o&&e.createElement(ee,{onChange:n,isOpen:!!a,duration:.25},o))},exports.MenuSlideOpenIndicator=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement(C,Object.assign({className:p(mt,a),style:{"--collapsed-width":at}},r))},exports.Modal=ge,exports.Overlay=re,exports.Paginator=t=>{const{isTablet:a}=ft(),{pageCount:r,onChange:o}=t,l=Math.min(Math.max(t.currentPage,0),r),n=a?2:0,s=Math.max(1,l-n),i=Math.min(r,l+n);return e.createElement("div",{className:_t},e.createElement("button",{"data-testid":"paginate-prev",disabled:1===l,onClick:()=>o(l-1),className:p(bt,1===l&&vt)},"⟨"),s>1&&e.createElement("button",{"data-testid":"paginate-page-1","data-paginator":"first",onClick:()=>o(1),className:p(bt,1===l&>)},"1"),s>2&&e.createElement("button",{disabled:!0,className:p(bt,vt)},"..."),((e,t)=>{let a=[];for(let r=e;r<t;r++)a.push(r);return a})(s,i+1).map(t=>e.createElement("button",{"data-testid":`paginate-page-${t}`,key:t,onClick:()=>o(t),className:p(bt,l===t&>)},t)),i<r-1&&e.createElement("button",{disabled:!0,className:p(bt,vt)},"..."),i<r&&e.createElement("button",{"data-testid":`paginate-page-${r}`,"data-paginator":"last",onClick:()=>o(r),className:p(bt,l===r&>)},r),e.createElement("button",{"data-testid":"paginate-next",disabled:l===r,onClick:()=>o(l+1),className:p(bt,l===r&&vt)},"⟩"))},exports.Panel=Y,exports.Paragraph=b,exports.PasswordStrengthField=fa,exports.ScaffoldField=io,exports.ScaffoldForm=po,exports.ScaffoldFormContext=so,exports.ScaffoldFormProvider=({factory:t,children:a})=>e.createElement(so.Provider,{value:{factory:t}},a),exports.Section=t=>e.createElement(C,Object.assign({pb:{laptop:7,mobile:4}},t)),exports.Select=ta,exports.SideBarHeader=({children:t,right:a})=>e.createElement(C,{className:ut},e.createElement(C,{flexGrow:1,display:"flex"},e.createElement(C,{flexGrow:1,display:"flex",flexDirection:"column",justifyContent:"center"},t)),a&&e.createElement(C,null,a)),exports.SimpleTimeline=({color:t,icon:a,title:r,titleMeta:o})=>e.createElement(C,{className:wt},e.createElement(C,{className:p(Ot,"line")},e.createElement("div",{className:Nt,style:{"--background-color":t}},a)),e.createElement(C,{pb:4,flexGrow:1},e.createElement(Y,{className:kt,titleMeta:o,title:r}))),exports.SlideInFromTop=c,exports.Split=({leftWidth:t="calc(135 * var(--spacing))",wrapperBoxProps:a,left:r,leftBoxProps:o,right:l,rightBoxProps:n})=>e.createElement(C,Object.assign({display:"flex",flexDirection:"column",className:p(Ba,null==a?void 0:a.className)},a,{style:Object.assign({"--left-width":t,"--collapsed-sidebar-width":"calc(15 * var(--spacing))"},null==a?void 0:a.style)}),e.createElement(C,{flexGrow:1,display:"flex",flexDirection:{laptop:"row",mobile:"column"}},e.createElement(C,Object.assign({className:Ma,p:{laptop:7,mobile:4}},o),r),e.createElement(C,Object.assign({className:Ra,p:{laptop:7,mobile:4}},n),l))),exports.SplitLayout=({sideBarProps:t,topBarProps:a,footerProps:r,isLoading:o,loader:l,children:n})=>e.createElement(ja,{sideBarProps:t,topBarProps:a,footerProps:r},e.createElement(C,{pl:{laptop:at},flexGrow:1},o&&l?l:n)),exports.Statistic=({icon:t,value:a,label:r,backgroundColor:o,smallerValue:l,valueTestId:n})=>e.createElement("div",{className:p(ht.wrapper,ht[o])},e.createElement("div",{className:ht.iconWrapper},t),e.createElement(C,{flexGrow:1,textAlign:"right"},e.createElement("div",{className:ht.label},r),e.createElement("div",{"data-testid":n,className:p(ht.value,l&&ht.smaller)},a))),exports.Tab=t=>{var{id:a,isActive:r,onClick:o,variant:l}=t,s=n(t,["id","isActive","onClick","variant"]);const i=e.useCallback(()=>{r||null==o||o(a)},[a,r,o]);return e.createElement(C,Object.assign({className:p(yt.tab,r&&yt.isActive,l&&yt[l])},s,{onClick:i}))},exports.TabContent=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement(C,Object.assign({className:p(xt,a),p:3},r))},exports.Table=Ce,exports.Tabs=t=>{var{className:a}=t,r=n(t,["className"]);return e.createElement(C,Object.assign({className:p(a,Et)},r))},exports.TextField=Ut,exports.Timeline=({title:t,icon:a,color:r,isInitiallyOpen:o,titleMeta:l,chevron:n,children:s})=>e.createElement(C,{className:wt},e.createElement(C,{className:Ot},e.createElement("div",{className:Nt,style:{"--background-color":r}},a)),e.createElement(C,{pb:4,flexGrow:1},e.createElement(te,{isInitiallyOpen:o,titleMeta:l,title:t,titleAction:n},s))),exports.Toggle=({isChecked:t,isDisabled:a,onChange:r})=>e.createElement("div",{onClick:()=>null==r?void 0:r(!t),className:p(Gt,t&&Tt,a&&Dt)},e.createElement("div",{className:Pt})),exports.TopBar=jt,exports.UiWrapper=({children:t})=>e.createElement(o,null,e.createElement("div",{className:l},t)),exports.VerticalRhythmLaptop=7,exports.VerticalRhythmMobile=4,exports.breakPoints=h,exports.calculatePasswordScore=ua,exports.getResponsiveProps=x,exports.isResponsiveObject=N,exports.passwordHasLowerAndUppercase=pa,exports.passwordHasNumbers=ia,exports.passwordHasSpecialChars=ca,exports.passwordMinLength=sa,exports.useCloseSidebarOnNavigate=t=>{const{closeSideMenu:a}=r();e.useEffect(()=>{a()},[t,a])},exports.useResponsiveBreakpoints=ft,exports.useToggleMobileMenu=({currentRoute:t})=>{const[a,r]=e.useState(!1),o=e.useCallback(()=>{r(e=>!e)},[]),l=e.useCallback(()=>{r(!0)},[]),n=e.useCallback(()=>{r(!1)},[]);return e.useEffect(()=>{n()},[t,n]),{isOpen:a,open:l,close:n,toggle:o}},exports.useUiStateContext=r;
|
package/dist/quicksnack.css
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
.TabContent-module_tabContent__hMTiE{background-color:var(--common-white);border:1px solid #22242626;border-top:0}
|
|
36
36
|
.Tabs-module_tabs__QzIkz{border-bottom:1px solid #22242626;display:flex}
|
|
37
37
|
.Timeline-module_flatPanel__TzdFU{box-shadow:none}.Timeline-module_wrapper__sWd71{display:flex}.Timeline-module_wrapper__sWd71:last-of-type .Timeline-module_line__CwY-N:before{background:none}.Timeline-module_line__CwY-N{margin-right:var(--spacing-4);position:relative;top:4px}.Timeline-module_line__CwY-N:before{background:#e7eaec;content:"";height:100%;left:calc(var(--spacing)*4.5);position:absolute;top:0;width:var(--spacing)}.Timeline-module_circle__7kyfg{background-color:var(--background-color);border-radius:50%;color:#fff;font-size:var(--spacing-4);height:calc(var(--spacing)*10);left:0;position:relative;width:calc(var(--spacing)*10)}.Timeline-module_circle__7kyfg>*{left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}
|
|
38
|
-
.TopBar-module_wrapper__DVlec{background-color:#fff;border-bottom:1px solid #ddd;box-shadow:0 2px 3px #0000000a;box-sizing:border-box;z-index:0}
|
|
38
|
+
.TopBar-module_wrapper__DVlec{background-color:#fff;border-bottom:1px solid #ddd;box-shadow:0 2px 3px #0000000a;box-sizing:border-box;z-index:0}.TopBar-module_sticky__89fwl{position:sticky;top:0}
|
|
39
39
|
.Toggle-module_toggle__kmzmH{--size:24px;--padding:4px;--track-color:#e0e1e2;--thumb-transform:translateX(0);background-color:var(--track-color);border-radius:30px;cursor:pointer;height:var(--size);position:relative;transition:all .15s ease;user-select:none;width:calc(var(--size)*2)}.Toggle-module_toggle__kmzmH:hover{--track-color:#c9cacb}.Toggle-module_toggle__kmzmH.Toggle-module_checked__wOt93{--track-color:#23b294;--thumb-transform:translateX(calc(100% + var(--padding)*2))}.Toggle-module_toggle__kmzmH.Toggle-module_checked__wOt93:hover{--track-color:#1fa085}.Toggle-module_toggle__kmzmH.Toggle-module_disabled__zqNfH{opacity:.5;pointer-events:none}.Toggle-module_thumb__nibyJ{background-color:#fff;border-radius:50%;height:calc(var(--size) - var(--padding)*2);left:var(--padding);position:absolute;top:var(--padding);transform:var(--thumb-transform);transition:all .15s cubic-bezier(.23,1,.32,1) 0ms;width:calc(var(--size) - var(--padding)*2)}
|
|
40
40
|
.FormGridWrapper-module_label__3OAEA{color:var(--common-black);display:block;font-size:.92857143em;font-weight:700;line-height:1.4em;margin:0 0 var(--spacing) 0}.FormGridWrapper-module_label__3OAEA.FormGridWrapper-module_error__80-SA{color:var(--form-error)}.FormGridWrapper-module_hint__lj9vT{color:var(--form-hint);font-size:.92857143em;line-height:1.4em;margin:var(--spacing--1) 0 var(--spacing) 0}.FormGridWrapper-module_hint__lj9vT.FormGridWrapper-module_error__80-SA{color:#da9796}.FormGridWrapper-module_requiredAsterisk__-4sG4{color:var(--form-hint)}.FormGridWrapper-module_requiredAsterisk__-4sG4:after{content:" *"}.FormGridWrapper-module_error__80-SA{color:var(--form-error);font-size:.92857143em;font-style:italic;font-weight:700;line-height:1.4em;margin:var(--spacing) 0 0 0}
|
|
41
41
|
.Checkbox-module_label__uYQc9{position:relative}.Checkbox-module_input__a4Cy-{height:17px;left:0;margin-right:var(--spacing-2);opacity:0;position:absolute;top:0;transform:translateY(1px);width:17px;z-index:99}.Checkbox-module_input__a4Cy-~span{cursor:pointer;font-size:.92857143em;padding-left:1.85714em;user-select:none}.Checkbox-module_input__a4Cy-~span:after,.Checkbox-module_input__a4Cy-~span:before{border:1px solid #22242626;border-radius:4px;content:"";height:17px;left:0;line-height:17px;position:absolute;top:0;width:17px;z-index:0}.Checkbox-module_input__a4Cy-:checked~span{font-style:italic}.Checkbox-module_input__a4Cy-:checked~span:before{background:#fff;border-color:#22242659}.Checkbox-module_input__a4Cy-:checked~span:after{color:var(--common-black);content:"\2714";font-style:normal;opacity:1;text-align:center}.Checkbox-module_input__a4Cy-:focus~span:after,.Checkbox-module_input__a4Cy-:focus~span:before{background:#fff;border-color:#85b7d9;border-radius:4px;box-shadow:inset 0 0 0 0 #22242659}.Checkbox-module_input__a4Cy-.error~span{color:var(--form-error)}.Checkbox-module_input__a4Cy-.error~span:after,.Checkbox-module_input__a4Cy-.error~span:before{background:#fff6f6;border-color:#e0b4b4;color:#9f3a38}.Checkbox-module_dimmed__wAzQa{color:#999c9e}
|