loon-bulma-react 2023.2.6 → 2023.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +87 -86
- package/dist/index.d.cts +143 -34
- package/dist/index.d.ts +143 -34
- package/dist/index.js +12 -12
- package/package.json +7 -7
package/dist/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
-
var
|
|
4
|
+
var Ee = require('react');
|
|
5
5
|
var freeSolidSvgIcons = require('@fortawesome/free-solid-svg-icons');
|
|
6
6
|
var reactFontawesome = require('@fortawesome/react-fontawesome');
|
|
7
7
|
var react = require('@tiptap/react');
|
|
8
8
|
var extensionColor = require('@tiptap/extension-color');
|
|
9
9
|
var Ta = require('@tiptap/extension-document');
|
|
10
|
-
var
|
|
10
|
+
var $o = require('@tiptap/extension-text-style');
|
|
11
11
|
var ba = require('@tiptap/extension-subscript');
|
|
12
12
|
var Sa = require('@tiptap/extension-superscript');
|
|
13
13
|
var Pa = require('@tiptap/extension-heading');
|
|
@@ -16,28 +16,28 @@ var Ia = require('@tiptap/extension-text');
|
|
|
16
16
|
var Ca = require('@tiptap/extension-bold');
|
|
17
17
|
var xa = require('@tiptap/extension-italic');
|
|
18
18
|
var Ea = require('@tiptap/extension-strike');
|
|
19
|
-
var
|
|
20
|
-
var
|
|
19
|
+
var Ra = require('@tiptap/extension-underline');
|
|
20
|
+
var Na = require('@tiptap/extension-bullet-list');
|
|
21
21
|
var Aa = require('@tiptap/extension-ordered-list');
|
|
22
|
-
var
|
|
22
|
+
var Wo = require('@tiptap/extension-list-item');
|
|
23
23
|
var wa = require('@tiptap/extension-text-align');
|
|
24
24
|
var ka = require('@tiptap/extension-history');
|
|
25
25
|
var Da = require('@tiptap/extension-image');
|
|
26
|
-
var
|
|
27
|
-
var
|
|
26
|
+
var Ma = require('@tiptap/extension-link');
|
|
27
|
+
var Ba = require('@tiptap/extension-table');
|
|
28
28
|
var Oa = require('@tiptap/extension-table-cell');
|
|
29
29
|
var La = require('@tiptap/extension-table-header');
|
|
30
|
-
var
|
|
31
|
-
var
|
|
30
|
+
var Ha = require('@tiptap/extension-table-row');
|
|
31
|
+
var Ja = require('@tiptap/extension-hard-break');
|
|
32
32
|
var Fa = require('@tiptap/extension-highlight');
|
|
33
33
|
var $a = require('@tiptap/extension-horizontal-rule');
|
|
34
34
|
var Us = require('react-currency-input-field');
|
|
35
35
|
|
|
36
36
|
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
37
37
|
|
|
38
|
-
var
|
|
38
|
+
var Ee__default = /*#__PURE__*/_interopDefault(Ee);
|
|
39
39
|
var Ta__default = /*#__PURE__*/_interopDefault(Ta);
|
|
40
|
-
var
|
|
40
|
+
var $o__default = /*#__PURE__*/_interopDefault($o);
|
|
41
41
|
var ba__default = /*#__PURE__*/_interopDefault(ba);
|
|
42
42
|
var Sa__default = /*#__PURE__*/_interopDefault(Sa);
|
|
43
43
|
var Pa__default = /*#__PURE__*/_interopDefault(Pa);
|
|
@@ -46,137 +46,138 @@ var Ia__default = /*#__PURE__*/_interopDefault(Ia);
|
|
|
46
46
|
var Ca__default = /*#__PURE__*/_interopDefault(Ca);
|
|
47
47
|
var xa__default = /*#__PURE__*/_interopDefault(xa);
|
|
48
48
|
var Ea__default = /*#__PURE__*/_interopDefault(Ea);
|
|
49
|
-
var Na__default = /*#__PURE__*/_interopDefault(Na);
|
|
50
49
|
var Ra__default = /*#__PURE__*/_interopDefault(Ra);
|
|
50
|
+
var Na__default = /*#__PURE__*/_interopDefault(Na);
|
|
51
51
|
var Aa__default = /*#__PURE__*/_interopDefault(Aa);
|
|
52
|
-
var
|
|
52
|
+
var Wo__default = /*#__PURE__*/_interopDefault(Wo);
|
|
53
53
|
var wa__default = /*#__PURE__*/_interopDefault(wa);
|
|
54
54
|
var ka__default = /*#__PURE__*/_interopDefault(ka);
|
|
55
55
|
var Da__default = /*#__PURE__*/_interopDefault(Da);
|
|
56
|
-
var Ba__default = /*#__PURE__*/_interopDefault(Ba);
|
|
57
56
|
var Ma__default = /*#__PURE__*/_interopDefault(Ma);
|
|
57
|
+
var Ba__default = /*#__PURE__*/_interopDefault(Ba);
|
|
58
58
|
var Oa__default = /*#__PURE__*/_interopDefault(Oa);
|
|
59
59
|
var La__default = /*#__PURE__*/_interopDefault(La);
|
|
60
|
-
var Ja__default = /*#__PURE__*/_interopDefault(Ja);
|
|
61
60
|
var Ha__default = /*#__PURE__*/_interopDefault(Ha);
|
|
61
|
+
var Ja__default = /*#__PURE__*/_interopDefault(Ja);
|
|
62
62
|
var Fa__default = /*#__PURE__*/_interopDefault(Fa);
|
|
63
63
|
var $a__default = /*#__PURE__*/_interopDefault($a);
|
|
64
64
|
var Us__default = /*#__PURE__*/_interopDefault(Us);
|
|
65
65
|
|
|
66
|
-
var bt=(a=>(a.Primary="#0089b6",a.Info="#3b59ec",a.Link="2f47bc",a.Success="#519c43",a.Danger="#d91000",a.Warning="#eea720",a))(bt||{});function qo({ratio:e="1by1",children:t,caption:n,className:o=""}){let r=`image is-${e} ${o}`.trim();return jsxRuntime.jsxs("figure",{className:r,children:[n&&n.placement==="top"&&jsxRuntime.jsx("figcaption",{children:n.text}),t,n&&n.placement==="bottom"&&jsxRuntime.jsx("figcaption",{children:n.text})]})}function Yo({id:e,children:t,className:n="",styles:o}){let r=`block ${n}`.trim();return jsxRuntime.jsx("div",{className:r,style:o,id:e,children:t})}function Yt({id:e,children:t,className:n="",styles:o={},itemRef:r}){return jsxRuntime.jsx("div",{className:`bulma-box ${n}`.trim(),style:o,id:e,ref:r,children:t})}function er({children:e,id:t,gap:n="3",multiline:o,centered:r,className:i,styles:a,itemRef:s}){let l="columns";return n==="s"?n="1":n==="m"?n="3":n==="l"?n="5":n==="xl"&&(n="7"),n!=="3"&&(l+=` is-${n} is-variable`),o&&(l+=" is-multiline"),r&&(l+=" is-centered"),i&&(l+=` ${i}`),jsxRuntime.jsx("div",{"data-testid":"columns",className:l,style:a,id:t,ref:s,children:e})}var V=({children:e,className:t,styles:n,id:o,itemRef:r})=>jsxRuntime.jsx("div",{className:t,id:o,ref:r,children:jsxRuntime.jsx("div",{style:n,children:e})}),We=e=>{let t="column ";return typeof e.narrow=="boolean"?t+="is-narrow":e.narrow&&(t+=`is-narrow-${e.narrow}`),t=`${t} ${e.className??""}`.trim(),jsxRuntime.jsx(V,{...e,className:t})};We.Full=e=>jsxRuntime.jsx(V,{...e,className:`column is-full ${e.className??""}`.trim()});We.Half=e=>jsxRuntime.jsx(V,{...e,className:`column is-half ${e.className??""}`.trim()});We.Thirds={One:e=>jsxRuntime.jsx(V,{...e,className:`column is-one-third ${e.className??""}`.trim()}),Two:e=>jsxRuntime.jsx(V,{...e,className:`column is-two-thirds ${e.className??""}`.trim()})};We.Quarters={One:e=>jsxRuntime.jsx(V,{...e,className:`column is-one-quarter ${e.className??""}`.trim()}),Two:e=>jsxRuntime.jsx(V,{...e,className:`column is-two-quarters ${e.className??""}`.trim()}),Three:e=>jsxRuntime.jsx(V,{...e,className:`column is-three-quarters ${e.className??""}`.trim()})};We.Fifths={One:e=>jsxRuntime.jsx(V,{...e,className:`column is-one-fifth ${e.className??""}`.trim()}),Two:e=>jsxRuntime.jsx(V,{...e,className:`column is-two-fifths ${e.className??""}`.trim()}),Three:e=>jsxRuntime.jsx(V,{...e,className:`column is-three-fifths ${e.className??""}`.trim()}),Four:e=>jsxRuntime.jsx(V,{...e,className:`column is-four-fifths ${e.className??""}`.trim()})};We.Twelves={One:e=>jsxRuntime.jsx(V,{...e,className:`column is-1 ${e.className??""}`.trim()}),Two:e=>jsxRuntime.jsx(V,{...e,className:`column is-2 ${e.className??""}`.trim()}),Three:e=>jsxRuntime.jsx(V,{...e,className:`column is-3 ${e.className??""}`.trim()}),Four:e=>jsxRuntime.jsx(V,{...e,className:`column is-4 ${e.className??""}`.trim()}),Five:e=>jsxRuntime.jsx(V,{...e,className:`column is-5 ${e.className??""}`.trim()}),Six:e=>jsxRuntime.jsx(V,{...e,className:`column is-6 ${e.className??""}`.trim()}),Seven:e=>jsxRuntime.jsx(V,{...e,className:`column is-7 ${e.className??""}`.trim()}),Eight:e=>jsxRuntime.jsx(V,{...e,className:`column is-8 ${e.className??""}`.trim()}),Nine:e=>jsxRuntime.jsx(V,{...e,className:`column is-9 ${e.className??""}`.trim()}),Ten:e=>jsxRuntime.jsx(V,{...e,className:`column is-10 ${e.className??""}`.trim()}),Eleven:e=>jsxRuntime.jsx(V,{...e,className:`column is-11 ${e.className??""}`.trim()}),Twelve:e=>jsxRuntime.jsx(V,{...e,className:`column is-12 ${e.className??""}`.trim()})};We.displayName="Column";var De=({className:e,children:t,styles:n,size:o="s",id:r,itemRef:i})=>{let a="container";return o==="m"?a+=" is-widescreen":o==="l"?a+=" is-fullhd":o==="xl"&&(a+=" is-fluid"),e&&(a+=" "+e),jsxRuntime.jsx("div",{className:a,style:n,id:r,ref:i,children:t})};De.Default=({className:e,children:t,styles:n})=>jsxRuntime.jsx(De,{className:e,styles:n,size:"s",children:t});De.Wide=({className:e,children:t,styles:n})=>jsxRuntime.jsx(De,{className:e,styles:n,size:"m",children:t});De.Widest=({className:e,children:t,styles:n})=>jsxRuntime.jsx(De,{className:e,styles:n,size:"l",children:t});De.Max=({className:e,children:t,styles:n})=>jsxRuntime.jsx(De,{className:e,styles:n,size:"xl",children:t});function nr({size:e="m",className:t,styles:n,id:o,children:r,itemRef:i}){let a="content ";return e==="s"?a+="is-small":e==="m"?a+="is-normal":e==="l"?a+="is-medium":e==="xl"&&(a+="is-large"),t&&(a+=" "+t),jsxRuntime.jsx("div",{className:a,style:n,id:o,ref:i,children:r})}function rr({children:e,alignment:t="l",className:n,styles:o,id:r,itemRef:i}){let a="container",s="footer mt-6";return t==="l"?a+=" has-text-left":t==="r"?a+=" has-text-right":a+=" has-text-centered",n&&(s+=` ${n}`),s=s.trim(),jsxRuntime.jsx("footer",{className:s,style:o,id:r,ref:i,children:jsxRuntime.jsx("div",{className:a,children:e})})}var wt=({children:e,heroColorFor:t,size:n,itemRef:o,id:r})=>{let i="hero is-bold";i+=t?` is-${t}`:" is-primary",n==="s"?i+=" is-small":n==="l"?i+=" is-medium":n==="xl"&&(i+=" is-large");let a=fe__default.default.Children.map(e??[jsxRuntime.jsx("div",{className:"hero-body",children:" "})],s=>s);return jsxRuntime.jsx("header",{className:i,id:r,ref:o,children:a})},Qt=({children:e})=>{let[t,n]=fe__default.default.useState(!1);return jsxRuntime.jsx("div",{className:"hero-head",children:jsxRuntime.jsxs("nav",{className:"navbar container",children:[jsxRuntime.jsx("div",{className:"navbar-brand",children:jsxRuntime.jsxs("span",{className:t?"navbar-burger is-active":"navbar-burger",role:"menu-toggle-mobile","data-target":"hero-header-menu",onClick:()=>n(!t),children:[jsxRuntime.jsx("span",{}),jsxRuntime.jsx("span",{}),jsxRuntime.jsx("span",{})]})}),jsxRuntime.jsx("div",{id:"hero-header-menu",className:t?"navbar-menu is-active":"navbar-menu",children:jsxRuntime.jsx("div",{className:"navbar-end",children:e})})]})})};Qt.Button=({children:e,title:t,onClick:n})=>jsxRuntime.jsx("a",{className:"navbar-item",title:t,onClick:n,children:e});Qt.Link=({children:e,title:t,to:n,target:o="_blank",rel:r="noopener"})=>jsxRuntime.jsx("a",{className:"navbar-item",title:t,href:n,target:o,rel:r,children:e});wt.Head=Qt;wt.Body=({children:e})=>jsxRuntime.jsx("div",{className:"hero-body",children:jsxRuntime.jsx("div",{className:"container",children:e})});var jt=({children:e,narrow:t=!1})=>jsxRuntime.jsx("div",{className:"hero-foot",children:jsxRuntime.jsx("nav",{className:`tabs is-boxed ${t?"is-narrow":"is-fullwidth"} container`,children:e})});jt.NavList=({children:e})=>jsxRuntime.jsx("ul",{children:e});jt.NavItem=({children:e,to:t,active:n=void 0,target:o="_blank",title:r,rel:i="noopener"})=>jsxRuntime.jsx("li",{className:n?"is-active":void 0,title:r,children:jsxRuntime.jsx("a",{href:t,target:o,rel:i,className:"tab",children:e})});wt.Foot=jt;function ir({ratio:e,imgWidth:t="128",alt:n,figCaption:o,className:r,isRounded:i,src:a}){let s=`image is-${e}`;return e==="square"&&(s=`image is-${t}x${t}`),jsxRuntime.jsx("div",{className:r,style:e==="square"?void 0:{width:t},children:jsxRuntime.jsxs("figure",{className:s,children:[jsxRuntime.jsx("img",{className:i&&e==="square"?"is-rounded":void 0,src:a,alt:n}),o&&jsxRuntime.jsx("figcaption",{className:"help is-info",children:o})]})})}function sr({children:e,className:t,styles:n,id:o,itemRef:r}){let i="section";return t&&(i+=` ${t}`),jsxRuntime.jsx("section",{className:i,style:n,id:o,ref:r,children:e})}var cr=e=>{let t="0px";if(typeof e.gap=="number")t=e.gap+"px";else if(typeof e.gap=="string"&&!isNaN(+e.gap))t=e.gap+"px";else if(typeof e.gap=="string")t=e.gap;else if(e.gap){let i=typeof e.gap.row=="number"?e.gap.row+"px":e.gap.row,a=typeof e.gap.col=="number"?e.gap.col+"px":e.gap.col;t=`${i} ${a}`;}let n="flex-start";e.alignment==="c"?n="center":e.alignment==="r"&&(n="flex-end");let o=fe__default.default.useMemo(()=>({maxWidth:typeof e.maxItemWidth=="number"?`${e.maxItemWidth}px`:e.maxItemWidth||null,minWidth:typeof e.minItemWidth=="number"?`${e.minItemWidth}px`:e.minItemWidth||null}),[e.maxItemWidth,e.minItemWidth]),r=fe__default.default.useMemo(()=>({display:"flex",flexDirection:e.reverse?"row-reverse":"row",flexWrap:e.wrap?"wrap":"nowrap",justifyContent:n,alignItems:"center",alignContent:"center",gap:t,overflowX:e.wrap?"hidden":"auto",paddingBottom:"22px"}),[e.reverse,e.alignment,e.wrap]);return jsxRuntime.jsx("div",{className:"lbr-flex-horizontal",style:r,id:e.id,ref:e.itemRef,children:fe__default.default.Children.toArray(e.children).map((i,a)=>jsxRuntime.jsx("div",{className:"lbr-flex-item",style:o,children:i},a))})},pr=e=>{let t="0px";if(typeof e.gap=="number")t=e.gap+"px";else if(typeof e.gap=="string"&&!isNaN(+e.gap))t=e.gap+"px";else if(typeof e.gap=="string")t=e.gap;else if(e.gap){let r=typeof e.gap.row=="number"?e.gap.row+"px":e.gap.row,i=typeof e.gap.col=="number"?e.gap.col+"px":e.gap.col;t=`${r} ${i}`;}let n="flex-start";e.alignment==="c"&&(n="center"),e.alignment==="r"&&(n="flex-end");let o=fe__default.default.useMemo(()=>({display:"flex",flexDirection:e.reverse?"column-reverse":"column",flexWrap:e.wrap?"wrap":"nowrap",justifyContent:n,alignItems:"stretch",alignContent:"stretch",gap:t,overflowY:e.wrap?"hidden":"auto",maxHeight:typeof e.maxHeight=="number"||!isNaN(+(e.maxHeight||NaN))?`${e.maxHeight}px`:e.maxHeight}),[e.reverse,e.wrap,e.alignment,e.gap,e.maxHeight]);return jsxRuntime.jsx("div",{className:"lbr-flex-vertical",style:o,id:e.id,ref:e.itemRef,children:fe__default.default.Children.toArray(e.children).map((r,i)=>jsxRuntime.jsx("div",{className:"lbr-flex-item",children:r},i))})},mr={Horizontal:cr,Vertical:pr};function nn({alignment:e="l",autoComplete:t="off",autofocus:n=!1,disabled:o=!1,errorMessage:r="",infoMessage:i=void 0,form:a=void 0,helpTag:s,id:l,inputRef:c,keyboardType:m="text",max:u,min:p,name:d,pattern:f=void 0,placeholder:g,readonly:y=!1,required:T=!1,size:S="m",spellCheck:P=!1,step:v=1,title:R,type:b="text",value:C,className:E="",styles:B={},onBlur:J,onChange:x,onFocus:N,onKeyDown:O,onKeyUp:H,onValueChanged:te}){let A=K=>{o||(te&&te(K.target.value),x&&x(K));},w=r?"input is-danger":"input";return S==="s"?w+=" is-small":S==="l"?w+=" is-medium":S==="xl"&&(w+=" is-large"),e==="l"?w+=" has-text-left":e==="c"?w+=" has-text-centered":e==="r"&&(w+=" has-text-right"),y&&(w+=" is-static"),E&&(w+=` ${E}`),jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx("input",{className:w,pattern:f,id:l??d,ref:c,name:d,value:C,spellCheck:P,autoComplete:t,required:T,type:b,title:R,max:u,maxLength:typeof u=="number"?u:void 0,minLength:typeof p=="number"?p:void 0,min:p,step:v,readOnly:y,autoFocus:n,form:a,inputMode:m,placeholder:g,disabled:o,style:B,onKeyDown:O,onKeyUp:H,onBlur:J,onChange:A,onFocus:K=>N&&N(K,s)}),jsxRuntime.jsx("p",{className:"help is-danger",children:typeof r=="string"?r:r(C)}),i&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof i=="string"?i:i(C)})]})}function W({direction:e="v",errorMessage:t="",showRequiredOnLabel:n=!1,icon:o=freeSolidSvgIcons.faKeyboard,id:r,label:i,labelHidden:a=!1,name:s,required:l=!1,loading:c=!1,size:m="m",value:u,onBlur:p,...d}){let f=v=>{y(!0),p&&p(v);},[g,y]=fe__default.default.useState(!1),T;o&&(typeof o=="string"?T=jsxRuntime.jsx("i",{className:o}):T=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:o}));let S;return t&&(typeof t=="string"?S=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:t===""?freeSolidSvgIcons.faCheck:freeSolidSvgIcons.faTimes}):S=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:t(u)===""?freeSolidSvgIcons.faCheck:freeSolidSvgIcons.faTimes})),jsxRuntime.jsxs(se,{size:m,inputId:r??s,label:i??s,direction:e,required:l,showRequiredOnLabel:n,controlClassName:`control ${o?"has-icons-left":""} ${t!==void 0?"has-icons-right":""}`,loading:c,children:[jsxRuntime.jsx(nn,{required:l,name:s,size:m,onBlur:f,id:r,value:u,...d,errorMessage:t}),T&&jsxRuntime.jsx("span",{className:"icon is-left",children:T}),S&&jsxRuntime.jsx("span",{className:"icon is-right",children:S})]})}function se({children:e,controlClassName:t="control",direction:n,showRequiredOnLabel:o=!1,inputId:r,label:i,labelHidden:a=!1,required:s,size:l,loading:c=!1}){let m="is-normal";l==="s"?m+=" is-small":l==="l"?m+=" is-medium":l==="xl"&&(m+=" is-large");let u=`label ${m} ${a?"is-sr-only":""}`;return t=c?`${t} is-loading `:t,l==="xl"?t=`${t} is-large`:l==="l"?t=`${t} is-medium`:l==="s"?t=`${t} is-small`:t=`${t} is-normal`,n==="horizontal"||n==="h"?jsxRuntime.jsxs("div",{className:"field is-horizontal","data-testid":"input-container",children:[jsxRuntime.jsx("div",{className:`field-label ${m}`,children:jsxRuntime.jsxs("label",{className:u,htmlFor:r,children:[i,o&&s&&jsxRuntime.jsx("span",{className:"has-text-danger",children:"*"})]})}),jsxRuntime.jsx("div",{className:"field-body",children:jsxRuntime.jsx("div",{className:"field",children:jsxRuntime.jsx("div",{className:t,children:e})})})]}):jsxRuntime.jsxs("div",{className:"field","data-testid":"input-container",children:[jsxRuntime.jsxs("label",{className:u,htmlFor:r,children:[i,o&&s&&jsxRuntime.jsx("span",{className:"has-text-danger ",children:"*"})]}),jsxRuntime.jsx("div",{className:t,children:e})]})}function Xl(e=2e3){let[t,n]=fe__default.default.useState(null),[o,r]=fe__default.default.useState(!1),[i,a]=fe__default.default.useState(null),s=m=>{clearTimeout(i),a(setTimeout(()=>r(!1),e)),r(m);};return {copy:m=>{"clipboard"in navigator?navigator.clipboard.writeText(m).then(()=>s(!0)).catch(u=>n(u)):n(new Error("useClipboard: navigator.clipboard is not supported"));},reset:()=>{r(!1),n(null),clearTimeout(i);},error:t,copied:o}}function zn(e,t={leading:!1,delay:500}){let[n,o]=fe__default.default.useState(e),r=fe__default.default.useRef(!1),i=fe__default.default.useRef(void 0),a=fe__default.default.useRef(!1),s=()=>window.clearTimeout(i.current);return fe__default.default.useEffect(()=>{r.current&&(!a.current&&t.leading?(a.current=!0,o(e)):(s(),i.current=window.setTimeout(()=>{a.current=!1,o(e);},t.delay)));},[e,t.leading,t.delay]),fe__default.default.useEffect(()=>(r.current=!0,s),[]),[n,s]}function zl(e,t={leading:!1,delay:500}){let[n,o]=fe__default.default.useState(e),r=fe__default.default.useRef(null),i=fe__default.default.useRef(!0),a=()=>window.clearTimeout(r.current??void 0);return fe__default.default.useEffect(()=>a,[]),[n,l=>{a(),i.current&&t.leading?o(l):r.current=window.setTimeout(()=>{i.current=!0,o(l);},t.delay),i.current=!1;}]}function fr(e){let t=e.toLowerCase().split("+").map(i=>i.trim()),n={alt:t.includes("alt"),ctrl:t.includes("ctrl"),meta:t.includes("meta"),mod:t.includes("mod"),shift:t.includes("shift")},o=["alt","ctrl","meta","shift","mod"],r=t.find(i=>!o.includes(i));return {...n,key:r}}function gr(e,t){let{alt:n,ctrl:o,meta:r,mod:i,shift:a,key:s}=e,{altKey:l,ctrlKey:c,metaKey:m,shiftKey:u,key:p}=t;if(n!==l)return !1;if(i){if(!c&&!m)return !1}else if(o!==c||r!==m)return !1;return a!==u?!1:!!(s&&(p.toLowerCase()===s.toLowerCase()||t.code.replace("Key","").toLowerCase()===s.toLowerCase()))}function Kn(e){return t=>gr(fr(e),t)}function Ul(e){return t=>{e.forEach(([n,o])=>{Kn(n)(t.nativeEvent)&&(t.preventDefault(),o(t));});}}function yr(e){return e.target instanceof HTMLElement?!["INPUT","TEXTAREA","SELECT"].includes(e.target.tagName):!0}function ql(e){fe__default.default.useEffect(()=>{let t=n=>{e.forEach(([o,r])=>{Kn(o)(n)&&yr(n)&&(n.preventDefault(),r(n));});};return document.documentElement.addEventListener("keydown",t),()=>document.documentElement.removeEventListener("keydown",t)},[e]);}function Dt(e){try{return JSON.parse(e)}catch(t){let n=t;throw new Error(`'deserializeJSON()' failed to deserialize the value: ${n.message}`,{...n})}}function Bt(e){try{return JSON.stringify(e)}catch(t){let n=t;throw new Error(`serializeJSON() failed to serialize the value: ${n.message}`,{...n})}}function nc({key:e,initialValue:t,deserialize:n=Dt,serialize:o=Bt}){let[r,i]=fe__default.default.useState(()=>{if(typeof window>"u")return t;try{let l=window.localStorage.getItem(e);return l?n(l):t}catch(l){return console.error(`useLocalStoredState failed to get the value: ${l.message}`),t}}),a=fe__default.default.useCallback(l=>{try{let c=l instanceof Function?l(r):l;i(c),typeof window<"u"&&window.localStorage.setItem(e,o(c));}catch(c){console.error(`useLocalStoredState failed to store the value: ${c.message}`);}},[]),s=fe__default.default.useCallback(()=>{typeof window<"u"&&window.localStorage.removeItem(e);},[]);return [r,a,s]}function Gn({value:e,defaultValue:t,finalValue:n,onChange:o=()=>{}}){let[r,i]=fe__default.default.useState(t!==void 0?t:n),a=s=>{i(s),o?.(s);};return e!==void 0?[e,o,!0]:[r,a,!1]}var Mt="dots";function Un({total:e,siblings:t=1,boundaries:n=1,page:o,initialPage:r=1,onChange:i=()=>{}}){let a=Math.max(Math.trunc(e),0),[s,l]=Gn({value:o,onChange:i,defaultValue:r,finalValue:r}),c=g=>{g<=0?l(1):g>a?l(a):l(g);},m=()=>c(s+1),u=()=>c(s-1),p=()=>c(1),d=()=>c(a);return {range:fe__default.default.useMemo(()=>{if(t*2+3+n*2>=a)return Xe(1,a);let y=Math.max(s-t,n),T=Math.min(s+t,a-n),S=y>n+2,P=T<a-(n+1);if(!S&&P){let v=t*2+n+2;return [...Xe(1,v),Mt,...Xe(a-(n-1),a)]}if(S&&!P){let v=n+1+2*t;return [...Xe(1,n),Mt,...Xe(a-v,a)]}return [...Xe(1,n),Mt,...Xe(y,T),Mt,...Xe(a-n+1,a)]},[a,t,s]),active:s,setPage:c,next:m,prev:u,first:p,last:d}}function Xe(e,t){let n=t-e+1;return Array.from({length:n},(o,r)=>r+e)}function Sr(e,t){let[n,o]=fe__default.default.useState(e);return [n,i=>{o(typeof i<"u"?i:a=>a===t[0]?t[1]:t[0]);}]}function qn(e=!1){return Sr(e,[!0,!1])}function uc(e,t){let[n,o]=t?t(e):[!0,""],[r,i]=fe__default.default.useState(e??void 0),[a,s]=fe__default.default.useState(n),[l,c]=fe__default.default.useState(o),[m,u]=fe__default.default.useState(n?e:void 0);return [{value:r,lastValidValue:m,valid:a,invalidMsg:l},d=>{let[f,g]=t?t(d):[!0,""];f&&u(d),s(f),c(g),i(d);}]}function hc({key:e,initialValue:t,deserialize:n=Dt,serialize:o=Bt}){let[r,i]=fe__default.default.useState(()=>{if(typeof window>"u")return t;try{let l=window.sessionStorage.getItem(e);return l?n(l):t}catch(l){return console.error(`useSessionStoredState failed to get the value: ${l.message}`),t}}),a=fe__default.default.useCallback(l=>{try{let c=l instanceof Function?l(r):l;i(c),typeof window<"u"&&window.sessionStorage.setItem(e,o(c));}catch(c){console.error(`useSessionStoredState failed to store the value: ${c.message}`);}},[]),s=fe__default.default.useCallback(()=>{typeof window<"u"&&window.sessionStorage.removeItem(e);},[]);return [r,a,s]}var Yn=["mousedown","touchstart"];function Sc(e,t,n){let o=fe__default.default.useRef();return fe__default.default.useEffect(()=>{let r=i=>{let{target:a}=i??{};if(Array.isArray(n)){let s=a?.hasAttribute("data-ignore-outside-clicks")||!document.body.contains(a)&&a.tagName!=="HTML";n.every(c=>!!c&&!i.composedPath().includes(c))&&!s&&e();}else o.current&&!o.current.contains(a)&&e();};return (t||Yn).forEach(i=>document.addEventListener(i,r)),()=>{(t||Yn).forEach(i=>document.removeEventListener(i,r));}},[o,e,n]),o}function Qn(e,t,n){fe__default.default.useEffect(()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)),[e,t]);}function Ic({duration:e=500,axis:t="y",onScrollFinish:n,offset:o=0,cancelable:r=!0,isList:i=!1}={}){let a=fe__default.default.useRef(0),s=fe__default.default.useRef(0),l=fe__default.default.useRef(!1),c=fe__default.default.useRef(null),m=fe__default.default.useRef(null),u=g=>g<.5?2*g*g:-1+(4-2*g)*g,p=()=>{a.current&&cancelAnimationFrame(a.current);},d=fe__default.default.useCallback(({alignment:g="start"}={})=>{l.current=!1,a.current&&p();let y=vr({parent:c.current,axis:t})??0,T=Pr({parent:c.current,target:m.current,axis:t,alignment:g,offset:o,isList:i})-(c.current?0:y);function S(){s.current===0&&(s.current=performance.now());let v=performance.now()-s.current,R=e===0?1:v/e,b=y+T*u(R);Ir({parent:c.current,axis:t,distance:b}),!l.current&&R<1?a.current=requestAnimationFrame(S):(typeof n=="function"&&n(),s.current=0,a.current=0,p());}S();},[t,e,u,i,o,n]),f=()=>{r&&(l.current=!0);};return Qn("wheel",f,{passive:!0}),Qn("touchmove",f,{passive:!0}),fe__default.default.useEffect(()=>p,[]),{scrollableRef:c,targetRef:m,scrollIntoView:d,cancel:p}}var Pr=({axis:e,target:t,parent:n,alignment:o,offset:r,isList:i})=>{if(!t||!n&&typeof document>"u")return 0;let a=!!n,l=(n||document.body).getBoundingClientRect(),c=t.getBoundingClientRect(),m=u=>c[u]-l[u];if(e==="y"){let u=m("top");if(u===0)return 0;if(o==="start"){let d=u-r;return d<=c.height*(i?0:1)||!i?d:0}let p=a?l.height:window.innerHeight;if(o==="end"){let d=u+r-p+c.height;return d>=-c.height*(i?0:1)||!i?d:0}return o==="center"?u-p/2+c.height/2:0}if(e==="x"){let u=m("left");if(u===0)return 0;if(o==="start"){let d=u-r;return d<=c.width||!i?d:0}let p=a?l.width:window.innerWidth;if(o==="end"){let d=u+r-p+c.width;return d>=-c.width||!i?d:0}return o==="center"?u-p/2+c.width/2:0}return 0},vr=({axis:e,parent:t})=>{if(!t&&typeof document>"u")return 0;let n=e==="y"?"scrollTop":"scrollLeft";if(t)return t[n];let{body:o,documentElement:r}=document;return o[n]+r[n]},Ir=({axis:e,parent:t,distance:n})=>{if(!t&&typeof document>"u")return;let o=e==="y"?"scrollTop":"scrollLeft";if(t)t[o]=n;else {let{body:r,documentElement:i}=document;r[o]=n,i[o]=n;}};function le({color:e,size:t="m",rotation:n=0,icon:o,flip:r=void 0,animate:i=void 0}){let a="icon",s="1x";switch(e==="s"?a+=" has-text-success":e==="d"?a+=" has-text-danger":e==="w"?a+=" has-text-warning":e==="p"?a+=" has-text-primary":e==="i"?a+=" has-text-info":e==="l"?a+=" has-text-link":e==="dark"?a+=" has-text-dark":e==="light"?a+=" has-text-light":e?.startsWith("is-")&&(a+=` ${e?.replace("is-","has-")}`),t){case"s":s="sm",a+=" is-small";break;case"m":s="1x",a+=" is-normal";break;case"l":s="2x",a+=" is-medium";break;case"xl":s="3x",a+=" is-large";break;default:s="1x",a+=" is-normal";break}return typeof o=="string"?jsxRuntime.jsx("span",{className:a,role:"icon",children:jsxRuntime.jsx("i",{className:o})}):jsxRuntime.jsx("span",{className:a,role:"icon",children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:o,size:s,rotation:n===0?void 0:n,flip:r,spin:i==="spin",pulse:i==="pulse"})})}function sn({icon:e,size:t="m",color:n,rotation:o=0,flip:r=void 0,animate:i=void 0,allowWrap:a=!1,children:s}){let l="icon-text";return n==="s"?l+=" has-text-success":n==="d"?l+=" has-text-danger":n==="w"?l+=" has-text-warning":n==="p"?l+=" has-text-primary":n==="i"?l+=" has-text-info":n==="l"&&(l+=" has-text-link"),jsxRuntime.jsxs("span",{className:l,role:"icon-with-text",style:{flexWrap:a?void 0:"nowrap"},children:[jsxRuntime.jsx(le,{icon:e,size:t,color:n,rotation:o,flip:r,animate:i}),jsxRuntime.jsx("span",{children:s})]})}function ln({range:e,currentPage:t,size:n="s",hideFirst:o=!1,hideLast:r=!1,hidePrev:i=!1,hideNext:a=!1,hideNumbers:s=!1,set:l=d=>{},first:c=()=>{},last:m=()=>{},prev:u=()=>{},next:p=()=>{}}){let d="pagination";return n==="s"?d+=" is-small":n==="m"?d+=" is-normal":n==="l"?d+=" is-medium":n==="xl"&&(d+=" is-large"),jsxRuntime.jsx("div",{className:d,children:jsxRuntime.jsxs("ul",{className:"pagination-list",children:[!o&&jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link","aria-label":"eerste pagina",onClick:c,disabled:t===e[0],children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faBackwardFast})})}),!i&&jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link","aria-label":"vorige pagina",onClick:u,disabled:t===e[0],children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faBackwardStep})})}),!s&&e.map((f,g)=>f==="dots"?jsxRuntime.jsx("li",{children:jsxRuntime.jsx("span",{className:"pagination-ellipsis",children:"\u2026"})},f+g):f!==t?jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link","aria-label":`Goto page ${f}`,onClick:()=>l(f),children:f})},f):jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link is-current","aria-label":`Goto page ${f}`,onClick:()=>l(f),children:f})},f)),!a&&jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link","aria-label":"volgende paginga",onClick:p,disabled:t===e[e.length-1],children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faForwardStep})})}),!r&&jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link","aria-label":"laatste pagina",onClick:m,disabled:t===e[e.length-1],children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faForwardFast})})})]})})}var L=class e{static DEFAULT_LOCALE=Intl.DateTimeFormat().resolvedOptions().locale;static DEFAULT_TIMEZONE=Intl.DateTimeFormat().resolvedOptions().timeZone;static MAX_DATE_NUM=864e13;static MAX_DATE=new Date(e.MAX_DATE_NUM);static defaultFormatOptions={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};IGNORE_SIGN="^";_date;_locale;formatOptions={};constructor(t,n,o={}){this._date=new Date(t),this._locale=n,this.formatOptions={...e.defaultFormatOptions,timeZone:e.DEFAULT_TIMEZONE,...o},Object.freeze(this);}toString(t=this.formatOptions){return this.intlDtf(t)}valueOf(){return this._date.valueOf()}intlDtf(t=this.formatOptions){return new Intl.DateTimeFormat(this._locale,{...t,timeZone:this.formatOptions.timeZone}).format(this._date)}get info(){return {year:{isLeapYear:this.isLeapYear,days:this.daysInYear,hours:this.daysInYear*24,minutes:this.daysInYear*24*60,seconds:this.daysInYear*24*60*60,milliseconds:this.daysInYear*24*60*60*1e3},month:{days:this.daysInMonth,hours:this.daysInMonth*24,minutes:this.daysInMonth*24*60,seconds:this.daysInMonth*24*60*60,milliseconds:this.daysInMonth*24*60*60*1e3}}}get isLeapYear(){let t=this._date.getFullYear();return t%4===0&&t%100!==0||t%400===0}get isAM(){return this._date.getHours()<12}get isPM(){return !this.isAM}get isDST(){let t=new Date(this._date.getFullYear(),0,1).getTimezoneOffset(),n=new Date(this._date.getFullYear(),6,1).getTimezoneOffset();return Math.max(t,n)!==this._date.getTimezoneOffset()}get isToday(){let t=new Date;return this._date.getDate()===t.getDate()&&this._date.getMonth()===t.getMonth()&&this._date.getFullYear()===t.getFullYear()}get JSDate(){return new Date(this._date)}get ISO(){return this._date.toISOString()}get UTC(){return this._date.toUTCString()}get locale(){return this._locale}get timezoneLong(){return this.intlDtf({timeZoneName:"long"}).replaceAll(/[^A-Z\s-]/gi,"").replace("--","").trim()}get timezoneShort(){return this.intlDtf({timeZoneName:"short"}).replaceAll(/[^A-Z]/g,"")}get timezoneOffsetShortStr(){let t=this.intlDtf({timeZoneName:"longOffset"}),n=t.indexOf("+");return t.substring(n)}get timezoneOffsetLongStr(){let t=this.intlDtf({timeZoneName:"longOffset"}),n=t.indexOf("GMT");return t.substring(n)}get timezoneOffset(){let t=this.intlDtf({timeZoneName:"shortOffset"}),n=t.indexOf("+");return n<0&&(n=t.indexOf("-")),n<0?0:parseInt(t.substring(n))}get timeHM(){return this.intlDtf({hour:"2-digit",minute:"2-digit"})}get timeHMS(){return this.intlDtf({hour:"2-digit",minute:"2-digit",second:"2-digit"})}get monthLong(){return this.intlDtf({month:"long"})}get monthShort(){return this.intlDtf({month:"short"})}get dayLong(){return this.intlDtf({weekday:"long"})}get dayShort(){return this.intlDtf({weekday:"short"})}get dateLong(){return `${this.dayLong} ${this.day} ${this.monthLong} ${this.year}`}get dateShort(){return this.intlDtf({day:"2-digit",month:"2-digit",year:"numeric"})}get yr(){return this.year}get year(){return this._date.getFullYear()}get qr(){return this.quarter}get quarter(){return Math.floor(this._date.getMonth()/3+1)}get m(){return this.month}get month(){return this._date.getMonth()+1}get d(){return this.day}get day(){return this._date.getDate()}get weekDay(){return this._date.getDay()===0?7:this._date.getDay()}get hr(){return this.hour}get hour(){return this._date.getHours()}get min(){return this.minute}get minute(){return this._date.getMinutes()}get sec(){return this.second}get second(){return this._date.getSeconds()}get ms(){return this.millisecond}get millisecond(){return this._date.getMilliseconds()}get weekNr(){let t=new Date(Date.UTC(this._date.getFullYear(),this._date.getMonth(),this._date.getDate()));t.setUTCDate(t.getUTCDate()+4-(t.getUTCDay()||7));let n=new Date(Date.UTC(t.getUTCFullYear(),0,1));return Math.ceil(((t.getTime()-n.getTime())/864e5+1)/7)}get millis(){return this.valueOf()}get daysInMonth(){return new Date(this._date.getFullYear(),this._date.getMonth()+1,0).getDate()}get daysInYear(){return this.isLeapYear?366:365}get yearToDate(){let n=[0,31,59,90,120,151,181,212,243,273,304,334][this._date.getMonth()]+this._date.getDate();return this.isLeapYear&&this.month>2?n+1:n}set(t,n=this._locale){let o={year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second,millisecond:this.millisecond};return e.from({...o,...t},n)}startOf(t){switch(t){case"year":return e.from({year:this.year,month:0,day:1,hour:0,minute:0,second:0,millisecond:0},this._locale);case"quarter":{let n=Math.floor(this._date.getMonth()/3);return e.fromDate(new Date(this.year,n*3,1),this._locale).set({hour:0,minute:0,second:0,millisecond:0},this._locale)}case"month":return e.from({year:this.year,month:this.month,day:1,hour:0,minute:0,second:0,millisecond:0},this._locale);case"week":{let n=new Date(this.JSDate),o=n.getDate()-n.getDay()+(n.getDay()===0?-6:1);return e.fromDate(new Date(n.setDate(o)),this._locale).set({hour:0,minute:0,second:0,millisecond:0})}case"day":return e.from({year:this.year,month:this.month,day:this.day,hour:0,minute:0,second:0,millisecond:0},this._locale);case"hour":return e.from({year:this.year,month:this.month,day:this.day,hour:this.hour,minute:0,second:0,millisecond:0},this._locale);default:throw new Error(`${t} is not a valid period for JSDateTime.startOf()`)}}endOf(t){switch(t){case"year":return e.from({year:this.year,month:12,day:31,hour:23,minute:59,second:59,millisecond:999},this._locale);case"quarter":{let n=Math.floor(this._date.getMonth()/3);return e.fromDate(new Date(this.year,n*3+3,0),this._locale).set({hour:23,minute:59,second:59,millisecond:999},this._locale)}case"month":return e.from({year:this.year,month:this.month,day:this.daysInMonth,hour:23,minute:59,second:59,millisecond:999},this._locale);case"week":{let n=new Date(this.JSDate),o=this.JSDate.getDate()-(n.getDay()-1)+6;return e.fromDate(new Date(n.setDate(o)),this._locale).set({hour:23,minute:59,second:59,millisecond:999},this._locale)}case"day":return e.from({year:this.year,month:this.month,day:this.day,hour:23,minute:59,second:59,millisecond:999},this._locale);case"hour":return e.from({year:this.year,month:this.month,day:this.day,hour:this.hour,minute:59,second:59,millisecond:999},this._locale);default:throw new Error(`${t} is not a valid period for JSDateTime.endOf()`)}}plus({years:t,months:n,weeks:o,days:r,hours:i,minutes:a,seconds:s,milliseconds:l}){let c=new Date(this.JSDate);return t&&(c=new Date(c.setFullYear(c.getFullYear()+t))),n&&(c=new Date(c.setMonth(c.getMonth()+n))),o&&(c=new Date(c.setDate(c.getDate()+o*7))),r&&(c=new Date(c.setDate(c.getDate()+r))),i&&(c=new Date(c.setHours(c.getHours()+i))),a&&(c=new Date(c.setMinutes(c.getMinutes()+a))),s&&(c=new Date(c.setSeconds(c.getSeconds()+s))),l&&(c=new Date(c.setMilliseconds(c.getMilliseconds()+l))),e.fromDate(c,this._locale)}isBetween(t,n){let o=(typeof n=="boolean"?n:n?.[0])??!1,r=(typeof n=="boolean"?n:n?.[1])??!1,[i,a]=t.sort((s,l)=>s.valueOf()-l.valueOf());if(i.valueOf()===a.valueOf())throw new Error("dates must be different");return o&&r?i<=this._date&&this._date<=a:o&&!r?i<=this._date&&this._date<a:!o&&r?i<this._date&&this._date<=a:i<this._date&&this._date<a}isBefore(t,n=!1){return n?this._date>=t:this._date>t}isAfter(t,n=!1){return n?this._date<=t:this._date<t}hasSame(t,n="millisecond"){let o=new Date(t.valueOf());switch(n){case"year":return this.yr===o.getFullYear();case"month":return this.yr===o.getFullYear()&&this.m-1===o.getMonth();case"day":return this.yr===o.getFullYear()&&this.m-1===o.getMonth()&&this.d===o.getDate();case"hour":return this.yr===o.getFullYear()&&this.m-1===o.getMonth()&&this.d===o.getDate()&&this.hr===o.getHours();case"minute":return this.yr===o.getFullYear()&&this.m-1===o.getMonth()&&this.d===o.getDate()&&this.hr===o.getHours()&&this.min===o.getMinutes();case"second":return this.yr===o.getFullYear()&&this.m-1===o.getMonth()&&this.d===o.getDate()&&this.hr===o.getHours()&&this.min===o.getMinutes()&&this.sec===o.getSeconds();case"millisecond":return this.valueOf()===o.valueOf();default:throw new Error(`invalid period '${n}' for hasSame()`)}}equals(t){if(t instanceof e)return this._date.valueOf()===t.valueOf();if(t instanceof Date)return this._date.valueOf()===t.valueOf();if(typeof t=="number")return this._date.valueOf()===t;throw new Error("invalid type")}clone(){return e.fromMillis(this.valueOf(),this.locale)}static now(t=e.DEFAULT_LOCALE,n={}){return new e(new Date,t,n)}static epoch(t=e.DEFAULT_LOCALE,n={}){return new e(new Date(0),t,n)}static fromDate(t,n=e.DEFAULT_LOCALE,o={}){return new e(t,n,o)}static from(t,n=e.DEFAULT_LOCALE,o={}){let r=new Date,{year:i,month:a,day:s,hour:l,minute:c,second:m,millisecond:u}={year:t.year??r.getFullYear(),month:t.month!=null?t.month==0?1:t.month:r.getMonth()+1,day:t.day??r.getDate(),hour:t.hour??r.getHours(),minute:t.minute??r.getMinutes(),second:t.second??r.getSeconds(),millisecond:t.millisecond??r.getMilliseconds()};if(a>12||a<1)throw new RangeError(`month value should be between 1 and 12, got ${a}`);if(l>23||l<0)throw new RangeError(`hour value should be between 0 and 23, got ${l}`);if(c>59||c<0)throw new RangeError(`minute value should be between 0 and 59, got ${c}`);if(m>59||m<0)throw new RangeError(`second value should be between 0 and 59, got ${m}`);if(u>999||u<0)throw new RangeError(`milliseconds value should be between 0 and 999, got ${u}`);let p=new Date(i,a,0),d=p.getDate();if(s>d||s<1)throw new RangeError(`day value should be between 1 and ${d} for ${p.toLocaleString(n,{month:"short"})} ${i}, got ${s}`);return new e(new Date(i,a-1,s,l,c,m,u),n,o)}static fromISO(t,n=e.DEFAULT_LOCALE,o={}){let r=new Date(Date.parse(t));return new e(r,n,o)}static fromUTC(t,n=e.DEFAULT_LOCALE,o={}){let r=new Date(Date.parse(t));return new e(r,n,o)}static fromMillis(t,n=e.DEFAULT_LOCALE,o={}){let r=typeof t=="string"?+t:t;if(isNaN(r))throw new Error(`fromMillis() expects a numeric value, got "${t}"`);if(r>e.MAX_DATE_NUM||r<-e.MAX_DATE_NUM)throw new Error(`fromMillis() expects a numeric value, got "${t}"`);return new e(new Date(r),n,o)}toFormat(t){if(typeof t!="string")return this.intlDtf(t);let n=this.formatBuilder(t);return n.includes("[y4]")&&(n=n.replaceAll("[y4]",this.yr+"")),n.includes("[y2]")&&(n=n.replaceAll("[y2]",this.yr.toString().substring(2))),n.includes("[m4]")&&(n=n.replaceAll("[m4]",this.monthLong)),n.includes("[m3]")&&(n=n.replaceAll("[m3]",this.monthShort)),n.includes("[m2]")&&(n=n.replaceAll("[m2]",this.intlDtf({month:"2-digit"}))),n.includes("[m1]")&&(n=n.replaceAll("[m1]",this.intlDtf({month:"numeric"}))),n.includes("[d4]")&&(n=n.replaceAll("[d4]",this.dayLong)),n.includes("[d3]")&&(n=n.replaceAll("[d3]",this.dayShort)),n.includes("[d2]")&&(n=n.replaceAll("[d2]",this.intlDtf({day:"2-digit"}))),n.includes("[d1]")&&(n=n.replaceAll("[d1]",this.day+"")),n.includes("[h2]")&&(n=n.replaceAll("[h2]",this.hr>12?`${this.hr-12<10?"0":""}${this.hr-12}`:`${this.hr<10?"0":""}${this.hr}`)),n.includes("[h1]")&&(n=n.replaceAll("[h1]",this.hr>12?(this.hr-12).toString():this.hr.toString())),n.includes("[H2]")&&(n=n.replaceAll("[H2]",`${this.hr<10?"0":""}${this.hr}`)),n.includes("[H1]")&&(n=n.replaceAll("[H1]",this.hr.toString())),n.includes("[M2]")&&(n=n.replaceAll("[M2]",`${this.minute<10?"0":""}${this.minute}`)),n.includes("[M1]")&&(n=n.replaceAll("[M1]",this.minute+"")),n.includes("[s2]")&&(n=n.replaceAll("[s2]",`${this.second<10?"0":""}${this.second}`)),n.includes("[s1]")&&(n=n.replaceAll("[s1]",this.second+"")),n.includes("[S3]")&&(n=n.replaceAll("[S3]",this.millisecond<10?`00${this.millisecond}`:this.millisecond<100?`0${this.millisecond}`:this.millisecond+"")),n.includes("[S2]")&&(n=n.replaceAll("[S2]",this.millisecond<10?`00${this.millisecond}`:this.millisecond<100?`0${this.millisecond}`:this.millisecond+"")),n.includes("[S1]")&&(n=n.replaceAll("[S1]",this.millisecond+"")),n.includes("[W2]")&&(n=n.replaceAll("[W2]",this.weekNr+"")),n.includes("[t2]")&&(n=n.replaceAll("[t2]",this.isAM?"AM":"PM")),n.includes("[t1]")&&(n=n.replaceAll("[t1]",this.isAM?"A":"P")),n.includes("[Z2]")&&(n=n.replaceAll("[Z2]",this.timezoneLong)),n.includes("[Z1]")&&(n=n.replaceAll("[Z1]",this.timezoneShort)),n.includes("[O3]")&&(n=n.replaceAll("[O3]",this.timezoneOffsetLongStr)),n.includes("[O2]")&&(n=n.replaceAll("[O2]",this.timezoneOffsetShortStr.replace("GMT",""))),n.includes("[O1]")&&(n=n.replaceAll("[O1]",this.timezoneOffset>0?`+${this.timezoneOffset}`:this.timezoneOffset<0?`${this.timezoneOffset}`:"")),n.replaceAll(this.IGNORE_SIGN,"").trim()}formatBuilder(t){let n="",o="",r=0,i=!1,a="ymdhHMsSWtZO";return (t+" ").split("").forEach(s=>{o===""?r=1:!i&&s===o&&a.includes(s)?r++:!i&&s===o&&!a.includes(s)?(r++,n+=o):i?i&&(n+=o,r=1):(n+=a.includes(o)?`[${o}${r}]`:o,r=1),s===this.IGNORE_SIGN&&(i=!i),o=s;}),n}};var jn=class{_jsd1;_jsd2;constructor(t,n=L.now()){this._jsd1=t instanceof Date?L.fromDate(t):t.clone(),this._jsd2=n instanceof Date?L.fromDate(n):n.clone();}get ms(){return Math.abs(this._jsd2.valueOf()-this._jsd1.valueOf())}get inMillis(){return this.ms}get inSeconds(){return Math.floor(this.ms/1e3)}get inMinutes(){return Math.floor(this.ms/(1e3*60))}get inHours(){return Math.floor(this.ms/(1e3*60*60))}get inDays(){return Math.floor(this.ms/(1e3*60*60*24))}get inWeeks(){return Math.floor(this.ms/(1e3*60*60*24*7))}get inAllTypes(){return {milliseconds:this.inMillis,seconds:this.inSeconds,minutes:this.inMinutes,hours:this.inHours,days:this.inDays,weeks:this.inWeeks}}differenceIn(t){let n=this.ms,o={},r=1e3*60*60*24*7;return [["weeks",7],["days",24],["hours",60],["minutes",60],["seconds",1e3],["milliseconds",0]].forEach(([a,s])=>{if(t.includes(a)){let l=0;for(;n>=r;)l++,n-=r;Object.assign(o,{[a]:l});}r/=s;}),Object.assign(o,{rest:n}),o}};function Gc(e){e=e.replaceAll(/[^0-9a-zA-Z]/g,"");let t=e.match(/[0-9]{9}/g);if(t){let n=[];for(let o of t){let r=0,i=9;for(let a of o.split(""))r+=parseInt(a)*i,i=i!==2?i-1:-1;r%11===0&&n.push(o);}return [n.length>0,n]}return [!!t,[]]}function Ae(e){let t=typeof e!="string",n;typeof e=="string"?n=kr(e):n=e;let[o=255,r=255,i=255]=n,s=[o/255,r/255,i/255].map(c=>c<.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)),l=.02126*s[0]+.7152*s[1]+.0722*s[2];return isNaN(l)?[0,0,0]:l>.179?t?[0,0,0]:"#000000":t?[255,255,255]:"#ffffff"}function kr(e){let t="#";if(e.startsWith("#")||(e="#"+e),!/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)|(^#[0-9A-F]{4}$)/i.test(e))throw new Error("Invalid hex-color: "+e);e.length===4?e.substring(1,5).split("").forEach(s=>t+=s+s):e.length===5?e.substring(1,5).split("").forEach(s=>t+=s+s):e.length===7?t=e:e.length===9&&(t=e.substring(0,7));let o=parseInt(t.substring(1,3),16),r=parseInt(t.substring(3,5),16),i=parseInt(t.substring(5,7),16),a=parseInt(t.substring(7,9),16);return [o,r,i,a]}function Zc(e){try{e=e.toUpperCase().replaceAll(/[^A-Z0-9]/g,"");let t=e.match(/^([A-Z]{2})(\d{2})([A-Z\d]+)$/);if(t){let n=Dr.find(o=>o.code===t[1]);if(n){if(n.IBAN.length!==e.length)throw new Error("invalid length");{let o=(t[3]+t[1]+t[2]).replace(/[A-Z]/g,i=>(i.charCodeAt(0)-55).toString()),r=+o.slice(0,2);for(let i=2;i<o.length;i+=7)r=parseInt(r+o.substring(i,i+7),10)%97;return [r===1,r===1?n.land:"invalid restgetal"]}}else throw new Error("invalid landcode")}else throw new Error("invalid format")}catch(t){return [!1,t.message]}}var Dr=[{land:"Albanie",code:"AL",IBAN:"AL35202111090000000001234567"},{land:"Andorra",code:"AD",IBAN:"AD1400080001001234567890"},{land:"Azerbeidjan",code:"AZ",IBAN:"AZ96AZEJ00000000001234567890"},{land:"Bahrein",code:"BH",IBAN:"BH02CITI00001077181611"},{land:"Belgie",code:"BE",IBAN:"BE71096123456769"},{land:"Bosnie en Herzegovina",code:"BA",IBAN:"BA393385804800211234"},{land:"Brazilie",code:"BR",IBAN:"BR1500000000000010932840814P2"},{land:"Bulgarije",code:"BG",IBAN:"BG18RZBB91550123456789"},{land:"Costa Rica",code:"CR",IBAN:"CR23015108410026012345"},{land:"Croatie",code:"HR",IBAN:"HR1723600001101234565"},{land:"Cyprus",code:"CY",IBAN:"CY21002001950000357001234567"},{land:"Denemarken",code:"DK",IBAN:"DK9520000123456789"},{land:"Dominicaanse Republiek",code:"DO",IBAN:"DO22ACAU00000000000123456789"},{land:"Duitsland",code:"DE",IBAN:"DE91100000000123456789"},{land:"Egypte",code:"EG",IBAN:"EG800002000156789012345180002"},{land:"El Salvador",code:"SV",IBAN:"SV43ACAT00000000000000123123"},{land:"Estland",code:"EE",IBAN:"EE471000001020145685"},{land:"Faroe Eilanden",code:"FO",IBAN:"FO9264600123456789"},{land:"Finland",code:"FI",IBAN:"FI1410093000123458"},{land:"Frankrijk",code:"FR",IBAN:"FR7630006000011234567890189"},{land:"Georgie",code:"GE",IBAN:"GE60NB0000000123456789"},{land:"Gibraltar",code:"GI",IBAN:"GI04BARC000001234567890"},{land:"Griekenland",code:"GR",IBAN:"GR9608100010000001234567890"},{land:"Groenland",code:"GL",IBAN:"GL8964710123456789"},{land:"Guatemala",code:"GT",IBAN:"GT20AGRO00000000001234567890"},{land:"Hongarije",code:"HU",IBAN:"HU93116000060000000012345676"},{land:"Ierland",code:"IE",IBAN:"IE64IRCE92050112345678"},{land:"IJsland",code:"IS",IBAN:"IS030001121234561234567890"},{land:"Irak",code:"IQ",IBAN:"IQ20CBIQ861800101010500"},{land:"Israel",code:"IL",IBAN:"IL170108000000012612345"},{land:"Italie",code:"IT",IBAN:"IT60X0542811101000000123456"},{land:"Jordanie",code:"JO",IBAN:"JO71CBJO0000000000001234567890"},{land:"Kazakhstan",code:"KZ",IBAN:"KZ563190000012344567"},{land:"Kosovo",code:"XK",IBAN:"XK051212012345678906"},{land:"Kuweit",code:"KW",IBAN:"KW81CBKU0000000000001234560101"},{land:"Letland",code:"LV",IBAN:"LV97HABA0012345678910"},{land:"Libanon",code:"LB",IBAN:"LB92000700000000123123456123"},{land:"Liechtenstein",code:"LI",IBAN:"LI7408806123456789012"},{land:"Litouwen",code:"LT",IBAN:"LT601010012345678901"},{land:"Luxemburg",code:"LU",IBAN:"LU120010001234567891"},{land:"Britse Maagdeneilanden",code:"VG",IBAN:"VG21PACG0000000123456789"},{land:"Macedonie",code:"MK",IBAN:"MK07200002785123453"},{land:"Malta",code:"MT",IBAN:"MT31MALT01100000000000000000123"},{land:"Mauritanie",code:"MR",IBAN:"MR1300020001010000123456753"},{land:"Mauritius",code:"MU",IBAN:"MU43BOMM0101123456789101000MUR"},{land:"Moldavie",code:"MD",IBAN:"MD21EX000000000001234567"},{land:"Monaco",code:"MC",IBAN:"MC5810096180790123456789085"},{land:"Montenegro",code:"ME",IBAN:"ME25505000012345678951"},{land:"Nederland",code:"NL",IBAN:"NL02ABNA0123456789"},{land:"Noorwegen",code:"NO",IBAN:"NO8330001234567"},{land:"Oostenrijk",code:"AT",IBAN:"AT483200000012345864"},{land:"Pakistan",code:"PK",IBAN:"PK36SCBL0000001123456702"},{land:"Palestina",code:"PS",IBAN:"PS92PALS000000000400123456702"},{land:"Polen",code:"PL",IBAN:"PL10105000997603123456789123"},{land:"Portugal",code:"PT",IBAN:"PT50002700000001234567833"},{land:"Qatar",code:"QA",IBAN:"QA54QNBA000000000000693123456"},{land:"Roemenie",code:"RO",IBAN:"RO09BCYP0000001234567890"},{land:"Saint Lucia",code:"LC",IBAN:"LC14BOSL123456789012345678901234"},{land:"San Marino",code:"SM",IBAN:"SM76P0854009812123456789123"},{land:"Sao Tome en Principe",code:"ST",IBAN:"ST23000200000289355710148"},{land:"Saudi Arabie",code:"SA",IBAN:"SA4420000001234567891234"},{land:"Servie",code:"RS",IBAN:"RS35105008123123123173"},{land:"Seychellen",code:"SC",IBAN:"SC52BAHL01031234567890123456USD"},{land:"Slovenie",code:"SI",IBAN:"SI56192001234567892"},{land:"Slowakije",code:"SK",IBAN:"SK8975000000000012345671"},{land:"Spanje",code:"ES",IBAN:"ES7921000813610123456789"},{land:"Timor-Leste",code:"TL",IBAN:"TL380010012345678910106"},{land:"Tjechie",code:"CZ",IBAN:"CZ5508000000001234567899"},{land:"Tunesie",code:"TN",IBAN:"TN5904018104004942712345"},{land:"Turkije",code:"TR",IBAN:"TR320010009999901234567890"},{land:"Oekraine",code:"UA",IBAN:"UA903052992990004149123456789"},{land:"Verenigd Koninkrijk",code:"GB",IBAN:"GB98MIDL07009312345678"},{land:"Verenigde Arabische Emiraten",code:"AE",IBAN:"AE460090000000123456789"},{land:"Wit Rusland",code:"BY",IBAN:"BY86AKBB10100000002966000000"},{land:"Zweden",code:"SE",IBAN:"SE7280000810340009783242"},{land:"Zwitserland",code:"CH",IBAN:"CH5604835012345678009"}];function eo([e,t,n]){return `#${e.toString(16).padStart(2,"0")}${t.toString(16).padStart(2,"0")}${n.toString(16).padStart(2,"0")}`}function to(e){let t=/^#?([a-f\d]{1,2})([a-f\d]{1,2})([a-f\d]{1,2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]}function no([e,t,n]){let o=n/100,r=t*Math.min(o,1-o)/100,i=a=>{let s=(a+e/30)%12,l=o-r*Math.max(Math.min(s-3,9-s,1),-1);return Math.round(255*l).toString(16).padStart(2,"0")};return `#${i(0)}${i(8)}${i(4)}`}function oo(e){let t=/^#?([a-f\d]{1,2})([a-f\d]{1,2})([a-f\d]{1,2})$/i.exec(e),[n,o,r]=t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0];n/=255,o/=255,r/=255;let i=Math.max(n,o,r),a=Math.min(n,o,r),s=(i+a)/2,l=s,c=s;if(i!==a){let m=i-a;return l=c>.5?m/(2-i-a):m/(i+a),n===i?s=(o-r)/m+(o<r?6:0):o===i?s=(r-n)/m+2:r===i&&(s=(n-o)/m+4),[Math.round(360*(s/6)),Math.round(l*100),Math.round(c*100)]}else return [0,0,Math.round(c*100)]}function Qc(e){let[t,n,o]=e,r=t/255,i=n/255,a=o/255,s=Math.max(r,i,a),l=Math.min(r,i,a),c=(s+l)/2,m=c,u=c;if(s===l)return [0,0,Math.round(u*100)];let p=s-l;switch(m=u>=.5?p/(2-(s+l)):p/(s+l),s){case r:c=((i-a)/p+0)*60;break;case i:c=((a-r)/p+2)*60;break;case a:c=((r-i)/p+4)*60;break}return [Math.round(c),Math.round(m*100),Math.round(u*100)]}function jc(e){let[t,n,o]=e;n/=100,o/=100;let r=s=>(s+t/30)%12,i=n*Math.min(o,1-o),a=s=>o-i*Math.max(-1,Math.min(r(s)-3,Math.min(9-r(s),1)));return [255*a(0),255*a(8),255*a(4)]}function tp(e,t,n=!0){return Math.floor(Math.random()*(t-e+(n?1:-1)))+e+(n?0:1)}function np(e,t){return Math.random()*(t-e)+e}function op(e,t=2){if(t<1)return Math.round(e);let n=Math.pow(10,t);return Math.round(n*e)/n}var ip=(e,t)=>e===t?0:e?-1:1,ap=(e,t)=>e.valueOf()-t.valueOf(),sp=(e,t,n={})=>e<t?-1:e===t?0:1,ro=(e,t)=>e<t?-1:e===t?0:1;function Lr({data:e=[],columns:t=[],defaultSortColNum:n=void 0,compact:o=!1,narrow:r=!1,hoverable:i=!1,sticky:a="none",hidePagination:s=!1,hideSearch:l=!1,headerContent:c=void 0,footerContent:m=void 0,size:u="s",maxRows:p=20,searchPlaceholder:d="Zoek ...",rowIdentifier:f,onSearch:g=(b,C)=>C.filter(E=>JSON.stringify(E).toLowerCase().includes(b.toLowerCase())),onRowSelected:y,rowClass:T,renderWhenNoData:S=b=>b?jsxRuntime.jsx("div",{children:"No search results"}):jsxRuntime.jsx("div",{children:"No data"}),searchInfoMessage:P=(b,C,E)=>` ${b} van ${C}`,id:v,itemRef:R}){let b=t.sort((X,Ne)=>ro(X.order??0,Ne.order??0)),C=X=>{ne(1),x(X);},[E,B]=fe__default.default.useState(()=>n||b.findIndex(X=>X.sort!==void 0)+1),[J,x]=fe__default.default.useState(""),[N]=zn(J,{delay:100}),O=[...J===""?e:g(N,e)];O.sort(b[Math.abs(E)-1]?.sort??(()=>0)),E<0&&O.reverse();let H=p===0?O.length:p,{range:te,active:A,next:w,prev:K,first:Ie,last:me,setPage:ne}=Un({total:Math.ceil(O.length/H)}),re=O.slice(((A??1)-1)*H,(A??1)*H),G="table is-striped";return o&&(G+=" is-narrow"),r||(G+=" is-fullwidth"),i&&(G+=" is-hoverable"),a!=="none"&&(G+=" is-sticky"),jsxRuntime.jsxs("table",{className:G,id:v,ref:R,children:[jsxRuntime.jsx(Hr,{sticky:a,cols:b,size:u,searchValue:J,filterCount:O.length,dataCount:e.length,hideSearch:l,onSearchValueChanged:C,searchPlaceholder:d,infoMessage:P,sortColNum:E,onSortIndexChanged:B,children:c}),re.length>0&&jsxRuntime.jsx(Jr,{rows:re,rowIdentifier:f,cols:b,onRowSelected:y,rowClass:T}),re.length===0&&jsxRuntime.jsx("tbody",{children:jsxRuntime.jsx("tr",{role:"no-rows-to-show-row",children:jsxRuntime.jsx("td",{colSpan:b.length,children:S(J!=="")})})}),jsxRuntime.jsx(Fr,{size:u,cols:b,currentPage:A??1,hidePagination:H===0?!0:s,range:te,next:w,prev:K,first:Ie,last:me,set:ne,children:m})]})}function Jr({rows:e,cols:t,rowIdentifier:n,rowClass:o,onRowSelected:r=()=>{}}){return jsxRuntime.jsx("tbody",{children:e?.map(i=>{let a=typeof o=="function"?o(i):o,s=typeof n=="function"?n(i):i[n];return jsxRuntime.jsx("tr",{role:"row",className:a,onClick:l=>r(i,l),children:t.map((l,c)=>{if(l.hidden)return null;let m;typeof l.cellIdentifier=="function"?m=l.cellIdentifier(i):l.cellIdentifier?m=i[l.cellIdentifier]:m=`${s}-${c}`;let u=typeof l.columnClass=="function"?l.columnClass(i):l.columnClass;return l.alignment==="l"?u+=" has-text-left":l.alignment==="c"?u+=" has-text-centered":l.alignment==="r"&&(u+=" has-text-right"),jsxRuntime.jsx("td",{className:u,children:typeof l.value=="function"?l.value(i):i[l.value]},m)})},s)})})}function Hr({children:e=void 0,searchValue:t,filterCount:n,dataCount:o,searchPlaceholder:r,cols:i,size:a,sortColNum:s,hideSearch:l,sticky:c,onSortIndexChanged:m,onSearchValueChanged:u,infoMessage:p}){let d=(y,T)=>{let S=T+1,P=i[T];P&&P.sort&&(Math.abs(s)===S?m(s*-1):s!==S&&m(S));},f=l?i.length:Math.ceil(i.filter(y=>!y.hidden).length/2),g=l?0:i.length-f;return jsxRuntime.jsxs("thead",{className:c==="all"?"is-sticky-head":void 0,children:[jsxRuntime.jsxs("tr",{role:"header-row",children:[jsxRuntime.jsx("th",{colSpan:f,children:e}),!l&&jsxRuntime.jsx("th",{colSpan:g,children:jsxRuntime.jsx(nn,{size:a,type:"text",name:"loon-bulma-react-datatable-search-input",placeholder:r,value:t,onValueChanged:u,infoMessage:p(n,o,t)})})]}),jsxRuntime.jsx("tr",{role:"header-row",className:c==="header"?"is-sticky-row":void 0,children:i.map((y,T)=>{if(y.hidden)return null;let S=y.sort!==void 0,P=Math.abs(s)-1===T,v;y.header||y.header===""?v=y.header:typeof y.value!="string"?v=y.value.toString():v=y.value;let R="";y.alignment==="l"?R+=" has-text-left":y.alignment==="c"?R+=" has-text-centered":y.alignment==="r"&&(R+=" has-text-right");let b=freeSolidSvgIcons.faSort;return P&&s>0?b=freeSolidSvgIcons.faSortUp:P&&s<0&&(b=freeSolidSvgIcons.faSortDown),jsxRuntime.jsxs("th",{role:"sort-col",style:{cursor:S?"pointer":void 0},className:R,onClick:C=>d(C,T),children:[S&&jsxRuntime.jsx(sn,{icon:b,children:v}),!S&&jsxRuntime.jsx("span",{children:v})]},T)})})]})}function Fr({size:e,children:t=void 0,hidePagination:n,cols:o,range:r,currentPage:i,next:a,prev:s,first:l,last:c,set:m}){return jsxRuntime.jsxs("tfoot",{children:[!n&&r.length>1&&jsxRuntime.jsx("tr",{role:"footer-row",children:jsxRuntime.jsx("td",{colSpan:o.filter(u=>!u.hidden).length,children:jsxRuntime.jsx(ln,{size:e,range:r,currentPage:i,next:a,prev:s,first:l,last:c,set:m})})}),t]})}var ye=({color:e="i",className:t="",children:n})=>{let o="help";return e==="p"?o+=" is-primary":e==="i"?o+=" is-info":e==="l"?o+=" is-link":e==="d"?o+=" is-danger":e==="s"?o+=" is-success":e==="w"?o+=" is-warning":e.startsWith("is-")&&(o+=` ${e}`),o=`${o} ${t}`.trim(),jsxRuntime.jsx("p",{className:o,children:n})};ye.Info=e=>jsxRuntime.jsx(ye,{color:"i",...e});ye.Link=e=>jsxRuntime.jsx(ye,{color:"l",...e});ye.Primary=e=>jsxRuntime.jsx(ye,{color:"p",...e});ye.Danger=e=>jsxRuntime.jsx(ye,{color:"d",...e});ye.Success=e=>jsxRuntime.jsx(ye,{color:"s",...e});ye.Warning=e=>jsxRuntime.jsx(ye,{color:"w",...e});function $r({position:e="tr",color:t="l",title:n,children:o}){let r="badge";return e==="tr"||e==="top-right"?r+=" is-top-right":e==="tl"||e==="top-left"?r+=" is-top-left":e==="tc"||e==="top-center"?r+=" is-top-center":e==="bl"||e==="bottom-left"?r+=" is-bottom-left":e==="br"||e==="bottom-right"?r+=" is-bottom-right":e==="bc"||e==="bottom-center"?r+=" is-bottom-center":e==="lc"||e==="left-center"?r+=" is-left-center":(e==="rc"||e==="right-center")&&(r+=" is-right-center"),t==="p"?r+=" is-primary":t==="l"?r+=" is-link":t==="i"?r+=" is-info":t==="w"?r+=" is-warning":t==="d"?r+=" is-danger":t==="s"?r+=" is-success":t==="dark"?r+=" is-dark":t==="light"?r+=" is-light":t.startsWith("is-")&&(r+=` ${t}`),jsxRuntime.jsx("span",{className:r,title:n,children:o})}function cn({children:e,className:t=""}){let n=`kbd ${t}`.trim();return jsxRuntime.jsx("kbd",{className:n,children:e})}function Vr({keys:e,separator:t,className:n=""}){let o=e.map((r,i)=>i===e.length-1?jsxRuntime.jsx(cn,{children:r},r):jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx(cn,{children:r}),jsxRuntime.jsx("span",{children:t??"+"})]},r));return jsxRuntime.jsx("span",{className:n,children:o})}var Ce=({initialItem:e,children:t,className:n,style:o,onMenuItemClicked:r,itemRef:i})=>{let[a,s]=fe__default.default.useState(e??""),l=u=>{r(u),s(u);},c=fe__default.default.Children.map(t,u=>u.type===Ce.Item?jsxRuntime.jsx("ul",{children:jsxRuntime.jsx(pn,{...u.props,activeItem:a,onInternClick:l})}):u.type===Ce.ItemGroup?jsxRuntime.jsx(Gr,{...u.props,activeItem:a,onInternClick:l}):u.type===Ce.ExpandableItem?jsxRuntime.jsx("ul",{className:"menu-list",children:jsxRuntime.jsx(ao,{...u.props,activeItem:a,onInternClick:l})}):u),m=`menu ${n}`.trim();return jsxRuntime.jsx("aside",{className:m,role:"menu",style:o,ref:i,children:c})};function Gr({label:e,children:t,activeItem:n,onInternClick:o}){return jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx("p",{className:"menu-label",children:e}),jsxRuntime.jsx("ul",{className:"menu-list",children:fe__default.default.Children.map(t,r=>r.type===Ce.Item?jsxRuntime.jsx(pn,{...r.props,activeItem:n,onInternClick:o}):r.type===Ce.ExpandableItem?jsxRuntime.jsx(ao,{...r.props,activeItem:n,onInternClick:o}):r)})]})}function ao({label:e,onClick:t,onInternClick:n,children:o,startExpanded:r,activeItem:i}){let[a,s]=fe__default.default.useState(r??!1),l=m=>{t&&t(e,m),s(!a);},c=fe__default.default.Children.map(o,m=>m.type===Ce.Item?jsxRuntime.jsx(pn,{...m.props,activeItem:i,onInternClick:n}):m);return jsxRuntime.jsxs("li",{children:[jsxRuntime.jsxs("span",{className:"menu-list-item",onClick:l,children:[jsxRuntime.jsx(le,{color:"i",size:"s",icon:a?freeSolidSvgIcons.faChevronUp:freeSolidSvgIcons.faChevronDown}),jsxRuntime.jsxs("span",{children:[" ",e]})]}),a&&jsxRuntime.jsx("ul",{children:c})]})}function pn({name:e,activeItem:t,children:n,onInternClick:o,onClick:r}){let i=s=>{r&&r(a,s),o(a);},a=e??fe__default.default.Children.toArray(n).filter(s=>typeof s=="string")[0].toString();return jsxRuntime.jsx("li",{onClick:i,id:a,children:jsxRuntime.jsx("span",{className:t===a?"menu-list-item is-active":"menu-list-item",children:n})})}Ce.Item=({name:e,children:t})=>jsxRuntime.jsxs("span",{children:[e,t]});Ce.ItemGroup=({label:e,children:t})=>jsxRuntime.jsxs("div",{children:[e,t]});Ce.ExpandableItem=e=>jsxRuntime.jsx("div",{children:e.children});Ce.Label=({children:e})=>jsxRuntime.jsx("p",{className:"menu-label",children:e});var he=({id:e,children:t,title:n,size:o="m",color:r="i",icon:i=void 0,collapsable:a=!1,startCollapsed:s=!1,itemRef:l,onDismiss:c})=>{let[m,u]=qn(!s),p="message";r==="i"?p+=" is-info":r==="s"?p+=" is-success":r==="w"?p+=" is-warning":r==="d"?p+=" is-danger":r==="l"?p+=" is-link":r==="p"&&(p+=" is-primary");let d;return i===void 0&&r==="w"?d=freeSolidSvgIcons.faExclamation:i===void 0&&r==="d"?d=freeSolidSvgIcons.faExclamationTriangle:i===void 0&&r==="s"?d=freeSolidSvgIcons.faCheck:i===void 0?d=freeSolidSvgIcons.faInfo:d=i,o==="s"?p+=" is-small":o==="m"?p+=" is-normal":o==="l"?p+=" is-medium":o==="xl"&&(p+=" is-large"),jsxRuntime.jsxs("article",{className:p,id:e,ref:l,children:[jsxRuntime.jsxs("div",{className:"message-header","data-testid":"message-header",onClick:()=>a&&u(),style:{cursor:a?"pointer":"default"},children:[jsxRuntime.jsxs("p",{children:[a&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs("span",{className:"icon mr-1",children:[m&&jsxRuntime.jsx(le,{icon:freeSolidSvgIcons.faChevronCircleUp}),!m&&jsxRuntime.jsx(le,{icon:freeSolidSvgIcons.faChevronCircleDown})]})}),jsxRuntime.jsx("span",{className:"icon mr-3",children:jsxRuntime.jsx(le,{icon:d})}),n]}),c&&jsxRuntime.jsx("button",{className:"delete"})]}),!a&&jsxRuntime.jsx("div",{className:"message-body","data-testid":"message-body",children:t}),a&&m&&jsxRuntime.jsx("div",{className:"message-body","data-testid":"message-body",children:t})]})};he.Primary=e=>jsxRuntime.jsx(he,{...e,color:"p"});he.Success=e=>jsxRuntime.jsx(he,{...e,color:"s"});he.Danger=e=>jsxRuntime.jsx(he,{...e,color:"d"});he.Warning=e=>jsxRuntime.jsx(he,{...e,color:"w"});he.Info=e=>jsxRuntime.jsx(he,{...e,color:"i"});he.Link=e=>jsxRuntime.jsx(he,{...e,color:"l"});var Qe=({size:e="m",itemRef:t,children:n,onOpened:o,onDismiss:r,helpTag:i})=>{fe__default.default.useEffect(()=>(document.documentElement.classList.add("is-clipped"),o&&o(i),()=>document.documentElement.classList.remove("is-clipped")),[]);let a="800px";e==="s"?a="600px":e==="m"?a="800px":e==="l"?a="1000px":e==="xl"?a="1200px":typeof e=="string"&&(a=e);let s=fe__default.default.Children.map(n,l=>l?l.type===Qe.Head?jsxRuntime.jsx(ti,{...l.props}):l.type===Qe.Body?jsxRuntime.jsx(un,{...l.props}):l.type===Qe.Foot?jsxRuntime.jsx(ni,{...l.props}):jsxRuntime.jsx(un,{children:l}):null)?.sort((l,c)=>l.type.name==="InternHead"?-1:l.type.name==="InternBody"&&c.type.name==="InternHead"?1:l.type.name==="InternBody"&&c.type.name==="InternFoot"?-1:l.type.name==="InternFoot"?1:0);return !s||s?.length===0?console.warn("<Modal> A Modal needs at least one child"):s.filter(l=>l.type===un).length>1&&console.warn("<Modal> A modal should have only one body. Wrap multiple children into a <Modal.Body>-tag."),jsxRuntime.jsx(fe__default.default.Fragment,{children:jsxRuntime.jsxs("div",{className:"modal is-active","data-testid":"modal",children:[jsxRuntime.jsx("div",{className:"modal-background","data-testid":"modal-bg"}),jsxRuntime.jsx("div",{className:"modal-content bulma-box modal-container","data-testid":"modal-content",style:{width:a},ref:t,children:s}),jsxRuntime.jsx("button",{className:"modal-close is-large","aria-label":"close",onClick:r})]})})},ti=({children:e})=>jsxRuntime.jsx("div",{className:"modal-header","data-testid":"modal-header",children:e}),un=({children:e})=>jsxRuntime.jsx("div",{className:"modal-body","data-testid":"modal-body",children:e}),ni=({children:e})=>jsxRuntime.jsx("div",{className:"modal-footer","data-testid":"modal-footer",children:e});Qe.Head=({children:e})=>jsxRuntime.jsx("div",{children:e});Qe.Body=({children:e})=>jsxRuntime.jsx("div",{children:e});Qe.Foot=({children:e})=>jsxRuntime.jsx("div",{children:e});var ce=({children:e,onDismiss:t,onClick:n,autoDismissAfter:o=-1,color:r="i",icon:i=void 0,id:a,itemRef:s})=>{let l=o>0?setTimeout(()=>m(null),o):null,[c]=fe__default.default.useState(l);fe__default.default.useEffect(()=>()=>c?clearTimeout(c):void 0,[c]);let m=f=>{c&&clearTimeout(c),t(f);},u=f=>{n?n(f):m(f);},p="notification";r==="i"?p+=" is-info":r==="s"?p+=" is-success":r==="w"?p+=" is-warning":r==="d"?p+=" is-danger":r==="l"?p+=" is-link":r==="p"&&(p+=" is-primary");let d;return i?d=i:r==="s"?d=freeSolidSvgIcons.faCheck:r==="w"?d=freeSolidSvgIcons.faExclamation:r==="d"?d=freeSolidSvgIcons.faExclamationTriangle:d=freeSolidSvgIcons.faInfo,jsxRuntime.jsxs("article",{className:p,onClick:u,id:a,ref:s,children:[jsxRuntime.jsx("button",{className:"delete",onClick:m}),jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("span",{className:"icon is-medium mr-2",style:{float:"left"},children:jsxRuntime.jsx(le,{icon:d})}),e]})]})};ce.Primary=e=>jsxRuntime.jsx(ce,{...e,color:"p"});ce.Danger=e=>jsxRuntime.jsx(ce,{...e,color:"d"});ce.Warning=e=>jsxRuntime.jsx(ce,{...e,color:"w"});ce.Success=e=>jsxRuntime.jsx(ce,{...e,color:"s"});ce.Link=e=>jsxRuntime.jsx(ce,{...e,color:"l"});ce.Info=e=>jsxRuntime.jsx(ce,{...e,color:"i"});function li({color:e="i",size:t="m",prefix:n="",suffix:o="",extension:r="",max:i=100,value:a}){let s="progress";t==="s"?s+=" is-small":t==="m"?s+=" is-normal":t==="l"?s+=" is-medium":t==="xl"&&(s+=" is-large"),e==="s"?s+=" is-success":e==="i"?s+=" is-info":e==="p"?s+=" is-primary":e==="d"?s+=" is-danger":e==="l"?s+=" is-link":e==="w"?s+=" is-warning":e==="dark"?s+=" is-dark":e==="light"?s+=" is-light":e.startsWith("is-")&&(s+=` ${e}`);let l=a?`${n}${a}${o??r}`.trim():void 0;return jsxRuntime.jsx("progress",{className:s,value:a,max:i,title:l,role:"progress",children:a})}function pi(e){let t="table";e.bordered&&(t+=" is-bordered"),e.narrow&&(t+=" is-narrow"),e.striped&&(t+=" is-striped"),e.hoverable&&(t+=" is-hoverable"),e.fullwidth&&(t+=" is-fullwidth");let n=e.rowIdentifier,o=(i,a)=>{e.onRowSelected&&e.onRowSelected(i,a);},r=fi(e.columns,e.data[0]);return jsxRuntime.jsx("div",{className:"table-container",id:e.id,ref:e.itemRef,children:jsxRuntime.jsxs("table",{className:t,children:[jsxRuntime.jsx(ui,{titles:r}),jsxRuntime.jsx(mi,{columns:r,data:e.data,rowIdentifier:n,onRowSelected:(i,a)=>o(i,a)}),e.hasFooter&&jsxRuntime.jsx(di,{titles:r})]})})}function mi(e){return jsxRuntime.jsx("tbody",{children:e.data.map((t,n)=>jsxRuntime.jsx("tr",{onClick:o=>e.onRowSelected(t,o.currentTarget),children:e.columns.map((o,r)=>{let i=typeof o.value=="string"?t[o.value]:o.value(t);return jsxRuntime.jsx("td",{children:i},r)})},typeof e.rowIdentifier=="function"?e.rowIdentifier(t):e.rowIdentifier?t[e.rowIdentifier]:n))})}function ui(e){return jsxRuntime.jsx("thead",{children:jsxRuntime.jsx("tr",{children:e.titles.map(t=>jsxRuntime.jsx("th",{children:t.header},t.header))})})}function di(e){return jsxRuntime.jsx("tfoot",{children:jsxRuntime.jsx("tr",{children:e.titles.map(t=>jsxRuntime.jsx("th",{children:t.header},t.header))})})}function fi(e,t){return e&&typeof e[0]=="string"?e.map(o=>({header:o,value:o})):e?e.map(o=>(!o.header&&o.header!=""&&typeof o.value=="string"&&(o.header=o.value),o)):Object.keys(t).map(n=>({header:n,value:n}))}var dn=({size:e="m",id:t,itemRef:n,className:o,activeStepIndex:r,onChangeStep:i,children:a,freeStepChoice:s})=>{let[l,c]=fe__default.default.useState(r??0),m=p=>{i&&i(p),c(p);};fe__default.default.useEffect(()=>{c(r??0);},[r]);let u="steps is-animated";return e==="s"?u+=" is-small":e==="m"?u+=" is-normal":e==="l"?u+=" is-medium":e==="xl"&&(u+=" is-large"),u+=` ${o}`,jsxRuntime.jsx("div",{className:u,id:t,ref:n,children:fe__default.default.Children.map(a,(p,d)=>{if(p.type&&p.type===dn.Item){let f=!0;return s==="allowed"||s==="down"&&d<l||s==="up"&&d>l?f=!1:f=d!=l+1&&d!=l-1,jsxRuntime.jsx(yi,{...p.props,activeStep:l,stepKey:d,disabled:f,onClick:m},p.props.title)}else return p})})};dn.Item=e=>jsxRuntime.jsx(fe__default.default.Fragment,{children:e.title});function yi({disabled:e,stepKey:t,activeStep:n,status:o,marker:r,title:i,children:a,details:s,onClick:l}){let c=()=>{e||t===n||(l(t),u("active"));},[m,u]=fe__default.default.useState(o??"pending");fe__default.default.useEffect(function(){let g="pending";o==="error"?g="error":o==="completed"||n>t?g="completed":t===n&&(g="active"),u(g);},[o,t,n]);let p="step-item";n===t?p+=" is-active is-info":m==="error"?p+=" is-error is-danger":m==="completed"?p+=" is-completed is-success":p+=" is-pending";let d;return r?typeof r=="function"?d=r(m):d=r:d=jsxRuntime.jsx(fe__default.default.Fragment,{children:t+1}),jsxRuntime.jsxs("div",{className:p,onClick:c,title:i,children:[jsxRuntime.jsx("div",{className:"step-marker",children:d}),jsxRuntime.jsxs("div",{className:"step-details",children:[jsxRuntime.jsx("p",{className:"step-title",children:a}),s&&jsxRuntime.jsx("p",{children:s})]})]})}var po=({id:e,activeTab:t,initialTab:n,size:o,alignment:r,fullwidth:i,children:a,onTabChange:s})=>{let[l,c]=fe__default.default.useState(t??n),m=(d,f)=>{f||(c(d),s(d));};fe__default.default.useEffect(()=>{t!==void 0&&c(l);},[l]);let u="tabs is-boxed";o==="s"?u+=" is-small":o==="l"?u+=" is-medium":o==="xl"&&(u+=" is-large"),r==="c"?u+=" is-centered":r==="r"&&(u+=" is-right"),u+=i?" is-fullwidth":"";let p=fe__default.default.Children.map(a,(d,f)=>jsxRuntime.jsx(hi,{isActive:l?l===d.props.tabId:f===0,disabled:d.props.disabled,onClick:()=>m(d.props.tabId,d.props.disabled),children:d}));return jsxRuntime.jsx("div",{className:u,id:e,children:jsxRuntime.jsx("ul",{children:p})})};function hi({children:e,isActive:t,disabled:n=!1,onClick:o}){let r="";return t&&(r+="is-active"),n&&(r+=" is-disabled"),jsxRuntime.jsx("li",{role:"tab",className:r,onClick:o,children:e})}function Ti({children:e,tabId:t,title:n,disabled:o=!1}){let r=fe__default.default.Children.map(e,i=>!i||i===""?null:i);return jsxRuntime.jsx("span",{title:n,id:t?.toString()||void 0,className:"tab",children:r})}po.Item=Ti;function xt({children:e,color:t="l",size:n=void 0,light:o=!1,title:r,onDismiss:i}){let a="tag is-rounded";o&&(a+=" is-light"),t==="p"?a+=" is-primary":t==="l"?a+=" is-link":t==="i"?a+=" is-info":t==="d"?a+=" is-danger":t==="w"?a+=" is-warning":t==="s"?a+=" is-success":t==="dark"?a+=" is-dark":t==="light"?a+=" is-light":t.startsWith("is-")&&(a+=` ${t}`),n||(n="s"),n==="s"?a+=" is-normal":n==="m"?a+=" is-medium":n==="l"&&(a+=" is-large");let s="delete";return i&&n==="s"?s+=" is-small":i&&n==="m"?s+=" is-ismall":i&&n==="l"&&(s+=" is-normal"),jsxRuntime.jsxs("span",{className:a,title:r,children:[e,i&&jsxRuntime.jsx("button",{className:s,onClick:c=>i&&i(c)})]})}function Si({children:e,merged:t=!1,size:n="s",alignment:o="l",className:r="",styles:i={},itemRef:a,id:s=void 0}){let l="tags";n==="s"?l+=" are-small":n==="m"?l+=" are-medium":n==="l"&&(l+=" are-large"),o==="l"?l+=" is-left":o==="r"?l+=" is-right":o==="c"&&(l+=" is-centered"),t&&(l+=" has-addons"),l=`${l} ${r}`.trim();let c=fe__default.default.Children.map(e,m=>m.type===xt&&!m.props.size?jsxRuntime.jsx(xt,{size:n,...m.props}):m);return jsxRuntime.jsx("div",{className:l,style:i,ref:a,id:s,children:c})}var gn=({id:e,alignment:t="l",children:n,className:o})=>{let r="timeline";return t==="l"?r+=" is-ltr":t==="c"?r+=" is-centered":t==="r"&&(r+=" is-rtl"),r=`${r} ${r}`.trim(),jsxRuntime.jsx("div",{className:r,id:e,children:n})};gn.Point=({children:e,color:t="l",size:n="s",title:o,onClick:r})=>jsxRuntime.jsx("div",{className:"timeline-header",onClick:r,children:jsxRuntime.jsx(xt,{color:t,size:n,title:o,children:e})});gn.Item=({marker:e,heading:t,children:n,title:o,onClick:r})=>{let i="timeline-marker";return e?.color==="p"?i+=" is-primary":e?.color==="l"?i+=" is-link":e?.color==="i"?i+=" is-info":e?.color==="s"?i+=" is-success":e?.color==="d"?i+=" is-danger":e?.color==="w"?i+=" is-warning":e?.color==="light"?i+=" is-light":e?.color==="dark"&&(i+=" is-dark"),e?.icon&&(i+=" is-icon"),jsxRuntime.jsxs("div",{className:"timeline-item",title:o,onClick:()=>r&&r(t),children:[jsxRuntime.jsx("div",{className:i,children:e?.icon&&jsxRuntime.jsx(le,{icon:e.icon})}),jsxRuntime.jsxs("div",{className:"timeline-content",children:[t&&jsxRuntime.jsx("p",{className:"heading",children:t}),jsxRuntime.jsx("div",{children:n})]})]})};var vi=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h1",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e}),Ii=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h2",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e}),Ci=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h3",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e}),xi=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h4",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e}),Ei=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h5",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e}),Ni=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h6",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e});var nt=({children:e,id:t,itemRef:n,color:o,alignment:r="r",tag:i,onDismiss:a,onOpened:s})=>{fe__default.default.useEffect(()=>s&&s(i),[]);let l="quickview is-active";r==="l"?l+=" is-left":r==="r"&&(l+=" is-right");let c=null,m=null,u=null;return fe__default.default.Children.forEach(e,p=>{if(fe__default.default.isValidElement(p))switch(p.type){case nt.Header:c=jsxRuntime.jsx(hn,{...p.props,onDismiss:a,color:o});break;case nt.Body:m=jsxRuntime.jsx(Tn,{...p.props});break;case nt.Footer:u=jsxRuntime.jsx(uo,{...p.props});break;default:m=jsxRuntime.jsx(Tn,{children:p});break}}),jsxRuntime.jsxs("div",{id:t,className:l,ref:n,children:[c??jsxRuntime.jsx(hn,{onDismiss:a}),m,u]})};function hn({children:e,color:t="i",onDismiss:n}){let o="quickview-header";return t==="i"?o+=" is-info":t==="s"?o+=" is-success":t==="w"?o+=" is-warning":t==="d"?o+=" is-danger":t==="l"?o+=" is-link":t==="p"&&(o+=" is-primary"),typeof e=="string"&&(e=jsxRuntime.jsx("h3",{className:"title is-4",children:e})),jsxRuntime.jsxs("header",{className:o,children:[e,jsxRuntime.jsx("button",{className:"delete",onClick:n})]})}var Tn=({children:e})=>jsxRuntime.jsx("div",{className:"quickview-body",children:e}),uo=({children:e})=>jsxRuntime.jsx("footer",{className:"quickview-footer",children:e});nt.Header=hn;nt.Body=Tn;nt.Footer=uo;var k=({size:e="m",rounded:t=!1,alignment:n="l",value:o,initialValue:r,children:i,className:a,onToggle:s})=>{let[l,c]=fe__default.default.useState(o??r);fe__default.default.useEffect(()=>{o!==void 0&&l!==o&&c(o);},[o]);let m=d=>{l!=d&&(s&&s(d),c(d));},u=fe__default.default.Children.map(i,(d,f)=>{let g=d.props?.identifier??fe__default.default.Children.map(d.props.children,y=>typeof y=="string"?y:typeof y.type=="string"?y.type:fe__default.default.useId())?.join("")??""+f;return d.type===go?jsxRuntime.jsx(Ri,{...d.props,toggled:l==g,identifier:g,onToggleClick:m}):d.type===yo?jsxRuntime.jsx(Ai,{...d.props,identifier:g}):d}),p="tabs is-toggle";return t&&(p+=" is-toggle-rounded"),e==="s"?p+=" is-small":e==="m"?p+=" is-normal":e==="l"?p+=" is-medium":e==="xl"&&(p+=" is-large"),n==="l"&&(p+=" is-left"),n==="c"?p+=" is-centered":n==="r"&&(p+=" is-right"),a&&(p+=" "+a),jsxRuntime.jsx("div",{className:p,children:jsxRuntime.jsx("ul",{children:u})})},go=e=>jsxRuntime.jsx("button",{disabled:e.disabled,children:e.children});function Ri({disabled:e,title:t,toggled:n,children:o,identifier:r,onClick:i,onToggleClick:a}){let s="";return e&&(s+=" is-disabled"),n&&(s+=" is-active"),jsxRuntime.jsx("li",{title:t,className:s,onClick:()=>{i&&i(r),e||a(r);},id:r,children:jsxRuntime.jsx("span",{className:"tab",children:o})})}var yo=e=>jsxRuntime.jsx("button",{children:e.children});function Ai({title:e,identifier:t,onToggle:n,toggled:o=!1,disabled:r,children:i}){let[a,s]=fe__default.default.useState(o);fe__default.default.useEffect(()=>{o!==void 0&&s(o);},[o]);let l="";a&&(l+="is-active"),r&&(l+=" is-disabled");let c=()=>{r||(n&&n(!a,t),s(!a));};return jsxRuntime.jsx("li",{title:e,id:t,className:l,onClick:()=>c(),children:jsxRuntime.jsx("span",{className:"tab",children:i})})}k.Item=go;k.OnOffItem=yo;var I=({color:e="p",size:t="m",loading:n=!1,disabled:o=!1,fullwidth:r=!1,type:i="button",styling:a="default",isStatic:s=!1,helpTag:l,onClick:c,onFocus:m,children:u,value:p,...d})=>{let f=P=>{n||o||a==="static"||a==="s"||c&&c(P);},g=P=>{m&&m(P,l);},y="button",T={};s||a==="static"||a==="s"?y+=" is-static":e==="p"?y+=" is-primary":e==="i"?y+=" is-info":e==="l"?y+=" is-link":e==="d"?y+=" is-danger":e==="s"?y+=" is-success":e==="w"?y+=" is-warning":e==="light"?y+=" is-light":e==="dark"?y+=" is-dark":e==="none"?y+="":y+=` ${e}`,t==="s"?y+=" is-small":t==="m"?y+=" is-normal":t==="l"?y+=" is-medium":t==="xl"&&(y+=" is-large"),n&&(y+=" is-loading"),r&&(y+=" is-fullwidth",T={justifyContent:"center"});let S=fe__default.default.Children.map(u,P=>typeof P=="string"?jsxRuntime.jsx("span",{children:P}):P);return jsxRuntime.jsx("button",{style:T,className:y,type:i,disabled:o,onClick:f,onFocus:g,value:p,...d,children:S})};I.Static=e=>jsxRuntime.jsx(I,{...e,isStatic:!0});I.Primary=e=>jsxRuntime.jsx(I,{...e,color:"p"});I.Success=e=>jsxRuntime.jsx(I,{...e,color:"s"});I.Danger=e=>jsxRuntime.jsx(I,{...e,color:"d"});I.Warning=e=>jsxRuntime.jsx(I,{...e,color:"w"});I.Info=e=>jsxRuntime.jsx(I,{...e,color:"i"});I.Link=e=>jsxRuntime.jsx(I,{...e,color:"l"});I.Light=e=>jsxRuntime.jsx(I,{...e,color:"light"});I.Dark=e=>jsxRuntime.jsx(I,{...e,color:"dark"});function Ft({fullwidth:e=!1,children:t,color:n="l",onClick:o,...r}){let i="link-button";return n==="l"?i+=" is-link":n==="p"?i+=" is-primary":n==="s"?i+=" is-success":n==="d"?i+=" is-danger":n==="w"?i+=" is-warning":n==="i"&&(i+=" is-info"),e&&(i+=" is-fullwidth"),jsxRuntime.jsx("button",{className:i,onClick:o,...r,children:t})}function ki({color:e="l",href:t,target:n="_blank",id:o,rel:r="noopener",children:i,...a}){let s="link-button";return e==="l"?s+=" is-link":e==="p"?s+=" is-primary":e==="s"?s+=" is-success":e==="d"?s+=" is-danger":e==="w"?s+=" is-warning":e==="i"&&(s+=" is-info"),jsxRuntime.jsx("a",{className:s,href:t,target:n,id:o,rel:r,...a,children:i})}function mt({unevenSize:e=!1,...t}){return e?jsxRuntime.jsx(Di,{...t}):jsxRuntime.jsx(Bi,{...t})}function Di({children:e,hasAddons:t=!1,alignment:n="l",className:o=void 0}){let r="field";return r+=t?" has-addons":" is-grouped",n==="l"?r+=" is-grouped-left":n==="c"?r+=" is-grouped-centered":n==="r"&&(r+=" is-grouped-right"),o&&(r+=` ${o}`),jsxRuntime.jsx("div",{className:r,children:fe__default.default.Children.map(e,i=>jsxRuntime.jsx("div",{className:"control",children:i}))})}function Bi({children:e,alignment:t="l",className:n=""}){let o="evenly-sized-buttons";t==="l"&&(o+=" is-left"),t==="c"?o+=" is-centered":t==="r"&&(o+=" is-right"),n&&(o+=` ${n}`);let r=fe__default.default.Children.map(e,i=>i?.type===I?jsxRuntime.jsx(I,{...i.props,fullwidth:!0}):i?.type===I.Primary?jsxRuntime.jsx(I.Primary,{...i.props,fullwidth:!0}):i?.type===I.Info?jsxRuntime.jsx(I.Info,{...i.props,fullwidth:!0}):i?.type===I.Link?jsxRuntime.jsx(I.Link,{...i.props,fullwidth:!0}):i?.type===I.Success?jsxRuntime.jsx(I.Success,{...i.props,fullwidth:!0}):i?.type===I.Warning?jsxRuntime.jsx(I.Warning,{...i.props,fullwidth:!0}):i?.type===I.Danger?jsxRuntime.jsx(I.Danger,{...i.props,fullwidth:!0}):i?.type===I.Light?jsxRuntime.jsx(I.Light,{...i.props,fullwidth:!0}):i?.type===I.Dark?jsxRuntime.jsx(I.Dark,{...i.props,fullwidth:!0}):i?.type===Ft?jsxRuntime.jsx(Ft,{...i.props,fullwidth:!0}):i?.type==="button"?jsxRuntime.jsx("button",{...i.props,style:{...i.props.style,width:"100%"}}):null);return jsxRuntime.jsx("div",{className:o,children:jsxRuntime.jsx("div",{className:"evenly-sized-buttons-container",style:{display:"grid",direction:"ltr",gridTemplateColumns:`repeat(${fe__default.default.Children.count(e)}, 1fr) `,gap:"0.5rem",gridTemplateRows:"1fr",gridAutoFlow:"column"},children:r})})}var _e={transition:"background-color .2s ease-in-out, color .2s ease-in-out",fontSize:"0.7em",height:"1.5em",margin:"6px 3px",borderRadius:"5px",textAlign:"start",paddingLeft:"3px",paddingRight:"3px",overflow:"clip",textOverflow:"ellipsis"},ze={textAlign:"center",borderBottom:"1px solid #f1f1f1",fontWeight:"bold",color:"#888"},ut={display:"grid",gridTemplateRows:"30px repeat(6, minmax(170px, auto))",justifyItems:"stretch",alignItems:"stretch"},Ke={backgroundColor:"#f1f1f1",borderRight:"2px solid #f1f1f1",borderTop:"thin solid #f1f1f1",textAlign:"center",fontSize:"0.7em",color:"#888",paddingTop:"1em"},$t={borderRight:"thin solid #f1f1f1",borderBottom:"thin solid #f1f1f1",textAlign:"center",fontSize:"1.1em",color:"#888"},To={marginBottom:".5em",marginTop:".25em",verticalAlign:"middle",transition:"background-color .2s ease-in-out"},Wt={borderRadius:"15px",padding:".25em .65em",transition:"background-color .2s ease-in-out, color .2s ease-in-out"},bo={width:"0.9em",height:"0.9em",borderRadius:"3px",marginRight:".5em",display:"inline-block",transition:"background-color .2s ease-in-out"};function Et({event:e,options:t,onClick:n,desc:o}){let[r,i]=fe__default.default.useState(!1),a=fe__default.default.useCallback(Ae,[]),s=fe__default.default.useMemo(()=>{let c="p";e.evtColor?c=typeof e.evtColor=="function"?e.evtColor(r):e.evtColor:t?.evtColor&&(c=t.evtColor(e,r)),c==="p"?c="#0089b6":c==="i"?c="#3b59ec":c==="l"?c="2f47bc":c==="d"?c="#d91000":c==="s"?c="#519c43":c==="w"&&(c="#eea720"),c+=r?"aa":"ff";let m=a(c);return {..._e,paddingLeft:"1em",backgroundColor:c,color:m,cursor:n?"pointer":"default"}},[e,r]),l=fe__default.default.useRef(null);return jsxRuntime.jsx("div",{ref:l,onClick:c=>{c.preventDefault(),c.stopPropagation(),n&&n(e,c);},style:s,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:jsxRuntime.jsx("span",{children:o(e)})})}function rt({event:e,options:t,onClick:n,desc:o}){let[r,i]=fe__default.default.useState(!1),a=fe__default.default.useCallback(Ae,[]),s=fe__default.default.useMemo(()=>{let m=r?"#f1f1f1":"#ffffff00",u=a(m);return {..._e,backgroundColor:m,color:u,cursor:n?"pointer":"default"}},[r]),l=fe__default.default.useMemo(()=>{let m="p";return e.evtColor?m=typeof e.evtColor=="function"?e.evtColor(r):e.evtColor:t?.evtColor&&(m=t.evtColor(e,r)),m==="p"?m="#0089b6":m==="i"?m="#3b59ec":m==="l"?m="2f47bc":m==="d"?m="#d91000":m==="s"?m="#519c43":m==="w"&&(m="#eea720"),{...bo,backgroundColor:m}},[e,r]),c=fe__default.default.useRef(null);return jsxRuntime.jsxs("div",{ref:c,onClick:m=>{m.preventDefault(),m.stopPropagation(),n&&n(e,m);},style:s,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:[jsxRuntime.jsx("span",{style:l}),o(e)]})}function Po({events:e,onEventClick:t,options:n}){let[o,r]=fe__default.default.useState(()=>e.slice(4)),[i,a]=fe__default.default.useState(!1),[s,l]=fe__default.default.useState(!1);fe.useEffect(()=>{r(e.slice(4));},[e]);let c=fe__default.default.useMemo(()=>({..._e,backgroundColor:i?"#f4f4f4":"transparent",color:i?"#3b59ec":"#000000",height:"1.5em",fontSize:"0.6em"}),[i]),m=fe__default.default.useMemo(()=>({width:"0.9em",height:"0.9em",borderRadius:"3px",backgroundColor:"transparent",marginRight:".5em",display:"inline-block"}),[e]),u=()=>{l(!s),a(!1);};return jsxRuntime.jsxs(fe__default.default.Fragment,{children:[s&&o.map(p=>p.allDay?jsxRuntime.jsx(Et,{desc:d=>jsxRuntime.jsx("span",{children:typeof d.title=="string"?d.title:d.title()}),event:p,options:n?.allday,onClick:t},`${typeof p.id=="function"?p.id():p.id}`):jsxRuntime.jsx(rt,{desc:d=>jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx("strong",{children:d.startDateTime.timeHM}),jsxRuntime.jsx("span",{children:typeof d.title=="string"?d.title:d.title()})]}),event:p,options:n?.timed,onClick:t},`${typeof p.id=="function"?p.id():p.id}`)),jsxRuntime.jsxs("div",{onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),style:c,children:[!s&&jsxRuntime.jsxs("div",{onClick:u,children:[jsxRuntime.jsx("span",{style:m}),jsxRuntime.jsxs("span",{children:["Nog ",o.length," ..."]})]}),s&&jsxRuntime.jsxs("div",{onClick:u,children:[jsxRuntime.jsx("span",{style:m}),jsxRuntime.jsx("span",{children:"Toon minder"})]})]})]})}var Se=class extends fe__default.default.Component{static defaultProps={position:"bottom",color:"l",content:void 0,display:"inline"};state={active:!1};show=()=>this.setState({active:!0});hide=()=>this.setState({active:!1});render(){let{content:t,children:n,color:o,display:r}=this.props,{active:i}=this.state;if(t){let a="tooltip is-bottom",s="tooltip-arrow";return o==="p"?(a+=" is-primary",s+=" is-primary"):o==="i"?(a+=" is-info",s+=" is-info"):o==="l"?(a+=" is-link",s+=" is-link"):o==="d"?(a+=" is-danger",s+=" is-danger"):o==="s"?(a+=" is-success",s+=" is-success"):o==="w"?(a+=" is-warning",s+=" is-warning"):(a+=` ${o}`,s+=` ${o}`),jsxRuntime.jsxs("div",{className:r==="block"?"tooltip-wrapper-block":"tooltip-wrapper-inline",onMouseEnter:this.show,onMouseLeave:this.hide,children:[n,i&&jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx("div",{className:a,children:t}),jsxRuntime.jsx("div",{className:s})]})]})}else return jsxRuntime.jsx(fe__default.default.Fragment,{children:n})}};function Vt({options:e,date:t,onDayClick:n,onEventClick:o,events:r,tooltipColor:i="is-light",isCurrentMonth:a=!0}){let[s,l]=fe__default.default.useState(!1),c=fe__default.default.useCallback(Ae,[]),m=fe__default.default.useMemo(()=>({...$t,backgroundColor:a?"transparent":"#f8f8f8",color:a?"#888888":"#bbbbbb"}),[t,r]),u=fe__default.default.useMemo(()=>{if(e?.today?.doNotMarkToday)return {};let f="p";e?.today?.bgColor&&(f=e.today.bgColor(s,t)),f==="p"?f="#0089b6":f==="i"?f="#3b59ec":f==="l"?f="2f47bc":f==="d"?f="#d91000":f==="s"?f="#519c43":f==="w"&&(f="#eea720");let g=c(f);return {...Wt,backgroundColor:f,color:g}},[t,s]),p=(f,g)=>{o&&o(f,g);},d=(f,g)=>{n&&n(f,g);};return jsxRuntime.jsxs("div",{style:m,onClick:f=>d(t,f),children:[jsxRuntime.jsxs("div",{onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),style:{...To,cursor:n?"pointer":"default",backgroundColor:s?"#f4f4f4":"transparent",color:a?"#555555":"#bbbbbb"},children:[jsxRuntime.jsx("span",{style:t.isToday?u:void 0,children:t.day}),jsxRuntime.jsxs("span",{style:{color:a?"#777777":"#bbbbbb",fontSize:"0.66em"},children:[" ",t.monthLong]})]}),jsxRuntime.jsx("div",{children:r.map((f,g)=>{let y=`${typeof f.id=="function"?f.id():f.id}`??g;return f.allDay&&g<4?jsxRuntime.jsx(Se,{display:"block",color:i,content:typeof f.description=="function"?f.description():f.description,children:jsxRuntime.jsx(Et,{desc:T=>jsxRuntime.jsx("span",{children:typeof T.title=="string"?T.title:T.title()}),event:f,options:e?.event?.allday,onClick:p})},y):!f.allDay&&g<4?jsxRuntime.jsx(Se,{display:"block",color:i,content:typeof f.description=="function"?f.description():f.description,children:jsxRuntime.jsx(rt,{desc:T=>jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx("strong",{children:T.startDateTime.timeHM}),jsxRuntime.jsx("span",{style:{marginLeft:"3px"},children:typeof T.title=="string"?T.title:T.title()})]}),event:f,options:e?.event?.timed,onClick:p})},y):g===4&&r.length>5?jsxRuntime.jsx(Po,{events:r,onEventClick:p,options:e?.event},t.dateShort+"-more"):g===4&&f.allDay?jsxRuntime.jsx(Se,{display:"block",color:i,content:typeof f.description=="function"?f.description():f.description,children:jsxRuntime.jsx(Et,{desc:T=>jsxRuntime.jsx("span",{children:typeof T.title=="string"?T.title:T.title()}),event:f,options:e?.event?.allday,onClick:p})},y):g===4&&!f.allDay?jsxRuntime.jsx(Se,{display:"block",color:i,content:typeof f.description=="function"?f.description():f.description,children:jsxRuntime.jsx(rt,{desc:T=>jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx("strong",{children:T.startDateTime.timeHM}),jsxRuntime.jsx("span",{style:{marginLeft:"3px"},children:typeof T.title=="string"?T.title:T.title()})]}),event:f,options:e?.event?.timed,onClick:p})},y):null})})]})}function Io({viewDate:e,options:t,onEventClick:n,onDayClick:o,events:r}){let i=t?.visibleDays&&t?.visibleDays?.size!==0?t?.visibleDays:new Set([1,2,3,4,5,6,7]),[a,s]=fe__default.default.useState(e instanceof Date?L.fromDate(e,t?.locale):e.clone()),l=fe__default.default.useCallback((p,d)=>{let f=Math.ceil(p.weekNr/52*13),g=p.clone();for(;Math.ceil(g.weekNr/52*13)===f;)g=g.plus({days:-1});let y=p.clone();for(;Math.ceil(y.weekNr/52*13)===f;)y=y.plus({days:1});g=g.plus({days:1}),y=y.plus({days:-1});let T=(d??r??[]).map(v=>(v.allDay=v.allDay||!v.endDateTime,v.startDateTime instanceof Date&&(v.startDateTime=L.fromDate(v.startDateTime,t?.locale)),v.endDateTime&&v.endDateTime instanceof Date&&(v.endDateTime=L.fromDate(v.endDateTime,t?.locale)),v)).filter(v=>v.startDateTime.isBetween([g,y])),S=g.clone(),P=[];for(;S<=y;){if(i.has(S.weekDay)){let v=S.startOf("day"),R=S.endOf("day"),b=T.filter(C=>C.startDateTime.isBetween([v,R])).sort((C,E)=>C.allDay&&!E.allDay?-1:!C.allDay&&E.allDay?1:C.startDateTime.valueOf()-E.startDateTime.valueOf());P.push([S,b]);}S=S.plus({days:1});}return P},[]),[c,m]=fe__default.default.useState(l(a));fe__default.default.useEffect(()=>{let p=e instanceof Date?L.fromDate(e,t?.locale):e.clone();s(p),m(l(p,r));},[e,r,t?.locale]);let u=fe__default.default.useMemo(()=>({...ut,gridTemplateColumns:`30px repeat(${i.size}, 1fr)`}),[t?.visibleDays]);return jsxRuntime.jsx(fe__default.default.Fragment,{children:jsxRuntime.jsxs("div",{className:"lbr-grid-container",style:u,children:[jsxRuntime.jsx(Ji,{visibleDays:i,viewDate:a}),jsxRuntime.jsx(Hi,{visibleDays:i,viewDate:a,datesWithEvents:c,options:t,onDayClick:o,onEventClick:n})]})})}function Ji({visibleDays:e,viewDate:t}){let n=[],o=t.startOf("week"),r=t.endOf("week"),i=Array.from(e).sort(),a=0;for(;o<=r&&a<7;)i.includes(o.weekDay)&&n.push(o.dayLong),o=o.plus({days:1}),a++;let s=fe__default.default.useMemo(()=>({...ze}),[]),l=fe__default.default.useMemo(()=>({...ze}),[]);return jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx("div",{style:s}),n.map(c=>jsxRuntime.jsx("div",{style:l,children:c},c))]})}function Hi({visibleDays:e,onDayClick:t,onEventClick:n,options:o,datesWithEvents:r}){let i=e.size,a=0;return jsxRuntime.jsx(fe__default.default.Fragment,{children:r.map(([s,l])=>(a==i&&(a=0),jsxRuntime.jsxs(fe__default.default.Fragment,{children:[a++===0&&jsxRuntime.jsx(Fi,{weekNr:s.weekNr}),jsxRuntime.jsx(Vt,{date:s,events:l,tooltipColor:o?.tooltipColor??"is-light",onEventClick:n,onDayClick:t,options:o},s.ISO)]},s.ISO)))})}function Fi({weekNr:e}){let t=fe__default.default.useMemo(()=>({...Ke}),[]);return jsxRuntime.jsx("div",{style:{...t,borderTopWidth:"0"},children:e})}function Co({viewDate:e,options:t,onEventClick:n,onDayClick:o,events:r}){let i=t?.visibleDays&&t?.visibleDays?.size!==0?t?.visibleDays:new Set([1,2,3,4,5,6,7]),[a,s]=fe__default.default.useState(e instanceof Date?L.fromDate(e,t?.locale):e.clone()),l=fe__default.default.useCallback((p,d)=>{let f=p.startOf("month").startOf("week").startOf("day"),g=p.endOf("month").endOf("week").plus({days:1}).startOf("day"),y=(d??r??[]).map(P=>(P.allDay=P.allDay||!P.endDateTime,P.startDateTime instanceof Date&&(P.startDateTime=L.fromDate(P.startDateTime,t?.locale)),P.endDateTime&&P.endDateTime instanceof Date&&(P.endDateTime=L.fromDate(P.endDateTime,t?.locale)),P)).filter(P=>P.startDateTime.isBetween([f,g])),T=f.clone(),S=[];for(;T<g;){if(i.has(T.weekDay)){let P=T.startOf("day"),v=T.endOf("day"),R=y.filter(b=>b.startDateTime.isBetween([P,v])).sort((b,C)=>b.allDay&&!C.allDay?-1:!b.allDay&&C.allDay?1:b.startDateTime.valueOf()-C.startDateTime.valueOf());S.push([T,R]);}T=T.plus({days:1});}return S},[]),[c,m]=fe__default.default.useState(l(a,r));fe__default.default.useEffect(()=>{let p=e instanceof Date?L.fromDate(e,t?.locale):e.clone();s(p),m(l(p,r));},[e,r,t?.locale]);let u=fe__default.default.useMemo(()=>({...ut,gridTemplateColumns:`30px repeat(${i.size}, 1fr)`}),[t?.visibleDays]);return jsxRuntime.jsx(fe__default.default.Fragment,{children:jsxRuntime.jsxs("div",{className:"lbr-grid-container",style:u,children:[jsxRuntime.jsx($i,{visibleDays:i,viewDate:a}),jsxRuntime.jsx(Wi,{visibleDays:i,viewDate:a,datesWithEvents:c,options:t,onDayClick:o,onEventClick:n})]})})}function $i({visibleDays:e,viewDate:t}){let n=[],o=t.startOf("week"),r=t.endOf("week"),i=Array.from(e).sort(),a=0;for(;o<=r&&a<7;)i.includes(o.weekDay)&&n.push(o.dayLong),o=o.plus({days:1}),a++;let s=fe__default.default.useMemo(()=>({...ze}),[]),l=fe__default.default.useMemo(()=>({...ze}),[]);return jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx("div",{style:s}),n.map(c=>jsxRuntime.jsx("div",{style:l,children:c},c))]})}function Wi({visibleDays:e,onDayClick:t,onEventClick:n,options:o,datesWithEvents:r,viewDate:i}){let a=e.size,s=0;return jsxRuntime.jsx(fe__default.default.Fragment,{children:r.map(([l,c])=>(s===a&&(s=0),jsxRuntime.jsxs(fe__default.default.Fragment,{children:[s++===0&&jsxRuntime.jsx(Xi,{weekNr:l.weekNr}),jsxRuntime.jsx(Vt,{date:l,events:c,tooltipColor:o?.tooltipColor??"is-light",onEventClick:n,onDayClick:t,options:o,isCurrentMonth:l.hasSame(i,"month")},l.ISO)]},l.ISO)))})}function Xi({weekNr:e}){let t=fe__default.default.useMemo(()=>({...Ke}),[]);return jsxRuntime.jsx("div",{style:{...t,borderTopWidth:"0"},children:e})}function xo({options:e,events:t,date:n,onEventClick:o,onDayClick:r,tooltipColor:i}){let a=fe__default.default.useMemo(()=>({...$t}),[]);return jsxRuntime.jsx("div",{style:a,onClick:s=>r&&r(n.startOf("day"),s),children:t.map(s=>jsxRuntime.jsx(Se,{display:"block",color:i,content:typeof s.description=="function"?s.description():s.description,children:jsxRuntime.jsx(rt,{desc:l=>jsxRuntime.jsx("span",{children:typeof l.title=="function"?l.title():l.title}),event:s,options:e?.event?.allday,onClick:o})},`${typeof s.id=="function"?s.id():s.id}`))})}function Eo({hour:e}){let t=fe__default.default.useMemo(()=>({...Ke,paddingTop:"0",height:"60px",borderBottom:"thin solid #e1e1e1"}),[]);return jsxRuntime.jsxs("div",{style:t,children:[e.toString().padStart(2,"0"),":00"]})}function No({events:e,hour:t,date:n,onEventClick:o,onCellClick:r,options:i,tooltipColor:a}){let s=fe__default.default.useMemo(()=>({maxHeight:"60px",overflow:"clip",borderBottom:"thin solid #f1f1f1",borderRight:"thin solid #f1f1f1",display:"flex",flexDirection:"row",flexWrap:"nowrap"}),[]),l=fe__default.default.useRef(null),c=e.length!==0&&l.current?.offsetWidth?l.current.offsetWidth/e.length:0;return jsxRuntime.jsx("div",{style:s,ref:l,onClick:m=>{let u=n.clone().set({hour:t,minute:0,second:0,millisecond:0});r&&r(u,m);},children:e.map((m,u)=>jsxRuntime.jsx(_i,{tooltipColor:a,options:i?.event?.timed,event:m,eventIndex:u,desc:p=>{let d=typeof p.title=="function"?p.title():p.title;return d.length>80&&(d=d.substring(0,80)+"..."),jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx("div",{children:jsxRuntime.jsx("b",{children:p.startDateTime.timeHM})}),jsxRuntime.jsx("div",{children:d})]})},onClick:o,eventWidth:c},`${typeof m.id=="function"?m.id():m.id}`))})}function _i({event:e,options:t,eventWidth:n,eventIndex:o,tooltipColor:r,onClick:i,desc:a}){let[s,l]=fe__default.default.useState(!1),c=fe__default.default.useCallback(Ae,[]),m=fe__default.default.useRef(null),u=fe__default.default.useMemo(()=>{let p="p";e.evtColor?p=typeof e.evtColor=="function"?e.evtColor(s):e.evtColor:t?.evtColor&&(p=t.evtColor(e,s)),p==="p"?p="#0089b6":p==="i"?p="#3b59ec":p==="l"?p="2f47bc":p==="d"?p="#d91000":p==="s"?p="#519c43":p==="w"&&(p="#eea720"),p+=s?"aa":"ff";let d=c(p),f=e.startDateTime,g=e.endDateTime;g.hasSame(f,"day")||(g=f.endOf("day"));let T=(g.valueOf()-f.valueOf())/1e3/60;return {..._e,position:"absolute",backgroundColor:p,color:d,margin:"0",marginX:"2px",paddingLeft:"3px",paddingTop:"3px",marginTop:`${f.minute}px`,height:`${T<30?30:T}px`,width:n,lineHeight:"1.05em",overflow:"visible",marginLeft:`${o*n}px`,cursor:i?"pointer":"default"}},[e,s,n,o]);return jsxRuntime.jsx("div",{ref:m,onClick:p=>{p.preventDefault(),p.stopPropagation(),i&&i(e,p);},style:u,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:jsxRuntime.jsx(Se,{display:"block",color:r,content:typeof e.description=="function"?e.description():e.description,children:jsxRuntime.jsx("span",{style:{overflow:"clip",textOverflow:"ellipsis",position:"absolute",left:"3px",right:"3px",top:"3px"},children:a(e)})},`${typeof e.id=="function"?e.id():e.id}`)},`${typeof e.id=="function"?e.id():e.id}`)}function Ao({viewDate:e,options:t,onEventClick:n,events:o,onDayClick:r}){let[i]=fe__default.default.useState(t?.visibleDays??new Set([1,2,3,4,5,6,7])),[a,s]=fe__default.default.useState(e instanceof Date?L.fromDate(e,t?.locale):e.clone()),l=fe__default.default.useCallback((d,f)=>{let g=d.startOf("week").startOf("day"),y=d.endOf("week").plus({days:1}).startOf("day"),T=(f??o??[]).map(b=>(b.allDay=b.allDay||!b.endDateTime,b.startDateTime instanceof Date&&(b.startDateTime=L.fromDate(b.startDateTime,t?.locale)),b.endDateTime&&b.endDateTime instanceof Date&&(b.endDateTime=L.fromDate(b.endDateTime,t?.locale)),b)).filter(b=>b.startDateTime.isBetween([g,y])),S=g.clone(),P=[];for(;S<y;){if(i.has(S.weekDay)){let b=S.startOf("day"),C=S.endOf("day"),E=T.filter(B=>B.startDateTime.isBetween([b,C])).sort((B,J)=>B.allDay&&!J.allDay?-1:!B.allDay&&J.allDay?1:B.startDateTime.valueOf()-J.startDateTime.valueOf());P.push([S,E]);}S=S.plus({days:1});}let v=P.map(([b,C])=>[b,C.filter(E=>E.allDay)]),R=P.map(([b,C])=>[b,C.filter(E=>!E.allDay)]);return {allday:v,timed:R}},[]),[c,m]=fe__default.default.useState(l(a));fe__default.default.useEffect(()=>{let d=e instanceof Date?L.fromDate(e,t?.locale):e.clone();s(d),m(l(d,o));},[e,o,t?.visibleDays,t?.locale]);let u=fe__default.default.useMemo(()=>({...ut,gridTemplateRows:"60px repeat(6, auto)",gridTemplateColumns:`40px repeat(${i.size}, 1fr)`}),[t?.visibleDays]),p=fe__default.default.useMemo(()=>Array.from(Array(24).keys()),[]);return jsxRuntime.jsx(fe__default.default.Fragment,{children:jsxRuntime.jsxs("div",{className:"lbr-grid-container",style:u,children:[jsxRuntime.jsx("div",{}),jsxRuntime.jsx(zi,{onDayClick:r,daysWithEvents:c.allday,options:t}),jsxRuntime.jsx("div",{style:{...Ke,paddingTop:"0",height:"60px",borderBottom:"thin solid #e1e1e1"}}),c.allday.map(([d,f])=>jsxRuntime.jsx(xo,{date:d,events:f,onEventClick:n,onDayClick:r,options:t,tooltipColor:t?.tooltipColor??"is-light"},d.dayShort)),p.map(d=>jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx(Eo,{hour:d}),c.timed.map(([f,g])=>{let y=g.filter(T=>T.startDateTime.hour===d);return jsxRuntime.jsx(No,{tooltipColor:t?.tooltipColor??"is-light",events:y,hour:d,date:f,onCellClick:r,onEventClick:n,options:t},f.dayShort+"-"+d)})]},d))]})})}function zi({onDayClick:e,daysWithEvents:t,options:n={}}){let o=fe__default.default.useMemo(()=>({...ze,cursor:e?"pointer":void 0}),[e]),r=fe__default.default.useMemo(()=>({...o}),[]),i=fe__default.default.useCallback(Ae,[]),a=fe__default.default.useMemo(()=>{if(n?.today?.doNotMarkToday)return {};let s="p";n?.today?.bgColor&&(s=n.today.bgColor(!1)),s==="p"?s="#113670":s==="i"?s="#3b59ec":s==="l"?s="#2f47bc":s==="d"?s="#d91000":s==="s"?s="#519c43":s==="w"&&(s="#eea720");let l=i(s);return {...Wt,marginBottom:".5em",backgroundColor:s,color:l}},[]);return jsxRuntime.jsx(fe__default.default.Fragment,{children:t.map(([s])=>jsxRuntime.jsxs("div",{style:r,onClick:l=>e&&e(s,l),children:[jsxRuntime.jsx("div",{className:"help my-1 mx-0",style:{color:"#aaaaaa"},children:s.dayLong}),jsxRuntime.jsxs("span",{style:s.isToday?a:void 0,children:[s.day," ",s.monthLong]})]},s.ISO))})}var Ki={Month:Co,Week:Ao,Fourweeks:Io};function Cn({id:e,label:t,name:n,size:o="m",direction:r="v",required:i=!1,showRequiredOnLabel:a=!1,value:s=!1,errorMessage:l="",labelHidden:c=!1,onValueChanged:m,onBlur:u,...p}){return jsxRuntime.jsx(se,{label:t??n,size:o,labelHidden:c,direction:r,required:i,inputId:e??n,showRequiredOnLabel:a,children:jsxRuntime.jsx(ko,{id:e,name:n,label:t,value:s,required:i,size:o,errorMessage:l,onValueChanged:g=>{m&&m(g);},onBlur:g=>{u&&u(g);},...p})})}function ko({helpTag:e,errorMessage:t="",infoMessage:n="",label:o,disabled:r=!1,keyboardType:i="text",title:a,name:s,value:l=!1,required:c=!1,spellCheck:m=!1,id:u,autoComplete:p="off",readonly:d=!1,autofocus:f=!1,form:g=void 0,inputRef:y,onBlur:T,onChange:S,onFocus:P,onKeyDown:v,onKeyUp:R,onValueChanged:b,size:C="m",alignment:E="l",color:B="p",inverted:J=!1,rounded:x=!1}){let[N,O]=fe__default.default.useState(!1),H=w=>{N||O(!0),T&&T(w);},te=w=>{N||O(!0),b&&b(w.target.checked),S&&S(w);},A="is-checkradio";return C==="s"?A+=" is-small":C==="l"?A+=" is-medium":C==="xl"&&(A+=" is-large"),B==="w"?A+=" is-warning":B==="l"?A+=" is-link":B==="d"?A+=" is-danger":B==="i"?A+=" is-info":B==="s"?A+=" is-success":B==="p"?A+=" is-primary":A+=` ${B}`,E==="l"?A+=" has-text-left":E==="c"?A+=" has-text-centered":E==="r"&&(A+=" has-text-right"),d&&(A+=" is-static"),x&&(A+=" is-circle"),J&&(A+=" has-background-color"),jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx("input",{type:"checkbox",className:A,id:u??s,ref:y,name:s,checked:l,spellCheck:m,autoComplete:p,required:c,title:a,readOnly:d,autoFocus:f,form:g,inputMode:i,disabled:r,onKeyDown:v,onKeyUp:R,onBlur:H,onChange:te,onFocus:w=>P&&P(w,e)}),jsxRuntime.jsx("label",{htmlFor:u??s,children:o??s}),N&&t&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof t=="string"?t:t(l)}),!t&&n&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof n=="string"?n:n(l)})]})}function ke({value:e,id:t,name:n,label:o,grouped:r=!1,required:i=!1,showRequiredOnLabel:a=!1,errorMessage:s="",infoMessage:l=void 0,multiple:c=!1,alignment:m="l",size:u="m",direction:p="v",options:d=[],children:f=void 0,placeholder:g,helpTag:y,disabled:T=!1,keyboardType:S="text",title:P,spellCheck:v=!1,loading:R=!1,autoComplete:b="off",autofocus:C=!1,form:E=void 0,inputRef:B,labelHidden:J,icon:x=freeSolidSvgIcons.faCheckCircle,onBlur:N,onFocus:O,onChange:H,onKeyDown:te,onKeyUp:A,onValueChanged:w}){let[K,Ie]=fe__default.default.useState(!1),me=F=>{K||Ie(!0),N&&N(F);},ne=F=>{O&&O(F,y);},re=F=>{if(K||Ie(!0),H&&H(F),c){let D=F.target.selectedOptions,oe=[];for(let Z of D)oe.push(Z.value);w&&w(oe);}else typeof e=="number"&&w?w(+F.target.value):w&&w(F.target.value);},G=fe__default.default.useCallback(F=>{if(!F.some(D=>typeof D!="string"&&typeof D!="number"))return F.map(D=>jsxRuntime.jsx(ke.Option,{value:D,children:D},D));if(r){let D=[],oe=new Set;return F.forEach(Z=>oe.add(typeof Z=="string"||typeof Z=="number"?"":Z.group??"")),[...oe].sort().forEach(Z=>{let ae=[];F.forEach(be=>{typeof be=="string"||typeof be=="number"?Z===""&&ae.push(be):Z===be.group&&ae.push(be);}),D.push(jsxRuntime.jsx(ke.OptGroup,{label:Z,children:ae.map(be=>{if(typeof be=="string")return jsxRuntime.jsx(ke.Option,{value:be,children:be},be);{let{value:Zt,disabled:Uo,label:Jn}=be;return jsxRuntime.jsx(ke.Option,{value:Zt,disabled:Uo,children:Jn??Zt},Jn??Zt)}})},Z));}),D}else return F.map(D=>{if(typeof D=="string")return jsxRuntime.jsx(ke.Option,{value:D,children:D},D);if(typeof D=="number")return jsxRuntime.jsx(ke.Option,{value:D,children:D},D);{let{value:oe,disabled:Z,label:ae}=D;return jsxRuntime.jsx(ke.Option,{value:oe,disabled:Z,children:ae??oe},oe)}})},[]),X=s?"select is-danger is-fullwidth":"select is-fullwidth";u==="s"?X+=" is-small":u==="l"?X+=" is-medium":u==="xl"&&(X+=" is-large"),m==="c"?X+=" has-text-centered":m==="r"&&(X+=" has-text-right"),c!==!1&&(X+=" is-multiple"),R&&(X+=" is-loading");let Ne=x?"control has-icons-left":"control",ie;x&&(typeof x=="string"?ie=jsxRuntime.jsx("i",{className:x}):ie=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:x}));let ge=G(d);return jsxRuntime.jsxs(se,{inputId:t??n,label:o??n??t,direction:p,required:i,size:u,labelHidden:J,controlClassName:Ne,showRequiredOnLabel:a,children:[jsxRuntime.jsx("div",{className:X,children:jsxRuntime.jsxs("select",{multiple:c!==!1,size:c===!1?void 0:c,value:e,className:X,id:t??n??o,ref:B,name:n,spellCheck:v,autoComplete:b,required:i,title:P,autoFocus:C,form:E,inputMode:S,placeholder:g,disabled:T,onFocus:ne,onBlur:me,onKeyDown:te,onKeyUp:A,onChange:re,children:[f,ge]})}),ie&&jsxRuntime.jsx("span",{className:"icon is-left",children:ie}),K&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof s=="string"?s:s(e)}),l&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof l=="string"?l:l(e)})]})}ke.Option=({value:e="",disabled:t=!1,id:n="",children:o})=>jsxRuntime.jsx("option",{value:e,disabled:t,id:n,children:o});ke.OptGroup=({label:e,children:t,disabled:n})=>jsxRuntime.jsx("optgroup",{label:e,disabled:n,children:t});function Yi({hexValue:e=void 0,rgbValue:t=void 0,hslValue:n=void 0,icon:o=freeSolidSvgIcons.faPalette,onHexValueChanged:r,onRGBValueChanged:i,onHSLValueChanged:a,...s}){let l=m=>{r&&r(m),i&&i(to(m)),a&&a(oo(m));},c="#000000";if(e)e.substring(1).toUpperCase().split("").forEach(m=>{"0123456789ABCDEF".includes(m)||console.warn(`Ongeldig karakter "${m}" in hex-color '${e}'`);}),e.length===4?c=`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`:e.length===7?c=e:console.warn(`Ongeldige hex-color '${e}: Lengte moet 4 of 7 zijn'`);else if(t){let[m,u,p]=t;m<0||m>255?console.warn(`Ongeldige RGB-waarde, r = '${m}', moet tussen 0 en 255 ([${t}])`):u<0||u>255?console.warn(`Ongeldige RGB-waarde, g = '${u}', moet tussen 0 en 255 ([${t}])`):(p<0||p>255)&&console.warn(`Ongeldige RGB-waarde, b = '${p}', moet tussen 0 en 255 ([${t}])`),c=eo([m,u,p]);}else if(n){let[m,u,p]=n;m<0||m>360?console.warn(`Ongeldige HSL-waarde, h = '${m}', moet tussen 0 en 360 ([${n}])`):u<0||u>100?console.warn(`Ongeldige HSL-waarde, s = '${u}', moet tussen 0 en 100 ([${n}])`):(p<0||p>100)&&console.warn(`Ongeldige HSL-waarde, l = '${p}', moet tussen 0 en 100 ([${n}])`),c=no([m,u,p]);}return jsxRuntime.jsx("div",{children:jsxRuntime.jsx(W,{icon:o,type:"color",value:c,onValueChanged:l,...s})})}function Qi({value:e,name:t,id:n,required:o,title:r,tooltip:i}){return jsxRuntime.jsx("input",{"data-testid":"hidden-input",id:n??t,name:t,value:e,title:r??i,required:o,type:"hidden",disabled:!0})}function En({helpTag:e,disabled:t=!1,keyboardType:n="text",title:o,name:r,value:i,checked:a=!1,required:s=!1,spellCheck:l=!1,id:c,autoComplete:m="off",readonly:u=!1,autofocus:p=!1,form:d=void 0,inputRef:f,onBlur:g,onChange:y,onFocus:T,onKeyDown:S,onKeyUp:P,onValueChanged:v,size:R="m",alignment:b="l",itemsDirection:C="v",color:E="p",children:B=void 0}){let J=N=>{v&&v(i),y&&y(N);},x="is-checkradio";return R==="s"?x+=" is-small":R==="l"?x+=" is-medium":R==="xl"&&(x+=" is-large"),E==="w"?x+=" is-warning":E==="l"?x+=" is-link":E==="d"?x+=" is-danger":E==="i"?x+=" is-info":E==="s"?x+=" is-success":E==="p"?x+=" is-primary":x+=` ${E}`,b==="c"?x+=" has-text-centered":b==="r"&&(x+=" has-text-right"),u&&(x+=" is-static"),c||(c=r+"-"+i),jsxRuntime.jsxs("div",{style:{display:C==="v"?"block":"inline"},children:[jsxRuntime.jsx("input",{type:"radio",className:x,id:c,ref:f,name:r,checked:a,spellCheck:l,autoComplete:m,required:s,title:o,readOnly:u,autoFocus:p,form:d,inputMode:n,disabled:t,onKeyDown:S,onKeyUp:P,onBlur:g,onChange:J,onFocus:N=>T&&T(N,e)}),jsxRuntime.jsx("label",{htmlFor:c??r,children:B??r})]})}function Oo({children:e=void 0,id:t,label:n,disabled:o=!1,labelHidden:r=!1,name:i,value:a,required:s=!1,showRequiredOnLabel:l=!1,size:c="m",direction:m="h",itemsDirection:u="h",alignment:p="l",errorMessage:d="",infoMessage:f=void 0,onValueChanged:g,onBlur:y,onChange:T,onFocus:S,onKeyDown:P,onKeyUp:v}){let[R,b]=fe__default.default.useState(!1),C=x=>{R||b(!0),y&&y(x);},E=x=>{R||b(!0),g&&g(x);},J=(x=>fe__default.default.Children.map(x,(N,O)=>{if(fe__default.default.isValidElement(N)&&N.type===Lo){let H=!1;return typeof a=="string"||typeof a=="number"||typeof a=="boolean"?H=a===N.props.value:a&&(H=JSON.stringify(a)===JSON.stringify(N.props.value)),jsxRuntime.jsx(En,{...N.props,disabled:o?!0:N.props.disabled,size:c,itemsDirection:u,alignment:p,direction:m,id:N.props.id??`${i}-option-${O}`,value:N.props.value,checked:H,name:i,onValueChanged:E,onBlur:C,onKeyDown:P,onKeyUp:v,onChange:T,onFocus:S,children:N.props.children})}return N}))(e);return jsxRuntime.jsxs(se,{labelHidden:r,label:n??i,required:s,inputId:"",direction:m,size:c,controlClassName:"control",showRequiredOnLabel:l,children:[J,R&&d&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof d=="string"?d:d(a)}),f&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof f=="string"?f:f(a)})]})}function Lo({checked:e=!1,id:t,value:n,children:o,...r}){return jsxRuntime.jsx(En,{checked:e,name:"",...r,id:t,value:n,children:o})}Oo.Item=Lo;function ta({value:e,icon:t=freeSolidSvgIcons.faAt,pattern:n=`[^@ \r
|
|
66
|
+
var St=(l=>(l.Primary="#0089b6",l.Info="#3b59ec",l.Link="2f47bc",l.Success="#519c43",l.Danger="#d91000",l.Warning="#eea720",l.Light="#f5f5f5",l.Dark="#363636",l))(St||{});function Zo({ratio:e="1by1",children:t,caption:n,className:o=""}){let r=`image is-${e} ${o}`.trim();return jsxRuntime.jsxs("figure",{className:r,children:[n&&n.placement==="top"&&jsxRuntime.jsx("figcaption",{children:n.text}),t,n&&n.placement==="bottom"&&jsxRuntime.jsx("figcaption",{children:n.text})]})}function Qo({id:e,children:t,className:n="",styles:o}){let r=`block ${n}`.trim();return jsxRuntime.jsx("div",{className:r,style:o,id:e,children:t})}function Qt({id:e,children:t,className:n="",styles:o={},itemRef:r}){return jsxRuntime.jsx("div",{className:`bulma-box ${n}`.trim(),style:o,id:e,ref:r,children:t})}function tr({children:e,id:t,gap:n="3",multiline:o,centered:r,className:i,styles:a,itemRef:s}){let l="columns";return n==="s"?n="1":n==="m"?n="3":n==="l"?n="5":n==="xl"&&(n="7"),n!=="3"&&(l+=` is-${n} is-variable`),o&&(l+=" is-multiline"),r&&(l+=" is-centered"),i&&(l+=` ${i}`),jsxRuntime.jsx("div",{"data-testid":"columns",className:l,style:a,id:t,ref:s,children:e})}var _=({children:e,className:t,styles:n,id:o,itemRef:r})=>jsxRuntime.jsx("div",{className:t,id:o,ref:r,children:jsxRuntime.jsx("div",{style:n,children:e})}),$e=e=>{let t="column ";return typeof e.narrow=="boolean"?t+="is-narrow":e.narrow&&(t+=`is-narrow-${e.narrow}`),t=`${t} ${e.className??""}`.trim(),jsxRuntime.jsx(_,{...e,className:t})};$e.Full=e=>jsxRuntime.jsx(_,{...e,className:`column is-full ${e.className??""}`.trim()});$e.Half=e=>jsxRuntime.jsx(_,{...e,className:`column is-half ${e.className??""}`.trim()});$e.Thirds={One:e=>jsxRuntime.jsx(_,{...e,className:`column is-one-third ${e.className??""}`.trim()}),Two:e=>jsxRuntime.jsx(_,{...e,className:`column is-two-thirds ${e.className??""}`.trim()})};$e.Quarters={One:e=>jsxRuntime.jsx(_,{...e,className:`column is-one-quarter ${e.className??""}`.trim()}),Two:e=>jsxRuntime.jsx(_,{...e,className:`column is-two-quarters ${e.className??""}`.trim()}),Three:e=>jsxRuntime.jsx(_,{...e,className:`column is-three-quarters ${e.className??""}`.trim()})};$e.Fifths={One:e=>jsxRuntime.jsx(_,{...e,className:`column is-one-fifth ${e.className??""}`.trim()}),Two:e=>jsxRuntime.jsx(_,{...e,className:`column is-two-fifths ${e.className??""}`.trim()}),Three:e=>jsxRuntime.jsx(_,{...e,className:`column is-three-fifths ${e.className??""}`.trim()}),Four:e=>jsxRuntime.jsx(_,{...e,className:`column is-four-fifths ${e.className??""}`.trim()})};$e.Twelves={One:e=>jsxRuntime.jsx(_,{...e,className:`column is-1 ${e.className??""}`.trim()}),Two:e=>jsxRuntime.jsx(_,{...e,className:`column is-2 ${e.className??""}`.trim()}),Three:e=>jsxRuntime.jsx(_,{...e,className:`column is-3 ${e.className??""}`.trim()}),Four:e=>jsxRuntime.jsx(_,{...e,className:`column is-4 ${e.className??""}`.trim()}),Five:e=>jsxRuntime.jsx(_,{...e,className:`column is-5 ${e.className??""}`.trim()}),Six:e=>jsxRuntime.jsx(_,{...e,className:`column is-6 ${e.className??""}`.trim()}),Seven:e=>jsxRuntime.jsx(_,{...e,className:`column is-7 ${e.className??""}`.trim()}),Eight:e=>jsxRuntime.jsx(_,{...e,className:`column is-8 ${e.className??""}`.trim()}),Nine:e=>jsxRuntime.jsx(_,{...e,className:`column is-9 ${e.className??""}`.trim()}),Ten:e=>jsxRuntime.jsx(_,{...e,className:`column is-10 ${e.className??""}`.trim()}),Eleven:e=>jsxRuntime.jsx(_,{...e,className:`column is-11 ${e.className??""}`.trim()}),Twelve:e=>jsxRuntime.jsx(_,{...e,className:`column is-12 ${e.className??""}`.trim()})};$e.displayName="Column";var we=({className:e,children:t,styles:n,size:o="s",id:r,itemRef:i})=>{let a="container";return o==="m"?a+=" is-widescreen":o==="l"?a+=" is-fullhd":(o==="xl"||o==="fluid")&&(a+=" is-fluid"),e&&(a+=" "+e),jsxRuntime.jsx("div",{className:a,style:n,id:r,ref:i,children:t})};we.Default=({className:e,children:t,styles:n})=>jsxRuntime.jsx(we,{className:e,styles:n,size:"s",children:t});we.Wide=({className:e,children:t,styles:n})=>jsxRuntime.jsx(we,{className:e,styles:n,size:"m",children:t});we.Widest=({className:e,children:t,styles:n})=>jsxRuntime.jsx(we,{className:e,styles:n,size:"l",children:t});we.Max=({className:e,children:t,styles:n})=>jsxRuntime.jsx(we,{className:e,styles:n,size:"xl",children:t});function or({size:e="m",className:t,styles:n,id:o,children:r,itemRef:i}){let a="content ";return e==="s"?a+="is-small":e==="m"?a+="is-normal":e==="l"?a+="is-medium":e==="xl"&&(a+="is-large"),t&&(a+=" "+t),jsxRuntime.jsx("div",{className:a,style:n,id:o,ref:i,children:r})}function ir({children:e,alignment:t="l",className:n,styles:o,id:r,itemRef:i}){let a="container",s="footer mt-6";return t==="l"?a+=" has-text-left":t==="r"?a+=" has-text-right":a+=" has-text-centered",n&&(s+=` ${n}`),s=s.trim(),jsxRuntime.jsx("footer",{className:s,style:o,id:r,ref:i,children:jsxRuntime.jsx("div",{className:a,children:e})})}var kt=({children:e,heroColorFor:t,size:n,itemRef:o,id:r})=>{let i="hero is-bold";i+=t?` is-${t}`:" is-primary",n==="s"?i+=" is-small":n==="l"?i+=" is-medium":n==="xl"&&(i+=" is-large");let a=Ee__default.default.Children.map(e??[jsxRuntime.jsx("div",{className:"hero-body",children:" "})],s=>s);return jsxRuntime.jsx("header",{className:i,id:r,ref:o,children:a})},jt=({children:e})=>{let[t,n]=Ee__default.default.useState(!1);return jsxRuntime.jsx("div",{className:"hero-head",children:jsxRuntime.jsxs("nav",{className:"navbar container",children:[jsxRuntime.jsx("div",{className:"navbar-brand",children:jsxRuntime.jsxs("span",{className:t?"navbar-burger is-active":"navbar-burger",role:"menu-toggle-mobile","data-target":"hero-header-menu",onClick:()=>n(!t),children:[jsxRuntime.jsx("span",{}),jsxRuntime.jsx("span",{}),jsxRuntime.jsx("span",{})]})}),jsxRuntime.jsx("div",{id:"hero-header-menu",className:t?"navbar-menu is-active":"navbar-menu",children:jsxRuntime.jsx("div",{className:"navbar-end",children:e})})]})})};jt.Button=({children:e,title:t,onClick:n})=>jsxRuntime.jsx("a",{className:"navbar-item",title:t,onClick:n,children:e});jt.Link=({children:e,title:t,to:n,target:o="_blank",rel:r="noopener"})=>jsxRuntime.jsx("a",{className:"navbar-item",title:t,href:n,target:o,rel:r,children:e});kt.Head=jt;kt.Body=({children:e})=>jsxRuntime.jsx("div",{className:"hero-body",children:jsxRuntime.jsx("div",{className:"container",children:e})});var en=({children:e,narrow:t=!1})=>jsxRuntime.jsx("div",{className:"hero-foot",children:jsxRuntime.jsx("nav",{className:`tabs is-boxed ${t?"is-narrow":"is-fullwidth"} container`,children:e})});en.NavList=({children:e})=>jsxRuntime.jsx("ul",{children:e});en.NavItem=({children:e,to:t,active:n=void 0,target:o="_blank",title:r,rel:i="noopener"})=>jsxRuntime.jsx("li",{className:n?"is-active":void 0,title:r,children:jsxRuntime.jsx("a",{href:t,target:o,rel:i,className:"tab",children:e})});kt.Foot=en;function ar({ratio:e,imgWidth:t="128",alt:n,figCaption:o,className:r,isRounded:i,src:a}){let s=`image is-${e}`;return e==="square"&&(s=`image is-${t}x${t}`),jsxRuntime.jsx("div",{className:r,style:e==="square"?void 0:{width:t},children:jsxRuntime.jsxs("figure",{className:s,children:[jsxRuntime.jsx("img",{className:i&&e==="square"?"is-rounded":void 0,src:a,alt:n}),o&&jsxRuntime.jsx("figcaption",{className:"help is-info",children:o})]})})}function lr({children:e,className:t,styles:n,id:o,itemRef:r}){let i="section";return t&&(i+=` ${t}`),jsxRuntime.jsx("section",{className:i,style:n,id:o,ref:r,children:e})}var pr=e=>{let t="0px";if(typeof e.gap=="number")t=e.gap+"px";else if(typeof e.gap=="string"&&!isNaN(+e.gap))t=e.gap+"px";else if(typeof e.gap=="string")t=e.gap;else if(e.gap){let i=typeof e.gap.row=="number"?e.gap.row+"px":e.gap.row,a=typeof e.gap.col=="number"?e.gap.col+"px":e.gap.col;t=`${i} ${a}`;}let n="flex-start";e.alignment==="c"?n="center":e.alignment==="r"&&(n="flex-end");let o=Ee__default.default.useMemo(()=>({maxWidth:typeof e.maxItemWidth=="number"?`${e.maxItemWidth}px`:e.maxItemWidth||null,minWidth:typeof e.minItemWidth=="number"?`${e.minItemWidth}px`:e.minItemWidth||null}),[e.maxItemWidth,e.minItemWidth]),r=Ee__default.default.useMemo(()=>({display:"flex",flexDirection:e.reverse?"row-reverse":"row",flexWrap:e.wrap?"wrap":"nowrap",justifyContent:n,alignItems:"center",alignContent:"center",gap:t,overflowX:e.wrap?"hidden":"auto",paddingBottom:"22px"}),[e.reverse,e.alignment,e.wrap]);return jsxRuntime.jsx("div",{className:"lbr-flex-horizontal",style:r,id:e.id,ref:e.itemRef,children:Ee__default.default.Children.toArray(e.children).map((i,a)=>jsxRuntime.jsx("div",{className:"lbr-flex-item",style:o,children:i},a))})},mr=e=>{let t="0px";if(typeof e.gap=="number")t=e.gap+"px";else if(typeof e.gap=="string"&&!isNaN(+e.gap))t=e.gap+"px";else if(typeof e.gap=="string")t=e.gap;else if(e.gap){let r=typeof e.gap.row=="number"?e.gap.row+"px":e.gap.row,i=typeof e.gap.col=="number"?e.gap.col+"px":e.gap.col;t=`${r} ${i}`;}let n="flex-start";e.alignment==="c"&&(n="center"),e.alignment==="r"&&(n="flex-end");let o=Ee__default.default.useMemo(()=>({display:"flex",flexDirection:e.reverse?"column-reverse":"column",flexWrap:e.wrap?"wrap":"nowrap",justifyContent:n,alignItems:"stretch",alignContent:"stretch",gap:t,overflowY:e.wrap?"hidden":"auto",maxHeight:typeof e.maxHeight=="number"||!isNaN(+(e.maxHeight||NaN))?`${e.maxHeight}px`:e.maxHeight}),[e.reverse,e.wrap,e.alignment,e.gap,e.maxHeight]);return jsxRuntime.jsx("div",{className:"lbr-flex-vertical",style:o,id:e.id,ref:e.itemRef,children:Ee__default.default.Children.toArray(e.children).map((r,i)=>jsxRuntime.jsx("div",{className:"lbr-flex-item",children:r},i))})},ur={Horizontal:pr,Vertical:mr};function on({alignment:e="l",autoComplete:t="off",optionListId:n=void 0,autofocus:o=!1,disabled:r=!1,errorMessage:i="",infoMessage:a=void 0,form:s=void 0,helpTag:l,id:c,inputRef:m,keyboardType:u="text",max:p,min:d,name:f,pattern:y=void 0,placeholder:g,readonly:T=!1,required:v=!1,size:S="m",spellCheck:b=!1,step:P=1,title:C,type:A="text",value:N,className:J="",styles:z={},onBlur:x,onChange:E,onFocus:O,onKeyDown:L,onKeyUp:ae,onValueChanged:R}){let D=oe=>{r||(R&&R(oe.target.value),E&&E(oe));},X=i?"input is-danger":"input";return S==="s"?X+=" is-small":S==="l"?X+=" is-medium":S==="xl"&&(X+=" is-large"),e==="l"?X+=" has-text-left":e==="c"?X+=" has-text-centered":e==="r"&&(X+=" has-text-right"),T&&(X+=" is-static"),J&&(X+=` ${J}`),jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx("input",{className:X,pattern:y,id:c??f,ref:m,name:f,value:N,spellCheck:b,autoComplete:t,required:v,type:A,title:C,max:p,maxLength:typeof p=="number"?p:void 0,minLength:typeof d=="number"?d:void 0,min:d,step:P,readOnly:T,autoFocus:o,form:s,inputMode:u,placeholder:g,disabled:r,style:z,list:n,onKeyDown:L,onKeyUp:ae,onBlur:x,onChange:D,onFocus:oe=>O&&O(oe,l)}),jsxRuntime.jsx("p",{className:"help is-danger",children:typeof i=="string"?i:i(N)}),a&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof a=="string"?a:a(N)})]})}function $({direction:e="v",errorMessage:t="",showRequiredOnLabel:n=!1,icon:o=freeSolidSvgIcons.faKeyboard,id:r,label:i,labelHidden:a=!1,name:s,required:l=!1,loading:c=!1,size:m="m",value:u,optionList:p=[],onBlur:d,...f}){let y=P=>{T(!0),d&&d(P);},[g,T]=Ee__default.default.useState(!1),v;o&&(typeof o=="string"?v=jsxRuntime.jsx("i",{className:o}):v=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:o}));let S;return t&&(typeof t=="string"?S=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:t===""?freeSolidSvgIcons.faCheck:freeSolidSvgIcons.faTimes}):S=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:t(u)===""?freeSolidSvgIcons.faCheck:freeSolidSvgIcons.faTimes})),jsxRuntime.jsxs(pe,{size:m,inputId:r??s,label:i??s,direction:e,required:l,showRequiredOnLabel:n,controlClassName:`control ${o?"has-icons-left":""} ${t!==void 0?"has-icons-right":""}`,loading:c,children:[jsxRuntime.jsx(on,{required:l,name:s,size:m,onBlur:y,id:r,value:u,optionListId:p&&p.length>0?`${r??s}-option-list-id`:void 0,...f,errorMessage:t}),p&&p.length>0&&jsxRuntime.jsx("datalist",{id:`${r??s}-option-list-id`,children:p.map(P=>typeof P=="string"?jsxRuntime.jsx("option",{value:P},P):jsxRuntime.jsx("option",{value:P.value,children:P.label},P.value))}),v&&jsxRuntime.jsx("span",{className:"icon is-left",children:v}),S&&jsxRuntime.jsx("span",{className:"icon is-right",children:S})]})}function pe({children:e,controlClassName:t="control",direction:n,showRequiredOnLabel:o=!1,inputId:r,label:i,labelHidden:a=!1,required:s,size:l,loading:c=!1}){let m="is-normal";l==="s"?m+=" is-small":l==="l"?m+=" is-medium":l==="xl"&&(m+=" is-large");let u=`label ${m} ${a?"is-sr-only":""}`;return t=c?`${t} is-loading `:t,l==="xl"?t=`${t} is-large`:l==="l"?t=`${t} is-medium`:l==="s"?t=`${t} is-small`:t=`${t} is-normal`,n==="horizontal"||n==="h"?jsxRuntime.jsxs("div",{className:"field is-horizontal","data-testid":"input-container",children:[jsxRuntime.jsx("div",{className:`field-label ${m}`,children:jsxRuntime.jsxs("label",{className:u,htmlFor:r,children:[i,o&&s&&jsxRuntime.jsx("span",{className:"has-text-danger",children:"*"})]})}),jsxRuntime.jsx("div",{className:"field-body",children:jsxRuntime.jsx("div",{className:"field",children:jsxRuntime.jsx("div",{className:t,children:e})})})]}):jsxRuntime.jsxs("div",{className:"field","data-testid":"input-container",children:[jsxRuntime.jsxs("label",{className:u,htmlFor:r,children:[i,o&&s&&jsxRuntime.jsx("span",{className:"has-text-danger ",children:"*"})]}),jsxRuntime.jsx("div",{className:t,children:e})]})}function Xl(e=2e3){let[t,n]=Ee__default.default.useState(null),[o,r]=Ee__default.default.useState(!1),[i,a]=Ee__default.default.useState(null),s=m=>{clearTimeout(i),a(setTimeout(()=>r(!1),e)),r(m);};return {copy:m=>{"clipboard"in navigator?navigator.clipboard.writeText(m).then(()=>s(!0)).catch(u=>n(u)):n(new Error("useClipboard: navigator.clipboard is not supported"));},reset:()=>{r(!1),n(null),clearTimeout(i);},error:t,copied:o}}function Kn(e,t={leading:!1,delay:500}){let[n,o]=Ee__default.default.useState(e),r=Ee__default.default.useRef(!1),i=Ee__default.default.useRef(void 0),a=Ee__default.default.useRef(!1),s=()=>window.clearTimeout(i.current);return Ee__default.default.useEffect(()=>{r.current&&(!a.current&&t.leading?(a.current=!0,o(e)):(s(),i.current=window.setTimeout(()=>{a.current=!1,o(e);},t.delay)));},[e,t.leading,t.delay]),Ee__default.default.useEffect(()=>(r.current=!0,s),[]),[n,s]}function zl(e,t={leading:!1,delay:500}){let[n,o]=Ee__default.default.useState(e),r=Ee__default.default.useRef(null),i=Ee__default.default.useRef(!0),a=()=>window.clearTimeout(r.current??void 0);return Ee__default.default.useEffect(()=>a,[]),[n,l=>{a(),i.current&&t.leading?o(l):r.current=window.setTimeout(()=>{i.current=!0,o(l);},t.delay),i.current=!1;}]}function gr(e){let t=e.toLowerCase().split("+").map(i=>i.trim()),n={alt:t.includes("alt"),ctrl:t.includes("ctrl"),meta:t.includes("meta"),mod:t.includes("mod"),shift:t.includes("shift")},o=["alt","ctrl","meta","shift","mod"],r=t.find(i=>!o.includes(i));return {...n,key:r}}function yr(e,t){let{alt:n,ctrl:o,meta:r,mod:i,shift:a,key:s}=e,{altKey:l,ctrlKey:c,metaKey:m,shiftKey:u,key:p}=t;if(n!==l)return !1;if(i){if(!c&&!m)return !1}else if(o!==c||r!==m)return !1;return a!==u?!1:!!(s&&(p.toLowerCase()===s.toLowerCase()||t.code.replace("Key","").toLowerCase()===s.toLowerCase()))}function Gn(e){return t=>yr(gr(e),t)}function Ul(e){return t=>{e.forEach(([n,o])=>{Gn(n)(t.nativeEvent)&&(t.preventDefault(),o(t));});}}function hr(e){return e.target instanceof HTMLElement?!["INPUT","TEXTAREA","SELECT"].includes(e.target.tagName):!0}function ql(e){Ee__default.default.useEffect(()=>{let t=n=>{e.forEach(([o,r])=>{Gn(o)(n)&&hr(n)&&(n.preventDefault(),r(n));});};return document.documentElement.addEventListener("keydown",t),()=>document.documentElement.removeEventListener("keydown",t)},[e]);}function Mt(e){try{return JSON.parse(e)}catch(t){let n=t;throw new Error(`'deserializeJSON()' failed to deserialize the value: ${n.message}`,{...n})}}function Bt(e){try{return JSON.stringify(e)}catch(t){let n=t;throw new Error(`serializeJSON() failed to serialize the value: ${n.message}`,{...n})}}function nc({key:e,initialValue:t,deserialize:n=Mt,serialize:o=Bt}){let[r,i]=Ee__default.default.useState(()=>{if(typeof window>"u")return t;try{let l=window.localStorage.getItem(e);return l?n(l):t}catch(l){return console.error(`useLocalStoredState failed to get the value: ${l.message}`),t}}),a=Ee__default.default.useCallback(l=>{try{let c=l instanceof Function?l(r):l;i(c),typeof window<"u"&&window.localStorage.setItem(e,o(c));}catch(c){console.error(`useLocalStoredState failed to store the value: ${c.message}`);}},[]),s=Ee__default.default.useCallback(()=>{typeof window<"u"&&window.localStorage.removeItem(e);},[]);return [r,a,s]}function Un({value:e,defaultValue:t,finalValue:n,onChange:o=()=>{}}){let[r,i]=Ee__default.default.useState(t!==void 0?t:n),a=s=>{i(s),o?.(s);};return e!==void 0?[e,o,!0]:[r,a,!1]}var Ot="dots";function qn({total:e,siblings:t=1,boundaries:n=1,page:o,initialPage:r=1,onChange:i=()=>{}}){let a=Math.max(Math.trunc(e),0),[s,l]=Un({value:o,onChange:i,defaultValue:r,finalValue:r}),c=y=>{y<=0?l(1):y>a?l(a):l(y);},m=()=>c(s+1),u=()=>c(s-1),p=()=>c(1),d=()=>c(a);return {range:Ee__default.default.useMemo(()=>{if(t*2+3+n*2>=a)return We(1,a);let g=Math.max(s-t,n),T=Math.min(s+t,a-n),v=g>n+2,S=T<a-(n+1);if(!v&&S){let b=t*2+n+2;return [...We(1,b),Ot,...We(a-(n-1),a)]}if(v&&!S){let b=n+1+2*t;return [...We(1,n),Ot,...We(a-b,a)]}return [...We(1,n),Ot,...We(g,T),Ot,...We(a-n+1,a)]},[a,t,s]),active:s,setPage:c,next:m,prev:u,first:p,last:d}}function We(e,t){let n=t-e+1;return Array.from({length:n},(o,r)=>r+e)}function Pr(e,t){let[n,o]=Ee__default.default.useState(e);return [n,i=>{o(typeof i<"u"?i:a=>a===t[0]?t[1]:t[0]);}]}function Zn(e=!1){return Pr(e,[!0,!1])}function uc(e,t){let[n,o]=t?t(e):[!0,""],[r,i]=Ee__default.default.useState(e??void 0),[a,s]=Ee__default.default.useState(n),[l,c]=Ee__default.default.useState(o),[m,u]=Ee__default.default.useState(n?e:void 0);return [{value:r,lastValidValue:m,valid:a,invalidMsg:l},d=>{let[f,y]=t?t(d):[!0,""];f&&u(d),s(f),c(y),i(d);}]}function hc({key:e,initialValue:t,deserialize:n=Mt,serialize:o=Bt}){let[r,i]=Ee__default.default.useState(()=>{if(typeof window>"u")return t;try{let l=window.sessionStorage.getItem(e);return l?n(l):t}catch(l){return console.error(`useSessionStoredState failed to get the value: ${l.message}`),t}}),a=Ee__default.default.useCallback(l=>{try{let c=l instanceof Function?l(r):l;i(c),typeof window<"u"&&window.sessionStorage.setItem(e,o(c));}catch(c){console.error(`useSessionStoredState failed to store the value: ${c.message}`);}},[]),s=Ee__default.default.useCallback(()=>{typeof window<"u"&&window.sessionStorage.removeItem(e);},[]);return [r,a,s]}var Qn=["mousedown","touchstart"];function Sc(e,t,n){let o=Ee__default.default.useRef();return Ee__default.default.useEffect(()=>{let r=i=>{let{target:a}=i??{};if(Array.isArray(n)){let s=a?.hasAttribute("data-ignore-outside-clicks")||!document.body.contains(a)&&a.tagName!=="HTML";n.every(c=>!!c&&!i.composedPath().includes(c))&&!s&&e();}else o.current&&!o.current.contains(a)&&e();};return (t||Qn).forEach(i=>document.addEventListener(i,r)),()=>{(t||Qn).forEach(i=>document.removeEventListener(i,r));}},[o,e,n]),o}function jn(e,t,n){Ee__default.default.useEffect(()=>(window.addEventListener(e,t,n),()=>window.removeEventListener(e,t,n)),[e,t]);}function Ic({duration:e=500,axis:t="y",onScrollFinish:n,offset:o=0,cancelable:r=!0,isList:i=!1}={}){let a=Ee__default.default.useRef(0),s=Ee__default.default.useRef(0),l=Ee__default.default.useRef(!1),c=Ee__default.default.useRef(null),m=Ee__default.default.useRef(null),u=y=>y<.5?2*y*y:-1+(4-2*y)*y,p=()=>{a.current&&cancelAnimationFrame(a.current);},d=Ee__default.default.useCallback(({alignment:y="start"}={})=>{l.current=!1,a.current&&p();let g=Ir({parent:c.current,axis:t})??0,T=vr({parent:c.current,target:m.current,axis:t,alignment:y,offset:o,isList:i})-(c.current?0:g);function v(){s.current===0&&(s.current=performance.now());let b=performance.now()-s.current,P=e===0?1:b/e,C=g+T*u(P);Cr({parent:c.current,axis:t,distance:C}),!l.current&&P<1?a.current=requestAnimationFrame(v):(typeof n=="function"&&n(),s.current=0,a.current=0,p());}v();},[t,e,u,i,o,n]),f=()=>{r&&(l.current=!0);};return jn("wheel",f,{passive:!0}),jn("touchmove",f,{passive:!0}),Ee__default.default.useEffect(()=>p,[]),{scrollableRef:c,targetRef:m,scrollIntoView:d,cancel:p}}var vr=({axis:e,target:t,parent:n,alignment:o,offset:r,isList:i})=>{if(!t||!n&&typeof document>"u")return 0;let a=!!n,l=(n||document.body).getBoundingClientRect(),c=t.getBoundingClientRect(),m=u=>c[u]-l[u];if(e==="y"){let u=m("top");if(u===0)return 0;if(o==="start"){let d=u-r;return d<=c.height*(i?0:1)||!i?d:0}let p=a?l.height:window.innerHeight;if(o==="end"){let d=u+r-p+c.height;return d>=-c.height*(i?0:1)||!i?d:0}return o==="center"?u-p/2+c.height/2:0}if(e==="x"){let u=m("left");if(u===0)return 0;if(o==="start"){let d=u-r;return d<=c.width||!i?d:0}let p=a?l.width:window.innerWidth;if(o==="end"){let d=u+r-p+c.width;return d>=-c.width||!i?d:0}return o==="center"?u-p/2+c.width/2:0}return 0},Ir=({axis:e,parent:t})=>{if(!t&&typeof document>"u")return 0;let n=e==="y"?"scrollTop":"scrollLeft";if(t)return t[n];let{body:o,documentElement:r}=document;return o[n]+r[n]},Cr=({axis:e,parent:t,distance:n})=>{if(!t&&typeof document>"u")return;let o=e==="y"?"scrollTop":"scrollLeft";if(t)t[o]=n;else {let{body:r,documentElement:i}=document;r[o]=n,i[o]=n;}};function me({color:e,size:t="m",rotation:n=0,icon:o,flip:r=void 0,animate:i=void 0}){let a="icon",s="1x";switch(e==="s"?a+=" has-text-success":e==="d"?a+=" has-text-danger":e==="w"?a+=" has-text-warning":e==="p"?a+=" has-text-primary":e==="i"?a+=" has-text-info":e==="l"?a+=" has-text-link":e==="dark"?a+=" has-text-dark":e==="light"?a+=" has-text-light":e?.startsWith("is-")&&(a+=` ${e?.replace("is-","has-text-")}`),t){case"s":s="sm",a+=" is-small";break;case"m":s="1x",a+=" is-normal";break;case"l":s="2x",a+=" is-medium";break;case"xl":s="3x",a+=" is-large";break}return typeof o=="string"?jsxRuntime.jsx("span",{className:a,role:"icon",children:jsxRuntime.jsx("i",{className:o})}):jsxRuntime.jsx("span",{className:a,role:"icon",children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:o,size:s,rotation:n===0?void 0:n,flip:r,spin:i==="spin",pulse:i==="pulse"})})}function ln({icon:e,size:t="m",color:n,rotation:o=0,flip:r=void 0,animate:i=void 0,allowWrap:a=!1,children:s}){let l="icon-text";return n==="s"?l+=" has-text-success":n==="d"?l+=" has-text-danger":n==="w"?l+=" has-text-warning":n==="p"?l+=" has-text-primary":n==="i"?l+=" has-text-info":n==="l"&&(l+=" has-text-link"),jsxRuntime.jsxs("span",{className:l,role:"icon-with-text",style:{flexWrap:a?void 0:"nowrap"},children:[jsxRuntime.jsx(me,{icon:e,size:t,color:n,rotation:o,flip:r,animate:i}),jsxRuntime.jsx("span",{children:s})]})}function cn({range:e,currentPage:t,size:n="s",hideFirst:o=!1,hideLast:r=!1,hidePrev:i=!1,hideNext:a=!1,hideNumbers:s=!1,set:l=d=>{},first:c=()=>{},last:m=()=>{},prev:u=()=>{},next:p=()=>{}}){let d="pagination";return n==="s"?d+=" is-small":n==="m"?d+=" is-normal":n==="l"?d+=" is-medium":n==="xl"&&(d+=" is-large"),jsxRuntime.jsx("div",{className:d,children:jsxRuntime.jsxs("ul",{className:"pagination-list",children:[!o&&jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link","aria-label":"eerste pagina",onClick:c,disabled:t===e[0],children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faBackwardFast})})}),!i&&jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link","aria-label":"vorige pagina",onClick:u,disabled:t===e[0],children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faBackwardStep})})}),!s&&e.map((f,y)=>f==="dots"?jsxRuntime.jsx("li",{children:jsxRuntime.jsx("span",{className:"pagination-ellipsis",children:"\u2026"})},f+y):f!==t?jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link","aria-label":`Goto page ${f}`,onClick:()=>l(f),children:f})},f):jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link is-current","aria-label":`Goto page ${f}`,onClick:()=>l(f),children:f})},f)),!a&&jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link","aria-label":"volgende paginga",onClick:p,disabled:t===e[e.length-1],children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faForwardStep})})}),!r&&jsxRuntime.jsx("li",{children:jsxRuntime.jsx("button",{className:"pagination-link","aria-label":"laatste pagina",onClick:m,disabled:t===e[e.length-1],children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faForwardFast})})})]})})}var M=class e{static DEFAULT_LOCALE=Intl.DateTimeFormat().resolvedOptions().locale;static DEFAULT_TIMEZONE=Intl.DateTimeFormat().resolvedOptions().timeZone;static MAX_DATE_NUM=864e13;static MAX_DATE=new Date(e.MAX_DATE_NUM);static defaultFormatOptions={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"};IGNORE_SIGN="^";_date;_locale;formatOptions={};constructor(t,n,o={}){this._date=new Date(t),this._locale=n,this.formatOptions={...e.defaultFormatOptions,timeZone:e.DEFAULT_TIMEZONE,...o},Object.freeze(this);}toString(t=this.formatOptions){return this.intlDtf(t)}valueOf(){return this._date.valueOf()}intlDtf(t=this.formatOptions){return new Intl.DateTimeFormat(this._locale,{...t,timeZone:this.formatOptions.timeZone}).format(this._date)}get info(){return {year:{isLeapYear:this.isLeapYear,days:this.daysInYear,hours:this.daysInYear*24,minutes:this.daysInYear*24*60,seconds:this.daysInYear*24*60*60,milliseconds:this.daysInYear*24*60*60*1e3},month:{days:this.daysInMonth,hours:this.daysInMonth*24,minutes:this.daysInMonth*24*60,seconds:this.daysInMonth*24*60*60,milliseconds:this.daysInMonth*24*60*60*1e3}}}get isLeapYear(){let t=this._date.getFullYear();return t%4===0&&t%100!==0||t%400===0}get isAM(){return this._date.getHours()<12}get isPM(){return !this.isAM}get isDST(){let t=new Date(this._date.getFullYear(),0,1).getTimezoneOffset(),n=new Date(this._date.getFullYear(),6,1).getTimezoneOffset();return Math.max(t,n)!==this._date.getTimezoneOffset()}get isToday(){let t=new Date;return this._date.getDate()===t.getDate()&&this._date.getMonth()===t.getMonth()&&this._date.getFullYear()===t.getFullYear()}get JSDate(){return new Date(this._date)}get ISO(){return this._date.toISOString()}get UTC(){return this._date.toUTCString()}get locale(){return this._locale}get timezoneLong(){return this.intlDtf({timeZoneName:"long"}).replaceAll(/[^A-Z\s-]/gi,"").replace("--","").trim()}get timezoneShort(){return this.intlDtf({timeZoneName:"short"}).replaceAll(/[^A-Z]/g,"")}get timezoneOffsetShortStr(){let t=this.intlDtf({timeZoneName:"longOffset"}),n=t.indexOf("+");return t.substring(n)}get timezoneOffsetLongStr(){let t=this.intlDtf({timeZoneName:"longOffset"}),n=t.indexOf("GMT");return t.substring(n)}get timezoneOffset(){let t=this.intlDtf({timeZoneName:"shortOffset"}),n=t.indexOf("+");return n<0&&(n=t.indexOf("-")),n<0?0:parseInt(t.substring(n))}get timeHM(){return this.intlDtf({hour:"2-digit",minute:"2-digit"})}get timeHMS(){return this.intlDtf({hour:"2-digit",minute:"2-digit",second:"2-digit"})}get monthLong(){return this.intlDtf({month:"long"})}get monthShort(){return this.intlDtf({month:"short"})}get dayLong(){return this.intlDtf({weekday:"long"})}get dayShort(){return this.intlDtf({weekday:"short"})}get dateLong(){return `${this.dayLong} ${this.day} ${this.monthLong} ${this.year}`}get dateShort(){return this.intlDtf({day:"2-digit",month:"2-digit",year:"numeric"})}get yr(){return this.year}get year(){return this._date.getFullYear()}get qr(){return this.quarter}get quarter(){return Math.floor(this._date.getMonth()/3+1)}get m(){return this.month}get month(){return this._date.getMonth()+1}get d(){return this.day}get day(){return this._date.getDate()}get weekDay(){return this._date.getDay()===0?7:this._date.getDay()}get hr(){return this.hour}get hour(){return this._date.getHours()}get min(){return this.minute}get minute(){return this._date.getMinutes()}get sec(){return this.second}get second(){return this._date.getSeconds()}get ms(){return this.millisecond}get millisecond(){return this._date.getMilliseconds()}get weekNr(){let t=new Date(Date.UTC(this._date.getFullYear(),this._date.getMonth(),this._date.getDate()));t.setUTCDate(t.getUTCDate()+4-(t.getUTCDay()||7));let n=new Date(Date.UTC(t.getUTCFullYear(),0,1));return Math.ceil(((t.getTime()-n.getTime())/864e5+1)/7)}get millis(){return this.valueOf()}get daysInMonth(){return new Date(this._date.getFullYear(),this._date.getMonth()+1,0).getDate()}get daysInYear(){return this.isLeapYear?366:365}get yearToDate(){let n=[0,31,59,90,120,151,181,212,243,273,304,334][this._date.getMonth()]+this._date.getDate();return this.isLeapYear&&this.month>2?n+1:n}set(t,n=this._locale){let o={year:this.year,month:this.month,day:this.day,hour:this.hour,minute:this.minute,second:this.second,millisecond:this.millisecond};return e.from({...o,...t},n)}startOf(t){switch(t){case"year":return e.from({year:this.year,month:0,day:1,hour:0,minute:0,second:0,millisecond:0},this._locale);case"quarter":{let n=Math.floor(this._date.getMonth()/3);return e.fromDate(new Date(this.year,n*3,1),this._locale).set({hour:0,minute:0,second:0,millisecond:0},this._locale)}case"month":return e.from({year:this.year,month:this.month,day:1,hour:0,minute:0,second:0,millisecond:0},this._locale);case"week":{let n=new Date(this.JSDate),o=n.getDate()-n.getDay()+(n.getDay()===0?-6:1);return e.fromDate(new Date(n.setDate(o)),this._locale).set({hour:0,minute:0,second:0,millisecond:0})}case"day":return e.from({year:this.year,month:this.month,day:this.day,hour:0,minute:0,second:0,millisecond:0},this._locale);case"hour":return e.from({year:this.year,month:this.month,day:this.day,hour:this.hour,minute:0,second:0,millisecond:0},this._locale);default:throw new Error(`${t} is not a valid period for JSDateTime.startOf()`)}}endOf(t){switch(t){case"year":return e.from({year:this.year,month:12,day:31,hour:23,minute:59,second:59,millisecond:999},this._locale);case"quarter":{let n=Math.floor(this._date.getMonth()/3);return e.fromDate(new Date(this.year,n*3+3,0),this._locale).set({hour:23,minute:59,second:59,millisecond:999},this._locale)}case"month":return e.from({year:this.year,month:this.month,day:this.daysInMonth,hour:23,minute:59,second:59,millisecond:999},this._locale);case"week":{let n=new Date(this.JSDate),o=this.JSDate.getDate()-(n.getDay()-1)+6;return e.fromDate(new Date(n.setDate(o)),this._locale).set({hour:23,minute:59,second:59,millisecond:999},this._locale)}case"day":return e.from({year:this.year,month:this.month,day:this.day,hour:23,minute:59,second:59,millisecond:999},this._locale);case"hour":return e.from({year:this.year,month:this.month,day:this.day,hour:this.hour,minute:59,second:59,millisecond:999},this._locale);default:throw new Error(`${t} is not a valid period for JSDateTime.endOf()`)}}plus({years:t,months:n,weeks:o,days:r,hours:i,minutes:a,seconds:s,milliseconds:l}){let c=new Date(this.JSDate);return t&&(c=new Date(c.setFullYear(c.getFullYear()+t))),n&&(c=new Date(c.setMonth(c.getMonth()+n))),o&&(c=new Date(c.setDate(c.getDate()+o*7))),r&&(c=new Date(c.setDate(c.getDate()+r))),i&&(c=new Date(c.setHours(c.getHours()+i))),a&&(c=new Date(c.setMinutes(c.getMinutes()+a))),s&&(c=new Date(c.setSeconds(c.getSeconds()+s))),l&&(c=new Date(c.setMilliseconds(c.getMilliseconds()+l))),e.fromDate(c,this._locale)}isBetween(t,n){let o=(typeof n=="boolean"?n:n?.[0])??!1,r=(typeof n=="boolean"?n:n?.[1])??!1,[i,a]=t.sort((s,l)=>s.valueOf()-l.valueOf());if(i.valueOf()===a.valueOf())throw new Error("dates must be different");return o&&r?i<=this._date&&this._date<=a:o&&!r?i<=this._date&&this._date<a:!o&&r?i<this._date&&this._date<=a:i<this._date&&this._date<a}isBefore(t,n=!1){return n?this._date>=t:this._date>t}isAfter(t,n=!1){return n?this._date<=t:this._date<t}hasSame(t,n="millisecond"){let o=new Date(t.valueOf());switch(n){case"year":return this.yr===o.getFullYear();case"month":return this.yr===o.getFullYear()&&this.m-1===o.getMonth();case"day":return this.yr===o.getFullYear()&&this.m-1===o.getMonth()&&this.d===o.getDate();case"hour":return this.yr===o.getFullYear()&&this.m-1===o.getMonth()&&this.d===o.getDate()&&this.hr===o.getHours();case"minute":return this.yr===o.getFullYear()&&this.m-1===o.getMonth()&&this.d===o.getDate()&&this.hr===o.getHours()&&this.min===o.getMinutes();case"second":return this.yr===o.getFullYear()&&this.m-1===o.getMonth()&&this.d===o.getDate()&&this.hr===o.getHours()&&this.min===o.getMinutes()&&this.sec===o.getSeconds();case"millisecond":return this.valueOf()===o.valueOf();default:throw new Error(`invalid period '${n}' for hasSame()`)}}equals(t){if(t instanceof e)return this._date.valueOf()===t.valueOf();if(t instanceof Date)return this._date.valueOf()===t.valueOf();if(typeof t=="number")return this._date.valueOf()===t;throw new Error("invalid type")}clone(){return e.fromMillis(this.valueOf(),this.locale)}static now(t=e.DEFAULT_LOCALE,n={}){return new e(new Date,t,n)}static epoch(t=e.DEFAULT_LOCALE,n={}){return new e(new Date(0),t,n)}static fromDate(t,n=e.DEFAULT_LOCALE,o={}){return new e(t,n,o)}static from(t,n=e.DEFAULT_LOCALE,o={}){let r=new Date,{year:i,month:a,day:s,hour:l,minute:c,second:m,millisecond:u}={year:t.year??r.getFullYear(),month:t.month!=null?t.month==0?1:t.month:r.getMonth()+1,day:t.day??r.getDate(),hour:t.hour??r.getHours(),minute:t.minute??r.getMinutes(),second:t.second??r.getSeconds(),millisecond:t.millisecond??r.getMilliseconds()};if(a>12||a<1)throw new RangeError(`month value should be between 1 and 12, got ${a}`);if(l>23||l<0)throw new RangeError(`hour value should be between 0 and 23, got ${l}`);if(c>59||c<0)throw new RangeError(`minute value should be between 0 and 59, got ${c}`);if(m>59||m<0)throw new RangeError(`second value should be between 0 and 59, got ${m}`);if(u>999||u<0)throw new RangeError(`milliseconds value should be between 0 and 999, got ${u}`);let p=new Date(i,a,0),d=p.getDate();if(s>d||s<1)throw new RangeError(`day value should be between 1 and ${d} for ${p.toLocaleString(n,{month:"short"})} ${i}, got ${s}`);return new e(new Date(i,a-1,s,l,c,m,u),n,o)}static fromISO(t,n=e.DEFAULT_LOCALE,o={}){let r=new Date(Date.parse(t));return new e(r,n,o)}static fromUTC(t,n=e.DEFAULT_LOCALE,o={}){let r=new Date(Date.parse(t));return new e(r,n,o)}static fromMillis(t,n=e.DEFAULT_LOCALE,o={}){let r=typeof t=="string"?+t:t;if(isNaN(r))throw new Error(`fromMillis() expects a numeric value, got "${t}"`);if(r>e.MAX_DATE_NUM||r<-e.MAX_DATE_NUM)throw new Error(`fromMillis() expects a numeric value, got "${t}"`);return new e(new Date(r),n,o)}toFormat(t){if(typeof t!="string")return this.intlDtf(t);let n=this.formatBuilder(t);return n.includes("[y4]")&&(n=n.replaceAll("[y4]",this.yr+"")),n.includes("[y2]")&&(n=n.replaceAll("[y2]",this.yr.toString().substring(2))),n.includes("[m4]")&&(n=n.replaceAll("[m4]",this.monthLong)),n.includes("[m3]")&&(n=n.replaceAll("[m3]",this.monthShort)),n.includes("[m2]")&&(n=n.replaceAll("[m2]",this.intlDtf({month:"2-digit"}))),n.includes("[m1]")&&(n=n.replaceAll("[m1]",this.intlDtf({month:"numeric"}))),n.includes("[d4]")&&(n=n.replaceAll("[d4]",this.dayLong)),n.includes("[d3]")&&(n=n.replaceAll("[d3]",this.dayShort)),n.includes("[d2]")&&(n=n.replaceAll("[d2]",this.intlDtf({day:"2-digit"}))),n.includes("[d1]")&&(n=n.replaceAll("[d1]",this.day+"")),n.includes("[h2]")&&(n=n.replaceAll("[h2]",this.hr>12?`${this.hr-12<10?"0":""}${this.hr-12}`:`${this.hr<10?"0":""}${this.hr}`)),n.includes("[h1]")&&(n=n.replaceAll("[h1]",this.hr>12?(this.hr-12).toString():this.hr.toString())),n.includes("[H2]")&&(n=n.replaceAll("[H2]",`${this.hr<10?"0":""}${this.hr}`)),n.includes("[H1]")&&(n=n.replaceAll("[H1]",this.hr.toString())),n.includes("[M2]")&&(n=n.replaceAll("[M2]",`${this.minute<10?"0":""}${this.minute}`)),n.includes("[M1]")&&(n=n.replaceAll("[M1]",this.minute+"")),n.includes("[s2]")&&(n=n.replaceAll("[s2]",`${this.second<10?"0":""}${this.second}`)),n.includes("[s1]")&&(n=n.replaceAll("[s1]",this.second+"")),n.includes("[S3]")&&(n=n.replaceAll("[S3]",this.millisecond<10?`00${this.millisecond}`:this.millisecond<100?`0${this.millisecond}`:this.millisecond+"")),n.includes("[S2]")&&(n=n.replaceAll("[S2]",this.millisecond<10?`00${this.millisecond}`:this.millisecond<100?`0${this.millisecond}`:this.millisecond+"")),n.includes("[S1]")&&(n=n.replaceAll("[S1]",this.millisecond+"")),n.includes("[W2]")&&(n=n.replaceAll("[W2]",this.weekNr+"")),n.includes("[t2]")&&(n=n.replaceAll("[t2]",this.isAM?"AM":"PM")),n.includes("[t1]")&&(n=n.replaceAll("[t1]",this.isAM?"A":"P")),n.includes("[Z2]")&&(n=n.replaceAll("[Z2]",this.timezoneLong)),n.includes("[Z1]")&&(n=n.replaceAll("[Z1]",this.timezoneShort)),n.includes("[O3]")&&(n=n.replaceAll("[O3]",this.timezoneOffsetLongStr)),n.includes("[O2]")&&(n=n.replaceAll("[O2]",this.timezoneOffsetShortStr.replace("GMT",""))),n.includes("[O1]")&&(n=n.replaceAll("[O1]",this.timezoneOffset>0?`+${this.timezoneOffset}`:this.timezoneOffset<0?`${this.timezoneOffset}`:"")),n.replaceAll(this.IGNORE_SIGN,"").trim()}formatBuilder(t){let n="",o="",r=0,i=!1,a="ymdhHMsSWtZO";return (t+" ").split("").forEach(s=>{o===""?r=1:!i&&s===o&&a.includes(s)?r++:!i&&s===o&&!a.includes(s)?(r++,n+=o):i?i&&(n+=o,r=1):(n+=a.includes(o)?`[${o}${r}]`:o,r=1),s===this.IGNORE_SIGN&&(i=!i),o=s;}),n}};var eo=class{_jsd1;_jsd2;constructor(t,n=M.now()){this._jsd1=t instanceof Date?M.fromDate(t):t.clone(),this._jsd2=n instanceof Date?M.fromDate(n):n.clone();}get ms(){return Math.abs(this._jsd2.valueOf()-this._jsd1.valueOf())}get inMillis(){return this.ms}get inSeconds(){return Math.floor(this.ms/1e3)}get inMinutes(){return Math.floor(this.ms/(1e3*60))}get inHours(){return Math.floor(this.ms/(1e3*60*60))}get inDays(){return Math.floor(this.ms/(1e3*60*60*24))}get inWeeks(){return Math.floor(this.ms/(1e3*60*60*24*7))}get inAllTypes(){return {milliseconds:this.inMillis,seconds:this.inSeconds,minutes:this.inMinutes,hours:this.inHours,days:this.inDays,weeks:this.inWeeks}}differenceIn(t){let n=this.ms,o={},r=1e3*60*60*24*7;return [["weeks",7],["days",24],["hours",60],["minutes",60],["seconds",1e3],["milliseconds",0]].forEach(([a,s])=>{if(t.includes(a)){let l=0;for(;n>=r;)l++,n-=r;Object.assign(o,{[a]:l});}r/=s;}),Object.assign(o,{rest:n}),o}};function Gc(e){e=e.replaceAll(/[^0-9a-zA-Z]/g,"");let t=e.match(/[0-9]{9}/g);if(t){let n=[];for(let o of t){let r=0,i=9;for(let a of o.split(""))r+=parseInt(a)*i,i=i!==2?i-1:-1;r%11===0&&n.push(o);}return [n.length>0,n]}return [!!t,[]]}function Re(e){let t=typeof e!="string",n;typeof e=="string"?n=Dr(e):n=e;let[o=255,r=255,i=255]=n,s=[o/255,r/255,i/255].map(c=>c<.03928?c/12.92:Math.pow((c+.055)/1.055,2.4)),l=.02126*s[0]+.7152*s[1]+.0722*s[2];return isNaN(l)?[0,0,0]:l>.179?t?[0,0,0]:"#000000":t?[255,255,255]:"#ffffff"}function Dr(e){let t="#";if(e.startsWith("#")||(e="#"+e),!/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)|(^#[0-9A-F]{8}$)|(^#[0-9A-F]{4}$)/i.test(e))throw new Error("Invalid hex-color: "+e);e.length===4?e.substring(1,5).split("").forEach(s=>t+=s+s):e.length===5?e.substring(1,5).split("").forEach(s=>t+=s+s):e.length===7?t=e:e.length===9&&(t=e.substring(0,7));let o=parseInt(t.substring(1,3),16),r=parseInt(t.substring(3,5),16),i=parseInt(t.substring(5,7),16),a=parseInt(t.substring(7,9),16);return [o,r,i,a]}function Zc(e){try{e=e.toUpperCase().replaceAll(/[^A-Z0-9]/g,"");let t=e.match(/^([A-Z]{2})(\d{2})([A-Z\d]+)$/);if(t){let n=Mr.find(o=>o.code===t[1]);if(n){if(n.IBAN.length!==e.length)throw new Error("invalid length");{let o=(t[3]+t[1]+t[2]).replace(/[A-Z]/g,i=>(i.charCodeAt(0)-55).toString()),r=+o.slice(0,2);for(let i=2;i<o.length;i+=7)r=parseInt(r+o.substring(i,i+7),10)%97;return [r===1,r===1?n.land:"invalid restgetal"]}}else throw new Error("invalid landcode")}else throw new Error("invalid format")}catch(t){return [!1,t.message]}}var Mr=[{land:"Albanie",code:"AL",IBAN:"AL35202111090000000001234567"},{land:"Andorra",code:"AD",IBAN:"AD1400080001001234567890"},{land:"Azerbeidjan",code:"AZ",IBAN:"AZ96AZEJ00000000001234567890"},{land:"Bahrein",code:"BH",IBAN:"BH02CITI00001077181611"},{land:"Belgie",code:"BE",IBAN:"BE71096123456769"},{land:"Bosnie en Herzegovina",code:"BA",IBAN:"BA393385804800211234"},{land:"Brazilie",code:"BR",IBAN:"BR1500000000000010932840814P2"},{land:"Bulgarije",code:"BG",IBAN:"BG18RZBB91550123456789"},{land:"Costa Rica",code:"CR",IBAN:"CR23015108410026012345"},{land:"Croatie",code:"HR",IBAN:"HR1723600001101234565"},{land:"Cyprus",code:"CY",IBAN:"CY21002001950000357001234567"},{land:"Denemarken",code:"DK",IBAN:"DK9520000123456789"},{land:"Dominicaanse Republiek",code:"DO",IBAN:"DO22ACAU00000000000123456789"},{land:"Duitsland",code:"DE",IBAN:"DE91100000000123456789"},{land:"Egypte",code:"EG",IBAN:"EG800002000156789012345180002"},{land:"El Salvador",code:"SV",IBAN:"SV43ACAT00000000000000123123"},{land:"Estland",code:"EE",IBAN:"EE471000001020145685"},{land:"Faroe Eilanden",code:"FO",IBAN:"FO9264600123456789"},{land:"Finland",code:"FI",IBAN:"FI1410093000123458"},{land:"Frankrijk",code:"FR",IBAN:"FR7630006000011234567890189"},{land:"Georgie",code:"GE",IBAN:"GE60NB0000000123456789"},{land:"Gibraltar",code:"GI",IBAN:"GI04BARC000001234567890"},{land:"Griekenland",code:"GR",IBAN:"GR9608100010000001234567890"},{land:"Groenland",code:"GL",IBAN:"GL8964710123456789"},{land:"Guatemala",code:"GT",IBAN:"GT20AGRO00000000001234567890"},{land:"Hongarije",code:"HU",IBAN:"HU93116000060000000012345676"},{land:"Ierland",code:"IE",IBAN:"IE64IRCE92050112345678"},{land:"IJsland",code:"IS",IBAN:"IS030001121234561234567890"},{land:"Irak",code:"IQ",IBAN:"IQ20CBIQ861800101010500"},{land:"Israel",code:"IL",IBAN:"IL170108000000012612345"},{land:"Italie",code:"IT",IBAN:"IT60X0542811101000000123456"},{land:"Jordanie",code:"JO",IBAN:"JO71CBJO0000000000001234567890"},{land:"Kazakhstan",code:"KZ",IBAN:"KZ563190000012344567"},{land:"Kosovo",code:"XK",IBAN:"XK051212012345678906"},{land:"Kuweit",code:"KW",IBAN:"KW81CBKU0000000000001234560101"},{land:"Letland",code:"LV",IBAN:"LV97HABA0012345678910"},{land:"Libanon",code:"LB",IBAN:"LB92000700000000123123456123"},{land:"Liechtenstein",code:"LI",IBAN:"LI7408806123456789012"},{land:"Litouwen",code:"LT",IBAN:"LT601010012345678901"},{land:"Luxemburg",code:"LU",IBAN:"LU120010001234567891"},{land:"Britse Maagdeneilanden",code:"VG",IBAN:"VG21PACG0000000123456789"},{land:"Macedonie",code:"MK",IBAN:"MK07200002785123453"},{land:"Malta",code:"MT",IBAN:"MT31MALT01100000000000000000123"},{land:"Mauritanie",code:"MR",IBAN:"MR1300020001010000123456753"},{land:"Mauritius",code:"MU",IBAN:"MU43BOMM0101123456789101000MUR"},{land:"Moldavie",code:"MD",IBAN:"MD21EX000000000001234567"},{land:"Monaco",code:"MC",IBAN:"MC5810096180790123456789085"},{land:"Montenegro",code:"ME",IBAN:"ME25505000012345678951"},{land:"Nederland",code:"NL",IBAN:"NL02ABNA0123456789"},{land:"Noorwegen",code:"NO",IBAN:"NO8330001234567"},{land:"Oostenrijk",code:"AT",IBAN:"AT483200000012345864"},{land:"Pakistan",code:"PK",IBAN:"PK36SCBL0000001123456702"},{land:"Palestina",code:"PS",IBAN:"PS92PALS000000000400123456702"},{land:"Polen",code:"PL",IBAN:"PL10105000997603123456789123"},{land:"Portugal",code:"PT",IBAN:"PT50002700000001234567833"},{land:"Qatar",code:"QA",IBAN:"QA54QNBA000000000000693123456"},{land:"Roemenie",code:"RO",IBAN:"RO09BCYP0000001234567890"},{land:"Saint Lucia",code:"LC",IBAN:"LC14BOSL123456789012345678901234"},{land:"San Marino",code:"SM",IBAN:"SM76P0854009812123456789123"},{land:"Sao Tome en Principe",code:"ST",IBAN:"ST23000200000289355710148"},{land:"Saudi Arabie",code:"SA",IBAN:"SA4420000001234567891234"},{land:"Servie",code:"RS",IBAN:"RS35105008123123123173"},{land:"Seychellen",code:"SC",IBAN:"SC52BAHL01031234567890123456USD"},{land:"Slovenie",code:"SI",IBAN:"SI56192001234567892"},{land:"Slowakije",code:"SK",IBAN:"SK8975000000000012345671"},{land:"Spanje",code:"ES",IBAN:"ES7921000813610123456789"},{land:"Timor-Leste",code:"TL",IBAN:"TL380010012345678910106"},{land:"Tjechie",code:"CZ",IBAN:"CZ5508000000001234567899"},{land:"Tunesie",code:"TN",IBAN:"TN5904018104004942712345"},{land:"Turkije",code:"TR",IBAN:"TR320010009999901234567890"},{land:"Oekraine",code:"UA",IBAN:"UA903052992990004149123456789"},{land:"Verenigd Koninkrijk",code:"GB",IBAN:"GB98MIDL07009312345678"},{land:"Verenigde Arabische Emiraten",code:"AE",IBAN:"AE460090000000123456789"},{land:"Wit Rusland",code:"BY",IBAN:"BY86AKBB10100000002966000000"},{land:"Zweden",code:"SE",IBAN:"SE7280000810340009783242"},{land:"Zwitserland",code:"CH",IBAN:"CH5604835012345678009"}];function to([e,t,n]){return `#${e.toString(16).padStart(2,"0")}${t.toString(16).padStart(2,"0")}${n.toString(16).padStart(2,"0")}`}function no(e){let t=/^#?([a-f\d]{1,2})([a-f\d]{1,2})([a-f\d]{1,2})$/i.exec(e);return t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0]}function oo([e,t,n]){let o=n/100,r=t*Math.min(o,1-o)/100,i=a=>{let s=(a+e/30)%12,l=o-r*Math.max(Math.min(s-3,9-s,1),-1);return Math.round(255*l).toString(16).padStart(2,"0")};return `#${i(0)}${i(8)}${i(4)}`}function ro(e){let t=/^#?([a-f\d]{1,2})([a-f\d]{1,2})([a-f\d]{1,2})$/i.exec(e),[n,o,r]=t?[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]:[0,0,0];n/=255,o/=255,r/=255;let i=Math.max(n,o,r),a=Math.min(n,o,r),s=(i+a)/2,l=s,c=s;if(i!==a){let m=i-a;return l=c>.5?m/(2-i-a):m/(i+a),n===i?s=(o-r)/m+(o<r?6:0):o===i?s=(r-n)/m+2:r===i&&(s=(n-o)/m+4),[Math.round(360*(s/6)),Math.round(l*100),Math.round(c*100)]}else return [0,0,Math.round(c*100)]}function Qc(e){let[t,n,o]=e,r=t/255,i=n/255,a=o/255,s=Math.max(r,i,a),l=Math.min(r,i,a),c=(s+l)/2,m=c,u=c;if(s===l)return [0,0,Math.round(u*100)];let p=s-l;switch(m=u>=.5?p/(2-(s+l)):p/(s+l),s){case r:c=((i-a)/p+0)*60;break;case i:c=((a-r)/p+2)*60;break;case a:c=((r-i)/p+4)*60;break}return [Math.round(c),Math.round(m*100),Math.round(u*100)]}function jc(e){let[t,n,o]=e;n/=100,o/=100;let r=s=>(s+t/30)%12,i=n*Math.min(o,1-o),a=s=>o-i*Math.max(-1,Math.min(r(s)-3,Math.min(9-r(s),1)));return [255*a(0),255*a(8),255*a(4)]}function tp(e,t,n=!0){return Math.floor(Math.random()*(t-e+(n?1:-1)))+e+(n?0:1)}function np(e,t){return Math.random()*(t-e)+e}function op(e,t=2){if(t<1)return Math.round(e);let n=Math.pow(10,t);return Math.round(n*e)/n}var ap=(e=!1,t=!1)=>e===t?0:e?-1:1,sp=(e=M.fromMillis(M.MAX_DATE_NUM),t=M.fromMillis(M.MAX_DATE_NUM))=>e.valueOf()-t.valueOf(),lp=(e="",t="")=>e<t?-1:e===t?0:1,io=(e=1/0,t=1/0)=>e<t?-1:e===t?0:1;function Hr({data:e=[],columns:t=[],defaultSortColNum:n=void 0,compact:o=!1,narrow:r=!1,hoverable:i=!1,sticky:a="none",hidePagination:s=!1,hideSearch:l=!1,headerContent:c=void 0,footerContent:m=void 0,size:u="s",maxRows:p=20,searchPlaceholder:d="Zoek ...",rowIdentifier:f,onSearch:y=(C,A)=>A.filter(N=>JSON.stringify(N).toLowerCase().includes(C.toLowerCase())),onRowSelected:g,rowClass:T,renderWhenNoData:v=C=>C?jsxRuntime.jsx("div",{children:"No search results"}):jsxRuntime.jsx("div",{children:"No data"}),searchInfoMessage:S=(C,A,N)=>` ${C} van ${A}`,id:b,itemRef:P}){let C=t.sort((V,xe)=>io(V.order??0,xe.order??0)),A=V=>{re(1),x(V);},[N,J]=Ee__default.default.useState(()=>n||C.findIndex(V=>V.sort!==void 0)+1),[z,x]=Ee__default.default.useState(""),[E]=Kn(z,{delay:100}),O=[...z===""?e:y(E,e)];O.sort(C[Math.abs(N)-1]?.sort??(()=>0)),N<0&&O.reverse();let L=p===0?O.length:p,{range:ae,active:R,next:D,prev:X,first:oe,last:fe,setPage:re}=qn({total:Math.ceil(O.length/L)}),se=O.slice(((R??1)-1)*L,(R??1)*L),Z="table is-striped";return o&&(Z+=" is-narrow"),r||(Z+=" is-fullwidth"),i&&(Z+=" is-hoverable"),a!=="none"&&(Z+=" is-sticky"),jsxRuntime.jsxs("table",{className:Z,id:b,ref:P,children:[jsxRuntime.jsx(Fr,{sticky:a,cols:C,size:u,searchValue:z,filterCount:O.length,dataCount:e.length,hideSearch:l,onSearchValueChanged:A,searchPlaceholder:d,infoMessage:S,sortColNum:N,onSortIndexChanged:J,children:c}),se.length>0&&jsxRuntime.jsx(Jr,{rows:se,rowIdentifier:f,cols:C,onRowSelected:g,rowClass:T}),se.length===0&&jsxRuntime.jsx("tbody",{children:jsxRuntime.jsx("tr",{role:"no-rows-to-show-row",children:jsxRuntime.jsx("td",{colSpan:C.length,children:v(z!=="")})})}),jsxRuntime.jsx($r,{size:u,cols:C,currentPage:R??1,hidePagination:L===0?!0:s,range:ae,next:D,prev:X,first:oe,last:fe,set:re,children:m})]})}function Jr({rows:e,cols:t,rowIdentifier:n,rowClass:o,onRowSelected:r=()=>{}}){return jsxRuntime.jsx("tbody",{children:e?.map(i=>{let a=typeof o=="function"?o(i):o,s=typeof n=="function"?n(i):i[n];return jsxRuntime.jsx("tr",{role:"row",className:a,onClick:l=>r(i,l),children:t.map((l,c)=>{if(l.hidden)return null;let m;typeof l.cellIdentifier=="function"?m=l.cellIdentifier(i):l.cellIdentifier?m=i[l.cellIdentifier]:m=`${s}-${c}`;let u=typeof l.columnClass=="function"?l.columnClass(i):l.columnClass;return l.alignment==="l"?u+=" has-text-left":l.alignment==="c"?u+=" has-text-centered":l.alignment==="r"&&(u+=" has-text-right"),jsxRuntime.jsx("td",{className:u,children:typeof l.value=="function"?l.value(i):i[l.value]},m)})},s)})})}function Fr({children:e=void 0,searchValue:t,filterCount:n,dataCount:o,searchPlaceholder:r,cols:i,size:a,sortColNum:s,hideSearch:l,sticky:c,onSortIndexChanged:m,onSearchValueChanged:u,infoMessage:p}){let d=(g,T)=>{let v=T+1,S=i[T];S&&S.sort&&(Math.abs(s)===v?m(s*-1):s!==v&&m(v));},f=l?i.length:Math.ceil(i.filter(g=>!g.hidden).length/2),y=l?0:i.length-f;return jsxRuntime.jsxs("thead",{className:c==="all"?"is-sticky-head":void 0,children:[jsxRuntime.jsxs("tr",{role:"header-row",children:[jsxRuntime.jsx("th",{colSpan:f,children:e}),!l&&jsxRuntime.jsx("th",{colSpan:y,children:jsxRuntime.jsx(on,{size:a,type:"text",name:"loon-bulma-react-datatable-search-input",placeholder:r,value:t,onValueChanged:u,infoMessage:p(n,o,t)})})]}),jsxRuntime.jsx("tr",{role:"header-row",className:c==="header"?"is-sticky-row":void 0,children:i.map((g,T)=>{if(g.hidden)return null;let v=g.sort!==void 0,S=Math.abs(s)-1===T,b;g.header||g.header===""?b=g.header:typeof g.value!="string"?b=g.value.toString():b=g.value;let P="";g.alignment==="l"?P+=" has-text-left":g.alignment==="c"?P+=" has-text-centered":g.alignment==="r"&&(P+=" has-text-right");let C=freeSolidSvgIcons.faSort;return S&&s>0?C=freeSolidSvgIcons.faSortUp:S&&s<0&&(C=freeSolidSvgIcons.faSortDown),jsxRuntime.jsxs("th",{role:"sort-col",style:{cursor:v?"pointer":void 0},className:P,onClick:A=>d(A,T),children:[v&&jsxRuntime.jsx(ln,{icon:C,children:b}),!v&&jsxRuntime.jsx("span",{children:b})]},T)})})]})}function $r({size:e,children:t=void 0,hidePagination:n,cols:o,range:r,currentPage:i,next:a,prev:s,first:l,last:c,set:m}){return jsxRuntime.jsxs("tfoot",{children:[!n&&r.length>1&&jsxRuntime.jsx("tr",{role:"footer-row",children:jsxRuntime.jsx("td",{colSpan:o.filter(u=>!u.hidden).length,children:jsxRuntime.jsx(cn,{size:e,range:r,currentPage:i,next:a,prev:s,first:l,last:c,set:m})})}),t]})}var Te=({color:e="i",className:t="",children:n})=>{let o="help";return e==="p"?o+=" is-primary":e==="i"?o+=" is-info":e==="l"?o+=" is-link":e==="d"?o+=" is-danger":e==="s"?o+=" is-success":e==="w"?o+=" is-warning":e.startsWith("is-")&&(o+=` ${e}`),o=`${o} ${t}`.trim(),jsxRuntime.jsx("p",{className:o,children:n})};Te.Info=e=>jsxRuntime.jsx(Te,{color:"i",...e});Te.Link=e=>jsxRuntime.jsx(Te,{color:"l",...e});Te.Primary=e=>jsxRuntime.jsx(Te,{color:"p",...e});Te.Danger=e=>jsxRuntime.jsx(Te,{color:"d",...e});Te.Success=e=>jsxRuntime.jsx(Te,{color:"s",...e});Te.Warning=e=>jsxRuntime.jsx(Te,{color:"w",...e});function Wr({position:e="tr",color:t="l",title:n,children:o}){let r="badge";return e==="tr"||e==="top-right"?r+=" is-top-right":e==="tl"||e==="top-left"?r+=" is-top-left":e==="tc"||e==="top-center"?r+=" is-top-center":e==="bl"||e==="bottom-left"?r+=" is-bottom-left":e==="br"||e==="bottom-right"?r+=" is-bottom-right":e==="bc"||e==="bottom-center"?r+=" is-bottom-center":e==="lc"||e==="left-center"?r+=" is-left-center":(e==="rc"||e==="right-center")&&(r+=" is-right-center"),t==="p"?r+=" is-primary":t==="l"?r+=" is-link":t==="i"?r+=" is-info":t==="w"?r+=" is-warning":t==="d"?r+=" is-danger":t==="s"?r+=" is-success":t==="dark"?r+=" is-dark":t==="light"?r+=" is-light":t.startsWith("is-")&&(r+=` ${t}`),jsxRuntime.jsx("span",{className:r,title:n,children:o})}function pn({children:e,className:t=""}){let n=`kbd ${t}`.trim();return jsxRuntime.jsx("kbd",{className:n,children:e})}function _r({keys:e,separator:t,className:n=""}){let o=e.map((r,i)=>i===e.length-1?jsxRuntime.jsx(pn,{children:r},r):jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx(pn,{children:r}),jsxRuntime.jsx("span",{children:t??"+"})]},r));return jsxRuntime.jsx("span",{className:n,children:o})}var ve=({initialItem:e,children:t,className:n,style:o,onMenuItemClicked:r,itemRef:i})=>{let[a,s]=Ee__default.default.useState(e??""),l=u=>{r(u),s(u);},c=Ee__default.default.Children.map(t,u=>u.type===ve.Item?jsxRuntime.jsx("ul",{children:jsxRuntime.jsx(mn,{...u.props,activeItem:a,onInternClick:l})}):u.type===ve.ItemGroup?jsxRuntime.jsx(Ur,{...u.props,activeItem:a,onInternClick:l}):u.type===ve.ExpandableItem?jsxRuntime.jsx("ul",{className:"menu-list",children:jsxRuntime.jsx(so,{...u.props,activeItem:a,onInternClick:l})}):u),m=`menu ${n}`.trim();return jsxRuntime.jsx("aside",{className:m,role:"menu",style:o,ref:i,children:c})};function Ur({label:e,children:t,activeItem:n,onInternClick:o}){return jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx("p",{className:"menu-label",children:e}),jsxRuntime.jsx("ul",{className:"menu-list",children:Ee__default.default.Children.map(t,r=>r.type===ve.Item?jsxRuntime.jsx(mn,{...r.props,activeItem:n,onInternClick:o}):r.type===ve.ExpandableItem?jsxRuntime.jsx(so,{...r.props,activeItem:n,onInternClick:o}):r)})]})}function so({label:e,onClick:t,onInternClick:n,children:o,startExpanded:r,activeItem:i}){let[a,s]=Ee__default.default.useState(r??!1),l=m=>{t&&t(e,m),s(!a);},c=Ee__default.default.Children.map(o,m=>m.type===ve.Item?jsxRuntime.jsx(mn,{...m.props,activeItem:i,onInternClick:n}):m);return jsxRuntime.jsxs("li",{children:[jsxRuntime.jsxs("span",{className:"menu-list-item",onClick:l,children:[jsxRuntime.jsx(me,{color:"i",size:"s",icon:a?freeSolidSvgIcons.faChevronUp:freeSolidSvgIcons.faChevronDown}),jsxRuntime.jsxs("span",{children:[" ",e]})]}),a&&jsxRuntime.jsx("ul",{children:c})]})}function mn({name:e,activeItem:t,children:n,onInternClick:o,onClick:r}){let i=s=>{r&&r(a,s),o(a);},a=e??Ee__default.default.Children.toArray(n).filter(s=>typeof s=="string")[0].toString();return jsxRuntime.jsx("li",{onClick:i,id:a,children:jsxRuntime.jsx("span",{className:t===a?"menu-list-item is-active":"menu-list-item",children:n})})}ve.Item=({name:e,children:t})=>jsxRuntime.jsxs("span",{children:[e,t]});ve.ItemGroup=({label:e,children:t})=>jsxRuntime.jsxs("div",{children:[e,t]});ve.ExpandableItem=e=>jsxRuntime.jsx("div",{children:e.children});ve.Label=({children:e})=>jsxRuntime.jsx("p",{className:"menu-label",children:e});var be=({id:e,children:t,title:n,size:o="m",color:r="i",icon:i=void 0,collapsable:a=!1,startCollapsed:s=!1,itemRef:l,onDismiss:c})=>{let[m,u]=Zn(!s),p="message";r==="i"?p+=" is-info":r==="s"?p+=" is-success":r==="w"?p+=" is-warning":r==="d"?p+=" is-danger":r==="l"?p+=" is-link":r==="p"&&(p+=" is-primary");let d;return i===void 0&&r==="w"?d=freeSolidSvgIcons.faExclamation:i===void 0&&r==="d"?d=freeSolidSvgIcons.faExclamationTriangle:i===void 0&&r==="s"?d=freeSolidSvgIcons.faCheck:i===void 0?d=freeSolidSvgIcons.faInfo:d=i,o==="s"?p+=" is-small":o==="m"?p+=" is-normal":o==="l"?p+=" is-medium":o==="xl"&&(p+=" is-large"),jsxRuntime.jsxs("article",{className:p,id:e,ref:l,children:[jsxRuntime.jsxs("div",{className:"message-header","data-testid":"message-header",onClick:()=>a&&u(),style:{cursor:a?"pointer":"default"},children:[jsxRuntime.jsxs("p",{children:[a&&jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs("span",{className:"icon mr-1",children:[m&&jsxRuntime.jsx(me,{icon:freeSolidSvgIcons.faChevronCircleUp}),!m&&jsxRuntime.jsx(me,{icon:freeSolidSvgIcons.faChevronCircleDown})]})}),jsxRuntime.jsx("span",{className:"icon mr-3",children:jsxRuntime.jsx(me,{icon:d})}),n]}),c&&jsxRuntime.jsx("button",{className:"delete"})]}),!a&&jsxRuntime.jsx("div",{className:"message-body","data-testid":"message-body",children:t}),a&&m&&jsxRuntime.jsx("div",{className:"message-body","data-testid":"message-body",children:t})]})};be.Primary=e=>jsxRuntime.jsx(be,{...e,color:"p"});be.Success=e=>jsxRuntime.jsx(be,{...e,color:"s"});be.Danger=e=>jsxRuntime.jsx(be,{...e,color:"d"});be.Warning=e=>jsxRuntime.jsx(be,{...e,color:"w"});be.Info=e=>jsxRuntime.jsx(be,{...e,color:"i"});be.Link=e=>jsxRuntime.jsx(be,{...e,color:"l"});var je=({size:e="m",itemRef:t,children:n,onOpened:o,onDismiss:r,helpTag:i})=>{Ee__default.default.useEffect(()=>(document.documentElement.classList.add("is-clipped"),o&&o(i),()=>document.documentElement.classList.remove("is-clipped")),[]);let a="800px";e==="s"?a="600px":e==="m"?a="800px":e==="l"?a="1000px":e==="xl"?a="1200px":typeof e=="string"&&(a=e);let s=Ee__default.default.Children.map(n,l=>l?l.type===je.Head?jsxRuntime.jsx(ni,{...l.props}):l.type===je.Body?jsxRuntime.jsx(dn,{...l.props}):l.type===je.Foot?jsxRuntime.jsx(oi,{...l.props}):jsxRuntime.jsx(dn,{children:l}):null)?.sort((l,c)=>l.type.name==="InternHead"?-1:l.type.name==="InternBody"&&c.type.name==="InternHead"?1:l.type.name==="InternBody"&&c.type.name==="InternFoot"?-1:l.type.name==="InternFoot"?1:0);return !s||s?.length===0?console.warn("<Modal> A Modal needs at least one child"):s.filter(l=>l.type===dn).length>1&&console.warn("<Modal> A modal should have only one body. Wrap multiple children into a <Modal.Body>-tag."),jsxRuntime.jsx(Ee__default.default.Fragment,{children:jsxRuntime.jsxs("div",{className:"modal is-active","data-testid":"modal",children:[jsxRuntime.jsx("div",{className:"modal-background","data-testid":"modal-bg"}),jsxRuntime.jsx("div",{className:"modal-content bulma-box modal-container","data-testid":"modal-content",style:{width:a},ref:t,children:s}),jsxRuntime.jsx("button",{className:"modal-close is-large","aria-label":"close",onClick:r})]})})},ni=({children:e})=>jsxRuntime.jsx("div",{className:"modal-header","data-testid":"modal-header",children:e}),dn=({children:e})=>jsxRuntime.jsx("div",{className:"modal-body","data-testid":"modal-body",children:e}),oi=({children:e})=>jsxRuntime.jsx("div",{className:"modal-footer","data-testid":"modal-footer",children:e});je.Head=({children:e})=>jsxRuntime.jsx("div",{children:e});je.Body=({children:e})=>jsxRuntime.jsx("div",{children:e});je.Foot=({children:e})=>jsxRuntime.jsx("div",{children:e});var ue=({children:e,onDismiss:t,onClick:n,autoDismissAfter:o=-1,color:r="i",icon:i=void 0,id:a,itemRef:s})=>{let l=o>0?setTimeout(()=>m(null),o):null,[c]=Ee__default.default.useState(l);Ee__default.default.useEffect(()=>()=>c?clearTimeout(c):void 0,[c]);let m=f=>{c&&clearTimeout(c),t(f);},u=f=>{n?n(f):m(f);},p="notification";r==="i"?p+=" is-info":r==="s"?p+=" is-success":r==="w"?p+=" is-warning":r==="d"?p+=" is-danger":r==="l"?p+=" is-link":r==="p"&&(p+=" is-primary");let d;return i?d=i:r==="s"?d=freeSolidSvgIcons.faCheck:r==="w"?d=freeSolidSvgIcons.faExclamation:r==="d"?d=freeSolidSvgIcons.faExclamationTriangle:d=freeSolidSvgIcons.faInfo,jsxRuntime.jsxs("article",{className:p,onClick:u,id:a,ref:s,children:[jsxRuntime.jsx("button",{className:"delete",onClick:m}),jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx("span",{className:"icon is-medium mr-2",style:{float:"left"},children:jsxRuntime.jsx(me,{icon:d})}),e]})]})};ue.Primary=e=>jsxRuntime.jsx(ue,{...e,color:"p"});ue.Danger=e=>jsxRuntime.jsx(ue,{...e,color:"d"});ue.Warning=e=>jsxRuntime.jsx(ue,{...e,color:"w"});ue.Success=e=>jsxRuntime.jsx(ue,{...e,color:"s"});ue.Link=e=>jsxRuntime.jsx(ue,{...e,color:"l"});ue.Info=e=>jsxRuntime.jsx(ue,{...e,color:"i"});function ci({color:e="i",size:t="m",prefix:n="",suffix:o="",max:r=100,value:i,title:a}){let s="progress";t==="s"?s+=" is-small":t==="m"?s+=" is-normal":t==="l"?s+=" is-medium":t==="xl"&&(s+=" is-large"),e==="s"?s+=" is-success":e==="i"?s+=" is-info":e==="p"?s+=" is-primary":e==="d"?s+=" is-danger":e==="l"?s+=" is-link":e==="w"?s+=" is-warning":e==="dark"?s+=" is-dark":e==="light"?s+=" is-light":e.startsWith("is-")&&(s+=` ${e}`);let l=i&&i!=="indeterminate"?`${n} ${i} ${o}`.trim():void 0,c=a?typeof a=="function"?a(i):a:l;return jsxRuntime.jsx("progress",{className:s,value:i==="indeterminate"?void 0:i,max:r,title:c,role:"progress",children:l})}function mi({rowIdentifier:e,columns:t,data:n,onRowSelected:o,tableRef:r,containerRef:i,id:a,hasFooter:s,...l}){let c=p=>p&&typeof p[0]=="string"?p.map(f=>({header:f,value:f})):p?p.map(f=>(!f.header&&f.header!==""&&typeof f.value=="string"&&(f.header=f.value),f)):Object.keys(n[0]).map(d=>({header:d,value:d})),m=(p,d)=>{o&&o(p,d);},u=c(t);return jsxRuntime.jsxs(W,{tableRef:r,containerRef:i,...l,children:[jsxRuntime.jsx(di,{columns:u}),jsxRuntime.jsx(ui,{columns:u,data:n,rowIdentifier:e,onRowSelected:(p,d)=>m(p,d)}),s&&jsxRuntime.jsx(fi,{columns:u})]})}function ui({columns:e,data:t,rowIdentifier:n,onRowSelected:o}){return jsxRuntime.jsx(W.Body,{children:t.map((r,i)=>jsxRuntime.jsx(W.Row,{onClick:a=>o(r,a.currentTarget),children:e.map((a,s)=>{let l=typeof a.value=="function"?a.value(r):r[a.value];return jsxRuntime.jsx(W.Cell,{children:l},s)})},typeof n=="function"?n(r):n?r[n]:i))})}function di({columns:e}){return jsxRuntime.jsx(W.Head,{children:jsxRuntime.jsx(W.Row,{children:e.map(t=>jsxRuntime.jsx(W.TH,{children:t.header},t.header))})})}function fi({columns:e}){return jsxRuntime.jsx(W.Foot,{children:jsxRuntime.jsx(W.Row,{children:e.map(t=>jsxRuntime.jsx(W.TH,{children:t.header},t.header))})})}var W=({id:e,containerRef:t,tableRef:n,scrollX:o=!1,striped:r=!1,bordered:i=!1,hoverable:a=!1,fullwidth:s=!1,narrow:l=!1,children:c,className:m=""})=>{let u="table";return r&&(u+=" is-striped"),i&&(u+=" is-bordered"),a&&(u+=" is-hoverable"),s&&(u+=" is-fullwidth"),l&&(u+=" is-narrow"),m&&(u+=` ${m}`),jsxRuntime.jsx("div",{ref:t,className:o?"table-container":void 0,children:jsxRuntime.jsx("table",{className:u,ref:n,id:e,children:c})})};W.Head=({children:e,className:t,...n})=>jsxRuntime.jsx("thead",{className:t,...n,children:e});W.Foot=({children:e,className:t,...n})=>jsxRuntime.jsx("tfoot",{className:t,...n,children:e});W.Body=({children:e,className:t,...n})=>jsxRuntime.jsx("tbody",{className:t,...n,children:e});W.Row=({children:e,className:t,...n})=>jsxRuntime.jsx("tr",{className:t,...n,children:e});W.Cell=({children:e,className:t,...n})=>jsxRuntime.jsx("td",{className:t,...n,children:e});W.HCell=({children:e,className:t,...n})=>jsxRuntime.jsx("th",{className:t,...n,children:e});W.ColGroup=({className:e,...t})=>jsxRuntime.jsx("colgroup",{className:e,...t});W.Col=e=>jsxRuntime.jsx("col",{...e});W.TR=W.Row;W.TD=W.Cell;W.TH=W.HCell;var fn=({size:e="m",id:t,itemRef:n,className:o,activeStepIndex:r,onChangeStep:i,children:a,freeStepChoice:s})=>{let[l,c]=Ee__default.default.useState(r??0),m=p=>{i&&i(p),c(p);};Ee__default.default.useEffect(()=>{c(r??0);},[r]);let u="steps is-animated";return e==="s"?u+=" is-small":e==="m"?u+=" is-normal":e==="l"?u+=" is-medium":e==="xl"&&(u+=" is-large"),u+=` ${o}`,jsxRuntime.jsx("div",{className:u,id:t,ref:n,children:Ee__default.default.Children.map(a,(p,d)=>{if(p.type&&p.type===fn.Item){let f=!0;return s==="allowed"||s==="down"&&d<l||s==="up"&&d>l?f=!1:f=d!=l+1&&d!=l-1,jsxRuntime.jsx(yi,{...p.props,activeStep:l,stepKey:d,disabled:f,onClick:m},p.props.title)}else return p})})};fn.Item=e=>jsxRuntime.jsx(Ee__default.default.Fragment,{children:e.title});function yi({disabled:e,stepKey:t,activeStep:n,status:o,marker:r,title:i,children:a,details:s,onClick:l}){let c=()=>{e||t===n||(l(t),u("active"));},[m,u]=Ee__default.default.useState(o??"pending");Ee__default.default.useEffect(function(){let y="pending";o==="error"?y="error":o==="completed"||n>t?y="completed":t===n&&(y="active"),u(y);},[o,t,n]);let p="step-item";n===t?p+=" is-active is-info":m==="error"?p+=" is-error is-danger":m==="completed"?p+=" is-completed is-success":p+=" is-pending";let d;return r?typeof r=="function"?d=r(m):d=r:d=jsxRuntime.jsx(Ee__default.default.Fragment,{children:t+1}),jsxRuntime.jsxs("div",{className:p,onClick:c,title:i,children:[jsxRuntime.jsx("div",{className:"step-marker",children:d}),jsxRuntime.jsxs("div",{className:"step-details",children:[jsxRuntime.jsx("p",{className:"step-title",children:a}),s&&jsxRuntime.jsx("p",{children:s})]})]})}var mo=({id:e,activeTab:t,initialTab:n,size:o,alignment:r,fullwidth:i,children:a,onTabChange:s})=>{let[l,c]=Ee__default.default.useState(t??n),m=(d,f)=>{f||(c(d),s(d));};Ee__default.default.useEffect(()=>{t!==void 0&&c(l);},[l]);let u="tabs is-boxed";o==="s"?u+=" is-small":o==="l"?u+=" is-medium":o==="xl"&&(u+=" is-large"),r==="c"?u+=" is-centered":r==="r"&&(u+=" is-right"),u+=i?" is-fullwidth":"";let p=Ee__default.default.Children.map(a,(d,f)=>jsxRuntime.jsx(hi,{isActive:l?l===d.props.tabId:f===0,disabled:d.props.disabled,onClick:()=>m(d.props.tabId,d.props.disabled),children:d}));return jsxRuntime.jsx("div",{className:u,id:e,children:jsxRuntime.jsx("ul",{children:p})})};function hi({children:e,isActive:t,disabled:n=!1,onClick:o}){let r="";return t&&(r+="is-active"),n&&(r+=" is-disabled"),jsxRuntime.jsx("li",{role:"tab",className:r,onClick:o,children:e})}function Ti({children:e,tabId:t,title:n,disabled:o=!1}){let r=Ee__default.default.Children.map(e,i=>!i||i===""?null:i);return jsxRuntime.jsx("span",{title:n,id:t?.toString()||void 0,className:"tab",children:r})}mo.Item=Ti;function Et({children:e,color:t="l",size:n=void 0,light:o=!1,title:r,onDismiss:i}){let a="tag is-rounded";o&&(a+=" is-light"),t==="p"?a+=" is-primary":t==="l"?a+=" is-link":t==="i"?a+=" is-info":t==="d"?a+=" is-danger":t==="w"?a+=" is-warning":t==="s"?a+=" is-success":t==="dark"?a+=" is-dark":t==="light"?a+=" is-light":t.startsWith("is-")&&(a+=` ${t}`),n||(n="s"),n==="s"?a+=" is-normal":n==="m"?a+=" is-medium":n==="l"&&(a+=" is-large");let s="delete";return i&&n==="s"?s+=" is-small":i&&n==="m"?s+=" is-ismall":i&&n==="l"&&(s+=" is-normal"),jsxRuntime.jsxs("span",{className:a,title:r,children:[e,i&&jsxRuntime.jsx("button",{className:s,onClick:c=>i&&i(c)})]})}function Si({children:e,merged:t=!1,size:n="s",alignment:o="l",className:r="",styles:i={},itemRef:a,id:s=void 0}){let l="tags";n==="s"?l+=" are-small":n==="m"?l+=" are-medium":n==="l"&&(l+=" are-large"),o==="l"?l+=" is-left":o==="r"?l+=" is-right":o==="c"&&(l+=" is-centered"),t&&(l+=" has-addons"),l=`${l} ${r}`.trim();let c=Ee__default.default.Children.map(e,m=>m.type===Et&&!m.props.size?jsxRuntime.jsx(Et,{size:n,...m.props}):m);return jsxRuntime.jsx("div",{className:l,style:i,ref:a,id:s,children:c})}var yn=({id:e,alignment:t="l",children:n,className:o})=>{let r="timeline";return t==="l"?r+=" is-ltr":t==="c"?r+=" is-centered":t==="r"&&(r+=" is-rtl"),r=`${r} ${r}`.trim(),jsxRuntime.jsx("div",{className:r,id:e,children:n})};yn.Point=({children:e,color:t="l",size:n="s",title:o,onClick:r})=>jsxRuntime.jsx("div",{className:"timeline-header",onClick:r,children:jsxRuntime.jsx(Et,{color:t,size:n,title:o,children:e})});yn.Item=({marker:e,heading:t,children:n,title:o,onClick:r})=>{let i="timeline-marker";return e?.color==="p"?i+=" is-primary":e?.color==="l"?i+=" is-link":e?.color==="i"?i+=" is-info":e?.color==="s"?i+=" is-success":e?.color==="d"?i+=" is-danger":e?.color==="w"?i+=" is-warning":e?.color==="light"?i+=" is-light":e?.color==="dark"&&(i+=" is-dark"),e?.icon&&(i+=" is-icon"),jsxRuntime.jsxs("div",{className:"timeline-item",title:o,onClick:()=>r&&r(t),children:[jsxRuntime.jsx("div",{className:i,children:e?.icon&&jsxRuntime.jsx(me,{icon:e.icon})}),jsxRuntime.jsxs("div",{className:"timeline-content",children:[t&&jsxRuntime.jsx("p",{className:"heading",children:t}),jsxRuntime.jsx("div",{children:n})]})]})};var vi=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h1",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e}),Ii=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h2",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e}),Ci=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h3",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e}),xi=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h4",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e}),Ei=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h5",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e}),Ri=({children:e,subtitle:t=!1,size:n,id:o,ariaLabeledBy:r="",ariaRole:i="heading",className:a="",itemRef:s,...l})=>jsxRuntime.jsx("h6",{className:`${t?"subtitle":"title"} is-${n!==void 0?n:t?5:3} ${a}`,"aria-labelledby":r,role:i,id:o,ref:s,...l,children:e});var ot=({children:e,id:t,itemRef:n,color:o,alignment:r="r",tag:i,onDismiss:a,onOpened:s})=>{Ee__default.default.useEffect(()=>s&&s(i),[]);let l="quickview is-active";r==="l"?l+=" is-left":r==="r"&&(l+=" is-right");let c=null,m=null,u=null;return Ee__default.default.Children.forEach(e,p=>{if(Ee__default.default.isValidElement(p))switch(p.type){case ot.Header:c=jsxRuntime.jsx(Tn,{...p.props,onDismiss:a,color:o});break;case ot.Body:m=jsxRuntime.jsx(bn,{...p.props});break;case ot.Footer:u=jsxRuntime.jsx(fo,{...p.props});break;default:m=jsxRuntime.jsx(bn,{children:p});break}}),jsxRuntime.jsxs("div",{id:t,className:l,ref:n,children:[c??jsxRuntime.jsx(Tn,{onDismiss:a}),m,u]})};function Tn({children:e,color:t="i",onDismiss:n}){let o="quickview-header";return t==="i"?o+=" is-info":t==="s"?o+=" is-success":t==="w"?o+=" is-warning":t==="d"?o+=" is-danger":t==="l"?o+=" is-link":t==="p"&&(o+=" is-primary"),typeof e=="string"&&(e=jsxRuntime.jsx("h3",{className:"title is-4",children:e})),jsxRuntime.jsxs("header",{className:o,children:[e,jsxRuntime.jsx("button",{className:"delete",onClick:n,title:"close"})]})}var bn=({children:e})=>jsxRuntime.jsx("section",{className:"quickview-body",children:e}),fo=({children:e})=>jsxRuntime.jsx("footer",{className:"quickview-footer",children:e});ot.Header=Tn;ot.Body=bn;ot.Footer=fo;var w=({size:e="m",rounded:t=!1,alignment:n="l",value:o,initialValue:r,children:i,className:a,onToggle:s})=>{let[l,c]=Ee__default.default.useState(o??r);Ee__default.default.useEffect(()=>{o!==void 0&&l!==o&&c(o);},[o]);let m=d=>{l!=d&&(s&&s(d),c(d));},u=Ee__default.default.Children.map(i,(d,f)=>{let y=d.props?.identifier??Ee__default.default.Children.map(d.props.children,g=>typeof g=="string"?g:typeof g.type=="string"?g.type:Ee__default.default.useId())?.join("")??""+f;return d.type===yo?jsxRuntime.jsx(Ni,{...d.props,toggled:l==y,identifier:y,onToggleClick:m}):d.type===ho?jsxRuntime.jsx(Ai,{...d.props,identifier:y}):d}),p="tabs is-toggle";return t&&(p+=" is-toggle-rounded"),e==="s"?p+=" is-small":e==="m"?p+=" is-normal":e==="l"?p+=" is-medium":e==="xl"&&(p+=" is-large"),n==="l"&&(p+=" is-left"),n==="c"?p+=" is-centered":n==="r"&&(p+=" is-right"),a&&(p+=" "+a),jsxRuntime.jsx("div",{className:p,children:jsxRuntime.jsx("ul",{children:u})})},yo=e=>jsxRuntime.jsx("button",{disabled:e.disabled,children:e.children});function Ni({disabled:e,title:t,toggled:n,children:o,identifier:r,onClick:i,onToggleClick:a}){let s="";return e&&(s+=" is-disabled"),n&&(s+=" is-active"),jsxRuntime.jsx("li",{title:t,className:s,onClick:()=>{i&&i(r),e||a(r);},id:r,children:jsxRuntime.jsx("span",{className:"tab",children:o})})}var ho=e=>jsxRuntime.jsx("button",{children:e.children});function Ai({title:e,identifier:t,onToggle:n,toggled:o=!1,disabled:r,children:i}){let[a,s]=Ee__default.default.useState(o);Ee__default.default.useEffect(()=>{o!==void 0&&s(o);},[o]);let l="";a&&(l+="is-active"),r&&(l+=" is-disabled");let c=()=>{r||(n&&n(!a,t),s(!a));};return jsxRuntime.jsx("li",{title:e,id:t,className:l,onClick:()=>c(),children:jsxRuntime.jsx("span",{className:"tab",children:i})})}w.Item=yo;w.OnOffItem=ho;var I=({color:e="p",size:t="m",loading:n=!1,disabled:o=!1,fullwidth:r=!1,type:i="button",styling:a="default",isStatic:s=!1,helpTag:l,onClick:c,onFocus:m,children:u,value:p,...d})=>{let f=S=>{n||o||a==="static"||a==="s"||c&&c(S);},y=S=>{m&&m(S,l);},g="button",T={};s||a==="static"||a==="s"?g+=" is-static":e==="p"?g+=" is-primary":e==="i"?g+=" is-info":e==="l"?g+=" is-link":e==="d"?g+=" is-danger":e==="s"?g+=" is-success":e==="w"?g+=" is-warning":e==="light"?g+=" is-light":e==="dark"?g+=" is-dark":e==="none"?g+="":g+=` ${e}`,t==="s"?g+=" is-small":t==="m"?g+=" is-normal":t==="l"?g+=" is-medium":t==="xl"&&(g+=" is-large"),n&&(g+=" is-loading"),r&&(g+=" is-fullwidth",T={justifyContent:"center"});let v=Ee__default.default.Children.map(u,S=>typeof S=="string"?jsxRuntime.jsx("span",{children:S}):S);return jsxRuntime.jsx("button",{style:T,className:g,type:i,disabled:o,onClick:f,onFocus:y,value:p,...d,children:v})};I.Static=e=>jsxRuntime.jsx(I,{...e,isStatic:!0});I.Primary=e=>jsxRuntime.jsx(I,{...e,color:"p"});I.Success=e=>jsxRuntime.jsx(I,{...e,color:"s"});I.Danger=e=>jsxRuntime.jsx(I,{...e,color:"d"});I.Warning=e=>jsxRuntime.jsx(I,{...e,color:"w"});I.Info=e=>jsxRuntime.jsx(I,{...e,color:"i"});I.Link=e=>jsxRuntime.jsx(I,{...e,color:"l"});I.Light=e=>jsxRuntime.jsx(I,{...e,color:"light"});I.Dark=e=>jsxRuntime.jsx(I,{...e,color:"dark"});function $t({fullwidth:e=!1,children:t,color:n="l",onClick:o,...r}){let i="link-button";return n==="l"?i+=" is-link":n==="p"?i+=" is-primary":n==="s"?i+=" is-success":n==="d"?i+=" is-danger":n==="w"?i+=" is-warning":n==="i"&&(i+=" is-info"),e&&(i+=" is-fullwidth"),jsxRuntime.jsx("button",{className:i,onClick:o,...r,children:t})}function ki({color:e="l",href:t,target:n="_blank",id:o,rel:r="noopener",children:i,...a}){let s="link-button";return e==="l"?s+=" is-link":e==="p"?s+=" is-primary":e==="s"?s+=" is-success":e==="d"?s+=" is-danger":e==="w"?s+=" is-warning":e==="i"&&(s+=" is-info"),jsxRuntime.jsx("a",{className:s,href:t,target:n,id:o,rel:r,...a,children:i})}function ut({unevenSize:e=!1,...t}){return e?jsxRuntime.jsx(Di,{...t}):jsxRuntime.jsx(Mi,{...t})}function Di({children:e,hasAddons:t=!1,alignment:n="l",className:o=void 0}){let r="field";return r+=t?" has-addons":" is-grouped",n==="l"?r+=" is-grouped-left":n==="c"?r+=" is-grouped-centered":n==="r"&&(r+=" is-grouped-right"),o&&(r+=` ${o}`),jsxRuntime.jsx("div",{className:r,children:Ee__default.default.Children.map(e,i=>jsxRuntime.jsx("div",{className:"control",children:i}))})}function Mi({children:e,alignment:t="l",className:n=""}){let o="evenly-sized-buttons";t==="l"&&(o+=" is-left"),t==="c"?o+=" is-centered":t==="r"&&(o+=" is-right"),n&&(o+=` ${n}`);let r=Ee__default.default.Children.map(e,i=>i?.type===I?jsxRuntime.jsx(I,{...i.props,fullwidth:!0}):i?.type===I.Primary?jsxRuntime.jsx(I.Primary,{...i.props,fullwidth:!0}):i?.type===I.Info?jsxRuntime.jsx(I.Info,{...i.props,fullwidth:!0}):i?.type===I.Link?jsxRuntime.jsx(I.Link,{...i.props,fullwidth:!0}):i?.type===I.Success?jsxRuntime.jsx(I.Success,{...i.props,fullwidth:!0}):i?.type===I.Warning?jsxRuntime.jsx(I.Warning,{...i.props,fullwidth:!0}):i?.type===I.Danger?jsxRuntime.jsx(I.Danger,{...i.props,fullwidth:!0}):i?.type===I.Light?jsxRuntime.jsx(I.Light,{...i.props,fullwidth:!0}):i?.type===I.Dark?jsxRuntime.jsx(I.Dark,{...i.props,fullwidth:!0}):i?.type===$t?jsxRuntime.jsx($t,{...i.props,fullwidth:!0}):i?.type==="button"?jsxRuntime.jsx("button",{...i.props,style:{...i.props.style,width:"100%"}}):null);return jsxRuntime.jsx("div",{className:o,children:jsxRuntime.jsx("div",{className:"evenly-sized-buttons-container",style:{display:"grid",direction:"ltr",gridTemplateColumns:`repeat(${Ee__default.default.Children.count(e)}, 1fr) `,gap:"0.5rem",gridTemplateRows:"1fr",gridAutoFlow:"column"},children:r})})}var Ve={transition:"background-color .2s ease-in-out, color .2s ease-in-out",fontSize:"0.7em",height:"1.5em",margin:"6px 3px",borderRadius:"5px",textAlign:"start",paddingLeft:"3px",paddingRight:"3px",overflow:"clip",textOverflow:"ellipsis"},_e={textAlign:"center",borderBottom:"1px solid #f1f1f1",fontWeight:"bold",color:"#888"},dt={display:"grid",gridTemplateRows:"30px repeat(6, minmax(170px, auto))",justifyItems:"stretch",alignItems:"stretch"},ze={backgroundColor:"#f1f1f1",borderRight:"2px solid #f1f1f1",borderTop:"thin solid #f1f1f1",textAlign:"center",fontSize:"0.7em",color:"#888",paddingTop:"1em"},Wt={borderRight:"thin solid #f1f1f1",borderBottom:"thin solid #f1f1f1",textAlign:"center",fontSize:"1.1em",color:"#888"},bo={marginBottom:".5em",marginTop:".25em",verticalAlign:"middle",transition:"background-color .2s ease-in-out"},Xt={borderRadius:"15px",padding:".25em .65em",transition:"background-color .2s ease-in-out, color .2s ease-in-out"},So={width:"0.9em",height:"0.9em",borderRadius:"3px",marginRight:".5em",display:"inline-block",transition:"background-color .2s ease-in-out"};function Rt({event:e,options:t,onClick:n,desc:o}){let[r,i]=Ee__default.default.useState(!1),a=Ee__default.default.useCallback(Re,[]),s=Ee__default.default.useMemo(()=>{let c="p";e.evtColor?c=typeof e.evtColor=="function"?e.evtColor(r):e.evtColor:t?.evtColor&&(c=t.evtColor(e,r)),c==="p"?c="#0089b6":c==="i"?c="#3b59ec":c==="l"?c="2f47bc":c==="d"?c="#d91000":c==="s"?c="#519c43":c==="w"?c="#eea720":c==="dark"?c="#363636":c==="light"&&(c="#f5f5f5"),c+=r?"aa":"ff";let m=a(c);return {...Ve,paddingLeft:"1em",backgroundColor:c,color:m,cursor:n?"pointer":"default"}},[e,r]),l=Ee__default.default.useRef(null);return jsxRuntime.jsx("div",{ref:l,onClick:c=>{c.preventDefault(),c.stopPropagation(),n&&n(e,c);},style:s,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:jsxRuntime.jsx("span",{children:o(e)})})}function it({event:e,options:t,onClick:n,desc:o}){let[r,i]=Ee__default.default.useState(!1),a=Ee__default.default.useCallback(Re,[]),s=Ee__default.default.useMemo(()=>{let m=r?"#f1f1f1":"#ffffff00",u=a(m);return {...Ve,backgroundColor:m,color:u,cursor:n?"pointer":"default"}},[r]),l=Ee__default.default.useMemo(()=>{let m="p";return e.evtColor?m=typeof e.evtColor=="function"?e.evtColor(r):e.evtColor:t?.evtColor&&(m=t.evtColor(e,r)),m==="p"?m="#0089b6":m==="i"?m="#3b59ec":m==="l"?m="2f47bc":m==="d"?m="#d91000":m==="s"?m="#519c43":m==="w"?m="#eea720":m==="dark"?m="#363636":m==="light"&&(m="#f5f5f5"),{...So,backgroundColor:m}},[e,r]),c=Ee__default.default.useRef(null);return jsxRuntime.jsxs("div",{ref:c,onClick:m=>{m.preventDefault(),m.stopPropagation(),n&&n(e,m);},style:s,onMouseEnter:()=>i(!0),onMouseLeave:()=>i(!1),children:[jsxRuntime.jsx("span",{style:l}),o(e)]})}function vo({events:e,onEventClick:t,options:n}){let[o,r]=Ee__default.default.useState(()=>e.slice(4)),[i,a]=Ee__default.default.useState(!1),[s,l]=Ee__default.default.useState(!1);Ee.useEffect(()=>{r(e.slice(4));},[e]);let c=Ee__default.default.useMemo(()=>({...Ve,backgroundColor:i?"#f4f4f4":"transparent",color:i?"#3b59ec":"#000000",height:"1.5em",fontSize:"0.6em"}),[i]),m=Ee__default.default.useMemo(()=>({width:"0.9em",height:"0.9em",borderRadius:"3px",backgroundColor:"transparent",marginRight:".5em",display:"inline-block"}),[e]),u=()=>{l(!s),a(!1);};return jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[s&&o.map(p=>p.allDay?jsxRuntime.jsx(Rt,{desc:d=>jsxRuntime.jsx("span",{children:typeof d.title=="string"?d.title:d.title()}),event:p,options:n?.allday,onClick:t},`${typeof p.id=="function"?p.id():p.id}`):jsxRuntime.jsx(it,{desc:d=>jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx("strong",{children:d.startDateTime.timeHM}),jsxRuntime.jsx("span",{children:typeof d.title=="string"?d.title:d.title()})]}),event:p,options:n?.timed,onClick:t},`${typeof p.id=="function"?p.id():p.id}`)),jsxRuntime.jsxs("div",{onMouseEnter:()=>a(!0),onMouseLeave:()=>a(!1),style:c,children:[!s&&jsxRuntime.jsxs("div",{onClick:u,children:[jsxRuntime.jsx("span",{style:m}),jsxRuntime.jsxs("span",{children:["Nog ",o.length," ..."]})]}),s&&jsxRuntime.jsxs("div",{onClick:u,children:[jsxRuntime.jsx("span",{style:m}),jsxRuntime.jsx("span",{children:"Toon minder"})]})]})]})}var Pe=class extends Ee__default.default.Component{static defaultProps={position:"bottom",color:"l",content:void 0,display:"inline"};state={active:!1};show=()=>this.setState({active:!0});hide=()=>this.setState({active:!1});render(){let{content:t,children:n,color:o,display:r}=this.props,{active:i}=this.state;if(t){let a="tooltip is-bottom",s="tooltip-arrow";return o==="p"?(a+=" is-primary",s+=" is-primary"):o==="i"?(a+=" is-info",s+=" is-info"):o==="l"?(a+=" is-link",s+=" is-link"):o==="d"?(a+=" is-danger",s+=" is-danger"):o==="s"?(a+=" is-success",s+=" is-success"):o==="w"?(a+=" is-warning",s+=" is-warning"):(a+=` ${o}`,s+=` ${o}`),jsxRuntime.jsxs("div",{className:r==="block"?"tooltip-wrapper-block":"tooltip-wrapper-inline",onMouseEnter:this.show,onMouseLeave:this.hide,children:[n,i&&jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx("div",{className:a,children:t}),jsxRuntime.jsx("div",{className:s})]})]})}else return jsxRuntime.jsx(Ee__default.default.Fragment,{children:n})}};function _t({options:e,date:t,onDayClick:n,onEventClick:o,events:r,tooltipColor:i="is-light",isCurrentMonth:a=!0}){let[s,l]=Ee__default.default.useState(!1),c=Ee__default.default.useCallback(Re,[]),m=Ee__default.default.useMemo(()=>({...Wt,backgroundColor:a?"transparent":"#f8f8f8",color:a?"#888888":"#bbbbbb"}),[t,r]),u=Ee__default.default.useMemo(()=>{if(e?.today?.doNotMarkToday)return {};let f="p";e?.today?.bgColor&&(f=e.today.bgColor(s,t)),f==="p"?f="#0089b6":f==="i"?f="#3b59ec":f==="l"?f="2f47bc":f==="d"?f="#d91000":f==="s"?f="#519c43":f==="w"?f="#eea720":f==="dark"?f="#363636":f==="light"&&(f="#f5f5f5");let y=c(f);return {...Xt,backgroundColor:f,color:y}},[t,s]),p=(f,y)=>{o&&o(f,y);},d=(f,y)=>{n&&n(f,y);};return jsxRuntime.jsxs("div",{style:m,onClick:f=>d(t,f),children:[jsxRuntime.jsxs("div",{onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),style:{...bo,cursor:n?"pointer":"default",backgroundColor:s?"#f4f4f4":"transparent",color:a?"#555555":"#bbbbbb"},children:[jsxRuntime.jsx("span",{style:t.isToday?u:void 0,children:t.day}),jsxRuntime.jsxs("span",{style:{color:a?"#777777":"#bbbbbb",fontSize:"0.66em"},children:[" ",t.monthLong]})]}),jsxRuntime.jsx("div",{children:r.map((f,y)=>{let g=`${typeof f.id=="function"?f.id():f.id}`??y;return f.allDay&&y<4?jsxRuntime.jsx(Pe,{display:"block",color:i,content:typeof f.description=="function"?f.description():f.description,children:jsxRuntime.jsx(Rt,{desc:T=>jsxRuntime.jsx("span",{children:typeof T.title=="string"?T.title:T.title()}),event:f,options:e?.event?.allday,onClick:p})},g):!f.allDay&&y<4?jsxRuntime.jsx(Pe,{display:"block",color:i,content:typeof f.description=="function"?f.description():f.description,children:jsxRuntime.jsx(it,{desc:T=>jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx("strong",{children:T.startDateTime.timeHM}),jsxRuntime.jsx("span",{style:{marginLeft:"3px"},children:typeof T.title=="string"?T.title:T.title()})]}),event:f,options:e?.event?.timed,onClick:p})},g):y===4&&r.length>5?jsxRuntime.jsx(vo,{events:r,onEventClick:p,options:e?.event},t.dateShort+"-more"):y===4&&f.allDay?jsxRuntime.jsx(Pe,{display:"block",color:i,content:typeof f.description=="function"?f.description():f.description,children:jsxRuntime.jsx(Rt,{desc:T=>jsxRuntime.jsx("span",{children:typeof T.title=="string"?T.title:T.title()}),event:f,options:e?.event?.allday,onClick:p})},g):y===4&&!f.allDay?jsxRuntime.jsx(Pe,{display:"block",color:i,content:typeof f.description=="function"?f.description():f.description,children:jsxRuntime.jsx(it,{desc:T=>jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx("strong",{children:T.startDateTime.timeHM}),jsxRuntime.jsx("span",{style:{marginLeft:"3px"},children:typeof T.title=="string"?T.title:T.title()})]}),event:f,options:e?.event?.timed,onClick:p})},g):null})})]})}function Co({viewDate:e,options:t,onEventClick:n,onDayClick:o,events:r=[]}){let i=m=>{let u=Math.ceil(m.weekNr/52*13),p=m.clone();for(;Math.ceil(p.weekNr/52*13)===u;)p=p.plus({days:-1});let d=m.clone();for(;Math.ceil(d.weekNr/52*13)===u;)d=d.plus({days:1});p=p.plus({days:1}),d=d.plus({days:-1});let f=r.map(T=>(T.allDay=T.allDay||!T.endDateTime,T.startDateTime instanceof Date&&(T.startDateTime=M.fromDate(T.startDateTime,t?.locale)),T.endDateTime&&T.endDateTime instanceof Date&&(T.endDateTime=M.fromDate(T.endDateTime,t?.locale)),T)).filter(T=>T.startDateTime.isBetween([p,d])),y=p.clone(),g=[];for(;y<=d;){if(s.has(y.weekDay)){let T=y.startOf("day"),v=y.endOf("day"),S=f.filter(b=>b.startDateTime.isBetween([T,v])).sort((b,P)=>b.allDay&&!P.allDay?-1:!b.allDay&&P.allDay?1:b.startDateTime.valueOf()-P.startDateTime.valueOf());g.push([y,S]);}y=y.plus({days:1});}return g},a=e instanceof Date?M.fromDate(e,t?.locale):e.clone(),s=t?.visibleDays&&t?.visibleDays?.size!==0?t?.visibleDays:new Set([1,2,3,4,5,6,7]),l=i(a),c=Ee__default.default.useMemo(()=>({...dt,gridTemplateColumns:`30px repeat(${s.size}, 1fr)`}),[t?.visibleDays]);return jsxRuntime.jsx(Ee__default.default.Fragment,{children:jsxRuntime.jsxs("div",{className:"lbr-grid-container",style:c,children:[jsxRuntime.jsx(Hi,{visibleDays:s,viewDate:a}),jsxRuntime.jsx(Ji,{visibleDays:s,viewDate:a,datesWithEvents:l,options:t,onDayClick:o,onEventClick:n})]})})}function Hi({visibleDays:e,viewDate:t}){let n=[],o=t.startOf("week"),r=t.endOf("week"),i=Array.from(e).sort(),a=0;for(;o<=r&&a<7;)i.includes(o.weekDay)&&n.push(o.dayLong),o=o.plus({days:1}),a++;let s=Ee__default.default.useMemo(()=>({..._e}),[]),l=Ee__default.default.useMemo(()=>({..._e}),[]);return jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx("div",{style:s}),n.map(c=>jsxRuntime.jsx("div",{style:l,children:c},c))]})}function Ji({visibleDays:e,onDayClick:t,onEventClick:n,options:o,datesWithEvents:r}){let i=e.size,a=0;return jsxRuntime.jsx(Ee__default.default.Fragment,{children:r.map(([s,l])=>(a==i&&(a=0),jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[a++===0&&jsxRuntime.jsx(Fi,{weekNr:s.weekNr}),jsxRuntime.jsx(_t,{date:s,events:l,tooltipColor:o?.tooltipColor??"is-light",onEventClick:n,onDayClick:t,options:o},s.ISO)]},s.ISO)))})}function Fi({weekNr:e}){let t=Ee__default.default.useMemo(()=>({...ze}),[]);return jsxRuntime.jsx("div",{style:{...t,borderTopWidth:"0"},children:e})}function xo({viewDate:e,options:t,onEventClick:n,onDayClick:o,events:r=[]}){let i=m=>{let u=m.startOf("month").startOf("week").startOf("day"),p=m.endOf("month").endOf("week").plus({days:1}).startOf("day"),d=r.map(g=>(g.allDay=g.allDay||!g.endDateTime,g.startDateTime instanceof Date&&(g.startDateTime=M.fromDate(g.startDateTime,t?.locale)),g.endDateTime&&g.endDateTime instanceof Date&&(g.endDateTime=M.fromDate(g.endDateTime,t?.locale)),g)).filter(g=>g.startDateTime.isBetween([u,p])),f=u.clone(),y=[];for(;f<p;){if(a.has(f.weekDay)){let g=f.startOf("day"),T=f.endOf("day"),v=d.filter(S=>S.startDateTime.isBetween([g,T])).sort((S,b)=>S.allDay&&!b.allDay?-1:!S.allDay&&b.allDay?1:S.startDateTime.valueOf()-b.startDateTime.valueOf());y.push([f,v]);}f=f.plus({days:1});}return y},a=t?.visibleDays&&t?.visibleDays?.size!==0?t?.visibleDays:new Set([1,2,3,4,5,6,7]),s=e instanceof Date?M.fromDate(e,t?.locale):e.clone(),l=i(s),c=Ee__default.default.useMemo(()=>({...dt,gridTemplateColumns:`30px repeat(${a.size}, 1fr)`}),[t?.visibleDays]);return jsxRuntime.jsx(Ee__default.default.Fragment,{children:jsxRuntime.jsxs("div",{className:"lbr-grid-container",style:c,children:[jsxRuntime.jsx($i,{visibleDays:a,viewDate:s}),jsxRuntime.jsx(Wi,{visibleDays:a,viewDate:s,datesWithEvents:l,options:t,onDayClick:o,onEventClick:n})]})})}function $i({visibleDays:e,viewDate:t}){let n=[],o=t.startOf("week"),r=t.endOf("week"),i=Array.from(e).sort(),a=0;for(;o<=r&&a<7;)i.includes(o.weekDay)&&n.push(o.dayLong),o=o.plus({days:1}),a++;let s=Ee__default.default.useMemo(()=>({..._e}),[]),l=Ee__default.default.useMemo(()=>({..._e}),[]);return jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx("div",{style:s}),n.map(c=>jsxRuntime.jsx("div",{style:l,children:c},c))]})}function Wi({visibleDays:e,onDayClick:t,onEventClick:n,options:o,datesWithEvents:r,viewDate:i}){let a=e.size,s=0;return jsxRuntime.jsx(Ee__default.default.Fragment,{children:r.map(([l,c])=>(s===a&&(s=0),jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[s++===0&&jsxRuntime.jsx(Xi,{weekNr:l.weekNr}),jsxRuntime.jsx(_t,{date:l,events:c,tooltipColor:o?.tooltipColor??"is-light",onEventClick:n,onDayClick:t,options:o,isCurrentMonth:l.hasSame(i,"month")},l.ISO)]},l.ISO)))})}function Xi({weekNr:e}){let t=Ee__default.default.useMemo(()=>({...ze}),[]);return jsxRuntime.jsx("div",{style:{...t,borderTopWidth:"0"},children:e})}function Eo({options:e,events:t,date:n,onEventClick:o,onDayClick:r,tooltipColor:i}){let a=Ee__default.default.useMemo(()=>({...Wt}),[]);return jsxRuntime.jsx("div",{style:a,onClick:s=>r&&r(n.startOf("day"),s),children:t.map(s=>jsxRuntime.jsx(Pe,{display:"block",color:i,content:typeof s.description=="function"?s.description():s.description,children:jsxRuntime.jsx(it,{desc:l=>jsxRuntime.jsx("span",{children:typeof l.title=="function"?l.title():l.title}),event:s,options:e?.event?.allday,onClick:o})},`${typeof s.id=="function"?s.id():s.id}`))})}function Ro({hour:e}){let t=Ee__default.default.useMemo(()=>({...ze,paddingTop:"0",height:"60px",borderBottom:"thin solid #e1e1e1"}),[]);return jsxRuntime.jsxs("div",{style:t,children:[e.toString().padStart(2,"0"),":00"]})}function No({events:e,hour:t,date:n,onEventClick:o,onCellClick:r,options:i,tooltipColor:a}){let s=Ee__default.default.useMemo(()=>({maxHeight:"60px",overflow:"clip",borderBottom:"thin solid #f1f1f1",borderRight:"thin solid #f1f1f1",display:"flex",flexDirection:"row",flexWrap:"nowrap"}),[]),l=Ee__default.default.useRef(null),c=e.length!==0&&l.current?.offsetWidth?l.current.offsetWidth/e.length:0;return jsxRuntime.jsx("div",{style:s,ref:l,onClick:m=>{let u=n.clone().set({hour:t,minute:0,second:0,millisecond:0});r&&r(u,m);},children:e.map((m,u)=>jsxRuntime.jsx(_i,{tooltipColor:a,options:i?.event?.timed,event:m,eventIndex:u,desc:p=>{let d=typeof p.title=="function"?p.title():p.title;return d.length>80&&(d=d.substring(0,80)+"..."),jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx("div",{children:jsxRuntime.jsx("b",{children:p.startDateTime.timeHM})}),jsxRuntime.jsx("div",{children:d})]})},onClick:o,eventWidth:c},`${typeof m.id=="function"?m.id():m.id}`))})}function _i({event:e,options:t,eventWidth:n,eventIndex:o,tooltipColor:r,onClick:i,desc:a}){let[s,l]=Ee__default.default.useState(!1),c=Ee__default.default.useCallback(Re,[]),m=Ee__default.default.useRef(null),u=Ee__default.default.useMemo(()=>{let p="p";e.evtColor?p=typeof e.evtColor=="function"?e.evtColor(s):e.evtColor:t?.evtColor&&(p=t.evtColor(e,s)),p==="p"?p="#0089b6":p==="i"?p="#3b59ec":p==="l"?p="2f47bc":p==="d"?p="#d91000":p==="s"?p="#519c43":p==="w"?p="#eea720":p==="light"?p="#f5f5f5":p==="dark"&&(p="#363636"),p+=s?"aa":"ff";let d=c(p),f=e.startDateTime,y=e.endDateTime;y.hasSame(f,"day")||(y=f.endOf("day"));let T=(y.valueOf()-f.valueOf())/1e3/60;return {...Ve,position:"absolute",backgroundColor:p,color:d,margin:"0",marginX:"2px",paddingLeft:"3px",paddingTop:"3px",marginTop:`${f.minute}px`,height:`${T<30?30:T}px`,width:n,lineHeight:"1.05em",overflow:"visible",marginLeft:`${o*n}px`,cursor:i?"pointer":"default"}},[e,s,n,o]);return jsxRuntime.jsx("div",{ref:m,onClick:p=>{p.preventDefault(),p.stopPropagation(),i&&i(e,p);},style:u,onMouseEnter:()=>l(!0),onMouseLeave:()=>l(!1),children:jsxRuntime.jsx(Pe,{display:"block",color:r,content:typeof e.description=="function"?e.description():e.description,children:jsxRuntime.jsx("span",{style:{overflow:"clip",textOverflow:"ellipsis",position:"absolute",left:"3px",right:"3px",top:"3px"},children:a(e)})},`${typeof e.id=="function"?e.id():e.id}`)},`${typeof e.id=="function"?e.id():e.id}`)}function wo({viewDate:e,options:t,onEventClick:n,events:o,onDayClick:r}){let i=(u,p)=>{let d=u.startOf("week").startOf("day"),f=u.endOf("week").plus({days:1}).startOf("day"),y=(p??o??[]).map(b=>(b.allDay=b.allDay||!b.endDateTime,b.startDateTime instanceof Date&&(b.startDateTime=M.fromDate(b.startDateTime,t?.locale)),b.endDateTime&&b.endDateTime instanceof Date&&(b.endDateTime=M.fromDate(b.endDateTime,t?.locale)),b)).filter(b=>b.startDateTime.isBetween([d,f])),g=d.clone(),T=[];for(;g<f;){if(a.has(g.weekDay)){let b=g.startOf("day"),P=g.endOf("day"),C=y.filter(A=>A.startDateTime.isBetween([b,P])).sort((A,N)=>A.allDay&&!N.allDay?-1:!A.allDay&&N.allDay?1:A.startDateTime.valueOf()-N.startDateTime.valueOf());T.push([g,C]);}g=g.plus({days:1});}let v=T.map(([b,P])=>[b,P.filter(C=>C.allDay)]),S=T.map(([b,P])=>[b,P.filter(C=>!C.allDay)]);return {allday:v,timed:S}},a=t?.visibleDays&&t?.visibleDays?.size!==0?t?.visibleDays:new Set([1,2,3,4,5,6,7]),s=e instanceof Date?M.fromDate(e,t?.locale):e.clone(),l=i(s),c=Ee__default.default.useMemo(()=>({...dt,gridTemplateRows:"60px repeat(6, auto)",gridTemplateColumns:`40px repeat(${a.size}, 1fr)`}),[a]),m=Ee__default.default.useMemo(()=>Array.from(Array(24).keys()),[]);return jsxRuntime.jsx(Ee__default.default.Fragment,{children:jsxRuntime.jsxs("div",{className:"lbr-grid-container",style:c,children:[jsxRuntime.jsx("div",{}),jsxRuntime.jsx(zi,{onDayClick:r,daysWithEvents:l.allday,options:t}),jsxRuntime.jsx("div",{style:{...ze,paddingTop:"0",height:"60px",borderBottom:"thin solid #e1e1e1"}}),l.allday.map(([u,p])=>jsxRuntime.jsx(Eo,{date:u,events:p,onEventClick:n,onDayClick:r,options:t,tooltipColor:t?.tooltipColor??"is-light"},u.dayShort)),m.map(u=>jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx(Ro,{hour:u}),l.timed.map(([p,d])=>{let f=d.filter(y=>y.startDateTime.hour===u);return jsxRuntime.jsx(No,{tooltipColor:t?.tooltipColor??"is-light",events:f,hour:u,date:p,onCellClick:r,onEventClick:n,options:t},p.dayShort+"-"+u)})]},u))]})})}function zi({onDayClick:e,daysWithEvents:t,options:n={}}){let o=Ee__default.default.useMemo(()=>({..._e,cursor:e?"pointer":void 0}),[e]),r=Ee__default.default.useMemo(()=>({...o}),[]),i=Ee__default.default.useCallback(Re,[]),a=Ee__default.default.useMemo(()=>{if(n?.today?.doNotMarkToday)return {};let s="p";n?.today?.bgColor&&(s=n.today.bgColor(!1)),s==="p"?s="#113670":s==="i"?s="#3b59ec":s==="l"?s="#2f47bc":s==="d"?s="#d91000":s==="s"?s="#519c43":s==="w"&&(s="#eea720");let l=i(s);return {...Xt,marginBottom:".5em",backgroundColor:s,color:l}},[]);return jsxRuntime.jsx(Ee__default.default.Fragment,{children:t.map(([s])=>jsxRuntime.jsxs("div",{style:r,onClick:l=>e&&e(s,l),children:[jsxRuntime.jsx("div",{className:"help my-1 mx-0",style:{color:"#aaaaaa"},children:s.dayLong}),jsxRuntime.jsxs("span",{style:s.isToday?a:void 0,children:[s.day," ",s.monthLong]})]},s.ISO))})}var Ki={Month:xo,Week:wo,Fourweeks:Co};function xn({id:e,label:t,name:n,size:o="m",direction:r="v",required:i=!1,showRequiredOnLabel:a=!1,value:s=!1,errorMessage:l="",labelHidden:c=!1,onValueChanged:m,onBlur:u,...p}){return jsxRuntime.jsx(pe,{label:t??n,size:o,labelHidden:c,direction:r,required:i,inputId:e??n,showRequiredOnLabel:a,children:jsxRuntime.jsx(Do,{id:e,name:n,label:t,value:s,required:i,size:o,errorMessage:l,onValueChanged:y=>{m&&m(y);},onBlur:y=>{u&&u(y);},...p})})}function Do({helpTag:e,errorMessage:t="",infoMessage:n="",label:o,disabled:r=!1,keyboardType:i="text",title:a,name:s,value:l=!1,required:c=!1,spellCheck:m=!1,id:u,autoComplete:p="off",readonly:d=!1,autofocus:f=!1,form:y=void 0,inputRef:g,onBlur:T,onChange:v,onFocus:S,onKeyDown:b,onKeyUp:P,onValueChanged:C,size:A="m",alignment:N="l",color:J="p",inverted:z=!1,rounded:x=!1}){let[E,O]=Ee__default.default.useState(!1),L=D=>{E||O(!0),T&&T(D);},ae=D=>{E||O(!0),C&&C(D.target.checked),v&&v(D);},R="is-checkradio";return A==="s"?R+=" is-small":A==="l"?R+=" is-medium":A==="xl"&&(R+=" is-large"),J==="w"?R+=" is-warning":J==="l"?R+=" is-link":J==="d"?R+=" is-danger":J==="i"?R+=" is-info":J==="s"?R+=" is-success":J==="p"?R+=" is-primary":R+=` ${J}`,N==="l"?R+=" has-text-left":N==="c"?R+=" has-text-centered":N==="r"&&(R+=" has-text-right"),d&&(R+=" is-static"),x&&(R+=" is-circle"),z&&(R+=" has-background-color"),jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx("input",{type:"checkbox",className:R,id:u??s,ref:g,name:s,checked:l,spellCheck:m,autoComplete:p,required:c,title:a,readOnly:d,autoFocus:f,form:y,inputMode:i,disabled:r,onKeyDown:b,onKeyUp:P,onBlur:L,onChange:ae,onFocus:D=>S&&S(D,e)}),jsxRuntime.jsx("label",{htmlFor:u??s,children:o??s}),E&&t&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof t=="string"?t:t(l)}),!t&&n&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof n=="string"?n:n(l)})]})}function Ae({value:e,id:t,name:n,label:o,grouped:r=!1,required:i=!1,showRequiredOnLabel:a=!1,errorMessage:s="",infoMessage:l=void 0,multiple:c=!1,alignment:m="l",size:u="m",direction:p="v",options:d=[],children:f=void 0,placeholder:y,helpTag:g,disabled:T=!1,keyboardType:v="text",title:S,spellCheck:b=!1,loading:P=!1,autoComplete:C="off",autofocus:A=!1,form:N=void 0,inputRef:J,labelHidden:z,icon:x=freeSolidSvgIcons.faCheckCircle,onBlur:E,onFocus:O,onChange:L,onKeyDown:ae,onKeyUp:R,onValueChanged:D}){let[X,oe]=Ee__default.default.useState(!1),fe=H=>{X||oe(!0),E&&E(H);},re=H=>{O&&O(H,g);},se=H=>{if(X||oe(!0),L&&L(H),c){let k=H.target.selectedOptions,ie=[];for(let j of k)ie.push(j.value);D&&D(ie);}else typeof e=="number"&&D?D(+H.target.value):D&&D(H.target.value);},Z=Ee__default.default.useCallback(H=>{if(!H.some(k=>typeof k!="string"&&typeof k!="number"))return H.map(k=>jsxRuntime.jsx(Ae.Option,{value:k,children:k},k));if(r){let k=[],ie=new Set;return H.forEach(j=>ie.add(typeof j=="string"||typeof j=="number"?"":j.group??"")),[...ie].sort().forEach(j=>{let ce=[];H.forEach(Se=>{typeof Se=="string"||typeof Se=="number"?j===""&&ce.push(Se):j===Se.group&&ce.push(Se);}),k.push(jsxRuntime.jsx(Ae.OptGroup,{label:j,children:ce.map(Se=>{if(typeof Se=="string")return jsxRuntime.jsx(Ae.Option,{value:Se,children:Se},Se);{let{value:Yt,disabled:qo,label:Jn}=Se;return jsxRuntime.jsx(Ae.Option,{value:Yt,disabled:qo,children:Jn??Yt},Jn??Yt)}})},j));}),k}else return H.map(k=>{if(typeof k=="string")return jsxRuntime.jsx(Ae.Option,{value:k,children:k},k);if(typeof k=="number")return jsxRuntime.jsx(Ae.Option,{value:k,children:k},k);{let{value:ie,disabled:j,label:ce}=k;return jsxRuntime.jsx(Ae.Option,{value:ie,disabled:j,children:ce??ie},ie)}})},[]),V=s?"select is-danger is-fullwidth":"select is-fullwidth";u==="s"?V+=" is-small":u==="l"?V+=" is-medium":u==="xl"&&(V+=" is-large"),m==="c"?V+=" has-text-centered":m==="r"&&(V+=" has-text-right"),c!==!1&&(V+=" is-multiple"),P&&(V+=" is-loading");let xe=x?"control has-icons-left":"control",le;x&&(typeof x=="string"?le=jsxRuntime.jsx("i",{className:x}):le=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:x}));let he=Z(d);return jsxRuntime.jsxs(pe,{inputId:t??n,label:o??n??t,direction:p,required:i,size:u,labelHidden:z,controlClassName:xe,showRequiredOnLabel:a,children:[jsxRuntime.jsx("div",{className:V,children:jsxRuntime.jsxs("select",{multiple:c!==!1,size:c===!1?void 0:c,value:e,className:V,id:t??n??o,ref:J,name:n,spellCheck:b,autoComplete:C,required:i,title:S,autoFocus:A,form:N,inputMode:v,placeholder:y,disabled:T,onFocus:re,onBlur:fe,onKeyDown:ae,onKeyUp:R,onChange:se,children:[f,he]})}),le&&jsxRuntime.jsx("span",{className:"icon is-left",children:le}),X&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof s=="string"?s:s(e)}),l&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof l=="string"?l:l(e)})]})}Ae.Option=({value:e="",disabled:t=!1,id:n="",children:o})=>jsxRuntime.jsx("option",{value:e,disabled:t,id:n,children:o});Ae.OptGroup=({label:e,children:t,disabled:n})=>jsxRuntime.jsx("optgroup",{label:e,disabled:n,children:t});function Yi({hexValue:e=void 0,rgbValue:t=void 0,hslValue:n=void 0,icon:o=freeSolidSvgIcons.faPalette,onHexValueChanged:r,onRGBValueChanged:i,onHSLValueChanged:a,...s}){let l=m=>{r&&r(m),i&&i(no(m)),a&&a(ro(m));},c="#000000";if(e)e.substring(1).toUpperCase().split("").forEach(m=>{"0123456789ABCDEF".includes(m)||console.warn(`Ongeldig karakter "${m}" in hex-color '${e}'`);}),e.length===4?c=`#${e[1]}${e[1]}${e[2]}${e[2]}${e[3]}${e[3]}`:e.length===7?c=e:console.warn(`Ongeldige hex-color '${e}: Lengte moet 4 of 7 zijn'`);else if(t){let[m,u,p]=t;m<0||m>255?console.warn(`Ongeldige RGB-waarde, r = '${m}', moet tussen 0 en 255 ([${t}])`):u<0||u>255?console.warn(`Ongeldige RGB-waarde, g = '${u}', moet tussen 0 en 255 ([${t}])`):(p<0||p>255)&&console.warn(`Ongeldige RGB-waarde, b = '${p}', moet tussen 0 en 255 ([${t}])`),c=to([m,u,p]);}else if(n){let[m,u,p]=n;m<0||m>360?console.warn(`Ongeldige HSL-waarde, h = '${m}', moet tussen 0 en 360 ([${n}])`):u<0||u>100?console.warn(`Ongeldige HSL-waarde, s = '${u}', moet tussen 0 en 100 ([${n}])`):(p<0||p>100)&&console.warn(`Ongeldige HSL-waarde, l = '${p}', moet tussen 0 en 100 ([${n}])`),c=oo([m,u,p]);}return jsxRuntime.jsx("div",{children:jsxRuntime.jsx($,{icon:o,type:"color",value:c,onValueChanged:l,...s})})}function Qi({value:e,name:t,id:n,required:o,title:r,tooltip:i}){return jsxRuntime.jsx("input",{"data-testid":"hidden-input",id:n??t,name:t,value:e,title:r??i,required:o,type:"hidden",disabled:!0})}function Rn({helpTag:e,disabled:t=!1,keyboardType:n="text",title:o,name:r,value:i,checked:a=!1,required:s=!1,spellCheck:l=!1,id:c,autoComplete:m="off",readonly:u=!1,autofocus:p=!1,form:d=void 0,inputRef:f,onBlur:y,onChange:g,onFocus:T,onKeyDown:v,onKeyUp:S,onValueChanged:b,size:P="m",alignment:C="l",itemsDirection:A="v",color:N="p",children:J=void 0}){let z=E=>{b&&b(i),g&&g(E);},x="is-checkradio";return P==="s"?x+=" is-small":P==="l"?x+=" is-medium":P==="xl"&&(x+=" is-large"),N==="w"?x+=" is-warning":N==="l"?x+=" is-link":N==="d"?x+=" is-danger":N==="i"?x+=" is-info":N==="s"?x+=" is-success":N==="p"?x+=" is-primary":x+=` ${N}`,C==="c"?x+=" has-text-centered":C==="r"&&(x+=" has-text-right"),u&&(x+=" is-static"),c||(c=r+"-"+i),jsxRuntime.jsxs("div",{style:{display:A==="v"?"block":"inline"},children:[jsxRuntime.jsx("input",{type:"radio",className:x,id:c,ref:f,name:r,checked:a,spellCheck:l,autoComplete:m,required:s,title:o,readOnly:u,autoFocus:p,form:d,inputMode:n,disabled:t,onKeyDown:v,onKeyUp:S,onBlur:y,onChange:z,onFocus:E=>T&&T(E,e)}),jsxRuntime.jsx("label",{htmlFor:c??r,children:J??r})]})}function Lo({children:e=void 0,id:t,label:n,disabled:o=!1,labelHidden:r=!1,name:i,value:a,required:s=!1,showRequiredOnLabel:l=!1,size:c="m",direction:m="h",itemsDirection:u="h",alignment:p="l",errorMessage:d="",infoMessage:f=void 0,onValueChanged:y,onBlur:g,onChange:T,onFocus:v,onKeyDown:S,onKeyUp:b}){let[P,C]=Ee__default.default.useState(!1),A=x=>{P||C(!0),g&&g(x);},N=x=>{P||C(!0),y&&y(x);},z=(x=>Ee__default.default.Children.map(x,(E,O)=>{if(Ee__default.default.isValidElement(E)&&E.type===Ho){let L=!1;return typeof a=="string"||typeof a=="number"||typeof a=="boolean"?L=a===E.props.value:a&&(L=JSON.stringify(a)===JSON.stringify(E.props.value)),jsxRuntime.jsx(Rn,{...E.props,disabled:o?!0:E.props.disabled,size:c,itemsDirection:u,alignment:p,direction:m,id:E.props.id??`${i}-option-${O}`,value:E.props.value,checked:L,name:i,onValueChanged:N,onBlur:A,onKeyDown:S,onKeyUp:b,onChange:T,onFocus:v,children:E.props.children})}return E}))(e);return jsxRuntime.jsxs(pe,{labelHidden:r,label:n??i,required:s,inputId:"",direction:m,size:c,controlClassName:"control",showRequiredOnLabel:l,children:[z,P&&d&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof d=="string"?d:d(a)}),f&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof f=="string"?f:f(a)})]})}function Ho({checked:e=!1,id:t,value:n,children:o,...r}){return jsxRuntime.jsx(Rn,{checked:e,name:"",...r,id:t,value:n,children:o})}Lo.Item=Ho;function ta({value:e,icon:t=freeSolidSvgIcons.faAt,pattern:n=`[^@ \r
|
|
67
67
|
]+@[^@ \r
|
|
68
68
|
]+.[^@ \r
|
|
69
|
-
]+`,autoComplete:o="email",onValueChanged:r,...i}){return jsxRuntime.jsx(W,{icon:t,type:"email",autoComplete:o,pattern:n,value:e,onValueChanged:s=>{r&&r(s);},...i})}function ra({value:e,icon:t=freeSolidSvgIcons.faPhone,pattern:n=void 0,autoComplete:o="tel",onValueChanged:r,...i}){let a=s=>{r&&r(s);};return n==="mobiel"?n="/^(((\\+31|0|0031)6){1}[1-9]{1}[0-9]{7})$/i":n==="vast"&&(n="/^(((0)[1-9]{2}[0-9][-]?[1-9][0-9]{5})|((\\+31|0|0031)[1-9][0-9][-]?[1-9][0-9]{6}))$/"),jsxRuntime.jsx(W,{icon:t,type:"tel",autoComplete:o,pattern:n,value:e,onValueChanged:a,...i})}function sa({value:e,icon:t=freeSolidSvgIcons.faGlobe,pattern:n="^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$",autoComplete:o="url",onValueChanged:r,...i}){return jsxRuntime.jsx(W,{icon:t,type:"url",autoComplete:o,pattern:n,value:e,onValueChanged:s=>{r&&r(s);},...i})}function ua({value:e,autoComplete:t="current-password",icon:n=freeSolidSvgIcons.faKey,name:o,size:r,direction:i="v",revealPasswordAllowed:a=!1,revealPasswordMsg:s="Toon wachtwoord",iconRevealed:l=freeSolidSvgIcons.faEye,onValueChanged:c,...m}){let[u,p]=fe__default.default.useState(!1);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx(W,{size:r,icon:u?l??n:n,direction:i,name:o,autoComplete:t,type:u?"text":"password",value:e,onValueChanged:f=>{c&&c(f);},...m}),a&&jsxRuntime.jsx(Cn,{size:r,direction:i,value:u,onValueChanged:p,label:s,labelHidden:!0,name:`cb-${o}-reveal-pw`})]})}function us({content:e="",onChangeHtml:t,onChangeText:n,onChangeJson:o}){let r=react.useEditor({onUpdate({editor:i}){t&&t(i.getHTML().replaceAll(/<li><p>(.*?)<\/p><(\/?)(ol|li|ul)>/gi,"<li>$1<$2$3>")),n&&n(i.getText()),o&&o(i.getJSON());},extensions:[Ta__default.default,Ia__default.default,Ca__default.default.configure(),xa__default.default.configure(),Na__default.default.configure(),Ea__default.default.configure(),extensionColor.Color.configure({types:[Fo__default.default.name,$o__default.default.name]}),ba__default.default.configure(),va__default.default.configure(),Ba__default.default.configure({autolink:!0,openOnClick:!0,linkOnPaste:!0,HTMLAttributes:{target:"_blank"}}),Da__default.default.configure({allowBase64:!0}),Sa__default.default.configure(),Pa__default.default.configure(),Fo__default.default.configure(),Fa__default.default.configure({multicolor:!0}),Ra__default.default.configure({keepMarks:!0}),Aa__default.default.configure({keepMarks:!0}),$o__default.default.configure(),ka__default.default.configure(),Ha__default.default.configure(),$a__default.default.configure(),wa__default.default.configure({types:["heading","paragraph"]}),Ma__default.default.configure({resizable:!0,HTMLAttributes:{class:"editor"}}),Oa__default.default.configure(),La__default.default.configure(),Ja__default.default.configure()],content:e});return jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(ds,{editor:r}),jsxRuntime.jsx("div",{className:"",children:jsxRuntime.jsx(react.EditorContent,{editor:r,className:"content p-0"})})]})}function ds({editor:e}){return e?jsxRuntime.jsxs("div",{className:"is-flex is-flex-direction-row is-flex-wrap-wrap",children:[jsxRuntime.jsx(fs,{editor:e}),jsxRuntime.jsx(Ee,{mx:3}),jsxRuntime.jsx(gs,{editor:e}),jsxRuntime.jsx(Ee,{mx:3}),jsxRuntime.jsx(ys,{editor:e}),jsxRuntime.jsx(Ee,{mx:3}),jsxRuntime.jsx(hs,{editor:e}),jsxRuntime.jsx(Ee,{mx:3}),jsxRuntime.jsx(Ts,{editor:e}),jsxRuntime.jsx(Ee,{mx:3}),jsxRuntime.jsx(bs,{editor:e})]}):jsxRuntime.jsx(fe__default.default.Fragment,{})}function fs({editor:e}){return jsxRuntime.jsxs(k,{size:"m",children:[jsxRuntime.jsx(k.OnOffItem,{title:"Bold (ctrl + B)",onToggle:()=>e.chain().focus().toggleBold().run(),toggled:e.isActive("bold"),disabled:!e.can().chain().focus().toggleBold().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faBold})}),jsxRuntime.jsx(k.OnOffItem,{title:"Italic (ctrl + I)",onToggle:()=>e.chain().focus().toggleItalic().run(),toggled:e.isActive("italic"),disabled:!e.can().chain().focus().toggleItalic().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faItalic})}),jsxRuntime.jsx(k.OnOffItem,{title:"Underline (ctrl + U)",onToggle:()=>e.chain().focus().toggleUnderline().run(),toggled:e.isActive("underline"),disabled:!e.can().chain().focus().toggleUnderline().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faUnderline})}),jsxRuntime.jsx(k.OnOffItem,{title:"Strikethrough",onToggle:()=>e.chain().focus().toggleStrike().run(),toggled:e.isActive("strike"),disabled:!e.can().chain().focus().toggleStrike().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faStrikethrough})}),jsxRuntime.jsx(k.OnOffItem,{title:"Subscript",onToggle:()=>e.chain().focus().toggleSubscript().run(),toggled:e.isActive("subscript"),disabled:!e.can().chain().focus().toggleSubscript().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faSubscript})}),jsxRuntime.jsx(k.OnOffItem,{title:"Superscript",onToggle:()=>e.chain().focus().toggleSuperscript().run(),toggled:e.isActive("superscript"),disabled:!e.can().chain().focus().toggleSuperscript().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faSuperscript})})]})}function gs({editor:e}){let t=[{name:"heading 1",level:1},{name:"heading 2",level:2},{name:"heading 3",level:3},{name:"heading 4",level:4},{name:"heading 5",level:5},{name:"heading 6",level:6}],[n,o]=fe__default.default.useState("paragraph"),[r,i]=fe__default.default.useState(e.getAttributes("textStyle").color),[a,s]=fe__default.default.useState(e.getAttributes("textStyle").backgroundColor),l=c=>{if(c==="paragraph")e.chain().focus().setParagraph().run(),o("paragraph");else if(c.startsWith("heading-")){let m=+c.replace("heading-","");e.chain().focus().toggleHeading({level:m}).run(),o(c);}};return fe__default.default.useEffect(()=>{e.isActive("paragraph")?o("paragraph"):t.forEach(c=>{e.isActive("heading",{level:c.level})&&o(`heading-${c.level}`);}),i(e.getAttributes("textStyle").color),s(e.getAttributes("highlight").color);}),jsxRuntime.jsxs("div",{className:"is-flex is-flex-direction-row",children:[jsxRuntime.jsx(I.Light,{onClick:()=>{e.chain().focus().unsetHighlight().run(),e.chain().focus().unsetColor().run();},children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faTextSlash})}),jsxRuntime.jsx(Ee,{mx:2}),jsxRuntime.jsxs("div",{className:"field has-addons",children:[jsxRuntime.jsx("div",{className:"control",children:jsxRuntime.jsx(I.Static,{children:jsxRuntime.jsx(le,{color:r,icon:freeSolidSvgIcons.faFont})})}),jsxRuntime.jsx("div",{className:"control",children:jsxRuntime.jsx("input",{className:"input ",style:{width:"5em"},name:"input is-small",type:"color",onInput:c=>e.chain().focus().setColor(c.target.value).run(),value:r})})]}),jsxRuntime.jsx(Ee,{mx:2}),jsxRuntime.jsxs("div",{className:"field has-addons",children:[jsxRuntime.jsx("div",{className:"control",children:jsxRuntime.jsx(I.Static,{children:jsxRuntime.jsx(le,{color:a,icon:freeSolidSvgIcons.faPaintRoller})})}),jsxRuntime.jsx("input",{name:"color-input-highlight",style:{width:"5em"},className:"input ",type:"color",onInput:c=>e.chain().focus().toggleHighlight({color:c.target.value}).run(),value:a})]}),jsxRuntime.jsx(Ee,{mx:2}),jsxRuntime.jsx("div",{className:"select",children:jsxRuntime.jsxs("select",{name:"select-paragraph-or-heading-type",value:n,onChange:c=>l(c.target.value),children:[jsxRuntime.jsx("option",{value:"",disabled:!0,children:"Selecteer type"}),jsxRuntime.jsx("option",{value:"paragraph",children:"paragraph"}),t.map(c=>jsxRuntime.jsx("option",{value:`heading-${c.level}`,children:c.name},c.name))]})})]})}function ys({editor:e}){return jsxRuntime.jsxs(k,{size:"m",children:[jsxRuntime.jsx(k.OnOffItem,{title:"Align left (ctrl + shift + L)",onToggle:()=>e.chain().focus().setTextAlign("left").run(),toggled:e.isActive({textAlign:"left"}),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faAlignLeft})}),jsxRuntime.jsx(k.OnOffItem,{title:"Align center (ctrl + shift + E)",onToggle:()=>e.chain().focus().setTextAlign("center").run(),toggled:e.isActive({textAlign:"center"}),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faAlignCenter})}),jsxRuntime.jsx(k.OnOffItem,{title:"Align right (ctrl + shift + R)",onToggle:()=>e.chain().focus().setTextAlign("right").run(),toggled:e.isActive({textAlign:"right"}),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faAlignRight})}),jsxRuntime.jsx(k.OnOffItem,{title:"Justify (ctrl + shift + J)",onToggle:()=>e.chain().focus().setTextAlign("justify").run(),toggled:e.isActive({textAlign:"justify"}),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faAlignJustify})})]})}function hs({editor:e}){return jsxRuntime.jsxs(k,{size:"m",children:[jsxRuntime.jsx(k.OnOffItem,{title:"Lijst met punten (unordered)",onToggle:()=>e.chain().focus().toggleBulletList().run(),toggled:e.isActive("bulletList"),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faListUl})}),jsxRuntime.jsx(k.OnOffItem,{title:"Lijst met nummers (ordered)",onToggle:()=>e.chain().focus().toggleOrderedList().run(),toggled:e.isActive("orderedList"),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faListOl})}),jsxRuntime.jsx(k.OnOffItem,{title:"Splits dit list-item in 2 items",onToggle:()=>e.chain().focus().splitListItem("listItem").run(),disabled:!e.can().splitListItem("listItem"),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faArrowsDownToLine})}),jsxRuntime.jsx(k.OnOffItem,{title:"Indent dit listitem",onToggle:()=>e.chain().focus().sinkListItem("listItem").run(),disabled:!e.can().sinkListItem("listItem"),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faIndent})}),jsxRuntime.jsx(k.OnOffItem,{title:"Outdent dit listitem",onToggle:()=>e.chain().focus().liftListItem("listItem").run(),disabled:!e.can().liftListItem("listItem"),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faOutdent})})]})}function Ts({editor:e}){return jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsxs(k,{size:"m",children:[jsxRuntime.jsx(k.OnOffItem,{onToggle:()=>e.chain().focus().setHorizontalRule().run(),title:"Voeg een tussenlijn toe",children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faGripLines})}),jsxRuntime.jsx(k.OnOffItem,{onToggle:()=>e.chain().focus().setHardBreak().run(),title:"Voeg een extra witregel toe",children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faPlusMinus})})]}),jsxRuntime.jsx(Ee,{}),jsxRuntime.jsxs(k,{size:"m",children:[jsxRuntime.jsx(k.OnOffItem,{title:"TODO: Voeg een link toe (werkt niet, typ de link gewoon uit)",onToggle:()=>{let t=e.getAttributes("link").href,n=window.prompt("URL",t);if(n!==null){if(n===""){e.chain().focus().extendMarkRange("link").unsetLink().run();return}e.chain().focus().extendMarkRange("link").setLink({href:n}).run();}},children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faLink})}),jsxRuntime.jsx(k.OnOffItem,{title:"TODO: Voeg een afbeelding toe (werkt niet, prak hem er met HTML in)",onToggle:()=>{let t=window.prompt("URL");t&&e.chain().focus().setImage({src:t}).run();},children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faImage})})]}),jsxRuntime.jsx(Ee,{}),jsxRuntime.jsxs(k,{size:"m",children:[jsxRuntime.jsx(k.OnOffItem,{title:"undo ( ctrl + z )",onToggle:()=>e.chain().focus().undo().run(),disabled:!e.can().chain().focus().undo().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faRotateLeft})}),jsxRuntime.jsx(k.OnOffItem,{title:"redo ( ctrl + shift + z )",onToggle:()=>e.chain().focus().redo().run(),disabled:!e.can().chain().focus().redo().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faRotateRight})}),jsxRuntime.jsx(k.OnOffItem,{onToggle:()=>e.chain().focus().fixTables().run(),title:"fix problemen (?)",children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faBugSlash})})]})]})}function bs({editor:e}){return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(k,{size:"m",children:[jsxRuntime.jsxs(k.OnOffItem,{onToggle:()=>e.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run(),title:"Nieuwe tabel",children:[jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faTable}),jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faPlus})]}),jsxRuntime.jsxs(k.OnOffItem,{onToggle:()=>e.chain().focus().deleteTable().run(),title:"verwijder tabel",children:[jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faTable}),jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faMinus})]})]}),jsxRuntime.jsx(Ee,{}),jsxRuntime.jsxs(mt,{unevenSize:!0,hasAddons:!0,children:[jsxRuntime.jsxs(I.Light,{size:"m",onClick:()=>e.chain().focus().addColumnAfter().run(),title:"nieuwe kolom",children:["Col",jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faPlus})]}),jsxRuntime.jsxs(I.Light,{size:"m",onClick:()=>e.chain().focus().deleteColumn().run(),title:"verwijder kolom",children:["Col",jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faMinus})]}),jsxRuntime.jsxs(I.Light,{size:"m",onClick:()=>e.chain().focus().addRowAfter().run(),title:"nieuwe rij",children:["Row",jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faPlus})]}),jsxRuntime.jsxs(I.Light,{size:"m",onClick:()=>e.chain().focus().deleteRow().run(),title:"verwijder rij",children:["Row",jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faMinus})]})]})]})}var Ee=({mx:e=3})=>jsxRuntime.jsx("span",{className:`mx-${e}`});function vs({value:e,label:t,errorMessage:n="",infoMessage:o=void 0,helpTag:r,id:i,name:a,spellCheck:s=!0,required:l=!1,showRequiredOnLabel:c=!1,autoComplete:m="off",placeholder:u,disabled:p=!1,form:d=void 0,readonly:f=!1,autofocus:g=!1,inputRef:y=void 0,max:T,min:S,title:P,size:v="m",alignment:R,direction:b="v",cols:C,rows:E=4,labelHidden:B=!1,loading:J=!1,onValueChanged:x,onChange:N,onBlur:O,onFocus:H,onKeyDown:te,onKeyUp:A}){let[w,K]=fe__default.default.useState(!1),Ie=ie=>{w||K(!0),O&&O(ie);},me=ie=>{w||K(!0),N&&N(ie),x&&x(ie.target.value);},ne="";v==="s"?ne+=" is-small":v==="m"?ne+=" is-normal":v==="l"?ne+=" is-medium":v==="xl"&&(ne+=" is-large");let re="is-left";R==="c"?re="is-centered":R==="r"&&(re="is-right");let G=`textarea ${ne} ${re}`.trim(),X=S?typeof S=="number"?S:+S:void 0,Ne=T?typeof T=="number"?T:+T:void 0;return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs(se,{label:t??a,required:l,labelHidden:B,inputId:i??a,direction:b,size:v,loading:J,showRequiredOnLabel:c,controlClassName:"control",children:[jsxRuntime.jsx("textarea",{className:G,value:e,id:i??a,name:a,spellCheck:s,required:l,autoComplete:m,placeholder:u,disabled:p,form:d,readOnly:f,autoFocus:g,ref:y,maxLength:Ne,minLength:X,title:P,rows:E,cols:C,onChange:me,onBlur:Ie,onFocus:ie=>H&&H(ie,r),onKeyDown:te,onKeyUp:A}),w&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof n=="string"?n:n(e)}),o&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof o=="string"?o:o(e)})]})})}function Xo(){let e=fe__default.default.useRef(null),[t,n]=fe__default.default.useState(0),[o,r]=fe__default.default.useState(0),i=fe__default.default.useCallback((a=0)=>{if(e.current){let{selectionStart:s,selectionEnd:l}=e.current;n(s+a),r(l+a);}},[]);return fe__default.default.useEffect(()=>{e.current&&e.current.setSelectionRange(t,o);}),{start:t,end:o,ref:e,updateCaret:i}}function Es({value:e="",characters:t=void 0,icon:n=freeSolidSvgIcons.faKeyboard,onValueChanged:o,...r}){let{ref:i,updateCaret:a}=Xo();return jsxRuntime.jsx(W,{inputRef:i,icon:n,type:"text",value:e,onValueChanged:l=>{if(t){let c=l;if(t==="0-9")c=l.replaceAll(/[^0-9]/g,"");else if(t==="a-z")c=l.toLowerCase().replaceAll(/[^a-z]/g,"");else if(t==="A-Z")c=l.toUpperCase().replaceAll(/[^A-Z]/g,"");else if(t==="a-Z")c=l.replaceAll(/[^a-zA-Z]/g,"");else if(t==="0-Z")c=l.replaceAll(/[^0-9a-zA-Z]/g,"");else if(typeof t=="string"){let m=t??"";c=l.split("").reduce((u,p)=>m.includes(p)?u+p:u,"");}else t instanceof RegExp&&(c=l.replaceAll(new RegExp(t,"g"),""));l=c;}o&&o(l),a();},...r})}function As({value:e,icon:t=freeSolidSvgIcons.faCalculator,onValueChanged:n,...o}){let r=s=>{let l=s!==""?+s:NaN;n&&n(l),a(s);},[i,a]=fe__default.default.useState(e?.toString()??"");return fe__default.default.useEffect(()=>{e&&!isNaN(+e)?a(e.toString()):e===0?a("0"):e&&isNaN(+e)?a(""):e||a("");},[e]),jsxRuntime.jsx(W,{icon:t,type:"number",value:i,onValueChanged:r,...o})}function ks({value:e,min:t=0,max:n=100,step:o=1,prefix:r="",suffix:i="",helpTag:a,errorMessage:s="",infoMessage:l=void 0,label:c,disabled:m=!1,title:u,name:p,size:d="m",required:f=!1,showRequiredOnLabel:g=!1,id:y,readonly:T=!1,form:S=void 0,inputRef:P,onBlur:v,onChange:R,onFocus:b,onKeyDown:C,onKeyUp:E,onValueChanged:B,direction:J="v",labelHidden:x=!1}){let N=w=>{O||H(!0),v&&v(w);},[O,H]=fe__default.default.useState(!1),te=w=>{m||(O||H(!0),R&&R(w),B&&B(w.target.valueAsNumber));},A=fe__default.default.useMemo(()=>({width:"100%",marginTop:"1em","--min":t,"--min-text":`"${r}${t}${i}"`,"--max":n,"--max-text":`"${r}${n}${i}"`,"--value":e,"--text-value":`${r}${e}${i}`}),[e,r,i]);return jsxRuntime.jsxs(se,{label:c??p,direction:J,labelHidden:x,required:f,showRequiredOnLabel:g,inputId:y??p,size:d,controlClassName:"control",children:[jsxRuntime.jsxs("div",{className:"range-slider",style:A,children:[jsxRuntime.jsx("input",{type:"range",name:p,id:y??p,min:t,max:n,value:e,step:o,disabled:m,required:f,readOnly:T,form:S,ref:P,title:u,onBlur:N,onChange:te,onKeyDown:C,onKeyUp:E,onFocus:w=>b&&b(w,a)}),jsxRuntime.jsxs("output",{children:[r,e,i]}),jsxRuntime.jsx("div",{className:"range-slider__progress"})]}),O&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof s=="string"?s:s(e)}),l&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof l=="string"?l:l(e)})]})}function Bs({value:e,icon:t=freeSolidSvgIcons.faCalendarDay,onValueChanged:n,onDateValueChanged:o,onJSDateTimeValueChanged:r,...i}){let a=l=>{n&&n(l),o&&o(new Date(l)),r&&r(L.fromISO(l));},s="";return typeof e=="string"?s=e.length>10?e.substring(0,10):e:e instanceof Date?s=e.toISOString().substring(0,10):e instanceof L&&(s=e.ISO.substring(0,10)),jsxRuntime.jsx(W,{icon:t,type:"date",value:s,onValueChanged:a,...i})}function Ls({value:e,step:t=void 0,useSecAndMillis:n="none",icon:o=freeSolidSvgIcons.faCalendarDay,onValueChanged:r,onDateValueChanged:i,onJSDateTimeValueChanged:a,...s}){let l=u=>{if(u){if(typeof u=="string")return u}else return "";let p;u instanceof Date?p=L.fromDate(u):p=u;let d=(T,S)=>T.toString().padStart(S,"0"),f=`${d(p.yr,4)}-${d(p.m,2)}-${d(p.d,2)}`;f+=`T${d(p.hr,2)}:${d(p.min,2)}`;let g=n!=="none",y=n==="both";return g?f+=`:${d(p.sec,2)}`:f+=":00",g&&y?f+=`.${d(p.ms,3)}`:f+=".000",f},c=u=>{if(u!==""&&(r&&r(u),i||a)){let p=L.fromISO(u);i&&i(p.JSDate),a&&a(p);}},m=l(e);return jsxRuntime.jsx(W,{step:t??n!=="none"?1:60,icon:o,type:"datetime-local",value:m,onValueChanged:c,...s})}function Fs({value:e,useSeconds:t=!1,useMillis:n=!1,icon:o=freeSolidSvgIcons.faClockFour,onValueChanged:r,onDateValueChanged:i,onJSDateTimeValueChanged:a,...s}){let l=u=>{if(u){if(typeof u=="string")return u}else return "";let p=[0,0,void 0,void 0];return u instanceof Date?(p[0]=u.getHours(),p[1]=u.getMinutes(),t&&(p[2]=u.getSeconds())):(p[0]=u.hour,p[1]=u.minute,t&&(p[2]=u.second)),p.filter(d=>!!d).map(d=>d?.toString().padStart(2,"0")).join(":")},c=u=>{if(r&&r(u),i||a){let p=parseInt(u.substring(0,2)),d=parseInt(u.substring(3,5)),f=parseInt(u.substring(6,8))??0,g=L.from({hour:p,minute:d,second:isNaN(f)?0:f});i&&i(g.JSDate),a&&a(g);}},m=l(e);return jsxRuntime.jsx(W,{step:t?1:60,icon:o,type:"time",value:m,onValueChanged:c,...s})}function _s({multiple:e=!1,placeholder:t,helpTag:n,errorMessage:o="",infoMessage:r=void 0,label:i,disabled:a=!1,keyboardType:s="none",title:l,name:c,required:m=!1,showRequiredOnLabel:u=!1,spellCheck:p=!1,id:d,autoComplete:f="off",max:g,min:y,readonly:T=!1,pattern:S=void 0,autofocus:P=!1,form:v=void 0,inputRef:R,onBlur:b,onChange:C,onFocus:E,onKeyDown:B,onKeyUp:J,onValueChanged:x,size:N="m",alignment:O="l",direction:H="v",value:te={files:[],path:""},icon:A=freeSolidSvgIcons.faFileUpload,boxed:w=!1,accept:K,capture:Ie=!1,noFilesTxt:me="Geen bestand(en) geselecteerd",chooseFileTxt:ne="Kies een bestand",formatter:re=G=>G.files.length>0?G.files.map(X=>X.name).join(", "):me}){let[G,X]=fe__default.default.useState(!1),Ne=D=>{G||X(!0),b&&b(D);},ie=D=>{let oe=Array.from(D.target.files??[]),Z=D.target.value;G||X(!0),C&&C(D),x&&x({files:oe,path:Z});},ge="file has-name";w?ge+=" is-boxed":ge+=" is-fullwidth",N==="s"?ge+=" is-small":N==="l"?ge+=" is-medium":N==="xl"&&(ge+=" is-large"),O==="l"?ge+=" has-text-left":O==="c"?ge+=" has-text-centered":O==="r"&&(ge+=" has-text-right");let F=re(te);return jsxRuntime.jsx(se,{inputId:d??c,label:i??c,direction:H,required:m,size:N,showRequiredOnLabel:u,controlClassName:"control",children:jsxRuntime.jsxs("div",{className:ge,children:[jsxRuntime.jsxs("label",{className:"file-label",children:[jsxRuntime.jsx("input",{className:"file-input",pattern:S,id:d??c,ref:R,accept:typeof K=="string"?K:K?.join(","),capture:Ie,name:c,value:"",spellCheck:p,autoComplete:f,required:m,type:"file",inputMode:s,title:l,multiple:e,max:g,maxLength:typeof g=="number"?g:void 0,minLength:typeof y=="number"?y:void 0,min:y,readOnly:T,autoFocus:P,form:v,placeholder:t,disabled:a,onKeyDown:B,onKeyUp:J,onBlur:Ne,onChange:ie,onFocus:D=>E&&E(D,n)}),jsxRuntime.jsxs("span",{className:"file-cta",children:[jsxRuntime.jsx("span",{className:"file-icon",role:"icon",children:typeof A=="string"?jsxRuntime.jsx("i",{className:"icon"}):jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:A})}),jsxRuntime.jsx("span",{className:"file-label",children:ne??c})]}),jsxRuntime.jsx("span",{className:"file-name",children:F??me??""})]}),G&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof o=="string"?o:o(F)}),r&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof r=="string"?r:r(F)})]})})}function qs({placeholder:e,helpTag:t,errorMessage:n="",infoMessage:o=void 0,label:r,disabled:i=!1,title:a,name:s,value:l=0,required:c=!1,showRequiredOnLabel:m=!1,spellCheck:u=!1,id:p,autoComplete:d="off",max:f,min:g,inputRef:y=void 0,readonly:T=!1,step:S=1,autofocus:P=!1,form:v=void 0,onBlur:R,onChange:b,onFocus:C,onKeyDown:E,onKeyUp:B,onValueChanged:J,size:x="m",alignment:N="l",direction:O="v",labelHidden:H=!1,loading:te=!1,icon:A=freeSolidSvgIcons.faCoins,suffix:w="",prefix:K="\u20AC ",decimalScale:Ie=2,decimalSeparator:me=",",groupSeparator:ne="."}){let[re,G]=fe__default.default.useState(!1),[X,Ne]=fe__default.default.useState(l.toString());fe__default.default.useEffect(()=>{Ne(l.toString());},[l]);let ie=ae=>{re||G(!0),R&&R(ae);},ge=ae=>{re||G(!0),ae?.endsWith(me)||J&&J(ae?parseFloat(ae.replace(me,".")):NaN),Ne(ae??"");},F=n?"input is-danger":"input";x==="s"?F+=" is-small":x==="l"?F+=" is-medium":x==="xl"&&(F+=" is-large"),N==="l"?F+=" has-text-left":N==="c"?F+=" has-text-centered":N==="r"&&(F+=" has-text-right"),T&&(F+=" is-static");let D;A&&typeof A=="string"?D=jsxRuntime.jsx("i",{className:A}):A&&typeof A!="string"&&(D=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:A}));let oe;n&&n===""?oe=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faCheck}):n&&(oe=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faTimes}));let Z=`control ${A?"has-icons-left":""} ${n!==void 0?"has-icons-right":""}`;return ne===me&&console.warn(`De groupSeparator en de decimalSeparator mogen NIET hetzelfde zijn: ('${ne}' === '${me}')`),jsxRuntime.jsxs(se,{inputId:p??s,label:r??s??p,size:x,labelHidden:H,loading:te,direction:O,required:c,showRequiredOnLabel:m,controlClassName:Z,children:[jsxRuntime.jsx(Us__default.default,{className:F,id:p??s,name:s,autoComplete:d,placeholder:e,disabled:i,spellCheck:u,required:c,groupSeparator:ne,decimalSeparator:me,decimalScale:Ie,decimalsLimit:Ie,value:X,min:g,max:f,step:S,title:a,autoFocus:P,form:v,ref:y,suffix:w,prefix:K,onKeyDown:E,onKeyUp:B,onFocus:ae=>C&&C(ae,t),onBlur:ie,onChange:b,onValueChange:ge}),re&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof n=="string"?n:n(l)}),o&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof o=="string"?o:o(l)}),D&&jsxRuntime.jsx("span",{className:"icon is-left",children:D}),oe&&jsxRuntime.jsx("span",{className:"icon is-right",children:oe})]})}function Qs({value:e,min:t="",max:n="",icon:o=freeSolidSvgIcons.faCalendarWeek,onValueChanged:r,...i}){let a=l=>{r&&r(l);},s="";if(e){let[l="0",c="1"]=e.split("-W");+c>53||+c<1?console.warn('WeekInput value should contain a valid week number, like "2021-W01"'):s=`${l}-W${c.padStart(2,"0")}`;}return jsxRuntime.jsx(W,{min:t,max:n,icon:o,type:"week",value:s,onValueChanged:a,...i})}function tl({value:e,min:t="",max:n="",icon:o=freeSolidSvgIcons.faCalendarDays,onValueChanged:r,...i}){let a=l=>{r&&r(l);},s="";if(e){let[l="0",c="1"]=e.split("-");+c>12||+c<1?console.warn('MonthInput value should contain a valid month number (01-12), like "2021-01"'):s=`${l}-${c.padStart(2,"0")}`;}return jsxRuntime.jsx(W,{min:t,max:n,icon:o,type:"month",value:s,onValueChanged:a,...i})}function ol(e,t){switch(t.type){case"add":return [...e,t.item];case"remove":return e.filter(n=>t.item.id!=n.id);case"clear":return []}}function Ko(e){let[t,n]=fe__default.default.useReducer(ol,[]),[o,r]=fe__default.default.useState(void 0),[i,a]=fe__default.default.useState(void 0),[s,l]=fe__default.default.useState(e.clearTime);fe__default.default.useEffect(()=>{e.next&&e.next.id!=o&&(r(e.next.id),n({type:"add",item:e.next}));},[e.next]),fe__default.default.useEffect(()=>{e.clearTime!=s&&(n({type:"clear",item:void 0}),l(e.clearTime));},[e.clearTime]),fe__default.default.useEffect(()=>{if(e.del!=i){let m=t.find(u=>u.id===e.del);n({type:"remove",item:m}),a(e.del);}},[e.del]);let c="notifications-container"+(e.location&&e.location==="bottom"?" at-bottom":" at-top");return jsxRuntime.jsx("div",{className:c,"data-testid":"notifier-container",children:t.map(m=>{let u=m.dismissAfter??m.dismissAfter??e.defaultDismissTime??5e3;return jsxRuntime.jsx(ce,{autoDismissAfter:u,color:m.color??m.type,onDismiss:()=>n({type:"remove",item:m}),onClick:p=>m.onClick?m.onClick(m):n({type:"remove",item:m}),children:m.content},m.id)})})}var Bn=fe__default.default.createContext(null);Bn.displayName="NotifierContext";var Ah=e=>{let[t,n]=fe__default.default.useState(void 0),[o,r]=fe__default.default.useState(void 0),[i,a]=fe__default.default.useState(new Date),s=fe__default.default.useCallback(u=>(u.id==null&&(u.id=Math.floor(Math.random()*1e7)),n(u),u.id),[n]),l=fe__default.default.useCallback(u=>{r(u);},[r]),c=fe__default.default.useCallback(()=>{n(void 0),r(void 0),a(new Date);},[r]),m={notify:s,remove:l,clear:c};return jsxRuntime.jsxs(fe__default.default.Fragment,{children:[jsxRuntime.jsx(Ko,{defaultDismissTime:e.defaultAutoDismiss,next:t,del:o,clearTime:i,location:e.location??"top"}),jsxRuntime.jsx(Bn.Provider,{value:m,children:e.children})]})};function wh(){let e=fe__default.default.useContext(Bn);if(!e)throw new Error("useNotifier must be used inside a NotifierProvider");return e}var Mn,Ln=fe__default.default.createContext(null);Ln.displayName="ConfirmContext";function Lh({children:e}){let[t,n]=fe__default.default.useReducer(il,Ut);return jsxRuntime.jsxs(Ln.Provider,{value:{state:t,setState:n},children:[jsxRuntime.jsx(sl,{}),e]})}var Ut={show:!1,content:"",ok:"Ok",cancel:"Annuleren",others:void 0};function il(e=Ut,t){switch(t.type){case"SHOW":return {...e,show:!0,content:t.payload?.content,ok:t.ok??"Ok",cancel:t.cancel??"Annuleren",others:t.others};case"HIDE":return Ut;default:return Ut}}function al(e="OK",t="Annuleren",n=void 0){let o=fe__default.default.useContext(Ln);if(!o)throw new Error("useConfirm must be used inside a ConfirmProvider");let r=()=>{s(),Mn(!0);},i=()=>{s(),Mn(!1);},a=l=>(o.setState({...o.state,type:"SHOW",payload:{content:l},ok:e,cancel:t,others:n}),new Promise(function(c){Mn=c;})),s=()=>{o.setState({type:"HIDE",payload:void 0});};return {confirm:a,onConfirm:r,onCancel:i,confirmState:o.state}}function sl(){let{onConfirm:e,onCancel:t,confirmState:n}=al();return n.show?jsxRuntime.jsxs("div",{className:"modal is-active",style:{zIndex:9999},children:[jsxRuntime.jsx("div",{className:"modal-background"}),jsxRuntime.jsx("div",{className:"modal-content",children:jsxRuntime.jsxs(Yt,{children:[typeof n.content=="string"&&jsxRuntime.jsx("p",{children:n?.content}),typeof n.content!="string"&&n?.content,jsxRuntime.jsxs(mt,{alignment:"c",className:"mt-6",children:[jsxRuntime.jsx(I.Success,{onClick:e,children:n.ok}),jsxRuntime.jsx(I.Danger,{onClick:t,children:n.cancel}),n.others]})]})})]}):null}
|
|
69
|
+
]+`,autoComplete:o="email",onValueChanged:r,...i}){return jsxRuntime.jsx($,{icon:t,type:"email",autoComplete:o,pattern:n,value:e,onValueChanged:s=>{r&&r(s);},...i})}function ra({value:e,icon:t=freeSolidSvgIcons.faPhone,pattern:n=void 0,autoComplete:o="tel",onValueChanged:r,...i}){let a=s=>{r&&r(s);};return n==="mobiel"?n="/^(((\\+31|0|0031)6){1}[1-9]{1}[0-9]{7})$/i":n==="vast"&&(n="/^(((0)[1-9]{2}[0-9][-]?[1-9][0-9]{5})|((\\+31|0|0031)[1-9][0-9][-]?[1-9][0-9]{6}))$/"),jsxRuntime.jsx($,{icon:t,type:"tel",autoComplete:o,pattern:n,value:e,onValueChanged:a,...i})}function sa({value:e,icon:t=freeSolidSvgIcons.faGlobe,pattern:n="^(?!mailto:)(?:(?:http|https|ftp)://)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$",autoComplete:o="url",onValueChanged:r,...i}){return jsxRuntime.jsx($,{icon:t,type:"url",autoComplete:o,pattern:n,value:e,onValueChanged:s=>{r&&r(s);},...i})}function ua({value:e,autoComplete:t="current-password",icon:n=freeSolidSvgIcons.faKey,name:o,size:r,direction:i="v",revealPasswordAllowed:a=!1,revealPasswordMsg:s="Toon wachtwoord",iconRevealed:l=freeSolidSvgIcons.faEye,onValueChanged:c,...m}){let[u,p]=Ee__default.default.useState(!1);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsx($,{size:r,icon:u?l??n:n,direction:i,name:o,autoComplete:t,type:u?"text":"password",value:e,onValueChanged:f=>{c&&c(f);},...m}),a&&jsxRuntime.jsx(xn,{size:r,direction:i,value:u,onValueChanged:p,label:s,labelHidden:!0,name:`cb-${o}-reveal-pw`})]})}function us({content:e="",onChangeHtml:t,onChangeText:n,onChangeJson:o}){let r=react.useEditor({onUpdate({editor:i}){t&&t(i.getHTML().replaceAll(/<li><p>(.*?)<\/p><(\/?)(ol|li|ul)>/gi,"<li>$1<$2$3>")),n&&n(i.getText()),o&&o(i.getJSON());},extensions:[Ta__default.default,Ia__default.default,Ca__default.default.configure(),xa__default.default.configure(),Ra__default.default.configure(),Ea__default.default.configure(),extensionColor.Color.configure({types:[$o__default.default.name,Wo__default.default.name]}),ba__default.default.configure(),va__default.default.configure(),Ma__default.default.configure({autolink:!0,openOnClick:!0,linkOnPaste:!0,HTMLAttributes:{target:"_blank"}}),Da__default.default.configure({allowBase64:!0}),Sa__default.default.configure(),Pa__default.default.configure(),$o__default.default.configure(),Fa__default.default.configure({multicolor:!0}),Na__default.default.configure({keepMarks:!0}),Aa__default.default.configure({keepMarks:!0}),Wo__default.default.configure(),ka__default.default.configure(),Ja__default.default.configure(),$a__default.default.configure(),wa__default.default.configure({types:["heading","paragraph"]}),Ba__default.default.configure({resizable:!0,HTMLAttributes:{class:"editor"}}),Oa__default.default.configure(),La__default.default.configure(),Ha__default.default.configure()],content:e});return jsxRuntime.jsxs("div",{children:[jsxRuntime.jsx(ds,{editor:r}),jsxRuntime.jsx("div",{className:"",children:jsxRuntime.jsx(react.EditorContent,{editor:r,className:"content p-0"})})]})}function ds({editor:e}){return e?jsxRuntime.jsxs("div",{className:"is-flex is-flex-direction-row is-flex-wrap-wrap",children:[jsxRuntime.jsx(fs,{editor:e}),jsxRuntime.jsx(Ce,{mx:3}),jsxRuntime.jsx(gs,{editor:e}),jsxRuntime.jsx(Ce,{mx:3}),jsxRuntime.jsx(ys,{editor:e}),jsxRuntime.jsx(Ce,{mx:3}),jsxRuntime.jsx(hs,{editor:e}),jsxRuntime.jsx(Ce,{mx:3}),jsxRuntime.jsx(Ts,{editor:e}),jsxRuntime.jsx(Ce,{mx:3}),jsxRuntime.jsx(bs,{editor:e})]}):jsxRuntime.jsx(Ee__default.default.Fragment,{})}function fs({editor:e}){return jsxRuntime.jsxs(w,{size:"m",children:[jsxRuntime.jsx(w.OnOffItem,{title:"Bold (ctrl + B)",onToggle:()=>e.chain().focus().toggleBold().run(),toggled:e.isActive("bold"),disabled:!e.can().chain().focus().toggleBold().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faBold})}),jsxRuntime.jsx(w.OnOffItem,{title:"Italic (ctrl + I)",onToggle:()=>e.chain().focus().toggleItalic().run(),toggled:e.isActive("italic"),disabled:!e.can().chain().focus().toggleItalic().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faItalic})}),jsxRuntime.jsx(w.OnOffItem,{title:"Underline (ctrl + U)",onToggle:()=>e.chain().focus().toggleUnderline().run(),toggled:e.isActive("underline"),disabled:!e.can().chain().focus().toggleUnderline().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faUnderline})}),jsxRuntime.jsx(w.OnOffItem,{title:"Strikethrough",onToggle:()=>e.chain().focus().toggleStrike().run(),toggled:e.isActive("strike"),disabled:!e.can().chain().focus().toggleStrike().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faStrikethrough})}),jsxRuntime.jsx(w.OnOffItem,{title:"Subscript",onToggle:()=>e.chain().focus().toggleSubscript().run(),toggled:e.isActive("subscript"),disabled:!e.can().chain().focus().toggleSubscript().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faSubscript})}),jsxRuntime.jsx(w.OnOffItem,{title:"Superscript",onToggle:()=>e.chain().focus().toggleSuperscript().run(),toggled:e.isActive("superscript"),disabled:!e.can().chain().focus().toggleSuperscript().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faSuperscript})})]})}function gs({editor:e}){let t=[{name:"heading 1",level:1},{name:"heading 2",level:2},{name:"heading 3",level:3},{name:"heading 4",level:4},{name:"heading 5",level:5},{name:"heading 6",level:6}],[n,o]=Ee__default.default.useState("paragraph"),[r,i]=Ee__default.default.useState(e.getAttributes("textStyle").color),[a,s]=Ee__default.default.useState(e.getAttributes("textStyle").backgroundColor),l=c=>{if(c==="paragraph")e.chain().focus().setParagraph().run(),o("paragraph");else if(c.startsWith("heading-")){let m=+c.replace("heading-","");e.chain().focus().toggleHeading({level:m}).run(),o(c);}};return Ee__default.default.useEffect(()=>{e.isActive("paragraph")?o("paragraph"):t.forEach(c=>{e.isActive("heading",{level:c.level})&&o(`heading-${c.level}`);}),i(e.getAttributes("textStyle").color),s(e.getAttributes("highlight").color);}),jsxRuntime.jsxs("div",{className:"is-flex is-flex-direction-row",children:[jsxRuntime.jsx(I.Light,{onClick:()=>{e.chain().focus().unsetHighlight().run(),e.chain().focus().unsetColor().run();},children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faTextSlash})}),jsxRuntime.jsx(Ce,{mx:2}),jsxRuntime.jsxs("div",{className:"field has-addons",children:[jsxRuntime.jsx("div",{className:"control",children:jsxRuntime.jsx(I.Static,{children:jsxRuntime.jsx(me,{color:r,icon:freeSolidSvgIcons.faFont})})}),jsxRuntime.jsx("div",{className:"control",children:jsxRuntime.jsx("input",{className:"input ",style:{width:"5em"},name:"input is-small",type:"color",onInput:c=>e.chain().focus().setColor(c.target.value).run(),value:r})})]}),jsxRuntime.jsx(Ce,{mx:2}),jsxRuntime.jsxs("div",{className:"field has-addons",children:[jsxRuntime.jsx("div",{className:"control",children:jsxRuntime.jsx(I.Static,{children:jsxRuntime.jsx(me,{color:a,icon:freeSolidSvgIcons.faPaintRoller})})}),jsxRuntime.jsx("input",{name:"color-input-highlight",style:{width:"5em"},className:"input ",type:"color",onInput:c=>e.chain().focus().toggleHighlight({color:c.target.value}).run(),value:a})]}),jsxRuntime.jsx(Ce,{mx:2}),jsxRuntime.jsx("div",{className:"select",children:jsxRuntime.jsxs("select",{name:"select-paragraph-or-heading-type",value:n,onChange:c=>l(c.target.value),children:[jsxRuntime.jsx("option",{value:"",disabled:!0,children:"Selecteer type"}),jsxRuntime.jsx("option",{value:"paragraph",children:"paragraph"}),t.map(c=>jsxRuntime.jsx("option",{value:`heading-${c.level}`,children:c.name},c.name))]})})]})}function ys({editor:e}){return jsxRuntime.jsxs(w,{size:"m",children:[jsxRuntime.jsx(w.OnOffItem,{title:"Align left (ctrl + shift + L)",onToggle:()=>e.chain().focus().setTextAlign("left").run(),toggled:e.isActive({textAlign:"left"}),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faAlignLeft})}),jsxRuntime.jsx(w.OnOffItem,{title:"Align center (ctrl + shift + E)",onToggle:()=>e.chain().focus().setTextAlign("center").run(),toggled:e.isActive({textAlign:"center"}),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faAlignCenter})}),jsxRuntime.jsx(w.OnOffItem,{title:"Align right (ctrl + shift + R)",onToggle:()=>e.chain().focus().setTextAlign("right").run(),toggled:e.isActive({textAlign:"right"}),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faAlignRight})}),jsxRuntime.jsx(w.OnOffItem,{title:"Justify (ctrl + shift + J)",onToggle:()=>e.chain().focus().setTextAlign("justify").run(),toggled:e.isActive({textAlign:"justify"}),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faAlignJustify})})]})}function hs({editor:e}){return jsxRuntime.jsxs(w,{size:"m",children:[jsxRuntime.jsx(w.OnOffItem,{title:"Lijst met punten (unordered)",onToggle:()=>e.chain().focus().toggleBulletList().run(),toggled:e.isActive("bulletList"),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faListUl})}),jsxRuntime.jsx(w.OnOffItem,{title:"Lijst met nummers (ordered)",onToggle:()=>e.chain().focus().toggleOrderedList().run(),toggled:e.isActive("orderedList"),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faListOl})}),jsxRuntime.jsx(w.OnOffItem,{title:"Splits dit list-item in 2 items",onToggle:()=>e.chain().focus().splitListItem("listItem").run(),disabled:!e.can().splitListItem("listItem"),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faArrowsDownToLine})}),jsxRuntime.jsx(w.OnOffItem,{title:"Indent dit listitem",onToggle:()=>e.chain().focus().sinkListItem("listItem").run(),disabled:!e.can().sinkListItem("listItem"),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faIndent})}),jsxRuntime.jsx(w.OnOffItem,{title:"Outdent dit listitem",onToggle:()=>e.chain().focus().liftListItem("listItem").run(),disabled:!e.can().liftListItem("listItem"),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faOutdent})})]})}function Ts({editor:e}){return jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsxs(w,{size:"m",children:[jsxRuntime.jsx(w.OnOffItem,{onToggle:()=>e.chain().focus().setHorizontalRule().run(),title:"Voeg een tussenlijn toe",children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faGripLines})}),jsxRuntime.jsx(w.OnOffItem,{onToggle:()=>e.chain().focus().setHardBreak().run(),title:"Voeg een extra witregel toe",children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faPlusMinus})})]}),jsxRuntime.jsx(Ce,{}),jsxRuntime.jsxs(w,{size:"m",children:[jsxRuntime.jsx(w.OnOffItem,{title:"TODO: Voeg een link toe (werkt niet, typ de link gewoon uit)",onToggle:()=>{let t=e.getAttributes("link").href,n=window.prompt("URL",t);if(n!==null){if(n===""){e.chain().focus().extendMarkRange("link").unsetLink().run();return}e.chain().focus().extendMarkRange("link").setLink({href:n}).run();}},children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faLink})}),jsxRuntime.jsx(w.OnOffItem,{title:"TODO: Voeg een afbeelding toe (werkt niet, prak hem er met HTML in)",onToggle:()=>{let t=window.prompt("URL");t&&e.chain().focus().setImage({src:t}).run();},children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faImage})})]}),jsxRuntime.jsx(Ce,{}),jsxRuntime.jsxs(w,{size:"m",children:[jsxRuntime.jsx(w.OnOffItem,{title:"undo ( ctrl + z )",onToggle:()=>e.chain().focus().undo().run(),disabled:!e.can().chain().focus().undo().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faRotateLeft})}),jsxRuntime.jsx(w.OnOffItem,{title:"redo ( ctrl + shift + z )",onToggle:()=>e.chain().focus().redo().run(),disabled:!e.can().chain().focus().redo().run(),children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faRotateRight})}),jsxRuntime.jsx(w.OnOffItem,{onToggle:()=>e.chain().focus().fixTables().run(),title:"fix problemen (?)",children:jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faBugSlash})})]})]})}function bs({editor:e}){return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[jsxRuntime.jsxs(w,{size:"m",children:[jsxRuntime.jsxs(w.OnOffItem,{onToggle:()=>e.chain().focus().insertTable({rows:3,cols:3,withHeaderRow:!0}).run(),title:"Nieuwe tabel",children:[jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faTable}),jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faPlus})]}),jsxRuntime.jsxs(w.OnOffItem,{onToggle:()=>e.chain().focus().deleteTable().run(),title:"verwijder tabel",children:[jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faTable}),jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faMinus})]})]}),jsxRuntime.jsx(Ce,{}),jsxRuntime.jsxs(ut,{unevenSize:!0,hasAddons:!0,children:[jsxRuntime.jsxs(I.Light,{size:"m",onClick:()=>e.chain().focus().addColumnAfter().run(),title:"nieuwe kolom",children:["Col",jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faPlus})]}),jsxRuntime.jsxs(I.Light,{size:"m",onClick:()=>e.chain().focus().deleteColumn().run(),title:"verwijder kolom",children:["Col",jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faMinus})]}),jsxRuntime.jsxs(I.Light,{size:"m",onClick:()=>e.chain().focus().addRowAfter().run(),title:"nieuwe rij",children:["Row",jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faPlus})]}),jsxRuntime.jsxs(I.Light,{size:"m",onClick:()=>e.chain().focus().deleteRow().run(),title:"verwijder rij",children:["Row",jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faMinus})]})]})]})}var Ce=({mx:e=3})=>jsxRuntime.jsx("span",{className:`mx-${e}`});function vs({value:e,label:t,errorMessage:n="",infoMessage:o=void 0,helpTag:r,id:i,name:a,spellCheck:s=!0,required:l=!1,showRequiredOnLabel:c=!1,autoComplete:m="off",placeholder:u,disabled:p=!1,form:d=void 0,readonly:f=!1,autofocus:y=!1,inputRef:g=void 0,max:T,min:v,title:S,size:b="m",alignment:P,direction:C="v",cols:A,rows:N=4,labelHidden:J=!1,loading:z=!1,onValueChanged:x,onChange:E,onBlur:O,onFocus:L,onKeyDown:ae,onKeyUp:R}){let[D,X]=Ee__default.default.useState(!1),oe=le=>{D||X(!0),O&&O(le);},fe=le=>{D||X(!0),E&&E(le),x&&x(le.target.value);},re="";b==="s"?re+=" is-small":b==="m"?re+=" is-normal":b==="l"?re+=" is-medium":b==="xl"&&(re+=" is-large");let se="is-left";P==="c"?se="is-centered":P==="r"&&(se="is-right");let Z=`textarea ${re} ${se}`.trim(),V=v?typeof v=="number"?v:+v:void 0,xe=T?typeof T=="number"?T:+T:void 0;return jsxRuntime.jsx(jsxRuntime.Fragment,{children:jsxRuntime.jsxs(pe,{label:t??a,required:l,labelHidden:J,inputId:i??a,direction:C,size:b,loading:z,showRequiredOnLabel:c,controlClassName:"control",children:[jsxRuntime.jsx("textarea",{className:Z,value:e,id:i??a,name:a,spellCheck:s,required:l,autoComplete:m,placeholder:u,disabled:p,form:d,readOnly:f,autoFocus:y,ref:g,maxLength:xe,minLength:V,title:S,rows:N,cols:A,onChange:fe,onBlur:oe,onFocus:le=>L&&L(le,r),onKeyDown:ae,onKeyUp:R}),D&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof n=="string"?n:n(e)}),o&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof o=="string"?o:o(e)})]})})}function Vo(){let e=Ee__default.default.useRef(null),[t,n]=Ee__default.default.useState(0),[o,r]=Ee__default.default.useState(0),i=Ee__default.default.useCallback((a=0)=>{if(e.current){let{selectionStart:s,selectionEnd:l}=e.current;n(s+a),r(l+a);}},[]);return Ee__default.default.useEffect(()=>{e.current&&e.current.setSelectionRange(t,o);}),{start:t,end:o,ref:e,updateCaret:i}}function Es({value:e="",characters:t=void 0,icon:n=freeSolidSvgIcons.faKeyboard,onValueChanged:o,...r}){let{ref:i,updateCaret:a}=Vo();return jsxRuntime.jsx($,{inputRef:i,icon:n,type:"text",value:e,onValueChanged:l=>{if(t){let c=l;if(t==="0-9")c=l.replaceAll(/[^0-9]/g,"");else if(t==="a-z")c=l.toLowerCase().replaceAll(/[^a-z]/g,"");else if(t==="A-Z")c=l.toUpperCase().replaceAll(/[^A-Z]/g,"");else if(t==="a-Z")c=l.replaceAll(/[^a-zA-Z]/g,"");else if(t==="0-Z")c=l.replaceAll(/[^0-9a-zA-Z]/g,"");else if(typeof t=="string"){let m=t??"";c=l.split("").reduce((u,p)=>m.includes(p)?u+p:u,"");}else t instanceof RegExp&&(c=l.replaceAll(new RegExp(t,"g"),""));l=c;}o&&o(l),a();},...r})}function As({value:e,icon:t=freeSolidSvgIcons.faCalculator,onValueChanged:n,...o}){let r=s=>{let l=s!==""?+s:NaN;n&&n(l),a(s);},[i,a]=Ee__default.default.useState(e?.toString()??"");return Ee__default.default.useEffect(()=>{e&&!isNaN(+e)?a(e.toString()):e===0?a("0"):e&&isNaN(+e)?a(""):e||a("");},[e]),jsxRuntime.jsx($,{icon:t,type:"number",value:i,onValueChanged:r,...o})}function ks({value:e,min:t=0,max:n=100,step:o=1,prefix:r="",suffix:i="",helpTag:a,errorMessage:s="",infoMessage:l=void 0,label:c,disabled:m=!1,title:u,name:p,size:d="m",required:f=!1,showRequiredOnLabel:y=!1,id:g,readonly:T=!1,form:v=void 0,inputRef:S,onBlur:b,onChange:P,onFocus:C,onKeyDown:A,onKeyUp:N,onValueChanged:J,direction:z="v",labelHidden:x=!1}){let E=D=>{O||L(!0),b&&b(D);},[O,L]=Ee__default.default.useState(!1),ae=D=>{m||(O||L(!0),P&&P(D),J&&J(D.target.valueAsNumber));},R=Ee__default.default.useMemo(()=>({width:"100%",marginTop:"1em","--min":t,"--min-text":`"${r}${t}${i}"`,"--max":n,"--max-text":`"${r}${n}${i}"`,"--value":e,"--text-value":`${r}${e}${i}`}),[e,r,i]);return jsxRuntime.jsxs(pe,{label:c??p,direction:z,labelHidden:x,required:f,showRequiredOnLabel:y,inputId:g??p,size:d,controlClassName:"control",children:[jsxRuntime.jsxs("div",{className:"range-slider",style:R,children:[jsxRuntime.jsx("input",{type:"range",name:p,id:g??p,min:t,max:n,value:e,step:o,disabled:m,required:f,readOnly:T,form:v,ref:S,title:u,onBlur:E,onChange:ae,onKeyDown:A,onKeyUp:N,onFocus:D=>C&&C(D,a)}),jsxRuntime.jsxs("output",{children:[r,e,i]}),jsxRuntime.jsx("div",{className:"range-slider__progress"})]}),O&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof s=="string"?s:s(e)}),l&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof l=="string"?l:l(e)})]})}function Ms({value:e,icon:t=freeSolidSvgIcons.faCalendarDay,onValueChanged:n,onDateValueChanged:o,onJSDateTimeValueChanged:r,...i}){let a=l=>{n&&n(l),o&&o(new Date(l)),r&&r(M.fromISO(l));},s="";return typeof e=="string"?s=e.length>10?e.substring(0,10):e:e instanceof Date?s=e.toISOString().substring(0,10):e instanceof M&&(s=e.ISO.substring(0,10)),jsxRuntime.jsx($,{icon:t,type:"date",value:s,onValueChanged:a,...i})}function Ls({value:e,step:t=void 0,useSecAndMillis:n="none",icon:o=freeSolidSvgIcons.faCalendarDay,onValueChanged:r,onDateValueChanged:i,onJSDateTimeValueChanged:a,...s}){let l=u=>{if(u){if(typeof u=="string")return u}else return "";let p;u instanceof Date?p=M.fromDate(u):p=u;let d=(T,v)=>T.toString().padStart(v,"0"),f=`${d(p.yr,4)}-${d(p.m,2)}-${d(p.d,2)}`;f+=`T${d(p.hr,2)}:${d(p.min,2)}`;let y=n!=="none",g=n==="both";return y?f+=`:${d(p.sec,2)}`:f+=":00",y&&g?f+=`.${d(p.ms,3)}`:f+=".000",f},c=u=>{if(u!==""&&(r&&r(u),i||a)){let p=M.fromISO(u);i&&i(p.JSDate),a&&a(p);}},m=l(e);return jsxRuntime.jsx($,{step:t??n!=="none"?1:60,icon:o,type:"datetime-local",value:m,onValueChanged:c,...s})}function Fs({value:e,useSeconds:t=!1,useMillis:n=!1,icon:o=freeSolidSvgIcons.faClockFour,onValueChanged:r,onDateValueChanged:i,onJSDateTimeValueChanged:a,...s}){let l=u=>{if(u){if(typeof u=="string")return u}else return "";let p=[0,0,void 0,void 0];return u instanceof Date?(p[0]=u.getHours(),p[1]=u.getMinutes(),t&&(p[2]=u.getSeconds())):(p[0]=u.hour,p[1]=u.minute,t&&(p[2]=u.second)),p.filter(d=>!!d).map(d=>d?.toString().padStart(2,"0")).join(":")},c=u=>{if(r&&r(u),i||a){let p=parseInt(u.substring(0,2)),d=parseInt(u.substring(3,5)),f=parseInt(u.substring(6,8))??0,y=M.from({hour:p,minute:d,second:isNaN(f)?0:f});i&&i(y.JSDate),a&&a(y);}},m=l(e);return jsxRuntime.jsx($,{step:t?1:60,icon:o,type:"time",value:m,onValueChanged:c,...s})}function _s({multiple:e=!1,placeholder:t,helpTag:n,errorMessage:o="",infoMessage:r=void 0,label:i,disabled:a=!1,keyboardType:s="none",title:l,name:c,required:m=!1,showRequiredOnLabel:u=!1,spellCheck:p=!1,id:d,autoComplete:f="off",max:y,min:g,readonly:T=!1,pattern:v=void 0,autofocus:S=!1,form:b=void 0,inputRef:P,onBlur:C,onChange:A,onFocus:N,onKeyDown:J,onKeyUp:z,onValueChanged:x,size:E="m",alignment:O="l",direction:L="v",value:ae={files:[],path:""},icon:R=freeSolidSvgIcons.faFileUpload,boxed:D=!1,accept:X,capture:oe=!1,noFilesTxt:fe="Geen bestand(en) geselecteerd",chooseFileTxt:re="Kies een bestand",formatter:se=Z=>Z.files.length>0?Z.files.map(V=>V.name).join(", "):fe}){let[Z,V]=Ee__default.default.useState(!1),xe=k=>{Z||V(!0),C&&C(k);},le=k=>{let ie=Array.from(k.target.files??[]),j=k.target.value;Z||V(!0),A&&A(k),x&&x({files:ie,path:j});},he="file has-name";D?he+=" is-boxed":he+=" is-fullwidth",E==="s"?he+=" is-small":E==="l"?he+=" is-medium":E==="xl"&&(he+=" is-large"),O==="l"?he+=" has-text-left":O==="c"?he+=" has-text-centered":O==="r"&&(he+=" has-text-right");let H=se(ae);return jsxRuntime.jsx(pe,{inputId:d??c,label:i??c,direction:L,required:m,size:E,showRequiredOnLabel:u,controlClassName:"control",children:jsxRuntime.jsxs("div",{className:he,children:[jsxRuntime.jsxs("label",{className:"file-label",children:[jsxRuntime.jsx("input",{className:"file-input",pattern:v,id:d??c,ref:P,accept:typeof X=="string"?X:X?.join(","),capture:oe,name:c,value:"",spellCheck:p,autoComplete:f,required:m,type:"file",inputMode:s,title:l,multiple:e,max:y,maxLength:typeof y=="number"?y:void 0,minLength:typeof g=="number"?g:void 0,min:g,readOnly:T,autoFocus:S,form:b,placeholder:t,disabled:a,onKeyDown:J,onKeyUp:z,onBlur:xe,onChange:le,onFocus:k=>N&&N(k,n)}),jsxRuntime.jsxs("span",{className:"file-cta",children:[jsxRuntime.jsx("span",{className:"file-icon",role:"icon",children:typeof R=="string"?jsxRuntime.jsx("i",{className:"icon"}):jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:R})}),jsxRuntime.jsx("span",{className:"file-label",children:re??c})]}),jsxRuntime.jsx("span",{className:"file-name",children:H??fe??""})]}),Z&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof o=="string"?o:o(H)}),r&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof r=="string"?r:r(H)})]})})}function qs({placeholder:e,helpTag:t,errorMessage:n="",infoMessage:o=void 0,label:r,disabled:i=!1,title:a,name:s,value:l=0,required:c=!1,showRequiredOnLabel:m=!1,spellCheck:u=!1,id:p,autoComplete:d="off",max:f,min:y,inputRef:g=void 0,readonly:T=!1,step:v=1,autofocus:S=!1,form:b=void 0,onBlur:P,onChange:C,onFocus:A,onKeyDown:N,onKeyUp:J,onValueChanged:z,size:x="m",alignment:E="l",direction:O="v",labelHidden:L=!1,loading:ae=!1,icon:R=freeSolidSvgIcons.faCoins,suffix:D="",prefix:X="\u20AC ",decimalScale:oe=2,decimalSeparator:fe=",",groupSeparator:re="."}){let[se,Z]=Ee__default.default.useState(!1),[V,xe]=Ee__default.default.useState(l.toString());Ee__default.default.useEffect(()=>{xe(l.toString());},[l]);let le=ce=>{se||Z(!0),P&&P(ce);},he=ce=>{se||Z(!0),ce?.endsWith(fe)||z&&z(ce?parseFloat(ce.replace(fe,".")):NaN),xe(ce??"");},H=n?"input is-danger":"input";x==="s"?H+=" is-small":x==="l"?H+=" is-medium":x==="xl"&&(H+=" is-large"),E==="l"?H+=" has-text-left":E==="c"?H+=" has-text-centered":E==="r"&&(H+=" has-text-right"),T&&(H+=" is-static");let k;R&&typeof R=="string"?k=jsxRuntime.jsx("i",{className:R}):R&&typeof R!="string"&&(k=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:R}));let ie;n&&n===""?ie=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faCheck}):n&&(ie=jsxRuntime.jsx(reactFontawesome.FontAwesomeIcon,{icon:freeSolidSvgIcons.faTimes}));let j=`control ${R?"has-icons-left":""} ${n!==void 0?"has-icons-right":""}`;return re===fe&&console.warn(`De groupSeparator en de decimalSeparator mogen NIET hetzelfde zijn: ('${re}' === '${fe}')`),jsxRuntime.jsxs(pe,{inputId:p??s,label:r??s??p,size:x,labelHidden:L,loading:ae,direction:O,required:c,showRequiredOnLabel:m,controlClassName:j,children:[jsxRuntime.jsx(Us__default.default,{className:H,id:p??s,name:s,autoComplete:d,placeholder:e,disabled:i,spellCheck:u,required:c,groupSeparator:re,decimalSeparator:fe,decimalScale:oe,decimalsLimit:oe,value:V,min:y,max:f,step:v,title:a,autoFocus:S,form:b,ref:g,suffix:D,prefix:X,onKeyDown:N,onKeyUp:J,onFocus:ce=>A&&A(ce,t),onBlur:le,onChange:C,onValueChange:he}),se&&jsxRuntime.jsx("p",{className:"help is-danger",children:typeof n=="string"?n:n(l)}),o&&jsxRuntime.jsx("p",{className:"help is-info",children:typeof o=="string"?o:o(l)}),k&&jsxRuntime.jsx("span",{className:"icon is-left",children:k}),ie&&jsxRuntime.jsx("span",{className:"icon is-right",children:ie})]})}function Qs({value:e,min:t="",max:n="",icon:o=freeSolidSvgIcons.faCalendarWeek,onValueChanged:r,...i}){let a=l=>{r&&r(l);},s="";if(e){let[l="0",c="1"]=e.split("-W");+c>53||+c<1?console.warn('WeekInput value should contain a valid week number, like "2021-W01"'):s=`${l}-W${c.padStart(2,"0")}`;}return jsxRuntime.jsx($,{min:t,max:n,icon:o,type:"week",value:s,onValueChanged:a,...i})}function tl({value:e,min:t="",max:n="",icon:o=freeSolidSvgIcons.faCalendarDays,onValueChanged:r,...i}){let a=l=>{r&&r(l);},s="";if(e){let[l="0",c="1"]=e.split("-");+c>12||+c<1?console.warn('MonthInput value should contain a valid month number (01-12), like "2021-01"'):s=`${l}-${c.padStart(2,"0")}`;}return jsxRuntime.jsx($,{min:t,max:n,icon:o,type:"month",value:s,onValueChanged:a,...i})}function ol(e,t){switch(t.type){case"add":return [...e,t.item];case"remove":return e.filter(n=>t.item.id!=n.id);case"clear":return []}}function Go(e){let[t,n]=Ee__default.default.useReducer(ol,[]),[o,r]=Ee__default.default.useState(void 0),[i,a]=Ee__default.default.useState(void 0),[s,l]=Ee__default.default.useState(e.clearTime);Ee__default.default.useEffect(()=>{e.next&&e.next.id!=o&&(r(e.next.id),n({type:"add",item:e.next}));},[e.next]),Ee__default.default.useEffect(()=>{e.clearTime!=s&&(n({type:"clear",item:void 0}),l(e.clearTime));},[e.clearTime]),Ee__default.default.useEffect(()=>{if(e.del!=i){let m=t.find(u=>u.id===e.del);n({type:"remove",item:m}),a(e.del);}},[e.del]);let c="notifications-container"+(e.location&&e.location==="bottom"?" at-bottom":" at-top");return jsxRuntime.jsx("div",{className:c,"data-testid":"notifier-container",children:t.map(m=>{let u=m.dismissAfter??m.dismissAfter??e.defaultDismissTime??5e3;return jsxRuntime.jsx(ue,{autoDismissAfter:u,color:m.color??m.type,onDismiss:()=>n({type:"remove",item:m}),onClick:p=>m.onClick?m.onClick(m):n({type:"remove",item:m}),children:m.content},m.id)})})}var Bn=Ee__default.default.createContext(null);Bn.displayName="NotifierContext";var wh=e=>{let[t,n]=Ee__default.default.useState(void 0),[o,r]=Ee__default.default.useState(void 0),[i,a]=Ee__default.default.useState(new Date),s=Ee__default.default.useCallback(u=>(u.id==null&&(u.id=Math.floor(Math.random()*1e7)),n(u),u.id),[n]),l=Ee__default.default.useCallback(u=>{r(u);},[r]),c=Ee__default.default.useCallback(()=>{n(void 0),r(void 0),a(new Date);},[r]),m={notify:s,remove:l,clear:c};return jsxRuntime.jsxs(Ee__default.default.Fragment,{children:[jsxRuntime.jsx(Go,{defaultDismissTime:e.defaultAutoDismiss,next:t,del:o,clearTime:i,location:e.location??"top"}),jsxRuntime.jsx(Bn.Provider,{value:m,children:e.children})]})};function kh(){let e=Ee__default.default.useContext(Bn);if(!e)throw new Error("useNotifier must be used inside a NotifierProvider");return e}var On,Hn=Ee__default.default.createContext(null);Hn.displayName="ConfirmContext";function Hh({children:e}){let[t,n]=Ee__default.default.useReducer(il,qt);return jsxRuntime.jsxs(Hn.Provider,{value:{state:t,setState:n},children:[jsxRuntime.jsx(sl,{}),e]})}var qt={show:!1,content:"",ok:"Ok",cancel:"Annuleren",others:void 0};function il(e=qt,t){switch(t.type){case"SHOW":return {...e,show:!0,content:t.payload?.content,ok:t.ok??"Ok",cancel:t.cancel??"Annuleren",others:t.others};case"HIDE":return qt;default:return qt}}function al(e="OK",t="Annuleren",n=void 0){let o=Ee__default.default.useContext(Hn);if(!o)throw new Error("useConfirm must be used inside a ConfirmProvider");let r=()=>{s(),On(!0);},i=()=>{s(),On(!1);},a=l=>(o.setState({...o.state,type:"SHOW",payload:{content:l},ok:e,cancel:t,others:n}),new Promise(function(c){On=c;})),s=()=>{o.setState({type:"HIDE",payload:void 0});};return {confirm:a,onConfirm:r,onCancel:i,confirmState:o.state}}function sl(){let{onConfirm:e,onCancel:t,confirmState:n}=al();return n.show?jsxRuntime.jsxs("div",{className:"modal is-active",style:{zIndex:9999},children:[jsxRuntime.jsx("div",{className:"modal-background"}),jsxRuntime.jsx("div",{className:"modal-content",children:jsxRuntime.jsxs(Qt,{children:[typeof n.content=="string"&&jsxRuntime.jsx("p",{children:n?.content}),typeof n.content!="string"&&n?.content,jsxRuntime.jsxs(ut,{alignment:"c",className:"mt-6",children:[jsxRuntime.jsx(I.Success,{onClick:e,children:n.ok}),jsxRuntime.jsx(I.Danger,{onClick:t,children:n.cancel}),n.others]})]})})]}):null}
|
|
70
70
|
|
|
71
|
-
exports.AspectRatio =
|
|
72
|
-
exports.Block =
|
|
73
|
-
exports.Box =
|
|
71
|
+
exports.AspectRatio = Zo;
|
|
72
|
+
exports.Block = Qo;
|
|
73
|
+
exports.Box = Qt;
|
|
74
74
|
exports.Button = I;
|
|
75
|
-
exports.ButtonGroup =
|
|
76
|
-
exports.Buttons =
|
|
77
|
-
exports.CB =
|
|
75
|
+
exports.ButtonGroup = ut;
|
|
76
|
+
exports.Buttons = ut;
|
|
77
|
+
exports.CB = Do;
|
|
78
78
|
exports.Calendar = Ki;
|
|
79
|
-
exports.CheckBox =
|
|
79
|
+
exports.CheckBox = xn;
|
|
80
80
|
exports.ColorInput = Yi;
|
|
81
|
-
exports.Column =
|
|
82
|
-
exports.Columns =
|
|
83
|
-
exports.ConfirmProvider =
|
|
84
|
-
exports.Container =
|
|
85
|
-
exports.Content =
|
|
81
|
+
exports.Column = $e;
|
|
82
|
+
exports.Columns = tr;
|
|
83
|
+
exports.ConfirmProvider = Hh;
|
|
84
|
+
exports.Container = we;
|
|
85
|
+
exports.Content = or;
|
|
86
86
|
exports.CurrencyInput = qs;
|
|
87
|
-
exports.DOTS =
|
|
88
|
-
exports.DataTable =
|
|
89
|
-
exports.DateInput =
|
|
87
|
+
exports.DOTS = Ot;
|
|
88
|
+
exports.DataTable = Hr;
|
|
89
|
+
exports.DateInput = Ms;
|
|
90
90
|
exports.DateTimeInput = Ls;
|
|
91
|
-
exports.DefinedHexColors =
|
|
91
|
+
exports.DefinedHexColors = St;
|
|
92
92
|
exports.EmailInput = ta;
|
|
93
93
|
exports.FileInput = _s;
|
|
94
|
-
exports.Footer =
|
|
94
|
+
exports.Footer = ir;
|
|
95
95
|
exports.H1 = vi;
|
|
96
96
|
exports.H2 = Ii;
|
|
97
97
|
exports.H3 = Ci;
|
|
98
98
|
exports.H4 = xi;
|
|
99
99
|
exports.H5 = Ei;
|
|
100
|
-
exports.H6 =
|
|
101
|
-
exports.HelpTxt =
|
|
102
|
-
exports.Hero =
|
|
100
|
+
exports.H6 = Ri;
|
|
101
|
+
exports.HelpTxt = Te;
|
|
102
|
+
exports.Hero = kt;
|
|
103
103
|
exports.HiddenInput = Qi;
|
|
104
|
-
exports.IbanDetailsPerLand =
|
|
105
|
-
exports.Icon =
|
|
106
|
-
exports.IconText =
|
|
107
|
-
exports.Image =
|
|
108
|
-
exports.Indicator =
|
|
109
|
-
exports.Input =
|
|
110
|
-
exports.JSDateTime =
|
|
111
|
-
exports.JSDuration =
|
|
112
|
-
exports.Kbd =
|
|
113
|
-
exports.Kbds =
|
|
104
|
+
exports.IbanDetailsPerLand = Mr;
|
|
105
|
+
exports.Icon = me;
|
|
106
|
+
exports.IconText = ln;
|
|
107
|
+
exports.Image = ar;
|
|
108
|
+
exports.Indicator = Wr;
|
|
109
|
+
exports.Input = $;
|
|
110
|
+
exports.JSDateTime = M;
|
|
111
|
+
exports.JSDuration = eo;
|
|
112
|
+
exports.Kbd = pn;
|
|
113
|
+
exports.Kbds = _r;
|
|
114
114
|
exports.Link = ki;
|
|
115
|
-
exports.LinkButton =
|
|
116
|
-
exports.Menu =
|
|
117
|
-
exports.Message =
|
|
118
|
-
exports.Modal =
|
|
115
|
+
exports.LinkButton = $t;
|
|
116
|
+
exports.Menu = ve;
|
|
117
|
+
exports.Message = be;
|
|
118
|
+
exports.Modal = je;
|
|
119
119
|
exports.MonthInput = tl;
|
|
120
|
-
exports.Notification =
|
|
121
|
-
exports.Notifier =
|
|
122
|
-
exports.NotifierProvider =
|
|
120
|
+
exports.Notification = ue;
|
|
121
|
+
exports.Notifier = Go;
|
|
122
|
+
exports.NotifierProvider = wh;
|
|
123
123
|
exports.NumberInput = As;
|
|
124
|
-
exports.Pagination =
|
|
124
|
+
exports.Pagination = cn;
|
|
125
125
|
exports.PasswordInput = ua;
|
|
126
|
-
exports.ProgressBar =
|
|
127
|
-
exports.QuickView =
|
|
128
|
-
exports.RB =
|
|
129
|
-
exports.RadioGroup =
|
|
126
|
+
exports.ProgressBar = ci;
|
|
127
|
+
exports.QuickView = ot;
|
|
128
|
+
exports.RB = Rn;
|
|
129
|
+
exports.RadioGroup = Lo;
|
|
130
130
|
exports.RangeInput = ks;
|
|
131
|
-
exports.ScrollArea =
|
|
132
|
-
exports.Section =
|
|
133
|
-
exports.Select =
|
|
134
|
-
exports.SimpleTable =
|
|
135
|
-
exports.Steps =
|
|
136
|
-
exports.TabBar =
|
|
137
|
-
exports.
|
|
131
|
+
exports.ScrollArea = ur;
|
|
132
|
+
exports.Section = lr;
|
|
133
|
+
exports.Select = Ae;
|
|
134
|
+
exports.SimpleTable = mi;
|
|
135
|
+
exports.Steps = fn;
|
|
136
|
+
exports.TabBar = mo;
|
|
137
|
+
exports.Table = W;
|
|
138
|
+
exports.Tag = Et;
|
|
138
139
|
exports.Tags = Si;
|
|
139
140
|
exports.TelephoneInput = ra;
|
|
140
141
|
exports.TextArea = vs;
|
|
141
142
|
exports.TextEditor = us;
|
|
142
143
|
exports.TextInput = Es;
|
|
143
144
|
exports.TimeInput = Fs;
|
|
144
|
-
exports.TimeLine =
|
|
145
|
-
exports.ToggleBar =
|
|
146
|
-
exports.Tooltip =
|
|
145
|
+
exports.TimeLine = yn;
|
|
146
|
+
exports.ToggleBar = w;
|
|
147
|
+
exports.Tooltip = Pe;
|
|
147
148
|
exports.URLInput = sa;
|
|
148
149
|
exports.WeekInput = Qs;
|
|
149
|
-
exports.boolSort =
|
|
150
|
-
exports.calculateTxtColor =
|
|
151
|
-
exports.dateSort =
|
|
150
|
+
exports.boolSort = ap;
|
|
151
|
+
exports.calculateTxtColor = Re;
|
|
152
|
+
exports.dateSort = sp;
|
|
152
153
|
exports.getHotkeyHandler = Ul;
|
|
153
|
-
exports.getHotkeyMatcher =
|
|
154
|
+
exports.getHotkeyMatcher = Gn;
|
|
154
155
|
exports.hasBSN = Gc;
|
|
155
|
-
exports.hexToHSL =
|
|
156
|
-
exports.hexToRGB =
|
|
157
|
-
exports.hslToHex =
|
|
156
|
+
exports.hexToHSL = ro;
|
|
157
|
+
exports.hexToRGB = no;
|
|
158
|
+
exports.hslToHex = oo;
|
|
158
159
|
exports.hslToRGB = jc;
|
|
159
160
|
exports.isIBAN = Zc;
|
|
160
|
-
exports.numSort =
|
|
161
|
-
exports.parseHotkey =
|
|
161
|
+
exports.numSort = io;
|
|
162
|
+
exports.parseHotkey = gr;
|
|
162
163
|
exports.randomDbl = np;
|
|
163
164
|
exports.randomInt = tp;
|
|
164
165
|
exports.rgbToHSL = Qc;
|
|
165
|
-
exports.rgbToHex =
|
|
166
|
+
exports.rgbToHex = to;
|
|
166
167
|
exports.roundTo = op;
|
|
167
|
-
exports.stringSort =
|
|
168
|
-
exports.useBoolToggle =
|
|
168
|
+
exports.stringSort = lp;
|
|
169
|
+
exports.useBoolToggle = Zn;
|
|
169
170
|
exports.useClickOutside = Sc;
|
|
170
171
|
exports.useClipboard = Xl;
|
|
171
172
|
exports.useConfirm = al;
|
|
172
173
|
exports.useDebouncedState = zl;
|
|
173
|
-
exports.useDebouncedValue =
|
|
174
|
+
exports.useDebouncedValue = Kn;
|
|
174
175
|
exports.useHotkeys = ql;
|
|
175
176
|
exports.useLocalStoredState = nc;
|
|
176
|
-
exports.useNotifier =
|
|
177
|
-
exports.usePagination =
|
|
177
|
+
exports.useNotifier = kh;
|
|
178
|
+
exports.usePagination = qn;
|
|
178
179
|
exports.useScrollIntoView = Ic;
|
|
179
180
|
exports.useSessionStoredState = hc;
|
|
180
|
-
exports.useToggle =
|
|
181
|
-
exports.useUncontrolled =
|
|
181
|
+
exports.useToggle = Pr;
|
|
182
|
+
exports.useUncontrolled = Un;
|
|
182
183
|
exports.useValidatedState = uc;
|