@beterdichtbij/component-library 0.45.1 → 0.45.2

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.
@@ -179,7 +179,7 @@ img.ProseMirror-separator {
179
179
  * Bootstrap v5.3.0 (https://getbootstrap.com/)
180
180
  * Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
181
181
  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
182
- */const tr=new Map,Jl={set(n,e,t){tr.has(n)||tr.set(n,new Map);const r=tr.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 tr.has(n)&&tr.get(n).get(e)||null},remove(n,e){if(!tr.has(n))return;const t=tr.get(n);t.delete(e),t.size===0&&tr.delete(n)}},GS=1e6,QS=1e3,Gc="transitionend",d2=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),ZS=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),JS=n=>{do n+=Math.floor(Math.random()*GS);while(document.getElementById(n));return n},XS=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))*QS)},f2=n=>{n.dispatchEvent(new Event(Gc))},Wn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),gr=n=>Wn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(d2(n)):null,qo=n=>{if(!Wn(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},vr=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",h2=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?h2(n.parentNode):null},xa=()=>{},Gs=n=>{n.offsetHeight},p2=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Xl=[],qS=n=>{document.readyState==="loading"?(Xl.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Xl)e()}),Xl.push(n)):n()},on=()=>document.documentElement.dir==="rtl",an=n=>{qS(()=>{const e=p2();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)}})},Bt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,m2=(n,e,t=!0)=>{if(!t){Bt(n);return}const r=5,o=XS(e)+r;let s=!1;const i=({target:l})=>{l===e&&(s=!0,e.removeEventListener(Gc,i),Bt(n))};e.addEventListener(Gc,i),setTimeout(()=>{s||f2(e)},o)},md=(n,e,t,r)=>{const o=n.length;let s=n.indexOf(e);return s===-1?!t&&r?n[o-1]:n[0]:(s+=t?1:-1,r&&(s=(s+o)%o),n[Math.max(0,Math.min(s,o-1))])},ek=/[^.]*(?=\..*)\.|.*/,tk=/\..*/,nk=/::\d+$/,ql={};let Fh=1;const g2={mouseenter:"mouseover",mouseleave:"mouseout"},rk=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 v2(n,e){return e&&`${e}::${Fh++}`||n.uidEvent||Fh++}function y2(n){const e=v2(n);return n.uidEvent=e,ql[e]=ql[e]||{},ql[e]}function ok(n,e){return function t(r){return gd(r,{delegateTarget:n}),t.oneOff&&le.off(n,r.type,e),e.apply(n,[r])}}function sk(n,e,t){return function r(o){const s=n.querySelectorAll(e);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return gd(o,{delegateTarget:i}),r.oneOff&&le.off(n,o.type,e,t),t.apply(i,[o])}}function E2(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function C2(n,e,t){const r=typeof e=="string",o=r?t:e||t;let s=b2(n);return rk.has(s)||(s=n),[r,o,s]}function Vh(n,e,t,r,o){if(typeof e!="string"||!n)return;let[s,i,l]=C2(e,t,r);e in g2&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const a=y2(n),u=a[l]||(a[l]={}),d=E2(u,i,s?t:null);if(d){d.oneOff=d.oneOff&&o;return}const f=v2(i,e.replace(ek,"")),h=s?sk(n,t,i):ok(n,i);h.delegationSelector=s?t:null,h.callable=i,h.oneOff=o,h.uidEvent=f,u[f]=h,n.addEventListener(l,h,s)}function Qc(n,e,t,r,o){const s=E2(e[t],r,o);s&&(n.removeEventListener(t,s,!!o),delete e[t][s.uidEvent])}function ik(n,e,t,r){const o=e[t]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&Qc(n,e,t,i.callable,i.delegationSelector)}function b2(n){return n=n.replace(tk,""),g2[n]||n}const le={on(n,e,t,r){Vh(n,e,t,r,!1)},one(n,e,t,r){Vh(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,s,i]=C2(e,t,r),l=i!==e,a=y2(n),u=a[i]||{},d=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Qc(n,a,i,s,o?t:null);return}if(d)for(const f of Object.keys(a))ik(n,a,f,e.slice(1));for(const[f,h]of Object.entries(u)){const p=f.replace(nk,"");(!l||e.includes(p))&&Qc(n,a,i,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=p2(),o=b2(e),s=e!==o;let i=null,l=!0,a=!0,u=!1;s&&r&&(i=r.Event(e,t),r(n).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const d=gd(new Event(e,{bubbles:l,cancelable:!0}),t);return u&&d.preventDefault(),a&&n.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function gd(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 $h(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 ec(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Kn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${ec(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${ec(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]=$h(n.dataset[r])}return e},getDataAttribute(n,e){return $h(n.getAttribute(`data-bs-${ec(e)}`))}};class Qs{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=Wn(t)?Kn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Wn(t)?Kn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const s=e[r],i=Wn(s)?"element":ZS(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}const ak="5.3.0";class vn extends Qs{constructor(e,t){super(),e=gr(e),e&&(this._element=e,this._config=this._getConfig(t),Jl.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Jl.remove(this._element,this.constructor.DATA_KEY),le.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){m2(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Jl.get(gr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return ak}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 tc=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 d2(e)},Ie={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=>!vr(t)&&qo(t))},getSelectorFromElement(n){const e=tc(n);return e&&Ie.findOne(e)?e:null},getElementFromSelector(n){const e=tc(n);return e?Ie.findOne(e):null},getMultipleElementsFromSelector(n){const e=tc(n);return e?Ie.find(e):[]}},il=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;le.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),vr(this))return;const s=Ie.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[e]()})},lk="alert",ck="bs.alert",A2=`.${ck}`,uk=`close${A2}`,dk=`closed${A2}`,fk="fade",hk="show";class al extends vn{static get NAME(){return lk}close(){if(le.trigger(this._element,uk).defaultPrevented)return;this._element.classList.remove(hk);const t=this._element.classList.contains(fk);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),le.trigger(this._element,dk),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=al.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)}})}}il(al,"close");an(al);const pk="button",mk="bs.button",gk=`.${mk}`,vk=".data-api",yk="active",Uh='[data-bs-toggle="button"]',Ek=`click${gk}${vk}`;class ll extends vn{static get NAME(){return pk}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(yk))}static jQueryInterface(e){return this.each(function(){const t=ll.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}le.on(document,Ek,Uh,n=>{n.preventDefault();const e=n.target.closest(Uh);ll.getOrCreateInstance(e).toggle()});an(ll);const Ck="swipe",es=".bs.swipe",bk=`touchstart${es}`,Ak=`touchmove${es}`,wk=`touchend${es}`,Tk=`pointerdown${es}`,Sk=`pointerup${es}`,kk="touch",_k="pen",xk="pointer-event",Nk=40,Ik={endCallback:null,leftCallback:null,rightCallback:null},Mk={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Na extends Qs{constructor(e,t){super(),this._element=e,!(!e||!Na.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ik}static get DefaultType(){return Mk}static get NAME(){return Ck}dispose(){le.off(this._element,es)}_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(),Bt(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<=Nk)return;const t=e/this._deltaX;this._deltaX=0,t&&Bt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(le.on(this._element,Tk,e=>this._start(e)),le.on(this._element,Sk,e=>this._end(e)),this._element.classList.add(xk)):(le.on(this._element,bk,e=>this._start(e)),le.on(this._element,Ak,e=>this._move(e)),le.on(this._element,wk,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===_k||e.pointerType===kk)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Ok="carousel",Lk="bs.carousel",Tr=`.${Lk}`,w2=".data-api",Dk="ArrowLeft",Rk="ArrowRight",Bk=500,ss="next",mo="prev",Ao="left",ki="right",Pk=`slide${Tr}`,nc=`slid${Tr}`,Fk=`keydown${Tr}`,Vk=`mouseenter${Tr}`,$k=`mouseleave${Tr}`,Uk=`dragstart${Tr}`,zk=`load${Tr}${w2}`,Hk=`click${Tr}${w2}`,T2="carousel",hi="active",jk="slide",Wk="carousel-item-end",Kk="carousel-item-start",Yk="carousel-item-next",Gk="carousel-item-prev",S2=".active",k2=".carousel-item",Qk=S2+k2,Zk=".carousel-item img",Jk=".carousel-indicators",Xk="[data-bs-slide], [data-bs-slide-to]",qk='[data-bs-ride="carousel"]',e_={[Dk]:ki,[Rk]:Ao},t_={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},n_={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Zs extends vn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ie.findOne(Jk,this._element),this._addEventListeners(),this._config.ride===T2&&this.cycle()}static get Default(){return t_}static get DefaultType(){return n_}static get NAME(){return Ok}next(){this._slide(ss)}nextWhenVisible(){!document.hidden&&qo(this._element)&&this.next()}prev(){this._slide(mo)}pause(){this._isSliding&&f2(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){le.one(this._element,nc,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){le.one(this._element,nc,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?ss:mo;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&&le.on(this._element,Fk,e=>this._keydown(e)),this._config.pause==="hover"&&(le.on(this._element,Vk,()=>this.pause()),le.on(this._element,$k,()=>this._maybeEnableCycle())),this._config.touch&&Na.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Ie.find(Zk,this._element))le.on(r,Uk,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Ao)),rightCallback:()=>this._slide(this._directionToOrder(ki)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Bk+this._config.interval))}};this._swipeHelper=new Na(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=e_[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=Ie.findOne(S2,this._indicatorsElement);t.classList.remove(hi),t.removeAttribute("aria-current");const r=Ie.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(hi),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===ss,s=t||md(this._getItems(),r,o,this._config.wrap);if(s===r)return;const i=this._getItemIndex(s),l=p=>le.trigger(this._element,p,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:i});if(l(Pk).defaultPrevented||!r||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=s;const d=o?Kk:Wk,f=o?Yk:Gk;s.classList.add(f),Gs(s),r.classList.add(d),s.classList.add(d);const h=()=>{s.classList.remove(d,f),s.classList.add(hi),r.classList.remove(hi,f,d),this._isSliding=!1,l(nc)};this._queueCallback(h,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(jk)}_getActive(){return Ie.findOne(Qk,this._element)}_getItems(){return Ie.find(k2,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return on()?e===Ao?mo:ss:e===Ao?ss:mo}_orderToDirection(e){return on()?e===mo?Ao:ki:e===mo?ki:Ao}static jQueryInterface(e){return this.each(function(){const t=Zs.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]()}})}}le.on(document,Hk,Xk,function(n){const e=Ie.getElementFromSelector(this);if(!e||!e.classList.contains(T2))return;n.preventDefault();const t=Zs.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Kn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});le.on(window,zk,()=>{const n=Ie.find(qk);for(const e of n)Zs.getOrCreateInstance(e)});an(Zs);const r_="collapse",o_="bs.collapse",Js=`.${o_}`,s_=".data-api",i_=`show${Js}`,a_=`shown${Js}`,l_=`hide${Js}`,c_=`hidden${Js}`,u_=`click${Js}${s_}`,rc="show",xo="collapse",pi="collapsing",d_="collapsed",f_=`:scope .${xo} .${xo}`,h_="collapse-horizontal",p_="width",m_="height",g_=".collapse.show, .collapse.collapsing",Zc='[data-bs-toggle="collapse"]',v_={parent:null,toggle:!0},y_={parent:"(null|element)",toggle:"boolean"};class Ps extends vn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Ie.find(Zc);for(const o of r){const s=Ie.getSelectorFromElement(o),i=Ie.find(s).filter(l=>l===this._element);s!==null&&i.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 v_}static get DefaultType(){return y_}static get NAME(){return r_}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(g_).filter(l=>l!==this._element).map(l=>Ps.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||le.trigger(this._element,i_).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(xo),this._element.classList.add(pi),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(pi),this._element.classList.add(xo,rc),this._element.style[r]="",le.trigger(this._element,a_)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||le.trigger(this._element,l_).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Gs(this._element),this._element.classList.add(pi),this._element.classList.remove(xo,rc);for(const o of this._triggerArray){const s=Ie.getElementFromSelector(o);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(pi),this._element.classList.add(xo),le.trigger(this._element,c_)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(rc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=gr(e.parent),e}_getDimension(){return this._element.classList.contains(h_)?p_:m_}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Zc);for(const t of e){const r=Ie.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Ie.find(f_,this._config.parent);return Ie.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(d_,!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=Ps.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}le.on(document,u_,Zc,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Ie.getMultipleElementsFromSelector(this))Ps.getOrCreateInstance(e,{toggle:!1}).toggle()});an(Ps);const zh="dropdown",E_="bs.dropdown",ao=`.${E_}`,vd=".data-api",C_="Escape",Hh="Tab",b_="ArrowUp",jh="ArrowDown",A_=2,w_=`hide${ao}`,T_=`hidden${ao}`,S_=`show${ao}`,k_=`shown${ao}`,_2=`click${ao}${vd}`,x2=`keydown${ao}${vd}`,__=`keyup${ao}${vd}`,wo="show",x_="dropup",N_="dropend",I_="dropstart",M_="dropup-center",O_="dropdown-center",$r='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',L_=`${$r}.${wo}`,_i=".dropdown-menu",D_=".navbar",R_=".navbar-nav",B_=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",P_=on()?"top-end":"top-start",F_=on()?"top-start":"top-end",V_=on()?"bottom-end":"bottom-start",$_=on()?"bottom-start":"bottom-end",U_=on()?"left-start":"right-start",z_=on()?"right-start":"left-start",H_="top",j_="bottom",W_={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},K_={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Nn extends vn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Ie.next(this._element,_i)[0]||Ie.prev(this._element,_i)[0]||Ie.findOne(_i,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return W_}static get DefaultType(){return K_}static get NAME(){return zh}toggle(){return this._isShown()?this.hide():this.show()}show(){if(vr(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!le.trigger(this._element,S_,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(R_))for(const r of[].concat(...document.body.children))le.on(r,"mouseover",xa);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(wo),this._element.classList.add(wo),le.trigger(this._element,k_,e)}}hide(){if(vr(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(!le.trigger(this._element,w_,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))le.off(r,"mouseover",xa);this._popper&&this._popper.destroy(),this._menu.classList.remove(wo),this._element.classList.remove(wo),this._element.setAttribute("aria-expanded","false"),Kn.removeDataAttribute(this._menu,"popper"),le.trigger(this._element,T_,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Wn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${zh.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof K0>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Wn(this._config.reference)?e=gr(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=nl(e,this._menu,t)}_isShown(){return this._menu.classList.contains(wo)}_getPlacement(){const e=this._parent;if(e.classList.contains(N_))return U_;if(e.classList.contains(I_))return z_;if(e.classList.contains(M_))return H_;if(e.classList.contains(O_))return j_;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(x_)?t?F_:P_:t?$_:V_}_detectNavbar(){return this._element.closest(D_)!==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")&&(Kn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Bt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Ie.find(B_,this._menu).filter(o=>qo(o));r.length&&md(r,t,e===jh,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Nn.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===A_||e.type==="keyup"&&e.key!==Hh)return;const t=Ie.find(L_);for(const r of t){const o=Nn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const s=e.composedPath(),i=s.includes(o._menu);if(s.includes(o._element)||o._config.autoClose==="inside"&&!i||o._config.autoClose==="outside"&&i||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Hh||/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===C_,o=[b_,jh].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const s=this.matches($r)?this:Ie.prev(this,$r)[0]||Ie.next(this,$r)[0]||Ie.findOne($r,e.delegateTarget.parentNode),i=Nn.getOrCreateInstance(s);if(o){e.stopPropagation(),i.show(),i._selectMenuItem(e);return}i._isShown()&&(e.stopPropagation(),i.hide(),s.focus())}}le.on(document,x2,$r,Nn.dataApiKeydownHandler);le.on(document,x2,_i,Nn.dataApiKeydownHandler);le.on(document,_2,Nn.clearMenus);le.on(document,__,Nn.clearMenus);le.on(document,_2,$r,function(n){n.preventDefault(),Nn.getOrCreateInstance(this).toggle()});an(Nn);const N2="backdrop",Y_="fade",Wh="show",Kh=`mousedown.bs.${N2}`,G_={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Q_={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class I2 extends Qs{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return G_}static get DefaultType(){return Q_}static get NAME(){return N2}show(e){if(!this._config.isVisible){Bt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Gs(t),t.classList.add(Wh),this._emulateAnimation(()=>{Bt(e)})}hide(e){if(!this._config.isVisible){Bt(e);return}this._getElement().classList.remove(Wh),this._emulateAnimation(()=>{this.dispose(),Bt(e)})}dispose(){this._isAppended&&(le.off(this._element,Kh),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(Y_),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=gr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),le.on(e,Kh,()=>{Bt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){m2(e,this._getElement(),this._config.isAnimated)}}const Z_="focustrap",J_="bs.focustrap",Ia=`.${J_}`,X_=`focusin${Ia}`,q_=`keydown.tab${Ia}`,ex="Tab",tx="forward",Yh="backward",nx={autofocus:!0,trapElement:null},rx={autofocus:"boolean",trapElement:"element"};class M2 extends Qs{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return nx}static get DefaultType(){return rx}static get NAME(){return Z_}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),le.off(document,Ia),le.on(document,X_,e=>this._handleFocusin(e)),le.on(document,q_,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,le.off(document,Ia))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Ie.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Yh?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===ex&&(this._lastTabNavDirection=e.shiftKey?Yh:tx)}}const Gh=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qh=".sticky-top",mi="padding-right",Zh="margin-right";class Jc{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,mi,t=>t+e),this._setElementAttributes(Gh,mi,t=>t+e),this._setElementAttributes(Qh,Zh,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,mi),this._resetElementAttributes(Gh,mi),this._resetElementAttributes(Qh,Zh)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),s=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+o)return;this._saveInitialAttribute(i,t);const l=window.getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Kn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const s=Kn.getDataAttribute(o,t);if(s===null){o.style.removeProperty(t);return}Kn.removeDataAttribute(o,t),o.style.setProperty(t,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(Wn(e)){t(e);return}for(const r of Ie.find(e,this._element))t(r)}}const ox="modal",sx="bs.modal",sn=`.${sx}`,ix=".data-api",ax="Escape",lx=`hide${sn}`,cx=`hidePrevented${sn}`,O2=`hidden${sn}`,L2=`show${sn}`,ux=`shown${sn}`,dx=`resize${sn}`,fx=`click.dismiss${sn}`,hx=`mousedown.dismiss${sn}`,px=`keydown.dismiss${sn}`,mx=`click${sn}${ix}`,Jh="modal-open",gx="fade",Xh="show",oc="modal-static",vx=".modal.show",yx=".modal-dialog",Ex=".modal-body",Cx='[data-bs-toggle="modal"]',bx={backdrop:!0,focus:!0,keyboard:!0},Ax={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class yr extends vn{constructor(e,t){super(e,t),this._dialog=Ie.findOne(yx,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Jc,this._addEventListeners()}static get Default(){return bx}static get DefaultType(){return Ax}static get NAME(){return ox}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||le.trigger(this._element,L2,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Jh),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||le.trigger(this._element,lx).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Xh),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){le.off(window,sn),le.off(this._dialog,sn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new I2({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new M2({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=Ie.findOne(Ex,this._dialog);t&&(t.scrollTop=0),Gs(this._element),this._element.classList.add(Xh);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,le.trigger(this._element,ux,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){le.on(this._element,px,e=>{if(e.key===ax){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),le.on(window,dx,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),le.on(this._element,hx,e=>{le.one(this._element,fx,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(Jh),this._resetAdjustments(),this._scrollBar.reset(),le.trigger(this._element,O2)})}_isAnimated(){return this._element.classList.contains(gx)}_triggerBackdropTransition(){if(le.trigger(this._element,cx).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(oc)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(oc),this._queueCallback(()=>{this._element.classList.remove(oc),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=on()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=on()?"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=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}le.on(document,mx,Cx,function(n){const e=Ie.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),le.one(e,L2,o=>{o.defaultPrevented||le.one(e,O2,()=>{qo(this)&&this.focus()})});const t=Ie.findOne(vx);t&&yr.getInstance(t).hide(),yr.getOrCreateInstance(e).toggle(this)});il(yr);an(yr);const wx="offcanvas",Tx="bs.offcanvas",Qn=`.${Tx}`,D2=".data-api",Sx=`load${Qn}${D2}`,kx="Escape",qh="show",ep="showing",tp="hiding",_x="offcanvas-backdrop",R2=".offcanvas.show",xx=`show${Qn}`,Nx=`shown${Qn}`,Ix=`hide${Qn}`,np=`hidePrevented${Qn}`,B2=`hidden${Qn}`,Mx=`resize${Qn}`,Ox=`click${Qn}${D2}`,Lx=`keydown.dismiss${Qn}`,Dx='[data-bs-toggle="offcanvas"]',Rx={backdrop:!0,keyboard:!0,scroll:!1},Bx={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Er extends vn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Rx}static get DefaultType(){return Bx}static get NAME(){return wx}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||le.trigger(this._element,xx,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Jc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ep);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(qh),this._element.classList.remove(ep),le.trigger(this._element,Nx,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||le.trigger(this._element,Ix).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(tp),this._backdrop.hide();const t=()=>{this._element.classList.remove(qh,tp),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Jc().reset(),le.trigger(this._element,B2)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){le.trigger(this._element,np);return}this.hide()},t=!!this._config.backdrop;return new I2({className:_x,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new M2({trapElement:this._element})}_addEventListeners(){le.on(this._element,Lx,e=>{if(e.key===kx){if(this._config.keyboard){this.hide();return}le.trigger(this._element,np)}})}static jQueryInterface(e){return this.each(function(){const t=Er.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)}})}}le.on(document,Ox,Dx,function(n){const e=Ie.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),vr(this))return;le.one(e,B2,()=>{qo(this)&&this.focus()});const t=Ie.findOne(R2);t&&t!==e&&Er.getInstance(t).hide(),Er.getOrCreateInstance(e).toggle(this)});le.on(window,Sx,()=>{for(const n of Ie.find(R2))Er.getOrCreateInstance(n).show()});le.on(window,Mx,()=>{for(const n of Ie.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Er.getOrCreateInstance(n).hide()});il(Er);an(Er);const Px=/^aria-[\w-]*$/i,P2={"*":["class","dir","id","lang","role",Px],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:[]},Fx=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Vx=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,$x=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?Fx.has(t)?!!Vx.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function Ux(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"),s=[].concat(...o.body.querySelectorAll("*"));for(const i of s){const l=i.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),u=[].concat(e["*"]||[],e[l]||[]);for(const d of a)$x(d,u)||i.removeAttribute(d.nodeName)}return o.body.innerHTML}const zx="TemplateFactory",Hx={allowList:P2,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},jx={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Wx={entry:"(string|element|function|null)",selector:"(string|element)"};class Kx extends Qs{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Hx}static get DefaultType(){return jx}static get NAME(){return zx}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,s]of Object.entries(this._config.content))this._setContent(e,s,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},Wx)}_setContent(e,t,r){const o=Ie.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(Wn(t)){this._putElementInTemplate(gr(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Ux(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Bt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const Yx="tooltip",Gx=new Set(["sanitize","allowList","sanitizeFn"]),sc="fade",Qx="modal",gi="show",Zx=".tooltip-inner",rp=`.${Qx}`,op="hide.bs.modal",is="hover",ic="focus",Jx="click",Xx="manual",qx="hide",eN="hidden",tN="show",nN="shown",rN="inserted",oN="click",sN="focusin",iN="focusout",aN="mouseenter",lN="mouseleave",cN={AUTO:"auto",TOP:"top",RIGHT:on()?"left":"right",BOTTOM:"bottom",LEFT:on()?"right":"left"},uN={allowList:P2,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"},dN={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 _n extends vn{constructor(e,t){if(typeof K0>"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 uN}static get DefaultType(){return dN}static get NAME(){return Yx}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),le.off(this._element.closest(rp),op,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=le.trigger(this._element,this.constructor.eventName(tN)),r=(h2(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:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),le.trigger(this._element,this.constructor.eventName(rN))),this._popper=this._createPopper(o),o.classList.add(gi),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))le.on(l,"mouseover",xa);const i=()=>{le.trigger(this._element,this.constructor.eventName(nN)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||le.trigger(this._element,this.constructor.eventName(qx)).defaultPrevented)return;if(this._getTipElement().classList.remove(gi),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))le.off(o,"mouseover",xa);this._activeTrigger[Jx]=!1,this._activeTrigger[ic]=!1,this._activeTrigger[is]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),le.trigger(this._element,this.constructor.eventName(eN)))};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(sc,gi),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=JS(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(sc),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Kx({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Zx]: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(sc)}_isShown(){return this.tip&&this.tip.classList.contains(gi)}_createPopper(e){const t=Bt(this._config.placement,[this,e,this._element]),r=cN[t.toUpperCase()];return nl(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 Bt(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,...Bt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")le.on(this._element,this.constructor.eventName(oN),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Xx){const r=t===is?this.constructor.eventName(aN):this.constructor.eventName(sN),o=t===is?this.constructor.eventName(lN):this.constructor.eventName(iN);le.on(this._element,r,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusin"?ic:is]=!0,i._enter()}),le.on(this._element,o,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusout"?ic:is]=i._element.contains(s.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},le.on(this._element.closest(rp),op,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=Kn.getDataAttributes(this._element);for(const r of Object.keys(t))Gx.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:gr(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=_n.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}an(_n);const fN="popover",hN=".popover-header",pN=".popover-body",mN={..._n.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"},gN={..._n.DefaultType,content:"(null|string|element|function)"};class Ur extends _n{static get Default(){return mN}static get DefaultType(){return gN}static get NAME(){return fN}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[hN]:this._getTitle(),[pN]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=Ur.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}an(Ur);const vN="scrollspy",yN="bs.scrollspy",yd=`.${yN}`,EN=".data-api",CN=`activate${yd}`,sp=`click${yd}`,bN=`load${yd}${EN}`,AN="dropdown-item",go="active",wN='[data-bs-spy="scroll"]',ac="[href]",TN=".nav, .list-group",ip=".nav-link",SN=".nav-item",kN=".list-group-item",_N=`${ip}, ${SN} > ${ip}, ${kN}`,xN=".dropdown",NN=".dropdown-toggle",IN={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},MN={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class cl extends vn{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 IN}static get DefaultType(){return MN}static get NAME(){return vN}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=gr(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&&(le.off(this._config.target,sp),le.on(this._config.target,sp,ac,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=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(t(i))},o=(this._rootElement||document.documentElement).scrollTop,s=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&l){if(r(i),!o)return;continue}!s&&!l&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Ie.find(ac,this._config.target);for(const t of e){if(!t.hash||vr(t))continue;const r=Ie.findOne(decodeURI(t.hash),this._element);qo(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(go),this._activateParents(e),le.trigger(this._element,CN,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(AN)){Ie.findOne(NN,e.closest(xN)).classList.add(go);return}for(const t of Ie.parents(e,TN))for(const r of Ie.prev(t,_N))r.classList.add(go)}_clearActiveClass(e){e.classList.remove(go);const t=Ie.find(`${ac}.${go}`,e);for(const r of t)r.classList.remove(go)}static jQueryInterface(e){return this.each(function(){const t=cl.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]()}})}}le.on(window,bN,()=>{for(const n of Ie.find(wN))cl.getOrCreateInstance(n)});an(cl);const ON="tab",LN="bs.tab",lo=`.${LN}`,DN=`hide${lo}`,RN=`hidden${lo}`,BN=`show${lo}`,PN=`shown${lo}`,FN=`click${lo}`,VN=`keydown${lo}`,$N=`load${lo}`,UN="ArrowLeft",ap="ArrowRight",zN="ArrowUp",lp="ArrowDown",zr="active",cp="fade",lc="show",HN="dropdown",jN=".dropdown-toggle",WN=".dropdown-menu",cc=":not(.dropdown-toggle)",KN='.list-group, .nav, [role="tablist"]',YN=".nav-item, .list-group-item",GN=`.nav-link${cc}, .list-group-item${cc}, [role="tab"]${cc}`,F2='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',uc=`${GN}, ${F2}`,QN=`.${zr}[data-bs-toggle="tab"], .${zr}[data-bs-toggle="pill"], .${zr}[data-bs-toggle="list"]`;class jo extends vn{constructor(e){super(e),this._parent=this._element.closest(KN),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),le.on(this._element,VN,t=>this._keydown(t)))}static get NAME(){return ON}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?le.trigger(t,DN,{relatedTarget:e}):null;le.trigger(e,BN,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(zr),this._activate(Ie.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(lc);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),le.trigger(e,PN,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(cp))}_deactivate(e,t){if(!e)return;e.classList.remove(zr),e.blur(),this._deactivate(Ie.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(lc);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),le.trigger(e,RN,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(cp))}_keydown(e){if(![UN,ap,zN,lp].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[ap,lp].includes(e.key),r=md(this._getChildren().filter(o=>!vr(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),jo.getOrCreateInstance(r).show())}_getChildren(){return Ie.find(uc,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=Ie.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(HN))return;const o=(s,i)=>{const l=Ie.findOne(s,r);l&&l.classList.toggle(i,t)};o(jN,zr),o(WN,lc),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(zr)}_getInnerElement(e){return e.matches(uc)?e:Ie.findOne(uc,e)}_getOuterElement(e){return e.closest(YN)||e}static jQueryInterface(e){return this.each(function(){const t=jo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}le.on(document,FN,F2,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!vr(this)&&jo.getOrCreateInstance(this).show()});le.on(window,$N,()=>{for(const n of Ie.find(QN))jo.getOrCreateInstance(n)});an(jo);const ZN="toast",JN="bs.toast",Sr=`.${JN}`,XN=`mouseover${Sr}`,qN=`mouseout${Sr}`,eI=`focusin${Sr}`,tI=`focusout${Sr}`,nI=`hide${Sr}`,rI=`hidden${Sr}`,oI=`show${Sr}`,sI=`shown${Sr}`,iI="fade",up="hide",vi="show",yi="showing",aI={animation:"boolean",autohide:"boolean",delay:"number"},lI={animation:!0,autohide:!0,delay:5e3};class ts extends vn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return lI}static get DefaultType(){return aI}static get NAME(){return ZN}show(){if(le.trigger(this._element,oI).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(iI);const t=()=>{this._element.classList.remove(yi),le.trigger(this._element,sI),this._maybeScheduleHide()};this._element.classList.remove(up),Gs(this._element),this._element.classList.add(vi,yi),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||le.trigger(this._element,nI).defaultPrevented)return;const t=()=>{this._element.classList.add(up),this._element.classList.remove(yi,vi),le.trigger(this._element,rI)};this._element.classList.add(yi),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(vi),super.dispose()}isShown(){return this._element.classList.contains(vi)}_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(){le.on(this._element,XN,e=>this._onInteraction(e,!0)),le.on(this._element,qN,e=>this._onInteraction(e,!1)),le.on(this._element,eI,e=>this._onInteraction(e,!0)),le.on(this._element,tI,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=ts.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}il(ts);an(ts);function dp(n,e){return e.value||n.getAttribute("title")||""}const Xs={mounted:(n,e)=>{const t=dp(n,e);t&&n.setAttribute("title",t),new _n(n)},updated:(n,e)=>{const t=_n.getInstance(n);t&&t.dispose();const r=dp(n,e);r&&n.setAttribute("title",r),new _n(n)},unmounted:n=>{const e=_n.getInstance(n);e&&e.dispose()}},cI={key:0,class:"pills-list__wrapper"},uI={class:"pills-list__ul"},dI={class:"bd-markdown-editor__menu-bottom"},fI={key:0,class:"vr"},hI=c.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:Zl.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=io(t,"modelValue",e),s=[DT,RT,BT,aS.configure({placeholder:t.placeholder}),TS,iS.configure({openOnClick:!1,validate:P=>/^(https?:\/\/|www\.)/i.test(P)})];t.variant===Zl.FULL&&s.push(fS,vS,yS,ES,bS,wS);const i=LT({content:o.value,extensions:s,onUpdate:({editor:P})=>{const{view:Y,state:G}=P,{from:K,to:H}=Y.state.selection;if(G.doc.textBetween(K-1,H,"")==" "&&P.getAttributes("link").href!=null&&P.chain().setTextSelection({from:K-1,to:H}).toggleLink({href:P.getAttributes("link").href}).setTextSelection({from:H,to:H}).run(),P.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",P.getHTML())}});c.watch(()=>t.modelValue,P=>{i.value.getHTML()!==P&&i.value.commands.setContent(P,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),u=c.computed(()=>g("italic")),d=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Zl.FULL),g=P=>i.value&&i.value.isActive(P)?"active":null,v=c.computed(()=>t.files&&t.files.length>0?_a(t.files,!1):null),C=c.computed(()=>t.files&&t.files.length>0?_a(t.files,!0):null),w=P=>{e("action",{name:"delete-attachment",obj:P})},E=P=>{e("action",{name:"image-attachment",obj:P})},y=c.computed(()=>{if(!i.value)return!1;const{from:P,to:Y}=i.value.state.selection;return P!==Y}),x=c.computed(()=>y.value?"Voeg een link toe":"Selecteer eerst tekst"),A=c.ref(!1),I=c.ref(""),B=c.ref(null),R=()=>{I.value=i.value.getAttributes("link").href||"",A.value=!0},U=P=>{if(A.value=!1,!P){i.value.chain().focus().unsetLink().run();return}/^www\./i.test(P)&&(P=`https://${P}`),i.value.chain().focus().toggleLink({href:P}).run()},$=()=>{A.value=!1};return(P,Y)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(OT),{editor:c.unref(i)},null,8,["editor"]),P.pills?(c.openBlock(),c.createElementBlock("div",cI,[c.createElementVNode("ul",uI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(P.pills,(G,K)=>(c.openBlock(),c.createElementBlock("li",{key:K,class:"pills-list__li"},[c.createVNode($a,c.normalizeProps(c.guardReactiveProps(G)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(P.$slots,"default",{},void 0,!0),v.value?(c.openBlock(),c.createBlock(ol,{key:1,files:v.value,"no-download":!0,"show-delete":!0,onDelete:w},null,8,["files"])):c.createCommentVNode("",!0),C.value?(c.openBlock(),c.createBlock(sl,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:w,onShow:E},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",dI,[c.createVNode(Qe,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Jr))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",fI)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:Y[0]||(Y[0]=G=>c.unref(i).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(cu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:2,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:Y[1]||(Y[1]=G=>c.unref(i).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(vu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:3,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:Y[2]||(Y[2]=G=>c.unref(i).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Tu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:Y[3]||(Y[3]=G=>c.unref(i).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(uu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:Y[4]||(Y[4]=G=>c.unref(i).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Eu))]),_:1},8,["class"])):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createElementBlock("span",null,[m.value?(c.openBlock(),c.createBlock(Qe,{key:0,ref_key:"linkButton",ref:B,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:R,disabled:!y.value},{default:c.withCtx(()=>[c.createVNode(c.unref(Ba))]),_:1},8,["class","disabled"])):c.createCommentVNode("",!0)])),[[c.unref(Xs),x.value]])]),A.value?(c.openBlock(),c.createBlock(MS,{key:3,previousUrl:I.value,onSubmit:U,onCancel:$},null,8,["previousUrl"])):c.createCommentVNode("",!0)],2),c.createVNode(Va,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}});const V2=Ee(hI,[["__scopeId","data-v-40a710e8"]]),pI={class:"header"},mI=c.createElementVNode("div",null,"Menu",-1),gI={class:"icon-close-wrapper"},vI={class:"navbar"},yI={class:"nav navbar-nav w-100"},EI={class:"nav-item"},CI={class:"nav-item"},Ed=c.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",pI,[mI,c.createElementVNode("div",gI,[c.createVNode(Da,{onClick:o})])]),c.createElementVNode("nav",vI,[c.createElementVNode("ul",yI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",EI,[c.createVNode(Zr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(i.$slots,"special-options"),c.createElementVNode("li",CI,[c.createVNode(Zr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),bI={class:"bd-user"},AI={class:"bd-user__information"},wI={class:"text-break"},TI={class:"overflow-x-hidden"},$2=c.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=c.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(c.openBlock(),c.createElementBlock("div",bI,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Hs,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",AI,[c.createElementVNode("header",null,[c.createElementVNode("h5",wI,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",TI,c.toDisplayString(t.value),1)])]))}}),SI={class:"bd-chat-cloud-card"},kI={class:"bd-chat-cloud-card__header"},_I={class:"bd-chat-cloud-card__body"},xI=["innerHTML"],NI={class:"bd-chat-cloud-card__footer"},II={key:0,class:"pills-list__wrapper"},MI={class:"pills-list__ul"},U2=c.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},username:{default:null},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=c.computed(()=>t.isSender?"sender":Fe),o=c.computed(()=>_a(t.files,!1)),s=c.computed(()=>_a(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(Hs,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",SI,[c.createElementVNode("div",kI,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(Qe,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",_I,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,xI)])]),c.createElementVNode("div",NI,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",II,[c.createElementVNode("ul",MI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(d,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode($a,c.normalizeProps(c.guardReactiveProps(d)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock(ol,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),s.value&&s.value.length>0?(c.openBlock(),c.createBlock(sl,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),OI=c.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=c.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(i.value),onClick:a[0]||(a[0]=u=>{o(),s()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(Cu),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(bu),{key:1})):(c.openBlock(),c.createBlock(c.unref(Au),{key:2}))],2))}}),LI={class:"bd-table"},DI={key:0,class:"table"},RI={key:1},BI=["onClick"],PI={key:0},FI={key:1,class:"empty-text"},z2=c.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=c.ref(r.items),s=c.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const v=m.toString(),C=g.toString();return v.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},u=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},d=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:d}),(f,h)=>(c.openBlock(),c.createElementBlock("div",LI,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",DI,[c.createElementVNode("thead",null,[c.createElementVNode("tr",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.fields,p=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[p.isVisible?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[p.sortable?(c.openBlock(),c.createBlock(OI,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>u(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",RI,c.toDisplayString(p.label),1))],64)):c.createCommentVNode("",!0)],64))),256))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,p=>(c.openBlock(),c.createElementBlock("tr",{class:c.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.fields,m=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[m.isVisible?(c.openBlock(),c.createElementBlock("td",PI,[f.$slots.hasOwnProperty(m.key)?c.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(p[m.key]),1)],64))])):c.createCommentVNode("",!0)],64))),256))],10,BI))),256))])])):(c.openBlock(),c.createElementBlock("p",FI,c.toDisplayString(r.emptyText),1))]))}}),VI=["id"],$I={key:0,class:"toast-body__title"},UI={class:"actions"},zI=["textContent"],HI=["textContent"],jI={class:"icon-wrapper"},WI=["textContent"],KI=["textContent"],fp=3e4,hp=5e3,H2=c.defineComponent({__name:"BDVideoCallToast",props:{id:{},contactInfoReceiver:{},isSender:{type:Boolean},firstNameSender:{},canceled:{type:Boolean},disabled:{type:Boolean},localization:{}},emits:["reject-video-call","accept-video-call"],setup(n,{emit:e}){const t=n;let r=c.ref(!1),o=c.ref(!1),s=null,i=null;const l=c.computed(()=>{let w="video-call-toast";return t.id&&(w+=`-${t.id}`),w}),a=c.computed(()=>r.value?[r.value?"is-handled":Fe,o.value?"is-handled--success":Fe,t.canceled?"is-handled--canceled":Fe].join(" "):Fe),u=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),d=c.computed(()=>t.canceled?`${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}`:t.isSender?t.contactInfoReceiver?`${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}`:t.localization.notifyCallerWhenRejected:o.value?t.localization.openNewTabWhenAccepted:`${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g," "));c.watch(()=>t.canceled,()=>{r.value=!0});const f=()=>{const w=l.value,E=document.querySelector(`#${w}`);if(E){E.addEventListener("hide.bs.toast",C);var y={autohide:!0,delay:fp+hp};i=ts.getOrCreateInstance(E,y),i.show(),s=window.setTimeout(h,fp)}};c.onMounted(f);const h=()=>{r.value||m()},p=()=>{m(),v()},m=()=>{r.value||(r.value=!0,e("reject-video-call",t.id))},g=()=>{r.value=!0,o.value=!0,e("accept-video-call",t.id),v()},v=()=>{window.clearTimeout(s),window.setTimeout(()=>i.hide(),hp)},C=()=>{r.value=!1,o.value=!1};return(w,E)=>(c.openBlock(),c.createElementBlock("div",{id:l.value,class:"toast bd-video-call-toast",role:"alert","aria-live":"assertive","aria-atomic":"true"},[c.unref(r)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",$I,c.toDisplayString(t.localization.incomingVideoCall),1)),c.createElementVNode("div",{class:c.normalizeClass(["toast-body__main",a.value])},[c.unref(r)?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createElementVNode("div",jI,[c.createVNode(Ii)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(u.value),class:"title"},null,8,WI),c.createElementVNode("p",{textContent:c.toDisplayString(d.value)},null,8,KI)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode(_u,{value:w.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",UI,[c.createVNode(Qe,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(du),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,zI)]),_:1}),c.createVNode(Qe,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(Ii),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,HI)]),_:1})])],64))],2)],8,VI))}}),Cd=c.defineComponent({__name:"BDDropdown",props:{size:{default:Tt.MD},variant:{default:Pa.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}=Qo(),r=`__BD__DROPDOWN__${t.value}`,o=c.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})),s=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),u=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(d,f)=>(c.openBlock(),c.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=c.withModifiers(()=>{},["stop"]))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.toggleTag),c.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:c.withCtx(()=>[c.createElementVNode("span",null,c.toDisplayString(e.text),1)]),_:1},16)),c.createElementVNode("ul",c.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:u}),[c.renderSlot(d.$slots,"default")],16)]))}}),YI={class:"row bd-header"},GI={class:"col logo-mix"},QI=["src","alt"],ZI=c.createElementVNode("div",null,"Menu",-1),JI={key:1,class:"col header-options"},XI={class:"col bd-btn-settings"},qI={key:2},bd=c.defineComponent({__name:"BDHeader",props:{isEmbedded:{type:Boolean},dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},organizationLogoAlt:{},hasLogoutOption:{type:Boolean,default:!0}},emits:["click-logo","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.isEmbedded||(t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions))),d}),o=c.computed(()=>!t.isEmbedded&&t.headerOptions&&t.headerOptions.length!==0),s=c.ref(void 0),i=()=>{t.isEmbedded||e("click-logo")},l=()=>e("signout"),a=()=>s.value=!0,u=()=>s.value=!1;return(d,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",YI,[c.createElementVNode("div",GI,[c.createVNode(lu,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(c.openBlock(),c.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:t.organizationLogoAlt},null,8,QI)):c.createCommentVNode("",!0)]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:"col bd-hamburger",onClick:a},[ZI,c.createVNode(yu)])),o.value?(c.openBlock(),c.createElementBlock("div",JI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,h=>(c.openBlock(),c.createBlock(Qe,{class:"btn-header",to:h.to,variant:"neutral"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(h.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",XI,[t.isEmbedded?c.createCommentVNode("",!0):c.renderSlot(d.$slots,"profile-side",{key:0}),t.profileImageSrc?(c.openBlock(),c.createBlock(Hs,{key:1,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),t.isEmbedded?(c.openBlock(),c.createElementBlock("span",qI,c.toDisplayString(t.dropdownMenuTitle),1)):c.createCommentVNode("",!0),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Cd,{key:3,text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(h,p)=>(c.openBlock(),c.createBlock(Oi,c.mergeProps({key:p},h),null,16))),128)),t.hasLogoutOption?(c.openBlock(),c.createBlock(Oi,{key:0,text:"Uitloggen",onClick:l})):c.createCommentVNode("",!0)]),_:1},8,["text"]))])]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Ed,{key:0,active:s.value,options:r.value,onHide:u,onSignout:l},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"]))],64))}});/*!
182
+ */const tr=new Map,Jl={set(n,e,t){tr.has(n)||tr.set(n,new Map);const r=tr.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 tr.has(n)&&tr.get(n).get(e)||null},remove(n,e){if(!tr.has(n))return;const t=tr.get(n);t.delete(e),t.size===0&&tr.delete(n)}},GS=1e6,QS=1e3,Gc="transitionend",d2=n=>(n&&window.CSS&&window.CSS.escape&&(n=n.replace(/#([^\s"#']+)/g,(e,t)=>`#${CSS.escape(t)}`)),n),ZS=n=>n==null?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase(),JS=n=>{do n+=Math.floor(Math.random()*GS);while(document.getElementById(n));return n},XS=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))*QS)},f2=n=>{n.dispatchEvent(new Event(Gc))},Wn=n=>!n||typeof n!="object"?!1:(typeof n.jquery<"u"&&(n=n[0]),typeof n.nodeType<"u"),gr=n=>Wn(n)?n.jquery?n[0]:n:typeof n=="string"&&n.length>0?document.querySelector(d2(n)):null,qo=n=>{if(!Wn(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},vr=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",h2=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?h2(n.parentNode):null},xa=()=>{},Gs=n=>{n.offsetHeight},p2=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Xl=[],qS=n=>{document.readyState==="loading"?(Xl.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Xl)e()}),Xl.push(n)):n()},on=()=>document.documentElement.dir==="rtl",an=n=>{qS(()=>{const e=p2();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)}})},Bt=(n,e=[],t=n)=>typeof n=="function"?n(...e):t,m2=(n,e,t=!0)=>{if(!t){Bt(n);return}const r=5,o=XS(e)+r;let s=!1;const i=({target:l})=>{l===e&&(s=!0,e.removeEventListener(Gc,i),Bt(n))};e.addEventListener(Gc,i),setTimeout(()=>{s||f2(e)},o)},md=(n,e,t,r)=>{const o=n.length;let s=n.indexOf(e);return s===-1?!t&&r?n[o-1]:n[0]:(s+=t?1:-1,r&&(s=(s+o)%o),n[Math.max(0,Math.min(s,o-1))])},ek=/[^.]*(?=\..*)\.|.*/,tk=/\..*/,nk=/::\d+$/,ql={};let Fh=1;const g2={mouseenter:"mouseover",mouseleave:"mouseout"},rk=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 v2(n,e){return e&&`${e}::${Fh++}`||n.uidEvent||Fh++}function y2(n){const e=v2(n);return n.uidEvent=e,ql[e]=ql[e]||{},ql[e]}function ok(n,e){return function t(r){return gd(r,{delegateTarget:n}),t.oneOff&&le.off(n,r.type,e),e.apply(n,[r])}}function sk(n,e,t){return function r(o){const s=n.querySelectorAll(e);for(let{target:i}=o;i&&i!==this;i=i.parentNode)for(const l of s)if(l===i)return gd(o,{delegateTarget:i}),r.oneOff&&le.off(n,o.type,e,t),t.apply(i,[o])}}function E2(n,e,t=null){return Object.values(n).find(r=>r.callable===e&&r.delegationSelector===t)}function C2(n,e,t){const r=typeof e=="string",o=r?t:e||t;let s=b2(n);return rk.has(s)||(s=n),[r,o,s]}function Vh(n,e,t,r,o){if(typeof e!="string"||!n)return;let[s,i,l]=C2(e,t,r);e in g2&&(i=(m=>function(g){if(!g.relatedTarget||g.relatedTarget!==g.delegateTarget&&!g.delegateTarget.contains(g.relatedTarget))return m.call(this,g)})(i));const a=y2(n),u=a[l]||(a[l]={}),d=E2(u,i,s?t:null);if(d){d.oneOff=d.oneOff&&o;return}const f=v2(i,e.replace(ek,"")),h=s?sk(n,t,i):ok(n,i);h.delegationSelector=s?t:null,h.callable=i,h.oneOff=o,h.uidEvent=f,u[f]=h,n.addEventListener(l,h,s)}function Qc(n,e,t,r,o){const s=E2(e[t],r,o);s&&(n.removeEventListener(t,s,!!o),delete e[t][s.uidEvent])}function ik(n,e,t,r){const o=e[t]||{};for(const[s,i]of Object.entries(o))s.includes(r)&&Qc(n,e,t,i.callable,i.delegationSelector)}function b2(n){return n=n.replace(tk,""),g2[n]||n}const le={on(n,e,t,r){Vh(n,e,t,r,!1)},one(n,e,t,r){Vh(n,e,t,r,!0)},off(n,e,t,r){if(typeof e!="string"||!n)return;const[o,s,i]=C2(e,t,r),l=i!==e,a=y2(n),u=a[i]||{},d=e.startsWith(".");if(typeof s<"u"){if(!Object.keys(u).length)return;Qc(n,a,i,s,o?t:null);return}if(d)for(const f of Object.keys(a))ik(n,a,f,e.slice(1));for(const[f,h]of Object.entries(u)){const p=f.replace(nk,"");(!l||e.includes(p))&&Qc(n,a,i,h.callable,h.delegationSelector)}},trigger(n,e,t){if(typeof e!="string"||!n)return null;const r=p2(),o=b2(e),s=e!==o;let i=null,l=!0,a=!0,u=!1;s&&r&&(i=r.Event(e,t),r(n).trigger(i),l=!i.isPropagationStopped(),a=!i.isImmediatePropagationStopped(),u=i.isDefaultPrevented());const d=gd(new Event(e,{bubbles:l,cancelable:!0}),t);return u&&d.preventDefault(),a&&n.dispatchEvent(d),d.defaultPrevented&&i&&i.preventDefault(),d}};function gd(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 $h(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 ec(n){return n.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const Kn={setDataAttribute(n,e,t){n.setAttribute(`data-bs-${ec(e)}`,t)},removeDataAttribute(n,e){n.removeAttribute(`data-bs-${ec(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]=$h(n.dataset[r])}return e},getDataAttribute(n,e){return $h(n.getAttribute(`data-bs-${ec(e)}`))}};class Qs{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=Wn(t)?Kn.getDataAttribute(t,"config"):{};return{...this.constructor.Default,...typeof r=="object"?r:{},...Wn(t)?Kn.getDataAttributes(t):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[r,o]of Object.entries(t)){const s=e[r],i=Wn(s)?"element":ZS(s);if(!new RegExp(o).test(i))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${i}" but expected type "${o}".`)}}}const ak="5.3.0";class vn extends Qs{constructor(e,t){super(),e=gr(e),e&&(this._element=e,this._config=this._getConfig(t),Jl.set(this._element,this.constructor.DATA_KEY,this))}dispose(){Jl.remove(this._element,this.constructor.DATA_KEY),le.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,r=!0){m2(e,t,r)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return Jl.get(gr(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,typeof t=="object"?t:null)}static get VERSION(){return ak}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 tc=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 d2(e)},Ie={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=>!vr(t)&&qo(t))},getSelectorFromElement(n){const e=tc(n);return e&&Ie.findOne(e)?e:null},getElementFromSelector(n){const e=tc(n);return e?Ie.findOne(e):null},getMultipleElementsFromSelector(n){const e=tc(n);return e?Ie.find(e):[]}},il=(n,e="hide")=>{const t=`click.dismiss${n.EVENT_KEY}`,r=n.NAME;le.on(document,t,`[data-bs-dismiss="${r}"]`,function(o){if(["A","AREA"].includes(this.tagName)&&o.preventDefault(),vr(this))return;const s=Ie.getElementFromSelector(this)||this.closest(`.${r}`);n.getOrCreateInstance(s)[e]()})},lk="alert",ck="bs.alert",A2=`.${ck}`,uk=`close${A2}`,dk=`closed${A2}`,fk="fade",hk="show";class al extends vn{static get NAME(){return lk}close(){if(le.trigger(this._element,uk).defaultPrevented)return;this._element.classList.remove(hk);const t=this._element.classList.contains(fk);this._queueCallback(()=>this._destroyElement(),this._element,t)}_destroyElement(){this._element.remove(),le.trigger(this._element,dk),this.dispose()}static jQueryInterface(e){return this.each(function(){const t=al.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)}})}}il(al,"close");an(al);const pk="button",mk="bs.button",gk=`.${mk}`,vk=".data-api",yk="active",Uh='[data-bs-toggle="button"]',Ek=`click${gk}${vk}`;class ll extends vn{static get NAME(){return pk}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(yk))}static jQueryInterface(e){return this.each(function(){const t=ll.getOrCreateInstance(this);e==="toggle"&&t[e]()})}}le.on(document,Ek,Uh,n=>{n.preventDefault();const e=n.target.closest(Uh);ll.getOrCreateInstance(e).toggle()});an(ll);const Ck="swipe",es=".bs.swipe",bk=`touchstart${es}`,Ak=`touchmove${es}`,wk=`touchend${es}`,Tk=`pointerdown${es}`,Sk=`pointerup${es}`,kk="touch",_k="pen",xk="pointer-event",Nk=40,Ik={endCallback:null,leftCallback:null,rightCallback:null},Mk={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Na extends Qs{constructor(e,t){super(),this._element=e,!(!e||!Na.isSupported())&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Ik}static get DefaultType(){return Mk}static get NAME(){return Ck}dispose(){le.off(this._element,es)}_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(),Bt(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<=Nk)return;const t=e/this._deltaX;this._deltaX=0,t&&Bt(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(le.on(this._element,Tk,e=>this._start(e)),le.on(this._element,Sk,e=>this._end(e)),this._element.classList.add(xk)):(le.on(this._element,bk,e=>this._start(e)),le.on(this._element,Ak,e=>this._move(e)),le.on(this._element,wk,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===_k||e.pointerType===kk)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const Ok="carousel",Lk="bs.carousel",Tr=`.${Lk}`,w2=".data-api",Dk="ArrowLeft",Rk="ArrowRight",Bk=500,ss="next",mo="prev",Ao="left",ki="right",Pk=`slide${Tr}`,nc=`slid${Tr}`,Fk=`keydown${Tr}`,Vk=`mouseenter${Tr}`,$k=`mouseleave${Tr}`,Uk=`dragstart${Tr}`,zk=`load${Tr}${w2}`,Hk=`click${Tr}${w2}`,T2="carousel",hi="active",jk="slide",Wk="carousel-item-end",Kk="carousel-item-start",Yk="carousel-item-next",Gk="carousel-item-prev",S2=".active",k2=".carousel-item",Qk=S2+k2,Zk=".carousel-item img",Jk=".carousel-indicators",Xk="[data-bs-slide], [data-bs-slide-to]",qk='[data-bs-ride="carousel"]',e_={[Dk]:ki,[Rk]:Ao},t_={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},n_={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Zs extends vn{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Ie.findOne(Jk,this._element),this._addEventListeners(),this._config.ride===T2&&this.cycle()}static get Default(){return t_}static get DefaultType(){return n_}static get NAME(){return Ok}next(){this._slide(ss)}nextWhenVisible(){!document.hidden&&qo(this._element)&&this.next()}prev(){this._slide(mo)}pause(){this._isSliding&&f2(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){le.one(this._element,nc,()=>this.cycle());return}this.cycle()}}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding){le.one(this._element,nc,()=>this.to(e));return}const r=this._getItemIndex(this._getActive());if(r===e)return;const o=e>r?ss:mo;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&&le.on(this._element,Fk,e=>this._keydown(e)),this._config.pause==="hover"&&(le.on(this._element,Vk,()=>this.pause()),le.on(this._element,$k,()=>this._maybeEnableCycle())),this._config.touch&&Na.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const r of Ie.find(Zk,this._element))le.on(r,Uk,o=>o.preventDefault());const t={leftCallback:()=>this._slide(this._directionToOrder(Ao)),rightCallback:()=>this._slide(this._directionToOrder(ki)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Bk+this._config.interval))}};this._swipeHelper=new Na(this._element,t)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=e_[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=Ie.findOne(S2,this._indicatorsElement);t.classList.remove(hi),t.removeAttribute("aria-current");const r=Ie.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);r&&(r.classList.add(hi),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===ss,s=t||md(this._getItems(),r,o,this._config.wrap);if(s===r)return;const i=this._getItemIndex(s),l=p=>le.trigger(this._element,p,{relatedTarget:s,direction:this._orderToDirection(e),from:this._getItemIndex(r),to:i});if(l(Pk).defaultPrevented||!r||!s)return;const u=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(i),this._activeElement=s;const d=o?Kk:Wk,f=o?Yk:Gk;s.classList.add(f),Gs(s),r.classList.add(d),s.classList.add(d);const h=()=>{s.classList.remove(d,f),s.classList.add(hi),r.classList.remove(hi,f,d),this._isSliding=!1,l(nc)};this._queueCallback(h,r,this._isAnimated()),u&&this.cycle()}_isAnimated(){return this._element.classList.contains(jk)}_getActive(){return Ie.findOne(Qk,this._element)}_getItems(){return Ie.find(k2,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return on()?e===Ao?mo:ss:e===Ao?ss:mo}_orderToDirection(e){return on()?e===mo?Ao:ki:e===mo?ki:Ao}static jQueryInterface(e){return this.each(function(){const t=Zs.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]()}})}}le.on(document,Hk,Xk,function(n){const e=Ie.getElementFromSelector(this);if(!e||!e.classList.contains(T2))return;n.preventDefault();const t=Zs.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");if(r){t.to(r),t._maybeEnableCycle();return}if(Kn.getDataAttribute(this,"slide")==="next"){t.next(),t._maybeEnableCycle();return}t.prev(),t._maybeEnableCycle()});le.on(window,zk,()=>{const n=Ie.find(qk);for(const e of n)Zs.getOrCreateInstance(e)});an(Zs);const r_="collapse",o_="bs.collapse",Js=`.${o_}`,s_=".data-api",i_=`show${Js}`,a_=`shown${Js}`,l_=`hide${Js}`,c_=`hidden${Js}`,u_=`click${Js}${s_}`,rc="show",xo="collapse",pi="collapsing",d_="collapsed",f_=`:scope .${xo} .${xo}`,h_="collapse-horizontal",p_="width",m_="height",g_=".collapse.show, .collapse.collapsing",Zc='[data-bs-toggle="collapse"]',v_={parent:null,toggle:!0},y_={parent:"(null|element)",toggle:"boolean"};class Ps extends vn{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const r=Ie.find(Zc);for(const o of r){const s=Ie.getSelectorFromElement(o),i=Ie.find(s).filter(l=>l===this._element);s!==null&&i.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 v_}static get DefaultType(){return y_}static get NAME(){return r_}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(g_).filter(l=>l!==this._element).map(l=>Ps.getOrCreateInstance(l,{toggle:!1}))),e.length&&e[0]._isTransitioning||le.trigger(this._element,i_).defaultPrevented)return;for(const l of e)l.hide();const r=this._getDimension();this._element.classList.remove(xo),this._element.classList.add(pi),this._element.style[r]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const o=()=>{this._isTransitioning=!1,this._element.classList.remove(pi),this._element.classList.add(xo,rc),this._element.style[r]="",le.trigger(this._element,a_)},i=`scroll${r[0].toUpperCase()+r.slice(1)}`;this._queueCallback(o,this._element,!0),this._element.style[r]=`${this._element[i]}px`}hide(){if(this._isTransitioning||!this._isShown()||le.trigger(this._element,l_).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,Gs(this._element),this._element.classList.add(pi),this._element.classList.remove(xo,rc);for(const o of this._triggerArray){const s=Ie.getElementFromSelector(o);s&&!this._isShown(s)&&this._addAriaAndCollapsedClass([o],!1)}this._isTransitioning=!0;const r=()=>{this._isTransitioning=!1,this._element.classList.remove(pi),this._element.classList.add(xo),le.trigger(this._element,c_)};this._element.style[t]="",this._queueCallback(r,this._element,!0)}_isShown(e=this._element){return e.classList.contains(rc)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=gr(e.parent),e}_getDimension(){return this._element.classList.contains(h_)?p_:m_}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Zc);for(const t of e){const r=Ie.getElementFromSelector(t);r&&this._addAriaAndCollapsedClass([t],this._isShown(r))}}_getFirstLevelChildren(e){const t=Ie.find(f_,this._config.parent);return Ie.find(e,this._config.parent).filter(r=>!t.includes(r))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const r of e)r.classList.toggle(d_,!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=Ps.getOrCreateInstance(this,t);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e]()}})}}le.on(document,u_,Zc,function(n){(n.target.tagName==="A"||n.delegateTarget&&n.delegateTarget.tagName==="A")&&n.preventDefault();for(const e of Ie.getMultipleElementsFromSelector(this))Ps.getOrCreateInstance(e,{toggle:!1}).toggle()});an(Ps);const zh="dropdown",E_="bs.dropdown",ao=`.${E_}`,vd=".data-api",C_="Escape",Hh="Tab",b_="ArrowUp",jh="ArrowDown",A_=2,w_=`hide${ao}`,T_=`hidden${ao}`,S_=`show${ao}`,k_=`shown${ao}`,_2=`click${ao}${vd}`,x2=`keydown${ao}${vd}`,__=`keyup${ao}${vd}`,wo="show",x_="dropup",N_="dropend",I_="dropstart",M_="dropup-center",O_="dropdown-center",$r='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',L_=`${$r}.${wo}`,_i=".dropdown-menu",D_=".navbar",R_=".navbar-nav",B_=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",P_=on()?"top-end":"top-start",F_=on()?"top-start":"top-end",V_=on()?"bottom-end":"bottom-start",$_=on()?"bottom-start":"bottom-end",U_=on()?"left-start":"right-start",z_=on()?"right-start":"left-start",H_="top",j_="bottom",W_={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},K_={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Nn extends vn{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=Ie.next(this._element,_i)[0]||Ie.prev(this._element,_i)[0]||Ie.findOne(_i,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return W_}static get DefaultType(){return K_}static get NAME(){return zh}toggle(){return this._isShown()?this.hide():this.show()}show(){if(vr(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!le.trigger(this._element,S_,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(R_))for(const r of[].concat(...document.body.children))le.on(r,"mouseover",xa);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(wo),this._element.classList.add(wo),le.trigger(this._element,k_,e)}}hide(){if(vr(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(!le.trigger(this._element,w_,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const r of[].concat(...document.body.children))le.off(r,"mouseover",xa);this._popper&&this._popper.destroy(),this._menu.classList.remove(wo),this._element.classList.remove(wo),this._element.setAttribute("aria-expanded","false"),Kn.removeDataAttribute(this._menu,"popper"),le.trigger(this._element,T_,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!Wn(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${zh.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof K0>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:Wn(this._config.reference)?e=gr(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=nl(e,this._menu,t)}_isShown(){return this._menu.classList.contains(wo)}_getPlacement(){const e=this._parent;if(e.classList.contains(N_))return U_;if(e.classList.contains(I_))return z_;if(e.classList.contains(M_))return H_;if(e.classList.contains(O_))return j_;const t=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(x_)?t?F_:P_:t?$_:V_}_detectNavbar(){return this._element.closest(D_)!==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")&&(Kn.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...Bt(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const r=Ie.find(B_,this._menu).filter(o=>qo(o));r.length&&md(r,t,e===jh,!r.includes(t)).focus()}static jQueryInterface(e){return this.each(function(){const t=Nn.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===A_||e.type==="keyup"&&e.key!==Hh)return;const t=Ie.find(L_);for(const r of t){const o=Nn.getInstance(r);if(!o||o._config.autoClose===!1)continue;const s=e.composedPath(),i=s.includes(o._menu);if(s.includes(o._element)||o._config.autoClose==="inside"&&!i||o._config.autoClose==="outside"&&i||o._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Hh||/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===C_,o=[b_,jh].includes(e.key);if(!o&&!r||t&&!r)return;e.preventDefault();const s=this.matches($r)?this:Ie.prev(this,$r)[0]||Ie.next(this,$r)[0]||Ie.findOne($r,e.delegateTarget.parentNode),i=Nn.getOrCreateInstance(s);if(o){e.stopPropagation(),i.show(),i._selectMenuItem(e);return}i._isShown()&&(e.stopPropagation(),i.hide(),s.focus())}}le.on(document,x2,$r,Nn.dataApiKeydownHandler);le.on(document,x2,_i,Nn.dataApiKeydownHandler);le.on(document,_2,Nn.clearMenus);le.on(document,__,Nn.clearMenus);le.on(document,_2,$r,function(n){n.preventDefault(),Nn.getOrCreateInstance(this).toggle()});an(Nn);const N2="backdrop",Y_="fade",Wh="show",Kh=`mousedown.bs.${N2}`,G_={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Q_={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class I2 extends Qs{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return G_}static get DefaultType(){return Q_}static get NAME(){return N2}show(e){if(!this._config.isVisible){Bt(e);return}this._append();const t=this._getElement();this._config.isAnimated&&Gs(t),t.classList.add(Wh),this._emulateAnimation(()=>{Bt(e)})}hide(e){if(!this._config.isVisible){Bt(e);return}this._getElement().classList.remove(Wh),this._emulateAnimation(()=>{this.dispose(),Bt(e)})}dispose(){this._isAppended&&(le.off(this._element,Kh),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(Y_),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=gr(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),le.on(e,Kh,()=>{Bt(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){m2(e,this._getElement(),this._config.isAnimated)}}const Z_="focustrap",J_="bs.focustrap",Ia=`.${J_}`,X_=`focusin${Ia}`,q_=`keydown.tab${Ia}`,ex="Tab",tx="forward",Yh="backward",nx={autofocus:!0,trapElement:null},rx={autofocus:"boolean",trapElement:"element"};class M2 extends Qs{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return nx}static get DefaultType(){return rx}static get NAME(){return Z_}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),le.off(document,Ia),le.on(document,X_,e=>this._handleFocusin(e)),le.on(document,q_,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,le.off(document,Ia))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const r=Ie.focusableChildren(t);r.length===0?t.focus():this._lastTabNavDirection===Yh?r[r.length-1].focus():r[0].focus()}_handleKeydown(e){e.key===ex&&(this._lastTabNavDirection=e.shiftKey?Yh:tx)}}const Gh=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Qh=".sticky-top",mi="padding-right",Zh="margin-right";class Jc{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,mi,t=>t+e),this._setElementAttributes(Gh,mi,t=>t+e),this._setElementAttributes(Qh,Zh,t=>t-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,mi),this._resetElementAttributes(Gh,mi),this._resetElementAttributes(Qh,Zh)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,r){const o=this.getWidth(),s=i=>{if(i!==this._element&&window.innerWidth>i.clientWidth+o)return;this._saveInitialAttribute(i,t);const l=window.getComputedStyle(i).getPropertyValue(t);i.style.setProperty(t,`${r(Number.parseFloat(l))}px`)};this._applyManipulationCallback(e,s)}_saveInitialAttribute(e,t){const r=e.style.getPropertyValue(t);r&&Kn.setDataAttribute(e,t,r)}_resetElementAttributes(e,t){const r=o=>{const s=Kn.getDataAttribute(o,t);if(s===null){o.style.removeProperty(t);return}Kn.removeDataAttribute(o,t),o.style.setProperty(t,s)};this._applyManipulationCallback(e,r)}_applyManipulationCallback(e,t){if(Wn(e)){t(e);return}for(const r of Ie.find(e,this._element))t(r)}}const ox="modal",sx="bs.modal",sn=`.${sx}`,ix=".data-api",ax="Escape",lx=`hide${sn}`,cx=`hidePrevented${sn}`,O2=`hidden${sn}`,L2=`show${sn}`,ux=`shown${sn}`,dx=`resize${sn}`,fx=`click.dismiss${sn}`,hx=`mousedown.dismiss${sn}`,px=`keydown.dismiss${sn}`,mx=`click${sn}${ix}`,Jh="modal-open",gx="fade",Xh="show",oc="modal-static",vx=".modal.show",yx=".modal-dialog",Ex=".modal-body",Cx='[data-bs-toggle="modal"]',bx={backdrop:!0,focus:!0,keyboard:!0},Ax={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class yr extends vn{constructor(e,t){super(e,t),this._dialog=Ie.findOne(yx,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Jc,this._addEventListeners()}static get Default(){return bx}static get DefaultType(){return Ax}static get NAME(){return ox}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||le.trigger(this._element,L2,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Jh),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||le.trigger(this._element,lx).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Xh),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){le.off(window,sn),le.off(this._dialog,sn),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new I2({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new M2({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=Ie.findOne(Ex,this._dialog);t&&(t.scrollTop=0),Gs(this._element),this._element.classList.add(Xh);const r=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,le.trigger(this._element,ux,{relatedTarget:e})};this._queueCallback(r,this._dialog,this._isAnimated())}_addEventListeners(){le.on(this._element,px,e=>{if(e.key===ax){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),le.on(window,dx,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),le.on(this._element,hx,e=>{le.one(this._element,fx,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(Jh),this._resetAdjustments(),this._scrollBar.reset(),le.trigger(this._element,O2)})}_isAnimated(){return this._element.classList.contains(gx)}_triggerBackdropTransition(){if(le.trigger(this._element,cx).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._element.style.overflowY;r==="hidden"||this._element.classList.contains(oc)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(oc),this._queueCallback(()=>{this._element.classList.remove(oc),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=on()?"paddingLeft":"paddingRight";this._element.style[o]=`${t}px`}if(!r&&e){const o=on()?"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=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof r[e]>"u")throw new TypeError(`No method named "${e}"`);r[e](t)}})}}le.on(document,mx,Cx,function(n){const e=Ie.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&n.preventDefault(),le.one(e,L2,o=>{o.defaultPrevented||le.one(e,O2,()=>{qo(this)&&this.focus()})});const t=Ie.findOne(vx);t&&yr.getInstance(t).hide(),yr.getOrCreateInstance(e).toggle(this)});il(yr);an(yr);const wx="offcanvas",Tx="bs.offcanvas",Qn=`.${Tx}`,D2=".data-api",Sx=`load${Qn}${D2}`,kx="Escape",qh="show",ep="showing",tp="hiding",_x="offcanvas-backdrop",R2=".offcanvas.show",xx=`show${Qn}`,Nx=`shown${Qn}`,Ix=`hide${Qn}`,np=`hidePrevented${Qn}`,B2=`hidden${Qn}`,Mx=`resize${Qn}`,Ox=`click${Qn}${D2}`,Lx=`keydown.dismiss${Qn}`,Dx='[data-bs-toggle="offcanvas"]',Rx={backdrop:!0,keyboard:!0,scroll:!1},Bx={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Er extends vn{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Rx}static get DefaultType(){return Bx}static get NAME(){return wx}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||le.trigger(this._element,xx,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Jc().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(ep);const r=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(qh),this._element.classList.remove(ep),le.trigger(this._element,Nx,{relatedTarget:e})};this._queueCallback(r,this._element,!0)}hide(){if(!this._isShown||le.trigger(this._element,Ix).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(tp),this._backdrop.hide();const t=()=>{this._element.classList.remove(qh,tp),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Jc().reset(),le.trigger(this._element,B2)};this._queueCallback(t,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){le.trigger(this._element,np);return}this.hide()},t=!!this._config.backdrop;return new I2({className:_x,isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?e:null})}_initializeFocusTrap(){return new M2({trapElement:this._element})}_addEventListeners(){le.on(this._element,Lx,e=>{if(e.key===kx){if(this._config.keyboard){this.hide();return}le.trigger(this._element,np)}})}static jQueryInterface(e){return this.each(function(){const t=Er.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)}})}}le.on(document,Ox,Dx,function(n){const e=Ie.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),vr(this))return;le.one(e,B2,()=>{qo(this)&&this.focus()});const t=Ie.findOne(R2);t&&t!==e&&Er.getInstance(t).hide(),Er.getOrCreateInstance(e).toggle(this)});le.on(window,Sx,()=>{for(const n of Ie.find(R2))Er.getOrCreateInstance(n).show()});le.on(window,Mx,()=>{for(const n of Ie.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(n).position!=="fixed"&&Er.getOrCreateInstance(n).hide()});il(Er);an(Er);const Px=/^aria-[\w-]*$/i,P2={"*":["class","dir","id","lang","role",Px],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:[]},Fx=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),Vx=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,$x=(n,e)=>{const t=n.nodeName.toLowerCase();return e.includes(t)?Fx.has(t)?!!Vx.test(n.nodeValue):!0:e.filter(r=>r instanceof RegExp).some(r=>r.test(t))};function Ux(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"),s=[].concat(...o.body.querySelectorAll("*"));for(const i of s){const l=i.nodeName.toLowerCase();if(!Object.keys(e).includes(l)){i.remove();continue}const a=[].concat(...i.attributes),u=[].concat(e["*"]||[],e[l]||[]);for(const d of a)$x(d,u)||i.removeAttribute(d.nodeName)}return o.body.innerHTML}const zx="TemplateFactory",Hx={allowList:P2,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},jx={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Wx={entry:"(string|element|function|null)",selector:"(string|element)"};class Kx extends Qs{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Hx}static get DefaultType(){return jx}static get NAME(){return zx}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,s]of Object.entries(this._config.content))this._setContent(e,s,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},Wx)}_setContent(e,t,r){const o=Ie.findOne(r,e);if(o){if(t=this._resolvePossibleFunction(t),!t){o.remove();return}if(Wn(t)){this._putElementInTemplate(gr(t),o);return}if(this._config.html){o.innerHTML=this._maybeSanitize(t);return}o.textContent=t}}_maybeSanitize(e){return this._config.sanitize?Ux(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return Bt(e,[this])}_putElementInTemplate(e,t){if(this._config.html){t.innerHTML="",t.append(e);return}t.textContent=e.textContent}}const Yx="tooltip",Gx=new Set(["sanitize","allowList","sanitizeFn"]),sc="fade",Qx="modal",gi="show",Zx=".tooltip-inner",rp=`.${Qx}`,op="hide.bs.modal",is="hover",ic="focus",Jx="click",Xx="manual",qx="hide",eN="hidden",tN="show",nN="shown",rN="inserted",oN="click",sN="focusin",iN="focusout",aN="mouseenter",lN="mouseleave",cN={AUTO:"auto",TOP:"top",RIGHT:on()?"left":"right",BOTTOM:"bottom",LEFT:on()?"right":"left"},uN={allowList:P2,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"},dN={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 _n extends vn{constructor(e,t){if(typeof K0>"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 uN}static get DefaultType(){return dN}static get NAME(){return Yx}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),le.off(this._element.closest(rp),op,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=le.trigger(this._element,this.constructor.eventName(tN)),r=(h2(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:s}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(s.append(o),le.trigger(this._element,this.constructor.eventName(rN))),this._popper=this._createPopper(o),o.classList.add(gi),"ontouchstart"in document.documentElement)for(const l of[].concat(...document.body.children))le.on(l,"mouseover",xa);const i=()=>{le.trigger(this._element,this.constructor.eventName(nN)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(i,this.tip,this._isAnimated())}hide(){if(!this._isShown()||le.trigger(this._element,this.constructor.eventName(qx)).defaultPrevented)return;if(this._getTipElement().classList.remove(gi),"ontouchstart"in document.documentElement)for(const o of[].concat(...document.body.children))le.off(o,"mouseover",xa);this._activeTrigger[Jx]=!1,this._activeTrigger[ic]=!1,this._activeTrigger[is]=!1,this._isHovered=null;const r=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),le.trigger(this._element,this.constructor.eventName(eN)))};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(sc,gi),t.classList.add(`bs-${this.constructor.NAME}-auto`);const r=JS(this.constructor.NAME).toString();return t.setAttribute("id",r),this._isAnimated()&&t.classList.add(sc),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Kx({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[Zx]: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(sc)}_isShown(){return this.tip&&this.tip.classList.contains(gi)}_createPopper(e){const t=Bt(this._config.placement,[this,e,this._element]),r=cN[t.toUpperCase()];return nl(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 Bt(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,...Bt(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if(t==="click")le.on(this._element,this.constructor.eventName(oN),this._config.selector,r=>{this._initializeOnDelegatedTarget(r).toggle()});else if(t!==Xx){const r=t===is?this.constructor.eventName(aN):this.constructor.eventName(sN),o=t===is?this.constructor.eventName(lN):this.constructor.eventName(iN);le.on(this._element,r,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusin"?ic:is]=!0,i._enter()}),le.on(this._element,o,this._config.selector,s=>{const i=this._initializeOnDelegatedTarget(s);i._activeTrigger[s.type==="focusout"?ic:is]=i._element.contains(s.relatedTarget),i._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},le.on(this._element.closest(rp),op,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=Kn.getDataAttributes(this._element);for(const r of Object.keys(t))Gx.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:gr(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=_n.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}an(_n);const fN="popover",hN=".popover-header",pN=".popover-body",mN={..._n.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"},gN={..._n.DefaultType,content:"(null|string|element|function)"};class Ur extends _n{static get Default(){return mN}static get DefaultType(){return gN}static get NAME(){return fN}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[hN]:this._getTitle(),[pN]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const t=Ur.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e]()}})}}an(Ur);const vN="scrollspy",yN="bs.scrollspy",yd=`.${yN}`,EN=".data-api",CN=`activate${yd}`,sp=`click${yd}`,bN=`load${yd}${EN}`,AN="dropdown-item",go="active",wN='[data-bs-spy="scroll"]',ac="[href]",TN=".nav, .list-group",ip=".nav-link",SN=".nav-item",kN=".list-group-item",_N=`${ip}, ${SN} > ${ip}, ${kN}`,xN=".dropdown",NN=".dropdown-toggle",IN={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},MN={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class cl extends vn{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 IN}static get DefaultType(){return MN}static get NAME(){return vN}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=gr(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&&(le.off(this._config.target,sp),le.on(this._config.target,sp,ac,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=i=>this._targetLinks.get(`#${i.target.id}`),r=i=>{this._previousScrollData.visibleEntryTop=i.target.offsetTop,this._process(t(i))},o=(this._rootElement||document.documentElement).scrollTop,s=o>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=o;for(const i of e){if(!i.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(i));continue}const l=i.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(s&&l){if(r(i),!o)return;continue}!s&&!l&&r(i)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=Ie.find(ac,this._config.target);for(const t of e){if(!t.hash||vr(t))continue;const r=Ie.findOne(decodeURI(t.hash),this._element);qo(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(go),this._activateParents(e),le.trigger(this._element,CN,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(AN)){Ie.findOne(NN,e.closest(xN)).classList.add(go);return}for(const t of Ie.parents(e,TN))for(const r of Ie.prev(t,_N))r.classList.add(go)}_clearActiveClass(e){e.classList.remove(go);const t=Ie.find(`${ac}.${go}`,e);for(const r of t)r.classList.remove(go)}static jQueryInterface(e){return this.each(function(){const t=cl.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]()}})}}le.on(window,bN,()=>{for(const n of Ie.find(wN))cl.getOrCreateInstance(n)});an(cl);const ON="tab",LN="bs.tab",lo=`.${LN}`,DN=`hide${lo}`,RN=`hidden${lo}`,BN=`show${lo}`,PN=`shown${lo}`,FN=`click${lo}`,VN=`keydown${lo}`,$N=`load${lo}`,UN="ArrowLeft",ap="ArrowRight",zN="ArrowUp",lp="ArrowDown",zr="active",cp="fade",lc="show",HN="dropdown",jN=".dropdown-toggle",WN=".dropdown-menu",cc=":not(.dropdown-toggle)",KN='.list-group, .nav, [role="tablist"]',YN=".nav-item, .list-group-item",GN=`.nav-link${cc}, .list-group-item${cc}, [role="tab"]${cc}`,F2='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',uc=`${GN}, ${F2}`,QN=`.${zr}[data-bs-toggle="tab"], .${zr}[data-bs-toggle="pill"], .${zr}[data-bs-toggle="list"]`;class jo extends vn{constructor(e){super(e),this._parent=this._element.closest(KN),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),le.on(this._element,VN,t=>this._keydown(t)))}static get NAME(){return ON}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),r=t?le.trigger(t,DN,{relatedTarget:e}):null;le.trigger(e,BN,{relatedTarget:t}).defaultPrevented||r&&r.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){if(!e)return;e.classList.add(zr),this._activate(Ie.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(lc);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),le.trigger(e,PN,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(cp))}_deactivate(e,t){if(!e)return;e.classList.remove(zr),e.blur(),this._deactivate(Ie.getElementFromSelector(e));const r=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(lc);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),le.trigger(e,RN,{relatedTarget:t})};this._queueCallback(r,e,e.classList.contains(cp))}_keydown(e){if(![UN,ap,zN,lp].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[ap,lp].includes(e.key),r=md(this._getChildren().filter(o=>!vr(o)),e.target,t,!0);r&&(r.focus({preventScroll:!0}),jo.getOrCreateInstance(r).show())}_getChildren(){return Ie.find(uc,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=Ie.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(HN))return;const o=(s,i)=>{const l=Ie.findOne(s,r);l&&l.classList.toggle(i,t)};o(jN,zr),o(WN,lc),r.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,r){e.hasAttribute(t)||e.setAttribute(t,r)}_elemIsActive(e){return e.classList.contains(zr)}_getInnerElement(e){return e.matches(uc)?e:Ie.findOne(uc,e)}_getOuterElement(e){return e.closest(YN)||e}static jQueryInterface(e){return this.each(function(){const t=jo.getOrCreateInstance(this);if(typeof e=="string"){if(t[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);t[e]()}})}}le.on(document,FN,F2,function(n){["A","AREA"].includes(this.tagName)&&n.preventDefault(),!vr(this)&&jo.getOrCreateInstance(this).show()});le.on(window,$N,()=>{for(const n of Ie.find(QN))jo.getOrCreateInstance(n)});an(jo);const ZN="toast",JN="bs.toast",Sr=`.${JN}`,XN=`mouseover${Sr}`,qN=`mouseout${Sr}`,eI=`focusin${Sr}`,tI=`focusout${Sr}`,nI=`hide${Sr}`,rI=`hidden${Sr}`,oI=`show${Sr}`,sI=`shown${Sr}`,iI="fade",up="hide",vi="show",yi="showing",aI={animation:"boolean",autohide:"boolean",delay:"number"},lI={animation:!0,autohide:!0,delay:5e3};class ts extends vn{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return lI}static get DefaultType(){return aI}static get NAME(){return ZN}show(){if(le.trigger(this._element,oI).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(iI);const t=()=>{this._element.classList.remove(yi),le.trigger(this._element,sI),this._maybeScheduleHide()};this._element.classList.remove(up),Gs(this._element),this._element.classList.add(vi,yi),this._queueCallback(t,this._element,this._config.animation)}hide(){if(!this.isShown()||le.trigger(this._element,nI).defaultPrevented)return;const t=()=>{this._element.classList.add(up),this._element.classList.remove(yi,vi),le.trigger(this._element,rI)};this._element.classList.add(yi),this._queueCallback(t,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(vi),super.dispose()}isShown(){return this._element.classList.contains(vi)}_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(){le.on(this._element,XN,e=>this._onInteraction(e,!0)),le.on(this._element,qN,e=>this._onInteraction(e,!1)),le.on(this._element,eI,e=>this._onInteraction(e,!0)),le.on(this._element,tI,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const t=ts.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof t[e]>"u")throw new TypeError(`No method named "${e}"`);t[e](this)}})}}il(ts);an(ts);function dp(n,e){return e.value||n.getAttribute("title")||""}const Xs={mounted:(n,e)=>{const t=dp(n,e);t&&n.setAttribute("title",t),new _n(n)},updated:(n,e)=>{const t=_n.getInstance(n);t&&t.dispose();const r=dp(n,e);r&&n.setAttribute("title",r),new _n(n)},unmounted:n=>{const e=_n.getInstance(n);e&&e.dispose()}},cI={key:0,class:"pills-list__wrapper"},uI={class:"pills-list__ul"},dI={class:"bd-markdown-editor__menu-bottom"},fI={key:0,class:"vr"},hI=c.defineComponent({__name:"BDMarkdownEditor",props:{placeholder:{default:"Typ een bericht"},errorText:{default:"er is iets fout gegaan"},state:{type:[Boolean,null],default:null},variant:{default:Zl.BASIC},files:{default:void 0},pills:{default:void 0},modelValue:{}},emits:["update:modelValue","upload","action"],setup(n,{emit:e}){const t=n,r=()=>{e("upload")},o=io(t,"modelValue",e),s=[DT,RT,BT,aS.configure({placeholder:t.placeholder}),TS,iS.configure({openOnClick:!1,validate:P=>/^(https?:\/\/|www\.)/i.test(P)})];t.variant===Zl.FULL&&s.push(fS,vS,yS,ES,bS,wS);const i=LT({content:o.value,extensions:s,onUpdate:({editor:P})=>{const{view:Y,state:G}=P,{from:K,to:H}=Y.state.selection;if(G.doc.textBetween(K-1,H,"")==" "&&P.getAttributes("link").href!=null&&P.chain().setTextSelection({from:K-1,to:H}).toggleLink({href:P.getAttributes("link").href}).setTextSelection({from:H,to:H}).run(),P.getText().trim()===""){e("update:modelValue","");return}e("update:modelValue",P.getHTML())}});c.watch(()=>t.modelValue,P=>{i.value.getHTML()!==P&&i.value.commands.setContent(P,!0,{preserveWhitespace:"full"})});const l=c.computed(()=>t.state===!1?"is-invalid":null),a=c.computed(()=>g("bold")),u=c.computed(()=>g("italic")),d=c.computed(()=>g("underline")),f=c.computed(()=>g("bulletList")),h=c.computed(()=>g("orderedList")),p=c.computed(()=>g("link")),m=c.computed(()=>t.variant===Zl.FULL),g=P=>i.value&&i.value.isActive(P)?"active":null,v=c.computed(()=>t.files&&t.files.length>0?_a(t.files,!1):null),C=c.computed(()=>t.files&&t.files.length>0?_a(t.files,!0):null),w=P=>{e("action",{name:"delete-attachment",obj:P})},E=P=>{e("action",{name:"image-attachment",obj:P})},y=c.computed(()=>{if(!i.value)return!1;const{from:P,to:Y}=i.value.state.selection;return P!==Y}),x=c.computed(()=>y.value?"Voeg een link toe":"Selecteer eerst tekst"),A=c.ref(!1),I=c.ref(""),B=c.ref(null),R=()=>{I.value=i.value.getAttributes("link").href||"",A.value=!0},U=P=>{if(A.value=!1,!P){i.value.chain().focus().unsetLink().run();return}/^www\./i.test(P)&&(P=`https://${P}`),i.value.chain().focus().toggleLink({href:P}).run()},$=()=>{A.value=!1};return(P,Y)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("div",{class:c.normalizeClass(["bd-markdown-editor",l.value])},[c.createVNode(c.unref(OT),{editor:c.unref(i)},null,8,["editor"]),P.pills?(c.openBlock(),c.createElementBlock("div",cI,[c.createElementVNode("ul",uI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(P.pills,(G,K)=>(c.openBlock(),c.createElementBlock("li",{key:K,class:"pills-list__li"},[c.createVNode($a,c.normalizeProps(c.guardReactiveProps(G)),null,16)]))),128))])])):c.createCommentVNode("",!0),c.renderSlot(P.$slots,"default",{},void 0,!0),v.value?(c.openBlock(),c.createBlock(ol,{key:1,files:v.value,"no-download":!0,"show-delete":!0,onDelete:w},null,8,["files"])):c.createCommentVNode("",!0),C.value?(c.openBlock(),c.createBlock(sl,{key:2,files:C.value,"no-download":!0,"show-delete":!0,onDelete:w,onShow:E},null,8,["files"])):c.createCommentVNode("",!0),c.createElementVNode("div",dI,[c.createVNode(Qe,{variant:"light",type:"button",onClick:r},{default:c.withCtx(()=>[c.createVNode(c.unref(Jr))]),_:1}),m.value?(c.openBlock(),c.createElementBlock("div",fI)):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:1,variant:"light",type:"button",class:c.normalizeClass(a.value),onClick:Y[0]||(Y[0]=G=>c.unref(i).chain().focus().toggleBold().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(cu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:2,variant:"light",type:"button",class:c.normalizeClass(u.value),onClick:Y[1]||(Y[1]=G=>c.unref(i).chain().focus().toggleItalic().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(vu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:3,variant:"light",type:"button",class:c.normalizeClass(d.value),onClick:Y[2]||(Y[2]=G=>c.unref(i).chain().focus().toggleUnderline().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Tu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:4,variant:"light",type:"button",class:c.normalizeClass(f.value),onClick:Y[3]||(Y[3]=G=>c.unref(i).chain().focus().toggleBulletList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(uu))]),_:1},8,["class"])):c.createCommentVNode("",!0),m.value?(c.openBlock(),c.createBlock(Qe,{key:5,variant:"light",type:"button",class:c.normalizeClass(h.value),onClick:Y[4]||(Y[4]=G=>c.unref(i).chain().focus().toggleOrderedList().run())},{default:c.withCtx(()=>[c.createVNode(c.unref(Eu))]),_:1},8,["class"])):c.createCommentVNode("",!0),c.withDirectives((c.openBlock(),c.createElementBlock("span",null,[m.value?(c.openBlock(),c.createBlock(Qe,{key:0,ref_key:"linkButton",ref:B,variant:"light",type:"button",class:c.normalizeClass(p.value),onClick:R,disabled:!y.value},{default:c.withCtx(()=>[c.createVNode(c.unref(Ba))]),_:1},8,["class","disabled"])):c.createCommentVNode("",!0)])),[[c.unref(Xs),x.value]])]),A.value?(c.openBlock(),c.createBlock(MS,{key:3,previousUrl:I.value,onSubmit:U,onCancel:$},null,8,["previousUrl"])):c.createCommentVNode("",!0)],2),c.createVNode(Va,{text:t.errorText,state:t.state},null,8,["text","state"])],64))}});const V2=Ee(hI,[["__scopeId","data-v-40a710e8"]]),pI={class:"header"},mI=c.createElementVNode("div",null,"Menu",-1),gI={class:"icon-close-wrapper"},vI={class:"navbar"},yI={class:"nav navbar-nav w-100"},EI={class:"nav-item"},CI={class:"nav-item"},Ed=c.defineComponent({__name:"BDMobileMenu",props:{active:{type:Boolean,default:void 0},options:{}},emits:["hide","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>({active:t.active===!0,inactive:t.active===!1})),o=()=>e("hide"),s=()=>e("signout");return(i,l)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-mobile-menu",r.value])},[c.createElementVNode("div",pI,[mI,c.createElementVNode("div",gI,[c.createVNode(Da,{onClick:o})])]),c.createElementVNode("nav",vI,[c.createElementVNode("ul",yI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.options,a=>(c.openBlock(),c.createElementBlock("li",EI,[c.createVNode(Zr,c.mergeProps({class:"nav-link"},a,{onClick:o}),null,16)]))),256)),c.renderSlot(i.$slots,"special-options"),c.createElementVNode("li",CI,[c.createVNode(Zr,{class:"nav-link",text:"Uitloggen",onClick:s})])])])],2))}}),bI={class:"bd-user"},AI={class:"bd-user__information"},wI={class:"text-break"},TI={class:"overflow-x-hidden"},$2=c.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=c.computed(()=>{var r;return typeof e.details=="string"?e.details:(r=e.details)==null?void 0:r.join(" • ")});return(r,o)=>(c.openBlock(),c.createElementBlock("div",bI,[e.hideImage?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Hs,c.mergeProps({key:0},e.img,{size:"sm"}),null,16)),c.createElementVNode("div",AI,[c.createElementVNode("header",null,[c.createElementVNode("h5",wI,c.toDisplayString(e.name),1),c.renderSlot(r.$slots,"header-extra")]),c.createElementVNode("span",TI,c.toDisplayString(t.value),1)])]))}}),SI={class:"bd-chat-cloud-card"},kI={class:"bd-chat-cloud-card__header"},_I={class:"bd-chat-cloud-card__body"},xI=["innerHTML"],NI={class:"bd-chat-cloud-card__footer"},II={key:0,class:"pills-list__wrapper"},MI={class:"pills-list__ul"},U2=c.defineComponent({__name:"BDChatCloud",props:{headerTitle:{default:""},src:{default:void 0},username:{default:null},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=c.computed(()=>t.isSender?"sender":Fe),o=c.computed(()=>_a(t.files,!1)),s=c.computed(()=>_a(t.files,!0)),i=()=>{e("action","copy-message")},l=a=>{e("show-attachment",a)};return(a,u)=>(c.openBlock(),c.createElementBlock("div",{class:c.normalizeClass(["bd-chat-cloud",r.value])},[c.createVNode(Hs,{src:t.src,username:t.username,size:"sm"},null,8,["src","username"]),c.createElementVNode("div",SI,[c.createElementVNode("div",kI,[c.renderSlot(a.$slots,"header",{},()=>[c.createTextVNode(c.toDisplayString(a.headerTitle),1)]),c.createVNode(Qe,{variant:"outline-primary-dark",size:"sm",onClick:i},{default:c.withCtx(()=>[c.createTextVNode(" kopieer ")]),_:1})]),c.createElementVNode("div",_I,[c.renderSlot(a.$slots,"body",{},()=>[c.createElementVNode("div",{class:"bd-chat-cloud-card__message",innerHTML:t.message},null,8,xI)])]),c.createElementVNode("div",NI,[c.renderSlot(a.$slots,"footer",{},()=>[a.pills?(c.openBlock(),c.createElementBlock("div",II,[c.createElementVNode("ul",MI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(a.pills,(d,f)=>(c.openBlock(),c.createElementBlock("li",{key:f,class:"pills-list__li"},[c.createVNode($a,c.normalizeProps(c.guardReactiveProps(d)),null,16)]))),128))])])):c.createCommentVNode("",!0),o.value&&o.value.length>0?(c.openBlock(),c.createBlock(ol,{key:1,files:o.value},null,8,["files"])):c.createCommentVNode("",!0),s.value&&s.value.length>0?(c.openBlock(),c.createBlock(sl,{key:2,"fast-download":!0,files:s.value,onShow:l},null,8,["files"])):c.createCommentVNode("",!0)])])])],2))}}),OI=c.defineComponent({__name:"BDTableSortHeader",props:["active","label","sortDesc"],emits:["sortAsc","sortDesc"],setup(n,{emit:e}){const t=n,r=c.ref(t.sortDesc),o=()=>{t.active&&(r.value=!r.value)},s=()=>{if(!t.active)return;const l=r.value?"sortDesc":"sortAsc";e(l)},i=c.computed(()=>({"bd-table-sort":!0,active:t.active}));return c.watch(()=>t.active,(l,a)=>{l&&!a&&(r.value=!1,e("sortAsc"))}),s(),(l,a)=>(c.openBlock(),c.createElementBlock("th",{class:c.normalizeClass(i.value),onClick:a[0]||(a[0]=u=>{o(),s()})},[c.createElementVNode("span",null,c.toDisplayString(t.label),1),t.active&&!r.value?(c.openBlock(),c.createBlock(c.unref(Cu),{key:0})):t.active&&r.value?(c.openBlock(),c.createBlock(c.unref(bu),{key:1})):(c.openBlock(),c.createBlock(c.unref(Au),{key:2}))],2))}}),LI={class:"bd-table"},DI={key:0,class:"table"},RI={key:1},BI=["onClick"],PI={key:0},FI={key:1,class:"empty-text"},z2=c.defineComponent({__name:"BDTable",props:["fields","items","sortBy","sortDesc","tbodyTrClass","emptyText"],emits:["row-click","sort-changed"],setup(n,{expose:e,emit:t}){const r=n,o=c.ref(r.items),s=c.ref(r.sortBy),i=f=>s.value=f,l=(f,h,p)=>{const m=h[f],g=p[f];if(m==null)return 1;if(g==null)return-1;const v=m.toString(),C=g.toString();return v.localeCompare(C,void 0,{numeric:!0})},a=f=>{o.value=o.value.sort((p,m)=>l(f,p,m)),t("sort-changed",{sortBy:f,sortDesc:!1})},u=f=>{o.value=o.value.sort((p,m)=>l(f,m,p)),t("sort-changed",{sortBy:f,sortDesc:!0})},d=()=>{o.value=r.items};return c.watch(()=>r.items,f=>{o.value=f}),e({Refresh:d}),(f,h)=>(c.openBlock(),c.createElementBlock("div",LI,[r.items&&r.items.length>0?(c.openBlock(),c.createElementBlock("table",DI,[c.createElementVNode("thead",null,[c.createElementVNode("tr",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(r.fields,p=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[p.isVisible?(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[p.sortable?(c.openBlock(),c.createBlock(OI,{key:0,label:p.label,active:p.key==s.value,sortDesc:r.sortDesc,onClick:m=>i(p.key),onSortAsc:m=>a(p.key),onSortDesc:m=>u(p.key)},null,8,["label","active","sortDesc","onClick","onSortAsc","onSortDesc"])):(c.openBlock(),c.createElementBlock("th",RI,c.toDisplayString(p.label),1))],64)):c.createCommentVNode("",!0)],64))),256))])]),c.createElementVNode("tbody",null,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(o.value,p=>(c.openBlock(),c.createElementBlock("tr",{class:c.normalizeClass(r.tbodyTrClass&&r.tbodyTrClass(p)),onClick:m=>t("row-click",p)},[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(n.fields,m=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[m.isVisible?(c.openBlock(),c.createElementBlock("td",PI,[f.$slots.hasOwnProperty(m.key)?c.renderSlot(f.$slots,m.key,{key:0,row:p,item:p,value:p[m.key]}):(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createTextVNode(c.toDisplayString(p[m.key]),1)],64))])):c.createCommentVNode("",!0)],64))),256))],10,BI))),256))])])):(c.openBlock(),c.createElementBlock("p",FI,c.toDisplayString(r.emptyText),1))]))}}),VI=["id"],$I={key:0,class:"toast-body__title"},UI={class:"actions"},zI=["textContent"],HI=["textContent"],jI={class:"icon-wrapper"},WI=["textContent"],KI=["textContent"],fp=3e4,hp=5e3,H2=c.defineComponent({__name:"BDVideoCallToast",props:{id:{},contactInfoReceiver:{},isSender:{type:Boolean},firstNameSender:{},canceled:{type:Boolean},disabled:{type:Boolean},localization:{}},emits:["reject-video-call","accept-video-call"],setup(n,{emit:e}){const t=n;let r=c.ref(!1),o=c.ref(!1),s=null,i=null;const l=c.computed(()=>{let w="video-call-toast";return t.id&&(w+=`-${t.id}`),w}),a=c.computed(()=>r.value?[r.value?"is-handled":Fe,o.value?"is-handled--success":Fe,t.canceled?"is-handled--canceled":Fe].join(" "):Fe),u=c.computed(()=>t.canceled?t.localization.videoCallCanceled:o.value?t.localization.videoCallAccepted:t.localization.videoCallRejected),d=c.computed(()=>t.canceled?`${t.firstNameSender}${t.localization.notifyCallerWhenCanceled}`:t.isSender?t.contactInfoReceiver?`${t.contactInfoReceiver.name}${t.localization.notifyCallerWhenRejected}`:t.localization.notifyCallerWhenRejected:o.value?t.localization.openNewTabWhenAccepted:`${t.localization.notifyReceiverWhenRejected.start}${t.firstNameSender}${t.localization.notifyReceiverWhenRejected.end}`.replace(/\s\s+/g," "));c.watch(()=>t.canceled,()=>{r.value=!0});const f=()=>{const w=l.value,E=document.querySelector(`#${w}`);if(E){E.addEventListener("hide.bs.toast",C);var y={autohide:!0,delay:fp+hp};i=ts.getOrCreateInstance(E,y),i.show(),s=window.setTimeout(h,fp)}};c.onMounted(f);const h=()=>{r.value||m()},p=()=>{m(),v()},m=()=>{r.value||(r.value=!0,e("reject-video-call",t.id))},g=()=>{r.value=!0,o.value=!0,e("accept-video-call",t.id),v()},v=()=>{window.clearTimeout(s),window.setTimeout(()=>i.hide(),hp)},C=()=>{r.value=!1,o.value=!1};return(w,E)=>(c.openBlock(),c.createElementBlock("div",{id:l.value,class:"toast bd-video-call-toast",role:"alert","aria-live":"assertive","aria-atomic":"true"},[c.unref(r)?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",$I,c.toDisplayString(t.localization.incomingVideoCall),1)),c.createElementVNode("div",{class:c.normalizeClass(["toast-body__main",a.value])},[c.unref(r)?(c.openBlock(),c.createElementBlock(c.Fragment,{key:1},[c.createElementVNode("div",jI,[c.createVNode(Ii)]),c.createElementVNode("div",null,[c.createElementVNode("p",{textContent:c.toDisplayString(u.value),class:"title"},null,8,WI),c.createElementVNode("p",{textContent:c.toDisplayString(d.value)},null,8,KI)])],64)):(c.openBlock(),c.createElementBlock(c.Fragment,{key:0},[c.createVNode(_u,{value:w.contactInfoReceiver},null,8,["value"]),c.createElementVNode("div",UI,[c.createVNode(Qe,{variant:"danger",class:"text-center",onClick:p},{default:c.withCtx(()=>[c.createVNode(du),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.rejectVideoCall)},null,8,zI)]),_:1}),c.createVNode(Qe,{variant:"success",class:"text-center",onClick:g},{default:c.withCtx(()=>[c.createVNode(Ii),c.createElementVNode("span",{textContent:c.toDisplayString(t.localization.acceptVideoCall)},null,8,HI)]),_:1})])],64))],2)],8,VI))}}),Cd=c.defineComponent({__name:"BDDropdown",props:{size:{default:Tt.MD},variant:{default:Pa.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}=Qo(),r=`__BD__DROPDOWN__${t.value}`,o=c.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})),s=c.computed(()=>({"dropdown-menu-end":e.right,"dropdown-menu-action":e.actionToggle})),i=c.computed(()=>({"aria-labelledby":r})),l=c.ref(),a=c.ref(),u=()=>{l.value.classList.remove("show"),a.value.classList.remove("show"),a.value.removeAttribute("aria-expanded")};return(d,f)=>(c.openBlock(),c.createElementBlock("div",{class:"bd-dropdown dropdown",onClick:f[0]||(f[0]=c.withModifiers(()=>{},["stop"]))},[(c.openBlock(),c.createBlock(c.resolveDynamicComponent(e.toggleTag),c.mergeProps({ref_key:"dropdownToggle",ref:a,class:"dropdown-toggle",target:"_self",role:"button","data-bs-toggle":"dropdown"},o.value),{default:c.withCtx(()=>[c.createElementVNode("span",null,c.toDisplayString(e.text),1)]),_:1},16)),c.createElementVNode("ul",c.mergeProps({ref_key:"dropdownMenu",ref:l,class:["dropdown-menu",s.value]},i.value,{onClick:u}),[c.renderSlot(d.$slots,"default")],16)]))}}),YI={class:"row bd-header"},GI={class:"col logo-mix"},QI=["src"],ZI=c.createElementVNode("div",null,"Menu",-1),JI={key:1,class:"col header-options"},XI={class:"col bd-btn-settings"},qI={key:2},bd=c.defineComponent({__name:"BDHeader",props:{isEmbedded:{type:Boolean},dropdownMenuTitle:{},dropdownOptions:{},headerOptions:{},profileImageSrc:{},profileImageAlt:{},organizationLogoSrc:{},hasLogoutOption:{type:Boolean,default:!0}},emits:["click-logo","signout"],setup(n,{emit:e}){const t=n,r=c.computed(()=>{let d=[];return t.isEmbedded||(t.headerOptions&&(d=d.concat(t.headerOptions)),t.dropdownOptions&&(d=d.concat(t.dropdownOptions))),d}),o=c.computed(()=>!t.isEmbedded&&t.headerOptions&&t.headerOptions.length!==0),s=c.ref(void 0),i=()=>{t.isEmbedded||e("click-logo")},l=()=>e("signout"),a=()=>s.value=!0,u=()=>s.value=!1;return(d,f)=>(c.openBlock(),c.createElementBlock(c.Fragment,null,[c.createElementVNode("nav",YI,[c.createElementVNode("div",GI,[c.createVNode(lu,{viewBox:"0 0 351 61",class:"logo bd-logo",onClick:i}),t.organizationLogoSrc?(c.openBlock(),c.createElementBlock("img",{key:0,class:"logo organization-logo",src:t.organizationLogoSrc,alt:""},null,8,QI)):c.createCommentVNode("",!0)]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createElementBlock("div",{key:0,class:"col bd-hamburger",onClick:a},[ZI,c.createVNode(yu)])),o.value?(c.openBlock(),c.createElementBlock("div",JI,[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.headerOptions,h=>(c.openBlock(),c.createBlock(Qe,{class:"btn-header",to:h.to,variant:"neutral"},{default:c.withCtx(()=>[c.createTextVNode(c.toDisplayString(h.text),1)]),_:2},1032,["to"]))),256))])):c.createCommentVNode("",!0),c.createElementVNode("div",XI,[t.isEmbedded?c.createCommentVNode("",!0):c.renderSlot(d.$slots,"profile-side",{key:0}),t.profileImageSrc?(c.openBlock(),c.createBlock(Hs,{key:1,src:t.profileImageSrc,alt:t.profileImageAlt,size:"sm"},null,8,["src","alt"])):c.createCommentVNode("",!0),t.isEmbedded?(c.openBlock(),c.createElementBlock("span",qI,c.toDisplayString(t.dropdownMenuTitle),1)):c.createCommentVNode("",!0),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Cd,{key:3,text:t.dropdownMenuTitle,variant:"primary",toggleTag:"a",right:!0},{default:c.withCtx(()=>[(c.openBlock(!0),c.createElementBlock(c.Fragment,null,c.renderList(t.dropdownOptions,(h,p)=>(c.openBlock(),c.createBlock(Oi,c.mergeProps({key:p},h),null,16))),128)),t.hasLogoutOption?(c.openBlock(),c.createBlock(Oi,{key:0,text:"Uitloggen",onClick:l})):c.createCommentVNode("",!0)]),_:1},8,["text"]))])]),t.isEmbedded?c.createCommentVNode("",!0):(c.openBlock(),c.createBlock(Ed,{key:0,active:s.value,options:r.value,onHide:u,onSignout:l},{"special-options":c.withCtx(()=>[c.renderSlot(d.$slots,"mobile-menu-special-options")]),_:3},8,["active","options"]))],64))}});/*!
183
183
  * shared v9.14.4
184
184
  * (c) 2025 kazuya kawaguchi
185
185
  * Released under the MIT License.
@@ -26637,7 +26637,7 @@ const XO = /* @__PURE__ */ we(JO, [["__scopeId", "data-v-40a710e8"]]), qO = { cl
26637
26637
  ], 16)
26638
26638
  ]));
26639
26639
  }
26640
- }), Pk = { class: "row bd-header" }, Fk = { class: "col logo-mix" }, Bk = ["src", "alt"], $k = /* @__PURE__ */ z("div", null, "Menu", -1), Vk = {
26640
+ }), Pk = { class: "row bd-header" }, Fk = { class: "col logo-mix" }, Bk = ["src"], $k = /* @__PURE__ */ z("div", null, "Menu", -1), Vk = {
26641
26641
  key: 1,
26642
26642
  class: "col header-options"
26643
26643
  }, Uk = { class: "col bd-btn-settings" }, Hk = { key: 2 }, h2 = /* @__PURE__ */ $e({
@@ -26650,7 +26650,6 @@ const XO = /* @__PURE__ */ we(JO, [["__scopeId", "data-v-40a710e8"]]), qO = { cl
26650
26650
  profileImageSrc: {},
26651
26651
  profileImageAlt: {},
26652
26652
  organizationLogoSrc: {},
26653
- organizationLogoAlt: {},
26654
26653
  hasLogoutOption: { type: Boolean, default: !0 }
26655
26654
  },
26656
26655
  emits: ["click-logo", "signout"],
@@ -26673,7 +26672,7 @@ const XO = /* @__PURE__ */ we(JO, [["__scopeId", "data-v-40a710e8"]]), qO = { cl
26673
26672
  key: 0,
26674
26673
  class: "logo organization-logo",
26675
26674
  src: t.organizationLogoSrc,
26676
- alt: t.organizationLogoAlt
26675
+ alt: ""
26677
26676
  }, null, 8, Bk)) : Pe("", !0)
26678
26677
  ]),
26679
26678
  t.isEmbedded ? Pe("", !0) : (H(), Z("div", {