@beterdichtbij/component-library 0.23.0 → 0.23.1

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.
Files changed (39) hide show
  1. package/dist/bd-component-lib.cjs.js +2 -2
  2. package/dist/bd-component-lib.es.js +783 -773
  3. package/dist/bd-component-lib.umd.js +26 -26
  4. package/dist/components/atoms/BDAlert/BDAlert.vue.d.ts.map +1 -1
  5. package/dist/components/atoms/BDArticle/BDArticle.vue.d.ts.map +1 -1
  6. package/dist/components/atoms/BDBadge/BDBadge.vue.d.ts.map +1 -1
  7. package/dist/components/atoms/BDButton/BDButton.vue.d.ts.map +1 -1
  8. package/dist/components/atoms/BDCard/BDCard.vue.d.ts.map +1 -1
  9. package/dist/components/atoms/BDCollapsableCard/BDCollapsableCard.vue.d.ts.map +1 -1
  10. package/dist/components/atoms/BDForm/BDForm.vue.d.ts.map +1 -1
  11. package/dist/components/atoms/BDFormCheckbox/BDFormCheckbox.vue.d.ts.map +1 -1
  12. package/dist/components/atoms/BDFormInput/BDFormInput.vue.d.ts.map +1 -1
  13. package/dist/components/atoms/BDFormInvalidFeedback/BDFormInvalidFeedback.vue.d.ts.map +1 -1
  14. package/dist/components/atoms/BDFormSelect/BDFormSelect.vue.d.ts.map +1 -1
  15. package/dist/components/atoms/BDInputGroup/BDInputGroup.vue.d.ts.map +1 -1
  16. package/dist/components/atoms/BDLink/BDLink.vue.d.ts.map +1 -1
  17. package/dist/components/atoms/BDPagination/BDPagination.vue.d.ts.map +1 -1
  18. package/dist/components/atoms/BDProfileImage/BDProfileImage.vue.d.ts.map +1 -1
  19. package/dist/components/atoms/BDToast/BDToast.vue.d.ts.map +1 -1
  20. package/dist/components/atoms/BDZoomslider/BDZoomslider.vue.d.ts.map +1 -1
  21. package/dist/components/molecules/BDAttachmentPreviewList/BDAttachmentPreviewList.vue.d.ts.map +1 -1
  22. package/dist/components/molecules/BDChatCloud/BDChatCloud.vue.d.ts.map +1 -1
  23. package/dist/components/molecules/BDDropdownItem/BDDropdownItem.vue.d.ts.map +1 -1
  24. package/dist/components/molecules/BDDropzone/BDDropzone.vue.d.ts.map +1 -1
  25. package/dist/components/molecules/BDImageAttachmentPreviewList/BDImageAttachmentPreviewList.vue.d.ts.map +1 -1
  26. package/dist/components/molecules/BDMarkdownEditor/BDMarkdownEditor.vue.d.ts.map +1 -1
  27. package/dist/components/molecules/BDMobileMenu/BDMobileMenu.vue.d.ts.map +1 -1
  28. package/dist/components/molecules/BDUser/BDUser.vue.d.ts.map +1 -1
  29. package/dist/components/organisms/BDDropdown/BDDropdown.vue.d.ts.map +1 -1
  30. package/dist/components/organisms/BDHeader/BDHeader.vue.d.ts.map +1 -1
  31. package/dist/components/organisms/BDModal/BDModal.vue.d.ts.map +1 -1
  32. package/dist/scss/_button.scss +78 -78
  33. package/dist/scss/_dropdown.scss +102 -101
  34. package/dist/scss/_header.scss +109 -109
  35. package/dist/scss/_toast.scss +69 -69
  36. package/dist/scss/base/variables.scss +192 -192
  37. package/dist/scss/component-library-styling.scss +21 -21
  38. package/dist/scss/mixins.scss +59 -59
  39. package/package.json +123 -123
