@beterdichtbij/component-library 0.31.5 → 0.31.6

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.
@@ -124,8 +124,8 @@ img.ProseMirror-separator {
124
124
  1. Must only contain digits, lowercase ASCII letters or "-"
125
125
  2. Cannot start or end with "-"
126
126
  3. "-" cannot repeat`);ze.customSchemes.push([n,e])}function m7(){ze.scanner=s7(ze.customSchemes);for(let n=0;n<ze.tokenQueue.length;n++)ze.tokenQueue[n][1]({scanner:ze.scanner});ze.parser=u7(ze.scanner.tokens);for(let n=0;n<ze.pluginQueue.length;n++)ze.pluginQueue[n][1]({scanner:ze.scanner,parser:ze.parser});ze.initialized=!0}function g7(n){return ze.initialized||m7(),d7(ze.parser.start,n,a7(ze.scanner.start,n))}function mc(n,e,t){if(e===void 0&&(e=null),t===void 0&&(t=null),e&&typeof e=="object"){if(t)throw Error(`linkifyjs: Invalid link type ${e}; must be a string`);t=e,e=null}const r=new hc(t),o=g7(n),i=[];for(let s=0;s<o.length;s++){const l=o[s];l.isLink&&(!e||l.t===e)&&r.check(l)&&i.push(l.toFormattedObject(r))}return i}function y7(n){return new yt({key:new Ut("autolink"),appendTransaction:(e,t,r)=>{const o=e.some(c=>c.docChanged)&&!t.doc.eq(r.doc),i=e.some(c=>c.getMeta("preventAutolink"));if(!o||i)return;const{tr:s}=r,l=G3(t.doc,[...e]);if(rb(l).forEach(({newRange:c})=>{const u=Z3(r.doc,c,p=>p.isTextblock);let f,h;if(u.length>1?(f=u[0],h=r.doc.textBetween(f.pos,f.pos+f.node.nodeSize,void 0," ")):u.length&&r.doc.textBetween(c.from,c.to," "," ").endsWith(" ")&&(f=u[0],h=r.doc.textBetween(f.pos,c.to,void 0," ")),f&&h){const p=h.split(" ").filter(y=>y!=="");if(p.length<=0)return!1;const m=p[p.length-1],g=f.pos+h.lastIndexOf(m);if(!m)return!1;mc(m).filter(y=>y.isLink).map(y=>({...y,from:g+y.start+1,to:g+y.end+1})).filter(y=>r.schema.marks.code?!r.doc.rangeHasMark(y.from,y.to,r.schema.marks.code):!0).filter(y=>n.validate?n.validate(y.value):!0).forEach(y=>{Tl(y.from,y.to,r.doc).some(C=>C.mark.type===n.type)||s.addMark(y.from,y.to,n.type.create({href:y.href}))})}}),!!s.steps.length)return s}})}function v7(n){return new yt({key:new Ut("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,i;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=Xf(e.state,n.type.name),a=r.target,c=(o=a==null?void 0:a.href)!==null&&o!==void 0?o:l.href,u=(i=a==null?void 0:a.target)!==null&&i!==void 0?i:l.target;return a&&c?(e.editable&&window.open(c,u),!0):!1}}})}function b7(n){return new yt({key:new Ut("handlePasteLink"),props:{handlePaste:(e,t,r)=>{var o;const{state:i}=e,{selection:s}=i,{empty:l}=s;if(l)return!1;let a="";r.content.forEach(m=>{a+=m.textContent});const c=mc(a).find(m=>m.isLink&&m.value===a);if(!a||!c)return!1;const u=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),f=/href="([^"]*)"/,h=u==null?void 0:u.match(f),p=h?h[1]:c.href;return n.editor.commands.setMark(n.type,{href:p}),!0}}})}const E7=en.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){vp(n);return}vp(n.scheme,n.optionalSlashes)})},onDestroy(){p7()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},validate:void 0}},addAttributes(){return{href:{default:null},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:'a[href]:not([href *= "javascript:" i])'}]},renderHTML({HTMLAttributes:n}){return["a",ft(this.options.HTMLAttributes,n),0]},addCommands(){return{setLink:n=>({chain:e})=>e().setMark(this.name,n).setMeta("preventAutolink",!0).run(),toggleLink:n=>({chain:e})=>e().toggleMark(this.name,n,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:n})=>n().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[Lo({find:n=>mc(n).filter(e=>this.options.validate?this.options.validate(e.value):!0).filter(e=>e.isLink).map(e=>({text:e.value,index:e.start,data:e})),type:this.type,getAttributes:(n,e)=>{var t,r;const o=(t=e==null?void 0:e.clipboardData)===null||t===void 0?void 0:t.getData("text/html"),i=/href="([^"]*)"/,s=o==null?void 0:o.match(i);return s?{href:s[1]}:{href:(r=n.data)===null||r===void 0?void 0:r.href}}})]},addProseMirrorPlugins(){const n=[];return this.options.autolink&&n.push(y7({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(v7({type:this.type})),this.options.linkOnPaste&&n.push(b7({editor:this.editor,type:this.type})),n}}).extend({addAttributes(){var n;return{...(n=this.parent)==null?void 0:n.call(this),title:{default:null,parseHTML:e=>e.getAttribute("title"),renderHTML:e=>({title:e.title})}}}}),C7=It.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new yt({key:new Ut("placeholder"),props:{decorations:({doc:n,selection:e})=>{const t=this.editor.isEditable||!this.options.showOnlyWhenEditable,{anchor:r}=e,o=[];if(!t)return null;const i=n.type.createAndFill(),s=(i==null?void 0:i.sameMarkup(n))&&i.content.findDiffStart(n.content)===null;return n.descendants((l,a)=>{const c=r>=a&&r<=a+l.nodeSize,u=!l.isLeaf&&!l.childCount;if((c||!this.options.showOnlyCurrent)&&u){const f=[this.options.emptyNodeClass];s&&f.push(this.options.emptyEditorClass);const h=_t.node(a,a+l.nodeSize,{class:f.join(" "),"data-placeholder":typeof this.options.placeholder=="function"?this.options.placeholder({editor:this.editor,node:l,pos:a,hasAnchor:c}):this.options.placeholder});o.push(h)}return this.options.includeChildren}),Ye.create(n,o)}}})]}}),S7=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,w7=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,k7=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,T7=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,A7=en.create({name:"bold",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"strong"},{tag:"b",getAttrs:n=>n.style.fontWeight!=="normal"&&null},{style:"font-weight",getAttrs:n=>/^(bold(er)?|[5-9]\d{2,})$/.test(n)&&null}]},renderHTML({HTMLAttributes:n}){return["strong",ft(this.options.HTMLAttributes,n),0]},addCommands(){return{setBold:()=>({commands:n})=>n.setMark(this.name),toggleBold:()=>({commands:n})=>n.toggleMark(this.name),unsetBold:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-b":()=>this.editor.commands.toggleBold(),"Mod-B":()=>this.editor.commands.toggleBold()}},addInputRules(){return[ji({find:S7,type:this.type}),ji({find:k7,type:this.type})]},addPasteRules(){return[Lo({find:w7,type:this.type}),Lo({find:T7,type:this.type})]}}),x7=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,O7=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,M7=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,N7=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,_7=en.create({name:"italic",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"em"},{tag:"i",getAttrs:n=>n.style.fontStyle!=="normal"&&null},{style:"font-style=italic"}]},renderHTML({HTMLAttributes:n}){return["em",ft(this.options.HTMLAttributes,n),0]},addCommands(){return{setItalic:()=>({commands:n})=>n.setMark(this.name),toggleItalic:()=>({commands:n})=>n.toggleMark(this.name),unsetItalic:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-i":()=>this.editor.commands.toggleItalic(),"Mod-I":()=>this.editor.commands.toggleItalic()}},addInputRules(){return[ji({find:x7,type:this.type}),ji({find:M7,type:this.type})]},addPasteRules(){return[Lo({find:O7,type:this.type}),Lo({find:N7,type:this.type})]}}),I7=en.create({name:"underline",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"u"},{style:"text-decoration",consuming:!1,getAttrs:n=>n.includes("underline")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["u",ft(this.options.HTMLAttributes,n),0]},addCommands(){return{setUnderline:()=>({commands:n})=>n.setMark(this.name),toggleUnderline:()=>({commands:n})=>n.toggleMark(this.name),unsetUnderline:()=>({commands:n})=>n.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-u":()=>this.editor.commands.toggleUnderline(),"Mod-U":()=>this.editor.commands.toggleUnderline()}}}),D7=pn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ft(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),L7=pn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ft(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),bp=en.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",ft(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Hi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Ep=/^\s*([-+*])\s$/,R7=pn.create({name:"bulletList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},parseHTML(){return[{tag:"ul"}]},renderHTML({HTMLAttributes:n}){return["ul",ft(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleBulletList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(L7.name,this.editor.getAttributes(bp.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Wi({find:Ep,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Wi({find:Ep,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(bp.name),editor:this.editor})),[n]}}),B7=pn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",ft(this.options.HTMLAttributes,n),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Cp=en.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",ft(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Hi(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Sp=/^(\d+)\.\s$/,$7=pn.create({name:"orderedList",addOptions(){return{itemTypeName:"listItem",HTMLAttributes:{},keepMarks:!1,keepAttributes:!1}},group:"block list",content(){return`${this.options.itemTypeName}+`},addAttributes(){return{start:{default:1,parseHTML:n=>n.hasAttribute("start")?parseInt(n.getAttribute("start")||"",10):1}}},parseHTML(){return[{tag:"ol"}]},renderHTML({HTMLAttributes:n}){const{start:e,...t}=n;return e===1?["ol",ft(this.options.HTMLAttributes,t),0]:["ol",ft(this.options.HTMLAttributes,n),0]},addCommands(){return{toggleOrderedList:()=>({commands:n,chain:e})=>this.options.keepAttributes?e().toggleList(this.name,this.options.itemTypeName,this.options.keepMarks).updateAttributes(B7.name,this.editor.getAttributes(Cp.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Wi({find:Sp,type:this.type,getAttributes:e=>({start:+e[1]}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1]});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Wi({find:Sp,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes(Cp.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),P7=pn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",ft(this.options.HTMLAttributes,n)]},renderText(){return`
127
- `},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:i}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:l}=r.extensionManager,a=i||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&a&&s){const f=a.filter(h=>l.includes(h.type.name));c.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),gc={BASIC:"basic",FULL:"full"},F7={class:"attachment-list"},V7={class:"attachment-link"},z7={key:1,class:"attachment-no-download"},H7=["href"],Fs=d.defineComponent({__name:"BDAttachmentPreviewList",props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete"],setup(n,{emit:e}){const t=r=>{e("delete",r)};return(r,o)=>(d.openBlock(),d.createElementBlock("ul",F7,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.files,i=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:i.CorrelationId},[d.createElementVNode("div",V7,[r.showDelete?(d.openBlock(),d.createBlock(tt,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:d.withCtx(()=>[d.createVNode(d.unref(uo))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),r.noDownload?(d.openBlock(),d.createElementBlock("div",z7,[d.createVNode(d.unref(Xn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)])):(d.openBlock(),d.createElementBlock("a",{key:2,href:i.downloadUrl},[d.createVNode(d.unref(Xn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)],8,H7))])]))),128))]))}}),U7={class:"attachment-list"},j7={class:"attachment"},W7=["onClick"],K7=["src","alt"],Y7=["onClick"],G7=["href"],J7={class:"btn btn-light download-button-image"},Z7=["src","alt"],Vs=d.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=i=>{e("delete",i)},o=(i,s)=>{i.target&&i.target.className==="img-preview"&&e("show",s)};return(i,s)=>(d.openBlock(),d.createElementBlock("ul",U7,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(i.files,l=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[d.createElementVNode("div",j7,[i.showDelete?(d.openBlock(),d.createBlock(tt,{key:0,variant:"remove","aria-label":"verwijder",onClick:d.withModifiers(a=>r(l),["prevent"])},{default:d.withCtx(()=>[d.createVNode(d.unref(uo))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),t.noDownload?(d.openBlock(),d.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[d.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,K7)],8,W7)):(d.openBlock(),d.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(d.openBlock(),d.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[d.createElementVNode("button",J7,[d.createVNode(d.unref(ri))])],8,G7)):d.createCommentVNode("",!0),d.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,Z7)],8,Y7))])]))),128))]))}}),wp=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),X7=n=>n.DownloadUrl?n.DownloadUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlage/"+n.Id:n.FileId?`/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlage/"+n.CorrelationId,Q7=n=>n.ThumbnailUrl?n.ThumbnailUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlageThumbnail/"+n.Id:n.StandardAttachmentId||n.standardAttachmentId?`/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlageThumbnail/"+n.CorrelationId,q7=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,e8=(n,e)=>e?wp(n):!wp(n),zs=(n,e)=>n===void 0?void 0:n.filter(o=>e8(o,e)).map(o=>{const i=typeof o.CorrelationId=="string"?o.CorrelationId:o.CorrelationId!==void 0?o.CorrelationId.toString():"";return{downloadUrl:X7(o),previewUrl:Q7(o),fullImageUrl:q7(o),altName:`${o.Naam}`,...o,CorrelationId:i}}),t8={class:"bd-markdown-editor__menu-bottom"},n8={key:0,class:"vr"},r8={key:4,class:"vr"},o8={key:7,class:"vr"},kp=d.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:gc.BASIC},files:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=Qn(t,"modelValue",e),i=[JE,ZE,XE,C7.configure({placeholder:t.placeholder}),P7,E7.configure({openOnClick:!1,validate:N=>/^https?:\/\//i.test(N)})];t.variant===gc.FULL&&i.push(A7,_7,I7,D7,R7,$7);const s=GE({content:o.value,extensions:i,onUpdate:({editor:N})=>{const{view:T,state:z}=N,{from:U,to:j}=T.state.selection;if(z.doc.textBetween(U-1,j,"")==" "&&N.getAttributes("link").href!=null&&N.chain().setTextSelection({from:U-1,to:j}).toggleLink({href:N.getAttributes("link").href}).setTextSelection({from:j,to:j}).run(),N.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",N.getHTML())}});d.watch(()=>t.modelValue,N=>{s.value.getHTML()!==N&&s.value.commands.setContent(N,!0,{preserveWhitespace:"full"})});const l=d.computed(()=>t.state===!1?"is-invalid":null),a=d.computed(()=>g("bold")),c=d.computed(()=>g("italic")),u=d.computed(()=>g("underline")),f=d.computed(()=>g("bulletList")),h=d.computed(()=>g("orderedList")),p=d.computed(()=>g("link")),m=d.computed(()=>t.variant===gc.FULL),g=N=>s.value&&s.value.isActive(N)?"active":null,y=d.computed(()=>t.files&&t.files.length>0?zs(t.files,!1):null),C=d.computed(()=>t.files&&t.files.length>0?zs(t.files,!0):null),S=N=>{e("action",{name:"delete-attachment",obj:N})},k=N=>{e("action",{name:"image-attachment",obj:N})},b=()=>{const N=s.value.getAttributes("link").href,T=window.prompt("Enter a URL",N);if(T!==null){if(T===""){s.value.chain().focus().unsetLink().run();return}s.value.chain().focus().toggleLink({href:T}).run()}};return(N,T)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:d.normalizeClass(["bd-markdown-editor",l.value])},[d.createVNode(d.unref(YE),{editor:d.unref(s)},null,8,["editor"]),d.renderSlot(N.$slots,"default"),y.value?(d.openBlock(),d.createBlock(Fs,{key:0,files:y.value,"no-download":!0,"show-delete":!0,onDelete:S},null,8,["files"])):d.createCommentVNode("",!0),C.value?(d.openBlock(),d.createBlock(Vs,{key:1,files:C.value,"no-download":!0,"show-delete":!0,onDelete:S,onShow:k},null,8,["files"])):d.createCommentVNode("",!0),d.createElementVNode("div",t8,[d.createVNode(tt,{variant:"light",type:"button",onClick:r},{default:d.withCtx(()=>[d.createVNode(d.unref(Xn))]),_:1}),m.value?(d.openBlock(),d.createElementBlock("div",n8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:1,variant:"light",type:"button",class:d.normalizeClass(a.value),onClick:T[0]||(T[0]=z=>d.unref(s).chain().focus().toggleBold().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(sa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:2,variant:"light",type:"button",class:d.normalizeClass(c.value),onClick:T[1]||(T[1]=z=>d.unref(s).chain().focus().toggleItalic().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(pa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:3,variant:"light",type:"button",class:d.normalizeClass(u.value),onClick:T[2]||(T[2]=z=>d.unref(s).chain().focus().toggleUnderline().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ba))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createElementBlock("div",r8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:5,variant:"light",type:"button",class:d.normalizeClass(f.value),onClick:T[3]||(T[3]=z=>d.unref(s).chain().focus().toggleBulletList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(aa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:6,variant:"light",type:"button",class:d.normalizeClass(h.value),onClick:T[4]||(T[4]=z=>d.unref(s).chain().focus().toggleOrderedList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ma))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createElementBlock("div",o8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:8,variant:"light",type:"button",class:d.normalizeClass(p.value),onClick:b},{default:d.withCtx(()=>[d.createVNode(d.unref(ha))]),_:1},8,["class"])):d.createCommentVNode("",!0)])],2),d.createVNode(d.unref(di),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),i8={class:"header"},s8=d.createElementVNode("div",null,"Menu",-1),a8={class:"icon-close-wrapper"},l8={class:"navbar"},c8={class:"nav navbar-nav w-100"},u8={class:"nav-item"},d8={class:"nav-item"},yc=d.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),i=()=>e("signout");return(s,l)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-mobile-menu",r.value])},[d.createElementVNode("div",i8,[s8,d.createElementVNode("div",a8,[d.createVNode(ni,{onClick:o})])]),d.createElementVNode("nav",l8,[d.createElementVNode("ul",c8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.options,a=>(d.openBlock(),d.createElementBlock("li",u8,[d.createVNode(wr,d.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),d.renderSlot(s.$slots,"special-options"),d.createElementVNode("li",d8,[d.createVNode(wr,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),f8={class:"bd-user"},h8={class:"bd-user__information"},p8={class:"text-break"},m8={class:"overflow-x-hidden"},Tp=d.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=d.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(d.openBlock(),d.createElementBlock("div",f8,[e.hideImage?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(fo,d.mergeProps({key:0},e.img,{size:"sm"}),null,16)),d.createElementVNode("div",h8,[d.createElementVNode("header",null,[d.createElementVNode("h5",p8,d.toDisplayString(e.name),1),d.renderSlot(r.$slots,"header-extra")]),d.createElementVNode("span",m8,d.toDisplayString(t.value),1)])]))}}),vc="",Hs=n=>typeof n=="string"||n instanceof String,g8={class:"bd-chat-cloud-card"},y8={class:"bd-chat-cloud-card__header"},v8={class:"bd-chat-cloud-card__body"},b8=["innerHTML"],E8={class:"bd-chat-cloud-card__footer"},Ap=d.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},AltProfileImage:{default:""},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=d.computed(()=>t.isSender?"sender":vc),o=d.computed(()=>zs(t.files,!1)),i=d.computed(()=>zs(t.files,!0)),s=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,c)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-chat-cloud",r.value])},[d.createVNode(fo,{src:t.src,size:"sm"},null,8,["src"]),d.createElementVNode("div",g8,[d.createElementVNode("div",y8,[d.renderSlot(a.$slots,"header",{},()=>[d.createTextVNode(d.toDisplayString(a.headerTitle),1)]),d.createVNode(tt,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:d.withCtx(()=>[d.createTextVNode("kopieer")]),_:1})]),d.createElementVNode("div",v8,[d.renderSlot(a.$slots,"body",{},()=>[d.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,b8)])]),d.createElementVNode("div",E8,[d.renderSlot(a.$slots,"footer",{},()=>[o.value?(d.openBlock(),d.createBlock(Fs,{key:0,files:o.value},null,8,["files"])):d.createCommentVNode("",!0),i.value?(d.openBlock(),d.createBlock(Vs,{key:1,files:i.value,onShow:l,"fast-download":!0},null,8,["files"])):d.createCommentVNode("",!0)])])])],2))}}),C8=d.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=d.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},i=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},s=d.computed(()=>({"bd-table-sort":!0,active:t.active}));return d.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),i(),(l,a)=>(d.openBlock(),d.createElementBlock("th",{class:d.normalizeClass(s.value),onClick:a[0]||(a[0]=c=>{o(),i()})},[d.createElementVNode("span",null,d.toDisplayString(t.label),1),t.active&&!r.value?(d.openBlock(),d.createBlock(d.unref(ga),{key:0})):t.active&&r.value?(d.openBlock(),d.createBlock(d.unref(ya),{key:1})):(d.openBlock(),d.createBlock(d.unref(va),{key:2}))],2))}}),S8={class:"bd-table"},w8={key:0,class:"table"},k8={key:1},T8=["onClick"],A8={key:0},x8={key:1,class:"empty-text"},xp=d.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=d.ref(r.items),i=d.ref(r.sortBy),s=f=>i.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const y=m.toString(),C=g.toString();return y.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},c=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},u=()=>{o.value=r.items};return d.watch(()=>r.items,f=>{o.value=f}),e({Refresh:u}),(f,h)=>(d.openBlock(),d.createElementBlock("div",S8,[r.items&&r.items.length>0?(d.openBlock(),d.createElementBlock("table",w8,[d.createElementVNode("thead",null,[d.createElementVNode("tr",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.fields,p=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[p.isVisible?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[p.sortable?(d.openBlock(),d.createBlock(C8,{key:0,label:p.label,active:p.key==i.value,sortDesc:r.sortDesc,onClick:m=>s(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>c(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(d.openBlock(),d.createElementBlock("th",k8,d.toDisplayString(p.label),1))],64)):d.createCommentVNode("",!0)],64))),256))])]),d.createElementVNode("tbody",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.value,p=>(d.openBlock(),d.createElementBlock("tr",{class:d.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.fields,m=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[m.isVisible?(d.openBlock(),d.createElementBlock("td",A8,[f.$slots.hasOwnProperty(m.key)?d.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createTextVNode(d.toDisplayString(p[m.key]),1)],64))])):d.createCommentVNode("",!0)],64))),256))],10,T8))),256))])])):(d.openBlock(),d.createElementBlock("p",x8,d.toDisplayString(r.emptyText),1))]))}}),bc=d.defineComponent({__name:"BDDropdown",props:{size:{default:at.MD},variant:{default:si.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=ho(),r=`__BD__DROPDOWN__${t.value}`,o=d.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),i=d.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),s=d.computed(()=>({"aria-labelledby":r})),l=d.ref(),a=d.ref(),c=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(u,f)=>(d.openBlock(),d.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=d.withModifiers(()=>{},["stop"]))},[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(e.toggleTag),d.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:d.withCtx(()=>[d.createElementVNode("span",null,d.toDisplayString(e.text),1)]),_:1},16)),d.createElementVNode("ul",d.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",i.value]},s.value,{onClick:c}),[d.renderSlot(u.$slots,"default")],16)]))}}),O8={class:"row bd-header"},M8={class:"col logo-mix"},N8=["src","alt"],_8=d.createElementVNode("div",null,"Menu",-1),I8={key:0,class:"col header-options"},D8={class:"col bd-btn-settings"},L8="sm",Op=d.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>{let c=[];return t.headerOptions&&(c=c.concat(t.headerOptions)),t.dropdownOptions&&(c=c.concat(t.dropdownOptions)),c}),o=d.ref(void 0),i=()=>e("click"),s=()=>e("signout"),l=()=>o.value=!0,a=()=>o.value=!1;return(c,u)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("nav",O8,[d.createElementVNode("div",M8,[d.createVNode(Ea,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(d.openBlock(),d.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,N8)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[_8,d.createVNode(ii)]),t.headerOptions&&t.headerOptions.length!==0?(d.openBlock(),d.createElementBlock("div",I8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.headerOptions,f=>(d.openBlock(),d.createBlock(tt,{class:"btn-header",to:f.to},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(f.text),1)]),_:2},1032,["to"]))),256))])):d.createCommentVNode("",!0),d.createElementVNode("div",D8,[d.renderSlot(c.$slots,"profile-side"),t.profileImageSrc?(d.openBlock(),d.createBlock(fo,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:L8},null,8,["src","alt"])):d.createCommentVNode("",!0),d.createVNode(bc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.dropdownOptions,(f,h)=>(d.openBlock(),d.createBlock(fi,d.mergeProps({key:h},f),null,16))),128)),d.createVNode(fi,{text:"Uitloggen",onClick:s})]),_:1},8,["text"])])]),d.createVNode(yc,{active:o.value,options:r.value,onHide:a,onSignout:s},{"special-options":d.withCtx(()=>[d.renderSlot(c.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"])],64))}}),R8={class:"modal bd-modal modal-lg",tabindex:"-1"},B8={class:"modal-dialog"},$8={class:"modal-content"},P8={class:"modal-header"},F8={class:"modal-title"},V8=d.createElementVNode("span",null,"Sluiten",-1),z8={class:"modal-body"},H8={key:0,class:"modal-footer"},U8=["disabled"],Mp=d.defineComponent({__name:"BDModal",props:{title:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=()=>{e("submit")},o=()=>{e("cancel")};return(i,s)=>(d.openBlock(),d.createElementBlock("div",R8,[d.createElementVNode("div",B8,[d.createElementVNode("div",$8,[d.createElementVNode("div",P8,[d.createElementVNode("h2",F8,d.toDisplayString(t.title),1),d.renderSlot(i.$slots,"modal-header-space-between"),d.createElementVNode("button",{type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:o},[V8,d.createVNode(d.unref(ni),{class:"bg-primary"})])]),d.createElementVNode("div",z8,[d.renderSlot(i.$slots,"default")]),i.hideFooter?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",H8,[t.hideFooterSubmitButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},d.toDisplayString(t.submitButtonTitle),9,U8)),d.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:o,"aria-label":"Annuleren"},d.toDisplayString(t.closeButtonTitle),1))]))])])]))}}),j8={class:"template change-password-template"},W8={class:"template-title"},K8={key:0},Y8={key:1},G8=["onSubmit","onReset"],J8={class:"bd-form-field"},Z8={class:"bd-form-field"},X8={class:"bd-form-field"},Q8={class:"bd-form-buttons"},Np=d.defineComponent({__name:"BDChangePasswordTemplate",props:{data:{},validation:{},serverErrors:{},errorMessages:{},errorMessageText:{},title:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{}},emits:["submit","reset"],setup(n,{emit:e}){const t=()=>e("submit"),r=()=>e("reset");return(o,i)=>(d.openBlock(),d.createElementBlock("main",j8,[d.createVNode(ti,{class:"container-xl"},{default:d.withCtx(()=>[d.createVNode(Zn,{class:"justify-content-md-center template-header"},{default:d.withCtx(()=>[d.createVNode(Jn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createElementVNode("h2",W8,d.toDisplayString(o.title),1)]),_:1})]),_:1}),d.createVNode(Zn,{class:"justify-content-md-center"},{default:d.withCtx(()=>[d.createVNode(Jn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createVNode(ui,{class:"bd-card-template",noHeader:!0},{body:d.withCtx(()=>[d.createVNode(ti,{class:"container-fluid"},{default:d.withCtx(()=>[d.createVNode(Zn,null,{default:d.withCtx(()=>[d.createVNode(Jn,null,{default:d.withCtx(()=>[d.createVNode(ai,{variant:"warning"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.alertText),1)]),_:1})]),_:1})]),_:1}),o.errorMessages||o.errorMessageText?(d.openBlock(),d.createBlock(Zn,{key:0},{default:d.withCtx(()=>[d.createVNode(Jn,null,{default:d.withCtx(()=>[d.createVNode(ai,{variant:"danger"},{default:d.withCtx(()=>[o.errorMessages?(d.openBlock(),d.createElementBlock("div",K8,[d.createElementVNode("ul",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.errorMessages,(s,l)=>(d.openBlock(),d.createElementBlock("li",{key:l},[d.createVNode(co),d.createTextVNode(" "+d.toDisplayString(s),1)]))),128))])])):(d.openBlock(),d.createElementBlock("div",Y8,d.toDisplayString(o.errorMessageText),1))]),_:1})]),_:1})]),_:1})):d.createCommentVNode("",!0),d.createVNode(Zn,null,{default:d.withCtx(()=>[d.createVNode(Jn,{class:"bd-card-form",sm:12,md:12},{default:d.withCtx(()=>[d.createElementVNode("form",{onSubmit:d.withModifiers(t,["prevent"]),onReset:d.withModifiers(r,["prevent"]),class:"form"},[d.createElementVNode("div",J8,[d.createVNode(mo,{modelValue:o.data.password,"onUpdate:modelValue":i[0]||(i[0]=s=>o.data.password=s),label:o.currentPasswordLabel,state:o.validation.password.state,type:"password",invalidFeedbackText:o.validation.password.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",Z8,[d.createVNode(mo,{modelValue:o.data.passwordNew,"onUpdate:modelValue":i[1]||(i[1]=s=>o.data.passwordNew=s),label:o.newPasswordLabel,state:o.validation.passwordNew.state,type:"password",invalidFeedbackText:o.validation.passwordNew.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",X8,[d.createVNode(mo,{modelValue:o.data.passwordRepeat,"onUpdate:modelValue":i[2]||(i[2]=s=>o.data.passwordRepeat=s),label:o.confirmNewPasswordLabel,state:o.validation.passwordRepeat.state,type:"password",invalidFeedbackText:o.validation.passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",Q8,[d.createVNode(tt,{type:"submit"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.submitButtonText),1)]),_:1}),d.createVNode(tt,{type:"reset",variant:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.cancelButtonText),1)]),_:1})])],40,G8)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}});/*!
127
+ `},addCommands(){return{setHardBreak:()=>({commands:n,chain:e,state:t,editor:r})=>n.first([()=>n.exitCode(),()=>n.command(()=>{const{selection:o,storedMarks:i}=t;if(o.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:l}=r.extensionManager,a=i||o.$to.parentOffset&&o.$from.marks();return e().insertContent({type:this.name}).command(({tr:c,dispatch:u})=>{if(u&&a&&s){const f=a.filter(h=>l.includes(h.type.name));c.ensureMarks(f)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),gc={BASIC:"basic",FULL:"full"},F7={class:"attachment-list"},V7={class:"attachment-link"},z7={key:1,class:"attachment-no-download"},H7=["href"],Fs=d.defineComponent({__name:"BDAttachmentPreviewList",props:{files:{default:[]},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete"],setup(n,{emit:e}){const t=r=>{e("delete",r)};return(r,o)=>(d.openBlock(),d.createElementBlock("ul",F7,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.files,i=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:i.CorrelationId},[d.createElementVNode("div",V7,[r.showDelete?(d.openBlock(),d.createBlock(tt,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:d.withCtx(()=>[d.createVNode(d.unref(uo))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),r.noDownload?(d.openBlock(),d.createElementBlock("div",z7,[d.createVNode(d.unref(Xn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)])):(d.openBlock(),d.createElementBlock("a",{key:2,href:i.downloadUrl},[d.createVNode(d.unref(Xn)),d.createTextVNode(" "+d.toDisplayString(i.Naam.trim()),1)],8,H7))])]))),128))]))}}),U7={class:"attachment-list"},j7={class:"attachment"},W7=["onClick"],K7=["src","alt"],Y7=["onClick"],G7=["href"],J7={class:"btn btn-light download-button-image"},Z7=["src","alt"],Vs=d.defineComponent({__name:"BDImageAttachmentPreviewList",props:{fastDownload:{type:Boolean,default:!1},files:{default:void 0},showDelete:{type:Boolean,default:!1},noDownload:{type:Boolean,default:!1}},emits:["delete","show"],setup(n,{emit:e}){const t=n,r=i=>{e("delete",i)},o=(i,s)=>{i.target&&i.target.className==="img-preview"&&e("show",s)};return(i,s)=>(d.openBlock(),d.createElementBlock("ul",U7,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(i.files,l=>(d.openBlock(),d.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[d.createElementVNode("div",j7,[i.showDelete?(d.openBlock(),d.createBlock(tt,{key:0,variant:"remove","aria-label":"verwijder",onClick:d.withModifiers(a=>r(l),["prevent"])},{default:d.withCtx(()=>[d.createVNode(d.unref(uo))]),_:2},1032,["onClick"])):d.createCommentVNode("",!0),t.noDownload?(d.openBlock(),d.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[d.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,K7)],8,W7)):(d.openBlock(),d.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(d.openBlock(),d.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[d.createElementVNode("button",J7,[d.createVNode(d.unref(ri))])],8,G7)):d.createCommentVNode("",!0),d.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,Z7)],8,Y7))])]))),128))]))}}),wp=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),X7=n=>n.DownloadUrl?n.DownloadUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlage/"+n.Id:n.FileId?`/Portaal/DownloadStandardMessageAttachment/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlage/"+n.CorrelationId,Q7=n=>n.ThumbnailUrl?n.ThumbnailUrl:n.identifier?`/Collega/api/Conversation/GetConversationAttachmentThumbnail?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:n.url?n.url:n.Id?"/Portaal/DownloadBerichtBijlageThumbnail/"+n.Id:n.StandardAttachmentId||n.standardAttachmentId?`/Portaal/DownloadStandardMessageAttachmentThumbnail/${n.StandardAttachmentId}/${n.FileId}`:"/Portaal/DownloadBerichtStagingBijlageThumbnail/"+n.CorrelationId,q7=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,e8=(n,e)=>e?wp(n):!wp(n),zs=(n,e)=>n===void 0?void 0:n.filter(o=>e8(o,e)).map(o=>{const i=typeof o.CorrelationId=="string"?o.CorrelationId:o.CorrelationId!==void 0?o.CorrelationId.toString():"";return{downloadUrl:X7(o),previewUrl:Q7(o),fullImageUrl:q7(o),altName:`${o.Naam}`,...o,CorrelationId:i}}),t8={class:"bd-markdown-editor__menu-bottom"},n8={key:0,class:"vr"},kp=d.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:gc.BASIC},files:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=Qn(t,"modelValue",e),i=[JE,ZE,XE,C7.configure({placeholder:t.placeholder}),P7,E7.configure({openOnClick:!1,validate:N=>/^https?:\/\//i.test(N)})];t.variant===gc.FULL&&i.push(A7,_7,I7,D7,R7,$7);const s=GE({content:o.value,extensions:i,onUpdate:({editor:N})=>{const{view:T,state:z}=N,{from:U,to:j}=T.state.selection;if(z.doc.textBetween(U-1,j,"")==" "&&N.getAttributes("link").href!=null&&N.chain().setTextSelection({from:U-1,to:j}).toggleLink({href:N.getAttributes("link").href}).setTextSelection({from:j,to:j}).run(),N.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",N.getHTML())}});d.watch(()=>t.modelValue,N=>{s.value.getHTML()!==N&&s.value.commands.setContent(N,!0,{preserveWhitespace:"full"})});const l=d.computed(()=>t.state===!1?"is-invalid":null),a=d.computed(()=>g("bold")),c=d.computed(()=>g("italic")),u=d.computed(()=>g("underline")),f=d.computed(()=>g("bulletList")),h=d.computed(()=>g("orderedList")),p=d.computed(()=>g("link")),m=d.computed(()=>t.variant===gc.FULL),g=N=>s.value&&s.value.isActive(N)?"active":null,y=d.computed(()=>t.files&&t.files.length>0?zs(t.files,!1):null),C=d.computed(()=>t.files&&t.files.length>0?zs(t.files,!0):null),S=N=>{e("action",{name:"delete-attachment",obj:N})},k=N=>{e("action",{name:"image-attachment",obj:N})},b=()=>{const N=s.value.getAttributes("link").href,T=window.prompt("Voeg link toe",N);if(T!==null){if(T===""){s.value.chain().focus().unsetLink().run();return}s.value.chain().focus().toggleLink({href:T}).run()}};return(N,T)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("div",{class:d.normalizeClass(["bd-markdown-editor",l.value])},[d.createVNode(d.unref(YE),{editor:d.unref(s)},null,8,["editor"]),d.renderSlot(N.$slots,"default"),y.value?(d.openBlock(),d.createBlock(Fs,{key:0,files:y.value,"no-download":!0,"show-delete":!0,onDelete:S},null,8,["files"])):d.createCommentVNode("",!0),C.value?(d.openBlock(),d.createBlock(Vs,{key:1,files:C.value,"no-download":!0,"show-delete":!0,onDelete:S,onShow:k},null,8,["files"])):d.createCommentVNode("",!0),d.createElementVNode("div",t8,[d.createVNode(tt,{variant:"light",type:"button",onClick:r},{default:d.withCtx(()=>[d.createVNode(d.unref(Xn))]),_:1}),m.value?(d.openBlock(),d.createElementBlock("div",n8)):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:1,variant:"light",type:"button",class:d.normalizeClass(a.value),onClick:T[0]||(T[0]=z=>d.unref(s).chain().focus().toggleBold().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(sa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:2,variant:"light",type:"button",class:d.normalizeClass(c.value),onClick:T[1]||(T[1]=z=>d.unref(s).chain().focus().toggleItalic().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(pa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:3,variant:"light",type:"button",class:d.normalizeClass(u.value),onClick:T[2]||(T[2]=z=>d.unref(s).chain().focus().toggleUnderline().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ba))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:4,variant:"light",type:"button",class:d.normalizeClass(f.value),onClick:T[3]||(T[3]=z=>d.unref(s).chain().focus().toggleBulletList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(aa))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:5,variant:"light",type:"button",class:d.normalizeClass(h.value),onClick:T[4]||(T[4]=z=>d.unref(s).chain().focus().toggleOrderedList().run())},{default:d.withCtx(()=>[d.createVNode(d.unref(ma))]),_:1},8,["class"])):d.createCommentVNode("",!0),m.value?(d.openBlock(),d.createBlock(tt,{key:6,variant:"light",type:"button",class:d.normalizeClass(p.value),onClick:b},{default:d.withCtx(()=>[d.createVNode(d.unref(ha))]),_:1},8,["class"])):d.createCommentVNode("",!0)])],2),d.createVNode(d.unref(di),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),r8={class:"header"},o8=d.createElementVNode("div",null,"Menu",-1),i8={class:"icon-close-wrapper"},s8={class:"navbar"},a8={class:"nav navbar-nav w-100"},l8={class:"nav-item"},c8={class:"nav-item"},yc=d.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),i=()=>e("signout");return(s,l)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-mobile-menu",r.value])},[d.createElementVNode("div",r8,[o8,d.createElementVNode("div",i8,[d.createVNode(ni,{onClick:o})])]),d.createElementVNode("nav",s8,[d.createElementVNode("ul",a8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.options,a=>(d.openBlock(),d.createElementBlock("li",l8,[d.createVNode(wr,d.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),d.renderSlot(s.$slots,"special-options"),d.createElementVNode("li",c8,[d.createVNode(wr,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),u8={class:"bd-user"},d8={class:"bd-user__information"},f8={class:"text-break"},h8={class:"overflow-x-hidden"},Tp=d.defineComponent({__name:"BDUser",props:{name:{default:""},img:{default:void 0},details:{default:void 0},hideImage:{type:Boolean,default:!1}},setup(n){const e=n,t=d.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(d.openBlock(),d.createElementBlock("div",u8,[e.hideImage?d.createCommentVNode("",!0):(d.openBlock(),d.createBlock(fo,d.mergeProps({key:0},e.img,{size:"sm"}),null,16)),d.createElementVNode("div",d8,[d.createElementVNode("header",null,[d.createElementVNode("h5",f8,d.toDisplayString(e.name),1),d.renderSlot(r.$slots,"header-extra")]),d.createElementVNode("span",h8,d.toDisplayString(t.value),1)])]))}}),vc="",Hs=n=>typeof n=="string"||n instanceof String,p8={class:"bd-chat-cloud-card"},m8={class:"bd-chat-cloud-card__header"},g8={class:"bd-chat-cloud-card__body"},y8=["innerHTML"],v8={class:"bd-chat-cloud-card__footer"},Ap=d.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},AltProfileImage:{default:""},message:{default:""},isSender:{type:Boolean,default:!1},files:{default:void 0},pills:{default:void 0}},emits:["show-attachment","action"],setup(n,{emit:e}){const t=n,r=d.computed(()=>t.isSender?"sender":vc),o=d.computed(()=>zs(t.files,!1)),i=d.computed(()=>zs(t.files,!0)),s=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,c)=>(d.openBlock(),d.createElementBlock("div",{class:d.normalizeClass(["bd-chat-cloud",r.value])},[d.createVNode(fo,{src:t.src,size:"sm"},null,8,["src"]),d.createElementVNode("div",p8,[d.createElementVNode("div",m8,[d.renderSlot(a.$slots,"header",{},()=>[d.createTextVNode(d.toDisplayString(a.headerTitle),1)]),d.createVNode(tt,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:d.withCtx(()=>[d.createTextVNode("kopieer")]),_:1})]),d.createElementVNode("div",g8,[d.renderSlot(a.$slots,"body",{},()=>[d.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,y8)])]),d.createElementVNode("div",v8,[d.renderSlot(a.$slots,"footer",{},()=>[o.value?(d.openBlock(),d.createBlock(Fs,{key:0,files:o.value},null,8,["files"])):d.createCommentVNode("",!0),i.value?(d.openBlock(),d.createBlock(Vs,{key:1,files:i.value,onShow:l,"fast-download":!0},null,8,["files"])):d.createCommentVNode("",!0)])])])],2))}}),b8=d.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=d.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},i=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},s=d.computed(()=>({"bd-table-sort":!0,active:t.active}));return d.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),i(),(l,a)=>(d.openBlock(),d.createElementBlock("th",{class:d.normalizeClass(s.value),onClick:a[0]||(a[0]=c=>{o(),i()})},[d.createElementVNode("span",null,d.toDisplayString(t.label),1),t.active&&!r.value?(d.openBlock(),d.createBlock(d.unref(ga),{key:0})):t.active&&r.value?(d.openBlock(),d.createBlock(d.unref(ya),{key:1})):(d.openBlock(),d.createBlock(d.unref(va),{key:2}))],2))}}),E8={class:"bd-table"},C8={key:0,class:"table"},S8={key:1},w8=["onClick"],k8={key:0},T8={key:1,class:"empty-text"},xp=d.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=d.ref(r.items),i=d.ref(r.sortBy),s=f=>i.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const y=m.toString(),C=g.toString();return y.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},c=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},u=()=>{o.value=r.items};return d.watch(()=>r.items,f=>{o.value=f}),e({Refresh:u}),(f,h)=>(d.openBlock(),d.createElementBlock("div",E8,[r.items&&r.items.length>0?(d.openBlock(),d.createElementBlock("table",C8,[d.createElementVNode("thead",null,[d.createElementVNode("tr",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(r.fields,p=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[p.isVisible?(d.openBlock(),d.createElementBlock(d.Fragment,{key:0},[p.sortable?(d.openBlock(),d.createBlock(b8,{key:0,label:p.label,active:p.key==i.value,sortDesc:r.sortDesc,onClick:m=>s(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>c(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(d.openBlock(),d.createElementBlock("th",S8,d.toDisplayString(p.label),1))],64)):d.createCommentVNode("",!0)],64))),256))])]),d.createElementVNode("tbody",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.value,p=>(d.openBlock(),d.createElementBlock("tr",{class:d.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(n.fields,m=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[m.isVisible?(d.openBlock(),d.createElementBlock("td",k8,[f.$slots.hasOwnProperty(m.key)?d.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(d.openBlock(),d.createElementBlock(d.Fragment,{key:1},[d.createTextVNode(d.toDisplayString(p[m.key]),1)],64))])):d.createCommentVNode("",!0)],64))),256))],10,w8))),256))])])):(d.openBlock(),d.createElementBlock("p",T8,d.toDisplayString(r.emptyText),1))]))}}),bc=d.defineComponent({__name:"BDDropdown",props:{size:{default:at.MD},variant:{default:si.PRIMARY},right:{type:Boolean,default:void 0},noFlip:{type:Boolean,default:void 0},toggleTag:{default:"button"},toggleClass:{},actionToggle:{type:Boolean,default:void 0},text:{default:""},offset:{default:void 0}},setup(n){const e=n,{uniqueIdentifier:t}=ho(),r=`__BD__DROPDOWN__${t.value}`,o=d.computed(()=>({class:{btn:e.toggleTag==="button",[`btn-${e.variant}`]:e.toggleTag==="button"&&e.variant,[`btn-${e.size}`]:e.toggleTag==="button"&&e.size,[`${e.toggleClass}`]:e.toggleClass!==void 0,"dropdown-toggle-action":e.actionToggle},"data-bs-display":e.noFlip?"static":null,"data-bs-offset":e.offset?e.offset:null,id:r})),i=d.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),s=d.computed(()=>({"aria-labelledby":r})),l=d.ref(),a=d.ref(),c=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(u,f)=>(d.openBlock(),d.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=d.withModifiers(()=>{},["stop"]))},[(d.openBlock(),d.createBlock(d.resolveDynamicComponent(e.toggleTag),d.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:d.withCtx(()=>[d.createElementVNode("span",null,d.toDisplayString(e.text),1)]),_:1},16)),d.createElementVNode("ul",d.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",i.value]},s.value,{onClick:c}),[d.renderSlot(u.$slots,"default")],16)]))}}),A8={class:"row bd-header"},x8={class:"col logo-mix"},O8=["src","alt"],M8=d.createElementVNode("div",null,"Menu",-1),N8={key:0,class:"col header-options"},_8={class:"col bd-btn-settings"},I8="sm",Op=d.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=d.computed(()=>{let c=[];return t.headerOptions&&(c=c.concat(t.headerOptions)),t.dropdownOptions&&(c=c.concat(t.dropdownOptions)),c}),o=d.ref(void 0),i=()=>e("click"),s=()=>e("signout"),l=()=>o.value=!0,a=()=>o.value=!1;return(c,u)=>(d.openBlock(),d.createElementBlock(d.Fragment,null,[d.createElementVNode("nav",A8,[d.createElementVNode("div",x8,[d.createVNode(Ea,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(d.openBlock(),d.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,O8)):d.createCommentVNode("",!0)]),d.createElementVNode("div",{class:"col bd-hamburger",onClick:l},[M8,d.createVNode(ii)]),t.headerOptions&&t.headerOptions.length!==0?(d.openBlock(),d.createElementBlock("div",N8,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.headerOptions,f=>(d.openBlock(),d.createBlock(tt,{class:"btn-header",to:f.to},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(f.text),1)]),_:2},1032,["to"]))),256))])):d.createCommentVNode("",!0),d.createElementVNode("div",_8,[d.renderSlot(c.$slots,"profile-side"),t.profileImageSrc?(d.openBlock(),d.createBlock(fo,{key:0,src:t.profileImageSrc,alt:t.profileImageAlt,size:I8},null,8,["src","alt"])):d.createCommentVNode("",!0),d.createVNode(bc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:d.withCtx(()=>[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(t.dropdownOptions,(f,h)=>(d.openBlock(),d.createBlock(fi,d.mergeProps({key:h},f),null,16))),128)),d.createVNode(fi,{text:"Uitloggen",onClick:s})]),_:1},8,["text"])])]),d.createVNode(yc,{active:o.value,options:r.value,onHide:a,onSignout:s},{"special-options":d.withCtx(()=>[d.renderSlot(c.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"])],64))}}),D8={class:"modal bd-modal modal-lg",tabindex:"-1"},L8={class:"modal-dialog"},R8={class:"modal-content"},B8={class:"modal-header"},$8={class:"modal-title"},P8=d.createElementVNode("span",null,"Sluiten",-1),F8={class:"modal-body"},V8={key:0,class:"modal-footer"},z8=["disabled"],Mp=d.defineComponent({__name:"BDModal",props:{title:{default:""},submitButtonTitle:{default:"Opslaan"},closeButtonTitle:{default:"Annuleren"},hideFooterCancelButton:{type:Boolean,default:!1},hideFooterSubmitButton:{type:Boolean,default:!1},hideFooter:{type:Boolean,default:!1},disableSubmitButton:{type:Boolean,default:!1}},emits:["submit","cancel"],setup(n,{emit:e}){const t=n,r=()=>{e("submit")},o=()=>{e("cancel")};return(i,s)=>(d.openBlock(),d.createElementBlock("div",D8,[d.createElementVNode("div",L8,[d.createElementVNode("div",R8,[d.createElementVNode("div",B8,[d.createElementVNode("h2",$8,d.toDisplayString(t.title),1),d.renderSlot(i.$slots,"modal-header-space-between"),d.createElementVNode("button",{type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:o},[P8,d.createVNode(d.unref(ni),{class:"bg-primary"})])]),d.createElementVNode("div",F8,[d.renderSlot(i.$slots,"default")]),i.hideFooter?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("div",V8,[t.hideFooterSubmitButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},d.toDisplayString(t.submitButtonTitle),9,z8)),d.renderSlot(i.$slots,"buttons"),t.hideFooterCancelButton?d.createCommentVNode("",!0):(d.openBlock(),d.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:o,"aria-label":"Annuleren"},d.toDisplayString(t.closeButtonTitle),1))]))])])]))}}),H8={class:"template change-password-template"},U8={class:"template-title"},j8={key:0},W8={key:1},K8=["onSubmit","onReset"],Y8={class:"bd-form-field"},G8={class:"bd-form-field"},J8={class:"bd-form-field"},Z8={class:"bd-form-buttons"},Np=d.defineComponent({__name:"BDChangePasswordTemplate",props:{data:{},validation:{},serverErrors:{},errorMessages:{},errorMessageText:{},title:{},alertText:{},currentPasswordLabel:{},newPasswordLabel:{},confirmNewPasswordLabel:{},submitButtonText:{},cancelButtonText:{}},emits:["submit","reset"],setup(n,{emit:e}){const t=()=>e("submit"),r=()=>e("reset");return(o,i)=>(d.openBlock(),d.createElementBlock("main",H8,[d.createVNode(ti,{class:"container-xl"},{default:d.withCtx(()=>[d.createVNode(Zn,{class:"justify-content-md-center template-header"},{default:d.withCtx(()=>[d.createVNode(Jn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createElementVNode("h2",U8,d.toDisplayString(o.title),1)]),_:1})]),_:1}),d.createVNode(Zn,{class:"justify-content-md-center"},{default:d.withCtx(()=>[d.createVNode(Jn,{xs:12,md:10,lg:7},{default:d.withCtx(()=>[d.createVNode(ui,{class:"bd-card-template",noHeader:!0},{body:d.withCtx(()=>[d.createVNode(ti,{class:"container-fluid"},{default:d.withCtx(()=>[d.createVNode(Zn,null,{default:d.withCtx(()=>[d.createVNode(Jn,null,{default:d.withCtx(()=>[d.createVNode(ai,{variant:"warning"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.alertText),1)]),_:1})]),_:1})]),_:1}),o.errorMessages||o.errorMessageText?(d.openBlock(),d.createBlock(Zn,{key:0},{default:d.withCtx(()=>[d.createVNode(Jn,null,{default:d.withCtx(()=>[d.createVNode(ai,{variant:"danger"},{default:d.withCtx(()=>[o.errorMessages?(d.openBlock(),d.createElementBlock("div",j8,[d.createElementVNode("ul",null,[(d.openBlock(!0),d.createElementBlock(d.Fragment,null,d.renderList(o.errorMessages,(s,l)=>(d.openBlock(),d.createElementBlock("li",{key:l},[d.createVNode(co),d.createTextVNode(" "+d.toDisplayString(s),1)]))),128))])])):(d.openBlock(),d.createElementBlock("div",W8,d.toDisplayString(o.errorMessageText),1))]),_:1})]),_:1})]),_:1})):d.createCommentVNode("",!0),d.createVNode(Zn,null,{default:d.withCtx(()=>[d.createVNode(Jn,{class:"bd-card-form",sm:12,md:12},{default:d.withCtx(()=>[d.createElementVNode("form",{onSubmit:d.withModifiers(t,["prevent"]),onReset:d.withModifiers(r,["prevent"]),class:"form"},[d.createElementVNode("div",Y8,[d.createVNode(mo,{modelValue:o.data.password,"onUpdate:modelValue":i[0]||(i[0]=s=>o.data.password=s),label:o.currentPasswordLabel,state:o.validation.password.state,type:"password",invalidFeedbackText:o.validation.password.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",G8,[d.createVNode(mo,{modelValue:o.data.passwordNew,"onUpdate:modelValue":i[1]||(i[1]=s=>o.data.passwordNew=s),label:o.newPasswordLabel,state:o.validation.passwordNew.state,type:"password",invalidFeedbackText:o.validation.passwordNew.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",J8,[d.createVNode(mo,{modelValue:o.data.passwordRepeat,"onUpdate:modelValue":i[2]||(i[2]=s=>o.data.passwordRepeat=s),label:o.confirmNewPasswordLabel,state:o.validation.passwordRepeat.state,type:"password",invalidFeedbackText:o.validation.passwordRepeat.errorLabel},null,8,["modelValue","label","state","invalidFeedbackText"])]),d.createElementVNode("div",Z8,[d.createVNode(tt,{type:"submit"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.submitButtonText),1)]),_:1}),d.createVNode(tt,{type:"reset",variant:"link"},{default:d.withCtx(()=>[d.createTextVNode(d.toDisplayString(o.cancelButtonText),1)]),_:1})])],40,K8)]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})]))}});/*!
128
128
  * Bootstrap v5.3.0 (https://getbootstrap.com/)
129
129
  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
130
130
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
131
- */const Vn=new Map,Ec={set(n,e,t){Vn.has(n)||Vn.set(n,new Map);const r=Vn.get(n);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,t)},get(n,e){return Vn.has(n)&&Vn.get(n).get(e)||null},remove(n,e){if(!Vn.has(n))return;const t=Vn.get(n);t.delete(e),t.size===0&&Vn.delete(n)}},q8=1e6,e4=1e3,Cc="transitionend",_p=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),t4=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),n4=n=>{do n+=Math.floor(Math.random()*q8);while(document.getElementById(n));return n},r4=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const r=Number.parseFloat(e),o=Number.parseFloat(t);return!r&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*e4)},Ip=n=>{n.dispatchEvent(new Event(Cc))},yn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),zn=n=>yn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(_p(n)):null,qr=n=>{if(!yn(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const r=n.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},Hn=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",Dp=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?Dp(n.parentNode):null},Us=()=>{},Yo=n=>{n.offsetHeight},Lp=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Sc=[],o4=n=>{document.readyState==="loading"?(Sc.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Sc)e()}),Sc.push(n)):n()},Rt=()=>document.documentElement.dir==="rtl",Bt=n=>{o4(()=>{const e=Lp();if(e){const t=n.NAME,r=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=r,n.jQueryInterface)}})},Et=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,Rp=(n,e,t=!0)=>{if(!t){Et(n);return}const r=5,o=r4(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(Cc,s),Et(n))};e.addEventListener(Cc,s),setTimeout(()=>{i||Ip(e)},o)},wc=(n,e,t,r)=>{const o=n.length;let i=n.indexOf(e);return i===-1?!t&&r?n[o-1]:n[0]:(i+=t?1:-1,r&&(i=(i+o)%o),n[Math.max(0,Math.min(i,o-1))])},i4=/[^.]*(?=\..*)\.|.*/,s4=/\..*/,a4=/::\d+$/,kc={};let Bp=1;const $p={mouseenter:"mouseover",mouseleave:"mouseout"},l4=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Pp(n,e){return e&&`${e}::${Bp++}`||n.uidEvent||Bp++}function Fp(n){const e=Pp(n);return n.uidEvent=e,kc[e]=kc[e]||{},kc[e]}function c4(n,e){return function t(r){return Ac(r,{delegateTarget:n}),t.oneOff&&ie.off(n,r.type,e),e.apply(n,[r])}}function u4(n,e,t){return function r(o){const i=n.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const l of i)if(l===s)return Ac(o,{delegateTarget:s}),r.oneOff&&ie.off(n,o.type,e,t),t.apply(s,[o])}}function Vp(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function zp(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=Up(n);return l4.has(i)||(i=n),[r,o,i]}function Hp(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=zp(e,t,r);e in $p&&(s=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(s));const a=Fp(n),c=a[l]||(a[l]={}),u=Vp(c,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const f=Pp(s,e.replace(i4,"")),h=i?u4(n,t,s):c4(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=f,c[f]=h,n.addEventListener(l,h,i)}function Tc(n,e,t,r,o){const i=Vp(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function d4(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&Tc(n,e,t,s.callable,s.delegationSelector)}function Up(n){return n=n.replace(s4,""),$p[n]||n}const ie={on(n,e,t,r){Hp(n,e,t,r,!1)},one(n,e,t,r){Hp(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=zp(e,t,r),l=s!==e,a=Fp(n),c=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;Tc(n,a,s,i,o?t:null);return}if(u)for(const f of Object.keys(a))d4(n,a,f,e.slice(1));for(const[f,h]of Object.entries(c)){const p=f.replace(a4,"");(!l||e.includes(p))&&Tc(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=Lp(),o=Up(e),i=e!==o;let s=null,l=!0,a=!0,c=!1;i&&r&&(s=r.Event(e,t),r(n).trigger(s),l=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const u=Ac(new Event(e,{bubbles:l,cancelable:!0}),t);return c&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function Ac(n,e={}){for(const[t,r]of Object.entries(e))try{n[t]=r}catch{Object.defineProperty(n,t,{configurable:!0,get(){return r}})}return n}function jp(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function xc(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const vn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${xc(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${xc(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=jp(n.dataset[r])}return e},getDataAttribute(n,e){return jp(n.getAttribute(`data-bs-${xc(e)}`))}};class Go{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=yn(t)?vn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...yn(t)?vn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const i=e[r],s=yn(i)?"element":t4(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const f4="5.3.0";class Gt extends Go{constructor(e,t){super(),e=zn(e),e&&(this._element=e,this._config=this._getConfig(t),Ec.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ec.remove(this._element,this.constructor.DATA_KEY),ie.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Rp(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ec.get(zn(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return f4}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Oc=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return _p(e)},ke={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let r=n.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!Hn(t)&&qr(t))},getSelectorFromElement(n){const e=Oc(n);return e&&ke.findOne(e)?e:null},getElementFromSelector(n){const e=Oc(n);return e?ke.findOne(e):null},getMultipleElementsFromSelector(n){const e=Oc(n);return e?ke.find(e):[]}},js=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ie.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Hn(this))return;const i=ke.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},h4="alert",Wp=".bs.alert",p4=`close${Wp}`,m4=`closed${Wp}`,g4="fade",y4="show";class Ws extends Gt{static get NAME(){return h4}close(){if(ie.trigger(this._element,p4).defaultPrevented)return;this._element.classList.remove(y4);const t=this._element.classList.contains(g4);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ie.trigger(this._element,m4),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Ws.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}js(Ws,"close"),Bt(Ws);const v4="button",b4=".bs.button",E4=".data-api",C4="active",Kp='[data-bs-toggle="button"]',S4=`click${b4}${E4}`;class Ks extends Gt{static get NAME(){return v4}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(C4))}static jQueryInterface(e){return this.each(function(){const t=Ks.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ie.on(document,S4,Kp,n=>{n.preventDefault();const e=n.target.closest(Kp);Ks.getOrCreateInstance(e).toggle()}),Bt(Ks);const w4="swipe",eo=".bs.swipe",k4=`touchstart${eo}`,T4=`touchmove${eo}`,A4=`touchend${eo}`,x4=`pointerdown${eo}`,O4=`pointerup${eo}`,M4="touch",N4="pen",_4="pointer-event",I4=40,D4={endCallback:null,leftCallback:null,rightCallback:null},L4={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ys extends Go{constructor(e,t){super(),this._element=e,!(!e||!Ys.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return D4}static get DefaultType(){return L4}static get NAME(){return w4}dispose(){ie.off(this._element,eo)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Et(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=I4)return;const t=e/this._deltaX;this._deltaX=0,t&&Et(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ie.on(this._element,x4,e=>this._start(e)),ie.on(this._element,O4,e=>this._end(e)),this._element.classList.add(_4)):(ie.on(this._element,k4,e=>this._start(e)),ie.on(this._element,T4,e=>this._move(e)),ie.on(this._element,A4,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===N4||e.pointerType===M4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const R4="carousel",Un=".bs.carousel",Yp=".data-api",B4="ArrowLeft",$4="ArrowRight",P4=500,Jo="next",to="prev",no="left",Gs="right",F4=`slide${Un}`,Mc=`slid${Un}`,V4=`keydown${Un}`,z4=`mouseenter${Un}`,H4=`mouseleave${Un}`,U4=`dragstart${Un}`,j4=`load${Un}${Yp}`,W4=`click${Un}${Yp}`,Gp="carousel",Js="active",K4="slide",Y4="carousel-item-end",G4="carousel-item-start",J4="carousel-item-next",Z4="carousel-item-prev",Jp=".active",Zp=".carousel-item",X4=Jp+Zp,Q4=".carousel-item img",q4=".carousel-indicators",e6="[data-bs-slide], [data-bs-slide-to]",t6='[data-bs-ride="carousel"]',n6={[B4]:Gs,[$4]:no},r6={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},o6={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Zo extends Gt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ke.findOne(q4,this._element),this._addEventListeners(),this._config.ride===Gp&&this.cycle()}static get Default(){return r6}static get DefaultType(){return o6}static get NAME(){return R4}next(){this._slide(Jo)}nextWhenVisible(){!document.hidden&&qr(this._element)&&this.next()}prev(){this._slide(to)}pause(){this._isSliding&&Ip(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ie.one(this._element,Mc,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ie.one(this._element,Mc,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?Jo:to;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ie.on(this._element,V4,e=>this._keydown(e)),this._config.pause==="hover"&&(ie.on(this._element,z4,()=>this.pause()),ie.on(this._element,H4,()=>this._maybeEnableCycle())),this._config.touch&&Ys.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ke.find(Q4,this._element))ie.on(r,U4,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(no)),rightCallback:()=>this._slide(this._directionToOrder(Gs)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),P4+this._config.interval))}};this._swipeHelper=new Ys(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=n6[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=ke.findOne(Jp,this._indicatorsElement);t.classList.remove(Js),t.removeAttribute("aria-current");const r=ke.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Js),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const r=this._getActive(),o=e===Jo,i=t||wc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=p=>ie.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(F4).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?G4:Y4,f=o?J4:Z4;i.classList.add(f),Yo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,f),i.classList.add(Js),r.classList.remove(Js,f,u),this._isSliding=!1,l(Mc)};this._queueCallback(h,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(K4)}_getActive(){return ke.findOne(X4,this._element)}_getItems(){return ke.find(Zp,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Rt()?e===no?to:Jo:e===no?Jo:to}_orderToDirection(e){return Rt()?e===to?no:Gs:e===to?Gs:no}static jQueryInterface(e){return this.each(function(){const t=Zo.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ie.on(document,W4,e6,function(n){const e=ke.getElementFromSelector(this);if(!e||!e.classList.contains(Gp))return;n.preventDefault();const t=Zo.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(vn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),ie.on(window,j4,()=>{const n=ke.find(t6);for(const e of n)Zo.getOrCreateInstance(e)}),Bt(Zo);const i6="collapse",Xo=".bs.collapse",s6=".data-api",a6=`show${Xo}`,l6=`shown${Xo}`,c6=`hide${Xo}`,u6=`hidden${Xo}`,d6=`click${Xo}${s6}`,Nc="show",ro="collapse",Zs="collapsing",f6="collapsed",h6=`:scope .${ro} .${ro}`,p6="collapse-horizontal",m6="width",g6="height",y6=".collapse.show, .collapse.collapsing",_c='[data-bs-toggle="collapse"]',v6={parent:null,toggle:!0},b6={parent:"(null|element)",toggle:"boolean"};class Qo extends Gt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=ke.find(_c);for(const o of r){const i=ke.getSelectorFromElement(o),s=ke.find(i).filter(l=>l===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return v6}static get DefaultType(){return b6}static get NAME(){return i6}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(y6).filter(l=>l!==this._element).map(l=>Qo.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ie.trigger(this._element,a6).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(ro),this._element.classList.add(Zs),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Zs),this._element.classList.add(ro,Nc),this._element.style[r]="",ie.trigger(this._element,l6)},s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||ie.trigger(this._element,c6).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Yo(this._element),this._element.classList.add(Zs),this._element.classList.remove(ro,Nc);for(const o of this._triggerArray){const i=ke.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Zs),this._element.classList.add(ro),ie.trigger(this._element,u6)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Nc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=zn(e.parent),e}_getDimension(){return this._element.classList.contains(p6)?m6:g6}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(_c);for(const t of e){const r=ke.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=ke.find(h6,this._config.parent);return ke.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(f6,!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Qo.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ie.on(document,d6,_c,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of ke.getMultipleElementsFromSelector(this))Qo.getOrCreateInstance(e,{toggle:!1}).toggle()}),Bt(Qo);const Xp="dropdown",yr=".bs.dropdown",Ic=".data-api",E6="Escape",Qp="Tab",C6="ArrowUp",qp="ArrowDown",S6=2,w6=`hide${yr}`,k6=`hidden${yr}`,T6=`show${yr}`,A6=`shown${yr}`,em=`click${yr}${Ic}`,tm=`keydown${yr}${Ic}`,x6=`keyup${yr}${Ic}`,oo="show",O6="dropup",M6="dropend",N6="dropstart",_6="dropup-center",I6="dropdown-center",vr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',D6=`${vr}.${oo}`,Xs=".dropdown-menu",L6=".navbar",R6=".navbar-nav",B6=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",$6=Rt()?"top-end":"top-start",P6=Rt()?"top-start":"top-end",F6=Rt()?"bottom-end":"bottom-start",V6=Rt()?"bottom-start":"bottom-end",z6=Rt()?"left-start":"right-start",H6=Rt()?"right-start":"left-start",U6="top",j6="bottom",W6={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},K6={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class an extends Gt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=ke.next(this._element,Xs)[0]||ke.prev(this._element,Xs)[0]||ke.findOne(Xs,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return W6}static get DefaultType(){return K6}static get NAME(){return Xp}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Hn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ie.trigger(this._element,T6,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(R6))for(const r of[].concat(...document.body.children))ie.on(r,"mouseover",Us);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(oo),this._element.classList.add(oo),ie.trigger(this._element,A6,e)}}hide(){if(Hn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ie.trigger(this._element,w6,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ie.off(r,"mouseover",Us);this._popper&&this._popper.destroy(),this._menu.classList.remove(oo),this._element.classList.remove(oo),this._element.setAttribute("aria-expanded","false"),vn.removeDataAttribute(this._menu,"popper"),ie.trigger(this._element,k6,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!yn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Xp.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Lh>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:yn(this._config.reference)?e=zn(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=qi(e,this._menu,t)}_isShown(){return this._menu.classList.contains(oo)}_getPlacement(){const e=this._parent;if(e.classList.contains(M6))return z6;if(e.classList.contains(N6))return H6;if(e.classList.contains(_6))return U6;if(e.classList.contains(I6))return j6;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(O6)?t?P6:$6:t?V6:F6}_detectNavbar(){return this._element.closest(L6)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(vn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Et(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=ke.find(B6,this._menu).filter(o=>qr(o));r.length&&wc(r,t,e===qp,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=an.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===S6||e.type==="keyup"&&e.key!==Qp)return;const t=ke.find(D6);for(const r of t){const o=an.getInstance(r);if(!o||o._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Qp||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const l={relatedTarget:o._element};e.type==="click"&&(l.clickEvent=e),o._completeHide(l)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key===E6,o=[C6,qp].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(vr)?this:ke.prev(this,vr)[0]||ke.next(this,vr)[0]||ke.findOne(vr,e.delegateTarget.parentNode),s=an.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ie.on(document,tm,vr,an.dataApiKeydownHandler),ie.on(document,tm,Xs,an.dataApiKeydownHandler),ie.on(document,em,an.clearMenus),ie.on(document,x6,an.clearMenus),ie.on(document,em,vr,function(n){n.preventDefault(),an.getOrCreateInstance(this).toggle()}),Bt(an);const nm="backdrop",Y6="fade",rm="show",om=`mousedown.bs.${nm}`,G6={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},J6={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class im extends Go{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return G6}static get DefaultType(){return J6}static get NAME(){return nm}show(e){if(!this._config.isVisible){Et(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Yo(t),t.classList.add(rm),this._emulateAnimation(()=>{Et(e)})}hide(e){if(!this._config.isVisible){Et(e);return}this._getElement().classList.remove(rm),this._emulateAnimation(()=>{this.dispose(),Et(e)})}dispose(){this._isAppended&&(ie.off(this._element,om),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(Y6),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=zn(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ie.on(e,om,()=>{Et(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Rp(e,this._getElement(),this._config.isAnimated)}}const Z6="focustrap",Qs=".bs.focustrap",X6=`focusin${Qs}`,Q6=`keydown.tab${Qs}`,q6="Tab",eC="forward",sm="backward",tC={autofocus:!0,trapElement:null},nC={autofocus:"boolean",trapElement:"element"};class am extends Go{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return tC}static get DefaultType(){return nC}static get NAME(){return Z6}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ie.off(document,Qs),ie.on(document,X6,e=>this._handleFocusin(e)),ie.on(document,Q6,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ie.off(document,Qs))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=ke.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===sm?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===q6&&(this._lastTabNavDirection=e.shiftKey?sm:eC)}}const lm=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",cm=".sticky-top",qs="padding-right",um="margin-right";class Dc{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,qs,t=>t+e),this._setElementAttributes(lm,qs,t=>t+e),this._setElementAttributes(cm,um,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,qs),this._resetElementAttributes(lm,qs),this._resetElementAttributes(cm,um)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,t);const l=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&vn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=vn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}vn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(yn(e)){t(e);return}for(const r of ke.find(e,this._element))t(r)}}const rC="modal",$t=".bs.modal",oC=".data-api",iC="Escape",sC=`hide${$t}`,aC=`hidePrevented${$t}`,dm=`hidden${$t}`,fm=`show${$t}`,lC=`shown${$t}`,cC=`resize${$t}`,uC=`click.dismiss${$t}`,dC=`mousedown.dismiss${$t}`,fC=`keydown.dismiss${$t}`,hC=`click${$t}${oC}`,hm="modal-open",pC="fade",pm="show",Lc="modal-static",mC=".modal.show",gC=".modal-dialog",yC=".modal-body",vC='[data-bs-toggle="modal"]',bC={backdrop:!0,focus:!0,keyboard:!0},EC={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class jn extends Gt{constructor(e,t){super(e,t),this._dialog=ke.findOne(gC,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Dc,this._addEventListeners()}static get Default(){return bC}static get DefaultType(){return EC}static get NAME(){return rC}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ie.trigger(this._element,fm,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(hm),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ie.trigger(this._element,sC).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(pm),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ie.off(window,$t),ie.off(this._dialog,$t),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new im({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new am({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=ke.findOne(yC,this._dialog);t&&(t.scrollTop=0),Yo(this._element),this._element.classList.add(pm);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ie.trigger(this._element,lC,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ie.on(this._element,fC,e=>{if(e.key===iC){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ie.on(window,cC,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ie.on(this._element,dC,e=>{ie.one(this._element,uC,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(hm),this._resetAdjustments(),this._scrollBar.reset(),ie.trigger(this._element,dm)})}_isAnimated(){return this._element.classList.contains(pC)}_triggerBackdropTransition(){if(ie.trigger(this._element,aC).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Lc)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Lc),this._queueCallback(()=>{this._element.classList.remove(Lc),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const o=Rt()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=Rt()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=jn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ie.on(document,hC,vC,function(n){const e=ke.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ie.one(e,fm,o=>{o.defaultPrevented||ie.one(e,dm,()=>{qr(this)&&this.focus()})});const t=ke.findOne(mC);t&&jn.getInstance(t).hide(),jn.getOrCreateInstance(e).toggle(this)}),js(jn),Bt(jn);const CC="offcanvas",bn=".bs.offcanvas",mm=".data-api",SC=`load${bn}${mm}`,wC="Escape",gm="show",ym="showing",vm="hiding",kC="offcanvas-backdrop",bm=".offcanvas.show",TC=`show${bn}`,AC=`shown${bn}`,xC=`hide${bn}`,Em=`hidePrevented${bn}`,Cm=`hidden${bn}`,OC=`resize${bn}`,MC=`click${bn}${mm}`,NC=`keydown.dismiss${bn}`,_C='[data-bs-toggle="offcanvas"]',IC={backdrop:!0,keyboard:!0,scroll:!1},DC={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Wn extends Gt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return IC}static get DefaultType(){return DC}static get NAME(){return CC}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ie.trigger(this._element,TC,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Dc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ym);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(gm),this._element.classList.remove(ym),ie.trigger(this._element,AC,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ie.trigger(this._element,xC).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(vm),this._backdrop.hide();const t=()=>{this._element.classList.remove(gm,vm),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Dc().reset(),ie.trigger(this._element,Cm)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ie.trigger(this._element,Em);return}this.hide()},t=!!this._config.backdrop;return new im({className:kC,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new am({trapElement:this._element})}_addEventListeners(){ie.on(this._element,NC,e=>{if(e.key===wC){if(this._config.keyboard){this.hide();return}ie.trigger(this._element,Em)}})}static jQueryInterface(e){return this.each(function(){const t=Wn.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ie.on(document,MC,_C,function(n){const e=ke.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Hn(this))return;ie.one(e,Cm,()=>{qr(this)&&this.focus()});const t=ke.findOne(bm);t&&t!==e&&Wn.getInstance(t).hide(),Wn.getOrCreateInstance(e).toggle(this)}),ie.on(window,SC,()=>{for(const n of ke.find(bm))Wn.getOrCreateInstance(n).show()}),ie.on(window,OC,()=>{for(const n of ke.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Wn.getOrCreateInstance(n).hide()}),js(Wn),Bt(Wn);const Sm={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},LC=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),RC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,BC=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?LC.has(t)?!!RC.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function $C(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const l=s.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){s.remove();continue}const a=[].concat(...s.attributes),c=[].concat(e["*"]||[],e[l]||[]);for(const u of a)BC(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const PC="TemplateFactory",FC={allowList:Sm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},VC={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},zC={entry:"(string|element|function|null)",selector:"(string|element)"};class HC extends Go{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return FC}static get DefaultType(){return VC}static get NAME(){return PC}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,i]of Object.entries(this._config.content))this._setContent(e,i,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},zC)}_setContent(e,t,r){const o=ke.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(yn(t)){this._putElementInTemplate(zn(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?$C(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Et(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const UC="tooltip",jC=new Set(["sanitize","allowList","sanitizeFn"]),Rc="fade",WC="modal",ea="show",KC=".tooltip-inner",wm=`.${WC}`,km="hide.bs.modal",qo="hover",Bc="focus",YC="click",GC="manual",JC="hide",ZC="hidden",XC="show",QC="shown",qC="inserted",eS="click",tS="focusin",nS="focusout",rS="mouseenter",oS="mouseleave",iS={AUTO:"auto",TOP:"top",RIGHT:Rt()?"left":"right",BOTTOM:"bottom",LEFT:Rt()?"right":"left"},sS={allowList:Sm,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},aS={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class br extends Gt{constructor(e,t){if(typeof Lh>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return sS}static get DefaultType(){return aS}static get NAME(){return UC}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ie.off(this._element.closest(wm),km,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=ie.trigger(this._element,this.constructor.eventName(XC)),r=(Dp(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),ie.trigger(this._element,this.constructor.eventName(qC))),this._popper=this._createPopper(o),o.classList.add(ea),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ie.on(l,"mouseover",Us);const s=()=>{ie.trigger(this._element,this.constructor.eventName(QC)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ie.trigger(this._element,this.constructor.eventName(JC)).defaultPrevented)return;if(this._getTipElement().classList.remove(ea),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ie.off(o,"mouseover",Us);this._activeTrigger[YC]=!1,this._activeTrigger[Bc]=!1,this._activeTrigger[qo]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ie.trigger(this._element,this.constructor.eventName(ZC)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Rc,ea),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=n4(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Rc),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new HC({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[KC]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Rc)}_isShown(){return this.tip&&this.tip.classList.contains(ea)}_createPopper(e){const t=Et(this._config.placement,[this,e,this._element]),r=iS[t.toUpperCase()];return qi(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Et(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...Et(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ie.on(this._element,this.constructor.eventName(eS),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==GC){const r=t===qo?this.constructor.eventName(rS):this.constructor.eventName(tS),o=t===qo?this.constructor.eventName(oS):this.constructor.eventName(nS);ie.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?Bc:qo]=!0,s._enter()}),ie.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?Bc:qo]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ie.on(this._element.closest(wm),km,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=vn.getDataAttributes(this._element);for(const r of Object.keys(t))jC.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:zn(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,r]of Object.entries(this._config))this.constructor.Default[t]!==r&&(e[t]=r);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=br.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Bt(br);const lS="popover",cS=".popover-header",uS=".popover-body",dS={...br.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},fS={...br.DefaultType,content:"(null|string|element|function)"};class $c extends br{static get Default(){return dS}static get DefaultType(){return fS}static get NAME(){return lS}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[cS]:this._getTitle(),[uS]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=$c.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Bt($c);const hS="scrollspy",Pc=".bs.scrollspy",pS=".data-api",mS=`activate${Pc}`,Tm=`click${Pc}`,gS=`load${Pc}${pS}`,yS="dropdown-item",io="active",vS='[data-bs-spy="scroll"]',Fc="[href]",bS=".nav, .list-group",Am=".nav-link",ES=`${Am}, .nav-item > ${Am}, .list-group-item`,CS=".dropdown",SS=".dropdown-toggle",wS={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},kS={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ta extends Gt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return wS}static get DefaultType(){return kS}static get NAME(){return hS}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=zn(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ie.off(this._config.target,Tm),ie.on(this._config.target,Tm,Fc,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const l=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&l){if(r(s),!o)return;continue}!i&&!l&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=ke.find(Fc,this._config.target);for(const t of e){if(!t.hash||Hn(t))continue;const r=ke.findOne(decodeURI(t.hash),this._element);qr(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(io),this._activateParents(e),ie.trigger(this._element,mS,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(yS)){ke.findOne(SS,e.closest(CS)).classList.add(io);return}for(const t of ke.parents(e,bS))for(const r of ke.prev(t,ES))r.classList.add(io)}_clearActiveClass(e){e.classList.remove(io);const t=ke.find(`${Fc}.${io}`,e);for(const r of t)r.classList.remove(io)}static jQueryInterface(e){return this.each(function(){const t=ta.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ie.on(window,gS,()=>{for(const n of ke.find(vS))ta.getOrCreateInstance(n)}),Bt(ta);const TS="tab",Er=".bs.tab",AS=`hide${Er}`,xS=`hidden${Er}`,OS=`show${Er}`,MS=`shown${Er}`,NS=`click${Er}`,_S=`keydown${Er}`,IS=`load${Er}`,DS="ArrowLeft",xm="ArrowRight",LS="ArrowUp",Om="ArrowDown",Cr="active",Mm="fade",Vc="show",RS="dropdown",BS=".dropdown-toggle",$S=".dropdown-menu",zc=":not(.dropdown-toggle)",PS='.list-group, .nav, [role="tablist"]',FS=".nav-item, .list-group-item",VS=`.nav-link${zc}, .list-group-item${zc}, [role="tab"]${zc}`,Nm='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Hc=`${VS}, ${Nm}`,zS=`.${Cr}[data-bs-toggle="tab"], .${Cr}[data-bs-toggle="pill"], .${Cr}[data-bs-toggle="list"]`;class so extends Gt{constructor(e){super(e),this._parent=this._element.closest(PS),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ie.on(this._element,_S,t=>this._keydown(t)))}static get NAME(){return TS}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ie.trigger(t,AS,{relatedTarget:e}):null;ie.trigger(e,OS,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Cr),this._activate(ke.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Vc);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ie.trigger(e,MS,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(Mm))}_deactivate(e,t){if(!e)return;e.classList.remove(Cr),e.blur(),this._deactivate(ke.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Vc);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ie.trigger(e,xS,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(Mm))}_keydown(e){if(![DS,xm,LS,Om].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[xm,Om].includes(e.key),r=wc(this._getChildren().filter(o=>!Hn(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),so.getOrCreateInstance(r).show())}_getChildren(){return ke.find(Hc,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=ke.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains(RS))return;const o=(i,s)=>{const l=ke.findOne(i,r);l&&l.classList.toggle(s,t)};o(BS,Cr),o($S,Vc),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(Cr)}_getInnerElement(e){return e.matches(Hc)?e:ke.findOne(Hc,e)}_getOuterElement(e){return e.closest(FS)||e}static jQueryInterface(e){return this.each(function(){const t=so.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ie.on(document,NS,Nm,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Hn(this)&&so.getOrCreateInstance(this).show()}),ie.on(window,IS,()=>{for(const n of ke.find(zS))so.getOrCreateInstance(n)}),Bt(so);const HS="toast",Kn=".bs.toast",US=`mouseover${Kn}`,jS=`mouseout${Kn}`,WS=`focusin${Kn}`,KS=`focusout${Kn}`,YS=`hide${Kn}`,GS=`hidden${Kn}`,JS=`show${Kn}`,ZS=`shown${Kn}`,XS="fade",_m="hide",na="show",ra="showing",QS={animation:"boolean",autohide:"boolean",delay:"number"},qS={animation:!0,autohide:!0,delay:5e3};class ei extends Gt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return qS}static get DefaultType(){return QS}static get NAME(){return HS}show(){if(ie.trigger(this._element,JS).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(XS);const t=()=>{this._element.classList.remove(ra),ie.trigger(this._element,ZS),this._maybeScheduleHide()};this._element.classList.remove(_m),Yo(this._element),this._element.classList.add(na,ra),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ie.trigger(this._element,YS).defaultPrevented)return;const t=()=>{this._element.classList.add(_m),this._element.classList.remove(ra,na),ie.trigger(this._element,GS)};this._element.classList.add(ra),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(na),super.dispose()}isShown(){return this._element.classList.contains(na)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){ie.on(this._element,US,e=>this._onInteraction(e,!0)),ie.on(this._element,jS,e=>this._onInteraction(e,!1)),ie.on(this._element,WS,e=>this._onInteraction(e,!0)),ie.on(this._element,KS,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=ei.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}js(ei),Bt(ei);const ew=n=>{const e=d.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=jn.getOrCreateInstance(o),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{if(e.value){e.value.hide();return}const o=document.getElementById(n);if(o instanceof HTMLElement){const i=jn.getInstance(o);i&&i.hide()}}}};function Im(n=void 0){const e=l=>i("Succesvol",l,kr.SUCCESS),t=l=>i("Waarschuwing",l,kr.WARNING),r=l=>i("Informatie",l,kr.INFO),o=l=>i("Mislukt",l,kr.DANGER);function i(l,a,c){const u=`toast-${hu()}`,f={id:u,variant:c,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=d.h(ka,f),g=d.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const y=document.querySelector(`#${u}`);y&&(ei.getOrCreateInstance(y,n).show(),s(y))}function s(l){function a(f,h){f.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const c=new MutationObserver(a),u={attributes:!0};c.observe(l,u)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const tw=n=>Array.isArray(n)&&n.length>0,{showDangerToast:nw}=Im();function rw(n){const e=d.ref(null),t=(a,c="serverErrors")=>{var f;let u=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?u=a.response.data.filter(h=>Hs(h.ErrorMessage)&&h.ErrorMessage!==vc):a.response.data.ErrorMessage?u=[a.response.data.ErrorMessage]:u=null,Hs(c))e.value=u;else if(Array.isArray(c)){let h=e.value;for(let p=0;p<c.length;p++)p===c.length-1?h[c[p]]=u:h=h[c[p]]}r(a),s(e)},r=a=>{const u=new URL(a.request.responseURL).pathname;if(u in n.error){const f=n.error[u];f&&nw(f)}},o=d.ref(null),i=d.ref(""),s=a=>{tw(a.value)?o.value=a.value.map(c=>Hs(c)?c:c.ErrorMessage):Hs(a.value)&&(i.value=a.value)};function l(){e.value=null,o.value=null,i.value=vc}return{serverErrors:e,errorMessages:o,errorMessageText:i,MapErrors:s,MapServerErrors:t,ResetServerErrors:l}}const ow=()=>({ResetValidation:t=>{for(const r in t.value)t.value[r].state=null},ValidationObjectIsValid:t=>{for(let r in t)if(t[r].state===!1)return!1;return!0}}),Dm={mounted:n=>{new br(n)}};var Lm={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Ta,function(){var t=1e3,r=6e4,o=36e5,i="millisecond",s="second",l="minute",a="hour",c="day",u="week",f="month",h="quarter",p="year",m="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var F=["th","st","nd","rd"],$=H%100;return"["+H+(F[($-20)%10]||F[$]||F[0])+"]"}},k=function(H,F,$){var G=String(H);return!G||G.length>=F?H:""+Array(F+1-G.length).join($)+H},b={s:k,z:function(H){var F=-H.utcOffset(),$=Math.abs(F),G=Math.floor($/60),D=$%60;return(F<=0?"+":"-")+k(G,2,"0")+":"+k(D,2,"0")},m:function H(F,$){if(F.date()<$.date())return-H($,F);var G=12*($.year()-F.year())+($.month()-F.month()),D=F.clone().add(G,f),Q=$-D<0,te=F.clone().add(G+(Q?-1:1),f);return+(-(G+($-D)/(Q?D-te:te-D))||0)},a:function(H){return H<0?Math.ceil(H)||0:Math.floor(H)},p:function(H){return{M:f,y:p,w:u,d:c,D:m,h:a,m:l,s,ms:i,Q:h}[H]||String(H||"").toLowerCase().replace(/s$/,"")},u:function(H){return H===void 0}},N="en",T={};T[N]=S;var z="$isDayjsObject",U=function(H){return H instanceof V||!(!H||!H[z])},j=function H(F,$,G){var D;if(!F)return N;if(typeof F=="string"){var Q=F.toLowerCase();T[Q]&&(D=Q),$&&(T[Q]=$,D=Q);var te=F.split("-");if(!D&&te.length>1)return H(te[0])}else{var ce=F.name;T[ce]=F,D=ce}return!G&&D&&(N=D),D||!G&&N},P=function(H,F){if(U(H))return H.clone();var $=typeof F=="object"?F:{};return $.date=H,$.args=arguments,new V($)},L=b;L.l=j,L.i=U,L.w=function(H,F){return P(H,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var V=function(){function H($){this.$L=j($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[z]=!0}var F=H.prototype;return F.parse=function($){this.$d=function(G){var D=G.date,Q=G.utc;if(D===null)return new Date(NaN);if(L.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var te=D.match(y);if(te){var ce=te[2]-1||0,me=(te[7]||"0").substring(0,3);return Q?new Date(Date.UTC(te[1],ce,te[3]||1,te[4]||0,te[5]||0,te[6]||0,me)):new Date(te[1],ce,te[3]||1,te[4]||0,te[5]||0,te[6]||0,me)}}return new Date(D)}($),this.init()},F.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},F.$utils=function(){return L},F.isValid=function(){return this.$d.toString()!==g},F.isSame=function($,G){var D=P($);return this.startOf(G)<=D&&D<=this.endOf(G)},F.isAfter=function($,G){return P($)<this.startOf(G)},F.isBefore=function($,G){return this.endOf(G)<P($)},F.$g=function($,G,D){return L.u($)?this[G]:this.set(D,$)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function($,G){var D=this,Q=!!L.u(G)||G,te=L.p($),ce=function(O,w){var x=L.w(D.$u?Date.UTC(D.$y,w,O):new Date(D.$y,w,O),D);return Q?x:x.endOf(c)},me=function(O,w){return L.w(D.toDate()[O].apply(D.toDate("s"),(Q?[0,0,0,0]:[23,59,59,999]).slice(w)),D)},ge=this.$W,Ce=this.$M,we=this.$D,Te="set"+(this.$u?"UTC":"");switch(te){case p:return Q?ce(1,0):ce(31,11);case f:return Q?ce(1,Ce):ce(0,Ce+1);case u:var ve=this.$locale().weekStart||0,A=(ge<ve?ge+7:ge)-ve;return ce(Q?we-A:we+(6-A),Ce);case c:case m:return me(Te+"Hours",0);case a:return me(Te+"Minutes",1);case l:return me(Te+"Seconds",2);case s:return me(Te+"Milliseconds",3);default:return this.clone()}},F.endOf=function($){return this.startOf($,!1)},F.$set=function($,G){var D,Q=L.p($),te="set"+(this.$u?"UTC":""),ce=(D={},D[c]=te+"Date",D[m]=te+"Date",D[f]=te+"Month",D[p]=te+"FullYear",D[a]=te+"Hours",D[l]=te+"Minutes",D[s]=te+"Seconds",D[i]=te+"Milliseconds",D)[Q],me=Q===c?this.$D+(G-this.$W):G;if(Q===f||Q===p){var ge=this.clone().set(m,1);ge.$d[ce](me),ge.init(),this.$d=ge.set(m,Math.min(this.$D,ge.daysInMonth())).$d}else ce&&this.$d[ce](me);return this.init(),this},F.set=function($,G){return this.clone().$set($,G)},F.get=function($){return this[L.p($)]()},F.add=function($,G){var D,Q=this;$=Number($);var te=L.p(G),ce=function(Ce){var we=P(Q);return L.w(we.date(we.date()+Math.round(Ce*$)),Q)};if(te===f)return this.set(f,this.$M+$);if(te===p)return this.set(p,this.$y+$);if(te===c)return ce(1);if(te===u)return ce(7);var me=(D={},D[l]=r,D[a]=o,D[s]=t,D)[te]||1,ge=this.$d.getTime()+$*me;return L.w(ge,this)},F.subtract=function($,G){return this.add(-1*$,G)},F.format=function($){var G=this,D=this.$locale();if(!this.isValid())return D.invalidDate||g;var Q=$||"YYYY-MM-DDTHH:mm:ssZ",te=L.z(this),ce=this.$H,me=this.$m,ge=this.$M,Ce=D.weekdays,we=D.months,Te=D.meridiem,ve=function(w,x,v,E){return w&&(w[x]||w(G,Q))||v[x].slice(0,E)},A=function(w){return L.s(ce%12||12,w,"0")},O=Te||function(w,x,v){var E=w<12?"AM":"PM";return v?E.toLowerCase():E};return Q.replace(C,function(w,x){return x||function(v){switch(v){case"YY":return String(G.$y).slice(-2);case"YYYY":return L.s(G.$y,4,"0");case"M":return ge+1;case"MM":return L.s(ge+1,2,"0");case"MMM":return ve(D.monthsShort,ge,we,3);case"MMMM":return ve(we,ge);case"D":return G.$D;case"DD":return L.s(G.$D,2,"0");case"d":return String(G.$W);case"dd":return ve(D.weekdaysMin,G.$W,Ce,2);case"ddd":return ve(D.weekdaysShort,G.$W,Ce,3);case"dddd":return Ce[G.$W];case"H":return String(ce);case"HH":return L.s(ce,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return O(ce,me,!0);case"A":return O(ce,me,!1);case"m":return String(me);case"mm":return L.s(me,2,"0");case"s":return String(G.$s);case"ss":return L.s(G.$s,2,"0");case"SSS":return L.s(G.$ms,3,"0");case"Z":return te}return null}(w)||te.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function($,G,D){var Q,te=this,ce=L.p(G),me=P($),ge=(me.utcOffset()-this.utcOffset())*r,Ce=this-me,we=function(){return L.m(te,me)};switch(ce){case p:Q=we()/12;break;case f:Q=we();break;case h:Q=we()/3;break;case u:Q=(Ce-ge)/6048e5;break;case c:Q=(Ce-ge)/864e5;break;case a:Q=Ce/o;break;case l:Q=Ce/r;break;case s:Q=Ce/t;break;default:Q=Ce}return D?Q:L.a(Q)},F.daysInMonth=function(){return this.endOf(f).$D},F.$locale=function(){return T[this.$L]},F.locale=function($,G){if(!$)return this.$L;var D=this.clone(),Q=j($,G,!0);return Q&&(D.$L=Q),D},F.clone=function(){return L.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},H}(),W=V.prototype;return P.prototype=W,[["$ms",i],["$s",s],["$m",l],["$H",a],["$W",c],["$M",f],["$y",p],["$D",m]].forEach(function(H){W[H[1]]=function(F){return this.$g(F,H[0],H[1])}}),P.extend=function(H,F){return H.$i||(H(F,V,P),H.$i=!0),P},P.locale=j,P.isDayjs=U,P.unix=function(H){return P(1e3*H)},P.en=T[N],P.Ls=T,P.p={},P})})(Lm);var Rm=Lm.exports;const oa=Aa(Rm);var iw={exports:{}};(function(n,e){(function(t,r){n.exports=r(Rm)})(Ta,function(t){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var o=r(t),i={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(s){return"["+s+(s===1||s===8||s>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(i,null,!0),i})})(iw);var Bm={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Ta,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,i=/\d\d/,s=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},c=function(y){return(y=+y)+(y>68?1900:2e3)},u=function(y){return function(C){this[y]=+C}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var S=C.match(/([+-]|\d\d)/g),k=60*S[1]+(+S[2]||0);return k===0?0:S[0]==="+"?-k:k}(y)}],h=function(y){var C=a[y];return C&&(C.indexOf?C:C.s.concat(C.f))},p=function(y,C){var S,k=a.meridiem;if(k){for(var b=1;b<=24;b+=1)if(y.indexOf(k(b,0,C))>-1){S=b>12;break}}else S=y===(C?"pm":"PM");return S},m={A:[l,function(y){this.afternoon=p(y,!1)}],a:[l,function(y){this.afternoon=p(y,!0)}],Q:[o,function(y){this.month=3*(y-1)+1}],S:[o,function(y){this.milliseconds=100*+y}],SS:[i,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[s,u("seconds")],ss:[s,u("seconds")],m:[s,u("minutes")],mm:[s,u("minutes")],H:[s,u("hours")],h:[s,u("hours")],HH:[s,u("hours")],hh:[s,u("hours")],D:[s,u("day")],DD:[i,u("day")],Do:[l,function(y){var C=a.ordinal,S=y.match(/\d+/);if(this.day=S[0],C)for(var k=1;k<=31;k+=1)C(k).replace(/\[|\]/g,"")===y&&(this.day=k)}],w:[s,u("week")],ww:[i,u("week")],M:[s,u("month")],MM:[i,u("month")],MMM:[l,function(y){var C=h("months"),S=(h("monthsShort")||C.map(function(k){return k.slice(0,3)})).indexOf(y)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[l,function(y){var C=h("months").indexOf(y)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,u("year")],YY:[i,function(y){this.year=c(y)}],YYYY:[/\d{4}/,u("year")],Z:f,ZZ:f};function g(y){var C,S;C=y,S=a&&a.formats;for(var k=(y=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(P,L,V){var W=V&&V.toUpperCase();return L||S[V]||t[V]||S[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(H,F,$){return F||$.slice(1)})})).match(r),b=k.length,N=0;N<b;N+=1){var T=k[N],z=m[T],U=z&&z[0],j=z&&z[1];k[N]=j?{regex:U,parser:j}:T.replace(/^\[|\]$/g,"")}return function(P){for(var L={},V=0,W=0;V<b;V+=1){var H=k[V];if(typeof H=="string")W+=H.length;else{var F=H.regex,$=H.parser,G=P.slice(W),D=F.exec(G)[0];$.call(L,D),P=P.replace(D,"")}}return function(Q){var te=Q.afternoon;if(te!==void 0){var ce=Q.hours;te?ce<12&&(Q.hours+=12):ce===12&&(Q.hours=0),delete Q.afternoon}}(L),L}}return function(y,C,S){S.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(c=y.parseTwoDigitYear);var k=C.prototype,b=k.parse;k.parse=function(N){var T=N.date,z=N.utc,U=N.args;this.$u=z;var j=U[1];if(typeof j=="string"){var P=U[2]===!0,L=U[3]===!0,V=P||L,W=U[2];L&&(W=U[2]),a=this.$locale(),!P&&W&&(a=S.Ls[W]),this.$d=function(G,D,Q,te){try{if(["x","X"].indexOf(D)>-1)return new Date((D==="X"?1e3:1)*G);var ce=g(D)(G),me=ce.year,ge=ce.month,Ce=ce.day,we=ce.hours,Te=ce.minutes,ve=ce.seconds,A=ce.milliseconds,O=ce.zone,w=ce.week,x=new Date,v=Ce||(me||ge?1:x.getDate()),E=me||x.getFullYear(),_=0;me&&!ge||(_=ge>0?ge-1:x.getMonth());var I,R=we||0,B=Te||0,K=ve||0,J=A||0;return O?new Date(Date.UTC(E,_,v,R,B,K,J+60*O.offset*1e3)):Q?new Date(Date.UTC(E,_,v,R,B,K,J)):(I=new Date(E,_,v,R,B,K,J),w&&(I=te(I).week(w).toDate()),I)}catch{return new Date("")}}(T,j,z,S),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),V&&T!=this.format(j)&&(this.$d=new Date("")),a={}}else if(j instanceof Array)for(var H=j.length,F=1;F<=H;F+=1){U[1]=j[F-1];var $=S.apply(this,U);if($.isValid()){this.$d=$.$d,this.$L=$.$L,this.init();break}F===H&&(this.$d=new Date(""))}else b.call(this,N)}}})})(Bm);var sw=Bm.exports;const aw=Aa(sw);oa.extend(aw),oa.locale("nl");function lw(n,e=oa().startOf("day")){const t="DD-MM-YYYY",r=oa(n,t);if(r.isSame(e))return"vandaag";const i=e.subtract(1,"day");if(r.isSame(i))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const c=e.subtract(7,"day");if(r.isAfter(c)){const h="dddd";return r.format(h)}if(r.year()==e.year()){const h="D MMM";return r.format(h)}return r.format(t)}const cw={PRIMARY:"primary",SECONDARY:"secondary",COLLEAGUE:"colleague",DANGER:"danger",OUT_PRIMARY:"outline-primary",OUT_PRIMARY_DARK:"outline-primary-dark",OUT_TERTIARY:"outline-tertiary",OUT_LINK:"link",LIGHT:"light",DARK:"dark",REMOVE:"remove"},tt=d.defineComponent({__name:"BDButton",props:{size:{default:at.MD},variant:{default:cw.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=d.computed(()=>({btn:!0,[`btn-${t.variant}`]:t.variant,[`btn-${t.size}`]:!0,"d-grid":t.blockElement&&typeof t.to=="string",[`${t.class}`]:t.class,disabled:t.disabled})),o=d.computed(()=>t.to?wr:"button"),i=d.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=l=>{e("click",l)};return(l,a)=>(d.openBlock(),d.createBlock(d.resolveDynamicComponent(o.value),d.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:d.withCtx(()=>[d.renderSlot(l.$slots,"default",{},()=>[d.createTextVNode(d.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),uw={install:n=>{n.component("BDCol",Jn),n.component("BDContainer",ti),n.component("BDRow",Zn),n.component("BDButton",tt),n.component("BDLogo",Ea),n.component("BDLink",wr),n.component("BDDropdownItem",fi),n.component("BDDropdown",bc),n.component("BDAlert",ai),n.component("BDProfileImage",fo),n.component("BDZoomslider",uu),n.component("BDCard",ui),n.component("BDCollapsableCard",pu),n.component("BDFormInput",mo),n.component("BDInputGroup",bu),n.component("BDFormInvalidFeedback",di),n.component("BDBadge",Eu),n.component("BDForm",Cu),n.component("BDPagination",Su),n.component("BDDropzone",Ou),n.component("BDMarkdownEditor",kp),n.component("BDModal",Mp),n.component("BDFormSelect",wu),n.component("BDUser",Tp),n.component("BDArticle",Tu),n.component("BDFormCheckbox",ku),n.component("BDToast",ka),n.component("BDAttachmentPreviewList",Fs),n.component("BDImageAttachmentPreviewList",Vs),n.component("BDHeader",Op),n.component("BDMobileMenu",yc),n.component("BDChatCloud",Ap),n.component("BDTable",xp),n.component("BDChangePasswordTemplate",Np),n.component("IconAcademy",Jc),n.component("IconArrowDown",Zc),n.component("IconArrowUp",Xc),n.component("IconAttachment",Xn),n.component("IconBold",sa),n.component("IconBulletList",aa),n.component("IconCalendar",la),n.component("IconCalendar",la),n.component("IconCardView",Qc),n.component("IconCaretDown",ca),n.component("IconCaretLeft",ua),n.component("IconCaretRight",da),n.component("IconCheck",lo),n.component("IconClose",ni),n.component("IconDownloadImage",ri),n.component("IconDownloadImage",ri),n.component("IconEdit",qc),n.component("IconError",oi),n.component("IconEyeShow",eu),n.component("IconEyeSlash",tu),n.component("IconFile",fa),n.component("IconHyperlink",ha),n.component("IconInfo",co),n.component("IconItalic",pa),n.component("IconListView",nu),n.component("IconMenu",ii),n.component("IconMenu",ii),n.component("IconOrderedList",ma),n.component("IconRemove",uo),n.component("IconService",ru),n.component("IconSort",ou),n.component("IconSortAsc",ga),n.component("IconSortDesc",ya),n.component("IconSortNone",va),n.component("IconTriangleExclamation",iu),n.component("IconUnderline",ba),n.component("IconContactPerson",su),n.directive("vBDTooltip",Dm)}};he.BDAlert=ai,he.BDArticle=Tu,he.BDAttachmentPreviewList=Fs,he.BDBadge=Eu,he.BDButton=tt,he.BDCard=ui,he.BDChangePasswordTemplate=Np,he.BDChatCloud=Ap,he.BDCol=Jn,he.BDCollapsableCard=pu,he.BDContainer=ti,he.BDDropdown=bc,he.BDDropdownItem=fi,he.BDDropzone=Ou,he.BDForm=Cu,he.BDFormCheckbox=ku,he.BDFormInput=mo,he.BDFormInvalidFeedback=di,he.BDFormSelect=wu,he.BDHeader=Op,he.BDImageAttachmentPreviewList=Vs,he.BDInputGroup=bu,he.BDLink=wr,he.BDLogo=Ea,he.BDMarkdownEditor=kp,he.BDMobileMenu=yc,he.BDModal=Mp,he.BDPagination=Su,he.BDProfileImage=fo,he.BDRow=Zn,he.BDTable=xp,he.BDToast=ka,he.BDUser=Tp,he.BDZoomslider=uu,he.IconAcademy=Jc,he.IconArrowDown=Zc,he.IconArrowUp=Xc,he.IconAttachment=Xn,he.IconBold=sa,he.IconBulletList=aa,he.IconCalendar=la,he.IconCardView=Qc,he.IconCaretDown=ca,he.IconCaretLeft=ua,he.IconCaretRight=da,he.IconCheck=lo,he.IconClose=ni,he.IconContactPerson=su,he.IconDownloadImage=ri,he.IconEdit=qc,he.IconError=oi,he.IconEyeShow=eu,he.IconEyeSlash=tu,he.IconFile=fa,he.IconHyperlink=ha,he.IconInfo=co,he.IconItalic=pa,he.IconListView=nu,he.IconMenu=ii,he.IconOrderedList=ma,he.IconRemove=uo,he.IconService=ru,he.IconSort=ou,he.IconSortAsc=ga,he.IconSortDesc=ya,he.IconSortNone=va,he.IconTriangleExclamation=iu,he.IconUnderline=ba,he.default=uw,he.getDisplayDate=lw,he.useModal=ew,he.useServerErrors=rw,he.useToaster=Im,he.useValidation=ow,he.vBdTooltip=Dm,Object.defineProperties(he,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
131
+ */const Vn=new Map,Ec={set(n,e,t){Vn.has(n)||Vn.set(n,new Map);const r=Vn.get(n);if(!r.has(e)&&r.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`);return}r.set(e,t)},get(n,e){return Vn.has(n)&&Vn.get(n).get(e)||null},remove(n,e){if(!Vn.has(n))return;const t=Vn.get(n);t.delete(e),t.size===0&&Vn.delete(n)}},X8=1e6,Q8=1e3,Cc="transitionend",_p=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),q8=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),e4=n=>{do n+=Math.floor(Math.random()*X8);while(document.getElementById(n));return n},t4=n=>{if(!n)return 0;let{transitionDuration:e,transitionDelay:t}=window.getComputedStyle(n);const r=Number.parseFloat(e),o=Number.parseFloat(t);return!r&&!o?0:(e=e.split(",")[0],t=t.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(t))*Q8)},Ip=n=>{n.dispatchEvent(new Event(Cc))},yn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),zn=n=>yn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(_p(n)):null,qr=n=>{if(!yn(n)||n.getClientRects().length===0)return!1;const e=getComputedStyle(n).getPropertyValue("visibility")==="visible",t=n.closest("details:not([open])");if(!t)return e;if(t!==n){const r=n.closest("summary");if(r&&r.parentNode!==t||r===null)return!1}return e},Hn=n=>!n||n.nodeType!==Node.ELEMENT_NODE||n.classList.contains("disabled")?!0:typeof n.disabled<"u"?n.disabled:n.hasAttribute("disabled")&&n.getAttribute("disabled")!=="false",Dp=n=>{if(!document.documentElement.attachShadow)return null;if(typeof n.getRootNode=="function"){const e=n.getRootNode();return e instanceof ShadowRoot?e:null}return n instanceof ShadowRoot?n:n.parentNode?Dp(n.parentNode):null},Us=()=>{},Yo=n=>{n.offsetHeight},Lp=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Sc=[],n4=n=>{document.readyState==="loading"?(Sc.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Sc)e()}),Sc.push(n)):n()},Rt=()=>document.documentElement.dir==="rtl",Bt=n=>{n4(()=>{const e=Lp();if(e){const t=n.NAME,r=e.fn[t];e.fn[t]=n.jQueryInterface,e.fn[t].Constructor=n,e.fn[t].noConflict=()=>(e.fn[t]=r,n.jQueryInterface)}})},Et=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,Rp=(n,e,t=!0)=>{if(!t){Et(n);return}const r=5,o=t4(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(Cc,s),Et(n))};e.addEventListener(Cc,s),setTimeout(()=>{i||Ip(e)},o)},wc=(n,e,t,r)=>{const o=n.length;let i=n.indexOf(e);return i===-1?!t&&r?n[o-1]:n[0]:(i+=t?1:-1,r&&(i=(i+o)%o),n[Math.max(0,Math.min(i,o-1))])},r4=/[^.]*(?=\..*)\.|.*/,o4=/\..*/,i4=/::\d+$/,kc={};let Bp=1;const $p={mouseenter:"mouseover",mouseleave:"mouseout"},s4=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function Pp(n,e){return e&&`${e}::${Bp++}`||n.uidEvent||Bp++}function Fp(n){const e=Pp(n);return n.uidEvent=e,kc[e]=kc[e]||{},kc[e]}function a4(n,e){return function t(r){return Ac(r,{delegateTarget:n}),t.oneOff&&ie.off(n,r.type,e),e.apply(n,[r])}}function l4(n,e,t){return function r(o){const i=n.querySelectorAll(e);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const l of i)if(l===s)return Ac(o,{delegateTarget:s}),r.oneOff&&ie.off(n,o.type,e,t),t.apply(s,[o])}}function Vp(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function zp(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=Up(n);return s4.has(i)||(i=n),[r,o,i]}function Hp(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=zp(e,t,r);e in $p&&(s=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(s));const a=Fp(n),c=a[l]||(a[l]={}),u=Vp(c,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const f=Pp(s,e.replace(r4,"")),h=i?l4(n,t,s):a4(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=f,c[f]=h,n.addEventListener(l,h,i)}function Tc(n,e,t,r,o){const i=Vp(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function c4(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&Tc(n,e,t,s.callable,s.delegationSelector)}function Up(n){return n=n.replace(o4,""),$p[n]||n}const ie={on(n,e,t,r){Hp(n,e,t,r,!1)},one(n,e,t,r){Hp(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=zp(e,t,r),l=s!==e,a=Fp(n),c=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;Tc(n,a,s,i,o?t:null);return}if(u)for(const f of Object.keys(a))c4(n,a,f,e.slice(1));for(const[f,h]of Object.entries(c)){const p=f.replace(i4,"");(!l||e.includes(p))&&Tc(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=Lp(),o=Up(e),i=e!==o;let s=null,l=!0,a=!0,c=!1;i&&r&&(s=r.Event(e,t),r(n).trigger(s),l=!s.isPropagationStopped(),a=!s.isImmediatePropagationStopped(),c=s.isDefaultPrevented());const u=Ac(new Event(e,{bubbles:l,cancelable:!0}),t);return c&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function Ac(n,e={}){for(const[t,r]of Object.entries(e))try{n[t]=r}catch{Object.defineProperty(n,t,{configurable:!0,get(){return r}})}return n}function jp(n){if(n==="true")return!0;if(n==="false")return!1;if(n===Number(n).toString())return Number(n);if(n===""||n==="null")return null;if(typeof n!="string")return n;try{return JSON.parse(decodeURIComponent(n))}catch{return n}}function xc(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const vn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${xc(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${xc(e)}`)},getDataAttributes(n){if(!n)return{};const e={},t=Object.keys(n.dataset).filter(r=>r.startsWith("bs")&&!r.startsWith("bsConfig"));for(const r of t){let o=r.replace(/^bs/,"");o=o.charAt(0).toLowerCase()+o.slice(1,o.length),e[o]=jp(n.dataset[r])}return e},getDataAttribute(n,e){return jp(n.getAttribute(`data-bs-${xc(e)}`))}};class Go{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const r=yn(t)?vn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...yn(t)?vn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const i=e[r],s=yn(i)?"element":q8(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const u4="5.3.0";class Gt extends Go{constructor(e,t){super(),e=zn(e),e&&(this._element=e,this._config=this._getConfig(t),Ec.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ec.remove(this._element,this.constructor.DATA_KEY),ie.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){Rp(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ec.get(zn(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return u4}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const Oc=n=>{let e=n.getAttribute("data-bs-target");if(!e||e==="#"){let t=n.getAttribute("href");if(!t||!t.includes("#")&&!t.startsWith("."))return null;t.includes("#")&&!t.startsWith("#")&&(t=`#${t.split("#")[1]}`),e=t&&t!=="#"?t.trim():null}return _p(e)},ke={find(n,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,n))},findOne(n,e=document.documentElement){return Element.prototype.querySelector.call(e,n)},children(n,e){return[].concat(...n.children).filter(t=>t.matches(e))},parents(n,e){const t=[];let r=n.parentNode.closest(e);for(;r;)t.push(r),r=r.parentNode.closest(e);return t},prev(n,e){let t=n.previousElementSibling;for(;t;){if(t.matches(e))return[t];t=t.previousElementSibling}return[]},next(n,e){let t=n.nextElementSibling;for(;t;){if(t.matches(e))return[t];t=t.nextElementSibling}return[]},focusableChildren(n){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(t=>`${t}:not([tabindex^="-"])`).join(",");return this.find(e,n).filter(t=>!Hn(t)&&qr(t))},getSelectorFromElement(n){const e=Oc(n);return e&&ke.findOne(e)?e:null},getElementFromSelector(n){const e=Oc(n);return e?ke.findOne(e):null},getMultipleElementsFromSelector(n){const e=Oc(n);return e?ke.find(e):[]}},js=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ie.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Hn(this))return;const i=ke.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},d4="alert",Wp=".bs.alert",f4=`close${Wp}`,h4=`closed${Wp}`,p4="fade",m4="show";class Ws extends Gt{static get NAME(){return d4}close(){if(ie.trigger(this._element,f4).defaultPrevented)return;this._element.classList.remove(m4);const t=this._element.classList.contains(p4);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ie.trigger(this._element,h4),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Ws.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}js(Ws,"close"),Bt(Ws);const g4="button",y4=".bs.button",v4=".data-api",b4="active",Kp='[data-bs-toggle="button"]',E4=`click${y4}${v4}`;class Ks extends Gt{static get NAME(){return g4}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(b4))}static jQueryInterface(e){return this.each(function(){const t=Ks.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ie.on(document,E4,Kp,n=>{n.preventDefault();const e=n.target.closest(Kp);Ks.getOrCreateInstance(e).toggle()}),Bt(Ks);const C4="swipe",eo=".bs.swipe",S4=`touchstart${eo}`,w4=`touchmove${eo}`,k4=`touchend${eo}`,T4=`pointerdown${eo}`,A4=`pointerup${eo}`,x4="touch",O4="pen",M4="pointer-event",N4=40,_4={endCallback:null,leftCallback:null,rightCallback:null},I4={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Ys extends Go{constructor(e,t){super(),this._element=e,!(!e||!Ys.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return _4}static get DefaultType(){return I4}static get NAME(){return C4}dispose(){ie.off(this._element,eo)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),Et(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=N4)return;const t=e/this._deltaX;this._deltaX=0,t&&Et(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ie.on(this._element,T4,e=>this._start(e)),ie.on(this._element,A4,e=>this._end(e)),this._element.classList.add(M4)):(ie.on(this._element,S4,e=>this._start(e)),ie.on(this._element,w4,e=>this._move(e)),ie.on(this._element,k4,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===O4||e.pointerType===x4)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const D4="carousel",Un=".bs.carousel",Yp=".data-api",L4="ArrowLeft",R4="ArrowRight",B4=500,Jo="next",to="prev",no="left",Gs="right",$4=`slide${Un}`,Mc=`slid${Un}`,P4=`keydown${Un}`,F4=`mouseenter${Un}`,V4=`mouseleave${Un}`,z4=`dragstart${Un}`,H4=`load${Un}${Yp}`,U4=`click${Un}${Yp}`,Gp="carousel",Js="active",j4="slide",W4="carousel-item-end",K4="carousel-item-start",Y4="carousel-item-next",G4="carousel-item-prev",Jp=".active",Zp=".carousel-item",J4=Jp+Zp,Z4=".carousel-item img",X4=".carousel-indicators",Q4="[data-bs-slide], [data-bs-slide-to]",q4='[data-bs-ride="carousel"]',e6={[L4]:Gs,[R4]:no},t6={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},n6={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Zo extends Gt{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=ke.findOne(X4,this._element),this._addEventListeners(),this._config.ride===Gp&&this.cycle()}static get Default(){return t6}static get DefaultType(){return n6}static get NAME(){return D4}next(){this._slide(Jo)}nextWhenVisible(){!document.hidden&&qr(this._element)&&this.next()}prev(){this._slide(to)}pause(){this._isSliding&&Ip(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){ie.one(this._element,Mc,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ie.one(this._element,Mc,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?Jo:to;this._slide(o,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&ie.on(this._element,P4,e=>this._keydown(e)),this._config.pause==="hover"&&(ie.on(this._element,F4,()=>this.pause()),ie.on(this._element,V4,()=>this._maybeEnableCycle())),this._config.touch&&Ys.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ke.find(Z4,this._element))ie.on(r,z4,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(no)),rightCallback:()=>this._slide(this._directionToOrder(Gs)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),B4+this._config.interval))}};this._swipeHelper=new Ys(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=e6[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=ke.findOne(Jp,this._indicatorsElement);t.classList.remove(Js),t.removeAttribute("aria-current");const r=ke.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(Js),r.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const r=this._getActive(),o=e===Jo,i=t||wc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=p=>ie.trigger(this._element,p,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l($4).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?K4:W4,f=o?Y4:G4;i.classList.add(f),Yo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,f),i.classList.add(Js),r.classList.remove(Js,f,u),this._isSliding=!1,l(Mc)};this._queueCallback(h,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(j4)}_getActive(){return ke.findOne(J4,this._element)}_getItems(){return ke.find(Zp,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return Rt()?e===no?to:Jo:e===no?Jo:to}_orderToDirection(e){return Rt()?e===to?no:Gs:e===to?Gs:no}static jQueryInterface(e){return this.each(function(){const t=Zo.getOrCreateInstance(this,e);if(typeof e=="number"){t.to(e);return}if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ie.on(document,U4,Q4,function(n){const e=ke.getElementFromSelector(this);if(!e||!e.classList.contains(Gp))return;n.preventDefault();const t=Zo.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(vn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()}),ie.on(window,H4,()=>{const n=ke.find(q4);for(const e of n)Zo.getOrCreateInstance(e)}),Bt(Zo);const r6="collapse",Xo=".bs.collapse",o6=".data-api",i6=`show${Xo}`,s6=`shown${Xo}`,a6=`hide${Xo}`,l6=`hidden${Xo}`,c6=`click${Xo}${o6}`,Nc="show",ro="collapse",Zs="collapsing",u6="collapsed",d6=`:scope .${ro} .${ro}`,f6="collapse-horizontal",h6="width",p6="height",m6=".collapse.show, .collapse.collapsing",_c='[data-bs-toggle="collapse"]',g6={parent:null,toggle:!0},y6={parent:"(null|element)",toggle:"boolean"};class Qo extends Gt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=ke.find(_c);for(const o of r){const i=ke.getSelectorFromElement(o),s=ke.find(i).filter(l=>l===this._element);i!==null&&s.length&&this._triggerArray.push(o)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return g6}static get DefaultType(){return y6}static get NAME(){return r6}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(m6).filter(l=>l!==this._element).map(l=>Qo.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ie.trigger(this._element,i6).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(ro),this._element.classList.add(Zs),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(Zs),this._element.classList.add(ro,Nc),this._element.style[r]="",ie.trigger(this._element,s6)},s=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[s]}px`}hide(){if(this._isTransitioning||!this._isShown()||ie.trigger(this._element,a6).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Yo(this._element),this._element.classList.add(Zs),this._element.classList.remove(ro,Nc);for(const o of this._triggerArray){const i=ke.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(Zs),this._element.classList.add(ro),ie.trigger(this._element,l6)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Nc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=zn(e.parent),e}_getDimension(){return this._element.classList.contains(f6)?h6:p6}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(_c);for(const t of e){const r=ke.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=ke.find(d6,this._config.parent);return ke.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(u6,!t),r.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return typeof e=="string"&&/show|hide/.test(e)&&(t.toggle=!1),this.each(function(){const r=Qo.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ie.on(document,c6,_c,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of ke.getMultipleElementsFromSelector(this))Qo.getOrCreateInstance(e,{toggle:!1}).toggle()}),Bt(Qo);const Xp="dropdown",yr=".bs.dropdown",Ic=".data-api",v6="Escape",Qp="Tab",b6="ArrowUp",qp="ArrowDown",E6=2,C6=`hide${yr}`,S6=`hidden${yr}`,w6=`show${yr}`,k6=`shown${yr}`,em=`click${yr}${Ic}`,tm=`keydown${yr}${Ic}`,T6=`keyup${yr}${Ic}`,oo="show",A6="dropup",x6="dropend",O6="dropstart",M6="dropup-center",N6="dropdown-center",vr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',_6=`${vr}.${oo}`,Xs=".dropdown-menu",I6=".navbar",D6=".navbar-nav",L6=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",R6=Rt()?"top-end":"top-start",B6=Rt()?"top-start":"top-end",$6=Rt()?"bottom-end":"bottom-start",P6=Rt()?"bottom-start":"bottom-end",F6=Rt()?"left-start":"right-start",V6=Rt()?"right-start":"left-start",z6="top",H6="bottom",U6={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},j6={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class an extends Gt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=ke.next(this._element,Xs)[0]||ke.prev(this._element,Xs)[0]||ke.findOne(Xs,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return U6}static get DefaultType(){return j6}static get NAME(){return Xp}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Hn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ie.trigger(this._element,w6,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(D6))for(const r of[].concat(...document.body.children))ie.on(r,"mouseover",Us);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(oo),this._element.classList.add(oo),ie.trigger(this._element,k6,e)}}hide(){if(Hn(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!ie.trigger(this._element,C6,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ie.off(r,"mouseover",Us);this._popper&&this._popper.destroy(),this._menu.classList.remove(oo),this._element.classList.remove(oo),this._element.setAttribute("aria-expanded","false"),vn.removeDataAttribute(this._menu,"popper"),ie.trigger(this._element,S6,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!yn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Xp.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Lh>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:yn(this._config.reference)?e=zn(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=qi(e,this._menu,t)}_isShown(){return this._menu.classList.contains(oo)}_getPlacement(){const e=this._parent;if(e.classList.contains(x6))return F6;if(e.classList.contains(O6))return V6;if(e.classList.contains(M6))return z6;if(e.classList.contains(N6))return H6;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(A6)?t?B6:R6:t?P6:$6}_detectNavbar(){return this._element.closest(I6)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(vn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Et(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=ke.find(L6,this._menu).filter(o=>qr(o));r.length&&wc(r,t,e===qp,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=an.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}static clearMenus(e){if(e.button===E6||e.type==="keyup"&&e.key!==Qp)return;const t=ke.find(_6);for(const r of t){const o=an.getInstance(r);if(!o||o._config.autoClose===!1)continue;const i=e.composedPath(),s=i.includes(o._menu);if(i.includes(o._element)||o._config.autoClose==="inside"&&!s||o._config.autoClose==="outside"&&s||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Qp||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const l={relatedTarget:o._element};e.type==="click"&&(l.clickEvent=e),o._completeHide(l)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),r=e.key===v6,o=[b6,qp].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(vr)?this:ke.prev(this,vr)[0]||ke.next(this,vr)[0]||ke.findOne(vr,e.delegateTarget.parentNode),s=an.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ie.on(document,tm,vr,an.dataApiKeydownHandler),ie.on(document,tm,Xs,an.dataApiKeydownHandler),ie.on(document,em,an.clearMenus),ie.on(document,T6,an.clearMenus),ie.on(document,em,vr,function(n){n.preventDefault(),an.getOrCreateInstance(this).toggle()}),Bt(an);const nm="backdrop",W6="fade",rm="show",om=`mousedown.bs.${nm}`,K6={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Y6={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class im extends Go{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return K6}static get DefaultType(){return Y6}static get NAME(){return nm}show(e){if(!this._config.isVisible){Et(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Yo(t),t.classList.add(rm),this._emulateAnimation(()=>{Et(e)})}hide(e){if(!this._config.isVisible){Et(e);return}this._getElement().classList.remove(rm),this._emulateAnimation(()=>{this.dispose(),Et(e)})}dispose(){this._isAppended&&(ie.off(this._element,om),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(W6),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=zn(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ie.on(e,om,()=>{Et(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){Rp(e,this._getElement(),this._config.isAnimated)}}const G6="focustrap",Qs=".bs.focustrap",J6=`focusin${Qs}`,Z6=`keydown.tab${Qs}`,X6="Tab",Q6="forward",sm="backward",q6={autofocus:!0,trapElement:null},eC={autofocus:"boolean",trapElement:"element"};class am extends Go{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return q6}static get DefaultType(){return eC}static get NAME(){return G6}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ie.off(document,Qs),ie.on(document,J6,e=>this._handleFocusin(e)),ie.on(document,Z6,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ie.off(document,Qs))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=ke.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===sm?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===X6&&(this._lastTabNavDirection=e.shiftKey?sm:Q6)}}const lm=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",cm=".sticky-top",qs="padding-right",um="margin-right";class Dc{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,qs,t=>t+e),this._setElementAttributes(lm,qs,t=>t+e),this._setElementAttributes(cm,um,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,qs),this._resetElementAttributes(lm,qs),this._resetElementAttributes(cm,um)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),i=s=>{if(s!==this._element&&window.innerWidth>s.clientWidth+o)return;this._saveInitialAttribute(s,t);const l=window.getComputedStyle(s).getPropertyValue(t);s.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,i)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&vn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=vn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}vn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(yn(e)){t(e);return}for(const r of ke.find(e,this._element))t(r)}}const tC="modal",$t=".bs.modal",nC=".data-api",rC="Escape",oC=`hide${$t}`,iC=`hidePrevented${$t}`,dm=`hidden${$t}`,fm=`show${$t}`,sC=`shown${$t}`,aC=`resize${$t}`,lC=`click.dismiss${$t}`,cC=`mousedown.dismiss${$t}`,uC=`keydown.dismiss${$t}`,dC=`click${$t}${nC}`,hm="modal-open",fC="fade",pm="show",Lc="modal-static",hC=".modal.show",pC=".modal-dialog",mC=".modal-body",gC='[data-bs-toggle="modal"]',yC={backdrop:!0,focus:!0,keyboard:!0},vC={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class jn extends Gt{constructor(e,t){super(e,t),this._dialog=ke.findOne(pC,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Dc,this._addEventListeners()}static get Default(){return yC}static get DefaultType(){return vC}static get NAME(){return tC}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ie.trigger(this._element,fm,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(hm),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ie.trigger(this._element,oC).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(pm),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ie.off(window,$t),ie.off(this._dialog,$t),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new im({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new am({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=ke.findOne(mC,this._dialog);t&&(t.scrollTop=0),Yo(this._element),this._element.classList.add(pm);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ie.trigger(this._element,sC,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ie.on(this._element,uC,e=>{if(e.key===rC){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ie.on(window,aC,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ie.on(this._element,cC,e=>{ie.one(this._element,lC,t=>{if(!(this._element!==e.target||this._element!==t.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(hm),this._resetAdjustments(),this._scrollBar.reset(),ie.trigger(this._element,dm)})}_isAnimated(){return this._element.classList.contains(fC)}_triggerBackdropTransition(){if(ie.trigger(this._element,iC).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(Lc)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Lc),this._queueCallback(()=>{this._element.classList.remove(Lc),this._queueCallback(()=>{this._element.style.overflowY=r},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),r=t>0;if(r&&!e){const o=Rt()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=Rt()?"paddingRight":"paddingLeft";this._element.style[o]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each(function(){const r=jn.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ie.on(document,dC,gC,function(n){const e=ke.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ie.one(e,fm,o=>{o.defaultPrevented||ie.one(e,dm,()=>{qr(this)&&this.focus()})});const t=ke.findOne(hC);t&&jn.getInstance(t).hide(),jn.getOrCreateInstance(e).toggle(this)}),js(jn),Bt(jn);const bC="offcanvas",bn=".bs.offcanvas",mm=".data-api",EC=`load${bn}${mm}`,CC="Escape",gm="show",ym="showing",vm="hiding",SC="offcanvas-backdrop",bm=".offcanvas.show",wC=`show${bn}`,kC=`shown${bn}`,TC=`hide${bn}`,Em=`hidePrevented${bn}`,Cm=`hidden${bn}`,AC=`resize${bn}`,xC=`click${bn}${mm}`,OC=`keydown.dismiss${bn}`,MC='[data-bs-toggle="offcanvas"]',NC={backdrop:!0,keyboard:!0,scroll:!1},_C={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Wn extends Gt{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return NC}static get DefaultType(){return _C}static get NAME(){return bC}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ie.trigger(this._element,wC,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Dc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ym);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(gm),this._element.classList.remove(ym),ie.trigger(this._element,kC,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ie.trigger(this._element,TC).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(vm),this._backdrop.hide();const t=()=>{this._element.classList.remove(gm,vm),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Dc().reset(),ie.trigger(this._element,Cm)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ie.trigger(this._element,Em);return}this.hide()},t=!!this._config.backdrop;return new im({className:SC,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new am({trapElement:this._element})}_addEventListeners(){ie.on(this._element,OC,e=>{if(e.key===CC){if(this._config.keyboard){this.hide();return}ie.trigger(this._element,Em)}})}static jQueryInterface(e){return this.each(function(){const t=Wn.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}ie.on(document,xC,MC,function(n){const e=ke.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Hn(this))return;ie.one(e,Cm,()=>{qr(this)&&this.focus()});const t=ke.findOne(bm);t&&t!==e&&Wn.getInstance(t).hide(),Wn.getOrCreateInstance(e).toggle(this)}),ie.on(window,EC,()=>{for(const n of ke.find(bm))Wn.getOrCreateInstance(n).show()}),ie.on(window,AC,()=>{for(const n of ke.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Wn.getOrCreateInstance(n).hide()}),js(Wn),Bt(Wn);const Sm={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},IC=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),DC=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,LC=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?IC.has(t)?!!DC.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function RC(n,e,t){if(!n.length)return n;if(t&&typeof t=="function")return t(n);const o=new window.DOMParser().parseFromString(n,"text/html"),i=[].concat(...o.body.querySelectorAll("*"));for(const s of i){const l=s.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){s.remove();continue}const a=[].concat(...s.attributes),c=[].concat(e["*"]||[],e[l]||[]);for(const u of a)LC(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const BC="TemplateFactory",$C={allowList:Sm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},PC={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},FC={entry:"(string|element|function|null)",selector:"(string|element)"};class VC extends Go{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return $C}static get DefaultType(){return PC}static get NAME(){return BC}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[o,i]of Object.entries(this._config.content))this._setContent(e,i,o);const t=e.children[0],r=this._resolvePossibleFunction(this._config.extraClass);return r&&t.classList.add(...r.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,r]of Object.entries(e))super._typeCheckConfig({selector:t,entry:r},FC)}_setContent(e,t,r){const o=ke.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(yn(t)){this._putElementInTemplate(zn(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?RC(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Et(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const zC="tooltip",HC=new Set(["sanitize","allowList","sanitizeFn"]),Rc="fade",UC="modal",ea="show",jC=".tooltip-inner",wm=`.${UC}`,km="hide.bs.modal",qo="hover",Bc="focus",WC="click",KC="manual",YC="hide",GC="hidden",JC="show",ZC="shown",XC="inserted",QC="click",qC="focusin",eS="focusout",tS="mouseenter",nS="mouseleave",rS={AUTO:"auto",TOP:"top",RIGHT:Rt()?"left":"right",BOTTOM:"bottom",LEFT:Rt()?"right":"left"},oS={allowList:Sm,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},iS={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class br extends Gt{constructor(e,t){if(typeof Lh>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return oS}static get DefaultType(){return iS}static get NAME(){return zC}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),ie.off(this._element.closest(wm),km,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=ie.trigger(this._element,this.constructor.eventName(JC)),r=(Dp(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!r)return;this._disposePopper();const o=this._getTipElement();this._element.setAttribute("aria-describedby",o.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(o),ie.trigger(this._element,this.constructor.eventName(XC))),this._popper=this._createPopper(o),o.classList.add(ea),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ie.on(l,"mouseover",Us);const s=()=>{ie.trigger(this._element,this.constructor.eventName(ZC)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ie.trigger(this._element,this.constructor.eventName(YC)).defaultPrevented)return;if(this._getTipElement().classList.remove(ea),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ie.off(o,"mouseover",Us);this._activeTrigger[WC]=!1,this._activeTrigger[Bc]=!1,this._activeTrigger[qo]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ie.trigger(this._element,this.constructor.eventName(GC)))};this._queueCallback(r,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Rc,ea),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=e4(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Rc),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new VC({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[jC]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Rc)}_isShown(){return this.tip&&this.tip.classList.contains(ea)}_createPopper(e){const t=Et(this._config.placement,[this,e,this._element]),r=rS[t.toUpperCase()];return qi(this._element,e,this._getPopperConfig(r))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(t=>Number.parseInt(t,10)):typeof e=="function"?t=>e(t,this._element):e}_resolvePossibleFunction(e){return Et(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:r=>{this._getTipElement().setAttribute("data-popper-placement",r.state.placement)}}]};return{...t,...Et(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ie.on(this._element,this.constructor.eventName(QC),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==KC){const r=t===qo?this.constructor.eventName(tS):this.constructor.eventName(qC),o=t===qo?this.constructor.eventName(nS):this.constructor.eventName(eS);ie.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?Bc:qo]=!0,s._enter()}),ie.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?Bc:qo]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ie.on(this._element.closest(wm),km,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=vn.getDataAttributes(this._element);for(const r of Object.keys(t))HC.has(r)&&delete t[r];return e={...t,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:zn(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,r]of Object.entries(this._config))this.constructor.Default[t]!==r&&(e[t]=r);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const t=br.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Bt(br);const sS="popover",aS=".popover-header",lS=".popover-body",cS={...br.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},uS={...br.DefaultType,content:"(null|string|element|function)"};class $c extends br{static get Default(){return cS}static get DefaultType(){return uS}static get NAME(){return sS}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[aS]:this._getTitle(),[lS]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=$c.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Bt($c);const dS="scrollspy",Pc=".bs.scrollspy",fS=".data-api",hS=`activate${Pc}`,Tm=`click${Pc}`,pS=`load${Pc}${fS}`,mS="dropdown-item",io="active",gS='[data-bs-spy="scroll"]',Fc="[href]",yS=".nav, .list-group",Am=".nav-link",vS=`${Am}, .nav-item > ${Am}, .list-group-item`,bS=".dropdown",ES=".dropdown-toggle",CS={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},SS={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class ta extends Gt{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return CS}static get DefaultType(){return SS}static get NAME(){return dS}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=zn(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(t=>Number.parseFloat(t))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(ie.off(this._config.target,Tm),ie.on(this._config.target,Tm,Fc,e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const r=this._rootElement||window,o=t.offsetTop-this._element.offsetTop;if(r.scrollTo){r.scrollTo({top:o,behavior:"smooth"});return}r.scrollTop=o}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(t=>this._observerCallback(t),e)}_observerCallback(e){const t=s=>this._targetLinks.get(`#${s.target.id}`),r=s=>{this._previousScrollData.visibleEntryTop=s.target.offsetTop,this._process(t(s))},o=(this._rootElement||document.documentElement).scrollTop,i=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const s of e){if(!s.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(s));continue}const l=s.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&l){if(r(s),!o)return;continue}!i&&!l&&r(s)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=ke.find(Fc,this._config.target);for(const t of e){if(!t.hash||Hn(t))continue;const r=ke.findOne(decodeURI(t.hash),this._element);qr(r)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,r))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(io),this._activateParents(e),ie.trigger(this._element,hS,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(mS)){ke.findOne(ES,e.closest(bS)).classList.add(io);return}for(const t of ke.parents(e,yS))for(const r of ke.prev(t,vS))r.classList.add(io)}_clearActiveClass(e){e.classList.remove(io);const t=ke.find(`${Fc}.${io}`,e);for(const r of t)r.classList.remove(io)}static jQueryInterface(e){return this.each(function(){const t=ta.getOrCreateInstance(this,e);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ie.on(window,pS,()=>{for(const n of ke.find(gS))ta.getOrCreateInstance(n)}),Bt(ta);const wS="tab",Er=".bs.tab",kS=`hide${Er}`,TS=`hidden${Er}`,AS=`show${Er}`,xS=`shown${Er}`,OS=`click${Er}`,MS=`keydown${Er}`,NS=`load${Er}`,_S="ArrowLeft",xm="ArrowRight",IS="ArrowUp",Om="ArrowDown",Cr="active",Mm="fade",Vc="show",DS="dropdown",LS=".dropdown-toggle",RS=".dropdown-menu",zc=":not(.dropdown-toggle)",BS='.list-group, .nav, [role="tablist"]',$S=".nav-item, .list-group-item",PS=`.nav-link${zc}, .list-group-item${zc}, [role="tab"]${zc}`,Nm='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Hc=`${PS}, ${Nm}`,FS=`.${Cr}[data-bs-toggle="tab"], .${Cr}[data-bs-toggle="pill"], .${Cr}[data-bs-toggle="list"]`;class so extends Gt{constructor(e){super(e),this._parent=this._element.closest(BS),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ie.on(this._element,MS,t=>this._keydown(t)))}static get NAME(){return wS}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ie.trigger(t,kS,{relatedTarget:e}):null;ie.trigger(e,AS,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(Cr),this._activate(ke.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Vc);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ie.trigger(e,xS,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(Mm))}_deactivate(e,t){if(!e)return;e.classList.remove(Cr),e.blur(),this._deactivate(ke.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Vc);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ie.trigger(e,TS,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(Mm))}_keydown(e){if(![_S,xm,IS,Om].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[xm,Om].includes(e.key),r=wc(this._getChildren().filter(o=>!Hn(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),so.getOrCreateInstance(r).show())}_getChildren(){return ke.find(Hc,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const r of t)this._setInitialAttributesOnChild(r)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),r=this._getOuterElement(e);e.setAttribute("aria-selected",t),r!==e&&this._setAttributeIfNotExists(r,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=ke.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const r=this._getOuterElement(e);if(!r.classList.contains(DS))return;const o=(i,s)=>{const l=ke.findOne(i,r);l&&l.classList.toggle(s,t)};o(LS,Cr),o(RS,Vc),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(Cr)}_getInnerElement(e){return e.matches(Hc)?e:ke.findOne(Hc,e)}_getOuterElement(e){return e.closest($S)||e}static jQueryInterface(e){return this.each(function(){const t=so.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ie.on(document,OS,Nm,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Hn(this)&&so.getOrCreateInstance(this).show()}),ie.on(window,NS,()=>{for(const n of ke.find(FS))so.getOrCreateInstance(n)}),Bt(so);const VS="toast",Kn=".bs.toast",zS=`mouseover${Kn}`,HS=`mouseout${Kn}`,US=`focusin${Kn}`,jS=`focusout${Kn}`,WS=`hide${Kn}`,KS=`hidden${Kn}`,YS=`show${Kn}`,GS=`shown${Kn}`,JS="fade",_m="hide",na="show",ra="showing",ZS={animation:"boolean",autohide:"boolean",delay:"number"},XS={animation:!0,autohide:!0,delay:5e3};class ei extends Gt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return XS}static get DefaultType(){return ZS}static get NAME(){return VS}show(){if(ie.trigger(this._element,YS).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(JS);const t=()=>{this._element.classList.remove(ra),ie.trigger(this._element,GS),this._maybeScheduleHide()};this._element.classList.remove(_m),Yo(this._element),this._element.classList.add(na,ra),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ie.trigger(this._element,WS).defaultPrevented)return;const t=()=>{this._element.classList.add(_m),this._element.classList.remove(ra,na),ie.trigger(this._element,KS)};this._element.classList.add(ra),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(na),super.dispose()}isShown(){return this._element.classList.contains(na)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=t;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=t;break}}if(t){this._clearTimeout();return}const r=e.relatedTarget;this._element===r||this._element.contains(r)||this._maybeScheduleHide()}_setListeners(){ie.on(this._element,zS,e=>this._onInteraction(e,!0)),ie.on(this._element,HS,e=>this._onInteraction(e,!1)),ie.on(this._element,US,e=>this._onInteraction(e,!0)),ie.on(this._element,jS,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=ei.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}js(ei),Bt(ei);const QS=n=>{const e=d.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value=jn.getOrCreateInstance(o),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{if(e.value){e.value.hide();return}const o=document.getElementById(n);if(o instanceof HTMLElement){const i=jn.getInstance(o);i&&i.hide()}}}};function Im(n=void 0){const e=l=>i("Succesvol",l,kr.SUCCESS),t=l=>i("Waarschuwing",l,kr.WARNING),r=l=>i("Informatie",l,kr.INFO),o=l=>i("Mislukt",l,kr.DANGER);function i(l,a,c){const u=`toast-${hu()}`,f={id:u,variant:c,title:l,text:a},h=document.querySelector(".toast-container");if(!h){console.error("There was no element with class 'toast-container' found, which is required for useToaster.");return}const p=d.h(ka,f),g=d.createApp({render:()=>p}).mount(document.createElement("div"));h.appendChild(g.$el);const y=document.querySelector(`#${u}`);y&&(ei.getOrCreateInstance(y,n).show(),s(y))}function s(l){function a(f,h){f.forEach(p=>{if(p.attributeName!="class")return;const m=p.target;if(m.classList.contains("hide")){m.remove(),h.disconnect();return}})}const c=new MutationObserver(a),u={attributes:!0};c.observe(l,u)}return{showSuccessToast:e,showInformationToast:r,showWarningToast:t,showDangerToast:o}}const qS=n=>Array.isArray(n)&&n.length>0,{showDangerToast:ew}=Im();function tw(n){const e=d.ref(null),t=(a,c="serverErrors")=>{var f;let u=[];if(Array.isArray((f=a==null?void 0:a.response)==null?void 0:f.data)?u=a.response.data.filter(h=>Hs(h.ErrorMessage)&&h.ErrorMessage!==vc):a.response.data.ErrorMessage?u=[a.response.data.ErrorMessage]:u=null,Hs(c))e.value=u;else if(Array.isArray(c)){let h=e.value;for(let p=0;p<c.length;p++)p===c.length-1?h[c[p]]=u:h=h[c[p]]}r(a),s(e)},r=a=>{const u=new URL(a.request.responseURL).pathname;if(u in n.error){const f=n.error[u];f&&ew(f)}},o=d.ref(null),i=d.ref(""),s=a=>{qS(a.value)?o.value=a.value.map(c=>Hs(c)?c:c.ErrorMessage):Hs(a.value)&&(i.value=a.value)};function l(){e.value=null,o.value=null,i.value=vc}return{serverErrors:e,errorMessages:o,errorMessageText:i,MapErrors:s,MapServerErrors:t,ResetServerErrors:l}}const nw=()=>({ResetValidation:t=>{for(const r in t.value)t.value[r].state=null},ValidationObjectIsValid:t=>{for(let r in t)if(t[r].state===!1)return!1;return!0}}),Dm={mounted:n=>{new br(n)}};var Lm={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Ta,function(){var t=1e3,r=6e4,o=36e5,i="millisecond",s="second",l="minute",a="hour",c="day",u="week",f="month",h="quarter",p="year",m="date",g="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,C=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(H){var F=["th","st","nd","rd"],$=H%100;return"["+H+(F[($-20)%10]||F[$]||F[0])+"]"}},k=function(H,F,$){var G=String(H);return!G||G.length>=F?H:""+Array(F+1-G.length).join($)+H},b={s:k,z:function(H){var F=-H.utcOffset(),$=Math.abs(F),G=Math.floor($/60),D=$%60;return(F<=0?"+":"-")+k(G,2,"0")+":"+k(D,2,"0")},m:function H(F,$){if(F.date()<$.date())return-H($,F);var G=12*($.year()-F.year())+($.month()-F.month()),D=F.clone().add(G,f),Q=$-D<0,te=F.clone().add(G+(Q?-1:1),f);return+(-(G+($-D)/(Q?D-te:te-D))||0)},a:function(H){return H<0?Math.ceil(H)||0:Math.floor(H)},p:function(H){return{M:f,y:p,w:u,d:c,D:m,h:a,m:l,s,ms:i,Q:h}[H]||String(H||"").toLowerCase().replace(/s$/,"")},u:function(H){return H===void 0}},N="en",T={};T[N]=S;var z="$isDayjsObject",U=function(H){return H instanceof V||!(!H||!H[z])},j=function H(F,$,G){var D;if(!F)return N;if(typeof F=="string"){var Q=F.toLowerCase();T[Q]&&(D=Q),$&&(T[Q]=$,D=Q);var te=F.split("-");if(!D&&te.length>1)return H(te[0])}else{var ce=F.name;T[ce]=F,D=ce}return!G&&D&&(N=D),D||!G&&N},P=function(H,F){if(U(H))return H.clone();var $=typeof F=="object"?F:{};return $.date=H,$.args=arguments,new V($)},L=b;L.l=j,L.i=U,L.w=function(H,F){return P(H,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var V=function(){function H($){this.$L=j($.locale,null,!0),this.parse($),this.$x=this.$x||$.x||{},this[z]=!0}var F=H.prototype;return F.parse=function($){this.$d=function(G){var D=G.date,Q=G.utc;if(D===null)return new Date(NaN);if(L.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var te=D.match(y);if(te){var ce=te[2]-1||0,me=(te[7]||"0").substring(0,3);return Q?new Date(Date.UTC(te[1],ce,te[3]||1,te[4]||0,te[5]||0,te[6]||0,me)):new Date(te[1],ce,te[3]||1,te[4]||0,te[5]||0,te[6]||0,me)}}return new Date(D)}($),this.init()},F.init=function(){var $=this.$d;this.$y=$.getFullYear(),this.$M=$.getMonth(),this.$D=$.getDate(),this.$W=$.getDay(),this.$H=$.getHours(),this.$m=$.getMinutes(),this.$s=$.getSeconds(),this.$ms=$.getMilliseconds()},F.$utils=function(){return L},F.isValid=function(){return this.$d.toString()!==g},F.isSame=function($,G){var D=P($);return this.startOf(G)<=D&&D<=this.endOf(G)},F.isAfter=function($,G){return P($)<this.startOf(G)},F.isBefore=function($,G){return this.endOf(G)<P($)},F.$g=function($,G,D){return L.u($)?this[G]:this.set(D,$)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function($,G){var D=this,Q=!!L.u(G)||G,te=L.p($),ce=function(O,w){var x=L.w(D.$u?Date.UTC(D.$y,w,O):new Date(D.$y,w,O),D);return Q?x:x.endOf(c)},me=function(O,w){return L.w(D.toDate()[O].apply(D.toDate("s"),(Q?[0,0,0,0]:[23,59,59,999]).slice(w)),D)},ge=this.$W,Ce=this.$M,we=this.$D,Te="set"+(this.$u?"UTC":"");switch(te){case p:return Q?ce(1,0):ce(31,11);case f:return Q?ce(1,Ce):ce(0,Ce+1);case u:var ve=this.$locale().weekStart||0,A=(ge<ve?ge+7:ge)-ve;return ce(Q?we-A:we+(6-A),Ce);case c:case m:return me(Te+"Hours",0);case a:return me(Te+"Minutes",1);case l:return me(Te+"Seconds",2);case s:return me(Te+"Milliseconds",3);default:return this.clone()}},F.endOf=function($){return this.startOf($,!1)},F.$set=function($,G){var D,Q=L.p($),te="set"+(this.$u?"UTC":""),ce=(D={},D[c]=te+"Date",D[m]=te+"Date",D[f]=te+"Month",D[p]=te+"FullYear",D[a]=te+"Hours",D[l]=te+"Minutes",D[s]=te+"Seconds",D[i]=te+"Milliseconds",D)[Q],me=Q===c?this.$D+(G-this.$W):G;if(Q===f||Q===p){var ge=this.clone().set(m,1);ge.$d[ce](me),ge.init(),this.$d=ge.set(m,Math.min(this.$D,ge.daysInMonth())).$d}else ce&&this.$d[ce](me);return this.init(),this},F.set=function($,G){return this.clone().$set($,G)},F.get=function($){return this[L.p($)]()},F.add=function($,G){var D,Q=this;$=Number($);var te=L.p(G),ce=function(Ce){var we=P(Q);return L.w(we.date(we.date()+Math.round(Ce*$)),Q)};if(te===f)return this.set(f,this.$M+$);if(te===p)return this.set(p,this.$y+$);if(te===c)return ce(1);if(te===u)return ce(7);var me=(D={},D[l]=r,D[a]=o,D[s]=t,D)[te]||1,ge=this.$d.getTime()+$*me;return L.w(ge,this)},F.subtract=function($,G){return this.add(-1*$,G)},F.format=function($){var G=this,D=this.$locale();if(!this.isValid())return D.invalidDate||g;var Q=$||"YYYY-MM-DDTHH:mm:ssZ",te=L.z(this),ce=this.$H,me=this.$m,ge=this.$M,Ce=D.weekdays,we=D.months,Te=D.meridiem,ve=function(w,x,v,E){return w&&(w[x]||w(G,Q))||v[x].slice(0,E)},A=function(w){return L.s(ce%12||12,w,"0")},O=Te||function(w,x,v){var E=w<12?"AM":"PM";return v?E.toLowerCase():E};return Q.replace(C,function(w,x){return x||function(v){switch(v){case"YY":return String(G.$y).slice(-2);case"YYYY":return L.s(G.$y,4,"0");case"M":return ge+1;case"MM":return L.s(ge+1,2,"0");case"MMM":return ve(D.monthsShort,ge,we,3);case"MMMM":return ve(we,ge);case"D":return G.$D;case"DD":return L.s(G.$D,2,"0");case"d":return String(G.$W);case"dd":return ve(D.weekdaysMin,G.$W,Ce,2);case"ddd":return ve(D.weekdaysShort,G.$W,Ce,3);case"dddd":return Ce[G.$W];case"H":return String(ce);case"HH":return L.s(ce,2,"0");case"h":return A(1);case"hh":return A(2);case"a":return O(ce,me,!0);case"A":return O(ce,me,!1);case"m":return String(me);case"mm":return L.s(me,2,"0");case"s":return String(G.$s);case"ss":return L.s(G.$s,2,"0");case"SSS":return L.s(G.$ms,3,"0");case"Z":return te}return null}(w)||te.replace(":","")})},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function($,G,D){var Q,te=this,ce=L.p(G),me=P($),ge=(me.utcOffset()-this.utcOffset())*r,Ce=this-me,we=function(){return L.m(te,me)};switch(ce){case p:Q=we()/12;break;case f:Q=we();break;case h:Q=we()/3;break;case u:Q=(Ce-ge)/6048e5;break;case c:Q=(Ce-ge)/864e5;break;case a:Q=Ce/o;break;case l:Q=Ce/r;break;case s:Q=Ce/t;break;default:Q=Ce}return D?Q:L.a(Q)},F.daysInMonth=function(){return this.endOf(f).$D},F.$locale=function(){return T[this.$L]},F.locale=function($,G){if(!$)return this.$L;var D=this.clone(),Q=j($,G,!0);return Q&&(D.$L=Q),D},F.clone=function(){return L.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},H}(),W=V.prototype;return P.prototype=W,[["$ms",i],["$s",s],["$m",l],["$H",a],["$W",c],["$M",f],["$y",p],["$D",m]].forEach(function(H){W[H[1]]=function(F){return this.$g(F,H[0],H[1])}}),P.extend=function(H,F){return H.$i||(H(F,V,P),H.$i=!0),P},P.locale=j,P.isDayjs=U,P.unix=function(H){return P(1e3*H)},P.en=T[N],P.Ls=T,P.p={},P})})(Lm);var Rm=Lm.exports;const oa=Aa(Rm);var rw={exports:{}};(function(n,e){(function(t,r){n.exports=r(Rm)})(Ta,function(t){function r(s){return s&&typeof s=="object"&&"default"in s?s:{default:s}}var o=r(t),i={name:"nl",weekdays:"zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag".split("_"),weekdaysShort:"zo._ma._di._wo._do._vr._za.".split("_"),weekdaysMin:"zo_ma_di_wo_do_vr_za".split("_"),months:"januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),ordinal:function(s){return"["+s+(s===1||s===8||s>=20?"ste":"de")+"]"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD-MM-YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"over %s",past:"%s geleden",s:"een paar seconden",m:"een minuut",mm:"%d minuten",h:"een uur",hh:"%d uur",d:"een dag",dd:"%d dagen",M:"een maand",MM:"%d maanden",y:"een jaar",yy:"%d jaar"}};return o.default.locale(i,null,!0),i})})(rw);var Bm={exports:{}};(function(n,e){(function(t,r){n.exports=r()})(Ta,function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,o=/\d/,i=/\d\d/,s=/\d\d?/,l=/\d*[^-_:/,()\s\d]+/,a={},c=function(y){return(y=+y)+(y>68?1900:2e3)},u=function(y){return function(C){this[y]=+C}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=function(C){if(!C||C==="Z")return 0;var S=C.match(/([+-]|\d\d)/g),k=60*S[1]+(+S[2]||0);return k===0?0:S[0]==="+"?-k:k}(y)}],h=function(y){var C=a[y];return C&&(C.indexOf?C:C.s.concat(C.f))},p=function(y,C){var S,k=a.meridiem;if(k){for(var b=1;b<=24;b+=1)if(y.indexOf(k(b,0,C))>-1){S=b>12;break}}else S=y===(C?"pm":"PM");return S},m={A:[l,function(y){this.afternoon=p(y,!1)}],a:[l,function(y){this.afternoon=p(y,!0)}],Q:[o,function(y){this.month=3*(y-1)+1}],S:[o,function(y){this.milliseconds=100*+y}],SS:[i,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[s,u("seconds")],ss:[s,u("seconds")],m:[s,u("minutes")],mm:[s,u("minutes")],H:[s,u("hours")],h:[s,u("hours")],HH:[s,u("hours")],hh:[s,u("hours")],D:[s,u("day")],DD:[i,u("day")],Do:[l,function(y){var C=a.ordinal,S=y.match(/\d+/);if(this.day=S[0],C)for(var k=1;k<=31;k+=1)C(k).replace(/\[|\]/g,"")===y&&(this.day=k)}],w:[s,u("week")],ww:[i,u("week")],M:[s,u("month")],MM:[i,u("month")],MMM:[l,function(y){var C=h("months"),S=(h("monthsShort")||C.map(function(k){return k.slice(0,3)})).indexOf(y)+1;if(S<1)throw new Error;this.month=S%12||S}],MMMM:[l,function(y){var C=h("months").indexOf(y)+1;if(C<1)throw new Error;this.month=C%12||C}],Y:[/[+-]?\d+/,u("year")],YY:[i,function(y){this.year=c(y)}],YYYY:[/\d{4}/,u("year")],Z:f,ZZ:f};function g(y){var C,S;C=y,S=a&&a.formats;for(var k=(y=C.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,function(P,L,V){var W=V&&V.toUpperCase();return L||S[V]||t[V]||S[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,function(H,F,$){return F||$.slice(1)})})).match(r),b=k.length,N=0;N<b;N+=1){var T=k[N],z=m[T],U=z&&z[0],j=z&&z[1];k[N]=j?{regex:U,parser:j}:T.replace(/^\[|\]$/g,"")}return function(P){for(var L={},V=0,W=0;V<b;V+=1){var H=k[V];if(typeof H=="string")W+=H.length;else{var F=H.regex,$=H.parser,G=P.slice(W),D=F.exec(G)[0];$.call(L,D),P=P.replace(D,"")}}return function(Q){var te=Q.afternoon;if(te!==void 0){var ce=Q.hours;te?ce<12&&(Q.hours+=12):ce===12&&(Q.hours=0),delete Q.afternoon}}(L),L}}return function(y,C,S){S.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(c=y.parseTwoDigitYear);var k=C.prototype,b=k.parse;k.parse=function(N){var T=N.date,z=N.utc,U=N.args;this.$u=z;var j=U[1];if(typeof j=="string"){var P=U[2]===!0,L=U[3]===!0,V=P||L,W=U[2];L&&(W=U[2]),a=this.$locale(),!P&&W&&(a=S.Ls[W]),this.$d=function(G,D,Q,te){try{if(["x","X"].indexOf(D)>-1)return new Date((D==="X"?1e3:1)*G);var ce=g(D)(G),me=ce.year,ge=ce.month,Ce=ce.day,we=ce.hours,Te=ce.minutes,ve=ce.seconds,A=ce.milliseconds,O=ce.zone,w=ce.week,x=new Date,v=Ce||(me||ge?1:x.getDate()),E=me||x.getFullYear(),_=0;me&&!ge||(_=ge>0?ge-1:x.getMonth());var I,R=we||0,B=Te||0,K=ve||0,J=A||0;return O?new Date(Date.UTC(E,_,v,R,B,K,J+60*O.offset*1e3)):Q?new Date(Date.UTC(E,_,v,R,B,K,J)):(I=new Date(E,_,v,R,B,K,J),w&&(I=te(I).week(w).toDate()),I)}catch{return new Date("")}}(T,j,z,S),this.init(),W&&W!==!0&&(this.$L=this.locale(W).$L),V&&T!=this.format(j)&&(this.$d=new Date("")),a={}}else if(j instanceof Array)for(var H=j.length,F=1;F<=H;F+=1){U[1]=j[F-1];var $=S.apply(this,U);if($.isValid()){this.$d=$.$d,this.$L=$.$L,this.init();break}F===H&&(this.$d=new Date(""))}else b.call(this,N)}}})})(Bm);var ow=Bm.exports;const iw=Aa(ow);oa.extend(iw),oa.locale("nl");function sw(n,e=oa().startOf("day")){const t="DD-MM-YYYY",r=oa(n,t);if(r.isSame(e))return"vandaag";const i=e.subtract(1,"day");if(r.isSame(i))return"gister";const l=e.subtract(2,"day");if(r.isSame(l))return"eergister";const c=e.subtract(7,"day");if(r.isAfter(c)){const h="dddd";return r.format(h)}if(r.year()==e.year()){const h="D MMM";return r.format(h)}return r.format(t)}const aw={PRIMARY:"primary",SECONDARY:"secondary",COLLEAGUE:"colleague",DANGER:"danger",OUT_PRIMARY:"outline-primary",OUT_PRIMARY_DARK:"outline-primary-dark",OUT_TERTIARY:"outline-tertiary",OUT_LINK:"link",LIGHT:"light",DARK:"dark",REMOVE:"remove"},tt=d.defineComponent({__name:"BDButton",props:{size:{default:at.MD},variant:{default:aw.PRIMARY},blockElement:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},to:{},target:{},text:{},rel:{}},emits:["click"],setup(n,{emit:e}){const t=n,r=d.computed(()=>({btn:!0,[`btn-${t.variant}`]:t.variant,[`btn-${t.size}`]:!0,"d-grid":t.blockElement&&typeof t.to=="string",[`${t.class}`]:t.class,disabled:t.disabled})),o=d.computed(()=>t.to?wr:"button"),i=d.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=l=>{e("click",l)};return(l,a)=>(d.openBlock(),d.createBlock(d.resolveDynamicComponent(o.value),d.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:d.withCtx(()=>[d.renderSlot(l.$slots,"default",{},()=>[d.createTextVNode(d.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),lw={install:n=>{n.component("BDCol",Jn),n.component("BDContainer",ti),n.component("BDRow",Zn),n.component("BDButton",tt),n.component("BDLogo",Ea),n.component("BDLink",wr),n.component("BDDropdownItem",fi),n.component("BDDropdown",bc),n.component("BDAlert",ai),n.component("BDProfileImage",fo),n.component("BDZoomslider",uu),n.component("BDCard",ui),n.component("BDCollapsableCard",pu),n.component("BDFormInput",mo),n.component("BDInputGroup",bu),n.component("BDFormInvalidFeedback",di),n.component("BDBadge",Eu),n.component("BDForm",Cu),n.component("BDPagination",Su),n.component("BDDropzone",Ou),n.component("BDMarkdownEditor",kp),n.component("BDModal",Mp),n.component("BDFormSelect",wu),n.component("BDUser",Tp),n.component("BDArticle",Tu),n.component("BDFormCheckbox",ku),n.component("BDToast",ka),n.component("BDAttachmentPreviewList",Fs),n.component("BDImageAttachmentPreviewList",Vs),n.component("BDHeader",Op),n.component("BDMobileMenu",yc),n.component("BDChatCloud",Ap),n.component("BDTable",xp),n.component("BDChangePasswordTemplate",Np),n.component("IconAcademy",Jc),n.component("IconArrowDown",Zc),n.component("IconArrowUp",Xc),n.component("IconAttachment",Xn),n.component("IconBold",sa),n.component("IconBulletList",aa),n.component("IconCalendar",la),n.component("IconCalendar",la),n.component("IconCardView",Qc),n.component("IconCaretDown",ca),n.component("IconCaretLeft",ua),n.component("IconCaretRight",da),n.component("IconCheck",lo),n.component("IconClose",ni),n.component("IconDownloadImage",ri),n.component("IconDownloadImage",ri),n.component("IconEdit",qc),n.component("IconError",oi),n.component("IconEyeShow",eu),n.component("IconEyeSlash",tu),n.component("IconFile",fa),n.component("IconHyperlink",ha),n.component("IconInfo",co),n.component("IconItalic",pa),n.component("IconListView",nu),n.component("IconMenu",ii),n.component("IconMenu",ii),n.component("IconOrderedList",ma),n.component("IconRemove",uo),n.component("IconService",ru),n.component("IconSort",ou),n.component("IconSortAsc",ga),n.component("IconSortDesc",ya),n.component("IconSortNone",va),n.component("IconTriangleExclamation",iu),n.component("IconUnderline",ba),n.component("IconContactPerson",su),n.directive("vBDTooltip",Dm)}};he.BDAlert=ai,he.BDArticle=Tu,he.BDAttachmentPreviewList=Fs,he.BDBadge=Eu,he.BDButton=tt,he.BDCard=ui,he.BDChangePasswordTemplate=Np,he.BDChatCloud=Ap,he.BDCol=Jn,he.BDCollapsableCard=pu,he.BDContainer=ti,he.BDDropdown=bc,he.BDDropdownItem=fi,he.BDDropzone=Ou,he.BDForm=Cu,he.BDFormCheckbox=ku,he.BDFormInput=mo,he.BDFormInvalidFeedback=di,he.BDFormSelect=wu,he.BDHeader=Op,he.BDImageAttachmentPreviewList=Vs,he.BDInputGroup=bu,he.BDLink=wr,he.BDLogo=Ea,he.BDMarkdownEditor=kp,he.BDMobileMenu=yc,he.BDModal=Mp,he.BDPagination=Su,he.BDProfileImage=fo,he.BDRow=Zn,he.BDTable=xp,he.BDToast=ka,he.BDUser=Tp,he.BDZoomslider=uu,he.IconAcademy=Jc,he.IconArrowDown=Zc,he.IconArrowUp=Xc,he.IconAttachment=Xn,he.IconBold=sa,he.IconBulletList=aa,he.IconCalendar=la,he.IconCardView=Qc,he.IconCaretDown=ca,he.IconCaretLeft=ua,he.IconCaretRight=da,he.IconCheck=lo,he.IconClose=ni,he.IconContactPerson=su,he.IconDownloadImage=ri,he.IconEdit=qc,he.IconError=oi,he.IconEyeShow=eu,he.IconEyeSlash=tu,he.IconFile=fa,he.IconHyperlink=ha,he.IconInfo=co,he.IconItalic=pa,he.IconListView=nu,he.IconMenu=ii,he.IconOrderedList=ma,he.IconRemove=uo,he.IconService=ru,he.IconSort=ou,he.IconSortAsc=ga,he.IconSortDesc=ya,he.IconSortNone=va,he.IconTriangleExclamation=iu,he.IconUnderline=ba,he.default=lw,he.getDisplayDate=sw,he.useModal=QS,he.useServerErrors=tw,he.useToaster=Im,he.useValidation=nw,he.vBdTooltip=Dm,Object.defineProperties(he,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});