@@ -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 fC(){ze.scanner=rC(ze.customSchemes);for(let n=0;n<ze.tokenQueue.length;n++)ze.tokenQueue[n][1]({scanner:ze.scanner});ze.parser=aC(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 hC(n){return ze.initialized||fC(),lC(ze.parser.start,n,oC(ze.scanner.start,n))}function Ac(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 kc(t),o=hC(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 pC(n){return new Et({key:new Kt("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=Rb(t.doc,[...e]);if(jb(l).forEach(({newRange:c})=>{const u=Bb(r.doc,c,m=>m.isTextblock);let d,h;if(u.length>1?(d=u[0],h=r.doc.textBetween(d.pos,d.pos+d.node.nodeSize,void 0," ")):u.length&&r.doc.textBetween(c.from,c.to," "," ").endsWith(" ")&&(d=u[0],h=r.doc.textBetween(d.pos,c.to,void 0," ")),d&&h){const m=h.split(" ").filter(v=>v!=="");if(m.length<=0)return!1;const p=m[m.length-1],g=d.pos+h.lastIndexOf(p);if(!p)return!1;Ac(p).filter(v=>v.isLink).map(v=>({...v,from:g+v.start+1,to:g+v.end+1})).filter(v=>r.schema.marks.code?!r.doc.rangeHasMark(v.from,v.to,r.schema.marks.code):!0).filter(v=>n.validate?n.validate(v.value):!0).forEach(v=>{ac(v.from,v.to,r.doc).some(C=>C.mark.type===n.type)||s.addMark(v.from,v.to,n.type.create({href:v.href}))})}}),!!s.steps.length)return s}})}function mC(n){return new Et({key:new Kt("handleClickLink"),props:{handleClick:(e,t,r)=>{var o,i;if(r.button!==0||r.target.nodeName!=="A")return!1;const l=dp(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 gC(n){return new Et({key:new Kt("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(p=>{a+=p.textContent});const c=Ac(a).find(p=>p.isLink&&p.value===a);if(!a||!c)return!1;const u=(o=t.clipboardData)===null||o===void 0?void 0:o.getData("text/html"),d=/href="([^"]*)"/,h=u==null?void 0:u.match(d),m=h?h[1]:c.href;return n.editor.commands.setMark(n.type,{href:m}),!0}}})}const vC=an.create({name:"link",priority:1e3,keepOnSplit:!1,onCreate(){this.options.protocols.forEach(n=>{if(typeof n=="string"){Rd(n);return}Rd(n.scheme,n.optionalSlashes)})},onDestroy(){dC()},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",mt(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[Io({find:n=>Ac(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(pC({type:this.type,validate:this.options.validate})),this.options.openOnClick&&n.push(mC({type:this.type})),this.options.linkOnPaste&&n.push(gC({editor:this.editor,type:this.type})),n}}),yC=vC.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})}}}}),bC=Bt.create({name:"placeholder",addOptions(){return{emptyEditorClass:"is-editor-empty",emptyNodeClass:"is-empty",placeholder:"Write something …",showOnlyWhenEditable:!0,showOnlyCurrent:!0,includeChildren:!1}},addProseMirrorPlugins(){return[new Et({key:new Kt("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 d=[this.options.emptyNodeClass];s&&d.push(this.options.emptyEditorClass);const h=Rt.node(a,a+l.nodeSize,{class:d.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}),Ge.create(n,o)}}})]}}),EC=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))$/,CC=/(?:^|\s)((?:\*\*)((?:[^*]+))(?:\*\*))/g,SC=/(?:^|\s)((?:__)((?:[^__]+))(?:__))$/,wC=/(?:^|\s)((?:__)((?:[^__]+))(?:__))/g,xC=an.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",mt(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[$i({find:EC,type:this.type}),$i({find:SC,type:this.type})]},addPasteRules(){return[Io({find:CC,type:this.type}),Io({find:wC,type:this.type})]}}),TC=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))$/,kC=/(?:^|\s)((?:\*)((?:[^*]+))(?:\*))/g,AC=/(?:^|\s)((?:_)((?:[^_]+))(?:_))$/,OC=/(?:^|\s)((?:_)((?:[^_]+))(?:_))/g,MC=an.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",mt(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[$i({find:TC,type:this.type}),$i({find:AC,type:this.type})]},addPasteRules(){return[Io({find:kC,type:this.type}),Io({find:OC,type:this.type})]}}),NC=an.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",mt(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()}}}),IC=bn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",mt(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)}}}),DC=bn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",mt(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)}}}),Pd=an.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Fs(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Bd=/^\s*([-+*])\s$/,_C=bn.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",mt(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(DC.name,this.editor.getAttributes(Pd.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-8":()=>this.editor.commands.toggleBulletList()}},addInputRules(){let n=Fi({find:Bd,type:this.type});return(this.options.keepMarks||this.options.keepAttributes)&&(n=Fi({find:Bd,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:()=>this.editor.getAttributes(Pd.name),editor:this.editor})),[n]}}),LC=bn.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:n}){return["li",mt(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)}}}),$d=an.create({name:"textStyle",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"span",getAttrs:n=>n.hasAttribute("style")?{}:!1}]},renderHTML({HTMLAttributes:n}){return["span",mt(this.options.HTMLAttributes,n),0]},addCommands(){return{removeEmptyTextStyle:()=>({state:n,commands:e})=>{const t=Fs(n,this.type);return Object.entries(t).some(([,o])=>!!o)?!0:e.unsetMark(this.name)}}}}),Fd=/^(\d+)\.\s$/,RC=bn.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",mt(this.options.HTMLAttributes,t),0]:["ol",mt(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(LC.name,this.editor.getAttributes($d.name)).run():n.toggleList(this.name,this.options.itemTypeName,this.options.keepMarks)}},addKeyboardShortcuts(){return{"Mod-Shift-7":()=>this.editor.commands.toggleOrderedList()}},addInputRules(){let n=Fi({find:Fd,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=Fi({find:Fd,type:this.type,keepMarks:this.options.keepMarks,keepAttributes:this.options.keepAttributes,getAttributes:e=>({start:+e[1],...this.editor.getAttributes($d.name)}),joinPredicate:(e,t)=>t.childCount+t.attrs.start===+e[1],editor:this.editor})),[n]}}),PC=bn.create({name:"hardBreak",addOptions(){return{keepMarks:!0,HTMLAttributes:{}}},inline:!0,group:"inline",selectable:!1,parseHTML(){return[{tag:"br"}]},renderHTML({HTMLAttributes:n}){return["br",mt(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 d=a.filter(h=>l.includes(h.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Na={BASIC:"basic",FULL:"full"},BC={class:"attachment-list"},$C={class:"attachment-link"},FC={key:1,class:"attachment-no-download"},VC=["href"],Ws=f.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)=>(f.openBlock(),f.createElementBlock("ul",BC,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(r.files,i=>(f.openBlock(),f.createElementBlock("li",{class:"attachment-list__item",key:i.CorrelationId},[f.createElementVNode("div",$C,[r.showDelete?(f.openBlock(),f.createBlock(lt,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:f.withCtx(()=>[f.createVNode(f.unref($o))]),_:2},1032,["onClick"])):f.createCommentVNode("",!0),r.noDownload?(f.openBlock(),f.createElementBlock("div",FC,[f.createVNode(f.unref(cr)),f.createTextVNode(" "+f.toDisplayString(i.Naam.trim()),1)])):(f.openBlock(),f.createElementBlock("a",{key:2,href:i.downloadUrl},[f.createVNode(f.unref(cr)),f.createTextVNode(" "+f.toDisplayString(i.Naam.trim()),1)],8,VC))])]))),128))]))}}),zC={class:"attachment-list"},HC={class:"attachment"},UC=["onClick"],jC=["src","alt"],WC=["onClick"],KC=["href"],GC={class:"btn btn-light download-button-image"},YC=["src","alt"],Ks=f.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)=>(f.openBlock(),f.createElementBlock("ul",zC,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(i.files,l=>(f.openBlock(),f.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[f.createElementVNode("div",HC,[i.showDelete?(f.openBlock(),f.createBlock(lt,{key:0,variant:"remove",onClick:a=>r(l),"aria-label":"verwijder"},{default:f.withCtx(()=>[f.createVNode(f.unref($o))]),_:2},1032,["onClick"])):f.createCommentVNode("",!0),t.noDownload?(f.openBlock(),f.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[f.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,jC)],8,UC)):(f.openBlock(),f.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(f.openBlock(),f.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[f.createElementVNode("button",GC,[f.createVNode(f.unref(Ei))])],8,KC)):f.createCommentVNode("",!0),f.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,YC)],8,WC))])]))),128))]))}}),Vd=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),JC=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,ZC=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,XC=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,QC=(n,e)=>e?Vd(n):!Vd(n),bs=(n,e)=>n===void 0?void 0:n.filter(o=>QC(o,e)).map(o=>{const i=typeof o.CorrelationId=="string"?o.CorrelationId:o.CorrelationId!==void 0?o.CorrelationId.toString():"";return{downloadUrl:JC(o),previewUrl:ZC(o),fullImageUrl:XC(o),altName:`${o.Naam}`,...o,CorrelationId:i}}),qC={class:"bd-markdown-editor__menu-bottom"},eS={key:0,class:"vr"},tS={key:4,class:"vr"},nS={key:7,class:"vr"},tm=f.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:Boolean,default:void 0},variant:{default:Na.BASIC},files:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=gr(t,"modelValue",e),i=[K3,G3,Y3,bC.configure({placeholder:t.placeholder}),PC];t.variant===Na.FULL&&i.push(xC,MC,NC,IC,_C,RC,yC.configure({openOnClick:!1,validate:C=>/^https?:\/\//.test(C)}));const s=W3({content:o.value,extensions:i,onUpdate:({editor:C})=>{const{view:S,state:x}=C,{from:b,to:D}=S.state.selection;if(x.doc.textBetween(b-1,D,"")==" "&&C.getAttributes("link").href!=null&&C.chain().setTextSelection({from:b-1,to:D}).toggleLink({href:C.getAttributes("link").href}).setTextSelection({from:D,to:D}).run(),C.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",C.getHTML())}});f.watch(()=>t.modelValue,C=>{s.value.getHTML()!==C&&s.value.commands.setContent(C,!0,{preserveWhitespace:"full"})});const l=f.computed(()=>t.state?"is-invalid":null),a=f.computed(()=>h("bold")),c=f.computed(()=>h("italic")),u=f.computed(()=>h("underline"));f.computed(()=>h("bulletList")),f.computed(()=>h("orderedList"));const d=f.computed(()=>t.variant===Na.FULL),h=C=>s.value&&s.value.isActive(C)?"active":null,m=f.computed(()=>t.files&&t.files.length>0?bs(t.files,!1):null),p=f.computed(()=>t.files&&t.files.length>0?bs(t.files,!0):null),g=C=>{e("action",{name:"delete-attachment",obj:C})},v=C=>{e("action",{name:"image-attachment",obj:C})};return(C,S)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("div",{class:f.normalizeClass(["bd-markdown-editor",l.value])},[f.createVNode(f.unref(j3),{editor:f.unref(s)},null,8,["editor"]),f.renderSlot(C.$slots,"default"),m.value?(f.openBlock(),f.createBlock(Ws,{key:0,files:m.value,"no-download":!0,"show-delete":!0,onDelete:g},null,8,["files"])):f.createCommentVNode("",!0),p.value?(f.openBlock(),f.createBlock(Ks,{key:1,files:p.value,"no-download":!0,"show-delete":!0,onDelete:g,onShow:v},null,8,["files"])):f.createCommentVNode("",!0),f.createElementVNode("div",qC,[f.createVNode(lt,{variant:"light",type:"button",onClick:r},{default:f.withCtx(()=>[f.createVNode(f.unref(cr))]),_:1}),d.value?(f.openBlock(),f.createElementBlock("div",eS)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:1,variant:"light",type:"button",class:f.normalizeClass(a.value),onClick:S[0]||(S[0]=x=>f.unref(s).chain().focus().toggleBold().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Nl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:2,variant:"light",type:"button",class:f.normalizeClass(c.value),onClick:S[1]||(S[1]=x=>f.unref(s).chain().focus().toggleItalic().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Bl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:3,variant:"light",type:"button",class:f.normalizeClass(u.value),onClick:S[2]||(S[2]=x=>f.unref(s).chain().focus().toggleUnderline().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Fl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createElementBlock("div",tS)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:5,variant:"light",type:"button",class:"IsUnderlineActive",onClick:S[3]||(S[3]=x=>f.unref(s).chain().focus().toggleUnderline().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Il))]),_:1})):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:6,variant:"light",type:"button",class:"IsBulletListActive",onClick:S[4]||(S[4]=x=>f.unref(s).chain().focus().toggleBulletList().run())},{default:f.withCtx(()=>[f.createVNode(f.unref($l))]),_:1})):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createElementBlock("div",nS)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:8,variant:"light",type:"button",class:"IsOrderedListActive",onClick:S[5]||(S[5]=x=>f.unref(s).chain().focus().toggleOrderedList().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Pl))]),_:1})):f.createCommentVNode("",!0)])],2),f.createVNode(f.unref(As),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),rS={class:"header"},oS=f.createElementVNode("div",null,"Menu",-1),iS={class:"icon-close-wrapper"},sS={class:"navbar"},aS={class:"nav navbar-nav w-100"},lS={class:"nav-item"},cS={class:"nav-item"},Oc=f.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=f.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),i=()=>e("signout");return(s,l)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["bd-mobile-menu",r.value])},[f.createElementVNode("div",rS,[oS,f.createElementVNode("div",iS,[f.createVNode(ws,{onClick:o})])]),f.createElementVNode("nav",sS,[f.createElementVNode("ul",aS,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.options,a=>(f.openBlock(),f.createElementBlock("li",lS,[f.createVNode(zr,f.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),f.createElementVNode("li",cS,[f.createVNode(zr,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),uS={class:"bd-user"},dS={class:"bd-user__information"},fS={class:"text-break"},hS={class:"overflow-x-hidden"},nm=f.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=f.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(f.openBlock(),f.createElementBlock("div",uS,[e.hideImage?f.createCommentVNode("",!0):(f.openBlock(),f.createBlock(Fo,f.mergeProps({key:0},e.img,{size:"sm"}),null,16)),f.createElementVNode("div",dS,[f.createElementVNode("header",null,[f.createElementVNode("h5",fS,f.toDisplayString(e.name),1),f.renderSlot(r.$slots,"header-extra")]),f.createElementVNode("span",hS,f.toDisplayString(t.value),1)])]))}}),pS="",mS={class:"bd-chat-cloud-card"},gS={class:"bd-chat-cloud-card__header"},vS={class:"bd-chat-cloud-card__body"},yS=["innerHTML"],bS={class:"bd-chat-cloud-card__footer"},rm=f.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=f.computed(()=>t.isSender?"sender":pS),o=f.computed(()=>bs(t.files,!1)),i=f.computed(()=>bs(t.files,!0)),s=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,c)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["bd-chat-cloud",r.value])},[f.createVNode(Fo,{src:t.src,size:"sm"},null,8,["src"]),f.createElementVNode("div",mS,[f.createElementVNode("div",gS,[f.renderSlot(a.$slots,"header",{},()=>[f.createTextVNode(f.toDisplayString(a.headerTitle),1)]),f.createVNode(lt,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:f.withCtx(()=>[f.createTextVNode("kopieer")]),_:1})]),f.createElementVNode("div",vS,[f.renderSlot(a.$slots,"body",{},()=>[f.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,yS)])]),f.createElementVNode("div",bS,[f.renderSlot(a.$slots,"footer",{},()=>[o.value?(f.openBlock(),f.createBlock(Ws,{key:0,files:o.value},null,8,["files"])):f.createCommentVNode("",!0),i.value?(f.openBlock(),f.createBlock(Ks,{key:1,files:i.value,onShow:l,"fast-download":!0},null,8,["files"])):f.createCommentVNode("",!0)])])])],2))}}),ES={class:"bd-dropdown dropdown"},Mc=f.defineComponent({__name:"BDDropdown",props:{size:{default:at.MD},variant:{default:ks.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}=Vo(),r=`__BD__DROPDOWN__${t.value}`,o=f.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=f.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),s=f.computed(()=>({"aria-labelledby":r}));return(l,a)=>(f.openBlock(),f.createElementBlock("div",ES,[(f.openBlock(),f.createBlock(f.resolveDynamicComponent(e.toggleTag),f.mergeProps({class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:f.withCtx(()=>[f.createElementVNode("span",null,f.toDisplayString(e.text),1)]),_:1},16)),f.createElementVNode("ul",f.mergeProps({class:["dropdown-menu",i.value]},s.value),[f.renderSlot(l.$slots,"default")],16)]))}}),CS={class:"navbar navbar-expand-lg header-navbar"},SS=f.createElementVNode("div",null,"Menu",-1),wS={key:0,class:"header-options"},xS={class:"bd-btn-settings d-flex gap-2 align-items-center"},TS="sm",om=f.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},src:{},profileImageAlt:{},profileImageSize:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=f.ref(void 0),o=()=>e("click"),i=()=>{e("signout")},s=()=>r.value=!0,l=()=>r.value=!1,a=f.computed(()=>{if(!t.dropdownOptions)return[];let c=t.dropdownOptions.slice(0);return c.unshift({to:{name:"Overview"},text:"Gesprekken"}),c});return(c,u)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("nav",CS,[f.createVNode(Vl,{viewBox:"0 0 351 61",class:"d-inline-block b-d-logo",onClick:o}),f.createElementVNode("div",{class:"bd-hamburger",onClick:s},[SS,f.createVNode(Ci)]),t.headerOptions&&t.headerOptions.length!==0?(f.openBlock(),f.createElementBlock("div",wS,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.headerOptions,d=>(f.openBlock(),f.createBlock(lt,{class:"btn-header",to:d.to},{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(d.text),1)]),_:2},1032,["to"]))),256))])):f.createCommentVNode("",!0),f.createElementVNode("div",xS,[t.src?(f.openBlock(),f.createBlock(Fo,{key:0,src:t.src,alt:t.profileImageAlt,size:TS},null,8,["src","alt"])):f.createCommentVNode("",!0),f.createVNode(Mc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:f.withCtx(()=>[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.dropdownOptions,(d,h)=>(f.openBlock(),f.createBlock(wi,f.mergeProps({key:h},d),null,16))),128)),f.createVNode(wi,{text:"Uitloggen",onClick:i})]),_:1},8,["text"])])]),f.createVNode(Oc,{active:r.value,options:a.value,onHide:l,onSignout:i},null,8,["active","options"])],64))}}),kS={class:"modal bd-modal modal-lg",tabindex:"-1"},AS={class:"modal-dialog"},OS={class:"modal-content"},MS={class:"modal-header"},NS={class:"modal-title"},IS={class:"modal-body"},DS={key:0,class:"modal-footer"},_S=["disabled"],im=f.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)=>(f.openBlock(),f.createElementBlock("div",kS,[f.createElementVNode("div",AS,[f.createElementVNode("div",OS,[f.createElementVNode("div",MS,[f.createElementVNode("h2",NS,f.toDisplayString(t.title),1),f.renderSlot(i.$slots,"modal-header-space-between"),f.createElementVNode("button",{type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:o},[f.createTextVNode("Sluiten "),f.createVNode(f.unref(ws),{class:"bg-primary"})])]),f.createElementVNode("div",IS,[f.renderSlot(i.$slots,"default")]),i.hideFooter?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("div",DS,[t.hideFooterSubmitButton?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},f.toDisplayString(t.submitButtonTitle),9,_S)),t.hideFooterCancelButton?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:o,"aria-label":"Annuleren"},f.toDisplayString(t.closeButtonTitle),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 d=a.filter(h=>l.includes(h.type.name));c.ensureMarks(d)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),Na={BASIC:"basic",FULL:"full"},BC={class:"attachment-list"},$C={class:"attachment-link"},FC={key:1,class:"attachment-no-download"},VC=["href"],Ws=f.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)=>(f.openBlock(),f.createElementBlock("ul",BC,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(r.files,i=>(f.openBlock(),f.createElementBlock("li",{class:"attachment-list__item",key:i.CorrelationId},[f.createElementVNode("div",$C,[r.showDelete?(f.openBlock(),f.createBlock(lt,{key:0,variant:"remove",onClick:s=>t(i),"aria-label":"verwijder"},{default:f.withCtx(()=>[f.createVNode(f.unref($o))]),_:2},1032,["onClick"])):f.createCommentVNode("",!0),r.noDownload?(f.openBlock(),f.createElementBlock("div",FC,[f.createVNode(f.unref(cr)),f.createTextVNode(" "+f.toDisplayString(i.Naam.trim()),1)])):(f.openBlock(),f.createElementBlock("a",{key:2,href:i.downloadUrl},[f.createVNode(f.unref(cr)),f.createTextVNode(" "+f.toDisplayString(i.Naam.trim()),1)],8,VC))])]))),128))]))}}),zC={class:"attachment-list"},HC={class:"attachment"},UC=["onClick"],jC=["src","alt"],WC=["onClick"],KC=["href"],GC={class:"btn btn-light download-button-image"},YC=["src","alt"],Ks=f.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)=>(f.openBlock(),f.createElementBlock("ul",zC,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(i.files,l=>(f.openBlock(),f.createElementBlock("li",{class:"attachment-list__item",key:l.CorrelationId},[f.createElementVNode("div",HC,[i.showDelete?(f.openBlock(),f.createBlock(lt,{key:0,variant:"remove",onClick:a=>r(l),"aria-label":"verwijder"},{default:f.withCtx(()=>[f.createVNode(f.unref($o))]),_:2},1032,["onClick"])):f.createCommentVNode("",!0),t.noDownload?(f.openBlock(),f.createElementBlock("div",{key:1,onClick:a=>o(a,l)},[f.createElementVNode("img",{src:l.previewUrl,class:"img-preview",alt:l.altName,loading:"lazy"},null,8,jC)],8,UC)):(f.openBlock(),f.createElementBlock("div",{key:2,onClick:a=>o(a,l)},[t.fastDownload?(f.openBlock(),f.createElementBlock("a",{key:0,href:l.downloadUrl,class:"download-link"},[f.createElementVNode("button",GC,[f.createVNode(f.unref(Ei))])],8,KC)):f.createCommentVNode("",!0),f.createElementVNode("img",{src:l.previewUrl,alt:l.altName,class:"img-preview",loading:"lazy"},null,8,YC)],8,WC))])]))),128))]))}}),Vd=n=>n.Naam.toLowerCase().endsWith(".png")||n.Naam.toLowerCase().endsWith(".jpg")||n.Naam.toLowerCase().endsWith(".jpeg")||n.Naam.toLowerCase().endsWith(".gif"),JC=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,ZC=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,XC=n=>n.identifier?`/Collega/api/Conversation/GetConversationAttachment?conversationId=${n.conversationId}&fileMetadataId=${n.identifier}`:null,QC=(n,e)=>e?Vd(n):!Vd(n),bs=(n,e)=>n===void 0?void 0:n.filter(o=>QC(o,e)).map(o=>{const i=typeof o.CorrelationId=="string"?o.CorrelationId:o.CorrelationId!==void 0?o.CorrelationId.toString():"";return{downloadUrl:JC(o),previewUrl:ZC(o),fullImageUrl:XC(o),altName:`${o.Naam}`,...o,CorrelationId:i}}),qC={class:"bd-markdown-editor__menu-bottom"},eS={key:0,class:"vr"},tS={key:4,class:"vr"},nS={key:7,class:"vr"},tm=f.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:Boolean,default:void 0},variant:{default:Na.BASIC},files:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=gr(t,"modelValue",e),i=[K3,G3,Y3,bC.configure({placeholder:t.placeholder}),PC];t.variant===Na.FULL&&i.push(xC,MC,NC,IC,_C,RC,yC.configure({openOnClick:!1,validate:C=>/^https?:\/\//.test(C)}));const s=W3({content:o.value,extensions:i,onUpdate:({editor:C})=>{const{view:S,state:x}=C,{from:b,to:D}=S.state.selection;if(x.doc.textBetween(b-1,D,"")==" "&&C.getAttributes("link").href!=null&&C.chain().setTextSelection({from:b-1,to:D}).toggleLink({href:C.getAttributes("link").href}).setTextSelection({from:D,to:D}).run(),C.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",C.getHTML())}});f.watch(()=>t.modelValue,C=>{s.value.getHTML()!==C&&s.value.commands.setContent(C,!0,{preserveWhitespace:"full"})});const l=f.computed(()=>t.state?"is-invalid":null),a=f.computed(()=>h("bold")),c=f.computed(()=>h("italic")),u=f.computed(()=>h("underline"));f.computed(()=>h("bulletList")),f.computed(()=>h("orderedList"));const d=f.computed(()=>t.variant===Na.FULL),h=C=>s.value&&s.value.isActive(C)?"active":null,m=f.computed(()=>t.files&&t.files.length>0?bs(t.files,!1):null),p=f.computed(()=>t.files&&t.files.length>0?bs(t.files,!0):null),g=C=>{e("action",{name:"delete-attachment",obj:C})},v=C=>{e("action",{name:"image-attachment",obj:C})};return(C,S)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("div",{class:f.normalizeClass(["bd-markdown-editor",l.value])},[f.createVNode(f.unref(j3),{editor:f.unref(s)},null,8,["editor"]),f.renderSlot(C.$slots,"default"),m.value?(f.openBlock(),f.createBlock(Ws,{key:0,files:m.value,"no-download":!0,"show-delete":!0,onDelete:g},null,8,["files"])):f.createCommentVNode("",!0),p.value?(f.openBlock(),f.createBlock(Ks,{key:1,files:p.value,"no-download":!0,"show-delete":!0,onDelete:g,onShow:v},null,8,["files"])):f.createCommentVNode("",!0),f.createElementVNode("div",qC,[f.createVNode(lt,{variant:"light",type:"button",onClick:r},{default:f.withCtx(()=>[f.createVNode(f.unref(cr))]),_:1}),d.value?(f.openBlock(),f.createElementBlock("div",eS)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:1,variant:"light",type:"button",class:f.normalizeClass(a.value),onClick:S[0]||(S[0]=x=>f.unref(s).chain().focus().toggleBold().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Nl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:2,variant:"light",type:"button",class:f.normalizeClass(c.value),onClick:S[1]||(S[1]=x=>f.unref(s).chain().focus().toggleItalic().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Bl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:3,variant:"light",type:"button",class:f.normalizeClass(u.value),onClick:S[2]||(S[2]=x=>f.unref(s).chain().focus().toggleUnderline().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Fl))]),_:1},8,["class"])):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createElementBlock("div",tS)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:5,variant:"light",type:"button",class:"IsUnderlineActive",onClick:S[3]||(S[3]=x=>f.unref(s).chain().focus().toggleUnderline().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Il))]),_:1})):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:6,variant:"light",type:"button",class:"IsBulletListActive",onClick:S[4]||(S[4]=x=>f.unref(s).chain().focus().toggleBulletList().run())},{default:f.withCtx(()=>[f.createVNode(f.unref($l))]),_:1})):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createElementBlock("div",nS)):f.createCommentVNode("",!0),d.value?(f.openBlock(),f.createBlock(lt,{key:8,variant:"light",type:"button",class:"IsOrderedListActive",onClick:S[5]||(S[5]=x=>f.unref(s).chain().focus().toggleOrderedList().run())},{default:f.withCtx(()=>[f.createVNode(f.unref(Pl))]),_:1})):f.createCommentVNode("",!0)])],2),f.createVNode(f.unref(As),{text:t.errorText,state:t.state},null,8,["text","state"])],64))}}),rS={class:"header"},oS=f.createElementVNode("div",null,"Menu",-1),iS={class:"icon-close-wrapper"},sS={class:"navbar"},aS={class:"nav navbar-nav w-100"},lS={class:"nav-item"},cS={class:"nav-item"},Oc=f.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=f.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),i=()=>e("signout");return(s,l)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["bd-mobile-menu",r.value])},[f.createElementVNode("div",rS,[oS,f.createElementVNode("div",iS,[f.createVNode(ws,{onClick:o})])]),f.createElementVNode("nav",sS,[f.createElementVNode("ul",aS,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.options,a=>(f.openBlock(),f.createElementBlock("li",lS,[f.createVNode(zr,f.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),f.createElementVNode("li",cS,[f.createVNode(zr,{class:"nav-link",text:"Uitloggen",onClick:i})])])])],2))}}),uS={class:"bd-user"},dS={class:"bd-user__information"},fS={class:"text-break"},hS={class:"overflow-x-hidden"},nm=f.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=f.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(f.openBlock(),f.createElementBlock("div",uS,[e.hideImage?f.createCommentVNode("",!0):(f.openBlock(),f.createBlock(Fo,f.mergeProps({key:0},e.img,{size:"sm"}),null,16)),f.createElementVNode("div",dS,[f.createElementVNode("header",null,[f.createElementVNode("h5",fS,f.toDisplayString(e.name),1),f.renderSlot(r.$slots,"header-extra")]),f.createElementVNode("span",hS,f.toDisplayString(t.value),1)])]))}}),pS="",mS={class:"bd-chat-cloud-card"},gS={class:"bd-chat-cloud-card__header"},vS={class:"bd-chat-cloud-card__body"},yS=["innerHTML"],bS={class:"bd-chat-cloud-card__footer"},rm=f.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=f.computed(()=>t.isSender?"sender":pS),o=f.computed(()=>bs(t.files,!1)),i=f.computed(()=>bs(t.files,!0)),s=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,c)=>(f.openBlock(),f.createElementBlock("div",{class:f.normalizeClass(["bd-chat-cloud",r.value])},[f.createVNode(Fo,{src:t.src,size:"sm"},null,8,["src"]),f.createElementVNode("div",mS,[f.createElementVNode("div",gS,[f.renderSlot(a.$slots,"header",{},()=>[f.createTextVNode(f.toDisplayString(a.headerTitle),1)]),f.createVNode(lt,{variant:"outline-primary-dark",size:"sm",onClick:s},{default:f.withCtx(()=>[f.createTextVNode("kopieer")]),_:1})]),f.createElementVNode("div",vS,[f.renderSlot(a.$slots,"body",{},()=>[f.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,yS)])]),f.createElementVNode("div",bS,[f.renderSlot(a.$slots,"footer",{},()=>[o.value?(f.openBlock(),f.createBlock(Ws,{key:0,files:o.value},null,8,["files"])):f.createCommentVNode("",!0),i.value?(f.openBlock(),f.createBlock(Ks,{key:1,files:i.value,onShow:l,"fast-download":!0},null,8,["files"])):f.createCommentVNode("",!0)])])])],2))}}),Mc=f.defineComponent({__name:"BDDropdown",props:{size:{default:at.MD},variant:{default:ks.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}=Vo(),r=`__BD__DROPDOWN__${t.value}`,o=f.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=f.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),s=f.computed(()=>({"aria-labelledby":r})),l=f.ref(),a=f.ref(),c=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(u,d)=>(f.openBlock(),f.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:d[0]||(d[0]=f.withModifiers(()=>{},["stop"]))},[(f.openBlock(),f.createBlock(f.resolveDynamicComponent(e.toggleTag),f.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:f.withCtx(()=>[f.createElementVNode("span",null,f.toDisplayString(e.text),1)]),_:1},16)),f.createElementVNode("ul",f.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",i.value]},s.value,{onClick:c}),[f.renderSlot(u.$slots,"default")],16)]))}}),ES={class:"navbar navbar-expand-lg header-navbar"},CS=f.createElementVNode("div",null,"Menu",-1),SS={key:0,class:"header-options"},wS={class:"bd-btn-settings d-flex gap-2 align-items-center"},xS="sm",om=f.defineComponent({__name:"BDHeader",props:{dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},src:{},profileImageAlt:{},profileImageSize:{}},emits:["click","signout"],setup(n,{emit:e}){const t=n,r=f.ref(void 0),o=()=>e("click"),i=()=>{e("signout")},s=()=>r.value=!0,l=()=>r.value=!1,a=f.computed(()=>{if(!t.dropdownOptions)return[];let c=t.dropdownOptions.slice(0);return c.unshift({to:{name:"Overview"},text:"Gesprekken"}),c});return(c,u)=>(f.openBlock(),f.createElementBlock(f.Fragment,null,[f.createElementVNode("nav",ES,[f.createVNode(Vl,{viewBox:"0 0 351 61",class:"d-inline-block b-d-logo",onClick:o}),f.createElementVNode("div",{class:"bd-hamburger",onClick:s},[CS,f.createVNode(Ci)]),t.headerOptions&&t.headerOptions.length!==0?(f.openBlock(),f.createElementBlock("div",SS,[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.headerOptions,d=>(f.openBlock(),f.createBlock(lt,{class:"btn-header",to:d.to},{default:f.withCtx(()=>[f.createTextVNode(f.toDisplayString(d.text),1)]),_:2},1032,["to"]))),256))])):f.createCommentVNode("",!0),f.createElementVNode("div",wS,[t.src?(f.openBlock(),f.createBlock(Fo,{key:0,src:t.src,alt:t.profileImageAlt,size:xS},null,8,["src","alt"])):f.createCommentVNode("",!0),f.createVNode(Mc,{text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:f.withCtx(()=>[(f.openBlock(!0),f.createElementBlock(f.Fragment,null,f.renderList(t.dropdownOptions,(d,h)=>(f.openBlock(),f.createBlock(wi,f.mergeProps({key:h},d),null,16))),128)),f.createVNode(wi,{text:"Uitloggen",onClick:i})]),_:1},8,["text"])])]),f.createVNode(Oc,{active:r.value,options:a.value,onHide:l,onSignout:i},null,8,["active","options"])],64))}}),TS={class:"modal bd-modal modal-lg",tabindex:"-1"},kS={class:"modal-dialog"},AS={class:"modal-content"},OS={class:"modal-header"},MS={class:"modal-title"},NS={class:"modal-body"},IS={key:0,class:"modal-footer"},DS=["disabled"],im=f.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)=>(f.openBlock(),f.createElementBlock("div",TS,[f.createElementVNode("div",kS,[f.createElementVNode("div",AS,[f.createElementVNode("div",OS,[f.createElementVNode("h2",MS,f.toDisplayString(t.title),1),f.renderSlot(i.$slots,"modal-header-space-between"),f.createElementVNode("button",{type:"button",class:"btn-close w-auto","data-bs-dismiss":"modal","aria-label":"Sluiten",onClick:o},[f.createTextVNode("Sluiten "),f.createVNode(f.unref(ws),{class:"bg-primary"})])]),f.createElementVNode("div",NS,[f.renderSlot(i.$slots,"default")]),i.hideFooter?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("div",IS,[t.hideFooterSubmitButton?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("button",{key:0,type:"button",class:"btn btn-primary",disabled:t.disableSubmitButton,onClick:r},f.toDisplayString(t.submitButtonTitle),9,DS)),t.hideFooterCancelButton?f.createCommentVNode("",!0):(f.openBlock(),f.createElementBlock("button",{key:1,type:"button",class:"btn btn-link","data-bs-dismiss":"modal",onClick:o,"aria-label":"Annuleren"},f.toDisplayString(t.closeButtonTitle),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 Tn=new Map,Ia={set(n,e,t){Tn.has(n)||Tn.set(n,new Map);const r=Tn.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 Tn.has(n)&&Tn.get(n).get(e)||null},remove(n,e){if(!Tn.has(n))return;const t=Tn.get(n);t.delete(e),t.size===0&&Tn.delete(n)}},LS=1e6,RS=1e3,kl="transitionend",sm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),PS=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),BS=n=>{do n+=Math.floor(Math.random()*LS);while(document.getElementById(n));return n},$S=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))*RS)},am=n=>{n.dispatchEvent(new Event(kl))},vn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),$n=n=>vn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(sm(n)):null,ro=n=>{if(!vn(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},Fn=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",lm=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?lm(n.parentNode):null},Es=()=>{},Wo=n=>{n.offsetHeight},cm=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Da=[],FS=n=>{document.readyState==="loading"?(Da.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Da)e()}),Da.push(n)):n()},$t=()=>document.documentElement.dir==="rtl",Vt=n=>{FS(()=>{const e=cm();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)}})},yt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,um=(n,e,t=!0)=>{if(!t){yt(n);return}const r=5,o=$S(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(kl,s),yt(n))};e.addEventListener(kl,s),setTimeout(()=>{i||am(e)},o)},Nc=(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))])},VS=/[^.]*(?=\..*)\.|.*/,zS=/\..*/,HS=/::\d+$/,_a={};let zd=1;const dm={mouseenter:"mouseover",mouseleave:"mouseout"},US=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 fm(n,e){return e&&`${e}::${zd++}`||n.uidEvent||zd++}function hm(n){const e=fm(n);return n.uidEvent=e,_a[e]=_a[e]||{},_a[e]}function jS(n,e){return function t(r){return Ic(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function WS(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 Ic(o,{delegateTarget:s}),r.oneOff&&ne.off(n,o.type,e,t),t.apply(s,[o])}}function pm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function mm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=gm(n);return US.has(i)||(i=n),[r,o,i]}function Hd(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=mm(e,t,r);e in dm&&(s=(p=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return p.call(this,g)})(s));const a=hm(n),c=a[l]||(a[l]={}),u=pm(c,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const d=fm(s,e.replace(VS,"")),h=i?WS(n,t,s):jS(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=d,c[d]=h,n.addEventListener(l,h,i)}function Al(n,e,t,r,o){const i=pm(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function KS(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&Al(n,e,t,s.callable,s.delegationSelector)}function gm(n){return n=n.replace(zS,""),dm[n]||n}const ne={on(n,e,t,r){Hd(n,e,t,r,!1)},one(n,e,t,r){Hd(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=mm(e,t,r),l=s!==e,a=hm(n),c=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;Al(n,a,s,i,o?t:null);return}if(u)for(const d of Object.keys(a))KS(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const m=d.replace(HS,"");(!l||e.includes(m))&&Al(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=cm(),o=gm(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=Ic(new Event(e,{bubbles:l,cancelable:!0}),t);return c&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function Ic(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 Ud(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 La(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const yn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${La(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${La(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]=Ud(n.dataset[r])}return e},getDataAttribute(n,e){return Ud(n.getAttribute(`data-bs-${La(e)}`))}};class Ko{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=vn(t)?yn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...vn(t)?yn.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=vn(i)?"element":PS(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const GS="5.3.0";class Gt extends Ko{constructor(e,t){super(),e=$n(e),e&&(this._element=e,this._config=this._getConfig(t),Ia.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ia.remove(this._element,this.constructor.DATA_KEY),ne.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){um(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ia.get($n(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return GS}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 Ra=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 sm(e)},ye={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=>!Fn(t)&&ro(t))},getSelectorFromElement(n){const e=Ra(n);return e&&ye.findOne(e)?e:null},getElementFromSelector(n){const e=Ra(n);return e?ye.findOne(e):null},getMultipleElementsFromSelector(n){const e=Ra(n);return e?ye.find(e):[]}},Gs=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ne.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Fn(this))return;const i=ye.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},YS="alert",JS="bs.alert",vm=`.${JS}`,ZS=`close${vm}`,XS=`closed${vm}`,QS="fade",qS="show";class Ys extends Gt{static get NAME(){return YS}close(){if(ne.trigger(this._element,ZS).defaultPrevented)return;this._element.classList.remove(qS);const t=this._element.classList.contains(QS);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,XS),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Ys.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)}})}}Gs(Ys,"close");Vt(Ys);const e7="button",t7="bs.button",n7=`.${t7}`,r7=".data-api",o7="active",jd='[data-bs-toggle="button"]',i7=`click${n7}${r7}`;class Js extends Gt{static get NAME(){return e7}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(o7))}static jQueryInterface(e){return this.each(function(){const t=Js.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,i7,jd,n=>{n.preventDefault();const e=n.target.closest(jd);Js.getOrCreateInstance(e).toggle()});Vt(Js);const s7="swipe",oo=".bs.swipe",a7=`touchstart${oo}`,l7=`touchmove${oo}`,c7=`touchend${oo}`,u7=`pointerdown${oo}`,d7=`pointerup${oo}`,f7="touch",h7="pen",p7="pointer-event",m7=40,g7={endCallback:null,leftCallback:null,rightCallback:null},v7={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Cs extends Ko{constructor(e,t){super(),this._element=e,!(!e||!Cs.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return g7}static get DefaultType(){return v7}static get NAME(){return s7}dispose(){ne.off(this._element,oo)}_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(),yt(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<=m7)return;const t=e/this._deltaX;this._deltaX=0,t&&yt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ne.on(this._element,u7,e=>this._start(e)),ne.on(this._element,d7,e=>this._end(e)),this._element.classList.add(p7)):(ne.on(this._element,a7,e=>this._start(e)),ne.on(this._element,l7,e=>this._move(e)),ne.on(this._element,c7,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===h7||e.pointerType===f7)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const y7="carousel",b7="bs.carousel",Wn=`.${b7}`,ym=".data-api",E7="ArrowLeft",C7="ArrowRight",S7=500,so="next",Tr="prev",Dr="left",yi="right",w7=`slide${Wn}`,Pa=`slid${Wn}`,x7=`keydown${Wn}`,T7=`mouseenter${Wn}`,k7=`mouseleave${Wn}`,A7=`dragstart${Wn}`,O7=`load${Wn}${ym}`,M7=`click${Wn}${ym}`,bm="carousel",ai="active",N7="slide",I7="carousel-item-end",D7="carousel-item-start",_7="carousel-item-next",L7="carousel-item-prev",Em=".active",Cm=".carousel-item",R7=Em+Cm,P7=".carousel-item img",B7=".carousel-indicators",$7="[data-bs-slide], [data-bs-slide-to]",F7='[data-bs-ride="carousel"]',V7={[E7]:yi,[C7]:Dr},z7={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},H7={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Go 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=ye.findOne(B7,this._element),this._addEventListeners(),this._config.ride===bm&&this.cycle()}static get Default(){return z7}static get DefaultType(){return H7}static get NAME(){return y7}next(){this._slide(so)}nextWhenVisible(){!document.hidden&&ro(this._element)&&this.next()}prev(){this._slide(Tr)}pause(){this._isSliding&&am(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){ne.one(this._element,Pa,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ne.one(this._element,Pa,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?so:Tr;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&&ne.on(this._element,x7,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,T7,()=>this.pause()),ne.on(this._element,k7,()=>this._maybeEnableCycle())),this._config.touch&&Cs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ye.find(P7,this._element))ne.on(r,A7,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Dr)),rightCallback:()=>this._slide(this._directionToOrder(yi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),S7+this._config.interval))}};this._swipeHelper=new Cs(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=V7[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=ye.findOne(Em,this._indicatorsElement);t.classList.remove(ai),t.removeAttribute("aria-current");const r=ye.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(ai),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===so,i=t||Nc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=m=>ne.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(w7).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?D7:I7,d=o?_7:L7;i.classList.add(d),Wo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,d),i.classList.add(ai),r.classList.remove(ai,d,u),this._isSliding=!1,l(Pa)};this._queueCallback(h,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(N7)}_getActive(){return ye.findOne(R7,this._element)}_getItems(){return ye.find(Cm,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return $t()?e===Dr?Tr:so:e===Dr?so:Tr}_orderToDirection(e){return $t()?e===Tr?Dr:yi:e===Tr?yi:Dr}static jQueryInterface(e){return this.each(function(){const t=Go.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]()}})}}ne.on(document,M7,$7,function(n){const e=ye.getElementFromSelector(this);if(!e||!e.classList.contains(bm))return;n.preventDefault();const t=Go.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(yn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});ne.on(window,O7,()=>{const n=ye.find(F7);for(const e of n)Go.getOrCreateInstance(e)});Vt(Go);const U7="collapse",j7="bs.collapse",Yo=`.${j7}`,W7=".data-api",K7=`show${Yo}`,G7=`shown${Yo}`,Y7=`hide${Yo}`,J7=`hidden${Yo}`,Z7=`click${Yo}${W7}`,Ba="show",Br="collapse",li="collapsing",X7="collapsed",Q7=`:scope .${Br} .${Br}`,q7="collapse-horizontal",e4="width",t4="height",n4=".collapse.show, .collapse.collapsing",Ol='[data-bs-toggle="collapse"]',r4={parent:null,toggle:!0},o4={parent:"(null|element)",toggle:"boolean"};class Po extends Gt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=ye.find(Ol);for(const o of r){const i=ye.getSelectorFromElement(o),s=ye.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 r4}static get DefaultType(){return o4}static get NAME(){return U7}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(n4).filter(l=>l!==this._element).map(l=>Po.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,K7).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Br),this._element.classList.add(li),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(li),this._element.classList.add(Br,Ba),this._element.style[r]="",ne.trigger(this._element,G7)},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()||ne.trigger(this._element,Y7).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Wo(this._element),this._element.classList.add(li),this._element.classList.remove(Br,Ba);for(const o of this._triggerArray){const i=ye.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(li),this._element.classList.add(Br),ne.trigger(this._element,J7)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ba)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=$n(e.parent),e}_getDimension(){return this._element.classList.contains(q7)?e4:t4}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ol);for(const t of e){const r=ye.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=ye.find(Q7,this._config.parent);return ye.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(X7,!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=Po.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ne.on(document,Z7,Ol,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of ye.getMultipleElementsFromSelector(this))Po.getOrCreateInstance(e,{toggle:!1}).toggle()});Vt(Po);const Wd="dropdown",i4="bs.dropdown",vr=`.${i4}`,Dc=".data-api",s4="Escape",Kd="Tab",a4="ArrowUp",Gd="ArrowDown",l4=2,c4=`hide${vr}`,u4=`hidden${vr}`,d4=`show${vr}`,f4=`shown${vr}`,Sm=`click${vr}${Dc}`,wm=`keydown${vr}${Dc}`,h4=`keyup${vr}${Dc}`,_r="show",p4="dropup",m4="dropend",g4="dropstart",v4="dropup-center",y4="dropdown-center",tr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',b4=`${tr}.${_r}`,bi=".dropdown-menu",E4=".navbar",C4=".navbar-nav",S4=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",w4=$t()?"top-end":"top-start",x4=$t()?"top-start":"top-end",T4=$t()?"bottom-end":"bottom-start",k4=$t()?"bottom-start":"bottom-end",A4=$t()?"left-start":"right-start",O4=$t()?"right-start":"left-start",M4="top",N4="bottom",I4={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},D4={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class rn extends Gt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=ye.next(this._element,bi)[0]||ye.prev(this._element,bi)[0]||ye.findOne(bi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return I4}static get DefaultType(){return D4}static get NAME(){return Wd}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Fn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ne.trigger(this._element,d4,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(C4))for(const r of[].concat(...document.body.children))ne.on(r,"mouseover",Es);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(_r),this._element.classList.add(_r),ne.trigger(this._element,f4,e)}}hide(){if(Fn(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(!ne.trigger(this._element,c4,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ne.off(r,"mouseover",Es);this._popper&&this._popper.destroy(),this._menu.classList.remove(_r),this._element.classList.remove(_r),this._element.setAttribute("aria-expanded","false"),yn.removeDataAttribute(this._menu,"popper"),ne.trigger(this._element,u4,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!vn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Wd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Pp>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:vn(this._config.reference)?e=$n(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Us(e,this._menu,t)}_isShown(){return this._menu.classList.contains(_r)}_getPlacement(){const e=this._parent;if(e.classList.contains(m4))return A4;if(e.classList.contains(g4))return O4;if(e.classList.contains(v4))return M4;if(e.classList.contains(y4))return N4;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(p4)?t?x4:w4:t?k4:T4}_detectNavbar(){return this._element.closest(E4)!==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")&&(yn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...yt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=ye.find(S4,this._menu).filter(o=>ro(o));r.length&&Nc(r,t,e===Gd,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=rn.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===l4||e.type==="keyup"&&e.key!==Kd)return;const t=ye.find(b4);for(const r of t){const o=rn.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===Kd||/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===s4,o=[a4,Gd].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(tr)?this:ye.prev(this,tr)[0]||ye.next(this,tr)[0]||ye.findOne(tr,e.delegateTarget.parentNode),s=rn.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ne.on(document,wm,tr,rn.dataApiKeydownHandler);ne.on(document,wm,bi,rn.dataApiKeydownHandler);ne.on(document,Sm,rn.clearMenus);ne.on(document,h4,rn.clearMenus);ne.on(document,Sm,tr,function(n){n.preventDefault(),rn.getOrCreateInstance(this).toggle()});Vt(rn);const xm="backdrop",_4="fade",Yd="show",Jd=`mousedown.bs.${xm}`,L4={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},R4={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Tm extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return L4}static get DefaultType(){return R4}static get NAME(){return xm}show(e){if(!this._config.isVisible){yt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Wo(t),t.classList.add(Yd),this._emulateAnimation(()=>{yt(e)})}hide(e){if(!this._config.isVisible){yt(e);return}this._getElement().classList.remove(Yd),this._emulateAnimation(()=>{this.dispose(),yt(e)})}dispose(){this._isAppended&&(ne.off(this._element,Jd),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(_4),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=$n(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ne.on(e,Jd,()=>{yt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){um(e,this._getElement(),this._config.isAnimated)}}const P4="focustrap",B4="bs.focustrap",Ss=`.${B4}`,$4=`focusin${Ss}`,F4=`keydown.tab${Ss}`,V4="Tab",z4="forward",Zd="backward",H4={autofocus:!0,trapElement:null},U4={autofocus:"boolean",trapElement:"element"};class km extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return H4}static get DefaultType(){return U4}static get NAME(){return P4}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,Ss),ne.on(document,$4,e=>this._handleFocusin(e)),ne.on(document,F4,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ne.off(document,Ss))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=ye.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Zd?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===V4&&(this._lastTabNavDirection=e.shiftKey?Zd:z4)}}const Xd=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qd=".sticky-top",ci="padding-right",qd="margin-right";class Ml{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,ci,t=>t+e),this._setElementAttributes(Xd,ci,t=>t+e),this._setElementAttributes(Qd,qd,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ci),this._resetElementAttributes(Xd,ci),this._resetElementAttributes(Qd,qd)}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&&yn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=yn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}yn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(vn(e)){t(e);return}for(const r of ye.find(e,this._element))t(r)}}const j4="modal",W4="bs.modal",Ft=`.${W4}`,K4=".data-api",G4="Escape",Y4=`hide${Ft}`,J4=`hidePrevented${Ft}`,Am=`hidden${Ft}`,Om=`show${Ft}`,Z4=`shown${Ft}`,X4=`resize${Ft}`,Q4=`click.dismiss${Ft}`,q4=`mousedown.dismiss${Ft}`,ew=`keydown.dismiss${Ft}`,tw=`click${Ft}${K4}`,ef="modal-open",nw="fade",tf="show",$a="modal-static",rw=".modal.show",ow=".modal-dialog",iw=".modal-body",sw='[data-bs-toggle="modal"]',aw={backdrop:!0,focus:!0,keyboard:!0},lw={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class mr extends Gt{constructor(e,t){super(e,t),this._dialog=ye.findOne(ow,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ml,this._addEventListeners()}static get Default(){return aw}static get DefaultType(){return lw}static get NAME(){return j4}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ne.trigger(this._element,Om,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ef),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ne.trigger(this._element,Y4).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(tf),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ne.off(window,Ft),ne.off(this._dialog,Ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Tm({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new km({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=ye.findOne(iw,this._dialog);t&&(t.scrollTop=0),Wo(this._element),this._element.classList.add(tf);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ne.trigger(this._element,Z4,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,ew,e=>{if(e.key===G4){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,X4,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,q4,e=>{ne.one(this._element,Q4,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(ef),this._resetAdjustments(),this._scrollBar.reset(),ne.trigger(this._element,Am)})}_isAnimated(){return this._element.classList.contains(nw)}_triggerBackdropTransition(){if(ne.trigger(this._element,J4).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains($a)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add($a),this._queueCallback(()=>{this._element.classList.remove($a),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=$t()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=$t()?"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=mr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ne.on(document,tw,sw,function(n){const e=ye.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ne.one(e,Om,o=>{o.defaultPrevented||ne.one(e,Am,()=>{ro(this)&&this.focus()})});const t=ye.findOne(rw);t&&mr.getInstance(t).hide(),mr.getOrCreateInstance(e).toggle(this)});Gs(mr);Vt(mr);const cw="offcanvas",uw="bs.offcanvas",En=`.${uw}`,Mm=".data-api",dw=`load${En}${Mm}`,fw="Escape",nf="show",rf="showing",of="hiding",hw="offcanvas-backdrop",Nm=".offcanvas.show",pw=`show${En}`,mw=`shown${En}`,gw=`hide${En}`,sf=`hidePrevented${En}`,Im=`hidden${En}`,vw=`resize${En}`,yw=`click${En}${Mm}`,bw=`keydown.dismiss${En}`,Ew='[data-bs-toggle="offcanvas"]',Cw={backdrop:!0,keyboard:!0,scroll:!1},Sw={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Vn 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 Cw}static get DefaultType(){return Sw}static get NAME(){return cw}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ne.trigger(this._element,pw,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ml().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(rf);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(nf),this._element.classList.remove(rf),ne.trigger(this._element,mw,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,gw).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(of),this._backdrop.hide();const t=()=>{this._element.classList.remove(nf,of),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ml().reset(),ne.trigger(this._element,Im)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ne.trigger(this._element,sf);return}this.hide()},t=!!this._config.backdrop;return new Tm({className:hw,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new km({trapElement:this._element})}_addEventListeners(){ne.on(this._element,bw,e=>{if(e.key===fw){if(this._config.keyboard){this.hide();return}ne.trigger(this._element,sf)}})}static jQueryInterface(e){return this.each(function(){const t=Vn.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)}})}}ne.on(document,yw,Ew,function(n){const e=ye.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Fn(this))return;ne.one(e,Im,()=>{ro(this)&&this.focus()});const t=ye.findOne(Nm);t&&t!==e&&Vn.getInstance(t).hide(),Vn.getOrCreateInstance(e).toggle(this)});ne.on(window,dw,()=>{for(const n of ye.find(Nm))Vn.getOrCreateInstance(n).show()});ne.on(window,vw,()=>{for(const n of ye.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Vn.getOrCreateInstance(n).hide()});Gs(Vn);Vt(Vn);const ww=/^aria-[\w-]*$/i,Dm={"*":["class","dir","id","lang","role",ww],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:[]},xw=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Tw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,kw=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?xw.has(t)?!!Tw.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function Aw(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)kw(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const Ow="TemplateFactory",Mw={allowList:Dm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Nw={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Iw={entry:"(string|element|function|null)",selector:"(string|element)"};class Dw extends Ko{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Mw}static get DefaultType(){return Nw}static get NAME(){return Ow}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},Iw)}_setContent(e,t,r){const o=ye.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(vn(t)){this._putElementInTemplate($n(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Aw(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return yt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const _w="tooltip",Lw=new Set(["sanitize","allowList","sanitizeFn"]),Fa="fade",Rw="modal",ui="show",Pw=".tooltip-inner",af=`.${Rw}`,lf="hide.bs.modal",ao="hover",Va="focus",Bw="click",$w="manual",Fw="hide",Vw="hidden",zw="show",Hw="shown",Uw="inserted",jw="click",Ww="focusin",Kw="focusout",Gw="mouseenter",Yw="mouseleave",Jw={AUTO:"auto",TOP:"top",RIGHT:$t()?"left":"right",BOTTOM:"bottom",LEFT:$t()?"right":"left"},Zw={allowList:Dm,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"},Xw={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 yr extends Gt{constructor(e,t){if(typeof Pp>"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 Zw}static get DefaultType(){return Xw}static get NAME(){return _w}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),ne.off(this._element.closest(af),lf,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=ne.trigger(this._element,this.constructor.eventName(zw)),r=(lm(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),ne.trigger(this._element,this.constructor.eventName(Uw))),this._popper=this._createPopper(o),o.classList.add(ui),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ne.on(l,"mouseover",Es);const s=()=>{ne.trigger(this._element,this.constructor.eventName(Hw)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ne.trigger(this._element,this.constructor.eventName(Fw)).defaultPrevented)return;if(this._getTipElement().classList.remove(ui),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ne.off(o,"mouseover",Es);this._activeTrigger[Bw]=!1,this._activeTrigger[Va]=!1,this._activeTrigger[ao]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ne.trigger(this._element,this.constructor.eventName(Vw)))};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(Fa,ui),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=BS(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Fa),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Dw({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Pw]: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(Fa)}_isShown(){return this.tip&&this.tip.classList.contains(ui)}_createPopper(e){const t=yt(this._config.placement,[this,e,this._element]),r=Jw[t.toUpperCase()];return Us(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 yt(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,...yt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ne.on(this._element,this.constructor.eventName(jw),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==$w){const r=t===ao?this.constructor.eventName(Gw):this.constructor.eventName(Ww),o=t===ao?this.constructor.eventName(Yw):this.constructor.eventName(Kw);ne.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?Va:ao]=!0,s._enter()}),ne.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?Va:ao]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ne.on(this._element.closest(af),lf,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=yn.getDataAttributes(this._element);for(const r of Object.keys(t))Lw.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:$n(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=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Vt(yr);const Qw="popover",qw=".popover-header",ex=".popover-body",tx={...yr.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"},nx={...yr.DefaultType,content:"(null|string|element|function)"};class _c extends yr{static get Default(){return tx}static get DefaultType(){return nx}static get NAME(){return Qw}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[qw]:this._getTitle(),[ex]: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]()}})}}Vt(_c);const rx="scrollspy",ox="bs.scrollspy",Lc=`.${ox}`,ix=".data-api",sx=`activate${Lc}`,cf=`click${Lc}`,ax=`load${Lc}${ix}`,lx="dropdown-item",kr="active",cx='[data-bs-spy="scroll"]',za="[href]",ux=".nav, .list-group",uf=".nav-link",dx=".nav-item",fx=".list-group-item",hx=`${uf}, ${dx} > ${uf}, ${fx}`,px=".dropdown",mx=".dropdown-toggle",gx={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},vx={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Zs 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 gx}static get DefaultType(){return vx}static get NAME(){return rx}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=$n(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&&(ne.off(this._config.target,cf),ne.on(this._config.target,cf,za,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=ye.find(za,this._config.target);for(const t of e){if(!t.hash||Fn(t))continue;const r=ye.findOne(decodeURI(t.hash),this._element);ro(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(kr),this._activateParents(e),ne.trigger(this._element,sx,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(lx)){ye.findOne(mx,e.closest(px)).classList.add(kr);return}for(const t of ye.parents(e,ux))for(const r of ye.prev(t,hx))r.classList.add(kr)}_clearActiveClass(e){e.classList.remove(kr);const t=ye.find(`${za}.${kr}`,e);for(const r of t)r.classList.remove(kr)}static jQueryInterface(e){return this.each(function(){const t=Zs.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]()}})}}ne.on(window,ax,()=>{for(const n of ye.find(cx))Zs.getOrCreateInstance(n)});Vt(Zs);const yx="tab",bx="bs.tab",br=`.${bx}`,Ex=`hide${br}`,Cx=`hidden${br}`,Sx=`show${br}`,wx=`shown${br}`,xx=`click${br}`,Tx=`keydown${br}`,kx=`load${br}`,Ax="ArrowLeft",df="ArrowRight",Ox="ArrowUp",ff="ArrowDown",nr="active",hf="fade",Ha="show",Mx="dropdown",Nx=".dropdown-toggle",Ix=".dropdown-menu",Ua=":not(.dropdown-toggle)",Dx='.list-group, .nav, [role="tablist"]',_x=".nav-item, .list-group-item",Lx=`.nav-link${Ua}, .list-group-item${Ua}, [role="tab"]${Ua}`,_m='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ja=`${Lx}, ${_m}`,Rx=`.${nr}[data-bs-toggle="tab"], .${nr}[data-bs-toggle="pill"], .${nr}[data-bs-toggle="list"]`;class qr extends Gt{constructor(e){super(e),this._parent=this._element.closest(Dx),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,Tx,t=>this._keydown(t)))}static get NAME(){return yx}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ne.trigger(t,Ex,{relatedTarget:e}):null;ne.trigger(e,Sx,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(nr),this._activate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ha);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ne.trigger(e,wx,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(hf))}_deactivate(e,t){if(!e)return;e.classList.remove(nr),e.blur(),this._deactivate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ha);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ne.trigger(e,Cx,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(hf))}_keydown(e){if(![Ax,df,Ox,ff].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[df,ff].includes(e.key),r=Nc(this._getChildren().filter(o=>!Fn(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),qr.getOrCreateInstance(r).show())}_getChildren(){return ye.find(ja,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=ye.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(Mx))return;const o=(i,s)=>{const l=ye.findOne(i,r);l&&l.classList.toggle(s,t)};o(Nx,nr),o(Ix,Ha),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(nr)}_getInnerElement(e){return e.matches(ja)?e:ye.findOne(ja,e)}_getOuterElement(e){return e.closest(_x)||e}static jQueryInterface(e){return this.each(function(){const t=qr.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,xx,_m,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Fn(this)&&qr.getOrCreateInstance(this).show()});ne.on(window,kx,()=>{for(const n of ye.find(Rx))qr.getOrCreateInstance(n)});Vt(qr);const Px="toast",Bx="bs.toast",Kn=`.${Bx}`,$x=`mouseover${Kn}`,Fx=`mouseout${Kn}`,Vx=`focusin${Kn}`,zx=`focusout${Kn}`,Hx=`hide${Kn}`,Ux=`hidden${Kn}`,jx=`show${Kn}`,Wx=`shown${Kn}`,Kx="fade",pf="hide",di="show",fi="showing",Gx={animation:"boolean",autohide:"boolean",delay:"number"},Yx={animation:!0,autohide:!0,delay:5e3};class Jo extends Gt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Yx}static get DefaultType(){return Gx}static get NAME(){return Px}show(){if(ne.trigger(this._element,jx).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Kx);const t=()=>{this._element.classList.remove(fi),ne.trigger(this._element,Wx),this._maybeScheduleHide()};this._element.classList.remove(pf),Wo(this._element),this._element.classList.add(di,fi),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ne.trigger(this._element,Hx).defaultPrevented)return;const t=()=>{this._element.classList.add(pf),this._element.classList.remove(fi,di),ne.trigger(this._element,Ux)};this._element.classList.add(fi),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(di),super.dispose()}isShown(){return this._element.classList.contains(di)}_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(){ne.on(this._element,$x,e=>this._onInteraction(e,!0)),ne.on(this._element,Fx,e=>this._onInteraction(e,!1)),ne.on(this._element,Vx,e=>this._onInteraction(e,!0)),ne.on(this._element,zx,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Jo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Gs(Jo);Vt(Jo);const Jx=n=>{const e=f.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value||(e.value=new mr(o,{})),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{e.value&&e.value.hide()}}};function Zx(n=void 0){const e=l=>i("Succesvol",l,Lr.SUCCESS),t=l=>i("Waarschuwing",l,Lr.WARNING),r=l=>i("Informatie",l,Lr.INFO),o=l=>i("Mislukt",l,Lr.DANGER);function i(l,a,c){const u=`toast-${If()}`,d={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 m=f.h(Hl,d),g=f.createApp({render:()=>m}).mount(document.createElement("div"));h.appendChild(g.$el);const v=document.querySelector(`#${u}`);v&&(Jo.getOrCreateInstance(v,n).show(),s(v))}function s(l){function a(d,h){d.forEach(m=>{if(m.attributeName!="class")return;const p=m.target;if(p.classList.contains("hide")){p.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 Lm={mounted:n=>{new yr(n)}},Xx={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"},lt=f.defineComponent({__name:"BDButton",props:{size:{default:at.MD},variant:{default:Xx.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=f.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=f.computed(()=>t.to?zr:"button"),i=f.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=()=>{e("click")};return(l,a)=>(f.openBlock(),f.createBlock(f.resolveDynamicComponent(o.value),f.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:f.withCtx(()=>[f.renderSlot(l.$slots,"default",{},()=>[f.createTextVNode(f.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),Qx={install:n=>{n.component("BDCol",mf),n.component("BDContainer",gf),n.component("BDRow",vf),n.component("BDButton",lt),n.component("BDLogo",Vl),n.component("BDLink",zr),n.component("BDDropdownItem",wi),n.component("BDDropdown",Mc),n.component("BDAlert",Af),n.component("BDProfileImage",Fo),n.component("BDZoomslider",Mf),n.component("BDCard",zl),n.component("BDCollapsableCard",Df),n.component("BDFormInput",Lf),n.component("BDInputGroup",Rf),n.component("BDFormInvalidFeedback",As),n.component("BDBadge",Pf),n.component("BDForm",Bf),n.component("BDPagination",$f),n.component("BDDropzone",Uf),n.component("BDMarkdownEditor",tm),n.component("BDModal",im),n.component("BDFormSelect",Ff),n.component("BDUser",nm),n.component("BDArticle",zf),n.component("BDFormCheckbox",Vf),n.component("BDToast",Hl),n.component("BDAttachmentPreviewList",Ws),n.component("BDImageAttachmentPreviewList",Ks),n.component("BDHeader",om),n.component("BDMobileMenu",Oc),n.component("BDChatCloud",rm),n.component("IconAcademy",yf),n.component("IconArrowDown",bf),n.component("IconArrowUp",Ef),n.component("IconAttachment",cr),n.component("IconBold",Nl),n.component("IconBulletList",Il),n.component("IconCalendar",Wa),n.component("IconCalendar",Wa),n.component("IconCardView",Cf),n.component("IconCaretDown",Dl),n.component("IconCaretLeft",_l),n.component("IconCaretRight",Ll),n.component("IconCheck",Bo),n.component("IconClose",ws),n.component("IconDownloadImage",Ei),n.component("IconDownloadImage",Ei),n.component("IconEdit",Sf),n.component("IconError",xs),n.component("IconEyeShow",wf),n.component("IconEyeSlash",xf),n.component("IconFile",Rl),n.component("IconHyperlink",Pl),n.component("IconInfo",Ts),n.component("IconItalic",Bl),n.component("IconListView",Tf),n.component("IconMenu",Ci),n.component("IconMenu",Ci),n.component("IconOrderedList",$l),n.component("IconRemove",$o),n.component("IconUnderline",Fl),n.component("IconTriangleExclamation",kf),n.directive("vBDTooltip",Lm)}};exports.BDAlert=Af;exports.BDArticle=zf;exports.BDAttachmentPreviewList=Ws;exports.BDBadge=Pf;exports.BDButton=lt;exports.BDCard=zl;exports.BDChatCloud=rm;exports.BDCol=mf;exports.BDCollapsableCard=Df;exports.BDContainer=gf;exports.BDDropdown=Mc;exports.BDDropdownItem=wi;exports.BDDropzone=Uf;exports.BDForm=Bf;exports.BDFormCheckbox=Vf;exports.BDFormInput=Lf;exports.BDFormInvalidFeedback=As;exports.BDFormSelect=Ff;exports.BDHeader=om;exports.BDImageAttachmentPreviewList=Ks;exports.BDInputGroup=Rf;exports.BDLink=zr;exports.BDLogo=Vl;exports.BDMarkdownEditor=tm;exports.BDMobileMenu=Oc;exports.BDModal=im;exports.BDPagination=$f;exports.BDProfileImage=Fo;exports.BDRow=vf;exports.BDToast=Hl;exports.BDUser=nm;exports.BDZoomslider=Mf;exports.IconAcademy=yf;exports.IconArrowDown=bf;exports.IconArrowUp=Ef;exports.IconAttachment=cr;exports.IconBold=Nl;exports.IconBulletList=Il;exports.IconCalendar=Wa;exports.IconCardView=Cf;exports.IconCaretDown=Dl;exports.IconCaretLeft=_l;exports.IconCaretRight=Ll;exports.IconCheck=Bo;exports.IconClose=ws;exports.IconDownloadImage=Ei;exports.IconEdit=Sf;exports.IconError=xs;exports.IconEyeShow=wf;exports.IconEyeSlash=xf;exports.IconFile=Rl;exports.IconHyperlink=Pl;exports.IconInfo=Ts;exports.IconItalic=Bl;exports.IconListView=Tf;exports.IconMenu=Ci;exports.IconOrderedList=$l;exports.IconRemove=$o;exports.IconTriangleExclamation=kf;exports.IconUnderline=Fl;exports.default=Qx;exports.useModal=Jx;exports.useToaster=Zx;exports.vBdTooltip=Lm;
131
+ */const Tn=new Map,Ia={set(n,e,t){Tn.has(n)||Tn.set(n,new Map);const r=Tn.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 Tn.has(n)&&Tn.get(n).get(e)||null},remove(n,e){if(!Tn.has(n))return;const t=Tn.get(n);t.delete(e),t.size===0&&Tn.delete(n)}},_S=1e6,LS=1e3,kl="transitionend",sm=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),RS=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),PS=n=>{do n+=Math.floor(Math.random()*_S);while(document.getElementById(n));return n},BS=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))*LS)},am=n=>{n.dispatchEvent(new Event(kl))},vn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),$n=n=>vn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(sm(n)):null,ro=n=>{if(!vn(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},Fn=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",lm=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?lm(n.parentNode):null},Es=()=>{},Wo=n=>{n.offsetHeight},cm=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Da=[],$S=n=>{document.readyState==="loading"?(Da.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Da)e()}),Da.push(n)):n()},$t=()=>document.documentElement.dir==="rtl",Vt=n=>{$S(()=>{const e=cm();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)}})},yt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,um=(n,e,t=!0)=>{if(!t){yt(n);return}const r=5,o=BS(e)+r;let i=!1;const s=({target:l})=>{l===e&&(i=!0,e.removeEventListener(kl,s),yt(n))};e.addEventListener(kl,s),setTimeout(()=>{i||am(e)},o)},Nc=(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))])},FS=/[^.]*(?=\..*)\.|.*/,VS=/\..*/,zS=/::\d+$/,_a={};let zd=1;const dm={mouseenter:"mouseover",mouseleave:"mouseout"},HS=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 fm(n,e){return e&&`${e}::${zd++}`||n.uidEvent||zd++}function hm(n){const e=fm(n);return n.uidEvent=e,_a[e]=_a[e]||{},_a[e]}function US(n,e){return function t(r){return Ic(r,{delegateTarget:n}),t.oneOff&&ne.off(n,r.type,e),e.apply(n,[r])}}function jS(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 Ic(o,{delegateTarget:s}),r.oneOff&&ne.off(n,o.type,e,t),t.apply(s,[o])}}function pm(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function mm(n,e,t){const r=typeof e=="string",o=r?t:e||t;let i=gm(n);return HS.has(i)||(i=n),[r,o,i]}function Hd(n,e,t,r,o){if(typeof e!="string"||!n)return;let[i,s,l]=mm(e,t,r);e in dm&&(s=(p=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return p.call(this,g)})(s));const a=hm(n),c=a[l]||(a[l]={}),u=pm(c,s,i?t:null);if(u){u.oneOff=u.oneOff&&o;return}const d=fm(s,e.replace(FS,"")),h=i?jS(n,t,s):US(n,s);h.delegationSelector=i?t:null,h.callable=s,h.oneOff=o,h.uidEvent=d,c[d]=h,n.addEventListener(l,h,i)}function Al(n,e,t,r,o){const i=pm(e[t],r,o);i&&(n.removeEventListener(t,i,!!o),delete e[t][i.uidEvent])}function WS(n,e,t,r){const o=e[t]||{};for(const[i,s]of Object.entries(o))i.includes(r)&&Al(n,e,t,s.callable,s.delegationSelector)}function gm(n){return n=n.replace(VS,""),dm[n]||n}const ne={on(n,e,t,r){Hd(n,e,t,r,!1)},one(n,e,t,r){Hd(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,i,s]=mm(e,t,r),l=s!==e,a=hm(n),c=a[s]||{},u=e.startsWith(".");if(typeof i<"u"){if(!Object.keys(c).length)return;Al(n,a,s,i,o?t:null);return}if(u)for(const d of Object.keys(a))WS(n,a,d,e.slice(1));for(const[d,h]of Object.entries(c)){const m=d.replace(zS,"");(!l||e.includes(m))&&Al(n,a,s,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=cm(),o=gm(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=Ic(new Event(e,{bubbles:l,cancelable:!0}),t);return c&&u.preventDefault(),a&&n.dispatchEvent(u),u.defaultPrevented&&s&&s.preventDefault(),u}};function Ic(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 Ud(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 La(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const yn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${La(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${La(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]=Ud(n.dataset[r])}return e},getDataAttribute(n,e){return Ud(n.getAttribute(`data-bs-${La(e)}`))}};class Ko{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=vn(t)?yn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...vn(t)?yn.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=vn(i)?"element":RS(i);if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${s}" but expected type "${o}".`)}}}const KS="5.3.0";class Gt extends Ko{constructor(e,t){super(),e=$n(e),e&&(this._element=e,this._config=this._getConfig(t),Ia.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Ia.remove(this._element,this.constructor.DATA_KEY),ne.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){um(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Ia.get($n(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return KS}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 Ra=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 sm(e)},ye={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=>!Fn(t)&&ro(t))},getSelectorFromElement(n){const e=Ra(n);return e&&ye.findOne(e)?e:null},getElementFromSelector(n){const e=Ra(n);return e?ye.findOne(e):null},getMultipleElementsFromSelector(n){const e=Ra(n);return e?ye.find(e):[]}},Gs=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;ne.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),Fn(this))return;const i=ye.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(i)[e]()})},GS="alert",YS="bs.alert",vm=`.${YS}`,JS=`close${vm}`,ZS=`closed${vm}`,XS="fade",QS="show";class Ys extends Gt{static get NAME(){return GS}close(){if(ne.trigger(this._element,JS).defaultPrevented)return;this._element.classList.remove(QS);const t=this._element.classList.contains(XS);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),ne.trigger(this._element,ZS),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=Ys.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)}})}}Gs(Ys,"close");Vt(Ys);const qS="button",e7="bs.button",t7=`.${e7}`,n7=".data-api",r7="active",jd='[data-bs-toggle="button"]',o7=`click${t7}${n7}`;class Js extends Gt{static get NAME(){return qS}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(r7))}static jQueryInterface(e){return this.each(function(){const t=Js.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}ne.on(document,o7,jd,n=>{n.preventDefault();const e=n.target.closest(jd);Js.getOrCreateInstance(e).toggle()});Vt(Js);const i7="swipe",oo=".bs.swipe",s7=`touchstart${oo}`,a7=`touchmove${oo}`,l7=`touchend${oo}`,c7=`pointerdown${oo}`,u7=`pointerup${oo}`,d7="touch",f7="pen",h7="pointer-event",p7=40,m7={endCallback:null,leftCallback:null,rightCallback:null},g7={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Cs extends Ko{constructor(e,t){super(),this._element=e,!(!e||!Cs.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return m7}static get DefaultType(){return g7}static get NAME(){return i7}dispose(){ne.off(this._element,oo)}_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(),yt(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<=p7)return;const t=e/this._deltaX;this._deltaX=0,t&&yt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(ne.on(this._element,c7,e=>this._start(e)),ne.on(this._element,u7,e=>this._end(e)),this._element.classList.add(h7)):(ne.on(this._element,s7,e=>this._start(e)),ne.on(this._element,a7,e=>this._move(e)),ne.on(this._element,l7,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===f7||e.pointerType===d7)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const v7="carousel",y7="bs.carousel",Wn=`.${y7}`,ym=".data-api",b7="ArrowLeft",E7="ArrowRight",C7=500,so="next",Tr="prev",Dr="left",yi="right",S7=`slide${Wn}`,Pa=`slid${Wn}`,w7=`keydown${Wn}`,x7=`mouseenter${Wn}`,T7=`mouseleave${Wn}`,k7=`dragstart${Wn}`,A7=`load${Wn}${ym}`,O7=`click${Wn}${ym}`,bm="carousel",ai="active",M7="slide",N7="carousel-item-end",I7="carousel-item-start",D7="carousel-item-next",_7="carousel-item-prev",Em=".active",Cm=".carousel-item",L7=Em+Cm,R7=".carousel-item img",P7=".carousel-indicators",B7="[data-bs-slide], [data-bs-slide-to]",$7='[data-bs-ride="carousel"]',F7={[b7]:yi,[E7]:Dr},V7={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},z7={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Go 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=ye.findOne(P7,this._element),this._addEventListeners(),this._config.ride===bm&&this.cycle()}static get Default(){return V7}static get DefaultType(){return z7}static get NAME(){return v7}next(){this._slide(so)}nextWhenVisible(){!document.hidden&&ro(this._element)&&this.next()}prev(){this._slide(Tr)}pause(){this._isSliding&&am(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){ne.one(this._element,Pa,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){ne.one(this._element,Pa,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?so:Tr;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&&ne.on(this._element,w7,e=>this._keydown(e)),this._config.pause==="hover"&&(ne.on(this._element,x7,()=>this.pause()),ne.on(this._element,T7,()=>this._maybeEnableCycle())),this._config.touch&&Cs.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of ye.find(R7,this._element))ne.on(r,k7,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Dr)),rightCallback:()=>this._slide(this._directionToOrder(yi)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),C7+this._config.interval))}};this._swipeHelper=new Cs(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=F7[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=ye.findOne(Em,this._indicatorsElement);t.classList.remove(ai),t.removeAttribute("aria-current");const r=ye.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(ai),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===so,i=t||Nc(this._getItems(),r,o,this._config.wrap);if(i===r)return;const s=this._getItemIndex(i),l=m=>ne.trigger(this._element,m,{relatedTarget:i,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:s});if(l(S7).defaultPrevented||!r||!i)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(s),this._activeElement=i;const u=o?I7:N7,d=o?D7:_7;i.classList.add(d),Wo(i),r.classList.add(u),i.classList.add(u);const h=()=>{i.classList.remove(u,d),i.classList.add(ai),r.classList.remove(ai,d,u),this._isSliding=!1,l(Pa)};this._queueCallback(h,r,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(M7)}_getActive(){return ye.findOne(L7,this._element)}_getItems(){return ye.find(Cm,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return $t()?e===Dr?Tr:so:e===Dr?so:Tr}_orderToDirection(e){return $t()?e===Tr?Dr:yi:e===Tr?yi:Dr}static jQueryInterface(e){return this.each(function(){const t=Go.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]()}})}}ne.on(document,O7,B7,function(n){const e=ye.getElementFromSelector(this);if(!e||!e.classList.contains(bm))return;n.preventDefault();const t=Go.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(yn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});ne.on(window,A7,()=>{const n=ye.find($7);for(const e of n)Go.getOrCreateInstance(e)});Vt(Go);const H7="collapse",U7="bs.collapse",Yo=`.${U7}`,j7=".data-api",W7=`show${Yo}`,K7=`shown${Yo}`,G7=`hide${Yo}`,Y7=`hidden${Yo}`,J7=`click${Yo}${j7}`,Ba="show",Br="collapse",li="collapsing",Z7="collapsed",X7=`:scope .${Br} .${Br}`,Q7="collapse-horizontal",q7="width",e4="height",t4=".collapse.show, .collapse.collapsing",Ol='[data-bs-toggle="collapse"]',n4={parent:null,toggle:!0},r4={parent:"(null|element)",toggle:"boolean"};class Po extends Gt{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=ye.find(Ol);for(const o of r){const i=ye.getSelectorFromElement(o),s=ye.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 n4}static get DefaultType(){return r4}static get NAME(){return H7}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(t4).filter(l=>l!==this._element).map(l=>Po.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||ne.trigger(this._element,W7).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(Br),this._element.classList.add(li),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(li),this._element.classList.add(Br,Ba),this._element.style[r]="",ne.trigger(this._element,K7)},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()||ne.trigger(this._element,G7).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Wo(this._element),this._element.classList.add(li),this._element.classList.remove(Br,Ba);for(const o of this._triggerArray){const i=ye.getElementFromSelector(o);i&&!this._isShown(i)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(li),this._element.classList.add(Br),ne.trigger(this._element,Y7)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ba)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=$n(e.parent),e}_getDimension(){return this._element.classList.contains(Q7)?q7:e4}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Ol);for(const t of e){const r=ye.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=ye.find(X7,this._config.parent);return ye.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(Z7,!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=Po.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}ne.on(document,J7,Ol,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of ye.getMultipleElementsFromSelector(this))Po.getOrCreateInstance(e,{toggle:!1}).toggle()});Vt(Po);const Wd="dropdown",o4="bs.dropdown",vr=`.${o4}`,Dc=".data-api",i4="Escape",Kd="Tab",s4="ArrowUp",Gd="ArrowDown",a4=2,l4=`hide${vr}`,c4=`hidden${vr}`,u4=`show${vr}`,d4=`shown${vr}`,Sm=`click${vr}${Dc}`,wm=`keydown${vr}${Dc}`,f4=`keyup${vr}${Dc}`,_r="show",h4="dropup",p4="dropend",m4="dropstart",g4="dropup-center",v4="dropdown-center",tr='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',y4=`${tr}.${_r}`,bi=".dropdown-menu",b4=".navbar",E4=".navbar-nav",C4=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",S4=$t()?"top-end":"top-start",w4=$t()?"top-start":"top-end",x4=$t()?"bottom-end":"bottom-start",T4=$t()?"bottom-start":"bottom-end",k4=$t()?"left-start":"right-start",A4=$t()?"right-start":"left-start",O4="top",M4="bottom",N4={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},I4={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class rn extends Gt{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=ye.next(this._element,bi)[0]||ye.prev(this._element,bi)[0]||ye.findOne(bi,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return N4}static get DefaultType(){return I4}static get NAME(){return Wd}toggle(){return this._isShown()?this.hide():this.show()}show(){if(Fn(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!ne.trigger(this._element,u4,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(E4))for(const r of[].concat(...document.body.children))ne.on(r,"mouseover",Es);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(_r),this._element.classList.add(_r),ne.trigger(this._element,d4,e)}}hide(){if(Fn(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(!ne.trigger(this._element,l4,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))ne.off(r,"mouseover",Es);this._popper&&this._popper.destroy(),this._menu.classList.remove(_r),this._element.classList.remove(_r),this._element.setAttribute("aria-expanded","false"),yn.removeDataAttribute(this._menu,"popper"),ne.trigger(this._element,c4,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!vn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Wd.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof Pp>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:vn(this._config.reference)?e=$n(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=Us(e,this._menu,t)}_isShown(){return this._menu.classList.contains(_r)}_getPlacement(){const e=this._parent;if(e.classList.contains(p4))return k4;if(e.classList.contains(m4))return A4;if(e.classList.contains(g4))return O4;if(e.classList.contains(v4))return M4;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(h4)?t?w4:S4:t?T4:x4}_detectNavbar(){return this._element.closest(b4)!==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")&&(yn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...yt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=ye.find(C4,this._menu).filter(o=>ro(o));r.length&&Nc(r,t,e===Gd,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=rn.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===a4||e.type==="keyup"&&e.key!==Kd)return;const t=ye.find(y4);for(const r of t){const o=rn.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===Kd||/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===i4,o=[s4,Gd].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const i=this.matches(tr)?this:ye.prev(this,tr)[0]||ye.next(this,tr)[0]||ye.findOne(tr,e.delegateTarget.parentNode),s=rn.getOrCreateInstance(i);if(o){e.stopPropagation(),s.show(),s._selectMenuItem(e);return}s._isShown()&&(e.stopPropagation(),s.hide(),i.focus())}}ne.on(document,wm,tr,rn.dataApiKeydownHandler);ne.on(document,wm,bi,rn.dataApiKeydownHandler);ne.on(document,Sm,rn.clearMenus);ne.on(document,f4,rn.clearMenus);ne.on(document,Sm,tr,function(n){n.preventDefault(),rn.getOrCreateInstance(this).toggle()});Vt(rn);const xm="backdrop",D4="fade",Yd="show",Jd=`mousedown.bs.${xm}`,_4={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},L4={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Tm extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return _4}static get DefaultType(){return L4}static get NAME(){return xm}show(e){if(!this._config.isVisible){yt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Wo(t),t.classList.add(Yd),this._emulateAnimation(()=>{yt(e)})}hide(e){if(!this._config.isVisible){yt(e);return}this._getElement().classList.remove(Yd),this._emulateAnimation(()=>{this.dispose(),yt(e)})}dispose(){this._isAppended&&(ne.off(this._element,Jd),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(D4),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=$n(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),ne.on(e,Jd,()=>{yt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){um(e,this._getElement(),this._config.isAnimated)}}const R4="focustrap",P4="bs.focustrap",Ss=`.${P4}`,B4=`focusin${Ss}`,$4=`keydown.tab${Ss}`,F4="Tab",V4="forward",Zd="backward",z4={autofocus:!0,trapElement:null},H4={autofocus:"boolean",trapElement:"element"};class km extends Ko{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return z4}static get DefaultType(){return H4}static get NAME(){return R4}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),ne.off(document,Ss),ne.on(document,B4,e=>this._handleFocusin(e)),ne.on(document,$4,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,ne.off(document,Ss))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=ye.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Zd?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===F4&&(this._lastTabNavDirection=e.shiftKey?Zd:V4)}}const Xd=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qd=".sticky-top",ci="padding-right",qd="margin-right";class Ml{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,ci,t=>t+e),this._setElementAttributes(Xd,ci,t=>t+e),this._setElementAttributes(Qd,qd,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,ci),this._resetElementAttributes(Xd,ci),this._resetElementAttributes(Qd,qd)}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&&yn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const i=yn.getDataAttribute(o,t);if(i===null){o.style.removeProperty(t);return}yn.removeDataAttribute(o,t),o.style.setProperty(t,i)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(vn(e)){t(e);return}for(const r of ye.find(e,this._element))t(r)}}const U4="modal",j4="bs.modal",Ft=`.${j4}`,W4=".data-api",K4="Escape",G4=`hide${Ft}`,Y4=`hidePrevented${Ft}`,Am=`hidden${Ft}`,Om=`show${Ft}`,J4=`shown${Ft}`,Z4=`resize${Ft}`,X4=`click.dismiss${Ft}`,Q4=`mousedown.dismiss${Ft}`,q4=`keydown.dismiss${Ft}`,ew=`click${Ft}${W4}`,ef="modal-open",tw="fade",tf="show",$a="modal-static",nw=".modal.show",rw=".modal-dialog",ow=".modal-body",iw='[data-bs-toggle="modal"]',sw={backdrop:!0,focus:!0,keyboard:!0},aw={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class mr extends Gt{constructor(e,t){super(e,t),this._dialog=ye.findOne(rw,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Ml,this._addEventListeners()}static get Default(){return sw}static get DefaultType(){return aw}static get NAME(){return U4}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||ne.trigger(this._element,Om,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(ef),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||ne.trigger(this._element,G4).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(tf),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){ne.off(window,Ft),ne.off(this._dialog,Ft),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Tm({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new km({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=ye.findOne(ow,this._dialog);t&&(t.scrollTop=0),Wo(this._element),this._element.classList.add(tf);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,ne.trigger(this._element,J4,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){ne.on(this._element,q4,e=>{if(e.key===K4){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),ne.on(window,Z4,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),ne.on(this._element,Q4,e=>{ne.one(this._element,X4,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(ef),this._resetAdjustments(),this._scrollBar.reset(),ne.trigger(this._element,Am)})}_isAnimated(){return this._element.classList.contains(tw)}_triggerBackdropTransition(){if(ne.trigger(this._element,Y4).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains($a)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add($a),this._queueCallback(()=>{this._element.classList.remove($a),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=$t()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=$t()?"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=mr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}ne.on(document,ew,iw,function(n){const e=ye.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),ne.one(e,Om,o=>{o.defaultPrevented||ne.one(e,Am,()=>{ro(this)&&this.focus()})});const t=ye.findOne(nw);t&&mr.getInstance(t).hide(),mr.getOrCreateInstance(e).toggle(this)});Gs(mr);Vt(mr);const lw="offcanvas",cw="bs.offcanvas",En=`.${cw}`,Mm=".data-api",uw=`load${En}${Mm}`,dw="Escape",nf="show",rf="showing",of="hiding",fw="offcanvas-backdrop",Nm=".offcanvas.show",hw=`show${En}`,pw=`shown${En}`,mw=`hide${En}`,sf=`hidePrevented${En}`,Im=`hidden${En}`,gw=`resize${En}`,vw=`click${En}${Mm}`,yw=`keydown.dismiss${En}`,bw='[data-bs-toggle="offcanvas"]',Ew={backdrop:!0,keyboard:!0,scroll:!1},Cw={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Vn 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 Ew}static get DefaultType(){return Cw}static get NAME(){return lw}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||ne.trigger(this._element,hw,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Ml().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(rf);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(nf),this._element.classList.remove(rf),ne.trigger(this._element,pw,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||ne.trigger(this._element,mw).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(of),this._backdrop.hide();const t=()=>{this._element.classList.remove(nf,of),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Ml().reset(),ne.trigger(this._element,Im)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){ne.trigger(this._element,sf);return}this.hide()},t=!!this._config.backdrop;return new Tm({className:fw,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new km({trapElement:this._element})}_addEventListeners(){ne.on(this._element,yw,e=>{if(e.key===dw){if(this._config.keyboard){this.hide();return}ne.trigger(this._element,sf)}})}static jQueryInterface(e){return this.each(function(){const t=Vn.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)}})}}ne.on(document,vw,bw,function(n){const e=ye.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),Fn(this))return;ne.one(e,Im,()=>{ro(this)&&this.focus()});const t=ye.findOne(Nm);t&&t!==e&&Vn.getInstance(t).hide(),Vn.getOrCreateInstance(e).toggle(this)});ne.on(window,uw,()=>{for(const n of ye.find(Nm))Vn.getOrCreateInstance(n).show()});ne.on(window,gw,()=>{for(const n of ye.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Vn.getOrCreateInstance(n).hide()});Gs(Vn);Vt(Vn);const Sw=/^aria-[\w-]*$/i,Dm={"*":["class","dir","id","lang","role",Sw],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:[]},ww=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),xw=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Tw=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?ww.has(t)?!!xw.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function kw(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)Tw(u,c)||s.removeAttribute(u.nodeName)}return o.body.innerHTML}const Aw="TemplateFactory",Ow={allowList:Dm,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Mw={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Nw={entry:"(string|element|function|null)",selector:"(string|element)"};class Iw extends Ko{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Ow}static get DefaultType(){return Mw}static get NAME(){return Aw}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},Nw)}_setContent(e,t,r){const o=ye.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(vn(t)){this._putElementInTemplate($n(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?kw(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return yt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const Dw="tooltip",_w=new Set(["sanitize","allowList","sanitizeFn"]),Fa="fade",Lw="modal",ui="show",Rw=".tooltip-inner",af=`.${Lw}`,lf="hide.bs.modal",ao="hover",Va="focus",Pw="click",Bw="manual",$w="hide",Fw="hidden",Vw="show",zw="shown",Hw="inserted",Uw="click",jw="focusin",Ww="focusout",Kw="mouseenter",Gw="mouseleave",Yw={AUTO:"auto",TOP:"top",RIGHT:$t()?"left":"right",BOTTOM:"bottom",LEFT:$t()?"right":"left"},Jw={allowList:Dm,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"},Zw={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 yr extends Gt{constructor(e,t){if(typeof Pp>"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 Jw}static get DefaultType(){return Zw}static get NAME(){return Dw}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),ne.off(this._element.closest(af),lf,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=ne.trigger(this._element,this.constructor.eventName(Vw)),r=(lm(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),ne.trigger(this._element,this.constructor.eventName(Hw))),this._popper=this._createPopper(o),o.classList.add(ui),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))ne.on(l,"mouseover",Es);const s=()=>{ne.trigger(this._element,this.constructor.eventName(zw)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(s,this.tip,this._isAnimated())}hide(){if(!this._isShown()||ne.trigger(this._element,this.constructor.eventName($w)).defaultPrevented)return;if(this._getTipElement().classList.remove(ui),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))ne.off(o,"mouseover",Es);this._activeTrigger[Pw]=!1,this._activeTrigger[Va]=!1,this._activeTrigger[ao]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),ne.trigger(this._element,this.constructor.eventName(Fw)))};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(Fa,ui),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=PS(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(Fa),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Iw({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Rw]: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(Fa)}_isShown(){return this.tip&&this.tip.classList.contains(ui)}_createPopper(e){const t=yt(this._config.placement,[this,e,this._element]),r=Yw[t.toUpperCase()];return Us(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 yt(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,...yt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")ne.on(this._element,this.constructor.eventName(Uw),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Bw){const r=t===ao?this.constructor.eventName(Kw):this.constructor.eventName(jw),o=t===ao?this.constructor.eventName(Gw):this.constructor.eventName(Ww);ne.on(this._element,r,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusin"?Va:ao]=!0,s._enter()}),ne.on(this._element,o,this._config.selector,i=>{const s=this._initializeOnDelegatedTarget(i);s._activeTrigger[i.type==="focusout"?Va:ao]=s._element.contains(i.relatedTarget),s._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},ne.on(this._element.closest(af),lf,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=yn.getDataAttributes(this._element);for(const r of Object.keys(t))_w.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:$n(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=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}Vt(yr);const Xw="popover",Qw=".popover-header",qw=".popover-body",ex={...yr.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"},tx={...yr.DefaultType,content:"(null|string|element|function)"};class _c extends yr{static get Default(){return ex}static get DefaultType(){return tx}static get NAME(){return Xw}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Qw]:this._getTitle(),[qw]: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]()}})}}Vt(_c);const nx="scrollspy",rx="bs.scrollspy",Lc=`.${rx}`,ox=".data-api",ix=`activate${Lc}`,cf=`click${Lc}`,sx=`load${Lc}${ox}`,ax="dropdown-item",kr="active",lx='[data-bs-spy="scroll"]',za="[href]",cx=".nav, .list-group",uf=".nav-link",ux=".nav-item",dx=".list-group-item",fx=`${uf}, ${ux} > ${uf}, ${dx}`,hx=".dropdown",px=".dropdown-toggle",mx={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},gx={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Zs 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 mx}static get DefaultType(){return gx}static get NAME(){return nx}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=$n(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&&(ne.off(this._config.target,cf),ne.on(this._config.target,cf,za,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=ye.find(za,this._config.target);for(const t of e){if(!t.hash||Fn(t))continue;const r=ye.findOne(decodeURI(t.hash),this._element);ro(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(kr),this._activateParents(e),ne.trigger(this._element,ix,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(ax)){ye.findOne(px,e.closest(hx)).classList.add(kr);return}for(const t of ye.parents(e,cx))for(const r of ye.prev(t,fx))r.classList.add(kr)}_clearActiveClass(e){e.classList.remove(kr);const t=ye.find(`${za}.${kr}`,e);for(const r of t)r.classList.remove(kr)}static jQueryInterface(e){return this.each(function(){const t=Zs.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]()}})}}ne.on(window,sx,()=>{for(const n of ye.find(lx))Zs.getOrCreateInstance(n)});Vt(Zs);const vx="tab",yx="bs.tab",br=`.${yx}`,bx=`hide${br}`,Ex=`hidden${br}`,Cx=`show${br}`,Sx=`shown${br}`,wx=`click${br}`,xx=`keydown${br}`,Tx=`load${br}`,kx="ArrowLeft",df="ArrowRight",Ax="ArrowUp",ff="ArrowDown",nr="active",hf="fade",Ha="show",Ox="dropdown",Mx=".dropdown-toggle",Nx=".dropdown-menu",Ua=":not(.dropdown-toggle)",Ix='.list-group, .nav, [role="tablist"]',Dx=".nav-item, .list-group-item",_x=`.nav-link${Ua}, .list-group-item${Ua}, [role="tab"]${Ua}`,_m='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ja=`${_x}, ${_m}`,Lx=`.${nr}[data-bs-toggle="tab"], .${nr}[data-bs-toggle="pill"], .${nr}[data-bs-toggle="list"]`;class qr extends Gt{constructor(e){super(e),this._parent=this._element.closest(Ix),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),ne.on(this._element,xx,t=>this._keydown(t)))}static get NAME(){return vx}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?ne.trigger(t,bx,{relatedTarget:e}):null;ne.trigger(e,Cx,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(nr),this._activate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(Ha);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),ne.trigger(e,Sx,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(hf))}_deactivate(e,t){if(!e)return;e.classList.remove(nr),e.blur(),this._deactivate(ye.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(Ha);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),ne.trigger(e,Ex,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(hf))}_keydown(e){if(![kx,df,Ax,ff].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[df,ff].includes(e.key),r=Nc(this._getChildren().filter(o=>!Fn(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),qr.getOrCreateInstance(r).show())}_getChildren(){return ye.find(ja,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=ye.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(Ox))return;const o=(i,s)=>{const l=ye.findOne(i,r);l&&l.classList.toggle(s,t)};o(Mx,nr),o(Nx,Ha),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(nr)}_getInnerElement(e){return e.matches(ja)?e:ye.findOne(ja,e)}_getOuterElement(e){return e.closest(Dx)||e}static jQueryInterface(e){return this.each(function(){const t=qr.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}ne.on(document,wx,_m,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!Fn(this)&&qr.getOrCreateInstance(this).show()});ne.on(window,Tx,()=>{for(const n of ye.find(Lx))qr.getOrCreateInstance(n)});Vt(qr);const Rx="toast",Px="bs.toast",Kn=`.${Px}`,Bx=`mouseover${Kn}`,$x=`mouseout${Kn}`,Fx=`focusin${Kn}`,Vx=`focusout${Kn}`,zx=`hide${Kn}`,Hx=`hidden${Kn}`,Ux=`show${Kn}`,jx=`shown${Kn}`,Wx="fade",pf="hide",di="show",fi="showing",Kx={animation:"boolean",autohide:"boolean",delay:"number"},Gx={animation:!0,autohide:!0,delay:5e3};class Jo extends Gt{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Gx}static get DefaultType(){return Kx}static get NAME(){return Rx}show(){if(ne.trigger(this._element,Ux).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Wx);const t=()=>{this._element.classList.remove(fi),ne.trigger(this._element,jx),this._maybeScheduleHide()};this._element.classList.remove(pf),Wo(this._element),this._element.classList.add(di,fi),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||ne.trigger(this._element,zx).defaultPrevented)return;const t=()=>{this._element.classList.add(pf),this._element.classList.remove(fi,di),ne.trigger(this._element,Hx)};this._element.classList.add(fi),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(di),super.dispose()}isShown(){return this._element.classList.contains(di)}_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(){ne.on(this._element,Bx,e=>this._onInteraction(e,!0)),ne.on(this._element,$x,e=>this._onInteraction(e,!1)),ne.on(this._element,Fx,e=>this._onInteraction(e,!0)),ne.on(this._element,Vx,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=Jo.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}Gs(Jo);Vt(Jo);const Yx=n=>{const e=f.ref(null);return{showModal:()=>{const o=document.getElementById(n);o instanceof HTMLElement?(e.value||(e.value=new mr(o,{})),e.value.show()):console.error(`Modal '${n}' niet gevonden.`)},closeModal:()=>{e.value&&e.value.hide()}}};function Jx(n=void 0){const e=l=>i("Succesvol",l,Lr.SUCCESS),t=l=>i("Waarschuwing",l,Lr.WARNING),r=l=>i("Informatie",l,Lr.INFO),o=l=>i("Mislukt",l,Lr.DANGER);function i(l,a,c){const u=`toast-${If()}`,d={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 m=f.h(Hl,d),g=f.createApp({render:()=>m}).mount(document.createElement("div"));h.appendChild(g.$el);const v=document.querySelector(`#${u}`);v&&(Jo.getOrCreateInstance(v,n).show(),s(v))}function s(l){function a(d,h){d.forEach(m=>{if(m.attributeName!="class")return;const p=m.target;if(p.classList.contains("hide")){p.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 Lm={mounted:n=>{new yr(n)}},Zx={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"},lt=f.defineComponent({__name:"BDButton",props:{size:{default:at.MD},variant:{default:Zx.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=f.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=f.computed(()=>t.to?zr:"button"),i=f.computed(()=>{const l={};return t.to?(l.to=t.to,l.role="button"):l.type="submit",l}),s=()=>{e("click")};return(l,a)=>(f.openBlock(),f.createBlock(f.resolveDynamicComponent(o.value),f.mergeProps({class:["bd-btn",r.value]},i.value,{onClick:s}),{default:f.withCtx(()=>[f.renderSlot(l.$slots,"default",{},()=>[f.createTextVNode(f.toDisplayString(t.text),1)])]),_:3},16,["class"]))}}),Xx={install:n=>{n.component("BDCol",mf),n.component("BDContainer",gf),n.component("BDRow",vf),n.component("BDButton",lt),n.component("BDLogo",Vl),n.component("BDLink",zr),n.component("BDDropdownItem",wi),n.component("BDDropdown",Mc),n.component("BDAlert",Af),n.component("BDProfileImage",Fo),n.component("BDZoomslider",Mf),n.component("BDCard",zl),n.component("BDCollapsableCard",Df),n.component("BDFormInput",Lf),n.component("BDInputGroup",Rf),n.component("BDFormInvalidFeedback",As),n.component("BDBadge",Pf),n.component("BDForm",Bf),n.component("BDPagination",$f),n.component("BDDropzone",Uf),n.component("BDMarkdownEditor",tm),n.component("BDModal",im),n.component("BDFormSelect",Ff),n.component("BDUser",nm),n.component("BDArticle",zf),n.component("BDFormCheckbox",Vf),n.component("BDToast",Hl),n.component("BDAttachmentPreviewList",Ws),n.component("BDImageAttachmentPreviewList",Ks),n.component("BDHeader",om),n.component("BDMobileMenu",Oc),n.component("BDChatCloud",rm),n.component("IconAcademy",yf),n.component("IconArrowDown",bf),n.component("IconArrowUp",Ef),n.component("IconAttachment",cr),n.component("IconBold",Nl),n.component("IconBulletList",Il),n.component("IconCalendar",Wa),n.component("IconCalendar",Wa),n.component("IconCardView",Cf),n.component("IconCaretDown",Dl),n.component("IconCaretLeft",_l),n.component("IconCaretRight",Ll),n.component("IconCheck",Bo),n.component("IconClose",ws),n.component("IconDownloadImage",Ei),n.component("IconDownloadImage",Ei),n.component("IconEdit",Sf),n.component("IconError",xs),n.component("IconEyeShow",wf),n.component("IconEyeSlash",xf),n.component("IconFile",Rl),n.component("IconHyperlink",Pl),n.component("IconInfo",Ts),n.component("IconItalic",Bl),n.component("IconListView",Tf),n.component("IconMenu",Ci),n.component("IconMenu",Ci),n.component("IconOrderedList",$l),n.component("IconRemove",$o),n.component("IconUnderline",Fl),n.component("IconTriangleExclamation",kf),n.directive("vBDTooltip",Lm)}};exports.BDAlert=Af;exports.BDArticle=zf;exports.BDAttachmentPreviewList=Ws;exports.BDBadge=Pf;exports.BDButton=lt;exports.BDCard=zl;exports.BDChatCloud=rm;exports.BDCol=mf;exports.BDCollapsableCard=Df;exports.BDContainer=gf;exports.BDDropdown=Mc;exports.BDDropdownItem=wi;exports.BDDropzone=Uf;exports.BDForm=Bf;exports.BDFormCheckbox=Vf;exports.BDFormInput=Lf;exports.BDFormInvalidFeedback=As;exports.BDFormSelect=Ff;exports.BDHeader=om;exports.BDImageAttachmentPreviewList=Ks;exports.BDInputGroup=Rf;exports.BDLink=zr;exports.BDLogo=Vl;exports.BDMarkdownEditor=tm;exports.BDMobileMenu=Oc;exports.BDModal=im;exports.BDPagination=$f;exports.BDProfileImage=Fo;exports.BDRow=vf;exports.BDToast=Hl;exports.BDUser=nm;exports.BDZoomslider=Mf;exports.IconAcademy=yf;exports.IconArrowDown=bf;exports.IconArrowUp=Ef;exports.IconAttachment=cr;exports.IconBold=Nl;exports.IconBulletList=Il;exports.IconCalendar=Wa;exports.IconCardView=Cf;exports.IconCaretDown=Dl;exports.IconCaretLeft=_l;exports.IconCaretRight=Ll;exports.IconCheck=Bo;exports.IconClose=ws;exports.IconDownloadImage=Ei;exports.IconEdit=Sf;exports.IconError=xs;exports.IconEyeShow=wf;exports.IconEyeSlash=xf;exports.IconFile=Rl;exports.IconHyperlink=Pl;exports.IconInfo=Ts;exports.IconItalic=Bl;exports.IconListView=Tf;exports.IconMenu=Ci;exports.IconOrderedList=$l;exports.IconRemove=$o;exports.IconTriangleExclamation=kf;exports.IconUnderline=Fl;exports.default=Xx;exports.useModal=Yx;exports.useToaster=Jx;exports.vBdTooltip=Lm;